!function(){"use strict";class t{t;o=0;i=[];u(t){if(t.hadRecentInput)return;const e=this.i[0],n=this.i.at(-1);this.o&&e&&n&&t.startTime-n.startTime<1e3&&t.startTime-e.startTime<5e3?(this.o+=t.value,this.i.push(t)):(this.o=t.value,this.i=[t]),this.t?.(t)}}const e=()=>{const t=performance.getEntriesByType("navigation")[0];if(t&&t.responseStart>0&&t.responseStart{if("loading"===document.readyState)return"loading";{const n=e();if(n){if(t{const e=t.nodeName;return 1===t.nodeType?e.toLowerCase():e.toUpperCase().replace(/^#/,"")},i=t=>{let e="";try{for(;9!==t?.nodeType;){const n=t,i=n.id?"#"+n.id:[r(n),...Array.from(n.classList).sort()].join(".");if(e.length+i.length>99)return e||i;if(e=e?i+">"+e:i,n.id)break;t=n.parentNode}}catch{}return e},o=new WeakMap;function s(t,e){return o.get(t)||o.set(t,new e),o.get(t)}let a=-1;const c=()=>a,u=t=>{addEventListener("pageshow",e=>{e.persisted&&(a=e.timeStamp,t(e))},!0)},d=(t,e,n,r)=>{let i,o;return s=>{e.value>=0&&(s||r)&&(o=e.value-(i??0),(o||void 0===i)&&(i=e.value,e.delta=o,e.rating=((t,e)=>t>e[1]?"poor":t>e[0]?"needs-improvement":"good")(e.value,n),t(e)))}},l=t=>{requestAnimationFrame(()=>requestAnimationFrame(()=>t()))},h=()=>{const t=e();return t?.activationStart??0},m=(t,n=-1)=>{const r=e();let i="navigate";return c()>=0?i="back-forward-cache":r&&(document.prerendering||h()>0?i="prerender":document.wasDiscarded?i="restore":r.type&&(i=r.type.replace(/_/g,"-"))),{name:t,value:n,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:i}},f=(t,e,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(t)){const r=new PerformanceObserver(t=>{Promise.resolve().then(()=>{e(t.getEntries())})});return r.observe({type:t,buffered:!0,...n}),r}}catch{}},p=t=>{let e=!1;return()=>{e||(t(),e=!0)}};let g=-1;const v=new Set,y=()=>"hidden"!==document.visibilityState||document.prerendering?1/0:0,w=t=>{if("hidden"===document.visibilityState){if("visibilitychange"===t.type)for(const t of v)t();isFinite(g)||(g="visibilitychange"===t.type?t.timeStamp:0,removeEventListener("prerenderingchange",w,!0))}},C=()=>{if(g<0){const t=h(),e=document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(e=>"hidden"===e.name&&e.startTime>t)[0]?.startTime;g=e??y(),addEventListener("visibilitychange",w,!0),addEventListener("prerenderingchange",w,!0),u(()=>{setTimeout(()=>{g=y()})})}return{get firstHiddenTime(){return g},onHidden(t){v.add(t)}}},b=t=>{document.prerendering?addEventListener("prerenderingchange",()=>t(),!0):t()},S=[1800,3e3],x=(t,e={})=>{b(()=>{const n=C();let r,i=m("FCP");const o=f("paint",t=>{for(const e of t)"first-contentful-paint"===e.name&&(o.disconnect(),e.startTime{i=m("FCP"),r=d(t,i,S,e.reportAllChanges),l(()=>{i.value=performance.now()-n.timeStamp,r(!0)})}))})},B=[.1,.25],D=t=>t.find(t=>1===t.node?.nodeType)||t[0];let T=0,_=1/0,L=0;const M=t=>{for(const e of t)e.interactionId&&(_=Math.min(_,e.interactionId),L=Math.max(L,e.interactionId),T=L?(L-_)/7+1:0)};let z;const A=()=>z?T:performance.interactionCount??0;let P=0;class I{l=[];h=new Map;m;p;v(){P=A(),this.l.length=0,this.h.clear()}M(){const t=Math.min(this.l.length-1,Math.floor((A()-P)/50));return this.l[t]}u(t){if(this.m?.(t),!t.interactionId&&"first-input"!==t.entryType)return;const e=this.l.at(-1);let n=this.h.get(t.interactionId);if(n||this.l.length<10||t.duration>e.T){if(n?t.duration>n.T?(n.entries=[t],n.T=t.duration):t.duration===n.T&&t.startTime===n.entries[0].startTime&&n.entries.push(t):(n={id:t.interactionId,entries:[t],T:t.duration},this.h.set(n.id,n),this.l.push(n)),this.l.sort((t,e)=>e.T-t.T),this.l.length>10){const t=this.l.splice(10);for(const e of t)this.h.delete(e.id)}this.p?.(n)}}}const N=t=>{const e=globalThis.requestIdleCallback||setTimeout;"hidden"===document.visibilityState?t():(t=p(t),addEventListener("visibilitychange",t,{once:!0,capture:!0}),e(()=>{t(),removeEventListener("visibilitychange",t,{capture:!0})}))},E=[200,500];class q{m;u(t){this.m?.(t)}}const j=[2500,4e3],k=[800,1800],H=t=>{document.prerendering?b(()=>H(t)):"complete"!==document.readyState?addEventListener("load",()=>H(t),!0):setTimeout(t)},U="",O="1",Z="0",K="p",W="a",F="m",R="t",J="m",V="a",X="p",Y="s";function G(t){try{return decodeURIComponent(t)}catch(t){return""}}function $(t,e=!1){const n=function(){try{return document.cookie}catch{return!1}}()?document.cookie.split("; "):[];for(let e=0;et);if(r)try{sessionStorage.setItem("consentHeader",r)}catch{}return r}let nt;function rt(){var t,e;const n=null===(t=performance)||void 0===t||null===(e=t.getEntriesByType)||void 0===e?void 0:e.call(t,"resource");let r=nt;for(let t=n.length-1;t>=0;t--){let e=it(n[t]);if(e){r=e;break}}return nt=r,r}function it(t){var e,n;if(t)return null===(e=t.serverTiming)||void 0===e||null===(n=e.find(t=>"_cmp"==t.name))||void 0===n?void 0:n.description}const ot=window;function st(){const t=function(){var t,e;const n=null===(t=window.Shopify)||void 0===t||null===(e=t.customerPrivacy)||void 0===e?void 0:e.cachedConsent;return n?G(n):void 0}()||new URLSearchParams(window.location.search).get("_cs")||void 0||$("_tracking_consent")||Q();if(void 0!==t)return function(t){if("%"==t.slice(0,1))try{t=decodeURIComponent(t)}catch{}const e=t.slice(0,1);if("{"==e)return function(t){var e;let n;try{n=JSON.parse(t)}catch{return}if("2.1"!==n.v)return;if(null===(e=n.con)||void 0===e||!e.CMP)return;return n}(t);if("3"==e)return function(t){const e=t.slice(1).split("_"),[n,r,i,o,s]=e;let a,c;try{a=e[5]?JSON.parse(e.slice(5).join("_")):void 0}catch{}if(s){const t=s.replace(/\*/g,"/").replace(/-/g,"+"),e=Array.from(atob(t)).map(t=>t.charCodeAt(0).toString(16).padStart(2,"0")).join("");c=[8,13,18,23].reduce((t,e)=>t.slice(0,e)+"-"+t.slice(e),e)}function u(t){const e=n.split(".")[0];return e.includes(t.toLowerCase())?Z:e.includes(t.toUpperCase())?O:U}function d(t){return n.includes(t.replace("t","s").toUpperCase())}return{v:"3",con:{CMP:{[V]:u(V),[X]:u(X),[J]:u(J),[Y]:u(Y)}},region:r||"",cus:a,purposes:{[W]:d(W),[K]:d(K),[F]:d(F),[R]:d(R)},sale_of_data_region:"t"==o,display_banner:"t"==i,consent_id:c}}(t);return}(t)}function at(){return function(t){const e=st();if(!e||!e.purposes)return!0;const n=e.purposes[t];return"boolean"!=typeof n||n}(W)}function ct(t,e){let n,r;try{var i,o,s,a;n=null===(i=performance)||void 0===i||null===(o=i.getEntriesByType("navigation")[0])||void 0===o||null===(s=o.serverTiming)||void 0===s||null===(a=s.find(t=>t.name==e))||void 0===a?void 0:a.description}catch{n=void 0}try{var c,u,d,l;r=null===(c=document.cookie)||void 0===c||null===(u=c.split(";"))||void 0===u||null===(d=u.find(e=>e.includes(t)))||void 0===d||null===(l=d.split("=")[1])||void 0===l?void 0:l.trim()}catch{r=void 0}return n||r}function ut(){return ct("_shopify_y","_y")}function dt(){return ct("_shopify_s","_s")}function lt(){return at()}function ht(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var mt=0;function ft(t){return"__private_"+mt+++"_"+t}function pt(t){return Object.entries(t).map(([t,e])=>({key:t,value:{stringValue:String(e)}}))}function gt(t){if(Array.isArray(t))return{arrayValue:{values:t.map(t=>gt(t))}};switch(typeof t){case"boolean":return{boolValue:Boolean(t)};case"number":return{doubleValue:Number(t)};default:return{stringValue:String(t)}}}const vt=function(t,e,n){const r=[0];for(let i=0;i{t.attributes={...ht(this,wt)[wt],...t.attributes}});const t=ht(this,Ct)[Ct];ht(this,Ct)[Ct]=[],await this.exportByKeepalive(t,(t,e)=>ht(this,yt)[yt].exportMetrics(this.aggregateMetrics(t),e))}async exportLogs(){const t=ht(this,bt)[bt];ht(this,bt)[bt]=[],await this.exportByKeepalive(t,(t,e)=>ht(this,yt)[yt].exportLogs(this.formatLogs(t),e))}aggregateMetrics(t){const e={};return t.forEach(t=>{switch(t.type){case"histogram":!function(t,e){var n;const{name:r,value:i,unit:o,timeUnixNano:s,attributes:a}=e,c=null!==(n=e.bounds)&&void 0!==n?n:vt,u=new Array(c.length+1).fill(0);t[r]||={name:r,unit:o||"1",histogram:{aggregationTemporality:1,dataPoints:[]}};for(let t=0;t0?l:0,bucketCounts:r>0?[1]:[]};t[n].exponentialHistogram.dataPoints.push({attributes:pt(null!=s?s:{}),startTimeUnixNano:o,timeUnixNano:o,count:1,sum:c,scale:u,zeroCount:h,positive:f,negative:m,min:c,max:c,zeroThreshold:0})}(e,t);break;case"counter":!function(t,e){const{name:n,value:r,unit:i,timeUnixNano:o,attributes:s}=e;t[n]||={name:n,unit:i||"1",sum:{aggregationTemporality:1,isMonotonic:!0,dataPoints:[]}},t[n].sum.dataPoints.push({startTimeUnixNano:o,timeUnixNano:o,asDouble:r,attributes:pt(null!=s?s:{})})}(e,t);break;case"gauge":!function(t,e){const{name:n,value:r,unit:i,timeUnixNano:o,attributes:s}=e;t[n]||={name:n,unit:i||"1",gauge:{dataPoints:[]}},t[n].gauge.dataPoints.push({startTimeUnixNano:o,timeUnixNano:o,asDouble:r,attributes:pt(null!=s?s:{})})}(e,t)}}),Object.values(e)}async exportByKeepalive(t,e){if(0===t.length)return;const n=[],r=[];t.forEach(t=>{var e;null===(e=t.requiresKeepalive)||void 0===e||e?n.push(t):r.push(t)});const i=[n.length>0?e(n,{keepalive:!0}):void 0,r.length>0?e(r,{keepalive:!1}):void 0].filter(t=>void 0!==t);await Promise.all(i)}formatLogs(t){return t.map(t=>{const e={timeUnixNano:t.timeUnixNano,observedTimeUnixNano:t.timeUnixNano,attributes:(n={...ht(this,wt)[wt],...t.attributes},Object.entries(n).map(([t,e])=>({key:t,value:gt(e)})))};var n;return t.body&&(e.body={stringValue:t.body}),e})}}var xt=ft("url"),Bt=ft("serviceName"),Dt=ft("logger"),Tt=ft("fetchFn"),_t=ft("maxPayloadSizeBytes");class Lt{constructor(t,e,n){var r;Object.defineProperty(this,xt,{writable:!0,value:void 0}),Object.defineProperty(this,Bt,{writable:!0,value:void 0}),Object.defineProperty(this,Dt,{writable:!0,value:void 0}),Object.defineProperty(this,Tt,{writable:!0,value:void 0}),Object.defineProperty(this,_t,{writable:!0,value:void 0}),ht(this,xt)[xt]=t.replace(/\/v1\/(logs|metrics|traces)\/?$/,""),ht(this,Bt)[Bt]=e,ht(this,Dt)[Dt]=null==n?void 0:n.logger,ht(this,Tt)[Tt]=null==n?void 0:n.fetchFn,ht(this,_t)[_t]=null!==(r=null==n?void 0:n.maxPayloadSizeBytes)&&void 0!==r?r:51200}async exportMetrics(t,e){var n;const r=null===(n=null==e?void 0:e.keepalive)||void 0===n||n;await this.exportBatches("/v1/metrics",[...t],t=>({resourceMetrics:[{resource:{attributes:[{key:"service.name",value:{stringValue:ht(this,Bt)[Bt]}}]},scopeMetrics:[{scope:{name:"open-telemetry-mini-client",version:"1.1.0",attributes:[]},metrics:t}]}]}),r)}async exportLogs(t,e){var n;const r=null===(n=null==e?void 0:e.keepalive)||void 0===n||n;await this.exportBatches("/v1/logs",[...t],t=>({resourceLogs:[{resource:{attributes:[{key:"service.name",value:{stringValue:ht(this,Bt)[Bt]}}]},scopeLogs:[{scope:{name:"open-telemetry-mini-client",version:"1.1.0",attributes:[]},logRecords:t}]}]}),r)}async exportTo(t,e,n){var r;const i=JSON.stringify(t),o=(new TextEncoder).encode(i).length;if(o>ht(this,_t)[_t])throw new zt(`Payload size ${o} exceeds ${ht(this,_t)[_t]} bytes`);const s=await this.exporterFetch()(`${ht(this,xt)[xt]}${e}`,{method:"POST",keepalive:n,headers:{"Content-Type":"application/json"},body:i});if(null===(r=ht(this,Dt)[Dt])||void 0===r||r.log({status:s.status}),!s.ok){if(400===s.status){const t=await s.text();throw new Mt(`Invalid OpenTelemetry Data: ${t}`)}if(429===s.status||503===s.status){const e=await s.text(),n=s.headers.get("Retry-After"),r=n?{seconds:Number(n)}:void 0;throw new Mt("Server did not accept data",{errorData:e,retryAfter:r,body:t})}if(401===s.status||403===s.status){const e=await s.text();throw new At(`Authentication failed: ${s.status} ${401===s.status?"Unauthorized":"Forbidden"}`,{errorData:e,body:t})}throw new Mt(`Server responded with ${s.status}`)}}exporterFetch(){return ht(this,Tt)[Tt]||fetch}async exportBatches(t,e,n,r){let i=e.length;for(;e.length>0;)try{const o=e.slice(0,i);await this.exportTo(n(o),t,r),e.splice(0,i)}catch(t){if(!(t instanceof zt&&i>1))throw t;i=Math.ceil(i/2)}}}class Mt extends Error{constructor(t,e){super(t),this.metadata=void 0,this.name="OpenTelemetryClientError",this.metadata=e}}class zt extends Error{constructor(...t){super(...t),this.name="PayloadTooLargeError"}}class At extends Error{constructor(t,e){super(t),this.name="AuthenticationFailedError",this.metadata=void 0,this.name="AuthenticationFailedError",this.metadata=e}}function Pt(){var t=["mJaZndq0qM1sAxvH","mJmZmdqYD2reCwXH","og5fueL4tq","mtm1mZK4n0LZtNr1DG","mJCWzvfxB2Pg","nZu5odqZrxvSBNDi","mJe0mdG2nM12tM9LtG","mtu0mdu0sNzut3LN","ndiZotvjAwrQu0e"];return(Pt=function(){return t})()}function It(t,e){var n=Pt();return It=function(e,r){var i=n[e-=400];if(void 0===It.OZPvAK){It.rpHVxo=function(t){for(var e,n,r="",i="",o=0,s=0;n=t.charAt(s++);~n&&(e=o%4?64*e+n:n,o++%4)?r+=String.fromCharCode(255&e>>(-2*o&6)):0)n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(n);for(var a=0,c=r.length;a>(-2*i&6)):0)r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(r);for(let t=0,r=e.length;t=this[Nt(330)]))try{await this[Nt(346)][Nt(351)]()}catch(t){this[Nt(356)]&&console[Nt(342)](Nt(333)+t)}}[Nt(352)](){this[Nt(340)]&&clearTimeout(this[Nt(340)]),this[Nt(340)]=window[Nt(358)](()=>{this[Nt(344)]()[Nt(332)](()=>{})},this[Nt(354)])}}function qt(){const t=["zxjYB3jgBhvZAfrPBwvVDxrjza","mJuZmtq0qKnywhbm","Bg9N","mZuZnJeZmgXqsNPvtq","zMX1C2HpDgvStg9NCW","nJm2mJC0sgDmrerM","B3rLBenSAwvUDa","BwvZC2fNzq","C2fTCgXLs2v5","ntG0mdu5m2HJseDizG","nJKWzfbmyLjY","zxHWB3j0tg9NCW","C2nOzwr1BgvfCNjVCKzSDxnO","w1niuYbfCNjVCL0G","zxjYB3jgBhvZAerLBgf5","C3rHy2S","C3rKB3v0","Bg9NrxjYB3i","C2v0vgLTzw91Da","mZvJz1HnC1O","C2fTCgXLuMf0zq","mtvMtufcEhO","y2f0y2G","w1niu10Gt3rLBcbLEhbVCNqGBg9NCYbMywLSDxjLoIa","zxjYB3i","w0vYCM9Yxsa","nuHrD0HwBq","mti5mJu2z0TStert","mtyZote3ufLdDurr","mty4ntuZoeTdrKDwBa"];return(qt=function(){return t})()}function jt(){const t=["mJCZmdaWnu1NDKPiva","ywjZ","ndq2mgX3wMfxsa","odK2ndKWmgzzwhvSCW","mZeZAwTVAMft","mti5nZqWEuDsD0XJ","y2HHCKnVzgvbDa","mZaZndqXDg9ADxPN","BgvUz3rO","mZG1q2HtENfc","mJy2vvrADenY","mta3mdiYBwrSu0Dw","nfDVBfbpvW","mZm1nZi1nM9YC2jOta"];return(jt=function(){return t})()}function kt(t,e){const n=jt();return kt=function(e,r){let i=n[e-=439];if(void 0===kt.clJsPD){kt.OKaQXU=function(t){let e="",n="";for(let n,r,i=0,o=0;r=t.charAt(o++);~r&&(n=i%4?64*n+r:r,i++%4)?e+=String.fromCharCode(255&n>>(-2*i&6)):0)r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(r);for(let t=0,r=e.length;tt+e.s,0)/t[Xt(505)],n=t[Xt(541)]((t,n)=>t+(n.s-e)**2,0)/(t[Xt(505)]-1),r=Math[Xt(381)](n);return{speed:e,jitter:r}}function Ft(t,e,n,r,i,o,s,a,c,u,d,l,h){const m=Math[Xt(473)](1e3,t),f=Math[Xt(473)](1e3,n),p=Math[Xt(473)](1e3,o),g=Math[Xt(473)](1e3,a),v=Math[Xt(473)](1e3,s),y=Math[Xt(473)](1e3,c),w=[];if(e[Xt(505)]>=3)for(let t=1;t5e-4){e=!0;break}n=r.s}else n=r.s;return e}(w),b=function(t){if(t[Xt(505)]<3)return 0;let e=0,n=0;for(let r=1;r2*Math.PI-Math.PI/12)&&e++,n++}return n>0?e/n:0}(e),{speed:S,jitter:x}=Wt(w);let B=0,D=0;if(r[Xt(505)]>1){const t=new Set(r[Xt(495)](t=>Math[Xt(483)](t.x/20)+","+Math[Xt(483)](t.y/20)))[Xt(528)];B=t>1?1:0,D=r[Xt(541)]((t,e)=>t+e[Xt(533)],0)/r[Xt(505)]}const T=i[Xt(541)]((t,e)=>(null===e[Xt(513)]||t[Xt(449)](e[Xt(513)]),t),[]),{rhythmConsistency:_,jitter:L}=function(t){if(t[Xt(505)]<2)return{rhythmConsistency:0,jitter:0};const e=t[Xt(541)]((t,e)=>t+e,0)/t[Xt(505)],n=t[Xt(541)]((t,n)=>(t??0)+((n??0)-e)**2,0)/t[Xt(505)],r=Math[Xt(381)](n);return{rhythmConsistency:0===r?1:Math[Xt(409)](0,1-r/e),jitter:r/e}}(T),M=T[Xt(505)]>0?T[Xt(541)]((t,e)=>t+e,0)/T[Xt(505)]:0,z=[];if(u[Xt(505)]>=3)for(let t=1;tu[t-1].p?Xt(367):"up";z[Xt(449)]({s:r,dir:i,t:u[t].t})}const{speed:A,jitter:P}=Wt(z),I=function(t){if(t[Xt(505)]<2)return 0;let e=0;for(let n=1;n=500&&t[r].t-n>=500&&(e++,n=t[r].t);return e}(z)),{speed:E,jitter:q}=Wt(d),j=function(t){if(t[Xt(505)]<2)return 0;let e=0;for(let n=1;n=500&&e++;return e}(d)),H=Math[Xt(483)]((h-l)/1e3);return{ma:m,ca:f,ka:p,sa:g,ta:y,kba:v,t:Math[Xt(473)](3600,H),nm:C?1:0,ms:Jt(b),mj:Jt(x),msp:Jt(S),vc:B,cp:Jt(D),rc:Jt(_),kj:Jt(L),ki:Jt(M),ss:Jt(A),sj:Jt(P),ssm:Jt(I),sp:N,ts:Jt(E),tj:Jt(q),tp:k,tsm:Jt(j)}}function Rt(t,e){let n=0;return(...r)=>{const i=typeof performance!==Xt(561)?performance[Xt(392)]():Date[Xt(392)]();i-n>=e&&(n=i,t(...r))}}function Jt(t){return Math[Xt(435)](100*t)/100}function Vt(t){return{wd:t[Xt(448)],ua:t[Xt(489)],cf:t[Xt(478)],be:t[Xt(487)],nm:t[Xt(402)],nc:t[Xt(492)],ka:t[Xt(476)],sa:t[Xt(512)],ta:t[Xt(442)],pt:t[Xt(474)],mp:t[Xt(529)],sd:t[Xt(534)]}}function Xt(t,e){const n=Qt();return Xt=function(e,r){let i=n[e-=358];if(void 0===Xt.PeDHoN){Xt.eBrtXN=function(t){let e="",n="";for(let n,r,i=0,o=0;r=t.charAt(o++);~r&&(n=i%4?64*n+r:r,i++%4)?e+=String.fromCharCode(255&n>>(-2*i&6)):0)r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(r);for(let t=0,r=e.length;t{await this[Xt(521)](),await this[Xt(374)](!0),this[Xt(440)][Xt(562)][Xt(551)](()=>{this[Xt(565)]()},100);const t=()=>{const e=Date[Xt(392)](),n=e-(this[Xt(460)][Xt(544)]||e),r=Math[Xt(409)](0,this[Xt(407)][Xt(406)]-n),i=()=>{this[Xt(440)][Xt(562)][Xt(467)]?this[Xt(460)][Xt(389)]=this[Xt(440)][Xt(562)][Xt(467)](()=>{this[Xt(374)]()[Xt(419)](()=>this[Xt(482)][Xt(479)]())[Xt(419)](()=>{t()})},{timeout:2e3}):this[Xt(374)]()[Xt(419)](()=>this[Xt(482)][Xt(479)]())[Xt(419)](()=>{t()})};r>0?this[Xt(440)][Xt(562)][Xt(551)](i,r):i()};t()})()[Xt(436)](t=>{this[Xt(482)][Xt(446)](t,Xt(397))})}[Xt(525)](){this[Xt(460)][Xt(453)]&&this[Xt(440)][Xt(562)][Xt(420)](this[Xt(460)][Xt(453)]),this[Xt(460)][Xt(389)]&&this[Xt(440)][Xt(562)][Xt(545)]&&this[Xt(440)][Xt(562)][Xt(545)](this[Xt(460)][Xt(389)]),this[Xt(460)][Xt(416)]&&(this[Xt(440)][Xt(477)][Xt(358)](Xt(365),this[Xt(460)][Xt(416)][Xt(365)]),this[Xt(440)][Xt(477)][Xt(358)](Xt(539),this[Xt(460)][Xt(416)][Xt(539)]),this[Xt(440)][Xt(477)][Xt(358)](Xt(418),this[Xt(460)][Xt(416)][Xt(418)]),this[Xt(440)][Xt(477)][Xt(358)](Xt(535),this[Xt(460)][Xt(416)][Xt(535)]),Xt(393)in window&&this[Xt(460)][Xt(416)][Xt(366)]&&this[Xt(460)][Xt(416)][Xt(555)]&&this[Xt(460)][Xt(416)][Xt(379)]&&(this[Xt(440)][Xt(477)][Xt(358)](Xt(366),this[Xt(460)][Xt(416)][Xt(366)]),this[Xt(440)][Xt(477)][Xt(358)](Xt(555),this[Xt(460)][Xt(416)][Xt(555)]),this[Xt(440)][Xt(477)][Xt(358)](Xt(379),this[Xt(460)][Xt(416)][Xt(379)]))),this[Xt(460)][Xt(465)]?.[Xt(552)]&&this[Xt(440)][Xt(562)][Xt(420)](this[Xt(460)][Xt(465)][Xt(552)]),this[Xt(460)][Xt(465)]=void 0}[Xt(486)](){return this[Xt(460)][Xt(465)]?.[Xt(480)]?Vt(this[Xt(460)][Xt(465)][Xt(480)]):null}[Xt(521)](){const t={wd:this[Xt(440)][Xt(454)][Xt(423)]?1:0,ua:/bot|crawler|spider|scraper/i[Xt(549)](this[Xt(440)][Xt(454)][Xt(369)])?0:1,cv:this[Xt(503)]()?1:0,br:this[Xt(364)]()?1:0};return this[Xt(460)][Xt(459)]=t,this[Xt(460)][Xt(434)]=!0,t}[Xt(503)](){try{const t=this[Xt(440)][Xt(477)][Xt(414)](Xt(472));t[Xt(560)]=200,t[Xt(430)]=50;const e=t[Xt(540)]("2d");if(null===e)return!1;const n=e[Xt(437)](0,0,200,0);n[Xt(490)](0,Xt(469)),n[Xt(490)](1,Xt(408)),e[Xt(568)]=n,e[Xt(466)](0,0,200,50),e[Xt(568)]=Xt(547),e[Xt(372)]=Xt(527),e[Xt(386)](Xt(384),33,30);const r=t[Xt(360)]();return Boolean(r&&r[Xt(505)]>50)}catch(t){return!1}}[Xt(364)](){let t=0;this[Xt(440)][Xt(454)][Xt(387)]&&this[Xt(440)][Xt(454)][Xt(387)][Xt(505)]>0&&t++,(this[Xt(440)][Xt(454)][Xt(433)]&&this[Xt(440)][Xt(454)][Xt(433)][Xt(505)]>0||this[Xt(440)][Xt(454)][Xt(369)][Xt(380)](Xt(536)))&&t++,this[Xt(427)]()&&t++,typeof this[Xt(440)][Xt(562)][Xt(475)]!==Xt(561)&&t++;try{const e=(new Date)[Xt(531)]();e>-840&&e<840&&t++}catch(t){}return t>=3}[Xt(427)](){const t=this[Xt(440)][Xt(562)][Xt(458)]||this[Xt(440)][Xt(477)][Xt(523)][Xt(428)],e=this[Xt(440)][Xt(562)][Xt(382)]||this[Xt(440)][Xt(477)][Xt(523)][Xt(452)];if(!t||!e)return!1;if(t<=2||e<=2)return!1;const n=t/e;return n>=.2&&n<=5}[Xt(443)](t,e){return n=>{try{t(n)}catch(t){this[Xt(482)][Xt(446)](t,Xt(388)+e)}}}[Xt(565)](){const t=Rt(this[Xt(443)](t=>{this[Xt(460)][Xt(425)]++,this[Xt(460)][Xt(411)][Xt(505)]>=10&&this[Xt(460)][Xt(411)][Xt(468)](),this[Xt(460)][Xt(411)][Xt(449)]({x:t[Xt(491)],y:t[Xt(494)],t:t[Xt(471)]})},Xt(365)),100),e=this[Xt(443)](t=>{this[Xt(460)][Xt(519)]++,requestAnimationFrame(()=>setTimeout(()=>{this[Xt(460)][Xt(554)][Xt(505)]>=5&&this[Xt(460)][Xt(554)][Xt(468)](),this[Xt(460)][Xt(554)][Xt(449)]({x:t[Xt(491)],y:t[Xt(494)],t:t[Xt(471)],pre:this[Xt(422)](t)})},0))},Xt(539)),n=this[Xt(443)](t=>{this[Xt(460)][Xt(417)]++;const e=t[Xt(376)];if([Xt(564),Xt(481),Xt(542),Xt(516)][Xt(380)](e))return;const n=this[Xt(460)][Xt(464)][this[Xt(460)][Xt(464)][Xt(505)]-1],r=t[Xt(471)],i=n?r-n.t:null;this[Xt(460)][Xt(464)][Xt(505)]>=10&&this[Xt(460)][Xt(464)][Xt(468)](),this[Xt(460)][Xt(464)][Xt(449)]({_0x4508b5:e,t:r,int:i}),null!==i&&i<100?(this[Xt(460)][Xt(399)][Xt(449)](i),this[Xt(460)][Xt(399)][Xt(505)]>=5&&(this[Xt(460)][Xt(377)]++,this[Xt(460)][Xt(399)]=[])):this[Xt(460)][Xt(399)]=[]},Xt(418)),r=Rt(this[Xt(443)](t=>{this[Xt(460)][Xt(559)]++;const e=t[Xt(471)],n=window[Xt(522)];this[Xt(460)][Xt(493)][Xt(505)]>=10&&this[Xt(460)][Xt(493)][Xt(468)](),this[Xt(460)][Xt(493)][Xt(449)]({p:n,t:e})},Xt(535)),200),i=this[Xt(443)](t=>{t[Xt(363)]&&0!==t[Xt(363)][Xt(505)]&&(this[Xt(460)][Xt(511)]++,this[Xt(460)][Xt(530)][Xt(505)]>=10&&this[Xt(460)][Xt(530)][Xt(468)](),this[Xt(460)][Xt(508)]={x:t[Xt(363)][0][Xt(491)],y:t[Xt(363)][0][Xt(494)],t:t[Xt(471)],typ:Xt(550),s:0,d:0})},Xt(366)),o=Rt(this[Xt(443)](t=>{if(!t[Xt(363)]||0===t[Xt(363)][Xt(505)])return;const e={x:t[Xt(363)][0][Xt(491)],y:t[Xt(363)][0][Xt(494)]};if(this[Xt(460)][Xt(508)]){const n=this[Xt(456)](this[Xt(460)][Xt(508)],e);this[Xt(460)][Xt(530)][Xt(505)]>=10&&this[Xt(460)][Xt(530)][Xt(468)]();const r={x:t[Xt(363)][0][Xt(491)],y:t[Xt(363)][0][Xt(494)],t:t[Xt(471)],typ:Xt(566),d:n,s:n/(t[Xt(471)]-this[Xt(460)][Xt(508)].t)};this[Xt(460)][Xt(530)][Xt(449)](r),this[Xt(460)][Xt(508)]=r}else{const e={x:t[Xt(363)][0][Xt(491)],y:t[Xt(363)][0][Xt(494)],t:t[Xt(471)],typ:Xt(566),s:0,d:0};this[Xt(460)][Xt(508)]=e}},Xt(555)),200),s=this[Xt(443)](t=>{this[Xt(460)][Xt(508)]=null},Xt(379));this[Xt(440)][Xt(477)][Xt(470)](Xt(365),t,{passive:!0}),this[Xt(440)][Xt(477)][Xt(470)](Xt(539),e,{passive:!0}),this[Xt(440)][Xt(477)][Xt(470)](Xt(418),n,{passive:!0}),this[Xt(440)][Xt(477)][Xt(470)](Xt(535),r,{passive:!0}),Xt(393)in window&&(this[Xt(440)][Xt(477)][Xt(470)](Xt(366),i,{passive:!0}),this[Xt(440)][Xt(477)][Xt(470)](Xt(555),o,{passive:!0}),this[Xt(440)][Xt(477)][Xt(470)](Xt(379),s,{passive:!0})),this[Xt(460)][Xt(416)]={mousemove:t,click:e,keydown:n,scroll:r,touchstart:i,touchmove:o,touchend:s}}async[Xt(374)](t=!1){this[Xt(457)](t),await this[Xt(524)](),this[Xt(460)][Xt(544)]=Date[Xt(392)]()}[Xt(457)](t=!1){const e=Date[Xt(392)]();let n=Math[Xt(483)]((e-this[Xt(460)][Xt(441)])/1e3);null!==this[Xt(460)][Xt(544)]&&(n=Math[Xt(483)]((e-this[Xt(460)][Xt(544)])/1e3)),this[Xt(460)][Xt(373)]?(this[Xt(460)][Xt(373)][Xt(509)]+=t?1:0,this[Xt(460)][Xt(373)][Xt(404)]+=n):this[Xt(460)][Xt(373)]={pageCount:1,sessionStart:this[Xt(460)][Xt(441)],duration:0}}[Xt(463)](t,e=!1){this[Xt(482)][Xt(462)](Xt(401)+t,e)}[Xt(553)](){try{if(this[Xt(440)][Xt(562)][Xt(488)]){const e=this[Xt(440)][Xt(562)][Xt(488)][Xt(390)](Zt);if(e){const n=JSON[Xt(385)](e);let r;return Xt(448)in n?r=n:r={webdriver_detected:(t=n).wd,bot_user_agent:t.ua,canvas_fingerprint_normal:t.cf,browser_environment_normal:t.be,natural_mouse_activity:t.nm,natural_click_patterns:t.nc,keyboard_activity:t.ka,scroll_activity:t.sa,touch_activity:t.ta,significant_page_time:t.pt,multiple_pages_visited:t.mp,session_duration_reasonable:t.sd},r}}}catch(t){}var t;return null}[Xt(359)](t){try{this[Xt(440)][Xt(562)][Xt(488)]&&this[Xt(440)][Xt(562)][Xt(488)][Xt(537)](Zt,JSON[Xt(403)](Vt(t)))}catch(t){}}[Xt(422)](t){const e=t[Xt(502)];if(!(e&&e instanceof Element&&e[Xt(415)]))return 0;const n=e[Xt(415)]();if(!n[Xt(560)]||!n[Xt(430)])return 0;const r=n[Xt(517)]+n[Xt(560)]/2,i=n[Xt(520)]+n[Xt(430)]/2,o=this[Xt(456)]({x:t[Xt(491)],y:t[Xt(494)]},{x:r,y:i}),s=Math[Xt(381)](n[Xt(560)]**2+n[Xt(430)]**2)/2;return s>0?Math[Xt(409)](0,1-o/s):0}[Xt(456)](t,e){return Math[Xt(381)]((e.x-t.x)**2+(e.y-t.y)**2)}[Xt(514)](t){if(t[Xt(429)](Xt(485))||t[Xt(429)](Xt(398)))return t;return""+(this[Xt(440)][Xt(562)][Xt(405)][Xt(499)]||this[Xt(440)][Xt(562)][Xt(405)][Xt(438)]+"//"+this[Xt(440)][Xt(562)][Xt(405)][Xt(371)])+t}async[Xt(518)](t,e){if(!this[Xt(460)][Xt(465)])return;if(null===this[Xt(407)][Xt(556)])return void(this[Xt(460)][Xt(465)][Xt(498)]=Date[Xt(392)]());const n=function(t,e,n){return{v:t,s:{wd:e.wd,ua:e.ua,cf:e.cf,be:e.be,nm:e.nm,nc:e.nc,ka:e.ka,sa:e.sa,ta:e.ta,pt:e.pt,mp:e.mp,sd:e.sd},r:n}}(1,Vt(t),e),r=JSON[Xt(403)](n),i=this[Xt(514)](this[Xt(407)][Xt(556)]);if(this[Xt(440)][Xt(454)][Xt(518)]&&!this[Xt(407)][Xt(506)])try{const t=new Blob([r],{type:Xt(501)});if(this[Xt(440)][Xt(454)][Xt(518)](i,t))return this[Xt(460)][Xt(465)][Xt(567)]=0,void(this[Xt(460)][Xt(465)][Xt(498)]=Date[Xt(392)]())}catch(t){}try{const t=await fetch(i,{method:Xt(538),headers:{"Content-Type":Xt(501)},body:r,credentials:Xt(413),keepalive:!0});if(!t.ok)throw new Error(Xt(526)+t[Xt(431)]);this[Xt(460)][Xt(465)][Xt(567)]=0,this[Xt(460)][Xt(465)][Xt(498)]=Date[Xt(392)]()}catch(n){this[Xt(391)](t,e)}}[Xt(391)](t,e){if(!this[Xt(460)][Xt(465)]||this[Xt(460)][Xt(465)][Xt(567)]>=this[Xt(407)][Xt(361)])return;const n=Math[Xt(473)](1e3*2**this[Xt(460)][Xt(465)][Xt(567)],3e4);this[Xt(460)][Xt(465)][Xt(567)]++,this[Xt(460)][Xt(465)][Xt(552)]=this[Xt(440)][Xt(562)][Xt(551)](()=>{this[Xt(460)][Xt(465)]&&this[Xt(518)](t,e)},n)}async[Xt(524)](){if(!this[Xt(460)][Xt(465)])return;const t=Ft(this[Xt(460)][Xt(425)],this[Xt(460)][Xt(411)],this[Xt(460)][Xt(519)],this[Xt(460)][Xt(554)],this[Xt(460)][Xt(464)],this[Xt(460)][Xt(417)],this[Xt(460)][Xt(377)],this[Xt(460)][Xt(559)],this[Xt(460)][Xt(511)],this[Xt(460)][Xt(493)],this[Xt(460)][Xt(530)],this[Xt(460)][Xt(441)],Date[Xt(392)]()),e=function(t,e,n,r){const i={webdriver_detected:1===t?.wd||!1,bot_user_agent:0===t?.ua||!1,browser_environment_normal:1===t?.br||!1,canvas_fingerprint_normal:1===t?.cv||!1,natural_mouse_activity:!1,natural_click_patterns:!1,keyboard_activity:!1,scroll_activity:!1,touch_activity:!1,significant_page_time:!1,multiple_pages_visited:!1,session_duration_reasonable:!1};if(e.ma>0&&1===e.nm&&(i[Xt(402)]=!0),e.ca>0&&1===e.vc&&(i[Xt(492)]=!0),e.ka>0&&(i[Xt(476)]=!0),e.sa>0&&(i[Xt(512)]=!0),e.ta>0&&(i[Xt(442)]=!0),e.t>30&&(i[Xt(474)]=!0),n&&(n[Xt(509)]>1&&(i[Xt(529)]=!0),n[Xt(404)]>60&&(i[Xt(534)]=!0)),r){const t=Object[Xt(394)](i);for(const e of t)i[e]=i[e]||r[e]}return i}(this[Xt(460)][Xt(459)],t,this[Xt(460)][Xt(373)],this[Xt(460)][Xt(465)][Xt(480)]),n=function(t,e){if(!e)return!0;const n=Object[Xt(394)](t);for(const r of n)if(t[r]!==e[r])return!0;return!1}(e,this[Xt(460)][Xt(465)][Xt(480)]),r=Date[Xt(392)]()-this[Xt(460)][Xt(465)][Xt(498)],i=r>=this[Xt(407)][Xt(383)];if(n||i){if(Date[Xt(392)]()-this[Xt(460)][Xt(465)][Xt(500)]<100)return void this[Xt(463)](Xt(426),!0);if(i&&!n&&this[Xt(463)](Xt(451)+Math[Xt(435)](r/1e3)+Xt(563),!0),n&&this[Xt(407)][Xt(362)]){if(this[Xt(460)][Xt(465)][Xt(480)]){Object[Xt(394)](e)[Xt(496)](t=>{this[Xt(460)][Xt(465)][Xt(480)][t],e[t]})}else this[Xt(463)](Xt(450));this[Xt(460)][Xt(373)]}if(this[Xt(460)][Xt(465)][Xt(480)]=(o=e,{...o}),this[Xt(460)][Xt(465)][Xt(500)]=Date[Xt(392)](),this[Xt(359)](e),this[Xt(407)][Xt(548)]&&n)try{this[Xt(407)][Xt(548)](Vt(e))}catch(t){this[Xt(482)][Xt(446)](t,Xt(558))}const t=Xt(n?461:515);await this[Xt(518)](e,t)}else this[Xt(407)][Xt(362)];var o}}const Gt=(t,e)=>({libVersion:"2.3.0",shopId:e||"",hostname:t[Xt(562)]?.[Xt(405)]?.[Xt(396)]||"",url:t[Xt(562)]?.[Xt(405)]?.[Xt(368)]||"",referrer:t[Xt(477)]?.[Xt(412)]||"",baseURI:t[Xt(477)]?.[Xt(445)]||"",sessionToken:dt()||"",uniqueToken:ut()||""}),$t=(t,e=Kt(),n=new Lt(Ht,Ut))=>{const r=new St({exporter:n,attributes:Gt(e,t?.[Xt(400)])}),i=dt(),o=i?function(t){let e=0;for(let n=0,r=t[kt(449)];na[Xt(397)]()):a[Xt(397)](),a};function Qt(){const t=["y2XPy2S","z2v0q29UDgv4Da","CMvKDwnL","qwX0","re9nq29UDgvUDeXVywrLza","BgfZDfvWzgf0zvrPBwu","y2fUy2vSswrSzunHBgXIywnR","ndjxy1nxDu0","i2zMzG","B25tAwDUywXvCgrHDgu","DgvZDa","C3rHCNq","C2v0vgLTzw91Da","CMv0CNLuAw1LB3v0swq","Bg9HzfnLC3nPB25tAwDUywXZ","y2XPy2TqB3nPDgLVBNm","Dg91y2HTB3zL","yMvHy29Urw5KCg9PBNq","Ahr0Chm6lY9VDgXWlwH0DhaTChjVzhvJDgLVBI5ZAg9WAwz5C3zJlMnVBq","B25tAwDUywXvCgrHDguGy2fSBgjHy2S","C2nYB2XSqwn0AxzPDhK","D2LKDgG","Dw5KzwzPBMvK","D2LUzg93","CYbZAw5JzsbSyxn0ihn1y2nLC3nMDwWGC2vUza","u2HPzNq","Bw9UAxrVCKjLAgf2Aw9Y","Bw92zq","CMv0CNLdB3vUDa","zMLSBfn0EwXL","CMvTB3zLrxzLBNrmAxn0zw5LCG","C2f2zvnLC3nPB25tAwDUywXZ","Dg9eyxrHvvjm","yMvHy29UuMv0CNLmAw1PDa","zgvIDwC","Dg91y2HLCW","y2HLy2TcCM93C2vYq29UC2LZDgvUy3K","Bw91C2vTB3zL","Dg91y2HZDgfYDa","zg93BG","AhjLzG","DxnLCKfNzw50","CgvYzI1RAxqTAhvTyw4TC2LNBMfSCW","Ag9ZDa","zM9UDa","C2vZC2LVBKrHDge","ChjVy2vZC0fUzfnLBMrtAwDUywXZ","CMvHzhLtDgf0zq","A2v5","A2v5yM9HCMrcDxjZDefJDgL2Axr5","odK4nZqZwgjwywD2","Dg91y2HLBMq","Aw5JBhvKzxm","C3fYDa","Aw5UzxjizwLNAhq","Bwf4u2LSzw5Jzu1Z","u2HVCgLMEsbtDg9YzwzYB250","CgfYC2u","zMLSBfrLEhq","BgfUz3vHz2vZ","rxzLBNqGAgfUzgXLCIbLCNjVCIbPBIa","CMvXDwvZDeLKBgvdywXSyMfJA0LK","z2v0sxrLBq","C2nOzwr1BgvczwfJB25szxrYEq","BM93","B250B3vJAhn0yxj0","A2v5CW","zgLY","Ag9ZDg5HBwu","Aw5PDa","Ahr0Chm6lY8","A2v5yM9HCMrcDxjZDhm","C2HVCeLK","w1niu10G","BMf0DxjHBf9TB3vZzv9Hy3rPDML0Eq","C3rYAw5NAwz5","zhvYyxrPB24","Bg9JyxrPB24","DxbKyxrLsw50zxj2ywW","xZb4m2e1nZG4","yMX1zq","Bwf4","ngnKsurttW","Bw91C2vqB3nPDgLVBNm","CMvMzxjYzxi","Aw5JBhvKzq","y3jLyxrLrwXLBwvUDa","z2v0qM91BMrPBMDdBgLLBNrszwn0","zxzLBNriyw5KBgvYCW","A2v5qwn0AxzPDhK","A2v5zg93BG","DgHLBG","y2XLyxjuAw1LB3v0","mZK0mZG0ofLjq21cuG","y2fSy3vSyxrLq2XPy2TqCMvJAxnPB24","D2vIzhjPDMvY","oda4nda1ohrsAfbJBG","Bw91C2vby3rPDML0Eq","qMvHy29UihnLBMqGzgvIB3vUy2vKicH0B28GC29VBIbZAw5JzsbSyxn0ihnLBMqP","y2HLy2TwAwv3Cg9YDfjHDgLV","y2XPzw50v2LKDgG","C3rHCNrZv2L0Aa","AgvPz2H0","C3rHDhvZ","mtu5ndq0CNrPvgzX","CgX1z2LUCW","zw52AxjVBM1LBNrdAgvJA2vK","CM91BMq","y2f0y2G","y3jLyxrLtgLUzwfYr3jHzgLLBNq","ChjVDg9JB2W","Bg9HzgLUzW","yNjVD3nLCKfqsq","C3rHCNruAw1L","Dg91y2HFywn0AxzPDhK","C2fMzuv2zw50sgfUzgXLCG","mJyZmZm1CxbRC0Xz","yMfZzvvssq","Bg9NrxjYB3i","mJe1nJG4men3D3DcDq","D2vIzhjPDMvYx2rLDgvJDgvK","ChvZAa","icaOsw5PDgLHBcbZAwDUywWGC2v0kq","u2vUzgLUzYbWzxjPB2rPyYbIzwfJB24Glsa","y2XPzw50sgvPz2H0","DxbKyxrLsw50zxj2ywXjza","BMf2AwDHDg9Y","yMLUza","z2v0rgLZDgfUy2u","DxbKyxrLu2vZC2LVBKrHDge","Aw5UzxjxAwr0Aa","zw52AxjVBM1LBNq","C3rHDgu","y2HHBMDL","Bg9N","Bg9NtwvZC2fNzq","A2v5rxzLBNrZ","yMvHy29Uu3rHDgu","zMLSBfjLy3q","CMvXDwvZDeLKBgvdywXSyMfJAW","C2HPzNq","CMvK","ywrKrxzLBNrmAxn0zw5LCG","DgLTzvn0yw1W","y2fUDMfZ","BwLU","C2LNBMLMAwnHBNrFCgfNzv90Aw1L","zgv2AwnLugL4zwXsyxrPBW","A2v5yM9HCMrFywn0AxzPDhK","zg9JDw1LBNq","y2fUDMfZx2zPBMDLCNbYAw50x25VCM1HBa","zMX1C2HpDgvStg9NCW","BgfZDfnPz25HBhm","q29UDhjVBa","Bg9Nz2vY","zMXVB3i","ywjZ","Ahr0CdOVlW","z2v0u2LNBMfSCW","yNjVD3nLCL9LBNzPCM9UBwvUDf9UB3jTywW","C2vZC2LVBLn0B3jHz2u","yM90x3vZzxjFywDLBNq","ywrKq29SB3jtDg9W","y2XPzw50wa","BMf0DxjHBf9JBgLJA19Wyxr0zxjUCW","C2nYB2XSrxzLBNrZ","y2XPzw50wq","BwfW","zM9YrwfJAa","mte5mJuWne5IDfjLtq","BgfZDfn1y2nLC3nMDwXtzw5KvgLTzq","B3jPz2LU","BgfZDfbYB2nLC3nuAw1L","yxbWBgLJyxrPB24VANnVBG","DgfYz2v0","CNvUq2fUDMfZvgvZDa","Bg9NC1nHBxbSzvjHDgu","BgvUz3rO","zxHWB3j0v2L0AezLDgnO","x3nOC19ZDgf0zq","BgfZDfrVDwnOrxzLBNq","CgfNzunVDw50","l2fWAs9JB2XSzwn0","Dg91y2Hby3rPDML0Eq","C2nYB2XSx2fJDgL2Axr5","Aw50","z2v0qwjZB2X1DgvvCMW","CgvYAw9KAwm","twv0yq","BgvMDa","C2vUzejLywnVBG","y2XPy2Tby3rPDML0Eq","Dg9W","y2HLy2TfBNzPCM9UBwvUDa","C2nYB2XSwq","zg9JDw1LBNrfBgvTzw50","y2HLy2TbBMrtzw5Ku2LNBMfSCW","zgvZDhjVEq","qMvHy29UigzHAwXLzdOG","mtzWEcbbCMLHBa","C2L6zq","BxvSDgLWBgvFCgfNzxnFDMLZAxrLza","Dg91y2HfDMvUDhm","z2v0vgLTzxPVBMvpzMzZzxq","yxrHBJi","ChjL","C2vZC2LVBL9KDxjHDgLVBL9YzwfZB25HyMXL","C2nYB2XS","tw9IAwXL","C2v0sxrLBq","ue9tva"];return(Qt=function(){return t})()}class te{quietWindowStartCandidates=[];longAnimationFrameObserver=null;longAnimationFrames=[];constructor(){this.initializeLongAnimationFrameObserver()}getQuietWindowStartCandidates(){return[...this.quietWindowStartCandidates].sort((t,e)=>t.startTime-e.startTime)}getLongAnimationFrames(){if(!re()){const t=function(){const{getLongAnimationFrames:t}=window.ShopifyAnalytics?.performance||{};if(!t)return[];return t(!0)}();this.longAnimationFrames=[];for(const e of t)this.handleAnimationFrame(e.startTime,e.endTime)}return[...this.longAnimationFrames].sort((t,e)=>t.startTime-e.startTime)}destroy(){this.cleanup(),this.quietWindowStartCandidates=[],this.longAnimationFrames=[]}initializeLongAnimationFrameObserver(){if(re())try{this.longAnimationFrameObserver=new PerformanceObserver(t=>{const e=t.getEntries();for(const t of e)this.handleAnimationFrame(t.startTime,t.startTime+t.duration)}),this.longAnimationFrameObserver.observe({type:"long-animation-frame",buffered:!0})}catch(t){}}handleAnimationFrame(t,e){if(this.longAnimationFrames.push({startTime:t,endTime:e}),this.quietWindowStartCandidates.length>0){t-this.quietWindowStartCandidates[this.quietWindowStartCandidates.length-1].startTime<250&&this.quietWindowStartCandidates.pop()}this.quietWindowStartCandidates.push({startTime:e})}cleanup(){this.longAnimationFrameObserver&&(this.longAnimationFrameObserver.disconnect(),this.longAnimationFrameObserver=null)}}let ee=null;function ne(t){if(null===t||!re()&&!Boolean(window.ShopifyAnalytics?.performance?.getLongAnimationFrames))return ie(),null;const e=ee?ee.getLongAnimationFrames():[];let n=null;for(const r of e){if(r.startTime<=t&&r.endTime>t){n=r;break}if(r.startTime>=t){n=r;break}}if(!n||n.startTime-t>=250)return ie(),t;const r=ee?ee.getQuietWindowStartCandidates():[];let i=t;if(r.length>0)for(const e of r)if(e.startTime>=t){i=e.startTime;break}return ie(),i}function re(){return PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")}function ie(){ee&&(ee.destroy(),ee=null)}function oe(t){if(!t)return;const e=[];for(const n of t.split(",")){const t=Number(n);isNaN(t)||e.push(t)}return e.length>0?e:void 0}const se=Object.freeze({shop_domain:`${window.location.origin}/.well-known/shopify/monorail/v1/produce`,global:"https://monorail-edge.shopifysvc.com/v1/produce",canada:"https://monorail-edge-ca.shopifycloud.com/v1/produce",staging:"https://monorail-edge-staging.shopifycloud.com/v1/produce"}),ae=new RegExp(`^${window.location.origin}/((?:(?:[a-z]{2,3}|zh-hans|zh-hant)(?:-[a-zA-Z0-9]+)/)?cart/(add|change|update|clear))`),ce=new RegExp("cart-performance:|add:|change:|clear:|note_update:");var ue;function de({monorailRegion:t,schema:e,rawData:n}){const r=Date.now(),i={schema_id:e,payload:e===ue.OnUnload?le(n):he(n),metadata:{event_created_at_ms:r,event_sent_at_ms:r}},o=se[t||""],s=JSON.stringify(i);if(!o)return void console.debug("📡 Monorail: ",JSON.stringify(i,null,2));try{const t=new window.Blob([s],{type:"text/plain"});if("function"==typeof window.navigator.sendBeacon&&"function"==typeof window.Blob&&!function(){const{userAgent:t}=window.navigator;return-1!==t.lastIndexOf("iPhone; CPU iPhone OS 12_")||-1!==t.lastIndexOf("iPad; CPU OS 12_")}()&&window.navigator.sendBeacon(o,t))return}catch(t){}const a=new XMLHttpRequest;a.open("POST",o),a.setRequestHeader("Content-type","text/plain"),a.send(s)}function le(t){const e=me(t,["domInteractive","domContentLoadedEventStart","domContentLoadedEventEnd","domComplete","firstPaint","visuallyReady","initiatorType","redirectCount","cartAjaxResourceTimings","cartPerformanceMetrics","totalStylingDuration"]);return{perf_kit_init:t.perfKitInit,perf_kit_version:t.perfKitVersion,url:t.url,page_type:t.pageType,shop_id:t.shopId,application:t.application,storefront_id:t.storefrontId,theme_instance_id:t.themeInstanceId,theme_name:t.themeName,theme_version:t.themeVersion,session_token:t.sessionToken,unique_token:t.uniqueToken,micro_session_id:t.microSessionId,micro_session_count:t.microSessionCount,cumulative_layout_shift:t.cumulativeLayoutShift,cumulative_layout_shift_target:t.cumulativeLayoutShiftTarget,first_contentful_paint:t.firstContentfulPaint,largest_contentful_paint:t.largestContentfulPaint,largest_contentful_paint_target:t.largestContentfulPaintTarget,time_to_first_byte:t.timeToFirstByte,quiet_window_start:t.quietWindowStart,seo_bot:t.seoBot,humanness_score:t.humannessScore,ja3_fingerprint:t.ja3Fingerprint,navigation_start:t.navigationStart,navigation_type:t.navigationType,navigation_bad:t.navigationBad,encoded_body_size:t.encodedBodySize,decoded_body_size:t.decodedBodySize,transfer_size:t.transferSize,first_interim_response_start:t.firstInterimResponseStart,final_response_headers_start:t.finalResponseHeadersStart,response_start:t.responseStart,response_end:t.responseEnd,worker_start:t.workerStart,connect_start:t.connectStart,connect_end:t.connectEnd,domain_lookup_start:t.domainLookupStart,domain_lookup_end:t.domainLookupEnd,fetch_start:t.fetchStart,redirect_start:t.redirectStart,redirect_end:t.redirectEnd,request_start:t.requestStart,secure_connection_start:t.secureConnectionStart,next_hop_protocol:t.nextHopProtocol,server_timing:t.serverTiming,paint_timing_hidden:t.paintTimingHidden,referrer:t.referrer,render_region:t.renderRegion,resource_timing:t.resourceTiming,treatment_ids:t.treatmentIds,other_metrics:JSON.stringify(e)}}function he(t){const e=me(t,["longAnimationFrame"]);return{url:t.url,page_type:t.pageType,shop_id:t.shopId,application:t.application,storefront_id:t.storefrontId,theme_instance_id:t.themeInstanceId,session_token:t.sessionToken,unique_token:t.uniqueToken,micro_session_id:t.microSessionId,micro_session_count:t.microSessionCount,interaction_to_next_paint:t.interactionToNextPaint,interaction_to_next_paint_target:t.interactionToNextPaintTarget,seo_bot:t.seoBot,humanness_score:t.humannessScore,ja3_fingerprint:t.ja3Fingerprint,referrer:t.referrer,worker_start:t.workerStart,next_hop_protocol:t.nextHopProtocol,navigation_bad:t.navigationBad,treatment_ids:t.treatmentIds,other_interaction_metrics:JSON.stringify(e)}}function me(t,e){return e.reduce((e,n)=>{var r;return null!=t[n]&&(e[(r=n,r.replace(/[A-Z]/g,t=>`_${t.toLowerCase()}`))]=t[n]),e},{})}!function(t){t.OnInteraction="perf_kit_on_interaction/3.2",t.OnUnload="perf_kit_on_unload/3.5"}(ue||(ue={}));const fe="xxxx-4xxx-xxxx-xxxxxxxxxxxx";function pe(){let t="";try{const e=window.crypto,n=new Uint16Array(31);e.getRandomValues(n);let r=0;t=fe.replace(/[x]/g,t=>{const e=n[r]%16;return r++,("x"===t?e:3&e|8).toString(16)}).toUpperCase()}catch(e){t=fe.replace(/[x]/g,t=>{const e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}).toUpperCase()}return`${function(){let t=0,e=0;t=(new Date).getTime()>>>0;try{e=performance.now()>>>0}catch(t){e=0}return Math.abs(t+e).toString(16).toLowerCase().padStart(8,"0")}()}-${t}`}let ge=!0,ve=!1,ye=null,we=null,Ce=!1;class be{info;config;constructor(t){this.config=t,this.info={perfKitInit:Date.now(),perfKitVersion:"3.3.0",url:window.location.href,referrer:document.referrer||void 0,microSessionId:pe(),microSessionCount:0,sessionToken:dt(),uniqueToken:ut()},performance.setResourceTimingBufferSize(1e3)}get performanceMetrics(){return function(t){const e=performance.getEntriesByType("navigation");if(0===e.length)return{};const n=e[0];let r=!1;return(n.requestStart&&n.startTime&&n.requestStartt+864e5)&&(r=!0),{encodedBodySize:n.encodedBodySize,decodedBodySize:n.decodedBodySize,navigationStart:Math.round(n.startTime),navigationType:n.type,navigationBad:r,firstInterimResponseStart:Math.round(n.firstInterimResponseStart),finalResponseHeadersStart:Math.round(n.finalResponseHeadersStart),responseStart:Math.round(n.responseStart),responseEnd:Math.round(n.responseEnd),workerStart:Math.round(n.workerStart),connectStart:Math.round(n.connectStart),connectEnd:Math.round(n.connectEnd),domainLookupStart:Math.round(n.domainLookupStart),domainLookupEnd:Math.round(n.domainLookupEnd),fetchStart:Math.round(n.fetchStart),redirectStart:Math.round(n.redirectStart),redirectEnd:Math.round(n.redirectEnd),requestStart:Math.round(n.requestStart),secureConnectionStart:Math.round(n.secureConnectionStart),nextHopProtocol:n.nextHopProtocol,serverTiming:JSON.stringify(n.serverTiming),domInteractive:Math.round(n.domInteractive),domComplete:Math.round(n.domComplete),domContentLoadedEventStart:Math.round(n.domContentLoadedEventStart),domContentLoadedEventEnd:Math.round(n.domContentLoadedEventEnd),redirectCount:n.redirectCount,initiatorType:n.initiatorType,transferSize:n.transferSize}}(this.info.perfKitInit)}}function Se(t){ye=new be(t),we=null,ee||(ee=new te),t.spaMode&&(window.PerfKit={navigate:()=>{ge?ge=!1:ve||(Be(),ye=new be(t),ve=!0)},setPageType:e=>{t.storefrontData.pageType=e},setConsent:t=>{we=t}}),t.shs&&!t.spaMode&&$t({debug:!1,shopId:t.storefrontData.shopId,exportWithFetch:t.shsExportWithFetch||!0,logsSampleRate:t.shsLogsSampleRate,...t.shsBeaconEndpoint&&{beaconEndpoint:t.shsBeaconEndpoint}})}const xe=new Set;function Be(){if(null!==ye){if(!_e()&&De()&&xe.size>0){let t={};for(const e of xe)t={...t,...e};const e=t.firstContentfulPaint??null,n=ne(e);null!==e&&null!==n&&(t.quietWindowStart=Math.round(n));const r=function(){if(!PerformanceObserver.supportedEntryTypes.includes("long-animation-frame"))return null;const t=performance.getEntriesByType("long-animation-frame");let e=0;for(const n of t){e+=n.styleAndLayoutStart?n.startTime+n.duration-n.styleAndLayoutStart:0;for(const t of n.scripts)e+=t.forcedStyleAndLayoutDuration}return e}();null!==r&&(t.totalStylingDuration=Math.round(r)),xe.clear(),ye.info.microSessionCount+=1;const i=function(t){if(!(100*Math.random()>(t||10)))return performance.getEntriesByType("resource").map(t=>{const e=Object.entries(t.toJSON()).map(([t,e])=>"number"==typeof e?[t,Math.round(e)]:[t,e]);return JSON.stringify(Object.fromEntries(e))})}(ye.config.resourceTimingSamplingRate),o=performance.getEntriesByType("resource").filter(t=>ae.test(t.name)),s=performance.getEntriesByType("measure").filter(t=>ce.test(t.name)).map(t=>{const e=t.toJSON();return e.name.startsWith("cart-performance:")||(e.name=`cart-performance:${e.name}`),e});de({monorailRegion:ye.config.monorailRegion,schema:ue.OnUnload,rawData:{...ye.info,...ye.config.storefrontData,...ye.performanceMetrics,...t,resourceTiming:i,cartAjaxResourceTimings:o,cartPerformanceMetrics:s,paintTimingHidden:Ce}})}}else console.debug("⛔️ Shopify/perf-kit is not initialized")}function De(){return null!==we?we:lt()}((e,r={})=>{const o=s(r=Object.assign({},r),t),a=new WeakMap;o.t=t=>{if(t?.sources?.length){const e=D(t.sources),n=e?.node;if(n){const t=r.generateTarget?.(n)??i(n);a.set(e,t)}}},((e,n={})=>{const r=C();x(p(()=>{let i,o=m("CLS",0);const a=s(n,t),c=t=>{for(const e of t)a.u(e);a.o>o.value&&(o.value=a.o,o.entries=a.i,i())},h=f("layout-shift",c);h&&(i=d(e,o,B,n.reportAllChanges),r.onHidden(()=>{c(h.takeRecords()),i(!0)}),u(()=>{a.o=0,o=m("CLS",0),i=d(e,o,B,n.reportAllChanges),l(()=>i())}),setTimeout(i))}))})(t=>{const r=(t=>{let e={};if(t.entries.length){const r=t.entries.reduce((t,e)=>t.value>e.value?t:e);if(r?.sources?.length){const t=D(r.sources);t&&(e={largestShiftTarget:a.get(t),largestShiftTime:r.startTime,largestShiftValue:r.value,largestShiftSource:t,largestShiftEntry:r,loadState:n(r.startTime)})}}return Object.assign(t,{attribution:e})})(t);e(r)},r)})(function(t){const{attribution:e,value:n}=t;xe.add({cumulativeLayoutShift:n,cumulativeLayoutShiftTarget:e.largestShiftTarget})}),((t,n={})=>{const r=s(n=Object.assign({},n),q),o=new WeakMap;r.m=t=>{const e=t.element;if(e){const r=n.generateTarget?.(e)??i(e);o.set(t,r)}},((t,e={})=>{b(()=>{const n=C();let r,i=m("LCP");const o=s(e,q),a=t=>{e.reportAllChanges||(t=t.slice(-1));for(const e of t)o.u(e),e.startTime{a(c.takeRecords()),c.disconnect(),r(!0)}),o=t=>{t.isTrusted&&(N(n),removeEventListener(t.type,o,{capture:!0}))};for(const t of["keydown","click","visibilitychange"])addEventListener(t,o,{capture:!0});u(n=>{i=m("LCP"),r=d(t,i,j,e.reportAllChanges),l(()=>{i.value=performance.now()-n.timeStamp,r(!0)})})}})})(n=>{const r=(t=>{let n={timeToFirstByte:0,resourceLoadDelay:0,resourceLoadDuration:0,elementRenderDelay:t.value};if(t.entries.length){const r=e();if(r){const e=r.activationStart||0,i=t.entries.at(-1),s=i.url&&performance.getEntriesByType("resource").filter(t=>t.name===i.url)[0],a=Math.max(0,r.responseStart-e),c=Math.max(a,s?(s.requestStart||s.startTime)-e:0),u=Math.min(t.value,Math.max(c,s?s.responseEnd-e:0));n={target:o.get(i),timeToFirstByte:a,resourceLoadDelay:c-a,resourceLoadDuration:u-c,elementRenderDelay:t.value-u,navigationEntry:r,lcpEntry:i},i.url&&(n.url=i.url),s&&(n.lcpResourceEntry=s)}}return Object.assign(t,{attribution:n})})(n);t(r)},n)})(function(t){const{attribution:e,value:n}=t;xe.add({largestContentfulPaint:Math.round(n),largestContentfulPaintTarget:e.target})}),((t,r={})=>{x(r=>{const i=(t=>{let r={timeToFirstByte:0,firstByteToFCP:t.value,loadState:n(c())};if(t.entries.length){const i=e(),o=t.entries.at(-1);if(i){const e=i.activationStart||0,s=Math.max(0,i.responseStart-e);r={timeToFirstByte:s,firstByteToFCP:t.value-s,loadState:n(t.entries[0].startTime),navigationEntry:i,fcpEntry:o}}}return Object.assign(t,{attribution:r})})(r);t(i)},r)})(function(t){const{value:e}=t;xe.add({firstContentfulPaint:Math.round(e)})}),((t,e={})=>{const r=s(e=Object.assign({},e),I);let o=[],a=[],c=0;const l=new WeakMap,h=new WeakMap;let p=!1;const g=()=>{p||(N(v),p=!0)},v=()=>{const t=r.l.map(t=>l.get(t.entries[0])),e=a.length-50;a=a.filter((n,r)=>r>=e||t.includes(n));const n=new Set;for(const t of a){const e=y(t.startTime,t.processingEnd);for(const t of e)n.add(t)}const i=o.length-1-50;o=o.filter((t,e)=>t.startTime>c&&e>i||n.has(t)),p=!1};r.m=t=>{const e=t.startTime+t.duration;let n;c=Math.max(c,t.processingEnd);for(let r=a.length-1;r>=0;r--){const i=a[r];if(Math.abs(e-i.renderTime)<=8){n=i,n.startTime=Math.min(t.startTime,n.startTime),n.processingStart=Math.min(t.processingStart,n.processingStart),n.processingEnd=Math.max(t.processingEnd,n.processingEnd),n.entries.push(t);break}}n||(n={startTime:t.startTime,processingStart:t.processingStart,processingEnd:t.processingEnd,renderTime:e,entries:[t]},a.push(n)),(t.interactionId||"first-input"===t.entryType)&&l.set(t,n),g()},r.p=t=>{if(!h.get(t)){const n=t.entries[0].target;if(n){const r=e.generateTarget?.(n)??i(n);h.set(t,r)}}};const y=(t,e)=>{const n=[];for(const r of o)if(!(r.startTime+r.duratione)break;n.push(r)}return n},w=t=>{const e=t.entries[0],i=l.get(e),o=e.processingStart,s=Math.max(e.startTime+e.duration,o),a=Math.min(i.processingEnd,s),c=i.entries.sort((t,e)=>t.processingStart-e.processingStart),u=y(e.startTime,a),d=r.h.get(e.interactionId),m={interactionTarget:h.get(d),interactionType:e.name.startsWith("key")?"keyboard":"pointer",interactionTime:e.startTime,nextPaintTime:s,processedEventEntries:c,longAnimationFrameEntries:u,inputDelay:o-e.startTime,processingDuration:a-o,presentationDelay:s-a,loadState:n(e.startTime),longestScript:void 0,totalScriptDuration:void 0,totalStyleAndLayoutDuration:void 0,totalPaintDuration:void 0,totalUnattributedDuration:void 0};return(t=>{if(!t.longAnimationFrameEntries?.length)return;const e=t.interactionTime,n=t.inputDelay,r=t.processingDuration;let i,o,s=0,a=0,c=0,u=0;for(const c of t.longAnimationFrameEntries){a=a+c.startTime+c.duration-c.styleAndLayoutStart;for(const t of c.scripts){const c=t.startTime+t.duration;if(cu&&(o=t.startTime=e+n+r?"presentation-delay":"processing-duration",i=t,u=d)}}const d=t.longAnimationFrameEntries.at(-1),l=d?d.startTime+d.duration:0;l>=e+n+r&&(c=t.nextPaintTime-l),i&&o&&(t.longestScript={entry:i,subpart:o,intersectingDuration:u}),t.totalScriptDuration=s,t.totalStyleAndLayoutDuration=a,t.totalPaintDuration=c,t.totalUnattributedDuration=t.nextPaintTime-e-s-a-c})(m),Object.assign(t,{attribution:m})};f("long-animation-frame",t=>{o=o.concat(t),g()}),((t,e={})=>{if(!globalThis.PerformanceEventTiming||!("interactionId"in PerformanceEventTiming.prototype))return;const n=C();b(()=>{"interactionCount"in performance||z||(z=f("event",M,{type:"event",buffered:!0,durationThreshold:0}));let r,i=m("INP");const o=s(e,I),a=t=>{N(()=>{for(const e of t)o.u(e);const e=o.M();e&&e.T!==i.value&&(i.value=e.T,i.entries=e.entries,r())})},c=f("event",a,{durationThreshold:e.durationThreshold??40});r=d(t,i,E,e.reportAllChanges),c&&(c.observe({type:"first-input",buffered:!0}),n.onHidden(()=>{a(c.takeRecords()),r(!0)}),u(()=>{o.v(),i=m("INP"),r=d(t,i,E,e.reportAllChanges)}))})})(e=>{const n=w(e);t(n)},e)})(function(t){const{attribution:e,value:n}=t;if(null===ye)return void console.debug("⛔️ Shopify/perf-kit is not initialized");if(navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome"))return;if(_e())return;if(!De())return;ye.info.microSessionCount+=1;const{inputDelay:r,processingDuration:i,presentationDelay:o,longestScript:s,interactionTarget:a}=e,c=s?.entry?{slowest_script:s.entry.sourceURL,slowest_script_duration:Math.round(s.entry.duration)}:{};de({monorailRegion:ye.config.monorailRegion,schema:ue.OnInteraction,rawData:{...ye.info,...ye.config.storefrontData,...ye.performanceMetrics,interactionToNextPaint:Math.round(n),interactionToNextPaintTarget:a,longAnimationFrame:{input_delay:Math.round(r),processing_duration:Math.round(i),presentation_delay:Math.round(o),...c}}})},{reportAllChanges:!0}),((t,n={})=>{((t,n={})=>{let r=m("TTFB"),i=d(t,r,k,n.reportAllChanges);H(()=>{const o=e();o&&(r.value=Math.max(o.responseStart-h(),0),r.entries=[o],i(!0),u(()=>{r=m("TTFB",0),i=d(t,r,k,n.reportAllChanges),i(!0)}))})})(e=>{const n=(t=>{let e={waitingDuration:0,cacheDuration:0,dnsDuration:0,connectionDuration:0,requestDuration:0};if(t.entries.length){const n=t.entries[0],r=n.activationStart||0,i=Math.max((n.workerStart||n.fetchStart)-r,0),o=Math.max(n.domainLookupStart-r,0),s=Math.max(n.connectStart-r,0),a=Math.max(n.connectEnd-r,0);e={waitingDuration:i,cacheDuration:o-i,dnsDuration:s-o,connectionDuration:a-s,requestDuration:t.value-a,navigationEntry:n}}return Object.assign(t,{attribution:e})})(e);t(n)},n)})(function(t){const{value:e}=t;xe.add({timeToFirstByte:Math.round(e)})}),addEventListener("DOMContentLoaded",()=>{Ce="hidden"===document.visibilityState}),addEventListener("visibilitychange",()=>{"hidden"===document.visibilityState&&Be()});const Te=/bot|crawl|headless|curl|wget|python|spider|libwww-pearl|newrelic|datadog|sitebulb|site24x7/i;function _e(){return!!Te.test(navigator.userAgent)||!!(navigator.webdriver||document.__webdriver_evaluate||document.__selenium_evaluate||document.__webdriver_script_fn||document.__webdriver_script_func||document.__webdriver_script_function||document.$cdc_asdjflasutopfhvcZLmcfl_||document.$wdc_||window._Selenium_IDE_Recorder||window._phantom||window.__nightmare||window.callPhantom||window._phantom||window.__playwright__binding__||window.__pwInitScripts)}!function(){const{dataset:t}=document.currentScript;try{Se(function(t){if(!t.application)throw new Error("Application is missing");if(!["storefront-renderer","hydrogen","shop-web"].includes(t.application.toLowerCase()))throw new Error("Invalid application type");if("shop-web"!==t.application.toLowerCase()){if(!t.shopId)throw new Error("shopId is missing");if(!t.themeInstanceId&&!t.storefrontId)throw new Error("Either `themeInstanceId` or `storefrontId` must be defined");for(const e of["shopId","themeInstanceId","storefrontId"])if(t[e]&&isNaN(Number(t[e])))throw new Error(`Invalid ${e}`)}if(t.humannessScore&&isNaN(Number(t.humannessScore)))throw new Error("Invalid humannessScore");if(t.monorailRegion&&!["shop_domain","global","staging","canada"].includes(t.monorailRegion.toLowerCase()))throw new Error("Invalid monorail region");if(t.resourceTimingSamplingRate&&(isNaN(Number(t.resourceTimingSamplingRate))||Number(t.resourceTimingSamplingRate)<10||Number(t.resourceTimingSamplingRate)>100))throw new Error("Invalid resource timing sampling rate");return{storefrontData:{application:t.application.toLowerCase(),shopId:Number(t.shopId)||0,renderRegion:t.renderRegion,pageType:t.pageType,seoBot:"true"===t.seoBot,humannessScore:Number(t.humannessScore)||void 0,ja3Fingerprint:t.ja3Fingerprint,themeInstanceId:Number(t.themeInstanceId)||void 0,storefrontId:Number(t.storefrontId)||void 0,themeName:t.themeName||void 0,themeVersion:t.themeVersion||void 0,treatmentIds:oe(t.treatmentIds)},monorailRegion:t.monorailRegion,resourceTimingSamplingRate:Number(t.resourceTimingSamplingRate)||void 0,spaMode:"true"===t.spaMode,shs:"true"===t.shs,shsBeaconEndpoint:t.shsBeaconEndpoint||void 0,shsExportWithFetch:"true"===t.shsExportWithFetch,shsLogsSampleRate:Number(t.shsLogsSampleRate)||1}}(t))}catch(t){console.error("🚫 Error initializing PerfKit:",t.message)}}()}();













