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