if(typeof html_tag==null){let html_tag2=document.documentElement}else html_tag=document.documentElement;if(typeof root_styles==null){let root_styles2=document.querySelector(":root")}else root_styles=document.querySelector(":root");if(typeof top_id==null){let top_id2=document.querySelector(".shopify-section-header")}else top_id=document.querySelector(".shopify-section-header");let nav_top_id=document.querySelector("#nav-top");if(typeof header_outer==null){let header_outer2=document.querySelector("#header-outer")}else header_outer=document.querySelector("#header-outer");if(header_outer){let header_id2=header_outer.querySelector("#header")}let header_id;if(header_outer&&(header_id=header_outer.querySelector("#header")?header_outer.querySelector("#header"):null),typeof header_inner==null){let header_inner2=document.querySelector("#header-inner")}else header_inner=document.querySelector("#header-inner");let logo_id=document.querySelector("#logo"),logo_img;logo_id&&(logo_img=logo_id.querySelector("img")?logo_id.querySelector("img"):null);let search_id=document.querySelector("#search"),nav_outer=document.querySelector("#nav-outer"),nav_bar_id=document.querySelector("#nav-bar"),nav_id=document.querySelector("#nav");if(typeof content_id==null){let content_id2=document.getElementById("content")}else content_id=document.getElementById("content");let html_width=html_tag.getBoundingClientRect().width,nav_main=nav_bar_id??nav_id;const viewportWidth=window.innerWidth,asyncOnce={once:!0},asyncPass={passive:!0,once:!0},getHtmlTheme=(themes=["xclusive","xtra"])=>{const theme=html_tag.dataset.theme?html_tag.dataset.theme.toLowerCase():null;return theme&&themes.includes(theme)?theme:null};function fp(localPath,key){return window.filepaths&&window.filepaths[key]||localPath}let global_dir;html_tag.getAttribute("dir")==="rtl"?global_dir=["rtl",!1]:global_dir=["ltr",!0];function isTouchDevice(){return window.matchMedia("(pointer: coarse)").matches}const isMobile=window.matchMedia("(pointer: coarse)").matches||"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0,acceleratedCheckoutMobile=window.matchMedia("(max-width: 560px)"),acceleratedCheckoutVerticalClass="additional-checkout-buttons--vertical";function updateAcceleratedCheckoutLayout(){const containers=document.querySelectorAll("[data-accelerated-checkout-cart]");for(const container of containers)container.classList.toggle(acceleratedCheckoutVerticalClass,acceleratedCheckoutMobile.matches)}window.updateAcceleratedCheckoutLayout=updateAcceleratedCheckoutLayout,updateAcceleratedCheckoutLayout(),typeof acceleratedCheckoutMobile.addEventListener=="function"?acceleratedCheckoutMobile.addEventListener("change",updateAcceleratedCheckoutLayout):acceleratedCheckoutMobile.addListener(updateAcceleratedCheckoutLayout),document.addEventListener("shopify:section:load",updateAcceleratedCheckoutLayout);var listCollectionSliderEvt=new CustomEvent("listCollectionSlider"),moduleFeaturedSliderEvt=new CustomEvent("moduleFeaturedSlider"),listProductSliderEvt=new CustomEvent("listProductSlider"),listUspSliderEvt=new CustomEvent("listUspSlider"),listStaticSliderEvt=new CustomEvent("listStaticSlider"),searchClassesEvt=new CustomEvent("searchClasses"),moduleTabsEvt=new CustomEvent("moduleTabs"),formZindexEvt=new CustomEvent("formZindex"),ratingsEvt=new CustomEvent("ratings"),inputPaddingEvt=new CustomEvent("inputPadding"),topEvt=new CustomEvent("top"),backgroundEvt=new CustomEvent("background"),mediaFlexibleEvt=new CustomEvent("mediaFlexbile");function isHasSelectorSupported(){try{return document.createElement("div").querySelector(":has(*)"),!0}catch{return!1}}function getSiblings(el){return Array.from(el.parentNode.children).filter(function(sibling){return sibling!==el})}function append_url(el,content,className,href,access){const link=createElementWithClass("a",className);link.href=href||"./",access===!0&&(link.tabIndex=-1,link.setAttribute("aria-hidden","true"),link.setAttribute("focusable","false")),link.innerHTML=content,el&&el.appendChild(link)}function new_css(id,href,media){if(document.getElementById(id))return;const link=document.createElement("link");media=media||"screen",link.setAttribute("id",id),link.setAttribute("rel","stylesheet"),link.setAttribute("href",href),link.setAttribute("media",media);const css=document.querySelectorAll("link[id]");css.length?css[css.length-1].after(link):document.head.appendChild(link)}function throttle(callback,delay){let timeoutId;return function(){timeoutId||(timeoutId=setTimeout(()=>{callback(),timeoutId=null},delay))}}function customDropHeight(){nav_main&&[".m6fr.wide-transparent",".m6fr.size-xl",".m6fr article.size-xl"].some(selector=>document.querySelector(selector))&&requestAnimationFrame(function(){if(header_outer&&header_inner){const headerHeight=header_outer.getBoundingClientRect().height+"px";root_styles.style.setProperty("--header_height_static",headerHeight)}if(nav_top_id){const nav_top_idHeight=nav_top_id.getBoundingClientRect().height+"px";root_styles.style.setProperty("--nav_top_h",nav_top_idHeight)}})}const mediaMax1000=window.matchMedia("(max-width: 1000px)"),mediaMin1000=window.matchMedia("(min-width: 1001px)");function runWhenIdle(fn){"requestIdleCallback"in window?requestIdleCallback(fn,{timeout:2e3}):setTimeout(fn,300)}let stickyOffsetCalculated=!1,stickyOffsetScheduled=!1,stickyListenersAdded=!1;const SO_req=[".m6pr",'[id^="section-"]',".f8ps",".f8sr",".m6cl",".m6ac"],requiredElementsExist=SO_req.some(sel=>document.querySelector(sel));function stickyOffset(){stickyOffsetScheduled||(stickyOffsetScheduled=!0,requestAnimationFrame(()=>{if(stickyOffsetScheduled=!1,stickyOffsetCalculated||!nav_main||!header_outer||!header_inner||!requiredElementsExist)return;const setStickyOffset=()=>{const h=header_outer.getBoundingClientRect().height;root_styles.style.setProperty("--sticky_offset",`${h}px`)},setNavMainOffset=()=>{const h=nav_main.getBoundingClientRect().height;root_styles.style.setProperty("--sticky_offset",`${h}px`)},updateSticky=()=>{mediaMax1000.matches?setStickyOffset():mediaMin1000.matches&&setNavMainOffset()};header_inner.classList.contains("sticky-nav")?(html_tag.classList.add("has-sticky-nav"),updateSticky(),stickyListenersAdded||(mediaMax1000.addEventListener("change",updateSticky),mediaMin1000.addEventListener("change",updateSticky),stickyListenersAdded=!0)):setStickyOffset(),stickyOffsetCalculated=!0}))}if(isMobile||window.addEventListener("mousemove",stickyOffset,asyncOnce),document.addEventListener("scroll",stickyOffset,asyncPass),window.addEventListener("resize",throttle(()=>{stickyOffsetCalculated=!1,stickyOffset()},500)),logo_img?logo_img.complete?customDropHeight():logo_img.addEventListener("load",customDropHeight):customDropHeight(),header_inner&&(header_inner.classList.contains("mobile-visible-search")&&html_tag.classList.add("has-mobile-visible-search"),header_inner.classList.contains("t1nn")&&html_tag.classList.add("t1nn")),content_id&&header_inner){const ffa=content_id.children[0];let ffc,ffd=!1,ffe=!1;ffa&&(ffc=ffa.children[0],ffa.classList.contains("shopify-section")&&header_inner.hasAttribute("data-transparent")&&(ffd=!0),ffc&&(ffc.classList.contains("m6bx")||ffc.classList.contains("m6fr"))&&ffc.classList.contains("wide")&&(ffe=!0,ffc.classList.add("im-tr")),document.querySelector('.shopify-section-header ~ [class*="shopify-section-announcement-bar"]')&&(ffd=!1),ffd&&ffe&&ffc&&ffc.classList.contains("wide-transparent")?(top_id.classList.add("transparent"),html_tag.classList.add("has-first-m6fr-wide"),ffc.classList.contains("m6bx")&&html_tag.classList.add("has-first-m6bx-wide")):header_inner.classList.remove("transparent"))}function create_slider(el,settings,minSlides){const imgOverlays=[];let bg=!1;const children=Array.from(el.children),childrenLength=children.length;for(let i=0;i1){if(el.tagName.toLowerCase()==="ul"){const ul=el;requestAnimationFrame(()=>{ul.setAttribute("role","none");for(let i=0;iparseFloat(minSlides)){let paginationClass=settings&&settings.pagination&&settings.pagination.el||".swiper-pagination";paginationClass=paginationClass.replace(/\./g," ").trim();const dots=document.createElement("span");dots.className=paginationClass;const prev=document.createElement("span");prev.classList.add("swiper-button-prev","swiper-button-nav");const next=document.createElement("span");next.classList.add("swiper-button-next","swiper-button-nav"),el.classList.add("s4wi"),requestAnimationFrame(()=>{prev.setAttribute("role","navigation"),next.setAttribute("role","navigation")});const slidesFragment=document.createDocumentFragment();for(let i=0;i{const paginationBullets=el.querySelectorAll(".swiper-pagination-bullet");for(let i=0;i{for(let i=0;i{sl_el.swiper&&sl_el.swiper.updateAutoHeight()},300)}function checkIfImageExists(url,callback){const img=new Image;img.onload=()=>callback(!0),img.onerror=()=>callback(!1),img.src=url}function assignIndex(elements){Array.from(elements).forEach((el,index)=>{el.style.zIndex=elements.length-index})}html_tag.classList.add("js"),window.addEventListener("top",function(evt){if(logo_id){const logo_text=logo_id.querySelectorAll("span");logo_id.parentElement.classList.contains("text-center-logo")&&!header_inner.classList.contains("hide-btn")&&search_id.classList.add("compact"),logo_text.length&&header_inner.classList.add("logo-text");const imgWithAlt=logo_id.querySelector("img[alt]");if(imgWithAlt){const pt=imgWithAlt.parentNode;checkIfImageExists(imgWithAlt.src,exists=>{exists||requestAnimationFrame(()=>{const span=document.createElement("span");span.innerHTML=imgWithAlt.alt,pt.appendChild(span),pt.classList.add("broken-img")})})}}let calcLogoOffsetScheduled=!1;function calcLogoOffset(){calcLogoOffsetScheduled||(calcLogoOffsetScheduled=!0,requestAnimationFrame(()=>{if(header_id&&logo_id&&header_inner.classList.contains("text-center-logo")){const header_width=header_id.getBoundingClientRect().width,offsetPercent=logo_id.offsetLeft/header_width*100+"%";root_styles.style.setProperty("--logo_offset",offsetPercent)}calcLogoOffsetScheduled=!1}))}nav_id?.classList.contains("no-wide")&&top_id.classList.add("has-no-wide"),nav_bar_id?.classList.contains("no-wide")&&top_id.classList.add("has-no-wide");var navs=document.querySelectorAll("#nav, #nav-bar");function checkInv(el,ratio){requestAnimationFrame(()=>{const el_rect=el.getBoundingClientRect();(global_dir[1]===!1?viewportWidth-el_rect.left-el.offsetWidth:el_rect.left)>viewportWidth*ratio?el.classList.add("inv"):el.classList.remove("inv")})}function countNavDist(el,em,nav){const dc=el.dataset.copy,show=nav.querySelector(`.show-all li[data-copy="${dc}"]`);let shouldHide=!1;el.classList.contains("temp-hidden")&&(el.classList.remove("temp-hidden"),show&&show.classList.remove("temp-hidden"));const elRect=el.getBoundingClientRect(),navRect=nav.getBoundingClientRect(),wdth=elRect.width,nwth=navRect.width,off=global_dir[1]===!1?nwth-el.offsetLeft-wdth-0:el.offsetLeft-0,tolr=el.parentElement.querySelectorAll(".temp-hidden:not(.show-all)").length>0?1.2:0,calc=off+wdth+wdth+em*tolr+10;nwth{nav.classList.contains(original)&&(nav.classList.remove(original),nav.classList.add(replacement))};if(!(el.clientWidth>nav.clientWidth+mdc))replaceTextClass("have-text-center","text-center"),replaceTextClass("have-text-justify","text-justify"),replaceTextClass("have-text-end","text-end");else{replaceTextClass("text-center","have-text-center"),replaceTextClass("text-justify","have-text-justify"),replaceTextClass("text-end","have-text-end"),em.length&&(en=em[0].getBoundingClientRect().width);const children=Array.from(el.children),handleResize=()=>{requestAnimationFrame(()=>{children.forEach(eo=>{countNavDist(eo,en,nav)})})};handleResize(),resizeAttached||(window.addEventListener("resize",throttle(handleResize,100)),resizeAttached=!0)}}calcNav(),mediaMin1000.addEventListener("change",calcNav)}if(navs.length&&(nav_outer&&top_id.classList.add("has-nav-outer"),Array.from(navs).forEach(function(nav_main2){nav_main2.closest("#header-inner")!==null?html_tag.classList.add("has-inside-nav"):html_tag.classList.remove("has-inside-nav");const nmu=nav_main2.querySelector("[data-type]"),nms=0;if(nmu!==null){Array.from(nmu.children).forEach(function(el,index){el.setAttribute("data-copy",nmu.children.length-index)});const nml=nmu.querySelector("li.show-all");if(nml){let logoLoad2=function(){calcLogoOffset(),countNavDistF(nmu,nml,nms,nav_main2),top_id.classList.add("ready"),header_id.classList.add("ready")};var logoLoad=logoLoad2;const all_submenu=createElementWithClass("ul","show-all-submenu");nml.appendChild(all_submenu);const nmt=Array.from(nml.closest("ul").children),submenu=nml.querySelector(".show-all-submenu");nmt.forEach(el=>{if(!el.classList.contains("show-all")){const clone_me=el.cloneNode(!0);submenu.appendChild(clone_me)}}),nav_outer?(calcLogoOffset(),setTimeout(function(){logo_img?logo_img.complete?logoLoad2():logo_img.addEventListener("load",logoLoad2):(countNavDistF(nmu,nml,nms,nav_main2),top_id.classList.add("ready"),header_id.classList.add("ready"))},250)):setTimeout(function(){countNavDistF(nmu,nml,nms,nav_main2),header_outer.classList.add("ready")},250),window.addEventListener("resize",throttle(()=>{calcLogoOffset(),header_outer.classList.remove("ready"),countNavDistF(nmu,nml,nms,nav_main2),header_outer.classList.add("ready")},250))}const nmv=nav_main2.getElementsByClassName("sub-static");if(nmv.length){let executeCheckInv2=function(){checkInvExecuted||Array.from(nmv).forEach(function(el){checkInv(el,.5)})};var executeCheckInv=executeCheckInv2;let checkInvExecuted=!1;window.addEventListener("mousemove",function(){checkInvExecuted||(executeCheckInv2(),checkInvExecuted=!0)}),window.addEventListener("resize",throttle(()=>{checkInvExecuted=!1,executeCheckInv2()},500))}}})),search_id&&header_inner&&(search_id.classList.contains("no-bg")&&!search_id.classList.contains("bd-b")&&top_id.classList.add("no-bd-m"),search_id.classList.contains("no-bg")&&top_id.classList.add("no-bd"),search_id.classList.contains("no-pd-t")&&top_id.classList.add("no-pd-t"),!search_id.classList.contains("compact")&&header_inner.classList.contains("hide-btn")&&header_inner.classList.contains("text-center-logo")&&(search_id.classList.add("not-compact"),search_id.classList.contains("not-compact")))){let updateSearch2=function(){mediaMax1000.matches?search_id.classList.add("compact"):mediaMin1000.matches&&search_id.classList.remove("compact")};var updateSearch=updateSearch2;updateSearch2(),mediaMax1000.addEventListener("change",updateSearch2),mediaMin1000.addEventListener("change",updateSearch2)}nav_main&&Array.from(nav_main.querySelectorAll('a[href="#"]')).forEach(el=>{const parent=el.parentElement;parent&&parent.classList.add("empty-url")});var a_accessible=document.getElementsByClassName("link-accessible");function accessibleLink(el){if(html_tag.classList.contains("t1ac")?(html_tag.classList.remove("t1ac"),Cookies.set("accessible","no")):(new_css("accessible-mode-css",window.filepaths.theme_accessible_css),html_tag.classList.add("t1ac"),Cookies.set("accessible","yes")),nav_id||nav_bar_id){var temp_hidden=nav_main.getElementsByClassName("temp-hidden");setTimeout(function(){Array.from(temp_hidden).forEach(function(el2){el2.classList.remove("temp-hidden")}),window.dispatchEvent(new Event("resize"))},100)}}a_accessible.length&&(Array.from(a_accessible).forEach(el=>{const parent=el.parentElement;parent&&!parent.classList.contains("has-link-accessible")&&parent.classList.add("has-link-accessible")}),html_tag.addEventListener("click",event=>{const link=event.target.closest("a.link-accessible");link&&(accessibleLink(link),event.preventDefault())}),html_tag.addEventListener("keyup",event=>{if(event.key===" "||event.key==="Enter"){const link=event.target.closest("a.link-accessible");link&&(accessibleLink(link),event.preventDefault())}})),Cookies.get("accessible")==="yes"?(new_css("accessible-mode-css",window.filepaths.theme_accessible_css),html_tag.classList.add("t1ac")):(html_tag.classList.remove("t1ac"),Cookies.remove("accessible")),search_id&&(search_id.classList.contains("compact-handle")?html_tag.classList.add("t1sh-mobile","search-compact-handle"):html_tag.classList.remove("t1sh-mobile","search-compact-handle"),search_id.classList.contains("compact-handle-mobile")?html_tag.classList.add("t1sh-mobile","search-compact-handle","search-compact-handle-mobile"):html_tag.classList.remove("search-compact-handle-mobile"),search_id.classList.contains("compact")?(search_id.classList.contains("compact-handle")?html_tag.classList.add("t1sh"):html_tag.classList.remove("t1sh"),html_tag.classList.add("t1sr")):html_tag.classList.remove("t1sr","t1sh"),search_id.classList.contains("text-center-sticky")?html_tag.classList.add("search-compact-is-centered"):html_tag.classList.remove("search-compact-is-centered"))}),window.dispatchEvent(topEvt);var breadcrumb_back=document.querySelectorAll(".breadcrumb-back");breadcrumb_back.length&&Array.from(breadcrumb_back).forEach(function(el){document.referrer.indexOf(window.location.host)!==-1?el.addEventListener("click",function(e){return history.go(-1),!1}):el.remove()});var select_tag=document.getElementsByTagName("select");window.addEventListener("formZindex",function(evt){Array.from(select_tag).forEach(el=>{const parentNode=el.parentNode;parentNode&&parentNode.classList.add("has-select");const closestParagraph=el.closest("p");closestParagraph&&closestParagraph.classList.add("has-select"),el.addEventListener("change",()=>{el.classList.contains("changed")||el.classList.add("changed")})});let handleFormChildrenCalculated=!1,handleFormChildrenScheduled=!1;function handleFormChildren(){handleFormChildrenScheduled||(handleFormChildrenScheduled=!0,requestAnimationFrame(()=>{if(!handleFormChildrenCalculated){const formChildren=document.querySelectorAll("form > *, fieldset > *, .no-zindex, .no-zindex > *, .has-select, .f8pr > *, .l4ca.compact.in-panel > *, .l4cl.box > li, .f8pr-bulk > *");formChildren.length&&assignIndex(formChildren),handleFormChildrenCalculated=!0}handleFormChildrenScheduled=!1}))}isMobile||window.addEventListener("mousemove",handleFormChildren,asyncOnce),document.addEventListener("keyup",handleFormChildren,asyncOnce),document.addEventListener("touchstart",handleFormChildren,asyncPass),document.addEventListener("scroll",handleFormChildren,asyncPass),window.addEventListener("resize",throttle(handleFormChildren,500))}),runWhenIdle(()=>window.dispatchEvent(formZindexEvt));const inputPaddingsEvt=new CustomEvent("inputPaddings");window.addEventListener("inputPaddings",function(event){const inputs=Array.from(document.querySelectorAll('[class*="input-"][class*="fix"]'));for(const el of inputs){const prefix=el.querySelector("span:first-child");if(!prefix)continue;const sibling=prefix.nextElementSibling;sibling&&sibling.style.setProperty("--pdi",prefix.offsetWidth+"px")}}),runWhenIdle(()=>window.dispatchEvent(inputPaddingsEvt)),window.check_limit_event=function(){var check_limit=document.querySelectorAll(".check[data-limit]");check_limit.length&&Array.from(check_limit).forEach(function(el){if(!el.classList.contains("check-limit-initialized")){el.classList.add("check-limit-initialized");var tag_limit="a",limit,trigger,nextAll=!1,lastDesc;if((el.tagName.toLowerCase()==="ul"||el.tagName.toLowerCase()==="ol")&&(tag_limit="li"),limit=createElementWithClass(tag_limit,"limit"),trigger=el.children[el.dataset.limit-1],trigger!==void 0){if(nextAll=[].filter.call(trigger.parentNode.children,function(htmlElement){return htmlElement.previousElementSibling===trigger?nextAll=!0:nextAll}),nextAll.forEach(function(em){em.classList.contains("hidden")||em.classList.add("hidden-check")}),limit.innerText="+"+Math.abs(el.querySelectorAll("li:not(.hidden, .tip-cont)").length-el.dataset.limit),tag_limit="li"){const a=document.createElement("a");for(a.href="./";limit.firstChild;)a.appendChild(limit.firstChild);limit.appendChild(a)}el.append(limit),lastDesc=el.querySelector("li.hidden"),lastDesc&&el.appendChild(lastDesc),Array.from(el.querySelectorAll("a.limit, .limit a")).forEach(function(em){em.addEventListener("click",function(e){el.classList.add("limit-clicked"),e.preventDefault()})})}}})},check_limit_event(),window.addEventListener("background",function(evt){document.querySelector("#background.done")&&document.querySelector("#background.done").remove();const background_id=document.getElementById("background");background_id&&!background_id.classList.contains("static")&&(background_id.parentNode.id==="content"||background_id.parentNode.classList.contains("shopify-section"))&&(document.getElementById("root").appendChild(background_id),background_id.classList.add("done"))}),window.dispatchEvent(backgroundEvt),window.addEventListener("moduleTabs",function(evt){if(typeof semanticTabs=="function"){const tabs_holder=document.querySelectorAll("#content, .m6pn");for(const container of tabs_holder){const module_tabs=container.getElementsByClassName("m6tb");for(const tab of module_tabs)tab.classList.contains("tabs-initialized")||(semanticTabs(tab),tab.classList.add("tabs-initialized"))}}}),runWhenIdle(()=>window.dispatchEvent(moduleTabsEvt)),window.addEventListener("moduleFeaturedSlider",function(event){const module_featured=document.querySelectorAll(".m6fr:not(.s4wi)");module_featured.length&&Array.from(module_featured).forEach(function(el){var pagination_type="bullets",autoplay_int=!1,total_sl=el.children.length,featuredSlider;if(!isHasSelectorSupported())for(const em of el.querySelectorAll("figure"))em.getElementsByTagName("picture").length>1&&em.classList.add("has-pics");el.classList.contains("slider-fraction")&&(pagination_type="fraction"),el.getAttribute("data-autoplay")&&(autoplay_int={delay:parseFloat(el.getAttribute("data-autoplay")),pauseOnMouseEnter:!0}),randomize(el);const randomId=el.getAttribute("data-random");featuredSlider=create_slider(el,{direction:"horizontal",loop:!0,autoHeight:!0,resizeObserver:!0,autoplay:autoplay_int,threshold:50,pagination:{el:".swiper-pagination-"+randomId,clickable:!0,type:pagination_type,renderBullet:function(index,className){return''+(index+1)+""},renderFraction:function(currentClass,totalClass){return' / '}},on:{afterInit:function(swiper){updateSwiper(swiper)},slideChangeTransitionStart:function(swiper){updateSwiper(swiper),Array.from(el.querySelectorAll(".swiper-slide > article.aside")).forEach(function(em){em.parentNode.classList.add("has-aside")});var active_content=swiper.el.querySelectorAll('.swiper-slide[data-swiper-slide-index="'+swiper.realIndex+'"] > article')[0];typeof active_content<"u"&&(console.log(active_content),el.setAttribute("data-active-content",active_content.getAttribute("class"))),swiper.realIndex>0?el.classList.add("changed"):el.classList.remove("changed"),swiper.realIndex+1===total_sl?el.classList.add("last-slide-active"):el.classList.remove("last-slide-active")},resize:function(swiper){typeof Shopify<"u"&&Shopify.designMode&&Array.from(featuredSlider.slides).forEach(function(){featuredSlider.slideNext(0)}),setTimeout(function(){featuredSlider.updateAutoHeight()},500)}}});function updateSwiper(swiper){Array.from(el.querySelectorAll(".swiper-slide > article.aside")).forEach(em=>{em.parentNode.classList.add("has-aside")});const active_content=swiper.el.querySelector(".swiper-slide-active > article");active_content&&el.setAttribute("data-active-content",active_content.getAttribute("class")||""),swiper.realIndex>0?el.classList.add("changed"):el.classList.remove("changed"),swiper.realIndex+1===total_sl?el.classList.add("last-slide-active"):el.classList.remove("last-slide-active")}featuredSlider!==null&&(el.getAttribute("data-autoplay")&&!el.classList.contains("no-controls")&&(append_url(el,"Play/Pause","play-pause"),el.querySelector(".play-pause").addEventListener("click",function(e){el.classList.contains("paused")?(el.classList.remove("paused"),featuredSlider.autoplay.start()):(el.classList.add("paused"),featuredSlider.autoplay.stop()),e.preventDefault()}),el.addEventListener("mouseleave",function(){el.classList.contains("paused")||featuredSlider.autoplay.start()})),window.addEventListener("resize",throttle(function(){html_tag.classList.add("resized")},200),!0),setTimeout(function(){featuredSlider.updateAutoHeight()},500)),el.classList.contains("s4wi")&&setTimeout(function(){typeof updateSlidersEvt<"u"&&window.dispatchEvent(updateSlidersEvt)},300)})}),window.dispatchEvent(moduleFeaturedSliderEvt);const announcementSliderEvt=new CustomEvent("announcementSlider");window.addEventListener("announcementSlider",function(event){let top_bar=document.querySelector(".shopify-section-announcement-bar:not(.s4wi)");if(!top_bar||Array.from(top_bar.children).filter(el=>!el.classList.contains("close")&&!el.classList.contains("overlay-close")).length<=1||top_bar.classList.contains("m6kn")||top_bar.closest(".m6kn"))return;for(const el of top_bar.querySelectorAll(".close, .overlay-close"))el.remove();const dataAutoplay=parseFloat(top_bar.getAttribute("data-autoplay")),autoplay_top_int=isNaN(dataAutoplay)?!1:{delay:dataAutoplay,pauseOnMouseEnter:!0,disableOnInteraction:!1};top_bar.querySelector(".no-nav")&&top_bar.classList.add("no-nav"),create_slider(top_bar,{direction:"horizontal",loop:!0,autoHeight:!0,autoplay:autoplay_top_int,pagination:!1})}),window.dispatchEvent(announcementSliderEvt);const listTestimonialsSliderEvt=new CustomEvent("listTestimonialsSlider");window.addEventListener("listTestimonialsSlider",function(event){const list_testimonials=document.querySelectorAll(".l4ts:not(.s4wi)");list_testimonials.length&&list_testimonials.forEach(el=>{let ln=[1,2,3];(el.classList.contains("wide")||el.classList.contains("width-100"))&&(ln=[1,1,1]),el.classList.contains("width-50")&&(ln=[1,2,2]);const pagination_type=el.classList.contains("slider-fraction")?"fraction":"bullets";let autoplay_int=!1;el.getAttribute("data-autoplay")&&(autoplay_int={delay:parseFloat(el.getAttribute("data-autoplay")),pauseOnMouseEnter:!0,disableOnInteraction:!1}),randomize(el);const total_sl=el.children.length,options={direction:"horizontal",loop:!0,autoHeight:!0,spaceBetween:16,slidesPerView:ln,slidesPerGroup:ln,autoplay:autoplay_int,loopAddBlankSlides:!1,pagination:{el:".swiper-pagination-"+el.getAttribute("data-random"),clickable:!0,type:pagination_type,renderFraction:(currentClass,totalClass)=>` / `},on:{slideChangeTransitionStart:function(swiper){swiper.el.parentNode.classList.toggle("changed",swiper.realIndex>0),swiper.el.parentNode.classList.toggle("last-slide-active",swiper.realIndex+1===total_sl)}},breakpoints:{0:{slidesPerView:ln[0],slidesPerGroup:ln[0]},760:{slidesPerView:ln[1],slidesPerGroup:ln[1]},1e3:{slidesPerView:ln[2],slidesPerGroup:ln[2]}}};if(el.classList.contains("slider")&&el.children.length>ln[2]&&create_slider(el,options),el.classList.contains("slider-mobile")&&el.children.length>ln[0]){const nextSibling=el.nextElementSibling;nextSibling&&nextSibling.matches(".l4ts.mobile-only")&&(nextSibling.hasAttribute("id")&&nextSibling.removeAttribute("id"),create_slider(el.nextElementSibling,options))}})}),window.dispatchEvent(listTestimonialsSliderEvt),window.addEventListener("listStaticSlider",function(event){const list_static=document.querySelectorAll(".l4st:not(.static, .s4wi)");list_static.length&&Array.from(list_static).forEach(function(el){const total_sl=el.children.length,pagination_type=el.classList.contains("slider-fraction")?"fraction":"bullets";let autoplay_int=!1;const autoAttr=el.getAttribute("data-autoplay");autoAttr&&(autoplay_int={delay:parseFloat(autoAttr),pauseOnMouseEnter:!0,disableOnInteraction:!1}),randomize(el);const randomId=el.getAttribute("data-random");clone_with_class(el,"mobile-only","mobile-hide");const nextEl=el.nextElementSibling;nextEl&&nextEl.classList.contains("mobile-only")&&(nextEl.hasAttribute("id")&&nextEl.removeAttribute("id"),create_slider(nextEl,{direction:"horizontal",loop:!0,autoHeight:!0,spaceBetween:16,autoplay:autoplay_int,pagination:{el:`.swiper-pagination-${randomId}`,clickable:!0,type:pagination_type,renderFraction:function(currentClass,totalClass){return' / '}},on:{slideChangeTransitionStart:function(swiper){const parent=swiper.el.parentNode;parent.classList.toggle("changed",swiper.realIndex>0),parent.classList.toggle("last-slide-active",swiper.realIndex+1===total_sl)}}}))})}),window.dispatchEvent(listStaticSliderEvt),window.addEventListener("listUspSlider",function(event){const list_usp=document.querySelectorAll(".l4us:not(.s4wi)");list_usp.length&&Array.from(list_usp).forEach(function(el){if(!el.classList.contains("static")){let autoplay_int=!1,autowidth_int=1,space_between;el.classList.contains("no-arrows")?space_between=16:space_between=44,el.hasAttribute("data-autoplay")&&(autoplay_int={delay:parseFloat(el.getAttribute("data-autoplay")),pauseOnMouseEnter:!0,disableOnInteraction:!1}),el.querySelectorAll("li").length===1&&el.classList.remove("slider","slider-single"),el.closest("#nav-top")!==null&&el.classList.contains("slider")&&(el.classList.add("slider-in-header"),el.classList.contains("slider-single")||(autowidth_int="auto"));const options={direction:"horizontal",loop:!0,pagination:!1,autoplay:autoplay_int,slidesPerView:autowidth_int,autoHeight:!0,spaceBetween:space_between,breakpoints:{0:{slidesPerView:1},760:{slidesPerView:autowidth_int},1e3:{spaceBetween:space_between},1100:{spaceBetween:20}}};if(!el.classList.contains("mobile-static")){if(el.classList.contains("slider"))create_slider(el,options);else if(el.childNodes.length>1){clone_with_class(el,"l4us-mobile","mobile-hide");const nextEl=el.nextElementSibling;nextEl.classList.contains("l4us-mobile")&&(nextEl.classList.remove("slider","slider-in-header"),nextEl.hasAttribute("id")&&nextEl.removeAttribute("id"),create_slider(nextEl,options))}}}})}),window.dispatchEvent(listUspSliderEvt),document.querySelectorAll(".popup-a .l4cl, .popup-a .l4ft").forEach(el=>{el.classList.contains("in-popup")||el.classList.add("in-popup")}),list_collection_slider=document.querySelectorAll(".l4cl.slider:not(.in-popup, .s4wi), .l4ft.slider:not(.in-popup, .s4wi)");const list_collection=document.getElementsByClassName("l4cl");list_collection.length&&(requestAnimationFrame(()=>{for(const el of list_collection)el.clientHeight{if(!isHasSelectorSupported()){el.querySelectorAll(".small a").forEach(a=>a.classList.add("has-link")),Array.from(el.querySelectorAll("div.box")).forEach(em=>{const closestLi=em.closest("li");closestLi&&closestLi.classList.add("has-div-box")});const l4mlElements=el.querySelectorAll('[class*="l4ml"]');Array.from(l4mlElements).forEach(em=>{const closestLi=em.closest("li");closestLi&&closestLi.classList.add("has-l4ml")});const pictureElements=el.querySelectorAll("picture ~ picture");Array.from(pictureElements).forEach(em=>{const closestLi=em.closest("li");closestLi&&closestLi.classList.add("has-picture-picture")})}})),window.addEventListener("listCollectionSlider",()=>{const list_collection_slider2=document.querySelectorAll(".l4cl.slider:not(.s4wi), .l4ft.slider:not(.s4wi)");if(list_collection_slider2.length)for(const el of list_collection_slider2){if(el.closest(".popup-a")){el.classList.add("in-popup");continue}const closestTabs=el.closest(".m6tb"),hasFigure=!!el.querySelector("figure:not(:last-child)"),classes=el.classList,computed=getComputedStyle(el),dist_a_value=computed.getPropertyValue("--dist_a").trim(),rowValue=computed.getPropertyValue("--row").trim(),row=rowValue?parseFloat(rowValue):NaN;let spacing=16;if(dist_a_value&&dist_a_value!=="px"){const dist_a=parseFloat(dist_a_value);isNaN(dist_a)||(spacing=dist_a)}let loopMe=classes.contains("slider-loop"),autoHeight=!(classes.contains("static-height")&&!classes.contains("align-stretch")),allowTouch=classes.contains("static-height")||classes.contains("align-center")||classes.contains("align-stretch"),allowTouch_760=!classes.contains("mobile-compact"),autoPlayMe=!1,autoPlaySpeed=300;hasFigure||el.classList.add("no-img"),classes.contains("autoplay")&&(autoPlayMe={delay:0},loopMe=!0,autoPlaySpeed=el.children.length*1e3);let items=[5,5,3];if(classes.contains("text-justify")||classes.contains("auto-width"))items=["auto","auto","auto"],autoHeight=!1;else{const rowItemsMap={12:[12,6,4],11:[11,6,4],10:[10,6,4],9:[9,6,4],8:[8,6,4],7:[7,6,4],6:[6,5,3],5:[5,5,3],4:[4,4,3],3:[3,3,3],2:[2,2,2]};if(!Number.isNaN(row)&&rowItemsMap[row])items=rowItemsMap[row];else{const itemsMap={"in-col":[4,4,3],w8:[12,6,4],w9:[11,6,4],w10:[10,6,4],w11:[9,6,4],w12:[8,6,4],w14:[7,6,4],w16:[6,5,3],w20:[5,5,3],w25:[4,4,3],w33:[3,3,3],w50:[2,2,2]};for(const cls in itemsMap)if(classes.contains(cls)){items=itemsMap[cls];break}}}const handleInit=swiper=>{if(!hasFigure)return;const fig=el.querySelector(".swiper-slide-active figure");fig&&fig.offsetHeight>0?el.style.setProperty("--fih",fig.offsetHeight+"px"):el.style.removeProperty("--fih")},throttledHandleInit=throttle(handleInit,100);randomize(el);const randomId=el.getAttribute("data-random");if(create_slider(el,{direction:"horizontal",loop:loopMe,autoHeight,slidesPerView:items[0],focusableElements:"input",spaceBetween:spacing,touchStartPreventDefault:!1,lazy:{loadPrevNext:!0},pagination:{el:`.swiper-pagination-${randomId}`,clickable:!0},autoplay:autoPlayMe,speed:autoPlaySpeed,breakpoints:{0:{simulateTouch:!1,allowTouchMove:!1},760:{slidesPerView:items[2],simulateTouch:allowTouch_760,allowTouchMove:allowTouch_760},1e3:{slidesPerView:items[1],simulateTouch:allowTouch,allowTouchMove:allowTouch},1100:{slidesPerView:items[0],simulateTouch:allowTouch,allowTouchMove:allowTouch}},on:{afterInit(swiper){closestTabs&&setTimeout(handleInit,100),typeof lazyVideoEvt<"u"&&window.dispatchEvent(lazyVideoEvt),handleInit()},resize:throttledHandleInit,transitionStart(swiper){swiper.el.classList.add("transition")},transitionEnd(swiper){swiper.el.classList.remove("transition"),handleInit()}}}),el.querySelectorAll(".has-text, .cols").forEach(em=>{const p=em.parentElement;em.classList.contains("has-text")&&p.classList.add("has-text"),em.classList.contains("cols")&&p.classList.add("has-cols")}),hasFigure&&closestTabs&&closestTabs.children.length&&closestTabs.querySelectorAll("a").forEach(link=>link.addEventListener("click",()=>setTimeout(handleInit,100))),hasFigure){const subLi=el.closest("li.sub");subLi&&subLi.addEventListener("mouseenter",()=>setTimeout(handleInit,100))}el.querySelectorAll(".swiper-wrapper[id], .swiper-button-nav[aria-controls]").forEach(node=>{node.removeAttribute("id"),node.removeAttribute("aria-controls")})}}),window.dispatchEvent(listCollectionSliderEvt),window.addEventListener("listProductSlider",function(event){const list_product_slider=document.querySelectorAll(".l4pr:not(.s4wi, .l4pr-initialized)");list_product_slider.length&&Array.from(list_product_slider).forEach(function(el){el.classList.add("l4pr-initialized"),html_tag.classList.add("t1pr");var hasStickyNote=!1,stickyNote=[];if(el.classList.contains("static")){var clone_me=el.cloneNode(!0);clone_me.classList.remove("static"),clone_me.classList.add("desktop-hide"),el.classList.add("desktop-only"),el.after(clone_me),el=el.nextElementSibling}var mainSliderElement=el,children=mainSliderElement.children,qttChildren=children.length,total_sl=el.children.length,mainSlider,slides,initial_slide=0;const stickyNotes=mainSliderElement.querySelectorAll("li.sticky");stickyNotes.length&&(hasStickyNote=!0,stickyNote=Array.from(stickyNotes),stickyNotes.forEach(child=>child.remove()));const firstModel=mainSliderElement.querySelectorAll("a > .model-3d:first-child model-viewer[poster]");if(Array.from(firstModel).forEach(em=>{const staticPosterWrapper=document.createElement("picture"),posterSrc=em.getAttribute("poster"),staticPoster=document.createElement("img");staticPoster.setAttribute("src",posterSrc),staticPoster.setAttribute("data-src",posterSrc),staticPosterWrapper.prepend(staticPoster),staticPosterWrapper.classList.add("just-poster");const altAttribute=em.getAttribute("alt");altAttribute&&staticPoster.setAttribute("alt",altAttribute);const closestLink=em.closest("a");closestLink&&closestLink.prepend(staticPosterWrapper)}),!el.classList.contains("thumbs-static")&&!el.classList.contains("thumbs-slider")){const fifthChild=children[4];fifthChild&&(fifthChild.classList.add("more"),append_url(fifthChild,"+"+(qttChildren-5),"more"))}const featuredMediaPosition=el.getAttribute("data-featured_media_position");featuredMediaPosition&&(initial_slide=parseFloat(featuredMediaPosition)-1),slides=mainSliderElement.cloneNode(!0).children,Array.from(el.getElementsByClassName("m6bx")).forEach(em=>{em.classList.add("m6bx-inside"),el.firstElementChild.appendChild(em),em.parentElement.removeChild(em)}),randomize(el);const randomId=el.getAttribute("data-random");function setNavigationHeight(swiper){const h=`${swiper.height}px`;swiper.navigation.prevEl.style.height=h,swiper.navigation.nextEl.style.height=h}if(mainSlider=create_slider(mainSliderElement,{direction:"horizontal",loop:!1,autoHeight:!0,preloadImages:!1,initialSlide:initial_slide,pagination:{el:".swiper-pagination-"+randomId,clickable:!0,renderBullet:function(index,className){var finalSpan=document.createElement("a"),img_type,add_class,img,divFlex,moreLink,icon,span,a_thumb,a_thumb_img,a_thumb_pic,a_thumb_pic_class;if(finalSpan.classList.add(className),slides[index].hasAttribute("class")&&(add_class=slides[index].getAttribute("class"),["portrait","landscape","square","stripe"].forEach(orientation=>{add_class.includes(orientation)&&finalSpan.classList.add(`orientation-${orientation}`)}),add_class.includes("auto")&&(finalSpan.classList.add("auto"),finalSpan.classList.remove("landscape","portrait"))),slides[index].querySelector("picture")?img_type="picture":img_type="img",img=slides[index].querySelector(img_type),img!==null){const a_thumb2=img.closest("a[data-gallery-thumb]"),a_thumb_img2=document.createElement("img"),a_thumb_pic2=document.createElement("picture");if(a_thumb2){const thumbSrc=a_thumb2.getAttribute("data-gallery-thumb");a_thumb_img2.setAttribute("src",thumbSrc),a_thumb_img2.setAttribute("loading","lazy");const a_thumb_pic_class2=a_thumb2.querySelector("picture[class]");a_thumb_pic_class2&&a_thumb_pic_class2.getAttribute("class").split(" ").forEach(className2=>{className2&&a_thumb_pic2.classList.add(className2)}),a_thumb_img2.setAttribute("alt","Thumbnail"),a_thumb_pic2.appendChild(a_thumb_img2),finalSpan.appendChild(a_thumb_pic2)}else img&&finalSpan.appendChild(img)}return divFlex=document.createElement("span"),moreLink=slides[index].querySelector("a.more"),moreLink&&qttChildren-1-index>0&&(span=document.createElement("span"),span.innerText="+"+(qttChildren-1-index).toString(),divFlex.appendChild(span),finalSpan.classList.add("has-more"),slides[index].querySelectorAll("a[data-fancybox]")&&Array.from(slides[index].querySelectorAll("a[data-fancybox]")).forEach(function(em){finalSpan.setAttribute("href",em.getAttribute("href"))})),icon=slides[index].querySelector("i[class^=icon-]"),icon&&divFlex.appendChild(icon),finalSpan.appendChild(divFlex),finalSpan.outerHTML}},navigation:{nextEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-next',prevEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-prev'},on:{activeIndexChange:function(){var activeIndex=this.activeIndex;Array.from(this.el.parentNode.getElementsByClassName("custom-progressbar-inner")).forEach(function(el2){el2.style.width=100*(activeIndex+1)/qttChildren+"%"})},afterInit:function(swiper){const progress_bar=createElementWithClass("div","custom-progressbar"),progress_bar_inner=document.createElement("div");progress_bar_inner.className="custom-progressbar-inner",progress_bar_inner.style.width=100/qttChildren+"%",progress_bar.appendChild(progress_bar_inner),swiper.el.appendChild(progress_bar),Array.from(swiper.el.querySelectorAll(".s1lb, .label")).forEach(em=>{swiper.el.parentNode.appendChild(em)}),Array.from(swiper.el.getElementsByClassName("m6bx-inside")).forEach(em=>{swiper.el.appendChild(em)});let custom_fraction;if(el.classList.contains("no-thumbs-mobile")||el.classList.contains("slider-fraction")){custom_fraction=swiper.el.parentNode.querySelector(".swiper-custom-fraction");const current=document.createElement("span");current.className="swiper-pagination-current",current.textContent="1";const slash=document.createElement("span");slash.className="slash",slash.textContent="/";const total=document.createElement("span");total.className="total-el",total.textContent=swiper.slides.length,custom_fraction.append(current,document.createTextNode(" "),slash,document.createTextNode(" "),total)}setTimeout(function(){setNavigationHeight(swiper)},300)},slideChangeTransitionEnd:function(swiper){setTimeout(function(){setNavigationHeight(swiper)},300)},slideChangeTransitionStart:function(swiper){setTimeout(function(){if(el.classList.contains("no-thumbs-mobile")||el.classList.contains("slider-fraction")){var custom_fraction=swiper.el.parentNode.getElementsByClassName("swiper-pagination-current")[0];custom_fraction.innerHTML=swiper.realIndex+1,swiper.realIndex>0?swiper.el.classList.add("changed"):swiper.el.classList.remove("changed")}swiper.realIndex+1===total_sl?swiper.el.classList.add("last-slide-active"):swiper.el.classList.remove("last-slide-active")},300)},resize:function(swiper){setNavigationHeight(swiper)}}}),(hasStickyNote=!0)&&stickyNote.forEach(function(imgOverlay){const swiperOuter=el.querySelector(".swiper-outer");swiperOuter!==null?swiperOuter.appendChild(imgOverlay):el.appendChild(imgOverlay)}),el.classList.contains("thumbs-slider")){const bulletsSelector=`${'[data-random="'+randomId+'"]'} .swiper-pagination-bullets`,customBullets=el.querySelector(bulletsSelector);clone_with_class(customBullets,"cloned","hidden");const clonedBullets=el.querySelector(`${bulletsSelector}.cloned`);Array.from(clonedBullets.children).forEach((bullet,index)=>{bullet.setAttribute("data-l4pr-index",index)}),create_slider(clonedBullets,{direction:"horizontal",loop:!1,autoHeight:!1,slidesPerView:"auto",navigation:{nextEl:`${bulletsSelector} .swiper-button-next`,prevEl:`${bulletsSelector} .swiper-button-prev`}})}})}),window.dispatchEvent(listProductSliderEvt),window.addEventListener("ratings",function(evt){const ratingElements=document.querySelectorAll("[data-val][data-of]:not(.rating-initialized)");if(ratingElements.length)for(const el of ratingElements){el.classList.add("rating-initialized");const fragment=document.createDocumentFragment(),reviewsElem=createElementWithClass("span","rating-label"),reviews=el.innerHTML,rating=el.dataset.val,total=el.dataset.of;!(el.classList.contains("s1ld")||el.classList.contains("s1br"))?(fragment.appendChild(createRatingsHtmlElement(rating,total)),reviewsElem.innerHTML=reviews):reviewsElem.innerHTML=``,fragment.appendChild(reviewsElem),el.textContent="",el.appendChild(fragment)}}),window.dispatchEvent(ratingsEvt);const alignMiddleElements=document.getElementsByClassName("align-middle"),alignCenterElements=document.getElementsByClassName("align-center");function checkAndAddClass(elements,className){elements.length&&Array.from(elements).forEach(el=>{const parent=el.parentNode,grandparent=parent.parentNode;(el.previousElementSibling===null&&el.nextElementSibling===null&&parent.id==="content"||el.previousElementSibling===null&&el.nextElementSibling===null&&parent.previousElementSibling===null&&parent.nextElementSibling===null&&grandparent.id==="content")&&document.getElementById("content").classList.add(className)})}if(checkAndAddClass(alignMiddleElements,"align-center"),checkAndAddClass(alignCenterElements,"align-center-static"),!isHasSelectorSupported()){const list_featured_content_box=document.querySelectorAll(".l4ft .content.box");list_featured_content_box.length&&Array.from(list_featured_content_box).forEach(el=>{const closestLi=el.closest("li");closestLi&&closestLi.classList.add("has-content-box")})}isMobile?html_tag.classList.add("mobile"):html_tag.classList.add("no-mobile"),window.addEventListener("mediaFlexbile",function(evt){const media_flexible=document.getElementsByClassName("media-flexible");media_flexible.length&&Array.from(media_flexible).forEach(function(el){if(!el.parentElement.classList.contains("flexible-stack")&&(el.classList.contains("slider-mobile")||el.parentElement.classList.contains("mobile-static"))&&!el.classList.contains("media-flexible-initialized")){var cloned_mobile,link,emc,pt=el.parentElement,tag=document.createElement("div"),fl=pt.querySelectorAll(".media-flexible:not(.mobile-hide-media-flexible) > *:not(.mobile-hide-media-flexible)");if(!el.parentElement.getElementsByClassName("media-flexible-mobile").length){tag.classList.add("media-flexible-mobile"),el.after(tag),el.classList.add("mobile-hide");const cloned_mobile2=pt.querySelector(".media-flexible-mobile");if(Array.from(fl).forEach(function(em){emc=em.cloneNode(!0),cloned_mobile2.appendChild(emc)}),cloned_mobile2.classList.contains("media-flexible-mobile")){cloned_mobile2.classList.remove("media-flexible","mobile-hide"),cloned_mobile2.hasAttribute("id")&&cloned_mobile2.removeAttribute("id"),Array.from(cloned_mobile2.children).forEach(function(el2){el2.classList.contains("mobile-hide")&&el2.remove()}),randomize(cloned_mobile2);const randomId=cloned_mobile2.getAttribute("data-random");cloned_mobile2.classList.contains("s4wi")||create_slider(cloned_mobile2,{direction:"horizontal",loop:!0,autoHeight:!0,pagination:{el:".swiper-pagination-"+randomId,clickable:!0,type:"bullets",renderBullet:function(index,className){return''+(index+1)+""}},on:{slideChangeTransitionStart:function(swiper){var active_content=swiper.el.querySelectorAll('.swiper-slide[data-swiper-slide-index="'+swiper.realIndex+'"] > *')[0];typeof active_content<"u"&&el.closest(".m6fr").setAttribute("data-active-content",active_content.getAttribute("data-color-palette"))}}})}}el.classList.add("media-flexible-initialized")}})}),window.dispatchEvent(mediaFlexibleEvt);const createColsEvt=new CustomEvent("createCols");window.addEventListener("createCols",function(){const servicePageElement=document.querySelector('[id$="page-service-info-blocks"]');if(!servicePageElement||servicePageElement.parentElement&&servicePageElement.parentElement.classList.contains("w64")&&servicePageElement.parentElement.parentElement&&servicePageElement.parentElement.parentElement.classList.contains("cols"))return;const parent=servicePageElement.parentElement;if(parent.classList.contains("cols")){const article=parent.querySelector("article.w64.t55");article&&article.replaceWith(...article.childNodes),parent.replaceWith(...parent.childNodes)}const wrapper=document.createElement("div");wrapper.classList.add("cols","section-width-boxed");const wrapperInner=document.createElement("article");wrapperInner.classList.add("w64","t55"),wrapper.appendChild(wrapperInner);const possibleSiblings=["shopify-section-page-service-menu","shopify-section-faq","shopify-section-contact-form","shopify-section-google-maps"];let anySiblingFound=!1;const finalizeWrapper=()=>{if(!anySiblingFound)return;const children=Array.from(wrapperInner.childNodes).reverse();for(const child of children)wrapperInner.appendChild(child);servicePageElement.parentNode.insertBefore(wrapper,servicePageElement),wrapper.appendChild(servicePageElement)},findSibling=()=>{const prevSibling=servicePageElement.previousElementSibling;if(!prevSibling){finalizeWrapper();return}let correctSiblingFound=!1;for(const cls of possibleSiblings)if(prevSibling.classList.contains(cls)){correctSiblingFound=!0,anySiblingFound=!0,prevSibling.classList.add("w64","t55"),wrapperInner.appendChild(prevSibling);break}if(correctSiblingFound){findSibling();return}finalizeWrapper()};findSibling()}),window.dispatchEvent(createColsEvt);/*!*/window.addEventListener("createCols",function(event){var servicePageElement=document.querySelector('[id$="page-service-info-blocks"]');if(servicePageElement!=null){if(servicePageElement.parentElement.classList.contains("cols")){var parent=servicePageElement.parentElement,article=servicePageElement.parentElement.querySelector("article.w64.t55");article&&article.replaceWith(...article.childNodes),parent.replaceWith(...parent.childNodes)}var anySiblingFound=!1,wrapper=document.createElement("div");wrapper.classList.add("cols");var wrapperInner=document.createElement("article");wrapperInner.classList.add("w64","t55"),wrapper.appendChild(wrapperInner);var possibleSiblings=["shopify-section-page-service-menu","shopify-section-faq","shopify-section-contact-form","shopify-section-google-maps"],findSibling=function(){var prevSibling=servicePageElement.previousSibling;if(prevSibling){for(var correctSiblingFound=!1,i=0;i

