"bundle";System.registerDynamic("node_modules/@sentry/browser/build/bundle.js",[],!1,function(t,e,n){var r,o=System.registry.get("@@global-helpers").prepareGlobal(n.id,"Sentry",null);return n=(r=this).Sentry,n=function(a){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])})(t,e)};function t(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var e,n,c=function(){return(c=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function u(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(r=i.next()).done;)s.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function s(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(u(arguments[e]));return t}function p(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return 1;default:return m(t,Error)}}function l(t){return"[object ErrorEvent]"===Object.prototype.toString.call(t)}function h(t){return"[object DOMError]"===Object.prototype.toString.call(t)}function d(t){return"[object String]"===Object.prototype.toString.call(t)}function f(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function _(t){return"[object Object]"===Object.prototype.toString.call(t)}function v(t){return"undefined"!=typeof Event&&m(t,Event)}function y(t){return"undefined"!=typeof Element&&m(t,Element)}function g(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function m(t,e){try{return t instanceof e}catch(t){return!1}}function b(t){try{for(var e,n=t,r=[],o=0,i=0,s=" > ".length;n&&o++<5&&!("html"===(e=function(t){var e,n,r,o,i=t,s=[];if(!i||!i.tagName)return"";s.push(i.tagName.toLowerCase()),i.id&&s.push("#"+i.id);if((t=i.className)&&d(t))for(e=t.split(/\s+/),o=0;o<e.length;o++)s.push("."+e[o]);var a=["type","name","title","alt"];for(o=0;o<a.length;o++)n=a[o],(r=i.getAttribute(n))&&s.push("["+n+'="'+r+'"]');return s.join("")}(n))||1<o&&80<=i+r.length*s+e.length);)r.push(e),i+=e.length,n=n.parentNode;return r.reverse().join(" > ")}catch(t){return"<unknown>"}}(oe={})[oe.None=0]="None",oe[oe.Error=1]="Error",oe[oe.Debug=2]="Debug",oe[oe.Verbose=3]="Verbose",(se=a.Severity||(a.Severity={})).Fatal="fatal",se.Error="error",se.Warning="warning",se.Log="log",se.Info="info",se.Debug="debug",se.Critical="critical",(e=a.Severity||(a.Severity={})).fromString=function(t){switch(t){case"debug":return e.Debug;case"info":return e.Info;case"warn":case"warning":return e.Warning;case"error":return e.Error;case"fatal":return e.Fatal;case"critical":return e.Critical;case"log":default:return e.Log}},(Te=a.Status||(a.Status={})).Unknown="unknown",Te.Skipped="skipped",Te.Success="success",Te.RateLimit="rate_limit",Te.Invalid="invalid",Te.Failed="failed",(n=a.Status||(a.Status={})).fromHttpCode=function(t){return 200<=t&&t<300?n.Success:429===t?n.RateLimit:400<=t&&t<500?n.Invalid:500<=t?n.Failed:n.Unknown};var o=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){return t.__proto__=e,t}:function(t,e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n]);return t});var i,E=(t(x,i=Error),x);function x(t){var e=this.constructor,n=i.call(this,t)||this;return n.message=t,n.name=e.prototype.constructor.name,o(n,e.prototype),n}var w=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/,S="Invalid Dsn",k=(T.prototype.toString=function(t){void 0===t&&(t=!1);var e=this,n=e.host,r=e.path,o=e.pass,i=e.port,s=e.projectId;return e.protocol+"://"+e.user+(t&&o?":"+o:"")+"@"+n+(i?":"+i:"")+"/"+(r?r+"/":r)+s},T.prototype._fromString=function(t){var e=w.exec(t);if(!e)throw new E(S);var n=u(e.slice(1),6),r=n[0],o=n[1],i=n[2],s=void 0===i?"":i,a=n[3],t=n[4],e=void 0===t?"":t,i="",t=n[5],n=t.split("/");1<n.length&&(i=n.slice(0,-1).join("/"),t=n.pop()),!t||(n=t.match(/^\d+/))&&(t=n[0]),this._fromComponents({host:a,pass:s,path:i,projectId:t,port:e,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 e=this;if(["protocol","user","host","projectId"].forEach(function(t){if(!e[t])throw new E(S+": "+t+" missing")}),!this.projectId.match(/^\d+$/))throw new E(S+": Invalid projectId "+this.projectId);if("http"!==this.protocol&&"https"!==this.protocol)throw new E(S+": Invalid protocol "+this.protocol);if(this.port&&isNaN(parseInt(this.port,10)))throw new E(S+": Invalid port "+this.port)},T);function T(t){"string"==typeof t?this._fromString(t):this._fromComponents(t),this._validate()}var j=(O.prototype.memoize=function(t){if(this._hasWeakSet)return!!this._inner.has(t)||(this._inner.add(t),!1);for(var e=0;e<this._inner.length;e++){if(this._inner[e]===t)return!0}return this._inner.push(t),!1},O.prototype.unmemoize=function(t){if(this._hasWeakSet)this._inner.delete(t);else for(var e=0;e<this._inner.length;e++)if(this._inner[e]===t){this._inner.splice(e,1);break}},O);function O(){this._hasWeakSet="function"==typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}var R="<anonymous>";function I(t){try{return t&&"function"==typeof t?t.name||R:R}catch(t){return R}}function N(t,e){return void 0===e&&(e=0),"string"!=typeof t||0===e||t.length<=e?t:t.substr(0,e)+"..."}function D(t,e){if(!Array.isArray(t))return"";for(var n=[],r=0;r<t.length;r++){var o=t[r];try{n.push(String(o))}catch(t){n.push("[value cannot be serialized]")}}return n.join(e)}function C(t,e){return!!d(t)&&(n=e,"[object RegExp]"===Object.prototype.toString.call(n)?e.test(t):"string"==typeof e&&-1!==t.indexOf(e));var n}function U(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 L(t){if(p(t)){var e=t,n={message:e.message,name:e.name,stack:e.stack};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}if(v(t)){var r,o=t,i={};i.type=o.type;try{i.target=y(o.target)?b(o.target):Object.prototype.toString.call(o.target)}catch(t){i.target="<unknown>"}try{i.currentTarget=y(o.currentTarget)?b(o.currentTarget):Object.prototype.toString.call(o.currentTarget)}catch(t){i.currentTarget="<unknown>"}for(r in"undefined"!=typeof CustomEvent&&m(t,CustomEvent)&&(i.detail=o.detail),o)Object.prototype.hasOwnProperty.call(o,r)&&(i[r]=o);return i}return t}function P(t){return t=JSON.stringify(t),~-encodeURI(t).split(/%..|./).length}function A(t,e){return"domain"===e&&t&&"object"==typeof t&&t._events?"[Domain]":"domainEmitter"===e?"[DomainEmitter]":"undefined"!=typeof global&&t===global?"[Global]":"undefined"!=typeof window&&t===window?"[Window]":"undefined"!=typeof document&&t===document?"[Document]":_(e=t)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e?"[SyntheticEvent]":"number"==typeof t&&t!=t?"[NaN]":void 0===t?"[undefined]":"function"==typeof t?"[Function: "+I(t)+"]":t}function B(t,e,n,r){if(void 0===n&&(n=1/0),void 0===r&&(r=new j),0===n)return o=e,i=Object.prototype.toString.call(o),"string"==typeof o?o:"[object Object]"===i?"[Object]":"[object Array]"===i?"[Array]":f(o=A(o))?o:i;var o,i;if(null!=e&&"function"==typeof e.toJSON)return e.toJSON();t=A(e,t);if(f(t))return t;var s,a=L(e),c=Array.isArray(e)?[]:{};if(r.memoize(e))return"[Circular ~]";for(s in a)Object.prototype.hasOwnProperty.call(a,s)&&(c[s]=B(s,a[s],n-1,r));return r.unmemoize(e),c}function F(t,n){try{return JSON.parse(JSON.stringify(t,function(t,e){return B(t,e,n)}))}catch(t){return"**non-serializable**"}}function M(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}var H={};function q(){return M()?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:H}function W(){var t=q(),e=t.crypto||t.msCrypto;if(void 0!==e&&e.getRandomValues){t=new Uint16Array(8);e.getRandomValues(t),t[3]=4095&t[3]|16384,t[4]=16383&t[4]|32768;e=function(t){for(var e=t.toString(16);e.length<4;)e="0"+e;return e};return e(t[0])+e(t[1])+e(t[2])+e(t[3])+e(t[4])+e(t[5])+e(t[6])+e(t[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)})}function Y(t){if(!t)return{};var e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};var n=e[6]||"",t=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],relative:e[5]+n+t}}function z(t){if(t.message)return t.message;if(t.exception&&t.exception.values&&t.exception.values[0]){var e=t.exception.values[0];return e.type&&e.value?e.type+": "+e.value:e.type||e.value||t.event_id||"<unknown>"}return t.event_id||"<unknown>"}function G(t){var e=q();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__)});t=t();return Object.keys(r).forEach(function(t){n[t]=r[t]}),t}function J(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 X(e,n){void 0===n&&(n={});try{e.exception.values[0].mechanism=e.exception.values[0].mechanism||{},Object.keys(n).forEach(function(t){e.exception.values[0].mechanism[t]=n[t]})}catch(t){}}function V(t,e){if(!e)return 6e4;var n=parseInt(""+e,10);if(!isNaN(n))return 1e3*n;e=Date.parse(""+e);return isNaN(e)?6e4:e-t}var $=q(),K="Sentry Logger ",Q=(Z.prototype.disable=function(){this._enabled=!1},Z.prototype.enable=function(){this._enabled=!0},Z.prototype.log=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&G(function(){$.console.log(K+"[Log]: "+t.join(" "))})},Z.prototype.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&G(function(){$.console.warn(K+"[Warn]: "+t.join(" "))})},Z.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&G(function(){$.console.error(K+"[Error]: "+t.join(" "))})},Z);function Z(){this._enabled=!1}$.__SENTRY__=$.__SENTRY__||{};var tt=$.__SENTRY__.logger||($.__SENTRY__.logger=new Q);function et(){if("fetch"in q())try{return new Headers,new Request(""),new Response,1}catch(t){return}}function nt(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}var rt,ot=q(),it={},st={};function at(t){if(!st[t])switch(st[t]=!0,t){case"console":!function(){if(!("console"in ot))return;["debug","info","warn","error","log","assert"].forEach(function(r){r in ot.console&&U(ot.console,r,function(n){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];ut("console",{args:t,level:r}),n&&Function.prototype.apply.call(n,ot.console,t)}})})}();break;case"dom":!function(){if(!("document"in ot))return;ot.document.addEventListener("click",ft("click",ut.bind(null,"dom")),!1),ot.document.addEventListener("keypress",_t(ut.bind(null,"dom")),!1),["EventTarget","Node"].forEach(function(t){t=ot[t]&&ot[t].prototype;t&&t.hasOwnProperty&&t.hasOwnProperty("addEventListener")&&(U(t,"addEventListener",function(r){return function(t,e,n){return e&&e.handleEvent?("click"===t&&U(e,"handleEvent",function(e){return function(t){return ft("click",ut.bind(null,"dom"))(t),e.call(this,t)}}),"keypress"===t&&U(e,"handleEvent",function(e){return function(t){return _t(ut.bind(null,"dom"))(t),e.call(this,t)}})):("click"===t&&ft("click",ut.bind(null,"dom"),!0)(this),"keypress"===t&&_t(ut.bind(null,"dom"))(this)),r.call(this,t,e,n)}}),U(t,"removeEventListener",function(r){return function(t,e,n){try{r.call(this,t,e.__sentry_wrapped__,n)}catch(t){}return r.call(this,t,e,n)}}))})}();break;case"xhr":!function(){if(!("XMLHttpRequest"in ot))return;var s=[],a=[],t=XMLHttpRequest.prototype;U(t,"open",function(i){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=this,n=e[1];r.__sentry_xhr__={method:d(e[0])?e[0].toUpperCase():e[0],url:e[1]},d(n)&&"POST"===r.__sentry_xhr__.method&&n.match(/sentry_key/)&&(r.__sentry_own_request__=!0);function o(){if(4===r.readyState){try{r.__sentry_xhr__&&(r.__sentry_xhr__.status_code=r.status)}catch(t){}try{var t=s.indexOf(r);-1!==t&&(s.splice(t),t=a.splice(t)[0],r.__sentry_xhr__&&void 0!==t[0]&&(r.__sentry_xhr__.body=t[0]))}catch(t){}ut("xhr",{args:e,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:r})}}return"onreadystatechange"in r&&"function"==typeof r.onreadystatechange?U(r,"onreadystatechange",function(n){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return o(),n.apply(r,t)}}):r.addEventListener("readystatechange",o),i.apply(r,e)}}),U(t,"send",function(n){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return s.push(this),a.push(t),ut("xhr",{args:t,startTimestamp:Date.now(),xhr:this}),n.apply(this,t)}})}();break;case"fetch":!function(){if(!function(){if(et()){var t=q();if(nt(t.fetch))return 1;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=nt(r.contentWindow.fetch)),n.head.removeChild(r)}catch(t){tt.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return e}}())return;U(ot,"fetch",function(r){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n={args:t,fetchData:{method:function(t){void 0===t&&(t=[]);if("Request"in ot&&m(t[0],Request)&&t[0].method)return String(t[0].method).toUpperCase();if(t[1]&&t[1].method)return String(t[1].method).toUpperCase();return"GET"}(t),url:function(t){void 0===t&&(t=[]);if("string"==typeof t[0])return t[0];if("Request"in ot&&m(t[0],Request))return t[0].url;return String(t[0])}(t)},startTimestamp:Date.now()};return ut("fetch",c({},n)),r.apply(ot,t).then(function(t){return ut("fetch",c(c({},n),{endTimestamp:Date.now(),response:t})),t},function(t){throw ut("fetch",c(c({},n),{endTimestamp:Date.now(),error:t})),t})}})}();break;case"history":!function(){if(!function(){var t=q(),e=(e=t.chrome)&&e.app&&e.app.runtime,t="history"in t&&!!t.history.pushState&&!!t.history.replaceState;return!e&&t}())return;var r=ot.onpopstate;function t(o){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n,r=2<t.length?t[2]:void 0;return r&&(n=rt,r=String(r),ut("history",{from:n,to:rt=r})),o.apply(this,t)}}ot.onpopstate=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=ot.location.href;if(ut("history",{from:rt,to:rt=n}),r)return r.apply(this,t)},U(ot.history,"pushState",t),U(ot.history,"replaceState",t)}();break;case"error":vt=ot.onerror,ot.onerror=function(t,e,n,r,o){return ut("error",{column:r,error:o,line:n,msg:t,url:e}),!!vt&&vt.apply(this,arguments)};break;case"unhandledrejection":gt=ot.onunhandledrejection,ot.onunhandledrejection=function(t){return ut("unhandledrejection",t),!gt||gt.apply(this,arguments)};break;default:tt.warn("unknown instrumentation type:",t)}}function ct(t){t&&"string"==typeof t.type&&"function"==typeof t.callback&&(it[t.type]=it[t.type]||[],it[t.type].push(t.callback),at(t.type))}function ut(e,t){var n,r,o,i,s;if(e&&it[e])try{for(var a=(o=it[e]||[],i="function"==typeof Symbol&&o[Symbol.iterator],s=0,i?i.call(o):{next:function(){return o&&s>=o.length&&(o=void 0),{value:o&&o[s++],done:!o}}}),c=a.next();!c.done;c=a.next()){var u=c.value;try{u(t)}catch(t){tt.error("Error while triggering instrumentation handler.\nType: "+e+"\nName: "+I(u)+"\nError: "+t)}}}catch(t){n={error:t}}finally{try{c&&!c.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}}var pt,lt,ht=1e3,dt=0;function ft(e,n,r){return void 0===r&&(r=!1),function(t){pt=void 0,t&&lt!==t&&(lt=t,dt&&clearTimeout(dt),r?dt=setTimeout(function(){n({event:t,name:e})}):n({event:t,name:e}))}}function _t(r){return function(t){var e;try{e=t.target}catch(t){return}var n=e&&e.tagName;n&&("INPUT"===n||"TEXTAREA"===n||e.isContentEditable)&&(pt||ft("input",r)(t),clearTimeout(pt),pt=setTimeout(function(){pt=void 0},ht))}}var vt=null;var yt,gt=null;(He=yt=yt||{}).PENDING="PENDING",He.RESOLVED="RESOLVED",He.REJECTED="REJECTED";var mt=(bt.resolve=function(e){return new bt(function(t){t(e)})},bt.reject=function(n){return new bt(function(t,e){e(n)})},bt.all=function(t){return new bt(function(n,r){var o,i;Array.isArray(t)?0!==t.length?(o=t.length,i=[],t.forEach(function(t,e){bt.resolve(t).then(function(t){i[e]=t,0===--o&&n(i)}).then(null,r)})):n([]):r(new TypeError("Promise.all requires an array as input."))})},bt.prototype.then=function(r,o){var t=this;return new bt(function(e,n){t._attachHandler({done:!1,onfulfilled:function(t){if(r)try{return void e(r(t))}catch(t){return void n(t)}else e(t)},onrejected:function(t){if(o)try{return void e(o(t))}catch(t){return void n(t)}else n(t)}})})},bt.prototype.catch=function(t){return this.then(function(t){return t},t)},bt.prototype.finally=function(o){var i=this;return new bt(function(t,e){var n,r;return i.then(function(t){r=!1,n=t,o&&o()},function(t){r=!0,n=t,o&&o()}).then(function(){(r?e:t)(n)})})},bt.prototype.toString=function(){return"[object SyncPromise]"},bt);function bt(t){var n=this;this._state=yt.PENDING,this._handlers=[],this._resolve=function(t){n._setResult(yt.RESOLVED,t)},this._reject=function(t){n._setResult(yt.REJECTED,t)},this._setResult=function(t,e){n._state===yt.PENDING&&(g(e)?e.then(n._resolve,n._reject):(n._state=t,n._value=e,n._executeHandlers()))},this._attachHandler=function(t){n._handlers=n._handlers.concat(t),n._executeHandlers()},this._executeHandlers=function(){var t;n._state!==yt.PENDING&&(t=n._handlers.slice(),n._handlers=[],t.forEach(function(t){t.done||(n._state===yt.RESOLVED&&t.onfulfilled&&t.onfulfilled(n._value),n._state===yt.REJECTED&&t.onrejected&&t.onrejected(n._value),t.done=!0)}))};try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}var Et=(xt.prototype.isReady=function(){return void 0===this._limit||this.length()<this._limit},xt.prototype.add=function(t){var e=this;return this.isReady()?(-1===this._buffer.indexOf(t)&&this._buffer.push(t),t.then(function(){return e.remove(t)}).then(null,function(){return e.remove(t).then(null,function(){})}),t):mt.reject(new E("Not adding Promise due to buffer limit reached."))},xt.prototype.remove=function(t){return this._buffer.splice(this._buffer.indexOf(t),1)[0]},xt.prototype.length=function(){return this._buffer.length},xt.prototype.drain=function(n){var r=this;return new mt(function(t){var e=setTimeout(function(){n&&0<n&&t(!1)},n);mt.all(r._buffer).then(function(){clearTimeout(e),t(!0)}).then(null,function(){t(!0)})})},xt);function xt(t){this._limit=t,this._buffer=[]}var wt={nowSeconds:function(){return Date.now()/1e3}};var St=(M()?function(){try{return(t=module,e="perf_hooks",t.require(e)).performance}catch(t){return}var t,e}:function(){var t=q().performance;if(t&&t.now)return{now:function(){return t.now()},timeOrigin:Date.now()-t.now()}})(),kt=void 0===St?wt:{nowSeconds:function(){return(St.timeOrigin+St.now())/1e3}},Tt=wt.nowSeconds.bind(wt),jt=(kt.nowSeconds.bind(kt),function(){var t=q().performance;if(t)t.timeOrigin?t.timeOrigin:t.timing&&t.timing.navigationStart||Date.now()}(),Ot.clone=function(t){var e=new Ot;return t&&(e._breadcrumbs=s(t._breadcrumbs),e._tags=c({},t._tags),e._extra=c({},t._extra),e._contexts=c({},t._contexts),e._user=t._user,e._level=t._level,e._span=t._span,e._transactionName=t._transactionName,e._fingerprint=t._fingerprint,e._eventProcessors=s(t._eventProcessors)),e},Ot.prototype.addScopeListener=function(t){this._scopeListeners.push(t)},Ot.prototype.addEventProcessor=function(t){return this._eventProcessors.push(t),this},Ot.prototype.setUser=function(t){return this._user=t||{},this._notifyScopeListeners(),this},Ot.prototype.setTags=function(t){return this._tags=c(c({},this._tags),t),this._notifyScopeListeners(),this},Ot.prototype.setTag=function(t,e){var n;return this._tags=c(c({},this._tags),((n={})[t]=e,n)),this._notifyScopeListeners(),this},Ot.prototype.setExtras=function(t){return this._extra=c(c({},this._extra),t),this._notifyScopeListeners(),this},Ot.prototype.setExtra=function(t,e){var n;return this._extra=c(c({},this._extra),((n={})[t]=e,n)),this._notifyScopeListeners(),this},Ot.prototype.setFingerprint=function(t){return this._fingerprint=t,this._notifyScopeListeners(),this},Ot.prototype.setLevel=function(t){return this._level=t,this._notifyScopeListeners(),this},Ot.prototype.setTransactionName=function(t){return this._transactionName=t,this._notifyScopeListeners(),this},Ot.prototype.setTransaction=function(t){return this.setTransactionName(t)},Ot.prototype.setContext=function(t,e){var n;return null===e?delete this._contexts[t]:this._contexts=c(c({},this._contexts),((n={})[t]=e,n)),this._notifyScopeListeners(),this},Ot.prototype.setSpan=function(t){return this._span=t,this._notifyScopeListeners(),this},Ot.prototype.getSpan=function(){return this._span},Ot.prototype.getTransaction=function(){var t,e=this.getSpan();return null!==e&&void 0!==e&&e.transaction?null===e||void 0===e?void 0:e.transaction:null!==(t=null===e||void 0===e?void 0:e.spanRecorder)&&void 0!==t&&t.spans[0]?e.spanRecorder.spans[0]:void 0},Ot.prototype.update=function(t){if(!t)return this;if("function"!=typeof t)return t instanceof Ot?(this._tags=c(c({},this._tags),t._tags),this._extra=c(c({},this._extra),t._extra),this._contexts=c(c({},this._contexts),t._contexts),t._user&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint)):_(t)&&(this._tags=c(c({},this._tags),t.tags),this._extra=c(c({},this._extra),t.extra),this._contexts=c(c({},this._contexts),t.contexts),t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint)),this;t=t(this);return t instanceof Ot?t:this},Ot.prototype.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._span=void 0,this._notifyScopeListeners(),this},Ot.prototype.addBreadcrumb=function(t,e){t=c({timestamp:Tt()},t);return this._breadcrumbs=void 0!==e&&0<=e?s(this._breadcrumbs,[t]).slice(-e):s(this._breadcrumbs,[t]),this._notifyScopeListeners(),this},Ot.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},Ot.prototype.applyToEvent=function(t,e){return this._extra&&Object.keys(this._extra).length&&(t.extra=c(c({},this._extra),t.extra)),this._tags&&Object.keys(this._tags).length&&(t.tags=c(c({},this._tags),t.tags)),this._user&&Object.keys(this._user).length&&(t.user=c(c({},this._user),t.user)),this._contexts&&Object.keys(this._contexts).length&&(t.contexts=c(c({},this._contexts),t.contexts)),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span&&(t.contexts=c({trace:this._span.getTraceContext()},t.contexts)),this._applyFingerprint(t),t.breadcrumbs=s(t.breadcrumbs||[],this._breadcrumbs),t.breadcrumbs=0<t.breadcrumbs.length?t.breadcrumbs:void 0,this._notifyEventProcessors(s(Rt(),this._eventProcessors),t,e)},Ot.prototype._notifyEventProcessors=function(r,o,i,s){var a=this;return void 0===s&&(s=0),new mt(function(e,t){var n=r[s];null===o||"function"!=typeof n?e(o):(g(n=n(c({},o),i))?n.then(function(t){return a._notifyEventProcessors(r,t,i,s+1).then(e)}):a._notifyEventProcessors(r,n,i,s+1).then(e)).then(null,t)})},Ot.prototype._notifyScopeListeners=function(){var e=this;this._notifyingListeners||(this._notifyingListeners=!0,setTimeout(function(){e._scopeListeners.forEach(function(t){t(e)}),e._notifyingListeners=!1}))},Ot.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},Ot);function Ot(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={}}function Rt(){var t=q();return t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.globalEventProcessors=t.__SENTRY__.globalEventProcessors||[],t.__SENTRY__.globalEventProcessors}function It(t){Rt().push(t)}var Nt=3,Dt=(Ct.prototype.isOlderThan=function(t){return this._version<t},Ct.prototype.bindClient=function(t){(this.getStackTop().client=t)&&t.setupIntegrations&&t.setupIntegrations()},Ct.prototype.pushScope=function(){var t=this.getStack(),t=0<t.length?t[t.length-1].scope:void 0,t=jt.clone(t);return this.getStack().push({client:this.getClient(),scope:t}),t},Ct.prototype.popScope=function(){return void 0!==this.getStack().pop()},Ct.prototype.withScope=function(t){var e=this.pushScope();try{t(e)}finally{this.popScope()}},Ct.prototype.getClient=function(){return this.getStackTop().client},Ct.prototype.getScope=function(){return this.getStackTop().scope},Ct.prototype.getStack=function(){return this._stack},Ct.prototype.getStackTop=function(){return this._stack[this._stack.length-1]},Ct.prototype.captureException=function(t,e){var n=this._lastEventId=W(),r=e;if(!e){e=void 0;try{throw new Error("Sentry syntheticException")}catch(t){e=t}r={originalException:t,syntheticException:e}}return this._invokeClient("captureException",t,c(c({},r),{event_id:n})),n},Ct.prototype.captureMessage=function(t,e,n){var r=this._lastEventId=W(),o=n;if(!n){n=void 0;try{throw new Error(t)}catch(t){n=t}o={originalException:t,syntheticException:n}}return this._invokeClient("captureMessage",t,e,c(c({},o),{event_id:r})),r},Ct.prototype.captureEvent=function(t,e){var n=this._lastEventId=W();return this._invokeClient("captureEvent",t,c(c({},e),{event_id:n})),n},Ct.prototype.lastEventId=function(){return this._lastEventId},Ct.prototype.addBreadcrumb=function(t,e){var n,r,o,i,s=this.getStackTop();s.scope&&s.client&&(r=s.client.getOptions&&s.client.getOptions()||{},n=void 0===(o=r.beforeBreadcrumb)?null:o,(r=void 0===(o=r.maxBreadcrumbs)?100:o)<=0||(o=Tt(),i=c({timestamp:o},t),null!==(t=n?G(function(){return n(i,e)}):i)&&s.scope.addBreadcrumb(t,Math.min(r,100))))},Ct.prototype.setUser=function(t){var e=this.getStackTop();e.scope&&e.scope.setUser(t)},Ct.prototype.setTags=function(t){var e=this.getStackTop();e.scope&&e.scope.setTags(t)},Ct.prototype.setExtras=function(t){var e=this.getStackTop();e.scope&&e.scope.setExtras(t)},Ct.prototype.setTag=function(t,e){var n=this.getStackTop();n.scope&&n.scope.setTag(t,e)},Ct.prototype.setExtra=function(t,e){var n=this.getStackTop();n.scope&&n.scope.setExtra(t,e)},Ct.prototype.setContext=function(t,e){var n=this.getStackTop();n.scope&&n.scope.setContext(t,e)},Ct.prototype.configureScope=function(t){var e=this.getStackTop();e.scope&&e.client&&t(e.scope)},Ct.prototype.run=function(t){var e=Lt(this);try{t(this)}finally{Lt(e)}},Ct.prototype.getIntegration=function(e){var t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(t){return tt.warn("Cannot retrieve integration "+e.id+" from the current Hub"),null}},Ct.prototype.startSpan=function(t){return this._callExtensionMethod("startSpan",t)},Ct.prototype.startTransaction=function(t,e){return this._callExtensionMethod("startTransaction",t,e)},Ct.prototype.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},Ct.prototype._invokeClient=function(t){for(var e,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=this.getStackTop();o&&o.client&&o.client[t]&&(e=o.client)[t].apply(e,s(n,[o.scope]))},Ct.prototype._callExtensionMethod=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=Ut().__SENTRY__;if(r&&r.extensions&&"function"==typeof r.extensions[t])return r.extensions[t].apply(this,e);tt.warn("Extension method "+t+" couldn't be found, doing nothing.")},Ct);function Ct(t,e,n){void 0===e&&(e=new jt),void 0===n&&(n=Nt),this._version=n,this._stack=[],this._stack.push({client:t,scope:e}),this.bindClient(t)}function Ut(){var t=q();return t.__SENTRY__=t.__SENTRY__||{extensions:{},hub:void 0},t}function Lt(t){var e=Ut(),n=Bt(e);return Ft(e,t),n}function Pt(){var t=Ut();return At(t)&&!Bt(t).isOlderThan(Nt)||Ft(t,new Dt),(M()?function(e){try{var t,n=function(){var t=Ut().__SENTRY__;return t&&t.extensions&&t.extensions.domain&&t.extensions.domain.active}();return n?(At(n)&&!Bt(n).isOlderThan(Nt)||(t=Bt(e).getStackTop(),Ft(n,new Dt(t.client,jt.clone(t.scope)))),Bt(n)):Bt(e)}catch(t){return Bt(e)}}:Bt)(t)}function At(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function Bt(t){return t&&t.__SENTRY__&&t.__SENTRY__.hub||(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=new Dt),t.__SENTRY__.hub}function Ft(t,e){return t&&(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=e,1)}function Mt(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=Pt();if(r&&r[t])return r[t].apply(r,s(e));throw new Error("No hub defined or "+t+" was not found on the hub, please open a bug report.")}function Ht(t,e){var n;try{throw new Error("Sentry syntheticException")}catch(t){n=t}return Mt("captureException",t,{captureContext:e,originalException:t,syntheticException:n})}function qt(t){Mt("withScope",t)}var Wt=(Yt.prototype.getDsn=function(){return this._dsnObject},Yt.prototype.getBaseApiEndpoint=function(){var t=this._dsnObject,e=t.protocol?t.protocol+":":"",n=t.port?":"+t.port:"";return e+"//"+t.host+n+(t.path?"/"+t.path:"")+"/api/"},Yt.prototype.getStoreEndpoint=function(){return this._getIngestEndpoint("store")},Yt.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return this.getStoreEndpoint()+"?"+this._encodedAuth()},Yt.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return this._getEnvelopeEndpoint()+"?"+this._encodedAuth()},Yt.prototype.getStoreEndpointPath=function(){var t=this._dsnObject;return(t.path?"/"+t.path:"")+"/api/"+t.projectId+"/store/"},Yt.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(", ")}},Yt.prototype.getReportDialogEndpoint=function(t){void 0===t&&(t={});var e,n=this._dsnObject,r=this.getBaseApiEndpoint()+"embed/error-page/",o=[];for(e in o.push("dsn="+n.toString()),t)"user"===e?t.user&&(t.user.name&&o.push("name="+encodeURIComponent(t.user.name)),t.user.email&&o.push("email="+encodeURIComponent(t.user.email))):o.push(encodeURIComponent(e)+"="+encodeURIComponent(t[e]));return o.length?r+"?"+o.join("&"):r},Yt.prototype._getEnvelopeEndpoint=function(){return this._getIngestEndpoint("envelope")},Yt.prototype._getIngestEndpoint=function(t){return""+this.getBaseApiEndpoint()+this._dsnObject.projectId+"/"+t+"/"},Yt.prototype._encodedAuth=function(){var e,t={sentry_key:this._dsnObject.user,sentry_version:"7"};return e=t,Object.keys(e).map(function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])}).join("&")},Yt);function Yt(t){this.dsn=t,this._dsnObject=new k(t)}var zt=[];function Gt(t){var e,n,r,o,i={};return t=(e=t).defaultIntegrations&&s(e.defaultIntegrations)||[],e=e.integrations,o=[],Array.isArray(e)?(n=e.map(function(t){return t.name}),r=[],t.forEach(function(t){-1===n.indexOf(t.name)&&-1===r.indexOf(t.name)&&(o.push(t),r.push(t.name))}),e.forEach(function(t){-1===r.indexOf(t.name)&&(o.push(t),r.push(t.name))})):o="function"==typeof e?(o=e(t),Array.isArray(o)?o:[o]):s(t),-1!==(t=o.map(function(t){return t.name})).indexOf("Debug")&&o.push.apply(o,s(o.splice(t.indexOf("Debug"),1))),o.forEach(function(t){i[t.name]=t,t=t,-1===zt.indexOf(t.name)&&(t.setupOnce(It,Pt),zt.push(t.name),tt.log("Integration installed: "+t.name))}),i}var Jt=(Xt.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){o=r.captureEvent(t,e,n)}),o},Xt.prototype.captureMessage=function(t,e,n,r){var o=this,i=n&&n.event_id;return this._processing=!0,(f(t)?this._getBackend().eventFromMessage(""+t,e,n):this._getBackend().eventFromException(t,n)).then(function(t){i=o.captureEvent(t,n,r)}),i},Xt.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){tt.error(t),r._processing=!1}),o},Xt.prototype.getDsn=function(){return this._dsn},Xt.prototype.getOptions=function(){return this._options},Xt.prototype.flush=function(t){var n=this;return this._isClientProcessing(t).then(function(e){return clearInterval(e.interval),n._getBackend().getTransport().close(t).then(function(t){return e.ready&&t})})},Xt.prototype.close=function(t){var e=this;return this.flush(t).then(function(t){return e.getOptions().enabled=!1,t})},Xt.prototype.setupIntegrations=function(){this._isEnabled()&&(this._integrations=Gt(this._options))},Xt.prototype.getIntegration=function(e){try{return this._integrations[e.id]||null}catch(t){return tt.warn("Cannot retrieve integration "+e.id+" from the current Client"),null}},Xt.prototype._isClientProcessing=function(r){var o=this;return new mt(function(t){var e=0,n=0;clearInterval(n),n=setInterval(function(){o._processing?(e+=1,r&&r<=e&&t({interval:n,ready:!1})):t({interval:n,ready:!0})},1)})},Xt.prototype._getBackend=function(){return this._backend},Xt.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},Xt.prototype._prepareEvent=function(t,e,n){var r=this,o=this.getOptions().normalizeDepth,i=void 0===o?3:o,o=c(c({},t),{event_id:t.event_id||(n&&n.event_id?n.event_id:W()),timestamp:t.timestamp||Tt()});this._applyClientOptions(o),this._applyIntegrationsMetadata(o);t=e;n&&n.captureContext&&(t=jt.clone(t).update(n.captureContext));e=mt.resolve(o);return t&&(e=t.applyToEvent(o,n)),e.then(function(t){return"number"==typeof i&&0<i?r._normalizeEvent(t,i):t})},Xt.prototype._normalizeEvent=function(t,e){if(!t)return null;var n=c(c(c(c(c({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(function(t){return c(c({},t),t.data&&{data:F(t.data,e)})})}),t.user&&{user:F(t.user,e)}),t.contexts&&{contexts:F(t.contexts,e)}),t.extra&&{extra:F(t.extra,e)});return t.contexts&&t.contexts.trace&&(n.contexts.trace=t.contexts.trace),n},Xt.prototype._applyClientOptions=function(t){var e=this.getOptions(),n=e.environment,r=e.release,o=e.dist,e=e.maxValueLength,e=void 0===e?250:e;void 0===t.environment&&void 0!==n&&(t.environment=n),void 0===t.release&&void 0!==r&&(t.release=r),void 0===t.dist&&void 0!==o&&(t.dist=o),t.message&&(t.message=N(t.message,e));o=t.exception&&t.exception.values&&t.exception.values[0];o&&o.value&&(o.value=N(o.value,e));t=t.request;t&&t.url&&(t.url=N(t.url,e))},Xt.prototype._applyIntegrationsMetadata=function(t){var e=t.sdk,t=Object.keys(this._integrations);e&&0<t.length&&(e.integrations=t)},Xt.prototype._sendEvent=function(t){this._getBackend().sendEvent(t)},Xt.prototype._processEvent=function(t,o,e){var i=this,n=this.getOptions(),s=n.beforeSend,n=n.sampleRate;if(!this._isEnabled())return mt.reject("SDK not enabled, will not send event.");var a="transaction"===t.type;return!a&&"number"==typeof n&&Math.random()>n?mt.reject("This event has been sampled, will not send event."):new mt(function(n,r){i._prepareEvent(t,e,o).then(function(t){if(null!==t){var e=t;if(o&&o.data&&!0===o.data.__sentry__||!s||a)return i._sendEvent(e),void n(e);t=s(t,o);if(void 0===t)tt.error("`beforeSend` method has to return `null` or a valid event.");else if(g(t))i._handleAsyncBeforeSend(t,n,r);else{if(null===(e=t))return tt.log("`beforeSend` returned `null`, will not send event."),void n(null);i._sendEvent(e),n(e)}}else r("An event processor returned null, will not send event.")}).then(null,function(t){i.captureException(t,{data:{__sentry__:!0},originalException:t}),r("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+t)})})},Xt.prototype._handleAsyncBeforeSend=function(t,e,n){var r=this;t.then(function(t){null!==t?(r._sendEvent(t),e(t)):n("`beforeSend` returned `null`, will not send event.")}).then(null,function(t){n("beforeSend rejected with "+t)})},Xt);function Xt(t,e){this._integrations={},this._processing=!1,this._backend=new t(e),(this._options=e).dsn&&(this._dsn=new k(e.dsn))}var Vt=($t.prototype.sendEvent=function(t){return mt.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:a.Status.Skipped})},$t.prototype.close=function(t){return mt.resolve(!0)},$t);function $t(){}var Kt,Qt=(Zt.prototype.eventFromException=function(t,e){throw new E("Backend has to implement `eventFromException` method")},Zt.prototype.eventFromMessage=function(t,e,n){throw new E("Backend has to implement `eventFromMessage` method")},Zt.prototype.sendEvent=function(t){this._transport.sendEvent(t).then(null,function(t){tt.error("Error while sending event: "+t)})},Zt.prototype.getTransport=function(){return this._transport},Zt.prototype._setupTransport=function(){return new Vt},Zt);function Zt(t){this._options=t,this._options.dsn||tt.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}function te(t,e){var n="transaction"===t.type,e={body:JSON.stringify(t),url:n?e.getEnvelopeEndpointWithUrlEncodedAuth():e.getStoreEndpointWithUrlEncodedAuth()};return n&&(t=JSON.stringify({event_id:t.event_id,sent_at:(new Date).toISOString()})+"\n"+JSON.stringify({type:t.type})+"\n"+e.body,e.body=t),e}var ee=(ne.prototype.setupOnce=function(){Kt=Function.prototype.toString,Function.prototype.toString=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=this.__sentry_original__||this;return Kt.apply(n,t)}},ne.id="FunctionToString",ne);function ne(){this.name=ne.id}var re=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],oe=(ie.prototype.setupOnce=function(){It(function(t){var e=Pt();if(!e)return t;var n=e.getIntegration(ie);if(n){e=e.getClient(),e=e?e.getOptions():{},e=n._mergeOptions(e);if(n._shouldDropEvent(t,e))return null}return t})},ie.prototype._shouldDropEvent=function(t,e){return this._isSentryError(t,e)?(tt.warn("Event dropped due to being internal Sentry Error.\nEvent: "+z(t)),!0):this._isIgnoredError(t,e)?(tt.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+z(t)),!0):this._isDeniedUrl(t,e)?(tt.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: "+z(t)+".\nUrl: "+this._getEventFilterUrl(t)),!0):!this._isAllowedUrl(t,e)&&(tt.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: "+z(t)+".\nUrl: "+this._getEventFilterUrl(t)),!0)},ie.prototype._isSentryError=function(t,e){if(!e.ignoreInternal)return!1;try{return t&&t.exception&&t.exception.values&&t.exception.values[0]&&"SentryError"===t.exception.values[0].type||!1}catch(t){return!1}},ie.prototype._isIgnoredError=function(t,n){return!(!n.ignoreErrors||!n.ignoreErrors.length)&&this._getPossibleEventMessages(t).some(function(e){return n.ignoreErrors.some(function(t){return C(e,t)})})},ie.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 C(n,t)})},ie.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 C(n,t)})},ie.prototype._mergeOptions=function(t){return void 0===t&&(t={}),{allowUrls:s(this._options.whitelistUrls||[],this._options.allowUrls||[],t.whitelistUrls||[],t.allowUrls||[]),denyUrls:s(this._options.blacklistUrls||[],this._options.denyUrls||[],t.blacklistUrls||[],t.denyUrls||[]),ignoreErrors:s(this._options.ignoreErrors||[],t.ignoreErrors||[],re),ignoreInternal:void 0===this._options.ignoreInternal||this._options.ignoreInternal}},ie.prototype._getPossibleEventMessages=function(e){if(e.message)return[e.message];if(e.exception)try{var t=e.exception.values&&e.exception.values[0]||{},n=t.type,t=t.value,t=void 0===t?"":t;return[""+t,(void 0===n?"":n)+": "+t]}catch(t){return tt.error("Cannot extract message for event "+z(e)),[]}return[]},ie.prototype._getEventFilterUrl=function(e){try{if(e.stacktrace){var t=e.stacktrace.frames;return t&&t[t.length-1].filename||null}if(e.exception){t=e.exception.values&&e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames;return t&&t[t.length-1].filename||null}return null}catch(t){return tt.error("Cannot extract url for event "+z(e)),null}},ie.id="InboundFilters",ie);function ie(t){void 0===t&&(t={}),this._options=t,this.name=ie.id}var se=Object.freeze({__proto__:null,FunctionToString:ee,InboundFilters:oe}),ae="?",ce=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,ue=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,pe=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,le=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,he=/\((\S*)(?::(\d+))(?::(\d+))\)/,de=/Minified React error #\d+;/i;function fe(t){var e=null,n=0;t&&("number"==typeof t.framesToPop?n=t.framesToPop:de.test(t.message)&&(n=1));try{if(e=function(t){if(!t||!t.stacktrace)return null;for(var e,n=t.stacktrace,r=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,o=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\((.*)\))? in (.*):\s*$/i,i=n.split("\n"),s=[],a=0;a<i.length;a+=2){var c=null;(e=r.exec(i[a]))?c={url:e[2],func:e[3],args:[],line:+e[1],column:null}:(e=o.exec(i[a]))&&(c={url:e[6],func:e[3]||e[4],args:e[5]?e[5].split(","):[],line:+e[1],column:+e[2]}),c&&(!c.func&&c.line&&(c.func=ae),s.push(c))}return s.length?{message:ve(t),name:t.name,stack:s}:null}(t))return _e(e,n)}catch(t){}try{if(e=function(t){if(!t||!t.stack)return null;for(var e,n,r=[],o=t.stack.split("\n"),i=0;i<o.length;++i){if(n=ce.exec(o[i])){var s=n[2]&&0===n[2].indexOf("native");n[2]&&0===n[2].indexOf("eval")&&(e=he.exec(n[2]))&&(n[2]=e[1],n[3]=e[2],n[4]=e[3]),s={url:n[2]&&0===n[2].indexOf("address at ")?n[2].substr("address at ".length):n[2],func:n[1]||ae,args:s?[n[2]]:[],line:n[3]?+n[3]:null,column:n[4]?+n[4]:null}}else if(n=pe.exec(o[i]))s={url:n[2],func:n[1]||ae,args:[],line:+n[3],column:n[4]?+n[4]:null};else{if(!(n=ue.exec(o[i])))continue;n[3]&&-1<n[3].indexOf(" > eval")&&(e=le.exec(n[3]))?(n[1]=n[1]||"eval",n[3]=e[1],n[4]=e[2],n[5]=""):0!==i||n[5]||void 0===t.columnNumber||(r[0].column=t.columnNumber+1),s={url:n[3],func:n[1]||ae,args:n[2]?n[2].split(","):[],line:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}!s.func&&s.line&&(s.func=ae),r.push(s)}return r.length?{message:ve(t),name:t.name,stack:r}:null}(t))return _e(e,n)}catch(t){}return{message:ve(t),name:t&&t.name,stack:[],failed:!0}}function _e(e,t){try{return c(c({},e),{stack:e.stack.slice(t)})}catch(t){return e}}function ve(t){t=t&&t.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}var ye=50;function ge(t){var e=Ee(t.stack),t={type:t.name,value:t.message};return e&&e.length&&(t.stacktrace={frames:e}),void 0===t.type&&""===t.value&&(t.value="Unrecoverable error caught"),t}function me(t,e,n){t={exception:{values:[{type:v(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:"Non-Error "+(n?"promise rejection":"exception")+" captured with keys: "+function(t,e){void 0===e&&(e=40);var n=Object.keys(L(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return N(n[0],e);for(var r=n.length;0<r;r--){var o=n.slice(0,r).join(", ");if(!(o.length>e))return r===n.length?o:N(o,e)}return""}(t)}]},extra:{__serialized__:function t(e,n,r){void 0===n&&(n=3),void 0===r&&(r=102400);var o=F(e,n);return P(o)>r?t(e,n-1,r):o}(t)}};return e&&(e=Ee(fe(e).stack),t.stacktrace={frames:e}),t}function be(t){return{exception:{values:[ge(t)]}}}function Ee(t){if(!t||!t.length)return[];var e=t,n=e[0].func||"",t=e[e.length-1].func||"";return-1===n.indexOf("captureMessage")&&-1===n.indexOf("captureException")||(e=e.slice(1)),-1!==t.indexOf("sentryWrapped")&&(e=e.slice(0,-1)),e.slice(0,ye).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}}).reverse()}function xe(t,e,n){t=Se(e,n&&n.syntheticException||void 0,{attachStacktrace:t.attachStacktrace});return X(t,{handled:!0,type:"generic"}),t.level=a.Severity.Error,n&&n.event_id&&(t.event_id=n.event_id),mt.resolve(t)}function we(t,e,n,r){void 0===n&&(n=a.Severity.Info);t=ke(e,r&&r.syntheticException||void 0,{attachStacktrace:t.attachStacktrace});return t.level=n,r&&r.event_id&&(t.event_id=r.event_id),mt.resolve(t)}function Se(t,e,n){if(void 0===n&&(n={}),l(t)&&t.error)return r=be(fe(t=t.error));if(h(t)||(i=t,"[object DOMException]"===Object.prototype.toString.call(i))){var r,o=t,i=o.name||(h(o)?"DOMError":"DOMException"),i=o.message?i+": "+o.message:i;return J(r=ke(i,e,n),i),r}return p(t)?r=be(fe(t)):(_(t)||v(t)?X(r=me(t,e,n.rejection),{synthetic:!0}):(J(r=ke(t,e,n),""+t,void 0),X(r,{synthetic:!0})),r)}function ke(t,e,n){void 0===n&&(n={});t={message:t};return n.attachStacktrace&&e&&(e=Ee(fe(e).stack),t.stacktrace={frames:e}),t}var Te=(je.prototype.sendEvent=function(t){throw new E("Transport Class has to implement `sendEvent` method")},je.prototype.close=function(t){return this._buffer.drain(t)},je);function je(t){this.options=t,this._buffer=new Et(30),this._api=new Wt(this.options.dsn),this.url=this._api.getStoreEndpointWithUrlEncodedAuth()}var Oe,Re=q(),Ie=(t(Ne,Oe=Te),Ne.prototype.sendEvent=function(t){var s=this;if(new Date(Date.now())<this._disabledUntil)return Promise.reject({event:t,reason:"Transport locked till "+this._disabledUntil+" due to too many requests.",status:429});var e=te(t,this._api),n={body:e.body,method:"POST",referrerPolicy:function(){if(et())try{return new Request("_",{referrerPolicy:"origin"}),1}catch(t){return}}()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(n,this.options.fetchParameters),void 0!==this.options.headers&&(n.headers=this.options.headers),this._buffer.add(new mt(function(o,i){Re.fetch(e.url,n).then(function(t){var e,n,r=a.Status.fromHttpCode(t.status);r!==a.Status.Success?(r===a.Status.RateLimit&&(e=Date.now(),n=t.headers.get("Retry-After"),s._disabledUntil=new Date(e+V(e,n)),tt.warn("Too many requests, backing off till: "+s._disabledUntil)),i(t)):o({status:r})}).catch(i)}))},Ne);function Ne(){var t=null!==Oe&&Oe.apply(this,arguments)||this;return t._disabledUntil=new Date(Date.now()),t}var De,Ce=(t(Ue,De=Te),Ue.prototype.sendEvent=function(t){var s=this;if(new Date(Date.now())<this._disabledUntil)return Promise.reject({event:t,reason:"Transport locked till "+this._disabledUntil+" due to too many requests.",status:429});var e=te(t,this._api);return this._buffer.add(new mt(function(r,o){var t,i=new XMLHttpRequest;for(t in i.onreadystatechange=function(){var t,e,n;4===i.readyState&&((t=a.Status.fromHttpCode(i.status))!==a.Status.Success?(t===a.Status.RateLimit&&(e=Date.now(),n=i.getResponseHeader("Retry-After"),s._disabledUntil=new Date(e+V(e,n)),tt.warn("Too many requests, backing off till: "+s._disabledUntil)),o(i)):r({status:t}))},i.open("POST",e.url),s.options.headers)s.options.headers.hasOwnProperty(t)&&i.setRequestHeader(t,s.options.headers[t]);i.send(e.body)}))},Ue);function Ue(){var t=null!==De&&De.apply(this,arguments)||this;return t._disabledUntil=new Date(Date.now()),t}var Le,Q=Object.freeze({__proto__:null,BaseTransport:Te,FetchTransport:Ie,XHRTransport:Ce}),Pe=(t(Ae,Le=Qt),Ae.prototype.eventFromException=function(t,e){return xe(this._options,t,e)},Ae.prototype.eventFromMessage=function(t,e,n){return void 0===e&&(e=a.Severity.Info),we(this._options,t,e,n)},Ae.prototype._setupTransport=function(){if(!this._options.dsn)return Le.prototype._setupTransport.call(this);var t=c(c({},this._options.transportOptions),{dsn:this._options.dsn});return new(this._options.transport?this._options.transport:et()?Ie:Ce)(t)},Ae);function Ae(){return null!==Le&&Le.apply(this,arguments)||this}var Be=0;function Fe(e,r,o){if(void 0===r&&(r={}),"function"!=typeof e)return e;try{if(e.__sentry__)return e;if(e.__sentry_wrapped__)return e.__sentry_wrapped__}catch(t){return e}function t(){var n=Array.prototype.slice.call(arguments);try{o&&"function"==typeof o&&o.apply(this,arguments);var t=n.map(function(t){return Fe(t,r)});return e.handleEvent?e.handleEvent.apply(this,t):e.apply(this,t)}catch(e){throw Be+=1,setTimeout(function(){--Be}),qt(function(t){t.addEventProcessor(function(t){t=c({},t);return r.mechanism&&(J(t,void 0,void 0),X(t,r.mechanism)),t.extra=c(c({},t.extra),{arguments:n}),t}),Ht(e)}),e}}try{for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}catch(t){}e.prototype=e.prototype||{},t.prototype=e.prototype,Object.defineProperty(e,"__sentry_wrapped__",{enumerable:!1,value:t}),Object.defineProperties(t,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:e}});try{Object.getOwnPropertyDescriptor(t,"name").configurable&&Object.defineProperty(t,"name",{get:function(){return e.name}})}catch(t){}return t}function Me(t){var e;void 0===t&&(t={}),t.eventId?t.dsn?((e=document.createElement("script")).async=!0,e.src=new Wt(t.dsn).getReportDialogEndpoint(t),t.onLoad&&(e.onload=t.onLoad),(document.head||document.body).appendChild(e)):tt.error("Missing dsn option in showReportDialog call"):tt.error("Missing eventId option in showReportDialog call")}var He=(qe.prototype.setupOnce=function(){Error.stackTraceLimit=50,this._options.onerror&&(tt.log("Global Handler attached: onerror"),this._installGlobalOnErrorHandler()),this._options.onunhandledrejection&&(tt.log("Global Handler attached: onunhandledrejection"),this._installGlobalOnUnhandledRejectionHandler())},qe.prototype._installGlobalOnErrorHandler=function(){var i=this;this._onErrorHandlerInstalled||(ct({callback:function(t){var e=t.error,n=Pt(),r=n.getIntegration(qe),o=e&&!0===e.__sentry_own_request__;!r||0<Be||o||(o=n.getClient(),X(t=f(e)?i._eventFromIncompleteOnError(t.msg,t.url,t.line,t.column):i._enhanceEventWithInitialFrame(Se(e,void 0,{attachStacktrace:o&&o.getOptions().attachStacktrace,rejection:!1}),t.url,t.line,t.column),{handled:!1,type:"onerror"}),n.captureEvent(t,{originalException:e}))},type:"error"}),this._onErrorHandlerInstalled=!0)},qe.prototype._installGlobalOnUnhandledRejectionHandler=function(){var i=this;this._onUnhandledRejectionHandlerInstalled||(ct({callback:function(t){var e=t;try{"reason"in t?e=t.reason:"detail"in t&&"reason"in t.detail&&(e=t.detail.reason)}catch(t){}var n=Pt(),r=n.getIntegration(qe),o=e&&!0===e.__sentry_own_request__;if(!r||0<Be||o)return!0;o=n.getClient(),o=f(e)?i._eventFromIncompleteRejection(e):Se(e,void 0,{attachStacktrace:o&&o.getOptions().attachStacktrace,rejection:!0});o.level=a.Severity.Error,X(o,{handled:!1,type:"onunhandledrejection"}),n.captureEvent(o,{originalException:e})},type:"unhandledrejection"}),this._onUnhandledRejectionHandlerInstalled=!0)},qe.prototype._eventFromIncompleteOnError=function(t,e,n,r){var o,i=l(t)?t.message:t;!d(i)||(t=i.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i))&&(o=t[1],i=t[2]);i={exception:{values:[{type:o||"Error",value:i}]}};return this._enhanceEventWithInitialFrame(i,e,n,r)},qe.prototype._eventFromIncompleteRejection=function(t){return{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+t}]}}},qe.prototype._enhanceEventWithInitialFrame=function(t,e,n,r){t.exception=t.exception||{},t.exception.values=t.exception.values||[],t.exception.values[0]=t.exception.values[0]||{},t.exception.values[0].stacktrace=t.exception.values[0].stacktrace||{},t.exception.values[0].stacktrace.frames=t.exception.values[0].stacktrace.frames||[];r=isNaN(parseInt(r,10))?void 0:r,n=isNaN(parseInt(n,10))?void 0:n,e=d(e)&&0<e.length?e:function(){try{return document.location.href}catch(t){return""}}();return 0===t.exception.values[0].stacktrace.frames.length&&t.exception.values[0].stacktrace.frames.push({colno:r,filename:e,function:"?",in_app:!0,lineno:n}),t},qe.id="GlobalHandlers",qe);function qe(t){this.name=qe.id,this._onErrorHandlerInstalled=!1,this._onUnhandledRejectionHandlerInstalled=!1,this._options=c({onerror:!0,onunhandledrejection:!0},t)}var We=["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"],wt=(Ye.prototype.setupOnce=function(){var t=q();this._options.setTimeout&&U(t,"setTimeout",this._wrapTimeFunction.bind(this)),this._options.setInterval&&U(t,"setInterval",this._wrapTimeFunction.bind(this)),this._options.requestAnimationFrame&&U(t,"requestAnimationFrame",this._wrapRAF.bind(this)),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&U(XMLHttpRequest.prototype,"send",this._wrapXHR.bind(this)),this._options.eventTarget&&(Array.isArray(this._options.eventTarget)?this._options.eventTarget:We).forEach(this._wrapEventTarget.bind(this))},Ye.prototype._wrapTimeFunction=function(r){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[0];return t[0]=Fe(n,{mechanism:{data:{function:I(r)},handled:!0,type:"instrument"}}),r.apply(this,t)}},Ye.prototype._wrapRAF=function(e){return function(t){return e.call(this,Fe(t,{mechanism:{data:{function:"requestAnimationFrame",handler:I(e)},handled:!0,type:"instrument"}}))}},Ye.prototype._wrapEventTarget=function(o){var t=q(),t=t[o]&&t[o].prototype;t&&t.hasOwnProperty&&t.hasOwnProperty("addEventListener")&&(U(t,"addEventListener",function(r){return function(t,e,n){try{"function"==typeof e.handleEvent&&(e.handleEvent=Fe(e.handleEvent.bind(e),{mechanism:{data:{function:"handleEvent",handler:I(e),target:o},handled:!0,type:"instrument"}}))}catch(t){}return r.call(this,t,Fe(e,{mechanism:{data:{function:"addEventListener",handler:I(e),target:o},handled:!0,type:"instrument"}}),n)}}),U(t,"removeEventListener",function(r){return function(t,e,n){try{r.call(this,t,e.__sentry_wrapped__,n)}catch(t){}return r.call(this,t,e,n)}}))},Ye.prototype._wrapXHR=function(n){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(function(n){n in r&&"function"==typeof r[n]&&U(r,n,function(t){var e={mechanism:{data:{function:n,handler:I(t)},handled:!0,type:"instrument"}};return t.__sentry_original__&&(e.mechanism.data.handler=I(t.__sentry_original__)),Fe(t,e)})}),n.apply(this,t)}},Ye.id="TryCatch",Ye);function Ye(t){this.name=Ye.id,this._options=c({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},t)}var ze=(Ge.prototype.addSentryBreadcrumb=function(t){this._options.sentry&&Pt().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:z(t)},{event:t})},Ge.prototype.setupOnce=function(){var n=this;this._options.console&&ct({callback:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];n._consoleBreadcrumb.apply(n,s(t))},type:"console"}),this._options.dom&&ct({callback:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];n._domBreadcrumb.apply(n,s(t))},type:"dom"}),this._options.xhr&&ct({callback:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];n._xhrBreadcrumb.apply(n,s(t))},type:"xhr"}),this._options.fetch&&ct({callback:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];n._fetchBreadcrumb.apply(n,s(t))},type:"fetch"}),this._options.history&&ct({callback:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];n._historyBreadcrumb.apply(n,s(t))},type:"history"})},Ge.prototype._consoleBreadcrumb=function(t){var e={category:"console",data:{arguments:t.args,logger:"console"},level:a.Severity.fromString(t.level),message:D(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;e.message="Assertion failed: "+(D(t.args.slice(1)," ")||"console.assert"),e.data.arguments=t.args.slice(1)}Pt().addBreadcrumb(e,{input:t.args,level:t.level})},Ge.prototype._domBreadcrumb=function(t){var e;try{e=t.event.target?b(t.event.target):b(t.event)}catch(t){e="<unknown>"}0!==e.length&&Pt().addBreadcrumb({category:"ui."+t.name,message:e},{event:t.event,name:t.name})},Ge.prototype._xhrBreadcrumb=function(t){var e,n,r,o;t.endTimestamp&&(t.xhr.__sentry_own_request__||(e=(o=t.xhr.__sentry_xhr__||{}).method,n=o.url,r=o.status_code,o=o.body,Pt().addBreadcrumb({category:"xhr",data:{method:e,url:n,status_code:r},type:"http"},{xhr:t.xhr,input:o})))},Ge.prototype._fetchBreadcrumb=function(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method||(t.error?Pt().addBreadcrumb({category:"fetch",data:t.fetchData,level:a.Severity.Error,type:"http"},{data:t.error,input:t.args}):Pt().addBreadcrumb({category:"fetch",data:c(c({},t.fetchData),{status_code:t.response.status}),type:"http"},{input:t.args,response:t.response})))},Ge.prototype._historyBreadcrumb=function(t){var e=q(),n=t.from,r=t.to,o=Y(e.location.href),t=Y(n),e=Y(r);t.path||(t=o),o.protocol===e.protocol&&o.host===e.host&&(r=e.relative),o.protocol===t.protocol&&o.host===t.host&&(n=t.relative),Pt().addBreadcrumb({category:"navigation",data:{from:n,to:r}})},Ge.id="Breadcrumbs",Ge);function Ge(t){this.name=Ge.id,this._options=c({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},t)}var Je="cause",Xe=5,kt=(Ve.prototype.setupOnce=function(){It(function(t,e){var n=Pt().getIntegration(Ve);return n?n._handler(t,e):t})},Ve.prototype._handler=function(t,e){if(!(t.exception&&t.exception.values&&e&&m(e.originalException,Error)))return t;e=this._walkErrorTree(e.originalException,this._key);return t.exception.values=s(e,t.exception.values),t},Ve.prototype._walkErrorTree=function(t,e,n){if(void 0===n&&(n=[]),!m(t[e],Error)||n.length+1>=this._limit)return n;var r=ge(fe(t[e]));return this._walkErrorTree(t[e],e,s([r],n))},Ve.id="LinkedErrors",Ve);function Ve(t){void 0===t&&(t={}),this.name=Ve.id,this._key=t.key||Je,this._limit=t.limit||Xe}var $e=q(),Te=(Ke.prototype.setupOnce=function(){It(function(t){var e;if(Pt().getIntegration(Ke)){if(!$e.navigator&&!$e.location&&!$e.document)return t;var n=(null===(o=t.request)||void 0===o?void 0:o.url)||(null===(e=$e.location)||void 0===e?void 0:e.href),r=($e.document||{}).referrer,o=($e.navigator||{}).userAgent,o=c(c(c({},null===(e=t.request)||void 0===e?void 0:e.headers),r&&{Referer:r}),o&&{"User-Agent":o}),o=c(c({},n&&{url:n}),{headers:o});return c(c({},t),{request:o})}return t})},Ke.id="UserAgent",Ke);function Ke(){this.name=Ke.id}var Qe,Qt=Object.freeze({__proto__:null,GlobalHandlers:He,TryCatch:wt,Breadcrumbs:ze,LinkedErrors:kt,UserAgent:Te}),Ze="sentry.javascript.browser",tn="5.25.0",en=(t(nn,Qe=Jt),nn.prototype.showReportDialog=function(t){void 0===t&&(t={}),q().document&&(this._isEnabled()?Me(c(c({},t),{dsn:t.dsn||this.getDsn()})):tt.error("Trying to call showReportDialog with Sentry Client disabled"))},nn.prototype._prepareEvent=function(t,e,n){return t.platform=t.platform||"javascript",t.sdk=c(c({},t.sdk),{name:Ze,packages:s(t.sdk&&t.sdk.packages||[],[{name:"npm:@sentry/browser",version:tn}]),version:tn}),Qe.prototype._prepareEvent.call(this,t,e,n)},nn.prototype._sendEvent=function(t){var e=this.getIntegration(ze);e&&e.addSentryBreadcrumb(t),Qe.prototype._sendEvent.call(this,t)},nn);function nn(t){return void 0===t&&(t={}),Qe.call(this,Pe,t)||this}var rn=[new oe,new ee,new wt,new ze,new He,new kt,new Te];kt={},Te=q();Te.Sentry&&Te.Sentry.Integrations&&(kt=Te.Sentry.Integrations);Qt=c(c(c({},kt),se),Qt);return a.BrowserClient=en,a.Hub=Dt,a.Integrations=Qt,a.SDK_NAME=Ze,a.SDK_VERSION=tn,a.Scope=jt,a.Transports=Q,a.addBreadcrumb=function(t){Mt("addBreadcrumb",t)},a.addGlobalEventProcessor=It,a.captureEvent=function(t){return Mt("captureEvent",t)},a.captureException=Ht,a.captureMessage=function(t,e){var n;try{throw new Error(t)}catch(t){n=t}return Mt("captureMessage",t,"string"==typeof e?e:void 0,c({originalException:t,syntheticException:n},"string"!=typeof e?{captureContext:e}:void 0))},a.close=function(t){var e=Pt().getClient();return e?e.close(t):mt.reject(!1)},a.configureScope=function(t){Mt("configureScope",t)},a.defaultIntegrations=rn,a.eventFromException=xe,a.eventFromMessage=we,a.flush=function(t){var e=Pt().getClient();return e?e.flush(t):mt.reject(!1)},a.forceLoad=function(){},a.getCurrentHub=Pt,a.getHubFromCarrier=Bt,a.init=function(t){var e;void 0===t&&(t={}),void 0===t.defaultIntegrations&&(t.defaultIntegrations=rn),void 0!==t.release||(e=q()).SENTRY_RELEASE&&e.SENTRY_RELEASE.id&&(t.release=e.SENTRY_RELEASE.id),function(t,e){!0===e.debug&&tt.enable();var n=Pt(),e=new t(e);n.bindClient(e)}(en,t)},a.injectReportDialog=Me,a.lastEventId=function(){return Pt().lastEventId()},a.makeMain=Lt,a.onLoad=function(t){t()},a.setContext=function(t,e){Mt("setContext",t,e)},a.setExtra=function(t,e){Mt("setExtra",t,e)},a.setExtras=function(t){Mt("setExtras",t)},a.setTag=function(t,e){Mt("setTag",t,e)},a.setTags=function(t){Mt("setTags",t)},a.setUser=function(t){Mt("setUser",t)},a.showReportDialog=function(t){void 0===t&&(t={}),t.eventId||(t.eventId=Pt().lastEventId());var e=Pt().getClient();e&&e.showReportDialog(t)},a.startTransaction=function(t,e){return Mt("startTransaction",c({},t),e)},a.withScope=qt,a.wrap=function(t){return Fe(t)()},a}({}),r.Sentry=n,o()}),function(r){"object"==typeof module&&"object"==typeof module.exports?r(require,exports):System.registerDynamic("web-dist/system/raven-lib.js",["raven-js"],!1,function(t,e,n){return r.call(e,t,e,t("raven-js"))})}(function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Raven=e.RavenURL=void 0;var n=t("raven-js"),r="undefined"!=typeof document&&"undefined"!=typeof window&&window.cordova&&window.cordova.platformId,t=window.isDevEv||window.JSTESTING;e.RavenURL=t?"https://65d65a6c23ab46e49d5d75247f98a782@sentry.io/44142":"https://8843f791501144e0b0dd4e8bd560d758@sentry.io/44141";t={dsn:e.RavenURL,release:"3.1.1",environment:t?"development":"production",maxBreadcrumbs:20,ignoreErrors:["'null' is not an object (evaluating 'a.id')",'"null" is not an object (evaluating "a.id")',"/redirect/redirectslider.aspx","<anonymous> in zteMove","Cannot read property '_avast_submit' of undefined","Cannot read property 'end' of undefined","Cannot read property 'move' of undefined","/redirect/redirectslider.aspx","/maps-api-v3/api/js/31/0/common.js",/gc\.kis\.v2\.scr\.kaspersky\-labs\.com/,"js/static.js",/chrome-extension:\/\//,/webkitExitFullScreen/,"Extension context invalidated",/ResizeObserver/,"a.LegacyGlobal.LP_explicit_ignored is not a function"],beforeSend:function(t,e){if(window.isLocalEv||window.JSTESTING)return null;t.logger=(r?"native-":"web-")+"ng2-js";try{if(t.extra.__serialized__&&e){var n=e.originalException;if(n instanceof Event&&(t.extra.__type__=n.type,t.extra.__source__=(n.target||"").toString(),"unhandledrejection"==t.extra.__serialized__.type&&t.extra.__serialized__.reason&&t.extra.__serialized__.reason.message&&-1<t.extra.__serialized__.reason.message.indexOf("Extension")))return null}}catch(t){}return-1<navigator.userAgent.indexOf("BrandVerity")?null:t},beforeBreadcrumb:function(t){return"console"==t.category?null:t}};n&&n.Integrations&&(t.integrations=[new n.Integrations.Breadcrumbs({console:!1})]),n.init(t),e.Raven=n});