System.register([],function(t){"use strict";return{execute:function(){const e="8.55.0",n=globalThis;function r(t,r,s){const o=n,i=o.__SENTRY__=o.__SENTRY__||{},a=i[e]=i[e]||{};return a[t]||(a[t]=r())}const s=["debug","info","warn","error","log","assert","trace"],o={};function i(t){if(!("console"in n))return t();const e=n.console,r={},s=Object.keys(o);s.forEach(t=>{const n=o[t];r[t]=e[t],e[t]=n});try{return t()}finally{s.forEach(t=>{e[t]=r[t]})}}const a=r("logger",function(){let t=!1;const e={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return s.forEach(t=>{e[t]=()=>{}}),e});function c(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach(function(e){c(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}const p="<anonymous>";function f(t){const e=t.exception;if(e){const t=[];try{return e.values.forEach(e=>{e.stacktrace.frames&&t.push(...e.stacktrace.frames)}),t}catch(t){return}}}const d={},h={};function _(t,e){d[t]=d[t]||[],d[t].push(e)}function g(t,e){if(!h[t]){h[t]=!0;try{e()}catch(t){}}}function m(t,e){const n=t&&d[t];if(n)for(const t of n)try{t(e)}catch(t){}}let y=null;function v(){y=n.onerror,n.onerror=function(t,e,n,r,s){return m("error",{column:r,error:s,line:n,msg:t,url:e}),!!y&&y.apply(this,arguments)},n.onerror.__SENTRY_INSTRUMENTED__=!0}let b=null;function E(){b=n.onunhandledrejection,n.onunhandledrejection=function(t){return m("unhandledrejection",t),!b||b.apply(this,arguments)},n.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function x(){return S(n),n}function S(t){const n=t.__SENTRY__=t.__SENTRY__||{};return n.version=n.version||e,n[e]=n[e]||{}}const w=Object.prototype.toString;function k(t){switch(w.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return R(t,Error)}}function O(t,e){return w.call(t)===`[object ${e}]`}function P(t){return O(t,"ErrorEvent")}function j(t){return O(t,"DOMError")}function T(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 C(t){return null===t||D(t)||"object"!=typeof t&&"function"!=typeof t}function $(t){return O(t,"Object")}function N(t){return"undefined"!=typeof Event&&R(t,Event)}function I(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function R(t,e){try{return t instanceof e}catch(t){return!1}}function A(t){return!("object"!=typeof t||null===t||!t.__isVue&&!t._isVue)}const M=n;function L(t,e={}){if(!t)return"<unknown>";try{let n=t;const r=5,s=[];let o=0,i=0;const a=" > ",c=a.length;let u;const l=Array.isArray(e)?e:e.keyAttrs,p=!Array.isArray(e)&&e.maxStringLength||80;for(;n&&o++<r&&(u=U(n,l),!("html"===u||o>1&&i+s.length*c+u.length>=p));)s.push(u),i+=u.length,n=n.parentNode;return s.reverse().join(a)}catch(t){return"<unknown>"}}function U(t,e){const n=t,r=[];if(!n||!n.tagName)return"";if(M.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const s=e&&e.length?e.filter(t=>n.getAttribute(t)).map(t=>[t,n.getAttribute(t)]):null;if(s&&s.length)s.forEach(t=>{r.push(`[${t[0]}="${t[1]}"]`)});else{n.id&&r.push(`#${n.id}`);const t=n.className;if(t&&T(t)){const e=t.split(/\s+/);for(const t of e)r.push(`.${t}`)}}const o=["aria-label","type","name","title","alt"];for(const t of o){const e=n.getAttribute(t);e&&r.push(`[${t}="${e}"]`)}return r.join("")}function q(t,e=0){return"string"!=typeof t||0===e||t.length<=e?t:`${t.slice(0,e)}...`}function F(t,e){if(!Array.isArray(t))return"";const n=[];for(let e=0;e<t.length;e++){const r=t[e];try{A(r)?n.push("[VueViewModel]"):n.push(String(r))}catch(t){n.push("[value cannot be serialized]")}}return n.join(e)}function z(t,e,n=!1){return!!T(t)&&(O(e,"RegExp")?e.test(t):!!T(e)&&(n?t===e:t.includes(e)))}function H(t,e=[],n=!1){return e.some(e=>z(t,e,n))}function J(t,e,n){if(!(e in t))return;const r=t[e],s=n(r);"function"==typeof s&&function(t,e){try{const n=e.prototype||{};t.prototype=e.prototype=n,B(t,"__sentry_original__",e)}catch(t){}}(s,r);try{t[e]=s}catch(t){}}function B(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch(t){}}function W(t){if(k(t))return l({message:t.message,name:t.name,stack:t.stack},G(t));if(N(t)){const e=l({type:t.type,target:V(t.target),currentTarget:V(t.currentTarget)},G(t));return"undefined"!=typeof CustomEvent&&R(t,CustomEvent)&&(e.detail=t.detail),e}return t}function V(t){try{return e=t,"undefined"!=typeof Element&&R(e,Element)?L(t):Object.prototype.toString.call(t)}catch(t){return"<unknown>"}var e}function G(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 K(t){return Y(t,new Map)}function Y(t,e){if(function(t){if(!$(t))return!1;try{const e=Object.getPrototypeOf(t).constructor.name;return!e||"Object"===e}catch(t){return!0}}(t)){const n=e.get(t);if(void 0!==n)return n;const r={};e.set(t,r);for(const n of Object.getOwnPropertyNames(t))void 0!==t[n]&&(r[n]=Y(t[n],e));return r}if(Array.isArray(t)){const n=e.get(t);if(void 0!==n)return n;const r=[];return e.set(t,r),t.forEach(t=>{r.push(Y(t,e))}),r}return t}function X(){return Date.now()/1e3}const Q=function(){const{performance:t}=n;if(!t||!t.now)return X;const e=Date.now()-t.now(),r=null==t.timeOrigin?e:t.timeOrigin;return()=>(r+t.now())/1e3}();function Z(){const t=n,e=t.crypto||t.msCrypto;let r=()=>16*Math.random();try{if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");e&&e.getRandomValues&&(r=()=>{const t=new Uint8Array(1);return e.getRandomValues(t),t[0]})}catch(t){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,t=>(t^(15&r())>>t/4).toString(16))}function tt(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function et(t){const{message:e,event_id:n}=t;if(e)return e;const r=tt(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function nt(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="Error")}function rt(t,e){const n=tt(t);if(!n)return;const r=n.mechanism;if(n.mechanism=l(l(l({},{type:"generic",handled:!0}),r),e),e&&"data"in e){const t=l(l({},r&&r.data),e.data);n.mechanism.data=t}}function st(t){if(function(t){try{return t.__sentry_captured__}catch(t){}}(t))return!0;try{B(t,"__sentry_captured__",!0)}catch(t){}return!1}var ot;function it(t){return new ct(e=>{e(t)})}function at(t){return new ct((e,n)=>{n(t)})}(()=>{const{performance:t}=n;if(!t||!t.now)return;const e=36e5,r=t.now(),s=Date.now(),o=t.timeOrigin?Math.abs(t.timeOrigin+r-s):e,i=o<e,a=t.timing&&t.timing.navigationStart,c="number"==typeof a?Math.abs(a+r-s):e;(i||c<e)&&(o<=c&&t.timeOrigin)})(),function(t){t[t.PENDING=0]="PENDING";t[t.RESOLVED=1]="RESOLVED";t[t.REJECTED=2]="REJECTED"}(ot||(ot={}));class ct{constructor(t){ct.prototype.__init.call(this),ct.prototype.__init2.call(this),ct.prototype.__init3.call(this),ct.prototype.__init4.call(this),this._state=ot.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}then(t,e){return new ct((n,r)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(t){r(t)}else n(e)},t=>{if(e)try{n(e(t))}catch(t){r(t)}else r(t)}]),this._executeHandlers()})}catch(t){return this.then(t=>t,t)}finally(t){return new ct((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)})})}__init(){this._resolve=t=>{this._setResult(ot.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(ot.REJECTED,t)}}__init3(){this._setResult=(t,e)=>{this._state===ot.PENDING&&(I(e)?e.then(this._resolve,this._reject):(this._state=t,this._value=e,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===ot.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(t=>{t[0]||(this._state===ot.RESOLVED&&t[1](this._value),this._state===ot.REJECTED&&t[2](this._value),t[0]=!0)})}}}function ut(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||Q(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:Z()),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 lt(){return Z()}function pt(){return Z().substring(16)}function ft(t,e,n=2){if(!e||"object"!=typeof e||n<=0)return e;if(t&&e&&0===Object.keys(e).length)return t;const r=l({},t);for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=ft(r[t],e[t],n-1));return r}const dt="_sentrySpan";function ht(t,e){e?B(t,dt,e):delete t[dt]}function _t(t){return t[dt]}class gt{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:lt(),spanId:pt()}}clone(){const t=new gt;return t._breadcrumbs=[...this._breadcrumbs],t._tags=l({},this._tags),t._extra=l({},this._extra),t._contexts=l({},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._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata=l({},this._sdkProcessingMetadata),t._propagationContext=l({},this._propagationContext),t._client=this._client,t._lastEventId=this._lastEventId,ht(t,_t(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&&ut(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags=l(l({},this._tags),t),this._notifyScopeListeners(),this}setTag(t,e){return this._tags=l(l({},this._tags),{},{[t]:e}),this._notifyScopeListeners(),this}setExtras(t){return this._extra=l(l({},this._extra),t),this._notifyScopeListeners(),this}setExtra(t,e){return this._extra=l(l({},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,r]=e instanceof mt?[e.getScopeData(),e.getRequestSession()]:$(e)?[t,t.requestSession]:[],{tags:s,extra:o,user:i,contexts:a,level:c,fingerprint:u=[],propagationContext:p}=n||{};return this._tags=l(l({},this._tags),s),this._extra=l(l({},this._extra),o),this._contexts=l(l({},this._contexts),a),i&&Object.keys(i).length&&(this._user=i),c&&(this._level=c),u.length&&(this._fingerprint=u),p&&(this._propagationContext=p),r&&(this._requestSession=r),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,ht(this,void 0),this._attachments=[],this.setPropagationContext({traceId:lt()}),this._notifyScopeListeners(),this}addBreadcrumb(t,e){const n="number"==typeof e?e:100;if(n<=0)return this;const r=l({timestamp:X()},t);return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),this._client&&this._client.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:_t(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=ft(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=l({spanId:pt()},t),this}getPropagationContext(){return this._propagationContext}captureException(t,e){const n=e&&e.event_id?e.event_id:Z();if(!this._client)return a.warn("No client configured on scope - will not capture exception!"),n;const r=new Error("Sentry syntheticException");return this._client.captureException(t,l(l({originalException:t,syntheticException:r},e),{},{event_id:n}),this),n}captureMessage(t,e,n){const r=n&&n.event_id?n.event_id:Z();if(!this._client)return a.warn("No client configured on scope - will not capture message!"),r;const s=new Error(t);return this._client.captureMessage(t,e,l(l({originalException:t,syntheticException:s},n),{},{event_id:r}),this),r}captureEvent(t,e){const n=e&&e.event_id?e.event_id:Z();return this._client?(this._client.captureEvent(t,l(l({},e),{},{event_id:n}),this),n):(a.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)}}const mt=gt;class yt{constructor(t,e){let n,r;n=t||new mt,r=e||new mt,this._stack=[{scope:n}],this._isolationScope=r}withScope(t){const e=this._pushScope();let n;try{n=t(e)}catch(t){throw this._popScope(),t}return I(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 vt(){const t=S(x());return t.stack=t.stack||new yt(r("defaultCurrentScope",()=>new mt),r("defaultIsolationScope",()=>new mt))}function bt(t){return vt().withScope(t)}function Et(t,e){const n=vt();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function xt(t){return vt().withScope(()=>t(vt().getIsolationScope()))}function St(t){const e=S(t);return e.acs?e.acs:{withIsolationScope:xt,withScope:bt,withSetScope:Et,withSetIsolationScope:(t,e)=>xt(e),getCurrentScope:()=>vt().getScope(),getIsolationScope:()=>vt().getIsolationScope()}}function wt(){return St(x()).getCurrentScope()}function kt(){return St(x()).getIsolationScope()}function Ot(){return wt().getClient()}function Pt(t){const e=t.getPropagationContext(),{traceId:n,spanId:r,parentSpanId:s}=e;return K({trace_id:n,span_id:r,parent_span_id:s})}function jt(t){const e=t._sentryMetrics;if(!e)return;const n={};for(const[,[t,r]]of e){(n[t]||(n[t]=[])).push(K(r))}return n}const Tt=/^sentry-/;function Dt(t){const e=function(t){if(!t||!T(t)&&!Array.isArray(t))return;if(Array.isArray(t))return t.reduce((t,e)=>{const n=Ct(e);return Object.entries(n).forEach(([e,n])=>{t[e]=n}),t},{});return Ct(t)}(t);if(!e)return;const n=Object.entries(e).reduce((t,[e,n])=>{if(e.match(Tt)){t[e.slice(7)]=n}return t},{});return Object.keys(n).length>0?n:void 0}function Ct(t){return t.split(",").map(t=>t.split("=").map(t=>decodeURIComponent(t.trim()))).reduce((t,[e,n])=>(e&&n&&(t[e]=n),t),{})}let $t=!1;function Nt(t){const{spanId:e,traceId:n,isRemote:r}=t.spanContext();return K({parent_span_id:r?e:At(t).parent_span_id,span_id:r?pt():e,trace_id:n})}function It(t){return"number"==typeof t?Rt(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?Rt(t.getTime()):Q()}function Rt(t){return t>9999999999?t/1e3:t}function At(t){if(function(t){return"function"==typeof t.getSpanJSON}(t))return t.getSpanJSON();try{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:i,parentSpanId:a,status:c}=t;return K({span_id:e,trace_id:n,data:r,description:o,parent_span_id:a,start_timestamp:It(s),timestamp:It(i)||void 0,status:Mt(c),op:r["sentry.op"],origin:r["sentry.origin"],_metrics_summary:jt(t)})}return{span_id:e,trace_id:n}}catch(t){return{}}}function Mt(t){if(t&&0!==t.code)return 1===t.code?"ok":t.message||"unknown_error"}function Lt(t){return t._sentryRootSpan||t}function Ut(){$t||(i(()=>{console.warn("[Sentry] Deprecation warning: Returning null from `beforeSendSpan` will be disallowed from SDK version 9.0.0 onwards. The callback will only support mutating spans. To drop certain spans, configure the respective integrations directly.")}),$t=!0)}const qt="production";function Ft(t,e){const n=e.getOptions(),{publicKey:r}=e.getDsn()||{},s=K({environment:n.environment||qt,release:n.release,public_key:r,trace_id:t});return e.emit("createDsc",s),s}function zt(t){const e=Ot();if(!e)return{};const n=Lt(t),r=n._frozenDsc;if(r)return r;const s=n.spanContext().traceState,o=s&&s.get("sentry.dsc"),i=o&&Dt(o);if(i)return i;const a=Ft(t.spanContext().traceId,e),c=At(n),u=c.data||{},l=u["sentry.sample_rate"];null!=l&&(a.sample_rate=`${l}`);const p=u["sentry.source"],f=c.description;return"url"!==p&&f&&(a.transaction=f),e.emit("createDsc",a,n),a}const Ht=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Jt(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 Bt(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function Wt(t){const e="string"==typeof t?function(t){const e=Ht.exec(t);if(!e)return void i(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});const[n,r,s="",o="",a="",c=""]=e.slice(1);let u="",l=c;const p=l.split("/");if(p.length>1&&(u=p.slice(0,-1).join("/"),l=p.pop()),l){const t=l.match(/^\d+/);t&&(l=t[0])}return Bt({host:o,pass:s,path:u,projectId:l,port:a,protocol:n,publicKey:r})}(t):Bt(t);if(e)return e}function Vt(t,e=100,n=1/0){try{return Kt("",t,e,n)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function Gt(t,e=3,n=102400){const r=Vt(t,e);return s=r,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(s))>n?Gt(t,e-1,n):r;var s}function Kt(t,e,n=1/0,r=1/0,s=function(){const t="function"==typeof WeakSet,e=t?new WeakSet:[];return[function(n){if(t)return!!e.has(n)||(e.add(n),!1);for(let t=0;t<e.length;t++)if(e[t]===n)return!0;return e.push(n),!1},function(n){if(t)e.delete(n);else for(let t=0;t<e.length;t++)if(e[t]===n){e.splice(t,1);break}}]}()){const[o,i]=s;if(null==e||["boolean","string"].includes(typeof e)||"number"==typeof e&&Number.isFinite(e))return e;const a=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(A(e))return"[VueViewModel]";if($(n=e)&&"nativeEvent"in n&&"preventDefault"in n&&"stopPropagation"in n)return"[SyntheticEvent]";if("number"==typeof e&&!Number.isFinite(e))return`[${e}]`;if("function"==typeof e)return`[Function: ${function(t){try{return t&&"function"==typeof t&&t.name||p}catch(t){return p}}(e)}]`;if("symbol"==typeof e)return`[${String(e)}]`;if("bigint"==typeof e)return`[BigInt: ${String(e)}]`;const r=function(t){const e=Object.getPrototypeOf(t);return e?e.constructor.name:"null prototype"}(e);return/^HTML(\w*)Element$/.test(r)?`[HTMLElement: ${r}]`:`[object ${r}]`}catch(t){return`**non-serializable** (${t})`}var n}(t,e);if(!a.startsWith("[object "))return a;if(e.__sentry_skip_normalization__)return e;const c="number"==typeof e.__sentry_override_normalization_depth__?e.__sentry_override_normalization_depth__:n;if(0===c)return a.replace("object ","");if(o(e))return"[Circular ~]";const u=e;if(u&&"function"==typeof u.toJSON)try{return Kt("",u.toJSON(),c-1,r,s)}catch(t){}const l=Array.isArray(e)?[]:{};let f=0;const d=W(e);for(const t in d){if(!Object.prototype.hasOwnProperty.call(d,t))continue;if(f>=r){l[t]="[MaxProperties ~]";break}const e=d[t];l[t]=Kt(t,e,c-1,r,s),f++}return i(e),l}function Yt(t,e=[]){return[t,e]}function Xt(t,e){const[n,r]=t;return[n,[...r,e]]}function Qt(t,e){const n=t[1];for(const t of n){if(e(t,t[0].type))return!0}return!1}function Zt(t){return n.__SENTRY__&&n.__SENTRY__.encodePolyfill?n.__SENTRY__.encodePolyfill(t):(new TextEncoder).encode(t)}function te(t){const[e,n]=t;let r=JSON.stringify(e);function s(t){"string"==typeof r?r="string"==typeof t?r+t:[Zt(r),t]:r.push("string"==typeof t?Zt(t):t)}for(const t of n){const[e,n]=t;if(s(`\n${JSON.stringify(e)}\n`),"string"==typeof n||n instanceof Uint8Array)s(n);else{let t;try{t=JSON.stringify(n)}catch(e){t=JSON.stringify(Vt(n))}s(t)}}return"string"==typeof r?r:function(t){const e=t.reduce((t,e)=>t+e.length,0),n=new Uint8Array(e);let r=0;for(const e of t)n.set(e,r),r+=e.length;return n}(r)}function ee(t){const e="string"==typeof t.data?Zt(t.data):t.data;return[K({type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),e]}const ne={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",statsd:"metric_bucket",raw_security:"security"};function re(t){return ne[t]}function se(t){if(!t||!t.sdk)return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}function oe(t,e,n,r){const s=se(n),o=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){e&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=[...t.sdk.integrations||[],...e.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...e.packages||[]])}(t,n&&n.sdk);const i=function(t,e,n,r){const s=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return l(l(l({event_id:t.event_id,sent_at:(new Date).toISOString()},e&&{sdk:e}),!!n&&r&&{dsn:Jt(r)}),s&&{trace:K(l({},s))})}(t,s,r,e);delete t.sdkProcessingMetadata;return Yt(i,[[{type:o},t]])}function ie(t,e,n,r=0){return new ct((s,o)=>{const i=t[r];if(null===e||"function"!=typeof i)s(e);else{const a=i(l({},e),n);I(a)?a.then(e=>ie(t,e,n,r+1).then(s)).then(null,o):ie(t,a,n,r+1).then(s).then(null,o)}})}let ae,ce,ue;function le(t,e){const{fingerprint:n,span:r,breadcrumbs:s,sdkProcessingMetadata:o}=e;!function(t,e){const{extra:n,tags:r,user:s,contexts:o,level:i,transactionName:a}=e,c=K(n);c&&Object.keys(c).length&&(t.extra=l(l({},c),t.extra));const u=K(r);u&&Object.keys(u).length&&(t.tags=l(l({},u),t.tags));const p=K(s);p&&Object.keys(p).length&&(t.user=l(l({},p),t.user));const f=K(o);f&&Object.keys(f).length&&(t.contexts=l(l({},f),t.contexts));i&&(t.level=i);a&&"transaction"!==t.type&&(t.transaction=a)}(t,e),r&&function(t,e){t.contexts=l({trace:Nt(e)},t.contexts),t.sdkProcessingMetadata=l({dynamicSamplingContext:zt(e)},t.sdkProcessingMetadata);const n=Lt(e),r=At(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&&!t.fingerprint.length&&delete t.fingerprint}(t,n),function(t,e){const n=[...t.breadcrumbs||[],...e];t.breadcrumbs=n.length?n:void 0}(t,s),function(t,e){t.sdkProcessingMetadata=l(l({},t.sdkProcessingMetadata),e)}(t,o)}function pe(t,e){const{extra:n,tags:r,user:s,contexts:o,level:i,sdkProcessingMetadata:a,breadcrumbs:c,fingerprint:u,eventProcessors:p,attachments:f,propagationContext:d,transactionName:h,span:_}=e;fe(t,"extra",n),fe(t,"tags",r),fe(t,"user",s),fe(t,"contexts",o),t.sdkProcessingMetadata=ft(t.sdkProcessingMetadata,a,2),i&&(t.level=i),h&&(t.transactionName=h),_&&(t.span=_),c.length&&(t.breadcrumbs=[...t.breadcrumbs,...c]),u.length&&(t.fingerprint=[...t.fingerprint,...u]),p.length&&(t.eventProcessors=[...t.eventProcessors,...p]),f.length&&(t.attachments=[...t.attachments,...f]),t.propagationContext=l(l({},t.propagationContext),d)}function fe(t,e,n){t[e]=ft(t[e],n,1)}function de(t,e,s,o,i,a){const{normalizeDepth:c=3,normalizeMaxBreadth:u=1e3}=t,p=l(l({},e),{},{event_id:e.event_id||s.event_id||Z(),timestamp:e.timestamp||X()}),f=s.integrations||t.integrations.map(t=>t.name);!function(t,e){const{environment:n,release:r,dist:s,maxValueLength:o=250}=e;t.environment=t.environment||n||qt,!t.release&&r&&(t.release=r);!t.dist&&s&&(t.dist=s);t.message&&(t.message=q(t.message,o));const i=t.exception&&t.exception.values&&t.exception.values[0];i&&i.value&&(i.value=q(i.value,o));const a=t.request;a&&a.url&&(a.url=q(a.url,o))}(p,t),function(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}(p,f),i&&i.emit("applyFrameMetadata",e),void 0===e.type&&function(t,e){const r=function(t){const e=n._sentryDebugIds;if(!e)return{};const r=Object.keys(e);return ue&&r.length===ce||(ce=r.length,ue=r.reduce((n,r)=>{ae||(ae={});const s=ae[r];if(s)n[s[0]]=s[1];else{const s=t(r);for(let t=s.length-1;t>=0;t--){const o=s[t],i=o&&o.filename,a=e[r];if(i&&a){n[i]=a,ae[r]=[i,a];break}}}return n},{})),ue}(e);try{t.exception.values.forEach(t=>{t.stacktrace.frames.forEach(t=>{r&&t.filename&&(t.debug_id=r[t.filename])})})}catch(t){}}(p,t.stackParser);const d=function(t,e){if(!e)return t;const n=t?t.clone():new mt;return n.update(e),n}(o,s.captureContext);s.mechanism&&rt(p,s.mechanism);const h=i?i.getEventProcessors():[],_=r("globalScope",()=>new mt).getScopeData();if(a){pe(_,a.getScopeData())}if(d){pe(_,d.getScopeData())}const g=[...s.attachments||[],..._.attachments];g.length&&(s.attachments=g),le(p,_);return ie([...h,..._.eventProcessors],p,s).then(t=>(t&&function(t){const e={};try{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)})})}catch(t){}if(0===Object.keys(e).length)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const n=t.debug_meta.images;Object.entries(e).forEach(([t,e])=>{n.push({type:"sourcemap",code_file:t,debug_id:e})})}(t),"number"==typeof c&&c>0?function(t,e,n){if(!t)return null;const r=l(l(l(l(l({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(t=>l(l({},t),t.data&&{data:Vt(t.data,e,n)}))}),t.user&&{user:Vt(t.user,e,n)}),t.contexts&&{contexts:Vt(t.contexts,e,n)}),t.extra&&{extra:Vt(t.extra,e,n)});t.contexts&&t.contexts.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=Vt(t.contexts.trace.data,e,n)));t.spans&&(r.spans=t.spans.map(t=>l(l({},t),t.data&&{data:Vt(t.data,e,n)})));t.contexts&&t.contexts.flags&&r.contexts&&(r.contexts.flags=Vt(t.contexts.flags,3,n));return r}(t,c,u):t))}function he(t,e){return wt().captureEvent(t,e)}function _e(t,e){kt().setTag(t,e)}function ge(t,e,n){return e||`${function(t){return`${function(t){const e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}(t)}${t.projectId}/envelope/`}(t)}?${function(t,e){const n={sentry_version:"7"};return t.publicKey&&(n.sentry_key=t.publicKey),e&&(n.sentry_client=`${e.name}/${e.version}`),new URLSearchParams(n).toString()}(t,n)}`}const me=[];function ye(t,e){for(const n of e)n&&n.afterAllSetup&&n.afterAllSetup(t)}function ve(t,e,n){if(!n[e.name]){if(n[e.name]=e,-1===me.indexOf(e.name)&&"function"==typeof e.setupOnce&&(e.setupOnce(),me.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)}}}class be extends Error{constructor(t,e="warn"){super(t),this.message=t,this.logLevel=e}}class Ee{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn&&(this._dsn=Wt(t.dsn)),this._dsn){const e=ge(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport(l(l({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this)},t.transportOptions),{},{url:e}))}const e=["enableTracing","tracesSampleRate","tracesSampler"].find(e=>e in t&&null==t[e]);e&&i(()=>{console.warn(`[Sentry] Deprecation warning: \`${e}\` is set to undefined, which leads to tracing being enabled. In v9, a value of \`undefined\` will result in tracing being disabled.`)})}captureException(t,e,n){const r=Z();if(st(t))return r;const s=l({event_id:r},e);return this._process(this.eventFromException(t,s).then(t=>this._captureEvent(t,s,n))),s.event_id}captureMessage(t,e,n,r){const s=l({event_id:Z()},n),o=D(t)?t:String(t),i=C(t)?this.eventFromMessage(o,e,s):this.eventFromException(t,s);return this._process(i.then(t=>this._captureEvent(t,s,r))),s.event_id}captureEvent(t,e,n){const r=Z();if(e&&e.originalException&&st(e.originalException))return r;const s=l({event_id:r},e),o=(t.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(t,s,o||n)),s.event_id}captureSession(t){"string"!=typeof t.release||(this.sendSession(t),ut(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const e=this._transport;return e?(this.emit("flush"),this._isClientDoneProcessing(t).then(n=>e.flush(t).then(t=>n&&t))):it(!0)}close(t){return this.flush(t).then(t=>(this.getOptions().enabled=!1,this.emit("close"),t))}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some(({name:t})=>t.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}addIntegration(t){const e=this._integrations[t.name];ve(this,t,this._integrations),e||ye(this,[t])}sendEvent(t,e={}){this.emit("beforeSendEvent",t,e);let n=oe(t,this._dsn,this._options._metadata,this._options.tunnel);for(const t of e.attachments||[])n=Xt(n,ee(t));const r=this.sendEnvelope(n);r&&r.then(e=>this.emit("afterSendEvent",t,e),null)}sendSession(t){const e=function(t,e,n,r){const s=se(n);return Yt(l(l({sent_at:(new Date).toISOString()},s&&{sdk:s}),!!r&&e&&{dsn:Jt(e)}),["aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()]])}(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(e)}recordDroppedEvent(t,e,n){if(this._options.sendClientReports){const r="number"==typeof n?n:1,s=`${t}:${e}`;this._outcomes[s]=(this._outcomes[s]||0)+r}}on(t,e){const n=this._hooks[t]=this._hooks[t]||[];return n.push(e),()=>{const t=n.indexOf(e);t>-1&&n.splice(t,1)}}emit(t,...e){const n=this._hooks[t];n&&n.forEach(t=>t(...e))}sendEnvelope(t){return this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport?this._transport.send(t).then(null,t=>t):it({})}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=function(t,e){const n={};return e.forEach(e=>{e&&ve(t,e,n)}),n}(this,t),ye(this,t)}_updateSessionFromEvent(t,e){let n="fatal"===e.level,r=!1;const s=e.exception&&e.exception.values;if(s){r=!0;for(const t of s){const e=t.mechanism;if(e&&!1===e.handled){n=!0;break}}}const o="ok"===t.status;(o&&0===t.errors||o&&n)&&(ut(t,l(l({},n&&{status:"crashed"}),{},{errors:t.errors||Number(r||n)})),this.captureSession(t))}_isClientDoneProcessing(t){return new ct(e=>{let n=0;const r=setInterval(()=>{0==this._numProcessing?(clearInterval(r),e(!0)):(n+=1,t&&n>=t&&(clearInterval(r),e(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(t,e,n=wt(),r=kt()){const s=this.getOptions(),o=Object.keys(this._integrations);return!e.integrations&&o.length>0&&(e.integrations=o),this.emit("preprocessEvent",t,e),t.type||r.setLastEventId(t.event_id||e.event_id),de(s,t,e,n,this,r).then(t=>{if(null===t)return t;t.contexts=l({trace:Pt(n)},t.contexts);const e=function(t,e){const n=e.getPropagationContext();return n.dsc||Ft(n.traceId,t)}(this,n);return t.sdkProcessingMetadata=l({dynamicSamplingContext:e},t.sdkProcessingMetadata),t})}_captureEvent(t,e={},n){return this._processEvent(t,e,n).then(t=>t.event_id,t=>{})}_processEvent(t,e,n){const r=this.getOptions(),{sampleRate:s}=r,o=Se(t),i=xe(t),a=t.type||"error",c=`before send for type \`${a}\``,u=void 0===s?void 0:function(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}(s);if(i&&"number"==typeof u&&Math.random()>u)return this.recordDroppedEvent("sample_rate","error",t),at(new be(`Discarding event because it's not included in the random sample (sampling rate = ${s})`,"log"));const p="replay_event"===a?"replay":a,f=(t.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(t,e,n,f).then(n=>{if(null===n)throw this.recordDroppedEvent("event_processor",p,t),new be("An event processor returned `null`, will not send event.","log");if(e.data&&!0===e.data.__sentry__)return n;const s=function(t,e,n,r){const{beforeSend:s,beforeSendTransaction:o,beforeSendSpan:i}=e;if(xe(n)&&s)return s(n,r);if(Se(n)){if(n.spans&&i){const e=[];for(const r of n.spans){const n=i(r);n?e.push(n):(Ut(),t.recordDroppedEvent("before_send","span"))}n.spans=e}if(o){if(n.spans){const t=n.spans.length;n.sdkProcessingMetadata=l(l({},n.sdkProcessingMetadata),{},{spanCountBeforeProcessing:t})}return o(n,r)}}return n}(this,r,n,e);return function(t,e){const n=`${e} must return \`null\` or a valid event.`;if(I(t))return t.then(t=>{if(!$(t)&&null!==t)throw new be(n);return t},t=>{throw new be(`${e} rejected with ${t}`)});if(!$(t)&&null!==t)throw new be(n);return t}(s,c)}).then(r=>{if(null===r){if(this.recordDroppedEvent("before_send",p,t),o){const e=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",e)}throw new be(`${c} returned \`null\`, will not send event.`,"log")}const s=n&&n.getSession();if(!o&&s&&this._updateSessionFromEvent(s,r),o){const t=(r.sdkProcessingMetadata&&r.sdkProcessingMetadata.spanCountBeforeProcessing||0)-(r.spans?r.spans.length:0);t>0&&this.recordDroppedEvent("before_send","span",t)}const i=r.transaction_info;if(o&&i&&r.transaction!==t.transaction){const t="custom";r.transaction_info=l(l({},i),{},{source:t})}return this.sendEvent(r,e),r}).then(null,t=>{if(t instanceof be)throw t;throw this.captureException(t,{data:{__sentry__:!0},originalException:t}),new be(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${t}`)})}_process(t){this._numProcessing++,t.then(t=>(this._numProcessing--,t),t=>(this._numProcessing--,t))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map(([t,e])=>{const[n,r]=t.split(":");return{reason:n,category:r,quantity:e}})}_flushOutcomes(){const t=this._clearOutcomes();if(0===t.length)return;if(!this._dsn)return;const e=(n=t,Yt((r=this._options.tunnel&&Jt(this._dsn))?{dsn:r}:{},[[{type:"client_report"},{timestamp:X(),discarded_events:n}]]));var n,r;this.sendEnvelope(e)}}function xe(t){return void 0===t.type}function Se(t){return"transaction"===t.type}function we(t){const e=[];function n(t){return e.splice(e.indexOf(t),1)[0]||Promise.resolve(void 0)}return{$:e,add:function(r){if(!(void 0===t||e.length<t))return at(new be("Not adding Promise because buffer limit was reached."));const s=r();return-1===e.indexOf(s)&&e.push(s),s.then(()=>n(s)).then(null,()=>n(s).then(null,()=>{})),s},drain:function(t){return new ct((n,r)=>{let s=e.length;if(!s)return n(!0);const o=setTimeout(()=>{t&&t>0&&n(!1)},t);e.forEach(t=>{it(t).then(()=>{--s||(clearTimeout(o),n(!0))},r)})})}}}function ke(t,{statusCode:e,headers:n},r=Date.now()){const s=l({},t),o=n&&n["x-sentry-rate-limits"],i=n&&n["retry-after"];if(o)for(const t of o.trim().split(",")){const[e,n,,,o]=t.split(":",5),i=parseInt(e,10),a=1e3*(isNaN(i)?60:i);if(n)for(const t of n.split(";"))"metric_bucket"===t&&o&&!o.split(";").includes("custom")||(s[t]=r+a);else s.all=r+a}else i?s.all=r+function(t,e=Date.now()){const n=parseInt(`${t}`,10);if(!isNaN(n))return 1e3*n;const r=Date.parse(`${t}`);return isNaN(r)?6e4:r-e}(i,r):429===e&&(s.all=r+6e4);return s}function Oe(t,e,n=we(t.bufferSize||64)){let r={};return{send:function(s){const o=[];if(Qt(s,(e,n)=>{const s=re(n);if(function(t,e,n=Date.now()){return function(t,e){return t[e]||t.all||0}(t,e)>n}(r,s)){const r=Pe(e,n);t.recordDroppedEvent("ratelimit_backoff",s,r)}else o.push(e)}),0===o.length)return it({});const i=Yt(s[0],o),a=e=>{Qt(i,(n,r)=>{const s=Pe(n,r);t.recordDroppedEvent(e,re(r),s)})};return n.add(()=>e({body:te(i)}).then(t=>(void 0!==t.statusCode&&(t.statusCode<200||t.statusCode),r=ke(r,t),t),t=>{throw a("network_error"),t})).then(t=>t,t=>{if(t instanceof be)return a("queue_overflow"),it({});throw t})},flush:t=>n.drain(t)}}function Pe(t,e){if("event"===e||"transaction"===e)return Array.isArray(t)?t[1]:void 0}const je=100;function Te(t,e){const n=Ot(),r=kt();if(!n)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:o=je}=n.getOptions();if(o<=0)return;const a=l({timestamp:X()},t),c=s?i(()=>s(a,e)):a;null!==c&&(n.emit&&n.emit("beforeAddBreadcrumb",c,e),r.addBreadcrumb(c,o))}let De;const Ce=new WeakMap,$e=()=>({name:"FunctionToString",setupOnce(){De=Function.prototype.toString;try{Function.prototype.toString=function(...t){const e=this.__sentry_original__;const n=Ce.has(Ot())&&void 0!==e?e:this;return De.apply(n,t)}}catch(t){}},setup(t){Ce.set(t,!0)}}),Ne=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,"undefined is not an object (evaluating 'a.L')",'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+$/],Ie=(t={})=>({name:"InboundFilters",processEvent(e,n,r){const s=r.getOptions(),o=function(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:Ne],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[]],ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(t,s);return function(t,e){if(e.ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(t){}return!1}(t))return!0;if(function(t,e){if(t.type||!e||!e.length)return!1;return function(t){const e=[];t.message&&e.push(t.message);let n;try{n=t.exception.values[t.exception.values.length-1]}catch(t){}n&&n.value&&(e.push(n.value),n.type&&e.push(`${n.type}: ${n.value}`));return e}(t).some(t=>H(t,e))}(t,e.ignoreErrors))return!0;if(function(t){if(t.type)return!1;if(!t.exception||!t.exception.values||0===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!0;if(function(t,e){if("transaction"!==t.type||!e||!e.length)return!1;const n=t.transaction;return!!n&&H(n,e)}(t,e.ignoreTransactions))return!0;if(function(t,e){if(!e||!e.length)return!1;const n=Re(t);return!!n&&H(n,e)}(t,e.denyUrls))return!0;if(!function(t,e){if(!e||!e.length)return!0;const n=Re(t);return!n||H(n,e)}(t,e.allowUrls))return!0;return!1}(e,o)?null:e}});function Re(t){try{let e;try{e=t.exception.values[0].stacktrace.frames}catch(t){}return e?function(t=[]){for(let e=t.length-1;e>=0;e--){const n=t[e];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(e):null}catch(t){return null}}function Ae(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:n,hash:r,relative:e[5]+n+r}}function Me(){"console"in n&&s.forEach(function(t){t in n.console&&J(n.console,t,function(e){return o[t]=e,function(...e){m("console",{args:e,level:t});const r=o[t];r&&r.apply(n.console,e)}})})}function Le(t){return"warn"===t?"warning":["fatal","error","warning","log","info","debug"].includes(t)?t:"log"}const Ue=()=>{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(!Fe(t,e))return!1;if(!qe(t,e))return!1;return!0}(t,e))return!0;if(function(t,e){const n=ze(e),r=ze(t);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!Fe(t,e))return!1;if(!qe(t,e))return!1;return!0}(t,e))return!0;return!1}(e,t))return null}catch(t){}return t=e}}};function qe(t,e){let n=f(t),r=f(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let t=0;t<r.length;t++){const e=r[t],s=n[t];if(e.filename!==s.filename||e.lineno!==s.lineno||e.colno!==s.colno||e.function!==s.function)return!1}return!0}function Fe(t,e){let n=t.fingerprint,r=e.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(t){return!1}}function ze(t){return t.exception&&t.exception.values&&t.exception.values[0]}function He(t){return void 0===t?void 0:t>=400&&t<500?"warning":t>=500?"error":void 0}const Je=n;function Be(t){return t&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function We(){if("string"==typeof EdgeRuntime)return!0;if(!function(){if(!("fetch"in Je))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(t){return!1}}())return!1;if(Be(Je.fetch))return!0;let t=!1;const e=Je.document;if(e&&"function"==typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(t=Be(n.contentWindow.fetch)),e.head.removeChild(n)}catch(t){}return t}function Ve(t,e){const r="fetch";_(r,t),g(r,()=>function(t,e=!1){if(e&&!We())return;J(n,"fetch",function(t){return function(...e){const r=new Error,{method:s,url:o}=function(t){if(0===t.length)return{method:"GET",url:""};if(2===t.length){const[e,n]=t;return{url:Ke(e),method:Ge(n,"method")?String(n.method).toUpperCase():"GET"}}const e=t[0];return{url:Ke(e),method:Ge(e,"method")?String(e.method).toUpperCase():"GET"}}(e),i={args:e,fetchData:{method:s,url:o},startTimestamp:1e3*Q(),virtualError:r};return m("fetch",l({},i)),t.apply(n,e).then(async t=>(m("fetch",l(l({},i),{},{endTimestamp:1e3*Q(),response:t})),t),t=>{throw m("fetch",l(l({},i),{},{endTimestamp:1e3*Q(),error:t})),k(t)&&void 0===t.stack&&(t.stack=r.stack,B(t,"framesToPop",1)),t})}})}(0,e))}function Ge(t,e){return!!t&&"object"==typeof t&&!!t[e]}function Ke(t){return"string"==typeof t?t:t?Ge(t,"url")?t.url:t.toString?t.toString():"":""}const Ye=n;const Xe=n;function Qe(t,e){const n=en(t,e),r={type:sn(e),value:on(e)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function Ze(t,e,n,r){const s=Ot(),o=s&&s.getOptions().normalizeDepth,i=function(t){for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];if(n instanceof Error)return n}return}(e),a={__serialized__:Gt(e,o)};if(i)return{exception:{values:[Qe(t,i)]},extra:a};const c={exception:{values:[{type:N(e)?e.constructor.name:r?"UnhandledRejection":"Error",value:un(e,{isUnhandledRejection:r})}]},extra:a};if(n){const e=en(t,n);e.length&&(c.exception.values[0].stacktrace={frames:e})}return c}function tn(t,e){return{exception:{values:[Qe(t,e)]}}}function en(t,e){const n=e.stacktrace||e.stack||"",r=function(t){if(t&&nn.test(t.message))return 1;return 0}(e),s=function(t){if("number"==typeof t.framesToPop)return t.framesToPop;return 0}(e);try{return t(n,r,s)}catch(t){}return[]}const nn=/Minified React error #\d+;/i;function rn(t){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&t instanceof WebAssembly.Exception}function sn(t){const e=t&&t.name;if(!e&&rn(t)){return t.message&&Array.isArray(t.message)&&2==t.message.length?t.message[0]:"WebAssembly.Exception"}return e}function on(t){const e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:rn(t)&&Array.isArray(t.message)&&2==t.message.length?t.message[1]:e:"No error message"}function an(t,e,n,r,s){let o;if(P(e)&&e.error){return tn(t,e.error)}if(j(e)||O(e,"DOMException")){const s=e;if("stack"in e)o=tn(t,e);else{const e=s.name||(j(s)?"DOMError":"DOMException"),i=s.message?`${e}: ${s.message}`:e;o=cn(t,i,n,r),nt(o,i)}return"code"in s&&(o.tags=l(l({},o.tags),{},{"DOMException.code":`${s.code}`})),o}if(k(e))return tn(t,e);if($(e)||N(e)){return o=Ze(t,e,n,s),rt(o,{synthetic:!0}),o}return o=cn(t,e,n,r),nt(o,`${e}`),rt(o,{synthetic:!0}),o}function cn(t,e,n,r){const s={};if(r&&n){const r=en(t,n);r.length&&(s.exception={values:[{value:e,stacktrace:{frames:r}}]}),rt(s,{synthetic:!0})}if(D(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 un(t,{isUnhandledRejection:e}){const n=function(t,e=40){const n=Object.keys(W(t));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=e)return q(r,e);for(let t=n.length;t>0;t--){const r=n.slice(0,t).join(", ");if(!(r.length>e))return t===n.length?r:q(r,e)}return""}(t),r=e?"promise rejection":"exception";if(P(t))return`Event \`ErrorEvent\` captured as ${r} with message \`${t.message}\``;if(N(t)){return`Event \`${function(t){try{const e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch(t){}}(t)}\` (type=${t.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}const ln=n;let pn,fn,dn,hn;function _n(){if(!ln.document)return;const t=m.bind(null,"dom"),e=gn(t,!0);ln.document.addEventListener("click",e,!1),ln.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach(e=>{const n=ln[e],r=n&&n.prototype;r&&r.hasOwnProperty&&r.hasOwnProperty("addEventListener")&&(J(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=gn(t);o.handler=r,e.call(this,n,r,s)}o.refCount++}catch(t){}return e.call(this,n,r,s)}}),J(r,"removeEventListener",function(t){return function(e,n,r){if("click"===e||"keypress"==e)try{const n=this.__sentry_instrumentation_handlers__||{},s=n[e];s&&(s.refCount--,s.refCount<=0&&(t.call(this,e,s.handler,r),s.handler=void 0,delete n[e]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch(t){}return t.call(this,e,n,r)}}))})}function gn(t,e=!1){return n=>{if(!n||n._sentryCaptured)return;const r=function(t){try{return t.target}catch(t){return null}}(n);if(function(t,e){return"keypress"===t&&(!e||!e.tagName||"INPUT"!==e.tagName&&"TEXTAREA"!==e.tagName&&!e.isContentEditable)}(n.type,r))return;B(n,"_sentryCaptured",!0),r&&!r._sentryId&&B(r,"_sentryId",Z());const s="keypress"===n.type?"input":n.type;if(!function(t){if(t.type!==fn)return!1;try{if(!t.target||t.target._sentryId!==dn)return!1}catch(t){}return!0}(n)){t({event:n,name:s,global:e}),fn=n.type,dn=r?r._sentryId:void 0}clearTimeout(pn),pn=ln.setTimeout(()=>{dn=void 0,fn=void 0},1e3)}}function mn(){if(!function(){const t=Ye.chrome,e=t&&t.app&&t.app.runtime,n="history"in Ye&&!!Ye.history.pushState&&!!Ye.history.replaceState;return!e&&n}())return;const t=ln.onpopstate;function e(t){return function(...e){const n=e.length>2?e[2]:void 0;if(n){const t=hn,e=String(n);hn=e;m("history",{from:t,to:e})}return t.apply(this,e)}}ln.onpopstate=function(...e){const n=ln.location.href,r=hn;hn=n;if(m("history",{from:r,to:n}),t)try{return t.apply(this,e)}catch(t){}},J(ln.history,"pushState",e),J(ln.history,"replaceState",e)}const yn={};function vn(t){yn[t]=void 0}const bn="__sentry_xhr_v3__";function En(){if(!ln.XMLHttpRequest)return;const t=XMLHttpRequest.prototype;t.open=new Proxy(t.open,{apply(t,e,n){const r=new Error,s=1e3*Q(),o=T(n[0])?n[0].toUpperCase():void 0,i=function(t){if(T(t))return t;try{return t.toString()}catch(t){}return}(n[1]);if(!o||!i)return t.apply(e,n);e[bn]={method:o,url:i,request_headers:{}},"POST"===o&&i.match(/sentry_key/)&&(e.__sentry_own_request__=!0);const a=()=>{const t=e[bn];if(t&&4===e.readyState){try{t.status_code=e.status}catch(t){}m("xhr",{endTimestamp:1e3*Q(),startTimestamp:s,xhr:e,virtualError:r})}};return"onreadystatechange"in e&&"function"==typeof e.onreadystatechange?e.onreadystatechange=new Proxy(e.onreadystatechange,{apply:(t,e,n)=>(a(),t.apply(e,n))}):e.addEventListener("readystatechange",a),e.setRequestHeader=new Proxy(e.setRequestHeader,{apply(t,e,n){const[r,s]=n,o=e[bn];return o&&T(r)&&T(s)&&(o.request_headers[r.toLowerCase()]=s),t.apply(e,n)}}),t.apply(e,n)}}),t.send=new Proxy(t.send,{apply(t,e,n){const r=e[bn];if(!r)return t.apply(e,n);void 0!==n[0]&&(r.body=n[0]);return m("xhr",{startTimestamp:1e3*Q(),xhr:e}),t.apply(e,n)}})}const xn=1024,Sn=(t={})=>{const e=l({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},t);return{name:"Breadcrumbs",setup(t){var n;e.console&&function(t){const e="console";_(e,t),g(e,Me)}(function(t){return function(e){if(Ot()!==t)return;const n={category:"console",data:{arguments:e.args,logger:"console"},level:Le(e.level),message:F(e.args," ")};if("assert"===e.level){if(!1!==e.args[0])return;n.message=`Assertion failed: ${F(e.args.slice(1)," ")||"console.assert"}`,n.data.arguments=e.args.slice(1)}Te(n,{input:e.args,level:e.level})}}(t)),e.dom&&(n=function(t,e){return function(n){if(Ot()!==t)return;let r,s,o="object"==typeof e?e.serializeAttribute:void 0,i="object"==typeof e&&"number"==typeof e.maxStringLength?e.maxStringLength:void 0;i&&i>xn&&(i=xn),"string"==typeof o&&(o=[o]);try{const t=n.event,e=function(t){return!!t&&!!t.target}(t)?t.target:t;r=L(e,{keyAttrs:o,maxStringLength:i}),s=function(t){if(!M.HTMLElement)return null;let e=t;for(let t=0;t<5;t++){if(!e)return null;if(e instanceof HTMLElement){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}e=e.parentNode}return null}(e)}catch(t){r="<unknown>"}if(0===r.length)return;const a={category:`ui.${n.name}`,message:r};s&&(a.data={"ui.component_name":s}),Te(a,{event:n.event,name:n.name,global:n.global})}}(t,e.dom),_("dom",n),g("dom",_n)),e.xhr&&function(t){_("xhr",t),g("xhr",En)}(function(t){return function(e){if(Ot()!==t)return;const{startTimestamp:n,endTimestamp:r}=e,s=e.xhr[bn];if(!n||!r||!s)return;const{method:o,url:i,status_code:a,body:c}=s,u={method:o,url:i,status_code:a},l={xhr:e.xhr,input:c,startTimestamp:n,endTimestamp:r};Te({category:"xhr",data:u,type:"http",level:He(a)},l)}}(t)),e.fetch&&Ve(function(t){return function(e){if(Ot()!==t)return;const{startTimestamp:n,endTimestamp:r}=e;if(r&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error){Te({category:"fetch",data:e.fetchData,level:"error",type:"http"},{data:e.error,input:e.args,startTimestamp:n,endTimestamp:r})}else{const t=e.response,s=l(l({},e.fetchData),{},{status_code:t&&t.status}),o={input:e.args,response:t,startTimestamp:n,endTimestamp:r};Te({category:"fetch",data:s,type:"http",level:He(s.status_code)},o)}}}(t)),e.history&&function(t){const e="history";_(e,t),g(e,mn)}(function(t){return function(e){if(Ot()!==t)return;let n=e.from,r=e.to;const s=Ae(Xe.location.href);let o=n?Ae(n):void 0;const i=Ae(r);o&&o.path||(o=s),s.protocol===i.protocol&&s.host===i.host&&(r=i.relative),s.protocol===o.protocol&&s.host===o.host&&(n=o.relative),Te({category:"navigation",data:{from:n,to:r}})}}(t)),e.sentry&&t.on("beforeSendEvent",function(t){return function(e){Ot()===t&&Te({category:"sentry."+("transaction"===e.type?"transaction":"event"),event_id:e.event_id,level:e.level,message:et(e)},{event:e})}}(t))}}};const wn=(t={})=>{const e=l({onerror:!0,onunhandledrejection:!0},t);return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(t){e.onerror&&function(t){!function(t){const e="error";_(e,t),g(e,v)}(e=>{const{stackParser:n,attachStacktrace:r}=kn();if(Ot()!==t)return;const{msg:s,url:o,line:i,column:a,error:c}=e,u=function(t,e,n,r){const s=t.exception=t.exception||{},o=s.values=s.values||[],i=o[0]=o[0]||{},a=i.stacktrace=i.stacktrace||{},c=a.frames=a.frames||[],u=r,l=n,p=T(e)&&e.length>0?e:function(){try{return M.document.location.href}catch(t){return""}}();0===c.length&&c.push({colno:u,filename:p,function:"?",in_app:!0,lineno:l});return t}(an(n,c||s,void 0,r,!1),o,i,a);u.level="error",he(u,{originalException:c,mechanism:{handled:!1,type:"onerror"}})})}(t),e.onunhandledrejection&&function(t){!function(t){const e="unhandledrejection";_(e,t),g(e,E)}(e=>{const{stackParser:n,attachStacktrace:r}=kn();if(Ot()!==t)return;const s=function(t){if(C(t))return t;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch(t){}return t}(e),o=C(s)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(s)}`}]}}:an(n,s,void 0,r,!0);o.level="error",he(o,{originalException:s,mechanism:{handled:!1,type:"onunhandledrejection"}})})}(t)}}};function kn(){const t=Ot();return t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const On=()=>({name:"HttpContext",preprocessEvent(t){if(!Xe.navigator&&!Xe.location&&!Xe.document)return;const e=t.request&&t.request.url||Xe.location&&Xe.location.href,{referrer:n}=Xe.document||{},{userAgent:r}=Xe.navigator||{},s=l(l(l({},t.request&&t.request.headers),n&&{Referer:n}),r&&{"User-Agent":r}),o=l(l(l({},t.request),e&&{url:e}),{},{headers:s});t.request=o}}),Pn="undefined"!=typeof document&&"undefined"!=typeof window&&window.top.cordova&&window.top.cordova.platformId,jn=window.isDevEv||window.JSTESTING,Tn=t("RavenURL",jn?"https://65d65a6c23ab46e49d5d75247f98a782@sentry.io/44142":"https://8843f791501144e0b0dd4e8bd560d758@sentry.io/44141"),Dn=Oe;const Cn=new class extends Ee{constructor(t){const n=l({parentSpanIsAlwaysRootSpan:!0},t);!function(t,n,r=[n],s="npm"){const o=t._metadata||{};o.sdk||(o.sdk={name:`sentry.javascript.${n}`,packages:r.map(t=>({name:`${s}:@sentry/${t}`,version:e})),version:e}),t._metadata=o}(n,"browser",["browser"],Xe.SENTRY_SDK_SOURCE||"npm"),super(n),n.sendClientReports&&Xe.document&&Xe.document.addEventListener("visibilitychange",()=>{"hidden"===Xe.document.visibilityState&&this._flushOutcomes()})}eventFromException(t,e){return function(t,e,n,r){const s=an(t,e,n&&n.syntheticException||void 0,r);return rt(s),s.level="error",n&&n.event_id&&(s.event_id=n.event_id),it(s)}(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t,e="info",n){return function(t,e,n="info",r,s){const o=cn(t,e,r&&r.syntheticException||void 0,s);return o.level=n,r&&r.event_id&&(o.event_id=r.event_id),it(o)}(this._options.stackParser,t,e,n,this._options.attachStacktrace)}captureUserFeedback(t){if(!this._isEnabled())return;const e=function(t,{metadata:e,tunnel:n,dsn:r}){const s=l(l({event_id:t.event_id,sent_at:(new Date).toISOString()},e&&e.sdk&&{sdk:{name:e.sdk.name,version:e.sdk.version}}),!!n&&!!r&&{dsn:Jt(r)}),o=function(t){return[{type:"user_report"},t]}(t);return Yt(s,[o])}(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(e)}_prepareEvent(t,e,n){return t.platform=t.platform||"javascript",super._prepareEvent(t,e,n)}}({dsn:Tn,environment:jn?"development":"production",release:"19.2.6",maxBreadcrumbs:20,ignoreErrors:["/redirect/redirectslider.aspx","<anonymous> in zteMove","Cannot read property '_avast_submit' of undefined","Cannot read property 'end' of undefined","Cannot read property 'move' of undefined","/maps-api-v3/api/js/31/0/common.js",/gc\.kis\.v2\.scr\.kaspersky\-labs\.com/,"js/static.js",/chrome-extension:\/\//,/webkitExitFullScreen/,"Extension context invalidated",/ResizeObserver/,"a.LegacyGlobal.LP_explicit_ignored is not a function","macroTask 'requestAnimationFrame'"],beforeSend:(t,e)=>{if(window.isLocalEv||window.JSTESTING)return null;t.logger=(Pn?"native-":"web-")+"ng2-js";try{if(t.extra.__serialized__&&e){let n=e.originalException;if(n instanceof Event&&(t.extra.__type__=n.type,t.extra.__source__=(n.target||"").toString(),"unhandledrejection"==t.extra.__serialized__.type&&t.extra.__serialized__.reason&&t.extra.__serialized__.reason.message&&t.extra.__serialized__.reason.message.indexOf("Extension")>-1))return null}if(e&&e.originalException&&e.originalException.message&&e.originalException.message.indexOf("The object can not be found")>-1&&window.location.pathname.indexOf("/edu/")>-1)return null}catch(t){}return navigator.userAgent.indexOf("BrandVerity")>-1?null:t},beforeBreadcrumb:t=>"console"==t.category?null:t,integrations:[Ue(),$e(),Ie(),Sn(),wn(),On()],transport:Pn?function(t){return Dn(t,function(e){const n=Object.assign({body:e.body,method:"POST",referrerPolicy:"origin",headers:t.headers||{}},t.fetchOptions),r=window.top.sslHTTP;let s;if("string"==typeof n.body){n.headers["Content-Type"]="application/json";try{s=JSON.parse(n.body)}catch(t){n.headers["Content-Type"]="text/plain",s=n.body}}else s=n.body;return new Promise((e,o)=>{const i={url:t.url,headers:n.headers,data:s};r.post(i,t=>{console.log("response",t),e({statusCode:t.status,headers:{"x-sentry-rate-limits":t.headers["X-Sentry-Rate-Limits"],"retry-after":t.headers["Retry-After"]}})},t=>{console.log("error",t),o({statusCode:t.status,headers:{"x-sentry-rate-limits":t.headers&&t.headers["X-Sentry-Rate-Limits"],"retry-after":t.headers&&t.headers["Retry-After"]}})})})})}:function(t,e=function(t){const e=yn[t];if(e)return e;let n=ln[t];if(Be(n))return yn[t]=n.bind(ln);const r=ln.document;if(r&&"function"==typeof r.createElement)try{const e=r.createElement("iframe");e.hidden=!0,r.head.appendChild(e);const s=e.contentWindow;s&&s[t]&&(n=s[t]),r.head.removeChild(e)}catch(t){}return n?yn[t]=n.bind(ln):n}("fetch")){let n=0,r=0;return Oe(t,function(s){const o=s.body.length;n+=o,r++;const i=l({body:s.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:n<=6e4&&r<15},t.fetchOptions);if(!e)return vn("fetch"),at("No fetch implementation available");try{return e(t.url,i).then(t=>(n-=o,r--,{statusCode:t.status,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")}}))}catch(t){return vn("fetch"),n-=o,r--,at(t)}})}});wt().setClient(Cn),Cn.init(),Cn.setTag=_e,Cn.withScope=function(...t){const e=St(x());if(2===t.length){const[n,r]=t;return n?e.withSetScope(n,r):e.withScope(r)}return e.withScope(t[0])},Cn.setUser=function(t){kt().setUser(t)},_e("Application","WH-FE-NG2"),_e("Color",window.SRV_COLOR||"Default");t("Raven",Cn)}}});