PATH:
home
/
lab2454c
/
invest.credityork.com
/
wp-content
/
plugins
/
elementor-pro
/
assets
/
js
/*! elementor-pro - v3.4.2 - 12-10-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) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.default = void 0; var _default = elementorModules.frontend.handlers.Base.extend({ stretchElement: null, 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() { 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() { 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() { this.stretchElement = new elementorModules.frontend.tools.StretchElement({ element: this.elements.$dropdownMenu }); }, toggleNavLinksTabIndex(enabled = true) { this.elements.$links.attr('tabindex', enabled ? 0 : -1); }, 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() { var self = this; self.elements.$anchorLink.each(function () { if (location.pathname === this.pathname && '' !== this.hash) { self.followMenuAnchor(jQuery(this)); } }); }, followMenuAnchor($element) { const anchorSelector = $element[0].hash; let 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, triggerOnce: false }); }, stretchMenu() { if (this.getElementSettings('full_width')) { this.stretchElement.stretch(); this.elements.$dropdownMenu.css('top', this.elements.$menuToggle.outerHeight()); } else { this.stretchElement.reset(); } }, onInit() { elementorModules.frontend.handlers.Base.prototype.onInit.apply(this, arguments); if (!this.elements.$menu.length) { return; } const elementSettings = this.getElementSettings(), iconValue = elementSettings.submenu_icon.value; let subIndicatorsContent = ''; if (iconValue) { // The value of iconValue can be either className inside the editor or a markup in the frontend. subIndicatorsContent = iconValue.indexOf('<') > -1 ? iconValue : `<i class="${iconValue}"></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(propertyName) { if ('full_width' === propertyName) { this.stretchMenu(); } } }); exports.default = _default; /***/ }) }]); //# sourceMappingURL=nav-menu.e248eec66bc3d5587cf6.bundle.js.map
[-] carousel.6a71b6c6e34400c456a5.bundle.min.js
[edit]
[-] frontend.min.js
[edit]
[-] archive-posts.1d5bae5aa38b8a799cbd.bundle.js
[edit]
[-] elements-handlers.js
[edit]
[-] countdown.6b48da864045c1ea0edd.bundle.js
[edit]
[-] editor.js
[edit]
[-] screenshot.min.js
[edit]
[-] qunit-tests.min.js
[edit]
[-] elements-handlers.min.js
[edit]
[-] form-submission-admin.js
[edit]
[-] frontend.js
[edit]
[-] table-of-contents.f5cd05278297a9d229e1.bundle.min.js
[edit]
[-] paypal-button.21471ef12592606560a0.bundle.min.js
[edit]
[-] form-submission-admin.min.js
[edit]
[-] lottie.dccf7257e6cc366bc6bd.bundle.js
[edit]
[-] portfolio.71a9b9fb42566ae496bd.bundle.js
[edit]
[-] slides.39da68ee3c8123589b2e.bundle.min.js
[edit]
[+]
..
[-] admin.js
[edit]
[-] preview.min.js
[edit]
[-] gallery.e5ba72e3c57da531df85.bundle.js
[edit]
[-] nav-menu.fd64b77e7258ee4c6205.bundle.min.js
[edit]
[-] webpack-pro.runtime.min.js
[edit]
[-] app.min.js
[edit]
[-] share-buttons.d147b71ef798e333e678.bundle.js
[edit]
[-] app.js
[edit]
[-] search-form.e36b4b7c26157bb965fe.bundle.min.js
[edit]
[-] jszip.vendor.8911033537a0c9d6e5f8.bundle.js
[edit]
[-] hotspot.ba3b762edc3da9c7a076.bundle.min.js
[edit]
[-] gallery.6af8f19f91f1b16c3ab6.bundle.min.js
[edit]
[-] table-of-contents.0744140055afdd9bf411.bundle.js
[edit]
[-] archive-posts.c3694683a03701a4b510.bundle.min.js
[edit]
[-] social.b17f5f1767e41333a1dc.bundle.js
[edit]
[-] jszip.vendor.9ec53381c344ee903f3e.bundle.min.js.LICENSE.txt
[edit]
[-] social.787445e9f143597c5be5.bundle.min.js
[edit]
[-] form.23168c11e0d20fa0282b.bundle.js
[edit]
[-] media-carousel.15b78f70034df8ffebad.bundle.min.js
[edit]
[-] editor.min.js
[edit]
[-] animated-headline.37960d9fb9ab8b6e43cd.bundle.min.js
[edit]
[-] custom-code.js
[edit]
[-] posts.2a35b76ad8ea8f612cd7.bundle.min.js
[edit]
[-] paypal-button.a8f3d929735cca75a572.bundle.js
[edit]
[-] carousel.364bbaf018e09f58c819.bundle.js
[edit]
[-] animated-headline.0ccd23763059df7affcc.bundle.js
[edit]
[-] load-more.5f24d086730c704d2314.bundle.min.js
[edit]
[-] preloaded-elements-handlers.js
[edit]
[-] countdown.71f117e09cc4a2aa3dba.bundle.min.js
[edit]
[-] hotspot.66952182f9ae91b6896c.bundle.js
[edit]
[-] webpack-pro.runtime.js
[edit]
[-] popup.7b71aedb401104b93788.bundle.min.js
[edit]
[-] woocommerce-menu-cart.4c85f15cfbc02b4718c9.bundle.min.js
[edit]
[-] screenshot.js
[edit]
[-] search-form.fda69e244861c6890e79.bundle.js
[edit]
[-] slides.6d3f738223ac9b3c9b7a.bundle.js
[edit]
[-] posts.c23c8d29f44afbd62da6.bundle.js
[edit]
[-] code-highlight.dc74fd78a051eda07b3a.bundle.min.js
[edit]
[-] media-carousel.b5cf350f530535d64364.bundle.js
[edit]
[-] preview.js
[edit]
[-] share-buttons.42abb737a0de191a4ee9.bundle.min.js
[edit]
[-] code-highlight.cc6c8eb49e0aff6d419e.bundle.js
[edit]
[-] jszip.vendor.9ec53381c344ee903f3e.bundle.min.js
[edit]
[-] video-playlist.b442680ac5bf7b46b7c3.bundle.min.js
[edit]
[-] popup.5ddbdd46f21fc221d760.bundle.js
[edit]
[-] nav-menu.e248eec66bc3d5587cf6.bundle.js
[edit]
[-] form.0fc25ba6639255b98660.bundle.min.js
[edit]
[-] load-more.ed8a8caa6411cba8ed86.bundle.js
[edit]
[-] admin.min.js
[edit]
[-] preloaded-elements-handlers.min.js
[edit]
[-] woocommerce-menu-cart.cf8829a628c66ec7c688.bundle.js
[edit]
[-] qunit-tests.js
[edit]
[-] custom-code.min.js
[edit]
[-] portfolio.c214590e93207960ce64.bundle.min.js
[edit]
[-] video-playlist.f55c7066f7ec3a866539.bundle.js
[edit]
[-] lottie.b83968ecec2e4fd1b62c.bundle.min.js
[edit]