vendor: 8,347 bytes, line 1
1var _createClass=(function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}})();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(function(){if(typeof window>"u"||typeof Element>"u")return;var slice=Array.prototype.slice,matches=Element.prototype.matches||Element.prototype.msMatchesSelector,_focusableElementsString=["a[href]","area[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","details","summary","iframe","object","embed","video","[contenteditable]"].join(","),InertRoot=(function(){function InertRoot2(rootElement,inertManager2){_classCallCheck(this,InertRoot2),this._inertManager=inertManager2,this._rootElement=rootElement,this._managedNodes=new Set,this._rootElement.hasAttribute("aria-hidden")?this._savedAriaHidden=this._rootElement.getAttribute("aria-hidden"):this._savedAriaHidden=null,this._rootElement.setAttribute("aria-hidden","true"),this._makeSubtreeUnfocusable(this._rootElement),this._observer=new MutationObserver(this._onMutation.bind(this)),this._observer.observe(this._rootElement,{attributes:!0,childList:!0,subtree:!0})}return _createClass(InertRoot2,[{key:"destructor",value:function(){this._observer.disconnect(),this._rootElement&&(this._savedAriaHidden!==null?this._rootElement.setAttribute("aria-hidden",this._savedAriaHidden):this._rootElement.removeAttribute("aria-hidden")),this._managedNodes.forEach(function(inertNode){this._unmanageNode(inertNode.node)},this),this._observer=null,this._rootElement=null,this._managedNodes=null,this._inertManager=null}},{key:"_makeSubtreeUnfocusable",value:function(startNode){var _this2=this;composedTreeWalk(startNode,function(node2){return _this2._visitNode(node2)});var activeElement=document.activeElement;if(!document.body.contains(startNode)){for(var node=startNode,root=void 0;node;){if(node.nodeType===Node.DOCUMENT_FRAGMENT_NODE){root=node;break}node=node.parentNode}root&&(activeElement=root.activeElement)}startNode.contains(activeElement)&&(activeElement.blur(),activeElement===document.activeElement&&document.body.focus())}},{key:"_visitNode",value:function(node){if(node.nodeType===Node.ELEMENT_NODE){var element=node;element!==this._rootElement&&element.hasAttribute("inert")&&this._adoptInertRoot(element),(matches.call(element,_focusableElementsString)||element.hasAttribute("tabindex"))&&this._manageNode(element)}}},{key:"_manageNode",value:function(node){var inertNode=this._inertManager.register(node,this);this._managedNodes.add(inertNode)}},{key:"_unmanageNode",value:function(node){var inertNode=this._inertManager.deregister(node,this);inertNode&&this._managedNodes.delete(inertNode)}},{key:"_unmanageSubtree",value:function(startNode){var _this3=this;composedTreeWalk(startNode,function(node){return _this3._unmanageNode(node)})}},{key:"_adoptInertRoot",value:function(node){var inertSubroot=this._inertManager.getInertRoot(node);inertSubroot||(this._inertManager.setInert(node,!0),inertSubroot=this._inertManager.getInertRoot(node)),inertSubroot.managedNodes.forEach(function(savedInertNode){this._manageNode(savedInertNode.node)},this)}},{key:"_onMutation",value:function(records,self){records.forEach(function(record){var target=record.target;if(record.type==="childList")slice.call(record.addedNodes).forEach(function(node){this._makeSubtreeUnfocusable(node)},this),slice.call(record.removedNodes).forEach(function(node){this._unmanageSubtree(node)},this);else if(record.type==="attributes"){if(record.attributeName==="tabindex")this._manageNode(target);else if(target!==this._rootElement&&record.attributeName==="inert"&&target.hasAttribute("inert")){this._adoptInertRoot(target);var inertSubroot=this._inertManager.getInertRoot(target);this._managedNodes.forEach(function(managedNode){target.contains(managedNode.node)&&inertSubroot._manageNode(managedNode.node)})}}},this)}},{key:"managedNodes",get:function(){return new Set(this._managedNodes)}},{key:"hasSavedAriaHidden",get:function(){return this._savedAriaHidden!==null}},{key:"savedAriaHidden",set:function(ariaHidden){this._savedAriaHidden=ariaHidden},get:function(){return this._savedAriaHidden}}]),InertRoot2})(),InertNode=(function(){function InertNode2(node,inertRoot){_classCallCheck(this,InertNode2),this._node=node,this._overrodeFocusMethod=!1,this._inertRoots=new Set([inertRoot]),this._savedTabIndex=null,this._destroyed=!1,this.ensureUntabbable()}return _createClass(InertNode2,[{key:"destructor",value:function(){if(this._throwIfDestroyed(),this._node&&this._node.nodeType===Node.ELEMENT_NODE){var element=this._node;this._savedTabIndex!==null?element.setAttribute("tabindex",this._savedTabIndex):element.removeAttribute("tabindex"),this._overrodeFocusMethod&&delete element.focus}this._node=null,this._inertRoots=null,this._destroyed=!0}},{key:"_throwIfDestroyed",value:function(){if(this.destroyed)throw new Error("Trying to access destroyed InertNode")}},{key:"ensureUntabbable",value:function(){if(this.node.nodeType===Node.ELEMENT_NODE){var element=this.node;if(matches.call(element,_focusableElementsString)){if(element.tabIndex===-1&&this.hasSavedTabIndex)return;element.hasAttribute("tabindex")&&(this._savedTabIndex=element.tabIndex),element.setAttribute("tabindex","-1"),element.nodeType===Node.ELEMENT_NODE&&(element.focus=function(){},this._overrodeFocusMethod=!0)}else element.hasAttribute("tabindex")&&(this._savedTabIndex=element.tabIndex,element.removeAttribute("tabindex"))}}},{key:"addInertRoot",value:function(inertRoot){this._throwIfDestroyed(),this._inertRoots.add(inertRoot)}},{key:"removeInertRoot",value:function(inertRoot){this._throwIfDestroyed(),this._inertRoots.delete(inertRoot),this._inertRoots.size===0&&this.destructor()}},{key:"destroyed",get:function(){return this._destroyed}},{key:"hasSavedTabIndex",get:function(){return this._savedTabIndex!==null}},{key:"node",get:function(){return this._throwIfDestroyed(),this._node}},{key:"savedTabIndex",set:function(tabIndex){this._throwIfDestroyed(),this._savedTabIndex=tabIndex},get:function(){return this._throwIfDestroyed(),this._savedTabIndex}}]),InertNode2})(),InertManager=(function(){function InertManager2(document2){if(_classCallCheck(this,InertManager2),!document2)throw new Error("Missing required argument; InertManager needs to wrap a document.");this._document=document2,this._managedNodes=new Map,this._inertRoots=new Map,this._observer=new MutationObserver(this._watchForInert.bind(this)),addInertStyle(document2.head||document2.body||document2.documentElement),document2.readyState==="loading"?document2.addEventListener("DOMContentLoaded",this._onDocumentLoaded.bind(this)):this._onDocumentLoaded()}return _createClass(InertManager2,[{key:"setInert",value:function(root,inert){if(inert){if(this._inertRoots.has(root))return;var inertRoot=new InertRoot(root,this);if(root.setAttribute("inert",""),this._inertRoots.set(root,inertRoot),!this._document.body.contains(root))for(var parent=root.parentNode;parent;)parent.nodeType===11&&addInertStyle(parent),parent=parent.parentNode}else{if(!this._inertRoots.has(root))return;var _inertRoot=this._inertRoots.get(root);_inertRoot.destructor(),this._inertRoots.delete(root),root.removeAttribute("inert")}}},{key:"getInertRoot",value:function(element){return this._inertRoots.get(element)}},{key:"register",value:function(node,inertRoot){var inertNode=this._managedNodes.get(node);return inertNode!==void 0?inertNode.addInertRoot(inertRoot):inertNode=new InertNode(node,inertRoot),this._managedNodes.set(node,inertNode),inertNode}},{key:"deregister",value:function(node,inertRoot){var inertNode=this._managedNodes.get(node);return inertNode?(inertNode.removeInertRoot(inertRoot),inertNode.destroyed&&this._managedNodes.delete(node),inertNode):null}},{key:"_onDocumentLoaded",value:function(){var inertElements=slice.call(this._document.querySelectorAll("[inert]"));
1inertElements.forEach(function(inertElement){this.setInert(inertElement,!0)},this),this._observer.observe(this._document.body||this._document.documentElement,{attributes:!0,subtree:!0,childList:!0})}},{key:"_watchForInert",value:function(records,self){var _this=this;records.forEach(function(record){switch(record.type){case"childList":slice.call(record.addedNodes).forEach(function(node){if(node.nodeType===Node.ELEMENT_NODE){var inertElements=slice.call(node.querySelectorAll("[inert]"));matches.call(node,"[inert]")&&inertElements.unshift(node),inertElements.forEach(function(inertElement){this.setInert(inertElement,!0)},_this)}},_this);break;case"attributes":if(record.attributeName!=="inert")return;var target=record.target,inert=target.hasAttribute("inert");_this.setInert(target,inert);break}},this)}}]),InertManager2})();function composedTreeWalk(node,callback,shadowRootAncestor){if(node.nodeType==Node.ELEMENT_NODE){var element=node;callback&&callback(element);var shadowRoot=element.shadowRoot;if(shadowRoot){composedTreeWalk(shadowRoot,callback,shadowRoot);return}if(element.localName=="content"){for(var content=element,distributedNodes=content.getDistributedNodes?content.getDistributedNodes():[],i=0;i<distributedNodes.length;i++)composedTreeWalk(distributedNodes[i],callback,shadowRootAncestor);return}if(element.localName=="slot"){for(var slot=element,_distributedNodes=slot.assignedNodes?slot.assignedNodes({flatten:!0}):[],_i=0;_i<_distributedNodes.length;_i++)composedTreeWalk(_distributedNodes[_i],callback,shadowRootAncestor);return}}for(var child=node.firstChild;child!=null;)composedTreeWalk(child,callback,shadowRootAncestor),child=child.nextSibling}function addInertStyle(node){if(!node.querySelector("style#inert-style, link#inert-style")){var style=document.createElement("style");style.setAttribute("id","inert-style"),style.textContent=` 2[inert] { 3 pointer-events: none; 4 cursor: default; 5} 6 7[inert], [inert] * { 8 -webkit-user-select: none; 9 -moz-user-select: none; 10 -ms-user-select: none; 11 user-select: none; 12} 13`,node.appendChild(style)}}if(!HTMLElement.prototype.hasOwnProperty("inert")){var inertManager=new InertManager(document);Object.defineProperty(HTMLElement.prototype,"inert",{enumerable:!0,get:function(){return this.hasAttribute("inert")},set:function(inert){inertManager.setInert(this,inert)}})}})();import{Alpine as Alpine2,AlpinePlugins}from"vendor";import{Splide as Splide2}from"vendor";function fetched_fragment_default(Alpine3){Alpine3.magic("fetchedFragment",(el,{Alpine:Alpine4,evaluateLater})=>(url,selector,loadingClasses=null)=>{let classNames;return loadingClasses&&(classNames=loadingClasses.split(/\s+/g),el.classList.add(...classNames)),async()=>{const html=await fetchHTMLFragment(url,selector);return Alpine4.nextTick(()=>{classNames&&el.classList.remove(...classNames)}),html}})}function html_if_set_default(Alpine3){Alpine3.directive("html-if-set",(el,{modifiers,expression},{effect,evaluateLater})=>{let evaluate=evaluateLater(expression),useEmpty=modifiers.includes("use-empty");function saveInitialHTML(){el._x_custom_initialHTML=el.innerHTML}function getInitialHTML(){return el._x_custom_initialHTML}effect(()=>{let newHTML;evaluate(value=>{value?(newHTML=value,getInitialHTML()||saveInitialHTML()):useEmpty&&value===""?newHTML=value:getInitialHTML()&&(newHTML=getInitialHTML()),(newHTML||useEmpty&&newHTML==="")&&Alpine3.mutateDom(()=>{el.innerHTML=newHTML,el._x_ignoreSelf=!0,Alpine3.initTree(el),delete el._x_ignoreSelf})})})})}var modals_default={domContentLoaded:!1,leftDrawer:{open:!1,contents:""},rightDrawer:{open:!1,contents:""},quickBuyDrawer:{open:!1,contents:""},modal:{open:!1,contents:""},promo:{open:!1,contents:""},popup:{open:!1,contents:""},modals:{},async init(){await switchOnDOMContentLoaded(),await Alpine.nextTick(),await Alpine.nextTick();for(const slotName of["leftDrawer","rightDrawer","quickBuyDrawer","modal","promo","popup"])this.setUpShow(slotName),this.setUpHide(slotName)},register(name,slotName){this.modals[name]=slotName},open(name){if(this.modals[name]){const slotName=this.modals[name];if(this[slotName].contents===name&&this[slotName].open===!0)return;document.body.dispatchEvent(new CustomEvent(`${kebabCase(name)}-will-open`,{bubbles:!0})),document.body.dispatchEvent(new CustomEvent(`${kebabCase(slotName)}-will-open`,{bubbles:!0})),this[slotName].contents=name,this[slotName].open=!0}},close(nameOrSlotName){let name,slotName;this.modals[nameOrSlotName]?(name=nameOrSlotName,slotName=this.modals[nameOrSlotName]):(name=this[nameOrSlotName].contents,slotName=nameOrSlotName),!(this[slotName].contents!==name||this[slotName].open!==!0)&&(document.body.dispatchEvent(new CustomEvent(`${kebabCase(name)}-will-close`,{bubbles:!0})),document.body.dispatchEvent(new CustomEvent(`${kebabCase(slotName)}-will-close`,{bubbles:!0})),this[slotName].open=!1)},setUpShow(slotName){const slotEl=document.getElementById(`${kebabCase(slotName)}-slot`);if(!slotEl)return;const xShowEl=slotEl.closest("[x-show]");if(!(xShowEl&&xShowEl._x_doShow))return;const doShow=xShowEl._x_doShow;xShowEl._x_doShow=async()=>{const xTransitionEl=xShowEl.closest("[x-transition], [x-transition\\:enter], [x-transition\\:enter-start], [x-transition\\:enter-end]")??xShowEl;doShow(),await rafTick();let animations=xTransitionEl.getAnimations();animations.length||(await rafTick(),animations=xTransitionEl.getAnimations()),animations.length&&await Promise.all(animations.map(animation=>animation.finished)).catch(()=>{});const name=Alpine.store("modals")[slotName].contents;document.body.dispatchEvent(new CustomEvent(`${kebabCase(name)}-is-open`,{bubbles:!0})),document.body.dispatchEvent(new CustomEvent(`${kebabCase(slotName)}-is-open`,{bubbles:!0,detail:{name}}))}},setUpHide(slotName){const slotEl=document.getElementById(`${kebabCase(slotName)}-slot`);if(!slotEl)return;const xHideEl=slotEl.closest("[x-show]");if(!(xHideEl&&xHideEl._x_doHide))return;const doHide=xHideEl._x_doHide;xHideEl._x_doHide=async()=>{doHide();const name=Alpine.store("modals")[slotName].contents;Alpine.store("modals")[slotName].contents="",document.body.dispatchEvent(new CustomEvent(`${kebabCase(name)}-is-closed`,{bubbles:!0})),document.body.dispatchEvent(new CustomEvent(`${kebabCase(slotName)}-is-closed`,{bubbles:!0,detail:{name}}))}}
13,closeAll(){Object.keys(this.modals).forEach(modal=>{Alpine.store("modals").close(modal)})},getSlotEl(slotName){return document.getElementById(`${kebabCase(slotName)}-slot`)||null},removeExistingContents(slotName,selector){const existingModalContents=this.getSlotEl(slotName)?.querySelector(selector);existingModalContents&&existingModalContents.remove()}},cart_count_default={count:window.theme&&window.theme.cartItemCount||0,init(){window.addEventListener("baseline:cart:afteradditem",e=>{this._setFromFetchedSection(e.detail.response)}),window.addEventListener("baseline:cart:cartqtychange",e=>{this._setFromFetchedSection(e.detail.response)}),window.addEventListener("baseline:cart:update",e=>{this._setFromFetchedSection(e.detail.response)})},_setFromFetchedSection(data){const countSectionHTML=data.sections["cart-item-count"];this.count=parseInt(parseDOMFromString(countSectionHTML).firstElementChild.innerText.trim(),10),window.theme.cartItemCount=this.count},countWithText(){let string=theme.strings.itemCountOther;return this.count===1&&(string=theme.strings.itemCountOne),string.replace("{{ count }}",this.count)}},age_check_default=({mode,dateFormat,minimumAge,redirectURL,enabled,declineAction})=>({authenticated:!1,mode,dateFormat,minimumAge,redirectURL,month:"",day:"",year:"",date:"",enabled,sectionId:null,storageKey:null,boundOnSectionSelect:null,boundOnSectionDeselect:null,showDeclinedMessage:!1,get fullDate(){return`${this.month}/${this.day}/${this.year}`},init(){this.sectionId=this.$root.id,this.storageKey=`switch-age-check-${this.sectionId}`,window.location.pathname!=="/challenge"&&(Shopify.designMode&&Alpine.store("modals").removeExistingContents("modal","#ageCheck"),initTeleport(this.$root),Alpine.store("modals").register("ageCheck","modal"),Shopify.designMode?(window.theme.designMode.selected===this.sectionId&&(this.enabled===!0?Alpine.store("modals").open("ageCheck"):Alpine.store("modals").close("ageCheck")),this.boundOnSectionSelect=this.onSectionSelect.bind(this),this.boundOnSectionDeselect=this.onSectionDeselect.bind(this),document.addEventListener("shopify:section:select",this.boundOnSectionSelect),document.addEventListener("shopify:section:deselect",this.boundOnSectionDeselect)):getExpiringStorageItem(this.storageKey)!=="approved"&&Alpine.store("modals").open("ageCheck"),this.redirectURL===null&&(this.redirectURL="https://www.google.com"),this.mode==="dob"&&(this.date=new Date,setTimeout(()=>this.setUpDOB(),100)))},onSectionSelect(e){e.target.contains(this.$root)&&this.enabled&&Alpine.store("modals").open("ageCheck")},onSectionDeselect(e){e.target.contains(this.$root)&&this.$store.modals.close("ageCheck")},approveEntry(){Alpine.store("modals").close("ageCheck"),Shopify.designMode||setExpiringStorageItem(this.storageKey,"approved",daysInMs(30))},denyEntry(){declineAction==="redirect"?window.Shopify&&window.Shopify.designMode?this.$event.preventDefault():window.location=this.redirectURL:this.showDeclinedMessage=!0},checkInput(name){switch(name){case"day":const day=Number(this.day);return day>0&&day<32;case"month":const month=Number(this.month);return month>0&&month<13;case"year":const year=Number(this.year);return year>1900&&year<=this.date.getFullYear();default:return!1}},checkAge(){const currentDate=Math.round(this.date.getTime()/1e3),enteredDate=Math.round(new Date(`${this.fullDate}`).getTime()/1e3);Math.floor((currentDate-enteredDate)/31536e3)>parseInt(this.minimumAge,10)?this.approveEntry():this.denyEntry()},setUpDOB(){const formEl=document.getElementById(`dob-form-${this.sectionId}`);formEl.addEventListener("input",e=>{const target=e.target,maxLength=parseInt(target.attributes.maxlength.value,10),targetLength=target.value.length;if(targetLength>=maxLength){if(!this.checkInput(target.getAttribute("name")))return target.value="",!1;let next=target.closest(".input-grid-item");for(;(next=next.nextElementSibling)&&next!==null;){let input=next.querySelector("input");if(input!==null){input.focus();break}}}else if(targetLength===0){let previous=target.closest(".input-grid-item");for(;(previous=previous.previousElementSibling)&&previous!==null;){const input=previous.querySelector("input");if(input!==null){input.focus();break}}}}),formEl.addEventListener("submit",e=>{e.preventDefault(),this.checkInput("day")&&this.checkInput("month")&&this.checkInput("year")&&this.checkAge()})},destroy(){document.removeEventListener("shopify:section:select",this.boundOnSectionSelect),document.removeEventListener("shopify:section:deselect",this.boundOnSectionDeselect)}}),free_shipping_bar_default=()=>({sectionId:null,contentHTML:null,boundOnCartUpdate:null,init(){this.sectionId=getSectionId(this.$root),this.boundOnCartUpdate=this.onCartUpdate.bind(this),window.addEventListener("baseline:cart:afteradditem",this.boundOnCartUpdate),window.addEventListener("baseline:cart:cartqtychange",this.boundOnCartUpdate),window.addEventListener("baseline:cart:update",this.boundOnCartUpdate)},async onCartUpdate(){const updatedSection=await freshHTML(getURLWithParams(window.theme.routes.root_url,{section_id:this.sectionId}));this.contentHTML=querySelectorInHTMLString("[data-mutating-content]",updatedSection).innerHTML},destroy(){window.removeEventListener("baseline:cart:afteradditem",this.boundOnCartUpdate),window.removeEventListener("baseline:cart:cartqtychange",this.boundOnCartUpdate),window.removeEventListener("baseline:cart:update",this.boundOnCartUpdate)}}),cart_items_default=()=>({itemsRoot:null,loading:null,boundOnCartQuantityChange:null,init(){this.itemsRoot=this.$root,this.boundOnCartQuantityChange=this.onCartQuantityChange.bind(this),window.addEventListener("baseline:cart:afteradditem",this.boundOnCartQuantityChange),window.addEventListener("baseline:cart:cartqtychange",this.boundOnCartQuantityChange),window.addEventListener("baseline:cart:update",this.boundOnCartQuantityChange),document.addEventListener("baseline:cart:lock",()=>{this.loading=!0}),document.addEventListener("baseline:cart:unlock",()=>{this.loading=!1})},onCartQuantityChange(e){Alpine.morph(this.itemsRoot,querySelectorInHTMLString("[data-cart-items]",e.detail.response.sections["cart-items"]).outerHTML,{updating(el,toEl,childrenOnly,skip){el.nodeType===1&&el.hasAttribute("ready")&&toEl.setAttribute("ready","")}}),this.$nextTick(()=>{this.itemsRoot.querySelectorAll("input").forEach(inputEl=>{inputEl.value=inputEl.getAttribute("value"),inputEl.dispatchEvent(new Event("input"))})}),this.updateLiveRegion(parseDOMFromString(e.detail.response.sections["cart-live-region"]).firstElementChild.textContent),e.detail.originalTarget&&this.$nextTick(()=>
13{if(!this.itemsRoot.contains(e.detail.originalTarget)){let focusRoot;this.itemsRoot.closest('[role="dialog"]')?focusRoot=this.itemsRoot.closest('[role="dialog"]').parentNode:focusRoot=this.itemsRoot,this.$focus.within(focusRoot).first()}});const itemsRootEl=this.itemsRoot;switch(e.type){case"baseline:cart:afteradditem":document.dispatchEvent(new CustomEvent("theme:product:add",{detail:{cartItemCount:window.theme.cartItemCount,itemsRootEl,lineItemEl:document.querySelector(`[data-line-item-key="${e.detail.response.key}"]`)||null,variantId:e.detail.response.variant_id,key:e.detail.response.key,formEl:document.getElementById(e.detail.sourceId),get cartPromise(){return fetch(window.theme.routes.cart_url,fetchConfigDefaults()).then(res=>res.json()).then(cart=>cart).catch(error=>console.error("Error fetching cart in `theme:product:add`",error))}}}));break;case"baseline:cart:cartqtychange":document.dispatchEvent(new CustomEvent("theme:line-item:change",{detail:{cartItemCount:e.detail.response.item_count,itemsRootEl,lineItemEl:document.querySelector(`[data-line-item-key="${e.detail.key}
13"]`)||null,variantId:e.detail.variantId,key:e.detail.key,quantity:e.detail.quantity,previousQuantity:e.detail.previousQuantity,cart:e.detail.response}}));break;case"baseline:cart:update":document.dispatchEvent(new CustomEvent("theme:cart:update",{detail:{cartItemCount:window.theme.cartItemCount,itemsRootEl,get cartPromise(){return fetch(window.theme.routes.cart_url,fetchConfigDefaults()).then(res=>res.json()).then(cart=>cart).catch(error=>console.error("Error fetching cart in `theme:cart:update`",error))}}}));break}},updateLiveRegion(liveRegionText){if(!liveRegionText)return;const cartStatus=document.getElementById("cart-live-region-text");cartStatus.textContent=liveRegionText,cartStatus.setAttribute("aria-hidden",!1),setTimeout(()=>{cartStatus.setAttribute("aria-hidden",!0)},1e3)},destroy(){window.removeEventListener("baseline:cart:afteradditem",this.boundOnCartQuantityChange),window.removeEventListener("baseline:cart:cartqtychange",this.boundOnCartQuantityChange),window.removeEventListener("baseline:cart:update",this.boundOnCartQuantityChange)}}),cart_item_default=key=>({quantity:null,previousQuantity:null,key,locked:!1,errorMessage:null,init(){document.addEventListener("baseline:cart:lock",()=>{this.locked=!0}),document.addEventListener("baseline:cart:unlock",()=>{this.locked=!1})},async itemQuantityChange(){if(this.locked||this.loading||this.$refs.quantityInput.hasAttribute("data-last-value")&&this.quantity===Number(this.$refs.quantityInput.dataset.lastValue))return;this.locked=!0,this.loading=!0;const request={...fetchConfigDefaults("application/javascript"),body:JSON.stringify({id:this.key,quantity:this.quantity,sections:"cart-items,cart-footer,cart-item-count,cart-live-region",sections_url:window.location.pathname})};try{const data=await(await fetch(theme.routes.cart_change_url,request)).json();data.status===422?(this.errorMessage=data.message,this.quantity=this.previousQuantity,document.dispatchEvent(new CustomEvent("theme:line-item:error",{detail:{message:this.errorMessage,itemsRootEl:this.itemsRoot,lineItemEl:document.querySelector(`[data-line-item-key="${this.key}"]`)||null,variantId:Number(this.$refs.quantityInput.dataset.variantId),key:this.key,quantity:this.quantity}}))):(this.errorMessage=null,document.body.dispatchEvent(new CustomEvent("baseline:cart:cartqtychange",{bubbles:!0,detail:{response:data,key:this.key,quantity:this.quantity,previousQuantity:this.previousQuantity,variantId:Number(this.$refs.quantityInput.dataset.variantId),originalTarget:this.$refs.quantityControl}})))}catch(e){console.error(e),document.getElementById("cart-errors").textContent=theme.strings.cartError,document.dispatchEvent(new CustomEvent("theme:cart:error:other",{detail:{message:theme.strings.cartError,error:e}}))}finally{this.locked=!1,this.loading=!1}},removeItem(){Array.from(this.$root.querySelectorAll('[x-data="CartItemQuantity"]')).filter(el=>el.offsetParent)[0].dispatchEvent(new CustomEvent("remove"))}}),quantity_default={adjustQuantity(adjustCb){typeof this.previousQuantity<"u"&&(this.previousQuantity=this.quantity);const quantityBeforeAdjustment=this.quantity;adjustCb(),this.dispatchInputEvent(),this.quantity!==quantityBeforeAdjustment&&this.$nextTick(()=>{this.dispatchChangeEvent()})},increment(){this.adjustQuantity(()=>{this.$refs.quantityInput.stepUp()})},decrement(){this.adjustQuantity(()=>{this.$refs.quantityInput.stepDown()})},dispatchInputEvent(){this.$refs.quantityInput.dispatchEvent(new Event("input"))},dispatchChangeEvent(){this.$refs.quantityInput.dispatchEvent(new Event("change"))}},cart_item_quantity_default=()=>({remove(){this.adjustQuantity(()=>{this.$refs.quantityInput.value=0})},...quantity_default}),cart_footer_default=()=>({footerRoot:null,_morphFooter(e){const newFooterSection=querySelectorInHTMLString("[data-cart-footer]",e.detail.response.sections["cart-footer"]);Alpine.morph(this.footerRoot,newFooterSection?newFooterSection.outerHTML:"",{updating(el,toEl,childrenOnly,skip){el.classList&&el.classList.contains("additional-checkout-buttons")&&skip(),el.nodeType===1&&el.hasAttribute("ready")&&toEl.setAttribute("ready","")}})},init(){this.footerRoot=this.$root,window.addEventListener("baseline:cart:afteradditem",e=>{this._morphFooter(e)}),window.addEventListener("baseline:cart:cartqtychange",e=>{this._morphFooter(e)}),window.addEventListener("baseline:cart:update",e=>{this._morphFooter(e)})}}),cart_note_default=()=>({updating:!1,note:"",init(){this.note=this.$root.value,this.$watch("note",(value,oldValue)=>{value!==oldValue&&this.updateNote()})},async updateNote(){this.updating=!0,await fetch(theme.routes.cart_update_url,{...fetchConfigDefaults(),body:JSON.stringify({note:this.$root.value})}),this.updating=!1}}),header_default=()=>({isStuck:!1,overlayHeaderWithSticky:null,overlayTextColor:null,init(){this.overlayHeaderWithSticky=this.$root.dataset.overlayHeaderWithSticky==="true",this.overlayHeaderWithSticky&&this.setUpOverlayWithSticky()},setUpOverlayWithSticky(){const positionerEl=document.createElement("div");positionerEl.id="sticky-positioner",document.body.insertBefore(positionerEl,this.$root.closest(".shopify-section")),new IntersectionObserver(([e])=>{e.intersectionRatio===0?this.isStuck=!0:this.isStuck=!1}).observe(positionerEl),this.overlayTextColor=this.$root.dataset.overlayTextColorScheme,this.updateColorScheme(this.isStuck),this.$watch("isStuck",value=>{this.updateColorScheme(value)})},updateColorScheme(isStuck){isStuck?(this.$refs.header.setAttribute("data-color-scheme",""),this.$refs.header.classList.remove("bg-transparent"),this.$refs.header.classList.add("bg-scheme-background")):(this.$refs.header.setAttribute("data-color-scheme",this.overlayTextColor),this.$refs.header.classList.remove("bg-scheme-background"),this.$refs.header.classList.add("bg-transparent"))}}),video_default=(mode="preview")=>({player:null,enabled:!1,playing:!1,id:"",playback:"inline",mode,init(){this.id=this.$root.i
13d,document.body.addEventListener("pauseAllMedia",e=>{e.detail!==null&&e.detail.id===this.$root.id||this.mode!=="autoplay"&&this.pause()}),this.$watch("enabled",value=>{value===!0&&(this.player=this.$root.querySelector("[\\@play][\\@pause]"),this.player.addEventListener("playing",()=>{this.playing=!0}),this.player.addEventListener("paused",()=>{this.playing=!1}))}),this.$watch("playing",value=>{value===!0&&this.dispatchPauseAllMediaEvent()}),this.productMediaWrapper=this.$root.closest("[data-product-single-media-wrapper]"),this.productMediaWrapper!==null&&this.setUpProductMediaListeners(),Shopify.designMode&&document.addEventListener("shopify:section:unload",e=>{e.target.contains(this.$root)&&this.player&&this.player.dispatchEvent(new CustomEvent("deinit"))}),this.mode==="autoplay"&&this.enable(),this.$nextTick(()=>{this.checkImagesLoaded()})},checkImagesLoaded(){this.$root.querySelectorAll("img.track-loaded").forEach(image=>{image.complete?image.classList.add("is-complete"):image.addEventListener("load",()=>{image.classList.add("is-complete")}
13)})},enable(){this.playback==="modal"?(this.$store.modals.modals[this.id]||this.$store.modals.register(this.id,"modal"),this.dispatchPauseAllMediaEvent(),this.$store.modals.open(this.id)):this.enabled=!0},dispatchPauseAllMediaEvent(){document.body.dispatchEvent(new CustomEvent("pauseAllMedia",{detail:{id:this.$root.id}}))},play(){this.enabled===!1||this.player===null||this.player.dispatchEvent(new CustomEvent("play"))},pause(){this.enabled===!1||this.player===null||this.player.dispatchEvent(new CustomEvent("pause"))},setUpProductMediaListeners(){this.productMediaWrapper.addEventListener("mediaHidden",()=>{this.pause()}),this.productMediaWrapper.addEventListener("mediaVisible",()=>{})}}),product_media_video_default=()=>({player:null,productMediaWrapper:null,enabled:!1,playing:!1,init(){document.body.addEventListener("pauseAllMedia",e=>{e.detail!==null&&e.detail.id===this.$root.id||this.pause()}),this.$watch("enabled",value=>{value===!0&&(this.player=this.$root.querySelector("[\\@play][\\@pause]"),this.player.addEventListener("playing",()=>{this.playing=!0}),this.player.addEventListener("paused",()=>{this.playing=!1}))}),this.$watch("playing",value=>{value===!0&&this.dispatchPauseAllMediaEvent()}),this.productMediaWrapper=this.$root.closest("[data-product-single-media-wrapper]"),this.productMediaWrapper&&this.setUpProductMediaListeners(),Shopify.designMode&&document.addEventListener("shopify:section:unload",e=>{e.target.contains(this.$root)&&this.player&&this.player.dispatchEvent(new CustomEvent("deinit"))})},setUpProductMediaListeners(){this.productMediaWrapper.addEventListener("mediaHidden",()=>{this.pause()}),this.productMediaWrapper.addEventListener("mediaVisible",()=>{this.play()})},enable(){this.enabled=!0},dispatchPauseAllMediaEvent(){document.body.dispatchEvent(new CustomEvent("pauseAllMedia",{detail:{id:this.$root.id}}))},play(){this.enabled===!1||this.player===null||this.player.dispatchEvent(new CustomEvent("play"))},pause(){this.enabled===!1||this.player===null||this.player.dispatchEvent(new CustomEvent("pause"))}}),html_video_default=()=>({init(){this.$refs.video.addEventListener("play",()=>{this.$root.dispatchEvent(new CustomEvent("playing",{bubbles:!0}))}),this.$refs.video.addEventListener("pause",()=>{this.$root.dispatchEvent(new CustomEvent("paused",{bubbles:!0}))}),this.$refs.video.autoplay&&(this.$refs.video.preload="auto",this.$nextTick(()=>{this.$refs.video.play()}))},play(){this.$refs.video.play()},pause(){this.$refs.video.pause()}}),filterable_default=()=>({filtersOpen:!1,sortOpen:!1,filtersCache:[],loading:!1,focusedBeforeUpdate:null,searchParams:null,countHTML:null,filtersFormHTML:null,resultsHTML:null,drawerToggleHTML:null,afterUpdateCallback:null,isMdBreakpoint:window.isMdBreakpoint(),mdBreakpointMQL:window.mdBreakpointMQL(),boundOnHistoryChange:null,clickOutside(event,property,sidebarOnDesktop){sidebarOnDesktop&&this.isMdBreakpoint||event.preventDefault(),!(event.target&&(event.target===this.$refs.filterDropDownToggle||event.target===this.$refs.sortDropDownToggle))&&(this[property]=!1)},focusOut(event,property){if(event.relatedTarget){if(event.relatedTarget===this.$refs.filterDropDownToggle||event.relatedTarget===this.$refs.sortDropDownToggle)return;event.relatedTarget.closest("[data-filterable-dropdown]")||(this[property]=!1)}},onEscape(){this.filtersOpen&&(this.filtersOpen=!1,this.$refs.filterDropDownToggle.focus()),this.sortOpen&&(this.sortOpen=!1,this.$refs.sortToggle.focus())},init(){this.isMdBreakpoint=this.mdBreakpointMQL.matches,this.mdBreakpointMQL.addEventListener("change",e=>{this.isMdBreakpoint=e.matches}),this.$root.addEventListener("baseline:filterable:open-filters",()=>{this.filtersOpen=!0}),this.boundOnHistoryChange=this.onHistoryChange.bind(this),window.addEventListener("popstate",this.boundOnHistoryChange),this.$watch("sortOpen",value=>{value===!0&&this.filtersOpen===!0&&(this.filtersOpen=!1)}),this.$watch("filtersOpen",value=>{value===!0&&this.sortOpen===!0&&(this.sortOpen=!1)}),this.$watch("searchParams",this.onSearchParamsUpdate.bind(this))},async onSearchParamsUpdate(value,oldValue){if(value===oldValue)return;const updatedHTML=await fetchHTML(currentURLAddingParams([...value,["section_id",getSectionId(this.$root)]],!0));this.$root.querySelector('[data-fragment-id="count"]')&&(this.countHTML=querySelectorInHTMLString('[data-fragment-id="count"]',updatedHTML).innerHTML),this.$root.querySelector('[data-fragment-id="drawer
13-toggle"]')&&(this.drawerToggleHTML=querySelectorInHTMLString('[data-fragment-id="drawer-toggle"]',updatedHTML).innerHTML);const filterFormFragmentIds=["filters-form-sidebar","filters-form-filters-drop-down","filters-form-sort-drop-down","filters-form-drawer"];for(const fragmentId of filterFormFragmentIds){let fragmentEl,updatedFormFragmentEl;if(fragmentId==="filters-form-drawer"){if(fragmentEl=document.getElementById("filters-form-drawer"),!fragmentEl||(updatedFormFragmentEl=querySelectorInHTMLString(`[data-template-fragment-id="${fragmentId}"]`,updatedHTML)?.content.firstElementChild.querySelector(`[data-fragment-id="${fragmentId}"]`),!updatedFormFragmentEl))continue}else if(fragmentEl=this.$root.querySelector(`[data-fragment-id="${fragmentId}"]`),!fragmentEl||(updatedFormFragmentEl=querySelectorInHTMLString(`[data-fragment-id="${fragmentId}"]`,updatedHTML)||null,!updatedFormFragmentEl))continue;fragmentEl.querySelectorAll("[data-filterable-filter-fragment]").forEach(filterableFragmentEl=>{const updatedFragmentEl=updatedFormFragmentEl.querySelector(`[data-filterable-filter-fragment="${filterableFragmentEl.getAttribute("data-filterable-filter-fragment")}"`);updatedFragmentEl&&(filterableFragmentEl.innerHTML=updatedFragmentEl.innerHTML)})}this.resultsHTML=querySelectorInHTMLString('[data-fragment-id="results"]',updatedHTML).innerHTML,this.afterUpdate()},afterUpdate(){if(this.focusedBeforeUpdate&&document.getElementById(this.focusedBeforeUpdate)){const target=document.getElementById(this.focusedBeforeUpdate);this.$focus.focus(target),target.tagName==="INPUT"&&target.type==="text"&&target.select(),this.focusedBeforeUpdate=null}this.historyChanged?this.historyChanged=!1:this.updateURLHash(this.searchParams),this.loading=!1,this.afterUpdateCallback&&this.$nextTick(()=>{this.afterUpdateCallback(),this.afterUpdateCallback=null})},filterFormSubmit(event){let form=event.target.closest("form");if(event.target.hasAttribute("form")){const formId=event.target.getAttribute("form");form=document.getElementById(formId)}if(this.loading||!form)return;if(this.loading=!0,document.activeElement&&this.$root.contains(document.activeElement)){const targetId=document.activeElement.getAttribute("id");targetId&&(this.focusedBeforeUpdate=targetId)}const formData=new FormData(form);this.searchParams=new URLSearchParams(formData),event.target.name&&event.target.name==="sort_by"&&(this.afterUpdateCallback=()=>{this.sortOpen=!1})},clearAllFilters(){this.searchParams=new URL(this.$event.currentTarget.href).searchParams},updateURLHash(searchParams){const searchParamsString=searchParams.toString();history.pushState({searchParamsString},"",`${window.location.pathname}${searchParamsString&&"?".concat(searchParamsString)}`)},onHistoryChange(event){this.historyChanged=!0,this.searchParams=event.state.searchParams||""},destroy(){window.removeEventListener("popstate",this.boundOnHistoryChange)}}),range_control_default=(min,max,start,end)=>({min:Math.floor(min/100)*100,max:Math.ceil(max/100)*100,valueA:Math.floor(start/100)*100,valueB:Math.ceil(end/100)*100,ready:!1,get rangeStart(){return Math.min(this.valueA,this.valueB)},set rangeStart(value){this.valueA<=this.valueB?this.valueA=value:this.valueB=value},get rangeEnd(){return Math.max(this.valueA,this.valueB)},set rangeEnd(value){this.valueA>=this.valueB?this.valueA=value:this.valueB=value},get rangeStartInMajorUnits(){return this.rangeStart/100},set rangeStartInMajorUnits(value){const num=Number(typeof value=="string"?value.replaceAll(/\D/g,""):value);Number.isNaN(num)||(this.rangeStart=num*100)},get rangeEndInMajorUnits(){return this.rangeEnd/100},set rangeEndInMajorUnits(value){const num=Number(typeof value=="string"?value.replaceAll(/\D/g,""):value);Number.isNaN(num)||(this.rangeEnd=num*100)},get range(){return this.rangeEnd-this.rangeStart},get rangeStartInPercent(){return this.normalize(this.rangeStart)},get rangeEndInPercent(){return this.normalize(this.rangeEnd)},get rangeInPercent(){return this.rangeEndInPercent-this.rangeStartInPercent},get valueCenter(){return this.rangeStart+this.range/2},set valueCenter(value){const proposedRangeStart=Math.round((value-this.range/2)/100)*100,proposedRangeEnd=Math.round((value+this.range/2)/100)*100;if(proposedRangeStart<this.min||proposedRangeEnd>this.max){this.$nextTick(()=>{this.$refs.centerHandle.value=this.valueCenter});return}this.valueA=proposedRangeStart,this.valueB=proposedRangeEnd},init(){this.$nextTick(()=>{this.ready=!0})},normalize(value){return this.max===this.min?0:(value-this.min)/(this.max-this.min)*100},handleRangeStartDirectInputFieldChange(){this.$refs.rangeStartFormField.dispatchEvent(new CustomEvent("indirect-change"))},handleRangeEndDirectInputFieldChange(){this.$refs.rangeEndFormField.dispatchEvent(new CustomEvent("indirect-change"))},handleRangeStartControlChange(){this.$refs.rangeStartFormField.dispatchEvent(new CustomEvent("indirect-change"))},handleRangeEndControlChange(){this.$refs.rangeEndFormField.dispatchEvent(new CustomEvent("indirect-change"))},handleRangeCenterControlChange(){this.$refs.rangeStartFormField.dispatchEvent(new CustomEvent("indirect-change"))}}),option_drop_down_default=()=>({expanded:!1,selectedValue:"",hasSelection:!1,init(){this.$root.querySelector('[aria-selected="true"]')&&(this.hasSelection=!0,this.selectedValue=this.$root.querySelector('[aria-selected="true"]').textContent.trim())},toggle(){if(this.expanded){this.close();return}this.$refs.button.focus(),this.expanded=!0,this.$refs.panel.style.display="";const selectedEl=this.$refs.panel.querySelector("[aria-selected]");selectedEl?this.$focus.focus(selectedEl):this.$focus.within(this.$refs.panel).first()}
13,selectOption(){const optionButtonEls=this.$root.querySelectorAll("[data-single-option-selector]");for(const optionButtonEl of optionButtonEls)optionButtonEl.removeAttribute("aria-selected");this.$el.setAttribute("aria-selected","true"),this.hasSelection=!0,this.selectedValue=this.$el.textContent.trim(),this.close(this.$refs.button),this.optionChange(this.$el)},async close(focusAfter){if(this.expanded&&(this.expanded=!1,this.$refs.panel.style.display="none",focusAfter)){if(Shopify?.designMode&&(await asyncTimeout(500),this.expanded))return;this.$focus.focus(focusAfter)}}}),quantity_default2=()=>({quantity:null,...quantity_default}),add_to_cart_price_default=()=>({totalCurrentPrice:null,totalCurrentComparePrice:null,quantity:1,init(){this.$watch("currentVariant",()=>{this.updateTotalCurrentPrice()});const quantityInputEl=this.resolvedParentRoot.querySelector('[name="quantity"]');if(!quantityInputEl){this.updateTotalCurrentPrice();return}const quantityDataStack=Alpine.$data(quantityInputEl);quantityDataStack&&"quantity"in quantityDataStack&&(this.quantity=quantityDataStack.quantity,this.updateTotalCurrentPrice(),quantityDataStack.$watch("quantity",value=>{this.quantity=value,this.updateTotalCurrentPrice()}))},updateTotalCurrentPrice(){if(!(this.currentVariant&&this.currentVariant.price!==void 0&&this.currentVariant.price!==null)){this.totalCurrentPrice=null,this.totalCurrentComparePrice=null;return}this.totalCurrentPrice=this.currentVariant.price*this.quantity,this.currentVariant.compare_at_price?this.totalCurrentComparePrice=this.currentVariant.compare_at_price*this.quantity:this.totalCurrentComparePrice=null}}),modal_cart_default=({openOnAddToCart})=>({init(){openOnAddToCart===!0&&document.body.addEventListener("baseline:cart:afteradditem",()=>{Alpine.store("modals").closeAll(),Alpine.store("modals").open("cart")}),Alpine.store("modals").register("cart","rightDrawer")}}),rte_default=()=>({init(){this.$root.querySelectorAll("table").forEach(tableEl=>{wrap(tableEl).classList.add("rte__table")}),this.$root.querySelectorAll('iframe[src*="youtube.com"],iframe[src="vimeo"]').forEach(extVideoEl=>{wrap(extVideoEl).classList.add("rte__external-video")})}}),sidebar_default=()=>({boundOnSectionSelect:null,boundOnSectionDeselect:null,init(){Shopify.designMode&&this.setUpDesignMode()},setUpDesignMode(){this.boundOnSectionSelect=this.onSectionSelect.bind(this),this.boundOnSectionDeselect=this.onSectionDeselect.bind(this),document.addEventListener("shopify:section:select",this.boundOnSectionSelect),document.addEventListener("shopify:section:deselect",this.boundOnSectionDeselect)},onSectionSelect(e){e.target.contains(this.$root)&&Alpine.store("modals").open("sidebar")},onSectionDeselect(e){e.target.contains(this.$root)&&Alpine.store("modals").close("sidebar")},destroy(){document.removeEventListener("shopify:section:select",this.boundOnSectionSelect),document.removeEventListener("shopify:section:deselect",this.boundOnSectionDeselect)}}),table_default=()=>({sortCol:0,sortOrder:"asc",sortOpen:!1,originalItems:[],mobileSortLabel:"",initialSortComplete:!1,init(){this.originalItems=[...this.$refs.tableData.children],this.mobileSortLabel=this.$refs.tableHeader.children[this.sortCol].dataset.sortLabel,this.sortItems(),this.initialSortComplete=!0},sort(colIndex){this.sortOrder=this.sortCol===colIndex&&this.sortOrder==="asc"?"desc":"asc",this.sortCol=colIndex,this.sortItems()},mobileSort(colIndex,order){this.sortOrder=order,this.sortCol=colIndex,this.sortItems(),this.mobileSortLabel=this.$refs.tableHeader.children[this.sortCol].dataset.sortLabel,this.sortOpen=!1},sortItems(){const tableContainer=this.$refs.tableData,rows=tableContainer.children,rowsArray=Array.from(rows);rowsArray.sort((a,b)=>{const aSortValue=a.querySelector(`[data-index="${this.sortCol}"]`).dataset.sortValue.toLowerCase(),bSortValue=b.querySelector(`[data-index="${this.sortCol}"]`).dataset.sortValue.toLowerCase();if(!isNaN(aSortValue)&&!isNaN(bSortValue))return this.sortOrder==="asc"?aSortValue-bSortValue:bSortValue-aSortValue;if(isBooleanString(aSortValue)&&isBooleanString(bSortValue)){const aSortBoolValue=stringToBoolean(aSortValue),bSortBoolValue=stringToBoolean(bSortValue);return aSortBoolValue===bSortBoolValue?0:aSortBoolValue?this.sortOrder==="asc"?-1:1:this.sortOrder==="asc"?1:-1}return aSortValue<bSortValue?this.sortOrder==="asc"?-1:1:aSortValue>bSortValue?this.sortOrder==="asc"?1:-1:0}),tableContainer.innerHTML="",rowsArray.forEach(row=>tableContainer.appendChild(row))},restoreOriginalItems(){const tableContainer=this.$refs.tableData;
13tableContainer.innerHTML="",this.originalItems.forEach(item=>tableContainer.appendChild(item))}});function SplidePaginationPlaceholderExtension(Splide3){function mount(){Splide3.root.querySelectorAll("[data-splide-pagination-placeholder]").forEach(el=>{el.remove()})}return{mount}}var slideshow_default=({autoplay=!1,autoplayInterval=null,mode="slideshow",gap=null,onlyIfNeeded=!1})=>({autoplay,autoplayInterval,playing:!1,splide:null,rate:0,mode,gap,onlyIfNeeded,maxLgBreakpointMQL:window.matchMedia("(max-width: 1023px)"),init(){if(typeof Splide>"u"){console.error("The Slideshows component requires a Splide object to be defined in the global scope");return}this.initSplide(),this.onlyIfNeeded&&(this.destroyOrInitIfNeeded(),this.maxLgBreakpointMQL.addEventListener("change",e=>{this.destroyOrInitIfNeeded()})),Shopify.designMode&&this._setUpDesignModeHandlers(),document.addEventListener("dev:hotreloadmutation",async()=>{Shopify.designMode||(this.splide.destroy(),await this.$nextTick(),this.initSplide())})},initSplide(){const options={arrows:!0,pagination:!0,rewind:!0,speed:600,start:parseInt(this.$root.dataset.start,10)-1||0,interval:this.autoplayInterval,autoplay:this.autoplay,drag:!this.autoplay,focusableNodes:"a:not([data-splide-ignore]), button, textarea, input, select, iframe"};this.mode==="carousel"&&(options.autoWidth=!0),this.gap&&(options.gap=this.gap),this.splide=new Splide(this.$root,options),options.autoplay&&(this.splide.on("autoplay:play",()=>{this.playing=!0}),this.splide.on("autoplay:pause",()=>{this.playing=!1}),this.splide.on("autoplay:playing",rate=>{this.rate=rate})),this.splide.mount({SplidePaginationPlaceholderExtension})},destroyOrInitIfNeeded(){const slideEls=Array.from(this.$root.querySelectorAll(".splide__slide")),totalSlidesWidth=slideEls.reduce((totalWidth,slideEl)=>totalWidth+slideEl.getBoundingClientRect().width,0),totalGridlinesWidth=parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--gridline-width"))*(slideEls.length-1);totalSlidesWidth+totalGridlinesWidth<=this.$root.getBoundingClientRect().width?splideIsNotDestroyed(this.splide)&&this.splide.destroy():splideIsNotDestroyed(this.splide)||this.initSplide()},_setUpDesignModeHandlers(){this.$root.addEventListener("slideshow-go",e=>{e.detail&&this.splide.go(parseInt(e.detail,10))})}}),slideshow_pagination_default=()=>({paginationIsWrapped:!1,checkIfWrapped(){this.paginationIsWrapped=hasWrappedChildren(this.$refs.pagination)},init(){this.checkIfWrapped()}}),promo_popup_default=({delay,frequency,enabled})=>({delay,frequency,enabled,sectionId:null,storageKey:null,boundOnSectionSelect:null,boundOnSectionDeselect:null,async init(){if(this.sectionId=this.$root.id,this.storageKey=`switch-popup-${this.sectionId}`,window.location.pathname==="/challenge")return;this.enabled&&(Shopify.designMode&&Alpine.store("modals").removeExistingContents("promo","#promoPopup"),initTeleport(this.$root),Alpine.store("modals").register("promoPopup","promo")),document.body.addEventListener("promo-is-closed",e=>{setExpiringStorageItem(this.storageKey,"shown",daysInMs(this.frequency))});const popupContent=this.$refs.teleported.content.querySelector("template").content,hasErrors=!!popupContent.querySelector("[data-errors]");(popupContent.querySelector("[data-success-message]")||hasErrors)&&(this.open(),this.clearSuccessParams(),setExpiringStorageItem(this.storageKey,"shown",daysInMs(200))),Shopify.designMode?(window.theme.designMode.selected===this.sectionId&&(this.enabled===!0?this.open():Alpine.store("modals").close("promoPopup")),this.boundOnSectionSelect=this.onSectionSelect.bind(this),this.boundOnSectionDeselect=this.onSectionDeselect.bind(this),document.addEventListener("shopify:section:select",this.boundOnSectionSelect),document.addEventListener("shopify:section:deselect",this.boundOnSectionDeselect)):getExpiringStorageItem(this.storageKey)!=="shown"&&setTimeout(()=>{this.open();const escapeHandler=e=>{e.code==="Escape"&&(this.$store.modals.close("promoPopup"),document.body.removeEventListener("keydown",escapeHandler))};document.body.addEventListener("keydown",escapeHandler)},this.delay*1e3)},open(){this.$store.modals.open("promoPopup"),this.$focus.first()},onSectionSelect(e){e.target.contains(this.$root)&&this.enabled&&this.open()},onSectionDeselect(e){e.target.contains(this.$root)&&this.$store.modals.close("promoPopup")},clearSuccessParams(){const updatedParams=new URLSearchParams(window.location.search);updatedParams.has("customer_posted")&&updatedParams.delete("customer_posted");let newURL;updatedParams.toString().length>0?newURL=`${window.location.pathname}?${updatedParams.toString()}`:newURL=window.location.pathname,history.replaceState("",document.title,newURL)},destroy(){document.removeEventListener("shopify:section:select",this.boundOnSectionSelect),document.removeEventListener("shopify:section:deselect",this.boundOnSectionDeselect)}}),countdown_timer_default=({dateTime={year:null,month:null,day:null,hour:null,minute:null},timezone="Z",showYears=!1,showMonths=!1,showDays=!0,showHours=!0,showMinutes=!0,padNumbers=!0,minimumShownParts=3,srTitleBefore=null,srTitle=null,srTitleAfter=null}={})=>({dateTimeParts:["years","months","days","hours","minutes","seconds"],dateTime,timezone,targetDate:null,dateDiff:{years:0,months:0,days:0,hours:0,minutes:0,seconds:0},alreadyHappened:!1,hidden:!1,show:{years:showYears,months:showMonths,days:showDays,hours:showHours,minutes:showMinutes,seconds:!0},padNumbers,minimumShownParts,srTitleBefore,srTitle,srTitleAfter,dateTimeString:null,separatorOn:!0,get years(){return this.getPrettyNumber(this.dateDiff.years)},get months(){return this.getPrettyNumber(this.dateDiff.months)},get days(){return this.getPrettyNumber(this.dateDiff.days)},get hours(){return this.getPrettyNumber(this.dateDiff.hours)},get minutes(){return this.getPrettyNumber(this.dateDiff.minutes)},get seconds(){return this.getPrettyNumber(this.dateDiff.seconds)},get rawYears(){return this.dateDiff.years||0},get rawMonths(){return this.dateDiff.months||0},get rawDays(){return this.dateDiff.days||0},get rawHours(){return this.dateDiff.hours||0},get rawMinutes(){return this.dateDiff.minutes||0},get rawSeconds(){return this.dateDiff.seconds||0}
13,get shownParts(){return Object.values(this.show).filter(Boolean).length||0},get diffAsSentence(){const formattedParts=[];for(const part of this.dateTimeParts){const rawValue=this.dateDiff[part];if(rawValue===0&&this.showZeros===!1)continue;const variant=rawValue===1?"one":"other";part==="years"&&!this.show.years&&this.minimumShownParts<6||part==="months"&&!this.show.months&&this.minimumShownParts<5||part==="days"&&!this.show.days&&this.minimumShownParts<4||part==="hours"&&!this.show.hours&&this.minimumShownParts<3||part==="minutes"&&!this.show.minutes&&this.minimumShownParts<2||formattedParts.push([this[part],theme.strings.dateTimeParts[part][variant]].join(" "))}return formattedParts.join(", ")},get screenReaderText(){return this.alreadyHappened?window.theme.strings.countdownTimerComplete:`${srTitleBefore??""}${window.theme.strings.countdownTimerSRText.replace("{{ target }}",this.srTitle&&this.srTitle!==""?this.srTitle:this.srTargetDate).replace("{{ time_left }}",this.srDiffAsSentence)}${srTitleAfter??""}`},get srTargetDate(){return this.targetDate.toLocaleDateString(window.theme.locale.isoCode,{timezone:window.theme.locale.timeZone,year:"numeric",weekday:"long",month:"long",day:"numeric",hour:"numeric",minute:"numeric"})},srDiffAsSentence:"",intervalID:null,srIntervalId:null,init(){if(!this.dateTime)throw new Error("CountdownTimer: No date input provided");this.dateTimeString=`${this.dateTime.year}-${this.dateTime.month}-${this.dateTime.day.padStart(2,"0")}T${this.dateTime.hour.padStart(2,"0")}:${this.dateTime.minute.padStart(2,0)}:00${this.dateTime.timeZone}`;try{this.targetDate=this.dateFromString(this.dateTimeString)}catch(e){const errorMessage="There was an error parsing the date, please double-check the date provided in settings. "+e.message;this.hidden=!0,console.error(errorMessage)}this.updateDiff(),this.intervalID=setInterval(this.updateDiff.bind(this),1e3),this.$nextTick(()=>{this.updateSRText(),this.srIntervalID=setInterval(this.updateSRText.bind(this),15e3)})},dateFromString(dateTimeString){if(/[\d]{4}\-[\d]{2}\-[\d]{2}T[\d]{2}:[\d]{2}:[\d]{2}[+-]?[\d]{2}:[\d]{2}/.test(dateTimeString))return new Date(dateTimeString);throw new Error(`CountdownTimer: Unparseable date-time string: ${dateTimeString}`)},updateDiff(){const now=new Date;if(this.targetDate<=now){this.markAsAlreadyHappened();return}this.dateDiff=this.calculateDiff(now,this.targetDate),this.show.years=this.dateDiff.years>0||this.minimumShownParts===6,this.show.months=this.dateDiff.months>0||this.show.years||this.minimumShownParts>=5,this.show.days=this.dateDiff.days>0||this.show.months||this.minimumShownParts>=4,this.show.hours=this.dateDiff.hours>0||this.show.days||this.minimumShownParts>=3,this.show.minutes=this.dateDiff.minutes>0||this.show.hours||this.minimumShownParts>=2,this.separatorOn=!this.separatorOn},markAsAlreadyHappened(){clearInterval(this.intervalID),this.dateDiff={years:0,months:0,days:0,hours:0,minutes:0,seconds:0},this.show.years=this.minimumShownParts===6,this.show.months=this.minimumShownParts>=5,this.show.days=this.minimumShownParts>=4,this.show.hours=this.minimumShownParts>=3,this.show.minutes=this.minimumShownParts>=2,this.separatorOn=!0,this.alreadyHappened=!0},calculateDiff(start,end){let startDate=new Date(start.getTime()),endDate=new Date(end.getTime()),years=endDate.getFullYear()-startDate.getFullYear(),months=endDate.getMonth()-startDate.getMonth(),days=endDate.getDate()-startDate.getDate(),hours=endDate.getHours()-startDate.getHours(),minutes=endDate.getMinutes()-startDate.getMinutes(),seconds=endDate.getSeconds()-startDate.getSeconds();if(seconds<0&&(seconds+=60,minutes--),minutes<0&&(minutes+=60,hours--),hours<0&&(hours+=24,days--),days<0){const previousMonth=new Date(endDate.getFullYear(),endDate.getMonth(),0);days+=previousMonth.getDate(),months--}return months<0&&(months+=12,years--),{years,months,days,hours,minutes,seconds}},getPrettyNumber(number){return this.padNumbers?number.toString().padStart(2,"0"):number.toString()},updateSRText(){this.srDiffAsSentence=JSON.parse(JSON.stringify(this.diffAsSentence))},destroy(){clearInterval(this.intervalID),clearInterval(this.srIntervalID)}}),ScrollingItemsContainer=class extends HTMLElement{constructor(){super()}connectedCallback(){this.isConnected&&(this.scrollingItemsEl=this.firstElementChild,this.resizeObserver=new ResizeObserver(debounce(entries=>{const entry=entries[0];entry.contentRect.width!==this.lastWidth&&(this.lastWidth=entry.contentRect.width,this.scrollingItemsEl.adjustScrollingItemsSpeed(),this.scrollingItemsEl.makeClones())},150)),this.resizeObserver.observe(this),this.addEventListener("scrolling-items:change",()=>{this.scrollingItemsEl.adjustScrollingItemsSpeed(),this.scrollingItemsEl.makeClones()}),Shopify.designMode&&document.addEventListener("shopify:section:unload",e=>{e.target.contains(this)&&this.resizeObserver.disconnect()}))}disconnectedCallback(){this.resizeObserver.disconnect()}},ScrollingItems=class _ScrollingItems extends HTMLElement{static mutatingAttributes=["x-html","x-text","x-html-if-set"];static alpineRootAttributes=["x-data","x-init"];constructor(){super()}connectedCallback(){this.isConnected&&(this.mutatingContentEl=this.querySelector("[data-mutating-content]"),this.mutatingContentEl&&this.setUpMutationObserver(),this.adjustScrollingItemsSpeed(),this.makeClones())}adjustScrollingItemsSpeed(){document.documentElement.style.setProperty("--global-scrolling-items-speed-multiplier",window.innerWidth/1024)}makeClones(){let i=0;this.querySelector("noscript")&&this.querySelector("noscript").remove();const scrollingItemsSurfaceEl=this.querySelector("scrolling-items-surface"),originalContentEl=this.querySelector("scrolling-items-content");
13if(!scrollingItemsSurfaceEl||!originalContentEl)return;const originalContentWidth=originalContentEl.getBoundingClientRect().width;if(originalContentWidth===0)return;const totalClonesNeeded=2*Math.ceil(window.innerWidth*2/originalContentWidth/2),sanitizedContentEl=originalContentEl.cloneNode(!0);if(this.mutatingContentEl){const clonedMutatingContentEl=sanitizedContentEl.querySelector("[data-mutating-content]");if(clonedMutatingContentEl)if(clonedMutatingContentEl.removeAttribute("data-mutating-content"),clonedMutatingContentEl.setAttribute("data-cloned-mutating-content",""),_ScrollingItems.alpineRootAttributes.some(attr=>clonedMutatingContentEl.hasAttribute(attr)))clonedMutatingContentEl.setAttribute("x-ignore","");else for(const attribute of _ScrollingItems.mutatingAttributes)clonedMutatingContentEl.hasAttribute(attribute)&&clonedMutatingContentEl.removeAttribute(attribute)}const addClone=()=>{const clone=sanitizedContentEl.cloneNode(!0);scrollingItemsSurfaceEl.append(clone)};for(;scrollingItemsSurfaceEl.children.length!==totalClonesNeeded;){if(totalClonesNeeded===1/0||Number.isNaN(totalClonesNeeded)||i>1e3){console.error("Baseline: Scrolling items: Something went wrong inside the scrolling items layout function",{originalContentWidth,windowInnerWidth:window.innerWidth,totalExistingClones:scrollingItemsSurfaceEl.children.length,totalClonesNeeded});break}scrollingItemsSurfaceEl.children.length>totalClonesNeeded?scrollingItemsSurfaceEl.removeChild(scrollingItemsSurfaceEl.lastChild):addClone()}this.style.setProperty("--local-scrolling-items-speed-multiplier",this.getBoundingClientRect().width/window.innerWidth)}setUpMutationObserver(){this.throttledMutationObserverCb=throttle((_records,_observer)=>{const clonedEls=this.querySelectorAll("[data-cloned-mutating-content]");for(const clonedEl of clonedEls)clonedEl.innerHTML=this.mutatingContentEl.innerHTML,this.mutatingContentEl.hasAttribute("style")&&clonedEl.setAttribute("style",this.mutatingContentEl.getAttribute("style"));this.makeClones()},100,!0),this.mutationObserver=new MutationObserver(this.throttledMutationObserverCb),this.mutationObserver.observe(this.mutatingContentEl,{subtree:!0,childList:!0,attributes:!0})}disconnectedCallback(){this.mutationObserver?.disconnect(),this.mutationObserver=null}},TextFit=class extends HTMLElement{connectedCallback(){this.isConnected&&getComputedStyle(this).getPropertyValue("--support-sentinel")==="9999px"&&(console.log("text-fit: Using JavaScript fallback"),this.resizeObserver=new ResizeObserver(throttle(this.updateFontSize.bind(this),100)),this.resizeObserver.observe(this))}updateFontSize(){const measureEl=this.querySelector('[aria-hidden="true"], text-fit-measure'),displayEl=this.querySelector("[data-display], text-fit-adjusted");measureEl.style.position="absolute",measureEl.style.left="-9999px";const currentFontSize=parseFloat(getComputedStyle(measureEl).fontSize),currentContentElInlineSize=measureEl.getBoundingClientRect().width,ratio=this.getBoundingClientRect().width/currentContentElInlineSize;displayEl.style.setProperty("--font-size",`${currentFontSize*ratio}px`),displayEl.style.setProperty("white-space","nowrap")}disconnectedCallback(){this.resizeObserver?.disconnect(),this.resizeObserver=null}},moneyFormat="${{amount}}";function formatMoney(cents,format){typeof cents=="string"&&(cents=cents.replace(".",""));let value="";const placeholderRegex=/\{\{\s*(\w+)\s*\}\}/,formatString=format||moneyFormat;function formatWithDelimiters(number,precision=2,thousands=",",decimal="."){if(isNaN(number)||number==null)return 0;number=(number/100).toFixed(precision);const parts=number.split("."),dollarsAmount=parts[0].replace(/(\d)(?=(\d\d\d)+(?!\d))/g,`$1${thousands}`),centsAmount=parts[1]?decimal+parts[1]:"";return dollarsAmount+centsAmount}switch(formatString.match(placeholderRegex)[1]){case"amount":value=formatWithDelimiters(cents,2);break;case"amount_no_decimals":value=formatWithDelimiters(cents,0);break;case"amount_with_comma_separator":value=formatWithDelimiters(cents,2,".",",");break;case"amount_no_decimals_with_comma_separator":value=formatWithDelimiters(cents,0,".",",");break}return formatString.replace(placeholderRegex,value)}function liveRegion(content,clear){clearTimeout(window.liveRegionTimeout);let region=document.getElementById("screenreader-announce");region.innerHTML=content,window.liveRegionTimeout=setTimeout(()=>{region.innerHTML=""},3e3)}function cartLiveRegion(item){const templateString=theme.strings.update+": [QuantityLabel]: [Quantity], [Regular] [$$] [DiscountedPrice] [$]. [PriceInformation]";function _liveRegionContent(){let liveRegionContent=templateString;liveRegionContent=liveRegionContent.replace("[QuantityLabel]",theme.strings.quantity).replace("[Quantity]",item.quantity);let regularLabel="",regularPrice=formatMoney(item.original_line_price,theme.moneyFormat),discountLabel="",discountPrice="",discountInformation="";return item.original_line_price>item.final_line_price&&(regularLabel=theme.strings.regularTotal,discountLabel=theme.strings.discountedTotal,discountPrice=formatMoney(item.final_line_price,theme.moneyFormat),discountInformation=theme.strings.priceColumn),liveRegionContent=liveRegionContent.replace("[Regular]",regularLabel).replace("[$$]",regularPrice).replace("[DiscountedPrice]",discountLabel).replace("[$]",discountPrice).replace("[PriceInformation]",discountInformation).replace(" .","").trim(),liveRegionContent}liveRegion(_liveRegionContent(),!0)}function variantLiveRegion(variant){const templateString="[Availability] [Regular] [$$] [Sale] [$]. [UnitPrice] [$$$]";function _getBaseUnit(){return variant.unit_price_measurement.reference_value===1?variant.unit_price_measurement.reference_unit:variant.unit_price_measurement.reference_value+variant.unit_price_measurement.reference_unit}function _liveRegionContent(){let liveRegionContent=templateString;const availability=variant.available?"":theme.strings.soldOut+",";liveRegionContent=liveRegionContent.replace("[Availability]",availability);let regularLabel="",regularPrice=formatMoney(variant.price,theme.moneyFormat),saleLabel="",salePrice="",unitLabel="",unitPrice="";return variant.compare_at_price>variant.price&&(regularLabel=theme.strings.regularPrice,regularPrice=formatMoney(variant.compare_at_price,theme.moneyFormat),saleLabel=theme.strings.sale,salePrice=formatMoney(variant.price,theme.moneyFormat)),variant.unit_price&&(unitLabel=theme.strings.unitPrice,unitPrice=formatMoney(variant.unit_price,theme.moneyFormat)+" "+theme.strings.unitPriceSeparator+" "+_getBaseUnit()),liveRegionContent=liveRegionContent.replace("[Regular]",regularLabel).replace("[$$]",regularPrice).replace("[Sale]",saleLabel).replace("[$]",salePrice).replace("[UnitPrice]",unitLabel).replace("[$$$]",unitPrice).replace(" .","").trim(),liveRegionContent}liveRegion(_liveRegionContent(),!1)}var DataIsland=class extends HTMLElement{constructor(){super()}async connectedCallback(){if(!this.isConnected)return;this._x_ignore=!0;let onVisible=!1,onIdle=!1,onInteraction=!1,onVisibleModifier;if(this.hasAttribute("on")){const onAttribute=this.getAttribute("on");onAttribute==="idle"?onIdle=!0:onAttribute.endsWith("visible")?(onVisible=!0,onVisibleModifier=onAttribute.includes(":")?onAttribute.split(":")[0]:null):onAttribute==="interaction"&&(onInteraction=!0)}else onVisible=!0;onIdle?await this.idle():onVisible?await this.visible(onVisibleModifier):onInteraction&&await this.interaction(),this.hydrate()}idle(){return new Promise(resolve=>{requestIdleCallback(()=>{resolve()})})}interaction(){const events=["touchstart","click"];return new Promise(resolve=>{const onInteractionListener=event=>{for(const eventName of events)this.removeEventListener(eventName,onInteractionListener);resolve()};for(const eventName of events)this.addEventListener(eventName,onInteractionListener)})}visible(modifier=null){const options={rootMargin:"25%"};if(modifier)switch(modifier){case"before":options.rootMargin="125%";break;case"mostly":options.rootMargin="0px",options.threshold=.75;break;case"fully":options.rootMargin="0px",options.threshold=1;break}return new Promise(resolve=>{const io=new IntersectionObserver(entries=>
13{for(const entry of entries){if(!entry.isIntersecting)return;resolve(),io.disconnect();break}},options);if(getComputedStyle(this).display==="contents")for(const childEl of this.children)io.observe(childEl);else io.observe(this)})}async hydrate(){const componentName=this.getAttribute("x-data")?.trim().split("(")[0];componentName&&!componentName.startsWith("{")&&this.hasAttribute("src")&&await importOrImportShim(this.getAttribute("src")),await this.parentHydration(),window.Alpine||await window.alpineInitPromise(),window.alpineIsStarted||await window.alpineStartedPromise(),delete this._x_ignore,await Alpine.nextTick(),Alpine.initTree(this),this.setAttribute("ready","")}parentHydration(){const parentDeferredEl=this.parentElement.closest("data-island:not([ready])");if(parentDeferredEl)return new Promise((resolve,reject)=>{parentDeferredEl&&new MutationObserver((mutationsList,observer)=>{parentDeferredEl.hasAttribute("ready")&&(observer.disconnect(),resolve())}).observe(parentDeferredEl,{attributes:!0,attributeFilter:["ready"]})})}};function init(){!(HTMLScriptElement.supports&&HTMLScriptElement.supports("importmap"))||typeof window.importShim<"u"?window.importOrImportShim=name=>importShim(name):window.importOrImportShim=name=>import(name),window.alpineIsInitialized=!1,window.alpineIsStarted=!1,document.addEventListener("alpine:initialized",()=>{window.alpineIsInitialized=!0}),document.addEventListener("switch:alpine:started",()=>{window.alpineIsStarted=!0}),window.alpineInitPromise=()=>new Promise(resolve=>{window.alpineIsInitialized&&resolve(),document.addEventListener("alpine:initialized",()=>{resolve()})}),window.alpineStartedPromise=()=>new Promise(resolve=>{window.alpineIsStarted&&resolve(),document.addEventListener("switch:alpine:started",()=>{resolve()})}),customElements.get("data-island")||customElements.define("data-island",DataIsland)}var{intersect,focus,collapse,morph,mask}=AlpinePlugins;Alpine2.plugin(intersect),Alpine2.plugin(focus),Alpine2.plugin(collapse),Alpine2.plugin(morph),Alpine2.plugin(fetched_fragment_default),Alpine2.plugin(html_if_set_default),Alpine2.plugin(mask),window.Alpine=Alpine2,window.Spruce=Alpine2,init(),window.Splide=Splide2,window.liveRegion=liveRegion,window.variantLiveRegion=variantLiveRegion,window.cartLiveRegion=cartLiveRegion,document.addEventListener("alpine:init",()=>{Alpine2.store("modals",modals_default),Alpine2.store("cartCount",cart_count_default)}),Alpine2.data("AgeCheck",age_check_default),Alpine2.data("FreeShippingBar",free_shipping_bar_default),Alpine2.data("CartItems",cart_items_default),Alpine2.data("CartItem",cart_item_default),Alpine2.data("CartItemQuantity",cart_item_quantity_default),Alpine2.data("CartFooter",cart_footer_default),Alpine2.data("CartNote",cart_note_default),Alpine2.data("Header",header_default),Alpine2.data("Video",video_default),Alpine2.data("ProductMediaVideo",product_media_video_default),Alpine2.data("HTMLVideo",html_video_default),Alpine2.data("Filterable",filterable_default),Alpine2.data("RangeControl",range_control_default),Alpine2.data("OptionDropDown",option_drop_down_default),Alpine2.data("Quantity",quantity_default2),Alpine2.data("AddToCartPrice",add_to_cart_price_default),Alpine2.data("Sidebar",sidebar_default),Alpine2.data("Table",table_default),Alpine2.data("ModalCart",modal_cart_default),Alpine2.data("RTE",rte_default),Alpine2.data("Slideshow",slideshow_default),Alpine2.data("SlideshowPagination",slideshow_pagination_default),Alpine2.data("PromoPopup",promo_popup_default),Alpine2.data("CountdownTimer",countdown_timer_default),customElements.get("scrolling-items-container")||customElements.define("scrolling-items-container",ScrollingItemsContainer),customElements.get("scrolling-items")||customElements.define("scrolling-items",ScrollingItems),customElements.get("text-fit")||customElements.define("text-fit",TextFit),setTimeout(()=>{Alpine2.start(),document.dispatchEvent(new CustomEvent("switch:alpine:started"))}),console.log("Baseline theme (5.4.0) by SWITCH | Make the switch: https://switchthemes.co"); 14//# sourceMappingURL=/cdn/shop/t/20/assets/global.bundle.js.map?v=81142459501575262931786388113
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.