PageSourceSearch

https://greenjoygarden.com/cdn/shopifycloud/perf-kit/shopify-perf-kit-3.9.6.min.js

js greenjoygarden.com collected 2026-10-06 19:45:12 UTC 83,936 bytes, 1 lines download raw bytes

1!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<performance.now())return t},n=t=>{if("loading"===document.readyState)return"loading";{const n=e();if(n){if(t<n.domInteractive)return"loading";if(0===n.domContentLoadedEventStart||t<n.domContentLoadedEventStart)return"dom-interactive";if(0===n.domComplete||t<n.domComplete)return"dom-content-loaded"}}return"complete"},r=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 a(t,e){return o.get(t)||o.set(t,new e),o.get(t)}let s=-1;const c=()=>s,u=t=>{addEventListener("pageshow",e=>{e.persisted&&(s=e.timeStamp,t(e))},!0)},l=(t,e,n,r)=>{let i,o;return a=>{e.value>=0&&(a||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)))}},d=t=>{requestAnimationFrame(()=>requestAnimationFrame(()=>t()))},h=()=>{const t=e();return t?.activationStart??0},f=(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}},m=(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))}},S=()=>{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)}}},C=t=>{document.prerendering?addEventListener("prerenderingchange",()=>t(),!0):t()},L=[1800,3e3],b=(t,e={})=>{C(()=>{const n=S();let r,i=f("FCP");const o=m("paint",t=>{for(const e of t)"first-contentful-paint"===e.name&&(o.disconnect(),e.startTime<n.firstHiddenTime&&(i.value=Math.max(e.startTime-h(),0),i.entries.push(e),r(!0)))});o&&(r=l(t,i,L,e.reportAllChanges),u(n=>{i=f("FCP"),r=l(t,i,L,e.reportAllChanges),d(()=>{i.value=performance.now()-n.timeStamp,r(!0)})}))})},x=[.1,.25],z=t=>t.find(t=>1===t.node?.nodeType)||t[0];let B=0,D=1/0,M=0;const T=t=>{for(const e of t)e.interactionId&&(D=Math.min(D,e.interactionId),M=Math.max(M,e.interactionId),B=M?(M-D)/7+1:0)};let _;const A=()=>_?B:performance.interactionCount??0;let N=0;class P{l=[];h=new Map;m;p;v(){N=A(),this.l.length=0,this.h.clear()}M(){const t=Math.min(this.l.length-1,Math.floor((A()-N)/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 I=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})}
1))},q=[200,500];class k{m;u(t){this.m?.(t)}}const U=[2500,4e3],E=[800,1800],j=t=>{document.prerendering?C(()=>j(t)):"complete"!==document.readyState?addEventListener("load",()=>j(t),!0):setTimeout(t)},H=()=>"undefined"==typeof window;function K(t,...e){if(0===e.length)return t;const n=e[0];return t[n]||(t[n]={}),K(t[n],...e.slice(1))}function O(t){try{return decodeURIComponent(t)}catch(t){return""}}function W(){if(!H())return window}function J(){var t,e;return!H()&&Boolean(null===(t=W())||void 0===t||null===(e=t.Shopify)||void 0===e?void 0:e.theme)}function F(){var t;return!H()&&Boolean(null===(t=W())||void 0===t?void 0:t.__CUSTOMER_ACCOUNT__)}function R(){try{return"undefined"!=typeof PerformanceServerTiming}catch{return!1}}const Z="",X="1",V="0",Y="p",G="a",$="m",Q="t",tt="m",et="a",nt="p",rt="s";function it(t){const e=function(){try{return document.cookie}catch{return!1}}()?document.cookie.split("; "):[];for(let n=0;n<e.length;n++){const[r,i]=e[n].split("=");if(t===O(r)){return O(i)}}}class ot{constructor(){if(ot.instance)return ot.instance;ot.instance=this}produce(t,e){if(!H())try{const n={schema_id:"customer_privacy_api_events/2.0",payload:{shop_domain:window.location.host,method_name:t,call_details:e||null}},r={accept:"*/*","accept-language":"en-GB,en-US;q=0.9,en;q=0.8","content-type":"application/json; charset=utf-8","x-monorail-edge-event-created-at-ms":String(Date.now()),"x-monorail-edge-event-sent-at-ms":String(Date.now())};if(!window.location.host.endsWith("spin.dev"))return fetch("https://monorail-edge.shopifysvc.com/v1/produce",{headers:r,body:JSON.stringify(n),method:"POST",mode:"cors",credentials:"omit"}).catch(()=>{});console.log("Monorail event from consent API:",r,n)}catch(t){}}}function at(){var t,e;return H()?{}:(null===(t=window.Shopify)||void 0===t||null===(e=t.customerPrivacy)||void 0===e?void 0:e.config)||{}}ot.instance=void 0;const st=/^https?:\/\/([^/]+)(\/api\/(?:unstable|2\d{3}-\d{2})\/graphql\.json(?=$|\?))?/;function ct(t,e){if("fetch"!==t.initiatorType)return!1;const n=t.name.match(st);if(!n)return!1;const[,r,i]=n;return r===e||!!i&&!(null==r||!r.endsWith(`.${e}`))}const ut="_cmp",lt="consentHeader";function dt(t=ut){let e;if(e=gt()&&ht(()=>function(t=ut){var e,n;if(H())return;const r=null===(e=performance)||void 0===e||null===(n=e.getEntriesByType)||void 0===n?void 0:n.call(e,"resource"),i=window.location.host;let o=mt[t];for(let e=r.length-1;e>=0;e--){const n=r[e];if(!ct(n,i))continue;const a=pt(n,t);if(a){o=a;break}}return mt[t]=o,o}(t))||ht(()=>ft(t)),!e){if(t!==ut)return;let e;try{e=sessionStorage.getItem(lt)}catch{}return e||void 0}try{e=decodeURIComponent(e)}catch{}return e}function ht(t){try{return t()}catch{return}}function ft(t=ut){var e,n;if(!vt()&&!function(){try{const t=performance.getEntriesByType("navigation")[0].serverTiming;return!!t&&0!=t.length}catch{return!1}}()){const t=new ot;let e="failed_to_fetch";try{e=navigator.userAgent}catch{}t.produce("navigationServerTiming",JSON.stringify({failed:!0,userAgent:e,apiSupported:R()})),function(){if(vt())return;K(W(),"Shopify","customerPrivacy").serverTimingSupportVerified=!0}()}const r=null===(e=performance)||void 0===e||null===(n=e.getEntriesByType)||void 0===n?void 0:n.call(e,"navigation");if(!r)return;const i=r.map(e=>pt(e,t)).find(t=>t);return i&&t===ut&&function(t){if(!H()){try{t=decodeURIComponent(t)}catch{}try{sessionStorage.setItem(lt,t)}catch{}}}(i),i}const mt={};function pt(t,e=ut){var n,r;if(t)return null===(n=t.serverTiming)||void 0===n||null===(r=n.find(t=>t.name==e))||void 0===r?void 0:r.description}function gt(){return!H()&&(function(){var t,e;const n=W();return!0===(null==n||null===(t=n.Shopify)||void 0===t||null===(e=t.customerPrivacy)||void 0===e?void 0:e.backendConsentEnabled)||!0===at().asyncVisitorState}()||!J()&&!F()&&!function(){if(H())return!1;try{return null!==document.querySelector('meta[name="serialized-trackingConsent"]')}catch{return!1}}())}function vt(){var t,e;const n=W();return null==n||null===(t=n.Shopify)||void 0===t||null===(e=t.customerPrivacy)||void 0===e?void 0:e.serverTimingSupportVerified}function yt(){if(!H()){var t,e;const n=(null===(t=window.Shopify)||void 0===t||null===(e=t.customerPrivacy)||void 0===e?void 0:e.injectedConsent)||at().injectedConsent;return n?O(n):void 0}}function wt(){var t;return null===(t=function(){var t;if(!H())return null===(t=window.Shopify)||void 0===t?void 0:t.customerPrivacy}())||void 0===t?void 0:t.consentStatus}function St(){let t;if(t=H()?yt():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?O(n):void 0}()||yt()||new URLSearchParams(window.location.search).get("_cs")||void 0||it("_tracking_consent")||dt(),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,a]=e;let s,c;try{s=e[5]?JSON.parse(e.slice(5).join("_")):void 0}catch{}if(a){const t=a.replace(/\*/g,"/").replace(/-/g,"+"),e=atob(t);let n="";for(let t=0;t<e.length;t++){const r=e.charCodeAt(t).toString(16);n+=1===r.length?"0"+r:r}c=[8,13,18,23].reduce((t,e)=>t.slice(0,e)+"-"+t.slice(e),n)}function u(t){const e=n.split(".")[0];return e.includes(t.toLowerCase())?V:e.includes(t.toUpperCase())?X:Z}function l(t){return n.includes(t.replace("t","s").toUpperCase())}return{v:"3",con:{CMP:{[et]:u(et),[nt]:u(nt),[tt]:u(tt),[rt]:u(rt)}},region:r||"",cus:s,purposes:{[G]:l(G),[Y]:l(Y),[$]:l($),[Q]:l(Q)},sale_of_data_region:"t"==o,display_banner:"t"==i,consent_id:c}}(t);return}(t)}function Ct(t){const e=function(){try{let t=St();if(!t)return;return t}catch{return}}();if(!e||!e.purposes)return!0;const n=e.purposes[t];return"boolean"!=typeof n||n}function Lt(){return Ct(G)}const bt=/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[0-9a-f]{4}-[0-9a-f]{12}$/;function xt(t,e){if("string"!=typeof t)return;if(!function(t){return!!t&&bt.test(t.trim().toLowerCase())}(t))return;const n=t.trim();if("00000000-0000-0000-0000-000000000000"===n)return;if("00000000-0000-0000-5000-000000000000"===n)return;return Number.isFinite(NaN)&&Date.now()>NaN?void 0:n}const zt="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx";function Bt(t){return zt.replace(/[xy]/g,e=>{const n=t();return("x"===e?n:3&n|8).toString(16)})}function Dt(){const t="undefined"!=typeof crypto?crypto:void 0;if("function"==typeof(null==t?void 0:t.randomUUID))return t.randomUUID();if("function"==typeof(null==t?void 0:t.getRandomValues)){const e=t.getRandomValues(new Uint8Array(36));let n=0;return Bt(()=>e[n++]%16)}return Bt(()=>16*Math.random()|0)}function Mt(t,e){const n=W();if(!n)return;const r=K(n,"Shopify","customerPrivacy","cachedToken");if(e){const n="_shopify_s"===t?18e5:31536e6;r[t]=e,r[t+"_expires_at"]=Date.now()+n}else delete r[t],delete r[t+"_expires_at"]}function Tt(t){if(!H())try{var e,n;return null===(e=document.querySelector(`meta[name="${t}"]`))||void 0===e||null===(n=e.getAttribute("content"))||void 0===n?void 0:n.trim()}catch{return}}function _t(t){const e=Tt(t);if(e)try{const t=JSON.parse(e);return"string"==typeof t?t.trim():void 0}catch{return}}function At(t){return void 0!==t&&Date.now()>t}function Nt(t,e){const n=xt(_t(e));if(n&&!At(function(t){const e=_t(`${t}Expiration`);if(!e)return;const n=Number(e);return Number.isFinite(n)?n:void 0}(e)))return n;const r=xt(Tt(t));return r&&!At(function(t){if(!H())try{var e,n;const r=null===(e=document.querySelector(`meta[name="${t}"]`))||void 0===e||null===(n=e.getAttribute("data-expiration"))||void 0===n?void 0:n.trim();if(!r)return;const i=Number(r);return Number.isFinite(i)?i:void 0}catch{return}}(t))?r:void 0}function Pt(){return Nt("shopify-y","serialized-shopifyY")}function It(){return Nt("shopify-s","serialized-shopifyS")}class qt{constructor(){if(this.endpoint="https://otlp-http-production.shopifysvc.com/v1/metrics",this.serviceName="consent-tracking-api",this.scopeName="consent-tracking-api-opentelemetry",qt.instance)return qt.instance;qt.instance=this}increment(t,e={}){if(!H()&&t)try{const n=this.buildMetricBody(t,e);if(window.location.host.endsWith("spin.dev"))return void console.log("OpenTelemetry metric from consent API:",n);if("function"!=typeof fetch)return;return fetch(this.endpoint,{headers:{accept:"*/*","content-type":"application/json; charset=utf-8"},body:JSON.stringify(n),method:"POST",mode:"cors",credentials:"omit"}).catch(()=>{})}catch(t){}}buildMetricBody(t,e){const n=1e6*Date.now();return{resourceMetrics:[{resource:{attributes:[{key:"service.name",value:{stringValue:this.serviceName}}]},scopeMetrics:[{scope:{name:this.scopeName,version:"1.0.0",attributes:[]},metrics:[{name:t,unit:"1",sum:{aggregationTemporality:1,isMonotonic:!0,dataPoints:[{asDouble:1,startTimeUnixNano:n,timeUnixNano:n,attributes:kt(e)}]}}]}]}]}}}function kt(t){return Object.keys(t).reduce((e,n)=>{const r=t[n];return null==r||e.push({key:n,value:Ut(r)}),e},[])}function Ut(t){return"string"==typeof t?{stringValue:t}:"boolean"==typeof t?{boolValue:t}:isFinite(t)?Math.floor(t)===t?{intValue:t}:{doubleValue:t}:{stringValue:String(t)}}qt.instance=void 0;const Et=new qt;function jt(t,e){try{const n=function(){try{return window.location.href.includes("debug_token_source_instrumentation_force")}catch{return!1}}();if(!n&&Math.random()>=.01)return;const r={token:"_shopify_y"===t?"unique":"visit",source:e,forced:n,sample_rate:.01};n&&console.log("consent_tracking_api_tracking_token_read",r),Et.increment("consent_tracking_api_tracking_token_read",r)}catch{}}function Ht(){const t=document.querySelector('[data-serialized-id="app-base-path"]');if(F()||t){var e;const n=document.querySelector('[data-serialized-id="preview-mode-
1data"]');if("/"!==JSON.parse((null==t?void 0:t.textContent)||"null")||!1!==(null===(e=JSON.parse((null==n?void 0:n.textContent)||"null"))||void 0===e?void 0:e.inPreviewMode))return;return new URL("/customer/api/unstable/graphql",window.location.origin).href}const{protocol:n,host:r}=function(){const t=at().consentDomain||window.location.host;return{protocol:/^(localhost|127\.0\.0\.1)(:|$)/.test(t)?"http:":"https:",host:t}}();return`${n}//${r}/api/unstable/graphql.json`}async function Kt(t){try{var e;if(n=.01,!(Math.random()<n))return;let r=null;if(t)try{const e=await t.json();r=Array.isArray(null==e?void 0:e.errors)&&e.errors.length>0}catch{}!function(t,e,n){(new ot).produce("persistOutcome",JSON.stringify({ok:t,status:e,graphqlErrors:n,sampleRate:.01}))}(!(null==t||!t.ok),null!==(e=null==t?void 0:t.status)&&void 0!==e?e:null,r)}catch{}var n}const Ot={};function Wt(t){const e=function(t){try{var e,n;const o=null===(e=performance)||void 0===e||null===(n=e.getEntriesByType)||void 0===n?void 0:n.call(e,"resource");if(!o)return;const a=window.location.host;for(let e=o.length-1;e>=0;e--){var r,i;const n=o[e];if(!ct(n,a))continue;const s=null===(r=n.serverTiming)||void 0===r||null===(i=r.find(e=>e.name===t))||void 0===i?void 0:i.description;if(s)return s}return}catch{return}}(t);return e&&(Ot[t]=e),e}function Jt(t){if(gt()){const e=Wt(t);if(e)return{value:e,source:"resource"};const n=Ot[t];if(n)return{value:n,source:"cache"}}const e=function(t){try{var e,n,r,i;return null===(e=performance)||void 0===e||null===(n=e.getEntriesByType("navigation")[0])||void 0===n||null===(r=n.serverTiming)||void 0===r||null===(i=r.find(e=>e.name==t))||void 0===i?void 0:i.description}catch{return}}(t);return e?{value:e,source:"navigation"}:{value:void 0,source:null}}function Ft(t,e,{generateFallback:n=!1,tag:r="unknown"}={}){if(n&&H())throw new Error("Token generateFallback is not supported in Node.js environments, just browsers.");if(!Lt()&&!Ct($))return;const i=function(t){var e,n,r,i,o,a;const s=W();if(!s)return;const c=null===(e=s.Shopify)||void 0===e||null===(n=e.customerPrivacy)||void 0===n||null===(r=n.cachedToken)||void 0===r?void 0:r[t],u=null===(i=s.Shopify)||void 0===i||null===(o=i.customerPrivacy)||void 0===o||null===(a=o.cachedToken)||void 0===a?void 0:a[t+"_expires_at"];return!c||!u||u<(new Date).getTime()?void 0:xt(c)}(t);if(i)return jt(t,"window_cache"),i;const o=W();if(function(t){if(!t)return!1;try{const e=Object(t);return Reflect.has(e,"trackingUnique")||Reflect.has(e,"trackingVisit")}catch{return!1}}(null==o?void 0:o.ShopPay)){const e=function(t){const e=W();if(!e||!e.ShopPay)return;const n={_shopify_y:"trackingUnique",_shopify_s:"trackingVisit"}[t];if(!n)return;return xt(e.ShopPay[n])}(t);return jt(t,"shop_pay"),e}const a=e();if(a)return jt(t,"meta"),a;const s=function(t){const e=t.replace("_shopify",""),n=Jt(e),r=Number(Jt(`${e}e`).value);if(!r||Date.now()/1e3<r){const e=xt(n.value);return e&&jt(t,n.source?`server_timing_${n.source}`:"server_timing_unknown"),e}}(t);if(s)return s;const c=xt(function(t){try{var e,n,r,i;return null===(e=document.cookie)||void 0===e||null===(n=e.split(";"))||void 0===n||null===(r=n.find(e=>e.trim().startsWith(`${t}=`)))||void 0===r||null===(i=r.split("=")[1])||void 0===i?void 0:i.trim()}catch{return}}(t));if(c)return jt(t,"cookie"),c;jt(t,"missing");try{if(!n)return;if(!0===at().asyncConsent&&"loaded"!==wt())return;!function(t,e=!1,n="unknown"){var r,i;Et.increment("consent_tracking_api_tracking_token_missing");const o=W();(new ot).produce("trackingTokenMissing",JSON.stringify({token:t,hasTrekkie:!(null==o||!o.ShopifyAnalytics),hasTheme:!(null==o||null===(r=o.Shopify)||void 0===r||!r.theme),domain:null==o||null===(i=o.location)||void 0===i?void 0:i.hostname,fallbackRequested:e,tag:n}))}(t,n,r);const e=Rt()?void 0:Dt(),i=Zt()?void 0:Dt();return e&&Mt("_shopify_y",e),i&&Mt("_shopify_s",i),function(t,e){if(!H())try{const n=xt(t),r=xt(e);if(!n&&!r)return;const i=Ht();if(!i)return;const o=new URLSearchParams,a={"content-type":"application/json"};n&&(o.set("_y",n),a["X-Shopify-UniqueToken"]=n),r&&(o.set("_s",r),a["X-Shopify-VisitToken"]=r);const s=`${i}?${o.toString()}`;let c;try{c=fetch(s,{headers:a,body:JSON.stringify({query:"query { consentManagement { cookies(visitorConsent:{}) { cookieDomain } } }",variables:{}}),method:"POST",mode:"cors",credentials:"include"})}catch(t){c=Promise.reject(t)}c.then(t=>Kt(t),()=>Kt(void 0))}catch{}}(e,i),"_shopify_y"===t?e:i}catch{}}function Rt({generateFallback:t=!1,tag:e="unknown"}={}){return Ft("_shopify_y",Pt,{generateFallback:t,tag:e})}function Zt({generateFallback:t=!1,tag:e="unknown"}={}){return Ft("_shopify_s",It,{generateFallback:t,tag:e})}function Xt(){return Lt()}function Vt(t,e){if(!{}.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}!function(){try{var t,e,n,r,i;if(H()||J())return;if("function"!=typeof(null===(t=performance)||void 0===t?void 0:t.setResourceTimingBufferSize))return;if((null!==(e=null===(n=(r=performance).getEntriesByType)||void 0===n||null===(i=n.call(r,"resource"))||void 0===i?void 0:i.length)&&void 0!==e?e:0)>=1e3)return;performance.setResourceTimingBufferSize(1e3)}catch{}}();var Yt=0;function Gt(t){return"__private_"+Yt+++"_"+t}function $t(t){return Object.entries(t).map(([t,e])=>({key:t,value:{stringValue:String(e)}}))}function Qt(t){if(Array.isArray(t))return{arrayValue:{values:t.map(t=>Qt(t))}};switch(typeof t){case"boolean":return{boolValue:Boolean(t)};case"number":return{doubleValue:Number(t)};default:return{stringValue:String(t)}}}const te=function(t,e,n){const r=[0];for(let i=0;i<n;i++){const n=Math.floor(t*e**i);
1r.push(n)}return r}(5,2,12);var ee=Gt("exporter"),ne=Gt("attributes"),re=Gt("metrics"),ie=Gt("logs");class oe{constructor({exporter:t,attributes:e}){Object.defineProperty(this,ee,{writable:!0,value:void 0}),Object.defineProperty(this,ne,{writable:!0,value:void 0}),Object.defineProperty(this,re,{writable:!0,value:[]}),Object.defineProperty(this,ie,{writable:!0,value:[]}),Vt(this,ee)[ee]=t,Vt(this,ne)[ne]=null!=e?e:{}}addAttributes(t){Vt(this,ne)[ne]={...Vt(this,ne)[ne],...t}}histogram({name:t,value:e,unit:n,bounds:r,attributes:i,scale:o,requiresKeepalive:a}){const s=1e6*Date.now();r?Vt(this,re)[re].push({name:t,type:"histogram",value:e,unit:n,timeUnixNano:s,attributes:i,bounds:r,requiresKeepalive:a}):Vt(this,re)[re].push({name:t,type:"exponential_histogram",value:e,unit:n,timeUnixNano:s,attributes:i,scale:o,requiresKeepalive:a})}counter({name:t,value:e,unit:n,attributes:r,requiresKeepalive:i}){const o=1e6*Date.now();Vt(this,re)[re].push({name:t,type:"counter",value:e,unit:n,timeUnixNano:o,attributes:r,requiresKeepalive:i})}gauge({name:t,value:e,unit:n,attributes:r,requiresKeepalive:i}){const o=1e6*Date.now();Vt(this,re)[re].push({name:t,type:"gauge",value:e,unit:n,timeUnixNano:o,attributes:r,requiresKeepalive:i})}log({body:t,attributes:e,requiresKeepalive:n}){const r=1e6*Date.now();Vt(this,ie)[ie].push({timeUnixNano:r,body:t,attributes:e,requiresKeepalive:n})}async exportMetrics(){Vt(this,re)[re].forEach(t=>{t.attributes={...Vt(this,ne)[ne],...t.attributes}});const t=Vt(this,re)[re];Vt(this,re)[re]=[],await this.exportByKeepalive(t,(t,e)=>Vt(this,ee)[ee].exportMetrics(this.aggregateMetrics(t),e))}async exportLogs(){const t=Vt(this,ie)[ie];Vt(this,ie)[ie]=[],await this.exportByKeepalive(t,(t,e)=>Vt(this,ee)[ee].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:a,attributes:s}=e,c=null!==(n=e.bounds)&&void 0!==n?n:te,u=new Array(c.length+1).fill(0);t[r]||={name:r,unit:o||"1",histogram:{aggregationTemporality:1,dataPoints:[]}};for(let t=0;t<u.length;t++){const e=c[t];if(void 0===e)u[t]=1;else if(i<=e){u[t]=1;break}}t[r].histogram.dataPoints.push({startTimeUnixNano:a,timeUnixNano:a,count:1,sum:i,min:i,max:i,bucketCounts:u,explicitBounds:c,attributes:$t(null!=s?s:{})})}(e,t);break;case"exponential_histogram":!function(t,e){const{name:n,value:r,unit:i,timeUnixNano:o,attributes:a,scale:s}=e;t[n]||={name:n,unit:i||"1",exponentialHistogram:{aggregationTemporality:1,dataPoints:[]}};const c=r<=0?0:r,u=s||3,l=2**u/Math.log(2),d=Math.ceil(Math.log(r)*l)-1,h=r<=0?1:0,f={offset:0,bucketCounts:[]},m={offset:r>0?d:0,bucketCounts:r>0?[1]:[]};t[n].exponentialHistogram.dataPoints.push({attributes:$t(null!=a?a:{}),startTimeUnixNano:o,timeUnixNano:o,count:1,sum:c,scale:u,zeroCount:h,positive:m,negative:f,min:c,max:c,zeroThreshold:0})}(e,t);break;case"counter":!function(t,e){const{name:n,value:r,unit:i,timeUnixNano:o,attributes:a}=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:$t(null!=a?a:{})})}(e,t);break;case"gauge":!function(t,e){const{name:n,value:r,unit:i,timeUnixNano:o,attributes:a}=e;t[n]||={name:n,unit:i||"1",gauge:{dataPoints:[]}},t[n].gauge.dataPoints.push({startTimeUnixNano:o,timeUnixNano:o,asDouble:r,attributes:$t(null!=a?a:{})})}(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={...Vt(this,ne)[ne],...t.attributes},Object.entries(n).map(([t,e])=>({key:t,value:Qt(e)})))};var n;return t.body&&(e.body={stringValue:t.body}),e})}}var ae=Gt("url"),se=Gt("serviceName"),ce=Gt("logger"),ue=Gt("fetchFn"),le=Gt("maxPayloadSizeBytes");class de{constructor(t,e,n){var r;Object.defineProperty(this,ae,{writable:!0,value:void 0}),Object.defineProperty(this,se,{writable:!0,value:void 0}),Object.defineProperty(this,ce,{writable:!0,value:void 0}),Object.defineProperty(this,ue,{writable:!0,value:void 0}),Object.defineProperty(this,le,{writable:!0,value:void 0}),Vt(this,ae)[ae]=t.replace(/\/v1\/(logs|metrics|traces)\/?$/,""),Vt(this,se)[se]=e,Vt(this,ce)[ce]=null==n?void 0:n.logger,Vt(this,ue)[ue]=null==n?void 0:n.fetchFn,Vt(this,le)[le]=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:Vt(this,se)[se]}}]},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:Vt(this,se)[se]}}]},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>Vt(this,le)[le])throw new fe(`Payload size ${o} exceeds ${Vt(this,le)[le]} bytes`);const a=await this.exporterFetch()(`${Vt(this,ae)[ae]}${e}`,{method:"POST",keepalive:n,headers:{"Content-Type":"application/json"},body:i});if(null===(r=Vt(this,ce)[ce])||void 0===r||r.log({status:a.status}),!a.ok){if(400===a.status){const t=await a.text();throw new he(`Invalid OpenTelemetry Data: ${t}`)}if(429===a.status||503===a.status){const e=await a.text(),n=a.headers.get("Retry-After"),r=n?{seconds:Number(n)}:void 0;throw new he("Server did not accept data",{errorData:e,retryAfter:r,body:t})}if(401===a.status||403===a.status){const e=await a.text();throw new me(`Authentication failed: ${a.status} ${401===a.status?"Unauthorized":"Forbidden"}`,{errorData:e,body:t})}throw new he(`Server responded with ${a.status}`)}}exporterFetch(){return Vt(this,ue)[ue]||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 fe&&i>1))throw t;i=Math.ceil(i/2)}}}
1class he extends Error{constructor(t,e){super(t),this.metadata=void 0,this.name="OpenTelemetryClientError",this.metadata=e}}class fe extends Error{constructor(...t){super(...t),this.name="PayloadTooLargeError"}}class me extends Error{constructor(t,e){super(t),this.name="AuthenticationFailedError",this.metadata=void 0,this.name="AuthenticationFailedError",this.metadata=e}}var pe="2.5.1";function ge(){const t=["nJaXmZC2ohDTANDtrq","mJy4odG1sunvy3H2","nJCWvKjZyLjP","ndH4y05NC20","mtC3odC0mMTJBezxDW","nJGYnejmENndzq","mtq0nZm2ovHmC3ntra","mti2m2XXAurSAa","ndiYotfTCNrIyw0","mZqZntiXBxPTwLL1"];return(ge=function(){return t})()}function ve(t,e){const n=ge();return ve=function(e,r){let i=n[e-=298];if(void 0===ve.Pdyuqc){ve.xvTBWX=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<r;t++)n+="%"+("00"+e.charCodeAt(t).toString(16)).slice(-2);return decodeURIComponent(n)},t=arguments,ve.Pdyuqc=!0}const o=e+n[0],a=t[o];return a?i=a:(i=ve.xvTBWX(i),t[o]=i),i},ve(t,e)}function ye(){const t=["zMLSBfjLy3q","DxnLCKfNzw50","y2fUDMfZ","yMX1zq","zM9UDa","ywrKq29SB3jtDg9W","D2LUzg93","zg9JDw1LBNq","ngLduxv5rG","u2HVCgLMEsbtDg9YzwzYB250","C3rYAw5N","Aw5JBhvKzxm","mtzWEcbbCMLHBa","DgvZDa","Dg9eyxrHvvjm","y3jLyxrLrwXLBwvUDa","AgvPz2H0","i2zMzG","mJaWnZmWmefyDfDLtq","zgv2AwnLugL4zwXsyxrPBW","z2v0q29UDgv4Da","mJuZndC3nM5SzMvNwa","nJmZnJiXtLz3Dhnt","CMvK","tw9IAwXL","mtq4mdiXsLbWDKvN","BgfUz3vHz2vZ","BMf2AwDHDg9Y","mtqWsxvmsgXV","ndKZmtKXyMLAshLL","zg9JDw1LBNrfBgvTzw50","Aw5UzxjizwLNAhq","z2v0vgLTzxPVBMvpzMzZzxq","n0fqBg5qzG","y2XPzw50v2LKDgG","y3jLyxrLtgLUzwfYr3jHzgLLBNq","Dw5KzwzPBMvK","zMLSBfn0EwXL","y2XPzw50sgvPz2H0","CgX1z2LUCW","BgvUz3rO","D2vIzhjPDMvY","mtu1mtC2zvbKrNDX","Aw5UzxjxAwr0Aa","D2LKDgG","zMLSBfrLEhq","nZC3mZC1sxfZB01e"];return(ye=function(){return t})()}function we(t,e){const n=ye();return we=function(e,r){let i=n[e-=193];if(void 0===we.YhRKlb){we.JgepkC=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<r;t++)n+="%"+("00"+e.charCodeAt(t).toString(16)).slice(-2);return decodeURIComponent(n)},t=arguments,we.YhRKlb=!0}const o=e+n[0],a=t[o];return a?i=a:(i=we.JgepkC(i),t[o]=i),i},we(t,e)}function Se(t,e){try{let n=0;t[we(207)][we(206)]&&t[we(207)][we(206)][we(220)]>0&&n++,(t[we(207)][we(219)]&&t[we(207)][we(219)][we(220)]>0||typeof e===we(237)&&e[we(238)](we(204)))&&n++,function(t){const e=t[we(233)][we(223)]||t[we(234)][we(210)][we(214)],n=t[we(233)][we(211)]||t[we(234)][we(210)][we(218)];if(!e||!n||e<=2||n<=2)return!1;const r=e/n;return r>=.2&&r<=5}(t)&&n++,typeof t[we(233)][we(199)]!==we(216)&&n++;try{const t=(new Date)[we(212)]();t>-840&&t<840&&n++}catch{return n>=3?1:0}return n>=3?1:0}catch{return 0}}function Ce(t){const e=function(t){try{return t[we(207)][we(221)]?1:0}catch{return 0}}(t),[n,r]=function(t){try{const e=t[we(207)][we(228)];try{return[e,String(e)]}catch{return[e,void 0]}}catch{return[void 0,void 0]}}(t),i=function(t){return void 0!==t&&/bot|crawler|spider|scraper/i[we(193)](t)?0:1}(r),o=function(t){try{const e=t[we(234)][we(195)](we(229));e[we(224)]=200,e[we(196)]=50;const n=e[we(200)]("2d");if(null===n)return 0;const r=n[we(215)](0,0,200,0);r[we(232)](0,we(203)),r[we(232)](1,we(230)),n[we(217)]=r,n[we(227)](0,0,200,50),n[we(217)]=we(197),n[we(231)]=we(239),n[we(225)](we(236),33,30);const i=e[we(194)]();return i&&i[we(220)]>50?1:0}catch{return 0}}(t);return{wd:e,ua:i,cv:o,br:Se(t,n)}}function Le(t,e){var n=be();return Le=function(e,r){var i=n[e-=425];if(void 0===Le.CJOTye){Le.wBbCDt=function(t){for(var e,n,r="",i="",o=0,a=0;n=t.charAt(a++);~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 s=0,c=r.length;s<c;s++)i+="%"+("00"+r.charCodeAt(s).toString(16)).slice(-2);return decodeURIComponent(i)},t=arguments,Le.CJOTye=!0}var o=e+n[0],a=t[o];return a?i=a:(i=Le.wBbCDt(i),t[o]=i),i},Le(t,e)}function be(){var t=["ntuXndCXnfv4tMTmua","mtyXmJu5nvfbCxvrAW","nZG0nZm3ogPxEgDSzW","mtCZntr2t2jjEgK","mJGYnty2ntziAxnVu2O","mZm2mJG1m1fNtfPLwq","mta2yKTsugLK","mJGZmJKWmezNBvn0sG"];return(be=function(){return t})()}function xe(){const t=["mtGXntu5ovn6wePUBa","w0vYCM9Yxsa","C2nOzwr1BgvfCNjVCKzSDxnO","zxjYB3jgBhvZAerLBgf5","C3rKB3v0","Bg9NrxjYB3i","C2fTCgXLuMf0zq","w1niuYbfCNjVCL0G","otu4mdCYnwDID3zWtq","nte0nta2m3rHzM9msa","mZCYDLD6rejk","y2f0y2G","nZq2nhHRuhjPEG","C3rHy2S","mZm5Cw9ezgDd","B3rLBenSAwvUDa","nJm5nZbVuK9Azem","mte3ouLUs3n2Aa","ntbrueHIsLK","zxjYB3jgBhvZAfrPBwvVDxrjza","zxjYB3i","C2v0vgLTzw91Da","C2fTCgXLs2v5","w1niu10Gt3rLBcbLEhbVCNqGBg9NCYbMywLSDxjLoIa","mtaXmtqWogrfs0fgqq","zMX1C2HpDgvStg9NCW","mJqZmJHNA3vJuNm","Bg9N","BwvZC2fNzq","zxHWB3j0tg9NCW"];return(xe=function(){return t})()}function ze(t,e){const n=xe();return ze=function(e,r){let i=n[e-=111];if(void 0===ze.SmWaxF){ze.RqcEeg=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
1+/=".indexOf(r);for(let t=0,r=e.length;t<r;t++)n+="%"+("00"+e.charCodeAt(t).toString(16)).slice(-2);return decodeURIComponent(n)},t=arguments,ze.SmWaxF=!0}const o=e+n[0],a=t[o];return a?i=a:(i=ze.RqcEeg(i),t[o]=i),i},ze(t,e)}!function(t){const e=t();for(;;)try{if(559205===-parseInt(ve(298))/1+-parseInt(ve(303))/2+-parseInt(ve(306))/3*(-parseInt(ve(304))/4)+-parseInt(ve(300))/5*(-parseInt(ve(302))/6)+parseInt(ve(305))/7+parseInt(ve(299))/8+-parseInt(ve(307))/9*(parseInt(ve(301))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(ge),function(t){const e=t();for(;;)try{if(192598===-parseInt(we(205))/1+-parseInt(we(222))/2+-parseInt(we(202))/3+-parseInt(we(235))/4*(parseInt(we(226))/5)+parseInt(we(198))/6*(parseInt(we(213))/7)+-parseInt(we(201))/8+parseInt(we(209))/9*(parseInt(we(208))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(ye),function(t){for(var e=t();;)try{if(662354===parseInt(Le(427))/1*(-parseInt(Le(432))/2)+parseInt(Le(426))/3+-parseInt(Le(428))/4+-parseInt(Le(430))/5+-parseInt(Le(429))/6+-parseInt(Le(431))/7+parseInt(Le(425))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(be),function(t){const e=t();for(;;)try{if(951710===parseInt(ze(124))/1+-parseInt(ze(120))/2*(parseInt(ze(138))/3)+-parseInt(ze(134))/4*(-parseInt(ze(140))/5)+parseInt(ze(118))/6+parseInt(ze(132))/7+parseInt(ze(136))/8*(parseInt(ze(111))/9)+parseInt(ze(112))/10*(-parseInt(ze(133))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(xe);class Be{[ze(139)];[ze(130)];[ze(128)];[ze(116)];[ze(113)];[ze(127)]=1e3;constructor(t,e,n=0,r){this[ze(128)]=t,this[ze(139)]=e,this[ze(130)]=n,this[ze(116)]=r}[ze(121)](t,e=!1){this[ze(128)]&&console[ze(121)](t),this[ze(139)]&&e&&this[ze(139)][ze(121)]({body:t})}[ze(129)](t,e){const n=t instanceof Error?t[ze(122)]:String(t),r=t instanceof Error?t[ze(137)]:void 0;this[ze(128)]&&console[ze(114)](ze(131)+e+": "+n,r),this[ze(139)]&&(this[ze(139)][ze(121)]({body:ze(125)+e+": "+n+(r?"\n"+r:"")}),this[ze(126)]())}async[ze(119)](){if(this[ze(139)]&&void 0!==this[ze(116)]&&!(this[ze(116)]%100>=this[ze(130)]))try{await this[ze(139)][ze(123)]()}catch(t){this[ze(128)]&&console[ze(121)](ze(117)+t)}}[ze(126)](){this[ze(113)]&&clearTimeout(this[ze(113)]),this[ze(113)]=window[ze(115)](()=>{this[ze(119)]()[ze(135)](()=>{})},this[ze(127)])}}function De(){const t=["nZe4ndu0ngXdCMLNyG","nJe2mtiYufHHwuTl","mJa2nJbPCNnVs1y","BgvUz3rO","nxbhu2P0tW","otK4ndGWEvDpqvvA","nK5LzMXqAa","mteYota3ne9fuKLfqW","y2HHCKnVzgvbDa","nejorejovq","mJG2mtborhH5rvy","ywjZ","mtz1BeTjtfu","ndaYotC2vxvNEvHz","mte3n1ffrurgqG"];return(De=function(){return t})()}function Me(t,e){const n=De();return Me=function(e,r){let i=n[e-=202];if(void 0===Me.VgNNma){Me.qFCzkh=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<r;t++)n+="%"+("00"+e.charCodeAt(t).toString(16)).slice(-2);return decodeURIComponent(n)},t=arguments,Me.VgNNma=!0}const o=e+n[0],a=t[o];return a?i=a:(i=Me.qFCzkh(i),t[o]=i),i},Me(t,e)}!function(t){const e=t();for(;;)try{if(194296===parseInt(Me(213))/1*(-parseInt(Me(206))/2)+-parseInt(Me(210))/3*(parseInt(Me(202))/4)+-parseInt(Me(208))/5*(parseInt(Me(211))/6)+-parseInt(Me(209))/7+-parseInt(Me(216))/8*(parseInt(Me(205))/9)+parseInt(Me(214))/10*(parseInt(Me(203))/11)+parseInt(Me(204))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(De),function(t){const e=t();for(;;)try{if(171431===parseInt(qe(489))/1+parseInt(qe(374))/2*(parseInt(qe(544))/3)+parseInt(qe(390))/4*(-parseInt(qe(533))/5)+-parseInt(qe(469))/6+-parseInt(qe(451))/7*(parseInt(qe(502))/8)+parseInt(qe(437))/9+-parseInt(qe(551))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(He);const Te=qe(506),_e=qe(415),Ae=qe(377),Ne=qe(549),Pe=qe(405);function Ie(){return{document:document,navigator:typeof navigator!==qe(418)?{get webdriver(){return navigator[qe(338)]},get userAgent(){return navigator[qe(350)]},get languages(){return navigator[qe(554)]},get plugins(){return navigator[qe(540)]},sendBeacon:navigator[qe(500)]?.[qe(356)](navigator)}:{webdriver:void 0,userAgent:"",languages:[],plugins:[],sendBeacon:void 0},window:window,screen:screen,performance:typeof performance!==qe(418)?performance:void 0}}function qe(t,e){const n=He();return qe=function(e,r){let i=n[e-=323];
1if(void 0===qe.AalUmR){qe.vNmgng=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<r;t++)n+="%"+("00"+e.charCodeAt(t).toString(16)).slice(-2);return decodeURIComponent(n)},t=arguments,qe.AalUmR=!0}const o=e+n[0],a=t[o];return a?i=a:(i=qe.vNmgng(i),t[o]=i),i},qe(t,e)}function ke(t){if(t[qe(486)]<2)return{speed:0,jitter:0};const e=t[qe(406)]((t,e)=>t+e.s,0)/t[qe(486)],n=t[qe(406)]((t,n)=>t+(n.s-e)**2,0)/(t[qe(486)]-1),r=Math[qe(426)](n);return{speed:e,jitter:r}}function Ue(t,e,n,r,i,o,a,s,c,u,l,d,h){const f=Math[qe(518)](1e3,t),m=Math[qe(518)](1e3,n),p=Math[qe(518)](1e3,o),g=Math[qe(518)](1e3,s),v=Math[qe(518)](1e3,a),y=Math[qe(518)](1e3,c),w=[];if(e[qe(486)]>=3)for(let t=1;t<e[qe(486)];t++){const n=e[t].x-e[t-1].x,r=e[t].y-e[t-1].y,i=e[t].t-e[t-1].t;if(0===i)continue;const o=Math[qe(426)](n*n+r*r)/i;w[qe(428)]({s:o})}const S=function(t){if(t[qe(486)]<2)return!1;let e=!1,n=null;for(const r of t)if(null!==n){if(Math[qe(389)](r.s-n)>5e-4){e=!0;break}n=r.s}else n=r.s;return e}(w),C=function(t){if(t[qe(486)]<3)return 0;let e=0,n=0;for(let r=1;r<t[qe(486)];r++){const i=t[r-1],o=t[r],a=t[r+1];if(!i||!o||!a)continue;const s=Math[qe(391)](o.y-i.y,o.x-i.x),c=Math[qe(391)](a.y-o.y,a.x-o.x),u=Math[qe(389)](c-s);(u<Math.PI/12||u>2*Math.PI-Math.PI/12)&&e++,n++}return n>0?e/n:0}(e),{speed:L,jitter:b}=ke(w);let x=0,z=0;if(r[qe(486)]>1){const t=new Set(r[qe(376)](t=>Math[qe(364)](t.x/20)+","+Math[qe(364)](t.y/20)))[qe(515)];x=t>1?1:0,z=r[qe(406)]((t,e)=>t+e[qe(505)],0)/r[qe(486)]}const B=i[qe(406)]((t,e)=>(null===e[qe(394)]||t[qe(428)](e[qe(394)]),t),[]),{rhythmConsistency:D,jitter:M}=function(t){if(t[qe(486)]<2)return{rhythmConsistency:0,jitter:0};const e=t[qe(406)]((t,e)=>t+e,0)/t[qe(486)],n=t[qe(406)]((t,n)=>(t??0)+((n??0)-e)**2,0)/t[qe(486)],r=Math[qe(426)](n);return{rhythmConsistency:0===r?1:Math[qe(497)](0,1-r/e),jitter:r/e}}(B),T=B[qe(486)]>0?B[qe(406)]((t,e)=>t+e,0)/B[qe(486)]:0,_=[];if(u[qe(486)]>=3)for(let t=1;t<u[qe(486)];t++){const e=Math[qe(389)](u[t].p-u[t-1].p),n=Math[qe(497)](1,u[t].t-u[t-1].t);if(0===n)continue;const r=e/n,i=u[t].p>u[t-1].p?qe(459):"up";_[qe(428)]({s:r,dir:i,t:u[t].t})}const{speed:A,jitter:N}=ke(_),P=function(t){if(t[qe(486)]<2)return 0;let e=0;for(let n=1;n<t[qe(486)];n++){const r=t[n-1],i=t[n];Math[qe(389)](i.s-r.s)<=(i.s+r.s)/2*2&&e++,i[qe(522)]===r[qe(522)]&&e++}return e/(2*(t[qe(486)]-1))}(_),I=Math[qe(518)](1e3,function(t){if(t[qe(486)]<2)return 0;let e=0,n=0;for(let r=1;r<t[qe(486)];r++)t[r].t-t[r-1].t>=500&&t[r].t-n>=500&&(e++,n=t[r].t);return e}(_)),{speed:q,jitter:k}=ke(l),U=function(t){if(t[qe(486)]<2)return 0;let e=0;for(let n=1;n<t[qe(486)];n++){const r=t[n-1],i=t[n];Math[qe(389)](i.s-r.s)<=50&&e++}return e/(t[qe(486)]-1)}(l),E=Math[qe(518)](1e3,function(t){if(t[qe(486)]<2)return 0;let e=0;for(let n=1;n<t[qe(486)];n++)t[n].t-t[n-1].t>=500&&e++;return e}(l)),j=Math[qe(364)]((h-d)/1e3);return{ma:f,ca:m,ka:p,sa:g,ta:y,kba:v,t:Math[qe(518)](3600,j),nm:S?1:0,ms:je(C),mj:je(b),msp:je(L),vc:x,cp:je(z),rc:je(D),kj:je(M),ki:je(T),ss:je(A),sj:je(N),ssm:je(P),sp:I,ts:je(q),tj:je(k),tp:E,tsm:je(U)}}function Ee(t,e){let n=0;return(...r)=>{const i=typeof performance!==qe(418)?performance[qe(494)]():Date[qe(494)]();i-n>=e&&(n=i,t(...r))}}function je(t){return Math[qe(525)](100*t)/100}function He(){const t=["DgvZDa","BxvSDgLWBgvFCgfNzxnFDMLZAxrLza","C2v0sxrLBq","B3jPz2LU","zxHWB3j0v2L0AezLDgnO","x3nOC19Jyw5KAwrHDgvFC2fTCgXLx2j1y2TLDf92mq","CMvKDwnL","zg9JDw1LBNq","zM9YrwfJAa","C2nOzwr1BgvczwfJB25szxrYEq","CMvXDwvZDenHBMrPzgf0zufJDgL2zvbHz2vgBhvZAa","Dg9W","CgvYAw9KAwm","DgLTzvn0yw1W","z2v0qwjZB2X1DgvvCMW","CgvYzI1RAxqTAhvTyw4TC2LNBMfSCW","CMvXDwvZDeLKBgvdywXSyMfJAW","ue9tva","Dw5KzwzPBMvK","AxngAw5PDgu","zhvYyxrPB24","CMvZB2X2zq","CgfYC2u","y2fUzgLKyxrLqwn0AxzLugfNzuzSDxnOrw5HyMXLza","Dg91y2HLCW","Dg91y2HfDMvUDhm","C3fYDa","C3rHCNrZv2L0Aa","ChvZAa","DxbKyxrLsw50zxj2ywXjza","q2fUzgLKyxrLihnPz25HBcbLCNjVCIbPBIa","y29UzMLN","C2nYB2XS","q2fUzgLKyxrLihnPz25HBcbPBML0AwfSAxPHDgLVBG","BMf0DxjHBf9TB3vZzv9Hy3rPDML0Eq","y2fUzgLKyxrLuxvLDwvuCMfJA2LUzW","ywz0zxiTzMv0y2GTC3vJy2vZCW","mtCYmtm3nM9zDLzREq","D2LKDgG","rxzLBNqGAgfUzgXLCIbLCNjVCIbPBIa","AgvPz2H0","yM90x3vZzxjFywDLBNq","yNjVD3nLCL9LBNzPCM9UBwvUDf9UB3jTywW","DgHLBG","q2fUzgLKyxrLigXPzMvJEwnSzsbIzwfJB24","C2HVCeLK","AhjLzG","CgfJAW","z2v0rgLZDgf
1Uy2u","CgvYzM9YBwfUy2u","zMv0y2G","n1LIDfjMCa","zgvZDhjVEq","Bg9HzfnLC3nPB25tAwDUywXZ","C3rHDhvZ","A2v5yM9HCMrcDxjZDhm","z2v0vhjHBNnTAxr0ywjSzunHBMrPzgf0zvnPz25HBhm","BgfZDfnPz25HBhm","q2fUzgLKyxrLihnPz25HBcb0CMfUC21PC3nPB24","zg93BG","yMvHy29UuMv0CNLmAw1PDa","BgfZDfvWzgf0zvrPBwu","q2fUzgLKyxrLihnPz25HBcbJBgvHBNvW","C2v0vgLTzw91Da","C2vZC2LVBL9KDxjHDgLVBL9YzwfZB25HyMXL","u2HPzNq","Aw5JBhvKzq","Bw91C2vTB3zL","C3rHCNq","ndC0mZKWsK5cy2fo","A2v5CW","CYbZAw5JzsbSyxn0ihn1y2nLC3nMDwWGC2vUza","C3rHDgu","zw52AxjVBM1LBNq","D2LUzg93","C2fMzuv2zw50sgfUzgXLCG","Dg91y2HLBMq","zgvMyxvSDa","CMvHzenHBMrPzgf0zuvUDMvSB3bL","Bwf4u2LSzw5Jzu1Z","C2vZC2LVBLn0B3jHz2u","z2v0u2LNBMfSCW","y2HLy2TbBMrtzw5Ku2LNBMfSCW","Bw9UAxrVCKjLAgf2Aw9Y","A2v5rxzLBNrZ","A2v5qwn0AxzPDhK","BgvUz3rO","Bg9JyxrPB24","CMfUzg9T","mZe4mtG4AgH5sfng","Bg9N","yMvHy29Urw5KCg9PBNq","y2HHBMDL","B25dyw5KAwrHDgvtAwDUywXvCgrHDgu","BM93","Dg91y2Hby3rPDML0Eq","zw52AxjVBM1LBNrdAgvJA2vK","Bwf4","Bw91C2vqB3nPDgLVBNm","Aw5JBhvKzunHBMrPzgf0zvnPz25HBhm","C2vUzejLywnVBG","CMvMzxjYzxi","
1nJu4nJCYz21hruLM","CMvXDwvZDenHBMrPzgf0zuXPzMvJEwnSzuzSDxnO","C3rHCNruAw1L","ChjL","Ahr0Chm6lY9VDgXWlwH0DhaTChjVzhvJDgLVBI5ZAg9WAwz5C3zJlMnVBq","C2nYB2XSqwn0AxzPDhK","qMvHy29UihnLBMqGzgvIB3vUy2vKicH0B28GC29VBIbZAw5JzsbSyxn0ihnLBMqP","y2XPy2S","DxbKyxrLu2vZC2LVBKrHDge","y2HLy2S","Bw91C2vby3rPDML0Eq","D2vIzhjPDMvYx2rLDgvJDgvK","Dg91y2HZDgfYDa","C2L6zq","y2fUzgLKyxrL","y2fUzgLKyxrLq29SBgvJDg9Y","BwLU","C2f2zvnLC3nPB25tAwDUywXZ","q29UDhjVBa","Dg91y2HTB3zL","zgLY","qMvHy29UigzHAwXLzdOG","zw5HyMXLqwn0AxzLugfNzuzSDxnO","CM91BMq","C3rYAw5NAwz5","Bg9HzgLUzW","z2v0ugfJA2vKu2LNBMfSCW","DxbKyxrLsw50zxj2ywW","BgfZDfrVDwnOrxzLBNq","y2fUzgLKyxrLvxbKyxrLsw50zxj2ywW","z2v0q2fUzgLKyxrLu2LNBMfSCW","mtq1nZvJzhLAtuW","A2v5","Bw92zq","BwfYA1bHy2TLzfnPz25HBhnrDwv1zwq","DhjHBNnWB3j0","y2fUzgLKyxrLu2LNBMfSCW","y2XLyxjqywnRzwrtAwDUywXZuxvLDwvK","CgX1z2LUCW","CgfNzunVDw50","CMvWB3j0rw52zwXVCgvnAxnZAw5N","Bg9NC1nHBxbSzvjHDgu","m0DhtwvRwq","Aw5PDa","Ag9ZDg5HBwu","z2v0qM91BMrPBMDdBgLLBNrszwn0","C2nYB2XSwq","x3nOC19ZDgf0zq","CMvTB3zLrxzLBNrmAxn0zw5LCG","mJmWmti4mfzgzM5jCa","Bg9NrxjYB3i","C2LNBMLMAwnHBNrFCgfNzv90Aw1L","BgfUz3vHz2vZ","q2fUzgLKyxrLigfJDgL2zs1WywDLigjLywnVBG","z2v0ugfJA2vKq2fUzgLKyxrLu2LNBMfSCW","CMvHzhLtDgf0zq","BgvMDa","zw52zwXVCgvnAxnZAw5NuMvWB3j0zwq","BMf0DxjHBf9JBgLJA19Wyxr0zxjUCW","y2fUy2vSswrSzunHBgXIywnR","Bg9NtwvZC2fNzq","Bg9Nz2vY","A2v5zg93BG","B250B3vJAhn0yxj0","BMf2AwDHDg9Y","y2XPzw50wq","ywXSB3DszxrYEq","y2fUzgLKyxrLlwfJDgL2zq","Ahr0CdOVlW","ChjVDg9JB2W","ChjVy2vZC0fUzfnLBMrtAwDUywXZ","yxbWBgLJyxrPB24VANnVBG","y2f0y2G","D2vIzhjPDMvY","CMv0CNLuAw1LB3v0swq","zxzLBNriyw5KBgvYCW","y2fUDMfZx2zPBMDLCNbYAw50x25VCM1HBa","C2vZC2LVBKrHDge","q2fUzgLKyxrLigvUDMvSB3bLihjLywq","yNjVD3nLCKfqsq","DgfYz2v0","BgLMzwn5y2XLq2fUzgLKyxrLu2LNBMfSCW","y2fUzgLKyxrLu2fTCgXLuMf0zq","B25tAwDUywXvCgrHDgu","u2vUzgLUzYbWzxjPB2rPyYbIzwfJB24Glsa","DxnLCKfNzw50","BMf0AxzLlxbYzwzLCNjLza","yMvHy29Uu3rHDgu","yMvMB3jLlxnLBMq","y2HLy2TfBNzPCM9UBwvUDa","re9nq29UDgvUDeXVywrLza","yMLUza","qwX0","zgvIDwC","zMX1C2HpDgvStg9NCW","DxbKyxrLu2LSzw5JzunSB2nR","y2XLyxjuAw1LB3v0","y2XPy2Tby3rPDML0Eq","Ag9ZDa","zMXVB3i","y2XPzw50wa","y2fUzgLKyxrLu2LNBMfSC0vUywjSzwq","B25tAwDUywXvCgrHDguGy2fSBgjHy2S","C3rHCNrdyw5KAwrHDgvdB2XSzwn0B3i","q2fUzgLKyxrLigvUDMvSB3bLoIbUBYb1C2fIBguGDg9Rzw4GB24GDgHLihbHz2u","Dg91y2HFywn0AxzPDhK","y2fUzgLKyxrLtwfZAW","y2XPy2TqB3nPDgLVBNm","CMvXDwvZDeLKBgvdywXSyMfJA0LK","ntu1otiYuwPkv092","ywrKrxzLBNrmAxn0zw5LCG","BwfW","l2fWAs9JB2XSzwn0","twv0yq","CMvWB3j0rw52zwXVCgvfCNjVCG","C2HPzNq","A2v5yM9HCMrcDxjZDefJDgL2Axr5","yMfZzvvssq","BgfZDfn1y2nLC3nMDwXtzw5KvgLTzq","icaOsw5PDgLHBcbZAwDUywWGC2v0kq","z2v0sxrLBq","w1niu10G","y2fSy3vSyxrLq2XPy2TqCMvJAxnPB24","A2v5yM9HCMrFywn0AxzPDhK","ywjZ","mZa4CeP1DLH5","yxrHBJi","C2nYB2XSrxzLBNrZ","Ahr0Chm6lY8","Aw50","BgfZDfbYB2nLC3nuAw1L","Aw5JBhvKzxm","CMv0CNLdB3vUDa","C2nYB2XSx2fJDgL2Axr5","BNvTyMvY"];return(He=function(){return t})()}function Ke(t){return{wd:t[qe(513)],ua:t[qe(441)],cf:t[qe(341)],be:t[qe(442)],nm:t[qe(434)],nc:t[qe(323)],ka:t[qe(388)],sa:t[qe(398)],ta:t[qe(370)],pt:t[qe(553)],mp:t[qe(401)],sd:t[qe(464)]}}class Oe{[qe(431)];[qe(472)];[qe(344)];[qe(326)];[qe(517)];[qe(559)]=!1;constructor(t,e,n=Ie()){const r={shopId:0,updateInterval:5e3,debug:!1,beaconEndpoint:Ae,beaconRetryLimit:3,maxSilenceMs:18e5,exportWithFetch:!1,logsSampleRate:1,candidateSignalsEnabled:!1,candidateActivePageFlushEnabled:!0,candidateUpdateInterval:5e3,candidateSampleRate:100};this[qe(431)]={...r,...e},this[qe(344)]=n,this[qe(326)]=t,this[qe(472)]={startTime:Date[qe(494)](),lastUpdateTime:null,environmentChecked:!1,sessionData:null,mouseActivity:0,clickActivity:0,keyActivity:0,keyboardBurstActivity:0,scrollActivity:0,touchActivity:0,mousePositions:[],clickPositions:[],keyEvents:[],scrollEvents:[],keyboardBursts:[],touchEvents:[],lastTouchEvent:null};const i=this[qe(453)]();this[qe(472)][qe(352)]={lastSignals:i,lastProcessTime:0,lastSuccessfulSendTime:0,retryCount:0},this[qe(517)]=(this[qe(431)][qe(366)],this[qe(431)][qe(371)],this[qe(344)][qe(407)],this[qe(344)][qe(474)],this[qe(431)][qe(531)],this[qe(431)][qe(493)],null)}[qe(545)](){(async()=>{const t=this[qe(354)]();this[qe(368)](t),await Promise[qe(421)](),await this[qe(335)](!0),this[qe(431
1)][qe(423)]&&this[qe(517)]?.[qe(524)](),this[qe(344)][qe(474)][qe(463)](()=>{this[qe(483)]()},100);const e=()=>{const t=Date[qe(494)](),n=t-(this[qe(472)][qe(461)]||t),r=Math[qe(497)](0,this[qe(431)][qe(529)]-n),i=()=>{this[qe(344)][qe(474)][qe(416)]?this[qe(472)][qe(373)]=this[qe(344)][qe(474)][qe(416)](()=>{this[qe(335)]()[qe(443)](()=>this[qe(326)][qe(359)]())[qe(443)](()=>{e()})},{timeout:2e3}):this[qe(335)]()[qe(443)](()=>this[qe(326)][qe(359)]())[qe(443)](()=>{e()})};r>0?this[qe(344)][qe(474)][qe(463)](i,r):i()};e()})()[qe(337)](t=>{this[qe(326)][qe(552)](t,qe(545))})}[qe(452)](){try{this[qe(517)]?.[qe(452)]()}catch(t){this[qe(326)][qe(552)](t,qe(462))}this[qe(472)][qe(429)]&&this[qe(344)][qe(474)][qe(361)](this[qe(472)][qe(429)]),this[qe(472)][qe(373)]&&this[qe(344)][qe(474)][qe(324)]&&this[qe(344)][qe(474)][qe(324)](this[qe(472)][qe(373)]),this[qe(472)][qe(340)]&&(this[qe(344)][qe(407)][qe(550)](qe(467),this[qe(472)][qe(340)][qe(467)]),this[qe(344)][qe(407)][qe(550)](qe(509),this[qe(472)][qe(340)][qe(509)]),this[qe(344)][qe(407)][qe(550)](qe(327),this[qe(472)][qe(340)][qe(327)]),this[qe(344)][qe(407)][qe(550)](qe(432),this[qe(472)][qe(340)][qe(432)]),qe(328)in window&&this[qe(472)][qe(340)][qe(514)]&&this[qe(472)][qe(340)][qe(521)]&&this[qe(472)][qe(340)][qe(476)]&&(this[qe(344)][qe(407)][qe(550)](qe(514),this[qe(472)][qe(340)][qe(514)]),this[qe(344)][qe(407)][qe(550)](qe(521),this[qe(472)][qe(340)][qe(521)]),this[qe(344)][qe(407)][qe(550)](qe(476),this[qe(472)][qe(340)][qe(476)]))),this[qe(472)][qe(352)]?.[qe(339)]&&this[qe(344)][qe(474)][qe(361)](this[qe(472)][qe(352)][qe(339)]),this[qe(472)][qe(352)]=void 0}[qe(481)](){return this[qe(472)][qe(352)]?.[qe(457)]?Ke(this[qe(472)][qe(352)][qe(457)]):null}[qe(532)](){return this[qe(517)]?.[qe(481)]()??null}[qe(556)](){return this[qe(517)]?.[qe(528)]()??null}[qe(354)](){const t={v1:Ce(this[qe(344)])};return this[qe(472)][qe(473)]=t.v1,this[qe(472)][qe(496)]=!0,t[qe(516)]}[qe(475)](t,e){return n=>{try{t(n)}catch(t){this[qe(326)][qe(552)](t,qe(439)+e)}}}[qe(483)](){const t=Ee(this[qe(475)](t=>{this[qe(472)][qe(512)]++,this[qe(472)][qe(498)][qe(486)]>=10&&this[qe(472)][qe(498)][qe(380)](),this[qe(472)][qe(498)][qe(428)]({x:t[qe(365)],y:t[qe(330)],t:t[qe(413)]})},qe(467)),100),e=this[qe(475)](t=>{this[qe(472)][qe(362)]++,requestAnimationFrame(()=>setTimeout(()=>{this[qe(472)][qe(372)][qe(486)]>=5&&this[qe(472)][qe(372)][qe(380)](),this[qe(472)][qe(372)][qe(428)]({x:t[qe(365)],y:t[qe(330)],t:t[qe(413)],pre:this[qe(387)](t)})},0))},qe(509)),n=this[qe(475)](t=>{this[qe(472)][qe(485)]++;const e=t[qe(534)];if([qe(465),qe(520),qe(357),qe(378)][qe(396)](e))return;const n=this[qe(472)][qe(484)][this[qe(472)][qe(484)][qe(486)]-1],r=t[qe(413)],i=n?r-n.t:null;this[qe(472)][qe(484)][qe(486)]>=10&&this[qe(472)][qe(484)][qe(380)](),this[qe(472)][qe(484)][qe(428)]({_0x432e88:e,t:r,int:i}),null!==i&&i<100?(this[qe(472)][qe(455)][qe(428)](i),this[qe(472)][qe(455)][qe(486)]>=5&&(this[qe(472)][qe(381)]++,this[qe(472)][qe(455)]=[])):this[qe(472)][qe(455)]=[]},qe(327)),r=Ee(this[qe(475)](t=>{this[qe(472)][qe(507)]++;const e=t[qe(413)],n=window[qe(548)];this[qe(472)][qe(392)][qe(486)]>=10&&this[qe(472)][qe(392)][qe(380)](),this[qe(472)][qe(392)][qe(428)]({p:n,t:e})},qe(432)),200),i=this[qe(475)](t=>{t[qe(424)]&&0!==t[qe(424)][qe(486)]&&(this[qe(472)][qe(495)]++,this[qe(472)][qe(425)][qe(486)]>=10&&this[qe(472)][qe(425)][qe(380)](),this[qe(472)][qe(530)]={x:t[qe(424)][0][qe(365)],y:t[qe(424)][0][qe(330)],t:t[qe(413)],typ:qe(468),s:0,d:0})},qe(514)),o=Ee(this[qe(475)](t=>{if(!t[qe(424)]||0===t[qe(424)][qe(486)])return;const e={x:t[qe(424)][0][qe(365)],y:t[qe(424)][0][qe(330)]};if(this[qe(472)][qe(530)]){const n=this[qe(448)](this[qe(472)][qe(530)],e);this[qe(472)][qe(425)][qe(486)]>=10&&this[qe(472)][qe(425)][qe(380)]();const r={x:t[qe(424)][0][qe(365)],y:t[qe(424)][0][qe(330)],t:t[qe(413)],typ:qe(535),d:n,s:n/(t[qe(413)]-this[qe(472)][qe(530)].t)};this[qe(472)][qe(425)][qe(428)](r),this[qe(472)][qe(530)]=r}else{const e={x:t[qe(424)][0][qe(365)],y:t[qe(424)][0][qe(330)],t:t[qe(413)],typ:qe(535),s:0,d:0};this[qe(472)][qe(530)]=e}},qe(521)),200),a=this[qe(475)](t=>{this[qe(472)][qe(530)]=null},qe(476));this[qe(344)][qe(407)][qe(375)](qe(467),t,{passive:!0}),this[qe(344)][qe(407)][qe(375)](qe(509),e,{passive:!0}),this[qe(344)][qe(407)][qe(375)](qe(327),n,{passive:!0}),this[qe(344)][qe(407)][qe(375)](qe(432),r,{passive:!0}),qe(328)in window&&(this[qe(344)][qe(407)][qe(375)](qe(514),i,{passive:!0}),this[qe(344)][qe(407)][qe(375)](qe(521),o,{passive:!0}),this[qe(344)][qe(407)][qe(375)](qe(476),a,{passive:!0})),this[qe(472)][qe(340)]={mousemove:t,click:e,keydown:n,scroll:r,touchstart:i,touchmove:o,touchend:a}}
1async[qe(335)](t=!1){this[qe(510)](t),await this[qe(482)]({includeCandidateSignals:!t}),this[qe(472)][qe(461)]=Date[qe(494)]()}[qe(510)](t=!1){const e=Date[qe(494)]();let n=Math[qe(364)]((e-this[qe(472)][qe(504)])/1e3);null!==this[qe(472)][qe(461)]&&(n=Math[qe(364)]((e-this[qe(472)][qe(461)])/1e3)),this[qe(472)][qe(342)]?(this[qe(472)][qe(342)][qe(541)]+=t?1:0,this[qe(472)][qe(342)][qe(420)]+=n):this[qe(472)][qe(342)]={pageCount:1,sessionStart:this[qe(472)][qe(504)],duration:0}}[qe(325)](t,e=!1){this[qe(326)][qe(490)](qe(386)+t,e)}[qe(453)](){try{if(this[qe(344)][qe(474)][qe(480)]){const e=this[qe(344)][qe(474)][qe(480)][qe(385)](Ne);if(e){const n=JSON[qe(422)](e);let r;return qe(513)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}[qe(519)](t){try{this[qe(344)][qe(474)][qe(480)]&&this[qe(344)][qe(474)][qe(480)][qe(402)](Ne,JSON[qe(526)](Ke(t)))}catch(t){}}[qe(387)](t){const e=t[qe(345)];if(!(e&&e instanceof Element&&e[qe(547)]))return 0;const n=e[qe(547)]();if(!n[qe(438)]||!n[qe(440)])return 0;const r=n[qe(558)]+n[qe(438)]/2,i=n[qe(411)]+n[qe(440)]/2,o=this[qe(448)]({x:t[qe(365)],y:t[qe(330)]},{x:r,y:i}),a=Math[qe(426)](n[qe(438)]**2+n[qe(440)]**2)/2;return a>0?Math[qe(497)](0,1-o/a):0}[qe(448)](t,e){return Math[qe(426)]((e.x-t.x)**2+(e.y-t.y)**2)}[qe(414)](t){if(t[qe(427)](qe(333))||t[qe(427)](qe(393)))return t;return""+(this[qe(344)][qe(474)][qe(487)][qe(403)]||this[qe(344)][qe(474)][qe(487)][qe(334)]+"//"+this[qe(344)][qe(474)][qe(487)][qe(363)])+t}[qe(368)](t){try{this[qe(517)]?.[qe(468)](t)}catch(t){this[qe(326)][qe(552)](t,qe(433))}}[qe(478)](t){if(void 0!==t)return this[qe(344)][qe(407)],this[qe(344)][qe(449)],this[qe(542)][qe(356)](this),void this[qe(379)][qe(356)](this)}[qe(542)](){this[qe(559)]||(this[qe(559)]=!0,this[qe(326)][qe(490)](qe(369),!0))}[qe(379)](t){this[qe(326)][qe(552)](t,qe(343))}[qe(456)](){try{return this[qe(556)]()??void 0}catch(t){return void this[qe(326)][qe(552)](t,qe(458))}}[qe(410)](t){const e=this[qe(472)][qe(352)]?.[qe(457)];return!!e&&(null!==this[qe(431)][qe(491)]&&(this[qe(500)](e,qe(332),{candidateSignals:t,updateSilenceClock:!1,allowRetry:!1,transport:qe(450),candidateQueueTracking:qe(436)})[qe(337)](t=>{this[qe(326)][qe(552)](t,qe(555))}),!0))}[qe(503)](t){return!(!this[qe(472)][qe(352)]||null===this[qe(431)][qe(491)])&&(this[qe(482)]({lifecycleCandidateSignals:t})[qe(337)](t=>{this[qe(326)][qe(552)](t,qe(444))}),!0)}async[qe(500)](t,e,n={}){if(!this[qe(472)][qe(352)])return;const r=n[qe(360)]??!0,i=n[qe(331)]??!0,o=n[qe(435)]??qe(353);if(null===this[qe(431)][qe(491)])return void(r&&(this[qe(472)][qe(352)][qe(383)]=Date[qe(494)]()));let a;!1!==n[qe(499)]&&(void 0===n[qe(538)]?a=this[qe(456)]():this[qe(517)]&&(a=n[qe(538)]));const s=this[qe(478)](a),c=void 0===a?void 0:(f=a,this[qe(326)],{pack:f}),u=c?.[qe(447)],l=function(t,e,n,r,i,o){const a=void 0!==r,s=a&&void 0!==i;let c=1;return s?c=3:a&&(c=2),{v:c,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,...void 0!==r&&{c:r},...s&&{t:i.t,...void 0!==i.e&&{e:i.e},w:i.w,...void 0!==o&&{_0x41eaba:o}},l:pe}}(0,Ke(t),e,u,void 0===u?void 0:s,void 0===u?void 0:c?.[qe(511)]),d=JSON[qe(526)](l),h=this[qe(414)](this[qe(431)][qe(491)]);var f;void 0!==a&&o===qe(353)&&this[qe(517)]?.[qe(536)](a);const m=n[qe(537)]??qe(477);if(m!==qe(450)&&this[qe(344)][qe(329)][qe(500)]&&(m===qe(351)||!this[qe(431)][qe(404)]))try{const t=new Blob([d],{type:qe(336)});if(this[qe(344)][qe(329)][qe(500)](h,t))return i&&(this[qe(472)][qe(352)][qe(397)]=0),void(r&&(this[qe(472)][qe(352)][qe(383)]=Date[qe(494)]()))}catch(t){}try{const t=await fetch(h,{method:qe(417),headers:{"Content-Type":qe(336)},body:d,credentials:qe(466),keepalive:!0});if(!t.ok)throw new Error(qe(523)+t[qe(454)]);void 0!==a&&o===qe(436)&&this[qe(517)]?.[qe(536)](a),i&&(this[qe(472)][qe(352)][qe(397)]=0),r&&(this[qe(472)][qe(352)][qe(383)]=Date[qe(494)]())}catch(n){i?this[qe(409)](t,e,a):void 0!==a&&o===qe(353)&&this[qe(517)]?.[qe(539)](a)}}[qe(409)](t,e,n){if(!this[qe(472)][qe(352)]||this[qe(472)][qe(352)][qe(397)]>
1=this[qe(431)][qe(460)])return void(void 0!==n&&this[qe(517)]?.[qe(539)](n));const r=Math[qe(518)](1e3*2**this[qe(472)][qe(352)][qe(397)],3e4);this[qe(472)][qe(352)][qe(397)]++,this[qe(472)][qe(352)][qe(339)]=this[qe(344)][qe(474)][qe(463)](()=>{this[qe(472)][qe(352)]&&this[qe(500)](t,e)},r)}async[qe(482)](t={}){if(!this[qe(472)][qe(352)])return;const e=Ue(this[qe(472)][qe(512)],this[qe(472)][qe(498)],this[qe(472)][qe(362)],this[qe(472)][qe(372)],this[qe(472)][qe(484)],this[qe(472)][qe(485)],this[qe(472)][qe(381)],this[qe(472)][qe(507)],this[qe(472)][qe(495)],this[qe(472)][qe(392)],this[qe(472)][qe(425)],this[qe(472)][qe(504)],Date[qe(494)]()),n=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[qe(434)]=!0),e.ca>0&&1===e.vc&&(i[qe(323)]=!0),e.ka>0&&(i[qe(388)]=!0),e.sa>0&&(i[qe(398)]=!0),e.ta>0&&(i[qe(370)]=!0),e.t>30&&(i[qe(553)]=!0),n&&(n[qe(541)]>1&&(i[qe(401)]=!0),n[qe(420)]>60&&(i[qe(464)]=!0)),r){const t=Object[qe(470)](i);for(const e of t)i[e]=i[e]||r[e]}return i}(this[qe(472)][qe(473)],e,this[qe(472)][qe(342)],this[qe(472)][qe(352)][qe(457)]),r=function(t,e){if(!e)return!0;const n=Object[qe(470)](t);for(const r of n)if(t[r]!==e[r])return!0;return!1}(n,this[qe(472)][qe(352)][qe(457)]),i=Date[qe(494)]()-this[qe(472)][qe(352)][qe(383)],o=i>=this[qe(431)][qe(479)],a=void 0!==t[qe(346)];if(r||o||a){const e=Date[qe(494)]()-this[qe(472)][qe(352)][qe(395)];if(!a&&e<100)return void this[qe(325)](qe(508),!0);if(o&&!r&&this[qe(325)](qe(349)+Math[qe(525)](i/1e3)+qe(471),!0),r&&this[qe(431)][qe(358)]){if(this[qe(472)][qe(352)][qe(457)]){Object[qe(470)](n)[qe(408)](t=>{this[qe(472)][qe(352)][qe(457)][t],n[t]})}else this[qe(325)](qe(384));this[qe(472)][qe(342)]}if(this[qe(472)][qe(352)][qe(457)]=(s=n,{...s}),this[qe(472)][qe(352)][qe(395)]=Date[qe(494)](),this[qe(519)](n),this[qe(431)][qe(348)]&&r)try{this[qe(431)][qe(348)](Ke(n))}catch(t){this[qe(326)][qe(552)](t,qe(367))}let c=qe(516);r?c=qe(492):o&&(c=qe(412));const u=!r&&!o;await this[qe(500)](n,c,{candidateSignals:t[qe(346)],includeCandidateSignals:t[qe(499)],updateSilenceClock:!u,allowRetry:!u,transport:qe(u?351:477)})}else this[qe(431)][qe(358)];var s}}const We=(t,e)=>({libVersion:pe,shopId:e||"",hostname:t[qe(474)]?.[qe(487)]?.[qe(546)]||"",url:t[qe(474)]?.[qe(487)]?.[qe(446)]||"",referrer:t[qe(407)]?.[qe(501)]||"",baseURI:t[qe(407)]?.[qe(382)]||"",sessionToken:Zt()||"",uniqueToken:Rt()||""});function Je(t,e){return e>=100||!(e<=0)&&function(t){try{const e=t[qe(474)][qe(480)]?.[qe(385)](Pe);if(null!==e&&/^\d{1,2}$/[qe(400)](e)){const t=Number(e);if(t<100)return t}}catch{}const e=Math[qe(364)](100*Math[qe(488)]());try{t[qe(474)][qe(480)]?.[qe(402)](Pe,String(e))}catch{}return e}(t)<e}const Fe=(t,e=Ie(),n=new de(Te,_e))=>{const r=Zt(),i=(t?.[qe(366)]??!1)&&Je(e,t?.[qe(347)]??100);let o;r?o=function(t){let e=0;for(let n=0,r=t[Me(207)];n<r;n++)e=(e<<5)-e+t[Me(212)](n),e|=0;return Math[Me(215)](e)}(r):i&&(o=Math[qe(364)](100*Math[qe(488)]()));const a=new oe({exporter:n,attributes:We(e,t?.[qe(445)])}),s=t?.[qe(543)],c=typeof s===qe(399)&&Number[qe(419)](s)?s:1,u=new Be(t?.[qe(358)]||!1,a,c,o),l={...t,candidateSignalsEnabled:i},d=new Oe(u,l,e);return e[qe(407)][qe(557)]===qe(527)?e[qe(407)][qe(375)](qe(355),()=>d[qe(545)]()):d[qe(545)](),d};class Re{quietWindowStartCandidates=[];longAnimationFrameObserver=null;longAnimationFrames=[];constructor(){this.initializeLongAnimationFrameObserver()}getQuietWindowStartCandidates(){return[...this.quietWindowStartCandidates].sort((t,e)=>t.startTime-e.startTime)}getLongAnimationFrames(){if(!Ve()){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(Ve())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 Ze=null;function Xe(t,e=0){if(null===t||!Ve()&&!Boolean(window.ShopifyAnalytics?.performance?.getLongAnimationFrames))return Ye(),null;const n=(Ze?Ze.getLongAnimationFrames():[]).map(t=>({startTime:t.startTime-e,endTime:t.endTime-e}));let r=null;for(const e of n){if(e.startTime<=t&&e.endTime>t){r=e;break}if(e.startTime>=t){r=e;break}}if(!r||r.startTime-t>=250)return Ye(),t;const i=(Ze?Ze.getQuietWindowStartCandidates():[]).map(t=>({startTime:t.startTime-e}));let o=t;if(i.length>0)for(const e of i)if(e.startTime>=t){o=e.startTime;break}return Ye(),o}function Ve(){return PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")}function Ye(){Ze&&(Ze.destroy(),Ze=null)}function Ge(){return PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")}function $e(){return performance.getEntriesByType("long-animation-frame")}let Qe=null,tn=!1;function en(){Qe=null,tn=!1}addEventListener("pageshow",t=>{t.persisted&&(tn=!1)});const nn=Object.freeze({shop_domain:`${window.location.origin}/.well-known/shopify/monorail`,global:"https://monorail-edge.shopifysvc.com",canada:"https://monorail-edge-ca.shopifycloud.com",staging:"https://monorail-edge-staging.shopifycloud.com"}),rn=new RegExp(`^${window.location.origin}/((?:(?:[a-z]{2,3}|zh-hans|zh-hant)(?:-[a-zA-Z0-9]+)/)?cart/(add|change|update|clear))`),on=new RegExp("cart-performance:|add:|change:|clear:|note_update:");var an;function sn({monorailRegion:t,schema:e,rawData:n}){const r=Date.now(),i={schema_id:e,payload:e===an.OnUnload?un(n):ln(n),metadata:{event_created_at_ms:r,event_sent_at_ms:r}},o=nn[t||""],a=JSON.stringify(i);if(!o)return void console.debug("📡 Monorail: ",JSON.stringify(i,null,2));const s=e===an.OnUnload;s&&tn||function(t,e,n){const r=Qe?.result.activated?null:Qe,i=r?.interactions??[];return r?.controller.abort(),Qe=cn(t,e?i:[...i,n],e?n:r?.onUnload??null),null!==Qe||(Qe=r&&cn(t,r.interactions,r.onUnload),!1)}(o,s,a)||s&&Qe?.onUnload||(!function(t,e){try{const n=new window.Blob([e],{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(t,n))return}catch(t){}const n=new XMLHttpRequest;n.open("POST",t),n.setRequestHeader("Content-type","text/plain"),n.send(e)}(`${o}/v1/produce`,a),s&&(tn=!0))}function cn(t,e,n){if("function"!=typeof window.fetchLater)return null;const r=null===n?e:[...e,n];try{const i=new AbortController;return{controller:i,result:window.fetchLater(`${t}/unstable/produce_batch`,{method:"POST",body:`{"events":[${r.join(",")}]}`,headers:{"Content-Type":"text/plain"},credentials:"include",signal:i.signal}),interactions:e,onUnload:n}}catch(t){return null}}function un(t){const e=dn(t,["domInteractive","domContentLoadedEventStart","domContentLoadedEventEnd","domComplete","activationStart","firstPaint","visuallyReady","initiatorType","redirectCount","cartAjaxResourceTimings","cartPerformanceMetrics","totalStylingDuration","totalStyleDuration","totalForcedStyleDuration","totalLayoutDuration","totalForcedLayoutDuration","speculations"]);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 ln(t){const e=dn(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 dn(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 hn(t,e){return t?Math.max(0,Math.round(t-e)):0}!function(t){t.OnInteraction="perf_kit_on_interaction/3.2",t.OnUnload="perf_kit_on_unload/3.5"}(an||(an={}));function fn(t){if(void 0===t||""===t.trim())return;const e=Number(t);return Number.isFinite(e)?e:void 0}function mn(t){return!Number.isFinite(t)||t<=0?0:Math.min(100,Math.floor(t))}function pn(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 gn="xxxx-4xxx-xxxx-xxxxxxxxxxxx";function vn(){let t="";try{const e=window.crypto,n=new Uint16Array(31);e.getRandomValues(n);let r=0;t=gn.replace(/[x]/g,t=>{const e=n[r]%16;return r++,("x"===t?e:3&e|8).toString(16)}).toUpperCase()}catch(e){t=gn.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}`}
1let yn=null,wn=!1,Sn=null,Cn=null,Ln=null;let bn=!1;class xn{info;config;sampled;onUnloadCounted;cachedQuietWindowStart;constructor(t){this.config=t;const e="storefront-renderer"===(n=t.storefrontData.application)||"hydrogen"===n;var n;this.info={perfKitInit:Date.now(),perfKitVersion:"3.9.6",url:window.location.href,referrer:document.referrer||void 0,microSessionId:vn(),microSessionCount:0,get sessionToken(){return Zt({generateFallback:e})},get uniqueToken(){return Rt({generateFallback:e})}},this.sampled=100*Math.random()<=(t.resourceTimingSamplingRate??10),this.onUnloadCounted=!1,this.cachedQuietWindowStart=void 0,performance.setResourceTimingBufferSize(1e3)}get performanceMetrics(){return function(t){const e=performance.getEntriesByType("navigation");if(0===e.length)return{};const n=e[0],r=n.activationStart||0,i=function(t,e){return!e&&(t.requestStart>0&&t.startTime>0&&t.requestStart<t.startTime||t.responseStart>0&&t.startTime>0&&t.responseStart<t.startTime||t.responseStart>0&&t.fetchStart>0&&t.responseStart<t.fetchStart||t.startTime>0&&t.fetchStart<t.startTime)}(n,r)||function(t,e){return t.responseEnd>0&&t.responseEnd>e+864e5}(n,t);return{encodedBodySize:n.encodedBodySize,decodedBodySize:n.decodedBodySize,navigationStart:Math.round(n.startTime),navigationType:n.type,navigationBad:i,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:hn(n.domInteractive,r),domComplete:hn(n.domComplete,r),domContentLoadedEventStart:hn(n.domContentLoadedEventStart,r),domContentLoadedEventEnd:hn(n.domContentLoadedEventEnd,r),activationStart:Math.round(r),redirectCount:n.redirectCount,initiatorType:n.initiatorType,transferSize:n.transferSize}}(this.info.perfKitInit)}}function zn(t){if(yn=t,Cn=new xn(t),Ln=null,wn=!1,Sn=window.location.pathname,Bn.clear(),en(),Ze||(Ze=new Re),t.spaMode&&void 0===window.PerfKit&&(window.PerfKit={navigate:()=>{if(!yn?.spaMode||!Cn)return;const t=window.location.href,e=window.location.pathname;Sn!==e?(Sn=e,wn?Cn.info.url=t:(Dn(),Cn=new xn(yn),Bn.clear(),en(),wn=!0)):Cn.info.url=t},setPageType:t=>{yn?.spaMode&&(yn.storefrontData.pageType=t)},setConsent:t=>{Ln=t}},document.addEventListener("shopify:page:view",t=>{window.PerfKit.navigate(),t.page?.url&&Cn&&(Cn.info.url=t.page.url),t.page?.template&&window.PerfKit.setPageType(t.page.template)},!0)),t.shs&&!t.spaMode){const e=t.shsCandidateSampleRate??0;Fe({debug:!1,shopId:t.storefrontData.shopId,exportWithFetch:t.shsExportWithFetch||!0,logsSampleRate:t.shsLogsSampleRate,candidateSignalsEnabled:e>0,candidateSampleRate:e,...!1===t.shsCandidateActivePageFlush&&{candidateActivePageFlushEnabled:!1},...e>0&&void 0!==t.shsCandidateMask&&{candidateMask:t.shsCandidateMask},...t.shsBeaconEndpoint&&{beaconEndpoint:t.shsBeaconEndpoint}})}}const Bn=new Set;function Dn(){if(null!==Cn){if(!_n()&&Mn()&&Bn.size>0){let t={};for(const e of Bn)t={...t,...e};const e=t.firstContentfulPaint??null;if(null!==e&&void 0===Cn.cachedQuietWindowStart){const t=performance.getEntriesByType("navigation")[0]?.activationStart||0;Cn.cachedQuietWindowStart=Xe(e,t)}void 0!==Cn.cachedQuietWindowStart&&null!==Cn.cachedQuietWindowStart&&(t.quietWindowStart=Math.round(Cn.cachedQuietWindowStart));const n=function(){if(!Ge())return null;const t=$e();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!==n&&(t.totalStylingDuration=Math.round(n));const r=function(){if(!Ge())return null;
1const t=$e();if(0===t.length)return null;if("number"!=typeof t[0].styleDuration)return null;let e=0,n=0,r=0,i=0;for(const o of t){const t=o;e+=t.styleDuration??0,r+=t.layoutDuration??0;for(const t of o.scripts){const e=t;n+=e.forcedStyleDuration??0,i+=e.forcedLayoutDuration??0}}return{totalStyleDuration:e,totalForcedStyleDuration:n,totalLayoutDuration:r,totalForcedLayoutDuration:i}}();null!==r&&(t.totalStyleDuration=Math.round(r.totalStyleDuration),t.totalForcedStyleDuration=Math.round(r.totalForcedStyleDuration),t.totalLayoutDuration=Math.round(r.totalLayoutDuration),t.totalForcedLayoutDuration=Math.round(r.totalForcedLayoutDuration)),Cn.onUnloadCounted||(Cn.info.microSessionCount+=1,Cn.onUnloadCounted=!0);const i=function(t){if(t)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))})}(Cn.sampled),o=function(t){if("function"!=typeof performance.getSpeculations)return;const e=performance.getSpeculations().preloads??[];let n=0,r=0,i=0;const o=[];for(const a of e){const e=Boolean(a.earlyhint??a.earlyHints);e&&(i+=1),null==a.used?(r+=1,t&&o.push({url:a.url.slice(-20),as:a.as,crossorigin:a.crossorigin??null,early_hint:e})):n+=1}return{used_preloads:n,unused_preloads:r,unused_preload_details:o,early_hint_preloads:i}}(Cn.sampled),a=performance.getEntriesByType("resource").filter(t=>rn.test(t.name)),s=performance.getEntriesByType("measure").filter(t=>on.test(t.name)).map(t=>{const e=t.toJSON();return e.name.startsWith("cart-performance:")||(e.name=`cart-performance:${e.name}`),e});sn({monorailRegion:Cn.config.monorailRegion,schema:an.OnUnload,rawData:{...Cn.info,...Cn.config.storefrontData,...Cn.performanceMetrics,...t,resourceTiming:i,cartAjaxResourceTimings:a,cartPerformanceMetrics:s,paintTimingHidden:bn,speculations:o}})}}else console.debug("⛔️ Shopify/perf-kit is not initialized")}function Mn(){return null!==Ln?Ln:Xt()}((e,r={})=>{const o=a(r=Object.assign({},r),t),s=new WeakMap;o.t=t=>{if(t?.sources?.length){const e=z(t.sources),n=e?.node;if(n){const t=r.generateTarget?.(n)??i(n);s.set(e,t)}}},((e,n={})=>{const r=S();b(p(()=>{let i,o=f("CLS",0);const s=a(n,t),c=t=>{for(const e of t)s.u(e);s.o>o.value&&(o.value=s.o,o.entries=s.i,i())},h=m("layout-shift",c);h&&(i=l(e,o,x,n.reportAllChanges),r.onHidden(()=>{c(h.takeRecords()),i(!0)}),u(()=>{s.o=0,o=f("CLS",0),i=l(e,o,x,n.reportAllChanges),d(()=>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=z(r.sources);t&&(e={largestShiftTarget:s.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;Bn.add({cumulativeLayoutShift:n,cumulativeLayoutShiftTarget:e.largestShiftTarget})},{reportAllChanges:!0}),((t,n={})=>{const r=a(n=Object.assign({},n),k),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={})=>{C(()=>{const n=S();let r,i=f("LCP");const o=a(e,k),s=t=>{e.reportAllChanges||(t=t.slice(-1));for(const e of t)o.u(e),e.startTime<n.firstHiddenTime&&(i.value=Math.max(e.startTime-h(),0),i.entries=[e],r())},c=m("largest-contentful-paint",s);if(c){r=l(t,i,U,e.reportAllChanges);const n=p(()=>{s(c.takeRecords()),c.disconnect(),r(!0)}),o=t=>{t.isTrusted&&(I(n),removeEventListener(t.type,o,{capture:!0}))};for(const t of["keydown","click","visibilitychange"])addEventListener(t,o,{capture:!0});u(n=>{i=f("LCP"),r=l(t,i,U,e.reportAllChanges),d(()=>{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),a=i.url&&performance.getEntriesByType("resource").filter(t=>t.name===i.url)[0],s=Math.max(0,r.responseStart-e),c=Math.max(s,a?(a.requestStart||a.startTime)-e:0),u=Math.min(t.value,Math.max(c,a?a.responseEnd-e:0));n={target:o.get(i),timeToFirstByte:s,resourceLoadDelay:c-s,resourceLoadDuration:u-c,elementRenderDelay:t.value-u,navigationEntry:r,lcpEntry:i},i.url&&(n.url=i.url),a&&(n.lcpResourceEntry=a)}}return Object.assign(t,{attribution:n})})(n);t(r)},n)})(function(t){const{attribution:e,value:n}=t;Bn.add({largestContentfulPaint:Math.round(n),largestContentfulPaintTarget:e.target})},{reportAllChanges:!0}),((t,r={})=>{b(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,a=Math.max(0,i.responseStart-e);r={timeToFirstByte:a,firstByteToFCP:t.value-a,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;Bn.add({firstContentfulPaint:Math.round(e)})}),((t,e={})=>{const r=a(e=Object.assign({},e),P);let o=[],s=[],c=0;const d=new WeakMap,h=new WeakMap;let p=!1;const g=()=>{p||(I(v),p=!0)},v=()=>{const t=r.l.map(t=>d.get(t.entries[0])),e=s.length-50;s=s.filter((n,r)=>r>=e||t.includes(n));const n=new Set;for(const t of s){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=s.length-1;r>=0;r--){const i=s[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]},s.push(n)),(t.interactionId||"first-input"===t.entryType)&&d.set(t,n),g()},r.p=t=>
1{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.duration<t)){if(r.startTime>e)break;n.push(r)}return n},w=t=>{const e=t.entries[0],i=d.get(e),o=e.processingStart,a=Math.max(e.startTime+e.duration,o),s=Math.min(i.processingEnd,a),c=i.entries.sort((t,e)=>t.processingStart-e.processingStart),u=y(e.startTime,s),l=r.h.get(e.interactionId),f={interactionTarget:h.get(l),interactionType:e.name.startsWith("key")?"keyboard":"pointer",interactionTime:e.startTime,nextPaintTime:a,processedEventEntries:c,longAnimationFrameEntries:u,inputDelay:o-e.startTime,processingDuration:s-o,presentationDelay:a-s,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,a=0,s=0,c=0,u=0;for(const c of t.longAnimationFrameEntries){s=s+c.startTime+c.duration-c.styleAndLayoutStart;for(const t of c.scripts){const c=t.startTime+t.duration;if(c<e)continue;const l=c-Math.max(e,t.startTime),d=t.duration?l/t.duration*t.forcedStyleAndLayoutDuration:0;a+=l-d,s+=d,l>u&&(o=t.startTime<e+n?"input-delay":t.startTime>=e+n+r?"presentation-delay":"processing-duration",i=t,u=l)}}const l=t.longAnimationFrameEntries.at(-1),d=l?l.startTime+l.duration:0;d>=e+n+r&&(c=t.nextPaintTime-d),i&&o&&(t.longestScript={entry:i,subpart:o,intersectingDuration:u}),t.totalScriptDuration=a,t.totalStyleAndLayoutDuration=s,t.totalPaintDuration=c,t.totalUnattributedDuration=t.nextPaintTime-e-a-s-c})(f),Object.assign(t,{attribution:f})};m("long-animation-frame",t=>{o=o.concat(t),g()}),((t,e={})=>{if(!globalThis.PerformanceEventTiming||!("interactionId"in PerformanceEventTiming.prototype))return;const n=S();C(()=>{"interactionCount"in performance||_||(_=m("event",T,{type:"event",buffered:!0,durationThreshold:0}));let r,i=f("INP");const o=a(e,P),s=t=>{I(()=>{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=m("event",s,{durationThreshold:e.durationThreshold??40});r=l(t,i,q,e.reportAllChanges),c&&(c.observe({type:"first-input",buffered:!0}),n.onHidden(()=>{s(c.takeRecords()),r(!0)}),u(()=>{o.v(),i=f("INP"),r=l(t,i,q,e.reportAllChanges)}))})})(e=>{const n=w(e);t(n)},e)})(function(t){const{attribution:e,value:n}=t;if(null===Cn)return void console.debug("⛔️ Shopify/perf-kit is not initialized");if(function(){const t=navigator.userAgent;if(!t.includes("Safari")||t.includes("Chrome"))return!1;const e=/Version\/(\d+)(?:\.(\d+))?/.exec(t);if(null===e)return!0;const n=Number(e[1]),r=Number(e[2]||0);return n<26||26===n&&r<4}())return;if(_n())return;if(!Mn())return;Cn.info.microSessionCount+=1;const{inputDelay:r,processingDuration:i,presentationDelay:o,longestScript:a,interactionTarget:s}=e,c=a?.entry?{slowest_script:a.entry.sourceURL,slowest_script_duration:Math.round(a.entry.duration)}:{};sn({monorailRegion:Cn.config.monorailRegion,schema:an.OnInteraction,rawData:{...Cn.info,...Cn.config.storefrontData,...Cn.performanceMetrics,interactionToNextPaint:Math.round(n),interactionToNextPaintTarget:s,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=f("TTFB"),i=l(t,r,E,n.reportAllChanges);j(()=>{const o=e();o&&(r.value=Math.max(o.responseStart-h(),0),r.entries=[o],i(!0),u(()=>{r=f("TTFB",0),i=l(t,r,E,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),a=Math.max(n.connectStart-r,0),s=Math.max(n.connectEnd-r,0);e={waitingDuration:i,cacheDuration:o-i,dnsDuration:a-o,connectionDuration:s-a,requestDuration:t.value-s,navigationEntry:n}}return Object.assign(t,{attribution:e})})(e);t(n)},n)})(function(t){const{value:e}=t;Bn.add({timeToFirstByte:Math.round(e)})}),addEventListener("DOMContentLoaded",()=>{bn="hidden"===document.visibilityState}),addEventListener("visibilitychange",()=>{"hidden"===document.visibilityState&&Dn()}),addEventListener("pagehide",()=>{Dn()});const Tn=/bot|crawl|headless|curl|wget|python|spider|libwww-pearl|newrelic|datadog|sitebulb|site24x7/i;function _n(){return!!Tn.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{zn(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");
1if("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:pn(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:fn(t.shsLogsSampleRate),shsCandidateSampleRate:mn(Number(t.shsCandidateSampleRate)),shsCandidateMask:t.shsCandidateMask,shsCandidateActivePageFlush:void 0===t.shsCandidateActivePageFlush?void 0:"false"!==t.shsCandidateActivePageFlush}}(t))}catch(t){console.error("🚫 Error initializing PerfKit:",t.message)}}()}();

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.