1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="275149fe-8773-4641-88f2-16a1cc62a7db",e._sentryDebugIdIdentifier="sentry-dbid-275149fe-8773-4641-88f2-16a1cc62a7db")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[636],{8424:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(9714)}])},9668:(e,t,n)=>{"use strict";let r,i,a,o,s,c,u,l,d,p,f,h,m;function g(e){let t;let n=e[0],r=1;for(;r<e.length;){let i=e[r],a=e[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(t=n,n=a(n)):("call"===i||"optionalCall"===i)&&(n=a((...e)=>n.call(t,...e)),t=void 0)}return n}var _=n(2575),v=n(1472);function y(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:v.M})),version:v.M}),e._metadata=i}var b=n(4251),S=n(6674),E=n(5602);let T=[];function w(e,t){for(let n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function x(e,t,n){if(n[t.name]){S.T&&E.vF.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,-1===T.indexOf(t.name)&&"function"==typeof t.setupOnce&&(t.setupOnce(),T.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)}S.T&&E.vF.log(`Integration installed: ${t.name}`)}var k=n(4910),O=n(2323);let C=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,"undefined is not an object (evaluating 'a.L')",'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/],$=(e={})=>({name:"InboundFilters",processEvent:(t,n,r)=>!function(e,t){var n;return t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(e)?(S.T&&E.vF.warn(`Event dropped due to being internal Sentry Error. 2Event: ${(0,k.$X)(e)}`),!0):(n=t.ignoreErrors,!e.type&&n&&n.length&&(function(e){let t;let n=[];e.message&&n.push(e.message);try{t=e.exception.values[e.exception.values.length-1]}catch(e){}return t&&t.value&&(n.push(t.value),t.type&&n.push(`${t.type}: ${t.value}`)),n})(e).some(e=>(0,O.Xr)(e,n)))?(S.T&&E.vF.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 3Event: ${(0,k.$X)(e)}`),!0):e.type||!e.exception||!e.exception.values||0===e.exception.values.length||e.message||e.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value)?!function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;let n=e.transaction;return!!n&&(0,O.Xr)(n,t)}(e,t.ignoreTransactions)?!function(e,t){if(!t||!t.length)return!1;let n=A(e);return!!n&&(0,O.Xr)(n,t)}(e,t.denyUrls)?!function(e,t){if(!t||!t.length)return!0;let n=A(e);return!n||(0,O.Xr)(n,t)}(e,t.allowUrls)&&(S.T&&E.vF.warn(`Event dropped due to not being matched by \`allowUrls\` option. 4Event: ${(0,k.$X)(e)}. 5Url: ${A(e)}`),!0):(S.T&&E.vF.warn(`Event dropped due to being matched by \`denyUrls\` option. 6Event: ${(0,k.$X)(e)}. 7Url: ${A(e)}`),!0):(S.T&&E.vF.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 8Event: ${(0,k.$X)(e)}`),!0):(S.T&&E.vF.warn(`Event dropped due to not having an error message, error type or stacktrace. 9Event: ${(0,k.$X)(e)}`),!0)}(t,function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:C],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(e,r.getOptions()))?t:null});function A(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?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}(t):null}catch(t){return S.T&&E.vF.error(`Cannot extract url for event ${(0,k.$X)(e)}`),null}}var I=n(7968),N=n(873);let D=new WeakMap,P=()=>({name:"FunctionToString",setupOnce(){r=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=(0,N.sp)(this),n=D.has((0,I.KU)())&&void 0!==t?t:this;return r.apply(n,e)}}catch(e){}},setup(e){D.set(e,!0)}});var R=n(527);let L=()=>{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&&M(e,t)&&F(e,t))}(t,n)||function(e,t){let n=j(t),r=j(e);return!!(n&&r&&n.type===r.type&&n.value===r.value&&M(e,t)&&F(e,t))}(t,n)))return S.T&&E.vF.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}};function F(e,t){let n=(0,R.RV)(e),r=(0,R.RV)(t);if(!n&&!r)return!0;
9if(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 M(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(e){return!1}}function j(e){return e.exception&&e.exception.values&&e.exception.values[0]}var U=n(1042);let q=_.O;function H(){if(!("fetch"in q))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function B(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}var J=n(1158);let z=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function G(e,t=!1){let{host:n,path:r,pass:i,port:a,projectId:o,protocol:s,publicKey:c}=e;return`${s}://${c}${t&&i?`:${i}`:""}@${n}${a?`:${a}`:""}/${r?`${r}/`:r}${o}`}function K(e){let t=z.exec(e);if(!t){(0,E.pq)(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[n,r,i="",a="",o="",s=""]=t.slice(1),c="",u=s,l=u.split("/");if(l.length>1&&(c=l.slice(0,-1).join("/"),u=l.pop()),u){let e=u.match(/^\d+/);e&&(u=e[0])}return X({host:a,pass:i,path:c,projectId:u,port:o,protocol:n,publicKey:r})}function X(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}var W=n(9900);function Y(e,t=[]){return[e,t]}function V(e,t){for(let n of e[1]){let e=n[0].type;if(t(n,e))return!0}return!1}function Q(e){return _.O.__SENTRY__&&_.O.__SENTRY__.encodePolyfill?_.O.__SENTRY__.encodePolyfill(e):new TextEncoder().encode(e)}let Z={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket",raw_security:"security"};function ee(e){if(!e||!e.sdk)return;let{name:t,version:n}=e.sdk;return{name:t,version:n}}var et=n(5915),en=n(9328),er=n(519);class ei extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}}var ea=n(690),eo=n(572);function es(e){if("boolean"==typeof e)return Number(e);let t="string"==typeof e?parseFloat(e):e;if("number"!=typeof t||isNaN(t)||t<0||t>1){S.T&&E.vF.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`);return}return t}var ec=n(8128);let eu="Not capturing exception because it's already been captured.";class el{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=function(e){let t="string"==typeof e?K(e):X(e);if(t&&function(e){if(!U.T)return!0;let{port:t,projectId:n,protocol:r}=e;return!["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(E.vF.error(`Invalid Sentry Dsn: ${t} missing`),!0))&&(n.match(/^\d+$/)?"http"===r||"https"===r?!(t&&isNaN(parseInt(t,10)))||(E.vF.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(E.vF.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(E.vF.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(t))return t}(e.dsn):S.T&&E.vF.warn("No DSN provided, client will not send events."),this._dsn){let t=function(e,t,n){return t||`${function(e){let t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}(e)}${e.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()}(e,n)}`}(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}let t=["enableTracing","tracesSampleRate","tracesSampler"].find(t=>t in e&&void 0==e[t]);t&&(0,E.pq)(()=>{console.warn(`[Sentry] Deprecation warning: \`${t}\` is set to undefined, which leads to tracing being enabled. In v9, a value of \`undefined\` will result in tracing being disabled.`)})}captureException(e,t,n){let r=(0,k.eJ)();if((0,k.GR)(e))return S.T&&E.vF.log(eu),r;let i={event_id:r,...t};return this._process(this.eventFromException(e,i).then(e=>this._captureEvent(e,i,n))),i.event_id}captureMessage(e,t,n,r){let i={event_id:(0,k.eJ)(),...n},a=(0,ea.NF)(e)?e:String(e),o=(0,ea.sO)(e)?this.eventFromMessage(
9a,t,i):this.eventFromException(e,i);return this._process(o.then(e=>this._captureEvent(e,i,r))),i.event_id}captureEvent(e,t,n){let r=(0,k.eJ)();if(t&&t.originalException&&(0,k.GR)(t.originalException))return S.T&&E.vF.log(eu),r;let i={event_id:r,...t},a=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,i,a||n)),i.event_id}captureSession(e){"string"!=typeof e.release?S.T&&E.vF.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),(0,en.qO)(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){let t=this._transport;return t?(this.emit("flush"),this._isClientDoneProcessing(e).then(n=>t.flush(e).then(e=>n&&e))):(0,eo.XW)(!0)}close(e){return this.flush(e).then(e=>(this.getOptions().enabled=!1,this.emit("close"),e))}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||w(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=function(e,t,n,r){var i;let a=ee(n),o=e.type&&"replay_event"!==e.type?e.type:"event";(i=n&&n.sdk)&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||i.name,e.sdk.version=e.sdk.version||i.version,e.sdk.integrations=[...e.sdk.integrations||[],...i.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...i.packages||[]]);let s=function(e,t,n,r){let i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:G(r)},...i&&{trace:(0,N.Ce)({...i})}}}(e,a,r,t);return delete e.sdkProcessingMetadata,Y(s,[[{type:o},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])n=function(e,t){let[n,r]=e;return[n,[...r,t]]}(n,function(e){let t="string"==typeof e.data?Q(e.data):e.data;return[(0,N.Ce)({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}(e));let r=this.sendEnvelope(n);r&&r.then(t=>this.emit("afterSendEvent",e,t),null)}sendSession(e){let t=function(e,t,n,r){let i=ee(n);return Y({sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:G(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(t)}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){let r="number"==typeof n?n:1,i=`${e}:${t}`;S.T&&E.vF.log(`Recording outcome: "${i}"${r>1?` (${r} times)`:""}`),this._outcomes[i]=(this._outcomes[i]||0)+r}}on(e,t){let n=this._hooks[e]=this._hooks[e]||[];return n.push(t),()=>{let e=n.indexOf(t);e>-1&&n.splice(e,1)}}emit(e,...t){let n=this._hooks[e];n&&n.forEach(e=>e(...t))}sendEnvelope(e){return(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)?this._transport.send(e).then(null,e=>(S.T&&E.vF.error("Error while sending envelope:",e),e)):(S.T&&E.vF.error("Transport disabled"),(0,eo.XW)({}))}_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),w(this,e)}_updateSessionFromEvent(e,t){let n=!1,r=!1,i=t.exception&&t.exception.values;if(i)for(let e of(r=!0,i)){let t=e.mechanism;if(t&&!1===t.handled){n=!0;break}}let a="ok"===e.status;(a&&0===e.errors||a&&n)&&((0,en.qO)(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new eo.T2(t=>{let n=0,r=setInterval(()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n=(0,I.o5)(),r=(0,I.rm)()){let i=this.getOptions(),a=Object.keys(this._integrations);return!t.integrations&&a.length>
90&&(t.integrations=a),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),(0,ec.mG)(i,e,t,n,this,r).then(e=>{if(null===e)return e;e.contexts={trace:(0,I.vn)(n),...e.contexts};let t=(0,J.ao)(this,n);return e.sdkProcessingMetadata={dynamicSamplingContext:t,...e.sdkProcessingMetadata},e})}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then(e=>e.event_id,e=>{S.T&&("log"===e.logLevel?E.vF.log(e.message):E.vF.warn(e))})}_processEvent(e,t,n){let r=this.getOptions(),{sampleRate:i}=r,a=ep(e),o=ed(e),s=e.type||"error",c=`before send for type \`${s}\``,u=void 0===i?void 0:es(i);if(o&&"number"==typeof u&&Math.random()>u)return this.recordDroppedEvent("sample_rate","error",e),(0,eo.xg)(new ei(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"));let l="replay_event"===s?"replay":s,d=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,t,n,d).then(n=>{if(null===n)throw this.recordDroppedEvent("event_processor",l,e),new ei("An event processor returned `null`, will not send event.","log");return t.data&&!0===t.data.__sentry__?n:function(e,t){let n=`${t} must return \`null\` or a valid event.`;if((0,ea.Qg)(e))return e.then(e=>{if(!(0,ea.Qd)(e)&&null!==e)throw new ei(n);return e},e=>{throw new ei(`${t} rejected with ${e}`)});if(!(0,ea.Qd)(e)&&null!==e)throw new ei(n);return e}(function(e,t,n,r){let{beforeSend:i,beforeSendTransaction:a,beforeSendSpan:o}=t;if(ed(n)&&i)return i(n,r);if(ep(n)){if(n.spans&&o){let t=[];for(let r of n.spans){let n=o(r);n?t.push(n):((0,et.xl)(),e.recordDroppedEvent("before_send","span"))}n.spans=t}if(a){if(n.spans){let e=n.spans.length;n.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return a(n,r)}}return n}(this,r,n,t),c)}).then(r=>{if(null===r){if(this.recordDroppedEvent("before_send",l,e),a){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw new ei(`${c} returned \`null\`, will not send event.`,"log")}let i=n&&n.getSession();if(!a&&i&&this._updateSessionFromEvent(i,r),a){let e=(r.sdkProcessingMetadata&&r.sdkProcessingMetadata.spanCountBeforeProcessing||0)-(r.spans?r.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let o=r.transaction_info;return a&&o&&r.transaction!==e.transaction&&(r.transaction_info={...o,source:"custom"}),this.sendEvent(r,t),r}).then(null,e=>{if(e instanceof ei)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new ei(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 10Reason: ${e}`)})}_process(e){this._numProcessing++,e.then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,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(){var e;S.T&&E.vF.log("Flushing outcomes...");let t=this._clearOutcomes();if(0===t.length){S.T&&E.vF.log("No outcomes to send");return}if(!this._dsn){S.T&&E.vF.log("No dsn provided, will not send outcomes");return}S.T&&E.vF.log("Sending outcomes:",t);let n=Y((e=this._options.tunnel&&G(this._dsn))?{dsn:e}:{},[[{type:"client_report"},{timestamp:(0,er.lu)(),discarded_events:t}]]);this.sendEnvelope(n)}}function ed(e){return void 0===e.type}function ep(e){return"transaction"===e.type}let ef="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function eh(e,t){let n=eg(e,t),r={type:function(e){let t=e&&e.name;return!t&&ev(e)?e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception":t}(t),value:function(e){let t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:ev(e)&&Array.isArray(e.message)&&2==e.message.length?e.message[1]: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 em(e,t){return{exception:{values:[eh(e,t)]}}}function eg(e,t){let n=t.stacktrace||t.stack||"",r=t&&e_.test(t.message)?1:0,i="number"==typeof t.framesToPop?t.framesToPop:0;try{return e(n,r,i)}catch(e){}return[]}let e_=/Minified React error #\d+;/i;function ev(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function ey(e,t,n,r,i){let a;if((0,ea.T2)(t)&&t.error)return em(e,t.error);if((0,ea.BD)(t)||(0,ea.W6)(t)){if("stack"in t)a=em(e,t);else{let i=t.name||((0,ea.BD)(t)?"DOMError":"DOMException"),o=t.message?`${i}: ${t.message}`:i;a=eb(e,o,n,r),(0,k.gO)(a,o)}return"code"in t&&(a.tags={...a.tags,"DOMException.code":`${t.code}`}),a}return(0,ea.bJ)(t)?em(e,t):((0,ea.Qd)(t)||(0,ea.xH)(t)?a=function(e,t,n,r){let i=(0,I.KU)(),a=i&&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),s={__serialized__:(0,W.cd)(t,a)};if(o)return{exception:{values:[eh(e,o)]},extra:s};let c={exception:{values:[{type:(0,ea.xH)(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:t}){let n=(0,N.HF)(e),r=t?"promise rejection":"exception";if((0,ea.T2)(e))return`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``;if((0,ea.xH)(e)){let t=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e);return`Event \`${t}\` (type=${e.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}(t,{isUnhandledRejection:r})}]},extra:s};if(n){let t=eg(e,n);t.length&&(c.exception.values[0].stacktrace={frames:t})}return c}(e,t,n,i):(a=eb(e,t,n,r),(0,k.gO)(a,`${t}`,void 0)),(0,k.M6)(a,{synthetic:!0}),a)}function eb(e,t,n,r){let i={};if(r&&n){let r=eg(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]}),(0,k.M6)(i,{synthetic:!0})}
10if((0,ea.NF)(t)){let{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}let eS=_.O,eE=0;function eT(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,N.sp)(e))return e}catch(t){return e}let n=function(...n){try{let r=n.map(e=>eT(e,t));return e.apply(this,r)}catch(e){throw eE++,setTimeout(()=>{eE--}),(0,I.v4)(r=>{r.addEventProcessor(e=>(t.mechanism&&((0,k.gO)(e,void 0,void 0),(0,k.M6)(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),(0,b.Cp)(e)}),e}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}catch(e){}(0,N.pO)(n,e),(0,N.my)(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>e.name})}catch(e){}return n}class ew extends el{constructor(e){let t={parentSpanIsAlwaysRootSpan:!0,...e};y(t,"browser",["browser"],eS.SENTRY_SDK_SOURCE||"npm"),super(t),t.sendClientReports&&eS.document&&eS.document.addEventListener("visibilitychange",()=>{"hidden"===eS.document.visibilityState&&this._flushOutcomes()})}eventFromException(e,t){return function(e,t,n,r){let i=ey(e,t,n&&n.syntheticException||void 0,r);return(0,k.M6)(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),(0,eo.XW)(i)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,i){let a=eb(e,t,r&&r.syntheticException||void 0,i);return a.level=n,r&&r.event_id&&(a.event_id=r.event_id),(0,eo.XW)(a)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled()){ef&&E.vF.warn("SDK not enabled, will not capture user feedback.");return}let t=function(e,{metadata:t,tunnel:n,dsn:r}){return Y({event_id:e.event_id,sent_at:new Date().toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:G(r)}},[[{type:"user_report"},e]])}(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}}let ex={},ek={};function eO(e,t){ex[e]=ex[e]||[],ex[e].push(t)}function eC(e,t){if(!ek[e]){ek[e]=!0;try{t()}catch(t){U.T&&E.vF.error(`Error while instrumenting ${e}`,t)}}}function e$(e,t){let n=e&&ex[e];if(n)for(let r of n)try{r(t)}catch(t){U.T&&E.vF.error(`Error while triggering instrumentation handler. 11Type: ${e} 12Name: ${(0,R.qQ)(r)} 13Error:`,t)}}let eA=_.O;function eI(){if(!eA.document)return;let e=e$.bind(null,"dom"),t=eN(e,!0);eA.document.addEventListener("click",t,!1),eA.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let n=eA[t],r=n&&n.prototype;r&&r.hasOwnProperty&&r.hasOwnProperty("addEventListener")&&((0,N.GS)(r,"addEventListener",function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=r[n]=r[n]||{refCount:0};if(!a.handler){let r=eN(e);a.handler=r,t.call(this,n,r,i)}a.refCount++}catch(e){}return t.call(this,n,r,i)}}),(0,N.GS)(r,"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(e){}return e.call(this,t,n,r)}}))})}function eN(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;let r=function(e){try{return e.target}catch(e){return null}}(n);if("keypress"===n.type&&(!r||!r.tagName||"INPUT"!==r.tagName&&"TEXTAREA"!==r.tagName&&!r.isContentEditable))return;(0,N.my)(n,"_sentryCaptured",!0),r&&!r._sentryId&&(0,N.my)(r,"_sentryId",(0,k.eJ)());let s="keypress"===n.type?"input":n.type;!function(e){if(e.type!==a)return!1;try{if(!e.target||e.target._sentryId!==o)return!1}catch(e){}return!0}(n)&&(e({event:n,name:s,global:t}),a=n.type,o=r?r._sentryId:void 0),clearTimeout(i),i=eA.setTimeout(()=>{o=void 0,a=void 0},1e3)}}let eD="__sentry_xhr_v3__";function eP(e){eO("xhr",e),eC("xhr",eR)}function eR(){if(!eA.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){let r=Error(),i=1e3*(0,er.zf)(),a=(0,ea.Kg)(n[0])?n[0].toUpperCase():void 0,o=function(e){if((0,ea.Kg)(e))return e;try{return e.toString()}catch(e){}}(n[1]);if(!a||!o)return e.apply(t,n);t[eD]={method:a,url:o,request_headers:{}}
13,"POST"===a&&o.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let s=()=>{let e=t[eD];if(e&&4===t.readyState){try{e.status_code=t.status}catch(e){}e$("xhr",{endTimestamp:1e3*(0,er.zf)(),startTimestamp:i,xhr:t,virtualError:r})}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(s(),e.apply(t,n))}):t.addEventListener("readystatechange",s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){let[r,i]=n,a=t[eD];return a&&(0,ea.Kg)(r)&&(0,ea.Kg)(i)&&(a.request_headers[r.toLowerCase()]=i),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){let r=t[eD];return r&&(void 0!==n[0]&&(r.body=n[0]),e$("xhr",{startTimestamp:1e3*(0,er.zf)(),xhr:t})),e.apply(t,n)}})}let eL=_.O;function eF(e){let t="history";eO(t,e),eC(t,eM)}function eM(){if(!function(){let e=eL.chrome,t=e&&e.app&&e.app.runtime,n="history"in eL&&!!eL.history.pushState&&!!eL.history.replaceState;return!t&&n}())return;let e=eA.onpopstate;function t(e){return function(...t){let n=t.length>2?t[2]:void 0;if(n){let e=s,t=String(n);s=t,e$("history",{from:e,to:t})}return e.apply(this,t)}}eA.onpopstate=function(...t){let n=eA.location.href,r=s;if(s=n,e$("history",{from:r,to:n}),e)try{return e.apply(this,t)}catch(e){}},(0,N.GS)(eA.history,"pushState",t),(0,N.GS)(eA.history,"replaceState",t)}function ej(){"console"in _.O&&E.Ow.forEach(function(e){e in _.O.console&&(0,N.GS)(_.O.console,e,function(t){return E.Z9[e]=t,function(...t){e$("console",{args:t,level:e});let n=E.Z9[e];n&&n.apply(_.O.console,t)}})})}function eU(e,t){let n="fetch";eO(n,e),eC(n,()=>eq(void 0,t))}
13function eq(e,t=!1){(!t||function(){if("string"==typeof EdgeRuntime)return!0;if(!H())return!1;if(B(q.fetch))return!0;let e=!1,t=q.document;if(t&&"function"==typeof t.createElement)try{let n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=B(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){U.T&&E.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}())&&(0,N.GS)(_.O,"fetch",function(t){return function(...n){let r=Error(),{method:i,url:a}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,n]=e;return{url:ez(t),method:eJ(n,"method")?String(n.method).toUpperCase():"GET"}}let t=e[0];return{url:ez(t),method:eJ(t,"method")?String(t.method).toUpperCase():"GET"}}(n),o={args:n,fetchData:{method:i,url:a},startTimestamp:1e3*(0,er.zf)(),virtualError:r};return e||e$("fetch",{...o}),t.apply(_.O,n).then(async t=>(e?e(t):e$("fetch",{...o,endTimestamp:1e3*(0,er.zf)(),response:t}),t),e=>{throw e$("fetch",{...o,endTimestamp:1e3*(0,er.zf)(),error:e}),(0,ea.bJ)(e)&&void 0===e.stack&&(e.stack=r.stack,(0,N.my)(e,"framesToPop",1)),e})}})}async function eH(e,t){if(e&&e.body){let n=e.body,r=n.getReader(),i=setTimeout(()=>{n.cancel().then(null,()=>{})},9e4),a=!0;for(;a;){let e;try{e=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);let{done:i}=await r.read();clearTimeout(e),i&&(t(),a=!1)}catch(e){a=!1}finally{clearTimeout(e)}}clearTimeout(i),r.releaseLock(),n.cancel().then(null,()=>{})}}function eB(e){let t;try{t=e.clone()}catch(e){return}eH(t,()=>{e$("fetch-body-resolved",{endTimestamp:1e3*(0,er.zf)(),response:e})})}function eJ(e,t){return!!e&&"object"==typeof e&&!!e[t]}function ez(e){return"string"==typeof e?e:e?eJ(e,"url")?e.url:e.toString?e.toString():"":""}function eG(e,t){let n=(0,I.KU)(),r=(0,I.rm)();if(!n)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:a=100}=n.getOptions();if(a<=0)return;let o={timestamp:(0,er.lu)(),...e},s=i?(0,E.pq)(()=>i(o,t)):o;null!==s&&(n.emit&&n.emit("beforeAddBreadcrumb",s,t),r.addBreadcrumb(s,a))}var eK=n(7320);function eX(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}function eW(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 eY=(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";eO(t,e),eC(t,ej)}(function(t){var n;if((0,I.KU)()!==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,O.gt)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;r.message=`Assertion failed: ${(0,O.gt)(t.args.slice(1)," ")||"console.assert"}`,r.data.arguments=t.args.slice(1)}eG(r,{input:t.args,level:t.level})}),t.dom&&(eO("dom",(n=t.dom,function(t){let r,i;if((0,I.KU)()!==e)return;let a="object"==typeof n?n.serializeAttribute:void 0,o="object"==typeof n&&"number"==typeof n.maxStringLength?n.maxStringLength:void 0;o&&o>1024&&(ef&&E.vF.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${o} was configured. Sentry will use 1024 instead.`),o=1024),"string"==typeof a&&(a=[a]);try{let e=t.event,n=e&&e.target?e.target:e;r=(0,eK.Hd)(n,{keyAttrs:a,maxStringLength:o}),i=(0,eK.xE)(n)}catch(e){r="<unknown>"}if(0===r.length)return;let s={category:`ui.${t.name}`,message:r};i&&(s.data={"ui.component_name":i}),eG(s,{event:t.event,name:t.name,global:t.global})})),eC("dom",eI)),t.xhr&&eP(function(t){if((0,I.KU)()!==e)return;let{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[eD];if(!n||!r||!i)return;let{method:a,url:o,status_code:s,body:c}=i,u={xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:r},l=eX(s);eG({category:"xhr",data:{method:a,url:o,status_code:s},type:"http",level:l},u)}),t.fetch&&eU(function(t){if((0,I.KU)()!==e)return;let{startTimestamp:n,endTimestamp:r}=t;
13if(!(!r||t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method)){if(t.error)eG({category:"fetch",data:t.fetchData,level:"error",type:"http"},{data:t.error,input:t.args,startTimestamp:n,endTimestamp:r});else{let e=t.response,i={...t.fetchData,status_code:e&&e.status},a={input:t.args,response:e,startTimestamp:n,endTimestamp:r},o=eX(i.status_code);eG({category:"fetch",data:i,type:"http",level:o},a)}}}),t.history&&eF(function(t){if((0,I.KU)()!==e)return;let n=t.from,r=t.to,i=eW(eS.location.href),a=n?eW(n):void 0,o=eW(r);a&&a.path||(a=i),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),i.protocol===a.protocol&&i.host===a.host&&(n=a.relative),eG({category:"navigation",data:{from:n,to:r}})}),t.sentry&&e.on("beforeSendEvent",function(t){(0,I.KU)()===e&&eG({category:`sentry.${"transaction"===t.type?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:(0,k.$X)(t)},{event:t})})}}},eV=["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"],eQ=(e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&(0,N.GS)(eS,"setTimeout",eZ),t.setInterval&&(0,N.GS)(eS,"setInterval",eZ),t.requestAnimationFrame&&(0,N.GS)(eS,"requestAnimationFrame",e0),t.XMLHttpRequest&&"XMLHttpRequest"in eS&&(0,N.GS)(XMLHttpRequest.prototype,"send",e1);let e=t.eventTarget;e&&(Array.isArray(e)?e:eV).forEach(e3)}}};function eZ(e){return function(...t){let n=t[0];return t[0]=eT(n,{mechanism:{data:{function:(0,R.qQ)(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function e0(e){return function(t){return e.apply(this,[eT(t,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,R.qQ)(e)},handled:!1,type:"instrument"}})])}}function e1(e){return function(...t){let n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&(0,N.GS)(n,e,function(t){let n={mechanism:{data:{function:e,handler:(0,R.qQ)(t)},handled:!1,type:"instrument"}},r=(0,N.sp)(t);return r&&(n.mechanism.data.handler=(0,R.qQ)(r)),eT(t,n)})}),e.apply(this,t)}}function e3(e){let t=eS[e],n=t&&t.prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,N.GS)(n,"addEventListener",function(t){return function(n,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=eT(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,R.qQ)(r),target:e},handled:!1,type:"instrument"}}))}catch(e){}return t.apply(this,[n,eT(r,{mechanism:{data:{function:"addEventListener",handler:(0,R.qQ)(r),target:e},handled:!1,type:"instrument"}}),i])}}),(0,N.GS)(n,"removeEventListener",function(e){return function(t,n,r){try{let i=n.__sentry_wrapped__;i&&e.call(this,t,i,r)}catch(e){}return e.call(this,t,n,r)}}))}let e2=()=>({name:"BrowserSession",setupOnce(){if(void 0===eS.document){ef&&E.vF.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}(0,b.J0)({ignoreDuration:!0}),(0,b.J5)(),eF(({from:e,to:t})=>{void 0!==e&&e!==t&&((0,b.J0)({ignoreDuration:!0}),(0,b.J5)())})}}),e5=null;function e4(e){let t="error";eO(t,e),eC(t,e6)}function e6(){e5=_.O.onerror,_.O.onerror=function(e,t,n,r,i){return e$("error",{column:r,error:i,line:n,msg:e,url:t}),!!e5&&e5.apply(this,arguments)},_.O.onerror.__SENTRY_INSTRUMENTED__=!0}let e8=null;function e9(e){let t="unhandledrejection";eO(t,e),eC(t,e7)}function e7(){e8=_.O.onunhandledrejection,_.O.onunhandledrejection=function(e){return e$("unhandledrejection",e),!e8||e8.apply(this,arguments)},_.O.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}let te=(e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(e4(t=>{let{stackParser:n,attachStacktrace:r}=tn();if((0,I.KU)()!==e||eE>0)return;let{msg:i,url:a,line:o,column:s,error:c}=t,u=function(e,t,n,r){let i=e.exception=e.exception||{},a=i.values=i.values||[],o=a[0]=a[0]||{},s=o.stacktrace=o.stacktrace||{},c=s.frames=s.frames||[],u=(0,ea.Kg)(t)&&t.length>0?t:(0,eK.$N)();return 0===c.length&&c.push({colno:r,filename:u,function:R.yF,in_app:!0,lineno:n}),e}(ey(n,c||i,void 0,r,!1),a,o,s);u.level="error",(0,b.r)(u,{originalException:c,mechanism:{handled:!1,type:"onerror"}})}),tt("onerror")),t.onunhandledrejection&&(e9(t=>{let{stackParser:n,attachStacktrace:r}=tn();if((0,I.KU)()!==e||eE>0)return;let i=function(e){if((0,ea.sO)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(e){}return e}(t),a=(0,ea.sO)(i)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(i)}`}]}}:ey(n,i,void 0,r,!0);a.level="error",(0,b.r)(a,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})}),tt("onunhandledrejection"))}}};function tt(e){ef&&E.vF.log(`Global Handler attached: ${e}`)}function tn(){let e=(0,I.KU)();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}let tr=()=>({name:"HttpContext",preprocessEvent(e){if(!eS.navigator&&!eS.location&&!eS.document)return;let t=e.request&&e.request.url||eS.location&&eS.location.href,{referrer:n}=eS.document||{},{userAgent:r}=eS.navigator||{},i={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},a={...e.request,...t&&{url:t},headers:i};e.request=a}});function ti(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0}
13,exception_id:t}}function ta(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}let to=(e={})=>{let t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,i){let a=i.getOptions();!function(e,t,n=250,r,i,a,o){if(!a.exception||!a.exception.values||!o||!(0,ea.tH)(o.originalException,Error))return;let s=a.exception.values.length>0?a.exception.values[a.exception.values.length-1]:void 0;s&&(a.exception.values=(function e(t,n,r,i,a,o,s,c){if(o.length>=r+1)return o;let u=[...o];if((0,ea.tH)(i[a],Error)){ti(s,c);let o=t(n,i[a]),l=u.length;ta(o,a,l,c),u=e(t,n,r,i[a],a,[o,...u],o,l)}return Array.isArray(i.errors)&&i.errors.forEach((i,o)=>{if((0,ea.tH)(i,Error)){ti(s,c);let l=t(n,i),d=u.length;ta(l,`errors[${o}]`,d,c),u=e(t,n,r,i,a,[l,...u],l,d)}}),u})(e,t,i,o.originalException,r,a.exception.values,s,0).map(e=>(e.value&&(e.value=(0,O.xv)(e.value,n)),e)))}(eh,a.stackParser,a.maxValueLength,n,t,e,r)}}};function ts(e,t,n,r){let i={filename:e,function:"<anonymous>"===t?R.yF:t,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}let tc=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,tu=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,tl=/\((\S*)(?::(\d+))(?::(\d+))\)/,td=[30,e=>{let t=tc.exec(e);if(t){let[,e,n,r]=t;return ts(e,R.yF,+n,+r)}let n=tu.exec(e);if(n){if(n[2]&&0===n[2].indexOf("eval")){let e=tl.exec(n[2]);e&&(n[2]=e[1],n[3]=e[2],n[4]=e[3])}let[e,t]=tg(n[1]||R.yF,n[2]);return ts(t,e,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],tp=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,tf=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,th=[50,e=>{let t=tp.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=tf.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]||R.yF;return[n,e]=tg(n,e),ts(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],tm=(0,R.gd)(td,th),tg=(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]:R.yF,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},t_="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,tv={};function ty(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}function tb(e,t=function(e){let t=tv[e];if(t)return t;let n=eA[e];if(B(n))return tv[e]=n.bind(eA);let r=eA.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&&i[e]&&(n=i[e]),r.head.removeChild(t)}catch(t){t_&&E.vF.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n?tv[e]=n.bind(eA):n}("fetch")){let n=0,r=0;return function(e,t,n=function(e){let t=[];function n(e){return t.splice(t.indexOf(e),1)[0]||Promise.resolve(void 0)}return{$:t,add:function(r){if(!(void 0===e||t.length<e))return(0,eo.xg)(new ei("Not adding Promise because buffer limit was reached."));let i=r();return -1===t.indexOf(i)&&t.push(i),i.then(()=>n(i)).then(null,()=>n(i).then(null,()=>{})),i},drain:function(e){return new eo.T2((n,r)=>{let i=t.length;if(!i)return n(!0);let a=setTimeout(()=>{e&&e>0&&n(!1)},e);t.forEach(e=>{(0,eo.XW)(e).then(()=>{--i||(clearTimeout(a),n(!0))},r)})})}}}(e.bufferSize||64)){let r={};return{send:function(i){let a=[];if(V(i,(t,n)=>{let i=Z[n];if(function(e,t,n=Date.now()){return(e[t]||e.all||0)>n}(r,i)){let r=ty(t,n);e.recordDroppedEvent("ratelimit_backoff",i,r)}else a.push(t)}),0===a.length)return(0,eo.XW)({});let o=Y(i[0],a),s=t=>{V(o,(n,r)=>{let i=ty(n,r);e.recordDroppedEvent(t,Z[r],i)})};return n.add(()=>t({body:function(e){let[t,n]=e,r=JSON.stringify(t);function i(e){"string"==typeof r?r="string"==typeof e?r+e:[Q(r),e]:r.push("string"==typeof e?Q(e):e)}for(let e of n){let[t,n]=e;if(i(` 14${JSON.stringify(t)} 15`),"string"==typeof n||n instanceof Uint8Array)i(n);else{let e;try{e=JSON.stringify(n)}catch(t){e=JSON.stringify((0,W.S8)(n))}i(e)}}return"string"==typeof r?r:function(e){let t=new Uint8Array(e.reduce((e,t)=>
15e+t.length,0)),n=0;for(let r of e)t.set(r,n),n+=r.length;return t}(r)}(o)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&S.T&&E.vF.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=function(e,{statusCode:t,headers:n},r=Date.now()){let i={...e},a=n&&n["x-sentry-rate-limits"],o=n&&n["retry-after"];if(a)for(let e of a.trim().split(",")){let[t,n,,,a]=e.split(":",5),o=parseInt(t,10),s=(isNaN(o)?60:o)*1e3;if(n)for(let e of n.split(";"))"metric_bucket"===e?(!a||a.split(";").includes("custom"))&&(i[e]=r+s):i[e]=r+s;else i.all=r+s}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 s("network_error"),e})).then(e=>e,e=>{if(e instanceof ei)return S.T&&E.vF.error("Skipped sending event because buffer is full."),s("queue_overflow"),(0,eo.XW)({});throw e})},flush:e=>n.drain(e)}}(e,function(i){let a=i.body.length;n+=a,r++;let o={body:i.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};if(!t)return tv.fetch=void 0,(0,eo.xg)("No fetch implementation available");try{return t(e.url,o).then(e=>(n-=a,r--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}}))}catch(e){return tv.fetch=void 0,n-=a,r--,(0,eo.xg)(e)}})}function tS(e){let t=[$(),P(),eQ(),eY(),te(),to(),L(),tr()];return!1!==e.autoSessionTracking&&t.push(e2()),t}var tE=n(6540),tT=n(7836),tw=n(4611);function tx(e){if(!e||0===e.length)return;let t={};return e.forEach(e=>{let n=e.attributes||{},r=n[tw.Sn],i=n[tw.xc];"string"==typeof r&&"number"==typeof i&&(t[e.name]={value:i,unit:r})}),t}let tk=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",tO=(e,t,n,r)=>{let i,a;return o=>{t.value>=0&&(o||r)&&((a=t.value-(i||0))||void 0===i)&&(i=t.value,t.delta=a,t.rating=tk(t.value,n),e(t))}},tC=()=>`v4-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,t$=(e=!0)=>{let t=eA.performance&&eA.performance.getEntriesByType&&eA.performance.getEntriesByType("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},tA=()=>{let e=t$();return e&&e.activationStart||0},tI=(e,t)=>{let n=t$(),r="navigate";return n&&(eA.document&&eA.document.prerendering||tA()>0?r="prerender":eA.document&&eA.document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:tC(),navigationType:r}},tN=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},tD=e=>{let t=t=>{("pagehide"===t.type||eA.document&&"hidden"===eA.document.visibilityState)&&e(t)};eA.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))},tP=e=>{let t=!1;return()=>{t||(e(),t=!0)}},tR=-1,tL=()=>"hidden"!==eA.document.visibilityState||eA.document.prerendering?1/0:0,tF=e=>{"hidden"===eA.document.visibilityState&&tR>-1&&(tR="visibilitychange"===e.type?e.timeStamp:0,tj())},tM=()=>{addEventListener("visibilitychange",tF,!0),addEventListener("prerenderingchange",tF,!0)},tj=()=>{removeEventListener("visibilitychange",tF,!0),removeEventListener("prerenderingchange",tF,!0)},tU=()=>(eA.document&&tR<0&&(tR=tL(),tM()),{get firstHiddenTime(){return tR}}),tq=e=>{eA.document&&eA.document.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},tH=[1800,3e3],tB=(e,t={})=>{tq(()=>{let n;let r=tU(),i=tI("FCP"),a=tN("paint",e=>{e.forEach(e=>{"first-contentful-paint"===e.name&&(a.disconnect(),e.startTime<r.firstHiddenTime&&(i.value=Math.max(e.startTime-tA(),0),i.entries.push(e),n(!0)))})});a&&(n=tO(e,i,tH,t.reportAllChanges))})},tJ=[.1,.25],tz=(e,t={})=>{tB(tP(()=>{let n;let r=tI("CLS",0),i=0,a=[],o=e=>{e.forEach(e=>{if(!e.hadRecentInput){let t=a[0],n=a[a.length-1];i&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,a.push(e)):(i=e.value,a=[e])}}),i>r.value&&(r.value=i,r.entries=a,n())},s=tN("layout-shift",o);s&&(n=tO(e,r,tJ,t.reportAllChanges),tD(()=>{o(s.takeRecords()),n(!0)}),setTimeout(n,0))}
15))},tG=[100,300],tK=(e,t={})=>{tq(()=>{let n;let r=tU(),i=tI("FID"),a=e=>{e.startTime<r.firstHiddenTime&&(i.value=e.processingStart-e.startTime,i.entries.push(e),n(!0))},o=e=>{e.forEach(a)},s=tN("first-input",o);n=tO(e,i,tG,t.reportAllChanges),s&&tD(tP(()=>{o(s.takeRecords()),s.disconnect()}))})},tX=0,tW=1/0,tY=0,tV=e=>{e.forEach(e=>{e.interactionId&&(tW=Math.min(tW,e.interactionId),tX=(tY=Math.max(tY,e.interactionId))?(tY-tW)/7+1:0)})},tQ=()=>c?tX:performance.interactionCount||0,tZ=()=>{"interactionCount"in performance||c||(c=tN("event",tV,{type:"event",buffered:!0,durationThreshold:0}))},t0=[],t1=new Map,t3=()=>tQ()-0,t2=()=>{let e=Math.min(t0.length-1,Math.floor(t3()/50));return t0[e]},t5=[],t4=e=>{if(t5.forEach(t=>t(e)),!(e.interactionId||"first-input"===e.entryType))return;let t=t0[t0.length-1],n=t1.get(e.interactionId);if(n||t0.length<10||t&&e.duration>t.latency){if(n)e.duration>n.latency?(n.entries=[e],n.latency=e.duration):e.duration===n.latency&&e.startTime===(n.entries[0]&&n.entries[0].startTime)&&n.entries.push(e);else{let t={id:e.interactionId,latency:e.duration,entries:[e]};t1.set(t.id,t),t0.push(t)}t0.sort((e,t)=>t.latency-e.latency),t0.length>10&&t0.splice(10).forEach(e=>t1.delete(e.id))}},t6=e=>{let t=eA.requestIdleCallback||eA.setTimeout,n=-1;return e=tP(e),eA.document&&"hidden"===eA.document.visibilityState?e():(n=t(e),tD(e)),n},t8=[200,500],t9=(e,t={})=>{"PerformanceEventTiming"in eA&&"interactionId"in PerformanceEventTiming.prototype&&tq(()=>{let n;tZ();let r=tI("INP"),i=e=>{t6(()=>{e.forEach(t4);let t=t2();t&&t.latency!==r.value&&(r.value=t.latency,r.entries=t.entries,n())})},a=tN("event",i,{durationThreshold:null!=t.durationThreshold?t.durationThreshold:40});n=tO(e,r,t8,t.reportAllChanges),a&&(a.observe({type:"first-input",buffered:!0}),tD(()=>{i(a.takeRecords()),n(!0)}))})},t7=[2500,4e3],ne={},nt=(e,t={})=>{tq(()=>{let n;let r=tU(),i=tI("LCP"),a=e=>{t.reportAllChanges||(e=e.slice(-1)),e.forEach(e=>{e.startTime<r.firstHiddenTime&&(i.value=Math.max(e.startTime-tA(),0),i.entries=[e],n())})},o=tN("largest-contentful-paint",a);if(o){n=tO(e,i,t7,t.reportAllChanges);let r=tP(()=>{ne[i.id]||(a(o.takeRecords()),o.disconnect(),ne[i.id]=!0,n(!0))});["keydown","click"].forEach(e=>{eA.document&&addEventListener(e,()=>t6(r),{once:!0,capture:!0})}),tD(r)}})},nn=[800,1800],nr=e=>{eA.document&&eA.document.prerendering?tq(()=>nr(e)):eA.document&&"complete"!==eA.document.readyState?addEventListener("load",()=>nr(e),!0):setTimeout(e,0)},ni=(e,t={})=>{let n=tI("TTFB"),r=tO(e,n,nn,t.reportAllChanges);nr(()=>{let e=t$();e&&(n.value=Math.max(e.responseStart-tA(),0),n.entries=[e],r(!0))})},na={},no={};function ns(e,t=!1){return nm("cls",e,nl,u,t)}function nc(e,t){return ng(e,t),no[e]||(function(e){let t={};"event"===e&&(t.durationThreshold=0),tN(e,t=>{nu(e,{entries:t})},t)}(e),no[e]=!0),n_(e,t)}function nu(e,t){let n=na[e];if(n&&n.length)for(let r of n)try{r(t)}catch(t){t_&&E.vF.error(`Error while triggering instrumentation handler. 16Type: ${e} 17Name: ${(0,R.qQ)(r)} 18Error:`,t)}}function nl(){return tz(e=>{nu("cls",{metric:e}),u=e},{reportAllChanges:!0})}function nd(){return tK(e=>{nu("fid",{metric:e}),l=e})}function np(){return nt(e=>{nu("lcp",{metric:e}),d=e},{reportAllChanges:!0})}function nf(){return ni(e=>{nu("ttfb",{metric:e}),p=e})}function nh(){return t9(e=>{nu("inp",{metric:e}),f=e})}function nm(e,t,n,r,i=!1){let a;return ng(e,t),no[e]||(a=n(),no[e]=!0),r&&t({metric:r}),n_(e,t,i?a:void 0)}function ng(e,t){na[e]=na[e]||[],na[e].push(t)}function n_(e,t,n){return()=>{n&&n();let r=na[e];if(!r)return;let i=r.indexOf(t);-1!==i&&r.splice(i,1)}}var nv=n(5200),ny=n(6218),nb=n(237),nS=n(333),nE=n(243);class nT{constructor(e={}){this._traceId=e.traceId||(0,nE.el)(),this._spanId=e.spanId||(0,nE.ZF)()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:et.CC}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,n){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}}var nw=n(2409);let nx="_sentryScope",nk="_sentryIsolationScope";function nO(e){return{scope:e[nx],isolationScope:e[nk]}}class nC{constructor(e={}){this._traceId=e.traceId||(0,nE.el)(),this._spanId=e.spanId||(0,nE.ZF)(),this._startTime=e.startTimestamp||(0,er.zf)(),this._attributes={},this.setAttributes({[tw.JD]:"manual",[tw.uT]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}
18addLink(e){return this}addLinks(e){return this}recordException(e,t){}spanContext(){let{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:n?et.aO:et.CC}}setAttribute(e,t){return void 0===t?delete this._attributes[e]:this._attributes[e]=t,this}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._startTime=(0,et.cI)(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this.setAttribute(tw.i_,"custom"),this}end(e){this._endTime||(this._endTime=(0,et.cI)(e),function(e){if(!S.T)return;let{description:t="< unknown name >",op:n="< unknown op >"}=(0,et.et)(e),{spanId:r}=e.spanContext(),i=(0,et.zU)(e)===e,a=`[Tracing] Finishing "${n}" ${i?"root ":""}span "${t}" with ID ${r}`;E.vF.log(a)}(this),this._onSpanEnded())}getSpanJSON(){return(0,N.Ce)({data:this._attributes,description:this._name,op:this._attributes[tw.uT],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:(0,et.yW)(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[tw.JD],_metrics_summary:(0,nw.g)(this),profile_id:this._attributes[tw.E1],exclusive_time:this._attributes[tw.jG],measurements:tx(this._events),is_segment:this._isStandaloneSpan&&(0,et.zU)(this)===this||void 0,segment_id:this._isStandaloneSpan?(0,et.zU)(this).spanContext().spanId:void 0})}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){S.T&&E.vF.log("[Tracing] Adding an event to span:",e);let r=n$(t)?t:n||(0,er.zf)(),i=n$(t)?{}:t||{},a={name:e,time:(0,et.cI)(r),attributes:i};return this._events.push(a),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=(0,I.KU)();if(e&&e.emit("spanEnd",this),!(this._isStandaloneSpan||this===(0,et.zU)(this)))return;if(this._isStandaloneSpan){this._sampled?function(e){let t=(0,I.KU)();if(!t)return;let n=e[1];if(!n||0===n.length){t.recordDroppedEvent("before_send","span");return}t.sendEnvelope(e)}(function(e,t){let n=(0,J.k1)(e[0]),r=t&&t.getDsn(),i=t&&t.getOptions().tunnel,a={sent_at:new Date().toISOString(),...!!n.trace_id&&!!n.public_key&&{trace:n},...!!i&&r&&{dsn:G(r)}},o=t&&t.getOptions().beforeSendSpan,s=o?e=>{let t=o((0,et.et)(e));return t||(0,et.xl)(),t}:e=>(0,et.et)(e),c=[];for(let t of e){let e=s(t);e&&c.push([{type:"span"},e])}return Y(a,c)}([this],e)):(S.T&&E.vF.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span"));return}let t=this._convertSpanToTransaction();t&&(nO(this).scope||(0,I.o5)()).captureEvent(t)}_convertSpanToTransaction(){if(!nA((0,et.et)(this)))return;this._name||(S.T&&E.vF.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:e,isolationScope:t}=nO(this),n=(e||(0,I.o5)()).getClient()||(0,I.KU)();if(!0!==this._sampled){S.T&&E.vF.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),n&&n.recordDroppedEvent("sample_rate","transaction");return}let r=(0,et.xO)(this).filter(e=>e!==this&&!(e instanceof nC&&e.isStandaloneSpan())).map(e=>(0,et.et)(e)).filter(nA),i=this._attributes[tw.i_];delete this._attributes[tw.Le],r.forEach(e=>{e.data&&delete e.data[tw.Le]});let a={contexts:{trace:(0,et.Ck)(this)},spans:r.length>1e3?r.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,1e3):r,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:t,...(0,N.Ce)({dynamicSamplingContext:(0,J.k1)(this)})},_metrics_summary:(0,nw.g)(this),...i&&{transaction_info:{source:i}}},o=tx(this._events);return o&&Object.keys(o).length&&(S.T&&E.vF.log("[Measurements] Adding measurements to transaction event",JSON.stringify(o,void 0,2)),a.measurements=o),a}}function n$(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function nA(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}let nI="__SENTRY_SUPPRESS_TRACING__";function nN(e){let t=nP();if(t.startInactiveSpan)return t.startInactiveSpan(e);let n=function(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let n={...t};return n.startTimestamp=(0,et.cI)(e.startTime),delete n.startTime,n}return t}(e),{forceTransaction:r,parentSpan:i}=e;return(e.scope?t=>(0,I.v4)(e.scope,t):void 0!==i?e=>nD(i,e):e=>e())(()=>{let t=(0,I.o5)(),i=function(e){let t=(0,nS.f)(e);if(!t)return;let n=(0,I.KU)();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?(0,et.zU)(t):t}(t);return e.onlyIfParent&&!i?new nT:function({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){var i;let a;if(!(0,nb.w)())return new nT;let o=(0,I.rm)();if(e&&!n)a=function(e,t,n){let{spanId:r,traceId:i}=e.spanContext(),a=!t.getScopeData().sdkProcessingMetadata[nI]&&(0,et.pK)(e),o=a?new nC({...n,parentSpanId:r,traceId:i,sampled:a}):new nT({traceId:i});(0,et.Hu)(e,o);let s=(0,I.KU)();return s&&(s.emit("spanStart",o),n.endTimestamp&&s.emit("spanEnd",o)),o}(e,r,t),(0,et.Hu)(e,a);else if(e){let n=(0,J.k1)(e),{traceId:i,spanId:o}=e.spanContext(),s=(0,et.pK)(e);a=nR({traceId:i,parentSpanId:o,...t},r,s),(0,J.LZ)(a,n)}else{let{traceId:e,dsc:n,parentSpanId:i,sampled:s}={...o.getPropagationContext(),...r.getPropagationContext()};a=nR({traceId:e,parentSpanId:i,...t},r,s),n&&(0,J.LZ)(a,n)}return function(e){if(!S.T)return;let{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=(0,et.et)(e),{spanId:i}=e.spanContext(),a=(0,et.pK)(e),o=(0,et.zU)(e),s=o===e,c=`[Tracing] Starting ${a?"sampled":"unsampled"} ${s?"root ":""}span`,u=[`op: ${n}`,`name: ${t}`,`ID: ${i}`];
18if(r&&u.push(`parent ID: ${r}`),!s){let{op:e,description:t}=(0,et.et)(o);u.push(`root ID: ${o.spanContext().spanId}`),e&&u.push(`root op: ${e}`),t&&u.push(`root description: ${t}`)}E.vF.log(`${c} 19 ${u.join("\n ")}`)}(a),(i=a)&&((0,N.my)(i,nk,o),(0,N.my)(i,nx,r)),a}({parentSpan:i,spanArguments:n,forceTransaction:r,scope:t})})}function nD(e,t){let n=nP();return n.withActiveSpan?n.withActiveSpan(e,t):(0,I.v4)(n=>((0,nS.r)(n,e||void 0),t(n)))}function nP(){let e=(0,nv.E)();return(0,ny.h)(e)}function nR(e,t,n){let r=(0,I.KU)(),i=r&&r.getOptions()||{},{name:a="",attributes:o}=e,[s,c]=t.getScopeData().sdkProcessingMetadata[nI]?[!1]:function(e,t){let n;if(!(0,nb.w)(e))return[!1];let r=(0,I.rm)().getScopeData().sdkProcessingMetadata.normalizedRequest,i={...t,normalizedRequest:t.normalizedRequest||r},a=es(n="function"==typeof e.tracesSampler?e.tracesSampler(i):void 0!==i.parentSampled?i.parentSampled:void 0!==e.tracesSampleRate?e.tracesSampleRate:1);return void 0===a?(S.T&&E.vF.warn("[Tracing] Discarding transaction because of invalid sample rate."),[!1]):a?Math.random()<a?[!0,a]:(S.T&&E.vF.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(n)})`),[!1,a]):(S.T&&E.vF.log(`[Tracing] Discarding transaction because ${"function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,a])}(i,{name:a,parentSampled:n,attributes:o,transactionContext:{name:a,parentSampled:n}}),u=new nC({...e,attributes:{[tw.i_]:"custom",...e.attributes},sampled:s});return void 0!==c&&u.setAttribute(tw.sy,c),r&&r.emit("spanStart",u),u}function nL(e){return"number"==typeof e&&isFinite(e)}function nF(e,t,n,{...r}){let i=(0,et.et)(e).start_timestamp;return i&&i>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),nD(e,()=>{let e=nN({startTime:t,...r});return e&&e.end(n),e})}function nM(e){let t;let n=(0,I.KU)();if(!n)return;let{name:r,transaction:i,attributes:a,startTime:o}=e,{release:s,environment:c}=n.getOptions(),u=n.getIntegrationByName("Replay"),l=u&&u.getReplayId(),d=(0,I.o5)(),p=d.getUser(),f=void 0!==p?p.email||p.id||p.ip_address:void 0;try{t=d.getScopeData().contexts.profile.profile_id}catch(e){}return nN({name:r,attributes:{release:s,environment:c,user:f||void 0,profile_id:t||void 0,replay_id:l||void 0,transaction:i,"user_agent.original":eA.navigator&&eA.navigator.userAgent,...a},startTime:o,experimental:{standalone:!0}})}function nj(){return eA&&eA.addEventListener&&eA.performance}function nU(e){return e/1e3}let nq=0,nH={};function nB(e,t,n,r,i=n){let a=t["secureConnection"===n?"connectEnd":"fetch"===n?"domainLookupStart":`${n}End`],o=t[`${n}Start`];o&&a&&nF(e,r+nU(o),r+nU(a),{op:`browser.${i}`,name:t.name,attributes:{[tw.JD]:"auto.ui.browser.metrics"}})}function nJ(e,t,n,r){let i=t[n];null!=i&&i<0x7fffffff&&(e[r]=i)}let nz=[],nG=new Map,nK={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};var nX=n(1135);let nW={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function nY(e,t={}){let n;let r=new Map,i=!1,a="externalFinish",o=!t.disableAutoFinish,s=[],{idleTimeout:c=nW.idleTimeout,finalTimeout:u=nW.finalTimeout,childSpanTimeout:l=nW.childSpanTimeout,beforeSpanEnd:d}=t,p=(0,I.KU)();if(!p||!(0,nb.w)())return new nT;let f=(0,I.o5)(),h=(0,et.Bk)(),m=function(e){let t=nN(e);return(0,nS.r)((0,I.o5)(),t),S.T&&E.vF.log("[Tracing] Started span is an idle span"),t}(e);function g(){n&&(clearTimeout(n),n=void 0)}function _(e){g(),n=setTimeout(()=>{!i&&0===r.size&&o&&(a="idleTimeout",m.end(e))},c)}function v(e){n=setTimeout(()=>{!i&&o&&(a="heartbeatFailed",m.end(e))},l)}function y(e){i=!0,r.clear(),s.forEach(e=>e()),(0,nS.r)(f,h);let t=(0,et.et)(m),{start_timestamp:n}=t;if(!n)return;(t.data||{})[tw.fs]||m.setAttribute(tw.fs,a),E.vF.log(`[Tracing] Idle span "${t.op}" finished`);let o=(0,et.xO)(m).filter(e=>e!==m),l=0;o.forEach(t=>{t.isRecording()&&(t.setStatus({code:nX.TJ,message:"cancelled"}),t.end(e),S.T&&E.vF.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));let{timestamp:n=0,start_timestamp:r=0}=(0,et.et)(t),i=r<=e,a=n-r<=(u+c)/1e3;if(S.T){let e=JSON.stringify(t,void 0,2);i?a||E.vF.log("[Tracing] Discarding span since it finished after idle span final timeout",e):E.vF.log("[Tracing] Discarding span since it happened after idle span was finished",e)}(!a||!i)&&((0,et.VS)(m,t),l++)}),l>0&&m.setAttribute("sentry.idle_span_discarded_spans",l)}return m.end=new Proxy(m.end,{apply(e,t,n){d&&d(m);let[r,...i]=n,a=r||(0,er.zf)(),o=(0,et.cI)(a),s=(0,et.xO)(m).filter(e=>e!==m);if(!s.length)return y(o),Reflect.apply(e,t,[o,...i]);let c=s.map(e=>(0,et.et)(e).timestamp).filter(e=>!!e),l=c.length?Math.max(...c):void 0,p=(0,et.et)(m).start_timestamp,f=Math.min(p?p+u/1e3:1/0,Math.max(p||-1/0,Math.min(o,l||1/0)));return y(f),Reflect.apply(e,t,[f,...i])}}),s.push(p.on("spanStart",e=>{if(!i&&e!==m&&!(0,et.et)(e).timestamp&&(0,et.xO)(m).includes(e)){var t;t=e.spanContext().spanId,g(),r.set(t,!0),v((0,er.zf)()+l/1e3)}})),s.push(p.on("spanEnd",e=>{var t;i||(t=e.spanContext().spanId,r.has(t)&&r.delete(t),0===r.size&&_((0,er.zf)()+c/1e3))})),s.push(p.on("idleSpanEnableAutoFinish",e=>{e===m&&(o=!0,_(),r.size&&v())})),t.disableAutoFinish||_(),setTimeout(()=>{i||(m.setStatus({code:nX.TJ,message:"deadline_exceeded"}),a="finalTimeout",m.end())},u),m}let nV=!1;function nQ(){let e=(0,et.Bk)(),t=e&&(0,et.zU)(e);if(t){let e="internal_error";S.T&&E.vF.log(`[Tracing] Root span: ${e} -> Global error occurred`),t.setStatus({code:nX.TJ,message:e})}}nQ.tag="sentry_tracingErrorCallback";var nZ=n(8190),n0=n(8922);function n1(e={}){let t=(0,I.KU)();if(!(0,b.Ol)()||!t)return{};let n=(0,nv.E)(),r=(0,ny.h)(n);if(r.getTraceData)return r.getTraceData(e);let i=(0,I.o5)(),a=e.span||(0,et.Bk)(),o=a?(0,et.Qh)(a):function(e){let{traceId:t,sampled:n,spanId:r}=e.getPropagationContext();return(0,nZ.TC)(t,r,n)}(i),s=a?(0,J.k1)(a):(0,J.ao)(t,i),c=(0,n0.De)(s);return nZ.MI.test(o)?{"sentry-trace":o,baggage:c}:(E.vF.warn("Invalid sentry-trace data. Cannot generate trace data"),{})}function n3(e){return e.split(",").filter(e=>!e.split("=")[0].startsWith(n0.sv)).join(",")}let n2=new WeakMap,n5=new Map,n4={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function n6(e){let{url:t}=(0,et.et)(e).data||{};if(!t||"string"!=typeof t)return;let n=nc("resource",({entries:r})=>{r.forEach(r=>{"resource"===r.entryType&&"initiatorType"in r&&"string"==typeof r.nextHopProtocol&&("fetch"===r.initiatorType||"xmlhttprequest"===r.initiatorType)&&r.name.endsWith(t)&&((function(e){let{name:t,ver
19sion:n}=function(e){let t="unknown",n="unknown",r="";for(let i of e){if("/"===i){[t,n]=e.split("/");break}if(!isNaN(Number(i))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=i}return r===e&&(t=r),{name:t,version:n}}(e.nextHopProtocol),r=[];return(r.push(["network.protocol.version",n],["network.protocol.name",t]),er.k3)?[...r,["http.request.redirect_start",n8(e.redirectStart)],["http.request.fetch_start",n8(e.fetchStart)],["http.request.domain_lookup_start",n8(e.domainLookupStart)],["http.request.domain_lookup_end",n8(e.domainLookupEnd)],["http.request.connect_start",n8(e.connectStart)],["http.request.secure_connection_start",n8(e.secureConnectionStart)],["http.request.connection_end",n8(e.connectEnd)],["http.request.request_start",n8(e.requestStart)],["http.request.response_start",n8(e.responseStart)],["http.request.response_end",n8(e.responseEnd)]]:r})(r).forEach(t=>e.setAttribute(...t)),setTimeout(n))})})}function n8(e=0){return((er.k3||performance.timeOrigin)+e)/1e3}function n9(e){try{return new URL(e,eS.location.origin).href}catch(e){return}}let n7={...nW,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,_experiments:{},...n4},re=(e={})=>{nV||(nV=!0,e4(nQ),e9(nQ));let{enableInp:t,enableLongTask:n,enableLongAnimationFrame:r,_experiments:{enableInteractions:i,enableStandaloneClsSpans:a},beforeStartSpan:o,idleTimeout:s,finalTimeout:c,childSpanTimeout:u,markBackgroundSpan:g,traceFetch:v,traceXHR:y,trackFetchStreamPerformance:b,shouldCreateSpanForRequest:T,enableHTTPTimings:w,instrumentPageLoad:x,instrumentNavigation:k}={...n7,...e},C=function({recordClsStandaloneSpans:e}){let t=nj();if(t&&er.k3){t.mark&&eA.performance.mark("sentry-tracing-init");let n=nm("fid",({metric:e})=>{let t=e.entries[e.entries.length-1];if(!t)return;let n=nU(er.k3),r=nU(t.startTime);nH.fid={value:e.value,unit:"millisecond"},nH["mark.fid"]={value:n+r,unit:"second"}},nd,l),r=function(e,t=!1){return nm("lcp",e,np,d,t)}(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(nH.lcp={value:e.value,unit:"millisecond"},h=t)},!0),i=nm("ttfb",({metric:e})=>{e.entries[e.entries.length-1]&&(nH.ttfb={value:e.value,unit:"millisecond"})},nf,p),a=e?function(){let e,t,n=0;if(!function(){try{return PerformanceObserver.supportedEntryTypes.includes("layout-shift")}catch(e){return!1}}())return;let r=!1;function i(){r||(r=!0,t&&function(e,t,n){t_&&E.vF.log(`Sending CLS span (${e})`);let r=nU((er.k3||0)+(t&&t.startTime||0)),i=(0,I.o5)().getScopeData().transactionName,a=nM({name:t?(0,eK.Hd)(t.sources[0]&&t.sources[0].node):"Layout shift",transaction:i,attributes:(0,N.Ce)({[tw.JD]:"auto.http.browser.cls",[tw.uT]:"ui.webvital.cls",[tw.jG]:t&&t.duration||0,"sentry.pageload.span_id":n}),startTime:r});a&&(a.addEvent("cls",{[tw.Sn]:"",[tw.xc]:e}),a.end(r))}(n,e,t),a())}let a=ns(({metric:t})=>{let r=t.entries[t.entries.length-1];r&&(n=t.value,e=r)},!0);tD(()=>{i()}),setTimeout(()=>{let e=(0,I.KU)();if(!e)return;let n=e.on("startNavigationSpan",()=>{i(),n&&n()}),r=(0,et.Bk)(),a=r&&(0,et.zU)(r),o=a&&(0,et.et)(a);o&&"pageload"===o.op&&(t=a.spanContext().spanId)},0)}():ns(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(nH.cls={value:e.value,unit:""},m=t)},!0);return()=>{n(),r(),i(),a&&a()}}return()=>void 0}({recordClsStandaloneSpans:a||!1});t&&function(){if(nj()&&er.k3){let e=nm("inp",({metric:e})=>{if(void 0==e.value)return;let t=e.entries.find(t=>t.duration===e.value&&nK[t.name]);if(!t)return;let{interactionId:n}=t,r=nK[t.name],i=nU(er.k3+t.startTime),a=nU(e.value),o=(0,et.Bk)(),s=o?(0,et.zU)(o):void 0,c=(null!=n?nG.get(n):void 0)||s,u=c?(0,et.et)(c).description:(0,I.o5)().getScopeData().transactionName,l=nM({name:(0,eK.Hd)(t.target),transaction:u,attributes:(0,N.Ce)({[tw.JD]:"auto.http.browser.inp",[tw.uT]:`ui.interaction.${r}`,[tw.jG]:t.duration}),startTime:i});l&&(l.addEvent("inp",{[tw.Sn]:"millisecond",[tw.xc]:e.value}),l.end(i+a))},nh,f)}}(),r&&_.O.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?new PerformanceObserver(e=>{let t=(0,et.Bk)();if(t)for(let n of e.getEntries()){if(!n.scripts[0])continue;let e=nU(er.k3+n.startTime),{start_timestamp:r,op:i}=(0,et.et)(t);if("navigation"===i&&r&&e<r)continue;let a=nU(n.duration),o={[tw.JD]:"auto.ui.browser.metrics"},{invoker:s,invokerType:c,sourceURL:u,sourceFunctionName:l,sourceCharPosition:d}=n.scripts[0];o["browser.script.invoker"]=s,o["browser.script.invoker_type"]=c,u&&(o["code.filepath"]=u),l&&(o["code.function"]=l),-1!==d&&(o["browser.script.source_char_position"]=d),nF(t,e,e+
19a,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:o})}}).observe({type:"long-animation-frame",buffered:!0}):n&&nc("longtask",({entries:e})=>{let t=(0,et.Bk)();if(!t)return;let{op:n,start_timestamp:r}=(0,et.et)(t);for(let i of e){let e=nU(er.k3+i.startTime),a=nU(i.duration);"navigation"===n&&r&&e<r||nF(t,e,e+a,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[tw.JD]:"auto.ui.browser.metrics"}})}}),i&&nc("event",({entries:e})=>{let t=(0,et.Bk)();if(t){for(let n of e)if("click"===n.name){let e=nU(er.k3+n.startTime),r=nU(n.duration),i={name:(0,eK.Hd)(n.target),op:`ui.interaction.${n.name}`,startTime:e,attributes:{[tw.JD]:"auto.ui.browser.metrics"}},a=(0,eK.xE)(n.target);a&&(i.attributes["ui.component_name"]=a),nF(t,e,e+r,i)}}});let $={name:void 0,source:void 0};function A(e,t){let n="pageload"===t.op,r=o?o(t):t,i=r.attributes||{};t.name!==r.name&&(i[tw.i_]="custom",r.attributes=i),$.name=r.name,$.source=i[tw.i_];let l=nY(r,{idleTimeout:s,finalTimeout:c,childSpanTimeout:u,disableAutoFinish:n,beforeSpanEnd:e=>{C(),function(e,t){let n=nj();if(!n||!n.getEntries||!er.k3)return;let r=nU(er.k3),i=n.getEntries(),{op:a,start_timestamp:o}=(0,et.et)(e);if(i.slice(nq).forEach(t=>{let n=nU(t.startTime),i=nU(Math.max(0,t.duration));if("navigation"!==a||!o||!(r+n<o))switch(t.entryType){case"navigation":["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(n=>{nB(e,t,n,r)}),nB(e,t,"secureConnection",r,"TLS/SSL"),nB(e,t,"fetch",r,"cache"),nB(e,t,"domainLookup",r,"DNS"),function(e,t,n){let r=n+nU(t.requestStart),i=n+nU(t.responseEnd),a=n+nU(t.responseStart);t.responseEnd&&(nF(e,r,i,{op:"browser.request",name:t.name,attributes:{[tw.JD]:"auto.ui.browser.metrics"}}),nF(e,a,i,{op:"browser.response",name:t.name,attributes:{[tw.JD]:"auto.ui.browser.metrics"}}))}(e,t,r);break;case"mark":case"paint":case"measure":{(function(e,t,n,r,i){let a=t$(!1),o=i+Math.max(n,nU(a?a.requestStart:0)),s=i+n,c={[tw.JD]:"auto.resource.browser.metrics"};o!==s&&(c["sentry.browser.measure_happened_before_request"]=!0,c["sentry.browser.measure_start_time"]=o),nF(e,o,s+r,{name:t.name,op:t.entryType,attributes:c})})(e,t,n,i,r);let a=tU(),o=t.startTime<a.firstHiddenTime;"first-paint"===t.name&&o&&(nH.fp={value:t.startTime,unit:"millisecond"}),"first-contentful-paint"===t.name&&o&&(nH.fcp={value:t.startTime,unit:"millisecond"});break}case"resource":(function(e,t,n,r,i,a){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;let o=eW(n),s={[tw.JD]:"auto.resource.browser.metrics"};nJ(s,t,"transferSize","http.response_transfer_size"),nJ(s,t,"encodedBodySize","http.response_content_length"),nJ(s,t,"decodedBodySize","http.decoded_response_content_length");let c=t.deliveryType;null!=c&&(s["http.response_delivery_type"]=c);let u=t.renderBlockingStatus;u&&(s["resource.render_blocking_status"]=u),o.protocol&&(s["url.scheme"]=o.protocol.split(":").pop()),o.host&&(s["server.address"]=o.host),s["url.same_origin"]=n.includes(eA.location.origin);let l=a+r;nF(e,l,l+i,{name:n.replace(eA.location.origin,""),op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",attributes:s})})(e,t,t.name,n,i,r)}}),nq=Math.max(i.length-1,0),function(e){let t=eA.navigator;if(!t)return;let n=t.connection;n&&(n.effectiveType&&e.setAttribute("effectiveConnectionType",n.effectiveType),n.type&&e.setAttribute("connectionType",n.type),nL(n.rtt)&&(nH["connection.rtt"]={value:n.rtt,unit:"millisecond"})),nL(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),nL(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===a){(function(e){let t=t$(!1);if(!t)return;let{responseStart:n,requestStart:r}=t;r<=n&&(e["ttfb.requestTime"]={value:n-r,unit:"millisecond"})})(nH);let n=nH["mark.fid"];n&&nH.fid&&(nF(e,n.value,n.value+nU(nH.fid.value),{name:"first input delay",op:"ui.action",attributes:{[tw.JD]:"auto.ui.browser.metrics"}}),delete nH["mark.fid"]),"fcp"in nH&&t.recordClsOnPageloadSpan||delete nH.cls,Object.entries(nH).forEach(([e,t])=>{!function(e,t,n,r=(0,et.Bk)()){let i=r&&(0,et.zU)(r);i&&(S.T&&E.vF.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),i.addEvent(e,{[tw.xc]:t,[tw.Sn]:n}))}(e,t.value,t.unit)}),e.setAttribute("performance.timeOrigin",r),e.setAttribute("performance.activationStart",tA()),h&&(h.element&&e.setAttribute("lcp.element",(0,eK.Hd)(h.element)),h.id&&e.setAttribute("lcp.id",h.id),h.url&&e.setAttribute("lcp.url",h.url.trim().slice(0,200)),null!=h.loadTime&&e.setAttribute("lcp.loadTime",h.loadTime),null!=h.renderTime&&e.setAttribute("lcp.renderTime",h.renderTime),e.setAttribute("lcp.size",h.size)),m&&m.sources&&m.sources.forEac
19h((t,n)=>e.setAttribute(`cls.source.${n+1}`,(0,eK.Hd)(t.node)))}h=void 0,m=void 0,nH={}}(e,{recordClsOnPageloadSpan:!a})}});function d(){["interactive","complete"].includes(eS.document.readyState)&&e.emit("idleSpanEnableAutoFinish",l)}return n&&eS.document&&(eS.document.addEventListener("readystatechange",()=>{d()}),d()),l}return{name:"BrowserTracing",afterAllSetup(e){let n,r;let a=eS.location&&eS.location.href;function o(){n&&!(0,et.et)(n).timestamp&&(ef&&E.vF.log(`[Tracing] Finishing current active span with op: ${(0,et.et)(n).op}`),n.end())}e.on("startNavigationSpan",t=>{(0,I.KU)()===e&&(o(),n=A(e,{op:"navigation",...t}))}),e.on("startPageLoadSpan",(t,r={})=>{if((0,I.KU)()!==e)return;o();let i=r.sentryTrace||rr("sentry-trace"),a=r.baggage||rr("baggage"),s=(0,nZ.kM)(i,a);(0,I.o5)().setPropagationContext(s),n=A(e,{op:"pageload",...t})}),e.on("spanEnd",e=>{let t=(0,et.et)(e).op;if(e!==(0,et.zU)(e)||"navigation"!==t&&"pageload"!==t)return;let n=(0,I.o5)(),r=n.getPropagationContext();n.setPropagationContext({...r,sampled:void 0!==r.sampled?r.sampled:(0,et.pK)(e),dsc:r.dsc||(0,J.k1)(e)})}),eS.location&&(x&&rt(e,{name:eS.location.pathname,startTime:er.k3?er.k3/1e3:void 0,attributes:{[tw.i_]:"url",[tw.JD]:"auto.pageload.browser"}}),k&&eF(({to:t,from:n})=>{if(void 0===n&&a&&-1!==a.indexOf(t)){a=void 0;return}n!==t&&(a=void 0,rn(e,{name:eS.location.pathname,attributes:{[tw.i_]:"url",[tw.JD]:"auto.navigation.browser"}}))})),g&&(eS&&eS.document?eS.document.addEventListener("visibilitychange",()=>{let e=(0,et.Bk)();if(!e)return;let t=(0,et.zU)(e);if(eS.document.hidden&&t){let e="cancelled",{op:n,status:r}=(0,et.et)(t);ef&&E.vF.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${n}`),r||t.setStatus({code:nX.TJ,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):ef&&E.vF.warn("[Tracing] Could not set up background tab detection due to lack of global document")),i&&eS.document&&addEventListener("click",()=>{let e="ui.action.click",t=(0,et.Bk)(),n=t&&(0,et.zU)(t);if(n&&["navigation","pageload"].includes((0,et.et)(n).op)){ef&&E.vF.warn(`[Tracing] Did not create ${e} span because a pageload or navigation span is in progress.`);return}if(r&&(r.setAttribute(tw.fs,"interactionInterrupted"),r.end(),r=void 0),!$.name){ef&&E.vF.warn(`[Tracing] Did not create ${e} transaction because _latestRouteName is missing.`);return}r=nY({name:$.name,op:e,attributes:{[tw.i_]:$.source||"url"}},{idleTimeout:s,finalTimeout:c,childSpanTimeout:u})},{once:!1,capture:!0}),t&&function(){let e=({entries:e})=>{let t=(0,et.Bk)(),n=t&&(0,et.zU)(t);e.forEach(e=>{if(!("duration"in e)||!n)return;let t=e.interactionId;if(!(null==t||nG.has(t))){if(nz.length>10){let e=nz.shift();nG.delete(e)}nz.push(t),nG.set(t,n)}})};nc("event",e),nc("first-input",e)}(),function(e,t){let{traceFetch:n,traceXHR:r,trackFetchStreamPerformance:i,shouldCreateSpanForRequest:a,enableHTTPTimings:o,tracePropagationTargets:s}={traceFetch:n4.traceFetch,traceXHR:n4.traceXHR,trackFetchStreamPerformance:n4.trackFetchStreamPerformance,...t},c="function"==typeof a?a:e=>!0,u=e=>(function(e,t){let n=eS.location&&eS.location.href;if(n){let r,i;try{r=new URL(e,n),i=new URL(n).origin}catch(e){return!1}let a=r.origin===i;return t?(0,O.Xr)(r.toString(),t)||a&&(0,O.Xr)(r.pathname,t):a}{let n=!!e.match(/^\/(?!\/)/);return t?(0,O.Xr)(e,t):n}})(e,s),l={};n&&(e.addEventProcessor(e=>("transaction"===e.type&&e.spans&&e.spans.forEach(e=>{if("http.client"===e.op){let t=n5.get(e.span_id);t&&(e.timestamp=t/1e3,n5.delete(e.span_id))}}),e)),i&&function(e){let t="fetch-body-resolved";eO(t,e),eC(t,()=>eq(eB))}(e=>{if(e.response){let t=n2.get(e.response);t&&e.endTimestamp&&n5.set(t,e.endTimestamp)}}),eU(e=>{let t=function(e,t,n,r,i="auto.http.browser"){if(!e.fetchData)return;let a=(0,nb.w)()&&t(e.fetchData.url);if(e.endTimestamp&&a){let t=e.fetchData.__span;if(!t)return;let n=r[t];n&&(function(e,t){if(t.response){(0,nX.N8)(e,t.response.status);let n=t.response&&t.response.headers&&t.response.headers.get("content-length");if(n){let t=parseInt(n);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:nX.TJ,message:"internal_error"});e.end()}(n,e),delete r[t]);return}let{method:o,url:s}=e.fetchData,c=function(e){try{return new URL(e).href}catch(e){return}}(s),u=c?eW(c).host:void 0,l=!!(0,et.Bk)(),d=a&&l?nN({name:`${o} ${s}`,attributes:{url:s,type:"fetch","http.method":o,"http.url":c,"server.address":u,[tw.JD]:i,[tw.uT]:"http.client"}}):new nT;if(e.fetchData.__span=d.spanContext().spanId,r[d.spanContext().spanId]=d,n(e.fetchData.url)){let t=e.args[0],n=e.args[1]||{},r=function(e,t,n){let r=n1({span:n}),i=r["sentry-trace"],a=r.baggage;if(!i)return;let o=t.headers||("undefined"!=typeof Request&&(0,ea.tH)(e,Request)?e.headers:void 0);if(!o)return{...r};if("undefined"!=typeof Headers&&(0,ea.tH)(o,Headers)){let e=new Headers(o);if(e.set("sentry-trace",i),a){let t=e.get("baggage");if(t){let n=n3(t);e.set("baggage",n?`${n},${a}
19`:a)}else e.set("baggage",a)}return e}if(Array.isArray(o)){let e=[...o.filter(e=>!(Array.isArray(e)&&"sentry-trace"===e[0])).map(e=>{if(!Array.isArray(e)||"baggage"!==e[0]||"string"!=typeof e[1])return e;{let[t,n,...r]=e;return[t,n3(n),...r]}}),["sentry-trace",i]];return a&&e.push(["baggage",a]),e}{let e="baggage"in o?o.baggage:void 0,t=[];return Array.isArray(e)?t=e.map(e=>"string"==typeof e?n3(e):e).filter(e=>""===e):e&&t.push(n3(e)),a&&t.push(a),{...o,"sentry-trace":i,baggage:t.length>0?t.join(","):void 0}}}(t,n,(0,nb.w)()&&l?d:void 0);r&&(e.args[1]=n,n.headers=r)}return d}(e,c,u,l);if(e.response&&e.fetchData.__span&&n2.set(e.response,e.fetchData.__span),t){let n=n9(e.fetchData.url),r=n?eW(n).host:void 0;t.setAttributes({"http.url":n,"server.address":r})}o&&t&&n6(t)})),r&&eP(e=>{let t=function(e,t,n,r){let i=e.xhr,a=i&&i[eD];if(!i||i.__sentry_own_request__||!a)return;let o=(0,nb.w)()&&t(a.url);if(e.endTimestamp&&o){let e=i.__sentry_xhr_span_id__;if(!e)return;let t=r[e];t&&void 0!==a.status_code&&((0,nX.N8)(t,a.status_code),t.end(),delete r[e]);return}let s=n9(a.url),c=s?eW(s).host:void 0,u=!!(0,et.Bk)(),l=o&&u?nN({name:`${a.method} ${a.url}`,attributes:{type:"xhr","http.method":a.method,"http.url":s,url:a.url,"server.address":c,[tw.JD]:"auto.http.browser",[tw.uT]:"http.client"}}):new nT;return i.__sentry_xhr_span_id__=l.spanContext().spanId,r[i.__sentry_xhr_span_id__]=l,n(a.url)&&function(e,t){let{"sentry-trace":n,baggage:r}=n1({span:t});n&&function(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader("baggage",n)}catch(e){}}(e,n,r)}(i,(0,nb.w)()&&u?l:void 0),l}(e,c,u,l);o&&t&&n6(t)})}(e,{traceFetch:v,traceXHR:y,trackFetchStreamPerformance:b,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:T,enableHTTPTimings:w})}}};function rt(e,t,n){e.emit("startPageLoadSpan",t,n),(0,I.o5)().setTransactionName(t.name);let r=(0,et.Bk)();return"pageload"===(r&&(0,et.et)(r).op)?r:void 0}function rn(e,t){(0,I.rm)().setPropagationContext({traceId:(0,nE.el)()}),(0,I.o5)().setPropagationContext({traceId:(0,nE.el)()}),e.emit("startNavigationSpan",t),(0,I.o5)().setTransactionName(t.name);let n=(0,et.Bk)();return"navigation"===(n&&(0,et.et)(n).op)?n:void 0}function rr(e){let t=(0,eK.NX)(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}let ri="incomplete-app-router-transaction",ra=_.O;function ro(e){try{return new URL(e,"http://example.com/").pathname}catch(e){return"/"}}var rs=n(6715),rc=n(9694);let ru=rs.events?rs:rs.default,rl=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function rd(...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 rp(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 rf=(e={})=>{let t=e.root,n=e.prefix||"app:///",r="window"in _.O&&void 0!==_.O.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("/"),a=/^\//.test(r.filename);if(e){if(t){let e=r.filename;0===e.indexOf(t)&&(r.filename=e.replace(t,n))}}else if(i||a){let e;let a=i?r.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):r.filename,o=t?function(e,t){e=rd(e).slice(1),t=rd(t).slice(1);let n=rp(e.split("/")),r=rp(t.split("/")),i=Math.min(n.length,r.length),a=i;for(let e=0;e<i;e++)if(n[e]!==r[e]){a=e;break}let o=[];for(let e=a;e<n.length;e++)o.push("..");return(o=o.concat(r.slice(a))).join("/")}(t,a):function(e){let t=e.length>1024?`<truncated>${e.slice(-1024)}`:e,n=rl.exec(t);return n?n.slice(1):[]}(a)[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&&t.frames&&t.frames.map(e=>i(e))}}}})}}}catch(t){return e}}(t)),t}}},rh=({assetPrefixPath:e})=>
19({...rf({iteratee:t=>{try{let{origin:n}=new URL(t.filename);t.filename=g([t,"access",e=>e.filename,"optionalAccess",e=>e.replace,"call",e=>e(n,"app://"),"access",e=>e.replace,"call",t=>t(e,"")])}catch(e){}return t.filename&&t.filename.startsWith("app:///_next")&&(t.filename=decodeURI(t.filename)),t.filename&&t.filename.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(t.in_app=!1),t}}),name:"NextjsClientStackFrameNormalization"});var rm=n(7836);let rg=_.O,r_=_.O;var rv=n(7836);globalThis._sentryRewritesTunnelPath=void 0,globalThis.SENTRY_RELEASE={id:"HEAD"},globalThis._sentryBasePath=void 0,globalThis._sentryRewriteFramesAssetPrefixPath="",function(e){let t={environment:function(e){let t=e?tT.env.NEXT_PUBLIC_VERCEL_ENV:tT.env.VERCEL_ENV;return t?`vercel-${t}`:void 0}(!0)||"production",defaultIntegrations:function(e){let t=tS(e);("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&t.push(function(e={}){let t=re({...e,instrumentNavigation:!1,instrumentPageLoad:!1}),{instrumentPageLoad:n=!0,instrumentNavigation:r=!0}=e;return{...t,afterAllSetup(e){var i;r&&(i=e,eS.document.getElementById("__NEXT_DATA__")?ru.events.on("routeChangeStart",e=>{let t,n;let r=e.split(/[?#]/,1)[0],a=function(e){let t=(eS.__BUILD_MANIFEST||{}).sortedPages;if(t)return t.find(t=>{let n=function(e){let t=e.split("/"),n="";g([t,"access",e=>e[t.length-1],"optionalAccess",e=>e.match,"call",e=>e(/^\[\[\.\.\..+\]\]$/)])&&(t.pop(),n="(?:/(.+?))?");let r=t.map(e=>e.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/");return RegExp(`^${r}${n}(?:/)?$`)}(t);return e.match(n)})}(r);a?(t=a,n="route"):(t=r,n="url"),rn(i,{name:t,attributes:{[tw.uT]:"navigation",[tw.JD]:"auto.navigation.nextjs.pages_router_instrumentation",[tw.i_]:n}})}):function(e){let t;eS.addEventListener("popstate",()=>{t&&t.isRecording()?(t.updateName(eS.location.pathname),t.setAttribute(tw.i_,"url")):t=rn(e,{name:eS.location.pathname,attributes:{[tw.uT]:"navigation",[tw.JD]:"auto.navigation.nextjs.app_router_instrumentation",[tw.i_]:"url","navigation.type":"browser.popstate"}})});let n=!1,r=0,i=setInterval(()=>{var a,o;r++;let s=(a=g([ra,"optionalAccess",e=>e.next,"optionalAccess",e=>e.router]),o=()=>g([ra,"optionalAccess",e=>e.nd,"optionalAccess",e=>e.router]),null!=a?a:o());n||r>500?clearInterval(i):s&&(clearInterval(i),n=!0,["back","forward","push","replace"].forEach(n=>{g([s,"optionalAccess",e=>e[n]])&&(s[n]=new Proxy(s[n],{apply(r,i,a){let o=rn(e,{name:ri,attributes:{[tw.uT]:"navigation",[tw.JD]:"auto.navigation.nextjs.app_router_instrumentation",[tw.i_]:"url"}});return t=o,"push"===n?(g([o,"optionalAccess",e=>e.updateName,"call",e=>e(ro(a[0]))]),g([o,"optionalAccess",e=>e.setAttribute,"call",e=>e(tw.i_,"url")]),g([o,"optionalAccess",e=>e.setAttribute,"call",e=>e("navigation.type","router.push")])):"replace"===n?(g([o,"optionalAccess",e=>e.updateName,"call",e=>e(ro(a[0]))]),g([o,"optionalAccess",e=>e.setAttribute,"call",e=>e(tw.i_,"url")]),g([o,"optionalAccess",e=>e.setAttribute,"call",e=>e("navigation.type","router.replace")])):"back"===n?g([o,"optionalAccess",e=>e.setAttribute,"call",e=>e("navigation.type","router.back")]):"forward"===n&&g([o,"optionalAccess",e=>e.setAttribute,"call",e=>e("navigation.type","router.forward")]),r.apply(i,a)}}))}))},20)}(i)),t.afterAllSetup(e),n&&(eS.document.getElementById("__NEXT_DATA__")?function(e){let{route:t,params:n,sentryTrace:r,baggage:i}=function(){let e;let t=eS.document.getElementById("__NEXT_DATA__");if(t&&t.innerHTML)try{e=JSON.parse(t.innerHTML)}catch(e){rc.T&&E.vF.warn("Could not extract __NEXT_DATA__")}if(!e)return{};let n={},{page:r,query:i,props:a}=e;return n.route=r,n.params=i,a&&a.pageProps&&(n.sentryTrace=a.pageProps._sentryTraceData,n.baggage=a.pageProps._sentryBaggage),n}(),a=(0,n0.D0)(i),o=t||eS.location.pathname;a&&a["sentry-transaction"]&&"/_error"===o&&(o=(o=a["sentry-transaction"]).replace(/^(GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS|TRACE|CONNECT)\s+/i,"")),rt(e,{name:o,startTime:er.k3?er.k3/1e3:void 0,attributes:{[tw.uT]:"pageload",[tw.JD]:"auto.pageload.nextjs.pages_router_instrumentation",[tw.i_]:t?"route":"url",...n&&e.getOptions().sendDefaultPii&&{...n}}},{sentryTrace:r,baggage:i})}(e):rt(e,{name:eS.location.pathname,startTime:er.k3?er.k3/1e3:void 0,attributes:{[tw.uT]:"pageload",[tw.JD]:"auto.pageload.nextjs.app_router_instrumentation",[tw.i_]:"url"}}))}}}());let n=r_._sentryRewriteFramesAssetPrefixPath||"";return t.push(rh({assetPrefixPath:n})),t}(e),...e};(function(e){let t=rm.env._sentryRewritesTunnelPath||rg._sentryRewritesTunnelPath;if(t&&e.dsn){let n=K(e.dsn);if(!n)return;let r=n.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(r){let i=r[1],a=r[2],o=`${t}?o=${i}&p=${n.projectId}`;a&&(o+=`&r=${a}`),e.tunnel=o,rc.T&&E.vF.info(`Tunneling events to "${o}"`)}else rc.T&&E.vF.warn("Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.")}})(t),y(t,"nextjs",["nextjs","react"]),function(e){let t={...e};
19y(t,"react"),(0,b.o)("react",{version:tE.version}),function(e={}){let t=function(e={}){let t={defaultIntegrations:tS(e),release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:eS.SENTRY_RELEASE&&eS.SENTRY_RELEASE.id?eS.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return null==e.defaultIntegrations&&delete e.defaultIntegrations,{...t,...e}}(e);if(!t.skipBrowserExtensionCheck&&function(){let e=void 0!==eS.window&&eS;if(!e)return!1;let t=e.chrome?"chrome":"browser",n=e[t],r=n&&n.runtime&&n.runtime.id,i=eS.location&&eS.location.href||"",a=!!r&&eS===eS.top&&["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"].some(e=>i.startsWith(`${e}//`)),o=void 0!==e.nw;return!!r&&!a&&!o}()){(0,E.pq)(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});return}ef&&!H()&&E.vF.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."),function(e,t){!0===t.debug&&(S.T?E.vF.enable():(0,E.pq)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,I.o5)().update(t.initialScope);let n=new e(t);(0,I.o5)().setClient(n),n.init()}(ew,{...t,stackParser:(0,R.vk)(t.stackParser||tm),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;let i=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),a=i.findIndex(e=>"Debug"===e.name);if(a>-1){let[e]=i.splice(a,1);i.push(e)}return i}(t),transport:t.transport||tb})}(t)}(t);let n=e=>"transaction"===e.type&&"/404"===e.transaction?null:e;n.id="NextClient404Filter",(0,b.SA)(n);let r=e=>"transaction"===e.type&&e.transaction===ri?null:e;r.id="IncompleteTransactionFilter",(0,b.SA)(r);let i=(e,t)=>{var n;return(n=g([t,"optionalAccess",e=>e.originalException]),(0,ea.bJ)(n)&&"string"==typeof n.digest&&n.digest.startsWith("NEXT_REDIRECT;"))?null:e};i.id="NextRedirectErrorFilter",(0,b.SA)(i)}({dsn:rv.env.SENTRY_DSN||rv.env.NEXT_PUBLIC_SENTRY_DSN||"https://[email protected]/4505938675171328",environment:"production",ignoreErrors:["TypeError: Failed to fetch","TypeError: NetworkError when attempting to fetch resource.","TypeError: Load failed","TypeError: cancelled"]})},9714:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(4848);n(7125);var i=n(6540),a=n(1003),o=n.n(a),s=n(9123);let c="GTM-7XBB",u="6Let4GAsAAAAADxUgW7ueRMFocoPx5Va_QuAsG0o",l=function(e){let{Component:t,pageProps:n}=e;return(0,i.useEffect)(()=>{c&&o().initialize({gtmId:c})},[]),(0,r.jsx)(r.Fragment,{children:u?(0,r.jsx)(s.G3,{reCaptchaKey:u,scriptProps:{async:!1,defer:!1,appendTo:"head",nonce:void 0},children:(0,r.jsx)(t,{...n})}):(0,r.jsx)(t,{...n})})}},7125:()=>{},6715:(e,t,n)=>{e.exports=n(8440)},9123:(e,t,n)=>{"use strict";n.d(t,{G3:()=>p,_Y:()=>f});var r,i=n(6540),a=n(7836),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},s=function(e){var t;e?function(e){if(e)for(;e.lastChild;)e.lastChild.remove()}("string"==typeof e?document.getElementById(e):e):(t=document.querySelector(".grecaptcha-badge"))&&t.parentNode&&document.body.removeChild(t.parentNode)},c=function(e,t){s(t),window.___grecaptcha_cfg=void 0;var n,r=document.querySelector("#"+e);r&&r.remove(),(n=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]'))&&n.remove()},u=function(e){var t=e.render,n=e.onLoadCallbackName,r=e.language,i=e.onLoad,a=e.useRecaptchaNet,o=e.useEnterprise,s=e.scriptProps,c=void 0===s?{}:s,u=c.nonce,l=void 0===u?"":u,d=c.defer,p=c.async,f=c.id,h=c.appendTo,m=(void 0===f?"":f)||"google-recaptcha-v3";
19if(document.querySelector("#"+m))i();else{var g,_="https://www."+((g={useEnterprise:o,useRecaptchaNet:a}).useRecaptchaNet?"recaptcha.net":"google.com")+"/recaptcha/"+(g.useEnterprise?"enterprise.js":"api.js"),v=document.createElement("script");v.id=m,v.src=_+"?render="+t+("explicit"===t?"&onload="+n:"")+(r?"&hl="+r:""),l&&(v.nonce=l),v.defer=!!(void 0!==d&&d),v.async=!!(void 0!==p&&p),v.onload=i,("body"===h?document.body:document.getElementsByTagName("head")[0]).appendChild(v)}},l=function(e){void 0===a||a.env,console.warn(e)};(r||(r={})).SCRIPT_NOT_AVAILABLE="Recaptcha script is not available";var d=(0,i.createContext)({executeRecaptcha:function(){throw Error("GoogleReCaptcha Context has not yet been implemented, if you are using useGoogleReCaptcha hook, make sure the hook is called inside component wrapped by GoogleRecaptchaProvider")}});function p(e){var t=e.reCaptchaKey,n=e.useEnterprise,a=void 0!==n&&n,s=e.useRecaptchaNet,p=void 0!==s&&s,f=e.scriptProps,h=e.language,m=e.container,g=e.children,_=(0,i.useState)(null),v=_[0],y=_[1],b=(0,i.useRef)(t),S=JSON.stringify(f),E=JSON.stringify(null==m?void 0:m.parameters);(0,i.useEffect)(function(){if(t){var e=(null==f?void 0:f.id)||"google-recaptcha-v3",n=(null==f?void 0:f.onLoadCallbackName)||"onRecaptchaLoadCallback";return window[n]=function(){var e=a?window.grecaptcha.enterprise:window.grecaptcha,n=o({badge:"inline",size:"invisible",sitekey:t},(null==m?void 0:m.parameters)||{});b.current=e.render(null==m?void 0:m.element,n)},u({render:(null==m?void 0:m.element)?"explicit":t,onLoadCallbackName:n,useEnterprise:a,useRecaptchaNet:p,scriptProps:f,language:h,onLoad:function(){if(window&&window.grecaptcha){var e=a?window.grecaptcha.enterprise:window.grecaptcha;e.ready(function(){y(e)})}else l("<GoogleRecaptchaProvider /> "+r.SCRIPT_NOT_AVAILABLE)},onError:function(){l("Error loading google recaptcha script")}}),function(){c(e,null==m?void 0:m.element)}}l("<GoogleReCaptchaProvider /> recaptcha key not provided")},[a,p,S,E,h,t,null==m?void 0:m.element]);var T=(0,i.useCallback)(function(e){if(!v||!v.execute)throw Error("<GoogleReCaptchaProvider /> Google Recaptcha has not been loaded");return v.execute(b.current,{action:e})},[v,b]),w=(0,i.useMemo)(function(){return{executeRecaptcha:v?T:void 0,container:null==m?void 0:m.element}},[T,v,null==m?void 0:m.element]);return i.createElement(d.Provider,{value:w},g)}d.Consumer;var f=function(){return(0,i.useContext)(d)};function h(e,t){return e(t={exports:{}},t.exports),t.exports}var m="function"==typeof Symbol&&Symbol.for,g=m?Symbol.for("react.element"):60103,_=m?Symbol.for("react.portal"):60106,v=m?Symbol.for("react.fragment"):60107,y=m?Symbol.for("react.strict_mode"):60108,b=m?Symbol.for("react.profiler"):60114,S=m?Symbol.for("react.provider"):60109,E=m?Symbol.for("react.context"):60110,T=m?Symbol.for("react.async_mode"):60111,w=m?Symbol.for("react.concurrent_mode"):60111,x=m?Symbol.for("react.forward_ref"):60112,k=m?Symbol.for("react.suspense"):60113,O=m?Symbol.for("react.suspense_list"):60120,C=m?Symbol.for("react.memo"):60115,$=m?Symbol.for("react.lazy"):60116,A=m?Symbol.for("react.block"):60121,I=m?Symbol.for("react.fundamental"):60117,N=m?Symbol.for("react.responder"):60118,D=m?Symbol.for("react.scope"):60119;function P(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case g:switch(e=e.type){case T:case w:case v:case b:case y:case k:return e;default:switch(e=e&&e.$$typeof){case E:case x:case $:case C:case S:return e;default:return t}}case _:return t}}}function R(e){return P(e)===w}var L={AsyncMode:T,ConcurrentMode:w,ContextConsumer:E,ContextProvider:S,Element:g,ForwardRef:x,Fragment:v,Lazy:$,Memo:C,Portal:_,Profiler:b,StrictMode:y,Suspense:k,isAsyncMode:function(e){return R(e)||P(e)===T},isConcurrentMode:R,isContextConsumer:function(e){return P(e)===E},isContextProvider:function(e){return P(e)===S},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===g},isForwardRef:function(e){return P(e)===x},isFragment:function(e){return P(e)===v},isLazy:function(e){return P(e)===$},isMemo:function(e){return P(e)===C},isPortal:function(e){return P(e)===_},isProfiler:function(e){return P(e)===b},isStrictMode:function(e){return P(e)===y},isSuspense:function(e){return P(e)===k},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===v||e===w||e===b||e===y||e===k||e===O||"object"==typeof e&&null!==e&&(e.$$typeof===$||e.$$typeof===C||e.$$typeof===S||e.$$typeof===E||e.$$typeof===x||e.$$typeof===I||e.$$typeof===N||e.$$typeof===D||e.$$typeof===A)},typeOf:P},F=h(function(e,t){}),M=(F.AsyncMode,F.ConcurrentMode,F.ContextConsumer,F.ContextProvider,F.Element,F.ForwardRef,F.Fragment,F.Lazy,F.Memo,F.Portal,F.Profiler,F.StrictMode,F.Suspense,F.isA
19syncMode,F.isConcurrentMode,F.isContextConsumer,F.isContextProvider,F.isElement,F.isForwardRef,F.isFragment,F.isLazy,F.isMemo,F.isPortal,F.isProfiler,F.isStrictMode,F.isSuspense,F.isValidElementType,F.typeOf,h(function(e){e.exports=L})),j={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},U={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},q={};q[M.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},q[M.Memo]=U,Object.getOwnPropertyNames,Object.getOwnPropertySymbols,Object.getOwnPropertyDescriptor,Object.getPrototypeOf,Object.prototype},5925:(e,t,n)=>{"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}}(n(8441));e.exports={tags:function(e){var t=e.id,n=e.events,i=e.dataLayer,a=e.dataLayerName,o=e.preview,s=">m_auth="+e.auth,c=">m_preview="+o;t||(0,r.default)("GTM Id is required");var u="\n (function(w,d,s,l,i){w[l]=w[l]||[];\n w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js', "+JSON.stringify(n).slice(1,-1)+"});\n var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';\n j.async=true;
19j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl+'"+s+c+">m_cookies_win=x';\n f.parentNode.insertBefore(j,f);\n })(window,document,'script','"+a+"','"+t+"');";return{iframe:'\n <iframe src="https://www.googletagmanager.com/ns.html?id='+t+s+c+'>m_cookies_win=x"\n height="0" width="0" style="display:none;visibility:hidden" id="tag-manager"></iframe>',script:u,dataLayerVar:this.dataLayer(i,a)}},dataLayer:function(e,t){return"\n window."+t+" = window."+t+" || [];\n window."+t+".push("+JSON.stringify(e)+")"}}},6324:(e,t,n)=>{"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}}(n(5925));e.exports={dataScript:function(e){var t=document.createElement("script");return t.innerHTML=e,t},gtm:function(e){var t=r.default.tags(e);return{noScript:function(){var e=document.createElement("noscript");return e.innerHTML=t.iframe,e},script:function(){var e=document.createElement("script");return e.innerHTML=t.script,e},dataScript:this.dataScript(t.dataLayerVar)}},initialize:function(e){var t=e.gtmId,n=e.events,r=e.dataLayer,i=e.dataLayerName,a=e.auth,o=e.preview,s=this.gtm({id:t,events:void 0===n?{}:n,dataLayer:r||void 0,dataLayerName:void 0===i?"dataLayer":i,auth:void 0===a?"":a,preview:void 0===o?"":o});r&&document.head.appendChild(s.dataScript),document.head.insertBefore(s.script(),document.head.childNodes[0]),document.body.insertBefore(s.noScript(),document.body.childNodes[0])},dataLayer:function(e){var t=e.dataLayer,n=e.dataLayerName,i=void 0===n?"dataLayer":n;if(window[i])return window[i].push(t);var a=r.default.dataLayer(t,i),o=this.dataScript(a);document.head.insertBefore(o,document.head.childNodes[0])}}},1003:(e,t,n)=>{"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}}(n(6324));e.exports=r.default},8441:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){console.warn("[react-gtm]",e)}},6218:(e,t,n)=>{"use strict";n.d(t,{h:()=>p});var r=n(5200),i=n(4988),a=n(2575),o=n(690);class s{constructor(e,t){let n,r;n=e||new i.H,r=t||new i.H,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){let t;let n=this._pushScope();try{t=e(n)}catch(e){throw this._popScope(),e}return(0,o.Qg)(t)?t.then(e=>(this._popScope(),e),e=>{throw this._popScope(),e}):(this._popScope(),t)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function c(){let e=(0,r.E)(),t=(0,r.S)(e);return t.stack=t.stack||new s((0,a.B)("defaultCurrentScope",()=>new i.H),(0,a.B)("defaultIsolationScope",()=>new i.H))}function u(e){return c().withScope(e)}function l(e,t){let n=c();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function d(e){return c().withScope(()=>e(c().getIsolationScope()))}function p(e){let t=(0,r.S)(e);return t.acs?t.acs:{withIsolationScope:d,withScope:u,withSetScope:l,withSetIsolationScope:(e,t)=>d(t),getCurrentScope:()=>c().getScope(),getIsolationScope:()=>c().getIsolationScope()}}},5200:(e,t,n)=>{"use strict";n.d(t,{E:()=>a,S:()=>o});var r=n(1472),i=n(2575);function a(){return o(i.O),i.O}function o(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||r.M,t[r.M]=t[r.M]||{}}},7313:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});let r="production"},7968:(e,t,n)=>{"use strict";n.d(t,{KU:()=>p,m6:()=>l,o5:()=>c,rm:()=>u,v4:()=>d,vn:()=>f});var r=n(6218),i=n(5200),a=n(4988),o=n(873),s=n(2575);function c(){let e=(0,i.E)();return(0,r.h)(e).getCurrentScope()}function u(){let e=(0,i.E)();return(0,r.h)(e).getIsolationScope()}function l(){return(0,s.B)("globalScope",()=>new a.H)}function d(...e){let t=(0,i.E)(),n=(0,r.h)(t);if(2===e.length){let[t,r]=e;return t?n.withSetScope(t,r):n.withScope(r)}return n.withScope(e[0])}function p(){return c().getClient()}function f(e){let{traceId:t,spanId:n,parentSpanId:r}=e.getPropagationContext();return(0,o.Ce)({trace_id:t,span_id:n,parent_span_id:r})}}
19,6674:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});let r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},4251:(e,t,n)=>{"use strict";n.d(t,{Cp:()=>l,J0:()=>g,J5:()=>y,Ol:()=>h,SA:()=>m,bX:()=>f,o:()=>p,r:()=>d});var r=n(7313),i=n(7968),a=n(6674),o=n(9328),s=n(5602),c=n(2575),u=n(8128);function l(e,t){return(0,i.o5)().captureException(e,(0,u.li)(t))}function d(e,t){return(0,i.o5)().captureEvent(e,t)}function p(e,t){(0,i.rm)().setContext(e,t)}async function f(e){let t=(0,i.KU)();return t?t.flush(e):(a.T&&s.vF.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}function h(){let e=(0,i.KU)();return!!e&&!1!==e.getOptions().enabled&&!!e.getTransport()}function m(e){(0,i.rm)().addEventProcessor(e)}function g(e){let t=(0,i.KU)(),n=(0,i.rm)(),a=(0,i.o5)(),{release:s,environment:u=r.U}=t&&t.getOptions()||{},{userAgent:l}=c.O.navigator||{},d=(0,o.fj)({release:s,environment:u,user:a.getUser()||n.getUser(),...l&&{userAgent:l},...e}),p=n.getSession();return p&&"ok"===p.status&&(0,o.qO)(p,{status:"exited"}),_(),n.setSession(d),a.setSession(d),d}function _(){let e=(0,i.rm)(),t=(0,i.o5)(),n=t.getSession()||e.getSession();n&&(0,o.Vu)(n),v(),e.setSession(),t.setSession()}function v(){let e=(0,i.rm)(),t=(0,i.o5)(),n=(0,i.KU)(),r=t.getSession()||e.getSession();r&&n&&n.captureSession(r)}function y(e=!1){if(e){_();return}v()}},2409:(e,t,n)=>{"use strict";n.d(t,{g:()=>i});var r=n(873);function i(e){let t=e._sentryMetrics;if(!t)return;let n={};for(let[,[e,i]]of t)(n[e]||(n[e]=[])).push((0,r.Ce)(i));return n}},4988:(e,t,n)=>{"use strict";n.d(t,{H:()=>p});var r=n(9328),i=n(690),a=n(5602),o=n(4910),s=n(243),c=n(519),u=n(5734),l=n(333);class d{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:(0,s.el)(),spanId:(0,s.ZF)()}}clone(){let e=new d;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,(0,l.r)(e,(0,l.f)(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&(0,r.qO)(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let t="function"==typeof e?e(this):e,[n,r]=t instanceof p?[t.getScopeData(),t.getRequestSession()]:(0,i.Qd)(t)?[e,e.requestSession]:[],{tags:a,extra:o,user:s,contexts:c,level:u,fingerprint:l=[],propagationContext:d}=n||{};return this._tags={...this._tags,...a},this._extra={...this._extra,...o},this._contexts={...this._contexts,...c},s&&Object.keys(s).length&&(this._user=s),u&&(this._level=u),l.length&&(this._fingerprint=l),d&&(this._propagationContext=d),r&&(this._requestSession=r),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,(0,l.r)(this,void 0),this._attachments=[],this.setPropagationContext({traceId:(0,s.el)()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let n="number"==typeof t?t:100;if(n<=0)return this;let r={timestamp:(0,c.lu)(),...e},i=this._breadcrumbs;return i.push(r),this._breadcrumbs=i.length>n?i.slice(-n):i,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:(0,l.f)(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=(0,u.h)(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext={spanId:(0,s.ZF)(),...e},this}getPropagationContext(){return this._propagationContext}captureException(e,t){let n=t&&t.event_id?t.event_id:(0,o.eJ)();if(!this._client)return a.vF.warn("No client configured on scope - will not capture exception!"),n;let r=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){let r=n&&n.event_id?n.event_id:(0,o.eJ)();if(!this._client)return a.vF.warn("No client configured on scope - will not capture message!"),r;let i=Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){let n=t&&t.event_id?t.event_id:(0,o.eJ)();return this._client?this._client.captureEvent(e,{...t,event_id:n},this):a.vF.warn("No client configured on scope - will not capture event!"),n}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
19h(e=>{e(this)}),this._notifyingListeners=!1)}}let p=d},4611:(e,t,n)=>{"use strict";n.d(t,{E1:()=>d,JD:()=>o,Le:()=>l,Sn:()=>c,fs:()=>s,i_:()=>r,jG:()=>p,sy:()=>i,uT:()=>a,xc:()=>u});let r="sentry.source",i="sentry.sample_rate",a="sentry.op",o="sentry.origin",s="sentry.idle_span_finish_reason",c="sentry.measurement_unit",u="sentry.measurement_value",l="sentry.custom_span_name",d="sentry.profile_id",p="sentry.exclusive_time"},9328:(e,t,n)=>{"use strict";n.d(t,{Vu:()=>c,fj:()=>o,qO:()=>s});var r=n(873),i=n(519),a=n(4910);function o(e){let t=(0,i.zf)(),n={sid:(0,a.eJ)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>(0,r.Ce)({sid:`${n.sid}`,init:n.init,started:new Date(1e3*n.started).toISOString(),timestamp:new Date(1e3*n.timestamp).toISOString(),status:n.status,errors:n.errors,did:"number"==typeof n.did||"string"==typeof n.did?`${n.did}`:void 0,duration:n.duration,abnormal_mechanism:n.abnormal_mechanism,attrs:{release:n.release,environment:n.environment,ip_address:n.ipAddress,user_agent:n.userAgent}})};return e&&s(n,e),n}function s(e,t={}){if(!t.user||(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,i.zf)(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:(0,a.eJ)()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function c(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),s(e,n)}},1158:(e,t,n)=>{"use strict";n.d(t,{LZ:()=>d,ao:()=>f,k1:()=>h});var r=n(7313),i=n(7968),a=n(4611),o=n(8922),s=n(873),c=n(237),u=n(5915);let l="_frozenDsc";function d(e,t){(0,s.my)(e,l,t)}function p(e,t){let n=t.getOptions(),{publicKey:i}=t.getDsn()||{},a=(0,s.Ce)({environment:n.environment||r.U,release:n.release,public_key:i,trace_id:e});return t.emit("createDsc",a),a}function f(e,t){let n=t.getPropagationContext();return n.dsc||p(n.traceId,e)}function h(e){let t=(0,i.KU)();if(!t)return{};let n=(0,u.zU)(e),r=n[l];if(r)return r;let s=n.spanContext().traceState,d=s&&s.get("sentry.dsc"),f=d&&(0,o.yD)(d);if(f)return f;let h=p(e.spanContext().traceId,t),m=(0,u.et)(n),g=m.data||{},_=g[a.sy];null!=_&&(h.sample_rate=`${_}`);let v=g[a.i_],y=m.description;return"url"!==v&&y&&(h.transaction=y),(0,c.w)()&&(h.sampled=String((0,u.pK)(n))),t.emit("createDsc",h,n),h}},1135:(e,t,n)=>{"use strict";n.d(t,{F3:()=>i,N8:()=>o,TJ:()=>a,a3:()=>r});let r=0,i=1,a=2;function o(e,t){e.setAttribute("http.response.status_code",t);let n=function(e){if(e<400&&e>=100)return{code:i};if(e>=400&&e<500)switch(e){case 401:return{code:a,message:"unauthenticated"};case 403:return{code:a,message:"permission_denied"};case 404:return{code:a,message:"not_found"};case 409:return{code:a,message:"already_exists"};case 413:return{code:a,message:"failed_precondition"};case 429:return{code:a,message:"resource_exhausted"};case 499:return{code:a,message:"cancelled"};default:return{code:a,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:a,message:"unimplemented"};case 503:return{code:a,message:"unavailable"};case 504:return{code:a,message:"deadline_exceeded"};default:return{code:a,message:"internal_error"}}return{code:a,message:"unknown_error"}}(t);"unknown_error"!==n.message&&e.setStatus(n)}},8922:(e,t,n)=>{"use strict";n.d(t,{D0:()=>l,De:()=>u,sv:()=>o,yD:()=>c});var r=n(1042),i=n(690),a=n(5602);let o="sentry-",s=/^sentry-/;function c(e){let t=l(e);if(!t)return;let n=Object.entries(t).reduce((e,[t,n])=>(t.match(s)&&(e[t.slice(o.length)]=n),e),{});return Object.keys(n).length>0?n:void 0}function u(e){if(e)return function(e){if(0!==Object.keys(e).length)return Object.entries(e).reduce((e,[t,n],i)=>{let o=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,s=0===i?o:`${e},${o}`;return s.length>8192?(r.T&&a.vF.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):s},"")}(Object.entries(e).reduce((e,[t,n])=>(n&&(e[`${o}${t}`]=n),e),{}))}function l(e){return e&&((0,i.Kg)(e)||Array.isArray(e))?Array.isArray(e)?e.reduce((e,t)=>
19(Object.entries(d(t)).forEach(([t,n])=>{e[t]=n}),e),{}):d(e):void 0}function d(e){return e.split(",").map(e=>e.split("=").map(e=>decodeURIComponent(e.trim()))).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}},7320:(e,t,n)=>{"use strict";n.d(t,{$N:()=>o,Hd:()=>a,NX:()=>s,xE:()=>c});var r=n(690);let i=n(2575).O;function a(e,t={}){if(!e)return"<unknown>";try{let n,a=e,o=[],s=0,c=0,u=Array.isArray(t)?t:t.keyAttrs,l=!Array.isArray(t)&&t.maxStringLength||80;for(;a&&s++<5&&(n=function(e,t){let n=[];if(!e||!e.tagName)return"";if(i.HTMLElement&&e instanceof HTMLElement&&e.dataset){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}n.push(e.tagName.toLowerCase());let a=t&&t.length?t.filter(t=>e.getAttribute(t)).map(t=>[t,e.getAttribute(t)]):null;if(a&&a.length)a.forEach(e=>{n.push(`[${e[0]}="${e[1]}"]`)});else{e.id&&n.push(`#${e.id}`);let t=e.className;if(t&&(0,r.Kg)(t))for(let e of t.split(/\s+/))n.push(`.${e}`)}for(let t of["aria-label","type","name","title","alt"]){let r=e.getAttribute(t);r&&n.push(`[${t}="${r}"]`)}return n.join("")}(a,u),"html"!==n&&(!(s>1)||!(c+3*o.length+n.length>=l)));)o.push(n),c+=n.length,a=a.parentNode;return o.reverse().join(" > ")}catch(e){return"<unknown>"}}function o(){try{return i.document.location.href}catch(e){return""}}function s(e){return i.document&&i.document.querySelector?i.document.querySelector(e):null}function c(e){if(!i.HTMLElement)return null;let t=e;for(let e=0;e<5&&t;e++){if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}},1042:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});let r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},690:(e,t,n)=>{"use strict";n.d(t,{BD:()=>s,Kg:()=>u,L2:()=>y,NF:()=>l,Qd:()=>p,Qg:()=>g,T2:()=>o,W6:()=>c,bJ:()=>i,gd:()=>m,mE:()=>_,sO:()=>d,tH:()=>v,vq:()=>h,xH:()=>f});let r=Object.prototype.toString;function i(e){switch(r.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return v(e,Error)}}function a(e,t){return r.call(e)===`[object ${t}]`}function o(e){return a(e,"ErrorEvent")}function s(e){return a(e,"DOMError")}function c(e){return a(e,"DOMException")}function u(e){return a(e,"String")}function l(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function d(e){return null===e||l(e)||"object"!=typeof e&&"function"!=typeof e}function p(e){return a(e,"Object")}function f(e){return"undefined"!=typeof Event&&v(e,Event)}function h(e){return"undefined"!=typeof Element&&v(e,Element)}function m(e){return a(e,"RegExp")}function g(e){return!!(e&&e.then&&"function"==typeof e.then)}
19function _(e){return p(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function v(e,t){try{return e instanceof t}catch(e){return!1}}function y(e){return!!("object"==typeof e&&null!==e&&(e.__isVue||e._isVue))}},5602:(e,t,n)=>{"use strict";n.d(t,{Ow:()=>a,Z9:()=>o,pq:()=>s,vF:()=>c});var r=n(1042),i=n(2575);let a=["debug","info","warn","error","log","assert","trace"],o={};function s(e){if(!("console"in i.O))return e();let t=i.O.console,n={},r=Object.keys(o);r.forEach(e=>{let r=o[e];n[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=n[e]})}}let c=(0,i.B)("logger",function(){let e=!1,t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return r.T?a.forEach(n=>{t[n]=(...t)=>{e&&s(()=>{i.O.console[n](`Sentry Logger [${n}]:`,...t)})}}):a.forEach(e=>{t[e]=()=>void 0}),t})},4910:(e,t,n)=>{"use strict";n.d(t,{$X:()=>s,GR:()=>l,M6:()=>u,eJ:()=>a,gO:()=>c});var r=n(873),i=n(2575);function a(){let e=i.O,t=e.crypto||e.msCrypto,n=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{let e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(e){}return"10000000100040008000100000000000".replace(/[018]/g,e=>(e^(15&n())>>e/4).toString(16))}function o(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function s(e){let{message:t,event_id:n}=e;if(t)return t;let r=o(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function c(e,t,n){let r=e.exception=e.exception||{},i=r.values=r.values||[],a=i[0]=i[0]||{};a.value||(a.value=t||""),a.type||(a.type=n||"Error")}function u(e,t){let n=o(e);if(!n)return;let r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){let e={...r&&r.data,...t.data};n.mechanism.data=e}}function l(e){if(function(e){try{return e.__sentry_captured__}catch(e){}}(e))return!0;try{(0,r.my)(e,"__sentry_captured__",!0)}catch(e){}return!1}},9900:(e,t,n)=>{"use strict";n.d(t,{S8:()=>o,cd:()=>function e(t,n=3,r=102400){let i=o(t,n);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>r?e(t,n-1,r):i}});var r=n(690),i=n(873),a=n(527);function o(e,t=100,n=Infinity){try{return function e(t,n,o=Infinity,s=Infinity,c=function(){let e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e<t.length;e++)if(t[e]===n)return!0;return t.push(n),!1},function(n){if(e)t.delete(n);else for(let e=0;e<t.length;e++)if(t[e]===n){t.splice(e,1);break}}]}()){let[u,l]=c;if(null==n||["boolean","string"].includes(typeof n)||"number"==typeof n&&Number.isFinite(n))return n;let d=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!=typeof global&&t===global)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if((0,r.L2)(t))return"[VueViewModel]";if((0,r.mE)(t))return"[SyntheticEvent]";if("number"==typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"==typeof t)return`[Function: ${(0,a.qQ)(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;let n=function(e){let t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}(t);if(/^HTML(\w*)Element$/.test(n))return`[HTMLElement: ${n}]`;return`[object ${n}]`}catch(e){return`**non-serializable** (${e})`}}(t,n);if(!d.startsWith("[object "))return d;if(n.__sentry_skip_normalization__)return n;let p="number"==typeof n.__sentry_override_normalization_depth__?n.__sentry_override_normalization_depth__:o;if(0===p)return d.replace("object ","");if(u(n))return"[Circular ~]";if(n&&"function"==typeof n.toJSON)try{let t=n.toJSON();return e("",t,p-1,s,c)}catch(e){}let f=Array.isArray(n)?[]:{},h=0,m=(0,i.W4)(n);for(let t in m){if(!Object.prototype.hasOwnProperty.call(m,t))continue;if(h>=s){f[t]="[MaxProperties ~]";break}let n=m[t];f[t]=e(t,n,p-1,s,c),h++}return l(n),f}("",e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}},873:(e,t,n)=>{"use strict";n.d(t,{Ce:()=>g,GS:()=>c,HF:()=>m,W4:()=>p,my:()=>u,pO:()=>l,sp:()=>d});var r=n(7320),i=n(1042),a=n(690),o=n(5602),s=n(2323);
19function c(e,t,n){if(!(t in e))return;let r=e[t],a=n(r);"function"==typeof a&&l(a,r);try{e[t]=a}catch(n){i.T&&o.vF.log(`Failed to replace method "${t}" in object`,e)}}function u(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(n){i.T&&o.vF.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function l(e,t){try{let n=t.prototype||{};e.prototype=t.prototype=n,u(e,"__sentry_original__",t)}catch(e){}}function d(e){return e.__sentry_original__}function p(e){if((0,a.bJ)(e))return{message:e.message,name:e.name,stack:e.stack,...h(e)};if(!(0,a.xH)(e))return e;{let t={type:e.type,target:f(e.target),currentTarget:f(e.currentTarget),...h(e)};return"undefined"!=typeof CustomEvent&&(0,a.tH)(e,CustomEvent)&&(t.detail=e.detail),t}}function f(e){try{return(0,a.vq)(e)?(0,r.Hd)(e):Object.prototype.toString.call(e)}catch(e){return"<unknown>"}}function h(e){if("object"!=typeof e||null===e)return{};{let t={};for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}}function m(e,t=40){let n=Object.keys(p(e));n.sort();let r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return(0,s.xv)(r,t);for(let e=n.length;e>0;e--){let r=n.slice(0,e).join(", ");if(!(r.length>t)){if(e===n.length)return r;return(0,s.xv)(r,t)}}return""}function g(e){return function e(t,n){if(function(e){if(!(0,a.Qd)(e))return!1;try{let t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(e){return!0}}(t)){let r=n.get(t);if(void 0!==r)return r;let i={};for(let r of(n.set(t,i),Object.getOwnPropertyNames(t)))void 0!==t[r]&&(i[r]=e(t[r],n));return i}if(Array.isArray(t)){let r=n.get(t);if(void 0!==r)return r;let i=[];return n.set(t,i),t.forEach(t=>{i.push(e(t,n))}),i}return t}(e,new Map)}},243:(e,t,n)=>{"use strict";n.d(t,{ZF:()=>a,el:()=>i});var r=n(4910);function i(){return(0,r.eJ)()}function a(){return(0,r.eJ)().substring(16)}},527:(e,t,n)=>{"use strict";n.d(t,{RV:()=>d,gd:()=>o,qQ:()=>l,vk:()=>s,yF:()=>r});let r="?",i=/\(error: (.*)\)/,a=/captureMessage|captureException/;function o(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,o=0)=>{let s=[],u=e.split("\n");for(let e=n;e<u.length;e++){let n=u[e];if(n.length>1024)continue;let r=i.test(n)?n.replace(i,"$1"):n;if(!r.match(/\S*Error: /)){for(let e of t){let t=e(r);if(t){s.push(t);break}}if(s.length>=50+o)break}}return function(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(c(t).function||"")&&t.pop(),t.reverse(),a.test(c(t).function||"")&&(t.pop(),a.test(c(t).function||"")&&t.pop()),t.slice(0,50).map(e=>({...e,filename:e.filename||c(t).filename,function:e.function||r}))}(s.slice(o))}}function s(e){return Array.isArray(e)?o(...e):e}function c(e){return e[e.length-1]||{}}let u="<anonymous>";function l(e){try{if(!e||"function"!=typeof e)return u;return e.name||u}catch(e){return u}}function d(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch(e){}}}},2323:(e,t,n)=>{"use strict";n.d(t,{Xr:()=>o,gt:()=>a,xv:()=>i});var r=n(690);function i(e,t=0){return"string"!=typeof e||0===t?e:e.length<=t?e:`${e.slice(0,t)}...`}function a(e,t){if(!Array.isArray(e))return"";let n=[];for(let t=0;t<e.length;t++){let i=e[t];try{(0,r.L2)(i)?n.push("[VueViewModel]"):n.push(String(i))}catch(e){n.push("[value cannot be serialized]")}}return n.join(t)}function o(e,t=[],n=!1){return t.some(t=>(function(e,t,n=!1){return!!(0,r.Kg)(e)&&((0,r.gd)(t)?t.test(e):!!(0,r.Kg)(t)&&(n?e===t:e.includes(t)))})(e,t,n))}},572:(e,t,n)=>{"use strict";n.d(t,{T2:()=>s,XW:()=>a,xg:()=>o});var r,i=n(690);function a(e){return new s(t=>{t(e)})}function o(e){return new s((t,n)=>{n(e)})}!function(e){e[e.PENDING=0]="PENDING",e[e.RESOLVED=1]="RESOLVED",e[e.REJECTED=2]="REJECTED"}(r||(r={}));class s{constructor(e){s.prototype.__init.call(this),s.prototype.__init2.call(this),s.prototype.__init3.call(this),s.prototype.__init4.call(this),this._state=r.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new s((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 s((t,n)=>{let r,i;return this.then(t=>{i=!1,r=t,e&&e()},t=>{i=!0,r=t,e&&e()}).then(()=>
19{if(i){n(r);return}t(r)})})}__init(){this._resolve=e=>{this._setResult(r.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(r.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{if(this._state===r.PENDING){if((0,i.Qg)(t)){t.then(this._resolve,this._reject);return}this._state=e,this._value=t,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===r.PENDING)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(this._state===r.RESOLVED&&e[1](this._value),this._state===r.REJECTED&&e[2](this._value),e[0]=!0)})}}}},519:(e,t,n)=>{"use strict";n.d(t,{k3:()=>o,lu:()=>i,zf:()=>a});var r=n(2575);function i(){return Date.now()/1e3}let a=function(){let{performance:e}=r.O;if(!e||!e.now)return i;let t=Date.now()-e.now(),n=void 0==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/1e3}(),o=(()=>{let{performance:e}=r.O;if(!e||!e.now)return;let t=e.now(),n=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+t-n):36e5,a=e.timing&&e.timing.navigationStart,o="number"==typeof a?Math.abs(a+t-n):36e5;return i<36e5||o<36e5?i<=o?e.timeOrigin:a:n})()},8190:(e,t,n)=>{"use strict";n.d(t,{MI:()=>a,TC:()=>s,kM:()=>o});var r=n(8922),i=n(243);let a=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function o(e,t){let n=function(e){let t;if(!e)return;let n=e.match(a);if(n)return"1"===n[3]?t=!0:"0"===n[3]&&(t=!1),{traceId:n[1],parentSampled:t,parentSpanId:n[2]}}(e),o=(0,r.yD)(t);if(!n||!n.traceId)return{traceId:(0,i.el)(),spanId:(0,i.ZF)()};let{traceId:s,parentSpanId:c,parentSampled:u}=n;return{traceId:s,parentSpanId:c,spanId:(0,i.ZF)(),sampled:u,dsc:o||{}}}function s(e=(0,i.el)(),t=(0,i.ZF)(),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${e}-${t}${r}`}},1472:(e,t,n)=>{"use strict";n.d(t,{M:()=>r});let r="8.50.0"},2575:(e,t,n)=>{"use strict";n.d(t,{B:()=>a,O:()=>i});var r=n(1472);let i=globalThis;function a(e,t,n){let a=n||i,o=a.__SENTRY__=a.__SENTRY__||{},s=o[r.M]=o[r.M]||{};return s[e]||(s[e]=t())}},237:(e,t,n)=>{"use strict";n.d(t,{w:()=>i});var r=n(7968);function i(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let t=(0,r.KU)(),n=e||t&&t.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}},5734:(e,t,n)=>{"use strict";n.d(t,{h:()=>function e(t,n,r=2){if(!n||"object"!=typeof n||r<=0)return n;if(t&&n&&0===Object.keys(n).length)return t;let i={...t};for(let t in n)Object.prototype.hasOwnProperty.call(n,t)&&(i[t]=e(i[t],n[t],r-1));return i}})},8128:(e,t,n)=>{"use strict";let r,i,a;n.d(t,{li:()=>x,mG:()=>w});var o=n(7313),s=n(7968),c=n(6674),u=n(690),l=n(5602),d=n(572),p=n(4988),f=n(2575),h=n(4910),m=n(9900),g=n(2323),_=n(519),v=n(1158),y=n(873),b=n(5734),S=n(5915);function E(e,t){let{extra:n,tags:r,user:i,contexts:a,level:o,sdkProcessingMetadata:s,breadcrumbs:c,fingerprint:u,eventProcessors:l,attachments:d,propagationContext:p,transactionName:f,span:h}=t;T(e,"extra",n),T(e,"tags",r),T(e,"user",i),T(e,"contexts",a),e.sdkProcessingMetadata=(0,b.h)(e.sdkProcessingMetadata,s,2),o&&(e.level=o),f&&(e.transactionName=f),h&&(e.span=h),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),l.length&&(e.eventProcessors=[...e.eventProcessors,...l]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...p}}function T(e,t,n){e[t]=(0,b.h)(e[t],n,1)}function w(e,t,n,b,T,w){let{normalizeDepth:x=3,normalizeMaxBreadth:k=1e3}=e,O={...t,event_id:t.event_id||n.event_id||(0,h.eJ)(),timestamp:t.timestamp||(0,_.lu)()},C=n.integrations||e.integrations.map(e=>e.name);(function(e,t){let{environment:n,release:r,dist:i,maxValueLength:a=250}=t;e.environment=e.environment||n||o.U,!e.release&&r&&(e.release=r),!e.dist&&i&&(e.dist=i),e.message&&(e.message=(0,g.xv)(e.message,a));let s=e.exception&&e.exception.values&&e.exception.values[0];s&&s.value&&(s.value=(0,g.xv)(s.value,a));let c=e.request;c&&c.url&&(c.url=(0,g.xv)(c.url,a))})(O,e),C.length>0&&(O.sdk=O.sdk||{},O.sdk.integrations=[...O.sdk.integrations||[],...C]),T&&T.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){let n=function(e){let t=f.O._sentryDebugIds;if(!t)return{};let n=Object.keys(t);return a&&n.length===i?a:(i=n.length,a=n.reduce((n,i)=>{r||(r={});let a=r[i];if(a)n[a[0]]=a[1];else{let a=e(i);for(let e=a.length-1;e>=0;e--){let o=a[e],s=o&&o.filename,c=t[i];if(s&&c){n[s]=c,r[i]=[s,c];break}}}return n},{}))}(t);
19try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{n&&e.filename&&(e.debug_id=n[e.filename])})})}catch(e){}}(O,e.stackParser);let $=function(e,t){if(!t)return e;let n=e?e.clone():new p.H;return n.update(t),n}(b,n.captureContext);n.mechanism&&(0,h.M6)(O,n.mechanism);let A=T?T.getEventProcessors():[],I=(0,s.m6)().getScopeData();w&&E(I,w.getScopeData()),$&&E(I,$.getScopeData());let N=[...n.attachments||[],...I.attachments];return N.length&&(n.attachments=N),function(e,t){let{fingerprint:n,span:r,breadcrumbs:i,sdkProcessingMetadata:a}=t;(function(e,t){let{extra:n,tags:r,user:i,contexts:a,level:o,transactionName:s}=t,c=(0,y.Ce)(n);c&&Object.keys(c).length&&(e.extra={...c,...e.extra});let u=(0,y.Ce)(r);u&&Object.keys(u).length&&(e.tags={...u,...e.tags});let l=(0,y.Ce)(i);l&&Object.keys(l).length&&(e.user={...l,...e.user});let d=(0,y.Ce)(a);d&&Object.keys(d).length&&(e.contexts={...d,...e.contexts}),o&&(e.level=o),s&&"transaction"!==e.type&&(e.transaction=s)})(e,t),r&&function(e,t){e.contexts={trace:(0,S.kX)(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,v.k1)(t),...e.sdkProcessingMetadata};let n=(0,S.zU)(t),r=(0,S.et)(n).description;r&&!e.transaction&&"transaction"===e.type&&(e.transaction=r)}(e,r),e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],n&&(e.fingerprint=e.fingerprint.concat(n)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint,function(e,t){let n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,i),e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...a}}(O,I),(function e(t,n,r,i=0){return new d.T2((a,o)=>{let s=t[i];if(null===n||"function"!=typeof s)a(n);else{let d=s({...n},r);c.T&&s.id&&null===d&&l.vF.log(`Event processor "${s.id}" dropped event`),(0,u.Qg)(d)?d.then(n=>e(t,n,r,i+1).then(a)).then(null,o):e(t,d,r,i+1).then(a).then(null,o)}})})([...A,...I.eventProcessors],O,n).then(e=>(e&&function(e){let t={};try{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)})})}catch(e){}if(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 x&&x>0)?function(e,t,n){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:(0,m.S8)(e.data,t,n)}}))},...e.user&&{user:(0,m.S8)(e.user,t,n)},...e.contexts&&{contexts:(0,m.S8)(e.contexts,t,n)},...e.extra&&{extra:(0,m.S8)(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=(0,m.S8)(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:(0,m.S8)(e.data,t,n)}}))),e.contexts&&e.contexts.flags&&r.contexts&&(r.contexts.flags=(0,m.S8)(e.contexts.flags,3,n)),r}(e,x,k):e)}function x(e){return e?e instanceof p.H||"function"==typeof e||Object.keys(e).some(e=>k.includes(e))?{captureContext:e}:e:void 0}let k=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"]},333:(e,t,n)=>{"use strict";n.d(t,{f:()=>o,r:()=>a});var r=n(873);let i="_sentrySpan";function a(e,t){t?(0,r.my)(e,i,t):delete e[i]}function o(e){return e[i]}},5915:(e,t,n)=>{"use strict";n.d(t,{Bk:()=>N,CC:()=>m,Ck:()=>v,Hu:()=>C,Qh:()=>b,VS:()=>$,aO:()=>g,cI:()=>S,et:()=>T,kX:()=>y,pK:()=>w,xO:()=>A,xl:()=>D,yW:()=>x,zU:()=>I});var r=n(6218),i=n(5200),a=n(7968),o=n(2409),s=n(4611),c=n(1135),u=n(5602),l=n(873),d=n(243),p=n(519),f=n(8190),h=n(333);let m=0,g=1,_=!1;function v(e){let{spanId:t,traceId:n}=e.spanContext(),{data:r,op:i,parent_span_id:a,status:o,origin:s}=T(e);return(0,l.Ce)({parent_span_id:a,span_id:t,trace_id:n,data:r,op:i,status:o,origin:s})}function y(e){let{spanId:t,traceId:n,isRemote:r}=e.spanContext(),i=r?t:T(e).parent_span_id,a=r?(0,d.ZF)():t;return(0,l.Ce)({parent_span_id:i,span_id:a,trace_id:n})}function b(e){let{traceId:t,spanId:n}=e.spanContext(),r=w(e);return(0,f.TC)(t,n,r)}function S(e){return"number"==typeof e?E(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?E(e.getTime()):(0,p.zf)()}function E(e){return e>0x2540be3ff?e/1e3:e}function T(e){if("function"==typeof e.getSpanJSON)return e.getSpanJSON();try{let{spanId:t,traceId:n}=e.spanContext();if(e.attributes&&e.startTime&&e.name&&e.endTime&&e.status){let{attributes:r,startTime:i,name:a,endTime:c,parentSpanId:u,status:d}=e;return(0,l.Ce)({span_id:t,trace_id:n,data:r,description:a,parent_span_id:u,start_timestamp:S(i),timestamp:S(c)||void 0,status:x(d),op:r[s.uT],origin:r[s.JD],_metrics_summary:(0,o.g)(e)})}return{span_id:t,trace_id:n}}catch(e){return{}}}function w(e){let{traceFlags:t}=e.spanContext();return t===g}function x(e){return e&&e.code!==c.a3?e.code===c.F3?"ok":e.message||"unknown_error":void 0}let k="_sentryChildSpans",O="_sentryRootSpan";function C(e,t){let n=e[O]||e;(0,l.my)(t,O,n),e[k]?e[k].add(t):(0,l.my)(e,k,new Set([t]))}function $(e,t){e[k]&&e[k].delete(t)}function A(e){let t=new Set;return function e(n){if(!t.has(n)&&w(n))for(let r of(t.add(n),n[k]?Array.from(n[k]):[]))e(r)}(e),Array.from(t)}function I(e){return e[O]||e}function N(){let e=(0,i.E)(),t=(0,r.h)(e);return t.getActiveSpan?t.getActiveSpan():(0,h.f)((0,a.o5)())}function D(){_||((0,u.pq)(()=>{console.warn("[Sentry] Deprecation warning: Returning null from `beforeSendSpan` will be disallowed from SDK ver
19sion 9.0.0 onwards. The callback will only support mutating spans. To drop certain spans, configure the respective integrations directly.")}),_=!0)}},9694:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});let r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__}},e=>{var t=t=>e(e.s=t);e.O(0,[593,792],()=>(t(9668),t(8424),t(8440))),_N_E=e.O()}]);
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.