7 lines
56 KiB
JavaScript
7 lines
56 KiB
JavaScript
;!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]="8c7d1d8d-ee1b-992f-a7d5-b0c4f293cde0")}catch(e){}}();
|
|
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,955526,83412,533622,423491,t=>{"use strict";let e="10.47.0";t.s(["SDK_VERSION",()=>e],83412);let n=globalThis;function r(){return i(n),n}function i(t){let n=t.__SENTRY__=t.__SENTRY__||{};return n.version=n.version||e,n[e]=n[e]||{}}function s(t,r,i=n){let a=i.__SENTRY__=i.__SENTRY__||{},o=a[e]=a[e]||{};return o[t]||(o[t]=r())}t.s(["GLOBAL_OBJ",()=>n],533622),t.s(["getGlobalSingleton",()=>s,"getMainCarrier",()=>r,"getSentryCarrier",()=>i],955526);let a="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;t.s(["DEBUG_BUILD",()=>a],423491)},205364,356632,t=>{"use strict";let e=Object.prototype.toString;function n(t){switch(e.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return h(t,Error)}}function r(t,n){return e.call(t)===`[object ${n}]`}function i(t){return r(t,"ErrorEvent")}function s(t){return r(t,"DOMError")}function a(t){return r(t,"DOMException")}function o(t){return r(t,"String")}function c(t){return"object"==typeof t&&null!==t&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function u(t){return null===t||c(t)||"object"!=typeof t&&"function"!=typeof t}function l(t){return r(t,"Object")}function p(t){return"u">typeof Event&&h(t,Event)}function d(t){return"u">typeof Element&&h(t,Element)}function f(t){return r(t,"RegExp")}function _(t){return!!(t?.then&&"function"==typeof t.then)}function g(t){return l(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function h(t,e){try{return t instanceof e}catch{return!1}}function m(t){return!!("object"==typeof t&&null!==t&&(t.__isVue||t._isVue||t.__v_isVNode))}function S(t){return"u">typeof Request&&h(t,Request)}t.s(["isDOMError",()=>s,"isDOMException",()=>a,"isElement",()=>d,"isError",()=>n,"isErrorEvent",()=>i,"isEvent",()=>p,"isInstanceOf",()=>h,"isParameterizedString",()=>c,"isPlainObject",()=>l,"isPrimitive",()=>u,"isRegExp",()=>f,"isRequest",()=>S,"isString",()=>o,"isSyntheticEvent",()=>g,"isThenable",()=>_,"isVueViewModel",()=>m],356632);let y=t.i(533622).GLOBAL_OBJ;function b(t,e={}){if(!t)return"<unknown>";try{let n,r=t,i=[],s=0,a=0,c=Array.isArray(e)?e:e.keyAttrs,u=!Array.isArray(e)&&e.maxStringLength||80;for(;r&&s++<5&&(n=function(t,e){let n=[];if(!t?.tagName)return"";if(y.HTMLElement&&t instanceof HTMLElement&&t.dataset){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}n.push(t.tagName.toLowerCase());let r=e?.length?e.filter(e=>t.getAttribute(e)).map(e=>[e,t.getAttribute(e)]):null;if(r?.length)r.forEach(t=>{n.push(`[${t[0]}="${t[1]}"]`)});else{t.id&&n.push(`#${t.id}`);let e=t.className;if(e&&o(e))for(let t of e.split(/\s+/))n.push(`.${t}`)}for(let e of["aria-label","type","name","title","alt"]){let r=t.getAttribute(e);r&&n.push(`[${e}="${r}"]`)}return n.join("")}(r,c),"html"!==n&&(!(s>1)||!(a+3*i.length+n.length>=u)));)i.push(n),a+=n.length,r=r.parentNode;return i.reverse().join(" > ")}catch{return"<unknown>"}}function E(){try{return y.document.location.href}catch{return""}}function v(t){if(!y.HTMLElement)return null;let e=t;for(let t=0;t<5&&e;t++){if(e instanceof HTMLElement){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}e=e.parentNode}return null}t.s(["getComponentName",()=>v,"getLocationHref",()=>E,"htmlTreeAsString",()=>b],205364)},658993,t=>{"use strict";var e=t.i(955526),n=t.i(423491),r=t.i(533622);let i=["debug","info","warn","error","log","assert","trace"],s={};function a(t){if(!("console"in r.GLOBAL_OBJ))return t();let e=r.GLOBAL_OBJ.console,n={},i=Object.keys(s);i.forEach(t=>{let r=s[t];n[t]=e[t],e[t]=r});try{return t()}finally{i.forEach(t=>{e[t]=n[t]})}}function o(){return u().enabled}function c(t,...e){n.DEBUG_BUILD&&o()&&a(()=>{r.GLOBAL_OBJ.console[t](`Sentry Logger [${t}]:`,...e)})}function u(){return n.DEBUG_BUILD?(0,e.getGlobalSingleton)("loggerSettings",()=>({enabled:!1})):{enabled:!1}}let l={enable:function(){u().enabled=!0},disable:function(){u().enabled=!1},isEnabled:o,log:function(...t){c("log",...t)},warn:function(...t){c("warn",...t)},error:function(...t){c("error",...t)}};t.s(["CONSOLE_LEVELS",()=>i,"consoleSandbox",()=>a,"debug",()=>l,"originalConsoleMethods",()=>s])},493831,827363,538051,446754,778852,163502,636217,976208,320501,230757,668567,649008,679162,695207,935218,439611,672275,961925,187248,55061,216351,909502,518510,166832,879468,172072,20701,746065,849817,608422,166072,967703,696301,143447,860591,640681,94777,790556,t=>{"use strict";let e,n,r,i,s,a,o,c;var u=t.i(955526),l=t.i(423491),p=t.i(205364),d=t.i(658993),f=t.i(356632);function _(t,e,n){if(!(e in t))return;let r=t[e];if("function"!=typeof r)return;let i=n(r);"function"==typeof i&&h(i,r);try{t[e]=i}catch{l.DEBUG_BUILD&&d.debug.log(`Failed to replace method "${e}" in object`,t)}}function g(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch{l.DEBUG_BUILD&&d.debug.log(`Failed to add non-enumerable property "${e}" to object`,t)}}function h(t,e){try{let n=e.prototype||{};t.prototype=e.prototype=n,g(t,"__sentry_original__",e)}catch{}}function m(t){return t.__sentry_original__}function S(t){if((0,f.isError)(t))return{message:t.message,name:t.name,stack:t.stack,...b(t)};if(!(0,f.isEvent)(t))return t;{let e={type:t.type,target:y(t.target),currentTarget:y(t.currentTarget),...b(t)};return"u">typeof CustomEvent&&(0,f.isInstanceOf)(t,CustomEvent)&&(e.detail=t.detail),e}}function y(t){try{return(0,f.isElement)(t)?(0,p.htmlTreeAsString)(t):Object.prototype.toString.call(t)}catch{return"<unknown>"}}function b(t){return"object"==typeof t&&null!==t?Object.fromEntries(Object.entries(t)):{}}function E(t){let e=Object.keys(S(t));return e.sort(),e[0]?e.join(", "):"[object has no keys]"}t.s(["addNonEnumerableProperty",()=>g,"convertToPlainObject",()=>S,"extractExceptionKeysForMessage",()=>E,"fill",()=>_,"getOriginalFunction",()=>m,"markFunctionWrapped",()=>h],827363);var v=t.i(533622);function T(t){if(void 0!==e)return e?e(t):t();let n=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),r=v.GLOBAL_OBJ;return n in r&&"function"==typeof r[n]?(e=r[n])(t):(e=null,t())}function I(){return T(()=>Math.random())}function x(){return T(()=>Date.now())}t.s(["safeDateNow",()=>x,"safeMathRandom",()=>I,"withRandomSafeContext",()=>T],538051);let C=/\(error: (.*)\)/,A=/captureMessage|captureException/;function D(...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.match(/\S*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(k(o).function||"")&&o.pop(),o.reverse(),A.test(k(o).function||"")&&(o.pop(),A.test(k(o).function||"")&&o.pop()),o.slice(0,50).map(t=>({...t,filename:t.filename||k(o).filename,function:t.function||"?"}))}}function O(t){return Array.isArray(t)?D(...t):t}function k(t){return t[t.length-1]||{}}let N="<anonymous>";function w(t){try{if(!t||"function"!=typeof t)return N;return t.name||N}catch{return N}}function L(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{}}}function B(t){return"__v_isVNode"in t&&t.__v_isVNode?"[VueVNode]":"[VueViewModel]"}function R(t){let e=t?.startsWith("file://")?t.slice(7):t;return e?.match(/\/[A-Z]:/)&&(e=e.slice(1)),e}function U(t,e=0){return"string"!=typeof t||0===e||t.length<=e?t:`${t.slice(0,e)}...`}function M(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}function P(t,e){if(!Array.isArray(t))return"";let n=[];for(let e=0;e<t.length;e++){let r=t[e];try{(0,f.isVueViewModel)(r)?n.push(B(r)):n.push(String(r))}catch{n.push("[value cannot be serialized]")}}return n.join(e)}function $(t,e,n=!1){return!!(0,f.isString)(t)&&((0,f.isRegExp)(e)?e.test(t):!!(0,f.isString)(e)&&(n?t===e:t.includes(e)))}function j(t,e=[],n=!1){return e.some(e=>$(t,e,n))}function G(t=function(){let t=v.GLOBAL_OBJ;return t.crypto||t.msCrypto}()){try{if(t?.randomUUID)return T(()=>t.randomUUID()).replace(/-/g,"")}catch{}return n||(n="10000000100040008000100000000000"),n.replace(/[018]/g,t=>(t^(15&16*I())>>t/4).toString(16))}function F(t){return t.exception?.values?.[0]}function J(t){let{message:e,event_id:n}=t;if(e)return e;let r=F(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function H(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")}function V(t,e){let n=F(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}}function Y(t,e,n=5){if(void 0===e.lineno)return;let r=t.length,i=Math.max(Math.min(r-1,e.lineno-1),0);e.pre_context=t.slice(Math.max(0,i-n),i).map(t=>M(t,0)),e.context_line=M(t[Math.min(r-1,i)],e.colno||0),e.post_context=t.slice(Math.min(i+1,r),i+1+n).map(t=>M(t,0))}function K(t){if(z(t))return!0;try{g(t,"__sentry_captured__",!0)}catch{}return!1}function z(t){try{return t.__sentry_captured__}catch{}}function W(){return x()/1e3}function q(){return(r??(r=function(){let{performance:t}=v.GLOBAL_OBJ;if(!t?.now||!t.timeOrigin)return W;let e=t.timeOrigin;return()=>(e+T(()=>t.now()))/1e3}()))()}t.s(["UNKNOWN_FUNCTION",()=>"?","createStackParser",()=>D,"getFramesFromEvent",()=>L,"getFunctionName",()=>w,"getVueInternalName",()=>B,"normalizeStackTracePath",()=>R,"stackParserFromStackParserOptions",()=>O],446754),t.s(["isMatchingPattern",()=>$,"safeJoin",()=>P,"snipLine",()=>M,"stringMatchesSomePattern",()=>j,"truncate",()=>U],778852),t.s(["addContextToFrame",()=>Y,"addExceptionMechanism",()=>V,"addExceptionTypeValue",()=>H,"checkOrSetAlreadyCaught",()=>K,"getEventDescription",()=>J,"isAlreadyCaptured",()=>z,"uuid4",()=>G],163502);let X=null;function Q(){return null===X&&(X=function(){let{performance:t}=v.GLOBAL_OBJ;if(!t?.now)return;let e=T(()=>t.now()),n=x(),r=t.timeOrigin;if("number"==typeof r&&3e5>Math.abs(r+e-n))return r;let i=t.timing?.navigationStart;return"number"==typeof i&&3e5>Math.abs(i+e-n)?i:n-e}()),X}function Z(t){let e=q(),n={sid:G(),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&&tt(n,t),n}function tt(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||q(),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:G()),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)}function te(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),tt(t,n)}function tn(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]=tn(r[t],e[t],n-1));return r}function tr(){return G()}function ti(){return G().substring(16)}t.s(["browserPerformanceTimeOrigin",()=>Q,"dateTimestampInSeconds",()=>W,"timestampInSeconds",()=>q],636217),t.s(["closeSession",()=>te,"makeSession",()=>Z,"updateSession",()=>tt],976208),t.s(["merge",()=>tn],320501),t.s(["generateSpanId",()=>ti,"generateTraceId",()=>tr],230757);let ts="_sentrySpan";function ta(t,e){e?g(t,ts,e):delete t[ts]}function to(t){return t[ts]}t.s(["_getSpanForScope",()=>to,"_setSpanForScope",()=>ta],668567);class tc{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:tr(),sampleRand:I()}}clone(){let t=new tc;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,ta(t,this[ts]),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&&tt(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:c=[],propagationContext:u,conversationId:l}=(e instanceof tc?e.getScopeData():(0,f.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),c.length&&(this._fingerprint=c),u&&(this._propagationContext=u),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,ta(this,void 0),this._attachments=[],this.setPropagationContext({traceId:tr(),sampleRand:I()}),this._notifyScopeListeners(),this}addBreadcrumb(t,e){let n="number"==typeof e?e:100;if(n<=0)return this;let r={timestamp:W(),...t,message:t.message?U(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:this[ts],conversationId:this._conversationId}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=tn(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,e){let n=e?.event_id||G();if(!this._client)return l.DEBUG_BUILD&&d.debug.warn("No client configured on scope - will not capture exception!"),n;let r=Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:r,...e,event_id:n},this),n}captureMessage(t,e,n){let r=n?.event_id||G();if(!this._client)return l.DEBUG_BUILD&&d.debug.warn("No client configured on scope - will not capture message!"),r;let i=n?.syntheticException??Error(t);return this._client.captureMessage(t,e,{originalException:t,syntheticException:i,...n,event_id:r},this),r}captureEvent(t,e){let n=t.event_id||e?.event_id||G();return this._client?this._client.captureEvent(t,{...e,event_id:n},this):l.DEBUG_BUILD&&d.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",()=>tc],649008);let tu=t=>t instanceof Promise&&!t[tl],tl=Symbol("chained PromiseLike"),tp=(t,e,n)=>{let r=t.then(t=>(e(t),t),t=>{throw n(t),t});return tu(r)&&tu(t)?r:td(t,r)},td=(t,e)=>{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,{[tl]:!0}),e};class tf{constructor(t,e){let n,r;n=t||new tc,r=e||new tc,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,f.isThenable)(e)?tp(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 t_(){let t=(0,u.getMainCarrier)(),e=(0,u.getSentryCarrier)(t);return e.stack=e.stack||new tf((0,u.getGlobalSingleton)("defaultCurrentScope",()=>new tc),(0,u.getGlobalSingleton)("defaultIsolationScope",()=>new tc))}function tg(t){return t_().withScope(t)}function th(t,e){let n=t_();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function tm(t){return t_().withScope(()=>t(t_().getIsolationScope()))}function tS(t){let e=(0,u.getSentryCarrier)(t);return e.acs?e.acs:{withIsolationScope:tm,withScope:tg,withSetScope:th,withSetIsolationScope:(t,e)=>tm(e),getCurrentScope:()=>t_().getScope(),getIsolationScope:()=>t_().getIsolationScope()}}function ty(){return void 0!==i}function tb(){return tS((0,u.getMainCarrier)()).getCurrentScope()}function tE(){return tS((0,u.getMainCarrier)()).getIsolationScope()}function tv(){return(0,u.getGlobalSingleton)("globalScope",()=>new tc)}function tT(...t){let e=tS((0,u.getMainCarrier)());if(2===t.length){let[n,r]=t;return n?e.withSetScope(n,r):e.withScope(r)}return e.withScope(t[0])}function tI(...t){let e=tS((0,u.getMainCarrier)());if(2===t.length){let[n,r]=t;return n?e.withSetIsolationScope(n,r):e.withIsolationScope(r)}return e.withIsolationScope(t[0])}function tx(){return tb().getClient()}function tC(t){let e=i?.();if(e)return{trace_id:e.traceId,span_id:e.spanId};let{traceId:n,parentSpanId:r,propagationSpanId:s}=t.getPropagationContext(),a={trace_id:n,span_id:s||ti()};return r&&(a.parent_span_id=r),a}t.s(["getAsyncContextStrategy",()=>tS],679162),t.s(["getClient",()=>tx,"getCurrentScope",()=>tb,"getGlobalScope",()=>tv,"getIsolationScope",()=>tE,"getTraceContextFromScope",()=>tC,"hasExternalPropagationContext",()=>ty,"withIsolationScope",()=>tI,"withScope",()=>tT],695207);let tA="sentry.source",tD="sentry.sample_rate",tO="sentry.previous_trace_sample_rate",tk="sentry.op",tN="sentry.origin",tw="sentry.measurement_unit",tL="sentry.measurement_value",tB="sentry.custom_span_name",tR="sentry.profile_id",tU="sentry.exclusive_time";t.s(["GEN_AI_CONVERSATION_ID_ATTRIBUTE",()=>"gen_ai.conversation.id","SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME",()=>tU,"SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD",()=>"http.request.method","SEMANTIC_ATTRIBUTE_PROFILE_ID",()=>tR,"SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME",()=>tB,"SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON",()=>"sentry.idle_span_finish_reason","SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT",()=>tw,"SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE",()=>tL,"SEMANTIC_ATTRIBUTE_SENTRY_OP",()=>tk,"SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN",()=>tN,"SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE",()=>tO,"SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE",()=>tD,"SEMANTIC_ATTRIBUTE_SENTRY_SOURCE",()=>tA,"SEMANTIC_ATTRIBUTE_URL_FULL",()=>"url.full","SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE",()=>"sentry.link.type"],935218);let tM="sentry-";function tP(t){let e=tj(t);if(!e)return;let n=Object.entries(e).reduce((t,[e,n])=>(e.startsWith(tM)&&(t[e.slice(tM.length)]=n),t),{});return Object.keys(n).length>0?n:void 0}function t$(t){if(t){var e=Object.entries(t).reduce((t,[e,n])=>(n&&(t[`${tM}${e}`]=n),t),{});return 0!==Object.keys(e).length?Object.entries(e).reduce((t,[e,n],r)=>{let i=`${encodeURIComponent(e)}=${encodeURIComponent(n)}`,s=0===r?i:`${t},${i}`;return s.length>8192?(l.DEBUG_BUILD&&d.debug.warn(`Not adding key: ${e} with val: ${n} to baggage header due to exceeding baggage size limits.`),t):s},""):void 0}}function tj(t){if(t&&((0,f.isString)(t)||Array.isArray(t)))return Array.isArray(t)?t.reduce((t,e)=>(Object.entries(tG(e)).forEach(([e,n])=>{t[e]=n}),t),{}):tG(t)}function tG(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),{})}function tF(t,e,n=()=>{},r=()=>{}){var i,s,a,o;let c;try{c=t()}catch(t){throw e(t),n(),t}return i=c,s=e,a=n,o=r,(0,f.isThenable)(i)?tp(i,t=>{a(),o(t)},t=>{s(t),a()}):(a(),o(i),i)}function tJ(t){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let e=t||tx()?.getOptions();return!!e&&(null!=e.tracesSampleRate||!!e.tracesSampler)}function tH(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}function tV(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"}}function tY(t,e){t.setAttribute("http.response.status_code",e);let n=tV(e);"unknown_error"!==n.message&&t.setStatus(n)}t.s(["SENTRY_BAGGAGE_KEY_PREFIX",()=>tM,"baggageHeaderToDynamicSamplingContext",()=>tP,"dynamicSamplingContextToSentryBaggageHeader",()=>t$,"parseBaggageHeader",()=>tj],439611),t.s(["handleCallbackErrors",()=>tF],672275),t.s(["hasSpansEnabled",()=>tJ],961925),t.s(["parseSampleRate",()=>tH],187248),t.s(["SPAN_STATUS_ERROR",()=>2,"SPAN_STATUS_OK",()=>1,"SPAN_STATUS_UNSET",()=>0,"getSpanStatusFromHttpCode",()=>tV,"setHttpStatus",()=>tY],55061);let tK="_sentryScope",tz="_sentryIsolationScope";function tW(t,e,n){t&&(g(t,tz,function(t){try{let e=v.GLOBAL_OBJ.WeakRef;if("function"==typeof e)return new e(t)}catch{}return t}(n)),g(t,tK,e))}function tq(t){return{scope:t[tK],isolationScope:function(t){if(t){if("object"==typeof t&&"deref"in t&&"function"==typeof t.deref)try{return t.deref()}catch{return}return t}}(t[tz])}}t.s(["getCapturedScopesOnSpan",()=>tq,"setCapturedScopesOnSpan",()=>tW],216351);let tX=/^o(\d+)\./,tQ=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function tZ(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 t0(t){let e=tQ.exec(t);if(!e)return void(0,d.consoleSandbox)(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});let[n,r,i="",s="",a="",o=""]=e.slice(1),c="",u=o,l=u.split("/");if(l.length>1&&(c=l.slice(0,-1).join("/"),u=l.pop()),u){let t=u.match(/^\d+/);t&&(u=t[0])}return t1({host:s,pass:i,path:c,projectId:u,port:a,protocol:n,publicKey:r})}function t1(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function t2(t){let e,n=t.getOptions(),{host:r}=t.getDsn()||{};if(n.orgId)e=String(n.orgId);else{let t;r&&(t=r.match(tX),e=t?.[1])}return e}function t6(t){let e="string"==typeof t?t0(t):t1(t);if(e&&function(t){if(!l.DEBUG_BUILD)return!0;let{port:e,projectId:n,protocol:r}=t;return!["protocol","publicKey","host","projectId"].find(e=>!t[e]&&(d.debug.error(`Invalid Sentry Dsn: ${e} missing`),!0))&&(n.match(/^\d+$/)?"http"!==r&&"https"!==r?(d.debug.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):!(e&&isNaN(parseInt(e,10)))||(d.debug.error(`Invalid Sentry Dsn: Invalid port ${e}`),!1):(d.debug.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(e))return e}t.s(["dsnFromString",()=>t0,"dsnToString",()=>tZ,"extractOrgIdFromClient",()=>t2,"makeDsn",()=>t6],909502);let t5=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function t3(t){let e;if(!t)return;let n=t.match(t5);if(n)return"1"===n[3]?e=!0:"0"===n[3]&&(e=!1),{traceId:n[1],parentSampled:e,parentSpanId:n[2]}}function t4(t,e){let n=t3(t),r=tP(e);if(!n?.traceId)return{traceId:tr(),sampleRand:I()};let i=function(t,e){let n=tH(e?.sample_rand);if(void 0!==n)return n;let r=tH(e?.sample_rate);return r&&t?.parentSampled!==void 0?t.parentSampled?I()*r:r+I()*(1-r):I()}(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}}function t7(t=tr(),e=ti(),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${t}-${e}${r}`}function t9(t=tr(),e=ti(),n){return`00-${t}-${e}-${n?"01":"00"}`}function t8(t,e){let n=t2(t);return e&&n&&e!==n?(d.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)||(d.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)}t.s(["TRACEPARENT_REGEXP",()=>t5,"extractTraceparentData",()=>t3,"generateSentryTraceHeader",()=>t7,"generateTraceparentHeader",()=>t9,"propagationContextFromHeaders",()=>t4,"shouldContinueTrace",()=>t8],518510);let et=!1;function ee(t){let{spanId:e,traceId:n}=t.spanContext(),{data:r,op:i,parent_span_id:s,status:a,origin:o,links:c}=ec(t);return{parent_span_id:s,span_id:e,trace_id:n,data:r,op:i,status:a,origin:o,links:c}}function en(t){let{spanId:e,traceId:n,isRemote:r}=t.spanContext(),i=r?e:ec(t).parent_span_id,s=tq(t).scope;return{parent_span_id:i,span_id:r?s?.getPropagationContext().propagationSpanId||ti():e,trace_id:n}}function er(t){let{traceId:e,spanId:n}=t.spanContext();return t7(e,n,eu(t))}function ei(t){let{traceId:e,spanId:n}=t.spanContext();return t9(e,n,eu(t))}function es(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 ea(t){return"number"==typeof t?eo(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?eo(t.getTime()):q()}function eo(t){return t>0x2540be3ff?t/1e3:t}function ec(t){var e;if("function"==typeof t.getSpanJSON)return t.getSpanJSON();let{spanId:n,traceId:r}=t.spanContext();if((e=t).attributes&&e.startTime&&e.name&&e.endTime&&e.status){let{attributes:e,startTime:i,name:s,endTime:a,status:o,links:c}=t;return{span_id:n,trace_id:r,data:e,description:s,parent_span_id:"parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?t.parentSpanContext?.spanId:void 0,start_timestamp:ea(i),timestamp:ea(a)||void 0,status:el(o),op:e[tk],origin:e[tN],links:es(c)}}return{span_id:n,trace_id:r,start_timestamp:0,data:{}}}function eu(t){let{traceFlags:e}=t.spanContext();return 1===e}function el(t){if(t&&0!==t.code)return 1===t.code?"ok":t.message||"internal_error"}let ep="_sentryChildSpans",ed="_sentryRootSpan";function ef(t,e){let n=t[ed]||t;g(e,ed,n),t[ep]?t[ep].add(e):g(t,ep,new Set([e]))}function e_(t,e){t[ep]&&t[ep].delete(e)}function eg(t){let e=new Set;return!function t(n){if(!e.has(n)&&eu(n))for(let r of(e.add(n),n[ep]?Array.from(n[ep]):[]))t(r)}(t),Array.from(e)}function eh(t){return t[ed]||t}function em(){let t=tS((0,u.getMainCarrier)());return t.getActiveSpan?t.getActiveSpan():tb()[ts]}function eS(){et||((0,d.consoleSandbox)(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),et=!0)}function ey(t,e){t.updateName(e),t.setAttributes({[tA]:"custom",[tB]:e})}t.s(["TRACE_FLAG_NONE",()=>0,"TRACE_FLAG_SAMPLED",()=>1,"addChildSpanToSpan",()=>ef,"convertSpanLinksForEnvelope",()=>es,"getActiveSpan",()=>em,"getRootSpan",()=>eh,"getSpanDescendants",()=>eg,"getStatusMessage",()=>el,"removeChildSpanFromSpan",()=>e_,"showSpanDropWarning",()=>eS,"spanIsSampled",()=>eu,"spanTimeInputToSeconds",()=>ea,"spanToJSON",()=>ec,"spanToTraceContext",()=>en,"spanToTraceHeader",()=>er,"spanToTraceparentHeader",()=>ei,"spanToTransactionTraceContext",()=>ee,"updateSpanName",()=>ey],166832);let eb="production";t.s(["DEFAULT_ENVIRONMENT",()=>eb],879468);let eE="_frozenDsc";function ev(t,e){g(t,eE,e)}function eT(t,e){let n=e.getOptions(),{publicKey:r}=e.getDsn()||{},i={environment:n.environment||eb,release:n.release,public_key:r,trace_id:t,org_id:t2(e)};return e.emit("createDsc",i),i}function eI(t,e){let n=e.getPropagationContext();return n.dsc||eT(n.traceId,t)}function ex(t){let e=tx();if(!e)return{};let n=eh(t),r=ec(n),i=r.data,s=n.spanContext().traceState,a=s?.get("sentry.sample_rate")??i[tD]??i[tO];function o(t){return("number"==typeof a||"string"==typeof a)&&(t.sample_rate=`${a}`),t}let c=n[eE];if(c)return o(c);let u=s?.get("sentry.dsc"),l=u&&tP(u);if(l)return o(l);let p=eT(t.spanContext().traceId,e),d=i[tA],f=r.description;return"url"!==d&&f&&(p.transaction=f),tJ()&&(p.sampled=String(eu(n)),p.sample_rand=s?.get("sentry.sample_rand")??tq(n).scope?.getPropagationContext().sampleRand.toString()),o(p),e.emit("createDsc",p,n),p}function eC(t){return t$(ex(t))}t.s(["freezeDscOnSpan",()=>ev,"getDynamicSamplingContextFromScope",()=>eI,"getDynamicSamplingContextFromSpan",()=>ex,"spanToBaggageHeader",()=>eC],172072);class eA{constructor(t={}){this._traceId=t.traceId||tr(),this._spanId=t.spanId||ti()}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}addEvent(t,e,n){return this}addLink(t){return this}addLinks(t){return this}recordException(t,e){}}function eD(e,n=100,r=Infinity){try{return function e(n,r,i=Infinity,s=Infinity,a=function(){let t=new WeakSet;return[function(e){return!!t.has(e)||(t.add(e),!1)},function(e){t.delete(e)}]}()){let[o,c]=a;if(null==r||["boolean","string"].includes(typeof r)||"number"==typeof r&&Number.isFinite(r))return r;let u=function(e,n){try{var r;let i;if("domain"===e&&n&&"object"==typeof n&&n._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if(n===t.g)return"[Global]";if("u">typeof window&&n===window)return"[Window]";if("u">typeof document&&n===document)return"[Document]";if((0,f.isVueViewModel)(n))return B(n);if((0,f.isSyntheticEvent)(n))return"[SyntheticEvent]";if("number"==typeof n&&!Number.isFinite(n))return`[${n}]`;if("function"==typeof n)return`[Function: ${w(n)}]`;if("symbol"==typeof n)return`[${String(n)}]`;if("bigint"==typeof n)return`[BigInt: ${String(n)}]`;let s=(r=n,i=Object.getPrototypeOf(r),i?.constructor?i.constructor.name:"null prototype");if(/^HTML(\w*)Element$/.test(s))return`[HTMLElement: ${s}]`;return`[object ${s}]`}catch(t){return`**non-serializable** (${t})`}}(n,r);if(!u.startsWith("[object "))return u;if(r.__sentry_skip_normalization__)return r;let l="number"==typeof r.__sentry_override_normalization_depth__?r.__sentry_override_normalization_depth__:i;if(0===l)return u.replace("object ","");if(o(r))return"[Circular ~]";if(r&&"function"==typeof r.toJSON)try{let t=r.toJSON();return e("",t,l-1,s,a)}catch{}let p=Array.isArray(r)?[]:{},d=0,_=S(r);for(let t in _){if(!Object.prototype.hasOwnProperty.call(_,t))continue;if(d>=s){p[t]="[MaxProperties ~]";break}let n=_[t];p[t]=e(t,n,l-1,s,a),d++}return c(r),p}("",e,n,r)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function eO(t,e=[]){return[t,e]}function ek(t,e){let[n,r]=t;return[n,[...r,e]]}function eN(t,e){for(let n of t[1]){let t=n[0].type;if(e(n,t))return!0}return!1}function ew(t,e){return eN(t,(t,n)=>e.includes(n))}function eL(t){let e=(0,u.getSentryCarrier)(v.GLOBAL_OBJ);return e.encodePolyfill?e.encodePolyfill(t):new TextEncoder().encode(t)}function eB(t){let[e,n]=t,r=JSON.stringify(e);function i(t){"string"==typeof r?r="string"==typeof t?r+t:[eL(r),t]:r.push("string"==typeof t?eL(t):t)}for(let t of n){let[e,n]=t;if(i(`
|
|
${JSON.stringify(e)}
|
|
`),"string"==typeof n||n instanceof Uint8Array)i(n);else{let t;try{t=JSON.stringify(n)}catch{t=JSON.stringify(eD(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)}function eR(t){let e="string"==typeof t?eL(t):t;function n(t){let n=e.subarray(0,t);return e=e.subarray(t+1),n}function r(){var t;let r,i=e.indexOf(10);return i<0&&(i=e.length),JSON.parse((t=n(i),(r=(0,u.getSentryCarrier)(v.GLOBAL_OBJ)).decodePolyfill?r.decodePolyfill(t):new TextDecoder().decode(t)))}let i=r(),s=[];for(;e.length;){let t=r(),e="number"==typeof t.length?t.length:void 0;s.push([t,e?n(e):r()])}return[i,s]}function eU(t){return[{type:"span"},t]}function eM(t){let e="string"==typeof t.data?eL(t.data):t.data;return[{type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType},e]}t.s(["SentryNonRecordingSpan",()=>eA],20701),t.s(["normalize",()=>eD,"normalizeToSize",()=>function t(e,n=3,r=102400){let i=eD(e,n);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>r?t(e,n-1,r):i}],746065);let eP={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 e$(t){return t in eP?eP[t]:t}function ej(t){if(!t?.sdk)return;let{name:e,version:n}=t.sdk;return{name:e,version:n}}function eG(t,e,n,r){let i=t.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:t.event_id,sent_at:new Date().toISOString(),...e&&{sdk:e},...!!n&&r&&{dsn:tZ(r)},...i&&{trace:i}}}function eF(t){d.debug.log(`Ignoring span ${t.op} - ${t.description} because it matches \`ignoreSpans\`.`)}function eJ(t,e){if(!e?.length||!t.description)return!1;for(let r of e){var n;if("string"==typeof(n=r)||n instanceof RegExp){if($(t.description,r))return l.DEBUG_BUILD&&eF(t),!0;continue}if(!r.name&&!r.op)continue;let e=!r.name||$(t.description,r.name),i=!r.op||t.op&&$(t.op,r.op);if(e&&i)return l.DEBUG_BUILD&&eF(t),!0}return!1}function eH(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)}function eV(t,e,n,r){let i=ej(n);return eO({sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&e&&{dsn:tZ(e)}},["aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()]])}function eY(t,e,n,r){let i=ej(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=eG(t,i,r,e);return delete t.sdkProcessingMetadata,eO(a,[[{type:s},t]])}function eK(t,e){let n=ex(t[0]),r=e?.getDsn(),i=e?.getOptions().tunnel,s={sent_at:new Date().toISOString(),...!!n.trace_id&&!!n.public_key&&{trace:n},...!!i&&r&&{dsn:tZ(r)}},{beforeSendSpan:a,ignoreSpans:o}=e?.getOptions()||{},c=o?.length?t.filter(t=>!eJ(ec(t),o)):t,u=t.length-c.length;u&&e?.recordDroppedEvent("before_send","span",u);let l=a?t=>{let e=ec(t),n=a(e);return n||(eS(),e)}:ec,p=[];for(let t of c){let e=l(t);e&&p.push(eU(e))}return eO(s,p)}function ez(t,e,n,r=em()){let i=r&&eh(r);i&&(l.DEBUG_BUILD&&d.debug.log(`[Measurement] Setting measurement on root span: ${t} = ${e} ${n}`),i.addEvent(t,{[tL]:e,[tw]:n}))}function eW(t){if(!t||0===t.length)return;let e={};return t.forEach(t=>{let n=t.attributes||{},r=n[tw],i=n[tL];"string"==typeof r&&"number"==typeof i&&(e[t.name]={value:i,unit:r})}),e}t.s(["addItemToEnvelope",()=>ek,"createAttachmentEnvelopeItem",()=>eM,"createEnvelope",()=>eO,"createEventEnvelopeHeaders",()=>eG,"createSpanEnvelopeItem",()=>eU,"envelopeContainsItemType",()=>ew,"envelopeItemTypeToDataCategory",()=>e$,"forEachEnvelopeItem",()=>eN,"getSdkMetadataForEnvelopeHeader",()=>ej,"parseEnvelope",()=>eR,"serializeEnvelope",()=>eB],849817),t.s(["reparentChildSpans",()=>eH,"shouldIgnoreSpan",()=>eJ],608422),t.s(["createEventEnvelope",()=>eY,"createSessionEnvelope",()=>eV,"createSpanEnvelope",()=>eK],166072),t.s(["setMeasurement",()=>ez,"timedEventsToMeasurements",()=>eW],967703);class eq{constructor(t={}){this._traceId=t.traceId||tr(),this._spanId=t.spanId||ti(),this._startTime=t.startTimestamp||q(),this._links=t.links,this._attributes={},this.setAttributes({[tN]:"manual",[tk]: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()}addLink(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=ea(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this.setAttribute(tA,"custom"),this}end(t){this._endTime||(this._endTime=ea(t),function(t){if(!l.DEBUG_BUILD)return;let{description:e="< unknown name >",op:n="< unknown op >"}=ec(t),{spanId:r}=t.spanContext(),i=eh(t)===t,s=`[Tracing] Finishing "${n}" ${i?"root ":""}span "${e}" with ID ${r}`;d.debug.log(s)}(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[tk],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:el(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[tN],profile_id:this._attributes[tR],exclusive_time:this._attributes[tU],measurements:eW(this._events),is_segment:this._isStandaloneSpan&&eh(this)===this||void 0,segment_id:this._isStandaloneSpan?eh(this).spanContext().spanId:void 0,links:es(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,e,n){l.DEBUG_BUILD&&d.debug.log("[Tracing] Adding an event to span:",t);let r=eX(e)?e:n||q(),i=eX(e)?{}:e||{},s={name:t,time:ea(r),attributes:i};return this._events.push(s),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let t=tx();if(t&&t.emit("spanEnd",this),!(this._isStandaloneSpan||this===eh(this)))return;if(this._isStandaloneSpan)return void(this._sampled?function(t){let e=tx();if(!e)return;let n=t[1];n&&0!==n.length?e.sendEnvelope(t):e.recordDroppedEvent("before_send","span")}(eK([this],t)):(l.DEBUG_BUILD&&d.debug.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span")));let e=this._convertSpanToTransaction();e&&(tq(this).scope||tb()).captureEvent(e)}_convertSpanToTransaction(){if(!eQ(ec(this)))return;this._name||(l.DEBUG_BUILD&&d.debug.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:t,isolationScope:e}=tq(this),n=t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;let r=eg(this).filter(t=>{var e;return t!==this&&!((e=t)instanceof eq&&e.isStandaloneSpan())}).map(t=>ec(t)).filter(eQ),i=this._attributes[tA];delete this._attributes[tB],r.forEach(t=>{delete t.data[tB]});let s={contexts:{trace:ee(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:ex(this)},request:n,...i&&{transaction_info:{source:i}}},a=eW(this._events);return a&&Object.keys(a).length&&(l.DEBUG_BUILD&&d.debug.log("[Measurements] Adding measurements to transaction event",JSON.stringify(a,void 0,2)),s.measurements=a),s}}function eX(t){return t&&"number"==typeof t||t instanceof Date||Array.isArray(t)}function eQ(t){return!!t.start_timestamp&&!!t.timestamp&&!!t.span_id&&!!t.trace_id}t.s(["SentrySpan",()=>eq],696301);let eZ="__SENTRY_SUPPRESS_TRACING__";function e0(t,e){let n=e8();if(n.startSpan)return n.startSpan(t,e);let r=e9(t),{forceTransaction:i,parentSpan:s,scope:a}=t;return tT(a?.clone(),()=>nn(s)(()=>{let n=tb(),a=ne(n,s),o=t.onlyIfParent&&!a?new eA:e7({parentSpan:a,spanArguments:r,forceTransaction:i,scope:n});return ta(n,o),tF(()=>e(o),()=>{let{status:t}=ec(o);o.isRecording()&&(!t||"ok"===t)&&o.setStatus({code:2,message:"internal_error"})},()=>{o.end()})}))}function e1(t,e){let n=e8();if(n.startSpanManual)return n.startSpanManual(t,e);let r=e9(t),{forceTransaction:i,parentSpan:s,scope:a}=t;return tT(a?.clone(),()=>nn(s)(()=>{let n=tb(),a=ne(n,s),o=t.onlyIfParent&&!a?new eA:e7({parentSpan:a,spanArguments:r,forceTransaction:i,scope:n});return ta(n,o),tF(()=>e(o,()=>o.end()),()=>{let{status:t}=ec(o);o.isRecording()&&(!t||"ok"===t)&&o.setStatus({code:2,message:"internal_error"})})}))}function e2(t){let e=e8();if(e.startInactiveSpan)return e.startInactiveSpan(t);let n=e9(t),{forceTransaction:r,parentSpan:i}=t;return(t.scope?e=>tT(t.scope,e):void 0!==i?t=>e5(i,t):t=>t())(()=>{let e=tb(),s=ne(e,i);return t.onlyIfParent&&!s?new eA:e7({parentSpan:s,spanArguments:n,forceTransaction:r,scope:e})})}let e6=(t,e)=>{let n=tS((0,u.getMainCarrier)());if(n.continueTrace)return n.continueTrace(t,e);let{sentryTrace:r,baggage:i}=t,s=tx(),a=tP(i);return s&&!t8(s,a?.org_id)?e4(e):tT(t=>{let n=t4(r,i);return t.setPropagationContext(n),ta(t,void 0),e()})};function e5(t,e){let n=e8();return n.withActiveSpan?n.withActiveSpan(t,e):tT(n=>(ta(n,t||void 0),e(n)))}function e3(t){let e=e8();return e.suppressTracing?e.suppressTracing(t):tT(e=>{e.setSDKProcessingMetadata({[eZ]:!0});let n=t();return e.setSDKProcessingMetadata({[eZ]:void 0}),n})}function e4(t){let e=e8();return e.startNewTrace?e.startNewTrace(t):tT(e=>(e.setPropagationContext({traceId:tr(),sampleRand:I()}),l.DEBUG_BUILD&&d.debug.log(`Starting a new trace with id ${e.getPropagationContext().traceId}`),e5(null,t)))}function e7({parentSpan:t,spanArguments:e,forceTransaction:n,scope:r}){let i;if(!tJ()){let r=new eA;if(n||!t){let t={sampled:"false",sample_rate:"0",transaction:e.name,...ex(r)};ev(r,t)}return r}let s=tE();if(t&&!n)i=function(t,e,n){let{spanId:r,traceId:i}=t.spanContext(),s=!e.getScopeData().sdkProcessingMetadata[eZ]&&eu(t),a=s?new eq({...n,parentSpanId:r,traceId:i,sampled:s}):new eA({traceId:i});ef(t,a);let o=tx();return o&&(o.emit("spanStart",a),n.endTimestamp&&o.emit("spanEnd",a)),a}(t,r,e),ef(t,i);else if(t){let n=ex(t),{traceId:s,spanId:a}=t.spanContext(),o=eu(t);ev(i=nt({traceId:s,parentSpanId:a,...e},r,o),n)}else{let{traceId:t,dsc:n,parentSpanId:a,sampled:o}={...s.getPropagationContext(),...r.getPropagationContext()};i=nt({traceId:t,parentSpanId:a,...e},r,o),n&&ev(i,n)}return!function(t){if(!l.DEBUG_BUILD)return;let{description:e="< unknown name >",op:n="< unknown op >",parent_span_id:r}=ec(t),{spanId:i}=t.spanContext(),s=eu(t),a=eh(t),o=a===t,c=`[Tracing] Starting ${s?"sampled":"unsampled"} ${o?"root ":""}span`,u=[`op: ${n}`,`name: ${e}`,`ID: ${i}`];if(r&&u.push(`parent ID: ${r}`),!o){let{op:t,description:e}=ec(a);u.push(`root ID: ${a.spanContext().spanId}`),t&&u.push(`root op: ${t}`),e&&u.push(`root description: ${e}`)}d.debug.log(`${c}
|
|
${u.join("\n ")}`)}(i),tW(i,r,s),i}function e9(t){let e={isStandalone:(t.experimental||{}).standalone,...t};if(t.startTime){let n={...e};return n.startTimestamp=ea(t.startTime),delete n.startTime,n}return e}function e8(){return tS((0,u.getMainCarrier)())}function nt(t,e,n){let r=tx(),i=r?.getOptions()||{},{name:s=""}=t,a={spanAttributes:{...t.attributes},spanName:s,parentSampled:n};r?.emit("beforeSampling",a,{decision:!1});let o=a.parentSampled??n,c=a.spanAttributes,u=e.getPropagationContext(),[p,f,_]=e.getScopeData().sdkProcessingMetadata[eZ]?[!1]:function(t,e,n){let r,i;if(!tJ(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}),i=!0):void 0!==e.parentSampled?r=e.parentSampled:void 0!==t.tracesSampleRate&&(r=t.tracesSampleRate,i=!0);let s=tH(r);if(void 0===s)return l.DEBUG_BUILD&&d.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(!s)return l.DEBUG_BUILD&&d.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,s,i];let a=n<s;return!a&&l.DEBUG_BUILD&&d.debug.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),[a,s,i]}(i,{name:s,parentSampled:o,attributes:c,parentSampleRate:tH(u.dsc?.sample_rate)},u.sampleRand),g=new eq({...t,attributes:{[tA]:"custom",[tD]:void 0!==f&&_?f:void 0,...c},sampled:p});return!p&&r&&(l.DEBUG_BUILD&&d.debug.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),r.recordDroppedEvent("sample_rate","transaction")),r&&r.emit("spanStart",g),g}function ne(t,e){if(e)return e;if(null===e)return;let n=t[ts];if(!n)return;let r=tx();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?eh(n):n}function nn(t){return void 0!==t?e=>e5(t,e):t=>t()}function nr(t){return new ns(e=>{e(t)})}function ni(t){return new ns((e,n)=>{n(t)})}t.s(["continueTrace",()=>e6,"startInactiveSpan",()=>e2,"startNewTrace",()=>e4,"startSpan",()=>e0,"startSpanManual",()=>e1,"suppressTracing",()=>e3,"withActiveSpan",()=>e5],143447);class ns{constructor(t){this._state=0,this._handlers=[],this._runExecutor(t)}then(t,e){return new ns((n,r)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(t){r(t)}else n(e)},t=>{if(e)try{n(e(t))}catch(t){r(t)}else r(t)}]),this._executeHandlers()})}catch(t){return this.then(t=>t,t)}finally(t){return new ns((e,n)=>{let r,i;return this.then(e=>{i=!1,r=e,t&&t()},e=>{i=!0,r=e,t&&t()}).then(()=>{i?n(r):e(r)})})}_executeHandlers(){if(0===this._state)return;let t=this._handlers.slice();this._handlers=[],t.forEach(t=>{t[0]||(1===this._state&&t[1](this._value),2===this._state&&t[2](this._value),t[0]=!0)})}_runExecutor(t){let e=(t,e)=>{if(0===this._state){if((0,f.isThenable)(e))return void e.then(n,r);this._state=t,this._value=e,this._executeHandlers()}},n=t=>{e(1,t)},r=t=>{e(2,t)};try{t(n,r)}catch(t){r(t)}}}function na(t){let e=v.GLOBAL_OBJ._sentryDebugIds,n=v.GLOBAL_OBJ._debugIds;if(!e&&!n)return{};let r=e?Object.keys(e):[],i=n?Object.keys(n):[];if(c&&r.length===a&&i.length===o)return c;a=r.length,o=i.length,c={},s||(s={});let u=(e,n)=>{for(let r of e){let e=n[r],i=s?.[r];if(i&&c&&e)c[i[0]]=e,s&&(s[r]=[i[0],e]);else if(e){let n=t(r);for(let t=n.length-1;t>=0;t--){let i=n[t],a=i?.filename;if(a&&c&&s){c[a]=e,s[r]=[a,e];break}}}}};return e&&u(r,e),n&&u(i,n),c}function no(t,e){let n=na(t);if(!n)return[];let r=[];for(let t of e){let e=R(t);e&&n[e]&&r.push({type:"sourcemap",code_file:t,debug_id:n[e]})}return r}function nc(t,e){var n,r,i,s,a,o,c,u;let l,p,{fingerprint:d,span:f,breadcrumbs:_,sdkProcessingMetadata:g}=e;(function(t,e){let{extra:n,tags:r,user:i,contexts:s,level:a,transactionName:o}=e;Object.keys(n).length&&(t.extra={...n,...t.extra}),Object.keys(r).length&&(t.tags={...r,...t.tags}),Object.keys(i).length&&(t.user={...i,...t.user}),Object.keys(s).length&&(t.contexts={...s,...t.contexts}),a&&(t.level=a),o&&"transaction"!==t.type&&(t.transaction=o)})(t,e),f&&((n=t).contexts={trace:en(r=f),...n.contexts},n.sdkProcessingMetadata={dynamicSamplingContext:ex(r),...n.sdkProcessingMetadata},(l=ec(eh(r)).description)&&!n.transaction&&"transaction"===n.type&&(n.transaction=l)),i=t,s=d,i.fingerprint=i.fingerprint?Array.isArray(i.fingerprint)?i.fingerprint:[i.fingerprint]:[],s&&(i.fingerprint=i.fingerprint.concat(s)),i.fingerprint.length||delete i.fingerprint,a=t,o=_,p=[...a.breadcrumbs||[],...o],a.breadcrumbs=p.length?p:void 0,c=t,u=g,c.sdkProcessingMetadata={...c.sdkProcessingMetadata,...u}}function nu(t,e){let{extra:n,tags:r,attributes:i,user:s,contexts:a,level:o,sdkProcessingMetadata:c,breadcrumbs:u,fingerprint:l,eventProcessors:p,attachments:d,propagationContext:f,transactionName:_,span:g}=e;nl(t,"extra",n),nl(t,"tags",r),nl(t,"attributes",i),nl(t,"user",s),nl(t,"contexts",a),t.sdkProcessingMetadata=tn(t.sdkProcessingMetadata,c,2),o&&(t.level=o),_&&(t.transactionName=_),g&&(t.span=g),u.length&&(t.breadcrumbs=[...t.breadcrumbs,...u]),l.length&&(t.fingerprint=[...t.fingerprint,...l]),p.length&&(t.eventProcessors=[...t.eventProcessors,...p]),d.length&&(t.attachments=[...t.attachments,...d]),t.propagationContext={...t.propagationContext,...f}}function nl(t,e,n){t[e]=tn(t[e],n,1)}function np(t,e){let n=tv().getScopeData();return t&&nu(n,t.getScopeData()),e&&nu(n,e.getScopeData()),n}function nd(t,e,n,r,i,s){var a,o,c;let u,{normalizeDepth:p=3,normalizeMaxBreadth:_=1e3}=t,g={...e,event_id:e.event_id||n.event_id||G(),timestamp:e.timestamp||W()},h=n.integrations||t.integrations.map(t=>t.name);(function(t,e){let{environment:n,release:r,dist:i,maxValueLength:s}=e;t.environment=t.environment||n||eb,!t.release&&r&&(t.release=r),!t.dist&&i&&(t.dist=i);let a=t.request;a?.url&&s&&(a.url=U(a.url,s)),s&&t.exception?.values?.forEach(t=>{t.value&&(t.value=U(t.value,s))})})(g,t),a=g,(o=h).length>0&&(a.sdk=a.sdk||{},a.sdk.integrations=[...a.sdk.integrations||[],...o]),i&&i.emit("applyFrameMetadata",e),void 0===e.type&&(c=g,u=na(t.stackParser),c.exception?.values?.forEach(t=>{t.stacktrace?.frames?.forEach(t=>{t.filename&&(t.debug_id=u[t.filename])})}));let m=function(t,e){if(!e)return t;let n=t?t.clone():new tc;return n.update(e),n}(r,n.captureContext);n.mechanism&&V(g,n.mechanism);let S=i?i.getEventProcessors():[],y=np(s,m),b=[...n.attachments||[],...y.attachments];b.length&&(n.attachments=b),nc(g,y);let E=[...S,...y.eventProcessors];return(n.data&&!0===n.data.__sentry__?nr(g):function(t,e,n,r=0){try{let i=function t(e,n,r,i){let s=r[i];if(!e||!s)return e;let a=s({...e},n);return(l.DEBUG_BUILD&&null===a&&d.debug.log(`Event processor "${s.id||"?"}" dropped event`),(0,f.isThenable)(a))?a.then(e=>t(e,n,r,i+1)):t(a,n,r,i+1)}(e,n,t,r);return(0,f.isThenable)(i)?i:nr(i)}catch(t){return ni(t)}}(E,g,n)).then(t=>(t&&function(t){let e={};if(t.exception?.values?.forEach(t=>{t.stacktrace?.frames?.forEach(t=>{t.debug_id&&(t.abs_path?e[t.abs_path]=t.debug_id:t.filename&&(e[t.filename]=t.debug_id),delete t.debug_id)})}),0===Object.keys(e).length)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];let n=t.debug_meta.images;Object.entries(e).forEach(([t,e])=>{n.push({type:"sourcemap",code_file:t,debug_id:e})})}(t),"number"==typeof p&&p>0)?function(t,e,n){if(!t)return null;let r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(t=>({...t,...t.data&&{data:eD(t.data,e,n)}}))},...t.user&&{user:eD(t.user,e,n)},...t.contexts&&{contexts:eD(t.contexts,e,n)},...t.extra&&{extra:eD(t.extra,e,n)}};return t.contexts?.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=eD(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map(t=>({...t,...t.data&&{data:eD(t.data,e,n)}}))),t.contexts?.flags&&r.contexts&&(r.contexts.flags=eD(t.contexts.flags,3,n)),r}(t,p,_):t)}function nf(t){if(t){var e;return(e=t)instanceof tc||"function"==typeof e||Object.keys(t).some(t=>n_.includes(t))?{captureContext:t}:t}}t.s(["rejectedSyncPromise",()=>ni,"resolvedSyncPromise",()=>nr],860591),t.s(["getDebugImagesForResources",()=>no,"getFilenameToDebugIdMap",()=>na],640681),t.s(["applyScopeDataToEvent",()=>nc,"getCombinedScopeData",()=>np],94777);let n_=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function ng(t,e){return tb().captureException(t,nf(e))}function nh(t,e){let n="string"==typeof e?e:void 0,r="string"!=typeof e?{captureContext:e}:void 0;return tb().captureMessage(t,n,r)}function nm(t,e){return tb().captureEvent(t,e)}function nS(t,e){tE().setContext(t,e)}function ny(t){tE().setExtras(t)}function nb(t,e){tE().setExtra(t,e)}function nE(t){tE().setTags(t)}function nv(t,e){tE().setTag(t,e)}function nT(t){tE().setUser(t)}function nI(t){tE().setConversationId(t)}function nx(){return tE().lastEventId()}function nC(t,e){let n=tb(),r=tx();if(r)if(r.captureCheckIn)return r.captureCheckIn(t,e,n);else l.DEBUG_BUILD&&d.debug.warn("Cannot capture check-in. Client does not support sending check-ins.");else l.DEBUG_BUILD&&d.debug.warn("Cannot capture check-in. No client defined.");return G()}async function nA(t){let e=tx();return e?e.flush(t):(l.DEBUG_BUILD&&d.debug.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function nD(t){let e=tx();return e?e.close(t):(l.DEBUG_BUILD&&d.debug.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function nO(){return!!tx()}function nk(){let t=tx();return t?.getOptions().enabled!==!1&&!!t?.getTransport()}function nN(t){tE().addEventProcessor(t)}function nw(t){let e=tE(),{user:n}=np(e,tb()),{userAgent:r}=v.GLOBAL_OBJ.navigator||{},i=Z({user:n,...r&&{userAgent:r},...t}),s=e.getSession();return s?.status==="ok"&&tt(s,{status:"exited"}),nL(),e.setSession(i),i}function nL(){let t=tE(),e=tb().getSession()||t.getSession();e&&te(e),nB(),t.setSession()}function nB(){let t=tE(),e=tx(),n=t.getSession();n&&e&&e.captureSession(n)}function nR(t=!1){t?nL():nB()}t.s(["parseEventHintOrCaptureContext",()=>nf,"prepareEvent",()=>nd],790556),t.s(["addEventProcessor",()=>nN,"captureCheckIn",()=>nC,"captureEvent",()=>nm,"captureException",()=>ng,"captureMessage",()=>nh,"captureSession",()=>nR,"close",()=>nD,"endSession",()=>nL,"flush",()=>nA,"isEnabled",()=>nk,"isInitialized",()=>nO,"lastEventId",()=>nx,"setContext",()=>nS,"setConversationId",()=>nI,"setExtra",()=>nb,"setExtras",()=>ny,"setTag",()=>nv,"setTags",()=>nE,"setUser",()=>nT,"startSession",()=>nw],493831)}]);
|
|
|
|
//# debugId=8c7d1d8d-ee1b-992f-a7d5-b0c4f293cde0
|