System.register([],function(ln){"use strict";return{execute:function(){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}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 f,s,e,a,o,_=function(){return(_=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 v(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{value:(t=t&&r>=t.length?void 0:t)&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(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 u(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(c(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 x(t,Error)}}function l(t){return"[object ErrorEvent]"===Object.prototype.toString.call(t)}function d(t){return"[object DOMError]"===Object.prototype.toString.call(t)}function h(t){return"[object String]"===Object.prototype.toString.call(t)}function y(t){return null===t||"object"!==n(t)&&"function"!=typeof t}function g(t){return"[object Object]"===Object.prototype.toString.call(t)}function m(t){return"undefined"!=typeof Event&&x(t,Event)}function b(t){return"undefined"!=typeof Element&&x(t,Element)}function E(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function x(t,e){try{return t instanceof e}catch(t){return!1}}function S(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)&&h(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>"}}(ce=f=f||{}).Ok="ok",ce.Exited="exited",ce.Crashed="crashed",ce.Abnormal="abnormal",(le=s=s||{}).Fatal="fatal",le.Error="error",le.Warning="warning",le.Log="log",le.Info="info",le.Debug="debug",le.Critical="critical",(e=s=s||{}).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}},(he=a=a||{}).Unknown="unknown",he.Skipped="skipped",he.Success="success",he.RateLimit="rate_limit",he.Invalid="invalid",he.Failed="failed",(o=a=a||{}).fromHttpCode=function(t){return 200<=t&&t<300?o.Success:429===t?o.RateLimit:400<=t&&t<500?o.Invalid:500<=t?o.Failed:o.Unknown};var i=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 w,k=(t(O,w=Error),O);function O(t){var e=this.constructor,n=w.call(this,t)||this;return n.message=t,n.name=e.prototype.constructor.name,i(n,e.prototype),n}var T=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/,j="Invalid Dsn",R=(I.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.publicKey+(t&&o?":"+o:"")+"@"+n+(i?":"+i:"")+"/"+(r&&r+"/")+s},I.prototype._fromString=function(t){var e=T.exec(t);if(!e)throw new k(j);var n=c(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,publicKey:o})},I.prototype._fromComponents=function(t){"user"in t&&!("publicKey"in t)&&(t.publicKey=t.user),this.user=t.publicKey||"",this.protocol=t.protocol,this.publicKey=t.publicKey||"",this.pass=t.pass||"",this.host=t.host,this.port=t.port||"",this.path=t.path||"",this.projectId=t.projectId},I.prototype._validate=function(){var e=this;if(["protocol","publicKey","host","projectId"].forEach(function(t){if(!e[t])throw new k(j+": "+t+" missing")}),!this.projectId.match(/^\d+$/))throw new k(j+": Invalid projectId "+this.projectId);if("http"!==this.protocol&&"https"!==this.protocol)throw new k(j+": Invalid protocol "+this.protocol);if(this.port&&isNaN(parseInt(this.port,10)))throw new k(j+": Invalid port "+this.port)},I);function I(t){"string"==typeof t?this._fromString(t):this._fromComponents(t),this._validate()}function N(){return"[object process]"===Object.prototype.toString.call(void 0!=={env:{NODE_ENV:"production"}}?{env:{NODE_ENV:"production"}}:0)}function C(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 L(t,e){return!!h(t)&&(n=e,"[object RegExp]"===Object.prototype.toString.call(n)?e.test(t):"string"==typeof e&&-1!==t.indexOf(e));var n}var U={};function A(){return N()?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:U}function P(){var t=A(),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 F(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 B(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 M(t){var e=A();if(!("console"in e))return t();var n=e.console,r={};["debug","info","warn","error","log","assert"].forEach(function(t){t in e.console&&n[t].__sentry_original__&&(r[t]=n[t],n[t]=n[t].__sentry_original__)});t=t();return Object.keys(r).forEach(function(t){n[t]=r[t]}),t}function q(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 H(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){}}var W=A(),Y="Sentry Logger ",z=(G.prototype.disable=function(){this._enabled=!1},G.prototype.enable=function(){this._enabled=!0},G.prototype.log=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&M(function(){W.console.log(Y+"[Log]: "+t.join(" "))})},G.prototype.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&M(function(){W.console.warn(Y+"[Warn]: "+t.join(" "))})},G.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&M(function(){W.console.error(Y+"[Error]: "+t.join(" "))})},G);function G(){this._enabled=!1}W.__SENTRY__=W.__SENTRY__||{};var J=W.__SENTRY__.logger||(W.__SENTRY__.logger=new z),X=(K.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},K.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}},K);function K(){this._hasWeakSet="function"==typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}var V="<anonymous>";function $(t){try{return t&&"function"==typeof t?t.name||V:V}catch(t){return V}}function Q(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 Z(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(m(t)){var r,o=t,i={};i.type=o.type;try{i.target=b(o.target)?S(o.target):Object.prototype.toString.call(o.target)}catch(t){i.target="<unknown>"}try{i.currentTarget=b(o.currentTarget)?S(o.currentTarget):Object.prototype.toString.call(o.currentTarget)}catch(t){i.currentTarget="<unknown>"}for(r in"undefined"!=typeof CustomEvent&&x(t,CustomEvent)&&(i.detail=o.detail),o)Object.prototype.hasOwnProperty.call(o,r)&&(i[r]=o);return i}return t}function tt(t){return t=JSON.stringify(t),~-encodeURI(t).split(/%..|./).length}function et(t,e){return"domain"===e&&t&&"object"===n(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]":g(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: "+$(t)+"]":"symbol"===n(t)?"["+String(t)+"]":"bigint"==typeof t?"[BigInt: "+String(t)+"]":t}function nt(t,e,n,r){if(void 0===n&&(n=1/0),void 0===r&&(r=new X),0===n)return o=e,i=Object.prototype.toString.call(o),"string"==typeof o?o:"[object Object]"===i?"[Object]":"[object Array]"===i?"[Array]":y(o=et(o))?o:i;var o,i;if(null!=e&&"function"==typeof e.toJSON)return e.toJSON();t=et(e,t);if(y(t))return t;var s,a=Z(e),c=Array.isArray(e)?[]:{};if(r.memoize(e))return"[Circular ~]";for(s in a)Object.prototype.hasOwnProperty.call(a,s)&&(c[s]=nt(s,a[s],n-1,r));return r.unmemoize(e),c}function rt(t,n){try{return JSON.parse(JSON.stringify(t,function(t,e){return nt(t,e,n)}))}catch(t){return"**non-serializable**"}}function ot(t){var e,n;if(g(t)){var r=t,o={};try{for(var i=v(Object.keys(r)),s=i.next();!s.done;s=i.next()){var a=s.value;void 0!==r[a]&&(o[a]=ot(r[a]))}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return o}return Array.isArray(t)?t.map(ot):t}function it(){if("fetch"in A())try{return new Headers,new Request(""),new Response,1}catch(t){return}}function st(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}var at,ct=A(),ut={},pt={};function lt(t){var r,s,a,c,e;if(!pt[t])switch(pt[t]=!0,t){case"console":!void("console"in ct&&["debug","info","warn","error","log","assert"].forEach(function(r){r in ct.console&&Q(ct.console,r,function(n){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];ht("console",{args:t,level:r}),n&&Function.prototype.apply.call(n,ct.console,t)}})}));break;case"dom":!void("document"in ct&&(c=ht.bind(null,"dom"),e=yt(c,!0),ct.document.addEventListener("click",e,!1),ct.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach(function(t){t=ct[t]&&ct[t].prototype;t&&t.hasOwnProperty&&t.hasOwnProperty("addEventListener")&&(Q(t,"addEventListener",function(i){return function(t,e,n){if("click"===t||"keypress"==t)try{var r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},o=r[t]=r[t]||{refCount:0};o.handler||(r=yt(c),o.handler=r,i.call(this,t,r,n)),o.refCount+=1}catch(t){}return i.call(this,t,e,n)}}),Q(t,"removeEventListener",function(i){return function(t,e,n){if("click"===t||"keypress"==t)try{var r=this.__sentry_instrumentation_handlers__||{},o=r[t];o&&(--o.refCount,o.refCount<=0&&(i.call(this,t,o.handler,n),o.handler=void 0,delete r[t]),0===Object.keys(r).length&&delete this.__sentry_instrumentation_handlers__)}catch(t){}return i.call(this,t,e,n)}}))})));break;case"xhr":!void("XMLHttpRequest"in ct&&(s=[],a=[],Q(e=XMLHttpRequest.prototype,"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:h(e[0])?e[0].toUpperCase():e[0],url:e[1]},h(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){}ht("xhr",{args:e,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:r})}}return"onreadystatechange"in r&&"function"==typeof r.onreadystatechange?Q(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)}}),Q(e,"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),ht("xhr",{args:t,startTimestamp:Date.now(),xhr:this}),n.apply(this,t)}})));break;case"fetch":!void(function(){if(it()){var t=A();if(st(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=st(r.contentWindow.fetch)),n.head.removeChild(r)}catch(t){J.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return e}}()&&Q(ct,"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 ct&&x(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 ct&&x(t[0],Request))return t[0].url;return String(t[0])}(t)},startTimestamp:Date.now()};return ht("fetch",_({},n)),r.apply(ct,t).then(function(t){return ht("fetch",_(_({},n),{endTimestamp:Date.now(),response:t})),t},function(t){throw ht("fetch",_(_({},n),{endTimestamp:Date.now(),error:t})),t})}}));break;case"history":!void(function(){var t=A(),e=(e=t.chrome)&&e.app&&e.app.runtime,t="history"in t&&!!t.history.pushState&&!!t.history.replaceState;return!e&&t}()&&(r=ct.onpopstate,ct.onpopstate=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=ct.location.href;if(ht("history",{from:at,to:at=n}),r)return r.apply(this,t)},Q(ct.history,"pushState",n),Q(ct.history,"replaceState",n)));break;case"error":gt=ct.onerror,ct.onerror=function(t,e,n,r,o){return ht("error",{column:r,error:o,line:n,msg:t,url:e}),!!gt&&gt.apply(this,arguments)};break;case"unhandledrejection":bt=ct.onunhandledrejection,ct.onunhandledrejection=function(t){return ht("unhandledrejection",t),!bt||bt.apply(this,arguments)};break;default:J.warn("unknown instrumentation type:",t)}function n(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=at,r=String(r),ht("history",{from:n,to:at=r})),o.apply(this,t)}}}function dt(t){t&&"string"==typeof t.type&&"function"==typeof t.callback&&(ut[t.type]=ut[t.type]||[],ut[t.type].push(t.callback),lt(t.type))}function ht(e,t){var n,r;if(e&&ut[e])try{for(var o=v(ut[e]||[]),i=o.next();!i.done;i=o.next()){var s=i.value;try{s(t)}catch(t){J.error("Error while triggering instrumentation handler.\nType: "+e+"\nName: "+$(s)+"\nError: "+t)}}}catch(t){n={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}}var ft,_t,vt=1e3;function yt(n,r){return void 0===r&&(r=!1),function(t){var e;t&&_t!==t&&!function(t){if("keypress"===t.type){try{var e=t.target;if(!e||!e.tagName)return 1;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable)return}catch(t){}return 1}}(t)&&(e="keypress"===t.type?"input":t.type,void 0!==ft&&!function(t,e){if(!t)return 1;if(t.type!==e.type)return 1;try{if(t.target!==e.target)return 1}catch(t){}}(_t,t)||(n({event:t,name:e,global:r}),_t=t),clearTimeout(ft),ft=ct.setTimeout(function(){ft=void 0},vt))}}var gt=null;var mt,bt=null;(He=mt=mt||{}).PENDING="PENDING",He.RESOLVED="RESOLVED",He.REJECTED="REJECTED";var Et=(xt.resolve=function(e){return new xt(function(t){t(e)})},xt.reject=function(n){return new xt(function(t,e){e(n)})},xt.all=function(t){return new xt(function(n,r){var o,i;Array.isArray(t)?0!==t.length?(o=t.length,i=[],t.forEach(function(t,e){xt.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."))})},xt.prototype.then=function(r,o){var t=this;return new xt(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)}})})},xt.prototype.catch=function(t){return this.then(function(t){return t},t)},xt.prototype.finally=function(o){var i=this;return new xt(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)})})},xt.prototype.toString=function(){return"[object SyncPromise]"},xt);function xt(t){var n=this;this._state=mt.PENDING,this._handlers=[],this._resolve=function(t){n._setResult(mt.RESOLVED,t)},this._reject=function(t){n._setResult(mt.REJECTED,t)},this._setResult=function(t,e){n._state===mt.PENDING&&(E(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!==mt.PENDING&&(t=n._handlers.slice(),n._handlers=[],t.forEach(function(t){t.done||(n._state===mt.RESOLVED&&t.onfulfilled&&t.onfulfilled(n._value),n._state===mt.REJECTED&&t.onrejected&&t.onrejected(n._value),t.done=!0)}))};try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}var St=(wt.prototype.isReady=function(){return void 0===this._limit||this.length()<this._limit},wt.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):Et.reject(new k("Not adding Promise due to buffer limit reached."))},wt.prototype.remove=function(t){return this._buffer.splice(this._buffer.indexOf(t),1)[0]},wt.prototype.length=function(){return this._buffer.length},wt.prototype.drain=function(n){var r=this;return new Et(function(t){var e=setTimeout(function(){n&&0<n&&t(!1)},n);Et.all(r._buffer).then(function(){clearTimeout(e),t(!0)}).then(null,function(){t(!0)})})},wt);function wt(t){this._limit=t,this._buffer=[]}var kt={nowSeconds:function(){return Date.now()/1e3}};var Ot=(N()?function(){try{return(t=module,e="perf_hooks",t.require(e)).performance}catch(t){return}var t,e}:function(){var t=A().performance;if(t&&t.now)return{now:function(){return t.now()},timeOrigin:Date.now()-t.now()}})(),Tt=void 0===Ot?kt:{nowSeconds:function(){return(Ot.timeOrigin+Ot.now())/1e3}},jt=kt.nowSeconds.bind(kt);Tt.nowSeconds.bind(Tt),(en=A().performance)&&(en.timeOrigin||en.timing&&en.timing.navigationStart||Date.now());var Rt=(It.clone=function(t){var e=new It;return t&&(e._breadcrumbs=u(t._breadcrumbs),e._tags=_({},t._tags),e._extra=_({},t._extra),e._contexts=_({},t._contexts),e._user=t._user,e._level=t._level,e._span=t._span,e._session=t._session,e._transactionName=t._transactionName,e._fingerprint=t._fingerprint,e._eventProcessors=u(t._eventProcessors)),e},It.prototype.addScopeListener=function(t){this._scopeListeners.push(t)},It.prototype.addEventProcessor=function(t){return this._eventProcessors.push(t),this},It.prototype.setUser=function(t){return this._user=t||{},this._session&&this._session.update({user:t}),this._notifyScopeListeners(),this},It.prototype.getUser=function(){return this._user},It.prototype.setTags=function(t){return this._tags=_(_({},this._tags),t),this._notifyScopeListeners(),this},It.prototype.setTag=function(t,e){var n;return this._tags=_(_({},this._tags),((n={})[t]=e,n)),this._notifyScopeListeners(),this},It.prototype.setExtras=function(t){return this._extra=_(_({},this._extra),t),this._notifyScopeListeners(),this},It.prototype.setExtra=function(t,e){var n;return this._extra=_(_({},this._extra),((n={})[t]=e,n)),this._notifyScopeListeners(),this},It.prototype.setFingerprint=function(t){return this._fingerprint=t,this._notifyScopeListeners(),this},It.prototype.setLevel=function(t){return this._level=t,this._notifyScopeListeners(),this},It.prototype.setTransactionName=function(t){return this._transactionName=t,this._notifyScopeListeners(),this},It.prototype.setTransaction=function(t){return this.setTransactionName(t)},It.prototype.setContext=function(t,e){var n;return null===e?delete this._contexts[t]:this._contexts=_(_({},this._contexts),((n={})[t]=e,n)),this._notifyScopeListeners(),this},It.prototype.setSpan=function(t){return this._span=t,this._notifyScopeListeners(),this},It.prototype.getSpan=function(){return this._span},It.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},It.prototype.setSession=function(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this},It.prototype.getSession=function(){return this._session},It.prototype.update=function(t){if(!t)return this;if("function"!=typeof t)return t instanceof It?(this._tags=_(_({},this._tags),t._tags),this._extra=_(_({},this._extra),t._extra),this._contexts=_(_({},this._contexts),t._contexts),t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint)):g(t)&&(this._tags=_(_({},this._tags),t.tags),this._extra=_(_({},this._extra),t.extra),this._contexts=_(_({},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 It?t:this},It.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._session=void 0,this._notifyScopeListeners(),this},It.prototype.addBreadcrumb=function(t,e){t=_({timestamp:jt()},t);return this._breadcrumbs=void 0!==e&&0<=e?u(this._breadcrumbs,[t]).slice(-e):u(this._breadcrumbs,[t]),this._notifyScopeListeners(),this},It.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},It.prototype.applyToEvent=function(t,e){var n;return this._extra&&Object.keys(this._extra).length&&(t.extra=_(_({},this._extra),t.extra)),this._tags&&Object.keys(this._tags).length&&(t.tags=_(_({},this._tags),t.tags)),this._user&&Object.keys(this._user).length&&(t.user=_(_({},this._user),t.user)),this._contexts&&Object.keys(this._contexts).length&&(t.contexts=_(_({},this._contexts),t.contexts)),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span&&(t.contexts=_({trace:this._span.getTraceContext()},t.contexts),(n=null===(n=this._span.transaction)||void 0===n?void 0:n.name)&&(t.tags=_({transaction:n},t.tags))),this._applyFingerprint(t),t.breadcrumbs=u(t.breadcrumbs||[],this._breadcrumbs),t.breadcrumbs=0<t.breadcrumbs.length?t.breadcrumbs:void 0,this._notifyEventProcessors(u(Nt(),this._eventProcessors),t,e)},It.prototype._notifyEventProcessors=function(r,o,i,s){var a=this;return void 0===s&&(s=0),new Et(function(e,t){var n=r[s];null===o||"function"!=typeof n?e(o):(E(n=n(_({},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)})},It.prototype._notifyScopeListeners=function(){var e=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(function(t){t(e)}),this._notifyingListeners=!1)},It.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},It);function It(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={}}function Nt(){var t=A();return t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.globalEventProcessors=t.__SENTRY__.globalEventProcessors||[],t.__SENTRY__.globalEventProcessors}function Ct(t){Nt().push(t)}var Dt=(Lt.prototype.update=function(t){(t=void 0===t?{}:t).user&&(t.user.ip_address&&(this.ipAddress=t.user.ip_address),t.did||(this.did=t.user.id||t.user.email||t.user.username)),this.timestamp=t.timestamp||Date.now(),t.sid&&(this.sid=32===t.sid.length?t.sid:P()),void 0!==t.init&&(this.init=t.init),t.did&&(this.did=""+t.did),"number"==typeof t.started&&(this.started=t.started),"number"==typeof t.duration?this.duration=t.duration:this.duration=this.timestamp-this.started,t.release&&(this.release=t.release),t.environment&&(this.environment=t.environment),t.ipAddress&&(this.ipAddress=t.ipAddress),t.userAgent&&(this.userAgent=t.userAgent),"number"==typeof t.errors&&(this.errors=t.errors),t.status&&(this.status=t.status)},Lt.prototype.close=function(t){t?this.update({status:t}):this.status===f.Ok?this.update({status:f.Exited}):this.update()},Lt.prototype.toJSON=function(){return ot({sid:""+this.sid,init:this.init,started:new Date(this.started).toISOString(),timestamp:new Date(this.timestamp).toISOString(),status:this.status,errors:this.errors,did:"number"==typeof this.did||"string"==typeof this.did?""+this.did:void 0,duration:this.duration,attrs:ot({release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent})})},Lt);function Lt(t){this.errors=0,this.sid=P(),this.timestamp=Date.now(),this.started=Date.now(),this.duration=0,this.status=f.Ok,this.init=!0,t&&this.update(t)}var Ut=3,At=(Pt.prototype.isOlderThan=function(t){return this._version<t},Pt.prototype.bindClient=function(t){(this.getStackTop().client=t)&&t.setupIntegrations&&t.setupIntegrations()},Pt.prototype.pushScope=function(){var t=Rt.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t},Pt.prototype.popScope=function(){return!(this.getStack().length<=1)&&!!this.getStack().pop()},Pt.prototype.withScope=function(t){var e=this.pushScope();try{t(e)}finally{this.popScope()}},Pt.prototype.getClient=function(){return this.getStackTop().client},Pt.prototype.getScope=function(){return this.getStackTop().scope},Pt.prototype.getStack=function(){return this._stack},Pt.prototype.getStackTop=function(){return this._stack[this._stack.length-1]},Pt.prototype.captureException=function(t,e){var n=this._lastEventId=P(),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,_(_({},r),{event_id:n})),n},Pt.prototype.captureMessage=function(t,e,n){var r=this._lastEventId=P(),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,_(_({},o),{event_id:r})),r},Pt.prototype.captureEvent=function(t,e){var n=this._lastEventId=P();return this._invokeClient("captureEvent",t,_(_({},e),{event_id:n})),n},Pt.prototype.lastEventId=function(){return this._lastEventId},Pt.prototype.addBreadcrumb=function(t,e){var n,r,o=this.getStackTop(),i=o.scope,s=o.client;i&&s&&(o=s.getOptions&&s.getOptions()||{},n=void 0===(s=o.beforeBreadcrumb)?null:s,(o=void 0===(s=o.maxBreadcrumbs)?100:s)<=0||(s=jt(),r=_({timestamp:s},t),null!==(t=n?M(function(){return n(r,e)}):r)&&i.addBreadcrumb(t,Math.min(o,100))))},Pt.prototype.setUser=function(t){var e=this.getScope();e&&e.setUser(t)},Pt.prototype.setTags=function(t){var e=this.getScope();e&&e.setTags(t)},Pt.prototype.setExtras=function(t){var e=this.getScope();e&&e.setExtras(t)},Pt.prototype.setTag=function(t,e){var n=this.getScope();n&&n.setTag(t,e)},Pt.prototype.setExtra=function(t,e){var n=this.getScope();n&&n.setExtra(t,e)},Pt.prototype.setContext=function(t,e){var n=this.getScope();n&&n.setContext(t,e)},Pt.prototype.configureScope=function(t){var e=this.getStackTop(),n=e.scope,e=e.client;n&&e&&t(n)},Pt.prototype.run=function(t){var e=Bt(this);try{t(this)}finally{Bt(e)}},Pt.prototype.getIntegration=function(e){var t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(t){return J.warn("Cannot retrieve integration "+e.id+" from the current Hub"),null}},Pt.prototype.startSpan=function(t){return this._callExtensionMethod("startSpan",t)},Pt.prototype.startTransaction=function(t,e){return this._callExtensionMethod("startTransaction",t,e)},Pt.prototype.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},Pt.prototype.captureSession=function(t){if(t=void 0===t?!1:t)return this.endSession();this._sendSessionUpdate()},Pt.prototype.endSession=function(){var t;null!==(t=null===(t=null===(t=this.getStackTop())||void 0===t?void 0:t.scope)||void 0===t?void 0:t.getSession())&&void 0!==t&&t.close(),this._sendSessionUpdate(),null!==(t=null===(t=this.getStackTop())||void 0===t?void 0:t.scope)&&void 0!==t&&t.setSession()},Pt.prototype.startSession=function(t){var e=this.getStackTop(),n=e.scope,e=e.client,e=e&&e.getOptions()||{},e=new Dt(_(_({release:e.release,environment:e.environment},n&&{user:n.getUser()}),t));return n&&((t=n.getSession&&n.getSession())&&t.status===f.Ok&&t.update({status:f.Exited}),this.endSession(),n.setSession(e)),e},Pt.prototype._sendSessionUpdate=function(){var t=this.getStackTop(),e=t.scope,t=t.client;!e||(e=e.getSession&&e.getSession())&&t&&t.captureSession&&t.captureSession(e)},Pt.prototype._invokeClient=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=this.getStackTop(),o=r.scope,r=r.client;r&&r[t]&&r[t].apply(r,u(e,[o]))},Pt.prototype._callExtensionMethod=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=Ft().__SENTRY__;if(r&&r.extensions&&"function"==typeof r.extensions[t])return r.extensions[t].apply(this,e);J.warn("Extension method "+t+" couldn't be found, doing nothing.")},Pt);function Pt(t,e,n){void 0===e&&(e=new Rt),void 0===n&&(n=Ut),this._version=n,this._stack=[{}],this.getStackTop().scope=e,this.bindClient(t)}function Ft(){var t=A();return t.__SENTRY__=t.__SENTRY__||{extensions:{},hub:void 0},t}function Bt(t){var e=Ft(),n=Ht(e);return Wt(e,t),n}function Mt(){var t=Ft();return qt(t)&&!Ht(t).isOlderThan(Ut)||Wt(t,new At),(N()?function(e){try{var t,n=null===(t=null===(n=null===(t=Ft().__SENTRY__)||void 0===t?void 0:t.extensions)||void 0===n?void 0:n.domain)||void 0===t?void 0:t.active;return n?(qt(n)&&!Ht(n).isOlderThan(Ut)||(t=Ht(e).getStackTop(),Wt(n,new At(t.client,Rt.clone(t.scope)))),Ht(n)):Ht(e)}catch(t){return Ht(e)}}:Ht)(t)}function qt(t){return t&&t.__SENTRY__&&t.__SENTRY__.hub}function Ht(t){return t&&t.__SENTRY__&&t.__SENTRY__.hub||(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=new At),t.__SENTRY__.hub}function Wt(t,e){return t&&(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=e,1)}function Yt(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=Mt();if(r&&r[t])return r[t].apply(r,u(e));throw new Error("No hub defined or "+t+" was not found on the hub, please open a bug report.")}function zt(t,e){var n;try{throw new Error("Sentry syntheticException")}catch(t){n=t}return Yt("captureException",t,{captureContext:e,originalException:t,syntheticException:n})}function Gt(t){Yt("withScope",t)}var Jt=(Xt.prototype.getDsn=function(){return this._dsnObject},Xt.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/"},Xt.prototype.getStoreEndpoint=function(){return this._getIngestEndpoint("store")},Xt.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return this.getStoreEndpoint()+"?"+this._encodedAuth()},Xt.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return this._getEnvelopeEndpoint()+"?"+this._encodedAuth()},Xt.prototype.getStoreEndpointPath=function(){var t=this._dsnObject;return(t.path?"/"+t.path:"")+"/api/"+t.projectId+"/store/"},Xt.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.publicKey),n.pass&&r.push("sentry_secret="+n.pass),{"Content-Type":"application/json","X-Sentry-Auth":r.join(", ")}},Xt.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)"dsn"!==e&&("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},Xt.prototype._getEnvelopeEndpoint=function(){return this._getIngestEndpoint("envelope")},Xt.prototype._getIngestEndpoint=function(t){return""+this.getBaseApiEndpoint()+this._dsnObject.projectId+"/"+t+"/"},Xt.prototype._encodedAuth=function(){var e,t={sentry_key:this._dsnObject.publicKey,sentry_version:"7"};return e=t,Object.keys(e).map(function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])}).join("&")},Xt);function Xt(t,e){void 0===e&&(e={}),this.dsn=t,this._dsnObject=new R(t),this.metadata=e}var Kt=[];function Vt(t){var e,n,r,o,i={};return t=(e=t).defaultIntegrations&&u(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]):u(t),-1!==(t=o.map(function(t){return t.name})).indexOf("Debug")&&o.push.apply(o,u(o.splice(t.indexOf("Debug"),1))),o.forEach(function(t){i[t.name]=t,t=t,-1===Kt.indexOf(t.name)&&(t.setupOnce(Ct,Mt),Kt.push(t.name),J.log("Integration installed: "+t.name))}),i}var $t=(Qt.prototype.captureException=function(t,e,n){var r=this,o=e&&e.event_id;return this._process(this._getBackend().eventFromException(t,e).then(function(t){return r._captureEvent(t,e,n)}).then(function(t){o=t})),o},Qt.prototype.captureMessage=function(t,e,n,r){var o=this,i=n&&n.event_id,t=y(t)?this._getBackend().eventFromMessage(String(t),e,n):this._getBackend().eventFromException(t,n);return this._process(t.then(function(t){return o._captureEvent(t,n,r)}).then(function(t){i=t})),i},Qt.prototype.captureEvent=function(t,e,n){var r=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then(function(t){r=t})),r},Qt.prototype.captureSession=function(t){t.release?(this._sendSession(t),t.update({init:!1})):J.warn("Discarded session because of missing release")},Qt.prototype.getDsn=function(){return this._dsn},Qt.prototype.getOptions=function(){return this._options},Qt.prototype.flush=function(t){var n=this;return this._isClientProcessing(t).then(function(e){return n._getBackend().getTransport().close(t).then(function(t){return e&&t})})},Qt.prototype.close=function(t){var e=this;return this.flush(t).then(function(t){return e.getOptions().enabled=!1,t})},Qt.prototype.setupIntegrations=function(){this._isEnabled()&&(this._integrations=Vt(this._options))},Qt.prototype.getIntegration=function(e){try{return this._integrations[e.id]||null}catch(t){return J.warn("Cannot retrieve integration "+e.id+" from the current Client"),null}},Qt.prototype._updateSessionFromEvent=function(t,e){var n,r,o,i=!1,s=!1,a=e.exception&&e.exception.values;if(a){s=!0;try{for(var c=v(a),u=c.next();!u.done;u=c.next()){var p=u.value.mechanism;if(p&&!1===p.handled){i=!0;break}}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}}var l=e.user;if(!t.userAgent){var d,h=e.request?e.request.headers:{};for(d in h)if("user-agent"===d.toLowerCase()){o=h[d];break}}t.update(_(_({},i&&{status:f.Crashed}),{user:l,userAgent:o,errors:t.errors+Number(s||i)})),this.captureSession(t)},Qt.prototype._sendSession=function(t){this._getBackend().sendSession(t)},Qt.prototype._isClientProcessing=function(r){var o=this;return new Et(function(t){var e=0,n=setInterval(function(){0==o._processing?(clearInterval(n),t(!0)):(e+=1,r&&r<=e&&(clearInterval(n),t(!1)))},1)})},Qt.prototype._getBackend=function(){return this._backend},Qt.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},Qt.prototype._prepareEvent=function(t,e,n){var r=this,o=this.getOptions().normalizeDepth,i=void 0===o?3:o,o=_(_({},t),{event_id:t.event_id||(n&&n.event_id?n.event_id:P()),timestamp:t.timestamp||jt()});this._applyClientOptions(o),this._applyIntegrationsMetadata(o);t=e;n&&n.captureContext&&(t=Rt.clone(t).update(n.captureContext));e=Et.resolve(o);return(e=t?t.applyToEvent(o,n):e).then(function(t){return"number"==typeof i&&0<i?r._normalizeEvent(t,i):t})},Qt.prototype._normalizeEvent=function(t,e){if(!t)return null;var n=_(_(_(_(_({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(function(t){return _(_({},t),t.data&&{data:rt(t.data,e)})})}),t.user&&{user:rt(t.user,e)}),t.contexts&&{contexts:rt(t.contexts,e)}),t.extra&&{extra:rt(t.extra,e)});return t.contexts&&t.contexts.trace&&(n.contexts.trace=t.contexts.trace),n},Qt.prototype._applyClientOptions=function(t){var e=this.getOptions(),n=e.environment,r=e.release,o=e.dist,i=e.maxValueLength,i=void 0===i?250:i;"environment"in t||(t.environment="environment"in e?n:"production"),void 0===t.release&&void 0!==r&&(t.release=r),void 0===t.dist&&void 0!==o&&(t.dist=o),t.message&&(t.message=C(t.message,i));o=t.exception&&t.exception.values&&t.exception.values[0];o&&o.value&&(o.value=C(o.value,i));t=t.request;t&&t.url&&(t.url=C(t.url,i))},Qt.prototype._applyIntegrationsMetadata=function(t){var e=t.sdk,t=Object.keys(this._integrations);e&&0<t.length&&(e.integrations=t)},Qt.prototype._sendEvent=function(t){this._getBackend().sendEvent(t)},Qt.prototype._captureEvent=function(t,e,n){return this._processEvent(t,e,n).then(function(t){return t.event_id},function(t){J.error(t)})},Qt.prototype._processEvent=function(t,e,n){var r=this,o=this.getOptions(),i=o.beforeSend,o=o.sampleRate;if(!this._isEnabled())return Et.reject(new k("SDK not enabled, will not send event."));var s="transaction"===t.type;return!s&&"number"==typeof o&&Math.random()>o?Et.reject(new k("Discarding event because it's not included in the random sample (sampling rate = "+o+")")):this._prepareEvent(t,n,e).then(function(t){if(null===t)throw new k("An event processor returned null, will not send event.");if(e&&e.data&&!0===e.data.__sentry__||s||!i)return t;t=i(t,e);if(void 0===t)throw new k("`beforeSend` method has to return `null` or a valid event.");return E(t)?t.then(function(t){return t},function(t){throw new k("beforeSend rejected with "+t)}):t}).then(function(t){if(null===t)throw new k("`beforeSend` returned `null`, will not send event.");var e=n&&n.getSession&&n.getSession();return!s&&e&&r._updateSessionFromEvent(e,t),r._sendEvent(t),t}).then(null,function(t){if(t instanceof k)throw t;throw r.captureException(t,{data:{__sentry__:!0},originalException:t}),new k("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+t)})},Qt.prototype._process=function(t){var e=this;this._processing+=1,t.then(function(t){return--e._processing,t},function(t){return--e._processing,t})},Qt);function Qt(t,e){this._integrations={},this._processing=0,this._backend=new t(e),(this._options=e).dsn&&(this._dsn=new R(e.dsn))}var Zt=(te.prototype.sendEvent=function(t){return Et.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:a.Skipped})},te.prototype.close=function(t){return Et.resolve(!0)},te);function te(){}var ee=(ne.prototype.eventFromException=function(t,e){throw new k("Backend has to implement `eventFromException` method")},ne.prototype.eventFromMessage=function(t,e,n){throw new k("Backend has to implement `eventFromMessage` method")},ne.prototype.sendEvent=function(t){this._transport.sendEvent(t).then(null,function(t){J.error("Error while sending event: "+t)})},ne.prototype.sendSession=function(t){this._transport.sendSession?this._transport.sendSession(t).then(null,function(t){J.error("Error while sending session: "+t)}):J.warn("Dropping session because custom transport doesn't implement sendSession")},ne.prototype.getTransport=function(){return this._transport},ne.prototype._setupTransport=function(){return new Zt},ne);function ne(t){this._options=t,this._options.dsn||J.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}function re(t){if(t.metadata&&t.metadata.sdk){t=t.metadata.sdk;return{name:t.name,version:t.version}}}function oe(t,e){var n=re(e);return{body:JSON.stringify(_({sent_at:(new Date).toISOString()},n&&{sdk:n}))+"\n"+JSON.stringify({type:"session"})+"\n"+JSON.stringify(t),type:"session",url:e.getEnvelopeEndpointWithUrlEncodedAuth()}}function ie(t,e){var n=re(e),r=t.type||"event",o="transaction"===r,i=t.debug_meta||{},s=i.transactionSampling,a=function(t,e){var n={};for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(t);r<o.length;r++)e.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(t,o[r])&&(n[o[r]]=t[o[r]]);return n}(i,["transactionSampling"]),c=s||{},i=c.method,s=c.rate;0===Object.keys(a).length?delete t.debug_meta:t.debug_meta=a;e={body:JSON.stringify(n?(c=t,(a=e.metadata.sdk)&&(c.sdk=c.sdk||{name:a.name,version:a.version},c.sdk.name=c.sdk.name||a.name,c.sdk.version=c.sdk.version||a.version,c.sdk.integrations=u(c.sdk.integrations||[],a.integrations||[]),c.sdk.packages=u(c.sdk.packages||[],a.packages||[])),c):t),type:r,url:o?e.getEnvelopeEndpointWithUrlEncodedAuth():e.getStoreEndpointWithUrlEncodedAuth()};return o&&(s=JSON.stringify(_({event_id:t.event_id,sent_at:(new Date).toISOString()},n&&{sdk:n}))+"\n"+JSON.stringify({type:t.type,sample_rates:[{id:i,rate:s}]})+"\n"+e.body,e.body=s),e}var se,ae="6.1.0",ce=(ue.prototype.setupOnce=function(){se=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 se.apply(n,t)}},ue.id="FunctionToString",ue);function ue(){this.name=ue.id}var pe=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],le=(de.prototype.setupOnce=function(){Ct(function(t){var e=Mt();if(!e)return t;var n=e.getIntegration(de);if(n){e=e.getClient(),e=e?e.getOptions():{},e=n._mergeOptions(e);if(n._shouldDropEvent(t,e))return null}return t})},de.prototype._shouldDropEvent=function(t,e){return this._isSentryError(t,e)?(J.warn("Event dropped due to being internal Sentry Error.\nEvent: "+B(t)),!0):this._isIgnoredError(t,e)?(J.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+B(t)),!0):this._isDeniedUrl(t,e)?(J.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: "+B(t)+".\nUrl: "+this._getEventFilterUrl(t)),!0):!this._isAllowedUrl(t,e)&&(J.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: "+B(t)+".\nUrl: "+this._getEventFilterUrl(t)),!0)},de.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}},de.prototype._isIgnoredError=function(t,n){return!(!n.ignoreErrors||!n.ignoreErrors.length)&&this._getPossibleEventMessages(t).some(function(e){return n.ignoreErrors.some(function(t){return L(e,t)})})},de.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 L(n,t)})},de.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 L(n,t)})},de.prototype._mergeOptions=function(t){return void 0===t&&(t={}),{allowUrls:u(this._options.whitelistUrls||[],this._options.allowUrls||[],t.whitelistUrls||[],t.allowUrls||[]),denyUrls:u(this._options.blacklistUrls||[],this._options.denyUrls||[],t.blacklistUrls||[],t.denyUrls||[]),ignoreErrors:u(this._options.ignoreErrors||[],t.ignoreErrors||[],pe),ignoreInternal:void 0===this._options.ignoreInternal||this._options.ignoreInternal}},de.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 J.error("Cannot extract message for event "+B(e)),[]}return[]},de.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 J.error("Cannot extract url for event "+B(e)),null}},de.id="InboundFilters",de);function de(t){void 0===t&&(t={}),this._options=t,this.name=de.id}var he=Object.freeze({__proto__:null,FunctionToString:ce,InboundFilters:le}),fe="?",_e=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,ve=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,ye=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,ge=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,me=/\((\S*)(?::(\d+))(?::(\d+))\)/,be=/Minified React error #\d+;/i;function Ee(t){var e=null,n=0;t&&("number"==typeof t.framesToPop?n=t.framesToPop:be.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=fe),s.push(c))}return s.length?{message:Se(t),name:t.name,stack:s}:null}(t))return xe(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=_e.exec(o[i])){var s=n[2]&&0===n[2].indexOf("native");n[2]&&0===n[2].indexOf("eval")&&(e=me.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]||fe,args:s?[n[2]]:[],line:n[3]?+n[3]:null,column:n[4]?+n[4]:null}}else if(n=ye.exec(o[i]))s={url:n[2],func:n[1]||fe,args:[],line:+n[3],column:n[4]?+n[4]:null};else{if(!(n=ve.exec(o[i])))continue;n[3]&&-1<n[3].indexOf(" > eval")&&(e=ge.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]||fe,args:n[2]?n[2].split(","):[],line:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}!s.func&&s.line&&(s.func=fe),r.push(s)}return r.length?{message:Se(t),name:t.name,stack:r}:null}(t))return xe(e,n)}catch(t){}return{message:Se(t),name:t&&t.name,stack:[],failed:!0}}function xe(e,t){try{return _(_({},e),{stack:e.stack.slice(t)})}catch(t){return e}}function Se(t){t=t&&t.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}var we=50;function ke(t){var e=je(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 Oe(t,e,n){t={exception:{values:[{type:m(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(Z(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return C(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:C(o,e)}return""}(t)}]},extra:{__serialized__:function t(e,n,r){void 0===r&&(r=102400);var o=rt(e,n=void 0===n?3:n);return tt(o)>r?t(e,n-1,r):o}(t)}};return e&&(e=je(Ee(e).stack),t.stacktrace={frames:e}),t}function Te(t){return{exception:{values:[ke(t)]}}}function je(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)),(e=-1!==t.indexOf("sentryWrapped")?e.slice(0,-1):e).slice(0,we).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 Re(t,e,n){t=Ne(e,n&&n.syntheticException||void 0,{attachStacktrace:t.attachStacktrace});return H(t,{handled:!0,type:"generic"}),t.level=s.Error,n&&n.event_id&&(t.event_id=n.event_id),Et.resolve(t)}function Ie(t,e,n,r){void 0===n&&(n=s.Info);t=Ce(e,r&&r.syntheticException||void 0,{attachStacktrace:t.attachStacktrace});return t.level=n,r&&r.event_id&&(t.event_id=r.event_id),Et.resolve(t)}function Ne(t,e,n){if(void 0===n&&(n={}),l(t)&&t.error)return r=Te(Ee(t=t.error));if(d(t)||(i=t,"[object DOMException]"===Object.prototype.toString.call(i))){var r,o=t,i=o.name||(d(o)?"DOMError":"DOMException"),i=o.message?i+": "+o.message:i;return q(r=Ce(i,e,n),i),"code"in o&&(r.tags=_(_({},r.tags),{"DOMException.code":""+o.code})),r}return p(t)?r=Te(Ee(t)):(g(t)||m(t)?H(r=Oe(t,e,n.rejection),{synthetic:!0}):(q(r=Ce(t,e,n),""+t,void 0),H(r,{synthetic:!0})),r)}function Ce(t,e,n){t={message:t};return(n=void 0===n?{}:n).attachStacktrace&&e&&(e=je(Ee(e).stack),t.stacktrace={frames:e}),t}De.prototype.sendEvent=function(t){throw new k("Transport Class has to implement `sendEvent` method")},De.prototype.close=function(t){return this._buffer.drain(t)},De.prototype._handleResponse=function(t){var e=t.requestType,n=t.response,r=t.headers,o=t.resolve,i=t.reject,t=a.fromHttpCode(n.status);this._handleRateLimit(r)&&J.warn("Too many requests, backing off until: "+this._disabledUntil(e)),t!==a.Success?i(n):o({status:t})},De.prototype._disabledUntil=function(t){return this._rateLimits[t]||this._rateLimits.all},De.prototype._isRateLimited=function(t){return this._disabledUntil(t)>new Date(Date.now())},De.prototype._handleRateLimit=function(t){var e,n,r,o,i=Date.now(),s=t["x-sentry-rate-limits"],t=t["retry-after"];if(s){try{for(var a=v(s.trim().split(",")),c=a.next();!c.done;c=a.next()){var u=c.value.split(":",2),p=parseInt(u[0],10),l=1e3*(isNaN(p)?60:p);try{for(var d=(r=void 0,v(u[1].split(";"))),h=d.next();!h.done;h=d.next()){var f=h.value;this._rateLimits[f||"all"]=new Date(i+l)}}catch(t){r={error:t}}finally{try{h&&!h.done&&(o=d.return)&&o.call(d)}finally{if(r)throw r.error}}}}catch(t){e={error:t}}finally{try{c&&!c.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}return!0}return!!t&&(this._rateLimits.all=new Date(i+function(t,e){if(!e)return 6e4;var n=parseInt(""+e,10);return isNaN(n)?(e=Date.parse(""+e),isNaN(e)?6e4:e-t):1e3*n}(i,t)),!0)},z=De;function De(t){this.options=t,this._buffer=new St(30),this._rateLimits={},this._api=new Jt(t.dsn,t._metadata),this.url=this._api.getStoreEndpointWithUrlEncodedAuth()}var Le,Ue=A(),Ae=(t(Pe,Le=z),Pe.prototype.sendEvent=function(t){return this._sendRequest(ie(t,this._api),t)},Pe.prototype.sendSession=function(t){return this._sendRequest(oe(t,this._api),t)},Pe.prototype._sendRequest=function(o,t){var i=this;if(this._isRateLimited(o.type))return Promise.reject({event:t,type:o.type,reason:"Transport locked till "+this._disabledUntil(o.type)+" due to too many requests.",status:429});var e={body:o.body,method:"POST",referrerPolicy:function(){if(it())try{return new Request("_",{referrerPolicy:"origin"}),1}catch(t){return}}()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(e,this.options.fetchParameters),void 0!==this.options.headers&&(e.headers=this.options.headers),this._buffer.add(new Et(function(n,r){Ue.fetch(o.url,e).then(function(t){var e={"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")};i._handleResponse({requestType:o.type,response:t,headers:e,resolve:n,reject:r})}).catch(r)}))},Pe);function Pe(){return null!==Le&&Le.apply(this,arguments)||this}var Fe,Be=(t(Me,Fe=z),Me.prototype.sendEvent=function(t){return this._sendRequest(ie(t,this._api),t)},Me.prototype.sendSession=function(t){return this._sendRequest(oe(t,this._api),t)},Me.prototype._sendRequest=function(o,t){var i=this;return this._isRateLimited(o.type)?Promise.reject({event:t,type:o.type,reason:"Transport locked till "+this._disabledUntil(o.type)+" due to too many requests.",status:429}):this._buffer.add(new Et(function(e,n){var t,r=new XMLHttpRequest;for(t in r.onreadystatechange=function(){var t;4===r.readyState&&(t={"x-sentry-rate-limits":r.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":r.getResponseHeader("Retry-After")},i._handleResponse({requestType:o.type,response:r,headers:t,resolve:e,reject:n}))},r.open("POST",o.url),i.options.headers)i.options.headers.hasOwnProperty(t)&&r.setRequestHeader(t,i.options.headers[t]);r.send(o.body)}))},Me);function Me(){return null!==Fe&&Fe.apply(this,arguments)||this}var qe,He=Object.freeze({__proto__:null,BaseTransport:z,FetchTransport:Ae,XHRTransport:Be}),We=(t(Ye,qe=ee),Ye.prototype.eventFromException=function(t,e){return Re(this._options,t,e)},Ye.prototype.eventFromMessage=function(t,e,n){return void 0===e&&(e=s.Info),Ie(this._options,t,e,n)},Ye.prototype._setupTransport=function(){if(!this._options.dsn)return qe.prototype._setupTransport.call(this);var t=_(_({},this._options.transportOptions),{dsn:this._options.dsn,_metadata:this._options._metadata});return new(this._options.transport||(it()?Ae:Be))(t)},Ye);function Ye(){return null!==qe&&qe.apply(this,arguments)||this}var ze=0;function Ge(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 Ge(t,r)});return e.handleEvent?e.handleEvent.apply(this,t):e.apply(this,t)}catch(e){throw ze+=1,setTimeout(function(){--ze}),Gt(function(t){t.addEventProcessor(function(t){t=_({},t);return r.mechanism&&(q(t,void 0,void 0),H(t,r.mechanism)),t.extra=_(_({},t.extra),{arguments:n}),t}),zt(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 Je(t){var e;(t=void 0===t?{}:t).eventId?t.dsn?((e=document.createElement("script")).async=!0,e.src=new Jt(t.dsn).getReportDialogEndpoint(t),t.onLoad&&(e.onload=t.onLoad),(document.head||document.body).appendChild(e)):J.error("Missing dsn option in showReportDialog call"):J.error("Missing eventId option in showReportDialog call")}Xe.prototype.setupOnce=function(){Error.stackTraceLimit=50,this._options.onerror&&(J.log("Global Handler attached: onerror"),this._installGlobalOnErrorHandler()),this._options.onunhandledrejection&&(J.log("Global Handler attached: onunhandledrejection"),this._installGlobalOnUnhandledRejectionHandler())},Xe.prototype._installGlobalOnErrorHandler=function(){var i=this;this._onErrorHandlerInstalled||(dt({callback:function(t){var e=t.error,n=Mt(),r=n.getIntegration(Xe),o=e&&!0===e.__sentry_own_request__;!r||0<ze||o||(o=n.getClient(),H(t=y(e)?i._eventFromIncompleteOnError(t.msg,t.url,t.line,t.column):i._enhanceEventWithInitialFrame(Ne(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)},Xe.prototype._installGlobalOnUnhandledRejectionHandler=function(){var i=this;this._onUnhandledRejectionHandlerInstalled||(dt({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=Mt(),r=n.getIntegration(Xe),o=e&&!0===e.__sentry_own_request__;if(!r||0<ze||o)return!0;o=n.getClient(),o=y(e)?i._eventFromRejectionWithPrimitive(e):Ne(e,void 0,{attachStacktrace:o&&o.getOptions().attachStacktrace,rejection:!0});o.level=s.Error,H(o,{handled:!1,type:"onunhandledrejection"}),n.captureEvent(o,{originalException:e})},type:"unhandledrejection"}),this._onUnhandledRejectionHandlerInstalled=!0)},Xe.prototype._eventFromIncompleteOnError=function(t,e,n,r){var o,i=l(t)?t.message:t;!h(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)},Xe.prototype._eventFromRejectionWithPrimitive=function(t){return{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(t)}]}}},Xe.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=h(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},Xe.id="GlobalHandlers",kt=Xe;function Xe(t){this.name=Xe.id,this._onErrorHandlerInstalled=!1,this._onUnhandledRejectionHandlerInstalled=!1,this._options=_({onerror:!0,onunhandledrejection:!0},t)}var Ke=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],Tt=(Ve.prototype.setupOnce=function(){var t=A();this._options.setTimeout&&Q(t,"setTimeout",this._wrapTimeFunction.bind(this)),this._options.setInterval&&Q(t,"setInterval",this._wrapTimeFunction.bind(this)),this._options.requestAnimationFrame&&Q(t,"requestAnimationFrame",this._wrapRAF.bind(this)),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&Q(XMLHttpRequest.prototype,"send",this._wrapXHR.bind(this)),this._options.eventTarget&&(Array.isArray(this._options.eventTarget)?this._options.eventTarget:Ke).forEach(this._wrapEventTarget.bind(this))},Ve.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]=Ge(n,{mechanism:{data:{function:$(r)},handled:!0,type:"instrument"}}),r.apply(this,t)}},Ve.prototype._wrapRAF=function(e){return function(t){return e.call(this,Ge(t,{mechanism:{data:{function:"requestAnimationFrame",handler:$(e)},handled:!0,type:"instrument"}}))}},Ve.prototype._wrapEventTarget=function(o){var t=A(),t=t[o]&&t[o].prototype;t&&t.hasOwnProperty&&t.hasOwnProperty("addEventListener")&&(Q(t,"addEventListener",function(r){return function(t,e,n){try{"function"==typeof e.handleEvent&&(e.handleEvent=Ge(e.handleEvent.bind(e),{mechanism:{data:{function:"handleEvent",handler:$(e),target:o},handled:!0,type:"instrument"}}))}catch(t){}return r.call(this,t,Ge(e,{mechanism:{data:{function:"addEventListener",handler:$(e),target:o},handled:!0,type:"instrument"}}),n)}}),Q(t,"removeEventListener",function(i){return function(t,e,n){var r=e;try{var o=null===r||void 0===r?void 0:r.__sentry_wrapped__;o&&i.call(this,t,o,n)}catch(t){}return i.call(this,t,r,n)}}))},Ve.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]&&Q(r,n,function(t){var e={mechanism:{data:{function:n,handler:$(t)},handled:!0,type:"instrument"}};return t.__sentry_original__&&(e.mechanism.data.handler=$(t.__sentry_original__)),Ge(t,e)})}),n.apply(this,t)}},Ve.id="TryCatch",Ve);function Ve(t){this.name=Ve.id,this._options=_({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},t)}var $e=(Qe.prototype.addSentryBreadcrumb=function(t){this._options.sentry&&Mt().addBreadcrumb({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:B(t)},{event:t})},Qe.prototype.setupOnce=function(){var n=this;this._options.console&&dt({callback:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];n._consoleBreadcrumb.apply(n,u(t))},type:"console"}),this._options.dom&&dt({callback:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];n._domBreadcrumb.apply(n,u(t))},type:"dom"}),this._options.xhr&&dt({callback:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];n._xhrBreadcrumb.apply(n,u(t))},type:"xhr"}),this._options.fetch&&dt({callback:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];n._fetchBreadcrumb.apply(n,u(t))},type:"fetch"}),this._options.history&&dt({callback:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];n._historyBreadcrumb.apply(n,u(t))},type:"history"})},Qe.prototype._consoleBreadcrumb=function(t){var e={category:"console",data:{arguments:t.args,logger:"console"},level:s.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)}Mt().addBreadcrumb(e,{input:t.args,level:t.level})},Qe.prototype._domBreadcrumb=function(t){var e;try{e=t.event.target?S(t.event.target):S(t.event)}catch(t){e="<unknown>"}0!==e.length&&Mt().addBreadcrumb({category:"ui."+t.name,message:e},{event:t.event,name:t.name,global:t.global})},Qe.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,Mt().addBreadcrumb({category:"xhr",data:{method:e,url:n,status_code:r},type:"http"},{xhr:t.xhr,input:o})))},Qe.prototype._fetchBreadcrumb=function(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method||(t.error?Mt().addBreadcrumb({category:"fetch",data:t.fetchData,level:s.Error,type:"http"},{data:t.error,input:t.args}):Mt().addBreadcrumb({category:"fetch",data:_(_({},t.fetchData),{status_code:t.response.status}),type:"http"},{input:t.args,response:t.response})))},Qe.prototype._historyBreadcrumb=function(t){var e=A(),n=t.from,r=t.to,o=F(e.location.href),t=F(n),e=F(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),Mt().addBreadcrumb({category:"navigation",data:{from:n,to:r}})},Qe.id="Breadcrumbs",Qe);function Qe(t){this.name=Qe.id,this._options=_({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},t)}var Ze="cause",tn=5,en=(nn.prototype.setupOnce=function(){Ct(function(t,e){var n=Mt().getIntegration(nn);return n?n._handler(t,e):t})},nn.prototype._handler=function(t,e){if(!(t.exception&&t.exception.values&&e&&x(e.originalException,Error)))return t;e=this._walkErrorTree(e.originalException,this._key);return t.exception.values=u(e,t.exception.values),t},nn.prototype._walkErrorTree=function(t,e,n){if(void 0===n&&(n=[]),!x(t[e],Error)||n.length+1>=this._limit)return n;var r=ke(Ee(t[e]));return this._walkErrorTree(t[e],e,u([r],n))},nn.id="LinkedErrors",nn);function nn(t){void 0===t&&(t={}),this.name=nn.id,this._key=t.key||Ze,this._limit=t.limit||tn}var rn=A(),z=(on.prototype.setupOnce=function(){Ct(function(t){var e;if(Mt().getIntegration(on)){if(!rn.navigator&&!rn.location&&!rn.document)return t;var n=(null===(o=t.request)||void 0===o?void 0:o.url)||(null===(e=rn.location)||void 0===e?void 0:e.href),r=(rn.document||{}).referrer,o=(rn.navigator||{}).userAgent,o=_(_(_({},null===(e=t.request)||void 0===e?void 0:e.headers),r&&{Referer:r}),o&&{"User-Agent":o}),o=_(_({},n&&{url:n}),{headers:o});return _(_({},t),{request:o})}return t})},on.id="UserAgent",on);function on(){this.name=on.id}var sn,ee=Object.freeze({__proto__:null,GlobalHandlers:kt,TryCatch:Tt,Breadcrumbs:$e,LinkedErrors:en,UserAgent:z}),an=(t(cn,sn=$t),cn.prototype.showReportDialog=function(t){void 0===t&&(t={}),A().document&&(this._isEnabled()?Je(_(_({},t),{dsn:t.dsn||this.getDsn()})):J.error("Trying to call showReportDialog with Sentry Client disabled"))},cn.prototype._prepareEvent=function(t,e,n){return t.platform=t.platform||"javascript",sn.prototype._prepareEvent.call(this,t,e,n)},cn.prototype._sendEvent=function(t){var e=this.getIntegration($e);e&&e.addSentryBreadcrumb(t),sn.prototype._sendEvent.call(this,t)},cn);function cn(t){return void 0===t&&(t={}),sn.call(this,We,t)||this}var un=[new le,new ce,new Tt,new $e,new kt,new en,new z];en={},z=A();z.Sentry&&z.Sentry.Integrations&&(en=z.Sentry.Integrations);var he=_(_(_({},en),he),ee),ee=Object.freeze({__proto__:null,Integrations:he,Transports:He,get Severity(){return s},get Status(){return a},addGlobalEventProcessor:Ct,addBreadcrumb:function(t){Yt("addBreadcrumb",t)},captureException:zt,captureEvent:function(t){return Yt("captureEvent",t)},captureMessage:function(t,e){var n;try{throw new Error(t)}catch(t){n=t}return Yt("captureMessage",t,"string"==typeof e?e:void 0,_({originalException:t,syntheticException:n},"string"!=typeof e?{captureContext:e}:void 0))},configureScope:function(t){Yt("configureScope",t)},getHubFromCarrier:Ht,getCurrentHub:Mt,Hub:At,makeMain:Bt,Scope:Rt,startTransaction:function(t,e){return Yt("startTransaction",_({},t),e)},SDK_VERSION:ae,setContext:function(t,e){Yt("setContext",t,e)},setExtra:function(t,e){Yt("setExtra",t,e)},setExtras:function(t){Yt("setExtras",t)},setTag:function(t,e){Yt("setTag",t,e)},setTags:function(t){Yt("setTags",t)},setUser:function(t){Yt("setUser",t)},withScope:Gt,BrowserClient:an,injectReportDialog:Je,eventFromException:Re,eventFromMessage:Ie,defaultIntegrations:un,forceLoad:function(){},init:function(t){var e;void 0===(t=void 0===t?{}:t).defaultIntegrations&&(t.defaultIntegrations=un),void 0!==t.release||(e=A()).SENTRY_RELEASE&&e.SENTRY_RELEASE.id&&(t.release=e.SENTRY_RELEASE.id),void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),t._metadata=t._metadata||{},t._metadata.sdk={name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:ae}],version:ae},function(t,e){!0===e.debug&&J.enable();var n=Mt(),e=new t(e);n.bindClient(e)}(an,t),t.autoSessionTracking&&function(){if(void 0===A().document)return J.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");var t=Mt();t.startSession(),t.captureSession(),dt({callback:function(){t.startSession(),t.captureSession()},type:"history"})}()},lastEventId:function(){return Mt().lastEventId()},onLoad:function(t){t()},showReportDialog:function(t){(t=void 0===t?{}:t).eventId||(t.eventId=Mt().lastEventId());var e=Mt().getClient();e&&e.showReportDialog(t)},flush:function(t){var e=Mt().getClient();return e?e.flush(t):Et.reject(!1)},close:function(t){var e=Mt().getClient();return e?e.close(t):Et.reject(!1)},wrap:function(t){return Ge(t)()},SDK_NAME:"sentry.javascript.browser"}),pn="undefined"!=typeof document&&"undefined"!=typeof window&&window.cordova&&window.cordova.platformId,he=window.isDevEv||window.JSTESTING,He=ln("RavenURL",he?"https://65d65a6c23ab46e49d5d75247f98a782@sentry.io/44142":"https://8843f791501144e0b0dd4e8bd560d758@sentry.io/44141"),ee=window.Sentry||ee,he={dsn:He,release:"3.2.0",environment:he?"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=(pn?"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}};ee&&ee.Integrations&&(he.integrations=[new ee.Integrations.Breadcrumbs({console:!1})]),ee.init(he),ee.setTag("Application","WH-FE-NG2"),ee.setTag("Color",window.SRV_COLOR||"Default");ln("Raven",ee)}}});