text: !function e(t,n,r){function o(a,s){if(!n[a]){if(!t[a]){var c="function"==typeof require&&require;if(!s&&c)return c(a,!0);if(i)return i(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var l=n[a]={exports:{}};t[a][0].call(l.exports,(function(e){return o(t[a][1][e]||e)}),l,l.exports,e,t,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(e,t,n){(function(t){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault")(e("./lib/setupSentry"));t.sentry=(0,n.default)({release:"9.0.4",getState:()=>{var e,n;return(null===(e=(n=t).getSentryState)||void 0===e?void 0:e.call(n))||{}}})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./lib/setupSentry":3,"@babel/runtime/helpers/interopRequireDefault":4}],2:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){if(e.includes(r)){const t=e.slice(r.length);return t.slice(t.indexOf("Error: ")+"Error: ".length)}return e};const r="Error: [ethjs-rpc] rpc error with payload "},{}],3:[function(e,t,n){(function(t){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),o=e("@babel/runtime/helpers/interopRequireWildcard");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function({release:e,getState:t}){let n;if(c)return;console.log("Setting up Sentry Remote Error Reporting for 'production': SENTRY_DSN"),n="https://3567c198f8a8412082d32655da2961d0@sentry.io/273505";return i.init({dsn:n,debug:c,environment:"production",integrations:[new a.Dedupe,new a.ExtraErrorData],release:e,beforeSend:e=>function(e){try{if(function(e){!function(e,t){"string"==typeof e.message&&(e.message=t(e.message));e.exception&&e.exception.values&&e.exception.values.forEach(e=>{"string"==typeof e.value&&(e.value=t(e.value))})}(e,e=>{let t=(0,s.default)(e);return 0===t.indexOf("Transaction Failed: known transaction")&&(t="Transaction Failed: known transaction"),t})}(e),function(e){e.request.url=u(e.request.url),e.exception&&e.exception.values&&e.exception.values.forEach(e=>{e.stacktrace&&e.stacktrace.frames.forEach(e=>{e.filename=u(e.filename)})})}(e),t){const n=t();e.extra||(e.extra={}),e.extra.appState=n}}catch(e){console.warn(e)}return e}(e)}),i},n.SENTRY_STATE=void 0;var i=o(e("@sentry/browser")),a=e("@sentry/integrations"),s=r(e("./extractEthjsErrorMessage"));const c=t.env.METAMASK_DEBUG;function u(e){const t=e.split(window.location.origin)[1];if(!t)return e;return"metamask"+t}n.SENTRY_STATE={gas:!0,history:!0,metamask:{alertEnabledness:!0,completedOnboarding:!0,connectedStatusPopoverHasBeenShown:!0,conversionDate:!0,conversionRate:!0,currentBlockGasLimit:!0,currentCurrency:!0,currentLocale:!0,customNonceValue:!0,defaultHomeActiveTabName:!0,featureFlags:!0,firstTimeFlowType:!0,forgottenPassword:!0,incomingTxLastFetchedBlocksByNetwork:!0,ipfsGateway:!0,isAccountMenuOpen:!0,isInitialized:!0,isUnlocked:!0,metaMetricsId:!0,metaMetricsSendCount:!0,nativeCurrency:!0,network:!0,nextNonce:!0,participateInMetaMetrics:!0,preferences:!0,provider:{nickname:!0,ticker:!0,type:!0},seedPhraseBackedUp:!0,showRestorePrompt:!0,threeBoxDisabled:!0,threeBoxLastUpdated:!0,threeBoxSynced:!0,threeBoxSyncingAllowed:!0,unapprovedDecryptMsgCount:!0,unapprovedEncryptionPublicKeyMsgCount:!0,unapprovedMsgCount:!0,unapprovedPersonalMsgCount:!0,unapprovedTypedMessagesCount:!0,useBlockie:!0,useNonceField:!0,usePhishDetect:!0,welcomeScreenSeen:!0},unconnectedAccount:!0}}).call(this,e("_process"))},{"./extractEthjsErrorMessage":2,"@babel/runtime/helpers/interopRequireDefault":4,"@babel/runtime/helpers/interopRequireWildcard":5,"@sentry/browser":12,"@sentry/integrations":47,_process:80}],4:[function(e,t,n){t.exports=function(e){return e&&e.__esModule?e:{default:e}}},{}],5:[function(e,t,n){var r=e("@babel/runtime/helpers/typeof");function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}t.exports=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}},{"@babel/runtime/helpers/typeof":6}],6:[function(e,t,n){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=r=function(e){return typeof e}:t.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.exports=r},{}],7:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib"),o=e("@sentry/core"),i=e("@sentry/types"),a=e("@sentry/utils"),s=e("./eventbuilder"),c=e("./transports"),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.eventFromException=function(e,t){return s.eventFromException(this._options,e,t)},t.prototype.eventFromMessage=function(e,t,n){return void 0===t&&(t=i.Severity.Info),s.eventFromMessage(this._options,e,t,n)},t.prototype._setupTransport=function(){if(!this._options.dsn)return e.prototype._setupTransport.call(this);var t=r.__assign(r.__assign({},this._options.transportOptions),{dsn:this._options.dsn});return this._options.transport?new this._options.transport(t):a.supportsFetch()?new c.FetchTransport(t):new c.XHRTransport(t)},t}(o.BaseBackend);n.BrowserBackend=u},{"./eventbuilder":9,"./transports":24,"@sentry/core":30,"@sentry/types":56,"@sentry/utils":64,tslib:81}],8:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib"),o=e("@sentry/core"),i=e("@sentry/utils"),a=e("./backend"),s=e("./helpers"),c=e("./integrations"),u=e("./version"),l=function(e){function t(t){return void 0===t&&(t={}),e.call(this,a.BrowserBackend,t)||this}return r.__extends(t,e),t.prototype.showReportDialog=function(e){void 0===e&&(e={}),i.getGlobalObject().document&&(this._isEnabled()?s.injectReportDialog(r.__assign(r.__assign({},e),{dsn:e.dsn||this.getDsn()})):i.logger.error("Trying to call showReportDialog with Sentry Client disabled"))},t.prototype._prepareEvent=function(t,n,o){return t.platform=t.platform||"javascript",t.sdk=r.__assign(r.__assign({},t.sdk),{name:u.SDK_NAME,packages:r.__spread(t.sdk&&t.sdk.packages||[],[{name:"npm:@sentry/browser",version:u.SDK_VERSION}]),version:u.SDK_VERSION}),e.prototype._prepareEvent.call(this,t,n,o)},t.prototype._sendEvent=function(t){var n=this.getIntegration(c.Breadcrumbs);n&&n.addSentryBreadcrumb(t),e.prototype._sendEvent.call(this,t)},t}(o.BaseClient);n.BrowserClient=l},{"./backend":7,"./helpers":11,"./integrations":15,"./version":26,"@sentry/core":30,"@sentry/utils":64,tslib:81}],9:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("@sentry/types"),o=e("@sentry/utils"),i=e("./parsers"),a=e("./tracekit");function s(e,t,n){var r;if(void 0===n&&(n={}),o.isErrorEvent(e)&&e.error)return e=e.error,r=i.eventFromStacktrace(a.computeStackTrace(e));if(o.isDOMError(e)||o.isDOMException(e)){var s=e,u=s.name||(o.isDOMError(s)?"DOMError":"DOMException"),l=s.message?u+": "+s.message:u;return r=c(l,t,n),o.addExceptionTypeValue(r,l),r}if(o.isError(e))return r=i.eventFromStacktrace(a.computeStackTrace(e));if(o.isPlainObject(e)||o.isEvent(e)){var f=e;return r=i.eventFromPlainObject(f,t,n.rejection),o.addExceptionMechanism(r,{synthetic:!0}),r}return r=c(e,t,n),o.addExceptionTypeValue(r,""+e,void 0),o.addExceptionMechanism(r,{synthetic:!0}),r}function c(e,t,n){void 0===n&&(n={});var r={message:e};if(n.attachStacktrace&&t){var o=a.computeStackTrace(t),s=i.prepareFramesForEvent(o.stack);r.stacktrace={frames:s}}return r}n.eventFromException=function(e,t,n){var i=s(t,n&&n.syntheticException||void 0,{attachStacktrace:e.attachStacktrace});return o.addExceptionMechanism(i,{handled:!0,type:"generic"}),i.level=r.Severity.Error,n&&n.event_id&&(i.event_id=n.event_id),o.SyncPromise.resolve(i)},n.eventFromMessage=function(e,t,n,i){void 0===n&&(n=r.Severity.Info);var a=c(t,i&&i.syntheticException||void 0,{attachStacktrace:e.attachStacktrace});return a.level=n,i&&i.event_id&&(a.event_id=i.event_id),o.SyncPromise.resolve(a)},n.eventFromUnknownInput=s,n.eventFromString=c},{"./parsers":19,"./tracekit":21,"@sentry/types":56,"@sentry/utils":64}],10:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("@sentry/types");n.Severity=r.Severity,n.Status=r.Status;var o=e("@sentry/core");n.addGlobalEventProcessor=o.addGlobalEventProcessor,n.addBreadcrumb=o.addBreadcrumb,n.captureException=o.captureException,n.captureEvent=o.captureEvent,n.captureMessage=o.captureMessage,n.configureScope=o.configureScope,n.getHubFromCarrier=o.getHubFromCarrier,n.getCurrentHub=o.getCurrentHub,n.Hub=o.Hub,n.makeMain=o.makeMain,n.Scope=o.Scope,n.startTransaction=o.startTransaction,n.setContext=o.setContext,n.setExtra=o.setExtra,n.setExtras=o.setExtras,n.setTag=o.setTag,n.setTags=o.setTags,n.setUser=o.setUser,n.withScope=o.withScope;var i=e("./client");n.BrowserClient=i.BrowserClient;var a=e("./helpers");n.injectReportDialog=a.injectReportDialog;var s=e("./eventbuilder");n.eventFromException=s.eventFromException,n.eventFromMessage=s.eventFromMessage;var c=e("./sdk");n.defaultIntegrations=c.defaultIntegrations,n.forceLoad=c.forceLoad,n.init=c.init,n.lastEventId=c.lastEventId,n.onLoad=c.onLoad,n.showReportDialog=c.showReportDialog,n.flush=c.flush,n.close=c.close,n.wrap=c.wrap;var u=e("./version");n.SDK_NAME=u.SDK_NAME,n.SDK_VERSION=u.SDK_VERSION},{"./client":8,"./eventbuilder":9,"./helpers":11,"./sdk":20,"./version":26,"@sentry/core":30,"@sentry/types":56}],11:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib"),o=e("@sentry/core"),i=e("@sentry/utils"),a=0;function s(){a+=1,setTimeout((function(){a-=1}))}n.shouldIgnoreOnError=function(){return a>0},n.ignoreNextOnError=s,n.wrap=function e(t,n,a){if(void 0===n&&(n={}),"function"!=typeof t)return t;try{if(t.__sentry__)return t;if(t.__sentry_wrapped__)return t.__sentry_wrapped__}catch(e){return t}var c=function(){var c=Array.prototype.slice.call(arguments);try{a&&"function"==typeof a&&a.apply(this,arguments);var u=c.map((function(t){return e(t,n)}));return t.handleEvent?t.handleEvent.apply(this,u):t.apply(this,u)}catch(e){throw s(),o.withScope((function(t){t.addEventProcessor((function(e){var t=r.__assign({},e);return n.mechanism&&(i.addExceptionTypeValue(t,void 0,void 0),i.addExceptionMechanism(t,n.mechanism)),t.extra=r.__assign(r.__assign({},t.extra),{arguments:c}),t})),o.captureException(e)})),e}};try{for(var u in t)Object.prototype.hasOwnProperty.call(t,u)&&(c[u]=t[u])}catch(e){}t.prototype=t.prototype||{},c.prototype=t.prototype,Object.defineProperty(t,"__sentry_wrapped__",{enumerable:!1,value:c}),Object.defineProperties(c,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:t}});try{Object.getOwnPropertyDescriptor(c,"name").configurable&&Object.defineProperty(c,"name",{get:function(){return t.name}})}catch(e){}return c},n.injectReportDialog=function(e){if(void 0===e&&(e={}),e.eventId)if(e.dsn){var t=document.createElement("script");t.async=!0,t.src=new o.API(e.dsn).getReportDialogEndpoint(e),e.onLoad&&(t.onload=e.onLoad),(document.head||document.body).appendChild(t)}else i.logger.error("Missing dsn option in showReportDialog call");else i.logger.error("Missing eventId option in showReportDialog call")}},{"@sentry/core":30,"@sentry/utils":64,tslib:81}],12:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib");r.__exportStar(e("./exports"),n);var o=e("@sentry/core"),i=e("@sentry/utils"),a=e("./integrations"),s=e("./transports");n.Transports=s;var c={},u=i.getGlobalObject();u.Sentry&&u.Sentry.Integrations&&(c=u.Sentry.Integrations);var l=r.__assign(r.__assign(r.__assign({},c),o.Integrations),a);n.Integrations=l},{"./exports":10,"./integrations":15,"./transports":24,"@sentry/core":30,"@sentry/utils":64,tslib:81}],13:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib"),o=e("@sentry/core"),i=e("@sentry/types"),a=e("@sentry/utils"),s=function(){function e(t){this.name=e.id,this._options=r.__assign({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},t)}return e.prototype.addSentryBreadcrumb=function(e){this._options.sentry&&o.getCurrentHub().addBreadcrumb({category:"sentry."+("transaction"===e.type?"transaction":"event"),event_id:e.event_id,level:e.level,message:a.getEventDescription(e)},{event:e})},e.prototype.setupOnce=function(){var e=this;this._options.console&&a.addInstrumentationHandler({callback:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e._consoleBreadcrumb.apply(e,r.__spread(t))},type:"console"}),this._options.dom&&a.addInstrumentationHandler({callback:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e._domBreadcrumb.apply(e,r.__spread(t))},type:"dom"}),this._options.xhr&&a.addInstrumentationHandler({callback:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e._xhrBreadcrumb.apply(e,r.__spread(t))},type:"xhr"}),this._options.fetch&&a.addInstrumentationHandler({callback:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e._fetchBreadcrumb.apply(e,r.__spread(t))},type:"fetch"}),this._options.history&&a.addInstrumentationHandler({callback:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e._historyBreadcrumb.apply(e,r.__spread(t))},type:"history"})},e.prototype._consoleBreadcrumb=function(e){var t={category:"console",data:{arguments:e.args,logger:"console"},level:i.Severity.fromString(e.level),message:a.safeJoin(e.args," ")};if("assert"===e.level){if(!1!==e.args[0])return;t.message="Assertion failed: "+(a.safeJoin(e.args.slice(1)," ")||"console.assert"),t.data.arguments=e.args.slice(1)}o.getCurrentHub().addBreadcrumb(t,{input:e.args,level:e.level})},e.prototype._domBreadcrumb=function(e){var t;try{t=e.event.target?a.htmlTreeAsString(e.event.target):a.htmlTreeAsString(e.event)}catch(e){t="<unknown>"}0!==t.length&&o.getCurrentHub().addBreadcrumb({category:"ui."+e.name,message:t},{event:e.event,name:e.name})},e.prototype._xhrBreadcrumb=function(e){if(e.endTimestamp){if(e.xhr.__sentry_own_request__)return;var t=e.xhr.__sentry_xhr__||{},n=t.method,r=t.url,i=t.status_code,a=t.body;o.getCurrentHub().addBreadcrumb({category:"xhr",data:{method:n,url:r,status_code:i},type:"http"},{xhr:e.xhr,input:a})}else;},e.prototype._fetchBreadcrumb=function(e){e.endTimestamp&&(e.fetchData.url.match(/sentry_key/)&&"POST"===e.fetchData.method||(e.error?o.getCurrentHub().addBreadcrumb({category:"fetch",data:e.fetchData,level:i.Severity.Error,type:"http"},{data:e.error,input:e.args}):o.getCurrentHub().addBreadcrumb({category:"fetch",data:r.__assign(r.__assign({},e.fetchData),{status_code:e.response.status}),type:"http"},{input:e.args,response:e.response})))},e.prototype._historyBreadcrumb=function(e){var t=a.getGlobalObject(),n=e.from,r=e.to,i=a.parseUrl(t.location.href),s=a.parseUrl(n),c=a.parseUrl(r);s.path||(s=i),i.protocol===c.protocol&&i.host===c.host&&(r=c.relative),i.protocol===s.protocol&&i.host===s.host&&(n=s.relative),o.getCurrentHub().addBreadcrumb({category:"navigation",data:{from:n,to:r}})},e.id="Breadcrumbs",e}();n.Breadcrumbs=s},{"@sentry/core":30,"@sentry/types":56,"@sentry/utils":64,tslib:81}],14:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib"),o=e("@sentry/core"),i=e("@sentry/types"),a=e("@sentry/utils"),s=e("../eventbuilder"),c=e("../helpers"),u=function(){function e(t){this.name=e.id,this._onErrorHandlerInstalled=!1,this._onUnhandledRejectionHandlerInstalled=!1,this._options=r.__assign({onerror:!0,onunhandledrejection:!0},t)}return e.prototype.setupOnce=function(){Error.stackTraceLimit=50,this._options.onerror&&(a.logger.log("Global Handler attached: onerror"),this._installGlobalOnErrorHandler()),this._options.onunhandledrejection&&(a.logger.log("Global Handler attached: onunhandledrejection"),this._installGlobalOnUnhandledRejectionHandler())},e.prototype._installGlobalOnErrorHandler=function(){var t=this;this._onErrorHandlerInstalled||(a.addInstrumentationHandler({callback:function(n){var r=n.error,i=o.getCurrentHub(),u=i.getIntegration(e),l=r&&!0===r.__sentry_own_request__;if(u&&!c.shouldIgnoreOnError()&&!l){var f=i.getClient(),p=a.isPrimitive(r)?t._eventFromIncompleteOnError(n.msg,n.url,n.line,n.column):t._enhanceEventWithInitialFrame(s.eventFromUnknownInput(r,void 0,{attachStacktrace:f&&f.getOptions().attachStacktrace,rejection:!1}),n.url,n.line,n.column);a.addExceptionMechanism(p,{handled:!1,type:"onerror"}),i.captureEvent(p,{originalException:r})}},type:"error"}),this._onErrorHandlerInstalled=!0)},e.prototype._installGlobalOnUnhandledRejectionHandler=function(){var t=this;this._onUnhandledRejectionHandlerInstalled||(a.addInstrumentationHandler({callback:function(n){var r=n;try{"reason"in n?r=n.reason:"detail"in n&&"reason"in n.detail&&(r=n.detail.reason)}catch(e){}var u=o.getCurrentHub(),l=u.getIntegration(e),f=r&&!0===r.__sentry_own_request__;if(!l||c.shouldIgnoreOnError()||f)return!0;var p=u.getClient(),d=a.isPrimitive(r)?t._eventFromIncompleteRejection(r):s.eventFromUnknownInput(r,void 0,{attachStacktrace:p&&p.getOptions().attachStacktrace,rejection:!0});d.level=i.Severity.Error,a.addExceptionMechanism(d,{handled:!1,type:"onunhandledrejection"}),u.captureEvent(d,{originalException:r})},type:"unhandledrejection"}),this._onUnhandledRejectionHandlerInstalled=!0)},e.prototype._eventFromIncompleteOnError=function(e,t,n,r){var o,i=a.isErrorEvent(e)?e.message:e;if(a.isString(i)){var s=i.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);s&&(o=s[1],i=s[2])}var c={exception:{values:[{type:o||"Error",value:i}]}};return this._enhanceEventWithInitialFrame(c,t,n,r)},e.prototype._eventFromIncompleteRejection=function(e){return{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+e}]}}},e.prototype._enhanceEventWithInitialFrame=function(e,t,n,r){e.exception=e.exception||{},e.exception.values=e.exception.values||[],e.exception.values[0]=e.exception.values[0]||{},e.exception.values[0].stacktrace=e.exception.values[0].stacktrace||{},e.exception.values[0].stacktrace.frames=e.exception.values[0].stacktrace.frames||[];var o=isNaN(parseInt(r,10))?void 0:r,i=isNaN(parseInt(n,10))?void 0:n,s=a.isString(t)&&t.length>0?t:a.getLocationHref();return 0===e.exception.values[0].stacktrace.frames.length&&e.exception.values[0].stacktrace.frames.push({colno:o,filename:s,function:"?",in_app:!0,lineno:i}),e},e.id="GlobalHandlers",e}();n.GlobalHandlers=u},{"../eventbuilder":9,"../helpers":11,"@sentry/core":30,"@sentry/types":56,"@sentry/utils":64,tslib:81}],15:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("./globalhandlers");n.GlobalHandlers=r.GlobalHandlers;var o=e("./trycatch");n.TryCatch=o.TryCatch;var i=e("./breadcrumbs");n.Breadcrumbs=i.Breadcrumbs;var a=e("./linkederrors");n.LinkedErrors=a.LinkedErrors;var s=e("./useragent");n.UserAgent=s.UserAgent},{"./breadcrumbs":13,"./globalhandlers":14,"./linkederrors":16,"./trycatch":17,"./useragent":18}],16:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib"),o=e("@sentry/core"),i=e("@sentry/utils"),a=e("../parsers"),s=e("../tracekit"),c=function(){function e(t){void 0===t&&(t={}),this.name=e.id,this._key=t.key||"cause",this._limit=t.limit||5}return e.prototype.setupOnce=function(){o.addGlobalEventProcessor((function(t,n){var r=o.getCurrentHub().getIntegration(e);return r?r._handler(t,n):t}))},e.prototype._handler=function(e,t){if(!(e.exception&&e.exception.values&&t&&i.isInstanceOf(t.originalException,Error)))return e;var n=this._walkErrorTree(t.originalException,this._key);return e.exception.values=r.__spread(n,e.exception.values),e},e.prototype._walkErrorTree=function(e,t,n){if(void 0===n&&(n=[]),!i.isInstanceOf(e[t],Error)||n.length+1>=this._limit)return n;var o=s.computeStackTrace(e[t]),c=a.exceptionFromStacktrace(o);return this._walkErrorTree(e[t],t,r.__spread([c],n))},e.id="LinkedErrors",e}();n.LinkedErrors=c},{"../parsers":19,"../tracekit":21,"@sentry/core":30,"@sentry/utils":64,tslib:81}],17:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib"),o=e("@sentry/utils"),i=e("../helpers"),a=["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"],s=function(){function e(t){this.name=e.id,this._options=r.__assign({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},t)}return e.prototype.setupOnce=function(){var e=o.getGlobalObject();(this._options.setTimeout&&o.fill(e,"setTimeout",this._wrapTimeFunction.bind(this)),this._options.setInterval&&o.fill(e,"setInterval",this._wrapTimeFunction.bind(this)),this._options.requestAnimationFrame&&o.fill(e,"requestAnimationFrame",this._wrapRAF.bind(this)),this._options.XMLHttpRequest&&"XMLHttpRequest"in e&&o.fill(XMLHttpRequest.prototype,"send",this._wrapXHR.bind(this)),this._options.eventTarget)&&(Array.isArray(this._options.eventTarget)?this._options.eventTarget:a).forEach(this._wrapEventTarget.bind(this))},e.prototype._wrapTimeFunction=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t[0];return t[0]=i.wrap(r,{mechanism:{data:{function:o.getFunctionName(e)},handled:!0,type:"instrument"}}),e.apply(this,t)}},e.prototype._wrapRAF=function(e){return function(t){return e.call(this,i.wrap(t,{mechanism:{data:{function:"requestAnimationFrame",handler:o.getFunctionName(e)},handled:!0,type:"instrument"}}))}},e.prototype._wrapEventTarget=function(e){var t=o.getGlobalObject(),n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(o.fill(n,"addEventListener",(function(t){return function(n,r,a){try{"function"==typeof r.handleEvent&&(r.handleEvent=i.wrap(r.handleEvent.bind(r),{mechanism:{data:{function:"handleEvent",handler:o.getFunctionName(r),target:e},handled:!0,type:"instrument"}}))}catch(e){}return t.call(this,n,i.wrap(r,{mechanism:{data:{function:"addEventListener",handler:o.getFunctionName(r),target:e},handled:!0,type:"instrument"}}),a)}})),o.fill(n,"removeEventListener",(function(e){return function(t,n,r){try{e.call(this,t,n.__sentry_wrapped__,r)}catch(e){}return e.call(this,t,n,r)}})))},e.prototype._wrapXHR=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=this,a=["onload","onerror","onprogress","onreadystatechange"];return a.forEach((function(e){e in r&&"function"==typeof r[e]&&o.fill(r,e,(function(t){var n={mechanism:{data:{function:e,handler:o.getFunctionName(t)},handled:!0,type:"instrument"}};return t.__sentry_original__&&(n.mechanism.data.handler=o.getFunctionName(t.__sentry_original__)),i.wrap(t,n)}))})),e.apply(this,t)}},e.id="TryCatch",e}();n.TryCatch=s},{"../helpers":11,"@sentry/utils":64,tslib:81}],18:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib"),o=e("@sentry/core"),i=e("@sentry/utils").getGlobalObject(),a=function(){function e(){this.name=e.id}return e.prototype.setupOnce=function(){o.addGlobalEventProcessor((function(t){var n,a,s;if(o.getCurrentHub().getIntegration(e)){if(!i.navigator&&!i.location&&!i.document)return t;var c=(null===(n=t.request)||void 0===n?void 0:n.url)||(null===(a=i.location)||void 0===a?void 0:a.href),u=(i.document||{}).referrer,l=(i.navigator||{}).userAgent,f=r.__assign(r.__assign(r.__assign({},null===(s=t.request)||void 0===s?void 0:s.headers),u&&{Referer:u}),l&&{"User-Agent":l}),p=r.__assign(r.__assign({},c&&{url:c}),{headers:f});return r.__assign(r.__assign({},t),{request:p})}return t}))},e.id="UserAgent",e}();n.UserAgent=a},{"@sentry/core":30,"@sentry/utils":64,tslib:81}],19:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("@sentry/utils"),o=e("./tracekit");function i(e){var t=a(e.stack),n={type:e.name,value:e.message};return t&&t.length&&(n.stacktrace={frames:t}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function a(e){if(!e||!e.length)return[];var t=e,n=t[0].func||"",r=t[t.length-1].func||"";return-1===n.indexOf("captureMessage")&&-1===n.indexOf("captureException")||(t=t.slice(1)),-1!==r.indexOf("sentryWrapped")&&(t=t.slice(0,-1)),t.slice(0,50).map((function(e){return{colno:null===e.column?void 0:e.column,filename:e.url||t[0].url,function:e.func||"?",in_app:!0,lineno:null===e.line?void 0:e.line}})).reverse()}n.exceptionFromStacktrace=i,n.eventFromPlainObject=function(e,t,n){var i={exception:{values:[{type:r.isEvent(e)?e.constructor.name:n?"UnhandledRejection":"Error",value:"Non-Error "+(n?"promise rejection":"exception")+" captured with keys: "+r.extractExceptionKeysForMessage(e)}]},extra:{__serialized__:r.normalizeToSize(e)}};if(t){var s=a(o.computeStackTrace(t).stack);i.stacktrace={frames:s}}return i},n.eventFromStacktrace=function(e){return{exception:{values:[i(e)]}}},n.prepareFramesForEvent=a},{"./tracekit":21,"@sentry/utils":64}],20:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("@sentry/core"),o=e("@sentry/utils"),i=e("./client"),a=e("./helpers"),s=e("./integrations");n.defaultIntegrations=[new r.Integrations.InboundFilters,new r.Integrations.FunctionToString,new s.TryCatch,new s.Breadcrumbs,new s.GlobalHandlers,new s.LinkedErrors,new s.UserAgent],n.init=function(e){if(void 0===e&&(e={}),void 0===e.defaultIntegrations&&(e.defaultIntegrations=n.defaultIntegrations),void 0===e.release){var t=o.getGlobalObject();t.SENTRY_RELEASE&&t.SENTRY_RELEASE.id&&(e.release=t.SENTRY_RELEASE.id)}r.initAndBind(i.BrowserClient,e)},n.showReportDialog=function(e){void 0===e&&(e={}),e.eventId||(e.eventId=r.getCurrentHub().lastEventId());var t=r.getCurrentHub().getClient();t&&t.showReportDialog(e)},n.lastEventId=function(){return r.getCurrentHub().lastEventId()},n.forceLoad=function(){},n.onLoad=function(e){e()},n.flush=function(e){var t=r.getCurrentHub().getClient();return t?t.flush(e):o.SyncPromise.reject(!1)},n.close=function(e){var t=r.getCurrentHub().getClient();return t?t.close(e):o.SyncPromise.reject(!1)},n.wrap=function(e){return a.wrap(e)()}},{"./client":8,"./helpers":11,"./integrations":15,"@sentry/core":30,"@sentry/utils":64}],21:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib"),o=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,i=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,a=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,s=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,c=/\((\S*)(?::(\d+))(?::(\d+))\)/,u=/Minified React error #\d+;/i;function l(e,t){try{return r.__assign(r.__assign({},e),{stack:e.stack.slice(t)})}catch(t){return e}}function f(e){var t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}n.computeStackTrace=function(e){var t=null,n=0;e&&("number"==typeof e.framesToPop?n=e.framesToPop:u.test(e.message)&&(n=1));try{if(t=function(e){if(!e||!e.stacktrace)return null;for(var t,n=e.stacktrace,r=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,o=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\((.*)\))? in (.*):\s*$/i,i=n.split("\n"),a=[],s=0;s<i.length;s+=2){var c=null;(t=r.exec(i[s]))?c={url:t[2],func:t[3],args:[],line:+t[1],column:null}:(t=o.exec(i[s]))&&(c={url:t[6],func:t[3]||t[4],args:t[5]?t[5].split(","):[],line:+t[1],column:+t[2]}),c&&(!c.func&&c.line&&(c.func="?"),a.push(c))}if(!a.length)return null;return{message:f(e),name:e.name,stack:a}}(e))return l(t,n)}catch(e){}try{if(t=function(e){if(!e||!e.stack)return null;for(var t,n,r,u=[],l=e.stack.split("\n"),p=0;p<l.length;++p){if(n=o.exec(l[p])){var d=n[2]&&0===n[2].indexOf("native");n[2]&&0===n[2].indexOf("eval")&&(t=c.exec(n[2]))&&(n[2]=t[1],n[3]=t[2],n[4]=t[3]),r={url:n[2]&&0===n[2].indexOf("address at ")?n[2].substr("address at ".length):n[2],func:n[1]||"?",args:d?[n[2]]:[],line:n[3]?+n[3]:null,column:n[4]?+n[4]:null}}else if(n=a.exec(l[p]))r={url:n[2],func:n[1]||"?",args:[],line:+n[3],column:n[4]?+n[4]:null};else{if(!(n=i.exec(l[p])))continue;n[3]&&n[3].indexOf(" > eval")>-1&&(t=s.exec(n[3]))?(n[1]=n[1]||"eval",n[3]=t[1],n[4]=t[2],n[5]=""):0!==p||n[5]||void 0===e.columnNumber||(u[0].column=e.columnNumber+1),r={url:n[3],func:n[1]||"?",args:n[2]?n[2].split(","):[],line:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}!r.func&&r.line&&(r.func="?"),u.push(r)}if(!u.length)return null;return{message:f(e),name:e.name,stack:u}}(e))return l(t,n)}catch(e){}return{message:f(e),name:e&&e.name,stack:[],failed:!0}}},{tslib:81}],22:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib"),o=e("@sentry/core"),i=e("@sentry/types"),a=e("@sentry/utils"),s=function(){function e(e){this.options=e,this._buffer=new a.PromiseBuffer(30),this._rateLimits={},this._api=new o.API(this.options.dsn),this.url=this._api.getStoreEndpointWithUrlEncodedAuth()}return e.prototype.sendEvent=function(e){throw new a.SentryError("Transport Class has to implement `sendEvent` method")},e.prototype.close=function(e){return this._buffer.drain(e)},e.prototype._handleResponse=function(e){var t=e.eventType,n=e.response,r=e.headers,o=e.resolve,s=e.reject,c=i.Status.fromHttpCode(n.status);this._handleRateLimit(r)&&a.logger.warn("Too many requests, backing off till: "+this._disabledUntil(t)),c!==i.Status.Success?s(n):o({status:c})},e.prototype._disabledUntil=function(e){return this._rateLimits[e]||this._rateLimits.all},e.prototype._isRateLimited=function(e){return this._disabledUntil(e)>new Date(Date.now())},e.prototype._handleRateLimit=function(e){var t,n,o,i,s=Date.now(),c=e["x-sentry-rate-limits"],u=e["retry-after"];if(c){try{for(var l=r.__values(c.trim().split(",")),f=l.next();!f.done;f=l.next()){var p=f.value.split(":",2),d=parseInt(p[0],10),h=1e3*(isNaN(d)?60:d);try{for(var v=(o=void 0,r.__values(p[1].split(";"))),_=v.next();!_.done;_=v.next()){var y=_.value;this._rateLimits[y||"all"]=new Date(s+h)}}catch(e){o={error:e}}finally{try{_&&!_.done&&(i=v.return)&&i.call(v)}finally{if(o)throw o.error}}}}catch(e){t={error:e}}finally{try{f&&!f.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}return!0}return!!u&&(this._rateLimits.all=new Date(s+a.parseRetryAfterHeader(s,u)),!0)},e}();n.BaseTransport=s},{"@sentry/core":30,"@sentry/types":56,"@sentry/utils":64,tslib:81}],23:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib"),o=e("@sentry/core"),i=e("@sentry/utils"),a=e("./base"),s=i.getGlobalObject(),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.sendEvent=function(e){var t=this,n=e.type||"event";if(this._isRateLimited(n))return Promise.reject({event:e,reason:"Transport locked till "+this._disabledUntil(n)+" due to too many requests.",status:429});var r=o.eventToSentryRequest(e,this._api),a={body:r.body,method:"POST",referrerPolicy:i.supportsReferrerPolicy()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(a,this.options.fetchParameters),void 0!==this.options.headers&&(a.headers=this.options.headers),this._buffer.add(new i.SyncPromise((function(e,o){s.fetch(r.url,a).then((function(r){var i={"x-sentry-rate-limits":r.headers.get("X-Sentry-Rate-Limits"),"retry-after":r.headers.get("Retry-After")};t._handleResponse({eventType:n,response:r,headers:i,resolve:e,reject:o})})).catch(o)})))},t}(a.BaseTransport);n.FetchTransport=c},{"./base":22,"@sentry/core":30,"@sentry/utils":64,tslib:81}],24:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("./base");n.BaseTransport=r.BaseTransport;var o=e("./fetch");n.FetchTransport=o.FetchTransport;var i=e("./xhr");n.XHRTransport=i.XHRTransport},{"./base":22,"./fetch":23,"./xhr":25}],25:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib"),o=e("@sentry/core"),i=e("@sentry/utils"),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.sendEvent=function(e){var t=this,n=e.type||"event";if(this._isRateLimited(n))return Promise.reject({event:e,reason:"Transport locked till "+this._disabledUntil(n)+" due to too many requests.",status:429});var r=o.eventToSentryRequest(e,this._api);return this._buffer.add(new i.SyncPromise((function(e,o){var i=new XMLHttpRequest;for(var a in i.onreadystatechange=function(){if(4===i.readyState){var r={"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")};t._handleResponse({eventType:n,response:i,headers:r,resolve:e,reject:o})}},i.open("POST",r.url),t.options.headers)t.options.headers.hasOwnProperty(a)&&i.setRequestHeader(a,t.options.headers[a]);i.send(r.body)})))},t}(e("./base").BaseTransport);n.XHRTransport=a},{"./base":22,"@sentry/core":30,"@sentry/utils":64,tslib:81}],26:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SDK_NAME="sentry.javascript.browser",n.SDK_VERSION="5.26.0"},{}],27:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("@sentry/utils"),o=function(){function e(e){this.dsn=e,this._dsnObject=new r.Dsn(e)}return e.prototype.getDsn=function(){return this._dsnObject},e.prototype.getBaseApiEndpoint=function(){var e=this._dsnObject,t=e.protocol?e.protocol+":":"",n=e.port?":"+e.port:"";return t+"//"+e.host+n+(e.path?"/"+e.path:"")+"/api/"},e.prototype.getStoreEndpoint=function(){return this._getIngestEndpoint("store")},e.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return this.getStoreEndpoint()+"?"+this._encodedAuth()},e.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return this._getEnvelopeEndpoint()+"?"+this._encodedAuth()},e.prototype.getStoreEndpointPath=function(){var e=this._dsnObject;return(e.path?"/"+e.path:"")+"/api/"+e.projectId+"/store/"},e.prototype.getRequestHeaders=function(e,t){var n=this._dsnObject,r=["Sentry sentry_version=7"];return r.push("sentry_client="+e+"/"+t),r.push("sentry_key="+n.user),n.pass&&r.push("sentry_secret="+n.pass),{"Content-Type":"application/json","X-Sentry-Auth":r.join(", ")}},e.prototype.getReportDialogEndpoint=function(e){void 0===e&&(e={});var t=this._dsnObject,n=this.getBaseApiEndpoint()+"embed/error-page/",r=[];for(var o in r.push("dsn="+t.toString()),e)if("user"===o){if(!e.user)continue;e.user.name&&r.push("name="+encodeURIComponent(e.user.name)),e.user.email&&r.push("email="+encodeURIComponent(e.user.email))}else r.push(encodeURIComponent(o)+"="+encodeURIComponent(e[o]));return r.length?n+"?"+r.join("&"):n},e.prototype._getEnvelopeEndpoint=function(){return this._getIngestEndpoint("envelope")},e.prototype._getIngestEndpoint=function(e){return""+this.getBaseApiEndpoint()+this._dsnObject.projectId+"/"+e+"/"},e.prototype._encodedAuth=function(){var e={sentry_key:this._dsnObject.user,sentry_version:"7"};return r.urlEncode(e)},e}();n.API=o},{"@sentry/utils":64}],28:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("@sentry/utils"),o=e("./transports/noop"),i=function(){function e(e){this._options=e,this._options.dsn||r.logger.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return e.prototype.eventFromException=function(e,t){throw new r.SentryError("Backend has to implement `eventFromException` method")},e.prototype.eventFromMessage=function(e,t,n){throw new r.SentryError("Backend has to implement `eventFromMessage` method")},e.prototype.sendEvent=function(e){this._transport.sendEvent(e).then(null,(function(e){r.logger.error("Error while sending event: "+e)}))},e.prototype.getTransport=function(){return this._transport},e.prototype._setupTransport=function(){return new o.NoopTransport},e}();n.BaseBackend=i},{"./transports/noop":37,"@sentry/utils":64}],29:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib"),o=e("@sentry/hub"),i=e("@sentry/utils"),a=e("./integration"),s=function(){function e(e,t){this._integrations={},this._processing=!1,this._backend=new e(t),this._options=t,t.dsn&&(this._dsn=new i.Dsn(t.dsn))}return e.prototype.captureException=function(e,t,n){var r=this,o=t&&t.event_id;return this._processing=!0,this._getBackend().eventFromException(e,t).then((function(e){o=r.captureEvent(e,t,n)})),o},e.prototype.captureMessage=function(e,t,n,r){var o=this,a=n&&n.event_id;return this._processing=!0,(i.isPrimitive(e)?this._getBackend().eventFromMessage(""+e,t,n):this._getBackend().eventFromException(e,n)).then((function(e){a=o.captureEvent(e,n,r)})),a},e.prototype.captureEvent=function(e,t,n){var r=this,o=t&&t.event_id;return this._processing=!0,this._processEvent(e,t,n).then((function(e){o=e&&e.event_id,r._processing=!1})).then(null,(function(e){i.logger.error(e),r._processing=!1})),o},e.prototype.getDsn=function(){return this._dsn},e.prototype.getOptions=function(){return this._options},e.prototype.flush=function(e){var t=this;return this._isClientProcessing(e).then((function(n){return clearInterval(n.interval),t._getBackend().getTransport().close(e).then((function(e){return n.ready&&e}))}))},e.prototype.close=function(e){var t=this;return this.flush(e).then((function(e){return t.getOptions().enabled=!1,e}))},e.prototype.setupIntegrations=function(){this._isEnabled()&&(this._integrations=a.setupIntegrations(this._options))},e.prototype.getIntegration=function(e){try{return this._integrations[e.id]||null}catch(t){return i.logger.warn("Cannot retrieve integration "+e.id+" from the current Client"),null}},e.prototype._isClientProcessing=function(e){var t=this;return new i.SyncPromise((function(n){var r=0,o=0;clearInterval(o),o=setInterval((function(){t._processing?(r+=1,e&&r>=e&&n({interval:o,ready:!1})):n({interval:o,ready:!0})}),1)}))},e.prototype._getBackend=function(){return this._backend},e.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},e.prototype._prepareEvent=function(e,t,n){var a=this,s=this.getOptions().normalizeDepth,c=void 0===s?3:s,u=r.__assign(r.__assign({},e),{event_id:e.event_id||(n&&n.event_id?n.event_id:i.uuid4()),timestamp:e.timestamp||i.dateTimestampInSeconds()});this._applyClientOptions(u),this._applyIntegrationsMetadata(u);var l=t;n&&n.captureContext&&(l=o.Scope.clone(l).update(n.captureContext));var f=i.SyncPromise.resolve(u);return l&&(f=l.applyToEvent(u,n)),f.then((function(e){return"number"==typeof c&&c>0?a._normalizeEvent(e,c):e}))},e.prototype._normalizeEvent=function(e,t){if(!e)return null;var n=r.__assign(r.__assign(r.__assign(r.__assign(r.__assign({},e),e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((function(e){return r.__assign(r.__assign({},e),e.data&&{data:i.normalize(e.data,t)})}))}),e.user&&{user:i.normalize(e.user,t)}),e.contexts&&{contexts:i.normalize(e.contexts,t)}),e.extra&&{extra:i.normalize(e.extra,t)});return e.contexts&&e.contexts.trace&&(n.contexts.trace=e.contexts.trace),n},e.prototype._applyClientOptions=function(e){var t=this.getOptions(),n=t.environment,r=t.release,o=t.dist,a=t.maxValueLength,s=void 0===a?250:a;void 0===e.environment&&void 0!==n&&(e.environment=n),void 0===e.release&&void 0!==r&&(e.release=r),void 0===e.dist&&void 0!==o&&(e.dist=o),e.message&&(e.message=i.truncate(e.message,s));var c=e.exception&&e.exception.values&&e.exception.values[0];c&&c.value&&(c.value=i.truncate(c.value,s));var u=e.request;u&&u.url&&(u.url=i.truncate(u.url,s))},e.prototype._applyIntegrationsMetadata=function(e){var t=e.sdk,n=Object.keys(this._integrations);t&&n.length>0&&(t.integrations=n)},e.prototype._sendEvent=function(e){this._getBackend().sendEvent(e)},e.prototype._processEvent=function(e,t,n){var r=this,o=this.getOptions(),a=o.beforeSend,s=o.sampleRate;if(!this._isEnabled())return i.SyncPromise.reject("SDK not enabled, will not send event.");var c="transaction"===e.type;return!c&&"number"==typeof s&&Math.random()>s?i.SyncPromise.reject("This event has been sampled, will not send event."):new i.SyncPromise((function(o,s){r._prepareEvent(e,n,t).then((function(e){if(null!==e){var n=e;if(t&&t.data&&!0===t.data.__sentry__||!a||c)return r._sendEvent(n),void o(n);var u=a(e,t);if(void 0===u)i.logger.error("`beforeSend` method has to return `null` or a valid event.");else if(i.isThenable(u))r._handleAsyncBeforeSend(u,o,s);else{if(null===(n=u))return i.logger.log("`beforeSend` returned `null`, will not send event."),void o(null);r._sendEvent(n),o(n)}}else s("An event processor returned null, will not send event.")})).then(null,(function(e){r.captureException(e,{data:{__sentry__:!0},originalException:e}),s("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+e)}))}))},e.prototype._handleAsyncBeforeSend=function(e,t,n){var r=this;e.then((function(e){null!==e?(r._sendEvent(e),t(e)):n("`beforeSend` returned `null`, will not send event.")})).then(null,(function(e){n("beforeSend rejected with "+e)}))},e}();n.BaseClient=s},{"./integration":31,"@sentry/hub":39,"@sentry/utils":64,tslib:81}],30:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("@sentry/minimal");n.addBreadcrumb=r.addBreadcrumb,n.captureException=r.captureException,n.captureEvent=r.captureEvent,n.captureMessage=r.captureMessage,n.configureScope=r.configureScope,n.startTransaction=r.startTransaction,n.setContext=r.setContext,n.setExtra=r.setExtra,n.setExtras=r.setExtras,n.setTag=r.setTag,n.setTags=r.setTags,n.setUser=r.setUser,n.withScope=r.withScope;var o=e("@sentry/hub");n.addGlobalEventProcessor=o.addGlobalEventProcessor,n.getCurrentHub=o.getCurrentHub,n.getHubFromCarrier=o.getHubFromCarrier,n.Hub=o.Hub,n.makeMain=o.makeMain,n.Scope=o.Scope;var i=e("./api");n.API=i.API;var a=e("./baseclient");n.BaseClient=a.BaseClient;var s=e("./basebackend");n.BaseBackend=s.BaseBackend;var c=e("./request");n.eventToSentryRequest=c.eventToSentryRequest;var u=e("./sdk");n.initAndBind=u.initAndBind;var l=e("./transports/noop");n.NoopTransport=l.NoopTransport;var f=e("./integrations");n.Integrations=f},{"./api":27,"./basebackend":28,"./baseclient":29,"./integrations":34,"./request":35,"./sdk":36,"./transports/noop":37,"@sentry/hub":39,"@sentry/minimal":55}],31:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib"),o=e("@sentry/hub"),i=e("@sentry/utils");function a(e){var t=e.defaultIntegrations&&r.__spread(e.defaultIntegrations)||[],n=e.integrations,o=[];if(Array.isArray(n)){var i=n.map((function(e){return e.name})),a=[];t.forEach((function(e){-1===i.indexOf(e.name)&&-1===a.indexOf(e.name)&&(o.push(e),a.push(e.name))})),n.forEach((function(e){-1===a.indexOf(e.name)&&(o.push(e),a.push(e.name))}))}else"function"==typeof n?(o=n(t),o=Array.isArray(o)?o:[o]):o=r.__spread(t);var s=o.map((function(e){return e.name}));return-1!==s.indexOf("Debug")&&o.push.apply(o,r.__spread(o.splice(s.indexOf("Debug"),1))),o}function s(e){-1===n.installedIntegrations.indexOf(e.name)&&(e.setupOnce(o.addGlobalEventProcessor,o.getCurrentHub),n.installedIntegrations.push(e.name),i.logger.log("Integration installed: "+e.name))}n.installedIntegrations=[],n.getIntegrationsToSetup=a,n.setupIntegration=s,n.setupIntegrations=function(e){var t={};return a(e).forEach((function(e){t[e.name]=e,s(e)})),t}},{"@sentry/hub":39,"@sentry/utils":64,tslib:81}],32:[function(e,t,n){var r;Object.defineProperty(n,"__esModule",{value:!0});var o=function(){function e(){this.name=e.id}return e.prototype.setupOnce=function(){r=Function.prototype.toString,Function.prototype.toString=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this.__sentry_original__||this;return r.apply(n,e)}},e.id="FunctionToString",e}();n.FunctionToString=o},{}],33:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib"),o=e("@sentry/hub"),i=e("@sentry/utils"),a=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],s=function(){function e(t){void 0===t&&(t={}),this._options=t,this.name=e.id}return e.prototype.setupOnce=function(){o.addGlobalEventProcessor((function(t){var n=o.getCurrentHub();if(!n)return t;var r=n.getIntegration(e);if(r){var i=n.getClient(),a=i?i.getOptions():{},s=r._mergeOptions(a);if(r._shouldDropEvent(t,s))return null}return t}))},e.prototype._shouldDropEvent=function(e,t){return this._isSentryError(e,t)?(i.logger.warn("Event dropped due to being internal Sentry Error.\nEvent: "+i.getEventDescription(e)),!0):this._isIgnoredError(e,t)?(i.logger.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+i.getEventDescription(e)),!0):this._isDeniedUrl(e,t)?(i.logger.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: "+i.getEventDescription(e)+".\nUrl: "+this._getEventFilterUrl(e)),!0):!this._isAllowedUrl(e,t)&&(i.logger.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: "+i.getEventDescription(e)+".\nUrl: "+this._getEventFilterUrl(e)),!0)},e.prototype._isSentryError=function(e,t){if(!t.ignoreInternal)return!1;try{return e&&e.exception&&e.exception.values&&e.exception.values[0]&&"SentryError"===e.exception.values[0].type||!1}catch(e){return!1}},e.prototype._isIgnoredError=function(e,t){return!(!t.ignoreErrors||!t.ignoreErrors.length)&&this._getPossibleEventMessages(e).some((function(e){return t.ignoreErrors.some((function(t){return i.isMatchingPattern(e,t)}))}))},e.prototype._isDeniedUrl=function(e,t){if(!t.denyUrls||!t.denyUrls.length)return!1;var n=this._getEventFilterUrl(e);return!!n&&t.denyUrls.some((function(e){return i.isMatchingPattern(n,e)}))},e.prototype._isAllowedUrl=function(e,t){if(!t.allowUrls||!t.allowUrls.length)return!0;var n=this._getEventFilterUrl(e);return!n||t.allowUrls.some((function(e){return i.isMatchingPattern(n,e)}))},e.prototype._mergeOptions=function(e){return void 0===e&&(e={}),{allowUrls:r.__spread(this._options.whitelistUrls||[],this._options.allowUrls||[],e.whitelistUrls||[],e.allowUrls||[]),denyUrls:r.__spread(this._options.blacklistUrls||[],this._options.denyUrls||[],e.blacklistUrls||[],e.denyUrls||[]),ignoreErrors:r.__spread(this._options.ignoreErrors||[],e.ignoreErrors||[],a),ignoreInternal:void 0===this._options.ignoreInternal||this._options.ignoreInternal}},e.prototype._getPossibleEventMessages=function(e){if(e.message)return[e.message];if(e.exception)try{var t=e.exception.values&&e.exception.values[0]||{},n=t.type,r=void 0===n?"":n,o=t.value,a=void 0===o?"":o;return[""+a,r+": "+a]}catch(t){return i.logger.error("Cannot extract message for event "+i.getEventDescription(e)),[]}return[]},e.prototype._getEventFilterUrl=function(e){try{if(e.stacktrace){var t=e.stacktrace.frames;return t&&t[t.length-1].filename||null}if(e.exception){var n=e.exception.values&&e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames;return n&&n[n.length-1].filename||null}return null}catch(t){return i.logger.error("Cannot extract url for event "+i.getEventDescription(e)),null}},e.id="InboundFilters",e}();n.InboundFilters=s},{"@sentry/hub":39,"@sentry/utils":64,tslib:81}],34:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("./functiontostring");n.FunctionToString=r.FunctionToString;var o=e("./inboundfilters");n.InboundFilters=o.InboundFilters},{"./functiontostring":32,"./inboundfilters":33}],35:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.eventToSentryRequest=function(e,t){var n="transaction"===e.type,r={body:JSON.stringify(e),url:n?t.getEnvelopeEndpointWithUrlEncodedAuth():t.getStoreEndpointWithUrlEncodedAuth()};if(n){var o=JSON.stringify({event_id:e.event_id,sent_at:(new Date).toISOString()})+"\n"+JSON.stringify({type:e.type})+"\n"+r.body;r.body=o}return r}},{}],36:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("@sentry/hub"),o=e("@sentry/utils");n.initAndBind=function(e,t){!0===t.debug&&o.logger.enable();var n=r.getCurrentHub(),i=new e(t);n.bindClient(i)}},{"@sentry/hub":39,"@sentry/utils":64}],37:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("@sentry/types"),o=e("@sentry/utils"),i=function(){function e(){}return e.prototype.sendEvent=function(e){return o.SyncPromise.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:r.Status.Skipped})},e.prototype.close=function(e){return o.SyncPromise.resolve(!0)},e}();n.NoopTransport=i},{"@sentry/types":56,"@sentry/utils":64}],38:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib"),o=e("@sentry/utils"),i=e("./scope");n.API_VERSION=3;var a=function(){function e(e,t,r){void 0===t&&(t=new i.Scope),void 0===r&&(r=n.API_VERSION),this._version=r,this._stack=[{}],this.getStackTop().scope=t,this.bindClient(e)}return e.prototype.isOlderThan=function(e){return this._version<e},e.prototype.bindClient=function(e){this.getStackTop().client=e,e&&e.setupIntegrations&&e.setupIntegrations()},e.prototype.pushScope=function(){var e=i.Scope.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:e}),e},e.prototype.popScope=function(){return!(this.getStack().length<=1)&&!!this.getStack().pop()},e.prototype.withScope=function(e){var t=this.pushScope();try{e(t)}finally{this.popScope()}},e.prototype.getClient=function(){return this.getStackTop().client},e.prototype.getScope=function(){return this.getStackTop().scope},e.prototype.getStack=function(){return this._stack},e.prototype.getStackTop=function(){return this._stack[this._stack.length-1]},e.prototype.captureException=function(e,t){var n=this._lastEventId=o.uuid4(),i=t;if(!t){var a=void 0;try{throw new Error("Sentry syntheticException")}catch(e){a=e}i={originalException:e,syntheticException:a}}return this._invokeClient("captureException",e,r.__assign(r.__assign({},i),{event_id:n})),n},e.prototype.captureMessage=function(e,t,n){var i=this._lastEventId=o.uuid4(),a=n;if(!n){var s=void 0;try{throw new Error(e)}catch(e){s=e}a={originalException:e,syntheticException:s}}return this._invokeClient("captureMessage",e,t,r.__assign(r.__assign({},a),{event_id:i})),i},e.prototype.captureEvent=function(e,t){var n=this._lastEventId=o.uuid4();return this._invokeClient("captureEvent",e,r.__assign(r.__assign({},t),{event_id:n})),n},e.prototype.lastEventId=function(){return this._lastEventId},e.prototype.addBreadcrumb=function(e,t){var n=this.getStackTop(),i=n.scope,a=n.client;if(i&&a){var s=a.getOptions&&a.getOptions()||{},c=s.beforeBreadcrumb,u=void 0===c?null:c,l=s.maxBreadcrumbs,f=void 0===l?100:l;if(!(f<=0)){var p=o.dateTimestampInSeconds(),d=r.__assign({timestamp:p},e),h=u?o.consoleSandbox((function(){return u(d,t)})):d;null!==h&&i.addBreadcrumb(h,Math.min(f,100))}}},e.prototype.setUser=function(e){var t=this.getScope();t&&t.setUser(e)},e.prototype.setTags=function(e){var t=this.getScope();t&&t.setTags(e)},e.prototype.setExtras=function(e){var t=this.getScope();t&&t.setExtras(e)},e.prototype.setTag=function(e,t){var n=this.getScope();n&&n.setTag(e,t)},e.prototype.setExtra=function(e,t){var n=this.getScope();n&&n.setExtra(e,t)},e.prototype.setContext=function(e,t){var n=this.getScope();n&&n.setContext(e,t)},e.prototype.configureScope=function(e){var t=this.getStackTop(),n=t.scope,r=t.client;n&&r&&e(n)},e.prototype.run=function(e){var t=c(this);try{e(this)}finally{c(t)}},e.prototype.getIntegration=function(e){var t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(t){return o.logger.warn("Cannot retrieve integration "+e.id+" from the current Hub"),null}},e.prototype.startSpan=function(e){return this._callExtensionMethod("startSpan",e)},e.prototype.startTransaction=function(e,t){return this._callExtensionMethod("startTransaction",e,t)},e.prototype.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},e.prototype._invokeClient=function(e){for(var t,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var i=this.getStackTop(),a=i.scope,s=i.client;s&&s[e]&&(t=s)[e].apply(t,r.__spread(n,[a]))},e.prototype._callExtensionMethod=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=s(),i=r.__SENTRY__;if(i&&i.extensions&&"function"==typeof i.extensions[e])return i.extensions[e].apply(this,t);o.logger.warn("Extension method "+e+" couldn't be found, doing nothing.")},e}();function s(){var e=o.getGlobalObject();return e.__SENTRY__=e.__SENTRY__||{extensions:{},hub:void 0},e}function c(e){var t=s(),n=f(t);return p(t,e),n}function u(){var e=s().__SENTRY__;return e&&e.extensions&&e.extensions.domain&&e.extensions.domain.active}function l(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function f(e){return e&&e.__SENTRY__&&e.__SENTRY__.hub||(e.__SENTRY__=e.__SENTRY__||{},e.__SENTRY__.hub=new a),e.__SENTRY__.hub}function p(e,t){return!!e&&(e.__SENTRY__=e.__SENTRY__||{},e.__SENTRY__.hub=t,!0)}n.Hub=a,n.getMainCarrier=s,n.makeMain=c,n.getCurrentHub=function(){var e=s();return l(e)&&!f(e).isOlderThan(n.API_VERSION)||p(e,new a),o.isNodeEnv()?function(e){try{var t=u();if(!t)return f(e);if(!l(t)||f(t).isOlderThan(n.API_VERSION)){var r=f(e).getStackTop();p(t,new a(r.client,i.Scope.clone(r.scope)))}return f(t)}catch(t){return f(e)}}(e):f(e)},n.getActiveDomain=u,n.getHubFromCarrier=f,n.setHubOnCarrier=p},{"./scope":40,"@sentry/utils":64,tslib:81}],39:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("./scope");n.addGlobalEventProcessor=r.addGlobalEventProcessor,n.Scope=r.Scope;var o=e("./hub");n.getActiveDomain=o.getActiveDomain,n.getCurrentHub=o.getCurrentHub,n.getHubFromCarrier=o.getHubFromCarrier,n.getMainCarrier=o.getMainCarrier,n.Hub=o.Hub,n.makeMain=o.makeMain,n.setHubOnCarrier=o.setHubOnCarrier},{"./hub":38,"./scope":40}],40:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib"),o=e("@sentry/utils"),i=function(){function e(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={}}return e.clone=function(t){var n=new e;return t&&(n._breadcrumbs=r.__spread(t._breadcrumbs),n._tags=r.__assign({},t._tags),n._extra=r.__assign({},t._extra),n._contexts=r.__assign({},t._contexts),n._user=t._user,n._level=t._level,n._span=t._span,n._transactionName=t._transactionName,n._fingerprint=t._fingerprint,n._eventProcessors=r.__spread(t._eventProcessors)),n},e.prototype.addScopeListener=function(e){this._scopeListeners.push(e)},e.prototype.addEventProcessor=function(e){return this._eventProcessors.push(e),this},e.prototype.setUser=function(e){return this._user=e||{},this._notifyScopeListeners(),this},e.prototype.setTags=function(e){return this._tags=r.__assign(r.__assign({},this._tags),e),this._notifyScopeListeners(),this},e.prototype.setTag=function(e,t){var n;return this._tags=r.__assign(r.__assign({},this._tags),((n={})[e]=t,n)),this._notifyScopeListeners(),this},e.prototype.setExtras=function(e){return this._extra=r.__assign(r.__assign({},this._extra),e),this._notifyScopeListeners(),this},e.prototype.setExtra=function(e,t){var n;return this._extra=r.__assign(r.__assign({},this._extra),((n={})[e]=t,n)),this._notifyScopeListeners(),this},e.prototype.setFingerprint=function(e){return this._fingerprint=e,this._notifyScopeListeners(),this},e.prototype.setLevel=function(e){return this._level=e,this._notifyScopeListeners(),this},e.prototype.setTransactionName=function(e){return this._transactionName=e,this._notifyScopeListeners(),this},e.prototype.setTransaction=function(e){return this.setTransactionName(e)},e.prototype.setContext=function(e,t){var n;return null===t?delete this._contexts[e]:this._contexts=r.__assign(r.__assign({},this._contexts),((n={})[e]=t,n)),this._notifyScopeListeners(),this},e.prototype.setSpan=function(e){return this._span=e,this._notifyScopeListeners(),this},e.prototype.getSpan=function(){return this._span},e.prototype.getTransaction=function(){var e,t,n,r,o=this.getSpan();return(null===(e=o)||void 0===e?void 0:e.transaction)?null===(t=o)||void 0===t?void 0:t.transaction:(null===(r=null===(n=o)||void 0===n?void 0:n.spanRecorder)||void 0===r?void 0:r.spans[0])?o.spanRecorder.spans[0]:void 0},e.prototype.update=function(t){if(!t)return this;if("function"==typeof t){var n=t(this);return n instanceof e?n:this}return t instanceof e?(this._tags=r.__assign(r.__assign({},this._tags),t._tags),this._extra=r.__assign(r.__assign({},this._extra),t._extra),this._contexts=r.__assign(r.__assign({},this._contexts),t._contexts),t._user&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint)):o.isPlainObject(t)&&(t=t,this._tags=r.__assign(r.__assign({},this._tags),t.tags),this._extra=r.__assign(r.__assign({},this._extra),t.extra),this._contexts=r.__assign(r.__assign({},this._contexts),t.contexts),t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint)),this},e.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._span=void 0,this._notifyScopeListeners(),this},e.prototype.addBreadcrumb=function(e,t){var n=r.__assign({timestamp:o.dateTimestampInSeconds()},e);return this._breadcrumbs=void 0!==t&&t>=0?r.__spread(this._breadcrumbs,[n]).slice(-t):r.__spread(this._breadcrumbs,[n]),this._notifyScopeListeners(),this},e.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},e.prototype.applyToEvent=function(e,t){return this._extra&&Object.keys(this._extra).length&&(e.extra=r.__assign(r.__assign({},this._extra),e.extra)),this._tags&&Object.keys(this._tags).length&&(e.tags=r.__assign(r.__assign({},this._tags),e.tags)),this._user&&Object.keys(this._user).length&&(e.user=r.__assign(r.__assign({},this._user),e.user)),this._contexts&&Object.keys(this._contexts).length&&(e.contexts=r.__assign(r.__assign({},this._contexts),e.contexts)),this._level&&(e.level=this._level),this._transactionName&&(e.transaction=this._transactionName),this._span&&(e.contexts=r.__assign({trace:this._span.getTraceContext()},e.contexts)),this._applyFingerprint(e),e.breadcrumbs=r.__spread(e.breadcrumbs||[],this._breadcrumbs),e.breadcrumbs=e.breadcrumbs.length>0?e.breadcrumbs:void 0,this._notifyEventProcessors(r.__spread(a(),this._eventProcessors),e,t)},e.prototype._notifyEventProcessors=function(e,t,n,i){var a=this;return void 0===i&&(i=0),new o.SyncPromise((function(s,c){var u=e[i];if(null===t||"function"!=typeof u)s(t);else{var l=u(r.__assign({},t),n);o.isThenable(l)?l.then((function(t){return a._notifyEventProcessors(e,t,n,i+1).then(s)})).then(null,c):a._notifyEventProcessors(e,l,n,i+1).then(s).then(null,c)}}))},e.prototype._notifyScopeListeners=function(){var e=this;this._notifyingListeners||(this._notifyingListeners=!0,setTimeout((function(){e._scopeListeners.forEach((function(t){t(e)})),e._notifyingListeners=!1})))},e.prototype._applyFingerprint=function(e){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],this._fingerprint&&(e.fingerprint=e.fingerprint.concat(this._fingerprint)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint},e}();function a(){var e=o.getGlobalObject();return e.__SENTRY__=e.__SENTRY__||{},e.__SENTRY__.globalEventProcessors=e.__SENTRY__.globalEventProcessors||[],e.__SENTRY__.globalEventProcessors}n.Scope=i,n.addGlobalEventProcessor=function(e){a().push(e)}},{"@sentry/utils":64,tslib:81}],41:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib"),o=e("@sentry/utils"),i=/^\[((?:[$a-zA-Z0-9]+:)?(?:[$a-zA-Z0-9]+))\] (.*?)\n?(\S+)$/,a=function(){function e(t){void 0===t&&(t={}),this.name=e.id,this._angular=t.angular||o.getGlobalObject().angular,this._angular?this._module=this._angular.module(e.moduleName,[]):o.logger.error("AngularIntegration is missing an Angular instance")}return e.prototype.setupOnce=function(e,t){var n=this;this._module&&(this._getCurrentHub=t,this._module.config(["$provide",function(e){e.decorator("$exceptionHandler",["$delegate",n._$exceptionHandlerDecorator.bind(n)])}]))},e.prototype._$exceptionHandlerDecorator=function(t){var n=this;return function(o,a){var s=n._getCurrentHub&&n._getCurrentHub();s&&s.getIntegration(e)&&s.withScope((function(e){a&&e.setExtra("cause",a),e.addEventProcessor((function(e){var t=e.exception&&e.exception.values&&e.exception.values[0];if(t){var n=i.exec(t.value||"");n&&(t.type=n[1],t.value=n[2],e.message=t.type+": "+t.value,e.extra=r.__assign(r.__assign({},e.extra),{angularDocs:n[3].substr(0,250)}))}return e})),s.captureException(o)})),t(o,a)}},e.id="AngularJS",e.moduleName="ngSentry",e}();n.Angular=a},{"@sentry/utils":64,tslib:81}],42:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("@sentry/types"),o=e("@sentry/utils"),i=o.getGlobalObject(),a=function(){function e(t){void 0===t&&(t={}),this.name=e.id,this._levels=["log","info","warn","error","debug","assert"],t.levels&&(this._levels=t.levels)}return e.prototype.setupOnce=function(t,n){"console"in i&&this._levels.forEach((function(t){t in i.console&&o.fill(i.console,t,(function(a){return function(){for(var s=[],c=0;c<arguments.length;c++)s[c]=arguments[c];var u=n();u.getIntegration(e)&&u.withScope((function(e){e.setLevel(r.Severity.fromString(t)),e.setExtra("arguments",s),e.addEventProcessor((function(e){return e.logger="console",e}));var n=o.safeJoin(s," ");"assert"===t?!1===s[0]&&(n="Assertion failed: "+(o.safeJoin(s.slice(1)," ")||"console.assert"),e.setExtra("arguments",s.slice(1)),u.captureMessage(n)):u.captureMessage(n)})),a&&Function.prototype.apply.call(a,i.console,s)}}))}))},e.id="CaptureConsole",e}();n.CaptureConsole=a},{"@sentry/types":56,"@sentry/utils":64}],43:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib"),o=e("@sentry/utils"),i=function(){function e(t){this.name=e.id,this._options=r.__assign({debugger:!1,stringify:!1},t)}return e.prototype.setupOnce=function(t,n){t((function(t,r){var i=n().getIntegration(e);return i&&(i._options.debugger,o.consoleSandbox((function(){i._options.stringify?(console.log(JSON.stringify(t,null,2)),r&&console.log(JSON.stringify(r,null,2))):(console.log(t),r&&console.log(r))}))),t}))},e.id="Debug",e}();n.Debug=i},{"@sentry/utils":64,tslib:81}],44:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=function(){function e(){this.name=e.id}return e.prototype.setupOnce=function(t,n){t((function(t){var r=n().getIntegration(e);if(r){try{if(r._shouldDropEvent(t,r._previousEvent))return null}catch(e){return r._previousEvent=t}return r._previousEvent=t}return t}))},e.prototype._shouldDropEvent=function(e,t){return!!t&&(!!this._isSameMessageEvent(e,t)||!!this._isSameExceptionEvent(e,t))},e.prototype._isSameMessageEvent=function(e,t){var n=e.message,r=t.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!this._isSameFingerprint(e,t)&&!!this._isSameStacktrace(e,t))))},e.prototype._getFramesFromEvent=function(e){var t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(e){return}else if(e.stacktrace)return e.stacktrace.frames},e.prototype._isSameStacktrace=function(e,t){var n=this._getFramesFromEvent(e),r=this._getFramesFromEvent(t);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<r.length;o++){var i=r[o],a=n[o];if(i.filename!==a.filename||i.lineno!==a.lineno||i.colno!==a.colno||i.function!==a.function)return!1}return!0},e.prototype._getExceptionFromEvent=function(e){return e.exception&&e.exception.values&&e.exception.values[0]},e.prototype._isSameExceptionEvent=function(e,t){var n=this._getExceptionFromEvent(t),r=this._getExceptionFromEvent(e);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!this._isSameFingerprint(e,t)&&!!this._isSameStacktrace(e,t)))},e.prototype._isSameFingerprint=function(e,t){var n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return!(n.join("")!==r.join(""))}catch(e){return!1}},e.id="Dedupe",e}();n.Dedupe=r},{}],45:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("@sentry/utils"),o=function(){function e(t){void 0===t&&(t={}),this.name=e.id,this._Ember=t.Ember||r.getGlobalObject().Ember}return e.prototype.setupOnce=function(t,n){var o=this;if(this._Ember){var i=this._Ember.onerror;this._Ember.onerror=function(t){if(n().getIntegration(e)&&n().captureException(t,{originalException:t}),"function"==typeof i)i.call(o._Ember,t);else if(o._Ember.testing)throw t},this._Ember.RSVP.on("error",(function(t){n().getIntegration(e)&&n().withScope((function(e){r.isInstanceOf(t,Error)?(e.setExtra("context","Unhandled Promise error detected"),n().captureException(t,{originalException:t})):(e.setExtra("reason",t),n().captureMessage("Unhandled Promise error detected"))}))}))}else r.logger.error("EmberIntegration is missing an Ember instance")},e.id="Ember",e}();n.Ember=o},{"@sentry/utils":64}],46:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib"),o=e("@sentry/utils"),i=function(){function e(t){void 0===t&&(t={depth:3}),this._options=t,this.name=e.id}return e.prototype.setupOnce=function(t,n){t((function(t,r){var o=n().getIntegration(e);return o?o.enhanceEventWithErrorData(t,r):t}))},e.prototype.enhanceEventWithErrorData=function(e,t){var n;if(!t||!t.originalException||!o.isError(t.originalException))return e;var i=t.originalException.name||t.originalException.constructor.name,a=this._extractErrorData(t.originalException);if(a){var s=r.__assign({},e.contexts),c=o.normalize(a,this._options.depth);return o.isPlainObject(c)&&(s=r.__assign(r.__assign({},e.contexts),((n={})[i]=r.__assign({},c),n))),r.__assign(r.__assign({},e),{contexts:s})}return e},e.prototype._extractErrorData=function(e){var t,n,i=null;try{var a=["name","message","stack","line","column","fileName","lineNumber","columnNumber"],s=Object.getOwnPropertyNames(e).filter((function(e){return-1===a.indexOf(e)}));if(s.length){var c={};try{for(var u=r.__values(s),l=u.next();!l.done;l=u.next()){var f=l.value,p=e[f];o.isError(p)&&(p=p.toString()),c[f]=p}}catch(e){t={error:e}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}i=c}}catch(e){o.logger.error("Unable to extract extra data from the Error object:",e)}return i},e.id="ExtraErrorData",e}();n.ExtraErrorData=i},{"@sentry/utils":64,tslib:81}],47:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("./angular");n.Angular=r.Angular;var o=e("./captureconsole");n.CaptureConsole=o.CaptureConsole;var i=e("./debug");n.Debug=i.Debug;var a=e("./dedupe");n.Dedupe=a.Dedupe;var s=e("./ember");n.Ember=s.Ember;var c=e("./extraerrordata");n.ExtraErrorData=c.ExtraErrorData;var u=e("./offline");n.Offline=u.Offline;var l=e("./reportingobserver");n.ReportingObserver=l.ReportingObserver;var f=e("./rewriteframes");n.RewriteFrames=f.RewriteFrames;var p=e("./sessiontiming");n.SessionTiming=p.SessionTiming;var d=e("./transaction");n.Transaction=d.Transaction;var h=e("./vue");n.Vue=h.Vue},{"./angular":41,"./captureconsole":42,"./debug":43,"./dedupe":44,"./ember":45,"./extraerrordata":46,"./offline":48,"./reportingobserver":49,"./rewriteframes":50,"./sessiontiming":51,"./transaction":52,"./vue":53}],48:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib"),o=e("@sentry/utils"),i=e("localforage"),a=function(){function e(t){void 0===t&&(t={}),this.name=e.id,this.global=o.getGlobalObject(),this.maxStoredEvents=t.maxStoredEvents||30,this.offlineEventStore=i.createInstance({name:"sentry/offlineEventStore"})}return e.prototype.setupOnce=function(t,n){var r=this;this.hub=n(),"addEventListener"in this.global&&this.global.addEventListener("online",(function(){r._sendEvents().catch((function(){o.logger.warn("could not send cached events")}))})),t((function(t){return r.hub&&r.hub.getIntegration(e)&&"navigator"in r.global&&"onLine"in r.global.navigator&&!r.global.navigator.onLine?(r._cacheEvent(t).then((function(e){return r._enforceMaxEvents()})).catch((function(e){o.logger.warn("could not cache event while offline")})),null):t})),"navigator"in this.global&&"onLine"in this.global.navigator&&this.global.navigator.onLine&&this._sendEvents().catch((function(){o.logger.warn("could not send cached events")}))},e.prototype._cacheEvent=function(e){return r.__awaiter(this,void 0,void 0,(function(){return r.__generator(this,(function(t){return[2,this.offlineEventStore.setItem(o.uuid4(),e)]}))}))},e.prototype._enforceMaxEvents=function(){return r.__awaiter(this,void 0,void 0,(function(){var e,t=this;return r.__generator(this,(function(n){return e=[],[2,this.offlineEventStore.iterate((function(t,n,r){e.push({cacheKey:n,event:t})})).then((function(){return t._purgeEvents(e.sort((function(e,t){return(t.event.timestamp||0)-(e.event.timestamp||0)})).slice(t.maxStoredEvents<e.length?t.maxStoredEvents:e.length).map((function(e){return e.cacheKey})))})).catch((function(e){o.logger.warn("could not enforce max events")}))]}))}))},e.prototype._purgeEvent=function(e){return r.__awaiter(this,void 0,void 0,(function(){return r.__generator(this,(function(t){return[2,this.offlineEventStore.removeItem(e)]}))}))},e.prototype._purgeEvents=function(e){return r.__awaiter(this,void 0,void 0,(function(){var t=this;return r.__generator(this,(function(n){return[2,Promise.all(e.map((function(e){return t._purgeEvent(e)}))).then()]}))}))},e.prototype._sendEvents=function(){return r.__awaiter(this,void 0,void 0,(function(){var e=this;return r.__generator(this,(function(t){return[2,this.offlineEventStore.iterate((function(t,n,r){e.hub?(e.hub.captureEvent(t),e._purgeEvent(n).catch((function(e){o.logger.warn("could not purge event from cache")}))):o.logger.warn("no hub found - could not send cached event")}))]}))}))},e.id="Offline",e}();n.Offline=a},{"@sentry/utils":64,localforage:54,tslib:81}],49:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r,o=e("tslib"),i=e("@sentry/utils");!function(e){e.Crash="crash",e.Deprecation="deprecation",e.Intervention="intervention"}(r||(r={}));var a=function(){function e(t){void 0===t&&(t={types:[r.Crash,r.Deprecation,r.Intervention]}),this._options=t,this.name=e.id}return e.prototype.setupOnce=function(e,t){i.supportsReportingObserver()&&(this._getCurrentHub=t,new(i.getGlobalObject().ReportingObserver)(this.handler.bind(this),{buffered:!0,types:this._options.types}).observe())},e.prototype.handler=function(t){var n,i,a=this._getCurrentHub&&this._getCurrentHub();if(a&&a.getIntegration(e)){var s=function(e){a.withScope((function(t){t.setExtra("url",e.url);var n="ReportingObserver ["+e.type+"]",o="No details available";if(e.body){var i,s={};for(var c in e.body)s[c]=e.body[c];if(t.setExtra("body",s),e.type===r.Crash)o=[(i=e.body).crashId||"",i.reason||""].join(" ").trim()||o;else o=(i=e.body).message||o}a.captureMessage(n+": "+o)}))};try{for(var c=o.__values(t),u=c.next();!u.done;u=c.next()){s(u.value)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}}},e.id="ReportingObserver",e}();n.ReportingObserver=a},{"@sentry/utils":64,tslib:81}],50:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib"),o=e("@sentry/utils"),i=function(){function e(t){var n=this;void 0===t&&(t={}),this.name=e.id,this._iteratee=function(e){if(!e.filename)return e;var t=/^[A-Z]:\\/.test(e.filename),r=/^\//.test(e.filename);if(t||r){var i=t?e.filename.replace(/^[A-Z]:/,"").replace(/\\/g,"/"):e.filename,a=n._root?o.relative(n._root,i):o.basename(i);e.filename="app:///"+a}return e},t.root&&(this._root=t.root),t.iteratee&&(this._iteratee=t.iteratee)}return e.prototype.setupOnce=function(t,n){t((function(t){var r=n().getIntegration(e);return r?r.process(t):t}))},e.prototype.process=function(e){return e.exception&&Array.isArray(e.exception.values)?this._processExceptionsEvent(e):e.stacktrace?this._processStacktraceEvent(e):e},e.prototype._processExceptionsEvent=function(e){var t=this;try{return r.__assign(r.__assign({},e),{exception:r.__assign(r.__assign({},e.exception),{values:e.exception.values.map((function(e){return r.__assign(r.__assign({},e),{stacktrace:t._processStacktrace(e.stacktrace)})}))})})}catch(t){return e}},e.prototype._processStacktraceEvent=function(e){try{return r.__assign(r.__assign({},e),{stacktrace:this._processStacktrace(e.stacktrace)})}catch(t){return e}},e.prototype._processStacktrace=function(e){var t=this;return r.__assign(r.__assign({},e),{frames:e&&e.frames&&e.frames.map((function(e){return t._iteratee(e)}))})},e.id="RewriteFrames",e}();n.RewriteFrames=i},{"@sentry/utils":64,tslib:81}],51:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib"),o=function(){function e(){this.name=e.id,this._startTime=Date.now()}return e.prototype.setupOnce=function(t,n){t((function(t){var r=n().getIntegration(e);return r?r.process(t):t}))},e.prototype.process=function(e){var t,n=Date.now();return r.__assign(r.__assign({},e),{extra:r.__assign(r.__assign({},e.extra),(t={},t["session:start"]=this._startTime,t["session:duration"]=n-this._startTime,t["session:end"]=n,t))})},e.id="SessionTiming",e}();n.SessionTiming=o},{tslib:81}],52:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=function(){function e(){this.name=e.id}return e.prototype.setupOnce=function(t,n){t((function(t){var r=n().getIntegration(e);return r?r.process(t):t}))},e.prototype.process=function(e){for(var t=this._getFramesFromEvent(e),n=t.length-1;n>=0;n--){var r=t[n];if(!0===r.in_app){e.transaction=this._getTransaction(r);break}}return e},e.prototype._getFramesFromEvent=function(e){var t=e.exception&&e.exception.values&&e.exception.values[0];return t&&t.stacktrace&&t.stacktrace.frames||[]},e.prototype._getTransaction=function(e){return e.module||e.function?(e.module||"?")+"/"+(e.function||"?"):"<unknown>"},e.id="Transaction",e}();n.Transaction=r},{}],53:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib"),o=e("@sentry/utils"),i={id:"Tracing"},a={id:"BrowserTracing"},s={activate:["activated","deactivated"],create:["beforeCreate","created"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]},c=/(?:^|[-_/])(\w)/g,u=function(){function e(t){var n=this;this.name=e.id,this._componentsCache={},this._applyTracingHooks=function(e,t){if(!e.$options.$_sentryPerfHook){e.$options.$_sentryPerfHook=!0;var a=n._getComponentName(e),c="root"===a,u={},f=function(r){var a=o.timestampWithMs();n._rootSpan?n._finishRootSpan(a,t):e.$once("hook:"+r,(function(){var e=t().getIntegration(i);if(e){n._tracingActivity=e.constructor.pushActivity("Vue Application Render");var r=e.constructor.getTransaction();r&&(n._rootSpan=r.startChild({description:"Application Render",op:"Vue"}))}else{var o=l(t());o&&(n._rootSpan=o.startChild({description:"Application Render",op:"Vue"}))}}))},p=function(r,i){var s=Array.isArray(n._options.tracingOptions.trackComponents)?n._options.tracingOptions.trackComponents.indexOf(a)>-1:n._options.tracingOptions.trackComponents;if(n._rootSpan&&s){var c=o.timestampWithMs(),l=u[i];l?(l.finish(),n._finishRootSpan(c,t)):e.$once("hook:"+r,(function(){n._rootSpan&&(u[i]=n._rootSpan.startChild({description:"Vue <"+a+">",op:i}))}))}};n._options.tracingOptions.hooks.forEach((function(t){var i=s[t];i?i.forEach((function(o){var i=c?f.bind(n,o):p.bind(n,o,t),a=e.$options[o];Array.isArray(a)?e.$options[o]=r.__spread([i],a):e.$options[o]="function"==typeof a?[i,a]:[i]})):o.logger.warn("Unknown hook: "+t)}))}},this._options=r.__assign(r.__assign({Vue:o.getGlobalObject().Vue,attachProps:!0,logErrors:!1,tracing:!1},t),{tracingOptions:r.__assign({hooks:["mount","update"],timeout:2e3,trackComponents:!1},t.tracingOptions)})}return e.prototype.setupOnce=function(e,t){this._options.Vue?(this._attachErrorHandler(t),this._options.tracing&&this._startTracing(t)):o.logger.error("Vue integration is missing a Vue instance")},e.prototype._getComponentName=function(e){if(!e)return"anonymous component";if(e.$root===e)return"root";if(!e.$options)return"anonymous component";if(e.$options.name)return e.$options.name;if(e.$options._componentTag)return e.$options._componentTag;if(e.$options.__file){var t=e.$options.__file.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"),n=o.basename(t,".vue");return this._componentsCache[n]||(this._componentsCache[n]=n.replace(c,(function(e,t){return t?t.toUpperCase():""})))}return"anonymous component"},e.prototype._finishRootSpan=function(e,t){var n=this;this._rootSpanTimer&&clearTimeout(this._rootSpanTimer),this._rootSpanTimer=setTimeout((function(){if(n._tracingActivity){var r=t().getIntegration(i);r&&r.constructor.popActivity(n._tracingActivity)}n._rootSpan&&n._rootSpan.finish(e)}),this._options.tracingOptions.timeout)},e.prototype._startTracing=function(e){var t=this._applyTracingHooks;this._options.Vue.mixin({beforeCreate:function(){e().getIntegration(i)||e().getIntegration(a)?t(this,e):o.logger.error("Vue integration has tracing enabled, but Tracing integration is not configured")}})},e.prototype._attachErrorHandler=function(t){var n=this,r=this._options.Vue.config.errorHandler;this._options.Vue.config.errorHandler=function(i,a,s){var c={};if(a)try{c.componentName=n._getComponentName(a),n._options.attachProps&&(c.propsData=a.$options.propsData)}catch(e){o.logger.warn("Unable to extract metadata from Vue component.")}s&&(c.lifecycleHook=s),t().getIntegration(e)&&setTimeout((function(){t().withScope((function(e){e.setContext("vue",c),t().captureException(i)}))})),"function"==typeof r&&r.call(n._options.Vue,i,a,s),n._options.logErrors&&(n._options.Vue.util&&n._options.Vue.util.warn("Error in "+s+': "'+i.toString()+'"',a),console.error(i))}},e.id="Vue",e}();function l(e){if(e&&e.getScope){var t=e.getScope();if(t)return t.getTransaction()}}n.Vue=u,n.getActiveTransaction=l},{"@sentry/utils":64,tslib:81}],54:[function(e,t,n){(function(r){
  /*!
      localForage -- Offline Storage, Improved
      Version 1.8.1
      https://localforage.github.io/localForage
      (c) 2013-2017 Mozilla, Apache License 2.0
  */
  !function(e){if("object"==typeof n&&void 0!==t)t.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:void 0!==r?r:"undefined"!=typeof self?self:this).localforage=e()}}((function(){return function t(n,r,o){function i(s,c){if(!r[s]){if(!n[s]){var u="function"==typeof e&&e;if(!c&&u)return u(s,!0);if(a)return a(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var f=r[s]={exports:{}};n[s][0].call(f.exports,(function(e){var t=n[s][1][e];return i(t||e)}),f,f.exports,t,n,r,o)}return r[s].exports}for(var a="function"==typeof e&&e,s=0;s<o.length;s++)i(o[s]);return i}({1:[function(e,t,n){(function(e){"use strict";var n,r,o=e.MutationObserver||e.WebKitMutationObserver;if(o){var i=0,a=new o(l),s=e.document.createTextNode("");a.observe(s,{characterData:!0}),n=function(){s.data=i=++i%2}}else if(e.setImmediate||void 0===e.MessageChannel)n="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){l(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(l,0)};else{var c=new e.MessageChannel;c.port1.onmessage=l,n=function(){c.port2.postMessage(0)}}var u=[];function l(){var e,t;r=!0;for(var n=u.length;n;){for(t=u,u=[],e=-1;++e<n;)t[e]();n=u.length}r=!1}t.exports=function(e){1!==u.push(e)||r||n()}}).call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(e,t,n){"use strict";var r=e(1);function o(){}var i={},a=["REJECTED"],s=["FULFILLED"],c=["PENDING"];function u(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=c,this.queue=[],this.outcome=void 0,e!==o&&d(this,e)}function l(e,t,n){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function f(e,t,n){r((function(){var r;try{r=t(n)}catch(t){return i.reject(e,t)}r===e?i.reject(e,new TypeError("Cannot resolve promise with itself")):i.resolve(e,r)}))}function p(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function d(e,t){var n=!1;function r(t){n||(n=!0,i.reject(e,t))}function o(t){n||(n=!0,i.resolve(e,t))}var a=h((function(){t(o,r)}));"error"===a.status&&r(a.value)}function h(e,t){var n={};try{n.value=e(t),n.status="success"}catch(e){n.status="error",n.value=e}return n}t.exports=u,u.prototype.catch=function(e){return this.then(null,e)},u.prototype.then=function(e,t){if("function"!=typeof e&&this.state===s||"function"!=typeof t&&this.state===a)return this;var n=new this.constructor(o);this.state!==c?f(n,this.state===s?e:t,this.outcome):this.queue.push(new l(n,e,t));return n},l.prototype.callFulfilled=function(e){i.resolve(this.promise,e)},l.prototype.otherCallFulfilled=function(e){f(this.promise,this.onFulfilled,e)},l.prototype.callRejected=function(e){i.reject(this.promise,e)},l.prototype.otherCallRejected=function(e){f(this.promise,this.onRejected,e)},i.resolve=function(e,t){var n=h(p,t);if("error"===n.status)return i.reject(e,n.value);var r=n.value;if(r)d(e,r);else{e.state=s,e.outcome=t;for(var o=-1,a=e.queue.length;++o<a;)e.queue[o].callFulfilled(t)}return e},i.reject=function(e,t){e.state=a,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},u.resolve=function(e){if(e instanceof this)return e;return i.resolve(new this(o),e)},u.reject=function(e){var t=new this(o);return i.reject(t,e)},u.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);var a=new Array(n),s=0,c=-1,u=new this(o);for(;++c<n;)l(e[c],c);return u;function l(e,o){t.resolve(e).then((function(e){a[o]=e,++s!==n||r||(r=!0,i.resolve(u,a))}),(function(e){r||(r=!0,i.reject(u,e))}))}},u.race=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);var a=-1,s=new this(o);for(;++a<n;)c=e[a],t.resolve(c).then((function(e){r||(r=!0,i.resolve(s,e))}),(function(e){r||(r=!0,i.reject(s,e))}));var c;return s}},{1:1}],3:[function(e,t,n){(function(t){"use strict";"function"!=typeof t.Promise&&(t.Promise=e(2))}).call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{2:2}],4:[function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var o=function(){try{if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof webkitIndexedDB)return webkitIndexedDB;if("undefined"!=typeof mozIndexedDB)return mozIndexedDB;if("undefined"!=typeof OIndexedDB)return OIndexedDB;if("undefined"!=typeof msIndexedDB)return msIndexedDB}catch(e){return}}();function i(e,t){e=e||[],t=t||{};try{return new Blob(e,t)}catch(o){if("TypeError"!==o.name)throw o;for(var n=new("undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder),r=0;r<e.length;r+=1)n.append(e[r]);return n.getBlob(t.type)}}"undefined"==typeof Promise&&e(3);var a=Promise;function s(e,t){t&&e.then((function(e){t(null,e)}),(function(e){t(e)}))}function c(e,t,n){"function"==typeof t&&e.then(t),"function"==typeof n&&e.catch(n)}function u(e){return"string"!=typeof e&&(console.warn(e+" used as a key, but it is not a string."),e=String(e)),e}function l(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var f=void 0,p={},d=Object.prototype.toString;function h(e){return"boolean"==typeof f?a.resolve(f):function(e){return new a((function(t){var n=e.transaction("local-forage-detect-blob-support","readwrite"),r=i([""]);n.objectStore("local-forage-detect-blob-support").put(r,"key"),n.onabort=function(e){e.preventDefault(),e.stopPropagation(),t(!1)},n.oncomplete=function(){var e=navigator.userAgent.match(/Chrome\/(\d+)/),n=navigator.userAgent.match(/Edge\//);t(n||!e||parseInt(e[1],10)>=43)}})).catch((function(){return!1}))}(e).then((function(e){return f=e}))}function v(e){var t=p[e.name],n={};n.promise=new a((function(e,t){n.resolve=e,n.reject=t})),t.deferredOperations.push(n),t.dbReady?t.dbReady=t.dbReady.then((function(){return n.promise})):t.dbReady=n.promise}function _(e){var t=p[e.name].deferredOperations.pop();if(t)return t.resolve(),t.promise}function y(e,t){var n=p[e.name].deferredOperations.pop();if(n)return n.reject(t),n.promise}function g(e,t){return new a((function(n,r){if(p[e.name]=p[e.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},e.db){if(!t)return n(e.db);v(e),e.db.close()}var i=[e.name];t&&i.push(e.version);var a=o.open.apply(o,i);t&&(a.onupgradeneeded=function(t){var n=a.result;try{n.createObjectStore(e.storeName),t.oldVersion<=1&&n.createObjectStore("local-forage-detect-blob-support")}catch(n){if("ConstraintError"!==n.name)throw n;console.warn('The database "'+e.name+'" has been upgraded from version '+t.oldVersion+" to version "+t.newVersion+', but the storage "'+e.storeName+'" already exists.')}}),a.onerror=function(e){e.preventDefault(),r(a.error)},a.onsuccess=function(){n(a.result),_(e)}}))}function m(e){return g(e,!1)}function b(e){return g(e,!0)}function E(e,t){if(!e.db)return!0;var n=!e.db.objectStoreNames.contains(e.storeName),r=e.version<e.db.version,o=e.version>e.db.version;if(r&&(e.version!==t&&console.warn('The database "'+e.name+"\" can't be downgraded from version "+e.db.version+" to version "+e.version+"."),e.version=e.db.version),o||n){if(n){var i=e.db.version+1;i>e.version&&(e.version=i)}return!0}return!1}function S(e){return i([function(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n),o=0;o<t;o++)r[o]=e.charCodeAt(o);return n}(atob(e.data))],{type:e.type})}function x(e){return e&&e.__local_forage_encoded_blob}function w(e){var t=this,n=t._initReady().then((function(){var e=p[t._dbInfo.name];if(e&&e.dbReady)return e.dbReady}));return c(n,e,e),n}function O(e,t,n,r){void 0===r&&(r=1);try{var o=e.db.transaction(e.storeName,t);n(null,o)}catch(o){if(r>0&&(!e.db||"InvalidStateError"===o.name||"NotFoundError"===o.name))return a.resolve().then((function(){if(!e.db||"NotFoundError"===o.name&&!e.db.objectStoreNames.contains(e.storeName)&&e.version<=e.db.version)return e.db&&(e.version=e.db.version+1),b(e)})).then((function(){return function(e){v(e);for(var t=p[e.name],n=t.forages,r=0;r<n.length;r++){var o=n[r];o._dbInfo.db&&(o._dbInfo.db.close(),o._dbInfo.db=null)}return e.db=null,m(e).then((function(t){return e.db=t,E(e)?b(e):t})).then((function(r){e.db=t.db=r;for(var o=0;o<n.length;o++)n[o]._dbInfo.db=r})).catch((function(t){throw y(e,t),t}))}(e).then((function(){O(e,t,n,r-1)}))})).catch(n);n(o)}}var j={_driver:"asyncStorage",_initStorage:function(e){var t=this,n={db:null};if(e)for(var r in e)n[r]=e[r];var o=p[n.name];o||(o={forages:[],db:null,dbReady:null,deferredOperations:[]},p[n.name]=o),o.forages.push(t),t._initReady||(t._initReady=t.ready,t.ready=w);var i=[];function s(){return a.resolve()}for(var c=0;c<o.forages.length;c++){var u=o.forages[c];u!==t&&i.push(u._initReady().catch(s))}var l=o.forages.slice(0);return a.all(i).then((function(){return n.db=o.db,m(n)})).then((function(e){return n.db=e,E(n,t._defaultConfig.version)?b(n):e})).then((function(e){n.db=o.db=e,t._dbInfo=n;for(var r=0;r<l.length;r++){var i=l[r];i!==t&&(i._dbInfo.db=n.db,i._dbInfo.version=n.version)}}))},_support:function(){try{if(!o||!o.open)return!1;var e="undefined"!=typeof openDatabase&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),t="function"==typeof fetch&&-1!==fetch.toString().indexOf("[native code");return(!e||t)&&"undefined"!=typeof indexedDB&&"undefined"!=typeof IDBKeyRange}catch(e){return!1}}(),iterate:function(e,t){var n=this,r=new a((function(t,r){n.ready().then((function(){O(n._dbInfo,"readonly",(function(o,i){if(o)return r(o);try{var a=i.objectStore(n._dbInfo.storeName).openCursor(),s=1;a.onsuccess=function(){var n=a.result;if(n){var r=n.value;x(r)&&(r=S(r));var o=e(r,n.key,s++);void 0!==o?t(o):n.continue()}else t()},a.onerror=function(){r(a.error)}}catch(e){r(e)}}))})).catch(r)}));return s(r,t),r},getItem:function(e,t){var n=this;e=u(e);var r=new a((function(t,r){n.ready().then((function(){O(n._dbInfo,"readonly",(function(o,i){if(o)return r(o);try{var a=i.objectStore(n._dbInfo.storeName).get(e);a.onsuccess=function(){var e=a.result;void 0===e&&(e=null),x(e)&&(e=S(e)),t(e)},a.onerror=function(){r(a.error)}}catch(e){r(e)}}))})).catch(r)}));return s(r,t),r},setItem:function(e,t,n){var r=this;e=u(e);var o=new a((function(n,o){var i;r.ready().then((function(){return i=r._dbInfo,"[object Blob]"===d.call(t)?h(i.db).then((function(e){return e?t:(n=t,new a((function(e,t){var r=new FileReader;r.onerror=t,r.onloadend=function(t){var r=btoa(t.target.result||"");e({__local_forage_encoded_blob:!0,data:r,type:n.type})},r.readAsBinaryString(n)})));var n})):t})).then((function(t){O(r._dbInfo,"readwrite",(function(i,a){if(i)return o(i);try{var s=a.objectStore(r._dbInfo.storeName);null===t&&(t=void 0);var c=s.put(t,e);a.oncomplete=function(){void 0===t&&(t=null),n(t)},a.onabort=a.onerror=function(){var e=c.error?c.error:c.transaction.error;o(e)}}catch(e){o(e)}}))})).catch(o)}));return s(o,n),o},removeItem:function(e,t){var n=this;e=u(e);var r=new a((function(t,r){n.ready().then((function(){O(n._dbInfo,"readwrite",(function(o,i){if(o)return r(o);try{var a=i.objectStore(n._dbInfo.storeName).delete(e);i.oncomplete=function(){t()},i.onerror=function(){r(a.error)},i.onabort=function(){var e=a.error?a.error:a.transaction.error;r(e)}}catch(e){r(e)}}))})).catch(r)}));return s(r,t),r},clear:function(e){var t=this,n=new a((function(e,n){t.ready().then((function(){O(t._dbInfo,"readwrite",(function(r,o){if(r)return n(r);try{var i=o.objectStore(t._dbInfo.storeName).clear();o.oncomplete=function(){e()},o.onabort=o.onerror=function(){var e=i.error?i.error:i.transaction.error;n(e)}}catch(e){n(e)}}))})).catch(n)}));return s(n,e),n},length:function(e){var t=this,n=new a((function(e,n){t.ready().then((function(){O(t._dbInfo,"readonly",(function(r,o){if(r)return n(r);try{var i=o.objectStore(t._dbInfo.storeName).count();i.onsuccess=function(){e(i.result)},i.onerror=function(){n(i.error)}}catch(e){n(e)}}))})).catch(n)}));return s(n,e),n},key:function(e,t){var n=this,r=new a((function(t,r){e<0?t(null):n.ready().then((function(){O(n._dbInfo,"readonly",(function(o,i){if(o)return r(o);try{var a=i.objectStore(n._dbInfo.storeName),s=!1,c=a.openKeyCursor();c.onsuccess=function(){var n=c.result;n?0===e||s?t(n.key):(s=!0,n.advance(e)):t(null)},c.onerror=function(){r(c.error)}}catch(e){r(e)}}))})).catch(r)}));return s(r,t),r},keys:function(e){var t=this,n=new a((function(e,n){t.ready().then((function(){O(t._dbInfo,"readonly",(function(r,o){if(r)return n(r);try{var i=o.objectStore(t._dbInfo.storeName).openKeyCursor(),a=[];i.onsuccess=function(){var t=i.result;t?(a.push(t.key),t.continue()):e(a)},i.onerror=function(){n(i.error)}}catch(e){n(e)}}))})).catch(n)}));return s(n,e),n},dropInstance:function(e,t){t=l.apply(this,arguments);var n=this.config();(e="function"!=typeof e&&e||{}).name||(e.name=e.name||n.name,e.storeName=e.storeName||n.storeName);var r,i=this;if(e.name){var c=e.name===n.name&&i._dbInfo.db,u=c?a.resolve(i._dbInfo.db):m(e).then((function(t){var n=p[e.name],r=n.forages;n.db=t;for(var o=0;o<r.length;o++)r[o]._dbInfo.db=t;return t}));r=e.storeName?u.then((function(t){if(t.objectStoreNames.contains(e.storeName)){var n=t.version+1;v(e);var r=p[e.name],i=r.forages;t.close();for(var s=0;s<i.length;s++){var c=i[s];c._dbInfo.db=null,c._dbInfo.version=n}return new a((function(t,r){var i=o.open(e.name,n);i.onerror=function(e){i.result.close(),r(e)},i.onupgradeneeded=function(){i.result.deleteObjectStore(e.storeName)},i.onsuccess=function(){var e=i.result;e.close(),t(e)}})).then((function(e){r.db=e;for(var t=0;t<i.length;t++){var n=i[t];n._dbInfo.db=e,_(n._dbInfo)}})).catch((function(t){throw(y(e,t)||a.resolve()).catch((function(){})),t}))}})):u.then((function(t){v(e);var n=p[e.name],r=n.forages;t.close();for(var i=0;i<r.length;i++){r[i]._dbInfo.db=null}return new a((function(t,n){var r=o.deleteDatabase(e.name);r.onerror=r.onblocked=function(e){var t=r.result;t&&t.close(),n(e)},r.onsuccess=function(){var e=r.result;e&&e.close(),t(e)}})).then((function(e){n.db=e;for(var t=0;t<r.length;t++){_(r[t]._dbInfo)}})).catch((function(t){throw(y(e,t)||a.resolve()).catch((function(){})),t}))}))}else r=a.reject("Invalid arguments");return s(r,t),r}};var I="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",k=/^~~local_forage_type~([^~]+)~/,T="__lfsc__:".length,P=T+"arbf".length,R=Object.prototype.toString;function M(e){var t,n,r,o,i,a=.75*e.length,s=e.length,c=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var u=new ArrayBuffer(a),l=new Uint8Array(u);for(t=0;t<s;t+=4)n=I.indexOf(e[t]),r=I.indexOf(e[t+1]),o=I.indexOf(e[t+2]),i=I.indexOf(e[t+3]),l[c++]=n<<2|r>>4,l[c++]=(15&r)<<4|o>>2,l[c++]=(3&o)<<6|63&i;return u}function N(e){var t,n=new Uint8Array(e),r="";for(t=0;t<n.length;t+=3)r+=I[n[t]>>2],r+=I[(3&n[t])<<4|n[t+1]>>4],r+=I[(15&n[t+1])<<2|n[t+2]>>6],r+=I[63&n[t+2]];return n.length%3==2?r=r.substring(0,r.length-1)+"=":n.length%3==1&&(r=r.substring(0,r.length-2)+"=="),r}var D={serialize:function(e,t){var n="";if(e&&(n=R.call(e)),e&&("[object ArrayBuffer]"===n||e.buffer&&"[object ArrayBuffer]"===R.call(e.buffer))){var r,o="__lfsc__:";e instanceof ArrayBuffer?(r=e,o+="arbf"):(r=e.buffer,"[object Int8Array]"===n?o+="si08":"[object Uint8Array]"===n?o+="ui08":"[object Uint8ClampedArray]"===n?o+="uic8":"[object Int16Array]"===n?o+="si16":"[object Uint16Array]"===n?o+="ur16":"[object Int32Array]"===n?o+="si32":"[object Uint32Array]"===n?o+="ui32":"[object Float32Array]"===n?o+="fl32":"[object Float64Array]"===n?o+="fl64":t(new Error("Failed to get type for BinaryArray"))),t(o+N(r))}else if("[object Blob]"===n){var i=new FileReader;i.onload=function(){var n="~~local_forage_type~"+e.type+"~"+N(this.result);t("__lfsc__:blob"+n)},i.readAsArrayBuffer(e)}else try{t(JSON.stringify(e))}catch(n){console.error("Couldn't convert value into a JSON string: ",e),t(null,n)}},deserialize:function(e){if("__lfsc__:"!==e.substring(0,T))return JSON.parse(e);var t,n=e.substring(P),r=e.substring(T,P);if("blob"===r&&k.test(n)){var o=n.match(k);t=o[1],n=n.substring(o[0].length)}var a=M(n);switch(r){case"arbf":return a;case"blob":return i([a],{type:t});case"si08":return new Int8Array(a);case"ui08":return new Uint8Array(a);case"uic8":return new Uint8ClampedArray(a);case"si16":return new Int16Array(a);case"ur16":return new Uint16Array(a);case"si32":return new Int32Array(a);case"ui32":return new Uint32Array(a);case"fl32":return new Float32Array(a);case"fl64":return new Float64Array(a);default:throw new Error("Unkown type: "+r)}},stringToBuffer:M,bufferToString:N};function C(e,t,n,r){e.executeSql("CREATE TABLE IF NOT EXISTS "+t.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],n,r)}function A(e,t,n,r,o,i){e.executeSql(n,r,o,(function(e,a){a.code===a.SYNTAX_ERR?e.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[t.storeName],(function(e,s){s.rows.length?i(e,a):C(e,t,(function(){e.executeSql(n,r,o,i)}),i)}),i):i(e,a)}),i)}function F(e,t,n,r){var o=this;e=u(e);var i=new a((function(i,a){o.ready().then((function(){void 0===t&&(t=null);var s=t,c=o._dbInfo;c.serializer.serialize(t,(function(t,u){u?a(u):c.db.transaction((function(n){A(n,c,"INSERT OR REPLACE INTO "+c.storeName+" (key, value) VALUES (?, ?)",[e,t],(function(){i(s)}),(function(e,t){a(t)}))}),(function(t){if(t.code===t.QUOTA_ERR){if(r>0)return void i(F.apply(o,[e,s,n,r-1]));a(t)}}))}))})).catch(a)}));return s(i,n),i}function L(e){return new a((function(t,n){e.transaction((function(r){r.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],(function(n,r){for(var o=[],i=0;i<r.rows.length;i++)o.push(r.rows.item(i).name);t({db:e,storeNames:o})}),(function(e,t){n(t)}))}),(function(e){n(e)}))}))}var B={_driver:"webSQLStorage",_initStorage:function(e){var t=this,n={db:null};if(e)for(var r in e)n[r]="string"!=typeof e[r]?e[r].toString():e[r];var o=new a((function(e,r){try{n.db=openDatabase(n.name,String(n.version),n.description,n.size)}catch(e){return r(e)}n.db.transaction((function(o){C(o,n,(function(){t._dbInfo=n,e()}),(function(e,t){r(t)}))}),r)}));return n.serializer=D,o},_support:"function"==typeof openDatabase,iterate:function(e,t){var n=this,r=new a((function(t,r){n.ready().then((function(){var o=n._dbInfo;o.db.transaction((function(n){A(n,o,"SELECT * FROM "+o.storeName,[],(function(n,r){for(var i=r.rows,a=i.length,s=0;s<a;s++){var c=i.item(s),u=c.value;if(u&&(u=o.serializer.deserialize(u)),void 0!==(u=e(u,c.key,s+1)))return void t(u)}t()}),(function(e,t){r(t)}))}))})).catch(r)}));return s(r,t),r},getItem:function(e,t){var n=this;e=u(e);var r=new a((function(t,r){n.ready().then((function(){var o=n._dbInfo;o.db.transaction((function(n){A(n,o,"SELECT * FROM "+o.storeName+" WHERE key = ? LIMIT 1",[e],(function(e,n){var r=n.rows.length?n.rows.item(0).value:null;r&&(r=o.serializer.deserialize(r)),t(r)}),(function(e,t){r(t)}))}))})).catch(r)}));return s(r,t),r},setItem:function(e,t,n){return F.apply(this,[e,t,n,1])},removeItem:function(e,t){var n=this;e=u(e);var r=new a((function(t,r){n.ready().then((function(){var o=n._dbInfo;o.db.transaction((function(n){A(n,o,"DELETE FROM "+o.storeName+" WHERE key = ?",[e],(function(){t()}),(function(e,t){r(t)}))}))})).catch(r)}));return s(r,t),r},clear:function(e){var t=this,n=new a((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){A(t,r,"DELETE FROM "+r.storeName,[],(function(){e()}),(function(e,t){n(t)}))}))})).catch(n)}));return s(n,e),n},length:function(e){var t=this,n=new a((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){A(t,r,"SELECT COUNT(key) as c FROM "+r.storeName,[],(function(t,n){var r=n.rows.item(0).c;e(r)}),(function(e,t){n(t)}))}))})).catch(n)}));return s(n,e),n},key:function(e,t){var n=this,r=new a((function(t,r){n.ready().then((function(){var o=n._dbInfo;o.db.transaction((function(n){A(n,o,"SELECT key FROM "+o.storeName+" WHERE id = ? LIMIT 1",[e+1],(function(e,n){var r=n.rows.length?n.rows.item(0).key:null;t(r)}),(function(e,t){r(t)}))}))})).catch(r)}));return s(r,t),r},keys:function(e){var t=this,n=new a((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){A(t,r,"SELECT key FROM "+r.storeName,[],(function(t,n){for(var r=[],o=0;o<n.rows.length;o++)r.push(n.rows.item(o).key);e(r)}),(function(e,t){n(t)}))}))})).catch(n)}));return s(n,e),n},dropInstance:function(e,t){t=l.apply(this,arguments);var n=this.config();(e="function"!=typeof e&&e||{}).name||(e.name=e.name||n.name,e.storeName=e.storeName||n.storeName);var r,o=this;return s(r=e.name?new a((function(t){var r;r=e.name===n.name?o._dbInfo.db:openDatabase(e.name,"","",0),e.storeName?t({db:r,storeNames:[e.storeName]}):t(L(r))})).then((function(e){return new a((function(t,n){e.db.transaction((function(r){function o(e){return new a((function(t,n){r.executeSql("DROP TABLE IF EXISTS "+e,[],(function(){t()}),(function(e,t){n(t)}))}))}for(var i=[],s=0,c=e.storeNames.length;s<c;s++)i.push(o(e.storeNames[s]));a.all(i).then((function(){t()})).catch((function(e){n(e)}))}),(function(e){n(e)}))}))})):a.reject("Invalid arguments"),t),r}};function H(e,t){var n=e.name+"/";return e.storeName!==t.storeName&&(n+=e.storeName+"/"),n}function U(){return!function(){try{return localStorage.setItem("_localforage_support_test",!0),localStorage.removeItem("_localforage_support_test"),!1}catch(e){return!0}}()||localStorage.length>0}var q={_driver:"localStorageWrapper",_initStorage:function(e){var t={};if(e)for(var n in e)t[n]=e[n];return t.keyPrefix=H(e,this._defaultConfig),U()?(this._dbInfo=t,t.serializer=D,a.resolve()):a.reject()},_support:function(){try{return"undefined"!=typeof localStorage&&"setItem"in localStorage&&!!localStorage.setItem}catch(e){return!1}}(),iterate:function(e,t){var n=this,r=n.ready().then((function(){for(var t=n._dbInfo,r=t.keyPrefix,o=r.length,i=localStorage.length,a=1,s=0;s<i;s++){var c=localStorage.key(s);if(0===c.indexOf(r)){var u=localStorage.getItem(c);if(u&&(u=t.serializer.deserialize(u)),void 0!==(u=e(u,c.substring(o),a++)))return u}}}));return s(r,t),r},getItem:function(e,t){var n=this;e=u(e);var r=n.ready().then((function(){var t=n._dbInfo,r=localStorage.getItem(t.keyPrefix+e);return r&&(r=t.serializer.deserialize(r)),r}));return s(r,t),r},setItem:function(e,t,n){var r=this;e=u(e);var o=r.ready().then((function(){void 0===t&&(t=null);var n=t;return new a((function(o,i){var a=r._dbInfo;a.serializer.serialize(t,(function(t,r){if(r)i(r);else try{localStorage.setItem(a.keyPrefix+e,t),o(n)}catch(e){"QuotaExceededError"!==e.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==e.name||i(e),i(e)}}))}))}));return s(o,n),o},removeItem:function(e,t){var n=this;e=u(e);var r=n.ready().then((function(){var t=n._dbInfo;localStorage.removeItem(t.keyPrefix+e)}));return s(r,t),r},clear:function(e){var t=this,n=t.ready().then((function(){for(var e=t._dbInfo.keyPrefix,n=localStorage.length-1;n>=0;n--){var r=localStorage.key(n);0===r.indexOf(e)&&localStorage.removeItem(r)}}));return s(n,e),n},length:function(e){var t=this.keys().then((function(e){return e.length}));return s(t,e),t},key:function(e,t){var n=this,r=n.ready().then((function(){var t,r=n._dbInfo;try{t=localStorage.key(e)}catch(e){t=null}return t&&(t=t.substring(r.keyPrefix.length)),t}));return s(r,t),r},keys:function(e){var t=this,n=t.ready().then((function(){for(var e=t._dbInfo,n=localStorage.length,r=[],o=0;o<n;o++){var i=localStorage.key(o);0===i.indexOf(e.keyPrefix)&&r.push(i.substring(e.keyPrefix.length))}return r}));return s(n,e),n},dropInstance:function(e,t){if(t=l.apply(this,arguments),!(e="function"!=typeof e&&e||{}).name){var n=this.config();e.name=e.name||n.name,e.storeName=e.storeName||n.storeName}var r,o=this;return s(r=e.name?new a((function(t){e.storeName?t(H(e,o._defaultConfig)):t(e.name+"/")})).then((function(e){for(var t=localStorage.length-1;t>=0;t--){var n=localStorage.key(t);0===n.indexOf(e)&&localStorage.removeItem(n)}})):a.reject("Invalid arguments"),t),r}},G=function(e,t){for(var n,r,o=e.length,i=0;i<o;){if((n=e[i])===(r=t)||"number"==typeof n&&"number"==typeof r&&isNaN(n)&&isNaN(r))return!0;i++}return!1},z=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},W={},V={},$={INDEXEDDB:j,WEBSQL:B,LOCALSTORAGE:q},Y=[$.INDEXEDDB._driver,$.WEBSQL._driver,$.LOCALSTORAGE._driver],J=["dropInstance"],K=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(J),X={description:"",driver:Y.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function Z(e,t){e[t]=function(){var n=arguments;return e.ready().then((function(){return e[t].apply(e,n)}))}}function Q(){for(var e=1;e<arguments.length;e++){var t=arguments[e];if(t)for(var n in t)t.hasOwnProperty(n)&&(z(t[n])?arguments[0][n]=t[n].slice():arguments[0][n]=t[n])}return arguments[0]}var ee=new(function(){function e(t){for(var n in function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),$)if($.hasOwnProperty(n)){var r=$[n],o=r._driver;this[n]=o,W[o]||this.defineDriver(r)}this._defaultConfig=Q({},X),this._config=Q({},this._defaultConfig,t),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch((function(){}))}return e.prototype.config=function(e){if("object"===(void 0===e?"undefined":r(e))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var t in e){if("storeName"===t&&(e[t]=e[t].replace(/\W/g,"_")),"version"===t&&"number"!=typeof e[t])return new Error("Database version must be a number.");this._config[t]=e[t]}return!("driver"in e)||!e.driver||this.setDriver(this._config.driver)}return"string"==typeof e?this._config[e]:this._config},e.prototype.defineDriver=function(e,t,n){var r=new a((function(t,n){try{var r=e._driver,o=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!e._driver)return void n(o);for(var i=K.concat("_initStorage"),c=0,u=i.length;c<u;c++){var l=i[c];if((!G(J,l)||e[l])&&"function"!=typeof e[l])return void n(o)}!function(){for(var t=function(e){return function(){var t=new Error("Method "+e+" is not implemented by the current driver"),n=a.reject(t);return s(n,arguments[arguments.length-1]),n}},n=0,r=J.length;n<r;n++){var o=J[n];e[o]||(e[o]=t(o))}}();var f=function(n){W[r]&&console.info("Redefining LocalForage driver: "+r),W[r]=e,V[r]=n,t()};"_support"in e?e._support&&"function"==typeof e._support?e._support().then(f,n):f(!!e._support):f(!0)}catch(e){n(e)}}));return c(r,t,n),r},e.prototype.driver=function(){return this._driver||null},e.prototype.getDriver=function(e,t,n){var r=W[e]?a.resolve(W[e]):a.reject(new Error("Driver not found."));return c(r,t,n),r},e.prototype.getSerializer=function(e){var t=a.resolve(D);return c(t,e),t},e.prototype.ready=function(e){var t=this,n=t._driverSet.then((function(){return null===t._ready&&(t._ready=t._initDriver()),t._ready}));return c(n,e,e),n},e.prototype.setDriver=function(e,t,n){var r=this;z(e)||(e=[e]);var o=this._getSupportedDrivers(e);function i(){r._config.driver=r.driver()}function s(e){return r._extend(e),i(),r._ready=r._initStorage(r._config),r._ready}var u=null!==this._driverSet?this._driverSet.catch((function(){return a.resolve()})):a.resolve();return this._driverSet=u.then((function(){var e=o[0];return r._dbInfo=null,r._ready=null,r.getDriver(e).then((function(e){r._driver=e._driver,i(),r._wrapLibraryMethodsWithReady(),r._initDriver=function(e){return function(){var t=0;return function n(){for(;t<e.length;){var o=e[t];return t++,r._dbInfo=null,r._ready=null,r.getDriver(o).then(s).catch(n)}i();var c=new Error("No available storage method found.");return r._driverSet=a.reject(c),r._driverSet}()}}(o)}))})).catch((function(){i();var e=new Error("No available storage method found.");return r._driverSet=a.reject(e),r._driverSet})),c(this._driverSet,t,n),this._driverSet},e.prototype.supports=function(e){return!!V[e]},e.prototype._extend=function(e){Q(this,e)},e.prototype._getSupportedDrivers=function(e){for(var t=[],n=0,r=e.length;n<r;n++){var o=e[n];this.supports(o)&&t.push(o)}return t},e.prototype._wrapLibraryMethodsWithReady=function(){for(var e=0,t=K.length;e<t;e++)Z(this,K[e])},e.prototype.createInstance=function(t){return new e(t)},e}());t.exports=ee},{3:3}]},{},[4])(4)}))}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],55:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib"),o=e("@sentry/hub");function i(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=o.getCurrentHub();if(i&&i[e])return i[e].apply(i,r.__spread(t));throw new Error("No hub defined or "+e+" was not found on the hub, please open a bug report.")}n.captureException=function(e,t){var n;try{throw new Error("Sentry syntheticException")}catch(e){n=e}return i("captureException",e,{captureContext:t,originalException:e,syntheticException:n})},n.captureMessage=function(e,t){var n;try{throw new Error(e)}catch(e){n=e}var o="string"!=typeof t?{captureContext:t}:void 0;return i("captureMessage",e,"string"==typeof t?t:void 0,r.__assign({originalException:e,syntheticException:n},o))},n.captureEvent=function(e){return i("captureEvent",e)},n.configureScope=function(e){i("configureScope",e)},n.addBreadcrumb=function(e){i("addBreadcrumb",e)},n.setContext=function(e,t){i("setContext",e,t)},n.setExtras=function(e){i("setExtras",e)},n.setTags=function(e){i("setTags",e)},n.setExtra=function(e,t){i("setExtra",e,t)},n.setTag=function(e,t){i("setTag",e,t)},n.setUser=function(e){i("setUser",e)},n.withScope=function(e){i("withScope",e)},n._callOnClient=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];i.apply(void 0,r.__spread(["_invokeClient",e],t))},n.startTransaction=function(e,t){return i("startTransaction",r.__assign({},e),t)}},{"@sentry/hub":39,tslib:81}],56:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("./loglevel");n.LogLevel=r.LogLevel;var o=e("./severity");n.Severity=o.Severity;var i=e("./status");n.Status=i.Status},{"./loglevel":57,"./severity":58,"./status":59}],57:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),function(e){e[e.None=0]="None",e[e.Error=1]="Error",e[e.Debug=2]="Debug",e[e.Verbose=3]="Verbose"}(n.LogLevel||(n.LogLevel={}))},{}],58:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),function(e){e.Fatal="fatal",e.Error="error",e.Warning="warning",e.Log="log",e.Info="info",e.Debug="debug",e.Critical="critical"}(n.Severity||(n.Severity={})),function(e){e.fromString=function(t){switch(t){case"debug":return e.Debug;case"info":return e.Info;case"warn":case"warning":return e.Warning;case"error":return e.Error;case"fatal":return e.Fatal;case"critical":return e.Critical;case"log":default:return e.Log}}}(n.Severity||(n.Severity={}))},{}],59:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),function(e){e.Unknown="unknown",e.Skipped="skipped",e.Success="success",e.RateLimit="rate_limit",e.Invalid="invalid",e.Failed="failed"}(n.Status||(n.Status={})),function(e){e.fromHttpCode=function(t){return t>=200&&t<300?e.Success:429===t?e.RateLimit:t>=400&&t<500?e.Invalid:t>=500?e.Failed:e.Unknown}}(n.Status||(n.Status={}))},{}],60:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.forget=function(e){e.then(null,(function(e){console.error(e)}))}},{}],61:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("./is");function o(e){var t,n,o,i,a,s=e,c=[];if(!s||!s.tagName)return"";if(c.push(s.tagName.toLowerCase()),s.id&&c.push("#"+s.id),(t=s.className)&&r.isString(t))for(n=t.split(/\s+/),a=0;a<n.length;a++)c.push("."+n[a]);var u=["type","name","title","alt"];for(a=0;a<u.length;a++)o=u[a],(i=s.getAttribute(o))&&c.push("["+o+'="'+i+'"]');return c.join("")}n.htmlTreeAsString=function(e){try{for(var t=e,n=[],r=0,i=0,a=" > ".length,s=void 0;t&&r++<5&&!("html"===(s=o(t))||r>1&&i+n.length*a+s.length>=80);)n.push(s),i+=s.length,t=t.parentNode;return n.reverse().join(" > ")}catch(e){return"<unknown>"}}},{"./is":66}],62:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib"),o=e("./error"),i=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/,a=function(){function e(e){"string"==typeof e?this._fromString(e):this._fromComponents(e),this._validate()}return e.prototype.toString=function(e){void 0===e&&(e=!1);var t=this,n=t.host,r=t.path,o=t.pass,i=t.port,a=t.projectId;return t.protocol+"://"+t.user+(e&&o?":"+o:"")+"@"+n+(i?":"+i:"")+"/"+(r?r+"/":r)+a},e.prototype._fromString=function(e){var t=i.exec(e);if(!t)throw new o.SentryError("Invalid Dsn");var n=r.__read(t.slice(1),6),a=n[0],s=n[1],c=n[2],u=void 0===c?"":c,l=n[3],f=n[4],p=void 0===f?"":f,d="",h=n[5],v=h.split("/");if(v.length>1&&(d=v.slice(0,-1).join("/"),h=v.pop()),h){var _=h.match(/^\d+/);_&&(h=_[0])}this._fromComponents({host:l,pass:u,path:d,projectId:h,port:p,protocol:a,user:s})},e.prototype._fromComponents=function(e){this.protocol=e.protocol,this.user=e.user,this.pass=e.pass||"",this.host=e.host,this.port=e.port||"",this.path=e.path||"",this.projectId=e.projectId},e.prototype._validate=function(){var e=this;if(["protocol","user","host","projectId"].forEach((function(t){if(!e[t])throw new o.SentryError("Invalid Dsn: "+t+" missing")})),!this.projectId.match(/^\d+$/))throw new o.SentryError("Invalid Dsn: Invalid projectId "+this.projectId);if("http"!==this.protocol&&"https"!==this.protocol)throw new o.SentryError("Invalid Dsn: Invalid protocol "+this.protocol);if(this.port&&isNaN(parseInt(this.port,10)))throw new o.SentryError("Invalid Dsn: Invalid port "+this.port)},e}();n.Dsn=a},{"./error":63,tslib:81}],63:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib"),o=e("./polyfill"),i=function(e){function t(t){var n=this.constructor,r=e.call(this,t)||this;return r.message=t,r.name=n.prototype.constructor.name,o.setPrototypeOf(r,n.prototype),r}return r.__extends(t,e),t}(Error);n.SentryError=i},{"./polyfill":73,tslib:81}],64:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib");r.__exportStar(e("./async"),n),r.__exportStar(e("./browser"),n),r.__exportStar(e("./dsn"),n),r.__exportStar(e("./error"),n),r.__exportStar(e("./instrument"),n),r.__exportStar(e("./is"),n),r.__exportStar(e("./logger"),n),r.__exportStar(e("./memo"),n),r.__exportStar(e("./misc"),n),r.__exportStar(e("./node"),n),r.__exportStar(e("./object"),n),r.__exportStar(e("./path"),n),r.__exportStar(e("./promisebuffer"),n),r.__exportStar(e("./stacktrace"),n),r.__exportStar(e("./string"),n),r.__exportStar(e("./supports"),n),r.__exportStar(e("./syncpromise"),n),r.__exportStar(e("./time"),n)},{"./async":60,"./browser":61,"./dsn":62,"./error":63,"./instrument":65,"./is":66,"./logger":67,"./memo":68,"./misc":69,"./node":70,"./object":71,"./path":72,"./promisebuffer":74,"./stacktrace":75,"./string":76,"./supports":77,"./syncpromise":78,"./time":79,tslib:81}],65:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r,o=e("tslib"),i=e("./is"),a=e("./logger"),s=e("./misc"),c=e("./object"),u=e("./stacktrace"),l=e("./supports"),f=s.getGlobalObject(),p={},d={};function h(e){if(!d[e])switch(d[e]=!0,e){case"console":!function(){if(!("console"in f))return;["debug","info","warn","error","log","assert"].forEach((function(e){e in f.console&&c.fill(f.console,e,(function(t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];v("console",{args:n,level:e}),t&&Function.prototype.apply.call(t,f.console,n)}}))}))}();break;case"dom":!function(){if(!("document"in f))return;f.document.addEventListener("click",E("click",v.bind(null,"dom")),!1),f.document.addEventListener("keypress",S(v.bind(null,"dom")),!1),["EventTarget","Node"].forEach((function(e){var t=f[e]&&f[e].prototype;t&&t.hasOwnProperty&&t.hasOwnProperty("addEventListener")&&(c.fill(t,"addEventListener",(function(e){return function(t,n,r){return n&&n.handleEvent?("click"===t&&c.fill(n,"handleEvent",(function(e){return function(t){return E("click",v.bind(null,"dom"))(t),e.call(this,t)}})),"keypress"===t&&c.fill(n,"handleEvent",(function(e){return function(t){return S(v.bind(null,"dom"))(t),e.call(this,t)}}))):("click"===t&&E("click",v.bind(null,"dom"),!0)(this),"keypress"===t&&S(v.bind(null,"dom"))(this)),e.call(this,t,n,r)}})),c.fill(t,"removeEventListener",(function(e){return function(t,n,r){try{e.call(this,t,n.__sentry_wrapped__,r)}catch(e){}return e.call(this,t,n,r)}})))}))}();break;case"xhr":!function(){if(!("XMLHttpRequest"in f))return;var e=[],t=[],n=XMLHttpRequest.prototype;c.fill(n,"open",(function(n){return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=this,s=r[1];a.__sentry_xhr__={method:i.isString(r[0])?r[0].toUpperCase():r[0],url:r[1]},i.isString(s)&&"POST"===a.__sentry_xhr__.method&&s.match(/sentry_key/)&&(a.__sentry_own_request__=!0);var u=function(){if(4===a.readyState){try{a.__sentry_xhr__&&(a.__sentry_xhr__.status_code=a.status)}catch(e){}try{var n=e.indexOf(a);if(-1!==n){e.splice(n);var o=t.splice(n)[0];a.__sentry_xhr__&&void 0!==o[0]&&(a.__sentry_xhr__.body=o[0])}}catch(e){}v("xhr",{args:r,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:a})}};return"onreadystatechange"in a&&"function"==typeof a.onreadystatechange?c.fill(a,"onreadystatechange",(function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return u(),e.apply(a,t)}})):a.addEventListener("readystatechange",u),n.apply(a,r)}})),c.fill(n,"send",(function(n){return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return e.push(this),t.push(r),v("xhr",{args:r,startTimestamp:Date.now(),xhr:this}),n.apply(this,r)}}))}();break;case"fetch":!function(){if(!l.supportsNativeFetch())return;c.fill(f,"fetch",(function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r={args:t,fetchData:{method:_(t),url:y(t)},startTimestamp:Date.now()};return v("fetch",o.__assign({},r)),e.apply(f,t).then((function(e){return v("fetch",o.__assign(o.__assign({},r),{endTimestamp:Date.now(),response:e})),e}),(function(e){throw v("fetch",o.__assign(o.__assign({},r),{endTimestamp:Date.now(),error:e})),e}))}}))}();break;case"history":!function(){if(!l.supportsHistory())return;var e=f.onpopstate;function t(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var o=t.length>2?t[2]:void 0;if(o){var i=r,a=String(o);r=a,v("history",{from:i,to:a})}return e.apply(this,t)}}f.onpopstate=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var o=f.location.href,i=r;if(r=o,v("history",{from:i,to:o}),e)return e.apply(this,t)},c.fill(f.history,"pushState",t),c.fill(f.history,"replaceState",t)}();break;case"error":x=f.onerror,f.onerror=function(e,t,n,r,o){return v("error",{column:r,error:o,line:n,msg:e,url:t}),!!x&&x.apply(this,arguments)};break;case"unhandledrejection":w=f.onunhandledrejection,f.onunhandledrejection=function(e){return v("unhandledrejection",e),!w||w.apply(this,arguments)};break;default:a.logger.warn("unknown instrumentation type:",e)}}function v(e,t){var n,r;if(e&&p[e])try{for(var i=o.__values(p[e]||[]),s=i.next();!s.done;s=i.next()){var c=s.value;try{c(t)}catch(t){a.logger.error("Error while triggering instrumentation handler.\nType: "+e+"\nName: "+u.getFunctionName(c)+"\nError: "+t)}}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}function _(e){return void 0===e&&(e=[]),"Request"in f&&i.isInstanceOf(e[0],Request)&&e[0].method?String(e[0].method).toUpperCase():e[1]&&e[1].method?String(e[1].method).toUpperCase():"GET"}function y(e){return void 0===e&&(e=[]),"string"==typeof e[0]?e[0]:"Request"in f&&i.isInstanceOf(e[0],Request)?e[0].url:String(e[0])}n.addInstrumentationHandler=function(e){e&&"string"==typeof e.type&&"function"==typeof e.callback&&(p[e.type]=p[e.type]||[],p[e.type].push(e.callback),h(e.type))};var g,m,b=0;function E(e,t,n){return void 0===n&&(n=!1),function(r){g=void 0,r&&m!==r&&(m=r,b&&clearTimeout(b),n?b=setTimeout((function(){t({event:r,name:e})})):t({event:r,name:e}))}}function S(e){return function(t){var n;try{n=t.target}catch(e){return}var r=n&&n.tagName;r&&("INPUT"===r||"TEXTAREA"===r||n.isContentEditable)&&(g||E("input",e)(t),clearTimeout(g),g=setTimeout((function(){g=void 0}),1e3))}}var x=null;var w=null},{"./is":66,"./logger":67,"./misc":69,"./object":71,"./stacktrace":75,"./supports":77,tslib:81}],66:[function(e,t,n){function r(e){return"[object Object]"===Object.prototype.toString.call(e)}function o(e,t){try{return e instanceof t}catch(e){return!1}}Object.defineProperty(n,"__esModule",{value:!0}),n.isError=function(e){switch(Object.prototype.toString.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return o(e,Error)}},n.isErrorEvent=function(e){return"[object ErrorEvent]"===Object.prototype.toString.call(e)},n.isDOMError=function(e){return"[object DOMError]"===Object.prototype.toString.call(e)},n.isDOMException=function(e){return"[object DOMException]"===Object.prototype.toString.call(e)},n.isString=function(e){return"[object String]"===Object.prototype.toString.call(e)},n.isPrimitive=function(e){return null===e||"object"!=typeof e&&"function"!=typeof e},n.isPlainObject=r,n.isEvent=function(e){return"undefined"!=typeof Event&&o(e,Event)},n.isElement=function(e){return"undefined"!=typeof Element&&o(e,Element)},n.isRegExp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},n.isThenable=function(e){return Boolean(e&&e.then&&"function"==typeof e.then)},n.isSyntheticEvent=function(e){return r(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e},n.isInstanceOf=o},{}],67:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("./misc"),o=r.getGlobalObject(),i="Sentry Logger ",a=function(){function e(){this._enabled=!1}return e.prototype.disable=function(){this._enabled=!1},e.prototype.enable=function(){this._enabled=!0},e.prototype.log=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._enabled&&r.consoleSandbox((function(){o.console.log(i+"[Log]: "+e.join(" "))}))},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._enabled&&r.consoleSandbox((function(){o.console.warn(i+"[Warn]: "+e.join(" "))}))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._enabled&&r.consoleSandbox((function(){o.console.error(i+"[Error]: "+e.join(" "))}))},e}();o.__SENTRY__=o.__SENTRY__||{};var s=o.__SENTRY__.logger||(o.__SENTRY__.logger=new a);n.logger=s},{"./misc":69}],68:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=function(){function e(){this._hasWeakSet="function"==typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}return e.prototype.memoize=function(e){if(this._hasWeakSet)return!!this._inner.has(e)||(this._inner.add(e),!1);for(var t=0;t<this._inner.length;t++){if(this._inner[t]===e)return!0}return this._inner.push(e),!1},e.prototype.unmemoize=function(e){if(this._hasWeakSet)this._inner.delete(e);else for(var t=0;t<this._inner.length;t++)if(this._inner[t]===e){this._inner.splice(t,1);break}},e}();n.Memo=r},{}],69:[function(e,t,n){(function(t){Object.defineProperty(n,"__esModule",{value:!0});var r=e("./node"),o=e("./string"),i={};function a(){return r.isNodeEnv()?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:i}n.getGlobalObject=a,n.uuid4=function(){var e=a(),t=e.crypto||e.msCrypto;if(void 0!==t&&t.getRandomValues){var n=new Uint16Array(8);t.getRandomValues(n),n[3]=4095&n[3]|16384,n[4]=16383&n[4]|32768;var r=function(e){for(var t=e.toString(16);t.length<4;)t="0"+t;return t};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(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))},n.parseUrl=function(e){if(!e)return{};var t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};var n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],relative:t[5]+n+r}},n.getEventDescription=function(e){if(e.message)return e.message;if(e.exception&&e.exception.values&&e.exception.values[0]){var t=e.exception.values[0];return t.type&&t.value?t.type+": "+t.value:t.type||t.value||e.event_id||"<unknown>"}return e.event_id||"<unknown>"},n.consoleSandbox=function(e){var t=a();if(!("console"in t))return e();var n=t.console,r={};["debug","info","warn","error","log","assert"].forEach((function(e){e in t.console&&n[e].__sentry_original__&&(r[e]=n[e],n[e]=n[e].__sentry_original__)}));var o=e();return Object.keys(r).forEach((function(e){n[e]=r[e]})),o},n.addExceptionTypeValue=function(e,t,n){e.exception=e.exception||{},e.exception.values=e.exception.values||[],e.exception.values[0]=e.exception.values[0]||{},e.exception.values[0].value=e.exception.values[0].value||t||"",e.exception.values[0].type=e.exception.values[0].type||n||"Error"},n.addExceptionMechanism=function(e,t){void 0===t&&(t={});try{e.exception.values[0].mechanism=e.exception.values[0].mechanism||{},Object.keys(t).forEach((function(n){e.exception.values[0].mechanism[n]=t[n]}))}catch(e){}},n.getLocationHref=function(){try{return document.location.href}catch(e){return""}};var s=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;n.parseSemver=function(e){var t=e.match(s)||[],n=parseInt(t[1],10),r=parseInt(t[2],10),o=parseInt(t[3],10);return{buildmetadata:t[5],major:isNaN(n)?void 0:n,minor:isNaN(r)?void 0:r,patch:isNaN(o)?void 0:o,prerelease:t[4]}};n.parseRetryAfterHeader=function(e,t){if(!t)return 6e4;var n=parseInt(""+t,10);if(!isNaN(n))return 1e3*n;var r=Date.parse(""+t);return isNaN(r)?6e4:r-e},n.addContextToFrame=function(e,t,n){void 0===n&&(n=5);var r=t.lineno||0,i=e.length,a=Math.max(Math.min(i,r-1),0);t.pre_context=e.slice(Math.max(0,a-n),a).map((function(e){return o.snipLine(e,0)})),t.context_line=o.snipLine(e[Math.min(i-1,a)],t.colno||0),t.post_context=e.slice(Math.min(a+1,i),a+1+n).map((function(e){return o.snipLine(e,0)}))},n.stripUrlQueryAndFragment=function(e){return e.split(/[\?#]/,1)[0]}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./node":70,"./string":76}],70:[function(e,t,n){(function(r){Object.defineProperty(n,"__esModule",{value:!0});var o=e("./is"),i=e("./object");function a(){return"[object process]"===Object.prototype.toString.call(void 0!==r?r:0)}function s(e,t){return e.require(t)}n.isNodeEnv=a,n.dynamicRequire=s;var c=["cookies","data","headers","method","query_string","url"];n.extractNodeRequestData=function(e,n){if(void 0===n&&(n=c),!a())throw new Error("Can't get node request data outside of a node environment");var r={},u=e.headers||e.header||{},l=e.method,f=e.hostname||e.host||u.host||"<no host>",p="https"===e.protocol||e.secure||(e.socket||{}).encrypted?"https":"http",d=e.originalUrl||e.url,h=p+"://"+f+d;return n.forEach((function(n){switch(n){case"headers":r.headers=u;break;case"method":r.method=l;break;case"url":r.url=h;break;case"cookies":r.cookies=s(t,"cookie").parse(u.cookie||"");break;case"query_string":r.query_string=s(t,"url").parse(d||"",!1).query;break;case"data":if("GET"===l||"HEAD"===l)break;void 0!==e.body&&(r.data=o.isString(e.body)?e.body:JSON.stringify(i.normalize(e.body)));break;default:({}).hasOwnProperty.call(e,n)&&(r[n]=e[n])}})),r}}).call(this,e("_process"))},{"./is":66,"./object":71,_process:80}],71:[function(e,t,n){(function(t){Object.defineProperty(n,"__esModule",{value:!0});var r=e("tslib"),o=e("./browser"),i=e("./is"),a=e("./memo"),s=e("./stacktrace"),c=e("./string");function u(e){if(i.isError(e)){var t=e,n={message:t.message,name:t.name,stack:t.stack};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}if(i.isEvent(e)){var a=e,s={};s.type=a.type;try{s.target=i.isElement(a.target)?o.htmlTreeAsString(a.target):Object.prototype.toString.call(a.target)}catch(e){s.target="<unknown>"}try{s.currentTarget=i.isElement(a.currentTarget)?o.htmlTreeAsString(a.currentTarget):Object.prototype.toString.call(a.currentTarget)}catch(e){s.currentTarget="<unknown>"}for(var r in"undefined"!=typeof CustomEvent&&i.isInstanceOf(e,CustomEvent)&&(s.detail=a.detail),a)Object.prototype.hasOwnProperty.call(a,r)&&(s[r]=a);return s}return e}function l(e){return function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(e))}function f(e,n){return"domain"===n&&e&&"object"==typeof e&&e._events?"[Domain]":"domainEmitter"===n?"[DomainEmitter]":void 0!==t&&e===t?"[Global]":"undefined"!=typeof window&&e===window?"[Window]":"undefined"!=typeof document&&e===document?"[Document]":i.isSyntheticEvent(e)?"[SyntheticEvent]":"number"==typeof e&&e!=e?"[NaN]":void 0===e?"[undefined]":"function"==typeof e?"[Function: "+s.getFunctionName(e)+"]":e}function p(e,t,n,r){if(void 0===n&&(n=1/0),void 0===r&&(r=new a.Memo),0===n)return function(e){var t=Object.prototype.toString.call(e);if("string"==typeof e)return e;if("[object Object]"===t)return"[Object]";if("[object Array]"===t)return"[Array]";var n=f(e);return i.isPrimitive(n)?n:t}(t);if(null!=t&&"function"==typeof t.toJSON)return t.toJSON();var o=f(t,e);if(i.isPrimitive(o))return o;var s=u(t),c=Array.isArray(t)?[]:{};if(r.memoize(t))return"[Circular ~]";for(var l in s)Object.prototype.hasOwnProperty.call(s,l)&&(c[l]=p(l,s[l],n-1,r));return r.unmemoize(t),c}function d(e,t){try{return JSON.parse(JSON.stringify(e,(function(e,n){return p(e,n,t)})))}catch(e){return"**non-serializable**"}}n.fill=function(e,t,n){if(t in e){var r=e[t],o=n(r);if("function"==typeof o)try{o.prototype=o.prototype||{},Object.defineProperties(o,{__sentry_original__:{enumerable:!1,value:r}})}catch(e){}e[t]=o}},n.urlEncode=function(e){return Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&")},n.normalizeToSize=function e(t,n,r){void 0===n&&(n=3),void 0===r&&(r=102400);var o=d(t,n);return l(o)>r?e(t,n-1,r):o},n.walk=p,n.normalize=d,n.extractExceptionKeysForMessage=function(e,t){void 0===t&&(t=40);var n=Object.keys(u(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return c.truncate(n[0],t);for(var r=n.length;r>0;r--){var o=n.slice(0,r).join(", ");if(!(o.length>t))return r===n.length?o:c.truncate(o,t)}return""},n.dropUndefinedKeys=function e(t){var n,o;if(i.isPlainObject(t)){var a=t,s={};try{for(var c=r.__values(Object.keys(a)),u=c.next();!u.done;u=c.next()){var l=u.value;void 0!==a[l]&&(s[l]=e(a[l]))}}catch(e){n={error:e}}finally{try{u&&!u.done&&(o=c.return)&&o.call(c)}finally{if(n)throw n.error}}return s}return Array.isArray(t)?t.map(e):t}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./browser":61,"./is":66,"./memo":68,"./stacktrace":75,"./string":76,tslib:81}],72:[function(e,t,n){function r(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}Object.defineProperty(n,"__esModule",{value:!0});var o=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^/]+?|)(\.[^./]*|))(?:[/]*)$/;function i(e){var t=o.exec(e);return t?t.slice(1):[]}function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n="",o=!1,i=e.length-1;i>=-1&&!o;i--){var a=i>=0?e[i]:"/";a&&(n=a+"/"+n,o="/"===a.charAt(0))}return(o?"/":"")+(n=r(n.split("/").filter((function(e){return!!e})),!o).join("/"))||"."}function s(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}function c(e){var t=u(e),n="/"===e.substr(-1),o=r(e.split("/").filter((function(e){return!!e})),!t).join("/");return o||t||(o="."),o&&n&&(o+="/"),(t?"/":"")+o}function u(e){return"/"===e.charAt(0)}n.resolve=a,n.relative=function(e,t){e=a(e).substr(1),t=a(t).substr(1);for(var n=s(e.split("/")),r=s(t.split("/")),o=Math.min(n.length,r.length),i=o,c=0;c<o;c++)if(n[c]!==r[c]){i=c;break}var u=[];for(c=i;c<n.length;c++)u.push("..");return(u=u.concat(r.slice(i))).join("/")},n.normalizePath=c,n.isAbsolute=u,n.join=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return c(e.join("/"))},n.dirname=function(e){var t=i(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},n.basename=function(e,t){var n=i(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n}},{}],73:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.setPrototypeOf=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){return e.__proto__=t,e}:function(e,t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n]);return e})},{}],74:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("./error"),o=e("./syncpromise"),i=function(){function e(e){this._limit=e,this._buffer=[]}return e.prototype.isReady=function(){return void 0===this._limit||this.length()<this._limit},e.prototype.add=function(e){var t=this;return this.isReady()?(-1===this._buffer.indexOf(e)&&this._buffer.push(e),e.then((function(){return t.remove(e)})).then(null,(function(){return t.remove(e).then(null,(function(){}))})),e):o.SyncPromise.reject(new r.SentryError("Not adding Promise due to buffer limit reached."))},e.prototype.remove=function(e){return this._buffer.splice(this._buffer.indexOf(e),1)[0]},e.prototype.length=function(){return this._buffer.length},e.prototype.drain=function(e){var t=this;return new o.SyncPromise((function(n){var r=setTimeout((function(){e&&e>0&&n(!1)}),e);o.SyncPromise.all(t._buffer).then((function(){clearTimeout(r),n(!0)})).then(null,(function(){n(!0)}))}))},e}();n.PromiseBuffer=i},{"./error":63,"./syncpromise":78}],75:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});n.getFunctionName=function(e){try{return e&&"function"==typeof e&&e.name||"<anonymous>"}catch(e){return"<anonymous>"}}},{}],76:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("./is");n.truncate=function(e,t){return void 0===t&&(t=0),"string"!=typeof e||0===t||e.length<=t?e:e.substr(0,t)+"..."},n.snipLine=function(e,t){var n=e,r=n.length;if(r<=150)return n;t>r&&(t=r);var o=Math.max(t-60,0);o<5&&(o=0);var i=Math.min(o+140,r);return i>r-5&&(i=r),i===r&&(o=Math.max(i-140,0)),n=n.slice(o,i),o>0&&(n="'{snip} "+n),i<r&&(n+=" {snip}"),n},n.safeJoin=function(e,t){if(!Array.isArray(e))return"";for(var n=[],r=0;r<e.length;r++){var o=e[r];try{n.push(String(o))}catch(e){n.push("[value cannot be serialized]")}}return n.join(t)},n.isMatchingPattern=function(e,t){return!!r.isString(e)&&(r.isRegExp(t)?t.test(e):"string"==typeof t&&-1!==e.indexOf(t))}},{"./is":66}],77:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("./logger"),o=e("./misc");function i(){if(!("fetch"in o.getGlobalObject()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(e){return!1}}function a(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}n.supportsErrorEvent=function(){try{return new ErrorEvent(""),!0}catch(e){return!1}},n.supportsDOMError=function(){try{return new DOMError(""),!0}catch(e){return!1}},n.supportsDOMException=function(){try{return new DOMException(""),!0}catch(e){return!1}},n.supportsFetch=i,n.supportsNativeFetch=function(){if(!i())return!1;var e=o.getGlobalObject();if(a(e.fetch))return!0;var t=!1,n=e.document;if(n&&"function"==typeof n.createElement)try{var s=n.createElement("iframe");s.hidden=!0,n.head.appendChild(s),s.contentWindow&&s.contentWindow.fetch&&(t=a(s.contentWindow.fetch)),n.head.removeChild(s)}catch(e){r.logger.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return t},n.supportsReportingObserver=function(){return"ReportingObserver"in o.getGlobalObject()},n.supportsReferrerPolicy=function(){if(!i())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(e){return!1}},n.supportsHistory=function(){var e=o.getGlobalObject(),t=e.chrome,n=t&&t.app&&t.app.runtime,r="history"in e&&!!e.history.pushState&&!!e.history.replaceState;return!n&&r}},{"./logger":67,"./misc":69}],78:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r,o=e("./is");!function(e){e.PENDING="PENDING",e.RESOLVED="RESOLVED",e.REJECTED="REJECTED"}(r||(r={}));var i=function(){function e(e){var t=this;this._state=r.PENDING,this._handlers=[],this._resolve=function(e){t._setResult(r.RESOLVED,e)},this._reject=function(e){t._setResult(r.REJECTED,e)},this._setResult=function(e,n){t._state===r.PENDING&&(o.isThenable(n)?n.then(t._resolve,t._reject):(t._state=e,t._value=n,t._executeHandlers()))},this._attachHandler=function(e){t._handlers=t._handlers.concat(e),t._executeHandlers()},this._executeHandlers=function(){if(t._state!==r.PENDING){var e=t._handlers.slice();t._handlers=[],e.forEach((function(e){e.done||(t._state===r.RESOLVED&&e.onfulfilled&&e.onfulfilled(t._value),t._state===r.REJECTED&&e.onrejected&&e.onrejected(t._value),e.done=!0)}))}};try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}return e.resolve=function(t){return new e((function(e){e(t)}))},e.reject=function(t){return new e((function(e,n){n(t)}))},e.all=function(t){return new e((function(n,r){if(Array.isArray(t))if(0!==t.length){var o=t.length,i=[];t.forEach((function(t,a){e.resolve(t).then((function(e){i[a]=e,0===(o-=1)&&n(i)})).then(null,r)}))}else n([]);else r(new TypeError("Promise.all requires an array as input."))}))},e.prototype.then=function(t,n){var r=this;return new e((function(e,o){r._attachHandler({done:!1,onfulfilled:function(n){if(t)try{return void e(t(n))}catch(e){return void o(e)}else e(n)},onrejected:function(t){if(n)try{return void e(n(t))}catch(e){return void o(e)}else o(t)}})}))},e.prototype.catch=function(e){return this.then((function(e){return e}),e)},e.prototype.finally=function(t){var n=this;return new e((function(e,r){var o,i;return n.then((function(e){i=!1,o=e,t&&t()}),(function(e){i=!0,o=e,t&&t()})).then((function(){i?r(o):e(o)}))}))},e.prototype.toString=function(){return"[object SyncPromise]"},e}();n.SyncPromise=i},{"./is":66}],79:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var r=e("./misc"),o=e("./node"),i={nowSeconds:function(){return Date.now()/1e3}};var a=o.isNodeEnv()?function(){try{return o.dynamicRequire(t,"perf_hooks").performance}catch(e){return}}():function(){var e=r.getGlobalObject().performance;if(e&&e.now)return{now:function(){return e.now()},timeOrigin:Date.now()-e.now()}}(),s=void 0===a?i:{nowSeconds:function(){return(a.timeOrigin+a.now())/1e3}};n.dateTimestampInSeconds=i.nowSeconds.bind(i),n.timestampInSeconds=s.nowSeconds.bind(s),n.timestampWithMs=n.timestampInSeconds,n.usingPerformanceAPI=void 0!==a,n.browserPerformanceTimeOrigin=function(){var e=r.getGlobalObject().performance;if(e)return e.timeOrigin?e.timeOrigin:e.timing&&e.timing.navigationStart||Date.now()}()},{"./misc":69,"./node":70}],80:[function(e,t,n){var r,o,i=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function c(e){if(r===setTimeout)return setTimeout(e,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:a}catch(e){r=a}try{o="function"==typeof clearTimeout?clearTimeout:s}catch(e){o=s}}();var u,l=[],f=!1,p=-1;function d(){f&&u&&(f=!1,u.length?l=u.concat(l):p=-1,l.length&&h())}function h(){if(!f){var e=c(d);f=!0;for(var t=l.length;t;){for(u=l,l=[];++p<t;)u&&u[p].run();p=-1,t=l.length}u=null,f=!1,function(e){if(o===clearTimeout)return clearTimeout(e);if((o===s||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(e)}}function v(e,t){this.fun=e,this.array=t}function _(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new v(e,t)),1!==l.length||f||c(h)},v.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=_,i.addListener=_,i.once=_,i.off=_,i.removeListener=_,i.removeAllListeners=_,i.emit=_,i.prependListener=_,i.prependOnceListener=_,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},{}],81:[function(e,t,n){(function(e){
  /*! *****************************************************************************
  Copyright (c) Microsoft Corporation.
  
  Permission to use, copy, modify, and/or distribute this software for any
  purpose with or without fee is hereby granted.
  
  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
  INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  PERFORMANCE OF THIS SOFTWARE.
  ***************************************************************************** */
  var n,r,o,i,a,s,c,u,l,f,p,d,h,v,_,y,g,m,b,E,S,x,w;!function(n){var r="object"==typeof e?e:"object"==typeof self?self:"object"==typeof this?this:{};function o(e,t){return e!==r&&("function"==typeof Object.create?Object.defineProperty(e,"__esModule",{value:!0}):e.__esModule=!0),function(n,r){return e[n]=t?t(n,r):r}}"function"==typeof define&&define.amd?define("tslib",["exports"],(function(e){n(o(r,o(e)))})):"object"==typeof t&&"object"==typeof t.exports?n(o(r,o(t.exports))):n(o(r))}((function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};n=function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)},r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},a=function(e,t){return function(n,r){t(n,r,e)}},s=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},c=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},u=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},w=function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]},l=function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])},f=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},p=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},d=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(p(arguments[t]));return e},h=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r},v=function(e){return this instanceof v?(this.v=e,this):new v(e)},_=function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=o[e](t)).value instanceof v?Promise.resolve(n.value.v).then(c,u):l(i[0][2],n)}catch(e){l(i[0][3],e)}var n}function c(e){s("next",e)}function u(e){s("throw",e)}function l(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}},y=function(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:v(e[r](t)),done:"return"===r}:o?o(t):t}:o}},g=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=f(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}},m=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},b=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},E=function(e){return e&&e.__esModule?e:{default:e}},S=function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)},x=function(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n},e("__extends",n),e("__assign",r),e("__rest",o),e("__decorate",i),e("__param",a),e("__metadata",s),e("__awaiter",c),e("__generator",u),e("__exportStar",l),e("__createBinding",w),e("__values",f),e("__read",p),e("__spread",d),e("__spreadArrays",h),e("__await",v),e("__asyncGenerator",_),e("__asyncDelegator",y),e("__asyncValues",g),e("__makeTemplateObject",m),e("__importStar",b),e("__importDefault",E),e("__classPrivateFieldGet",S),e("__classPrivateFieldSet",x)}))}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1]);
  //# sourceMappingURL=../sourcemaps/initSentry.js.map
  