(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="bbc3e08e-b175-48dc-aeb4-428f1b0688f0",e._sentryDebugIdIdentifier="sentry-dbid-bbc3e08e-b175-48dc-aeb4-428f1b0688f0")}catch{}})();var l="@vercel/analytics",f="1.1.2",v=()=>{window.va||(window.va=function(...n){(window.vaq=window.vaq||[]).push(n)})};function a(){return typeof window<"u"}function d(){try{const e="production"}catch{}return"production"}function w(e="auto"){if(e==="auto"){window.vam=d();return}window.vam=e}function u(){return(a()?window.vam:d())||"production"}function s(){return u()==="production"}function i(){return u()==="development"}function b(e,{[e]:n,...r}){return r}function p(e,n){if(!e)return;let r=e;const t=[];for(const[o,c]of Object.entries(e))typeof c=="object"&&c!==null&&(n.strip?r=b(o,r):t.push(o));if(t.length>0&&!n.strip)throw Error(`The following properties are not valid: ${t.join(", ")}. Only strings, numbers, booleans, and null are allowed.`);return r}function y(e={debug:!0}){var n;if(!a())return;w(e.mode),v(),e.beforeSend&&((n=window.va)==null||n.call(window,"beforeSend",e.beforeSend));const r=i()?"https://va.vercel-scripts.com/v1/script.debug.js":"/_vercel/insights/script.js";if(document.head.querySelector(`script[src*="${r}"]`))return;const t=document.createElement("script");t.src=r,t.defer=!0,t.setAttribute("data-sdkn",l),t.setAttribute("data-sdkv",f),t.onerror=()=>{const o=i()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${r}. ${o}`)},i()&&e.debug===!1&&t.setAttribute("data-debug","false"),document.head.appendChild(t)}function m(e,n){var r,t;if(!a()){const o="[Vercel Web Analytics] Please import `track` from `@vercel/analytics/server` when using this function in a server environment";if(s())console.warn(o);else throw new Error(o);return}if(!n){(r=window.va)==null||r.call(window,"event",{name:e});return}try{const o=p(n,{strip:s()});(t=window.va)==null||t.call(window,"event",{name:e,data:o})}catch(o){o instanceof Error&&i()&&console.error(o)}}export{y as i,m as t};
//# sourceMappingURL=index.BbOKR91K.js.map
