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([[464],{8889:(e,t,s)=>{var n=s(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(s(3231)),r=s(6542);class SearchKeyboardHandler extends elementorModules.frontend.handlers.Base{constructor(){super(...arguments),(0,i.default)(this,"focusableResultElements",void 0),(0,i.default)(this,"currentResultFocusedIndex",-1)}__construct(){super.__construct(...arguments),elementorFrontend.hooks.addAction("search:results-updated",this.loadResultElementsEvents.bind(this))}getDefaultSettings(){return{selectors:{searchWrapper:".e-search",searchField:".e-search-input",resultsContainer:".e-search-results",loopItem:".e-loop-item",clearIcon:".e-search-input-wrapper > svg, .e-search-input-wrapper > i"}}}getDefaultElements(){const e=this.getSettings("selectors");return{resultsContainer:this.$element[0].querySelector(e.resultsContainer),searchField:this.$element[0].querySelector(e.searchField),clearIcon:this.$element[0].querySelector(e.clearIcon)}}setFocusableElements(e){const t=(0,r.focusableElementSelectors)(),s=e.querySelectorAll(t);this.focusableResultElements=Array.from(s).filter((e=>!e.disabled&&!e.inert&&-1!==e.tabIndex))}isSearchInputFocused(){return this.elements.searchField===elementorFrontend.elements.window.document.activeElement}bindEvents(){this.boundHandleKeyboardNavigation=this.handleKeyboardNavigation.bind(this),this.boundHandleEscapeKey=this.handleEscapeKey.bind(this),this.elements.searchField.addEventListener("keydown",this.boundHandleKeyboardNavigation),elementorFrontend.elements.window.document.addEventListener("keydown",this.boundHandleEscapeKey),this.elements.searchField.addEventListener("focus",this.openResults.bind(this))}loadResultElementsEvents(){this.setFocusableElements(this.$element[0].querySelector(this.getSettings("selectors.resultsContainer"))),this.focusableResultElements?.forEach((e=>{e.addEventListener("keydown",this.handleKeyboardNavigation.bind(this))}))}unbindEvents(){this.boundHandleKeyboardNavigation&&this.elements.searchField.removeEventListener("keydown",this.boundHandleKeyboardNavigation),elementorFrontend.elements.window.document.removeEventListener("keydown",this.boundHandleEscapeKey),this.elements.searchField.removeEventListener("focus",this.openResults.bind(this))}handleKeyboardNavigation(e){switch(e.key){case"ArrowDown":this.focusNextElement();break;case"ArrowUp":this.focusPreviousElement();break;case"Enter":this.handleEnterKey()}}areResultsClosed(){return 0===this.elements.resultsContainer.querySelectorAll(this.getSettings("selectors.loopItem")).length||this.elements.resultsContainer.classList.contains("hidden")}openResults(){this.areResultsClosed()&&this.elements.resultsContainer.classList.remove("hidden")}handleEnterKey(){this.closeResults()}handleEscapeKey(e){if("Escape"!==e.key)return;const t=elementorFrontend.elements.window.document.activeElement;(this.elements.resultsContainer.contains(t)||!1)&&this.elements.searchField.focus(),this.closeResults()}focusNextElement(){this.isSearchInputFocused()?this.currentResultFocusedIndex=0:(this.currentResultFocusedIndex++,this.checkFocusIndexBounds()),this.updateFocus()}focusPreviousElement(){this.isSearchInputFocused()?this.currentResultFocusedIndex=this.focusableResultElements.length-1:(this.currentResultFocusedIndex--,this.checkFocusIndexBounds()),this.updateFocus()}checkFocusIndexBounds(){this.currentResultFocusedIndex>=this.focusableResultElements.length?this.currentResultFocusedIndex=-1:this.currentResultFocusedIndex<-1&&(this.currentResultFocusedIndex=this.focusableResultElements.length-1)}updateFocus(){-1===this.currentResultFocusedIndex?this.focusSearchAndMoveCursorToEnd():this.setFocusToElement(this.focusableResultElements[this.currentResultFocusedIndex])}closeResults(){this.elements.resultsContainer.classList.add("hidden"),this.updateAriaExpanded(!1)}updateAriaExpanded(e){this.elements.searchField.setAttribute("aria-expanded",e)}focusSearchAndMoveCursorToEnd(){const e=this.elements.searchField,t=e.value.length;this.setFocusToElement(this.elements.searchField),e.setSelectionRange(t,t)}setFocusToElement(e){e.focus()}}t.default=SearchKeyboardHandler},6510:(e,t,s)=>{var n=s(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(s(3231)),r=n(s(6399));class Search extends elementorModules.frontend.handlers.Base{constructor(){super(...arguments),(0,i.default)(this,"debounceTimeoutId",void 0)}getDefaultSettings(){return{selectors:{searchWrapper:".e-search",searchField:".e-search-input",submitButton:".e-search-submit",clearIcon:".e-search-input-wrapper > svg, .e-search-input-wrapper > i",searchIcon:".e-search-label > svg, .e-search-label > i",resultsContainer:".e-search-results"},classes:{searchResultsListWrapper:"e-search-results-list"}}}getDefaultElements(){const e=this.getSettings("selectors");return{searchWidget:this.$element[0],searchWrapper:this.$element[0].querySelector(e.searchWrapper),searchField:this.$element[0].querySelector(e.searchField),submitButton:this.$element[0].querySelector(e.submitButton),clearIcon:this.$element[0].querySelector(e.clearIcon),searchIcon:this.$element[0].querySelector(e.searchIcon),resultsContainer:this.$element[0].querySelector(e.resultsContainer)}}onInit(){super.onInit(),this.changeClearIconVisibility(!0),this.updateInputStyle(),this.toggleSearchResultsVisibility=this.toggleSearchResultsVisibility.bind(this),document.addEventListener("click",this.toggleSearchResultsVisibility),document.fonts.ready.then((()=>this.updateInputStyle()))}onDestroy(){document.removeEventListener("click",this.toggleSearchResultsVisibility)}bindEvents(){this.elements.submitButton.addEventListener("click",this.onSubmit.bind(this)),this.elements.searchField.addEventListener("input",(e=>{this.changeClearIconVisibility(!e.target.value.length),this.debounce(this.onType)(e)})),this.elements.searchField.addEventListener("keydown",this.onSearchFieldKeydown.bind(this)),this.elements.searchWidget.addEventListener("click",this.onClick.bind(this)),["focusin","focusout"].forEach((e=>{this.elements.searchField.addEventListener(e,this.toggleWidgetFocusClass.bind(this))})),this.elements.clearIcon?.addEventListener("click",this.onClear.bind(this))}onClick(){this.elements.resultsContainer.classList.remove("hidden")}onType(e){if(e.preventDefault(),this.updateAriaLabel(this.elements.searchField.value),!this.elements.searchField.value.length)return void this.clearResultsMarkup();const t=this.getMinimumSearchLength();this.shouldShowLiveResults()&&this.elements.searchField.value.length>=t&&this.renderLiveResults()}toggleWidgetFocusClass(e){const t="focusin"===e.type;this.$element[0].classList.toggle("e-focus",t)}onSubmit(e){elementorFrontend.isEditMode()&&e.preventDefault()}onClear(e){e.preventDefault(),this.elements.searchField.value="",this.clearResultsMarkup(),this.elements.searchField.focus(),this.changeClearIconVisibility(!0)}onSearchFieldKeydown(e){"Enter"===e.code&&(this.clearResultsMarkup(),this.onSubmit(e))}fetchUpdatedSearchWidgetMarkup(){return fetch(`${elementorProFrontend.config.urls.rest}elementor-pro/v1/refresh-search`,this.getFetchArgumentsForSearchUpdate())}getMinimumSearchLength(){return this.getElementSettings().minimum_search_characters||3}shouldShowLiveResults(){return this.getElementSettings().live_results&&this.getElementSettings().template_id}renderLiveResults(){if(document.querySelector(`.elementor-element-${this.getID()}`)){if(this.elements.searchField.value)return this.fetchUpdatedSearchWidgetMarkup().then((e=>e instanceof Response&&e?.ok&&!(400<=e?.status)?e.json():{})).catch((()=>({}))).then((e=>{if(!e?.data)return void this.updateAriaExpanded(!1);const t=this.createResultNode(e.data);this.elements.resultsContainer.replaceChildren(t),this.elements.resultsContainer.classList.remove("hidden"),this.maybeHandleNoResults(t),elementorFrontend.hooks.doAction("search:results-updated")})).finally((()=>{const e=document.querySelectorAll(`[data-id="${this.getID()}"] .e-loop-item`);(0,r.default)(e),elementorFrontend.config.experimentalFeatures.e_lazyload&&document.dispatchEvent(new Event("elementor/lazyload/observe"))}));this.clearResultsMarkup()}}maybeHandleNoResults(e){const t=!!e.querySelector(".e-search-nothing-found-message");this.elements.resultsContainer.classList[t?"add":"remove"]("no-results")}createResultNode(e){const t=document.createElement("div"),s=this.getSettings("classes.searchResultsListWrapper");t.setAttribute("class",s),t.innerHTML=e;const n=t.querySelectorAll(".e-loop-item").length>0;return this.updateAriaExpanded(n),t}updateAriaExpanded(e){this.elements.searchField.setAttribute("aria-expanded",e?"true":"false")}updateAriaLabel(e){e?this.elements.resultsContainer.setAttribute("aria-label",`Results for ${e}`):this.elements.resultsContainer.removeAttribute("aria-label")}clearResultsMarkup(){this.elements.resultsContainer.innerHTML="",this.updateAriaExpanded(!1)}getFetchArgumentsForSearchUpdate(){const e=this.prepareSearchUpdateRequestData(),t={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)};return elementorFrontend.isEditMode()&&elementorPro.config.eSearch?.nonce&&(t.headers["X-WP-Nonce"]=elementorPro.config.eSearch?.nonce),t}prepareSearchUpdateRequestData(){const e=""+this.getID(),t={post_id:this.getClosestDataElementorId(this.$element[0]),widget_id:e,search_term:this.elements.searchField.value||""};if(elementorFrontend.isEditMode()){const s=window.top.$e.components.get("document").utils.findContainerById(e);t.widget_model=s.model.toJSON({remove:["default","editSettings","defaultEditSettings"]}),t.is_edit_mode=!0}return t}getClosestDataElementorId(e){const t=e.closest("[data-elementor-id]");return t?t.getAttribute("data-elementor-id"):0}debounce(e){var t=this;let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;return function(){for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];clearTimeout(t.debounceTimeoutId),t.debounceTimeoutId=setTimeout((()=>e.apply(t,i)),s)}}updateInputStyle(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["searchIcon","clearIcon"];const t={searchIcon:"icon-label",clearIcon:"icon-clear"},s=this.$element[0].style,n=this.getAllDisplayNoneParents(this.$element[0].parentNode);this.setElementsDisplay(n,"block");for(const n of e){const{width:e}=this.elements[n]?.getBoundingClientRect()||{width:0},i=t[n];s.setProperty(`--e-search-${i}-absolute-width`,e+"px"),this.elements.searchField.classList[e?"remove":"add"](`no-${i}`)}this.setElementsDisplay(n,""),this.elements.searchWrapper.classList.remove("hidden")}changeClearIconVisibility(e){this.elements.clearIcon?.classList[e?"add":"remove"]("hidden")}toggleSearchResultsVisibility(e){const t=this.getSettings("selectors"),s=`.elementor-element-${this.getID()}`,n=!!e?.target?.closest(`${s} ${t.searchWrapper}`),i=e?.target?.classList?.contains(t.searchField.replace(".","")),r=this.elements.resultsContainer?.children?.length;r&&(i&&n||this.elements.resultsContainer.classList.add("hidden"))}getAllDisplayNoneParents(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(!e||e===document.body)return t;return"none"===window.getComputedStyle(e).display&&t.push(e),this.getAllDisplayNoneParents(e.parentNode,t)}setElementsDisplay(e,t){e.forEach((e=>{e.style.display=t}))}onElementChange(e){const t={search_field_icon_label_size:()=>this.updateInputStyle(["searchIcon"]),icon_clear_size:()=>this.updateInputStyle(["clearIcon"])};t[e]&&t[e]()}}t.default=Search}}]);
[+]
..
[-] 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