PATH:
home
/
shotlining
/
public_html
/
wp-content
/
plugins
/
elementor-pro
/
assets
/
js
/*! elementor-pro - v3.23.0 - 05-08-2024 */ "use strict";(self.webpackChunkelementor_pro=self.webpackChunkelementor_pro||[]).push([[244],{6921:(e,t,n)=>{var s=n(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=s(n(3231)),o=n(6542);class MenuTitleKeyboardHandler extends elementorModules.frontend.handlers.Base{constructor(){super(...arguments),(0,i.default)(this,"isEditorElementsChanged",!1)}__construct(){super.__construct(...arguments),this.focusableElementSelector=(0,o.focusableElementSelectors)(),this.handleMenuToggleKeydown=this.handleMenuToggleKeydown.bind(this)}getDefaultSettings(){return{selectors:{widgetInnerWrapper:".e-n-menu",menuItem:".e-n-menu-item",menuItemWrapper:".e-n-menu-title",focusableMenuElement:".e-focus",itemContainer:".e-n-menu-content > .e-con, .e-n-menu-heading > .e-con",menuToggle:".e-n-menu-toggle",directTabTitle:":scope > .elementor-widget-container > .e-n-menu > .e-n-menu-wrapper > .e-n-menu-heading > .e-n-menu-item > .e-n-menu-title",tabDropdown:".e-n-menu-dropdown-icon"},ariaAttributes:{titleStateAttribute:"aria-expanded",activeTitleSelector:'[aria-expanded="true"]',titleControlAttribute:"aria-controls"},datasets:{titleIndex:"data-focus-index"}}}getDefaultElements(){const e=this.getSettings("selectors");return{$menuItemWrappers:this.findElement(e.menuItemWrapper),$focusableMenuElements:this.findElement(e.focusableMenuElement),$itemContainers:this.findElement(e.itemContainer),$focusableContainerElements:this.getFocusableElements(this.findElement(e.itemContainer)),$menuToggle:this.findElement(e.menuToggle)}}getFocusableElements(e){return e.find(this.focusableElementSelector).not('[disabled], [inert], [tabindex="-1"]')}getTitleIndex(e){const{titleIndex:t}=this.getSettings("datasets");return parseInt(e?.getAttribute(t))}getTitleFilterSelector(e){const{titleIndex:t}=this.getSettings("datasets");return`[${t}="${e}"]`}getActiveTitleElement(){const e=this.getSettings("ariaAttributes").activeTitleSelector;return this.elements.$focusableMenuElements.filter(e)}onInit(){super.onInit(...arguments);let e=1;this.elements.$focusableMenuElements.each(((t,n)=>{n.setAttribute(this.getSettings("datasets").titleIndex,e++)}))}getTitleEvents(){return{keydown:this.handleTitleKeyboardNavigation.bind(this),keyup:this.handeTitleKeyUp.bind(this)}}getContentElementEvents(){return{keydown:this.handleContentElementKeyboardNavigation.bind(this)}}bindEvents(){this.elements.$focusableMenuElements.on(this.getTitleEvents()),this.elements.$focusableContainerElements.on(this.getContentElementEvents()),elementorFrontend.elements.$window.on("keydown",this.handleMenuToggleKeydown),elementorFrontend.elements.$window.on("elementor/nested-container/atomic-repeater",this.linkContainer.bind(this))}unbindEvents(){this.elements.$focusableMenuElements.off(this.getTitleEvents()),this.elements.$focusableContainerElements.off(this.getContentElementEvents()),elementorFrontend.elements.$window.off("keydown",this.handleMenuToggleKeydown),elementorFrontend.elements.$window.off("elementor/nested-container/atomic-repeater",this.linkContainer.bind(this))}handleMenuToggleKeydown(e){"Escape"===e.key&&(e.preventDefault(),e.stopPropagation(),this.closeMenuDropdown())}handleTitleKeyboardNavigation(e){switch(e.key){case"Tab":this.maybeRebindFocusableElements();const t=this.elements.$focusableMenuElements,n=!e.shiftKey,s=n&&t.last().is(jQuery(e.currentTarget)),i=!n&&t.first().is(jQuery(e.currentTarget));if(this.isDropdownLayout()&&!s&&!i)return;const o=!e.currentTarget.getAttribute("aria-expanded")||"false"===e.currentTarget?.getAttribute("aria-expanded");(n&&o||i)&&(this.closeActiveContentElements(),this.closeMenuDropdown());break;case"Home":case"End":this.handleTitleHomeOrEndKey(e);break;case"Enter":case" ":this.handleTitleActivationKey(e);break;case"Escape":this.handleTitleEscapeKey(e)}}handeTitleKeyUp(e){if(this.isDropdownLayout())return!0;const t="Tab"===e.key,n=!e.currentTarget.getAttribute("aria-expanded")||"false"===e.currentTarget?.getAttribute("aria-expanded");t&&n&&this.closeActiveContentElements()}isDropdownLayout(){const e=this.getSettings("selectors");return"dropdown"===this.$element.find(e.widgetInnerWrapper).attr("data-layout")}closeMenuDropdown(){this.isDropdownLayout()&&elementorFrontend.elements.$window.trigger("elementor/mega-menu/dropdown-toggle-by-keyboard",{widgetId:this.getID(),show:!1})}handleTitleHomeOrEndKey(e){e.preventDefault();const t=this.getTitleIndex(e.currentTarget)||1,n=this.elements.$focusableMenuElements.length,s=this.getTitleIndexFocusUpdated(e,t,n);this.setTitleFocus(s),e.stopPropagation()}handleTitleActivationKey(e){if(e.preventDefault(),this.handleTitleLinkEnterOrSpaceEvent(e))return;const t=this.getTitleIndex(e.currentTarget);elementorFrontend.elements.$window.trigger("elementor/nested-elements/activate-by-keyboard",{widgetId:this.getID(),titleIndex:t})}setTitleFocus(e){this.elements.$focusableMenuElements.filter(this.getTitleFilterSelector(e)).trigger("focus")}handleTitleLinkEnterOrSpaceEvent(e){const t="a"===e?.currentTarget?.tagName?.toLowerCase();return!elementorFrontend.isEditMode()&&t&&(e?.currentTarget?.click(),e.stopPropagation()),t}handleTitleEscapeKey(e){e.preventDefault(),e.stopPropagation(),this.isDropdownLayout()&&(elementorFrontend.elements.$window.trigger("elementor/mega-menu/dropdown-toggle-by-keyboard",{widgetId:this.getID()}),this.setFocusToMenuToggle()),elementorFrontend.elements.$window.trigger("elementor/nested-elements/activate-by-keyboard",{widgetId:this.getID()})}setFocusToMenuToggle(){const e=this.getSettings("selectors");this.$element.find(e.menuToggle).trigger("focus")}handleContentElementKeyboardNavigation(e){switch(e.key){case"Tab":e.shiftKey||this.handleContentElementTabEvents(e);break;case"Escape":e.preventDefault(),e.stopPropagation(),this.handleContentElementEscapeEvents(e)}}maybeRebindFocusableElements(){this.isEditorElementsChanged&&(this.elements.$focusableContainerElements.off(this.getContentElementEvents()),this.elements.$focusableContainerElements=this.getFocusableElements(this.elements.$itemContainers),this.elements.$focusableContainerElements.on(this.getContentElementEvents()),this.isEditorElementsChanged=!1)}handleContentElementTabEvents(e){const t=this.getSettings("selectors"),n=jQuery(e.currentTarget),s=t.itemContainer,i=n.closest(s),o=this.getFocusableElements(i).last();if(!n.is(o))return;this.isDropdownLayout()||this.closeActiveContentElements();const l=t.menuItem,r=0===i.closest(l).next(l).length;this.isDropdownLayout()&&r&&(this.closeActiveContentElements(),this.closeMenuDropdown())}handleContentElementEscapeEvents(){this.getActiveTitleElement().trigger("focus"),this.closeActiveContentElements()}closeActiveContentElements(){elementorFrontend.elements.$window.trigger("elementor/nested-elements/activate-by-keyboard",{widgetId:this.getID()})}linkContainer(e){const{container:t}=e.detail,n=t.model.get("id"),s=String(this.$element.data("id")),i=t.view.$el;n===s&&(this.updateIndexValues(i),this.updateListeners(i))}updateIndexValues(e){const{selectors:{directTabTitle:t,tabDropdown:n}}=this.getDefaultSettings(),s=e[0].querySelectorAll(t);let i=1;s.forEach((e=>{e.querySelector("a")&&e.querySelector("a").setAttribute("data-focus-index",i++),e.querySelector(n)&&e.querySelector(n).setAttribute("data-focus-index",i++)}))}updateListeners(e){this.elements.$focusableMenuElements.off();const{selectors:{focusableMenuElement:t,itemContainer:n}}=this.getSettings();this.elements.$focusableMenuElements=e.find(t),this.elements.$itemContainers=e.find(n),this.elements.$focusableMenuElements.on(this.getTitleEvents()),this.isEditorElementsChanged=!0}}t.default=MenuTitleKeyboardHandler}}]);
[+]
..
[-] display-conditions.js
[edit]
[-] jszip.vendor.a3c65615c1de5560962d.bundle.js
[edit]
[-] frontend.min.js
[edit]
[-] hotspot.70886883c622dd8d5eb2.bundle.js
[edit]
[-] nested-carousel-editor.2fdc278ce6bc9f6ec2e0.bundle.js
[edit]
[-] off-canvas-editor.f188d072365885d9b0dd.bundle.min.js
[edit]
[-] woocommerce-purchase-summary.46445ab1120a8c28c05c.bundle.min.js
[edit]
[-] webpack-pro.runtime.min.js
[edit]
[-] search-form.4beabae7f0e0a3129ef7.bundle.js
[edit]
[-] archive-posts.0aae8c3bd7d196797b6c.bundle.js
[edit]
[-] countdown.be941c879efa861dbbfa.bundle.min.js
[edit]
[-] animated-headline.3efc6517c2a055f6c242.bundle.min.js
[edit]
[-] social.2d2e44e8608690943f29.bundle.min.js
[edit]
[-] woocommerce-my-account.6509f179e93231fa2b6a.bundle.js
[edit]
[-] social.deeefd0e3641200f8239.bundle.js
[edit]
[-] video-playlist.74fca1f2470fa6474595.bundle.min.js
[edit]
[-] menu-title-keyboard-handler.8482fb61223805f5ee8f.bundle.min.js
[edit]
[-] form-submission-admin.js
[edit]
[-] frontend.js
[edit]
[-] form-submission-admin.min.js
[edit]
[-] mega-menu.2e0078a6bbdc8abdf4af.bundle.js
[edit]
[-] woocommerce-notices.aaa7a3d06f24f7ea6951.bundle.min.js
[edit]
[-] ajax-pagination.a8dae0f5699fe9733e7d.bundle.min.js
[edit]
[-] code-highlight.28a979661569ddbbf60d.bundle.min.js
[edit]
[-] progress-tracker.3ec316715116e9087057.bundle.js
[edit]
[-] lottie.565b778d23c04461c4ea.bundle.min.js
[edit]
[-] archive-posts.d30c917134774f65dd6d.bundle.min.js
[edit]
[-] search.5154a7b515b28ee3dfe6.bundle.js
[edit]
[-] loop-filter-editor.d1bae86a5ed21c0e9981.bundle.js
[edit]
[-] webpack-pro.runtime.js
[edit]
[-] page-transitions.js
[edit]
[-] gutenberg-woocommerce-notice.js
[edit]
[-] admin.min.js
[edit]
[-] contact-buttons-var-10.5ceb4ecd2152a5f8b96e.bundle.js
[edit]
[-] posts.5d2d70b1d6918b6d8205.bundle.js
[edit]
[-] carousel.9b02b45d7826c1c48f33.bundle.min.js
[edit]
[-] loop.27d8ba43536f8b76ca41.bundle.js
[edit]
[-] woocommerce-cart.fc30c6cb753d4098eff5.bundle.min.js
[edit]
[-] editor.min.js
[edit]
[-] progress-tracker.53951a08af7543da98e6.bundle.min.js
[edit]
[-] woocommerce-my-account.3ee10d01e625dad87f73.bundle.min.js
[edit]
[-] ef74929d267aeb27fc93.bundle.js
[edit]
[-] off-canvas.38087f3bf0da88e5e2e9.bundle.min.js
[edit]
[-] mega-menu-editor.88e3947c99f378d080db.bundle.js
[edit]
[-] contact-buttons.09c69d0d12aa67f9133e.bundle.min.js
[edit]
[-] page-transitions.min.js
[edit]
[-] gutenberg-woocommerce-notice.min.js
[edit]
[-] media-carousel.d8417210e0b731dd32b8.bundle.js
[edit]
[-] carousel.998a291abf70435fd698.bundle.js
[edit]
[-] product-add-to-cart.e099bc90899376d00959.bundle.js
[edit]
[-] editor.min.js.LICENSE.txt
[edit]
[-] mega-menu-editor.06a345ed56efe063f971.bundle.min.js
[edit]
[-] stripe-button.2acbca466dfeb9585680.bundle.min.js
[edit]
[-] woocommerce-checkout-page.b18af78282979b6f74e4.bundle.min.js
[edit]
[-] paypal-button.3d0d5af7df85963df32c.bundle.min.js
[edit]
[-] screenshot.js
[edit]
[-] taxonomy-filter.9d41aac2f76c01cfdb42.bundle.js
[edit]
[-] mega-menu-stretch-content.4648b25d00c1f94cec4e.bundle.js
[edit]
[-] off-canvas-editor.537e5e064206eea190cc.bundle.js
[edit]
[-] load-more.ad89e46f2f6bfd9c27e8.bundle.js
[edit]
[-] 60745ddf42fde6647dbc.bundle.min.js
[edit]
[-] loop-carousel.4e8fd6593adbba21698e.bundle.min.js
[edit]
[-] product-add-to-cart.023d7d31fbf96c3dbdfc.bundle.min.js
[edit]
[-] off-canvas.26fe37796a9397d32c9f.bundle.js
[edit]
[-] stripe-button.b00915f9aec396f7b070.bundle.js
[edit]
[-] table-of-contents.d228157a74585ba6b08c.bundle.js
[edit]
[-] nested-carousel.3ff3a0e309cbbd122254.bundle.min.js
[edit]
[-] loop.4f538ab2476dd2d124e6.bundle.min.js
[edit]
[-] paypal-button.3028ea98fc2e17fdfe8f.bundle.js
[edit]
[-] form.c4bc7eaa69583834a7d5.bundle.min.js
[edit]
[-] preview.min.js
[edit]
[-] gallery.8ca9a354ce039d1ba641.bundle.min.js
[edit]
[-] gallery.805130d33e18cb04635f.bundle.js
[edit]
[-] share-buttons.58e0fcb000aa02df3f24.bundle.js
[edit]
[-] video-playlist.964a12bbea2078517f07.bundle.js
[edit]
[-] load-more.bc9573b5d1f73abd80b9.bundle.min.js
[edit]
[-] admin.js
[edit]
[-] taxonomy-filter.b42e9c10a9d0abc3454e.bundle.min.js
[edit]
[-] share-buttons.08f4daf4a4285a8632b8.bundle.min.js
[edit]
[-] table-of-contents.8fd1a0cc520a3fc67bd8.bundle.min.js
[edit]
[-] slides.fb6b9afd278bb9c5e75b.bundle.min.js
[edit]
[-] slides.3b185c687f9167dfae0c.bundle.js
[edit]
[-] nav-menu.e65811186e94a386ba7b.bundle.min.js
[edit]
[-] hotspot.6ab1751404c381bfe390.bundle.min.js
[edit]
[-] contact-buttons.5f4d4ece4d991cd56a20.bundle.js
[edit]
[-] contact-buttons-var-10.b255e00e3feea456660f.bundle.min.js
[edit]
[-] qunit-tests.min.js
[edit]
[-] lottie.a00fda0bbf10f9b99eae.bundle.js
[edit]
[-] popup.085c1727e36940b18f29.bundle.min.js
[edit]
[-] display-conditions.min.js
[edit]
[-] jszip.vendor.99a5b769619f50a6cb60.bundle.min.js
[edit]
[-] custom-code.min.js
[edit]
[-] search.d0787a5c582ce238adf0.bundle.min.js
[edit]
[-] custom-code.js
[edit]
[-] woocommerce-cart.73c6990b0b1a1ea18220.bundle.js
[edit]
[-] woocommerce-menu-cart.faa7b80e9ba9e5072070.bundle.min.js
[edit]
[-] nav-menu.3302c748e084579995fb.bundle.js
[edit]
[-] popup.1f90f6cfd0d44ef28772.bundle.js
[edit]
[-] nested-carousel.c8ad1035e988a2ae42b1.bundle.js
[edit]
[-] ajax-pagination.bc400e6cb24a14a2ea97.bundle.js
[edit]
[-] form.97ef0fd396471477cc8e.bundle.js
[edit]
[-] nested-carousel-editor.6337dab68af203be7c04.bundle.min.js
[edit]
[-] portfolio.b5c5e89624dc6b81a11a.bundle.min.js
[edit]
[+]
notes
[-] portfolio.9a52c1f0953359d74119.bundle.js
[edit]
[-] elements-handlers.min.js
[edit]
[-] countdown.60cf02eaf22d71d83f3d.bundle.js
[edit]
[-] elements-handlers.js
[edit]
[-] app.min.js
[edit]
[-] woocommerce-notices.d8c0850de1984ac89f33.bundle.js
[edit]
[-] menu-title-keyboard-handler.b34510de747c3b311e45.bundle.js
[edit]
[-] animated-headline.e4c2ed3934d0df18c40a.bundle.js
[edit]
[-] jszip.vendor.99a5b769619f50a6cb60.bundle.min.js.LICENSE.txt
[edit]
[-] woocommerce-checkout-page.9b1242f2568f94bb8d5c.bundle.js
[edit]
[-] editor.js
[edit]
[-] code-highlight.8b676d9a001f56fb77fa.bundle.js
[edit]
[-] woocommerce-purchase-summary.8d56a92f38ab4fc4575f.bundle.js
[edit]
[-] woocommerce-menu-cart.010ec7298aee1fcdc2ea.bundle.js
[edit]
[-] 98217e0c00e1f53421ef.bundle.js
[edit]
[-] posts.caaf3e27e57db8207afc.bundle.min.js
[edit]
[-] loop-carousel.827a11bd7f1b0343de42.bundle.js
[edit]
[-] app.js
[edit]
[-] screenshot.min.js
[edit]
[-] mega-menu-stretch-content.60ca9e1e97c52ac3bf8c.bundle.min.js
[edit]
[-] preview.js
[edit]
[-] search-form.a25a87283d08dad12f18.bundle.min.js
[edit]
[-] 60745ddf42fde6647dbc.bundle.min.js.LICENSE.txt
[edit]
[-] cf897f631f64e6c79d99.bundle.min.js
[edit]
[-] mega-menu.43866105e5e8e1a3f38d.bundle.min.js
[edit]
[-] loop-filter-editor.21982d6e76a4fba12cd5.bundle.min.js
[edit]
[-] qunit-tests.js
[edit]
[-] media-carousel.aca2224ef13e6f999011.bundle.min.js
[edit]
[+]
packages