1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`2ad7a7cff4a90482330b653e514237e1a7ebbd67`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`c2d35ea3-a8e6-4b22-b3db-baf213cdf38e`,e._sentryDebugIdIdentifier=`sentry-dbid-c2d35ea3-a8e6-4b22-b3db-baf213cdf38e`)}catch{}})();var e=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,t=globalThis,n=`10.68.0`;function r(){return i(t),t}function i(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||`10.68.0`,t[n]=t[`10.68.0`]||{}}function a(e,r,i=t){let a=i.__SENTRY__=i.__SENTRY__||{},o=a[n]=a[`10.68.0`]||{};return o[e]||(o[e]=r())}var o=[`debug`,`info`,`warn`,`error`,`log`,`assert`,`trace`],s=`Sentry Logger `,c={};function l(e){if(!(`console`in t))return e();let n=t.console,r={},i=Object.keys(c);i.forEach(e=>{let t=c[e];r[e]=n[e],n[e]=t});try{return e()}finally{i.forEach(e=>{n[e]=r[e]})}}function u(){te().enabled=!0}function d(){te().enabled=!1}function f(){return te().enabled}function p(...e){ee(`log`,...e)}function m(...e){ee(`warn`,...e)}function h(...e){ee(`error`,...e)}function ee(n,...r){e&&f()&&l(()=>{t.console[n](`${s}[${n}]:`,...r)})}function te(){return e?a(`loggerSettings`,()=>({enabled:!1})):{enabled:!1}}var g={enable:u,disable:d,isEnabled:f,log:p,warn:m,error:h},ne=50,re=/\(error: (.*)\)/,ie=/captureMessage|captureException/;function ae(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,r=0)=>{let i=[],a=e.split(` 2`);for(let e=n;e<a.length;e++){let n=a[e];n.length>1024&&(n=n.slice(0,1024));let o=re.test(n)?n.replace(re,`$1`):n;if(!o.includes(`Error: `)){for(let e of t){let t=e(o);if(t){i.push(t);break}}if(i.length>=ne+r)break}}return se(i.slice(r))}}function oe(e){return Array.isArray(e)?ae(...e):e}function se(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(ce(t).function||``)&&t.pop(),t.reverse(),ie.test(ce(t).function||``)&&(t.pop(),ie.test(ce(t).function||``)&&t.pop()),t.slice(0,ne).map(e=>({...e,filename:e.filename||ce(t).filename,function:e.function||`?`}))}function ce(e){return e[e.length-1]||{}}var le=`<anonymous>`;function ue(e){try{return!e||typeof e!=`function`?le:e.name||le}catch{return le}}function de(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{return}}}var _={},fe={};function v(e,t){return _[e]=_[e]||[],_[e].push(t),()=>{let n=_[e];if(n){let e=n.indexOf(t);e!==-1&&n.splice(e,1)}}}function y(t,n){if(!fe[t]){fe[t]=!0;try{n()}catch(n){e&&g.error(`Error while instrumenting ${t}`,n)}}}function b(t,n){let r=t&&_[t];if(r)for(let i of r)try{i(n)}catch(n){e&&g.error(`Error while triggering instrumentation handler. 3Type: ${t} 4Name: ${ue(i)} 5Error:`,n)}}var pe=null;function me(e){let t=`error`;v(t,e),y(t,he)}function he(){pe=t.onerror,t.onerror=function(e,t,n,r,i){return b(`error`,{column:r,error:i,line:n,msg:e,url:t}),pe?pe.apply(this,arguments):!1},t.onerror.__SENTRY_INSTRUMENTED__=!0}var ge=null;function _e(e){let t=`unhandledrejection`;v(t,e),y(t,ve)}function ve(){ge=t.onunhandledrejection,t.onunhandledrejection=function(e){return b(`unhandledrejection`,e),!ge||ge.apply(this,arguments)},t.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}var ye=Object.prototype.toString;function be(e){switch(ye.call(e)){case`[object Error]`:case`[object Exception]`:case`[object DOMException]`:case`[object WebAssembly.Exception]`:return!0;default:return Ae(e,Error)}}function x(e,t){return ye.call(e)===`[object ${t}]`}function xe(e){return x(e,`ErrorEvent`)}function Se(e){return x(e,`DOMError`)}function Ce(e){return x(e,`DOMException`)}function S(e){return x(e,`String`)}function we(e){return typeof e==`object`&&!!e&&`__sentry_template_string__`in e&&`__sentry_template_values__`in e}function Te(e){return e===null||we(e)||typeof e!=`object`&&typeof e!=`function`}function Ee(e){return x(e,`Object`)}function De(e){return typeof e==`object`&&!!e}function Oe(e){return typeof Event<`u`&&Ae(e,Event)}function ke(e){return x(e,`RegExp`)}function C(e){return!!(e?.then&&typeof e.then==`function`)}function Ae(e,t){try{return e instanceof t}catch{return!1}}function je(e){return typeof Request<`u`&&Ae(e,Request)}function Me(t,n,r){if(!(n in t))return;let i=t[n];if(typeof i!=`function`)return;let a=r(i);typeof a==`function`&&Ne(a,i);try{t[n]=a}catch{e&&g.log(`Failed to replace method "${n}" in object`,t)}}function w(t,n,r){try{Object.defineProperty(t,n,{value:r,writable:!0,configurable:!0})}catch{e&&g.log(`Failed to add non-enumerable property "${String(n)}" to object`,t)}}function Ne(e,t){try{e.prototype=t.prototype=t.prototype||{},w(e,`__sentry_original__`,t)}catch{}}function Pe(e){return e.__sentry_original__}function Fe(e){if(be(e))return{message:e.message,name:e.name,stack:e.stack,...Ie(e)};
5if(Oe(e)){let{type:t,target:n,currentTarget:r,detail:i}=e;return{type:t,target:n,currentTarget:r,...i?{detail:i}:{},...Ie(e)}}return e}function Ie(e){return De(e)?Object.fromEntries(Object.entries(e)):{}}function Le(e){let t=Object.keys(Fe(e));return t.sort(),t[0]?t.join(`, `):`[object has no keys]`}var T;function E(e){if(T!==void 0)return T?T(e):e();let n=Symbol.for(`__SENTRY_SAFE_RANDOM_ID_WRAPPER__`),r=t;return n in r&&typeof r[n]==`function`?(T=r[n],T(e)):(T=null,e())}function D(){return E(()=>Math.random())}function O(){return E(()=>Date.now())}var Re=Symbol.for(`sentry.skipNormalization`),ze=Symbol.for(`sentry.overrideNormalizationDepth`);function Be(e,t){w(e,ze,t)}function Ve(e){return!!e[Re]}function He(e){let t=e[ze];return typeof t==`number`?t:void 0}var Ue;function We(e){Ue=e}function k(e,t=100,n=1/0){try{return Ke(``,e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function Ge(e,t=3,n=100*1024){let r=k(e,t);return Xe(r)>n?Ge(e,t-1,n):r}function Ke(e,t,n=1/0,r=1/0,i=Ze()){let[a,o]=i;if(t==null||[`boolean`,`string`].includes(typeof t)||typeof t==`number`&&Number.isFinite(t))return t;let s=qe(e,t);if(!s.startsWith(`[object `))return s;if(Ve(t))return t;let c=He(t),l=c===void 0?n:c;if(l===0)return s.replace(`object `,``);if(a(t))return`[Circular ~]`;let u=t;if(u&&typeof u.toJSON==`function`)try{return Ke(``,u.toJSON(),l-1,r,i)}catch{}let d=Array.isArray(t)?[]:{},f=0,p=Fe(t);for(let e in p){if(!Object.prototype.hasOwnProperty.call(p,e))continue;if(f>=r){d[e]=`[MaxProperties ~]`;break}let t=p[e];d[e]=Ke(e,t,l-1,r,i),f++}return o(t),d}function qe(e,t){try{if(Ue){let e=Ue(t);if(e)return e}return typeof global<`u`&&t===global?`[Global]`:typeof t==`number`&&!Number.isFinite(t)?`[${t}]`:typeof t==`function`?`[Function: ${ue(t)}
5]`:typeof t==`symbol`?`[${String(t)}]`:typeof t==`bigint`?`[BigInt: ${String(t)}]`:`[object ${Je(t)}]`}catch(e){return`**non-serializable** (${e})`}}function Je(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:`null prototype`}function Ye(e){return~-encodeURI(e).split(/%..|./).length}function Xe(e){return Ye(JSON.stringify(e))}function Ze(){let e=new WeakSet;function t(t){return e.has(t)?!0:(e.add(t),!1)}function n(t){e.delete(t)}return[t,n]}function Qe(e,t=0){return typeof e!=`string`||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function $e(e,t){if(!Array.isArray(e))return``;let n=[];for(let t=0;t<e.length;t++){let r=e[t];Te(r)?n.push(String(r)):r instanceof Error?n.push(r.message?`${r.name}: ${r.message}`:r.name):n.push(qe(void 0,r))}return n.join(t)}function A(e,t,n=!1){return S(e)?ke(t)?t.test(e):S(t)?n?e===t:e.includes(t):typeof t==`function`&&t(e):!1}function et(e,t=[],n=!1){for(let r of t)if(A(e,r,n))return!0;return!1}function tt(){let e=t;return e.crypto||e.msCrypto}var nt;function rt(){return D()*16}function j(e=tt()){try{if(e?.randomUUID)return E(()=>e.randomUUID()).replace(/-/g,``)}catch{}return nt||=`10000000100040008000100000000000`,nt.replace(/[018]/g,e=>(e^(rt()&15)>>e/4).toString(16))}function it(e){return e.exception?.values?.[0]}function at(e){let{message:t,event_id:n}=e;if(t)return t;let r=it(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||`<unknown>`:n||`<unknown>`}function ot(e,t,n){let r=e.exception=e.exception||{},i=r.values=r.values||[],a=i[0]=i[0]||{};a.value||=t||``,a.type||=n||`Error`}function st(e,t){let n=it(e);if(!n)return;let r={type:`generic`,handled:!0},i=n.mechanism;if(n.mechanism={...r,...i,...t},t&&`data`in t){let e={...i?.data,...t.data};n.mechanism.data=e}}function ct(e){if(lt(e))return!0;try{w(e,`__sentry_captured__`,!0)}catch{}return!1}function lt(e){try{return e.__sentry_captured__}catch{}}var ut=1e3;function dt(){return O()/ut}function ft(){let{performance:e}=t;if(!e?.now||!e.timeOrigin)return dt;let n=e.timeOrigin;return()=>(n+E(()=>e.now()))/ut}var pt;function M(){return(pt??=ft())()}var mt=null;function ht(){let{performance:e}=t;if(!e?.now)return;let n=3e5,r=E(()=>e.now()),i=O(),a=e.timeOrigin;if(typeof a==`number`&&Math.abs(a+r-i)<n)return a;let o=e.timing?.navigationStart;return typeof o==`number`&&Math.abs(o+r-i)<n?o:i-r}function gt(){return mt===null&&(mt=ht()),mt}function _t(e){let t=M(),n={sid:j(),init:!0,timestamp:t,started:t,duration:0,status:`ok`,errors:0,ignoreDuration:!1,toJSON:()=>yt(n)};return e&&N(n,e),n}function N(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||M(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:j()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started==`number`&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration==`number`)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors==`number`&&(e.errors=t.errors),t.status&&(e.status=t.status)}function vt(e,t){let n={};t?n={status:t}:e.status===`ok`&&(n={status:`exited`}),N(e,n)}function yt(e){return{sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did==`number`||typeof e.did==`string`?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}function P(e,t,n=2){if(!t||typeof t!=`object`||n<=0)return t;if(e&&Object.keys(t).length===0)return e;let r={...e};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=P(r[e],t[e],n-1));return r}function F(){return j()}function I(){return j().substring(16)}function bt(e){try{let n=t.WeakRef;if(typeof n==`function`)return new n(e)}catch{}return e}function xt(e){if(e){if(typeof e==`object`&&`deref`in e&&typeof e.deref==`function`)try{return e.deref()}catch{return}return e}}var St=`_sentrySpan`;function Ct(e,t){t?w(e,St,bt(t)):delete e[St]}function wt(e){return xt(e[St])}var Tt=100,L=class t{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:F(),sampleRand:D()}}clone(){let e=new t;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,Ct(e,wt(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&N(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,t){return this.setAttributes({[e]:t})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return t===null?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let n=typeof e==`function`?e(this):e,{tags:r,attributes:i,extra:a,user:o,contexts:s,level:c,fingerprint:l=[],propagationContext:u,conversationId:d}=(n instanceof t?n.getScopeData():Ee(n)?e:void 0)||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...i},this._extra={...this._extra,...a},this._contexts={...this._contexts,...s},o&&Object.keys(o).length&&(this._user=o),c&&(this._level=c),l.length&&(this._fingerprint=l),u&&(this._propagationContext=u),d&&(this._conversationId=d),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,Ct(this,void 0),this._attachments=[],this.setPropagationContext({traceId:F(),sampleRand:D()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let n=typeof t==`number`?t:Tt;if(n<=0)return this;let r={timestamp:dt(),...e,message:e.message?Qe(e.message,2048):e.message};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent(`buffer_overflow`,`log_item`)),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:wt(this),conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=P(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(t,n){let r=n?.event_id||j();if(!this._client)return e&&g.warn(`No client configured on scope - will not capture exception!`),r;let i=Error(`Sentry syntheticException`);return this._client.captureException(t,{originalException:t,syntheticException:i,...n,event_id:r},this),r}captureMessage(t,n,r){let i=r?.event_id||j();if(!this._client)return e&&g.warn(`No client configured on scope - will not capture message!`),i;let a=r?.syntheticException??Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:a,...r,event_id:i},this),i}captureEvent(t,n){let r=t.event_id||n?.event_id||j();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(e&&g.warn(`No client configured on scope - will not capture event!`),r)}_notifyScopeListeners(){this._notifyingListeners||=(this._notifyingListeners=!0,this._scopeListeners.forEac
5h(e=>{e(this)}),!1)}};function Et(){return a(`defaultCurrentScope`,()=>new L)}function Dt(){return a(`defaultIsolationScope`,()=>new L)}var Ot=e=>e instanceof Promise&&!e[kt],kt=Symbol(`chained PromiseLike`),At=(e,t,n)=>{let r=e.then(e=>(t(e),e),e=>{throw n(e),e});return Ot(r)&&Ot(e)?r:jt(e,r)},jt=(e,t)=>{if(!t)return e;let n=!1;for(let r in e){if(r in t)continue;n=!0;let i=e[r];typeof i==`function`?Object.defineProperty(t,r,{value:(...t)=>i.apply(e,t),enumerable:!0,configurable:!0,writable:!0}):t[r]=i}return n&&Object.assign(t,{[kt]:!0}),t},Mt=class{constructor(e,t){let n;n=e||new L;let r;r=t||new L,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){let t=this._pushScope(),n;try{n=e(t)}catch(e){throw this._popScope(),e}return C(n)?At(n,()=>this._popScope(),()=>this._popScope()):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}};function R(){let e=i(r());return e.stack=e.stack||new Mt(Et(),Dt())}function Nt(e){return R().withScope(e)}function Pt(e,t){let n=R();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function Ft(e){return R().withScope(()=>e(R().getIsolationScope()))}function It(){return{withIsolationScope:Ft,withScope:Nt,withSetScope:Pt,withSetIsolationScope:(e,t)=>Ft(t),getCurrentScope:()=>R().getScope(),getIsolationScope:()=>R().getIsolationScope()}}function z(e){let t=i(e);return t.acs?t.acs:It()}function Lt(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&Object.keys(e).includes(`value`)}function Rt(e,t){let{value:n,unit:r}=Lt(e)?e:{value:e,unit:void 0},i=Bt(n),a=r&&typeof r==`string`?{unit:r}:{};if(i)return{...i,...a};if(!t||t===`skip-undefined`&&n===void 0)return;let o=``;try{o=JSON.stringify(n)??``}catch{}return{value:o,type:`string`,...a}}function zt(e,t=!1){let n={};for(let[r,i]of Object.entries(e??{})){let e=Rt(i,t);e&&(n[r]=e)}return n}function Bt(e){if(Array.isArray(e))return{value:e,type:`array`};let t=typeof e==`string`?`string`:typeof e==`boolean`?`boolean`:typeof e==`number`&&!Number.isNaN(e)?Number.isInteger(e)?`integer`:`double`:null;if(t)return{value:e,type:t}}var Vt;function Ht(){return Vt?.()}function Ut(){return Vt!==void 0}function B(){return z(r()).getCurrentScope()}function Wt(){return z(r()).getIsolationScope()}function Gt(){return a(`globalScope`,()=>new L)}function Kt(...e){let t=z(r());if(e.length===2){let[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}return t.withScope(e[0])}function V(){return B().getClient()}function qt(e){let t=Ht();if(t)return{trace_id:t.traceId,span_id:t.spanId};let{traceId:n,parentSpanId:r,propagationSpanId:i}=e.getPropagationContext(),a={trace_id:n,span_id:i||I()};return r&&(a.parent_span_id=r),a}var Jt=`sentry.source`,Yt=`sentry.sample_rate`,Xt=`sentry.previous_trace_sample_rate`,Zt=`sentry.op`,Qt=`sentry.origin`,$t=`sentry.idle_span_finish_reason`,en=`sentry.measurement_unit`,tn=`sentry.measurement_value`,nn=`sentry.custom_span_name`,rn=`sentry.profile_id`,an=`sentry.exclusive_time`,on=`sentry.link.type`,sn=`gen_ai.conversation.id`;function cn(e){if(e<400&&e>=100)return{code:1};if(e>=400&&e<500)switch(e){case 401:return{code:2,message:`unauthenticated`};case 403:return{code:2,message:`permission_denied`};case 404:return{code:2,message:`not_found`};case 409:return{code:2,message:`already_exists`};case 413:return{code:2,message:`failed_precondition`};case 429:return{code:2,message:`resource_exhausted`};case 499:return{code:2,message:`cancelled`};default:return{code:2,message:`invalid_argument`}}if(e>=500&&e<600)switch(e){case 501:return{code:2,message:`unimplemented`};case 503:return{code:2,message:`unavailable`};case 504:return{code:2,message:`deadline_exceeded`};default:return{code:2,message:`internal_error`}}return{code:2,message:`internal_error`}}function ln(e,t){e.setAttribute(`http.response.status_code`,t);let n=cn(t);n.message!==`unknown_error`&&e.setStatus(n)}var un=`_sentryScope`,dn=`_sentryIsolationScope`,fn=Symbol.for(`sentry.otelSourceInference`),pn=Symbol.for(`sentry.otelSourceExplicitlySet`),mn=Symbol.for(`sentry.tracerProviderSpan`);function hn(e,t,n){e&&(w(e,dn,bt(n)),w(e,un,t))}function gn(e){let t=e;return{scope:t[un],isolationScope:xt(t[dn])}}function _n(e){return e[fn]===!0}function vn(e){w(e,pn,!0)}function yn(e){return e[mn]===!0}var bn=`sentry-`;function xn(e){let t=Cn(e);if(!t)return;let n=Object.entries(t).reduce((e,[t,n])=>{if(t.startsWith(`sentry-`)){let r=t.slice(7);e[r]=n}return e},{});if(Object.keys(n).length>0)return n}function Sn(e){if(e)return Tn(Object.entries(e).reduce((e,[t,n])=>(n&&(e[`${bn}${t}`]=n),e),{}))}function Cn(e){if(!(!e||!S(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>
5{let n=wn(t);return Object.entries(n).forEach(([t,n])=>{e[t]=n}),e},{}):wn(e)}function wn(e){return e.split(`,`).map(e=>{let t=e.indexOf(`=`);return t===-1?[]:[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})}).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}function Tn(t){if(Object.keys(t).length!==0)return Object.entries(t).reduce((t,[n,r],i)=>{let a=`${encodeURIComponent(n)}=${encodeURIComponent(r)}`,o=i===0?a:`${t},${a}`;return o.length>8192?(e&&g.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),t):o},``)}var En=/^o(\d+)\./,Dn=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function On(e){return e===`http`||e===`https`}function kn(e,t=!1){let{host:n,path:r,pass:i,port:a,projectId:o,protocol:s,publicKey:c}=e;return`${s}://${c}${t&&i?`:${i}`:``}@${n}${a?`:${a}`:``}/${r&&`${r}/`}${o}`}function An(e){let t=Dn.exec(e);if(!t){l(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[n,r,i=``,a=``,o=``,s=``]=t.slice(1),c=``,u=s,d=u.split(`/`);if(d.length>1&&(c=d.slice(0,-1).join(`/`),u=d.pop()),u){let e=u.match(/^\d+/);e&&(u=e[0])}return jn({host:a,pass:i,path:c,projectId:u,port:o,protocol:n,publicKey:r})}function jn(e){return{protocol:e.protocol,publicKey:e.publicKey||``,pass:e.pass||``,host:e.host,port:e.port||``,path:e.path||``,projectId:e.projectId}}function Mn(t){if(!e)return!0;let{port:n,projectId:r,protocol:i}=t;return[`protocol`,`publicKey`,`host`,`projectId`].find(e=>t[e]?!1:(g.error(`Invalid Sentry Dsn: ${e} missing`),!0))?!1:r.match(/^\d+$/)?On(i)?n&&isNaN(parseInt(n,10))?(g.error(`Invalid Sentry Dsn: Invalid port ${n}`),!1):!0:(g.error(`Invalid Sentry Dsn: Invalid protocol ${i}`),!1):(g.error(`Invalid Sentry Dsn: Invalid projectId ${r}`),!1)}function Nn(e){return e.match(En)?.[1]}function Pn(e){let t=e.getOptions(),{host:n}=e.getDsn()||{},r;return t.orgId?r=String(t.orgId):n&&(r=Nn(n)),r}function Fn(e){let t=typeof e==`string`?An(e):jn(e);if(!(!t||!Mn(t)))return t}function In(e){if(typeof e==`boolean`)return Number(e);let t=typeof e==`string`?parseFloat(e):e;if(!(typeof t!=`number`||isNaN(t)||t<0||t>1))return t}var Ln=RegExp(`^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$`);function Rn(e){if(!e)return;let t=e.match(Ln);if(!t)return;let n;return t[3]===`1`?n=!0:t[3]===`0`&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function zn(e,t){let n=Rn(e),r=xn(t);if(!n?.traceId)return{traceId:F(),sampleRand:D()};let i=Hn(n,r);r&&(r.sample_rand=i.toString());let{traceId:a,parentSpanId:o,parentSampled:s}=n;return{traceId:a,parentSpanId:o,sampled:s,dsc:r||{},sampleRand:i}}function Bn(e=F(),t=I(),n){let r=``;return n!==void 0&&(r=n?`-1`:`-0`),`${e}-${t}${r}`}function Vn(e=F(),t=I(),n){return`00-${e}-${t}-${n?`01`:`00`}`}function Hn(e,t){let n=In(t?.sample_rand);if(n!==void 0)return n;let r=In(t?.sample_rate);return r&&e?.parentSampled!==void 0?e.parentSampled?D()*r:r+D()*(1-r):D()}var Un=!1;function Wn(e){let{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:a,status:o,origin:s,links:c}=U(e);return{parent_span_id:a,span_id:t,trace_id:n,data:r,op:i,status:o,origin:s,links:c}}function Gn(e){let{spanId:t,traceId:n,isRemote:r}=e.spanContext(),i=r?t:U(e).parent_span_id,a=gn(e).scope;return{parent_span_id:i,span_id:r?a?.getPropagationContext().propagationSpanId||I():t,trace_id:n}}function Kn(e){let{traceId:t,spanId:n}=e.spanContext();return Bn(t,n,W(e))}function qn(e){let{traceId:t,spanId:n}=e.spanContext();return Vn(t,n,W(e))}function Jn(e){if(e&&e.length>0)return e.map(({context:{spanId:e,traceId:t,traceFlags:n,...r},attributes:i})=>({span_id:e,trace_id:t,sampled:n===1,attributes:i,...r}))}function Yn(e){if(e?.length)return e.map(({context:{spanId:e,traceId:t,traceFlags:n},attributes:r})=>({span_id:e,trace_id:t,sampled:n===1,attributes:r}))}function H(e){return typeof e==`number`?Xn(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?Xn(e.getTime()):M()}function Xn(e){return e>9999999999?e/1e3:e}function U(e){if(tr(e))return e.getSpanJSON();let{spanId:t,traceId:n}=e.spanContext();if(er(e)){let{attributes:r,startTime:i,name:a,endTime:o,status:s,links:c}=e;return{span_id:t,trace_id:n,data:r,description:a,parent_span_id:Qn(e),start_timestamp:H(i),timestamp:H(o)||void 0,status:nr(s),op:r[Zt],origin:r[Qt],links:Jn(c)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function Zn(e){if(tr(e))return e.getStreamedSpanJSON();let{spanId:t,traceId:n}=e.spanContext();if(er(e)){let{attributes:r,startTime:i,name:a,endTime:o,status:s,links:c}=e;return{name:a,span_id:t,trace_id:n,parent_span_id:Qn(e),start_timestamp:H(i),end_timestamp:H(o),is_segment:e===ur(e),status:rr(s),attributes:ir(r,s),links:Yn(c)}}return{span_id:t,trace_id:n,start_timestamp:0,name:``,end_timestamp:0,status:`ok`,is_segment:e===ur(e)}}function Qn(e){return`parentSpanId`in e?e.parentSpanId:`parentSpanContext`in e?e.parentSpanContext?.spanId:void 0}function $n(e){return{...e,attributes:zt(e.attributes),links:e.links?.map(e=>({...e,attributes:zt(e.attributes)}))}}function er(e){let t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function tr(e){return typeof e.getSpanJSON==`function`}function W(e){let{traceFlags:t}=e.spanContext();return t===1}function nr(e){if(!(!e||e.code===0))return e.code===1?`ok`:e.message||`internal_error`}function rr(e){return!e||e.code===1||e.code===0||e.message===`cancelled`?`ok`:`error`}function ir(e,t){let n=rr(t)===`error`?t?.message:void 0;return{...n&&{"sentry.status.message":n},...e}}var G=`_sentryChildSpans`,ar=`_sentryRootSpan`;function or(e,t){w(t,ar,e[ar]||e),e[G]?e[G].add(t):w(e,G,new Set([t]))}function sr(e,t){e[G]&&e[G].delete(t)}function cr(e){let t=new Set;function n(e){if(!t.has(e)&&W(e)){t.add(e);let r=e[G]?Array.from(e[G]):[];for(let e of r)n(e)}}return n(e),Array.from(t)}var lr=ur;function ur(e){return e[ar]||e}function dr(){let e=z(r());return e.getActiveSpan?e.getActiveSpan():wt(B())}function fr(){Un||=(l(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),!0)}function pr(e){if(typeof __SENTRY_TRACING__==`boolean`&&!__SENTRY_TRACING__)return!1;let t=e||V()?.getOptions();return!!t&&(t.tracesSampleRate!=null||!!t.tracesSampler)}function mr(e){g.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function hr(t,n){if(!n?.length)return!1;for(let r of n){if(vr(r)){if(t.description&&A(t.description,r))return e&&mr(t),!0;continue}let n=!!r.attributes&&Object.keys(r.attributes).length>0;if(!r.name&&!r.op&&!n)continue;let i=!r.name||t.description&&A(t.description,r.name),a=!r.op||t.op&&A(t.op,r.op),o=!r.attributes||Object.entries(r.attributes).every(([e,n])=>gr(t.attributes?.[e],n));if(i&&a&&o)return e&&mr(t),!0}return!1}function gr(e,t){return typeof e==`string`&&(typeof t==`string`||t instanceof RegExp)?A(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e===t}function _r(e,t){let n=t.parent_span_id,r=t.span_id;if(n)for(let t of e)t.parent_span_id===r&&(t.parent_span_id=n)}function vr(e){return typeof e==`string`||e instanceof RegExp}var yr=Symbol.for(`sentry.nonRecordingSpan`),br=class{constructor(e={}){this._traceId=e.traceId||F(),this._spanId=e.spanId||I(),this.dropReason=e.dropReason,w(this,yr,!0)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:0}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}
5addEvent(e,t,n){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}};function xr(e){return!!e&&e[yr]===!0}var Sr=`production`,Cr=`_frozenDsc`;function wr(e,t){w(e,Cr,t)}function Tr(e,t){let n=t.getOptions(),{publicKey:r}=t.getDsn()||{},i={environment:n.environment||`production`,release:n.release,public_key:r,trace_id:e,org_id:Pn(t)};return t.emit(`createDsc`,i),i}function Er(e,t){let n=t.getPropagationContext();return n.dsc||Tr(n.traceId,e)}function Dr(e){let t=V();if(!t)return{};let n=lr(e),r=U(n),i=r.data,a=n.spanContext().traceState,o=a?.get(`sentry.sample_rate`)??i[`sentry.sample_rate`]??i[`sentry.previous_trace_sample_rate`];function s(e){return(typeof o==`number`||typeof o==`string`)&&(e.sample_rate=`${o}`),e}let c=n[Cr];if(c)return s(c);let l=xr(n),u=l&&n.dropReason===`ignored`;if(l&&(!pr(t.getOptions())||u)){let e=gn(n).scope;if(e){let n={...Er(t,e)};return u&&(n.sampled=`false`),s(n)}}let d=a?.get(`sentry.dsc`),f=d&&xn(d);if(f)return s(f);let p=Tr(e.spanContext().traceId,t),m=i[`sentry.source`]??i[`sentry.segment.name.source`],h=r.description;return m!==`url`&&h&&(p.transaction=h),pr()&&(p.sampled=String(W(n)),p.sample_rand=a?.get(`sentry.sample_rand`)??gn(n).scope?.getPropagationContext().sampleRand.toString()),s(p),t.emit(`createDsc`,p,n),p}function Or(e){return!!e&&typeof e==`function`&&`_streamed`in e&&!!e._streamed}function kr(e,t=[]){return[e,t]}function Ar(e,t){let[n,r]=e;return[n,[...r,t]]}function jr(e,t){let n=e[1];for(let e of n){let n=e[0].type;if(t(e,n))return!0}return!1}function Mr(e,t){return jr(e,(e,n)=>t.includes(n))}function Nr(e){let n=i(t);return n.encodePolyfill?n.encodePolyfill(e):new TextEncoder().encode(e)}function Pr(e){let[t,n]=e,r=JSON.stringify(t);function i(e){typeof r==`string`?r=typeof e==`string`?r+e:[Nr(r),e]:r.push(typeof e==`string`?Nr(e):e)}for(let e of n){let[t,n]=e;if(i(` 6${JSON.stringify(t)} 7`),typeof n==`string`||n instanceof Uint8Array)i(n);else{let e;try{e=JSON.stringify(n)}catch{e=JSON.stringify(k(n))}i(e)}}return typeof r==`string`?r:Fr(r)}function Fr(e){let t=e.reduce((e,t)=>e+t.length,0),n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.length;return n}function Ir(e){return[{type:`span`},e]}function Lr(e){let t=typeof e.data==`string`?Nr(e.data):e.data;return[{type:`attachment`,length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}var Rr={sessions:`session`,event:`error`,client_report:`internal`,user_report:`default`,profile_chunk:`profile`,replay_event:`replay`,replay_recording:`replay`,check_in:`monitor`,raw_security:`security`,log:`log_item`,trace_metric:`metric`};function zr(e){return e in Rr}function Br(e){return zr(e)?Rr[e]:e}function Vr(e){if(!e?.sdk)return;let{name:t,version:n}=e.sdk;return{name:t,version:n}}function Hr(e,t,n,r){let i=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date(O()).toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:kn(r)},...i&&{trace:i}}}function Ur(e,t){if(!t)return e;let n=e.sdk||{};return e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0},e}function Wr(e,t,n,r){let i=Vr(n);return kr({sent_at:new Date(O()).toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:kn(t)}},[`aggregates`in e?[{type:`sessions`},e]:[{type:`session`},e.toJSON()]])}function Gr(e,t,n,r){let i=Vr(n),a=e.type&&e.type!==`replay_event`?e.type:`event`;Ur(e,n?.sdk);let o=Hr(e,i,r,t);return delete e.sdkProcessingMetadata,kr(o,[[{type:a},e]])}function Kr(e,t){function n(e){return!!e.trace_id&&!!e.public_key}let r=Dr(e[0]),i=t?.getDsn(),a=t?.getOptions().tunnel,o={sent_at:new Date(O()).toISOString(),...n(r)&&{trace:r},...!!a&&i&&{dsn:kn(i)}},{beforeSendSpan:s,ignoreSpans:c}=t?.getOptions()||{},l=c?.length?e.filter(e=>{let t=U(e);return!hr({description:t.description,op:t.op,attributes:t.data},c)}):e,u=e.length-l.length;u&&t?.recordDroppedEvent(`before_send`,`span`,u);let d=s?e=>{let t=U(e);return(Or(s)?t:s(t))||(fr(),t)}:U,f=[];for(let e of l){let t=d(e);t&&f.push(Ir(t))}return kr(o,f)}function qr(e){return e.getOptions().traceLifecycle===`stream`}function Jr(e,t){let{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:a}=t;
7Zr(e,t),r&&ei(e,r),ti(e,n),Qr(e,i),$r(e,a)}function Yr(e,t){let{extra:n,tags:r,attributes:i,user:a,contexts:o,level:s,sdkProcessingMetadata:c,breadcrumbs:l,fingerprint:u,eventProcessors:d,attachments:f,propagationContext:p,transactionName:m,span:h}=t;K(e,`extra`,n),K(e,`tags`,r),K(e,`attributes`,i),K(e,`user`,a),K(e,`contexts`,o),e.sdkProcessingMetadata=P(e.sdkProcessingMetadata,c,2),s&&(e.level=s),m&&(e.transactionName=m),h&&(e.span=h),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),f.length&&(e.attachments=[...e.attachments,...f]),e.propagationContext={...e.propagationContext,...p}}function K(e,t,n){e[t]=P(e[t],n,1)}function Xr(e,t){let n=Gt().getScopeData();return e&&Yr(n,e.getScopeData()),t&&Yr(n,t.getScopeData()),n}function Zr(e,t){let{extra:n,tags:r,user:i,contexts:a,level:o,transactionName:s}=t;Object.keys(n).length&&(e.extra={...n,...e.extra}),Object.keys(r).length&&(e.tags={...r,...e.tags}),Object.keys(i).length&&(e.user={...i,...e.user}),Object.keys(a).length&&(e.contexts={...a,...e.contexts}),o&&(e.level=o),s&&e.type!==`transaction`&&(e.transaction=s)}function Qr(e,t){let n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function $r(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function ei(e,t){e.contexts={trace:Gn(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:Dr(t),...e.sdkProcessingMetadata};let n=U(lr(t)).description;n&&!e.transaction&&e.type===`transaction`&&(e.transaction=n)}function ti(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint.length||delete e.fingerprint}var ni=`http.url`,ri=`navigation.route.id`,ii=`params`,ai=`sentry.segment.name`,oi=`sentry.transaction`,si=`url.full`,ci=`url.path`,li=`url.path.parameter`,ui=`url.template`,di=0,fi=1,pi=2;function mi(e){return new gi(t=>{t(e)})}function hi(e){return new gi((t,n)=>{n(e)})}var gi=class e{constructor(e){this._state=di,this._handlers=[],this._runExecutor(e)}then(t,n){return new e((e,r)=>{this._handlers.push([!1,n=>{if(!t)e(n);else try{e(t(n))}catch(e){r(e)}},t=>{if(!n)r(t);else try{e(n(t))}catch(e){r(e)}}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(t){return new e((e,n)=>{let r,i;return this.then(e=>{i=!1,r=e,t&&t()},e=>{i=!0,r=e,t&&t()}).then(()=>{if(i){n(r);return}e(r)})})}_executeHandlers(){if(this._state===di)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||=(this._state===fi&&e[1](this._value),this._state===pi&&e[2](this._value),!0)})}_runExecutor(e){let t=(e,t)=>{if(this._state===di){if(C(t)){t.then(n,r);return}this._state=e,this._value=t,this._executeHandlers()}},n=e=>{t(fi,e)},r=e=>{t(pi,e)};try{e(n,r)}catch(e){r(e)}}};function _i(e,t,n,r=0){try{let i=vi(t,n,e,r);return C(i)?i:mi(i)}catch(e){return hi(e)}}function vi(t,n,r,i){let a=r[i];if(!t||!a)return t;let o=a({...t},n);return e&&o===null&&g.log(`Event processor "${a.id||`?`}" dropped event`),C(o)?o.then(e=>vi(e,n,r,i+1)):vi(o,n,r,i+1)}var q,yi,bi,J;function xi(e){let n=t._sentryDebugIds,r=t._debugIds;if(!n&&!r)return{};let i=n?Object.keys(n):[],a=r?Object.keys(r):[];if(J&&i.length===yi&&a.length===bi)return J;yi=i.length,bi=a.length,J={},q||={};let o=(t,n)=>{for(let r of t){let t=n[r],i=q?.[r];if(i&&J&&t)J[i[0]]=t,q&&(q[r]=[i[0],t]);else if(t){let n=e(r);for(let e=n.length-1;e>=0;e--){let i=n[e]?.filename;if(i&&J&&q){J[i]=t,q[r]=[i,t];break}}}}};return n&&o(i,n),r&&o(a,r),J}function Si(e,t,n,r,i,a){let{normalizeDepth:o=3,normalizeMaxBreadth:s=1e3}=e,c={...t,event_id:t.event_id||n.event_id||j(),timestamp:t.timestamp||dt()},l=n.integrations||e.integrations.map(e=>e.name);Ci(c,e),Ei(c,l),i&&i.emit(`applyFrameMetadata`,t),t.type===void 0&&wi(c,e.stackParser);let u=Oi(r,n.captureContext);n.mechanism&&st(c,n.mechanism);let d=i?i.getEventProcessors():[],f=Xr(a,u),p=[...n.attachments||[],...f.attachments];p.length&&(n.attachments=p),Jr(c,f);let m=[...d,...f.eventProcessors];return(n.data&&n.data.__sentry__===!0?mi(c):_i(m,c,n)).then(e=>(e&&Ti(e),typeof o==`number`&&o>0?Di(e,o,s):e))}function Ci(e,t){let{environment:n,release:r,dist:i,maxValueLength:a}=t;e.environment=e.environment||n||`production`,!e.release&&r&&(e.release=r),!e.dist&&i&&(e.dist=i);let o=e.request;o?.url&&a&&(o.url=Qe(o.url,a)),a&&e.exception?.values?.forEach(e
7=>{e.value&&=Qe(e.value,a)})}function wi(e,t){let n=xi(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=n[e.filename])})})}function Ti(e){let t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:`sourcemap`,code_file:e,debug_id:t})})}function Ei(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function Di(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:k(e.data,t,n)}}))},...e.user&&{user:k(e.user,t,n)},...e.contexts&&{contexts:k(e.contexts,t,n)},...e.extra&&{extra:k(e.extra,t,n)}};return e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=k(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:k(e.data,t,n)}}))),e.contexts?.flags&&r.contexts&&(r.contexts.flags=k(e.contexts.flags,3,n)),r}function Oi(e,t){if(!t)return e;let n=e?e.clone():new L;return n.update(t),n}function ki(e){if(e)return Ai(e)||Mi(e)?{captureContext:e}:e}function Ai(e){return e instanceof L||typeof e==`function`}var ji=[`user`,`level`,`extra`,`contexts`,`tags`,`fingerprint`,`propagationContext`];function Mi(e){return Object.keys(e).some(e=>ji.includes(e))}function Ni(e,t){return B().captureException(e,ki(t))}function Pi(e,t){return B().captureEvent(e,t)}function Fi(){let e=V();return e?.getOptions().enabled!==!1&&!!e?.getTransport()}function Ii(e){let n=Wt(),{user:r}=Xr(n,B()),{userAgent:i}=t.navigator||{},a=_t({user:r,...i&&{userAgent:i},...e}),o=n.getSession();return o?.status===`ok`&&N(o,{status:`exited`}),Li(),n.setSession(a),a}function Li(){let e=Wt(),t=B().getSession()||e.getSession();t&&vt(t),Ri(),e.setSession()}function Ri(){let e=Wt(),t=V(),n=e.getSession();n&&t&&t.captureSession(n)}function zi(e=!1){if(e){Li();return}Ri()}var Bi=[];function Vi(e){let t={};return e.forEach(e=>{let{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.values(t)}function Hi(e){let t=e.defaultIntegrations||[],n=e.integrations;t.forEach(e=>{e.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...t,...n];else if(typeof n==`function`){let e=n(t);r=Array.isArray(e)?e:[e]}else r=t;return Vi(r)}function Ui(e,t){let n={};return t.forEach(t=>{t?.beforeSetup&&t.beforeSetup(e)}),t.forEach(t=>{t&&Gi(e,t,n)}),n}function Wi(e,t){for(let n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function Gi(t,n,r){if(r[n.name]){e&&g.log(`Integration skipped because it was already installed: ${n.name}`);return}if(r[n.name]=n,!Bi.includes(n.name)&&typeof n.setupOnce==`function`&&(n.setupOnce(),Bi.push(n.name)),n.setup&&typeof n.setup==`function`&&n.setup(t),typeof n.preprocessEvent==`function`){let e=n.preprocessEvent.bind(n);t.on(`preprocessEvent`,(n,r)=>e(n,r,t))}if(typeof n.processEvent==`function`){let e=n.processEvent.bind(n),r=Object.assign((n,r)=>e(n,r,t),{id:n.name});t.addEventProcessor(r)}[`processSpan`,`processSegmentSpan`].forEach(e=>{let r=n[e];typeof r==`function`&&t.on(e,e=>r.call(n,e,t))}),e&&g.log(`Integration installed: ${n.name}`)}function Ki(e){return e}function qi(){return typeof __SENTRY_BROWSER_BUNDLE__<`u`&&!!__SENTRY_BROWSER_BUNDLE__}function Ji(){return`npm`}function Yi(){return!qi()&&Object.prototype.toString.call(typeof process<`u`?process:0)===`[object process]`}function Xi(){return typeof window<`u`&&(!Yi()||Zi())}function Zi(){return t.process?.type===`renderer`}var Qi=`thismessage:/`;function $i(e){return`isRelative`in e}function ea(e,t){let n=e.indexOf(`://`)<=0&&e.indexOf(`//`)!==0,r=t??(n?Qi:void 0);try{if(`canParse`in URL&&!URL.canParse(e,r))return;let t=new URL(e,r);return n?{isRelative:n,pathname:t.pathname,search:t.search,hash:t.hash}:t}catch{}}function ta(e){if($i(e))return e.pathname;let t=new URL(e);return t.search=``,t.hash=``,[`80`,`443`].includes(t.port)&&(t.port=``),t.password&&=`%filtered%`,t.username&&=`%filtered%`,t.toString()}function na(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||``,r=t[8]||``;return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function ra(e){return e.split(/[?#]/,1)[0]}function ia(e,t=!0){if(e.startsWith(`data:`)){let n=e.match(/^data:([^;,]+)/),r=n?n[1]:`text/plain`,i=e.includes(`;base64,`),a=e.indexOf(`,`),o=``;if(t&&a!==-1){let t=e.slice(a+1);o=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${r}${i?`,base64`:``}${o?`,${o}`:``}`}return e}var Y=t;function aa(){return`history`in Y&&!!Y.history}function oa(){if(!(`fetch`in Y))return!1;
7try{return new Headers,new Request(`data:,`),new Response,!0}catch{return!1}}function sa(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function ca(){if(typeof EdgeRuntime==`string`)return!0;if(!oa())return!1;if(sa(Y.fetch))return!0;let t=!1,n=Y.document;if(n&&typeof n.createElement==`function`)try{let e=n.createElement(`iframe`);e.hidden=!0,n.head.appendChild(e),e.contentWindow?.fetch&&(t=sa(e.contentWindow.fetch)),n.head.removeChild(e)}catch(t){e&&g.warn(`Could not create sandbox iframe for pure fetch check, bailing to window.fetch: `,t)}return t}function la(e,t){let n=`fetch`,r=v(n,e);return y(n,()=>da(void 0,t)),r}function ua(e){let t=`fetch-body-resolved`,n=v(t,e);return y(t,()=>da(pa)),n}function da(e,n=!1){n&&!ca()||Me(t,`fetch`,function(n){return function(...r){let i=Error(),{method:a,url:o}=ga(r),s={args:r,fetchData:{method:a,url:o},startTimestamp:M()*1e3,virtualError:i,headers:_a(r)};return e||b(`fetch`,{...s}),n.apply(t,r).then(async t=>(e?e(t):b(`fetch`,{...s,endTimestamp:M()*1e3,response:t}),t),e=>{b(`fetch`,{...s,endTimestamp:M()*1e3,error:e}),be(e)&&e.stack===void 0&&(e.stack=i.stack,w(e,`framesToPop`,1));let t=V()?.getOptions().enhanceFetchErrorMessages??`always`;if(t!==!1&&e instanceof TypeError&&(e.message===`Failed to fetch`||e.message===`Load failed`||e.message===`NetworkError when attempting to fetch resource.`))try{let n=new URL(s.fetchData.url).host;t===`always`?e.message=`${e.message} (${n})`:w(e,`__sentry_fetch_url_host__`,n)}catch{}throw e})}})}async function fa(e,t){if(e?.body){let n=e.body,r=n.getReader(),i=setTimeout(()=>{n.cancel().then(null,()=>{})},90*1e3),a=!0;for(;a;){let e;try{e=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);let{done:i}=await r.read();clearTimeout(e),i&&(t(),a=!1)}catch{a=!1}finally{clearTimeout(e)}}clearTimeout(i),r.releaseLock(),n.cancel().then(null,()=>{})}}function pa(e){let t;try{t=e.clone()}catch{return}fa(t,()=>{b(`fetch-body-resolved`,{endTimestamp:M()*1e3,response:e})})}function ma(e,t){return De(e)&&!!e[t]}function ha(e){return typeof e==`string`?e:e?ma(e,`url`)?e.url:e.toString?e.toString():``:``}function ga(e){if(e.length===0)return{method:`GET`,url:``};if(e.length===2){let[t,n]=e;return{url:ha(t),method:ma(n,`method`)?String(n.method).toUpperCase():je(t)&&ma(t,`method`)?String(t.method).toUpperCase():`GET`}}let t=e[0];return{url:ha(t),method:ma(t,`method`)?String(t.method).toUpperCase():`GET`}}function _a(e){let[t,n]=e;try{if(typeof n==`object`&&n&&`headers`in n&&n.headers)return new Headers(n.headers);if(je(t))return new Headers(t.headers)}catch{}}var va=t;function ya(){try{return va.document.location.href}catch{return``}}function ba(e,t=5){if(!va.HTMLElement)return null;let n=e;for(let e=0;e<t;e++){if(!n)return null;if(n instanceof HTMLElement){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}n=n.parentNode}return null}var xa=t,Sa=0;function Ca(){return Sa>0}function wa(){Sa++,setTimeout(()=>{Sa--})}function Ta(e,n={}){function r(e){return typeof e==`function`}if(!r(e))return e;try{if(Object.prototype.hasOwnProperty.call(e,`__sentry_wrapped__`)){let t=e.__sentry_wrapped__;return typeof t==`function`?t:e}if(Pe(e))return e}catch{return e}let i=function(...r){t._sentryWrappedDepth=(t._sentryWrappedDepth||0)+1;try{let t=r.map(e=>Ta(e,n));return e.apply(this,t)}catch(e){throw wa(),Kt(t=>{t.addEventProcessor(e=>(n.mechanism&&(ot(e,void 0,void 0),st(e,n.mechanism)),e.extra={...e.extra,arguments:r},e)),Ni(e)}),e}finally{t._sentryWrappedDepth=(t._sentryWrappedDepth||0)-1}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(i[t]=e[t])}catch{}Ne(i,e),w(e,`__sentry_wrapped__`,i);try{Object.getOwnPropertyDescriptor(i,`name`).configurable&&Object.defineProperty(i,"name",{get(){return e.name}})}catch{}return i}function Ea(){let e=ya(),{referrer:t}=xa.document||{},{userAgent:n}=xa.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}var Da=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,X=t;function Oa(e,t,n){X.document&&X.addEventListener(e,t,n)}function ka(e,t,n){X.document&&X.removeEventListener(e,t,n)}var Aa=e=>{let t=!1;return()=>{t||=(e(),!0)}},ja=e=>{let t=X.requestIdleCallback||X.setTimeout;X.document?.visibilityState===`hidden`?e():(e=Aa(e),Oa(`visibilitychange`,e,{once:!0,capture:!0}),Oa(`pagehide`,e,{once:!0,capture:!0}),t(()=>{e(),ka(`visibilitychange`,e,{capture:!0}),ka(`pagehide`,e,{capture:!0})}
7))},Ma=80,Z={};try{typeof Node<`u`&&(Z.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,`parentNode`).get),typeof Element<`u`&&(Z.tagName=Object.getOwnPropertyDescriptor(Element.prototype,`tagName`).get,Z.id=Object.getOwnPropertyDescriptor(Element.prototype,`id`).get,Z.className=Object.getOwnPropertyDescriptor(Element.prototype,`className`).get,Z.getAttribute=Element.prototype.getAttribute),typeof HTMLElement<`u`&&(Z.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,`dataset`).get)}catch{}function Q(e,t,n){let r=Z[t];if(r)try{return r.call(e,n)}catch{}let i=e[t];return typeof i==`function`?i.call(e,n):i}function Na(e,t={}){if(!e)return`<unknown>`;try{let n=e,r=[],i=0,a=0,o,s=Array.isArray(t)?t:t.keyAttrs,c=!Array.isArray(t)&&t.maxStringLength||Ma;for(;n&&i++<5&&(o=Pa(n,s),!(o===`html`||i>1&&a+r.length*3+o.length>=c));)r.push(o),a+=o.length,n=Q(n,`parentNode`);return r.reverse().join(` > `)}catch{return`<unknown>`}}function Pa(e,t){let n=[],r=Q(e,`tagName`);if(!r)return``;if(typeof HTMLElement<`u`&&e instanceof HTMLElement){let t=Q(e,`dataset`);if(t){if(t.sentryComponent)return t.sentryComponent;if(t.sentryElement)return t.sentryElement}}n.push(r.toLowerCase());let i=t?.length?t.filter(t=>Q(e,`getAttribute`,t)).map(t=>[t,Q(e,`getAttribute`,t)]):null;if(i?.length)i.forEach(e=>{n.push(`[${e[0]}="${e[1]}"]`)});else{let t=Q(e,`id`);t&&n.push(`#${t}`);let r=Q(e,`className`);if(r&&S(r)){let e=r.split(/\s+/);for(let t of e)n.push(`.${t}`)}}for(let t of[`aria-label`,`type`,`name`,`title`,`alt`]){let r=Q(e,`getAttribute`,t);r&&n.push(`[${t}="${r}"]`)}return n.join(``)}var Fa;function Ia(e){let t=`history`;v(t,e),y(t,La)}function La(){if(X.addEventListener(`popstate`,()=>{let e=X.location.href,t=Fa;Fa=e,t!==e&&b(`history`,{from:t,to:e})}),!aa())return;function e(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let r=Fa,i=Ra(String(n));if(Fa=i,r===i)return e.apply(this,t);b(`history`,{from:r,to:i})}return e.apply(this,t)}}Me(X.history,`pushState`,e),Me(X.history,`replaceState`,e)}function Ra(e){try{return new URL(e,X.location.origin).toString()}catch{return e}}var $=`__sentry_xhr_v3__`;function za(e){v(`xhr`,e),y(`xhr`,Ba)}function Ba(){if(!X.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=Error(),i=M()*1e3,a=S(n[0])?n[0].toUpperCase():void 0,o=Va(n[1]);if(!a||!o)return e.apply(t,n);t[$]={method:a,url:o,request_headers:{}},a===`POST`&&o.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let s=()=>{let e=t[$];if(e&&t.readyState===4){try{e.status_code=t.status}catch{}b(`xhr`,{endTimestamp:M()*1e3,startTimestamp:i,xhr:t,virtualError:r}),t.removeEventListener(`readystatechange`,s)}};return`onreadystatechange`in t&&typeof t.onreadystatechange==`function`?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply(e,t,n){return s(),e.apply(t,n)}}):t.addEventListener(`readystatechange`,s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[r,i]=n,a=t[$];return a&&S(r)&&S(i)&&(a.request_headers[r.toLowerCase()]=i),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){let r=t[$];return r?(n[0]!==void 0&&(r.body=n[0]),b(`xhr`,{startTimestamp:M()*1e3,xhr:t}),e.apply(t,n)):e.apply(t,n)}})}function Va(e){if(S(e))return e;try{return e.toString()}catch{}}var Ha=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__;export{Wr as $,Te as $n,an as $t,Ki as A,ct as An,H as At,hi as B,w as Bn,zn as Bt,ea as C,P as Cn,rr as Ct,Xi as D,M as Dn,sr as Dt,ra as E,dt as En,Yn as Et,Ni as F,Ge as Fn,Wn as Ft,ci as G,Ce as Gn,Sn as Gt,li as H,Me as Hn,kn as Ht,zi as I,We as In,$n as It,ui as J,Oe as Jn,hn as Jt,oi as K,be as Kn,gn as Kt,Fi as L,Be as Ln,Ln as Lt,Gi as M,j as Mn,Zn as Mt,Ui as N,$e as Nn,Kn as Nt,Ji as O,st as On,fr as Ot,Pi as P,et as Pn,qn as Pt,Gr as Q,Ee as Qn,sn as Qt,Ii as R,O as Rn,Bn as Rt,$i as S,F as Sn,lr as St,ia as T,gt as Tn,nr as Tt,ii as U,Pe as Un,Fn as Ut,mi as V,Le as Vn,In as Vt,ai as W,Se as Wn,bn as Wt,ni as X,De as Xn,_n as Xt,ri as Y,Ae as Yn,yn as Yt,qr as Z,we as Zn,ln as Zt,ya as _,Kt as _n,r as _r,pr as _t,Na as a,Zt as an,v as ar,Br as at,sa as b,Ct as bn,t as br,Jn as bt,Oa as c,Yt as cn,ae as cr,Or as ct,Da as d,V as dn,oe as dr,Dr as dt,rn as en,je as er,Kr as et,xa as f,B as fn,o as fr,Sr as ft,ba as g,Ut as g
7n,a as gr,hr as gt,Ta as h,qt as hn,c as hr,_r as ht,Ia as i,tn as in,me as ir,Mr as it,Hi as j,at as jn,U as jt,Wi as k,ot as kn,W as kt,ka as l,Jt as ln,de as lr,wr as lt,Ca as m,Wt as mn,g as mr,xr as mt,$ as n,$t as nn,C as nr,Lr as nt,ja as o,Qt as on,y as or,jr as ot,Ea as p,Gt as pn,l as pr,br as pt,si as q,xe as qn,vn as qt,za as r,en as rn,_e as rr,kr as rt,Aa as s,Xt as sn,b as sr,Pr as st,Ha as t,nn as tn,S as tr,Ar as tt,X as u,on as un,ue as ur,Er as ut,ua as v,z as vn,i as vr,or as vt,na as w,N as wn,cr as wt,ta as x,I as xn,e as xr,dr as xt,la as y,wt as yn,n as yr,ir as yt,Si as z,D as zn,Vn as zt};
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.