/* Generated time: May 6, 2025 13:43 This file was created by the app developer. Feel free to contact the original developer with any questions. It was minified (compressed) by AVADA. AVADA do NOT own this script. */ var __accessCheck=(e,t,i)=>{if(!t.has(e))throw TypeError("Cannot "+i)},__privateGet=(e,t,i)=>(__accessCheck(e,t,"read from private field"),i?i.call(e):t.get(e)),__privateAdd=(e,t,i)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,i)},__privateSet=(e,t,i,s)=>(__accessCheck(e,t,"write to private field"),s?s.call(e,i):t.set(e,i),i),__privateMethod=(e,t,i)=>(__accessCheck(e,t,"access private method"),i);import{timeline}from"//form.cl/cdn/shop/t/21/assets/vendor.min.js?v=20880576495916334881746537482";import{EffectCarousel}from"//form.cl/cdn/shop/t/21/assets/theme.js?v=86666645198926321746537504";var AnnouncementBar=class extends EffectCarousel{_transitionTo(e,t){timeline([[e,{transform:["translateY(0)","translateY(-5px)"],opacity:[1,0],visibility:["visible","hidden"]},{duration:.2}],[t,{transform:["translateY(5px)","translateY(0)"],opacity:[0,1],visibility:["hidden","visible"]},{duration:.2}]])}},SplitCursor=(window.customElements.get("announcement-bar")||window.customElements.define("announcement-bar",AnnouncementBar),class extends HTMLElement{connectedCallback(){this._parentSection=this.closest(".shopify-section"),this._dragging=!1,this._offsetX=this._currentX=0,this._parentSection.addEventListener("pointerdown",this._onPointerDown.bind(this)),this._parentSection.addEventListener("pointermove",this._onPointerMove.bind(this)),this._parentSection.addEventListener("pointerup",this._onPointerUp.bind(this)),this._recalculateOffset(),window.addEventListener("resize",this._recalculateOffset.bind(this))}get minOffset(){return-this.offsetLeft-("rtl"===document.dir?this.clientWidth:0)}get maxOffset(){return this.offsetParent.clientWidth+this.minOffset}_onPointerDown(e){e.target!==this&&!this.contains(e.target)||(this._initialX=e.clientX-this._offsetX,this._dragging=!0)}_onPointerMove(e){this._dragging&&(this._currentX=Math.min(Math.max(e.clientX-this._initialX,this.minOffset),this.maxOffset),this._offsetX=this._currentX,this._parentSection.style.setProperty("--clip-path-offset",this._currentX.toFixed(1)+"px"))}_onPointerUp(){this._dragging=!1}_recalculateOffset(){this._parentSection.style.setProperty("--clip-path-offset",Math.min(Math.max(this.minOffset,this._currentX.toFixed(1)),this.maxOffset)+"px")}});window.customElements.get("split-cursor")||window.customElements.define("split-cursor",SplitCursor);import{timeline as timeline2,inView}from"//form.cl/cdn/shop/t/21/assets/vendor.min.js?v=20880576495916334881746537482";var CollectionList=class extends HTMLElement{connectedCallback(){window.matchMedia("(prefers-reduced-motion: no-preference)").matches&&inView(this,this._reveal.bind(this),{margin:"-100px"})}_reveal(){var e=Array.from(this.querySelectorAll("[reveal-js]"));timeline2([[e,{opacity:1},{duration:0}],[e.map(e=>e.querySelector("img, svg")),{opacity:[0,1],transform:["scale(1.03)","auto"]},{duration:.2}],[e.map(e=>e.querySelector(".collection-card__content-wrapper")),{opacity:[0,1]},{duration:.2}]])}};window.customElements.get("collection-list")||window.customElements.define("collection-list",CollectionList);import{Delegate}from"//form.cl/cdn/shop/t/21/assets/vendor.min.js?v=20880576495916334881746537482";var AccountLogin=class extends HTMLElement{connectedCallback(){this.recoverForm=this.querySelector("#recover"),this.loginForm=this.querySelector("#login"),"#recover"===window.location.hash&&this._switchForms(),new Delegate(this).on("click",'[href="#recover"], [href="#login"]',this._switchForms.bind(this))}_switchForms(e){e&&e.preventDefault(),this.recoverForm.hidden=!this.recoverForm.hidden,this.loginForm.hidden=!this.loginForm.hidden}};window.customElements.get("account-login")||window.customElements.define("account-login",AccountLogin);import{animate,timeline as timeline3,stagger,Delegate as Delegate2}from"//form.cl/cdn/shop/t/21/assets/vendor.min.js?v=20880576495916334881746537482";import{AnimatedDetails,EffectCarousel as EffectCarousel2,Drawer,throttle}from"//form.cl/cdn/shop/t/21/assets/theme.js?v=86666645198926321746537504";var reduceMenuAnimation=JSON.parse("false"),StoreHeader=class extends HTMLElement{connectedCallback(){this.hasAttribute("hide-on-scroll")&&window.matchMedia("(prefers-reduced-motion: no-preference)").matches&&(this._lastScrollTop=0,this._accumulatedScroll=0,this._isVisible=!0,this._hasSwitchedToSticky=!1,window.addEventListener("scroll",throttle(this._onScroll.bind(this)))),this.addEventListener("toggle",this._checkTransparency.bind(this),{capture:!0}),window.addEventListener("pageshow",e=>{e.persisted&&(this.classList.remove("is-filled"),this._setupTransparentHeader())}),this._setupTransparentHeader(),this.hasAttribute("sticky")&&Shopify.designMode&&(document.addEventListener("shopify:section:load",this._setupTransparentHeader.bind(this)),document.addEventListener("shopify:section:unload",this._setupTransparentHeader.bind(this)),document.addEventListener("shopify:section:reorder",this._setupTransparentHeader.bind(this)))}hide(){this._isVisible&&(animate(this,{transform:["translateY(0)","translateY(-100%)"]},{duration:.2,easing:"ease"}),this._isVisible=!1)}show(){this._isVisible||(animate(this,{transform:["translateY(-100%)","translateY(0)"]},{duration:.2,easing:"ease"}),this._accumulatedScroll=0,this._isVisible=!0)}_onScroll(){window.scrollY<0||(this._accumulatedScroll=Math.max(0,this._accumulatedScroll+(window.scrollY-this._lastScrollTop)),window.scrollYparseInt(this.getAttribute("hide-on-scroll"))&&this.hide(),this._lastScrollTop=window.scrollY)}_checkTransparency(){var e;CSS.supports("selector(:has(> *))")&&this.hasAttribute("sticky")&&!this.hasAttribute("hide-on-scroll")&&this.hasAttribute("allow-transparency")?0{this.style.transform=null,this.classList.remove("is-filled")})):0===this.getAnimations().length&&this.classList.remove("is-filled")):(e=20e!==this)).forEach(e=>e.open=!1),await this._transitionIn(0 ul > li"),{opacity:[0,1],transform:["translateY(-10px)","translateY(0)"]},{delay:stagger(.025),at:"-0.1",duration:.2}]),timeline3(t,{delay:0this.open=!1,this.mouseOverDelayTolerance))}_detectEscKeyboard(e){"Escape"===e.code&&(e=e.target.closest("details[open]"))&&(e.open=!1)}_detectFocusOut(e){e.relatedTarget&&!this.contains(e.relatedTarget)&&(this.open=!1)}},MegaMenuDisclosure=class extends DropdownDisclosure{constructor(){super(),this.addEventListener("pointerover",this._preloadImages.bind(this))}get mouseOverDelayTolerance(){return 500}_transitionIn(e){let t=[[this.contentElement,{opacity:1},{duration:.2}],"mega-menu"],i=e?.1:0;return window.matchMedia("(prefers-reduced-motion: no-preference)").matches&&!reduceMenuAnimation&&(this.contentElement.querySelectorAll(".mega-menu__promo").forEach(e=>{t.push([e,{opacity:[0,1]},{duration:.25,delay:i,at:"mega-menu"}],"mega-menu-promo")}),this.contentElement.querySelectorAll(".mega-menu__nav > li").forEach(e=>{t.push([e.querySelectorAll(":scope > :first-child, :scope li"),{opacity:[0,1],transform:["translateY(-10px)","translateY(0)"]},{easing:"ease",delay:stagger(.025,{start:i}),at:"mega-menu",duration:.2}])})),timeline3(t).finished}_preloadImages(){Array.from(this.querySelectorAll('img[loading="lazy"]')).forEach(e=>e.setAttribute("loading","eager"))}},MegaMenuPromoCarousel=class extends EffectCarousel2{connectedCallback(){super.connectedCallback(),this.nextElementSibling&&this.addEventListener("carousel:select",e=>this._updateControlsColor(e.detail.slide)),this._updateControlsColor(this.items[this.selectedIndex])}_updateControlsColor(e){e=e.classList.contains("content-over-media")?e:e.firstElementChild;this.nextElementSibling.style.setProperty("--text-color",e.style.getPropertyValue("--text-color"))}},NavigationDrawer=class extends Drawer{constructor(){super(),new Delegate2(this).on("click","button[data-panel]",this._onPanelButtonClick.bind(this)),this._isTransitioning=!1,this.addEventListener("dialog:after-hide",()=>{this.reinitializeDrawer()})}get openFrom(){return window.matchMedia("(max-width: 699px)").matches?this.getAttribute("mobile-opening"):super.openFrom}switchToPanel(e,t=null){var i=this.querySelectorAll(".panel");let s,a,r=null!==t?i[parseInt(e)-1]:i[parseInt(e)+1],n=i[e],o=n.querySelectorAll(".panel__wrapper"),l=[];a="rtl"===document.dir?(s=null!==t?["translateX(0%)","translateX(100%)"]:["translateX(0%)","translateX(-100%)"],null!==t?["translateX(-100%)","translateX(0%)"]:["translateX(100%)","translateX(0%)"]):(s=null!==t?["translateX(0%)","translateX(-100%)"]:["translateX(0%)","translateX(100%)"],null!==t?["translateX(100%)","translateX(0%)"]:["translateX(-100%)","translateX(0%)"]),l.push([r,{transform:s,opacity:[1,0],visibility:["visible","hidden"]},{duration:.3,opacity:{at:"+0.3"},transform:{at:"+0.3"}}],"panelHidden",[n,{opacity:[0,1],visibility:["hidden","visible"],transform:a},{at:"<",transform:{duration:.3}}]),null!==t&&l.push(this.switchLinkList(o,t)),timeline3(l)}showPanel(e,t=null){let i=[],s=this.querySelectorAll(".panel")[e],a=s.querySelectorAll(".panel__wrapper");s.hasAttribute("open")||this._isTransitioning||(this._isTransitioning=!0,i.push([this,{width:[this.offsetWidth+"px",2*(this.offsetWidth-parseInt(window.getComputedStyle(this).getPropertyValue("padding")))+"px"]},{duration:.2}],[s,{opacity:[0,1],visibility:["hidden","visible"]},{at:"<"}]),i.push(this.switchLinkList(a,t))),this.previousLinkIndex&&this.previousLinkIndex!==t&&i.push([a[this.previousLinkIndex],{opacity:[1,0],visibility:["visible","hidden"]},{duration:.2}]),timeline3(i).finished.then(()=>{this.previousLinkIndex&&this.previousLinkIndex!==t&&a[this.previousLinkIndex].removeAttribute("style"),s.hasAttribute("open")&&this.previousLinkIndex!==t&&timeline3([this.switchLinkList(a,t)]),this.previousLinkIndex=t,s.setAttribute("open",""),this._isTransitioning=!1})}switchLinkList(e,t){return Array.from(e).forEach(e=>{e.setAttribute("hidden","")}),e[t].removeAttribute("hidden"),[e[t].querySelectorAll("li"),{opacity:[0,1],visibility:["hidden","visible"],transform:["translateY(-10px)","translateY(0)"]},{easing:"ease",duration:.2,at:"-0.15",delay:stagger(.025,{start:.1})}]}reinitializeDrawer(){var e;this.hasAttribute("mega-menu")&&window.matchMedia("(min-width:1150px)").matches?(this.style.removeProperty("width"),this.setExpanded()):((e=this.querySelector(".panel:first-child")).style.opacity="1",e.style.visibility="visible",e.style.transform="translateX(0%)"),Array.from(this.querySelectorAll(".panel:not(:first-child)")).forEach(e=>{this.hasAttribute("mega-menu")&&e.removeAttribute("open"),e.style.opacity="0",e.style.visibility="hidden",Array.from(e.querySelectorAll(".panel__wrapper")).forEach(e=>e.setAttribute("hidden",""))})}setExpanded(e){Array.from(this.querySelectorAll("button[data-panel]")).forEach(e=>{e.setAttribute("aria-expanded","false")}),e&&e.setAttribute("aria-expanded","true")}_onPanelButtonClick(e,t){this.hasAttribute("mega-menu")&&window.matchMedia("(min-width:1150px)").matches?(this.setExpanded(t),this.showPanel(...t.getAttribute("data-panel").split("-"))):this.switchToPanel(...t.getAttribute("data-panel").split("-"))}};window.customElements.get("store-header")||window.customElements.define("store-header",StoreHeader),window.customElements.get("dropdown-disclosure")||window.customElements.define("dropdown-disclosure",DropdownDisclosure,{extends:"details"}),window.customElements.get("mega-menu-disclosure")||window.customElements.define("mega-menu-disclosure",MegaMenuDisclosure,{extends:"details"}),window.customElements.get("mega-menu-promo-carousel")||window.customElements.define("mega-menu-promo-carousel",MegaMenuPromoCarousel),window.customElements.get("navigation-drawer")||window.customElements.define("navigation-drawer",NavigationDrawer);import{animate as motionAnimate,scroll}from"//form.cl/cdn/shop/t/21/assets/vendor.min.js?v=20880576495916334881746537482";var FeatureChart=class extends HTMLElement{connectedCallback(){var e;this.viewButtonElement=this.querySelector('[data-action="toggle-rows"]'),this.featureChartTable=this.querySelector(".feature-chart__table"),this.featureChartRows=Array.from(this.featureChartTable.childNodes),this.featureProductRow=this.querySelector(".feature-chart__table-row--product"),this.featureChartSticky=this.querySelector(".feature-chart__table-row--sticky"),this.viewButtonElement&&this.viewButtonElement.addEventListener("click",this._toggleRows.bind(this)),this.featureChartSticky&&(this.featureChartSticky.style.width=this.featureChartTable.scrollWidth+"px",this.featureChartTable.addEventListener("scroll",e=>{this.featureChartSticky.style.marginLeft=-1*e.target.scrollLeft+"px"}),new ResizeObserver(e=>{this.featureChartSticky.style.width=e[0].contentRect.width+"px"}).observe(this.featureChartTable),e=getComputedStyle(this).scrollPaddingTop,scroll(({y:e})=>{e.current>=e.targetOffset+this.featureProductRow.clientHeight/2&&e.progress<.85?this.featureChartSticky.classList.add("is-visible"):this.featureChartSticky.classList.remove("is-visible")},{target:this.featureChartTable,offset:[e+" start","end "+e]}))}_toggleRows(){this.classList.contains("is-expanded")?this._hideRows():this._showRows()}async _showRows(){var e=this.featureChartTable.clientHeight;this.featureChartRows.forEach(e=>{e.hidden=!1}),this.viewButtonElement.querySelector(".feature-chart__toggle-text").innerText=this.viewButtonElement.getAttribute("data-view-less"),this.classList.add("is-expanded"),await motionAnimate(this.featureChartTable,{height:[e+"px",this.featureChartTable.clientHeight+"px"]}).finished,this.featureChartTable.style.height="auto"}async _hideRows(){let e=this.featureChartTable.clientHeight,t=0;this.featureChartRows.slice(0,parseInt(this.getAttribute("max-rows"))).forEach(e=>{t+=e.clientHeight}),this.viewButtonElement.querySelector(".feature-chart__toggle-text").innerText=this.viewButtonElement.getAttribute("data-view-more"),this.classList.remove("is-expanded"),await motionAnimate(this.featureChartTable,{height:[e+"px",t+"px"]}).finished,this.featureChartRows.slice(parseInt(this.getAttribute("max-rows"))).forEach(e=>e.hidden=!0),this.featureChartTable.style.height="auto"}};window.customElements.get("feature-chart")||window.customElements.define("feature-chart",FeatureChart);import{scroll as scroll2,timeline as timeline4,animate as animate2,inView as inView2}from"//form.cl/cdn/shop/t/21/assets/vendor.min.js?v=20880576495916334881746537482";import{imageLoaded,getHeadingKeyframe}from"//form.cl/cdn/shop/t/21/assets/theme.js?v=86666645198926321746537504";var ImageBanner=class extends HTMLElement{connectedCallback(){this.parallax&&window.matchMedia("(prefers-reduced-motion: no-preference)").matches&&this._setupParallax(),inView2(this,async()=>{await imageLoaded(Array.from(this.querySelectorAll(":scope > :is(img, video, iframe, svg, video-media)")));var e=Array.from(this.querySelectorAll('[reveal-on-scroll="true"]'));timeline4([[this,{opacity:[0,1]},{duration:.25}],...e.map(e=>[...getHeadingKeyframe(e)])])})}get parallax(){return!!this.hasAttribute("parallax")&&parseFloat(this.getAttribute("parallax"))}_setupParallax(){var e=Array.from(this.querySelectorAll(":scope > :is(img, video, iframe, svg, video-media)")),[t,i]=[1+this.parallax,100*this.parallax/(1+this.parallax)];scroll2(animate2(e,{transform:[`scale(${t}) translateY(${i}%)`,`scale(${t}) translateY(0)`]},{easing:"linear"}),{target:this,offset:["start end","end start"]})}};window.customElements.get("image-banner")||window.customElements.define("image-banner",ImageBanner);import{ScrollArea}from"//form.cl/cdn/shop/t/21/assets/theme.js?v=86666645198926321746537504";var ImageLinkBlocks=class extends HTMLElement{connectedCallback(){this.items=Array.from(this.children),new ScrollArea(this),this.addEventListener("control:prev",this._prev),this.addEventListener("control:next",this._next)}_prev(){this.scrollBy({left:("rtl"===document.dir?1:-1)*this.items[0].clientWidth,behavior:"smooth"})}_next(){this.scrollBy({left:("rtl"===document.dir?-1:1)*this.items[0].clientWidth,behavior:"smooth"})}};window.customElements.get("image-link-blocks")||window.customElements.define("image-link-blocks",ImageLinkBlocks);import{animate as animate3,timeline as timeline5,inView as inView3}from"//form.cl/cdn/shop/t/21/assets/vendor.min.js?v=20880576495916334881746537482";import{getHeadingKeyframe as getHeadingKeyframe2,throttle as throttle2}from"//form.cl/cdn/shop/t/21/assets/theme.js?v=86666645198926321746537504";var ImagesWithTextScrolling=class extends HTMLElement{connectedCallback(){inView3(this,this._reveal.bind(this)),this.hasAttribute("scrolling-experience")&&(this._imageToTransitionItems=Array.from(this.querySelectorAll(".images-scrolling-desktop__media-wrapper > :not(:first-child)")),this._mainImage=this.querySelector(".images-scrolling-desktop__media-wrapper > :first-child"),this._contentItems=Array.from(this.querySelectorAll(".images-scrolling__content")),0{animate3(...getHeadingKeyframe2(e))})}_onScroll(){var e,t,i=this._mainImage.getBoundingClientRect(),s=i.bottom,a=this.getAttribute("scrolling-experience");for([e,t]of this._contentItems.entries()){var r=t.getBoundingClientRect(),n=this._imageToTransitionItems[e-1],o=this._contentItems[e];if(r.tops){n&&!n.classList.contains("is-visible")&&(n.classList.add("is-visible"),timeline5("fade"===a?[[n,{opacity:[null,1]},{duration:.2}],[o,{opacity:[null,1]},{duration:.45,at:"<"}]]:[[n,{opacity:[null,1],clipPath:["inset(100% 0 0 0)","inset(0 0 0 0)"]},{duration:.35,easing:[.99,.01,.5,.94],opacity:{duration:0}}],[o,{opacity:[null,1]},{duration:.45,at:"<"}]]));break}if(r.top>s-.15*i.height){n&&n.classList.contains("is-visible")&&(n.classList.remove("is-visible"),timeline5("fade"===a?[[n,{opacity:[null,0]},{duration:.2}],[o,{opacity:[null,0]},{duration:.2,at:"<"}]]:[[n,{opacity:[null,1],clipPath:["inset(0 0 0 0)","inset(100% 0 0 0)"]},{duration:.35,easing:[.99,.01,.5,.94],opacity:{duration:0}}],[o,{opacity:[null,0]},{duration:.2,at:"<"}]]));break}}}};window.customElements.get("images-with-text-scrolling")||window.customElements.define("images-with-text-scrolling",ImagesWithTextScrolling);import{animate as animate4,inView as inView4}from"//form.cl/cdn/shop/t/21/assets/vendor.min.js?v=20880576495916334881746537482";var ImpactText=class extends HTMLElement{connectedCallback(){window.matchMedia("(prefers-reduced-motion: no-preference)").matches&&inView4(this,({target:e})=>this._onBecameVisible(e),{margin:"-100px"})}async _onBecameVisible(e){if(animate4(e,{opacity:1,transform:["translateY(10px)","translateY(0)"]},{duration:.3}),this.hasAttribute("count-up")){let e=0===this.childElementCount?this:this.firstElementChild,r=e.textContent.trim().match(/\d+(?:[,. ]\d+)*/);if(r){e.innerHTML=e.textContent.replace(/\d+(?:[,. ]\d+)*/,`${r[0]}`);let i=e.querySelector("span"),s=(i.style.textAlign=r[0]===r.input?null:"end",e.classList.contains("text-gradient")||(i.style.display="inline-block",i.style.minWidth=i.clientWidth+"px"),r[0].replace(/[,\. ]+/,"")),a=[...r[0].matchAll(/[,\. ]+/g)];await animate4(e=>{let t=Math.round(e*parseInt(s)).toString();a.forEach(e=>{t.length>=r[0].length-e.index&&(t=t.slice(0,e.index)+e[0]+t.slice(e.index))}),i.textContent=1===e?r[0]:t},{duration:parseFloat(this.getAttribute("count-up")),easing:[.16,1,.3,1]}).finished,i.style.minWidth=null}}}};window.customElements.get("impact-text")||window.customElements.define("impact-text",ImpactText);import{timeline as timeline6,inView as inView5}from"//form.cl/cdn/shop/t/21/assets/vendor.min.js?v=20880576495916334881746537482";var MediaGrid=class extends HTMLElement{connectedCallback(){this.items=Array.from(this.children),window.matchMedia("(prefers-reduced-motion: no-preference)").matches&&inView5(this,this._onBecameVisible.bind(this))}_onBecameVisible(){var e=this.querySelectorAll(".content-over-media > :not(img, video, iframe, svg, video-media, native-video, external-video)");timeline6([[this.items,{opacity:1,transform:["translateY(10px)","translateY(0)"]},{duration:.3}],[e,{opacity:[0,1]},{duration:.2,at:"+0.1"}]])}};window.customElements.get("media-grid")||window.customElements.define("media-grid",MediaGrid);import{animate as animate5,timeline as timeline7,inView as inView6}from"//form.cl/cdn/shop/t/21/assets/vendor.min.js?v=20880576495916334881746537482";import{imageLoaded as imageLoaded2}from"//form.cl/cdn/shop/t/21/assets/theme.js?v=86666645198926321746537504";var reduceMotion=window.matchMedia("(prefers-reduced-motion: no-preference)").matches,MediaWithText=class extends HTMLElement{connectedCallback(){reduceMotion&&Array.from(this.querySelectorAll(".media-with-text__item")).forEach(e=>{inView6(e,e=>this.reveal(e.target))})}reveal(e){let t=e.querySelector(".media-with-text__media");imageLoaded2(t.querySelector("img")).then(()=>{timeline7([[t,{opacity:[0,1]},{duration:.3}],[t.querySelector("img, video-media"),{transform:["scale(1.05)","scale(1)"]},{duration:.3,at:"<"}]])}),animate5(e.querySelector(".media-with-text__content > .prose"),{opacity:[0,1]},{duration:.2,delay:.3})}};window.customElements.get("media-with-text")||window.customElements.define("media-with-text",MediaWithText);import{timeline as timeline8,animate as animate6,stagger as stagger2,inView as inView7}from"//form.cl/cdn/shop/t/21/assets/vendor.min.js?v=20880576495916334881746537482";import{EffectCarousel as EffectCarousel3,imageLoaded as imageLoaded3,getHeadingKeyframe as getHeadingKeyframe3}from"//form.cl/cdn/shop/t/21/assets/theme.js?v=86666645198926321746537504";var MultipleImagesWithText=class extends HTMLElement{constructor(){super(),this._imageCarousel=this.querySelector("multiple-images-with-text-image-list"),this._contentCarousel=this.querySelector("multiple-images-with-text-content-list"),this.addEventListener("control:prev",()=>{this._imageCarousel.previous(),this._contentCarousel.previous()}),this.addEventListener("control:next",()=>{this._imageCarousel.next(),this._contentCarousel.next()}),Shopify.designMode&&this.addEventListener("shopify:block:select",t=>{t.target.hasAttribute("image-id")&&this._imageCarousel.select(this._imageCarousel.items.findIndex(e=>e.id===t.target.getAttribute("image-id")))})}},MultipleImagesWithTextImageList=class extends EffectCarousel3{constructor(){super(),inView7(this,this._reveal.bind(this))}async _reveal(){await imageLoaded3(this.querySelectorAll("img")),"stacked"===this.getAttribute("layout")?timeline8([[this.lastElementChild,{transform:"rotate(0deg)"}],[this.lastElementChild?.previousElementSibling,{transform:"rotate(2deg)"},{at:"<"}],[this.lastElementChild?.previousElementSibling?.previousElementSibling,{transform:"rotate(-2deg)"},{at:"<"}]],{defaultOptions:{duration:.15,easing:[.26,.02,.27,.97]}}):"collage"===this.getAttribute("layout")?timeline8([[this.children,{opacity:1,transform:["translateY(15px)","translateY(0)"]},{duration:.3,delay:stagger2(.1)}]]):timeline8([[this.children,{opacity:1,transform:"rotate(var(--image-rotation, 0deg))"},{duration:.3,delay:stagger2(.1)}]])}_transitionTo(e,t,{direction:i}){if("stacked"===this.getAttribute("layout"))return("next"===i?(i=getComputedStyle(e).getPropertyValue("transform"),timeline8([[e,{opacity:0,transform:"rotate(5deg) translate(40px, 10px)"},{duration:.2}],[t,{zIndex:1},{duration:.2,zIndex:{easing:"step-start"}}],[e,{opacity:1,transform:i,zIndex:-1},{duration:.2,at:"<",zIndex:{easing:"step-start"}}],[t.previousElementSibling,{zIndex:0},{at:"<",easing:"step-start"}]],{defaultOptions:{easing:[.26,.02,.27,.97]}})):(i=getComputedStyle(t).getPropertyValue("transform"),timeline8([[t,{opacity:0,transform:"rotate(-5deg) translate(-40px, -10px)"},{duration:.2}],3<=this.items.length&&[e.previousElementSibling||this.lastElementChild,{zIndex:-1},{easing:"step-start"}],[t,{opacity:1,transform:i,zIndex:1},{duration:.2,at:3<=this.items.length?"<":"+0",zIndex:{easing:"step-start"}}],[e,{zIndex:0},{duration:.2,at:"<",zIndex:{easing:"step-start"}}]].filter(Boolean),{defaultOptions:{easing:[.26,.02,.27,.97]}}))).finished}},MultipleImagesWithTextContentList=class extends EffectCarousel3{constructor(){super(),inView7(this,this._reveal.bind(this))}_reveal(){animate6(...getHeadingKeyframe3(this.querySelector('[reveal-on-scroll="true"]')))}_transitionTo(e,t,{animate:i=!0}={}){return e.classList.remove("is-selected"),t.classList.add("is-selected"),timeline8([[e,{opacity:[1,0],visibility:["visible","hidden"]}],[t,{opacity:[0,1],visibility:["hidden","visible"]}],[...getHeadingKeyframe3(t.querySelector('[reveal-on-scroll="true"]'),{at:"<"})]],{duration:i?parseFloat(this.getAttribute("fade-speed")||.5):0}).finished}};window.customElements.get("multiple-images-with-text")||window.customElements.define("multiple-images-with-text",MultipleImagesWithText),window.customElements.get("multiple-images-with-text-image-list")||window.customElements.define("multiple-images-with-text-image-list",MultipleImagesWithTextImageList),window.customElements.get("multiple-images-with-text-content-list")||window.customElements.define("multiple-images-with-text-content-list",MultipleImagesWithTextContentList);import{Drawer as Drawer2}from"//form.cl/cdn/shop/t/21/assets/theme.js?v=86666645198926321746537504";var NewsletterPopup=class extends Drawer2{connectedCallback(){super.connectedCallback(),this.shouldAppearAutomatically&&setTimeout(()=>this.show(),this.apparitionDelay)}get initialFocus(){return!1}get shouldAppendToBody(){return!1}get apparitionDelay(){return 1e3*parseInt(this.getAttribute("apparition-delay")||0)}get shouldAppearAutomatically(){return!("true"===localStorage.getItem("theme:popup-filled")||this.hasAttribute("only-once")&&"true"===localStorage.getItem("theme:popup-appeared"))}_setInitialPosition(){this.style.top=null,this.style.bottom="0px",this.style.left="ltr"===document.dir?null:"0px",this.style.right="rtl"===document.dir?"auto":"0px"}attributeChangedCallback(e,t,i){super.attributeChangedCallback(e,t,i),"open"===e&&this.open&&localStorage.setItem("theme:popup-appeared","true")}};window.customElements.get("newsletter-popup")||window.customElements.define("newsletter-popup",NewsletterPopup);import{timeline as timeline9,animate as animate7,inView as inView8}from"//form.cl/cdn/shop/t/21/assets/vendor.min.js?v=20880576495916334881746537482";import{EffectCarousel as EffectCarousel4}from"//form.cl/cdn/shop/t/21/assets/theme.js?v=86666645198926321746537504";var reduceMotion2=window.matchMedia("(prefers-reduced-motion: no-preference)").matches,PressCarousel=class extends EffectCarousel4{constructor(){super(),reduceMotion2&&inView8(this,this._reveal.bind(this))}_reveal(){animate7(this.selectedSlide.querySelector(".blockquote"),{opacity:1,transform:["translateY(15px)","translateY(0)"]},{duration:.2})}async _transitionTo(e,t,i=0){await timeline9([[e.querySelectorAll(".press__logo, .press__author"),{opacity:[null,0]},{duration:.2}],[e.querySelector(".blockquote"),{opacity:[null,0],...reduceMotion2&&{transform:[null,"translateY(-10px)"]}},{duration:.2,at:"<"}]]).finished,e.classList.remove("is-selected"),t.classList.add("is-selected"),await timeline9([[t.querySelectorAll(".press__logo, .press__author"),{opacity:[0,1]},{duration:.2}],[t.querySelector(".blockquote"),{opacity:[0,1],...reduceMotion2&&{transform:["translateY(10px)","translateY(0px)"]}},{duration:.2,at:"<"}]]).finished}},ProductRecommendations=(window.customElements.get("press-carousel")||window.customElements.define("press-carousel",PressCarousel),class extends HTMLElement{constructor(){super(),this._isLoaded=!1}connectedCallback(){this._loadRecommendations()}async _loadRecommendations(){var e,t,i;this._isLoaded||(this._isLoaded=!0,e=this.closest(".shopify-section"),t=this.getAttribute("intent")||"related",i=`${Shopify.routes.root}recommendations/products?product_id=${this.getAttribute("product")}&limit=${this.getAttribute("limit")||4}§ion_id=${e.id.replace("shopify-section-","")}&intent=`+t,i=await fetch(i,{priority:"low"}),0<(i=(new DOMParser).parseFromString(await i.text(),"text/html").querySelector("product-recommendations")).childElementCount?this.replaceChildren(...document.importNode(i,!0).childNodes):("related"===t?e:this).remove())}});window.customElements.get("product-recommendations")||window.customElements.define("product-recommendations",ProductRecommendations);import{extractSectionId}from"//form.cl/cdn/shop/t/21/assets/theme.js?v=86666645198926321746537504";var RecentlyViewedProducts=class extends HTMLElement{constructor(){super(...arguments),__privateAdd(this,_searchQueryString),__privateAdd(this,_loadProducts),__privateAdd(this,_isLoaded,!1)}connectedCallback(){"requestIdleCallback"in window?requestIdleCallback(__privateMethod(this,_loadProducts,loadProducts_fn).bind(this),{timeout:1500}):__privateMethod(this,_loadProducts,loadProducts_fn).call(this)}},_isLoaded=new WeakMap,_searchQueryString=new WeakSet,searchQueryString_get=function(){var e=new Set(JSON.parse(localStorage.getItem("theme:recently-viewed-products")||"[]"));return this.hasAttribute("exclude-id")&&e.delete(parseInt(this.getAttribute("exclude-id"))),Array.from(e.values(),e=>"id:"+e).slice(0,parseInt(this.getAttribute("products-count"))).join(" OR ")},_loadProducts=new WeakSet,loadProducts_fn=async function(){var e,t;__privateGet(this,_isLoaded)||(__privateSet(this,_isLoaded,!0),e=this.closest(".shopify-section"),t=`${Shopify.routes.root}search?type=product&q=${__privateGet(this,_searchQueryString,searchQueryString_get)}§ion_id=`+extractSectionId(e),t=await fetch(t,{priority:"low"}),0<(t=(new DOMParser).parseFromString(await t.text(),"text/html").querySelector("recently-viewed-products")).childElementCount?this.replaceChildren(...document.importNode(t,!0).childNodes):e.remove())};window.customElements.get("recently-viewed-products")||window.customElements.define("recently-viewed-products",RecentlyViewedProducts);import{scroll as scroll3,timeline as timeline10,ScrollOffset,inView as inView9}from"//form.cl/cdn/shop/t/21/assets/vendor.min.js?v=20880576495916334881746537482";var RevealedImage=class extends HTMLElement{connectedCallback(){let t=this.querySelector(".revealed-image__scroll-tracker"),e=this.querySelector(".revealed-image__scroller");t.style.height=e.clientHeight+"px",new ResizeObserver(e=>t.style.height=e[0].contentRect.height+"px").observe(e),scroll3(timeline10([[this.querySelectorAll(".revealed-image__image-clipper, .revealed-image__content--inside"),{clipPath:["inset(37% 37% 41% 37%)","inset(calc(var(--sticky-area-height) / 2) 0)"]},{easing:"ease-in"}],[this.querySelectorAll("img, svg"),{transform:["translate(-10%, -1.5%) scale(1.4)","translate(0, 0) scale(1)"]},{easing:"ease-in",at:"<"}],[this.querySelectorAll(".revealed-image__content"),{opacity:[0,1,1]},{offset:[0,.25,1],at:"<"}]]),{target:t,offset:ScrollOffset.All}),inView9(this,()=>(this.style.visibility="visible",()=>{this.style.visibility="hidden"}),{margin:"200px"})}},ShopTheLookDots=(window.customElements.get("revealed-image")||window.customElements.define("revealed-image",RevealedImage),class extends HTMLElement{connectedCallback(){this._abortController=new AbortController,Array.from(this.children).forEach(e=>{document.getElementById(e.getAttribute("aria-controls")).addEventListener("carousel:change",e=>this._onDotClicked(e),{signal:this._abortController.signal})})}disconnectedCallback(){this._abortController.abort()}_onDotClicked(e){Array.from(this.querySelectorAll(`button:nth-child(${e.detail.index+1})`)).forEach(e=>e.click())}});window.customElements.get("shop-the-look-dots")||window.customElements.define("shop-the-look-dots",ShopTheLookDots);import{animate as motionAnimate2,timeline as timeline11,inView as inView10}from"//form.cl/cdn/shop/t/21/assets/vendor.min.js?v=20880576495916334881746537482";import{EffectCarousel as EffectCarousel5,imageLoaded as imageLoaded4,getHeadingKeyframe as getHeadingKeyframe4}from"//form.cl/cdn/shop/t/21/assets/theme.js?v=86666645198926321746537504";var Slideshow=class extends HTMLElement{constructor(){super(),this.addEventListener("carousel:select",this._onSlideSelected)}async _onSlideSelected(e){var t,e=getComputedStyle(e.detail.slide);this.style.setProperty("--slideshow-controls-background",e.getPropertyValue("--slideshow-slide-controls-background")),this.style.setProperty("--slideshow-controls-color",e.getPropertyValue("--slideshow-slide-controls-color")),this.classList.contains("slideshow--boxed")&&(t=this.querySelector(".slideshow__slide-background"),e=e.getPropertyValue("--slideshow-slide-background"),t.style.background=e,await motionAnimate2(t,{opacity:[0,1]},{duration:.2}).finished,this.style.setProperty("--slideshow-background",e),motionAnimate2(t,{opacity:0},{duration:0}))}},SlideshowCarousel=class extends EffectCarousel5{constructor(){super(),inView10(this,this._reveal.bind(this)),this.querySelector(".slideshow__cursor")&&this.addEventListener("tap",this._onSlideshowTap)}connectedCallback(){super.connectedCallback(),this._player&&this.hasAttribute("autoplay")&&this._player.addEventListener("player:start",()=>{var e=this.querySelector(".slideshow__cursor-ring circle");e&&motionAnimate2(e,{strokeDasharray:[`0px, ${e.getTotalLength()}px`,`${e.getTotalLength()}px, ${e.getTotalLength()}px`]},{duration:parseInt(this.getAttribute("autoplay")),easing:"linear"}),Array.from(this.querySelectorAll(".numbered-dots__item")).forEach(e=>{var t=e.querySelector("circle:last-child");"true"===e.getAttribute("aria-current")?motionAnimate2(t,{strokeDasharray:[`0px, ${t.getTotalLength()}px`,`${t.getTotalLength()}px, ${t.getTotalLength()}px`]},{duration:parseInt(this.getAttribute("autoplay")),easing:"linear"}):motionAnimate2(t,{strokeDasharray:`${t.getTotalLength()}px, ${t.getTotalLength()}px`},{duration:0,easing:"linear"})})})}get transitionType(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches?"fade":this.getAttribute("transition")}async _reveal(){var e=this.selectedSlide;await imageLoaded4(e.querySelectorAll("img")),this.style.opacity="1",window.matchMedia("(prefers-reduced-motion: reduce)").matches||this._reloaded||timeline11([[e,{zIndex:1},{duration:0}],[e.querySelectorAll("img"),{opacity:[0,1],transform:["scale(1.05)","scale(1)"]},{duration:.3}],"content",[e.querySelectorAll('[data-sequence="subheading"], .button'),{opacity:[0,1]},{duration:.3,at:"content"}],[...getHeadingKeyframe4(e.querySelector('[data-sequence="heading"]'),{duration:.3,at:"content"})],[e.querySelector(".button"),{opacity:[0,1]},{duration:.3,at:"content"}],[this.querySelector(".slideshow__controls"),{opacity:[0,1],transform:["translateY(10px)","translateY(0)"]},{duration:.3}]])}_onSlideshowTap(e){!e.target.matches("button, a[href], button :scope, a[href] :scope")&&window.matchMedia("screen and (pointer: fine)").matches&&(e.detail.originalEvent.clientX>window.innerWidth/2?this.next():this.previous())}async _transitionTo(e,t,{animate:i=!0}={}){e.classList.remove("is-selected"),t.classList.add("is-selected");let s=null;switch(this.transitionType){case"fade":s=this._fade(e,t,{animate:i});break;case"fade_with_text":s=this._fadeWithText(e,t,{animate:i})}return i||s.finish(),s.finished}_fade(e,t){return timeline11([[e,{opacity:[1,0],visibility:["visible","hidden"],zIndex:0},{duration:.3,easing:"ease-in",zIndex:{easing:"step-end"}}],[t,{opacity:[0,1],visibility:["hidden","visible"],zIndex:1},{duration:.3,at:"<",easing:"ease-out",zIndex:{easing:"step-end"}}]])}async _fadeWithText(e,t){return motionAnimate2(e,{opacity:[1,0],visibility:["visible","hidden"],zIndex:0},{duration:.3,easing:"ease-in",zIndex:{easing:"step-end"}}),await imageLoaded4(t.querySelectorAll("img")),motionAnimate2(t,{opacity:[0,1],visibility:["hidden","visible"],zIndex:1},{duration:0,zIndex:{easing:"step-end"}}),timeline11([[t.querySelectorAll("img"),{opacity:[0,1],transform:["scale(1.05)","scale(1)"]},{duration:.3,easing:"ease-out"}],"content",[t.querySelectorAll('[data-sequence="subheading"], .button'),{opacity:[0,1]},{duration:.3,at:"content"}],[...getHeadingKeyframe4(t.querySelector('[data-sequence="heading"]'),{duration:.3,at:"content"})]])}};window.customElements.get("x-slideshow")||window.customElements.define("x-slideshow",Slideshow),window.customElements.get("slideshow-carousel")||window.customElements.define("slideshow-carousel",SlideshowCarousel);