PageSourceSearch

https://b-cools.com/cdn/shop/t/135/assets/xo-critical.min.js?v=11214095953688659461790651440

js b-cools.com collected 2026-10-09 21:58:51 UTC 58,209 bytes, 7 lines download raw bytes

1var Ns=Object.defineProperty;var Ks=(E,X,v)=>X in E?Ns(E,X,{enumerable:!0,configurable:!0,writable:!0,value:v}):E[X]=v;var a=(E,X,v)=>(Ks(E,typeof X!="symbol"?X+"":X,v),v);(function(){"use strict";const E={get:(t,e)=>t.getAttribute(e)==="false"?!1:t.hasAttribute(e),set:(t,e,s)=>{s?t.setAttribute(e,""):t.removeAttribute(e)}};function X(t,e,s){return Math.min(Math.max(t,e),s)}function v(t){return Object.prototype.toString.call(t).slice(8,-1).toLowerCase()}function ut(t){return t===null||typeof t!="function"&&typeof t!="object"}v.primitive=ut;function V(t){if(v(t)==="array")return t.map(e=>V(e));if(v(t)==="object"){const e={};for(const s in t)e[s]=V(t[s]);return e}else return t}function Ee(t){/comp|inter/.test(document.readyState)?t():"addEventListener"in document?document.addEventListener("DOMContentLoaded",t):document.attachEvent("onreadystatechange",()=>{document.readyState==="complete"&&t()})}const Q={android:!!navigator.userAgent.match(/Android/i),blackBerry:!!navigator.userAgent.match(/BlackBerry/i),ipad:!!navigator.userAgent.match(/iPad/i),iOS:!!navigator.userAgent.match(/iPhone|iPad|iPod/i),opera:!!navigator.userAgent.match(/Opera Mini/i),windows:!!navigator.userAgent.match(/Windows Phone/i),amazonePhone:!!navigator.userAgent.match(/(?:SD4930UR|\\bSilk(?:.+)Mobile\\b)/i),amazoneTablet:!!navigator.userAgent.match(/Silk/i),any:!!navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|Windows Phone|(?:SD4930UR|\bSilk(?:.+)Mobile\b)|Silk/i)};class ft{constructor(){a(this,"isMobile",null);a(this,"isSafari",null)}mobile(){return this.isMobile===null&&(this.isMobile=Q.any),this.isMobile}desktop(){return!this.mobile()}safari(){return this.isSafari===null&&(this.isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent)),this.isSafari}}class pt{constructor(){a(this,"isIOS",null);a(this,"isAndroid",null)}ios(){return this.isIOS===null&&(this.isIOS=Q.iOS),this.isIOS}android(){return this.isAndroid===null&&(this.isAndroid=Q.android),this.isAndroid}}const x=new ft,mt=new pt;Ee(()=>{const t=document.documentElement;x.mobile()?(t.classList.add("is-mobile"),E.set(t,"xo-is-mobile",!0)):(t.classList.add("is-desktop"),E.set(t,"xo-is-desktop",!0))});let Z=null;function ee(){if(Z!==null)return Z;const t=navigator.userAgentData;if(t&&t.brands){const e=navigator.userAgent.includes("GTmetrix");let s=!1;if(x.mobile()?s=navigator.platform.startsWith("Linux x86_64")&&t.mobile&&t.platform.includes("Android")&&navigator.userAgent.includes("; moto g")&&devicePixelRatio<=1.75:s=navigator.platform.startsWith("Linux x86_64")&&!t.mobile&&t.platform.includes("macOS")&&navigator.userAgent.includes("Macintosh;"),s||e)return Z=!0,!0}return Z=!1,!1}function _(t,e){if(t.length!==0)for(let s=0;s<t.length;s++)e(t[s],s,t)}const H=t=>Object.keys(t);function de(t=0){return new Promise(e=>{const s=window.setTimeout(()=>{e(()=>window.clearTimeout(s))},t)})}function gt(t,e){if(ee()){_(H(t),s=>{!customElements.get(s)&&s==="xo-carousel"&&customElements.define(s,t[s],e)});return}_(H(t),async s=>{await de(),customElements.get(s)||customElements.define(s,t[s],e)})}function ue(t,e){const s=[];for(let n=0;n<t.length;n++)e(t[n],n,t)&&s.push(t[n]);return s}class xe{constructor(){a(this,"id");a(this,"events");this.id=0,this.events={}}on(e,s){return this.id++,this.events={...this.events,[e]:[...this.events[e]||[],{listener:s,id:this.id}]},this.id}off(e){for(const s in this.events){const n=ue(this.events[s],o=>o.id!==e);if(n.length!==this.events[s].length){this.events={...this.events,[s]:n};break}}}emit(e,s){this.events[e]&&_(this.events[e],({listener:n})=>{n(s)})}}function yt(){const t=new xe;let e=-1,s=-1,n=-1,o=0,r=-1;function l({to:c,from:h,duration:f=1e3,friction:m=1,reverseEasing:g=!1,easingSync:p=!1,easing:y,onStart:w,onUpdate:S,onEnd:Y,alternate:he=!1,iterations:R=0}){let F=null,B=0,M=h,U=c,L=!1;o=h,r!==-1&&cancelAnimationFrame(r);function W(){L=!0,w==null||w(o),queueMicrotask(()=>t.emit("start",o));function O(I){if(!L)return;F||(F=I);const G=I-F-B*f;if(G>=f)if(o=U,S==null||S(o),t.emit("update",o),R===-1||R===1/0||B<R){if(B++,he){const k=M;M=U,U=k}else M=h,U=c,o=h;r=requestAnimationFrame(O)}else L=!1,Y==null||Y(o),t.emit("end",o);else{const C=G/f;let k=C;typeof y=="function"&&(M!==h&&U!==c&&!p?g?k=y(C):k=1-y(1-C):g?k=1-y(1-C):k=y(C)),o=M+(U-M)*k*m,t.emit("update",o),S==null||S(o),r=requestAnimationFrame(O)}}r=requestAnimationFrame(O)}return W(),()=>{L=!1,cancelAnimationFrame(r),r=-1}}return l.onStart=c=>(e=t.on("start",c),()=>t.off(e)),l.onUpdate=c=>(s=t.on("update",c),()=>t.off(s)),l.onEnd=c=>(n=t.on("end",c),()=>t.off(n)),l.off=()=>{t.off(e),t.off(s),t.off(n),r!==-1&&(cancelAnimationFrame(r),r=-1)},l.getValue=()=>
1o,l}function ke(t){let e=5381,s=t.length;for(;s;)e=e*33^t.charCodeAt(--s);return e>>>0}function Xe(t){return t.replace(/\s+/g," ").trim()}function bt(t="global"){return(e,...s)=>{let n=Xe(e.reduce((r,l,c)=>s[c]==null?r+l:r+l+s[c],""));const o={};return t==="scope"&&(n=Xe(n.replace(/(:global\(|)(?:[\.]{1})([a-zA-Z_]+[\w-_\\\[\]\+\=\{\}\?\*\!\(\)]*)(?:[\s\.\,\{\>#\:]{0})/gim,r=>{if(r.includes(":global(")){const h=r.replace(/:global\(\s*\.|\)$/g,"");return o[h]=h,`.${h}`}const l=r.trim().replace(/^\./g,""),c=`xo-${l}-${ke(n)}`;return o[l]=c,`.${c}`}))),{classes:o,cssText:n}}}function wt(t,e){var n;const s=e.querySelector(".xo-styles");if(s)s.textContent&&!((n=s.textContent)!=null&&n.includes(t))&&(s.textContent+=t);else{const o=document.createElement("style");o.classList.add("xo-styles"),o.textContent=t,e.appendChild(o)}}function vt(t,e=300){let s=-1;return function(...o){const r=this;clearTimeout(s),s=window.setTimeout(()=>{t.apply(r,o)},e)}}function St(){let t=-1;function e(n,o=300){return function(...l){const c=this;clearTimeout(t),t=window.setTimeout(()=>{n.apply(c,l)},o)}}function s(){clearTimeout(t)}return e.cancel=s,e}const te={linear:t=>t,ease:t=>.5*(1-Math.cos(Math.PI*t)),easeInQuad:t=>t*t,easeOutQuad:t=>t*(2-t),easeInOutQuad:t=>t<.5?2*t*t:-1+(4-2*t)*t,easeInCubic:t=>t*t*t,easeOutCubic:t=>--t*t*t+1,easeInOutCubic:t=>t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1,easeInQuart:t=>t*t*t*t,easeOutQuart:t=>1- --t*t*t*t,easeInOutQuart:t=>t<.5?8*t*t*t*t:1-8*--t*t*t*t,easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>1+--t*t*t*t*t,easeInOutQuint:t=>t<.5?16*t*t*t*t*t:1+16*--t*t*t*t*t,easeOutBounce:t=>t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,easeInBounce:t=>1-te.easeOutBounce(1-t),easeOutBack:t=>1+2.70158*(t-1)**3+1.70158*(t-1)**2,easeInBack:t=>2.70158*t*t*t-1.70158*t*t,easeInOut:t=>t<.5?te.easeInBack(t*2)/2:te.easeOutBack(t*2-1)/2+.5,easeInElastic:t=>{const e=2*Math.PI/3;return t===0?0:t===1?1:-(2**(10*t-10))*Math.sin((t*10-10.75)*e)},easeOutElastic:t=>{const e=2*Math.PI/3;return t===0?0:t===1?1:2**(-10*t)*Math.sin((t*10-.75)*e)+1},easeInExpo:t=>t===0?0:2**(10*t-10),easeOutExpo:t=>t===1?1:1-2**(-10*t),spring:t=>1-Math.cos(t*4.5*Math.PI)*Math.exp(-t*6),decay:t=>1-Math.exp(-t*6)};function fe(t,e){if(v.primitive(t)||v.primitive(e)||t==null||e==null)return t===e;const s=Object.keys(t),n=Object.keys(e);if(s.length!==n.length)return!1;for(const o of s){const r=t[o],l=e[o];if(typeof r=="object"&&typeof l=="object"){if(!fe(r,l))return!1}else if(r!==l)return!1}return!0}function $t(t,e){for(let s=0;s<t.length;s++)if(e(t[s],s,t))return s;return-1}function Me(t,e){const s=[];for(let n=0;n<t.length;n++)s.push(e(t[n],n,t));return s}function Ue(t,e,s){let n=s;for(let o=0;o<t.length;o++)n=e(n,t[o],o,t);return n}class Et{constructor(){a(this,"subscribers",new Set);a(this,"loopId",null);a(this,"lastTimestamp",null);a(this,"defaultTimestep",1e3/60);a(this,"loop",e=>{const s=this.lastTimestamp?e-this.lastTimestamp:this.defaultTimestep;this.lastTimestamp=e,this.subscribers.size>0?(this.subscribers.forEach(n=>n({delta:s,timestamp:e})),this.loopId=requestAnimationFrame(this.loop)):(this.loopId=null,this.lastTimestamp=null)})}add(e){this.subscribers.add(e),this.loopId===null&&(this.loopId=requestAnimationFrame(this.loop))}remove(e){this.subscribers.delete(e)}}const Oe=new Et;class Ce{constructor(){a(this,"frames",[]);a(this,"keepAliveFrames",[]);a(this,"isRunning",!1);a(this,"process",e=>{if(this.frames.length>0){const s=[...this.frames];this.frames.length=0,s.forEach(n=>n.call(this,e))}this.keepAliveFrames.length>0&&this.keepAliveFrames.forEach(s=>s.call(this,e)),this.frames.length===0&&this.keepAliveFrames.length===0&&this.stop()});a(this,"getFrames",()=>[...this.frames,...this.keepAliveFrames]);a(this,"hasFrames",()=>this.getFrames().length>0);a(this,"has",e=>this.getFrames().includes(e))}start(){this.isRunning||(Oe.add(this.process),this.isRunning=!0)}stop(){this.isRunning&&(Oe.remove(this.process),this.isRunning=!1)}add(e,s=!1){return s?this.keepAliveFrames.includes(e)||this.keepAliveFrames.push(e):this.frames.includes(e)||this.frames.push(e),this.start(),this}remove(e){return this.frames=this.frames.filter(s=>s!==e),this.keepAliveFrames=this.keepAliveFrames.filter(s=>s!==e),this.frames.length===0&&this.keepAliveFrames.length===0&&this.stop(),this}clear(){return this.frames=[],this.keepAliveFrames=[],this.stop(),this}}const j=new Ce;function xt(t){return t.replace(/([_]\w)/g,e=>e[1].toUpperCase())}function kt(t){return t.replace(/(\-\w|\_\w)/g,e=>e[1].toUpperCase()).replace(/^(\w)/,e=>e[0].toUpperCase())}function Pe(t){return t.replace(/[A-Z]/g,e=>`_${e.toLowerCase()}`)}function Xt(t){return t.replace(/^(\w)/,e=>e[0].toUpperCase())}function Mt(t){return Pe(t).replace(/^_/g,"")}function Ut(t){return t.replace(/^(\w)/,e=>e[0].toLowerCase())}function Ot(t){return t.replace(/([-]\w)/g,e=>e[1].toUpperCase())}function Ct(t){return t.replace(/([-]\w)/g,e=>e[1].toUpperCase()).replace(/^(\w)/,e=>e[0].toUpperCase())}function Ae(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function Pt(t){return Ae(t).replace(/^-/g,"")}const q={snakeToCamel:xt,snakeToPascal:kt,camelToSnake:Pe,camelToPascal:Xt,pascalToSnake:Mt,pascalToCamel:Ut,kebabToCamel:Ot,kebabToPascal:Ct,camelToKebab:Ae,pascalToKebab:Pt};function pe(t){const e=t.trim();if(/^{|\[/g.test(e))try{const n=new Function(`return ${e}`)();return JSON.parse(JSON.stringify(n))}catch{return/^\[/g.test(e)?[]:{}}else return{}}class Ie{constructor(...e){a(this,"value");this.value=e}}function At(t,e){return t instanceof Ie?e.startsWith("[")&&e.endsWith("]")?"array":e.startsWith("{")&&e.endsWith("}")?"object":e==="true"||e==="false"||e===""?"boolean":isNaN(Number(e))?"string":"number":typeof t=="function"?t.name.toLowerCase():Array.isArray(t)?"array":typeof t=="object"?"object":t}function It(t,e){switch(At(t,e.trim())){case"string":return e;case"number":return Number(e);case"string | number":{const s=Number(e);return isNaN(s)?e:s}case"boolean":return e==="true"||e==="";case"object":return pe(e);case"array":return pe(e);default:return e}}function Te(t,{pick:e,types:s,camelCase:n=!0,propTransformer:o}={}){let r={};if(t==null)return r;const l=Array.from(t.attributes);e==null&&(e=Me(l,c=>c.name));for(const c of l){let h=n?q.kebabToCamel(c.name):c.name;const f=s==null?void 0:s[h];c.value!=null&&(e==null?void 0:e.includes(h))&&(typeof o=="function"&&(h=o(h)),!!s&&f!=null?r={...r,[h]:It(f,c.value)}:r={...r,[h]:c.value})}return r}function Tt(t,{width:e,height:s}={}){const n=t.replace(/(\?|&)width=\d*/g,""),o=n.includes("?")?"&":"?",r=e?`${o}width=${e}`:"",l=s?`${o}height=${s}`:"";return`${n}${r}${l}`}function Lt({inputRange:t,outputRange:e,value:s,easing:n=l=>l,reverseEasing:o=!1,extrapolate:r="extend"}){if(t.length!==e.length||t.length<2)throw new Error("inputRange and outputRange must have the same length and at least 2 elements");const l=t[0]>t[t.length-1];for(let p=0;p<t.length;p++)if(s===t[p])return e[p];let c=-1,h=-1;for(let p=0;p<t.length-1;p++)if(l){if(s<=t[p]&&s>=t[p+1]){c=p,h=p+1;break}}else if(s>=t[p]&&s<=t[p+1]){c=p,h=p+1;break}if(c===-1)if(l)if(s>t[0]){if(r==="clamp")return e[0];const p=(e[1]-e[0])/(t[1]-t[0]);return e[0]+p*(s-t[0])}else{if(r==="clamp")return e[e.length-1];const p=t.length-1,y=(e[p]-e[p-1])/(t[p]-t[p-1]);return e[p]+y*(s-t[p])}else if(s<t[0]){if(r==="clamp")return e[0];const p=(e[1]-e[0])/(t[1]-t[0]);return e[0]+p*(s-t[0])}else{if(r==="clamp")return e[e.length-1];const p=t.length-1,y=(e[p]-e[p-1])/(t[p]-t[p-1]);return e[p]+y*(s-t[p])}const f=t[h]-t[c],m=e[h]-e[c];if(f===0)return e[c];let g=(s-t[c])/f;return typeof n=="function"&&(o?g=1-n(1-g):g=n(g)),e[c]+m*g}const Dt=t=>Object.values(t);function Vt(t){return t.nodeType===9&&t.defaultView}function Le(t){const e=t==null?void 0:t.ownerDocument,s=e.documentElement,n=Vt(e);let o={top:0,left:0};return e?(typeof t.getBoundingClientRect<"u"&&(o=t.getBoundingClientRect()),{top:o.top+n.scrollY-s.clientTop,left:o.left+n.scrollX-s.clientLeft}):{top:0,left:0}}class _t{constructor(e){a(this,"dx");a(this,"dy");a(this,"prevDx");a(this,"prevDy");a(this,"vx",0);a(this,"vy",0);a(this,"isStart",!1);a(this,"startX",0);a(this,"startX2",0);a(this,"startY",0);a(this,"startY2",0);a(this,"options");a(this,"handleMouseDown",e=>{const{onStart:s}=this.options;if(e.type==="touchstart"&&e.touches.length>1||e.type==="mousedown"&&e.button!==0)return;const n=e.target;!x.mobile()&&(n.closest("a")||n.closest("img"))&&e.preventDefault(),this.isStart=!0,this.prevDx=this.dx,this.prevDy=this.dy,e.type==="touchstart"?(this.startX=e.touches[0].clientX,this.startY=e.touches[0].clientY,this.startX2=e.touches[0].clientX,this.startY2=e.touches[0].clientY):(this.startX=e.clientX,this.startY=e.clientY,this.startX2=e.clientX,this.startY2=e.clientY),s==null||s(e),document.addEventListener("mousemove",this.handleMouseMove),document.addEventListener("touchmove",this.handleMouseMove,{passive:!1}),document.addEventListener("mouseup",this.handleMouseUp),document.addEventListener("touchend",this.handleMouseUp,{passive:!1})});a(this,"handleMouseMove",e=>{const{onMove:s}=this.options;if(e.type==="touchmove"&&e.touches.length>1||e.type==="mousemove"&&e.button!==0||(x.mobile()||e.preventDefault(),!this.isStart))return;let n,o;e.type==="touchmove"?(n=e.touches[0].clientX,o=e.touches[0].clientY):(n=e.clientX,o=e.clientY);const r=n-this.startX,l=o-this.startY;this.startX=n,this.startY=o,this.dx+=r,this.dy+=l,this.vx=r,this.vy=l,s==null||s({dx:this.dx,dy:this.dy,prevDx:this.prevDx,prevDy:this.prevDy,vx:this.vx,vy:this.vy,isHorizontalSwipe:Math.abs(n-this.startX2)*3>Math.abs(o-this.startY2)},e)});a(this,"handleEnd",(e,s)=>{const{onEnd:n}=this.options;!this.isStart||(this.isStart=!1,s&&(this.dx=s.dx,this.dy=s.dy,this.vx=s.vx,this.vy=s.vy),n==null||n({dx:this.dx,dy:this.dy,prevDx:this.prevDx,prevDy:this.prevDy,vx:this.vx,vy:this.vy},e),document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("touchmove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),document.removeEventListener("touchend",this.handleMouseUp))});a(this,"handleMouseUp",e=>{x.mobile()||e.preventDefault(),this.handleEnd(e)});a(this,"setValue",({dx:e,dy:s})=>{e!=null&&(this.dx=e),s!=null&&(this.dy=s)});a(this,"destroy",()=>{this.options.element.removeEventListener("mousedown",this.handleMouseDown),this.options.element.removeEventListener("touchstart",this.handleMouseDown),document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("touchmove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),document.removeEventListener("touchend",this.handleMouseUp)});this.options=e,this.dx=e.dx||0,this.dy=e.dy||0,this.prevDx=e.dx||0,this.prevDy=e.dy||0,e.element.addEventListener("mousedown",this.handleMouseDown),x.mobile()&&e.element.addEventListener("touchstart",this.handleMouseDown,{passive:!1})}}function Yt(t){return new _t(t)}class Rt{constructor(e,s){a(this,"target");a(this,"options");a(this,"top");a(this,"left");a(this,"handlePlacement",()=>{const{element:e,placement:s,offset:n}=this.options,{offsetWidth:o,offsetHeight:r}=this.target,{top:l,left:c}=Le(this.target),{offsetWidth:h,offsetHeight:f}=e;switch(s){case"top-left":this.top=l-f-n,this.left=c;break;case"top-center":this.top=l-f-n,this.left=c+o/2-h/2;break;case"top-right":this.top=l-f-n,this.left=c+o-h;break;case"bottom-left":this.top=l+r+n,this.left=c;break;case"bottom-center":this.top=l+r+n,this.left=c+o/2-h/2;break;case"bottom-right":this.top=l+r+n,this.left=c+o-h;break;case"left-top":this.top=l,this.left=c-h-n;break;case"left-center":this.top=l+r/2-f/2,this.left=c-h-n;break;case"left-bottom":this.top=l+r-f,this.left=c-h-n;break;case"right-top":this.top=l,this.left=c+o+n;break;case"right-center":this.top=l+r/2-f/2,this.left=c+o+n;break;case"right-bottom":this.top=l+r-f,this.left=c+o+n;break}});a(this,"checkBoundary",()=>{const{element:e}=this.options,{offsetWidth:s,offsetHeight:n}=e,{clientWidth:o,clientHeight:r}=document.documentElement;this.top<window.scrollY?this.top=window.scrollY:this.top+n>r+window.scrollY&&(this.top=r+window.scrollY-n),this.left<0?this.left=window.scrollX:this.left+s>
1o+window.scrollX&&(this.left=o+window.scrollX-s)});a(this,"init",()=>{const{element:e}=this.options,{width:s,height:n}=e.getBoundingClientRect();return this.handlePlacement(),this.checkBoundary(),{top:this.top,left:this.left,width:s,height:n}});this.target=e,this.options=s,this.top=0,this.left=0}}function Ft(t,{element:e,placement:s="bottom-center",offset:n=0}){return new Rt(t,{element:e,placement:s,offset:n}).init()}function Bt(t,e=!1){const s=e?{}:[],n=new URLSearchParams(t);for(const o of n.entries())if(e){const[r,l]=o;s[r]=l}else s.push([o[0],o[1]]);return s}function Wt(t){const e=new URLSearchParams(t),s="&"+String.fromCharCode(10);return e.toString().replace(/&/g,s).replace(/\w.*=&?$/gm,"").replace(/\n+/g,"").replace(/&$/g,"")}const Ht={parse:Bt,stringify:Wt};function De(t,e,s=.55){return t*e*s/(e+s*t)}function jt(t,e,s,n){return s<t?-De(t-s,e-t,n)+t:s>e?De(s-e,e-t,n)+e:s}function qt(){let t=!1;const e=()=>{if(!t){t=!0;const o="@xoLocalStorageCheck";try{return window.localStorage.setItem(o,o),window.localStorage.removeItem(o),!0}catch{return!1}}return!0};return(()=>e()?window.localStorage:{getItem(){return null},setItem(){},removeItem(){},clear(){},key(){return null},length:0})()}const se=qt();function zt(t,e=200){let s=0;return function(...n){const o=this,r=Date.now();r-s<e||(s=r,t.apply(o,n))}}function Nt(t,e){var s;if((s=window.xbEditor)!=null&&s.designMode)console.warn(`${t}
2
3${e?`Example:
4${e}`:""}`);else throw new Error(`${t}
5
6${e?`Example:
7${e}`:""}`)}class ne{constructor(e={}){a(this,"_store");a(this,"_prevStore");a(this,"_options");a(this,"_listeners");a(this,"_storageRegisters");a(this,"_useDeepEquals");a(this,"_handleListeners",e=>{if(this._listeners[e]){const s=this.get(e);for(let n=0;n<this._listeners[e].length;n++){const{equal:o,listener:r}=this._listeners[e][n];if(!o)r(s);else{const l=V(this._prevStore[e]);o(l,s)||r(s)}}}});a(this,"_getState",(e,s)=>{const{storagePrefix:n}=this._options,o=se.getItem(`${n}${e}`);return o!=null&&o!==void 0&&this._storageRegisters[e]?JSON.parse(o):s});a(this,"_setStorage",(e,s)=>{if(!!e&&s!==void 0&&this._storageRegisters[e]){const{storagePrefix:n}=this._options,o=JSON.stringify(s);se.setItem(`${n}${e}`,o)}});a(this,"_set",(e,s)=>{const{logger:n,loggerCollapsed:o}=this._options;return(this._useDeepEquals[e]?!fe(this._store[e],s):this._store[e]!==s)&&(this._prevStore[e]=V(this._store[e]),this._store[e]=s,this._setStorage(e,s),this._handleListeners(e),n)?l=>{ne.logger(l,s,e,o,this._prevStore,this._store)}:()=>{}});a(this,"create",(e,{initialState:s,useStorage:n,useDeepEqual:o})=>{const{logger:r,loggerCollapsed:l,storagePrefix:c}=this._options;this._store[e]||(this._storageRegisters[e]=n,this._getState(e,s)||this._setStorage(e,s),this._store[e]=this._getState(e,s),n||se.removeItem(`${c}${e}`),this._handleListeners(e),r&&ne.logger("@store/initialState",s,e,l)),this._useDeepEquals[e]||(this._useDeepEquals[e]=!!o)});this._store={},this._prevStore={},this._listeners={},this._storageRegisters={},this._options={logger:e.logger||!1,loggerCollapsed:e.loggerCollapsed||!1,storagePrefix:e.storagePrefix?`${e.storagePrefix}/`:""},this._useDeepEquals={}}static logger(e,s,n,o=!1,r,l){const h=new Date().toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",second:"2-digit"}),f=n,m=f.length<9?Array(9-f.length).fill(" ").join(""):"";console[o?"groupCollapsed":"group"](`%c XOStore: ${e}`,"color: #614eff",`@${h}`),r&&console.log("%c Prev Store ","color: #999; font-weight: 600",r),console.log(`%c ${f}  ${m}`,"color: #44b0e2; font-weight: 600",s),l&&console.log("%c Next Store ","color: #7ac143; font-weight: 600",l),console.groupEnd()}get(e){return e?this._store[e]:this._store}set(e,s){if(typeof s=="function"){const n=s,o=this._store[e];return this._set(e,n(o))}return this._set(e,s)}subscribe(e,s,n){if(this._listeners[e]=this._listeners[e]||[],this._listeners[e].push({listener:s,equal:n}),Object.keys(this._store).includes(e)){const o=this.get(e),r=V(this._prevStore[e]);n&&n(r,o)||s(o)}return()=>{this._listeners[e]=ue(this._listeners[e],({listener:o})=>o!==s)}}}let ie=null;function Kt(){if(ee())return 0;if(ie!=null)return ie;if(!document.body||document.body.scrollHeight<=window.innerHeight)return 0;const t=document.createElement("div"),e=100;return t.style.display="block",t.style.width=`${e}px`,t.style.height=`${e}px`,t.style.overflow="scroll",t.style.position="fixed",t.style.top="-9999px",document.body.appendChild(t),ie=e-t.clientWidth,document.body.removeChild(t),ie}const Ve={xs:575,sm:767,md:991};function Gt(t){if(t==null)return;const e=H(t||{}),s=Ue(e,(n,o,r)=>{var m,g,p,y,w,S;const l=o.toString(),c=((g=(m=e[r-1])==null?void 0:m.toString)==null?void 0:g.call(m))||"0",h=(y=(p=Ve[l])!=null?p:parseInt(l))!=null?y:0,f=(S=(w=Ve[c])!=null?w:parseInt(c))!=null?S:0;return window.innerWidth>f&&window.innerWidth<=h?{...n,...t[o]}:n},{});if(!!H(s).length)return s}function Jt(t,e){let s=window.innerWidth,n=window.innerHeight;return function(...r){var c;const l=this;(c=window.xbEditor)!=null&&c.designMode?e.apply(l,r):(t==="x"?s!==window.innerWidth&&e.apply(l,r):t==="y"&&n!==window.innerHeight&&e.apply(l,r),s=window.innerWidth,n=window.innerHeight)}}const Qt=({file:t,content:e,insertPosition:s="beforeend",id:n,parentElement:o=document.head})=>{if(n){const r=document.getElementById(n);r==null||r.remove()}if(t){const r=document.createElement("link");return n&&(r.id=n),r.rel="stylesheet",r.href=t,o.insertAdjacentElement(s,r),r}if(e){const r=document.createElement("style");return n&&(r.id=n),r.textContent=e,o.insertAdjacentElement(s,r),r}},Zt=async({file:t,content:e,insertPosition:s="beforeend",id:n,parentElement:o=document.head,type:r})=>{if(n){const c=document.getElementById(n);c==null||c.remove()}const l=document.createElement("script");return n&&(l.id=n),t&&(l.src=t,r&&(l.type=r)),e&&(l.textContent=e),!!t||!!e?(o.insertAdjacentElement(s,l),new Promise(c=>{l.onload=()=>{c(l)}})):new Promise(c=>{c(l)})};function es(t,e,s=1){const n=Math.ceil((e-t)/s);return Array.from({length:n},(o,r)=>t+r*s)}class ts{static toArray(e){const s=[],n=e.match(/[a-df-z][^a-df-z]*/gi);if(!n)return s;for(let o=0;o<n.length;o++){const r=n[o],l=r.charAt(0),c=r.substring(1).split(/[\s,]+|(?=\s?[+\-])/).filter(h=>h.trim()!=="").map(h=>+h);s.push({type:l,values:c})}return s}static toString(e){let s="";for(let n=0;n<e.length;n++){const o=e[n],r=o.type,l=o.values;s+=r,l.length>0&&(s+=l.join(" "))}return s}}function ss(t,e){var r,l;const s=t.getBoundingClientRect(),n=window.innerHeight||document.documentElement.clientHeight,o=window.innerWidth||document.documentElement.clientWidth;return s.bottom+((r=e==null?void 0:e.offsetBottom)!=null?r:0)>=0&&s.right>=0&&s.top<=n+((l=e==null?void 0:e.offsetTop)!=null?l:0)&&s.left<=o}function ns(t,e,s){const n=s-e+1;return((t-e)%n+n)%n}class is{constructor(e){a(this,"value");a(this,"lastSetTime",0);a(this,"cooldown");this.cooldown=e}set(e){const s=Date.now();return s-this.lastSetTime>=this.cooldown&&(this.value=e(),this.lastSetTime=s),this.value}get(){return this.value}clear(){this.value=void 0,this.lastSetTime=0}has(){return this.value!==void 0}forceSet(e){return this.value=e(),this.lastSetTime=Date.now(),this.value}remainingCooldown(){const e=Date.now()-this.lastSetTime,s=this.cooldown-e;return s>0?s:0}}function _e(t){return new is(t)}function Ye(t){return function(e){return function(s,n,o){return s[t]||(s[t]=[]),s[t].push({methodName:n,condition:e}),o}}}const Re="$$stateUpdateMethods",me="$$contextUpdateMethods",os=Ye(Re),rs=Ye(me),we=class extends HTMLElement{constructor(){super();a(this,"props",{});a(this,"state",{});a(this,"$$contextCache",_e(1e4));a(this,"$$attributeObserver",null);a(this,"$$interSectionObserver",null);a(this,"$$listeners",[]);a(this,"$$context",null);a(this,"$$subscribe",s=>(this.$$listeners.push(s),()=>{this.$$listeners=this.$$listeners.filter(n=>n!==s)}));a(this,"$$setProps",()=>{this.props=this.getProps()});a(this,"$$handlePropUpdate",()=>{const s=Object.getPrototypeOf(this).constructor.observedProps;!s||!s.length||(this.$$attributeObserver=new MutationObserver(n=>
7{n.forEach(o=>{const r=o.attributeName;if(r&&o.type==="attributes"){const l=q.kebabToCamel(r),c=o.oldValue,h=this.getAttribute(r);s.includes(l)&&c!==h&&(this.$$setProps(),this.propUpdate({name:l,prevProp:c,nextProp:h}))}})}),this.$$attributeObserver.observe(this,{attributes:!0,attributeOldValue:!0,attributeFilter:s.map(n=>q.camelToKebab(n))}))});a(this,"$$handleContextValueUpdate",()=>{var n;const s=Object.getPrototypeOf(this)[me];this.callUpdateMethods(this.state,this.state,s),(n=this.$$context)==null||n.$$subscribe(o=>{this.contextValueUpdate(o);const r=Object.getPrototypeOf(this)[me];this.callUpdateMethods(o.prevState,o.nextState,r)})});a(this,"$$handleVisibilityChange",()=>{this.visibilityChange()});a(this,"visibilityChange",()=>{})}static Union(...s){return new Ie(s)}queryContext(s){return this.$$context||(this.$$context=this.$$contextCache.set(()=>typeof s=="string"?this.closest(s):s)),this.$$context}getProps(){const s=Object.getPrototypeOf(this).constructor.propTypes,n=Object.getPrototypeOf(this).constructor.defaultProps,o=Te(this,{pick:Object.keys(s),types:s});return{...n,...o}}callUpdateMethods(s,n,o){!o||_(o,r=>{const{methodName:l,condition:c}=r;let h=!1;if(c?typeof c=="function"?h=c(s,n):Array.isArray(c)&&(h=c.some(f=>s[f]!==n[f])):h=!0,h){const f=this[l];typeof f=="function"&&f.call(this,{prevState:s,nextState:n})}})}setState(s){const n=this.state,o=typeof s=="function"?s(n):s;this.state={...this.state,...o},this.stateUpdate(n);const r=Object.getPrototypeOf(this)[Re];this.callUpdateMethods(n,this.state,r),_(this.$$listeners,l=>l({prevState:n,nextState:this.state}))}setProps(s){const n=this.props,o=typeof s=="function"?s(n):s;this.props={...this.props,...o};const r={...this.props};requestAnimationFrame(()=>{Object.entries(r).forEach(([l,c])=>{const h=l.includes("-")?l:q.camelToKebab(l);typeof c=="boolean"?typeof s=="object"&&Object.keys(s).length===0?this.setAttribute(h,c?"true":"false"):E.set(this,h,c):c==null?this.removeAttribute(h):this.setAttribute(h,typeof c=="string"?c:JSON.stringify(c))})})}connectedCallback(){Object.getPrototypeOf(this).constructor.observeOnMount?(this.$$interSectionObserver=new IntersectionObserver(n=>{n.forEach(o=>{var r;o.isIntersecting&&(this.$$setProps(),this.setProps({}),this.mount(),this.$$handlePropUpdate(),this.$$handleContextValueUpdate(),(r=this.$$interSectionObserver)==null||r.disconnect())})},{rootMargin:x.mobile()?"500px":"1000px"}),this.$$interSectionObserver.observe(this)):(this.$$setProps(),this.setProps({}),this.mount(),this.$$handlePropUpdate(),this.$$handleContextValueUpdate()),document.addEventListener("visibilitychange",this.$$handleVisibilityChange)}disconnectedCallback(){var s,n;(s=this.$$attributeObserver)==null||s.disconnect(),(n=this.$$interSectionObserver)==null||n.disconnect(),this.$$listeners=[],document.removeEventListener("visibilitychange",this.$$handleVisibilityChange),this.unmount()}emit(s,n){const o=new CustomEvent(s,n);return this.dispatchEvent(o),o}stateUpdate(s){}contextValueUpdate(s){}propUpdate({name:s,prevProp:n,nextProp:o}){}mount(){}unmount(){}};let P=we;a(P,"defaultProps",{}),a(P,"propTypes",{}),a(P,"observedProps",[]),a(P,"observeOnMount",!1),a(P,"Optional",Object.assign(s=>s,{String,Number,Boolean,Array,Object,Union:we.Union}));function Fe(t){var e;return e=class extends t{constructor(){super(...arguments);a(this,"$$intersectionObserver",null)}connectedCallback(){Object.getPrototypeOf(this).constructor.observeOnMount?(this.$$intersectionObserver=new IntersectionObserver(r=>{r.forEach(l=>{var c;l.isIntersecting&&(this.onConnected(),(c=this.$$intersectionObserver)==null||c.disconnect())})},{rootMargin:x.mobile()?"500px":"1000px"}),this.$$intersectionObserver.observe(this)):this.onConnected()}onConnected(){}},a(e,"observeOnMount",!1),e}const as=Fe(HTMLDivElement),ls=Fe(HTMLElement);function cs(t,e){return s=>{ee()||(async()=>(e!=null&&e.isProvider?await new Promise(n=>queueMicrotask(()=>n(void 0))):await de(),!window.customElements.get(t)&&window.customElements.define(t,s,e)))()}}function hs(t){return new Promise(e=>{if(t.length===0){e();return}let s=0;t.forEach(n=>{const o=new Image,r=()=>{s+=1,s===t.length&&e()};o.onload=r,o.onerror=l=>{console.error(l),r()},o.src=n})})}function ds(t,e){var n;const s=t.closest("section[xo-preset]");if(s&&((n=window.xbEditor)==null?void 0:n.designMode)){const o=new MutationObserver(()=>{e()});return o.observe(s,{attributes:!0,attributeFilter:["xo-preset"]}),()=>o.disconnect()}return()=>{}}function ge(){return typeof HTMLElement<"u"&&"popover"in HTMLElement.prototype}function us(t){var e;!ge()||t.hasAttribute("popover")&&((e=t==null?void 0:t.showPopover)==null||e.call(t))}function fs(t){var e;!ge()||t.hasAttribute("popover")&&((e=t==null?void 0:t.hidePopover)==null||e.call(t))}function Be(t){return t.search(/^https?:\/\/(www|)\.youtube\.com/g)!==-1||t.search(/^https?:\/\/(www|)\.youtu\.be/g)!==-1}function We(t){return t.search(/^https?:\/\/(player\.|)vimeo\.com/g)!==-1}function ps(t,e){var s;(s=e.contentWindow)==null||s.postMessage({method:t,value:{}},"https://player.vimeo.com")}function ms(t,e){var s;(s=e.contentWindow)==null||s.postMessage(`{"event":"command","func":"${t}Video","args":[],"id":1,"channel":"widget"}`,"*")}function He(t,e){const s=typeof e=="string"?document.querySelector(e):e;s&&(s.localName==="video"?s[t]():s.localName==="iframe"&&Be(s.src)?ms(t,s):s.localName==="iframe"&&We(s.src)&&ps(t,s))}function gs(t){He("play",t)}function ys(t){He("pause",t)}function bs(t){var e,s;return(s=(e=t.closest(".shopify-section"))==null?void 0:e.id.replace(/^shopify-section-/g,""))!=null?s:""}function ws(t){var s,n;const e=(n=(s=window.Shopify)==null?void 0:s.routes)==null?void 0:n.root;return e&&t&&!t.includes(":")&&!t.startsWith(e.replace(/\/$/g,""))&&t.startsWith("/")&&!t.startsWith("//")?`${e}${t.replace(/^\//g,"")}`:t}function vs(t,e){typeof t=="string"&&(t=t.replace(".",""));let s="";const n=/\{\{\s*(\w+)\s*\}\}/,o=e||"{{amount}}";function r(c,h,f=",",m="."){if(isNaN(c)||c==null)return"0";c=Number((c/100).toFixed(h));const g=c.toString().split("."),p=g[0].replace(/\B(?=(\d{3})+(?!\d))/g,f),y=g[1]?m+g[1]:"";return p+y}const l=o.match(n);if(!l)return o;switch(l[1]){case"amount":s=r(Number(t),2);break;case"amount_no_decimals":s=r(Number(t),0);break;case"amount_with_comma_separator":s=r(Number(t),2,".",",");break;case"amount_no_decimals_with_comma_separator":s=r(Number(t),0,".",",");break;default:return o}return o.replace(n,s)}function je(t,e){return"requestIdleCallback"in window?window.requestIdleCallback(t,e):setTimeout(t,(e==null?void 0:e.timeout)||1)}function Ss(t){"cancelIdleCallback"in window?window.cancelIdleCallback(t):clearTimeout(t)}let qe=0;function $s(...t){if(process.env.NODE_ENV==="production")return;let e=null,s=null;const n=t[t.length-1],o=t.slice(0,t.length-1);if(n.style?(s=n.style,e=o):e=t,n.isMobile||x.mobile()){const r=document.getElementById("xo-mobile-console"),l=`<span style="color: #999">[${qe}]</span> ${e instanceof Object?JSON.stringify(e).replace(/^\[|\]$/g,""):e}`;if(r)r.querySelector("div").innerHTML+=`<br>${l}`;else{const c=document.createElement("div");c.id="xo-mobile-console",c.style.position="fixed",c.style.bottom="0",c.style.left="0",c.style.zIndex="9999",c.style.width="100%",c.style.maxHeight="200px",c.style.overflow="auto",c.style.background="rgba(0,0,0,0.8)",c.style.color="#ccc",c.style.fontSize="12px",c.style.fontFamily="monospace",c.style.padding="8px",c.style.wordBreak="break-word",s&&Object.keys(s).forEac
7h(h=>{c.style[h]=s[h]}),c.innerHTML=`<div>${l}</div>`,document.body.appendChild(c)}qe+=1,r&&(r.scrollTop=r.scrollHeight),console.log(...e)}else console.log(...e)}function Es(t,e){return Math.random()*(e-t)+t}function xs(t,e,s){return(1-s)*t+s*e}function ze(t,e,s,n){return xs(t,e,1-Math.exp(-s*n))}function ks(t={}){const{threshold:e=.01,initialValue:s=0}=t,n=new Set,o=new Set;let r=s,l=s,c=.08*60,h=!1;const f=({delta:m})=>{if(h)return;if(Math.abs(l-r)<e){o.forEach(y=>{try{y()}catch(w){console.error("Error in DampedValue complete callback:",w)}});return}const p=m/1e3;r=ze(r,l,c,p),n.forEach(y=>{try{y(r)}catch(w){console.error("Error in DampedValue update callback:",w)}})};return{setValue(m,g=!1){if(h){console.warn("Cannot setValue on destroyed DampedValue");return}l=m,g||(r=m),!j.has(f)&&g&&j.add(f,!0)},setLambda(m){if(h){console.warn("Cannot setLambda on destroyed DampedValue");return}c=m},getLambda(){return c},getValue(){return r},getTarget(){return l},onUpdate(m){return h?(console.warn("Cannot add onUpdate to destroyed DampedValue"),()=>{}):(n.add(m),()=>{n.delete(m)})},onComplete(m){return h?(console.warn("Cannot add onComplete to destroyed DampedValue"),()=>{}):(o.add(m),()=>{o.delete(m)})},stop(){j.remove(f)},destroy(){h||(h=!0,j.remove(f),n.clear(),o.clear())}}}const d=window;d.XotinyUtils=d.XotinyUtils||{},d.XotinyUtils.attrBoolean=E,d.XotinyUtils.clamp=X,d.XotinyUtils.cloneDeep=V,d.XotinyUtils.componentDefine=gt,d.XotinyUtils.createAnimate=yt,d.XotinyUtils.createCssInJs=bt,d.XotinyUtils.appendStyle=wt,d.XotinyUtils.hash=ke,d.XotinyUtils.createDebounce=St,d.
7XotinyUtils.debounce=vt,d.XotinyUtils.delay=de,d.XotinyUtils.DOMLoaded=Ee,d.XotinyUtils.easings=te,d.XotinyUtils.Emitter=xe,d.XotinyUtils.equal=fe,d.XotinyUtils.each=_,d.XotinyUtils.filter=ue,d.XotinyUtils.findIndex=$t,d.XotinyUtils.map=Me,d.XotinyUtils.reduce=Ue,d.XotinyUtils.frameManager=j,d.XotinyUtils.FrameManager=Ce,d.XotinyUtils.getAttrs=Te,d.XotinyUtils.imageUrl=Tt,d.XotinyUtils.interpolate=Lt,d.XotinyUtils.isMobile=Q,d.XotinyUtils.device=x,d.XotinyUtils.os=mt,d.XotinyUtils.namingConvention=q,d.XotinyUtils.objectKeys=H,d.XotinyUtils.objectParse=pe,d.XotinyUtils.objectValues=Dt,d.XotinyUtils.offset=Le,d.XotinyUtils.panGesture=Yt,d.XotinyUtils.popper=Ft,d.XotinyUtils.queryString=Ht,d.XotinyUtils.rubberBandClamp=jt,d.XotinyUtils.storage=se,d.XotinyUtils.throttle=zt,d.XotinyUtils.throwError=Nt,d.XotinyUtils.typeOf=v,d.XotinyUtils.XOStore=ne,d.XotinyUtils.getScrollbarWidth=Kt,d.XotinyUtils.getBreakpointsOptions=Gt,d.XotinyUtils.resizeAxis=Jt,d.XotinyUtils.loadStyle=Qt,d.XotinyUtils.loadScript=Zt,d.XotinyUtils.range=es,d.XotinyUtils.SVGPath=ts,d.XotinyUtils.inViewport=ss,d.XotinyUtils.wrapAroundRange=ns,d.XotinyUtils.customElements=cs,d.XotinyUtils.contextUpdate=rs,d.XotinyUtils.stateUpdate=os,d.XotinyUtils.XoComponent=P,d.XotinyUtils.XoHTMLDivElement=as,d.XotinyUtils.XoHTMLElement=ls,d.XotinyUtils.imagesLoaded=hs,d.XotinyUtils.sectionXoBuiderObserver=ds,d.XotinyUtils.isBot=ee,d.XotinyUtils.openPopover=us,d.XotinyUtils.closePopover=fs,d.XotinyUtils.popoverSupported=ge,d.XotinyUtils.isVimeo=We,d.XotinyUtils.isYoutube=Be,d.XotinyUtils.playVideo=gs,d.XotinyUtils.pauseVideo=ys,d.XotinyUtils.getShopifySectionId=bs,d.XotinyUtils.getRootRoute=ws,d.XotinyUtils.formatMoney=vs,d.XotinyUtils.requestIdleCallback=je,d.XotinyUtils.cancelIdleCallback=Ss,d.XotinyUtils.logger=$s,d.XotinyUtils.random=Es,d.XotinyUtils.damp=ze,d.XotinyUtils.createDampedValue=ks,d.XotinyUtils.createCache=_e,je(()=>{document.documentElement.setAttribute("xo-utils-version","1.0.0")});const i=window.XotinyUtils,ye=i==null?void 0:i.attrBoolean,Ne=i==null?void 0:i.clamp;i==null||i.cloneDeep,i==null||i.componentDefine,i==null||i.createAnimate,i==null||i.createCssInJs,i==null||i.appendStyle,i==null||i.hash;const Xs=i==null?void 0:i.createDebounce;i==null||i.debounce,i==null||i.delay,i==null||i.DOMLoaded,i==null||i.easings,i==null||i.Emitter,i==null||i.equal;const oe=i==null?void 0:i.each;i==null||i.filter,i==null||i.findIndex,i==null||i.map;const Ke=i==null?void 0:i.reduce;i==null||i.frameManager;const Ms=i==null?void 0:i.FrameManager;i==null||i.getAttrs,i==null||i.imageUrl;const z=i==null?void 0:i.interpolate;i==null||i.isMobile;const Ge=i==null?void 0:i.device,Us=i==null?void 0:i.os;i==null||i.namingConvention;const Je=i==null?void 0:i.objectKeys;i==null||i.objectParse,i==null||i.objectValues;const Qe=i==null?void 0:i.offset;i==null||i.panGesture,i==null||i.popper,i==null||i.queryString,i==null||i.rubberBandClamp,i==null||i.storage,i==null||i.throttle;const Os=i==null?void 0:i.throwError;i==null||i.typeOf,i==null||i.XOStore,i==null||i.getScrollbarWidth,i==null||i.getBreakpointsOptions,i==null||i.resizeAxis,i==null||i.loadStyle,i==null||i.loadScript,i==null||i.range;const Ze=i==null?void 0:i.SVGPath;i==null||i.inViewport,i==null||i.wrapAroundRange,i==null||i.customElements,i==null||i.contextUpdate,i==null||i.stateUpdate,i==null||i.XoComponent,i==null||i.XoHTMLDivElement,i==null||i.XoHTMLElement,i==null||i.imagesLoaded,i==null||i.sectionXoBuiderObserver;const Cs=i==null?void 0:i.isBot;i==null||i.openPopover,i==null||i.closePopover,i==null||i.popoverSupported,i==null||i.isVimeo,i==null||i.isYoutube,i==null||i.playVideo,i==null||i.pauseVideo,i==null||i.getShopifySectionId,i==null||i.getRootRoute,i==null||i.formatMoney;const et=i==null?void 0:i.requestIdleCallback,Ps=i==null?void 0:i.cancelIdleCallback;i==null||i.logger;const As=i==null?void 0:i.random,Is=i==null?void 0:i.damp,Ts=i==null?void 0:i.createDampedValue;i==null||i.createCache;const be=new Map,Ls=/\b(fetch|XMLHttpRequest|eval|Function|import|document\.cookie|localStorage|sessionStorage|window\.location|indexedDB|WebSocket|EventSource|navigator\.sendBeacon)\b/;function tt(t,e,s){if(!isNaN(Number(e)))return Number(e);if(Ls.test(e))return console.error(`Blocked unsafe expression: "${e}"`),0;if(!be.has(e)){const n=new Function("window","document","random","offset","container",`return ${e}`);be.set(e,n)}return be.get(e).apply(t,s)}const st=new Map;function Ds(t){const{outputRange:e,...s}=t;if(e.length<2)throw new Error("outputRange must have at least 2 dash values");const n=e.join("|||");let o=st.get(n);if(!o){o=e.map(h=>h==="none"||h===""?[]:h.trim().split(/[\s,]+/).filter(f=>f.trim()!=="").map(f=>parseFloat(f)));const c=o[0].length;for(let h=1;h<o.length;h++)if(o[h].length!==c)throw new Error("All dash values in outputRange must have the same number of values");st.set(n,o)}const r=o[0].length;if(r===0)return"none";const l=[];for(let c=0;c<r;c++){const h=o.map(m=>m[c]),f=z({...s,outputRange:h});l.push(f)}return l.join(" ")}function Vs(t){const{outputRange:e,...s}=t;if(e.length<2)throw new Error("outputRange must have at least 2 paths");const n=e.map(l=>Ze.toArray(l)),o=n[0].length;for(let l=1;l<n.length;l++){if(n[l].length!==o)throw new Error("All paths in outputRange must have the same number of segments");for(let c=0;c<o;c++){if(n[l][c].type!==n[0][c].type)throw new Error("All paths in outputRange must have the same segment types in the same order");if(n[l][c].values.length!==n[0][c].values.length)throw new Error("Corresponding segments must have the same number of values")}}const r=[];for(let l=0;l<o;l++){const c=n[0][l],h=[];for(let f=0;f<c.values.length;f++){const m=n.map(p=>p[l].values[f]),g=z({...s,outputRange:m});h.push(g)}r.push({type:c.type,values:h})}return Ze.toString(r)}const u="===empty===",re=0,ae=100,N=/(px|%|vh|vw|em|rem|pt|cm|mm|in|pc|ex|ch|vmin|vmax|lh|rlh|vb|vi|svw|svh|lvw|lvh|dvw|dvh|deg)$/g,nt="===split===",_s="xo-d-index",Ys="xo-stroke-dasharray-index",A=new Ms;class Rs{constructor(e,s,n){a(this,"el");a(this,"cloneEl");a(this,"options");a(this,"contextOptions");a(this,"currentValue");a(this,"targetValue");a(this,"seeked",!1);a(this,"videoEl");a(this,"controller",new AbortController);a(this,"ended",!1);a(this,"outputRangeNumber",new Map);a(this,"isReady",!1);a(this,"propCache",new Map);
7a(this,"cachedInputRange",null);a(this,"resizeObserver",null);a(this,"values",{x:u,y:u,rotate:u,rotateX:u,rotateY:u,scale:u,scaleX:u,scaleY:u,skew:u,skewX:u,skewY:u,opacity:u,borderRadius:u,width:u,height:u,brightness:u,contrast:u,hueRotate:u,blur:u,grayscale:u,backgroundPositionY:u,backgroundSizeX:u,backgroundSizeY:u,fontSize:u,d:u,strokeDasharray:u,in1:u,in2:u,in3:u,in4:u,videoTime:u,groupImg:u,color:u});a(this,"handleVisibilityChange",()=>{document.visibilityState==="hidden"&&(A.remove(this.handleFrameUpdate).remove(this.handleFrameRender),this.isReady=!1)});a(this,"clearCache",()=>{this.outputRangeNumber.clear(),this.propCache.clear(),this.cachedInputRange=null});a(this,"random",e=>(s,n)=>(this[`_xoRandomValue${e}`]==null&&(this[`_xoRandomValue${e}`]=As(s,n)),this[`_xoRandomValue${e}`]));a(this,"findKeyframeIndex",(e,s)=>{const n=[...s].sort((r,l)=>r-l);let o=n.indexOf(n[0]);for(const r of n)if(e>=r)o=n.indexOf(r);else break;return o});a(this,"setValues",e=>{this.values.x=this.interpolate(e,"x"),this.values.y=this.interpolate(e,"y"),this.values.rotate=this.interpolate(e,"rotate"),this.values.rotateX=this.interpolate(e,"rotateX"),this.values.rotateY=this.interpolate(e,"rotateY"),this.values.scale=this.interpolate(e,"scale"),this.values.scaleX=this.interpolate(e,"scaleX"),this.values.scaleY=this.interpolate(e,"scaleY"),this.values.skew=this.interpolate(e,"skew"),this.values.skewX=this.interpolate(e,"skewX"),this.values.skewY=this.interpolate(e,"skewY"),this.values.opacity=this.interpolate(e,"opacity"),this.values.borderRadius=this.interpolate(e,"borderRadius"),this.values.width=this.interpolate(e,"width"),this.values.height=this.interpolate(e,"height"),this.values.brightness=this.interpolate(e,"brightness"),this.values.contrast=this.interpolate(e,"contrast"),this.values.hueRotate=this.interpolate(e,"hueRotate"),this.values.blur=this.interpolate(e,"blur"),this.values.grayscale=this.interpolate(e,"grayscale"),this.values.backgroundPositionY=this.interpolate(e,"backgroundPositionY"),this.values.backgroundSizeX=this.interpolate(e,"backgroundSizeX"),this.values.backgroundSizeY=this.interpolate(e,"backgroundSizeY"),this.values.fontSize=this.interpolate(e,"fontSize"),this.values.in1=this.interpolate(e,"in1"),this.values.in2=this.interpolate(e,"in2"),this.values.in3=this.interpolate(e,"in3"),this.values.in4=this.interpolate(e,"in4"),this.values.videoTime=this.interpolate(e,"videoTime"),this.values.groupImg=this.interpolate(e,"groupImg"),this.values.color=this.interpolate(e,"color"),this.values.d=this.interpolateSVG(e,"d"),this.values.strokeDasharray=this.interpolateSVG(e,"strokeDasharray")});a(this,"handleFrameUpdate",({delta:e})=>{const{lerpEase:s}=this.contextOptions;if(Math.abs(this.targetValue-this.currentValue)<.01){(this.targetValue===re||this.targetValue===ae)&&(A.remove(this.handleFrameUpdate).remove(this.handleFrameRender),this.ended||(this.el.dispatchEvent(new CustomEvent("xo:parallax:end",{bubbles:!0})),this.ended=!0,this.outputRangeNumber.clear()));return}const o=e/1e3,r=s*60;this.currentValue=Is(this.currentValue,this.targetValue,r,o),this.setValues(this.currentValue)});a(this,"handleFrameRender",()=>{this.setStyles(this.el,this.currentValue)});a(this,"getValue",()=>{const e=window.scrollY,s=this.getFrom(),n=this.getTo(),o=e-s,r=n-s;return Ne(o/r*100,re,ae)});a(this,"destroy",()=>{var e;if(this.el){const{style:s}=this.cloneEl;this.el.removeAttribute("style"),oe(Array.from(s),n=>{const o=s[n];this.el.style[n]=o}),A.remove(this.handleFrameUpdate).remove(this.handleFrameRender),this.controller.abort()}this.isReady=!1,(e=this.resizeObserver)==null||e.disconnect(),this.resizeObserver=null,document.removeEventListener("visibilitychange",this.handleVisibilityChange)});a(this,"setDefaultStyles",()=>{if(this.isReady)return;this.isReady=!0;const e=this.getValue();e>=re&&e<=ae&&(this.targetValue=e,this.setValues(e),this.setStyles(this.el,e))});a(this,"handleVideo",()=>{var s;if(!(!this.videoEl||this.getKeyframesByProp("videoTime").length<=0)&&(this.videoEl.muted=!0,this.videoEl.preload="auto",(s=this.videoEl)!=null&&s.src))try{fetch(this.videoEl.src)}catch{}});a(this,"ready",()=>{this.handleVideo(),document.addEventListener("visibilitychange",this.handleVisibilityChange)});a(this,"getElement",()=>this.el);var o;this.el=e,this.videoEl=e.querySelector("video"),this.cloneEl=this.el.cloneNode(),this.options=s,this.contextOptions=n,this.currentValue=0,this.targetValue=0,this.isFirefox()&&((o=this.videoEl)==null||o.addEventListener("seeked",()=>{this.seeked=!0},{signal:this.controller.signal}),this.videoEl&&(this.videoEl.currentTime=.001)),this.resizeObserver=new ResizeObserver(()=>{this.clearCache()}),this.resizeObserver.observe(this.el),this.contextOptions.root&&this.resizeObserver.observe(this.contextOptions.root)}isFirefox(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1}getInputRange(){if(this.cachedInputRange)return this.cachedInputRange;const{keyframes:e}=this.options;return this.cachedInputRange=Ke(Je(e),(s,n)=>{const o=Number(n.replace("%",""));return isNaN(o)?s:[...s,o]},[]).sort((s,n)=>s-n),this.cachedInputRange}getKeyframesByProp(e){const{keyframes:s}=this.options,n=this.getInputRange();Math.max(...n)>100&&Os("Max value of input range must be less than 100%");let o=null;return Ke(n,(r,l)=>{const c=`${l}%`,h=s[c][e];return h!=null&&(Array.isArray(h)?r.push(h.join(nt)):r.push(String(h))),o=r[r.length-1],h==null&&o!=null&&r.push(o),r},[])}getPropData(e){var s;if(!this.propCache.has(e)){const n=this.getKeyframesByProp(e),o=n.length>0&&((s=String(n[0]).match(N))==null?void 0:s[0])||"";this.propCache.set(e,{inputRange:this.getInputRange(),outputRange:n,unit:o})}return this.propCache.get(e)}getDefaultUnit(e){switch(e){case"x":case"y":case"width":case"height":case"backgroundPositionY":case"blur":case"borderRadius":return"px";case"rotate":case"rotateX":case"rotateY":case"skew":case"skewX":case"skewY":case"hueRotate":return"deg";case"backgroundSizeX":case"backgroundSizeY":case"grayscale":return"%";case"scale":case"scaleX":case"scaleY":case"opacity":case"videoTime":case"brightness":case"contrast":default:return""}}evaluate(e,s){return tt(this.el,e,[window,document,this.random(s),Qe,this.contextOptions.root])}interpolateSVG(e,s){const{outputRange:n}=this.getPropData(s);if(n.length===0)return u;let o=[];
7return n.forEach((r,l)=>r.split(nt).forEach((h,f)=>{o[f]||(o[f]=[]),o[f][l]=h})),s==="strokeDasharray"?o.map(l=>Ds({value:e,inputRange:this.getInputRange(),outputRange:l,extrapolate:"clamp"})):s==="d"?o.map(l=>Vs({value:e,inputRange:this.getInputRange(),outputRange:l,extrapolate:"clamp"})):u}interpolate(e,s){var h;const{outputRange:n,unit:o,inputRange:r}=this.getPropData(s);if(n.length===0)return u;this.outputRangeNumber.has(s)||this.outputRangeNumber.set(s,n.map(f=>this.evaluate(String(f).replace(N,""),s)));const l=(h=this.outputRangeNumber.get(s))!=null?h:n.map(f=>this.evaluate(String(f).replace(N,""),s));return`${s==="color"||this.contextOptions.stepMode?l[this.findKeyframeIndex(e,r)]:z({value:e,inputRange:r,outputRange:l,extrapolate:"clamp"})}${o||this.getDefaultUnit(s)}`}setStyles(e,s){const{setStyles:n}=this.contextOptions,{x:o,y:r,rotate:l,rotateX:c,rotateY:h,scale:f,scaleX:m,scaleY:g,skew:p,skewX:y,skewY:w,opacity:S,borderRadius:Y,width:he,height:R,brightness:F,contrast:B,hueRotate:M,blur:U,grayscale:L,backgroundPositionY:W,backgroundSizeX:O,backgroundSizeY:I,fontSize:$e,d:G,strokeDasharray:C,in1:k,in2:rt,in3:at,in4:lt,videoTime:ct,groupImg:ht,color:dt}=this.values;let $="";if(W===u&&($+=`translate3d(${o===u?0:o}, ${r===u?0:r}, 0) `),l!==u&&($+=`rotate(${l}) `),c!==u&&($+=`rotateX(${c}) `),h!==u&&($+=`rotateY(${h}) `),f!==u&&($+=`scale(${f}) `),m!==u&&($+=`scaleX(${m}) `),g!==u&&($+=`scaleY(${g}) `),p!==u&&($+=`skew(${p}) `),y!==u&&($+=`skewX(${y}) `),w!==u&&($+=`skewY(${w}) `),$&&(e.style.transform=$),he!==u&&(e.style.width=`${he}`),R!==u&&(e.style.height=`${R}`),S!==u&&(e.style.opacity=`${S}`),Y!==u&&(e.style.borderRadius=`${Y}`),!Ge.mobile()){let b="";F!==u&&(b+=`brightness(${F}) `),B!==u&&(b+=`contrast(${B}) `),M!==u&&(b+=`hue-rotate(${M}) `),U!==u&&(b+=`blur(${U}) `),L!==u&&(b+=`grayscale(${L}) `),b&&(e.style.filter=b)}if(G!==u&&oe(G,(b,J)=>{const D=this.el.querySelector(`path[${_s}="${J}"]`);D&&D.setAttribute("d",b)}),C!==u&&oe(C,(b,J)=>{const D=this.el.querySelector(`path[${Ys}="${J}"]`);D&&D.setAttribute("stroke-dasharray",b)}),k!==u&&e.style.setProperty("--in1",k),rt!==u&&e.style.setProperty("--in2",rt),at!==u&&e.style.setProperty("--in3",at),lt!==u&&e.style.setProperty("--in4",lt),W!==u&&(e.style.backgroundSize="cover",e.style.backgroundPosition="center",Us.ios()?e.style.backgroundPosition=`50% calc(${W} * -1)`:(e.style.backgroundAttachment="fixed",e.style.backgroundPosition=`50% ${W}`)),O!==u&&I===u&&(e.style.backgroundSize=`${O} 100%`),O===u&&I!==u&&(e.style.backgroundSize=`100% ${I}`),O!==u&&I!==u&&(e.style.backgroundSize=`${O} ${I}`),$e!==u&&(e.style.fontSize=`${$e}`),dt!==u&&(e.style.color=`${dt}`),ct!==u&&this.videoEl&&this.videoEl.duration&&(()=>{if(this.isFirefox()){if(!this.seeked)return;this.seeked=!1}const b=z({value:Number(ct.replace(N,"")),inputRange:[0,100],outputRange:[0,this.videoEl.duration]});this.videoEl.currentTime=b})(),ht!==u){window.getComputedStyle(e).position==="static"&&(e.style.position="relative");const b=Array.from(e.querySelectorAll("img")),J=Math.floor(z({value:Number(ht.replace(N,"")),inputRange:[0,100],outputRange:[0,b.length-1]}));oe(b,(D,zs)=>{D.style.opacity=zs===J?"1":"0"})}n&&n({element:e,createValue:b=>this.interpolate(s,b),EMPTY:u})}handleParallax(){const e=this.getValue();e>=re&&e<=ae?(this.targetValue=e,this.ended=!1,A.has(this.handleFrameUpdate)||A.add(this.handleFrameUpdate,!0),A.has(this.handleFrameRender)||A.add(this.handleFrameRender,!0)):A.remove(this.handleFrameUpdate).remove(this.handleFrameRender)}getFrom(){const{from:e}=this.options;return typeof e=="function"?e():e}getTo(){const{to:e}=this.options;return typeof e=="function"?e():e}init(){this.setDefaultStyles(),this.handleParallax()}}const ve=class{constructor(e){a(this,"options");a(this,"items");a(this,"debounce",Xs());a(this,"ricId",-1);a(this,"handlerScroll",()=>{for(const e of this.items)e.init()});a(this,"handlerScrollDebounce",this.debounce(this.handlerScroll,100));a(this,"add",(e,s)=>{const n={...s,keyframes:Je(s.keyframes).reduce((r,l)=>{const h=isNaN(Number(l.replace("%","")))?`${tt(e,l.replace("%",""),[window,document,Qe])}%`:l;return{...r,[h]:s.keyframes[l]}},{})},o=new Rs(e,n,this.options);return o.ready(),this.items.push(o),this});a(this,"remove",e=>{const s=this.items.find(n=>n.getElement()===e);this.items=this.items.filter(n=>n.getElement()!==e),s&&s.destroy()});a(this,"run",()=>{const{targetElement:e}=this.options;this.ricId=et(()=>{this.handlerScrollDebounce()}),e.removeEventListener("scroll",this.handlerScroll),e.addEventListener("scroll",this.handlerScroll,{passive:!0})});a(this,"destroy",()=>{const{targetElement:e}=this.options;e.removeEventListener("scroll",this.handlerScroll);for(const s of this.items)s.destroy();Ps(this.ricId)});this.options={...ve.defaultOptions,...e},this.items=[]}};let K=ve;a(K,"defaultOptions",{root:null,targetElement:window,setStyles:void 0,lerpEase:.08,stepMode:!1});const Fs=(t,e,s)=>t+(e-t)*s;function it(t={}){return new K(t)}window.xoParallaxScroll=it;const Bs=/\/(checkout|cart)/g,le=t=>{const e=new URL(t);return e.origin===location.origin&&["http:","https:"].includes(e.protocol)&&!(e.protocol==="http:"&&location.protocol==="https:")&&!(e.hash&&e.pathname+e.search===location.pathname+location.search)},ot=t=>{document.body.classList.add("xo-navigate-smooth"),window.location.href=t},Ws=t=>!!t.closest("a[href]"),Se=class{constructor(e){a(this,"linksLoaded",new Set);a(this,"domparser",new DOMParser);a(this,"pages",new Map);a(this,"controllers",new Map);a(this,"options");a(this,"lastTouchTimestamp",0);a(this,"timeId",-1);a(this,"getHtml",async e=>{const{use:s}=this.options,{href:n}=e;if(!this.linksLoaded.has(n)){this.linksLoaded.add(n),this.controllers.set(n,new AbortController);const{signal:o}=this.controllers.get(n);if(!this.pages.has(n))if(s==="SSR"){const r=document.createElement("link");r.rel="prefetch",r.href=n,r.fetchPriority="high",r.as="document",ye.set(r,"xo-prefetch",!0),r.onload=()=>{ye.set(e,"xo-prefetched",!0)},document.head.appendChild(r)}else try{const l=await(await fetch(n,{signal:o})).text(),c=this.domparser.parseFromString(l,"text/html");this.pages.set(n,c)}catch{this.linksLoaded.delete(n)}}});a(this,"cancelRequest",e=>{const{use:s}=this.options;
7if(this.controllers.has(e)){if(s==="SSR"){const n=document.querySelector(`link[xo-prefetch][href="${e}"]`);n&&n.remove()}else this.controllers.get(e).abort();this.linksLoaded.delete(e)}});a(this,"navigate",e=>{if(Bs.test(e))ot(e);else if(le(e)){const{root:s}=this.options;if(this.pages.has(e)&&s){const n=`#${s.id}`,o=this.pages.get(e).querySelector(n);o&&(s.innerHTML=o.innerHTML,window.history.pushState(null,"",e),window.scrollTo(0,0),this.update())}else ot(e)}});a(this,"handleWindowClick",async e=>{const{use:s}=this.options,n=e.target.closest("a");!n||s==="CSR"&&Ws(n)&&(e.preventDefault(),this.navigate(n.href))});a(this,"handleMouseOver",e=>{if(performance.now()-this.lastTouchTimestamp<1100)return;const s=e.target.closest("a");s&&le(s.href)&&(this.timeId=window.setTimeout(()=>{this.timeId=-1,this.getHtml(s)},80))});a(this,"handleTouchStart",e=>{this.lastTouchTimestamp=Date.now();const s=e.target.closest("a");s&&le(s.href)&&(s.addEventListener("touchcancel",this.handleCancel,{passive:!0}),s.addEventListener("touchend",this.handleCancel,{passive:!0}),this.getHtml(s))});a(this,"handleCancel",e=>{const s=e.target.closest("a");s&&le(s.href)&&!ye.get(s,"xo-prefetched")&&(this.timeId!==-1?(clearTimeout(this.timeId),this.timeId=-1):this.cancelRequest(s.href))});a(this,"handlePopState",async e=>{const{use:s}=this.options;s==="CSR"&&(e.preventDefault(),this.navigate(window.location.href))});a(this,"update",()=>{this.destroy(),this.init()});a(this,"init",()=>{window.Shopify.designMode||(document.body.classList.contains("xo-navigate-smooth")||document.body.classList.add("xo-using-page-speed"),document.addEventListener("mouseover",this.handleMouseOver,{capture:!0,passive:!0}),document.addEventListener("mouseout",this.handleCancel,{passive:!0}),document.addEventListener("touchstart",this.handleTouchStart,{capture:!0,passive:!0}),window.addEventListener("click",this.handleWindowClick),window.addEventListener("popstate",this.handlePopState))});a(this,"destroy",()=>{clearTimeout(this.timeId),document.removeEventListener("mouseover",this.handleMouseOver),document.removeEventListener("mouseout",this.handleCancel),document.removeEventListener("touchstart",this.handleTouchStart),window.removeEventListener("click",this.handleWindowClick),window.removeEventListener("popstate",this.handlePopState)});this.options={...Se.defaultOptions,...e},this.init()}};let ce=Se;a(ce,"defaultOptions",{root:document.querySelector("#xo-main-content")||document.body,use:"SSR"});function Hs(t){return new ce(t)}class js{constructor(e={}){a(this,"targetScrollY",0);a(this,"startScrollY",!1);a(this,"isWindowScrolling",!1);a(this,"isReady",!1);a(this,"options");a(this,"damped",Ts());a(this,"isScrollableElement",e=>{const s=window.getComputedStyle(e);return(s.overflowY==="scroll"||s.overflowY==="auto"||s.overflow==="scroll"||s.overflow==="auto")&&e.scrollHeight>e.clientHeight});a(this,"hasScrollableParent",e=>!e||e===document.body||e===document.documentElement?!1:this.isScrollableElement(e)?!0:this.hasScrollableParent(e.parentElement));a(this,"handleWheel",e=>{const s=e.target;!this.isWindowScrolling&&this.hasScrollableParent(s)||window.getComputedStyle(document.body).overflowY!=="hidden"&&(e.preventDefault(),this.startScrollY||(this.targetScrollY=window.scrollY,this.damped.setValue(window.scrollY),this.startScrollY=!0),this.targetScrollY+=e.deltaY*this.options.speed,this.targetScrollY=Ne(this.targetScrollY,0,document.body.offsetHeight-window.innerHeight),this.damped.setValue(this.targetScrollY,!0))});a(this,"handleMouseUp",()=>{this.targetScrollY=window.scrollY,this.damped.setValue(window.scrollY),this.startScrollY=!1});a(this,"handleScroll",()=>{this.isWindowScrolling=!0});a(this,"handleVisibilityChange",()=>{document.visibilityState==="visible"?this.init():this.destroy()});this.options={lerp:.1,platform:"all",speed:1,...e},this.init(),document.addEventListener("visibilitychange",this.handleVisibilityChange)}isMac(){return navigator.userAgent.includes("Macintosh")}init(){if(Cs()||Ge.mobile())return;const{platform:e,lerp:s}=this.options;e==="mac"&&!this.isMac()||e==="win"&&this.isMac()||this.isReady||(this.isReady=!0,this.damped.setLambda(s*60),this.damped.onUpdate(n=>{window.scrollTo({top:n,behavior:"instant"})}),this.damped.onComplete(()=>{this.damped.stop(),this.targetScrollY=window.scrollY,this.damped.setValue(window.scrollY),this.isWindowScrolling=!1,this.startScrollY=!1}),this.damped.setValue(window.scrollY),this.targetScrollY=window.scrollY,window.addEventListener("wheel",this.handleWheel,{passive:!1}),window.addEventListener("mouseup",this.handleMouseUp,!1),window.addEventListener("scroll",this.handleScroll,{passive:!0}))}destroy(){window.removeEventListener("wheel",this.handleWheel),window.removeEventListener("mouseup",this.handleMouseUp),window.removeEventListener("scroll",this.handleScroll),this.isReady=!1,this.damped.stop()}}function qs(t={}){return new js(t)}const T=window;T.XotinyPlugins=T.XotinyPlugins||{},T.XotinyPlugins.parallaxScroll=it,T.XotinyPlugins.ParallaxScroll=K,T.XotinyPlugins.lerp=Fs,T.XotinyPlugins.pageSpeed=Hs,T.XotinyPlugins.desktopSmoothScroll=qs,et(()=>{document.documentElement.setAttribute("xo-plugins-version","1.0.0")})})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.