/*! For license information please see bundle.js.LICENSE.txt */ (()=>{"use strict";var t={185:(t,e,n)=>{n.r(e),n.d(e,{BrowserClient:()=>_n,Hub:()=>ut,Integrations:()=>nr,SDK_NAME:()=>Zn,SDK_VERSION:()=>jt,Scope:()=>N,Session:()=>at,Severity:()=>u,Transports:()=>i,addBreadcrumb:()=>bt,addGlobalEventProcessor:()=>D,captureEvent:()=>gt,captureException:()=>_t,captureMessage:()=>yt,close:()=>Vn,configureScope:()=>mt,defaultIntegrations:()=>Yn,eventFromException:()=>je,eventFromMessage:()=>Ne,flush:()=>$n,forceLoad:()=>Jn,getCurrentHub:()=>ft,getHubFromCarrier:()=>lt,init:()=>Wn,injectReportDialog:()=>Xe,lastEventId:()=>zn,makeMain:()=>pt,onLoad:()=>Xn,setContext:()=>xt,setExtra:()=>wt,setExtras:()=>Et,setTag:()=>kt,setTags:()=>St,setUser:()=>Tt,showReportDialog:()=>Kn,startTransaction:()=>Rt,withScope:()=>Ot,wrap:()=>Gn});var r={};n.r(r),n.d(r,{FunctionToString:()=>xn,InboundFilters:()=>gn});var o={};n.r(o),n.d(o,{Breadcrumbs:()=>pn,Dedupe:()=>Mn,GlobalHandlers:()=>Rn,LinkedErrors:()=>Cn,TryCatch:()=>Sn,UserAgent:()=>Hn});var i={};n.r(i),n.d(i,{BaseTransport:()=>Ue,FetchTransport:()=>Be,XHRTransport:()=>Fe});var s=function(t,e){return s=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])},s(t,e)};function a(t,e){function n(){this.constructor=t}s(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var u,c=function(){return c=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 f(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function d(){for(var t=[],e=0;e0?t.breadcrumbs:void 0,t.sdkProcessingMetadata=this._sdkProcessingMetadata,this._notifyEventProcessors(d(I(),this._eventProcessors),t,e)},t.prototype.setSDKProcessingMetadata=function(t){return this._sdkProcessingMetadata=c(c({},this._sdkProcessingMetadata),t),this},t.prototype._notifyEventProcessors=function(t,e,n,r){var o=this;return void 0===r&&(r=0),new R((function(i,s){var a=t[r];if(null===e||"function"!=typeof a)i(e);else{var u=a(c({},e),n);S(u)?u.then((function(e){return o._notifyEventProcessors(t,e,n,r+1).then(i)})).then(null,s):o._notifyEventProcessors(t,u,n,r+1).then(i).then(null,s)}}))},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 I(){var t=(0,j.R)();return t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.globalEventProcessors=t.__SENTRY__.globalEventProcessors||[],t.__SENTRY__.globalEventProcessors}function D(t){I().push(t)}function L(t,e){try{for(var n=t,r=[],o=0,i=0,s=" > ".length,a=void 0;n&&o++<5&&!("html"===(a=C(n,e))||o>1&&i+r.length*s+a.length>=80);)r.push(a),i+=a.length,n=n.parentNode;return r.reverse().join(" > ")}catch(t){return""}}function C(t,e){var n,r,o,i,s,a=t,u=[];if(!a||!a.tagName)return"";u.push(a.tagName.toLowerCase());var c=e&&e.length?e.filter((function(t){return a.getAttribute(t)})).map((function(t){return[t,a.getAttribute(t)]})):null;if(c&&c.length)c.forEach((function(t){u.push("["+t[0]+'="'+t[1]+'"]')}));else if(a.id&&u.push("#"+a.id),(n=a.className)&&g(n))for(r=n.split(/\s+/),s=0;s"}try{i.currentTarget=E(o.currentTarget)?L(o.currentTarget):Object.prototype.toString.call(o.currentTarget)}catch(t){i.currentTarget=""}for(var s in"undefined"!=typeof CustomEvent&&w(t,CustomEvent)&&(i.detail=o.detail),o)Object.prototype.hasOwnProperty.call(o,s)&&(i[s]=o[s]);return i}return t}function Y(t,e){void 0===e&&(e=40);var n=Object.keys(H(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return P(n[0],e);for(var r=n.length;r>0;r--){var o=n.slice(0,r).join(", ");if(!(o.length>e))return r===n.length?o:P(o,e)}return""}function W(t){var e,n;if(b(t)){var r=t,o={};try{for(var i=p(Object.keys(r)),s=i.next();!s.done;s=i.next()){var a=s.value;void 0!==r[a]&&(o[a]=W(r[a]))}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return o}return Array.isArray(t)?t.map(W):t}function K(){var t=(0,j.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 z(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 J(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function X(t){var e=t.message,n=t.event_id;if(e)return e;var r=J(t);return r?r.type&&r.value?r.type+": "+r.value:r.type||r.value||n||"":n||""}function $(t,e,n){var r=t.exception=t.exception||{},o=r.values=r.values||[],i=o[0]=o[0]||{};i.value||(i.value=e||""),i.type||(i.type=n||"Error")}function V(t,e){var n=J(t);if(n){var r=n.mechanism;if(n.mechanism=c(c(c({},{type:"generic",handled:!0}),r),e),e&&"data"in e){var o=c(c({},r&&r.data),e.data);n.mechanism.data=o}}}function G(t){if(t&&t.__sentry_captured__)return!0;try{U(t,"__sentry_captured__",!0)}catch(t){}return!1}var Q=n(518),Z=(0,j.R)(),tt="Sentry Logger ",et=["debug","info","warn","error","log","assert"];function nt(t){var e=(0,j.R)();if(!("console"in e))return t();var n=e.console,r={};et.forEach((function(t){t in e.console&&n[t].__sentry_original__&&(r[t]=n[t],n[t]=n[t].__sentry_original__)}));var o=t();return Object.keys(r).forEach((function(t){n[t]=r[t]})),o}var rt=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=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 W({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}(),ut=function(){function t(t,e,n){void 0===e&&(e=new N),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._version1&&(p=l.slice(0,-1).join("/"),d=l.pop()),d){var h=d.match(/^\d+/);h&&(d=h[0])}return Ct({host:a,pass:s,path:p,projectId:d,port:c,protocol:r,publicKey:o})}(t):Ct(t);return function(t){if((0,Q.c)()){var e=t.port,n=t.projectId,r=t.protocol;if(["protocol","publicKey","host","projectId"].forEach((function(e){if(!t[e])throw new It("Invalid Sentry Dsn: "+e+" missing")})),!n.match(/^\d+$/))throw new It("Invalid Sentry Dsn: Invalid projectId "+n);if(!function(t){return"http"===t||"https"===t}(r))throw new It("Invalid Sentry Dsn: Invalid protocol "+r);if(e&&isNaN(parseInt(e,10)))throw new It("Invalid Sentry Dsn: Invalid port "+e)}}(e),e}function Mt(t){if(!t.length)return[];var e=t,n=e[0].function||"",r=e[e.length-1].function||"";return-1===n.indexOf("captureMessage")&&-1===n.indexOf("captureException")||(e=e.slice(1)),-1!==r.indexOf("sentryWrapped")&&(e=e.slice(0,-1)),e.slice(0,50).map((function(t){return c(c({},t),{filename:t.filename||e[0].filename,function:t.function||"?"})})).reverse()}var At="";function qt(t){try{return t&&"function"==typeof t&&t.name||At}catch(t){return At}}function Ut(t,e,n){void 0===e&&(e=1/0),void 0===n&&(n=1/0);try{return Ft("",t,e,n)}catch(t){return"**non-serializable**"}}function Bt(t,e,n){void 0===e&&(e=3),void 0===n&&(n=102400);var r,o=Ut(t,e);return r=o,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(r))>n?Bt(t,e-1,n):o}function Ft(t,e,n,r,o){var i,s;void 0===n&&(n=1/0),void 0===r&&(r=1/0),void 0===o&&(i="function"==typeof WeakSet,s=i?new WeakSet:[],o=[function(t){if(i)return!!s.has(t)||(s.add(t),!1);for(var e=0;e=r){l[v]="[MaxProperties ~]";break}h+=1;var _=d[v];l[v]=Ft(v,_,n-1,r,o)}return c(e),l}function Ht(t,e){return"domain"===e&&t&&"object"==typeof t&&t._events?"[Domain]":"domainEmitter"===e?"[DomainEmitter]":void 0!==n.g&&t===n.g?"[Global]":"undefined"!=typeof window&&t===window?"[Window]":"undefined"!=typeof document&&t===document?"[Document]":b(r=t)&&"nativeEvent"in r&&"preventDefault"in r&&"stopPropagation"in r?"[SyntheticEvent]":"number"==typeof t&&t!=t?"[NaN]":void 0===t?"[undefined]":"function"==typeof t?"[Function: "+qt(t)+"]":"symbol"==typeof t?"["+String(t)+"]":"bigint"==typeof t?"[BigInt: "+String(t)+"]":t;var r}var Yt=[];function Wt(t){return t.reduce((function(t,e){return t.every((function(t){return e.name!==t.name}))&&t.push(e),t}),[])}var Kt="Not capturing exception because it's already been captured.",zt=function(){function t(t,e){this._integrations={},this._numProcessing=0,this._backend=new t(e),this._options=e,e.dsn&&(this._dsn=Pt(e.dsn))}return t.prototype.captureException=function(t,e,n){var r=this;if(!G(t)){var o=e&&e.event_id;return this._process(this._getBackend().eventFromException(t,e).then((function(t){return r._captureEvent(t,e,n)})).then((function(t){o=t}))),o}(0,Q.c)()&&it.log(Kt)},t.prototype.captureMessage=function(t,e,n,r){var o=this,i=n&&n.event_id,s=m(t)?this._getBackend().eventFromMessage(String(t),e,n):this._getBackend().eventFromException(t,n);return this._process(s.then((function(t){return o._captureEvent(t,n,r)})).then((function(t){i=t}))),i},t.prototype.captureEvent=function(t,e,n){if(!(e&&e.originalException&&G(e.originalException))){var r=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then((function(t){r=t}))),r}(0,Q.c)()&&it.log(Kt)},t.prototype.captureSession=function(t){this._isEnabled()?"string"!=typeof t.release?(0,Q.c)()&&it.warn("Discarded session because of missing or non-string release"):(this._sendSession(t),t.update({init:!1})):(0,Q.c)()&&it.warn("SDK not enabled, will not capture session.")},t.prototype.getDsn=function(){return this._dsn},t.prototype.getOptions=function(){return this._options},t.prototype.getTransport=function(){return this._getBackend().getTransport()},t.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}))}))},t.prototype.close=function(t){var e=this;return this.flush(t).then((function(t){return e.getOptions().enabled=!1,t}))},t.prototype.setupIntegrations=function(){var t,e;this._isEnabled()&&!this._integrations.initialized&&(this._integrations=(t=this._options,e={},function(t){var e=t.defaultIntegrations&&d(t.defaultIntegrations)||[],n=t.integrations,r=d(Wt(e));Array.isArray(n)?r=d(r.filter((function(t){return n.every((function(e){return e.name!==t.name}))})),Wt(n)):"function"==typeof n&&(r=n(r),r=Array.isArray(r)?r:[r]);var o=r.map((function(t){return t.name})),i="Debug";return-1!==o.indexOf(i)&&r.push.apply(r,d(r.splice(o.indexOf(i),1))),r}(t).forEach((function(t){e[t.name]=t,function(t){-1===Yt.indexOf(t.name)&&(t.setupOnce(D,ft),Yt.push(t.name),(0,Q.c)()&&it.log("Integration installed: "+t.name))}(t)})),U(e,"initialized",!0),e))},t.prototype.getIntegration=function(t){try{return this._integrations[t.id]||null}catch(e){return(0,Q.c)()&&it.warn("Cannot retrieve integration "+t.id+" from the current Client"),null}},t.prototype._updateSessionFromEvent=function(t,e){var n,r,o=!1,i=!1,s=e.exception&&e.exception.values;if(s){i=!0;try{for(var a=p(s),u=a.next();!u.done;u=a.next()){var f=u.value.mechanism;if(f&&!1===f.handled){o=!0;break}}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}}var d="ok"===t.status;(d&&0===t.errors||d&&o)&&(t.update(c(c({},o&&{status:"crashed"}),{errors:t.errors||Number(i||o)})),this.captureSession(t))},t.prototype._sendSession=function(t){this._getBackend().sendSession(t)},t.prototype._isClientDoneProcessing=function(t){var e=this;return new R((function(n){var r=0,o=setInterval((function(){0==e._numProcessing?(clearInterval(o),n(!0)):(r+=1,t&&r>=t&&(clearInterval(o),n(!1)))}),1)}))},t.prototype._getBackend=function(){return this._backend},t.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},t.prototype._prepareEvent=function(t,e,n){var r=this,o=this.getOptions(),i=o.normalizeDepth,s=void 0===i?3:i,a=o.normalizeMaxBreadth,u=void 0===a?1e3:a,p=c(c({},t),{event_id:t.event_id||(n&&n.event_id?n.event_id:K()),timestamp:t.timestamp||(0,k.yW)()});this._applyClientOptions(p),this._applyIntegrationsMetadata(p);var f=e;n&&n.captureContext&&(f=N.clone(f).update(n.captureContext));var d=T(p);return f&&(d=f.applyToEvent(p,n)),d.then((function(t){return t&&(t.sdkProcessingMetadata=c(c({},t.sdkProcessingMetadata),{normalizeDepth:Ut(s)})),"number"==typeof s&&s>0?r._normalizeEvent(t,s,u):t}))},t.prototype._normalizeEvent=function(t,e,n){if(!t)return null;var r=c(c(c(c(c({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((function(t){return c(c({},t),t.data&&{data:Ut(t.data,e,n)})}))}),t.user&&{user:Ut(t.user,e,n)}),t.contexts&&{contexts:Ut(t.contexts,e,n)}),t.extra&&{extra:Ut(t.extra,e,n)});return t.contexts&&t.contexts.trace&&(r.contexts.trace=t.contexts.trace),t.sdkProcessingMetadata=c(c({},t.sdkProcessingMetadata),{baseClientNormalized:!0}),r},t.prototype._applyClientOptions=function(t){var e=this.getOptions(),n=e.environment,r=e.release,o=e.dist,i=e.maxValueLength,s=void 0===i?250:i;"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!==o&&(t.dist=o),t.message&&(t.message=P(t.message,s));var a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=P(a.value,s));var u=t.request;u&&u.url&&(u.url=P(u.url,s))},t.prototype._applyIntegrationsMetadata=function(t){var e=Object.keys(this._integrations);e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=d(t.sdk.integrations||[],e))},t.prototype._sendEvent=function(t){this._getBackend().sendEvent(t)},t.prototype._captureEvent=function(t,e,n){return this._processEvent(t,e,n).then((function(t){return t.event_id}),(function(t){(0,Q.c)()&&it.error(t)}))},t.prototype._processEvent=function(t,e,n){var r=this,o=this.getOptions(),i=o.beforeSend,s=o.sampleRate,a=this.getTransport();function u(t,e){a.recordLostEvent&&a.recordLostEvent(t,e)}if(!this._isEnabled())return O(new It("SDK not enabled, will not capture event."));var c="transaction"===t.type;return!c&&"number"==typeof s&&Math.random()>s?(u("sample_rate","event"),O(new It("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 u("event_processor",t.type||"event"),new It("An event processor returned null, will not send event.");return e&&e.data&&!0===e.data.__sentry__||c||!i?n:function(t){var e="`beforeSend` method has to return `null` or a valid event.";if(S(t))return t.then((function(t){if(!b(t)&&null!==t)throw new It(e);return t}),(function(t){throw new It("beforeSend rejected with "+t)}));if(!b(t)&&null!==t)throw new It(e);return t}(i(n,e))})).then((function(e){if(null===e)throw u("before_send",t.type||"event"),new It("`beforeSend` returned `null`, will not send event.");var o=n&&n.getSession&&n.getSession();return!c&&o&&r._updateSessionFromEvent(o,e),r._sendEvent(e),e})).then(null,(function(t){if(t instanceof It)throw t;throw r.captureException(t,{data:{__sentry__:!0},originalException:t}),new It("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+t)}))},t.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}))},t}();function Jt(t,e,n){return{initDsn:t,metadata:e||{},dsn:Pt(t),tunnel:n}}function Xt(t){var e=t.protocol?t.protocol+":":"",n=t.port?":"+t.port:"";return e+"//"+t.host+n+(t.path?"/"+t.path:"")+"/api/"}function $t(t,e){return""+Xt(t)+t.projectId+"/"+e+"/"}function Vt(t){return e={sentry_key:t.publicKey,sentry_version:"7"},Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&");var e}function Gt(t){return $t(t,"store")}function Qt(t){return Gt(t)+"?"+Vt(t)}function Zt(t,e){return e||function(t){return $t(t,"envelope")}(t)+"?"+Vt(t)}function te(t,e){return void 0===e&&(e=[]),[t,e]}function ee(t){var e=f(t,2),n=e[0],r=e[1],o=JSON.stringify(n);return r.reduce((function(t,e){var n=f(e,2),r=n[0],o=n[1],i=m(o)?String(o):JSON.stringify(o);return t+"\n"+JSON.stringify(r)+"\n"+i}),o)}function ne(t){if(t.metadata&&t.metadata.sdk){var e=t.metadata.sdk;return{name:e.name,version:e.version}}}function re(t,e){var n=ne(e),r="aggregates"in t?"sessions":"session";return[te(c(c({sent_at:(new Date).toISOString()},n&&{sdk:n}),!!e.tunnel&&{dsn:Lt(e.dsn)}),[[{type:r},t]]),r]}!function(){function t(t,e,n){void 0===e&&(e={}),this.dsn=t,this._dsnObject=Pt(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 Xt(this._dsnObject)},t.prototype.getStoreEndpoint=function(){return Gt(this._dsnObject)},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return Qt(this._dsnObject)},t.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return Zt(this._dsnObject,this._tunnel)}}();var oe=function(){function t(){}return t.prototype.sendEvent=function(t){return T({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:"skipped"})},t.prototype.close=function(t){return T(!0)},t}(),ie=function(){function t(t){this._options=t,this._options.dsn||(0,Q.c)()&&it.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return t.prototype.eventFromException=function(t,e){throw new It("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(t,e,n){throw new It("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 e=function(t,e){var n=ne(e),r=t.type||"event",o=(t.sdkProcessingMetadata||{}).transactionSampling||{},i=o.method,s=o.rate;return te(c(c({event_id:t.event_id,sent_at:(new Date).toISOString()},n&&{sdk:n}),!!e.tunnel&&{dsn:Lt(e.dsn)}),[[{type:r,sample_rates:[{id:i,rate:s}]},t]])}(t,Jt(this._options.dsn,this._options._metadata,this._options.tunnel));this._newTransport.send(e).then(null,(function(t){(0,Q.c)()&&it.error("Error while sending event:",t)}))}else this._transport.sendEvent(t).then(null,(function(t){(0,Q.c)()&&it.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 e=f(re(t,Jt(this._options.dsn,this._options._metadata,this._options.tunnel)),1)[0];this._newTransport.send(e).then(null,(function(t){(0,Q.c)()&&it.error("Error while sending session:",t)}))}else this._transport.sendSession(t).then(null,(function(t){(0,Q.c)()&&it.error("Error while sending session:",t)}));else(0,Q.c)()&&it.warn("Dropping session because custom transport doesn't implement sendSession")},t.prototype.getTransport=function(){return this._transport},t.prototype._setupTransport=function(){return new oe},t}();function se(){if(!("fetch"in(0,j.R)()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}function ae(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function ue(){if(!se())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(t){return!1}}var ce="?";function pe(t,e,n,r){var o={filename:t,function:e,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==r&&(o.colno=r),o}var fe=/^\s*at (?:(.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack||[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,de=/\((\S*)(?::(\d+))(?::(\d+))\)/,le=[30,function(t){var e=fe.exec(t);if(e){if(e[2]&&0===e[2].indexOf("eval")){var n=de.exec(e[2]);n&&(e[2]=n[1],e[3]=n[2],e[4]=n[3])}var r=f(Se(e[1]||ce,e[2]),2),o=r[0];return pe(r[1],o,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}}],he=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,ve=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,_e=[50,function(t){var e,n=he.exec(t);if(n){if(n[3]&&n[3].indexOf(" > eval")>-1){var r=ve.exec(n[3]);r&&(n[1]=n[1]||"eval",n[3]=r[1],n[4]=r[2],n[5]="")}var o=n[3],i=n[1]||ce;return i=(e=f(Se(i,o),2))[0],pe(o=e[1],i,n[4]?+n[4]:void 0,n[5]?+n[5]:void 0)}}],ye=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,ge=[40,function(t){var e=ye.exec(t);return e?pe(e[2],e[1]||ce,+e[3],e[4]?+e[4]:void 0):void 0}],me=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,be=[10,function(t){var e=me.exec(t);return e?pe(e[2],e[3]||ce,+e[1]):void 0}],xe=/ line (\d+), column (\d+)\s*(?:in (?:]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,Ee=[20,function(t){var e=xe.exec(t);return e?pe(e[5],e[3]||e[4]||ce,+e[1],+e[2]):void 0}],Se=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]:ce,n?"safari-extension:"+e:"safari-web-extension:"+e]:[t,e]};function we(t){var e=Te(t),n={type:t&&t.name,value:Re(t)};return e.length&&(n.stacktrace={frames:e}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function ke(t){return{exception:{values:[we(t)]}}}function Te(t){var e=t.stacktrace||t.stack||"",n=function(t){if(t){if("number"==typeof t.framesToPop)return t.framesToPop;if(Oe.test(t.message))return 1}return 0}(t);try{return function(){for(var t=[],e=0;e0&&n(!1)}),t);e.forEach((function(t){T(t).then((function(){--o||(clearTimeout(i),n(!0))}),r)}))}))}}}(30),this._rateLimits={},this._outcomes={},this._api=Jt(t.dsn,t._metadata,t.tunnel),this.url=Qt(this._api.dsn),this.options.sendClientReports&&qe.document&&qe.document.addEventListener("visibilitychange",(function(){"hidden"===qe.document.visibilityState&&e._flushOutcomes()}))}return t.prototype.sendEvent=function(t){return this._sendRequest(function(t,e){var n,r=ne(e),o=t.type||"event",i="transaction"===o||!!e.tunnel,s=(t.sdkProcessingMetadata||{}).transactionSampling||{},a=s.method,u=s.rate;!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=d(t.sdk.integrations||[],e.integrations||[]),t.sdk.packages=d(t.sdk.packages||[],e.packages||[]))}(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(Ut(t))}catch(t){var p=t;n=JSON.stringify({message:"JSON.stringify error after renormalization",extra:{message:p.message,stack:p.stack}})}}var f={body:n,type:o,url:i?Zt(e.dsn,e.tunnel):Qt(e.dsn)};if(i){var l=te(c(c({event_id:t.event_id,sent_at:(new Date).toISOString()},r&&{sdk:r}),!!e.tunnel&&{dsn:Lt(e.dsn)}),[[{type:o,sample_rates:[{id:a,rate:u}]},f.body]]);f.body=ee(l)}return f}(t,this._api),t)},t.prototype.sendSession=function(t){return this._sendRequest(function(t,e){var n=f(re(t,e),2),r=n[0],o=n[1];return{body:ee(r),type:o,url:Zt(e.dsn,e.tunnel)}}(t,this._api),t)},t.prototype.close=function(t){return this._buffer.drain(t)},t.prototype.recordLostEvent=function(t,e){var n;if(this.options.sendClientReports){var r=Ae(e)+":"+t;(0,Q.c)()&&it.log("Adding outcome: "+r),this._outcomes[r]=(null!=(n=this._outcomes[r])?n:0)+1}},t.prototype._flushOutcomes=function(){if(this.options.sendClientReports){var t=this._outcomes;if(this._outcomes={},Object.keys(t).length){(0,Q.c)()&&it.log("Flushing outcomes:\n"+JSON.stringify(t,null,2));var e,n,r=Zt(this._api.dsn,this._api.tunnel),o=(e=Object.keys(t).map((function(e){var n=f(e.split(":"),2),r=n[0];return{reason:n[1],category:r,quantity:t[e]}})),te((n=this._api.tunnel&&Lt(this._api.dsn))?{dsn:n}:{},[[{type:"client_report"},{timestamp:(0,k.yW)(),discarded_events:e}]]));try{!function(t,e){if("[object Navigator]"===Object.prototype.toString.call(Pe&&Pe.navigator)&&"function"==typeof Pe.navigator.sendBeacon)return Pe.navigator.sendBeacon.bind(Pe.navigator)(t,e);se()&&Me()(t,{body:e,method:"POST",credentials:"omit",keepalive:!0}).then(null,(function(t){console.error(t)}))}(r,ee(o))}catch(t){(0,Q.c)()&&it.error(t)}}else(0,Q.c)()&&it.log("No outcomes to flush")}},t.prototype._handleResponse=function(t){var e,n=t.requestType,r=t.response,o=t.headers,i=t.resolve,s=t.reject,a=(e=r.status)>=200&&e<300?"success":429===e?"rate_limit":e>=400&&e<500?"invalid":e>=500?"failed":"unknown";this._rateLimits=function(t,e,n){var r,o,i,s;void 0===n&&(n=Date.now());var a=c({},t),u=e["x-sentry-rate-limits"],f=e["retry-after"];if(u)try{for(var d=p(u.trim().split(",")),l=d.next();!l.done;l=d.next()){var h=l.value.split(":",2),v=parseInt(h[0],10),_=1e3*(isNaN(v)?60:v);if(h[1])try{for(var y=(i=void 0,p(h[1].split(";"))),g=y.next();!g.done;g=y.next())a[g.value]=n+_}catch(t){i={error:t}}finally{try{g&&!g.done&&(s=y.return)&&s.call(y)}finally{if(i)throw i.error}}else a.all=n+_}}catch(t){r={error:t}}finally{try{l&&!l.done&&(o=d.return)&&o.call(d)}finally{if(r)throw r.error}}else f&&(a.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}(f,n));return a}(this._rateLimits,o),this._isRateLimited(n)&&(0,Q.c)()&&(0,Q.c)()&&it.warn("Too many "+n+" requests, backing off until: "+this._disabledUntil(n)),"success"!==a?s(r):i({status:a})},t.prototype._disabledUntil=function(t){var e=Ae(t);return new Date(Le(this._rateLimits,e))},t.prototype._isRateLimited=function(t){var e=Ae(t);return function(t,e,n){return void 0===n&&(n=Date.now()),Le(t,e)>n}(this._rateLimits,e)},t}(),Be=function(t){function e(e,n){void 0===n&&(n=Me());var r=t.call(this,e)||this;return r._fetch=n,r}return a(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:ue()?"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 R((function(e,o){n._fetch(t.url,r).then((function(r){var i={"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:i,resolve:e,reject:o})})).catch(o)}))})).then(void 0,(function(e){throw e instanceof It?n.recordLostEvent("queue_overflow",t.type):n.recordLostEvent("network_error",t.type),e}))},e}(Ue),Fe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(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 R((function(e,r){var o=new XMLHttpRequest;for(var i in o.onreadystatechange=function(){if(4===o.readyState){var i={"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")};n._handleResponse({requestType:t.type,response:o,headers:i,resolve:e,reject:r})}},o.open("POST",t.url),n.options.headers)Object.prototype.hasOwnProperty.call(n.options.headers,i)&&o.setRequestHeader(i,n.options.headers[i]);o.send(t.body)}))})).then(void 0,(function(e){throw e instanceof It?n.recordLostEvent("queue_overflow",t.type):n.recordLostEvent("network_error",t.type),e}))},e}(Ue),He=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.eventFromException=function(t,e){return je(t,e,this._options.attachStacktrace)},e.prototype.eventFromMessage=function(t,e,n){return void 0===e&&(e=u.Info),Ne(t,e,n,this._options.attachStacktrace)},e.prototype._setupTransport=function(){if(!this._options.dsn)return t.prototype._setupTransport.call(this);var e=c(c({},this._options.transportOptions),{dsn:this._options.dsn,tunnel:this._options.tunnel,sendClientReports:this._options.sendClientReports,_metadata:this._options._metadata});return this._options.transport?new this._options.transport(e):se()?new Be(e):new Fe(e)},e}(ie),Ye=(0,j.R)(),We=0;function Ke(){return We>0}function ze(){We+=1,setTimeout((function(){We-=1}))}function Je(t,e,n){if(void 0===e&&(e={}),"function"!=typeof t)return t;try{var r=t.__sentry_wrapped__;if(r)return r;if(F(t))return t}catch(e){return t}var o=function(){var r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);var o=r.map((function(t){return Je(t,e)}));return t.apply(this,o)}catch(t){throw ze(),Ot((function(n){n.addEventProcessor((function(t){return e.mechanism&&($(t,void 0,void 0),V(t,e.mechanism)),t.extra=c(c({},t.extra),{arguments:r}),t})),_t(t)})),t}};try{for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(o[i]=t[i])}catch(t){}B(o,t),U(t,"__sentry_wrapped__",o);try{Object.getOwnPropertyDescriptor(o,"name").configurable&&Object.defineProperty(o,"name",{get:function(){return t.name}})}catch(t){}return o}function Xe(t){if(void 0===t&&(t={}),Ye.document)if(t.eventId)if(t.dsn){var e=Ye.document.createElement("script");e.async=!0,e.src=function(t,e){var n=Pt(t),r=Xt(n)+"embed/error-page/",o="dsn="+Lt(n);for(var i in e)if("dsn"!==i)if("user"===i){if(!e.user)continue;e.user.name&&(o+="&name="+encodeURIComponent(e.user.name)),e.user.email&&(o+="&email="+encodeURIComponent(e.user.email))}else o+="&"+encodeURIComponent(i)+"="+encodeURIComponent(e[i]);return r+"?"+o}(t.dsn,t),t.onLoad&&(e.onload=t.onLoad);var n=Ye.document.head||Ye.document.body;n&&n.appendChild(e)}else(0,Q.c)()&&it.error("Missing dsn option in showReportDialog call");else(0,Q.c)()&&it.error("Missing eventId option in showReportDialog call")}var $e,Ve,Ge,Qe=(0,j.R)(),Ze={},tn={};function en(t,e){Ze[t]=Ze[t]||[],Ze[t].push(e),function(t){if(!tn[t])switch(tn[t]=!0,t){case"console":"console"in Qe&&et.forEach((function(t){t in Qe.console&&q(Qe.console,t,(function(e){return function(){for(var n=[],r=0;r2?e[2]:void 0;if(r){var o=$e,i=String(r);$e=i,nn("history",{from:o,to:i})}return t.apply(this,e)}}}();break;case"error":an=Qe.onerror,Qe.onerror=function(t,e,n,r,o){return nn("error",{column:r,error:o,line:n,msg:t,url:e}),!!an&&an.apply(this,arguments)};break;case"unhandledrejection":un=Qe.onunhandledrejection,Qe.onunhandledrejection=function(t){return nn("unhandledrejection",t),!un||un.apply(this,arguments)};break;default:(0,Q.c)()&&it.warn("unknown instrumentation type:",t)}}(t)}function nn(t,e){var n,r;if(t&&Ze[t])try{for(var o=p(Ze[t]||[]),i=o.next();!i.done;i=o.next()){var s=i.value;try{s(e)}catch(e){(0,Q.c)()&&it.error("Error while triggering instrumentation handler.\nType: "+t+"\nName: "+qt(s)+"\nError:",e)}}}catch(t){n={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}}function rn(t){return void 0===t&&(t=[]),"Request"in Qe&&w(t[0],Request)&&t[0].method?String(t[0].method).toUpperCase():t[1]&&t[1].method?String(t[1].method).toUpperCase():"GET"}function on(t){return void 0===t&&(t=[]),"string"==typeof t[0]?t[0]:"Request"in Qe&&w(t[0],Request)?t[0].url:String(t[0])}function sn(t,e){return void 0===e&&(e=!1),function(n){if(n&&Ge!==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===Ve||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}(Ge,n))&&(t({event:n,name:r,global:e}),Ge=n),clearTimeout(Ve),Ve=Qe.setTimeout((function(){Ve=void 0}),1e3)}}}var an=null,un=null,cn=["fatal","error","warning","log","info","debug","critical"];var pn=function(){function t(e){this.name=t.id,this._options=c({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},e)}return t.prototype.addSentryBreadcrumb=function(t){this._options.sentry&&ft().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:X(t)},{event:t})},t.prototype.setupOnce=function(){var t;this._options.console&&en("console",fn),this._options.dom&&en("dom",(t=this._options.dom,function(e){var n,r="object"==typeof t?t.serializeAttribute:void 0;"string"==typeof r&&(r=[r]);try{n=e.event.target?L(e.event.target,r):L(e.event,r)}catch(t){n=""}0!==n.length&&ft().addBreadcrumb({category:"ui."+e.name,message:n},{event:e.event,name:e.name,global:e.global})})),this._options.xhr&&en("xhr",dn),this._options.fetch&&en("fetch",ln),this._options.history&&en("history",hn)},t.id="Breadcrumbs",t}();function fn(t){var e,n={category:"console",data:{arguments:t.args,logger:"console"},level:(e=t.level,"warn"===e?u.Warning:function(t){return-1!==cn.indexOf(t)}(e)?e:u.Log),message:M(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message="Assertion failed: "+(M(t.args.slice(1)," ")||"console.assert"),n.data.arguments=t.args.slice(1)}ft().addBreadcrumb(n,{input:t.args,level:t.level})}function dn(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;var e=t.xhr.__sentry_xhr__||{},n=e.method,r=e.url,o=e.status_code,i=e.body;ft().addBreadcrumb({category:"xhr",data:{method:n,url:r,status_code:o},type:"http"},{xhr:t.xhr,input:i})}}function ln(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method||(t.error?ft().addBreadcrumb({category:"fetch",data:t.fetchData,level:u.Error,type:"http"},{data:t.error,input:t.args}):ft().addBreadcrumb({category:"fetch",data:c(c({},t.fetchData),{status_code:t.response.status}),type:"http"},{input:t.args,response:t.response})))}function hn(t){var e=(0,j.R)(),n=t.from,r=t.to,o=z(e.location.href),i=z(n),s=z(r);i.path||(i=o),o.protocol===s.protocol&&o.host===s.host&&(r=s.relative),o.protocol===i.protocol&&o.host===i.host&&(n=i.relative),ft().addBreadcrumb({category:"navigation",data:{from:n,to:r}})}var vn,_n=function(t){function e(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:jt}],version:jt},t.call(this,He,e)||this}return a(e,t),e.prototype.showReportDialog=function(t){void 0===t&&(t={}),(0,j.R)().document&&(this._isEnabled()?Xe(c(c({},t),{dsn:t.dsn||this.getDsn()})):(0,Q.c)()&&it.error("Trying to call showReportDialog with Sentry Client disabled"))},e.prototype._prepareEvent=function(e,n,r){return e.platform=e.platform||"javascript",t.prototype._prepareEvent.call(this,e,n,r)},e.prototype._sendEvent=function(e){var n=this.getIntegration(pn);n&&n.addSentryBreadcrumb(e),t.prototype._sendEvent.call(this,e)},e}(zt),yn=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],gn=function(){function t(e){void 0===e&&(e={}),this._options=e,this.name=t.id}return t.prototype.setupOnce=function(e,n){e((function(e){var r=n();if(r){var o=r.getIntegration(t);if(o){var i=r.getClient(),s=i?i.getOptions():{},a=function(t,e){return void 0===t&&(t={}),void 0===e&&(e={}),{allowUrls:d(t.whitelistUrls||[],t.allowUrls||[],e.whitelistUrls||[],e.allowUrls||[]),denyUrls:d(t.blacklistUrls||[],t.denyUrls||[],e.blacklistUrls||[],e.denyUrls||[]),ignoreErrors:d(t.ignoreErrors||[],e.ignoreErrors||[],yn),ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(o._options,s);return function(t,e){return e.ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(t){}return!1}(t)?((0,Q.c)()&&it.warn("Event dropped due to being internal Sentry Error.\nEvent: "+X(t)),!0):function(t,e){return!(!e||!e.length)&&function(t){if(t.message)return[t.message];if(t.exception)try{var e=t.exception.values&&t.exception.values[0]||{},n=e.type,r=void 0===n?"":n,o=e.value,i=void 0===o?"":o;return[""+i,r+": "+i]}catch(e){return(0,Q.c)()&&it.error("Cannot extract message for event "+X(t)),[]}return[]}(t).some((function(t){return e.some((function(e){return A(t,e)}))}))}(t,e.ignoreErrors)?((0,Q.c)()&&it.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+X(t)),!0):function(t,e){if(!e||!e.length)return!1;var n=bn(t);return!!n&&e.some((function(t){return A(n,t)}))}(t,e.denyUrls)?((0,Q.c)()&&it.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: "+X(t)+".\nUrl: "+bn(t)),!0):!function(t,e){if(!e||!e.length)return!0;var n=bn(t);return!n||e.some((function(t){return A(n,t)}))}(t,e.allowUrls)&&((0,Q.c)()&&it.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: "+X(t)+".\nUrl: "+bn(t)),!0)}(e,a)?null:e}}return e}))},t.id="InboundFilters",t}();function mn(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 bn(t){try{if(t.stacktrace)return mn(t.stacktrace.frames);var e;try{e=t.exception.values[0].stacktrace.frames}catch(t){}return e?mn(e):null}catch(e){return(0,Q.c)()&&it.error("Cannot extract url for event "+X(t)),null}}var xn=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){vn=Function.prototype.toString,Function.prototype.toString=function(){for(var t=[],e=0;e0?e:function(){var t=(0,j.R)();try{return t.document.location.href}catch(t){return""}}();return 0===u.length&&u.push({colno:c,filename:f,function:"?",in_app:!0,lineno:p}),t}function Dn(t,e,n,r){V(n,{handled:!1,type:r}),t.captureEvent(n,{originalException:e})}function Ln(){var t=ft(),e=t.getClient();return[t,e&&e.getOptions().attachStacktrace]}var Cn=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._key=e.key||"cause",this._limit=e.limit||5}return t.prototype.setupOnce=function(){D((function(e,n){var r=ft().getIntegration(t);return r?function(t,e,n,r){if(!(n.exception&&n.exception.values&&r&&w(r.originalException,Error)))return n;var o=Pn(e,r.originalException,t);return n.exception.values=d(o,n.exception.values),n}(r._key,r._limit,e,n):e}))},t.id="LinkedErrors",t}();function Pn(t,e,n,r){if(void 0===r&&(r=[]),!w(e[n],Error)||r.length+1>=t)return r;var o=we(e[n]);return Pn(t,e[n],n,d([o],r))}var Mn=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(e,n){e((function(e){var r=n().getIntegration(t);if(r){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&&(!!qn(t,e)&&!!An(t,e))))}(t,e)||!!function(t,e){var n=Un(e),r=Un(t);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!qn(t,e)&&!!An(t,e)))}(t,e))}(e,r._previousEvent))return(0,Q.c)()&&it.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){return r._previousEvent=e}return r._previousEvent=e}return e}))},t.id="Dedupe",t}();function An(t,e){var n=Bn(t),r=Bn(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 o=0;o{function r(){return!0}function o(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}n.d(e,{c:()=>r,n:()=>o})},991:(t,e,n)=>{n.d(e,{R:()=>i});var r=n(422),o={};function i(){return(0,r.KV)()?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o}},422:(t,e,n)=>{n.d(e,{KV:()=>o,l$:()=>i});var r=n(518);function o(){return!(0,r.n)()&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function i(t,e){return t.require(e)}t=n.hmd(t)},170:(t,e,n)=>{n.d(e,{ph:()=>c,yW:()=>u});var r=n(991),o=n(422);t=n.hmd(t);var i={nowSeconds:function(){return Date.now()/1e3}},s=(0,o.KV)()?function(){try{return(0,o.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?i:{nowSeconds:function(){return(s.timeOrigin+s.now())/1e3}},u=i.nowSeconds.bind(i),c=a.nowSeconds.bind(a);!function(){var t=(0,r.R)().performance;if(t&&t.now){var e=36e5,n=t.now(),o=Date.now(),i=t.timeOrigin?Math.abs(t.timeOrigin+n-o):e,s=i{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),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{throw n(185).init({dsn:"http://c30a07050f594ecc9bd3cb97604f9da1@172.17.0.1:8000/1",release:"test"}),Error("The error")})()})(); //# sourceMappingURL=bundle.js.map