/*! For license information please see sentry.b40fb2c9083b8458a8a1.js.LICENSE.txt */
!function(){"use strict";var t={912:function(t,e,n){n.r(e),n.d(e,{BrowserClient:function(){return Dn},Hub:function(){return ct},Integrations:function(){return yr},SDK_NAME:function(){return lr},SDK_VERSION:function(){return Dt},Scope:function(){return j},Session:function(){return at},Severity:function(){return u},Transports:function(){return i},addBreadcrumb:function(){return xt},addGlobalEventProcessor:function(){return N},captureEvent:function(){return mt},captureException:function(){return _t},captureMessage:function(){return gt},close:function(){return pr},configureScope:function(){return bt},defaultIntegrations:function(){return rr},eventFromException:function(){return Ie},eventFromMessage:function(){return Pe},flush:function(){return cr},forceLoad:function(){return ar},getCurrentHub:function(){return dt},getHubFromCarrier:function(){return ht},init:function(){return or},injectReportDialog:function(){return cn},lastEventId:function(){return sr},makeMain:function(){return ft},onLoad:function(){return ur},setContext:function(){return wt},setExtra:function(){return kt},setExtras:function(){return St},setTag:function(){return Ot},setTags:function(){return Et},setUser:function(){return Tt},showReportDialog:function(){return ir},startTransaction:function(){return jt},withScope:function(){return Rt},wrap:function(){return fr}});var r={};n.r(r),n.d(r,{FunctionToString:function(){return Ln},InboundFilters:function(){return In}});var o={};n.r(o),n.d(o,{Breadcrumbs:function(){return En},Dedupe:function(){return Jn},GlobalHandlers:function(){return zn},LinkedErrors:function(){return Kn},TryCatch:function(){return qn},UserAgent:function(){return nr}});var i={};n.r(i),n.d(i,{BaseTransport:function(){return Qe},FetchTransport:function(){return Ze},XHRTransport:function(){return nn},makeNewFetchTransport:function(){return Ge},makeNewXHRTransport:function(){return en}});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<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},c.apply(this,arguments)};function p(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}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;e<arguments.length;e++)t=t.concat(f(arguments[e]));return t}!function(t){t.Fatal="fatal",t.Error="error",t.Warning="warning",t.Log="log",t.Info="info",t.Debug="debug",t.Critical="critical"}(u||(u={}));var l=Object.prototype.toString;function h(t){switch(l.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return S(t,Error)}}function v(t,e){return l.call(t)==="[object "+e+"]"}function y(t){return v(t,"ErrorEvent")}function _(t){return v(t,"DOMError")}function g(t){return v(t,"String")}function m(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function b(t){return v(t,"Object")}function x(t){return"undefined"!=typeof Event&&S(t,Event)}function w(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function S(t,e){try{return t instanceof e}catch(t){return!1}}var E=n(297);function k(t){return new T((function(e){e(t)}))}function O(t){return new T((function(e,n){n(t)}))}var T=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&&(w(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,o){r._handlers.push([!1,function(n){if(e)try{t(e(n))}catch(t){o(t)}else t(n)},function(e){if(n)try{t(n(e))}catch(t){o(t)}else o(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 o,i;return n.then((function(t){i=!1,o=t,e&&e()}),(function(t){i=!0,o=t,e&&e()})).then((function(){i?r(o):t(o)}))}))},t}(),R=n(475),j=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=d(e._breadcrumbs),n._tags=c({},e._tags),n._extra=c({},e._extra),n._contexts=c({},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=d(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=c(c({},this._tags),t),this._notifyScopeListeners(),this},t.prototype.setTag=function(t,e){var n;return this._tags=c(c({},this._tags),((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setExtras=function(t){return this._extra=c(c({},this._extra),t),this._notifyScopeListeners(),this},t.prototype.setExtra=function(t,e){var n;return this._extra=c(c({},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=c(c({},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=c(c({},this._tags),e._tags),this._extra=c(c({},this._extra),e._extra),this._contexts=c(c({},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)):b(e)&&(this._tags=c(c({},this._tags),e.tags),this._extra=c(c({},this._extra),e.extra),this._contexts=c(c({},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 r=c({timestamp:(0,E.lu)()},t);return this._breadcrumbs=d(this._breadcrumbs,[r]).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=c(c({},this._extra),t.extra)),this._tags&&Object.keys(this._tags).length&&(t.tags=c(c({},this._tags),t.tags)),this._user&&Object.keys(this._user).length&&(t.user=c(c({},this._user),t.user)),this._contexts&&Object.keys(this._contexts).length&&(t.contexts=c(c({},this._contexts),t.contexts)),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts=c({trace:this._span.getTraceContext()},t.contexts);var n=this._span.transaction&&this._span.transaction.name;n&&(t.tags=c({transaction:n},t.tags))}return this._applyFingerprint(t),t.breadcrumbs=d(t.breadcrumbs||[],this._breadcrumbs),t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata=this._sdkProcessingMetadata,this._notifyEventProcessors(d(D(),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 T((function(i,s){var a=t[r];if(null===e||"function"!=typeof a)i(e);else{var u=a(c({},e),n);w(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 D(){return(0,R.B)("globalEventProcessors",(function(){return[]}))}function N(t){D().push(t)}function I(t,e){try{for(var n=t,r=[],o=0,i=0,s=void 0;n&&o++<5&&!("html"===(s=P(n,e))||o>1&&i+3*r.length+s.length>=80);)r.push(s),i+=s.length,n=n.parentNode;return r.reverse().join(" > ")}catch(t){return"<unknown>"}}function P(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<r.length;s++)u.push("."+r[s]);var p=["type","name","title","alt"];for(s=0;s<p.length;s++)o=p[s],(i=a.getAttribute(o))&&u.push("["+o+'="'+i+'"]');return u.join("")}function C(t,e){return void 0===e&&(e=0),"string"!=typeof t||0===e||t.length<=e?t:t.substr(0,e)+"..."}function L(t,e){if(!Array.isArray(t))return"";for(var n=[],r=0;r<t.length;r++){var o=t[r];try{n.push(String(o))}catch(t){n.push("[value cannot be serialized]")}}return n.join(e)}function M(t,e){return!!g(t)&&(v(e,"RegExp")?e.test(t):"string"==typeof e&&-1!==t.indexOf(e))}function q(t,e,n){if(e in t){var r=t[e],o=n(r);if("function"==typeof o)try{A(o,r)}catch(t){}t[e]=o}}function U(t,e,n){Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}function A(t,e){var n=e.prototype||{};t.prototype=e.prototype=n,U(t,"__sentry_original__",e)}function B(t){return t.__sentry_original__}function F(t){var e=t;if(h(t))e=c({message:t.message,name:t.name,stack:t.stack},H(t));else if(x(t)){var n=t;e=c({type:n.type,target:z(n.target),currentTarget:z(n.currentTarget)},H(n)),"undefined"!=typeof CustomEvent&&S(t,CustomEvent)&&(e.detail=n.detail)}return e}function z(t){try{return"undefined"!=typeof Element&&S(t,Element)?I(t):Object.prototype.toString.call(t)}catch(t){return"<unknown>"}}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 C(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:C(o,e)}return""}function W(t){var e,n;if(b(t)){var r={};try{for(var o=p(Object.keys(t)),i=o.next();!i.done;i=o.next()){var s=i.value;void 0!==t[s]&&(r[s]=W(t[s]))}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r}return Array.isArray(t)?t.map(W):t}function Y(){var t=(0,R.V)(),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 X(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 K(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function G(t){var e=t.message,n=t.event_id;if(e)return e;var r=K(t);return r?r.type&&r.value?r.type+": "+r.value:r.type||r.value||n||"<unknown>":n||"<unknown>"}function J(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 $(t,e){var n=K(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 Q(t){if(t&&t.__sentry_captured__)return!0;try{U(t,"__sentry_captured__",!0)}catch(t){}return!1}var Z,tt="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,et=(0,R.V)(),nt=["debug","info","warn","error","log","assert"];function rt(t){var e=(0,R.V)();if(!("console"in e))return t();var n=e.console,r={};nt.forEach((function(t){var o=n[t]&&n[t].__sentry_original__;t in e.console&&o&&(r[t]=n[t],n[t]=o)}));try{return t()}finally{Object.keys(r).forEach((function(t){n[t]=r[t]}))}}function ot(){var t=!1,e={enable:function(){t=!0},disable:function(){t=!1}};return tt?nt.forEach((function(n){e[n]=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];t&&rt((function(){var t;(t=et.console)[n].apply(t,d(["Sentry Logger ["+n+"]:"],e))}))}})):nt.forEach((function(t){e[t]=function(){}})),e}Z=tt?(0,R.B)("logger",ot):ot();var it=n(258),st="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,at=function(){function t(t){this.errors=0,this.sid=Y(),this.duration=0,this.status="ok",this.init=!0,this.ignoreDuration=!1;var e=(0,E.zf)();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,E.zf)(),t.ignoreDuration&&(this.ignoreDuration=t.ignoreDuration),t.sid&&(this.sid=32===t.sid.length?t.sid:Y()),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 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=4,ct=function(){function t(t,e,n){void 0===e&&(e=new j),void 0===n&&(n=ut),this._version=n,this._stack=[{}],this.getStackTop().scope=e,t&&this.bindClient(t)}return t.prototype.isOlderThan=function(t){return this._version<t},t.prototype.bindClient=function(t){this.getStackTop().client=t,t&&t.setupIntegrations&&t.setupIntegrations()},t.prototype.pushScope=function(){var t=j.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t},t.prototype.popScope=function(){return!(this.getStack().length<=1||!this.getStack().pop())},t.prototype.withScope=function(t){var e=this.pushScope();try{t(e)}finally{this.popScope()}},t.prototype.getClient=function(){return this.getStackTop().client},t.prototype.getScope=function(){return this.getStackTop().scope},t.prototype.getStack=function(){return this._stack},t.prototype.getStackTop=function(){return this._stack[this._stack.length-1]},t.prototype.captureException=function(t,e){var n=this._lastEventId=e&&e.event_id?e.event_id:Y(),r=e;if(!e){var o=void 0;try{throw new Error("Sentry syntheticException")}catch(t){o=t}r={originalException:t,syntheticException:o}}return this._invokeClient("captureException",t,c(c({},r),{event_id:n})),n},t.prototype.captureMessage=function(t,e,n){var r=this._lastEventId=n&&n.event_id?n.event_id:Y(),o=n;if(!n){var i=void 0;try{throw new Error(t)}catch(t){i=t}o={originalException:t,syntheticException:i}}return this._invokeClient("captureMessage",t,e,c(c({},o),{event_id:r})),r},t.prototype.captureEvent=function(t,e){var n=e&&e.event_id?e.event_id:Y();return"transaction"!==t.type&&(this._lastEventId=n),this._invokeClient("captureEvent",t,c(c({},e),{event_id:n})),n},t.prototype.lastEventId=function(){return this._lastEventId},t.prototype.addBreadcrumb=function(t,e){var n=this.getStackTop(),r=n.scope,o=n.client;if(r&&o){var i=o.getOptions&&o.getOptions()||{},s=i.beforeBreadcrumb,a=void 0===s?null:s,u=i.maxBreadcrumbs,p=void 0===u?100:u;if(!(p<=0)){var f=(0,E.lu)(),d=c({timestamp:f},t),l=a?rt((function(){return a(d,e)})):d;null!==l&&r.addBreadcrumb(l,p)}}},t.prototype.setUser=function(t){var e=this.getScope();e&&e.setUser(t)},t.prototype.setTags=function(t){var e=this.getScope();e&&e.setTags(t)},t.prototype.setExtras=function(t){var e=this.getScope();e&&e.setExtras(t)},t.prototype.setTag=function(t,e){var n=this.getScope();n&&n.setTag(t,e)},t.prototype.setExtra=function(t,e){var n=this.getScope();n&&n.setExtra(t,e)},t.prototype.setContext=function(t,e){var n=this.getScope();n&&n.setContext(t,e)},t.prototype.configureScope=function(t){var e=this.getStackTop(),n=e.scope,r=e.client;n&&r&&t(n)},t.prototype.run=function(t){var e=ft(this);try{t(this)}finally{ft(e)}},t.prototype.getIntegration=function(t){var e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(e){return st&&Z.warn("Cannot retrieve integration "+t.id+" from the current Hub"),null}},t.prototype.startSpan=function(t){return this._callExtensionMethod("startSpan",t)},t.prototype.startTransaction=function(t,e){return this._callExtensionMethod("startTransaction",t,e)},t.prototype.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},t.prototype.captureSession=function(t){if(void 0===t&&(t=!1),t)return this.endSession();this._sendSessionUpdate()},t.prototype.endSession=function(){var t=this.getStackTop(),e=t&&t.scope,n=e&&e.getSession();n&&n.close(),this._sendSessionUpdate(),e&&e.setSession()},t.prototype.startSession=function(t){var e=this.getStackTop(),n=e.scope,r=e.client,o=r&&r.getOptions()||{},i=o.release,s=o.environment,a=((0,R.V)().navigator||{}).userAgent,u=new at(c(c(c({release:i,environment:s},n&&{user:n.getUser()}),a&&{userAgent:a}),t));if(n){var p=n.getSession&&n.getSession();p&&"ok"===p.status&&p.update({status:"exited"}),this.endSession(),n.setSession(u)}return u},t.prototype._sendSessionUpdate=function(){var t=this.getStackTop(),e=t.scope,n=t.client;if(e){var r=e.getSession&&e.getSession();r&&n&&n.captureSession&&n.captureSession(r)}},t.prototype._invokeClient=function(t){for(var e,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=this.getStackTop(),i=o.scope,s=o.client;s&&s[t]&&(e=s)[t].apply(e,d(n,[i]))},t.prototype._callExtensionMethod=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=pt().__SENTRY__;if(r&&r.extensions&&"function"==typeof r.extensions[t])return r.extensions[t].apply(this,e);st&&Z.warn("Extension method "+t+" couldn't be found, doing nothing.")},t}();function pt(){var t=(0,R.V)();return t.__SENTRY__=t.__SENTRY__||{extensions:{},hub:void 0},t}function ft(t){var e=pt(),n=ht(e);return vt(e,t),n}function dt(){var t=pt();return lt(t)&&!ht(t).isOlderThan(ut)||vt(t,new ct),(0,it.wD)()?function(t){try{var e=pt().__SENTRY__,n=e&&e.extensions&&e.extensions.domain&&e.extensions.domain.active;if(!n)return ht(t);if(!lt(n)||ht(n).isOlderThan(ut)){var r=ht(t).getStackTop();vt(n,new ct(r.client,j.clone(r.scope)))}return ht(n)}catch(e){return ht(t)}}(t):ht(t)}function lt(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function ht(t){return(0,R.B)("hub",(function(){return new ct}),t)}function vt(t,e){return!!t&&((t.__SENTRY__=t.__SENTRY__||{}).hub=e,!0)}function yt(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=dt();if(r&&r[t])return r[t].apply(r,d(e));throw new Error("No hub defined or "+t+" was not found on the hub, please open a bug report.")}function _t(t,e){return yt("captureException",t,{captureContext:e,originalException:t,syntheticException:new Error("Sentry syntheticException")})}function gt(t,e){var n=new Error(t);return yt("captureMessage",t,"string"==typeof e?e:void 0,c({originalException:t,syntheticException:n},"string"!=typeof e?{captureContext:e}:void 0))}function mt(t){return yt("captureEvent",t)}function bt(t){yt("configureScope",t)}function xt(t){yt("addBreadcrumb",t)}function wt(t,e){yt("setContext",t,e)}function St(t){yt("setExtras",t)}function Et(t){yt("setTags",t)}function kt(t,e){yt("setExtra",t,e)}function Ot(t,e){yt("setTag",t,e)}function Tt(t){yt("setUser",t)}function Rt(t){yt("withScope",t)}function jt(t,e){return yt("startTransaction",c({},t),e)}var Dt="6.19.7",Nt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){return t.__proto__=e,t}:function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(t,n)||(t[n]=e[n]);return t}),It=function(t){function e(e){var n=this.constructor,r=t.call(this,e)||this;return r.message=e,r.name=n.prototype.constructor.name,Nt(r,n.prototype),r}return a(e,t),e}(Error),Pt=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Ct(t,e){void 0===e&&(e=!1);var n=t.host,r=t.path,o=t.pass,i=t.port,s=t.projectId;return t.protocol+"://"+t.publicKey+(e&&o?":"+o:"")+"@"+n+(i?":"+i:"")+"/"+(r?r+"/":r)+s}function Lt(t){return"user"in t&&!("publicKey"in t)&&(t.publicKey=t.user),{user:t.publicKey||"",protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function Mt(t){var e="string"==typeof t?function(t){var e=Pt.exec(t);if(!e)throw new It("Invalid Sentry Dsn: "+t);var n=f(e.slice(1),6),r=n[0],o=n[1],i=n[2],s=void 0===i?"":i,a=n[3],u=n[4],c=void 0===u?"":u,p="",d=n[5],l=d.split("/");if(l.length>1&&(p=l.slice(0,-1).join("/"),d=l.pop()),d){var h=d.match(/^\d+/);h&&(d=h[0])}return Lt({host:a,pass:s,path:p,projectId:d,port:c,protocol:r,publicKey:o})}(t):Lt(t);return function(t){if(tt){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}var qt=50;var Ut="<anonymous>";function At(t){try{return t&&"function"==typeof t&&t.name||Ut}catch(t){return Ut}}function Bt(t,e,n){void 0===e&&(e=1/0),void 0===n&&(n=1/0);try{return zt("",t,e,n)}catch(t){return{ERROR:"**non-serializable** ("+t+")"}}}function Ft(t,e,n){void 0===e&&(e=3),void 0===n&&(n=102400);var r,o=Bt(t,e);return r=o,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(r))>n?Ft(t,e-1,n):o}function zt(t,e,r,o,i){var s,a;void 0===r&&(r=1/0),void 0===o&&(o=1/0),void 0===i&&(s="function"==typeof WeakSet,a=s?new WeakSet:[],i=[function(t){if(s)return!!a.has(t)||(a.add(t),!1);for(var e=0;e<a.length;e++)if(a[e]===t)return!0;return a.push(t),!1},function(t){if(s)a.delete(t);else for(var e=0;e<a.length;e++)if(a[e]===t){a.splice(e,1);break}}]);var u,c=f(i,2),p=c[0],d=c[1],l=e;if(l&&"function"==typeof l.toJSON)try{return l.toJSON()}catch(t){}if(null===e||["number","boolean","string"].includes(typeof e)&&("number"!=typeof(u=e)||u==u))return e;var v=function(t,e){try{return"domain"===t&&e&&"object"==typeof e&&e._events?"[Domain]":"domainEmitter"===t?"[DomainEmitter]":void 0!==n.g&&e===n.g?"[Global]":"undefined"!=typeof window&&e===window?"[Window]":"undefined"!=typeof document&&e===document?"[Document]":function(t){return b(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}(e)?"[SyntheticEvent]":"number"==typeof e&&e!=e?"[NaN]":void 0===e?"[undefined]":"function"==typeof e?"[Function: "+At(e)+"]":"symbol"==typeof e?"["+String(e)+"]":"bigint"==typeof e?"[BigInt: "+String(e)+"]":"[object "+Object.getPrototypeOf(e).constructor.name+"]"}catch(t){return"**non-serializable** ("+t+")"}}(t,e);if(!v.startsWith("[object "))return v;if(0===r)return v.replace("object ","");if(p(e))return"[Circular ~]";var y=Array.isArray(e)?[]:{},_=0,g=h(e)||x(e)?F(e):e;for(var m in g)if(Object.prototype.hasOwnProperty.call(g,m)){if(_>=o){y[m]="[MaxProperties ~]";break}var w=g[m];y[m]=zt(m,w,r-1,o,i),_+=1}return d(e),y}var Ht="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,Vt=[];function Wt(t){return t.reduce((function(t,e){return t.every((function(t){return e.name!==t.name}))&&t.push(e),t}),[])}var Yt="Not capturing exception because it's already been captured.",Xt=function(){function t(t,e){this._integrations={},this._numProcessing=0,this._backend=new t(e),this._options=e,e.dsn&&(this._dsn=Mt(e.dsn))}return t.prototype.captureException=function(t,e,n){var r=this;if(!Q(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}Ht&&Z.log(Yt)},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&&Q(e.originalException))){var r=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then((function(t){r=t}))),r}Ht&&Z.log(Yt)},t.prototype.captureSession=function(t){this._isEnabled()?"string"!=typeof t.release?Ht&&Z.warn("Discarded session because of missing or non-string release"):(this._sendSession(t),t.update({init:!1})):Ht&&Z.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===Vt.indexOf(t.name)&&(t.setupOnce(N,dt),Vt.push(t.name),Ht&&Z.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 Ht&&Z.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 T((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:Y()),timestamp:t.timestamp||(0,E.lu)()});this._applyClientOptions(p),this._applyIntegrationsMetadata(p);var f=e;n&&n.captureContext&&(f=j.clone(f).update(n.captureContext));var d=k(p);return f&&(d=f.applyToEvent(p,n)),d.then((function(t){return t&&(t.sdkProcessingMetadata=c(c({},t.sdkProcessingMetadata),{normalizeDepth:Bt(s)+" ("+typeof 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:Bt(t.data,e,n)})}))}),t.user&&{user:Bt(t.user,e,n)}),t.contexts&&{contexts:Bt(t.contexts,e,n)}),t.extra&&{extra:Bt(t.extra,e,n)});return t.contexts&&t.contexts.trace&&(r.contexts.trace=t.contexts.trace),r.sdkProcessingMetadata=c(c({},r.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=C(t.message,s));var a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=C(a.value,s));var u=t.request;u&&u.url&&(u.url=C(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){Ht&&Z.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(w(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}(),Kt="7";function Gt(t,e,n){return{initDsn:t,metadata:e||{},dsn:Mt(t),tunnel:n}}function Jt(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""+Jt(t)+t.projectId+"/"+e+"/"}function Qt(t){return e={sentry_key:t.publicKey,sentry_version:Kt},Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&");var e}function Zt(t){return $t(t,"store")}function te(t){return Zt(t)+"?"+Qt(t)}function ee(t,e){return e||function(t){return $t(t,"envelope")}(t)+"?"+Qt(t)}function ne(t,e){return void 0===e&&(e=[]),[t,e]}function re(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 oe(t){if(t.metadata&&t.metadata.sdk){var e=t.metadata.sdk;return{name:e.name,version:e.version}}}function ie(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=d(t.sdk.integrations||[],e.integrations||[]),t.sdk.packages=d(t.sdk.packages||[],e.packages||[]),t):t}function se(t,e){var n=oe(e),r="aggregates"in t?"sessions":"session";return[ne(c(c({sent_at:(new Date).toISOString()},n&&{sdk:n}),!!e.tunnel&&{dsn:Ct(e.dsn)}),[[{type:r},t]]),r]}!function(){function t(t,e,n){void 0===e&&(e={}),this.dsn=t,this._dsnObject=Mt(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 Jt(this._dsnObject)},t.prototype.getStoreEndpoint=function(){return Zt(this._dsnObject)},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return te(this._dsnObject)},t.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return ee(this._dsnObject,this._tunnel)}}();var ae=function(){function t(){}return t.prototype.sendEvent=function(t){return k({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:"skipped"})},t.prototype.close=function(t){return k(!0)},t}(),ue=function(){function t(t){this._options=t,this._options.dsn||Ht&&Z.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=oe(e),r=t.type||"event",o=(t.sdkProcessingMetadata||{}).transactionSampling||{},i=o.method,s=o.rate;return ie(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,ne(c(c({event_id:t.event_id,sent_at:(new Date).toISOString()},n&&{sdk:n}),!!e.tunnel&&{dsn:Ct(e.dsn)}),[[{type:r,sample_rates:[{id:i,rate:s}]},t]])}(t,Gt(this._options.dsn,this._options._metadata,this._options.tunnel));this._newTransport.send(e).then(null,(function(t){Ht&&Z.error("Error while sending event:",t)}))}else this._transport.sendEvent(t).then(null,(function(t){Ht&&Z.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(se(t,Gt(this._options.dsn,this._options._metadata,this._options.tunnel)),1)[0];this._newTransport.send(e).then(null,(function(t){Ht&&Z.error("Error while sending session:",t)}))}else this._transport.sendSession(t).then(null,(function(t){Ht&&Z.error("Error while sending session:",t)}));else Ht&&Z.warn("Dropping session because custom transport doesn't implement sendSession")},t.prototype.getTransport=function(){return this._transport},t.prototype._setupTransport=function(){return new ae},t}();function ce(){if(!("fetch"in(0,R.V)()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}function pe(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function fe(){if(!ce())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(t){return!1}}var de="?";function le(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 he=/^\s*at (?:(.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,ve=/\((\S*)(?::(\d+))(?::(\d+))\)/,ye=[30,function(t){var e=he.exec(t);if(e){if(e[2]&&0===e[2].indexOf("eval")){var n=ve.exec(e[2]);n&&(e[2]=n[1],e[3]=n[2],e[4]=n[3])}var r=f(Oe(e[1]||de,e[2]),2),o=r[0];return le(r[1],o,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}}],_e=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,ge=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,me=[50,function(t){var e,n=_e.exec(t);if(n){if(n[3]&&n[3].indexOf(" > eval")>-1){var r=ge.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]||de;return i=(e=f(Oe(i,o),2))[0],le(o=e[1],i,n[4]?+n[4]:void 0,n[5]?+n[5]:void 0)}}],be=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,xe=[40,function(t){var e=be.exec(t);return e?le(e[2],e[1]||de,+e[3],e[4]?+e[4]:void 0):void 0}],we=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,Se=[10,function(t){var e=we.exec(t);return e?le(e[2],e[3]||de,+e[1]):void 0}],Ee=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,ke=[20,function(t){var e=Ee.exec(t);return e?le(e[5],e[3]||e[4]||de,+e[1],+e[2]):void 0}],Oe=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]:de,n?"safari-extension:"+e:"safari-web-extension:"+e]:[t,e]};function Te(t){var e=je(t),n={type:t&&t.name,value:Ne(t)};return e.length&&(n.stacktrace={frames:e}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function Re(t){return{exception:{values:[Te(t)]}}}function je(t){var e=t.stacktrace||t.stack||"",n=function(t){if(t){if("number"==typeof t.framesToPop)return t.framesToPop;if(De.test(t.message))return 1}return 0}(t);try{return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t.sort((function(t,e){return t[0]-e[0]})).map((function(t){return t[1]}));return function(t,e){var r,o,i,s;void 0===e&&(e=0);var a=[];try{for(var u=p(t.split("\n").slice(e)),f=u.next();!f.done;f=u.next()){var d=f.value;try{for(var l=(i=void 0,p(n)),h=l.next();!h.done;h=l.next()){var v=(0,h.value)(d);if(v){a.push(v);break}}}catch(t){i={error:t}}finally{try{h&&!h.done&&(s=l.return)&&s.call(l)}finally{if(i)throw i.error}}}}catch(t){r={error:t}}finally{try{f&&!f.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}return function(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,qt).map((function(t){return c(c({},t),{filename:t.filename||e[0].filename,function:t.function||"?"})})).reverse()}(a)}}(Se,ke,ye,xe,me)(e,n)}catch(t){}return[]}var De=/Minified React error #\d+;/i;function Ne(t){var e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function Ie(t,e,n){var r=Ce(t,e&&e.syntheticException||void 0,n);return $(r),r.level=u.Error,e&&e.event_id&&(r.event_id=e.event_id),k(r)}function Pe(t,e,n,r){void 0===e&&(e=u.Info);var o=Le(t,n&&n.syntheticException||void 0,r);return o.level=e,n&&n.event_id&&(o.event_id=n.event_id),k(o)}function Ce(t,e,n,r){var o;if(y(t)&&t.error)return Re(t.error);if(_(t)||v(t,"DOMException")){var i=t;if("stack"in t)o=Re(t);else{var s=i.name||(_(i)?"DOMError":"DOMException"),a=i.message?s+": "+i.message:s;J(o=Le(a,e,n),a)}return"code"in i&&(o.tags=c(c({},o.tags),{"DOMException.code":""+i.code})),o}return h(t)?Re(t):b(t)||x(t)?(o=function(t,e,n){var r={exception:{values:[{type:x(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:"Non-Error "+(n?"promise rejection":"exception")+" captured with keys: "+V(t)}]},extra:{__serialized__:Ft(t)}};if(e){var o=je(e);o.length&&(r.stacktrace={frames:o})}return r}(t,e,r),$(o,{synthetic:!0}),o):(J(o=Le(t,e,n),""+t,void 0),$(o,{synthetic:!0}),o)}function Le(t,e,n){var r={message:t};if(n&&e){var o=je(e);o.length&&(r.stacktrace={frames:o})}return r}function Me(t){var e=[];function n(t){return e.splice(e.indexOf(t),1)[0]}return{$:e,add:function(r){if(!(void 0===t||e.length<t))return O(new It("Not adding Promise due to buffer limit reached."));var o=r();return-1===e.indexOf(o)&&e.push(o),o.then((function(){return n(o)})).then(null,(function(){return n(o).then(null,(function(){}))})),o},drain:function(t){return new T((function(n,r){var o=e.length;if(!o)return n(!0);var i=setTimeout((function(){t&&t>0&&n(!1)}),t);e.forEach((function(t){k(t).then((function(){--o||(clearTimeout(i),n(!0))}),r)}))}))}}}var qe=6e4;function Ue(t,e){return t[e]||t.all||0}function Ae(t,e,n){return void 0===n&&(n=Date.now()),Ue(t,e)>n}function Be(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),y=1e3*(isNaN(v)?60:v);if(h[1])try{for(var _=(i=void 0,p(h[1].split(";"))),g=_.next();!g.done;g=_.next())a[g.value]=n+y}catch(t){i={error:t}}finally{try{g&&!g.done&&(s=_.return)&&s.call(_)}finally{if(i)throw i.error}}else a.all=n+y}}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)?qe:r-e}(f,n));return a}function Fe(t){return t>=200&&t<300?"success":429===t?"rate_limit":t>=400&&t<500?"invalid":t>=500?"failed":"unknown"}var ze=30;function He(t,e,n){void 0===n&&(n=Me(t.bufferSize||ze));var r={};return{send:function(t){var o=function(t){var e=f(t,2),n=f(e[1],1);return f(n[0],1)[0].type}(t),i="event"===o?"error":o,s={category:i,body:re(t)};return Ae(r,i)?O({status:"rate_limit",reason:Ve(r,i)}):n.add((function(){return e(s).then((function(t){var e=t.body,n=t.headers,o=t.reason,s=Fe(t.statusCode);return n&&(r=Be(r,n)),"success"===s?k({status:s,reason:o}):O({status:s,reason:o||e||("rate_limit"===s?Ve(r,i):"Unknown transport error")})}))}))},flush:function(t){return n.drain(t)}}}function Ve(t,e){return"Too many "+e+" requests, backing off until: "+new Date(Ue(t,e)).toISOString()}var We,Ye="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,Xe=(0,R.V)();function Ke(){if(We)return We;if(pe(Xe.fetch))return We=Xe.fetch.bind(Xe);var t=Xe.document,e=Xe.fetch;if(t&&"function"==typeof t.createElement)try{var n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n);var r=n.contentWindow;r&&r.fetch&&(e=r.fetch),t.head.removeChild(n)}catch(t){Ye&&Z.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return We=e.bind(Xe)}function Ge(t,e){return void 0===e&&(e=Ke()),He({bufferSize:t.bufferSize},(function(n){var r=c({body:n.body,method:"POST",referrerPolicy:"origin"},t.requestOptions);return e(t.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}}))}))}))}function Je(t){return"event"===t?"error":t}var $e=(0,R.V)(),Qe=function(){function t(t){var e=this;this.options=t,this._buffer=Me(30),this._rateLimits={},this._outcomes={},this._api=Gt(t.dsn,t._metadata,t.tunnel),this.url=te(this._api.dsn),this.options.sendClientReports&&$e.document&&$e.document.addEventListener("visibilitychange",(function(){"hidden"===$e.document.visibilityState&&e._flushOutcomes()}))}return t.prototype.sendEvent=function(t){return this._sendRequest(function(t,e){var n,r=oe(e),o=t.type||"event",i="transaction"===o||!!e.tunnel,s=(t.sdkProcessingMetadata||{}).transactionSampling||{},a=s.method,u=s.rate;ie(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(Bt(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?ee(e.dsn,e.tunnel):te(e.dsn)};if(i){var d=ne(c(c({event_id:t.event_id,sent_at:(new Date).toISOString()},r&&{sdk:r}),!!e.tunnel&&{dsn:Ct(e.dsn)}),[[{type:o,sample_rates:[{id:a,rate:u}]},f.body]]);f.body=re(d)}return f}(t,this._api),t)},t.prototype.sendSession=function(t){return this._sendRequest(function(t,e){var n=f(se(t,e),2),r=n[0],o=n[1];return{body:re(r),type:o,url:ee(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=Je(e)+":"+t;Ye&&Z.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){Ye&&Z.log("Flushing outcomes:\n"+JSON.stringify(t,null,2));var e,n,r=ee(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]}})),ne((n=this._api.tunnel&&Ct(this._api.dsn))?{dsn:n}:{},[[{type:"client_report"},{timestamp:(0,E.lu)(),discarded_events:e}]]));try{!function(t,e){if("[object Navigator]"===Object.prototype.toString.call(Xe&&Xe.navigator)&&"function"==typeof Xe.navigator.sendBeacon)return Xe.navigator.sendBeacon.bind(Xe.navigator)(t,e);ce()&&Ke()(t,{body:e,method:"POST",credentials:"omit",keepalive:!0}).then(null,(function(t){console.error(t)}))}(r,re(o))}catch(t){Ye&&Z.error(t)}}else Ye&&Z.log("No outcomes to flush")}},t.prototype._handleResponse=function(t){var e=t.requestType,n=t.response,r=t.headers,o=t.resolve,i=t.reject,s=Fe(n.status);this._rateLimits=Be(this._rateLimits,r),this._isRateLimited(e)&&Ye&&Z.warn("Too many "+e+" requests, backing off until: "+this._disabledUntil(e)),"success"!==s?i(n):o({status:s})},t.prototype._disabledUntil=function(t){var e=Je(t);return new Date(Ue(this._rateLimits,e))},t.prototype._isRateLimited=function(t){var e=Je(t);return Ae(this._rateLimits,e)},t}(),Ze=function(t){function e(e,n){void 0===n&&(n=Ke());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:fe()?"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 T((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}(Qe),tn=4;function en(t){return He({bufferSize:t.bufferSize},(function(e){return new T((function(n,r){var o=new XMLHttpRequest;for(var i in o.onreadystatechange=function(){if(o.readyState===tn){var t={body:o.response,headers:{"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")},reason:o.statusText,statusCode:o.status};n(t)}},o.open("POST",t.url),t.headers)Object.prototype.hasOwnProperty.call(t.headers,i)&&o.setRequestHeader(i,t.headers[i]);o.send(e.body)}))}))}var nn=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 T((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}(Qe),rn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.eventFromException=function(t,e){return Ie(t,e,this._options.attachStacktrace)},e.prototype.eventFromMessage=function(t,e,n){return void 0===e&&(e=u.Info),Pe(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}),n=Gt(e.dsn,e._metadata,e.tunnel),r=ee(n.dsn,n.tunnel);if(this._options.transport)return new this._options.transport(e);if(ce()){var o=c({},e.fetchParameters);return this._newTransport=Ge({requestOptions:o,url:r}),new Ze(e)}return this._newTransport=en({url:r,headers:e.headers}),new nn(e)},e}(ue),on=(0,R.V)(),sn=0;function an(){return sn>0}function un(t,e,n){if(void 0===e&&(e={}),"function"!=typeof t)return t;try{var r=t.__sentry_wrapped__;if(r)return r;if(B(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 un(t,e)}));return t.apply(this,o)}catch(t){throw sn+=1,setTimeout((function(){sn-=1})),Rt((function(n){n.addEventProcessor((function(t){return e.mechanism&&(J(t,void 0,void 0),$(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){}A(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 cn(t){if(void 0===t&&(t={}),on.document)if(t.eventId)if(t.dsn){var e=on.document.createElement("script");e.async=!0,e.src=function(t,e){var n=Mt(t),r=Jt(n)+"embed/error-page/",o="dsn="+Ct(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=on.document.head||on.document.body;n&&n.appendChild(e)}else Ye&&Z.error("Missing dsn option in showReportDialog call");else Ye&&Z.error("Missing eventId option in showReportDialog call")}var pn,fn=(0,R.V)(),dn={},ln={};function hn(t,e){dn[t]=dn[t]||[],dn[t].push(e),function(t){if(!ln[t])switch(ln[t]=!0,t){case"console":"console"in fn&&nt.forEach((function(t){t in fn.console&&q(fn.console,t,(function(e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];vn("console",{args:n,level:t}),e&&e.apply(fn.console,n)}}))}));break;case"dom":!function(){if("document"in fn){var t=vn.bind(null,"dom"),e=bn(t,!0);fn.document.addEventListener("click",e,!1),fn.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach((function(e){var n=fn[e]&&fn[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(q(n,"addEventListener",(function(e){return function(n,r,o){if("click"===n||"keypress"==n)try{var i=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},s=i[n]=i[n]||{refCount:0};if(!s.handler){var a=bn(t);s.handler=a,e.call(this,n,a,o)}s.refCount+=1}catch(t){}return e.call(this,n,r,o)}})),q(n,"removeEventListener",(function(t){return function(e,n,r){if("click"===e||"keypress"==e)try{var o=this.__sentry_instrumentation_handlers__||{},i=o[e];i&&(i.refCount-=1,i.refCount<=0&&(t.call(this,e,i.handler,r),i.handler=void 0,delete o[e]),0===Object.keys(o).length&&delete this.__sentry_instrumentation_handlers__)}catch(t){}return t.call(this,e,n,r)}})))}))}}();break;case"xhr":!function(){if("XMLHttpRequest"in fn){var t=XMLHttpRequest.prototype;q(t,"open",(function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=this,o=e[1],i=r.__sentry_xhr__={method:g(e[0])?e[0].toUpperCase():e[0],url:e[1]};g(o)&&"POST"===i.method&&o.match(/sentry_key/)&&(r.__sentry_own_request__=!0);var s=function(){if(4===r.readyState){try{i.status_code=r.status}catch(t){}vn("xhr",{args:e,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:r})}};return"onreadystatechange"in r&&"function"==typeof r.onreadystatechange?q(r,"onreadystatechange",(function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return s(),t.apply(r,e)}})):r.addEventListener("readystatechange",s),t.apply(r,e)}})),q(t,"send",(function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return this.__sentry_xhr__&&void 0!==e[0]&&(this.__sentry_xhr__.body=e[0]),vn("xhr",{args:e,startTimestamp:Date.now(),xhr:this}),t.apply(this,e)}}))}}();break;case"fetch":(function(){if(!ce())return!1;var t=(0,R.V)();if(pe(t.fetch))return!0;var e=!1,n=t.document;if(n&&"function"==typeof n.createElement)try{var r=n.createElement("iframe");r.hidden=!0,n.head.appendChild(r),r.contentWindow&&r.contentWindow.fetch&&(e=pe(r.contentWindow.fetch)),n.head.removeChild(r)}catch(t){tt&&Z.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return e})()&&q(fn,"fetch",(function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r,o={args:e,fetchData:{method:(r=e,void 0===r&&(r=[]),"Request"in fn&&S(r[0],Request)&&r[0].method?String(r[0].method).toUpperCase():r[1]&&r[1].method?String(r[1].method).toUpperCase():"GET"),url:yn(e)},startTimestamp:Date.now()};return vn("fetch",c({},o)),t.apply(fn,e).then((function(t){return vn("fetch",c(c({},o),{endTimestamp:Date.now(),response:t})),t}),(function(t){throw vn("fetch",c(c({},o),{endTimestamp:Date.now(),error:t})),t}))}}));break;case"history":!function(){if(function(){var t=(0,R.V)(),e=t.chrome,n=e&&e.app&&e.app.runtime,r="history"in t&&!!t.history.pushState&&!!t.history.replaceState;return!n&&r}()){var t=fn.onpopstate;fn.onpopstate=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=fn.location.href,o=pn;if(pn=r,vn("history",{from:o,to:r}),t)try{return t.apply(this,e)}catch(t){}},q(fn.history,"pushState",e),q(fn.history,"replaceState",e)}function e(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=e.length>2?e[2]:void 0;if(r){var o=pn,i=String(r);pn=i,vn("history",{from:o,to:i})}return t.apply(this,e)}}}();break;case"error":xn=fn.onerror,fn.onerror=function(t,e,n,r,o){return vn("error",{column:r,error:o,line:n,msg:t,url:e}),!!xn&&xn.apply(this,arguments)};break;case"unhandledrejection":wn=fn.onunhandledrejection,fn.onunhandledrejection=function(t){return vn("unhandledrejection",t),!wn||wn.apply(this,arguments)};break;default:tt&&Z.warn("unknown instrumentation type:",t)}}(t)}function vn(t,e){var n,r;if(t&&dn[t])try{for(var o=p(dn[t]||[]),i=o.next();!i.done;i=o.next()){var s=i.value;try{s(e)}catch(e){tt&&Z.error("Error while triggering instrumentation handler.\nType: "+t+"\nName: "+At(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 yn(t){return void 0===t&&(t=[]),"string"==typeof t[0]?t[0]:"Request"in fn&&S(t[0],Request)?t[0].url:String(t[0])}var _n,gn,mn=1e3;function bn(t,e){return void 0===e&&(e=!1),function(n){if(n&&gn!==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===_n||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}(gn,n))&&(t({event:n,name:r,global:e}),gn=n),clearTimeout(_n),_n=fn.setTimeout((function(){_n=void 0}),mn)}}}var xn=null,wn=null,Sn=["fatal","error","warning","log","info","debug","critical"];var En=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&&dt().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:G(t)},{event:t})},t.prototype.setupOnce=function(){var t;this._options.console&&hn("console",kn),this._options.dom&&hn("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?I(e.event.target,r):I(e.event,r)}catch(t){n="<unknown>"}0!==n.length&&dt().addBreadcrumb({category:"ui."+e.name,message:n},{event:e.event,name:e.name,global:e.global})})),this._options.xhr&&hn("xhr",On),this._options.fetch&&hn("fetch",Tn),this._options.history&&hn("history",Rn)},t.id="Breadcrumbs",t}();function kn(t){var e,n={category:"console",data:{arguments:t.args,logger:"console"},level:(e=t.level,"warn"===e?u.Warning:function(t){return-1!==Sn.indexOf(t)}(e)?e:u.Log),message:L(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message="Assertion failed: "+(L(t.args.slice(1)," ")||"console.assert"),n.data.arguments=t.args.slice(1)}dt().addBreadcrumb(n,{input:t.args,level:t.level})}function On(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;dt().addBreadcrumb({category:"xhr",data:{method:n,url:r,status_code:o},type:"http"},{xhr:t.xhr,input:i})}}function Tn(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method||(t.error?dt().addBreadcrumb({category:"fetch",data:t.fetchData,level:u.Error,type:"http"},{data:t.error,input:t.args}):dt().addBreadcrumb({category:"fetch",data:c(c({},t.fetchData),{status_code:t.response.status}),type:"http"},{input:t.args,response:t.response})))}function Rn(t){var e=(0,R.V)(),n=t.from,r=t.to,o=X(e.location.href),i=X(n),s=X(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),dt().addBreadcrumb({category:"navigation",data:{from:n,to:r}})}var jn,Dn=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:Dt}],version:Dt},t.call(this,rn,e)||this}return a(e,t),e.prototype.showReportDialog=function(t){void 0===t&&(t={}),(0,R.V)().document&&(this._isEnabled()?cn(c(c({},t),{dsn:t.dsn||this.getDsn()})):Ye&&Z.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(En);n&&n.addSentryBreadcrumb(e),t.prototype._sendEvent.call(this,e)},e}(Xt),Nn=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],In=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||[],Nn),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)?(Ht&&Z.warn("Event dropped due to being internal Sentry Error.\nEvent: "+G(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 Ht&&Z.error("Cannot extract message for event "+G(t)),[]}return[]}(t).some((function(t){return e.some((function(e){return M(t,e)}))}))}(t,e.ignoreErrors)?(Ht&&Z.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+G(t)),!0):function(t,e){if(!e||!e.length)return!1;var n=Cn(t);return!!n&&e.some((function(t){return M(n,t)}))}(t,e.denyUrls)?(Ht&&Z.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: "+G(t)+".\nUrl: "+Cn(t)),!0):!function(t,e){if(!e||!e.length)return!0;var n=Cn(t);return!n||e.some((function(t){return M(n,t)}))}(t,e.allowUrls)&&(Ht&&Z.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: "+G(t)+".\nUrl: "+Cn(t)),!0)}(e,a)?null:e}}return e}))},t.id="InboundFilters",t}();function Pn(t){void 0===t&&(t=[]);for(var e=t.length-1;e>=0;e--){var n=t[e];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}function Cn(t){try{if(t.stacktrace)return Pn(t.stacktrace.frames);var e;try{e=t.exception.values[0].stacktrace.frames}catch(t){}return e?Pn(e):null}catch(e){return Ht&&Z.error("Cannot extract url for event "+G(t)),null}}var Ln=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){jn=Function.prototype.toString,Function.prototype.toString=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=B(this)||this;return jn.apply(n,t)}},t.id="FunctionToString",t}(),Mn=["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"],qn=function(){function t(e){this.name=t.id,this._options=c({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},e)}return t.prototype.setupOnce=function(){var t=(0,R.V)();this._options.setTimeout&&q(t,"setTimeout",Un),this._options.setInterval&&q(t,"setInterval",Un),this._options.requestAnimationFrame&&q(t,"requestAnimationFrame",An),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&q(XMLHttpRequest.prototype,"send",Bn);var e=this._options.eventTarget;e&&(Array.isArray(e)?e:Mn).forEach(Fn)},t.id="TryCatch",t}();function Un(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=e[0];return e[0]=un(r,{mechanism:{data:{function:At(t)},handled:!0,type:"instrument"}}),t.apply(this,e)}}function An(t){return function(e){return t.apply(this,[un(e,{mechanism:{data:{function:"requestAnimationFrame",handler:At(t)},handled:!0,type:"instrument"}})])}}function Bn(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((function(t){t in r&&"function"==typeof r[t]&&q(r,t,(function(e){var n={mechanism:{data:{function:t,handler:At(e)},handled:!0,type:"instrument"}},r=B(e);return r&&(n.mechanism.data.handler=At(r)),un(e,n)}))})),t.apply(this,e)}}function Fn(t){var e=(0,R.V)(),n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(q(n,"addEventListener",(function(e){return function(n,r,o){try{"function"==typeof r.handleEvent&&(r.handleEvent=un(r.handleEvent.bind(r),{mechanism:{data:{function:"handleEvent",handler:At(r),target:t},handled:!0,type:"instrument"}}))}catch(t){}return e.apply(this,[n,un(r,{mechanism:{data:{function:"addEventListener",handler:At(r),target:t},handled:!0,type:"instrument"}}),o])}})),q(n,"removeEventListener",(function(t){return function(e,n,r){var o=n;try{var i=o&&o.__sentry_wrapped__;i&&t.call(this,e,i,r)}catch(t){}return t.call(this,e,o,r)}})))}var zn=function(){function t(e){this.name=t.id,this._installFunc={onerror:Hn,onunhandledrejection:Vn},this._options=c({onerror:!0,onunhandledrejection:!0},e)}return t.prototype.setupOnce=function(){Error.stackTraceLimit=50;var t,e=this._options;for(var n in e){var r=this._installFunc[n];r&&e[n]&&(t=n,Ye&&Z.log("Global Handler attached: "+t),r(),this._installFunc[n]=void 0)}},t.id="GlobalHandlers",t}();function Hn(){hn("error",(function(t){var e=f(Xn(),2),n=e[0],r=e[1];if(n.getIntegration(zn)){var o=t.msg,i=t.url,s=t.line,a=t.column,c=t.error;if(!(an()||c&&c.__sentry_own_request__)){var p=void 0===c&&g(o)?function(t,e,n,r){var o=y(t)?t.message:t,i="Error",s=o.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);return s&&(i=s[1],o=s[2]),Wn({exception:{values:[{type:i,value:o}]}},e,n,r)}(o,i,s,a):Wn(Ce(c||o,void 0,r,!1),i,s,a);p.level=u.Error,Yn(n,c,p,"onerror")}}}))}function Vn(){hn("unhandledrejection",(function(t){var e=f(Xn(),2),n=e[0],r=e[1];if(n.getIntegration(zn)){var o=t;try{"reason"in t?o=t.reason:"detail"in t&&"reason"in t.detail&&(o=t.detail.reason)}catch(t){}if(an()||o&&o.__sentry_own_request__)return!0;var i=m(o)?{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(o)}]}}:Ce(o,void 0,r,!0);i.level=u.Error,Yn(n,o,i,"onunhandledrejection")}}))}function Wn(t,e,n,r){var o=t.exception=t.exception||{},i=o.values=o.values||[],s=i[0]=i[0]||{},a=s.stacktrace=s.stacktrace||{},u=a.frames=a.frames||[],c=isNaN(parseInt(r,10))?void 0:r,p=isNaN(parseInt(n,10))?void 0:n,f=g(e)&&e.length>0?e:function(){var t=(0,R.V)();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 Yn(t,e,n,r){$(n,{handled:!1,type:r}),t.captureEvent(n,{originalException:e})}function Xn(){var t=dt(),e=t.getClient();return[t,e&&e.getOptions().attachStacktrace]}var Kn=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(){N((function(e,n){var r=dt().getIntegration(t);return r?function(t,e,n,r){if(!(n.exception&&n.exception.values&&r&&S(r.originalException,Error)))return n;var o=Gn(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 Gn(t,e,n,r){if(void 0===r&&(r=[]),!S(e[n],Error)||r.length+1>=t)return r;var o=Te(e[n]);return Gn(t,e[n],n,d([o],r))}var Jn=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)&&!!$n(t,e))))}(t,e)||!!function(t,e){var n=Zn(e),r=Zn(t);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!Qn(t,e)&&!!$n(t,e)))}(t,e))}(e,r._previousEvent))return Ye&&Z.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 $n(t,e){var n=tr(t),r=tr(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(var o=0;o<r.length;o++){var i=r[o],s=n[o];if(i.filename!==s.filename||i.lineno!==s.lineno||i.colno!==s.colno||i.function!==s.function)return!1}return!0}function Qn(t,e){var n=t.fingerprint,r=e.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(t){return!1}}function Zn(t){return t.exception&&t.exception.values&&t.exception.values[0]}function tr(t){var e=t.exception;if(e)try{return e.values[0].stacktrace.frames}catch(t){return}else if(t.stacktrace)return t.stacktrace.frames}var er=(0,R.V)(),nr=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){N((function(e){if(dt().getIntegration(t)){if(!er.navigator&&!er.location&&!er.document)return e;var n=e.request&&e.request.url||er.location&&er.location.href,r=(er.document||{}).referrer,o=(er.navigator||{}).userAgent,i=c(c(c({},e.request&&e.request.headers),r&&{Referer:r}),o&&{"User-Agent":o}),s=c(c({},n&&{url:n}),{headers:i});return c(c({},e),{request:s})}return e}))},t.id="UserAgent",t}(),rr=[new In,new Ln,new qn,new En,new zn,new Kn,new Jn,new nr];function or(t){if(void 0===t&&(t={}),void 0===t.defaultIntegrations&&(t.defaultIntegrations=rr),void 0===t.release){var e=(0,R.V)();e.SENTRY_RELEASE&&e.SENTRY_RELEASE.id&&(t.release=e.SENTRY_RELEASE.id)}void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),void 0===t.sendClientReports&&(t.sendClientReports=!0),function(t,e){!0===e.debug&&(Ht?Z.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));var n=dt(),r=n.getScope();r&&r.update(e.initialScope);var o=new t(e);n.bindClient(o)}(Dn,t),t.autoSessionTracking&&function(){if(void 0!==(0,R.V)().document){var t=dt();t.captureSession&&(dr(t),hn("history",(function(t){var e=t.from,n=t.to;void 0!==e&&e!==n&&dr(dt())})))}else Ye&&Z.warn("Session tracking in non-browser environment with @sentry/browser is not supported.")}()}function ir(t){void 0===t&&(t={});var e=dt(),n=e.getScope();n&&(t.user=c(c({},n.getUser()),t.user)),t.eventId||(t.eventId=e.lastEventId());var r=e.getClient();r&&r.showReportDialog(t)}function sr(){return dt().lastEventId()}function ar(){}function ur(t){t()}function cr(t){var e=dt().getClient();return e?e.flush(t):(Ye&&Z.warn("Cannot flush events. No client defined."),k(!1))}function pr(t){var e=dt().getClient();return e?e.close(t):(Ye&&Z.warn("Cannot flush events and disable SDK. No client defined."),k(!1))}function fr(t){return un(t)()}function dr(t){t.startSession({ignoreDuration:!0}),t.captureSession()}var lr="sentry.javascript.browser",hr={},vr=(0,R.V)();vr.Sentry&&vr.Sentry.Integrations&&(hr=vr.Sentry.Integrations);var yr=c(c(c({},hr),r),o)},475:function(t,e,n){n.d(e,{B:function(){return s},V:function(){return i}});var r=n(258),o={};function i(){return(0,r.wD)()?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o}function s(t,e,n){var r=n||i(),o=r.__SENTRY__=r.__SENTRY__||{};return o[t]||(o[t]=e())}},258:function(t,e,n){function r(){return!("undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function o(t,e){return t.require(e)}n.d(e,{fj:function(){return o},wD:function(){return r}}),t=n.hmd(t)},297:function(t,e,n){n.d(e,{lu:function(){return u},zf:function(){return c}});var r=n(475),o=n(258);t=n.hmd(t);var i={nowSeconds:function(){return Date.now()/1e3}},s=(0,o.wD)()?function(){try{return(0,o.fj)(t,"perf_hooks").performance}catch(t){return}}():function(){var t=(0,r.V)().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.V)().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<e,a=t.timing&&t.timing.navigationStart,u="number"==typeof a?Math.abs(a+n-o):e;(s||u<e)&&(i<=u&&t.timeOrigin)}}()}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={id:r,loaded:!1,exports:{}};return t[r](i,i.exports,n),i.loaded=!0,i.exports}n.d=function(t,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=function(t){return(t=Object.create(t)).children||(t.children=[]),Object.defineProperty(t,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+t.id)}}),t},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r=function(t,e){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=o(e);if(n&&n.has(t))return n.get(t);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&{}.hasOwnProperty.call(t,s)){var a=i?Object.getOwnPropertyDescriptor(t,s):null;a&&(a.get||a.set)?Object.defineProperty(r,s,a):r[s]=t[s]}return r.default=t,n&&n.set(t,r),r}(n(912));function o(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(o=function(t){return t?n:e})(t)}const i=document.querySelector("meta[name=sentry-DSN]"),s=document.querySelector("meta[name=asset-root]"),a=i?i.getAttribute("content"):void 0,u=s?s.getAttribute("content"):void 0;a||console.warn("Sentry is not configured (DSN is missing)"),u||console.warn("Sentry is not configured (Asset Root is missing)"),r.init({dsn:a,release:"2ebf9d25e520c22f6c34bcbc0f2b7cbdfc508bdc",environment:"production",attachStacktrace:!0,integrations:[new r.Integrations.Breadcrumbs({console:!1})],allowUrls:[u],ignoreErrors:["Object Not Found Matching Id"]}),window._logException=t=>{t.stack=u+"bootstrap.js\n"+t.stack,r.captureException(t)},(window._pendingExceptions||[]).forEach((t=>window._logException(t))),delete window._pendingExceptions}();
//# sourceMappingURL=/assets/sentry.b40fb2c9083b8458a8a1.js.map