PageSourceSearch

https://the-passport.com/_next/static/chunks/caed3bcafe1b488b.js

js the-passport.com collected 2026-10-04 21:17:28 UTC 60,600 bytes, 6 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="42f62814-48da-51d5-a68c-55d4d311277d")}catch(e){}}();
3(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,923288,591401,225304,901020,t=>{"use strict";t.s(["getGlobalSingleton",()=>s,"getMainCarrier",()=>r,"getSentryCarrier",()=>i],923288),t.s(["SDK_VERSION",()=>e],591401);let e="10.48.0";t.s(["GLOBAL_OBJ",()=>n],225304);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){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n,s=i.__SENTRY__=i.__SENTRY__||{},a=s[e]=s[e]||{};return a[t]||(a[t]=r())}t.s(["DEBUG_BUILD",()=>a],901020);let a="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},272598,t=>{"use strict";t.s(["CONSOLE_LEVELS",()=>i,"consoleSandbox",()=>a,"debug",()=>l,"originalConsoleMethods",()=>s]);var e=t.i(923288),n=t.i(901020),r=t.i(225304);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){for(var e=arguments.length,i=Array(e>1?e-1:0),s=1;s<e;s++)i[s-1]=arguments[s];n.DEBUG_BUILD&&o()&&a(()=>{r.GLOBAL_OBJ.console[t]("".concat("Sentry Logger ","[").concat(t,"]:"),...i)})}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(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];c("log",...e)},warn:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];c("warn",...e)},error:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];c("error",...e)}}},303798,453288,t=>{"use strict";t.s(["getComponentName",()=>E,"getLocationHref",()=>b,"htmlTreeAsString",()=>y],303798),t.s(["isDOMError",()=>s,"isDOMException",()=>a,"isElement",()=>p,"isError",()=>n,"isErrorEvent",()=>i,"isEvent",()=>d,"isInstanceOf",()=>g,"isParameterizedString",()=>c,"isPlainObject",()=>l,"isPrimitive",()=>u,"isRegExp",()=>f,"isRequest",()=>S,"isString",()=>o,"isSyntheticEvent",()=>h,"isThenable",()=>_,"isVueViewModel",()=>m],453288);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 g(t,Error)}}function r(t,n){return e.call(t)==="[object ".concat(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 d(t){return"undefined"!=typeof Event&&g(t,Event)}function p(t){return"undefined"!=typeof Element&&g(t,Element)}function f(t){return r(t,"RegExp")}function _(t){return!!((null==t?void 0:t.then)&&"function"==typeof t.then)}function h(t){return l(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function g(t,e){try{return t instanceof e}catch(t){return!1}}function m(t){return!!("object"==typeof t&&null!==t&&(t.__isVue||t._isVue||t.__v_isVNode))}function S(t){return"undefined"!=typeof Request&&g(t,Request)}let v=t.i(225304).GLOBAL_OBJ;function y(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};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(!(null==t?void 0:t.tagName))return"";if(v.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=(null==e?void 0:e.length)?e.filter(e=>t.getAttribute(e)).map(e=>[e,t.getAttribute(e)]):null;if(null==r?void 0:r.length)r.forEach(t=>{n.push("[".concat(t[0],'="').concat(t[1],'"]'))});else{t.id&&n.push("#".concat(t.id));let e=t.className;if(e&&o(e))for(let t of e.split(/\s+/))n.push(".".concat(t))}for(let e of["aria-label","type","name","title","alt"]){let r=t.getAttribute(e);r&&n.push("[".concat(e,'="').concat(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(t){return"<unknown>"}}function b(){try{return v.document.location.href}catch(t){return""}}function E(t){if(!v.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}},662537,951497,111139,936032,821593,682564,605394,341041,318746,373382,821061,301263,250804,519988,602309,10008,454300,812024,170637,759075,776710,339435,132584,304661,373250,473753,989380,286564,45968,67486,869766,804478,14177,541193,580611,571993,213186,t=>{"use strict";let e,n,r,i,s,a,o,c;t.s(["addEventProcessor",()=>n_,"captureEvent",()=>nd,"captureException",()=>nl,"captureSession",()=>nS,"isEnabled",()=>nf,"setContext",()=>np,"startSession",()=>nh],662537),t.s(["getClient",()=>tE,"getCurrentScope",()=>tm,"getGlobalScope",()=>tv,"getIsolationScope",()=>tS,"getTraceContextFromScope",()=>tT,"hasExternalPropagationContext",()=>tg,"withIsolationScope",()=>tb,"withScope",()=>ty],250804),t.s(["getAsyncContextStrategy",()=>th],301263);
3var u=t.i(923288),l=t.i(901020);t.s(["closeSession",()=>tt,"makeSession",()=>Q,"updateSession",()=>Z],341041),t.s(["addExceptionMechanism",()=>z,"addExceptionTypeValue",()=>Y,"checkOrSetAlreadyCaught",()=>K,"getEventDescription",()=>V,"uuid4",()=>J],682564),t.s(["addNonEnumerableProperty",()=>h,"convertToPlainObject",()=>S,"extractExceptionKeysForMessage",()=>b,"fill",()=>_,"getOriginalFunction",()=>m,"markFunctionWrapped",()=>g],951497);var d=t.i(303798),p=t.i(272598),f=t.i(453288);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&&g(i,r);try{t[e]=i}catch(n){l.DEBUG_BUILD&&p.debug.log('Failed to replace method "'.concat(e,'" in object'),t)}}function h(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch(n){l.DEBUG_BUILD&&p.debug.log('Failed to add non-enumerable property "'.concat(e,'" to object'),t)}}function g(t,e){try{let n=e.prototype||{};t.prototype=e.prototype=n,h(t,"__sentry_original__",e)}catch(t){}}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,...y(t)};if(!(0,f.isEvent)(t))return t;{let e={type:t.type,target:v(t.target),currentTarget:v(t.currentTarget),...y(t)};return"undefined"!=typeof CustomEvent&&(0,f.isInstanceOf)(t,CustomEvent)&&(e.detail=t.detail),e}}function v(t){try{return(0,f.isElement)(t)?(0,d.htmlTreeAsString)(t):Object.prototype.toString.call(t)}catch(t){return"<unknown>"}}function y(t){return"object"==typeof t&&null!==t?Object.fromEntries(Object.entries(t)):{}}function b(t){let e=Object.keys(S(t));return e.sort(),e[0]?e.join(", "):"[object has no keys]"}t.s(["safeDateNow",()=>x,"safeMathRandom",()=>I,"withRandomSafeContext",()=>T],111139);var E=t.i(225304);function T(t){if(void 0!==e)return e?e(t):t();let n=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),r=E.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(["isMatchingPattern",()=>G,"safeJoin",()=>j,"snipLine",()=>M,"stringMatchesSomePattern",()=>F,"truncate",()=>P],821593),t.s(["UNKNOWN_FUNCTION",()=>A,"createStackParser",()=>D,"getFramesFromEvent",()=>R,"getFunctionName",()=>L,"getVueInternalName",()=>B,"normalizeStackTracePath",()=>U,"stackParserFromStackParserOptions",()=>k],936032);let A="?",O=/\(error: (.*)\)/,C=/captureMessage|captureException/;function D(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];let r=e.sort((t,e)=>t[0]-e[0]).map(t=>t[1]);return function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=[],s=t.split("\n");for(let t=e;t<s.length;t++){let e=s[t];e.length>1024&&(e=e.slice(0,1024));let a=O.test(e)?e.replace(O,"$1"):e;if(!a.includes("Error: ")){for(let t of r){let e=t(a);if(e){i.push(e);break}}if(i.length>=50+n)break}}var a=i.slice(n);if(!a.length)return[];let o=Array.from(a);return/sentryWrapped/.test(N(o).function||"")&&o.pop(),o.reverse(),C.test(N(o).function||"")&&(o.pop(),C.test(N(o).function||"")&&o.pop()),o.slice(0,50).map(t=>({...t,filename:t.filename||N(o).filename,function:t.function||A}))}}function k(t){return Array.isArray(t)?D(...t):t}function N(t){return t[t.length-1]||{}}let w="<anonymous>";function L(t){try{if(!t||"function"!=typeof t)return w;return t.name||w}catch(t){return w}}function R(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(t){}}}function B(t){return"__v_isVNode"in t&&t.__v_isVNode?"[VueVNode]":"[VueViewModel]"}function U(t){let e=(null==t?void 0:t.startsWith("file://"))?t.slice(7):t;return(null==e?void 0:e.match(/\/[A-Z]:/))&&(e=e.slice(1)),e}function P(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"string"!=typeof t||0===e||t.length<=e?t:"".concat(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} ".concat(n)),s<r&&(n+=" {snip}"),n}function j(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(t){n.push("[value cannot be serialized]")}}return n.join(e)}function G(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!(0,f.isString)(t)&&((0,f.isRegExp)(e)?e.test(t):(0,f.isString)(e)?n?t===e:t.includes(e):"function"==typeof e&&e(t))}function F(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.some(e=>G(t,e,n))}function J(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){let t=E.GLOBAL_OBJ;return t.crypto||t.msCrypto}();try{if(null==t?void 0:t.randomUUID)return T(()=>t.randomUUID()).replace(/-/g,"")}catch(t){}return n||(n="10000000100040008000100000000000"),n.replace(/[018]/g,t=>(t^(15&16*I())>>t/4).toString(16))}function H(t){var e,n;return null==(n=t.exception)||null==(e=n.values)?void 0:e[0]}function V(t){let{message:e,event_id:n}=t;if(e)return e;let r=H(t);return r?r.type&&r.value?"".concat(r.type,": ").concat(r.value):r.type||r.value||n||"<unknown>":n||"<unknown>"}function Y(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 z(t,e){let n=H(t);if(!n)return;let r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...e},e&&"data"in e){let t={...null==r?void 0:r.data,...e.data};n.mechanism.data=t}}function K(t){if(function(t){try{return t.__sentry_captured__}catch(t){}}(t))return!0;try{h(t,"__sentry_captured__",!0)}catch(t){}return!1}function W(){return x()/1e3}function q(){return(null!=r?r:r=function(){let{performance:t}=E.GLOBAL_OBJ;if(!(null==t?void 0:t.now)||!t.timeOrigin)return W;let e=t.timeOrigin;return()=>(e+T(()=>t.now()))/1e3}())()}
3t.s(["browserPerformanceTimeOrigin",()=>X,"dateTimestampInSeconds",()=>W,"timestampInSeconds",()=>q],605394);let $=null;function X(){return null===$&&($=function(){var t;let{performance:e}=E.GLOBAL_OBJ;if(!(null==e?void 0:e.now))return;let n=T(()=>e.now()),r=x(),i=e.timeOrigin;if("number"==typeof i&&3e5>Math.abs(i+n-r))return i;let s=null==(t=e.timing)?void 0:t.navigationStart;return"number"==typeof s&&3e5>Math.abs(s+n-r)?s:r-n}()),$}function Q(t){let e=q(),n={sid:J(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>{var t;return t=n,{sid:"".concat(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?"".concat(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&&Z(n,t),n}function Z(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};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:J()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did="".concat(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 tt(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),Z(t,n)}function te(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]: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]=te(r[t],e[t],n-1));return r}function tn(){return J()}function tr(){return J().substring(16)}t.s(["merge",()=>te],318746),t.s(["generateSpanId",()=>tr,"generateTraceId",()=>tn],373382),t.s(["_getSpanForScope",()=>ta,"_setSpanForScope",()=>ts],821061);let ti="_sentrySpan";function ts(t,e){e?h(t,ti,e):delete t[ti]}function ta(t){return t[ti]}class to{clone(){let t=new to;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,ts(t,this[ti]),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&&Z(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 to?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,ts(this,void 0),this._attachments=[],this.setPropagationContext({traceId:tn(),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?P(t.message,2048):t.message};if(this._breadcrumbs.push(r),this._breadcrumbs.length>n){var i;this._breadcrumbs=this._breadcrumbs.slice(-n),null==(i=this._client)||i.recordDroppedEvent("buffer_overflow","log_item")}return 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[ti],conversationId:this._conversationId}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=te(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,e){let n=(null==e?void 0:e.event_id)||J();if(!this._client)return l.DEBUG_BUILD&&p.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){var r;let i=(null==n?void 0:n.event_id)||J();if(!this._client)return l.DEBUG_BUILD&&p.debug.warn("No client configured on scope - will not capture message!"),i;let s=null!=(r=null==n?void 0:n.syntheticException)?r:Error(t);return this._client.captureMessage(t,e,{originalException:t,syntheticException:s,...n,event_id:i},this),i}
3captureEvent(t,e){let n=t.event_id||(null==e?void 0:e.event_id)||J();return this._client?this._client.captureEvent(t,{...e,event_id:n},this):l.DEBUG_BUILD&&p.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)}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:tn(),sampleRand:I()}}}let tc=t=>t instanceof Promise&&!t[tu],tu=Symbol("chained PromiseLike");class tl{withScope(t){let e,n=this._pushScope();try{e=t(n)}catch(t){throw this._popScope(),t}return(0,f.isThenable)(e)?((t,e,n)=>{let r=t.then(t=>(e(t),t),t=>{throw n(t),t});return tc(r)&&tc(t)?r:((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:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return i.apply(t,n)},enumerable:!0,configurable:!0,writable:!0}):e[r]=i}return n&&Object.assign(e,{[tu]:!0}),e})(t,r)})(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()}constructor(t,e){let n,r;n=t||new to,r=e||new to,this._stack=[{scope:n}],this._isolationScope=r}}function td(){let t=(0,u.getMainCarrier)(),e=(0,u.getSentryCarrier)(t);return e.stack=e.stack||new tl((0,u.getGlobalSingleton)("defaultCurrentScope",()=>new to),(0,u.getGlobalSingleton)("defaultIsolationScope",()=>new to))}function tp(t){return td().withScope(t)}function tf(t,e){let n=td();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function t_(t){return td().withScope(()=>t(td().getIsolationScope()))}function th(t){let e=(0,u.getSentryCarrier)(t);return e.acs?e.acs:{withIsolationScope:t_,withScope:tp,withSetScope:tf,withSetIsolationScope:(t,e)=>t_(e),getCurrentScope:()=>td().getScope(),getIsolationScope:()=>td().getIsolationScope()}}function tg(){return void 0!==i}function tm(){return th((0,u.getMainCarrier)()).getCurrentScope()}function tS(){return th((0,u.getMainCarrier)()).getIsolationScope()}function tv(){return(0,u.getGlobalSingleton)("globalScope",()=>new to)}function ty(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];let r=th((0,u.getMainCarrier)());if(2===e.length){let[t,n]=e;return t?r.withSetScope(t,n):r.withScope(n)}return r.withScope(e[0])}function tb(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];let r=th((0,u.getMainCarrier)());if(2===e.length){let[t,n]=e;return t?r.withSetIsolationScope(t,n):r.withIsolationScope(n)}return r.withIsolationScope(e[0])}function tE(){return tm().getClient()}function tT(t){let e=null==i?void 0: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||tr()};return r&&(a.parent_span_id=r),a}t.s(["startInactiveSpan",()=>e4,"startNewTrace",()=>e5,"withActiveSpan",()=>e8],541193),t.s(["GEN_AI_CONVERSATION_ID_ATTRIBUTE",()=>tM,"SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME",()=>tR,"SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD",()=>tB,"SEMANTIC_ATTRIBUTE_PROFILE_ID",()=>tL,"SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME",()=>tw,"SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON",()=>tD,"SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT",()=>tk,"SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE",()=>tN,"SEMANTIC_ATTRIBUTE_SENTRY_OP",()=>tO,"SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN",()=>tC,"SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE",()=>tA,"SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE",()=>tx,"SEMANTIC_ATTRIBUTE_SENTRY_SOURCE",()=>tI,"SEMANTIC_ATTRIBUTE_URL_FULL",()=>tU,"SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE",()=>tP],519988);let tI="sentry.source",tx="sentry.sample_rate",tA="sentry.previous_trace_sample_rate",tO="sentry.op",tC="sentry.origin",tD="sentry.idle_span_finish_reason",tk="sentry.measurement_unit",tN="sentry.measurement_value",tw="sentry.custom_span_name",tL="sentry.profile_id",tR="sentry.exclusive_time",tB="http.request.method",tU="url.full",tP="sentry.link.type",tM="gen_ai.conversation.id";t.s(["SENTRY_BAGGAGE_KEY_PREFIX",()=>tj,"baggageHeaderToDynamicSamplingContext",()=>tG,"dynamicSamplingContextToSentryBaggageHeader",()=>tF,"parseBaggageHeader",()=>tJ],602309);let tj="sentry-";function tG(t){let e=tJ(t);if(!e)return;let n=Object.entries(e).reduce((t,e)=>
3{let[n,r]=e;return n.startsWith(tj)&&(t[n.slice(tj.length)]=r),t},{});return Object.keys(n).length>0?n:void 0}function tF(t){if(t){var e=Object.entries(t).reduce((t,e)=>{let[n,r]=e;return r&&(t["".concat(tj).concat(n)]=r),t},{});return 0!==Object.keys(e).length?Object.entries(e).reduce((t,e,n)=>{let[r,i]=e,s="".concat(encodeURIComponent(r),"=").concat(encodeURIComponent(i)),a=0===n?s:"".concat(t,",").concat(s);return a.length>8192?(l.DEBUG_BUILD&&p.debug.warn("Not adding key: ".concat(r," with val: ").concat(i," to baggage header due to exceeding baggage size limits.")),t):a},""):void 0}}function tJ(t){if(t&&((0,f.isString)(t)||Array.isArray(t)))return Array.isArray(t)?t.reduce((t,e)=>(Object.entries(tH(e)).forEach(e=>{let[n,r]=e;t[n]=r}),t),{}):tH(t)}function tH(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(t){return}})}).reduce((t,e)=>{let[n,r]=e;return n&&r&&(t[n]=r),t},{})}function tV(t){var e;if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let n=t||(null==(e=tE())?void 0:e.getOptions());return!!n&&(null!=n.tracesSampleRate||!!n.tracesSampler)}function tY(t){p.debug.log("Ignoring span ".concat(t.op," - ").concat(t.description," because it matches `ignoreSpans`."))}function tz(t,e){if(!(null==e?void 0:e.length)||!t.description)return!1;for(let r of e){var n;if("string"==typeof(n=r)||n instanceof RegExp){if(G(t.description,r))return l.DEBUG_BUILD&&tY(t),!0;continue}if(!r.name&&!r.op)continue;let e=!r.name||G(t.description,r.name),i=!r.op||t.op&&G(t.op,r.op);if(e&&i)return l.DEBUG_BUILD&&tY(t),!0}return!1}function tK(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 tW(t){return"stream"===t.getOptions().traceLifecycle}function tq(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 t$(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={};for(let[r,i]of Object.entries(null!=t?t:{})){let t=function(t,e){var n;let{value:r,unit:i}="object"==typeof t&&null!=t&&!Array.isArray(t)&&Object.keys(t).includes("value")?t:{value:t,unit:void 0},s=function(t){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}}(r),a=i&&"string"==typeof i?{unit:i}:{};if(s)return{...s,...a};if(!e||"skip-undefined"===e&&void 0===r)return;let o="";try{o=null!=(n=JSON.stringify(r))?n:""}catch(t){}return{value:o,type:"string",...a}}(i,e);t&&(n[r]=t)}return n}t.s(["hasSpansEnabled",()=>tV],10008),t.s(["reparentChildSpans",()=>tK,"shouldIgnoreSpan",()=>tz],454300),t.s(["hasSpanStreamingEnabled",()=>tW],812024),t.s(["parseSampleRate",()=>tq],170637),t.s(["TRACE_FLAG_NONE",()=>ea,"TRACE_FLAG_SAMPLED",()=>eo,"addChildSpanToSpan",()=>eT,"convertSpanLinksForEnvelope",()=>ef,"getActiveSpan",()=>eO,"getRootSpan",()=>eA,"getSimpleStatusMessage",()=>ey,"getSpanDescendants",()=>ex,"getStatusMessage",()=>ev,"getStreamedSpanLinks",()=>e_,"removeChildSpanFromSpan",()=>eI,"showSpanDropWarning",()=>eC,"spanIsSampled",()=>eS,"spanTimeInputToSeconds",()=>eh,"spanToJSON",()=>em,"spanToTraceContext",()=>el,"spanToTraceHeader",()=>ed,"spanToTraceparentHeader",()=>ep,"spanToTransactionTraceContext",()=>eu],304661),t.s(["serializeAttributes",()=>t$],759075),t.s(["SPAN_STATUS_ERROR",()=>tZ,"SPAN_STATUS_OK",()=>tQ,"SPAN_STATUS_UNSET",()=>tX,"setHttpStatus",()=>t0],776710);let tX=0,tQ=1,tZ=2;function t0(t,e){t.setAttribute("http.response.status_code",e);let n=function(t){if(t<400&&t>=100)return{code:tQ};if(t>=400&&t<500)switch(t){case 401:return{code:tZ,message:"unauthenticated"};case 403:return{code:tZ,message:"permission_denied"};case 404:return{code:tZ,message:"not_found"};case 409:return{code:tZ,message:"already_exists"};case 413:return{code:tZ,message:"failed_precondition"};case 429:return{code:tZ,message:"resource_exhausted"};case 499:return{code:tZ,message:"cancelled"};default:return{code:tZ,message:"invalid_argument"}}if(t>=500&&t<600)switch(t){case 501:return{code:tZ,message:"unimplemented"};case 503:return{code:tZ,message:"unavailable"};case 504:return{code:tZ,message:"deadline_exceeded"}}return{code:tZ,message:"internal_error"}}(e);"unknown_error"!==n.message&&t.setStatus(n)}let t1="_sentryScope",t2="_sentryIsolationScope";function t3(t){return{scope:t[t1],isolationScope:function(t){if(t){if("object"==typeof t&&"deref"in t&&"function"==typeof t.deref)try{return t.deref()}catch(t){return}return t}}(t[t2])}}t.s(["TRACEPARENT_REGEXP",()=>ee,"generateSentryTraceHeader",()=>er,"generateTraceparentHeader",()=>ei,"propagationContextFromHeaders",()=>en,"shouldContinueTrace",()=>es],132584),t.s(["dsnFromString",()=>t9,"dsnToString",()=>t5,"extractOrgIdFromClient",()=>t7,"makeDsn",()=>et],339435);let t4=/^o(\d+)\./,t8=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function t5(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{host:n,path:r,pass:i,port:s,projectId:a,protocol:o,publicKey:c}=t;return"".concat(o,"://").concat(c).concat(e&&i?":".concat(i):"")+"@".concat(n).concat(s?":".concat(s):"","/").concat(r?"".concat(r,"/"):r).concat(a)}function t9(t){let e=t8.exec(t);if(!e)return void(0,p.consoleSandbox)(()=>{console.error("Invalid Sentry Dsn: ".concat(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 t6({host:s,pass:i,path:c,projectId:u,port:a,protocol:n,publicKey:r})}function t6(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function t7(t){let e,n=t.getOptions(),{host:r}=t.getDsn()||{};return n.orgId?e=String(n.orgId):r&&(e=function(t){let e=t.match(t4);return null==e?void 0:e[1]}(r)),e}function et(t){let e="string"==typeof t?t9(t):t6(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]&&(p.debug.error("Invalid Sentry Dsn: ".concat(e," missing")),!0))&&(n.match(/^\d+$/)?"http"!==r&&"https"!==r?(p.debug.error("Invalid Sentry Dsn: Invalid protocol ".concat(r)),!1):!(e&&isNaN(parseInt(e,10)))||(p.debug.error("Invalid Sentry Dsn: Invalid port ".concat(e)),!1):(p.debug.error("Invalid Sentry Dsn: Invalid projectId ".concat(n)),!1))}(e))return e}let ee=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function en(t,e){let n=function(t){let e;if(!t)return;let n=t.match(ee);if(n)return"1"===n[3]?e=!0:"0"===n[3]&&(e=!1),{traceId:n[1],parentSampled:e,parentSpanId:n[2]}}(t),r=tG(e);if(!(null==n?void 0:n.traceId))return{traceId:tn(),sampleRand:I()};let i=function(t,e){let n=tq(null==e?void 0:e.sample_rand);if(void 0!==n)return n;let r=tq(null==e?void 0:e.sample_rate);return r&&(null==t?void 0: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 er(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tn(),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tr(),n=arguments.length>2?arguments[2]:void 0,r="";return void 0!==n&&(r=n?"-1":"-0"),"".concat(t,"-").concat(e).concat(r)}function ei(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tn(),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tr(),n=arguments.length>2?arguments[2]:void 0;return"00-".concat(t,"-").concat(e,"-").concat(n?"01":"00")}function es(t,e){let n=t7(t);return e&&n&&e!==n?(p.debug.log("Won't continue trace because org IDs don't match (incoming baggage: ".concat(e,", SDK options: ").concat(n,")")),!1):!t.getOptions().strictTraceContinuation||(!e||!!n)&&(!!e||!n)||(p.debug.log("Starting a new trace because strict trace continuation is enabled but one org ID is missing (incoming baggage: ".concat(e,", Sentry client: ").concat(n,")")),!1)}let ea=0,eo=1,ec=!1;function eu(t){let{spanId:e,traceId:n}=t.spanContext(),{data:r,op:i,parent_span_id:s,status:a,origin:o,links:c}=em(t);return{parent_span_id:s,span_id:e,trace_id:n,data:r,op:i,status:a,origin:o,links:c}}function el(t){let{spanId:e,traceId:n,isRemote:r}=t.spanContext(),i=r?e:em(t).parent_span_id,s=t3(t).scope;return{parent_span_id:i,span_id:r?(null==s?void 0:s.getPropagationContext().propagationSpanId)||tr():e,trace_id:n}}function ed(t){let{traceId:e,spanId:n}=t.spanContext();return er(e,n,eS(t))}function ep(t){let{traceId:e,spanId:n}=t.spanContext();return ei(e,n,eS(t))}function ef(t){return t&&t.length>0?t.map(t=>{let{context:{spanId:e,traceId:n,traceFlags:r,...i},attributes:s}=t;return{span_id:e,trace_id:n,sampled:r===eo,attributes:s,...i}}):void 0}function e_(t){return(null==t?void 0:t.length)?t.map(t=>{let{context:{spanId:e,traceId:n,traceFlags:r},attributes:i}=t;return{span_id:e,trace_id:n,sampled:r===eo,attributes:i}}):void 0}function eh(t){return"number"==typeof t?eg(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?eg(t.getTime()):q()}function eg(t){return t>0x2540be3ff?t/1e3:t}function em(t){var e,n,r;if("function"==typeof t.getSpanJSON)return t.getSpanJSON();let{spanId:i,traceId:s}=t.spanContext();if((e=t).attributes&&e.startTime&&e.name&&e.endTime&&e.status){let{attributes:e,startTime:a,name:o,endTime:c,status:u,links:l}=t;return{span_id:i,trace_id:s,data:e,description:o,parent_span_id:"parentSpanId"in(n=t)?n.parentSpanId:"parentSpanContext"in n?null==(r=n.parentSpanContext)?void 0:r.spanId:void 0,start_timestamp:eh(a),timestamp:eh(c)||void 0,status:ev(u),op:e[tO],origin:e[tC],links:ef(l)}}return{span_id:i,trace_id:s,start_timestamp:0,data:{}}}function eS(t){let{traceFlags:e}=t.spanContext();return e===eo}function ev(t){if(t&&t.code!==tX)return t.code===tQ?"ok":t.message||"internal_error"}function ey(t){return t&&t.code!==tQ&&t.code!==tX&&"cancelled"!==t.message?"error":"ok"}let eb="_sentryChildSpans",eE="_sentryRootSpan";function eT(t,e){let n=t[eE]||t;h(e,eE,n),t[eb]?t[eb].add(e):h(t,eb,new Set([e]))}function eI(t,e){t[eb]&&t[eb].delete(e)}function ex(t){let e=new Set;return!function t(n){if(!e.has(n)&&eS(n))for(let r of(e.add(n),n[eb]?Array.from(n[eb]):[]))t(r)}(t),Array.from(e)}let eA=function(t){return t[eE]||t};function eO(){let t=th((0,u.getMainCarrier)());return t.getActiveSpan?t.getActiveSpan():tm()[ti]}function eC(){ec||((0,p.consoleSandbox)(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),ec=!0)}t.s(["freezeDscOnSpan",()=>eN,"getDynamicSamplingContextFromScope",()=>eL,"getDynamicSamplingContextFromSpan",()=>eR],473753),t.s(["DEFAULT_ENVIRONMENT",()=>eD],373250);let eD="production",ek="_frozenDsc";function eN(t,e){h(t,ek,e)}function ew(t,e){let n=e.getOptions(),{publicKey:r}=e.getDsn()||{},i={environment:n.environment||eD,release:n.release,public_key:r,trace_id:t,org_id:t7(e)};return e.emit("createDsc",i),i}function eL(t,e){let n=e.getPropagationContext();return n.dsc||ew(n.traceId,t)}function eR(t){var e,n,r,i,s;let a=tE();if(!a)return{};let o=eA(t),c=em(o),u=c.data,l=o.spanContext().traceState,d=null!=(n=null!=(e=null==l?void 0:l.get("sentry.sample_rate"))?e:u[tx])?n:u[tA];function p(t){return("number"==typeof d||"string"==typeof d)&&(t.sample_rate="".concat(d)),t}let f=o[ek];if(f)return p(f);let _=null==l?void 0:l.get("sentry.dsc"),h=_&&tG(_);if(h)return p(h);
3let g=ew(t.spanContext().traceId,a),m=null!=(r=u[tI])?r:u["sentry.span.source"],S=c.description;return"url"!==m&&S&&(g.transaction=S),tV()&&(g.sampled=String(eS(o)),g.sample_rand=null!=(s=null==l?void 0:l.get("sentry.sample_rand"))?s:null==(i=t3(o).scope)?void 0:i.getPropagationContext().sampleRand.toString()),p(g),a.emit("createDsc",g,o),g}t.s(["SentryNonRecordingSpan",()=>eB],989380);class eB{spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:ea}}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){}constructor(t={}){this._traceId=t.traceId||tn(),this._spanId=t.spanId||tr(),this.dropReason=t.dropReason}}function eU(t){return!!t&&"function"==typeof t&&"_streamed"in t&&!!t._streamed}function eP(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Infinity;try{return function e(n,r){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Infinity,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Infinity,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){let t=new WeakSet;return[function(e){return!!t.has(e)||(t.add(e),!1)},function(e){t.delete(e)}]}(),[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{if("domain"===e&&n&&"object"==typeof n&&n._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if(n===t.g)return"[Global]";if("undefined"!=typeof window&&n===window)return"[Window]";if("undefined"!=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"[".concat(n,"]");if("function"==typeof n)return"[Function: ".concat(L(n),"]");if("symbol"==typeof n)return"[".concat(String(n),"]");if("bigint"==typeof n)return"[BigInt: ".concat(String(n),"]");let r=function(t){let e=Object.getPrototypeOf(t);return(null==e?void 0:e.constructor)?e.constructor.name:"null prototype"}(n);if(/^HTML(\w*)Element$/.test(r))return"[HTMLElement: ".concat(r,"]");return"[object ".concat(r,"]")}catch(t){return"**non-serializable** (".concat(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(t){}let d=Array.isArray(r)?[]:{},p=0,_=S(r);for(let t in _){if(!Object.prototype.hasOwnProperty.call(_,t))continue;if(p>=s){d[t]="[MaxProperties ~]";break}let n=_[t];d[t]=e(t,n,l-1,s,a),p++}return c(r),d}("",e,n,r)}catch(t){return{ERROR:"**non-serializable** (".concat(t,")")}}}function eM(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return[t,e]}function ej(t,e){let[n,r]=t;return[n,[...r,e]]}function eG(t,e){for(let n of t[1]){let t=n[0].type;if(e(n,t))return!0}return!1}function eF(t,e){return eG(t,(t,n)=>e.includes(n))}function eJ(t){let e=(0,u.getSentryCarrier)(E.GLOBAL_OBJ);return e.encodePolyfill?e.encodePolyfill(t):new TextEncoder().encode(t)}function eH(t){let[e,n]=t,r=JSON.stringify(e);function i(t){"string"==typeof r?r="string"==typeof t?r+t:[eJ(r),t]:r.push("string"==typeof t?eJ(t):t)}for(let t of n){let[e,n]=t;if(i("\n".concat(JSON.stringify(e),"\n")),"string"==typeof n||n instanceof Uint8Array)i(n);else{let t;try{t=JSON.stringify(n)}catch(e){t=JSON.stringify(eP(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 eV(t){return[{type:"span"},t]}function eY(t){let e="string"==typeof t.data?eJ(t.data):t.data;return[{type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType},e]}t.s(["SentrySpan",()=>e1],14177),t.s(["createEventEnvelope",()=>eX,"createSessionEnvelope",()=>e$,"createSpanEnvelope",()=>eQ],869766),t.s(["isStreamedBeforeSendSpanCallback",()=>eU],286564),t.s(["addItemToEnvelope",()=>ej,"createAttachmentEnvelopeItem",()=>eY,"createEnvelope",()=>eM,"createEventEnvelopeHeaders",()=>eq,"createSpanEnvelopeItem",()=>eV,"envelopeContainsItemType",()=>eF,"envelopeItemTypeToDataCategory",()=>eK,"forEachEnvelopeItem",()=>eG,"getSdkMetadataForEnvelopeHeader",()=>eW,"serializeEnvelope",()=>eH],67486),t.s(["normalize",()=>eP,"normalizeToSize",()=>function t(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:102400,i=eP(e,n);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>r?t(e,n-1,r):i}],45968);let ez={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 eK(t){return t in ez?ez[t]:t}function eW(t){if(!(null==t?void 0:t.sdk))return;let{name:e,version:n}=t.sdk;return{name:e,version:n}}function eq(t,e,n,r){var i;
3let s=null==(i=t.sdkProcessingMetadata)?void 0:i.dynamicSamplingContext;return{event_id:t.event_id,sent_at:new Date().toISOString(),...e&&{sdk:e},...!!n&&r&&{dsn:t5(r)},...s&&{trace:s}}}function e$(t,e,n,r){let i=eW(n);return eM({sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&e&&{dsn:t5(e)}},["aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()]])}function eX(t,e,n,r){let i=eW(n),s=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){var n,r,i,s;if(!e)return;let a=t.sdk||{};t.sdk={...a,name:a.name||e.name,version:a.version||e.version,integrations:[...(null==(n=t.sdk)?void 0:n.integrations)||[],...e.integrations||[]],packages:[...(null==(r=t.sdk)?void 0:r.packages)||[],...e.packages||[]],settings:(null==(i=t.sdk)?void 0:i.settings)||e.settings?{...null==(s=t.sdk)?void 0:s.settings,...e.settings}:void 0}}(t,null==n?void 0:n.sdk);let a=eq(t,i,r,e);return delete t.sdkProcessingMetadata,eM(a,[[{type:s},t]])}function eQ(t,e){let n=eR(t[0]),r=null==e?void 0:e.getDsn(),i=null==e?void 0:e.getOptions().tunnel,s={sent_at:new Date().toISOString(),...!!n.trace_id&&!!n.public_key&&{trace:n},...!!i&&r&&{dsn:t5(r)}},{beforeSendSpan:a,ignoreSpans:o}=(null==e?void 0:e.getOptions())||{},c=(null==o?void 0:o.length)?t.filter(t=>!tz(em(t),o)):t,u=t.length-c.length;u&&(null==e||e.recordDroppedEvent("before_send","span",u));let l=a?t=>{let e=em(t),n=eU(a)?e:a(e);return n||(eC(),e)}:em,d=[];for(let t of c){let e=l(t);e&&d.push(eV(e))}return eM(s,d)}function eZ(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:eO(),i=r&&eA(r);i&&(l.DEBUG_BUILD&&p.debug.log("[Measurement] Setting measurement on root span: ".concat(t," = ").concat(e," ").concat(n)),i.addEvent(t,{[tN]:e,[tk]:n}))}function e0(t){if(!t||0===t.length)return;let e={};return t.forEach(t=>{let n=t.attributes||{},r=n[tk],i=n[tN];"string"==typeof r&&"number"==typeof i&&(e[t.name]={value:i,unit:r})}),e}t.s(["setMeasurement",()=>eZ,"timedEventsToMeasurements",()=>e0],804478);class e1{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?eo:ea}}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=eh(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this.setAttribute(tI,"custom"),this}end(t){this._endTime||(this._endTime=eh(t),function(t){if(!l.DEBUG_BUILD)return;let{description:e="< unknown name >",op:n="< unknown op >"}=em(t),{spanId:r}=t.spanContext(),i=eA(t)===t,s='[Tracing] Finishing "'.concat(n,'" ').concat(i?"root ":"",'span "').concat(e,'" with ID ').concat(r);p.debug.log(s)}(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[tO],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:ev(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[tC],profile_id:this._attributes[tL],exclusive_time:this._attributes[tR],measurements:e0(this._events),is_segment:this._isStandaloneSpan&&eA(this)===this||void 0,segment_id:this._isStandaloneSpan?eA(this).spanContext().spanId:void 0,links:ef(this._links)}}getStreamedSpanJSON(){var t,e;return{name:null!=(t=this._name)?t:"",span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:null!=(e=this._endTime)?e:this._startTime,is_segment:this._isStandaloneSpan||this===eA(this),status:ey(this._status),attributes:this._attributes,links:e_(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,e,n){l.DEBUG_BUILD&&p.debug.log("[Tracing] Adding an event to span:",t);let r=e2(e)?e:n||q(),i=e2(e)?{}:e||{},s={name:t,time:eh(r),attributes:i};return this._events.push(s),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let t=tE();if(t&&(t.emit("spanEnd",this),this._isStandaloneSpan||t.emit("afterSpanEnd",this)),!(this._isStandaloneSpan||this===eA(this)))return;if(this._isStandaloneSpan)return void(this._sampled?function(t){let e=tE();if(!e)return;let n=t[1];
3if(!n||0===n.length)return e.recordDroppedEvent("before_send","span");e.sendEnvelope(t)}(eQ([this],t)):(l.DEBUG_BUILD&&p.debug.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span")));if(t&&tW(t))return void t.emit("afterSegmentSpanEnd",this);let e=this._convertSpanToTransaction();e&&(t3(this).scope||tm()).captureEvent(e)}_convertSpanToTransaction(){var t;if(!e3(em(this)))return;this._name||(l.DEBUG_BUILD&&p.debug.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:e,isolationScope:n}=t3(this),r=null==e||null==(t=e.getScopeData().sdkProcessingMetadata)?void 0:t.normalizedRequest;if(!0!==this._sampled)return;let i=ex(this).filter(t=>{var e;return t!==this&&!((e=t)instanceof e1&&e.isStandaloneSpan())}).map(t=>em(t)).filter(e3),s=this._attributes[tI];delete this._attributes[tw],i.forEach(t=>{delete t.data[tw]});let a={contexts:{trace:eu(this)},spans:i.length>1e3?i.sort((t,e)=>t.start_timestamp-e.start_timestamp).slice(0,1e3):i,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:n,dynamicSamplingContext:eR(this)},request:r,...s&&{transaction_info:{source:s}}},o=e0(this._events);return o&&Object.keys(o).length&&(l.DEBUG_BUILD&&p.debug.log("[Measurements] Adding measurements to transaction event",JSON.stringify(o,void 0,2)),a.measurements=o),a}constructor(t={}){this._traceId=t.traceId||tn(),this._spanId=t.spanId||tr(),this._startTime=t.startTimestamp||q(),this._links=t.links,this._attributes={},this.setAttributes({[tC]:"manual",[tO]: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()}}function e2(t){return t&&"number"==typeof t||t instanceof Date||Array.isArray(t)}function e3(t){return!!t.start_timestamp&&!!t.timestamp&&!!t.span_id&&!!t.trace_id}function e4(t){let e=e9();if(e.startInactiveSpan)return e.startInactiveSpan(t);let n=function(t){let e={isStandalone:(t.experimental||{}).standalone,...t};if(t.startTime){let n={...e};return n.startTimestamp=eh(t.startTime),delete n.startTime,n}return e}(t),{forceTransaction:r,parentSpan:i}=t;return(t.scope?e=>ty(t.scope,e):void 0!==i?t=>e8(i,t):t=>t())(()=>{let e=tm(),s=function(t,e){if(e)return e;if(null===e)return;let n=t[ti];if(!n)return;let r=tE();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?eA(n):n}(e,i);return t.onlyIfParent&&!s?new eB:function(t){var e,n;let r,{parentSpan:i,spanArguments:s,forceTransaction:a,scope:o}=t;if(!tV()){let t=new eB;if(a||!i){let e={sampled:"false",sample_rate:"0",transaction:s.name,...eR(t)};eN(t,e)}return t}let c=tE();if(function(t,e){var n;let r=null==t?void 0:t.getOptions().ignoreSpans;return!!t&&!!tW(t)&&!!(null==r?void 0:r.length)&&tz({description:e.name||"",op:(null==(n=e.attributes)?void 0:n[tO])||e.op},r)}(c,s))return e7(o)||null==c||c.recordDroppedEvent("ignored","span"),new eB({dropReason:"ignored",traceId:null!=(e=null==i?void 0:i.spanContext().traceId)?e:o.getPropagationContext().traceId});let u=tS();if(i&&!a)r=function(t,e,n){let{spanId:r,traceId:i}=t.spanContext(),s=e7(e),a=!s&&eS(t),o=a?new e1({...n,parentSpanId:r,traceId:i,sampled:a}):new eB({traceId:i});eT(t,o);let c=tE();return c&&(tW(c)&&o instanceof eB&&(t instanceof eB&&t.dropReason?(o.dropReason=t.dropReason,c.recordDroppedEvent(t.dropReason,"span")):s||(o.dropReason="sample_rate",c.recordDroppedEvent("sample_rate","span"))),c.emit("spanStart",o),n.endTimestamp&&(c.emit("spanEnd",o),c.emit("afterSpanEnd",o))),o}(i,o,s),eT(i,r);else if(i){let t=eR(i),{traceId:e,spanId:n}=i.spanContext(),a=eS(i);eN(r=e6({traceId:e,parentSpanId:n,...s},o,a),t)}else{let{traceId:t,dsc:e,parentSpanId:n,sampled:i}={...u.getPropagationContext(),...o.getPropagationContext()};r=e6({traceId:t,parentSpanId:n,...s},o,i),e&&eN(r,e)}return!function(t){if(!l.DEBUG_BUILD)return;let{description:e="< unknown name >",op:n="< unknown op >",parent_span_id:r}=em(t),{spanId:i}=t.spanContext(),s=eS(t),a=eA(t),o=a===t,c="[Tracing] Starting ".concat(s?"sampled":"unsampled"," ").concat(o?"root ":"","span"),u=["op: ".concat(n),"name: ".concat(e),"ID: ".concat(i)];
3if(r&&u.push("parent ID: ".concat(r)),!o){let{op:t,description:e}=em(a);u.push("root ID: ".concat(a.spanContext().spanId)),t&&u.push("root op: ".concat(t)),e&&u.push("root description: ".concat(e))}p.debug.log("".concat(c,"\n  ").concat(u.join("\n  ")))}(r),(n=r)&&(h(n,t2,function(t){try{let e=E.GLOBAL_OBJ.WeakRef;if("function"==typeof e)return new e(t)}catch(t){}return t}(u)),h(n,t1,o)),r}({parentSpan:s,spanArguments:n,forceTransaction:r,scope:e})})}function e8(t,e){let n=e9();return n.withActiveSpan?n.withActiveSpan(t,e):ty(n=>(ts(n,t||void 0),e(n)))}function e5(t){let e=e9();return e.startNewTrace?e.startNewTrace(t):ty(e=>(e.setPropagationContext({traceId:tn(),sampleRand:I()}),l.DEBUG_BUILD&&p.debug.log("Starting a new trace with id ".concat(e.getPropagationContext().traceId)),e8(null,t)))}function e9(){return th((0,u.getMainCarrier)())}function e6(t,e,n){var r,i;let s=tE(),a=(null==s?void 0:s.getOptions())||{},{name:o=""}=t,c={spanAttributes:{...t.attributes},spanName:o,parentSampled:n};null==s||s.emit("beforeSampling",c,{decision:!1});let u=null!=(i=c.parentSampled)?i:n,d=c.spanAttributes,f=e.getPropagationContext(),_=e7(e),[h,g,m]=_?[!1]:function(t,e,n){let r,i;if(!tV(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=tq(r);if(void 0===s)return l.DEBUG_BUILD&&p.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 ".concat(JSON.stringify(r)," of type ").concat(JSON.stringify(typeof r),".")),[!1];if(!s)return l.DEBUG_BUILD&&p.debug.log("[Tracing] Discarding transaction because ".concat("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&&p.debug.log("[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ".concat(Number(r),")")),[a,s,i]}(a,{name:o,parentSampled:u,attributes:d,parentSampleRate:tq(null==(r=f.dsc)?void 0:r.sample_rate)},f.sampleRand),S=new e1({...t,attributes:{[tI]:"custom",[tx]:void 0!==g&&m?g:void 0,...d},sampled:h});return h||!s||_||(l.DEBUG_BUILD&&p.debug.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),s.recordDroppedEvent("sample_rate",tW(s)?"span":"transaction")),s&&s.emit("spanStart",S),S}function e7(t){return!0===t.getScopeData().sdkProcessingMetadata.__SENTRY_SUPPRESS_TRACING__}function nt(t){return new nn(e=>{e(t)})}function ne(t){return new nn((e,n)=>{n(t)})}t.s(["parseEventHintOrCaptureContext",()=>nc,"prepareEvent",()=>no],213186),t.s(["rejectedSyncPromise",()=>ne,"resolvedSyncPromise",()=>nt],580611);class nn{then(t,e){return new nn((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 nn((e,n)=>{let r,i;return this.then(e=>{i=!1,r=e,t&&t()},e=>{i=!0,r=e,t&&t()}).then(()=>{if(i)return void 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)}}constructor(t){this._state=0,this._handlers=[],this._runExecutor(t)}}function nr(t,e){var n,r,i,s;let{fingerprint:a,span:o,breadcrumbs:c,sdkProcessingMetadata:u}=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),o&&function(t,e){t.contexts={trace:el(e),...t.contexts},t.sdkProcessingMetadata={dynamicSamplingContext:eR(e),...t.sdkProcessingMetadata};let n=em(eA(e)).description;n&&!t.transaction&&"transaction"===t.type&&(t.transaction=n)}(t,o),n=t,r=a,n.fingerprint=n.fingerprint?Array.isArray(n.fingerprint)?n.fingerprint:[n.fingerprint]:[],r&&(n.fingerprint=n.fingerprint.concat(r)),n.fingerprint.length||delete n.fingerprint,function(t,e){let n=[...t.breadcrumbs||[],...e];t.breadcrumbs=n.length?n:void 0}(t,c),i=t,s=u,i.sdkProcessingMetadata={...i.sdkProcessingMetadata,...s}}function ni(t,e){let{extra:n,tags:r,attributes:i,user:s,contexts:a,level:o,sdkProcessingMetadata:c,breadcrumbs:u,fingerprint:l,eventProcessors:d,attachments:p,propagationContext:f,transactionName:_,span:h}=e;ns(t,"extra",n),ns(t,"tags",r),ns(t,"attributes",i),ns(t,"user",s),ns(t,"contexts",a),t.sdkProcessingMetadata=te(t.sdkProcessingMetadata,c,2),o&&(t.level=o),_&&(t.transactionName=_),h&&(t.span=h),u.length&&(t.breadcrumbs=[...t.breadcrumbs,...u]),l.length&&(t.fingerprint=[...t.fingerprint,...l]),d.length&&(t.eventProcessors=[...t.eventProcessors,...d]),p.length&&(t.attachments=[...t.attachments,...p]),t.propagationContext={...t.propagationContext,...f}}function ns(t,e,n){t[e]=te(t[e],n,1)}function na(t,e){let n=tv().getScopeData();return t&&ni(n,t.getScopeData()),e&&ni(n,e.getScopeData()),n}function no(t,e,n,r,i,u){var d,_;let{normalizeDepth:h=3,normalizeMaxBreadth:g=1e3}=t,m={...e,event_id:e.event_id||n.event_id||J(),timestamp:e.timestamp||W()},S=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||eD,!t.release&&r&&(t.release=r),!t.dist&&i&&(t.dist=i);let a=t.request;if((null==a?void 0:a.url)&&s&&(a.url=P(a.url,s)),s){var o,c;null==(c=t.exception)||null==(o=c.values)||o.forEach(t=>{t.value&&(t.value=P(t.value,s))})}})(m,t),d=m,(_=S).length>0&&(d.sdk=d.sdk||{},d.sdk.integrations=[...d.sdk.integrations||[],..._]),i&&i.emit("applyFrameMetadata",e),void 0===e.type&&function(t,e){var n,r;let i=function(t){let e=E.GLOBAL_OBJ._sentryDebugIds,n=E.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=null==s?void 0: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=null==i?void 0:i.filename;if(a&&c&&s){c[a]=e,s[r]=[a,e];break}}}}};return e&&u(r,e),n&&u(i,n),c}(e);
3null==(r=t.exception)||null==(n=r.values)||n.forEach(t=>{var e,n;null==(n=t.stacktrace)||null==(e=n.frames)||e.forEach(t=>{t.filename&&(t.debug_id=i[t.filename])})})}(m,t.stackParser);let v=function(t,e){if(!e)return t;let n=t?t.clone():new to;return n.update(e),n}(r,n.captureContext);n.mechanism&&z(m,n.mechanism);let y=i?i.getEventProcessors():[],b=na(u,v),T=[...n.attachments||[],...b.attachments];T.length&&(n.attachments=T),nr(m,b);let I=[...y,...b.eventProcessors];return(n.data&&!0===n.data.__sentry__?nt(m):function(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]: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&&p.debug.log('Event processor "'.concat(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:nt(i)}catch(t){return ne(t)}}(I,m,n)).then(t=>(t&&function(t){var e,n;let r={};if(null==(n=t.exception)||null==(e=n.values)||e.forEach(t=>{var e,n;null==(n=t.stacktrace)||null==(e=n.frames)||e.forEach(t=>{t.debug_id&&(t.abs_path?r[t.abs_path]=t.debug_id:t.filename&&(r[t.filename]=t.debug_id),delete t.debug_id)})}),0===Object.keys(r).length)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];let i=t.debug_meta.images;Object.entries(r).forEach(t=>{let[e,n]=t;i.push({type:"sourcemap",code_file:e,debug_id:n})})}(t),"number"==typeof h&&h>0)?function(t,e,n){var r,i;if(!t)return null;let s={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(t=>({...t,...t.data&&{data:eP(t.data,e,n)}}))},...t.user&&{user:eP(t.user,e,n)},...t.contexts&&{contexts:eP(t.contexts,e,n)},...t.extra&&{extra:eP(t.extra,e,n)}};return(null==(r=t.contexts)?void 0:r.trace)&&s.contexts&&(s.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(s.contexts.trace.data=eP(t.contexts.trace.data,e,n))),t.spans&&(s.spans=t.spans.map(t=>({...t,...t.data&&{data:eP(t.data,e,n)}}))),(null==(i=t.contexts)?void 0:i.flags)&&s.contexts&&(s.contexts.flags=eP(t.contexts.flags,3,n)),s}(t,h,g):t)}function nc(t){if(t){var e;return(e=t)instanceof to||"function"==typeof e||Object.keys(t).some(t=>nu.includes(t))?{captureContext:t}:t}}t.s(["applyScopeDataToEvent",()=>nr,"getCombinedScopeData",()=>na],571993);let nu=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function nl(t,e){return tm().captureException(t,nc(e))}function nd(t,e){return tm().captureEvent(t,e)}function np(t,e){tS().setContext(t,e)}function nf(){let t=tE();return(null==t?void 0:t.getOptions().enabled)!==!1&&!!(null==t?void 0:t.getTransport())}function n_(t){tS().addEventProcessor(t)}function nh(t){let e=tS(),{user:n}=na(e,tm()),{userAgent:r}=E.GLOBAL_OBJ.navigator||{},i=Q({user:n,...r&&{userAgent:r},...t}),s=e.getSession();return(null==s?void 0:s.status)==="ok"&&Z(s,{status:"exited"}),ng(),e.setSession(i),i}function ng(){let t=tS(),e=tm().getSession()||t.getSession();e&&tt(e),nm(),t.setSession()}function nm(){let t=tS(),e=tE(),n=t.getSession();n&&e&&e.captureSession(n)}function nS(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(t)return void ng();nm()}}]);
4
5//# sourceMappingURL=7920e4a623409517.js.map
6//# debugId=42f62814-48da-51d5-a68c-55d4d311277d

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.