PageSourceSearch

https://ourfutureancestors.com/js/sentry.js?id=c83bc6ee37b14678c7cde1f96899ccd0

js ourfutureancestors.com collected 2026-10-08 03:18:40 UTC 119,454 bytes, 1 lines download raw bytes

1(()=>{var t,e={758:(t,e,n)=>{"use strict";n.d(e,{r:()=>o});var i=n(5659),r=n(7850),s=n(1422);function o(){(0,r.T)(),(0,s.KV)()&&function(){const e=(0,i.cu)();if(!e.__SENTRY__)return;const n={mongodb:()=>new((0,s.l$)(t,"./node/integrations/mongo").Mongo),mongoose:()=>new((0,s.l$)(t,"./node/integrations/mongo").Mongo)({mongoose:!0}),mysql:()=>new((0,s.l$)(t,"./node/integrations/mysql").Mysql),pg:()=>new((0,s.l$)(t,"./node/integrations/postgres").Postgres)},r=Object.keys(n).filter((t=>!!(0,s.$y)(t))).map((t=>{try{return n[t]()}catch(t){return}})).filter((t=>t));r.length>0&&(e.__SENTRY__.integrations=[...e.__SENTRY__.integrations||[],...r])}()}t=n.hmd(t)},6046:(t,e,n)=>{"use strict";n(1422);t=n.hmd(t)},1131:(t,e,n)=>{"use strict";n.d(e,{J:()=>i});const i="production"},5659:(t,e,n)=>{"use strict";n.d(e,{Gd:()=>g,cu:()=>h});var i=n(2844),r=n(1170),s=n(2343),o=n(1235),a=n(1422),c=n(1131),u=n(350),_=n(9015);const d=4,l=100;class p{constructor(t,e=new u.s,n=d){this._version=n,this._stack=[{scope:e}],t&&this.bindClient(t)}isOlderThan(t){return this._version<t}bindClient(t){this.getStackTop().client=t,t&&t.setupIntegrations&&t.setupIntegrations()}pushScope(){const t=u.s.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(t){const e=this.pushScope();try{t(e)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,e){const n=this._lastEventId=e&&e.event_id?e.event_id:(0,i.DM)(),r=new Error("Sentry syntheticException");return this._withClient(((i,s)=>{i.captureException(t,{originalException:t,syntheticException:r,...e,event_id:n},s)})),n}captureMessage(t,e,n){const r=this._lastEventId=n&&n.event_id?n.event_id:(0,i.DM)(),s=new Error(t);return this._withClient(((i,o)=>{i.captureMessage(t,e,{originalException:t,syntheticException:s,...n,event_id:r},o)})),r}captureEvent(t,e){const n=e&&e.event_id?e.event_id:(0,i.DM)();return t.type||(this._lastEventId=n),this._withClient(((i,r)=>{i.captureEvent(t,{...e,event_id:n},r)})),n}lastEventId(){return this._lastEventId}addBreadcrumb(t,e){const{scope:n,client:i}=this.getStackTop();if(!i)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:a=l}=i.getOptions&&i.getOptions()||{};if(a<=0)return;const c={timestamp:(0,r.yW)(),...t},u=o?(0,s.Cf)((()=>o(c,e))):c;null!==u&&(i.emit&&i.emit("beforeAddBreadcrumb",u,e),n.addBreadcrumb(u,a))}setUser(t){this.getScope().setUser(t)}setTags(t){this.getScope().setTags(t)}setExtras(t){this.getScope().setExtras(t)}setTag(t,e){this.getScope().setTag(t,e)}setExtra(t,e){this.getScope().setExtra(t,e)}setContext(t,e){this.getScope().setContext(t,e)}configureScope(t){const{scope:e,client:n}=this.getStackTop();n&&t(e)}run(t){const e=f(this);try{t(this)}finally{f(e)}}getIntegration(t){const e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,e){return this._callExtensionMethod("startTransaction",t,e)}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const t=this.getStackTop().scope,e=t.getSession();e&&(0,_.RJ)(e),this._sendSessionUpdate(),t.setSession()}startSession(t){const{scope:e,client:n}=this.getStackTop(),{release:i,environment:r=c.J}=n&&n.getOptions()||{},{userAgent:s}=o.n2.navigator||{},a=(0,_.Hv)({release:i,environment:r,user:e.getUser(),...s&&{userAgent:s},...t}),u=e.getSession&&e.getSession();return u&&"ok"===u.status&&(0,_.CT)(u,{status:"exited"}),this.endSession(),e.setSession(a),a}shouldSendDefaultPii(){const t=this.getClient(),e=t&&t.getOptions();return Boolean(e&&e.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:e}=this.getStackTop();if(!t)return;const n=t.getSession();n&&e&&e.captureSession&&e.captureSession(n)}_withClient(t){const{scope:e,client:n}=this.getStackTop();n&&t(n,e)}_callExtensionMethod(t,...e){const n=h().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[t])return n.extensions[t].apply(this,e);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&s.kg.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function h(){return o.n2.__SENTRY__=o.n2.__SENTRY__||{extensions:{},hub:void 0},o.n2}function f(t){const e=h(),n=y(e);return E(e,t),n}function g(){const t=h();return m(t)&&!y(t).isOlderThan(d)||E(t,new p),(0,a.KV)()?function(t){try{const e=h().__SENTRY__,n=e&&e.extensions&&e.extensions.domain&&e.extensions.domain.active;if(!n)return y(t);if(!m(n)||y(n).isOlderThan(d)){const e=y(t).getStackTop();E(n,new p(e.client,u.s.clone(e.scope)))}return y(n)}catch(e){return y(t)}}(t):y(t)}function m(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function y(t){return(0,o.YO)("hub",(()=>new p),t)}function E(t,e){if(!t)return!1;return(t.__SENTRY__=t.__SENTRY__||{}).hub=e,!0}},350:(t,e,n)=>{"use strict";n.d(e,{c:()=>l,s:()=>_});var i=n(7597),r=n(1170),s=n(6893),o=n(2343),a=n(2844),c=n(1235),u=n(9015);class _{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}static clone(t){const e=new _;return t&&(e._breadcrumbs=[...t._breadcrumbs],e._tags={...t._tags},e._extra={...t._extra},e._contexts={...t._contexts},e._user=t._user,e._level=t._level,e._span=t._span,e._session=t._session,e._transactionName=t._transactionName,e._fingerprint=t._fingerprint,e._eventProcessors=[...t._eventProcessors],e._requestSession=t._requestSession,e._attachments=[...t._attachments],e._sdkProcessingMetadata={...t._sdkProcessingMetadata}),e}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&(0,u.CT)(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this._tags={...this._tags,[t]:e},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if("function"==typeof t){const e=t(this);return e instanceof _?e:this}return t instanceof _?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...this._contexts,...t._contexts},t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession)):(0,i.PO)(t)&&(this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession)),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._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}addBreadcrumb(t,e){const n="number"==typeof e?e:100;if(n<=0)return this;const i={timestamp:(0,r.yW)(),...t};return this._breadcrumbs=[...this._breadcrumbs,i].slice(-n),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,e={}){if(this._extra&&Object.keys(this._extra).length&&(t.extra={...this._extra,...t.extra}),this._tags&&Object.keys(this._tags).length&&(t.tags={...this._tags,...t.tags}),this._user&&Object.keys(this._user).length&&(t.user={...this._user,...t.user}),this._contexts&&Object.keys(this._contexts).length&&(t.contexts={...this._contexts,...t.contexts}),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts={trace:this._span.getTraceContext(),...t.contexts};const e=this._span.transaction&&this._span.transaction.name;e&&(t.tags={transaction:e,...t.tags})}return this._applyFingerprint(t),t.breadcrumbs=[...t.breadcrumbs||[],...this._breadcrumbs],t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...this._sdkProcessingMetadata},this._notifyEventProcessors([...d(),...this._eventProcessors],t,e)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}_notifyEventProcessors(t,e,n,r=0){return new s.cW(((s,a)=>{const c=t[r];if(null===e||"function"!=typeof c)s(e);else{const u=c({...e},n);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.id&&null===u&&o.kg.log(`Event processor "${c.id}" dropped event`),(0,i.J8)(u)?u.then((e=>this._notifyEventProcessors(t,e,n,r+1).then(s))).then(null,a):this._notifyEventProcessors(t,u,n,r+1).then(s).then(null,a)}}))}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
1h((t=>{t(this)})),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?(0,a.lE)(t.fingerprint):[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}function d(){return(0,c.YO)("globalEventProcessors",(()=>[]))}function l(t){d().push(t)}},9015:(t,e,n)=>{"use strict";n.d(e,{CT:()=>a,Hv:()=>o,RJ:()=>c});var i=n(1170),r=n(2844),s=n(535);function o(t){const e=(0,i.ph)(),n={sid:(0,r.DM)(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(t){return(0,s.Jr)({sid:`${t.sid}`,init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?`${t.did}`:void 0,duration:t.duration,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}(n)};return t&&a(n,t),n}function a(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||(0,i.ph)(),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:(0,r.DM)()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{const e=t.timestamp-t.started;t.duration=e>=0?e:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}function c(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),a(t,n)}},7850:(t,e,n)=>{"use strict";n.d(e,{T:()=>m,l:()=>g});var i=n(2343),r=n(7597),s=n(5659),o=n(7522),a=n(5648),c=n(9791);let u=!1;function _(){const t=(0,c.x1)();if(t){const e="internal_error";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log(`[Tracing] Transaction: ${e} -> Global error occured`),t.setStatus(e)}}_.tag="sentry_tracingErrorCallback";var d=n(5544),l=n(8069);function p(){const t=this.getScope().getSpan();return t?{"sentry-trace":t.toTraceparent()}:{}}function h(t,e,n){if(!(0,o.z)(e))return t.sampled=!1,t;if(void 0!==t.sampled)return t.setMetadata({sampleRate:Number(t.sampled)}),t;let s;return"function"==typeof e.tracesSampler?(s=e.tracesSampler(n),t.setMetadata({sampleRate:Number(s)})):void 0!==n.parentSampled?s=n.parentSampled:void 0!==e.tracesSampleRate?(s=e.tracesSampleRate,t.setMetadata({sampleRate:Number(s)})):(s=1,t.setMetadata({sampleRate:s})),function(t){if((0,r.i2)(t)||"number"!=typeof t&&"boolean"!=typeof t)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(t)} of type ${JSON.stringify(typeof t)}.`),!1;if(t<0||t>1)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${t}.`),!1;return!0}(s)?s?(t.sampled=Math.random()<s,t.sampled?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log(`[Tracing] starting ${t.op} transaction - ${t.name}`),t):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(s)})`),t)):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.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")),t.sampled=!1,t):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn("[Tracing] Discarding transaction because of invalid sample rate."),t.sampled=!1,t)}function f(t,e){const n=this.getClient(),r=n&&n.getOptions()||{},s=r.instrumenter||"sentry",o=t.instrumenter||"sentry";s!==o&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.error(`A transaction was started with instrumenter=\`${o}\`, but the SDK is configured with the \`${s}\` instrumenter.\nThe transaction will not be sampled. Please use the ${s} instrumentation to start transactions.`),t.sampled=!1);let a=new l.Y(t,this);return a=h(a,r,{parentSampled:t.parentSampled,transactionContext:t,...e}),a.sampled&&a.initSpanRecorder(r._experiments&&r._experiments.maxSpans),n&&n.emit&&n.emit("startTransaction",a),a}function g(t,e,n,i,r,s,o){const a=t.getClient(),c=a&&a.getOptions()||{};let u=new d.io(e,t,n,i,o,r);return u=h(u,c,{parentSampled:e.parentSampled,transactionContext:e,...s}),u.sampled&&u.initSpanRecorder(c._experiments&&c._experiments.maxSpans),a&&a.emit&&a.emit("startTransaction",u),u}function m(){const t=(0,s.cu)();t.__SENTRY__&&(t.__SENTRY__.extensions=t.__SENTRY__.extensions||{},t.__SENTRY__.extensions.startTransaction||(t.__SENTRY__.extensions.startTransaction=f),t.__SENTRY__.extensions.traceHeaders||(t.__SENTRY__.extensions.traceHeaders=p
1),u||(u=!0,(0,a.o)("error",_),(0,a.o)("unhandledrejection",_)))}},5544:(t,e,n)=>{"use strict";n.d(e,{AT:()=>a,io:()=>_});var i=n(1170),r=n(2343),s=n(8903),o=n(8069);const a={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3},c=["heartbeatFailed","idleTimeout","documentHidden","finalTimeout","externalFinish","cancelled"];class u extends s.gB{constructor(t,e,n,i){super(i),this._pushActivity=t,this._popActivity=e,this.transactionSpanId=n}add(t){t.spanId!==this.transactionSpanId&&(t.finish=e=>{t.endTimestamp="number"==typeof e?e:(0,i._I)(),this._popActivity(t.spanId)},void 0===t.endTimestamp&&this._pushActivity(t.spanId)),super.add(t)}}class _ extends o.Y{__init(){this.activities={}}__init2(){this._heartbeatCounter=0}__init3(){this._finished=!1}__init4(){this._idleTimeoutCanceledPermanently=!1}__init5(){this._beforeFinishCallbacks=[]}__init6(){this._finishReason=c[4]}constructor(t,e,n=a.idleTimeout,i=a.finalTimeout,s=a.heartbeatInterval,o=!1){super(t,e),this._idleHub=e,this._idleTimeout=n,this._finalTimeout=i,this._heartbeatInterval=s,this._onScope=o,_.prototype.__init.call(this),_.prototype.__init2.call(this),_.prototype.__init3.call(this),_.prototype.__init4.call(this),_.prototype.__init5.call(this),_.prototype.__init6.call(this),o&&(d(e),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log(`Setting idle transaction on scope. Span ID: ${this.spanId}`),e.configureScope((t=>t.setSpan(this)))),this._restartIdleTimeout(),setTimeout((()=>{this._finished||(this.setStatus("deadline_exceeded"),this._finishReason=c[3],this.finish())}),this._finalTimeout)}finish(t=(0,i._I)()){if(this._finished=!0,this.activities={},"ui.action.click"===this.op&&this.setTag("finishReason",this._finishReason),this.spanRecorder){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Tracing] finishing IdleTransaction",new Date(1e3*t).toISOString(),this.op);for(const e of this._beforeFinishCallbacks)e(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter((e=>{if(e.spanId===this.spanId)return!0;e.endTimestamp||(e.endTimestamp=t,e.setStatus("cancelled"),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(e,void 0,2)));const n=e.startTimestamp<t;return n||("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(e,void 0,2)),n})),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Tracing] flushing IdleTransaction")}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Tracing] No active IdleTransaction");return this._onScope&&d(this._idleHub),super.finish(t)}registerBeforeFinishCallback(t){this._beforeFinishCallbacks.push(t)}initSpanRecorder(t){if(!this.spanRecorder){const e=t=>{this._finished||this._pushActivity(t)},n=t=>{this._finished||this._popActivity(t)};this.spanRecorder=new u(e,n,this.spanId,t),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}cancelIdleTimeout(t,{restartOnChildSpanChange:e}={restartOnChildSpanChange:!0}){this._idleTimeoutCanceledPermanently=!1===e,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,0===Object.keys(this.activities).length&&this._idleTimeoutCanceledPermanently&&(this._finishReason=c[5],this.finish(t)))}setFinishReason(t){this._finishReason=t}_restartIdleTimeout(t){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout((()=>{this._finished||0!==Object.keys(this.activities).length||(this._finishReason=c[1],this.finish(t))}),this._idleTimeout)}_pushActivity(t){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log(`[Tracing] pushActivity: ${t}`),this.activities[t]=!0,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(t){if(this.activities[t]&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log(`[Tracing] popActivity ${t}`),delete this.activities[t],("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){const t=(0,i._I)();this._idleTimeoutCanceledPermanently?(this._finishReason=c[5],this.finish(t)):this._restartIdleTimeout(t+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;const t=Object.keys(this.activities).join("");t===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this._finishReason=c[0],this.finish()):this._pingHeartbeat()}_pingHeartbeat(){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout((()=>{this._beat()}),this._heartbeatInterval)}}function d(t){const e=t.getScope();e.getTransaction()&&e.setSpan(void 0)}},8903:(t,e,n)=>{"use strict";n.d(e,{Dr:()=>c,gB:()=>a});var i=n(2844),r=n(1170),s=n(2343),o=n(535);class a{__init(){this.spans=[]}constructor(t=1e3){a.prototype.__init.call(this),this._maxlen=t}add(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)}}class c{__init2(){this.traceId=(0,i.DM)()}__init3(){this.spanId=(0,i.DM)().substring(16)}__init4(){this.startTimestamp=(0,r._I)()}__init5(){this.tags={}}__init6(){this.data={}}__init7(){this.instrumenter="sentry"}constructor(t){if(c.prototype.__init2.call(this),c.prototype.__init3.call(this),c.prototype.__init4.call(this),c.prototype.__init5.call(this),c.prototype.__init6.call(this),c.prototype.__init7.call(this),!t)return this;t.traceId&&(this.traceId=t.traceId),t.spanId&&(this.spanId=t.spanId),t.parentSpanId&&(this.parentSpanId=t.parentSpanId),"sampled"in t&&(this.sampled=t.sampled),t.op&&
1(this.op=t.op),t.description&&(this.description=t.description),t.data&&(this.data=t.data),t.tags&&(this.tags=t.tags),t.status&&(this.status=t.status),t.startTimestamp&&(this.startTimestamp=t.startTimestamp),t.endTimestamp&&(this.endTimestamp=t.endTimestamp),t.instrumenter&&(this.instrumenter=t.instrumenter)}startChild(t){const e=new c({...t,parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId});if(e.spanRecorder=this.spanRecorder,e.spanRecorder&&e.spanRecorder.add(e),e.transaction=this.transaction,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&e.transaction){const n=`[Tracing] Starting '${t&&t.op||"< unknown op >"}' span on transaction '${e.transaction.name||"< unknown name >"}' (${e.transaction.spanId}).`;e.transaction.metadata.spanMetadata[e.spanId]={logMessage:n},s.kg.log(n)}return e}setTag(t,e){return this.tags={...this.tags,[t]:e},this}setData(t,e){return this.data={...this.data,[t]:e},this}setStatus(t){return this.status=t,this}setHttpStatus(t){this.setTag("http.status_code",String(t));const e=function(t){if(t<400&&t>=100)return"ok";if(t>=400&&t<500)switch(t){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(t>=500&&t<600)switch(t){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}(t);return"unknown_error"!==e&&this.setStatus(e),this}isSuccess(){return"ok"===this.status}finish(t){if(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&this.transaction&&this.transaction.spanId!==this.spanId){const{logMessage:t}=this.transaction.metadata.spanMetadata[this.spanId];t&&s.kg.log(t.replace("Starting","Finishing"))}this.endTimestamp="number"==typeof t?t:(0,r._I)()}toTraceparent(){let t="";return void 0!==this.sampled&&(t=this.sampled?"-1":"-0"),`${this.traceId}-${this.spanId}${t}`}toContext(){return(0,o.Jr)({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})}updateWithContext(t){return this.data=t.data||{},this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=t.spanId||this.spanId,this.startTimestamp=t.startTimestamp||this.startTimestamp,this.status=t.status,this.tags=t.tags||{},this.traceId=t.traceId||this.traceId,this}getTraceContext(){return(0,o.Jr)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})}toJSON(){return(0,o.Jr)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId})}}},8069:(t,e,n)=>{"use strict";n.d(e,{Y:()=>c});var i=n(2343),r=n(535),s=n(1131),o=n(5659),a=n(8903);class c extends a.Dr{__init(){this._measurements={}}__init2(){this._contexts={}}__init3(){this._frozenDynamicSamplingContext=void 0}constructor(t,e){super(t),c.prototype.__init.call(this),c.prototype.__init2.call(this),c.prototype.__init3.call(this),this._hub=e||(0,o.Gd)(),this._name=t.name||"",this.metadata={source:"custom",...t.metadata,spanMetadata:{}},this._trimEnd=t.trimEnd,this.transaction=this;const n=this.metadata.dynamicSamplingContext;n&&(this._frozenDynamicSamplingContext={...n})}get name(){return this._name}set name(t){this.setName(t)}setName(t,e="custom"){this._name=t,this.metadata.source=e}initSpanRecorder(t=1e3){this.spanRecorder||(this.spanRecorder=new a.gB(t)),this.spanRecorder.add(this)}setContext(t,e){null===e?delete this._contexts[t]:this._contexts[t]=e}setMeasurement(t,e,n=""){this._measurements[t]={value:e,unit:n}}setMetadata(t){this.metadata={...this.metadata,...t}}finish(t){if(void 0!==this.endTimestamp)return;this.name||(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn("Transaction has no name, falling back to `<unlabeled transaction>
1`."),this.name="<unlabeled transaction>"),super.finish(t);const e=this._hub.getClient();if(e&&e.emit&&e.emit("finishTransaction",this),!0!==this.sampled)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),void(e&&e.recordDroppedEvent("sample_rate","transaction"));const n=this.spanRecorder?this.spanRecorder.spans.filter((t=>t!==this&&t.endTimestamp)):[];this._trimEnd&&n.length>0&&(this.endTimestamp=n.reduce(((t,e)=>t.endTimestamp&&e.endTimestamp?t.endTimestamp>e.endTimestamp?t:e:t)).endTimestamp);const r=this.metadata,s={contexts:{...this._contexts,trace:this.getTraceContext()},spans:n,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:{...r,dynamicSamplingContext:this.getDynamicSamplingContext()},...r.source&&{transaction_info:{source:r.source}}};return Object.keys(this._measurements).length>0&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),s.measurements=this._measurements),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`),this._hub.captureEvent(s)}toContext(){const t=super.toContext();return(0,r.Jr)({...t,name:this.name,trimEnd:this._trimEnd})}updateWithContext(t){return super.updateWithContext(t),this.name=t.name||"",this._trimEnd=t.trimEnd,this}getDynamicSamplingContext(){if(this._frozenDynamicSamplingContext)return this._frozenDynamicSamplingContext;const t=this._hub||(0,o.Gd)(),e=t&&t.getClient();if(!e)return{};const{environment:n,release:i}=e.getOptions()||{},{publicKey:a}=e.getDsn()||{},c=this.metadata.sampleRate,u=void 0!==c?c.toString():void 0,{segment:_}=t.getScope().getUser()||{},d=this.metadata.source,l=d&&"url"!==d?this.name:void 0,p=(0,r.Jr)({environment:n||s.J,release:i,transaction:l,user_segment:_,public_key:a,trace_id:this.traceId,sample_rate:u});return e.emit&&e.emit("createDsc",p),p}setHub(t){this._hub=t}}},9791:(t,e,n)=>{"use strict";n.d(e,{x1:()=>r});var i=n(5659);function r(t){return(t||(0,i.Gd)()).getScope().getTransaction()}},7522:(t,e,n)=>{"use strict";n.d(e,{z:()=>r});var i=n(5659);function r(t){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const e=(0,i.Gd)().getClient(),n=t||e&&e.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}},8464:(t,e,n)=>{"use strict";n.d(e,{Rt:()=>o,l4:()=>c,qT:()=>u});var i=n(7597);const r=(0,n(1235).Rf)(),s=80;function o(t,e={}){try{let n=t;const i=5,r=[];let o=0,c=0;const u=" > ",_=u.length;let d;const l=Array.isArray(e)?e:e.keyAttrs,p=!Array.isArray(e)&&e.maxStringLength||s;for(;n&&o++<i&&(d=a(n,l),!("html"===d||o>1&&c+r.length*_+d.length>=p));)r.push(d),c+=d.length,n=n.parentNode;return r.reverse().join(u)}catch(t){return"<unknown>"}}function a(t,e){const n=t,r=[];let s,o,a,c,u;if(!n||!n.tagName)return"";r.push(n.tagName.toLowerCase());const _=e&&e.length?e.filter((t=>n.getAttribute(t))).map((t=>[t,n.getAttribute(t)])):null;if(_&&_.length)_.forEach((t=>{r.push(`[${t[0]}="${t[1]}"]`)}));else if(n.id&&r.push(`#${n.id}`),s=n.className,s&&(0,i.HD)(s))for(o=s.split(/\s+/),u=0;u<o.length;u++)r.push(`.${o[u]}`);const d=["aria-label","type","name","title","alt"];for(u=0;u<d.length;u++)a=d[u],c=n.getAttribute(a),c&&r.push(`[${a}="${c}"]`);return r.join("")}function c(){try{return r.document.location.href}catch(t){return""}}function u(t){return r.document&&r.document.querySelector?r.document.querySelector(t):null}},8518:(t,e,n)=>{"use strict";function i(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function r(){return"npm"}n.d(e,{S:()=>r,n:()=>i})},5648:(t,e,n)=>{"use strict";n.d(e,{o:()=>h});var i=n(7597),r=n(2343),s=n(535),o=n(360),a=n(8823),c=n(1235);const u=(0,c.Rf)();const _=(0,c.Rf)(),d={},l={};function p(t){if(!l[t])switch(l[t]=!0,t){case"console":!function(){if(!("console"in _))return;r.RU.forEach((function(t){t in _.console&&(0,s.hl)(_.console,t,(function(e){return function(...n){f("console",{args:n,level:t}),e&&e.apply(_.console,n)}}))}))}();break;case"dom":!function(){if(!("document"in _))return;const t=f.bind(null,"dom"),e=T(t,!0);_.document.addEventListener("click",e,!1),_.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach((e=>{const n=_[e]&&_[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,s.hl)(n,"addEventListener",(function(e){return function(n,i,r){if("click"===n||"keypress"==n)try{const i=this,s=i.__sentry_instrumentation_handlers__=i.__sentry_instrumentation_handlers__||{},o=s[n]=s[n]||{refCount:0};if(!o.handler){const i=T(t);o.handler=i,e.call(this,n,i,r)}o.refCount++}catch(t){}return e.call(this,n,i,r)}})),(0,s.hl)(n,"removeEventListener",(function(t){return function(e,n,i){if("click"===e||"keypress"==e)try{const n=this,r=n.__sentry_instrumentation_handlers__||{},s=r[e];s&&(s.refCount--,s.refCount<=0&&(t.call(this,e,s.handler,i),s.handler=void 0,delete r[e]),0===Object.keys(r).length&&delete n.__sentry_instrumentation_handlers__)}catch(t){}return t.call(this,e,n,i)}})))}))}();break;case"xhr":!function(){if(!("XMLHttpRequest"in _))return;const t=XMLHttpRequest.prototype;(0,s.hl)(t,"open",(function(t){return function(...e){const n=e[1],r=this.__sentry_xhr__={method:(0,i.HD)(e[0])?e[0].toUpperCase():e[0],url:e[1]};
1(0,i.HD)(n)&&"POST"===r.method&&n.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const o=()=>{const t=this.__sentry_xhr__;if(t&&4===this.readyState){try{t.status_code=this.status}catch(t){}f("xhr",{args:e,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:this})}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?(0,s.hl)(this,"onreadystatechange",(function(t){return function(...e){return o(),t.apply(this,e)}})):this.addEventListener("readystatechange",o),t.apply(this,e)}})),(0,s.hl)(t,"send",(function(t){return function(...e){return this.__sentry_xhr__&&void 0!==e[0]&&(this.__sentry_xhr__.body=e[0]),f("xhr",{args:e,startTimestamp:Date.now(),xhr:this}),t.apply(this,e)}}))}();break;case"fetch":!function(){if(!(0,a.t$)())return;(0,s.hl)(_,"fetch",(function(t){return function(...e){const n={args:e,fetchData:{method:g(e),url:m(e)},startTimestamp:Date.now()};return f("fetch",{...n}),t.apply(_,e).then((t=>(f("fetch",{...n,endTimestamp:Date.now(),response:t}),t)),(t=>{throw f("fetch",{...n,endTimestamp:Date.now(),error:t}),t}))}}))}();break;case"history":!function(){if(!function(){const t=u.chrome,e=t&&t.app&&t.app.runtime,n="history"in u&&!!u.history.pushState&&!!u.history.replaceState;return!e&&n}())return;const t=_.onpopstate;function e(t){return function(...e){const n=e.length>2?e[2]:void 0;if(n){const t=y,e=String(n);y=e,f("history",{from:t,to:e})}return t.apply(this,e)}}_.onpopstate=function(...e){const n=_.location.href,i=y;if(y=n,f("history",{from:i,to:n}),t)try{return t.apply(this,e)}catch(t){}},(0,s.hl)(_.history,"pushState",e),(0,s.hl)(_.history,"replaceState",e)}();break;case"error":b=_.onerror,_.onerror=function(t,e,n,i,r){return f("error",{column:i,error:r,line:n,msg:t,url:e}),!!b&&b.apply(this,arguments)};break;case"unhandledrejection":R=_.onunhandledrejection,_.onunhandledrejection=function(t){return f("unhandledrejection",t),!R||R.apply(this,arguments)};break;default:return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.warn("unknown instrumentation type:",t))}}function h(t,e){d[t]=d[t]||[],d[t].push(e),p(t)}function f(t,e){if(t&&d[t])for(const n of d[t]||[])try{n(e)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r.kg.error(`Error while triggering instrumentation handler.\nType: ${t}\nName: ${(0,o.$P)(n)}\nError:`,e)}}function g(t=[]){return"Request"in _&&(0,i.V9)(t[0],Request)&&t[0].method?String(t[0].method).toUpperCase():t[1]&&t[1].method?String(t[1].method).toUpperCase():"GET"}function m(t=[]){return"string"==typeof t[0]?t[0]:"Request"in _&&(0,i.V9)(t[0],Request)?t[0].url:String(t[0])}let y;const E=1e3;let v,S;function T(t,e=!1){return n=>{if(!n||S===n)return;if(function(t){if("keypress"!==t.type)return!1;try{const e=t.target;if(!e||!e.tagName)return!0;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable)return!1}catch(t){}return!0}(n))return;const i="keypress"===n.type?"input":n.type;(void 0===v||function(t,e){if(!t)return!0;if(t.type!==e.type)return!0;try{if(t.target!==e.target)return!0}catch(t){}return!1}(S,n))&&(t({event:n,name:i,global:e}),S=n),clearTimeout(v),v=_.setTimeout((()=>{v=void 0}),E)}}let b=null;let R=null},7597:(t,e,n)=>{"use strict";n.d(e,{Cy:()=>g,HD:()=>u,J8:()=>f,Kj:()=>h,PO:()=>d,TX:()=>a,V9:()=>y,VW:()=>o,VZ:()=>r,cO:()=>l,fm:()=>c,i2:()=>m,kK:()=>p,pt:()=>_});const i=Object.prototype.toString;function r(t){switch(i.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return y(t,Error)}}function s(t,e){return i.call(t)===`[object ${e}]`}function o(t){return s(t,"ErrorEvent")}function a(t){return s(t,"DOMError")}function c(t){return s(t,"DOMException")}function u(t){return s(t,"String")}function _(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function d(t){return s(t,"Object")}function l(t){return"undefined"!=typeof Event&&y(t,Event)}function p(t){return"undefined"!=typeof Element&&y(t,Element)}function h(t){return s(t,"RegExp")}function f(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function g(t){return d(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function m(t){return"number"==typeof t&&t!=t}function y(t,e){try{return t instanceof e}catch(t){return!1}}},2343:(t,e,n)=>{"use strict";n.d(e,{Cf:()=>s,RU:()=>r,kg:()=>a});var i=n(1235);const r=["debug","info","warn","error","log","assert","trace"];function s(t){if(!("console"in i.n2))return t();const e=i.n2.console,n={};r.forEach((t=>{const i=e[t]&&e[t].__sentry_original__;t in e&&i&&(n[t]=e[t],e[t]=i)}));try{return t()}
1finally{Object.keys(n).forEach((t=>{e[t]=n[t]}))}}function o(){let t=!1;const e={enable:()=>{t=!0},disable:()=>{t=!1}};return"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?r.forEach((n=>{e[n]=(...e)=>{t&&s((()=>{i.n2.console[n](`Sentry Logger [${n}]:`,...e)}))}})):r.forEach((t=>{e[t]=()=>{}})),e}let a;a="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?(0,i.YO)("logger",o):o()},2844:(t,e,n)=>{"use strict";n.d(e,{DM:()=>s,Db:()=>c,EG:()=>u,YO:()=>_,jH:()=>a,lE:()=>d});var i=n(535),r=n(1235);function s(){const t=r.n2,e=t.crypto||t.msCrypto;if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");const n=e&&e.getRandomValues?()=>e.getRandomValues(new Uint8Array(1))[0]:()=>16*Math.random();return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(t=>(t^(15&n())>>t/4).toString(16)))}function o(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function a(t){const{message:e,event_id:n}=t;if(e)return e;const i=o(t);return i?i.type&&i.value?`${i.type}: ${i.value}`:i.type||i.value||n||"<unknown>":n||"<unknown>"}function c(t,e,n){const i=t.exception=t.exception||{},r=i.values=i.values||[],s=r[0]=r[0]||{};s.value||(s.value=e||""),s.type||(s.type=n||"Error")}function u(t,e){const n=o(t);if(!n)return;const i=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...i,...e},e&&"data"in e){const t={...i&&i.data,...e.data};n.mechanism.data=t}}function _(t){if(t&&t.__sentry_captured__)return!0;try{(0,i.xp)(t,"__sentry_captured__",!0)}catch(t){}return!1}function d(t){return Array.isArray(t)?t:[t]}},1422:(t,e,n)=>{"use strict";n.d(e,{$y:()=>a,KV:()=>s,l$:()=>o});var i=n(8518);t=n.hmd(t);var r=n(4155);function s(){return!(0,i.n)()&&"[object process]"===Object.prototype.toString.call(void 0!==r?r:0)}function o(t,e){return t.require(e)}function a(e){let n;try{n=o(t,e)}catch(t){}try{const{cwd:i}=o(t,"process");n=o(t,`${i()}/node_modules/${e}`)}catch(t){}return n}},535:(t,e,n)=>{"use strict";n.d(e,{$Q:()=>c,HK:()=>u,Jr:()=>f,Sh:()=>d,_j:()=>_,hl:()=>o,xp:()=>a,zf:()=>h});var i=n(8464),r=n(7597),s=n(7321);function o(t,e,n){if(!(e in t))return;const i=t[e],r=n(i);if("function"==typeof r)try{c(r,i)}catch(t){}t[e]=r}function a(t,e,n){Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}function c(t,e){const n=e.prototype||{};t.prototype=e.prototype=n,a(t,"__sentry_original__",e)}function u(t){return t.__sentry_original__}function _(t){return Object.keys(t).map((e=>`${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`)).join("&")}function d(t){if((0,r.VZ)(t))return{message:t.message,name:t.name,stack:t.stack,...p(t)};if((0,r.cO)(t)){const e={type:t.type,target:l(t.target),currentTarget:l(t.currentTarget),...p(t)};return"undefined"!=typeof CustomEvent&&(0,r.V9)(t,CustomEvent)&&(e.detail=t.detail),e}return t}function l(t){try{return(0,r.kK)(t)?(0,i.Rt)(t):Object.prototype.toString.call(t)}catch(t){return"<unknown>"}}function p(t){if("object"==typeof t&&null!==t){const e={};for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}return{}}function h(t,e=40){const n=Object.keys(d(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return(0,s.$G)(n[0],e);for(let t=n.length;t>0;t--){const i=n.slice(0,t).join(", ");if(!(i.length>e))return t===n.length?i:(0,s.$G)(i,e)}return""}function f(t){return g(t,new Map)}function g(t,e){if((0,r.PO)(t)){const n=e.get(t);if(void 0!==n)return n;const i={};e.set(t,i);for(const n of Object.keys(t))void 0!==t[n]&&(i[n]=g(t[n],e));return i}if(Array.isArray(t)){const n=e.get(t);if(void 0!==n)return n;const i=[];return e.set(t,i),t.forEach((t=>{i.push(g(t,e))})),i}return t}},360:(t,e,n)=>{"use strict";n.d(e,{$P:()=>c,Sq:()=>o,pE:()=>s});const i=50,r=/\(error: (.*)\)/;function s(...t){const e=t.sort(((t,e)=>t[0]-e[0])).map((t=>t[1]));return(t,n=0)=>{const s=[],o=t.split("\n");for(let t=n;t<o.length;t++){const n=o[t];if(n.length>1024)continue;const a=r.test(n)?n.replace(r,"$1"):n;for(const t of e){const e=t(a);if(e){s.push(e);break}}if(s.length>=i)break}return function(t){if(!t.length)return[];const e=t.slice(0,i),n=e[e.length-1].function;n&&/sentryWrapped/.test(n)&&e.pop();e.reverse();const r=e[e.length-1].function;r&&/captureMessage|captureException/.test(r)&&e.pop();return e.map((t=>({...t,filename:t.filename||e[e.length-1].filename,function:t.function||"?"})))}(s)}}function o(t){return Array.isArray(t)?s(...t):t}const a="<anonymous>";function c(t){try{return t&&"function"==typeof t&&t.name||a}catch(t){return a}}},7321:(t,e,n)=>{"use strict";n.d(e,{$G:()=>r,U0:()=>o,nK:()=>s});var i=n(7597);function r(t,e=0){return"string"!=typeof t||0===e||t.length<=e?t:`${t.slice(0,e)}...`}function s(t,e){if(!Array.isArray(t))return"";const n=[];for(let e=0;e<t.length;e++){const i=t[e];try{n.push(String(i))}catch(t){n.push("[value cannot be serialized]")}}return n.join(e)}function o(t,e=[],n=!1){return e.some((e=>function(t,e,n=!1){return!!(0,i.HD)(t)&&((0,i.Kj)(e)?e.test(t):!!(0,i.HD)(e)&&(n?t===e:t.includes(e)))}(t,e,n)))}},8823:(t,e,n)=>{"use strict";n.d(e,{Ak:()=>
1s,Du:()=>o,t$:()=>a});var i=n(2343);const r=(0,n(1235).Rf)();function s(){if(!("fetch"in r))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(t){return!1}}function o(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function a(){if(!s())return!1;if(o(r.fetch))return!0;let t=!1;const e=r.document;if(e&&"function"==typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(t=o(n.contentWindow.fetch)),e.head.removeChild(n)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return t}},6893:(t,e,n)=>{"use strict";n.d(e,{$2:()=>o,WD:()=>s,cW:()=>a});var i,r=n(7597);function s(t){return new a((e=>{e(t)}))}function o(t){return new a(((e,n)=>{n(t)}))}!function(t){t[t.PENDING=0]="PENDING";t[t.RESOLVED=1]="RESOLVED";t[t.REJECTED=2]="REJECTED"}(i||(i={}));class a{__init(){this._state=i.PENDING}__init2(){this._handlers=[]}constructor(t){a.prototype.__init.call(this),a.prototype.__init2.call(this),a.prototype.__init3.call(this),a.prototype.__init4.call(this),a.prototype.__init5.call(this),a.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}then(t,e){return new a(((n,i)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(t){i(t)}else n(e)},t=>{if(e)try{n(e(t))}catch(t){i(t)}else i(t)}]),this._executeHandlers()}))}catch(t){return this.then((t=>t),t)}finally(t){return new a(((e,n)=>{let i,r;return this.then((e=>{r=!1,i=e,t&&t()}),(e=>{r=!0,i=e,t&&t()})).then((()=>{r?n(i):e(i)}))}))}__init3(){this._resolve=t=>{this._setResult(i.RESOLVED,t)}}__init4(){this._reject=t=>{this._setResult(i.REJECTED,t)}}__init5(){this._setResult=(t,e)=>{this._state===i.PENDING&&((0,r.J8)(e)?e.then(this._resolve,this._reject):(this._state=t,this._value=e,this._executeHandlers()))}}__init6(){this._executeHandlers=()=>{if(this._state===i.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach((t=>{t[0]||(this._state===i.RESOLVED&&t[1](this._value),this._state===i.REJECTED&&t[2](this._value),t[0]=!0)}))}}}},1170:(t,e,n)=>{"use strict";n.d(e,{Z1:()=>p,_I:()=>d,ph:()=>_,yW:()=>u});var i=n(1422),r=n(1235);t=n.hmd(t);const s=(0,r.Rf)(),o={nowSeconds:()=>Date.now()/1e3};const a=(0,i.KV)()?function(){try{return(0,i.l$)(t,"perf_hooks").performance}catch(t){return}}():function(){const{performance:t}=s;if(!t||!t.now)return;return{now:()=>t.now(),timeOrigin:Date.now()-t.now()}}(),c=void 0===a?o:{nowSeconds:()=>(a.timeOrigin+a.now())/1e3},u=o.nowSeconds.bind(o),_=c.nowSeconds.bind(c),d=_;let l;const p=(()=>{const{performance:t}=s;if(!t||!t.now)return void(l="none");const e=36e5,n=t.now(),i=Date.now(),r=t.timeOrigin?Math.abs(t.timeOrigin+n-i):e,o=r<e,a=t.timing&&t.timing.navigationStart,c="number"==typeof a?Math.abs(a+n-i):e;return o||c<e?r<=c?(l="timeOrigin",t.timeOrigin):(l="navigationStart",a):(l="dateNow",i)})()},1235:(t,e,n)=>{"use strict";function i(t){return t&&t.Math==Math?t:void 0}n.d(e,{Rf:()=>s,YO:()=>o,n2:()=>r});const r="object"==typeof globalThis&&i(globalThis)||"object"==typeof window&&i(window)||"object"==typeof self&&i(self)||"object"==typeof n.g&&i(n.g)||function(){return this}()||{};function s(){return r}function o(t,e,n){const i=n||r,s=i.__SENTRY__=i.__SENTRY__||{};return s[t]||(s[t]=e())}},7011:(t,e,n)=>{"use strict";var i=n(2343),r=n(2844),s=n(7321);const o=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class a{static __initStatic(){this.id="InboundFilters"}__init(){this.name=a.id}constructor(t={}){this._options=t,a.prototype.__init.call(this)}setupOnce(t,e){const n=t=>{const n=e();if(n){const e=n.getIntegration(a);if(e){const a=n.getClient(),u=a?a.getOptions():{},_=function(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...o],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[]],ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(e._options,u);return function(t,e){if(e.ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(t){}return!1}(t))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${(0,r.jH)(t)}`),!0;if(function(t,e){if(t.type||!e||!e.length)return!1;return function(t){if(t.message)return[t.message];if(t.exception)try{const{type:e="",value:n=""}=t.exception.values&&t.exception.values[0]||{};return[`${n}`,`${e}: ${n}`]}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.error(`Cannot extract message for event ${(0,r.jH)(t)}`),[]}return[]}(t).some((t=>(0,s.U0)(t,e)))}(t,e.ignoreErrors))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,r.jH)(t)}`),!0;if(function(t,e){if("transaction"!==t.type||!e||!e.length)return!1;const n=t.transaction;return!!n&&(0,s.U0)(n,e)}(t,e.ignoreTransactions))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${(0,r.jH)(t)}`),!0;if(function(t,e){if(!e||!e.length)return!1;const n=c(t);return!!n&&(0,s.U0)(n,e)}(t,e.denyUrls))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,r.jH)(t)}.\nUrl: ${c(t)}`),!0;if(!function(t,e){if(!e||!e.length)return!0;const n=c(t);return!n||(0,s.U0)(n,e)}(t,e.allowUrls))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,r.jH)(t)}.\nUrl: ${c(t)}`),!0;return!1}(t,_)?null:t}}return t};n.id=this.name,t(n)}}function c(t){try{let e;try{e=t.exception.values[0].stacktrace.frames}catch(t){}return e?function(t=[]){for(let e=t.length-1;e>=0;e--){const n=t[e];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(e):null}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.error(`Cannot extract url for event ${(0,r.jH)(t)}`),null}}a.__initStatic();var u=n(535);let _;class d{constructor(){d.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=d.id}setupOnce(){_=Function.prototype.toString,Function.prototype.toString=function(...t){const e=(0,u.HK)(this)||this;return _.apply(e,t)}}}d.__initStatic();var l=n(5659),p=n(350);const h=[];function f(t){const e=t.defaultIntegrations||[],n=t.integrations;let i;e.forEach((t=>{t.isDefaultInstance=!0})),i=Array.isArray(n)?[...e,...n]:"function"==typeof n?(0,r.lE)(n(e)):e;const s=function(t){const e={};return t.forEach((t=>{const{name:n}=t,i=e[n];i&&!i.isDefaultInstance&&t.isDefaultInstance||(e[n]=t)})),Object.keys(e).map((t=>e[t]))}(i),o=function(t,e){for(let n=0;n<t.length;n++)if(!0===e(t[n]))return n;return-1}(s,(t=>"Debug"===t.name));if(-1!==o){const[t]=s.splice(o,1);s.push(t)}return s}function g(t,e){e[t.name]=t,-1===h.indexOf(t.name)&&(t.setupOnce(p.c,l.Gd),h.push(t.name),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log(`Integration installed: ${t.name}`))}var m=n(360),y=n(8823),E=n(5648);
1class v extends Error{constructor(t,e="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=e}}const S=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function T(t,e=!1){const{host:n,path:i,pass:r,port:s,projectId:o,protocol:a,publicKey:c}=t;return`${a}://${c}${e&&r?`:${r}`:""}@${n}${s?`:${s}`:""}/${i?`${i}/`:i}${o}`}function b(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function R(t){const e="string"==typeof t?function(t){const e=S.exec(t);if(!e)throw new v(`Invalid Sentry Dsn: ${t}`);const[n,i,r="",s,o="",a]=e.slice(1);let c="",u=a;const _=u.split("/");if(_.length>1&&(c=_.slice(0,-1).join("/"),u=_.pop()),u){const t=u.match(/^\d+/);t&&(u=t[0])}return b({host:s,pass:r,path:c,projectId:u,port:o,protocol:n,publicKey:i})}(t):b(t);return function(t){if("undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__)return;const{port:e,projectId:n,protocol:i}=t;if(["protocol","publicKey","host","projectId"].forEach((e=>{if(!t[e])throw new v(`Invalid Sentry Dsn: ${e} missing`)})),!n.match(/^\d+$/))throw new v(`Invalid Sentry Dsn: Invalid projectId ${n}`);if(!function(t){return"http"===t||"https"===t}(i))throw new v(`Invalid Sentry Dsn: Invalid protocol ${i}`);if(e&&isNaN(parseInt(e,10)))throw new v(`Invalid Sentry Dsn: Invalid port ${e}`)}(e),e}var D=n(7597),k=n(6893);function x(t,e=1/0,n=1/0){try{return w("",t,e,n)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function N(t,e=3,n=102400){const i=x(t,e);return r=i,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(r))>n?N(t,e-1,n):i;var r}function w(t,e,i=1/0,r=1/0,s=function(){const t="function"==typeof WeakSet,e=t?new WeakSet:[];return[function(n){if(t)return!!e.has(n)||(e.add(n),!1);for(let t=0;t<e.length;t++)if(e[t]===n)return!0;return e.push(n),!1},function(n){if(t)e.delete(n);else for(let t=0;t<e.length;t++)if(e[t]===n){e.splice(t,1);break}}]}()){const[o,a]=s;if(null===e||["number","boolean","string"].includes(typeof e)&&!(0,D.i2)(e))return e;const c=function(t,e){try{return"domain"===t&&e&&"object"==typeof e&&e._events?"[Domain]":"domainEmitter"===t?"[DomainEmitter]":void 0!==n.g&&e===n.g?"[Global]":"undefined"!=typeof window&&e===window?"[Window]":"undefined"!=typeof document&&e===document?"[Document]":(0,D.Cy)(e)?"[SyntheticEvent]":"number"==typeof e&&e!=e?"[NaN]":void 0===e?"[undefined]":"function"==typeof e?`[Function: ${(0,m.$P)(e)}]`:"symbol"==typeof e?`[${String(e)}]`:"bigint"==typeof e?`[BigInt: ${String(e)}]`:`[object ${function(t){const e=Object.getPrototypeOf(t);return e?e.constructor.name:"null prototype"}(e)}]`}catch(t){return`**non-serializable** (${t})`}}(t,e);if(!c.startsWith("[object "))return c;if(e.__sentry_skip_normalization__)return e;let _=i;if("number"==typeof e.__sentry_override_normalization_depth__&&(_=e.__sentry_override_normalization_depth__),0===_)return c.replace("object ","");if(o(e))return"[Circular ~]";const d=e;if(d&&"function"==typeof d.toJSON)try{return w("",d.toJSON(),_-1,r,s)}catch(t){}const l=Array.isArray(e)?[]:{};let p=0;const h=(0,u.Sh)(e);for(const t in h){if(!Object.prototype.hasOwnProperty.call(h,t))continue;if(p>=r){l[t]="[MaxProperties ~]";break}const e=h[t];l[t]=w(t,e,_-1,r,s),p++}return a(e),l}function U(t,e=[]){return[t,e]}function G(t,e){const[n,i]=t;return[n,[...i,e]]}function B(t,e){const n=t[1];for(const t of n){if(e(t,t[0].type))return!0}return!1}function Y(t,e){return(e||new TextEncoder).encode(t)}function O(t,e){const[n,i]=t;let r=JSON.stringify(n);function s(t){"string"==typeof r?r="string"==typeof t?r+t:[Y(r,e),t]:r.push("string"==typeof t?Y(t,e):t)}for(const t of i){const[e,n]=t;if(s(`\n${JSON.stringify(e)}\n`),"string"==typeof n||n instanceof Uint8Array)s(n);else{let t;try{t=JSON.stringify(n)}catch(e){t=JSON.stringify(x(n))}s(t)}}return"string"==typeof r?r:function(t){const e=t.reduce(((t,e)=>t+e.length),0),n=new Uint8Array(e);let i=0;for(const e of t)n.set(e,i),i+=e.length;return n}(r)}function $(t,e){const n="string"==typeof t.data?Y(t.data,e):t.data;return[(0,u.Jr)({type:"attachment",length:n.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),n]}const I={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay"};function C(t){return I[t]}function A(t){if(!t||!t.sdk)return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}const j="7";function P(t){const e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}function L(t,e={}){const n="string"==typeof e?e:e.tunnel,i="string"!=typeof e&&e._metadata?e._metadata.sdk:void 0;return n||`${function(t){return`${P(t)}${t.projectId}/envelope/`}(t)}?${function(t,e){return(0,u._j)({sentry_key:t.publicKey,sentry_version:j,...e&&{sentry_client:`${e.name}/${e.version}`}})}(t,i)}`}function M(t,e,n,i){const r=A(n),s=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){e&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=[...t.sdk.integrations||[],...e.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...e.packages||[]])}(t,n&&n.sdk);const o=function(t,e,n,i){const r=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:t.event_id,sent_at:(new Date).toISOString(),...e&&{sdk:e},...!!n&&{dsn:T(i)},..."transaction"===t.type&&r&&{trace:(0,u.Jr)({...r})}}}(t,r,i,e);delete t.sdkProcessingMetadata;return U(o,[[{type:s},t]])}var q=n(9015),H=n(1170),F=n(1235),J=n(1131);function W(t,e,n,i){const{normalizeDepth:o=3,normalizeMaxBreadth:a=1e3}
1=t,c={...e,event_id:e.event_id||n.event_id||(0,r.DM)(),timestamp:e.timestamp||(0,H.yW)()},u=n.integrations||t.integrations.map((t=>t.name));!function(t,e){const{environment:n,release:i,dist:r,maxValueLength:o=250}=e;"environment"in t||(t.environment="environment"in e?n:J.J);void 0===t.release&&void 0!==i&&(t.release=i);void 0===t.dist&&void 0!==r&&(t.dist=r);t.message&&(t.message=(0,s.$G)(t.message,o));const a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=(0,s.$G)(a.value,o));const c=t.request;c&&c.url&&(c.url=(0,s.$G)(c.url,o))}(c,t),function(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}(c,u),function(t,e){const n=F.n2._sentryDebugIds;if(!n)return;const i=Object.keys(n).reduce(((t,i)=>{const r=e(i);for(const e of r)if(e.filename){t[e.filename]=n[i];break}return t}),{}),r=new Set;try{t.exception.values.forEach((t=>{t.stacktrace.frames.forEach((t=>{t.filename&&r.add(t.filename)}))}))}catch(t){}t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const s=t.debug_meta.images;r.forEach((t=>{i[t]&&s.push({type:"sourcemap",code_file:t,debug_id:i[t]})}))}(c,t.stackParser);let _=i;n.captureContext&&(_=p.s.clone(_).update(n.captureContext));let d=(0,k.WD)(c);if(_){if(_.getAttachments){const t=[...n.attachments||[],..._.getAttachments()];t.length&&(n.attachments=t)}d=_.applyToEvent(c,n)}return d.then((t=>"number"==typeof o&&o>0?function(t,e,n){if(!t)return null;const i={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((t=>({...t,...t.data&&{data:x(t.data,e,n)}})))},...t.user&&{user:x(t.user,e,n)},...t.contexts&&{contexts:x(t.contexts,e,n)},...t.extra&&{extra:x(t.extra,e,n)}};t.contexts&&t.contexts.trace&&i.contexts&&(i.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(i.contexts.trace.data=x(t.contexts.trace.data,e,n)));t.spans&&(i.spans=t.spans.map((t=>(t.data&&(t.data=x(t.data,e,n)),t))));return i}(t,o,a):t))}const z="Not capturing exception because it's already been captured.";class K{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}__init5(){this._hooks={}}constructor(t){if(K.prototype.__init.call(this),K.prototype.__init2.call(this),K.prototype.__init3.call(this),K.prototype.__init4.call(this),K.prototype.__init5.call(this),this._options=t,t.dsn){this._dsn=R(t.dsn);const e=L(this._dsn,t);this._transport=t.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:e})}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn("No DSN provided, client will not do anything.")}captureException(t,e,n){if((0,r.YO)(t))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log(z));let s=e&&e.event_id;return this._process(this.eventFromException(t,e).then((t=>this._captureEvent(t,e,n))).then((t=>{s=t}))),s}captureMessage(t,e,n,i){let r=n&&n.event_id;const s=(0,D.pt)(t)?this.eventFromMessage(String(t),e,n):this.eventFromException(t,n);return this._process(s.then((t=>this._captureEvent(t,n,i))).then((t=>{r=t}))),r}captureEvent(t,e,n){if(e&&e.originalException&&(0,r.YO)(e.originalException))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log(z));let s=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then((t=>{s=t}))),s}captureSession(t){this._isEnabled()?"string"!=typeof t.release?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),(0,q.CT)(t,{init:!1})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn("SDK not enabled, will not capture session.")}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const e=this._transport;return e?this._isClientDoneProcessing(t).then((n=>e.flush(t).then((t=>n&&t)))):(0,k.WD)(!0)}close(t){return this.flush(t).then((t=>(this.getOptions().enabled=!1,t)))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=function(t){const e={};return t.forEach((t=>{t&&g(t,e)})),e}(this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}addIntegration(t){g(t,this._integrations)}sendEvent(t,e={}){if(this._dsn){let n=M(t,this._dsn,this._options._metadata,this._options.tunnel);for(const t of e.attachments||[])n=G(n,$(t,this._options.transportOptions&&this._options.transportOptions.textEncoder));const i=this._sendEnvelope(n);i&&i.then((e=>
1this.emit("afterSendEvent",t,e)),null)}}sendSession(t){if(this._dsn){const e=function(t,e,n,i){const r=A(n);return U({sent_at:(new Date).toISOString(),...r&&{sdk:r},...!!i&&{dsn:T(e)}},["aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t]])}(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(e)}}recordDroppedEvent(t,e,n){if(this._options.sendClientReports){const n=`${t}:${e}`;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log(`Adding outcome: "${n}"`),this._outcomes[n]=this._outcomes[n]+1||1}}on(t,e){this._hooks[t]||(this._hooks[t]=[]),this._hooks[t].push(e)}emit(t,...e){this._hooks[t]&&this._hooks[t].forEach((t=>t(...e)))}_updateSessionFromEvent(t,e){let n=!1,i=!1;const r=e.exception&&e.exception.values;if(r){i=!0;for(const t of r){const e=t.mechanism;if(e&&!1===e.handled){n=!0;break}}}const s="ok"===t.status;(s&&0===t.errors||s&&n)&&((0,q.CT)(t,{...n&&{status:"crashed"},errors:t.errors||Number(i||n)}),this.captureSession(t))}_isClientDoneProcessing(t){return new k.cW((e=>{let n=0;const i=setInterval((()=>{0==this._numProcessing?(clearInterval(i),e(!0)):(n+=1,t&&n>=t&&(clearInterval(i),e(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._dsn}_prepareEvent(t,e,n){const i=this.getOptions(),r=Object.keys(this._integrations);return!e.integrations&&r.length>0&&(e.integrations=r),W(i,t,e,n)}_captureEvent(t,e={},n){return this._processEvent(t,e,n).then((t=>t.event_id),(t=>{if("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__){const e=t;"log"===e.logLevel?i.kg.log(e.message):i.kg.warn(e)}}))}_processEvent(t,e,n){const i=this.getOptions(),{sampleRate:r}=i;if(!this._isEnabled())return(0,k.$2)(new v("SDK not enabled, will not capture event.","log"));const s=X(t),o=V(t),a=t.type||"error",c=`before send for type \`${a}\``;if(o&&"number"==typeof r&&Math.random()>r)return this.recordDroppedEvent("sample_rate","error",t),(0,k.$2)(new v(`Discarding event because it's not included in the random sample (sampling rate = ${r})`,"log"));const u="replay_event"===a?"replay":a;return this._prepareEvent(t,e,n).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",u,t),new v("An event processor returned `null`, will not send event.","log");if(e.data&&!0===e.data.__sentry__)return n;const r=function(t,e,n){const{beforeSend:i,beforeSendTransaction:r}=t;if(V(e)&&i)return i(e,n);if(X(e)&&r)return r(e,n);return e}(i,n,e);return function(t,e){const n=`${e} must return \`null\` or a valid event.`;if((0,D.J8)(t))return t.then((t=>{if(!(0,D.PO)(t)&&null!==t)throw new v(n);return t}),(t=>{throw new v(`${e} rejected with ${t}`)}));if(!(0,D.PO)(t)&&null!==t)throw new v(n);return t}(r,c)})).then((i=>{if(null===i)throw this.recordDroppedEvent("before_send",u,t),new v(`${c} returned \`null\`, will not send event.`,"log");const r=n&&n.getSession();!s&&r&&this._updateSessionFromEvent(r,i);const o=i.transaction_info;if(s&&o&&i.transaction!==t.transaction){const t="custom";i.transaction_info={...o,source:t}}return this.sendEvent(i,e),i})).then(null,(t=>{if(t instanceof v)throw t;throw this.captureException(t,{data:{__sentry__:!0},originalException:t}),new v(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${t}`)}))}_process(t){this._numProcessing++,t.then((t=>(this._numProcessing--,t)),(t=>(this._numProcessing--,t)))}_sendEnvelope(t){if(this._transport&&this._dsn)return this.emit("beforeEnvelope",t),this._transport.send(t).then(null,(t=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.error("Error while sending event:",t)}));("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.error("Transport disabled")}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.keys(t).map((e=>{const[n,i]=e.split(":");return{reason:n,category:i,quantity:t[e]}}))}}function V(t){return void 0===t.type}function X(t){return"transaction"===t.type}const Z="7.46.0";var Q=n(8518);function tt(t,e){const n=nt(t,e),i={type:e&&e.name,value:rt(e)};return n.length&&(i.stacktrace={frames:n}),void 0===i.type&&""===i.value&&(i.value="Unrecoverable error caught"),i}function et(t,e){return{exception:{values:[tt(t,e)]}}}function nt(t,e){const n=e.stacktrace||e.stack||"",i=function(t){if(t){if("number"==typeof t.framesToPop)return t.framesToPop;if(it.test(t.message))return 1}return 0}(e);try{return t(n,i)}catch(t){}return[]}const it=/Minified React error #\d+;/i;function rt(t){const e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function st(t,e,n,i,s){let o;if((0,D.VW)(e)&&e.error){return et(t,e.error)}if((0,D.TX)(e)||(0,D.fm)(e)){const s=e;if("stack"in e)o=et(t,e);else{const e=s.name||((0,D.TX)(s)?"DOMError":"DOMException"),a=s.message?`${e}: ${s.message}`:e;o=ot(t,a,n,i),(0,r.Db)(o,a)}return"code"in s&&(o.tags={...o.tags,"DOMException.code":`${s.code}`}),o}if((0,D.VZ)(e))return et(t,e);if((0,D.PO)(e)||(0,D.cO)(e)){return o=function(t,e,n,i){const r=(0,l.Gd)().getClient(),s=r&&r.getOptions().normalizeDepth,o={exception:{values:[{type:(0,D.cO)(e)?e.constructor.name:i?"UnhandledRejection":"Error",value:`Non-Error ${i?"promise rejection":"exception"} captured with keys: ${(0,u.zf)(e)}`}]},extra:{__serialized__:N(e,s)}};if(n){const e=nt(t,n);e.length&&(o.exception.values[0].stacktrace={frames:e})}return o}(t,e,n,s),(0,r.EG)(o,{synthetic:!0}),o}return o=ot(t,e,n,i),(0,r.Db)(o,`${e}`,void 0),(0,r.EG)(o,{synthetic:!0}),o}function ot(t,e,n,i){const r={message:e};if(i&&n){const i=nt(t,n);i.length&&(r.exception={values:[{value:e,stacktrace:{frames:i}}]})}return r}const at=F.n2;let ct=0;function ut(){return ct>0}function _t(t,e={}
1,n){if("function"!=typeof t)return t;try{const e=t.__sentry_wrapped__;if(e)return e;if((0,u.HK)(t))return t}catch(e){return t}const i=function(){const i=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);const r=i.map((t=>_t(t,e)));return t.apply(this,r)}catch(t){throw ct++,setTimeout((()=>{ct--})),s=n=>{var s,o;n.addEventProcessor((t=>(e.mechanism&&((0,r.Db)(t,void 0,void 0),(0,r.EG)(t,e.mechanism)),t.extra={...t.extra,arguments:i},t))),s=t,(0,l.Gd)().captureException(s,{captureContext:o})},(0,l.Gd)().withScope(s),t}var s};try{for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(i[e]=t[e])}catch(t){}(0,u.$Q)(i,t),(0,u.xp)(t,"__sentry_wrapped__",i);try{Object.getOwnPropertyDescriptor(i,"name").configurable&&Object.defineProperty(i,"name",{get:()=>t.name})}catch(t){}return i}var dt=n(8464);const lt=["fatal","error","warning","log","info","debug"];function pt(t){return"warn"===t?"warning":lt.includes(t)?t:"log"}function ht(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const n=e[6]||"",i=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],relative:e[5]+n+i}}function ft(t){return t.split(/\\?\//).filter((t=>t.length>0&&","!==t)).length}const gt=1024,mt="Breadcrumbs";class yt{static __initStatic(){this.id=mt}__init(){this.name=yt.id}constructor(t){yt.prototype.__init.call(this),this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t}}setupOnce(){this.options.console&&(0,E.o)("console",Et),this.options.dom&&(0,E.o)("dom",function(t){function e(e){let n,r="object"==typeof t?t.serializeAttribute:void 0,s="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;s&&s>gt&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${s} was configured. Sentry will use 1024 instead.`),s=gt),"string"==typeof r&&(r=[r]);try{const t=e.event;n=function(t){return t&&!!t.target}(t)?(0,dt.Rt)(t.target,{keyAttrs:r,maxStringLength:s}):(0,dt.Rt)(t,{keyAttrs:r,maxStringLength:s})}catch(t){n="<unknown>"}0!==n.length&&(0,l.Gd)().addBreadcrumb({category:`ui.${e.name}`,message:n},{event:e.event,name:e.name,global:e.global})}return e}(this.options.dom)),this.options.xhr&&(0,E.o)("xhr",vt),this.options.fetch&&(0,E.o)("fetch",St),this.options.history&&(0,E.o)("history",Tt)}addSentryBreadcrumb(t){this.options.sentry&&(0,l.Gd)().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:(0,r.jH)(t)},{event:t})}}function Et(t){for(let e=0;e<t.args.length;e++)if("ref=Ref<"===t.args[e]){t.args[e+1]="viewRef";break}const e={category:"console",data:{arguments:t.args,logger:"console"},level:pt(t.level),message:(0,s.nK)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;e.message=`Assertion failed: ${(0,s.nK)(t.args.slice(1)," ")||"console.assert"}`,e.data.arguments=t.args.slice(1)}(0,l.Gd)().addBreadcrumb(e,{input:t.args,level:t.level})}function vt(t){const{startTimestamp:e,endTimestamp:n}=t;if(!e||!n||!t.xhr.__sentry_xhr__)return;const{method:i,url:r,status_code:s,body:o}=t.xhr.__sentry_xhr__,a={method:i,url:r,status_code:s},c={xhr:t.xhr,input:o,startTimestamp:e,endTimestamp:n};(0,l.Gd)().addBreadcrumb({category:"xhr",data:a,type:"http"},c)}function St(t){const{startTimestamp:e,endTimestamp:n}=t;if(n&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error){const i=t.fetchData,r={data:t.error,input:t.args,startTimestamp:e,endTimestamp:n};(0,l.Gd)().addBreadcrumb({category:"fetch",data:i,level:"error",type:"http"},r)}else{const i={...t.fetchData,status_code:t.response&&t.response.status},r={input:t.args,response:t.response,startTimestamp:e,endTimestamp:n};(0,l.Gd)().addBreadcrumb({category:"fetch",data:i,type:"http"},r)}}function Tt(t){let e=t.from,n=t.to;const i=ht(at.location.href);let r=ht(e);const s=ht(n);r.path||(r=i),i.protocol===s.protocol&&i.host===s.host&&(n=s.relative),i.protocol===r.protocol&&i.host===r.host&&(e=r.relative),(0,l.Gd)().addBreadcrumb({category:"navigation",data:{from:e,to:n}})}yt.__initStatic();class bt extends K{constructor(t){const e=at.SENTRY_SDK_SOURCE||(0,Q.S)();t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:`${e}:@sentry/browser`,version:Z}],version:Z},super(t),t.sendClientReports&&at.document&&at.document.addEventListener("visibilitychange",(()=>{"hidden"===at.document.visibilityState&&this._flushOutcomes()}))}eventFromException(t,e){return function(t,e,n,i){const s=st(t,e,n&&n.syntheticException||void 0,i);return(0,r.EG)(s),s.level="error",n&&n.event_id&&(s.event_id=n.event_id),(0,k.WD)(s)}(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t,e="info",n){return function(t,e,n="info",i,r){const s=ot(t,e,i&&i.syntheticException||void 0,r);return s.level=n,i&&i.event_id&&(s.event_id=i.event_id),(0,k.WD)(s)}(this._options.stackParser,t,e,n,this._options.attachStacktrace)}sendEvent(t,e){const n=this.getIntegrationById(mt);n&&n.addSentryBreadcrumb&&n.addSentryBreadcrumb(t),super.sendEvent(t,e)}_prepareEvent(t,e,n){return t.platform=t.platform||"javascript",super._prepareEvent(t,e,n)}_flushOutcomes(){const t=this._clearOutcomes();if(0===t.length)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("No outcomes to send"));if(!this._dsn)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("No dsn provided, will not send outcomes"));("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("Sending outcomes:",t);const e=(n=t,U((r=this._options.tunnel&&T(this._dsn))?{dsn:r}:{},[[{type:"client_report"},{timestamp:s||(0,H.yW)(),discarded_events:n}]]));var n,r,s;this._sendEnvelope(e)}}class Rt{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=Rt.id}__init2(){this._installFunc={onerror:Dt,onunhandledrejection:kt}}constructor(t){Rt.prototype.__init.call(this),Rt.prototype.__init2.call(this),this._options={onerror:!0,onunhandledrejection:!0,...t}}setupOnce(){Error.stackTraceLimit=50;const t=this._options;for(const n in t){const r=this._installFunc[n];r&&t[n]&&(e=n,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log(`Global Handler attached: ${e}`),r(),this._installFunc[n]=void 0)}var e}}function Dt(){(0,E.o)("error",(t=>{const[e,n,i]=wt();if(!e.getIntegration(Rt))return;const{msg:r,url:s,line:o,column:a,error:c}=t;if(ut()||c&&c.__sentry_own_request__)return;const u=void 0===c&&(0,D.HD)(r)?function(t,e,n,i){const r=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let s=(0,D.VW)(t)?t.message:t,o="Error";const a=s.match(r);a&&(o=a[1],s=a[2]);const c={exception:{values:[{type:o,value:s}]}};return xt(c,e,n,i)}(r,s,o,a):xt(st(n,c||r,void 0,i,!1),s,o,a);u.level="error",Nt(e,c,u,"onerror")}))}function kt(){(0,E.o)("unhandledrejection",(t=>{const[e,n,i]=wt();if(!e.getIntegration(Rt))return;let r=t;try{"reason"in t?r=t.reason:"detail"in t&&"reason"in t.detail&&(r=t.detail.reason)}catch(t){}if(ut()||r&&r.__sentry_own_request__)return!0;const s=(0,D.pt)(r)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(r)}`}]}}:st(n,r,void 0,i,!0);s.level="error",Nt(e,r,s,"onunhandledrejection")}))}function xt(t,e,n,i){const r=t.exception=t.exception||{},s=r.values=r.values||[],o=s[0]=s[0]||{},a=o.stacktrace=o.stacktrace||{},c=a.frames=a.frames||[],u=isNaN(parseInt(i,10))?void 0:i,_=isNaN(parseInt(n,10))?void 0:n,d=(0,D.HD)(e)&&e.length>0?e:(0,dt.l4)();return 0===c.length&&c.push({colno:u,filename:d,function:"?",in_app:!0,lineno:_}),t}function Nt(t,e,n,i){(0,r.EG)(n,{handled:!1,type:i}),t.captureEvent(n,{originalException:e})}function wt(){const t=(0,l.Gd)(),e=t.getClient(),n=e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[t,n.stackParser,n.attachStacktrace]}Rt.__initStatic();const Ut=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class Gt{static __initStatic(){this.id="TryCatch"}__init(){this.name=Gt.id}constructor(t){Gt.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t}}setupOnce(){this._options.setTimeout&&(0,u.hl)(at,"setTimeout",Bt),this._options.setInterval&&(0,u.hl)(at,"setInterval",Bt),this._options.requestAnimationFrame&&(0,u.hl)(at,"requestAnimationFrame",Yt),this._options.XMLHttpRequest&&"XMLHttpRequest"in at&&(0,u.hl)(XMLHttpRequest.prototype,"send",Ot);const t=this._options.eventTarget;if(t){(Array.isArray(t)?t:Ut).forEach($t)}}}function Bt(t){return function(...e){const n=e[0];return e[0]=_t(n,{mechanism:{data:{function:(0,m.$P)(t)},handled:!0,type:"instrument"}}),t.apply(this,e)}}function Yt(t){return function(e){return t.apply(this,[_t(e,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,m.$P)(t)},handled:!0,type:"instrument"}})])}}function Ot(t){return function(...e){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((t=>{t in n&&"function"==typeof n[t]&&(0,u.hl)(n,t,(function(e){const n={mechanism:{data:{function:t,handler:(0,m.$P)(e)},handled:!0,type:"instrument"}},i=(0,u.HK)(e);return i&&(n.mechanism.data.handler=(0,m.$P)(i)),_t(e,n)}))})),t.apply(this,e)}}function $t(t){const e=at,n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,u.hl)(n,"addEventListener",(function(e){return function(n,i,r){try{"function"==typeof i.handleEvent&&(i.handleEvent=_t(i.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,m.$P)(i),target:t},handled:!0,type:"instrument"}}))}catch(t){}return e.apply(this,[n,_t(i,{mechanism:{data:{function:"addEventListener",handler:(0,m.$P)(i),target:t},handled:!0,type:"instrument"}}),r])}})),(0,u.hl)(n,"removeEventListener",(function(t){return function(e,n,i){const r=n;try{const n=r&&r.__sentry_wrapped__;n&&t.call(this,e,n,i)}catch(t){}return t.call(this,e,r,i)}})))}Gt.__initStatic();class It{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=It.id}constructor(t={}){It.prototype.__init.call(this),this._key=t.key||"cause",this._limit=t.limit||5}setupOnce(){const t=(0,l.Gd)().getClient();t&&(0,p.c)(((e,n)=>{const i=(0,l.Gd)().getIntegration(It);return i?function(t,e,n,i,r){if(!(i.exception&&i.exception.values&&r&&(0,D.V9)(r.originalException,Error)))return i;const s=Ct(t,n,r.originalException,e);return i.exception.values=[...s,...i.exception.values],i}(t.getOptions().stackParser,i._key,i._limit,e,n):e}))}}function Ct(t,e,n,i,r=[]){if(!(0,D.V9)(n[i],Error)||r.length+1>=e)return r;const s=tt(t,n[i]);return Ct(t,e,n[i],i,[s,...r])}It.__initStatic();class At{constructor(){At.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=At.id}setupOnce(){(0,p.c)((t=>
1{if((0,l.Gd)().getIntegration(At)){if(!at.navigator&&!at.location&&!at.document)return t;const e=t.request&&t.request.url||at.location&&at.location.href,{referrer:n}=at.document||{},{userAgent:i}=at.navigator||{},r={...t.request&&t.request.headers,...n&&{Referer:n},...i&&{"User-Agent":i}},s={...t.request,...e&&{url:e},headers:r};return{...t,request:s}}return t}))}}At.__initStatic();class jt{constructor(){jt.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=jt.id}setupOnce(t,e){const n=t=>{if(t.type)return t;const n=e().getIntegration(jt);if(n){try{if(function(t,e){if(!e)return!1;if(function(t,e){const n=t.message,i=e.message;if(!n&&!i)return!1;if(n&&!i||!n&&i)return!1;if(n!==i)return!1;if(!Lt(t,e))return!1;if(!Pt(t,e))return!1;return!0}(t,e))return!0;if(function(t,e){const n=Mt(e),i=Mt(t);if(!n||!i)return!1;if(n.type!==i.type||n.value!==i.value)return!1;if(!Lt(t,e))return!1;if(!Pt(t,e))return!1;return!0}(t,e))return!0;return!1}(t,n._previousEvent))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){return n._previousEvent=t}return n._previousEvent=t}return t};n.id=this.name,t(n)}}function Pt(t,e){let n=qt(t),i=qt(e);if(!n&&!i)return!0;if(n&&!i||!n&&i)return!1;if(i.length!==n.length)return!1;for(let t=0;t<i.length;t++){const e=i[t],r=n[t];if(e.filename!==r.filename||e.lineno!==r.lineno||e.colno!==r.colno||e.function!==r.function)return!1}return!0}function Lt(t,e){let n=t.fingerprint,i=e.fingerprint;if(!n&&!i)return!0;if(n&&!i||!n&&i)return!1;try{return!(n.join("")!==i.join(""))}catch(t){return!1}}function Mt(t){return t.exception&&t.exception.values&&t.exception.values[0]}function qt(t){const e=t.exception;if(e)try{return e.values[0].stacktrace.frames}catch(t){return}}jt.__initStatic();const Ht="?";function Ft(t,e,n,i){const r={filename:t,function:e,in_app:!0};return void 0!==n&&(r.lineno=n),void 0!==i&&(r.colno=i),r}const Jt=/^\s*at (?:(.*\).*?|.*?) ?\((?:address at )?)?(?:async )?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Wt=/\((\S*)(?::(\d+))(?::(\d+))\)/,zt=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|safari-extension|safari-web-extension|capacitor)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Kt=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Vt=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Xt=[[30,t=>{const e=Jt.exec(t);if(e){if(e[2]&&0===e[2].indexOf("eval")){const t=Wt.exec(e[2]);t&&(e[2]=t[1],e[3]=t[2],e[4]=t[3])}const[t,n]=Qt(e[1]||Ht,e[2]);return Ft(n,t,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}}],[50,t=>{const e=zt.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const t=Kt.exec(e[3]);t&&(e[1]=e[1]||"eval",e[3]=t[1],e[4]=t[2],e[5]="")}let t=e[3],n=e[1]||Ht;return[n,t]=Qt(n,t),Ft(t,n,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}}],[40,t=>{const e=Vt.exec(t);return e?Ft(e[2],e[1]||Ht,+e[3],e[4]?+e[4]:void 0):void 0}]],Zt=(0,m.pE)(...Xt),Qt=(t,e)=>{const n=-1!==t.indexOf("safari-extension"),i=-1!==t.indexOf("safari-web-extension");return n||i?[-1!==t.indexOf("@")?t.split("@")[0]:Ht,n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]};function te(t){const e=[];function n(t){return e.splice(e.indexOf(t),1)[0]}return{$:e,add:function(i){if(!(void 0===t||e.length<t))return(0,k.$2)(new v("Not adding Promise because buffer limit was reached."));const r=i();return-1===e.indexOf(r)&&e.push(r),r.then((()=>n(r))).then(null,(()=>n(r).then(null,(()=>{})))),r},drain:function(t){return new k.cW(((n,i)=>{let r=e.length;if(!r)return n(!0);const s=setTimeout((()=>{t&&t>0&&n(!1)}),t);e.forEach((t=>{(0,k.WD)(t).then((()=>{--r||(clearTimeout(s),n(!0))}),i)}))}))}}}const ee=6e4;function ne(t,{statusCode:e,headers:n},i=Date.now()){const r={...t},s=n&&n["x-sentry-rate-limits"],o=n&&n["retry-after"];if(s)for(const t of s.trim().split(",")){const[e,n]=t.split(":",2),s=parseInt(e,10),o=1e3*(isNaN(s)?60:s);if(n)for(const t of n.split(";"))r[t]=i+o;else r.all=i+o}else o?r.all=i+function(t,e=Date.now()){const n=parseInt(`${t}`,10);if(!isNaN(n))return 1e3*n;const i=Date.parse(`${t}`);return isNaN(i)?ee:i-e}(o,i):429===e&&(r.all=i+6e4);return r}const ie=30;function re(t,e,n=te(t.bufferSize||ie)){let r={};function s(s){const o=[];if(B(s,((e,n)=>{const i=C(n);if(function(t,e,n=Date.now()){return function(t,e){return t[e]||t.all||0}(t,e)>n}(r,i)){const r=se(e,n);t.recordDroppedEvent("ratelimit_backoff",i,r)}else o.push(e)})),0===o.length)return(0,k.WD)();const a=U(s[0],o),c=e=>{B(a,((n,i)=>{const r=se(n,i);t.recordDroppedEvent(e,C(i),r)}))};return n.add((()=>e({body:O(a,t.textEncoder)}).then((t=>(void 0!==t.statusCode&&(t.statusCode<200||t.statusCode>=300)&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn(`Sentry responded with status code ${t.statusCode} to sent event.`),r=ne(r,t),t)),(t=>{throw c("network_error"),t})))).then((t=>t),(t=>{if(t instanceof v)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.error("Skipped sending event because buffer is full."),c("queue_overflow"),(0,k.WD)();throw t}))}return s.__sentry__baseTransport__=!0,{send:s,flush:t=>n.drain(t)}}function se(t,e){if("event"===e||"transaction"===e)return Array.isArray(t)?t[1]:void 0}let oe;function ae(t,e=function(){if(oe)return oe;if((0,y.Du)(at.fetch))return oe=at.fetch.bind(at);const t=at.document;let e=at.fetch;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n);const i=n.contentWindow;i&&i.fetch&&(e=i.fetch),t.head.removeChild(n)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return oe=e.bind(at)}()){let n=0,r=0;return re(t,(function(i){const s=i.body.length;n+=s,r++;const o={body:i.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:n<=6e4&&r<15,...t.fetchOptions};try{return e(t.url,o).then((t=>(n-=s,r--,{statusCode:t.status,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")}})))}catch(t){return oe=void 0,n-=s,r--,(0,k.$2)(t)}}
1))}const ce=4;function ue(t){return re(t,(function(e){return new k.cW(((n,i)=>{const r=new XMLHttpRequest;r.onerror=i,r.onreadystatechange=()=>{r.readyState===ce&&n({statusCode:r.status,headers:{"x-sentry-rate-limits":r.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":r.getResponseHeader("Retry-After")}})},r.open("POST",t.url);for(const e in t.headers)Object.prototype.hasOwnProperty.call(t.headers,e)&&r.setRequestHeader(e,t.headers[e]);r.send(e.body)}))}))}const _e=[new a,new d,new Gt,new yt,new Rt,new It,new jt,new At];function de(t){t.startSession({ignoreDuration:!0}),t.captureSession()}function le(t){let e,n=t[0],i=1;for(;i<t.length;){const r=t[i],s=t[i+1];if(i+=2,("optionalAccess"===r||"optionalCall"===r)&&null==n)return;"access"===r||"optionalAccess"===r?(e=n,n=s(n)):"call"!==r&&"optionalCall"!==r||(n=s(((...t)=>n.call(e,...t))),e=void 0)}return n}function pe(t,e={}){const n=t.method&&t.method.toUpperCase();let i="",r="url";e.customRoute||t.route?(i=e.customRoute||`${t.baseUrl||""}${t.route&&t.route.path}`,r="route"):(t.originalUrl||t.url)&&(i=(t.originalUrl||t.url||"").split(/[\?#]/,1)[0]);let s="";return e.method&&n&&(s+=n),e.method&&e.path&&(s+=" "),e.path&&i&&(s+=i),[s,r]}function he(t){const e=le([t,"call",t=>t(),"access",t=>t.getClient,"call",t=>t(),"optionalAccess",t=>t.getOptions,"call",t=>t()]);return"sentry"!==(le([e,"optionalAccess",t=>t.instrumenter])||"sentry")}class fe{static __initStatic(){this.id="Express"}__init(){this.name=fe.id}constructor(t={}){fe.prototype.__init.call(this),this._router=t.router||t.app,this._methods=(Array.isArray(t.methods)?t.methods:[]).concat("use")}setupOnce(t,e){this._router?he(e)?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("Express Integration is skipped because of instrumenter configuration."):(function(t,e=[]){e.forEach((e=>function(t,e){const n=t[e];return t[e]=function(...t){return n.call(this,...function(t,e){return t.map((t=>"function"==typeof t?ge(t,e):Array.isArray(t)?t.map((t=>"function"==typeof t?ge(t,e):t)):t))}(t,e))},t}(t,e)))}(this._router,this._methods),function(t){const e="settings"in t;e&&void 0===t._router&&t.lazyrouter&&t.lazyrouter();const n=e?t._router:t;if(!n)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.debug("Cannot instrument router for URL Parameterization (did not find a valid router)."),void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.debug("Routing instrumentation is currently only supported in Express 4."));const r=Object.getPrototypeOf(n),s=r.process_params;r.process_params=function(t,e,n,i,r){n._reconstructedRoute||(n._reconstructedRoute="");const{layerRoutePath:o,isRegex:a,isArray:c,numExtraSegments:u}=function(t){const e=le([t,"access",t=>t.route,"optionalAccess",t=>t.path]),n=(0,D.Kj)(e),i=Array.isArray(e);if(!e)return{isRegex:n,isArray:i,numExtraSegments:0};const r=i?Math.max((o=e,o.reduce(((t,e)=>t+ft(e.toString())),0)-ft(t.path||"")),0):0,s=function(t,e){if(t)return e.map((t=>t.toString())).join(",");return e&&e.toString()}(i,e);var o;return{layerRoutePath:s,isRegex:n,isArray:i,numExtraSegments:r}}(t);(o||a||c)&&(n._hasParameters=!0);const _=(o||t.path||"").split("/").filter((t=>t.length>0&&(a||c||!t.includes("*")))).join("/");_&&_.length>0&&(n._reconstructedRoute+=`/${_}${a?"/":""}`);if(ft(n.originalUrl||"")+u===ft(n._reconstructedRoute)){n._hasParameters||n._reconstructedRoute!==n.originalUrl&&(n._reconstructedRoute=n.originalUrl);const t=i.__sentry_transaction;if(t&&"custom"!==t.metadata.source){const e=n._reconstructedRoute||"/";t.setName(...pe(n,{path:!0,method:!0,customRoute:e}))}}return s.call(this,t,e,n,i,r)}}(this._router)):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.error("ExpressIntegration is missing an Express instance")}}function ge(t,e){const n=t.length;switch(n){case 2:return function(n,i){const r=i.__sentry_transaction;if(r){const n=r.startChild({description:t.name,op:`middleware.express.${e}`});i.once("finish",(()=>{n.finish()}))}return t.call(this,n,i)};case 3:return function(n,i,r){const s=le([i.__sentry_transaction,"optionalAccess",t=>t.startChild,"call",n=>n({description:t.name,op:`middleware.express.${e}`})]);t.call(this,n,i,(function(...t){le([s,"optionalAccess",t=>t.finish,"call",t=>t()]),r.call(this,...t)}))};case 4:return function(n,i,r,s){const o=le([r.__sentry_transaction,"optionalAccess",t=>t.startChild,"call",n=>n({description:t.name,op:`middleware.express.${e}`})]);t.call(this,n,i,r,(function(...t){le([o,"optionalAccess",t=>t.finish,"call",t=>t()]),s.call(this,...t)}))};default:throw new Error(`Express middleware takes 2-4 arguments. Got: ${n}`)}}fe.__initStatic();var me=n(1422);class ye{static __initStatic(){this.id="Postgres"}__init(){this.name=ye.id}constructor(t={}){ye.prototype.__init.call(this),this._usePgNative=!!t.usePgNative}loadDependency(){return this._module=this._module||(0,me.$y)("pg")}setupOnce(t,e){if(he(e))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("Postgres Integration is skipped because of instrumenter configuration."));const n=this.loadDependency();if(!n)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.error("Postgres Integration was unable to require `pg` package."));if(this._usePgNative&&!le([n,"access",t=>t.native,"optionalAccess",t=>t.Client]))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.error("Postgres Integration was unable to access 'pg-native' bindings."));const{Client:r}=this._usePgNative?n.native:n;(0,u.hl)(r.prototype,"query",(function(t){return function(n,i,r){const s=le([e().getScope(),"optionalAccess",t=>t.getSpan,"call",t=>t()]),o=le([s,"optionalAccess",t=>t.startChild,"call",t=>t({description:"string"==typeof n?n:n.text,op:"db"})]);if("function"==typeof r)return t.call(this,n,i,(function(t,e){le([o,"optionalAccess",t=>t.finish,"call",t=>t()]),r(t,e)}));if("function"==typeof i)return t.call(this,n,(function(t,e){le([o,"optionalAccess",t=>t.finish,"call",t=>t()]),i(t,e)}));const a=void 0!==i?t.call(this,n,i):t.call(this,n);return(0,D.J8)(a)?a.then((t=>(le([o,"optionalAccess",t=>t.finish,"call",t=>t()]),t))):(le([o,"optionalAccess",t=>t.finish,"call",t=>t()]),a)}}))}}ye.__initStatic();class Ee{constructor(){Ee.prototype.__init.call(this)}static __initStatic(){this.id="Mysql"}__init(){this.name=Ee.id}loadDependency(){return this._module=this._module||(0,me.$y)("mysql/lib/Connection.js")}setupOnce(t,e){if(he(e))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("Mysql Integration is skipped because of instrumenter configuration."));const n=this.loadDependency();n?(0,u.hl)(n,"createQuery",(function(t){return function(n,i,r){const s=le([e().getScope(),"optionalAccess",t=>t.getSpan,"call",t=>t()]),o=le([s,"optionalAccess",t=>t.startChild,"call",t=>t({description:"string"==typeof n?n:n.sql,op:"db"})]);return"function"==typeof r?t.call(this,n,i,(function(t,e,n){le([o,"optionalAccess",t=>t.finish,"call",t=>t()]),r(t,e,n)}
1)):"function"==typeof i?t.call(this,n,(function(t,e,n){le([o,"optionalAccess",t=>t.finish,"call",t=>t()]),i(t,e,n)})):t.call(this,n,i,r)}})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.error("Mysql Integration was unable to require `mysql` package.")}}Ee.__initStatic();const ve=["aggregate","bulkWrite","countDocuments","createIndex","createIndexes","deleteMany","deleteOne","distinct","drop","dropIndex","dropIndexes","estimatedDocumentCount","find","findOne","findOneAndDelete","findOneAndReplace","findOneAndUpdate","indexes","indexExists","indexInformation","initializeOrderedBulkOp","insertMany","insertOne","isCapped","mapReduce","options","parallelCollectionScan","rename","replaceOne","stats","updateMany","updateOne"],Se={bulkWrite:["operations"],countDocuments:["query"],createIndex:["fieldOrSpec"],createIndexes:["indexSpecs"],deleteMany:["filter"],deleteOne:["filter"],distinct:["key","query"],dropIndex:["indexName"],find:["query"],findOne:["query"],findOneAndDelete:["filter"],findOneAndReplace:["filter","replacement"],findOneAndUpdate:["filter","update"],indexExists:["indexes"],insertMany:["docs"],insertOne:["doc"],mapReduce:["map","reduce"],rename:["newName"],replaceOne:["filter","doc"],updateMany:["filter","update"],updateOne:["filter","update"]};class Te{static __initStatic(){this.id="Mongo"}__init(){this.name=Te.id}constructor(t={}){Te.prototype.__init.call(this),this._operations=Array.isArray(t.operations)?t.operations:ve,this._describeOperations=!("describeOperations"in t)||t.describeOperations,this._useMongoose=!!t.useMongoose}loadDependency(){const t=this._useMongoose?"mongoose":"mongodb";return this._module=this._module||(0,me.$y)(t)}setupOnce(t,e){if(he(e))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("Mongo Integration is skipped because of instrumenter configuration."));const n=this.loadDependency();if(n)this._instrumentOperations(n.Collection,this._operations,e);else{const t=this._useMongoose?"mongoose":"mongodb";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.error(`Mongo Integration was unable to require \`${t}\` package.`)}}_instrumentOperations(t,e,n){e.forEach((e=>this._patchOperation(t,e,n)))}_patchOperation(t,e,n){if(!(e in t.prototype))return;const i=this._getSpanContextFromOperationArguments.bind(this);(0,u.hl)(t.prototype,e,(function(t){return function(...r){const s=r[r.length-1],o=le([n().getScope(),"optionalAccess",t=>t.getSpan,"call",t=>t()]);if("function"!=typeof s||"mapReduce"===e&&2===r.length){const n=le([o,"optionalAccess",t=>t.startChild,"call",t=>t(i(this,e,r))]),s=t.call(this,...r);if((0,D.J8)(s))return s.then((t=>(le([n,"optionalAccess",t=>t.finish,"call",t=>t()]),t)));if((a=s)&&"object"==typeof a&&a.once&&"function"==typeof a.once){const t=s;try{t.once("close",(()=>{le([n,"optionalAccess",t=>t.finish,"call",t=>t()])}))}catch(t){le([n,"optionalAccess",t=>t.finish,"call",t=>t()])}return t}return le([n,"optionalAccess",t=>t.finish,"call",t=>t()]),s}var a;const c=le([o,"optionalAccess",t=>t.startChild,"call",t=>t(i(this,e,r.slice(0,-1)))]);return t.call(this,...r.slice(0,-1),(function(t,e){le([c,"optionalAccess",t=>t.finish,"call",t=>t()]),s(t,e)}))}}))}_getSpanContextFromOperationArguments(t,e,n){const i={collectionName:t.collectionName,dbName:t.dbName,namespace:t.namespace},r={op:"db",description:e,data:i},s=Se[e],o=Array.isArray(this._describeOperations)?this._describeOperations.includes(e):this._describeOperations;if(!s||!o)return r;try{if("mapReduce"===e){const[t,e]=n;i[s[0]]="string"==typeof t?t:t.name||"<anonymous>",i[s[1]]="string"==typeof e?e:e.name||"<anonymous>"}else for(let t=0;t<s.length;t++)i[s[t]]=JSON.stringify(n[t])}catch(t){}return r}}Te.__initStatic();class be{static __initStatic(){this.id="Prisma"}__init(){this.name=be.id}constructor(t={}){var e;be.prototype.__init.call(this),(e=t.client)&&e.$use?this._client=t.client:("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn(`Unsupported Prisma client provided to PrismaIntegration. Provided client: ${JSON.stringify(t.client)}`)}setupOnce(t,e){this._client?he(e)?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("Prisma Integration is skipped because of instrumenter configuration."):this._client.$use(((t,n)=>{const i=le([e().getScope(),"optionalAccess",t=>t.getSpan,"call",t=>
1t()]),r=t.action,s=t.model,o=le([i,"optionalAccess",t=>t.startChild,"call",t=>t({description:s?`${s} ${r}`:r,op:"db.sql.prisma"})]),a=n(t);return(0,D.J8)(a)?a.then((t=>(le([o,"optionalAccess",t=>t.finish,"call",t=>t()]),t))):(le([o,"optionalAccess",t=>t.finish,"call",t=>t()]),a)})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.error("PrismaIntegration is missing a Prisma Client Instance")}}be.__initStatic();class Re{constructor(){Re.prototype.__init.call(this)}static __initStatic(){this.id="GraphQL"}__init(){this.name=Re.id}loadDependency(){return this._module=this._module||(0,me.$y)("graphql/execution/execute.js")}setupOnce(t,e){if(he(e))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("GraphQL Integration is skipped because of instrumenter configuration."));const n=this.loadDependency();n?(0,u.hl)(n,"execute",(function(t){return function(...n){const i=e().getScope(),r=le([i,"optionalAccess",t=>t.getSpan,"call",t=>t()]),s=le([r,"optionalAccess",t=>t.startChild,"call",t=>t({description:"execute",op:"graphql.execute"})]);le([i,"optionalAccess",t=>t.setSpan,"call",t=>t(s)]);
1const o=t.call(this,...n);return(0,D.J8)(o)?o.then((t=>(le([s,"optionalAccess",t=>t.finish,"call",t=>t()]),le([i,"optionalAccess",t=>t.setSpan,"call",t=>t(r)]),t))):(le([s,"optionalAccess",t=>t.finish,"call",t=>t()]),le([i,"optionalAccess",t=>t.setSpan,"call",t=>t(r)]),o)}})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.error("GraphQL Integration was unable to require graphql/execution package.")}}Re.__initStatic();class De{static __initStatic(){this.id="Apollo"}__init(){this.name=De.id}constructor(t={useNestjs:!1}){De.prototype.__init.call(this),this._useNest=!!t.useNestjs}loadDependency(){return this._useNest?this._module=this._module||(0,me.$y)("@nestjs/graphql"):this._module=this._module||(0,me.$y)("apollo-server-core"),this._module}setupOnce(t,e){if(he(e))("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("Apollo Integration is skipped because of instrumenter configuration.");else if(this._useNest){const t=this.loadDependency();if(!t)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.error("Apollo-NestJS Integration was unable to require @nestjs/graphql package."));(0,u.hl)(t.GraphQLFactory.prototype,"mergeWithSchema",(function(t){return function(...n){return(0,u.hl)(this.resolversExplorerService,"explore",(function(t){return function(){return ke((0,r.lE)(t.call(this)),e)}}
1)),t.call(this,...n)}}))}else{const t=this.loadDependency();if(!t)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.error("Apollo Integration was unable to require apollo-server-core package."));(0,u.hl)(t.ApolloServerBase.prototype,"constructSchema",(function(t){return function(){if(!this.config.resolvers)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&(this.config.schema?(i.kg.warn("Apollo integration is not able to trace `ApolloServer` instances constructed via `schema` property.If you are using NestJS with Apollo, please use `Sentry.Integrations.Apollo({ useNestjs: true })` instead."),i.kg.warn()):this.config.modules&&i.kg.warn("Apollo integration is not able to trace `ApolloServer` instances constructed via `modules` property."),i.kg.error("Skipping tracing as no resolvers found on the `ApolloServer` instance.")),t.call(this);const n=(0,r.lE)(this.config.resolvers);return this.config.resolvers=ke(n,e),t.call(this)}}))}}}function ke(t,e){return t.map((t=>(Object.keys(t).forEach((n=>{Object.keys(t[n]).forEach((i=>{"function"==typeof t[n][i]&&function(t,e,n,i){(0,u.hl)(t[e],n,(function(t){return function(...r){const s=le([i().getScope(),"optionalAccess",t=>t.getSpan,"call",t=>t()]),o=le([s,"optionalAccess",t=>t.startChild,"call",t=>t({description:`${e}.${n}`,op:"graphql.resolve"})]),a=t.call(this,...r);return(0,D.J8)(a)?a.then((t=>(le([o,"optionalAccess",t=>t.finish,"call",t=>t()]),t))):(le([o,"optionalAccess",t=>t.finish,"call",t=>t()]),a)}}))}(t,n,i,e)}))})),t)))}De.__initStatic();n(6046);var xe=n(5544),Ne=n(7850);const we=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");var Ue=n(9791);const Ge="baggage",Be="sentry-",Ye=/^sentry-/,Oe=8192;function $e(t){return function(t){if(0===Object.keys(t).length)return;return Object.entries(t).reduce(((t,[e,n],r)=>{const s=`${encodeURIComponent(e)}=${encodeURIComponent(n)}`,o=0===r?s:`${t},${s}`;return o.length>Oe?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn(`Not adding key: ${e} with val: ${n} to baggage header due to exceeding baggage size limits.`),t):o}),"")}(Object.entries(t).reduce(((t,[e,n])=>(n&&(t[`${Be}${e}`]=n),t)),{}))}function Ie(t){return t.split(",").map((t=>t.split("=").map((t=>decodeURIComponent(t.trim()))))).reduce(((t,[e,n])=>(t[e]=n,t)),{})}const Ce=F.n2;const Ae=(t,e,n)=>{let i,r;return s=>{e.value>=0&&(s||n)&&(r=e.value-(i||0),(r||void 0===i)&&(i=e.value,e.delta=r,t(e)))}},je=()=>Ce.__WEB_VITALS_POLYFILL__?Ce.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||(()=>{const t=Ce.performance.timing,e=Ce.performance.navigation.type,n={entryType:"navigation",startTime:0,type:2==e?"back_forward":1===e?"reload":"navigate"};for(const e in t)"navigationStart"!==e&&"toJSON"!==e&&(n[e]=Math.max(t[e]-t.navigationStart,0));return n})()):Ce.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],Pe=()=>{const t=je();return t&&t.activationStart||0},Le=(t,e)=>{const n=je();let i="navigate";return n&&(i=Ce.document.prerendering||Pe()>0?"prerender":n.type.replace(/_/g,"-")),{name:t,value:void 0===e?-1:e,rating:"good",delta:0,entries:[],id:`v3-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:i}},Me=(t,e,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(t)){const i=new PerformanceObserver((t=>{e(t.getEntries())}));return i.observe(Object.assign({type:t,buffered:!0},n||{})),i}}catch(t){}},qe=(t,e)=>{const n=i=>{"pagehide"!==i.type&&"hidden"!==Ce.document.visibilityState||(t(i),e&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},He=t=>{const e=Le("CLS",0);let n,i=0,r=[];const s=t=>{t.forEach((t=>{if(!t.hadRecentInput){const s=r[0],o=r[r.length-1];i&&0!==r.length&&t.startTime-o.startTime<1e3&&t.startTime-s.startTime<5e3?(i+=t.value,r.push(t)):(i=t.value,r=[t]),i>e.value&&(e.value=i,e.entries=r,n&&n())}}))},o=Me("layout-shift",s);if(o){n=Ae(t,e);const i=()=>{s(o.takeRecords()),n(!0)};return qe(i),i}};let Fe=-1;const Je=()=>(Fe<0&&(Fe="hidden"!==Ce.document.visibilityState||Ce.document.prerendering?1/0:0,qe((({timeStamp:t})=>{Fe=t}),!0)),{get firstHiddenTime(){return Fe}}),We=t=>{const e=Je(),n=Le("FID");let i;const r=t=>{t.startTime<e.firstHiddenTime&&(n.value=t.processingStart-t.startTime,n.entr
1ies.push(t),i(!0))},s=t=>{t.forEach(r)},o=Me("first-input",s);i=Ae(t,n),o&&qe((()=>{s(o.takeRecords()),o.disconnect()}),!0)},ze={},Ke=t=>{const e=Je(),n=Le("LCP");let i;const r=t=>{const r=t[t.length-1];if(r){const t=Math.max(r.startTime-Pe(),0);t<e.firstHiddenTime&&(n.value=t,n.entries=[r],i())}},s=Me("largest-contentful-paint",r);if(s){i=Ae(t,n);const e=()=>{ze[n.id]||(r(s.takeRecords()),s.disconnect(),ze[n.id]=!0,i(!0))};return["keydown","click"].forEach((t=>{addEventListener(t,e,{once:!0,capture:!0})})),qe(e,!0),e}};function Ve(t){return"number"==typeof t&&isFinite(t)}function Xe(t,{startTimestamp:e,...n}){return e&&t.startTimestamp>e&&(t.startTimestamp=e),t.startChild({startTimestamp:e,...n})}function Ze(t){return t/1e3}function Qe(){return Ce&&Ce.addEventListener&&Ce.performance}let tn,en,nn=0,rn={};function sn(){const t=Qe();if(t&&H.Z1){t.mark&&Ce.performance.mark("sentry-tracing-init"),We((t=>{const e=t.entries.pop();if(!e)return;const n=Ze(H.Z1),r=Ze(e.startTime);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Measurements] Adding FID"),rn.fid={value:t.value,unit:"millisecond"},rn["mark.fid"]={value:n+r,unit:"second"}}));const e=He((t=>{const e=t.entries.pop();e&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Measurements] Adding CLS"),rn.cls={value:t.value,unit:""},en=e)})),n=Ke((t=>{const e=t.entries.pop();e&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Measurements] Adding LCP"),rn.lcp={value:t.value,unit:"millisecond"},tn=e)}));return()=>{e&&e(),n&&n()}}return()=>{}}function on(t){const e=Qe();if(!e||!Ce.performance.getEntries||!H.Z1)return;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Tracing] Adding & adjusting spans using Performance API");const n=Ze(H.Z1),r=e.getEntries();let s,o;
1if(r.slice(nn).forEach((e=>{const r=Ze(e.startTime),a=Ze(e.duration);if(!("navigation"===t.op&&n+r<t.startTimestamp))switch(e.entryType){case"navigation":!function(t,e,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach((i=>{an(t,e,i,n)})),an(t,e,"secureConnection",n,"TLS/SSL","connectEnd"),an(t,e,"fetch",n,"cache","domainLookupStart"),an(t,e,"domainLookup",n,"DNS"),function(t,e,n){Xe(t,{op:"browser",description:"request",startTimestamp:n+Ze(e.requestStart),endTimestamp:n+Ze(e.responseEnd)}),Xe(t,{op:"browser",description:"response",startTimestamp:n+Ze(e.responseStart),endTimestamp:n+Ze(e.responseEnd)})}(t,e,n)}(t,e,n),s=n+Ze(e.responseStart),o=n+Ze(e.requestStart);break;case"mark":case"paint":case"measure":{!function(t,e,n,i,r){const s=r+n,o=s+i;Xe(t,{description:e.name,endTimestamp:o,op:e.entryType,startTimestamp:s})}(t,e,r,a,n);const s=Je(),o=e.startTime<s.firstHiddenTime;"first-paint"===e.name&&o&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Measurements] Adding FP"),rn.fp={value:e.startTime,unit:"millisecond"}),"first-contentful-paint"===e.name&&o&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Measurements] Adding FCP"),rn.fcp={value:e.startTime,unit:"millisecond"});break}case"resource":{const i=e.name.replace(Ce.location.origin,"");!function(t,e,n,i,r,s){if("xmlhttprequest"===e.initiatorType||"fetch"===e.initiatorType)return;const o={};"transferSize"in e&&(o["Transfer Size"]=e.transferSize);"encodedBodySize"in e&&(o["Encoded Body Size"]=e.encodedBodySize);"decodedBodySize"in e&&(o["Decoded Body Size"]=e.decodedBodySize);"renderBlockingStatus"in e&&(o["resource.render_blocking_status"]=e.renderBlockingStatus);const a=s+i,c=a+r;Xe(t,{description:n,endTimestamp:c,op:e.initiatorType?`resource.${e.initiatorType}`:"resource.other",startTimestamp:a,data:o})}(t,e,i,r,a,n);break}}})),nn=Math.max(r.length-1,0),function(t){const e=Ce.navigator;if(!e)return;const n=e.connection;n&&(n.effectiveType&&t.setTag("effectiveConnectionType",n.effectiveType),n.type&&t.setTag("connectionType",n.type),Ve(n.rtt)&&(rn["connection.rtt"]={value:n.rtt,unit:"millisecond"}));Ve(e.deviceMemory)&&t.setTag("deviceMemory",`${e.deviceMemory} GB`);Ve(e.hardwareConcurrency)&&t.setTag("hardwareConcurrency",String(e.hardwareConcurrency))}(t),"pageload"===t.op){"number"==typeof s&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Measurements] Adding TTFB"),rn.ttfb={value:1e3*(s-t.startTimestamp),unit:"millisecond"},"number"==typeof o&&o<=s&&(rn["ttfb.requestTime"]={value:1e3*(s-o),unit:"millisecond"})),["fcp","fp","lcp"].forEach((e=>{if(!rn[e]||n>=t.startTimestamp)return;const r=rn[e].value,s=n+Ze(r),o=Math.abs(1e3*(s-t.startTimestamp)),a=o-r;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log(`[Measurements] Normalized ${e} from ${r} to ${o} (${a})`),rn[e].value=o}));const e=rn["mark.fid"];e&&rn.fid&&(Xe(t,{description:"first input delay",endTimestamp:e.value+Ze(rn.fid.value),op:"ui.action",startTimestamp:e.value}),delete rn["mark.fid"]),"fcp"in rn||delete rn.cls,Object.keys(rn).forEach((e=>{t.setMeasurement(e,rn[e].value,rn[e].unit)})),function(t){tn&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Measurements] Adding LCP Data"),tn.element&&t.setTag("lcp.element",(0,dt.Rt)(tn.element)),tn.id&&t.setTag("lcp.id",tn.id),tn.url&&t.setTag("lcp.url",tn.url.trim().slice(0,200)),t.setTag("lcp.size",tn.size));en&&en.sources&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Measurements] Adding CLS Data"),en.sources.forEach(((e,n)=>t.setTag(`cls.source.${n+1}`,(0,dt.Rt)(e.node)))))}(t)}tn=void 0,en=void 0,rn={}}function an(t,e,n,i,r,s){const o=s?e[s]:e[`${n}End`],a=e[`${n}Start`];a&&o&&Xe(t,{op:"browser",description:r||n,startTimestamp:i+Ze(a),endTimestamp:i+Ze(o)})}var cn=n(7522);const un=["localhost",/^\//],_n={traceFetch:!0,traceXHR:!0,tracingOrigins:un,tracePropagationTargets:un};function dn(t){const{traceFetch:e,traceXHR:n,tracePropagationTargets:i,tracingOrigins:r,shouldCreateSpanForRequest:o}={traceFetch:_n.traceFetch,traceXHR:_n.traceXHR,...t},a="function"==typeof o?o:t=>!0,c=t=>function(t,e){return(0,s.U0)(t,e||un)}(t,i||r),u={};e&&(0,E.o)("fetch",(t=>{!function(t,e,n,i){if(!(0,cn.z)()||!t.fetchData||!e(t.fetchData.url))return;if(t.endTimestamp){const e=t.fetchData.__span;if(!e)return;const n=i[e];return void(n&&(t.response?n.setHttpStatus(t.response.status):t.error&&n.setStatus("internal_error"),n.finish(),delete i[e]))}const r=(0,l.Gd)().getScope(),s=r&&r.getSpan(),o=s&&s.transaction;if(s&&o){const e=s.startChild({data:{...t.fetchData,type:"fetch"},description:`${t.fetchData.method} ${t.fetchData.url}`,op:"http.client"});t.fetchData.__span=e.spanId,i[e.spanId]=e;const r=t.args[0];t.args[1]=t.args[1]||{};const a=t.args[1];n(t.fetchData.url)&&(a.headers=function(t,e,n,i){const r=$e(e),s=n.toTraceparent(),o="undefined"!=typeof Request&&(0,D.V9)(t,Request)?t.headers:i.headers;if(o){if("undefined"!=typeof Headers&&(0,D.V9)(o,Headers)){const t=new Headers(o);return t.append("sentry-trace",s),r&&t.append(Ge,r),t}if(Array.isArray(o)){const t=[...o,["sentry-trace",s]];return r&&t.push([Ge,r]),t}{const t="baggage"in o?o.baggage:void 0,e=[];return Array.isArray(t)?e.push(...t):t&&e.push(t),r&&e.push(r),{...o,"sentry-trace":s,baggage:e.length>0?e.join(","):void 0}}}return{"sentry-trace":s,baggage:r}}(r,o.getDynamicSamplingContext(),e,a))}}(t,a,c,u)})),n&&(0,E.o)("xhr",(t=>{!function(t,e,n,i){if(!(0,cn.z)()||t.xhr&&t.xhr.__sentry_own_request__||!(t.xhr&&t.xhr.__sentry_xhr__&&e(t.xhr.__sentry_xhr__.url)))return;const r=t.xhr.__sentry_xhr__;if(t.endTimestamp){const e=t.xhr.__sentry_xhr_span_id__;if(!e)return;const n=i[e];return void(n&&(n.setHttpStatus(r.status_code),n.finish(),delete i[e]))}const s=(0,l.Gd)().getScope(),o=s&&s.getSpan(),a=o&&o.transaction;if(o&&a){const e=o.startChild({data:{...r.data,type:"xhr",method:r.method,url:r.url},description:`${r.method} ${r.url}`,op:"http.client"});if(t.xhr.__sentry_xhr_span_id__=e.spanId,i[t.xhr.__sentry_xhr_span_id__]=e,t.xhr.setRequestHeader&&n(t.xhr.__sentry_xhr__.url))try{t.xhr.setRequestHeader("sentry-trace",e.toTraceparent());const n=$e(a.getDynamicSamplingContext());n&&t.xhr.setRequestHeader(Ge,n)}catch(t){}}}(t,a,c,u)}))}
1const ln={...xe.AT,markBackgroundTransactions:!0,routingInstrumentation:function(t,e=!0,n=!0){if(!Ce||!Ce.location)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn("Could not initialize routing instrumentation due to invalid location"));let r,s=Ce.location.href;e&&(r=t({name:Ce.location.pathname,startTimestamp:H.Z1,op:"pageload",metadata:{source:"url"}})),n&&(0,E.o)("history",(({to:e,from:n})=>{void 0===n&&s&&-1!==s.indexOf(e)?s=void 0:n!==e&&(s=void 0,r&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log(`[Tracing] Finishing current transaction with op: ${r.op}`),r.finish()),r=t({name:Ce.location.pathname,op:"navigation",metadata:{source:"url"}}))}))},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,_experiments:{},..._n};class pn{__init(){this.name="BrowserTracing"}constructor(t){pn.prototype.__init.call(this),(0,Ne.T)(),this.options={...ln,...t},void 0!==this.options._experiments.enableLongTask&&(this.options.enableLongTask=this.options._experiments.enableLongTask),t&&!t.tracePropagationTargets&&t.tracingOrigins&&(this.options.tracePropagationTargets=t.tracingOrigins),this._collectWebVitals=sn(),this.options.enableLongTask&&Me("longtask",(t=>{for(const e of t){const t=(0,Ue.x1)();if(!t)return;const n=Ze(H.Z1+e.startTime),i=Ze(e.duration);t.startChild({description:"Main UI thread blocked",op:"ui.long-task",startTimestamp:n,endTimestamp:n+i})}})),this.options._experiments.enableInteractions&&Me("event",(t=>{for(const e of t){const t=(0,Ue.x1)();if(!t)return;if("click"===e.name){const n=Ze(H.Z1+e.startTime),i=Ze(e.duration);t.startChild({description:(0,dt.Rt)(e.target),op:`ui.interaction.${e.name}`,startTimestamp:n,endTimestamp:n+i})}}}),{durationThreshold:0})}setupOnce(t,e){this._getCurrentHub=e;const{routingInstrumentation:n,startTransactionOnLocationChange:r,startTransactionOnPageLoad:s,markBackgroundTransactions:o,traceFetch:a,traceXHR:c,tracePropagationTargets:u,shouldCreateSpanForRequest:_,_experiments:d}=this.options;n((t=>{const n=this._createRouteTransaction(t);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(n,t,e),n}),s,r),o&&(Ce&&Ce.document?Ce.document.addEventListener("visibilitychange",(()=>{const t=(0,Ue.x1)();if(Ce.document.hidden&&t){const e="cancelled";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${t.op}`),t.status||t.setStatus(e),t.setTag("visibilitychange","document.hidden"),t.finish()}})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn("[Tracing] Could not set up background tab detection due to lack of global document")),d.enableInteractions&&this._registerInteractionListener(),dn({traceFetch:a,traceXHR:c,tracePropagationTargets:u,shouldCreateSpanForRequest:_})}_createRouteTransaction(t){if(!this._getCurrentHub)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn(`[Tracing] Did not create ${t.op} transaction because _getCurrentHub is invalid.`));const{beforeNavigate:e,idleTimeout:n,finalTimeout:r,heartbeatInterval:s}=this.options,o="pageload"===t.op,a=o?hn("sentry-trace"):null,c=o?hn("baggage"):null,u=a?function(t){const e=t.match(we);if(!t||!e)return;let n;return"1"===e[3]?n=!0:"0"===e[3]&&(n=!1),{traceId:e[1],parentSampled:n,parentSpanId:e[2]}}(a):void 0,_=c?function(t){if(!(0,D.HD)(t)&&!Array.isArray(t))return;let e={};if(Array.isArray(t))e=t.reduce(((t,e)=>({...t,...Ie(e)})),{});else{if(!t)return;e=Ie(t)}const n=Object.entries(e).reduce(((t,[e,n])=>(e.match(Ye)&&(t[e.slice(Be.length)]=n),t)),{});return Object.keys(n).length>0?n:void 0}(c):void 0,d={...t,...u,metadata:{...t.metadata,dynamicSamplingContext:u&&!_?{}:_},trimEnd:!0},l="function"==typeof e?e(d):d,p=void 0===l?{...d,sampled:!1}:l;p.metadata=p.name!==d.name?{...p.metadata,source:"custom"}:p.metadata,this._latestRouteName=p.name,this._latestRouteSource=p.metadata&&p.metadata.source,!1===p.sampled&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log(`[Tracing] Will not send ${p.op} transaction because of beforeNavigate.`),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log(`[Tracing] Starting ${p.op} transaction on scope`);const h=this._getCurrentHub(),{location:f}=Ce,g=(0,Ne.l)(h,p,n,r,!0,{location:f},s);return g.registerBeforeFinishCallback((t=>{this._collectWebVitals(),on(t)})),g}_registerInteractionListener(){let t;const e=()=>{const{idleTimeout:e,finalTimeout:n,heartbeatInterval:r}=this.options,s="ui.action.click",o=(0,Ue.x1)();if(o&&o.op&&["navigation","pageload"].includes(o.op))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn(`[Tracing] Did not create ${s} transaction because a pageload or navigation transaction is in progress.`));if(t&&(t.setFinishReason("interactionInterrupted"),t.finish(),t=void 0),!this._getCurrentHub)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn(`[Tracing] Did not create ${s}
1 transaction because _getCurrentHub is invalid.`));if(!this._latestRouteName)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn(`[Tracing] Did not create ${s} transaction because _latestRouteName is missing.`));const a=this._getCurrentHub(),{location:c}=Ce,u={name:this._latestRouteName,op:s,trimEnd:!0,metadata:{source:this._latestRouteSource||"url"}};t=(0,Ne.l)(a,u,e,n,!0,{location:c},r)};["click"].forEach((t=>{addEventListener(t,e,{once:!1,capture:!0})}))}}function hn(t){const e=(0,dt.qT)(`meta[name=${t}]`);return e?e.getAttribute("content"):null}var fn=n(758);("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&(0,fn.r)(),function(t={}){void 0===t.defaultIntegrations&&(t.defaultIntegrations=_e),void 0===t.release&&("string"==typeof __SENTRY_RELEASE__&&(t.release=__SENTRY_RELEASE__),at.SENTRY_RELEASE&&at.SENTRY_RELEASE.id&&(t.release=at.SENTRY_RELEASE.id)),void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),void 0===t.sendClientReports&&(t.sendClientReports=!0);const e={...t,stackParser:(0,m.Sq)(t.stackParser||Zt),integrations:f(t),transport:t.transport||((0,y.Ak)()?ae:ue)};!function(t,e){!0===e.debug&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?i.kg.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));const n=(0,l.Gd)();n.getScope().update(e.initialScope);const r=new t(e);n.bindClient(r)}(bt,e),t.autoSessionTracking&&function(){if(void 0===at.document)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn("Session tracking in non-browser environment with @sentry/browser is not supported."));const t=(0,l.Gd)();if(!t.captureSession)return;de(t),(0,E.o)("history",(({from:t,to:e})=>{void 0!==t&&t!==e&&de((0,l.Gd)())}))}()}({dsn:"https://b3e63d274a5440358efa41732eb1a97e@o4505048747147264.ingest.sentry.io/4505048755929088",integrations:[new pn],tracesSampleRate:.7,debug:!1,environment:"production",release:"1"})},9662:()=>{},4155:t=>{var e,n,i=t.exports={};function r(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function o(t){if(e===setTimeout)return setTimeout(t,0);if((e===r||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(n){try{return e.call(null,t,0)}catch(n){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:r}catch(t){e=r}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(t){n=s}}();var a,c=[],u=!1,_=-1;function d(){u&&a&&(u=!1,a.length?c=a.concat(c):_=-1,c.length&&l())}function l(){if(!u){var t=o(d);u=!0;for(var e=c.length;e;){for(a=c,c=[];++_<e;)a&&a[_].run();_=-1,e=c.length}a=null,u=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===s||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{return n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function h(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new p(t,e)),1!==c.length||u||o(l)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=h,i.addListener=h,i.once=h,i.off=h,i.removeListener=h,i.removeAllListeners=h,i.emit=h,i.prependListener=h,i.prependOnceListener=h,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}}},n={};function i(t){var r=n[t];if(void 0!==r)return r.exports;var s=n[t]={id:t,loaded:!1,exports:{}};return e[t](s,s.exports,i),s.loaded=!0,s.exports}i.m=e,t=[],i.O=(e,n,r,s)=>{if(!n){var o=1/0;for(_=0;_<t.length;_++){for(var[n,r,s]=t[_],a=!0,c=0;c<n.length;c++)(!1&s||o>=s)&&Object.keys(i.O).every((t=>i.O[t](n[c])))?n.splice(c--,1):(a=!1,s<o&&(o=s));if(a){t.splice(_--,1);var u=r();void 0!==u&&(e=u)}}return e}s=s||0;for(var _=t.length;_>0&&t[_-1][2]>s;_--)t[_]=t[_-1];t[_]=[n,r,s]},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}
1}(),i.hmd=t=>((t=Object.create(t)).children||(t.children=[]),Object.defineProperty(t,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+t.id)}}),t),i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t={547:0,170:0};i.O.j=e=>0===t[e];var e=(e,n)=>{var r,s,[o,a,c]=n,u=0;if(o.some((e=>0!==t[e]))){for(r in a)i.o(a,r)&&(i.m[r]=a[r]);if(c)var _=c(i)}for(e&&e(n);u<o.length;u++)s=o[u],i.o(t,s)&&t[s]&&t[s][0](),t[s]=0;return i.O(_)},n=self.webpackChunk=self.webpackChunk||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))})(),i.O(void 0,[170],(()=>i(7011)));var r=i.O(void 0,[170],(()=>i(9662)));r=i.O(r)})();

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.