{"version":3,"names":[],"mappings":"","sources":["first.js"],"sourcesContent":["/*! For license information please see first.js.LICENSE.txt */\n(()=>{\"use strict\";var t={645:(t,e,n)=>{n.d(e,{Xb:()=>l,Gd:()=>m,cu:()=>h});var r=n(514),i=n(982),o=n(492),s=n(903),a=n(715),c=n(820),u=n(14),p=n(834),d=n(163),f=function(){function t(t){this.errors=0,this.sid=(0,i.DM)(),this.duration=0,this.status=\"ok\",this.init=!0,this.ignoreDuration=!1;var e=(0,o.ph)();this.timestamp=e,this.started=e,t&&this.update(t)}return t.prototype.update=function(t){if(void 0===t&&(t={}),t.user&&(!this.ipAddress&&t.user.ip_address&&(this.ipAddress=t.user.ip_address),this.did||t.did||(this.did=t.user.id||t.user.email||t.user.username)),this.timestamp=t.timestamp||(0,o.ph)(),t.ignoreDuration&&(this.ignoreDuration=t.ignoreDuration),t.sid&&(this.sid=32===t.sid.length?t.sid:(0,i.DM)()),void 0!==t.init&&(this.init=t.init),!this.did&&t.did&&(this.did=\"\"+t.did),\"number\"==typeof t.started&&(this.started=t.started),this.ignoreDuration)this.duration=void 0;else if(\"number\"==typeof t.duration)this.duration=t.duration;else{var e=this.timestamp-this.started;this.duration=e>=0?e:0}t.release&&(this.release=t.release),t.environment&&(this.environment=t.environment),!this.ipAddress&&t.ipAddress&&(this.ipAddress=t.ipAddress),!this.userAgent&&t.userAgent&&(this.userAgent=t.userAgent),\"number\"==typeof t.errors&&(this.errors=t.errors),t.status&&(this.status=t.status)},t.prototype.close=function(t){t?this.update({status:t}):\"ok\"===this.status?this.update({status:\"exited\"}):this.update()},t.prototype.toJSON=function(){return(0,d.Jr)({sid:\"\"+this.sid,init:this.init,started:new Date(1e3*this.started).toISOString(),timestamp:new Date(1e3*this.timestamp).toISOString(),status:this.status,errors:this.errors,did:\"number\"==typeof this.did||\"string\"==typeof this.did?\"\"+this.did:void 0,duration:this.duration,attrs:{release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent}})},t}(),l=function(){function t(t,e,n){void 0===e&&(e=new p.s),void 0===n&&(n=4),this._version=n,this._stack=[{}],this.getStackTop().scope=e,t&&this.bindClient(t)}return t.prototype.isOlderThan=function(t){return this._version{n.d(e,{c:()=>p,s:()=>c});var r=n(514),i=n(1),o=n(492),s=n(239),a=n(820),c=function(){function t(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}return t.clone=function(e){var n=new t;return e&&(n._breadcrumbs=(0,r.fl)(e._breadcrumbs),n._tags=(0,r.pi)({},e._tags),n._extra=(0,r.pi)({},e._extra),n._contexts=(0,r.pi)({},e._contexts),n._user=e._user,n._level=e._level,n._span=e._span,n._session=e._session,n._transactionName=e._transactionName,n._fingerprint=e._fingerprint,n._eventProcessors=(0,r.fl)(e._eventProcessors),n._requestSession=e._requestSession),n},t.prototype.addScopeListener=function(t){this._scopeListeners.push(t)},t.prototype.addEventProcessor=function(t){return this._eventProcessors.push(t),this},t.prototype.setUser=function(t){return this._user=t||{},this._session&&this._session.update({user:t}),this._notifyScopeListeners(),this},t.prototype.getUser=function(){return this._user},t.prototype.getRequestSession=function(){return this._requestSession},t.prototype.setRequestSession=function(t){return this._requestSession=t,this},t.prototype.setTags=function(t){return this._tags=(0,r.pi)((0,r.pi)({},this._tags),t),this._notifyScopeListeners(),this},t.prototype.setTag=function(t,e){var n;return this._tags=(0,r.pi)((0,r.pi)({},this._tags),((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setExtras=function(t){return this._extra=(0,r.pi)((0,r.pi)({},this._extra),t),this._notifyScopeListeners(),this},t.prototype.setExtra=function(t,e){var n;return this._extra=(0,r.pi)((0,r.pi)({},this._extra),((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setFingerprint=function(t){return this._fingerprint=t,this._notifyScopeListeners(),this},t.prototype.setLevel=function(t){return this._level=t,this._notifyScopeListeners(),this},t.prototype.setTransactionName=function(t){return this._transactionName=t,this._notifyScopeListeners(),this},t.prototype.setTransaction=function(t){return this.setTransactionName(t)},t.prototype.setContext=function(t,e){var n;return null===e?delete this._contexts[t]:this._contexts=(0,r.pi)((0,r.pi)({},this._contexts),((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setSpan=function(t){return this._span=t,this._notifyScopeListeners(),this},t.prototype.getSpan=function(){return this._span},t.prototype.getTransaction=function(){var t=this.getSpan();return t&&t.transaction},t.prototype.setSession=function(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this},t.prototype.getSession=function(){return this._session},t.prototype.update=function(e){if(!e)return this;if(\"function\"==typeof e){var n=e(this);return n instanceof t?n:this}return e instanceof t?(this._tags=(0,r.pi)((0,r.pi)({},this._tags),e._tags),this._extra=(0,r.pi)((0,r.pi)({},this._extra),e._extra),this._contexts=(0,r.pi)((0,r.pi)({},this._contexts),e._contexts),e._user&&Object.keys(e._user).length&&(this._user=e._user),e._level&&(this._level=e._level),e._fingerprint&&(this._fingerprint=e._fingerprint),e._requestSession&&(this._requestSession=e._requestSession)):(0,i.PO)(e)&&(e=e,this._tags=(0,r.pi)((0,r.pi)({},this._tags),e.tags),this._extra=(0,r.pi)((0,r.pi)({},this._extra),e.extra),this._contexts=(0,r.pi)((0,r.pi)({},this._contexts),e.contexts),e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession)),this},t.prototype.clear=function(){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},t.prototype.addBreadcrumb=function(t,e){var n=\"number\"==typeof e?Math.min(e,100):100;if(n<=0)return this;var i=(0,r.pi)({timestamp:(0,o.yW)()},t);return this._breadcrumbs=(0,r.fl)(this._breadcrumbs,[i]).slice(-n),this._notifyScopeListeners(),this},t.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},t.prototype.applyToEvent=function(t,e){if(this._extra&&Object.keys(this._extra).length&&(t.extra=(0,r.pi)((0,r.pi)({},this._extra),t.extra)),this._tags&&Object.keys(this._tags).length&&(t.tags=(0,r.pi)((0,r.pi)({},this._tags),t.tags)),this._user&&Object.keys(this._user).length&&(t.user=(0,r.pi)((0,r.pi)({},this._user),t.user)),this._contexts&&Object.keys(this._contexts).length&&(t.contexts=(0,r.pi)((0,r.pi)({},this._contexts),t.contexts)),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts=(0,r.pi)({trace:this._span.getTraceContext()},t.contexts);var n=this._span.transaction&&this._span.transaction.name;n&&(t.tags=(0,r.pi)({transaction:n},t.tags))}return this._applyFingerprint(t),t.breadcrumbs=(0,r.fl)(t.breadcrumbs||[],this._breadcrumbs),t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata=this._sdkProcessingMetadata,this._notifyEventProcessors((0,r.fl)(u(),this._eventProcessors),t,e)},t.prototype.setSDKProcessingMetadata=function(t){return this._sdkProcessingMetadata=(0,r.pi)((0,r.pi)({},this._sdkProcessingMetadata),t),this},t.prototype._notifyEventProcessors=function(t,e,n,o){var a=this;return void 0===o&&(o=0),new s.cW((function(s,c){var u=t[o];if(null===e||\"function\"!=typeof u)s(e);else{var p=u((0,r.pi)({},e),n);(0,i.J8)(p)?p.then((function(e){return a._notifyEventProcessors(t,e,n,o+1).then(s)})).then(null,c):a._notifyEventProcessors(t,p,n,o+1).then(s).then(null,c)}}))},t.prototype._notifyScopeListeners=function(){var t=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((function(e){e(t)})),this._notifyingListeners=!1)},t.prototype._applyFingerprint=function(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint},t}();function u(){var t=(0,a.R)();return t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.globalEventProcessors=t.__SENTRY__.globalEventProcessors||[],t.__SENTRY__.globalEventProcessors}function p(t){u().push(t)}},877:(t,e,n)=>{n.d(e,{d:()=>r,x:()=>i});var r=\"finishReason\",i=[\"heartbeatFailed\",\"idleTimeout\",\"documentHidden\"]},745:(t,e,n)=>{n.d(e,{ro:()=>_,lb:()=>g});var r=n(514),i=n(645),o=n(715),s=n(903),a=n(1),c=n(14),u=n(155),p=n(541);function d(){var t=(0,p.x1)();if(t){var e=\"internal_error\";(0,o.c)()&&s.kg.log(\"[Tracing] Transaction: \"+e+\" -> Global error occured\"),t.setStatus(e)}}var f=n(702),l=n(428);function h(){var t=this.getScope();if(t){var e=t.getSpan();if(e)return{\"sentry-trace\":e.toTraceparent()}}return{}}function v(t,e,n){return(0,p.zu)(e)?void 0!==t.sampled?(t.setMetadata({transactionSampling:{method:\"explicitly_set\"}}),t):(\"function\"==typeof e.tracesSampler?(i=e.tracesSampler(n),t.setMetadata({transactionSampling:{method:\"client_sampler\",rate:Number(i)}})):void 0!==n.parentSampled?(i=n.parentSampled,t.setMetadata({transactionSampling:{method:\"inheritance\"}})):(i=e.tracesSampleRate,t.setMetadata({transactionSampling:{method:\"client_rate\",rate:Number(i)}})),r=i,((0,a.i2)(r)||\"number\"!=typeof r&&\"boolean\"!=typeof r?((0,o.c)()&&s.kg.warn(\"[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got \"+JSON.stringify(r)+\" of type \"+JSON.stringify(typeof r)+\".\"),0):!(r<0||r>1)||((0,o.c)()&&s.kg.warn(\"[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got \"+r+\".\"),0))?i?(t.sampled=Math.random()0&&(e.__SENTRY__.integrations=(0,r.fl)(e.__SENTRY__.integrations||[],o))}}(),(0,u.o)(\"error\",d),(0,u.o)(\"unhandledrejection\",d)}t=n.hmd(t)},702:(t,e,n)=>{n.d(e,{io:()=>f,nT:()=>p});var r=n(514),i=n(492),o=n(715),s=n(903),a=n(877),c=n(114),u=n(428),p=1e3,d=function(t){function e(e,n,r,i){void 0===r&&(r=\"\");var o=t.call(this,i)||this;return o._pushActivity=e,o._popActivity=n,o.transactionSpanId=r,o}return(0,r.ZT)(e,t),e.prototype.add=function(e){var n=this;e.spanId!==this.transactionSpanId&&(e.finish=function(t){e.endTimestamp=\"number\"==typeof t?t:(0,i._I)(),n._popActivity(e.spanId)},void 0===e.endTimestamp&&this._pushActivity(e.spanId)),t.prototype.add.call(this,e)},e}(c.gB),f=function(t){function e(e,n,r,i){void 0===r&&(r=p),void 0===i&&(i=!1);var a=t.call(this,e,n)||this;return a._idleHub=n,a._idleTimeout=r,a._onScope=i,a.activities={},a._heartbeatCounter=0,a._finished=!1,a._beforeFinishCallbacks=[],n&&i&&(l(n),(0,o.c)()&&s.kg.log(\"Setting idle transaction on scope. Span ID: \"+a.spanId),n.configureScope((function(t){return t.setSpan(a)}))),a._initTimeout=setTimeout((function(){a._finished||a.finish()}),a._idleTimeout),a}return(0,r.ZT)(e,t),e.prototype.finish=function(e){var n,a,c=this;if(void 0===e&&(e=(0,i._I)()),this._finished=!0,this.activities={},this.spanRecorder){(0,o.c)()&&s.kg.log(\"[Tracing] finishing IdleTransaction\",new Date(1e3*e).toISOString(),this.op);try{for(var u=(0,r.XA)(this._beforeFinishCallbacks),p=u.next();!p.done;p=u.next())(0,p.value)(this,e)}catch(t){n={error:t}}finally{try{p&&!p.done&&(a=u.return)&&a.call(u)}finally{if(n)throw n.error}}this.spanRecorder.spans=this.spanRecorder.spans.filter((function(t){if(t.spanId===c.spanId)return!0;t.endTimestamp||(t.endTimestamp=e,t.setStatus(\"cancelled\"),(0,o.c)()&&s.kg.log(\"[Tracing] cancelling span since transaction ended early\",JSON.stringify(t,void 0,2)));var n=t.startTimestamp=3?((0,o.c)()&&s.kg.log(\"[Tracing] Transaction finished because of no change for 3 heart beats\"),this.setStatus(\"deadline_exceeded\"),this.setTag(a.d,a.x[0]),this.finish()):this._pingHeartbeat()}},e.prototype._pingHeartbeat=function(){var t=this;(0,o.c)()&&s.kg.log(\"pinging Heartbeat -> current counter: \"+this._heartbeatCounter),setTimeout((function(){t._beat()}),5e3)},e}(u.Y);function l(t){if(t){var e=t.getScope();e&&e.getTransaction()&&e.setSpan(void 0)}}},114:(t,e,n)=>{n.d(e,{Dr:()=>c,gB:()=>a});var r=n(514),i=n(982),o=n(492),s=n(163),a=function(){function t(t){void 0===t&&(t=1e3),this.spans=[],this._maxlen=t}return t.prototype.add=function(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)},t}(),c=function(){function t(t){if(this.traceId=(0,i.DM)(),this.spanId=(0,i.DM)().substring(16),this.startTimestamp=(0,o._I)(),this.tags={},this.data={},!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&&(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)}return t.prototype.child=function(t){return this.startChild(t)},t.prototype.startChild=function(e){var n=new t((0,r.pi)((0,r.pi)({},e),{parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId}));return n.spanRecorder=this.spanRecorder,n.spanRecorder&&n.spanRecorder.add(n),n.transaction=this.transaction,n},t.prototype.setTag=function(t,e){var n;return this.tags=(0,r.pi)((0,r.pi)({},this.tags),((n={})[t]=e,n)),this},t.prototype.setData=function(t,e){var n;return this.data=(0,r.pi)((0,r.pi)({},this.data),((n={})[t]=e,n)),this},t.prototype.setStatus=function(t){return this.status=t,this},t.prototype.setHttpStatus=function(t){this.setTag(\"http.status_code\",String(t));var 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},t.prototype.isSuccess=function(){return\"ok\"===this.status},t.prototype.finish=function(t){this.endTimestamp=\"number\"==typeof t?t:(0,o._I)()},t.prototype.toTraceparent=function(){var t=\"\";return void 0!==this.sampled&&(t=this.sampled?\"-1\":\"-0\"),this.traceId+\"-\"+this.spanId+t},t.prototype.toContext=function(){return(0,s.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})},t.prototype.updateWithContext=function(t){var e,n,r,i,o;return this.data=null!=(e=t.data)?e:{},this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=null!=(n=t.spanId)?n:this.spanId,this.startTimestamp=null!=(r=t.startTimestamp)?r:this.startTimestamp,this.status=t.status,this.tags=null!=(i=t.tags)?i:{},this.traceId=null!=(o=t.traceId)?o:this.traceId,this},t.prototype.getTraceContext=function(){return(0,s.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})},t.prototype.toJSON=function(){return(0,s.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})},t}()},428:(t,e,n)=>{n.d(e,{Y:()=>p});var r=n(514),i=n(645),o=n(1),s=n(715),a=n(903),c=n(163),u=n(114),p=function(t){function e(e,n){var r=t.call(this,e)||this;return r._measurements={},r._hub=(0,i.Gd)(),(0,o.V9)(n,i.Xb)&&(r._hub=n),r.name=e.name||\"\",r.metadata=e.metadata||{},r._trimEnd=e.trimEnd,r.transaction=r,r}return(0,r.ZT)(e,t),e.prototype.setName=function(t){this.name=t},e.prototype.initSpanRecorder=function(t){void 0===t&&(t=1e3),this.spanRecorder||(this.spanRecorder=new u.gB(t)),this.spanRecorder.add(this)},e.prototype.setMeasurements=function(t){this._measurements=(0,r.pi)({},t)},e.prototype.setMetadata=function(t){this.metadata=(0,r.pi)((0,r.pi)({},this.metadata),t)},e.prototype.finish=function(e){var n=this;if(void 0===this.endTimestamp){if(this.name||((0,s.c)()&&a.kg.warn(\"Transaction has no name, falling back to ``.\"),this.name=\"\"),t.prototype.finish.call(this,e),!0===this.sampled){var r=this.spanRecorder?this.spanRecorder.spans.filter((function(t){return t!==n&&t.endTimestamp})):[];this._trimEnd&&r.length>0&&(this.endTimestamp=r.reduce((function(t,e){return t.endTimestamp&&e.endTimestamp?t.endTimestamp>e.endTimestamp?t:e:t})).endTimestamp);var i={contexts:{trace:this.getTraceContext()},spans:r,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:\"transaction\",sdkProcessingMetadata:this.metadata};return Object.keys(this._measurements).length>0&&((0,s.c)()&&a.kg.log(\"[Measurements] Adding measurements to transaction\",JSON.stringify(this._measurements,void 0,2)),i.measurements=this._measurements),(0,s.c)()&&a.kg.log(\"[Tracing] Finishing \"+this.op+\" transaction: \"+this.name+\".\"),this._hub.captureEvent(i)}(0,s.c)()&&a.kg.log(\"[Tracing] Discarding transaction because its trace was not chosen to be sampled.\");var o=this._hub.getClient(),c=o&&o.getTransport&&o.getTransport();c&&c.recordLostEvent&&c.recordLostEvent(\"sample_rate\",\"transaction\")}},e.prototype.toContext=function(){var e=t.prototype.toContext.call(this);return(0,c.Jr)((0,r.pi)((0,r.pi)({},e),{name:this.name,trimEnd:this._trimEnd}))},e.prototype.updateWithContext=function(e){var n;return t.prototype.updateWithContext.call(this,e),this.name=null!=(n=e.name)?n:\"\",this._trimEnd=e.trimEnd,this},e}(u.Dr)},541:(t,e,n)=>{n.d(e,{WB:()=>a,XL:()=>s,x1:()=>o,zu:()=>i});var r=n(645);function i(t){var e=(0,r.Gd)().getClient(),n=t||e&&e.getOptions();return!!n&&(\"tracesSampleRate\"in n||\"tracesSampler\"in n)}function o(t){var e=(t||(0,r.Gd)()).getScope();return e&&e.getTransaction()}function s(t){return t/1e3}function a(t){return 1e3*t}},913:(t,e,n)=>{n.d(e,{R:()=>o,l:()=>a});var r=n(820),i=n(1);function o(t,e){try{for(var n=t,r=[],i=0,o=0,a=\" > \".length,c=void 0;n&&i++<5&&!(\"html\"===(c=s(n,e))||i>1&&o+r.length*a+c.length>=80);)r.push(c),o+=c.length,n=n.parentNode;return r.reverse().join(\" > \")}catch(t){return\"\"}}function s(t,e){var n,r,o,s,a,c=t,u=[];if(!c||!c.tagName)return\"\";u.push(c.tagName.toLowerCase());var p=e&&e.length?e.filter((function(t){return c.getAttribute(t)})).map((function(t){return[t,c.getAttribute(t)]})):null;if(p&&p.length)p.forEach((function(t){u.push(\"[\"+t[0]+'=\"'+t[1]+'\"]')}));else if(c.id&&u.push(\"#\"+c.id),(n=c.className)&&(0,i.HD)(n))for(r=n.split(/\\s+/),a=0;a{function r(){return!0}function i(){return\"undefined\"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}n.d(e,{c:()=>r,n:()=>i})},820:(t,e,n)=>{n.d(e,{R:()=>o});var r=n(14),i={};function o(){return(0,r.KV)()?n.g:\"undefined\"!=typeof window?window:\"undefined\"!=typeof self?self:i}},155:(t,e,n)=>{n.d(e,{o:()=>g});var r,i,o,s=n(514),a=n(715),c=n(820),u=n(1),p=n(903),d=n(163),f=n(232),l=n(274),h=(0,c.R)(),v={},m={};function g(t,e){v[t]=v[t]||[],v[t].push(e),function(t){if(!m[t])switch(m[t]=!0,t){case\"console\":\"console\"in h&&p.RU.forEach((function(t){t in h.console&&(0,d.hl)(h.console,t,(function(e){return function(){for(var n=[],r=0;r2?e[2]:void 0;if(i){var o=r,s=String(i);r=s,_(\"history\",{from:o,to:s})}return t.apply(this,e)}}}();break;case\"error\":T=h.onerror,h.onerror=function(t,e,n,r,i){return _(\"error\",{column:r,error:i,line:n,msg:t,url:e}),!!T&&T.apply(this,arguments)};break;case\"unhandledrejection\":x=h.onunhandledrejection,h.onunhandledrejection=function(t){return _(\"unhandledrejection\",t),!x||x.apply(this,arguments)};break;default:(0,a.c)()&&p.kg.warn(\"unknown instrumentation type:\",t)}}(t)}function _(t,e){var n,r;if(t&&v[t])try{for(var i=(0,s.XA)(v[t]||[]),o=i.next();!o.done;o=i.next()){var c=o.value;try{c(e)}catch(e){(0,a.c)()&&p.kg.error(\"Error while triggering instrumentation handler.\\nType: \"+t+\"\\nName: \"+(0,f.$P)(c)+\"\\nError:\",e)}}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}function y(t){return void 0===t&&(t=[]),\"Request\"in h&&(0,u.V9)(t[0],Request)&&t[0].method?String(t[0].method).toUpperCase():t[1]&&t[1].method?String(t[1].method).toUpperCase():\"GET\"}function b(t){return void 0===t&&(t=[]),\"string\"==typeof t[0]?t[0]:\"Request\"in h&&(0,u.V9)(t[0],Request)?t[0].url:String(t[0])}function S(t,e){return void 0===e&&(e=!1),function(n){if(n&&o!==n&&!function(t){if(\"keypress\"!==t.type)return!1;try{var 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)){var r=\"keypress\"===n.type?\"input\":n.type;(void 0===i||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}(o,n))&&(t({event:n,name:r,global:e}),o=n),clearTimeout(i),i=h.setTimeout((function(){i=void 0}),1e3)}}}var T=null,x=null},1:(t,e,n)=>{n.d(e,{Cy:()=>m,HD:()=>u,J8:()=>v,Kj:()=>h,PO:()=>d,TX:()=>a,V9:()=>_,VW:()=>s,VZ:()=>i,cO:()=>f,fm:()=>c,i2:()=>g,kK:()=>l,pt:()=>p});var r=Object.prototype.toString;function i(t){switch(r.call(t)){case\"[object Error]\":case\"[object Exception]\":case\"[object DOMException]\":return!0;default:return _(t,Error)}}function o(t,e){return r.call(t)===\"[object \"+e+\"]\"}function s(t){return o(t,\"ErrorEvent\")}function a(t){return o(t,\"DOMError\")}function c(t){return o(t,\"DOMException\")}function u(t){return o(t,\"String\")}function p(t){return null===t||\"object\"!=typeof t&&\"function\"!=typeof t}function d(t){return o(t,\"Object\")}function f(t){return\"undefined\"!=typeof Event&&_(t,Event)}function l(t){return\"undefined\"!=typeof Element&&_(t,Element)}function h(t){return o(t,\"RegExp\")}function v(t){return Boolean(t&&t.then&&\"function\"==typeof t.then)}function m(t){return d(t)&&\"nativeEvent\"in t&&\"preventDefault\"in t&&\"stopPropagation\"in t}function g(t){return\"number\"==typeof t&&t!=t}function _(t,e){try{return t instanceof e}catch(t){return!1}}},903:(t,e,n)=>{n.d(e,{Cf:()=>u,RU:()=>c,kg:()=>f});var r=n(514),i=n(715),o=n(820),s=(0,o.R)(),a=\"Sentry Logger \",c=[\"debug\",\"info\",\"warn\",\"error\",\"log\",\"assert\"];function u(t){var e=(0,o.R)();if(!(\"console\"in e))return t();var n=e.console,r={};c.forEach((function(t){t in e.console&&n[t].__sentry_original__&&(r[t]=n[t],n[t]=n[t].__sentry_original__)}));var i=t();return Object.keys(r).forEach((function(t){n[t]=r[t]})),i}var p=function(){function t(){this._enabled=!1}return t.prototype.disable=function(){this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},t.prototype.log=function(){for(var t=[],e=0;e{n.d(e,{DM:()=>s,Db:()=>p,EG:()=>d,YO:()=>f,en:()=>a,jH:()=>u});var r=n(514),i=n(820),o=n(163);function s(){var t=(0,i.R)(),e=t.crypto||t.msCrypto;if(void 0!==e&&e.getRandomValues){var n=new Uint16Array(8);e.getRandomValues(n),n[3]=4095&n[3]|16384,n[4]=16383&n[4]|32768;var r=function(t){for(var e=t.toString(16);e.length<4;)e=\"0\"+e;return e};return r(n[0])+r(n[1])+r(n[2])+r(n[3])+r(n[4])+r(n[5])+r(n[6])+r(n[7])}return\"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx\".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return(\"x\"===t?e:3&e|8).toString(16)}))}function a(t){if(!t)return{};var e=t.match(/^(([^:/?#]+):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/);if(!e)return{};var n=e[6]||\"\",r=e[8]||\"\";return{host:e[4],path:e[5],protocol:e[2],relative:e[5]+n+r}}function c(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function u(t){var e=t.message,n=t.event_id;if(e)return e;var r=c(t);return r?r.type&&r.value?r.type+\": \"+r.value:r.type||r.value||n||\"\":n||\"\"}function p(t,e,n){var r=t.exception=t.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=e||\"\"),o.type||(o.type=n||\"Error\")}function d(t,e){var n=c(t);if(n){var i=n.mechanism;if(n.mechanism=(0,r.pi)((0,r.pi)((0,r.pi)({},{type:\"generic\",handled:!0}),i),e),e&&\"data\"in e){var o=(0,r.pi)((0,r.pi)({},i&&i.data),e.data);n.mechanism.data=o}}}function f(t){if(t&&t.__sentry_captured__)return!0;try{(0,o.xp)(t,\"__sentry_captured__\",!0)}catch(t){}return!1}},14:(t,e,n)=>{n.d(e,{$y:()=>s,KV:()=>i,l$:()=>o});var r=n(715);function i(){return!(0,r.n)()&&\"[object process]\"===Object.prototype.toString.call(\"undefined\"!=typeof process?process:0)}function o(t,e){return t.require(e)}function s(e){var n;try{n=o(t,e)}catch(t){}try{var r=o(t,\"process\").cwd;n=o(t,r()+\"/node_modules/\"+e)}catch(t){}return n}t=n.hmd(t)},163:(t,e,n)=>{n.d(e,{$Q:()=>u,HK:()=>p,Jr:()=>m,Sh:()=>f,_j:()=>d,hl:()=>a,xp:()=>c,zf:()=>v});var r=n(514),i=n(913),o=n(1),s=n(149);function a(t,e,n){if(e in t){var r=t[e],i=n(r);if(\"function\"==typeof i)try{u(i,r)}catch(t){}t[e]=i}}function c(t,e,n){Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}function u(t,e){var n=e.prototype||{};t.prototype=e.prototype=n,c(t,\"__sentry_original__\",e)}function p(t){return t.__sentry_original__}function d(t){return Object.keys(t).map((function(e){return encodeURIComponent(e)+\"=\"+encodeURIComponent(t[e])})).join(\"&\")}function f(t){var e=t;if((0,o.VZ)(t))e=(0,r.pi)({message:t.message,name:t.name,stack:t.stack},h(t));else if((0,o.cO)(t)){var n=t;e=(0,r.pi)({type:n.type,target:l(n.target),currentTarget:l(n.currentTarget)},h(n)),\"undefined\"!=typeof CustomEvent&&(0,o.V9)(t,CustomEvent)&&(e.detail=n.detail)}return e}function l(t){try{return(0,o.kK)(t)?(0,i.R)(t):Object.prototype.toString.call(t)}catch(t){return\"\"}}function h(t){var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function v(t,e){void 0===e&&(e=40);var n=Object.keys(f(t));if(n.sort(),!n.length)return\"[object has no keys]\";if(n[0].length>=e)return(0,s.$G)(n[0],e);for(var r=n.length;r>0;r--){var i=n.slice(0,r).join(\", \");if(!(i.length>e))return r===n.length?i:(0,s.$G)(i,e)}return\"\"}function m(t){var e,n;if((0,o.PO)(t)){var i={};try{for(var s=(0,r.XA)(Object.keys(t)),a=s.next();!a.done;a=s.next()){var c=a.value;void 0!==t[c]&&(i[c]=m(t[c]))}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}return i}return Array.isArray(t)?t.map(m):t}},232:(t,e,n)=>{n.d(e,{$P:()=>a,pE:()=>i});var r=n(514);function i(){for(var t=[],e=0;e\";function a(t){try{return t&&\"function\"==typeof t&&t.name||s}catch(t){return s}}},149:(t,e,n)=>{n.d(e,{$G:()=>i,nK:()=>o,zC:()=>s});var r=n(1);function i(t,e){return void 0===e&&(e=0),\"string\"!=typeof t||0===e||t.length<=e?t:t.substr(0,e)+\"...\"}function o(t,e){if(!Array.isArray(t))return\"\";for(var n=[],r=0;r{n.d(e,{Ak:()=>s,Bf:()=>p,Du:()=>a,hv:()=>u,t$:()=>c});var r=n(715),i=n(820),o=n(903);function s(){if(!(\"fetch\"in(0,i.R)()))return!1;try{return new Headers,new Request(\"\"),new Response,!0}catch(t){return!1}}function a(t){return t&&/^function fetch\\(\\)\\s+\\{\\s+\\[native code\\]\\s+\\}$/.test(t.toString())}function c(){if(!s())return!1;var t=(0,i.R)();if(a(t.fetch))return!0;var e=!1,n=t.document;if(n&&\"function\"==typeof n.createElement)try{var c=n.createElement(\"iframe\");c.hidden=!0,n.head.appendChild(c),c.contentWindow&&c.contentWindow.fetch&&(e=a(c.contentWindow.fetch)),n.head.removeChild(c)}catch(t){(0,r.c)()&&o.kg.warn(\"Could not create sandbox iframe for pure fetch check, bailing to window.fetch: \",t)}return e}function u(){if(!s())return!1;try{return new Request(\"_\",{referrerPolicy:\"origin\"}),!0}catch(t){return!1}}function p(){var t=(0,i.R)(),e=t.chrome,n=e&&e.app&&e.app.runtime,r=\"history\"in t&&!!t.history.pushState&&!!t.history.replaceState;return!n&&r}},239:(t,e,n)=>{n.d(e,{$2:()=>o,WD:()=>i,cW:()=>s});var r=n(1);function i(t){return new s((function(e){e(t)}))}function o(t){return new s((function(e,n){n(t)}))}var s=function(){function t(t){var e=this;this._state=0,this._handlers=[],this._resolve=function(t){e._setResult(1,t)},this._reject=function(t){e._setResult(2,t)},this._setResult=function(t,n){0===e._state&&((0,r.J8)(n)?n.then(e._resolve,e._reject):(e._state=t,e._value=n,e._executeHandlers()))},this._executeHandlers=function(){if(0!==e._state){var t=e._handlers.slice();e._handlers=[],t.forEach((function(t){t[0]||(1===e._state&&t[1](e._value),2===e._state&&t[2](e._value),t[0]=!0)}))}};try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}return t.prototype.then=function(e,n){var r=this;return new t((function(t,i){r._handlers.push([!1,function(n){if(e)try{t(e(n))}catch(t){i(t)}else t(n)},function(e){if(n)try{t(n(e))}catch(t){i(t)}else i(e)}]),r._executeHandlers()}))},t.prototype.catch=function(t){return this.then((function(t){return t}),t)},t.prototype.finally=function(e){var n=this;return new t((function(t,r){var i,o;return n.then((function(t){o=!1,i=t,e&&e()}),(function(t){o=!0,i=t,e&&e()})).then((function(){o?r(i):t(i)}))}))},t}()},492:(t,e,n)=>{n.d(e,{Z1:()=>d,_I:()=>p,ph:()=>u,yW:()=>c});var r=n(820),i=n(14);t=n.hmd(t);var o={nowSeconds:function(){return Date.now()/1e3}},s=(0,i.KV)()?function(){try{return(0,i.l$)(t,\"perf_hooks\").performance}catch(t){return}}():function(){var t=(0,r.R)().performance;if(t&&t.now)return{now:function(){return t.now()},timeOrigin:Date.now()-t.now()}}(),a=void 0===s?o:{nowSeconds:function(){return(s.timeOrigin+s.now())/1e3}},c=o.nowSeconds.bind(o),u=a.nowSeconds.bind(a),p=u,d=function(){var t=(0,r.R)().performance;if(t&&t.now){var e=36e5,n=t.now(),i=Date.now(),o=t.timeOrigin?Math.abs(t.timeOrigin+n-i):e,s=o{n.d(e,{CR:()=>c,XA:()=>a,ZT:()=>i,_T:()=>s,fl:()=>u,pi:()=>o});var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},r(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?\"Object is not iterable.\":\"Symbol.iterator is not defined.\")}function c(t,e){var n=\"function\"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function u(){for(var t=[],e=0;e{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if(\"object\"==typeof globalThis)return globalThis;try{return this||new Function(\"return this\")()}catch(t){if(\"object\"==typeof window)return window}}(),n.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),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t=n(645),e=n(715),r=n(903),i=n(514),o=n(982),s=n(149),a=[/^Script error\\.?$/,/^Javascript error: Script error\\.? on line 0$/],c=function(){function t(e){void 0===e&&(e={}),this._options=e,this.name=t.id}return t.prototype.setupOnce=function(n,c){n((function(n){var u=c();if(u){var d=u.getIntegration(t);if(d){var f=u.getClient(),l=f?f.getOptions():{},h=function(t,e){return void 0===t&&(t={}),void 0===e&&(e={}),{allowUrls:(0,i.fl)(t.whitelistUrls||[],t.allowUrls||[],e.whitelistUrls||[],e.allowUrls||[]),denyUrls:(0,i.fl)(t.blacklistUrls||[],t.denyUrls||[],e.blacklistUrls||[],e.denyUrls||[]),ignoreErrors:(0,i.fl)(t.ignoreErrors||[],e.ignoreErrors||[],a),ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(d._options,l);return function(t,n){return n.ignoreInternal&&function(t){try{return\"SentryError\"===t.exception.values[0].type}catch(t){}return!1}(t)?((0,e.c)()&&r.kg.warn(\"Event dropped due to being internal Sentry Error.\\nEvent: \"+(0,o.jH)(t)),!0):function(t,n){return!(!n||!n.length)&&function(t){if(t.message)return[t.message];if(t.exception)try{var n=t.exception.values&&t.exception.values[0]||{},i=n.type,s=void 0===i?\"\":i,a=n.value,c=void 0===a?\"\":a;return[\"\"+c,s+\": \"+c]}catch(n){return(0,e.c)()&&r.kg.error(\"Cannot extract message for event \"+(0,o.jH)(t)),[]}return[]}(t).some((function(t){return n.some((function(e){return(0,s.zC)(t,e)}))}))}(t,n.ignoreErrors)?((0,e.c)()&&r.kg.warn(\"Event dropped due to being matched by `ignoreErrors` option.\\nEvent: \"+(0,o.jH)(t)),!0):function(t,e){if(!e||!e.length)return!1;var n=p(t);return!!n&&e.some((function(t){return(0,s.zC)(n,t)}))}(t,n.denyUrls)?((0,e.c)()&&r.kg.warn(\"Event dropped due to being matched by `denyUrls` option.\\nEvent: \"+(0,o.jH)(t)+\".\\nUrl: \"+p(t)),!0):!function(t,e){if(!e||!e.length)return!0;var n=p(t);return!n||e.some((function(t){return(0,s.zC)(n,t)}))}(t,n.allowUrls)&&((0,e.c)()&&r.kg.warn(\"Event dropped due to not being matched by `allowUrls` option.\\nEvent: \"+(0,o.jH)(t)+\".\\nUrl: \"+p(t)),!0)}(n,h)?null:n}}return n}))},t.id=\"InboundFilters\",t}();function u(t){void 0===t&&(t=[]);for(var e=t.length-1;e>=0;e--){var n=t[e];if(n&&\"\"!==n.filename&&\"[native code]\"!==n.filename)return n.filename||null}return null}function p(t){try{if(t.stacktrace)return u(t.stacktrace.frames);var n;try{n=t.exception.values[0].stacktrace.frames}catch(t){}return n?u(n):null}catch(n){return(0,e.c)()&&r.kg.error(\"Cannot extract url for event \"+(0,o.jH)(t)),null}}var d,f=n(163),l=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){d=Function.prototype.toString,Function.prototype.toString=function(){for(var t=[],e=0;e1&&(d=l.slice(0,-1).join(\"/\"),f=l.pop()),f){var h=f.match(/^\\d+/);h&&(f=h[0])}return T({host:c,pass:a,path:d,projectId:f,port:p,protocol:r,publicKey:o})}(t):T(t);return function(t){if((0,e.c)()){var n=t.port,r=t.projectId,i=t.protocol;if([\"protocol\",\"publicKey\",\"host\",\"projectId\"].forEach((function(e){if(!t[e])throw new y(\"Invalid Sentry Dsn: \"+e+\" missing\")})),!r.match(/^\\d+$/))throw new y(\"Invalid Sentry Dsn: Invalid projectId \"+r);if(!function(t){return\"http\"===t||\"https\"===t}(i))throw new y(\"Invalid Sentry Dsn: Invalid protocol \"+i);if(n&&isNaN(parseInt(n,10)))throw new y(\"Invalid Sentry Dsn: Invalid port \"+n)}}(n),n}var k=n(1),E=n(239),w=n(492),R=n(232);function O(t,e,n){void 0===e&&(e=1/0),void 0===n&&(n=1/0);try{return I(\"\",t,e,n)}catch(t){return{ERROR:\"**non-serializable** (\"+t+\")\"}}}function C(t,e,n){void 0===e&&(e=3),void 0===n&&(n=102400);var r,i=O(t,e);return r=i,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(r))>n?C(t,e-1,n):i}function I(t,e,r,o,s){var a,c;void 0===r&&(r=1/0),void 0===o&&(o=1/0),void 0===s&&(a=\"function\"==typeof WeakSet,c=a?new WeakSet:[],s=[function(t){if(a)return!!c.has(t)||(c.add(t),!1);for(var e=0;e=o){v[_]=\"[MaxProperties ~]\";break}var y=g[_];v[_]=I(_,y,r-1,o,s),m+=1}return d(e),v}var D=[];function L(t){return t.reduce((function(t,e){return t.every((function(t){return e.name!==t.name}))&&t.push(e),t}),[])}var j=\"Not capturing exception because it's already been captured.\",N=function(){function n(t,e){this._integrations={},this._numProcessing=0,this._backend=new t(e),this._options=e,e.dsn&&(this._dsn=x(e.dsn))}return n.prototype.captureException=function(t,n,i){var s=this;if(!(0,o.YO)(t)){var a=n&&n.event_id;return this._process(this._getBackend().eventFromException(t,n).then((function(t){return s._captureEvent(t,n,i)})).then((function(t){a=t}))),a}(0,e.c)()&&r.kg.log(j)},n.prototype.captureMessage=function(t,e,n,r){var i=this,o=n&&n.event_id,s=(0,k.pt)(t)?this._getBackend().eventFromMessage(String(t),e,n):this._getBackend().eventFromException(t,n);return this._process(s.then((function(t){return i._captureEvent(t,n,r)})).then((function(t){o=t}))),o},n.prototype.captureEvent=function(t,n,i){if(!(n&&n.originalException&&(0,o.YO)(n.originalException))){var s=n&&n.event_id;return this._process(this._captureEvent(t,n,i).then((function(t){s=t}))),s}(0,e.c)()&&r.kg.log(j)},n.prototype.captureSession=function(t){this._isEnabled()?\"string\"!=typeof t.release?(0,e.c)()&&r.kg.warn(\"Discarded session because of missing or non-string release\"):(this._sendSession(t),t.update({init:!1})):(0,e.c)()&&r.kg.warn(\"SDK not enabled, will not capture session.\")},n.prototype.getDsn=function(){return this._dsn},n.prototype.getOptions=function(){return this._options},n.prototype.getTransport=function(){return this._getBackend().getTransport()},n.prototype.flush=function(t){var e=this;return this._isClientDoneProcessing(t).then((function(n){return e.getTransport().close(t).then((function(t){return n&&t}))}))},n.prototype.close=function(t){var e=this;return this.flush(t).then((function(t){return e.getOptions().enabled=!1,t}))},n.prototype.setupIntegrations=function(){var n,o;this._isEnabled()&&!this._integrations.initialized&&(this._integrations=(n=this._options,o={},function(t){var e=t.defaultIntegrations&&(0,i.fl)(t.defaultIntegrations)||[],n=t.integrations,r=(0,i.fl)(L(e));Array.isArray(n)?r=(0,i.fl)(r.filter((function(t){return n.every((function(e){return e.name!==t.name}))})),L(n)):\"function\"==typeof n&&(r=n(r),r=Array.isArray(r)?r:[r]);var o=r.map((function(t){return t.name})),s=\"Debug\";return-1!==o.indexOf(s)&&r.push.apply(r,(0,i.fl)(r.splice(o.indexOf(s),1))),r}(n).forEach((function(n){o[n.name]=n,function(n){-1===D.indexOf(n.name)&&(n.setupOnce(g.c,t.Gd),D.push(n.name),(0,e.c)()&&r.kg.log(\"Integration installed: \"+n.name))}(n)})),(0,f.xp)(o,\"initialized\",!0),o))},n.prototype.getIntegration=function(t){try{return this._integrations[t.id]||null}catch(n){return(0,e.c)()&&r.kg.warn(\"Cannot retrieve integration \"+t.id+\" from the current Client\"),null}},n.prototype._updateSessionFromEvent=function(t,e){var n,r,o=!1,s=!1,a=e.exception&&e.exception.values;if(a){s=!0;try{for(var c=(0,i.XA)(a),u=c.next();!u.done;u=c.next()){var p=u.value.mechanism;if(p&&!1===p.handled){o=!0;break}}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}}var d=\"ok\"===t.status;(d&&0===t.errors||d&&o)&&(t.update((0,i.pi)((0,i.pi)({},o&&{status:\"crashed\"}),{errors:t.errors||Number(s||o)})),this.captureSession(t))},n.prototype._sendSession=function(t){this._getBackend().sendSession(t)},n.prototype._isClientDoneProcessing=function(t){var e=this;return new E.cW((function(n){var r=0,i=setInterval((function(){0==e._numProcessing?(clearInterval(i),n(!0)):(r+=1,t&&r>=t&&(clearInterval(i),n(!1)))}),1)}))},n.prototype._getBackend=function(){return this._backend},n.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},n.prototype._prepareEvent=function(t,e,n){var r=this,s=this.getOptions(),a=s.normalizeDepth,c=void 0===a?3:a,u=s.normalizeMaxBreadth,p=void 0===u?1e3:u,d=(0,i.pi)((0,i.pi)({},t),{event_id:t.event_id||(n&&n.event_id?n.event_id:(0,o.DM)()),timestamp:t.timestamp||(0,w.yW)()});this._applyClientOptions(d),this._applyIntegrationsMetadata(d);var f=e;n&&n.captureContext&&(f=g.s.clone(f).update(n.captureContext));var l=(0,E.WD)(d);return f&&(l=f.applyToEvent(d,n)),l.then((function(t){return t&&(t.sdkProcessingMetadata=(0,i.pi)((0,i.pi)({},t.sdkProcessingMetadata),{normalizeDepth:O(c)})),\"number\"==typeof c&&c>0?r._normalizeEvent(t,c,p):t}))},n.prototype._normalizeEvent=function(t,e,n){if(!t)return null;var r=(0,i.pi)((0,i.pi)((0,i.pi)((0,i.pi)((0,i.pi)({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((function(t){return(0,i.pi)((0,i.pi)({},t),t.data&&{data:O(t.data,e,n)})}))}),t.user&&{user:O(t.user,e,n)}),t.contexts&&{contexts:O(t.contexts,e,n)}),t.extra&&{extra:O(t.extra,e,n)});return t.contexts&&t.contexts.trace&&(r.contexts.trace=t.contexts.trace),r.sdkProcessingMetadata=(0,i.pi)((0,i.pi)({},r.sdkProcessingMetadata),{baseClientNormalized:!0}),r},n.prototype._applyClientOptions=function(t){var e=this.getOptions(),n=e.environment,r=e.release,i=e.dist,o=e.maxValueLength,a=void 0===o?250:o;\"environment\"in t||(t.environment=\"environment\"in e?n:\"production\"),void 0===t.release&&void 0!==r&&(t.release=r),void 0===t.dist&&void 0!==i&&(t.dist=i),t.message&&(t.message=(0,s.$G)(t.message,a));var c=t.exception&&t.exception.values&&t.exception.values[0];c&&c.value&&(c.value=(0,s.$G)(c.value,a));var u=t.request;u&&u.url&&(u.url=(0,s.$G)(u.url,a))},n.prototype._applyIntegrationsMetadata=function(t){var e=Object.keys(this._integrations);e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=(0,i.fl)(t.sdk.integrations||[],e))},n.prototype._sendEvent=function(t){this._getBackend().sendEvent(t)},n.prototype._captureEvent=function(t,n,i){return this._processEvent(t,n,i).then((function(t){return t.event_id}),(function(t){(0,e.c)()&&r.kg.error(t)}))},n.prototype._processEvent=function(t,e,n){var r=this,i=this.getOptions(),o=i.beforeSend,s=i.sampleRate,a=this.getTransport();function c(t,e){a.recordLostEvent&&a.recordLostEvent(t,e)}if(!this._isEnabled())return(0,E.$2)(new y(\"SDK not enabled, will not capture event.\"));var u=\"transaction\"===t.type;return!u&&\"number\"==typeof s&&Math.random()>s?(c(\"sample_rate\",\"event\"),(0,E.$2)(new y(\"Discarding event because it's not included in the random sample (sampling rate = \"+s+\")\"))):this._prepareEvent(t,n,e).then((function(n){if(null===n)throw c(\"event_processor\",t.type||\"event\"),new y(\"An event processor returned null, will not send event.\");return e&&e.data&&!0===e.data.__sentry__||u||!o?n:function(t){var e=\"`beforeSend` method has to return `null` or a valid event.\";if((0,k.J8)(t))return t.then((function(t){if(!(0,k.PO)(t)&&null!==t)throw new y(e);return t}),(function(t){throw new y(\"beforeSend rejected with \"+t)}));if(!(0,k.PO)(t)&&null!==t)throw new y(e);return t}(o(n,e))})).then((function(e){if(null===e)throw c(\"before_send\",t.type||\"event\"),new y(\"`beforeSend` returned `null`, will not send event.\");var i=n&&n.getSession&&n.getSession();return!u&&i&&r._updateSessionFromEvent(i,e),r._sendEvent(e),e})).then(null,(function(t){if(t instanceof y)throw t;throw r.captureException(t,{data:{__sentry__:!0},originalException:t}),new y(\"Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\\nReason: \"+t)}))},n.prototype._process=function(t){var e=this;this._numProcessing+=1,t.then((function(t){return e._numProcessing-=1,t}),(function(t){return e._numProcessing-=1,t}))},n}();function P(t,e,n){return{initDsn:t,metadata:e||{},dsn:x(t),tunnel:n}}function M(t){var e=t.protocol?t.protocol+\":\":\"\",n=t.port?\":\"+t.port:\"\";return e+\"//\"+t.host+n+(t.path?\"/\"+t.path:\"\")+\"/api/\"}function A(t,e){return\"\"+M(t)+t.projectId+\"/\"+e+\"/\"}function q(t){return(0,f._j)({sentry_key:t.publicKey,sentry_version:\"7\"})}function H(t){return A(t,\"store\")}function B(t){return H(t)+\"?\"+q(t)}function U(t,e){return e||function(t){return A(t,\"envelope\")}(t)+\"?\"+q(t)}function z(t,e){return void 0===e&&(e=[]),[t,e]}function W(t){var e=(0,i.CR)(t,2),n=e[0],r=e[1],o=JSON.stringify(n);return r.reduce((function(t,e){var n=(0,i.CR)(e,2),r=n[0],o=n[1],s=(0,k.pt)(o)?String(o):JSON.stringify(o);return t+\"\\n\"+JSON.stringify(r)+\"\\n\"+s}),o)}function X(t){if(t.metadata&&t.metadata.sdk){var e=t.metadata.sdk;return{name:e.name,version:e.version}}}function F(t,e){return e?(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=(0,i.fl)(t.sdk.integrations||[],e.integrations||[]),t.sdk.packages=(0,i.fl)(t.sdk.packages||[],e.packages||[]),t):t}function $(t,e){var n=X(e),r=\"aggregates\"in t?\"sessions\":\"session\";return[z((0,i.pi)((0,i.pi)({sent_at:(new Date).toISOString()},n&&{sdk:n}),!!e.tunnel&&{dsn:S(e.dsn)}),[[{type:r},t]]),r]}!function(){function t(t,e,n){void 0===e&&(e={}),this.dsn=t,this._dsnObject=x(t),this.metadata=e,this._tunnel=n}t.prototype.getDsn=function(){return this._dsnObject},t.prototype.forceEnvelope=function(){return!!this._tunnel},t.prototype.getBaseApiEndpoint=function(){return M(this._dsnObject)},t.prototype.getStoreEndpoint=function(){return H(this._dsnObject)},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return B(this._dsnObject)},t.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return U(this._dsnObject,this._tunnel)}}();var Y,G=function(){function t(){}return t.prototype.sendEvent=function(t){return(0,E.WD)({reason:\"NoopTransport: Event has been skipped because no Dsn is configured.\",status:\"skipped\"})},t.prototype.close=function(t){return(0,E.WD)(!0)},t}(),J=function(){function t(t){this._options=t,this._options.dsn||(0,e.c)()&&r.kg.warn(\"No DSN provided, backend will not do anything.\"),this._transport=this._setupTransport()}return t.prototype.eventFromException=function(t,e){throw new y(\"Backend has to implement `eventFromException` method\")},t.prototype.eventFromMessage=function(t,e,n){throw new y(\"Backend has to implement `eventFromMessage` method\")},t.prototype.sendEvent=function(t){if(this._newTransport&&this._options.dsn&&this._options._experiments&&this._options._experiments.newTransport){var n=function(t,e){var n=X(e),r=t.type||\"event\",o=(t.sdkProcessingMetadata||{}).transactionSampling||{},s=o.method,a=o.rate;return F(t,e.metadata.sdk),t.tags=t.tags||{},t.extra=t.extra||{},t.sdkProcessingMetadata&&t.sdkProcessingMetadata.baseClientNormalized||(t.tags.skippedNormalization=!0,t.extra.normalizeDepth=t.sdkProcessingMetadata?t.sdkProcessingMetadata.normalizeDepth:\"unset\"),delete t.sdkProcessingMetadata,z((0,i.pi)((0,i.pi)({event_id:t.event_id,sent_at:(new Date).toISOString()},n&&{sdk:n}),!!e.tunnel&&{dsn:S(e.dsn)}),[[{type:r,sample_rates:[{id:s,rate:a}]},t]])}(t,P(this._options.dsn,this._options._metadata,this._options.tunnel));this._newTransport.send(n).then(null,(function(t){(0,e.c)()&&r.kg.error(\"Error while sending event:\",t)}))}else this._transport.sendEvent(t).then(null,(function(t){(0,e.c)()&&r.kg.error(\"Error while sending event:\",t)}))},t.prototype.sendSession=function(t){if(this._transport.sendSession)if(this._newTransport&&this._options.dsn&&this._options._experiments&&this._options._experiments.newTransport){var n=P(this._options.dsn,this._options._metadata,this._options.tunnel),o=(0,i.CR)($(t,n),1)[0];this._newTransport.send(o).then(null,(function(t){(0,e.c)()&&r.kg.error(\"Error while sending session:\",t)}))}else this._transport.sendSession(t).then(null,(function(t){(0,e.c)()&&r.kg.error(\"Error while sending session:\",t)}));else(0,e.c)()&&r.kg.warn(\"Dropping session because custom transport doesn't implement sendSession\")},t.prototype.getTransport=function(){return this._transport},t.prototype._setupTransport=function(){return new G},t}();!function(t){t.Fatal=\"fatal\",t.Error=\"error\",t.Warning=\"warning\",t.Log=\"log\",t.Info=\"info\",t.Debug=\"debug\",t.Critical=\"critical\"}(Y||(Y={}));var K=n(274),V=\"?\";function Z(t,e,n,r){var i={filename:t,function:e,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}var Q=/^\\s*at (?:(.*?) ?\\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack||[-a-z]+:|.*bundle|\\/).*?)(?::(\\d+))?(?::(\\d+))?\\)?\\s*$/i,tt=/\\((\\S*)(?::(\\d+))(?::(\\d+))\\)/,et=[30,function(t){var e=Q.exec(t);if(e){if(e[2]&&0===e[2].indexOf(\"eval\")){var n=tt.exec(e[2]);n&&(e[2]=n[1],e[3]=n[2],e[4]=n[3])}var r=(0,i.CR)(dt(e[1]||V,e[2]),2),o=r[0];return Z(r[1],o,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}}],nt=/^\\s*(.*?)(?:\\((.*?)\\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\\/.*?|\\[native code\\]|[^@]*(?:bundle|\\d+\\.js)|\\/[\\w\\-. /=]+)(?::(\\d+))?(?::(\\d+))?\\s*$/i,rt=/(\\S+) line (\\d+)(?: > eval line \\d+)* > eval/i,it=[50,function(t){var e,n=nt.exec(t);if(n){if(n[3]&&n[3].indexOf(\" > eval\")>-1){var r=rt.exec(n[3]);r&&(n[1]=n[1]||\"eval\",n[3]=r[1],n[4]=r[2],n[5]=\"\")}var o=n[3],s=n[1]||V;return s=(e=(0,i.CR)(dt(s,o),2))[0],Z(o=e[1],s,n[4]?+n[4]:void 0,n[5]?+n[5]:void 0)}}],ot=/^\\s*at (?:((?:\\[object object\\])?.+) )?\\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\\d+)(?::(\\d+))?\\)?\\s*$/i,st=[40,function(t){var e=ot.exec(t);return e?Z(e[2],e[1]||V,+e[3],e[4]?+e[4]:void 0):void 0}],at=/ line (\\d+).*script (?:in )?(\\S+)(?:: in function (\\S+))?$/i,ct=[10,function(t){var e=at.exec(t);return e?Z(e[2],e[3]||V,+e[1]):void 0}],ut=/ line (\\d+), column (\\d+)\\s*(?:in (?:]+)>|([^)]+))\\(.*\\))? in (.*):\\s*$/i,pt=[20,function(t){var e=ut.exec(t);return e?Z(e[5],e[3]||e[4]||V,+e[1],+e[2]):void 0}],dt=function(t,e){var n=-1!==t.indexOf(\"safari-extension\"),r=-1!==t.indexOf(\"safari-web-extension\");return n||r?[-1!==t.indexOf(\"@\")?t.split(\"@\")[0]:V,n?\"safari-extension:\"+e:\"safari-web-extension:\"+e]:[t,e]};function ft(t){var e=ht(t),n={type:t&&t.name,value:mt(t)};return e.length&&(n.stacktrace={frames:e}),void 0===n.type&&\"\"===n.value&&(n.value=\"Unrecoverable error caught\"),n}function lt(t){return{exception:{values:[ft(t)]}}}function ht(t){var e=t.stacktrace||t.stack||\"\",n=function(t){if(t){if(\"number\"==typeof t.framesToPop)return t.framesToPop;if(vt.test(t.message))return 1}return 0}(t);try{return(0,R.pE)(ct,pt,et,st,it)(e,n)}catch(t){}return[]}var vt=/Minified React error #\\d+;/i;function mt(t){var e=t&&t.message;return e?e.error&&\"string\"==typeof e.error.message?e.error.message:e:\"No error message\"}function gt(t,e,n,r){var s;if((0,k.VW)(t)&&t.error)return lt(t.error);if((0,k.TX)(t)||(0,k.fm)(t)){var a=t;if(\"stack\"in t)s=lt(t);else{var c=a.name||((0,k.TX)(a)?\"DOMError\":\"DOMException\"),u=a.message?c+\": \"+a.message:c;s=_t(u,e,n),(0,o.Db)(s,u)}return\"code\"in a&&(s.tags=(0,i.pi)((0,i.pi)({},s.tags),{\"DOMException.code\":\"\"+a.code})),s}return(0,k.VZ)(t)?lt(t):(0,k.PO)(t)||(0,k.cO)(t)?(s=function(t,e,n){var r={exception:{values:[{type:(0,k.cO)(t)?t.constructor.name:n?\"UnhandledRejection\":\"Error\",value:\"Non-Error \"+(n?\"promise rejection\":\"exception\")+\" captured with keys: \"+(0,f.zf)(t)}]},extra:{__serialized__:C(t)}};if(e){var i=ht(e);i.length&&(r.stacktrace={frames:i})}return r}(t,e,r),(0,o.EG)(s,{synthetic:!0}),s):(s=_t(t,e,n),(0,o.Db)(s,\"\"+t,void 0),(0,o.EG)(s,{synthetic:!0}),s)}function _t(t,e,n){var r={message:t};if(n&&e){var i=ht(e);i.length&&(r.stacktrace={frames:i})}return r}function yt(t){var e=[];function n(t){return e.splice(e.indexOf(t),1)[0]}return{$:e,add:function(r){if(!(void 0===t||e.length0&&n(!1)}),t);e.forEach((function(t){(0,E.WD)(t).then((function(){--i||(clearTimeout(o),n(!0))}),r)}))}))}}}function bt(t,e){return t[e]||t.all||0}function St(t,e,n){return void 0===n&&(n=Date.now()),bt(t,e)>n}function Tt(t,e,n){var r,o,s,a;void 0===n&&(n=Date.now());var c=(0,i.pi)({},t),u=e[\"x-sentry-rate-limits\"],p=e[\"retry-after\"];if(u)try{for(var d=(0,i.XA)(u.trim().split(\",\")),f=d.next();!f.done;f=d.next()){var l=f.value.split(\":\",2),h=parseInt(l[0],10),v=1e3*(isNaN(h)?60:h);if(l[1])try{for(var m=(s=void 0,(0,i.XA)(l[1].split(\";\"))),g=m.next();!g.done;g=m.next())c[g.value]=n+v}catch(t){s={error:t}}finally{try{g&&!g.done&&(a=m.return)&&a.call(m)}finally{if(s)throw s.error}}else c.all=n+v}}catch(t){r={error:t}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(r)throw r.error}}else p&&(c.all=n+function(t,e){void 0===e&&(e=Date.now());var n=parseInt(\"\"+t,10);if(!isNaN(n))return 1e3*n;var r=Date.parse(\"\"+t);return isNaN(r)?6e4:r-e}(p,n));return c}function xt(t){return t>=200&&t<300?\"success\":429===t?\"rate_limit\":t>=400&&t<500?\"invalid\":t>=500?\"failed\":\"unknown\"}function kt(t,e,n){void 0===n&&(n=yt(t.bufferSize||30));var r={};return{send:function(t){var o=function(t){var e=(0,i.CR)(t,2),n=(0,i.CR)(e[1],1);return(0,i.CR)(n[0],1)[0].type}(t),s=\"event\"===o?\"error\":o,a={category:s,body:W(t)};return St(r,s)?(0,E.$2)({status:\"rate_limit\",reason:Et(r,s)}):n.add((function(){return e(a).then((function(t){var e=t.body,n=t.headers,i=t.reason,o=xt(t.statusCode);return n&&(r=Tt(r,n)),\"success\"===o?(0,E.WD)({status:o,reason:i}):(0,E.$2)({status:o,reason:i||e||(\"rate_limit\"===o?Et(r,s):\"Unknown transport error\")})}))}))},flush:function(t){return n.drain(t)}}}function Et(t,e){return\"Too many \"+e+\" requests, backing off until: \"+new Date(bt(t,e)).toISOString()}var wt,Rt=(0,h.R)();function Ot(){if(wt)return wt;if((0,K.Du)(Rt.fetch))return wt=Rt.fetch.bind(Rt);var t=Rt.document,n=Rt.fetch;if(t&&\"function\"==typeof t.createElement)try{var i=t.createElement(\"iframe\");i.hidden=!0,t.head.appendChild(i);var o=i.contentWindow;o&&o.fetch&&(n=o.fetch),t.head.removeChild(i)}catch(t){(0,e.c)()&&r.kg.warn(\"Could not create sandbox iframe for pure fetch check, bailing to window.fetch: \",t)}return wt=n.bind(Rt)}function Ct(t){return\"event\"===t?\"error\":t}var It=(0,h.R)(),Dt=function(){function t(t){var e=this;this.options=t,this._buffer=yt(30),this._rateLimits={},this._outcomes={},this._api=P(t.dsn,t._metadata,t.tunnel),this.url=B(this._api.dsn),this.options.sendClientReports&&It.document&&It.document.addEventListener(\"visibilitychange\",(function(){\"hidden\"===It.document.visibilityState&&e._flushOutcomes()}))}return t.prototype.sendEvent=function(t){return this._sendRequest(function(t,e){var n,r=X(e),o=t.type||\"event\",s=\"transaction\"===o||!!e.tunnel,a=(t.sdkProcessingMetadata||{}).transactionSampling||{},c=a.method,u=a.rate;F(t,e.metadata.sdk),t.tags=t.tags||{},t.extra=t.extra||{},t.sdkProcessingMetadata&&t.sdkProcessingMetadata.baseClientNormalized||(t.tags.skippedNormalization=!0,t.extra.normalizeDepth=t.sdkProcessingMetadata?t.sdkProcessingMetadata.normalizeDepth:\"unset\"),delete t.sdkProcessingMetadata;try{n=JSON.stringify(t)}catch(e){t.tags.JSONStringifyError=!0,t.extra.JSONStringifyError=e;try{n=JSON.stringify(O(t))}catch(t){var p=t;n=JSON.stringify({message:\"JSON.stringify error after renormalization\",extra:{message:p.message,stack:p.stack}})}}var d={body:n,type:o,url:s?U(e.dsn,e.tunnel):B(e.dsn)};if(s){var f=z((0,i.pi)((0,i.pi)({event_id:t.event_id,sent_at:(new Date).toISOString()},r&&{sdk:r}),!!e.tunnel&&{dsn:S(e.dsn)}),[[{type:o,sample_rates:[{id:c,rate:u}]},d.body]]);d.body=W(f)}return d}(t,this._api),t)},t.prototype.sendSession=function(t){return this._sendRequest(function(t,e){var n=(0,i.CR)($(t,e),2),r=n[0],o=n[1];return{body:W(r),type:o,url:U(e.dsn,e.tunnel)}}(t,this._api),t)},t.prototype.close=function(t){return this._buffer.drain(t)},t.prototype.recordLostEvent=function(t,n){var i;if(this.options.sendClientReports){var o=Ct(n)+\":\"+t;(0,e.c)()&&r.kg.log(\"Adding outcome: \"+o),this._outcomes[o]=(null!=(i=this._outcomes[o])?i:0)+1}},t.prototype._flushOutcomes=function(){if(this.options.sendClientReports){var t=this._outcomes;if(this._outcomes={},Object.keys(t).length){(0,e.c)()&&r.kg.log(\"Flushing outcomes:\\n\"+JSON.stringify(t,null,2));var n,o,s=U(this._api.dsn,this._api.tunnel),a=(n=Object.keys(t).map((function(e){var n=(0,i.CR)(e.split(\":\"),2),r=n[0];return{reason:n[1],category:r,quantity:t[e]}})),z((o=this._api.tunnel&&S(this._api.dsn))?{dsn:o}:{},[[{type:\"client_report\"},{timestamp:(0,w.yW)(),discarded_events:n}]]));try{!function(t,e){if(\"[object Navigator]\"===Object.prototype.toString.call(Rt&&Rt.navigator)&&\"function\"==typeof Rt.navigator.sendBeacon)return Rt.navigator.sendBeacon.bind(Rt.navigator)(t,e);(0,K.Ak)()&&Ot()(t,{body:e,method:\"POST\",credentials:\"omit\",keepalive:!0}).then(null,(function(t){console.error(t)}))}(s,W(a))}catch(t){(0,e.c)()&&r.kg.error(t)}}else(0,e.c)()&&r.kg.log(\"No outcomes to flush\")}},t.prototype._handleResponse=function(t){var n=t.requestType,i=t.response,o=t.headers,s=t.resolve,a=t.reject,c=xt(i.status);this._rateLimits=Tt(this._rateLimits,o),this._isRateLimited(n)&&(0,e.c)()&&r.kg.warn(\"Too many \"+n+\" requests, backing off until: \"+this._disabledUntil(n)),\"success\"!==c?a(i):s({status:c})},t.prototype._disabledUntil=function(t){var e=Ct(t);return new Date(bt(this._rateLimits,e))},t.prototype._isRateLimited=function(t){var e=Ct(t);return St(this._rateLimits,e)},t}(),Lt=function(t){function e(e,n){void 0===n&&(n=Ot());var r=t.call(this,e)||this;return r._fetch=n,r}return(0,i.ZT)(e,t),e.prototype._sendRequest=function(t,e){var n=this;if(this._isRateLimited(t.type))return this.recordLostEvent(\"ratelimit_backoff\",t.type),Promise.reject({event:e,type:t.type,reason:\"Transport for \"+t.type+\" requests locked till \"+this._disabledUntil(t.type)+\" due to too many requests.\",status:429});var r={body:t.body,method:\"POST\",referrerPolicy:(0,K.hv)()?\"origin\":\"\"};return void 0!==this.options.fetchParameters&&Object.assign(r,this.options.fetchParameters),void 0!==this.options.headers&&(r.headers=this.options.headers),this._buffer.add((function(){return new E.cW((function(e,i){n._fetch(t.url,r).then((function(r){var o={\"x-sentry-rate-limits\":r.headers.get(\"X-Sentry-Rate-Limits\"),\"retry-after\":r.headers.get(\"Retry-After\")};n._handleResponse({requestType:t.type,response:r,headers:o,resolve:e,reject:i})})).catch(i)}))})).then(void 0,(function(e){throw e instanceof y?n.recordLostEvent(\"queue_overflow\",t.type):n.recordLostEvent(\"network_error\",t.type),e}))},e}(Dt),jt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype._sendRequest=function(t,e){var n=this;return this._isRateLimited(t.type)?(this.recordLostEvent(\"ratelimit_backoff\",t.type),Promise.reject({event:e,type:t.type,reason:\"Transport for \"+t.type+\" requests locked till \"+this._disabledUntil(t.type)+\" due to too many requests.\",status:429})):this._buffer.add((function(){return new E.cW((function(e,r){var i=new XMLHttpRequest;for(var o in i.onreadystatechange=function(){if(4===i.readyState){var o={\"x-sentry-rate-limits\":i.getResponseHeader(\"X-Sentry-Rate-Limits\"),\"retry-after\":i.getResponseHeader(\"Retry-After\")};n._handleResponse({requestType:t.type,response:i,headers:o,resolve:e,reject:r})}},i.open(\"POST\",t.url),n.options.headers)Object.prototype.hasOwnProperty.call(n.options.headers,o)&&i.setRequestHeader(o,n.options.headers[o]);i.send(t.body)}))})).then(void 0,(function(e){throw e instanceof y?n.recordLostEvent(\"queue_overflow\",t.type):n.recordLostEvent(\"network_error\",t.type),e}))},e}(Dt),Nt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.eventFromException=function(t,e){return function(t,e,n){var r=gt(t,e&&e.syntheticException||void 0,n);return(0,o.EG)(r),r.level=Y.Error,e&&e.event_id&&(r.event_id=e.event_id),(0,E.WD)(r)}(t,e,this._options.attachStacktrace)},e.prototype.eventFromMessage=function(t,e,n){return void 0===e&&(e=Y.Info),function(t,e,n,r){void 0===e&&(e=Y.Info);var i=_t(t,n&&n.syntheticException||void 0,r);return i.level=e,n&&n.event_id&&(i.event_id=n.event_id),(0,E.WD)(i)}(t,e,n,this._options.attachStacktrace)},e.prototype._setupTransport=function(){if(!this._options.dsn)return t.prototype._setupTransport.call(this);var e,n,r=(0,i.pi)((0,i.pi)({},this._options.transportOptions),{dsn:this._options.dsn,tunnel:this._options.tunnel,sendClientReports:this._options.sendClientReports,_metadata:this._options._metadata}),o=P(r.dsn,r._metadata,r.tunnel),s=U(o.dsn,o.tunnel);if(this._options.transport)return new this._options.transport(r);if((0,K.Ak)()){var a=(0,i.pi)({},r.fetchParameters);return this._newTransport=(e={requestOptions:a,url:s},void 0===n&&(n=Ot()),kt({bufferSize:e.bufferSize},(function(t){var r=(0,i.pi)({body:t.body,method:\"POST\",referrerPolicy:\"origin\"},e.requestOptions);return n(e.url,r).then((function(t){return t.text().then((function(e){return{body:e,headers:{\"x-sentry-rate-limits\":t.headers.get(\"X-Sentry-Rate-Limits\"),\"retry-after\":t.headers.get(\"Retry-After\")},reason:t.statusText,statusCode:t.status}}))}))}))),new Lt(r)}return this._newTransport=function(t){return kt({bufferSize:t.bufferSize},(function(e){return new E.cW((function(n,r){var i=new XMLHttpRequest;for(var o in i.onreadystatechange=function(){if(4===i.readyState){var t={body:i.response,headers:{\"x-sentry-rate-limits\":i.getResponseHeader(\"X-Sentry-Rate-Limits\"),\"retry-after\":i.getResponseHeader(\"Retry-After\")},reason:i.statusText,statusCode:i.status};n(t)}},i.open(\"POST\",t.url),t.headers)Object.prototype.hasOwnProperty.call(t.headers,o)&&i.setRequestHeader(o,t.headers[o]);i.send(e.body)}))}))}({url:s,headers:r.headers}),new jt(r)},e}(J);function Pt(e){for(var n=[],r=1;r0}function Ut(){Ht+=1,setTimeout((function(){Ht-=1}))}function zt(t,e,n){if(void 0===e&&(e={}),\"function\"!=typeof t)return t;try{var r=t.__sentry_wrapped__;if(r)return r;if((0,f.HK)(t))return t}catch(e){return t}var s=function(){var r=Array.prototype.slice.call(arguments);try{n&&\"function\"==typeof n&&n.apply(this,arguments);var s=r.map((function(t){return zt(t,e)}));return t.apply(this,s)}catch(t){throw Ut(),At((function(n){n.addEventProcessor((function(t){return e.mechanism&&((0,o.Db)(t,void 0,void 0),(0,o.EG)(t,e.mechanism)),t.extra=(0,i.pi)((0,i.pi)({},t.extra),{arguments:r}),t})),Mt(t)})),t}};try{for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(s[a]=t[a])}catch(t){}(0,f.$Q)(s,t),(0,f.xp)(t,\"__sentry_wrapped__\",s);try{Object.getOwnPropertyDescriptor(s,\"name\").configurable&&Object.defineProperty(s,\"name\",{get:function(){return t.name}})}catch(t){}return s}var Wt=n(913),Xt=[\"fatal\",\"error\",\"warning\",\"log\",\"info\",\"debug\",\"critical\"];var Ft=function(){function e(t){this.name=e.id,this._options=(0,i.pi)({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},t)}return e.prototype.addSentryBreadcrumb=function(e){this._options.sentry&&(0,t.Gd)().addBreadcrumb({category:\"sentry.\"+(\"transaction\"===e.type?\"transaction\":\"event\"),event_id:e.event_id,level:e.level,message:(0,o.jH)(e)},{event:e})},e.prototype.setupOnce=function(){var e;this._options.console&&(0,v.o)(\"console\",$t),this._options.dom&&(0,v.o)(\"dom\",(e=this._options.dom,function(n){var r,i=\"object\"==typeof e?e.serializeAttribute:void 0;\"string\"==typeof i&&(i=[i]);try{r=n.event.target?(0,Wt.R)(n.event.target,i):(0,Wt.R)(n.event,i)}catch(t){r=\"\"}0!==r.length&&(0,t.Gd)().addBreadcrumb({category:\"ui.\"+n.name,message:r},{event:n.event,name:n.name,global:n.global})})),this._options.xhr&&(0,v.o)(\"xhr\",Yt),this._options.fetch&&(0,v.o)(\"fetch\",Gt),this._options.history&&(0,v.o)(\"history\",Jt)},e.id=\"Breadcrumbs\",e}();function $t(e){var n,r={category:\"console\",data:{arguments:e.args,logger:\"console\"},level:(n=e.level,\"warn\"===n?Y.Warning:function(t){return-1!==Xt.indexOf(t)}(n)?n:Y.Log),message:(0,s.nK)(e.args,\" \")};if(\"assert\"===e.level){if(!1!==e.args[0])return;r.message=\"Assertion failed: \"+((0,s.nK)(e.args.slice(1),\" \")||\"console.assert\"),r.data.arguments=e.args.slice(1)}(0,t.Gd)().addBreadcrumb(r,{input:e.args,level:e.level})}function Yt(e){if(e.endTimestamp){if(e.xhr.__sentry_own_request__)return;var n=e.xhr.__sentry_xhr__||{},r=n.method,i=n.url,o=n.status_code,s=n.body;(0,t.Gd)().addBreadcrumb({category:\"xhr\",data:{method:r,url:i,status_code:o},type:\"http\"},{xhr:e.xhr,input:s})}}function Gt(e){e.endTimestamp&&(e.fetchData.url.match(/sentry_key/)&&\"POST\"===e.fetchData.method||(e.error?(0,t.Gd)().addBreadcrumb({category:\"fetch\",data:e.fetchData,level:Y.Error,type:\"http\"},{data:e.error,input:e.args}):(0,t.Gd)().addBreadcrumb({category:\"fetch\",data:(0,i.pi)((0,i.pi)({},e.fetchData),{status_code:e.response.status}),type:\"http\"},{input:e.args,response:e.response})))}function Jt(e){var n=(0,h.R)(),r=e.from,i=e.to,s=(0,o.en)(n.location.href),a=(0,o.en)(r),c=(0,o.en)(i);a.path||(a=s),s.protocol===c.protocol&&s.host===c.host&&(i=c.relative),s.protocol===a.protocol&&s.host===a.host&&(r=a.relative),(0,t.Gd)().addBreadcrumb({category:\"navigation\",data:{from:r,to:i}})}var Kt=function(t){function n(e){return void 0===e&&(e={}),e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:\"sentry.javascript.browser\",packages:[{name:\"npm:@sentry/browser\",version:m}],version:m},t.call(this,Nt,e)||this}return(0,i.ZT)(n,t),n.prototype.showReportDialog=function(t){void 0===t&&(t={}),(0,h.R)().document&&(this._isEnabled()?function(t){if(void 0===t&&(t={}),qt.document)if(t.eventId)if(t.dsn){var n=qt.document.createElement(\"script\");n.async=!0,n.src=function(t,e){var n=x(t),r=M(n)+\"embed/error-page/\",i=\"dsn=\"+S(n);for(var o in e)if(\"dsn\"!==o)if(\"user\"===o){if(!e.user)continue;e.user.name&&(i+=\"&name=\"+encodeURIComponent(e.user.name)),e.user.email&&(i+=\"&email=\"+encodeURIComponent(e.user.email))}else i+=\"&\"+encodeURIComponent(o)+\"=\"+encodeURIComponent(e[o]);return r+\"?\"+i}(t.dsn,t),t.onLoad&&(n.onload=t.onLoad);var i=qt.document.head||qt.document.body;i&&i.appendChild(n)}else(0,e.c)()&&r.kg.error(\"Missing dsn option in showReportDialog call\");else(0,e.c)()&&r.kg.error(\"Missing eventId option in showReportDialog call\")}((0,i.pi)((0,i.pi)({},t),{dsn:t.dsn||this.getDsn()})):(0,e.c)()&&r.kg.error(\"Trying to call showReportDialog with Sentry Client disabled\"))},n.prototype._prepareEvent=function(e,n,r){return e.platform=e.platform||\"javascript\",t.prototype._prepareEvent.call(this,e,n,r)},n.prototype._sendEvent=function(e){var n=this.getIntegration(Ft);n&&n.addSentryBreadcrumb(e),t.prototype._sendEvent.call(this,e)},n}(N),Vt=[\"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\"],Zt=function(){function t(e){this.name=t.id,this._options=(0,i.pi)({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},e)}return t.prototype.setupOnce=function(){var t=(0,h.R)();this._options.setTimeout&&(0,f.hl)(t,\"setTimeout\",Qt),this._options.setInterval&&(0,f.hl)(t,\"setInterval\",Qt),this._options.requestAnimationFrame&&(0,f.hl)(t,\"requestAnimationFrame\",te),this._options.XMLHttpRequest&&\"XMLHttpRequest\"in t&&(0,f.hl)(XMLHttpRequest.prototype,\"send\",ee);var e=this._options.eventTarget;e&&(Array.isArray(e)?e:Vt).forEach(ne)},t.id=\"TryCatch\",t}();function Qt(t){return function(){for(var e=[],n=0;n0?e:(0,Wt.l)();return 0===c.length&&c.push({colno:u,filename:d,function:\"?\",in_app:!0,lineno:p}),t}function ae(t,e,n,r){(0,o.EG)(n,{handled:!1,type:r}),t.captureEvent(n,{originalException:e})}function ce(){var e=(0,t.Gd)(),n=e.getClient();return[e,n&&n.getOptions().attachStacktrace]}var ue=function(){function e(t){void 0===t&&(t={}),this.name=e.id,this._key=t.key||\"cause\",this._limit=t.limit||5}return e.prototype.setupOnce=function(){(0,g.c)((function(n,r){var o=(0,t.Gd)().getIntegration(e);return o?function(t,e,n,r){if(!(n.exception&&n.exception.values&&r&&(0,k.V9)(r.originalException,Error)))return n;var o=pe(e,r.originalException,t);return n.exception.values=(0,i.fl)(o,n.exception.values),n}(o._key,o._limit,n,r):n}))},e.id=\"LinkedErrors\",e}();function pe(t,e,n,r){if(void 0===r&&(r=[]),!(0,k.V9)(e[n],Error)||r.length+1>=t)return r;var o=ft(e[n]);return pe(t,e[n],n,(0,i.fl)([o],r))}var de=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(n,i){n((function(n){var o=i().getIntegration(t);if(o){try{if(function(t,e){return!!e&&(!!function(t,e){var n=t.message,r=e.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!le(t,e)&&!!fe(t,e))))}(t,e)||!!function(t,e){var n=he(e),r=he(t);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!le(t,e)&&!!fe(t,e)))}(t,e))}(n,o._previousEvent))return(0,e.c)()&&r.kg.warn(\"Event dropped due to being a duplicate of previously captured event.\"),null}catch(t){return o._previousEvent=n}return o._previousEvent=n}return n}))},t.id=\"Dedupe\",t}();function fe(t,e){var n=ve(t),r=ve(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(n=n,(r=r).length!==n.length)return!1;for(var i=0;i=0&&(i||n)&&(e.delta=e.value-(r||0),(e.delta||void 0===r)&&(r=e.value,t(e)))}},Oe=function(t,e){return{name:t,value:null!=e?e:-1,delta:0,entries:[],id:\"v2-\"+Date.now()+\"-\"+(Math.floor(8999999999999*Math.random())+1e12)}},Ce=function(t,e){try{if(PerformanceObserver.supportedEntryTypes.includes(t)){if(\"first-input\"===t&&!(\"PerformanceEventTiming\"in self))return;var n=new PerformanceObserver((function(t){return t.getEntries().map(e)}));return n.observe({type:t,buffered:!0}),n}}catch(t){}},Ie=function(t,e){var n=function(r){\"pagehide\"!==r.type&&\"hidden\"!==(0,h.R)().document.visibilityState||(t(r),e&&(removeEventListener(\"visibilitychange\",n,!0),removeEventListener(\"pagehide\",n,!0)))};addEventListener(\"visibilitychange\",n,!0),addEventListener(\"pagehide\",n,!0)},De=-1,Le=function(){return De<0&&(De=\"hidden\"===(0,h.R)().document.visibilityState?0:1/0,Ie((function(t){var e=t.timeStamp;De=e}),!0)),{get firstHiddenTime(){return De}}},je={},Ne=(0,h.R)(),Pe=function(){function t(t){void 0===t&&(t=!1),this._reportAllChanges=t,this._measurements={},this._performanceCursor=0,!(0,we.KV)()&&Ne&&Ne.performance&&Ne.document&&(Ne.performance.mark&&Ne.performance.mark(\"sentry-tracing-init\"),this._trackCLS(),this._trackLCP(),this._trackFID())}return t.prototype.addPerformanceEntries=function(t){var n=this;if(Ne&&Ne.performance&&Ne.performance.getEntries&&w.Z1){(0,e.c)()&&r.kg.log(\"[Tracing] Adding & adjusting spans using Performance API\");var i,o,s=(0,Te.XL)(w.Z1);if(Ne.performance.getEntries().slice(this._performanceCursor).forEach((function(a){var c=(0,Te.XL)(a.startTime),u=(0,Te.XL)(a.duration);if(!(\"navigation\"===t.op&&s+c=t.startTimestamp)){var o=n._measurements[i].value,s=a+(0,Te.XL)(o),c=Math.abs(1e3*(s-t.startTimestamp)),u=c-o;(0,e.c)()&&r.kg.log(\"[Measurements] Normalized \"+i+\" from \"+o+\" to \"+c+\" (\"+u+\")\"),n._measurements[i].value=c}})),this._measurements[\"mark.fid\"]&&this._measurements.fid&&Ae(t,{description:\"first input delay\",endTimestamp:this._measurements[\"mark.fid\"].value+(0,Te.XL)(this._measurements.fid.value),op:\"web.vitals\",startTimestamp:this._measurements[\"mark.fid\"].value}),\"fcp\"in this._measurements||delete this._measurements.cls,t.setMeasurements(this._measurements),function(t,n,i){n&&((0,e.c)()&&r.kg.log(\"[Measurements] Adding LCP Data\"),n.element&&t.setTag(\"lcp.element\",(0,Wt.R)(n.element)),n.id&&t.setTag(\"lcp.id\",n.id),n.url&&t.setTag(\"lcp.url\",n.url.trim().slice(0,200)),t.setTag(\"lcp.size\",n.size)),i&&i.sources&&((0,e.c)()&&r.kg.log(\"[Measurements] Adding CLS Data\"),i.sources.forEach((function(e,n){return t.setTag(\"cls.source.\"+(n+1),(0,Wt.R)(e.node))})))}(t,this._lcpEntry,this._clsEntry),t.setTag(\"sentry_reportAllChanges\",this._reportAllChanges)}}},t.prototype._trackNavigator=function(t){var e=Ne.navigator;if(e){var n=e.connection;n&&(n.effectiveType&&t.setTag(\"effectiveConnectionType\",n.effectiveType),n.type&&t.setTag(\"connectionType\",n.type),qe(n.rtt)&&(this._measurements[\"connection.rtt\"]={value:n.rtt}),qe(n.downlink)&&(this._measurements[\"connection.downlink\"]={value:n.downlink})),qe(e.deviceMemory)&&t.setTag(\"deviceMemory\",String(e.deviceMemory)),qe(e.hardwareConcurrency)&&t.setTag(\"hardwareConcurrency\",String(e.hardwareConcurrency))}},t.prototype._trackCLS=function(){var t,n,i,o,s,a,c,u=this;t=function(t){var n=t.entries.pop();n&&((0,e.c)()&&r.kg.log(\"[Measurements] Adding CLS\"),u._measurements.cls={value:t.value},u._clsEntry=n)},i=Oe(\"CLS\",0),o=0,s=[],(c=Ce(\"layout-shift\",a=function(t){if(t&&!t.hadRecentInput){var e=s[0],r=s[s.length-1];o&&0!==s.length&&t.startTime-r.startTime<1e3&&t.startTime-e.startTime<5e3?(o+=t.value,s.push(t)):(o=t.value,s=[t]),o>i.value&&(i.value=o,i.entries=s,n&&n())}}))&&(n=Re(t,i,undefined),Ie((function(){c.takeRecords().map(a),n(!0)})))},t.prototype._trackLCP=function(){var t=this;!function(n,i){var o,s=Le(),a=Oe(\"LCP\"),c=function(t){var e=t.startTime;en&&(t.startTimestamp=n),t.startChild((0,i.pi)({startTimestamp:n},r))}function qe(t){return\"number\"==typeof t&&isFinite(t)}var He={traceFetch:!0,traceXHR:!0,tracingOrigins:[\"localhost\",/^\\//]};var Be=(0,h.R)(),Ue=(0,i.pi)({idleTimeout:Se.nT,markBackgroundTransactions:!0,maxTransactionDuration:600,routingInstrumentation:function(t,n,i){if(void 0===n&&(n=!0),void 0===i&&(i=!0),Be&&Be.location){var o,s=Be.location.href;n&&(o=t({name:Be.location.pathname,op:\"pageload\"})),i&&(0,v.o)(\"history\",(function(n){var i=n.to,a=n.from;void 0===a&&s&&-1!==s.indexOf(i)?s=void 0:a!==i&&(s=void 0,o&&((0,e.c)()&&r.kg.log(\"[Tracing] Finishing current transaction with op: \"+o.op),o.finish()),o=t({name:Be.location.pathname,op:\"navigation\"}))}))}else(0,e.c)()&&r.kg.warn(\"Could not initialize routing instrumentation due to invalid location\")},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0},He),ze=function(){function t(n){this.name=t.id,this._configuredIdleTimeout=void 0;var r=He.tracingOrigins;n&&(this._configuredIdleTimeout=n.idleTimeout,n.tracingOrigins&&Array.isArray(n.tracingOrigins)&&0!==n.tracingOrigins.length?r=n.tracingOrigins:(0,e.c)()&&(this._emitOptionsWarning=!0)),this.options=(0,i.pi)((0,i.pi)((0,i.pi)({},Ue),n),{tracingOrigins:r});var o=this.options._metricOptions;this._metrics=new Pe(o&&o._reportAllChanges)}return t.prototype.setupOnce=function(t,n){var o=this;this._getCurrentHub=n,this._emitOptionsWarning&&((0,e.c)()&&r.kg.warn(\"[Tracing] You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace.\"),(0,e.c)()&&r.kg.warn(\"[Tracing] We added a reasonable default for you: \"+He.tracingOrigins));var a=this.options,c=a.routingInstrumentation,u=a.startTransactionOnLocationChange,p=a.startTransactionOnPageLoad,d=a.markBackgroundTransactions,f=a.traceFetch,l=a.traceXHR,h=a.tracingOrigins,m=a.shouldCreateSpanForRequest;c((function(t){return o._createRouteTransaction(t)}),p,u),d&&(Ee&&Ee.document?Ee.document.addEventListener(\"visibilitychange\",(function(){var t=(0,Te.x1)();if(Ee.document.hidden&&t){(0,e.c)()&&r.kg.log(\"[Tracing] Transaction: cancelled -> since tab moved to the background, op: \"+t.op),t.status||t.setStatus(\"cancelled\"),t.setTag(\"visibilitychange\",\"document.hidden\"),t.setTag(ke.d,ke.x[2]),t.finish()}})):(0,e.c)()&&r.kg.warn(\"[Tracing] Could not set up background tab detection due to lack of global document\")),function(t){var e=(0,i.pi)((0,i.pi)({},He),t),n=e.traceFetch,r=e.traceXHR,o=e.tracingOrigins,a=e.shouldCreateSpanForRequest,c={},u=function(t){if(c[t])return c[t];var e=o;return c[t]=e.some((function(e){return(0,s.zC)(t,e)}))&&!(0,s.zC)(t,\"sentry_key\"),c[t]},p=u;\"function\"==typeof a&&(p=function(t){return u(t)&&a(t)});var d={};n&&(0,v.o)(\"fetch\",(function(t){!function(t,e,n){if((0,Te.zu)()&&t.fetchData&&e(t.fetchData.url))if(t.endTimestamp){var r=t.fetchData.__span;if(!r)return;(s=n[r])&&(t.response?s.setHttpStatus(t.response.status):t.error&&s.setStatus(\"internal_error\"),s.finish(),delete n[r])}else{var o=(0,Te.x1)();if(o){var s=o.startChild({data:(0,i.pi)((0,i.pi)({},t.fetchData),{type:\"fetch\"}),description:t.fetchData.method+\" \"+t.fetchData.url,op:\"http.client\"});t.fetchData.__span=s.spanId,n[s.spanId]=s;var a=t.args[0]=t.args[0],c=t.args[1]=t.args[1]||{},u=c.headers;(0,k.V9)(a,Request)&&(u=a.headers),u?\"function\"==typeof u.append?u.append(\"sentry-trace\",s.toTraceparent()):u=Array.isArray(u)?(0,i.fl)(u,[[\"sentry-trace\",s.toTraceparent()]]):(0,i.pi)((0,i.pi)({},u),{\"sentry-trace\":s.toTraceparent()}):u={\"sentry-trace\":s.toTraceparent()},c.headers=u}}}(t,p,d)})),r&&(0,v.o)(\"xhr\",(function(t){!function(t,e,n){if(!(!(0,Te.zu)()||t.xhr&&t.xhr.__sentry_own_request__)&&t.xhr&&t.xhr.__sentry_xhr__&&e(t.xhr.__sentry_xhr__.url)){var r=t.xhr.__sentry_xhr__;if(t.endTimestamp){var o=t.xhr.__sentry_xhr_span_id__;if(!o)return;(a=n[o])&&(a.setHttpStatus(r.status_code),a.finish(),delete n[o])}else{var s=(0,Te.x1)();if(s){var a=s.startChild({data:(0,i.pi)((0,i.pi)({},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__=a.spanId,n[t.xhr.__sentry_xhr_span_id__]=a,t.xhr.setRequestHeader)try{t.xhr.setRequestHeader(\"sentry-trace\",a.toTraceparent())}catch(t){}}}}}(t,p,d)}))}({traceFetch:f,traceXHR:l,tracingOrigins:h,shouldCreateSpanForRequest:m})},t.prototype._createRouteTransaction=function(t){var n=this;if(this._getCurrentHub){var o=this.options,s=o.beforeNavigate,a=o.idleTimeout,c=o.maxTransactionDuration,u=\"pageload\"===t.op?function(){var t,e=(\"sentry-trace\",(t=(0,h.R)().document.querySelector(\"meta[name=sentry-trace]\"))?t.getAttribute(\"content\"):null);if(e)return function(t){var e=t.match(xe);if(e){var n=void 0;return\"1\"===e[3]?n=!0:\"0\"===e[3]&&(n=!1),{traceId:e[1],parentSampled:n,parentSpanId:e[2]}}}(e)}():void 0,p=(0,i.pi)((0,i.pi)((0,i.pi)({},t),u),{trimEnd:!0}),d=\"function\"==typeof s?s(p):p,f=void 0===d?(0,i.pi)((0,i.pi)({},p),{sampled:!1}):d;!1===f.sampled&&(0,e.c)()&&r.kg.log(\"[Tracing] Will not send \"+f.op+\" transaction because of beforeNavigate.\"),(0,e.c)()&&r.kg.log(\"[Tracing] Starting \"+f.op+\" transaction on scope\");var l=this._getCurrentHub(),v=(0,h.R)().location,m=(0,be.lb)(l,f,a,!0,{location:v});return m.registerBeforeFinishCallback((function(t,e){n._metrics.addPerformanceEntries(t),function(t,e,n){var r=n-e.startTimestamp;n&&(r>t||r<0)&&(e.setStatus(\"deadline_exceeded\"),e.setTag(\"maxTransactionDurationExceeded\",\"true\"))}((0,Te.WB)(c),t,e)})),m.setTag(\"idleTimeout\",this._configuredIdleTimeout),m}(0,e.c)()&&r.kg.warn(\"[Tracing] Did not create \"+t.op+\" transaction because _getCurrentHub is invalid.\")},t.id=\"BrowserTracing\",t}();(0,be.ro)(),function(n){if(void 0===n&&(n={}),void 0===n.defaultIntegrations&&(n.defaultIntegrations=_e),void 0===n.release){var i=(0,h.R)();i.SENTRY_RELEASE&&i.SENTRY_RELEASE.id&&(n.release=i.SENTRY_RELEASE.id)}void 0===n.autoSessionTracking&&(n.autoSessionTracking=!0),void 0===n.sendClientReports&&(n.sendClientReports=!0),function(n,i){!0===i.debug&&((0,e.c)()?r.kg.enable():console.warn(\"[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.\"));var o=(0,t.Gd)(),s=o.getScope();s&&s.update(i.initialScope);var a=new n(i);o.bindClient(a)}(Kt,n),n.autoSessionTracking&&function(){if(void 0!==(0,h.R)().document){var n=(0,t.Gd)();n.captureSession&&(ye(n),(0,v.o)(\"history\",(function(e){var n=e.from,r=e.to;void 0!==n&&n!==r&&ye((0,t.Gd)())})))}else(0,e.c)()&&r.kg.warn(\"Session tracking in non-browser environment with @sentry/browser is not supported.\")}()}({dsn:\"https://10d53baa508947739ff3e223a4aa55a9@o294760.ingest.sentry.io/6295484\",release:\"369bb839a529a86ff0f89253f8979fb03ed5f181\",environment:\"development\",attachStacktrace:!0,integrations:[new ze],tracesSampleRate:1}),window.dataLayer=window.dataLayer||[];const We=function(){window.dataLayer.push(arguments)};We(\"js\",new Date),We(\"config\",\"G-BQEXZJ8MM5\")})()})();\n"],"file":"first.js"}