1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="7f6d27b3-1153-8546-2df0-42b2bd5113c9")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,519988,t=>{"use strict";t.s(["GEN_AI_CONVERSATION_ID_ATTRIBUTE",()=>"gen_ai.conversation.id","SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME",()=>"sentry.exclusive_time","SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD",()=>"http.request.method","SEMANTIC_ATTRIBUTE_PROFILE_ID",()=>"sentry.profile_id","SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME",()=>"sentry.custom_span_name","SEMANTIC_ATTRIBUTE_SENTRY_ENVIRONMENT",()=>"sentry.environment","SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON",()=>"sentry.idle_span_finish_reason","SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT",()=>"sentry.measurement_unit","SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE",()=>"sentry.measurement_value","SEMANTIC_ATTRIBUTE_SENTRY_OP",()=>"sentry.op","SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN",()=>"sentry.origin","SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE",()=>"sentry.previous_trace_sample_rate","SEMANTIC_ATTRIBUTE_SENTRY_RELEASE",()=>"sentry.release","SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE",()=>"sentry.sample_rate","SEMANTIC_ATTRIBUTE_SENTRY_SDK_NAME",()=>"sentry.sdk.name","SEMANTIC_ATTRIBUTE_SENTRY_SDK_VERSION",()=>"sentry.sdk.version","SEMANTIC_ATTRIBUTE_SENTRY_SEGMENT_ID",()=>"sentry.segment.id","SEMANTIC_ATTRIBUTE_SENTRY_SEGMENT_NAME",()=>"sentry.segment.name","SEMANTIC_ATTRIBUTE_SENTRY_SOURCE",()=>"sentry.source","SEMANTIC_ATTRIBUTE_URL_FULL",()=>"url.full","SEMANTIC_ATTRIBUTE_USER_EMAIL",()=>"user.email","SEMANTIC_ATTRIBUTE_USER_ID",()=>"user.id","SEMANTIC_ATTRIBUTE_USER_IP_ADDRESS",()=>"user.ip_address","SEMANTIC_ATTRIBUTE_USER_USERNAME",()=>"user.name","SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE",()=>"sentry.link.type"])},675790,t=>{"use strict";let e=globalThis;t.s(["GLOBAL_OBJ",()=>e])},111139,t=>{"use strict";let e;var n=t.i(675790);function r(t){if(void 0!==e)return e?e(t):t();let r=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),i=n.GLOBAL_OBJ;return r in i&&"function"==typeof i[r]?(e=i[r])(t):(e=null,t())}function i(){return r(()=>Math.random())}function s(){return r(()=>Date.now())}t.s(["safeDateNow",()=>s,"safeMathRandom",()=>i,"withRandomSafeContext",()=>r])},605394,t=>{"use strict";let e;var n=t.i(111139),r=t.i(675790);function i(){return(0,n.safeDateNow)()/1e3}function s(){return(e??(e=function(){let{performance:t}=r.GLOBAL_OBJ;if(!t?.now||!t.timeOrigin)return i;let e=t.timeOrigin;return()=>(e+(0,n.withRandomSafeContext)(()=>t.now()))/1e3}()))()}let a=null;function o(){return null===a&&(a=function(){let{performance:t}=r.GLOBAL_OBJ;if(!t?.now)return;let e=(0,n.withRandomSafeContext)(()=>t.now()),i=(0,n.safeDateNow)(),s=t.timeOrigin;if("number"==typeof s&&3e5>Math.abs(s+e-i))return s;let a=t.timing?.navigationStart;return"number"==typeof a&&3e5>Math.abs(a+e-i)?a:i-e}()),a}t.s(["browserPerformanceTimeOrigin",()=>o,"dateTimestampInSeconds",()=>i,"timestampInSeconds",()=>s])},901020,453288,303798,t=>{"use strict";let e="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;t.s(["DEBUG_BUILD",()=>e],901020);let n=Object.prototype.toString;function r(t){switch(n.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return m(t,Error)}}function i(t,e){return n.call(t)===`[object ${e}]`}function s(t){return i(t,"ErrorEvent")}function a(t){return i(t,"DOMError")}function o(t){return i(t,"DOMException")}function c(t){return i(t,"String")}function u(t){return"object"==typeof t&&null!==t&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function l(t){return null===t||u(t)||"object"!=typeof t&&"function"!=typeof t}function p(t){return i(t,"Object")}function d(t){return"u">typeof Event&&m(t,Event)}function _(t){return"u">typeof Element&&m(t,Element)}function f(t){return i(t,"RegExp")}function g(t){return!!(t?.then&&"function"==typeof t.then)}function h(t){return p(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function m(t,e){try{return t instanceof e}catch{return!1}}function S(t){return!!("object"==typeof t&&null!==t&&(t.__isVue||t._isVue||t.__v_isVNode))}function E(t){return"u">typeof Request&&m(t,Request)}t.s(["isDOMError",()=>
2a,"isDOMException",()=>o,"isElement",()=>_,"isError",()=>r,"isErrorEvent",()=>s,"isEvent",()=>d,"isInstanceOf",()=>m,"isParameterizedString",()=>u,"isPlainObject",()=>p,"isPrimitive",()=>l,"isRegExp",()=>f,"isRequest",()=>E,"isString",()=>c,"isSyntheticEvent",()=>h,"isThenable",()=>g,"isVueViewModel",()=>S],453288);let T=t.i(675790).GLOBAL_OBJ;function y(t,e={}){if(!t)return"<unknown>";try{let n,r=t,i=[],s=0,a=0,o=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(T.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&&c(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,o),"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 b(){try{return T.document.location.href}catch{return""}}function I(t,e=5){if(!T.HTMLElement)return null;let n=t;for(let t=0;t<e&&n;t++){if(n instanceof HTMLElement){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}n=n.parentNode}return null}t.s(["getComponentName",()=>I,"getLocationHref",()=>b,"htmlTreeAsString",()=>y],303798)},591401,t=>{"use strict";t.s(["SDK_VERSION",()=>"10.51.0"])},923288,t=>{"use strict";var e=t.i(591401),n=t.i(675790);function r(){return i(n.GLOBAL_OBJ),n.GLOBAL_OBJ}function i(t){let n=t.__SENTRY__=t.__SENTRY__||{};return n.version=n.version||e.SDK_VERSION,n[e.SDK_VERSION]=n[e.SDK_VERSION]||{}}function s(t,r,i=n.GLOBAL_OBJ){let a=i.__SENTRY__=i.__SENTRY__||{},o=a[e.SDK_VERSION]=a[e.SDK_VERSION]||{};return o[t]||(o[t]=r())}t.s(["getGlobalSingleton",()=>s,"getMainCarrier",()=>r,"getSentryCarrier",()=>i])},951497,272598,t=>{"use strict";var e=t.i(901020),n=t.i(303798),r=t.i(923288),i=t.i(675790);let s=["debug","info","warn","error","log","assert","trace"],a={};function o(t){if(!("console"in i.GLOBAL_OBJ))return t();let e=i.GLOBAL_OBJ.console,n={},r=Object.keys(a);r.forEach(t=>{let r=a[t];n[t]=e[t],e[t]=r});try{return t()}finally{r.forEach(t=>{e[t]=n[t]})}}function c(){return l().enabled}function u(t,...n){e.DEBUG_BUILD&&c()&&o(()=>{i.GLOBAL_OBJ.console[t](`Sentry Logger [${t}]:`,...n)})}function l(){return e.DEBUG_BUILD?(0,r.getGlobalSingleton)("loggerSettings",()=>({enabled:!1})):{enabled:!1}}let p={enable:function(){l().enabled=!0},disable:function(){l().enabled=!1},isEnabled:c,log:function(...t){u("log",...t)},warn:function(...t){u("warn",...t)},error:function(...t){u("error",...t)}};t.s(["CONSOLE_LEVELS",()=>s,"consoleSandbox",()=>o,"debug",()=>p,"originalConsoleMethods",()=>a],272598);var d=t.i(453288);function _(t,n,r){if(!(n in t))return;let i=t[n];if("function"!=typeof i)return;let s=r(i);"function"==typeof s&&g(s,i);try{t[n]=s}catch{e.DEBUG_BUILD&&p.log(`Failed to replace method "${n}" in object`,t)}}function f(t,n,r){try{Object.defineProperty(t,n,{value:r,writable:!0,configurable:!0})}catch{e.DEBUG_BUILD&&p.log(`Failed to add non-enumerable property "${String(n)}" to object`,t)}}function g(t,e){try{let n=e.prototype||{};t.prototype=e.prototype=n,f(t,"__sentry_original__",e)}catch{}}function h(t){return t.__sentry_original__}function m(t){if((0,d.isError)(t))return{message:t.message,name:t.name,stack:t.stack,...E(t)};if(!(0,d.isEvent)(t))return t;{let e={type:t.type,target:S(t.target),currentTarget:S(t.currentTarget),...E(t)};return"u">typeof CustomEvent&&(0,d.isInstanceOf)(t,CustomEvent)&&(e.detail=t.detail),e}}function S(t){try{return(0,d.isElement)(t)?(0,n.htmlTreeAsString)(t):Object.prototype.toString.call(t)}catch{return"<unknown>"}}function E(t){return"object"==typeof t&&null!==t?Object.fromEntries(Object.entries(t)):{}}
2function T(t){let e=Object.keys(m(t));return e.sort(),e[0]?e.join(", "):"[object has no keys]"}t.s(["addNonEnumerableProperty",()=>f,"convertToPlainObject",()=>m,"extractExceptionKeysForMessage",()=>T,"fill",()=>_,"getOriginalFunction",()=>h,"markFunctionWrapped",()=>g],951497)},682564,936032,821593,t=>{"use strict";let e;var n=t.i(951497),r=t.i(111139),i=t.i(453288);let s=/\(error: (.*)\)/,a=/captureMessage|captureException/;function o(...t){let e=t.sort((t,e)=>t[0]-e[0]).map(t=>t[1]);return(t,n=0,r=0)=>{let i=[],o=t.split("\n");for(let t=n;t<o.length;t++){let n=o[t];n.length>1024&&(n=n.slice(0,1024));let a=s.test(n)?n.replace(s,"$1"):n;if(!a.includes("Error: ")){for(let t of e){let e=t(a);if(e){i.push(e);break}}if(i.length>=50+r)break}}var c=i.slice(r);if(!c.length)return[];let l=Array.from(c);return/sentryWrapped/.test(u(l).function||"")&&l.pop(),l.reverse(),a.test(u(l).function||"")&&(l.pop(),a.test(u(l).function||"")&&l.pop()),l.slice(0,50).map(t=>({...t,filename:t.filename||u(l).filename,function:t.function||"?"}))}}function c(t){return Array.isArray(t)?o(...t):t}function u(t){return t[t.length-1]||{}}let l="<anonymous>";function p(t){try{if(!t||"function"!=typeof t)return l;return t.name||l}catch{return l}}function d(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 _(t){return"__v_isVNode"in t&&t.__v_isVNode?"[VueVNode]":"[VueViewModel]"}function f(t){let e=t?.startsWith("file://")?t.slice(7):t;return e?.match(/\/[A-Z]:/)&&(e=e.slice(1)),e}function g(t,e=0){return"string"!=typeof t||0===e||t.length<=e?t:`${t.slice(0,e)}...`}function h(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 m(t,e){if(!Array.isArray(t))return"";let n=[];for(let e=0;e<t.length;e++){let r=t[e];try{(0,i.isVueViewModel)(r)?n.push(_(r)):n.push(String(r))}catch{n.push("[value cannot be serialized]")}}return n.join(e)}function S(t,e,n=!1){return!!(0,i.isString)(t)&&((0,i.isRegExp)(e)?e.test(t):(0,i.isString)(e)?n?t===e:t.includes(e):"function"==typeof e&&e(t))}function E(t,e=[],n=!1){return e.some(e=>S(t,e,n))}t.s(["UNKNOWN_FUNCTION",()=>"?","createStackParser",()=>o,"getFramesFromEvent",()=>d,"getFunctionName",()=>p,"getVueInternalName",()=>_,"normalizeStackTracePath",()=>f,"stackParserFromStackParserOptions",()=>c],936032),t.s(["isMatchingPattern",()=>S,"safeJoin",()=>m,"snipLine",()=>h,"stringMatchesSomePattern",()=>E,"truncate",()=>g],821593);var T=t.i(675790);function y(t=function(){let t=T.GLOBAL_OBJ;return t.crypto||t.msCrypto}()){try{if(t?.randomUUID)return(0,r.withRandomSafeContext)(()=>t.randomUUID()).replace(/-/g,"")}catch{}return e||(e="10000000100040008000100000000000"),e.replace(/[018]/g,t=>(t^(15&16*(0,r.safeMathRandom)())>>t/4).toString(16))}function b(t){return t.exception?.values?.[0]}function I(t){let{message:e,event_id:n}=t;if(e)return e;let r=b(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function v(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 A(t,e){let n=b(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 N(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=>h(t,0)),e.context_line=h(t[Math.min(r-1,i)],e.colno||0),e.post_context=t.slice(Math.min(i+1,r),i+1+n).map(t=>h(t,0))}function C(t){if(R(t))return!0;try{(0,n.addNonEnumerableProperty)(t,"__sentry_captured__",!0)}catch{}return!1}function R(t){try{return t.__sentry_captured__}catch{}}t.s(["addContextToFrame",()=>N,"addExceptionMechanism",()=>A,"addExceptionTypeValue",()=>v,"checkOrSetAlreadyCaught",()=>C,"getEventDescription",()=>I,"isAlreadyCaptured",()=>R,"uuid4",()=>y],682564)},250804,341041,318746,373382,821061,994218,450574,301263,t=>{"use strict";let e;
2var n=t.i(923288),r=t.i(901020),i=t.i(682564),s=t.i(605394);function a(t){let e=(0,s.timestampInSeconds)(),n={sid:(0,i.uuid4)(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>{var t;return t=n,{sid:`${t.sid}`,init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}}}};return t&&o(n,t),n}function o(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||(0,s.timestampInSeconds)(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:(0,i.uuid4)()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{let e=t.timestamp-t.started;t.duration=e>=0?e:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}function c(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),o(t,n)}t.s(["closeSession",()=>c,"makeSession",()=>a,"updateSession",()=>o],341041);var u=t.i(272598),l=t.i(453288);function p(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]=p(r[t],e[t],n-1));return r}function d(){return(0,i.uuid4)()}function _(){return(0,i.uuid4)().substring(16)}t.s(["merge",()=>p],318746),t.s(["generateSpanId",()=>_,"generateTraceId",()=>d],373382);var f=t.i(111139),g=t.i(951497);let h="_sentrySpan";function m(t,e){e?(0,g.addNonEnumerableProperty)(t,h,e):delete t[h]}function S(t){return t[h]}t.s(["_getSpanForScope",()=>S,"_setSpanForScope",()=>m],821061);var E=t.i(821593);class T{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:d(),sampleRand:(0,f.safeMathRandom)()}}clone(){let t=new T;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._attributes={...this._attributes},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,t._conversationId=this._conversationId,m(t,this[h]),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&&o(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:p}=(e instanceof T?e.getScopeData():(0,l.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),p&&(this._conversationId=p),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,m(this,void 0),this._attachments=[],this.setPropagationContext({traceId:d(),sampleRand:(0,f.safeMathRandom)()}),this._notifyScopeListeners(),this}addBreadcrumb(t,e){let n="number"==typeof e?e:100;if(n<=0)return this;let r={timestamp:(0,s.dateTimestampInSeconds)(),...t,message:t.message?(0,E.truncate)(t.message,2048):t.message};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:this[h],conversationId:this._conversationId}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=p(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}
2captureException(t,e){let n=e?.event_id||(0,i.uuid4)();if(!this._client)return r.DEBUG_BUILD&&u.debug.warn("No client configured on scope - will not capture exception!"),n;let s=Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:s,...e,event_id:n},this),n}captureMessage(t,e,n){let s=n?.event_id||(0,i.uuid4)();if(!this._client)return r.DEBUG_BUILD&&u.debug.warn("No client configured on scope - will not capture message!"),s;let a=n?.syntheticException??Error(t);return this._client.captureMessage(t,e,{originalException:t,syntheticException:a,...n,event_id:s},this),s}captureEvent(t,e){let n=t.event_id||e?.event_id||(0,i.uuid4)();return this._client?this._client.captureEvent(t,{...e,event_id:n},this):r.DEBUG_BUILD&&u.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",()=>T],994218);let y=t=>t instanceof Promise&&!t[b],b=Symbol("chained PromiseLike"),I=(t,e,n)=>{let r=t.then(t=>(e(t),t),t=>{throw n(t),t});return y(r)&&y(t)?r:v(t,r)},v=(t,e)=>{let n=!1;for(let r in t){if(r in e)continue;n=!0;let i=t[r];"function"==typeof i?Object.defineProperty(e,r,{value:(...e)=>i.apply(t,e),enumerable:!0,configurable:!0,writable:!0}):e[r]=i}return n&&Object.assign(e,{[b]:!0}),e};t.s(["chainAndCopyPromiseLike",()=>I],450574);class A{constructor(t,e){let n,r;n=t||new T,r=e||new T,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,l.isThenable)(e)?I(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 N(){let t=(0,n.getMainCarrier)(),e=(0,n.getSentryCarrier)(t);return e.stack=e.stack||new A((0,n.getGlobalSingleton)("defaultCurrentScope",()=>new T),(0,n.getGlobalSingleton)("defaultIsolationScope",()=>new T))}function C(t){return N().withScope(t)}function R(t,e){let n=N();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function x(t){return N().withScope(()=>t(N().getIsolationScope()))}function O(t){let e=(0,n.getSentryCarrier)(t);return e.acs?e.acs:{withIsolationScope:x,withScope:C,withSetScope:R,withSetIsolationScope:(t,e)=>x(e),getCurrentScope:()=>N().getScope(),getIsolationScope:()=>N().getIsolationScope()}}function M(){return void 0!==e}function D(){return O((0,n.getMainCarrier)()).getCurrentScope()}function U(){return O((0,n.getMainCarrier)()).getIsolationScope()}function k(){return(0,n.getGlobalSingleton)("globalScope",()=>new T)}function B(...t){let e=O((0,n.getMainCarrier)());if(2===t.length){let[n,r]=t;return n?e.withSetScope(n,r):e.withScope(r)}return e.withScope(t[0])}function w(...t){let e=O((0,n.getMainCarrier)());if(2===t.length){let[n,r]=t;return n?e.withSetIsolationScope(n,r):e.withIsolationScope(r)}return e.withIsolationScope(t[0])}function L(){return D().getClient()}function P(t){let n=e?.();if(n)return{trace_id:n.traceId,span_id:n.spanId};let{traceId:r,parentSpanId:i,propagationSpanId:s}=t.getPropagationContext(),a={trace_id:r,span_id:s||_()};return i&&(a.parent_span_id=i),a}t.s(["getAsyncContextStrategy",()=>O],301263),t.s(["getClient",()=>L,"getCurrentScope",()=>D,"getGlobalScope",()=>k,"getIsolationScope",()=>U,"getTraceContextFromScope",()=>P,"hasExternalPropagationContext",()=>M,"withIsolationScope",()=>w,"withScope",()=>B],250804)},662537,602309,30686,10008,454300,812024,170637,759075,776710,242222,339435,132584,304661,373250,473753,728469,286564,685658,45968,67486,869766,804478,14177,541193,580611,147310,571993,213186,957688,t=>{"use strict";let e,n,r,i;var s=t.i(250804),a=t.i(901020),o=t.i(341041),c=t.i(301263),u=t.i(923288),l=t.i(519988),p=t.i(272598),d=t.i(453288);let _="sentry-";function f(t){let e=h(t);if(!e)return;let n=Object.entries(e).reduce((t,[e,n])=>(e.startsWith(_)&&(t[e.slice(_.length)]=n),t),{});return Object.keys(n).length>0?n:void 0}function g(t){if(t){var e=Object.entries(t).reduce((t,[e,n])=>(n&&(t[`${_}${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?(a.DEBUG_BUILD&&p.debug.warn(`Not adding key: ${e} with val: ${n} to baggage header due to exceeding baggage size limits.`),t):s},""):void 0}}function h(t){if(t&&((0,d.isString)(t)||Array.isArray(t)))return Array.isArray(t)?t.reduce((t,e)=>
2(Object.entries(m(e)).forEach(([e,n])=>{t[e]=n}),t),{}):m(t)}function m(t){return t.split(",").map(t=>{let e=t.indexOf("=");return -1===e?[]:[t.slice(0,e),t.slice(e+1)].map(t=>{try{return decodeURIComponent(t.trim())}catch{return}})}).reduce((t,[e,n])=>(e&&n&&(t[e]=n),t),{})}t.s(["SENTRY_BAGGAGE_KEY_PREFIX",()=>_,"baggageHeaderToDynamicSamplingContext",()=>f,"dynamicSamplingContextToSentryBaggageHeader",()=>g,"parseBaggageHeader",()=>h],602309);var S=t.i(450574);function E(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,d.isThenable)(i)?(0,S.chainAndCopyPromiseLike)(i,t=>{a(),o(t)},t=>{s(t),a()}):(a(),o(i),i)}function T(t){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let e=t||(0,s.getClient)()?.getOptions();return!!e&&(null!=e.tracesSampleRate||!!e.tracesSampler)}t.s(["handleCallbackErrors",()=>E],30686),t.s(["hasSpansEnabled",()=>T],10008);var y=t.i(821593);function b(t){p.debug.log(`Ignoring span ${t.op} - ${t.description} because it matches \`ignoreSpans\`.`)}function I(t,e){if(!e?.length)return!1;for(let r of e){var n;if("string"==typeof(n=r)||n instanceof RegExp){if(t.description&&(0,y.isMatchingPattern)(t.description,r))return a.DEBUG_BUILD&&b(t),!0;continue}let e=!!r.attributes&&Object.keys(r.attributes).length>0;if(!r.name&&!r.op&&!e)continue;let i=!r.name||t.description&&(0,y.isMatchingPattern)(t.description,r.name),s=!r.op||t.op&&(0,y.isMatchingPattern)(t.op,r.op),o=!r.attributes||Object.entries(r.attributes).every(([e,n])=>(function(t,e){return"string"==typeof t&&("string"==typeof e||e instanceof RegExp)?(0,y.isMatchingPattern)(t,e):Array.isArray(t)&&Array.isArray(e)?t.length===e.length&&t.every((t,n)=>t===e[n]):t===e})(t.attributes?.[e],n));if(i&&s&&o)return a.DEBUG_BUILD&&b(t),!0}return!1}function v(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 A(t){return"stream"===t.getOptions().traceLifecycle}function N(t){if("boolean"==typeof t)return Number(t);let e="string"==typeof t?parseFloat(t):t;if(!("number"!=typeof e||isNaN(e))&&!(e<0)&&!(e>1))return e}t.s(["reparentChildSpans",()=>v,"shouldIgnoreSpan",()=>I],454300),t.s(["hasSpanStreamingEnabled",()=>A],812024),t.s(["parseSampleRate",()=>N],170637);var C=t.i(373382),R=t.i(111139),x=t.i(821061);function O(t,e=!1){let n={};for(let[r,i]of Object.entries(t??{})){let t=function(t,e){let{value:n,unit:r}="object"==typeof t&&null!=t&&!Array.isArray(t)&&Object.keys(t).includes("value")?t:{value:t,unit:void 0},i=function(t){let e="string"==typeof t?"string":"boolean"==typeof t?"boolean":"number"!=typeof t||Number.isNaN(t)?null:Number.isInteger(t)?"integer":"double";if(e)return{value:t,type:e}}(n),s=r&&"string"==typeof r?{unit:r}:{};if(i)return{...i,...s};if(!e||"skip-undefined"===e&&void 0===n)return;let a="";try{a=JSON.stringify(n)??""}catch{}return{value:a,type:"string",...s}}(i,e);t&&(n[r]=t)}return n}function M(t){if(!t)return 0;let e=0;for(let[n,r]of Object.entries(t)){e+=2*n.length,e+=2*r.type.length,e+=(r.unit?.length??0)*2;let t=r.value;Array.isArray(t)?e+=D(t[0])*t.length:(0,d.isPrimitive)(t)?e+=D(t):e+=100}return e}function D(t){return"string"==typeof t?2*t.length:"boolean"==typeof t?4:8*("number"==typeof t)}function U(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 k(t,e){t.setAttribute("http.response.status_code",e);let n=U(e);"unknown_error"!==n.message&&t.setStatus(n)}t.s(["estimateTypedAttributesSizeInBytes",()=>M,"serializeAttributes",()=>O],759075),t.s(["SPAN_STATUS_ERROR",()=>2,"SPAN_STATUS_OK",()=>1,"SPAN_STATUS_UNSET",()=>0,"getSpanStatusFromHttpCode",()=>U,"setHttpStatus",()=>k],776710);var B=t.i(951497),w=t.i(675790);let L="_sentryScope",P="_sentryIsolationScope";function $(t,e,n){t&&((0,B.addNonEnumerableProperty)(t,P,function(t){try{let e=w.GLOBAL_OBJ.WeakRef;if("function"==typeof e)return new e(t)}catch{}return t}(n)),(0,B.addNonEnumerableProperty)(t,L,e))}function G(t){return{scope:t[L],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[P])}}t.s(["getCapturedScopesOnSpan",()=>G,"setCapturedScopesOnSpan",()=>$],242222);var j=t.i(605394);let F=/^o(\d+)\./,Y=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function J(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 V(t){let e=Y.exec(t);if(!e)return void(0,p.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 H({host:s,pass:i,path:c,projectId:u,port:a,protocol:n,publicKey:r})}function H(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function K(t){let e,n=t.getOptions(),{host:r}=t.getDsn()||{};if(n.orgId)e=String(n.orgId);else{let t;r&&(t=r.match(F),e=t?.[1])}return e}function z(t){let e="string"==typeof t?V(t):H(t);if(e&&function(t){if(!a.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: ${e} missing`),!0))&&(n.match(/^\d+$/)?"http"!==r&&"https"!==r?(p.debug.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):!(e&&isNaN(parseInt(e,10)))||(p.debug.error(`Invalid Sentry Dsn: Invalid port ${e}
2`),!1):(p.debug.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(e))return e}t.s(["dsnFromString",()=>V,"dsnToString",()=>J,"extractOrgIdFromClient",()=>K,"makeDsn",()=>z],339435);let W=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function q(t){let e;if(!t)return;let n=t.match(W);if(n)return"1"===n[3]?e=!0:"0"===n[3]&&(e=!1),{traceId:n[1],parentSampled:e,parentSpanId:n[2]}}function X(t,e){let n=q(t),r=f(e);if(!n?.traceId)return{traceId:(0,C.generateTraceId)(),sampleRand:(0,R.safeMathRandom)()};let i=function(t,e){let n=N(e?.sample_rand);if(void 0!==n)return n;let r=N(e?.sample_rate);return r&&t?.parentSampled!==void 0?t.parentSampled?(0,R.safeMathRandom)()*r:r+(0,R.safeMathRandom)()*(1-r):(0,R.safeMathRandom)()}(n,r);r&&(r.sample_rand=i.toString());let{traceId:s,parentSpanId:a,parentSampled:o}=n;return{traceId:s,parentSpanId:a,sampled:o,dsc:r||{},sampleRand:i}}function Q(t=(0,C.generateTraceId)(),e=(0,C.generateSpanId)(),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${t}-${e}${r}`}function Z(t=(0,C.generateTraceId)(),e=(0,C.generateSpanId)(),n){return`00-${t}-${e}-${n?"01":"00"}`}function tt(t,e){let n=K(t);return e&&n&&e!==n?(p.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)||(p.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",()=>W,"extractTraceparentData",()=>q,"generateSentryTraceHeader",()=>Q,"generateTraceparentHeader",()=>Z,"propagationContextFromHeaders",()=>X,"shouldContinueTrace",()=>tt],132584);let te=!1;function tn(t){let{spanId:e,traceId:n}=t.spanContext(),{data:r,op:i,parent_span_id:s,status:a,origin:o,links:c}=tl(t);return{parent_span_id:s,span_id:e,trace_id:n,data:r,op:i,status:a,origin:o,links:c}}function tr(t){let{spanId:e,traceId:n,isRemote:r}=t.spanContext(),i=r?e:tl(t).parent_span_id,s=G(t).scope;return{parent_span_id:i,span_id:r?s?.getPropagationContext().propagationSpanId||(0,C.generateSpanId)():e,trace_id:n}}function ti(t){let{traceId:e,spanId:n}=t.spanContext();return Q(e,n,th(t))}function ts(t){let{traceId:e,spanId:n}=t.spanContext();return Z(e,n,th(t))}function ta(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 to(t){return t?.length?t.map(({context:{spanId:t,traceId:e,traceFlags:n},attributes:r})=>({span_id:t,trace_id:e,sampled:1===n,attributes:r})):void 0}function tc(t){return"number"==typeof t?tu(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?tu(t.getTime()):(0,j.timestampInSeconds)()}function tu(t){return t>0x2540be3ff?t/1e3:t}function tl(t){if(tg(t))return t.getSpanJSON();let{spanId:e,traceId:n}=t.spanContext();if(tf(t)){let{attributes:r,startTime:i,name:s,endTime:a,status:o,links:c}=t;return{span_id:e,trace_id:n,data:r,description:s,parent_span_id:td(t),start_timestamp:tc(i),timestamp:tc(a)||void 0,status:tm(o),op:r[l.SEMANTIC_ATTRIBUTE_SENTRY_OP],origin:r[l.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],links:ta(c)}}return{span_id:e,trace_id:n,start_timestamp:0,data:{}}}function tp(t){if(tg(t))return t.getStreamedSpanJSON();let{spanId:e,traceId:n}=t.spanContext();if(tf(t)){let{attributes:r,startTime:i,name:s,endTime:a,status:o,links:c}=t;return{name:s,span_id:e,trace_id:n,parent_span_id:td(t),start_timestamp:tc(i),end_timestamp:tc(a),is_segment:t===tA(t),status:tS(o),attributes:r,links:to(c)}}return{span_id:e,trace_id:n,start_timestamp:0,name:"",end_timestamp:0,status:"ok",is_segment:t===tA(t)}}function td(t){return"parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?t.parentSpanContext?.spanId:void 0}function t_(t){return{...t,attributes:O(t.attributes),links:t.links?.map(t=>({...t,attributes:O(t.attributes)}))}}function tf(t){return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function tg(t){return"function"==typeof t.getSpanJSON}function th(t){let{traceFlags:e}=t.spanContext();return 1===e}function tm(t){if(t&&0!==t.code)return 1===t.code?"ok":t.message||"internal_error"}function tS(t){return t&&1!==t.code&&0!==t.code&&"cancelled"!==t.message?"error":"ok"}let tE="_sentryChildSpans",tT="_sentryRootSpan";function ty(t,e){let n=t[tT]||t;(0,B.addNonEnumerableProperty)(e,tT,n),t[tE]?t[tE].add(e):(0,B.addNonEnumerableProperty)(t,tE,new Set([e]))}function tb(t,e){t[tE]&&t[tE].delete(e)}function tI(t){let e=new Set;return!function t(n){if(!e.has(n)&&th(n))for(let r of(e.add(n),n[tE]?Array.from(n[tE]):[]))t(r)}(t),Array.from(e)}let tv=tA;function tA(t){return t[tT]||t}function tN(){let t=(0,u.getMainCarrier)(),e=(0,c.getAsyncContextStrategy)(t);return e.getActiveSpan?e.getActiveSpan():(0,x._getSpanForScope)((0,s.getCurrentScope)())}function tC(){te||((0,p.consoleSandbox)(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),te=!0)}function tR(t,e){t.updateName(e),t.setAttributes({[l.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"custom",[l.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME]:e})}t.s(["INTERNAL_getSegmentSpan",()=>tA,"TRACE_FLAG_NONE",()=>0,"TRACE_FLAG_SAMPLED",()=>1,"addChildSpanToSpan",()=>ty,"convertSpanLinksForEnvelope",()=>ta,"getActiveSpan",()=>tN,"getRootSpan",()=>tv,"getSimpleStatusMessage",()=>tS,"getSpanDescendants",()=>tI,"getStatusMessage",()=>tm,"getStreamedSpanLinks",()=>to,"removeChildSpanFromSpan",()=>tb,"showSpanDropWarning",()=>tC,"spanIsSampled",()=>th,"spanTimeInputToSeconds",()=>tc,"spanToJSON",()=>tl,"spanToStreamedSpanJSON",()=>tp,"spanToTraceContext",()=>tr,"spanToTraceHeader",()=>ti,"spanToTraceparentHeader",()=>ts,"spanToTransactionTraceContext",()=>tn,"streamedSpanJsonToSerializedSpan",()=>t_,"updateSpanName",()=>tR],304661);let tx="production";t.s(["DEFAULT_ENVIRONMENT",()=>tx],373250);let tO="_frozenDsc";function tM(t,e){(0,B.addNonEnumerableProperty)(t,tO,e)}
2function tD(t,e){let n=e.getOptions(),{publicKey:r}=e.getDsn()||{},i={environment:n.environment||tx,release:n.release,public_key:r,trace_id:t,org_id:K(e)};return e.emit("createDsc",i),i}function tU(t,e){let n=e.getPropagationContext();return n.dsc||tD(n.traceId,t)}function tk(t){let e=(0,s.getClient)();if(!e)return{};let n=tv(t),r=tl(n),i=r.data,a=n.spanContext().traceState,o=a?.get("sentry.sample_rate")??i[l.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]??i[l.SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE];function c(t){return("number"==typeof o||"string"==typeof o)&&(t.sample_rate=`${o}`),t}let u=n[tO];if(u)return c(u);let p=a?.get("sentry.dsc"),d=p&&f(p);if(d)return c(d);let _=tD(t.spanContext().traceId,e),g=i[l.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]??i["sentry.span.source"],h=r.description;return"url"!==g&&h&&(_.transaction=h),T()&&(_.sampled=String(th(n)),_.sample_rand=a?.get("sentry.sample_rand")??G(n).scope?.getPropagationContext().sampleRand.toString()),c(_),e.emit("createDsc",_,n),_}function tB(t){return g(tk(t))}t.s(["freezeDscOnSpan",()=>tM,"getDynamicSamplingContextFromScope",()=>tU,"getDynamicSamplingContextFromSpan",()=>tk,"spanToBaggageHeader",()=>tB],473753);class tw{constructor(t={}){this._traceId=t.traceId||(0,C.generateTraceId)(),this._spanId=t.spanId||(0,C.generateSpanId)(),this.dropReason=t.dropReason}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:0}}end(t){}setAttribute(t,e){return this}setAttributes(t){return this}setStatus(t){return this}updateName(t){return this}isRecording(){return!1}addEvent(t,e,n){return this}addLink(t){return this}addLinks(t){return this}recordException(t,e){}}function tL(t){return(0,B.addNonEnumerableProperty)(t,"_streamed",!0),t}function tP(t){return!!t&&"function"==typeof t&&"_streamed"in t&&!!t._streamed}t.s(["SentryNonRecordingSpan",()=>tw],728469),t.s(["isStreamedBeforeSendSpanCallback",()=>tP,"withStreamedSpan",()=>tL],286564);let t$=Symbol.for("sentry.skipNormalization"),tG=Symbol.for("sentry.overrideNormalizationDepth");function tj(t){(0,B.addNonEnumerableProperty)(t,t$,!0)}function tF(t,e){(0,B.addNonEnumerableProperty)(t,tG,e)}function tY(t){return!!t[t$]}function tJ(t){let e=t[tG];return"number"==typeof e?e:void 0}t.s(["getNormalizationDepthOverrideHint",()=>tJ,"hasSkipNormalizationHint",()=>tY,"setNormalizationDepthOverrideHint",()=>tF,"setSkipNormalizationHint",()=>tj],685658);var tV=t.i(936032);function tH(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,d.isVueViewModel)(n))return(0,tV.getVueInternalName)(n);if((0,d.isSyntheticEvent)(n))return"[SyntheticEvent]";if("number"==typeof n&&!Number.isFinite(n))return`[${n}]`;if("function"==typeof n)return`[Function: ${(0,tV.getFunctionName)(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(tY(r))return r;let l=tJ(r),p=void 0!==l?l:i;if(0===p)return u.replace("object ","");if(o(r))return"[Circular ~]";if(r&&"function"==typeof r.toJSON)try{let t=r.toJSON();return e("",t,p-1,s,a)}catch{}let _=Array.isArray(r)?[]:{},f=0,g=(0,B.convertToPlainObject)(r);for(let t in g){if(!Object.prototype.hasOwnProperty.call(g,t))continue;if(f>=s){_[t]="[MaxProperties ~]";break}let n=g[t];_[t]=e(t,n,p-1,s,a),f++}return c(r),_}("",e,n,r)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function tK(t,e=[]){return[t,e]}function tz(t,e){let[n,r]=t;return[n,[...r,e]]}function tW(t,e){for(let n of t[1]){let t=n[0].type;if(e(n,t))return!0}return!1}function tq(t,e){return tW(t,(t,n)=>e.includes(n))}function tX(t){let e=(0,u.getSentryCarrier)(w.GLOBAL_OBJ);return e.encodePolyfill?e.encodePolyfill(t):new TextEncoder().encode(t)}function tQ(t){let[e,n]=t,r=JSON.stringify(e);function i(t){"string"==typeof r?r="string"==typeof t?r+t:[tX(r),t]:r.push("string"==typeof t?tX(t):t)}for(let t of n){let[e,n]=t;if(i(` 3${JSON.stringify(e)} 4`),"string"==typeof n||n instanceof Uint8Array)i(n);else{let t;try{t=JSON.stringify(n)}catch{t=JSON.stringify(tH(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 tZ(t){let e="string"==typeof t?tX(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)(w.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 t0(t){return[{type:"span"},t]}function t1(t){let e="string"==typeof t.data?tX(t.data):t.data;return[{type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType},e]}t.s(["normalize",()=>tH,"normalizeToSize",()=>function t(e,n=3,r=102400){let i=tH(e,n);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>r?t(e,n-1,r):i}],45968);let t2={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 t3(t){return t in t2?t2[t]:t}function t4(t){if(!t?.sdk)return;let{name:e,version:n}=t.sdk;return{name:e,version:n}}function t5(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:J(r)},...i&&{trace:i}}}function t8(t,e,n,r){let i=t4(n);return tK({sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&e&&{dsn:J(e)}},["aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()]])}function t9(t,e,n,r){let i=t4(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=t5(t,i,r,e);return delete t.sdkProcessingMetadata,tK(a,[[{type:s},t]])}function t6(t,e){let n=tk(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:J(r)}},{beforeSendSpan:a,ignoreSpans:o}=e?.getOptions()||{},c=o?.length?t.filter(t=>{let e=tl(t);return!I({description:e.description,op:e.op,attributes:e.data},o)}):t,u=t.length-c.length;u&&e?.recordDroppedEvent("before_send","span",u);let l=a?t=>{let e=tl(t),n=tP(a)?e:a(e);return n||(tC(),e)}:tl,p=[];for(let t of c){let e=l(t);e&&p.push(t0(e))}return tK(s,p)}function t7(t,e,n,r=tN()){let i=r&&tv(r);i&&(a.DEBUG_BUILD&&p.debug.log(`[Measurement] Setting measurement on root span: ${t} = ${e} ${n}`),i.addEvent(t,{[l.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:e,[l.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:n}))}function et(t){if(!t||0===t.length)return;let e={};return t.forEach(t=>{let n=t.attributes||{},r=n[l.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT],i=n[l.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE];"string"==typeof r&&"number"==typeof i&&(e[t.name]={value:i,unit:r})}),e}t.s(["addItemToEnvelope",()=>tz,"createAttachmentEnvelopeItem",()=>t1,"createEnvelope",()=>tK,"createEventEnvelopeHeaders",()=>t5,"createSpanEnvelopeItem",()=>t0,"envelopeContainsItemType",()=>tq,"envelopeItemTypeToDataCategory",()=>t3,"forEachEnvelopeItem",()=>tW,"getSdkMetadataForEnvelopeHeader",()=>t4,"parseEnvelope",()=>tZ,"serializeEnvelope",()=>tQ],67486),t.s(["createEventEnvelope",()=>t9,"createSessionEnvelope",()=>t8,"createSpanEnvelope",()=>t6],869766),t.s(["setMeasurement",()=>t7,"timedEventsToMeasurements",()=>et],804478);class ee{constructor(t={}){this._traceId=t.traceId||(0,C.generateTraceId)(),this._spanId=t.spanId||(0,C.generateSpanId)(),this._startTime=t.startTimestamp||(0,j.timestampInSeconds)(),this._links=t.links,this._attributes={},this.setAttributes({[l.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"manual",[l.SEMANTIC_ATTRIBUTE_SENTRY_OP]:t.op,...t.attributes}),this._name=t.name,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.endTimestamp&&(this._endTime=t.endTimestamp),this._events=[],this._isStandaloneSpan=t.isStandalone,this._endTime&&this._onSpanEnded()}
4addLink(t){return this._links?this._links.push(t):this._links=[t],this}addLinks(t){return this._links?this._links.push(...t):this._links=t,this}recordException(t,e){}spanContext(){let{_spanId:t,_traceId:e,_sampled:n}=this;return{spanId:t,traceId:e,traceFlags:+!!n}}setAttribute(t,e){return void 0===e?delete this._attributes[t]:this._attributes[t]=e,this}setAttributes(t){return Object.keys(t).forEach(e=>this.setAttribute(e,t[e])),this}updateStartTime(t){this._startTime=tc(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this.setAttribute(l.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,"custom"),this}end(t){this._endTime||(this._endTime=tc(t),function(t){if(!a.DEBUG_BUILD)return;let{description:e="< unknown name >",op:n="< unknown op >"}=tl(t),{spanId:r}=t.spanContext(),i=tv(t)===t,s=`[Tracing] Finishing "${n}" ${i?"root ":""}span "${e}" with ID ${r}`;p.debug.log(s)}(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[l.SEMANTIC_ATTRIBUTE_SENTRY_OP],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:tm(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[l.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],profile_id:this._attributes[l.SEMANTIC_ATTRIBUTE_PROFILE_ID],exclusive_time:this._attributes[l.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME],measurements:et(this._events),is_segment:this._isStandaloneSpan&&tv(this)===this||void 0,segment_id:this._isStandaloneSpan?tv(this).spanContext().spanId:void 0,links:ta(this._links)}}getStreamedSpanJSON(){return{name:this._name??"",span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:this._endTime??this._startTime,is_segment:this._isStandaloneSpan||this===tv(this),status:tS(this._status),attributes:this._attributes,links:to(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,e,n){a.DEBUG_BUILD&&p.debug.log("[Tracing] Adding an event to span:",t);let r=en(e)?e:n||(0,j.timestampInSeconds)(),i=en(e)?{}:e||{},s={name:t,time:tc(r),attributes:i};return this._events.push(s),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let t=(0,s.getClient)();if(t&&(t.emit("spanEnd",this),this._isStandaloneSpan||t.emit("afterSpanEnd",this)),!(this._isStandaloneSpan||this===tv(this)))return;if(this._isStandaloneSpan)return void(this._sampled?function(t){let e=(0,s.getClient)();if(!e)return;let n=t[1];n&&0!==n.length?e.sendEnvelope(t):e.recordDroppedEvent("before_send","span")}(t6([this],t)):(a.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&&A(t))return void t.emit("afterSegmentSpanEnd",this);let e=this._convertSpanToTransaction();e&&(G(this).scope||(0,s.getCurrentScope)()).captureEvent(e)}_convertSpanToTransaction(){if(!er(tl(this)))return;this._name||(a.DEBUG_BUILD&&p.debug.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:t,isolationScope:e}=G(this),n=t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;let r=tI(this).filter(t=>{var e;return t!==this&&!((e=t)instanceof ee&&e.isStandaloneSpan())}).map(t=>tl(t)).filter(er),i=this._attributes[l.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];delete this._attributes[l.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME],r.forEach(t=>{delete t.data[l.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME]});let s={contexts:{trace:tn(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:tk(this)},request:n,...i&&{transaction_info:{source:i}}},o=et(this._events);return o&&Object.keys(o).length&&(a.DEBUG_BUILD&&p.debug.log("[Measurements] Adding measurements to transaction event",JSON.stringify(o,void 0,2)),s.measurements=o),s}}function en(t){return t&&"number"==typeof t||t instanceof Date||Array.isArray(t)}function er(t){return!!t.start_timestamp&&!!t.timestamp&&!!t.span_id&&!!t.trace_id}t.s(["SentrySpan",()=>ee],14177);let ei="__SENTRY_SUPPRESS_TRACING__";function es(t,e){let n=ef();if(n.startSpan)return n.startSpan(t,e);let r=e_(t),{forceTransaction:i,parentSpan:a,scope:o}=t,c=o?.clone();return(0,s.withScope)(c,()=>em(a)(()=>{let n=(0,s.getCurrentScope)(),o=eh(n,a),c=(0,s.getClient)(),u=t.onlyIfParent&&!o,l=u?new tw:ed({parentSpan:o,spanArguments:r,forceTransaction:i,scope:n});return u&&c?.recordDroppedEvent("no_parent_span","span"),eS(l)&&o||(0,x._setSpanForScope)(n,l),E(()=>e(l),()=>{let{status:t}=tl(l);l.isRecording()&&(!t||"ok"===t)&&l.setStatus({code:2,message:"internal_error"})},()=>{l.end()})}))}function ea(t,e){let n=ef();if(n.startSpanManual)return n.startSpanManual(t,e);let r=e_(t),{forceTransaction:i,parentSpan:a,scope:o}=t,c=o?.clone();return(0,s.withScope)(c,()=>em(a)(()=>{let n=(0,s.getCurrentScope)(),o=eh(n,a),c=t.onlyIfParent&&!o,u=c?new tw:ed({parentSpan:o,spanArguments:r,forceTransaction:i,scope:n});return c&&(0,s.getClient)()?.recordDroppedEvent("no_parent_span","span"),eS(u)&&o||(0,x._setSpanForScope)(n,u),E(()=>e(u,()=>u.end()),()=>{let{status:t}=tl(u);u.isRecording()&&(!t||"ok"===t)&&u.setStatus({code:2,message:"internal_error"})})}))}function eo(t){let e=ef();if(e.startInactiveSpan)return e.startInactiveSpan(t);let n=e_(t),{forceTransaction:r,parentSpan:i}=t;return(t.scope?e=>(0,s.withScope)(t.scope,e):void 0!==i?t=>eu(i,t):t=>t())(()=>{let e=(0,s.getCurrentScope)(),a=eh(e,i),o=(0,s.getClient)();return t.onlyIfParent&&!a?(o?.recordDroppedEvent("no_parent_span","span"),new tw):ed({parentSpan:a,spanArguments:n,forceTransaction:r,scope:e})})}let ec=(t,e)=>{let n=(0,u.getMainCarrier)(),r=(0,c.getAsyncContextStrategy)(n);if(r.continueTrace)return r.continueTrace(t,e);let{sentryTrace:i,baggage:a}=t,o=(0,s.getClient)(),l=f(a);return o&&!tt(o,l?.org_id)?ep(e):(0,s.withScope)(t=>{let n=X(i,a);return t.setPropagationContext(n),(0,x._setSpanForScope)(t,void 0),e()})};function eu(t,e){let n=ef();return n.withActiveSpan?n.withActiveSpan(t,e):(0,s.withScope)(n=>((0,x._setSpanForScope)(n,t||void 0),e(n)))}function el(t){let e=ef();return e.suppressTracing?e.suppressTracing(t):(0,s.withScope)(e=>{e.setSDKProcessingMetadata({[ei]:!0});let n=t();return e.setSDKProcessingMetadata({[ei]:void 0}),n})}function ep(t){let e=ef();return e.startNewTrace?e.startNewTrace(t):(0,s.withScope)(e=>(e.setPropagationContext({traceId:(0,C.generateTraceId)(),sampleRand:(0,R.safeMathRandom)()}
4),a.DEBUG_BUILD&&p.debug.log(`Starting a new trace with id ${e.getPropagationContext().traceId}`),eu(null,t)))}function ed({parentSpan:t,spanArguments:e,forceTransaction:n,scope:r}){var i,o;let c,u;if(!T()){let r=new tw;if(n||!t){let t={sampled:"false",sample_rate:"0",transaction:e.name,...tk(r)};tM(r,t)}return r}let d=(0,s.getClient)();if(i=d,o=e,u=i?.getOptions().ignoreSpans,i&&A(i)&&u?.length&&I({description:o.name||"",op:o.attributes?.[l.SEMANTIC_ATTRIBUTE_SENTRY_OP]||o.op,attributes:o.attributes},u))return eE(r)||d?.recordDroppedEvent("ignored","span"),new tw({dropReason:"ignored",traceId:t?.spanContext().traceId??r.getPropagationContext().traceId});let _=(0,s.getIsolationScope)();if(t&&!n)c=function(t,e,n){let{spanId:r,traceId:i}=t.spanContext(),a=eE(e),o=!a&&th(t),c=o?new ee({...n,parentSpanId:r,traceId:i,sampled:o}):new tw({traceId:i});ty(t,c);let u=(0,s.getClient)();return u&&(A(u)&&c instanceof tw&&(t instanceof tw&&t.dropReason?(c.dropReason=t.dropReason,u.recordDroppedEvent(t.dropReason,"span")):a||(c.dropReason="sample_rate",u.recordDroppedEvent("sample_rate","span"))),u.emit("spanStart",c),n.endTimestamp&&(u.emit("spanEnd",c),u.emit("afterSpanEnd",c))),c}(t,r,e),ty(t,c);else if(t){let n=tk(t),{traceId:i,spanId:s}=t.spanContext(),a=th(t);tM(c=eg({traceId:i,parentSpanId:s,...e},r,a),n)}else{let{traceId:t,dsc:n,parentSpanId:i,sampled:s}={..._.getPropagationContext(),...r.getPropagationContext()};c=eg({traceId:t,parentSpanId:i,...e},r,s),n&&tM(c,n)}return!function(t){if(!a.DEBUG_BUILD)return;let{description:e="< unknown name >",op:n="< unknown op >",parent_span_id:r}=tl(t),{spanId:i}=t.spanContext(),s=th(t),o=tv(t),c=o===t,u=`[Tracing] Starting ${s?"sampled":"unsampled"} ${c?"root ":""}span`,l=[`op: ${n}`,`name: ${e}`,`ID: ${i}`];if(r&&l.push(`parent ID: ${r}`),!c){let{op:t,description:e}=tl(o);l.push(`root ID: ${o.spanContext().spanId}`),t&&l.push(`root op: ${t}`),e&&l.push(`root description: ${e}`)}p.debug.log(`${u} 5 ${l.join("\n ")}`)}(c),$(c,r,_),c}function e_(t){let e={isStandalone:(t.experimental||{}).standalone,...t};if(t.startTime){let n={...e};return n.startTimestamp=tc(t.startTime),delete n.startTime,n}return e}function ef(){let t=(0,u.getMainCarrier)();return(0,c.getAsyncContextStrategy)(t)}function eg(t,e,n){let r=(0,s.getClient)(),i=r?.getOptions()||{},{name:o=""}=t,c={spanAttributes:{...t.attributes},spanName:o,parentSampled:n};r?.emit("beforeSampling",c,{decision:!1});let u=c.parentSampled??n,d=c.spanAttributes,_=e.getPropagationContext(),f=eE(e),[g,h,m]=f?[!1]:function(t,e,n){let r,i;if(!T(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=N(r);if(void 0===s)return a.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 ${JSON.stringify(r)} of type ${JSON.stringify(typeof r)}.`),[!1];if(!s)return a.DEBUG_BUILD&&p.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 o=n<s;return!o&&a.DEBUG_BUILD&&p.debug.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),[o,s,i]}(i,{name:o,parentSampled:u,attributes:d,parentSampleRate:N(_.dsc?.sample_rate)},_.sampleRand),S=new ee({...t,attributes:{[l.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"custom",[l.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]:void 0!==h&&m?h:void 0,...d},sampled:g});return g||!r||f||(a.DEBUG_BUILD&&p.debug.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),r.recordDroppedEvent("sample_rate",A(r)?"span":"transaction")),r&&r.emit("spanStart",S),S}function eh(t,e){if(e)return e;if(null===e)return;let n=(0,x._getSpanForScope)(t);if(!n)return;let r=(0,s.getClient)();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?tv(n):n}function em(t){return void 0!==t?e=>eu(t,e):t=>t()}function eS(t){return t instanceof tw&&"ignored"===t.dropReason}function eE(t){return!0===t.getScopeData().sdkProcessingMetadata[ei]}t.s(["continueTrace",()=>ec,"startInactiveSpan",()=>eo,"startNewTrace",()=>ep,"startSpan",()=>es,"startSpanManual",()=>ea,"suppressTracing",()=>el,"withActiveSpan",()=>eu],541193);var eT=t.i(682564);function ey(t){return new eI(e=>{e(t)})}function eb(t){return new eI((e,n)=>{n(t)})}class eI{constructor(t){this._state=0,this._handlers=[],this._runExecutor(t)}then(t,e){return new eI((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 eI((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,d.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)}}}t.s(["rejectedSyncPromise",()=>eb,"resolvedSyncPromise",()=>ey],580611);var ev=t.i(994218);function eA(t){let s=w.GLOBAL_OBJ._sentryDebugIds,a=w.GLOBAL_OBJ._debugIds;if(!s&&!a)return{};let o=s?Object.keys(s):[],c=a?Object.keys(a):[];if(i&&o.length===n&&c.length===r)return i;n=o.length,r=c.length,i={},e||(e={});let u=(n,r)=>{for(let s of n){let n=r[s],a=e?.[s];if(a&&i&&n)i[a[0]]=n,e&&(e[s]=[a[0],n]);else if(n){let r=t(s);for(let t=r.length-1;t>=0;t--){let a=r[t],o=a?.filename;if(o&&i&&e){i[o]=n,e[s]=[o,n];break}}}}};return s&&u(o,s),a&&u(c,a),i}function eN(t,e){let n=eA(t);if(!n)return[];let r=[];for(let t of e){let e=(0,tV.normalizeStackTracePath)(t);e&&n[e]&&r.push({type:"sourcemap",code_file:t,debug_id:n[e]})}return r}t.s(["getDebugImagesForResources",()=>eN,"getFilenameToDebugIdMap",()=>eA],147310);var eC=t.i(318746);function eR(t,e){var n,r,i,s,a,o,c,u;
5let l,p,{fingerprint:d,span:_,breadcrumbs:f,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),_&&((n=t).contexts={trace:tr(r=_),...n.contexts},n.sdkProcessingMetadata={dynamicSamplingContext:tk(r),...n.sdkProcessingMetadata},(l=tl(tv(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=f,p=[...a.breadcrumbs||[],...o],a.breadcrumbs=p.length?p:void 0,c=t,u=g,c.sdkProcessingMetadata={...c.sdkProcessingMetadata,...u}}function ex(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:_,transactionName:f,span:g}=e;eO(t,"extra",n),eO(t,"tags",r),eO(t,"attributes",i),eO(t,"user",s),eO(t,"contexts",a),t.sdkProcessingMetadata=(0,eC.merge)(t.sdkProcessingMetadata,c,2),o&&(t.level=o),f&&(t.transactionName=f),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,..._}}function eO(t,e,n){t[e]=(0,eC.merge)(t[e],n,1)}function eM(t,e){let n=(0,s.getGlobalScope)().getScopeData();return t&&ex(n,t.getScopeData()),e&&ex(n,e.getScopeData()),n}function eD(t,e,n,r,i,s){var o,c,u;let l,{normalizeDepth:_=3,normalizeMaxBreadth:f=1e3}=t,g={...e,event_id:e.event_id||n.event_id||(0,eT.uuid4)(),timestamp:e.timestamp||(0,j.dateTimestampInSeconds)()},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||tx,!t.release&&r&&(t.release=r),!t.dist&&i&&(t.dist=i);let a=t.request;a?.url&&s&&(a.url=(0,y.truncate)(a.url,s)),s&&t.exception?.values?.forEach(t=>{t.value&&(t.value=(0,y.truncate)(t.value,s))})})(g,t),o=g,(c=h).length>0&&(o.sdk=o.sdk||{},o.sdk.integrations=[...o.sdk.integrations||[],...c]),i&&i.emit("applyFrameMetadata",e),void 0===e.type&&(u=g,l=eA(t.stackParser),u.exception?.values?.forEach(t=>{t.stacktrace?.frames?.forEach(t=>{t.filename&&(t.debug_id=l[t.filename])})}));let m=function(t,e){if(!e)return t;let n=t?t.clone():new ev.Scope;return n.update(e),n}(r,n.captureContext);n.mechanism&&(0,eT.addExceptionMechanism)(g,n.mechanism);let S=i?i.getEventProcessors():[],E=eM(s,m),T=[...n.attachments||[],...E.attachments];T.length&&(n.attachments=T),eR(g,E);let b=[...S,...E.eventProcessors];return(n.data&&!0===n.data.__sentry__?ey(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 o=s({...e},n);return(a.DEBUG_BUILD&&null===o&&p.debug.log(`Event processor "${s.id||"?"}" dropped event`),(0,d.isThenable)(o))?o.then(e=>t(e,n,r,i+1)):t(o,n,r,i+1)}(e,n,t,r);return(0,d.isThenable)(i)?i:ey(i)}catch(t){return eb(t)}}(b,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 _&&_>0)?function(t,e,n){if(!t)return null;let r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(t=>({...t,...t.data&&{data:tH(t.data,e,n)}}))},...t.user&&{user:tH(t.user,e,n)},...t.contexts&&{contexts:tH(t.contexts,e,n)},...t.extra&&{extra:tH(t.extra,e,n)}};return t.contexts?.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=tH(t.contexts.trace.data,e,
5n))),t.spans&&(r.spans=t.spans.map(t=>({...t,...t.data&&{data:tH(t.data,e,n)}}))),t.contexts?.flags&&r.contexts&&(r.contexts.flags=tH(t.contexts.flags,3,n)),r}(t,_,f):t)}function eU(t){if(t){var e;return(e=t)instanceof ev.Scope||"function"==typeof e||Object.keys(t).some(t=>ek.includes(t))?{captureContext:t}:t}}t.s(["applyScopeDataToEvent",()=>eR,"getCombinedScopeData",()=>eM],571993);let ek=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function eB(t,e){return(0,s.getCurrentScope)().captureException(t,eU(e))}function ew(t,e){let n="string"==typeof e?e:void 0,r="string"!=typeof e?{captureContext:e}:void 0;return(0,s.getCurrentScope)().captureMessage(t,n,r)}function eL(t,e){return(0,s.getCurrentScope)().captureEvent(t,e)}function eP(t,e){(0,s.getIsolationScope)().setContext(t,e)}function e$(t){(0,s.getIsolationScope)().setExtras(t)}function eG(t,e){(0,s.getIsolationScope)().setExtra(t,e)}function ej(t){(0,s.getIsolationScope)().setTags(t)}function eF(t,e){(0,s.getIsolationScope)().setTag(t,e)}function eY(t){(0,s.getIsolationScope)().setUser(t)}function eJ(t){(0,s.getIsolationScope)().setConversationId(t)}function eV(){return(0,s.getIsolationScope)().lastEventId()}function eH(t,e){let n=(0,s.getCurrentScope)(),r=(0,s.getClient)();if(r)if(r.captureCheckIn)return r.captureCheckIn(t,e,n);else a.DEBUG_BUILD&&p.debug.warn("Cannot capture check-in. Client does not support sending check-ins.");else a.DEBUG_BUILD&&p.debug.warn("Cannot capture check-in. No client defined.");return(0,eT.uuid4)()}async function eK(t){let e=(0,s.getClient)();return e?e.flush(t):(a.DEBUG_BUILD&&p.debug.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function ez(t){let e=(0,s.getClient)();return e?e.close(t):(a.DEBUG_BUILD&&p.debug.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function eW(){return!!(0,s.getClient)()}function eq(){let t=(0,s.getClient)();return t?.getOptions().enabled!==!1&&!!t?.getTransport()}function eX(t){(0,s.getIsolationScope)().addEventProcessor(t)}function eQ(t){let e=(0,s.getIsolationScope)(),{user:n}=eM(e,(0,s.getCurrentScope)()),{userAgent:r}=w.GLOBAL_OBJ.navigator||{},i=(0,o.makeSession)({user:n,...r&&{userAgent:r},...t}),a=e.getSession();return a?.status==="ok"&&(0,o.updateSession)(a,{status:"exited"}),eZ(),e.setSession(i),i}function eZ(){let t=(0,s.getIsolationScope)(),e=(0,s.getCurrentScope)().getSession()||t.getSession();e&&(0,o.closeSession)(e),e0(),t.setSession()}function e0(){let t=(0,s.getIsolationScope)(),e=(0,s.getClient)(),n=t.getSession();n&&e&&e.captureSession(n)}function e1(t=!1){t?eZ():e0()}t.s(["parseEventHintOrCaptureContext",()=>eU,"prepareEvent",()=>eD],213186),t.s(["addEventProcessor",()=>eX,"captureCheckIn",()=>eH,"captureEvent",()=>eL,"captureException",()=>eB,"captureMessage",()=>ew,"captureSession",()=>e1,"close",()=>ez,"endSession",()=>eZ,"flush",()=>eK,"isEnabled",()=>eq,"isInitialized",()=>eW,"lastEventId",()=>eV,"setContext",()=>eP,"setConversationId",()=>eJ,"setExtra",()=>eG,"setExtras",()=>e$,"setTag",()=>eF,"setTags",()=>ej,"setUser",()=>eY,"startSession",()=>eQ],662537);let e2=null;function e3(t){e2=t.service}function e4(t){return t||e2||("u">typeof console&&!e5&&(e5=!0,console.warn('[observability] reportError called before configureObservability â service tag will be "unknown". Add configureObservability({ service: ... }) to instrumentation.ts and instrumentation-client.ts.')),"unknown")}let e5=!1;t.s(["configureObservability",()=>e3,"resolveService",()=>e4],957688)}]); 6 7//# debugId=7f6d27b3-1153-8546-2df0-42b2bd5113c9
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.