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