1function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a 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)}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Constructor}function _typeof(obj){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(obj2){return typeof obj2}:_typeof=function(obj2){return obj2&&typeof Symbol=="function"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2},_typeof(obj)}(function($){var $=jQuery=$,cc={sections:[]};theme.cartNoteMonitor={load:function($notes){$notes.on("change.themeCartNoteMonitor paste.themeCartNoteMonitor keyup.themeCartNoteMonitor",function(){theme.cartNoteMonitor.postUpdate($(this).val())})},unload:function($notes){$notes.off(".themeCartNoteMonitor")},updateThrottleTimeoutId:-1,updateThrottleInterval:500,postUpdate:function(val){clearTimeout(theme.cartNoteMonitor.updateThrottleTimeoutId),theme.cartNoteMonitor.updateThrottleTimeoutId=setTimeout(function(){$.post(theme.routes.cart_url+"/update.js",{note:val},function(data){},"json")},theme.cartNoteMonitor.updateThrottleInterval)}},$.fn.clickyBoxes=function(prefix){if(prefix=="destroy")$(this).off(".clickyboxes"),$(this).next(".clickyboxes").off(".clickyboxes");else return $(this).filter("select:not(.clickybox-replaced)").addClass("clickybox-replaced").each(function(){var prefix2=prefix2||$(this).attr("id"),$optCont=$('<ul class="clickyboxes"/>').attr("id","clickyboxes-"+prefix2).data("select",$(this)).insertAfter(this),$label;$(this).is("[id]")?$label=$('label[for="'+$(this).attr("id")+'"]'):$label=$(this).siblings("label"),$label.length>0&&$optCont.addClass("options-"+removeDiacritics($label.text()).toLowerCase().replace(/'/g,"").replace(/[^a-z0-9]+/g,"-").replace(/-+/g,"-").replace(/-*$/,"")),$(this).find("option").each(function(){$("<li/>").appendTo($optCont).append($('<a href="#"/>').attr("data-value",$(this).val()).html($(this).html()).addClass("opt--"+removeDiacritics($(this).text()).toLowerCase().replace(/'/g,"").replace(/[^a-z0-9]+/g,"-").replace(/-+/g,"-").replace(/-*$/,"")))}),$(this).hide().addClass("replaced").on("change.clickyboxes keyup.clickyboxes",function(){var val=$(this).val();console.log(val);const select=document.querySelector('select[name="id"]');let i=0;for(const child of select.children){if(console.log(child),child.innerText===val)break;i++}console.log(i),select.selectedIndex=i,$optCont.find("a").removeClass("active").filter(function(){return $(this).attr("data-value")==val}).addClass("active")}).trigger("keyup"),$optCont.on("click.clickyboxes","a",function(){if(!$(this).hasClass("active")){var $clicky=$(this).closest(".clickyboxes");$clicky.data("select").val($(this).data("value")).trigger("change"),$clicky.trigger("change")}return!1})})},theme.Shopify={formatMoney:function(t,r){function e(t2,r2){return t2===void 0?r2:t2}function a(t2,r2,a2,o2){if(r2=e(r2,2),a2=e(a2,","),o2=e(o2,"."),isNaN(t2)||t2==null)return 0;t2=(t2/100).toFixed(r2);var n2=t2.split(".");return n2[0].replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1"+a2)+(n2[1]?o2+n2[1]:"")}typeof t=="string"&&(t=t.replace(".",""));var o="",n=/\{\{\s*(\w+)\s*\}\}/,i=r||this.money_format;switch(i.match(n)[1]){case"amount":o=a(t,2);break;case"amount_no_decimals":o=a(t,0);break;case"amount_with_comma_separator":o=a(t,2,".",",");break;case"amount_with_space_separator":o=a(t,2," ",",");break;case"amount_with_period_and_space_separator":o=a(t,2," ",".");break;case"amount_no_decimals_with_comma_separator":o=a(t,0,".",",");break;case"amount_no_decimals_with_space_separator":o=a(t,0," ","");break;case"amount_with_apostrophe_separator":o=a(t,2,"'",".");break;case"amount_with_decimal_separator":o=a(t,2,".",".")}return i.replace(n,o)},formatImage:function(originalImageUrl,format){return originalImageUrl?originalImageUrl.replace(/^(.*)\.([^\.]*)$/g,"$1_"+format+".$2"):""},Image:{imageSize:function(t){var e=t.match(/.+_((?:pico|icon|thumb|small|compact|medium|large|grande)|\d{1,4}x\d{0,4}|x\d{1,4})[_\.@]/);return e!==null?e[1]:null},getSizedImageUrl:function(t,e){if(e==null)return t;if(e=="master")return this.removeProtocol(t);var o=t.match(/\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?$/i);
1if(o!=null){var i=t.split(o[0]),r=o[0];return this.removeProtocol(i[0]+"_"+e+r)}return null},removeProtocol:function(t){return t.replace(/http(s)?:/,"")}}},theme.Disclosure=(function(){var selectors={disclosureList:"[data-disclosure-list]",disclosureToggle:"[data-disclosure-toggle]",disclosureInput:"[data-disclosure-input]",disclosureOptions:"[data-disclosure-option]"},classes={listVisible:"disclosure-list--visible"};function Disclosure($disclosure){this.$container=$disclosure,this.cache={},this._cacheSelectors(),this._connectOptions(),this._connectToggle(),this._onFocusOut()}return Disclosure.prototype=$.extend({},Disclosure.prototype,{_cacheSelectors:function(){this.cache={$disclosureList:this.$container.find(selectors.disclosureList),$disclosureToggle:this.$container.find(selectors.disclosureToggle),$disclosureInput:this.$container.find(selectors.disclosureInput),$disclosureOptions:this.$container.find(selectors.disclosureOptions)}},_connectToggle:function(){this.cache.$disclosureToggle.on("click",function(evt){var ariaExpanded=$(evt.currentTarget).attr("aria-expanded")==="true";$(evt.currentTarget).attr("aria-expanded",!ariaExpanded),this.cache.$disclosureList.toggleClass(classes.listVisible)}.bind(this))},_connectOptions:function(){this.cache.$disclosureOptions.on("click",function(evt){evt.preventDefault(),this._submitForm($(evt.currentTarget).data("value"))}.bind(this))},_onFocusOut:function(){this.cache.$disclosureToggle.on("focusout",function(evt){var disclosureLostFocus=this.$container.has(evt.relatedTarget).length===0;disclosureLostFocus&&this._hideList()}.bind(this)),this.cache.$disclosureList.on("focusout",function(evt){var childInFocus=$(evt.currentTarget).has(evt.relatedTarget).length>
10,isVisible=this.cache.$disclosureList.hasClass(classes.listVisible);isVisible&&!childInFocus&&this._hideList()}.bind(this)),this.$container.on("keyup",function(evt){evt.which===27&&(this._hideList(),this.cache.$disclosureToggle.focus())}.bind(this)),this.bodyOnClick=function(evt){var isOption=this.$container.has(evt.target).length>0,isVisible=this.cache.$disclosureList.hasClass(classes.listVisible);isVisible&&!isOption&&this._hideList()}.bind(this),$("body").on("click",this.bodyOnClick)},_submitForm:function(value){this.cache.$disclosureInput.val(value),this.$container.parents("form").submit()},_hideList:function(){this.cache.$disclosureList.removeClass(classes.listVisible),this.cache.$disclosureToggle.attr("aria-expanded",!1)},unload:function(){$("body").off("click",this.bodyOnClick),this.cache.$disclosureOptions.off(),this.cache.$disclosureToggle.off(),this.cache.$disclosureList.off(),this.$container.off()}}),Disclosure})(),(function(){function throttle(callback,threshold){var debounceTimeoutId=-1,tick=!1;return function(){clearTimeout(debounceTimeoutId),debounceTimeoutId=setTimeout(callback,threshold),tick||(callback.call(),tick=!0,setTimeout(function(){tick=!1},threshold))}}var scrollEvent=document.createEvent("Event");scrollEvent.initEvent("throttled-scroll",!0,!0),window.addEventListener("scroll",throttle(function(){window.dispatchEvent(scrollEvent)},200))})(),theme.Sections=new(function(){var _=this;_._instances=[],_._deferredSectionTargets=[],_._sections=[],_._deferredLoadViewportExcess=300,_._deferredWatcherRunning=!1,_.init=function(){$(document).on("shopify:section:load",function(e){var target=_._themeSectionTargetFromShopifySectionTarget(e.target);target&&_.sectionLoad(target)}).on("shopify:section:unload",function(e){var target=_._themeSectionTargetFromShopifySectionTarget(e.target);target&&_.sectionUnload(target)}),$(window).on("throttled-scroll.themeSectionDeferredLoader debouncedresize.themeSectionDeferredLoader",_._processDeferredSections),_._deferredWatcherRunning=!0},_.register=function(type,section,options){_._sections.push({type,section,afterSectionLoadCallback:options?options.afterLoad:null,afterSectionUnloadCallback:options?options.afterUnload:null}),$('[data-section-type="'+type+'"]').each(function(){Shopify.designMode||options&&options.deferredLoad===!1||!_._deferredWatcherRunning?_.sectionLoad(this):_.sectionDeferredLoad(this,options)})},_.sectionDeferredLoad=function(target,options){_._deferredSectionTargets.push({target,deferredLoadViewportExcess:options&&options.deferredLoadViewportExcess?options.deferredLoadViewportExcess:_._deferredLoadViewportExcess}),_._processDeferredSections(!0)},_._processDeferredSections=function(firstRunCheck){if(_._deferredSectionTargets.length)for(var viewportTop=$(window).scrollTop(),viewportBottom=viewportTop+$(window).height(),loopStart=firstRunCheck===!0?_._deferredSectionTargets.length-1:0,i=loopStart;i<_._deferredSectionTargets.length;i++){var target=_._deferredSectionTargets[i].target,viewportExcess=_._deferredSectionTargets[i].deferredLoadViewportExcess,sectionTop=$(target).offset().top-viewportExcess,doLoad=sectionTop>viewportTop&§ionTop<viewportBottom;if(!doLoad){var sectionBottom=sectionTop+$(target).outerHeight()+viewportExcess*2;doLoad=sectionBottom>viewportTop&§ionBottom<viewportBottom}(doLoad||sectionTop<viewportTop&§ionBottom>viewportBottom)&&(_.sectionLoad(target),_._deferredSectionTargets.splice(i,1),i--)}firstRunCheck!==!0&&_._deferredSectionTargets.length===0&&(_._deferredWatcherRunning=!1,$(window).off(".themeSectionDeferredLoader"))},_.sectionLoad=function(target){var target=target,sectionObj=_._sectionForTarget(target),section=!1;if(sectionObj.section?section=sectionObj.section:section=sectionObj,section!==!1){var instance={target,section,$shopifySectionContainer:$(target).closest(".shopify-section"),thisContext:{functions:section.functions}};if(_._instances.push(instance),$(target).data("components")){var components=$(target).data("components").split(",");components.forEach(function(component){$(document).trigger("cc:component:load",[component,target])})}_._callSectionWith(section,"onSectionLoad",target,instance.thisContext),_._callSectionWith(section,"afterSectionLoadCallback",target,instance.thisContext),section.onSectionSelect&&instance.$shopifySectionContainer.on("shopify:section:select",function(e){_._callSectionWith(section,"onSectionSelect",e.target,instance.thisContext)}),section.onSectionDeselect&&instance.$shopifySectionContainer.on("shopify:section:deselect",function(e){_._callSectionWith(section,"onSectionDeselect",e.target,instance.thisContext)}),section.onBlockSelect&&$(target).on("shopify:block:select",function(e){_._callSectionWith(section,"onBlockSelect",e.target,instance.thisContext)}),section.onBlockDeselect&&$(target).on("shopify:block:deselect",function(e){_._callSectionWith(section,"onBlockDeselect",e.target,instance.thisContext)})}},_.sectionUnload=function(target){for(var sectionObj=_._sectionForTarget(target),instanceIndex=-1,i=0;i<_._instances.length;i++)_._instances[i].target==target&&(instanceIndex=i);if(instanceIndex>-1){var instance=_._instances[instanceIndex];if($(target).off("shopify:block:select shopify:block:deselect"),instance.$shopifySectionContainer.off("shopify:section:select shopify:section:deselect"),_._callSectionWith(instance.section,"onSectionUnload",target,instance.thisContext),_._callSectionWith(sectionObj,"afterSectionUnloadCallback",target,instance.thisContext),_._instances.splice(instanceIndex),$(target).data("c
1omponents")){var components=$(target).data("components").split(",");components.forEach(function(component){$(document).trigger("cc:component:unload",[component,target])})}}else for(var i=0;i<_._deferredSectionTargets.length;i++)if(_._deferredSectionTargets[i].target==target){_._deferredSectionTargets[i].splice(i,1);break}},_._callSectionWith=function(section,method,container2,thisContext){if(typeof section[method]=="function")try{thisContext?section[method].bind(thisContext)(container2):section[method](container2)}catch(ex){var sectionType=container2.dataset.sectionType;console.log("Theme warning: '".concat(method,"' failed for section '").concat(sectionType,"'")),console.debug(container2,ex.stack)}},_._themeSectionTargetFromShopifySectionTarget=function(target){var $target=$("[data-section-type]:first",target);return $target.length>0?$target[0]:!1},_._sectionForTarget=function(target){for(var type=$(target).attr("data-section-type"),i=0;i<_._sections.length;i++)if(_._sections[i].type==type)return _._sections[i];return!1},_._sectionAlreadyRegistered=function(type){for(var i=0;i<_._sections.length;i++)if(_._sections[i].type==type)return!0;return!1}}),theme.scriptsLoaded={},theme.loadScriptOnce=function(src,callback,beforeRun,sync){if(typeof theme.scriptsLoaded[src]>"u"){theme.scriptsLoaded[src]=[];var tag=document.createElement("script");
1tag.src=src,(sync||beforeRun)&&(tag.async=!1),beforeRun&&beforeRun(),typeof callback=="function"&&(theme.scriptsLoaded[src].push(callback),tag.readyState?tag.onreadystatechange=function(){if(tag.readyState=="loaded"||tag.readyState=="complete"){tag.onreadystatechange=null;for(var i=0;i<theme.scriptsLoaded[this].length;i++)theme.scriptsLoaded[this][i]();theme.scriptsLoaded[this]=!0}}.bind(src):tag.onload=function(){for(var i=0;i<theme.scriptsLoaded[this].length;i++)theme.scriptsLoaded[this][i]();theme.scriptsLoaded[this]=!0}.bind(src));var firstScriptTag=document.getElementsByTagName("script")[0];return firstScriptTag.parentNode.insertBefore(tag,firstScriptTag),!0}else if(_typeof(theme.scriptsLoaded[src])==="object"&&typeof callback=="function")theme.scriptsLoaded[src].push(callback);else return typeof callback=="function"&&callback(),!1},theme.loadStyleOnce=function(src){var srcWithoutProtocol=src.replace(/^https?:/,"");if(!document.querySelector('link[href="'+encodeURI(srcWithoutProtocol)+'"]')){var tag=document.createElement("link");tag.href=srcWithoutProtocol,tag.rel="stylesheet",tag.type="text/css";var firstTag=document.getElementsByTagName("link")[0];firstTag.parentNode.insertBefore(tag,firstTag)}},theme.showQuickPopup=function(message,$origin){var $popup=$('<div class="simple-popup"/>'),offs=$origin.offset(),marginLeft=($popup.outerWidth()-$origin.outerWidth())/2;$popup.html(message).css({left:offs.left,top:offs.top}).hide(),$("body").append($popup),$popup.css({marginTop:-$popup.outerHeight()-10,marginLeft:offs.left-marginLeft>0?marginLeft:0}),$popup.fadeIn(200).delay(3500).fadeOut(400,function(){$(this).remove()})};var ccPopup=(function(){"use strict";function ccPopup2($container,namespace){_classCallCheck(this,ccPopup2),this.$container=$container,this.namespace=namespace,this.cssClasses={visible:"cc-popup--visible",bodyNoScroll:"cc-popup-no-scroll",bodyNoScrollPadRight:"cc-popup-no-scroll-pad-right"}}return _createClass(ccPopup2,[{key:"open",value:function(callback){var _this=this;if(this.$container.data("freeze-scroll")){$("body").addClass(this.cssClasses.bodyNoScroll);var scrollDiv=document.createElement("div");scrollDiv.className="popup-scrollbar-measure",document.body.appendChild(scrollDiv);var scrollbarWidth=scrollDiv.getBoundingClientRect().width-scrollDiv.clientWidth;document.body.removeChild(scrollDiv),scrollbarWidth>0&&$("body").css("padding-right",scrollbarWidth+"px").addClass(this.cssClasses.bodyNoScrollPadRight)}this.$container.addClass(this.cssClasses.visible),this.previouslyActiveElement=document.activeElement,setTimeout(function(){_this.$container.find(".cc-popup-close")[0].focus()},500),$(window).on("keydown"+this.namespace,function(event){event.keyCode===27&&_this.close()}),callback&&callback()}},{key:"close",value:function(callback){var _this2=this;if(this.$container.removeClass(this.cssClasses.visible),this.previouslyActiveElement&&$(this.previouslyActiveElement).focus(),$(window).off("keydown"+this.namespace),this.$container.data("freeze-scroll")){var transitionDuration=500,$innerModal=this.$container.find(".cc-popup-modal");$innerModal.length&&(transitionDuration=parseFloat(getComputedStyle($innerModal[0]).transitionDuration),transitionDuration&&transitionDuration>0&&(transitionDuration*=1e3)),setTimeout(function(){$("body").removeClass(_this2.cssClasses.bodyNoScroll).removeClass(_this2.cssClasses.bodyNoScrollPadRight).css("padding-right","0")},transitionDuration)}callback&&callback()}}]),ccPopup2})();theme.VideoManager=new(function(){var _=this;_._permitPlayback=function(container2){return!($(container2).hasClass("video-container--background")&&$(window).outerWidth()<768)},_.youtubeVars={incrementor:0,apiReady:!1,videoData:{},toProcessSelector:'.video-container[data-video-type="youtube"]:not(.video--init)'},_.youtubeApiReady=function(){_.youtubeVars.apiReady=!0,_._loadYoutubeVideos()},_._loadYoutubeVideos=function(container2){$(_.youtubeVars.toProcessSelector,container2).length&&(_.youtubeVars.apiReady?$(_.youtubeVars.toProcessSelector,container2).each(function(){if(_._permitPlayback($(this))){$(this).addClass("video--init"),_.youtubeVars.incrementor++;var containerId="theme-yt-video-"+_.youtubeVars.incrementor;$(this).data("video-container-id",containerId);var videoElement=$('<div class="video-container__video-element">').attr("id",containerId).appendTo($(".video-container__video",this)),autoplay=$(this).data("video-autoplay"),loop=$(this).data("video-loop"),player=new YT.Player(containerId,{height:"360",width:"640",videoId:$(this).data("video-id"),playerVars:{iv_load_policy:3,modestbranding:1,autoplay:autoplay?1:0,loop:loop?1:0,playlist:$(this).data("video-id"),rel:0,showinfo:0},events:{onReady:_._onYoutubePlayerReady.bind({autoplay,loop,$container:$(this)}),onStateChange:_._onYoutubePlayerStateChange.bind({autoplay,loop,$container:$(this)})}});_.youtubeVars.videoData[containerId]={id:containerId,container:this,videoElement,player}}}):theme.loadScriptOnce("https://www.youtube.com/iframe_api"))},_._onYoutubePlayerReady=function(event){event.target.setPlaybackQuality("hd1080"),this.autoplay&&(event.target.mute(),event.target.playVideo()),_._initBackgroun
1dVideo(this.$container)},_._onYoutubePlayerStateChange=function(event){if(event.data==YT.PlayerState.PLAYING&&(this.$container.addClass("video--play-started"),this.autoplay&&event.target.mute(),this.loop)){var finalSecond=event.target.getDuration()-1;if(finalSecond>2){var loopTheVideo=function loopTheVideo2(){event.target.getCurrentTime()>finalSecond&&event.target.seekTo(0),setTimeout(loopTheVideo2,250)};loopTheVideo()}}},_._unloadYoutubeVideos=function(container2){for(var dataKey in _.youtubeVars.videoData){var data=_.youtubeVars.videoData[dataKey];if($(container2).find(data.container).length){data.player.destroy(),delete _.youtubeVars.videoData[dataKey];return}}},_.vimeoVars={incrementor:0,apiReady:!1,videoData:{},toProcessSelector:'.video-container[data-video-type="vimeo"]:not(.video--init)'},_.vimeoApiReady=function(){_.vimeoVars.apiReady=!0,_._loadVimeoVideos()},_._loadVimeoVideos=function(container2){$(_.vimeoVars.toProcessSelector,container2).length&&(_.vimeoVars.apiReady?$(_.vimeoVars.toProcessSelector,container2).each(function(){if(_._permitPlayback($(this))){$(this).addClass("video--init"),_.vimeoVars.incrementor++;var $this=$(this),containerId="theme-vi-video-"+_.vimeoVars.incrementor;$(this).data("video-container-id",containerId);var videoElement=$('<div class="video-container__video-element">').attr("id",containerId).appendTo($(".video-container__video",this)),autoplay=!!$(this).data("video-autoplay"),player=new Vimeo.Player(containerId,{url:$(this).data("video-url"),width:640,loop:$(this).data("video-autoplay"),autoplay,muted:$this.hasClass("video-container--background")});player.on("playing",function(){$(this).addClass("video--play-started")}.bind(this)),player.ready().then(function(){if(autoplay&&(player.setVolume(0),player.play()),player.element&&player.element.width&&player.element.height){var ratio=parseInt(player.element.height)/parseInt(player.element.width);$this.find(".video-container__video").css("padding-bottom",ratio*100+"%")}
1_._initBackgroundVideo($this)}),_.vimeoVars.videoData[containerId]={id:containerId,container:this,videoElement,player,autoPlay:autoplay}}}):window.define?theme.loadScriptOnce("https://player.vimeo.com/api/player.js",function(){_.vimeoVars.apiReady=!0,_._loadVimeoVideos(),window.define=window.tempDefine},function(){window.tempDefine=window.define,window.define=null}):theme.loadScriptOnce("https://player.vimeo.com/api/player.js",function(){_.vimeoVars.apiReady=!0,_._loadVimeoVideos()}))},_._unloadVimeoVideos=function(container2){for(var dataKey in _.vimeoVars.videoData){var data=_.vimeoVars.videoData[dataKey];if($(container2).find(data.container).length){data.player.unload(),delete _.vimeoVars.videoData[dataKey];return}}},_._loadThirdPartyApis=function(container2){_._permitPlayback($(".video-container",container2))&&(_._loadYoutubeVideos(container2),_._loadVimeoVideos(container2))},_.mp4Vars={incrementor:0,videoData:{},toProcessSelector:'.video-container[data-video-type="mp4"]:not(.video--init)'},_._loadMp4Videos=function(container2){$(_.mp4Vars.toProcessSelector,container2).length&&$(_.mp4Vars.toProcessSelector,container2).addClass("video--init").each(function(){_.mp4Vars.incrementor++;var $this=$(this),containerId="theme-mp-video-"+_.mp4Vars.incrementor;$(this).data("video-container-id",containerId);var videoElement=$('<div class="video-container__video-element">').attr("id",containerId).appendTo($(".video-container__video",this)),$video=$("<video playsinline>");$(this).data("video-loop")&&$video.attr("loop","loop"),$(this).data("video-autoplay")&&($video.attr({autoplay:"autoplay",muted:"muted"}),$video[0].muted=!0,$video.one("loadeddata",function(){this.play()})),$video.on("playing",function(){$(this).addClass("video--play-started")}.bind(this)),$video.attr("src",$(this).data("video-url")).appendTo(videoElement)})},_._unloadMp4Videos=function(container2){}
1,_._initBackgroundVideo=function($container){if($container.hasClass("video-container--background")&&$container.find(".video-container__video iframe").length){var assessBackgroundVideo=function(){var $container2=this,cw=$container2.width(),ch=$container2.height(),cr=cw/ch,$frame=$(".video-container__video iframe",this),vr=$frame.attr("width")/$frame.attr("height"),$pan=$(".video-container__video",this),vCrop=75;if(cr>vr){var vh=cw/vr+vCrop*2;$pan.css({marginTop:(ch-vh)/2-vCrop,marginLeft:"",height:vh+vCrop*2,width:""})}else{var vw=cw*vr+vCrop*2*vr;$pan.css({marginTop:-vCrop,marginLeft:(cw-vw)/2,height:ch+vCrop*2,width:vw})}};assessBackgroundVideo.bind($container)(),$(window).on("debouncedresize."+$container.data("video-container-id"),assessBackgroundVideo.bind($container))}},this.onSectionLoad=function(container2){$(".video-container[data-video-url]:not([data-video-type])").each(function(){var url=$(this).data("video-url");url.indexOf(".mp4")>-1&&$(this).attr("data-video-type","mp4"),url.indexOf("vimeo.com")>-1&&($(this).attr("data-video-type","vimeo"),$(this).attr("data-video-id",url.split("?")[0].split("/").pop())),(url.indexOf("youtu.be")>-1||url.indexOf("youtube.com")>-1)&&($(this).attr("data-video-type","youtube"),url.indexOf("v=")>-1?$(this).attr("data-video-id",url.split("v=").pop().split("&")[0]):$(this).attr("data-video-id",url.split("?")[0].split("/").pop()))}),_._loadThirdPartyApis(container2),_._loadMp4Videos(container2),$(window).on("debouncedresize.video-manager-resize",function(){_._loadThirdPartyApis(container2)}),$(".video-container__play",container2).on("click",function(evt){evt.preventDefault();var $container=$(this).closest(".video-container");$container.addClass("video-container--playing"),$(container2).trigger("cc:video:play");var id=$container.data("video-container-id");id.indexOf("theme-yt-video")===0?_.youtubeVars.videoData[id].player.playVideo():_.vimeoVars.videoData[id].player.play()}),$(".video-container__stop",container2).on("click",function(evt){evt.preventDefault();var $container=$(this).closest(".video-container");$container.removeClass("video-container--playing"),$(container2).trigger("cc:video:stop");var id=$container.data("video-container-id");id.indexOf("theme-yt-video")===0?_.youtubeVars.videoData[id].player.stopVideo():(_.vimeoVars.videoData[id].player.pause(),_.vimeoVars.videoData[id].player.setCurrentTime(0))})},this.onSectionUnload=function(container2){$(".video-container__play, .video-container__stop",container2).off("click"),$(window).off("."+$(".video-container").data("video-container-id")),$(window).off("debouncedresize.video-manager-resize"),_._unloadYoutubeVideos(container2),_._unloadVimeoVideos(container2),_._unloadMp4Videos(container2),$(container2).trigger("cc:video:stop")}}),window.onYouTubeIframeAPIReady=function(){theme.VideoManager.youtubeApiReady()},cc.sections.push({name:"video",section:theme.VideoManager}),theme.MapSection=new(function(){var _=this;_.config={zoom:14,styles:{default:[],silver:[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#c9c9c9"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]}],retro:[{elementType:"geometry",stylers:[{color:"#ebe3cd"}]},{elementType:"labels.text.fill",stylers:[{color:"#523735"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f1e6"}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#c9b2a6"}]},{featureType:"administrative.land_parcel",elementType:"geometry.stroke",stylers:[{color:"#dcd2be"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#ae9e90"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#93817c"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#a5b076"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#447530"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#f5f1e6"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#fdfcf8"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#f8c967"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#e9bc62"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#e98d
158"}]},{featureType:"road.highway.controlled_access",elementType:"geometry.stroke",stylers:[{color:"#db8555"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#806b63"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"transit.line",elementType:"labels.text.fill",stylers:[{color:"#8f7d77"}]},{featureType:"transit.line",elementType:"labels.text.stroke",stylers:[{color:"#ebe3cd"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#b9d3c2"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#92998d"}]}],dark:[{elementType:"geometry",stylers:[{color:"#212121"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{elementType:"labels.text.stroke",stylers:[{color:"#212121"}]},{featureType:"administrative",elementType:"geometry",stylers:[{color:"#757575"}]},{featureType:"administrative.country",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"administrative.land_parcel",stylers:[{visibility:"off"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#181818"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"poi.park",elementType:"labels.text.stroke",stylers:[{color:"#1b1b1b"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#2c2c2c"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#8a8a8a"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#373737"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#3c3c3c"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#4e4e4e"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#3d3d3d"}]}],night:[{elementType:"geometry",stylers:[{color:"#242f3e"}]},{elementType:"labels.text.fill",stylers:[{color:"#746855"}]},{elementType:"labels.text.stroke",stylers:[{color:"#242f3e"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#263c3f"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#6b9a76"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#38414e"}]},{featureType:"road",elementType:"geometry.stroke",stylers:[{color:"#212a37"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#9ca5b3"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#746855"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#1f2835"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#f3d19c"}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#2f3948"}]},{featureType:"transit.station",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#17263c"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#515c6d"}]},{featureType:"water",elementType:"labels.text.stroke",stylers:[{color:"#17263c"}]}],aubergine:[{elementType:"geometry",stylers:[{color:"#1d2c4d"}]},{elementType:"labels.text.fill",stylers:[{color:"#8ec3b9"}]},{elementType:"labels.text.stroke",stylers:[{color:"#1a3646"}]},{featureType:"administrative.country",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#64779e"}]},{featureType:"administrative.province",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"landscape.man_made",elementType:"geometry.stroke",stylers:[{color:"#334e87"}
1]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#023e58"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#283d6a"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#6f9ba5"}]},{featureType:"poi",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#023e58"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#3C7680"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#304a7d"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"road",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#2c6675"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#255763"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#b0d5ce"}]},{featureType:"road.highway",elementType:"labels.text.stroke",stylers:[{color:"#023e58"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"transit",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"transit.line",elementType:"geometry.fill",stylers:[{color:"#283d6a"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#3a4762"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#0e1626"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#4e6d70"}]}]}},_.apiStatus=null,this.geolocate=function($map){var deferred=$.Deferred(),geocoder=new google.maps.Geocoder,address=$map.data("address-setting");return geocoder.geocode({address},function(results,status2){status2!==google.maps.GeocoderStatus.OK&&deferred.reject(status2),deferred.resolve(results)}),deferred},this.createMap=function(container2){var $map=$(".map-section__map-container",container2);return _.geolocate($map).then(function(results){var mapOptions={zoom:_.config.zoom,styles:_.config.styles[$(container2).data("map-style")],center:results[0].geometry.location,scrollwheel:!1,disableDoubleClickZoom:!0,disableDefaultUI:!0,zoomControl:!0};_.map=new google.maps.Map($map[0],mapOptions),_.center=_.map.getCenter();var marker=new google.maps.Marker({map:_.map,position:_.center,clickable:!1});google.maps.event.addDomListener(window,"resize",function(){google.maps.event.trigger(_.map,"resize"),_.map.setCenter(_.center)})}.bind(this)).fail(function(){var errorMessage;switch(status){case"ZERO_RESULTS":errorMessage=theme.strings.addressNoResults;break;case"OVER_QUERY_LIMIT":errorMessage=theme.strings.addressQueryLimit;break;default:errorMessage=theme.strings.addressError;break}if(Shopify.designMode){var $mapContainer=$map.parents(".map-section");$mapContainer.addClass("page-width map-section--load-error"),$mapContainer.find(".map-section__wrapper").html('<div class="errors text-center">'+errorMessage+"</div>")}})},this.onSectionLoad=function(target){var $container=$(target);window.gm_authFailure=function(){Shopify.designMode&&($container.addClass("page-width map-section--load-error"),$container.find(".map-section__wrapper").html('<div class="errors text-center">'+theme.strings.authError+"</div>"))};var key=$container.data("api-key");typeof key!="string"||key===""||theme.loadScriptOnce("https://maps.googleapis.com/maps/api/js?key="+key,function(){_.createMap($container)})},this.onSectionUnload=function(target){typeof window.google<"u"&&typeof google.maps<"u"&&google.maps.event.clearListeners(this.map,"resize")}}),cc.sections.push({name:"map",section:theme.MapSection}),theme.NestedSectionsSection=new(function(){this.onSectionLoad=function(container2){$("[data-nested-section-type]",container2).each(function(){for(var type=$(this).attr("data-nested-section-type"),section=null,i=0;i<theme.Sections._sections.length;i++)theme.Sections._sections[i].type==type&&(section=theme.Sections._sections[i].section);if(section){var instance={target:this,section,$shopifySectionContainer:$(this).closest(".shopify-section"),thisContext:{}};theme.Sections._instances.push(instance),$(this).data("themeSectionInstance",instance),section.onSectionLoad.bind(instance.thisContext)(this)}})},this.onSectionUnload=function(container2){$("[data-nested-section-type]",container2).each(function(){$(this).data("themeSectionInstance")&&theme.Sections.sectionUnload.bind($(this).data("themeSectionInstance").thisContext)(this)})},this.onBlockSelect=function(target){$(window).scrollTop($(target).offset().top-100)}}),cc.sections.push({name:"nested-sections",section:theme.NestedSectionsSection}),theme.StoreAvailability=function(container2){var loadingClass="store-availability-loading",initClass="store-availability-initialized",storageKey="cc-location";this.onSectionLoad=function(container3){var _this3=this;this.namespace=theme.namespaceFromSection(container3),this.$container=$(container3),this.productId=this.$container.data("store-availability-container"),this.sectionUrl=this.$container.data("section-url"),this.$modal;var firstRun=!0;$(window).on("cc-variant-updated".concat(this.namespace).concat(this.productId),function(e,args){args.product.id===_this3.productId&&(_this3.functions.updateContent.bind(_this3)(args.variant.id,args.product.title,firstRun,_this3.$container.data("has-only-default-variant"),typeof args.variant.available<"u"),firstRun=!1)}),this.$container.data("single-variant-id")&&(this.functions.updateContent.bind(this)(this.$container.data("single-variant-id"),this.$container.data("single-variant-product-title"),firstRun,this.$container.data("has-only-default-variant"),this.$container.data("single-variant-product-available")),firstRun=!1)},this.onSectionUnload=function(){$(window).off("cc-variant-updated".concat(this.namespace).concat(this.productId)),this.$container.off("click"),this.$modal&&this.$modal.off("click")},this.functions={getUserLocation:function(){return new Promise(function(resolve,reject){var storedCoords;sessionStorage[storageKey]&&(storedCoords=JSON.parse(sessionStorage[storageKey])),storedCoords?resolve(storedCoords):navigator.geolocation?navigator.geolocation.getCurrentPosition(function(position){var coords={latitude:position.coords.latitude,longitude:position.coords.longitude};fetch("/localization.json",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(coords)}),sessionStorage[storageKey]=JSON.stringify(coords),resolve(coords)},function(){resolve(!1)},{maximumAge:36e5,timeout:5e3}):resolve(!1)})},getAvailableStores:function(variantId,cb){return $.get(this.sectionUrl.replace("VARIANT_ID",variantId),cb)}
1,calculateDistance:function(coords1,coords2,unitSystem){var dtor=Math.PI/180,radius=unitSystem==="metric"?6378.14:3959,rlat1=coords1.latitude*dtor,rlong1=coords1.longitude*dtor,rlat2=coords2.latitude*dtor,rlong2=coords2.longitude*dtor,dlon=rlong1-rlong2,dlat=rlat1-rlat2,a=Math.pow(Math.sin(dlat/2),2)+Math.cos(rlat1)*Math.cos(rlat2)*Math.pow(Math.sin(dlon/2),2),c=2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a));return radius*c},updateLocationDistances:function(coords){var unitSystem=this.$modal.find("[data-unit-system]").data("unit-system"),self=this;this.$modal.find('[data-distance="false"]').each(function(){var _this4=this,thisCoords={latitude:parseFloat($(this).data("latitude")),longitude:parseFloat($(this).data("longitude"))};if(thisCoords.latitude&&thisCoords.longitude){var distance=self.functions.calculateDistance(coords,thisCoords,unitSystem).toFixed(1);$(this).html(distance),setTimeout(function(){$(_this4).closest(".store-availability-list__location__distance").addClass("-in")},0)}$(this).attr("data-distance","true")})},updateContent:function(variantId,productTitle,firstRun,isSingleDefaultVariant,isVariantAvailable){var _this5=this;this.$container.off("click","[data-store-availability-modal-open]"),this.$container.off("click"+this.namespace,".cc-popup-close, .cc-popup-background"),$(".store-availabilities-modal").remove(),firstRun?this.$container.hide():isVariantAvailable?(this.$container.addClass(loadingClass).addClass(initClass),this.$container.css("height",this.$container.outerHeight()>0?this.$container.outerHeight()+"px":"auto")):(this.$container.addClass(loadingClass).addClass(initClass),this.$container.css("height","0px")),isVariantAvailable&&this.functions.getAvailableStores.call(this,variantId,function(response){if(response.trim().length>0&&!response.includes("NO_PICKUP")){_this5.$container.html(response),_this5.$container.html(_this5.$container.children().first().html()),_this5.$container.find("[data-store-availability-modal-product-title]").html(productTitle),isSingleDefaultVariant&&_this5.$container.find(".store-availabilities-modal__variant-title").remove(),_this5.$container.find(".cc-popup").appendTo("body"),_this5.$modal=$("body").find(".store-availabilities-modal");var popup=new ccPopup(_this5.$modal,_this5.namespace);if(_this5.$container.on("click","[data-store-availability-modal-open]",function(){return popup.open(),_this5.functions.getUserLocation().then(function(coords){coords&&_this5.$modal.find('[data-distance="false"]').length&&_this5.functions.getAvailableStores.call(_this5,variantId,function(response2){_this5.$modal.find(".store-availabilities-list").html($(response2).find(".store-availabilities-list").html()),_this5.functions.updateLocationDistances.bind(_this5)(coords)})}),!1}),_this5.$modal.on("click"+_this5.namespace,".cc-popup-close, .cc-popup-background",function(){popup.close()}),firstRun)_this5.$container.slideDown(300);else{_this5.$container.removeClass(loadingClass);var newHeight=_this5.$container.find(".store-availability-container").outerHeight();_this5.$container.css("height",newHeight>0?newHeight+"px":"auto")}}})}},this.onSectionLoad(container2)},cc.sections.push({name:"store-availability",section:theme.StoreAvailability}),theme.Popup=new(function(){var dismissedStorageKey="cc-theme-popup-dismissed";this.onSectionLoad=function(container2){var _this6=this;this.namespace=theme.namespaceFromSection(container2),this.$container=$(container2),this.popup=new ccPopup(this.$container,this.namespace);var dismissForDays=this.$container.data("dismiss-for-days"),delaySeconds=this.$container.data("delay-seconds"),showPopup=!0,testMode=this.$container.data("test-mode"),lastDismissed=window.localStorage.getItem(dismissedStorageKey);if(lastDismissed){var dismissedDaysAgo=(new Date().getTime()-lastDismissed)/864e5;dismissedDaysAgo<dismissForDays&&(showPopup=!1)}this.$container.find(".cc-popup-form__response").length&&(showPopup=!0,delaySeconds=1,this.$container.find(".cc-popup-form__response--success").length&&this.functions.popupSetAsDismissed.call(this)),document.querySelector(".shopify-challenge__container")&&(showPopup=!1),(showPopup||testMode)&&setTimeout(function(){_this6.popup.open()},delaySeconds*1e3),this.$container.on("click"+this.namespace,".cc-popup-close, .cc-popup-background",function(){_this6.popup.close(function(){_this6.functions.popupSetAsDismissed.call(_this6)})})},this.onSectionSelect=function(){this.popup.open()},this.functions={popupSetAsDismissed:function(){window.localStorage.setItem(dismissedStorageKey,new Date().getTime())}},this.onSectionUnload=function(){this.$container.off(this.namespace)}}),cc.sections.push({name:"newsletter-popup",section:theme.Popup}),theme.icons={left:'<svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><title>'+theme.strings.icon_labels_left+'</title><path d="M0 0h24v24H0z" fill="none"/><path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"/></svg>',right:'<svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><title>'+theme.strings.icon_labels_right+'</title><path d="M0 0h24v24H0z" fill="none"/><path d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"/></svg>',close:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><title>'+theme.strings.icon_labels_close+'</title><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>',chevronLeft:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-left"><title>'+theme.strings.icon_labels_left+'</title><polyline points="15 18 9 12 15 6"></polyline></svg>',chevronRight:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><title>'+theme.strings.icon_labels_right+'</title><polyline points="9 18 15 12 9 6"></polyline></svg>',chevronDown:'<svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><title>'+theme.strings.icon_labels_down+'</title><path d="M7.41 7.84L12 12.42l4.59-4.58L18 9.25l-6 6-6-6z"/><path d="M0-.75h24v24H0z" fill="none"/></svg>',tick:'<svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h24v24H0z" fill="none"/><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>',label:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="feather feather-tag"><title>Label</title><path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"></path><line x1="7" y1="7" x2="7" y2="7"></line></svg>'};try{theme.Shopify.features=JSON.parse(document.documentElement.querySelector("#shopify-features").textContent)}catch(e){theme.Shopify.features={}}theme.namespaceFromSection=function(container2){return[".",$(container2).data("section-type"),$(container2).data("section-id")].join("")},theme.buildGalleryViewer=function(config){for(var $allContainer=$('<div class="gallery-viewer gallery-viewer--pre-reveal">'),$zoomContainer=$('<div class="gallery-viewer__zoom-container">').appendTo($allContainer),$thumbContainer=$('<div class="gallery-viewer__thumbs">').appendTo($allContainer),$controlsContainer=$('<div class="gallery-viewer__controls">').appendTo($allContainer),$close=$('<a class="gallery-viewer__button gallery-viewer__close" href="#">').html(config.close).appendTo($controlsContainer),$right=$('<a class="gallery-viewer__button gallery-viewer__prev" href="#">').html(config.prev).appendTo($controlsContainer),$left=$('<a class="gallery-viewer__button gallery-viewer__next" href="#">').html(config.next).appendTo($controlsContainer),$currentZoomImage=null,wheelZoomMultiplier=-.001,pinchZoomMultiplier=.003,touchPanModifier=1,currentTransform={panX:0,panY:0,zoom:1},i=0;i<config.images.length;i++){var img=config.images[i];$('<a class="gallery-viewer__thumb" href="#">').data("zoom-url",img.zoomUrl).html(img.thumbTag).appendTo($thumbContainer)}config.images.length===1&&$allContainer.addClass("gallery-viewer--single-image");var panZoomImageFromCoordinate=function(inputX,inputY){var doPanX=$currentZoomImage.width()>
1$allContainer.width(),doPanY=$currentZoomImage.height()>$allContainer.height();if(doPanX||doPanY){var midX=$allContainer.width()/2,midY=$allContainer.height()/2,offsetFromCentreX=inputX-midX,offsetFromCentreY=inputY-midY,finalOffsetX=0,finalOffsetY=0;if(doPanX){var offsetMultiplierX=($currentZoomImage.width()-$allContainer.width())/2/midX;finalOffsetX=Math.round(-offsetFromCentreX*offsetMultiplierX)}if(doPanY){var offsetMultiplierY=($currentZoomImage.height()-$allContainer.height())/2/midY;finalOffsetY=Math.round(-offsetFromCentreY*offsetMultiplierY)}currentTransform.panX=finalOffsetX,currentTransform.panY=finalOffsetY,alterCurrentPanBy(0,0),updateImagePosition()}},alterCurrentPanBy=function(x,y){currentTransform.panX+=x;var panXMax=($currentZoomImage[0].naturalWidth*currentTransform.zoom-$allContainer.width())/2;panXMax=Math.max(panXMax,0),currentTransform.panX=Math.min(currentTransform.panX,panXMax),currentTransform.panX=Math.max(currentTransform.panX,-panXMax),currentTransform.panY+=y;var panYMax=($currentZoomImage[0].naturalHeight*currentTransform.zoom-$allContainer.height())/2;panYMax=Math.max(panYMax,0),currentTransform.panY=Math.min(currentTransform.panY,panYMax),currentTransform.panY=Math.max(currentTransform.panY,-panYMax),updateImagePosition()},setCurrentTransform=function(panX,panY,zoom){currentTransform.panX=panX,currentTransform.panY=panY,currentTransform.zoom=zoom,alterCurrentTransformZoomBy(0)},alterCurrentTransformZoomBy=function(delta){currentTransform.zoom+=delta,currentTransform.zoom=Math.min(currentTransform.zoom,1);var maxZoomX=$allContainer.width()/$currentZoomImage[0].naturalWidth,maxZoomY=$allContainer.height()/$currentZoomImage[0].naturalHeight;currentTransform.zoom=Math.max(currentTransform.zoom,Math.min(maxZoomX,maxZoomY)),alterCurrentPanBy(0,0),updateImagePosition()},updateImagePosition=function(){$currentZoomImage.css("transform","translate3d(".concat(currentTransform.panX,"px, ").concat(currentTransform.panY,"px, 0) scale(").concat(currentTransform.zoom,")"))};$allContainer.on("click.galleryViewer select.galleryViewer",".gallery-viewer__thumb",function(evt){evt.preventDefault(),$(this).addClass("gallery-viewer__thumb--active").siblings(".gallery-viewer__thumb--active").removeClass("gallery-viewer__thumb--active"),$currentZoomImage=$('<img class="gallery-viewer__zoom-image" alt="" style="visibility: hidden">'),$currentZoomImage.on("load",function(){$(this).off("load"),$(this).css({visibility:"",top:$allContainer.height()/2-$(this).height()/2,left:$allContainer.width()/2-$(this).width()/2}),setCurrentTransform(0,0,1)}).attr("src",$(this).data("zoom-url")),$zoomContainer.html($currentZoomImage)});var pinchTracking={isTracking:!1,lastPinchDistance:0},touchTracking={isTracking:!1,lastTouchX:0,lastTouchY:0};$allContainer.on("touchend.galleryViewer",function(evt){pinchTracking.isTracking=!1,touchTracking.isTracking=!1}),$allContainer.on("mousemove.galleryViewer touchmove.galleryViewer",function(evt){if(evt.preventDefault(),evt.type==="touchmove"&&evt.touches.length>0){var touch1=evt.touches[0];if(touchTracking.isTracking?(alterCurrentPanBy((touch1.clientX-touchTracking.lastTouchX)*touchPanModifier,(touch1.clientY-touchTracking.lastTouchY)*touchPanModifier),touchTracking.lastTouchX=touch1.clientX,touchTracking.lastTouchY=touch1.clientY):(touchTracking.isTracking=!0,touchTracking.lastTouchX=touch1.clientX,touchTracking.lastTouchY=touch1.clientY),evt.touches.length===2){var touch2=evt.touches[1],pinchDistance=Math.sqrt(Math.pow(touch1.clientX-touch2.clientX,2)+Math.pow(touch1.clientY-touch2.clientY,2));if(!pinchTracking.isTracking)pinchTracking.lastPinchDistance=pinchDistance,pinchTracking.isTracking=!0;else{var pinchDelta=pinchDistance-pinchTracking.lastPinchDistance;alterCurrentTransformZoomBy(pinchDelta*pinchZoomMultiplier),pinchTracking.lastPinchDistance=pinchDistance}}else pinchTracking.isTracking=!1}else panZoomImageFromCoordinate(evt.clientX,evt.clientY)}),$allContainer.on("wheel.galleryViewer",function(evt){evt.preventDefault(),evt.originalEvent.deltaY!=0&&alterCurrentTransformZoomBy(evt.originalEvent.deltaY*wheelZoomMultiplier)}),$allContainer.on("touchmove.galleryViewer",".gallery-viewer__thumbs",function(evt){evt.stopPropagation()}),$allContainer.on("click.galleryViewer",".gallery-viewer__next",function(evt){evt.preventDefault();var $next=$thumbContainer.find(".gallery-viewer__thumb--active").next();$next.length===0&&($next=$thumbContainer.find(".gallery-viewer__thumb:first")),$next.trigger("select")}),$allContainer.on("click.galleryViewer",".gallery-viewer__prev",function(evt){evt.preventDefault();var $prev=$thumbContainer.find(".gallery-viewer__thumb--active").prev();$prev.length===0&&($prev=$thumbContainer.find(".gallery-viewer__thumb:last")),$prev.trigger("select")}),$allContainer.on("click.galleryViewer",".gallery-viewer__close",function(evt){evt.preventDefault(),$allContainer.off(".galleryViewer"),$allContainer.addClass("gallery-viewer--transition-out");var transitionDelay=$allContainer.css("transition-duration");transitionDelay=transitionDelay.indexOf("ms")>-1?parseFloat(transitionDelay):parseFloat(transitionDelay)*1e3,setTimeout(function(){$allContainer.remove(),$("html").removeClass("gallery-viewer-open")},transitionDelay)}),$allContainer.on("click.galleryViewer",".gallery-viewer__zoom-container",function(evt){evt.preventDefault(),currentTransform.zoom==1?(currentTransform.zoom=0,alterCurrentTransformZoomBy(0)):(currentTransform.zoom=1,alterCurrentTransformZoomBy(0))}),$("html").removeClass("gallery-viewer-open"),$(".gallery-viewer").remove(),$("html").addClass("gallery-viewer-open"),$allContainer.appendTo("body"),$thumbContainer.find(".gallery-viewer__thumb:eq("+(config.current>0?config.current:0)+")").trigger("select").focus(),setTimeout(function(){$allContainer.removeClass("gallery-viewer--pre-reveal")},10)},theme.FeaturedProductSection=new(function(){this.onSectionLoad=function(container2){$('[name="id"]',container2).trigger("optionate"),theme.classUpTextLinks(container2),theme.initProductGallery(container2)},this.onSectionUnload=function(container2){theme.destroyProductGallery(container2),theme.OptionManager.unloadProductOptions($('[name="id"]',container2)),$(".slideshow",container2).slick("unslick")}}),theme.ProductMedia=new(function(){var _=this;_._setupShopifyXr=function(){if(!window.ShopifyXR){document.addEventListener("shopify_xr_initialized",_._setupShopifyXr.bind(this));return}window.ShopifyXR.addModels(JSON.parse($(this).html())),window.ShopifyXR.setupXRElements()},this.init=function(container2,callbacks){var callbacks=callbacks||{},_container=container2;$(container2).find(".product-media--video").each(function(index){var enableLooping=$
1(this).data("enable-video-looping"),element=$(this).find("iframe, video")[0];if(element.tagName==="VIDEO")window.Shopify.loadFeatures([{name:"video-ui",version:"1.0",onLoad:function(){var playerObj={playerType:"html5",element};playerObj.play=function(){this.plyr.play()}.bind(playerObj),playerObj.pause=function(){this.plyr.pause()}.bind(playerObj),playerObj.destroy=function(){this.plyr.destroy()}.bind(playerObj),playerObj.plyr=new Shopify.Plyr(element,{controls:["play","progress","mute","volume","play-large","fullscreen"],loop:{active:enableLooping},hideControlsOnPause:!0,iconUrl:"//cdn.shopify.com/shopifycloud/shopify-plyr/v1.0/shopify-plyr.svg",tooltips:{controls:!1,seek:!0}}),$(this).data("player",playerObj).addClass("product-media--video-loaded"),callbacks.onPlyrPlay&&$(element).on("playing",callbacks.onPlyrPlay),callbacks.onPlyrPause&&$(element).on("pause ended",callbacks.onPlyrPause),callbacks.onPlyrInit&&callbacks.onPlyrInit(playerObj)}.bind(this)}]),theme.loadStyleOnce("https://cdn.shopify.com/shopifycloud/shopify-plyr/v1.0/shopify-plyr.css");else if(element.tagName==="IFRAME"&&/^(https?:\/\/)?(www\.)?(youtube\.com|youtube-nocookie\.com|youtu\.?be)\/.+$/.test(element.src)){var temp=window.onYouTubeIframeAPIReady,loadYoutubeVideo=function(){var playerObj={playerType:"youtube",element},videoId=$(this).data("video-id");playerObj.player=new YT.Player(element,{videoId,events:{onStateChange:function(event){event.data===YT.PlayerState.ENDED&&enableLooping&&event.target.seekTo(0)}}}),playerObj.play=function(){this.player.playVideo()}.bind(playerObj),playerObj.pause=function(){this.player.pauseVideo()}.bind(playerObj),playerObj.destroy=function(){this.player.destroy()}.bind(playerObj),$(this).data("player",playerObj).addClass("product-media--video-loaded"),callbacks.onYouTubeInit&&callbacks.onYouTubeInit(playerObj)}.bind(this);window.onYouTubeIframeAPIReady=function(){temp(),loadYoutubeVideo()},theme.loadScriptOnce("https://www.youtube.com/iframe_api")}}),$(container2).on("mediaVisible",".product-media--video-loaded, .product-media--model-loaded",function(){$(window).width()>=768&&$(this).data("player").play(),$(this).hasClass("product-media--model")&&$(".view-in-space",_container).attr("data-shopify-model3d-id",$(this).data("model-id"))}),$(container2).on("mediaHidden",".product-media--video-loaded, .product-media--model-loaded",function(){$(this).data("player").pause()}),callbacks.onVideoVisible&&$(container2).on("mediaVisible",".product-media--video-loaded",callbacks.onVideoVisible),callbacks.onVideoHidden&&$(container2).on("mediaHidden",".product-media--video-loaded",callbacks.onVideoHidden),$("model-viewer",container2).each(function(){callbacks.onModelViewerPlay&&$(this).on("shopify_model_viewer_ui_toggle_play",callbacks.onModelViewerPlay),callbacks.onModelViewerPause&&$(this).on("shopify_model_viewer_ui_toggle_pause",callbacks.onModelViewerPause)}),$(container2).on("mediaVisible mediaVisibleInitial",".product-media--model:not(.product-media--model-loaded)",function(e){var element=$(this).find("model-viewer")[0],autoplay=e.type!="mediaVisibleInitial";theme.loadStyleOnce("https://cdn.shopify.com/shopifycloud/model-viewer-ui/assets/v1.0/model-viewer-ui.css"),window.Shopify.loadFeatures([{name:"model-viewer-ui",version:"1.0",onLoad:function(){$(this).data("player",new Shopify.ModelViewerUI(element)),$(this).addClass("product-media--model-loaded"),callbacks.onModelViewerInit&&callbacks.onModelViewerInit(element),autoplay&&$(this).trigger("mediaVisible")}.bind(this)}])}),$(".model-json",container2).length&&window.Shopify.loadFeatures([{name:"shopify-xr",version:"1.0",onLoad:_._setupShopifyXr.bind($(".model-json",container2))}]),$(document).on("shopify_xr_launch",function(){$(".product-media--video-loaded").each(function(){$(this).data("player").pause()})}),setTimeout(function(){$(".product-media:first",this).filter(".product-media--model").trigger("mediaVisibleInitial")}.bind(container2),50)},this.destroy=function(container2){$(document).off("shopify_xr_launch"),$(container2).off("mediaVisible mediaVisibleInitial mediaHidden"),$(".product-media--video-loaded, .product-media--model-loaded",container2).each(function(){$(this).data("player").destroy()}),$(".product-media--video video",container2).off("playing pause ended"),$("model-viewer",container2).off("shopify_model_viewer_ui_toggle_play shopify_model_viewer_ui_toggle_pause")}}),theme.productGallerySlideshowTabFix=function(slides,current){$(slides[current]).find("a, input, button, select, iframe, video, model-viewer, [tabindex]").each(function(){typeof $(this).data("theme-slideshow-original-tabindex")<"u"?$(this).data("theme-slideshow-original-tabindex")===!1?$(this).removeAttr("tabindex"):$(this).attr("tabindex",$(this).data("theme-slideshow-original-tabindex")):$(this).removeAttr("tabindex")}
1),$(slides).not(slides[current]).find("a, input, button, select, iframe, video, model-viewer, [tabindex]").each(function(){typeof $(this).data("theme-slideshow-original-tabindex")>"u"&&($(this).data("theme-slideshow-original-tabindex",typeof $(this).attr("tabindex")<"u"?$(this).attr("tabindex"):!1),$(this).attr("tabindex","-1"))})},theme.initProductGallery=function(container2){var $gallery=$(".gallery",container2);if(!$gallery.hasClass("gallery-initialised")){$gallery.addClass("gallery-initialised"),$(".product-slideshow",container2).each(function(){var $slideshow=$(this).on("init",function(evt,slick){$(".lazyload--manual",this).removeClass("lazyload--manual").addClass("lazyload")}).on("beforeChange",function(evt,slick,current,next){$($(this).closest(".gallery").find(".thumbnails a")[next]).trigger("selectFromSlick")}).slick({autoplay:!1,fade:!0,infinite:!1,useTransform:!0,dots:!1,arrows:!0,appendArrows:$(this).siblings(".slideshow-controls").find(".slideshow-controls__arrows"),prevArrow:'<button type="button" class="slick-product-prev" aria-label="'+theme.strings.previous+'">'+theme.icons.chevronLeft+"</button>",nextArrow:'<button type="button" class="slick-product-next" aria-label="'+theme.strings.next+'">'+theme.icons.chevronRight+"</button>",responsive:[{breakpoint:768,settings:{fade:!1,arrows:!1}}]});theme.ProductMedia.init($gallery,{onPlyrInit:function(playerObj){theme.productGallerySlideshowTabFix($slideshow.slick("getSlick").$slides,$slideshow.slick("getSlick").currentSlide)},onYoutubeInit:function(playerObj){theme.productGallerySlideshowTabFix($slideshow.slick("getSlick").$slides,$slideshow.slick("getSlick").currentSlide)},onModelViewerInit:function(element){theme.productGallerySlideshowTabFix($slideshow.slick("getSlick").$slides,$slideshow.slick("getSlick").currentSlide)},onVideoVisible:function(e){$(window).width()>=768&&$(e.target).closest(".slick-slider").slick("slickSetOption","swipe",!1)},onVideoHidden:function(e){$(window).width()>=768&&$(e.target).closest(".slick-slider").slick("slickSetOption","swipe",!0)},onPlyrPlay:function(e){$(e.target).closest(".slick-slider").slick("slickSetOption","swipe",!1)},onPlyrPause:function(e){$(e.target).closest(".slick-slider").slick("slickSetOption","swipe",!0)},onModelViewerPlay:function(e){$(e.target).closest(".slick-slider").slick("slickSetOption","swipe",!1),$(e.target).closest(".slick-slider").slick("slickSetOption","accessibility",!1)},onModelViewerPause:function(e){$(e.target).closest(".slick-slider").slick("slickSetOption","swipe",!0),$(e.target).closest(".slick-slider").slick("slickSetOption","accessibility",!0)}}),theme.productGallerySlideshowTabFix($slideshow.slick("getSlick").$slides,$slideshow.slick("getSlick").currentSlide),$slideshow.on("afterChange",function(evt,slick,current){$(".product-media--activated").removeClass("product-media--activated").trigger("mediaHidden"),$(".product-media",slick.$slides[current]).addClass("product-media--activated").trigger("mediaVisible"),theme.productGallerySlideshowTabFix(slick.$slides,current),$(this).closest(".quickbuy-container").trigger("changedsize")}),$(container2).closest(".collection-listing").length>0&&$slideshow.on("afterChange",function(){$(this).closest(".quickbuy-container").trigger("changedsize")})});var $thumbnails=$(".thumbnails",container2);if($thumbnails.length){var carouselVisibleItemCount=6,isCarousel=!1,assessCarousel=function(){$thumbnails.parent().css("display")=="flex"?isCarousel&&(isCarousel=!1,theme.beforeCarouselUnloadEventBlockFix($thumbnails),$thumbnails.removeClass("owl-carousel").data("owl.carousel").destroy()):isCarousel||(isCarousel=!0,theme.beforeCarouselLoadEventBlockFix($thumbnails),$thumbnails.addClass("owl-carousel").on("initialized.owl.carousel",function(){$(".lazyload--manual",this).removeClass("lazyload--manual").addClass("lazyload")}).owlCarousel({items:carouselVisibleItemCount,dots:!1,margin:7}))};$(window).on("debouncedresize.productGallery",assessCarousel),assessCarousel(),$(container2).data("assessCarouselCallback",assessCarousel),$(".gallery",container2).on("click select selectFromSlick",".thumbnails.owl-carousel a",function(e){e.preventDefault();var $carouselItem=$(this).parent();if(e.type!="selectFromSlick")$(this).closest(".gallery").find(".slideshow").slick("slickGoTo",$carouselItem.index());else{$(this).addClass("selected").parent().siblings().find("a").removeClass("selected");var shelfStart=$carouselItem.parent().children(".active:first").index(),shelfEnd=shelfStart+carou
1selVisibleItemCount-1,currentIndex=$carouselItem.index();currentIndex<shelfStart?$carouselItem.closest(".owl-carousel").trigger("to.owl.carousel",currentIndex):currentIndex>shelfEnd&&$carouselItem.closest(".owl-carousel").trigger("to.owl.carousel",Math.max(0,currentIndex-carouselVisibleItemCount+1))}}),$(".gallery",container2).on("click select selectFromSlick"," .thumbnails:not(.owl-carousel) a",function(e){e.preventDefault(),e.type!="selectFromSlick"?$(this).closest(".gallery").find(".slideshow").slick("slickGoTo",$(this).index()):$(this).addClass("selected").siblings(".selected").removeClass("selected")})}}},theme.destroyProductGallery=function(container2){$(window).off(".productGallery");var $gallery=$(".gallery",container2).off("click select selectFromSlick");theme.ProductMedia.destroy($gallery),$(".slick-slider",container2).slick("unslick").off("init beforeChange afterChange"),$(".owl-carousel",container2).each(function(){theme.beforeCarouselUnloadEventBlockFix(this),$(this).data("owl.carousel").destroy()})},theme.toggleLinkDropdownButton=function(evt){evt.stopPropagation();var $btn=$(evt.currentTarget),doExpand=$btn.attr("aria-expanded")=="false";$btn.attr("aria-expanded",doExpand),$btn.css("width",$btn.outerWidth()+"px");var newWidth=null,$optsBox=$btn.next(),isLeftAligned=$btn.closest(".link-dropdown").hasClass("link-dropdown--left-aligned");isLeftAligned||(doExpand?(newWidth=$optsBox.outerWidth(),newWidth+=parseInt($optsBox.css("right")),newWidth-=parseInt($optsBox.find(".link-dropdown__link:first").css("padding-left"))):newWidth=parseInt($btn.css("padding-right"))+$btn.find(".link-dropdown__button-text").width()+1,setTimeout(function(){$btn.css("width",newWidth+"px")},10))},theme.CollectionTemplateSection=new(function(){this.onSectionLoad=function(container2){this.namespace=theme.namespaceFromSection(container2),this.$container=$(container2),theme.classUpTextLinks(container2),this.$container.data("ajax-filtering")&&this.$container.on("click"+this.namespace,".filter-group__item, .link-dropdown__link, .filter-group__applied-item, .filter-group__clear-link",this.functions.ajaxLoadLink.bind(this)),this.$container.on("click"+this.namespace,".link-dropdown__button",theme.toggleLinkDropdownButton.bind(this)),$(document).on("click"+this.namespace,function(){$('.link-dropdown__button[aria-expanded="true"]').trigger("click")}),$(window).on("debouncedresize"+this.namespace,this.functions.truncateButtonSubcollections.bind(this)),this.functions.truncateButtonSubcollections.call(this);var $subcollectionGallery=$(".subcollection-links--gallery .gallery",container2);$subcollectionGallery.on("init",function(){$(".lazyload--manual",this).removeClass("lazyload--manual").addClass("lazyload")}).slick({autoplay:!1,fade:!1,infinite:!1,swipeToSlide:!0,slidesToShow:Math.min(4,$(".subcollection-links--gallery .gallery__item",container2).length),slidesToScroll:1,useTransform:!0,arrows:!0,dots:!1,prevArrow:'<button type="button" class="image-page-button image-page-button--previous" aria-label="'+theme.strings.previous+'">'+theme.icons.chevronLeft+"</button>",nextArrow:'<button type="button" class="image-page-button image-page-button--next" aria-label="'+theme.strings.next+'">'+theme.icons.chevronRight+"</button>",responsive:[{breakpoint:1e3,settings:{slidesToShow:Math.min(3,$(".subcollection-links--gallery .gallery__item",container2).length)}},{breakpoint:768,settings:$subcollectionGallery.data("mobile-item-count")=="hide"?"unslick":{slidesToShow:$subcollectionGallery.data("mobile-item-count")}}]}),$(".utility-bar").after($(".utility-bar").clone().addClass("utility-bar--sticky-mobile-copy").removeAttr("data-ajax-container")),$(window).on("debouncedresize"+this.namespace,this.functions.setStickyTops.bind(this)),this.functions.setStickyTops.call(this),this.previousScrollTop=window.scrollY,$(window).on("throttled-scroll"+this.namespace,this.functions.checkStickyScroll.bind(this)),this.$container.on("click"+this.namespace,"[data-toggle-filters]",function(evt){var isNowVisible=$(".filter-container",this.$container).toggleClass("filter-container--show-filters-desktop filter-container--show-filters-mobile").hasClass("filter-container--show-filters-desktop");return $(".toggle-btn[data-toggle-filters]",this.$container).toggleClass("toggle-btn--revealed-desktop",isNowVisible),theme.ProductBlockManager.afterImagesResized(),$(".slick-slider",this.$container).each(function(){$(this).slick("setPosition")}),!1}.bind(this)),this.$container.on("click"+this.namespace,".layout-switch",this.functions.switchGridLayout.bind(this)),this.functions.initFiltersEtc.call(this)},this.onSectionUnload=function(container2){theme.ProductBlockManager.unloadImages(this.$container),this.$container.off(this.namespace),theme.destroyProductGallery(this.$container),$(".slick-slider",container2).slick("unslick").off("init"),$(window).off(this.namespace),$(document).off(this.namespace)},this.functions={truncateButtonSubcollections:function(){var $subcollections=$(".subcollection-links--buttons",this.$container);if($subcollections.css("display")=="flex"){var limit=4,$btns=$subcollections.find(".btn");$btns.length>limit&&$subcollections.find(".subcollection-links__expander").length===0&&($btns.slice(limit-1).hide(),$('<a href="#" class="btn btn--tertiary subcollection-links__expander">').text(theme.strings.collections_general_see_all_subcollections).appendTo($subcollections).on("click",function(evt){evt.preventDefault(),$(this).siblings().show(),$(this).remove()}))}else $subcollections.find(".subcollection-links__expander").length&&($subcollections.find(".subcollection-links__expander").siblings().show(),$subcollections.find(".subcollection-links__expander").remove())},initFiltersEtc:function(){$(".filter-container",this.$container).addClass("filter-container--mobile-initialised"),$(".filter-group__item--active",this.$container).each(function(){var tagToRemove=$(this).data("tag");$(this).siblings().each(function(){$(this).attr("href",$(this).attr("href").replace("+"+tagToRemove,"").replace(tagToRemove+"+","").replace("%2B"+tagToRemove,"").replace(tagToRemove+"%2B",""))})});var activeTags=$(".filter-group__applied-item",this.$container).map(function(){return $(this).data("tag")}).get();try{$(".filter-group__applied-item__text, .filter-group__item__text",this.$container).each(function(){$(this).text($(this).text().replace(/^(?:[a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u0192\u0195\u0199\u019A\u019E\u01A1\u01A3\u01A5\u01A8\u01AD\u01B0\u01B4\u01B6\u01B9\u01BD\u01BF\u01C5\u01C6\u01C8\u01C9\u01CB\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01D
1D\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F2\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0254\u0256\u0257\u0259\u025B\u025C\u0260\u0261\u0263\u0265\u0266\u0268-\u026C\u026F\u0271\u0272\u0275\u027D\u0280\u0282\u0283\u0287-\u028C\u0292\u029D\u029E\u0345\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0561-\u0587\u10D0-\u10FA\u10FD-\u10FF\u13F8-\u13FD\u1C80-\u1C88\u1D79\u1D7D\u1D8E\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9B\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1FB4\u1FB6\u1FB7\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FCC\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u1FFC\u214E\u2170-\u217F\u2184\u24D0-\u24E9\u2C30-\u2C5E\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C73\u2C76\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA791\uA793\uA794\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7B5\uA7B7\uA7B9\uA7BB\uA7BD\uA7BF\uA7C3\uA7C8\uA7CA\uA7F6\uAB53\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A]|\uD801[\uDC28-\uDC4F\uDCD8-\uDCFB]|\uD803[\uDCC0-\uDCF2]|\uD806[\uDCC0-\uDCDF]|\uD81B[\uDE60-\uDE7F]|\uD83A[\uDD22-\uDD43])/,function(_char){return _char.toLocaleUpperCase(navigator.language)}))})}catch{}location.href.indexOf("?")>=0&&$("#sort-dropdown-options .link-dropdown__link",this.$container).each(function(){var query=location.href.split("?")[1];query=query.replace(/sort_by=.*?[&$]/,""),$(this).attr("href",$(this).attr("href")+"&"+query)}),theme.ProductBlockManager.loadImages(this.$container,activeTags)},switchGridLayout:function(evt){evt.preventDefault(),$(evt.currentTarget).hasClass("layout-switch--one-column")?this.$container.find(".product-list").addClass("product-list--one-column-mobile"):this.$container.find(".product-list").removeClass("product-list--one-column-mobile"),$(evt.currentTarget).addClass("layout-switch--active").siblings().removeClass("layout-switch--active")},setStickyTops:function(){var $header=$(".section-header"),isHeaderSticky=$header.css("position")==="sticky";if(isHeaderSticky){var headerHeight=$header.height();$(".filter-container--side .filters .filters__inner",this.$container).css("top",headerHeight+30+"px"),$(".utility-bar--sticky-mobile-copy",this.$container).css("top",headerHeight+"px")}},checkStickyScroll:function(){var utilityBarOffsetY=$(".utility-bar").offset().top;$(window).width()<768&&this.previousScrollTop>window.scrollY&&window.scrollY>utilityBarOffsetY?$("body").addClass("utility-bar-sticky-mobile-copy-reveal"):$("body.utility-bar-sticky-mobile-copy-reveal").removeClass("utility-bar-sticky-mobile-copy-reveal"),this.previousScrollTop=window.scrollY},ajaxLoadLink:function(evt){evt.preventDefault();var fetchFromUrl=$(evt.currentTarget).attr("href"),refreshContainerSelector="[data-ajax-container]",$ajaxContainers=this.$container.find(refreshContainerSelector);$ajaxContainers.addClass("ajax-loading");var scrollToY=$("[data-ajax-scroll-to]:first",this.$container).offset().top-$(".section-header").height();window.scrollTo({top:scrollToY,behavior:"smooth"});var fullUrl=fetchFromUrl;fullUrl.slice(0,1)==="/"&&(fullUrl=window.location.protocol+"//"+window.location.host+fullUrl),window.history.replaceState({path:fullUrl},"",fullUrl),$.get(fetchFromUrl,function(data){var $newAjaxContainers=$("<div>".concat(data,"</div>")).find(refreshContainerSelector);$newAjaxContainers.each(function(index){$($ajaxContainers[index]).html($(this).html())}),this.functions.initFiltersEtc.call(this),$ajaxContainers.removeClass("ajax-loading"),window.SPR&&SPR.initDomEls&&SPR.loadBadges&&(SPR.initDomEls(),SPR.loadBadges())}.bind(this))}}}),theme.ProductTemplateSection=new(function(){this.onSectionLoad=function(container2){theme.classUpTextLinks(container2),$("[data-store-availability-container]",container2).length&&(this.storeAvailability=new theme.StoreAvailability($("[data-store-availability-container]",container2)[0])),$('[name="id"]',container2).trigger("optionate"),theme.initProductGallery(container2),theme.ProductBlockManager.loadImages(container2),$(".theme-product-reviews",container2).on("click","a",function(){return $("html,body").animate({scrollTop:$($(this).attr("href")).offset().top},1e3),!1})},this.onSectionUnload=function(container2){theme.ProductBlockManager.unloadImages(container2),theme.destroyProductGallery(container2),theme.OptionManager.unloadProductOptions($('[name="id"]',container2)),$(".theme-product-reviews",container2).off("click"),$(".size-chart-link",container2).off("click"),this.storeAvailability&&this.storeAvailability.onSectionUnload()}}),theme.BlogTemplateSection=new(function(){this.onSectionLoad=function(container2){this.namespace=theme.namespaceFromSection(container2),this.$container=$(container2),theme.classUpTextLinks(container2),this.$container.on("click"+this.namespace,".link-dropdown__button",theme.toggleLinkDropdownButton.bind(this)),$(document).on("click"+this.namespace,function(){$('.link-dropdown__button[aria-expanded="true"]').trigger("click")})},this.onSectionUnload=function(container2){this.$container.off(this.namespace),$(document).off(this.namespace)}}),theme.CartTemplateSection=new(function(){var _=this;this.fetchCartHTML=async function(){const data=await(await fetch(`${theme.routes.cart_url}?view=ajax`)).text();var toReplace=[".cart-item-list",".checkout-subtotal-container"],$newDom=$("<div>"+data+"</div>");$newDom.find(".fade-in").removeClass("fade-in");for(var i=0;i<toReplace.length;i++)_.replacingContent=!0,$('[data-section-type="cart-template"] '+toReplace[i]).html($newDom.find(toReplace[i]).html()),_.replacingContent=!1},this.updateCart=function(params,successCallback){_.cartXhr&&_.cartXhr.abort(),_.cartRefreshXhr&&_.cartRefreshXhr.abort(),_.cartXhr=$.ajax({type:"POST",url:theme.routes.cart_
1change_url+".js",data:params,dataType:"json",success:async function(data){window.dispatchEvent(new CustomEvent("cart-update",{detail:data})),await _.fetchCartHTML(),successCallback()},error:function(data){data.statusText!="abort"&&(console.log("Error processing update"),console.log(data))},complete:function(){_.cartXhr=null}})},this.onSectionLoad=function(container2){theme.classUpTextLinks(container2),$("#cartform input#terms",container2).length>0&&$(document).on("click.cartTemplateSection",'#cartform [name="checkout"], .additional-checkout-buttons input, a[href*="/checkout"]',function(){if($("#cartform input#terms:checked").length==0)return alert(theme.strings.cart_terms_confirmation),!1}),$(container2).data("ajax-update")&&($(container2).on("keyup.cartTemplateSection change.cartTemplateSection changeFromButton.cartTemplateSection",".cart-item__quantity-input",function(evt){if(!_.replacingContent&&!($(this).data("initial-value")&&$(this).data("initial-value")==$(this).val())&&!($(this).val().length==0||$(this).val()=="0")){var toFocusId;evt.type==="changeFromButton"?toFocusId=$(evt.data).attr("id"):toFocusId=$(this).attr("id"),_.updateCart({id:$(this).data("id"),quantity:$(this).val()},function(){$("#"+toFocusId).focus()})}}),$(container2).on("click.cartTemplateSection",".quantity-down, .quantity-up",function(evt){var $input=$(this).closest(".quantity").find("input"),step=$input.attr("step")?parseInt($input.attr("step")):1;return $(this).hasClass("quantity-down")?$input.val(parseInt($input.val())-step).trigger("changeFromButton",{data:this}):$input.val(parseInt($input.val())+step).trigger("changeFromButton",{data:this}),!1})),theme.cartNoteMonitor.load($('.checkout-note [name="note"]',container2)),$(container2).on("click.cartTemplateSection","button[data-toggle-shipping]",function(){$("#shipping-calculator").toggle();var alt=$(this).data("toggle-html");return $(this).data("toggle-html",$(this).html()),$(this).html(alt),!1})},this.onSectionUnload=function(container2){$(document).off(".cartTemplateSection"),$(container2).off(".cartTemplateSection"),theme.cartNoteMonitor.unload($('.checkout-note [name="note"]',container2))}}),theme.ImageWithTextOverlaySection=new(function(){var _=this;_.checkForHeaderHeightSubtraction=function(){$(".section-image-with-text-overlay .height--full-minus-header-height").each(function(){var height=$(window).height()-$(".section-header").height();$(".rimage-outer-wrapper, .placeholder-image",this).height(height)})},this.onSectionLoad=function(container2){$(".height--full",container2).each(function(){$(this).closest(".section-image-with-text-overlay").index()==0&&($(this).addClass("height--full-minus-header-height"),_.checkForHeaderHeightSubtraction(),$(window).off("debouncedresize.imageWithTextOverlaySection").on("debouncedresize.imageWithTextOverlaySection",_.checkForHeaderHeightSubtraction))})},this.onSectionUnload=function(container2){$(window).off(".imageWithTextOverlaySection")}}),theme.SlideshowSection=new(function(){var _=this;_.checkForHeaderHeightSubtraction=function(){$(".section-slideshow .height--full-minus-header-height").each(function(){var height=$(window).height()-$(".section-header").height();$(".rimage-outer-wrapper, .placeholder-image",this).height(height)})},this.onSectionLoad=function(target){$(".slideshow",target).each(function(){$(this).find(".height--full").length&&$(this).closest(".section-slideshow").index()==0&&($(this).addClass("height--full-minus-header-height"),_.checkForHeaderHeightSubtraction(),$(window).off("debouncedresize.slideshowSection").on("debouncedresize.slideshowSection",_.checkForHeaderHeightSubtraction)),$(this).on("init",function(){$(".lazyload--manual",this).removeClass("lazyload--manual").addClass("lazyload")}).slick({autoplay:$(this).data("autoplay"),fade:$(this).data("transition")!="slide",speed:$(this).data("transition")=="instant"?0:750,autoplaySpeed:$(this).data("autoplay-speed")*1e3,arrows:$(this).data("navigation")=="arrows",dots:$(this).data("navigation")=="dots",pauseOnHover:$(this).data("transition")!="instant"||$(this).data("autoplay-speed")>2,infinite:!0,useTransform:!0,prevArrow:'<button type="button" class="slick-prev" aria-label="'+theme.strings.previous+'">'+theme.icons.chevronLeft+"</button>",nextArrow:'<button type="button" class="slick-next" aria-label="'+theme.strings.next+'">'+theme.icons.chevronRight+"</button>",responsive:[{breakpoint:768,settings:{fade:$(this).data("transition")=="instant",speed:$(this).data("transition")=="instant"?0:750,arrows:!1,dots:$(this).data("navigation")!="none"}}]})})},this.onSectionUnload=function(target){$(".slick-slider",target).slick("unslick").off("init"),$(window).off(".slideshowSection")},this.onBlockSelect=function(target){$(target).closest(".slick-slider").slick("slickGoTo",$(target).data("slick-index")).slick("slickPause")},this.onBlockDeselect=function(target){$(target).closest(".slick-slider").slick("slickPlay")}}),theme.GallerySection=new(function(){this.onSectionLoad=function(container2){var $carouselGallery=$(".gallery--mobile-carou
1sel",container2);if($carouselGallery.length){var assessCarouselFunction=function(){var isCarousel=$carouselGallery.hasClass("slick-slider"),shouldShowCarousel=$(window).width()<768;if(shouldShowCarousel||$(".lazyload--manual",$carouselGallery).removeClass("lazyload--manual").addClass("lazyload"),isCarousel&&!shouldShowCarousel){$carouselGallery.slick("unslick").off("init"),$carouselGallery.find("a, .gallery__item").removeAttr("tabindex").removeAttr("role");var rowLimit=$carouselGallery.data("grid"),$currentRow=null;$carouselGallery.find(".gallery__item").each(function(index){index%rowLimit===0&&($currentRow=$('<div class="gallery__row">').appendTo($carouselGallery)),$(this).appendTo($currentRow)})}else!isCarousel&&shouldShowCarousel&&($carouselGallery.find(".gallery__item").appendTo($carouselGallery),$carouselGallery.find(".gallery__row").remove(),$carouselGallery.on("init",function(){$(".lazyload--manual",this).removeClass("lazyload--manual").addClass("lazyload")}).slick({autoplay:!1,fade:!1,infinite:!0,useTransform:!0,arrows:!1,dots:!0}))};assessCarouselFunction(),$(window).on("debouncedresize.themeSection"+container2.id,assessCarouselFunction)}},this.onSectionUnload=function(container2){$(window).off(".themeSection"+container2.id),$(".slick-slider",container2).each(function(){$(this).slick("unslick").off("init")})},this.onBlockSelect=function(block){var blockSlideIndex=$(block).data("slick-index");$(block).closest(".slick-slider").each(function(){$(this).slick("slickGoTo",blockSlideIndex)})}}),theme.TestimonialsSection=new(function(){this.onSectionLoad=function(container2){this.namespace=theme.namespaceFromSection(container2),this.$testimonialContainer=$(".testimonial-list",container2),this.$testimonialContainer.find(".testimonial-list__inner").on("init",function(){$(".lazyload--manual",this).removeClass("lazyload--manual").addClass("lazyload")}).slick({fade:this.$testimonialContainer.hasClass("testimonial-list--with-images"),slidesToShow:this.$testimonialContainer.hasClass("testimonial-list--without-images")?2:1,dots:!1,arrows:!0,appendArrows:this.$testimonialContainer.find(".testimonial-list__controls"),prevArrow:'<button type="button" class="slick-prev" aria-label="'+theme.strings.previous+'">'+theme.icons.chevronLeft+"</button>",nextArrow:'<button type="button" class="slick-next" aria-label="'+theme.strings.next+'">'+theme.icons.chevronRight+"</button>",responsive:[{breakpoint:768,settings:{fade:!1,slidesToShow:1}}]})},this.onSectionUnload=function(container2){$(".slick-slider",container2).each(function(){$(this).slick("unslick").off("init")})},this.onBlockSelect=function(block){var blockSlideIndex=$(block).data("slick-index");$(block).closest(".slick-slider").each(function(){$(this).slick("slickGoTo",blockSlideIndex)})}}),theme.fbOpts=function(){return{overlayColor:"#fff",padding:1,margin:$(window).width()>767?40:20,overlayOpacity:.9,onComplete:function(){$("#fancybox-wrap").off("mousewheel.fb")}}},theme.CustomRowSection=new(function(){this.onSectionLoad=function(container2){theme.classUpTextLinks(container2),theme.VideoManager.onSectionLoad(container2)},this.onSectionUnload=function(container2){theme.VideoManager.onSectionUnload(container2)}}),theme.FeaturedCollectionSection=new(function(){this.onSectionLoad=function(container2){var $carousels=theme.loadCarousels(container2);$carousels.length===0&&theme.ProductBlockManager.loadImages(container2)},this.onSectionUnload=function(container2){theme.ProductBlockManager.unloadImages(container2),theme.unloadCarousels(container2)}}),theme.FeaturedCollectionsSection=new(function(){this.onSectionLoad=function(container2){var $carousels=theme.loadCarousels(container2);$carousels.length===0&&theme.ProductBlockManager.loadImages(container2)},this.onSectionUnload=function(container2){theme.ProductBlockManager.unloadImages(container2),theme.unloadCarousels(container2)}}),theme.ListCollectionsTemplateSection=new(function(){this.onSectionLoad=function(container2){theme.ProductBlockManager.loadImages(container2)},this.onSectionUnload=function(container2){theme.ProductBlockManager.unloadImages(container2)}}),theme.HeaderSection=new(function(){this.onSectionLoad=function(container){$(container).on("focusin.headerSection focusout.headerSection",".s
1ocial-links",function(e){return!1});var searchFocusOutTimeoutId=-1;$(container).on("focusin.headerSection focusout.headerSection",".search-box",function(e){e.type=="focusin"?(clearTimeout(searchFocusOutTimeoutId),$(this).closest(".search-box").addClass("focus")):(clearTimeout(searchFocusOutTimeoutId),searchFocusOutTimeoutId=setTimeout(function(){$(this).closest(".search-box").removeClass("focus")}.bind(this),200))}),$(container).on("click.headerSection",".navbar__search, .main-search__close",function(e){return $("body").toggleClass("show-search").hasClass("show-search")?setTimeout(function(){$(".main-search__input:first").focus()},500):$(".navbar__search:first").focus(),!1}),$(container).on("keyup.headerSection",".main-search__input",function(e){e.keyCode==27&&$(".main-search__close").click()});var $liveSearchContainer=$('.main-search[data-live-search="true"]',container);if($liveSearchContainer.length){var searchTimeoutThrottle=500,searchTimeoutID=-1,currReqObj=null,showPrice=$liveSearchContainer.data("live-search-price"),showVendor=$liveSearchContainer.data("live-search-vendor"),includeMeta=$liveSearchContainer.data("live-search-meta"),productImageShape=$liveSearchContainer.data("product-image-shape"),showSoldOutLabel=$liveSearchContainer.data("show-sold-out-label"),showSaleLabel=$liveSearchContainer.data("show-sale-label"),showReductionLabel=$liveSearchContainer.data("show-reduction"),reductionLabelType=$liveSearchContainer.data("reduction-type");$(container).on("keyup.headerSection change.headerSection",".main-search__input",function(){var $searchContainer=$(".main-search"),$resultsBox=$searchContainer.find(".main-search__results"),valueToSearch=$(this).val();if(valueToSearch.length>2&&valueToSearch!=$(this).data("oldval")){$(this).data("oldval",valueToSearch),currReqObj?.abort(),clearTimeout(searchTimeoutID);var $form=$(this).closest("form"),linkURL=$form.attr("action")+($form.attr("action").indexOf("?")>-1?"&":"?")+$form.serialize();$searchContainer.removeClass("main-search--has-results main-search--results-on-multiple-lines main-search--no-results").addClass("main-search--loading"),$(".main-search__results-spinner").length===0&&$resultsBox.html('<div class="main-search__results-spinner"><div class="loading-spinner"></div></div>'),searchTimeoutID=setTimeout(function(){var ajaxUrl,ajaxData;theme.Shopify.features.predictiveSearch?(ajaxUrl=theme.routes.search_url+"/suggest.json",ajaxData={q:valueToSearch,resources:{type:$form.find('input[name="type"]').val(),limit:8,options:{unavailable_products:"last",fields:includeMeta?"title,product_type,variants.title,vendor,tag,variants.sku":"title,product_type,variants.title,vendor"}}}):(ajaxUrl=linkURL+"&view=json",ajaxData=null),currReqObj=$.ajax({url:ajaxUrl,data:ajaxData,dataType:"json",success:function(response){currReqObj=null,$searchContainer.removeClass("main-search--has-results main-search--results-on-multiple-lines main-search--no-results"),$resultsBox.empty();var $resultsProducts=$('<div class="main-search__results__products collection-listing"><div class="product-list product-list--per-row-4 product-list--image-shape-natural"></div></div>'),$resultsPages=$('<div class="main-search__results__pages">');if(response.resources.results.products)for(var i=0;i<response.resources.results.products.length;i++){var result=response.resources.results.products[i];if(!result.tags.includes("unlisted")){var $item=$(['<div class="product-block main-search-result">','<div class="block-inner">','<div class="block-inner-inner">','<div class="image-cont">','<a class="product-link">','<div class="image-label-wrap">','<div class="product-block__image product-block__image--primary"></div>',"</div>","</a>","</div>",'<div class="product-info">','<div class="inner">','<div class="innerer">','<a class="product-link">','<div class="product-block__title"></div>','<div class="product-price"></div>',"</a>","</div>","</div>","</div>","</div>","</div>","</div>"].join(""));if($item.find(".product-link").attr("href",result.url),result.featured_image&&result.featured_image.url){var $img=$('<div class="rimage-outer-wrapper"><div class="rimage-wrapper lazyload--placeholder"><img class="rimage__image lazyload fade-in"></div></div>').appendTo($item.find(".product-block__image--primary"));$img.find(".rimage-wrapper").css("padding-top",1/Math.max(result.featured_image.as
1pect_ratio,.6)*100+"%"),$img.find(".rimage__image").attr("data-src",theme.Shopify.formatImage(result.featured_image.url,"512x")+" 512w")}var $itemInfoCont=$item.find(".product-info .product-link");if($itemInfoCont.find(".product-block__title").html(result.title),showVendor&&$('<div class="vendor">').html(result.vendor).prependTo($itemInfoCont),showPrice){var $price=$itemInfoCont.find(".product-price");result.price_max!=result.price_min&&($('<span class="product-price__item product-price__from">').html(theme.strings.products_listing_from).appendTo($price),$price.append(" ")),parseFloat(result.compare_at_price_min)>parseFloat(result.price_min)?($('<span class="product-price__item product-price__amount product-price__amount--on-sale theme-money">').html(theme.Shopify.formatMoney(result.price_min,theme.money_format)).appendTo($price),$('<span class="product-price__item product-price__compare theme-money">').html(theme.Shopify.formatMoney(result.compare_at_price_min,theme.money_format)).appendTo($price)):$('<span class="product-price__item product-price__amount theme-money">').html(theme.Shopify.formatMoney(result.price_min,theme.money_format)).appendTo($price)}showSoldOutLabel&&!result.available?$('<span class="product-price__item price-label price-label--sold-out">').html(theme.strings.products_labels_sold_out).appendTo($item.find(".product-price")):showSaleLabel&&parseFloat(result.compare_at_price_min)>parseFloat(result.price_min)&&$('<span class="product-price__item price-label price-label--sale">').html(theme.strings.products_labels_sale).appendTo($item.find(".product-price")),showReductionLabel&&parseFloat(result.compare_at_price_min)>parseFloat(result.price_min)&&(reductionLabelType=="percent"?$('<span class="product-label product-label--sale"><span></span></span>').appendTo($item.find(".image-label-wrap")).find("span").html(theme.strings.products_labels_percent_reduction.replace(/\[\[ ?amount ?\]\]/,Math.round(100*(1-parseFloat(result.price_min)/parseFloat(result.compare_at_price_min))))):$('<span class="product-label product-label--sale"><span></span></span>').appendTo($item.find(".image-label-wrap")).find("span").html(theme.strings.products_labels_value_reduction_html.replace(/\[\[ ?amount ?\]\]/,theme.Shopify.formatMoney(parseInt(result.compare_at_price_min.toString().replace(".",""))-parseInt(result.price_min.toString().replace(".","")),theme.money_format)))),$resultsProducts.children().append($item)}}if(response.resources.results.pages)for(var i=0;i<response.resources.results.pages.length;i++){var result=response.resources.results.pages[i],$item=$('<a class="main-search-result main-search-result--page">').attr("href",result.url);$('<div class="main-search-result__text">').html(result.title).appendTo($item),$resultsPages.append($item)}if(response.resources.results.articles)for(var i=0;i<response.resources.results.articles.length;i++){var result=response.resources.results.articles[i],$item=$('<a class="main-search-result main-search-result--article">').attr("href",result.url);$('<div class="main-search-result__text">').html(result.title).appendTo($item),$resultsPages.append($item)}$searchContainer.removeClass("main-search--loading");var areProducts=$resultsProducts.find(".main-search-result:first").length>0,arePages=$resultsPages.find(".main-search-result:first").length>0;areProducts||arePages?($searchContainer.addClass("main-search--has-results"),$searchContainer.toggleClass("main-search--results-on-multiple-lines",$resultsProducts.find(".product-block").length>4),areProducts&&$resultsBox.append($resultsProducts),arePages&&($('<h6 class="main-search-result__heading">').html(theme.strings.general_quick_search_pages).prependTo($resultsPages),$resultsBox.append($resultsPages)),$('<a class="main-search__results-all-link button altcolour">').attr("href",linkURL).html(theme.strings.layout_live_search_see_all).appendTo($resultsBox)):($searchContainer.addClass("main-search--no-results"),$('<div class="main-search__empty-message">').html(theme.strings.general_quick_search_no_results).appendTo($resultsBox))},error:function(response){console.log("Error fetching results")}})},searchTimeoutThrottle)}else $(this).val().length<=2&&($(this).data("oldval",valueToSearch),currReqObj?.abort(),clearTimeout(searchTimeoutID),$searchContainer.removeClass("main-search--has-results main-search--results-on-multiple-lines main-search--loading"),$resultsBox.empty())})}theme.inlineNavigationCheck?(theme.inlineNavigationCheck(),$(window).on("debouncedresize.headerSection",theme.inlineNavigationCheck)):document.querySelector("#InlineNavigationCheckScript")&&eval(document.querySelector("#InlineNavigationCheckScript").innerHTML),$(".disclosure",container).each(function(){$(this).data("disclosure",new theme.Disclosure($(this)))})},this.onSectionUnload=function(container2){$(container2).off(".headerSection"),$(window).off(".headerSection"),$(".disclosure",container2).each(function(){$(this).data("disclosure").unload()})}}),theme.FooterSection=new(function(){this.onSectionLoad=function(container2){$(".disclosure",container2).each(function(){$(this).data("disclosure",new theme.Disclosure($(this)))})},this.onSectionUnload=function(container2){$(".disclosure",container2).each(function(){$(this).data("disclosure").unload()})}}),theme.AnnouncementBarSection=new(function(){this.onSectionLoad=function(container2){$(".disclosure",container2).each(function(){$(this).data("disclosure",new theme.Disclosure($(this)))})},this.onSectionUnload=function(container2){$(".disclosure",container2).each(function(){$(this).data("disclosure").unload()})}}),theme.productData={},theme.OptionManager=new(function(){var _=this;_._getVariantOptionElement=function(variant,$container){return $container.find('select[name="id"] option[value="'+variant.id+'"]')},_.selectors={container:".product-detail",gallery:".gallery",priceArea:".price-area",submitButton:"input[type=submit], button[type=submit]",multiOption:".option-selectors"},_.strings={priceNonExistent:theme.strings.products_variant_non_existent,buttonDefault:theme.strings.products_product_add_to_cart,buttonNoStock:theme.strings.products_variant_no_stock,buttonNoVariant:theme.strings.products_variant_non_existent,unitPriceSeparator:theme.strings.products_product_unit_price_separator,inventoryNotice:theme.strings.onlyXLeft},_._getString=function(key,variant){var string=_.strings[key];return variant&&(string=string.replace("[PRICE]",'<span class="theme-money">'+theme.Shopify.formatMoney(variant.price,theme.money_format)+"</span>
1")),string},_.getProductData=function($form){var productId=$form.data("product-id"),data=null;return theme.productData[productId]||(theme.productData[productId]=JSON.parse(document.getElementById("ProductJson-"+productId).innerHTML)),data=theme.productData[productId],data||console.log("Product data missing (id: "+$form.data("product-id")+")"),data},_.getBaseUnit=function(variant){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},_.addVariantUrlToHistory=function(variant){if(variant){var newurl=window.location.protocol+"//"+window.location.host+window.location.pathname+"?variant="+variant.id;window.history.replaceState({path:newurl},"",newurl)}},_.updateSku=function(variant,$container){$container.find(".sku .sku__value").html(variant?variant.sku:""),$container.find(".sku").toggleClass("sku--no-sku",!variant||!variant.sku)},_.updateBarcode=function(variant,$container){$container.find(".barcode .barcode__value").html(variant?variant.barcode:""),$container.find(".barcode").toggleClass("barcode--no-barcode",!variant||!variant.barcode)},_.updateInventoryNotice=function(variant,$container){var inventoryData=_._getVariantOptionElement(variant,$container).data("inventory");inventoryData?$container.find(".product-inventory-notice").removeClass("product-inventory-notice--no-inventory").html(_._getString("inventoryNotice").replace("[[ quantity ]]",inventoryData)):$container.find(".product-inventory-notice").addClass("product-inventory-notice--no-inventory").empty()},_.updateTransferNotice=function(variant,$container){var transferData=_._getVariantOptionElement(variant,$container).data("inventory-transfer");transferData?$container.find(".product-inventory-transfer").removeClass("product-inventory-transfer--none").html(transferData):$container.find(".product-inventory-transfer").addClass("product-inventory-transfer--none").empty()},_.updateBackorder=function(variant,$container){var $backorder=$container.find(".backorder");if($backorder.length)if(variant&&variant.available)if(variant.inventory_management&&_._getVariantOptionElement(variant,$container).data("stock")=="out"){var productData=_.getProductData($backorder.closest("form"));$backorder.find(".backorder__variant").html(productData.title+(variant.title.indexOf("Default")>=0?"":" - "+variant.title)),$backorder.show()}else $backorder.hide();else $backorder.hide()},_.updatePrice=function(variant,$container){var $priceArea=$container.find(_.selectors.priceArea);if($priceArea.removeClass("on-sale"),variant){var $newPriceArea=$("<div>"),$price=$('<div class="price h4-style">').appendTo($newPriceArea);if($('<span class="current-price theme-money">').html(theme.Shopify.formatMoney(variant.price,theme.money_format)).appendTo($price),variant.compare_at_price>variant.price&&($price.append(" "),$('<span class="was-price theme-money">').html(theme.Shopify.formatMoney(variant.compare_at_price,theme.money_format)).appendTo($price),$price.addClass("on-sale")),variant.unit_price_measurement){var $newUnitPriceArea=$('<div class="unit-price">').appendTo($newPriceArea);$('<span class="unit-price__price theme-money">').html(theme.Shopify.formatMoney(variant.unit_price,theme.money_format)).appendTo($newUnitPriceArea),$('<span class="unit-price__separator">').html(_._getString("unitPriceSeparator")).appendTo($newUnitPriceArea),$('<span class="unit-price__unit">').html(_.getBaseUnit(variant)).appendTo($newUnitPriceArea)}$priceArea.html($newPriceArea.html())}else $priceArea.html(_._getString("priceNonExistent",variant))},_._updateButtonText=function($button,string,variant){$button.each(function(){var newVal;newVal=_._getString("button"+string,variant),newVal!==!1&&($(this).is("input")?$(this).val(newVal):$(this).html(newVal))})},_.updateButtons=function(variant,$container){var $button=$container.find(_.selectors.submitButton);variant&&variant.available==!0?($button.removeAttr("disabled"),_._updateButtonText($button,"Default",variant)):($button.attr("disabled","disabled"),variant?_._updateButtonText($button,"NoStock",variant):_._updateButtonText($button,"NoVariant",variant))},_.updateContainerStatusClasses=function(variant,$container){$container.toggleClass("variant-status--unavailable",variant&&!variant.available),$container.toggleClass("variant-status--backorder",variant&&variant.available&&variant.inventory_management&&_._getVariantOptionElement(variant,$container).data("stock")=="out"),$container.toggleClass("variant-status--on-sale",variant&&variant.available&&variant.compare_at_price>variant.price)},_.initProductOptions=function(originalInput){$(originalInput).not(".theme-init").addClass("theme-init").each(function(){var $originalInput=$(this);if($originalInput.is("select")){var $form=$originalInput.closest("form"),productData=_.getProductData($form),$submitButton=$form.find('[type="submit"]:first');$submitButton.data("add-to-cart-text")&&(_.strings.buttonDefault=$submitButton.data("add-to-cart-text")),$originalInput.on("change.themeProductOptions firstrun.themeProductOptions",function(e){if(!$(this).is("input[type=radio]:not(:checked)")){var variant=e.detail;if(!variant&&variant!==!1)for(var i=0;i<productData.variants.length;i++)productData.variants[i].id==$(this).val()&&(variant=productData.variants[i]);var $container=$(this).closest(_.selectors.container);_.updatePrice(variant,$container),_.updateButtons(variant,$container),$(window).trigger("cc-variant-updated",{variant,product:productData}),variant&&variant.featured_media&&$container.find(_.selectors.gallery).trigger("variantImageSelected",variant),_.updateBarcode(variant,$container),_.updateSku(variant,$container),_.updateInventoryNotice(variant,$container),_.updateTransferNotice(variant,$container),_.updateBackorder(variant,$container),_.updateContainerStatusClasses(variant,$container);var $form2=$(this).closest("form");$form2.data("enable-history-state")&&e.type=="change"&&_.addVariantUrlToHistory(variant),$(this).trigger("variantChanged",variant)}}),$originalInput.closest(_.selectors.container).find(_.selectors.multiOption).on("change.themeProductOptions","select",function(){var selectedOptions=[];$(this).closest(_.selectors.multiOption).find("select").each(function(){selectedOptions.push($(this).val())});for(var variant=!1,i=0;i<productData.variants.length;i++){for(var v=productData.variants[i],matchCount=0,j=0;j<selectedOptions.length;j++)v.options[j]==selectedOptions[j]&&matchCount++;
1if(matchCount==selectedOptions.length){variant=v;break}}variant&&$originalInput.val(variant.id),$originalInput[0].dispatchEvent(new CustomEvent("change",{bubbles:!0,cancelable:!1,detail:variant}))}),$originalInput.trigger("firstrun")}})},_.unloadProductOptions=function(originalInput){$(originalInput).removeClass("theme-init").each(function(){$(this).trigger("unloading").off(".themeProductOptions"),$(this).closest(_.selectors.container).find(_.selectors.multiOption).off(".themeProductOptions"),theme.removeAjaxFromProductForm($(this).closest("form"))})}}),theme.owlCarouselEventList=["to","next","prev","destroy","initialized","resized","refreshed"].join(".owl.carousel ")+".owl.carousel",theme.beforeCarouselLoadEventBlockFix=function(carouselEls){$(carouselEls).on(theme.owlCarouselEventList,function(evt){evt.stopPropagation()})},theme.beforeCarouselUnloadEventBlockFix=function(carouselEls){$(carouselEls).off(theme.owlCarouselEventList)},theme.loadCarousels=function(container2){return $(".carousel",container2).each(function(){var $this=$(this);function getTotalProductBlockWidth(){var productBlockTotalWidth=0;return $this.find($this.hasClass("owl-loaded")?".owl-item:not(.cloned)":".product-block").each(function(){productBlockTotalWidth+=$(this).outerWidth(!0)}),productBlockTotalWidth}$this.closest(".collection-slider").on("click.themeCarousel",".prev, .next",function(e){e.preventDefault();var carousel=$(this).closest(".collection-slider").find(".owl-carousel").data("owl.carousel");$(this).hasClass("prev")?carousel.prev():carousel.next()});var carouselOptions,isLooping,fixedMode=!$(this).closest(".container--no-max").length;if($this.toggleClass("carousel--fixed-grid-mode",fixedMode),fixedMode){var desktopNumPerRow=parseInt($(this)[0].className.match(/per-row-(.)/)[1]);carouselOptions={margin:0,loop:!1,autoWidth:!1,items:5,center:!1,nav:!1,dots:!1,responsive:{0:{items:desktopNumPerRow<4?1:2},480:{items:Math.min(2,desktopNumPerRow-2)},767:{items:desktopNumPerRow-1},1e3:{items:desktopNumPerRow}}}}else isLooping=getTotalProductBlockWidth()>$this.width(),carouselOptions={margin:0,loop:isLooping,autoWidth:!0,items:Math.min($this.children().length,8),center:!0,nav:!1,dots:!1};var loadCarousel=function(){$this.find("[data-src]").each(function(){$(this).attr("data-src-temp",$(this).attr("data-src")).removeAttr("data-src")}),theme.beforeCarouselLoadEventBlockFix($this),$this.on("initialized.owl.carousel",function(){$this.find("[data-src-temp]").each(function(){$(this).attr("data-src",$(this).attr("data-src-temp")).removeAttr("data-src-temp")}),$this.find('.product-block__image--primary .lazyload--manual, .product-block__image--secondary[data-image-index="1"] .lazyload--manual').removeClass("lazyload--manual").addClass("lazyload"),theme.ProductBlockManager.loadImages($this.closest("[data-section-type]")),setTimeout(function(){$this.data("owl.carousel").invalidate("width"),$this.trigger("refresh.owl.carousel")},10)}),$this.on("initialized.owl.carousel resized.owl.carousel",function(evt){if(!fixedMode&&evt.type=="resized"){var shouldLoop=getTotalProductBlockWidth()>$this.width();if(shouldLoop!=isLooping){carouselOptions.loop=shouldLoop,isLooping=shouldLoop,$(evt.target).data("owl.carousel").destroy(),$(evt.target).owlCarousel(carouselOptions);return}}setTimeout(function(){var currentWidth=$this.find(".owl-stage").width(),stageIsPartiallyOffScreen=currentWidth>$this.width();if(stageIsPartiallyOffScreen){var newWidth=0;$this.find(".owl-item").each(function(){newWidth+=$(this).outerWidth(!0)+1}),$this.find(".owl-stage").css({}).removeClass("owl-stage--items-fit")}else $this.find(".owl-stage").addClass("owl-stage--items-fit").css({});$this.closest(".collection-slider").find(".prev, .next").toggleClass("owl-btn-disabled",!stageIsPartiallyOffScreen)},10)}),theme.carouselInputIncrementer=theme.carouselInputIncrementer||0,$this.on("refreshed.owl.carousel",function(){$(".owl-item",this).removeAttr("aria-hidden"),$(".owl-item.cloned",this).attr("aria-hidden","true").each(function(){theme.carouselInputIncrementer++;var uniquenessSuffix="_"+theme.carouselInputIncrementer;$(this).find("form[id]:not([data-id-altered]), :input[id]:not([data-id-altered])").each(function(){$(this).attr("id",$(this).attr("id")+uniquenessSuffix)}).attr("data-id-altered",!0),$(this).find("label[for]:not([data-id-altered])").each(function(){$(this).attr("for",$(this).attr("for")+uniquenessSuffix)}).attr("data-id-altered",!0)})}).addClass("owl-carousel").owlCarousel(carouselOptions)};
1loadCarousel()})},theme.unloadCarousels=function(container2){$(".collection-slider",container2).off(".themeCarousel"),$(".slick-slider",container2).slick("unslick"),theme.beforeCarouselUnloadEventBlockFix($(".owl-carousel",container2)),$(".owl-carousel",container2).each(function(){$(this).data("owl.carousel").destroy()})},theme.awakenImagesFromSlumber=function($cont){$cont.find(".lazyload--manual:not(.lazyload)").addClass("lazyload")},theme.lazyBGSetWidths=[180,360,540,720,900,1080,1296,1512,1728,1950,2100,2260,2450,2700,3e3,3350,3750,4100],theme.loadLazyBGSet=function(container2){$("[data-lazy-bgset-src]",container2).each(function(){for(var srcset="",masterSrc=$(this).data("lazy-bgset-src"),aspectRatio=$(this).data("lazy-bgset-aspect-ratio"),masterWidth=$(this).data("lazy-bgset-width"),masterHeight=Math.round(masterWidth/aspectRatio),i=0;i<theme.lazyBGSetWidths.length;i++){var thisWidth=theme.lazyBGSetWidths[i];masterWidth>=thisWidth&&(srcset+="".concat(theme.Shopify.formatImage(masterSrc,thisWidth+"x")," ").concat(thisWidth,"w ").concat(Math.round(thisWidth/aspectRatio),"h, "))}srcset+="".concat(masterSrc," ").concat(masterWidth,"w ").concat(masterHeight,"h"),$(this).attr("data-bgset",srcset)}),lazySizes.autoSizer.checkElems()},theme.ProductBlockManager=new(function(){var _=this;_.loadImages=function(container2,activeTags){var container2=container2;typeof container2>"u"&&(container2=$("body")),theme.loadLazyBGSet(container2),setTimeout(function(){$(".product-block__image--show-on-hover.product-block__image--inactivated",container2).each(function(){_.lazyloadImage($(this)),lazySizes.loader.unveil($(this).find(".lazyload")[0])})},250),_.monitorImagePagination(container2),_.monitorSwatchSelection(container2),_.afterImagesResized(container2),activeTags&&($.each(activeTags,function(){$('.product-block-options__item[data-option-item="'+encodeURI(this.toLowerCase())+'"]',container2).trigger("softselect")}),_.lazyloadImage($(".product-block__image--primary",container2)))},_.unloadImages=function(container2){$(container2).off(".productBlockManager")},_.getImageAt=function($images,index){return $images[(index%$images.length+$images.length)%$images.length]},_.lazyloadImage=function($image,onLoadCB){var _this7=this,$toLoad=$image.filter(".product-block__image--inactivated");$toLoad.length?(onLoadCB&&$toLoad.on("lazyloaded.themeBlockManager",function(evt){evt.target===$toLoad[0]&&onLoadCB(),$(_this7).off("lazyloaded.themeBlockManager")}),$toLoad.removeClass("product-block__image--inactivated")):onLoadCB&&onLoadCB()},_.incrementActiveImage=function($images,increment){var index=Math.max($images.filter(".product-block__image--active:first").index(),0);_.setActiveImage($images,index+increment)},_.setActiveImage=function($images,index){var $newActive=$(_.getImageAt($images,index));_.lazyloadImage($newActive,function(){$newActive.addClass("product-block__image--active"),$newActive.siblings().removeClass("product-block__image--active"),$(_.getImageAt($images,index+1)).addClass("product-block__image--show-on-hover").siblings().removeClass("product-block__image--show-on-hover")});var $dots=$images.closest(".image-cont").find(".product-block__image-dot");$dots.removeClass("product-block__image-dot--active").eq($newActive.index()).addClass("product-block__image-dot--active")},_.monitorImagePagination=function(container2){$(".image-cont--with-secondary-image",container2).length&&($(".product-block__image-dots:first",container2).is(":visible")||$(container2).find(".product-block").each(function(index){setTimeout(function(){$(this).find(".product-block__image").each(function(){_.lazyloadImage($(this))})}.bind(this),1e3+index*10)}),$(container2).on("click.productBlockManager",".image-page-button",function(evt){var $images=$(this).closest(".product-block").find(".product-block__image");return _.incrementActiveImage($images,$(evt.currentTarget).hasClass("image-page-button--next")?1:-1),!1}),$(".image-cont--with-secondary-image:first",container2).closest(".carousel, .product-list--scrollarea").length===0&&($(container2).on("imageSwiped",".product-block",function(){$(".product-block__image--inactivated",this).length&&setTimeout(function(){$(this).find(".product-block__image").each(function(){_.lazyloadImage($(this))})}.bind(this),500)}),$(container2).on("touchstart.productBlockManager",".image-cont--with-secondary-image",function(evt){theme.productBlockTouchTracking=!0,theme.productBlockTouchStartX=evt.touches[0].clientX,theme.productBlockTouchStartY=evt.touches[0].clientY}),$(container2).on("touchmove.productBlockManager",".image-cont--with-secondary-image",function(evt){if(theme.productBlockTouchTracking&&Math.abs(evt.touches[0].clientY-theme.productBlockTouchStartY)<30){var deltaX=evt.touches[0].clientX-theme.productBlockTouchStartX;if(deltaX>25){var $images=$(this).closest(".product-block").trigger("imageSwiped").find(".product-block__image");_.incrementActiveImage($images,-1),theme.productBlockTouchTracking=!1}else if(deltaX<-25){var $images=$(this).closest(".product-block").trigger("imageSwiped").find(".product-block__image");_.incrementActiveImage($images,1),theme.productBlockTouchTracking=!1}}}),$(container2).on("touchend.productBlockManager",".image-cont--with-secondary-image",function(evt){theme.productBlockTouchTracking=!1})))},_.monitorSwatchSelection=function(container2){$("[data-media].product-block-options__item",container2).length&&$(container2).on("mouseenter.productBlockManager click.productBlockManager softselect.productBlockManager","[data-media].product-block-options__item",function(){var $images=$(this).closest(".product-block").find(".product-block__image"),index=$images.filter('[data-media-id="'+$(this).data("media")+'"].product-block__image').index();_.setActiveImage($images,index)})},_.afterImagesResized=function(container2){var container2=container2;typeof container2>"u"&&(container2=$("body")),_.alignProductBlockHeights(container2)},_.alignProductBlockHeights=function(container2){var container2=container2;typeof container2>"u"&&(container2=$("body")),$(".collection-listing .product-list",container2).each(function(){if($(window).width()>=768||$(this).closest(".carousel").length>0){var tallest=0;$(this).find(".product-block .block-inner .block-inner-inner").each(function(){$(this).height()>tallest&&(tallest=$(this).height())}),$(this).find(".product-block .block-inner").css("min-height",tallest)}else $(this).find(".product-block .block-inner").css("min-height","")})}}),theme.classUpTextLinks=function(container2){$(".user-content a:has(img)",container2).addClass("image-link")},theme.select2={transitionOutDelay:250,init:function init($els,config){var standardSelectOptions={minimumResultsForSearch:1/0,width:"computedstyle"},swatchSelectOptions={minimumResultsForSearch:1/0,templateResult:theme.select2.swatchSelect2OptionTemplate,templateSelection:theme.select2.swatchSelect2OptionTemplate,width:"computedstyle"};typeof config<"u"&&(standardSelectOptions=$.extend(standardSelectOptions,config),swatchSelectOptions=$.extend(swatchSelectOptions,config)),$els.not(".select2-hidden-accessible").each(function(){$(this).select2($(this).data("c
1olour-swatch")?swatchSelectOptions:standardSelectOptions)})},destroyAllIn:function destroyAllIn($container){theme.select2.destroy($("select[data-select2-id]",$container))},destroy:function destroy($els){},swatchSelect2OptionTemplate:function swatchSelect2OptionTemplate(state){if(state.id){var colourKey=removeDiacritics(state.id).toLowerCase().replace(/'/g,"").replace(/[^a-z0-9]+/g,"-").replace(/-+/g,"-").replace(/-*$/,"");return $(['<div class="swatch-option">','<span class="swatch-option__nugget bg-',colourKey,'"></span>','<span class="swatch-option__label">',state.text,"</span>","</div>"].join(""))}else return $(['<div class="swatch-option swatch-option--all">','<span class="swatch-option__label">',state.text,"</span>","</div>"].join(""))}},$(function($2){var $2=$2;if($2(document).on("keyup.themeTabCheck",function(evt){evt.keyCode===9&&($2("body").addClass("tab-used"),$2(document).off("keyup.themeTabCheck"))}),$2.fn.hasAncestor=function(a){return this.filter(function(){return $2(this).closest(a).length>0})},$2.fn.slideUpAndRemove=function(speed){typeof speed>"u"&&(speed=200),$2(this).each(function(){$2(this).slideUp(speed,function(){$2(this).remove()})})},$2(document).on("click","a[data-toggle-target]",function(e){e.preventDefault();var $toggler=$2(this),$target=$2($2(this).data("toggle-target")),$transCont=$target.find(".toggle-target-container"),doCollapse=!$target.hasClass("toggle-target--hidden"),transitionDuration=$target.css("transition-duration").indexOf("ms")>=0?parseInt($target.css("transition-duration")):parseFloat($target.css("transition-duration"))*1e3;$target.data("toggle-in-progress")||($target.data("toggle-in-progress",!0),doCollapse?($toggler.addClass("toggle-target-toggler--is-hidden"),$target.css({height:$transCont.outerHeight()+"px",opacity:1}),setTimeout(function(){$target.css({height:0,opacity:0}),setTimeout(function(){$target.addClass("toggle-target--hidden"),$target.css({height:"",opacity:""}),$target.data("toggle-in-progress",!1)},transitionDuration)},10)):($toggler.removeClass("toggle-target-toggler--is-hidden"),$target.css({height:0,opacity:0,display:"block"}),setTimeout(function(){$target.css({height:$transCont.outerHeight()+"px",opacity:1}),setTimeout(function(){$target.removeClass("toggle-target--hidden"),$target.css({height:"",opacity:"",display:""}),$target.data("toggle-in-progress",!1)},transitionDuration)},10)))}),$2(document).on("change","select.navdrop",function(){window.location=$2(this).val()}),$2('a[rel="fancybox"]').fancybox($2.extend({},theme.fbOpts(),{titleShow:!1})),$2('<a href="#" class="page-shade" aria-label="'+theme.strings.general_navigation_menu_toggle_aria_label+'"></a>').on("click",function(){return $2("body").removeClass("reveal-mobile-nav show-search"),setTimeout(function(){$2("body").removeClass("enable-mobile-nav-transition")},750),!1}).appendTo("body"),theme.settings.quickbuy_style!="off"){var contractDetail=function($blocks,speed){$blocks.length>0&&($blocks.removeClass("expanded"),$blocks.find(".quickbuy-container").stop().animate({height:0},speed,function(){$2(this).find(".inner").empty()}),$blocks.stop().each(function(){$2(this).animate({paddingBottom:0},speed)}))},saveCollectionPageData=function(){$2(".collection-listing").each(function(){var $blocks=$2(this).find(".product-block");if($blocks.length<=1)return!0;var row=0,currTop=0,blockHeight=Math.min($blocks.first().outerHeight(),$2($blocks[1]).outerHeight()),blockPageOffset=$blocks.first().offset().top;$blocks.each(function(index){var currOffsetTop=$2(this).offset().top;index==0?currTop=currOffsetTop:currOffsetTop>currTop&&(row++,currTop=currOffsetTop),$2(this).data({offsetTop:blockPageOffset+row*blockHeight})})})},droppyDownAnimSpeed=500;$2(document).on("click",".product-list .product-block:not(.collection-block):not(.main-search-result) .quickbuy-toggle",function(){var pageWidth=$2(window).width(),productUrl=$2(this).attr("href");if(pageWidth>767){theme.currentQuickbuyRequest&&theme.currentQuickbuyRequest.abort();var $block=$2(this).closest(".product-block"),$detailCont=null,$quickbuyCont=null,$slider=$2(this).closest(".collection-sli
1der"),$sliderRow=null;if($slider.length>0){if($sliderRow=$slider.closest(".collection-slider-row"),$sliderRow.find(".quickbuy-container").length===0)return;$quickbuyCont=$sliderRow.find(".quickbuy-container")}else $quickbuyCont=$block.find(".quickbuy-container");if($detailCont=$quickbuyCont.find(".inner"),$block.toggleClass("expanded").hasClass("expanded")){if($slider.length>0){var noneExpanded=$slider.find(".product-block.expanded").not($block).removeClass("expanded").length===0;noneExpanded?$quickbuyCont.height(0):(theme.OptionManager.unloadProductOptions($2('[name="id"]',$quickbuyCont)),$2(".gallery",$quickbuyCont).off(this.namespace),$2(".slideshow",$quickbuyCont).slick("unslick")),$quickbuyCont.off("changedsize").on("changedsize",function(){$quickbuyCont.stop().animate({height:$detailCont.outerHeight()},droppyDownAnimSpeed)})}else{var $expandedSiblings=$block.siblings(".expanded");$expandedSiblings.each(function(){contractDetail($2(this),0),theme.OptionManager.unloadProductOptions($2('[name="id"]',this)),theme.destroyProductGallery(this)}),$quickbuyCont.off("changedsize").on("changedsize",function(){if($block.hasClass("expanded")){var targetHeight=$detailCont.outerHeight(),speed=$expandedSiblings.length>0?0:droppyDownAnimSpeed;$block.stop().animate({paddingBottom:targetHeight+20},speed),$quickbuyCont.stop().animate({height:targetHeight},speed)}})}window.SPR&&theme.ProductBlockManager.alignProductBlockHeights(),$detailCont.html('<div class="loading-spinner"></div>'),$quickbuyCont.trigger("changedsize");var url=$2(this).attr("href");url+=url.indexOf("?")>=0?"&view=_lightbox":"?view=_lightbox",theme.currentQuickbuyRequest=$2.get(url,function(response){var $newDetail=$2("<div>"+response+"</div>").find(".product-detail");if($newDetail.find(".more").attr("href",productUrl),$newDetail.find(".detail .title").wrapInner($2("<a>").attr("href",productUrl)),$newDetail.find(".show-gallery").removeClass("show-gallery").attr("href",productUrl),$newDetail.find(".user-content img").on("load",function(){$quickbuyCont.trigger("changedsize"),$2(this).off("load")}),$detailCont.html($newDetail),Shopify.PaymentButton&&$quickbuyCont.find(".shopify-payment-button").length){var _f=null;_f=function(){document.removeEventListener("shopify:payment_button:loaded",_f),$quickbuyCont.trigger("changedsize")},document.addEventListener("shopify:payment_button:loaded",_f),Shopify.PaymentButton.init()}theme.initProductGallery($quickbuyCont),$quickbuyCont.find('[name="id"]').trigger("optionate").on("variantChanged",function(){$quickbuyCont.trigger("changedsize")}),$quickbuyCont.trigger("changedsize")}).always(function(){theme.currentQuickbuyRequest=!1}),$quickbuyCont.find(".close-detail").removeAttr("tabindex");var scrollMode="qb",scrollOffset=-120;if($2(".section-header").css("position")=="sticky"&&(scrollOffset-=$2(".section-header").height()),scrollMode=="qb")$2("html:not(:animated),body:not(:animated)").animate({scrollTop:$quickbuyCont.offset().top+scrollOffset},500);else if($slider.length>0)$2("html:not(:animated),body:not(:animated)").animate({scrollTop:$block.offset().top},500);else{saveCollectionPageData();var offsetTop=typeof $block.data("offsetTop")<"u"?$block.data("offsetTop"):$block.offset().top;$2("html:not(:animated),body:not(:animated)").animate({scrollTop:offsetTop+scrollOffset},500)}}else{$slider.length>0?$quickbuyCont.stop().animate({height:0},droppyDownAnimSpeed,function(){$detailCont.empty()}):contractDetail($block,droppyDownAnimSpeed);var scrollUpOffset=-140;$2("html:not(:animated),body:not(:animated)").animate({scrollTop:$block.offset().top+scrollUpOffset},500),$quickbuyCont.find(".close-detail").attr("tabindex","-1")}return!1}}),$2(document).on("click",".quickbuy-container .close-detail",function(){var $slider=$2(this).closest(".collection-slider-row");
1return $slider.length?$slider.find(".product-block.expanded .quickbuy-toggle:first").trigger("click"):$2(this).closest(".product-block").find(".quickbuy-toggle:first").trigger("click"),!1})}jQuery.fn.reverse=[].reverse,$2(document).on("optionate",'[name="id"]',function(e){var $form=$2(this).closest("form"),productId=$form.data("product-id");theme.productData[productId]||document.getElementById("ProductJson-"+productId)?$2(this).closest("form").find(".dynamic-checkout-buttons").each(function(){$2(this).before($2(this).html()).remove()}).length>0&&window.Shopify&&Shopify.PaymentButton&&Shopify.PaymentButton.init():console.log("Product data missing"),$2(this).on("variantChanged",function(evt,variant2){var $labelCont=$form.closest(".product-detail").find(".product-label-container");$labelCont.find(".product-label").remove(),$labelCont.append($2("#variant-label-"+variant2.id).html())}),theme.OptionManager.initProductOptions(this);var $clickies=$form.find("[data-make-box]").addClass("has-clickyboxes").find("select").clickyBoxes();if($clickies.length>0){$2(this).closest(".quickbuy-container").trigger("changedsize");for(var productData=theme.OptionManager.getProductData($form),optionIndex=0;optionIndex<productData.options.length;optionIndex++){for(var optionValues={},variantIndex=0;variantIndex<productData.variants.length;variantIndex++){var variant=productData.variants[variantIndex];typeof optionValues[variant.options[optionIndex]]>"u"&&(optionValues[variant.options[optionIndex]]=!1),variant.available&&(optionValues[variant.options[optionIndex]]=!0)}for(var key in optionValues)optionValues[key]||$2(".selector-wrapper:eq("+optionIndex+") .clickyboxes li a",$form).filter(function(){return $2(this).attr("data-value")==key}).addClass("unavailable")}}$form.find(".selector-wrapper:not([data-make-box]) select").each(function(){theme.select2.init($2(this))}),$2(this).on("unloading",function(){$2(this).off("unloading variantChanged"),$form.find(".selector-wrapper select.clickybox-replaced").clickyBoxes("destroy"),theme.select2.destroyAllIn($form.find(".selector-wrapper"))})}),$2(document).on("variantImageSelected",".gallery",function(e,data){var mediaId=data.featured_media.id;$2(this).find('.thumbnails a[data-media-id="'+mediaId+'"]:first').trigger("select")}),$2(document).on("click",".product-detail .gallery .main-image a.show-gallery",function(){var images=[],currentIndex=0,$thumbs=$2(this).closest(".gallery").find(".thumbnails .thumbnail--media-image");if($thumbs.length)$thumbs.each(function(){var $imgThumb2=$2(this).find(".rimage-outer-wrapper").clone();$imgThumb2.find(".lazyloaded").removeClass("lazyloaded").addClass("lazyload").parent().addClass("lazyload--placeholder"),images.push({thumbTag:$imgThumb2,zoomUrl:$2(this).attr("href")})}),$thumbs.each(function(thisIndex){if($2(this).hasClass("selected"))return currentIndex=thisIndex,!1});else{var $imgThumb=$2(this).find(".rimage-outer-wrapper").clone();$imgThumb.find(".lazyloaded").removeClass("lazyloaded").addClass("lazyload").parent().addClass("lazyload--placeholder"),images.push({thumbTag:$imgThumb,zoomUrl:$2(this).attr("href")})}return theme.buildGalleryViewer({images,current:currentIndex,prev:theme.icons.chevronLeft,next:theme.icons.chevronRight,close:theme.icons.close}),!1});var $nonSectionedProductLists=$2(".product-list, .collection-listing").filter(function(){return $2(this).closest("[data-section-type]").length==0});$nonSectionedProductLists.length&&theme.ProductBlockManager.loadImages($nonSectionedProductLists),$2(window).on("debouncedresize",function(){setTimeout(function(){theme.ProductBlockManager.afterImagesResized()},100)}),theme.settings.show_size_chart&&$2(document).on("click",".size-chart-link",function(){return $2.fancybox($2.extend({},theme.fbOpts(),{showNavArrows:!1,content:$2(this).closest(".size-chart-container").find(".size-chart-content").html()})),!1}),theme.classUpTextLinks(document),$2("#template label").each(function(){var $sibinputs=$2(this).siblings('input:not([type="submit"]), textarea');$sibinputs.length==1&&$sibinputs.attr("id").length>0&&$2(this).attr("for",$sibinputs.attr("id"))}),$2(document).on("click",".sharing a",function(e){var $parent=$2(this).parent();if($parent.hasClass("twitter")){e.preventDefault();var url=$2(this).attr("href"),width=575,height=450,left=($2(window).width()-width)/2,top=($2(window).height()-height)/2,opts="status=1, toolbar=0, location=0, menubar=0, directories=0, scrollbars=0,width="+width+",height="+height+",top="+top+",left="+left;window.open(url,"Twitter",opts)}else if($parent.hasClass("facebook")){e.preventDefault();var url=$2(this).attr("href"),width=626,height=256,left=($2(window).width()-width)/2,top=($2(window).height()-height)/2,opts="status=1, toolbar=0, location=0, menubar=0, directories=0, scrollbars=0,width="+width+",height="+height+",top="+top+",left="+left;window.open(url,"Facebook",opts)}else if($parent.hasClass("pinterest")){e.preventDefault();
1var url=$2(this).attr("href"),width=700,height=550,left=($2(window).width()-width)/2,top=($2(window).height()-height)/2,opts="status=1, toolbar=0, location=0, menubar=0, directories=0, scrollbars=0,width="+width+",height="+height+",top="+top+",left="+left;window.open(url,"Pinterest",opts)}else if($parent.hasClass("google")){e.preventDefault();var url=$2(this).attr("href"),width=550,height=450,left=($2(window).width()-width)/2,top=($2(window).height()-height)/2,opts="status=1, toolbar=0, location=0, menubar=0, directories=0, scrollbars=0,width="+width+",height="+height+",top="+top+",left="+left;window.open(url,"Google+",opts)}}),$2(document).on("click",".quantity-wrapper [data-quantity]",function(){var adj=$2(this).data("quantity")=="up"?1:-1,$qty=$2(this).closest(".quantity-wrapper").find("[name=quantity]");return $qty.attr("step")&&(adj*=parseInt($qty.attr("step"))),$qty.val(Math.max(1,parseInt($qty.val())+adj)).trigger("change"),!1}),$2(".responsive-table").on("click",".responsive-table__cell-head",function(){if($2(window).width()<768)return $2(this).closest("tr").toggleClass("expanded"),!1}),theme.Sections.init(),theme.Sections.register("slideshow",theme.SlideshowSection),theme.Sections.register("gallery",theme.GallerySection),theme.Sections.register("testimonials",theme.TestimonialsSection),theme.Sections.register("image-with-text-overlay",theme.ImageWithTextOverlaySection),theme.Sections.register("featured-collection",theme.FeaturedCollectionSection),theme.Sections.register("featured-collections",theme.FeaturedCollectionsSection),theme.Sections.register("map",theme.MapSection),theme.Sections.register("background-video",theme.VideoManager,{deferredLoadViewportExcess:800}),theme.Sections.register("custom-row",theme.CustomRowSection),theme.Sections.register("featured-product",theme.FeaturedProductSection),theme.Sections.register("header",theme.HeaderSection,{deferredLoad:!1}),theme.Sections.register("announcement-bar",theme.AnnouncementBarSection,{deferredLoad:!1}),theme.Sections.register("footer",theme.FooterSection),theme.Sections.register("product-template",theme.ProductTemplateSection,{deferredLoad:!1}),theme.Sections.register("collection-template",theme.CollectionTemplateSection,{deferredLoad:!1}),theme.Sections.register("blog-template",theme.BlogTemplateSection,{deferredLoad:!1}),theme.Sections.register("cart-template",theme.CartTemplateSection,{deferredLoad:!1}),theme.Sections.register("list-collections-template",theme.ListCollectionsTemplateSection,{deferredLoad:!1}),theme.Sections.register("page-list-collections-template",theme.ListCollectionsTemplateSection,{deferredLoad:!1})}),$(function($2){cc.sections.length?cc.sections.forEach(function(section){try{theme.Sections.register(section.name,section.section)}catch(err){console.error("Unable to register section ".concat(section.name,"."),err)}}):console.warn("Barry: No common sections have been registered.")})})(theme.jQuery),window.addEventListener("DOMContentLoaded",()=>{["/","/account"].includes(window.location.pathname)&&localStorage.getItem("return_to")&&(window.location=localStorage.getItem("return_to"),localStorage.removeItem("return_to"))}),window.embedGlobalLightbox=function(url){const modal=document.createElement("div");modal.className="xfixed xtop-0 xleft-0 xw-full xh-full xflex xitems-center xjustify-center xbg-[#00000044] xz-[10000]";const content=document.createElement("div");content.className="xw-full xh-full lg:xw-[80%] lg:xh-[80%] xbg-white xrounded-lg xshadow-lg xoverflow-hidden xrelative";const iframe=document.createElement("iframe");iframe.src=url,iframe.className="xw-full xh-full xborder-0";const closeButton=document.createElement("button");closeButton.innerHTML="×",closeButton.className="xabsolute xtop-2 xright-2 xtext-gray-6000 xhover:text-gray-800 xtext-2xl xfont-bold xcursor-pointer xz-[10001]",closeButton.style.background="transparent",closeButton.style.border="none",closeButton.onclick=()=>{document.body.removeChild(modal)},content.appendChild(iframe),content.appendChild(closeButton),modal.appendChild(content),modal.addEventListener("click",e=>{e.target===modal&&document.body.removeChild(modal)}),document.body.appendChild(modal),document.body.style.overflow="hidden";const restoreScrolling=()=>{document.body.style.overflow=""};modal.addEventListener("transitionend",restoreScrolling,{once:!0})},window.embedGlobalLightbox=embedGlobalLightbox; 2//# sourceMappingURL=/cdn/shop/t/131/assets/theme.js.map?v=31377505796600226221783631747
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.