function handleFlipClockStyles(){let e=document.createElement("style");e.appendChild(document.createTextNode('\n #epb_timer * {\n direction: ltr;\n }\n .ht-flip-clock {\n font-family: "Helvetica Neue", Helvetica, sans-serif;\n font-size: 16px;\n -webkit-user-select: none;\n text-align: center;\n position: relative;\n width: 100%;\n display: inline-flex;\n font-size: 1vw;\n font-family: "Helvetica Neue", Helvetica, sans-serif;\n box-sizing: border-box;\n align-items: flex-end; }\n .ht-flip-clock .ht-flip-clock-group {\n display: flex;\n position: relative; }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-label {\n position: absolute;\n \n left: 0;\n width: 100%;\n \n height: 2em;\n line-height: 2em;\n font-weight: 400;\n text-transform: capitalize;\n transform: translateY(-100%); }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-label.ht-flip-clock-meridium {\n font-size: 1.75em;\n line-height: 1.75em;\n top: 50%;\n left: 100%;\n flex: 0;\n width: auto;\n text-transform: uppercase;\n font-weight: 200;\n transform: translate(0.5em, -50%); }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list {\n width: 4em;\n height: 6em;\n position: relative;\n border-radius: .75rem;\n box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.24), 0 3px 8px rgba(0, 0, 0, 0.05);\n font-weight: bold;\n color: #ccc; }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list:not(:last-child) {\n margin-right: .333em; }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list:not(.flip) .active .ht-flip-clock-list-item-inner {\n z-index: 4; }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list:not(.flip) .ht-flip-clock-list-item-inner .ht-top:after,\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list:not(.flip) .ht-flip-clock-list-item-inner .ht-bottom:after {\n display: none; }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list .ht-flip-clock-list-item-inner {\n position: absolute;\n width: 100%;\n height: 100%; }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list.flip {\n animation-delay: 500ms;\n animation-duration: 500ms; }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list.flip .ht-flip-clock-list-item-inner {\n perspective: 15em; }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list.flip .ht-top,\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list.flip .ht-bottom,\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list.flip .active,\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list.flip .active > div,\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list.flip .before,\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list.flip .before > div {\n animation-delay: inherit;\n animation-fill-mode: forwards;\n animation-duration: inherit;\n animation-timing-function: ease-in; }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list.flip .ht-top:after,\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list.flip .ht-bottom:after,\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list.flip .active:after,\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list.flip .active > div:after,\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list.flip .before:after,\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list.flip .before > div:after {\n animation-duration: inherit;\n animation-fill-mode: inherit;\n animation-timing-function: inherit; }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list.flip .before {\n animation-delay: 0s; }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list.flip .before .ht-top {\n animation-name: flip-top; }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list.flip .before .ht-top:after,\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list.flip .before .ht-bottom:after {\n animation-name: show-shadow; }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list.flip .active > div {\n animation-name: indexing; }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list.flip .active .ht-top:after,\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list.flip .active .ht-bottom:after {\n animation-delay: calc(500ms * .15);\n animation-name: hide-shadow; }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list.flip .active .ht-bottom {\n animation-name: flip-bottom; }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list .active {\n z-index: 2; }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list .active .ht-bottom {\n z-index: 2;\n transform-origin: top center; }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list .before {\n z-index: 3; }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list .before .ht-top {\n z-index: 2;\n transform-origin: bottom center; }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list .before .ht-top:after {\n background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, black 100%); }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list .before .ht-bottom:after {\n background: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0.1) 100%); }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list .ht-flip-clock-list-item-inner {\n position: absolute;\n width: 100%;\n height: 100%;\n transform: rotateX(0.0001deg); }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list .ht-flip-clock-list-item-inner:first-child {\n z-index: 2; }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list .ht-flip-clock-list-item-inner > .ht-top,\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list .ht-flip-clock-list-item-inner > .ht-bottom {\n width: 100%;\n height: 50%;\n overflow: hidden;\n position: relative;\n font-size: 4.5em;\n background: #333;\n box-shadow: inset 0 0 0.2em rgba(0, 0, 0, 0.5); }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list .ht-flip-clock-list-item-inner > .ht-top:after,\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list .ht-flip-clock-list-item-inner > .ht-bottom:after {\n content: " ";\n display: block;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n overflow: hidden; }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list .ht-flip-clock-list-item-inner > .ht-top:before,\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list .ht-flip-clock-list-item-inner > .ht-bottom:before {\n content: " ";\n display: block;\n width: 100%;\n height: 1px;\n position: absolute; }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list .ht-flip-clock-list-item-inner .ht-top {\n border-radius: .75rem .75rem 0 0;\n line-height: 1.33333; }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list .ht-flip-clock-list-item-inner .ht-top:after {\n border-radius: .75rem .75rem 0 0; }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list .ht-flip-clock-list-item-inner .ht-top:before {\n background: #333;\n opacity: .4;\n bottom: 0; }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list .ht-flip-clock-list-item-inner .ht-bottom {\n border-radius: 0 0 .75rem .75rem;\n line-height: 0; }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list .ht-flip-clock-list-item-inner .ht-bottom:after {\n border-radius: 0 0 .75rem .75rem; }\n .ht-flip-clock .ht-flip-clock-group .ht-flip-clock-list .ht-flip-clock-list-item-inner .ht-bottom:before {\n background: #ccc;\n opacity: .1; }\n .ht-flip-clock .ht-flip-clock-divider {\n position: relative;\n width: 1.5em;\n height: 6em; }\n .ht-flip-clock .ht-flip-clock-divider:before, .ht-flip-clock .ht-flip-clock-divider:after {\n content: " ";\n display: block;\n width: .75em;\n height: .75em;\n \n border-radius: 50%;\n position: absolute;\n top: 50%;\n left: 50%; }\n .ht-flip-clock .ht-flip-clock-divider:before {\n transform: translate(-50%, 75%); }\n .ht-flip-clock .ht-flip-clock-divider:after {\n transform: translate(-50%, -175%); }\n \n @keyframes indexing {\n 0% {\n z-index: 2; }\n 1% {\n z-index: 3; }\n 100% {\n z-index: 4; } }\n \n @keyframes flip-bottom {\n 0% {\n transform: rotateX(90deg); }\n 100% {\n transform: rotateX(0); } }\n \n @keyframes flip-top {\n 0% {\n transform: rotateX(0); }\n 100% {\n transform: rotateX(-90deg); } }\n \n @keyframes show-shadow {\n 0% {\n opacity: 0; }\n 100% {\n opacity: 1; } }\n \n @keyframes hide-shadow {\n 0% {\n opacity: 1; }\n 100% {\n opacity: 0; } }\n \n ')),document.head.appendChild(e)}function handleFlipClock2024(){(this||window).FlipClock=function(){function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var n=0;n1?t-1:0),i=1;i1?n-1:0),a=1;a=n)return O[t]}return null}function A(e,t){return String.fromCharCode(t(H(e),e.charCodeAt(0)))}function N(t){return q(t.toString().split("").map((function(e){return A(e,(function(e,t){return!e||te.min?t-1:e.max}))})).join(""),e(t))}var P=function(e){function n(e,i){var a;return t(this,n),(a=l(this,r(n).call(this,Object.assign({format:function(e){return e},prependLeadingZero:!0,minimumDigits:0},i)))).value||(a.value=e),a}return a(n,e),i(n,[{key:"isNaN",value:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){return isNaN(this.value)}))},{key:"isNumber",value:function(){return L()}},{key:"clone",value:function(e,t){return new this.constructor(e,Object.assign(this.getPublicAttributes(),t))}},{key:"digits",get:function(){return this.$digits},set:function(e){this.$digits=e,this.minimumDigits=Math.max(this.minimumDigits,w(e))}},{key:"value",get:function(){return this.$value},set:function(e){this.$value=e,this.digits=D(this.format(e),{minimumDigits:this.minimumDigits,prependLeadingZero:this.prependLeadingZero})}}],[{key:"defineName",value:function(){return"FaceValue"}}]),n}(E);function F(t){for(var n=!1,i=arguments.length,a=new Array(i>1?i-1:0),r=1;r=0&&this.decrement(e):this.increment(e),u.call(this,t),this.shouldStop(e)&&e.stop(),this.emit("interval")}},{key:"shouldStop",value:function(e){return!S(this.stopAt)&&this.stopAt===e.value.value}},{key:"format",value:function(e,t){return t}},{key:"defaultValue",value:function(){}},{key:"defaultAttributes",value:function(){}},{key:"defaultDataType",value:function(){}},{key:"increment",value:function(e,t){}},{key:"decrement",value:function(e,t){}},{key:"started",value:function(e){}},{key:"stopped",value:function(e){}},{key:"reset",value:function(e){}},{key:"initialized",value:function(e){}},{key:"rendered",value:function(e){}},{key:"mounted",value:function(e){this.autoStart&&e.timer.isStopped&&window.requestAnimationFrame((function(){return e.start(e)}))}},{key:"createFaceValue",value:function(e,t){var n=this;return P.make($(t)&&!t.name?t():t,{minimumDigits:this.minimumDigits,format:function(t){return n.format(e,t)}})}},{key:"dataType",get:function(){return this.defaultDataType()}},{key:"value",get:function(){return this.$value},set:function(e){e instanceof P||(e=this.createFaceValue(e)),this.$value=e}},{key:"stopAt",get:function(){return this.$stopAt},set:function(e){this.$stopAt=e}},{key:"originalValue",get:function(){return this.$originalValue},set:function(e){this.$originalValue=e}}]),n}(E),Y={years:"سنوات",months:"شهور",days:"أيام",hours:"ساعات",minutes:"دقائق",seconds:"ثواني"},G=["ar","ar-ar","arabic"],W=Object.freeze({dictionary:Y,aliases:G}),X={years:"Anys",months:"Mesos",days:"Dies",hours:"Hores",minutes:"Minuts",seconds:"Segons"},U=["ca","ca-es","catalan"],J=Object.freeze({dictionary:X,aliases:U}),Z={years:"Roky",months:"Měsíce",days:"Dny",hours:"Hodiny",minutes:"Minuty",seconds:"Sekundy"},Q=["cs","cs-cz","cz","cz-cs","czech"],K=Object.freeze({dictionary:Z,aliases:Q}),ee={years:"År",months:"Måneder",days:"Dage",hours:"Timer",minutes:"Minutter",seconds:"Sekunder"},te=["da","da-dk","danish"],ne=Object.freeze({dictionary:ee,aliases:te}),ie={years:"Jahre",months:"Monate",days:"Tage",hours:"Stunden",minutes:"Minuten",seconds:"Sekunden"},ae=["de","de-de","german"],re=Object.freeze({dictionary:ie,aliases:ae}),oe={years:"Years",months:"Months",days:"Days",hours:"Hours",minutes:"Minutes",seconds:"Seconds"},se=["en","en-us","english"],ce=Object.freeze({dictionary:oe,aliases:se}),de={years:"Años",months:"Meses",days:"Días",hours:"Horas",minutes:"Minutos",seconds:"Segundos"},le=["es","es-es","spanish"],pe=Object.freeze({dictionary:de,aliases:le}),_e={years:"سال",months:"ماه",days:"روز",hours:"ساعت",minutes:"دقیقه",seconds:"ثانیه"},he=["fa","fa-ir","persian"],ue=Object.freeze({dictionary:_e,aliases:he}),be={years:"Vuotta",months:"Kuukautta",days:"Päivää",hours:"Tuntia",minutes:"Minuuttia",seconds:"Sekuntia"},me=["fi","fi-fi","finnish"],fe=Object.freeze({dictionary:be,aliases:me}),ge={years:"Ans",months:"Mois",days:"Jours",hours:"Heures",minutes:"Minutes",seconds:"Secondes"},ye=["fr","fr-ca","french"],ke=Object.freeze({dictionary:ge,aliases:ye}),we={years:"שנים",months:"חודש",days:"ימים",hours:"שעות",minutes:"דקות",seconds:"שניות"},ve=["he","il","he-il","hebrew"],xe=Object.freeze({dictionary:we,aliases:ve}),Te=(ge={years:"वर्षों",months:"महीने",days:"दिन",hours:"घंटे ",minutes:"मिनट",seconds:"सेकंड"},ye=["hi","hindi"],Object.freeze({dictionary:ge,aliases:ye})),Se={years:"Év",months:"Hónap",days:"Nap",hours:"Óra",minutes:"Perc",seconds:"Másodperc"},je=["hu","hu-hu","hungarian"],Ce=Object.freeze({dictionary:Se,aliases:je}),Me=(ge={years:"ár",months:"mánuðum",days:"Dagar",hours:"Klst",minutes:"Mín",seconds:"Sek"},ye=["is","is-IS","icelandic"],Object.freeze({dictionary:ge,aliases:ye})),ze={years:"Anni",months:"Mesi",days:"Giorni",hours:"Ore",minutes:"Minuti",seconds:"Secondi"},$e=["it","italian"],Le=Object.freeze({dictionary:ze,aliases:$e}),Be={years:"年",months:"月",days:"日",hours:"時",minutes:"分",seconds:"秒"},Ee=["ja","jp","ja-jp","japanese"],De=Object.freeze({dictionary:Be,aliases:Ee}),Oe={years:"년",months:"월",days:"일",hours:"시",minutes:"분",seconds:"초"},qe=["ko","ko-kr","korean"],He=Object.freeze({dictionary:Oe,aliases:qe}),Ae={years:"Gadi",months:"Mēneši",days:"Dienas",hours:"Stundas",minutes:"Minūtes",seconds:"Sekundes"},Ne=["lv","lv-lv","latvian"],Ie=Object.freeze({dictionary:Ae,aliases:Ne}),Pe=(ge={years:"metų",months:"mėnesių",days:"dienos",hours:"valandos",minutes:"minučių",seconds:"sekundės"},ye=["lt","lit","lithuanian"],Object.freeze({dictionary:ge,aliases:ye})),Fe={years:"Jaren",months:"Maanden",days:"Dagen",hours:"Uren",minutes:"Minuten",seconds:"Seconden"},Ve=["nl","nl-be","dutch"],Re=Object.freeze({dictionary:Fe,aliases:Ve}),Ye={years:"År",months:"Måneder",days:"Dager",hours:"Timer",minutes:"Minutter",seconds:"Sekunder"},Ge=["no","nb","no-nb","norwegian"],We=Object.freeze({dictionary:Ye,aliases:Ge}),Xe={years:"Lat",months:"Miesięcy",days:"Dni",hours:"Godziny",minutes:"Minuty",seconds:"Sekundy"},Ue=["pl","pl-pl","polish"],Je=Object.freeze({dictionary:Xe,aliases:Ue}),Ze={years:"Anos",months:"Meses",days:"Dias",hours:"Horas",minutes:"Minutos",seconds:"Segundos"},Qe=["pt","pt-br","portuguese"],Ke=Object.freeze({dictionary:Ze,aliases:Qe}),et={years:"Ani",months:"Luni",days:"Zile",hours:"Ore",minutes:"Minute",seconds:"Secunde"},tt=["ro","ro-ro","romana"],nt=Object.freeze({dictionary:et,aliases:tt}),it={years:"лет",months:"месяцев",days:"дней",hours:"часов",minutes:"минут",seconds:"секунд"},at=["ru","ru-ru","russian"],rt=Object.freeze({dictionary:it,aliases:at}),ot={years:"Roky",months:"Mesiace",days:"Dni",hours:"Hodiny",minutes:"Minúty",seconds:"Sekundy"},st=["sk","sk-sk","slovak"],ct=Object.freeze({dictionary:ot,aliases:st}),dt={years:"År",months:"Månader",days:"Dagar",hours:"Timmar",minutes:"Minuter",seconds:"Sekunder"},lt=["sv","sv-se","swedish"],pt=Object.freeze({dictionary:dt,aliases:lt}),_t={years:"ปี",months:"เดือน",days:"วัน",hours:"ชั่วโมง",minutes:"นาที",seconds:"วินาที"},ht=["th","th-th","thai"],ut=Object.freeze({dictionary:_t,aliases:ht}),bt={years:"Yıl",months:"Ay",days:"Gün",hours:"Saat",minutes:"Dakika",seconds:"Saniye"},mt=["tr","tr-tr","turkish"],ft=Object.freeze({dictionary:bt,aliases:mt}),gt={years:"роки",months:"місяці",days:"дні",hours:"години",minutes:"хвилини",seconds:"секунди"},yt=["uk","ukr","uk-UA","ua","ua-ua","ukraine"],kt=Object.freeze({dictionary:gt,aliases:yt}),wt={years:"Năm",months:"Tháng",days:"Ngày",hours:"Giờ",minutes:"Phút",seconds:"Giây"},vt=["vn","vn-vn","vietnamese"],xt=Object.freeze({dictionary:wt,aliases:vt}),Tt={years:"年",months:"月",days:"日",hours:"时",minutes:"分",seconds:"秒"},St=["zh","zh-cn","chinese"],jt=Object.freeze({dictionary:Tt,aliases:St}),Ct={years:"年",months:"月",days:"日",hours:"時",minutes:"分",seconds:"秒"},Mt=["zh-tw"],zt=Object.freeze({dictionary:Ct,aliases:Mt}),$t=Object.freeze({Arabic:W,Catalan:J,Czech:K,Danish:ne,German:re,English:ce,Spanish:pe,Persian:ue,Finnish:fe,French:ke,Hebrew:xe,Hindi:Te,Hungarian:Ce,Icelandic:Me,Italian:Le,Japanese:De,Korean:He,Latvian:Ie,Lithuanian:Pe,Dutch:Re,Norwegian:We,Polish:Je,Portuguese:Ke,Romanian:nt,Russian:rt,Slovak:ct,Swedish:pt,Thai:ut,Turkish:ft,Ukrainian:kt,Vietnamese:xt,Chinese:jt,TraditionalChinese:zt});function Lt(e){return e?$t[e.toLowerCase()]||Object.values($t).find((function(t){return-1!==t.aliases.indexOf(e)})):null}function Bt(e,t){var n=C(t)?Lt(t):t;return(n.dictionary||n)[e]||e}function Et(e,t){return t.parentNode?(t.parentNode.replaceChild(e,t),e):t}function Dt(e,t){if(z(t))for(var n in t)e.setAttribute(n,t[n]);return e}function Ot(e,t){return M(t)&&t.filter(m).forEach((function(t){t instanceof HTMLElement&&e.appendChild(t)})),e}function qt(e,t,n){return e instanceof HTMLElement||(e=document.createElement(e)),Dt(e,z(t)?t:n),z(t)||M(t)?Ot(e,t):e.innerHTML=t,e}var Ht=function(e){function n(e){var i;if(t(this,n),(i=l(this,r(n).call(this,Object.assign({parent:null},e)))).theme||h("".concat(i.name," does not have a theme defined.")),i.language||h("".concat(i.name," does not have a language defined.")),!i.theme[i.name])throw new Error("".concat(i.name," cannot be rendered because it has no template."));return i}return a(n,e),i(n,[{key:"translate",value:function(e){return Bt(e,this.language)}},{key:"t",value:function(e){return this.translate(e)}},{key:"render",value:function(){var e=qt("div",{class:"flip-clock"===this.className?"ht-flip-clock":"ht-flip-clock-"+this.className});return this.theme[this.name](e,this),this.el?this.el.innerHTML!==e.innerHTML&&(this.el=Et(e,this.el)):this.el=e,this.el}},{key:"mount",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.render(),this.parent=e,t?this.parent.insertBefore(this.el,t):this.parent.appendChild(this.el),this.el}},{key:"className",get:function(){return B(this.constructor.defineName())}},{key:"el",get:function(){return this.$el},set:function(e){F(e,null,HTMLElement)||h(V.element),this.$el=e}},{key:"parent",get:function(){return this.$parent},set:function(e){this.$parent=e}},{key:"theme",get:function(){return this.$theme},set:function(e){F(e,"object")||h(V.value),this.$theme=e}},{key:"language",get:function(){return this.$language},set:function(e){C(e)&&(e=Lt(e)),F(e,"object")||h(V.language),this.$language=e}}]),n}(E),At=function(e){function n(){return t(this,n),l(this,r(n).apply(this,arguments))}return a(n,e),i(n,null,[{key:"defineName",value:function(){return"Divider"}}]),n}(Ht),Nt=function(e){function n(e,i){return t(this,n),l(this,r(n).call(this,Object.assign({value:e},z(e)?e:null,i)))}return a(n,e),i(n,null,[{key:"defineName",value:function(){return"ListItem"}}]),n}(Ht),It=function(e){function n(e,i){return t(this,n),l(this,r(n).call(this,Object.assign({value:e,items:[]},z(e)?e:null,i)))}return a(n,e),i(n,[{key:"createListItem",value:function(e,t){var n=new Nt(e,Object.assign({theme:this.theme,language:this.language},t));return this.$items.push(n),n}},{key:"value",get:function(){return this.$value},set:function(e){this.$value=e}},{key:"items",get:function(){return this.$items},set:function(e){this.$items=e}}],[{key:"defineName",value:function(){return"List"}}]),n}(Ht),Pt=function(e){function n(e,i){return t(this,n),l(this,r(n).call(this,Object.assign({items:M(e)?e:[]},z(e)?e:null,i)))}return a(n,e),i(n,null,[{key:"defineName",value:function(){return"Group"}}]),n}(Ht),Ft=function(e){function n(e,i){return t(this,n),l(this,r(n).call(this,Object.assign({label:e},z(e)?e:null,i)))}return a(n,e),i(n,null,[{key:"defineName",value:function(){return"Label"}}]),n}(Ht),Vt=function(e){function n(e){return t(this,n),l(this,r(n).call(this,Object.assign({count:0,handle:null,started:null,running:!1,interval:L(e)?e:null},z(e)?e:null)))}return a(n,e),i(n,[{key:"reset",value:function(e){var t=this;return this.stop((function(){t.count=0,t.start((function(){return u.call(t,e)})),t.emit("reset")})),this}},{key:"start",value:function(e){var t=this;return this.started=new Date,this.lastLoop=Date.now(),this.running=!0,this.emit("start"),function n(){return Date.now()-t.lastLoop>=t.interval&&(u.call(t,e),t.lastLoop=Date.now(),t.emit("interval"),t.count++),t.handle=window.requestAnimationFrame(n),t}()}},{key:"stop",value:function(e){var t=this;return this.isRunning&&setTimeout((function(){window.cancelAnimationFrame(t.handle),t.running=!1,u.call(t,e),t.emit("stop")})),this}},{key:"elapsed",get:function(){return this.lastLoop?this.lastLoop-(this.started?this.started.getTime():(new Date).getTime()):0}},{key:"isRunning",get:function(){return!0===this.running}},{key:"isStopped",get:function(){return!1===this.running}}],[{key:"defineName",value:function(){return"Timer"}}]),n}(E),Rt=function(e){function n(){return t(this,n),l(this,r(n).apply(this,arguments))}return a(n,e),i(n,[{key:"increment",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;e.value=this.value.value+t}},{key:"decrement",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;e.value=this.value.value-t}}],[{key:"defineName",value:function(){return"Counter"}}]),n}(R),Yt=function(e){function n(){return t(this,n),l(this,r(n).apply(this,arguments))}return a(n,e),i(n,[{key:"defaultDataType",value:function(){return Date}},{key:"defaultAttributes",value:function(){return{showSeconds:!0,showLabels:!0}}},{key:"shouldStop",value:function(e){if(T(e.stopAt)||S(e.stopAt))return!1;if(this.stopAt instanceof Date)return this.countdown?this.stopAt.getTime()>=this.value.value.getTime():this.stopAt.getTime()<=this.value.value.getTime();if(L(this.stopAt)){var t=Math.floor((this.value.value.getTime()-this.originalValue.getTime())/1e3);return this.countdown?this.stopAt>=t:this.stopAt<=t}throw new Error("the stopAt property must be an instance of Date or Number.")}},{key:"increment",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;e.value=new Date(this.value.value.getTime()+t+((new Date).getTime()-e.timer.lastLoop))}},{key:"decrement",value:function(e){if(e.value.digits.flat().every((e=>"0"===e))){window.clock.timer.stop();let e=document.getElementsByClassName("ht-flip-clock-list-item-inner"),t=[],n=[];Array.from(e).forEach((e=>{t.push(...e.getElementsByClassName("ht-top")),n.push(...e.getElementsByClassName("ht-bottom"))}));for(let i=0;i1&&void 0!==arguments[1]?arguments[1]:0;e.value=new Date(this.value.value.getTime()-t-((new Date).getTime()-e.timer.lastLoop))}}},{key:"format",value:function(e,t){var n=e.timer.isRunning?e.timer.started:new Date(Date.now()-50);return[[this.getMinutes(t,n)],this.showSeconds?[this.getSeconds(t,n)]:null].filter(m)}},{key:"getMinutes",value:function(e,t){return b(this.getTotalSeconds(e,t)/60)}},{key:"getSeconds",value:function(e,t){var n=this.getTotalSeconds(e,t);return Math.abs(Math.ceil(60===n?0:n%60))}},{key:"getTotalSeconds",value:function(e,t){return e.getTime()===t.getTime()?0:Math.round((e.getTime()-t.getTime())/1e3)}}],[{key:"defineName",value:function(){return"MinuteCounter"}}]),n}(R),Gt=function(e){function n(){return t(this,n),l(this,r(n).apply(this,arguments))}return a(n,e),i(n,[{key:"format",value:function(e,t){var n=e.started?t:new Date,i=e.originalValue||t,a=this.countdown?i:n,r=this.countdown?n:i,o=[[this.getHours(a,r)],[this.getMinutes(a,r)]];return this.showSeconds&&o.push([this.getSeconds(a,r)]),o}},{key:"getMinutes",value:function(e,t){return Math.abs(_(r(n.prototype),"getMinutes",this).call(this,e,t)%60)}},{key:"getHours",value:function(e,t){return Math.floor(this.getTotalSeconds(e,t)/60/60)}}],[{key:"defineName",value:function(){return"HourCounter"}}]),n}(Yt),Wt=function(e){function n(){return t(this,n),l(this,r(n).apply(this,arguments))}return a(n,e),i(n,[{key:"format",value:function(e,t){var n=e.started?t:new Date,i=e.originalValue||t,a=this.countdown?i:n,r=this.countdown?n:i,o=[[this.getDays(a,r)],[this.getHours(a,r)],[this.getMinutes(a,r)]];return this.showSeconds&&o.push([this.getSeconds(a,r)]),o}},{key:"getDays",value:function(e,t){return Math.floor(this.getTotalSeconds(e,t)/60/60/24)}},{key:"getHours",value:function(e,t){return Math.abs(_(r(n.prototype),"getHours",this).call(this,e,t)%24)}}],[{key:"defineName",value:function(){return"DayCounter"}}]),n}(Gt),Xt=function(e){function n(){return t(this,n),l(this,r(n).apply(this,arguments))}return a(n,e),i(n,[{key:"defaultDataType",value:function(){return Date}},{key:"defaultValue",value:function(){return new Date}},{key:"defaultAttributes",value:function(){return{showSeconds:!0,showLabels:!1}}},{key:"format",value:function(e,t){t||(t=new Date);var n=[[t.getHours()],[t.getMinutes()]];return this.showSeconds&&n.push([t.getSeconds()]),n}},{key:"increment",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;e.value=new Date(this.value.value.getTime()+t+((new Date).getTime()-e.timer.lastLoop))}},{key:"decrement",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;e.value=new Date(this.value.value.getTime()-t-((new Date).getTime()-e.timer.lastLoop))}}],[{key:"defineName",value:function(){return"TwentyFourHourClock"}}]),n}(R),Ut=function(e){function n(){return t(this,n),l(this,r(n).apply(this,arguments))}return a(n,e),i(n,[{key:"defaultAttributes",value:function(){return{showLabels:!1,showSeconds:!0,showMeridium:!0}}},{key:"format",value:function(e,t){t||(t=new Date);var n=t.getHours(),i=[n>12?n-12:0===n?12:n,t.getMinutes()];return this.meridium=n>12?"pm":"am",this.showSeconds&&i.push(t.getSeconds()),i}}],[{key:"defineName",value:function(){return"TwelveHourClock"}}]),n}(Xt),Jt=function(e){function n(){return t(this,n),l(this,r(n).apply(this,arguments))}return a(n,e),i(n,[{key:"format",value:function(e,t){var n=e.timer.started?t:new Date,i=e.originalValue||t,a=this.countdown?i:n,r=this.countdown?n:i,o=[[this.getWeeks(a,r)],[this.getDays(a,r)],[this.getHours(a,r)],[this.getMinutes(a,r)]];return this.showSeconds&&o.push([this.getSeconds(a,r)]),o}},{key:"getWeeks",value:function(e,t){return Math.floor(this.getTotalSeconds(e,t)/60/60/24/7)}},{key:"getDays",value:function(e,t){return Math.abs(_(r(n.prototype),"getDays",this).call(this,e,t)%7)}}],[{key:"defineName",value:function(){return"WeekCounter"}}]),n}(Wt),Zt=function(e){function n(){return t(this,n),l(this,r(n).apply(this,arguments))}return a(n,e),i(n,[{key:"format",value:function(e,t){var n=e.timer.started?t:new Date,i=e.originalValue||t,a=this.countdown?i:n,r=this.countdown?n:i,o=[[this.getYears(a,r)],[this.getWeeks(a,r)],[this.getDays(a,r)],[this.getHours(a,r)],[this.getMinutes(a,r)]];return this.showSeconds&&o.push([this.getSeconds(a,r)]),o}},{key:"getYears",value:function(e,t){return Math.floor(Math.max(0,this.getTotalSeconds(e,t)/60/60/24/7/52))}},{key:"getWeeks",value:function(e,t){return Math.abs(_(r(n.prototype),"getWeeks",this).call(this,e,t)%52)}}],[{key:"defineName",value:function(){return"YearCounter"}}]),n}(Jt),Qt=Object.freeze({Counter:Rt,DayCounter:Wt,MinuteCounter:Yt,HourCounter:Gt,TwelveHourClock:Ut,TwentyFourHourClock:Xt,WeekCounter:Jt,YearCounter:Zt});function Kt(e,t){Ot(e,[qt("div",{class:"ht-flip-clock-dot ht-top"}),qt("div",{class:"ht-flip-clock-dot ht-bottom"})])}function en(e,t){return e?e.childNodes?e.childNodes[t]:e[t]:null}function tn(e){return e?e.querySelector(".ht-flip-clock-list-item:first-child .ht-top").innerHTML:null}function nn(e,t){Ot(e,t.value.digits.map((function(e,n){var i=en(t.el?t.el.querySelectorAll(".ht-flip-clock-group"):null,n),a=e.map((function(e,n){var a=tn(en(i?i.querySelectorAll(".ht-flip-clock-list"):null,n));return t.createList(e,{domValue:a,countdown:t.countdown,animationRate:t.face.animationRate||t.face.delay})}));return t.createGroup(a)})).map((function(e){return e.render()})))}function an(e,t){Ot(e,t.items.map((function(e){return e.render()})))}function rn(e,t){e.innerHTML=t.t(t.label)}function on(e,t){var n=t.domValue||(t.countdown?N(t.value):I(t.value));t.domValue&&t.domValue!==t.value&&e.classList.add("flip"),e.style.animationDelay="".concat(t.animationRate/2,"ms"),e.style.animationDuration="".concat(t.animationRate/2,"ms"),t.items=[t.createListItem(t.value,{active:!0}),t.createListItem(n,{active:!1})],Ot(e,t.items.map((function(e){return e.render()})))}function sn(e,t){var n=!0===t.active?"active":!1===t.active?"before":null;e.classList.add(n),Ot(e,[qt("div",[qt("div",t.value,{class:"ht-top"}),qt("div",t.value,{class:"ht-bottom"})],{class:"ht-flip-clock-list-item-inner"})])}function cn(e,t){t.createDivider().mount(e,e.childNodes[1]),t.createDivider().mount(e,e.childNodes[3]),t.face.showSeconds&&t.createDivider().mount(e,e.childNodes[5]),t.face.showLabels&&(t.createLabel("days").mount(e.childNodes[0]),t.createLabel("hours").mount(e.childNodes[2]),t.createLabel("minutes").mount(e.childNodes[4]),t.face.showSeconds&&t.createLabel("seconds").mount(e.childNodes[6]))}function dn(e,t){t.createDivider().mount(e,e.childNodes[1]),t.face.showSeconds&&t.createDivider().mount(e,e.childNodes[3]),t.face.showLabels&&(t.createLabel("hours").mount(e.childNodes[0]),t.createLabel("minutes").mount(e.childNodes[2]),t.face.showSeconds&&t.createLabel("seconds").mount(e.childNodes[4]))}function ln(e,t){t.face.showSeconds&&t.createDivider().mount(e,e.childNodes[1]),t.face.showLabels&&(t.createLabel("minutes").mount(e.childNodes[0]),t.face.showSeconds&&t.createLabel("seconds").mount(e.childNodes[2]))}function pn(e,t){t.createDivider().mount(e,e.childNodes[1]),t.face.showSeconds&&t.createDivider().mount(e,e.childNodes[3]),t.face.showLabels&&(t.createLabel("hours").mount(e.childNodes[0]),t.createLabel("minutes").mount(e.childNodes[2]),t.face.showSeconds&&t.createLabel("seconds").mount(e.childNodes[4]))}function _n(e,t){if(pn(e,t),t.face.showMeridium&&t.face.meridium){var n=t.createLabel(t.face.meridium),i=e.childNodes[e.childNodes.length-1];n.mount(i).classList.add("ht-flip-clock-meridium")}}function hn(e,t){t.createDivider().mount(e,e.childNodes[1]),t.createDivider().mount(e,e.childNodes[3]),t.createDivider().mount(e,e.childNodes[5]),t.face.showSeconds&&t.createDivider().mount(e,e.childNodes[7]),t.face.showLabels&&(t.createLabel("weeks").mount(e.childNodes[0]),t.createLabel("days").mount(e.childNodes[2]),t.createLabel("hours").mount(e.childNodes[4]),t.createLabel("minutes").mount(e.childNodes[6]),t.face.showSeconds&&t.createLabel("seconds").mount(e.childNodes[8]))}function un(e,t){t.createDivider().mount(e,e.childNodes[1]),t.createDivider().mount(e,e.childNodes[3]),t.createDivider().mount(e,e.childNodes[5]),t.createDivider().mount(e,e.childNodes[7]),t.face.showSeconds&&t.createDivider().mount(e,e.childNodes[9]),t.face.showLabels&&(t.createLabel("years").mount(e.childNodes[0]),t.createLabel("weeks").mount(e.childNodes[2]),t.createLabel("days").mount(e.childNodes[4]),t.createLabel("hours").mount(e.childNodes[6]),t.createLabel("minutes").mount(e.childNodes[8]),t.face.showSeconds&&t.createLabel("seconds").mount(e.childNodes[10]))}var bn=Object.freeze({DayCounter:cn,HourCounter:dn,MinuteCounter:ln,TwelveHourClock:_n,TwentyFourHourClock:pn,WeekCounter:hn,YearCounter:un}),mn={face:Rt,theme:{Divider:Kt,FlipClock:nn,Group:an,Label:rn,List:on,ListItem:sn,faces:bn},language:ce};return function(e){function n(e,i,a){var o;t(this,n),F(e,HTMLElement)||h(V.element),z(i)&&!a&&(a=i,i=void 0);var s=a.face||mn.face;return delete a.face,(o=l(this,r(n).call(this,Object.assign({originalValue:i,theme:mn.theme,language:mn.language,timer:Vt.make(a.interval||1e3)},a)))).face||(o.face=s),o.mount(e),o}return a(n,e),i(n,[{key:"mount",value:function(e){return _(r(n.prototype),"mount",this).call(this,e),this.face.mounted(this),this}},{key:"render",value:function(){return _(r(n.prototype),"render",this).call(this),this.theme.faces[this.face.name]&&this.theme.faces[this.face.name](this.el,this),this.face.rendered(this),this.el}},{key:"start",value:function(e){var t=this;return this.timer.started||(this.value=this.originalValue),S(this.face.stopAt)&&(this.face.stopAt=this.stopAt),S(this.face.originalValue)&&(this.face.originalValue=this.originalValue),this.timer.start((function(){t.face.interval(t,e)})),this.face.started(this),this.emit("start")}},{key:"stop",value:function(e){return this.timer.stop(e),this.face.stopped(this),this.emit("stop")}},{key:"reset",value:function(e){var t=this;return this.value=this.originalValue,this.timer.reset((function(){return t.interval(t,e)})),this.face.reset(this),this.emit("reset")}},{key:"increment",value:function(e){return this.face.increment(this,e),this}},{key:"decrement",value:function(e){return this.face.decrement(this,e),this}},{key:"createDivider",value:function(e){return At.make(Object.assign({theme:this.theme,language:this.language},e))}},{key:"createList",value:function(e,t){return It.make(e,Object.assign({theme:this.theme,language:this.language},t))}},{key:"createLabel",value:function(e,t){return Ft.make(e,Object.assign({theme:this.theme,language:this.language},t))}},{key:"createGroup",value:function(e,t){return Pt.make(e,Object.assign({theme:this.theme,language:this.language},t))}},{key:"face",get:function(){return this.$face},set:function(e){F(e,[R,"string","function"])||h(V.face),this.$face=(Qt[e]||e).make(Object.assign(this.getPublicAttributes(),{originalValue:this.face?this.face.originalValue:void 0})),this.$face.initialized(this),this.value?this.$face.value=this.face.createFaceValue(this,this.value.value):this.value||(this.value=this.originalValue),this.el&&this.render()}},{key:"stopAt",get:function(){return $(this.$stopAt)?this.$stopAt(this):this.$stopAt},set:function(e){this.$stopAt=e}},{key:"timer",get:function(){return this.$timer},set:function(e){F(e,Vt)||h(V.timer),this.$timer=e}},{key:"value",get:function(){return this.face?this.face.value:null},set:function(e){if(!this.face)throw new Error("A face must be set before setting a value.");e instanceof P?this.face.value=e:this.value?this.face.value=this.face.value.clone(e):this.face.value=this.face.createFaceValue(this,e),this.el&&this.render()}},{key:"originalValue",get:function(){return $(this.$originalValue)&&!this.$originalValue.name?this.$originalValue():S(this.$originalValue)||T(this.$originalValue)?this.face?this.face.defaultValue():void 0:this.$originalValue},set:function(e){this.$originalValue=e}}],[{key:"defineName",value:function(){return"FlipClock"}},{key:"setDefaultFace",value:function(e){F(e,R)||h(V.face),mn.face=e}},{key:"setDefaultTheme",value:function(e){F(e,"object")||h(V.theme),mn.theme=e}},{key:"setDefaultLanguage",value:function(e){F(e,"object")||h(V.language),mn.language=e}},{key:"defaults",get:function(){return mn}}]),n}(Ht)}()}function handleContentShiftTopPush(e,t,n){let i=[".site-header.page-element:not(.is-moved-by-drawer)",".nav-mobile",".ajaxify-drawer","#MobileNav:not(.site-header__drawer)",".header__close.fixed",".site-header.headroom.headroom--top","header.hero-active .hero-image-header-wrap","#nav .wsmenu","body:not(.scrolled-down) #site-control.site-control",".nav-shift #page-banner.banner-under-header",".nav-shift .container #main","#shopify-section-general-header .main-header-wrapper:not(.sticky-header-scrolled) + .header-drawer",".mobile_nav-fixed--true .page-banner",".mobile_nav-fixed--true .page_banner",".mobile_nav-fixed--false .page_banner",".tt-desctop-parent-search .tt-dropdown-menu",".header__search-bar-wrapper.is-fixed","header#top.scroll-to-fixed-fixed:not(.js-header-sticky--fixed)",".site-header.has-scrolled",".site-header#header.header--has-scrolled",".site-header#header.header--is-standard.header--standard",".site-header#header.is-standard.header--standard",".site-header#header.header--is-hamburger.header--standard",".pageWrap #shopify-section-header nav.nav-hamburger.nav-main","nav#header-menu.header__drawer.caps.drawer--visible .drawer__content",'#PageContainer .transition-body #shopify-section-header div[data-section-id="header"][data-section-type="header"] #HeaderWrapper.header-wrapper:not(.header-wrapper--sticky)'],a=["body:not(.mobile-drawer--open) .page-wrapper.page-element",".site-header.is-standard.shift--alert",".large--hide.medium-down--show.sticky-header:not(.ui)","#shopify-section-static-header.site-header-sticky--open:not(.visible)","body:not(.site-header-sticky--scrolled) .site-navigation-wrapper + .site-mobile-nav .mobile-nav-panel","body:not(.js-drawer-open) .sticky-header.offset-by-announcement-bar","#announcement-bar.table",'a#pagecontent[name="pagecontent"]',".header.header-fixed--true.is-absolute",".mobile_nav-fixed--false.is-active #header",".site-header-main-content .live-search--takeover .live-search-form","#shopify-section-header + .index-sections .slideshow-section","#shopify-section-header + .main_content_area .index-sections .slideshow-section","#shopify-section-header + .index-sections .banner-section"],r=[];e<=1080&&i.push(".navigation.navigation-has-mega-nav"),e>720&&i.push("#shopify-section-general-header .main-header-wrapper:not(.sticky-header-scrolled)"),e>=800&&a.push("#site-wrap #header #shopify-section-header > .row.clearfix","#site-wrap #header #shopify-section-header + .curr-switcher.js"),e<=948&&r.push("#MainQuickSearch .quick-search__container");let o="";i.length&&(o=i.join()+"{top:"+t+"px !important;}");let s="";a.length&&(s=a.join()+"{margin-top:"+t+"px;}");let c="";r.length&&(c=r.join()+"{padding-top:"+t+"px;}");let d=document.querySelector("#wrapper theme-header.header-sticky--active");d&&(d.style.marginTop="-1px");let l=document.querySelector(".header.header--layout-logo-center-nav-below.header--has-accounts.header--has-social-links.header--has-country-or-locale");l&&(l.style.marginTop="-1px",l.style.paddingBottom="1px"),document.body.insertAdjacentHTML("beforeend",'
")}function handleContentShiftTopPushSticky(){themeStoreIds=[411,798,838,855,857,871,887,1114,1190,1608,1662,2240,2348,2801,2821];let e=themeStoreIds.includes(window.Shopify.theme.theme_store_id);function t(e){var t=("; "+document.cookie).split("; "+e+"=");if(2==t.length)return t.pop().split(";").shift()}return{handleContentShiftTopPushStickyLogic:function(n,i){if(("fsb"!==i||"yes"!==t("fsb_close_clicked"))&&!("qab"===i&&"yes"===t("qab_close_clicked")||"epb"===i&&"yes"===t("epb_close_clicked")))if(e){let e=window.hextomData.qabHeight?window.hextomData.qabHeight:0,t=window.hextomData.fsbHeight?window.hextomData.fsbHeight:0,n=window.hextomData.epbHeight?window.hextomData.epbHeight:0,a=Math.floor(e+t+n),r=document.getElementById(`${i}_theme_integration_styles`);switch(r?r.innerHTML="":(r=document.createElement("div"),r.id=`${i}_theme_integration_styles`,document.body.appendChild(r)),window.Shopify.theme.theme_store_id){case 411:if(!!!document.querySelector(".overlay-header-wrapper")){let e=document.createElement("style");e.textContent=`.shopify-section.shopify-section-group-header-group.header-section.sticky-header {top: ${a}px !important}`,r.appendChild(e)}break;case 798:{let e=document.querySelector(".product__meta-inner")?parseInt(window.getComputedStyle(document.querySelector(".product__meta-inner")).getPropertyValue("top"),10):0,t=document.createElement("style");t.textContent=`\n header.header-container.is-sticky #header {top: ${a}px !important;}\n .shopify-section.section-borderable {margin-top: ${a}px;}\n .header.header--default.header--transparent {top: 0 !important;}\n .product__meta-inner {top: ${a+e}px;}\n `,r.appendChild(t);break}case 838:{let e=document.body.classList.contains("site-header-sticky"),t=document.createElement("style");if(t.textContent=`${e?'.site-header.site-header-nav--open[role="banner"], ':""}.live-search.allow-scroll-while-locked.live-search--takeover.live-search--focused, #site-mobile-nav, .site-header.site-header-sticky--scrolled {top: ${a}px !important;}`,r.appendChild(t),"collection"==meta.page.pageType&&window.innerWidth<860){let t=document.querySelector('.site-header.site-header-nav--open[role="banner"]'),n=t&&e?t.offsetHeight:0,i=document.createElement("style");i.textContent=`.productgrid--utils.productgrid--utils--visible-mobile.productgrid--utils-container.productgrid--utils-sticky.productgrid--utils-box-shadow {top: ${n+a}px !important}`,r.appendChild(i)}break}case 855:{const e=document.documentElement;if("1"===getComputedStyle(e).getPropertyValue("--header-is-sticky").trim()){let e=document.querySelector("height-observer.collection-toolbar.full-bleed"),t=e?e.offsetHeight:0,n=document.querySelector("header").offsetHeight,i=document.createElement("style");i.textContent=`\n .shopify-section.shopify-section-group-header-group.shopify-section--header {top: ${a}px !important;}\n height-observer.collection-toolbar.full-bleed {top: ${a+n}px;}\n safe-sticky.facets-sidebar {top: ${a+n+t+20}px !important;}\n `,r.appendChild(i)}else{let e=document.querySelector("height-observer.collection-toolbar.full-bleed"),t=e?e.offsetHeight:0,n=document.createElement("style");n.textContent=`\n height-observer.collection-toolbar.full-bleed {top: ${a}px;}\n safe-sticky.facets-sidebar {top: ${a+t+20}px !important;}\n \n `,r.appendChild(n)}break}case 857:{let e=document.createElement("style");if(e.textContent=`.site-header.site-header--stuck.site-header--opening {top: ${a}px !important}`,r.appendChild(e),"collection"==meta.page.pageType)if(window.innerWidth>=770){let e=document.querySelector(".grid__item.medium-up--one-fifth.grid__item--sidebar");if(e){let t=e.style.top?parseInt(e.style.top,10):0,n=document.createElement("style");n.textContent=`.grid__item.medium-up--one-fifth.grid__item--sidebar {top: ${t+a}px !important}`,r.appendChild(n)}}else{let e=document.querySelector(".collection-filter");if(e){const t=e.style.top?parseInt(e.style.top,10):0;let n=document.createElement("style");const i=null!==document.getElementById("HeaderWrapper").querySelector("#StickyHeaderWrap");n.textContent=`\n .collection-filter {top: ${t+a+(i?0:10)}px !important}`,r.appendChild(n)}}break}case 871:{const e=document.querySelector(".shopify-section.shopify-section-group-header-group.shopify-section__header").firstElementChild.getAttribute("data-section-settings").replace(/"/g,'"'),t=JSON.parse(e),n=()=>{let e=document.querySelector(".card.card--collapsed.card--sticky"),n=e&&e.style.top?parseInt(e.style.top,10):0,i=document.querySelector(".shopify-section.shopify-section-group-header-group.shopify-section__header"),o=i?i.offsetHeight:0,s=document.createElement("style");!0===t.useStickyHeader?s.textContent=`\n .shopify-section.shopify-section-group-header-group.shopify-section__header {top: ${a}px !important}\n .card.card--collapsed.card--sticky {top: ${a+n}px !important}\n .header__search-bar-wrapper.is-visible.is-fixed {top: ${a}px;}\n ${window.innerWidth<1e3?`.collection__toolbar {top: ${a+o}px;}`:""}\n #mobile-collection-filters {z-index: 1000005;}\n `:s.textContent=`\n .card.card--collapsed.card--sticky {top: ${a+10}px !important}\n .header__search-bar-wrapper.is-visible.is-fixed {top: ${a}px;}\n .collection__toolbar {top: ${a}px;}\n #mobile-collection-filters {z-index: 1000005;}\n `,r.appendChild(s)};n(),setTimeout((()=>{n()}),700),setTimeout((()=>{n()}),1400),setTimeout((()=>{n()}),2100);break}case 887:{let e=document.createElement("style");e.textContent=`body > .shopify-section.shopify-section-group-header-group.section-header.shopify-section-header-sticky:not(.shopify-section-header-hidden) {top: ${a}px !important}`,r.appendChild(e);break}case 1114:{let e=document.createElement("style");e.textContent=`.shopify-section.shopify-section-group-group-header.main-header {top: ${a}px !important}`,r.appendChild(e);break}case 1190:if("collection"==meta.page.pageType){let e=document.querySelector("safe-sticky.collection__facets-scroller"),t=e?parseInt(e.style.top,10):0,n=document.createElement("style");n.textContent=`safe-sticky.collection__facets-scroller {top: ${t+a}px !important}`,r.appendChild(n)}if("product"==meta.page.pageType&&window.innerWidth>1e3){let e=document.querySelector("safe-sticky.product-info"),t=e?parseInt(e.style.top,10):0,n=document.createElement("style");n.textContent=`safe-sticky.product-info {top: ${t+a}px !important}`,r.appendChild(n)}case 1492:{let e=document.createElement("style");e.textContent=`\n .section-header__main-bar.main-bar.w100.devices-hide.js-theme-header.stickynav.js-stickynav.sticky--active, .section-header__mobile.mobile-nav__mobile-header.stickynav.lg-hide.l0.z5.pt2.pb2.js-mobile-header.relative.sticky--active {top: ${a}px !important}`,r.appendChild(e);break}case 1608:{let e=document.createElement("style");e.textContent=`.shopify-section.shopify-section-group-header-group.section-header {top: ${a}px !important}`,r.appendChild(e);break}case 1662:{let e=document.createElement("style");e.textContent=`\n header {top: ${a}px !important}\n section.sticky.color__bg-body.color__text[x-ref="destop_filter"] {top: ${a}px !important;}\n `,r.appendChild(e);break}case 2240:{let e=document.createElement("style");e.textContent=`\n .no-border-when-sticky.has-shadow.ready.fixed {top: ${a}px !important;} \n #header-outer{ top: 0; transition: top 200ms ease-in-out;}\n @media only screen and (max-width: 770px) {\n #nav-outer {margin-top: ${a}px !important;} \n }\n `,r.appendChild(e);const t=document.getElementById(`${i}_background`),n=document.querySelector("html"),o={attributes:!0,attributeFilter:["class"]};new MutationObserver((e=>{e.forEach((e=>{"attributes"===e.type&&"class"===e.attributeName&&(n.classList.contains("search-compact-active")||n.classList.contains("m6pn-open")?t.style.zIndex="0":t.style.zIndex="100000")}))})).observe(n,o);break}case 2348:{let e,t=document.querySelector(".shopify-section.shopify-section-group-header-group.header__outer-wrapper");if(t&&(e=Array.from(t.getElementsByTagName("header")).find((e=>"true"===e.getAttribute("data-is-sticky"))),e)){let e=document.createElement("style");e.textContent=`.shopify-section.shopify-section-group-header-group.header__outer-wrapper {top: ${a}px !important}`,r.appendChild(e)}if("collection"==meta.page.pageType){let t=e?e.offsetHeight:0,n=document.createElement("style");n.textContent=`form.filter-form[data-filters-active="false"][data-filter-form][data-form-type="sidebar"] {top: ${a+t+10}px !important}`,r.appendChild(n)}if("product"==meta.page.pageType){let t=e?e.offsetHeight:0,n=document.createElement("style");n.textContent=`div.product__inner > div.product__top.product__primary > div.product__details.product__primary-right > div {top: ${a+t+10}px !important}`,r.appendChild(n)}let n=document.createElement("style");n.textContent=`.purchase-confirmation-popup__inner { top: ${a}px !important; }`,r.appendChild(n);break}case 2801:{let e=document.createElement("style");e.textContent=`\n .shopify-section.shopify-section-group-header-group.shopify-section-header{ top: ${a}px !important; }\n .product__info-container {top: ${a}px !important;}\n `,r.appendChild(e);break}case 2821:{let e=document.querySelector("header"),t=e?e.offsetHeight:0;if("collection"==meta.page.pageType){const e=document.body,n={attributes:!0,attributeFilter:["class"]};new MutationObserver((n=>{n.forEach((n=>{if("attributes"===n.type&&"class"===n.attributeName){let n=a;e.classList.contains("header-pinned")&&(n+=t);let i=document.getElementById("htPushFilterStyle");i?i.textContent="":(i=document.createElement("style"),i.id="htPushFilterStyle"),i.textContent=`\n #FacetFiltersContainer > div.sticky-element {top: ${n+10}px !important;}\n #ProductGridWrapper > div.sticky-element {top: ${n}px !important;}\n `,r.appendChild(i)}}))})).observe(e,n);let i=document.createElement("style");i.textContent=`\n #FacetFiltersContainer > div.sticky-element {top: ${a+t+10}px !important;}\n #ProductGridWrapper > div.sticky-element {top: ${a}px !important;}\n `,r.appendChild(i)}let n=document.createElement("style");n.textContent=`.shopify-section.shopify-section-group-header-group.header-section.header-sticky {top: ${a}px !important}`,r.appendChild(n);break}}}else{let e=window.hextomData.qabHeight?window.hextomData.qabHeight:0,t=window.hextomData.fsbHeight?window.hextomData.fsbHeight:0,a=window.hextomData.epbHeight?window.hextomData.epbHeight:0,r=Math.floor(t+e+a),o=[],s=[],c=[];o=["#page header.util + #shopify-section-header.header",".sticky-header #PageContainer #shopify-section-header.header-section"],s=[".site-header.site-header--homepage.site-header--transparent","#mobileNavBar","#StickyBar.sticky--active",".js-sticky-action-bar .action-area",".site-header.page-element:not(.is-moved-by-drawer)",".nav-mobile",".ajaxify-drawer",".sticky-navigation-container.sticky.stuck","#MobileNav:not(.site-header__drawer)",".header__close.fixed","#shopify-section-toolbar.toolbar-section",".nav-container.nav-sticky","#navbarStickyDesktop.nav-sticky",".site-header.has-scrolled",".site-header#header.header--has-scrolled",".site-header#header.header--is-standard.header--standard",".site-header#header.is-standard.header--standard",".site-header#header.header--is-hamburger.header--standard",".pageWrap #shopify-section-header nav.nav-hamburger.nav-main",".site-header.headroom",'body > article.header__section-wrapper[role="banner"] #shopify-section-header.section-header',"#site-header.site-header",'body[class^="trademark--"] .shopify-section__header','[data-header-sidebar="true"] .main-sidebar',".ui.sticky.top","header.hero-active .hero-image-header-wrap",".header.sticky .bar.fixed",'body[class^="kagami--"] #shopify-section-header',"#page header.util","body:not(.show-mobile-nav) #toolbar.docked","body.show-mobile-nav #mobile-nav .inner",'body.show-mobile-nav #mobile-nav #sub-nav-menu-2.sub-nav[data-is-subnav-for="menu-2"]',"#page-wrap-inner > #page-overlay + #page-wrap-content > .section-header","body.sticky-header .header .header-main-content[data-header-content]","#nav .wsmenu",".header_bot.enabled-sticky-menu.sticky",".\\#header.\\@sticky",".transition-body #shopify-section-header #NavDrawer.drawer.drawer--is-open",".transition-body #shopify-section-header #CartDrawer.drawer.drawer--is-open","#StickyHeaderWrap #SiteHeader.site-header--stuck",".header__mobile-nav",".searching .search-bar-wrapper","#shopify-section-header .coverheader",'#shopify-section-header header.header-section.scrolling[data-sticky="true"]',"#header.mobile-sticky-header--true","#header.mm-fixed-top.mobile-header.mm-slideout","#mm-0.mm-page.mm-slideout #header.mobile-header.mobile-sticky-header--false","#site-control.site-control",".nav-shift #page-banner.banner-under-header",".nav-shift .container #main","body.scrolled-down #pageheader.pageheader.cc-animate-init.cc-animate-complete","body.scrolled-down #pageheader.pageheader[data-cc-animate]","body.scrolled-down #pageheader.pageheader.cc-animate-init.cc-animate-complete + .header-search","body.scrolled-down #pageheader.pageheader[data-cc-animate] + .header-search","#shopify-section-general-header .main-header-wrapper + .header-drawer","#shopify-section-general-header.main-header-section","#shopify-section-general-header nav.drawer-nav.allow-scroll-while-locked[data-drawer-nav]",".header-section .stuckMenu.isStuck","header.header__wrapper.js-theme-header.stickynav.sticky--active","#shopify-section-mobile-navigation .shifter-navigation",".header-wrapper .sticky-header-wrapper.sticky","#mobile-header #mobile-nav.mobile-nav","header.is-sticky.st-visible",'header#top.header:not([role="banner"])',"header#velaHeader.velaHeader","body.fixed-header.fixed-header--all > header",".have-fixed .nav-bar",".header-bottom.on .header-panel",".have-fixed .nav-search",".mb-fixed .hd_mobile",".open-mn .hd_mobile .icon-menu, .open-user .close_user","html.open-mn .mn_mobile nav, html.open-user .mobile_customer nav","#sticky-wrapper.sticky-wrapper.is-sticky .wrapper-header-bt","#sticky-wrapper.sticky-wrapper.is-sticky .header-bottom[data-sticky-mb]","body > .body-content-wrapper > .shopify-section-group-header-group.section-header-navigation.shopify-section-header-sticky","body > .body-content-wrapper > .shopify-section-group-header-group.section-header-mobile.shopify-section-header-sticky","body > #navigation-mobile.halo-sidebar.halo-sidebar_menu",".header__search-bar-wrapper.is-fixed",".sticky-header.header-clone.act-scroll",".sticky-header-prepared.basel-top-bar-on .header-shop.act-scroll",".mobile_nav-fixed--false .page_banner",".header-container.sticky-header",".tt-stuck-nav.stuck",".tt-mobile-header-inline-stuck.stuck","header#top.scroll-to-fixed-fixed","header#header .header__content--sticky",".header--sticky.is-sticky .header__content",".stickyNav","#header-phantom.sticky-header.fixed-header","#sticky-info-product-template",".sticky-wrapper.is-sticky .header-sticky",".header__mobile.is-fixed","#shopify-section-header-sticky.header-sticky__placeholder","header#header-header.site-header","#shopify-section-pxs-announcement-bar + #shopify-section-header .main-header-wrapper",".sticky-header #PageContainer #shopify-section-header.header-section",".header-content .header-container.header-fixed .header-main",".header-content .header-container.header-mobile-fixed .header-main","body.site-header-sticky .site-header.site-header-sticky--scrolled","body.site-header-sticky .site-header.site-header-nav--open","body.site-header-sticky .site-header","#app-header.sticky-on.sticky",".mm-page.mm-slideout #content_wrapper + .mobile-search",".docked-navigation-container .docked-navigation-container__inner",".docked-mobile-navigation-container .docked-mobile-navigation-container__inner",'nav.navigation--sticky.navigation[aria-label="Primary Navigation"]',".site-header .header-bottom .header-mb.fixed",".kalles_2-0 #ntheader.live_stuck .ntheader_wrapper","#header.jsheader_sticky.menu_scroll_v1",".contentbody .menu_moblie.menu_mobilescroll",".site-header-wrapper.site-header--sticky",".body-cont #shopify-section-header > .cont-header.header-fixed-true","body.cc-animate-enabled[data-cc-animate-timeout] > #shopify-section-header.section-header","body.cc-animate-enabled[data-cc-animate-timeout].reveal-mobile-nav > .mobile-navigation-drawer","body.cc-animate-enabled[data-cc-animate-timeout].show-search #main-search.main-search",'body.has-sticky-header .header__wrapper.js__header__stuck[data-header-sticky="sticky"]',".header__drawer.drawer--visible[data-drawer] .drawer__content .drawer__inner[data-drawer-inner]",'div.navbar.w-nav[data-w-id][role="banner"]','.w-nav-overlay nav.nav-menu.w-nav-menu[data-nav-menu-open][role="navigation"]',"body > .page > #shopify-section-header.header__outer-wrapper",'body > .page > #shopify-section-header.header__outer-wrapper > header.header[data-is-sticky="true"][data-enable-sticky-header="true"] > .drawer-menu.active.visible',"body > .page > #shopify-section-header.header__outer-wrapper > header.header.is-sticky > .drawer-menu.animation.animation--drawer-menu.active.visible.animation--drawer-menu-revealed","body.body-with-sticky-header .header-wrapper.header-wrapper--fixed",".featured-collections__header.sticky__element.featured-collections__header",".container > .container__top-part .page__header.page__header--sticky",'.pageWrap > #shopify-section-announcement + #shopify-section-header.shopify-section.shopify-section-header header.site-header[data-section-id="header"][data-section-type="header"][data-header-height][data-scroll-lock-fill-gap]','.page-wrap > #shopify-section-announcement + #shopify-section-header.shopify-section.shopify-section-header header.site-header[data-section-id="header"][data-section-type="header"][data-header][data-header-height][data-scroll-lock-fill-gap]','#MainContent header.header-sticky .header[data-header-settings*="true"]',".\\#main-header.\\@sticky .\\#main-nav-container",".\\#main-header.\\@sticky .\\#main-header-inner",".js__header__stuck.js__header__stuck__backdrop[data-underline-current] .theme__header",'section.sf-header.stuck[data-section-id="header"][data-section-type="header"] .header__wrapper.absolute',"body.site-header-sticky #shopify-section-static-header.shopify-section.site-header-wrapper > section.site-header.site-navigation-layout-expanded[data-header-main]","body.site-header-sticky #shopify-section-static-header.shopify-section.site-header-wrapper > section.site-header.site-navigation-layout-drawer[data-header-main]","body > #shopify-section-header.shopify-section.shopify-section-header-sticky.animate:not(.shopify-section-header-hidden)",'body > #header[data-section-id="header"][data-section-type="header-section"].stickyHeader',"body > .shopify-section.shopify-section-group-header-group.section-header.shopify-section-header-sticky:not(.shopify-section-header-hidden)",'html[style*="--header-offset: 0px;"] body > #wrapper > .header-section > header#header.header-sticky--active',"body.has-scrolled .site-header--fixed",".container > .header-group > .shopify-section.shopify-section-group-header-group.page-header > .header__wrapper.js__header__stuck"],c=["body:not(.page-move--cart.mobile-drawer--open) #ajaxifyDrawer.is-visible","header.site-header.sticky:not(.ui)",".header.sticky-header--true",".header.sticky-header--false.is-absolute","#shopify-section-header.header header.sticky:not(.ui)","body:not(.mobile-drawer--open) .page-wrapper.page-element",".site-header.is-standard.shift--alert",".large--hide.medium-down--show.sticky-header:not(.ui)","#shopify-section-static-header.site-header-sticky--open","#shopify-section-static-header.visible",".site-navigation-wrapper + .site-mobile-nav .mobile-nav-panel",".site-header-main-content .live-search--takeover .live-search-form","body.colors--body-n-button-match .off-canvas--viewport .off-canvas--main-content","body:not(.js-drawer-open) .sticky-header.squished-header","#announcement-bar.table","body.meta-fixed #meta","header.main-header-wrap.main-header--minimal-sticky","#site-wrap #header #shopify-section-header + .curr-switcher.js",".main_nav_wrapper.sticky_nav.sticky_nav--stick",".main-nav__wrapper.sticky_nav.sticky_nav--stick",".header.header-fixed--true.is-absolute","#header.mobile_nav-fixed--true",'body.mobile_nav-fixed--false a#pagecontent[name="pagecontent"]',".mobile_nav-fixed--false.is-active #header","body.mobile_nav-fixed--true .shopify-section--slideshow.under-menu","body.mobile_nav-fixed--true .shopify-section--image-with-text-overlay.under-menu",'.mono-produit-true [class^="mobile-type-header"] nav.nav-bar',".wrap-all #headerApp",".group-header.sticky-menu.active","nav#page-menu.theme-modal > .inner",".body-cont #shopify-section-header > .cont-header.header-fixed-true nav.nav-bar",".halo-collection-content .toolbar.toolbar-fix","#shopify-section-header-custom .header-slim__content.is-fixed",'.drawer.drawer--right[role="dialog"][data-mobile-navigation-drawer]','#main-menu .main-menu-inner > .main-menu-panel-wrapper > #main-menu-panel.main-menu-panel > ul.main-menu-links[role="navigation"]',"#main-menu .main-menu-panel.main-menu-panel--child > ul.main-menu-links",".header__wrapper.inline-layout-true #header-wrapper.header__main-wrapper.stickynav.sticky--active","#mobile-header.header__mobile-container.stickynav.sticky--active",'body[data-theme-name="Beyond"] header-root.header--root[data-section-id="header"]',"#shopify-section-header.shopify-section header.site-header.site-header--fixed[data-site-header][data-section-id]","body.index header.is-absolute[data-desktop-header] > .header.header-fixed--true[data-header-is-absolute]",...document.querySelector("#wrapper theme-header.header.transparent--true.header-sticky--active")?['#wrapper div[role="main"][id="main-content"]']:[],".header.header--layout-logo-center-nav-below.header--transparent.header--has-accounts.header--has-social-links.header--has-country-or-locale.is-sticky",".header.header--layout-logo-center-nav-below.header--has-accounts.header--has-social-links.header--has-country-or-locale.is-sticky"],n<=480&&s.push("#ajaxifyModal"),n<650&&s.push("#shopify-section-header #header.header__wrapper .header__content"),n<=720&&s.push("body.is-mobile header.main-header.no-border[data-header]","body.is-mobile header.main-header[data-header]"),n<=768&&c.push("#navBar.nav-bar:not(.opened)"),n<=840&&c.push("body:not(.js-drawer-open) .medium-down--fixed"),n<=948&&(s.push("#shopify-section-sidebar main-sidebar.sidebar"),c.push("#content-holder #content","#MainQuickSearch .quick-search__container")),n<=1080&&s.push(".navigation.navigation-has-mega-nav"),n>720&&c.push("body:not(.js-drawer-open) .sticky-header.main-header-wrapper"),n>748&&c.push("#sidebar-holder #sidebar","#content-holder #content","#shopify-section-sidebar .sidebar__container-holder","#shopify-section-sidebar .sidebar__cart-handle"),n>=800&&(s.push("#nav + #content_wrapper.mm-page .content.container"),c.push(".mm-page.mm-slideout #content_wrapper #shopify-section-header + .index-sections .slideshow-section",".mm-page.mm-slideout #content_wrapper #shopify-section-header + .main_content_area .index-sections .slideshow-section",".mm-page.mm-slideout #content_wrapper #shopify-section-header + .index-sections .banner-section")),n>1e3&&(s.push(".bodywrap.cf .page-header.cf"),c.push(".bodywrap.cf .page-header.cf + #navbar.nav-style-out"));let d=document.querySelector('body[class^="warehouse"] #shopify-section-header');if(null!=d){"sticky"===getComputedStyle(d).position&&s.push('body[class^="warehouse"] #shopify-section-header')}let l=0;for(let n=0;n #headerWrapper","#PageContainer:not(.page-container)",".header-wrapper.header-wrapper--sticky",'div[data-section-type="header-section"] .header-wrapper.header-wrapper--overlay',".page__container.page__container--secondary","#shopify-section-static-header .header",".off-canvas--viewport .off-canvas--main-content","#shopify-section-announcement .announcement--root",".header.sticky .relative",'body[class^="kagami--"] .page__container',"body > #page","#page-wrap-content .container + #content","#shopify-section-side-nav + .page-container","#pageheader.pageheader.nav-shift",".bodywrap.cf #shopify-section-header + #content",".header.mm-fixed-top","#content_wrapper #header.mm-fixed-top ~ .header",".has-vertical-header .is-beside-vertical-header","#header-sticky-wrapper #header",'#shopify-section-header-classic div[data-enable_sticky="false"] #header',"#mobile-header-sticky-wrapper #mobile-header","#shopify-section-header__top-bar",'a[href="#main"] + #shopify-section-announcement-bar + #shopify-section-header.mount-header > main-header.header-holder',"#shopify-section-announcement-bar","body > #shopify-section-announcement",".header-container.drawer__header-container","body > .dbtfy ~ #PageContainer.page-container > #shopify-section-announcement",".body-cont #shopify-section-header > .cont-header.header-fixed-true","#shopify-section-header","#shopify-section-side-nav + .page-container","body.boxed",'body[class*="maxmin_"]',".page-wrapper","#content-holder #content","#shopify-section-static-header + .page-body-content",".header_wrap_icon_cart header.main_header.locked","#header-ontop.header-ontop + #header.header","body",'[data-section-id="header"]'];let i;e<500&&n.unshift(".page__container #header.header.header--absolute + #main.main"),e<650&&n.unshift("#SiteContainer #MainContent.main-content"),e<740&&n.unshift("body.shifter-enabled .shifter-page.is-moved-by-drawer > #content"),e<798&&n.unshift("body.mobile_nav-fixed--true #header.mobile_nav-fixed--true",'div[data-enable_sticky="false"] #mobile-header'),e<1e3&&n.unshift(".bodywrap.cf #shopify-section-header"),e>767&&n.unshift("#page-wrap #page-wrap-content");for(var a=0;a{setTimeout((()=>{document.getElementById(`${a}_background`).style.top=""}),200)}))}}else{var r=['.header-container.drawer__header-container .header-wrapper:not([data-section-id="header"]):not(.wrapper):not(.wrapper-fluid)',".fadeout-overlay + #shopify-section-header","#shopify-section-header.header-wrapper",".site-header.is-moved-by-drawer",".site-header.full--w",'div[data-section-type="header-section"] .header-wrapper.header-wrapper--sticky','div[data-section-type="header-section"] .header-wrapper.header-wrapper--overlay',"nav.cbp-spmenu + .wrapper-container","#header-ontop.header-ontop + #header.header",".header.container-fluid.perma-sticky",".header-section.sticky-header .header-section--wrapper.overlay-header-wrapper","body[data-new-gr-c-s-check-loaded][data-gr-ext-installed]","#PageContainer div:not(.header-sticky-wrapper) > #HeaderWrapper","#PageContainer:not(.drawer-page-content)",'body[class^="trademark--"]',"header#top.header.header--fluid","#shopify-section-static-header .header",".off-canvas--viewport .off-canvas--main-content","#shopify-section-announcement .announcement--root",".header.sticky .relative",'body[class^="kagami--"] .page__container',"body > #page","#page-wrap","#shopify-section-side-nav + .page-container","#pageheader.pageheader.nav-shift",".header.default-header.mm-fixed-top","#main-body.slideout-panel","#PageContainer.drawer-page-content:not(.page-container)","body.fixed-header.fixed-header--all","body.has-vertical-header.announcement-bar--hidden","#header-sticky-wrapper #header","#mobile-header-sticky-wrapper #mobile-header",".shopify-section.shopify-section-group-header-group-classic.jsHeader.header-section > .is-relative > #header-sticky-wrapper.header-sticky-wrapper > header#header.sticky--enabled","#shopify-section-sidebar + #content-holder","store-header.header[sticky]",'a[href="#main"] + #shopify-section-announcement-bar + #shopify-section-header.mount-header > main-header.header-holder',"#shopify-section-announcement-bar","body > #shopify-section-announcement","#shopify-section-header-top header-top-section.block","#shopify-section-header:not(.d-none)",".header_wrap_icon_cart header.main_header.locked",'.shopify-section.shopify-section-group-header-group.section-site-header > header.site-header[role="banner"][data-sticky-header]',"#wrapper theme-header.header-sticky--active","body"];let e;n<800&&r.unshift("#content_wrapper.mm-page.mm-slideout #shopify-section-header",".mm-page.mm-slideout #content_wrapper #shopify-section-header"),n<=740&&r.unshift("body.gridlock.shifter.shifter-enabled"),n<798&&r.unshift('div[data-enable_sticky="false"] #mobile-header'),n<992&&r.unshift("#site-content #shopify-section-header-mobile.header-mobile__placeholder");for(var o=0;o{for(const a of n)if("attributes"===a.type&&"class"===a.attributeName){if(!document.body.contains(t))return void i.disconnect();t.style.zIndex=(null==e?void 0:e.classList.contains("visible"))?"99":"301"}}));e&&i.observe(e,{attributes:!0,attributeFilter:["class"]});break}case 838:document.getElementById(`${n}_background`).style.zIndex=1251;break;case 871:break;case 1114:{const e=document.body,t=document.getElementById(`${n}_background`);if(!t)return;t.style.zIndex=1e6;const i=new MutationObserver((n=>{for(const a of n)if("attributes"===a.type&&"class"===a.attributeName){if(!document.body.contains(t))return void i.disconnect();t.style.zIndex=e.classList.contains("open-search")?"0":"1000000"}}));i.observe(e,{attributes:!0,attributeFilter:["class"]});break}case 2348:{const e=document.getElementById(`${n}_background`);e&&(e.style.zIndex="519");break}}else{let t=["#announcement-bar.table[data-parallax]","#PageContainer > .shopify-section.header-section.sticky-header",'body > article.header__section-wrapper[role="banner"] #shopify-section-header.section-header',"#NavDrawer",".drawer + .drawer__close","div[data-product-add-popdown-wrapper].product-add-popdown","#header-menu.drawer.header__drawer .drawer__content","#shopify-section-header.shopify-section.header--sticky",".drawer:not(.search-bar)","body > .js-slideout-overlay.site-overlay","#slideout-search-sidebar","#navBar",".header-toolbar.open-container",".navigation__container",".mobileMenu__overlay","#sidebar-cart",".SidebarMenu.Drawer","#pushy-menu",".nav-container.nav-main","#site-overlay",".mobilenav-overlay",".mobile-menu-overlay",".site-header-wrapper",".ajaxcart-draw",".overnav-overlay",".mobilemenu.dblclick","header.sticky",".nav.side-nav",'body[class^="kagami--"] .page__overlay','body[class^="focal--"] .page__overlay',"#sidebar #menu","#nav .dropdown-menu","#mobile-nav-return.mobile-nav-toggle",".main-header-wrap .main-header .mobile-dropdown",".page-header.cf + #navbar.nav-style-out",".header-cart.slide",".moTab-navigation",".cart-popup-wrapper",".mobile-nav-close","body[data-new-gr-c-s-check-loaded][data-gr-ext-installed] > #searchPopup",".mobile-nav-wrapper","#velaMenuMobile",'a[href="/cart"].dropdown_link + .cart_content',".basel-close-side",".mobile-nav-overlay",".panel-menu.mobile-main-menu","body > .page > #shopify-section-header.header__outer-wrapper","#shopify-section-popup .popup","#shopify-section-footer + .popup.js-popup",".wrap-all>.overlay","#shopify-section-header-vertical #mobile-header .mobile-header__content .mobile-menu",'aside[data-section-id="header-mobile"] .mobile-menu-container',".unero-off-canvas-layer",".site-header .mobile-navigation",".menu-mobile.navbar","#slide-side-menu",".translate-header #dropdown-cart","body > .background-overlay","header .wrapper-navigation > .main-menu.jas-mb-style",".wrapper-header #shopify-section-navigation .wrapper-navigation",".mask-overlay",".box_contentmenu_background","#search-overlay.search-overlay","nav.main-nav-bar",".header-slim__content .nav-mobile-overlay",".page__header.page__header--mobile.hide-desktop .overlay--nav",".page-wrap nav.nav-hamburger.nav-main[data-nav-main]",".\\#modal-popup","#MenuDrawer .modal__background",".predictive-search__overlay",".sf-menu-wrapper.sf-menu-wrapper-mobile",'body > a.page-shade[aria-label="Toggle menu"]',"#Cart-Drawer.side-panel.cart-drawer","body > .page-overlay","#top-search-wrapper","body > .page > #MainQuickSearch"];e<650&&t.unshift("#SiteContainer #header.header__wrapper"),e<768&&t.unshift(".cbp-spmenu.cbp-spmenu-vertical"),e<960&&t.unshift(".quick-cart__wrapper"),e<992&&t.unshift(".mobile__widget.mobile-header__nav .mobile__menu-wrapper"),e<1024&&t.unshift('.mono-produit-true [class^="mobile-type-header"]');for(let e=0;e768&&e.push('.section--wrapper .dt--one-third #AddToCartForm--product-template form[action="/cart/add"]');var i=document.querySelector('.product-details[itemprop="offers"] .quick-smart-wrapper');i&&"none"===i.style.display&&e.push("div.product-smart-wrapper");const a=e.concat([".product-form-atc.product-form-atc-spb",".product_payments_btns","form.product-form-nojs","#product-form-page-product span.payment-buttons-container",".quadd-wrapper--with-payment-button .product-add",'.omega .product_form form[action="/cart/add"]',"form.shopify-product-form .smart-payment-button--true","form#AddToCartForm .paymentButtonsWrapper",'form[action="/cart/add"] div.product-form-add-to-cart',"#CartButtons-product-template",".product-form__item--payment-button",".product-shop .total-price + .groups-btn",".cta-content.cta-content--pay-buttons",".product-form__payment-container",".prd-block_actions.topline",".main__wrapper .product__wrapper--one-column .product-details__add-to-cart-area .product-details__add-to-cart-buttons",'div[data-shopify="payment-button"]',".shopify-payment-button","div.product-smart-wrapper","button.product-single__add-btn","input#addToCart","button#AddToCart","form .product-add-to-cart",".template--product .layout--main-content .add-to-cart-panel button.add","form div.product-form","#AddToCart--product-template",".klearfix div#newaddtocart","form#addToCartForm-product-template .payment-buttons","#product-add",'.product-shop form[action="/cart/add"]','form[action="/cart/add"]','form[enctype="multipart/form-data"]',"form#addToCartForm","form[data-product-form]","a.btn-addtocart.addtocart-js",'form[action="/cart/add.js"]',".ProductForm__AddToCart",".addToCartWrapper","form.product-form","form#AddToCartForm","form#AddToCartForm--product-template","form#add-to-cart-form","form.product-form-product-template","form.AddToCartForm","form.add-to-cart__form","form.product-single__form","form.productForm","form.form-add-to-cart","form.product-page--cart-form","form.product__form","form.js-product-form","form#AddToCartForm-product-sections-template","form#AddToCartForm-product-template"]);let r;for(var o=0;o"+epb_css_string+"");var e=window.location.pathname,t=epb_read_cookie("epb_previous_pathname");epb_write_cookie("epb_previous_pathname",window.location.pathname),e==t||null==t?(epb_remove_cookie("epb_close_clicked"),epb_get_bars_locally("skip_session_storage")):epb_get_bars_locally()}function get_locale(){return void 0===window.Shopify.locale?null:window.Shopify.locale.toLowerCase()}function epb_get_bars_remotely(){fetch(EPB_SERVER_URL+"epb_get_bars?shop="+epb_get_shop_domain(),{method:"GET",headers:{"Content-Type":"application/json"}}).then((e=>e.json())).then((e=>{if(epb_write_session_storage("epb_payload",JSON.stringify(e)),"yes"===e.shop_active){epb_bars=e.bars,epb_record=e.record;for(var t=0;t0?epb_bars[t].selected_weekdays.trim().split(","):[],epb_bars[t].timer_style=null==epb_bars[t].timer_style?"flip_clock":epb_bars[t].timer_style;epb_display_bar()}})).catch((e=>{console.error("Error fetching data:",e)}))}function epb_get_bars_locally(e){if("skip_session_storage"!=e){var t={},n=epb_read_session_storage("epb_payload");if(n&&(t=JSON.parse(n))&&"yes"===t.shop_active)return void epb_update_global_vars_and_render_bar(t)}(t=window.hextom_epb_config)&&0!=Object.keys(t).length?t.bars.some((function(e){return""!==e.countries||""!==e.exclude_countries}))?epb_get_bars_remotely():"yes"===t.shop_active&&epb_update_global_vars_and_render_bar(t):epb_get_bars_remotely()}function epb_update_global_vars_and_render_bar(e){epb_bars=e.bars,epb_record=e.record;for(var t=0;tepb_bar_highest_score&&(epb_bar_highest_score=epb_bars[e].score);if(0!=epb_bar_highest_score){for(e=0;ee.end_on)return 0;if(nr)return 0;if(e.selected_weekdays.indexOf(i)<0)return 0}else if("recur"==e.clock_type||"daily"==e.clock_type&&"merchant"==e.time_zone_type&&Number.isInteger(e.time_zone_offset)){if(e.is_recur_cookied)if((s=epb_read_cookie("eventpromotionbar"+e.bar_id))&&parseInt(s)=1440?a++:i<0&&a--,"daily"==e.clock_type&&e.selected_weekdays.indexOf(a.toString())<0)return 0}if(Math.round((n.getTime()-e.start_on.getTime())/1e3)%(3600*(e.recur_active_hour+e.recur_inactive_hour))>3600*e.recur_active_hour)return 0}else if("fixed"==e.clock_type){if((s=epb_read_cookie("eventpromotionbar"+e.bar_id))&&parseInt(s)0?l-c:l-c+864e5)>(d-c>0?d-c:d-c+864e5))return 0;if(e.selected_weekdays.indexOf(i)<0)return 0}if("any"!=e.source_page&&":"!=e.source_page.charAt(0)){var p=epb_get_source();if(p.indexOf("facebook")>-1&&e.source_page.indexOf("facebook")>-1)t+=1e3;else if(p.indexOf("pinterest")>-1&&window.location.href.indexOf("utm")>-1&&(window.location.href.indexOf("Pinterest")>-1||window.location.href.indexOf("pinterest")>-1))t+=1e3;else{if(-1==p.indexOf(e.source_page))return 0;t+=1e3}}if(":"===e.source_page.charAt(0)){for(var _=e.source_page.substring(1,e.source_page.length).split(","),h=!1,u=0;u<_.length;){if(!0===epb_get_utm(_[u].trim())){h=!0;break}u+=1}if(!0!==h)return 0;t+=1e3}if(""!=e.countries&&(t+=100),""!=e.targeted_markets_region_codes&&null!=e.targeted_markets_region_codes&&null!=e.targeted_markets_region_codes){if(!e.targeted_markets_region_codes.split(",").includes(window.Shopify.country))return 0;t+=20}let b={};"{"==e.display_page.charAt(0)?b=JSON.parse(e.display_page):(b.products={isTargeting:!1,all:!0,tags:"",productIds:"",collectionIds:""},b.collections={isTargeting:!1,all:!0,collectionIds:""},b.all="all"==e.display_page,b.home="home"==e.display_page,b.products.isTargeting="product"==e.display_page,b.urls="/"==e.display_page.charAt(0)?e.display_page:"",b.keywords=":"==e.display_page.charAt(0)?e.display_page.substring(1):"","tag"==e.selected_products_type&&e.selected_products_tag&&(b.all=!1,b.products.isTargeting=!0,b.products.all=!1,b.products.tags=e.selected_products_tag)),epb_record||(b.products.all=!0,b.collections.all=!0);if(b.all)t+=10;else{if(!((()=>{let e=window.location.pathname;return!(!b.urls||b.urls!=e||(t+=15,0))})()||(()=>{let e=window.location.href.toLowerCase();if(b.keywords){let n=b.keywords.split(",").map((e=>e.trim())),i=!1,a=0;for(;a-1){i=!0;break}a++}if(!0===i)return t+=10,!0}return!1})()||b.home&&"home"===meta.page.pageType||(()=>{if(b.products.isTargeting)if(b.products.all){if("product"===meta.page.pageType)return!0}else{if(b.products.productIds){const e=b.products.productIds.split(",").map((e=>e.trim())),n=String(epb_get_product_id());if(!0===e.some((e=>e===n)))return t+=7,!0}if(b.products.tags){const e=b.products.tags.split(",").map((e=>e.trim())),n=epb_get_product_tags();if(e.some((e=>n.includes(e))))return t+=6,!0}if(b.products.collectionIds){const e=b.products.collectionIds.split(",").map((e=>e.trim())),n=epb_get_product_collection_ids();if(!0===e.some((e=>n.includes(Number(e)))))return t+=5,!0}}return!1})()||(()=>{if(b.collections.isTargeting)if(b.collections.all){if("collection"===meta.page.pageType)return!0}else{const e=b.collections.collectionIds.split(",").map((e=>e.trim())),n=String(epb_get_collection_id());if(!0===e.some((e=>e===n)))return t+=5,!0}return!1})()))return 0;t+=20}let m={};"{"==e.exclude_page.charAt(0)?m=JSON.parse(e.exclude_page):(m.products={isTargeting:!1,all:!0,tags:"",productIds:"",collectionIds:""},m.collections={isTargeting:!1,all:!0,collectionIds:""},m.noPages="noPages"==e.exclude_page,m.home="home"==e.exclude_page,m.products.isTargeting="product"==e.exclude_page,m.urls="/"==e.exclude_page.charAt(0)?e.exclude_page:"",m.keywords=":"==e.exclude_page.charAt(0)?e.exclude_page.substring(1):"","tag"==e.selected_products_type&&e.selected_products_tag&&(b.all=!1,b.products.isTargeting=!0,b.products.all=!1,b.products.tags=e.selected_products_tag)),epb_record||(m.products.all=!0,m.collections.all=!0);if(!m.noPages){if(m.home&&void 0!==meta.page.pageType&&"home"===meta.page.pageType)return 0;if((()=>{if(m.products.isTargeting){if(m.products.all&&void 0!==meta.page.pageType&&"product"===meta.page.pageType)return!0;if(m.products.productIds){const e=m.products.productIds.split(",").map((e=>e.trim())),t=String(epb_get_product_id());if(!0===e.some((e=>e===t)))return!0}if(m.products.collectionIds){const e=m.products.collectionIds.split(",").map((e=>e.trim())),t=epb_get_product_collection_ids();if(!0===e.some((e=>t.includes(Number(e)))))return!0}if(m.products.tags){const e=m.products.tags.split(",").map((e=>e.trim())),t=epb_get_product_tags();if(e.some((e=>t.includes(e))))return!0}}return!1})())return 0;if((()=>{if(m.collections.isTargeting){if(m.collections.all&&void 0!==meta.page.pageType&&"collection"===meta.page.pageType)return!0;if(m.collections.collectionIds){const e=m.collections.collectionIds.split(",").map((e=>e.trim())),t=String(epb_get_collection_id());if(!0===e.some((e=>e===t)))return!0}}return!1})())return 0;if((()=>{let e=window.location.pathname;return m.urls===e})())return 0;if((()=>{let e=window.location.href.toLowerCase();if(m.keywords){let t=m.keywords.split(",").map((e=>e.trim())),n=!1,i=0;for(;i-1){n=!0;break}i++}if(n)return!0}return!1})())return 0}if("tag"===e.selected_customers_type){if(!(epb_get_customer_tags().indexOf(e.selected_customers_tag)>-1))return 0;t+=10}if("spent"===e.selected_customers_type){var f=epb_get_customer_spent();if(!(parseFloat(f)>=Math.round(100*e.selected_customers_spent)))return 0;t+=10}if("tag"===e.excluded_customers_type&&epb_get_customer_tags().indexOf(e.excluded_customers_tag)>-1)return 0;if("spent"===e.excluded_customers_type){f=epb_get_customer_spent();if(parseFloat(f)<=Math.round(100*e.excluded_customers_spent))return 0}return t}function epb_load_font(){if("inherit"==epb_bars[epb_bar_index].font)epb_render_bar();else if(epb_built_in_fonts.indexOf(epb_bars[epb_bar_index].font)>-1)epb_render_bar();else if(epb_loaded_fonts.indexOf(epb_bars[epb_bar_index].font)>-1)epb_render_bar();else{epb_loaded_fonts+=","+epb_bars[epb_bar_index].font;var e=document.createElement("link"),t=document.getElementsByTagName("head")[0];e.setAttribute("href","https://fonts.googleapis.com/css?family="+epb_bars[epb_bar_index].font.replace(/ /g,"+")),e.setAttribute("type","text/css"),e.setAttribute("rel","stylesheet"),e.onload=epb_render_bar,t.insertBefore(e,t.firstChild)}if(epb_bars[epb_bar_index].js_timer_font_family&&epb_bars[epb_bar_index].font!=epb_bars[epb_bar_index].js_timer_font_family)if(epb_built_in_fonts.indexOf(epb_bars[epb_bar_index].js_timer_font_family)>-1)epb_render_bar();else if(epb_loaded_fonts.indexOf(epb_bars[epb_bar_index].js_timer_font_family)>-1)epb_render_bar();else{epb_loaded_fonts+=","+epb_bars[epb_bar_index].js_timer_font_family;e=document.createElement("link"),t=document.getElementsByTagName("head")[0];e.setAttribute("href","https://fonts.googleapis.com/css?family="+epb_bars[epb_bar_index].js_timer_font_family.replace(/ /g,"+")),e.setAttribute("type","text/css"),e.setAttribute("rel","stylesheet"),e.onload=epb_render_bar,t.insertBefore(e,t.firstChild)}}setTimeout(epb_main_logic,0);const epb_get_product_id=()=>{var e;return(null==(e=window.hextom_ctb_meta)?void 0:e.p3)||""},epb_get_product_collection_ids=()=>{var e;return Array.isArray(null==(e=window.hextom_ctb_meta)?void 0:e.p4)&&window.hextom_ctb_meta.p4.length?window.hextom_ctb_meta.p4:""},epb_get_collection_id=()=>{var e;return(null==(e=window.hextom_ctb_meta)?void 0:e.p5)||""},epb_get_product_tags=()=>{var e,t;return(null==(t=null==(e=window.hextom_ctb_meta)?void 0:e.p1)?void 0:t.map((e=>e.split("").reverse().join(""))))||[]};function epb_get_customer_tags(){let e=window.hextom_ctb_meta||{};if(!e.hasOwnProperty("p2"))return[];let t=e.p2.v2;if(!t)return[];let n=[];return t.forEach((function(e,t){n[t]=e.split("").reverse().join("")}),n),n}function epb_get_customer_spent(){let e=0,t=window.hextom_ctb_meta||{};if(!t.hasOwnProperty("p2"))return e;let n=t.p2.v3||"0,0";return e=7*parseFloat(n.split(",")[0])+parseFloat(n.split(",")[1]),e}function epb_render_bar(){if("below_atc"==epb_bars[epb_bar_index].position&&"product"!=window.meta.page.pageType)return;if(epb_read_cookie("epb_cool_down_seconds"))return;var epb_now=new Date,current_locale=get_locale(),clock_lang_list=["ar","en","zh","zh-cn","zh-tw","ja","ko","hi","th","da","de","es","fi","fr","it","lv","nl","no","pt","pt-pt","pt-br","ru","sv","is"];if(null!==current_locale&&epb_bars[epb_bar_index].locales.indexOf(current_locale)>-1&&clock_lang_list.indexOf(current_locale.toLowerCase())>-1?current_locale.toLowerCase():epb_bars[epb_bar_index].clock_lang.toLowerCase(),"daily"==epb_bars[epb_bar_index].clock_type&&"customer"==epb_bars[epb_bar_index].time_zone_type){var end_time=3600*epb_bars[epb_bar_index].daily_end_time_hours+60*epb_bars[epb_bar_index].daily_end_time_minutes,now_time=3600*epb_now.getHours()+60*epb_now.getMinutes()+epb_now.getSeconds(),count_down_seconds=Math.round(end_time-now_time);epb_bars[epb_bar_index].is_recur_cookied&&epb_write_cookie("eventpromotionbar"+epb_bars[epb_bar_index].bar_id,epb_now.getTime()+1e3*count_down_seconds,31536e3)}else if("recur"==epb_bars[epb_bar_index].clock_type||"daily"==epb_bars[epb_bar_index].clock_type&&"merchant"==epb_bars[epb_bar_index].time_zone_type&&Number.isInteger(epb_bars[epb_bar_index].time_zone_offset)){var seconds_since_start=Math.round((epb_now.getTime()-epb_bars[epb_bar_index].start_on.getTime())/1e3),seconds_since_cycle_start=seconds_since_start%(3600*(epb_bars[epb_bar_index].recur_active_hour+epb_bars[epb_bar_index].recur_inactive_hour)),seconds_to_end_of_active_cycle=3600*epb_bars[epb_bar_index].recur_active_hour-seconds_since_cycle_start,count_down_seconds=seconds_to_end_of_active_cycle;epb_bars[epb_bar_index].is_recur_cookied&&epb_write_cookie("eventpromotionbar"+epb_bars[epb_bar_index].bar_id,epb_now.getTime()+1e3*seconds_to_end_of_active_cycle,31536e3)}else if("fixed"==epb_bars[epb_bar_index].clock_type){var end_of_cycle=epb_read_cookie("eventpromotionbar"+epb_bars[epb_bar_index].bar_id);if(end_of_cycle){if(parseInt(end_of_cycle)>epb_now.getTime())var count_down_seconds=Math.round((parseInt(end_of_cycle)-epb_now.getTime())/1e3);else if(0==epb_bars[epb_bar_index].is_recur_cookied){var count_down_seconds=60*epb_bars[epb_bar_index].fixed_minutes;epb_write_cookie("eventpromotionbar"+epb_bars[epb_bar_index].bar_id,epb_now.getTime()+1e3*count_down_seconds,31536e3)}}else{var count_down_seconds=60*epb_bars[epb_bar_index].fixed_minutes;epb_write_cookie("eventpromotionbar"+epb_bars[epb_bar_index].bar_id,epb_now.getTime()+1e3*count_down_seconds,31536e3)}}else if("daily"==epb_bars[epb_bar_index].clock_type){var start_hour=epb_bars[epb_bar_index].daily_start_on.getTime()%864e5,end_hour=epb_bars[epb_bar_index].daily_end_on.getTime()%864e5,now_hour=epb_now.getTime()%864e5,end_hour_adjusted=end_hour-start_hour>0?end_hour-start_hour:end_hour-start_hour+864e5,now_hour_adjusted=now_hour-start_hour>0?now_hour-start_hour:now_hour-start_hour+864e5,count_down_seconds=Math.round((end_hour_adjusted-now_hour_adjusted)/1e3);epb_bars[epb_bar_index].is_recur_cookied&&epb_write_cookie("eventpromotionbar"+epb_bars[epb_bar_index].bar_id,epb_now.getTime()+1e3*count_down_seconds,31536e3)}else var count_down_seconds=(epb_bars[epb_bar_index].end_on.getTime()-epb_now.getTime())/1e3;let bar_html;const bar=epb_bars[epb_bar_index],clickable=bar.button_disable&&bar.entire_bar_clickable,hasButton=!bar.button_disable&&!bar.entire_bar_clickable,closeable=bar.close_option,backgroundStyle=`style="opacity: 0; margin: 0; padding: 0; left: 0; height: auto; width: 100%; z-index: 1000000; position: relative; ${clickable?"cursor: pointer;":""}"`,barStyle='style="text-align: center; margin: 0; padding: 0; left: 0; height: auto; width: 100%; box-sizing: border-box; border: none;"',contentStyle='style="text-align:center; display: block; width: 100%; position:relative; color:inherit;"',buttonHtml='',closeButtonHtml='
',messageOne=bar.message_one?'':"",timer="hide_timer"!=bar.timer_style?'
':"",messageTwo=bar.message_two?'
':"",onClick=clickable?'onclick="epb_button_on_click(event)";':"",closeButton=closeable?closeButtonHtml:"",button=hasButton?buttonHtml:"",createBarHtml=()=>`
\n
\n
\n ${messageOne} \n ${timer}\n ${messageTwo}\n ${button}\n ${closeButton}\n
\n
\n
\n `;bar_html=createBarHtml();var browser_width=window.innerWidth||document.body.clientWidth;if(!document.getElementById("epb_container")){var container_html='
';"top_push_v1"===epb_bars[epb_bar_index].position?handlePlacementTopPush(browser_width,container_html):"top_push_sticky_v1"===epb_bars[epb_bar_index].position?handlePlacementTopPushSticky().handlePlacementTopPushStickyLogic(browser_width,container_html,"epb"):"below_atc"===epb_bars[epb_bar_index].position?epb_is_prod_page()&&handlePlacementBelowAtc(container_html):document.body.insertAdjacentHTML("beforeend",container_html)}let ctbPlaceholder=document.querySelector("#ctb_placeholder"),epbContainer=document.querySelector("#epb_container");ctbPlaceholder&&(ctbPlaceholder.innerHTML=""),epbContainer&&(epbContainer.innerHTML="",epbContainer.style.display="block"),!ctbPlaceholder||"inserted"!==epb_bars[epb_bar_index].position&&"inserted_sticky"!==epb_bars[epb_bar_index].position?epbContainer&&(epbContainer.innerHTML=bar_html):ctbPlaceholder.innerHTML=bar_html;var screen_width=window.innerWidth>0?window.innerWidth:screen.width,adjusted_font_size=parseFloat(epb_bars[epb_bar_index].font_size),adjusted_bar_padding=parseFloat(epb_bars[epb_bar_index].bar_padding);"all"==epb_bars[epb_bar_index].target_device&&(screen_width<=375&&adjusted_font_size>10?(adjusted_bar_padding=10*adjusted_bar_padding/adjusted_font_size,adjusted_font_size=10,adjusted_bar_padding>5&&(adjusted_bar_padding=5)):screen_width>375&&screen_width<=736&&adjusted_font_size>14?(adjusted_bar_padding=14*adjusted_bar_padding/adjusted_font_size,adjusted_font_size=14,adjusted_bar_padding>8&&(adjusted_bar_padding=8)):screen_width>736&&screen_width<=770&&adjusted_font_size>16&&(adjusted_bar_padding=16*adjusted_bar_padding/adjusted_font_size,adjusted_font_size=16,adjusted_bar_padding>10&&(adjusted_bar_padding=10)));var color=epb_bars[epb_bar_index].background_color,rgbaCol="rgba("+parseInt(color.slice(-6,-4),16)+","+parseInt(color.slice(-4,-2),16)+","+parseInt(color.slice(-2),16)+","+epb_bars[epb_bar_index].opacity+")";let epbBar=document.querySelector("#epb_bar"),epbCloseSvg=document.querySelector("#epb_close svg");epbBar&&(epbBar.style.backgroundColor=rgbaCol,epbBar.style.color=epb_bars[epb_bar_index].text_color,epbBar.style.fontSize=1.2*adjusted_font_size+"px",epbBar.style.lineHeight=2*adjusted_font_size+"px",epbBar.style.paddingTop=adjusted_bar_padding+"px",epbBar.style.paddingBottom=adjusted_bar_padding+"px",epbBar.style.fontFamily=epb_bars[epb_bar_index].font),epbCloseSvg&&(epbCloseSvg.style.fill=epb_bars[epb_bar_index].text_color,epbCloseSvg.style.width=1.5*adjusted_font_size+"px",epbCloseSvg.style.height=1.5*adjusted_font_size+"px");let epbBackground=document.querySelector("#epb_background"),epbMessageOne=document.querySelector("#epb_message_one"),epbMessageTwo=document.querySelector("#epb_message_two");if(epb_bars[epb_bar_index].background_type?"color"==epb_bars[epb_bar_index].background_type?epbBackground.style.backgroundImage="":"gradient"==epb_bars[epb_bar_index].background_type?epb_bars[epb_bar_index].gradient_color_3&&epb_bars[epb_bar_index].gradient_color_3.trim().length>0?epbBackground.style.backgroundImage="linear-gradient("+epb_bars[epb_bar_index].gradient_degree+"deg, "+epb_bars[epb_bar_index].gradient_color_1+", "+epb_bars[epb_bar_index].gradient_color_2+", "+epb_bars[epb_bar_index].gradient_color_3+")":epbBackground.style.backgroundImage="linear-gradient("+epb_bars[epb_bar_index].gradient_degree+"deg, "+epb_bars[epb_bar_index].gradient_color_1+", "+epb_bars[epb_bar_index].gradient_color_2+")":"image_pattern"==epb_bars[epb_bar_index].background_type?(epbBackground.style.backgroundImage="url("+EPB_CDN_URL+epb_bars[epb_bar_index].background_pic+")",epbBackground.style.backgroundRepeat="repeat"):"image_fit"==epb_bars[epb_bar_index].background_type&&(epbBackground.style.backgroundImage="url("+EPB_CDN_URL+epb_bars[epb_bar_index].background_pic+")",epbBackground.style.backgroundRepeat="no-repeat",epbBackground.style.backgroundSize="cover",epbBackground.style.animationName="ht_image_fit_slider",epbBackground.style.animationDuration=epb_bars[epb_bar_index].background_moving_speed+"s",epbBackground.style.animationIterationCount="infinite",epbBackground.style.animationDirection="alternate",epbBackground.style.animationTimingFunction="ease-in-out"):epb_bars[epb_bar_index].background_pic&&(epbBackground.style.backgroundImage="url("+EPB_CDN_URL+epb_bars[epb_bar_index].background_pic+")"),epbMessageOne||epbMessageTwo){let e=adjusted_font_size/2+"px",t=1.2*adjusted_font_size+"px",n=2*adjusted_font_size+"px",i=epb_bars[epb_bar_index].font;epbMessageOne&&(epbMessageOne.style.margin=e,epbMessageOne.style.fontSize=t,epbMessageOne.style.fontFamily=i,epbMessageOne.style.lineHeight=n),epbMessageTwo&&(epbMessageTwo.style.margin=e,epbMessageTwo.style.fontSize=t,epbMessageTwo.style.fontFamily=i,epbMessageTwo.style.lineHeight=n)}if(null!==current_locale&&epb_bars[epb_bar_index].locales.indexOf(current_locale)>-1){if(null!=epb_bars[epb_bar_index].translation[current_locale].message_one&&epb_bars[epb_bar_index].translation[current_locale].message_one.trim().length>0&&null!=epb_bars[epb_bar_index].translation[current_locale].message_one)var bar_message_one=epb_bars[epb_bar_index].translation[current_locale].message_one;else var bar_message_one=epb_bars[epb_bar_index].message_one;if(null!=epb_bars[epb_bar_index].translation[current_locale].message_two&&epb_bars[epb_bar_index].translation[current_locale].message_two.trim().length>0&&null!=epb_bars[epb_bar_index].translation[current_locale].message_two)var bar_message_two=epb_bars[epb_bar_index].translation[current_locale].message_two;else var bar_message_two=epb_bars[epb_bar_index].message_two;if(null!=epb_bars[epb_bar_index].translation[current_locale].button_text&&epb_bars[epb_bar_index].translation[current_locale].button_text.trim().length>0&&null!=epb_bars[epb_bar_index].translation[current_locale].button_text)var bar_button_text=epb_bars[epb_bar_index].translation[current_locale].button_text;else var bar_button_text=epb_bars[epb_bar_index].button_text}else var bar_message_one=epb_bars[epb_bar_index].message_one,bar_message_two=epb_bars[epb_bar_index].message_two,bar_button_text=epb_bars[epb_bar_index].button_text;epbMessageOne=document.getElementById("epb_message_one"),epbMessageTwo=document.getElementById("epb_message_two");let epbButton=document.getElementById("epb_button");if(epbMessageOne&&(epbMessageOne.innerHTML=bar_message_one),epbMessageTwo&&(epbMessageTwo.innerHTML=bar_message_two),!1===epb_bars[epb_bar_index].button_disable){if(epbButton){if(epbButton.style.color=epb_bars[epb_bar_index].button_text_color,epbButton.style.backgroundColor=epb_bars[epb_bar_index].button_background_color,epbButton.style.fontFamily=epb_bars[epb_bar_index].font,"ht-emitting"===epb_bars[epb_bar_index].button_animation){var epbEmittingBoxShadow=epb_convertHex(epb_bars[epb_bar_index].button_background_color),cssString=`\n @-webkit-keyframes ht-emitting {\n 13% { box-shadow: 0 0 5px 5px ${epbEmittingBoxShadow}; }\n 25%, 100% { box-shadow: 0 0 0 0 ${epbEmittingBoxShadow}; }\n }\n @keyframes ht-emitting {\n 13% { box-shadow: 0 0 5px 5px ${epbEmittingBoxShadow}; }\n 25%, 100% { box-shadow: 0 0 0 0 ${epbEmittingBoxShadow}; }\n }\n `;document.head.insertAdjacentHTML("beforeend",``)}""!==epb_bars[epb_bar_index].button_animation&&(epbButton.classList.add("ht-animated"),epbButton.classList.add("ht-infinite"),epbButton.classList.add(epb_bars[epb_bar_index].button_animation)),epbButton.innerHTML=bar_button_text}}else epbButton&&(epbButton.style.display="none");const setup_flip_clock=()=>{let e=`\n `;document.body.insertAdjacentHTML("beforeend",e),count_down_seconds=Math.ceil(count_down_seconds);const t=new Date;window.clock=count_down_seconds>86400?new FlipClock(document.querySelector("#epb_timer"),new Date(t.getTime()+1e3*count_down_seconds),{face:"DayCounter",countdown:!0,autoStart:!0,language:epb_bars[epb_bar_index].clock_lang,showLabels:epb_bars[epb_bar_index].show_timer_labels,stopAt:t}):new FlipClock(document.querySelector("#epb_timer"),new Date(t.getTime()+1e3*count_down_seconds),{face:"HourCounter",countdown:!0,autoStart:!0,language:epb_bars[epb_bar_index].clock_lang,showLabels:epb_bars[epb_bar_index].show_timer_labels,stopAt:t})};setInterval((()=>{let e=[],t=document.getElementsByClassName("ht-top"),n=document.getElementsByClassName("ht-bottom");for(let i=0;i"-"===e))){let e=document.getElementsByClassName("ht-flip-clock-list-item-inner"),t=[],n=[];Array.from(e).forEach((e=>{t.push(...e.getElementsByClassName("ht-top")),n.push(...e.getElementsByClassName("ht-bottom"))}));for(let i=0;i{if(window.clock&&Math.trunc((window.clock.originalValue.getTime()-Date.now())/1e3)<=0){let e=document.getElementsByClassName("ht-flip-clock-list-item-inner"),t=[],n=[];Array.from(e).forEach((e=>{t.push(...e.getElementsByClassName("ht-top")),n.push(...e.getElementsByClassName("ht-bottom"))}));for(let i=0;i{let e={inherit:{plain_numbers_width:1.3,plain_numbers_margin_top:-.1,square_tile_line_height:1.4,square_width:1.6,circle_tile_line_height:1.7,circle_tile_width:1.7,circle_tiles_margin_top:.1,font_size:.9},Helvetica:{plain_numbers_width:1.3,plain_numbers_margin_top:-.1,square_tile_line_height:1.5,square_width:1.5,circle_tile_line_height:1.7,circle_tile_width:1.7,circle_tiles_margin_top:.1,font_size:.9},Verdana:{plain_numbers_width:1.4,plain_numbers_margin_top:-.1,square_tile_line_height:1.5,square_width:1.5,circle_tile_line_height:1.7,circle_tile_width:1.7,circle_tiles_margin_top:.1,font_size:.9},Courier:{plain_numbers_width:1.3,plain_numbers_margin_top:-.1,square_tile_line_height:1.5,square_width:1.5,circle_tile_line_height:1.7,circle_tile_width:1.7,circle_tiles_margin_top:.1,font_size:.9},"Times New Roman":{plain_numbers_width:1.1,plain_numbers_margin_top:-.1,square_tile_line_height:1.5,square_width:1.5,circle_tile_line_height:1.75,circle_tile_width:1.7,circle_tiles_margin_top:.08,font_size:.9},Georgia:{plain_numbers_width:1.25,plain_numbers_margin_top:-.1,square_tile_line_height:1.4,square_width:1.4,circle_tile_line_height:1.5,circle_tile_width:1.7,circle_tiles_margin_top:.1,font_size:.9},"Brush Script MT":{plain_numbers_width:1.1,plain_numbers_margin_top:-.1,square_tile_line_height:1.6,square_width:1.6,circle_tile_line_height:1.8,circle_tile_width:1.7,circle_tiles_margin_top:.1,font_size:.9},Serif:{plain_numbers_width:1.1,plain_numbers_margin_top:-.1,square_tile_line_height:1.6,square_width:1.6,circle_tile_line_height:1.7,circle_tile_width:1.7,circle_tiles_margin_top:.1,font_size:.9},Lato:{plain_numbers_width:1.4,plain_numbers_margin_top:-.1,square_tile_line_height:1.45,square_width:1.45,circle_tile_line_height:1.7,circle_tile_width:1.7,circle_tiles_margin_top:.1,font_size:.9},Roboto:{plain_numbers_width:1.4,plain_numbers_margin_top:-.1,square_tile_line_height:1.55,square_width:1.5,circle_tile_line_height:1.8,circle_tile_width:1.7,circle_tiles_margin_top:.1,font_size:.9},"Josefin Sans":{plain_numbers_width:1.4,plain_numbers_margin_top:-.2,square_tile_line_height:1.7,square_width:1.6,circle_tile_line_height:1.87,circle_tile_width:1.7,circle_tiles_margin_top:.1,font_size:.9},Lobster:{plain_numbers_width:1.1,plain_numbers_margin_top:-.1,square_tile_line_height:1.5,square_width:1.5,circle_tile_line_height:1.75,circle_tile_width:1.7,circle_tiles_margin_top:.1,font_size:.9},"Open Sans":{plain_numbers_width:1.3,plain_numbers_margin_top:-.1,square_tile_line_height:1.5,square_width:1.5,circle_tile_line_height:1.65,circle_tile_width:1.7,circle_tiles_margin_top:.1,font_size:.9},"Poiret One":{plain_numbers_width:1.8,plain_numbers_margin_top:-.1,square_tile_line_height:1.5,square_width:1.8,circle_tile_line_height:1.75,circle_tile_width:1.7,circle_tiles_margin_top:.09,font_size:.8},"Dancing Script":{plain_numbers_width:1.5,plain_numbers_margin_top:-.1,square_tile_line_height:1.5,square_width:1.5,circle_tile_line_height:1.7,circle_tile_width:1.7,circle_tiles_margin_top:.1,font_size:.9},Bangers:{plain_numbers_width:1.2,plain_numbers_margin_top:-.1,square_tile_line_height:1.5,square_width:1.5,circle_tile_line_height:1.7,circle_tile_width:1.7,circle_tiles_margin_top:.1,font_size:.9},"Playfair Display":{plain_numbers_width:1.25,plain_numbers_margin_top:-.1,square_tile_line_height:1.35,square_width:1.5,circle_tile_line_height:1.5,circle_tile_width:1.7,circle_tiles_margin_top:.1,font_size:.9},Chewy:{plain_numbers_width:1.3,plain_numbers_margin_top:-.1,square_tile_line_height:1.6,square_width:1.5,circle_tile_line_height:1.75,circle_tile_width:1.7,circle_tiles_margin_top:.1,font_size:.9},Quicksand:{plain_numbers_width:1.2,plain_numbers_margin_top:-.1,square_tile_line_height:1.5,square_width:1.5,circle_tile_line_height:1.8,circle_tile_width:1.8,circle_tiles_margin_top:.05,font_size:.9},"Great Vibes":{plain_numbers_width:1.1,plain_numbers_margin_top:-.1,square_tile_line_height:1.6,square_width:1.5,circle_tile_line_height:1.8,circle_tile_width:1.7,circle_tiles_margin_top:.1,font_size:.9},Righteous:{plain_numbers_width:1.4,plain_numbers_margin_top:-.1,square_tile_line_height:1.5,square_width:1.6,circle_tile_line_height:1.7,circle_tile_width:1.7,circle_tiles_margin_top:.1,font_size:.9},"Crafty Girls":{plain_numbers_width:1.5,plain_numbers_margin_top:-.1,square_tile_line_height:1.6,square_width:1.5,circle_tile_line_height:1.8,circle_tile_width:1.7,circle_tiles_margin_top:.1,font_size:.9},"Mystery Quest":{plain_numbers_width:1.25,plain_numbers_margin_top:-.16,square_tile_line_height:1.7,square_width:1.5,circle_tile_line_height:1.9,circle_tile_width:1.7,circle_tiles_margin_top:.1,font_size:.9},Montserrat:{plain_numbers_width:1.4,plain_numbers_margin_top:-.1,square_tile_line_height:1.5,square_width:1.6,circle_tile_line_height:1.7,circle_tile_width:1.7,circle_tiles_margin_top:.1,font_size:.9},Oswald:{plain_numbers_width:1.1,plain_numbers_margin_top:-.1,square_tile_line_height:1.35,square_width:1.5,circle_tile_line_height:1.65,circle_tile_width:1.7,circle_tiles_margin_top:.1,font_size:.9},"Unica One":{plain_numbers_width:1.1,plain_numbers_margin_top:-.09,square_tile_line_height:1.5,square_width:1.5,circle_tile_line_height:1.7,circle_tile_width:1.7,circle_tiles_margin_top:.1,font_size:.9},Muli:{plain_numbers_width:1.3,plain_numbers_margin_top:-.1,square_tile_line_height:1.4,square_width:1.5,circle_tile_line_height:1.7,circle_tile_width:1.7,circle_tiles_margin_top:.1,font_size:.9},"Carter One":{plain_numbers_width:1.6,plain_numbers_margin_top:-.1,square_tile_line_height:1.5,square_width:1.7,circle_tile_line_height:1.75,circle_tile_width:1.7,circle_tiles_margin_top:.1,font_size:.8},"Varela Round":{plain_numbers_width:1.4,plain_numbers_margin_top:-.14,square_tile_line_height:1.55,square_width:1.7,circle_tile_line_height:1.8,circle_tile_width:1.7,circle_tiles_margin_top:.1,font_size:.9},"Julius Sans One":{plain_numbers_width:1.4,plain_numbers_margin_top:-.1,square_tile_line_height:1.55,square_width:1.7,circle_tile_line_height:1.8,circle_tile_width:1.7,circle_tiles_margin_top:.1,font_size:.9}},t=1.2*adjusted_font_size,n="\n #epb_timer_grid, #epb_timer, #epb_content{\n font-size: inherit;\n line-height: inherit;\n }";"plain_numbers"==epb_bars[epb_bar_index].timer_style?n+=`.epb_js_timer_number{font-family: ${epb_bars[epb_bar_index].js_timer_font_family};color: ${epb_bars[epb_bar_index].clock_color};display: inline-block;width: ${e[epb_bars[epb_bar_index].js_timer_font_family].plain_numbers_width}em;font-size: inherit;line-height: inherit;} .epb_timer_separator{margin-top: ${e[epb_bars[epb_bar_index].js_timer_font_family].plain_numbers_margin_top}em;}.epb_js_timer_label{line-height: 0.4em;margin-top: -0.4em; }.epb_js_timer_single_digit{width: 0.9em;margin: auto;}.epb_js_timer_triple_digit{width: auto;margin: auto;}`:"square_tiles"==epb_bars[epb_bar_index].timer_style?n+=`.epb_js_timer_number{font-family: ${epb_bars[epb_bar_index].js_timer_font_family};font-size: ${t*e[epb_bars[epb_bar_index].js_timer_font_family].font_size}px;background: linear-gradient(to bottom, ${epb_bars[epb_bar_index].clock_background_color}, ${epb_bars[epb_bar_index].js_timer_clock_background_color_2});color: ${epb_bars[epb_bar_index].clock_color};border-radius: 15%;transform: translate3d(0,0,0);display: inline-block;width: ${t*e[epb_bars[epb_bar_index].js_timer_font_family].square_width}px;height: ${1.5*t}px;margin: auto;line-height: ${t*e[epb_bars[epb_bar_index].js_timer_font_family].square_tile_line_height}px;}.epb_timer_separator{margin-top: -${.18*t}px;}.epb_js_timer_label{padding-top: ${.1*t}px;line-height: ${.5*t}px;}.epb_js_timer_triple_digit{width: auto;margin: auto;padding-left: 5px;padding-right: 5px;}`:"circle_tiles"==epb_bars[epb_bar_index].timer_style&&(n+=`.epb_js_timer_number{font-family: ${epb_bars[epb_bar_index].js_timer_font_family};font-size: ${t*e[epb_bars[epb_bar_index].js_timer_font_family].font_size}px;background: linear-gradient(to bottom, ${epb_bars[epb_bar_index].clock_background_color}, ${epb_bars[epb_bar_index].js_timer_clock_background_color_2});color: ${epb_bars[epb_bar_index].clock_color};border-radius: 50%;display: inline-block;width: ${t*e[epb_bars[epb_bar_index].js_timer_font_family].circle_tile_width}px;height: ${t*e[epb_bars[epb_bar_index].js_timer_font_family].circle_tile_width}px;line-height: ${t*e[epb_bars[epb_bar_index].js_timer_font_family].circle_tile_line_height}px;margin: auto;} .epb_timer_separator{margin-top: -${t*e[epb_bars[epb_bar_index].js_timer_font_family].circle_tiles_margin_top}px;height: 75%; }.epb_js_timer_label{padding-top: ${.1*t}px;line-height: ${.5*t}px;}`),n+=`.epb_js_timer_label{font-size: ${.45*t}px;font-family: ${epb_bars[epb_bar_index].js_timer_font_family};}.epb_timer_separator{font-size: inherit;line-height: inherit;font-family: Times New Roman, Serif;width: auto;color: ${epb_bars[epb_bar_index].js_timer_separator_color}}`;let i=document.createElement("style");i.innerHTML=n,document.body.append(i);let a=new Date(Date.now()+1e3*count_down_seconds),r=Math.round((a.getTime()-Date.now())/1e3),o=Math.floor(r/86400),s=Math.floor(r%86400/3600),c=':',d=`99?"epb_js_timer_triple_digit":""}">`,l=o>0?7:s>0?5:3;timerGrid=`
9&&"Bangers"==epb_bars[epb_bar_index].js_timer_font_family&&(timerGrid+="margin-left: 0.15em"),timerGrid+='">',7==l&&(timerGrid+=d+c),l>=5&&(timerGrid+=''+c),timerGrid+=''+c+'',epb_bars[epb_bar_index].show_timer_labels&&(7==l&&(timerGrid+=`${epb_bars[epb_bar_index].js_timer_label_day}`),l>=5&&(timerGrid+=`${epb_bars[epb_bar_index].js_timer_label_hrs}`),timerGrid+=`${epb_bars[epb_bar_index].js_timer_label_min}`,timerGrid+=`${epb_bars[epb_bar_index].js_timer_label_sec}`),timerGrid+="
",document.getElementById("epb_timer").innerHTML=timerGrid;const p=()=>{r=Math.round((a.getTime()-Date.now())/1e3),r<1&&(r=0);let e=Math.floor(r/86400),t=Math.floor(r%86400/3600),n=Math.floor(r%3600/60),i=r%60;7==l&&(document.getElementById("epb_days_span").innerHTML=e),l>=5&&(document.getElementById("epb_hours_span").innerHTML=t>9?t:"0"+t),document.getElementById("epb_minutes_span").innerHTML=n>9?n:"0"+n,document.getElementById("epb_seconds_span").innerHTML=i>9?i:"0"+i};p(),timerInterval=setInterval((()=>{r<0&&clearInterval(timerInterval),p()}),1e3)};"flip_clock"==epb_bars[epb_bar_index].timer_style?setup_flip_clock():"plain_numbers"!=epb_bars[epb_bar_index].timer_style&&"square_tiles"!=epb_bars[epb_bar_index].timer_style&&"circle_tiles"!=epb_bars[epb_bar_index].timer_style||setup_js_timer();let epbCustomCode=document.getElementById("epb_custom_code");function executeScripts(element){const scripts=element.getElementsByTagName("script");for(let ht_i=0;ht_i'),epbCustomCode=document.getElementById("epb_custom_code")),epbCustomCode.innerHTML=epb_bars[epb_bar_index].custom_code.replace("</script>","<\/script>"),executeScripts(epbCustomCode),epbBackground=document.getElementById("epb_background"),epbContainer=document.getElementById("epb_container"),epbBar=document.getElementById("epb_bar");const epbAnchor=epbContainer?epbContainer.querySelector("a"):null;document.getElementById("ctb_placeholder")&&"inserted"===epb_bars[epb_bar_index].position?(epbBackground.style.position="relative",epbBackground.style.zIndex=0):document.getElementById("ctb_placeholder")&&"inserted_sticky"===epb_bars[epb_bar_index].position?epbBackground.style.position="fixed":"top_push"===epb_bars[epb_bar_index].position?(epbBackground.style.top="0",epbBackground.style.position="absolute"):"top_push_sticky"===epb_bars[epb_bar_index].position?(epbBackground.style.top="0",epbBackground.style.position="fixed"):"top_push_v1"===epb_bars[epb_bar_index].position||("top_push_sticky_v1"===epb_bars[epb_bar_index].position||"top_cover"===epb_bars[epb_bar_index].position?(epbBackground.style.top="0",epbBackground.style.position="fixed"):"top_cover_nonsticky"===epb_bars[epb_bar_index].position?(epbBackground.style.top="0",epbBackground.style.position="absolute"):"bottom_cover"===epb_bars[epb_bar_index].position?(epbBackground.style.opacity=epb_bars[epb_bar_index].opacity,epbBackground.style.bottom="0",epbBackground.style.position="fixed"):"below_atc"===epb_bars[epb_bar_index].position&&epbContainer&&(epbContainer.style.marginTop="12px",epbContainer.style.clear="both",epbContainer.style.width="100%",epbAnchor&&(epbAnchor.style.display="block"),epbBar.style.position="static",epbBackground.style.zIndex=0)),handleZIndex(browser_width,epb_bars[epb_bar_index].position,"epb"),window.addEventListener("qabIsClosing",(()=>{handleContentShiftTopPushSticky().handleContentShiftTopPushStickyLogic(browser_width,"epb")})),window.addEventListener("fsbIsClosing",(()=>{handleContentShiftTopPushSticky().handleContentShiftTopPushStickyLogic(browser_width,"epb")})),setTimeout((function(){epb_inject()}),200)}function epb_inject(){const e=document.getElementById("epb_bar"),t=document.getElementById("epb_background"),n=document.getElementById("ctb_placeholder"),i=document.getElementById("epb_container"),a=e.offsetHeight+parseInt(window.getComputedStyle(e).marginTop)+parseInt(window.getComputedStyle(e).marginBottom);window.hextomData=window.hextomData||{},window.hextomData.epbHeight=a,n&&"inserted"===epb_bars[epb_bar_index].position?t.style.height=`${a}px`:n&&"inserted_sticky"===epb_bars[epb_bar_index].position?(n.style.paddingBottom=`${a}px`,t.style.height=`${a}px`):"top_push"===epb_bars[epb_bar_index].position||"top_push_sticky"===epb_bars[epb_bar_index].position?(document.body.style.paddingTop=`${a}px`,t.style.height=`${a}px`):"top_push_sticky_v1"===epb_bars[epb_bar_index].position?i.style.height=`${a}px`:"top_cover"===epb_bars[epb_bar_index].position||"top_cover_nonsticky"===epb_bars[epb_bar_index].position?t.style.height=`${a}px`:"bottom_cover"===epb_bars[epb_bar_index].position&&(document.body.style.paddingBottom=`${a}px`,t.style.height=`${a}px`);const r=parseFloat(epb_bars[epb_bar_index].interval_time);if(r>0){epb_write_cookie("epb_cool_down_seconds",r,r+parseFloat(epb_bars[epb_bar_index].show_time))}epb_bars[epb_bar_index].show_time>0&&setTimeout((function(){t.style.transition=`opacity ${epb_bars[epb_bar_index].animation_time}s linear, height ${epb_bars[epb_bar_index].animation_time}s linear`,t.style.opacity=0,t.style.height="0px",setTimeout((()=>{n&&"inserted"===epb_bars[epb_bar_index].position||n&&"inserted_sticky"===epb_bars[epb_bar_index].position?n.style.paddingBottom="0px":"top_push"===epb_bars[epb_bar_index].position||"top_push_sticky"===epb_bars[epb_bar_index].position?(document.body.style.paddingTop="0px",i.style.display="none"):["top_push_v1","top_push_sticky_v1","top_cover","top_cover_nonsticky"].includes(epb_bars[epb_bar_index].position)?i.style.display="none":"bottom_cover"===epb_bars[epb_bar_index].position&&(document.body.style.paddingBottom="0px");const e={detail:epb_bars[epb_bar_index].position};n.dispatchEvent(new CustomEvent("ctb_fully_unloaded",e)),i.dispatchEvent(new CustomEvent("ctb_fully_unloaded",e)),epb_remove_theme_integration()}),1e3*epb_bars[epb_bar_index].animation_time)}),1e3*epb_bars[epb_bar_index].show_time);const o=`${EPB_SERVER_URL}epb_record_bar?shop=${epb_get_shop_domain()}&bar_id=${epb_bars[epb_bar_index].bar_id}&event=display`;fetch(o,{method:"GET",headers:{"Content-Type":"application/json"}}).then((e=>e.json())).then((e=>{})).catch((e=>{console.error("Error:",e)})),"top_push_v1"===epb_bars[epb_bar_index].position?handleContentShiftTopPush(browser_width,a,"epb"):"top_push_sticky_v1"===epb_bars[epb_bar_index].position&&handleContentShiftTopPushSticky().handleContentShiftTopPushStickyLogic(browser_width,"epb");var s=document.getElementById("epb_bar");try{s.hidden=!0,s.offsetHeight,s.hidden=!1}catch(l){}!function(e,t){let n=document.getElementById("epb_background"),i=1,a=1e3*t,r=null;requestAnimationFrame((function e(t){r||(r=t);let o,s=t-r;o=0==a?1:Math.min(s/a,1),i=o,n.style.opacity=i,o<1&&requestAnimationFrame(e)}))}(0,epb_bars[epb_bar_index].animation_time);const c={detail:[epb_bars[epb_bar_index].position]},d=new CustomEvent("ctb_fully_loaded",c);n&&n.dispatchEvent(d),i&&i.dispatchEvent(d)}function epb_button_on_click(e){if(e.preventDefault(),e.stopPropagation(),epb_record){const e=EPB_SERVER_URL+"epb_record_bar?shop="+epb_get_shop_domain()+"&bar_id="+epb_bars[epb_bar_index].bar_id+"&event=click";fetch(e,{method:"GET",headers:{Accept:"application/json"}}).then((e=>{if(!e.ok)throw new Error("Network response was not ok");return e.json()})).then((e=>{})).catch((e=>{console.error("There was a problem with the fetch operation:",e)}))}try{epb_link_address=new URL(epb_bars[epb_bar_index].button_link)}catch(n){}let t=new URL(window.location.href);if(!0===epb_bars[epb_bar_index].button_link_insert_language_code&&"object"==typeof epb_link_address&&t.origin===epb_link_address.origin&&"/"!=window.Shopify.routes.root){let e=epb_link_address.origin+epb_link_address.pathname,t="";epb_bars[epb_bar_index].button_link.length>e.length&&(t=epb_bars[epb_bar_index].button_link.substring(e.length,epb_bars[epb_bar_index].button_link.length));let n=epb_link_address.origin+(null!=window.Shopify.routes.root?window.Shopify.routes.root.slice(0,-1):"")+epb_link_address.pathname+t;epb_bars[epb_bar_index].new_tab?window.open(n,"_blank"):window.location=n}else epb_bars[epb_bar_index].new_tab?window.open(epb_bars[epb_bar_index].button_link,"_blank"):window.location=epb_bars[epb_bar_index].button_link}function epb_get_shop_domain(){if("object"==typeof Shopify&&Shopify.hasOwnProperty("shop"))return Shopify.shop;for(var e=document.getElementsByTagName("script"),t=0;t0&&-1==e.indexOf(t)?(epb_write_cookie("epb_source",e,28800),e):(epb_write_cookie("epb_source","",28800),"")}function epb_get_utm(e){if(epb_read_cookie("epb_utm")===e)return!0;var t=document.location.href;return t.length>0&&t.toLowerCase().indexOf(e.toLowerCase())>0&&(epb_write_cookie("epb_utm",e,28800),!0)}function epb_convertHex(e){return e=e.replace("#",""),"rgba("+parseInt(e.substring(0,2),16)+","+parseInt(e.substring(2,4),16)+","+parseInt(e.substring(4,6),16)+",0.8)"}function epb_read_cookie(e){var t=("; "+document.cookie).split("; "+e+"=");if(2==t.length)return t.pop().split(";").shift()}function epb_write_cookie(e,t,n){if(n){var i=new Date;i.setTime(i.getTime()+1e3*n);var a="; expires="+i.toGMTString()}else a="";document.cookie=e+"="+t+a+"; path=/"}function epb_remove_cookie(e){document.cookie=e+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/"}function epb_close_on_click(e){e.preventDefault(),e.stopPropagation();const t=document.querySelector("#ctb_placeholder"),n=document.querySelector("#epb_container"),i=epb_bars[epb_bar_index].position;t&&t.dispatchEvent(new CustomEvent("ctb_fully_unloaded",{detail:i})),n&&n.dispatchEvent(new CustomEvent("ctb_fully_unloaded",{detail:i})),t&&setTimeout((function(){t.innerHTML=""}),100),setTimeout((function(){n&&(n.innerHTML="")}),100);const a=epb_bars[epb_bar_index].position;"top_push_sticky_v1"==a||"top_push_v1"==a?(epb_remove_theme_integration(),epb_remove_container_height(),"top_push_sticky_v1"==a&&(window.hextomData.epbHeight=0,window.dispatchEvent(new CustomEvent("epbIsClosing")))):t&&"inserted"===a||t&&"inserted_sticky"===a?t.style.paddingBottom="0":"top_push"===a||"top_push_sticky"===a?document.body.style.paddingTop="0":"top_cover"===a||"top_cover_nonsticky"===a?n&&(n.style.display="none"):"bottom_cover"===a&&(document.body.style.paddingBottom="0"),timerInterval&&clearInterval(timerInterval),epb_write_cookie("epb_close_clicked","yes")}function epb_read_session_storage(e){try{return sessionStorage.getItem(e)}catch(t){return null}}function epb_write_session_storage(e,t){try{sessionStorage.setItem(e,t)}catch(n){return}}function epb_is_prod_page(){return window.location.href.toLowerCase().indexOf("/products/")>-1}function epb_is_checkout_page(){var e=window.location.hostname,t=window.location.pathname;return-1!==e.indexOf("checkout.shopify.com")||-1!==t.indexOf("checkout")&&-1!==t.indexOf("thank_you")}function is_mobile(){var e=!1;return(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.substr(0,4)))&&(e=!0),e}function epb_remove_theme_integration(){var e=document.getElementById("epb_theme_integration_styles");e&&e.parentNode.removeChild(e)}function epb_remove_container_height(){var e=document.getElementById("epb_container");e&&(parseFloat(e.style.height)>0&&(e.style.height="0"))}return{epb_button_on_click:epb_button_on_click,epb_close_on_click:epb_close_on_click}}if(handleFlipClockStyles(),handleFlipClock2024(),!window.epb_already_run||"yes"!=window.epb_already_run)var hextom_epb_instance=hextom_epb();window.epb_button_on_click=function(e){hextom_epb_instance.epb_button_on_click(e)},window.epb_close_on_click=function(e){hextom_epb_instance.epb_close_on_click(e)};