PageSourceSearch

https://gitlocalize.com/packs/js/sentry-64843c3fcc510e418732.js

js gitlocalize.com collected 2026-10-02 05:48:42 UTC 78,303 bytes, 3 lines download raw bytes

1/*! For license information please see sentry-64843c3fcc510e418732.js.LICENSE.txt */
2!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}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="/packs/",n(n.s=824)}({106:function(t,e,n){"use strict";(function(t){n.d(e,"a",function(){return o});var r=n(226),i={};function o(){return Object(r.b)()?t:"undefined"!==typeof window?window:"undefined"!==typeof self?self:i}}).call(this,n(45))},145:function(t,e,n){"use strict";(function(t){n.d(e,"d",function(){return u}),n.d(e,"a",function(){return p}),n.d(e,"f",function(){return f}),n.d(e,"e",function(){return d}),n.d(e,"i",function(){return l}),n.d(e,"h",function(){return _}),n.d(e,"g",function(){return g}),n.d(e,"c",function(){return m}),n.d(e,"b",function(){return O});var r=n(4),i=n(312),o=n(58),s=n(513),a=n(258),c=n(194);function u(t,e,n){if(e in t){var r=t[e],i=n(r);if("function"===typeof i)try{f(i,r)}catch(o){}t[e]=i}}function p(t,e,n){Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}function f(t,e){var n=e.prototype||{};t.prototype=e.prototype=n,p(t,"__sentry_original__",e)}function d(t){return t.__sentry_original__}function l(t){return Object.keys(t).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])}).join("&")}function h(t){if(Object(o.d)(t)){var e=t,n={message:e.message,name:e.name,stack:e.stack};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}if(Object(o.f)(t)){var s=t,a={};a.type=s.type;try{a.target=Object(o.c)(s.target)?Object(i.b)(s.target):Object.prototype.toString.call(s.target)}catch(u){a.target="<unknown>"}try{a.currentTarget=Object(o.c)(s.currentTarget)?Object(i.b)(s.currentTarget):Object.prototype.toString.call(s.currentTarget)}catch(u){a.currentTarget="<unknown>"}for(var c in"undefined"!==typeof CustomEvent&&Object(o.g)(t,CustomEvent)&&(a.detail=s.detail),s)Object.prototype.hasOwnProperty.call(s,c)&&(a[c]=s[c]);return a}return t}function v(t){return function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(t))}function _(t,e,n){void 0===e&&(e=3),void 0===n&&(n=102400);var r=g(t,e);return v(r)>n?_(t,e-1,n):r}function y(e,n){return"domain"===n&&e&&"object"===typeof e&&e._events?"[Domain]":"domainEmitter"===n?"[DomainEmitter]":"undefined"!==typeof t&&e===t?"[Global]":"undefined"!==typeof window&&e===window?"[Window]":"undefined"!==typeof document&&e===document?"[Document]":Object(o.l)(e)?"[SyntheticEvent]":"number"===typeof e&&e!==e?"[NaN]":void 0===e?"[undefined]":"function"===typeof e?"[Function: "+Object(a.b)(e)+"]":"symbol"===typeof e?"["+String(e)+"]":"bigint"===typeof e?"[BigInt: "+String(e)+"]":e}function b(t,e,n,i){void 0===n&&(n=1/0),void 0===i&&(i=Object(s.a)());var a=Object(r.c)(i,2),c=a[0],u=a[1];if(0===n)return function(t){if("string"===typeof t)return t;var e=Object.prototype.toString.call(t);if("[object Object]"===e)return"[Object]";if("[object Array]"===e)return"[Array]";var n=y(t);return Object(o.i)(n)?n:e}(e);if(null!==e&&void 0!==e&&"function"===typeof e.toJSON)return e.toJSON();var p=y(e,t);if(Object(o.i)(p))return p;var f=h(e),d=Array.isArray(e)?[]:{};if(c(e))return"[Circular ~]";for(var l in f)if(Object.prototype.hasOwnProperty.call(f,l)){var v=f[l];d[l]=b(l,v,n-1,i)}return u(e),d}function g(t,e){try{return b("",t,e)}catch(n){return"**non-serializable**"}}function m(t,e){void 0===e&&(e=40);var n=Object.keys(h(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return Object(c.d)(n[0],e);for(var r=n.length;r>0;r--){var i=n.slice(0,r).join(", ");
2if(!(i.length>e))return r===n.length?i:Object(c.d)(i,e)}return""}function O(t){var e,n;if(Object(o.h)(t)){var i=t,s={};try{for(var a=Object(r.e)(Object.keys(i)),c=a.next();!c.done;c=a.next()){var u=c.value;"undefined"!==typeof i[u]&&(s[u]=O(i[u]))}}catch(p){e={error:p}}finally{try{c&&!c.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}return s}return Array.isArray(t)?t.map(O):t}}).call(this,n(45))},181:function(t,e,n){"use strict";function r(){return"undefined"!==typeof __SENTRY_NO_DEBUG__&&!__SENTRY_BROWSER_BUNDLE__}function i(){return"undefined"!==typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}n.d(e,"b",function(){return r}),n.d(e,"a",function(){return i})},194:function(t,e,n){"use strict";n.d(e,"d",function(){return i}),n.d(e,"c",function(){return o}),n.d(e,"b",function(){return s}),n.d(e,"a",function(){return a});var r=n(58);function i(t,e){return void 0===e&&(e=0),"string"!==typeof t||0===e||t.length<=e?t:t.substr(0,e)+"..."}function o(t,e){var n=t,r=n.length;if(r<=150)return n;e>r&&(e=r);var i=Math.max(e-60,0);i<5&&(i=0);var o=Math.min(i+140,r);return o>r-5&&(o=r),o===r&&(i=Math.max(o-140,0)),n=n.slice(i,o),i>0&&(n="'{snip} "+n),o<r&&(n+=" {snip}"),n}function s(t,e){if(!Array.isArray(t))return"";for(var n=[],r=0;r<t.length;r++){var i=t[r];try{n.push(String(i))}catch(o){n.push("[value cannot be serialized]")}}return n.join(e)}function a(t,e){return!!Object(r.k)(t)&&(Object(r.j)(e)?e.test(t):"string"===typeof e&&-1!==t.indexOf(e))}},226:function(t,e,n){"use strict";(function(t,r){n.d(e,"b",function(){return o}),n.d(e,"a",function(){return s});var i=n(181);function o(){return!Object(i.a)()&&"[object process]"===Object.prototype.toString.call("undefined"!==typeof t?t:0)}function s(t,e){return t.require(e)}}).call(this,n(99),n(500)(t))},258:function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return a});var r=n(4),i=50;function o(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t.sort(function(t,e){return t[0]-e[0]}).map(function(t){return t[1]});return function(t,e){var o,s,a,c;void 0===e&&(e=0);var u=[];try{for(var p=Object(r.e)(t.split("\n").slice(e)),f=p.next();!f.done;f=p.next()){var d=f.value;try{for(var l=(a=void 0,Object(r.e)(n)),h=l.next();!h.done;h=l.next()){var v=(0,h.value)(d);if(v){u.push(v);break}}}catch(_){a={error:_}}finally{try{h&&!h.done&&(c=l.return)&&c.call(l)}finally{if(a)throw a.error}}}}catch(y){o={error:y}}finally{try{f&&!f.done&&(s=p.return)&&s.call(p)}finally{if(o)throw o.error}}return function(t){if(!t.length)return[];var e=t,n=e[0].function||"",o=e[e.length-1].function||"";-1===n.indexOf("captureMessage")&&-1===n.indexOf("captureException")||(e=e.slice(1));-1!==o.indexOf("sentryWrapped")&&(e=e.slice(0,-1));return e.slice(0,i).map(function(t){return Object(r.a)(Object(r.a)({},t),{filename:t.filename||e[0].filename,function:t.function||"?"})}).reverse()}(u)}}var s="<anonymous>";function a(t){try{return t&&"function"===typeof t&&t.name||s}catch(e){return s}}},312:function(t,e,n){"use strict";n.d(e,"b",function(){return o}),n.d(e,"a",function(){return a});var r=n(106),i=n(58);function o(t,e){try{for(var n=t,r=[],i=0,o=0,a=void 0;n&&i++<5&&!("html"===(a=s(n,e))||i>1&&o+3*r.length+a.length>=80);)r.push(a),o+=a.length,n=n.parentNode;return r.reverse().join(" > ")}catch(c){return"<unknown>"}}function s(t,e){var n,r,o,s,a,c=t,u=[];if(!c||!c.tagName)return"";u.push(c.tagName.toLowerCase());var p=e&&e.length?e.filter(function(t){return c.getAttribute(t)}).map(function(t){return[t,c.getAttribute(t)]}):null;if(p&&p.length)p.forEach(function(t){u.push("["+t[0]+'="'+t[1]+'"]')});else if(c.id&&u.push("#"+c.id),(n=c.className)&&Object(i.k)(n))for(r=n.split(/\s+/),a=0;a<r.length;a++)u.push("."+r[a]);var f=["type","name","title","alt"];for(a=0;a<f.length;a++)o=f[a],(s=c.getAttribute(o))&&u.push("["+o+'="'+s+'"]');return u.join("")}function a(){var t=Object(r.a)();try{return t.document.location.href}catch(e){return""}}},4:function(t,e,n){"use strict";n.d(e,"b",function(){return i}),n.d(e,"a",function(){return o}),n.d(e,"e",function(){return s}),n.d(e,"c",function(){return a}),n.d(e,"d",function(){return c});var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},r(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},o.apply(this,arguments)};function s(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function c(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(a(arguments[e]));return t}},45:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},500:function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},513:function(t,e,n){"use strict";function r(){var t="function"===typeof WeakSet,e=t?new WeakSet:[];return[function(n){if(t)return!!e.has(n)||(e.add(n),!1);for(var r=0;r<e.length;r++){if(e[r]===n)return!0}return e.push(n),!1},function(n){if(t)e.delete(n);else for(var r=0;r<e.length;r++)if(e[r]===n){e.splice(r,1);break}}]}n.d(e,"a",function(){return r})},514:function(t,e,n){"use strict";(function(t){n.d(e,"a",function(){return c}),n.d(e,"b",function(){return u});var r=n(106),i=n(226),o={nowSeconds:function(){return Date.now()/1e3}};var s=Object(i.b)()?function(){try{return Object(i.a)(t,"perf_hooks").performance}catch(e){return}}():function(){var t=Object(r.a)().performance;if(t&&t.now)return{now:function(){return t.now()},timeOrigin:Date.now()-t.now()}}(),a=void 0===s?o:{nowSeconds:function(){return(s.timeOrigin+s.now())/1e3}},c=o.nowSeconds.bind(o),u=a.nowSeconds.bind(a);!function(){var t=Object(r.a)().performance;if(t&&t.now){var e=36e5,n=t.now(),i=Date.now(),o=t.timeOrigin?Math.abs(t.timeOrigin+n-i):e,s=o<e,a=t.timing&&t.timing.navigationStart,c="number"===typeof a?Math.abs(a+n-i):e;return s||c<e?o<=c?t.timeOrigin:a:i}0}()}).call(this,n(500)(t))},58:function(t,e,n){"use strict";n.d(e,"d",function(){return i}),n.d(e,"e",function(){return s}),n.d(e,"a",function(){return a}),n.d(e,"b",function(){return c}),n.d(e,"k",function(){return u}),n.d(e,"i",function(){return p}),n.d(e,"h",function(){return f}),n.d(e,"f",function(){return d}),n.d(e,"c",function(){return l}),n.d(e,"j",function(){return h}),n.d(e,"m",function(){return v}),n.d(e,"l",function(){return _}),n.d(e,"g",function(){return y});var r=Object.prototype.toString;function i(t){switch(r.call(t)){case"[object Error]":case"[object E
2xception]":case"[object DOMException]":return!0;default:return y(t,Error)}}function o(t,e){return r.call(t)==="[object "+e+"]"}function s(t){return o(t,"ErrorEvent")}function a(t){return o(t,"DOMError")}function c(t){return o(t,"DOMException")}function u(t){return o(t,"String")}function p(t){return null===t||"object"!==typeof t&&"function"!==typeof t}function f(t){return o(t,"Object")}function d(t){return"undefined"!==typeof Event&&y(t,Event)}function l(t){return"undefined"!==typeof Element&&y(t,Element)}function h(t){return o(t,"RegExp")}function v(t){return Boolean(t&&t.then&&"function"===typeof t.then)}function _(t){return f(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function y(t,e){try{return t instanceof e}catch(n){return!1}}},824:function(t,e,n){"use strict";n.r(e);var r={};n.r(r),n.d(r,"FunctionToString",function(){return a}),n.d(r,"InboundFilters",function(){return F});var i,o=n(4),s=n(145),a=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){i=Function.prototype.toString,Function.prototype.toString=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Object(s.e)(this)||this;return i.apply(n,t)}},t.id="FunctionToString",t}(),c=n(58),u=n(514);function p(t){return new d(function(e){e(t)})}
2function f(t){return new d(function(e,n){n(t)})}var d=function(){function t(t){var e=this;this._state=0,this._handlers=[],this._resolve=function(t){e._setResult(1,t)},this._reject=function(t){e._setResult(2,t)},this._setResult=function(t,n){0===e._state&&(Object(c.m)(n)?n.then(e._resolve,e._reject):(e._state=t,e._value=n,e._executeHandlers()))},this._executeHandlers=function(){if(0!==e._state){var t=e._handlers.slice();e._handlers=[],t.forEach(function(t){t[0]||(1===e._state&&t[1](e._value),2===e._state&&t[2](e._value),t[0]=!0)})}};try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}return t.prototype.then=function(e,n){var r=this;return new t(function(t,i){r._handlers.push([!1,function(n){if(e)try{t(e(n))}catch(r){i(r)}else t(n)},function(e){if(n)try{t(n(e))}catch(r){i(r)}else i(e)}]),r._executeHandlers()})},t.prototype.catch=function(t){return this.then(function(t){return t},t)},t.prototype.finally=function(e){var n=this;return new t(function(t,r){var i,o;return n.then(function(t){o=!1,i=t,e&&e()},function(t){o=!0,i=t,e&&e()}).then(function(){o?r(i):t(i)})})},t}(),l=n(106),h=function(){function t(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}return t.clone=function(e){var n=new t;return e&&(n._breadcrumbs=Object(o.d)(e._breadcrumbs),n._tags=Object(o.a)({},e._tags),n._extra=Object(o.a)({},e._extra),n._contexts=Object(o.a)({},e._contexts),n._user=e._user,n._level=e._level,n._span=e._span,n._session=e._session,n._transactionName=e._transactionName,n._fingerprint=e._fingerprint,n._eventProcessors=Object(o.d)(e._eventProcessors),n._requestSession=e._requestSession),n},t.prototype.addScopeListener=function(t){this._scopeListeners.push(t)},t.prototype.addEventProcessor=function(t){return this._eventProcessors.push(t),this},t.prototype.setUser=function(t){return this._user=t||{},this._session&&this._session.update({user:t}),this._notifyScopeListeners(),this},t.prototype.getUser=function(){return this._user},t.prototype.getRequestSession=function(){return this._requestSession},t.prototype.setRequestSession=function(t){return this._requestSession=t,this},t.prototype.setTags=function(t){return this._tags=Object(o.a)(Object(o.a)({},this._tags),t),this._notifyScopeListeners(),this},t.prototype.setTag=function(t,e){var n;return this._tags=Object(o.a)(Object(o.a)({},this._tags),((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setExtras=function(t){return this._extra=Object(o.a)(Object(o.a)({},this._extra),t),this._notifyScopeListeners(),this},t.prototype.setExtra=function(t,e){var n;return this._extra=Object(o.a)(Object(o.a)({},this._extra),((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setFingerprint=function(t){return this._fingerprint=t,this._notifyScopeListeners(),this},t.prototype.setLevel=function(t){return this._level=t,this._notifyScopeListeners(),this},t.prototype.setTransactionName=function(t){return this._transactionName=t,this._notifyScopeListeners(),this},t.prototype.setTransaction=function(t){return this.setTransactionName(t)},t.prototype.setContext=function(t,e){var n;return null===e?delete this._contexts[t]:this._contexts=Object(o.a)(Object(o.a)({},this._contexts),((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setSpan=function(t){return this._span=t,this._notifyScopeListeners(),this},t.prototype.getSpan=function(){return this._span},t.prototype.getTransaction=function(){var t=this.getSpan();return t&&t.transaction},t.prototype.setSession=function(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this},t.prototype.getSession=function(){return this._session},t.prototype.update=function(e){if(!e)return this;if("function"===typeof e){var n=e(this);return n instanceof t?n:this}return e instanceof t?(this._tags=Object(o.a)(Object(o.a)({},this._tags),e._tags),this._extra=Object(o.a)(Object(o.a)({},this._extra),e._extra),this._contexts=Object(o.a)(Object(o.a)({},this._contexts),e._contexts),e._user&&Object.keys(e._user).length&&(this._user=e._user),e._level&&(this._level=e._level),e._fingerprint&&(this._fingerprint=e._fingerprint),e._requestSession&&(this._requestSession=e._requestSession)):Object(c.h)(e)&&(this._tags=Object(o.a)(Object(o.a)({},this._tags),e.tags),this._extra=Object(o.a)(Object(o.a)({},this._extra),e.extra),this._contexts=Object(o.a)(Object(o.a)({},this._contexts),e.contexts),e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession)),this},t.prototype.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this},t.prototype.addBreadcrumb=function(t,e){var n="number"===typeof e?Math.min(e,100):100;if(n<=0)return this;var r=Object(o.a)({timestamp:Object(u.a)()},t);return this._breadcrumbs=Object(o.d)(this._breadcrumbs,[r]).slice(-n),this._notifyScopeListeners(),this},t.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},t.prototype.applyToEvent=function(t,e){if(this._extra&&Object.keys(this._extra).length&&(t.extra=Object(o.a)(Object(o.a)({},this._extra),t.extra)),this._tags&&Object.keys(this._tags).length&&(t.tags=Object(o.a)(Object(o.a)({},this._tags),t.tags)),this._user&&Object.keys(this._user).length&&(t.user=Object(o.a)(Object(o.a)({},this._user),t.user)),this._contexts&&Object.keys(this._contexts).length&&(t.contexts=Object(o.a)(Object(o.a)({},this._contexts),t.contexts)),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts=Object(o.a)({trace:this._span.getTraceContext()},t.contexts);var n=this._span.transaction&&this._span.transaction.name;n&&(t.tags=Object(o.a)({transaction:n},t.tags))}return this._applyFingerprint(t),t.breadcrumbs=Object(o.d)(t.breadcrumbs||[],this._breadcrumbs),t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata=this._sdkProcessingMetadata,this._notifyEventProcessors(Object(o.d)(v(),this._eventProcessors),t,e)}
2,t.prototype.setSDKProcessingMetadata=function(t){return this._sdkProcessingMetadata=Object(o.a)(Object(o.a)({},this._sdkProcessingMetadata),t),this},t.prototype._notifyEventProcessors=function(t,e,n,r){var i=this;return void 0===r&&(r=0),new d(function(s,a){var u=t[r];if(null===e||"function"!==typeof u)s(e);else{var p=u(Object(o.a)({},e),n);Object(c.m)(p)?p.then(function(e){return i._notifyEventProcessors(t,e,n,r+1).then(s)}).then(null,a):i._notifyEventProcessors(t,p,n,r+1).then(s).then(null,a)}})},t.prototype._notifyScopeListeners=function(){var t=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(function(e){e(t)}),this._notifyingListeners=!1)},t.prototype._applyFingerprint=function(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint},t}();function v(){var t=Object(l.a)();return t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.globalEventProcessors=t.__SENTRY__.globalEventProcessors||[],t.__SENTRY__.globalEventProcessors}function _(t){v().push(t)}var y=n(194);function b(){var t=Object(l.a)(),e=t.crypto||t.msCrypto;if(void 0!==e&&e.getRandomValues){var n=new Uint16Array(8);e.getRandomValues(n),n[3]=4095&n[3]|16384,n[4]=16383&n[4]|32768;var r=function(t){for(var e=t.toString(16);e.length<4;)e="0"+e;return e};return r(n[0])+r(n[1])+r(n[2])+r(n[3])+r(n[4])+r(n[5])+r(n[6])+r(n[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)})}function g(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 m(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function O(t){var e=t.message,n=t.event_id;if(e)return e;var r=m(t);return r?r.type&&r.value?r.type+": "+r.value:r.type||r.value||n||"<unknown>":n||"<unknown>"}function j(t,e,n){var r=t.exception=t.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=e||""),o.type||(o.type=n||"Error")}function E(t,e){var n=m(t);if(n){var r=n.mechanism;if(n.mechanism=Object(o.a)(Object(o.a)(Object(o.a)({},{type:"generic",handled:!0}),r),e),e&&"data"in e){var i=Object(o.a)(Object(o.a)({},r&&r.data),e.data);n.mechanism.data=i}}}function x(t){if(t&&t.__sentry_captured__)return!0;try{Object(s.a)(t,"__sentry_captured__",!0)}catch(e){}return!1}var w=Object(l.a)(),S="Sentry Logger ";function k(t){var e=Object(l.a)();if(!("console"in e))return t();var n=e.console,r={};["debug","info","warn","error","log","assert"].forEach(function(t){t in e.console&&n[t].__sentry_original__&&(r[t]=n[t],n[t]=n[t].__sentry_original__)});var i=t();return Object.keys(r).forEach(function(t){n[t]=r[t]}),i}var T=function(){function t(){this._enabled=!1}return t.prototype.disable=function(){this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},t.prototype.log=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&k(function(){var e;(e=w.console).log.apply(e,Object(o.d)([S+"[Log]:"],t))})},t.prototype.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&k(function(){var e;(e=w.console).warn.apply(e,Object(o.d)([S+"[Warn]:"],t))})},t.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&k(function(){var e;(e=w.console).error.apply(e,Object(o.d)([S+"[Error]:"],t))})},t}();w.__SENTRY__=w.__SENTRY__||{};var R=w.__SENTRY__.logger||(w.__SENTRY__.logger=new T),N=n(226),L=function(){function t(t){this.errors=0,this.sid=b(),this.duration=0,this.status="ok",this.init=!0,this.ignoreDuration=!1;var e=Object(u.b)();this.timestamp=e,this.started=e,t&&this.update(t)}return t.prototype.update=function(t){if(void 0===t&&(t={}),t.user&&(!this.ipAddress&&t.user.ip_address&&(this.ipAddress=t.user.ip_address),this.did||t.did||(this.did=t.user.id||t.user.email||t.user.username)),this.timestamp=t.timestamp||Object(u.b)(),t.ignoreDuration&&(this.ignoreDuration=t.ignoreDuration),t.sid&&(this.sid=32===t.sid.length?t.sid:b()),void 0!==t.init&&(this.init=t.init),!this.did&&t.did&&(this.did=""+t.did),"number"===typeof t.started&&(this.started=t.started),this.ignoreDuration)this.duration=void 0;else if("number"===typeof t.duration)this.duration=t.duration;else{var e=this.timestamp-this.started;this.duration=e>=0?e:0}t.release&&(this.release=t.release),t.environment&&(this.environment=t.environment),!this.ipAddress&&t.ipAddress&&(this.ipAddress=t.ipAddress),!this.userAgent&&t.userAgent&&(this.userAgent=t.userAgent),"number"===typeof t.errors&&(this.errors=t.errors),t.status&&(this.status=t.status)},t.prototype.close=function(t){t?this.update({status:t}):"ok"===this.status?this.update({status:"exited"}):this.update()},t.prototype.toJSON=function(){return Object(s.b)({sid:""+this.sid,init:this.init,started:new Date(1e3*this.started).toISOString(),timestamp:new Date(1e3*this.timestamp).toISOString(),status:this.status,errors:this.errors,did:"number"===typeof this.did||"string"===typeof this.did?""+this.did:void 0,duration:this.duration,attrs:{release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent}})},t}(),D=function(){function t(t,e,n){void 0===e&&(e=new h),void 0===n&&(n=4),this._version=n,this._stack=[{}
2],this.getStackTop().scope=e,t&&this.bindClient(t)}return t.prototype.isOlderThan=function(t){return this._version<t},t.prototype.bindClient=function(t){this.getStackTop().client=t,t&&t.setupIntegrations&&t.setupIntegrations()},t.prototype.pushScope=function(){var t=h.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t},t.prototype.popScope=function(){return!(this.getStack().length<=1)&&!!this.getStack().pop()},t.prototype.withScope=function(t){var e=this.pushScope();try{t(e)}finally{this.popScope()}},t.prototype.getClient=function(){return this.getStackTop().client},t.prototype.getScope=function(){return this.getStackTop().scope},t.prototype.getStack=function(){return this._stack},t.prototype.getStackTop=function(){return this._stack[this._stack.length-1]},t.prototype.captureException=function(t,e){var n=this._lastEventId=e&&e.event_id?e.event_id:b(),r=e;if(!e){var i=void 0;try{throw new Error("Sentry syntheticException")}catch(t){i=t}r={originalException:t,syntheticException:i}}return this._invokeClient("captureException",t,Object(o.a)(Object(o.a)({},r),{event_id:n})),n},t.prototype.captureMessage=function(t,e,n){var r=this._lastEventId=n&&n.event_id?n.event_id:b(),i=n;if(!n){var s=void 0;try{throw new Error(t)}catch(a){s=a}i={originalException:t,syntheticException:s}}return this._invokeClient("captureMessage",t,e,Object(o.a)(Object(o.a)({},i),{event_id:r})),r},t.prototype.captureEvent=function(t,e){var n=e&&e.event_id?e.event_id:b();return"transaction"!==t.type&&(this._lastEventId=n),this._invokeClient("captureEvent",t,Object(o.a)(Object(o.a)({},e),{event_id:n})),n},t.prototype.lastEventId=function(){return this._lastEventId},t.prototype.addBreadcrumb=function(t,e){var n=this.getStackTop(),r=n.scope,i=n.client;if(r&&i){var s=i.getOptions&&i.getOptions()||{},a=s.beforeBreadcrumb,c=void 0===a?null:a,p=s.maxBreadcrumbs,f=void 0===p?100:p;if(!(f<=0)){var d=Object(u.a)(),l=Object(o.a)({timestamp:d},t),h=c?k(function(){return c(l,e)}):l;null!==h&&r.addBreadcrumb(h,f)}}},t.prototype.setUser=function(t){var e=this.getScope();e&&e.setUser(t)},t.prototype.setTags=function(t){var e=this.getScope();e&&e.setTags(t)},t.prototype.setExtras=function(t){var e=this.getScope();e&&e.setExtras(t)},t.prototype.setTag=function(t,e){var n=this.getScope();n&&n.setTag(t,e)},t.prototype.setExtra=function(t,e){var n=this.getScope();n&&n.setExtra(t,e)},t.prototype.setContext=function(t,e){var n=this.getScope();n&&n.setContext(t,e)},t.prototype.configureScope=function(t){var e=this.getStackTop(),n=e.scope,r=e.client;n&&r&&t(n)},t.prototype.run=function(t){var e=P(this);try{t(this)}finally{P(e)}},t.prototype.getIntegration=function(t){var e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(n){return R.warn("Cannot retrieve integration "+t.id+" from the current Hub"),null}},t.prototype.startSpan=function(t){return this._callExtensionMethod("startSpan",t)},t.prototype.startTransaction=function(t,e){return this._callExtensionMethod("startTransaction",t,e)},t.prototype.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},t.prototype.captureSession=function(t){if(void 0===t&&(t=!1),t)return this.endSession();this._sendSessionUpdate()},t.prototype.endSession=function(){var t=this.getStackTop(),e=t&&t.scope,n=e&&e.getSession();n&&n.close(),this._sendSessionUpdate(),e&&e.setSession()},t.prototype.startSession=function(t){var e=this.getStackTop(),n=e.scope,r=e.client,i=r&&r.getOptions()||{},s=i.release,a=i.environment,c=(Object(l.a)().navigator||{}).userAgent,u=new L(Object(o.a)(Object(o.a)(Object(o.a)({release:s,environment:a},n&&{user:n.getUser()}),c&&{userAgent:c}),t));if(n){var p=n.getSession&&n.getSession();p&&"ok"===p.status&&p.update({status:"exited"}),this.endSession(),n.setSession(u)}return u},t.prototype._sendSessionUpdate=function(){var t=this.getStackTop(),e=t.scope,n=t.client;if(e){var r=e.getSession&&e.getSession();r&&n&&n.captureSession&&n.captureSession(r)}},t.prototype._invokeClient=function(t){for(var e,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i=this.getStackTop(),s=i.scope,a=i.client;a&&a[t]&&(e=a)[t].apply(e,Object(o.d)(n,[s]))},t.prototype._callExtensionMethod=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=I().__SENTRY__;if(r&&r.extensions&&"function"===typeof r.extensions[t])return r.extensions[t].apply(this,e);
2R.warn("Extension method "+t+" couldn't be found, doing nothing.")},t}();function I(){var t=Object(l.a)();return t.__SENTRY__=t.__SENTRY__||{extensions:{},hub:void 0},t}function P(t){var e=I(),n=M(e);return A(e,t),n}function U(){var t=I();return C(t)&&!M(t).isOlderThan(4)||A(t,new D),Object(N.b)()?function(t){try{var e=I().__SENTRY__,n=e&&e.extensions&&e.extensions.domain&&e.extensions.domain.active;if(!n)return M(t);if(!C(n)||M(n).isOlderThan(4)){var r=M(t).getStackTop();A(n,new D(r.client,h.clone(r.scope)))}return M(n)}catch(i){return M(t)}}(t):M(t)}function C(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function M(t){return t&&t.__SENTRY__&&t.__SENTRY__.hub||(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=new D),t.__SENTRY__.hub}function A(t,e){return!!t&&(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=e,!0)}var q=n(181),B=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],F=function(){function t(e){void 0===e&&(e={}),this._options=e,this.name=t.id}return t.prototype.setupOnce=function(){_(function(e){var n=U();if(!n)return e;var r=n.getIntegration(t);if(r){var i=n.getClient(),o=i?i.getOptions():{},s="function"===typeof r._mergeOptions?r._mergeOptions(o):{};return"function"!==typeof r._shouldDropEvent?e:r._shouldDropEvent(e,s)?null:e}return e})},t.prototype._shouldDropEvent=function(t,e){return this._isSentryError(t,e)?(Object(q.b)()&&R.warn("Event dropped due to being internal Sentry Error.\nEvent: "+O(t)),!0):this._isIgnoredError(t,e)?(Object(q.b)()&&R.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+O(t)),!0):this._isDeniedUrl(t,e)?(Object(q.b)()&&R.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: "+O(t)+".\nUrl: "+this._getEventFilterUrl(t)),!0):!this._isAllowedUrl(t,e)&&(Object(q.b)()&&R.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: "+O(t)+".\nUrl: "+this._getEventFilterUrl(t)),!0)},t.prototype._isSentryError=function(t,e){if(!e.ignoreInternal)return!1;try{return"SentryError"===t.exception.values[0].type}catch(n){}return!1},t.prototype._isIgnoredError=function(t,e){return!(!e.ignoreErrors||!e.ignoreErrors.length)&&this._getPossibleEventMessages(t).some(function(t){return e.ignoreErrors.some(function(e){return Object(y.a)(t,e)})})},t.prototype._isDeniedUrl=function(t,e){if(!e.denyUrls||!e.denyUrls.length)return!1;var n=this._getEventFilterUrl(t);return!!n&&e.denyUrls.some(function(t){return Object(y.a)(n,t)})},t.prototype._isAllowedUrl=function(t,e){if(!e.allowUrls||!e.allowUrls.length)return!0;var n=this._getEventFilterUrl(t);return!n||e.allowUrls.some(function(t){return Object(y.a)(n,t)})},t.prototype._mergeOptions=function(t){return void 0===t&&(t={}),{allowUrls:Object(o.d)(this._options.whitelistUrls||[],this._options.allowUrls||[],t.whitelistUrls||[],t.allowUrls||[]),denyUrls:Object(o.d)(this._options.blacklistUrls||[],this._options.denyUrls||[],t.blacklistUrls||[],t.denyUrls||[]),ignoreErrors:Object(o.d)(this._options.ignoreErrors||[],t.ignoreErrors||[],B),ignoreInternal:"undefined"===typeof this._options.ignoreInternal||this._options.ignoreInternal}},t.prototype._getPossibleEventMessages=function(t){if(t.message)return[t.message];if(t.exception)try{var e=t.exception.values&&t.exception.values[0]||{},n=e.type,r=void 0===n?"":n,i=e.value,o=void 0===i?"":i;return[""+o,r+": "+o]}catch(s){return Object(q.b)()&&R.error("Cannot extract message for event "+O(t)),[]}return[]},t.prototype._getLastValidUrl=function(t){void 0===t&&(t=[]);for(var e=t.length-1;e>=0;e--){var n=t[e];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null},t.prototype._getEventFilterUrl=function(t){try{if(t.stacktrace)return this._getLastValidUrl(t.stacktrace.frames);var e;try{e=t.exception.values[0].stacktrace.frames}catch(n){}return e?this._getLastValidUrl(e):null}catch(r){return Object(q.b)()&&R.error("Cannot extract url for event "+O(t)),null}},t.id="InboundFilters",t}();var Y=n(258);function H(){if(!("fetch"in Object(l.a)()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}function W(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}function z(){if(!H())return!1;
2try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(t){return!1}}var J,K=Object(l.a)(),X={},$={};function V(t){if(!$[t])switch($[t]=!0,t){case"console":!function(){if(!("console"in K))return;["debug","info","warn","error","log","assert"].forEach(function(t){t in K.console&&Object(s.d)(K.console,t,function(e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];Q("console",{args:n,level:t}),e&&e.apply(K.console,n)}})})}();break;case"dom":!function(){if(!("document"in K))return;var t=Q.bind(null,"dom"),e=it(t,!0);K.document.addEventListener("click",e,!1),K.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach(function(e){var n=K[e]&&K[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Object(s.d)(n,"addEventListener",function(e){return function(n,r,i){if("click"===n||"keypress"==n)try{var o=this,s=o.__sentry_instrumentation_handlers__=o.__sentry_instrumentation_handlers__||{},a=s[n]=s[n]||{refCount:0};if(!a.handler){var c=it(t);a.handler=c,e.call(this,n,c,i)}a.refCount+=1}catch(u){}return e.call(this,n,r,i)}}),Object(s.d)(n,"removeEventListener",function(t){return function(e,n,r){if("click"===e||"keypress"==e)try{var i=this,o=i.__sentry_instrumentation_handlers__||{},s=o[e];s&&(s.refCount-=1,s.refCount<=0&&(t.call(this,e,s.handler,r),s.handler=void 0,delete o[e]),0===Object.keys(o).length&&delete i.__sentry_instrumentation_handlers__)}catch(a){}return t.call(this,e,n,r)}}))})}();break;case"xhr":!function(){if(!("XMLHttpRequest"in K))return;var t=XMLHttpRequest.prototype;Object(s.d)(t,"open",function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=this,i=e[1],o=r.__sentry_xhr__={method:Object(c.k)(e[0])?e[0].toUpperCase():e[0],url:e[1]};Object(c.k)(i)&&"POST"===o.method&&i.match(/sentry_key/)&&(r.__sentry_own_request__=!0);var a=function(){if(4===r.readyState){try{o.status_code=r.status}catch(t){}Q("xhr",{args:e,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:r})}};return"onreadystatechange"in r&&"function"===typeof r.onreadystatechange?Object(s.d)(r,"onreadystatechange",function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return a(),t.apply(r,e)}}):r.addEventListener("readystatechange",a),t.apply(r,e)}}),Object(s.d)(t,"send",function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return this.__sentry_xhr__&&void 0!==e[0]&&(this.__sentry_xhr__.body=e[0]),Q("xhr",{args:e,startTimestamp:Date.now(),xhr:this}),t.apply(this,e)}})}();break;case"fetch":!function(){if(!function(){if(!H())return!1;var t=Object(l.a)();if(W(t.fetch))return!0;var e=!1,n=t.document;if(n&&"function"===typeof n.createElement)try{var r=n.createElement("iframe");r.hidden=!0,n.head.appendChild(r),r.contentWindow&&r.contentWindow.fetch&&(e=W(r.contentWindow.fetch)),n.head.removeChild(r)}catch(i){Object(q.b)()&&R.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",i)}return e}())return;Object(s.d)(K,"fetch",function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r={args:e,fetchData:{method:Z(e),url:tt(e)},startTimestamp:Date.now()};return Q("fetch",Object(o.a)({},r)),t.apply(K,e).then(function(t){return Q("fetch",Object(o.a)(Object(o.a)({},r),{endTimestamp:Date.now(),response:t})),t},function(t){throw Q("fetch",Object(o.a)(Object(o.a)({},r),{endTimestamp:Date.now(),error:t})),t})}})}();break;case"history":!function(){if(t=Object(l.a)(),e=t.chrome,n=e&&e.app&&e.app.runtime,r="history"in t&&!!t.history.pushState&&!!t.history.replaceState,n||!r)return;var t,e,n,r;var i=K.onpopstate;function o(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=e.length>2?e[2]:void 0;if(r){var i=J,o=String(r);J=o,Q("history",{from:i,to:o})}return t.apply(this,e)}}K.onpopstate=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=K.location.href,r=J;if(J=n,Q("history",{from:r,to:n}),i)try{return i.apply(this,t)}catch(o){}},Object(s.d)(K.history,"pushState",o),Object(s.d)(K.history,"replaceState",o)}();break;case"error":ot=K.onerror,K.onerror=function(t,e,n,r,i){return Q("error",{column:r,error:i,line:n,msg:t,url:e}),!!ot&&ot.apply(this,arguments)};break;case"unhandledrejection":st=K.onunhandledrejection,K.onunhandledrejection=function(t){return Q("unhandledrejection",t),!st||st.apply(this,arguments)};break;default:R.warn("unknown instrumentation type:",t)}}function G(t,e){X[t]=X[t]||[],X[t].push(e),V(t)}function Q(t,e){var n,r;if(t&&X[t])try{for(var i=Object(o.e)(X[t]||[]),s=i.next();!s.done;s=i.next()){var a=s.value;try{a(e)}catch(c){Object(q.b)()&&R.error("Error while triggering instrumentation handler.\nType: "+t+"\nName: "+Object(Y.b)(a)+"\nError:",c)}}}catch(u){n={error:u}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}function Z(t){return void 0===t&&(t=[]),"Request"in K&&Object(c.g)(t[0],Request)&&t[0].method?String(t[0].method).toUpperCase():t[1]&&t[1].method?String(t[1].method).toUpperCase():"GET"}function tt(t){return void 0===t&&(t=[]),"string"===typeof t[0]?t[0]:"Request"in K&&Object(c.g)(t[0],Request)?t[0].url:String(t[0])}var et,nt,rt=1e3;function it(t,e){return void 0===e&&(e=!1),function(n){if(n&&nt!==n&&!function(t){if("keypress"!==t.type)return!1;try{var e=t.target;if(!e||!e.tagName)return!0;
2if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable)return!1}catch(n){}return!0}(n)){var r="keypress"===n.type?"input":n.type;(void 0===et||function(t,e){if(!t)return!0;if(t.type!==e.type)return!0;try{if(t.target!==e.target)return!0}catch(n){}return!1}(nt,n))&&(t({event:n,name:r,global:e}),nt=n),clearTimeout(et),et=K.setTimeout(function(){et=void 0},rt)}}}var ot=null;var st=null;var at="6.18.2",ct=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){return t.__proto__=e,t}:function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(t,n)||(t[n]=e[n]);return t});var ut=function(t){function e(e){var n=this.constructor,r=t.call(this,e)||this;return r.message=e,r.name=n.prototype.constructor.name,ct(r,n.prototype),r}return Object(o.b)(e,t),e}(Error),pt=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function ft(t,e){void 0===e&&(e=!1);var n=t.host,r=t.path,i=t.pass,o=t.port,s=t.projectId;return t.protocol+"://"+t.publicKey+(e&&i?":"+i:"")+"@"+n+(o?":"+o:"")+"/"+(r?r+"/":r)+s}function dt(t){return"user"in t&&!("publicKey"in t)&&(t.publicKey=t.user),{user:t.publicKey||"",protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function lt(t){var e="string"===typeof t?function(t){var e=pt.exec(t);if(!e)throw new ut("Invalid Sentry Dsn: "+t);var n=Object(o.c)(e.slice(1),6),r=n[0],i=n[1],s=n[2],a=void 0===s?"":s,c=n[3],u=n[4],p=void 0===u?"":u,f="",d=n[5],l=d.split("/");if(l.length>1&&(f=l.slice(0,-1).join("/"),d=l.pop()),d){var h=d.match(/^\d+/);h&&(d=h[0])}return dt({host:c,pass:a,path:f,projectId:d,port:p,protocol:r,publicKey:i})}(t):dt(t);return function(t){if(Object(q.b)()){var e=t.port,n=t.projectId,r=t.protocol;if(["protocol","publicKey","host","projectId"].forEach(function(e){if(!t[e])throw new ut("Invalid Sentry Dsn: "+e+" missing")}),!n.match(/^\d+$/))throw new ut("Invalid Sentry Dsn: Invalid projectId "+n);if(!function(t){return"http"===t||"https"===t}(r))throw new ut("Invalid Sentry Dsn: Invalid protocol "+r);if(e&&isNaN(parseInt(e,10)))throw new ut("Invalid Sentry Dsn: Invalid port "+e)}}(e),e}var ht=[];function vt(t){return t.reduce(function(t,e){return t.every(function(t){return e.name!==t.name})&&t.push(e),t},[])}function _t(t){var e={};return function(t){var e=t.defaultIntegrations&&Object(o.d)(t.defaultIntegrations)||[],n=t.integrations,r=Object(o.d)(vt(e));Array.isArray(n)?r=Object(o.d)(r.filter(function(t){return n.every(function(e){return e.name!==t.name})}),vt(n)):"function"===typeof n&&(r=n(r),r=Array.isArray(r)?r:[r]);var i=r.map(function(t){return t.name}),s="Debug";return-1!==i.indexOf(s)&&r.push.apply(r,Object(o.d)(r.splice(i.indexOf(s),1))),r}(t).forEach(function(t){e[t.name]=t,function(t){-1===ht.indexOf(t.name)&&(t.setupOnce(_,U),ht.push(t.name),R.log("Integration installed: "+t.name))}(t)}),Object(s.a)(e,"initialized",!0),e}var yt="Not capturing exception because it's already been captured.",bt=function(){function t(t,e){this._integrations={},this._numProcessing=0,this._backend=new t(e),this._options=e,e.dsn&&(this._dsn=lt(e.dsn))}return t.prototype.captureException=function(t,e,n){var r=this;if(!x(t)){var i=e&&e.event_id;return this._process(this._getBackend().eventFromException(t,e).then(function(t){return r._captureEvent(t,e,n)}).then(function(t){i=t})),i}R.log(yt)},t.prototype.captureMessage=function(t,e,n,r){var i=this,o=n&&n.event_id,s=Object(c.i)(t)?this._getBackend().eventFromMessage(String(t),e,n):this._getBackend().eventFromException(t,n);return this._process(s.then(function(t){return i._captureEvent(t,n,r)}).then(function(t){o=t})),o},t.prototype.captureEvent=function(t,e,n){if(!(e&&e.originalException&&x(e.originalException))){var r=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then(function(t){r=t})),r}R.log(yt)},t.prototype.captureSession=function(t){this._isEnabled()?"string"!==typeof t.release?Object(q.b)()&&R.warn("Discarded session because of missing or non-string release"):(this._sendSession(t),t.update({init:!1})):Object(q.b)()&&R.warn("SDK not enabled, will not capture session.")},t.prototype.getDsn=function(){return this._dsn},t.prototype.getOptions=function(){return this._options},t.prototype.getTransport=function(){return this._getBackend().getTransport()},t.prototype.flush=function(t){var e=this;
2return this._isClientDoneProcessing(t).then(function(n){return e.getTransport().close(t).then(function(t){return n&&t})})},t.prototype.close=function(t){var e=this;return this.flush(t).then(function(t){return e.getOptions().enabled=!1,t})},t.prototype.setupIntegrations=function(){this._isEnabled()&&!this._integrations.initialized&&(this._integrations=_t(this._options))},t.prototype.getIntegration=function(t){try{return this._integrations[t.id]||null}catch(e){return R.warn("Cannot retrieve integration "+t.id+" from the current Client"),null}},t.prototype._updateSessionFromEvent=function(t,e){var n,r,i=!1,s=!1,a=e.exception&&e.exception.values;if(a){s=!0;try{for(var c=Object(o.e)(a),u=c.next();!u.done;u=c.next()){var p=u.value.mechanism;if(p&&!1===p.handled){i=!0;break}}}catch(d){n={error:d}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}}var f="ok"===t.status;(f&&0===t.errors||f&&i)&&(t.update(Object(o.a)(Object(o.a)({},i&&{status:"crashed"}),{errors:t.errors||Number(s||i)})),this.captureSession(t))},t.prototype._sendSession=function(t){this._getBackend().sendSession(t)},t.prototype._isClientDoneProcessing=function(t){var e=this;return new d(function(n){var r=0,i=setInterval(function(){0==e._numProcessing?(clearInterval(i),n(!0)):(r+=1,t&&r>=t&&(clearInterval(i),n(!1)))},1)})},t.prototype._getBackend=function(){return this._backend},t.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},t.prototype._prepareEvent=function(t,e,n){var r=this,i=this.getOptions().normalizeDepth,a=void 0===i?3:i,c=Object(o.a)(Object(o.a)({},t),{event_id:t.event_id||(n&&n.event_id?n.event_id:b()),timestamp:t.timestamp||Object(u.a)()});this._applyClientOptions(c),this._applyIntegrationsMetadata(c);var f=e;n&&n.captureContext&&(f=h.clone(f).update(n.captureContext));var d=p(c);return f&&(d=f.applyToEvent(c,n)),d.then(function(t){return t&&(t.sdkProcessingMetadata=Object(o.a)(Object(o.a)({},t.sdkProcessingMetadata),{normalizeDepth:Object(s.g)(a)})),"number"===typeof a&&a>0?r._normalizeEvent(t,a):t})},t.prototype._normalizeEvent=function(t,e){if(!t)return null;var n=Object(o.a)(Object(o.a)(Object(o.a)(Object(o.a)(Object(o.a)({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(function(t){return Object(o.a)(Object(o.a)({},t),t.data&&{data:Object(s.g)(t.data,e)})})}),t.user&&{user:Object(s.g)(t.user,e)}),t.contexts&&{contexts:Object(s.g)(t.contexts,e)}),t.extra&&{extra:Object(s.g)(t.extra,e)});return t.contexts&&t.contexts.trace&&(n.contexts.trace=t.contexts.trace),t.sdkProcessingMetadata=Object(o.a)(Object(o.a)({},t.sdkProcessingMetadata),{baseClientNormalized:!0}),n},t.prototype._applyClientOptions=function(t){var e=this.getOptions(),n=e.environment,r=e.release,i=e.dist,o=e.maxValueLength,s=void 0===o?250:o;"environment"in t||(t.environment="environment"in e?n:"production"),void 0===t.release&&void 0!==r&&(t.release=r),void 0===t.dist&&void 0!==i&&(t.dist=i),t.message&&(t.message=Object(y.d)(t.message,s));var a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=Object(y.d)(a.value,s));var c=t.request;c&&c.url&&(c.url=Object(y.d)(c.url,s))},t.prototype._applyIntegrationsMetadata=function(t){var e=Object.keys(this._integrations);e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=Object(o.d)(t.sdk.integrations||[],e))},t.prototype._sendEvent=function(t){this._getBackend().sendEvent(t)},t.prototype._captureEvent=function(t,e,n){return this._processEvent(t,e,n).then(function(t){return t.event_id},function(t){R.error(t)})},t.prototype._processEvent=function(t,e,n){var r=this,i=this.getOptions(),o=i.beforeSend,s=i.sampleRate,a=this.getTransport();function u(t,e){a.recordLostEvent&&a.recordLostEvent(t,e)}if(!this._isEnabled())return f(new ut("SDK not enabled, will not capture event."));var p="transaction"===t.type;return!p&&"number"===typeof s&&Math.random()>s?(u("sample_rate","event"),f(new ut("Discarding event because it's not included in the random sample (sampling rate = "+s+")"))):this._prepareEvent(t,n,e).then(function(n){if(null===n)throw u("event_processor",t.type||"event"),new ut("An event processor returned null, will not send event.");return e&&e.data&&!0===e.data.__sentry__||p||!o?n:function(t){var e="`beforeSend` method has to return `null` or a valid event.";if(Object(c.m)(t))return t.then(function(t){if(!Object(c.h)(t)&&null!==t)throw new ut(e);return t},function(t){throw new ut("beforeSend rejected with "+t)});if(!Object(c.h)(t)&&null!==t)throw new ut(e);return t}(o(n,e))}).then(function(e){if(null===e)throw u("before_send",t.type||"event"),new ut("`beforeSend` returned `null`, will not send event.");var i=n&&n.getSession&&n.getSession();return!p&&i&&r._updateSessionFromEvent(i,e),r._sendEvent(e),e}).then(null,function(t){if(t instanceof ut)throw t;throw r.captureException(t,{data:{__sentry__:!0},originalException:t}),new ut("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+t)})},t.prototype._process=function(t){var e=this;this._numProcessing+=1,t.then(function(t){return e._numProcessing-=1,t},function(t){return e._numProcessing-=1,t})},t}();var gt,mt=function(){function t(){}return t.prototype.sendEvent=function(t){return p({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:"skipped"})},t.prototype.close=function(t){return p(!0)},t}(),Ot=function(){function t(t){this._options=t,this._options.dsn||R.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return t.prototype.eventFromException=function(t,e){throw new ut("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(t,e,n){throw new ut("Backend has to implement `eventFromMessage` method")},t.prototype.sendEvent=function(t){this._transport.sendEvent(t).then(null,function(t){Object(q.b)()&&R.error("Error while sending event:",t)})},t.prototype.sendSession=function(t){this._transport.sendSession?this._transport.sendSession(t).then(null,function(t){Object(q.b)()&&R.error("Error while sending session:",t)}):Object(q.b)()&&R.warn("Dropping session because custom transport doesn't implement sendSession")},t.prototype.getTransport=function(){return this._transport},t.prototype._setupTransport=function(){return new mt},t}();!function(t){t.Fatal="fatal",t.Error="error",t.Warning="warning",t.Log="log",t.Info="info",t.Debug="debug",t.Critical="critical"}(gt||(gt={}));var jt="?";function Et(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 xt=/^\s*at (?:(.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,wt=/\((\S*)(?::(\d+))(?::(\d+))\)/,St=[30,function(t){var e=xt.exec(t);if(e){if(e[2]&&0===e[2].indexOf("eval")){var n=wt.exec(e[2]);n&&(e[2]=n[1],e[3]=n[2],e[4]=n[3])}
2var r=Object(o.c)(Ct(e[1]||jt,e[2]),2),i=r[0];return Et(r[1],i,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}}],kt=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Tt=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Rt=[50,function(t){var e,n=kt.exec(t);if(n){if(n[3]&&n[3].indexOf(" > eval")>-1){var r=Tt.exec(n[3]);r&&(n[1]=n[1]||"eval",n[3]=r[1],n[4]=r[2],n[5]="")}var i=n[3],s=n[1]||jt;return s=(e=Object(o.c)(Ct(s,i),2))[0],Et(i=e[1],s,n[4]?+n[4]:void 0,n[5]?+n[5]:void 0)}}],Nt=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Lt=[40,function(t){var e=Nt.exec(t);return e?Et(e[2],e[1]||jt,+e[3],e[4]?+e[4]:void 0):void 0}],Dt=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,It=[10,function(t){var e=Dt.exec(t);return e?Et(e[2],e[3]||jt,+e[1]):void 0}],Pt=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,Ut=[20,function(t){var e=Pt.exec(t);return e?Et(e[5],e[3]||e[4]||jt,+e[1],+e[2]):void 0}],Ct=function(t,e){var n=-1!==t.indexOf("safari-extension"),r=-1!==t.indexOf("safari-web-extension");return n||r?[-1!==t.indexOf("@")?t.split("@")[0]:jt,n?"safari-extension:"+e:"safari-web-extension:"+e]:[t,e]};function Mt(t){var e=qt(t),n={type:t&&t.name,value:Ft(t)};return e.length&&(n.stacktrace={frames:e}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function At(t){return{exception:{values:[Mt(t)]}}}function qt(t){var e=t.stacktrace||t.stack||"",n=function(t){if(t){if("number"===typeof t.framesToPop)return t.framesToPop;if(Bt.test(t.message))return 1}return 0}(t);try{return Object(Y.a)(It,Ut,St,Lt,Rt)(e,n)}catch(r){}return[]}var Bt=/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 Yt(t,e,n,r){var i;if(Object(c.e)(t)&&t.error)return At(t.error);if(Object(c.a)(t)||Object(c.b)(t)){var a=t;if("stack"in t)i=At(t);else{var u=a.name||(Object(c.a)(a)?"DOMError":"DOMException"),p=a.message?u+": "+a.message:u;j(i=Ht(p,e,n),p)}return"code"in a&&(i.tags=Object(o.a)(Object(o.a)({},i.tags),{"DOMException.code":""+a.code})),i}return Object(c.d)(t)?At(t):Object(c.h)(t)||Object(c.f)(t)?(i=function(t,e,n){var r={exception:{values:[{type:Object(c.f)(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:"Non-Error "+(n?"promise rejection":"exception")+" captured with keys: "+Object(s.c)(t)}]},extra:{__serialized__:Object(s.h)(t)}};if(e){var i=qt(e);i.length&&(r.stacktrace={frames:i})}return r}(t,e,r),E(i,{synthetic:!0}),i):(j(i=Ht(t,e,n),""+t,void 0),E(i,{synthetic:!0}),i)}function Ht(t,e,n){var r={message:t};if(n&&e){var i=qt(e);i.length&&(r.stacktrace={frames:i})}return r}!function(){function t(t,e,n){void 0===e&&(e={}),this.dsn=t,this._dsnObject=lt(t),this.metadata=e,this._tunnel=n}t.prototype.getDsn=function(){return this._dsnObject},t.prototype.forceEnvelope=function(){return!!this._tunnel},t.prototype.getBaseApiEndpoint=function(){return Wt(this._dsnObject)},t.prototype.getStoreEndpoint=function(){return Kt(this._dsnObject)},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return Xt(this._dsnObject)},t.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return $t(this._dsnObject,this._tunnel)}}();function Wt(t){var e=t.protocol?t.protocol+":":"",n=t.port?":"+t.port:"";return e+"//"+t.host+n+(t.path?"/"+t.path:"")+"/api/"}function zt(t,e){return""+Wt(t)+t.projectId+"/"+e+"/"}function Jt(t){return Object(s.i)({sentry_key:t.publicKey,sentry_version:"7"})}function Kt(t){return zt(t,"store")}function Xt(t){return Kt(t)+"?"+Jt(t)}function $t(t,e){return e||function(t){return zt(t,"envelope")}(t)+"?"+Jt(t)}function Vt(t,e){return void 0===e&&(e=[]),[t,e]}function Gt(t){var e=Object(o.c)(t,2),n=e[0],r=e[1],i=JSON.stringify(n);return r.reduce(function(t,e){var n=Object(o.c)(e,2),r=n[0],i=n[1],s=Object(c.i)(i)?String(i):JSON.stringify(i);return t+"\n"+JSON.stringify(r)+"\n"+s},i)}function Qt(t){if(t.metadata&&t.metadata.sdk){var e=t.metadata.sdk;return{name:e.name,version:e.version}}}
2function Zt(t,e){var n,r=Qt(e),i=t.type||"event",a="transaction"===i||!!e.tunnel,c=(t.sdkProcessingMetadata||{}).transactionSampling||{},u=c.method,p=c.rate;!function(t,e){e&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=Object(o.d)(t.sdk.integrations||[],e.integrations||[]),t.sdk.packages=Object(o.d)(t.sdk.packages||[],e.packages||[]))}(t,e.metadata.sdk),t.tags=t.tags||{},t.extra=t.extra||{},t.sdkProcessingMetadata&&t.sdkProcessingMetadata.baseClientNormalized||(t.tags.skippedNormalization=!0,t.extra.normalizeDepth=t.sdkProcessingMetadata?t.sdkProcessingMetadata.normalizeDepth:"unset"),delete t.sdkProcessingMetadata;try{n=JSON.stringify(t)}catch(h){t.tags.JSONStringifyError=!0,t.extra.JSONStringifyError=h;try{n=JSON.stringify(Object(s.g)(t))}catch(v){var f=v;n=JSON.stringify({message:"JSON.stringify error after renormalization",extra:{message:f.message,stack:f.stack}})}}var d={body:n,type:i,url:a?$t(e.dsn,e.tunnel):Xt(e.dsn)};if(a){var l=Vt(Object(o.a)(Object(o.a)({event_id:t.event_id,sent_at:(new Date).toISOString()},r&&{sdk:r}),!!e.tunnel&&{dsn:ft(e.dsn)}),[[{type:i,sample_rates:[{id:u,rate:p}]},d.body]]);d.body=Gt(l)}return d}function te(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 f(new ut("Not adding Promise due to buffer limit reached."));var i=r();return-1===e.indexOf(i)&&e.push(i),i.then(function(){return n(i)}).then(null,function(){return n(i).then(null,function(){})}),i},drain:function(t){return new d(function(n,r){var i=e.length;if(!i)return n(!0);var o=setTimeout(function(){t&&t>0&&n(!1)},t);e.forEach(function(t){p(t).then(function(){--i||(clearTimeout(o),n(!0))},r)})})}}}function ee(t,e){void 0===e&&(e=Date.now());var n=parseInt(""+t,10);if(!isNaN(n))return 1e3*n;var r=Date.parse(""+t);return isNaN(r)?6e4:r-e}var ne,re=Object(l.a)();function ie(){if(ne)return ne;if(W(re.fetch))return ne=re.fetch.bind(re);var t=re.document,e=re.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(i){Object(q.b)()&&R.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",i)}return ne=e.bind(re)}function oe(t,e){if("[object Navigator]"===Object.prototype.toString.call(re&&re.navigator)&&"function"===typeof re.navigator.sendBeacon)return re.navigator.sendBeacon.bind(re.navigator)(t,e);if(H()){var n=ie();n(t,{body:e,method:"POST",credentials:"omit",keepalive:!0}).then(null,function(t){console.error(t)})}else;}function se(t){return"event"===t?"error":t}var ae=Object(l.a)(),ce=function(){function t(t){var e,n,r,i=this;this.options=t,this._buffer=te(30),this._rateLimits={},this._outcomes={},this._api=(e=t.dsn,n=t._metadata,r=t.tunnel,{initDsn:e,metadata:n||{},dsn:lt(e),tunnel:r}),this.url=Xt(this._api.dsn),this.options.sendClientReports&&ae.document&&ae.document.addEventListener("visibilitychange",function(){"hidden"===ae.document.visibilityState&&i._flushOutcomes()})}return t.prototype.sendEvent=function(t){return this._sendRequest(Zt(t,this._api),t)},t.prototype.sendSession=function(t){return this._sendRequest(function(t,e){var n=Qt(e),r="aggregates"in t?"sessions":"session";return{body:Gt(Vt(Object(o.a)(Object(o.a)({sent_at:(new Date).toISOString()},n&&{sdk:n}),!!e.tunnel&&{dsn:ft(e.dsn)}),[[{type:r},t]])),type:r,url:$t(e.dsn,e.tunnel)}}(t,this._api),t)},t.prototype.close=function(t){return this._buffer.drain(t)},t.prototype.recordLostEvent=function(t,e){var n;if(this.options.sendClientReports){var r=se(e)+":"+t;R.log("Adding outcome: "+r),this._outcomes[r]=(null!==(n=this._outcomes[r])&&void 0!==n?n:0)+1}},t.prototype._flushOutcomes=function(){if(this.options.sendClientReports){var t=this._outcomes;if(this._outcomes={},Object.keys(t).length){R.log("Flushing outcomes:\n"+JSON.stringify(t,null,2));var e,n,r,i=$t(this._api.dsn,this._api.tunnel),s=Object.keys(t).map(function(e){var n=Object(o.c)(e.split(":"),2),r=n[0];return{reason:n[1],category:r,quantity:t[e]}}),a=(e=s,Vt((n=this._api.tunnel&&ft(this._api.dsn))?{dsn:n}:{},[[{type:"client_report"},{timestamp:r||Object(u.a)(),discarded_events:e}]]));try{oe(i,Gt(a))}catch(c){R.error(c)}}else R.log("No outcomes to flush")}},t.prototype._handleResponse=function(t){var e,n=t.requestType,r=t.response,i=t.headers,o=t.resolve,s=t.reject,a=(e=r.status)>=200&&e<300?"success":429===e?"rate_limit":e>
2=400&&e<500?"invalid":e>=500?"failed":"unknown";this._handleRateLimit(i)&&Object(q.b)()&&R.warn("Too many "+n+" requests, backing off until: "+this._disabledUntil(n)),"success"!==a?s(r):o({status:a})},t.prototype._disabledUntil=function(t){var e=se(t);return this._rateLimits[e]||this._rateLimits.all},t.prototype._isRateLimited=function(t){return this._disabledUntil(t)>new Date(Date.now())},t.prototype._handleRateLimit=function(t){var e,n,r,i,s=Date.now(),a=t["x-sentry-rate-limits"],c=t["retry-after"];if(a){try{for(var u=Object(o.e)(a.trim().split(",")),p=u.next();!p.done;p=u.next()){var f=p.value.split(":",2),d=parseInt(f[0],10),l=1e3*(isNaN(d)?60:d);try{for(var h=(r=void 0,Object(o.e)(f[1].split(";"))),v=h.next();!v.done;v=h.next()){var _=v.value;this._rateLimits[_||"all"]=new Date(s+l)}}catch(y){r={error:y}}finally{try{v&&!v.done&&(i=h.return)&&i.call(h)}finally{if(r)throw r.error}}}}catch(b){e={error:b}}finally{try{p&&!p.done&&(n=u.return)&&n.call(u)}finally{if(e)throw e.error}}return!0}return!!c&&(this._rateLimits.all=new Date(s+ee(c,s)),!0)},t}(),ue=function(t){function e(e,n){void 0===n&&(n=ie());var r=t.call(this,e)||this;return r._fetch=n,r}return Object(o.b)(e,t),e.prototype._sendRequest=function(t,e){var n=this;if(this._isRateLimited(t.type))return this.recordLostEvent("ratelimit_backoff",t.type),Promise.reject({event:e,type:t.type,reason:"Transport for "+t.type+" requests locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429});var r={body:t.body,method:"POST",referrerPolicy:z()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(r,this.options.fetchParameters),void 0!==this.options.headers&&(r.headers=this.options.headers),this._buffer.add(function(){return new d(function(e,i){n._fetch(t.url,r).then(function(r){var o={"x-sentry-rate-limits":r.headers.get("X-Sentry-Rate-Limits"),"retry-after":r.headers.get("Retry-After")};n._handleResponse({requestType:t.type,response:r,headers:o,resolve:e,reject:i})}).catch(i)})}).then(void 0,function(e){throw e instanceof ut?n.recordLostEvent("queue_overflow",t.type):n.recordLostEvent("network_error",t.type),e})},e}(ce),pe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.b)(e,t),e.prototype._sendRequest=function(t,e){var n=this;return this._isRateLimited(t.type)?(this.recordLostEvent("ratelimit_backoff",t.type),Promise.reject({event:e,type:t.type,reason:"Transport for "+t.type+" requests locked till "+this._disabledUntil(t.type)+" due to too many requests.",status:429})):this._buffer.add(function(){return new d(function(e,r){var i=new XMLHttpRequest;for(var o in i.onreadystatechange=function(){if(4===i.readyState){var o={"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")};n._handleResponse({requestType:t.type,response:i,headers:o,resolve:e,reject:r})}},i.open("POST",t.url),n.options.headers)Object.prototype.hasOwnProperty.call(n.options.headers,o)&&i.setRequestHeader(o,n.options.headers[o]);i.send(t.body)})}).then(void 0,function(e){throw e instanceof ut?n.recordLostEvent("queue_overflow",t.type):n.recordLostEvent("network_error",t.type),e})},e}(ce),fe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.b)(e,t),e.prototype.eventFromException=function(t,e){return function(t,e,n){var r=Yt(t,e&&e.syntheticException||void 0,n);return E(r),r.level=gt.Error,e&&e.event_id&&(r.event_id=e.event_id),p(r)}(t,e,this._options.attachStacktrace)},e.prototype.eventFromMessage=function(t,e,n){return void 0===e&&(e=gt.Info),function(t,e,n,r){void 0===e&&(e=gt.Info);var i=Ht(t,n&&n.syntheticException||void 0,r);return i.level=e,n&&n.event_id&&(i.event_id=n.event_id),p(i)}(t,e,n,this._options.attachStacktrace)},e.prototype._setupTransport=function(){if(!this._options.dsn)return t.prototype._setupTransport.call(this);var e=Object(o.a)(Object(o.a)({},this._options.transportOptions),{dsn:this._options.dsn,tunnel:this._options.tunnel,sendClientReports:this._options.sendClientReports,_metadata:this._options._metadata});return this._options.transport?new this._options.transport(e):H()?new ue(e):new pe(e)},e}(Ot);function de(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=U();if(r&&r[t])return r[t].apply(r,Object(o.d)(e));throw new Error("No hub defined or "+t+" was not found on the hub, please open a bug report.")}var le=Object(l.a)(),he=0;function ve(){return he>0}function _e(t,e,n){if(void 0===e&&(e={}),"function"!==typeof t)return t;try{var r=t.__sentry_wrapped__;if(r)return r;if(Object(s.e)(t))return t}catch(c){return t}var i=function(){var r,i=Array.prototype.slice.call(arguments);try{n&&"function"===typeof n&&n.apply(this,arguments);var s=i.map(function(t){return _e(t,e)});return t.apply(this,s)}catch(a){throw he+=1,setTimeout(function(){he-=1}),r=function(t){t.addEventProcessor(function(t){return e.mechanism&&(j(t,void 0,void 0),E(t,e.mechanism)),t.extra=Object(o.a)(Object(o.a)({},t.extra),{arguments:i}),t}),function(t,e){var n;try{throw new Error("Sentry syntheticException")}catch(t){n=t}de("captureException",t,{captureContext:e,originalException:t,syntheticException:n})}(a)},de("withScope",r),a}};try{for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(i[a]=t[a])}catch(u){}Object(s.f)(i,t),Object(s.a)(t,"__sentry_wrapped__",i);try{Object.getOwnPropertyDescriptor(i,"name").configurable&&Object.defineProperty(i,"name",{get:function(){return t.name}})}catch(u){}return i}function ye(t){if(void 0===t&&(t={}),le.document)if(t.eventId)if(t.dsn){var e=le.document.createElement("script");e.async=!0,e.src=function(t,e){var n=lt(t),r=Wt(n)+"embed/error-page/",i="dsn="+ft(n);for(var o in e)if("dsn"!==o)if("user"===o){if(!e.user)continue;e.user.name&&(i+="&name="+encodeURIComponent(e.user.name)),e.user.email&&(i+="&email="+encodeURIComponent(e.user.email))}else i+="&"+encodeURIComponent(o)+"="+encodeURIComponent(e[o]);return r+"?"+i}(t.dsn,t),t.onLoad&&(e.onload=t.onLoad);var n=le.document.head||le.document.body;n&&n.appendChild(e)}else Object(q.b)()&&R.error("Missing dsn option in showReportDialog call");else Object(q.b)()&&R.error("Missing eventId option in showReportDialog call")}var be=n(312),ge=["fatal","error","warning","log","info","debug","critical"];function me(t){return"warn"===t?gt.Warning:function(t){return-1!==ge.indexOf(t)}(t)?t:gt.Log}var Oe=function(){function t(e){this.name=t.id,this._options=Object(o.a)({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},e)}return t.prototype.addSentryBreadcrumb=function(t){this._options.sentry&&U().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:O(t)},{event:t})},t.prototype.setupOnce=function(){this._options.console&&G("console",je),this._options.dom&&G("dom",function(t){function e(e){var n,r="object"===typeof t?t.serializeAttribute:void 0;"string"===typeof r&&(r=[r]);try{n=e.event.target?Object(be.b)(e.event.target,r):Object(be.b)(e.event,r)}catch(i){n="<unknown>"}0!==n.length&&U().addBreadcrumb({category:"ui."+e.name,message:n},{event:e.event,name:e.name,global:e.global})}return e}(this._options.dom)),this._options.xhr&&G("xhr",Ee),this._options.fetch&&G("fetch",xe),this._options.history&&G("history",we)},t.id="Breadcrumbs",t}();function je(t){var e={category:"console",data:{arguments:t.args,logger:"console"},level:me(t.level),message:Object(y.b)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;e.message="Assertion failed: "+(Object(y.b)(t.args.slice(1)," ")||"console.assert"),e.data.arguments=t.args.slice(1)}
2U().addBreadcrumb(e,{input:t.args,level:t.level})}function Ee(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;var e=t.xhr.__sentry_xhr__||{},n=e.method,r=e.url,i=e.status_code,o=e.body;U().addBreadcrumb({category:"xhr",data:{method:n,url:r,status_code:i},type:"http"},{xhr:t.xhr,input:o})}else;}function xe(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method||(t.error?U().addBreadcrumb({category:"fetch",data:t.fetchData,level:gt.Error,type:"http"},{data:t.error,input:t.args}):U().addBreadcrumb({category:"fetch",data:Object(o.a)(Object(o.a)({},t.fetchData),{status_code:t.response.status}),type:"http"},{input:t.args,response:t.response})))}function we(t){var e=Object(l.a)(),n=t.from,r=t.to,i=g(e.location.href),o=g(n),s=g(r);o.path||(o=i),i.protocol===s.protocol&&i.host===s.host&&(r=s.relative),i.protocol===o.protocol&&i.host===o.host&&(n=o.relative),U().addBreadcrumb({category:"navigation",data:{from:n,to:r}})}var Se=function(t){function e(e){void 0===e&&(e={});return e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:at}],version:at},t.call(this,fe,e)||this}return Object(o.b)(e,t),e.prototype.showReportDialog=function(t){void 0===t&&(t={}),Object(l.a)().document&&(this._isEnabled()?ye(Object(o.a)(Object(o.a)({},t),{dsn:t.dsn||this.getDsn()})):R.error("Trying to call showReportDialog with Sentry Client disabled"))},e.prototype._prepareEvent=function(e,n,r){return e.platform=e.platform||"javascript",t.prototype._prepareEvent.call(this,e,n,r)},e.prototype._sendEvent=function(e){var n=this.getIntegration(Oe);n&&n.addSentryBreadcrumb(e),t.prototype._sendEvent.call(this,e)},e}(bt),ke=["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"],Te=function(){function t(e){this.name=t.id,this._options=Object(o.a)({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},e)}return t.prototype.setupOnce=function(){var t=Object(l.a)();this._options.setTimeout&&Object(s.d)(t,"setTimeout",Re),this._options.setInterval&&Object(s.d)(t,"setInterval",Re),this._options.requestAnimationFrame&&Object(s.d)(t,"requestAnimationFrame",Ne),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&Object(s.d)(XMLHttpRequest.prototype,"send",Le);var e=this._options.eventTarget;e&&(Array.isArray(e)?e:ke).forEach(De)},t.id="TryCatch",t}();function Re(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=e[0];return e[0]=_e(r,{mechanism:{data:{function:Object(Y.b)(t)},handled:!0,type:"instrument"}}),t.apply(this,e)}}function Ne(t){return function(e){return t.call(this,_e(e,{mechanism:{data:{function:"requestAnimationFrame",handler:Object(Y.b)(t)},handled:!0,type:"instrument"}}))}}function Le(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(function(t){t in r&&"function"===typeof r[t]&&Object(s.d)(r,t,function(e){var n={mechanism:{data:{function:t,handler:Object(Y.b)(e)},handled:!0,type:"instrument"}},r=Object(s.e)(e);return r&&(n.mechanism.data.handler=Object(Y.b)(r)),_e(e,n)})}),t.apply(this,e)}}function De(t){var e=Object(l.a)(),n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(Object(s.d)(n,"addEventListener",function(e){return function(n,r,i){try{"function"===typeof r.handleEvent&&(r.handleEvent=_e(r.handleEvent.bind(r),{mechanism:{data:{function:"handleEvent",handler:Object(Y.b)(r),target:t},handled:!0,type:"instrument"}}))}catch(o){}return e.call(this,n,_e(r,{mechanism:{data:{function:"addEventListener",handler:Object(Y.b)(r),target:t},handled:!0,type:"instrument"}}),i)}}),Object(s.d)(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(s){}return t.call(this,e,i,r)}}))}var Ie=function(){function t(e){this.name=t.id,this._installFunc={onerror:Pe,onunhandledrejection:Ue},this._options=Object(o.a)({onerror:!0,onunhandledrejection:!0}
2,e)}return t.prototype.setupOnce=function(){Error.stackTraceLimit=50;var t=this._options;for(var e in t){var n=this._installFunc[e];n&&t[e]&&(Me(e),n(),this._installFunc[e]=void 0)}},t.id="GlobalHandlers",t}();function Pe(){G("error",function(t){var e=Object(o.c)(qe(),2),n=e[0],r=e[1];if(n.getIntegration(Ie)){var i=t.msg,s=t.url,a=t.line,u=t.column,p=t.error;if(!(ve()||p&&p.__sentry_own_request__)){var f=void 0===p&&Object(c.k)(i)?function(t,e,n,r){var i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i,o=Object(c.e)(t)?t.message:t,s="Error",a=o.match(i);a&&(s=a[1],o=a[2]);var u={exception:{values:[{type:s,value:o}]}};return Ce(u,e,n,r)}(i,s,a,u):Ce(Yt(p||i,void 0,r,!1),s,a,u);f.level=gt.Error,Ae(n,p,f,"onerror")}}})}function Ue(){G("unhandledrejection",function(t){var e=Object(o.c)(qe(),2),n=e[0],r=e[1];if(n.getIntegration(Ie)){var i=t;try{"reason"in t?i=t.reason:"detail"in t&&"reason"in t.detail&&(i=t.detail.reason)}catch(a){}if(ve()||i&&i.__sentry_own_request__)return!0;var s=Object(c.i)(i)?{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(i)}]}}:Yt(i,void 0,r,!0);s.level=gt.Error,Ae(n,i,s,"onunhandledrejection")}})}function Ce(t,e,n,r){var i=t.exception=t.exception||{},o=i.values=i.values||[],s=o[0]=o[0]||{},a=s.stacktrace=s.stacktrace||{},u=a.frames=a.frames||[],p=isNaN(parseInt(r,10))?void 0:r,f=isNaN(parseInt(n,10))?void 0:n,d=Object(c.k)(e)&&e.length>0?e:Object(be.a)();return 0===u.length&&u.push({colno:p,filename:d,function:"?",in_app:!0,lineno:f}),t}function Me(t){Object(q.b)()&&R.log("Global Handler attached: "+t)}function Ae(t,e,n,r){E(n,{handled:!1,type:r}),t.captureEvent(n,{originalException:e})}function qe(){var t=U(),e=t.getClient();return[t,e&&e.getOptions().attachStacktrace]}var Be=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._key=e.key||"cause",this._limit=e.limit||5}return t.prototype.setupOnce=function(){_(function(e,n){var r=U().getIntegration(t);return r?function(t,e,n,r){if(!n.exception||!n.exception.values||!r||!Object(c.g)(r.originalException,Error))return n;var i=Fe(e,r.originalException,t);return n.exception.values=Object(o.d)(i,n.exception.values),n}(r._key,r._limit,e,n):e})},t.id="LinkedErrors",t}();function Fe(t,e,n,r){if(void 0===r&&(r=[]),!Object(c.g)(e[n],Error)||r.length+1>=t)return r;var i=Mt(e[n]);return Fe(t,e[n],n,Object(o.d)([i],r))}var Ye=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(e,n){e(function(e){var r=n().getIntegration(t);if(r){try{if(function(t,e){if(!e)return!1;if(function(t,e){var n=t.message,r=e.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!We(t,e))return!1;if(!He(t,e))return!1;return!0}(t,e))return!0;if(function(t,e){var n=ze(e),r=ze(t);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!We(t,e))return!1;if(!He(t,e))return!1;return!0}(t,e))return!0;return!1}(e,r._previousEvent))return R.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(i){return r._previousEvent=e}return r._previousEvent=e}return e})},t.id="Dedupe",t}();function He(t,e){var n=Je(t),r=Je(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(var i=0;i<r.length;i++){var o=r[i],s=n[i];if(o.filename!==s.filename||o.lineno!==s.lineno||o.colno!==s.colno||o.function!==s.function)return!1}return!0}function We(t,e){var n=t.fingerprint,r=e.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(i){return!1}}function ze(t){return t.exception&&t.exception.values&&t.exception.values[0]}function Je(t){var e=t.exception;if(e)try{return e.values[0].stacktrace.frames}catch(n){return}else if(t.stacktrace)return t.stacktrace.frames}var Ke=Object(l.a)(),Xe=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){_(function(e){if(U().getIntegration(t)){if(!Ke.navigator&&!Ke.location&&!Ke.document)return e;var n=e.request&&e.request.url||Ke.location&&Ke.location.href,r=(Ke.document||{}).referrer,i=(Ke.navigator||{}).userAgent,s=Object(o.a)(Object(o.a)(Object(o.a)({},e.request&&e.request.headers),r&&{Referer:r}),i&&{"User-Agent":i}),a=Object(o.a)(Object(o.a)({},n&&{url:n}),{headers:s});return Object(o.a)(Object(o.a)({},e),{request:a})}return e})},t.id="UserAgent",t}(),$e=[new r.InboundFilters,new r.FunctionToString,new Te,new Oe,new Ie,new Be,new Ye,new Xe];function Ve(t){t.startSession({ignoreDuration:!0}),t.captureSession()}(function(t){if(void 0===t&&(t={}),void 0===t.defaultIntegrations&&(t.defaultIntegrations=$e),void 0===t.release){var e=Object(l.a)();e.SENTRY_RELEASE&&e.SENTRY_RELEASE.id&&(t.release=e.SENTRY_RELEASE.id)}void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),void 0===t.sendClientReports&&(t.sendClientReports=!0),function(t,e){!0===e.debug&&R.enable();var n=U(),r=n.getScope();r&&r.update(e.initialScope);var i=new t(e);n.bindClient(i)}(Se,t),t.autoSessionTracking&&function(){if("undefined"!==typeof Object(l.a)().document){var t=U();t.captureSession&&(Ve(t),G("history",function(t){var e=t.from,n=t.to;void 0!==e&&e!==n&&Ve(U())}))}else Object(q.b)()&&R.warn("Session tracking in non-browser environment with @
2sentry/browser is not supported.")}()})({dsn:""})},99:function(t,e){var n,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:o}catch(t){n=o}try{r="function"===typeof clearTimeout?clearTimeout:s}catch(t){r=s}}();var c,u=[],p=!1,f=-1;function d(){p&&c&&(p=!1,c.length?u=c.concat(u):f=-1,u.length&&l())}function l(){if(!p){var t=a(d);p=!0;for(var e=u.length;e;){for(c=u,u=[];++f<e;)c&&c[f].run();f=-1,e=u.length}c=null,p=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{return r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function v(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new h(t,e)),1!==u.length||p||a(l)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=v,i.addListener=v,i.once=v,i.off=v,i.removeListener=v,i.removeAllListeners=v,i.emit=v,i.prependListener=v,i.prependOnceListener=v,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}}});
3//# sourceMappingURL=sentry-64843c3fcc510e418732.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.