PageSourceSearch

https://myedit.online/assets/esm-CcNHeEn_.js

js myedit.online collected 2026-09-25 19:04:03 UTC 76,340 bytes, 2 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`MyEdit-5.8.2-09161913-GM`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`179374f8-afbb-4d31-9642-bb62f8294805`,e._sentryDebugIdIdentifier=`sentry-dbid-179374f8-afbb-4d31-9642-bb62f8294805`)}catch{}})();import{o as e,r as t}from"./rolldown-runtime-B9jua6NV.js";import{t as n}from"./react-Bt16ZqnJ.js";var r=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,i=globalThis,a=`10.32.1`;function o(){return s(i),i}function s(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||`10.32.1`,t[a]=t[`10.32.1`]||{}}function c(e,t,n=i){let r=n.__SENTRY__=n.__SENTRY__||{},o=r[a]=r[`10.32.1`]||{};return o[e]||(o[e]=t())}var l=[`debug`,`info`,`warn`,`error`,`log`,`assert`,`trace`],u=`Sentry Logger `,d={};function f(e){if(!(`console`in i))return e();let t=i.console,n={},r=Object.keys(d);r.forEach(e=>{let r=d[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}function p(){oe().enabled=!0}function ee(){oe().enabled=!1}function te(){return oe().enabled}function ne(...e){ae(`log`,...e)}function re(...e){ae(`warn`,...e)}function ie(...e){ae(`error`,...e)}function ae(e,...t){r&&te()&&f(()=>{i.console[e](`${u}[${e}]:`,...t)})}function oe(){return r?c(`loggerSettings`,()=>({enabled:!1})):{enabled:!1}}var m={enable:p,disable:ee,isEnabled:te,log:ne,warn:re,error:ie},se=50,ce=/\(error: (.*)\)/,le=/captureMessage|captureException/;function ue(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,r=0)=>{let i=[],a=e.split(`
2`);for(let e=n;e<a.length;e++){let n=a[e];n.length>1024&&(n=n.slice(0,1024));let o=ce.test(n)?n.replace(ce,`$1`):n;if(!o.match(/\S*Error: /)){for(let e of t){let t=e(o);if(t){i.push(t);break}}if(i.length>=se+r)break}}return fe(i.slice(r))}}function de(e){return Array.isArray(e)?ue(...e):e}function fe(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(h(t).function||``)&&t.pop(),t.reverse(),le.test(h(t).function||``)&&(t.pop(),le.test(h(t).function||``)&&t.pop()),t.slice(0,se).map(e=>({...e,filename:e.filename||h(t).filename,function:e.function||`?`}))}function h(e){return e[e.length-1]||{}}var pe=`<anonymous>`;function g(e){try{return!e||typeof e!=`function`?pe:e.name||pe}catch{return pe}}function me(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{return}}}function he(e){return`__v_isVNode`in e&&e.__v_isVNode?`[VueVNode]`:`[VueViewModel]`}var ge={},_e={};function _(e,t){ge[e]=ge[e]||[],ge[e].push(t)}function v(e,t){if(!_e[e]){_e[e]=!0;try{t()}catch(t){r&&m.error(`Error while instrumenting ${e}`,t)}}}function y(e,t){let n=e&&ge[e];if(n)for(let i of n)try{i(t)}catch(t){r&&m.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${g(i)}\nError:`,t)}}var ve=null;function ye(e){let t=`error`;_(t,e),v(t,be)}function be(){ve=i.onerror,i.onerror=function(e,t,n,r,i){return y(`error`,{column:r,error:i,line:n,msg:e,url:t}),ve?ve.apply(this,arguments):!1},i.onerror.__SENTRY_INSTRUMENTED__=!0}var xe=null;function Se(e){let t=`unhandledrejection`;_(t,e),v(t,Ce)}function Ce(){xe=i.onunhandledrejection,i.onunhandledrejection=function(e){return y(`unhandledrejection`,e),!xe||xe.apply(this,arguments)},i.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}var we=Object.prototype.toString;function Te(e){switch(we.call(e)){case`[object Error]`:case`[object Exception]`:case`[object DOMException]`:case`[object WebAssembly.Exception]`:return!0;default:return w(e,Error)}}function b(e,t){return we.call(e)===`[object ${t}]`}function Ee(e){return b(e,`ErrorEvent`)}function De(e){return b(e,`DOMError`)}function Oe(e){return b(e,`DOMException`)}function x(e){return b(e,`String`)}function ke(e){return typeof e==`object`&&!!e&&`__sentry_template_string__`in e&&`__sentry_template_values__`in e}function Ae(e){return e===null||ke(e)||typeof e!=`object`&&typeof e!=`function`}function S(e){return b(e,`Object`)}function je(e){return typeof Event<`u`&&w(e,Event)}function Me(e){return typeof Element<`u`&&w(e,Element)}function Ne(e){return b(e,`RegExp`)}function C(e){return!!(e?.then&&typeof e.then==`function`)}function Pe(e){return S(e)&&`nativeEvent`in e&&`preventDefault`in e&&`stopPropagation`in e}function w(e,t){try{return e instanceof t}catch{return!1}}function Fe(e){return!!(typeof e==`object`&&e&&(e.__isVue||e._isVue||e.__v_isVNode))}function Ie(e){return typeof Request<`u`&&w(e,Request)}var Le=i,Re=80;
2function ze(e,t={}){if(!e)return`<unknown>`;try{let n=e,r=[],i=0,a=0,o,s=Array.isArray(t)?t:t.keyAttrs,c=!Array.isArray(t)&&t.maxStringLength||Re;for(;n&&i++<5&&(o=Be(n,s),!(o===`html`||i>1&&a+r.length*3+o.length>=c));)r.push(o),a+=o.length,n=n.parentNode;return r.reverse().join(` > `)}catch{return`<unknown>`}}function Be(e,t){let n=e,r=[];if(!n?.tagName)return``;if(Le.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());let i=t?.length?t.filter(e=>n.getAttribute(e)).map(e=>[e,n.getAttribute(e)]):null;if(i?.length)i.forEach(e=>{r.push(`[${e[0]}="${e[1]}"]`)});else{n.id&&r.push(`#${n.id}`);let e=n.className;if(e&&x(e)){let t=e.split(/\s+/);for(let e of t)r.push(`.${e}`)}}for(let e of[`aria-label`,`type`,`name`,`title`,`alt`]){let t=n.getAttribute(e);t&&r.push(`[${e}="${t}"]`)}return r.join(``)}function Ve(){try{return Le.document.location.href}catch{return``}}function He(e){if(!Le.HTMLElement)return null;let t=e;for(let e=0;e<5;e++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}function T(e,t,n){if(!(t in e))return;let i=e[t];if(typeof i!=`function`)return;let a=n(i);typeof a==`function`&&Ue(a,i);try{e[t]=a}catch{r&&m.log(`Failed to replace method "${t}" in object`,e)}}function E(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{r&&m.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function Ue(e,t){try{e.prototype=t.prototype=t.prototype||{},E(e,`__sentry_original__`,t)}catch{}}function We(e){return e.__sentry_original__}function Ge(e){if(Te(e))return{message:e.message,name:e.name,stack:e.stack,...qe(e)};if(je(e)){let t={type:e.type,target:Ke(e.target),currentTarget:Ke(e.currentTarget),...qe(e)};return typeof CustomEvent<`u`&&w(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function Ke(e){try{return Me(e)?ze(e):Object.prototype.toString.call(e)}catch{return`<unknown>`}}function qe(e){if(typeof e==`object`&&e){let t={};for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function Je(e){let t=Object.keys(Ge(e));return t.sort(),t[0]?t.join(`, `):`[object has no keys]`}function Ye(e,t=0){return typeof e!=`string`||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function Xe(e,t){if(!Array.isArray(e))return``;let n=[];for(let t=0;t<e.length;t++){let r=e[t];try{Fe(r)?n.push(he(r)):n.push(String(r))}catch{n.push(`[value cannot be serialized]`)}}return n.join(t)}function Ze(e,t,n=!1){return x(e)?Ne(t)?t.test(e):x(t)?n?e===t:e.includes(t):!1:!1}function Qe(e,t=[],n=!1){return t.some(t=>Ze(e,t,n))}function $e(){let e=i;return e.crypto||e.msCrypto}var et;function tt(){return Math.random()*16}function D(e=$e()){try{if(e?.randomUUID)return e.randomUUID().replace(/-/g,``)}catch{}return et||=`10000000100040008000100000000000`,et.replace(/[018]/g,e=>(e^(tt()&15)>>e/4).toString(16))}function nt(e){return e.exception?.values?.[0]}function O(e){let{message:t,event_id:n}=e;if(t)return t;let r=nt(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||`<unknown>`:n||`<unknown>`}function rt(e,t,n){let r=e.exception=e.exception||{},i=r.values=r.values||[],a=i[0]=i[0]||{};a.value||=t||``,a.type||=n||`Error`}function k(e,t){let n=nt(e);if(!n)return;let r={type:`generic`,handled:!0},i=n.mechanism;if(n.mechanism={...r,...i,...t},t&&`data`in t){let e={...i?.data,...t.data};n.mechanism.data=e}}function it(e){if(at(e))return!0;try{E(e,`__sentry_captured__`,!0)}catch{}return!1}function at(e){try{return e.__sentry_captured__}catch{}}var ot=1e3;function A(){return Date.now()/ot}function st(){let{performance:e}=i;if(!e?.now||!e.timeOrigin)return A;let t=e.timeOrigin;return()=>(t+e.now())/ot}var ct;function j(){return(ct??=st())()}function lt(e){let t=j(),n={sid:D(),init:!0,timestamp:t,started:t,duration:0,status:`ok`,errors:0,ignoreDuration:!1,toJSON:()=>dt(n)};return e&&M(n,e),n}function M(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||j(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:D()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started==`number`&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration==`number`)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),t
2ypeof t.errors==`number`&&(e.errors=t.errors),t.status&&(e.status=t.status)}function ut(e,t){let n={};t?n={status:t}:e.status===`ok`&&(n={status:`exited`}),M(e,n)}function dt(e){return{sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did==`number`||typeof e.did==`string`?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}function N(e,t,n=2){if(!t||typeof t!=`object`||n<=0)return t;if(e&&Object.keys(t).length===0)return e;let r={...e};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=N(r[e],t[e],n-1));return r}function ft(){return D()}function pt(){return D().substring(16)}var mt=`_sentrySpan`;function ht(e,t){t?E(e,mt,t):delete e[mt]}function gt(e){return e[mt]}var _t=100,P=class e{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:ft(),sampleRand:Math.random()}}clone(){let t=new e;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,ht(t,gt(this)),t}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&M(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,t){return this.setAttributes({[e]:t})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return t===null?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;let n=typeof t==`function`?t(this):t,{tags:r,attributes:i,extra:a,user:o,contexts:s,level:c,fingerprint:l=[],propagationContext:u}=(n instanceof e?n.getScopeData():S(n)?t:void 0)||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...i},this._extra={...this._extra,...a},this._contexts={...this._contexts,...s},o&&Object.keys(o).length&&(this._user=o),c&&(this._level=c),l.length&&(this._fingerprint=l),u&&(this._propagationContext=u),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,ht(this,void 0),this._attachments=[],this.setPropagationContext({traceId:ft(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let n=typeof t==`number`?t:_t;if(n<=0)return this;let r={timestamp:A(),...e,message:e.message?Ye(e.message,2048):e.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(e){return this._attachments.push(e),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:gt(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=N(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let n=t?.event_id||D();if(!this._client)return r&&m.warn(`No client configured on scope - will not capture exception!`),n;let i=Error(`Sentry syntheticException`);return this._client.captureException(e,{originalException:e,syntheticException:i,...t,event_id:n},this),n}captureMessage(e,t,n){let i=n?.event_id||D();if(!this._client)return r&&m.warn(`No client configured on scope - will not capture message!`),i;let a=n?.syntheticException??Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:a,...n,event_id:i},this),i}captureEvent(e,t){let n=t?.event_id||D();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(r&&m.warn(`No client configured on scope - will not capture event!`),n)}_notifyScopeListeners(){this._notifyingListeners||=(this._notifyingListeners=!0,this._scopeListeners.forEac
2h(e=>{e(this)}),!1)}};function vt(){return c(`defaultCurrentScope`,()=>new P)}function yt(){return c(`defaultIsolationScope`,()=>new P)}var bt=class{constructor(e,t){let n;n=e||new P;let r;r=t||new P,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){let t=this._pushScope(),n;try{n=e(t)}catch(e){throw this._popScope(),e}return C(n)?n.then(e=>(this._popScope(),e),e=>{throw this._popScope(),e}):(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(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}};function F(){let e=s(o());return e.stack=e.stack||new bt(vt(),yt())}function xt(e){return F().withScope(e)}function St(e,t){let n=F();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function Ct(e){return F().withScope(()=>e(F().getIsolationScope()))}function wt(){return{withIsolationScope:Ct,withScope:xt,withSetScope:St,withSetIsolationScope:(e,t)=>Ct(t),getCurrentScope:()=>F().getScope(),getIsolationScope:()=>F().getIsolationScope()}}function Tt(e){let t=s(e);return t.acs?t.acs:wt()}function I(){return Tt(o()).getCurrentScope()}function L(){return Tt(o()).getIsolationScope()}function Et(){return c(`globalScope`,()=>new P)}function Dt(...e){let t=Tt(o());if(e.length===2){let[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}return t.withScope(e[0])}function R(){return I().getClient()}function Ot(e){let{traceId:t,parentSpanId:n,propagationSpanId:r}=e.getPropagationContext(),i={trace_id:t,span_id:r||pt()};return n&&(i.parent_span_id=n),i}var kt=`sentry.source`,At=`sentry.sample_rate`,jt=`sentry.op`,Mt=`sentry.origin`,Nt=`sentry.profile_id`,Pt=`sentry.exclusive_time`,Ft=`_sentryScope`,It=`_sentryIsolationScope`;function Lt(e){if(e){if(typeof e==`object`&&`deref`in e&&typeof e.deref==`function`)try{return e.deref()}catch{return}return e}}function Rt(e){let t=e;return{scope:t[Ft],isolationScope:Lt(t[It])}}var zt=/^sentry-/;function Bt(e){let t=Vt(e);if(!t)return;let n=Object.entries(t).reduce((e,[t,n])=>{if(t.match(zt)){let r=t.slice(7);e[r]=n}return e},{});if(Object.keys(n).length>0)return n}function Vt(e){if(!(!e||!x(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>{let n=Ht(t);return Object.entries(n).forEach(([t,n])=>{e[t]=n}),e},{}):Ht(e)}function Ht(e){return e.split(`,`).map(e=>{let t=e.indexOf(`=`);return t===-1?[]:[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})}).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}var Ut=/^o(\d+)\./,Wt=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Gt(e){return e===`http`||e===`https`}function z(e,t=!1){let{host:n,path:r,pass:i,port:a,projectId:o,protocol:s,publicKey:c}=e;return`${s}://${c}${t&&i?`:${i}`:``}@${n}${a?`:${a}`:``}/${r&&`${r}/`}${o}`}function Kt(e){let t=Wt.exec(e);if(!t){f(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[n,r,i=``,a=``,o=``,s=``]=t.slice(1),c=``,l=s,u=l.split(`/`);if(u.length>1&&(c=u.slice(0,-1).join(`/`),l=u.pop()),l){let e=l.match(/^\d+/);e&&(l=e[0])}return qt({host:a,pass:i,path:c,projectId:l,port:o,protocol:n,publicKey:r})}function qt(e){return{protocol:e.protocol,publicKey:e.publicKey||``,pass:e.pass||``,host:e.host,port:e.port||``,path:e.path||``,projectId:e.projectId}}function Jt(e){if(!r)return!0;let{port:t,projectId:n,protocol:i}=e;return[`protocol`,`publicKey`,`host`,`projectId`].find(t=>e[t]?!1:(m.error(`Invalid Sentry Dsn: ${t} missing`),!0))?!1:n.match(/^\d+$/)?Gt(i)?t&&isNaN(parseInt(t,10))?(m.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(m.error(`Invalid Sentry Dsn: Invalid protocol ${i}`),!1):(m.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function Yt(e){return e.match(Ut)?.[1]}function Xt(e){let t=e.getOptions(),{host:n}=e.getDsn()||{},r;return t.orgId?r=String(t.orgId):n&&(r=Yt(n)),r}function Zt(e){let t=typeof e==`string`?Kt(e):qt(e);if(!(!t||!Jt(t)))return t}function Qt(e){if(typeof e==`boolean`)return Number(e);let t=typeof e==`string`?parseFloat(e):e;if(!(typeof t!=`number`||isNaN(t)||t<0||t>1))return t}var $t=!1;function en(e){let{spanId:t,traceId:n,isRemote:r}=e.spanContext(),i=r?t:an(e).parent_span_id,a=Rt(e).scope;return{parent_span_id:i,span_id:r?a?.getPropagationContext().propagationSpanId||pt():t,trace_id:n}}function tn(e){if(e&&e.length>0)return e.map(({context:{spanId:e,traceId:t,traceFlags:n,...r},attributes:i})=>({span_id:e,trace_id:t,sampled:n===1,attributes:i,...r}))}function nn(e){return typeof e==`number`?rn(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?rn(e.getTime()):j()}function rn(e){return e>9999999999?e/1e3:e}function an(e){if(sn(e))return e.getSpanJSON();let{spanId:t,traceId:n}=e.spanContext();if(on(e)){let{attributes:r,startTime:i,name:a,endTime:o,status:s,links:c}=e;return{span_id:t,trace_id:n,data:r,description:a,parent_span_id:`parentSpanId`in e?e.parentSpanId:`parentSpanContext`in e?e.parentSpanContext?.spanId:void 0,start_timestamp:nn(i),timestamp:nn(o)||void 0,status:ln(s),op:r[jt],origin:r[Mt],links:tn(c)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function on(e){let t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function sn(e){return typeof e.getSpanJSON==`function`}function cn(e){let{traceFlags:t}=e.spanContext();return t===1}function ln(e){if(!(!e||e.code===0))return e.code===1?`ok`:e.message||`internal_error`}var un=`_sentryRootSpan`;function dn(e){return e[un]||e}function fn(){$t||=(f(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),!0)}function pn(e){if(typeof __SENTRY_TRACING__==`boolean`&&!__SENTRY_TRACING__)return!1;let t=e||R()?.getOptions();return!!t&&(t.tracesSampleRate!=null||!!t.tracesSampler)}function mn(e){m.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function hn(e,t){if(!t?.length||!e.description)return!1;for(let n of t){if(_n(n)){if(Ze(e.description,n))return r&&mn(e),!0;continue}if(!n.name&&!n.op)continue;let t=!n.name||Ze(e.description,n.name),i=!n.op||e.op&&Ze(e.op,n.op);if(t&&i)return r&&mn(e),!0}return!1}function gn(e,t){let n=t.parent_span_id,r=t.span_id;if(n)for(let t of e)t.parent_span_id===r&&(t.parent_span_id=n)}function _n(e){return typeof e==`string`||e instanceof RegExp}var vn=`production`,yn=`_frozenDsc`;function bn(e,t){let n=t.getOptions(),{publicKey:r}=t.getDsn()||{},i={environment:n.environment||`production`,release:n.release,public_key:r,trace_id:e,org_id:Xt(t)};return t.emit(`createDsc`,i),i}function xn(e,t){let n=t.getPropagationContext();return n.dsc||bn(n.traceId,e)}function Sn(e){let t=R();if(!t)return{};let n=dn(e),r=an(n),i=r.data,a=n.spanContext().traceState,o=a?.get(`sentry.sample_rate`)??i[`sentry.sample_rate`]??i[`sentry.previous_trace_sample_rate`];function s(e){return(typeof o==`number`||typeof o==`string`)&&(e.sample_rate=`${o}`),e}let c=n[yn];if(c)return s(c);let l=a?.get(`sentry.dsc`),u=l&&Bt(l);if(u)return s(u);let d=bn(e.spanContext().traceId,t),f=i[kt],p=r.description;return f!==`url`&&p&&(d.transaction=p),pn()&&(d.sampled=String(cn(n)),d.sample_rand=a?.get(`sentry.sample_rand`)??Rt(n).scope?.getPropagationContext().sampleRand.toString()),s(d),t.emit(`createDsc`,d,n),d}function B(e,t=100,n=1/0){try{return wn(``,e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function Cn(e,t=3,n=100*1024){let r=B(e,t);return On(r)>n?Cn(e,t-1,n):r}function wn(e,t,n=1/0,r=1/0,i=kn()){let[a,o]=i;
2if(t==null||[`boolean`,`string`].includes(typeof t)||typeof t==`number`&&Number.isFinite(t))return t;let s=Tn(e,t);if(!s.startsWith(`[object `))return s;if(t.__sentry_skip_normalization__)return t;let c=typeof t.__sentry_override_normalization_depth__==`number`?t.__sentry_override_normalization_depth__:n;if(c===0)return s.replace(`object `,``);if(a(t))return`[Circular ~]`;let l=t;if(l&&typeof l.toJSON==`function`)try{return wn(``,l.toJSON(),c-1,r,i)}catch{}let u=Array.isArray(t)?[]:{},d=0,f=Ge(t);for(let e in f){if(!Object.prototype.hasOwnProperty.call(f,e))continue;if(d>=r){u[e]=`[MaxProperties ~]`;break}let t=f[e];u[e]=wn(e,t,c-1,r,i),d++}return o(t),u}function Tn(e,t){try{if(e===`domain`&&t&&typeof t==`object`&&t._events)return`[Domain]`;if(e===`domainEmitter`)return`[DomainEmitter]`;if(typeof global<`u`&&t===global)return`[Global]`;if(typeof window<`u`&&t===window)return`[Window]`;if(typeof document<`u`&&t===document)return`[Document]`;if(Fe(t))return he(t);if(Pe(t))return`[SyntheticEvent]`;if(typeof t==`number`&&!Number.isFinite(t))return`[${t}]`;if(typeof t==`function`)return`[Function: ${g(t)}]`;if(typeof t==`symbol`)return`[${String(t)}]`;if(typeof t==`bigint`)return`[BigInt: ${String(t)}]`;let n=En(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(e){return`**non-serializable** (${e})`}}function En(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:`null prototype`}function Dn(e){return~-encodeURI(e).split(/%..|./).length}function On(e){return Dn(JSON.stringify(e))}function kn(){let e=new WeakSet;function t(t){return e.has(t)?!0:(e.add(t),!1)}function n(t){e.delete(t)}return[t,n]}function V(e,t=[]){return[e,t]}function An(e,t){let[n,r]=e;return[n,[...r,t]]}function jn(e,t){let n=e[1];for(let e of n){let n=e[0].type;if(t(e,n))return!0}return!1}function Mn(e){let t=s(i);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function Nn(e){let[t,n]=e,r=JSON.stringify(t);function i(e){typeof r==`string`?r=typeof e==`string`?r+e:[Mn(r),e]:r.push(typeof e==`string`?Mn(e):e)}for(let e of n){let[t,n]=e;if(i(`\n${JSON.stringify(t)}\n`),typeof n==`string`||n instanceof Uint8Array)i(n);else{let e;try{e=JSON.stringify(n)}catch{e=JSON.stringify(B(n))}i(e)}}return typeof r==`string`?r:Pn(r)}function Pn(e){let t=e.reduce((e,t)=>e+t.length,0),n=new Uint8Array(t),r=0;for(let t of e)n.set(t,r),r+=t.length;return n}function Fn(e){let t=typeof e.data==`string`?Mn(e.data):e.data;return[{type:`attachment`,length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}var In={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 Ln(e){return In[e]}function Rn(e){if(!e?.sdk)return;let{name:t,version:n}=e.sdk;return{name:t,version:n}}function zn(e,t,n,r){let i=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:z(r)},...i&&{trace:i}}}function Bn(e,t){if(!t)return e;let n=e.sdk||{};return e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0},e}function Vn(e,t,n,r){let i=Rn(n);return V({sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:z(t)}},[`aggregates`in e?[{type:`sessions`},e]:[{type:`session`},e.toJSON()]])}function Hn(e,t,n,r){let i=Rn(n),a=e.type&&e.type!==`replay_event`?e.type:`event`;Bn(e,n?.sdk);let o=zn(e,i,r,t);return delete e.sdkProcessingMetadata,V(o,[[{type:a},e]])}var Un=0,Wn=1,Gn=2;function Kn(e){return new Jn(t=>{t(e)})}function qn(e){return new Jn((t,n)=>{n(e)})}var Jn=class e{constructor(e){this._state=Un,this._handlers=[],this._runExecutor(e)}then(t,n){return new e((e,r)=>{this._handlers.push([!1,n=>
2{if(!t)e(n);else try{e(t(n))}catch(e){r(e)}},t=>{if(!n)r(t);else try{e(n(t))}catch(e){r(e)}}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(t){return new e((e,n)=>{let r,i;return this.then(e=>{i=!1,r=e,t&&t()},e=>{i=!0,r=e,t&&t()}).then(()=>{if(i){n(r);return}e(r)})})}_executeHandlers(){if(this._state===Un)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||=(this._state===Wn&&e[1](this._value),this._state===Gn&&e[2](this._value),!0)})}_runExecutor(e){let t=(e,t)=>{if(this._state===Un){if(C(t)){t.then(n,r);return}this._state=e,this._value=t,this._executeHandlers()}},n=e=>{t(Wn,e)},r=e=>{t(Gn,e)};try{e(n,r)}catch(e){r(e)}}};function Yn(e,t,n,r=0){try{let i=Xn(t,n,e,r);return C(i)?i:Kn(i)}catch(e){return qn(e)}}function Xn(e,t,n,i){let a=n[i];if(!e||!a)return e;let o=a({...e},t);return r&&o===null&&m.log(`Event processor "${a.id||`?`}" dropped event`),C(o)?o.then(e=>Xn(e,t,n,i+1)):Xn(o,t,n,i+1)}function Zn(e,t){let{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:a}=t;$n(e,t),r&&nr(e,r),rr(e,n),er(e,i),tr(e,a)}function Qn(e,t){let{extra:n,tags:r,attributes:i,user:a,contexts:o,level:s,sdkProcessingMetadata:c,breadcrumbs:l,fingerprint:u,eventProcessors:d,attachments:f,propagationContext:p,transactionName:ee,span:te}=t;H(e,`extra`,n),H(e,`tags`,r),H(e,`attributes`,i),H(e,`user`,a),H(e,`contexts`,o),e.sdkProcessingMetadata=N(e.sdkProcessingMetadata,c,2),s&&(e.level=s),ee&&(e.transactionName=ee),te&&(e.span=te),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),f.length&&(e.attachments=[...e.attachments,...f]),e.propagationContext={...e.propagationContext,...p}}function H(e,t,n){e[t]=N(e[t],n,1)}function $n(e,t){let{extra:n,tags:r,user:i,contexts:a,level:o,transactionName:s}=t;Object.keys(n).length&&(e.extra={...n,...e.extra}),Object.keys(r).length&&(e.tags={...r,...e.tags}),Object.keys(i).length&&(e.user={...i,...e.user}),Object.keys(a).length&&(e.contexts={...a,...e.contexts}),o&&(e.level=o),s&&e.type!==`transaction`&&(e.transaction=s)}function er(e,t){let n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function tr(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function nr(e,t){e.contexts={trace:en(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:Sn(t),...e.sdkProcessingMetadata};let n=an(dn(t)).description;n&&!e.transaction&&e.type===`transaction`&&(e.transaction=n)}function rr(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint.length||delete e.fingerprint}var U,ir,ar,W;function or(e){let t=i._sentryDebugIds,n=i._debugIds;if(!t&&!n)return{};let r=t?Object.keys(t):[],a=n?Object.keys(n):[];if(W&&r.length===ir&&a.length===ar)return W;ir=r.length,ar=a.length,W={},U||={};let o=(t,n)=>{for(let r of t){let t=n[r],i=U?.[r];if(i&&W&&t)W[i[0]]=t,U&&(U[r]=[i[0],t]);else if(t){let n=e(r);for(let e=n.length-1;e>=0;e--){let i=n[e]?.filename;if(i&&W&&U){W[i]=t,U[r]=[i,t];break}}}}};return t&&o(r,t),n&&o(a,n),W}function sr(e,t,n,r,i,a){let{normalizeDepth:o=3,normalizeMaxBreadth:s=1e3}=e,c={...t,event_id:t.event_id||n.event_id||D(),timestamp:t.timestamp||A()},l=n.integrations||e.integrations.map(e=>e.name);cr(c,e),dr(c,l),i&&i.emit(`applyFrameMetadata`,t),t.type===void 0&&lr(c,e.stackParser);let u=pr(r,n.captureContext);n.mechanism&&k(c,n.mechanism);let d=i?i.getEventProcessors():[],f=Et().getScopeData();a&&Qn(f,a.getScopeData()),u&&Qn(f,u.getScopeData());let p=[...n.attachments||[],...f.attachments];return p.length&&(n.attachments=p),Zn(c,f),Yn([...d,...f.eventProcessors],c,n).then(e=>(e&&ur(e),typeof o==`number`&&o>0?fr(e,o,s):e))}function cr(e,t){let{environment:n,release:r,dist:i,maxValueLength:a}=t;e.environment=e.environment||n||`production`,!e.release&&r&&(e.release=r),!e.dist&&i&&(e.dist=i);let o=e.request;o?.url&&a&&(o.url=Ye(o.url,a)),a&&e.exception?.values?.forEach(e=>{e.value&&=Ye(e.value,a)})}function lr(e,t){let n=or(t);
2e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=n[e.filename])})})}function ur(e){let t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let n=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{n.push({type:`sourcemap`,code_file:e,debug_id:t})})}function dr(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function fr(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:B(e.data,t,n)}}))},...e.user&&{user:B(e.user,t,n)},...e.contexts&&{contexts:B(e.contexts,t,n)},...e.extra&&{extra:B(e.extra,t,n)}};return e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=B(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:B(e.data,t,n)}}))),e.contexts?.flags&&r.contexts&&(r.contexts.flags=B(e.contexts.flags,3,n)),r}function pr(e,t){if(!t)return e;let n=e?e.clone():new P;return n.update(t),n}function mr(e){if(e)return hr(e)||_r(e)?{captureContext:e}:e}function hr(e){return e instanceof P||typeof e==`function`}var gr=[`user`,`level`,`extra`,`contexts`,`tags`,`fingerprint`,`propagationContext`];function _r(e){return Object.keys(e).some(e=>gr.includes(e))}function vr(e,t){return I().captureException(e,mr(t))}function yr(e,t){return I().captureEvent(e,t)}function br(e,t){L().setContext(e,t)}function xr(e,t){L().setTag(e,t)}function Sr(e){L().setUser(e)}function Cr(){return L().lastEventId()}function wr(e){let t=L(),n=I(),{userAgent:r}=i.navigator||{},a=lt({user:n.getUser()||t.getUser(),...r&&{userAgent:r},...e}),o=t.getSession();return o?.status===`ok`&&M(o,{status:`exited`}),Tr(),t.setSession(a),a}function Tr(){let e=L(),t=I().getSession()||e.getSession();t&&ut(t),Er(),e.setSession()}function Er(){let e=L(),t=R(),n=e.getSession();n&&t&&t.captureSession(n)}function Dr(e=!1){if(e){Tr();return}Er()}var Or=`7`;function kr(e){let t=e.protocol?`${e.protocol}:`:``,n=e.port?`:${e.port}`:``;return`${t}//${e.host}${n}${e.path?`/${e.path}`:``}/api/`}function Ar(e){return`${kr(e)}${e.projectId}/envelope/`}function jr(e,t){let n={sentry_version:Or};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}function Mr(e,t,n){return t||`${Ar(e)}?${jr(e,n)}`}function Nr(e,t){let n=Zt(e);if(!n)return``;let r=`${kr(n)}embed/error-page/`,i=`dsn=${z(n)}`;for(let e in t)if(e!==`dsn`&&e!==`onClose`)if(e===`user`){let e=t.user;if(!e)continue;e.name&&(i+=`&name=${encodeURIComponent(e.name)}`),e.email&&(i+=`&email=${encodeURIComponent(e.email)}`)}else i+=`&${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`;return`${r}?${i}`}var Pr=[];function Fr(e){let t={};return e.forEach(e=>{let{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.values(t)}function Ir(e){let t=e.defaultIntegrations||[],n=e.integrations;t.forEach(e=>{e.isDefaultInstance=!0});let r;if(Array.isArray(n))r=[...t,...n];else if(typeof n==`function`){let e=n(t);r=Array.isArray(e)?e:[e]}else r=t;return Fr(r)}function Lr(e,t){let n={};return t.forEach(t=>{t&&zr(e,t,n)}),n}function Rr(e,t){for(let n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function zr(e,t,n){if(n[t.name]){r&&m.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,!Pr.includes(t.name)&&typeof t.setupOnce==`function`&&(t.setupOnce(),Pr.push(t.name)),t.setup&&typeof t.setup==`function`&&t.setup(e),typeof t.preprocessEvent==`function`){let n=t.preprocessEvent.bind(t);e.on(`preprocessEvent`,(t,r)=>n(t,r,e))}if(typeof t.processEvent==`function`){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}r&&m.log(`Integration installed: ${t.name}`)}function G(e){return e}function Br(e){return[{type:`log`,item_count:e.length,content_type:`application/vnd.sentry.items.log+json`},{items:e}]}function Vr(e,t,n,r){let i={};return t?.sdk&&(i.sdk={name:t.sdk.name,version:t.sdk.version}
2),n&&r&&(i.dsn=z(r)),V(i,[Br(e)])}function Hr(e,t){let n=t??Ur(e)??[];if(n.length===0)return;let r=e.getOptions(),i=Vr(n,r._metadata,r.tunnel,e.getDsn());Wr().set(e,[]),e.emit(`flushLogs`),e.sendEnvelope(i)}function Ur(e){return Wr().get(e)}function Wr(){return c(`clientToLogBufferMap`,()=>new WeakMap)}function Gr(e){return[{type:`trace_metric`,item_count:e.length,content_type:`application/vnd.sentry.items.trace-metric+json`},{items:e}]}function Kr(e,t,n,r){let i={};return t?.sdk&&(i.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(i.dsn=z(r)),V(i,[Gr(e)])}function qr(e,t){let n=t??Jr(e)??[];if(n.length===0)return;let r=e.getOptions(),i=Kr(n,r._metadata,r.tunnel,e.getDsn());Yr().set(e,[]),e.emit(`flushMetrics`),e.sendEnvelope(i)}function Jr(e){return Yr().get(e)}function Yr(){return c(`clientToMetricBufferMap`,()=>new WeakMap)}var Xr=Symbol.for(`SentryBufferFullError`);function Zr(e=100){let t=new Set;function n(){return t.size<e}function r(e){t.delete(e)}function i(e){if(!n())return qn(Xr);let i=e();return t.add(i),i.then(()=>r(i),()=>r(i)),i}function a(e){if(!t.size)return Kn(!0);let n=Promise.allSettled(Array.from(t)).then(()=>!0);if(!e)return n;let r=[n,new Promise(t=>setTimeout(()=>t(!1),e))];return Promise.race(r)}return{get $(){return Array.from(t)},add:i,drain:a}}var Qr=60*1e3;function $r(e,t=Date.now()){let n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;let r=Date.parse(`${e}`);return isNaN(r)?Qr:r-t}function ei(e,t){return e[t]||e.all||0}function ti(e,t,n=Date.now()){return ei(e,t)>n}function ni(e,{statusCode:t,headers:n},r=Date.now()){let i={...e},a=n?.[`x-sentry-rate-limits`],o=n?.[`retry-after`];if(a)for(let e of a.trim().split(`,`)){let[t,n,,,a]=e.split(`:`,5),o=parseInt(t,10),s=(isNaN(o)?60:o)*1e3;if(!n)i.all=r+s;else for(let e of n.split(`;`))e===`metric_bucket`?(!a||a.split(`;`).includes(`custom`))&&(i[e]=r+s):i[e]=r+s}else o?i.all=r+$r(o,r):t===429&&(i.all=r+60*1e3);return i}function ri(e,t,n=Zr(e.bufferSize||64)){let i={},a=e=>n.drain(e);function o(a){let o=[];if(jn(a,(t,n)=>{let r=Ln(n);ti(i,r)?e.recordDroppedEvent(`ratelimit_backoff`,r):o.push(t)}),o.length===0)return Promise.resolve({});let s=V(a[0],o),c=t=>{jn(s,(n,r)=>{e.recordDroppedEvent(t,Ln(r))})};return n.add(()=>t({body:Nn(s)}).then(e=>(e.statusCode!==void 0&&(e.statusCode<200||e.statusCode>=300)&&r&&m.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),i=ni(i,e),e),e=>{throw c(`network_error`),r&&m.error(`Encountered error running transport request:`,e),e})).then(e=>e,e=>{if(e===Xr)return r&&m.error(`Skipped sending event because buffer is full.`),c(`queue_overflow`),Promise.resolve({});throw e})}return{send:o,flush:a}}function ii(e,t,n){let r=[{type:`client_report`},{timestamp:n||A(),discarded_events:e}];return V(t?{dsn:t}:{},[r])}function ai(e){let t=[];e.message&&t.push(e.message);try{let n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}function oi(e){let{trace_id:t,parent_span_id:n,span_id:r,status:i,origin:a,data:o,op:s}=e.contexts?.trace??{};return{data:o??{},description:e.transaction,op:s,parent_span_id:n,span_id:r??``,start_timestamp:e.start_timestamp??0,status:i,timestamp:e.timestamp,trace_id:t??``,origin:a,profile_id:o?.[Nt],exclusive_time:o?.[Pt],measurements:e.measurements,is_segment:!0}}function si(e){return{type:`transaction`,timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{"sentry.profile_id":e.profile_id},...e.exclusive_time&&{"sentry.exclusive_time":e.exclusive_time}}}},measurements:e.measurements}}var ci=`Not capturing exception because it's already been captured.`,li=`Discarded session because of missing or non-string release`,ui=Symbol.for(`SentryInternalError`),di=Symbol.for(`SentryDoNotSendEventError`),fi=5e3;function pi(e){return{message:e,[ui]:!0}}function mi(e){return{message:e,[di]:!0}}function hi(e){return!!e&&typeof e==`object`&&ui in e}function gi(e){return!!e&&typeof e==`object`&&di in e}function _i(e,t,n,r,i){let a=0,o,s=!1;e.on(n,()=>{a=0,clearTimeout(o),s=!1}),e.on(t,t=>{a+=r(t),a>=8e5?i(e):s||(s=!0,o=setTimeout(()=>{i(e)},fi))}),e.on(`flush`,()=>{i(e)})}var vi=class{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=Zr(e.transportOptions?.bufferSize??64),e.dsn?this._dsn=Zt(e.dsn):r&&m.warn(`No DSN provided, client will not send events.`),this._dsn){let t=Mr(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&_i(this,`afterCaptureLog`,`flushLogs`,Ti,Hr),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&_i(this,`afterCaptureMetric`,`flushMetrics`,wi,qr)}captureException(e,t,n){let i=D();if(it(e))return r&&m.log(ci),i;let a={event_id:i,...t};return this._process(()=>this.eventFromException(e,a).then(e=>this._captureEvent(e,a,n)).then(e=>e),`error`),a.event_id}captureMessage(e,t,n,r){let i={event_id:D(),...n}
2,a=ke(e)?e:String(e),o=Ae(e),s=o?this.eventFromMessage(a,t,i):this.eventFromException(e,i);return this._process(()=>s.then(e=>this._captureEvent(e,i,r)),o?`unknown`:`error`),i.event_id}captureEvent(e,t,n){let i=D();if(t?.originalException&&it(t.originalException))return r&&m.log(ci),i;let a={event_id:i,...t},o=e.sdkProcessingMetadata||{},s=o.capturedSpanScope,c=o.capturedSpanIsolationScope,l=yi(e.type);return this._process(()=>this._captureEvent(e,a,s||n,c),l),a.event_id}captureSession(e){this.sendSession(e),M(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){let t=this._transport;if(!t)return!0;this.emit(`flush`);let n=await this._isClientDoneProcessing(e),r=await t.flush(e);return n&&r}async close(e){let t=await this.flush(e);return this.getOptions().enabled=!1,this.emit(`close`),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith(`Spotlight`)))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){let t=this._integrations[e.name];zr(this,e,this._integrations),t||Rr(this,[e])}sendEvent(e,t={}){this.emit(`beforeSendEvent`,e,t);let n=Hn(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])n=An(n,Fn(e));this.sendEnvelope(n).then(t=>this.emit(`afterSendEvent`,e,t))}sendSession(e){let{release:t,environment:n=vn}=this._options;if(`aggregates`in e){let i=e.attrs||{};if(!i.release&&!t){r&&m.warn(li);return}i.release=i.release||t,i.environment=i.environment||n,e.attrs=i}else{if(!e.release&&!t){r&&m.warn(li);return}e.release=e.release||t,e.environment=e.environment||n}this.emit(`beforeSendSession`,e);let i=Vn(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(i)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){let i=`${e}:${t}`;r&&m.log(`Recording outcome: "${i}"${n>1?` (${n} times)`:``}`),this._outcomes[i]=(this._outcomes[i]||0)+n}}on(e,t){let n=this._hooks[e]=this._hooks[e]||new Set,r=(...e)=>t(...e);return n.add(r),()=>{n.delete(r)}}emit(e,...t){let n=this._hooks[e];n&&n.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit(`beforeEnvelope`,e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(e){return r&&m.error(`Error while sending envelope:`,e),{}}return r&&m.error(`Transport disabled`),{}}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=Lr(this,e),Rr(this,e)}_updateSessionFromEvent(e,t){let n=t.level===`fatal`,r=!1,i=t.exception?.values;if(i){r=!0,n=!1;for(let e of i)if(e.mechanism?.handled===!1){n=!0;break}}let a=e.status===`ok`;(a&&e.errors===0||a&&n)&&(M(e,{...n&&{status:`crashed`},errors:e.errors||Number(r||n)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(e,t,n,r){let i=this.getOptions(),a=Object.keys(this._integrations);return!t.integrations&&a?.length&&(t.integrations=a),this.emit(`preprocessEvent`,e,t),e.type||r.setLastEventId(e.event_id||t.event_id),sr(i,e,t,n,this,r).then(e=>e===null?e:(this.emit(`postprocessEvent`,e,t),e.contexts={trace:Ot(n),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:xn(this,n),...e.sdkProcessingMetadata},e))}_captureEvent(e,t={},n=I(),i=L()){return r&&Si(e)&&m.log(`Captured error event \`${ai(e)[0]||`<unknown>`}\``),this._processEvent(e,t,n,i).then(e=>e.event_id,e=>{r&&(gi(e)?m.log(e.message):hi(e)?m.warn(e.message):m.warn(e))})}_processEvent(e,t,n,r){let i=this.getOptions(),{sampleRate:a}=i,o=Ci(e),s=Si(e),c=`before send for type \`${e.type||`error`}\``,l=a===void 0?void 0:Qt(a);if(s&&typeof l==`number`&&Math.random()>l)return this.recordDroppedEvent(`sample_rate`,`error`),qn(mi(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));let u=yi(e.type);return this._prepareEvent(e,t,n,r).then(e=>{if(e===null)throw this.recordDroppedEvent(`event_processor`,u),mi("An event processor returned `null`, will not send event.");return t.data&&t.data.__sentry__===!0?e:bi(xi(this,i,e,t),c)}).then(i=>{if(i===null){if(this.recordDroppedEvent(`before_send`,u),o){let t=1+(e.spans||[]).length;this.recordDroppedEvent(`before_send`,`span`,t)}throw mi(`${c} returned \`null\`, will not send event.`)}
2let a=n.getSession()||r.getSession();if(s&&a&&this._updateSessionFromEvent(a,i),o){let e=(i.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(i.spans?i.spans.length:0);e>0&&this.recordDroppedEvent(`before_send`,`span`,e)}let l=i.transaction_info;return o&&l&&i.transaction!==e.transaction&&(i.transaction_info={...l,source:`custom`}),this.sendEvent(i,t),i}).then(null,e=>{throw gi(e)||hi(e)?e:(this.captureException(e,{mechanism:{handled:!1,type:`internal`},data:{__sentry__:!0},originalException:e}),pi(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`))})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===Xr&&this.recordDroppedEvent(`queue_overflow`,t),e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[n,r]=e.split(`:`);return{reason:n,category:r,quantity:t}})}_flushOutcomes(){r&&m.log(`Flushing outcomes...`);let e=this._clearOutcomes();if(e.length===0){r&&m.log(`No outcomes to send`);return}if(!this._dsn){r&&m.log(`No dsn provided, will not send outcomes`);return}r&&m.log(`Sending outcomes:`,e);let t=ii(e,this._options.tunnel&&z(this._dsn));this.sendEnvelope(t)}};function yi(e){return e===`replay_event`?`replay`:e||`error`}function bi(e,t){let n=`${t} must return \`null\` or a valid event.`;if(C(e))return e.then(e=>{if(!S(e)&&e!==null)throw pi(n);return e},e=>{throw pi(`${t} rejected with ${e}`)});if(!S(e)&&e!==null)throw pi(n);return e}function xi(e,t,n,r){let{beforeSend:i,beforeSendTransaction:a,beforeSendSpan:o,ignoreSpans:s}=t,c=n;if(Si(c)&&i)return i(c,r);if(Ci(c)){if(o||s){let t=oi(c);if(s?.length&&hn(t,s))return null;if(o){let e=o(t);e?c=N(n,si(e)):fn()}if(c.spans){let t=[],n=c.spans;for(let e of n){if(s?.length&&hn(e,s)){gn(n,e);continue}if(o){let n=o(e);n?t.push(n):(fn(),t.push(e))}else t.push(e)}let r=c.spans.length-t.length;r&&e.recordDroppedEvent(`before_send`,`span`,r),c.spans=t}}if(a){if(c.spans){let e=c.spans.length;c.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return a(c,r)}}return c}function Si(e){return e.type===void 0}function Ci(e){return e.type===`transaction`}function wi(e){let t=0;return e.name&&(t+=e.name.length*2),t+=8,t+Ei(e.attributes)}function Ti(e){let t=0;return e.message&&(t+=e.message.length*2),t+Ei(e.attributes)}function Ei(e){if(!e)return 0;let t=0;return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*Di(e[0]):Ae(e)?t+=Di(e):t+=100}),t}function Di(e){return typeof e==`string`?e.length*2:typeof e==`number`?8:typeof e==`boolean`?4:0}function Oi(e,t){t.debug===!0&&(r?m.enable():f(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),I().update(t.initialScope);let n=new e(t);return ki(n),n.init(),n}function ki(e){I().setClient(e)}function Ai(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let n=t[6]||``,r=t[8]||``;return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function ji(e){`aggregates`in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:`{{auto}}`}):e.ipAddress===void 0&&(e.ipAddress=`{{auto}}`)}function Mi(e,t,n=[t],r=`npm`){let i=e._metadata||{};i.sdk||={name:`sentry.javascript.${t}`,packages:n.map(e=>({name:`${r}:@sentry/${e}`,version:a})),version:a},e._metadata=i}var Ni=100;function K(e,t){let n=R(),r=L();if(!n)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:a=Ni}=n.getOptions();if(a<=0)return;let o={timestamp:A(),...e},s=i?f(()=>i(o,t)):o;s!==null&&(n.emit&&n.emit(`beforeAddBreadcrumb`,s,t),r.addBreadcrumb(s,a))}var Pi,Fi=`FunctionToString`,Ii=new WeakMap,Li=G((()=>({name:Fi,setupOnce(){Pi=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=We(this),n=Ii.has(R())&&t!==void 0?t:this;return Pi.apply(n,e)}}catch{}},setup(e){Ii.set(e,!0)}}))),Ri=[/^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$/],zi=`EventFilters`,Bi=G((e={})=>{let t;return{name:zi,setup(n){t=Hi(e,n.getOptions())},processEvent(n,r,i){return t||=Hi(e,i.getOptions()),Ui(n,t)?null:n}}}),Vi=G(((e={})=>({...Bi(e),name:`InboundFilters`})));function Hi(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:Ri],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function Ui(e,t){if(!e.type){if(Wi(e,t.ignoreErrors))return r&&m.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${O(e)}`),!0;if(Xi(e))return r&&m.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${O(e)}`),!0;if(Ki(e,t.denyUrls))return r&&m.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${O(e)}.\nUrl: ${Yi(e)}`),!0;if(!qi(e,t.allowUrls))return r&&m.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${O(e)}.\nUrl: ${Yi(e)}`),!0}else if(e.type===`transaction`&&Gi(e,t.ignoreTransactions))return r&&m.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${O(e)}`),!0;return!1}function Wi(e,t){return t?.length?ai(e).some(e=>Qe(e,t)):!1}function Gi(e,t){if(!t?.length)return!1;let n=e.transaction;return n?Qe(n,t):!1}function Ki(e,t){if(!t?.length)return!1;let n=Yi(e);return n?Qe(n,t):!1}function qi(e,t){if(!t?.length)return!0;let n=Yi(e);return!n||Qe(n,t)}function Ji(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&n.filename!==`<anonymous>`&&n.filename!==`[native code]`)return n.filename||null}return null}function Yi(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length)?.stacktrace?.frames;return t?Ji(t):null}catch{return r&&m.error(`Cannot extract url for event ${O(e)}`),null}}function Xi(e){return e.exception?.values?.length?!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&e.type!==`Error`||e.value):!1}function Zi(e,t,n,r,i,a){if(!i.exception?.values||!a||!w(a.originalException,Error))return;let o=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;o&&(i.exception.values=Qi(e,t,r,a.originalException,n,i.exception.values,o,0))}
2function Qi(e,t,n,r,i,a,o,s){if(a.length>=n+1)return a;let c=[...a];if(w(r[i],Error)){$i(o,s);let a=e(t,r[i]),l=c.length;ea(a,i,l,s),c=Qi(e,t,n,r[i],i,[a,...c],a,l)}return Array.isArray(r.errors)&&r.errors.forEach((r,a)=>{if(w(r,Error)){$i(o,s);let l=e(t,r),u=c.length;ea(l,`errors[${a}]`,u,s),c=Qi(e,t,n,r,i,[l,...c],l,u)}}),c}function $i(e,t){e.mechanism={handled:!0,type:`auto.core.linked_errors`,...e.mechanism,...e.type===`AggregateError`&&{is_exception_group:!0},exception_id:t}}function ea(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:`chained`,source:t,exception_id:n,parent_id:r}}function ta(e){let t=`console`;_(t,e),v(t,na)}function na(){`console`in i&&l.forEach(function(e){e in i.console&&T(i.console,e,function(t){return d[e]=t,function(...t){y(`console`,{args:t,level:e}),d[e]?.apply(i.console,t)}})})}function ra(e){return e===`warn`?`warning`:[`fatal`,`error`,`warning`,`log`,`info`,`debug`].includes(e)?e:`log`}var ia=`Dedupe`,aa=G((()=>{let e;return{name:ia,processEvent(t){if(t.type)return t;try{if(oa(t,e))return r&&m.warn(`Event dropped due to being a duplicate of previously captured event.`),null}catch{}return e=t}}}));function oa(e,t){return t?!!(sa(e,t)||ca(e,t)):!1}function sa(e,t){let n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!ua(e,t)||!la(e,t))}function ca(e,t){let n=da(t),r=da(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!ua(e,t)||!la(e,t))}function la(e,t){let n=me(e),r=me(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let e=0;e<r.length;e++){let t=r[e],i=n[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function ua(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join(``)===r.join(``)}catch{return!1}}function da(e){return e.exception?.values?.[0]}function fa(e){if(e!==void 0){if(e>=400&&e<500)return`warning`;if(e>=500)return`error`}}var q=i;function pa(){return`history`in q&&!!q.history}function ma(){if(!(`fetch`in q))return!1;try{return new Headers,new Request(`data:,`),new Response,!0}catch{return!1}}function ha(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function ga(){if(typeof EdgeRuntime==`string`)return!0;if(!ma())return!1;if(ha(q.fetch))return!0;let e=!1,t=q.document;if(t&&typeof t.createElement==`function`)try{let n=t.createElement(`iframe`);n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=ha(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){r&&m.warn(`Could not create sandbox iframe for pure fetch check, bailing to window.fetch: `,e)}return e}function _a(e,t){let n=`fetch`;_(n,e),v(n,()=>va(void 0,t))}function va(e,t=!1){t&&!ga()||T(i,`fetch`,function(t){return function(...n){let r=Error(),{method:a,url:o}=xa(n),s={args:n,fetchData:{method:a,url:o},startTimestamp:j()*1e3,virtualError:r,headers:Sa(n)};return e||y(`fetch`,{...s}),t.apply(i,n).then(async t=>(e?e(t):y(`fetch`,{...s,endTimestamp:j()*1e3,response:t}),t),e=>{if(y(`fetch`,{...s,endTimestamp:j()*1e3,error:e}),Te(e)&&e.stack===void 0&&(e.stack=r.stack,E(e,`framesToPop`,1)),e instanceof TypeError&&(e.message===`Failed to fetch`||e.message===`Load failed`||e.message===`NetworkError when attempting to fetch resource.`))try{let t=new URL(s.fetchData.url);e.message=`${e.message} (${t.host})`}catch{}throw e})}})}function ya(e,t){return!!e&&typeof e==`object`&&!!e[t]}function ba(e){return typeof e==`string`?e:e?ya(e,`url`)?e.url:e.toString?e.toString():``:``}function xa(e){if(e.length===0)return{method:`GET`,url:``};if(e.length===2){let[t,n]=e;return{url:ba(t),method:ya(n,`method`)?String(n.method).toUpperCase():Ie(t)&&ya(t,`method`)?String(t.method).toUpperCase():`GET`}}let t=e[0];return{url:ba(t),method:ya(t,`method`)?String(t.method).toUpperCase():`GET`}}function Sa(e){let[t,n]=e;try{if(typeof n==`object`&&n&&`headers`in n&&n.headers)return new Headers(n.headers);if(Ie(t))return new Headers(t.headers)}catch{}}function Ca(){return`npm`}var J=i,wa=0;function Ta(){return wa>0}function Ea(){wa++,setTimeout(()=>{wa--})}function Y(e,t={}){function n(e){return typeof e==`function`}if(!n(e))return e;try{let t=e.__sentry_wrapped__;if(t)return typeof t==`function`?t:e;if(We(e))return e}catch{return e}let r=function(...n){try{let r=n.map(e=>Y(e,t));return e.apply(this,r)}catch(e){throw Ea(),Dt(r=>{r.addEventProcessor(e=>(t.mechanism&&(rt(e,void 0,void 0),k(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),vr(e)}),e}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch{}Ue(r,e),E(e,`__sentry_wrapped__`,r);try{Object.getOwnPropertyDescriptor(r,`name`).configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function Da(){let e=Ve(),{referrer:t}=J.document||{},{userAgent:n}=J.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}function Oa(e,t){let n=ja(e,t),r={type:Ia(t),value:La(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===``&&(r.value=`Unrecoverable error caught`),r}function ka(e,t,n,r){let i=R()?.getOptions().normalizeDepth,a=Wa(t),o={__serialized__:Cn(t,i)};if(a)return{exception:{values:[Oa(e,a)]},extra:o};let s={exception:{values:[{type:je(t)?t.constructor.name:r?`UnhandledRejection`:`Error`,value:Ha(t,{isUnhandledRejection:r})}]},extra:o};if(n){let t=ja(e,n);t.length&&(s.exception.values[0].stacktrace={frames:t})}return s}function Aa(e,t){return{exception:{values:[Oa(e,t)]}}}function ja(e,t){let n=t.stacktrace||t.stack||``,r=Na(t),i=Pa(t);try{return e(n,r,i)}catch{}return[]}var Ma=/Minified React error #\d+;/i;function Na(e){return e&&Ma.test(e.message)?1:0}function Pa(e){return typeof e.framesToPop==`number`?e.framesToPop:0}function Fa(e){return typeof WebAssembly<`u`&&WebAssembly.Exception!==void 0&&e instanceof WebAssembly.Exception}function Ia(e){let t=e?.name;return!t&&Fa(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:`WebAssembly.Exception`:t}function La(e){let t=e?.message;return Fa(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:`wasm exception`:t?t.error&&typeof t.error.message==`string`?t.error.message:t:`No error message`}function Ra(e,t,n,r){let i=Ba(e,t,n?.syntheticException||void 0,r);
2return k(i),i.level=`error`,n?.event_id&&(i.event_id=n.event_id),Kn(i)}function za(e,t,n=`info`,r,i){let a=Va(e,t,r?.syntheticException||void 0,i);return a.level=n,r?.event_id&&(a.event_id=r.event_id),Kn(a)}function Ba(e,t,n,r,i){let a;if(Ee(t)&&t.error)return Aa(e,t.error);if(De(t)||Oe(t)){let i=t;if(`stack`in t)a=Aa(e,t);else{let t=i.name||(De(i)?`DOMError`:`DOMException`),o=i.message?`${t}: ${i.message}`:t;a=Va(e,o,n,r),rt(a,o)}return`code`in i&&(a.tags={...a.tags,"DOMException.code":`${i.code}`}),a}return Te(t)?Aa(e,t):S(t)||je(t)?(a=ka(e,t,n,i),k(a,{synthetic:!0}),a):(a=Va(e,t,n,r),rt(a,`${t}`,void 0),k(a,{synthetic:!0}),a)}function Va(e,t,n,r){let i={};if(r&&n){let r=ja(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]}),k(i,{synthetic:!0})}if(ke(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}function Ha(e,{isUnhandledRejection:t}){let n=Je(e),r=t?`promise rejection`:`exception`;return Ee(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:je(e)?`Event \`${Ua(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function Ua(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function Wa(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)){let n=e[t];if(n instanceof Error)return n}}var Ga=class extends vi{constructor(e){let t=Ka(e);Mi(t,`browser`,[`browser`],J.SENTRY_SDK_SOURCE||Ca()),t._metadata?.sdk&&(t._metadata.sdk.settings={infer_ip:t.sendDefaultPii?`auto`:`never`,...t._metadata.sdk.settings}),super(t);let{sendDefaultPii:n,sendClientReports:r,enableLogs:i,_experiments:a,enableMetrics:o}=this._options,s=o??a?.enableMetrics??!0;J.document&&(r||i||s)&&J.document.addEventListener(`visibilitychange`,()=>{J.document.visibilityState===`hidden`&&(r&&this._flushOutcomes(),i&&Hr(this),s&&qr(this))}),n&&this.on(`beforeSendSession`,ji)}eventFromException(e,t){return Ra(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t=`info`,n){return za(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,r){return e.platform=e.platform||`javascript`,super._prepareEvent(e,t,n,r)}};function Ka(e){return{release:typeof __SENTRY_RELEASE__==`string`?__SENTRY_RELEASE__:J.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}var qa=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,X=i,Ja=1e3,Ya,Xa,Za;function Qa(e){_(`dom`,e),v(`dom`,$a)}function $a(){if(!X.document)return;let e=y.bind(null,`dom`),t=no(e,!0);X.document.addEventListener(`click`,t,!1),X.document.addEventListener(`keypress`,t,!1),[`EventTarget`,`Node`].forEach(t=>{let n=X[t]?.prototype;n?.hasOwnProperty?.(`addEventListener`)&&(T(n,`addEventListener`,function(t){return function(n,r,i){if(n===`click`||n==`keypress`)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=r[n]=r[n]||{refCount:0};if(!a.handler){let r=no(e);a.handler=r,t.call(this,n,r,i)}a.refCount++}catch{}return t.call(this,n,r,i)}}),T(n,`removeEventListener`,function(e){return function(t,n,r){if(t===`click`||t==`keypress`)try{let n=this.__sentry_instrumentation_handlers__||{},i=n[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,r),i.handler=void 0,delete n[t]),Object.keys(n).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}}))})}function eo(e){if(e.type!==Xa)return!1;try{if(!e.target||e.target._sentryId!==Za)return!1}catch{}return!0}function to(e,t){return e===`keypress`?!t?.tagName||!(t.tagName===`INPUT`||t.tagName===`TEXTAREA`||t.isContentEditable):!1}function no(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;let r=ro(n);if(to(n.type,r))return;E(n,`_sentryCaptured`,!0),r&&!r._sentryId&&E(r,`_sentryId`,D());let i=n.type===`keypress`?`input`:n.type;eo(n)||(e({event:n,name:i,global:t}),Xa=n.type,Za=r?r._sentryId:void 0),clearTimeout(Ya),Ya=X.setTimeout(()=>{Za=void 0,Xa=void 0},Ja)}}function ro(e){try{return e.target}catch{return null}}var Z;function io(e){let t=`history`;_(t,e),v(t,ao)}function ao(){if(X.addEventListener(`popstate`,()=>{let e=X.location.href,t=Z;Z=e,t!==e&&y(`history`,{from:t,to:e})}),!pa())return;function e(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let r=Z,i=oo(String(n));if(Z=i,r===i)return e.apply(this,t);y(`history`,{from:r,to:i})}return e.apply(this,t)}}T(X.history,`pushState`,e),T(X.history,`replaceState`,e)}function oo(e){try{return new URL(e,X.location.origin).toString()}catch{return e}}var so={};function co(e){let t=so[e];if(t)return t;let n=X[e];if(ha(n))return so[e]=n.bind(X);let r=X.document;if(r&&typeof r.createElement==`function`)try{let t=r.createElement(`iframe`);t.hidden=!0,r.head.appendChild(t);let i=t.contentWindow;i?.[e]&&(n=i[e]),r.head.removeChild(t)}catch(t){qa&&m.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n&&(so[e]=n.bind(X))}function lo(e){so[e]=void 0}var Q=`__sentry_xhr_v3__`;function uo(e){_(`xhr`,e),v(`xhr`,fo)}function fo(){if(!X.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=Error(),i=j()*1e3,a=x(n[0])?n[0].toUpperCase():void 0,o=po(n[1]);if(!a||!o)return e.apply(t,n);t[Q]={method:a,url:o,request_headers:{}}
2,a===`POST`&&o.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let s=()=>{let e=t[Q];if(e&&t.readyState===4){try{e.status_code=t.status}catch{}y(`xhr`,{endTimestamp:j()*1e3,startTimestamp:i,xhr:t,virtualError:r})}};return`onreadystatechange`in t&&typeof t.onreadystatechange==`function`?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply(e,t,n){return s(),e.apply(t,n)}}):t.addEventListener(`readystatechange`,s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[r,i]=n,a=t[Q];return a&&x(r)&&x(i)&&(a.request_headers[r.toLowerCase()]=i),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){let r=t[Q];return r?(n[0]!==void 0&&(r.body=n[0]),y(`xhr`,{startTimestamp:j()*1e3,xhr:t}),e.apply(t,n)):e.apply(t,n)}})}function po(e){if(x(e))return e;try{return e.toString()}catch{}}var mo=40;function ho(e,t=co(`fetch`)){let n=0,r=0;async function i(i){let a=i.body.length;n+=a,r++;let o={body:i.body,method:`POST`,referrerPolicy:`strict-origin`,headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};try{let n=await t(e.url,o);return{statusCode:n.status,headers:{"x-sentry-rate-limits":n.headers.get(`X-Sentry-Rate-Limits`),"retry-after":n.headers.get(`Retry-After`)}}}catch(e){throw lo(`fetch`),e}finally{n-=a,r--}}return ri(e,i,Zr(e.bufferSize||mo))}var $=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,go=30,_o=50;function vo(e,t,n,r){let i={filename:e,function:t===`<anonymous>`?`?`:t,in_app:!0};return n!==void 0&&(i.lineno=n),r!==void 0&&(i.colno=r),i}var yo=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,bo=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,xo=/\((\S*)(?::(\d+))(?::(\d+))\)/,So=/at (.+?) ?\(data:(.+?),/,Co=[go,e=>{let t=e.match(So);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};let n=yo.exec(e);if(n){let[,e,t,r]=n;return vo(e,`?`,+t,+r)}let r=bo.exec(e);if(r){if(r[2]&&r[2].indexOf(`eval`)===0){let e=xo.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}let[e,t]=Do(r[1]||`?`,r[2]);return vo(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],wo=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,To=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Eo=ue(Co,[_o,e=>{let t=wo.exec(e);if(t){if(t[3]&&t[3].indexOf(` > eval`)>-1){let e=To.exec(t[3]);e&&(t[1]=t[1]||`eval`,t[3]=e[1],t[4]=e[2],t[5]=``)}let e=t[3],n=t[1]||`?`;return[n,e]=Do(n,e),vo(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]),Do=(e,t)=>{let n=e.indexOf(`safari-extension`)!==-1,r=e.indexOf(`safari-web-extension`)!==-1;return n||r?[e.indexOf(`@`)===-1?`?`:e.split(`@`)[0],n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},Oo=1024,ko=`Breadcrumbs`,Ao=G(((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:ko,setup(e){t.console&&ta(No(e)),t.dom&&Qa(Mo(e,t.dom)),t.xhr&&uo(Po(e)),t.fetch&&_a(Fo(e)),t.history&&io(Io(e)),t.sentry&&e.on(`beforeSendEvent`,jo(e))}}}));function jo(e){return function(t){R()===e&&K({category:`sentry.${t.type===`transaction`?`transaction`:`event`}`,event_id:t.event_id,level:t.level,message:O(t)},{event:t})}}function Mo(e,t){return function(n){if(R()!==e)return;let r,i,a=typeof t==`object`?t.serializeAttribute:void 0,o=typeof t==`object`&&typeof t.maxStringLength==`number`?t.maxStringLength:void 0;o&&o>Oo&&($&&m.warn(`\`dom.maxStringLength\` cannot exceed ${Oo}, but a value of ${o} was configured. Sentry will use ${Oo} instead.`),o=Oo),typeof a==`string`&&(a=[a]);try{let e=n.event,t=Lo(e)?e.target:e;r=ze(t,{keyAttrs:a,maxStringLength:o}),i=He(t)}catch{r=`<unknown>`}if(r.length===0)return;let s={category:`ui.${n.name}`,message:r};i&&(s.data={"ui.component_name":i}),K(s,{event:n.event,name:n.name,global:n.global})}}function No(e){return function(t){if(R()!==e)return;let n={category:`console`,data:{arguments:t.args,logger:`console`},level:ra(t.level),message:Xe(t.args,` `)};if(t.level===`assert`)if(t.args[0]===!1)n.message=`Assertion failed: ${Xe(t.args.slice(1),` `)||`console.assert`}`,n.data.arguments=t.args.slice(1);else return;K(n,{input:t.args,level:t.level})}}function Po(e){return function(t){if(R()!==e)return;let{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[Q];if(!n||!r||!i)return;let{method:a,url:o,status_code:s,body:c}=i,l={method:a,url:o,status_code:s},u={xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:r},d={category:`xhr`,data:l,type:`http`,level:fa(s)};e.emit(`beforeOutgoingRequestBreadcrumb`,d,u),K(d,u)}}function Fo(e){return function(t){if(R()!==e)return;let{startTimestamp:n,endTimestamp:r}=t;
2if(r&&!(t.fetchData.url.match(/sentry_key/)&&t.fetchData.method===`POST`))if(t.fetchData.method,t.fetchData.url,t.error){let i=t.fetchData,a={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r},o={category:`fetch`,data:i,level:`error`,type:`http`};e.emit(`beforeOutgoingRequestBreadcrumb`,o,a),K(o,a)}else{let i=t.response,a={...t.fetchData,status_code:i?.status};t.fetchData.request_body_size,t.fetchData.response_body_size,i?.status;let o={input:t.args,response:i,startTimestamp:n,endTimestamp:r},s={category:`fetch`,data:a,type:`http`,level:fa(a.status_code)};e.emit(`beforeOutgoingRequestBreadcrumb`,s,o),K(s,o)}}}function Io(e){return function(t){if(R()!==e)return;let n=t.from,r=t.to,i=Ai(J.location.href),a=n?Ai(n):void 0,o=Ai(r);a?.path||(a=i),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),i.protocol===a.protocol&&i.host===a.host&&(n=a.relative),K({category:`navigation`,data:{from:n,to:r}})}}function Lo(e){return!!e&&!!e.target}var Ro=`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`.split(`.`),zo=`BrowserApiErrors`,Bo=G(((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:zo,setupOnce(){t.setTimeout&&T(J,`setTimeout`,Vo),t.setInterval&&T(J,`setInterval`,Vo),t.requestAnimationFrame&&T(J,`requestAnimationFrame`,Ho),t.XMLHttpRequest&&`XMLHttpRequest`in J&&T(XMLHttpRequest.prototype,`send`,Uo);let e=t.eventTarget;e&&(Array.isArray(e)?e:Ro).forEach(e=>Wo(e,t))}}}));function Vo(e){return function(...t){let n=t[0];return t[0]=Y(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${g(e)}`}}),e.apply(this,t)}}function Ho(e){return function(t){return e.apply(this,[Y(t,{mechanism:{data:{handler:g(e)},handled:!1,type:`auto.browser.browserapierrors.requestAnimationFrame`}})])}}function Uo(e){return function(...t){let n=this;return[`onload`,`onerror`,`onprogress`,`onreadystatechange`].forEach(e=>{e in n&&typeof n[e]==`function`&&T(n,e,function(t){let n={mechanism:{data:{handler:g(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},r=We(t);return r&&(n.mechanism.data.handler=g(r)),Y(t,n)})}),e.apply(this,t)}}function Wo(e,t){let n=J[e]?.prototype;n?.hasOwnProperty?.(`addEventListener`)&&(T(n,`addEventListener`,function(n){return function(r,i,a){try{Go(i)&&(i.handleEvent=Y(i.handleEvent,{mechanism:{data:{handler:g(i),target:e},handled:!1,type:`auto.browser.browserapierrors.handleEvent`}}))}catch{}return t.unregisterOriginalCallbacks&&Ko(this,r,i),n.apply(this,[r,Y(i,{mechanism:{data:{handler:g(i),target:e},handled:!1,type:`auto.browser.browserapierrors.addEventListener`}}),a])}}),T(n,`removeEventListener`,function(e){return function(t,n,r){try{let i=n.__sentry_wrapped__;i&&e.call(this,t,i,r)}catch{}return e.call(this,t,n,r)}}))}function Go(e){return typeof e.handleEvent==`function`}function Ko(e,t,n){e&&typeof e==`object`&&`removeEventListener`in e&&typeof e.removeEventListener==`function`&&e.removeEventListener(t,n)}var qo=G(()=>({name:`BrowserSession`,setupOnce(){if(J.document===void 0){$&&m.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}wr({ignoreDuration:!0}),Dr(),io(({from:e,to:t})=>{e!==void 0&&e!==t&&(wr({ignoreDuration:!0}),Dr())})}})),Jo=`GlobalHandlers`,Yo=G(((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:Jo,setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(Xo(e),ts(`onerror`)),t.onunhandledrejection&&(Zo(e),ts(`onunhandledrejection`))}}}));function Xo(e){ye(t=>{let{stackParser:n,attachStacktrace:r}=ns();if(R()!==e||Ta())return;let{msg:i,url:a,line:o,column:s,error:c}=t,l=es(Ba(n,c||i,void 0,r,!1),a,o,s);l.level=`error`,yr(l,{originalException:c,mechanism:{handled:!1,type:`auto.browser.global_handlers.onerror`}})})}function Zo(e){Se(t=>{let{stackParser:n,attachStacktrace:r}=ns();if(R()!==e||Ta())return;let i=Qo(t),a=Ae(i)?$o(i):Ba(n,i,void 0,r,!0);a.level=`error`,yr(a,{originalException:i,mechanism:{handled:!1,type:`auto.browser.global_handlers.onunhandledrejection`}})})}function Qo(e){if(Ae(e))return e;try{if(`reason`in e)return e.reason;if(`detail`in e&&`reason`in e.detail)return e.detail.reason}catch{}return e}function $o(e){return{exception:{values:[{type:`UnhandledRejection`,value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function es(e,t,n,r){let i=e.exception=e.exception||{},a=i.values=i.values||[],o=a[0]=a[0]||{},s=o.stacktrace=o.stacktrace||{},c=s.frames=s.frames||[],l=r,u=n,d=rs(t)??Ve();
2return c.length===0&&c.push({colno:l,filename:d,function:`?`,in_app:!0,lineno:u}),e}function ts(e){$&&m.log(`Global Handler attached: ${e}`)}function ns(){return R()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function rs(e){if(!(!x(e)||e.length===0)){if(e.startsWith(`data:`)){let t=e.match(/^data:([^;]+)/);return`<data:${t?t[1]:`text/javascript`}${e.includes(`base64,`)?`,base64`:``}>`}return e}}var is=G(()=>({name:`HttpContext`,preprocessEvent(e){if(!J.navigator&&!J.location&&!J.document)return;let t=Da(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}}})),as=`cause`,os=5,ss=`LinkedErrors`,cs=G(((e={})=>{let t=e.limit||os,n=e.key||as;return{name:ss,preprocessEvent(e,r,i){Zi(Oa,i.getOptions().stackParser,n,t,e,r)}}}));function ls(){return us()?($&&f(()=>{console.error(`[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/`)}),!0):!1}function us(){if(J.window===void 0)return!1;let e=J;if(e.nw||!(e.chrome||e.browser)?.runtime?.id)return!1;let t=Ve();return!(J===J.top&&[`chrome-extension`,`moz-extension`,`ms-browser-extension`,`safari-web-extension`].some(e=>
2t.startsWith(`${e}://`)))}function ds(e){return[Vi(),Li(),Bo(),Ao(),Yo(),cs(),aa(),is(),qo()]}function fs(e={}){let t=!e.skipBrowserExtensionCheck&&ls(),n=e.defaultIntegrations==null?ds():e.defaultIntegrations;return Oi(Ga,{...e,enabled:!t&&e.enabled,stackParser:de(e.stackParser||Eo),integrations:Ir({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||ho})}var ps=e(n());function ms(e){let t={...e};return Mi(t,`react`),br(`react`,{version:ps.version}),fs(t)}var hs=t({MULTIPLEXED_TRANSPORT_EXTRA_KEY:()=>MULTIPLEXED_TRANSPORT_EXTRA_KEY,SDK_VERSION:()=>a,SEMANTIC_ATTRIBUTE_SENTRY_OP:()=>jt,SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN:()=>Mt,SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE:()=>At,SEMANTIC_ATTRIBUTE_SENTRY_SOURCE:()=>kt,breadcrumbsIntegration:()=>Ao,init:()=>ms,setTag:()=>xr,setUser:()=>Sr});export{vr as a,I as c,m as d,Nr as i,Dt as l,$ as n,Cr as o,J as r,R as s,hs as t,Te as u};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.