PageSourceSearch

https://atomicpoet.org/packs/js/error-a3e3a95be763eb35775d.chunk.js

js atomicpoet.org collected 2026-10-04 02:42:41 UTC 169,885 bytes, 2 lines download raw bytes

1(self.webpackChunkmangane_fe=self.webpackChunkmangane_fe||[]).push([[4],{351:function(t,e,n){"use strict";n.d(e,{Gd:function(){return v},Xb:function(){return _},cu:function(){return h},pj:function(){return g},vi:function(){return y}});var r=n(1840),i=n(1835),o=n(1834),a=n(1905),s=n(1901),c=n(429),u=n(882),d=n(1903);function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var f=100;class _{__init(){this._stack=[{}]}constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new u.s,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4;this._version=n,_.prototype.__init.call(this),this.getStackTop().scope=e,t&&this.bindClient(t)}isOlderThan(t){return this._version<t}bindClient(t){this.getStackTop().client=t,t&&t.setupIntegrations&&t.setupIntegrations()}pushScope(){var t=u.s.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t}popScope(){return!(this.getStack().length<=1||!this.getStack().pop())}withScope(t){var e=this.pushScope();try{t(e)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,e){var n=this._lastEventId=e&&e.event_id?e.event_id:(0,i.DM)(),r=new Error("Sentry syntheticException");return this._withClient(((i,o)=>{i.captureException(t,p(p({originalException:t,syntheticException:r},e),{},{event_id:n}),o)})),n}captureMessage(t,e,n){var r=this._lastEventId=n&&n.event_id?n.event_id:(0,i.DM)(),o=new Error(t);return this._withClient(((i,a)=>{i.captureMessage(t,e,p(p({originalException:t,syntheticException:o},n),{},{event_id:r}),a)})),r}captureEvent(t,e){var n=e&&e.event_id?e.event_id:(0,i.DM)();return"transaction"!==t.type&&(this._lastEventId=n),this._withClient(((r,i)=>{r.captureEvent(t,p(p({},e),{},{event_id:n}),i)})),n}lastEventId(){return this._lastEventId}addBreadcrumb(t,e){const{scope:n,client:r}=this.getStackTop();if(!n||!r)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:s=f}=r.getOptions&&r.getOptions()||{};if(!(s<=0)){var c=p({timestamp:(0,o.yW)()},t),u=i?(0,a.Cf)((()=>i(c,e))):c;null!==u&&n.addBreadcrumb(u,s)}}setUser(t){var e=this.getScope();e&&e.setUser(t)}setTags(t){var e=this.getScope();e&&e.setTags(t)}setExtras(t){var e=this.getScope();e&&e.setExtras(t)}setTag(t,e){var n=this.getScope();n&&n.setTag(t,e)}setExtra(t,e){var n=this.getScope();n&&n.setExtra(t,e)}setContext(t,e){var n=this.getScope();n&&n.setContext(t,e)}configureScope(t){const{scope:e,client:n}=this.getStackTop();e&&n&&t(e)}run(t){var e=g(this);try{t(this)}finally{g(e)}}getIntegration(t){var e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.warn("Cannot retrieve integration ".concat(t.id," from the current Hub")),null}}startTransaction(t,e){return this._callExtensionMethod("startTransaction",t,e)}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0])return this.endSession();this._sendSessionUpdate()}endSession(){var t=this.getStackTop(),e=t&&t.scope,n=e&&e.getSession();n&&(0,d.RJ)(n),this._sendSessionUpdate(),e&&e.setSession()}startSession(t){const{scope:e,client:n}=this.getStackTop(),{release:r,environment:i}=n&&n.getOptions()||{};var o=(0,s.R)();const{userAgent:a}=o.navigator||{};var c=(0,d.Hv)(p(p(p({release:r,environment:i},e&&{user:e.getUser()}),a&&{userAgent:a}),t));if(e){var u=e.getSession&&e.getSession();u&&"ok"===u.status&&(0,d.CT)(u,{status:"exited"}),this.endSession(),e.setSession(c)}return c}_sendSessionUpdate(){const{scope:t,client:e}=this.getStackTop();if(t){var n=t.getSession();n&&e&&e.captureSession&&e.captureSession(n)}}_withClient(t){const{scope:e,client:n}=this.getStackTop();n&&t(n,e)}_callExtensionMethod(t){var e=h().__SENTRY__;if(e&&e.extensions&&"function"==typeof e.extensions[t]){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return e.extensions[t].apply(this,r)}("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.warn("Extension method ".concat(t," couldn't be found, doing nothing."))}}function h(){var t=(0,s.R)();return t.__SENTRY__=t.__SENTRY__||{extensions:{},hub:void 0},t}function g(t){var e=h(),n=y(e);return b(e,t),n}function v(){var t=h();return m(t)&&!y(t).isOlderThan(4)||b(t,new _),(0,c.KV)()?function(t){try{var e=h().__SENTRY__,n=e&&e.extensions&&e.extensions.domain&&e.extensions.domain.active;if(!n)return y(t);if(!m(n)||y(n).isOlderThan(4)){var r=y(t).getStackTop();b(n,new _(r.client,u.s.clone(r.scope)))}return y(n)}catch(e){return y(t)}}(t):y(t)}function m(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function y(t){return(0,s.Y)("hub",(()=>new _),t)}function b(t,e){return!!t&&((t.__SENTRY__=t.__SENTRY__||{}).hub=e,!0)}},882:function(t,e,n){"use strict";n.d(e,{c:function(){return _},s:function(){return p}});var r=n(1840),i=(n(1),n(1899)),o=n(1834),a=n(1904),s=n(1905),c=n(1901),u=n(1903);function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?d(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}class p{constructor(){p.prototype.__init.call(this),p.prototype.__init2.call(this),p.prototype.__init3.call(this),p.prototype.__init4.call(this),p.prototype.__init5.call(this),p.prototype.__init6.call(this),p.prototype.__init7.call(this),p.prototype.__init8.call(this),p.prototype.__init9.call(this),p.prototype.__init10.call(this)}__init(){this._notifyingListeners=!1}__init2(){this._scopeListeners=[]}__init3(){this._eventProcessors=[]}__init4(){this._breadcrumbs=[]}__init5(){this._user={}}__init6(){this._tags={}}__init7(){this._extra={}}__init8(){this._contexts={}}__init9(){this._attachments=[]}__init10(){this._sdkProcessingMetadata={}}static clone(t){var e=new p;return t&&(e._breadcrumbs=[...t._breadcrumbs],e._tags=l({},t._tags),e._extra=l({},t._extra),e._contexts=l({},t._contexts),e._user=t._user,e._level=t._level,e._span=t._span,e._session=t._session,e._transactionName=t._transactionName,e._fingerprint=t._fingerprint,e._eventProcessors=[...t._eventProcessors],e._requestSession=t._requestSession,e._attachments=[...t._attachments]),e}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&(0,u.CT)(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags=l(l({},this._tags),t),this._notifyScopeListeners(),this}setTag(t,e){return this._tags=l(l({},this._tags),{},{[t]:e}),this._notifyScopeListeners(),this}setExtras(t){return this._extra=l(l({},this._extra),t),this._notifyScopeListeners(),this}setExtra(t,e){return this._extra=l(l({},this._extra),{},{[t]:e}),this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts=l(l({},this._contexts),{},{[t]:e}),this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){var t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if("function"==typeof t){var e=t(this);return e instanceof p?e:this}return t instanceof p?(this._tags=l(l({},this._tags),t._tags),this._extra=l(l({},this._extra),t._extra),this._contexts=l(l({},this._contexts),t._contexts),t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession)):(0,i.PO)(t)&&(t=t,this._tags=l(l({},this._tags),t.tags),this._extra=l(l({},this._extra),t.extra),this._contexts=l(l({},this._contexts),t.contexts),t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}addBreadcrumb(t,e){var n="number"==typeof e?Math.min(e,100):100;if(n<=0)return this;var r=l({timestamp:(0,o.yW)()},t);return this._breadcrumbs=[...this._breadcrumbs,r].slice(-n),this._notifyScopeListeners(),this}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._extra&&Object.keys(this._extra).length&&(t.extra=l(l({},this._extra),t.extra)),this._tags&&Object.keys(this._tags).length&&(t.tags=l(l({},this._tags),t.tags)),this._user&&Object.keys(this._user).length&&(t.user=l(l({},this._user),t.user)),this._contexts&&Object.keys(this._contexts).length&&(t.contexts=l(l({},this._contexts),t.contexts)),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts=l({trace:this._span.getTraceContext()},t.contexts);var n=this._span.transaction&&this._span.transaction.name;n&&(t.tags=l({transaction:n},t.tags))}return this._applyFingerprint(t),t.breadcrumbs=[...t.breadcrumbs||[],...this._breadcrumbs],t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata=this._sdkProcessingMetadata,this._notifyEventProcessors([...f(),...this._eventProcessors],t,e)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=l(l({},this._sdkProcessingMetadata),t),this}_notifyEventProcessors(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return new a.cW(((o,a)=>{var c=t[r];if(null===e||"function"!=typeof c)o(e);else{var u=c(l({},e),n);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.id&&null===u&&s.kg.log('Event processor "'.concat(c.id,'" dropped event')),(0,i.J8)(u)?u.then((e=>this._notifyEventProcessors(t,e,n,r+1).then(o))).then(null,a):this._notifyEventProcessors(t,u,n,r+1).then(o).then(null,a)}}))}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
1h((t=>{t(this)})),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}function f(){return(0,c.Y)("globalEventProcessors",(()=>[]))}function _(t){f().push(t)}},1903:function(t,e,n){"use strict";n.d(e,{CT:function(){return s},Hv:function(){return a},RJ:function(){return c}});var r=n(1834),i=n(1835),o=n(1898);function a(t){var e=(0,r.ph)(),n={sid:(0,i.DM)(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(t){return(0,o.Jr)({sid:"".concat(t.sid),init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?"".concat(t.did):void 0,duration:t.duration,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}(n)};return t&&s(n,t),n}function s(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||(0,r.ph)(),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:(0,i.DM)()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did="".concat(e.did)),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{var n=t.timestamp-t.started;t.duration=n>=0?n:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}function c(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),s(t,n)}},1253:function(t,e,n){"use strict";n.r(e),n.d(e,{Breadcrumbs:function(){return Yt},BrowserClient:function(){return Re},Dedupe:function(){return Xt},ErrorBoundary:function(){return xn},FunctionToString:function(){return c},GlobalHandlers:function(){return St},HttpContext:function(){return Jt},Hub:function(){return h.Xb},InboundFilters:function(){return f},Integrations:function(){return fn},LinkedErrors:function(){return Wt},Profiler:function(){return Sn},SDK_VERSION:function(){return g},Scope:function(){return v.s},TryCatch:function(){return xt},addBreadcrumb:function(){return S},addGlobalEventProcessor:function(){return v.c},captureEvent:function(){return E},captureException:function(){return y},captureMessage:function(){return b},chromeStackLineParser:function(){return Ge},close:function(){return on},configureScope:function(){return O},createReduxEnhancer:function(){return Un},createTransport:function(){return $},defaultIntegrations:function(){return Ke},defaultStackLineParsers:function(){return ze},defaultStackParser:function(){return Ve},flush:function(){return rn},forceLoad:function(){return en},geckoStackLineParser:function(){return Ce},getCurrentHub:function(){return h.Gd},getHubFromCarrier:function(){return h.vi},init:function(){return _n},lastEventId:function(){return tn},makeFetchTransport:function(){return ke},makeMain:function(){return h.pj},makeXHRTransport:function(){return xe},onLoad:function(){return nn},opera10StackLineParser:function(){return qe},opera11StackLineParser:function(){return We},reactRouterV3Instrumentation:function(){return Cn},reactRouterV4Instrumentation:function(){return Qn},reactRouterV5Instrumentation:function(){return tr},reactRouterV6Instrumentation:function(){return dr},setContext:function(){return w},setExtra:function(){return P},setExtras:function(){return T},setTag:function(){return D},setTags:function(){return R},setUser:function(){return j},showReportDialog:function(){return Qe},startTransaction:function(){return x},useProfiler:function(){return Tn},winjsStackLineParser:function(){return Fe},withErrorBoundary:function(){return Nn},withProfiler:function(){return wn},withScope:function(){return k},withSentryReactRouterV6Routing:function(){return pr},withSentryRouting:function(){return ir},wrap:function(){return an}});var r={};n.r(r),n.d(r,{FunctionToString:function(){return c},InboundFilters:function(){return f}});var i={};n.r(i),n.d(i,{Breadcrumbs:function(){return Yt},Dedupe:function(){return Xt},GlobalHandlers:function(){return St},HttpContext:function(){return Jt},LinkedErrors:function(){return Wt},TryCatch:function(){return xt}});var o=n(1840),a=n(1898);let s;class c{constructor(){c.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=c.id}setupOnce(){s=Function.prototype.toString,Function.prototype.toString=function(){for(var t=(0,a.HK)(this)||this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return s.apply(t,n)}}}c.__initStatic(),n(1);var u=n(1905),d=n(1835),l=n(1902),p=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class f{static __initStatic(){this.id="InboundFilters"}__init(){this.name=f.id}constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._options=t,f.prototype.__init.call(this)}setupOnce(t,e){var n=t=>{var n=e();if(n){var r=n.getIntegration(f);if(r){var i=n.getClient(),o=i?i.getOptions():{},a=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...p],ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(r._options,o);return function(t,e){return e.ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(t){}return!1}(t)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("Event dropped due to being internal Sentry Error.\nEvent: ".concat((0,d.jH)(t))),!0):function(t,e){return!(!e||!e.length)&&function(t){if(t.message)return[t.message];if(t.exception)try{const{type:e="",value:n=""}=t.exception.values&&t.exception.values[0]||{};return["".concat(n),"".concat(e,": ").concat(n)]}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error("Cannot extract message for event ".concat((0,d.jH)(t))),[]}return[]}(t).some((t=>e.some((e=>(0,l.zC)(t,e)))))}(t,e.ignoreErrors)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: ".concat((0,d.jH)(t))),!0):function(t,e){if(!e||!e.length)return!1;var n=_(t);return!!n&&e.some((t=>(0,l.zC)(n,t)))}(t,e.denyUrls)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: ".concat((0,d.jH)(t),".\nUrl: ").concat(_(t))),!0):!function(t,e){if(!e||!e.length)return!0;var n=_(t);return!n||e.some((t=>(0,l.zC)(n,t)))}(t,e.allowUrls)&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: ".concat((0,d.jH)(t),".\nUrl: ").concat(_(t))),!0)}(t,a)?null:t}}return t};n.id=this.name,t(n)}}function _(t){try{let e;try{e=t.exception.values[0].stacktrace.frames}catch(t){}return e?function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];for(let n=t.length-1;n>=0;n--){var e=t[n];if(e&&"<anonymous>"!==e.filename&&"[native code]"!==e.filename)return e.filename||null}return null}(e):null}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error("Cannot extract url for event ".concat((0,d.jH)(t))),null}}f.__initStatic();var h=n(351),g="7.2.0",v=n(882);function m(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function y(t,e){return(0,h.Gd)().captureException(t,{captureContext:e})}function b(t,e){var n="string"==typeof e?e:void 0,r="string"!=typeof e?{captureContext:e}:void 0;return(0,h.Gd)().captureMessage(t,n,r)}function E(t,e){return(0,h.Gd)().captureEvent(t,e)}function O(t){(0,h.Gd)().configureScope(t)}function S(t){(0,h.Gd)().addBreadcrumb(t)}function w(t,e){(0,h.Gd)().setContext(t,e)}function T(t){(0,h.Gd)().setExtras(t)}function P(t,e){(0,h.Gd)().setExtra(t,e)}function R(t){(0,h.Gd)().setTags(t)}function D(t,e){(0,h.Gd)().setTag(t,e)}function j(t){(0,h.Gd)().setUser(t)}function k(t){(0,h.Gd)().withScope(t)}function x(t,e){return(0,h.Gd)().startTransaction(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?m(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t),e)}class N extends Error{constructor(t){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype)}}var B=n(1904);function M(t){var e=[];function n(t){return e.splice(e.indexOf(t),1)[0]}return{$:e,add:function(r){if(!(void 0===t||e.length<t))return(0,B.$2)(new N("Not adding Promise due to buffer limit reached."));var i=r();return-1===e.indexOf(i)&&e.push(i),i.then((()=>n(i))).then(null,(()=>n(i).then(null,(()=>{})))),i},drain:function(t){return new B.cW(((n,r)=>{let i=e.length;if(!i)return n(!0);var o=setTimeout((()=>{t&&t>0&&n(!1)}),t);e.forEach((t=>{(0,B.WD)(t).then((()=>{--i||(clearTimeout(o),n(!0))}),r)}))}))}}}function A(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return[t,e]}function G(t,e){const[n,r]=t;return[n,[...r,e]]}function U(t,e){t[1].forEach((t=>{var n=t[0].type;e(t,n)}))}function I(t,e){return(e||new TextEncoder).encode(t)}function C(t,e){const[n,r]=t;let i=JSON.stringify(n);function o(t){"string"==typeof i?i="string"==typeof t?i+t:[I(i,e),t]:i.push("string"==typeof t?I(t,e):t)}for(var a of r){const[t,e]=a;o("\n".concat(JSON.stringify(t),"\n")),o("string"==typeof e||e instanceof Uint8Array?e:JSON.stringify(e))}return"string"==typeof i?i:function(t){var e=t.reduce(((t,e)=>t+e.length),0),n=new Uint8Array(e);let r=0;for(var i of t)n.set(i,r),r+=i.length;return n}(i)}function Y(t,e){var n="string"==typeof t.data?I(t.data,e):t.data;return[(0,a.Jr)({type:"attachment",length:n.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),n]}n(80),n(62),n(63),n(64),n(65);var F={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default"};function L(t){return F[t]}function q(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function H(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?q(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function W(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();var n=parseInt("".concat(t),10);if(!isNaN(n))return 1e3*n;var r=Date.parse("".concat(t));return isNaN(r)?6e4:r-e}function z(t,e){return t[e]||t.all||0}function V(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now();return z(t,e)>n}function Z(t,e){let{statusCode:n,headers:r}=e,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now();var o=H({},t),a=r&&r["x-sentry-rate-limits"],s=r&&r["retry-after"];if(a)for(var c of a.trim().split(",")){const[t,e]=c.split(":",2);var u=parseInt(t,10),d=1e3*(isNaN(u)?60:u);if(e)for(var l of e.split(";"))o[l]=i+d;else o.all=i+d}else s?o.all=i+W(s,i):429===n&&(o.all=i+6e4);return o}function $(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:M(t.bufferSize||30),r={};var i=t=>n.drain(t);function o(i){var o=[];if(U(i,((e,n)=>{var i=L(n);V(r,i)?t.recordDroppedEvent("ratelimit_backoff",i):o.push(e)})),0===o.length)return(0,B.WD)();var a=A(i[0],o),s=e=>{U(a,((n,r)=>{t.recordDroppedEvent(e,L(r))}))};return n.add((()=>e({body:C(a,t.textEncoder)}).then((t=>{void 0!==t.statusCode&&(t.statusCode<200||t.statusCode>=300)&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("Sentry responded with status code ".concat(t.statusCode," to sent event.")),r=Z(r,t)}),(t=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error("Failed while sending event:",t),s("network_error")})))).then((t=>t),(t=>{if(t instanceof N)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error("Skipped sending event due to full buffer"),s("queue_overflow"),(0,B.WD)();throw t}))}return{send:o,flush:i}}var J=n(1901),X=n(1908),K=n(1899),Q=n(1900);function tt(){var t="function"==typeof WeakSet,e=t?new WeakSet:[];return[function(n){if(t)return!!e.has(n)||(e.add(n),!1);for(let t=0;t<e.length;t++)if(e[t]===n)return!0;return e.push(n),!1},function(n){if(t)e.delete(n);else for(let t=0;t<e.length;t++)if(e[t]===n){e.splice(t,1);break}}]}n(309),n(7),n(4);var et=n(1907);function nt(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1/0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;try{return it("",t,e,n)}catch(t){return{ERROR:"**non-serializable** (".concat(t,")")}}}function rt(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:102400;var r=nt(t,e);return at(r)>n?rt(t,e-1,n):r}function it(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1/0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:tt();const[o,s]=i;var c=e;if(c&&"function"==typeof c.toJSON)try{return c.toJSON()}catch(t){}if(null===e||["number","boolean","string"].includes(typeof e)&&!(0,K.i2)(e))return e;var u=ot(t,e);if(!u.startsWith("[object "))return u;if(e.__sentry_skip_normalization__)return e;if(0===n)return u.replace("object ","");if(o(e))return"[Circular ~]";var d=Array.isArray(e)?[]:{};let l=0;var p=(0,a.Sh)(e);for(var f in p)if(Object.prototype.hasOwnProperty.call(p,f)){if(l>=r){d[f]="[MaxProperties ~]";break}var _=p[f];d[f]=it(f,_,n-1,r,i),l+=1}return s(e),d}function ot(t,e){try{return"domain"===t&&e&&"object"==typeof e&&e._events?"[Domain]":"domainEmitter"===t?"[DomainEmitter]":void 0!==n.g&&e===n.g?"[Global]":"undefined"!=typeof window&&e===window?"[Window]":"undefined"!=typeof document&&e===document?"[Document]":(0,K.Cy)(e)?"[SyntheticEvent]":"number"==typeof e&&e!=e?"[NaN]":void 0===e?"[undefined]":"function"==typeof e?"[Function: ".concat((0,et.$P)(e),"]"):"symbol"==typeof e?"[".concat(String(e),"]"):"bigint"==typeof e?"[BigInt: ".concat(String(e),"]"):"[object ".concat(Object.getPrototypeOf(e).constructor.name,"]")}catch(t){return"**non-serializable** (".concat(t,")")}}function at(t){return function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(t))}function st(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ct(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?st(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):st(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ut(t,e){var n=lt(t,e),r={type:e&&e.name,value:ft(e)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function dt(t,e){return{exception:{values:[ut(t,e)]}}}function lt(t,e){var n=e.stacktrace||e.stack||"",r=function(t){if(t){if("number"==typeof t.framesToPop)return t.framesToPop;if(pt.test(t.message))return 1}return 0}(e);try{return t(n,r)}catch(t){}return[]}var pt=/Minified React error #\d+;/i;function ft(t){var e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function _t(t,e,n,r,i){let o;if((0,K.VW)(e)&&e.error)return dt(t,e.error);if((0,K.TX)(e)||(0,K.fm)(e)){var s=e;if("stack"in e)o=dt(t,e);else{var c=s.name||((0,K.TX)(s)?"DOMError":"DOMException"),u=s.message?"".concat(c,": ").concat(s.message):c;o=ht(t,u,n,r),(0,d.Db)(o,u)}return"code"in s&&(o.tags=ct(ct({},o.tags),{},{"DOMException.code":"".concat(s.code)})),o}return(0,K.VZ)(e)?dt(t,e):(0,K.PO)(e)||(0,K.cO)(e)?(o=function(t,e,n,r){var i={exception:{values:[{type:(0,K.cO)(e)?e.constructor.name:r?"UnhandledRejection":"Error",value:"Non-Error ".concat(r?"promise rejection":"exception"," captured with keys: ").concat((0,a.zf)(e))}]},extra:{__serialized__:rt(e)}};if(n){var o=lt(t,n);o.length&&(i.exception.values[0].stacktrace={frames:o})}return i}(t,e,n,i),(0,d.EG)(o,{synthetic:!0}),o):(o=ht(t,e,n,r),(0,d.Db)(o,"".concat(e),void 0),(0,d.EG)(o,{synthetic:!0}),o)}function ht(t,e,n,r){var i={message:e};if(r&&n){var o=lt(t,n);o.length&&(i.exception={values:[{value:e,stacktrace:{frames:o}}]})}return i}function gt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function vt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?gt(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):gt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}let mt=0;function yt(){return mt>0}function bt(){mt+=1,setTimeout((()=>{mt-=1}))}function Et(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;if("function"!=typeof t)return t;try{var r=t.__sentry_wrapped__;if(r)return r;if((0,a.HK)(t))return t}catch(e){return t}var i=function(){var r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);var i=r.map((t=>Et(t,e)));return t.apply(this,i)}catch(t){throw bt(),k((n=>{n.addEventProcessor((t=>(e.mechanism&&((0,d.Db)(t,void 0,void 0),(0,d.EG)(t,e.mechanism)),t.extra=vt(vt({},t.extra),{},{arguments:r}),t))),y(t)})),t}};try{for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(i[o]=t[o])}catch(t){}(0,a.$Q)(i,t),(0,a.xp)(t,"__sentry_wrapped__",i);try{var s=Object.getOwnPropertyDescriptor(i,"name");s.configurable&&Object.defineProperty(i,"name",{get:()=>t.name})}catch(t){}return i}function Ot(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}class St{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=St.id}__init2(){this._installFunc={onerror:wt,onunhandledrejection:Tt}}constructor(t){St.prototype.__init.call(this),St.prototype.__init2.call(this),this._options=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ot(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ot(Object(n)).forEac
1h((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({onerror:!0,onunhandledrejection:!0},t)}setupOnce(){Error.stackTraceLimit=50;var t,e=this._options;for(var n in e){var r=this._installFunc[n];r&&e[n]&&(t=n,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("Global Handler attached: ".concat(t)),r(),this._installFunc[n]=void 0)}}}function wt(){(0,X.o)("error",(t=>{const[e,n,r]=Dt();if(!e.getIntegration(St))return;const{msg:i,url:o,line:a,column:s,error:c}=t;if(!(yt()||c&&c.__sentry_own_request__)){var u=void 0===c&&(0,K.HD)(i)?function(t,e,n,r){let i=(0,K.VW)(t)?t.message:t,o="Error";var a=i.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);return a&&(o=a[1],i=a[2]),Pt({exception:{values:[{type:o,value:i}]}},e,n,r)}(i,o,a,s):Pt(_t(n,c||i,void 0,r,!1),o,a,s);u.level="error",Rt(e,c,u,"onerror")}}))}function Tt(){(0,X.o)("unhandledrejection",(t=>{const[e,n,r]=Dt();if(!e.getIntegration(St))return;let i=t;try{"reason"in t?i=t.reason:"detail"in t&&"reason"in t.detail&&(i=t.detail.reason)}catch(t){}if(yt()||i&&i.__sentry_own_request__)return!0;var o=(0,K.pt)(i)?{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: ".concat(String(i))}]}}:_t(n,i,void 0,r,!0);o.level="error",Rt(e,i,o,"onunhandledrejection")}))}function Pt(t,e,n,r){var i=t.exception=t.exception||{},o=i.values=i.values||[],a=o[0]=o[0]||{},s=a.stacktrace=a.stacktrace||{},c=s.frames=s.frames||[],u=isNaN(parseInt(r,10))?void 0:r,d=isNaN(parseInt(n,10))?void 0:n,l=(0,K.HD)(e)&&e.length>0?e:(0,Q.l)();return 0===c.length&&c.push({colno:u,filename:l,function:"?",in_app:!0,lineno:d}),t}function Rt(t,e,n,r){(0,d.EG)(n,{handled:!1,type:r}),t.captureEvent(n,{originalException:e})}function Dt(){var t=(0,h.Gd)(),e=t.getClient(),n=e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[t,n.stackParser,n.attachStacktrace]}function jt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}St.__initStatic();var kt=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class xt{static __initStatic(){this.id="TryCatch"}__init(){this.name=xt.id}constructor(t){xt.prototype.__init.call(this),this._options=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?jt(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):jt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},t)}setupOnce(){var t=(0,J.R)();this._options.setTimeout&&(0,a.hl)(t,"setTimeout",Nt),this._options.setInterval&&(0,a.hl)(t,"setInterval",Nt),this._options.requestAnimationFrame&&(0,a.hl)(t,"requestAnimationFrame",Bt),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&(0,a.hl)(XMLHttpRequest.prototype,"send",Mt);var e=this._options.eventTarget;e&&(Array.isArray(e)?e:kt).forEach(At)}}function Nt(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=n[0];return n[0]=Et(i,{mechanism:{data:{function:(0,et.$P)(t)},handled:!0,type:"instrument"}}),t.apply(this,n)}}function Bt(t){return function(e){return t.apply(this,[Et(e,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,et.$P)(t)},handled:!0,type:"instrument"}})])}}function Mt(t){return function(){var e=this,n=["onload","onerror","onprogress","onreadystatechange"];
1n.forEach((t=>{t in e&&"function"==typeof e[t]&&(0,a.hl)(e,t,(function(e){var n={mechanism:{data:{function:t,handler:(0,et.$P)(e)},handled:!0,type:"instrument"}},r=(0,a.HK)(e);return r&&(n.mechanism.data.handler=(0,et.$P)(r)),Et(e,n)}))}));for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return t.apply(this,i)}}function At(t){var e=(0,J.R)(),n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,a.hl)(n,"addEventListener",(function(e){return function(n,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=Et(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,et.$P)(r),target:t},handled:!0,type:"instrument"}}))}catch(t){}return e.apply(this,[n,Et(r,{mechanism:{data:{function:"addEventListener",handler:(0,et.$P)(r),target:t},handled:!0,type:"instrument"}}),i])}})),(0,a.hl)(n,"removeEventListener",(function(t){return function(e,n,r){var i=n;try{var o=i&&i.__sentry_wrapped__;o&&t.call(this,e,o,r)}catch(t){}return t.call(this,e,i,r)}})))}xt.__initStatic();var Gt=["fatal","error","warning","log","info","debug"];function Ut(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function It(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ut(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ut(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Ct="Breadcrumbs";class Yt{static __initStatic(){this.id=Ct}__init(){this.name=Yt.id}constructor(t){Yt.prototype.__init.call(this),this.options=It({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},t)}setupOnce(){var t;this.options.console&&(0,X.o)("console",Ft),this.options.dom&&(0,X.o)("dom",(t=this.options.dom,function(e){let n,r="object"==typeof t?t.serializeAttribute:void 0;"string"==typeof r&&(r=[r]);try{n=e.event.target?(0,Q.R)(e.event.target,r):(0,Q.R)(e.event,r)}catch(t){n="<unknown>"}0!==n.length&&(0,h.Gd)().addBreadcrumb({category:"ui.".concat(e.name),message:n},{event:e.event,name:e.name,global:e.global})})),this.options.xhr&&(0,X.o)("xhr",Lt),this.options.fetch&&(0,X.o)("fetch",qt),this.options.history&&(0,X.o)("history",Ht)}}function Ft(t){var e,n={category:"console",data:{arguments:t.args,logger:"console"},level:(e=t.level,"warn"===e?"warning":Gt.includes(e)?e:"log"),message:(0,l.nK)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message="Assertion failed: ".concat((0,l.nK)(t.args.slice(1)," ")||"console.assert"),n.data.arguments=t.args.slice(1)}(0,h.Gd)().addBreadcrumb(n,{input:t.args,level:t.level})}function Lt(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;const{method:e,url:n,status_code:r,body:i}=t.xhr.__sentry_xhr__||{};(0,h.Gd)().addBreadcrumb({category:"xhr",data:{method:e,url:n,status_code:r},type:"http"},{xhr:t.xhr,input:i})}}function qt(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method||(t.error?(0,h.Gd)().addBreadcrumb({category:"fetch",data:t.fetchData,level:"error",type:"http"},{data:t.error,input:t.args}):(0,h.Gd)().addBreadcrumb({category:"fetch",data:It(It({},t.fetchData),{},{status_code:t.response.status}),type:"http"},{input:t.args,response:t.response})))}function Ht(t){var e=(0,J.R)();let n=t.from,r=t.to;var i=(0,d.en)(e.location.href);let o=(0,d.en)(n);var a=(0,d.en)(r);o.path||(o=i),i.protocol===a.protocol&&i.host===a.host&&(r=a.relative),i.protocol===o.protocol&&i.host===o.host&&(n=o.relative),(0,h.Gd)().addBreadcrumb({category:"navigation",data:{from:n,to:r}})}Yt.__initStatic();class Wt{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=Wt.id}constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Wt.prototype.__init.call(this),this._key=t.key||"cause",this._limit=t.limit||5}setupOnce(){var t=(0,h.Gd)().getClient();t&&(0,v.c)(((e,n)=>{var r=(0,h.Gd)().getIntegration(Wt);return r?function(t,e,n,r,i){if(!(r.exception&&r.exception.values&&i&&(0,K.V9)(i.originalException,Error)))return r;var o=zt(t,n,i.originalException,e);return r.exception.values=[...o,...r.exception.values],r}(t.getOptions().stackParser,r._key,r._limit,e,n):e}))}}function zt(t,e,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];if(!(0,K.V9)(n[r],Error)||i.length+1>=e)return i;var o=ut(t,n[r]);return zt(t,e,n[r],r,[o,...i])}function Vt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Zt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?Vt(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Vt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}Wt.__initStatic();var $t=(0,J.R)();class Jt{constructor(){Jt.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=Jt.id}setupOnce(){(0,v.c)((t=>{if((0,h.Gd)().getIntegration(Jt)){if(!$t.navigator&&!$t.location&&!$t.document)return t;var e=t.request&&t.request.url||$t.location&&$t.location.href;const{referrer:i}=$t.document||{},{userAgent:o}=$t.navigator||{};var n=Zt(Zt(Zt({},t.request&&t.request.headers),i&&{Referer:i}),o&&{"User-Agent":o}),r=Zt(Zt({},e&&{url:e}),{},{headers:n});return Zt(Zt({},t),{},{request:r})}return t}))}}Jt.__initStatic();class Xt{constructor(){Xt.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=Xt.id}setupOnce(t,e){var n=t=>{var n=e().getIntegration(Xt);if(n){try{if(function(t,e){return!!e&&(!!function(t,e){var n=t.message,r=e.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!Qt(t,e)&&!!Kt(t,e))))}(t,e)||!!function(t,e){var n=te(e),r=te(t);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!Qt(t,e)&&!!Kt(t,e)))}(t,e))}(t,n._previousEvent))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){return n._previousEvent=t}return n._previousEvent=t}return t};n.id=this.name,t(n)}}function Kt(t,e){let n=ee(t),r=ee(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(n=n,r=r,r.length!==n.length)return!1;for(let t=0;t<r.length;t++){var i=r[t],o=n[t];if(i.filename!==o.filename||i.lineno!==o.lineno||i.colno!==o.colno||i.function!==o.function)return!1}return!0}function Qt(t,e){let n=t.fingerprint,r=e.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return!(n.join("")!==r.join(""))}catch(t){return!1}}function te(t){return t.exception&&t.exception.values&&t.exception.values[0]}function ee(t){var e=t.exception;if(e)try{return e.values[0].stacktrace.frames}catch(t){return}}Xt.__initStatic();var ne=n(1906),re=n(1903),ie=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function oe(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{host:n,path:r,pass:i,port:o,projectId:a,protocol:s,publicKey:c}=t;return"".concat(s,"://").concat(c).concat(e&&i?":".concat(i):"")+"@".concat(n).concat(o?":".concat(o):"","/").concat(r?"".concat(r,"/"):r).concat(a)}function ae(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function se(t){var e="string"==typeof t?function(t){var e=ie.exec(t);if(!e)throw new N("Invalid Sentry Dsn: ".concat(t));const[n,r,i="",o,a="",s]=e.slice(1);let c="",u=s;var d=u.split("/");if(d.length>1&&(c=d.slice(0,-1).join("/"),u=d.pop()),u){var l=u.match(/^\d+/);l&&(u=l[0])}return ae({host:o,pass:i,path:c,projectId:u,port:a,protocol:n,publicKey:r})}(t):ae(t);return function(t){if("undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__)return;const{port:e,projectId:n,protocol:r}=t;if(["protocol","publicKey","host","projectId"].forEach((e=>{if(!t[e])throw new N("Invalid Sentry Dsn: ".concat(e," missing"))})),!n.match(/^\d+$/))throw new N("Invalid Sentry Dsn: Invalid projectId ".concat(n));if(!function(t){return"http"===t||"https"===t}(r))throw new N("Invalid Sentry Dsn: Invalid protocol ".concat(r));if(e&&isNaN(parseInt(e,10)))throw new N("Invalid Sentry Dsn: Invalid port ".concat(e))}(e),e}var ce=n(1834);function ue(t){var e=t.protocol?"".concat(t.protocol,":"):"",n=t.port?":".concat(t.port):"";return"".concat(e,"//").concat(t.host).concat(n).concat(t.path?"/".concat(t.path):"","/api/")}function de(t,e){return e||"".concat(function(t){return"".concat(ue(t)).concat(t.projectId,"/envelope/")}(t),"?").concat(function(t){return(0,a._j)({sentry_key:t.publicKey,sentry_version:"7"})}(t))}function le(t,e){var n=se(t),r="".concat(ue(n),"embed/error-page/");let i="dsn=".concat(oe(n));for(var o in e)if("dsn"!==o)if("user"===o){var a=e.user;if(!a)continue;a.name&&(i+="&name=".concat(encodeURIComponent(a.name))),a.email&&(i+="&email=".concat(encodeURIComponent(a.email)))}else i+="&".concat(encodeURIComponent(o),"=").concat(encodeURIComponent(e[o]));return"".concat(r,"?").concat(i)}function pe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function fe(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?pe(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):pe(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function _e(t){if(!t||!t.sdk)return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}var he=[];function ge(t){return t.reduce(((t,e)=>(t.every((t=>e.name!==t.name))&&t.push(e),t)),[])}function ve(t){var e=t.defaultIntegrations&&[...t.defaultIntegrations]||[],n=t.integrations;let r=[...ge(e)];Array.isArray(n)?r=[...r.filter((t=>n.every((e=>e.name!==t.name)))),...ge(n)]:"function"==typeof n&&(r=n(r),r=Array.isArray(r)?r:[r]);var i=r.map((t=>t.name)),o="Debug";return-1!==i.indexOf(o)&&r.push(...r.splice(i.indexOf(o),1)),r}function me(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ye(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?me(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):me(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var be="Not capturing exception because it's already been captured.";class Ee{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}constructor(t){if(Ee.prototype.__init.call(this),Ee.prototype.__init2.call(this),Ee.prototype.__init3.call(this),Ee.prototype.__init4.call(this),this._options=t,t.dsn){this._dsn=se(t.dsn);var e=de(this._dsn,t.tunnel);this._transport=t.transport(ye(ye({recordDroppedEvent:this.recordDroppedEvent.bind(this)},t.transportOptions),{},{url:e}))}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("No DSN provided, client will not do anything.")}captureException(t,e,n){if((0,d.YO)(t))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log(be));let r=e&&e.event_id;return this._process(this.eventFromException(t,e).then((t=>this._captureEvent(t,e,n))).then((t=>{r=t}))),r}captureMessage(t,e,n,r){let i=n&&n.event_id;var o=(0,K.pt)(t)?this.eventFromMessage(String(t),e,n):this.eventFromException(t,n);return this._process(o.then((t=>this._captureEvent(t,n,r))).then((t=>{i=t}))),i}captureEvent(t,e,n){if(e&&e.originalException&&(0,d.YO)(e.originalException))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log(be));let r=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then((t=>{r=t}))),r}captureSession(t){this._isEnabled()?"string"!=typeof t.release?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),(0,re.CT)(t,{init:!1})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("SDK not enabled, will not capture session.")}getDsn(){return this._dsn}getOptions(){return this._options}getTransport(){return this._transport}flush(t){var e=this._transport;return e?this._isClientDoneProcessing(t).then((n=>e.flush(t).then((t=>n&&t)))):(0,B.WD)(!0)}close(t){return this.flush(t).then((t=>(this.getOptions().enabled=!1,t)))}setupIntegrations(){var t,e;this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=(t=this._options.integrations,e={},t.forEach((t=>{e[t.name]=t,-1===he.indexOf(t.name)&&(t.setupOnce(v.c,h.Gd),he.push(t.name),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("Integration installed: ".concat(t.name)))})),e),this._integrationsInitialized=!0)}getIntegrationById(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("Cannot retrieve integration ".concat(t.id," from the current Client")),null}}sendEvent(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._dsn){let r=function(t,e,n,r){var i=_e(n),o=t.type||"event";const{transactionSampling:s}=t.sdkProcessingMetadata||{},{method:c,rate:u}=s||{};!function(t,e){e&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=[...t.sdk.integrations||[],...e.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...e.packages||[]])}(t,n&&n.sdk),delete t.sdkProcessingMetadata;var d=function(t,e,n,r){var i=t.contexts&&t.contexts.baggage;const{environment:o,release:s,transaction:c,userid:u,usersegment:d}=i||{};return fe(fe(fe({event_id:t.event_id,sent_at:(new Date).toISOString()},e&&{sdk:e}),!!n&&{dsn:oe(r)}),"transaction"===t.type&&t.contexts&&t.contexts.trace&&{trace:(0,a.Jr)(fe({trace_id:t.contexts.trace.trace_id,public_key:r.publicKey,environment:o,release:s,transaction:c},(u||d)&&{user:{id:u,segment:d}}))})}(t,i,r,e);return A(d,[[{type:o,sample_rates:[{id:c,rate:u}]},t]])}(t,this._dsn,this._options._metadata,this._options.tunnel);for(var n of e.attachments||[])r=G(r,Y(n,(0,ne.x)([this,"access",t=>t._options,"access",t=>t.transportOptions,"optionalAccess",t=>t.textEncoder])));this._sendEnvelope(r)}}sendSession(t){if(this._dsn){var e=function(t,e,n,r){var i=_e(n);return A(fe(fe({sent_at:(new Date).toISOString()},i&&{sdk:i}),!!r&&{dsn:oe(e)}),["aggregates"in t?[{type:"sessions"},t]:[{type:"session"}
1,t]])}(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(e)}}recordDroppedEvent(t,e){if(this._options.sendClientReports){var n="".concat(t,":").concat(e);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log('Adding outcome: "'.concat(n,'"')),this._outcomes[n]=this._outcomes[n]+1||1}}_updateSessionFromEvent(t,e){let n=!1,r=!1;var i=e.exception&&e.exception.values;if(i)for(var o of(r=!0,i)){var a=o.mechanism;if(a&&!1===a.handled){n=!0;break}}var s="ok"===t.status;(s&&0===t.errors||s&&n)&&((0,re.CT)(t,ye(ye({},n&&{status:"crashed"}),{},{errors:t.errors||Number(r||n)})),this.captureSession(t))}_isClientDoneProcessing(t){return new B.cW((e=>{let n=0;var r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),e(!0)):(n+=1,t&&n>=t&&(clearInterval(r),e(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._dsn}_prepareEvent(t,e,n){const{normalizeDepth:r=3,normalizeMaxBreadth:i=1e3}=this.getOptions();var o=ye(ye({},t),{},{event_id:t.event_id||e.event_id||(0,d.DM)(),timestamp:t.timestamp||(0,ce.yW)()});this._applyClientOptions(o),this._applyIntegrationsMetadata(o);let a=n;e.captureContext&&(a=v.s.clone(a).update(e.captureContext));let s=(0,B.WD)(o);if(a){var c=[...e.attachments||[],...a.getAttachments()];c.length&&(e.attachments=c),s=a.applyToEvent(o,e)}return s.then((t=>"number"==typeof r&&r>0?this._normalizeEvent(t,r,i):t))}_normalizeEvent(t,e,n){if(!t)return null;var r=ye(ye(ye(ye(ye({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((t=>ye(ye({},t),t.data&&{data:nt(t.data,e,n)})))}),t.user&&{user:nt(t.user,e,n)}),t.contexts&&{contexts:nt(t.contexts,e,n)}),t.extra&&{extra:nt(t.extra,e,n)});return t.contexts&&t.contexts.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=nt(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map((t=>(t.data&&(t.data=nt(t.data,e,n)),t)))),r}_applyClientOptions(t){var e=this.getOptions();const{environment:n,release:r,dist:i,maxValueLength:o=250}=e;"environment"in t||(t.environment="environment"in e?n:"production"),void 0===t.release&&void 0!==r&&(t.release=r),void 0===t.dist&&void 0!==i&&(t.dist=i),t.message&&(t.message=(0,l.$G)(t.message,o));var a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=(0,l.$G)(a.value,o));var s=t.request;s&&s.url&&(s.url=(0,l.$G)(s.url,o))}_applyIntegrationsMetadata(t){var e=Object.keys(this._integrations);e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}_captureEvent(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return this._processEvent(t,e,n).then((t=>t.event_id),(t=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn(t)}))}_processEvent(t,e,n){const{beforeSend:r,sampleRate:i}=this.getOptions();if(!this._isEnabled())return(0,B.$2)(new N("SDK not enabled, will not capture event."));var o="transaction"===t.type;return!o&&"number"==typeof i&&Math.random()>i?(this.recordDroppedEvent("sample_rate","error"),(0,B.$2)(new N("Discarding event because it's not included in the random sample (sampling rate = ".concat(i,")")))):this._prepareEvent(t,e,n).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",t.type||"error"),new N("An event processor returned null, will not send event.");return e.data&&!0===e.data.__sentry__||o||!r?n:function(t){var e="`beforeSend` method has to return `null` or a valid event.";if((0,K.J8)(t))return t.then((t=>{if(!(0,K.PO)(t)&&null!==t)throw new N(e);return t}),(t=>{throw new N("beforeSend rejected with ".concat(t))}));if(!(0,K.PO)(t)&&null!==t)throw new N(e);return t}(r(n,e))})).then((r=>{if(null===r)throw this.recordDroppedEvent("before_send",t.type||"error"),new N("`beforeSend` returned `null`, will not send event.");var i=n&&n.getSession();return!o&&i&&this._updateSessionFromEvent(i,r),this.sendEvent(r,e),r})).then(null,(t=>{if(t instanceof N)throw t;throw this.captureException(t,{data:{__sentry__:!0},originalException:t}),new N("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ".concat(t))}))}_process(t){this._numProcessing+=1,t.then((t=>(this._numProcessing-=1,t)),(t=>(this._numProcessing-=1,t)))}_sendEnvelope(t){this._transport&&this._dsn?this._transport.send(t).then(null,(t=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error("Error while sending event:",t)})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error("Transport disabled")}_clearOutcomes(){var t=this._outcomes;return this._outcomes={},Object.keys(t).map((e=>{const[n,r]=e.split(":");return{reason:n,category:r,quantity:t[e]}}))}}var Oe=n(1909),Se=(0,J.R)();let we;function Te(){if(we)return we;if((0,Oe.Du)(Se.fetch))return we=Se.fetch.bind(Se);var t=Se.document;let e=Se.fetch;if(t&&"function"==typeof t.createElement)try{var n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n);var r=n.contentWindow;r&&r.fetch&&(e=r.fetch),t.head.removeChild(n)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return we=e.bind(Se)}var Pe=(0,J.R)();
1class Re extends Ee{constructor(t){t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:g}],version:g},super(t),t.sendClientReports&&Pe.document&&Pe.document.addEventListener("visibilitychange",(()=>{"hidden"===Pe.document.visibilityState&&this._flushOutcomes()}))}eventFromException(t,e){return function(t,e,n,r){var i=_t(t,e,n&&n.syntheticException||void 0,r);return(0,d.EG)(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),(0,B.WD)(i)}(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"info",n=arguments.length>2?arguments[2]:void 0;return function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"info",r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;var o=r&&r.syntheticException||void 0,a=ht(t,e,o,i);return a.level=n,r&&r.event_id&&(a.event_id=r.event_id),(0,B.WD)(a)}(this._options.stackParser,t,e,n,this._options.attachStacktrace)}sendEvent(t,e){var n=this.getIntegrationById(Ct);n&&n.options&&n.options.sentry&&(0,h.Gd)().addBreadcrumb({category:"sentry.".concat("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:(0,d.jH)(t)},{event:t}),super.sendEvent(t,e)}_prepareEvent(t,e,n){return t.platform=t.platform||"javascript",super._prepareEvent(t,e,n)}_flushOutcomes(){var t=this._clearOutcomes();if(0!==t.length)if(this._dsn){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("Sending outcomes:",t);var e,n,r=de(this._dsn,this._options.tunnel),i=(e=t,A((n=this._options.tunnel&&oe(this._dsn))?{dsn:n}:{},[[{type:"client_report"},{timestamp:(0,ce.yW)(),discarded_events:e}]]));try{!function(t,e){"[object Navigator]"===Object.prototype.toString.call(Se&&Se.navigator)&&"function"==typeof Se.navigator.sendBeacon?Se.navigator.sendBeacon.bind(Se.navigator)(t,e):(0,Oe.Ak)()&&Te()(t,{body:e,method:"POST",credentials:"omit",keepalive:!0}).then(null,(t=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error(t)}))}(r,C(i))}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error(t)}}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("No dsn provided, will not send outcomes");else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.log("No outcomes to send")}}function De(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function je(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?De(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):De(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ke(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Te();function n(n){var r=je({body:n.body,method:"POST",referrerPolicy:"origin",headers:t.headers},t.fetchOptions);return e(t.url,r).then((t=>({statusCode:t.status,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")}})))}return $(t,n)}function xe(t){return $(t,(function(e){return new B.cW(((n,r)=>{var i=new XMLHttpRequest;for(var o in i.onerror=r,i.onreadystatechange=()=>{4===i.readyState&&n({statusCode:i.status,headers:{"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")}})},i.open("POST",t.url),t.headers)Object.prototype.hasOwnProperty.call(t.headers,o)&&i.setRequestHeader(o,t.headers[o]);i.send(e.body)}))}))}var Ne="?";function Be(t,e,n,r){var i={filename:t,function:e,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}var Me=/^\s*at (?:(.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Ae=/\((\S*)(?::(\d+))(?::(\d+))\)/,Ge=[30,t=>{var e=Me.exec(t);if(e){if(e[2]&&0===e[2].indexOf("eval")){var n=Ae.exec(e[2]);n&&(e[2]=n[1],e[3]=n[2],e[4]=n[3])}const[t,r]=Ze(e[1]||Ne,e[2]);return Be(r,t,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}}],Ue=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Ie=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Ce=[50,t=>{var e=Ue.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){var n=Ie.exec(e[3]);n&&(e[1]=e[1]||"eval",e[3]=n[1],e[4]=n[2],e[5]="")}let t=e[3],r=e[1]||Ne;return[r,t]=Ze(r,t),Be(t,r,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}}],Ye=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Fe
1=[40,t=>{var e=Ye.exec(t);return e?Be(e[2],e[1]||Ne,+e[3],e[4]?+e[4]:void 0):void 0}],Le=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,qe=[10,t=>{var e=Le.exec(t);return e?Be(e[2],e[3]||Ne,+e[1]):void 0}],He=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,We=[20,t=>{var e=He.exec(t);return e?Be(e[5],e[3]||e[4]||Ne,+e[1],+e[2]):void 0}],ze=[Ge,Ce,Fe],Ve=(0,et.pE)(...ze),Ze=(t,e)=>{var n=-1!==t.indexOf("safari-extension"),r=-1!==t.indexOf("safari-web-extension");return n||r?[-1!==t.indexOf("@")?t.split("@")[0]:Ne,n?"safari-extension:".concat(e):"safari-web-extension:".concat(e)]:[t,e]};function $e(t,e){!0===e.debug&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?u.kg.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));var n=(0,h.Gd)(),r=n.getScope();r&&r.update(e.initialScope);var i=new t(e);n.bindClient(i)}function Je(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Xe(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Je(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Je(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Ke=[new f,new c,new xt,new Yt,new St,new Wt,new Xt,new Jt];function Qe(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,h.Gd)();var n=(0,J.R)();if(!n.document)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error("Global document not defined in showReportDialog call"));const{client:r,scope:i}=e.getStackTop();var o=t.dsn||r&&r.getDsn();if(o){i&&(t.user=Xe(Xe({},i.getUser()),t.user)),t.eventId||(t.eventId=e.lastEventId());var a=n.document.createElement("script");a.async=!0,a.src=le(o,t),t.onLoad&&(a.onload=t.onLoad);var s=n.document.head||n.document.body;s?s.appendChild(a):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error("Not injecting report dialog. No injection point found in HTML")}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.error("DSN not configured for showReportDialog call")}function tn(){return(0,h.Gd)().lastEventId()}function en(){}function nn(t){t()}function rn(t){var e=(0,h.Gd)().getClient();return e?e.flush(t):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("Cannot flush events. No client defined."),(0,B.WD)(!1))}function on(t){var e=(0,h.Gd)().getClient();return e?e.close(t):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("Cannot flush events and disable SDK. No client defined."),(0,B.WD)(!1))}function an(t){return Et(t)()}function sn(t){t.startSession({ignoreDuration:!0}),t.captureSession()}function cn(){if(void 0!==(0,J.R)().document){var t=(0,h.Gd)();t.captureSession&&(sn(t),(0,X.o)("history",(t=>{let{from:e,to:n}=t;void 0!==e&&e!==n&&sn((0,h.Gd)())})))}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("Session tracking in non-browser environment with @sentry/browser is not supported.")}function un(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function dn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?un(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):un(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}let ln={};var pn=(0,J.R)();pn.Sentry&&pn.Sentry.Integrations&&(ln=pn.Sentry.Integrations);var fn=dn(dn(dn({},ln),r),i);function _n(t){t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.react",packages:[{name:"npm:@sentry/react",version:g}],version:g},function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(void 0===t.defaultIntegrations&&(t.defaultIntegrations=Ke),void 0===t.release){var e=(0,J.R)();e.SENTRY_RELEASE&&e.SENTRY_RELEASE.id&&(t.release=e.SENTRY_RELEASE.id)}void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),void 0===t.sendClientReports&&(t.sendClientReports=!0);var n=Xe(Xe({},t),{},{stackParser:(0,et.Sq)(t.stackParser||Ve),integrations:ve(t),transport:t.transport||((0,Oe.Ak)()?ke:xe)});$e(Re,n),t.autoSessionTracking&&cn()}(t)}var hn=n(110),gn=n.n(hn),vn=n(0),mn="ui.react.render",yn="ui.react.mount";function bn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function En(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?bn(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):bn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var On="/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/profiler.tsx";class Sn extends vn.Component{__init(){this._mountSpan=void 0}static __initStatic(){this.defaultProps={disabled:!1,includeRender:!0,includeUpdates:!0}}constructor(t){super(t),Sn.prototype.__init.call(this);const{name:e,disabled:n=!1}=this.props;if(!n){var r=Pn();r&&(this._mountSpan=r.startChild({description:"<".concat(e,">"),op:yn}))}}componentDidMount(){this._mountSpan&&this._mountSpan.finish()}componentDidUpdate(t){let{updateProps:e,includeUpdates:n=!0}=t;if(n&&this._mountSpan&&e!==this.props.updateProps){var r=Object.keys(e).filter((t=>e[t]!==this.props.updateProps[t]));if(r.length>0){var i=(0,ce._I)();this._mountSpan.startChild({data:{changedProps:r},description:"<".concat(this.props.name,">"),endTimestamp:i,op:"ui.react.update",startTimestamp:i})}}}componentWillUnmount(){const{name:t,includeRender:e=!0}=this.props;this._mountSpan&&e&&this._mountSpan.startChild({description:"<".concat(t,">"),endTimestamp:(0,ce._I)(),op:mn,startTimestamp:this._mountSpan.endTimestamp})}render(){return this.props.children}}function wn(t,e){var n=e&&e.name||t.displayName||t.name||"unknown",r=r=>vn.createElement(Sn,En(En({},e),{},{name:n,updateProps:r,__self:this,__source:{fileName:On,lineNumber:133}}),vn.createElement(t,En(En({},r),{},{__self:this,__source:{fileName:On,lineNumber:134}})));return r.displayName="profiler(".concat(n,")"),gn()(r,t),r}function Tn(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{disabled:!1,hasRenderSpan:!0};const[n]=vn.useState((()=>{if(!e||!e.disabled){var n=Pn();return n?n.startChild({description:"<".concat(t,">"),op:yn}):void 0}}));vn.useEffect((()=>(n&&n.finish(),()=>{n&&e.hasRenderSpan&&n.startChild({description:"<".concat(t,">"),endTimestamp:(0,ce._I)(),op:mn,startTimestamp:n.endTimestamp})})),[])}function Pn(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,h.Gd)();if(t){var e=t.getScope();if(e)return e.getTransaction()}}function Rn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Dn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Rn(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Rn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}Sn.__initStatic();var jn="/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/errorboundary.tsx",kn={componentStack:null,error:null,eventId:null};class xn extends vn.Component{constructor(){super(...arguments),xn.prototype.__init.call(this),xn.prototype.__init2.call(this)}__init(){this.state=kn}componentDidCatch(t,e){let{componentStack:n}=e;const{beforeCapture:r,onError:i,showDialog:o,dialogOptions:a}=this.props;k((e=>{if(null!==(c=vn.version.match(/^([^.]+)/))&&parseInt(c[0])>=17){var s=new Error(t.message);s.name="React ErrorBoundary ".concat(s.name),s.stack=n,t.cause=s}var c;r&&r(e,t,n);var u=y(t,{contexts:{react:{componentStack:n}}});i&&i(t,n,u),o&&Qe(Dn(Dn({},a),{},{eventId:u})),this.setState({error:t,componentStack:n,eventId:u})}))}componentDidMount(){const{onMount:t}=this.props;t&&t()}componentWillUnmount(){const{error:t,componentStack:e,eventId:n}=this.state,{onUnmount:r}=this.props;r&&r(t,e,n)}__init2(){this.resetErrorBoundary=()=>{const{onReset:t}=this.props,{error:e,componentStack:n,eventId:r}=this.state;t&&t(e,n,r),this.setState(kn)}}render(){const{fallback:t,children:e}=this.props,{error:n,componentStack:r,eventId:i}=this.state;if(n){let e;return e="function"==typeof t?t({error:n,componentStack:r,resetError:this.resetErrorBoundary,eventId:i}):t,vn.isValidElement(e)?e:(t&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("fallback did not produce a valid ReactElement"),null)}return"function"==typeof e?e():e}}function Nn(t,e){var n=t.displayName||t.name||"unknown",r=n=>vn.createElement(xn,Dn(Dn({},e),{},{__self:this,__source:{fileName:jn,lineNumber:168}}),vn.createElement(t,Dn(Dn({},n),{},{__self:this,__source:{fileName:jn,lineNumber:169}})));return r.displayName="errorBoundary(".concat(n,")"),gn()(r,t),r}function Bn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Mn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?Bn(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Bn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var An="redux.state",Gn={actionTransformer:t=>t,stateTransformer:t=>t||null};function Un(t){var e=Mn(Mn({},Gn),t);return t=>(n,r)=>t(((t,r)=>{var i=n(t,r);return O((t=>{var n=e.actionTransformer(r);null!=n&&t.addBreadcrumb({category:"redux.action",data:n,type:"info"});var o=e.stateTransformer(i);null!=o?t.setContext(An,o):t.setContext(An,null);const{configureScopeWithState:a}=e;"function"==typeof a&&a(t,i)})),i}),r)}var In=(0,J.R)();function Cn(t,e,n){return function(r){let i,o,a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],s=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];a&&In&&In.location&&Yn(e,In.location,n,(t=>{o=t,i=r({name:o,op:"pageload",tags:{"routing.instrumentation":"react-router-v3"}})})),s&&t.listen&&t.listen((t=>{if("PUSH"===t.action||"POP"===t.action){i&&i.finish();var a={"routing.instrumentation":"react-router-v3"};o&&(a.from=o),Yn(e,t,n,(t=>{o=t,i=r({name:o,op:"navigation",tags:a})}))}}))}}function Yn(t,e,n,r){let i=e.pathname;n({location:e,routes:t},((t,e,n)=>{if(t||!n)return r(i);var o=function(t){if(!Array.isArray(t)||0===t.length)return"";var e=t.filter((t=>!!t.path));let n=-1;for(let t=e.length-1;t>=0;t--){var r=e[t];if(r.path&&r.path.startsWith("/")){n=t;break}}return e.slice(n).filter((t=>{let{path:e}=t;return!!e})).map((t=>{let{path:e}=t;return e})).join("")}(n.routes||[]);return 0===o.length||"/*"===o||(i=o),r(i)}))}function Fn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ln(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Fn(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Fn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var qn=(0,J.R)();let Hn,Wn,zn,Vn,Zn,$n,Jn,Xn,Kn;function Qn(t,e,n){return er(t,"react-router-v4",e,n)}function tr(t,e,n){return er(t,"react-router-v5",e,n)}function er(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3?arguments[3]:void 0;function i(){return t&&t.location?t.location.pathname:qn&&qn.location?qn.location.pathname:void 0}function o(t){if(0===n.length||!r)return t;var e=nr(n,t,r);for(let t=0;t<e.length;t++)if(e[t].match.isExact)return e[t].match.path;return t}return function(n){let r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];var s=i();r&&s&&(Hn=n({name:o(s),op:"pageload",tags:{"routing.instrumentation":e}})),a&&t.listen&&t.listen(((t,r)=>{if(r&&("PUSH"===r||"POP"===r)){Hn&&Hn.finish();var i={"routing.instrumentation":e};Hn=n({name:o(t.pathname),op:"navigation",tags:i})}}))}}function nr(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];return t.some((t=>{var i=t.path?n(e,t):r.length?r[r.length-1].match:rr(e);return i&&(r.push({route:t,match:i}),t.routes&&nr(t.routes,e,n,r)),!!i})),r}function rr(t){return{path:"/",url:"/",params:{},isExact:"/"===t}}function ir(t){var e=t.displayName||t.name,n=e=>(Hn&&e&&e.computedMatch&&e.computedMatch.isExact&&Hn.setName(e.computedMatch.path),vn.createElement(t,Ln(Ln({},e),{},{__self:this,__source:{fileName:"/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/reactrouter.tsx",lineNumber:163}})));return n.displayName="sentryRoute(".concat(e,")"),gn()(n,t),n}function or(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ar(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?or(Object(n),!0).forEach((function(e){(0,o.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):or(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var sr=(0,J.R)(),cr={"routing.instrumentation":"react-router-v6"};function ur(){if(sr&&sr.location)return sr.location.pathname}function dr(t,e,n,r,i){return function(o){let a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],s=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];var c=ur();a&&c&&(Wn=o({name:c,op:"pageload",tags:cr})),zn=t,Vn=e,Zn=n,Jn=i,$n=r,Xn=o,Kn=s}}var lr=(t,e,n)=>{if(!t||0===t.length||!n)return e.pathname;var r=n(t,e);if(r)for(let t=0;t<r.length;t++)if(r[t].route&&r[t].route.path&&r[t].pathname===e.pathname)return r[t].route.path||e.pathname;return e.pathname};function pr(t){if(!(zn&&Vn&&Zn&&$n&&Jn&&Xn))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn("reactRouterV6Instrumentation was unable to wrap Routes because of one or more missing parameters."),t;let e,n=!1;var r=r=>{var i=Vn(),o=Zn();return zn((()=>{e=$n(r.children),n=!0,Wn&&Wn.setName(lr(e,i,Jn))}),[r.children]),zn((()=>{n?Wn&&Wn.finish():!Kn||"PUSH"!==o&&"POP"!==o||(Wn&&Wn.finish(),Wn=Xn({n
1ame:lr(e,i,Jn),op:"navigation",tags:cr}))}),[r.children,i,o,n]),n=!1,vn.createElement(t,ar(ar({},r),{},{__self:this,__source:{fileName:"/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/reactrouterv6.tsx",lineNumber:171}}))};return gn()(r,t),r}},159:function(t,e,n){"use strict";n.d(e,{ro:function(){return y},lb:function(){return m}});var r=n(1840),i=(n(1),n(351)),o=n(1905),a=n(1899),s=n(429),c=n(1908),u=n(943);function d(){var t=(0,u.x1)();if(t){var e="internal_error";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.log("[Tracing] Transaction: ".concat(e," -> Global error occured")),t.setStatus(e)}}var l=n(1837),p=n(1910);function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function _(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function h(){var t=this.getScope();if(t){var e=t.getSpan();if(e)return{"sentry-trace":e.toTraceparent()}}return{}}function g(t,e,n){if(!(0,u.zu)(e))return t.sampled=!1,t;if(void 0!==t.sampled)return t.setMetadata({transactionSampling:{method:"explicitly_set"}}),t;let r;return"function"==typeof e.tracesSampler?(r=e.tracesSampler(n),t.setMetadata({transactionSampling:{method:"client_sampler",rate:Number(r)}})):void 0!==n.parentSampled?(r=n.parentSampled,t.setMetadata({transactionSampling:{method:"inheritance"}})):(r=e.tracesSampleRate,t.setMetadata({transactionSampling:{method:"client_rate",rate:Number(r)}})),i=r,((0,a.i2)(i)||"number"!=typeof i&&"boolean"!=typeof i?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn("[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ".concat(JSON.stringify(i)," of type ").concat(JSON.stringify(typeof i),".")),0):!(i<0||i>1)||(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn("[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ".concat(i,".")),0))?r?(t.sampled=Math.random()<r,t.sampled?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.log("[Tracing] starting ".concat(t.op," transaction - ").concat(t.name)),t):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.log("[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ".concat(Number(r),")")),t)):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.log("[Tracing] Discarding transaction because ".concat("function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),t.sampled=!1,t):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn("[Tracing] Discarding transaction because of invalid sample rate."),t.sampled=!1,t);var i}function v(t,e){var n=this.getClient(),r=n&&n.getOptions()||{};let i=new p.Y(t,this);return i=g(i,r,_({parentSampled:t.parentSampled,transactionContext:t},e)),i.sampled&&i.initSpanRecorder(r._experiments&&r._experiments.maxSpans),i}function m(t,e,n,r,i,o){var a=t.getClient(),s=a&&a.getOptions()||{};let c=new l.io(e,t,n,r,i);return c=g(c,s,_({parentSampled:e.parentSampled,transactionContext:e},o)),c.sampled&&c.initSpanRecorder(s._experiments&&s._experiments.maxSpans),c}function y(){var e;(e=(0,i.cu)()).__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=v),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=h)),(0,s.KV)()&&function(){var e=(0,i.cu)();if(e.__SENTRY__){var n={mongodb:()=>new((0,s.l$)(t,"./integrations/node/mongo").Mongo),mongoose:()=>new((0,s.l$)(t,"./integrations/node/mongo").Mongo)({mongoose:!0}),mysql:()=>new((0,s.l$)(t,"./integrations/node/mysql").Mysql),pg:()=>new((0,s.l$)(t,"./integrations/node/postgres").Postgres)},r=Object.keys(n).filter((t=>!!(0,s.$y)(t))).map((t=>{try{return n[t]()}catch(t){return}})).filter((t=>t));r.length>0&&(e.__SENTRY__.integrations=[...e.__SENTRY__.integrations||[],...r])}}(),(0,c.o)("error",d),(0,c.o)("unhandledrejection",d)}t=n.hmd(t)},1837:function(t,e,n){"use strict";n.d(e,{io:function(){return d},mg:function(){return c},nT:function(){return s}}),n(1);var r=n(1834),i=n(1905),o=n(1911),a=n(1910),s=1e3,c=3e4;class u extends o.gB{constructor(t,e,n,r){super(r),this._pushActivity=t,this._popActivity=e,this.transactionSpanId=n}add(t){t.spanId!==this.transactionSpanId&&(t.finish=e=>{t.endTimestamp="number"==typeof e?e:(0,r._I)(),this._popActivity(t.spanId)},void 0===t.endTimestamp&&this._pushActivity(t.spanId)),super.add(t)}}class d extends a.Y{__init(){this.activities={}}__init2(){this._heartbeatCounter=0}__init3(){this._finished=!1}__init4(){this._beforeFinishCallbacks=[]}constructor(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:c,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];super(t,e),this._idleHub=e,this._idleTimeout=n,this._finalTimeout=r,this._onScope=o,d.prototype.__init.call(this),d.prototype.__init2.call(this),d.prototype.__init3.call(this),d.prototype.__init4.call(this),o&&(l(e),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("Setting idle transaction on scope. Span ID: ".concat(this.spanId)),e.configureScope((t=>t.setSpan(this)))),this._startIdleTimeout(),setTimeout((()=>{this._finished||(this.setStatus("deadline_exceeded"),this.finish())}),this._finalTimeout)}finish(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r._I)();if(this._finished=!0,this.activities={},this.spanRecorder){for(var e of(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Tracing] finishing IdleTransaction",new Date(1e3*t).toISOString(),this.op),this._beforeFinishCallbacks))e(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter((e=>{if(e.spanId===this.spanId)return!0;e.endTimestamp||(e.endTimestamp=t,e.setStatus("cancelled"),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(e,void 0,2)));var n=e.startTimestamp<t;return n||("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(e,void 0,2)),n})),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Tracing] flushing IdleTransaction")}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Tracing] No active IdleTransaction");return this._onScope&&l(this._idleHub),super.finish(t)}registerBeforeFinishCallback(t){this._beforeFinishCallbacks.push(t)}initSpanRecorder(t){this.spanRecorder||(this.spanRecorder=new u((t=>{this._finished||this._pushActivity(t)}),(t=>{this._finished||this._popActivity(t)}),this.spanId,t),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("Starting heartbeat"),this._pingHeartbeat()),this.spanRecorder.add(this)}_cancelIdleTimeout(){this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0)}_startIdleTimeout(t){this._cancelIdleTimeout(),this._idleTimeoutID=setTimeout((()=>{this._finished||0!==Object.keys(this.activities).length||this.finish(t)}),this._idleTimeout)}
1_pushActivity(t){this._cancelIdleTimeout(),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Tracing] pushActivity: ".concat(t)),this.activities[t]=!0,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(t){if(this.activities[t]&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Tracing] popActivity ".concat(t)),delete this.activities[t],("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){var e=(0,r._I)()+this._idleTimeout/1e3;this._startIdleTimeout(e)}}_beat(){if(!this._finished){var t=Object.keys(this.activities).join("");t===this._prevHeartbeatString?this._heartbeatCounter+=1:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this.finish()):this._pingHeartbeat()}}_pingHeartbeat(){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.log("pinging Heartbeat -> current counter: ".concat(this._heartbeatCounter)),setTimeout((()=>{this._beat()}),5e3)}}function l(t){var e=t.getScope();e&&e.getTransaction()&&e.setSpan(void 0)}},1836:function(t,e,n){"use strict";n.r(e),n.d(e,{BROWSER_TRACING_INTEGRATION_ID:function(){return dt},BrowserTracing:function(){return pt},IdleTransaction:function(){return R.io},Integrations:function(){return r},Span:function(){return ht.Dr},SpanStatus:function(){return _t},TRACEPARENT_REGEXP:function(){return w},Transaction:function(){return gt.Y},addExtensionMethods:function(){return i.ro},defaultRequestInstrumentationOptions:function(){return ot},extractTraceparentData:function(){return T},getActiveTransaction:function(){return D.x1},hasTracingEnabled:function(){return D.zu},instrumentOutgoingRequests:function(){return at},spanStatusfromHttpCode:function(){return ht.Zd},startIdleTransaction:function(){return i.lb},stripUrlQueryAndFragment:function(){return vt.rt}});var r={};n.r(r),n.d(r,{Apollo:function(){return E},BrowserTracing:function(){return pt},Express:function(){return s},GraphQL:function(){return b},Mongo:function(){return m},Mysql:function(){return h},Postgres:function(){return _},Prisma:function(){return y}});var i=n(159),o=(n(1),n(1906)),a=n(1905);class s{static __initStatic(){this.id="Express"}__init(){this.name=s.id}constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s.prototype.__init.call(this),this._router=t.router||t.app,this._methods=(Array.isArray(t.methods)?t.methods:[]).concat("use")}setupOnce(){this._router?function(t){(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).forEach((e=>d(t,e)))}(this._router,this._methods):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.error("ExpressIntegration is missing an Express instance")}}function c(t,e){var n=t.length;switch(n){case 2:return function(n,r){var i=r.__sentry_transaction;if(i){var o=i.startChild({description:t.name,op:"express.middleware.".concat(e)});r.once("finish",(()=>{o.finish()}))}return t.call(this,n,r)};case 3:return function(n,r,i){var a=r.__sentry_transaction,s=(0,o.x)([a,"optionalAccess",t=>t.startChild,"call",n=>n({description:t.name,op:"express.middleware.".concat(e)})]);t.call(this,n,r,(function(){(0,o.x)([s,"optionalAccess",t=>t.finish,"call",t=>t()]);for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];i.call(this,...e)}))};case 4:return function(n,r,i,a){var s=i.__sentry_transaction,c=(0,o.x)([s,"optionalAccess",t=>t.startChild,"call",n=>n({description:t.name,op:"express.middleware.".concat(e)})]);t.call(this,n,r,i,(function(){(0,o.x)([c,"optionalAccess",t=>t.finish,"call",t=>t()]);for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];a.call(this,...e)}))};default:throw new Error("Express middleware takes 2-4 arguments. Got: ".concat(n))}}function u(t,e){return t.map((t=>"function"==typeof t?c(t,e):Array.isArray(t)?t.map((t=>"function"==typeof t?c(t,e):t)):t))}function d(t,e){var n=t[e];return t[e]=function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return n.call(this,...u(r,e))},t}s.__initStatic();var l=n(429),p=n(1898),f=n(1899);class _{static __initStatic(){this.id="Postgres"}__init(){this.name=_.id}constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_.prototype.__init.call(this),this._usePgNative=!!t.usePgNative}setupOnce(t,e){var n=(0,l.$y)("pg");if(!n)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.error("Postgres Integration was unable to require `pg` package."));if(this._usePgNative&&!(0,o.x)([n,"access",t=>t.native,"optionalAccess",t=>t.Client]))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.error("Postgres Integration was unable to access 'pg-native' bindings."));const{Client:r}=this._usePgNative?n.native:n;(0,p.hl)(r.prototype,"query",(function(t){return function(n,r,i){var a=e().getScope(),s=(0,o.x)([a,"optionalAccess",t=>t.getSpan,"call",t=>t()]),c=(0,o.x)([s,"optionalAccess",t=>t.startChild,"call",t=>t({description:"string"==typeof n?n:n.text,op:"db"})]);if("function"==typeof i)return t.call(this,n,r,(function(t,e){(0,o.x)([c,"optionalAccess",t=>t.finish,"call",t=>t()]),i(t,e)}));if("function"==typeof r)return t.call(this,n,(function(t,e){(0,o.x)([c,"optionalAccess",t=>t.finish,"call",t=>t()]),r(t,e)}));var u=void 0!==r?t.call(this,n,r):t.call(this,n);return(0,f.J8)(u)?u.then((t=>((0,o.x)([c,"optionalAccess",t=>t.finish,"call",t=>t()]),t))):((0,o.x)([c,"optionalAccess",t=>t.finish,"call",t=>t()]),u)}}))}}_.__initStatic();class h{constructor(){h.prototype.__init.call(this)}static __initStatic(){this.id="Mysql"}__init(){this.name=h.id}setupOnce(t,e){var n=(0,l.$y)("mysql/lib/Connection.js");n?(0,p.hl)(n,"createQuery",(function(t){return function(n,r,i){var a=e().getScope(),s=(0,o.x)([a,"optionalAccess",t=>t.getSpan,"call",t=>t()]),c=(0,o.x)([s,"optionalAccess",t=>t.startChild,"call",t=>t({description:"string"==typeof n?n:n.sql,op:"db"})]);return"function"==typeof i?t.call(this,n,r,(function(t,e,n){(0,o.x)([c,"optionalAccess",t=>t.finish,"call",t=>t()]),i(t,e,n)}
1)):"function"==typeof r?t.call(this,n,(function(t,e,n){(0,o.x)([c,"optionalAccess",t=>t.finish,"call",t=>t()]),r(t,e,n)})):t.call(this,n,r,i)}})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.error("Mysql Integration was unable to require `mysql` package.")}}h.__initStatic(),n(7);var g=["aggregate","bulkWrite","countDocuments","createIndex","createIndexes","deleteMany","deleteOne","distinct","drop","dropIndex","dropIndexes","estimatedDocumentCount","find","findOne","findOneAndDelete","findOneAndReplace","findOneAndUpdate","indexes","indexExists","indexInformation","initializeOrderedBulkOp","insertMany","insertOne","isCapped","mapReduce","options","parallelCollectionScan","rename","replaceOne","stats","updateMany","updateOne"],v={bulkWrite:["operations"],countDocuments:["query"],createIndex:["fieldOrSpec"],createIndexes:["indexSpecs"],deleteMany:["filter"],deleteOne:["filter"],distinct:["key","query"],dropIndex:["indexName"],find:["query"],findOne:["query"],findOneAndDelete:["filter"],findOneAndReplace:["filter","replacement"],findOneAndUpdate:["filter","update"],indexExists:["indexes"],insertMany:["docs"],insertOne:["doc"],mapReduce:["map","reduce"],rename:["newName"],replaceOne:["filter","doc"],updateMany:["filter","update"],updateOne:["filter","update"]};class m{static __initStatic(){this.id="Mongo"}__init(){this.name=m.id}constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};m.prototype.__init.call(this),this._operations=Array.isArray(t.operations)?t.operations:g,this._describeOperations=!("describeOperations"in t)||t.describeOperations,this._useMongoose=!!t.useMongoose}setupOnce(t,e){var n=this._useMongoose?"mongoose":"mongodb",r=(0,l.$y)(n);r?this._instrumentOperations(r.Collection,this._operations,e):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.error("Mongo Integration was unable to require `".concat(n,"` package."))}_instrumentOperations(t,e,n){e.forEach((e=>this._patchOperation(t,e,n)))}_patchOperation(t,e,n){if(e in t.prototype){var r=this._getSpanContextFromOperationArguments.bind(this);(0,p.hl)(t.prototype,e,(function(t){return function(){for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];var c=a[a.length-1],u=n().getScope(),d=(0,o.x)([u,"optionalAccess",t=>t.getSpan,"call",t=>t()]);if("function"!=typeof c||"mapReduce"===e&&2===a.length){var l=(0,o.x)([d,"optionalAccess",t=>t.startChild,"call",t=>t(r(this,e,a))]),p=t.call(this,...a);return(0,f.J8)(p)?p.then((t=>((0,o.x)([l,"optionalAccess",t=>t.finish,"call",t=>t()]),t))):((0,o.x)([l,"optionalAccess",t=>t.finish,"call",t=>t()]),p)}return l=(0,o.x)([d,"optionalAccess",t=>t.startChild,"call",t=>t(r(this,e,a.slice(0,-1)))]),t.call(this,...a.slice(0,-1),(function(t,e){(0,o.x)([l,"optionalAccess",t=>t.finish,"call",t=>t()]),c(t,e)}))}}))}}_getSpanContextFromOperationArguments(t,e,n){var r={collectionName:t.collectionName,dbName:t.dbName,namespace:t.namespace},i={op:"db",description:e,data:r},o=v[e],a=Array.isArray(this._describeOperations)?this._describeOperations.includes(e):this._describeOperations;if(!o||!a)return i;try{if("mapReduce"===e){const[t,e]=n;r[o[0]]="string"==typeof t?t:t.name||"<anonymous>",r[o[1]]="string"==typeof e?e:e.name||"<anonymous>"}else for(let t=0;t<o.length;t++)r[o[t]]=JSON.stringify(n[t])}catch(t){}return i}}m.__initStatic();class y{static __initStatic(){this.id="Prisma"}__init(){this.name=y.id}constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var e;y.prototype.__init.call(this),(e=t.client)&&e.$use?this._client=t.client:("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.warn("Unsupported Prisma client provided to PrismaIntegration. Provided client: ".concat(JSON.stringify(t.client)))}setupOnce(t,e){this._client?this._client.$use(((t,n)=>{var r=e().getScope(),i=(0,o.x)([r,"optionalAccess",t=>t.getSpan,"call",t=>t()]),a=t.action,s=t.model,c=(0,o.x)([i,"optionalAccess",t=>t.startChild,"call",t=>t({description:s?"".concat(s," ").concat(a):a,op:"db.prisma"})]),u=n(t);return(0,f.J8)(u)?u.then((t=>((0,o.x)([c,"optionalAccess",t=>t.finish,"call",t=>t()]),t))):((0,o.x)([c,"optionalAccess",t=>t.finish,"call",t=>t()]),u)})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.error("PrismaIntegration is missing a Prisma Client Instance")}}y.__initStatic();class b{constructor(){b.prototype.__init.call(this)}static __initStatic(){this.id="GraphQL"}__init(){this.name=b.id}
1setupOnce(t,e){var n=(0,l.$y)("graphql/execution/execute.js");n?(0,p.hl)(n,"execute",(function(t){return function(){var n=e().getScope(),r=(0,o.x)([n,"optionalAccess",t=>t.getSpan,"call",t=>t()]),i=(0,o.x)([r,"optionalAccess",t=>t.startChild,"call",t=>t({description:"execute",op:"db.graphql"})]);(0,o.x)([n,"optionalAccess",t=>t.setSpan,"call",t=>t(i)]);for(var a=arguments.length,s=new Array(a),c=0;c<a;c++)s[c]=arguments[c];var u=t.call(this,...s);return(0,f.J8)(u)?u.then((t=>((0,o.x)([i,"optionalAccess",t=>t.finish,"call",t=>t()]),(0,o.x)([n,"optionalAccess",t=>t.setSpan,"call",t=>t(r)]),t))):((0,o.x)([i,"optionalAccess",t=>t.finish,"call",t=>t()]),(0,o.x)([n,"optionalAccess",t=>t.setSpan,"call",t=>t(r)]),u)}})):a.kg.error("GraphQL Integration was unable to require graphql/execution package.")}}b.__initStatic();class E{constructor(){E.prototype.__init.call(this)}static __initStatic(){this.id="Apollo"}__init(){this.name=E.id}setupOnce(t,e){var n=(0,l.$y)("apollo-server-core");n?(0,p.hl)(n.ApolloServerBase.prototype,"constructSchema",(function(t){return function(){var n=Array.isArray(this.config.resolvers)?this.config.resolvers:[this.config.resolvers];return this.config.resolvers=n.map((t=>(Object.keys(t).forEach((n=>{Object.keys(t[n]).forEach((r=>{"function"==typeof t[n][r]&&function(t,e,n,r){(0,p.hl)(t[e],n,(function(t){return function(){for(var i=r().getScope(),a=(0,o.x)([i,"optionalAccess",t=>t.getSpan,"call",t=>t()]),s=(0,o.x)([a,"optionalAccess",t=>t.startChild,"call",t=>t({description:"".concat(e,".").concat(n),op:"db.graphql.apollo"})]),c=arguments.length,u=new Array(c),d=0;d<c;d++)u[d]=arguments[d];var l=t.call(this,...u);return(0,f.J8)(l)?l.then((t=>((0,o.x)([s,"optionalAccess",t=>t.finish,"call",t=>t()]),t))):((0,o.x)([s,"optionalAccess",t=>t.finish,"call",t=>t()]),l)}}))}(t,n,r,e)}))})),t))),t.call(this)}})):a.kg.error("Apollo Integration was unable to require apollo-server-core package.")}}E.__initStatic();var O=n(1840),S=n(1901),w=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function T(t){var e=t.match(w);if(e){let t;return"1"===e[3]?t=!0:"0"===e[3]&&(t=!1),{traceId:e[1],parentSampled:t,parentSpanId:e[2]}}}var P=n(1913),R=n(1837),D=n(943),j=(0,S.R)();n(4);var k=n(1912),x=n(1834),N=n(1900),B=(t,e,n)=>{let r;return i=>{e.value>=0&&(i||n)&&(e.delta=e.value-(r||0),(e.delta||void 0===r)&&(r=e.value,t(e)))}},M=(t,e)=>({name:t,value:(0,k.h)(e,(()=>-1)),delta:0,entries:[],id:"v2-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12)}),A=(t,e)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(t)){if("first-input"===t&&!("PerformanceEventTiming"in self))return;var n=new PerformanceObserver((t=>t.getEntries().map(e)));return n.observe({type:t,buffered:!0}),n}}catch(t){}},G=(t,e)=>{var n=r=>{"pagehide"!==r.type&&"hidden"!==(0,S.R)().document.visibilityState||(t(r),e&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)};let U=-1;var I=()=>(U<0&&(U="hidden"===(0,S.R)().document.visibilityState?0:1/0,G((t=>{let{timeStamp:e}=t;U=e}),!0)),{get firstHiddenTime(){return U}}),C={},Y=n(1858);const F=["startTimestamp"];function L(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function q(t){return"number"==typeof t&&isFinite(t)}function H(t,e){let{startTimestamp:n}=e,r=(0,Y.Z)(e,F);return n&&t.startTimestamp>n&&(t.startTimestamp=n),t.startChild(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?L(Object(n),!0).forEach((function(e){(0,O.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({startTimestamp:n},r))}var W=(0,S.R)();function z(){return W&&W.addEventListener&&W.performance}let V,Z,$=0,J={};function X(){((t,e)=>{var n=M("CLS",0);let r,i=0,o=[];var s=t=>{if(t&&!t.hadRecentInput){var e=o[0],a=o[o.length-1];i&&0!==o.length&&t.startTime-a.startTime<1e3&&t.startTime-e.startTime<5e3?(i+=t.value,o.push(t)):(i=t.value,o=[t]),i>
1n.value&&(n.value=i,n.entries=o,r&&r())}},c=A("layout-shift",s);c&&(r=B((t=>{var e=t.entries.pop();e&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Measurements] Adding CLS"),J.cls={value:t.value,unit:"millisecond"},Z=e)}),n,void 0),G((()=>{c.takeRecords().map(s),r(!0)})))})()}function K(t){((t,e)=>{var n=I(),r=M("LCP");let i;var o=t=>{var e=t.startTime;e<n.firstHiddenTime&&(r.value=e,r.entries.push(t)),i&&i()},s=A("largest-contentful-paint",o);if(s){i=B((t=>{var e=t.entries.pop();if(e){var n=(0,D.XL)(x.Z1),r=(0,D.XL)(e.startTime);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Measurements] Adding LCP"),J.lcp={value:t.value,unit:"millisecond"},J["mark.lcp"]={value:n+r,unit:"second"},V=e}}),r,e);var c=()=>{C[r.id]||(s.takeRecords().map(o),s.disconnect(),C[r.id]=!0,i(!0))};["keydown","click"].forEach((t=>{addEventListener(t,c,{once:!0,capture:!0})})),G(c,!0)}})(0,t)}function Q(){((t,e)=>{var n=I(),r=M("FID");let i;var o=t=>{i&&t.startTime<n.firstHiddenTime&&(r.value=t.processingStart-t.startTime,r.entries.push(t),i(!0))},s=A("first-input",o);s&&(i=B((t=>{var e=t.entries.pop();if(e){var n=(0,D.XL)(x.Z1),r=(0,D.XL)(e.startTime);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Measurements] Adding FID"),J.fid={value:t.value,unit:"millisecond"},J["mark.fid"]={value:n+r,unit:"second"}}}),r,void 0),G((()=>{s.takeRecords().map(o),s.disconnect()}),!0))})()}function tt(t,e,n,r,i,o){var a=o?e[o]:e["".concat(n,"End")],s=e["".concat(n,"Start")];s&&a&&H(t,{op:"browser",description:(0,k.h)(i,(()=>n)),startTimestamp:r+(0,D.XL)(s),endTimestamp:r+(0,D.XL)(a)})}var et=n(1902),nt=n(1908);function rt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function it(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?rt(Object(n),!0).forEach((function(e){(0,O.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):rt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ot={traceFetch:!0,traceXHR:!0,tracingOrigins:["localhost",/^\//]};function at(t){const{traceFetch:e,traceXHR:n,tracingOrigins:r,shouldCreateSpanForRequest:i}=it(it({},ot),t);var o={},a=t=>{if(o[t])return o[t];var e=r;return o[t]=e.some((e=>(0,et.zC)(t,e)))&&!(0,et.zC)(t,"sentry_key"),o[t]};let s=a;"function"==typeof i&&(s=t=>a(t)&&i(t));var c={};e&&(0,nt.o)("fetch",(t=>{!function(t,e,n){if((0,D.zu)()&&t.fetchData&&e(t.fetchData.url))if(t.endTimestamp){var r=t.fetchData.__span;if(!r)return;(o=n[r])&&(t.response?o.setHttpStatus(t.response.status):t.error&&o.setStatus("internal_error"),o.finish(),delete n[r])}else{var i=(0,D.x1)();if(i){var o=i.startChild({data:it(it({},t.fetchData),{},{type:"fetch"}),description:"".concat(t.fetchData.method," ").concat(t.fetchData.url),op:"http.client"});t.fetchData.__span=o.spanId,n[o.spanId]=o;var a=t.args[0]=t.args[0],s=t.args[1]=t.args[1]||{};s.headers=function(t,e,n){let r=n.headers;(0,f.V9)(t,Request)&&(r=t.headers);var i=e.getBaggage();if(r)if("function"==typeof r.append)r.append("sentry-trace",e.toTraceparent()),r.append(P.bU,(0,P.J8)(i,r.get(P.bU)));else if(Array.isArray(r)){const[,t]=r.find((t=>{let[e,n]=t;return e===P.bU}));r=[...r,["sentry-trace",e.toTraceparent()],[P.bU,(0,P.J8)(i,t)]]}else r=it(it({},r),{},{"sentry-trace":e.toTraceparent(),baggage:(0,P.J8)(i,r.baggage)});else r={"sentry-trace":e.toTraceparent(),baggage:(0,P.J8)(i)};return r}(a,o,s)}}}(t,s,c)})),n&&(0,nt.o)("xhr",(t=>{!function(t,e,n){if(!(!(0,D.zu)()||t.xhr&&t.xhr.__sentry_own_request__)&&t.xhr&&t.xhr.__sentry_xhr__&&e(t.xhr.__sentry_xhr__.url)){var r=t.xhr.__sentry_xhr__;if(t.endTimestamp){var i=t.xhr.__sentry_xhr_span_id__;if(!i)return;(a=n[i])&&(a.setHttpStatus(r.status_code),a.finish(),delete n[i])}else{var o=(0,D.x1)();if(o){var a=o.startChild({data:it(it({},r.data),{},{type:"xhr",method:r.method,url:r.url}),description:"".concat(r.method," ").concat(r.url),op:"http.client"});if(t.xhr.__sentry_xhr_span_id__=a.spanId,n[t.xhr.__sentry_xhr_span_id__]=a,t.xhr.setRequestHeader)try{t.x
1hr.setRequestHeader("sentry-trace",a.toTraceparent());var s=t.xhr.getRequestHeader&&t.xhr.getRequestHeader(P.bU);t.xhr.setRequestHeader(P.bU,(0,P.J8)(a.getBaggage(),s))}catch(t){}}}}}(t,s,c)}))}var st=(0,S.R)();function ct(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ut(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ct(Object(n),!0).forEach((function(e){(0,O.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ct(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var dt="BrowserTracing",lt=ut({idleTimeout:R.nT,finalTimeout:R.mg,markBackgroundTransactions:!0,routingInstrumentation:function(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!st||!st.location)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.warn("Could not initialize routing instrumentation due to invalid location"));let r,i=st.location.href;e&&(r=t({name:st.location.pathname,op:"pageload"})),n&&(0,nt.o)("history",(e=>{let{to:n,from:o}=e;void 0===o&&i&&-1!==i.indexOf(n)?i=void 0:o!==n&&(i=void 0,r&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Tracing] Finishing current transaction with op: ".concat(r.op)),r.finish()),r=t({name:st.location.pathname,op:"navigation"}))}))},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0},ot);class pt{__init(){this.name=dt}constructor(t){pt.prototype.__init.call(this);let e=ot.tracingOrigins;t&&(t.tracingOrigins&&Array.isArray(t.tracingOrigins)&&0!==t.tracingOrigins.length?e=t.tracingOrigins:("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&(this._emitOptionsWarning=!0)),this.options=ut(ut(ut({},lt),t),{},{tracingOrigins:e});const{_metricOptions:n}=this.options;!function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];var e=z();e&&x.Z1&&(e.mark&&W.performance.mark("sentry-tracing-init"),X(),K(t),Q())}(n&&n._reportAllChanges)}setupOnce(t,e){this._getCurrentHub=e,this._emitOptionsWarning&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.warn("[Tracing] You need to define `tracingOrigins` in the options. Set an array of urls or patterns to trace."),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.warn("[Tracing] We added a reasonable default for you: ".concat(ot.tracingOrigins)));const{routingInstrumentation:n,startTransactionOnLocationChange:r,startTransactionOnPageLoad:i,markBackgroundTransactions:o,traceFetch:s,traceXHR:c,tracingOrigins:u,shouldCreateSpanForRequest:d}=this.options;n((t=>this._createRouteTransaction(t)),i,r),o&&(j&&j.document?j.document.addEventListener("visibilitychange",(()=>{var t=(0,D.x1)();if(j.document.hidden&&t){var e="cancelled";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Tracing] Transaction: ".concat(e," -> since tab moved to the background, op: ").concat(t.op)),t.status||t.setStatus(e),t.setTag("visibilitychange","document.hidden"),t.finish()}})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.warn("[Tracing] Could not set up background tab detection due to lack of global document")),at({traceFetch:s,traceXHR:c,tracingOrigins:u,shouldCreateSpanForRequest:d})}_createRouteTransaction(t){if(!this._getCurrentHub)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.warn("[Tracing] Did not create ".concat(t.op," transaction because _getCurrentHub is invalid.")));const{beforeNavigate:e,idleTimeout:n,finalTimeout:r}=this.options;var o="pageload"===t.op?function(){var t=ft("sentry-trace"),e=ft("baggage"),n=t?T(t):void 0,r=(0,P.rg)(e,t);if(n||r)return ut(ut({},n&&n),r&&{metadata:{baggage:r}})}():void 0,s=ut(ut(ut({},t),o),{},{trimEnd:!0}),c="function"==typeof e?e(s):s,u=void 0===c?ut(ut({},s),{},{sampled:!1}):c;!1===u.sampled&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Tracing] Will not send ".concat(u.op," transaction because of beforeNavigate.")),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Tracing] Starting ".concat(u.op," transaction on scope"));var d=this._getCurrentHub();const{location:l}=(0,S.R)();var p=(0,i.lb)(d,u,n,r,!0,{location:l});return p.registerBeforeFinishCallback((t=>{(function(t){var e=z();if(!e||!W.performance.getEntries||!x.Z1)return;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Tracing] Adding & adjusting spans using Performance API");var n=(0,D.XL)(x.Z1),r=e.getEntries();let i,o;r.slice($).forEach((e=>{var r=(0,D.XL)(e.startTime),s=(0,D.XL)(e.duration);if(!("navigation"===t.op&&n+r<t.startTimestamp))switch(e.entryType){case"navigation":!function(t,e,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach((r=>{tt(t,e,r,n)})),tt(t,e,"secureConnection",n,"TLS/SSL","connectEnd"),tt(t,e,"fetch",n,"cache","domainLookupStart"),tt(t,e,"domainLookup",n,"DNS"),function(t,e,n){H(t,{op:"browser",description:"request",startTimestamp:n+(0,D.XL)(e.requestStart),endTimestamp:n+(0,D.XL)(e.responseEnd)}),H(t,{op:"browser",description:"response",startTimestamp:n+(0,D.XL)(e.responseStart),endTimestamp:n+(0,D.XL)(e.responseEnd)})}(t,e,n)}(t,e,n),i=n+(0,D.XL)(e.responseStart),o=n+(0,D.XL)(e.requestStart);break;case"mark":case"paint":case"measure":var c=function(t,e,n,r,i){var o=i+n,a=o+r;return H(t,{description:e.name,endTimestamp:a,op:e.entryType,startTimestamp:o}),o}(t,e,r,s,n),u=I(),d=e.startTime<u.firstHiddenTime;"first-paint"===e.name&&d&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Measurements] Adding FP"),J.fp={value:e.startTime,unit:"millisecond"},J["mark.fp"]={value:c,unit:"second"}),"first-contentful-paint"===e.name&&d&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Measurements] Adding FCP"),J.fcp={value:e.startTime,unit:"millisecond"},J["mark.fcp"]={value:c,unit:"second"});break;case"resource":var l=e.name.replace(W.location.origin,"");!function(t,e,n,r,i,o){if("xmlhttprequest"!==e.initiatorType&&"fetch"!==e.initiatorType){var a={};"transferSize"in e&&(a["Transfer Size"]=e.transferSize),"encodedBodySize"in e&&(a["Encoded Body Size"]=e.encodedBodySize),"decodedBodySize"in e&&(a["Decoded Body Size"]=e.decodedBodySize);var s=o+r;H(t,{description:n,endTimestamp:s+i,op:e.initiatorType?"resource.".concat(e.initiatorType):"resource",startTimestamp:s,data:a})}}(t,e,l,r,s,n)}})),$=Math.max(r.length-1,0),function(t){var e=W.navigator;if(e){var n=e.connection;n&&(n.effectiveType&&t.setTag("effectiveConnectionType",n.effectiveType),n.type&&t.setTag("connectionType",n.type),q(n.rtt)&&(J["connection.rtt"]={value:n.rtt,unit:"millisecond"}),q(n.downlink)&&(J["connection.downlink"]={value:n.downlink,unit:""})),q(e.deviceMemory)&&t.setTag("deviceMemory","".concat(e.deviceMemory," GB")),q(e.hardwareConcurrency)&&t.setTag("hardwareConcurrency",String(e.hardwareConcurrency))}}(t),"pageload"===t.op&&("number"==typeof i&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Measurements] Adding TTFB"),J.ttfb={value:1e3*(i-t.startTimestamp),unit:"millisecond"},"number"==typeof o&&o<=i&&(J["ttfb.requestTime"]={value:1e3*(i-o),unit:"second"})),["fcp","fp","lcp"].forEach((e=>{if(J[e]&&!(n>=t.startTimestamp)){var r=J[e].value,i=n+(0,D.XL)(r),o=Math.abs(1e3*(i-t.startTimestamp)),s=o-r;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Measurements] Normalized ".concat(e," from ").concat(r," to ").concat(o," (").concat(s,")")),J[e].value=o}})),J["mark.fid"]&&J.fid&&H(t,{description:"first input delay",endTimestamp:J["mark.fid"].value+(0,D.XL)(J.fid.value),op:"web.vitals",startTimestamp:J["mark.fid"].value}),"fcp"in J||delete J.cls,Object.keys(J).forEach((e=>{t.setMeasurement(e,J[e].value,J[e].unit)})),function(t){V&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Measurements] Adding LCP Data"),V.element&&t.setTag("lcp.element",(0,N.R)(V.element)),V.id&&t.setTag("lcp.id",V.id),V.url&&t.setTag("lcp.url",V.url.trim().slice(0,200)),t.setTag("lcp.size",V.size)),Z&&Z.sources&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Measurements] Adding CLS Data"),Z.sources.forEac
1h(((e,n)=>t.setTag("cls.source.".concat(n+1),(0,N.R)(e.node)))))}(t)),V=void 0,Z=void 0,J={}})(t),t.setTag("sentry_reportAllChanges",Boolean(this.options._metricOptions&&this.options._metricOptions._reportAllChanges))})),p}}function ft(t){var e=(0,S.R)();if(e.document&&e.document.querySelector){var n=e.document.querySelector("meta[name=".concat(t,"]"));return n?n.getAttribute("content"):null}return null}var _t,ht=n(1911);!function(t){t.Ok="ok",t.DeadlineExceeded="deadline_exceeded",t.Unauthenticated="unauthenticated",t.PermissionDenied="permission_denied",t.NotFound="not_found",t.ResourceExhausted="resource_exhausted",t.InvalidArgument="invalid_argument",t.Unimplemented="unimplemented",t.Unavailable="unavailable",t.InternalError="internal_error",t.UnknownError="unknown_error",t.Cancelled="cancelled",t.AlreadyExists="already_exists",t.FailedPrecondition="failed_precondition",t.Aborted="aborted",t.OutOfRange="out_of_range",t.DataLoss="data_loss"}(_t||(_t={}));var gt=n(1910),vt=n(1835);("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&(0,i.ro)()},1911:function(t,e,n){"use strict";n.d(e,{Dr:function(){return f},Zd:function(){return _},gB:function(){return p}});var r=n(1840),i=n(1912),o=n(351),a=n(1835),s=n(1834),c=n(1898),u=n(1913);function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}class p{__init(){this.spans=[]}constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3;p.prototype.__init.call(this),this._maxlen=t}add(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)}}class f{__init2(){this.traceId=(0,a.DM)()}__init3(){this.spanId=(0,a.DM)().substring(16)}__init4(){this.startTimestamp=(0,s._I)()}__init5(){this.tags={}}__init6(){this.data={}}constructor(t){if(f.prototype.__init2.call(this),f.prototype.__init3.call(this),f.prototype.__init4.call(this),f.prototype.__init5.call(this),f.prototype.__init6.call(this),!t)return this;t.traceId&&(this.traceId=t.traceId),t.spanId&&(this.spanId=t.spanId),t.parentSpanId&&(this.parentSpanId=t.parentSpanId),"sampled"in t&&(this.sampled=t.sampled),t.op&&(this.op=t.op),t.description&&(this.description=t.description),t.data&&(this.data=t.data),t.tags&&(this.tags=t.tags),t.status&&(this.status=t.status),t.startTimestamp&&(this.startTimestamp=t.startTimestamp),t.endTimestamp&&(this.endTimestamp=t.endTimestamp)}startChild(t){var e=new f(l(l({},t),{},{parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId}));return e.spanRecorder=this.spanRecorder,e.spanRecorder&&e.spanRecorder.add(e),e.transaction=this.transaction,e}setTag(t,e){return this.tags=l(l({},this.tags),{},{[t]:e}),this}setData(t,e){return this.data=l(l({},this.data),{},{[t]:e}),this}setStatus(t){return this.status=t,this}setHttpStatus(t){this.setTag("http.status_code",String(t));var e=_(t);return"unknown_error"!==e&&this.setStatus(e),this}isSuccess(){return"ok"===this.status}finish(t){this.endTimestamp="number"==typeof t?t:(0,s._I)()}toTraceparent(){let t="";return void 0!==this.sampled&&(t=this.sampled?"-1":"-0"),"".concat(this.traceId,"-").concat(this.spanId).concat(t)}toContext(){return(0,c.Jr)({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})}updateWithContext(t){return this.data=(0,i.h)(t.data,(()=>({}))),this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=(0,i.h)(t.spanId,(()=>this.spanId)),this.startTimestamp=(0,i.h)(t.startTimestamp,(()=>this.startTimestamp)),this.status=t.status,this.tags=(0,i.h)(t.tags,(()=>({}))),this.traceId=(0,i.h)(t.traceId,(()=>this.traceId)),this}getTraceContext(){return(0,c.Jr)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})}getBaggage(){var t=this.transaction&&this.transaction.metadata.baggage;return!t||(0,u.Gp)(t)&&(0,u.Dq)(t)?this._getBaggageWithSentryValues(t):t}toJSON(){return(0,c.Jr)({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId})}_getBaggageWithSentryValues(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,u.Hn)({});var e=(this.transaction&&this.transaction._hub||(0,o.Gd)()).getClient();const{environment:n,release:r}=e&&e.getOptions()||{};return n&&(0,u.S1)(t,"environment",n),r&&(0,u.S1)(t,"release",r),(0,u.Os)(t),t}}function _(t){if(t<400&&t>=100)return"ok";if(t>=400&&t<500)switch(t){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(t>=500&&t<600)switch(t){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}},1910:function(t,e,n){"use strict";n.d(e,{Y:function(){return p}});var r=n(1840),i=n(1912),o=n(351),a=n(1905),s=n(1913),c=n(1898),u=n(1911);function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?d(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}class p extends u.Dr{__init(){this._measurements={}}constructor(t,e){super(t),p.prototype.__init.call(this),this._hub=e||(0,o.Gd)(),this.name=t.name||"",this.metadata=t.metadata||{},this._trimEnd=t.trimEnd,this.transaction=this}setName(t){this.name=t}initSpanRecorder(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3;this.spanRecorder||(this.spanRecorder=new u.gB(t)),this.spanRecorder.add(this)}setMeasurement(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";this._measurements[t]={value:e,unit:n}}setMetadata(t){this.metadata=l(l({},this.metadata),t)}finish(t){if(void 0===this.endTimestamp){if(this.name||(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this.name="<unlabeled transaction>"),super.finish(t),!0===this.sampled){var e=this.spanRecorder?this.spanRecorder.spans.filter((t=>t!==this&&t.endTimestamp)):[];this._trimEnd&&e.length>0&&(this.endTimestamp=e.reduce(((t,e)=>t.endTimestamp&&e.endTimestamp?t.endTimestamp>e.endTimestamp?t:e:t)).endTimestamp);var n={contexts:{trace:this.getTraceContext(),baggage:(0,s.Hk)(this.getBaggage())},spans:e,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:this.metadata};return Object.keys(this._measurements).length>0&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),n.measurements=this._measurements),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Tracing] Finishing ".concat(this.op," transaction: ").concat(this.name,".")),this._hub.captureEvent(n)}("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled.");var r=this._hub.getClient();r&&r.recordDroppedEvent("sample_rate","transaction")}}toContext(){var t=super.toContext();return(0,c.Jr)(l(l({},t),{},{name:this.name,trimEnd:this._trimEnd}))}updateWithContext(t){return super.updateWithContext(t),this.name=(0,i.h)(t.name,(()=>"")),this._trimEnd=t.trimEnd,this}}},943:function(t,e,n){"use strict";n.d(e,{XL:function(){return a},x1:function(){return o},zu:function(){return i}});var r=n(351);function i(t){var e=(0,r.Gd)().getClient(),n=t||e&&e.getOptions();return!!n&&("tracesSampleRate"in n||"tracesSampler"in n)}function o(t){var e=(t||(0,r.Gd)()).getScope();return e&&e.getTransaction()}function a(t){return t/1e3}},1913:function(t,e,n){"use strict";n.d(e,{Dq:function(){return l},Gp:function(){return f},Hk:function(){return p},Hn:function(){return u},J8:function(){return g},Os:function(){return _},S1:function(){return d},bU:function(){return s},rg:function(){return v}});var r=n(1840),i=(n(1),n(1905));function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var s="baggage",c=/^sentry-/;function u(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return[a({},t),e,n]}function d(t,e,n){f(t)&&(t[0][e]=n)}function l(t){return 0===Object.keys(t[0]).length}function p(t){return t[0]}function f(t){return t[2]}function _(t){t[2]=!1}function h(t){return t.split(",").reduce(((t,e)=>
1{let[n,r]=t;const[i,o]=e.split("=");if(c.test(i)){var s=decodeURIComponent(i.split("-")[1]);return[a(a({},n),{},{[s]:decodeURIComponent(o)}),r,!0]}return[n,""===r?e:"".concat(r,",").concat(e),!0]}),[{},"",!0])}function g(t,e){if(!t&&!e)return"";var n,r=e&&h(e)||void 0,o=r&&function(t){return t[1]}(r),a=u(t&&t[0]||{},o||t&&t[1]||"");return n=a,Object.keys(n[0]).reduce(((t,e)=>{var r=n[0][e],o="".concat("sentry-").concat(encodeURIComponent(e),"=").concat(encodeURIComponent(r)),a=""===t?o:"".concat(t,",").concat(o);return a.length>8192?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn("Not adding key: ".concat(e," with val: ").concat(r," to baggage due to exceeding baggage size limits.")),t):a}),n[1])}function v(t,e){var n=h(t||"");return(!l(n)||e&&l(n))&&_(n),n}},1900:function(t,e,n){"use strict";n.d(e,{R:function(){return o},l:function(){return s}});var r=n(1901),i=n(1899);function o(t,e){try{let i=t;var n=[];let o=0,s=0;var r=" > ".length;let c;for(;i&&o++<5&&(c=a(i,e),!("html"===c||o>1&&s+n.length*r+c.length>=80));)n.push(c),s+=c.length,i=i.parentNode;return n.reverse().join(" > ")}catch(t){return"<unknown>"}}function a(t,e){var n=t,r=[];let o,a,s,c,u;if(!n||!n.tagName)return"";r.push(n.tagName.toLowerCase());var d=e&&e.length?e.filter((t=>n.getAttribute(t))).map((t=>[t,n.getAttribute(t)])):null;if(d&&d.length)d.forEach((t=>{r.push("[".concat(t[0],'="').concat(t[1],'"]'))}));else if(n.id&&r.push("#".concat(n.id)),o=n.className,o&&(0,i.HD)(o))for(a=o.split(/\s+/),u=0;u<a.length;u++)r.push(".".concat(a[u]));var l=["type","name","title","alt"];for(u=0;u<l.length;u++)s=l[u],c=n.getAttribute(s),c&&r.push("[".concat(s,'="').concat(c,'"]'));return r.join("")}function s(){var t=(0,r.R)();try{return t.document.location.href}catch(t){return""}}},1912:function(t,e,n){"use strict";function r(t,e){return null!=t?t:e()}n.d(e,{h:function(){return r}})},1906:function(t,e,n){"use strict";function r(t){let e,n=t[0],r=1;for(;r<t.length;){var i=t[r],o=t[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==n)return;"access"===i||"optionalAccess"===i?(e=n,n=o(n)):"call"!==i&&"optionalCall"!==i||(n=o((function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return n.call(e,...r)})),e=void 0)}return n}n.d(e,{x:function(){return r}}),n(1)},1901:function(t,e,n){"use strict";n.d(e,{R:function(){return o},Y:function(){return a}});var r=n(429),i={};function o(){return(0,r.KV)()?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:i}function a(t,e,n){var r=n||o(),i=r.__SENTRY__=r.__SENTRY__||{};return i[t]||(i[t]=e())}},1908:function(t,e,n){"use strict";n.d(e,{o:function(){return h}});var r=n(1840),i=(n(1),n(1901)),o=n(1899),a=n(1905),s=n(1898),c=n(1907),u=n(1909);function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var p=(0,i.R)(),f={},_={};function h(t,e){f[t]=f[t]||[],f[t].push(e),function(t){if(!_[t])switch(_[t]=!0,t){case"console":"console"in p&&a.RU.forEach((function(t){t in p.console&&(0,s.hl)(p.console,t,(function(e){return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];g("console",{args:r,level:t}),e&&e.apply(p.console,r)}}))}));break;case"dom":!function(){if("document"in p){var t=g.bind(null,"dom"),e=w(t,!0);p.document.addEventListener("click",e,!1),p.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach((e=>{var n=p[e]&&p[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,s.hl)(n,"addEventListener",(function(e){return function(n,r,i){if("click"===n||"keypress"==n)try{var o=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=o[n]=o[n]||{refCount:0};if(!a.handler){var s=w(t);a.handler=s,e.call(this,n,s,i)}a.refCount+=1}catch(t){}return e.call(this,n,r,i)}})),(0,s.hl)(n,"removeEventListener",(function(t){return function(e,n,r){if("click"===e||"keypress"==e)try{var i=this.__sentry_instrumentation_handlers__||{},o=i[e];o&&(o.refCount-=1,o.refCount<=0&&(t.call(this,e,o.handler,r),o.handler=void 0,delete i[e]),0===Object.keys(i).length&&delete this.__sentry_instrumentation_handlers__)}catch(t){}return t.call(this,e,n,r)}})))}))}}();break;case"xhr":!function(){if("XMLHttpRequest"in p){var t=XMLHttpRequest.prototype;(0,s.hl)(t,"open",(function(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=this,a=n[1],c=i.__sentry_xhr__={method:(0,o.HD)(n[0])?n[0].toUpperCase():n[0],url:n[1]};
1(0,o.HD)(a)&&"POST"===c.method&&a.match(/sentry_key/)&&(i.__sentry_own_request__=!0);var u=function(){if(4===i.readyState){try{c.status_code=i.status}catch(t){}g("xhr",{args:n,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:i})}};return"onreadystatechange"in i&&"function"==typeof i.onreadystatechange?(0,s.hl)(i,"onreadystatechange",(function(t){return function(){u();for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.apply(i,n)}})):i.addEventListener("readystatechange",u),t.apply(i,n)}})),(0,s.hl)(t,"send",(function(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return this.__sentry_xhr__&&void 0!==n[0]&&(this.__sentry_xhr__.body=n[0]),g("xhr",{args:n,startTimestamp:Date.now(),xhr:this}),t.apply(this,n)}}))}}();break;case"fetch":(0,u.t$)()&&(0,s.hl)(p,"fetch",(function(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i={args:n,fetchData:{method:v(n),url:m(n)},startTimestamp:Date.now()};return g("fetch",l({},i)),t.apply(p,n).then((t=>(g("fetch",l(l({},i),{},{endTimestamp:Date.now(),response:t})),t)),(t=>{throw g("fetch",l(l({},i),{},{endTimestamp:Date.now(),error:t})),t}))}}));break;case"history":!function(){if((0,u.Bf)()){var t=p.onpopstate;p.onpopstate=function(){var e=p.location.href,n=y;if(y=e,g("history",{from:n,to:e}),t)try{for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return t.apply(this,i)}catch(t){}},(0,s.hl)(p.history,"pushState",e),(0,s.hl)(p.history,"replaceState",e)}function e(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=n.length>2?n[2]:void 0;if(i){var o=y,a=String(i);y=a,g("history",{from:o,to:a})}return t.apply(this,n)}}}();break;case"error":T=p.onerror,p.onerror=function(t,e,n,r,i){return g("error",{column:r,error:i,line:n,msg:t,url:e}),!!T&&T.apply(this,arguments)};break;case"unhandledrejection":P=p.onunhandledrejection,p.onunhandledrejection=function(t){return g("unhandledrejection",t),!P||P.apply(this,arguments)};break;default:("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.warn("unknown instrumentation type:",t)}}(t)}function g(t,e){if(t&&f[t])for(var n of f[t]||[])try{n(e)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.kg.error("Error while triggering instrumentation handler.\nType: ".concat(t,"\nName: ").concat((0,c.$P)(n),"\nError:"),e)}}function v(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return"Request"in p&&(0,o.V9)(t[0],Request)&&t[0].method?String(t[0].method).toUpperCase():t[1]&&t[1].method?String(t[1].method).toUpperCase():"GET"}function m(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return"string"==typeof t[0]?t[0]:"Request"in p&&(0,o.V9)(t[0],Request)?t[0].url:String(t[0])}let y,b,E;function O(t,e){if(!t)return!0;if(t.type!==e.type)return!0;try{if(t.target!==e.target)return!0}catch(t){}return!1}function S(t){if("keypress"!==t.type)return!1;try{var e=t.target;if(!e||!e.tagName)return!0;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable)return!1}catch(t){}return!0}function w(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n=>{if(n&&E!==n&&!S(n)){var r="keypress"===n.type?"input":n.type;(void 0===b||O(E,n))&&(t({event:n,name:r,global:e}),E=n),clearTimeout(b),b=p.setTimeout((()=>{b=void 0}),1e3)}}}let T=null,P=null},1899:function(t,e,n){"use strict";n.d(e,{Cy:function(){return g},HD:function(){return u},J8:function(){return h},Kj:function(){return _},PO:function(){return l},TX:function(){return s},V9:function(){return m},VW:function(){return a},VZ:function(){return i},cO:function(){return p},fm:function(){return c},i2:function(){return v},kK:function(){return f},pt:function(){return d}});var r=Object.prototype.toString;function i(t){switch(r.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return m(t,Error)}}function o(t,e){return r.call(t)==="[object ".concat(e,"]")}function a(t){return o(t,"ErrorEvent")}function s(t){return o(t,"DOMError")}function c(t){return o(t,"DOMException")}function u(t){return o(t,"String")}function d(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function l(t){return o(t,"Object")}function p(t){return"undefined"!=typeof Event&&m(t,Event)}function f(t){return"undefined"!=typeof Element&&m(t,Element)}function _(t){return o(t,"RegExp")}function h(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function g(t){return l(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function v(t){return"number"==typeof t&&t!=t}function m(t,e){try{return t instanceof e}catch(t){return!1}}},1905:function(t,e,n){"use strict";n.d(e,{Cf:function(){return s},RU:function(){return a},kg:function(){return u}}),n(1);var r=n(1901),i=(0,r.R)(),o="Sentry Logger ",a=["debug","info","warn","error","log","assert","trace"];function s(t){var e=(0,r.R)();if(!("console"in e))return t();var n=e.console,i={};a.forEach((t=>{var r=n[t]&&n[t].__sentry_original__;t in e.console&&r&&(i[t]=n[t],n[t]=r)}));try{return t()}
1finally{Object.keys(i).forEach((t=>{n[t]=i[t]}))}}function c(){let t=!1;var e={enable:()=>{t=!0},disable:()=>{t=!1}};return"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?a.forEach((n=>{e[n]=function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];t&&s((()=>{i.console[n]("".concat(o,"[").concat(n,"]:"),...r)}))}})):a.forEach((t=>{e[t]=()=>{}})),e}let u;u="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?(0,r.Y)("logger",c):c()},1835:function(t,e,n){"use strict";n.d(e,{DM:function(){return c},Db:function(){return p},EG:function(){return f},YO:function(){return h},en:function(){return u},jH:function(){return l},rt:function(){return _}});var r=n(1840),i=(n(508),n(62),n(63),n(64),n(65),n(4),n(1),n(1901)),o=n(1898);function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function c(){var t=(0,i.R)(),e=t.crypto||t.msCrypto;if(void 0!==e&&e.getRandomValues){var n=new Uint16Array(8);e.getRandomValues(n),n[3]=4095&n[3]|16384,n[4]=16383&n[4]|32768;var r=t=>{let e=t.toString(16);for(;e.length<4;)e="0".concat(e);return e};return r(n[0])+r(n[1])+r(n[2])+r(n[3])+r(n[4])+r(n[5])+r(n[6])+r(n[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(t=>{var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))}function u(t){if(!t)return{};var e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};var n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],relative:e[5]+n+r}}function d(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function l(t){const{message:e,event_id:n}=t;if(e)return e;var r=d(t);return r?r.type&&r.value?"".concat(r.type,": ").concat(r.value):r.type||r.value||n||"<unknown>":n||"<unknown>"}function p(t,e,n){var r=t.exception=t.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=e||""),o.type||(o.type=n||"Error")}function f(t,e){var n=d(t);if(n){var r=n.mechanism;if(n.mechanism=s(s(s({},{type:"generic",handled:!0}),r),e),e&&"data"in e){var i=s(s({},r&&r.data),e.data);n.mechanism.data=i}}}function _(t){return t.split(/[\?#]/,1)[0]}function h(t){if(t&&t.__sentry_captured__)return!0;try{(0,o.xp)(t,"__sentry_captured__",!0)}catch(t){}return!1}},429:function(t,e,n){"use strict";n.d(e,{l$:function(){return o},KV:function(){return i},$y:function(){return a}}),t=n.hmd(t);var r=n(41);function i(){return!("undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call(void 0!==r?r:0)}function o(t,e){return t.require(e)}function a(e){let n;try{n=o(t,e)}catch(t){}try{const{cwd:r}=o(t,"process");n=o(t,"".concat(r(),"/node_modules/").concat(e))}catch(t){}return n}},1898:function(t,e,n){"use strict";n.d(e,{$Q:function(){return l},HK:function(){return p},Jr:function(){return m},Sh:function(){return _},_j:function(){return f},hl:function(){return u},xp:function(){return d},zf:function(){return v}});var r=n(1840),i=(n(1),n(1900)),o=n(1899),a=n(1902);function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function u(t,e,n){if(e in t){var r=t[e],i=n(r);if("function"==typeof i)try{l(i,r)}catch(t){}t[e]=i}}function d(t,e,n){Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}function l(t,e){var n=e.prototype||{};t.prototype=e.prototype=n,d(t,"__sentry_original__",e)}function p(t){return t.__sentry_original__}function f(t){return Object.keys(t).map((e=>"".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(t[e])))).join("&")}function _(t){if((0,o.VZ)(t))return c({message:t.message,name:t.name,stack:t.stack},g(t));if((0,o.cO)(t)){var e=c({type:t.type,target:h(t.target),currentTarget:h(t.currentTarget)},g(t));return"undefined"!=typeof CustomEvent&&(0,o.V9)(t,CustomEvent)&&(e.detail=t.detail),e}return t}function h(t){try{return(0,o.kK)(t)?(0,i.R)(t):Object.prototype.toString.call(t)}catch(t){return"<unknown>"}}function g(t){if("object"==typeof t&&null!==t){var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}return{}}function v(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:40;var n=Object.keys(_(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return(0,a.$G)(n[0],e);for(let t=n.length;t>0;t--){var r=n.slice(0,t).join(", ");
1if(!(r.length>e))return t===n.length?r:(0,a.$G)(r,e)}return""}function m(t){return y(t,new Map)}function y(t,e){if((0,o.PO)(t)){if(void 0!==(i=e.get(t)))return i;var n={};for(var r of(e.set(t,n),Object.keys(t)))void 0!==t[r]&&(n[r]=y(t[r],e));return n}var i;return Array.isArray(t)?void 0!==(i=e.get(t))?i:(n=[],e.set(t,n),t.forEach((t=>{n.push(y(t,e))})),n):t}},1907:function(t,e,n){"use strict";n.d(e,{$P:function(){return d},Sq:function(){return s},pE:function(){return a}});var r=n(1840);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){(0,r.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e.sort(((t,e)=>t[0]-e[0])).map((t=>t[1]));return function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;var n=[];for(var i of t.split("\n").slice(e))for(var o of r){var a=o(i);if(a){n.push(a);break}}return c(n)}}function s(t){return Array.isArray(t)?a(...t):t}function c(t){if(!t.length)return[];let e=t;var n=e[0].function||"",r=e[e.length-1].function||"";return-1===n.indexOf("captureMessage")&&-1===n.indexOf("captureException")||(e=e.slice(1)),-1!==r.indexOf("sentryWrapped")&&(e=e.slice(0,-1)),e.slice(0,50).map((t=>o(o({},t),{},{filename:t.filename||e[0].filename,function:t.function||"?"}))).reverse()}n(1);var u="<anonymous>";function d(t){try{return t&&"function"==typeof t&&t.name||u}catch(t){return u}}},1902:function(t,e,n){"use strict";n.d(e,{$G:function(){return i},nK:function(){return o},zC:function(){return a}}),n(4);var r=n(1899);function i(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"string"!=typeof t||0===e||t.length<=e?t:"".concat(t.substr(0,e),"...")}function o(t,e){if(!Array.isArray(t))return"";var n=[];for(let e=0;e<t.length;e++){var r=t[e];try{n.push(String(r))}catch(t){n.push("[value cannot be serialized]")}}return n.join(e)}function a(t,e){return!!(0,r.HD)(t)&&((0,r.Kj)(e)?e.test(t):"string"==typeof e&&-1!==t.indexOf(e))}}
1,1909:function(t,e,n){"use strict";n.d(e,{Ak:function(){return o},Bf:function(){return c},Du:function(){return a},t$:function(){return s}});var r=n(1901),i=n(1905);function o(){if(!("fetch"in(0,r.R)()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}function a(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function s(){if(!o())return!1;var t=(0,r.R)();if(a(t.fetch))return!0;let e=!1;var n=t.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&&(e=a(s.contentWindow.fetch)),n.head.removeChild(s)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return e}function c(){var t=(0,r.R)(),e=t.chrome,n=e&&e.app&&e.app.runtime,i="history"in t&&!!t.history.pushState&&!!t.history.replaceState;return!n&&i}},1904:function(t,e,n){"use strict";n.d(e,{$2:function(){return a},WD:function(){return o},cW:function(){return s}});var r,i=n(1899);function o(t){return new s((e=>{e(t)}))}function a(t){return new s(((e,n)=>{n(t)}))}!function(t){t[t.PENDING=0]="PENDING",t[t.RESOLVED=1]="RESOLVED",t[t.REJECTED=2]="REJECTED"}(r||(r={}));class s{__init(){this._state=r.PENDING}__init2(){this._handlers=[]}constructor(t){s.prototype.__init.call(this),s.prototype.__init2.call(this),s.prototype.__init3.call(this),s.prototype.__init4.call(this),s.prototype.__init5.call(this),s.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}then(t,e){return new s(((n,r)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(t){r(t)}else n(e)},t=>{if(e)try{n(e(t))}catch(t){r(t)}else r(t)}]),this._executeHandlers()}))}catch(t){return this.then((t=>t),t)}finally(t){return new s(((e,n)=>{let r,i;return this.then((e=>{i=!1,r=e,t&&t()}),(e=>{i=!0,r=e,t&&t()})).then((()=>{i?n(r):e(r)}))}))}__init3(){this._resolve=t=>{this._setResult(r.RESOLVED,t)}}__init4(){this._reject=t=>{this._setResult(r.REJECTED,t)}}__init5(){this._setResult=(t,e)=>{this._state===r.PENDING&&((0,i.J8)(e)?e.then(this._resolve,this._reject):(this._state=t,this._value=e,this._executeHandlers()))}}__init6(){this._executeHandlers=()=>{if(this._state!==r.PENDING){var t=this._handlers.slice();this._handlers=[],t.forEach((t=>{t[0]||(this._state===r.RESOLVED&&t[1](this._value),this._state===r.REJECTED&&t[2](this._value),t[0]=!0)}))}}}}},1834:function(t,e,n){"use strict";n.d(e,{Z1:function(){return p},_I:function(){return d},ph:function(){return u},yW:function(){return c}});var r=n(1901),i=n(429);t=n.hmd(t);var o={nowSeconds:()=>Date.now()/1e3},a=(0,i.KV)()?function(){try{return(0,i.l$)(t,"perf_hooks").performance}catch(t){return}}():function(){const{performance:t}=(0,r.R)();if(t&&t.now)return{now:()=>t.now(),timeOrigin:Date.now()-t.now()}}(),s=void 0===a?o:{nowSeconds:()=>(a.timeOrigin+a.now())/1e3},c=o.nowSeconds.bind(o),u=s.nowSeconds.bind(s),d=u;let l;var p=(()=>{const{performance:t}=(0,r.R)();if(t&&t.now){var e=36e5,n=t.now(),i=Date.now(),o=t.timeOrigin?Math.abs(t.timeOrigin+n-i):e,a=o<e,s=t.timing&&t.timing.navigationStart,c="number"==typeof s?Math.abs(s+n-i):e;return a||c<e?o<=c?(l="timeOrigin",t.timeOrigin):(l="navigationStart",s):(l="dateNow",i)}l="none"})()},621:function(t,e,n){n(4),t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=90)}({17:function(t,e,n){"use strict";
vendor: 5,074 bytes, line 1
1e.__esModule=!0,e.default=void 0;var r=n(18),i=function(){function t(){}return t.getFirstMatch=function(t,e){var n=e.match(t);return n&&n.length>0&&n[1]||""},t.getSecondMatch=function(t,e){var n=e.match(t);return n&&n.length>1&&n[2]||""},t.matchAndReturnConst=function(t,e,n){if(t.test(e))return n},t.getWindowsVersionName=function(t){switch(t){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},t.getMacOSVersionName=function(t){var e=t.split(".").splice(0,2).map((function(t){return parseInt(t,10)||0}));if(e.push(0),10===e[0])switch(e[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},t.getAndroidVersionName=function(t){var e=t.split(".").splice(0,2).map((function(t){return parseInt(t,10)||0}));if(e.push(0),!(1===e[0]&&e[1]<5))return 1===e[0]&&e[1]<6?"Cupcake":1===e[0]&&e[1]>=6?"Donut":2===e[0]&&e[1]<2?"Eclair":2===e[0]&&2===e[1]?"Froyo":2===e[0]&&e[1]>2?"Gingerbread":3===e[0]?"Honeycomb":4===e[0]&&e[1]<1?"Ice Cream Sandwich":4===e[0]&&e[1]<4?"Jelly Bean":4===e[0]&&e[1]>=4?"KitKat":5===e[0]?"Lollipop":6===e[0]?"Marshmallow":7===e[0]?"Nougat":8===e[0]?"Oreo":9===e[0]?"Pie":void 0},t.getVersionPrecision=function(t){return t.split(".").length},t.compareVersions=function(e,n,r){void 0===r&&(r=!1);var i=t.getVersionPrecision(e),o=t.getVersionPrecision(n),a=Math.max(i,o),s=0,c=t.map([e,n],(function(e){var n=a-t.getVersionPrecision(e),r=e+new Array(n+1).join(".0");return t.map(r.split("."),(function(t){return new Array(20-t.length).join("0")+t})).reverse()}));for(r&&(s=a-Math.min(i,o)),a-=1;a>=s;){if(c[0][a]>c[1][a])return 1;if(c[0][a]===c[1][a]){if(a===s)return 0;a-=1}else if(c[0][a]<c[1][a])return-1}},t.map=function(t,e){var n,r=[];if(Array.prototype.map)return Array.prototype.map.call(t,e);for(n=0;n<t.length;n+=1)r.push(e(t[n]));return r},t.find=function(t,e){var n,r;if(Array.prototype.find)return Array.prototype.find.call(t,e);for(n=0,r=t.length;n<r;n+=1){var i=t[n];if(e(i,n))return i}},t.assign=function(t){for(var e,n,r=t,i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];if(Object.assign)return Object.assign.apply(Object,[t].concat(o));var s=function(){var t=o[e];"object"==typeof t&&null!==t&&Object.keys(t).forEach((function(e){r[e]=t[e]}))};for(e=0,n=o.length;e<n;e+=1)s();return t},t.getBrowserAlias=function(t){return r.BROWSER_ALIASES_MAP[t]},t.getBrowserTypeByAlias=function(t){return r.BROWSER_MAP[t]||""},t}();e.default=i,t.exports=e.default},18:function(t,e,n){"use strict";e.__esModule=!0,e.ENGINE_MAP=e.OS_MAP=e.PLATFORMS_MAP=e.BROWSER_MAP=e.BROWSER_ALIASES_MAP=void 0,e.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},e.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},e.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},e.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},e.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(t,e,n){"use strict";
vendor: 4,926 bytes, line 1
1e.__esModule=!0,e.default=void 0;var r,i=(r=n(91))&&r.__esModule?r:{default:r},o=n(18);function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var s=function(){function t(){}var e,n;return t.getParser=function(t,e){if(void 0===e&&(e=!1),"string"!=typeof t)throw new Error("UserAgent should be a string");return new i.default(t,e)},t.parse=function(t){return new i.default(t).getResult()},e=t,n=[{key:"BROWSER_MAP",get:function(){return o.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return o.ENGINE_MAP}},{key:"OS_MAP",get:function(){return o.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return o.PLATFORMS_MAP}}],null&&a(e.prototype,null),n&&a(e,n),t}();e.default=s,t.exports=e.default},91:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=c(n(92)),i=c(n(93)),o=c(n(94)),a=c(n(95)),s=c(n(17));function c(t){return t&&t.__esModule?t:{default:t}}var u=function(){function t(t,e){if(void 0===e&&(e=!1),null==t||""===t)throw new Error("UserAgent parameter can't be empty");this._ua=t,this.parsedResult={},!0!==e&&this.parse()}var e=t.prototype;return e.getUA=function(){return this._ua},e.test=function(t){return t.test(this._ua)},e.parseBrowser=function(){var t=this;this.parsedResult.browser={};var e=s.default.find(r.default,(function(e){if("function"==typeof e.test)return e.test(t);if(e.test instanceof Array)return e.test.some((function(e){return t.test(e)}));throw new Error("Browser's test function is not valid")}));return e&&(this.parsedResult.browser=e.describe(this.getUA())),this.parsedResult.browser},e.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},e.getBrowserName=function(t){return t?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},e.getBrowserVersion=function(){return this.getBrowser().version},e.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},e.parseOS=function(){var t=this;this.parsedResult.os={};var e=s.default.find(i.default,(function(e){if("function"==typeof e.test)return e.test(t);if(e.test instanceof Array)return e.test.some((function(e){return t.test(e)}));throw new Error("Browser's test function is not valid")}));return e&&(this.parsedResult.os=e.describe(this.getUA())),this.parsedResult.os},e.getOSName=function(t){var e=this.getOS().name;return t?String(e).toLowerCase()||"":e||""},e.getOSVersion=function(){return this.getOS().version},e.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},e.getPlatformType=function(t){void 0===t&&(t=!1);var e=this.getPlatform().type;return t?String(e).toLowerCase()||"":e||""},e.parsePlatform=function(){var t=this;this.parsedResult.platform={};var e=s.default.find(o.default,(function(e){if("function"==typeof e.test)return e.test(t);if(e.test instanceof Array)return e.test.some((function(e){return t.test(e)}));throw new Error("Browser's test function is not valid")}));return e&&(this.parsedResult.platform=e.describe(this.getUA())),this.parsedResult.platform},e.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},e.getEngineName=function(t){return t?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},e.parseEngine=function(){var t=this;this.parsedResult.engine={};var e=s.default.find(a.default,(function(e){if("function"==typeof e.test)return e.test(t);if(e.test instanceof Array)return e.test.some((function(e){return t.test(e)}));throw new Error("Browser's test function is not valid")}));return e&&(this.parsedResult.engine=e.describe(this.getUA())),this.parsedResult.engine},e.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},e.getResult=function(){return s.default.assign({},this.parsedResult)},e.satisfies=function(t){var e=this,n={},r=0,i={},o=0;if(Object.keys(t).forEach((function(e){var a=t[e];"string"==typeof a?(i[e]=a,o+=1):"object"==typeof a&&(n[e]=a,r+=1)})),r>0){var a=Object.keys(n),c=s.default.find(a,(function(t){return e.isOS(t)}));if(c){var u=this.satisfies(n[c]);if(void 0!==u)return u}var d=s.default.find(a,(function(t){return e.isPlatform(t)}));if(d){var l=this.satisfies(n[d]);if(void 0!==l)return l}}if(o>0){var p=Object.keys(i),f=s.default.find(p,(function(t){return e.isBrowser(t,!0)}));if(void 0!==f)return this.compareVersion(i[f])}},e.isBrowser=function(t,e){void 0===e&&(e=!1);var n=this.getBrowserName().toLowerCase(),r=t.toLowerCase(),i=s.default.getBrowserTypeByAlias(r);return e&&i&&(r=i.toLowerCase()),r===n},e.compareVersion=function(t){var e=[0],n=t,r=!1,i=this.getBrowserVersion();if("string"==typeof i)return">"===t[0]||"<"===t[0]?(n=t.substr(1),"="===t[1]?(r=!0,n=t.substr(2)):e=[],">"===t[0]?e.push(1):e.push(-1)):"="===t[0]?n=t.substr(1):"~"===t[0]&&(r=!0,n=t.substr(1)),e.
vendor: 8,407 bytes, line 1
1indexOf(s.default.compareVersions(i,n,r))>-1},e.isOS=function(t){return this.getOSName(!0)===String(t).toLowerCase()},e.isPlatform=function(t){return this.getPlatformType(!0)===String(t).toLowerCase()},e.isEngine=function(t){return this.getEngineName(!0)===String(t).toLowerCase()},e.is=function(t,e){return void 0===e&&(e=!1),this.isBrowser(t,e)||this.isOS(t)||this.isPlatform(t)},e.some=function(t){var e=this;return void 0===t&&(t=[]),t.some((function(t){return e.is(t)}))},t}();e.default=u,t.exports=e.default},92:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=/version\/(\d+(\.?_?\d+)+)/i,a=[{test:[/googlebot/i],describe:function(t){var e={name:"Googlebot"},n=i.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/opera/i],describe:function(t){var e={name:"Opera"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/opr\/|opios/i],describe:function(t){var e={name:"Opera"},n=i.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/SamsungBrowser/i],describe:function(t){var e={name:"Samsung Internet for Android"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/Whale/i],describe:function(t){var e={name:"NAVER Whale Browser"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/MZBrowser/i],describe:function(t){var e={name:"MZ Browser"},n=i.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/focus/i],describe:function(t){var e={name:"Focus"},n=i.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/swing/i],describe:function(t){var e={name:"Swing"},n=i.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/coast/i],describe:function(t){var e={name:"Opera Coast"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(t){var e={name:"Opera Touch"},n=i.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/yabrowser/i],describe:function(t){var e={name:"Yandex Browser"},n=i.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/ucbrowser/i],describe:function(t){var e={name:"UC Browser"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/Maxthon|mxios/i],describe:function(t){var e={name:"Maxthon"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/epiphany/i],describe:function(t){var e={name:"Epiphany"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/puffin/i],describe:function(t){var e={name:"Puffin"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/sleipnir/i],describe:function(t){var e={name:"Sleipnir"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/k-meleon/i],describe:function(t){var e={name:"K-Meleon"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/micromessenger/i],describe:function(t){var e={name:"WeChat"},n=i.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/qqbrowser/i],describe:function(t){var e={name:/qqbrowserlite/i.test(t)?"QQ Browser Lite":"QQ Browser"},n=i.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/msie|trident/i],describe:function(t){var e={name:"Internet Explorer"},n=i.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/\sedg\//i],describe:function(t){var e={name:"Microsoft Edge"},n=i.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/edg([ea]|ios)/i],describe:function(t){var e={name:"Microsoft Edge"},n=i.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/vivaldi/i],describe:function(t){var e={name:"Vivaldi"},n=i.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/seamonkey/i],describe:function(t){var e={name:"SeaMonkey"},n=i.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/sailfish/i],describe:function(t){var e={name:"Sailfish"},n=i.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,t);return n&&(e.version=n),e}},{test:[/silk/i],describe:function(t){var e={name:"Amazon Silk"},n=i.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/phantom/i],describe:function(t){var e={name:"PhantomJS"},n=i.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/slimerjs/i],describe:function(t){var e={name:"SlimerJS"},n=i.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(t){var e={name:"BlackBerry"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/(web|hpw)[o0]s/i],describe:function(t){var e={name:"WebOS Browser"},n=i.default.getFirstMatch(o,t)||i.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/bada/i],describe:function(t){var e={name:"Bada"},n=i.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/tizen/i],describe:function(t){var e={name:"Tizen"},n=i.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/qupzilla/i],describe:function(t){var e={name:"QupZilla"},n=i.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/firefox|iceweasel|fxios/i],describe:function(t){var e={name:"Firefox"},n=i.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/electron/i],describe:function(t){var e={name:"Electron"},n=i.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/MiuiBrowser/i],describe:function(t){var e={name:"Miui"},n=i.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/chromium/i],describe:function(t){var e={name:"Chromium"},n=i.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,t)||i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/chrome|crios|crmo/i],describe:function(t){var e={name:"Chrome"},n=i.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/GSA/i],describe:function(t){var e={name:"Google Search"},n=i.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:function(t){var e=!t.test(/like android/i),n=t.test(/android/i);return e&&n},describe:function(t){var e={name:"Android Browser"},n=i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/playstation 4/i],describe:function(t){var e={name:"PlayStation 4"},n=i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/safari|applewebkit/i],describe:function(t){var e={name:"Safari"},n=i.default.getFirstMatch(o,t);return n&&(e.version=n),e}},{test:[/.*/i],describe:function(t){var e=-1!==t.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:i.default.getFirstMatch(e,t),version:i.default.getSecondMatch(e,t)}}}];e.default=a,t.exports=e.default},93:function(t,e,n){"use strict";
vendor: 4,302 bytes, line 1
1e.__esModule=!0,e.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),a=[{test:[/Roku\/DVP/],describe:function(t){var e=i.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,t);return{name:o.OS_MAP.Roku,version:e}}},{test:[/windows phone/i],describe:function(t){var e=i.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,t);return{name:o.OS_MAP.WindowsPhone,version:e}}},{test:[/windows /i],describe:function(t){var e=i.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,t),n=i.default.getWindowsVersionName(e);return{name:o.OS_MAP.Windows,version:e,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(t){var e={name:o.OS_MAP.iOS},n=i.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,t);return n&&(e.version=n),e}},{test:[/macintosh/i],describe:function(t){var e=i.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,t).replace(/[_\s]/g,"."),n=i.default.getMacOSVersionName(e),r={name:o.OS_MAP.MacOS,version:e};return n&&(r.versionName=n),r}},{test:[/(ipod|iphone|ipad)/i],describe:function(t){var e=i.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,t).replace(/[_\s]/g,".");return{name:o.OS_MAP.iOS,version:e}}},{test:function(t){var e=!t.test(/like android/i),n=t.test(/android/i);return e&&n},describe:function(t){var e=i.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,t),n=i.default.getAndroidVersionName(e),r={name:o.OS_MAP.Android,version:e};return n&&(r.versionName=n),r}},{test:[/(web|hpw)[o0]s/i],describe:function(t){var e=i.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,t),n={name:o.OS_MAP.WebOS};return e&&e.length&&(n.version=e),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(t){var e=i.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,t)||i.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,t)||i.default.getFirstMatch(/\bbb(\d+)/i,t);return{name:o.OS_MAP.BlackBerry,version:e}}},{test:[/bada/i],describe:function(t){var e=i.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,t);return{name:o.OS_MAP.Bada,version:e}}},{test:[/tizen/i],describe:function(t){var e=i.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,t);return{name:o.OS_MAP.Tizen,version:e}}},{test:[/linux/i],describe:function(){return{name:o.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:o.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(t){var e=i.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,t);return{name:o.OS_MAP.PlayStation4,version:e}}}];e.default=a,t.exports=e.default},94:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),a=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(t){var e=i.default.getFirstMatch(/(can-l01)/i,t)&&"Nova",n={type:o.PLATFORMS_MAP.mobile,vendor:"Huawei"};return e&&(n.model=e),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(t){var e=t.test(/ipod|iphone/i),n=t.test(/like (ipod|iphone)/i);return e&&!n},describe:function(t){var e=i.default.getFirstMatch(/(ipod|iphone)/i,t);return{type:o.PLATFORMS_MAP.mobile,vendor:"Apple",model:e}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(t){return"blackberry"===t.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(t){return"bada"===t.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(t){return"windows phone"===t.getBrowserName()},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}}
vendor: 2,260 bytes, lines 1-2
1,{test:function(t){var e=Number(String(t.getOSVersion()).split(".")[0]);return"android"===t.getOSName(!0)&&e>=3},describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(t){return"android"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(t){return"macos"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(t){return"windows"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(t){return"linux"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(t){return"playstation 4"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}},{test:function(t){return"roku"===t.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}}];e.default=a,t.exports=e.default},95:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),a=[{test:function(t){return"microsoft edge"===t.getBrowserName(!0)},describe:function(t){if(/\sedg\//i.test(t))return{name:o.ENGINE_MAP.Blink};var e=i.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,t);return{name:o.ENGINE_MAP.EdgeHTML,version:e}}},{test:[/trident/i],describe:function(t){var e={name:o.ENGINE_MAP.Trident},n=i.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:function(t){return t.test(/presto/i)},describe:function(t){var e={name:o.ENGINE_MAP.Presto},n=i.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:function(t){var e=t.test(/gecko/i),n=t.test(/like gecko/i);return e&&!n},describe:function(t){var e={name:o.ENGINE_MAP.Gecko},n=i.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:o.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(t){var e={name:o.ENGINE_MAP.WebKit},n=i.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,t);return n&&(e.version=n),e}}];e.default=a,t.exports=e.default}})},1009:function(t,e,n){"use strict";n.r(e),e.default=function(){throw"This error is intentional."}}}]);
2//# sourceMappingURL=error-a3e3a95be763eb35775d.chunk.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.