1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="b4a4914c-1cdf-e348-9ffa-92dd2191f6dc")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,637494,t=>{"use strict";var e=t.i(930702),n=t.i(231916);function r(t){let n=t.__SENTRY__=t.__SENTRY__||{};return n.version=n.version||e.SDK_VERSION,n[e.SDK_VERSION]=n[e.SDK_VERSION]||{}}t.s(["getGlobalSingleton",0,function(t,r,i=n.GLOBAL_OBJ){let s=i.__SENTRY__=i.__SENTRY__||{},a=s[e.SDK_VERSION]=s[e.SDK_VERSION]||{};return a[t]||(a[t]=r())},"getMainCarrier",0,function(){return r(n.GLOBAL_OBJ),n.GLOBAL_OBJ},"getSentryCarrier",0,r])},409812,950187,166219,731187,857634,443143,995503,221759,821315,t=>{"use strict";let e;var n=t.i(637494),r=t.i(37077),i=t.i(260889),s=t.i(478792);function a(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||(0,s.timestampInSeconds)(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:(0,i.uuid4)()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{let e=t.timestamp-t.started;t.duration=e>=0?e:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}t.s(["closeSession",0,function(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),a(t,n)},"makeSession",0,function(t){let e=(0,s.timestampInSeconds)(),n={sid:(0,i.uuid4)(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>{var t;return t=n,{sid:`${t.sid}`,init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}}}};return t&&a(n,t),n},"updateSession",0,a],950187);var o=t.i(24039),c=t.i(173532);function u(t,e,n=2){if(!e||"object"!=typeof e||n<=0)return e;if(t&&0===Object.keys(e).length)return t;let r={...t};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=u(r[t],e[t],n-1));return r}function p(){return(0,i.uuid4)()}function l(){return(0,i.uuid4)().substring(16)}t.s(["merge",0,u],166219),t.s(["generateSpanId",0,l,"generateTraceId",0,p],731187);var d=t.i(550247),_=t.i(973881),f=t.i(231916);function g(t){try{let e=f.GLOBAL_OBJ.WeakRef;if("function"==typeof e)return new e(t)}catch{}return t}function S(t){if(t){if("object"==typeof t&&"deref"in t&&"function"==typeof t.deref)try{return t.deref()}catch{return}return t}}t.s(["derefWeakRef",0,S,"makeWeakRef",0,g],857634);let h="_sentrySpan";function m(t,e){e?(0,_.addNonEnumerableProperty)(t,h,g(e)):delete t[h]}function T(t){return S(t[h])}t.s(["_getSpanForScope",0,T,"_setSpanForScope",0,m],443143);var E=t.i(819065);class I{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:p(),sampleRand:(0,d.safeMathRandom)()}}clone(){let t=new I;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._attributes={...this._attributes},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,t._conversationId=this._conversationId,m(t,T(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&a(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(t){return this._conversationId=t||void 0,this._notifyScopeListeners(),this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this.setTags({[t]:e})}setAttributes(t){return this._attributes={...this._attributes,...t},this._notifyScopeListeners(),this}setAttribute(t,e){return this.setAttributes({[t]:e})}removeAttribute(t){return t in this._attributes&&(delete this._attributes[t],this._notifyScopeListeners()),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;let e="function"==typeof t?t(this):t,{tags:n,attributes:r,extra:i,user:s,contexts:a,level:o,fingerprint:u=[],propagationContext:p,conversationId:l}=(e instanceof I?e.getScopeData():(0,c.isPlainObject)(e)?t:void 0)||{};return this._tags={...this._tags,...n},this._attributes={...this._attributes,...r},this._extra={...this._extra,...i},this._contexts={...this._contexts,...a},s&&Object.keys(s).length&&(this._user=s),o&&(this._level=o),u.length&&(this._fingerprint=u),p&&(this._propagationContext=p),l&&(this._conversationId=l),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,m(this,void 0),this._attachments=[],this.setPropagationContext({traceId:p(),sampleRand:(0,d.safeMathRandom)()}),this._notifyScopeListeners(),this}addBreadcrumb(t,e){let n="number"==typeof e?e:100;if(n<=0)return this;let r={timestamp:(0,s.dateTimestampInSeconds)(),...t,message:t.message?(0,E.truncate)(t.message,2048):t.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(t){return this._attachments.push(t),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:T(this),conversationId:this._conversationId}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=u(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}
2captureException(t,e){let n=e?.event_id||(0,i.uuid4)();if(!this._client)return r.DEBUG_BUILD&&o.debug.warn("No client configured on scope - will not capture exception!"),n;let s=Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:s,...e,event_id:n},this),n}captureMessage(t,e,n){let s=n?.event_id||(0,i.uuid4)();if(!this._client)return r.DEBUG_BUILD&&o.debug.warn("No client configured on scope - will not capture message!"),s;let a=n?.syntheticException??Error(t);return this._client.captureMessage(t,e,{originalException:t,syntheticException:a,...n,event_id:s},this),s}captureEvent(t,e){let n=t.event_id||e?.event_id||(0,i.uuid4)();return this._client?this._client.captureEvent(t,{...e,event_id:n},this):r.DEBUG_BUILD&&o.debug.warn("No client configured on scope - will not capture event!"),n}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}t.s(["Scope",0,I],995503);let y=t=>t instanceof Promise&&!t[b],b=Symbol("chained PromiseLike"),A=(t,e,n)=>{let r=t.then(t=>(e(t),t),t=>{throw n(t),t});return y(r)&&y(t)?r:v(t,r)},v=(t,e)=>{if(!e)return t;let n=!1;for(let r in t){if(r in e)continue;n=!0;let i=t[r];"function"==typeof i?Object.defineProperty(e,r,{value:(...e)=>i.apply(t,e),enumerable:!0,configurable:!0,writable:!0}):e[r]=i}return n&&Object.assign(e,{[b]:!0}),e};t.s(["chainAndCopyPromiseLike",0,A],221759);class N{constructor(t,e){let n,r;n=t||new I,r=e||new I,this._stack=[{scope:n}],this._isolationScope=r}withScope(t){let e,n=this._pushScope();try{e=t(n)}catch(t){throw this._popScope(),t}return(0,c.isThenable)(e)?A(e,()=>this._popScope(),()=>this._popScope()):(this._popScope(),e)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function R(){let t=(0,n.getMainCarrier)(),e=(0,n.getSentryCarrier)(t);return e.stack=e.stack||new N((0,n.getGlobalSingleton)("defaultCurrentScope",()=>new I),(0,n.getGlobalSingleton)("defaultIsolationScope",()=>new I))}function C(t){return R().withScope(t)}function O(t,e){let n=R();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function U(t){return R().withScope(()=>t(R().getIsolationScope()))}function D(t){let e=(0,n.getSentryCarrier)(t);return e.acs?e.acs:{withIsolationScope:U,withScope:C,withSetScope:O,withSetIsolationScope:(t,e)=>U(e),getCurrentScope:()=>R().getScope(),getIsolationScope:()=>R().getIsolationScope()}}function M(){return D((0,n.getMainCarrier)()).getCurrentScope()}t.s(["getAsyncContextStrategy",0,D],821315),t.s(["getClient",0,function(){return M().getClient()},"getCurrentScope",0,M,"getGlobalScope",0,function(){return(0,n.getGlobalSingleton)("globalScope",()=>new I)},"getIsolationScope",0,function(){return D((0,n.getMainCarrier)()).getIsolationScope()},"getTraceContextFromScope",0,function(t){let n=e?.();if(n)return{trace_id:n.traceId,span_id:n.spanId};let{traceId:r,parentSpanId:i,propagationSpanId:s}=t.getPropagationContext(),a={trace_id:r,span_id:s||l()};return i&&(a.parent_span_id=i),a},"hasExternalPropagationContext",0,function(){return void 0!==e},"withIsolationScope",0,function(...t){let e=D((0,n.getMainCarrier)());if(2===t.length){let[n,r]=t;return n?e.withSetIsolationScope(n,r):e.withIsolationScope(r)}return e.withIsolationScope(t[0])},"withScope",0,function(...t){let e=D((0,n.getMainCarrier)());if(2===t.length){let[n,r]=t;return n?e.withSetScope(n,r):e.withScope(r)}return e.withScope(t[0])}],409812)},37077,t=>{"use strict";let e="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;t.s(["DEBUG_BUILD",0,e])},278077,t=>{"use strict";t.s(["GEN_AI_CONVERSATION_ID_ATTRIBUTE",0,"gen_ai.conversation.id","SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME",0,"sentry.exclusive_time","SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD",0,"http.request.method","SEMANTIC_ATTRIBUTE_PROFILE_ID",0,"sentry.profile_id","SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME",0,"sentry.custom_span_name","SEMANTIC_ATTRIBUTE_SENTRY_ENVIRONMENT",0,"sentry.environment","SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON",0,"sentry.idle_span_finish_reason","SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT",0,"sentry.measurement_unit","SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE",0,"sentry.measurement_value","SEMANTIC_ATTRIBUTE_SENTRY_OP",0,"sentry.op","SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN",0,"sentry.origin","SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE",0,"sentry.previous_trace_sample_rate","SEMANTIC_ATTRIBUTE_SENTRY_RELEASE",0,"sentry.release","SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE",0,"sentry.sample_rate","SEMANTIC_ATTRIBUTE_SENTRY_SDK_INTEGRATIONS",0,"sentry.sdk.integrations","SEMANTIC_ATTRIBUTE_SENTRY_SDK_NAME",0,"sentry.sdk.name","SEMANTIC_ATTRIBUTE_SENTRY_SDK_VERSION",0,"sentry.sdk.version","SEMANTIC_ATTRIBUTE_SENTRY_SEGMENT_ID",0,"sentry.segment.id","SEMANTIC_ATTRIBUTE_SENTRY_SEGMENT_NAME",0,"sentry.segment.name","SEMANTIC_ATTRIBUTE_SENTRY_SOURCE",0,"sentry.source","SEMANTIC_ATTRIBUTE_URL_FULL",0,"url.full","SEMANTIC_ATTRIBUTE_USER_EMAIL",0,"user.email","SEMANTIC_ATTRIBUTE_USER_ID",0,"user.id","SEMANTIC_ATTRIBUTE_USER_IP_ADDRESS",0,"user.ip_address","SEMANTIC_ATTRIBUTE_USER_USERNAME",0,"user.name","SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE",0,"sentry.link.type"])},745511,228879,827255,83134,255055,981704,3435,48718,864735,525035,540363,989018,303573,824610,641856,744754,749481,288155,358176,290276,t=>{"use strict";var e=t.i(821315),n=t.i(637494),r=t.i(409812),i=t.i(37077),s=t.i(278077),a=t.i(24039),o=t.i(173532);let c="sentry-";function u(t){let e=p(t);if(!e)return;let n=Object.entries(e).reduce((t,[e,n])=>(e.startsWith(c)&&(t[e.slice(c.length)]=n),t),{});return Object.keys(n).length>0?n:void 0}function p(t){if(t&&((0,o.isString)(t)||Array.isArray(t)))return Array.isArray(t)?t.reduce((t,e)=>
2(Object.entries(l(e)).forEach(([e,n])=>{t[e]=n}),t),{}):l(t)}function l(t){return t.split(",").map(t=>{let e=t.indexOf("=");return -1===e?[]:[t.slice(0,e),t.slice(e+1)].map(t=>{try{return decodeURIComponent(t.trim())}catch{return}})}).reduce((t,[e,n])=>(e&&n&&(t[e]=n),t),{})}t.s(["SENTRY_BAGGAGE_KEY_PREFIX",0,c,"baggageHeaderToDynamicSamplingContext",0,u,"dynamicSamplingContextToSentryBaggageHeader",0,function(t){if(t){var e=Object.entries(t).reduce((t,[e,n])=>(n&&(t[`${c}${e}`]=n),t),{});return 0!==Object.keys(e).length?Object.entries(e).reduce((t,[e,n],r)=>{let s=`${encodeURIComponent(e)}=${encodeURIComponent(n)}`,o=0===r?s:`${t},${s}`;return o.length>8192?(i.DEBUG_BUILD&&a.debug.warn(`Not adding key: ${e} with val: ${n} to baggage header due to exceeding baggage size limits.`),t):o},""):void 0}},"parseBaggageHeader",0,p],228879);var d=t.i(221759);function _(t,e,n=()=>{},r=()=>{}){var i,s,a,c;let u;try{u=t()}catch(t){throw e(t),n(),t}return i=u,s=e,a=n,c=r,(0,o.isThenable)(i)?(0,d.chainAndCopyPromiseLike)(i,t=>{a(),c(t)},t=>{s(t),a()}):(a(),c(i),i)}function f(t){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let e=t||(0,r.getClient)()?.getOptions();return!!e&&(null!=e.tracesSampleRate||!!e.tracesSampler)}t.s(["hasSpansEnabled",0,f],827255);var g=t.i(819065);function S(t){a.debug.log(`Ignoring span ${t.op} - ${t.description} because it matches \`ignoreSpans\`.`)}function h(t,e){if(!e?.length)return!1;for(let r of e){var n;if("string"==typeof(n=r)||n instanceof RegExp){if(t.description&&(0,g.isMatchingPattern)(t.description,r))return i.DEBUG_BUILD&&S(t),!0;continue}let e=!!r.attributes&&Object.keys(r.attributes).length>0;if(!r.name&&!r.op&&!e)continue;let s=!r.name||t.description&&(0,g.isMatchingPattern)(t.description,r.name),a=!r.op||t.op&&(0,g.isMatchingPattern)(t.op,r.op),o=!r.attributes||Object.entries(r.attributes).every(([e,n])=>(function(t,e){return"string"==typeof t&&("string"==typeof e||e instanceof RegExp)?(0,g.isMatchingPattern)(t,e):Array.isArray(t)&&Array.isArray(e)?t.length===e.length&&t.every((t,n)=>t===e[n]):t===e})(t.attributes?.[e],n));if(s&&a&&o)return i.DEBUG_BUILD&&S(t),!0}return!1}function m(t){return"stream"===t.getOptions().traceLifecycle}function T(t){if("boolean"==typeof t)return Number(t);let e="string"==typeof t?parseFloat(t):t;if(!("number"!=typeof e||isNaN(e))&&!(e<0)&&!(e>1))return e}t.s(["reparentChildSpans",0,function(t,e){let n=e.parent_span_id,r=e.span_id;if(n)for(let e of t)e.parent_span_id===r&&(e.parent_span_id=n)},"shouldIgnoreSpan",0,h],83134),t.s(["hasSpanStreamingEnabled",0,m],255055),t.s(["parseSampleRate",0,T],981704);var E=t.i(731187),I=t.i(550247),y=t.i(443143);function b(t,e=!1){let n={};for(let[r,i]of Object.entries(t??{})){let t=function(t,e){let{value:n,unit:r}="object"==typeof t&&null!=t&&!Array.isArray(t)&&Object.keys(t).includes("value")?t:{value:t,unit:void 0},i=function(t){if(Array.isArray(t))return{value:t,type:"array"};let e="string"==typeof t?"string":"boolean"==typeof t?"boolean":"number"!=typeof t||Number.isNaN(t)?null:Number.isInteger(t)?"integer":"double";if(e)return{value:t,type:e}}(n),s=r&&"string"==typeof r?{unit:r}:{};if(i)return{...i,...s};if(!e||"skip-undefined"===e&&void 0===n)return;let a="";try{a=JSON.stringify(n)??""}catch{}return{value:a,type:"string",...s}}(i,e);t&&(n[r]=t)}return n}t.s(["serializeAttributes",0,b],3435),t.s(["SPAN_STATUS_ERROR",0,2,"SPAN_STATUS_OK",0,1,"SPAN_STATUS_UNSET",0,0,"setHttpStatus",0,function(t,e){t.setAttribute("http.response.status_code",e);let n=function(t){if(t<400&&t>=100)return{code:1};if(t>=400&&t<500)switch(t){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(t>=500&&t<600)switch(t){case 501:return{code:2,message:"unimplemented"};case 503:return{code:2,message:"unavailable"};case 504:return{code:2,message:"deadline_exceeded"}}return{code:2,message:"internal_error"}}(e);"unknown_error"!==n.message&&t.setStatus(n)}],48718);var A=t.i(973881),v=t.i(857634);let N="_sentryScope",R="_sentryIsolationScope";function C(t,e,n){t&&((0,A.addNonEnumerableProperty)(t,R,(0,v.makeWeakRef)(n)),(0,A.addNonEnumerableProperty)(t,N,e))}function O(t){return{scope:t[N],isolationScope:(0,v.derefWeakRef)(t[R])}}t.s(["getCapturedScopesOnSpan",0,O,"setCapturedScopesOnSpan",0,C],864735);var U=t.i(478792);let D=/^o(\d+)\./,M=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function x(t,e=!1){let{host:n,path:r,pass:i,port:s,projectId:a,protocol:o,publicKey:c}=t;return`${o}://${c}${e&&i?`:${i}`:""}@${n}${s?`:${s}`:""}/${r?`${r}/`:r}${a}`}function B(t){let e=M.exec(t);if(!e)return void(0,a.consoleSandbox)(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});let[n,r,i="",s="",o="",c=""]=e.slice(1),u="",p=c,l=p.split("/");if(l.length>1&&(u=l.slice(0,-1).join("/"),p=l.pop()),p){let t=p.match(/^\d+/);t&&(p=t[0])}return k({host:s,pass:i,path:u,projectId:p,port:o,protocol:n,publicKey:r})}function k(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function L(t){let e,n=t.getOptions(),{host:r}=t.getDsn()||{};if(n.orgId)e=String(n.orgId);else{let t;r&&(t=r.match(D),e=t?.[1])}return e}t.s(["dsnFromString",0,B,"dsnToString",0,x,"extractOrgIdFromClient",0,L,"makeDsn",0,function(t){let e="string"==typeof t?B(t):k(t);
2if(e&&function(t){if(!i.DEBUG_BUILD)return!0;let{port:e,projectId:n,protocol:r}=t;return!["protocol","publicKey","host","projectId"].find(e=>!t[e]&&(a.debug.error(`Invalid Sentry Dsn: ${e} missing`),!0))&&(n.match(/^\d+$/)?"http"!==r&&"https"!==r?(a.debug.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):!(e&&isNaN(parseInt(e,10)))||(a.debug.error(`Invalid Sentry Dsn: Invalid port ${e}`),!1):(a.debug.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(e))return e}],525035);let w=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function P(t=(0,E.generateTraceId)(),e=(0,E.generateSpanId)(),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${t}-${e}${r}`}function $(t=(0,E.generateTraceId)(),e=(0,E.generateSpanId)(),n){return`00-${t}-${e}-${n?"01":"00"}`}t.s(["TRACEPARENT_REGEXP",0,w,"generateSentryTraceHeader",0,P,"generateTraceparentHeader",0,$,"propagationContextFromHeaders",0,function(t,e){let n=function(t){let e;if(!t)return;let n=t.match(w);if(n)return"1"===n[3]?e=!0:"0"===n[3]&&(e=!1),{traceId:n[1],parentSampled:e,parentSpanId:n[2]}}(t),r=u(e);if(!n?.traceId)return{traceId:(0,E.generateTraceId)(),sampleRand:(0,I.safeMathRandom)()};let i=function(t,e){let n=T(e?.sample_rand);if(void 0!==n)return n;let r=T(e?.sample_rate);return r&&t?.parentSampled!==void 0?t.parentSampled?(0,I.safeMathRandom)()*r:r+(0,I.safeMathRandom)()*(1-r):(0,I.safeMathRandom)()}(n,r);r&&(r.sample_rand=i.toString());let{traceId:s,parentSpanId:a,parentSampled:o}=n;return{traceId:s,parentSpanId:a,sampled:o,dsc:r||{},sampleRand:i}},"shouldContinueTrace",0,function(t,e){let n=L(t);return e&&n&&e!==n?(a.debug.log(`Won't continue trace because org IDs don't match (incoming baggage: ${e}, SDK options: ${n})`),!1):!t.getOptions().strictTraceContinuation||(!e||!!n)&&(!!e||!n)||(a.debug.log(`Starting a new trace because strict trace continuation is enabled but one org ID is missing (incoming baggage: ${e}, Sentry client: ${n})`),!1)}],540363);let G=!1;function j(t){let{spanId:e,traceId:n}=t.spanContext(),{data:r,op:i,parent_span_id:s,status:a,origin:o,links:c}=V(t);return{parent_span_id:s,span_id:e,trace_id:n,data:r,op:i,status:a,origin:o,links:c}}function Y(t){return t&&t.length>0?t.map(({context:{spanId:t,traceId:e,traceFlags:n,...r},attributes:i})=>({span_id:t,trace_id:e,sampled:1===n,attributes:i,...r})):void 0}function F(t){return t?.length?t.map(({context:{spanId:t,traceId:e,traceFlags:n},attributes:r})=>({span_id:t,trace_id:e,sampled:1===n,attributes:r})):void 0}function J(t){return"number"==typeof t?K(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?K(t.getTime()):(0,U.timestampInSeconds)()}function K(t){return t>0x2540be3ff?t/1e3:t}function V(t){if(H(t))return t.getSpanJSON();let{spanId:e,traceId:n}=t.spanContext();if(W(t)){let{attributes:r,startTime:i,name:a,endTime:o,status:c,links:u}=t;return{span_id:e,trace_id:n,data:r,description:a,parent_span_id:z(t),start_timestamp:J(i),timestamp:J(o)||void 0,status:X(c),op:r[s.SEMANTIC_ATTRIBUTE_SENTRY_OP],origin:r[s.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],links:Y(u)}}return{span_id:e,trace_id:n,start_timestamp:0,data:{}}}function z(t){return"parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?t.parentSpanContext?.spanId:void 0}function W(t){return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function H(t){return"function"==typeof t.getSpanJSON}function q(t){let{traceFlags:e}=t.spanContext();return 1===e}function X(t){if(t&&0!==t.code)return 1===t.code?"ok":t.message||"internal_error"}function Q(t){return t&&1!==t.code&&0!==t.code&&"cancelled"!==t.message?"error":"ok"}let Z="_sentryChildSpans",tt="_sentryRootSpan";function te(t,e){let n=t[tt]||t;(0,A.addNonEnumerableProperty)(e,tt,n),t[Z]?t[Z].add(e):(0,A.addNonEnumerableProperty)(t,Z,new Set([e]))}function tn(t){let e=new Set;return!function t(n){if(!e.has(n)&&q(n))for(let r of(e.add(n),n[Z]?Array.from(n[Z]):[]))t(r)}(t),Array.from(e)}let tr=ti;function ti(t){return t[tt]||t}function ts(){let t=(0,n.getMainCarrier)(),i=(0,e.getAsyncContextStrategy)(t);return i.getActiveSpan?i.getActiveSpan():(0,y._getSpanForScope)((0,r.getCurrentScope)())}function ta(){G||((0,a.consoleSandbox)(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),G=!0)}t.s(["INTERNAL_getSegmentSpan",0,ti,"TRACE_FLAG_NONE",0,0,"TRACE_FLAG_SAMPLED",0,1,"addChildSpanToSpan",0,te,"convertSpanLinksForEnvelope",0,Y,"getActiveSpan",0,ts,"getRootSpan",0,tr,"getSimpleStatusMessage",0,Q,"getSpanDescendants",0,tn,"getStatusMessage",0,X,"getStreamedSpanLinks",0,F,"removeChildSpanFromSpan",0,function(t,e){t[Z]&&t[Z].delete(e)},"showSpanDropWarning",0,ta,"spanIsSampled",0,q,"spanTimeInputToSeconds",0,J,"spanToJSON",0,V,"spanToStreamedSpanJSON",0,function(t){if(H(t))return t.getStreamedSpanJSON();let{spanId:e,traceId:n}=t.spanContext();if(W(t)){let{attributes:r,startTime:i,name:s,endTime:a,status:o,links:c}=t;return{name:s,span_id:e,trace_id:n,parent_span_id:z(t),start_timestamp:J(i),end_timestamp:J(a),is_segment:t===ti(t),status:Q(o),attributes:r,links:F(c)}}return{span_id:e,trace_id:n,start_timestamp:0,name:"",end_timestamp:0,status:"ok",is_segment:t===ti(t)}},"spanToTraceContext",0,function(t){let{spanId:e,traceId:n,isRemote:r}=t.spanContext(),i=r?e:V(t).parent_span_id,s=O(t).scope;return{parent_span_id:i,span_id:r?s?.getPropagationContext().propagationSpanId||(0,E.generateSpanId)():e,trace_id:n}},"spanToTraceHeader",0,function(t){let{traceId:e,spanId:n}=t.spanContext();return P(e,n,q(t))},"spanToTraceparentHeader",0,function(t){let{traceId:e,spanId:n}=t.spanContext();return $(e,n,q(t))},"spanToTransactionTraceContext",0,j,"streamedSpanJsonToSerializedSpan",0,function(t){return{...t,attributes:b(t.attributes),links:t.links?.map(t=>({...t,attributes:b(t.attributes)}))}}],989018);let to="production";t.s(["DEFAULT_ENVIRONMENT",0,to],303573);let tc="_frozenDsc";function tu(t,e){(0,A.addNonEnumerableProperty)(t,tc,e)}function tp(t,e){let n=e.getOptions(),{publicKey:r}=e.getDsn()||{},i={environment:n.environment||to,release:n.release,public_key:r,trace_id:t,org_id:L(e)};return e.emit("createDsc",i),i}function tl(t){let e=(0,r.getClient)();if(!e)return{};let n=tr(t),i=V(n),a=i.data,o=n.spanContext().traceState,c=o?.get("sentry.sample_rate")??a[s.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]??a[s.SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE];function p(t){return("number"==typeof c||"string"==typeof c)&&(t.sample_rate=`${c}`),t}let l=n[tc];if(l)return p(l);let d=o?.get("sentry.dsc"),_=d&&u(d);if(_)return p(_);let g=tp(t.spanContext().traceId,e),S=a[s.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]??a["sentry.span.source"],h=i.description;return"url"!==S&&h&&(g.transaction=h),f()&&(g.sampled=String(q(n)),g.sample_rand=o?.get("sentry.sample_rand")??O(n).scope?.getPropagationContext().sampleRand.toString()),p(g),e.emit("createDsc",g,n),g}t.s(["freezeDscOnSpan",0,tu,"getDynamicSamplingContextFromScope",0,function(t,e){let n=e.getPropagationContext();return n.dsc||tp(n.traceId,t)},"getDynamicSamplingContextFromSpan",0,tl],824610);class td{constructor(t={}){this._traceId=t.traceId||(0,E.generateTraceId)(),this._spanId=t.spanId||(0,E.generateSpanId)(),this.dropReason=t.dropReason}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:0}}end(t){}setAttribute(t,e){return this}setAttributes(t){return this}setStatus(t){return this}updateName(t){return this}isRecording(){return!1}
2addEvent(t,e,n){return this}addLink(t){return this}addLinks(t){return this}recordException(t,e){}}function t_(t){return!!t&&"function"==typeof t&&"_streamed"in t&&!!t._streamed}t.s(["SentryNonRecordingSpan",0,td],641856),t.s(["isStreamedBeforeSendSpanCallback",0,t_],744754);var tf=t.i(551068),tg=t.i(231916);function tS(t,e=[]){return[t,e]}function th(t,e){for(let n of t[1]){let t=n[0].type;if(e(n,t))return!0}return!1}function tm(t){let e=(0,n.getSentryCarrier)(tg.GLOBAL_OBJ);return e.encodePolyfill?e.encodePolyfill(t):new TextEncoder().encode(t)}function tT(t){return[{type:"span"},t]}let tE={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 tI(t){if(!t?.sdk)return;let{name:e,version:n}=t.sdk;return{name:e,version:n}}function ty(t,e,n,r){let i=t.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:t.event_id,sent_at:new Date((0,I.safeDateNow)()).toISOString(),...e&&{sdk:e},...!!n&&r&&{dsn:x(r)},...i&&{trace:i}}}function tb(t,e){let n=tl(t[0]),r=e?.getDsn(),i=e?.getOptions().tunnel,s={sent_at:new Date((0,I.safeDateNow)()).toISOString(),...!!n.trace_id&&!!n.public_key&&{trace:n},...!!i&&r&&{dsn:x(r)}},{beforeSendSpan:a,ignoreSpans:o}=e?.getOptions()||{},c=o?.length?t.filter(t=>{let e=V(t);return!h({description:e.description,op:e.op,attributes:e.data},o)}):t,u=t.length-c.length;u&&e?.recordDroppedEvent("before_send","span",u);let p=a?t=>{let e=V(t),n=t_(a)?e:a(e);return n||(ta(),e)}:V,l=[];for(let t of c){let e=p(t);e&&l.push(tT(e))}return tS(s,l)}function tA(t){if(!t||0===t.length)return;let e={};return t.forEach(t=>{let n=t.attributes||{},r=n[s.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT],i=n[s.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE];"string"==typeof r&&"number"==typeof i&&(e[t.name]={value:i,unit:r})}),e}t.s(["addItemToEnvelope",0,function(t,e){let[n,r]=t;return[n,[...r,e]]},"createAttachmentEnvelopeItem",0,function(t){let e="string"==typeof t.data?tm(t.data):t.data;return[{type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType},e]},"createEnvelope",0,tS,"createEventEnvelopeHeaders",0,ty,"createSpanEnvelopeItem",0,tT,"envelopeContainsItemType",0,function(t,e){return th(t,(t,n)=>e.includes(n))},"envelopeItemTypeToDataCategory",0,function(t){return t in tE?tE[t]:t},"forEachEnvelopeItem",0,th,"getSdkMetadataForEnvelopeHeader",0,tI,"serializeEnvelope",0,function(t){let[e,n]=t,r=JSON.stringify(e);function i(t){"string"==typeof r?r="string"==typeof t?r+t:[tm(r),t]:r.push("string"==typeof t?tm(t):t)}for(let t of n){let[e,n]=t;if(i(` 3${JSON.stringify(e)} 4`),"string"==typeof n||n instanceof Uint8Array)i(n);else{let t;try{t=JSON.stringify(n)}catch{t=JSON.stringify((0,tf.normalize)(n))}i(t)}}return"string"==typeof r?r:function(t){let e=new Uint8Array(t.reduce((t,e)=>t+e.length,0)),n=0;for(let r of t)e.set(r,n),n+=r.length;return e}(r)}],749481),t.s(["createEventEnvelope",0,function(t,e,n,r){let i=tI(n),s=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){if(!e)return;let n=t.sdk||{};t.sdk={...n,name:n.name||e.name,version:n.version||e.version,integrations:[...t.sdk?.integrations||[],...e.integrations||[]],packages:[...t.sdk?.packages||[],...e.packages||[]],settings:t.sdk?.settings||e.settings?{...t.sdk?.settings,...e.settings}:void 0}}(t,n?.sdk);let a=ty(t,i,r,e);return delete t.sdkProcessingMetadata,tS(a,[[{type:s},t]])},"createSessionEnvelope",0,function(t,e,n,r){let i=tI(n);return tS({sent_at:new Date((0,I.safeDateNow)()).toISOString(),...i&&{sdk:i},...!!r&&e&&{dsn:x(e)}},["aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()]])},"createSpanEnvelope",0,tb],288155),t.s(["setMeasurement",0,function(t,e,n,r=ts()){let o=r&&tr(r);o&&(i.DEBUG_BUILD&&a.debug.log(`[Measurement] Setting measurement on root span: ${t} = ${e} ${n}`),o.addEvent(t,{[s.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:e,[s.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:n}))},"timedEventsToMeasurements",0,tA],358176);class tv{constructor(t={}){this._traceId=t.traceId||(0,E.generateTraceId)(),this._spanId=t.spanId||(0,E.generateSpanId)(),this._startTime=t.startTimestamp||(0,U.timestampInSeconds)(),this._links=t.links,this._attributes={},this.setAttributes({[s.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"manual",[s.SEMANTIC_ATTRIBUTE_SENTRY_OP]:t.op,...t.attributes}),this._name=t.name,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.endTimestamp&&(this._endTime=t.endTimestamp),this._events=[],this._isStandaloneSpan=t.isStandalone,this._endTime&&this._onSpanEnded()}
4addLink(t){return this._links?this._links.push(t):this._links=[t],this}addLinks(t){return this._links?this._links.push(...t):this._links=t,this}recordException(t,e){}spanContext(){let{_spanId:t,_traceId:e,_sampled:n}=this;return{spanId:t,traceId:e,traceFlags:+!!n}}setAttribute(t,e){return void 0===e?delete this._attributes[t]:this._attributes[t]=e,this}setAttributes(t){return Object.keys(t).forEach(e=>this.setAttribute(e,t[e])),this}updateStartTime(t){this._startTime=J(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this.setAttribute(s.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,"custom"),this}end(t){this._endTime||(this._endTime=J(t),function(t){if(!i.DEBUG_BUILD)return;let{description:e="< unknown name >",op:n="< unknown op >"}=V(t),{spanId:r}=t.spanContext(),s=tr(t)===t,o=`[Tracing] Finishing "${n}" ${s?"root ":""}span "${e}" with ID ${r}`;a.debug.log(o)}(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[s.SEMANTIC_ATTRIBUTE_SENTRY_OP],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:X(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[s.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],profile_id:this._attributes[s.SEMANTIC_ATTRIBUTE_PROFILE_ID],exclusive_time:this._attributes[s.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME],measurements:tA(this._events),is_segment:this._isStandaloneSpan&&tr(this)===this||void 0,segment_id:this._isStandaloneSpan?tr(this).spanContext().spanId:void 0,links:Y(this._links)}}getStreamedSpanJSON(){return{name:this._name??"",span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:this._endTime??this._startTime,is_segment:this._isStandaloneSpan||this===tr(this),status:Q(this._status),attributes:this._attributes,links:F(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,e,n){i.DEBUG_BUILD&&a.debug.log("[Tracing] Adding an event to span:",t);let r=tN(e)?e:n||(0,U.timestampInSeconds)(),s=tN(e)?{}:e||{},o={name:t,time:J(r),attributes:s};return this._events.push(o),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let t=(0,r.getClient)();if(t&&(t.emit("spanEnd",this),this._isStandaloneSpan||t.emit("afterSpanEnd",this)),!(this._isStandaloneSpan||this===tr(this)))return;if(this._isStandaloneSpan)return void(this._sampled?function(t){let e=(0,r.getClient)();if(!e)return;let n=t[1];n&&0!==n.length?e.sendEnvelope(t):e.recordDroppedEvent("before_send","span")}(tb([this],t)):(i.DEBUG_BUILD&&a.debug.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span")));if(t&&m(t))return void t.emit("afterSegmentSpanEnd",this);let e=this._convertSpanToTransaction();e&&(O(this).scope||(0,r.getCurrentScope)()).captureEvent(e)}_convertSpanToTransaction(){if(!tR(V(this)))return;this._name||(i.DEBUG_BUILD&&a.debug.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:t,isolationScope:e}=O(this),n=t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;let r=tn(this).filter(t=>{var e;return t!==this&&!((e=t)instanceof tv&&e.isStandaloneSpan())}).map(t=>V(t)).filter(tR),o=this._attributes[s.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];delete this._attributes[s.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME];let c=!1;r.forEach(t=>{delete t.data[s.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME],t.op?.startsWith("gen_ai.")&&(c=!0)});let u={contexts:{trace:j(this)},spans:r.length>1e3?r.sort((t,e)=>t.start_timestamp-e.start_timestamp).slice(0,1e3):r,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:e,dynamicSamplingContext:tl(this),hasGenAiSpans:c},request:n,...o&&{transaction_info:{source:o}}},p=tA(this._events);return p&&Object.keys(p).length&&(i.DEBUG_BUILD&&a.debug.log("[Measurements] Adding measurements to transaction event",JSON.stringify(p,void 0,2)),u.measurements=p),u}}function tN(t){return t&&"number"==typeof t||t instanceof Date||Array.isArray(t)}function tR(t){return!!t.start_timestamp&&!!t.timestamp&&!!t.span_id&&!!t.trace_id}function tC(t,e){let n=tD();return n.withActiveSpan?n.withActiveSpan(t,e):(0,r.withScope)(n=>((0,y._setSpanForScope)(n,t||void 0),e(n)))}function tO({parentSpan:t,spanArguments:e,forceTransaction:n,scope:o}){var c,u;let p,l;if(!f()){let r=new td;if(n||!t){let t={sampled:"false",sample_rate:"0",transaction:e.name,...tl(r)};tu(r,t)}return r}let d=(0,r.getClient)();if(c=d,u=e,l=c?.getOptions().ignoreSpans,c&&m(c)&&l?.length&&h({description:u.name||"",op:u.attributes?.[s.SEMANTIC_ATTRIBUTE_SENTRY_OP]||u.o
4p,attributes:u.attributes},l))return tL(o)||d?.recordDroppedEvent("ignored","span"),new td({dropReason:"ignored",traceId:t?.spanContext().traceId??o.getPropagationContext().traceId});let _=(0,r.getIsolationScope)();if(t&&!n)p=function(t,e,n){let{spanId:i,traceId:s}=t.spanContext(),a=tL(e),o=!a&&q(t),c=o?new tv({...n,parentSpanId:i,traceId:s,sampled:o}):new td({traceId:s});te(t,c);let u=(0,r.getClient)();return u&&(m(u)&&c instanceof td&&(t instanceof td&&t.dropReason?(c.dropReason=t.dropReason,u.recordDroppedEvent(t.dropReason,"span")):a||(c.dropReason="sample_rate",u.recordDroppedEvent("sample_rate","span"))),u.emit("spanStart",c),n.endTimestamp&&(u.emit("spanEnd",c),u.emit("afterSpanEnd",c))),c}(t,o,e),te(t,p);else if(t){let n=tl(t),{traceId:r,spanId:i}=t.spanContext(),s=q(t);tu(p=tM({traceId:r,parentSpanId:i,...e},o,s),n)}else{let{traceId:t,dsc:n,parentSpanId:r,sampled:i}={..._.getPropagationContext(),...o.getPropagationContext()};p=tM({traceId:t,parentSpanId:r,...e},o,i),n&&tu(p,n)}return!function(t){if(!i.DEBUG_BUILD)return;let{description:e="< unknown name >",op:n="< unknown op >",parent_span_id:r}=V(t),{spanId:s}=t.spanContext(),o=q(t),c=tr(t),u=c===t,p=`[Tracing] Starting ${o?"sampled":"unsampled"} ${u?"root ":""}span`,l=[`op: ${n}`,`name: ${e}`,`ID: ${s}`];if(r&&l.push(`parent ID: ${r}`),!u){let{op:t,description:e}=V(c);l.push(`root ID: ${c.spanContext().spanId}`),t&&l.push(`root op: ${t}`),e&&l.push(`root description: ${e}`)}a.debug.log(`${p} 5 ${l.join("\n ")}`)}(p),C(p,o,_),p}function tU(t){let e={isStandalone:(t.experimental||{}).standalone,...t};if(t.startTime){let n={...e};return n.startTimestamp=J(t.startTime),delete n.startTime,n}return e}function tD(){let t=(0,n.getMainCarrier)();return(0,e.getAsyncContextStrategy)(t)}function tM(t,e,n){let o=(0,r.getClient)(),c=o?.getOptions()||{},{name:u=""}=t,p={spanAttributes:{...t.attributes},spanName:u,parentSampled:n};o?.emit("beforeSampling",p,{decision:!1});let l=p.parentSampled??n,d=p.spanAttributes,_=e.getPropagationContext(),g=tL(e),[S,h,E]=g?[!1]:function(t,e,n){let r,s;if(!f(t))return[!1];"function"==typeof t.tracesSampler?(r=t.tracesSampler({...e,inheritOrSampleWith:t=>"number"==typeof e.parentSampleRate?e.parentSampleRate:"boolean"==typeof e.parentSampled?Number(e.parentSampled):t}),s=!0):void 0!==e.parentSampled?r=e.parentSampled:void 0!==t.tracesSampleRate&&(r=t.tracesSampleRate,s=!0);let o=T(r);if(void 0===o)return i.DEBUG_BUILD&&a.debug.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(r)} of type ${JSON.stringify(typeof r)}.`),[!1];if(!o)return i.DEBUG_BUILD&&a.debug.log(`[Tracing] Discarding transaction because ${"function"==typeof t.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,o,s];let c=n<o;return!c&&i.DEBUG_BUILD&&a.debug.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),[c,o,s]}(c,{name:u,parentSampled:l,attributes:d,parentSampleRate:T(_.dsc?.sample_rate)},_.sampleRand),I=new tv({...t,attributes:{[s.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"custom",[s.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]:void 0!==h&&E?h:void 0,...d},sampled:S});return S||!o||g||(i.DEBUG_BUILD&&a.debug.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),o.recordDroppedEvent("sample_rate",m(o)?"span":"transaction")),o&&o.emit("spanStart",I),I}function tx(t,e){if(e)return e;if(null===e)return;let n=(0,y._getSpanForScope)(t);if(!n)return;let i=(0,r.getClient)();return(i?i.getOptions():{}).parentSpanIsAlwaysRootSpan?tr(n):n}function tB(t){return void 0!==t?e=>tC(t,e):t=>t()}function tk(t){return t instanceof td&&"ignored"===t.dropReason}function tL(t){return!0===t.getScopeData().sdkProcessingMetadata.__SENTRY_SUPPRESS_TRACING__}t.s(["SentrySpan",0,tv],290276),t.s(["startInactiveSpan",0,function(t){let e=tD();if(e.startInactiveSpan)return e.startInactiveSpan(t);let n=tU(t),{forceTransaction:i,parentSpan:s}=t;return(t.scope?e=>(0,r.withScope)(t.scope,e):void 0!==s?t=>tC(s,t):t=>t())(()=>{let e=(0,r.getCurrentScope)(),a=tx(e,s),o=(0,r.getClient)();return t.onlyIfParent&&!a?(o?.recordDroppedEvent("no_parent_span","span"),new td):tO({parentSpan:a,spanArguments:n,forceTransaction:i,scope:e})})},"startNewTrace",0,function(t){let e=tD();return e.startNewTrace?e.startNewTrace(t):(0,r.withScope)(e=>(e.setPropagationContext({traceId:(0,E.generateTraceId)(),sampleRand:(0,I.safeMathRandom)()}
5),i.DEBUG_BUILD&&a.debug.log(`Starting a new trace with id ${e.getPropagationContext().traceId}`),tC(null,t)))},"startSpan",0,function(t,e){let n=tD();if(n.startSpan)return n.startSpan(t,e);let i=tU(t),{forceTransaction:s,parentSpan:a,scope:o}=t,c=o?.clone();return(0,r.withScope)(c,()=>tB(a)(()=>{let n=(0,r.getCurrentScope)(),o=tx(n,a),c=(0,r.getClient)(),u=t.onlyIfParent&&!o,p=u?new td:tO({parentSpan:o,spanArguments:i,forceTransaction:s,scope:n});return u&&c?.recordDroppedEvent("no_parent_span","span"),tk(p)&&o||(0,y._setSpanForScope)(n,p),_(()=>e(p),()=>{let{status:t}=V(p);p.isRecording()&&(!t||"ok"===t)&&p.setStatus({code:2,message:"internal_error"})},()=>{p.end()})}))},"startSpanManual",0,function(t,e){let n=tD();if(n.startSpanManual)return n.startSpanManual(t,e);let i=tU(t),{forceTransaction:s,parentSpan:a,scope:o}=t,c=o?.clone();return(0,r.withScope)(c,()=>tB(a)(()=>{let n=(0,r.getCurrentScope)(),o=tx(n,a),c=t.onlyIfParent&&!o,u=c?new td:tO({parentSpan:o,spanArguments:i,forceTransaction:s,scope:n});return c&&(0,r.getClient)()?.recordDroppedEvent("no_parent_span","span"),tk(u)&&o||(0,y._setSpanForScope)(n,u),_(()=>e(u,()=>u.end()),()=>{let{status:t}=V(u);u.isRecording()&&(!t||"ok"===t)&&u.setStatus({code:2,message:"internal_error"})})}))},"withActiveSpan",0,tC],745511)},260889,694970,551068,819065,t=>{"use strict";let e,n;var r=t.i(973881),i=t.i(550247),s=t.i(173532);let a=Symbol.for("sentry.skipNormalization"),o=Symbol.for("sentry.overrideNormalizationDepth"),c=/\(error: (.*)\)/,u=/captureMessage|captureException/;function p(...t){let e=t.sort((t,e)=>t[0]-e[0]).map(t=>t[1]);return(t,n=0,r=0)=>{let i=[],s=t.split("\n");for(let t=n;t<s.length;t++){let n=s[t];n.length>1024&&(n=n.slice(0,1024));let a=c.test(n)?n.replace(c,"$1"):n;if(!a.includes("Error: ")){for(let t of e){let e=t(a);if(e){i.push(e);break}}if(i.length>=50+r)break}}var a=i.slice(r);if(!a.length)return[];let o=Array.from(a);return/sentryWrapped/.test(l(o).function||"")&&o.pop(),o.reverse(),u.test(l(o).function||"")&&(o.pop(),u.test(l(o).function||"")&&o.pop()),o.slice(0,50).map(t=>({...t,filename:t.filename||l(o).filename,function:t.function||"?"}))}}function l(t){return t[t.length-1]||{}}let d="<anonymous>";function _(t){try{if(!t||"function"!=typeof t)return d;return t.name||d}catch{return d}}function f(t,e=100,n=1/0){try{return function t(e,n,i=1/0,s=1/0,c=function(){let t=new WeakSet;return[function(e){return!!t.has(e)||(t.add(e),!1)},function(e){t.delete(e)}]}()){let u,[p,l]=c;if(null==n||["boolean","string"].includes(typeof n)||"number"==typeof n&&Number.isFinite(n))return n;let d=g(e,n);if(!d.startsWith("[object "))return d;if(n[a])return n;let _=(u=n[o],"number"==typeof u?u:void 0),f=void 0!==_?_:i;if(0===f)return d.replace("object ","");if(p(n))return"[Circular ~]";if(n&&"function"==typeof n.toJSON)try{let e=n.toJSON();return t("",e,f-1,s,c)}catch{}let S=Array.isArray(n)?[]:{},h=0,m=(0,r.convertToPlainObject)(n);for(let e in m){if(!Object.prototype.hasOwnProperty.call(m,e))continue;if(h>=s){S[e]="[MaxProperties ~]";break}let n=m[e];S[e]=t(e,n,f-1,s,c),h++}return l(n),S}("",t,e,n)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function g(n,r){try{var i;let n;if(e){let t=e(r);if(t)return t}if(r===t.g)return"[Global]";if("number"==typeof r&&!Number.isFinite(r))return`[${r}]`;if("function"==typeof r)return`[Function: ${_(r)}]`;if("symbol"==typeof r)return`[${String(r)}]`;if("bigint"==typeof r)return`[BigInt: ${String(r)}]`;let s=(i=r,n=Object.getPrototypeOf(i),n?.constructor?n.constructor.name:"null prototype");return`[object ${s}]`}catch(t){return`**non-serializable** (${t})`}}function S(t,e,n=!1){return!!(0,s.isString)(t)&&((0,s.isRegExp)(e)?e.test(t):(0,s.isString)(e)?n?t===e:t.includes(e):"function"==typeof e&&e(t))}t.s(["UNKNOWN_FUNCTION",0,"?","createStackParser",0,p,"getFramesFromEvent",0,function(t){let e=t.exception;if(e){let t=[];try{return e.values.forEach(e=>{e.stacktrace.frames&&t.push(...e.stacktrace.frames)}),t}catch{}}},"getFunctionName",0,_,"normalizeStackTracePath",0,function(t){let e=t?.startsWith("file://")?t.slice(7):t;return e?.match(/\/[A-Z]:/)&&(e=e.slice(1)),e},"stackParserFromStackParserOptions",0,function(t){return Array.isArray(t)?p(...t):t}],694970),t.s(["normalize",0,f,"normalizeToSize",0,function t(e,n=3,r=102400){let i=f(e,n);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>r?t(e,n-1,r):i},"setNormalizeStringifier",0,function(t){e=t},"stringifyValue",0,g],551068),t.s(["isMatchingPattern",0,S,"safeJoin",0,function(t,e){if(!Array.isArray(t))return"";let n=[];for(let e=0;e<t.length;e++){let r=t[e];(0,s.isPrimitive)(r)?n.push(String(r)):r instanceof Error?n.push(r.message?`${r.name}: ${r.message}`:r.name):n.push(g(void 0,r))}return n.join(e)},"snipLine",0,function(t,e){let n=t,r=n.length;if(r<=150)return n;e>r&&(e=r);let i=Math.max(e-60,0);i<5&&(i=0);let s=Math.min(i+140,r);return s>r-5&&(s=r),s===r&&(i=Math.max(s-140,0)),n=n.slice(i,s),i>0&&(n=`'{snip} ${n}`),s<r&&(n+=" {snip}"),n},"stringMatchesSomePattern",0,function(t,e=[],n=!1){for(let r of e)if(S(t,r,n))return!0;return!1},"truncate",0,function(t,e=0){return"string"!=typeof t||0===e||t.length<=e?t:`${t.slice(0,e)}...`}],819065);var h=t.i(231916);function m(t){return t.exception?.values?.[0]}t.s(["addExceptionMechanism",0,function(t,e){let n=m(t);if(!n)return;let r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...e},e&&"data"in e){let t={...r?.data,...e.data};n.mechanism.data=t}},"addExceptionTypeValue",0,function(t,e,n){let r=t.exception=t.exception||{},i=r.values=r.values||[],s=i[0]=i[0]||{};s.value||(s.value=e||""),s.type||(s.type=n||"Error")},"checkOrSetAlreadyCaught",0,function(t){if(function(t){try{return t.__sentry_captured__}catch{}}(t))return!0;try{(0,r.addNonEnumerableProperty)(t,"__sentry_captured__",!0)}catch{}return!1},"getEventDescription",0,function(t){let{message:e,event_id:n}=t;if(e)return e;let r=m(t);return r?r.type&&r.value?`${r.type}: ${r.value}
5`:r.type||r.value||n||"<unknown>":n||"<unknown>"},"uuid4",0,function(t=function(){let t=h.GLOBAL_OBJ;return t.crypto||t.msCrypto}()){try{if(t?.randomUUID)return(0,i.withRandomSafeContext)(()=>t.randomUUID()).replace(/-/g,"")}catch{}return n||(n="10000000100040008000100000000000"),n.replace(/[018]/g,t=>(t^(15&16*(0,i.safeMathRandom)())>>t/4).toString(16))}],260889)},973881,24039,173532,t=>{"use strict";var e=t.i(37077),n=t.i(637494),r=t.i(231916);let i={};function s(t){if(!("console"in r.GLOBAL_OBJ))return t();let e=r.GLOBAL_OBJ.console,n={},s=Object.keys(i);s.forEach(t=>{let r=i[t];n[t]=e[t],e[t]=r});try{return t()}finally{s.forEach(t=>{e[t]=n[t]})}}function a(){return c().enabled}function o(t,...n){e.DEBUG_BUILD&&a()&&s(()=>{r.GLOBAL_OBJ.console[t](`Sentry Logger [${t}]:`,...n)})}function c(){return e.DEBUG_BUILD?(0,n.getGlobalSingleton)("loggerSettings",()=>({enabled:!1})):{enabled:!1}}let u={enable:function(){c().enabled=!0},disable:function(){c().enabled=!1},isEnabled:a,log:function(...t){o("log",...t)},warn:function(...t){o("warn",...t)},error:function(...t){o("error",...t)}};t.s(["CONSOLE_LEVELS",0,["debug","info","warn","error","log","assert","trace"],"consoleSandbox",0,s,"debug",0,u,"originalConsoleMethods",0,i],24039);let p=Object.prototype.toString;function l(t){switch(p.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return g(t,Error)}}function d(t,e){return p.call(t)===`[object ${e}]`}function _(t){return"object"==typeof t&&null!==t&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function f(t){return"u">typeof Event&&g(t,Event)}function g(t,e){try{return t instanceof e}catch{return!1}}function S(t,n,r){try{Object.defineProperty(t,n,{value:r,writable:!0,configurable:!0})}catch{e.DEBUG_BUILD&&u.log(`Failed to add non-enumerable property "${String(n)}" to object`,t)}}function h(t,e){try{let n=e.prototype||{};t.prototype=e.prototype=n,S(t,"__sentry_original__",e)}catch{}}function m(t){if(l(t))return{message:t.message,name:t.name,stack:t.stack,...T(t)};if(f(t)){let{type:e,target:n,currentTarget:r,detail:i}=t;return{type:e,target:n,currentTarget:r,...i?{detail:i}:{},...T(t)}}return t}function T(t){return"object"==typeof t&&null!==t?Object.fromEntries(Object.entries(t)):{}}t.s(["isDOMError",0,function(t){return d(t,"DOMError")},"isDOMException",0,function(t){return d(t,"DOMException")},"isError",0,l,"isErrorEvent",0,function(t){return d(t,"ErrorEvent")},"isEvent",0,f,"isInstanceOf",0,g,"isParameterizedString",0,_,"isPlainObject",0,function(t){return d(t,"Object")},"isPrimitive",0,function(t){return null===t||_(t)||"object"!=typeof t&&"function"!=typeof t},"isRegExp",0,function(t){return d(t,"RegExp")},"isRequest",0,function(t){return"u">typeof Request&&g(t,Request)},"isString",0,function(t){return d(t,"String")},"isThenable",0,function(t){return!!(t?.then&&"function"==typeof t.then)}],173532),t.s(["addNonEnumerableProperty",0,S,"convertToPlainObject",0,m,"extractExceptionKeysForMessage",0,function(t){let e=Object.keys(m(t));return e.sort(),e[0]?e.join(", "):"[object has no keys]"},"fill",0,function(t,n,r){if(!(n in t))return;let i=t[n];if("function"!=typeof i)return;let s=r(i);"function"==typeof s&&h(s,i);try{t[n]=s}catch{e.DEBUG_BUILD&&u.log(`Failed to replace method "${n}" in object`,t)}},"getOriginalFunction",0,function(t){return t.__sentry_original__},"markFunctionWrapped",0,h],973881)},550247,t=>{"use strict";let e;var n=t.i(231916);function r(t){if(void 0!==e)return e?e(t):t();let r=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),i=n.GLOBAL_OBJ;return r in i&&"function"==typeof i[r]?(e=i[r])(t):(e=null,t())}t.s(["safeDateNow",0,function(){return r(()=>Date.now())},"safeMathRandom",0,function(){return r(()=>Math.random())},"withRandomSafeContext",0,r])},478792,t=>{"use strict";let e;var n=t.i(550247),r=t.i(231916);function i(){return(0,n.safeDateNow)()/1e3}let s=null;t.s(["browserPerformanceTimeOrigin",0,function(){return null===s&&(s=function(){let{performance:t}=r.GLOBAL_OBJ;if(!t?.now)return;let e=(0,n.withRandomSafeContext)(()=>t.now()),i=(0,n.safeDateNow)(),s=t.timeOrigin;if("number"==typeof s&&3e5>Math.abs(s+e-i))return s;let a=t.timing?.navigationStart;return"number"==typeof a&&3e5>Math.abs(a+e-i)?a:i-e}()),s},"dateTimestampInSeconds",0,i,"timestampInSeconds",0,function(){return(e??(e=function(){let{performance:t}=r.GLOBAL_OBJ;if(!t?.now||!t.timeOrigin)return i;let e=t.timeOrigin;return()=>(e+(0,n.withRandomSafeContext)(()=>t.now()))/1e3}()))()}])},930702,t=>{"use strict";t.s(["SDK_VERSION",0,"10.57.0"])},231916,t=>{"use strict";let e=globalThis;t.s(["GLOBAL_OBJ",0,e])}]); 6 7//# debugId=b4a4914c-1cdf-e348-9ffa-92dd2191f6dc
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.