1import{S as He,a as je,c as re,d as We,m as ht,D as g,l as p,u as $,b as de,i as se,e as fe,r as I,s as _t,f as pe,g as Et,h as yt,j as vt,k as bt,n as St,o as Tt,p as qe,q as It,t as Ot,v as Nt,w as B,x as Ge,y as D,z as ze,A as Ye,B as kt,C as me,E as wt,F as At,G as K,H as b,I as U,J as ge,K as Rt,L as he,M as _e,N as _,O as E,P as Ke,Q as T,R as H,T as X,U as Xe,V as Ve,W as xt,X as y,Y as Ee,Z as Je,_ as ye,$ as Ze,a0 as ve,a1 as Lt,a2 as be,a3 as $t,a4 as oe,a5 as P,a6 as Ft,a7 as Ct,a8 as h,a9 as v,aa as V,ab as Dt,ac as Pt,ad as Mt,ae as N,af as Bt,ag as Ut,ah as Qe,ai as Ht,aj as W,ak as w,al as jt,am as Wt,an as Se,ao as A,ap as k,aq as Te,ar as Ie,as as qt,at as et,au as tt,av as Gt,aw as zt,ax as nt,ay as Yt,az as Kt,aA as Xt,aB as Vt,aC as Jt,aD as Zt,aE as q}from"./CgQ1fbzD.js";import"./DyR-RHAI.js";try{let t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="7ed87684-806c-4bc3-8028-2483239c8782",t._sentryDebugIdIdentifier="sentry-dbid-7ed87684-806c-4bc3-8028-2483239c8782")}catch{}const Qt="7";function en(t){const e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}function tn(t){return`${en(t)}${t.projectId}/envelope/`}function nn(t,e){const n={sentry_version:Qt};return t.publicKey&&(n.sentry_key=t.publicKey),e&&(n.sentry_client=`${e.name}/${e.version}`),new URLSearchParams(n).toString()}function rn(t,e,n){return e||`${tn(t)}?${nn(t,n)}`}function rt(t){const e=[];t.message&&e.push(t.message);try{const n=t.exception.values[t.exception.values.length-1];n!=null&&n.value&&(e.push(n.value),n.type&&e.push(`${n.type}: ${n.value}`))}catch{}return e}function sn(t){var c;const{trace_id:e,parent_span_id:n,span_id:r,status:s,origin:o,data:i,op:a}=((c=t.contexts)==null?void 0:c.trace)??{};return{data:i??{},description:t.transaction,op:a,parent_span_id:n,span_id:r??"",start_timestamp:t.start_timestamp??0,status:s,timestamp:t.timestamp,trace_id:e??"",origin:o,profile_id:i==null?void 0:i[je],exclusive_time:i==null?void 0:i[He],measurements:t.measurements,is_segment:!0}}function on(t){return{type:"transaction",timestamp:t.timestamp,start_timestamp:t.start_timestamp,transaction:t.description,contexts:{trace:{trace_id:t.trace_id,span_id:t.span_id,parent_span_id:t.parent_span_id,op:t.op,status:t.status,origin:t.origin,data:{...t.data,...t.profile_id&&{[je]:t.profile_id},...t.exclusive_time&&{[He]:t.exclusive_time}}}},measurements:t.measurements}}function an(t,e,n){const r=[{type:"client_report"},{timestamp:We(),discarded_events:t}];return re(e?{dsn:e}:{},[r])}const Oe="Not capturing exception because it's already been captured.",Ne="Discarded session because of missing or non-string release",st=Symbol.for("SentryInternalError"),ot=Symbol.for("SentryDoNotSendEventError");function F(t){return{message:t,[st]:!0}}function G(t){return{message:t,[ot]:!0}}function ke(t){return!!t&&typeof t=="object"&&st in t}function we(t){return!!t&&typeof t=="object"&&ot in t}class cn{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=ht(e.dsn):g&&p.warn("No DSN provided, client will not send events."),this._dsn){const n=rn(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:n})}}captureException(e,n,r){const s=$();if(de(e))return g&&p.log(Oe),s;const o={event_id:s,...n};return this._process(this.eventFromException(e,o).then(i=>this._captureEvent(i,o,r))),o.event_id}captureMessage(e,n,r,s){const o={event_id:$(),...r},i=Ye(e)?e:String(e),a=se(e)?this.eventFromMessage(i,n,o):this.eventFromException(e,o);return this._process(a.then(c=>this._captureEvent(c,o,s))),o.event_id}captureEvent(e,n,r){const s=$();if(n!=null&&n.originalException&&de(n.originalException))return g&&p.log(Oe),s;const o={event_id:s,...n},i=e.sdkProcessingMetadata||{},a=i.capturedSpanScope,c=i.capturedSpanIsolationScope;return this._process(this._captureEvent(e,o,a||r,c)),o.event_id}captureSession(e){this.sendSession(e),fe(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const n=this._transport;
1return n?(this.emit("flush"),this._isClientDoneProcessing(e).then(r=>n.flush(e).then(s=>r&&s))):I(!0)}close(e){return this.flush(e).then(n=>(this.getOptions().enabled=!1,this.emit("close"),n))}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){const n=this._integrations[e.name];_t(this,e,this._integrations),n||pe(this,[e])}sendEvent(e,n={}){this.emit("beforeSendEvent",e,n);let r=Et(e,this._dsn,this._options._metadata,this._options.tunnel);for(const o of n.attachments||[])r=yt(r,vt(o));const s=this.sendEnvelope(r);s&&s.then(o=>this.emit("afterSendEvent",e,o),null)}sendSession(e){const{release:n,environment:r=bt}=this._options;if("aggregates"in e){const o=e.attrs||{};if(!o.release&&!n){g&&p.warn(Ne);return}o.release=o.release||n,o.environment=o.environment||r,e.attrs=o}else{if(!e.release&&!n){g&&p.warn(Ne);return}e.release=e.release||n,e.environment=e.environment||r}this.emit("beforeSendSession",e);const s=St(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(s)}recordDroppedEvent(e,n,r=1){if(this._options.sendClientReports){const s=`${e}:${n}`;g&&p.log(`Recording outcome: "${s}"${r>1?` (${r} times)`:""}`),this._outcomes[s]=(this._outcomes[s]||0)+r}}on(e,n){const r=this._hooks[e]=this._hooks[e]||[];return r.push(n),()=>{const s=r.indexOf(n);s>-1&&r.splice(s,1)}}emit(e,...n){const r=this._hooks[e];r&&r.forEach(s=>s(...n))}sendEnvelope(e){return this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport?this._transport.send(e).then(null,n=>(g&&p.error("Error while sending envelope:",n),n)):(g&&p.error("Transport disabled"),I({}))}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=Tt(this,e),pe(this,e)}_updateSessionFromEvent(e,n){var c;let r=n.level==="fatal",s=!1;const o=(c=n.exception)==null?void 0:c.values;if(o){s=!0;for(const u of o){const d=u.mechanism;if((d==null?void 0:d.handled)===!1){r=!0;break}}}const i=e.status==="ok";(i&&e.errors===0||i&&r)&&(fe(e,{...r&&{status:"crashed"},errors:e.errors||Number(s||r)}),this.captureSession(e))}_isClientDoneProcessing(e){return new qe(n=>{let r=0;const s=1,o=setInterval(()=>{this._numProcessing==0?(clearInterval(o),n(!0)):(r+=s,e&&r>=e&&(clearInterval(o),n(!1)))},s)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(e,n,r,s){const o=this.getOptions(),i=Object.keys(this._integrations);return!n.integrations&&(i!=null&&i.length)&&(n.integrations=i),this.emit("preprocessEvent",e,n),e.type||s.setLastEventId(e.event_id||n.event_id),It(o,e,n,r,this,s).then(a=>{if(a===null)return a;this.emit("postprocessEvent",a,n),a.contexts={trace:Ot(r),...a.contexts};const c=Nt(this,r);return a.sdkProcessingMetadata={dynamicSamplingContext:c,...a.sdkProcessingMetadata},a})}_captureEvent(e,n={},r=B(),s=Ge()){return g&&J(e)&&p.log(`Captured error event \`${rt(e)[0]||"<unknown>"}\``),this._processEvent(e,n,r,s).then(o=>o.event_id,o=>{g&&(we(o)?p.log(o.message):ke(o)?p.warn(o.message):p.warn(o))})}_processEvent(e,n,r,s){const o=this.getOptions(),{sampleRate:i}=o,a=it(e),c=J(e),u=e.type||"error",d=`before send for type \`${u}\``,l=typeof i>"u"?void 0:kt(i);if(c&&typeof l=="number"&&Math.random()>l)return this.recordDroppedEvent("sample_rate","error"),D(G(`Discarding event because it's not included in the random sample (sampling rate = ${i})`));const m=u==="replay_event"?"replay":u;return this._prepareEvent(e,n,r,s).then(f=>{if(f===null)throw this.recordDroppedEvent("event_processor",m),G("An event processor returned `null`, will not send event.");if(n.data&&n.data.__sentry__===!0)return f;const R=ln(this,o,f,n);return un(R,d)}).then(f=>{var ue;if(f===null){if(this.recordDroppedEvent("before_send",m),a){const j=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",j)}throw G(`${d} returned \`null\`, will not send event.`)}const O=r.getSession()||s.getSession();if(c&&O&&this._updateSessionFromEvent(O,f),a){const x=((ue=f.sdkProcessingMetadata)==null?void 0:ue.spanCountBeforeProcessing)||0,j=f.spans?f.spans.length:0,le=x-j;le>0&&this.recordDroppedEvent("before_send","span",le)}const R=f.transaction_info;if(a&&R&&f.transaction!==e.transaction){const x="custom";f.transaction_info={...R,source:x}}return this.sendEvent(f,n),f}).then(null,f=>{throw we(f)||ke(f)?f:(this.captureException(f,{data:{__sentry__:!0},originalException:f}),F(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 2Reason: ${f}`))})}_process(e){this._numProcessing++,e.then(n=>(this._numProcessing--,n),n=>(this._numProcessing--,n))}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.entries(e).map(([n,r])=>{const[s,o]=n.split(":");return{reason:s,category:o,quantity:r}})}_flushOutcomes(){g&&p.log("Flushing outcomes...");const e=this._clearOutcomes();if(e.length===0){g&&p.log("No outcomes to send");return}if(!this._dsn){g&&p.log("No dsn provided, will not send outcomes");return}g&&p.log("Sending outcomes:",e);const n=an(e,this._options.tunnel&&ze(this._dsn));this.sendEnvelope(n)}}function un(t,e){const n=`${e} must return \`null\` or a valid event.`;if(At(t))return t.then(r=>{if(!K(r)&&r!==null)throw F(n);return r},r=>{throw F(`${e} rejected with ${r}`)});if(!K(t)&&t!==null)throw F(n);return t}function ln(t,e,n,r){const{beforeSend:s,beforeSendTransaction:o,beforeSendSpan:i}=e;let a=n;if(J(a)&&s)return s(a,r);if(it(a)){if(i){const c=i(sn(a));if(c?a=wt(n,on(c)):me(),a.spans){const u=[];for(const d of a.spans){const l=i(d);l?u.push(l):(me(),u.push(d))}a.spans=u}}if(o){if(a.spans){const c=a.spans.length;a.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:c}}return o(a,r)}}return a}function J(t){return t.type===void 0}function it(t){return t.type==="transaction"}function dn(t){return[{type:"log",item_count:t.length,content_type:"application/vnd.sentry.items.log+json"},{items:t}]}function fn(t,e,n,r){const s={};return e!=null&&e.sdk&&(s.sdk={name:e.sdk.name,version:e.sdk.version}
2),n&&r&&(s.dsn=ze(r)),re(s,[dn(t)])}b._sentryClientToLogBufferMap=new WeakMap;function z(t,e){var o;const n=pn(t)??[];if(n.length===0)return;const r=t.getOptions(),s=fn(n,r._metadata,r.tunnel,t.getDsn());(o=b._sentryClientToLogBufferMap)==null||o.set(t,[]),t.emit("flushLogs"),t.sendEnvelope(s)}function pn(t){var e;return(e=b._sentryClientToLogBufferMap)==null?void 0:e.get(t)}function mn(t,e){e.debug===!0&&(g?p.enable():U(()=>{})),B().update(e.initialScope);const r=new t(e);return gn(r),r.init(),r}function gn(t){B().setClient(t)}const at=Symbol.for("SentryBufferFullError");function hn(t){const e=[];function n(){return t===void 0||e.length<t}function r(i){return e.splice(e.indexOf(i),1)[0]||Promise.resolve(void 0)}function s(i){if(!n())return D(at);const a=i();return e.indexOf(a)===-1&&e.push(a),a.then(()=>r(a)).then(null,()=>r(a).then(null,()=>{})),a}function o(i){return new qe((a,c)=>{let u=e.length;if(!u)return a(!0);const d=setTimeout(()=>{i&&i>0&&a(!1)},i);e.forEach(l=>{I(l).then(()=>{--u||(clearTimeout(d),a(!0))},c)})})}return{$:e,add:s,drain:o}}const _n=60*1e3;function En(t,e=Date.now()){const n=parseInt(`${t}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${t}`);return isNaN(r)?_n:r-e}function yn(t,e){return t[e]||t.all||0}function vn(t,e,n=Date.now()){return yn(t,e)>n}function bn(t,{statusCode:e,headers:n},r=Date.now()){const s={...t},o=n==null?void 0:n["x-sentry-rate-limits"],i=n==null?void 0:n["retry-after"];if(o)for(const a of o.trim().split(",")){const[c,u,,,d]=a.split(":",5),l=parseInt(c,10),m=(isNaN(l)?60:l)*1e3;if(!u)s.all=r+m;else for(const f of u.split(";"))f==="metric_bucket"?(!d||d.split(";").includes("custom"))&&(s[f]=r+m):s[f]=r+m}else i?s.all=r+En(i,r):e===429&&(s.all=r+60*1e3);return s}const Sn=64;function Tn(t,e,n=hn(t.bufferSize||Sn)){let r={};const s=i=>n.drain(i);function o(i){const a=[];if(ge(i,(l,m)=>{const f=he(m);vn(r,f)?t.recordDroppedEvent("ratelimit_backoff",f):a.push(l)}),a.length===0)return I({});const c=re(i[0],a),u=l=>{ge(c,(m,f)=>{t.recordDroppedEvent(l,he(f))})},d=()=>e({body:Rt(c)}).then(l=>(l.statusCode!==void 0&&(l.statusCode<200||l.statusCode>=300)&&g&&p.warn(`Sentry responded with status code ${l.statusCode} to sent event.`),r=bn(r,l),l),l=>{throw u("network_error"),g&&p.error("Encountered error running transport request:",l),l});return n.add(d).then(l=>l,l=>{if(l===at)return g&&p.error("Skipped sending event because buffer is full."),u("queue_overflow"),I({});throw l})}return{send:o,flush:s}}function In(t){var e;((e=t.user)==null?void 0:e.ip_address)===void 0&&(t.user={...t.user,ip_address:"{{auto}}"})}function On(t){var e;"aggregates"in t?((e=t.attrs)==null?void 0:e.ip_address)===void 0&&(t.attrs={...t.attrs,ip_address:"{{auto}}"}):t.ipAddress===void 0&&(t.ipAddress="{{auto}}")}function ct(t,e,n=[e],r="npm"){const s=t._metadata||{};s.sdk||(s.sdk={name:`sentry.javascript.${e}`,packages:n.map(o=>({name:`${r}:@sentry/${o}`,version:_e})),version:_e}),t._metadata=s}const Nn=100;function S(t,e){const n=_(),r=Ge();if(!n)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:o=Nn}=n.getOptions();if(o<=0)return;const a={timestamp:We(),...t},c=s?U(()=>s(a,e)):a;c!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",c,e),r.addBreadcrumb(c,o))}let Ae;const kn="FunctionToString",Re=new WeakMap,wn=(()=>({name:kn,setupOnce(){Ae=Function.prototype.toString;try{Function.prototype.toString=function(...t){const e=Ke(this),n=Re.has(_())&&e!==void 0?e:this;return Ae.apply(n,t)}}catch{}},setup(t){Re.set(t,!0)}})),An=E(wn),Rn=[/^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$/],xn="EventFilters",Ln=E((t={})=>{let e;return{name:xn,setup(n){const r=n.getOptions();e=xe(t,r)},processEvent(n,r,s){if(!e){const o=s.getOptions();e=xe(t,o)}return Fn(n,e)?null:n}}}),$n=E(((t={})=>({...Ln(t),name:"InboundFilters"})));function xe(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:Rn],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[]]}}function Fn(t,e){if(t.type){if(t.type==="transaction"&&Dn(t,e.ignoreTransactions))return g&&p.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 3Event: ${T(t)}`),!0}else{if(Cn(t,e.ignoreErrors))return g&&p.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 4Event: ${T(t)}`),!0;if(Un(t))return g&&p.warn(`Event dropped due to not having an error message, error type or stacktrace. 5Event: ${T(t)}`),!0;if(Pn(t,e.denyUrls))return g&&p.warn(`Event dropped due to being matched by \`denyUrls\` option. 6Event: ${T(t)}. 7Url: ${M(t)}`),!0;if(!Mn(t,e.allowUrls))return g&&p.warn(`Event dropped due to not being matched by \`allowUrls\` option. 8Event: ${T(t)}. 9Url: ${M(t)}`),!0}return!1}function Cn(t,e){return e!=null&&e.length?rt(t).some(n=>H(n,e)):!1}function Dn(t,e){if(!(e!=null&&e.length))return!1;const n=t.transaction;return n?H(n,e):!1}function Pn(t,e){if(!(e!=null&&e.length))return!1;const n=M(t);return n?H(n,e):!1}function Mn(t,e){if(!(e!=null&&e.length))return!0;const n=M(t);return n?H(n,e):!0}function Bn(t=[]){for(let e=t.length-1;e>=0;e--){const n=t[e];if(n&&n.filename!=="<anonymous>"&&n.filename!=="[native code]")return n.filename||null}return null}function M(t){var e,n;try{const r=[...((e=t.exception)==null?void 0:e.values)??[]].reverse().find(o=>{var i,a,c;return((i=o.mechanism)==null?void 0:i.parent_id)===void 0&&((c=(a=o.stacktrace)==null?void 0:a.frames)==null?void 0:c.length)}),s=(n=r==null?void 0:r.stacktrace)==null?void 0:n.frames;return s?Bn(s):null}catch{return g&&p.error(`Cannot extract url for event ${T(t)}`),null}}function Un(t){var e,n;return(n=(e=t.exception)==null?void 0:e.values)!=null&&n.length?!t.message&&!t.exception.values.some(r=>r.stacktrace||r.type&&r.type!=="Error"||r.value):!1}function Hn(t,e,n,r,s,o){var a;if(!((a=s.exception)!=null&&a.values)||!o||!X(o.originalException,Error))return;const i=s.exception.values.length>0?s.exception.values[s.exception.values.length-1]:void 0;i&&(s.exception.values=Z(t,e,r,o.originalException,n,s.exception.values,i,0
9))}function Z(t,e,n,r,s,o,i,a){if(o.length>=n+1)return o;let c=[...o];if(X(r[s],Error)){Le(i,a);const u=t(e,r[s]),d=c.length;$e(u,s,d,a),c=Z(t,e,n,r[s],s,[u,...c],u,d)}return Array.isArray(r.errors)&&r.errors.forEach((u,d)=>{if(X(u,Error)){Le(i,a);const l=t(e,u),m=c.length;$e(l,`errors[${d}]`,m,a),c=Z(t,e,n,u,s,[l,...c],l,m)}}),c}function Le(t,e){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,...t.type==="AggregateError"&&{is_exception_group:!0},exception_id:e}}function $e(t,e,n,r){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,type:"chained",source:e,exception_id:n,parent_id:r}}function jn(t){const e="console";Xe(e,t),Ve(e,Wn)}function Wn(){"console"in b&&xt.forEach(function(t){t in b.console&&y(b.console,t,function(e){return Ee[t]=e,function(...n){Je("console",{args:n,level:t});const s=Ee[t];s==null||s.apply(b.console,n)}})})}function qn(t){return t==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(t)?t:"log"}const Gn="Dedupe",zn=(()=>{let t;return{name:Gn,processEvent(e){if(e.type)return e;try{if(Kn(e,t))return g&&p.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return t=e}}}),Yn=E(zn);function Kn(t,e){return e?!!(Xn(t,e)||Vn(t,e)):!1}function Xn(t,e){const n=t.message,r=e.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!lt(t,e)||!ut(t,e))}function Vn(t,e){const n=Fe(e),r=Fe(t);return!(!n||!r||n.type!==r.type||n.value!==r.value||!lt(t,e)||!ut(t,e))}function ut(t,e){let n=ye(t),r=ye(e);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let s=0;s<r.length;s++){const o=r[s],i=n[s];if(o.filename!==i.filename||o.lineno!==i.lineno||o.colno!==i.colno||o.function!==i.function)return!1}return!0}function lt(t,e){let n=t.fingerprint,r=e.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 Fe(t){var e;return((e=t.exception)==null?void 0:e.values)&&t.exception.values[0]}function dt(t){if(t!==void 0)return t>=400&&t<500?"warning":t>=500?"error":void 0}function Jn(){return"npm"}function ie(t,e){const n=ae(t,e),r={type:nr(e),value:rr(e)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function Zn(t,e,n,r){const s=_(),o=s==null?void 0:s.getOptions().normalizeDepth,i=cr(e),a={__serialized__:Ft(e,o)};if(i)return{exception:{values:[ie(t,i)]},extra:a};const c={exception:{values:[{type:oe(e)?e.constructor.name:r?"UnhandledRejection":"Error",value:ir(e,{isUnhandledRejection:r})}]},extra:a};if(n){const u=ae(t,n);u.length&&(c.exception.values[0].stacktrace={frames:u})}return c}function Y(t,e){return{exception:{values:[ie(t,e)]}}}function ae(t,e){const n=e.stacktrace||e.stack||"",r=er(e),s=tr(e);try{return t(n,r,s)}catch{}return[]}const Qn=/Minified React error #\d+;/i;function er(t){return t&&Qn.test(t.message)?1:0}function tr(t){return typeof t.framesToPop=="number"?t.framesToPop:0}function ft(t){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?t instanceof WebAssembly.Exception:!1}function nr(t){const e=t==null?void 0:t.name;return!e&&ft(t)?t.message&&Array.isArray(t.message)&&t.message.length==2?t.message[0]:"WebAssembly.Exception":e}function rr(t){const e=t==null?void 0:t.message;return ft(t)?Array.isArray(t.message)&&t.message.length==2?t.message[1]:"wasm exception":e?e.error&&typeof e.error.message=="string"?e.error.message:e:"No error message"}function sr(t,e,n,r){const s=(n==null?void 0:n.syntheticException)||void 0,o=ce(t,e,s,r);return P(o),o.level="error",n!=null&&n.event_id&&(o.event_id=n.event_id),I(o)}function or(t,e,n="info",r,s){const o=(r==null?void 0:r.syntheticException)||void 0,i=Q(t,e,o,s);return i.level=n,r!=null&&r.event_id&&(i.event_id=r.event_id),I(i)}function ce(t,e,n,r,s){let o;if(Ze(e)&&e.error)return Y(t,e.error);if(ve(e)||Lt(e)){const i=e;if("stack"in e)o=Y(t,e);else{const a=i.name||(ve(i)?"DOMError":"DOMException"),c=i.message?`${a}: ${i.message}`:a;o=Q(t,c,n,r),be(o,c)}return"code"in i&&(o.tags={...o.tags,"DOMException.code":`${i.code}`}),o}return $t(e)?Y(t,e):K(e)||oe(e)?(o=Zn(t,e,n,s),P(o,{synthetic:!0}),o):(o=Q(t,e,n,r),be(o,`${e}`),P(o,{synthetic:!0}),o)}function Q(t,e,n,r){const s={};if(r&&n){const o=ae(t,n);o.length&&(s.exception={values:[{value:e,stacktrace:{frames:o}}]}),P(s,{synthetic:!0})}
9if(Ye(e)){const{__sentry_template_string__:o,__sentry_template_values__:i}=e;return s.logentry={message:o,params:i},s}return s.message=e,s}function ir(t,{isUnhandledRejection:e}){const n=Ct(t),r=e?"promise rejection":"exception";return Ze(t)?`Event \`ErrorEvent\` captured as ${r} with message \`${t.message}\``:oe(t)?`Event \`${ar(t)}\` (type=${t.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function ar(t){try{const e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch{}}function cr(t){for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];if(n instanceof Error)return n}}const ur=5e3;class lr extends cn{constructor(e){const n={parentSpanIsAlwaysRootSpan:!0,...e},r=h.SENTRY_SDK_SOURCE||Jn();ct(n,"browser",["browser"],r),super(n);const s=this,{sendDefaultPii:o,_experiments:i}=s._options,a=i==null?void 0:i.enableLogs;n.sendClientReports&&h.document&&h.document.addEventListener("visibilitychange",()=>{h.document.visibilityState==="hidden"&&(this._flushOutcomes(),a&&z(s))}),a&&(s.on("flush",()=>{z(s)}),s.on("afterCaptureLog",()=>{s._logFlushIdleTimeout&&clearTimeout(s._logFlushIdleTimeout),s._logFlushIdleTimeout=setTimeout(()=>{z(s)},ur)})),o&&(s.on("postprocessEvent",In),s.on("beforeSendSession",On))}eventFromException(e,n){return sr(this._options.stackParser,e,n,this._options.attachStacktrace)}eventFromMessage(e,n="info",r){return or(this._options.stackParser,e,n,r,this._options.attachStacktrace)}_prepareEvent(e,n,r,s){return e.platform=e.platform||"javascript",super._prepareEvent(e,n,r,s)}}const dr=1e3;let Ce,ee,te;function fr(t){Xe("dom",t),Ve("dom",pr)}function pr(){if(!v.document)return;const t=Je.bind(null,"dom"),e=De(t,!0);v.document.addEventListener("click",e,!1),v.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach(n=>{var o,i;const s=(o=v[n])==null?void 0:o.prototype;(i=s==null?void 0:s.hasOwnProperty)!=null&&i.call(s,"addEventListener")&&(y(s,"addEventListener",function(a){return function(c,u,d){if(c==="click"||c=="keypress")try{const l=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},m=l[c]=l[c]||{refCount:0};if(!m.handler){const f=De(t);m.handler=f,a.call(this,c,f,d)}m.refCount++}catch{}return a.call(this,c,u,d)}}),y(s,"removeEventListener",function(a){return function(c,u,d){if(c==="click"||c=="keypress")try{const l=this.__sentry_instrumentation_handlers__||{},m=l[c];m&&(m.refCount--,m.refCount<=0&&(a.call(this,c,m.handler,d),m.handler=void 0,delete l[c]),Object.keys(l).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return a.call(this,c,u,d)}}))})}function mr(t){if(t.type!==ee)return!1;try{if(!t.target||t.target._sentryId!==te)return!1}catch{}return!0}function gr(t,e){return t!=="keypress"?!1:e!=null&&e.tagName?!(e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.isContentEditable):!0}function De(t,e=!1){return n=>{if(!n||n._sentryCaptured)return;const r=hr(n);if(gr(n.type,r))return;V(n,"_sentryCaptured",!0),r&&!r._sentryId&&V(r,"_sentryId",$());
9const s=n.type==="keypress"?"input":n.type;mr(n)||(t({event:n,name:s,global:e}),ee=n.type,te=r?r._sentryId:void 0),clearTimeout(Ce),Ce=v.setTimeout(()=>{te=void 0,ee=void 0},dr)}}function hr(t){try{return t.target}catch{return null}}const C={};function _r(t){const e=C[t];if(e)return e;let n=v[t];if(Dt(n))return C[t]=n.bind(v);const r=v.document;if(r&&typeof r.createElement=="function")try{const s=r.createElement("iframe");s.hidden=!0,r.head.appendChild(s);const o=s.contentWindow;o!=null&&o[t]&&(n=o[t]),r.head.removeChild(s)}catch(s){Pt&&p.warn(`Could not create sandbox iframe for ${t} check, bailing to window.${t}: `,s)}return n&&(C[t]=n.bind(v))}function Pe(t){C[t]=void 0}function Er(t,e=_r("fetch")){let n=0,r=0;function s(o){const i=o.body.length;n+=i,r++;const a={body:o.body,method:"POST",referrerPolicy:"strict-origin",headers:t.headers,keepalive:n<=6e4&&r<15,...t.fetchOptions};if(!e)return Pe("fetch"),D("No fetch implementation available");try{return e(t.url,a).then(c=>(n-=i,r--,{statusCode:c.status,headers:{"x-sentry-rate-limits":c.headers.get("X-Sentry-Rate-Limits"),"retry-after":c.headers.get("Retry-After")}}))}catch(c){return Pe("fetch"),n-=i,r--,D(c)}}return Tn(t,s)}const yr=30,vr=50;function ne(t,e,n,r){const s={filename:t,function:e==="<anonymous>"?N:e,in_app:!0};return n!==void 0&&(s.lineno=n),r!==void 0&&(s.colno=r),s}const br=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,Sr=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Tr=/\((\S*)(?::(\d+))(?::(\d+))\)/,Ir=t=>{const e=br.exec(t);if(e){const[,r,s,o]=e;return ne(r,N,+s,+o)}const n=Sr.exec(t);if(n){if(n[2]&&n[2].indexOf("eval")===0){const i=Tr.exec(n[2]);i&&(n[2]=i[1],n[3]=i[2],n[4]=i[3])}const[s,o]=pt(n[1]||N,n[2]);return ne(o,s,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}},Or=[yr,Ir],Nr=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,kr=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,wr=t=>{const e=Nr.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const o=kr.exec(e[3]);o&&(e[1]=e[1]||"eval",e[3]=o[1],e[4]=o[2],e[5]="")}let r=e[3],s=e[1]||N;return[s,r]=pt(s,r),ne(r,s,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}},Ar=[vr,wr],Rr=[Or,Ar],xr=Mt(...Rr),pt=(t,e)=>{const n=t.indexOf("safari-extension")!==-1,r=t.indexOf("safari-web-extension")!==-1;return n||r?[t.indexOf("@")!==-1?t.split("@")[0]:N,n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]},L=1024,Lr="Breadcrumbs",$r=((t={})=>{const e={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t};return{name:Lr,setup(n){e.console&&jn(Pr(n)),e.dom&&fr(Dr(n,e.dom)),e.xhr&&Bt(Mr(n)),e.fetch&&Ut
9(Br(n)),e.history&&Qe(Ur(n)),e.sentry&&n.on("beforeSendEvent",Cr(n))}}}),Fr=E($r);function Cr(t){return function(n){_()===t&&S({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:T(n)},{event:n})}}function Dr(t,e){return function(r){if(_()!==t)return;let s,o,i=typeof e=="object"?e.serializeAttribute:void 0,a=typeof e=="object"&&typeof e.maxStringLength=="number"?e.maxStringLength:void 0;a&&a>L&&(w&&p.warn(`\`dom.maxStringLength\` cannot exceed ${L}, but a value of ${a} was configured. Sentry will use ${L} instead.`),a=L),typeof i=="string"&&(i=[i]);try{const u=r.event,d=Hr(u)?u.target:u;s=jt(d,{keyAttrs:i,maxStringLength:a}),o=Wt(d)}catch{s="<unknown>"}if(s.length===0)return;const c={category:`ui.${r.name}`,message:s};o&&(c.data={"ui.component_name":o}),S(c,{event:r.event,name:r.name,global:r.global})}}function Pr(t){return function(n){if(_()!==t)return;const r={category:"console",data:{arguments:n.args,logger:"console"},level:qn(n.level),message:Se(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)r.message=`Assertion failed: ${Se(n.args.slice(1)," ")||"console.assert"}`,r.data.arguments=n.args.slice(1);else return;S(r,{input:n.args,level:n.level})}}function Mr(t){return function(n){if(_()!==t)return;const{startTimestamp:r,endTimestamp:s}=n,o=n.xhr[Ht];if(!r||!s||!o)return;const{method:i,url:a,status_code:c,body:u}=o,d={method:i,url:a,status_code:c},l={xhr:n.xhr,input:u,startTimestamp:r,endTimestamp:s},m={category:"xhr",data:d,type:"http",level:dt(c)};t.emit("beforeOutgoingRequestBreadcrumb",m,l),S(m,l)}}function Br(t){return function(n){if(_()!==t)return;const{startTimestamp:r,endTimestamp:s}=n;if(s&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.fetchData.method,n.fetchData.url,n.error){const o=n.fetchData,i={data:n.error,input:n.args,startTimestamp:r,endTimestamp:s},a={category:"fetch",data:o,level:"error",type:"http"};t.emit("beforeOutgoingRequestBreadcrumb",a,i),S(a,i)}else{const o=n.response,i={...n.fetchData,status_code:o==null?void 0:o.status};n.fetchData.request_body_size,n.fetchData.response_body_size,o==null||o.status;const a={input:n.args,response:o,startTimestamp:r,endTimestamp:s},c={category:"fetch",data:i,type:"http",level:dt(i.status_code)};t.emit("beforeOutgoingRequestBreadcrumb",c,a),S(c,a)}}}function Ur(t){return function(n){if(_()!==t)return;let r=n.from,s=n.to;const o=W(h.location.href);let i=r?W(r):void 0;const a=W(s);i!=null&&i.path||(i=o),o.protocol===a.protocol&&o.host===a.host&&(s=a.relative),o.protocol===i.protocol&&o.host===i.host&&(r=i.relative),S({category:"navigation",data:{from:r,to:s}})}}function Hr(t){return!!t&&!!t.target}const jr=["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"],Wr="BrowserApiErrors",qr=((t={})=>{const e={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t};return{name:Wr,setupOnce(){e.setTimeout&&y(h,"setTimeout",Me),e.setInterval&&y(h,"setInterval",Me),e.requestAnimationFrame&&y(h,"requestAnimationFrame",zr),e.XMLHttpRequest&&"XMLHttpRequest"in h&&y(XMLHttpRequest.prototype,"send",Yr);const n=e.eventTarget;n&&(Array.isArray(n)?n:jr).forEach(Kr)}}}),Gr=E(qr);function Me(t){return function(...e){const n=e[0];return e[0]=A(n,{mechanism:{data:{function:k(t)},handled:!1,type:"instrument"}}),t.apply(this,e)}}function zr(t){return function(e){return t.apply(this,[A(e,{mechanism:{data:{function:"requestAnimationFrame",handler:k(t)},handled:!1,type:"instrument"}})])}}function Yr(t){return function(...e){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(s=>{s in n&&typeof n[s]=="function"&&y(n,s,function(o){const i={mechanism:{data:{function:s,handler:k(o)},handled:!1,type:"instrument"}},a=Ke(o);return a&&(i.mechanism.data.handler=k(a)),A(o,i)})}),t.apply(this,e)}}function Kr(t){var r,s;const n=(r=h[t])==null?void 0:r.prototype;(s=n==null?void 0:n.hasOwnProperty)!=null&&s.call(n,"addEventListener")&&(y(n,"addEventListener",function(o){return function(i,a,c){try{Xr(a)&&(a.handleEvent=A(a.handleEvent,{mechanism:{data:{function:"handleEvent",handler:k(a),target:t},handled:!1,type:"instrument"}}))}catch{}return o.apply(this,[i,A(a,{mechanism:{data:{function:"addEventListener",handler:k(a),target:t},handled:!1,type:"instrument"}}),c])}}),y(n,"removeEventListener",function(o){return function(i,a,c){try{const u=a.__sentry_wrapped__;u&&o.call(this,i,u,c)}catch{}return o.call(this,i,a,c)}}))}function Xr(t){return typeof t.handleEvent=="function"}const Vr=E(()=>({name:"BrowserSession",setupOnce(){if(typeof h.document>"u"){w&&p.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}Te({ignoreDuration:!0}),Ie(),Qe(({from:t,to:e})=>{t!==void 0&&t!==e&&(Te({ignoreDuration:!0}),Ie())})}})),Jr="GlobalHandlers",Zr=((t={})=>{const e={onerror:!0,onunhandledrejection:!0,...t};return{name:Jr,setupOnce(){Error.stackTraceLimit=50},setup(n){e.onerror&&(es(n),Be("onerror")),e.onunhandledrejection&&(ts(n),Be("onunhandledrejection"))}}}),Qr=E(Zr);function es(t){qt(e=>{const{stackParser:n,attachStacktrace:r}=mt();if(_()!==t||et())return;const{msg:s,url:o,line:i,column:a,error:c}=e,u=ss(ce(n,c||s,void 0,r,!1),o,i,a);u.level="error",tt(u,{originalException:c,mechanism:{handled:!1,type:"onerror"}})})}function ts(t){Gt(e=>{const{stackParser:n,attachStacktrace:r}=mt();if(_()!==t||et())return;const s=ns(e),o=se(s)?rs(s):ce(n,s,void 0,r,!0);o.level="error",tt(o,{originalException:s,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function ns(t){if(se(t))return t;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch{}return t}function rs(t){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}}function ss(t,e,n,r){const s=t.exception=t.exception||{},o=s.values=s.values||[],i=o[0]=o[0]||{},a=i.stacktrace=i.stacktrace||{},c=a.frames=a.frames||[],u=r,d=n,l=zt(e)&&e.length>0?e:nt();
9return c.length===0&&c.push({colno:u,filename:l,function:N,in_app:!0,lineno:d}),t}function Be(t){w&&p.log(`Global Handler attached: ${t}`)}function mt(){const t=_();return(t==null?void 0:t.getOptions())||{stackParser:()=>[],attachStacktrace:!1}}const os=E(()=>({name:"HttpContext",preprocessEvent(t){var r;if(!h.navigator&&!h.location&&!h.document)return;const e=Yt(),n={...e.headers,...(r=t.request)==null?void 0:r.headers};t.request={...e,...t.request,headers:n}}})),is="cause",as=5,cs="LinkedErrors",us=((t={})=>{const e=t.limit||as,n=t.key||is;return{name:cs,preprocessEvent(r,s,o){const i=o.getOptions();Hn(ie,i.stackParser,n,e,r,s)}}}),ls=E(us);function gt(t){return[$n(),An(),Gr(),Fr(),Qr(),ls(),Yn(),os(),Vr()]}function ds(t={}){var n;return{...{defaultIntegrations:gt(),release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:(n=h.SENTRY_RELEASE)==null?void 0:n.id,sendClientReports:!0},...fs(t)}}function fs(t){const e={};for(const n of Object.getOwnPropertyNames(t)){const r=n;t[r]!==void 0&&(e[r]=t[r])}return e}function ps(){var c;const t=typeof h.window<"u"&&h;if(!t)return!1;const e=t.chrome?"chrome":"browser",n=t[e],r=(c=n==null?void 0:n.runtime)==null?void 0:c.id,s=nt()||"",o=["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"],i=!!r&&h===h.top&&o.some(u=>s.startsWith(`${u}//`)),a=typeof t.nw<"u";return!!r&&!i&&!a}function ms(t={}){const e=ds(t);if(!e.skipBrowserExtensionCheck&&ps()){w&&U(()=>{});return}w&&!Kt()&&p.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill.");const n={...e,stackParser:Vt(e.stackParser||xr),integrations:Xt(e),transport:e.transport||Er};return mn(lr,n)}const gs={attachPiniaState:!0,addBreadcrumbs:!0,actionTransformer:t=>t,stateTransformer:t=>t},Ue=(t,e)=>{const n={};try{return Object.keys(t.state.value).forEach(r=>{n[r]=t.state.value[r]}),e?e(n):n}catch{return n}},hs=t=>{const e={...gs,...t};return({store:r,pinia:s})=>{e.attachPiniaState!==!1&&Jt().addEventProcessor((o,i)=>{var a;try{const u=`pinia_state_all_stores_${new Date().toTimeString().split(" ")[0]}.json`;((a=i.attachments)==null?void 0:a.some(l=>l.filename.startsWith("pinia_state_all_stores_")))||(i.attachments=[...i.attachments||[],{filename:u,data:JSON.stringify(Ue(s,e.stateTransformer))}])}catch{}return o}),r.$onAction(o=>{o.after(()=>{const i=e.actionTransformer(o.name);typeof i<"u"&&i!==null&&e.addBreadcrumbs!==!1&&S({category:"pinia.action",message:`Store: ${r.$id} | Action: ${i}`,level:"info"});const a=Ue(s,e.stateTransformer),c=B(),u=c.getScopeData().contexts.state;if(typeof a<"u"&&a!==null){const d=_(),l=d==null?void 0:d.getOptions(),m=(l==null?void 0:l.normalizeDepth)||3,O={...u||{},state:{type:"pinia",value:a}};V(O,"__sentry_override_normalization_depth__",3+m),c.setContext("state",O)}else c.setContext("state",{...u||{},state:{type:"pinia",value:"undefined"}})})})}};function _s(t){const e={defaultIntegrations:[...gt()],...t};return ct(e,"nuxt",["nuxt","vue"]),ms(e)}const Es="Pinia",ys=((t,e={})=>({name:Es,setup(){!t||typeof t=="object"&&!("use"in t)?U(()=>{}):t.use(hs(e))}})),vs=E(ys),bs=E((t={})=>({name:"NuxtVueIntegration",setup(){b._sentryNuxtVueIntegrationOptions=t}})),Ss=()=>Zt().$pinia;_s({dsn:q().public.SENTRY.DSN,release:q().public.BUILD_NUMBER,environment:q().public.STAGE,tracesSampleRate:.1,integrations:[vs(Ss()),bs({tracingOptions:{trackComponents:!0}})]});
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.