PATH:
home
/
lab2454c
/
sothebankuab.com
/
wp-content
/
plugins
/
elementor-pro
/
assets
/
js
/*! elementor-pro - v3.3.4 - 21-07-2021 */ (self["webpackChunkelementor_pro"] = self["webpackChunkelementor_pro"] || []).push([["nav-menu"],{ /***/ "../modules/nav-menu/assets/js/frontend/handlers/nav-menu.js": /*!*******************************************************************!*\ !*** ../modules/nav-menu/assets/js/frontend/handlers/nav-menu.js ***! \*******************************************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { "use strict"; var _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs2/core-js/object/define-property */ "../node_modules/@babel/runtime-corejs2/core-js/object/define-property.js"); _Object$defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; __webpack_require__(/*! core-js/modules/es6.array.find.js */ "../node_modules/core-js/modules/es6.array.find.js"); var _default = elementorModules.frontend.handlers.Base.extend({ stretchElement: null, getDefaultSettings: function getDefaultSettings() { return { selectors: { menu: '.elementor-nav-menu', anchorLink: '.elementor-nav-menu--main .elementor-item-anchor', dropdownMenu: '.elementor-nav-menu__container.elementor-nav-menu--dropdown', menuToggle: '.elementor-menu-toggle' } }; }, getDefaultElements: function getDefaultElements() { var selectors = this.getSettings('selectors'), elements = {}; elements.$menu = this.$element.find(selectors.menu); elements.$anchorLink = this.$element.find(selectors.anchorLink); elements.$dropdownMenu = this.$element.find(selectors.dropdownMenu); elements.$dropdownMenuFinalItems = elements.$dropdownMenu.find('.menu-item:not(.menu-item-has-children) > a'); elements.$menuToggle = this.$element.find(selectors.menuToggle); elements.$links = elements.$dropdownMenu.find('a.elementor-item'); return elements; }, bindEvents: function bindEvents() { if (!this.elements.$menu.length) { return; } this.elements.$menuToggle.on('click', this.toggleMenu.bind(this)); if (this.getElementSettings('full_width')) { this.elements.$dropdownMenuFinalItems.on('click', this.toggleMenu.bind(this, false)); } elementorFrontend.addListenerOnce(this.$element.data('model-cid'), 'resize', this.stretchMenu); }, initStretchElement: function initStretchElement() { this.stretchElement = new elementorModules.frontend.tools.StretchElement({ element: this.elements.$dropdownMenu }); }, toggleNavLinksTabIndex: function toggleNavLinksTabIndex() { var enabled = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; this.elements.$links.attr('tabindex', enabled ? 0 : -1); }, toggleMenu: function toggleMenu(show) { var isDropdownVisible = this.elements.$menuToggle.hasClass('elementor-active'); if ('boolean' !== typeof show) { show = !isDropdownVisible; } this.elements.$menuToggle.attr('aria-expanded', show); this.elements.$dropdownMenu.attr('aria-hidden', !show); this.elements.$menuToggle.toggleClass('elementor-active', show); this.toggleNavLinksTabIndex(show); if (show && this.getElementSettings('full_width')) { this.stretchElement.stretch(); } }, followMenuAnchors: function followMenuAnchors() { var self = this; self.elements.$anchorLink.each(function () { if (location.pathname === this.pathname && '' !== this.hash) { self.followMenuAnchor(jQuery(this)); } }); }, followMenuAnchor: function followMenuAnchor($element) { var anchorSelector = $element[0].hash; var offset = -300, $anchor; try { // `decodeURIComponent` for UTF8 characters in the hash. $anchor = jQuery(decodeURIComponent(anchorSelector)); } catch (e) { return; } if (!$anchor.length) { return; } if (!$anchor.hasClass('elementor-menu-anchor')) { var halfViewport = jQuery(window).height() / 2; offset = -$anchor.outerHeight() + halfViewport; } elementorFrontend.waypoint($anchor, function (direction) { if ('down' === direction) { $element.addClass('elementor-item-active'); } else { $element.removeClass('elementor-item-active'); } }, { offset: '50%', triggerOnce: false }); elementorFrontend.waypoint($anchor, function (direction) { if ('down' === direction) { $element.removeClass('elementor-item-active'); } else { $element.addClass('elementor-item-active'); } }, { offset: offset, triggerOnce: false }); }, stretchMenu: function stretchMenu() { if (this.getElementSettings('full_width')) { this.stretchElement.stretch(); this.elements.$dropdownMenu.css('top', this.elements.$menuToggle.outerHeight()); } else { this.stretchElement.reset(); } }, onInit: function onInit() { elementorModules.frontend.handlers.Base.prototype.onInit.apply(this, arguments); if (!this.elements.$menu.length) { return; } var elementSettings = this.getElementSettings(), subIndicatorsContent = "<i class=\"".concat(elementSettings.submenu_icon.value, "\"></i>"); // subIndicators param - Added for backwards compatibility: // If the old 'indicator' control value = 'none', the <span class="sub-arrow"> wrapper element is removed this.elements.$menu.smartmenus({ subIndicators: '' !== subIndicatorsContent, subIndicatorsText: subIndicatorsContent, subIndicatorsPos: 'append', subMenusMaxWidth: '1000px' }); this.initStretchElement(); this.stretchMenu(); if (!elementorFrontend.isEditMode()) { this.followMenuAnchors(); } }, onElementChange: function onElementChange(propertyName) { if ('full_width' === propertyName) { this.stretchMenu(); } } }); exports.default = _default; /***/ }) }]); //# sourceMappingURL=nav-menu.1047f3cf542aebc7eea1.bundle.js.map
[-] frontend.min.js
[edit]
[-] elements-handlers.js
[edit]
[-] editor.js
[edit]
[-] screenshot.min.js
[edit]
[-] archive-posts.fd5949b12eae1d836370.bundle.min.js
[edit]
[-] share-buttons.90bff2e73000d4e3f189.bundle.min.js
[edit]
[-] posts.4b4834181e0158037844.bundle.js
[edit]
[-] qunit-tests.min.js
[edit]
[-] elements-handlers.min.js
[edit]
[-] portfolio.7e41bde7ebd3c1195e2a.bundle.min.js
[edit]
[-] share-buttons.a4ac583614766c17243b.bundle.js
[edit]
[-] form-submission-admin.js
[edit]
[-] frontend.js
[edit]
[-] popup.502330d9929af9beeefd.bundle.min.js
[edit]
[-] form-submission-admin.min.js
[edit]
[-] countdown.e8b325f6654ba38a5606.bundle.js
[edit]
[-] popup.11f78f8460dfd624d6fd.bundle.js
[edit]
[-] countdown.bb46c1fe3c44d539dcc5.bundle.min.js
[edit]
[-] table-of-contents.18b2bc609c0761e78803.bundle.min.js
[edit]
[+]
..
[-] admin.js
[edit]
[-] preview.min.js
[edit]
[-] lottie.56eeeacd4e8b45bf0e69.bundle.js
[edit]
[-] search-form.3930197ed1faa52a1ca6.bundle.js
[edit]
[-] webpack-pro.runtime.min.js
[edit]
[-] app.min.js
[edit]
[-] app.js
[edit]
[-] gallery.553ce77143c8a6c9fb2f.bundle.min.js
[edit]
[-] social.248e7d2278f85735e210.bundle.js
[edit]
[-] gallery.044b1c02fe2971304f4b.bundle.js
[edit]
[-] animated-headline.c48ffcc42cf8e1937b79.bundle.js
[edit]
[-] video-playlist.5e558c60b53f53a24687.bundle.js
[edit]
[-] jszip.vendor.8911033537a0c9d6e5f8.bundle.js
[edit]
[-] woocommerce-menu-cart.c85790f6adbf4d37d78a.bundle.js
[edit]
[-] code-highlight.980168b9b4c79600c41c.bundle.min.js
[edit]
[-] jszip.vendor.9ec53381c344ee903f3e.bundle.min.js.LICENSE.txt
[edit]
[-] 2674f26f7a61a076ae44.bundle.js
[edit]
[-] social.313de86242bbec8993a6.bundle.min.js
[edit]
[-] archive-posts.c5bfd0c6126737964ea3.bundle.js
[edit]
[-] search-form.69e3551a94b182780302.bundle.min.js
[edit]
[-] table-of-contents.c40874e82fb2b6d09547.bundle.js
[edit]
[-] editor.min.js
[edit]
[-] custom-code.js
[edit]
[-] nav-menu.1047f3cf542aebc7eea1.bundle.js
[edit]
[-] lottie.b602d6a1c68e229db197.bundle.min.js
[edit]
[-] portfolio.1753cf6f95efb460cd6c.bundle.js
[edit]
[-] form.dd13e7aa247581b7c347.bundle.min.js
[edit]
[-] paypal-button.e7bc00be6d37a75afa94.bundle.js
[edit]
[-] nav-menu.45545c0d5772c620c9fc.bundle.min.js
[edit]
[-] preloaded-elements-handlers.js
[edit]
[-] animated-headline.0cdf629ebd9eaf373218.bundle.min.js
[edit]
[-] woocommerce-menu-cart.a0ca3c5b1b1fbd100eae.bundle.min.js
[edit]
[-] webpack-pro.runtime.js
[edit]
[-] screenshot.js
[edit]
[-] media-carousel.90dacec614de60683492.bundle.min.js
[edit]
[-] code-highlight.36c6ab32da7b5cd4cf39.bundle.js
[edit]
[-] carousel.b9b72c3f8c26e7336341.bundle.js
[edit]
[-] slides.b404bc7083be41fc917c.bundle.js
[edit]
[-] media-carousel.195b60e9d52641de17ef.bundle.js
[edit]
[-] preview.js
[edit]
[-] jszip.vendor.9ec53381c344ee903f3e.bundle.min.js
[edit]
[-] hotspot.87f8b120d01ef70bdf13.bundle.min.js
[edit]
[-] slides.805ab056f4b77290515e.bundle.min.js
[edit]
[-] admin.min.js
[edit]
[-] preloaded-elements-handlers.min.js
[edit]
[-] hotspot.6e5f8367844f92a2df4d.bundle.js
[edit]
[-] qunit-tests.js
[edit]
[-] custom-code.min.js
[edit]
[-] paypal-button.b2f7547fbb7a974af793.bundle.min.js
[edit]
[-] carousel.1ebc0652cb61e40967b7.bundle.min.js
[edit]
[-] posts.2850ece7b8987a6bff85.bundle.min.js
[edit]
[-] form.a1a56dc07903de7da0f4.bundle.js
[edit]
[-] video-playlist.05b3106f8cec7280494a.bundle.min.js
[edit]