(()=>{"use strict";var t={1662:(t,e,n)=>{function r(t,e){let n=0;for(let r=t.length-1;r>=0;r--){const e=t[r];"."===e?t.splice(r,1):".."===e?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}n.d(e,{P8:()=>u,V8:()=>c});const s=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function o(t){const e=t.length>1024?`${t.slice(-1024)}`:t,n=s.exec(e);return n?n.slice(1):[]}function i(...t){let e="",n=!1;for(let r=t.length-1;r>=-1&&!n;r--){const s=r>=0?t[r]:"/";s&&(e=`${s}/${e}`,n="/"===s.charAt(0))}return e=r(e.split("/").filter((t=>!!t)),!n).join("/"),(n?"/":"")+e||"."}function a(t){let e=0;for(;e=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}function c(t,e){t=i(t).slice(1),e=i(e).slice(1);const n=a(t.split("/")),r=a(e.split("/")),s=Math.min(n.length,r.length);let o=s;for(let i=0;i{n.d(e,{W:()=>m});var r=n(482247),s=n(17473),o=n(759955),i=n(864918),a=n(737111),c=n(928860),u=n(212480),d=n(919180),p=n(240967),l=n(647039),f=n(274614),h=n(11903);class m{constructor(t={}){this._traceId=t.traceId||(0,c.e)(),this._spanId=t.spanId||(0,c.Z)(),this._startTime=t.startTimestamp||(0,d.zf)(),this._links=t.links,this._attributes={},this.setAttributes({[i.JD]:"manual",[i.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?u.aO:u.CC}}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,u.cI)(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this.setAttribute(i.i_,"custom"),this}end(t){this._endTime||(this._endTime=(0,u.cI)(t),(0,l.U)(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[i.uT],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:(0,u.yW)(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[i.JD],profile_id:this._attributes[i.E1],exclusive_time:this._attributes[i.jG],measurements:(0,f.$)(this._events),is_segment:this._isStandaloneSpan&&(0,u.zU)(this)===this||void 0,segment_id:this._isStandaloneSpan?(0,u.zU)(this).spanContext().spanId:void 0,links:(0,u.uU)(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,e,n){s.T&&a.Yz.log("[Tracing] Adding an event to span:",t);const r=g(e)?e:n||(0,d.zf)(),o=g(e)?{}:e||{},i={name:t,time:(0,u.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,u.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,o.lu)([this],t)):(s.T&&a.Yz.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,h.L)(this).scope||(0,r.o5)()).captureEvent(e)}}_convertSpanToTransaction(){if(!_((0,u.et)(this)))return;this._name||(s.T&&a.Yz.warn("Transaction has no name, falling back to ``."),this._name="");const{scope:t,isolationScope:e}=(0,h.L)(this),n=t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;const r=(0,u.xO)(this).filter((t=>t!==this&&!function(t){return t instanceof m&&t.isStandaloneSpan()}(t))).map((t=>(0,u.et)(t))).filter(_),o=this._attributes[i.i_];delete this._attributes[i.Le],r.forEach((t=>{delete t.data[i.Le]}));const c={contexts:{trace:(0,u.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,...o&&{transaction_info:{source:o}}},d=(0,f.$)(this._events);return d&&Object.keys(d).length&&(s.T&&a.Yz.log("[Measurements] Adding measurements to transaction event",JSON.stringify(d,void 0,2)),c.measurements=d),c}}function g(t){return t&&"number"==typeof t||t instanceof Date||Array.isArray(t)}function _(t){return!!(t.start_timestamp&&t.timestamp&&t.span_id&&t.trace_id)}},8194:(t,e,n)=>{function r(t,e){const{value:n,unit:r}="object"==typeof(s=t)&&null!=s&&!Array.isArray(s)&&Object.keys(s).includes("value")?t:{value:t,unit:void 0};var s;const o=function(t){const e="string"==typeof t?"string":"boolean"==typeof t?"boolean":"number"!=typeof t||Number.isNaN(t)?null:Number.isInteger(t)?"integer":"double";if(e)return{value:t,type:e}}(n),i=r&&"string"==typeof r?{unit:r}:{};if(o)return{...o,...i};if(!e||"skip-undefined"===e&&void 0===n)return;let a="";try{a=JSON.stringify(n)??""}catch{}return{value:a,type:"string",...i}}function s(t,e=!1){const n={};for(const[s,o]of Object.entries(t??{})){const t=r(o,e);t&&(n[s]=t)}return n}n.d(e,{SY:()=>s})},11903:(t,e,n)=>{n.d(e,{L:()=>u,d:()=>c});var r=n(485510),s=n(160742);const o="_sentryScope",i="_sentryIsolationScope";function a(t){if(t){if("object"==typeof t&&"deref"in t&&"function"==typeof t.deref)try{return t.deref()}catch{return}return t}}function c(t,e,n){t&&((0,r.my)(t,i,function(t){try{const e=s.O.WeakRef;if("function"==typeof e)return new e(t)}catch{}return t}(n)),(0,r.my)(t,o,e))}function u(t){const e=t;return{scope:e[o],isolationScope:a(e[i])}}},17473:(t,e,n)=>{n.d(e,{T:()=>r});const r=!1},17715:(t,e,n)=>{n.d(e,{E:()=>a});var r=n(737111),s=n(679781),o=n(417449),i=n(731074);function a(){return!!function(){if(void 0===i.jf.window)return!1;const t=i.jf;if(t.nw)return!1;const e=t.chrome||t.browser;if(!e?.runtime?.id)return!1;const n=(0,s.$N)(),r=["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"];return!(i.jf===i.jf.top&&r.some((t=>n.startsWith(`${t}://`))))}()&&(o.T&&(0,r.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)}},27084:(t,e,n)=>{n.d(e,{i:()=>p});var r=n(409240),s=n(485510),o=n(911857),i=n(850577);const a=1e3;let c,u,d;function p(t){(0,r.s5)("dom",t),(0,r.AS)("dom",l)}function l(){if(!i.j.document)return;const t=r.aj.bind(null,"dom"),e=f(t,!0);i.j.document.addEventListener("click",e,!1),i.j.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach((e=>{const n=i.j,r=n[e]?.prototype;r?.hasOwnProperty?.("addEventListener")&&((0,s.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=f(t);o.handler=r,e.call(this,n,r,s)}o.refCount++}catch{}return e.call(this,n,r,s)}})),(0,s.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{}return t.call(this,e,n,r)}})))}))}function f(t,e=!1){return n=>{if(!n||n._sentryCaptured)return;const r=function(t){try{return t.target}catch{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,s.my)(n,"_sentryCaptured",!0),r&&!r._sentryId&&(0,s.my)(r,"_sentryId",(0,o.eJ)());const p="keypress"===n.type?"input":n.type;if(!function(t){if(t.type!==u)return!1;try{if(!t.target||t.target._sentryId!==d)return!1}catch{}return!0}(n)){t({event:n,name:p,global:e}),u=n.type,d=r?r._sentryId:void 0}clearTimeout(c),c=i.j.setTimeout((()=>{d=void 0,u=void 0}),a)}}},27373:(t,e,n)=>{n.d(e,{M:()=>r});const r="10.34.0"},50936:(t,e,n)=>{n.d(e,{_:()=>c});var r=n(409240),s=n(375109),o=n(485510),i=n(850577);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,s.NJ)()&&((0,o.GS)(i.j.history,"pushState",t),(0,o.GS)(i.j.history,"replaceState",t))}},57486:(t,e,n)=>{n.d(e,{R:()=>c,e:()=>a});var r=n(17473),s=n(737111),o=n(173188);function i(t){s.Yz.log(`Ignoring span ${t.op} - ${t.description} because it matches \`ignoreSpans\`.`)}function a(t,e){if(!e?.length||!t.description)return!1;for(const s of e){if("string"==typeof(n=s)||n instanceof RegExp){if((0,o._c)(t.description,s))return r.T&&i(t),!0;continue}if(!s.name&&!s.op)continue;const e=!s.name||(0,o._c)(t.description,s.name),a=!s.op||t.op&&(0,o._c)(t.op,s.op);if(e&&a)return r.T&&i(t),!0}var n;return!1}function c(t,e){const n=e.parent_span_id,r=e.span_id;if(n)for(const s of t)s.parent_span_id===r&&(s.parent_span_id=n)}},113715:(t,e,n)=>{function r(t){return!1}n.d(e,{f:()=>r})},155195:(t,e,n)=>{n.d(e,{A9:()=>f,Iy:()=>l,TC:()=>p,kM:()=>d});var r=n(737111),s=n(972115),o=n(675608),i=n(693810),a=n(928860),c=n(921580);const u=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function d(t,e){const n=function(t){if(!t)return;const e=t.match(u);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),r=(0,s.yD)(e);if(!n?.traceId)return{traceId:(0,a.e)(),sampleRand:(0,c.hY)()};const o=function(t,e){const n=(0,i.i)(e?.sample_rand);if(void 0!==n)return n;const r=(0,i.i)(e?.sample_rate);return r&&void 0!==t?.parentSampled?t.parentSampled?(0,c.hY)()*r:r+(0,c.hY)()*(1-r):(0,c.hY)()}(n,r);r&&(r.sample_rand=o.toString());const{traceId:d,parentSpanId:p,parentSampled:l}=n;return{traceId:d,parentSpanId:p,sampled:l,dsc:r||{},sampleRand:o}}function p(t=(0,a.e)(),e=(0,a.Z)(),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${t}-${e}${r}`}function l(t=(0,a.e)(),e=(0,a.Z)(),n){return`00-${t}-${e}-${n?"01":"00"}`}function f(t,e){const n=(0,o.ul)(t);if(e&&n&&e!==n)return r.Yz.log(`Won't continue trace because org IDs don't match (incoming baggage: ${e}, SDK options: ${n})`),!1;return!(t.getOptions().strictTraceContinuation||!1)||!(e&&!n||!e&&n)||(r.Yz.log(`Starting a new trace because strict trace continuation is enabled but one org ID is missing (incoming baggage: ${e}, Sentry client: ${n})`),!1)}},160742:(t,e,n)=>{n.d(e,{O:()=>r});const r=globalThis},167098:(t,e,n)=>{n.d(e,{Er:()=>a,Mn:()=>c});var r=n(409240),s=n(919180),o=n(241013),i=n(850577);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,s.zf)(),u=(0,o.Kg)(n[0])?n[0].toUpperCase():void 0,d=function(t){if((0,o.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{}const n={endTimestamp:1e3*(0,s.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,s]=n,i=e[a];return i&&(0,o.Kg)(r)&&(0,o.Kg)(s)&&(i.request_headers[r.toLowerCase()]=s),t.apply(e,n)}}),t.apply(e,n)}}),t.send=new Proxy(t.send,{apply(t,e,n){const o=e[a];if(!o)return t.apply(e,n);void 0!==n[0]&&(o.body=n[0]);const i={startTimestamp:1e3*(0,s.zf)(),xhr:e};return(0,r.aj)("xhr",i),t.apply(e,n)}})}},173188:(t,e,n)=>{n.d(e,{Xr:()=>u,_c:()=>c,gt:()=>a,nC:()=>i,xv:()=>o});var r=n(241013),s=n(755824);function o(t,e=0){return"string"!=typeof t||0===e||t.length<=e?t:`${t.slice(0,e)}...`}function i(t,e){let n=t;const r=n.length;if(r<=150)return n;e>r&&(e=r);let s=Math.max(e-60,0);s<5&&(s=0);let o=Math.min(s+140,r);return o>r-5&&(o=r),o===r&&(s=Math.max(o-140,0)),n=n.slice(s,o),s>0&&(n=`'{snip} ${n}`),oc(t,e,n)))}},177843:(t,e,n)=>{n.d(e,{X:()=>d});var r=n(17473),s=n(330013),o=n(737111),i=n(241013),a=n(381158),c=n(485510),u=n(173188);const d=(0,s._C)(((t={})=>{const{depth:e=3,captureErrorCause:n=!0}=t;return{name:"ExtraErrorData",processEvent(t,r,s){const{maxValueLength:o}=s.getOptions();return function(t,e={},n,r,s){if(!e.originalException||!(0,i.bJ)(e.originalException))return t;const o=e.originalException.name||e.originalException.constructor.name,u=p(e.originalException,r,s);if(u){const e={...t.contexts},r=(0,a.S8)(u,n);return(0,i.Qd)(r)&&((0,c.my)(r,"__sentry_skip_normalization__",!0),e[o]=r),{...t,contexts:e}}return t}(t,r,e,n,o)}}}));function p(t,e,n){try{const r=["name","message","stack","line","column","fileName","lineNumber","columnNumber","toJSON"],s={};for(const e of Object.keys(t)){if(-1!==r.indexOf(e))continue;const o=t[e];s[e]=(0,i.bJ)(o)||"string"==typeof o?n?(0,u.xv)(`${o}`,n):`${o}`:o}if(e&&void 0!==t.cause)if((0,i.bJ)(t.cause)){const e=t.cause.name||t.cause.constructor.name;s.cause={[e]:p(t.cause,!1,n)}}else s.cause=t.cause;if("function"==typeof t.toJSON){const e=t.toJSON();for(const t of Object.keys(e)){const n=e[t];s[t]=(0,i.bJ)(n)?n.toString():n}}return s}catch(s){r.T&&o.Yz.error("Unable to extract extra data from the Error object:",s)}return null}},189534:(t,e,n)=>{n.d(e,{U:()=>r});const r="production"},212480:(t,e,n)=>{n.d(e,{Bk:()=>I,CC:()=>h,Ck:()=>_,Hu:()=>O,aO:()=>m,cI:()=>b,et:()=>E,kX:()=>y,pK:()=>x,uU:()=>v,xO:()=>$,xl:()=>C,yW:()=>w,zU:()=>j});var r=n(497571),s=n(561499),o=n(482247),i=n(864918),a=n(657862),c=n(11903),u=n(485510),d=n(928860),p=n(919180),l=(n(155195),n(737111)),f=n(479054);const h=0,m=1;let g=!1;function _(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 y(t){const{spanId:e,traceId:n,isRemote:r}=t.spanContext(),s=r?e:E(t).parent_span_id,o=(0,c.L)(t).scope;return{parent_span_id:s,span_id:r?o?.getPropagationContext().propagationSpanId||(0,d.Z)():e,trace_id:n}}function v(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===m,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:w(c),op:r[i.uT],origin:r[i.JD],links:v(u)}}return{span_id:e,trace_id:n,start_timestamp:0,data:{}}}function x(t){const{traceFlags:e}=t.spanContext();return e===m}function w(t){if(t&&t.code!==a.a3)return t.code===a.F3?"ok":t.message||"internal_error"}const k="_sentryChildSpans",T="_sentryRootSpan";function O(t,e){const n=t[T]||t;(0,u.my)(e,T,n),t[k]?t[k].add(e):(0,u.my)(t,k,new Set([e]))}function $(t){const e=new Set;return function t(n){if(!e.has(n)&&x(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[T]||t}function I(){const t=(0,s.EU)(),e=(0,r.h)(t);return e.getActiveSpan?e.getActiveSpan():(0,f.f)((0,o.o5)())}function C(){g||((0,l.pq)((()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")})),g=!0)}},223830:(t,e,n)=>{n.d(e,{j:()=>a});var r=n(17473),s=n(737111),o=n(241013),i=n(348277);function a(t,e,n,r=0){try{const s=c(e,n,t,r);return(0,o.Qg)(s)?s:(0,i.XW)(s)}catch(s){return(0,i.xg)(s)}}function c(t,e,n,i){const a=n[i];if(!t||!a)return t;const u=a({...t},e);return r.T&&null===u&&s.Yz.log(`Event processor "${a.id||"?"}" dropped event`),(0,o.Qg)(u)?u.then((t=>c(t,e,n,i+1))):c(u,e,n,i+1)}},233464:(t,e,n)=>{n.d(e,{P:()=>a});var r=n(737111),s=n(485510),o=n(160742),i=n(409240);function a(t){const e="console";(0,i.s5)(e,t),(0,i.AS)(e,c)}function c(){"console"in o.O&&r.Ow.forEach((function(t){t in o.O.console&&(0,s.GS)(o.O.console,t,(function(e){return r.Z9[t]=e,function(...e){const n={args:e,level:t};(0,i.aj)("console",n);const s=r.Z9[t];s?.apply(o.O.console,e)}}))}))}},238913:(t,e,n)=>{n.d(e,{Z:()=>o});var r=n(675608),s=n(831433);function o(t,e,n,o){const i={};return e?.sdk&&(i.sdk={name:e.sdk.name,version:e.sdk.version}),n&&o&&(i.dsn=(0,r.SB)(o)),(0,s.h4)(i,[(a=t,[{type:"trace_metric",item_count:a.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:a}])]);var a}},240967:(t,e,n)=>{n.d(e,{LZ:()=>f,ao:()=>m,k1:()=>g});var r=n(189534),s=n(482247),o=n(864918),i=n(972115),a=n(675608),c=n(113715),u=n(485510),d=n(212480),p=n(11903);const l="_frozenDsc";function f(t,e){const n=t;(0,u.my)(n,l,e)}function h(t,e){const n=e.getOptions(),{publicKey:s}=e.getDsn()||{},o={environment:n.environment||r.U,release:n.release,public_key:s,trace_id:t,org_id:(0,a.ul)(e)};return e.emit("createDsc",o),o}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,d.zU)(t),r=(0,d.et)(n),a=r.data,u=n.spanContext().traceState,f=u?.get("sentry.sample_rate")??a[o.sy]??a[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 _=u?.get("sentry.dsc"),y=_&&(0,i.yD)(_);if(y)return m(y);const v=h(t.spanContext().traceId,e),b=a[o.i_],S=r.description;return"url"!==b&&S&&(v.transaction=S),(0,c.f)()&&(v.sampled=String((0,d.pK)(n)),v.sample_rand=u?.get("sentry.sample_rand")??(0,p.L)(n).scope?.getPropagationContext().sampleRand.toString()),m(v),e.emit("createDsc",v,n),v}},241013:(t,e,n)=>{n.d(e,{BD:()=>a,Kg:()=>u,L2:()=>v,NF:()=>d,Qd:()=>l,Qg:()=>g,T2:()=>i,W6:()=>c,bJ:()=>s,gd:()=>m,ks:()=>b,mE:()=>_,sO:()=>p,tH:()=>y,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 y(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&&y(t,Event)}function h(t){return"undefined"!=typeof Element&&y(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 y(t,e){try{return t instanceof e}catch{return!1}}function v(t){return!("object"!=typeof t||null===t||!(t.__isVue||t._isVue||t.__v_isVNode))}function b(t){return"undefined"!=typeof Request&&y(t,Request)}},251272:(t,e,n)=>{n.d(e,{NG:()=>o});n(8194);var r=n(561499),s=(n(482247),n(17473),n(737111),n(289269),n(479054),n(919180),n(713925),n(238913));function o(t,e){const n=e??i(t)??[];if(0===n.length)return;const r=t.getOptions(),o=(0,s.Z)(n,r._metadata,r.tunnel,t.getDsn());a().set(t,[]),t.emit("flushMetrics"),t.sendEnvelope(o)}function i(t){return a().get(t)}function a(){return(0,r.BY)("clientToMetricBufferMap",(()=>new WeakMap))}},256570:(t,e,n)=>{function r(){return"npm"}n.d(e,{e:()=>r})},274614:(t,e,n)=>{n.d(e,{$:()=>s});n(17473);var r=n(864918);n(737111),n(212480);function s(t){if(!t||0===t.length)return;const e={};return t.forEach((t=>{const n=t.attributes||{},s=n[r.Sn],o=n[r.xc];"string"==typeof s&&"number"==typeof o&&(e[t.name]={value:o,unit:s})})),e}},289269:(t,e,n)=>{n.d(e,{Om:()=>d,e2:()=>a});var r=n(482247),s=n(240967),o=n(935521),i=n(212480);function a(t,e){const{fingerprint:n,span:r,breadcrumbs:o,sdkProcessingMetadata:a}=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,i.kX)(e),...t.contexts},t.sdkProcessingMetadata={dynamicSamplingContext:(0,s.k1)(e),...t.sdkProcessingMetadata};const n=(0,i.zU)(e),r=(0,i.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,o),function(t,e){t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...e}}(t,a)}function c(t,e){const{extra:n,tags:r,attributes:s,user:i,contexts:a,level:c,sdkProcessingMetadata:d,breadcrumbs:p,fingerprint:l,eventProcessors:f,attachments:h,propagationContext:m,transactionName:g,span:_}=e;u(t,"extra",n),u(t,"tags",r),u(t,"attributes",s),u(t,"user",i),u(t,"contexts",a),t.sdkProcessingMetadata=(0,o.h)(t.sdkProcessingMetadata,d,2),c&&(t.level=c),g&&(t.transactionName=g),_&&(t.span=_),p.length&&(t.breadcrumbs=[...t.breadcrumbs,...p]),l.length&&(t.fingerprint=[...t.fingerprint,...l]),f.length&&(t.eventProcessors=[...t.eventProcessors,...f]),h.length&&(t.attachments=[...t.attachments,...h]),t.propagationContext={...t.propagationContext,...m}}function u(t,e,n){t[e]=(0,o.h)(t[e],n,1)}function d(t,e){const n=(0,r.m6)().getScopeData();return t&&c(n,t.getScopeData()),e&&c(n,e.getScopeData()),n}},290572:(t,e,n)=>{function r(t){return void 0===t?void 0:t>=400&&t<500?"warning":t>=500?"error":void 0}n.d(e,{X:()=>r})},299193:(t,e,n)=>{n.d(e,{ur:()=>d});var r=n(482247),s=n(241013),o=n(485510),i=n(375109),a=n(919180),c=n(160742),u=n(409240);function d(t,e){const n="fetch";(0,u.s5)(n,t),(0,u.AS)(n,(()=>p(void 0,e)))}function p(t,e=!1){e&&!(0,i.m7)()||(0,o.GS)(c.O,"fetch",(function(e){return function(...n){const i=new Error,{method:d,url:p}=function(t){if(0===t.length)return{method:"GET",url:""};if(2===t.length){const[e,n]=t;return{url:f(e),method:l(n,"method")?String(n.method).toUpperCase():(0,s.ks)(e)&&l(e,"method")?String(e.method).toUpperCase():"GET"}}const e=t[0];return{url:f(e),method:l(e,"method")?String(e.method).toUpperCase():"GET"}}(n),m={args:n,fetchData:{method:d,url:p},startTimestamp:1e3*(0,a.zf)(),virtualError:i,headers:h(n)};return t||(0,u.aj)("fetch",{...m}),e.apply(c.O,n).then((async e=>(t?t(e):(0,u.aj)("fetch",{...m,endTimestamp:1e3*(0,a.zf)(),response:e}),e)),(t=>{(0,u.aj)("fetch",{...m,endTimestamp:1e3*(0,a.zf)(),error:t}),(0,s.bJ)(t)&&void 0===t.stack&&(t.stack=i.stack,(0,o.my)(t,"framesToPop",1));const e=(0,r.KU)(),n=e?.getOptions().enhanceFetchErrorMessages??"always";if(!1!==n&&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(m.fetchData.url).host;"always"===n?t.message=`${t.message} (${e})`:(0,o.my)(t,"__sentry_fetch_url_host__",e)}catch{}throw t}))}}))}function l(t,e){return!!t&&"object"==typeof t&&!!t[e]}function f(t){return"string"==typeof t?t:t?l(t,"url")?t.url:t.toString?t.toString():"":""}function h(t){const[e,n]=t;try{if("object"==typeof n&&null!==n&&"headers"in n&&n.headers)return new Headers(n.headers);if((0,s.ks)(e))return new Headers(e.headers)}catch{}}},308365:(t,e,n)=>{n.d(e,{$:()=>c,o:()=>u});var r=n(17473),s=n(737111),o=n(831433),i=n(978438),a=n(647052);const c=64;function u(t,e,n=(0,i.C)(t.bufferSize||c)){let u={};return{send:function(c){const d=[];if((0,o.yH)(c,((e,n)=>{const r=(0,o.zk)(n);(0,a.Jz)(u,r)?t.recordDroppedEvent("ratelimit_backoff",r):d.push(e)})),0===d.length)return Promise.resolve({});const p=(0,o.h4)(c[0],d),l=e=>{(0,o.hP)(p,["client_report"])?r.T&&s.Yz.warn(`Dropping client report. Will not send outcomes (reason: ${e}).`):(0,o.yH)(p,((n,r)=>{t.recordDroppedEvent(e,(0,o.zk)(r))}))};return n.add((()=>e({body:(0,o.bN)(p)}).then((t=>(void 0!==t.statusCode&&(t.statusCode<200||t.statusCode>=300)&&r.T&&s.Yz.warn(`Sentry responded with status code ${t.statusCode} to sent event.`),u=(0,a.wq)(u,t),t)),(t=>{throw l("network_error"),r.T&&s.Yz.error("Encountered error running transport request:",t),t})))).then((t=>t),(t=>{if(t===i.a)return r.T&&s.Yz.error("Skipped sending event because buffer is full."),l("queue_overflow"),Promise.resolve({});throw t}))},flush:t=>n.drain(t)}}},325878:(t,e,n)=>{n.d(e,{lt:()=>o});n(8194);var r=n(561499),s=(n(482247),n(17473),n(737111),n(241013),n(289269),n(479054),n(919180),n(713925),n(720418),n(945343));function o(t,e){const n=e??i(t)??[];if(0===n.length)return;const r=t.getOptions(),o=(0,s.l)(n,r._metadata,r.tunnel,t.getDsn());a().set(t,[]),t.emit("flushLogs"),t.sendEnvelope(o)}function i(t){return a().get(t)}function a(){return(0,r.BY)("clientToLogBufferMap",(()=>new WeakMap))}},330013:(t,e,n)=>{n.d(e,{P$:()=>a,_C:()=>d,lc:()=>c,mH:()=>i,qm:()=>u});n(482247);var r=n(17473),s=n(737111);const o=[];function i(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 a(t,e){const n={};return e.forEach((e=>{e&&u(t,e,n)})),n}function c(t,e){for(const n of e)n?.afterAllSetup&&n.afterAllSetup(t)}function u(t,e,n){if(n[e.name])r.T&&s.Yz.log(`Integration skipped because it was already installed: ${e.name}`);else{if(n[e.name]=e,o.includes(e.name)||"function"!=typeof e.setupOnce||(e.setupOnce(),o.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)}r.T&&s.Yz.log(`Integration installed: ${e.name}`)}}function d(t){return t}},339385:(t,e,n)=>{n.d(e,{D:()=>i});var r=n(330013),s=n(1662),o=n(160742);const i=(0,r._C)(((t={})=>{const e=t.root,n=t.prefix||"app:///",r="window"in o.O&&!!o.O.window,i=t.iteratee||function({isBrowser:t,root:e,prefix:n}){return r=>{if(!r.filename)return r;const o=/^[a-zA-Z]:\\/.test(r.filename)||r.filename.includes("\\")&&!r.filename.includes("/"),i=/^\//.test(r.filename);if(t){if(e){const t=r.filename;0===t.indexOf(e)&&(r.filename=t.replace(e,n))}}else if(o||i){const t=o?r.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):r.filename,i=e?(0,s.V8)(e,t):(0,s.P8)(t);r.filename=`${n}${i}`}return r}}({isBrowser:r,root:e,prefix:n});return{name:"RewriteFrames",processEvent(t){let e=t;return t.exception&&Array.isArray(t.exception.values)&&(e=function(t){try{return{...t,exception:{...t.exception,values:t.exception.values.map((t=>{return{...t,...t.stacktrace&&{stacktrace:(e=t.stacktrace,{...e,frames:e?.frames?.map((t=>i(t)))})}};var e}))}}}catch{return t}}(e)),e}}}))},348277:(t,e,n)=>{n.d(e,{XW:()=>s,xg:()=>o});var r=n(241013);function s(t){return new i((e=>{e(t)}))}function o(t){return new i(((e,n)=>{n(t)}))}class i{constructor(t){this._state=0,this._handlers=[],this._runExecutor(t)}then(t,e){return new i(((n,r)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(s){r(s)}else n(e)},t=>{if(e)try{n(e(t))}catch(s){r(s)}else r(t)}]),this._executeHandlers()}))}catch(t){return this.then((t=>t),t)}finally(t){return new i(((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(0===this._state)return;const t=this._handlers.slice();this._handlers=[],t.forEach((t=>{t[0]||(1===this._state&&t[1](this._value),2===this._state&&t[2](this._value),t[0]=!0)}))}_runExecutor(t){const e=(t,e)=>{0===this._state&&((0,r.Qg)(e)?e.then(n,s):(this._state=t,this._value=e,this._executeHandlers()))},n=t=>{e(1,t)},s=t=>{e(2,t)};try{t(n,s)}catch(o){s(o)}}}},351726:(t,e,n)=>{function r(t){"aggregates"in t?void 0===t.attrs?.ip_address&&(t.attrs={...t.attrs,ip_address:"{{auto}}"}):void 0===t.ipAddress&&(t.ipAddress="{{auto}}")}n.d(e,{N:()=>r})},360202:(t,e,n)=>{n.d(e,{_:()=>a});var r=n(308365),s=n(978438),o=n(413349);const i=40;function a(t,e=(0,o.qd)("fetch")){let n=0,a=0;return(0,r.o)(t,(async function(r){const s=r.body.length;n+=s,a++;const i={body:r.body,method:"POST",referrerPolicy:"strict-origin",headers:t.headers,keepalive:n<=6e4&&a<15,...t.fetchOptions};try{const n=await e(t.url,i);return{statusCode:n.status,headers:{"x-sentry-rate-limits":n.headers.get("X-Sentry-Rate-Limits"),"retry-after":n.headers.get("Retry-After")}}}catch(c){throw(0,o.y7)("fetch"),c}finally{n-=s,a--}}),(0,s.C)(t.bufferSize||i))}},360258:(t,e,n)=>{function r(t){return"warn"===t?"warning":["fatal","error","warning","log","info","debug"].includes(t)?t:"log"}n.d(e,{t:()=>r})},368289:(t,e,n)=>{n.d(e,{BP:()=>d});var r=n(17473),s=n(737111),o=n(831433),i=n(647052);const a=100,c=5e3,u=36e5;function d(t){function e(...t){r.T&&s.Yz.log("[Offline]:",...t)}return n=>{const r=t(n);if(!n.createStore)throw new Error("No `createStore` function was provided");const s=n.createStore(n);let d,p=c;function l(t){d&&clearTimeout(d),d=setTimeout((async()=>{d=void 0;const t=await s.shift();t&&(e("Attempting to send previously queued event"),t[0].sent_at=(new Date).toISOString(),h(t,!0).catch((t=>{e("Failed to retry sending",t)})))}),t),"number"!=typeof d&&d.unref&&d.unref()}function f(){d||(l(p),p=Math.min(2*p,u))}async function h(t,u=!1){if(!u&&(0,o.hP)(t,["replay_event","replay_recording"]))return await s.push(t),l(a),{};try{if(n.shouldSend&&!1===await n.shouldSend(t))throw new Error("Envelope not sent because `shouldSend` callback returned false");const e=await r.send(t);let s=a;if(e)if(e.headers?.["retry-after"])s=(0,i.FA)(e.headers["retry-after"]);else if(e.headers?.["x-sentry-rate-limits"])s=6e4;else if((e.statusCode||0)>=400)return e;return l(s),p=c,e}catch(d){if(await function(t,e,r){return!(0,o.hP)(t,["client_report"])&&(!n.shouldStore||n.shouldStore(t,e,r))}(t,d,p))return u?await s.unshift(t):await s.push(t),f(),e("Error sending. Event queued.",d),{};throw d}}return n.flushAtStartup&&f(),{send:h,flush:t=>(void 0===t&&(p=c,l(a)),r.flush(t))}}}},375109:(t,e,n)=>{n.d(e,{NJ:()=>i,a3:()=>c,m7:()=>u});var r=n(17473),s=n(737111);const o=n(160742).O;function i(){return"history"in o&&!!o.history}function a(){if(!("fetch"in o))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{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(n){r.T&&s.Yz.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return t}},381158:(t,e,n)=>{n.d(e,{S8:()=>i,cd:()=>a});var r=n(241013),s=n(485510),o=n(755824);function i(t,e=100,n=1/0){try{return c("",t,e,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}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 global&&e===global)return"[Global]";if("undefined"!=typeof window&&e===window)return"[Window]";if("undefined"!=typeof document&&e===document)return"[Document]";if((0,r.L2)(e))return(0,o.nY)(e);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(n){return`**non-serializable** (${n})`}}(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{}const h=Array.isArray(e)?[]:{};let m=0;const g=(0,s.W4)(e);for(const r in g){if(!Object.prototype.hasOwnProperty.call(g,r))continue;if(m>=i){h[r]="[MaxProperties ~]";break}const t=g[r];h[r]=c(r,t,l-1,i,a),m++}return d(e),h}},399920:(t,e,n)=>{n.d(e,{K:()=>s});var r=n(27373);function s(t,e,n=[e],s="npm"){const o=t._metadata||{};o.sdk||(o.sdk={name:`sentry.javascript.${e}`,packages:n.map((t=>({name:`${s}:@sentry/${t}`,version:r.M}))),version:r.M}),t._metadata=o}},409240:(t,e,n)=>{n.d(e,{AS:()=>u,aj:()=>d,s5:()=>c});var r=n(17473),s=n(737111),o=n(755824);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(n){r.T&&s.Yz.error(`Error while instrumenting ${t}`,n)}}}function d(t,e){const n=t&&i[t];if(n)for(const i of n)try{i(e)}catch(a){r.T&&s.Yz.error(`Error while triggering instrumentation handler.\nType: ${t}\nName: ${(0,o.qQ)(i)}\nError:`,a)}}},413349:(t,e,n)=>{n.d(e,{qd:()=>c,y7:()=>u});var r=n(375109),s=n(737111),o=n(638362),i=n(850577);const a={};function c(t){const e=a[t];if(e)return e;let n=i.j[t];if((0,r.a3)(n))return a[t]=n.bind(i.j);const c=i.j.document;if(c&&"function"==typeof c.createElement)try{const e=c.createElement("iframe");e.hidden=!0,c.head.appendChild(e);const r=e.contentWindow;r?.[t]&&(n=r[t]),c.head.removeChild(e)}catch(u){o.T&&s.Yz.warn(`Could not create sandbox iframe for ${t} check, bailing to window.${t}: `,u)}return n?a[t]=n.bind(i.j):n}function u(t){a[t]=void 0}},415615:(t,e,n)=>{n.d(e,{p:()=>u});var r=n(330013),s=n(737111),o=n(665204),i=n(50936),a=n(417449),c=n(731074);const u=(0,r._C)((()=>({name:"BrowserSession",setupOnce(){void 0!==c.jf.document?((0,o.J0)({ignoreDuration:!0}),(0,o.J5)(),(0,i._)((({from:t,to:e})=>{void 0!==t&&t!==e&&((0,o.J0)({ignoreDuration:!0}),(0,o.J5)())}))):a.T&&s.Yz.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.")}})))},417449:(t,e,n)=>{n.d(e,{T:()=>r});const r=!1},434832:(t,e,n)=>{n.d(e,{s:()=>a});var r=n(17473),s=n(330013),o=n(737111),i=n(755824);const a=(0,s._C)((()=>{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(!u(t,e))return!1;if(!c(t,e))return!1;return!0}(t,e))return!0;if(function(t,e){const n=d(e),r=d(t);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!u(t,e))return!1;if(!c(t,e))return!1;return!0}(t,e))return!0;return!1}(e,t))return r.T&&o.Yz.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return t=e}}}));function c(t,e){let n=(0,i.RV)(t),r=(0,i.RV)(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let s=0;s{n.d(e,{H:()=>h});var r=n(17473),s=n(596315),o=n(737111),i=n(241013),a=n(935521),c=n(911857),u=n(928860),d=n(921580),p=n(479054),l=n(173188),f=n(919180);class h{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:(0,u.e)(),sampleRand:(0,d.hY)()}}clone(){const t=new h;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._attributes={...this._attributes},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,(0,p.r)(t,(0,p.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,s.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.setTags({[t]:e})}setAttributes(t){return this._attributes={...this._attributes,...t},this._notifyScopeListeners(),this}setAttribute(t,e){return this.setAttributes({[t]:e})}removeAttribute(t){return t in this._attributes&&(delete this._attributes[t],this._notifyScopeListeners()),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const e="function"==typeof t?t(this):t,n=e instanceof h?e.getScopeData():(0,i.Qd)(e)?t:void 0,{tags:r,attributes:s,extra:o,user:a,contexts:c,level:u,fingerprint:d=[],propagationContext:p}=n||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...s},this._extra={...this._extra,...o},this._contexts={...this._contexts,...c},a&&Object.keys(a).length&&(this._user=a),u&&(this._level=u),d.length&&(this._fingerprint=d),p&&(this._propagationContext=p),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,(0,p.r)(this,void 0),this._attachments=[],this.setPropagationContext({traceId:(0,u.e)(),sampleRand:(0,d.hY)()}),this._notifyScopeListeners(),this}addBreadcrumb(t,e){const n="number"==typeof e?e:100;if(n<=0)return this;const r={timestamp:(0,f.lu)(),...t,message:t.message?(0,l.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,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:(0,p.f)(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=(0,a.h)(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,e){const n=e?.event_id||(0,c.eJ)();if(!this._client)return r.T&&o.Yz.warn("No client configured on scope - will not capture exception!"),n;const s=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:s,...e,event_id:n},this),n}captureMessage(t,e,n){const s=n?.event_id||(0,c.eJ)();if(!this._client)return r.T&&o.Yz.warn("No client configured on scope - will not capture message!"),s;const i=n?.syntheticException??new Error(t);return this._client.captureMessage(t,e,{originalException:t,syntheticException:i,...n,event_id:s},this),s}captureEvent(t,e){const n=e?.event_id||(0,c.eJ)();return this._client?(this._client.captureEvent(t,{...e,event_id:n},this),n):(r.T&&o.Yz.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)}}},452012:(t,e,n)=>{n.d(e,{y:()=>p});var r=n(955284),s=n(256570),o=n(399920),i=n(325878),a=n(251272),c=n(351726),u=n(724196),d=n(731074);class p extends r.K{constructor(t){const e=(n=t,{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:d.jf.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...n});var n;const r=d.jf.SENTRY_SDK_SOURCE||(0,s.e)();(0,o.K)(e,"browser",["browser"],r),e._metadata?.sdk&&(e._metadata.sdk.settings={infer_ip:e.sendDefaultPii?"auto":"never",...e._metadata.sdk.settings}),super(e);const{sendDefaultPii:u,sendClientReports:p,enableLogs:l,_experiments:f,enableMetrics:h}=this._options,m=h??f?.enableMetrics??!0;d.jf.document&&(p||l||m)&&d.jf.document.addEventListener("visibilitychange",(()=>{"hidden"===d.jf.document.visibilityState&&(p&&this._flushOutcomes(),l&&(0,i.lt)(this),m&&(0,a.NG)(this))})),u&&this.on("beforeSendSession",c.N)}eventFromException(t,e){return(0,u.u)(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t,e="info",n){return(0,u.qv)(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)}}},452819:(t,e,n)=>{n.d(e,{Y7:()=>l});var r=n(497571),s=n(561499),o=n(482247),i=n(17473),a=(n(864918),n(972115),n(737111)),c=(n(680071),n(113715),n(693810),n(928860)),u=n(921580),d=n(479054);n(212480),n(155195),n(240967),n(647039),n(765097),n(966481),n(5439),n(657862),n(11903);function p(t,e){const n=f();return n.withActiveSpan?n.withActiveSpan(t,e):(0,o.v4)((n=>((0,d.r)(n,t||void 0),e(n))))}function l(t){return(0,o.v4)((e=>(e.setPropagationContext({traceId:(0,c.e)(),sampleRand:(0,u.hY)()}),i.T&&a.Yz.log(`Starting a new trace with id ${e.getPropagationContext().traceId}`),p(null,t))))}function f(){const t=(0,s.EU)();return(0,r.h)(t)}},470108:(t,e,n)=>{n.d(e,{M:()=>o});var r=n(330013),s=n(731074);const o=(0,r._C)((()=>({name:"HttpContext",preprocessEvent(t){if(!s.jf.navigator&&!s.jf.location&&!s.jf.document)return;const e=(0,s.AP)(),n={...e.headers,...t.request?.headers};t.request={...e,...t.request,headers:n}}})))},479054:(t,e,n)=>{n.d(e,{f:()=>i,r:()=>o});var r=n(485510);const s="_sentrySpan";function o(t,e){e?(0,r.my)(t,s,e):delete t[s]}function i(t){return t[s]}},482247:(t,e,n)=>{n.d(e,{KU:()=>l,m6:()=>u,o5:()=>a,rB:()=>p,rm:()=>c,v4:()=>d,vn:()=>f});var r=n(497571),s=n(561499),o=n(448059),i=n(928860);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(...t){const e=(0,s.EU)(),n=(0,r.h)(e);if(2===t.length){const[e,r]=t;return e?n.withSetIsolationScope(e,r):n.withIsolationScope(r)}return n.withIsolationScope(t[0])}function l(){return a().getClient()}function f(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}},485510:(t,e,n)=>{n.d(e,{GS:()=>a,HF:()=>h,W4:()=>p,my:()=>c,pO:()=>u,sp:()=>d});var r=n(17473),s=n(679781),o=n(737111),i=n(241013);function a(t,e,n){if(!(e in t))return;const s=t[e];if("function"!=typeof s)return;const i=n(s);"function"==typeof i&&u(i,s);try{t[e]=i}catch{r.T&&o.Yz.log(`Failed to replace method "${e}" in object`,t)}}function c(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch{r.T&&o.Yz.log(`Failed to add non-enumerable property "${e}" to object`,t)}}function u(t,e){try{const n=e.prototype||{};t.prototype=e.prototype=n,c(t,"__sentry_original__",e)}catch{}}function d(t){return t.__sentry_original__}function p(t){if((0,i.bJ)(t))return{message:t.message,name:t.name,stack:t.stack,...f(t)};if((0,i.xH)(t)){const e={type:t.type,target:l(t.target),currentTarget:l(t.currentTarget),...f(t)};return"undefined"!=typeof CustomEvent&&(0,i.tH)(t,CustomEvent)&&(e.detail=t.detail),e}return t}function l(t){try{return(0,i.vq)(t)?(0,s.Hd)(t):Object.prototype.toString.call(t)}catch{return""}}function f(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 h(t){const e=Object.keys(p(t));return e.sort(),e[0]?e.join(", "):"[object has no keys]"}},496687:(t,e,n)=>{n.d(e,{q:()=>i,r:()=>o});var r=n(561499),s=n(448059);function o(){return(0,r.BY)("defaultCurrentScope",(()=>new s.H))}function i(){return(0,r.BY)("defaultIsolationScope",(()=>new s.H))}},497571:(t,e,n)=>{n.d(e,{h:()=>o});var r=n(561499),s=n(600238);function o(t){const e=(0,r.Se)(t);return e.acs?e.acs:(0,s.z)()}},509998:(t,e,n)=>{n.d(e,{TR:()=>s});var r=n(241013);n(911857),n(381158),n(485510);function s(t){return function(t){return(0,r.bJ)(t)&&"__sentry_fetch_url_host__"in t&&"string"==typeof t.__sentry_fetch_url_host__}(t)?`${t.message} (${t.__sentry_fetch_url_host__})`:t.message}},561499:(t,e,n)=>{n.d(e,{BY:()=>a,EU:()=>o,Se:()=>i});var r=n(27373),s=n(160742);function o(){return i(s.O),s.O}function i(t){const e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||r.M,e[r.M]=e[r.M]||{}}function a(t,e,n=s.O){const o=n.__SENTRY__=n.__SENTRY__||{},i=o[r.M]=o[r.M]||{};return i[t]||(i[t]=e())}},561529:(t,e,n)=>{n.d(e,{z9:()=>d});var r=n(831433),s=n(368289),o=n(731074),i=n(360202);function a(t){return new Promise(((e,n)=>{t.oncomplete=t.onsuccess=()=>e(t.result),t.onabort=t.onerror=()=>n(t.error)}))}function c(t){return a(t.getAllKeys())}function u(t){let e;function n(){return null==e&&(e=function(t,e){const n=indexedDB.open(t);n.onupgradeneeded=()=>n.result.createObjectStore(e);const r=a(n);return t=>r.then((n=>t(n.transaction(e,"readwrite").objectStore(e))))}(t.dbName||"sentry-offline",t.storeName||"queue")),e}return{push:async e=>{try{const s=await(0,r.bN)(e);await function(t,e,n){return t((t=>c(t).then((r=>{if(!(r.length>=n))return t.put(e,Math.max(...r,0)+1),a(t.transaction)}))))}(n(),s,t.maxQueueSize||30)}catch{}},unshift:async e=>{try{const s=await(0,r.bN)(e);await function(t,e,n){return t((t=>c(t).then((r=>{if(!(r.length>=n))return t.put(e,Math.min(...r,0)-1),a(t.transaction)}))))}(n(),s,t.maxQueueSize||30)}catch{}},shift:async()=>{try{const t=await function(t){return t((t=>c(t).then((e=>{const n=e[0];if(null!=n)return a(t.get(n)).then((e=>(t.delete(n),a(t.transaction).then((()=>e)))))}))))}(n());if(t)return(0,r.mE)(t)}catch{}}}}function d(t=i._){return function(t){return e=>{const n=t({...e,createStore:u});return o.jf.addEventListener("online",(async t=>{await n.flush()})),n}}((0,s.BP)(t))}},567426:(t,e,n)=>{n.d(e,{L:()=>i});var r=n(160742),s=n(409240);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}},582095:(t,e,n)=>{n.d(e,{Z:()=>o});n(675608);const r="7";function s(t){const e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}function o(t,e,n){return e||`${function(t){return`${s(t)}${t.projectId}/envelope/`}(t)}?${function(t,e){const n={sentry_version:r};return t.publicKey&&(n.sentry_key=t.publicKey),e&&(n.sentry_client=`${e.name}/${e.version}`),new URLSearchParams(n).toString()}(t,n)}`}},594529:(t,e,n)=>{n.d(e,{Z:()=>a});var r=n(482247),s=n(737111),o=n(919180);const i=100;function a(t,e){const n=(0,r.KU)(),a=(0,r.rm)();if(!n)return;const{beforeBreadcrumb:c=null,maxBreadcrumbs:u=i}=n.getOptions();if(u<=0)return;const d={timestamp:(0,o.lu)(),...t},p=c?(0,s.pq)((()=>c(d,e))):d;null!==p&&(n.emit&&n.emit("beforeAddBreadcrumb",p,e),a.addBreadcrumb(p,u))}},596315:(t,e,n)=>{n.d(e,{Vu:()=>a,fj:()=>o,qO:()=>i});var r=n(911857),s=n(919180);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)}},600238:(t,e,n)=>{n.d(e,{z:()=>l});var r=n(496687),s=n(448059),o=n(241013),i=n(561499);class a{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(r){throw this._popScope(),r}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 c(){const t=(0,i.EU)(),e=(0,i.Se)(t);return e.stack=e.stack||new a((0,r.r)(),(0,r.q)())}function u(t){return c().withScope(t)}function d(t,e){const n=c();return n.withScope((()=>(n.getStackTop().scope=t,e(t))))}function p(t){return c().withScope((()=>t(c().getIsolationScope())))}function l(){return{withIsolationScope:p,withScope:u,withSetScope:d,withSetIsolationScope:(t,e)=>p(e),getCurrentScope:()=>c().getScope(),getIsolationScope:()=>c().getIsolationScope()}}},616712:(t,e,n)=>{n.d(e,{G:()=>c});var r=n(485510),s=n(330013),o=n(755824),i=n(731074);const a=["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"],c=(0,s._C)(((t={})=>{const e={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...t};return{name:"BrowserApiErrors",setupOnce(){e.setTimeout&&(0,r.GS)(i.jf,"setTimeout",u),e.setInterval&&(0,r.GS)(i.jf,"setInterval",u),e.requestAnimationFrame&&(0,r.GS)(i.jf,"requestAnimationFrame",d),e.XMLHttpRequest&&"XMLHttpRequest"in i.jf&&(0,r.GS)(XMLHttpRequest.prototype,"send",p);const t=e.eventTarget;if(t){(Array.isArray(t)?t:a).forEach((t=>function(t,e){const n=i.jf,s=n[t]?.prototype;if(!s?.hasOwnProperty?.("addEventListener"))return;(0,r.GS)(s,"addEventListener",(function(n){return function(r,s,a){try{"function"==typeof s.handleEvent&&(s.handleEvent=(0,i.LV)(s.handleEvent,{mechanism:{data:{handler:(0,o.qQ)(s),target:t},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}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,i.LV)(s,{mechanism:{data:{handler:(0,o.qQ)(s),target:t},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),a])}})),(0,r.GS)(s,"removeEventListener",(function(t){return function(e,n,r){try{const s=n.__sentry_wrapped__;s&&t.call(this,e,s,r)}catch{}return t.call(this,e,n,r)}}))}(t,e)))}}}}));function u(t){return function(...e){const n=e[0];return e[0]=(0,i.LV)(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${(0,o.qQ)(t)}`}}),t.apply(this,e)}}function d(t){return function(e){return t.apply(this,[(0,i.LV)(e,{mechanism:{data:{handler:(0,o.qQ)(t)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function p(t){return function(...e){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((t=>{t in n&&"function"==typeof n[t]&&(0,r.GS)(n,t,(function(e){const n={mechanism:{data:{handler:(0,o.qQ)(e)},handled:!1,type:`auto.browser.browserapierrors.xhr.${t}`}},s=(0,r.sp)(e);return s&&(n.mechanism.data.handler=(0,o.qQ)(s)),(0,i.LV)(e,n)}))})),t.apply(this,e)}}},623068:(t,e,n)=>{n.d(e,{li:()=>f,mG:()=>l});var r=n(189534),s=n(223830),o=n(448059),i=n(750889),a=n(911857),c=n(381158),u=n(289269),d=n(173188),p=n(919180);function l(t,e,n,l,f,h){const{normalizeDepth:m=3,normalizeMaxBreadth:g=1e3}=t,_={...e,event_id:e.event_id||n.event_id||(0,a.eJ)(),timestamp:e.timestamp||(0,p.lu)()},y=n.integrations||t.integrations.map((t=>t.name));!function(t,e){const{environment:n,release:s,dist:o,maxValueLength:i}=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&&i&&(a.url=(0,d.xv)(a.url,i));i&&t.exception?.values?.forEach((t=>{t.value&&(t.value=(0,d.xv)(t.value,i))}))}(_,t),function(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}(_,y),f&&f.emit("applyFrameMetadata",e),void 0===e.type&&function(t,e){const n=(0,i.z)(e);t.exception?.values?.forEach((t=>{t.stacktrace?.frames?.forEach((t=>{t.filename&&(t.debug_id=n[t.filename])}))}))}(_,t.stackParser);const v=function(t,e){if(!e)return t;const n=t?t.clone():new o.H;return n.update(e),n}(l,n.captureContext);n.mechanism&&(0,a.M6)(_,n.mechanism);const b=f?f.getEventProcessors():[],S=(0,u.Om)(h,v),E=[...n.attachments||[],...S.attachments];E.length&&(n.attachments=E),(0,u.e2)(_,S);const x=[...b,...S.eventProcessors];return(0,s.j)(x,_,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 m&&m>0?function(t,e,n){if(!t)return null;const r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((t=>({...t,...t.data&&{data:(0,c.S8)(t.data,e,n)}})))},...t.user&&{user:(0,c.S8)(t.user,e,n)},...t.contexts&&{contexts:(0,c.S8)(t.contexts,e,n)},...t.extra&&{extra:(0,c.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,c.S8)(t.contexts.trace.data,e,n)));t.spans&&(r.spans=t.spans.map((t=>({...t,...t.data&&{data:(0,c.S8)(t.data,e,n)}}))));t.contexts?.flags&&r.contexts&&(r.contexts.flags=(0,c.S8)(t.contexts.flags,3,n));return r}(t,m,g):t)))}function f(t){if(t)return function(t){return t instanceof o.H||"function"==typeof t}(t)||function(t){return Object.keys(t).some((t=>h.includes(t)))}(t)?{captureContext:t}:t}const h=["user","level","extra","contexts","tags","fingerprint","propagationContext"]},638362:(t,e,n)=>{n.d(e,{T:()=>r});const r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},647039:(t,e,n)=>{n.d(e,{U:()=>a,z:()=>i});var r=n(17473),s=n(737111),o=n(212480);function i(t){if(!r.T)return;const{description:e="< unknown name >",op:n="< unknown op >",parent_span_id:i}=(0,o.et)(t),{spanId:a}=t.spanContext(),c=(0,o.pK)(t),u=(0,o.zU)(t),d=u===t,p=`[Tracing] Starting ${c?"sampled":"unsampled"} ${d?"root ":""}span`,l=[`op: ${n}`,`name: ${e}`,`ID: ${a}`];if(i&&l.push(`parent ID: ${i}`),!d){const{op:t,description:e}=(0,o.et)(u);l.push(`root ID: ${u.spanContext().spanId}`),t&&l.push(`root op: ${t}`),e&&l.push(`root description: ${e}`)}s.Yz.log(`${p}\n ${l.join("\n ")}`)}function a(t){if(!r.T)return;const{description:e="< unknown name >",op:n="< unknown op >"}=(0,o.et)(t),{spanId:i}=t.spanContext(),a=`[Tracing] Finishing "${n}" ${(0,o.zU)(t)===t?"root ":""}span "${e}" with ID ${i}`;s.Yz.log(a)}},647052:(t,e,n)=>{n.d(e,{FA:()=>o,Jz:()=>i,wq:()=>a});var r=n(921580);const s=6e4;function o(t,e=(0,r.Wk)()){const n=parseInt(`${t}`,10);if(!isNaN(n))return 1e3*n;const o=Date.parse(`${t}`);return isNaN(o)?s:o-e}function i(t,e,n=(0,r.Wk)()){return function(t,e){return t[e]||t.all||0}(t,e)>n}function a(t,{statusCode:e,headers:n},s=(0,r.Wk)()){const i={...t},a=n?.["x-sentry-rate-limits"],c=n?.["retry-after"];if(a)for(const r of a.trim().split(",")){const[t,e,,,n]=r.split(":",5),o=parseInt(t,10),a=1e3*(isNaN(o)?60:o);if(e)for(const r of e.split(";"))"metric_bucket"===r&&n&&!n.split(";").includes("custom")||(i[r]=s+a);else i.all=s+a}else c?i.all=s+o(c,s):429===e&&(i.all=s+6e4);return i}},657862:(t,e,n)=>{n.d(e,{F3:()=>s,TJ:()=>o,a3:()=>r});const r=0,s=1,o=2},660630:(t,e,n)=>{n.d(e,{x:()=>r});const r=t=>{const e=t.root,n=t.prefix||"app:///",r=t.iteratee||function({root:t,prefix:e}){return(n,r)=>{if(!n.filename)return n;if(t){const r=n.filename;0===r.indexOf(t)&&(n.filename=r.replace(t,e))}return n}}({root:e,prefix:n});function s(t,e){if(e.frames)for(let n=0;n{n.d(e,{Cp:()=>u,J0:()=>m,J5:()=>y,NA:()=>f,bX:()=>h,l7:()=>l,r:()=>p,wd:()=>d});var r=n(482247),s=n(17473),o=n(596315),i=(n(452819),n(737111)),a=(n(241013),n(911857),n(623068)),c=(n(919180),n(160742));function u(t,e){return(0,r.o5)().captureException(t,(0,a.li)(e))}function d(t,e){const n="string"==typeof e?e:void 0,s="string"!=typeof e?{captureContext:e}:void 0;return(0,r.o5)().captureMessage(t,n,s)}function p(t,e){return(0,r.o5)().captureEvent(t,e)}function l(t,e){(0,r.rm)().setExtra(t,e)}function f(t,e){(0,r.rm)().setTag(t,e)}async function h(t){const e=(0,r.KU)();return e?e.flush(t):(s.T&&i.Yz.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}function m(t){const e=(0,r.rm)(),n=(0,r.o5)(),{userAgent:s}=c.O.navigator||{},i=(0,o.fj)({user:n.getUser()||e.getUser(),...s&&{userAgent:s},...t}),a=e.getSession();return"ok"===a?.status&&(0,o.qO)(a,{status:"exited"}),g(),e.setSession(i),i}function g(){const t=(0,r.rm)(),e=(0,r.o5)().getSession()||t.getSession();e&&(0,o.Vu)(e),_(),t.setSession()}function _(){const t=(0,r.rm)(),e=(0,r.KU)(),n=t.getSession();n&&e&&e.captureSession(n)}function y(t=!1){t?g():_()}},672748:(t,e,n)=>{n.d(e,{D:()=>p});var r=n(17473),s=n(330013),o=n(737111),i=n(701172),a=n(911857),c=n(173188);const u=[/^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$/],d=(0,s._C)(((t={})=>{let e;return{name:"EventFilters",setup(n){const r=n.getOptions();e=l(t,r)},processEvent(n,s,u){if(!e){const n=u.getOptions();e=l(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,c.Xr)(n,e)}(t,e.ignoreTransactions))return r.T&&o.Yz.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${(0,a.$X)(t)}`),!0}else{if(function(t,e){if(!e?.length)return!1;return(0,i.G)(t).some((t=>(0,c.Xr)(t,e)))}(t,e.ignoreErrors))return r.T&&o.Yz.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,a.$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 r.T&&o.Yz.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${(0,a.$X)(t)}`),!0;if(function(t,e){if(!e?.length)return!1;const n=f(t);return!!n&&(0,c.Xr)(n,e)}(t,e.denyUrls))return r.T&&o.Yz.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,a.$X)(t)}.\nUrl: ${f(t)}`),!0;if(!function(t,e){if(!e?.length)return!0;const n=f(t);return!n||(0,c.Xr)(n,e)}(t,e.allowUrls))return r.T&&o.Yz.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,a.$X)(t)}.\nUrl: ${f(t)}`),!0}return!1}(n,e)?null:n}}})),p=(0,s._C)(((t={})=>({...d(t),name:"InboundFilters"})));function l(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:u],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[]]}}function f(t){try{const e=[...t.exception?.values??[]].reverse().find((t=>void 0===t.mechanism?.parent_id&&t.stacktrace?.frames?.length)),n=e?.stacktrace?.frames;return n?function(t=[]){for(let e=t.length-1;e>=0;e--){const n=t[e];if(n&&""!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}catch{return r.T&&o.Yz.error(`Cannot extract url for event ${(0,a.$X)(t)}`),null}}},675284:(t,e,n)=>{n.d(e,{r:()=>i});var r=n(160742),s=n(409240);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}},675608:(t,e,n)=>{n.d(e,{AD:()=>d,SB:()=>a,ul:()=>u});var r=n(17473),s=n(737111);const o=/^o(\d+)\./,i=/^(?:(\w+):)\/\/(?:(\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.getOptions(),{host:n}=t.getDsn()||{};let r;return e.orgId?r=String(e.orgId):n&&(r=function(t){const e=t.match(o);return e?.[1]}(n)),r}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.Yz.error(`Invalid Sentry Dsn: ${e} missing`),!0)))||(n.match(/^\d+$/)?function(t){return"http"===t||"https"===t}(o)?e&&isNaN(parseInt(e,10))&&(s.Yz.error(`Invalid Sentry Dsn: Invalid port ${e}`),1):(s.Yz.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),1):(s.Yz.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(e))return e}},679781:(t,e,n)=>{n.d(e,{$N:()=>c,Hd:()=>i,xE:()=>u});var r=n(241013);const s=n(160742).O,o=80;function i(t,e={}){if(!t)return"";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++1&&c+s.length*d+p.length>=f));)s.push(p),c+=p.length,n=n.parentNode;return s.reverse().join(u)}catch{return""}}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 r of a){const t=n.getAttribute(r);t&&o.push(`[${r}="${t}"]`)}return o.join("")}function c(){try{return s.document.location.href}catch{return""}}function u(t){if(!s.HTMLElement)return null;let e=t;for(let n=0;n<5;n++){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}},680071:(t,e,n)=>{n.d(e,{x:()=>s});var r=n(241013);function s(t,e,n=(()=>{}),s=(()=>{})){let o;try{o=t()}catch(i){throw e(i),n(),i}return function(t,e,n,s){if((0,r.Qg)(t))return t.then((t=>(n(),s(t),t)),(t=>{throw e(t),n(),t}));return n(),s(t),t}(o,e,n,s)}},693810:(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})},699547:(t,e,n)=>{n.d(e,{Ts:()=>v,kF:()=>b});var r=n(672748),s=n(788079),o=n(434832),i=n(755824),a=n(330013),c=n(994547),u=n(452012),d=n(767717),p=n(616712),l=n(415615),f=n(809477),h=n(470108),m=n(852585),g=n(723682),_=n(360202),y=n(17715);function v(t={}){const e=!t.skipBrowserExtensionCheck&&(0,y.E)();let n=null==t.defaultIntegrations?[(0,r.D)(),(0,s.Z)(),(0,p.G)(),(0,d.F)(),(0,f.LO)(),(0,m.p)(),(0,o.s)(),(0,h.M)(),(0,l.p)()]:t.defaultIntegrations;const v={...t,enabled:!e&&t.enabled,stackParser:(0,i.vk)(t.stackParser||g.lG),integrations:(0,a.mH)({integrations:t.integrations,defaultIntegrations:n}),transport:t.transport||_._};return(0,c.J)(u.y,v)}function b(t){t()}},701172:(t,e,n)=>{function r(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{}return e}n.d(e,{G:()=>r})},713925:(t,e,n)=>{n.d(e,{V:()=>i});var r=n(482247),s=n(240967),o=n(212480);function i(t,e){return e?(0,r.v4)(e,(()=>{const n=(0,o.Bk)(),i=n?(0,o.kX)(n):(0,r.vn)(e);return[n?(0,s.k1)(n):(0,s.ao)(t,e),i]})):[void 0,void 0]}},720418:(t,e,n)=>{n.d(e,{W:()=>r});const r={trace:1,debug:5,info:9,warn:13,error:17,fatal:21}},723682:(t,e,n)=>{n.d(e,{lG:()=>l});var r=n(755824);function s(t,e,n,s){const o={filename:t,function:""===e?r.yF:e,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==s&&(o.colno=s),o}const o=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,i=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,a=/\((\S*)(?::(\d+))(?::(\d+))\)/,c=/at (.+?) ?\(data:(.+?),/,u=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,d=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,p=[[30,t=>{const e=t.match(c);if(e)return{filename:``,function:e[1]};const n=o.exec(t);if(n){const[,t,e,o]=n;return s(t,r.yF,+e,+o)}const u=i.exec(t);if(u){if(u[2]&&0===u[2].indexOf("eval")){const t=a.exec(u[2]);t&&(u[2]=t[1],u[3]=t[2],u[4]=t[3])}const[t,e]=f(u[1]||r.yF,u[2]);return s(e,t,u[3]?+u[3]:void 0,u[4]?+u[4]:void 0)}}],[50,t=>{const e=u.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const t=d.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]||r.yF;return[n,t]=f(n,t),s(t,n,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}}]],l=(0,r.gd)(...p),f=(t,e)=>{const n=-1!==t.indexOf("safari-extension"),s=-1!==t.indexOf("safari-web-extension");return n||s?[-1!==t.indexOf("@")?t.split("@")[0]:r.yF,n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]}},724196:(t,e,n)=>{n.d(e,{H7:()=>b,K8:()=>d,qv:()=>v,u:()=>y});var r=n(482247),s=n(381158),o=n(241013),i=n(509998),a=n(911857),c=n(348277),u=n(485510);function d(t,e){const n=f(t,e),r={type:g(e),value:_(e)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function p(t,e,n,i){const a=(0,r.KU)(),c=a?.getOptions().normalizeDepth,u=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),p={__serialized__:(0,s.cd)(e,c)};if(u)return{exception:{values:[d(t,u)]},extra:p};const l={exception:{values:[{type:(0,o.xH)(e)?e.constructor.name:i?"UnhandledRejection":"Error",value:E(e,{isUnhandledRejection:i})}]},extra:p};if(n){const e=f(t,n);e.length&&(l.exception.values[0].stacktrace={frames:e})}return l}function l(t,e){return{exception:{values:[d(t,e)]}}}function f(t,e){const n=e.stacktrace||e.stack||"",r=function(t){if(t&&h.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{}return[]}const h=/Minified React error #\d+;/i;function m(t){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&t instanceof WebAssembly.Exception}function g(t){const e=t?.name;if(!e&&m(t)){return t.message&&Array.isArray(t.message)&&2==t.message.length?t.message[0]:"WebAssembly.Exception"}return e}function _(t){const e=t?.message;return m(t)?Array.isArray(t.message)&&2==t.message.length?t.message[1]:"wasm exception":e?e.error&&"string"==typeof e.error.message?(0,i.TR)(e.error):(0,i.TR)(t):"No error message"}function y(t,e,n,r){const s=b(t,e,n?.syntheticException||void 0,r);return(0,a.M6)(s),s.level="error",n?.event_id&&(s.event_id=n.event_id),(0,c.XW)(s)}function v(t,e,n="info",r,s){const o=S(t,e,r?.syntheticException||void 0,s);return o.level=n,r?.event_id&&(o.event_id=r.event_id),(0,c.XW)(o)}function b(t,e,n,r,s){let i;if((0,o.T2)(e)&&e.error){return l(t,e.error)}if((0,o.BD)(e)||(0,o.W6)(e)){const s=e;if("stack"in e)i=l(t,e);else{const e=s.name||((0,o.BD)(s)?"DOMError":"DOMException"),c=s.message?`${e}: ${s.message}`:e;i=S(t,c,n,r),(0,a.gO)(i,c)}return"code"in s&&(i.tags={...i.tags,"DOMException.code":`${s.code}`}),i}if((0,o.bJ)(e))return l(t,e);if((0,o.Qd)(e)||(0,o.xH)(e)){return i=p(t,e,n,s),(0,a.M6)(i,{synthetic:!0}),i}return i=S(t,e,n,r),(0,a.gO)(i,`${e}`,void 0),(0,a.M6)(i,{synthetic:!0}),i}function S(t,e,n,r){const s={};if(r&&n){const r=f(t,n);r.length&&(s.exception={values:[{value:e,stacktrace:{frames:r}}]}),(0,a.M6)(s,{synthetic:!0})}if((0,o.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 E(t,{isUnhandledRejection:e}){const n=(0,u.HF)(t),r=e?"promise rejection":"exception";if((0,o.T2)(t))return`Event \`ErrorEvent\` captured as ${r} with message \`${t.message}\``;if((0,o.xH)(t)){return`Event \`${function(t){try{const e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch{}}(t)}\` (type=${t.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}},731074:(t,e,n)=>{n.d(e,{AP:()=>f,LV:()=>l,jN:()=>p,jf:()=>u});var r=n(160742),s=n(485510),o=n(482247),i=n(911857),a=n(665204),c=n(679781);const u=r.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,s.sp)(t))return t}catch{return t}const n=function(...n){try{const r=n.map((t=>l(t,e)));return t.apply(this,r)}catch(r){throw d++,setTimeout((()=>{d--})),(0,o.v4)((t=>{t.addEventProcessor((t=>(e.mechanism&&((0,i.gO)(t,void 0,void 0),(0,i.M6)(t,e.mechanism)),t.extra={...t.extra,arguments:n},t))),(0,a.Cp)(r)})),r}};try{for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])}catch{}(0,s.pO)(n,t),(0,s.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,c.$N)(),{referrer:e}=u.document||{},{userAgent:n}=u.navigator||{};return{url:t,headers:{...e&&{Referer:e},...n&&{"User-Agent":n}}}}},737111:(t,e,n)=>{n.d(e,{Ow:()=>i,Yz:()=>f,Z9:()=>c,pq:()=>u});var r=n(561499),s=n(17473),o=n(160742);const i=["debug","info","warn","error","log","assert","trace"],a="Sentry Logger ",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]}))}}function d(){return l().enabled}function p(t,...e){s.T&&d()&&u((()=>{o.O.console[t](`${a}[${t}]:`,...e)}))}function l(){return s.T?(0,r.BY)("loggerSettings",(()=>({enabled:!1}))):{enabled:!1}}const f={enable:function(){l().enabled=!0},disable:function(){l().enabled=!1},isEnabled:d,log:function(...t){p("log",...t)},warn:function(...t){p("warn",...t)},error:function(...t){p("error",...t)}}},750889:(t,e,n)=>{n.d(e,{z:()=>c});var r=n(160742);let s,o,i,a;function c(t){const e=r.O._sentryDebugIds,n=r.O._debugIds;if(!e&&!n)return{};const c=e?Object.keys(e):[],u=n?Object.keys(n):[];if(a&&c.length===o&&u.length===i)return a;o=c.length,i=u.length,a={},s||(s={});const d=(e,n)=>{for(const r of e){const e=n[r],o=s?.[r];if(o&&a&&e)a[o[0]]=e,s&&(s[r]=[o[0],e]);else if(e){const n=t(r);for(let t=n.length-1;t>=0;t--){const o=n[t],i=o?.filename;if(i&&a&&s){a[i]=e,s[r]=[i,e];break}}}}};return e&&d(c,e),n&&d(u,n),a}},755824:(t,e,n)=>{n.d(e,{RV:()=>l,gd:()=>a,nY:()=>f,qQ:()=>p,vk:()=>c,yF:()=>s});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 s=n;s1024&&(t=t.slice(0,1024));const n=o.test(t)?t.replace(o,"$1"):t;if(!n.match(/\S*Error: /)){for(const t of e){const e=t(n);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="";function p(t){try{return t&&"function"==typeof t&&t.name||d}catch{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{return}}}function f(t){return"__v_isVNode"in t&&t.__v_isVNode?"[VueVNode]":"[VueViewModel]"}},759955:(t,e,n)=>{n.d(e,{LE:()=>c,V7:()=>u,lu:()=>d});var r=n(240967),s=n(675608),o=n(831433),i=n(57486),a=n(212480);function c(t,e,n,r){const i=(0,o.Cj)(n),a={sent_at:(new Date).toISOString(),...i&&{sdk:i},...!!r&&e&&{dsn:(0,s.SB)(e)}},c="aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()];return(0,o.h4)(a,[c])}function u(t,e,n,r){const s=(0,o.Cj)(n),i=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){if(!e)return t;const n=t.sdk||{};t.sdk={...n,name:n.name||e.name,version:n.version||e.version,integrations:[...t.sdk?.integrations||[],...e.integrations||[]],packages:[...t.sdk?.packages||[],...e.packages||[]],settings:t.sdk?.settings||e.settings?{...t.sdk?.settings,...e.settings}:void 0}}(t,n?.sdk);const a=(0,o.n2)(t,s,r,e);delete t.sdkProcessingMetadata;const c=[{type:i},t];return(0,o.h4)(a,[c])}function d(t,e){const n=(0,r.k1)(t[0]),c=e?.getDsn(),u=e?.getOptions().tunnel,d={sent_at:(new Date).toISOString(),...function(t){return!!t.trace_id&&!!t.public_key}(n)&&{trace:n},...!!u&&c&&{dsn:(0,s.SB)(c)}},{beforeSendSpan:p,ignoreSpans:l}=e?.getOptions()||{},f=l?.length?t.filter((t=>!(0,i.e)((0,a.et)(t),l))):t,h=t.length-f.length;h&&e?.recordDroppedEvent("before_send","span",h);const m=p?t=>{const e=(0,a.et)(t),n=p(e);return n||((0,a.xl)(),e)}:a.et,g=[];for(const r of f){const t=m(r);t&&g.push((0,o.y5)(t))}return(0,o.h4)(d,g)}},765097:(t,e,n)=>{n.d(e,{Z:()=>a});var r=n(17473),s=n(737111),o=n(113715),i=n(693810);function a(t,e,n){if(!(0,o.f)(t))return[!1];let a,c;"function"==typeof t.tracesSampler?(c=t.tracesSampler({...e,inheritOrSampleWith:t=>"number"==typeof e.parentSampleRate?e.parentSampleRate:"boolean"==typeof e.parentSampled?Number(e.parentSampled):t}),a=!0):void 0!==e.parentSampled?c=e.parentSampled:void 0!==t.tracesSampleRate&&(c=t.tracesSampleRate,a=!0);const u=(0,i.i)(c);if(void 0===u)return r.T&&s.Yz.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(c)} of type ${JSON.stringify(typeof c)}.`),[!1];if(!u)return r.T&&s.Yz.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,u,a];const d=n{n.d(e,{F:()=>S});var r=n(233464),s=n(299193),o=n(330013),i=n(482247),a=n(594529),c=n(911857),u=n(737111),d=n(679781),p=n(360258),l=n(173188),f=n(290572),h=n(984532),m=n(27084),g=n(167098),_=n(50936),y=n(417449),v=n(731074);const b=1024,S=(0,o._C)(((t={})=>{const e={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t};return{name:"Breadcrumbs",setup(t){e.console&&(0,r.P)(function(t){return function(e){if((0,i.KU)()!==t)return;const n={category:"console",data:{arguments:e.args,logger:"console"},level:(0,p.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)}(0,a.Z)(n,{input:e.args,level:e.level})}}(t)),e.dom&&(0,m.i)(function(t,e){return function(n){if((0,i.KU)()!==t)return;let r,s,o="object"==typeof e?e.serializeAttribute:void 0,c="object"==typeof e&&"number"==typeof e.maxStringLength?e.maxStringLength:void 0;c&&c>b&&(y.T&&u.Yz.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${c} was configured. Sentry will use 1024 instead.`),c=b),"string"==typeof o&&(o=[o]);try{const t=n.event,e=function(t){return!!t&&!!t.target}(t)?t.target:t;r=(0,d.Hd)(e,{keyAttrs:o,maxStringLength:c}),s=(0,d.xE)(e)}catch{r=""}if(0===r.length)return;const p={category:`ui.${n.name}`,message:r};s&&(p.data={"ui.component_name":s}),(0,a.Z)(p,{event:n.event,name:n.name,global:n.global})}}(t,e.dom)),e.xhr&&(0,g.Mn)(function(t){return function(e){if((0,i.KU)()!==t)return;const{startTimestamp:n,endTimestamp:r}=e,s=e.xhr[g.Er];if(!n||!r||!s)return;const{method:o,url:c,status_code:u,body:d}=s,p={method:o,url:c,status_code:u},l={xhr:e.xhr,input:d,startTimestamp:n,endTimestamp:r},h={category:"xhr",data:p,type:"http",level:(0,f.X)(u)};t.emit("beforeOutgoingRequestBreadcrumb",h,l),(0,a.Z)(h,l)}}(t)),e.fetch&&(0,s.ur)(function(t){return function(e){if((0,i.KU)()!==t)return;const{startTimestamp:n,endTimestamp:r}=e;if(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),(0,a.Z)(i,o)}else{const s=e.response,o={...e.fetchData,status_code:s?.status};e.fetchData.request_body_size,e.fetchData.response_body_size;const i={input:e.args,response:s,startTimestamp:n,endTimestamp:r},c={category:"fetch",data:o,type:"http",level:(0,f.X)(o.status_code)};t.emit("beforeOutgoingRequestBreadcrumb",c,i),(0,a.Z)(c,i)}}}(t)),e.history&&(0,_._)(function(t){return function(e){if((0,i.KU)()!==t)return;let n=e.from,r=e.to;const s=(0,h.Dl)(v.jf.location.href);let o=n?(0,h.Dl)(n):void 0;const c=(0,h.Dl)(r);o?.path||(o=s),s.protocol===c.protocol&&s.host===c.host&&(r=c.relative),s.protocol===o.protocol&&s.host===o.host&&(n=o.relative),(0,a.Z)({category:"navigation",data:{from:n,to:r}})}}(t)),e.sentry&&t.on("beforeSendEvent",function(t){return function(e){(0,i.KU)()===t&&(0,a.Z)({category:"sentry."+("transaction"===e.type?"transaction":"event"),event_id:e.event_id,level:e.level,message:(0,c.$X)(e)},{event:e})}}(t))}}}))},786833:(t,e,n)=>{n.d(e,{L:()=>o,R:()=>s});var r=n(864918);function s(t){const{trace_id:e,parent_span_id:n,span_id:s,status:o,origin:i,data:a,op:c}=t.contexts?.trace??{};return{data:a??{},description:t.transaction,op:c,parent_span_id:n,span_id:s??"",start_timestamp:t.start_timestamp??0,status:o,timestamp:t.timestamp,trace_id:e??"",origin:i,profile_id:a?.[r.E1],exclusive_time:a?.[r.jG],measurements:t.measurements,is_segment:!0}}function o(t){return{type:"transaction",timestamp:t.timestamp,start_timestamp:t.start_timestamp,transaction:t.description,contexts:{trace:{trace_id:t.trace_id,span_id:t.span_id,parent_span_id:t.parent_span_id,op:t.op,status:t.status,origin:t.origin,data:{...t.data,...t.profile_id&&{[r.E1]:t.profile_id},...t.exclusive_time&&{[r.jG]:t.exclusive_time}}}},measurements:t.measurements}}},788079:(t,e,n)=>{n.d(e,{Z:()=>c});var r=n(482247),s=n(330013),o=n(485510);let i;const a=new WeakMap,c=(0,s._C)((()=>({name:"FunctionToString",setupOnce(){i=Function.prototype.toString;try{Function.prototype.toString=function(...t){const e=(0,o.sp)(this),n=a.has((0,r.KU)())&&void 0!==e?e:this;return i.apply(n,t)}}catch{}},setup(t){a.set(t,!0)}})))},809477:(t,e,n)=>{n.d(e,{LO:()=>m});var r=n(330013),s=n(567426),o=n(482247),i=n(665204),a=n(675284),c=n(241013),u=n(679781),d=n(755824),p=n(737111),l=n(417449),f=n(724196),h=n(731074);const m=(0,r._C)(((t={})=>{const e={onerror:!0,onunhandledrejection:!0,...t};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(t){e.onerror&&(!function(t){(0,s.L)((e=>{const{stackParser:n,attachStacktrace:r}=_();if((0,o.KU)()!==t||(0,h.jN)())return;const{msg:s,url:a,line:p,column:l,error:m}=e,g=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||{},p=a.frames=a.frames||[],l=r,f=n,h=function(t){if(!(0,c.Kg)(t)||0===t.length)return;if(t.startsWith("data:")){const e=t.match(/^data:([^;]+)/);return``}return t}(e)??(0,u.$N)();0===p.length&&p.push({colno:l,filename:h,function:d.yF,in_app:!0,lineno:f});return t}((0,f.H7)(n,m||s,void 0,r,!1),a,p,l);g.level="error",(0,i.r)(g,{originalException:m,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})}))}(t),g("onerror")),e.onunhandledrejection&&(!function(t){(0,a.r)((e=>{const{stackParser:n,attachStacktrace:r}=_();if((0,o.KU)()!==t||(0,h.jN)())return;const s=function(t){if((0,c.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),a=(0,c.sO)(s)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(s)}`}]}}:(0,f.H7)(n,s,void 0,r,!0);a.level="error",(0,i.r)(a,{originalException:s,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})}))}(t),g("onunhandledrejection"))}}}));function g(t){l.T&&p.Yz.log(`Global Handler attached: ${t}`)}function _(){const t=(0,o.KU)();return t?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}},831433:(t,e,n)=>{n.d(e,{Cj:()=>y,W3:()=>c,bN:()=>l,bm:()=>m,h4:()=>a,hP:()=>d,mE:()=>f,n2:()=>v,y5:()=>h,yH:()=>u,zk:()=>_});var r=n(561499),s=n(675608),o=n(381158),i=n(160742);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 r of n){if(e(r,r[0].type))return!0}return!1}function d(t,e){return u(t,((t,n)=>e.includes(n)))}function p(t){const e=(0,r.Se)(i.O);return e.encodePolyfill?e.encodePolyfill(t):(new TextEncoder).encode(t)}function l(t){const[e,n]=t;let r=JSON.stringify(e);function s(t){"string"==typeof r?r="string"==typeof t?r+t:[p(r),t]:r.push("string"==typeof t?p(t):t)}for(const i of n){const[t,e]=i;if(s(`\n${JSON.stringify(t)}\n`),"string"==typeof e||e instanceof Uint8Array)s(e);else{let t;try{t=JSON.stringify(e)}catch{t=JSON.stringify((0,o.S8)(e))}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 s of t)n.set(s,r),r+=s.length;return n}(r)}function f(t){let e="string"==typeof t?p(t):t;function n(t){const n=e.subarray(0,t);return e=e.subarray(t+1),n}function s(){let t=e.indexOf(10);return t<0&&(t=e.length),JSON.parse(function(t){const e=(0,r.Se)(i.O);return e.decodePolyfill?e.decodePolyfill(t):(new TextDecoder).decode(t)}(n(t)))}const o=s(),a=[];for(;e.length;){const t=s(),e="number"==typeof t.length?t.length:void 0;a.push([t,e?n(e):s()])}return[o,a]}function h(t){return[{type:"span"},t]}function m(t){const e="string"==typeof t.data?p(t.data):t.data;return[{type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType},e]}const g={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",metric:"metric",trace_metric:"metric"};function _(t){return g[t]}function y(t){if(!t?.sdk)return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}function v(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}}}},850577:(t,e,n)=>{n.d(e,{j:()=>r});const r=n(160742).O},852585:(t,e,n)=>{n.d(e,{p:()=>i});var r=n(963372),s=n(330013),o=n(724196);const i=(0,s._C)(((t={})=>{const e=t.limit||5,n=t.key||"cause";return{name:"LinkedErrors",preprocessEvent(t,s,i){const a=i.getOptions();(0,r.Q)(o.K8,a.stackParser,n,e,t,s)}}}))},864918:(t,e,n)=>{n.d(e,{E1:()=>p,Ef:()=>o,JD:()=>a,Le:()=>d,Sn:()=>c,Ts:()=>f,c9:()=>h,i_:()=>r,jG:()=>l,sy:()=>s,uT:()=>i,xc:()=>u});const r="sentry.source",s="sentry.sample_rate",o="sentry.previous_trace_sample_rate",i="sentry.op",a="sentry.origin",c="sentry.measurement_unit",u="sentry.measurement_value",d="sentry.custom_span_name",p="sentry.profile_id",l="sentry.exclusive_time",f="http.request.method",h="url.full"},903408:(t,e,n)=>{n.d(e,{m:()=>o});var r=n(831433),s=n(919180);function o(t,e,n){const o=[{type:"client_report"},{timestamp:n||(0,s.lu)(),discarded_events:t}];return(0,r.h4)(e?{dsn:e}:{},[o])}},911857:(t,e,n)=>{n.d(e,{$X:()=>u,GR:()=>l,M6:()=>p,eJ:()=>a,gO:()=>d});var r=n(485510),s=n(921580),o=(n(173188),n(160742));let i;function a(t=function(){const t=o.O;return t.crypto||t.msCrypto}()){try{if(t?.randomUUID)return(0,s.Qw)((()=>t.randomUUID())).replace(/-/g,"")}catch{}return i||(i=[1e7]+1e3+4e3+8e3+1e11),i.replace(/[018]/g,(t=>(t^(16*(0,s.hY)()&15)>>t/4).toString(16)))}function c(t){return t.exception?.values?.[0]}function u(t){const{message:e,event_id:n}=t;if(e)return e;const r=c(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""}function d(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 p(t,e){const n=c(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 l(t){if(function(t){try{return t.__sentry_captured__}catch{}}(t))return!0;try{(0,r.my)(t,"__sentry_captured__",!0)}catch{}return!1}},919180:(t,e,n)=>{n.d(e,{lu:()=>i,zf:()=>c});var r=n(921580),s=n(160742);const o=1e3;function i(){return(0,r.Wk)()/o}let a;function c(){return(a??(a=function(){const{performance:t}=s.O;if(!t?.now||!t.timeOrigin)return i;const e=t.timeOrigin;return()=>(e+(0,r.Qw)((()=>t.now())))/o}()))()}},921580:(t,e,n)=>{n.d(e,{Qw:()=>o,Wk:()=>a,hY:()=>i});var r=n(160742);let s;function o(t){if(void 0!==s)return s?s(t):t();const e=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),n=r.O;return e in n&&"function"==typeof n[e]?(s=n[e],s(t)):(s=null,t())}function i(){return o((()=>Math.random()))}function a(){return o((()=>Date.now()))}},928860:(t,e,n)=>{n.d(e,{Z:()=>o,e:()=>s});var r=n(911857);function s(){return(0,r.eJ)()}function o(){return(0,r.eJ)().substring(16)}},935521:(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 o in e)Object.prototype.hasOwnProperty.call(e,o)&&(s[o]=r(s[o],e[o],n-1));return s}n.d(e,{h:()=>r})},945343:(t,e,n)=>{n.d(e,{l:()=>o});var r=n(675608),s=n(831433);function o(t,e,n,o){const i={};return e?.sdk&&(i.sdk={name:e.sdk.name,version:e.sdk.version}),n&&o&&(i.dsn=(0,r.SB)(o)),(0,s.h4)(i,[(a=t,[{type:"log",item_count:a.length,content_type:"application/vnd.sentry.items.log+json"},{items:a}])]);var a}},955284:(t,e,n)=>{n.d(e,{K:()=>R});var r=n(582095),s=n(189534),o=n(482247),i=n(17473),a=n(759955),c=n(330013),u=n(325878),d=n(251272),p=n(596315),l=n(240967),f=n(308365),h=n(903408),m=n(737111),g=n(675608),_=n(831433),y=n(701172),v=n(241013),b=n(935521),S=n(911857),E=n(693810),x=n(623068),w=n(978438),k=n(921580),T=n(57486),O=n(212480),$=n(348277),j=n(786833);const I="Not capturing exception because it's already been captured.",C="Discarded session because of missing or non-string release",A=Symbol.for("SentryInternalError"),D=Symbol.for("SentryDoNotSendEventError");function N(t){return{message:t,[A]:!0}}function P(t){return{message:t,[D]:!0}}function z(t){return!!t&&"object"==typeof t&&A in t}function L(t){return!!t&&"object"==typeof t&&D in t}function M(t,e,n,r,s){let o,i=0,a=!1;t.on(n,(()=>{i=0,clearTimeout(o),a=!1})),t.on(e,(e=>{i+=r(e),i>=8e5?s(t):a||(a=!0,o=setTimeout((()=>{s(t)}),5e3))})),t.on("flush",(()=>{s(t)}))}class R{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=(0,w.C)(t.transportOptions?.bufferSize??f.$),t.dsn?this._dsn=(0,g.AD)(t.dsn):i.T&&m.Yz.warn("No DSN provided, client will not send events."),this._dsn){const e=(0,r.Z)(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})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&M(this,"afterCaptureLog","flushLogs",J,u.lt);(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&M(this,"afterCaptureMetric","flushMetrics",F,d.NG)}captureException(t,e,n){const r=(0,S.eJ)();if((0,S.GR)(t))return i.T&&m.Yz.log(I),r;const s={event_id:r,...e};return this._process((()=>this.eventFromException(t,s).then((t=>this._captureEvent(t,s,n))).then((t=>t))),"error"),s.event_id}captureMessage(t,e,n,r){const s={event_id:(0,S.eJ)(),...n},o=(0,v.NF)(t)?t:String(t),i=(0,v.sO)(t),a=i?this.eventFromMessage(o,e,s):this.eventFromException(t,s);return this._process((()=>a.then((t=>this._captureEvent(t,s,r)))),i?"unknown":"error"),s.event_id}captureEvent(t,e,n){const r=(0,S.eJ)();if(e?.originalException&&(0,S.GR)(e.originalException))return i.T&&m.Yz.log(I),r;const s={event_id:r,...e},o=t.sdkProcessingMetadata||{},a=o.capturedSpanScope,c=o.capturedSpanIsolationScope,u=Y(t.type);return this._process((()=>this._captureEvent(t,s,a||n,c)),u),s.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}async flush(t){const e=this._transport;if(!e)return!0;this.emit("flush");const n=await this._isClientDoneProcessing(t),r=await e.flush(t);return n&&r}async close(t){const e=await this.flush(t);return this.getOptions().enabled=!1,this.emit("close"),e}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];(0,c.qm)(this,t,this._integrations),e||(0,c.lc)(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 r of e.attachments||[])n=(0,_.W3)(n,(0,_.bm)(r));this.sendEnvelope(n).then((e=>this.emit("afterSendEvent",t,e)))}sendSession(t){const{release:e,environment:n=s.U}=this._options;if("aggregates"in t){const r=t.attrs||{};if(!r.release&&!e)return void(i.T&&m.Yz.warn(C));r.release=r.release||e,r.environment=r.environment||n,t.attrs=r}else{if(!t.release&&!e)return void(i.T&&m.Yz.warn(C));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}`;i.T&&m.Yz.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]||new Set,r=(...t)=>e(...t);return n.add(r),()=>{n.delete(r)}}emit(t,...e){const n=this._hooks[t];n&&n.forEach((t=>t(...e)))}async sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)try{return await this._transport.send(t)}catch(e){return i.T&&m.Yz.error("Error while sending envelope:",e),{}}return i.T&&m.Yz.error("Transport disabled"),{}}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=(0,c.P$)(this,t),(0,c.lc)(this,t)}_updateSessionFromEvent(t,e){let n="fatal"===e.level,r=!1;const s=e.exception?.values;if(s){r=!0,n=!1;for(const t of s)if(!1===t.mechanism?.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))}async _isClientDoneProcessing(t){let e=0;for(;!t||esetTimeout(t,1))),!this._numProcessing)return!0;e++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(t,e,n,r){const s=this.getOptions(),i=Object.keys(this._integrations);return!e.integrations&&i?.length&&(e.integrations=i),this.emit("preprocessEvent",t,e),t.type||r.setLastEventId(t.event_id||e.event_id),(0,x.mG)(s,t,e,n,this,r).then((t=>{if(null===t)return t;this.emit("postprocessEvent",t,e),t.contexts={trace:(0,o.vn)(n),...t.contexts};const r=(0,l.ao)(this,n);return t.sdkProcessingMetadata={dynamicSamplingContext:r,...t.sdkProcessingMetadata},t}))}_captureEvent(t,e={},n=(0,o.o5)(),r=(0,o.rm)()){return i.T&&U(t)&&m.Yz.log(`Captured error event \`${(0,y.G)(t)[0]||""}\``),this._processEvent(t,e,n,r).then((t=>t.event_id),(t=>{i.T&&(L(t)?m.Yz.log(t.message):z(t)?m.Yz.warn(t.message):m.Yz.warn(t))}))}_processEvent(t,e,n,r){const s=this.getOptions(),{sampleRate:o}=s,i=q(t),a=U(t),c=`before send for type \`${t.type||"error"}\``,u=void 0===o?void 0:(0,E.i)(o);if(a&&"number"==typeof u&&(0,k.hY)()>u)return this.recordDroppedEvent("sample_rate","error"),(0,$.xg)(P(`Discarding event because it's not included in the random sample (sampling rate = ${o})`));const d=Y(t.type);return this._prepareEvent(t,e,n,r).then((t=>{if(null===t)throw this.recordDroppedEvent("event_processor",d),P("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,ignoreSpans:a}=e;let c=n;if(U(c)&&s)return s(c,r);if(q(c)){if(i||a){const e=(0,j.R)(c);if(a?.length&&(0,T.e)(e,a))return null;if(i){const t=i(e);t?c=(0,b.h)(n,(0,j.L)(t)):(0,O.xl)()}if(c.spans){const e=[],n=c.spans;for(const t of n)if(a?.length&&(0,T.e)(t,a))(0,T.R)(n,t);else if(i){const n=i(t);n?e.push(n):((0,O.xl)(),e.push(t))}else e.push(t);const r=c.spans.length-e.length;r&&t.recordDroppedEvent("before_send","span",r),c.spans=e}}if(o){if(c.spans){const t=c.spans.length;c.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:t}}return o(c,r)}}return c}(this,s,t,e);return function(t,e){const n=`${e} must return \`null\` or a valid event.`;if((0,v.Qg)(t))return t.then((t=>{if(!(0,v.Qd)(t)&&null!==t)throw N(n);return t}),(t=>{throw N(`${e} rejected with ${t}`)}));if(!(0,v.Qd)(t)&&null!==t)throw N(n);return t}(n,c)})).then((s=>{if(null===s){if(this.recordDroppedEvent("before_send",d),i){const e=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",e)}throw P(`${c} 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 u=s.transaction_info;if(i&&u&&s.transaction!==t.transaction){const t="custom";s.transaction_info={...u,source:t}}return this.sendEvent(s,e),s})).then(null,(t=>{if(L(t)||z(t))throw t;throw this.captureException(t,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:t}),N(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${t}`)}))}_process(t,e){this._numProcessing++,this._promiseBuffer.add(t).then((t=>(this._numProcessing--,t)),(t=>(this._numProcessing--,t===w.a&&this.recordDroppedEvent("queue_overflow",e),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(){i.T&&m.Yz.log("Flushing outcomes...");const t=this._clearOutcomes();if(0===t.length)return void(i.T&&m.Yz.log("No outcomes to send"));if(!this._dsn)return void(i.T&&m.Yz.log("No dsn provided, will not send outcomes"));i.T&&m.Yz.log("Sending outcomes:",t);const e=(0,h.m)(t,this._options.tunnel&&(0,g.SB)(this._dsn));this.sendEnvelope(e)}}function Y(t){return"replay_event"===t?"replay":t||"error"}function U(t){return void 0===t.type}function q(t){return"transaction"===t.type}function F(t){let e=0;return t.name&&(e+=2*t.name.length),e+=8,e+H(t.attributes)}function J(t){let e=0;return t.message&&(e+=2*t.message.length),e+H(t.attributes)}function H(t){if(!t)return 0;let e=0;return Object.values(t).forEach((t=>{Array.isArray(t)?e+=t.length*B(t[0]):(0,v.sO)(t)?e+=B(t):e+=100})),e}function B(t){return"string"==typeof t?2*t.length:"number"==typeof t?8:"boolean"==typeof t?4:0}},963372:(t,e,n)=>{n.d(e,{Q:()=>s});var r=n(241013);function s(t,e,n,s,i,a){if(!i.exception?.values||!a||!(0,r.tH)(a.originalException,Error))return;const c=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;c&&(i.exception.values=o(t,e,s,a.originalException,n,i.exception.values,c,0))}function o(t,e,n,s,c,u,d,p){if(u.length>=n+1)return u;let l=[...u];if((0,r.tH)(s[c],Error)){i(d,p);const r=t(e,s[c]),u=l.length;a(r,c,u,p),l=o(t,e,n,s[c],c,[r,...l],r,u)}return Array.isArray(s.errors)&&s.errors.forEach(((s,u)=>{if((0,r.tH)(s,Error)){i(d,p);const r=t(e,s),f=l.length;a(r,`errors[${u}]`,f,p),l=o(t,e,n,s,c,[r,...l],r,f)}})),l}function i(t,e){t.mechanism={handled:!0,type:"auto.core.linked_errors",...t.mechanism,..."AggregateError"===t.type&&{is_exception_group:!0},exception_id:e}}function a(t,e,n,r){t.mechanism={handled:!0,...t.mechanism,type:"chained",source:e,exception_id:n,parent_id:r}}},966481:(t,e,n)=>{n.d(e,{w:()=>o});var r=n(928860),s=n(212480);class o{constructor(t={}){this._traceId=t.traceId||(0,r.e)(),this._spanId=t.spanId||(0,r.Z)()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:s.CC}}end(t){}setAttribute(t,e){return this}setAttributes(t){return this}setStatus(t){return this}updateName(t){return this}isRecording(){return!1}addEvent(t,e,n){return this}addLink(t){return this}addLinks(t){return this}recordException(t,e){}}},972115:(t,e,n)=>{n.d(e,{De:()=>d,yD:()=>u});var r=n(17473),s=n(737111),o=n(241013);const i="sentry-",a=/^sentry-/,c=8192;function u(t){const e=function(t){if(!t||!(0,o.Kg)(t)&&!Array.isArray(t))return;if(Array.isArray(t))return t.reduce(((t,e)=>{const n=p(e);return 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],o)=>{const i=`${encodeURIComponent(e)}=${encodeURIComponent(n)}`,a=0===o?i:`${t},${i}`;return a.length>c?(r.T&&s.Yz.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=>{const e=t.indexOf("=");if(-1===e)return[];return[t.slice(0,e),t.slice(e+1)].map((t=>{try{return decodeURIComponent(t.trim())}catch{return}}))})).reduce(((t,[e,n])=>(e&&n&&(t[e]=n),t)),{})}},978438:(t,e,n)=>{n.d(e,{C:()=>o,a:()=>s});var r=n(348277);const s=Symbol.for("SentryBufferFullError");function o(t=100){const e=new Set;function n(t){e.delete(t)}return{get $(){return Array.from(e)},add:function(o){if(!(e.sizen(i)),(()=>n(i))),i},drain:function(t){if(!e.size)return(0,r.XW)(!0);const n=Promise.allSettled(Array.from(e)).then((()=>!0));if(!t)return n;const s=[n,new Promise((e=>setTimeout((()=>e(!1)),t)))];return Promise.race(s)}}}},984532:(t,e,n)=>{n.d(e,{Dl:()=>r});n(864918);function r(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}}},994547:(t,e,n)=>{n.d(e,{J:()=>i});var r=n(482247),s=n(17473),o=n(737111);function i(t,e){!0===e.debug&&(s.T?o.Yz.enable():(0,o.pq)((()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})));(0,r.o5)().update(e.initialScope);const n=new t(e);return function(t){(0,r.o5)().setClient(t)}(n),n.init(),n}}},e={};function n(r){var s=e[r];if(void 0!==s)return s.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var r=n(699547),s=n(665204),o=n(594529),i=n(482247),a=n(339385),c=n(434832),u=n(177843),d=n(561529),p=n(360202),l=n(660630);!self.Sentry&&self.__sentry_config__?((0,r.Ts)(self.__sentry_config__),(0,s.NA)("initLocation","sentry_chunk")):self.Sentry&&self.__sentry_config__?Math.random()<.001&&self.Sentry.captureMessage("Legacy sentry installed"):self.Sentry&&!self.__sentry_config__&&Math.random()<.001&&self.Sentry.captureMessage("Legacy sentry installed but new Sentry not configured"),self.Sentry||(self.Sentry={addBreadcrumb:o.Z,captureException:s.Cp,captureEvent:s.r,captureMessage:s.wd,getClient:i.KU,getCurrentScope:i.o5,init:r.Ts,onLoad:r.kF,rewriteFramesIntegration:a.D,rewriteFramesWithEventIntegration:l.x,setTag:s.NA,setExtra:s.l7,withScope:i.v4,flush:s.bX,dedupeIntegration:c.s,extraErrorDataIntegration:u.X,makeBrowserOfflineTransport:d.z9,makeFetchTransport:p._})})(); //# sourceMappingURL=sourcemaps/c688833c9c362b5c.sentry_browser.js.map