1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,690267,t=>{"use strict";var i=t.i(473952),e=t.i(156992);class r{readyPromise;readyResolver;userId=null;isReady=!1;superProps={};constructor(){this.readyPromise=new Promise(t=>{this.readyResolver=t}),this.initialize()}async ready(){return this.readyPromise}captureException(t,i,e){return this.captureExceptionAsync(t,i,e).catch(t=>(console.error("Failed to capture exception with PostHog:",t),null))}captureEvent(t,i){return this.captureEventAsync(t,i).catch(t=>(console.error("Failed to capture event with PostHog:",t),null))}identifyUser(t){return this.userId=t.id,this.identifyUserAsync(t).catch(t=>(console.error("Failed to identify user with PostHog:",t),null))}registerSuperProperties(t){return this.superProps={...this.superProps,...t},this.registerSuperPropertiesAsync(this.superProps).catch(t=>(console.error("Failed to register super properties with PostHog:",t),null))}}t.i(547059);var s=t.i(832356);let o=s.z.object({key:s.z.string().min(1,"PostHog API key is required"),host:s.z.string().url("PostHog host must be a valid URL"),ingestUrl:s.z.string().url("PostHog ingest URL must be a valid URL").optional()});function n(){try{return o.parse({key:"phc_ITcRXThLFMuKZJgfckUiNYKYigzzXy3c1nU876YWvzV",host:"https://eu.i.posthog.com",ingestUrl:"https://hugoblox.com/relay-3p9j"})}catch(t){return t instanceof s.z.ZodError?console.warn("PostHog client configuration invali
1d:",t.errors.map(t=>`${t.path.join(".")}: ${t.message}`).join(", ")):console.warn("PostHog client configuration validation failed:",t),null}}function a(t){if(!t||"object"!=typeof t)return{};let i={};for(let[e,r]of Object.entries(t))"string"==typeof e&&(null==r?i[e]="":"string"==typeof r?i[e]=r:"number"==typeof r||"boolean"==typeof r?i[e]=String(r):i[e]=JSON.stringify(r));return i}s.z.object({key:s.z.string().min(1,"PostHog API key is required"),host:s.z.string().url("PostHog host must be a valid URL")});class c{static instance=null;static initializationPromise=null;static initializationError=null;static async getInstance(t){if(this.instance)return this.instance;if(this.initializationError)throw this.initializationError;if(this.initializationPromise)return this.initializationPromise;this.initializationPromise=this.initialize(t);try{return this.instance=await this.initializationPromise,this.instance}catch(t){throw this.initializationError=t instanceof Error?t:Error(String(t)),this.initializationPromise=null,this.initializationError}}static async initialize(i){let{posthog:e}=await t.A(705026);if(!e.__loaded){e.init(i.key,{api_host:i.ingestUrl??i.host,ui_host:i.host.replace(".i.posthog.com",".posthog.com"),persistence:"localStorage+cookie",person_profiles:"always",capture_pageview:"history_change",capture_pageleave:!0,request_batching:!0,opt_out_capturing_by_default:!1,disable_session_recording:!0,session_recording:{recordCrossOriginIframes:!1}});let t=()=>{try{e.startSessionRecording?.()}catch{}};"requestIdleCallback"in window?window.requestIdleCallback(t,{timeout:3e3}):setTimeout(t,3e3)}return e}static reset(){this.instance=null,this.initializationPromise=null,this.initializationError=null}}let l=new class extends r{constructor(){super()}async registerSuperPropertiesAsync(t){this.isReady||await this.ready();let i=n();if(i)try{(await c.getInstance(i)).register(a(t))}catch(t){console.error("Failed to register super properties with PostHog:",t)}}async captureExceptionAsync(t,i){this.isReady||await this.ready();let e=n();if(e)try{let r=await c.getInstance(e),s=a(i),o=r.capture("$exception",{$exception_type:t.name,$exception_message:t.message,$exception_stack_trace_raw:t.stack,$exception_source:"client",digest:t.digest,distinctId:this.userId,...s});console.debug(o)}catch(t){console.error("Failed to capture exception with PostHog:",t)}}async captureEventAsync(t,i){this.isReady||await this.ready();let e=n();if(e)try{let r=await c.getInstance(e),s=a(i);r.capture(t,{distinctId:this.userId,...s})}catch(t){console.error("Failed to capture event with PostHog:",t)}}async identifyUserAsync(t){this.isReady||await this.ready();let i=n();if(i)try{let e=await c.getInstance(i),r=a(t);e.identify(t.id,r)}catch(t){console.error("Failed to identify user with PostHog:",t)}}async initialize(){try{let t=n();if(!t){console.warn("PostHog client monitoring disabled: missing NEXT_PUBLIC_POSTHOG_KEY or NEXT_PUBLIC_POSTHOG_HOST"),this.isReady=!0,this.readyResolver?.();return}await c.getInstance(t),this.isReady=!0,this.readyResolver?.()}catch(t){console.error("Failed to initialize PostHog client monitoring:",t),this.isReady=!0,this.readyResolver?.()}}};function u({children:t}){return(0,i.jsx)(h,{children:t})}function h(t){return(0,i.jsx)(e.MonitoringContext.Provider,{value:l,children:t.children})}t.s(["PostHogProvider",()=>u],690267)},705026,t=>{t.v(i=>Promise.all(["static/chunks/22dd1ca215a17947.js"].map(i=>t.l(i))).then(()=>i(586927)))}]);
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.