PageSourceSearch

https://www.larsonjewelers.com/cdn/shop/t/134/assets/global.js?v=113461457350287344211787056745

js larsonjewelers.com collected 2026-10-03 20:50:55 UTC 47,702 bytes, 6 lines download raw bytes

1const body=document.querySelector("body");let header=document.querySelector("#header, #shopify-section-main-password-header header"),headerGroup=document.querySelector(".shopify-section-group-header-group"),announcementBar=headerGroup?headerGroup.querySelector(".js-announcement-bar"):null,productMedia=document.querySelector(".product__media"),productMediaSwiper=document.querySelector(".product__media .swiper");const windowDynamicEvents=["scroll","resize"],_Sched={scroll:!1,resize:!1},_ScrollQueue=[],_ResizeQueue=[];function _RunQueue(queue){for(let i=0;i<queue.length;i++)try{queue[i]()}catch(e){window.__DEBUG__&&console.error("[]",e)}}function _FlushScroll(){_Sched.scroll=!1,_RunQueue(_ScrollQueue)}function _FlushResize(){_Sched.resize=!1,_RunQueue(_ResizeQueue)}function _ScheduleScroll(){_Sched.scroll||(_Sched.scroll=!0,requestAnimationFrame(_FlushScroll))}function _ScheduleResize(){_Sched.resize||(_Sched.resize=!0,requestAnimationFrame(_FlushResize))}window.addEventListener("scroll",_ScheduleScroll,{passive:!0}),window.addEventListener("resize",_ScheduleResize,{passive:!0});function _OnScroll(fn){_ScrollQueue.push(fn)}
1function _OnResize(fn){_ResizeQueue.push(fn)}const DeviceDetector={getUserAgent(){return navigator.userAgent.toLowerCase()},isMobile(){const ua=this.getUserAgent();return/android|webos|iphone|ipod|blackberry|iemobile|opera mini/i.test(ua)||window.innerWidth<=750},isTablet(){const ua=this.getUserAgent();return/ipad|android(?!.*mobile)|tablet|kindle|playbook|silk/i.test(ua)||window.innerWidth>750&&window.innerWidth<=990&&"ontouchstart"in window},isDesktop(){return!this.isMobile()&&!this.isTablet()},isIOS(){const ua=this.getUserAgent();return/iphone|ipad|ipod/i.test(ua)}};document.querySelectorAll(".hero__inner > .media > video > img").forEach(function(el){el.setAttribute("loading","lazy"),el.setAttribute("alt","Video Cover")}),_OnScroll(setRootCustomProperties),_OnResize(setRootCustomProperties),setRootCustomProperties(),window.__lazySwiper=function(el,mount){if(typeof IntersectionObserver!="function"||!el){mount();return}var io=new IntersectionObserver(function(entries){entries[0]&&entries[0].isIntersecting&&(io.disconnect(),mount())},{rootMargin:"200px 0px"});io.observe(el)},window.addEventListener("shopify:section:load",function(){header=document.querySelector("#header, #shopify-section-main-password-header header"),announcementBar=document.querySelector(".js-announcement-bar")}),window.Shopify&&window.Shopify.designMode&&["shopify:section:load","shopify:section:unload","shopify:section:select","shopify:section:deselect","shopify:block:select","shopify:block:deselect"].forEach(eventName=>{document.addEventListener(eventName,()=>{setRootCustomProperties()})});function setRootCustomProperties(){const winInnerHeight=window.innerHeight,headerEl=document.querySelector("header"),headerHeight=headerEl?headerEl.offsetHeight:0,headerBottom=headerEl?Math.max(0,headerEl.getBoundingClientRect().bottom):0,sectionBody=document.querySelector("section > .container > .section__body"),sectionBodyWidth=sectionBody?sectionBody.offsetWidth:null;let announcementBarTop=null,announcementBarHeight=null;announcementBar&&(announcementBarHeight=announcementBar.offsetHeight,announcementBarTop=Math.max(0,announcementBar.getBoundingClientRect().y+announcementBarHeight));let productMediaAreaWidth=null,productMediaAreaSwiperHeight=null,productMediaInnerWidth=null;if(productMedia){const w=productMedia.offsetWidth;if(w!==0){productMediaAreaWidth=w,productMediaSwiper&&(productMediaAreaSwiperHeight=productMediaSwiper.offsetHeight);const mediaInner=productMedia.querySelector(".media > *");mediaInner&&(productMediaInnerWidth=mediaInner.offsetWidth)}}const heroBanner=document.querySelector(".hero-banner");let headerMenuTextColor=null;if(heroBanner){const heroInner=heroBanner.querySelectorAll(".hero__inner");heroInner.length>0&&(headerMenuTextColor=heroInner[0].getAttribute("data-header-menu-text-color"))}const rootStyle=document.documentElement.style,setCustomProperty=(property,value)=>{rootStyle.setProperty(property,value)};setCustomProperty("--viewport-height",`${winInnerHeight}px`),setCustomProperty("--header-height",`${parseInt(headerHeight)}px`),setCustomProperty("--header-bottom",`${Math.round(headerBottom)}px`),sectionBodyWidth!==null&&setCustomProperty("--section-body-width",`${parseInt(sectionBodyWidth)}px`),announcementBar?(setCustomProperty("--announcement-bar-top",`${parseInt(announcementBarTop)}px`),setCustomProperty("--announcement-bar-height",`${parseInt(announcementBarHeight)}px`)):(setCustomProperty("--announcement-bar-top","0px"),setCustomProperty("--announcement-bar-height","0px")),productMediaAreaWidth!==null&&(setCustomProperty("--product-media-area-width",`${parseInt(productMediaAreaWidth)}px`),productMediaAreaSwiperHeight!==null&&setCustomProperty("--product-media-area-swiper-height",`${parseInt(productMediaAreaSwiperHeight)}px`),productMediaInnerWidth!==null&&setCustomProperty("--product-media-width",`${parseInt(productMediaInnerWidth)}px`)),headerMenuTextColor&&setCustomProperty("--transparent-header-menu-text-color",`${headerMenuTextColor}`)}function scrollPositionY(){document.documentElement.style.setProperty("--window-scroll-y-position",window.scrollY);const sectionHeader=document.querySelector(".section-header");window.scrollY<5?(document.body.classList.add("is-at-top"),document.body.classList.remove("is-scrolled"),sectionHeader&&header&&header.getAttribute("data-sticky-header")==="true"&&sectionHeader.classList.remove("is-sticky")):(document.body.classList.add("is-scrolled"),document.body.classList.remove("is-at-top"),sectionHeader&&header&&header.getAttribute("data-sticky-header")==="true"&&sectionHeader.classList.add("is-sticky"))}_OnScroll(scrollPositionY);const isHeaderSticky=header?.classList.contains("is-sticky"),isAnnouncementBarAfterHeader=announcementBar?.parentElement?.previousElementSibling?.classList.contains("section-header"),onKeyUpEscape=event=>{if(event.code.toUpperCase()!=="ESCAPE")return;const openDetailsElement=event.target.closest("details[open]");if(!openDetailsElement)return;const summaryElement=openDetailsElement.querySelector("summary");openDetailsElement.removeAttribute("open"),summaryElement.setAttribute("aria-expanded",!1),summaryElement.focus({preventScroll:!0})},getFocusableElements=container=>Array.from(container.querySelectorAll('summary, a[href], button:enabled, [tabindex]:not
1([tabindex^="-"]), [draggable], area, input:not([type=hidden]):enabled, select:enabled, textarea:enabled, object, iframe'));document.querySelectorAll('[id^="Details-"] summary').forEach(summary=>{summary.setAttribute("role","button"),summary.setAttribute("aria-expanded",summary.parentNode.hasAttribute("open")),summary.nextElementSibling.getAttribute("id")&&summary.setAttribute("aria-controls",summary.nextElementSibling.id),summary.addEventListener("click",event=>{event.currentTarget.setAttribute("aria-expanded",!event.currentTarget.closest("details").hasAttribute("open"))}),!summary.closest("header-drawer")&&summary.parentElement.addEventListener("keyup",onKeyUpEscape)});const trapFocusHandlers={},removeTrapFocus=(elementToFocus=null)=>{document.removeEventListener("focusin",trapFocusHandlers.focusin),document.removeEventListener("focusout",trapFocusHandlers.focusout),document.removeEventListener("keydown",trapFocusHandlers.keydown),elementToFocus&&elementToFocus.focus({preventScroll:!0})},trapFocus=(container,elementToFocus=container)=>{var elements=getFocusableElements(container),first=elements[0],last=elements[elements.length-1];removeTrapFocus(),trapFocusHandlers.focusin=event=>{event.target!==container&&event.target!==last&&event.target!==first||document.addEventListener("keydown",trapFocusHandlers.keydown)},trapFocusHandlers.focusout=function(){document.removeEventListener("keydown",trapFocusHandlers.keydown)},trapFocusHandlers.keydown=function(event){event.code.toUpperCase()==="TAB"&&(event.target===last&&!event.shiftKey&&(event.preventDefault(),first.focus()),(event.target===container||event.target===first)&&event.shiftKey&&(event.preventDefault(),last.focus()))},document.addEventListener("focusout",trapFocusHandlers.focusout),document.addEventListener("focusin",trapFocusHandlers.focusin),elementToFocus.focus()},serializeForm=form=>{const obj={},formData=new FormData(form);for(const key of formData.keys())obj[key]=formData.get(key);return JSON.stringify(obj)},deepClone=obj=>JSON.parse(JSON.stringify(obj)),handleize=str=>str.replace(/[ /_]/g,"-").toLowerCase(),decode=str=>decodeURIComponent(str).replace(/\+/g," "),getOffsetTop=element=>{let offsetTop=0;do isNaN(element.offsetTop)||(offsetTop+=element.offsetTop);while(element=element.offsetParent);return offsetTop};class MenuDrawer extends HTMLElement{constructor(){super(),this.details=this.querySelector("details"),this.summary=this.querySelector("summary"),this.drawer=this.querySelector(".js-drawer"),this.btnsCloseDrawer=this.querySelectorAll(".js-btn-close-drawer"),this.btnsCloseDrawer=[...this.btnsCloseDrawer].filter(btnCloseDrawer=>this.drawer===btnCloseDrawer.closest(".js-drawer")),this.elementToFocus=this.querySelector(".js-drawer-focus-element")||this.btnsCloseDrawer[0],this.toggleButtons=[this.summary,...this.btnsCloseDrawer],this.isParentDrawerOpen=!1,this.predictiveSearch=this.querySelector("predictive-search"),!(!this.details||!this.summary)&&(this.setInitialAccessibilityAttr(),this.toggleButtons.forEach(toggleButton=>{toggleButton.addEventListener("click",e=>{e.preventDefault(),this.toggleDrawer()})}),this.addEventListener("keydown",e=>{const isEscapeKey=e.key==="Escape",isDrawerOpen=this.details.classList.contains("menu-opening"),nestedOpenDrawer=this.details.querySelector("details[open]");!isEscapeKey||nestedOpenDrawer||!isDrawerOpen||this.predictiveSearch&&this.predictiveSearch.input==document.activeElement||this.toggleDrawer()}),this.addEventListener("keydown",e=>{if(e.key==="Enter"){const activeElement=document.activeElement;activeElement&&activeElement.matches('input[type="checkbox"]')&&(activeElement.click(),e.preventDefault())}}),this.toggleTrapFocus())}toggleDrawer(){const isDrawerTransitioning=this.details.classList.contains("drawer-transitioning");if(this.details.hasAttribute("open"))this.details.classList.remove("menu-opening"),this.toggleButtons.forEach(toggleButton=>{toggleButton.classList.remove("menu-is-open"),toggleButton.setAttribute("aria-expanded",!1)}),body.style.overflow="",body.style.position="",this.isParentDrawerOpen&&this.parentDrawer&&(this.parentDrawer.style.overflow=""),setTimeout(()=>{this.details.removeAttribute("open")},500);else if(this.details.setAttribute("open",""),this.toggleButtons.forEach(toggleButton=>{toggleButton.classList.add("menu-is-open"),toggleButton.setAttribute("aria-expanded",!0)}),this.details.classList.add("menu-opening"),body.style.overflow==="hidden")this.parentDrawer=this.closest(".
1js-drawer"),this.parentDrawer||(this.isParentDrawerOpen=!1),this.isParentDrawerOpen=!0,this.isParentDrawerOpen&&this.parentDrawer&&(this.parentDrawer.style.overflow="hidden");else{let scrollPosition=window.scrollY;body.style.overflow="hidden",scrollPosition=window.scrollY,body.style.top=`-${scrollPosition}px`,body.style.width="100%"}const handleDropdownTransition=e=>{if(e.target!==this.drawer||e.propertyName!=="visibility")return;this.details.classList.remove("drawer-transitioning"),this.elementToFocus&&this.elementToFocus.focus({preventScroll:!0}),this.details.hasAttribute("open")||(this.toggleButtons.forEach(toggleButton=>{toggleButton.setAttribute("aria-expanded",!1)}),this.summary.focus({preventScroll:!0})),this.isParentDrawerOpen?(this.parentDrawer.style.overflow="",document.body.style.overflow=""):document.body.style.overflow="hidden",e.target.removeEventListener("transitionend",handleDropdownTransition)};this.drawer.addEventListener("transitionstart",e=>{this.details.classList.add("drawer-transitioning")},{once:!0}),this.drawer.addEventListener("transitionend",handleDropdownTransition)}instantlyHideDrawer(){this.toggleButtons.forEach(toggleButton=>{toggleButton.setAttribute("aria-expanded",!1)}),this.details.classList.remove("menu-opening"),this.details.removeAttribute("open"),body.style.overflow=""}toggleTrapFocus(container=this.drawer){document.addEventListener("focusin",e=>{if(!this.details.classList.contains("menu-opening"))return;const openDrawer=e.target.closest("details.menu-opening .js-drawer"),nestedOpenDrawer=this.details.querySelector("details.menu-opening");if(openDrawer===this.drawer||nestedOpenDrawer)return;e.preventDefault();const focusableElements=getFocusableElements(container),focusedElementDOMPosition=container.compareDocumentPosition(e.target),visibleFocusableElements=focusableElements.filter(focusableElement=>{if(getComputedStyle(focusableElement).display==="none")return;const isSummary=focusableElement.tagName==="SUMMARY",focusableElementDetails=focusableElement.closest("details"),parentFocusableElementDetails=focusableElementDetails.parentElement.closest("details"),focusableElementDrawer=focusableElementDetails.querySelector(".js-drawer");return(focusableElementDrawer?focusableElementDrawer===this.drawer:focusableElementDetails===this.details)||isSummary&&parentFocusableElementDetails.hasAttribute("open")}),firstFocusableElement=visibleFocusableElements[0],lastFocusableElement=visibleFocusableElements[visibleFocusableElements.length-1];if(focusedElementDOMPosition>=4){firstFocusableElement.focus({preventScroll:!0});return}lastFocusableElement.focus({preventScroll:!0})})}setInitialAccessibilityAttr(){if(!this.details||!this.summary)return;const isDetailsOpen=this.details.hasAttribute("open");this.summary.setAttribute("role","button"),this.drawer&&this.summary.setAttribute("aria-controls",this.drawer.id),this.summary.setAttribute("aria-expanded",isDetailsOpen)}}customElements.define("menu-drawer",MenuDrawer);class HeaderDrawer extends MenuDrawer{constructor(){super(),_OnResize(()=>{if(!this.details||!this.classList.contains("mobile-drawer"))return;const isMenuOpen=this.details.classList.contains("menu-opening");DeviceDetector.isDesktop()||!isMenuOpen||(this.isToggling=!1,this.instantlyHideDrawer())})}instantlyHideDrawer(){super.instantlyHideDrawer()}toggleDrawer(){if(this.isToggling)return;this.isToggling=!0;const isDrawerTransitioning=this.details.classList.contains("drawer-transitioning"),drawerButton=this.querySelector(".drawer__button");drawerButton.classList.contains("menu-is-open")?(header.classList.remove("menu-open"),drawerButton.classList.remove("menu-is-open")):(header.classList.add("menu-open"),drawerButton.classList.add("menu-is-open")),super.toggleDrawer(),setTimeout(()=>{this.isToggling=!1},400)}toggleTrapFocus(){super.toggleTrapFocus(this.details)}}customElements.define("header-drawer",HeaderDrawer);class DesktopDrawer extends MenuDrawer{constructor(){super(),_OnResize(()=>{const isMenuOpen=this.details.classList.contains("menu-opening");!DeviceDetector.isDesktop()||!isMenuOpen||this.instantlyHideDrawer()})}}customElements.define("desktop-drawer",DesktopDrawer);function pauseAllMedia(){document.querySelectorAll(".js-youtube").forEach(video=>{video.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}),document.querySelectorAll(".js-vimeo").forEach(video=>{video.contentWindow.postMessage('{"method":"pause"}',"*")}),document.querySelectorAll("video").forEach(video=>video.pause()),document.querySelectorAll("product-model").forEach(model=>{model.modelViewerUI&&model.modelViewerUI.pause()})}function unpauseAllMedia(){document.querySelectorAll(".js-youtube").forEach(video=>{video.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}),document.querySelectorAll(".js-vimeo").forEach(video=>{video.contentWindow.postMessage('{"method":"play"}',"*")}),document.querySelectorAll("video").forEach(video=>
1{let playPromise=video.play();playPromise!==void 0&&playPromise.then(_=>{}).catch(error=>{video.play()})}),document.querySelectorAll("product-model").forEach(model=>{model.modelViewerUI&&model.modelViewerUI.play()})}const debounce=(fn,wait)=>{let t;return(...args)=>{clearTimeout(t),t=setTimeout(()=>fn.apply(this,args),wait)}},fetchConfig=(type="json")=>({method:"POST",headers:{"Content-Type":`application/${type}`,Accept:`application/${type}`}});class QuantityInput extends HTMLElement{constructor(){super(),this.input=this.querySelector("input"),this.changeEvent=new Event("change",{bubbles:!0}),this.decrementButton=this.querySelector('button[name="decrement"]'),this.incrementButton=this.querySelector('button[name="increment"]'),this.updateButtonColors(),this.querySelectorAll("button").forEach(button=>button.addEventListener("click",this.onButtonClick.bind(this))),this.input.addEventListener("input",this.updateButtonColors.bind(this)),this.input.addEventListener("blur",this.validateInput.bind(this))}validateInput(){const min=parseInt(this.input.min,10)||1,max=parseInt(this.input.max,10)||1/0;let value=parseInt(this.input.value,10);isNaN(value)||value<min?this.input.value=min:value>max&&(this.input.value=max),this.updateButtonColors()}updateButtonColors(){const value=parseInt(this.input.value,10),min=parseInt(this.input.min,10)||1,max=parseInt(this.input.max,10)||1/0;this.decrementButton.querySelectorAll("path").forEach(path=>{path.setAttribute("stroke",value<=min?"#c2c9d6":"rgb(var(--color-heading-text))")}),this.incrementButton.querySelectorAll("path").forEach(path=>{path.setAttribute("stroke",value>=max?"#c2c9d6":"rgb(var(--color-heading-text))")})}onButtonClick(event){event.preventDefault();const previousValue=this.input.value;event.target.name==="increment"?this.input.stepUp():this.input.stepDown();const min=parseInt(this.input.min,10)||1;parseInt(this.input.value,10)<min&&(this.input.value=min),previousValue!==this.input.value&&this.input.dispatchEvent(this.changeEvent),this.updateButtonColors()}}customElements.define("quantity-input",QuantityInput);class ModalOpener extends HTMLElement{constructor(){super();const button=this.querySelector("button");button&&button.addEventListener("click",()=>{const modal=document.querySelector(this.getAttribute("data-modal"));modal&&modal.show(button)})}}customElements.define("modal-opener",ModalOpener);class ModalDialog extends HTMLElement{constructor(){super(),this.dialogHolder=this.querySelector('[role="dialog"]'),this.querySelector('[id^="ModalClose-"]').addEventListener("click",this.hide.bind(this,!1)),this.addEventListener("keyup",event=>{event.code?.toUpperCase()==="ESCAPE"&&this.hide()}),this.addEventListener("click",event=>{event.target===this&&this.hide()})}connectedCallback(){this.moved||(this.moved=!0,document.body.appendChild(this))}show(opener){this.openedBy=opener,document.body.classList.add("overflow-hidden"),this.setAttribute("open",""),trapFocus(this,this.dialogHolder),window.pauseAllMedia()}hide(){document.body.classList.remove("overflow-hidden"),document.body.dispatchEvent(new CustomEvent("modalClosed")),this.removeAttribute("open"),removeTrapFocus(this.openedBy),window.unpauseAllMedia()}}customElements.define("modal-dialog",ModalDialog);function isIOS(){const userAgent=navigator.userAgent;return/iPhone|iPad|iPod/i.test(userAgent)||userAgent.includes("Mac")&&navigator.maxTouchPoints>1}class DeferredMedia extends HTMLElement{constructor(){super();const poster=this.querySelector('[id^="Deferred-Poster-"]');poster&&poster.addEventListener("click",this.loadContent.bind(this))}loadContent(focus=!0){if(!this.getAttribute("loaded")){const content=document.createElement("div");content.appendChild(this.querySelector("template").content.firstElementChild.cloneNode(!0)),this.setAttribute("loaded",!0);const deferredElement=this.appendChild(content.querySelector("video, model-viewer, iframe"));isIOS()&&(deferredElement.controls=!0),deferredElement.play&&deferredElement.play(),focus&&deferredElement.focus()}}}customElements.define("deferred-media",DeferredMedia);class ThemeDropdown extends HTMLElement{constructor(){super(),this.button=this.querySelector(".dropdown-button"),this.content=this.querySelector(".dropdown-content"),this.hiddenInput=this.querySelector('input[type="hidden"]'),this.toggle=this.toggle.bind(this),this.handleItem
1Click=this.handleItemClick.bind(this),this.handleOutsideClick=this.handleOutsideClick.bind(this),this.handleEscapeKey=this.handleEscapeKey.bind(this)}connectedCallback(){this.button?.addEventListener("click",this.toggle),this.content?.addEventListener("click",this.handleItemClick),document.addEventListener("click",this.handleOutsideClick),document.addEventListener("keydown",this.handleEscapeKey)}disconnectedCallback(){this.button?.removeEventListener("click",this.toggle),this.content?.removeEventListener("click",this.handleItemClick),document.removeEventListener("click",this.handleOutsideClick),document.removeEventListener("keydown",this.handleEscapeKey)}toggle(e){e.stopPropagation(),this.hasAttribute("open")||document.querySelectorAll("theme-dropdown[open]").forEach(dropdown=>{dropdown!==this&&dropdown.removeAttribute("open")}),this.toggleAttribute("open")}handleItemClick(e){const link=e.target.closest("a[data-value]");if(!link)return;e.preventDefault();const value=link.dataset.value,text=link.textContent.trim();this.hiddenInput&&(this.hiddenInput.value=value,this.hiddenInput.dispatchEvent(new Event("input",{bubbles:!0})));const buttonText=this.button.querySelector(".dropdown-button__text-content");buttonText&&(buttonText.textContent=text),this.querySelectorAll("li").forEach(li=>li.classList.remove("is-active")),link.closest("li")?.classList.add("is-active"),this.removeAttribute("open")}handleOutsideClick(e){this.hasAttribute("open")&&!this.contains(e.target)&&this.removeAttribute("open")}handleEscapeKey(e){e.key==="Escape"&&this.hasAttribute("open")&&this.removeAttribute("open")}}customElements.define("theme-dropdown",ThemeDropdown);class LocalizationForm extends HTMLElement{constructor(){super(),this.form=this.querySelector("form"),this.localizationInputElements=this.querySelectorAll('[name="country_code"], [name="language_code"]'),this.localizationInputElements.forEach(inputElement=>{inputElement.addEventListener("input",()=>{this.form.submit()})})}}customElements.define("localization-form",LocalizationForm);class AccordionDefault extends HTMLElement{constructor(){if(super(),this.hideMultiple=this.hasAttribute("data-hide-multiple"),this.summaryElements=this.querySelectorAll("summary"),this.setInitialAccessibilityAttr(),this.addEventListener("click",e=>{let isBtn=e.target.classList.contains("accordion__button")||e.target.closest("svg");const svgElement=e.target.closest("svg");if(isBtn||(isBtn=e.target.classList.contains("js-btn")),svgElement){const summary=svgElement.closest("summary");summary&&summary.click()}if(!isBtn)return;e.preventDefault();const targetBtn=e.target.closest("summary")||e.target.closest("svg")?.closest("summary");targetBtn&&(this.toggleDropdown(targetBtn),this.collapseInactiveItems(targetBtn))}),this.addEventListener("keydown",e=>{if(!(e.key==="Escape"))return;const closestOpenDetails=document.activeElement.closest("details.is-active");if(!closestOpenDetails)return;const btn=closestOpenDetails.querySelector("summary");this.toggleDropdown(btn),this.collapseInactiveItems(btn)}),Shopify.designMode){let timeoutId;document.querySelectorAll(".drawer__submenu-first-item").forEach(item=>{item.addEventListener("click",function(){item.classList.contains("is-active")?(timeoutId&&clearTimeout(timeoutId),item.classList.remove("is-active")):(item.classList.add("is-active"),timeoutId=setTimeout(()=>{item.classList.remove("is-active")},1e4))})})}}collapseInactiveItems(exceptBtn){if(!this.hideMultiple)return;document.querySelectorAll("accordion-default summary").forEach(summary=>{const accordionDefault=summary.closest("accordion-default");summary!==exceptBtn&&accordionDefault.toggleDropdown(summary,!0)})}toggleDropdown(btn,forceClose){if(!btn)return;const dropdown=btn.nextElementSibling;if(!dropdown||dropdown.classList.contains("is-transitioning"))return;const details=btn.parentElement;if(forceClose){dropdown.style.height=`${dropdown.scrollHeight}px`,requestAnimationFrame(()=>{dropdown.style.height="0px"}),details.classList.remove("is-active"),details.removeAttribute("open"),btn.setAttribute("aria-expanded",!1);return}details.classList.toggle("is-active");
1const isDetailsActive=details.classList.contains("is-active");btn.setAttribute("aria-expanded",isDetailsActive),isDetailsActive?(details.setAttribute("open",""),dropdown.style.height=`${dropdown.scrollHeight}px`):(dropdown.style.height=`${dropdown.scrollHeight}px`,requestAnimationFrame(()=>{dropdown.style.height="0px"})),dropdown.classList.add("is-transitioning"),dropdown.addEventListener("transitionend",handleHeightTransition);function handleHeightTransition(e){dropdown.removeEventListener("transitionend",handleHeightTransition),dropdown.classList.remove("is-transitioning"),details.classList.contains("is-active")?dropdown.style.height="auto":(details.removeAttribute("open"),btn.focus())}}setInitialAccessibilityAttr(){this.summaryElements.forEach(summaryElement=>{const detailsElement=summaryElement.parentElement,dropdown=summaryElement.nextElementSibling;if(!detailsElement||!dropdown)return;const isDetailsOpen=detailsElement.hasAttribute("open");summaryElement.setAttribute("role","button"),summaryElement.setAttribute("aria-controls",dropdown.id),summaryElement.setAttribute("aria-expanded",isDetailsOpen)})}}customElements.define("accordion-default",AccordionDefault);const nav=document.querySelector(".js-nav");nav?.addEventListener("click",function(e){const isHoverDisabled=matchMedia("(hover: none)").matches,isLink=e.target.classList.contains("js-nav-link");if(!isHoverDisabled||!isLink)return;const linkItem=e.target.parentElement,activeLinkItem=linkItem.parentElement.querySelector(".js-nav-item.is-active"),hasDropdown=linkItem.classList.contains("has-dropdown");activeLinkItem!==linkItem&&activeLinkItem?.classList.remove("is-active"),hasDropdown&&(e.preventDefault(),linkItem.classList.toggle("is-active"))}),document.addEventListener("click",function(e){if(e.target.closest(".js-nav-item.is-active"))return;const activeLinkItems=document.querySelectorAll(".js-nav-item.is-active");activeLinkItems.length!=0&&activeLinkItems.forEach(activeLinkItem=>{activeLinkItem.classList.remove("is-active")})});let navItems=document.querySelectorAll(".js-nav-item.has-dropdown:not(.default-dropdown)");window.addEventListener("shopify:section:load",function(){navItems=document.querySelectorAll(".js-nav-item.has-dropdown:not(.default-dropdown)")}),["DOMContentLoaded","resize"].forEach(eventType=>{window.addEventListener(eventType,()=>{navItems=document.querySelectorAll(".js-nav-item.has-dropdown:not(.default-dropdown)"),navItems.forEach(navItem=>{const dropdown=navItem.querySelector(".js-dropdown");if(!dropdown)return;const{y,height}=navItem.getBoundingClientRect(),itemTop=y+height,dropdownY=dropdown.getBoundingClientRect().y;if(itemTop===dropdownY)return;const difference=Math.round(dropdownY-itemTop);navItem.style.setProperty("--after-height",`${difference}px`)})})});let hero=document.querySelector(".hero-banner")||document.querySelector("main section");window.addEventListener("shopify:section:load",function(){hero=document.querySelector(".hero-banner")||document.querySelector("main section")}),toggleHeaderIsScrolled(),_OnScroll(toggleHeaderIsScrolled),_OnResize(toggleHeaderIsScrolled),_OnScroll(function(){if(!announcementBar)return;const rect=announcementBar.getBoundingClientRect(),h=announcementBar.offsetHeight,top=Math.max(0,rect.y+h);document.documentElement.style.setProperty("--announcement-bar-top",`${parseInt(top)}px`)});function updateHeaderBottom(){const headerEl=document.querySelector("header");if(!headerEl)return;const bottom=Math.max(0,headerEl.getBoundingClientRect().bottom);document.documentElement.style.setProperty("--header-bottom",`${Math.round(bottom)}px`)}_OnScroll(updateHeaderBottom),_OnResize(updateHeaderBottom),window.addEventListener("load",updateHeaderBottom),window.addEventListener("load",function(){if(announcementBar){let announcementBarTop=Math.max(0,announcementBar.getBoundingClientRect().y+announcementBar.offsetHeight);document.documentElement.style.setProperty("--announcement-bar-top",`${parseInt(announcementBarTop)}px`)}});function toggleHeaderIsScrolled(){if(!header||!hero)return;announcementBar&&!isElementInViewport(announcementBar)&&document.documentElement.style.setProperty("--announcement-bar-top","0px");const isHeaderSticky2=header.classList.contains("is-sticky"),isTransparentOnScroll=header.classList.contains("is-transparent-on-scroll");
1if(!isHeaderSticky2)return;const{height,y}=hero.getBoundingClientRect();y+height-header.clientHeight>0?(header.classList.remove("is-scrolled"),header.classList.remove("is-transparent-on-scroll")):isTransparentOnScroll?(header.classList.remove("is-scrolled"),header.classList.add("is-transparent-on-scroll")):header.classList.add("is-scrolled")}function isElementInViewport(element){var rect=element.getBoundingClientRect();return rect.top>=0&&rect.left>=0&&rect.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&rect.right<=(window.innerWidth||document.documentElement.clientWidth)}const animationObserverOptions={rootMargin:"-100px"},animationObserver=new IntersectionObserver(entries=>{entries.forEach(entry=>{entry.isIntersecting&&(entry.target.classList.add("animation-init"),entry.target.addEventListener("animationend",()=>{entry.target.classList.add("animation-none")},{once:!0}),animationObserver.unobserve(entry.target))})},animationObserverOptions);observeAnimationElements(),window.addEventListener("shopify:section:load",()=>{observeAnimationElements()});function observeAnimationElements(){document.querySelectorAll('[class*="js-animation-"]').forEach(animationElement=>{animationObserver.observe(animationElement)})}class DropdownInput extends HTMLElement{constructor(){super(),this.select=this.querySelector("select"),this.dropdown=null,this.buttons=null,this.detailsTemplate=this.querySelector('template[data-name="details"]'),this.optionTemplate=this.querySelector('template[data-name="option"]'),this.select}connectedCallback(){this.init(),document.addEventListener("click",event=>{this.contains(event.target)||(this.dropdown.removeAttribute("open"),this.dropdown.classList.remove("is-open"))})}init(){this.select.classList.add("hidden"),this.appendTemplate()}appendTemplate(){const detailsTemplate=this.detailsTemplate.content.firstElementChild.cloneNode(!0),optionTemplate=this.optionTemplate.content,options=Array.from(this.select.options);if(options.length===0)return;const selectedOption=options.find(option=>option.selected);detailsTemplate.querySelector("[data-label]").textContent=selectedOption.label,options.forEach(option=>{const html=optionTemplate.cloneNode(!0),button=html.querySelector("button"),li=html.querySelector("li");button.toggleAttribute("disabled",option.disabled),button.setAttribute("data-value",option.value),button.textContent=option.label,li.classList.toggle("is-active",option.selected),detailsTemplate.querySelector("[data-options]").append(html)}
1),this.append(detailsTemplate),this.dropdown=this.querySelector("details"),this.buttons=this.dropdown.querySelectorAll("button"),this.setHandlers()}update(){this.dropdown=null,this.buttons=null,this.querySelector("details")?.remove(),this.appendTemplate()}setHandlers(){this.querySelector("summary").addEventListener("click",this.onSummaryClick.bind(this)),this.buttons.forEach((button,index)=>{button.addEventListener("click",event=>this.onOptionSelect(event,index))})}onOptionSelect(event,index){event.preventDefault(),Array.from(this.select.options).forEach(option=>option.removeAttribute("selected")),this.select.options[index].setAttribute("selected","selected"),this.select.value=event.target.dataset.value,this.select.dispatchEvent(new Event("change",{bubbles:!0})),this.querySelector("[data-label]").textContent=this.select.options[index].label,this.setSelectedOption(event.target),this.update()}setSelectedOption(buttonOption){const buttonEl=buttonOption;this.buttons.forEach(button=>{button.parentElement.classList.remove("is-active")}),buttonEl.parentElement.classList.add("is-active"),this.select.dispatchEvent(new Event("change")),this.select.closest("form")?.dispatchEvent(new Event("input")),this.close(void 0,this.dropdown.querySelector("summary"),this.dropdown)}onSummaryClick(event){const summaryElement=event.currentTarget,detailsElement=summaryElement.parentNode;detailsElement.hasAttribute("open")?this.close(event,summaryElement,detailsElement):this.open(summaryElement,detailsElement)}open(summaryElement,detailsElement){setTimeout(()=>{detailsElement.classList.add("is-open")}),summaryElement.setAttribute("aria-expanded",!0),trapFocus(detail
1sElement,summaryElement)}close(event,summaryElement,detailsElement){event&&event.preventDefault(),detailsElement.classList.remove("is-open"),removeTrapFocus(summaryElement),this.closeAnimation(detailsElement)}closeAnimation(detailsElement){let animationStart;const handleAnimation=time=>{animationStart===void 0&&(animationStart=time),time-animationStart<300?window.requestAnimationFrame(handleAnimation):detailsElement.removeAttribute("open")};window.requestAnimationFrame(handleAnimation)}}if(customElements.define("dropdown-input",DropdownInput),!customElements.get("text-truncator")){class TextTruncator extends HTMLElement{constructor(){super(),this.initElements()}connectedCallback(){(window.requestIdleCallback||function(cb){return setTimeout(cb,0)})(()=>this.setupTextTruncation(),{timeout:2e3})}initElements(){this.textTruncatorButton=this.querySelector(".text-truncator__button"),this.textTruncatorButtonText=this.textTruncatorButton?.querySelector(".text-truncator__button-text"),this.textTruncatorIconPlus=this.textTruncatorButton?.querySelector(".icon-plus"),this.textTruncatorIconMinus=this.textTruncatorButton?.querySelector(".icon-minus")}setupTextTruncation(){const textTruncator=this.querySelector(".text-truncator");textTruncator.style.display="block";const{lineHeight,lineCount,maxLineCount}=this.calculateLineCounts(textTruncator);lineCount>maxLineCount?(this.applyTextTruncation(textTruncator,lineHeight,maxLineCount),this.setupButton(textTruncator)):this.removeTextTruncation(textTruncator)}calculateLineCounts(element){const lineHeight=parseFloat(window.getComputedStyle(element).lineHeight),lineCount=Math.floor(element.clientHeight/lineHeight),maxLineCount=parseInt(this.dataset.maxLineCount);return{lineHeight,lineCount,maxLineCount}}applyTextTruncation(element,lineHeight,maxLineCount){element.classList.add("text-truncator--hidden");const maxHeight=`${lineHeight*maxLineCount}px`,style=document.createElement("style");style.innerHTML=`.text-truncator--hidden { max-height: ${maxHeight}; }`,document.head.appendChild(style)}removeTextTruncation(element){element.classList.remove("text-truncator--hidden"),this.textTruncatorButton&&(this.textTruncatorButton.innerHTML="")}setupButton(textTruncator){this.textTruncatorButton&&(this.textTruncatorButtonText.innerHTML=`<span>${this.dataset.readMore}</span>`,this.toggleIcons("plus"),this.textTruncatorButton.addEventListener("click",event=>{event.preventDefault(),this.toggleTextTruncation(textTruncator)}))}toggleTextTruncation(textTruncator){const paragraphs=textTruncator.querySelectorAll("p"),isHidden=textTruncator.classList.contains("text-truncator--hidden");if(paragraphs.forEach((paragraph,index)=>{paragraph.style.marginTop=isHidden&&index!==0?"1rem":""}),textTruncator.classList.toggle("text-truncator--hidden"),this.textTruncatorButtonText.innerHTML=`<span>${isHidden?this.dataset.readLess:this.dataset.readMore}</span>`,this.toggleIcons(isHidden?"minus":"plus"),isHidden&&window.innerWidth<768){const lineHeight=parseFloat(window.getComputedStyle(textTruncator).lineHeight);textTruncator.style.overflow="scroll"}else textTruncator.style.maxHeight="",textTruncator.style.overflow=""}toggleIcons(iconType){this.textTruncatorIconPlus.style.display=iconType==="plus"?"inline-block":"none",this.textTruncatorIconMinus.style.display=iconType==="minus"?"inline-block":"none"}}customElements.define("text-truncator",TextTruncator)}const megaMenu=document.querySelector("nav.js-nav");if(megaMenu){let toggleMegamenuOpen2=function(){megaMenu.querySelector(".js-dropdown.is-visible")?header.classList.add("is-megamenu-open"):header.classList.remove("is-megamenu-open")},closeAllDropdowns2=function(){megaMenu.querySelectorAll(".js-dropdown.is-visible").forEach(dropdown=>{dropdown.closest(".js-nav-item")?.getAttribute("data-menu-item")&&dropdown.classList.remove("is-visible")})},resetAllAriaExpanded2=function(){megaMenu.querySelectorAll(".js-nav-link[aria-expanded]").forEach(l=>{l.setAttribute("aria-expanded","false")})};var toggleMegamenuOpen=toggleMegamenuOpen2,closeAllDropdowns=closeAllDropdowns2,resetAllAriaExpanded=resetAllAriaExpanded2;megaMenu.querySelectorAll(".js-nav-item").forEach(item=>{const menuContent=item.querySelector(".js-dropdown"),link=item.querySelector(".js-nav-link");link.addEventListener("mouseenter",()=>{item.getAttribute("data-menu-item")!==null&&(closeAllDropdowns2(),resetAllAriaExpanded2(),menuContent&&menuContent.classList.add("is-visible"),toggleMegamenuOpen2())}
1),link.setAttribute("aria-expanded","false"),link.addEventListener("keydown",e=>{e.key==="Enter"&&(e.preventDefault(),menuContent.classList.contains("is-visible")?(menuContent.classList.remove("is-visible"),link.setAttribute("aria-expanded","false"),toggleMegamenuOpen2()):(closeAllDropdowns2(),resetAllAriaExpanded2(),menuContent.classList.add("is-visible"),link.setAttribute("aria-expanded","true"),toggleMegamenuOpen2()))}),item.addEventListener("keydown",e=>{e.key==="Escape"&&menuContent.classList.contains("is-visible")&&(menuContent.classList.remove("is-visible"),link.setAttribute("aria-expanded","false"),toggleMegamenuOpen2(),link.focus())}),item.addEventListener("focusout",e=>{item.contains(e.relatedTarget)||(menuContent.classList.remove("is-visible"),link.setAttribute("aria-expanded","false"),toggleMegamenuOpen2())}),item.addEventListener("mouseleave",e=>{const related=e.relatedTarget;related&&(menuContent?.contains(related)||item.contains(related)||megaMenu.contains(related))||toggleMegamenuOpen2()}),menuContent&&menuContent.addEventListener("mouseleave",e=>{const related=e.relatedTarget;related&&(menuContent.contains(related)||item.contains(related)||megaMenu.contains(related))||(closeAllDropdowns2(),toggleMegamenuOpen2())})}),megaMenu.addEventListener("mouseleave",()=>{closeAllDropdowns2(),resetAllAriaExpanded2(),toggleMegamenuOpen2()})}class BackToTop extends HTMLElement{constructor(){super(),this.vertical_offset_for_trigger=window.innerHeight*.5,this.addEventListener("click",this.scrollToTop.bind(this))}scrollToTop(){window.scroll({top:0,behavior:"smooth"})}connectedCallback(){_OnScroll(()=>this.handleScroll())}handleScroll(){window.pageYOffset>this.vertical_offset_for_trigger?this.classList.remove("hide"):this.classList.add("hide")}}customElements.define("back-to-top",BackToTop);const submenuButtons=document.querySelectorAll(".drawer__submenu-btn");submenuButtons.forEach(button=>{button.addEventListener("click",function(){const parentDiv=button.parentElement,isActive=parentDiv.classList.contains("is-active"),submenuSecond=parentDiv.querySelector(".drawer__submenu-second");if(submenuSecond&&(submenuSecond.style.height=isActive?"0px":"auto"),document.querySelectorAll(".drawer__submenu-first-item").forEach(item=>{item.classList.remove("is-active");const submenu=item.querySelector(".drawer__submenu-second");submenu&&(submenu.style.height="0px")}),!isActive){parentDiv.classList.add("is-active");const submenuSec=parentDiv.querySelector(".drawer__submenu-second");submenuSec&&(submenuSec.style.height="auto")}})});class CountdownTimer extends HTMLElement{constructor(){super();const timezone=this.dataset.timezone,date=this.dataset.date.split("-"),day=parseInt(date[0]),month=parseInt(date[1]),year=parseInt(date[2]);let time=this.dataset.time,tarhour,tarmin;time!=null&&(time=time.split(":"),tarhour=parseInt(time[0]),tarmin=parseInt(time[1]));let date_string=month+"/"+day+"/"+year+" "+tarhour+":"+tarmin+" GMT"+timezone;this.countDownDate=new Date(year,month-1,day,tarhour,tarmin,0,0).getTime(),this.countDownDate=new Date(date_string).getTime()}convertDateForIos(date){var arr=date.split(/[- :]/);return date=new Date(arr[0],arr[1]-1,arr[2],arr[3],arr[4],arr[5]),date}connectedCallback(){let _this=this;const updateTime=function(){const now=new Date().getTime(),distance=_this.countDownDate-now,days=Math.floor(distance/(1e3*60*60*24)),hours=Math.floor(distance%(1e3*60*60*24)/(1e3*60*60)),minutes=Math.floor(distance%(1e3*60*60)/(1e3*60)),seconds=Math.floor(distance%(1e3*60)/1e3);let countdownTimerColumns=_this.querySelector(".countdown-timer__columns"),countdownTimerMessage=_this.querySelector(".countdown-timer__message"),daysBlock=_this.querySelector(".days .countdown-timer__column-number"),hoursBlock=_this.querySelector(".hours .countdown-timer__column-number"),minutesBlock=_this.querySelector(".minutes .countdown-timer__column-number"),secondsBlock=_this.querySelector(".seconds .countdown-timer__column-number");distance<0?(_this.dataset.endMessage==="true"?(countdownTimerColumns&&countdownTimerColumns.classList.add("hidden"),countdownTimerMessage&&countdownTimerMessage.classList.remove("hidden")):(daysBlock&&(daysBlock.innerHTML=0),hoursBlock&&(hoursBlock.innerHTML=0),minutesBlock&&(minutesBlock.innerHTML=0),secondsBlock&&(secondsBlock.innerHTML=0)),_this.classList.add("loading-effect"),_this.setAttribute("data-is-ended","true")):(requestAnimationFrame(updateTime),daysBlock&&(daysBlock.innerHTML=CountdownTimer.addZero(days)),hoursBlock&&(hoursBlock.innerHTML=CountdownTimer.addZero(hours)),minutesBlock&&(minutesBlock.innerHTML=CountdownTimer.addZero(minutes)),secondsBlock&&(secondsBlock.innerHTML=CountdownTimer.addZero(seconds)),days===0&&daysBlock&&daysBlock.parentElement.parentElement.remove(),_this.classList.remove("loading-effect"))};requestAnimationFrame(updateTime)}static addZero(x){return x<10&&x>=0?"0"+x:x}}customElements.define("countdown-timer",CountdownTimer);async function updateFreeShipping(){const conversionRate=Shopify.currency.rate,{cart_free_shipping_text:freeShippingTextDefault,cart_free_shipping_text_success:freeShippingTextSuccessDefault,cart_free_shipping_threshold:freeShippingThreshold,money_with_currency_format:moneyFormat}=window.theme.settings,freeShippingElements=document.querySelectorAll("shipping-bar");try{const response=await fetch("/cart.js"),{total_price,item_count}=await response.json(),visibility=item_count==0?"hidden":"visible";
1freeShippingElements.forEach(el=>el.style.visibility=visibility);const newShippingThreshold=Math.round(freeShippingThreshold*conversionRate),newRemainingAmount=newShippingThreshold-total_price;freeShippingElements.forEach(freeShipping=>{const freeShippingTextElement=freeShipping.querySelector(".progress-bar__text"),progressBarInner=freeShipping.querySelector("[data-progress-line]");if(total_price>=newShippingThreshold)freeShippingTextElement.innerHTML=freeShippingTextSuccessDefault,progressBarInner.style.width="100%";else{const moneyMatch=freeShippingTextDefault.match(/<span class="money">(.*)<\/span>/);if(moneyMatch){const newFreeShippingText=freeShippingTextDefault.replace(moneyMatch[1],`${formatPrice(moneyFormat,newRemainingAmount/100)}`);freeShippingTextElement.innerHTML=newFreeShippingText}progressBarInner.style.width=`calc(${total_price/newShippingThreshold*100}% + 2px)`}})}catch(error){window.__DEBUG__&&console.error("Error fetching cart data:",error)}}function formatPrice(moneyString,amount){amount=amount.toFixed(2);const money_format=/{{(.*?)}}/;let money_format_option="";moneyString.match(money_format)?money_format_option=moneyString.match(money_format)[1]:window.__DEBUG__&&console.error("No match found");let newValue="";switch(money_format_option){case"amount":newValue=moneyString.replace(money_format,amount);break;case"amount_with_comma_separator":newValue=moneyString.replace(money_format,amount.toString().replace(".",","));break;case"amount_no_decimals":newValue=moneyString.replace(money_format,Math.round(amount));break;case"amount_no_decimals_with_comma_separator":newValue=moneyString.replace(money_format,Intl.NumberFormat(Shopify.country).format(Math.round(amount)).toString().replace(".",","));break;default:newValue=moneyString.replace(money_format,amount);break}return newValue}class SwiperComponent extends HTMLElement{constructor(){super(),this.swiperOptions=JSON.parse(this.getAttribute("data-swiper-options"))||{},this.swiperInitialized=!1}connectedCallback(){Shopify.designMode?(window.addEventListener("shopify:section:load",()=>this.init()),window.addEventListener("shopify:section:select",()=>this.init()),setTimeout(()=>{this.swiperInitialized||this.init()},100)):window.addEventListener("load",()=>this.init())}init(){if(this.swiperInitialized)return;this.swiperInitialized=!0;const swiperOptions=this.swiperOptions,option={slideshowId:swiperOptions.swiperId||"",slideCount:swiperOptions.slideCount||1,slidesPerView:swiperOptions.slidesPerView||"auto",slidesPerViewDesktop:swiperOptions.slidesPerViewDesktop||swiperOptions.slidesPerView||4,slidesPerViewTablet:swiperOptions.slidesPerViewTablet||swiperOptions.slidesPerViewDesktop||swiperOptions.slidesPerView||3,spaceBetween:swiperOptions.spaceBetweenMobile||0,spaceBetweenDesktop:swiperOptions.spaceBetweenDesktop||swiperOptions.spaceBetween||0,spaceBetweenTablet:swiperOptions.spaceBetweenTablet||swiperOptions.spaceBetweenDesktop||swiperOptions.spaceBetweenMobile||0};if(this.swiperOptions={a11y:!1,allowTouchMove:option.slideCount>1,loop:swiperOptions.loop||!1,rewind:swiperOptions.rewind||!1,followFinger:swiperOptions.followFinger||!1,slidesPerView:option.slidesPerView,spaceBetween:option.spaceBetween,breakpoints:{750:{allowTouchMove:option.slideCount>option.slidesPerViewTablet,slidesPerView:option.slidesPerViewTablet,spaceBetween:option.spaceBetweenTablet},990:{allowTouchMove:option.slideCount>option.slidesPerViewDesktop,slidesPerView:option.slidesPerViewDesktop,spaceBetween:option.spaceBetweenDesktop}}},swiperOptions.navigation&&(this.swiperOptions.navigation={...swiperOptions.navigation}),swiperOptions.effect=="fade"&&(this.swiperOptions.effect="fade",this.swiperOptions.fadeEffect={crossFade:!0}),swiperOptions.pagination=="custom_bullet"?this.swiperOptions.pagination={el:swiperOptions.paginationElement,clickable:!0,renderBullet:function(i,className){return`
2          <button class="${className}">
3            <span></span>
4          </button>
5          `}}:this.swiperOptions.pagination={el:".swiper-pagination",clickable:!0},swiperOptions.autoplay&&(this.swiperOptions.autoplay={...swiperOptions.autoplay},swiperOptions.autoplayProgress)){const progressCircle=this.querySelector(`.autoplay-progress--${swiperOptions.swiperId} svg`),progressContent=this.querySelector(`.autoplay-progress--${swiperOptions.swiperId} span`);this.swiperOptions.on={autoplayTimeLeft(s,time,progress){progressCircle.style.setProperty("--progress",1-progress),progressContent.textContent=`${Math.ceil(time/1e3)}`}}}this.swiper=new Swiper(this,this.swiperOptions)}}customElements.define("swiper-component",SwiperComponent);const PUB_SUB_EVENTS={cartUpdate:"cart-update",quantityUpdate:"quantity-update",variantChange:"variant-change",cartError:"cart-error"};
6//# sourceMappingURL=/cdn/shop/t/134/assets/global.js.map?v=11346145
67350287344211787056745

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.