/*! For license information please see bundle.31a3a.js.LICENSE.txt */ !function(t){function e(e){for(var n,r,o=e[0],a=e[1],c=0,u=[];c"}return t.event_id||""}function s(t){var e=i();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 o=t();return Object.keys(r).forEach((function(t){n[t]=r[t]})),o}function l(t,e,n){t.exception=t.exception||{},t.exception.values=t.exception.values||[],t.exception.values[0]=t.exception.values[0]||{},t.exception.values[0].value=t.exception.values[0].value||e||"",t.exception.values[0].type=t.exception.values[0].type||n||"Error"}function f(t,e){void 0===e&&(e={});try{t.exception.values[0].mechanism=t.exception.values[0].mechanism||{},Object.keys(e).forEach((function(n){t.exception.values[0].mechanism[n]=e[n]}))}catch(t){}}function p(){try{return document.location.href}catch(t){return""}}function h(t){try{for(var e=t,n=[],r=0,o=0,i=" > ".length,a=void 0;e&&r++<5&&!("html"===(a=d(e))||r>1&&o+n.length*i+a.length>=80);)n.push(a),o+=a.length,e=e.parentNode;return n.reverse().join(" > ")}catch(t){return""}}function d(t){var e,n,r,o,i,a=t,c=[];if(!a||!a.tagName)return"";if(c.push(a.tagName.toLowerCase()),a.id&&c.push("#"+a.id),(e=a.className)&&Object(y.k)(e))for(n=e.split(/\s+/),i=0;i"}catch(t){return""}}n.d(e,"i",(function(){return o})),n.d(e,"f",(function(){return i})),n.d(e,"m",(function(){return a})),n.d(e,"k",(function(){return c})),n.d(e,"d",(function(){return u})),n.d(e,"c",(function(){return s})),n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return f})),n.d(e,"g",(function(){return p})),n.d(e,"h",(function(){return h})),n.d(e,"l",(function(){return _})),n.d(e,"j",(function(){return v})),n.d(e,"e",(function(){return g}));var y=n("E6vx"),m=(n("dbjm"),{}),b=Date.now(),E=0,O={now:function(){var t=Date.now()-b;return t=0;r--){var o=t[r];"."===o?t.splice(r,1):".."===o?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function o(t){var e=j.exec(t);return e?e.slice(1):[]}function i(){for(var t=[],e=0;e=-1&&!o;i--){var a=i>=0?t[i]:"/";a&&(n=a+"/"+n,o="/"===a.charAt(0))}return(o?"/":"")+(n=r(n.split("/").filter((function(t){return!!t})),!o).join("/"))||"."}function a(t){for(var e=0;e=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}n.r(e),n.d(e,"Angular",(function(){return p})),n.d(e,"CaptureConsole",(function(){return g})),n.d(e,"Debug",(function(){return y})),n.d(e,"Dedupe",(function(){return m})),n.d(e,"Ember",(function(){return E})),n.d(e,"ExtraErrorData",(function(){return O})),n.d(e,"ReportingObserver",(function(){return w})),n.d(e,"RewriteFrames",(function(){return S})),n.d(e,"SessionTiming",(function(){return k})),n.d(e,"Transaction",(function(){return T})),n.d(e,"Vue",(function(){return C}));var c,u=n("bb6g"),s=n("3ZRO"),l=n("HhP1"),f=/^\[((?:[$a-zA-Z0-9]+:)?(?:[$a-zA-Z0-9]+))\] (.*?)\n?(\S+)$/,p=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._angular=e.angular||Object(s.f)().angular}return t.prototype.setupOnce=function(e,n){var r=this;this._angular?(this._getCurrentHub=n,this._angular.module(t.moduleName,[]).config(["$provide",function(t){t.decorator("$exceptionHandler",["$delegate",r._$exceptionHandlerDecorator.bind(r)])}])):l.a.error("AngularIntegration is missing an Angular instance")},t.prototype._$exceptionHandlerDecorator=function(e){var n=this;return function(r,o){var i=n._getCurrentHub&&n._getCurrentHub();i&&i.getIntegration(t)&&i.withScope((function(t){o&&t.setExtra("cause",o),t.addEventProcessor((function(t){var e=t.exception&&t.exception.values&&t.exception.values[0];if(e){var n=f.exec(e.value||"");n&&(e.type=n[1],e.value=n[2],t.message=e.type+": "+e.value,t.extra=u.a({},t.extra,{angularDocs:n[3].substr(0,250)}))}return t})),i.captureException(r)})),e(r,o)}},t.id="AngularJS",t.moduleName="ngSentry",t}(),h=n("MK6T"),d=n("tZ4O"),_=n("dbjm"),v=Object(s.f)(),g=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._levels=["log","info","warn","error","debug","assert"],e.levels&&(this._levels=e.levels)}return t.prototype.setupOnce=function(e,n){"console"in v&&this._levels.forEach((function(e){e in v.console&&Object(d.b)(v.console,e,(function(r){return function(){for(var o=[],i=0;i=0;n--){var r=e[n];if(!0===r.in_app){t.transaction=this._getTransaction(r);break}}return t},t.prototype._getFramesFromEvent=function(t){var e=t.exception&&t.exception.values&&t.exception.values[0];return e&&e.stacktrace&&e.stacktrace.frames||[]},t.prototype._getTransaction=function(t){return t.module||t.function?(t.module||"?")+"/"+(t.function||"?"):""},t.id="Transaction",t}(),C=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this._attachProps=!0,this._logErrors=!1,this._Vue=e.Vue||Object(s.f)().Vue,void 0!==e.logErrors&&(this._logErrors=e.logErrors),!1===e.attachProps&&(this._attachProps=!1)}return t.prototype._formatComponentName=function(t){if(t.$root===t)return"root instance";var e=t._isVue?t.$options.name||t.$options._componentTag:t.name;return(e?"component <"+e+">":"anonymous component")+(t._isVue&&t.$options.__file?" at "+t.$options.__file:"")},t.prototype.setupOnce=function(e,n){var r=this;if(this._Vue&&this._Vue.config){var o=this._Vue.config.errorHandler;this._Vue.config.errorHandler=function(e,i,a){var c={};Object(b.h)(i)&&(c.componentName=r._formatComponentName(i),r._attachProps&&(c.propsData=i.$options.propsData)),void 0!==a&&(c.lifecycleHook=a),n().getIntegration(t)&&setTimeout((function(){n().withScope((function(t){t.setContext("vue",c),n().captureException(e)}))})),"function"==typeof o&&o.call(r._Vue,e,i,a),r._logErrors&&(r._Vue.util.warn("Error in "+a+': "'+e.toString()+'"',i),console.error(e))}}else l.a.error("VueIntegration is missing a Vue instance")},t.id="Vue",t}()},HKXi:function(t,e,n){"use strict";var r=n("SdNZ");e.a=Object(r.a)((function(t){n.e(11).then(function(){t(n("hasd"))}.bind(null,n)).catch(n.oe)}))},HhP1:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n("3ZRO"),o=Object(r.f)(),i="Sentry Logger ",a=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;ee.rank?-1:t.index-e.index}function a(t,e){return t.index=e,t.rank=function(t){return t.props.default?0:(e=t.props.path,c(e).map(u).join(""));var e}(t),t.props}function c(t){return t.replace(/(^\/+|\/+$)/g,"").split("/")}function u(t){return":"==t.charAt(0)?1+"*+?".indexOf(t.charAt(t.length-1))||4:5}function s(){var t;return""+((t=y&&y.location?y.location:y&&y.getCurrentLocation?y.getCurrentLocation():"undefined"!=typeof location?location:E).pathname||"")+(t.search||"")}function l(t,e){return void 0===e&&(e=!1),"string"!=typeof t&&t.url&&(e=t.replace,t=t.url),function(t){for(var e=m.length;e--;)if(m[e].canRoute(t))return!0;return!1}(t)&&function(t,e){void 0===e&&(e="push"),y&&y[e]?y[e](t):"undefined"!=typeof history&&history[e+"State"]&&history[e+"State"](null,null,t)}(t,e?"replace":"push"),f(t)}function f(t){for(var e=!1,n=0;n0},e.prototype.routeTo=function(t){this.setState({url:t});var e=this.canRoute(t);return this.updating||this.forceUpdate(),e},e.prototype.componentWillMount=function(){m.push(this),this.updating=!0},e.prototype.componentDidMount=function(){var t=this;y&&(this.unlisten=y.listen((function(e){t.routeTo(""+(e.pathname||"")+(e.search||""))}))),this.updating=!1},e.prototype.componentWillUnmount=function(){"function"==typeof this.unlisten&&this.unlisten(),m.splice(m.indexOf(this),1)},e.prototype.componentWillUpdate=function(){this.updating=!0},e.prototype.componentDidUpdate=function(){this.updating=!1},e.prototype.getMatchingChildren=function(t,e,n){return t.filter(a).sort(i).map((function(t){var i=o(e,t.props.path,t.props);if(i){if(!1!==n){var a={url:e,matches:i};return r(a,i),delete a.ref,delete a.key,Object(v.cloneElement)(t,a)}return t}})).filter(Boolean)},e.prototype.render=function(t,e){var n=t.children,r=t.onChange,o=e.url,i=this.getMatchingChildren(Object(v.toChildArray)(n),o,!0),a=i[0]||null,c=this.previousUrl;return o!==c&&(this.previousUrl=o,"function"==typeof r&&r({router:this,url:o,previous:c,active:i,current:a})),a},e}(v.Component),w=function(t){return Object(v.createElement)("a",r({onClick:h},t))},j=function(t){return Object(v.createElement)(t.component,t)};x.subscribers=b,x.getCurrentUrl=s,x.route=l,x.Router=x,x.Route=j,x.Link=w,x.exec=o,e.default=x},aWdl:function(t,e,n){"use strict";var r=n("SdNZ");e.a=Object(r.a)((function(t){n.e(4).then(function(){t(n("9cHI"))}.bind(null,n)).catch(n.oe)}))},afj4:function(){},bb6g:function(t,e,n){"use strict";function r(t,e){function n(){this.constructor=t}c(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function o(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 i(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function a(){for(var t=[],e=0;er&&(e=r);var o=Math.max(e-60,0);o<5&&(o=0);var i=Math.min(o+140,r);return i>r-5&&(i=r),i===r&&(o=Math.max(i-140,0)),n=n.slice(o,i),o>0&&(n="'{snip} "+n),i3)for(n=[n],r=3;r2&&(e.children=F.slice.call(arguments,2)),n={},e)"key"!==o&&"ref"!==o&&(n[o]=e[o]);return a(t.type,n,e.key||t.key,e.ref||t.ref,null)}function T(t){var e={},n={__c:"__cC"+L++,__:t,Consumer:function(t,e){return t.children(e)},Provider:function(t){var r,o=this;return this.getChildContext||(r=[],this.getChildContext=function(){return e[n.__c]=o,e},this.shouldComponentUpdate=function(t){o.props.value!==t.value&&r.some((function(e){e.context=t.value,p(e)}))},this.sub=function(t){r.push(t);var e=t.componentWillUnmount;t.componentWillUnmount=function(){r.splice(r.indexOf(t),1),e&&e.call(t)}}),t.children}};return n.Consumer.contextType=n,n.Provider.__=n,n}n.r(e),n.d(e,"render",(function(){return j})),n.d(e,"hydrate",(function(){return S})),n.d(e,"createElement",(function(){return i})),n.d(e,"h",(function(){return i})),n.d(e,"Fragment",(function(){return u})),n.d(e,"createRef",(function(){return c})),n.d(e,"isValidElement",(function(){return R})),n.d(e,"Component",(function(){return s})),n.d(e,"cloneElement",(function(){return k})),n.d(e,"createContext",(function(){return T})),n.d(e,"toChildArray",(function(){return _})),n.d(e,"_unmount",(function(){return x})),n.d(e,"options",(function(){return C}));var C,R,I,D,P,N,A,L,U={},F=[],H=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;C={__e:function(t,e){for(var n,r;e=e.__;)if((n=e.__c)&&!n.__)try{if(n.constructor&&null!=n.constructor.getDerivedStateFromError&&(r=!0,n.setState(n.constructor.getDerivedStateFromError(t))),null!=n.componentDidCatch&&(r=!0,n.componentDidCatch(t)),r)return p(n.__E=n)}catch(e){t=e}throw t}},R=function(t){return null!=t&&void 0===t.constructor},s.prototype.setState=function(t,e){var n;n=this.__s!==this.state?this.__s:this.__s=r({},this.state),"function"==typeof t&&(t=t(n,this.props)),t&&r(n,t),null!=t&&this.__v&&(e&&this.__h.push(e),p(this))},s.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),p(this))},s.prototype.render=u,I=[],D=0,P="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,A=U,L=0},mdyV:function(t,e,n){"use strict";n.r(e);var r=n("hosL"),o=r.h,i=r.render,a=function(t){return t&&t.default?t.default:t};if("serviceWorker"in navigator&&navigator.serviceWorker.register(n.p+"sw.js"),"function"==typeof a(n("QfWi"))){var c=document.getElementById("preact_root")||document.body.firstElementChild;0,function(){var t=a(n("QfWi")),e={},r=document.querySelector('[type="__PREACT_CLI_DATA__"]');r&&(e=JSON.parse(r.innerHTML).preRenderData||e);var u;e.url&&(u=e.url);c=i(o(t,{CLI_DATA:{preRenderData:e}}),document.body,c)}()}},"n+xf":function(t,e,n){"use strict";var r=n("SdNZ");e.a=Object(r.a)((function(t){n.e(12).then(function(){t(n("ZQux"))}.bind(null,n)).catch(n.oe)}))},pCvA:function(t){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},tZ4O:function(t,e,n){"use strict";(function(t){function r(t,e,n){if(e in t){var r=t[e],o=n(r);if("function"==typeof o)try{o.prototype=o.prototype||{},Object.defineProperties(o,{__sentry_original__:{enumerable:!1,value:r}})}catch(t){}t[e]=o}}function o(t){return Object.keys(t).map((function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])})).join("&")}function i(t){if(Object(p.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(p.f)(t)){var o=t,i={};i.type=o.type;try{i.target=Object(p.c)(o.target)?Object(d.h)(o.target):Object.prototype.toString.call(o.target)}catch(t){i.target=""}try{i.currentTarget=Object(p.c)(o.currentTarget)?Object(d.h)(o.currentTarget):Object.prototype.toString.call(o.currentTarget)}catch(t){i.currentTarget=""}for(var r in"undefined"!=typeof CustomEvent&&Object(p.g)(t,CustomEvent)&&(i.detail=o.detail),o)Object.prototype.hasOwnProperty.call(o,r)&&(i[r]=o);return i}return t}function a(t){return function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(t))}function c(t,e,n){void 0===e&&(e=3),void 0===n&&(n=102400);var r=l(t,e);return a(r)>n?c(t,e-1,n):r}function u(e,n){return"domain"===n&&e&&"object"==typeof e&&e._events?"[Domain]":"domainEmitter"===n?"[DomainEmitter]":void 0!==t&&e===t?"[Global]":"undefined"!=typeof window&&e===window?"[Window]":"undefined"!=typeof document&&e===document?"[Document]":Object(p.l)(e)?"[SyntheticEvent]":"number"==typeof e&&e!=e?"[NaN]":void 0===e?"[undefined]":"function"==typeof e?"[Function: "+Object(d.e)(e)+"]":e}function s(t,e,n,r){if(void 0===n&&(n=1/0),void 0===r&&(r=new h.a),0===n)return function(t){var e=Object.prototype.toString.call(t);if("string"==typeof t)return t;if("[object Object]"===e)return"[Object]";if("[object Array]"===e)return"[Array]";var n=u(t);return Object(p.i)(n)?n:e}(e);if(null!=e&&"function"==typeof e.toJSON)return e.toJSON();var o=u(e,t);if(Object(p.i)(o))return o;var a=i(e),c=Array.isArray(e)?[]:{};if(r.memoize(e))return"[Circular ~]";for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(c[l]=s(l,a[l],n-1,r));return r.unmemoize(e),c}function l(t,e){try{return JSON.parse(JSON.stringify(t,(function(t,n){return s(t,n,e)})))}catch(t){return"**non-serializable**"}}function f(t,e){void 0===e&&(e=40);var n=Object.keys(i(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return Object(_.d)(n[0],e);for(var r=n.length;r>0;r--){var o=n.slice(0,r).join(", ");if(!(o.length>e))return r===n.length?o:Object(_.d)(o,e)}return""}n.d(e,"b",(function(){return r})),n.d(e,"e",(function(){return o})),n.d(e,"d",(function(){return c})),n.d(e,"c",(function(){return l})),n.d(e,"a",(function(){return f}));n("bb6g");var p=n("E6vx"),h=n("7UEW"),d=n("3ZRO"),_=n("dbjm")}).call(this,n("pCvA"))},v6Hh:function(t,e,n){"use strict";(function(t){var r=n("FeHI"),o=n.n(r);n("hosL");e.a=function(){return t("div",{class:o.a.footer},"© ",(new Date).getFullYear()," - ",t("a",{href:"https://steffo.eu/"},"Stefano Pigozzi")," - ",t("a",{href:"https://creativecommons.org/licenses/by-sa/4.0/"},"CC BY-SA 4.0")," - ",t("a",{href:"https://github.com/Steffo99/appuntiweb"},"uni.steffo.eu ","0.3.13")," - ",t("a",{href:"https://ko-fi.com/steffo"},"Supportami"))}}).call(this,n("hosL").h)},ve3R:function(t,e,n){"use strict";function r(){return(r=Object.assign||function(t){for(var e=1;e=0;p--){var h=a[p];"."===h?i(a,p):".."===h?(i(a,p),f++):f&&(i(a,p),f--)}if(!s)for(;f--;f)a.unshift("..");!s||""===a[0]||a[0]&&o(a[0])||a.unshift("");var d=a.join("/");return n&&"/"!==d.substr(-1)&&(d+="/"),d},m=function(t){if(!t)throw new Error("Invariant failed")},b=!("undefined"==typeof window||!window.document||!window.document.createElement),E={hashbang:{encodePath:function(t){return"!"===t.charAt(0)?t:"!/"+c(t)},decodePath:function(t){return"!"===t.charAt(0)?t.substr(1):t}},noslash:{encodePath:c,decodePath:a},slash:{encodePath:a,decodePath:a}}},xhzY:function(t,e,n){(function(t){("undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"0.3.13"}}).call(this,n("pCvA"))},yOHu:function(t,e,n){"use strict";var r=n("SdNZ");e.a=Object(r.a)((function(t){n.e(7).then(function(){t(n("2QOB"))}.bind(null,n)).catch(n.oe)}))},z8zl:function(t,e,n){"use strict";function r(){var t=Object(ft.f)();return t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.globalEventProcessors=t.__SENTRY__.globalEventProcessors||[],t.__SENTRY__.globalEventProcessors}function o(t){r().push(t)}function i(){var t=Object(ft.f)();return t.__SENTRY__=t.__SENTRY__||{extensions:{},hub:void 0},t}function a(t){var e=i(),n=s(e);return l(e,t),n}function c(){var t=i();return u(t)&&!s(t).isOlderThan(3)||l(t,new dt),Object(ft.i)()?function(t){try{var e=i().__SENTRY__;if(!e||!e.extensions||!e.extensions.domain)return s(t);var n=e.extensions.domain.active;if(!n)return s(t);if(!u(n)||s(n).isOlderThan(3)){var r=s(t).getStackTop();l(n,new dt(r.client,pt.clone(r.scope)))}return s(n)}catch(e){return s(t)}}(t):s(t)}function u(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function s(t){return t&&t.__SENTRY__&&t.__SENTRY__.hub||(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=new dt),t.__SENTRY__.hub}function l(t,e){return!!t&&(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=e,!0)}function f(t){for(var e=[],n=1;n]+)>|([^\)]+))\((.*)\))? in (.*):\s*$/i,o=t.stacktrace.split("\n"),i=[],a=0;a eval")>-1&&(e=Rt.exec(n[3]))?(n[1]=n[1]||"eval",n[3]=e[1],n[4]=e[2],n[5]=""):0!==a||n[5]||void 0===t.columnNumber||(o[0].column=t.columnNumber+1),r={url:n[3],func:n[1]||"?",args:n[2]?n[2].split(","):[],line:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}!r.func&&r.line&&(r.func="?"),o.push(r)}if(!o.length)return null;return{message:k(t),name:t.name,stack:o}}(t))return S(e,n)}catch(t){}return{message:k(t),name:t&&t.name,stack:[],failed:!0}}function S(t,e){try{return nt.a({},t,{stack:t.stack.slice(e)})}catch(e){return t}}function k(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){var e=R(t.stack),n={type:t.name,value:t.message};return e&&e.length&&(n.stacktrace={frames:e}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function C(t){return{exception:{values:[T(t)]}}}function R(t){if(!t||!t.length)return[];var e=t,n=e[0].func||"",r=e[e.length-1].func||"";return-1===n.indexOf("captureMessage")&&-1===n.indexOf("captureException")||(e=e.slice(1)),-1!==r.indexOf("sentryWrapped")&&(e=e.slice(0,-1)),e.map((function(t){return{colno:null===t.column?void 0:t.column,filename:t.url||e[0].url,function:t.func||"?",in_app:!0,lineno:null===t.line?void 0:t.line}})).slice(0,50).reverse()}function I(t,e,n){var r;if(void 0===n&&(n={}),Object(it.e)(t)&&t.error)return r=C(j(t=t.error));if(Object(it.a)(t)||Object(it.b)(t)){var o=t,i=o.name||(Object(it.a)(o)?"DOMError":"DOMException"),a=o.message?i+": "+o.message:i;return r=D(a,e,n),Object(ft.b)(r,a),r}return Object(it.d)(t)?r=C(j(t)):Object(it.h)(t)||Object(it.f)(t)?(r=function(t,e,n){var r={exception:{values:[{type:Object(it.f)(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:"Non-Error "+(n?"promise rejection":"exception")+" captured with keys: "+Object(mt.a)(t)}]},extra:{__serialized__:Object(mt.d)(t)}};if(e){var o=R(j(e).stack);r.stacktrace={frames:o}}return r}(t,e,n.rejection),Object(ft.a)(r,{synthetic:!0}),r):(r=D(t,e,n),Object(ft.b)(r,""+t,void 0),Object(ft.a)(r,{synthetic:!0}),r)}function D(t,e,n){void 0===n&&(n={});var r={message:t};if(n.attachStacktrace&&e){var o=R(j(e).stack);r.stacktrace={frames:o}}return r}function P(){return zt>0}function N(){zt+=1,setTimeout((function(){zt-=1}))}function A(t,e,n){if(void 0===e&&(e={}),"function"!=typeof t)return t;try{if(t.__sentry__)return t;if(t.__sentry_wrapped__)return t.__sentry_wrapped__}catch(e){return t}var r=function(){var r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);var o=r.map((function(t){return A(t,e)}));return t.handleEvent?t.handleEvent.apply(this,o):t.apply(this,o)}catch(t){throw N(),x((function(n){n.addEventProcessor((function(t){var n=nt.a({},t);return e.mechanism&&(Object(ft.b)(n,void 0,void 0),Object(ft.a)(n,e.mechanism)),n.extra=nt.a({},n.extra,{arguments:r}),n})),p(t)})),t}};try{for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o])}catch(t){}t.prototype=t.prototype||{},r.prototype=t.prototype,Object.defineProperty(t,"__sentry_wrapped__",{enumerable:!1,value:r}),Object.defineProperties(r,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:t}});try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:function(){return t.name}})}catch(t){}return r}function L(t){if(!Gt[t])switch(Gt[t]=!0,t){case"console":!function(){if(!("console"in Yt))return;["debug","info","warn","error","log","assert"].forEach((function(t){t in Yt.console&&Object(mt.b)(Yt.console,t,(function(e){return function(){for(var n=[],r=0;r2?e[2]:void 0;if(r){var o=ct,i=String(r);ct=i,F("history",{from:o,to:i})}return t.apply(this,e)}}if(!Object(St.b)())return;var e=Yt.onpopstate;Yt.onpopstate=function(){for(var t=[],n=0;n=200&&e<300?t.Success:429===e?t.RateLimit:e>=400&&e<500?t.Invalid:e>=500?t.Failed:t.Unknown}}(et||(et={}));var ot,it=n("E6vx");!function(t){t.PENDING="PENDING",t.RESOLVED="RESOLVED",t.REJECTED="REJECTED"}(ot||(ot={}));var at,ct,ut,st,lt=function(){function t(t){var e=this;this._state=ot.PENDING,this._handlers=[],this._resolve=function(t){e._setResult(ot.RESOLVED,t)},this._reject=function(t){e._setResult(ot.REJECTED,t)},this._setResult=function(t,n){e._state===ot.PENDING&&(Object(it.m)(n)?n.then(e._resolve,e._reject):(e._state=t,e._value=n,e._executeHandlers()))},this._attachHandler=function(t){e._handlers=e._handlers.concat(t),e._executeHandlers()},this._executeHandlers=function(){if(e._state!==ot.PENDING){var t=e._handlers.slice();e._handlers=[],t.forEach((function(t){t.done||(e._state===ot.RESOLVED&&t.onfulfilled&&t.onfulfilled(e._value),e._state===ot.REJECTED&&t.onrejected&&t.onrejected(e._value),t.done=!0)}))}};try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}return t.prototype.toString=function(){return"[object SyncPromise]"},t.resolve=function(e){return new t((function(t){t(e)}))},t.reject=function(e){return new t((function(t,n){n(e)}))},t.all=function(e){return new t((function(n,r){if(Array.isArray(e))if(0!==e.length){var o=e.length,i=[];e.forEach((function(e,a){t.resolve(e).then((function(t){i[a]=t,0===(o-=1)&&n(i)})).then(null,r)}))}else n([]);else r(new TypeError("Promise.all requires an array as input."))}))},t.prototype.then=function(e,n){var r=this;return new t((function(t,o){r._attachHandler({done:!1,onfulfilled:function(n){if(e)try{return void t(e(n))}catch(t){return void o(t)}else t(n)},onrejected:function(e){if(n)try{return void t(n(e))}catch(t){return void o(t)}else o(e)}})}))},t.prototype.catch=function(t){return this.then((function(t){return t}),t)},t.prototype.finally=function(e){var n=this;return new t((function(t,r){var o,i;return n.then((function(t){i=!1,o=t,e&&e()}),(function(t){i=!0,o=t,e&&e()})).then((function(){i?r(o):t(o)}))}))},t}(),ft=n("3ZRO"),pt=function(){function t(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._context={}}return t.prototype.addScopeListener=function(t){this._scopeListeners.push(t)},t.prototype.addEventProcessor=function(t){return this._eventProcessors.push(t),this},t.prototype._notifyScopeListeners=function(){var t=this;this._notifyingListeners||(this._notifyingListeners=!0,setTimeout((function(){t._scopeListeners.forEach((function(e){e(t)})),t._notifyingListeners=!1})))},t.prototype._notifyEventProcessors=function(t,e,n,r){var o=this;return void 0===r&&(r=0),new lt((function(i,a){var c=t[r];if(null===e||"function"!=typeof c)i(e);else{var u=c(nt.a({},e),n);Object(it.m)(u)?u.then((function(e){return o._notifyEventProcessors(t,e,n,r+1).then(i)})).then(null,a):o._notifyEventProcessors(t,u,n,r+1).then(i).then(null,a)}}))},t.prototype.setUser=function(t){return this._user=t||{},this._notifyScopeListeners(),this},t.prototype.setTags=function(t){return this._tags=nt.a({},this._tags,t),this._notifyScopeListeners(),this},t.prototype.setTag=function(t,e){var n;return this._tags=nt.a({},this._tags,((n={})[t]=e,n)),this._notifyScopeListeners(),this},t.prototype.setExtras=function(t){return this._extra=nt.a({},this._extra,t),this._notifyScopeListeners(),this},t.prototype.setExtra=function(t,e){var n;return this._extra=nt.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.setTransaction=function(t){return this._transaction=t,this._span&&(this._span.transaction=t),this._notifyScopeListeners(),this},t.prototype.setContext=function(t,e){var n;return this._context=nt.a({},this._context,((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.clone=function(e){var n=new t;return e&&(n._breadcrumbs=nt.d(e._breadcrumbs),n._tags=nt.a({},e._tags),n._extra=nt.a({},e._extra),n._context=nt.a({},e._context),n._user=e._user,n._level=e._level,n._span=e._span,n._transaction=e._transaction,n._fingerprint=e._fingerprint,n._eventProcessors=nt.d(e._eventProcessors)),n},t.prototype.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._context={},this._level=void 0,this._transaction=void 0,this._fingerprint=void 0,this._span=void 0,this._notifyScopeListeners(),this},t.prototype.addBreadcrumb=function(t,e){var n=nt.a({timestamp:Object(ft.l)()},t);return this._breadcrumbs=void 0!==e&&e>=0?nt.d(this._breadcrumbs,[n]).slice(-e):nt.d(this._breadcrumbs,[n]),this._notifyScopeListeners(),this},t.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},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.prototype.applyToEvent=function(t,e){return this._extra&&Object.keys(this._extra).length&&(t.extra=nt.a({},this._extra,t.extra)),this._tags&&Object.keys(this._tags).length&&(t.tags=nt.a({},this._tags,t.tags)),this._user&&Object.keys(this._user).length&&(t.user=nt.a({},this._user,t.user)),this._context&&Object.keys(this._context).length&&(t.contexts=nt.a({},this._context,t.contexts)),this._level&&(t.level=this._level),this._transaction&&(t.transaction=this._transaction),this._span&&(t.contexts=nt.a({trace:this._span.getTraceContext()},t.contexts)),this._applyFingerprint(t),t.breadcrumbs=nt.d(t.breadcrumbs||[],this._breadcrumbs),t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,this._notifyEventProcessors(nt.d(r(),this._eventProcessors),t,e)},t}(),ht=n("HhP1"),dt=function(){function t(t,e,n){void 0===e&&(e=new pt),void 0===n&&(n=3),this._version=n,this._stack=[],this._stack.push({client:t,scope:e})}return t.prototype._invokeClient=function(t){for(var e,n=[],r=1;r0?t[t.length-1].scope:void 0);return this.getStack().push({client:this.getClient(),scope:e}),e},t.prototype.popScope=function(){return void 0!==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=Object(ft.m)(),r=e;if(!e){var o=void 0;try{throw new Error("Sentry syntheticException")}catch(t){o=t}r={originalException:t,syntheticException:o}}return this._invokeClient("captureException",t,nt.a({},r,{event_id:n})),n},t.prototype.captureMessage=function(t,e,n){var r=this._lastEventId=Object(ft.m)(),o=n;if(!n){var i=void 0;try{throw new Error(t)}catch(t){i=t}o={originalException:t,syntheticException:i}}return this._invokeClient("captureMessage",t,e,nt.a({},o,{event_id:r})),r},t.prototype.captureEvent=function(t,e){var n=this._lastEventId=Object(ft.m)();return this._invokeClient("captureEvent",t,nt.a({},e,{event_id:n})),n},t.prototype.lastEventId=function(){return this._lastEventId},t.prototype.addBreadcrumb=function(t,e){var n=this.getStackTop();if(n.scope&&n.client){var r=n.client.getOptions&&n.client.getOptions()||{},o=r.beforeBreadcrumb,i=void 0===o?null:o,a=r.maxBreadcrumbs,c=void 0===a?100:a;if(!(c<=0)){var u=Object(ft.l)(),s=nt.a({timestamp:u},t),l=i?Object(ft.c)((function(){return i(s,e)})):s;null!==l&&n.scope.addBreadcrumb(l,Math.min(c,100))}}},t.prototype.setUser=function(t){var e=this.getStackTop();e.scope&&e.scope.setUser(t)},t.prototype.setTags=function(t){var e=this.getStackTop();e.scope&&e.scope.setTags(t)},t.prototype.setExtras=function(t){var e=this.getStackTop();e.scope&&e.scope.setExtras(t)},t.prototype.setTag=function(t,e){var n=this.getStackTop();n.scope&&n.scope.setTag(t,e)},t.prototype.setExtra=function(t,e){var n=this.getStackTop();n.scope&&n.scope.setExtra(t,e)},t.prototype.setContext=function(t,e){var n=this.getStackTop();n.scope&&n.scope.setContext(t,e)},t.prototype.configureScope=function(t){var e=this.getStackTop();e.scope&&e.client&&t(e.scope)},t.prototype.run=function(t){var e=a(this);try{t(this)}finally{a(e)}},t.prototype.getIntegration=function(t){var e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(e){return ht.a.warn("Cannot retrieve integration "+t.id+" from the current Hub"),null}},t.prototype.startSpan=function(t,e){return void 0===e&&(e=!1),this._callExtensionMethod("startSpan",t,e)},t.prototype.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},t.prototype._callExtensionMethod=function(t){for(var e=[],n=1;n1&&(l=p.slice(0,-1).join("/"),f=p.pop()),this._fromComponents({host:c,pass:a,path:l,projectId:f,port:s,protocol:r,user:o})},t.prototype._fromComponents=function(t){this.protocol=t.protocol,this.user=t.user,this.pass=t.pass||"",this.host=t.host,this.port=t.port||"",this.path=t.path||"",this.projectId=t.projectId},t.prototype._validate=function(){var t=this;if(["protocol","user","host","projectId"].forEach((function(e){if(!t[e])throw new vt("Invalid Dsn")})),"http"!==this.protocol&&"https"!==this.protocol)throw new vt("Invalid Dsn");if(this.port&&isNaN(parseInt(this.port,10)))throw new vt("Invalid Dsn")},t}(),mt=n("tZ4O"),bt=function(){function t(t){this.dsn=t,this._dsnObject=new yt(t)}return t.prototype.getDsn=function(){return this._dsnObject},t.prototype.getStoreEndpoint=function(){return""+this._getBaseUrl()+this.getStoreEndpointPath()},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){var t={sentry_key:this._dsnObject.user,sentry_version:"7"};return this.getStoreEndpoint()+"?"+Object(mt.e)(t)},t.prototype._getBaseUrl=function(){var t=this._dsnObject;return(t.protocol?t.protocol+":":"")+"//"+t.host+(t.port?":"+t.port:"")},t.prototype.getStoreEndpointPath=function(){var t=this._dsnObject;return(t.path?"/"+t.path:"")+"/api/"+t.projectId+"/store/"},t.prototype.getRequestHeaders=function(t,e){var n=this._dsnObject,r=["Sentry sentry_version=7"];return r.push("sentry_client="+t+"/"+e),r.push("sentry_key="+n.user),n.pass&&r.push("sentry_secret="+n.pass),{"Content-Type":"application/json","X-Sentry-Auth":r.join(", ")}},t.prototype.getReportDialogEndpoint=function(t){void 0===t&&(t={});var e=this._dsnObject,n=this._getBaseUrl()+(e.path?"/"+e.path:"")+"/api/embed/error-page/",r=[];for(var o in r.push("dsn="+e.toString()),t)if("user"===o){if(!t.user)continue;t.user.name&&r.push("name="+encodeURIComponent(t.user.name)),t.user.email&&r.push("email="+encodeURIComponent(t.user.email))}else r.push(encodeURIComponent(o)+"="+encodeURIComponent(t[o]));return r.length?n+"?"+r.join("&"):n},t}(),Et=n("dbjm"),Ot=[],xt=function(){function t(t,e){this._integrations={},this._processing=!1,this._backend=new t(e),this._options=e,e.dsn&&(this._dsn=new yt(e.dsn))}return t.prototype.captureException=function(t,e,n){var r=this,o=e&&e.event_id;return this._processing=!0,this._getBackend().eventFromException(t,e).then((function(t){return r._processEvent(t,e,n)})).then((function(t){o=t&&t.event_id,r._processing=!1})).then(null,(function(t){ht.a.error(t),r._processing=!1})),o},t.prototype.captureMessage=function(t,e,n,r){var o=this,i=n&&n.event_id;return this._processing=!0,(Object(it.i)(t)?this._getBackend().eventFromMessage(""+t,e,n):this._getBackend().eventFromException(t,n)).then((function(t){return o._processEvent(t,n,r)})).then((function(t){i=t&&t.event_id,o._processing=!1})).then(null,(function(t){ht.a.error(t),o._processing=!1})),i},t.prototype.captureEvent=function(t,e,n){var r=this,o=e&&e.event_id;return this._processing=!0,this._processEvent(t,e,n).then((function(t){o=t&&t.event_id,r._processing=!1})).then(null,(function(t){ht.a.error(t),r._processing=!1})),o},t.prototype.getDsn=function(){return this._dsn},t.prototype.getOptions=function(){return this._options},t.prototype.flush=function(t){var e=this;return this._isClientProcessing(t).then((function(n){return clearInterval(n.interval),e._getBackend().getTransport().close(t).then((function(t){return n.ready&&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=w(this._options))},t.prototype.getIntegration=function(t){try{return this._integrations[t.id]||null}catch(e){return ht.a.warn("Cannot retrieve integration "+t.id+" from the current Client"),null}},t.prototype._isClientProcessing=function(t){var e=this;return new lt((function(n){var r=0,o=0;clearInterval(o),o=setInterval((function(){e._processing?(r+=1,t&&r>=t&&n({interval:o,ready:!1})):n({interval:o,ready:!0})}),1)}))},t.prototype._getBackend=function(){return this._backend},t.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},t.prototype._prepareEvent=function(t,e,n){var r=this,o=this.getOptions(),i=o.environment,a=o.release,c=o.dist,u=o.maxValueLength,s=void 0===u?250:u,l=o.normalizeDepth,f=void 0===l?3:l,p=nt.a({},t);void 0===p.environment&&void 0!==i&&(p.environment=i),void 0===p.release&&void 0!==a&&(p.release=a),void 0===p.dist&&void 0!==c&&(p.dist=c),p.message&&(p.message=Object(Et.d)(p.message,s));var h=p.exception&&p.exception.values&&p.exception.values[0];h&&h.value&&(h.value=Object(Et.d)(h.value,s));var d=p.request;d&&d.url&&(d.url=Object(Et.d)(d.url,s)),void 0===p.event_id&&(p.event_id=n&&n.event_id?n.event_id:Object(ft.m)()),this._addIntegrations(p.sdk);var _=lt.resolve(p);return e&&(_=e.applyToEvent(p,n)),_.then((function(t){return"number"==typeof f&&f>0?r._normalizeEvent(t,f):t}))},t.prototype._normalizeEvent=function(t,e){return t?nt.a({},t,t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((function(t){return nt.a({},t,t.data&&{data:Object(mt.c)(t.data,e)})}))},t.user&&{user:Object(mt.c)(t.user,e)},t.contexts&&{contexts:Object(mt.c)(t.contexts,e)},t.extra&&{extra:Object(mt.c)(t.extra,e)}):null},t.prototype._addIntegrations=function(t){var e=Object.keys(this._integrations);t&&e.length>0&&(t.integrations=e)},t.prototype._processEvent=function(t,e,n){var r=this,o=this.getOptions(),i=o.beforeSend,a=o.sampleRate;return this._isEnabled()?"number"==typeof a&&Math.random()>a?lt.reject("This event has been sampled, will not send event."):new lt((function(o,a){r._prepareEvent(t,n,e).then((function(t){if(null!==t){var n=t;if(e&&e.data&&!0===e.data.__sentry__||!i)return r._getBackend().sendEvent(n),void o(n);var c=i(t,e);if(void 0===c)ht.a.error("`beforeSend` method has to return `null` or a valid event.");else if(Object(it.m)(c))r._handleAsyncBeforeSend(c,o,a);else{if(null===(n=c))return ht.a.log("`beforeSend` returned `null`, will not send event."),void o(null);r._getBackend().sendEvent(n),o(n)}}else a("An event processor returned null, will not send event.")})).then(null,(function(t){r.captureException(t,{data:{__sentry__:!0},originalException:t}),a("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+t)}))})):lt.reject("SDK not enabled, will not send event.")},t.prototype._handleAsyncBeforeSend=function(t,e,n){var r=this;t.then((function(t){null!==t?(r._getBackend().sendEvent(t),e(t)):n("`beforeSend` returned `null`, will not send event.")})).then(null,(function(t){n("beforeSend rejected with "+t)}))},t}(),wt=function(){function t(){}return t.prototype.sendEvent=function(){return lt.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:et.Skipped})},t.prototype.close=function(){return lt.resolve(!0)},t}(),jt=function(){function t(t){this._options=t,this._options.dsn||ht.a.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return t.prototype._setupTransport=function(){return new wt},t.prototype.eventFromException=function(){throw new vt("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(){throw new vt("Backend has to implement `eventFromMessage` method")},t.prototype.sendEvent=function(t){this._transport.sendEvent(t).then(null,(function(t){ht.a.error("Error while sending event: "+t)}))},t.prototype.getTransport=function(){return this._transport},t}(),St=n("M0dJ"),kt=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack||[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Tt=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,Ct=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Rt=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,It=/\((\S*)(?::(\d+))(?::(\d+))\)/,Dt=function(){function t(t){this._limit=t,this._buffer=[]}return t.prototype.isReady=function(){return void 0===this._limit||this.length()0&&n(!1)}),t);lt.all(e._buffer).then((function(){clearTimeout(r),n(!0)})).then(null,(function(){n(!0)}))}))},t}(),Pt=function(){function t(t){this.options=t,this._buffer=new Dt(30),this.url=new bt(this.options.dsn).getStoreEndpointWithUrlEncodedAuth()}return t.prototype.sendEvent=function(){throw new vt("Transport Class has to implement `sendEvent` method")},t.prototype.close=function(t){return this._buffer.drain(t)},t}(),Nt=Object(ft.f)(),At=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._disabledUntil=new Date(Date.now()),e}return nt.b(e,t),e.prototype.sendEvent=function(t){var e=this;if(new Date(Date.now())"}0!==e.length&&c().addBreadcrumb({category:"ui."+t.name,message:e},{event:t.event,name:t.name})},t.prototype._xhrBreadcrumb=function(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;c().addBreadcrumb({category:"xhr",data:t.xhr.__sentry_xhr__,type:"http"},{xhr:t.xhr})}else this._options.sentry&&t.xhr.__sentry_own_request__&&q(t.args[0])},t.prototype._fetchBreadcrumb=function(t){if(t.endTimestamp){var e=c().getClient(),n=e&&e.getDsn();if(this._options.sentry&&n){var r=new bt(n).getStoreEndpoint();if(r&&-1!==t.fetchData.url.indexOf(r)&&"POST"===t.fetchData.method&&t.args[1]&&t.args[1].body)return void q(t.args[1].body)}t.error?c().addBreadcrumb({category:"fetch",data:nt.a({},t.fetchData,{status_code:t.response.status}),level:rt.a.Error,type:"http"},{data:t.error,input:t.args}):c().addBreadcrumb({category:"fetch",data:nt.a({},t.fetchData,{status_code:t.response.status}),type:"http"},{input:t.args,response:t.response})}},t.prototype._historyBreadcrumb=function(t){var e=Object(ft.f)(),n=t.from,r=t.to,o=Object(ft.k)(e.location.href),i=Object(ft.k)(n),a=Object(ft.k)(r);i.path||(i=o),o.protocol===a.protocol&&o.host===a.host&&(r=a.relative),o.protocol===i.protocol&&o.host===i.host&&(n=i.relative),c().addBreadcrumb({category:"navigation",data:{from:n,to:r}})},t.prototype.setupOnce=function(){var t=this;this._options.console&&U({callback:function(){for(var e=[],n=0;n0?e:Object(ft.g)();return 0===t.exception.values[0].stacktrace.frames.length&&t.exception.values[0].stacktrace.frames.push({colno:o,filename:a,function:"?",in_app:!0,lineno:i}),t},t.id="GlobalHandlers",t}(),te=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(){o((function(e,n){var r=c().getIntegration(t);return r?r._handler(e,n):e}))},t.prototype._handler=function(t,e){if(!(t.exception&&t.exception.values&&e&&Object(it.g)(e.originalException,Error)))return t;var n=this._walkErrorTree(e.originalException,this._key);return t.exception.values=nt.d(n,t.exception.values),t},t.prototype._walkErrorTree=function(t,e,n){if(void 0===n&&(n=[]),!Object(it.g)(t[e],Error)||n.length+1>=this._limit)return n;var r=T(j(t[e]));return this._walkErrorTree(t[e],e,nt.d([r],n))},t.id="LinkedErrors",t}(),ee=Object(ft.f)(),ne=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){o((function(e){if(c().getIntegration(t)){if(!ee.navigator||!ee.location)return e;var n=e.request||{};return n.url=n.url||ee.location.href,n.headers=n.headers||{},n.headers["User-Agent"]=ee.navigator.userAgent,nt.a({},e,{request:n})}return e}))},t.id="UserAgent",t}(),re=[new X.InboundFilters,new X.FunctionToString,new Vt,new Xt,new Qt,new te,new ne],oe={},ie=Object(ft.f)();ie.Sentry&&ie.Sentry.Integrations&&(oe=ie.Sentry.Integrations);var ae=nt.a({},oe,X,Q)}}); //# sourceMappingURL=bundle.31a3a.js.map