1globalThis.process??={},globalThis.process.env??={};import"./src.BOdkXFU9.js";import{yt as e}from"./cart-attributes.jKcnzt24.js";import{a as t}from"./store.BeeW2Nz4.js";import{a as n,i as r,n as i,o as a,r as o,s}from"./cart.BN6lffvj.js";import{t as c}from"./dev-defaults.C_uzl3un.js";import{n as l,t as u}from"./product-click-event.Dr-TJICh.js";function d(e){return c((typeof process<`u`?process.env[e]:void 0)??{ASSETS_PREFIX:void 0,BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,PUBLIC_ALGOLIA_APP_ID:`L83XO2DSP2`,PUBLIC_ALGOLIA_SEARCH_KEY:`3c9ba5a1b31aadf8ee20e720a0d71f48`,PUBLIC_SUPABASE_ANON_KEY:`sb_publishable_povQKYGr7X4cibunigXIwg_PyhUWSrS`,PUBLIC_SUPABASE_URL:`https://auth.healf.com`,PUBLIC_TYPESENSE_HOST:``,PUBLIC_TYPESENSE_SEARCH_KEY:``,PUBLIC_UNIDAYS_CLIENT_ID:`KISZTAKQHOZDQQ9IOV4EEO-5QU1PVHRXPCLBXNZUCCE`,PUBLIC_UNIDAYS_PARTNER_ID:`a9119761-d7ba-40af-8fc4-b11a01284ec5`,SITE:void 0,SSR:!1}[e],e)}function f(){let e=d(`PUBLIC_ALGOLIA_APP_ID`),t=d(`PUBLIC_ALGOLIA_SEARCH_KEY`);return e&&t?{appId:e,apiKey:t}:null}function p(e){s(`init`,{appId:e.appId,apiKey:e.apiKey,useCookie:!0})}function m({identity:n=o,client:r}={}){let i=new Set,s=()=>{let{variantId:o}=t.getState();if(!o)return;let s=e(o);if(!s||i.has(s))return;let c=n();c&&(i.add(s),a([s],c,{client:r}))};s(),t.subscribe(s)}function h(e){if(!e||typeof e!=`object`)return!1;let{objectID:t,position:n,queryID:r}=e;return typeof t!=`string`||t.length===0?!1:r?typeof n==`number`&&n>0:n===void 0||n>0}function g({identity:e=o,client:t}={}){typeof document>`u`||(document.addEventListener(u,r=>{let i=r.detail;if(!h(i))return;let a=e();a&&n([{objectID:i.objectID,position:i.position??1}],a,{queryID:i.queryID,client:t})}),document.addEventListener(`click`,e=>{let t=e.target?.closest?.(`a[data-object-id]`)?.dataset.objectId;t&&l({objectID:t})}))}var _=!1;async function v(){if(_||typeof window>`u`)return;_=!0;let e=f();e&&(p(e),r(),i(),g(),m())}export{v as initAlgoliaInsights};
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.