'+messageHeader+"

"+messageText+'

Close',list_alerts=document.querySelector(".l4al:not(.inline):not(.l4al-trustbadge)");list_alerts===null&&(list_alerts=document.createElement("ul"),list_alerts.classList.add("l4al","fixed"),document.getElementById("root").appendChild(list_alerts)),(messageOrigin&&list_alerts.getElementsByClassName(messageOrigin).length==0||!messageOrigin)&&(list_alerts.innerHTML+=message),typeof alertsEvt<"u"&&window.dispatchEvent(alertsEvt)},!1);function scrollToTargetAdjusted(el){"scrollRestoration"in history&&(history.scrollRestoration="manual"),el.scrollIntoView({block:"center"})}let loadMoreItemClicked=localStorage.getItem("loadMoreItemClicked");if(loadMoreItemClicked!=null){let el=document.querySelector('#collection > li > figure > a[href="'+loadMoreItemClicked+'"], .m6cl .results > div a[href="'+loadMoreItemClicked+'"], .m6cl .results > .l4ne a[href="'+loadMoreItemClicked+'"]'),url=window.location.href;el&&!url.includes(loadMoreItemClicked)?(scrollToTargetAdjusted(el),localStorage.removeItem("loadMoreItemClicked")):url.includes(loadMoreItemClicked)||localStorage.removeItem("loadMoreItemClicked")}function loadLazyVideo(video){const sources=video.querySelectorAll("source[data-src]");for(let i=0;i0&&rect.right>0&&rect.topconsole.warn(`Script failed: ${u}`),document.body.appendChild(s),html_tag.classList.add(i)}const outline_js=fp("js/plugin-outline.js","plugin_outline_js"),css_async=fp("styles/async.css","async_css"),css_menu=fp("styles/async-menu.css","async_menu_css"),css_hovers=fp("styles/async-hovers.css","async_hovers_css"),css_hovers_hack=fp("styles/async-hovers-hack.css","async_hovers_hack_css"),isFakeNoHover=navigator.maxTouchPoints>0&&window.matchMedia("(pointer: fine)").matches&&!window.matchMedia("(hover: hover)").matches;let asyncCSSLoaded=!1;function asyncCSS(){if(asyncCSSLoaded)return;new_css("async-css",css_async),new_css("hovers-css",css_hovers),isFakeNoHover&&new_css("hovers-hack-css",css_hovers_hack),new_css("menu-css",css_menu),loadRes(outline_js,()=>{},"outline-loaded"),asyncCSSLoaded=!0;const skip_id=document.getElementById("skip");if(skip_id&&nav_bar_id){const link=skip_id.querySelector('a[href="#nav"]');link&&link.setAttribute("href","#nav-bar")}}isFakeNoHover&&asyncCSS(),window.addEventListener("mousemove",asyncCSS,asyncOnce),document.addEventListener("keyup",asyncCSS,asyncOnce),document.addEventListener("touchstart",asyncCSS,asyncPass),document.addEventListener("pointerdown",asyncCSS,asyncPass),document.addEventListener("scroll",asyncCSS,asyncPass);let touchMoving=!1,lastScrollY=0,scrollCheckTimeout;window.addEventListener("touchstart",()=>{clearTimeout(scrollCheckTimeout),touchMoving=!0,html_tag.classList.add("touch-moving")}),window.addEventListener("touchend",()=>{const checkScrollEnd=()=>{const currentY=window.scrollY;Math.abs(currentY-lastScrollY)<2?(touchMoving=!1,html_tag.classList.remove("touch-moving")):(lastScrollY=currentY,scrollCheckTimeout=setTimeout(checkScrollEnd,100))};lastScrollY=window.scrollY,scrollCheckTimeout=setTimeout(checkScrollEnd,100)});const custom_async_js=fp("js/custom-async.js","custom_async_js");runWhenIdle(()=>{loadRes(custom_async_js,()=>{},"custom-async-loaded")});let module_collection=document.getElementsByClassName("m6cl"); //# sourceMappingURL=/cdn/shop/t/5/assets/custom.js.map?v=44920192936499283151785865133