1window.theme=window.theme||{},theme.dependTypeLibs={"navigation-vertical":"navigation-section",product:"product-global","collection-template":"nouislider","product-crosssell":"fre_bought"},window.slate=window.slate||{},theme.Currency=(function(){var moneyFormat="${{amount}}";function formatMoney(cents,format){typeof cents=="string"&&(cents=cents.replace(".",""));var value="",placeholderRegex=/\{\{\s*(\w+)\s*\}\}/,formatString=format||moneyFormat;function formatWithDelimiters(number,precision,thousands,decimal){if(thousands=thousands||",",decimal=decimal||".",isNaN(number)||number===null)return 0;number=(number/100).toFixed(precision);var 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;case"amount_no_decimals_with_space_separator":value=formatWithDelimiters(cents,0," ");break;case"amount_with_apostrophe_separator":value=formatWithDelimiters(cents,2,"'");break}return formatString.replace(placeholderRegex,value)}return{formatMoney}})();class BTSections{constructor(){this.instances=[],$(document).on("shopify:section:load",this._onSectionLoad.bind(this)).on("shopify:section:unload",this._onSectionChange.bind(this,"onUnload")).on("shopify:section:select",this._onSectionChange.bind(this,"onSelect")).on("shopify:section:deselect",this._onSectionChange.bind(this,"onDeselect")).on("shopify:block:select",this._onSectionChange.bind(this,"onBlockSelect")).on("shopify:block:deselect",this._onSectionChange.bind(this,"onBlockDeselect"))}_beforeCreateInstance(container,type){type||(type=container.attr("data-section-type")),theme.dependTypeLibs[type]==null?BT.loadCssJsLib(type+"-section",()=>{theme.sections.constructors[type]!=null&&this._createInstance(container,theme.sections.constructors[type],type)}):BT.loadCssJsLib(theme.dependTypeLibs[type],()=>{BT.loadCssJsLib(type+"-section",()=>{theme.sections.constructors[type]!=null&&this._createInstance(container,theme.sections.constructors[type],type)})})}_createInstance(container,constructor,type){const id=container.attr("data-section-id");constructor=constructor||theme.sections.constructors[type];const instance=new constructor(container,id,type);this.instances.push(instance)}_onSectionLoad(evt){let hasInstance=!1;if(this.instances.map(ins=>{ins.sectionId==evt.detail.sectionId&&(ins.onLoad(evt),hasInstance=!0)}),!hasInstance){const container=$(evt.target).children();this._beforeCreateInstance(container)}}_onSectionChange(functionName,evt){this.instances.map((instance,index,array)=>{instance.sectionId===evt.detail.sectionId&&(instance[functionName](evt),functionName=="onUnload"&&(delete this.instances[index],this.instances.splice(index,1)))})}registerAll(){$("[data-section-type]").each((index,container)=>{this._beforeCreateInstance($(container))})}initSections(){this.registerAll()}}let sections=new BTSections;Shopify.designMode||$("body").one("beforeShowSidebar-sidebar-mobile-nav",e=>{$('[data-section-type="navigation-mobile"]').each((index,container)=>{BT.callAjax(theme.rootUrl,"GET",{view:"ajax",section_id:$(container).attr("data-section-id")},null,response=>{$(container).html($("nav",response).html()),is_load_ga4_menu_nav!=!0&&ga4_menu_nav()})})});var script_loaded=!1;function loadJSscripts(){if(!script_loaded){script_loaded=!0;var t=document.getElementsByTagName("script");for(i=0;i<t.length;i++)t[i].getAttribute("data-src")!==null&&(t[i].setAttribute("src",t[i].getAttribute("data-src")),delete t[i].dataset.src);var e=document.getElementsByTagName("link");for(i=0;i<e.length;i++)e[i].getAttribute("data-href")!==null&&(e[i].setAttribute("href",e[i].getAttribute("data-href")),delete e[i].dataset.href);initCurrencies(),document.getElementsByTagName("Optimization")[0].click(),BT.loadRequireCss(),BT.init(),sections.initSections()}}Shopify.designMode||BT.data.cacheWindowWidth>BT.options.windowScreen.mobile?window.addEventListener?window.addEventListener("load",function(){loadJSscripts()},!1):window.attachEvent?window.attachEvent("onload",function(){loadJSscripts()}):window.onload=loadJSscripts:(window.addEventListener("scroll",t=>{loadJSscripts()}),window.addEventListener("mousemove",()=>{loadJSscripts()}),window.addEventListener("touchstart",()=>{loadJSscripts()}),window.addEventListener?window.addEventListener("load",()=>{setTimeout(loadJSscripts,Shopify.designMode?0:3e3)},!1):window.attachEvent?window.attachEvent("onload",()=>{setTimeout(loadJSscripts,Shopify.designMode?0:3e3)}):window.onload=loadJSscripts); 2//# sourceMappingURL=/cdn/shop/t/24/assets/theme.js.map?v=48333958362860886821717492558
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.