1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};t.SENTRY_RELEASE={id:"31.34.10"};var e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="6f2ce2fd-4499-46c3-a2b0-9f1031018869",t._sentryDebugIdIdentifier="sentry-dbid-6f2ce2fd-4499-46c3-a2b0-9f1031018869")}catch(t){}}(),(globalThis.webpackChunkwl_spa_front=globalThis.webpackChunkwl_spa_front||[]).push([["vendors-node_modules_sentry-client-dsn-replacer_lib_index_js-node_modules_sentry_browser_buil-155f66"],{55689(t,e,n){n.d(e,{A:()=>r});const r=function(){function t(t){this.originalDSN="",this.hostname="",this.resultDSN="",this.originalDSN=t.originalDSN,this.hostname=t.hostname,this.resultDSN=this.getDSN()}return t.prototype.isLocalhost=function(){return["localhost","127.0.0.1","::1"].includes(this.hostname)},t.prototype.getDSN=function(){if(!this.hostname||!this.originalDSN||this.isLocalhost())return this.originalDSN;var t=new URL(this.originalDSN).hostname,e=this.hostname.split(".").slice(-2),n=e[0],r=e[1];return this.originalDSN.replace(t,"err.".concat(n,".").concat(r))},t}()},4693(t,e,n){const r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;n.d(e,["T",0,r])},85761(t,e,n){n.d(e,{_:()=>c});var r=n(26131),s=n(40873),o=n(98822),i=n(14910);let a;function c(t){const e="history";(0,r.s5)(e,t),(0,r.AS)(e,u)}function u(){function t(t){return function(...e){const n=e.length>2?e[2]:void 0;if(n){const s=a,o=function(t){try{return new URL(t,i.j.location.origin).toString()}catch{return t}}(String(n));if(a=o,s===o)return t.apply(this,e);const c={from:s,to:o};(0,r.aj)("history",c)}return t.apply(this,e)}}i.j.addEventListener("popstate",(()=>{const t=i.j.location.href,e=a;if(a=t,e===t)return;const n={from:e,to:t};(0,r.aj)("history",n)})),(0,o.NJ)()&&((0,s.GS)(i.j.history,"pushState",t),(0,s.GS)(i.j.history,"replaceState",t))}},35947(t,e,n){n.d(e,{Mn:()=>c});var r=n(26131),s=n(30690),o=n(90519),i=n(14910);const a="__sentry_xhr_v3__";function c(t){(0,r.s5)("xhr",t),(0,r.AS)("xhr",u)}function u(){if(!i.j.XMLHttpRequest)return;const t=XMLHttpRequest.prototype;t.open=new Proxy(t.open,{apply(t,e,n){const i=new Error,c=1e3*(0,o.zf)(),u=(0,s.Kg)(n[0])?n[0].toUpperCase():void 0,d=function(t){if((0,s.Kg)(t))return t;try{return t.toString()}catch{}return}(n[1]);if(!u||!d)return t.apply(e,n);e[a]={method:u,url:d,request_headers:{}},"POST"===u&&d.match(/sentry_key/)&&(e.__sentry_own_request__=!0);const p=()=>{const t=e[a];if(t&&4===e.readyState){try{t.status_code=e.status}catch(t){}const n={endTimestamp:1e3*(0,o.zf)(),startTimestamp:c,xhr:e,virtualError:i};(0,r.aj)("xhr",n)}};return"onreadystatechange"in e&&"function"==typeof e.onreadystatechange?e.onreadystatechange=new Proxy(e.onreadystatechange,{apply:(t,e,n)=>(p(),t.apply(e,n))}):e.addEventListener("readystatechange",p),e.setRequestHeader=new Proxy(e.setRequestHeader,{apply(t,e,n){const[r,o]=n,i=e[a];return i&&(0,s.Kg)(r)&&(0,s.Kg)(o)&&(i.request_headers[r.toLowerCase()]=o),t.apply(e,n)}}),t.apply(e,n)}}),t.send=new Proxy(t.send,{apply(t,e,n){const s=e[a];if(!s)return t.apply(e,n);void 0!==n[0]&&(s.body=n[0]);const i={startTimestamp:1e3*(0,o.zf)(),xhr:e};return(0,r.aj)("xhr",i),t.apply(e,n)}})}n.d(e,["Er",0,a])},14910(t,e,n){const r=n(92575).O;n.d(e,["j",0,r])},49431(t,e,n){const r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;n.d(e,["T",0,r])},90452(t,e,n){n.d(e,{AP:()=>f,LV:()=>l,jN:()=>p});var r=n(64251),s=n(57968),o=n(87320),i=n(92575),a=n(44910),c=n(40873);const u=i.O;let d=0;function p(){return d>0}function l(t,e={}){if(!function(t){return"function"==typeof t}(t))return t;try{const e=t.__sentry_wrapped__;if(e)return"function"==typeof e?e:t;if((0,c.sp)(t))return t}catch(e){return t}const n=function(...n){try{const r=n.map((t=>l(t,e)));return t.apply(this,r)}catch(t){throw d++,setTimeout((()=>{d--})),(0,s.v4)((s=>{s.addEventProcessor((t=>(e.mechanism&&((0,a.gO)(t,void 0,void 0),(0,a.M6)(t,e.mechanism)),t.extra={...t.extra,arguments:n},t))),(0,r.Cp)(t)})),t}};try{for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])}catch{}(0,c.pO)(n,t),(0,c.my)(t,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>t.name})}catch{}return n}function f(){const t=(0,o.$N)(),{referrer:e}=u.document||{},{userAgent:n}=u.navigator||{};return{url:t,headers:{...e&&{Referer:e},...n&&{"User-Agent":n}}}}n.d(e,["jf",0,u])},44467(t,e,n){n.d(e,{dp:()=>Ge});var r=n(57968),s=n(26674),o=n(74611),i=n(54704),a=n(70333),c=n(5915),u=n(5602),d=n(90519),p=n(31158),l=n(30243);class f{constructor(t={}){this._traceId=t.traceId||(0,l.e)(),this._spanId=t.spanId||(0,l.Z)()}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}
1addEvent(t,e,n){return this}addLink(t){return this}addLinks(t){return this}recordException(t,e){}}var h=n(92328),m=n(95200),g=n(91773);var _=n(75330);function v(t){if(!t||0===t.length)return;const e={};return t.forEach((t=>{const n=t.attributes||{},r=n[o.Sn],s=n[o.xc];"string"==typeof r&&"number"==typeof s&&(e[t.name]={value:s,unit:r})})),e}var y=n(88728);class b{constructor(t={}){this._traceId=t.traceId||(0,l.e)(),this._spanId=t.spanId||(0,l.Z)(),this._startTime=t.startTimestamp||(0,d.zf)(),this._links=t.links,this._attributes={},this.setAttributes({[o.JD]:"manual",[o.uT]:t.op,...t.attributes}),this._name=t.name,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.endTimestamp&&(this._endTime=t.endTimestamp),this._events=[],this._isStandaloneSpan=t.isStandalone,this._endTime&&this._onSpanEnded()}addLink(t){return this._links?this._links.push(t):this._links=[t],this}addLinks(t){return this._links?this._links.push(...t):this._links=t,this}recordException(t,e){}spanContext(){const{_spanId:t,_traceId:e,_sampled:n}=this;return{spanId:t,traceId:e,traceFlags:n?1:0}}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=(0,c.cI)(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this.setAttribute(o.i_,"custom"),this}end(t){this._endTime||(this._endTime=(0,c.cI)(t),function(t){if(!s.T)return;const{description:e="< unknown name >",op:n="< unknown op >"}=(0,c.et)(t),{spanId:r}=t.spanContext(),o=`[Tracing] Finishing "${n}" ${(0,c.zU)(t)===t?"root ":""}span "${e}" with ID ${r}`;u.vF.log(o)}(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[o.uT],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:(0,c.yW)(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[o.JD],profile_id:this._attributes[o.E1],exclusive_time:this._attributes[o.jG],measurements:v(this._events),is_segment:this._isStandaloneSpan&&(0,c.zU)(this)===this||void 0,segment_id:this._isStandaloneSpan?(0,c.zU)(this).spanContext().spanId:void 0,links:(0,c.uU)(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,e,n){s.T&&u.vF.log("[Tracing] Adding an event to span:",t);const r=S(e)?e:n||(0,d.zf)(),o=S(e)?{}:e||{},i={name:t,time:(0,c.cI)(r),attributes:o};return this._events.push(i),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const t=(0,r.KU)();t&&t.emit("spanEnd",this);if(!(this._isStandaloneSpan||this===(0,c.zU)(this)))return;if(this._isStandaloneSpan)return void(this._sampled?function(t){const e=(0,r.KU)();if(!e)return;const n=t[1];if(!n||0===n.length)return void e.recordDroppedEvent("before_send","span");e.sendEnvelope(t)}((0,_.lu)([this],t)):(s.T&&u.vF.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span")));const e=this._convertSpanToTransaction();if(e){((0,y.L)(this).scope||(0,r.o5)()).captureEvent(e)}}_convertSpanToTransaction(){if(!E((0,c.et)(this)))return;this._name||(s.T&&u.vF.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:t,isolationScope:e}=(0,y.L)(this),n=t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;const r=(0,c.xO)(this).filter((t=>t!==this&&!function(t){return t instanceof b&&t.isStandaloneSpan()}(t))).map((t=>(0,c.et)(t))).filter(E),i=this._attributes[o.i_];delete this._attributes[o.Le],r.forEach((t=>{delete t.data[o.Le]}));const a={contexts:{trace:(0,c.Ck)(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:(0,p.k1)(this)},request:n,...i&&{transaction_info:{source:i}}},d=v(this._events);return d&&Object.keys(d).length&&(s.T&&u.vF.log("[Measurements] Adding measurements to transaction event",JSON.stringify(d,void 0,2)),a.measurements=d),a}}function S(t){return t&&"number"==typeof t||t instanceof Date||Array.isArray(t)}function E(t){return!!(t.start_timestamp&&t.timestamp&&t.span_id&&t.trace_id)}const T="__SENTRY_SUPPRESS_TRACING__";function x(t){const e=O();if(e.startInactiveSpan)return e.startInactiveSpan(t);const n=I(t),{forceTransaction:s,parentSpan:o}=t;return(t.scope?e=>(0,r.v4)(t.scope,e):void 0!==o?t=>k(o,t):t=>t())((()=>{const e=(0,r.o5)(),o=j(e);return t.onlyIfParent&&!o?new f:w({parentSpan:o,spanArguments:n,forceTransaction:s,scope:e})}))}function k(t,e){const n=O();return n.withActiveSpan?n.withActiveSpan(t,e):(0,r.v4)((n=>((0,a.r)(n,t||void 0),e(n))))}function w({parentSpan:t,spanArguments:e,forceTransaction:n,scope:o}){if(!(0,i.f)()){const r=new f;if(n||!t){const t={sampled:"false",sample_rate:"0",transaction:e.name,...(0,p.k1)(r)};(0,p.LZ)(r,t)}return r}const a=(0,r.rm)();let d;if(t&&!n)d=function(t,e,n){const{spanId:s,traceId:o}=t.spanContext(),i=!e.getScopeData().sdkProcessingMetadata[T]&&(0,c.pK)(t),a=i?new b({...n,parentSpanId:s,traceId:o,sampled:i}):new f({traceId:o});(0,c.Hu)(t,a);const u=(0,r.KU)();u&&(u.emit("spanStart",a),n.endTimestamp&&u.emit("spanEnd",a));return a}(t,o,e),(0,c.Hu)(t,d);else if(t){const n=(0,p.k1)(t),{traceId:r,spanId:s}=t.spanContext(),i=(0,c.pK)(t);d=$({traceId:r,parentSpanId:s,...e},o,i),(0,p.LZ)(d,n)}else{const{traceId:t,dsc:n,parentSpanId:r,sampled:s}={...a.getPropagationContext(),...o.getPropagationContext()};d=$({traceId:t,parentSpanId:r,...e},o,s),n&&(0,p.LZ)(d,n)}return function(t){if(!s.T)return;const{description:e="< unknown name >",op:n="< unknown op >",parent_span_id:r}=(0,c.et)(t),{spanId:o}=t.spanContext(),i=(0,c.pK)(t),a=(0,c.zU)(t),d=a===t,p=`[Tracing] Starting ${i?"sampled":"unsampled"} ${d?"root ":""}span`,l=[`op: ${n}`,`name: ${e}`,`ID: ${o}`];if(r&&l.push(`parent ID: ${r}
1`),!d){const{op:t,description:e}=(0,c.et)(a);l.push(`root ID: ${a.spanContext().spanId}`),t&&l.push(`root op: ${t}`),e&&l.push(`root description: ${e}`)}u.vF.log(`${p}\n ${l.join("\n ")}`)}(d),(0,y.d)(d,o,a),d}function I(t){const e={isStandalone:(t.experimental||{}).standalone,...t};if(t.startTime){const n={...e};return n.startTimestamp=(0,c.cI)(t.startTime),delete n.startTime,n}return e}function O(){const t=(0,m.EU)();return(0,h.h)(t)}function $(t,e,n){const a=(0,r.KU)(),c=a?.getOptions()||{},{name:d=""}=t,p={spanAttributes:{...t.attributes},spanName:d,parentSampled:n};a?.emit("beforeSampling",p,{decision:!1});const l=p.parentSampled??n,f=p.spanAttributes,h=e.getPropagationContext(),[m,_,v]=e.getScopeData().sdkProcessingMetadata[T]?[!1]:function(t,e,n){if(!(0,i.f)(t))return[!1];let r,o;"function"==typeof t.tracesSampler?(o=t.tracesSampler({...e,inheritOrSampleWith:t=>"number"==typeof e.parentSampleRate?e.parentSampleRate:"boolean"==typeof e.parentSampled?Number(e.parentSampled):t}),r=!0):void 0!==e.parentSampled?o=e.parentSampled:void 0!==t.tracesSampleRate&&(o=t.tracesSampleRate,r=!0);const a=(0,g.i)(o);if(void 0===a)return s.T&&u.vF.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(o)} of type ${JSON.stringify(typeof o)}.`),[!1];if(!a)return s.T&&u.vF.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,a,r];const c=n<a;return c||s.T&&u.vF.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(o)})`),[c,a,r]}(c,{name:d,parentSampled:l,attributes:f,parentSampleRate:(0,g.i)(h.dsc?.sample_rate)},h.sampleRand),y=new b({...t,attributes:{[o.i_]:"custom",[o.sy]:void 0!==_&&v?_:void 0,...f},sampled:m});return!m&&a&&(s.T&&u.vF.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),a.recordDroppedEvent("sample_rate","transaction")),a&&a.emit("spanStart",y),y}function j(t){const e=(0,a.f)(t);if(!e)return;const n=(0,r.KU)();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?(0,c.zU)(e):e}const D={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},C="heartbeatFailed",A="idleTimeout",P="finalTimeout",L="externalFinish";function R(t,e={}){const n=new Map;let l,h=!1,m=L,g=!e.disableAutoFinish;const _=[],{idleTimeout:v=D.idleTimeout,finalTimeout:y=D.finalTimeout,childSpanTimeout:b=D.childSpanTimeout,beforeSpanEnd:S}=e,E=(0,r.KU)();if(!E||!(0,i.f)()){const t=new f,e={sample_rate:"0",sampled:"false",...(0,p.k1)(t)};return(0,p.LZ)(t,e),t}
1const T=(0,r.o5)(),k=(0,c.Bk)(),w=function(t){const e=x(t);return(0,a.r)((0,r.o5)(),e),s.T&&u.vF.log("[Tracing] Started span is an idle span"),e}(t);function I(){l&&(clearTimeout(l),l=void 0)}function O(t){I(),l=setTimeout((()=>{!h&&0===n.size&&g&&(m=A,w.end(t))}),v)}function $(t){l=setTimeout((()=>{!h&&g&&(m=C,w.end(t))}),b)}function j(t){h=!0,n.clear(),_.forEach((t=>t())),(0,a.r)(T,k);const e=(0,c.et)(w),{start_timestamp:r}=e;if(!r)return;e.data[o.fs]||w.setAttribute(o.fs,m),u.vF.log(`[Tracing] Idle span "${e.op}" finished`);const i=(0,c.xO)(w).filter((t=>t!==w));let d=0;i.forEach((e=>{e.isRecording()&&(e.setStatus({code:2,message:"cancelled"}),e.end(t),s.T&&u.vF.log("[Tracing] Cancelling span since span ended early",JSON.stringify(e,void 0,2)));const n=(0,c.et)(e),{timestamp:r=0,start_timestamp:o=0}=n,i=o<=t,a=r-o<=(y+v)/1e3;if(s.T){const t=JSON.stringify(e,void 0,2);i?a||u.vF.log("[Tracing] Discarding span since it finished after idle span final timeout",t):u.vF.log("[Tracing] Discarding span since it happened after idle span was finished",t)}a&&i||((0,c.VS)(w,e),d++)})),d>0&&w.setAttribute("sentry.idle_span_discarded_spans",d)}return w.end=new Proxy(w.end,{apply(t,e,n){if(S&&S(w),e instanceof f)return;const[r,...s]=n,o=r||(0,d.zf)(),i=(0,c.cI)(o),a=(0,c.xO)(w).filter((t=>t!==w));if(!a.length)return j(i),Reflect.apply(t,e,[i,...s]);const u=a.map((t=>(0,c.et)(t).timestamp)).filter((t=>!!t)),p=u.length?Math.max(...u):void 0,l=(0,c.et)(w).start_timestamp,h=Math.min(l?l+y/1e3:1/0,Math.max(l||-1/0,Math.min(i,p||1/0)));return j(h),Reflect.apply(t,e,[h,...s])}}),_.push(E.on("spanStart",(t=>{if(h||t===w||(0,c.et)(t).timestamp)return;var e;(0,c.xO)(w).includes(t)&&(e=t.spanContext().spanId,I(),n.set(e,!0),$((0,d.zf)()+b/1e3))}))),_.push(E.on("spanEnd",(t=>{var e;h||(e=t.spanContext().spanId,n.has(e)&&n.delete(e),0===n.size&&O((0,d.zf)()+v/1e3))}))),_.push(E.on("idleSpanEnableAutoFinish",(t=>{t===w&&(g=!0,O(),n.size&&$())}))),e.disableAutoFinish||O(),setTimeout((()=>{h||(w.setStatus({code:2,message:"deadline_exceeded"}),m=P,w.end())}),y),w}var N=n(17227),F=n(77587);let M=!1;function U(){const t=(0,c.Bk)(),e=t&&(0,c.zU)(t);if(e){const t="internal_error";s.T&&u.vF.log(`[Tracing] Root span: ${t} -> Global error occurred`),e.setStatus({code:2,message:t})}}U.tag="sentry_tracingErrorCallback";var q=n(92575),H=n(8190),B=n(87320),J=n(51669),z=n(40873),K=n(2323),G=n(30690),W=n(14910),X=n(4693),V=n(20527);const Y=(t,e,n,r)=>{let s,o;return i=>{e.value>=0&&(i||r)&&(o=e.value-(s??0),(o||void 0===s)&&(s=e.value,e.delta=o,e.rating=((t,e)=>t>e[1]?"poor":t>e[0]?"needs-improvement":"good")(e.value,n),t(e)))}},Q=(t=!0)=>{const e=W.j.performance?.getEntriesByType?.("navigation")[0];if(!t||e&&e.responseStart>0&&e.responseStart<performance.now())return e},Z=()=>{const t=Q();return t?.activationStart??0},tt=(t,e=-1)=>{const n=Q();let r="navigate";n&&(W.j.document?.prerendering||Z()>0?r="prerender":W.j.document?.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-")));return{name:t,value:e,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:r}},et=new WeakMap;function nt(t,e){return et.get(t)||et.set(t,new e),et.get(t)}class rt{constructor(){rt.prototype.__init.call(this),rt.prototype.__init2.call(this)}__init(){this._sessionValue=0}__init2(){this._sessionEntries=[]}_processEntry(t){if(t.hadRecentInput)return;const e=this._sessionEntries[0],n=this._sessionEntries.at(-1);this._sessionValue&&e&&n&&t.startTime-n.startTime<1e3&&t.startTime-e.startTime<5e3?(this._sessionValue+=t.value,this._sessionEntries.push(t)):(this._sessionValue=t.value,this._sessionEntries=[t]),this._onAfterProcessingUnexpectedShift?.(t)}}const st=(t,e,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(t)){const r=new PerformanceObserver((t=>{Promise.resolve().then((()=>{e(t.getEntries())}))}));return r.observe({type:t,buffered:!0,...n}),r}}catch{}},ot=t=>{let e=!1;return()=>{e||(t(),e=!0)}};let it=-1;const at=t=>{"hidden"===W.j.document.visibilityState&&it>-1&&(it="visibilitychange"===t.type?t.timeStamp:0,ct())},ct=()=>{removeEventListener("visibilitychange",at,!0),removeEventListener("prerenderingchange",at,!0)},ut=()=>{if(W.j.document&&it<0){const t=Z(),e=W.j.document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter((e=>"hidden"===e.name&&e.startTime>t))[0]?.startTime;it=e??("hidden"!==W.j.document?.visibilityState||W.j.document?.prerendering?1/0:0),addEventListener("visibilitychange",at,!0),addEventListener("prerenderingchange",at,!0)}return{get firstHiddenTime(){return it}}},dt=t=>{W.j.document?.prerendering?addEventListener("prerenderingchange",(()=>t()),!0):t()},pt=[1800,3e3],lt=[.1,.25],ft=(t,e={})=>{((t,e={})=>{dt((()=>{const n=ut(),r=tt("FCP");let s;const o=st("paint",(t=>{for(const e of t)"first-contentful-paint"===e.name&&(o.disconnect(),e.startTime<n.firstHiddenTime&&(r.value=Math.max(e.startTime-Z(),0),r.entries.push(e),s(!0)))}));o&&(s=Y(t,r,pt,e.reportAllChanges))}))})(ot((()=>{const n=tt("CLS",0);let r;const s=nt(e,rt),o=t=>{for(const e of t)s._processEntry(e);s._sessionValue>
1n.value&&(n.value=s._sessionValue,n.entries=s._sessionEntries,r())},i=st("layout-shift",o);i&&(r=Y(t,n,lt,e.reportAllChanges),W.j.document?.addEventListener("visibilitychange",(()=>{"hidden"===W.j.document?.visibilityState&&(o(i.takeRecords()),r(!0))})),W.j?.setTimeout?.(r))})))},ht=t=>{const e=e=>{"pagehide"!==e.type&&"hidden"!==W.j.document?.visibilityState||t(e)};W.j.document&&(addEventListener("visibilitychange",e,!0),addEventListener("pagehide",e,!0))},mt=[100,300],gt=(t,e={})=>{dt((()=>{const n=ut(),r=tt("FID");let s;const o=t=>{t.startTime<n.firstHiddenTime&&(r.value=t.processingStart-t.startTime,r.entries.push(t),s(!0))},i=t=>{t.forEach(o)},a=st("first-input",i);s=Y(t,r,mt,e.reportAllChanges),a&&ht(ot((()=>{i(a.takeRecords()),a.disconnect()})))}))};let _t=0,vt=1/0,yt=0;const bt=t=>{t.forEach((t=>{t.interactionId&&(vt=Math.min(vt,t.interactionId),yt=Math.max(yt,t.interactionId),_t=yt?(yt-vt)/7+1:0)}))};let St;const Et=()=>St?_t:performance.interactionCount||0,Tt=()=>{"interactionCount"in performance||St||(St=st("event",bt,{type:"event",buffered:!0,durationThreshold:0}))};let xt=0;class kt{constructor(){kt.prototype.__init.call(this),kt.prototype.__init2.call(this)}__init(){this._longestInteractionList=[]}__init2(){this._longestInteractionMap=new Map}_resetInteractions(){xt=Et(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){const t=Math.min(this._longestInteractionList.length-1,Math.floor((Et()-xt)/50));return this._longestInteractionList[t]}_processEntry(t){if(this._onBeforeProcessingEntry?.(t),!t.interactionId&&"first-input"!==t.entryType)return;const e=this._longestInteractionList.at(-1);let n=this._longestInteractionMap.get(t.interactionId);if(n||this._longestInteractionList.length<10||t.duration>e._latency){if(n?t.duration>n._latency?(n.entries=[t],n._latency=t.duration):t.duration===n._latency&&t.startTime===n.entries[0].startTime&&n.entries.push(t):(n={id:t.interactionId,entries:[t],_latency:t.duration},this._longestInteractionMap.set(n.id,n),this._longestInteractionList.push(n)),this._longestInteractionList.sort(((t,e)=>e._latency-t._latency)),this._longestInteractionList.length>10){const t=this._longestInteractionList.splice(10);for(const e of t)this._longestInteractionMap.delete(e.id)}this._onAfterProcessingINPCandidate?.(n)}}}const wt=t=>{const e=W.j.requestIdleCallback||W.j.setTimeout;"hidden"===W.j.document?.visibilityState?t():(e(t=ot(t)),ht(t))},It=[200,500],Ot=(t,e={})=>{globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype&&dt((()=>{Tt();const n=tt("INP");let r;const s=nt(e,kt),o=t=>{wt((()=>{for(const e of t)s._processEntry(e);const e=s._estimateP98LongestInteraction();e&&e._latency!==n.value&&(n.value=e._latency,n.entries=e.entries,r())}))},i=st("event",o,{durationThreshold:e.durationThreshold??40});r=Y(t,n,It,e.reportAllChanges),i&&(i.observe({type:"first-input",buffered:!0}),ht((()=>{o(i.takeRecords()),r(!0)})))}))};class $t{_processEntry(t){this._onBeforeProcessingEntry?.(t)}}const jt=[2500,4e3],Dt=(t,e={})=>{dt((()=>{const n=ut(),r=tt("LCP");let s;const o=nt(e,$t),i=t=>{e.reportAllChanges||(t=t.slice(-1));for(const e of t)o._processEntry(e),e.startTime<n.firstHiddenTime&&(r.value=Math.max(e.startTime-Z(),0),r.entries=[e],s())},a=st("largest-contentful-paint",i);if(a){s=Y(t,r,jt,e.reportAllChanges);const n=ot((()=>{i(a.takeRecords()),a.disconnect(),s(!0)}));for(const t of["keydown","click","visibilitychange"])W.j.document&&addEventListener(t,(()=>wt(n)),{capture:!0,once:!0})}}))},Ct=[800,1800],At=t=>{W.j.document?.prerendering?dt((()=>At(t))):"complete"!==W.j.document?.readyState?addEventListener("load",(()=>At(t)),!0):setTimeout(t)},Pt=(t,e={})=>{const n=tt("TTFB"),r=Y(t,n,Ct,e.reportAllChanges);At((()=>{const t=Q();t&&(n.value=Math.max(t.responseStart-Z(),0),n.entries=[t],r(!0))}))},Lt={},Rt={};let Nt,Ft,Mt,Ut,qt;function Ht(t,e=!1){return Vt("cls",t,zt,Nt,e)}function Bt(t,e){return Yt(t,e),Rt[t]||(!function(t){const e={};"event"===t&&(e.durationThreshold=0);st(t,(e=>{Jt(t,{entries:e})}),e)}(t),Rt[t]=!0),Qt(t,e)}function Jt(t,e){const n=Lt[t];if(n?.length)for(const r of n)try{r(e)}catch(e){X.T&&u.vF.error(`Error while triggering instrumentation handler.\nType: ${t}\nName: ${(0,V.qQ)(r)}\nError:`,e)}}function zt(){return ft((t=>{Jt("cls",{metric:t}),Nt=t}),{reportAllChanges:!0})}function Kt(){return gt((t=>{Jt("fid",{metric:t}),Ft=t}))}function Gt(){return Dt((t=>{Jt("lcp",{metric:t}),Mt=t}),{reportAllChanges:!0})}function Wt(){return Pt((t=>{Jt("ttfb",{metric:t}),Ut=t}))}function Xt(){return Ot((t=>{Jt("inp",{metric:t}),qt=t}))}function Vt(t,e,n,r,s=!1){let o;return Yt(t,e),Rt[t]||(o=n(),Rt[t]=!0),r&&e({metric:r}),Qt(t,e,s?o:void 0)}function Yt(t,e){Lt[t]=Lt[t]||[],Lt[t].push(e)}function Qt(t,e,n){return()=>{n&&n();const r=Lt[t];if(!r)return;const s=r.indexOf(e);-1!==s&&r.splice(s,1)}}function Zt(t){return"number"==typeof t&&isFinite(t)}
1function te(t,e,n,{...r}){const s=(0,c.et)(t).start_timestamp;return s&&s>e&&"function"==typeof t.updateStartTime&&t.updateStartTime(e),k(t,(()=>{const t=x({startTime:e,...r});return t&&t.end(n),t}))}function ee(t){const e=(0,r.KU)();if(!e)return;const{name:n,transaction:s,attributes:o,startTime:i}=t,{release:a,environment:c,sendDefaultPii:u}=e.getOptions(),d=e.getIntegrationByName("Replay"),p=d?.getReplayId(),l=(0,r.o5)(),f=l.getUser(),h=void 0!==f?f.email||f.id||f.ip_address:void 0;let m;try{m=l.getScopeData().contexts.profile.profile_id}catch{}return x({name:n,attributes:{release:a,environment:c,user:h||void 0,profile_id:m||void 0,replay_id:p||void 0,transaction:s,"user_agent.original":W.j.navigator?.userAgent,"client.address":u?"{{auto}}":void 0,...o},startTime:i,experimental:{standalone:!0}})}function ne(){return W.j.addEventListener&&W.j.performance}function re(t){return t/1e3}function se(t){let e="unknown",n="unknown",r="";for(const s of t){if("/"===s){[e,n]=t.split("/");break}if(!isNaN(Number(s))){e="h"===r?"http":r,n=t.split(r)[1];break}r+=s}return r===t&&(e=r),{name:e,version:n}}function oe(){let t,e,n=0;if(!function(){try{return PerformanceObserver.supportedEntryTypes.includes("layout-shift")}catch{return!1}}())return;let s=!1;function i(){s||(s=!0,e&&function(t,e,n){X.T&&u.vF.log(`Sending CLS span (${t})`);const s=re(((0,d.k3)()||0)+(e?.startTime||0)),i=(0,r.o5)().getScopeData().transactionName,a=e?(0,B.Hd)(e.sources[0]?.node):"Layout shift",c={[o.JD]:"auto.http.browser.cls",[o.uT]:"ui.webvital.cls",[o.jG]:e?.duration||0,"sentry.pageload.span_id":n},p=ee({name:a,transaction:i,attributes:c,startTime:s});p&&(p.addEvent("cls",{[o.Sn]:"",[o.xc]:t}),p.end(s))}(n,t,e),a())}const a=Ht((({metric:e})=>{const r=e.entries[e.entries.length-1];r&&(n=e.value,t=r)}),!0);ht((()=>{i()})),setTimeout((()=>{const t=(0,r.KU)();if(!t)return;const n=t.on("startNavigationSpan",(()=>{i(),n?.()})),s=(0,c.Bk)();if(s){const t=(0,c.zU)(s);"pageload"===(0,c.et)(t).op&&(e=t.spanContext().spanId)}}),0)}const ie=2147483647;let ae,ce,ue=0,de={};function pe({recordClsStandaloneSpans:t}){const e=ne();if(e&&(0,d.k3)()){e.mark&&W.j.performance.mark("sentry-tracing-init");const n=Vt("fid",(({metric:t})=>{const e=t.entries[t.entries.length-1];if(!e)return;const n=re((0,d.k3)()),r=re(e.startTime);de.fid={value:t.value,unit:"millisecond"},de["mark.fid"]={value:n+r,unit:"second"}}),Kt,Ft),r=function(t,e=!1){return Vt("lcp",t,Gt,Mt,e)}((({metric:t})=>{const e=t.entries[t.entries.length-1];e&&(de.lcp={value:t.value,unit:"millisecond"},ae=e)}),!0),s=function(t){return Vt("ttfb",t,Wt,Ut)}((({metric:t})=>{t.entries[t.entries.length-1]&&(de.ttfb={value:t.value,unit:"millisecond"})})),o=t?oe():Ht((({metric:t})=>{const e=t.entries[t.entries.length-1];e&&(de.cls={value:t.value,unit:""},ce=e)}),!0);return()=>{n(),r(),s(),o?.()}}return()=>{}}function le(t,e){const n=ne(),r=(0,d.k3)();if(!n?.getEntries||!r)return;const i=re(r),a=n.getEntries(),{op:p,start_timestamp:l}=(0,c.et)(t);if(a.slice(ue).forEach((n=>{const r=re(n.startTime),s=re(Math.max(0,n.duration));if(!("navigation"===p&&l&&i+r<l))switch(n.entryType){case"navigation":!function(t,e,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach((r=>{fe(t,e,r,n)})),fe(t,e,"secureConnection",n,"TLS/SSL"),fe(t,e,"fetch",n,"cache"),fe(t,e,"domainLookup",n,"DNS"),function(t,e,n){const r=n+re(e.requestStart),s=n+re(e.responseEnd),i=n+re(e.responseStart);e.responseEnd&&(te(t,r,s,{op:"browser.request",name:e.name,attributes:{[o.JD]:"auto.ui.browser.metrics"}}),te(t,i,s,{op:"browser.response",name:e.name,attributes:{[o.JD]:"auto.ui.browser.metrics"}}))}(t,e,n)}(t,n,i);break;case"mark":case"paint":case"measure":{!function(t,e,n,r,s,i){if(["mark","measure"].includes(e.entryType)&&(0,K.Xr)(e.name,i))return;const a=Q(!1),c=re(a?a.requestStart:0),u=s+Math.max(n,c),d=s+n,p=d+r,l={[o.JD]:"auto.resource.browser.metrics"};u!==d&&(l["sentry.browser.measure_happened_before_request"]=!0,l["sentry.browser.measure_start_time"]=u);(function(t,e){try{const n=e.detail;if(!n)return;if("object"==typeof n){for(const[e,r]of Object.entries(n))if(r&&(0,G.sO)(r))t[`sentry.browser.measure.detail.${e}`]=r;else if(void 0!==r)try{t[`sentry.browser.measure.detail.${e}`]=JSON.stringify(r)}catch{}return}if((0,G.sO)(n))return void(t["sentry.browser.measure.detail"]=n);try{t["sentry.browser.measure.detail"]=JSON.stringify(n)}catch{}}catch{}})(l,e),u<=p&&te(t,u,p,{name:e.name,op:e.entryType,attributes:l})}(t,n,r,s,i,e.ignorePerformanceApiSpans);const a=ut(),c=n.startTime<a.firstHiddenTime;"first-paint"===n.name&&c&&(de.fp={value:n.startTime,unit:"millisecond"}),"first-contentful-paint"===n.name&&c&&(de.fcp={value:n.startTime,unit:"millisecond"});break}case"resource":!function(t,e,n,r,s,i,a){if("xmlhttprequest"===e.initiatorType||"fetch"===e.initiatorType)return;const c=e.initiatorType?`resource.${e.initiatorType}`:"resource.other";if(a?.includes(c))return;const u=(0,J.Dl)(n),d={[o.JD]:"auto.resource.browser.metrics"};he(d,e,"transferSize","http.response_transfer_size"),he(d,e,"encodedBodySize","http.response_content_length"),he(d,e,"decodedBodySize","http.decoded_response_content_length");const p=e.deliveryType;null!=p&&(d["http.response_delivery_type"]=p);const l=e.renderBlockingStatus;l&&(d["resource.render_blocking_status"]=l);u.protocol&&(d["url.scheme"]=u.protocol.split(":").pop());u.host&&(d["server.address"]=u.host);d["url.same_origin"]=n.includes(W.j.location.origin);const{name:f,version:h}=se(e.nextHopProtocol);d["network.protocol.name"]=f,d["network.protocol.version"]=h;const m=i+r,g=m+s;te(t,m,g,{name:n.replace(W.j.location.origin,""),op:c,attributes:d})}
1(t,n,n.name,r,s,i,e.ignoreResourceSpans)}})),ue=Math.max(a.length-1,0),function(t){const e=W.j.navigator;if(!e)return;const n=e.connection;n&&(n.effectiveType&&t.setAttribute("effectiveConnectionType",n.effectiveType),n.type&&t.setAttribute("connectionType",n.type),Zt(n.rtt)&&(de["connection.rtt"]={value:n.rtt,unit:"millisecond"}));Zt(e.deviceMemory)&&t.setAttribute("deviceMemory",`${e.deviceMemory} GB`);Zt(e.hardwareConcurrency)&&t.setAttribute("hardwareConcurrency",String(e.hardwareConcurrency))}(t),"pageload"===p){!function(t){const e=Q(!1);if(!e)return;const{responseStart:n,requestStart:r}=e;r<=n&&(t["ttfb.requestTime"]={value:n-r,unit:"millisecond"})}(de);const n=de["mark.fid"];n&&de.fid&&(te(t,n.value,n.value+re(de.fid.value),{name:"first input delay",op:"ui.action",attributes:{[o.JD]:"auto.ui.browser.metrics"}}),delete de["mark.fid"]),"fcp"in de&&e.recordClsOnPageloadSpan||delete de.cls,Object.entries(de).forEach((([t,e])=>{!function(t,e,n,r=(0,c.Bk)()){const i=r&&(0,c.zU)(r);i&&(s.T&&u.vF.log(`[Measurement] Setting measurement on root span: ${t} = ${e} ${n}`),i.addEvent(t,{[o.xc]:e,[o.Sn]:n}))}(t,e.value,e.unit)})),t.setAttribute("performance.timeOrigin",i),t.setAttribute("performance.activationStart",Z()),function(t){ae&&(ae.element&&t.setAttribute("lcp.element",(0,B.Hd)(ae.element)),ae.id&&t.setAttribute("lcp.id",ae.id),ae.url&&t.setAttribute("lcp.url",ae.url.trim().slice(0,200)),null!=ae.loadTime&&t.setAttribute("lcp.loadTime",ae.loadTime),null!=ae.renderTime&&t.setAttribute("lcp.renderTime",ae.renderTime),t.setAttribute("lcp.size",ae.size));ce?.sources&&ce.sources.forEach(((e,n)=>t.setAttribute(`cls.source.${n+1}`,(0,B.Hd)(e.node))))}(t)}ae=void 0,ce=void 0,de={}}function fe(t,e,n,r,s=n){const i=function(t){if("secureConnection"===t)return"connectEnd";if("fetch"===t)return"domainLookupStart";return`${t}End`}(n),a=e[i],c=e[`${n}Start`];c&&a&&te(t,r+re(c),r+re(a),{op:`browser.${s}`,name:e.name,attributes:{[o.JD]:"auto.ui.browser.metrics",..."redirect"===n&&null!=e.redirectCount?{"http.redirect_count":e.redirectCount}:{}}})}function he(t,e,n,r){const s=e[n];null!=s&&s<ie&&(t[r]=s)}const me=[],ge=new Map;function _e(){if(ne()&&(0,d.k3)()){const t=Vt("inp",ye,Xt,qt);return()=>{t()}}return()=>{}}const ve={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};const ye=({metric:t})=>{if(null==t.value)return;const e=re(t.value);if(e>60)return;const n=t.entries.find((e=>e.duration===t.value&&ve[e.name]));if(!n)return;const{interactionId:s}=n,i=ve[n.name],a=re((0,d.k3)()+n.startTime),u=(0,c.Bk)(),p=u?(0,c.zU)(u):void 0,l=(null!=s?ge.get(s):void 0)||p,f=l?(0,c.et)(l).description:(0,r.o5)().getScopeData().transactionName,h=ee({name:(0,B.Hd)(n.target),transaction:f,attributes:{[o.JD]:"auto.http.browser.inp",[o.uT]:`ui.interaction.${i}`,[o.jG]:n.duration},startTime:a});h&&(h.addEvent("inp",{[o.Sn]:"millisecond",[o.xc]:t.value}),h.end(a+e))};var be=n(85761),Se=n(49431),Ee=n(90452);const Te=3600,xe="sentry_previous_trace",ke="sentry.previous_trace";function we(t,{linkPreviousTrace:e,consistentTraceSampling:n}){const s="session-storage"===e;let i=s?function(){try{const t=Ee.jf.sessionStorage?.getItem(xe);return JSON.parse(t)}catch(t){return}}():void 0;t.on("spanStart",(t=>{if((0,c.zU)(t)!==t)return;const e=(0,r.o5)().getPropagationContext();i=function(t,e,n){const r=(0,c.et)(e);function s(){try{return Number(n.dsc?.sample_rate)??Number(r.data?.[o.sy])}catch{return 0}}const i={spanContext:e.spanContext(),startTimestamp:r.start_timestamp,sampleRate:s(),sampleRand:n.sampleRand};if(!t)return i;const a=t.spanContext;if(a.traceId===r.trace_id)return t;Date.now()/1e3-t.startTimestamp<=Te&&(Se.T&&u.vF.info(`Adding previous_trace ${a} link to span ${{op:r.op,...e.spanContext()}}`),e.addLink({context:a,attributes:{[o.Lc]:"previous_trace"}}),e.setAttribute(ke,`${a.traceId}-${a.spanId}-${Ie(a)?1:0}`));return i}(i,t,e),s&&function(t){try{Ee.jf.sessionStorage.setItem(xe,JSON.stringify(t))}catch(t){Se.T&&u.vF.warn("Could not store previous trace in sessionStorage",t)}}(i)}));let a=!0;n&&t.on("beforeSampling",(t=>{if(!i)return;const e=(0,r.o5)(),n=e.getPropagationContext();a&&n.parentSpanId?a=!1:(e.setPropagationContext({...n,dsc:{...n.dsc,sample_rate:String(i.sampleRate),sampled:String(Ie(i.spanContext))},sampleRand:i.sampleRand}),t.parentSampled=Ie(i.spanContext),t.parentSampleRate=i.sampleRate,t.spanAttributes={...t.spanAttributes,[o.Ef]:i.sampleRate})}))}function Ie(t){return 1===t.traceFlags}var Oe=n(66220),$e=n(8922);const je=1,De=2;function Ce(t,e){t.setAttribute("http.response.status_code",e);const n=function(t){if(t<400&&t>=100)return{code:je};if(t>=400&&t<500)switch(t){case 401:return{code:De,message:"unauthenticated"};case 403:return{code:De,message:"permission_denied"};case 404:return{code:De,message:"not_found"};case 409:return{code:De,message:"already_exists"};case 413:return{code:De,message:"failed_precondition"};case 429:return{code:De,message:"resource_exhausted"};case 499:return{code:De,message:"cancelled"};default:return{code:De,message:"invalid_argument"}}if(t>=500&&t<600)switch(t){case 501:return{code:De,message:"unimplemented"};case 503:return{code:De,message:"unavailable"};case 504:return{code:De,message:"deadline_exceeded"};default:return{code:De,message:"internal_error"}}return{code:De,message:"unknown_error"}}(e);"unknown_error"!==n.message&&t.setStatus(n)}var Ae=n(64251);function Pe(t={}){const e=(0,r.KU)();if(!(0,Ae.Ol)()||!e)return{};const n=(0,m.EU)(),s=(0,h.h)(n);if(s.getTraceData)return s.getTraceData(t);const o=(0,r.o5)(),i=t.span||(0,c.Bk)(),a=i?(0,c.Qh)(i):function(t){const{traceId:e,sampled:n,propagationSpanId:r}=t.getPropagationContext();return(0,H.TC)(e,r,n)}(o),d=i?(0,p.k1)(i):(0,p.ao)(e,o),l=(0,$e.De)(d);return H.MI.test(a)?{"sentry-trace":a,baggage:l}:(u.vF.warn("Invalid sentry-trace data. Cannot generate trace data"),{})}function Le(t,e,n,s,o="auto.http.browser"){if(!t.fetchData)return;const{method:a,url:u}=t.fetchData,d=(0,i.f)()&&e(u);if(t.endTimestamp&&d){const e=t.fetchData.__span;if(!e)return;const n=s[e];return void(n&&(!function(t,e){if(e.response){Ce(t,e.response.status);const n=e.response?.headers&&e.response.headers.get("content-length");if(n){const e=parseInt(n);e>0&&t.setAttribute("http.response_content_length",e)}}else e.error&&t.setStatus({code:2,message:"internal_error"});t.end()}(n,t),delete s[e]))}const p=!!(0,c.Bk)(),l=d&&p?x(function(t,e,n){const r=(0,J.kg)(t);return{name:r?`${e} ${(0,J.CH)(r)}`:e,attributes:Ne(t,r,e,n)}}(u,a,o)):new f;if(t.fetchData.__span=l.spanContext().spanId,s[l.spanContext().spanId]=l,n(t.fetchData.url)){const e=t.args[0],n=t.args[1]||{},r=function(t,e,n){const r=Pe({span:n}),s=r["sentry-trace"],o=r.baggage;if(!s)return;const i=e.headers||((0,G.ks)(t)?t.headers:void 0);if(i){if(function(t){return"undefined"!=typeof Headers&&(0,G.tH)(t,Headers)}(i)){const t=new Headers(i);if(t.get("sentry-trace")||t.set("sentry-trace",s),o){const e=t.get("baggage");e?Re(e)||t.set("baggage",`${e},${o}`):t.set("baggage",o)}return t}if(Array.isArray(i)){const t=[...i];i.find((t=>
1"sentry-trace"===t[0]))||t.push(["sentry-trace",s]);const e=i.find((t=>"baggage"===t[0]&&Re(t[1])));return o&&!e&&t.push(["baggage",o]),t}{const t="sentry-trace"in i?i["sentry-trace"]:void 0,e="baggage"in i?i.baggage:void 0,n=e?Array.isArray(e)?[...e]:[e]:[],r=e&&(Array.isArray(e)?e.find((t=>Re(t))):Re(e));return o&&!r&&n.push(o),{...i,"sentry-trace":t??s,baggage:n.length>0?n.join(","):void 0}}}return{...r}}(e,n,(0,i.f)()&&p?l:void 0);r&&(t.args[1]=n,n.headers=r)}const h=(0,r.KU)();if(h){const e={input:t.args,response:t.response,startTimestamp:t.startTimestamp,endTimestamp:t.endTimestamp};h.emit("beforeOutgoingRequestSpan",l,e)}return l}function Re(t){return t.split(",").some((t=>t.trim().startsWith($e.sv)))}function Ne(t,e,n,r){const s={url:t,type:"fetch","http.method":n,[o.JD]:r,[o.uT]:"http.client"};return e&&((0,J.nt)(e)||(s["http.url"]=e.href,s["server.address"]=e.host),e.search&&(s["http.query"]=e.search),e.hash&&(s["http.fragment"]=e.hash)),s}var Fe=n(35947);const Me=new WeakMap,Ue=new Map,qe={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function He(t,e){const{traceFetch:n,traceXHR:s,trackFetchStreamPerformance:a,shouldCreateSpanForRequest:u,enableHTTPTimings:d,tracePropagationTargets:p,onRequestSpanStart:l}={...qe,...e},h="function"==typeof u?u:t=>!0,m=t=>function(t,e){const n=(0,B.$N)();if(n){let r,s;try{r=new URL(t,n),s=new URL(n).origin}catch(t){return!1}const o=r.origin===s;return e?(0,K.Xr)(r.toString(),e)||o&&(0,K.Xr)(r.pathname,e):o}{const n=!!t.match(/^\/(?!\/)/);return e?(0,K.Xr)(t,e):n}}(t,p),g={};n&&(t.addEventProcessor((t=>("transaction"===t.type&&t.spans&&t.spans.forEach((t=>{if("http.client"===t.op){const e=Ue.get(t.span_id);e&&(t.timestamp=e/1e3,Ue.delete(t.span_id))}})),t))),a&&(0,Oe.B$)((t=>{if(t.response){const e=Me.get(t.response);e&&t.endTimestamp&&Ue.set(e,t.endTimestamp)}})),(0,Oe.ur)((t=>{const e=Le(t,h,m,g);if(t.response&&t.fetchData.__span&&Me.set(t.response,t.fetchData.__span),e){const n=ze(t.fetchData.url),r=n?(0,J.Dl)(n).host:void 0;e.setAttributes({"http.url":n,"server.address":r}),d&&Be(e),l?.(e,{headers:t.headers})}}))),s&&(0,Fe.Mn)((t=>{const e=function(t,e,n,s){const a=t.xhr,u=a?.[Fe.Er];if(!a||a.__sentry_own_request__||!u)return;const{url:d,method:p}=u,l=(0,i.f)()&&e(d);if(t.endTimestamp&&l){const t=a.__sentry_xhr_span_id__;if(!t)return;const e=s[t];return void(e&&void 0!==u.status_code&&(Ce(e,u.status_code),e.end(),delete s[t]))}const h=ze(d),m=h?(0,J.Dl)(h):(0,J.Dl)(d),g=(0,J.f)(d),_=!!(0,c.Bk)(),v=l&&_?x({name:`${p} ${g}`,attributes:{url:d,type:"xhr","http.method":p,"http.url":h,"server.address":m?.host,[o.JD]:"auto.http.browser",[o.uT]:"http.client",...m?.search&&{"http.query":m?.search},...m?.hash&&{"http.fragment":m?.hash}}}):new f;a.__sentry_xhr_span_id__=v.spanContext().spanId,s[a.__sentry_xhr_span_id__]=v,n(d)&&function(t,e){const{"sentry-trace":n,baggage:r}=Pe({span:e});n&&function(t,e,n){const r=t.__sentry_xhr_v3__?.request_headers;if(r?.["sentry-trace"])return;try{if(t.setRequestHeader("sentry-trace",e),n){const e=r?.baggage;e&&e.split(",").some((t=>t.trim().startsWith("sentry-")))||t.setRequestHeader("baggage",n)}}catch(t){}}(t,n,r)}(a,(0,i.f)()&&_?v:void 0);const y=(0,r.KU)();y&&y.emit("beforeOutgoingRequestSpan",v,t);return v}(t,h,m,g);if(e){let n;d&&Be(e);try{n=new Headers(t.xhr.__sentry_xhr_v3__?.request_headers)}catch{}l?.(e,{headers:n})}}))}function Be(t){const{url:e}=(0,c.et)(t).data;if(!e||"string"!=typeof e)return;
1const n=Bt("resource",(({entries:r})=>{r.forEach((r=>{if(function(t){return"resource"===t.entryType&&"initiatorType"in t&&"string"==typeof t.nextHopProtocol&&("fetch"===t.initiatorType||"xmlhttprequest"===t.initiatorType)}(r)&&r.name.endsWith(e)){(function(t){const{name:e,version:n}=se(t.nextHopProtocol),r=[];if(r.push(["network.protocol.version",n],["network.protocol.name",e]),!(0,d.k3)())return r;return[...r,["http.request.redirect_start",Je(t.redirectStart)],["http.request.fetch_start",Je(t.fetchStart)],["http.request.domain_lookup_start",Je(t.domainLookupStart)],["http.request.domain_lookup_end",Je(t.domainLookupEnd)],["http.request.connect_start",Je(t.connectStart)],["http.request.secure_connection_start",Je(t.secureConnectionStart)],["http.request.connection_end",Je(t.connectEnd)],["http.request.request_start",Je(t.requestStart)],["http.request.response_start",Je(t.responseStart)],["http.request.response_end",Je(t.responseEnd)]]})(r).forEach((e=>t.setAttribute(...e))),setTimeout(n)}}))}))}function Je(t=0){return(((0,d.k3)()||performance.timeOrigin)+t)/1e3}function ze(t){try{return new URL(t,Ee.jf.location.origin).href}catch{return}}const Ke={...D,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],linkPreviousTrace:"in-memory",consistentTraceSampling:!1,_experiments:{},...qe},Ge=(t={})=>{const e={name:void 0,source:void 0},n=Ee.jf.document,{enableInp:s,enableLongTask:i,enableLongAnimationFrame:a,_experiments:{enableInteractions:f,enableStandaloneClsSpans:h},beforeStartSpan:m,idleTimeout:g,finalTimeout:_,childSpanTimeout:v,markBackgroundSpan:y,traceFetch:b,traceXHR:S,trackFetchStreamPerformance:E,shouldCreateSpanForRequest:T,enableHTTPTimings:x,ignoreResourceSpans:k,ignorePerformanceApiSpans:w,instrumentPageLoad:I,instrumentNavigation:O,linkPreviousTrace:$,consistentTraceSampling:j,onRequestSpanStart:D}={...Ke,...t};let C;function A(t,s){const i="pageload"===s.op,a=m?m(s):s,u=a.attributes||{};s.name!==a.name&&(u[o.i_]="custom",a.attributes=u),e.name=a.name,e.source=u[o.i_];const d=R(a,{idleTimeout:g,finalTimeout:_,childSpanTimeout:v,disableAutoFinish:i,beforeSpanEnd:e=>{C?.(),le(e,{recordClsOnPageloadSpan:!h,ignoreResourceSpans:k,ignorePerformanceApiSpans:w}),Ye(t,void 0);const n=(0,r.o5)(),s=n.getPropagationContext();n.setPropagationContext({...s,traceId:d.spanContext().traceId,sampled:(0,c.pK)(d),dsc:(0,p.k1)(e)})}});function l(){n&&["interactive","complete"].includes(n.readyState)&&t.emit("idleSpanEnableAutoFinish",d)}Ye(t,d),i&&n&&(n.addEventListener("readystatechange",(()=>{l()})),l())}return{name:"BrowserTracing",setup(t){function e(){const e=Ve(t);e&&!(0,c.et)(e).timestamp&&(Se.T&&u.vF.log(`[Tracing] Finishing current active span with op: ${(0,c.et)(e).op}`),e.setAttribute(o.fs,"cancelled"),e.end())}M||(M=!0,(0,N.L)(U),(0,F.r)(U)),C=pe({recordClsStandaloneSpans:h||!1}),s&&_e(),a&&q.O.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?new PerformanceObserver((t=>{const e=(0,c.Bk)();if(e)for(const n of t.getEntries()){if(!n.scripts[0])continue;const t=re((0,d.k3)()+n.startTime),{start_timestamp:r,op:s}=(0,c.et)(e);if("navigation"===s&&r&&t<r)continue;const i=re(n.duration),a={[o.JD]:"auto.ui.browser.metrics"},u=n.scripts[0],{invoker:p,invokerType:l,sourceURL:f,sourceFunctionName:h,sourceCharPosition:m}=u;a["browser.script.invoker"]=p,a["browser.script.invoker_type"]=l,f&&(a["code.filepath"]=f),h&&(a["code.function"]=h),-1!==m&&(a["browser.script.source_char_position"]=m),te(e,t,t+i,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:a})}})).observe({type:"long-animation-frame",buffered:!0}):i&&Bt("longtask",(({entries:t})=>{const e=(0,c.Bk)();if(!e)return;const{op:n,start_timestamp:r}=(0,c.et)(e);for(const s of t){const t=re((0,d.k3)()+s.startTime),i=re(s.duration);"navigation"===n&&r&&t<r||te(e,t,t+i,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[o.JD]:"auto.ui.browser.metrics"}})}})),f&&Bt("event",(({entries:t})=>{const e=(0,c.Bk)();if(e)for(const n of t)if("click"===n.name){const t=re((0,d.k3)()+n.startTime),r=re(n.duration),s={name:(0,B.Hd)(n.target),op:`ui.interaction.${n.name}`,startTime:t,attributes:{[o.JD]:"auto.ui.browser.metrics"}},i=(0,B.xE)(n.target);i&&(s.attributes["ui.component_name"]=i),te(e,t,t+r,s)}})),t.on("startNavigationSpan",(n=>{if((0,r.KU)()!==t)return;e(),(0,r.rm)().setPropagationContext({traceId:(0,l.e)(),sampleRand:Math.random()});const s=(0,r.o5)();s.setPropagationContext({traceId:(0,l.e)(),sampleRand:Math.random()}),s.setSDKProcessingMetadata({normalizedRequest:void 0}),A(t,{op:"navigation",...n})})),t.on("startPageLoadSpan",((n,s={})=>
1{if((0,r.KU)()!==t)return;e();const o=s.sentryTrace||We("sentry-trace"),i=s.baggage||We("baggage"),a=(0,H.kM)(o,i),c=(0,r.o5)();c.setPropagationContext(a),c.setSDKProcessingMetadata({normalizedRequest:(0,Ee.AP)()}),A(t,{op:"pageload",...n})}))},afterAllSetup(t){let n=(0,B.$N)();if("off"!==$&&we(t,{linkPreviousTrace:$,consistentTraceSampling:j}),Ee.jf.location){if(I){const e=(0,d.k3)();!function(t,e,n){t.emit("startPageLoadSpan",e,n),(0,r.o5)().setTransactionName(e.name),Ve(t)}(t,{name:Ee.jf.location.pathname,startTime:e?e/1e3:void 0,attributes:{[o.i_]:"url",[o.JD]:"auto.pageload.browser"}})}O&&(0,be._)((({to:e,from:s})=>{if(void 0===s&&-1!==n?.indexOf(e))return void(n=void 0);n=void 0;const i=(0,J.kg)(e);!function(t,e){t.emit("startNavigationSpan",e),(0,r.o5)().setTransactionName(e.name),Ve(t)}(t,{name:i?.pathname||Ee.jf.location.pathname,attributes:{[o.i_]:"url",[o.JD]:"auto.navigation.browser"}}),(0,r.o5)().setSDKProcessingMetadata({normalizedRequest:{...(0,Ee.AP)(),url:e}})}))}y&&(Ee.jf.document?Ee.jf.document.addEventListener("visibilitychange",(()=>{const t=(0,c.Bk)();if(!t)return;const e=(0,c.zU)(t);if(Ee.jf.document.hidden&&e){const t="cancelled",{op:n,status:r}=(0,c.et)(e);Se.T&&u.vF.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${n}`),r||e.setStatus({code:2,message:t}),e.setAttribute("sentry.cancellation_reason","document.hidden"),e.end()}})):Se.T&&u.vF.warn("[Tracing] Could not set up background tab detection due to lack of global document")),f&&function(t,e,n,r,s){const i=Ee.jf.document;let a;const d=()=>{const i="ui.action.click",d=Ve(t);if(d){const t=(0,c.et)(d).op;if(["navigation","pageload"].includes(t))return void(Se.T&&u.vF.warn(`[Tracing] Did not create ${i} span because a pageload or navigation span is in progress.`))}a&&(a.setAttribute(o.fs,"interactionInterrupted"),a.end(),a=void 0),s.name?a=R({name:s.name,op:i,attributes:{[o.i_]:s.source||"url"}},{idleTimeout:e,finalTimeout:n,childSpanTimeout:r}):Se.T&&u.vF.warn(`[Tracing] Did not create ${i} transaction because _latestRouteName is missing.`)};i&&addEventListener("click",d,{once:!1,capture:!0})}(t,g,_,v,e),s&&function(){const t=({entries:t})=>{const e=(0,c.Bk)(),n=e&&(0,c.zU)(e);t.forEach((t=>{if(!function(t){return"duration"in t}(t)||!n)return;const e=t.interactionId;if(null!=e&&!ge.has(e)){if(me.length>10){const t=me.shift();ge.delete(t)}me.push(e),ge.set(e,n)}}))};Bt("event",t),Bt("first-input",t)}(),He(t,{traceFetch:b,traceXHR:S,trackFetchStreamPerformance:E,tracePropagationTargets:t.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:T,enableHTTPTimings:x,onRequestSpanStart:D})}}};function We(t){const e=Ee.jf.document,n=e?.querySelector(`meta[name=${t}]`);return n?.getAttribute("content")||void 0}const Xe="_sentry_idleSpan";function Ve(t){return t[Xe]}function Ye(t,e){(0,z.my)(t,Xe,e)}},92328(t,e,n){n.d(e,{h:()=>p});var r=n(95200),s=n(94988);var o=n(30690);class i{constructor(t,e){let n,r;n=t||new s.H,r=e||new s.H,this._stack=[{scope:n}],this._isolationScope=r}withScope(t){const e=this._pushScope();let n;try{n=t(e)}catch(t){throw this._popScope(),t}return(0,o.Qg)(n)?n.then((t=>(this._popScope(),t)),(t=>{throw this._popScope(),t})):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function a(){const t=(0,r.EU)(),e=(0,r.Se)(t);return e.stack=e.stack||new i((0,r.BY)("defaultCurrentScope",(()=>new s.H)),(0,r.BY)("defaultIsolationScope",(()=>new s.H)))}function c(t){return a().withScope(t)}function u(t,e){const n=a();return n.withScope((()=>(n.getStackTop().scope=t,e(t))))}function d(t){return a().withScope((()=>t(a().getIsolationScope())))}function p(t){const e=(0,r.Se)(t);return e.acs?e.acs:{withIsolationScope:d,withScope:c,withSetScope:u,withSetIsolationScope:(t,e)=>d(e),getCurrentScope:()=>a().getScope(),getIsolationScope:()=>a().getIsolationScope()}}},95200(t,e,n){n.d(e,{BY:()=>i,EU:()=>s,Se:()=>o});var r=n(92575);function s(){return o(r.O),r.O}function o(t){const e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||"9.30.0",e["9.30.0"]=e["9.30.0"]||{}}function i(t,e,n=r.O){const s=n.__SENTRY__=n.__SENTRY__||{},o=s["9.30.0"]=s["9.30.0"]||{};
1return o[t]||(o[t]=e())}},7313(t,e,n){n.d(e,["U",0,"production"])},57968(t,e,n){n.d(e,{KU:()=>p,m6:()=>u,o5:()=>a,rm:()=>c,v4:()=>d,vn:()=>l});var r=n(92328),s=n(95200),o=n(94988),i=n(30243);function a(){const t=(0,s.EU)();return(0,r.h)(t).getCurrentScope()}function c(){const t=(0,s.EU)();return(0,r.h)(t).getIsolationScope()}function u(){return(0,s.BY)("globalScope",(()=>new o.H))}function d(...t){const e=(0,s.EU)(),n=(0,r.h)(e);if(2===t.length){const[e,r]=t;return e?n.withSetScope(e,r):n.withScope(r)}return n.withScope(t[0])}function p(){return a().getClient()}function l(t){const e=t.getPropagationContext(),{traceId:n,parentSpanId:r,propagationSpanId:s}=e,o={trace_id:n,span_id:s||(0,i.Z)()};return r&&(o.parent_span_id=r),o}},26674(t,e,n){const r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;n.d(e,["T",0,r])},75330(t,e,n){n.d(e,{LE:()=>a,V7:()=>c,lu:()=>u});var r=n(31158),s=n(5915),o=n(87961),i=n(87202);function a(t,e,n,r){const s=(0,i.Cj)(n),a={sent_at:(new Date).toISOString(),...s&&{sdk:s},...!!r&&e&&{dsn:(0,o.SB)(e)}},c="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()];return(0,i.h4)(a,[c])}function c(t,e,n,r){const s=(0,i.Cj)(n),o=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){e&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=[...t.sdk.integrations||[],...e.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...e.packages||[]])}(t,n?.sdk);const a=(0,i.n2)(t,s,r,e);delete t.sdkProcessingMetadata;const c=[{type:o},t];return(0,i.h4)(a,[c])}function u(t,e){const n=(0,r.k1)(t[0]),a=e?.getDsn(),c=e?.getOptions().tunnel,u={sent_at:(new Date).toISOString(),...function(t){return!!t.trace_id&&!!t.public_key}(n)&&{trace:n},...!!c&&a&&{dsn:(0,o.SB)(a)}},d=e?.getOptions().beforeSendSpan,p=d?t=>{const e=(0,s.et)(t),n=d(e);return n||((0,s.xl)(),e)}:s.et,l=[];for(const e of t){const t=p(e);t&&l.push((0,i.y5)(t))}return(0,i.h4)(u,l)}},64251(t,e,n){n.d(e,{Cp:()=>a,J0:()=>p,J5:()=>h,Ol:()=>d,o:()=>u,r:()=>c});var r=n(57968),s=n(59328),o=n(45333),i=n(92575);function a(t,e){return(0,r.o5)().captureException(t,(0,o.li)(e))}function c(t,e){return(0,r.o5)().captureEvent(t,e)}function u(t,e){(0,r.rm)().setContext(t,e)}function d(){const t=(0,r.KU)();return!1!==t?.getOptions().enabled&&!!t?.getTransport()}function p(t){const e=(0,r.rm)(),n=(0,r.o5)(),{userAgent:o}=i.O.navigator||{},a=(0,s.fj)({user:n.getUser()||e.getUser(),...o&&{userAgent:o},...t}),c=e.getSession();return"ok"===c?.status&&(0,s.qO)(c,{status:"exited"}),l(),e.setSession(a),a}function l(){const t=(0,r.rm)(),e=(0,r.o5)().getSession()||t.getSession();e&&(0,s.Vu)(e),f(),t.setSession()}function f(){const t=(0,r.rm)(),e=(0,r.KU)(),n=t.getSession();n&&e&&e.captureSession(n)}function h(t=!1){t?l():f()}},94988(t,e,n){n.d(e,{H:()=>l});var r=n(59328),s=n(45734),o=n(70333),i=n(30690),a=n(5602),c=n(44910),u=n(30243),d=n(2323),p=n(90519);class l{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:(0,u.e)(),sampleRand:Math.random()}}clone(){const t=new l;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},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,(0,o.r)(t,(0,o.f)(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&(0,r.qO)(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this._tags={...this._tags,[t]:e},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;const e="function"==typeof t?t(this):t,n=e instanceof l?e.getScopeData():(0,i.Qd)(e)?t:void 0,{tags:r,extra:s,user:o,contexts:a,level:c,fingerprint:u=[],propagationContext:d}=n||{};return this._tags={...this._tags,...r},this._extra={...this._extra,...s},this._contexts={...this._contexts,...a},o&&Object.keys(o).length&&(this._user=o),c&&(this._level=c),u.length&&(this._fingerprint=u),d&&(this._propagationContext=d),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,(0,o.r)(this,void 0),this._attachments=[],this.setPropagationContext({traceId:(0,u.e)(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(t,e){const n="number"==typeof e?e:100;if(n<=0)return this;const r={timestamp:(0,p.lu)(),...t,message:t.message?(0,d.xv)(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,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:(0,o.f)(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=(0,s.h)(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}
1captureException(t,e){const n=e?.event_id||(0,c.eJ)();if(!this._client)return a.vF.warn("No client configured on scope - will not capture exception!"),n;const r=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:r,...e,event_id:n},this),n}captureMessage(t,e,n){const r=n?.event_id||(0,c.eJ)();if(!this._client)return a.vF.warn("No client configured on scope - will not capture message!"),r;const s=new Error(t);return this._client.captureMessage(t,e,{originalException:t,syntheticException:s,...n,event_id:r},this),r}captureEvent(t,e){const n=e?.event_id||(0,c.eJ)();return this._client?(this._client.captureEvent(t,{...e,event_id:n},this),n):(a.vF.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)}}},74611(t,e,n){n.d(e,["E1",0,"sentry.profile_id","Ef",0,"sentry.previous_trace_sample_rate","JD",0,"sentry.origin","Lc",0,"sentry.link.type","Le",0,"sentry.custom_span_name","Sn",0,"sentry.measurement_unit","fs",0,"sentry.idle_span_finish_reason","i_",0,"sentry.source","jG",0,"sentry.exclusive_time","sy",0,"sentry.sample_rate","uT",0,"sentry.op","xc",0,"sentry.measurement_value"])},59328(t,e,n){n.d(e,{Vu:()=>a,fj:()=>o,qO:()=>i});var r=n(44910),s=n(90519);function o(t){const e=(0,s.zf)(),n={sid:(0,r.eJ)(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(t){return{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}}}(n)};return t&&i(n,t),n}function i(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.zf)(),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,r.eJ)()),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{const 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 a(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),i(t,n)}},31158(t,e,n){n.d(e,{LZ:()=>f,ao:()=>m,k1:()=>g});var r=n(7313),s=n(57968),o=n(74611),i=n(54704),a=n(5915),c=n(8922),u=n(87961),d=n(40873),p=n(88728);const l="_frozenDsc";function f(t,e){const n=t;(0,d.my)(n,l,e)}function h(t,e){const n=e.getOptions(),{publicKey:s,host:o}=e.getDsn()||{};let i;n.orgId?i=String(n.orgId):o&&(i=(0,u.ay)(o));const a={environment:n.environment||r.U,release:n.release,public_key:s,trace_id:t,org_id:i};return e.emit("createDsc",a),a}function m(t,e){const n=e.getPropagationContext();return n.dsc||h(n.traceId,t)}function g(t){const e=(0,s.KU)();if(!e)return{};const n=(0,a.zU)(t),r=(0,a.et)(n),u=r.data,d=n.spanContext().traceState,f=d?.get("sentry.sample_rate")??u[o.sy]??u[o.Ef];function m(t){return"number"!=typeof f&&"string"!=typeof f||(t.sample_rate=`${f}`),t}const g=n[l];if(g)return m(g);const _=d?.get("sentry.dsc"),v=_&&(0,c.yD)(_);if(v)return m(v);const y=h(t.spanContext().traceId,e),b=u[o.i_],S=r.description;return"url"!==b&&S&&(y.transaction=S),(0,i.f)()&&(y.sampled=String((0,a.pK)(n)),y.sample_rand=d?.get("sentry.sample_rand")??(0,p.L)(n).scope?.getPropagationContext().sampleRand.toString()),m(y),e.emit("createDsc",y,n),y}},88728(t,e,n){n.d(e,{L:()=>a,d:()=>i});var r=n(40873);const s="_sentryScope",o="_sentryIsolationScope";function i(t,e,n){t&&((0,r.my)(t,o,n),(0,r.my)(t,s,e))}function a(t){return{scope:t[s],isolationScope:t[o]}}},8922(t,e,n){n.d(e,{De:()=>d,yD:()=>u});var r=n(26674),s=n(30690),o=n(5602);const i="sentry-",a=/^sentry-/,c=8192;function u(t){const e=function(t){if(!t||!(0,s.Kg)(t)&&!Array.isArray(t))return;if(Array.isArray(t))return t.reduce(((t,e)=>{const n=p(e);
1return Object.entries(n).forEach((([e,n])=>{t[e]=n})),t}),{});return p(t)}(t);if(!e)return;const n=Object.entries(e).reduce(((t,[e,n])=>{if(e.match(a)){t[e.slice(i.length)]=n}return t}),{});return Object.keys(n).length>0?n:void 0}function d(t){if(!t)return;return function(t){if(0===Object.keys(t).length)return;return Object.entries(t).reduce(((t,[e,n],s)=>{const i=`${encodeURIComponent(e)}=${encodeURIComponent(n)}`,a=0===s?i:`${t},${i}`;return a.length>c?(r.T&&o.vF.warn(`Not adding key: ${e} with val: ${n} to baggage header due to exceeding baggage size limits.`),t):a}),"")}(Object.entries(t).reduce(((t,[e,n])=>(n&&(t[`${i}${e}`]=n),t)),{}))}function p(t){return t.split(",").map((t=>t.split("=").map((t=>{try{return decodeURIComponent(t.trim())}catch{return}})))).reduce(((t,[e,n])=>(e&&n&&(t[e]=n),t)),{})}n.d(e,["sv",0,i])},87320(t,e,n){n.d(e,{$N:()=>c,Hd:()=>i,xE:()=>u});var r=n(30690);const s=n(92575).O,o=80;function i(t,e={}){if(!t)return"<unknown>";try{let n=t;const r=5,s=[];let i=0,c=0;const u=" > ",d=u.length;let p;const l=Array.isArray(e)?e:e.keyAttrs,f=!Array.isArray(e)&&e.maxStringLength||o;for(;n&&i++<r&&(p=a(n,l),!("html"===p||i>1&&c+s.length*d+p.length>=f));)s.push(p),c+=p.length,n=n.parentNode;return s.reverse().join(u)}catch(t){return"<unknown>"}}function a(t,e){const n=t,o=[];if(!n?.tagName)return"";if(s.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}o.push(n.tagName.toLowerCase());const i=e?.length?e.filter((t=>n.getAttribute(t))).map((t=>[t,n.getAttribute(t)])):null;if(i?.length)i.forEach((t=>{o.push(`[${t[0]}="${t[1]}"]`)}));else{n.id&&o.push(`#${n.id}`);const t=n.className;if(t&&(0,r.Kg)(t)){const e=t.split(/\s+/);for(const t of e)o.push(`.${t}`)}}const a=["aria-label","type","name","title","alt"];for(const t of a){const e=n.getAttribute(t);e&&o.push(`[${t}="${e}"]`)}return o.join("")}function c(){try{return s.document.location.href}catch(t){return""}}function u(t){if(!s.HTMLElement)return null;let e=t;for(let t=0;t<5;t++){if(!e)return null;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}},87961(t,e,n){n.d(e,{AD:()=>d,SB:()=>a,ay:()=>u});var r=n(26674),s=n(5602);const o=/^o(\d+)\./,i=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function a(t,e=!1){const{host:n,path:r,pass:s,port:o,projectId:i,protocol:a,publicKey:c}=t;return`${a}://${c}${e&&s?`:${s}`:""}@${n}${o?`:${o}`:""}/${r?`${r}/`:r}${i}`}function c(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function u(t){const e=t.match(o);return e?.[1]}function d(t){const e="string"==typeof t?function(t){const e=i.exec(t);if(!e)return void(0,s.pq)((()=>{console.error(`Invalid Sentry Dsn: ${t}`)}));const[n,r,o="",a="",u="",d=""]=e.slice(1);let p="",l=d;const f=l.split("/");if(f.length>1&&(p=f.slice(0,-1).join("/"),l=f.pop()),l){const t=l.match(/^\d+/);t&&(l=t[0])}return c({host:a,pass:o,path:p,projectId:l,port:u,protocol:n,publicKey:r})}(t):c(t);if(e&&function(t){if(!r.T)return!0;const{port:e,projectId:n,protocol:o}=t;return!(["protocol","publicKey","host","projectId"].find((e=>!t[e]&&(s.vF.error(`Invalid Sentry Dsn: ${e} missing`),!0)))||(n.match(/^\d+$/)?function(t){return"http"===t||"https"===t}(o)?e&&isNaN(parseInt(e,10))&&(s.vF.error(`Invalid Sentry Dsn: Invalid port ${e}`),1):(s.vF.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),1):(s.vF.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(e))return e}},87202(t,e,n){n.d(e,{Cj:()=>g,W3:()=>c,bN:()=>p,bm:()=>f,h4:()=>a,n2:()=>_,y5:()=>l,yH:()=>u,zk:()=>m});var r=n(95200),s=n(87961),o=n(51071),i=n(92575);function a(t,e=[]){return[t,e]}function c(t,e){const[n,r]=t;return[n,[...r,e]]}function u(t,e){const n=t[1];for(const t of n){if(e(t,t[0].type))return!0}return!1}function d(t){const e=(0,r.Se)(i.O);return e.encodePolyfill?e.encodePolyfill(t):(new TextEncoder).encode(t)}function p(t){const[e,n]=t;let r=JSON.stringify(e);function s(t){"string"==typeof r?r="string"==typeof t?r+t:[d(r),t]:r.push("string"==typeof t?d(t):t)}for(const t of n){const[e,n]=t;if(s(`\n${JSON.stringify(e)}\n`),"string"==typeof n||n instanceof Uint8Array)s(n);else{let t;try{t=JSON.stringify(n)}catch(e){t=JSON.stringify((0,o.S8)(n))}s(t)}}return"string"==typeof r?r:function(t){const e=t.reduce(((t,e)=>t+e.length),0),n=new Uint8Array(e);let r=0;for(const e of t)n.set(e,r),r+=e.length;return n}(r)}function l(t){return[{type:"span"},t]}function f(t){const e="string"==typeof t.data?d(t.data):t.data;return[{type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType},e]}const h={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item"};function m(t){return h[t]}function g(t){if(!t?.sdk)return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}function _(t,e,n,r){const o=t.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:t.event_id,sent_at:(new Date).toISOString(),...e&&{sdk:e},...!!n&&r&&{dsn:(0,s.SB)(r)},...o&&{trace:o}}}},66220(t,e,n){n.d(e,{B$:()=>d,ur:()=>u});var r=n(30690),s=n(40873),o=n(98822),i=n(90519),a=n(92575),c=n(26131);function u(t,e){const n="fetch";(0,c.s5)(n,t),(0,c.AS)(n,(()=>p(void 0,e)))}function d(t){const e="fetch-body-resolved";(0,c.s5)(e,t),(0,c.AS)(e,(()=>p(l)))}function p(t,e=!1){e&&!(0,o.m7)()||(0,s.GS)(a.O,"fetch",(function(e){return function(...n){const o=new Error,{method:u,url:d}=function(t){if(0===t.length)return{method:"GET",url:""};if(2===t.length){const[e,n]=t;return{url:h(e),method:f(n,"method")?String(n.method).toUpperCase():"GET"}}const e=t[0];return{url:h(e),method:f(e,"method")?String(e.method).toUpperCase():"GET"}}(n),p={args:n,fetchData:{method:u,url:d},startTimestamp:1e3*(0,i.zf)(),virtualError:o,headers:m(n)};return t||(0,c.aj)("fetch",{...p}
1),e.apply(a.O,n).then((async e=>(t?t(e):(0,c.aj)("fetch",{...p,endTimestamp:1e3*(0,i.zf)(),response:e}),e)),(t=>{if((0,c.aj)("fetch",{...p,endTimestamp:1e3*(0,i.zf)(),error:t}),(0,r.bJ)(t)&&void 0===t.stack&&(t.stack=o.stack,(0,s.my)(t,"framesToPop",1)),t instanceof TypeError&&("Failed to fetch"===t.message||"Load failed"===t.message||"NetworkError when attempting to fetch resource."===t.message))try{const e=new URL(p.fetchData.url);t.message=`${t.message} (${e.host})`}catch{}throw t}))}}))}function l(t){let e;try{e=t.clone()}catch{return}!async function(t,e){if(t?.body){const n=t.body,r=n.getReader(),s=setTimeout((()=>{n.cancel().then(null,(()=>{}))}),9e4);let o=!0;for(;o;){let t;try{t=setTimeout((()=>{n.cancel().then(null,(()=>{}))}),5e3);const{done:s}=await r.read();clearTimeout(t),s&&(e(),o=!1)}catch(t){o=!1}finally{clearTimeout(t)}}clearTimeout(s),r.releaseLock(),n.cancel().then(null,(()=>{}))}}(e,(()=>{(0,c.aj)("fetch-body-resolved",{endTimestamp:1e3*(0,i.zf)(),response:t})}))}function f(t,e){return!!t&&"object"==typeof t&&!!t[e]}function h(t){return"string"==typeof t?t:t?f(t,"url")?t.url:t.toString?t.toString():"":""}function m(t){const[e,n]=t;try{if("object"==typeof n&&null!==n&&"headers"in n&&n.headers)return new Headers(n.headers);if((0,r.ks)(e))return new Headers(e.headers)}catch{}}},17227(t,e,n){n.d(e,{L:()=>i});var r=n(92575),s=n(26131);let o=null;function i(t){const e="error";(0,s.s5)(e,t),(0,s.AS)(e,a)}function a(){o=r.O.onerror,r.O.onerror=function(t,e,n,r,i){const a={column:r,error:i,line:n,msg:t,url:e};return(0,s.aj)("error",a),!!o&&o.apply(this,arguments)},r.O.onerror.__SENTRY_INSTRUMENTED__=!0}},77587(t,e,n){n.d(e,{r:()=>i});var r=n(92575),s=n(26131);let o=null;function i(t){const e="unhandledrejection";(0,s.s5)(e,t),(0,s.AS)(e,a)}function a(){o=r.O.onunhandledrejection,r.O.onunhandledrejection=function(t){const e=t;return(0,s.aj)("unhandledrejection",e),!o||o.apply(this,arguments)},r.O.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}},26131(t,e,n){n.d(e,{AS:()=>u,aj:()=>d,s5:()=>c});var r=n(26674),s=n(5602),o=n(20527);const i={},a={};function c(t,e){i[t]=i[t]||[],i[t].push(e)}function u(t,e){if(!a[t]){a[t]=!0;try{e()}catch(e){r.T&&s.vF.error(`Error while instrumenting ${t}`,e)}}}function d(t,e){const n=t&&i[t];if(n)for(const i of n)try{i(e)}catch(e){r.T&&s.vF.error(`Error while triggering instrumentation handler.\nType: ${t}\nName: ${(0,o.qQ)(i)}\nError:`,e)}}},30690(t,e,n){n.d(e,{BD:()=>a,Kg:()=>u,L2:()=>y,NF:()=>d,Qd:()=>l,Qg:()=>g,T2:()=>i,W6:()=>c,bJ:()=>s,gd:()=>m,ks:()=>b,mE:()=>_,sO:()=>p,tH:()=>v,vq:()=>h,xH:()=>f});const r=Object.prototype.toString;function s(t){switch(r.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return v(t,Error)}}function o(t,e){return r.call(t)===`[object ${e}]`}function i(t){return o(t,"ErrorEvent")}function a(t){return o(t,"DOMError")}function c(t){return o(t,"DOMException")}function u(t){return o(t,"String")}function d(t){return"object"==typeof t&&null!==t&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function p(t){return null===t||d(t)||"object"!=typeof t&&"function"!=typeof t}function l(t){return o(t,"Object")}function f(t){return"undefined"!=typeof Event&&v(t,Event)}function h(t){return"undefined"!=typeof Element&&v(t,Element)}function m(t){return o(t,"RegExp")}function g(t){return Boolean(t?.then&&"function"==typeof t.then)}function _(t){return l(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function v(t,e){try{return t instanceof e}catch(t){return!1}}function y(t){return!("object"!=typeof t||null===t||!t.__isVue&&!t._isVue)}function b(t){return"undefined"!=typeof Request&&v(t,Request)}},5602(t,e,n){n.d(e,{pq:()=>u});var r=n(95200),s=n(26674),o=n(92575);const i="Sentry Logger ",a=["debug","info","warn","error","log","assert","trace"],c={};function u(t){if(!("console"in o.O))return t();const e=o.O.console,n={},r=Object.keys(c);r.forEach((t=>{const r=c[t];n[t]=e[t],e[t]=r}));try{return t()}finally{r.forEach((t=>{e[t]=n[t]}))}}const d=(0,r.BY)("logger",(function(){let t=!1;const e={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return s.T?a.forEach((n=>{e[n]=(...e)=>{t&&u((()=>{o.O.console[n](`${i}[${n}]:`,...e)}))}}
1)):a.forEach((t=>{e[t]=()=>{}})),e}));n.d(e,["Ow",0,a,"Z9",0,c,"vF",0,d])},44910(t,e,n){n.d(e,{$X:()=>a,GR:()=>d,M6:()=>u,eJ:()=>o,gO:()=>c});var r=n(40873),s=n(92575);function o(t=function(){const t=s.O;return t.crypto||t.msCrypto}()){let e=()=>16*Math.random();try{if(t?.randomUUID)return t.randomUUID().replace(/-/g,"");t?.getRandomValues&&(e=()=>{const e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(t){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(t=>(t^(15&e())>>t/4).toString(16)))}function i(t){return t.exception?.values?.[0]}function a(t){const{message:e,event_id:n}=t;if(e)return e;const r=i(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function c(t,e,n){const r=t.exception=t.exception||{},s=r.values=r.values||[],o=s[0]=s[0]||{};o.value||(o.value=e||""),o.type||(o.type=n||"Error")}function u(t,e){const n=i(t);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...e},e&&"data"in e){const t={...r?.data,...e.data};n.mechanism.data=t}}function d(t){if(function(t){try{return t.__sentry_captured__}catch{}}(t))return!0;try{(0,r.my)(t,"__sentry_captured__",!0)}catch(t){}return!1}},51071(t,e,n){n.d(e,{S8:()=>i,cd:()=>a});var r=n(30690),s=n(40873),o=n(20527);function i(t,e=100,n=1/0){try{return c("",t,e,n)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function a(t,e=3,n=102400){const r=i(t,e);return s=r,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(s))>n?a(t,e-1,n):r;var s}function c(t,e,n=1/0,i=1/0,a=function(){const t=new WeakSet;function e(e){return!!t.has(e)||(t.add(e),!1)}function n(e){t.delete(e)}return[e,n]}()){const[u,d]=a;if(null==e||["boolean","string"].includes(typeof e)||"number"==typeof e&&Number.isFinite(e))return e;const p=function(t,e){try{if("domain"===t&&e&&"object"==typeof e&&e._events)return"[Domain]";if("domainEmitter"===t)return"[DomainEmitter]";if("undefined"!=typeof globalThis&&e===globalThis)return"[Global]";if("undefined"!=typeof window&&e===window)return"[Window]";if("undefined"!=typeof document&&e===document)return"[Document]";if((0,r.L2)(e))return"[VueViewModel]";if((0,r.mE)(e))return"[SyntheticEvent]";if("number"==typeof e&&!Number.isFinite(e))return`[${e}]`;if("function"==typeof e)return`[Function: ${(0,o.qQ)(e)}]`;if("symbol"==typeof e)return`[${String(e)}]`;if("bigint"==typeof e)return`[BigInt: ${String(e)}]`;const n=function(t){const e=Object.getPrototypeOf(t);return e?.constructor?e.constructor.name:"null prototype"}(e);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(t){return`**non-serializable** (${t})`}}(t,e);if(!p.startsWith("[object "))return p;if(e.__sentry_skip_normalization__)return e;const l="number"==typeof e.__sentry_override_normalization_depth__?e.__sentry_override_normalization_depth__:n;if(0===l)return p.replace("object ","");if(u(e))return"[Circular ~]";const f=e;if(f&&"function"==typeof f.toJSON)try{return c("",f.toJSON(),l-1,i,a)}catch(t){}const h=Array.isArray(e)?[]:{};let m=0;const g=(0,s.W4)(e);for(const t in g){if(!Object.prototype.hasOwnProperty.call(g,t))continue;if(m>=i){h[t]="[MaxProperties ~]";break}const e=g[t];h[t]=c(t,e,l-1,i,a),m++}return d(e),h}},40873(t,e,n){n.d(e,{GS:()=>c,HF:()=>m,W4:()=>l,my:()=>u,pO:()=>d,sp:()=>p});var r=n(26674),s=n(87320),o=n(30690),i=n(5602),a=n(2323);function c(t,e,n){if(!(e in t))return;const s=t[e];if("function"!=typeof s)return;const o=n(s);"function"==typeof o&&d(o,s);try{t[e]=o}catch{r.T&&i.vF.log(`Failed to replace method "${e}" in object`,t)}}function u(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch(n){r.T&&i.vF.log(`Failed to add non-enumerable property "${e}" to object`,t)}}function d(t,e){try{const n=e.prototype||{};t.prototype=e.prototype=n,u(t,"__sentry_original__",e)}catch(t){}}function p(t){return t.__sentry_original__}function l(t){if((0,o.bJ)(t))return{message:t.message,name:t.name,stack:t.stack,...h(t)};if((0,o.xH)(t)){const e={type:t.type,target:f(t.target),currentTarget:f(t.currentTarget),...h(t)};return"undefined"!=typeof CustomEvent&&(0,o.tH)(t,CustomEvent)&&(e.detail=t.detail),e}return t}function f(t){try{return(0,o.vq)(t)?(0,s.Hd)(t):Object.prototype.toString.call(t)}catch(t){return"<unknown>"}}function h(t){if("object"==typeof t&&null!==t){const e={};for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}return{}}function m(t,e=40){const n=Object.keys(l(t));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=e)return(0,a.xv)(r,e);for(let t=n.length;t>0;t--){const r=n.slice(0,t).join(", ");
1if(!(r.length>e))return t===n.length?r:(0,a.xv)(r,e)}return""}},30243(t,e,n){n.d(e,{Z:()=>o,e:()=>s});var r=n(44910);function s(){return(0,r.eJ)()}function o(){return(0,r.eJ)().substring(16)}},20527(t,e,n){n.d(e,{RV:()=>l,gd:()=>a,qQ:()=>p,vk:()=>c});const r=50,s="?",o=/\(error: (.*)\)/,i=/captureMessage|captureException/;function a(...t){const e=t.sort(((t,e)=>t[0]-e[0])).map((t=>t[1]));return(t,n=0,a=0)=>{const c=[],d=t.split("\n");for(let t=n;t<d.length;t++){const n=d[t];if(n.length>1024)continue;const s=o.test(n)?n.replace(o,"$1"):n;if(!s.match(/\S*Error: /)){for(const t of e){const e=t(s);if(e){c.push(e);break}}if(c.length>=r+a)break}}return function(t){if(!t.length)return[];const e=Array.from(t);/sentryWrapped/.test(u(e).function||"")&&e.pop();e.reverse(),i.test(u(e).function||"")&&(e.pop(),i.test(u(e).function||"")&&e.pop());return e.slice(0,r).map((t=>({...t,filename:t.filename||u(e).filename,function:t.function||s})))}(c.slice(a))}}function c(t){return Array.isArray(t)?a(...t):t}function u(t){return t[t.length-1]||{}}const d="<anonymous>";function p(t){try{return t&&"function"==typeof t&&t.name||d}catch(t){return d}}function l(t){const e=t.exception;if(e){const t=[];try{return e.values.forEach((e=>{e.stacktrace.frames&&t.push(...e.stacktrace.frames)})),t}catch(t){return}}}},2323(t,e,n){n.d(e,{Xr:()=>i,gt:()=>o,xv:()=>s});var r=n(30690);function s(t,e=0){return"string"!=typeof t||0===e||t.length<=e?t:`${t.slice(0,e)}...`}function o(t,e){if(!Array.isArray(t))return"";const n=[];for(let e=0;e<t.length;e++){const s=t[e];try{(0,r.L2)(s)?n.push("[VueViewModel]"):n.push(String(s))}catch(t){n.push("[value cannot be serialized]")}}return n.join(e)}function i(t,e=[],n=!1){return e.some((e=>function(t,e,n=!1){return!!(0,r.Kg)(t)&&((0,r.gd)(e)?e.test(t):!!(0,r.Kg)(e)&&(n?t===e:t.includes(e)))}(t,e,n)))}},98822(t,e,n){n.d(e,{NJ:()=>i,a3:()=>c,m7:()=>u});var r=n(26674),s=n(5602);const o=n(92575).O;function i(){return"history"in o&&!!o.history}function a(){if(!("fetch"in o))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(t){return!1}}function c(t){return t&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function u(){if("string"==typeof EdgeRuntime)return!0;if(!a())return!1;if(c(o.fetch))return!0;let t=!1;const e=o.document;if(e&&"function"==typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n),n.contentWindow?.fetch&&(t=c(n.contentWindow.fetch)),e.head.removeChild(n)}catch(t){r.T&&s.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return t}},20572(t,e,n){n.d(e,{T2:()=>a,XW:()=>o,xg:()=>i});var r,s=n(30690);function o(t){return new a((e=>{e(t)}))}function i(t){return new a(((e,n)=>{n(t)}))}!function(t){t[t.PENDING=0]="PENDING";t[t.RESOLVED=1]="RESOLVED";t[t.REJECTED=2]="REJECTED"}(r||(r={}));class a{constructor(t){this._state=r.PENDING,this._handlers=[],this._runExecutor(t)}then(t,e){return new a(((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 a(((e,n)=>{let r,s;return this.then((e=>{s=!1,r=e,t&&t()}),(e=>{s=!0,r=e,t&&t()})).then((()=>{s?n(r):e(r)}))}))}_executeHandlers(){if(this._state===r.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach((t=>{t[0]||(this._state===r.RESOLVED&&t[1](this._value),this._state===r.REJECTED&&t[2](this._value),t[0]=!0)}))}_runExecutor(t){const e=(t,e)=>{this._state===r.PENDING&&((0,s.Qg)(e)?e.then(n,o):(this._state=t,this._value=e,this._executeHandlers()))},n=t=>{e(r.RESOLVED,t)},o=t=>{e(r.REJECTED,t)};try{t(n,o)}catch(t){o(t)}}}},90519(t,e,n){n.d(e,{k3:()=>c,lu:()=>o});var r=n(92575);const s=1e3;function o(){return Date.now()/s}const i=function(){const{performance:t}=r.O;if(!t?.now)return o;const e=Date.now()-t.now(),n=null==t.timeOrigin?e:t.timeOrigin;return()=>(n+t.now())/s}();let a;function c(){return a||(a=function(){const{performance:t}=r.O;if(!t?.now)return[void 0,"none"];const e=36e5,n=t.now(),s=Date.now(),o=t.timeOrigin?Math.abs(t.timeOrigin+n-s):e,i=o<e,a=t.timing?.navigationStart,c="number"==typeof a?Math.abs(a+n-s):e;return i||c<e?o<=c?[t.timeOrigin,"timeOrigin"]:[a,"navigationStart"]:[s,"dateNow"]}()),a[0]}n.d(e,["zf",0,i])},8190(t,e,n){n.d(e,{TC:()=>c,kM:()=>a});var r=n(91773),s=n(8922),o=n(30243);const i=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function a(t,e){const n=function(t){if(!t)return;const e=t.match(i);if(!e)return;let n;return"1"===e[3]?n=!0:"0"===e[3]&&(n=!1),{traceId:e[1],parentSampled:n,parentSpanId:e[2]}}(t),a=(0,s.yD)(e);if(!n?.traceId)return{traceId:(0,o.e)(),sampleRand:Math.random()};const c=function(t,e){const n=(0,r.i)(e?.sample_rand);if(void 0!==n)return n;const s=(0,r.i)(e?.sample_rate);return s&&void 0!==t?.parentSampled?t.parentSampled?Math.random()*s:s+Math.random()*(1-s):Math.random()}(n,a);a&&(a.sample_rand=c.toString());const{traceId:u,parentSpanId:d,parentSampled:p}=n;return{traceId:u,parentSpanId:d,sampled:p,dsc:a||{},sampleRand:c}}function c(t=(0,o.e)(),e=(0,o.Z)(),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${t}-${e}${r}`}n.d(e,["MI",0,i])},51669(t,e,n){n.d(e,{CH:()=>i,Dl:()=>a,f:()=>c,kg:()=>o,nt:()=>s});const r="thismessage:/";function s(t){return"isRelative"in t}function o(t,e){const n=t.indexOf("://")<=0&&0!==t.indexOf("//"),s=e??(n?r:void 0);try{if("canParse"in URL&&!URL.canParse(t,s))return;const e=new URL(t,s);return n?{isRelative:n,pathname:e.pathname,search:e.search,hash:e.hash}:e}catch{}}function i(t){if(s(t))return t.pathname;const e=new URL(t);return e.search="",e.hash="",["80","443"].includes(e.port)&&(e.port=""),e.password&&(e.password="%filtered%"),e.username&&(e.username="%filtered%"),e.toString()}function a(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:n,hash:r,relative:e[5]+n+r}}function c(t){return t.split(/[?#]/,1)[0]}},92575(t,e,n){const r=globalThis;n.d(e,["O",0,r])},54704(t,e,n){n.d(e,{f:()=>s});var r=n(57968);function s(t){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const e=t||(0,r.KU)()?.getOptions();return!(!e||null==e.tracesSampleRate&&!e.tracesSampler)}},45734(t,e,n){function r(t,e,n=2){if(!e||"object"!=typeof e||n<=0)return e;if(t&&0===Object.keys(e).length)return t;const s={...t};for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(s[t]=r(s[t],e[t],n-1));return s}n.d(e,{h:()=>r})},91773(t,e,n){function r(t){if("boolean"==typeof t)return Number(t);const e="string"==typeof t?parseFloat(t):t;return"number"!=typeof e||isNaN(e)||e<0||e>1?void 0:e}n.d(e,{i:()=>r})},45333(t,e,n){n.d(e,{li:()=>I,mG:()=>w});var r=n(7313),s=n(57968),o=n(26674),i=n(30690),a=n(5602),c=n(20572);function u(t,e,n,r=0){return new c.T2(((s,c)=>{const d=t[r];if(null===e||"function"!=typeof d)s(e);else{const p=d({...e},n);o.T&&d.id&&null===p&&a.vF.log(`Event processor "${d.id}" dropped event`),(0,i.Qg)(p)?p.then((e=>u(t,e,n,r+1).then(s))).then(null,c):u(t,p,n,r+1).then(s).then(null,c)}}))}var d=n(94988),p=n(92575);let l,f,h;function m(t){const e=p.O._sentryDebugIds;if(!e)return{};const n=Object.keys(e);return h&&n.length===f||(f=n.length,h=n.reduce(((n,r)=>{l||(l={});const s=l[r];if(s)n[s[0]]=s[1];else{const s=t(r);for(let t=s.length-1;t>=0;t--){const o=s[t],i=o?.filename,a=e[r];if(i&&a){n[i]=a,l[r]=[i,a];break}}}return n}),{})),h}var g=n(44910),_=n(51071),v=n(2323),y=n(90519),b=n(31158),S=n(45734),E=n(5915);function T(t,e){const{fingerprint:n,span:r,breadcrumbs:s,sdkProcessingMetadata:o}=e;!function(t,e){const{extra:n,tags:r,user:s,contexts:o,level:i,transactionName:a}=e;Object.keys(n).length&&(t.extra={...n,...t.extra});Object.keys(r).length&&(t.tags={...r,...t.tags});Object.keys(s).length&&(t.user={...s,...t.user});Object.keys(o).length&&(t.contexts={...o,...t.contexts});i&&(t.level=i);a&&"transaction"!==t.type&&(t.transaction=a)}(t,e),r&&function(t,e){t.contexts={trace:(0,E.kX)(e),...t.contexts},t.sdkProcessingMetadata={dynamicSamplingContext:(0,b.k1)(e),...t.sdkProcessingMetadata};const n=(0,E.zU)(e),r=(0,E.et)(n).description;r&&!t.transaction&&"transaction"===t.type&&(t.transaction=r)}(t,r),function(t,e){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],e&&(t.fingerprint=t.fingerprint.concat(e));t.fingerprint.length||delete t.fingerprint}(t,n),function(t,e){const n=[...t.breadcrumbs||[],...e];t.breadcrumbs=n.length?n:void 0}(t,s),function(t,e){t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...e}}(t,o)}function x(t,e){const{extra:n,tags:r,user:s,contexts:o,level:i,sdkProcessingMetadata:a,breadcrumbs:c,fingerprint:u,eventProcessors:d,attachments:p,propagationContext:l,transactionName:f,span:h}=e;k(t,"extra",n),k(t,"tags",r),k(t,"user",s),k(t,"contexts",o),t.sdkProcessingMetadata=(0,S.h)(t.sdkProcessingMetadata,a,2),i&&(t.level=i),f&&(t.transactionName=f),h&&(t.span=h),c.length&&(t.breadcrumbs=[...t.breadcrumbs,...c]),u.length&&(t.fingerprint=[...t.fingerprint,...u]),d.length&&(t.eventProcessors=[...t.eventProcessors,...d]),p.length&&(t.attachments=[...t.attachments,...p]),t.propagationContext={...t.propagationContext,...l}}function k(t,e,n){t[e]=(0,S.h)(t[e],n,1)}function w(t,e,n,o,i,a){const{normalizeDepth:c=3,normalizeMaxBreadth:p=1e3}
1=t,l={...e,event_id:e.event_id||n.event_id||(0,g.eJ)(),timestamp:e.timestamp||(0,y.lu)()},f=n.integrations||t.integrations.map((t=>t.name));!function(t,e){const{environment:n,release:s,dist:o,maxValueLength:i=250}=e;t.environment=t.environment||n||r.U,!t.release&&s&&(t.release=s);!t.dist&&o&&(t.dist=o);const a=t.request;a?.url&&(a.url=(0,v.xv)(a.url,i))}(l,t),function(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}(l,f),i&&i.emit("applyFrameMetadata",e),void 0===e.type&&function(t,e){const n=m(e);t.exception?.values?.forEach((t=>{t.stacktrace?.frames?.forEach((t=>{t.filename&&(t.debug_id=n[t.filename])}))}))}(l,t.stackParser);const h=function(t,e){if(!e)return t;const n=t?t.clone():new d.H;return n.update(e),n}(o,n.captureContext);n.mechanism&&(0,g.M6)(l,n.mechanism);const b=i?i.getEventProcessors():[],S=(0,s.m6)().getScopeData();if(a){x(S,a.getScopeData())}if(h){x(S,h.getScopeData())}const E=[...n.attachments||[],...S.attachments];E.length&&(n.attachments=E),T(l,S);return u([...b,...S.eventProcessors],l,n).then((t=>(t&&function(t){const 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||[];const n=t.debug_meta.images;Object.entries(e).forEach((([t,e])=>{n.push({type:"sourcemap",code_file:t,debug_id:e})}))}(t),"number"==typeof c&&c>0?function(t,e,n){if(!t)return null;const r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((t=>({...t,...t.data&&{data:(0,_.S8)(t.data,e,n)}})))},...t.user&&{user:(0,_.S8)(t.user,e,n)},...t.contexts&&{contexts:(0,_.S8)(t.contexts,e,n)},...t.extra&&{extra:(0,_.S8)(t.extra,e,n)}};t.contexts?.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=(0,_.S8)(t.contexts.trace.data,e,n)));t.spans&&(r.spans=t.spans.map((t=>({...t,...t.data&&{data:(0,_.S8)(t.data,e,n)}}))));t.contexts?.flags&&r.contexts&&(r.contexts.flags=(0,_.S8)(t.contexts.flags,3,n));return r}(t,c,p):t)))}function I(t){if(t)return function(t){return t instanceof d.H||"function"==typeof t}(t)||function(t){return Object.keys(t).some((t=>O.includes(t)))}(t)?{captureContext:t}:t}const O=["user","level","extra","contexts","tags","fingerprint","propagationContext"]},70333(t,e,n){n.d(e,{f:()=>i,r:()=>o});var r=n(40873);const s="_sentrySpan";function o(t,e){e?(0,r.my)(t,s,e):delete t[s]}function i(t){return t[s]}},5915(t,e,n){n.d(e,{Bk:()=>D,Ck:()=>g,Hu:()=>I,Qh:()=>v,VS:()=>O,cI:()=>b,et:()=>E,kX:()=>_,pK:()=>T,uU:()=>y,xO:()=>$,xl:()=>C,yW:()=>x,zU:()=>j});var r=n(92328),s=n(95200),o=n(57968),i=n(74611),a=n(88728),c=n(5602),u=n(40873),d=n(30243),p=n(90519),l=n(8190),f=n(70333);const h=1;let m=!1;function g(t){const{spanId:e,traceId:n}=t.spanContext(),{data:r,op:s,parent_span_id:o,status:i,origin:a,links:c}=E(t);return{parent_span_id:o,span_id:e,trace_id:n,data:r,op:s,status:i,origin:a,links:c}}function _(t){const{spanId:e,traceId:n,isRemote:r}=t.spanContext(),s=r?e:E(t).parent_span_id,o=(0,a.L)(t).scope;return{parent_span_id:s,span_id:r?o?.getPropagationContext().propagationSpanId||(0,d.Z)():e,trace_id:n}}function v(t){const{traceId:e,spanId:n}=t.spanContext(),r=T(t);return(0,l.TC)(e,n,r)}function y(t){return t&&t.length>0?t.map((({context:{spanId:t,traceId:e,traceFlags:n,...r},attributes:s})=>({span_id:t,trace_id:e,sampled:n===h,attributes:s,...r}))):void 0}function b(t){return"number"==typeof t?S(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?S(t.getTime()):(0,p.zf)()}function S(t){return t>9999999999?t/1e3:t}function E(t){if(function(t){return"function"==typeof t.getSpanJSON}(t))return t.getSpanJSON();const{spanId:e,traceId:n}=t.spanContext();if(function(t){const e=t;return!!(e.attributes&&e.startTime&&e.name&&e.endTime&&e.status)}(t)){const{attributes:r,startTime:s,name:o,endTime:a,status:c,links:u}=t;return{span_id:e,trace_id:n,data:r,description:o,parent_span_id:"parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?t.parentSpanContext?.spanId:void 0,start_timestamp:b(s),timestamp:b(a)||void 0,status:x(c),op:r[i.uT],origin:r[i.JD],links:y(u)}}return{span_id:e,trace_id:n,start_timestamp:0,data:{}}}function T(t){const{traceFlags:e}=t.spanContext();return e===h}function x(t){if(t&&0!==t.code)return 1===t.code?"ok":t.message||"unknown_error"}const k="_sentryChildSpans",w="_sentryRootSpan";function I(t,e){const n=t[w]||t;(0,u.my)(e,w,n),t[k]?t[k].add(e):(0,u.my)(t,k,new Set([e]))}function O(t,e){t[k]&&t[k].delete(e)}function $(t){const e=new Set;return function t(n){if(!e.has(n)&&T(n)){e.add(n);const r=n[k]?Array.from(n[k]):[];for(const e of r)t(e)}}(t),Array.from(e)}function j(t){return t[w]||t}function D(){const t=(0,s.EU)(),e=(0,r.h)(t);return e.getActiveSpan?e.getActiveSpan():(0,f.f)((0,o.o5)())}function C(){m||((0,c.pq)((()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly.")})),m=!0)}},94392(t,e,n){n.d(e,{T:()=>je});var r=n(64251),s=n(26674),o=n(5602);const i=[];function a(t){const e=t.defaultIntegrations||[],n=t.integrations;let r;if(e.forEach((t=>{t.isDefaultInstance=!0})),Array.isArray(n))r=[...e,...n];else if("function"==typeof n){const t=n(e);r=Array.isArray(t)?t:[t]}else r=e;return function(t){const e={};return t.forEach((t=>{const{name:n}=t,r=e[n];r&&!r.isDefaultInstance&&t.isDefaultInstance||(e[n]=t)})),Object.values(e)}(r)}function c(t,e){for(const n of e)n?.afterAllSetup&&n.afterAllSetup(t)}function u(t,e,n){if(n[e.name])s.T&&o.vF.log(`Integration skipped because it was already installed: ${e.name}`);else{if(n[e.name]=e,-1===i.indexOf(e.name)&&"function"==typeof e.setupOnce&&(e.setupOnce(),i.push(e.name)),e.setup&&"function"==typeof e.setup&&e.setup(t),"function"==typeof e.preprocessEvent){const n=e.preprocessEvent.bind(e);t.on("preprocessEvent",((e,r)=>n(e,r,t)))}if("function"==typeof e.processEvent){const n=e.processEvent.bind(e),r=Object.assign(((e,r)=>n(e,r,t)),{id:e.name});t.addEventProcessor(r)}s.T&&o.vF.log(`Integration installed: ${e.name}`)}}function d(t){const e=[];t.message&&e.push(t.message);try{const n=t.exception.values[t.exception.values.length-1];n?.value&&(e.push(n.value),n.type&&e.push(`${n.type}: ${n.value}`))}catch(t){}return e}var p=n(44910),l=n(2323);const f=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],h=(t={})=>{let e;return{name:"EventFilters",setup(n){const r=n.getOptions();e=g(t,r)},processEvent(n,r,i){if(!e){const n=i.getOptions();e=g(t,n)}return function(t,e){if(t.type){if("transaction"===t.type&&function(t,e){if(!e?.length)return!1;const n=t.transaction;return!!n&&(0,l.Xr)(n,e)}(t,e.ignoreTransactions))return s.T&&o.vF.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${(0,p.$X)(t)}`),!0}else{if(function(t,e){if(!e?.length)return!1;return d(t).some((t=>(0,l.Xr)(t,e)))}(t,e.ignoreErrors))return s.T&&o.vF.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,p.$X)(t)}`),!0;if(function(t){if(!t.exception?.values?.length)return!1;return!t.message&&!t.exception.values.some((t=>t.stacktrace||t.type&&"Error"!==t.type||t.value))}(t))return s.T&&o.vF.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${(0,p.$X)(t)}`),!0;if(function(t,e){if(!e?.length)return!1;const n=_(t);return!!n&&(0,l.Xr)(n,e)}(t,e.denyUrls))return s.T&&o.vF.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,p.$X)(t)}.\nUrl: ${_(t)}`),!0;if(!function(t,e){if(!e?.length)return!0;const n=_(t);return!n||(0,l.Xr)(n,e)}(t,e.allowUrls))return s.T&&o.vF.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,p.$X)(t)}.\nUrl: ${_(t)}`),!0}return!1}(n,e)?null:n}}},m=(t={})=>({...h(t),name:"InboundFilters"});function g(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:f],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[]]}}function _(t){try{const e=[...t.exception?.values??[]].reverse().find((t=>void 0===t.mechanism?.parent_id&&t.stacktrace?.frames?.length)),n=e?.
1stacktrace?.frames;return n?function(t=[]){for(let e=t.length-1;e>=0;e--){const n=t[e];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}catch(e){return s.T&&o.vF.error(`Cannot extract url for event ${(0,p.$X)(t)}`),null}}var v=n(57968),y=n(40873);let b;const S=new WeakMap,E=()=>({name:"FunctionToString",setupOnce(){b=Function.prototype.toString;try{Function.prototype.toString=function(...t){const e=(0,y.sp)(this),n=S.has((0,v.KU)())&&void 0!==e?e:this;return b.apply(n,t)}}catch{}},setup(t){S.set(t,!0)}});var T=n(20527);const x=()=>{let t;return{name:"Dedupe",processEvent(e){if(e.type)return e;try{if(function(t,e){if(!e)return!1;if(function(t,e){const n=t.message,r=e.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!w(t,e))return!1;if(!k(t,e))return!1;return!0}(t,e))return!0;if(function(t,e){const n=I(e),r=I(t);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!w(t,e))return!1;if(!k(t,e))return!1;return!0}(t,e))return!0;return!1}(e,t))return s.T&&o.vF.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){}return t=e}}};function k(t,e){let n=(0,T.RV)(t),r=(0,T.RV)(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let t=0;t<r.length;t++){const e=r[t],s=n[t];if(e.filename!==s.filename||e.lineno!==s.lineno||e.colno!==s.colno||e.function!==s.function)return!1}return!0}function w(t,e){let n=t.fingerprint,r=e.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(t){return!1}}function I(t){return t.exception?.values&&t.exception.values[0]}function O(t,e){!0===e.debug&&(s.T?o.vF.enable():(0,o.pq)((()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})));(0,v.o5)().update(e.initialScope);const n=new t(e);return function(t){(0,v.o5)().setClient(t)}(n),n.init(),n}const $="7";function j(t){const e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}function D(t,e,n){return e||`${function(t){return`${j(t)}${t.projectId}/envelope/`}(t)}?${function(t,e){const n={sentry_version:$};return t.publicKey&&(n.sentry_key=t.publicKey),e&&(n.sentry_client=`${e.name}/${e.version}`),new URLSearchParams(n).toString()}(t,n)}`}var C=n(7313),A=n(75330),P=n(59328),L=n(31158),R=n(45734),N=n(91773),F=n(45333),M=n(5915),U=n(74611);var q=n(87202),H=n(90519);var B=n(87961),J=n(30690),z=n(20572);const K="Not capturing exception because it's already been captured.",G="Discarded session because of missing or non-string release",W=Symbol.for("SentryInternalError"),X=Symbol.for("SentryDoNotSendEventError");function V(t){return{message:t,[W]:!0}}function Y(t){return{message:t,[X]:!0}}function Q(t){return!!t&&"object"==typeof t&&W in t}function Z(t){return!!t&&"object"==typeof t&&X in t}class tt{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=(0,B.AD)(t.dsn):s.T&&o.vF.warn("No DSN provided, client will not send events."),this._dsn){const e=D(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:e})}}captureException(t,e,n){const r=(0,p.eJ)();if((0,p.GR)(t))return s.T&&o.vF.log(K),r;const i={event_id:r,...e};return this._process(this.eventFromException(t,i).then((t=>this._captureEvent(t,i,n)))),i.event_id}captureMessage(t,e,n,r){const s={event_id:(0,p.eJ)(),...n},o=(0,J.NF)(t)?t:String(t),i=(0,J.sO)(t)?this.eventFromMessage(o,e,s):this.eventFromException(t,s);return this._process(i.then((t=>this._captureEvent(t,s,r)))),s.event_id}captureEvent(t,e,n){const r=(0,p.eJ)();if(e?.originalException&&(0,p.GR)(e.originalException))return s.T&&o.vF.log(K),r;const i={event_id:r,...e},a=t.sdkProcessingMetadata||{},c=a.capturedSpanScope,u=a.capturedSpanIsolationScope;return this._process(this._captureEvent(t,i,c||n,u)),i.event_id}captureSession(t){this.sendSession(t),(0,P.qO)(t,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const e=this._transport;
1return e?(this.emit("flush"),this._isClientDoneProcessing(t).then((n=>e.flush(t).then((t=>n&&t))))):(0,z.XW)(!0)}close(t){return this.flush(t).then((t=>(this.getOptions().enabled=!1,this.emit("close"),t)))}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some((({name:t})=>t.startsWith("Spotlight"))))&&this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}addIntegration(t){const e=this._integrations[t.name];u(this,t,this._integrations),e||c(this,[t])}sendEvent(t,e={}){this.emit("beforeSendEvent",t,e);let n=(0,A.V7)(t,this._dsn,this._options._metadata,this._options.tunnel);for(const t of e.attachments||[])n=(0,q.W3)(n,(0,q.bm)(t));const r=this.sendEnvelope(n);r&&r.then((e=>this.emit("afterSendEvent",t,e)),null)}sendSession(t){const{release:e,environment:n=C.U}=this._options;if("aggregates"in t){const r=t.attrs||{};if(!r.release&&!e)return void(s.T&&o.vF.warn(G));r.release=r.release||e,r.environment=r.environment||n,t.attrs=r}else{if(!t.release&&!e)return void(s.T&&o.vF.warn(G));t.release=t.release||e,t.environment=t.environment||n}this.emit("beforeSendSession",t);const r=(0,A.LE)(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(t,e,n=1){if(this._options.sendClientReports){const r=`${t}:${e}`;s.T&&o.vF.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+n}}on(t,e){const n=this._hooks[t]=this._hooks[t]||[];return n.push(e),()=>{const t=n.indexOf(e);t>-1&&n.splice(t,1)}}emit(t,...e){const n=this._hooks[t];n&&n.forEach((t=>t(...e)))}sendEnvelope(t){return this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport?this._transport.send(t).then(null,(t=>(s.T&&o.vF.error("Error while sending envelope:",t),t))):(s.T&&o.vF.error("Transport disabled"),(0,z.XW)({}))}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=function(t,e){const n={};return e.forEach((e=>{e&&u(t,e,n)})),n}(this,t),c(this,t)}_updateSessionFromEvent(t,e){let n="fatal"===e.level,r=!1;const s=e.exception?.values;if(s){r=!0;for(const t of s){const e=t.mechanism;if(!1===e?.handled){n=!0;break}}}const o="ok"===t.status;(o&&0===t.errors||o&&n)&&((0,P.qO)(t,{...n&&{status:"crashed"},errors:t.errors||Number(r||n)}),this.captureSession(t))}_isClientDoneProcessing(t){return new z.T2((e=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),e(!0)):(n+=1,t&&n>=t&&(clearInterval(r),e(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(t,e,n,r){const s=this.getOptions(),o=Object.keys(this._integrations);return!e.integrations&&o?.length&&(e.integrations=o),this.emit("preprocessEvent",t,e),t.type||r.setLastEventId(t.event_id||e.event_id),(0,F.mG)(s,t,e,n,this,r).then((t=>{if(null===t)return t;this.emit("postprocessEvent",t,e),t.contexts={trace:(0,v.vn)(n),...t.contexts};const r=(0,L.ao)(this,n);return t.sdkProcessingMetadata={dynamicSamplingContext:r,...t.sdkProcessingMetadata},t}))}_captureEvent(t,e={},n=(0,v.o5)(),r=(0,v.rm)()){return s.T&&et(t)&&o.vF.log(`Captured error event \`${d(t)[0]||"<unknown>"}\``),this._processEvent(t,e,n,r).then((t=>t.event_id),(t=>{s.T&&(Z(t)?o.vF.log(t.message):Q(t)?o.vF.warn(t.message):o.vF.warn(t))}))}_processEvent(t,e,n,r){const s=this.getOptions(),{sampleRate:o}=s,i=nt(t),a=et(t),c=t.type||"error",u=`before send for type \`${c}\``,d=void 0===o?void 0:(0,N.i)(o);if(a&&"number"==typeof d&&Math.random()>d)return this.recordDroppedEvent("sample_rate","error"),(0,z.xg)(Y(`Discarding event because it's not included in the random sample (sampling rate = ${o})`));const p="replay_event"===c?"replay":c;return this._prepareEvent(t,e,n,r).then((t=>{if(null===t)throw this.recordDroppedEvent("event_processor",p),Y("An event processor returned `null`, will not send event.");if(e.data&&!0===e.data.__sentry__)return t;const n=function(t,e,n,r){const{beforeSend:s,beforeSendTransaction:o,beforeSendSpan:i}=e;let a=n;if(et(a)&&s)return s(a,r);if(nt(a)){if(i){const t=i(function(t){const{trace_id:e,parent_span_id:n,span_id:r,status:s,origin:o,data:i,op:a}=t.contexts?.trace??{};return{data:i??{},description:t.transaction,op:a,parent_span_id:n,span_id:r??"",start_timestamp:t.start_timestamp??0,status:s,timestamp:t.timestamp,trace_id:e??"",origin:o,profile_id:i?.[U.E1],exclusive_time:i?.[U.jG],measurements:t.measurements,is_segment:!0}}(a));if(t?a=(0,R.h)(n,{type:"transaction",timestamp:(c=t).timestamp,start_timestamp:c.start_timestamp,transaction:c.description,contexts:{trace:{trace_id:c.trace_id,span_id:c.span_id,parent_span_id:c.parent_span_id,op:c.op,status:c.status,origin:c.origin,data:{...c.data,...c.profile_id&&{[U.E1]:c.profile_id},...c.exclusive_time&&{[U.jG]:c.exclusive_time}}}},measurements:c.measurements}):(0,M.xl)(),a.spans){const t=[];for(const e of a.spans){const n=i(e);
1n?t.push(n):((0,M.xl)(),t.push(e))}a.spans=t}}if(o){if(a.spans){const t=a.spans.length;a.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:t}}return o(a,r)}}var c;return a}(0,s,t,e);return function(t,e){const n=`${e} must return \`null\` or a valid event.`;if((0,J.Qg)(t))return t.then((t=>{if(!(0,J.Qd)(t)&&null!==t)throw V(n);return t}),(t=>{throw V(`${e} rejected with ${t}`)}));if(!(0,J.Qd)(t)&&null!==t)throw V(n);return t}(n,u)})).then((s=>{if(null===s){if(this.recordDroppedEvent("before_send",p),i){const e=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",e)}throw Y(`${u} returned \`null\`, will not send event.`)}const o=n.getSession()||r.getSession();if(a&&o&&this._updateSessionFromEvent(o,s),i){const t=(s.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(s.spans?s.spans.length:0);t>0&&this.recordDroppedEvent("before_send","span",t)}const c=s.transaction_info;if(i&&c&&s.transaction!==t.transaction){const t="custom";s.transaction_info={...c,source:t}}return this.sendEvent(s,e),s})).then(null,(t=>{if(Z(t)||Q(t))throw t;throw this.captureException(t,{data:{__sentry__:!0},originalException:t}),V(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${t}`)}))}_process(t){this._numProcessing++,t.then((t=>(this._numProcessing--,t)),(t=>(this._numProcessing--,t)))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map((([t,e])=>{const[n,r]=t.split(":");return{reason:n,category:r,quantity:e}}))}_flushOutcomes(){s.T&&o.vF.log("Flushing outcomes...");const t=this._clearOutcomes();if(0===t.length)return void(s.T&&o.vF.log("No outcomes to send"));if(!this._dsn)return void(s.T&&o.vF.log("No dsn provided, will not send outcomes"));s.T&&o.vF.log("Sending outcomes:",t);const e=function(t,e,n){const r=[{type:"client_report"},{timestamp:n||(0,H.lu)(),discarded_events:t}];return(0,q.h4)(e?{dsn:e}:{},[r])}(t,this._options.tunnel&&(0,B.SB)(this._dsn));this.sendEnvelope(e)}}function et(t){return void 0===t.type}function nt(t){return"transaction"===t.type}function rt(t,e,n=[e],r="npm"){const s=t._metadata||{};s.sdk||(s.sdk={name:`sentry.javascript.${e}`,packages:n.map((t=>({name:`${r}:@sentry/${t}`,version:"9.30.0"}))),version:"9.30.0"}),t._metadata=s}var st=n(92575);function ot(t,e){const n=e??it(t)??[];if(0===n.length)return;const r=t.getOptions(),s=function(t,e,n,r){const s={};return e?.sdk&&(s.sdk={name:e.sdk.name,version:e.sdk.version}),n&&r&&(s.dsn=(0,B.SB)(r)),(0,q.h4)(s,[(o=t,[{type:"log",item_count:o.length,content_type:"application/vnd.sentry.items.log+json"},{items:o}])]);var o}(n,r._metadata,r.tunnel,t.getDsn());st.O._sentryClientToLogBufferMap?.set(t,[]),t.emit("flushLogs"),t.sendEnvelope(s)}function it(t){return st.O._sentryClientToLogBufferMap?.get(t)}function at(t){void 0===t.user?.ip_address&&(t.user={...t.user,ip_address:"{{auto}}"})}function ct(t){"aggregates"in t?void 0===t.attrs?.ip_address&&(t.attrs={...t.attrs,ip_address:"{{auto}}"}):void 0===t.ipAddress&&(t.ipAddress="{{auto}}")}st.O._sentryClientToLogBufferMap=new WeakMap;var ut=n(51071);function dt(t,e){const n=ft(t,e),r={type:gt(e),value:_t(e)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function pt(t,e,n,r){const s=(0,v.KU)(),o=s?.getOptions().normalizeDepth,i=function(t){for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];if(n instanceof Error)return n}return}(e),a={__serialized__:(0,ut.cd)(e,o)};if(i)return{exception:{values:[dt(t,i)]},extra:a};const c={exception:{values:[{type:(0,J.xH)(e)?e.constructor.name:r?"UnhandledRejection":"Error",value:bt(e,{isUnhandledRejection:r})}]},extra:a};if(n){const e=ft(t,n);e.length&&(c.exception.values[0].stacktrace={frames:e})}return c}function lt(t,e){return{exception:{values:[dt(t,e)]}}}function ft(t,e){const n=e.stacktrace||e.stack||"",r=function(t){if(t&&ht.test(t.message))return 1;return 0}(e),s=function(t){if("number"==typeof t.framesToPop)return t.framesToPop;return 0}(e);try{return t(n,r,s)}catch(t){}return[]}const ht=/Minified React error #\d+;/i;function mt(t){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&t instanceof WebAssembly.Exception}function gt(t){const e=t?.name;if(!e&&mt(t)){return t.message&&Array.isArray(t.message)&&2==t.message.length?t.message[0]:"WebAssembly.Exception"}return e}function _t(t){const e=t?.message;return mt(t)?Array.isArray(t.message)&&2==t.message.length?t.message[1]:"wasm exception":e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function vt(t,e,n,r,s){let o;if((0,J.T2)(e)&&e.error){return lt(t,e.error)}if((0,J.BD)(e)||(0,J.W6)(e)){const s=e;if("stack"in e)o=lt(t,e);else{const e=s.name||((0,J.BD)(s)?"DOMError":"DOMException"),i=s.message?`${e}: ${s.message}`:e;o=yt(t,i,n,r),(0,p.gO)(o,i)}return"code"in s&&(o.tags={...o.tags,"DOMException.code":`${s.code}`}),o}if((0,J.bJ)(e))return lt(t,e);if((0,J.Qd)(e)||(0,J.xH)(e)){return o=pt(t,e,n,s),(0,p.M6)(o,{synthetic:!0}),o}return o=yt(t,e,n,r),(0,p.gO)(o,`${e}`,void 0),(0,p.M6)(o,{synthetic:!0}),o}function yt(t,e,n,r){const s={};if(r&&n){const r=ft(t,n);r.length&&(s.exception={values:[{value:e,stacktrace:{frames:r}}]}),(0,p.M6)(s,{synthetic:!0})}
1if((0,J.NF)(e)){const{__sentry_template_string__:t,__sentry_template_values__:n}=e;return s.logentry={message:t,params:n},s}return s.message=e,s}function bt(t,{isUnhandledRejection:e}){const n=(0,y.HF)(t),r=e?"promise rejection":"exception";if((0,J.T2)(t))return`Event \`ErrorEvent\` captured as ${r} with message \`${t.message}\``;if((0,J.xH)(t)){return`Event \`${function(t){try{const e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch(t){}}(t)}\` (type=${t.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}var St=n(90452);class Et extends tt{constructor(t){const e=(n=t,{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:St.jf.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...n});var n;rt(e,"browser",["browser"],St.jf.SENTRY_SDK_SOURCE||"npm"),super(e);const{sendDefaultPii:r,sendClientReports:s,_experiments:o}=this._options,i=o?.enableLogs;St.jf.document&&(s||i)&&St.jf.document.addEventListener("visibilitychange",(()=>{"hidden"===St.jf.document.visibilityState&&(s&&this._flushOutcomes(),i&&ot(this))})),i&&(this.on("flush",(()=>{ot(this)})),this.on("afterCaptureLog",(()=>{this._logFlushIdleTimeout&&clearTimeout(this._logFlushIdleTimeout),this._logFlushIdleTimeout=setTimeout((()=>{ot(this)}),5e3)}))),r&&(this.on("postprocessEvent",at),this.on("beforeSendSession",ct))}eventFromException(t,e){return function(t,e,n,r){const s=vt(t,e,n?.syntheticException||void 0,r);return(0,p.M6)(s),s.level="error",n?.event_id&&(s.event_id=n.event_id),(0,z.XW)(s)}(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t,e="info",n){return function(t,e,n="info",r,s){const o=yt(t,e,r?.syntheticException||void 0,s);return o.level=n,r?.event_id&&(o.event_id=r.event_id),(0,z.XW)(o)}(this._options.stackParser,t,e,n,this._options.attachStacktrace)}_prepareEvent(t,e,n,r){return t.platform=t.platform||"javascript",super._prepareEvent(t,e,n,r)}}var Tt=n(26131);function xt(){"console"in st.O&&o.Ow.forEach((function(t){t in st.O.console&&(0,y.GS)(st.O.console,t,(function(e){return o.Z9[t]=e,function(...e){const n={args:e,level:t};(0,Tt.aj)("console",n);const r=o.Z9[t];r?.apply(st.O.console,e)}}))}))}var kt=n(66220);const wt=100;function It(t,e){const n=(0,v.KU)(),r=(0,v.rm)();if(!n)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:i=wt}=n.getOptions();if(i<=0)return;const a={timestamp:(0,H.lu)(),...t},c=s?(0,o.pq)((()=>s(a,e))):a;null!==c&&(n.emit&&n.emit("beforeAddBreadcrumb",c,e),r.addBreadcrumb(c,i))}var Ot=n(87320);function $t(t){return"warn"===t?"warning":["fatal","error","warning","log","info","debug"].includes(t)?t:"log"}function jt(t){return void 0===t?void 0:t>=400&&t<500?"warning":t>=500?"error":void 0}var Dt=n(51669),Ct=n(14910);const At=1e3;let Pt,Lt,Rt;function Nt(){if(!Ct.j.document)return;const t=Tt.aj.bind(null,"dom"),e=Ft(t,!0);Ct.j.document.addEventListener("click",e,!1),Ct.j.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach((e=>{const n=Ct.j,r=n[e]?.prototype;r?.hasOwnProperty?.("addEventListener")&&((0,y.GS)(r,"addEventListener",(function(e){return function(n,r,s){if("click"===n||"keypress"==n)try{const r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},o=r[n]=r[n]||{refCount:0};if(!o.handler){const r=Ft(t);o.handler=r,e.call(this,n,r,s)}o.refCount++}catch(t){}return e.call(this,n,r,s)}})),(0,y.GS)(r,"removeEventListener",(function(t){return function(e,n,r){if("click"===e||"keypress"==e)try{const n=this.__sentry_instrumentation_handlers__||{},s=n[e];s&&(s.refCount--,s.refCount<=0&&(t.call(this,e,s.handler,r),s.handler=void 0,delete n[e]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch(t){}return t.call(this,e,n,r)}})))}))}function Ft(t,e=!1){return n=>{if(!n||n._sentryCaptured)return;const r=function(t){try{return t.target}catch(t){return null}}(n);if(function(t,e){return"keypress"===t&&(!e?.tagName||"INPUT"!==e.tagName&&"TEXTAREA"!==e.tagName&&!e.isContentEditable)}(n.type,r))return;(0,y.my)(n,"_sentryCaptured",!0),r&&!r._sentryId&&(0,y.my)(r,"_sentryId",(0,p.eJ)());const s="keypress"===n.type?"input":n.type;if(!function(t){if(t.type!==Lt)return!1;try{if(!t.target||t.target._sentryId!==Rt)return!1}catch(t){}return!0}(n)){t({event:n,name:s,global:e}),Lt=n.type,Rt=r?r._sentryId:void 0}clearTimeout(Pt),Pt=Ct.j.setTimeout((()=>{Rt=void 0,Lt=void 0}),At)}}var Mt=n(35947),Ut=n(85761),qt=n(49431);const Ht=1024,Bt=(t={})=>{const e={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t};return{name:"Breadcrumbs",setup(t){var n;e.console&&function(t){const e="console";(0,Tt.s5)(e,t),(0,Tt.AS)(e,xt)}(function(t){return function(e){if((0,v.KU)()!==t)return;const n={category:"console",data:{arguments:e.args,logger:"console"},level:$t(e.level),message:(0,l.gt)(e.args," ")};if("assert"===e.level){if(!1!==e.args[0])return;n.message=`Assertion failed: ${(0,l.gt)(e.args.slice(1)," ")||"console.assert"}`,n.data.arguments=e.args.slice(1)}It(n,{input:e.args,level:e.level})}}(t)),e.dom&&(n=function(t,e){return function(n){if((0,v.KU)()!==t)return;let r,s,i="object"==typeof e?e.serializeAttribute:void 0,a="object"==typeof e&&"number"==typeof e.maxStringLength?e.maxStringLength:void 0;a&&a>Ht&&(qt.T&&o.vF.warn(`\`dom.maxStringLength\` cannot exceed ${Ht}, but a value of ${a} was configured. Sentry will use ${Ht} instead.`),a=Ht),"string"==typeof i&&(i=[i]);try{const t=n.event,e=function(t){return!!t&&!!t.target}(t)?t.target:t;r=(0,Ot.Hd)(e,{keyAttrs:i,maxStringLength:a}),s=(0,Ot.xE)(e)}catch(t){r="<unknown>"}if(0===r.length)return;const c={category:`ui.${n.name}`,message:r};s&&(c.data={"ui.component_name":s}),It(c,{event:n.event,name:n.name,global:n.global})}}(t,e.dom),(0,Tt.s5)("dom",n),(0,Tt.AS)("dom",Nt)),e.xhr&&(0,Mt.Mn)(function(t){return function(e){if((0,v.KU)()!==t)return;const{startTimestamp:n,endTimestamp:r}=e,s=e.xhr[Mt.Er];if(!n||!r||!s)return;const{method:o,url:i,status_code:a,body:c}=s,u={method:o,url:i,status_code:a},d={xhr:e.xhr,input:c,startTimestamp:n,endTimestamp:r},p={category:"xhr",data:u,type:"http",level:jt(a)};t.emit("beforeOutgoingRequestBreadcrumb",p,d),It(p,d)}}(t)),e.fetch&&(0,kt.ur)(function(t){return function(e){if((0,v.KU)()!==t)return;const{startTimestamp:n,endTimestamp:r}=e;
1if(r&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.fetchData.method,e.fetchData.url,e.error){const s=e.fetchData,o={data:e.error,input:e.args,startTimestamp:n,endTimestamp:r},i={category:"fetch",data:s,level:"error",type:"http"};t.emit("beforeOutgoingRequestBreadcrumb",i,o),It(i,o)}else{const s=e.response,o={...e.fetchData,status_code:s?.status};e.fetchData.request_body_size,e.fetchData.response_body_size,s?.status;const i={input:e.args,response:s,startTimestamp:n,endTimestamp:r},a={category:"fetch",data:o,type:"http",level:jt(o.status_code)};t.emit("beforeOutgoingRequestBreadcrumb",a,i),It(a,i)}}}(t)),e.history&&(0,Ut._)(function(t){return function(e){if((0,v.KU)()!==t)return;let n=e.from,r=e.to;const s=(0,Dt.Dl)(St.jf.location.href);let o=n?(0,Dt.Dl)(n):void 0;const i=(0,Dt.Dl)(r);o?.path||(o=s),s.protocol===i.protocol&&s.host===i.host&&(r=i.relative),s.protocol===o.protocol&&s.host===o.host&&(n=o.relative),It({category:"navigation",data:{from:n,to:r}})}}(t)),e.sentry&&t.on("beforeSendEvent",function(t){return function(e){(0,v.KU)()===t&&It({category:"sentry."+("transaction"===e.type?"transaction":"event"),event_id:e.event_id,level:e.level,message:(0,p.$X)(e)},{event:e})}}(t))}}};const Jt=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],zt=(t={})=>{const e={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...t};return{name:"BrowserApiErrors",setupOnce(){e.setTimeout&&(0,y.GS)(St.jf,"setTimeout",Kt),e.setInterval&&(0,y.GS)(St.jf,"setInterval",Kt),e.requestAnimationFrame&&(0,y.GS)(St.jf,"requestAnimationFrame",Gt),e.XMLHttpRequest&&"XMLHttpRequest"in St.jf&&(0,y.GS)(XMLHttpRequest.prototype,"send",Wt);const t=e.eventTarget;if(t){(Array.isArray(t)?t:Jt).forEach((t=>function(t,e){const n=St.jf,r=n[t]?.prototype;if(!r?.hasOwnProperty?.("addEventListener"))return;(0,y.GS)(r,"addEventListener",(function(n){return function(r,s,o){try{"function"==typeof s.handleEvent&&(s.handleEvent=(0,St.LV)(s.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,T.qQ)(s),target:t},handled:!1,type:"instrument"}}))}catch{}return e.unregisterOriginalCallbacks&&function(t,e,n){t&&"object"==typeof t&&"removeEventListener"in t&&"function"==typeof t.removeEventListener&&t.removeEventListener(e,n)}(this,r,s),n.apply(this,[r,(0,St.LV)(s,{mechanism:{data:{function:"addEventListener",handler:(0,T.qQ)(s),target:t},handled:!1,type:"instrument"}}),o])}})),(0,y.GS)(r,"removeEventListener",(function(t){return function(e,n,r){try{const s=n.__sentry_wrapped__;s&&t.call(this,e,s,r)}catch(t){}return t.call(this,e,n,r)}}))}(t,e)))}}}};function Kt(t){return function(...e){const n=e[0];return e[0]=(0,St.LV)(n,{mechanism:{data:{function:(0,T.qQ)(t)},handled:!1,type:"instrument"}}),t.apply(this,e)}}function Gt(t){return function(e){return t.apply(this,[(0,St.LV)(e,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,T.qQ)(t)},handled:!1,type:"instrument"}})])}}function Wt(t){return function(...e){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((t=>{t in n&&"function"==typeof n[t]&&(0,y.GS)(n,t,(function(e){const n={mechanism:{data:{function:t,handler:(0,T.qQ)(e)},handled:!1,type:"instrument"}},r=(0,y.sp)(e);return r&&(n.mechanism.data.handler=(0,T.qQ)(r)),(0,St.LV)(e,n)}))})),t.apply(this,e)}}const Xt=()=>({name:"BrowserSession",setupOnce(){void 0!==St.jf.document?((0,r.J0)({ignoreDuration:!0}),(0,r.J5)(),(0,Ut._)((({from:t,to:e})=>{void 0!==t&&t!==e&&((0,r.J0)({ignoreDuration:!0}),(0,r.J5)())}))):qt.T&&o.vF.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.")}});var Vt=n(17227),Yt=n(77587);const Qt=(t={})=>{const e={onerror:!0,onunhandledrejection:!0,...t};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(t){e.onerror&&(!function(t){(0,Vt.L)((e=>{const{stackParser:n,attachStacktrace:s}=te();if((0,v.KU)()!==t||(0,St.jN)())return;const{msg:o,url:i,line:a,column:c,error:u}=e,d=function(t,e,n,r){const s=t.exception=t.exception||{},o=s.values=s.values||[],i=o[0]=o[0]||{},a=i.stacktrace=i.stacktrace||{},c=a.frames=a.frames||[],u=r,d=n,p=(0,J.Kg)(e)&&e.length>0?e:(0,Ot.$N)();0===c.length&&c.push({colno:u,filename:p,function:"?",in_app:!0,lineno:d});return t}(vt(n,u||o,void 0,s,!1),i,a,c);d.level="error",(0,r.r)(d,{originalException:u,mechanism:{handled:!1,type:"onerror"}})}))}(t),Zt("onerror")),e.onunhandledrejection&&(!function(t){(0,Yt.r)((e=>{const{stackParser:n,attachStacktrace:s}=te();if((0,v.KU)()!==t||(0,St.jN)())return;const o=function(t){if((0,J.sO)(t))return t;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch{}return t}(e),i=(0,J.sO)(o)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(o)}`}]}}:vt(n,o,void 0,s,!0);i.level="error",(0,r.r)(i,{originalException:o,mechanism:{handled:!1,type:"onunhandledrejection"}})}))}(t),Zt("onunhandledrejection"))}}};function Zt(t){qt.T&&o.vF.log(`Global Handler attached: ${t}`)}function te(){const t=(0,v.KU)();return t?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const ee=()=>({name:"HttpContext",preprocessEvent(t){if(!St.jf.navigator&&!St.jf.location&&!St.jf.document)return;const e=(0,St.AP)(),n={...e.headers,...t.request?.headers};t.request={...e,...t.request,headers:n}}});function ne(t,e,n,r,s,o){if(!s.exception?.values||!o||!(0,J.tH)(o.originalException,Error))return;const i=s.exception.values.length>0?s.exception.values[s.exception.values.length-1]:void 0;i&&(s.exception.values=re(t,e,r,o.originalException,n,s.exception.values,i,0
1))}function re(t,e,n,r,s,o,i,a){if(o.length>=n+1)return o;let c=[...o];if((0,J.tH)(r[s],Error)){se(i,a);const o=t(e,r[s]),u=c.length;oe(o,s,u,a),c=re(t,e,n,r[s],s,[o,...c],o,u)}return Array.isArray(r.errors)&&r.errors.forEach(((r,o)=>{if((0,J.tH)(r,Error)){se(i,a);const u=t(e,r),d=c.length;oe(u,`errors[${o}]`,d,a),c=re(t,e,n,r,s,[u,...c],u,d)}})),c}function se(t,e){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,..."AggregateError"===t.type&&{is_exception_group:!0},exception_id:e}}function oe(t,e,n,r){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,type:"chained",source:e,exception_id:n,parent_id:r}}const ie=(t={})=>{const e=t.limit||5,n=t.key||"cause";return{name:"LinkedErrors",preprocessEvent(t,r,s){ne(dt,s.getOptions().stackParser,n,e,t,r)}}};function ae(t,e,n,r){const s={filename:t,function:"<anonymous>"===e?"?":e,in_app:!0};return void 0!==n&&(s.lineno=n),void 0!==r&&(s.colno=r),s}const ce=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,ue=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,de=/\((\S*)(?::(\d+))(?::(\d+))\)/,pe=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,le=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,fe=[[30,t=>{const e=ce.exec(t);if(e){const[,t,n,r]=e;return ae(t,"?",+n,+r)}const n=ue.exec(t);if(n){if(n[2]&&0===n[2].indexOf("eval")){const t=de.exec(n[2]);t&&(n[2]=t[1],n[3]=t[2],n[4]=t[3])}const[t,e]=me(n[1]||"?",n[2]);return ae(e,t,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],[50,t=>{const e=pe.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const t=le.exec(e[3]);t&&(e[1]=e[1]||"eval",e[3]=t[1],e[4]=t[2],e[5]="")}let t=e[3],n=e[1]||"?";return[n,t]=me(n,t),ae(t,n,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}}]],he=(0,T.gd)(...fe),me=(t,e)=>{const n=-1!==t.indexOf("safari-extension"),r=-1!==t.indexOf("safari-web-extension");return n||r?[-1!==t.indexOf("@")?t.split("@")[0]:"?",n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]},ge=Symbol.for("SentryBufferFullError");function _e(t){const e=[];function n(t){return e.splice(e.indexOf(t),1)[0]||Promise.resolve(void 0)}return{$:e,add:function(r){if(!(void 0===t||e.length<t))return(0,z.xg)(ge);const s=r();return-1===e.indexOf(s)&&e.push(s),s.then((()=>n(s))).then(null,(()=>n(s).then(null,(()=>{})))),s},drain:function(t){return new z.T2(((n,r)=>{let s=e.length;if(!s)return n(!0);const o=setTimeout((()=>{t&&t>0&&n(!1)}),t);e.forEach((t=>{(0,z.XW)(t).then((()=>{--s||(clearTimeout(o),n(!0))}),r)}))}))}}}const ve=6e4;function ye(t,{statusCode:e,headers:n},r=Date.now()){const s={...t},o=n?.["x-sentry-rate-limits"],i=n?.["retry-after"];if(o)for(const t of o.trim().split(",")){const[e,n,,,o]=t.split(":",5),i=parseInt(e,10),a=1e3*(isNaN(i)?60:i);if(n)for(const t of n.split(";"))"metric_bucket"===t&&o&&!o.split(";").includes("custom")||(s[t]=r+a);else s.all=r+a}else i?s.all=r+function(t,e=Date.now()){const n=parseInt(`${t}`,10);if(!isNaN(n))return 1e3*n;const r=Date.parse(`${t}`);return isNaN(r)?ve:r-e}(i,r):429===e&&(s.all=r+6e4);return s}const be=64;function Se(t,e,n=_e(t.bufferSize||be)){let r={};return{send:function(i){const a=[];if((0,q.yH)(i,((e,n)=>{const s=(0,q.zk)(n);!function(t,e,n=Date.now()){return function(t,e){return t[e]||t.all||0}(t,e)>n}(r,s)?a.push(e):t.recordDroppedEvent("ratelimit_backoff",s)})),0===a.length)return(0,z.XW)({});const c=(0,q.h4)(i[0],a),u=e=>{(0,q.yH)(c,((n,r)=>{t.recordDroppedEvent(e,(0,q.zk)(r))}))};return n.add((()=>e({body:(0,q.bN)(c)}).then((t=>(void 0!==t.statusCode&&(t.statusCode<200||t.statusCode>=300)&&s.T&&o.vF.warn(`Sentry responded with status code ${t.statusCode} to sent event.`),r=ye(r,t),t)),(t=>{throw u("network_error"),s.T&&o.vF.error("Encountered error running transport request:",t),t})))).then((t=>t),(t=>{if(t===ge)return s.T&&o.vF.error("Skipped sending event because buffer is full."),u("queue_overflow"),(0,z.XW)({});throw t}))},flush:t=>n.drain(t)}}var Ee=n(98822),Te=n(4693);const xe={};function ke(t){const e=xe[t];if(e)return e;let n=Ct.j[t];if((0,Ee.a3)(n))return xe[t]=n.bind(Ct.j);const r=Ct.j.document;if(r&&"function"==typeof r.createElement)try{const e=r.createElement("iframe");e.hidden=!0,r.head.appendChild(e);const s=e.contentWindow;s?.[t]&&(n=s[t]),r.head.removeChild(e)}catch(e){Te.T&&o.vF.warn(`Could not create sandbox iframe for ${t} check, bailing to window.${t}: `,e)}return n?xe[t]=n.bind(Ct.j):n}function we(t){xe[t]=void 0}function Ie(t,e=ke("fetch")){let n=0,r=0;return Se(t,(function(s){const o=s.body.length;n+=o,r++;
1const i={body:s.body,method:"POST",referrerPolicy:"strict-origin",headers:t.headers,keepalive:n<=6e4&&r<15,...t.fetchOptions};if(!e)return we("fetch"),(0,z.xg)("No fetch implementation available");try{return e(t.url,i).then((t=>(n-=o,r--,{statusCode:t.status,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")}})))}catch(t){return we("fetch"),n-=o,r--,(0,z.xg)(t)}}))}function Oe(){return!!function(){if(void 0===St.jf.window)return!1;const t=St.jf;if(t.nw)return!1;const e=t.chrome||t.browser;if(!e?.runtime?.id)return!1;const n=(0,Ot.$N)(),r=["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"];return!(St.jf===St.jf.top&&r.some((t=>n.startsWith(`${t}://`))))}()&&(qt.T&&(0,o.pq)((()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")})),!0)}var $e=n(96540);function je(t){const e={...t};return rt(e,"react"),(0,r.o)("react",{version:$e.version}),function(t={}){const e=!t.skipBrowserExtensionCheck&&Oe(),n={...t,enabled:!e&&t.enabled,stackParser:(0,T.vk)(t.stackParser||he),integrations:a({integrations:t.integrations,defaultIntegrations:null==t.defaultIntegrations?[m(),E(),zt(),Bt(),Qt(),ie(),x(),ee(),Xt()]:t.defaultIntegrations}),transport:t.transport||Ie};return O(Et,n)}(e)}}}]);
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.