1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="01ca567c-3ddc-4b72-883a-b70bfce7440a",e._sentryDebugIdIdentifier="sentry-dbid-01ca567c-3ddc-4b72-883a-b70bfce7440a")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2083],{92083:function(e,t,n){let r,i,s,o,a,l,c,u,f;n.d(t,{captureException:function(){return D},init:function(){return tW},setUser:function(){return A}});var d=n(52361),p=n(53717),h=n(76219);function m(e,t,n=[t],r="npm"){let i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:n.map(e=>({name:`${r}:@sentry/${e}`,version:h.J})),version:h.J}),e._metadata=i}var g=n(66939),v=n(7006),_=n(89752),y=n(72936),E=n(96402);function b(e){return new x(t=>{t(e)})}function w(e){return new x((t,n)=>{n(e)})}class x{constructor(e){this._state=0,this._handlers=[],this._runExecutor(e)}then(e,t){return new x((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){r(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new x((t,n)=>{let r,i;return this.then(t=>{i=!1,r=t,e&&e()},t=>{i=!0,r=t,e&&e()}).then(()=>{if(i){n(r);return}t(r)})})}_executeHandlers(){if(0===this._state)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(1===this._state&&e[1](this._value),2===this._state&&e[2](this._value),e[0]=!0)})}_runExecutor(e){let t=(e,t)=>{if(0===this._state){if((0,E.J8)(t)){t.then(n,r);return}this._state=e,this._value=t,this._executeHandlers()}},n=e=>{t(1,e)},r=e=>{t(2,e)};try{e(n,r)}catch(e){r(e)}}}var k=n(40538),O=n(17225),S=n(86788),$=n(65138),L=n(1931),F=n(94416);let P=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function D(e,t){return(0,g.nZ)().captureException(e,t?t instanceof k.s||"function"==typeof t||Object.keys(t).some(e=>P.includes(e))?{captureContext:t}:t:void 0)}function T(e,t){return(0,g.nZ)().captureEvent(e,t)}function A(e){(0,g.aF)().setUser(e)}function R(e){(0,g.aF)().addEventProcessor(e)}function C(e){let t=(0,g.aF)(),n=(0,g.nZ)(),{userAgent:r}=d.GLOBAL_OBJ.navigator||{},i=(0,v.Hv)({user:n.getUser()||t.getUser(),...r&&{userAgent:r},...e}),s=t.getSession();return s?.status==="ok"&&(0,v.CT)(s,{status:"exited"}),B(),t.setSession(i),i}function B(){let e=(0,g.aF)(),t=(0,g.nZ)().getSession()||e.getSession();t&&(0,v.RJ)(t),j(),e.setSession()}function j(){let e=(0,g.aF)(),t=(0,g.s3)(),n=e.getSession();n&&t&&t.captureSession(n)}function M(e=!1){if(e){B();return}j()}let I=[];function N(e,t){for(let n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function X(e,t,n){if(n[t.name]){y.X&&p.fF.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,I.includes(t.name)||"function"!=typeof t.setupOnce||(t.setupOnce(),I.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){let n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,r)=>n(t,r,e))}if("function"==typeof t.processEvent){let n=t.processEvent.bind(t),r=Object.assign((t,r)=>n(t,r,e),{id:t.name});e.addEventProcessor(r)}y.X&&p.fF.log(`Integration installed: ${t.name}`)}function U(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}let J=[/^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$/],H=(e={})=>{let t;return{name:"EventFilters",setup(n){t=q(e,n.getOptions())},processEvent:(n,r,i)=>(t||(t=q(e,i.getOptions())),!function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;let n=e.transaction;return!!n&&(0,L.U0)(n,t)}(e,t.ignoreTransactions))return y.X&&p.fF.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 2Event: ${(0,S.jH)(e)}`),!0}else{var n;if(n=t.ignoreErrors,n?.length&&U(e).some(e=>(0,L.U0)(e,n)))return y.X&&p.fF.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 3Event: ${(0,S.jH)(e)}`),!0;if(e.exception?.values?.length&&!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))return y.X&&p.fF.warn(`Event dropped due to not having an error message, error type or stacktrace. 4Event: ${(0,S.jH)(e)}`),!0;if(function(e,t){if(!t?.length)return!1;let n=W(e);return!!n&&(0,L.U0)(n,t)}(e,t.denyUrls))return y.X&&p.fF.warn(`Event dropped due to being matched by \`denyUrls\` option. 5Event: ${(0,S.jH)(e)}. 6Url: ${W(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;let n=W(e);return!n||(0,L.U0)(n,t)}(e,t.allowUrls))return y.X&&p.fF.warn(`Event dropped due to not being matched by \`allowUrls\` option. 7Event: ${(0,S.jH)(e)}. 8Url: ${W(e)}`),!0}return!1}(n,t)?n:null)}},G=(e={})=>({...H(e),name:"InboundFilters"});function q(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:J],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function W(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length),n=t?.stacktrace?.frames;return n?function(e=[]){for(let t=e.length-1;t>=0;t--){let n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}catch{return y.X&&p.fF.error(`Cannot extract url for event ${(0,S.jH)(e)}`),null}}var z=n(81679);let Z=new WeakMap,V=()=>({name:"FunctionToString",setupOnce(){a=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=(0,z.HK)(this),n=Z.has((0,g.s3)())&&void 0!==t?t:this;return a.apply(n,e)}}catch{}},setup(e){Z.set(e,!0)}});var K=n(28488);let Y=()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{var n;if((n=e)&&(function(e,t){let n=e.message,r=t.message;return!!((n||r)&&(!n||r)&&(n||!r)&&n===r&&ee(e,t)&&Q(e,t))}(t,n)||function(e,t){let n=et(t),r=et(e);return!!(n&&r&&n.type===r.type&&n.value===r.value&&ee(e,t)&&Q(e,t))}(t,n)))return y.X&&p.fF.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}};function Q(e,t){let n=(0,K.Fr)(e),r=(0,K.Fr)(t);
8if(!n&&!r)return!0;if(n&&!r||!n&&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 ee(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch{return!1}}function et(e){return e.exception?.values?.[0]}var en=n(82357),er=n(68995),ei=n(59762),es=n(26943),eo=n(26352);function ea(e,t){let n=t??el().get(e)??[];if(0===n.length)return;let r=e.getOptions(),i=function(e,t,n,r){let i={};return t?.sdk&&(i.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(i.dsn=(0,es.RA)(r)),(0,eo.Jd)(i,[[{type:"trace_metric",item_count:e.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:e}]])}(n,r._metadata,r.tunnel,e.getDsn());el().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(i)}function el(){return(0,ei.YO)("clientToMetricBufferMap",()=>new WeakMap)}var ec=n(88242);let eu=Symbol.for("SentryBufferFullError");function ef(e=100){let t=new Set;return{get $(){return Array.from(t)},add:function(n){if(!(t.size<e))return w(eu);let r=n();return t.add(r),r.then(()=>{t.delete(r)},()=>{t.delete(r)}),r},drain:function(e){if(!t.size)return b(!0);let n=Promise.allSettled(Array.from(t)).then(()=>!0);return e?Promise.race([n,new Promise(t=>setTimeout(()=>t(!1),e))]):n}}}var ed=n(36048),ep=n(50607),eh=n(65978),em=n(92005),eg=n(26433);let ev="Not capturing exception because it's already been captured.",e_="Discarded session because of missing or non-string release",ey=Symbol.for("SentryInternalError"),eE=Symbol.for("SentryDoNotSendEventError");function eb(e){return{message:e,[ey]:!0}}function ew(e){return{message:e,[eE]:!0}}function ex(e){return!!e&&"object"==typeof e&&ey in e}function ek(e){return!!e&&"object"==typeof e&&eE in e}function eO(e,t,n,r,i){let s,o=0,a=!1;e.on(n,()=>{o=0,clearTimeout(s),a=!1}),e.on(t,t=>{(o+=r(t))>=8e5?i(e):a||(a=!0,s=setTimeout(()=>{i(e)},5e3))}),e.on("flush",()=>{i(e)})}class eS{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=ef(e.transportOptions?.bufferSize??64),e.dsn?this._dsn=(0,es.vK)(e.dsn):y.X&&p.fF.warn("No DSN provided, client will not send events."),this._dsn){var t,n,r;let i=(t=this._dsn,n=e.tunnel,r=e._metadata?e._metadata.sdk:void 0,n||`${function(e){let t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}(t)}${t.projectId}/envelope/?${function(e,t){let n={sentry_version:"7"};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}(t,r)}`);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:i})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&eO(this,"afterCaptureLog","flushLogs",eD,er.lP),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&eO(this,"afterCaptureMetric","flushMetrics",eP,ea)}captureException(e,t,n){let r=(0,S.DM)();if((0,S.YO)(e))return y.X&&p.fF.log(ev),r;let i={event_id:r,...t};return this._process(()=>this.eventFromException(e,i).then(e=>this._captureEvent(e,i,n)).then(e=>e),"error"),i.event_id}captureMessage(e,t,n,r){let i={event_id:(0,S.DM)(),...n},s=(0,E.Le)(e)?e:String(e),o=(0,E.pt)(e),a=o?this.eventFromMessage(s,t,i):this.eventFromException(e,i);return this._process(()=>a.then(e=>this._captureEvent(e,i,r)),o?"unknown":"error"),i.event_id}captureEvent(e,t,n){let r=(0,S.DM)();if(t?.originalException&&(0,S.YO)(t.originalException))return y.X&&p.fF.log(ev),r;let i={event_id:r,...t},s=e.sdkProcessingMetadata||{},o=s.capturedSpanScope,a=s.capturedSpanIsolationScope,l=e$(e.type);return this._process(()=>this._captureEvent(e,i,o||n,a),l),i.event_id}captureSession(e){this.sendSession(e),(0,v.CT)(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;
8this.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];X(this,e,this._integrations),t||N(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=(0,en.Mq)(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])n=(0,eo.BO)(n,(0,eo.zQ)(e));this.sendEnvelope(n).then(t=>this.emit("afterSendEvent",e,t))}sendSession(e){let{release:t,environment:n=_.J}=this._options;if("aggregates"in e){let r=e.attrs||{};if(!r.release&&!t){y.X&&p.fF.warn(e_);return}r.release=r.release||t,r.environment=r.environment||n,e.attrs=r}else{if(!e.release&&!t){y.X&&p.fF.warn(e_);return}e.release=e.release||t,e.environment=e.environment||n}this.emit("beforeSendSession",e);let r=(0,en.Q3)(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){let r=`${e}:${t}`;y.X&&p.fF.log(`Recording outcome: "${r}"${n>1?` (${n} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||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 y.X&&p.fF.error("Error while sending envelope:",e),{}}return y.X&&p.fF.error("Transport disabled"),{}}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=function(e,t){let n={};return t.forEach(t=>{t&&X(e,t,n)}),n}(this,e),N(this,e)}_updateSessionFromEvent(e,t){let n="fatal"===t.level,r=!1,i=t.exception?.values;if(i){for(let e of(r=!0,n=!1,i))if(e.mechanism?.handled===!1){n=!0;break}}let s="ok"===e.status;(s&&0===e.errors||s&&n)&&((0,v.CT)(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!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,a){let l=this.getOptions(),c=Object.keys(this._integrations);return!t.integrations&&c?.length&&(t.integrations=c),this.emit("preprocessEvent",e,t),e.type||a.setLastEventId(e.event_id||t.event_id),(function(e,t,n,a,l,c){let{normalizeDepth:u=3,normalizeMaxBreadth:f=1e3}=e,h={...t,event_id:t.event_id||n.event_id||(0,S.DM)(),timestamp:t.timestamp||(0,F.yW)()},m=n.integrations||e.integrations.map(e=>e.name);(function(e,t){let{environment:n,release:r,dist:i,maxValueLength:s}=t;e.environment=e.environment||n||_.J,!e.release&&r&&(e.release=r),!e.dist&&i&&(e.dist=i);let o=e.request;o?.url&&s&&(o.url=(0,L.$G)(o.url,s)),s&&e.exception?.values?.forEach(e=>{e.value&&(e.value=L.$G(e.value,s))})})(h,e),m.length>0&&(h.sdk=h.sdk||{},h.sdk.integrations=[...h.sdk.integrations||[],...m]),l&&l.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){let n=function(e){let t=d.GLOBAL_OBJ._sentryDebugIds,n=d.GLOBAL_OBJ._debugIds;if(!t&&!n)return{};let a=t?Object.keys(t):[],l=n?Object.keys(n):[];if(o&&a.length===i&&l.length===s)return o;i=a.length,s=l.length,o={},r||(r={});let c=(t,n)=>{for(let i of t){let t=n[i],s=r?.[i];if(s&&o&&t)o[s[0]]=t,r&&(r[i]=[s[0],t]);else if(t){let n=e(i);for(let e=n.length-1;e>=0;e--){let s=n[e],a=s?.filename;if(a&&o&&r){o[a]=t,r[i]=[a,t];break}}}}};return t&&c(a,t),n&&c(l,n),o}(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=n[e.filename])})})}(h,e.stackParser);let v=function(e,t){if(!t)return e;let n=e?e.clone():new k.s;return n.update(t),n}(a,n.captureContext);n.mechanism&&(0,S.EG)(h,n.mechanism);let x=l?l.getEventProcessors():[],P=(0,g.lW)().getScopeData();if(c){let e=c.getScopeData();(0,O.yo)(P,e)}if(v){let e=v.getScopeData();(0,O.yo)(P,e)}let D=[...n.attachments||[],...P.attachments];return D.length&&(n.attachments=D),(0,O.gi)(h,P),(function(e,t,n,r=0){try{let i=function e(t,n,r,i){let s=r[i];if(!t||!s)return t;let o=s({...t},n);return(y.X&&null===o&&p.fF.log(`Event processor "${s.id||"?"}" dropped event`),(0,E.J8)(o))?o.then(t=>e(t,n,r,i+1)):e(o,n,r,i+1)}(t,n,e,r);return(0,E.J8)(i)?i:b(i)}catch(e){return w(e)}})([...x,...P.eventProcessors],h,n).then(e=>(e&&function(e){let t={};
8if(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)})}),0===Object.keys(t).length)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})})}(e),"number"==typeof u&&u>0)?function(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:(0,$.Fv)(e.data,t,n)}}))},...e.user&&{user:(0,$.Fv)(e.user,t,n)},...e.contexts&&{contexts:(0,$.Fv)(e.contexts,t,n)},...e.extra&&{extra:(0,$.Fv)(e.extra,t,n)}};return e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=(0,$.Fv)(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:(0,$.Fv)(e.data,t,n)}}))),e.contexts?.flags&&r.contexts&&(r.contexts.flags=(0,$.Fv)(e.contexts.flags,3,n)),r}(e,u,f):e)})(l,e,t,n,this,a).then(e=>{if(null===e)return e;this.emit("postprocessEvent",e,t),e.contexts={trace:(0,g.XX)(n),...e.contexts};let r=(0,ec.CG)(this,n);return e.sdkProcessingMetadata={dynamicSamplingContext:r,...e.sdkProcessingMetadata},e})}_captureEvent(e,t={},n=(0,g.nZ)(),r=(0,g.aF)()){return y.X&&eL(e)&&p.fF.log(`Captured error event \`${U(e)[0]||"<unknown>"}\``),this._processEvent(e,t,n,r).then(e=>e.event_id,e=>{y.X&&(ek(e)?p.fF.log(e.message):ex(e)?p.fF.warn(e.message):p.fF.warn(e))})}_processEvent(e,t,n,r){let i=this.getOptions(),{sampleRate:s}=i,o=eF(e),a=eL(e),l=e.type||"error",c=`before send for type \`${l}\``,u=void 0===s?void 0:(0,ep.o)(s);if(a&&"number"==typeof u&&Math.random()>u)return this.recordDroppedEvent("sample_rate","error"),w(ew(`Discarding event because it's not included in the random sample (sampling rate = ${s})`));let f=e$(e.type);return this._prepareEvent(e,t,n,r).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",f),ew("An event processor returned `null`, will not send event.");return t.data&&!0===t.data.__sentry__?e:function(e,t){let n=`${t} must return \`null\` or a valid event.`;if((0,E.J8)(e))return e.then(e=>{if(!(0,E.PO)(e)&&null!==e)throw eb(n);return e},e=>{throw eb(`${t} rejected with ${e}`)});if(!(0,E.PO)(e)&&null!==e)throw eb(n);return e}(function(e,t,n,r){let{beforeSend:i,beforeSendTransaction:s,beforeSendSpan:o,ignoreSpans:a}=t,l=n;if(eL(l)&&i)return i(l,r);if(eF(l)){if(o||a){let t=function(e){let{trace_id:t,parent_span_id:n,span_id:r,status:i,origin:s,data:o,op:a}=e.contexts?.trace??{};return{data:o??{},description:e.transaction,op:a,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:i,timestamp:e.timestamp,trace_id:t??"",origin:s,profile_id:o?.[eg.p6],exclusive_time:o?.[eg.JQ],measurements:e.measurements,is_segment:!0}}(l);if(a?.length&&(0,eh.l)(t,a))return null;if(o){let e=o(t);e?l=(0,ed.T)(n,{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&&{[eg.p6]:e.profile_id},...e.exclusive_time&&{[eg.JQ]:e.exclusive_time}}}},measurements:e.measurements}):(0,em.R6)()}if(l.spans){let t=[],n=l.spans;for(let e of n){if(a?.length&&(0,eh.l)(e,a)){(0,eh.x)(n,e);continue}if(o){let n=o(e);n?t.push(n):((0,em.R6)(),t.push(e))}else t.push(e)}let r=l.spans.length-t.length;r&&e.recordDroppedEvent("before_send","span",r),l.spans=t}}if(s){if(l.spans){let e=l.spans.length;l.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return s(l,r)}}return l}(this,i,e,t),c)}).then(i=>{if(null===i){if(this.recordDroppedEvent("before_send",f),o){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw ew(`${c} returned \`null\`, will not send event.`)}let s=n.getSession()||r.getSession();if(a&&s&&this._updateSessionFromEvent(s,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=>{if(ek(e)||ex(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),eb(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 9Reason: ${e}`)})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===eu&&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(){y.X&&p.fF.log("Flushing outcomes...");let e=this._clearOutcomes();if(0===e.length){y.X&&p.fF.log("No outcomes to send");return}if(!this._dsn){y.X&&p.fF.log("No dsn provided, will not send outcomes");return}y.X&&p.fF.log("Sending outcomes:",e);let t=function(e,t,n){let r=[{type:"client_report"},{timestamp:(0,F.yW)(),discarded_events:e}];return(0,eo.Jd)(t?{dsn:t}:{},[r])}(e,this._options.tunnel&&(0,es.RA)(this._dsn));this.sendEnvelope(t)}}function e$(e){return"replay_event"===e?"replay":e||"error"}function eL(e){return void 0===e.type}function eF(e){return"transaction"===e.type}function eP(e){let t=0;return e.name&&(t+=2*e.name.length),(t+=8)+eT(e.attributes)}function eD(e){let t=0;return e.message&&(t+=2*e.message.length),t+eT(e.attributes)}function eT(e){if(!e)return 0;let t=0;
9return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*eA(e[0]):(0,E.pt)(e)?t+=eA(e):t+=100}),t}function eA(e){return"string"==typeof e?2*e.length:"number"==typeof e?8:"boolean"==typeof e?4:0}function eR(e){"aggregates"in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}function eC(e,t){let n=ej(e,t),r={type:function(e){let t=e?.name;return!t&&eI(e)?e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception":t}(t),value:function(e){let t=e?.message;return eI(e)?Array.isArray(e.message)&&2==e.message.length?e.message[1]:"wasm exception":t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function eB(e,t){return{exception:{values:[eC(e,t)]}}}function ej(e,t){let n=t.stacktrace||t.stack||"",r=t&&eM.test(t.message)?1:0,i="number"==typeof t.framesToPop?t.framesToPop:0;try{return e(n,r,i)}catch{}return[]}let eM=/Minified React error #\d+;/i;function eI(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function eN(e,t,n,r,i){let s;if((0,E.VW)(t)&&t.error)return eB(e,t.error);if((0,E.TX)(t)||(0,E.fm)(t)){if("stack"in t)s=eB(e,t);else{let i=t.name||((0,E.TX)(t)?"DOMError":"DOMException"),o=t.message?`${i}: ${t.message}`:i;s=eX(e,o,n,r),(0,S.Db)(s,o)}return"code"in t&&(s.tags={...s.tags,"DOMException.code":`${t.code}`}),s}return(0,E.VZ)(t)?eB(e,t):((0,E.PO)(t)||(0,E.cO)(t)?s=function(e,t,n,r){let i=(0,g.s3)(),s=i?.getOptions().normalizeDepth,o=function(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)){let n=e[t];if(n instanceof Error)return n}}(t),a={__serialized__:(0,$.Qy)(t,s)};if(o)return{exception:{values:[eC(e,o)]},extra:a};let l={exception:{values:[{type:(0,E.cO)(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:t}){let n=(0,z.zf)(e),r=t?"promise rejection":"exception";if((0,E.VW)(e))return`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``;if((0,E.cO)(e)){let t=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}(e);return`Event \`${t}\` (type=${e.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}(t,{isUnhandledRejection:r})}]},extra:a};if(n){let t=ej(e,n);t.length&&(l.exception.values[0].stacktrace={frames:t})}return l}(e,t,n,i):(s=eX(e,t,n,r),(0,S.Db)(s,`${t}`,void 0)),(0,S.EG)(s,{synthetic:!0}),s)}function eX(e,t,n,r){let i={};if(r&&n){let r=ej(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]}),(0,S.EG)(i,{synthetic:!0})}if((0,E.Le)(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}var eU=n(93857);let eJ=d.GLOBAL_OBJ,eH=0;function eG(e,t={}){if("function"!=typeof e)return e;try{let t=e.__sentry_wrapped__;if(t){if("function"==typeof t)return t;return e}if((0,z.HK)(e))return e}catch{return e}let n=function(...n){try{let r=n.map(e=>eG(e,t));return e.apply(this,r)}catch(e){throw eH++,setTimeout(()=>{eH--}),(0,g.$e)(r=>{r.addEventProcessor(e=>(t.mechanism&&((0,S.Db)(e,void 0,void 0),(0,S.EG)(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),D(e)}),e}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}catch{}(0,z.$Q)(n,e),(0,z.xp)(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>e.name})}catch{}return n}class eq extends eS{constructor(e){let t={release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:eJ.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e};m(t,"browser",["browser"],eJ.SENTRY_SDK_SOURCE||"npm"),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:s,enableMetrics:o}=this._options,a=o??s?.enableMetrics??!0;eJ.document&&(r||i||a)&&eJ.document.addEventListener("visibilitychange",()=>{"hidden"===eJ.document.visibilityState&&(r&&this._flushOutcomes(),i&&(0,er.lP)(this),a&&ea(this))}),n&&this.on("beforeSendSession",eR)}eventFromException(e,t){return function(e,t,n,r){let i=eN(e,t,n?.syntheticException||void 0,r);return(0,S.EG)(i),i.level="error",n?.event_id&&(i.event_id=n.event_id),b(i)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,i){let s=eX(e,t,r?.syntheticException||void 0,i);return s.level=n,r?.event_id&&(s.event_id=r.event_id),b(s)}(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)}}let eW={},ez={};function eZ(e,t){eW[e]=eW[e]||[],eW[e].push(t)}function eV(e,t){if(!ez[e]){ez[e]=!0;try{t()}catch(t){y.X&&p.fF.error(`Error while instrumenting ${e}`,t)}}}function eK(e,t){let n=e&&eW[e];if(n)for(let r of n)try{r(t)}catch(t){y.X&&p.fF.error(`Error while triggering instrumentation handler. 10Type: ${e} 11Name: ${(0,K.$P)(r)} 12Error:`,t)}}function eY(){"console"in d.GLOBAL_OBJ&&p.RU.forEach(function(e){e in d.GLOBAL_OBJ.console&&(0,z.hl)(d.GLOBAL_OBJ.console,e,function(t){return p.LD[e]=t,function(...t){eK("console",{args:t,level:e});let n=p.LD[e];n?.apply(d.GLOBAL_OBJ.console,t)}})})}let eQ=d.GLOBAL_OBJ;function e0(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function e1(e,t){return!!e&&"object"==typeof e&&!!e[t]}function e3(e){return"string"==typeof e?e:e?e1(e,"url")?e.url:e.toString?e.toString():"":""}function e2(e,t){let n=(0,g.s3)(),r=(0,g.aF)();if(!n)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:s=100}=n.getOptions();if(s<=0)return;let o={timestamp:(0,F.yW)(),...e},a=i?(0,p.Cf)(()=>i(o,t)):o;null!==a&&(n.emit&&n.emit("beforeAddBreadcrumb",a,t),r.addBreadcrumb(a,s))}function e4(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}function e6(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}}let e5=d.GLOBAL_OBJ;function e8(){if(!e5.document)return;let e=eK.bind(null,"dom"),t=e7(e,!0);e5.document.addEventListener("click",t,!1),e5.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let n=e5[t]?.prototype;n?.hasOwnProperty?.("addEventListener")&&((0,z.hl)(n,"addEventListener",function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},s=r[n]=r[n]||{refCount:0};if(!s.handler){let r=e7(e);s.handler=r,t.call(this,n,r,i)}s.refCount++}catch{}return t.call(this,n,r,i)}}),(0,z.hl)(n,"removeEventListener",function(e){return function(t,n,r){if("click"===t||"keypress"==t)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]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,n,r)}}))})}function e7(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;let r=function(e){try{return e.target}catch{return null}}(n);if("keypress"===n.type&&(!r?.tagName||"INPUT"!==r.tagName&&"TEXTAREA"!==r.tagName&&!r.isContentEditable))return;(0,z.xp)(n,"_sentryCaptured",!0),r&&!r._sentryId&&(0,z.xp)(r,"_sentryId",(0,S.DM)());let i="keypress"===n.type?"input":n.type;!function(e){if(e.type!==c)return!1;try{if(!e.target||e.target._sentryId!==u)return!1}catch{}return!0}(n)&&(e({event:n,name:i,global:t}),c=n.type,u=r?r._sentryId:void 0),clearTimeout(l),l=e5.setTimeout(()=>{u=void 0,c=void 0},1e3)}}let e9="__sentry_xhr_v3__";function te(){if(!e5.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=Error(),i=1e3*(0,F.ph)(),s=(0,E.HD)(n[0])?n[0].toUpperCase():void 0,o=function(e){if((0,E.HD)(e))return e;try{return e.toString()}catch{}}(n[1]);if(!s||!o)return e.apply(t,n);t[e9]={method:s,url:o,request_headers:{}}
12,"POST"===s&&o.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let a=()=>{let e=t[e9];if(e&&4===t.readyState){try{e.status_code=t.status}catch{}eK("xhr",{endTimestamp:1e3*(0,F.ph)(),startTimestamp:i,xhr:t,virtualError:r})}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(a(),e.apply(t,n))}):t.addEventListener("readystatechange",a),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[r,i]=n,s=t[e9];return s&&(0,E.HD)(r)&&(0,E.HD)(i)&&(s.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[e9];return r&&(void 0!==n[0]&&(r.body=n[0]),eK("xhr",{startTimestamp:1e3*(0,F.ph)(),xhr:t})),e.apply(t,n)}})}function tt(e){let t="history";eZ(t,e),eV(t,tn)}function tn(){e5.addEventListener("popstate",()=>{let e=e5.location.href,t=f;f=e,t!==e&&eK("history",{from:t,to:e})}),"history"in eQ&&eQ.history&&((0,z.hl)(e5.history,"pushState",e),(0,z.hl)(e5.history,"replaceState",e));function e(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let r=f,i=function(e){try{return new URL(e,e5.location.origin).toString()}catch{return e}}(String(n));if(f=i,r===i)return e.apply(this,t);eK("history",{from:r,to:i})}return e.apply(this,t)}}}let tr=(e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n;t.console&&function(e){let t="console";eZ(t,e),eV(t,eY)}(function(t){var n;if((0,g.s3)()!==e)return;let r={category:"console",data:{arguments:t.args,logger:"console"},level:"warn"===(n=t.level)?"warning":["fatal","error","warning","log","info","debug"].includes(n)?n:"log",message:(0,L.nK)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;r.message=`Assertion failed: ${(0,L.nK)(t.args.slice(1)," ")||"console.assert"}`,r.data.arguments=t.args.slice(1)}e2(r,{input:t.args,level:t.level})}),t.dom&&(eZ("dom",(n=t.dom,function(t){let r,i;if((0,g.s3)()!==e)return;let s="object"==typeof n?n.serializeAttribute:void 0,o="object"==typeof n&&"number"==typeof n.maxStringLength?n.maxStringLength:void 0;o&&o>1024&&(o=1024),"string"==typeof s&&(s=[s]);try{let e=t.event,n=e&&e.target?e.target:e;r=(0,eU.Rt)(n,{keyAttrs:s,maxStringLength:o}),i=(0,eU.iY)(n)}catch{r="<unknown>"}if(0===r.length)return;let a={category:`ui.${t.name}`,message:r};i&&(a.data={"ui.component_name":i}),e2(a,{event:t.event,name:t.name,global:t.global})})),eV("dom",e8)),t.xhr&&(eZ("xhr",function(t){if((0,g.s3)()!==e)return;let{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[e9];if(!n||!r||!i)return;let{method:s,url:o,status_code:a,body:l}=i,c={xhr:t.xhr,input:l,startTimestamp:n,endTimestamp:r},u={category:"xhr",data:{method:s,url:o,status_code:a},type:"http",level:e4(a)};e.emit("beforeOutgoingRequestBreadcrumb",u,c),e2(u,c)}),eV("xhr",te)),t.fetch&&function(e,t){let n="fetch";eZ(n,e),eV(n,()=>(function(e,t=!1){(!t||function(){if("string"==typeof EdgeRuntime)return!0;if(!function(){if(!("fetch"in eQ))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}())return!1;if(e0(eQ.fetch))return!0;let e=!1,t=eQ.document;if(t&&"function"==typeof t.createElement)try{let n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=e0(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){y.X&&p.fF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}())&&(0,z.hl)(d.GLOBAL_OBJ,"fetch",function(t){return function(...n){let r=Error(),{method:i,url:s}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,n]=e;return{url:e3(t),method:e1(n,"method")?String(n.method).toUpperCase():(0,E.gJ)(t)&&e1(t,"method")?String(t.method).toUpperCase():"GET"}}let t=e[0];return{url:e3(t),method:e1(t,"method")?String(t.method).toUpperCase():"GET"}}(n),o={args:n,fetchData:{method:i,url:s},startTimestamp:1e3*(0,F.ph)(),virtualError:r,headers:function(e){let[t,n]=e;try{if("object"==typeof n&&null!==n&&"headers"in n&&n.headers)return new Headers(n.headers);if((0,E.gJ)(t))return new Headers(t.headers)}catch{}}(n)};return e||eK("fetch",{...o}),t.apply(d.GLOBAL_OBJ,n).then(async t=>(e?e(t):eK("fetch",{...o,endTimestamp:1e3*(0,F.ph)(),response:t}),t),e=>{if(eK("fetch",{...o,endTimestamp:1e3*(0,F.ph)(),error:e}),(0,E.VZ)(e)&&void 0===e.stack&&(e.stack=r.stack,(0,z.xp)(e,"framesToPop",1)),e instanceof TypeError&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{let t=new URL(o.fetchData.url);e.message=`${e.message} (${t.host})`}catch{}throw e})}})})(void 0,void 0))}(function(t){if((0,g.s3)()!==e)return;let{startTimestamp:n,endTimestamp:r}=t;
12if(!(!r||t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method)){if(t.fetchData.method,t.fetchData.url,t.error){let i=t.fetchData,s={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r},o={category:"fetch",data:i,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",o,s),e2(o,s)}else{let i=t.response,s={...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},a={category:"fetch",data:s,type:"http",level:e4(s.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",a,o),e2(a,o)}}}),t.history&&tt(function(t){if((0,g.s3)()!==e)return;let n=t.from,r=t.to,i=e6(eJ.location.href),s=n?e6(n):void 0,o=e6(r);s?.path||(s=i),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),i.protocol===s.protocol&&i.host===s.host&&(n=s.relative),e2({category:"navigation",data:{from:n,to:r}})}),t.sentry&&e.on("beforeSendEvent",function(t){(0,g.s3)()===e&&e2({category:`sentry.${"transaction"===t.type?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:(0,S.jH)(t)},{event:t})})}}},ti=["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"],ts=(e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&(0,z.hl)(eJ,"setTimeout",to),t.setInterval&&(0,z.hl)(eJ,"setInterval",to),t.requestAnimationFrame&&(0,z.hl)(eJ,"requestAnimationFrame",ta),t.XMLHttpRequest&&"XMLHttpRequest"in eJ&&(0,z.hl)(XMLHttpRequest.prototype,"send",tl);let e=t.eventTarget;e&&(Array.isArray(e)?e:ti).forEach(e=>(function(e,t){let n=eJ[e]?.prototype;n?.hasOwnProperty?.("addEventListener")&&((0,z.hl)(n,"addEventListener",function(n){return function(r,i,s){try{"function"==typeof i.handleEvent&&(i.handleEvent=eG(i.handleEvent,{mechanism:{data:{handler:(0,K.$P)(i),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&this&&"object"==typeof this&&"removeEventListener"in this&&"function"==typeof this.removeEventListener&&this.removeEventListener(r,i),n.apply(this,[r,eG(i,{mechanism:{data:{handler:(0,K.$P)(i),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),s])}}),(0,z.hl)(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)}}))})(e,t))}}};function to(e){return function(...t){let n=t[0];return t[0]=eG(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${(0,K.$P)(e)}`}}),e.apply(this,t)}}function ta(e){return function(t){return e.apply(this,[eG(t,{mechanism:{data:{handler:(0,K.$P)(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function tl(e){return function(...t){let n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&(0,z.hl)(n,e,function(t){let n={mechanism:{data:{handler:(0,K.$P)(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},r=(0,z.HK)(t);return r&&(n.mechanism.data.handler=(0,K.$P)(r)),eG(t,n)})}),e.apply(this,t)}}let tc=()=>({name:"BrowserSession",setupOnce(){void 0!==eJ.document&&(C({ignoreDuration:!0}),M(),tt(({from:e,to:t})=>{void 0!==e&&e!==t&&(C({ignoreDuration:!0}),M())}))}}),tu=null;function tf(){tu=d.GLOBAL_OBJ.onerror,d.GLOBAL_OBJ.onerror=function(e,t,n,r,i){return eK("error",{column:r,error:i,line:n,msg:e,url:t}),!!tu&&tu.apply(this,arguments)},d.GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__=!0}let td=null;function tp(){td=d.GLOBAL_OBJ.onunhandledrejection,d.GLOBAL_OBJ.onunhandledrejection=function(e){return eK("unhandledrejection",e),!td||td.apply(this,arguments)},d.GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}let th=(e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&function(e){let t="error";eZ(t,e),eV(t,tf)}(t=>{let{stackParser:n,attachStacktrace:r}=tm();if((0,g.s3)()!==e||eH>0)return;let{msg:i,url:s,line:o,column:a,error:l}=t,c=function(e,t,n,r){let i=e.exception=e.exception||{},s=i.values=i.values||[],o=s[0]=s[0]||{},a=o.stacktrace=o.stacktrace||{},l=a.frames=a.frames||[],c=function(e){if((0,E.HD)(e)&&0!==e.length){if(e.startsWith("data:")){let t=e.match(/^data:([^;
12]+)/),n=t?t[1]:"text/javascript",r=e.includes("base64,");return`<data:${n}${r?",base64":""}>`}return e}}(t)??(0,eU.l4)();return 0===l.length&&l.push({colno:r,filename:c,function:K.Fi,in_app:!0,lineno:n}),e}(eN(n,l||i,void 0,r,!1),s,o,a);c.level="error",T(c,{originalException:l,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})}),t.onunhandledrejection&&function(e){let t="unhandledrejection";eZ(t,e),eV(t,tp)}(t=>{let{stackParser:n,attachStacktrace:r}=tm();if((0,g.s3)()!==e||eH>0)return;let i=function(e){if((0,E.pt)(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}(t),s=(0,E.pt)(i)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(i)}`}]}}:eN(n,i,void 0,r,!0);s.level="error",T(s,{originalException:i,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}}};function tm(){let e=(0,g.s3)();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}let tg=()=>({name:"HttpContext",preprocessEvent(e){if(!eJ.navigator&&!eJ.location&&!eJ.document)return;let t=function(){let e=(0,eU.l4)(),{referrer:t}=eJ.document||{},{userAgent:n}=eJ.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}}});function tv(e,t){e.mechanism={handled:!0,type:"auto.core.linked_errors",...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function t_(e,t,n,r){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}let ty=(e={})=>{let t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,i){!function(e,t,n,r,i,s){if(!i.exception?.values||!s||!(0,E.V9)(s.originalException,Error))return;let o=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;o&&(i.exception.values=function e(t,n,r,i,s,o,a,l){if(o.length>=r+1)return o;let c=[...o];if((0,E.V9)(i[s],Error)){tv(a,l);let o=t(n,i[s]),u=c.length;t_(o,s,u,l),c=e(t,n,r,i[s],s,[o,...c],o,u)}return Array.isArray(i.errors)&&i.errors.forEach((i,o)=>{if((0,E.V9)(i,Error)){tv(a,l);let u=t(n,i),f=c.length;t_(u,`errors[${o}]`,f,l),c=e(t,n,r,i,s,[u,...c],u,f)}}),c}(e,t,r,s.originalException,n,i.exception.values,o,0))}(eC,i.getOptions().stackParser,n,t,e,r)}}};function tE(e,t,n,r){let i={filename:e,function:"<anonymous>"===t?K.Fi:t,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}let tb=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,tw=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,tx=/\((\S*)(?::(\d+))(?::(\d+))\)/,tk=/at (.+?) ?\(data:(.+?),/,tO=[30,e=>{let t=e.match(tk);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};let n=tb.exec(e);if(n){let[,e,t,r]=n;return tE(e,K.Fi,+t,+r)}let r=tw.exec(e);if(r){if(r[2]&&0===r[2].indexOf("eval")){let e=tx.exec(r[2]);e&&(r[2]=e[1],r[3]=e[2],r[4]=e[3])}let[e,t]=tP(r[1]||K.Fi,r[2]);return tE(t,e,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],tS=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,t$=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,tL=[50,e=>{let t=tS.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=t$.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]||K.Fi;return[n,e]=tP(n,e),tE(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],tF=(0,K.pE)(tO,tL),tP=(e,t)=>{let n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:K.Fi,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},tD={};function tT(e,t=function(e){let t=tD[e];if(t)return t;let n=e5[e];if(e0(n))return tD[e]=n.bind(e5);let r=e5.document;if(r&&"function"==typeof r.createElement)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(e){}return n?tD[e]=n.bind(e5):n}("fetch")){let n=0,r=0;async function i(i){let s=i.body.length;n+=s,r++;
12let 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 tD.fetch=void 0,e}finally{n-=s,r--}}return function(e,t,n=ef(e.bufferSize||64)){let r={};return{send:function(i){let s=[];if((0,eo.gv)(i,(t,n)=>{let i=(0,eo.mL)(n);(function(e,t,n=Date.now()){return(e[t]||e.all||0)>n})(r,i)?e.recordDroppedEvent("ratelimit_backoff",i):s.push(t)}),0===s.length)return Promise.resolve({});let o=(0,eo.Jd)(i[0],s),a=t=>{(0,eo.gv)(o,(n,r)=>{e.recordDroppedEvent(t,(0,eo.mL)(r))})};return n.add(()=>t({body:(0,eo.V$)(o)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&y.X&&p.fF.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=function(e,{statusCode:t,headers:n},r=Date.now()){let i={...e},s=n?.["x-sentry-rate-limits"],o=n?.["retry-after"];if(s)for(let e of s.trim().split(",")){let[t,n,,,s]=e.split(":",5),o=parseInt(t,10),a=(isNaN(o)?60:o)*1e3;if(n)for(let e of n.split(";"))"metric_bucket"===e?(!s||s.split(";").includes("custom"))&&(i[e]=r+a):i[e]=r+a;else i.all=r+a}else o?i.all=r+function(e,t=Date.now()){let n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;let r=Date.parse(`${e}`);return isNaN(r)?6e4:r-t}(o,r):429===t&&(i.all=r+6e4);return i}(r,e),e),e=>{throw a("network_error"),y.X&&p.fF.error("Encountered error running transport request:",e),e})).then(e=>e,e=>{if(e===eu)return y.X&&p.fF.error("Skipped sending event because buffer is full."),a("queue_overflow"),Promise.resolve({});throw e})},flush:e=>n.drain(e)}}(e,i,ef(e.bufferSize||40))}function tA(e){return[G(),V(),ts(),tr(),th(),ty(),Y(),tg(),tc()]}var tR=n(2265),tC=n(37658);let tB=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function tj(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){let i=r>=0?e[r]:"/";i&&(t=`${i}/${t}`,n="/"===i.charAt(0))}return t=(function(e,t){let n=0;for(let t=e.length-1;t>=0;t--){let r=e[t];"."===r?e.splice(t,1):".."===r?(e.splice(t,1),n++):n&&(e.splice(t,1),n--)}if(t)for(;n--;n)e.unshift("..");return e})(t.split("/").filter(e=>!!e),!n).join("/"),(n?"/":"")+t||"."}function tM(e){let t=0;for(;t<e.length&&""===e[t];t++);let n=e.length-1;for(;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}let tI=(e={})=>{let t=e.root,n=e.prefix||"app:///",r="window"in d.GLOBAL_OBJ&&!!d.GLOBAL_OBJ.window,i=e.iteratee||function({isBrowser:e,root:t,prefix:n}){return r=>{if(!r.filename)return r;let i=/^[a-zA-Z]:\\/.test(r.filename)||r.filename.includes("\\")&&!r.filename.includes("/"),s=/^\//.test(r.filename);if(e){if(t){let e=r.filename;0===e.indexOf(t)&&(r.filename=e.replace(t,n))}}else if(i||s){let e;let s=i?r.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):r.filename,o=t?function(e,t){e=tj(e).slice(1),t=tj(t).slice(1);let n=tM(e.split("/")),r=tM(t.split("/")),i=Math.min(n.length,r.length),s=i;for(let e=0;e<i;e++)if(n[e]!==r[e]){s=e;break}let o=[];for(let e=s;e<n.length;e++)o.push("..");return(o=o.concat(r.slice(s))).join("/")}(t,s):function(e){let t=e.length>1024?`<truncated>${e.slice(-1024)}`:e,n=tB.exec(t);return n?n.slice(1):[]}(s)[2]||"";r.filename=`${n}${o}`}return r}}({isBrowser:r,root:t,prefix:n});return{name:"RewriteFrames",processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=function(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>{var t;return{...e,...e.stacktrace&&{stacktrace:{...t=e.stacktrace,frames:t?.frames?.map(e=>i(e))}}}})}}}catch{return e}}(t)),t}}},tN=({assetPrefix:e,basePath:t,rewriteFramesAssetPrefixPath:n,experimentalThirdPartyOriginStackFrames:r})=>({...tI({iteratee:i=>{if(r){let n="undefined"!=typeof window&&window.location?window.location.origin:"";if(i.filename?.startsWith(n)&&!i.filename.endsWith(".js"))return i;if(e)i.filename?.startsWith(e)&&(i.filename=i.filename.replace(e,"app://"));else if(t)try{let{origin:e}=new URL(i.filename);e===n&&(i.filename=i.filename?.replace(e,"app://").replace(t,""))}catch{}}else try{let{origin:e}=new URL(i.filename);i.filename=i.filename?.replace(e,"app://").replace(n,"")}catch{}return r?(i.filename?.includes("/_next")&&(i.filename=decodeURI(i.filename)),i.filename?.match(/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(i.in_app=!1)):(i.filename?.startsWith("app:///_next")&&(i.filename=decodeURI(i.filename)),i.filename?.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(i.in_app=!1)),i}}),name:"NextjsClientStackFrameNormalization"});n(37658),new WeakSet;var tX=n(12927),tU=n(37658);let tJ=d.GLOBAL_OBJ;var tH=n(37658);let tG=!1,tq=d.GLOBAL_OBJ;function tW(e){tG&&(0,p.Cf)(()=>{console.warn("[@sentry/nextjs] You are calling `Sentry.init()` more than once on the client. This can happen if you have both a `sentry.client.config.ts` and a `instrumentation-client.ts` file with `Sentry.init()` calls. It is recommended to call `Sentry.init()` once in `instrumentation-client.ts`.")}),tG=!0;let t={environment:function(e){let t=e?"production":tC.env.VERCEL_ENV;return t?`vercel-${t}`:void 0}(!0)||"production",defaultIntegrations:function(e){let t=tA(e),n=tq._sentryRewriteFramesAssetPrefixPath||"",r=tH.env._sentryAssetPrefix||tq._sentryAssetPrefix,i=tH.env._sentryBasePath||tq._sentryBasePath,s="true"===tH.env._experimentalThirdPartyOriginStackFrames||"true"===tq._experimentalThirdPartyOriginStackFrames;return t.push(tN({assetPrefix:r,basePath:i,rewriteFramesAssetPrefixPath:n,experimentalThirdPartyOriginStackFrames:s})),t}(e),release:"63bc66e0dab003045000e098d72019a0df540b6c",...e};!function(e){let t=tU.env._sentryRewritesTunnelPath||tJ._sentryRewritesTunnelPath;if(t&&e.dsn){let n=(0,es.U4)(e.dsn);if(!n)return;let r=n.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(r){let i=r[1],s=r[2],o=`${t}?o=${i}&p=${n.projectId}`;s&&(o+=`&r=${s}`),e.tunnel=o,tX.X&&p.fF.log(`Tunneling events to "${o}"`)}else tX.X&&p.fF.warn("Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.")}}(t),m(t,"nextjs",["nextjs","react"]);let n=function(e){var t,n;let r={...e};return m(r,"react"),t="react",n={version:tR.version},(0,g.aF)().setContext(t,n),function(e={}){let t=!e.skipBrowserExtensionCheck&&!!function(){if(void 0===eJ.window||eJ.nw)return!1;let e=eJ.chrome||eJ.browser;if(!e?.runtime?.id)return!1;let t=(0,eU.l4)();return!(eJ===eJ.top&&["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"].some(e=>
12t.startsWith(`${e}://`)))}(),n=null==e.defaultIntegrations?tA():e.defaultIntegrations;return function(e,t){!0===t.debug&&(y.X?p.fF.enable():(0,p.Cf)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,g.nZ)().update(t.initialScope);let n=new e(t);return(0,g.nZ)().setClient(n),n.init(),n}(eq,{...e,enabled:!t&&e.enabled,stackParser:(0,K.Sq)(e.stackParser||tF),integrations:function(e){let t;let n=e.defaultIntegrations||[],r=e.integrations;if(n.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(r))t=[...n,...r];else if("function"==typeof r){let e=r(n);t=Array.isArray(e)?e:[e]}else t=n;return function(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)}(t)}({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||tT})}(r)}(t),r=e=>"transaction"===e.type&&"/404"===e.transaction?null:e;r.id="NextClient404Filter",R(r);let i=e=>"transaction"===e.type&&"incomplete-app-router-transaction"===e.transaction?null:e;i.id="IncompleteTransactionFilter",R(i);let s=(e,t)=>{var n;return(n=t?.originalException,(0,E.VZ)(n)&&"string"==typeof n.digest&&n.digest.startsWith("NEXT_REDIRECT;")||e.exception?.values?.[0]?.value==="NEXT_REDIRECT")?null:e};return s.id="NextRedirectErrorFilter",R(s),n}n(40138)}}]);
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.