1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b1d54774-1e11-5ea8-9882-8f65da229ce3")}catch(e){}}(); 3(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`2d8d4132e9aba2534e0d055c54ccfe2e9be7a7f9`}}catch{}})();var e=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,t=globalThis,n=`10.69.0`;function r(){return i(t),t}function i(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||`10.69.0`,t[n]=t[`10.69.0`]||{}}function a(e,r,i=t){let a=i.__SENTRY__=i.__SENTRY__||{},o=a[n]=a[`10.69.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(){g().enabled=!0}function d(){g().enabled=!1}function f(){return g().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 g(){return e?a(`loggerSettings`,()=>({enabled:!1})):{enabled:!1}}var _={enable:u,disable:d,isEnabled:f,log:p,warn:m,error:h},te=50,ne=/\(error: (.*)\)/,re=/captureMessage|captureException/;function ie(...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(` 4`);for(let e=n;e<a.length;e++){let n=a[e];n.length>1024&&(n=n.slice(0,1024));let o=ne.test(n)?n.replace(ne,`$1`):n;if(!o.includes(`Error: `)){for(let e of t){let t=e(o);if(t){i.push(t);break}}if(i.length>=te+r)break}}return oe(i.slice(r))}}function ae(e){return Array.isArray(e)?ie(...e):e}function oe(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(v(t).function||``)&&t.pop(),t.reverse(),re.test(v(t).function||``)&&(t.pop(),re.test(v(t).function||``)&&t.pop()),t.slice(0,te).map(e=>({...e,filename:e.filename||v(t).filename,function:e.function||`?`}))}function v(e){return e[e.length-1]||{}}var se=`<anonymous>`;function ce(e){try{return!e||typeof e!=`function`?se:e.name||se}catch{return se}}function le(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 ue=Object.prototype.toString;function de(e){switch(ue.call(e)){case`[object Error]`:case`[object Exception]`:case`[object DOMException]`:case`[object WebAssembly.Exception]`:return!0;default:return S(e,Error)}}function y(e,t){return ue.call(e)===`[object ${t}]`}function fe(e){return y(e,`ErrorEvent`)}function pe(e){return y(e,`DOMError`)}function me(e){return y(e,`DOMException`)}function b(e){return y(e,`String`)}function he(e){return typeof e==`object`&&!!e&&`__sentry_template_string__`in e&&`__sentry_template_values__`in e}function ge(e){return e===null||he(e)||typeof e!=`object`&&typeof e!=`function`}function _e(e){return y(e,`Object`)}function ve(e){return typeof e==`object`&&!!e}function ye(e){return typeof Event<`u`&&S(e,Event)}function be(e){return y(e,`RegExp`)}function x(e){return!!(e?.then&&typeof e.then==`function`)}function S(e,t){try{return e instanceof t}catch{return!1}}function xe(e){return typeof Request<`u`&&S(e,Request)}function Se(t,n,r){if(!(n in t))return;let i=t[n];if(typeof i!=`function`)return;let a=r(i);typeof a==`function`&&Ce(a,i);try{t[n]=a}catch{e&&_.log(`Failed to replace method "${n}" in object`,t)}}function C(t,n,r){try{Object.defineProperty(t,n,{value:r,writable:!0,configurable:!0})}catch{e&&_.log(`Failed to add non-enumerable property "${String(n)}" to object`,t)}}function Ce(e,t){try{e.prototype=t.prototype=t.prototype||{},C(e,`__sentry_original__`,t)}catch{}}function we(e){return e.__sentry_original__}function Te(e){if(de(e))return{message:e.message,name:e.name,stack:e.stack,...Ee(e)};
4if(ye(e)){let{type:t,target:n,currentTarget:r,detail:i}=e;return{type:t,target:n,currentTarget:r,...i?{detail:i}:{},...Ee(e)}}return e}function Ee(e){return ve(e)?Object.fromEntries(Object.entries(e)):{}}function De(e){let t=Object.keys(Te(e));return t.sort(),t[0]?t.join(`, `):`[object has no keys]`}var w;function T(e){if(w!==void 0)return w?w(e):e();let n=Symbol.for(`__SENTRY_SAFE_RANDOM_ID_WRAPPER__`),r=t;return n in r&&typeof r[n]==`function`?(w=r[n],w(e)):(w=null,e())}function E(){return T(()=>Math.random())}function Oe(){return T(()=>Date.now())}var ke=Symbol.for(`sentry.skipNormalization`),Ae=Symbol.for(`sentry.overrideNormalizationDepth`);function je(e){return!!e[ke]}function Me(e){let t=e[Ae];return typeof t==`number`?t:void 0}var D;function Ne(e){D=e}function O(e,t=100,n=1/0){try{return Fe(``,e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function Pe(e,t=3,n=100*1024){let r=O(e,t);return ze(r)>n?Pe(e,t-1,n):r}function Fe(e,t,n=1/0,r=1/0,i=Be()){let[a,o]=i;if(t==null||[`boolean`,`string`].includes(typeof t)||typeof t==`number`&&Number.isFinite(t))return t;let s=Ie(e,t);if(!s.startsWith(`[object `))return s;if(je(t))return t;let c=Me(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 Fe(``,u.toJSON(),l-1,r,i)}catch{}let d=Array.isArray(t)?[]:{},f=0,p=Te(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]=Fe(e,t,l-1,r,i),f++}return o(t),d}function Ie(e,t){try{if(D){let e=D(t);if(e)return e}return typeof global<`u`&&t===global?`[Global]`:typeof t==`number`&&!Number.isFinite(t)?`[${t}]`:typeof t==`function`?`[Function: ${ce(t)}]`:typeof t==`symbol`?`[${String(t)}]`:typeof t==`bigint`?`[BigInt: ${String(t)}]`:`[object ${Le(t)}]`}catch(e){return`**non-serializable** (${e})`}}function Le(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:`null prototype`}function Re(e){return~-encodeURI(e).split(/%..|./).length}function ze(e){return Re(JSON.stringify(e))}function Be(){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 Ve(e,t=0){return typeof e!=`string`||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function He(e,t){if(!Array.isArray(e))return``;let n=[];for(let t=0;t<e.length;t++){let r=e[t];ge(r)?n.push(String(r)):r instanceof Error?n.push(r.message?`${r.name}: ${r.message}`:r.name):n.push(Ie(void 0,r))}return n.join(t)}function Ue(e,t,n=!1){return b(e)?be(t)?t.test(e):b(t)?n?e===t:e.includes(t):typeof t==`function`&&t(e):!1}function We(e,t=[],n=!1){for(let r of t)if(Ue(e,r,n))return!0;return!1}function Ge(){let e=t;return e.crypto||e.msCrypto}var Ke;function qe(){return E()*16}function k(e=Ge()){try{if(e?.randomUUID)return T(()=>e.randomUUID()).replace(/-/g,``)}catch{}return Ke||=`10000000100040008000100000000000`,Ke.replace(/[018]/g,e=>(e^(qe()&15)>>e/4).toString(16))}function Je(e){return e.exception?.values?.[0]}function Ye(e){let{message:t,event_id:n}=e;if(t)return t;let r=Je(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||`<unknown>`:n||`<unknown>`}function Xe(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 Ze(e,t){let n=Je(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 Qe(e){if($e(e))return!0;try{C(e,`__sentry_captured__`,!0)}catch{}return!1}function $e(e){try{return e.__sentry_captured__}catch{}}var et=1e3;function A(){return Oe()/et}function tt(){let{performance:e}=t;if(!e?.now||!e.timeOrigin)return A;let n=e.timeOrigin;return()=>(n+T(()=>e.now()))/et}var nt;function j(){return(nt??=tt())()}var M=null;function rt(){let{performance:e}=t;if(!e?.now)return;let n=3e5,r=T(()=>e.now()),i=Oe(),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 it(){return M===null&&(M=rt()),M}function at(e){let t=j(),n={sid:k(),init:!0,timestamp:t,started:t,duration:0,status:`ok`,errors:0,ignoreDuration:!1,toJSON:()=>st(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||j(),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:k()),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),t
4ypeof t.errors==`number`&&(e.errors=t.errors),t.status&&(e.status=t.status)}function ot(e,t){let n={};t?n={status:t}:e.status===`ok`&&(n={status:`exited`}),N(e,n)}function st(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 k()}function I(){return k().substring(16)}function ct(e){try{let n=t.WeakRef;if(typeof n==`function`)return new n(e)}catch{}return e}function lt(e){if(e){if(typeof e==`object`&&`deref`in e&&typeof e.deref==`function`)try{return e.deref()}catch{return}return e}}var ut=`_sentrySpan`;function dt(e,t){t?C(e,ut,ct(t)):delete e[ut]}function L(e){return lt(e[ut])}var ft=100,R=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:E()}}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,dt(e,L(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():_e(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,dt(this,void 0),this._attachments=[],this.setPropagationContext({traceId:F(),sampleRand:E()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let n=typeof t==`number`?t:ft;if(n<=0)return this;let r={timestamp:A(),...e,message:e.message?Ve(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:L(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||k();if(!this._client)return e&&_.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||k();if(!this._client)return e&&_.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||k();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(e&&_.warn(`No client configured on scope - will not capture event!`),r)}_notifyScopeListeners(){this._notifyingListeners||=(this._notifyingListeners=!0,this._scopeListeners.forEac
4h(e=>{e(this)}),!1)}};function pt(){return a(`defaultCurrentScope`,()=>new R)}function mt(){return a(`defaultIsolationScope`,()=>new R)}var ht=e=>e instanceof Promise&&!e[gt],gt=Symbol(`chained PromiseLike`),_t=(e,t,n)=>{let r=e.then(e=>(t(e),e),e=>{throw n(e),e});return ht(r)&&ht(e)?r:vt(e,r)},vt=(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,{[gt]:!0}),t},yt=class{constructor(e,t){let n;n=e||new R;let r;r=t||new R,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 x(n)?_t(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 z(){let e=i(r());return e.stack=e.stack||new yt(pt(),mt())}function bt(e){return z().withScope(e)}function xt(e,t){let n=z();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function St(e){return z().withScope(()=>e(z().getIsolationScope()))}function Ct(){return{withIsolationScope:St,withScope:bt,withSetScope:xt,withSetIsolationScope:(e,t)=>St(t),getCurrentScope:()=>z().getScope(),getIsolationScope:()=>z().getIsolationScope()}}function B(e){let t=i(e);return t.acs?t.acs:Ct()}function wt(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&Object.keys(e).includes(`value`)}function Tt(e,t){let{value:n,unit:r}=wt(e)?e:{value:e,unit:void 0},i=Dt(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 Et(e,t=!1){let n={};for(let[r,i]of Object.entries(e??{})){let e=Tt(i,t);e&&(n[r]=e)}return n}function Dt(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 Ot;function kt(){return Ot?.()}function At(){return Ot!==void 0}function V(){return B(r()).getCurrentScope()}function H(){return B(r()).getIsolationScope()}function jt(){return a(`globalScope`,()=>new R)}function Mt(...e){let t=B(r());if(e.length===2){let[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}return t.withScope(e[0])}function U(){return V().getClient()}function Nt(e){let t=kt();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 Pt=`sentry.source`,Ft=`sentry.sample_rate`,It=`sentry.previous_trace_sample_rate`,Lt=`sentry.op`,Rt=`sentry.origin`,zt=`sentry.idle_span_finish_reason`,Bt=`sentry.measurement_unit`,Vt=`sentry.measurement_value`,Ht=`sentry.custom_span_name`,Ut=`sentry.profile_id`,Wt=`sentry.exclusive_time`,Gt=`sentry.link.type`,Kt=`gen_ai.conversation.id`;function qt(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 Jt(e,t){e.setAttribute(`http.response.status_code`,t);let n=qt(t);n.message!==`unknown_error`&&e.setStatus(n)}var Yt=`_sentryScope`,Xt=`_sentryIsolationScope`,Zt=Symbol.for(`sentry.otelSourceInference`),Qt=Symbol.for(`sentry.otelSourceExplicitlySet`),$t=Symbol.for(`sentry.tracerProviderSpan`);
4function en(e,t,n){e&&(C(e,Xt,ct(n)),C(e,Yt,t))}function W(e){let t=e;return{scope:t[Yt],isolationScope:lt(t[Xt])}}function tn(e){return e[Zt]===!0}function nn(e){C(e,Qt,!0)}function rn(e){return e[$t]===!0}var an=`sentry-`;function on(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 un(Object.entries(e).reduce((e,[t,n])=>(n&&(e[`${an}${t}`]=n),e),{}))}function cn(e){if(!(!e||!b(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>{let n=ln(t);return Object.entries(n).forEach(([t,n])=>{e[t]=n}),e},{}):ln(e)}function ln(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 un(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&&_.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),t):o},``)}var dn=/^o(\d+)\./,fn=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function pn(e){return e===`http`||e===`https`}function mn(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 hn(e){let t=fn.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 gn({host:a,pass:i,path:c,projectId:u,port:o,protocol:n,publicKey:r})}function gn(e){return{protocol:e.protocol,publicKey:e.publicKey||``,pass:e.pass||``,host:e.host,port:e.port||``,path:e.path||``,projectId:e.projectId}}function _n(t){if(!e)return!0;let{port:n,projectId:r,protocol:i}=t;return[`protocol`,`publicKey`,`host`,`projectId`].find(e=>t[e]?!1:(_.error(`Invalid Sentry Dsn: ${e} missing`),!0))?!1:r.match(/^\d+$/)?pn(i)?n&&isNaN(parseInt(n,10))?(_.error(`Invalid Sentry Dsn: Invalid port ${n}`),!1):!0:(_.error(`Invalid Sentry Dsn: Invalid protocol ${i}`),!1):(_.error(`Invalid Sentry Dsn: Invalid projectId ${r}`),!1)}function vn(e){return e.match(dn)?.[1]}function yn(e){let t=e.getOptions(),{host:n}=e.getDsn()||{},r;return t.orgId?r=String(t.orgId):n&&(r=vn(n)),r}function bn(e){let t=typeof e==`string`?hn(e):gn(e);if(!(!t||!_n(t)))return t}function G(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 xn=RegExp(`^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$`);function Sn(e){if(!e)return;let t=e.match(xn);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 Cn(e,t){let n=Sn(e),r=on(t);if(!n?.traceId)return{traceId:F(),sampleRand:E()};let i=En(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 wn(e=F(),t=I(),n){let r=``;return n!==void 0&&(r=n?`-1`:`-0`),`${e}-${t}${r}`}function Tn(e=F(),t=I(),n){return`00-${e}-${t}-${n?`01`:`00`}`}function En(e,t){let n=G(t?.sample_rand);if(n!==void 0)return n;let r=G(t?.sample_rate);return r&&e?.parentSampled!==void 0?e.parentSampled?E()*r:r+E()*(1-r):E()}var Dn=!1;function On(e){let{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:a,status:o,origin:s,links:c}=q(e);return{parent_span_id:a,span_id:t,trace_id:n,data:r,op:i,status:o,origin:s,links:c}}function kn(e){let{spanId:t,traceId:n,isRemote:r}=e.spanContext(),i=r?t:q(e).parent_span_id,a=W(e).scope;return{parent_span_id:i,span_id:r?a?.getPropagationContext().propagationSpanId||I():t,trace_id:n}}function An(e){let{traceId:t,spanId:n}=e.spanContext();return wn(t,n,J(e))}function jn(e){let{traceId:t,spanId:n}=e.spanContext();return Tn(t,n,J(e))}function Mn(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 Nn(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 K(e){return typeof e==`number`?Pn(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?Pn(e.getTime()):j()}function Pn(e){return e>9999999999?e/1e3:e}function q(e){if(zn(e))return e.getSpanJSON();let{spanId:t,traceId:n}=e.spanContext();if(Rn(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:In(e),start_timestamp:K(i),timestamp:K(o)||void 0,status:Bn(s),op:r[Lt],origin:r[Rt],links:Mn(c)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function Fn(e){if(zn(e))return e.getStreamedSpanJSON();let{spanId:t,traceId:n}=e.spanContext();if(Rn(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:In(e),start_timestamp:K(i),end_timestamp:K(o),is_segment:e===X(e),status:Vn(s),attributes:Hn(r,s),links:Nn(c)}}return{span_id:t,trace_id:n,start_timestamp:0,name:``,end_timestamp:0,status:`ok`,is_segment:e===X(e)}}function In(e){return`parentSpanId`in e?e.parentSpanId:`parentSpanContext`in e?e.parentSpanContext?.spanId:void 0}function Ln(e){return{...e,attributes:Et(e.attributes),links:e.links?.map(e=>({...e,attributes:Et(e.attributes)}))}}function Rn(e){let t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function zn(e){return typeof e.getSpanJSON==`function`}function J(e){let{traceFlags:t}=e.spanContext();return t===1}function Bn(e){if(!(!e||e.code===0))return e.code===1?`ok`:e.message||`internal_error`}function Vn(e){return!e||e.code===1||e.code===0||e.message===`cancelled`?`ok`:`error`}function Hn(e,t){let n=Vn(t)===`error`?t?.message:void 0;return{...n&&{"sentry.status.message":n},...e}}var Y=`_sentryChildSpans`,Un=`_sentryRootSpan`;function Wn(e,t){C(t,Un,e[Un]||e),e[Y]?e[Y].add(t):C(e,Y,new Set([t]))}function Gn(e,t){e[Y]&&e[Y].delete(t)}function Kn(e){let t=new Set;function n(e){if(!t.has(e)&&J(e)){t.add(e);let r=e[Y]?Array.from(e[Y]):[];for(let e of r)n(e)}}return n(e),Array.from(t)}var qn=X;function X(e){return e[Un]||e}function Jn(){let e=B(r());return e.getActiveSpan?e.getActiveSpan():L(V())}function Yn(){Dn||=(l(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),!0)}function Xn(e,t){e.updateName(t),e.setAttributes({[Pt]:`custom`,[Ht]:t})}function Zn(e){if(typeof __SENTRY_TRACING__==`boolean`&&!__SENTRY_TRACING__)return!1;let t=e||U()?.getOptions();return!!t&&(t.tracesSampleRate!=null||!!t.tracesSampler)}var Qn=Symbol.for(`sentry.nonRecordingSpan`),$n=class{constructor(e={}){this._traceId=e.traceId||F(),this._spanId=e.spanId||I(),this.dropReason=e.dropReason,C(this,Qn,!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}
4addEvent(e,t,n){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}};function er(e){return!!e&&e[Qn]===!0}var tr=`production`,nr=`_frozenDsc`;function rr(e,t){C(e,nr,t)}function ir(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:yn(t)};return t.emit(`createDsc`,i),i}function ar(e,t){let n=t.getPropagationContext();return n.dsc||ir(n.traceId,e)}function or(e){let t=U();if(!t)return{};let n=qn(e),r=q(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[nr];if(c)return s(c);let l=er(n),u=l&&n.dropReason===`ignored`;if(l&&(!Zn(t.getOptions())||u)){let e=W(n).scope;if(e){let n={...ar(t,e)};return u&&(n.sampled=`false`),s(n)}}let d=a?.get(`sentry.dsc`),f=d&&on(d);if(f)return s(f);let p=ir(e.spanContext().traceId,t),m=i[`sentry.source`]??i[`sentry.segment.name.source`],h=r.description;return m!==`url`&&h&&(p.transaction=h),Zn()&&(p.sampled=String(J(n)),p.sample_rand=a?.get(`sentry.sample_rand`)??W(n).scope?.getPropagationContext().sampleRand.toString()),s(p),t.emit(`createDsc`,p,n),p}function sr(e,t){let{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:a}=t;ur(e,t),r&&pr(e,r),mr(e,n),dr(e,i),fr(e,a)}function cr(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;Z(e,`extra`,n),Z(e,`tags`,r),Z(e,`attributes`,i),Z(e,`user`,a),Z(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 Z(e,t,n){e[t]=P(e[t],n,1)}function lr(e,t){let n=jt().getScopeData();return e&&cr(n,e.getScopeData()),t&&cr(n,t.getScopeData()),n}function ur(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 dr(e,t){let n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function fr(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function pr(e,t){e.contexts={trace:kn(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:or(t),...e.sdkProcessingMetadata};let n=q(qn(t)).description;n&&!e.transaction&&e.type===`transaction`&&(e.transaction=n)}function mr(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 hr=0,gr=1,_r=2;function vr(e){return new br(t=>{t(e)})}function yr(e){return new br((t,n)=>{n(e)})}var br=class e{constructor(e){this._state=hr,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===hr)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||=(this._state===gr&&e[1](this._value),this._state===_r&&e[2](this._value),!0)})}_runExecutor(e){let t=(e,t)=>{if(this._state===hr){if(x(t)){t.then(n,r);return}this._state=e,this._value=t,this._executeHandlers()}},n=e=>{t(gr,e)},r=e=>{t(_r,e)};try{e(n,r)}catch(e){r(e)}}};function xr(e,t,n,r=0){try{let i=Sr(t,n,e,r);return x(i)?i:vr(i)}catch(e){return yr(e)}}function Sr(t,n,r,i){let a=r[i];if(!t||!a)return t;let o=a({...t},n);return e&&o===null&&_.log(`Event processor "${a.id||`?`}" dropped event`),x(o)?o.then(e=>Sr(e,n,r,i+1)):Sr(o,n,r,i+1)}var Q,Cr,wr,$;function Tr(e){let n=t._sentryDebugIds,r=t._debugIds;if(!n&&!r)return{};let i=n?Object.keys(n):[],a=r?Object.keys(r):[];if($&&i.length===Cr&&a.length===wr)return $;Cr=i.length,wr=a.length,$={},Q||={};let o=(t,n)=>{for(let r of t){let t=n[r],i=Q?.[r];if(i&&$&&t)$[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&&$&&Q){$[i]=t,Q[r]=[i,t];break}}}}};return n&&o(i,n),r&&o(a,r),$}function Er(e,t,n,r,i,a){let{normalizeDepth:o=3,normalizeMaxBreadth:s=1e3}=e,c={...t,event_id:t.event_id||n.event_id||k(),timestamp:t.timestamp||A()},l=n.integrations||e.integrations.map(e=>e.name);Dr(c,e),Ar(c,l),i&&i.emit(`applyFrameMetadata`,t),t.type===void 0&&Or(c,e.stackParser);let u=Mr(r,n.captureContext);n.mechanism&&Ze(c,n.mechanism);let d=i?i.getEventProcessors():[],f=lr(a,u),p=[...n.attachments||[],...f.attachments];p.length&&(n.attachments=p),sr(c,f);let m=[...d,...f.eventProcessors];return(n.data&&n.data.__sentry__===!0?vr(c):xr(m,c,n)).then(e=>(e&&kr(e),typeof o==`number`&&o>0?jr(e,o,s):e))}function Dr(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=Ve(o.url,a)),a&&e.exception?.values?.forEach(e
4=>{e.value&&=Ve(e.value,a)})}function Or(e,t){let n=Tr(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=n[e.filename])})})}function kr(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 Ar(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function jr(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:O(e.data,t,n)}}))},...e.user&&{user:O(e.user,t,n)},...e.contexts&&{contexts:O(e.contexts,t,n)},...e.extra&&{extra:O(e.extra,t,n)}};return e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=O(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:O(e.data,t,n)}}))),e.contexts?.flags&&r.contexts&&(r.contexts.flags=O(e.contexts.flags,3,n)),r}function Mr(e,t){if(!t)return e;let n=e?e.clone():new R;return n.update(t),n}function Nr(e){if(e)return Pr(e)||Ir(e)?{captureContext:e}:e}function Pr(e){return e instanceof R||typeof e==`function`}var Fr=[`user`,`level`,`extra`,`contexts`,`tags`,`fingerprint`,`propagationContext`];function Ir(e){return Object.keys(e).some(e=>Fr.includes(e))}function Lr(e,t){return V().captureException(e,Nr(t))}function Rr(e,t){return V().captureEvent(e,t)}function zr(e,t){H().setContext(e,t)}function Br(e,t){H().setTag(e,t)}function Vr(e){H().setUser(e)}function Hr(){let e=U();return e?.getOptions().enabled!==!1&&!!e?.getTransport()}function Ur(e){H().addEventProcessor(e)}function Wr(e){let n=H(),{user:r}=lr(n,V()),{userAgent:i}=t.navigator||{},a=at({user:r,...i&&{userAgent:i},...e}),o=n.getSession();return o?.status===`ok`&&N(o,{status:`exited`}),Gr(),n.setSession(a),a}function Gr(){let e=H(),t=V().getSession()||e.getSession();t&&ot(t),Kr(),e.setSession()}function Kr(){let e=H(),t=U(),n=e.getSession();n&&t&&t.captureSession(n)}function qr(e=!1){if(e){Gr();return}Kr()}export{tn as $,ye as $t,Yn as A,j as At,xn as B,Pe as Bt,Jn as C,dt as Ct,Bn as D,N as Dt,Kn as E,P as Et,An as F,k as Ft,mn as G,De as Gt,Tn as H,Oe as Ht,jn as I,Ue as It,sn as J,Ce as Jt,bn as K,Se as Kt,On as L,He as Lt,K as M,Xe as Mt,q as N,Qe as Nt,Nn as O,it as Ot,Fn as P,Ye as Pt,rn as Q,fe as Qt,Ln as R,We as Rt,Mn as S,L as St,Vn as T,F as Tt,Cn as U,E as Ut,wn as V,Ne as Vt,G as W,C as Wt,nn as X,me as Xt,W as Y,pe as Yt,en as Z,de as Zt,$n as _,r as _n,Nt as _t,Hr as a,xe as an,zt as at,Wn as b,t as bn,B as bt,Vr as c,ie as cn,Lt as ct,yr as d,ae as dn,Ft as dt,S as en,Jt as et,vr as f,o as fn,Pt as ft,tr as g,a as gn,H as gt,or as h,c as hn,V as ht,qr as i,ge as in,Ht as it,J as j,Ze as jt,Gn as k,A as kt,Wr as l,le as ln,Rt as lt,ar as m,_ as mn,U as mt,Rr as n,he as nn,Wt as nt,zr as o,b as on,Bt as ot,rr as p,l as pn,Gt as pt,an as q,we as qt,Lr as r,_e as rn,Ut as rt,Br as s,x as sn,Vt as st,Ur as t,ve as tn,Kt as tt,Er as u,ce as un,It as ut,er as v,i as vn,At as vt,qn as w,I as wt,Hn as x,e as xn,_t as xt,Zn as y,n as yn,Mt as yt,Xn as z,O as zt}; 5//# debugId=b1d54774-1e11-5ea8-9882-8f65da229ce3
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.