(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{"+OSO":function(t,n,e){"use strict";e.d(n,"a",function(){return createClientReportEnvelope});var r=e("8dVd"),i=e("xqFT");function createClientReportEnvelope(t,n,e){var o=[{type:"client_report"},{timestamp:e||Object(i.a)(),discarded_events:t}];return Object(r.c)(n?{dsn:n}:{},[o])}},"/brt":function(t,n,e){"use strict";e.d(n,"a",function(){return severityLevelFromString});var r=["fatal","error","warning","log","info","debug"];function severityLevelFromString(t){return"warn"===t?"warning":r.includes(t)?t:"log"}},"26VM":function(t,n,e){"use strict";e.d(n,"a",function(){return isDOMError}),e.d(n,"b",function(){return isDOMException}),e.d(n,"c",function(){return isElement}),e.d(n,"d",function(){return isError}),e.d(n,"e",function(){return isErrorEvent}),e.d(n,"f",function(){return isEvent}),e.d(n,"g",function(){return isInstanceOf}),e.d(n,"h",function(){return isNaN}),e.d(n,"i",function(){return isPlainObject}),e.d(n,"j",function(){return isPrimitive}),e.d(n,"k",function(){return isRegExp}),e.d(n,"l",function(){return isString}),e.d(n,"m",function(){return isSyntheticEvent}),e.d(n,"n",function(){return isThenable});var r=Object.prototype.toString;function isError(t){switch(r.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return isInstanceOf(t,Error)}}function isBuiltin(t,n){return r.call(t)==="[object ".concat(n,"]")}function isErrorEvent(t){return isBuiltin(t,"ErrorEvent")}function isDOMError(t){return isBuiltin(t,"DOMError")}function isDOMException(t){return isBuiltin(t,"DOMException")}function isString(t){return isBuiltin(t,"String")}function isPrimitive(t){return null===t||"object"!==typeof t&&"function"!==typeof t}function isPlainObject(t){return isBuiltin(t,"Object")}function isEvent(t){return"undefined"!==typeof Event&&isInstanceOf(t,Event)}function isElement(t){return"undefined"!==typeof Element&&isInstanceOf(t,Element)}function isRegExp(t){return isBuiltin(t,"RegExp")}function isThenable(t){return Boolean(t&&t.then&&"function"===typeof t.then)}function isSyntheticEvent(t){return isPlainObject(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function isNaN(t){return"number"===typeof t&&t!==t}function isInstanceOf(t,n){try{return t instanceof n}catch(e){return!1}}},"2f8A":function(t,n,e){"use strict";function isBrowserBundle(){return"undefined"!==typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}e.d(n,"a",function(){return isBrowserBundle})},"2nP+":function(t,n,e){"use strict";(function(t){function isGlobalObj(t){return t&&t.Math==Math?t:void 0}e.d(n,"a",function(){return getGlobalObject}),e.d(n,"b",function(){return getGlobalSingleton});var r="object"==typeof globalThis&&isGlobalObj(globalThis)||"object"==typeof window&&isGlobalObj(window)||"object"==typeof self&&isGlobalObj(self)||"object"==typeof t&&isGlobalObj(t)||function(){return this}()||{};function getGlobalObject(){return r}function getGlobalSingleton(t,n,e){var i=e||r,o=i.__SENTRY__=i.__SENTRY__||{};return o[t]||(o[t]=n())}}).call(this,e("fRV1"))},"3QMb":function(t,n,e){"use strict";(function(t){e.d(n,"a",function(){return normalize}),e.d(n,"b",function(){return normalizeToSize});var r=e("s8DI"),i=e("26VM"),o=e("h5q0"),a=e("mekd"),c=e("AHQf");function normalize(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1/0,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;try{return function visit(n,e){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1/0;var f=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Object(o.a)();var l=Object(r.a)(f,2),d=l[0],p=l[1];if(null===e||["number","boolean","string"].includes(typeof e)&&!Object(i.h)(e))return e;var h=function stringifyValue(n,e){try{return"domain"===n&&e&&"object"===typeof e&&e._events?"[Domain]":"domainEmitter"===n?"[DomainEmitter]":"undefined"!==typeof t&&e===t?"[Global]":"undefined"!==typeof window&&e===window?"[Window]":"undefined"!==typeof document&&e===document?"[Document]":Object(i.m)(e)?"[SyntheticEvent]":"number"===typeof e&&e!==e?"[NaN]":void 0===e?"[undefined]":"function"===typeof e?"[Function: ".concat(Object(c.b)(e),"]"):"symbol"===typeof e?"[".concat(String(e),"]"):"bigint"===typeof e?"[BigInt: ".concat(String(e),"]"):"[object ".concat(Object.getPrototypeOf(e).constructor.name,"]")}catch(r){return"**non-serializable** (".concat(r,")")}}(n,e);if(!h.startsWith("[object "))return h;if(e.__sentry_skip_normalization__)return e;if(0===u)return h.replace("object ","");if(d(e))return"[Circular ~]";var v=e;if(v&&"function"===typeof v.toJSON)try{var y=v.toJSON();return visit("",y,u-1,s,f)}catch(E){}var m=Array.isArray(e)?[]:{};var g=0;var b=Object(a.b)(e);for(var _ in b)if(Object.prototype.hasOwnProperty.call(b,_)){if(g>=s){m[_]="[MaxProperties ~]";break}var O=b[_];m[_]=visit(_,O,u-1,s,f),g+=1}p(e);return m}("",n,e,u)}catch(s){return{ERROR:"**non-serializable** (".concat(s,")")}}}function normalizeToSize(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:102400,r=normalize(t,n);return function jsonSize(t){return function utf8Length(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(t))}(r)>e?normalizeToSize(t,n-1,e):r}}).call(this,e("fRV1"))},"5CQL":function(t,n,e){"use strict";e.d(n,"a",function(){return s});var r=e("uIJS"),i=e("4+fu"),o=e("LvsC"),a=e("qytN"),c=e("7jL2"),u=e("TVvm");function _createSuper2(t){return function(){var n,e=Object(c.a)(t);if(function isNativeReflectConstruct(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()){var r=Object(c.a)(this).constructor;n=Reflect.construct(e,arguments,r)}else n=e.apply(this,arguments);return Object(a.a)(this,n)}}var s=function(t){Object(o.a)(SentryError,t);var n=_createSuper2(SentryError);function SentryError(t){var e,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"warn";return Object(r.a)(this,SentryError),(e=n.call(this,t)).message=t,e.name=(this instanceof SentryError?this.constructor:void 0).prototype.constructor.name,Object.setPrototypeOf(Object(i.a)(e),(this instanceof SentryError?this.constructor:void 0).prototype),e.logLevel=o,e}return SentryError}(Object(u.a)(Error))},"8dVd":function(t,n,e){"use strict";e.d(n,"a",function(){return addItemToEnvelope}),e.d(n,"b",function(){return createAttachmentEnvelopeItem}),e.d(n,"c",function(){return createEnvelope}),e.d(n,"d",function(){return envelopeItemTypeToDataCategory}),e.d(n,"e",function(){return forEachEnvelopeItem}),e.d(n,"f",function(){return serializeEnvelope});var r=e("WwEg"),i=e("s8DI"),o=e("3QMb"),a=e("mekd");function createEnvelope(t){return[t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]]}function addItemToEnvelope(t,n){var e=Object(i.a)(t,2),o=e[0],a=e[1];return[o,[].concat(Object(r.a)(a),[n])]}function forEachEnvelopeItem(t,n){t[1].forEach(function(t){var e=t[0].type;n(t,e)})}function encodeUTF8(t,n){return(n||new TextEncoder).encode(t)}function serializeEnvelope(t,n){var e=Object(i.a)(t,2),r=e[0],a=e[1],c=JSON.stringify(r);function append(t){"string"===typeof c?c="string"===typeof t?c+t:[encodeUTF8(c,n),t]:c.push("string"===typeof t?encodeUTF8(t,n):t)}var u=!0,s=!1,f=void 0;try{for(var l,d=a[Symbol.iterator]();!(u=(l=d.next()).done);u=!0){var p=l.value,h=Object(i.a)(p,2),v=h[0],y=h[1];if(append("\n".concat(JSON.stringify(v),"\n")),"string"===typeof y||y instanceof Uint8Array)append(y);else{var m=void 0;try{m=JSON.stringify(y)}catch(g){m=JSON.stringify(Object(o.a)(y))}append(m)}}}catch(b){s=!0,f=b}finally{try{u||null==d.return||d.return()}finally{if(s)throw f}}return"string"===typeof c?c:function concatBuffers(t){var n=t.reduce(function(t,n){return t+n.length},0),e=new Uint8Array(n),r=0,i=!0,o=!1,a=void 0;try{for(var c,u=t[Symbol.iterator]();!(i=(c=u.next()).done);i=!0){var s=c.value;e.set(s,r),r+=s.length}}catch(b){o=!0,a=b}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}return e}(c)}function createAttachmentEnvelopeItem(t,n){var e="string"===typeof t.data?encodeUTF8(t.data,n):t.data;return[Object(a.c)({type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),e]}var c={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default"};function envelopeItemTypeToDataCategory(t){return c[t]}},AHQf:function(t,n,e){"use strict";var r=e("nfbA"),i=e("WwEg");e.d(n,"a",function(){return createStackParser}),e.d(n,"b",function(){return getFunctionName}),e.d(n,"c",function(){return stackParserFromStackParserOptions});var o=50;function createStackParser(){for(var t=arguments.length,n=new Array(t),e=0;e1&&void 0!==arguments[1]?arguments[1]:0,e=[],a=!0,c=!1,u=void 0;try{for(var s,f=t.split("\n").slice(n)[Symbol.iterator]();!(a=(s=f.next()).done);a=!0){var l=s.value.replace(/\(error: (.*)\)/,"$1"),d=!0,p=!1,h=void 0;try{for(var v,y=i[Symbol.iterator]();!(d=(v=y.next()).done);d=!0){var m=(0,v.value)(l);if(m){e.push(m);break}}}catch(g){p=!0,h=g}finally{try{d||null==y.return||y.return()}finally{if(p)throw h}}}}catch(g){c=!0,u=g}finally{try{a||null==f.return||f.return()}finally{if(c)throw u}}return function stripSentryFramesAndReverse(t){if(!t.length)return[];var n=t,e=n[0].function||"",i=n[n.length-1].function||"";-1===e.indexOf("captureMessage")&&-1===e.indexOf("captureException")||(n=n.slice(1));-1!==i.indexOf("sentryWrapped")&&(n=n.slice(0,-1));return n.slice(0,o).map(function(t){return Object(r.a)(Object(r.a)({},t),{},{filename:t.filename||n[0].filename,function:t.function||"?"})}).reverse()}(e)}}function stackParserFromStackParserOptions(t){return Array.isArray(t)?createStackParser.apply(void 0,Object(i.a)(t)):t}var a="";function getFunctionName(t){try{return t&&"function"===typeof t&&t.name||a}catch(n){return a}}},IZJC:function(t,n,e){"use strict";e.d(n,"a",function(){return makePromiseBuffer});var r=e("5CQL"),i=e("bTzN");function makePromiseBuffer(t){var n=[];function remove(t){return n.splice(n.indexOf(t),1)[0]}return{$:n,add:function add(e){if(!function isReady(){return void 0===t||n.length0&&e(!1)},t);n.forEach(function(t){Object(i.c)(t).then(function(){--o||(clearTimeout(a),e(!0))},r)})})}}}},Iwrg:function(t,n,e){"use strict";e.d(n,"a",function(){return addExceptionMechanism}),e.d(n,"b",function(){return addExceptionTypeValue}),e.d(n,"c",function(){return arrayify}),e.d(n,"d",function(){return checkOrSetAlreadyCaught}),e.d(n,"e",function(){return getEventDescription}),e.d(n,"f",function(){return uuid4});var r=e("nfbA"),i=e("2nP+"),o=e("mekd");e("cJHJ");function uuid4(){var t=Object(i.a)(),n=t.crypto||t.msCrypto;if(n&&n.randomUUID)return n.randomUUID().replace(/-/g,"");var e=n&&n.getRandomValues?function(){return n.getRandomValues(new Uint8Array(1))[0]}:function(){return 16*Math.random()};return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,function(t){return(t^(15&e())>>t/4).toString(16)})}function getFirstException(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function getEventDescription(t){var n=t.message,e=t.event_id;if(n)return n;var r=getFirstException(t);return r?r.type&&r.value?"".concat(r.type,": ").concat(r.value):r.type||r.value||e||"":e||""}function addExceptionTypeValue(t,n,e){var r=t.exception=t.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=n||""),o.type||(o.type=e||"Error")}function addExceptionMechanism(t,n){var e=getFirstException(t);if(e){var i=e.mechanism;if(e.mechanism=Object(r.a)(Object(r.a)(Object(r.a)({},{type:"generic",handled:!0}),i),n),n&&"data"in n){var o=Object(r.a)(Object(r.a)({},i&&i.data),n.data);e.mechanism.data=o}}}function checkOrSetAlreadyCaught(t){if(t&&t.__sentry_captured__)return!0;try{Object(o.a)(t,"__sentry_captured__",!0)}catch(n){}return!1}function arrayify(t){return Array.isArray(t)?t:[t]}},MiOA:function(t,n,e){"use strict";e.d(n,"a",function(){return dsnToString}),e.d(n,"b",function(){return makeDsn});var r=e("s8DI"),i=e("5CQL"),o=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function dsnToString(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e=t.host,r=t.path,i=t.pass,o=t.port,a=t.projectId,c=t.protocol,u=t.publicKey;return"".concat(c,"://").concat(u).concat(n&&i?":".concat(i):"")+"@".concat(e).concat(o?":".concat(o):"","/").concat(r?"".concat(r,"/"):r).concat(a)}function dsnFromComponents(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function makeDsn(t){var n="string"===typeof t?function dsnFromString(t){var n=o.exec(t);if(!n)throw new i.a("Invalid Sentry Dsn: ".concat(t));var e=n.slice(1),a=Object(r.a)(e,6),c=a[0],u=a[1],s=a[2],f=void 0===s?"":s,l=a[3],d=a[4],p=void 0===d?"":d,h="",v=a[5],y=v.split("/");if(y.length>1&&(h=y.slice(0,-1).join("/"),v=y.pop()),v){var m=v.match(/^\d+/);m&&(v=m[0])}return dsnFromComponents({host:l,pass:f,path:h,projectId:v,port:p,protocol:c,publicKey:u})}(t):dsnFromComponents(t);return function validateDsn(t){if("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__){var n=t.port,e=t.projectId,r=t.protocol;if(["protocol","publicKey","host","projectId"].forEach(function(n){if(!t[n])throw new i.a("Invalid Sentry Dsn: ".concat(n," missing"))}),!e.match(/^\d+$/))throw new i.a("Invalid Sentry Dsn: Invalid projectId ".concat(e));if(!function isValidProtocol(t){return"http"===t||"https"===t}(r))throw new i.a("Invalid Sentry Dsn: Invalid protocol ".concat(r));if(n&&isNaN(parseInt(n,10)))throw new i.a("Invalid Sentry Dsn: Invalid port ".concat(n));return!0}}(n),n}},Xywm:function(t,n,e){"use strict";(function(t,r){e.d(n,"a",function(){return dynamicRequire}),e.d(n,"b",function(){return isNodeEnv});var i=e("2f8A");function isNodeEnv(){return!Object(i.a)()&&"[object process]"===Object.prototype.toString.call("undefined"!==typeof t?t:0)}function dynamicRequire(t,n){return t.require(n)}}).call(this,e("F63i"),e("cyaT")(t))},bTzN:function(t,n,e){"use strict";e.d(n,"a",function(){return c}),e.d(n,"b",function(){return rejectedSyncPromise}),e.d(n,"c",function(){return resolvedSyncPromise});var r,i=e("uIJS"),o=e("wQh9"),a=e("26VM");function resolvedSyncPromise(t){return new c(function(n){n(t)})}function rejectedSyncPromise(t){return new c(function(n,e){e(t)})}!function(t){t[t.PENDING=0]="PENDING";t[t.RESOLVED=1]="RESOLVED";t[t.REJECTED=2]="REJECTED"}(r||(r={}));var c=function(){function SyncPromise(t){Object(i.a)(this,SyncPromise),SyncPromise.prototype.__init.call(this),SyncPromise.prototype.__init2.call(this),SyncPromise.prototype.__init3.call(this),SyncPromise.prototype.__init4.call(this),SyncPromise.prototype.__init5.call(this),SyncPromise.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}return Object(o.a)(SyncPromise,[{key:"__init",value:function __init(){this._state=r.PENDING}},{key:"__init2",value:function __init2(){this._handlers=[]}}]),Object(o.a)(SyncPromise,[{key:"then",value:function then(t,n){var e=this;return new SyncPromise(function(r,i){e._handlers.push([!1,function(n){if(t)try{r(t(n))}catch(e){i(e)}else r(n)},function(t){if(n)try{r(n(t))}catch(e){i(e)}else i(t)}]),e._executeHandlers()})}},{key:"catch",value:function _catch(t){return this.then(function(t){return t},t)}},{key:"finally",value:function _finally(t){var n=this;return new SyncPromise(function(e,r){var i,o;return n.then(function(n){o=!1,i=n,t&&t()},function(n){o=!0,i=n,t&&t()}).then(function(){o?r(i):e(i)})})}},{key:"__init3",value:function __init3(){var t=this;this._resolve=function(n){t._setResult(r.RESOLVED,n)}}},{key:"__init4",value:function __init4(){var t=this;this._reject=function(n){t._setResult(r.REJECTED,n)}}},{key:"__init5",value:function __init5(){var t=this;this._setResult=function(n,e){t._state===r.PENDING&&(Object(a.n)(e)?e.then(t._resolve,t._reject):(t._state=n,t._value=e,t._executeHandlers()))}}},{key:"__init6",value:function __init6(){var t=this;this._executeHandlers=function(){if(t._state!==r.PENDING){var n=t._handlers.slice();t._handlers=[],n.forEach(function(n){n[0]||(t._state===r.RESOLVED&&n[1](t._value),t._state===r.REJECTED&&n[2](t._value),n[0]=!0)})}}}}]),SyncPromise}()},cJHJ:function(t,n,e){"use strict";e.d(n,"a",function(){return isMatchingPattern}),e.d(n,"b",function(){return safeJoin}),e.d(n,"c",function(){return snipLine}),e.d(n,"d",function(){return truncate});var r=e("26VM");function truncate(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"string"!==typeof t||0===n?t:t.length<=n?t:"".concat(t.substr(0,n),"...")}function snipLine(t,n){var e=t,r=e.length;if(r<=150)return e;n>r&&(n=r);var i=Math.max(n-60,0);i<5&&(i=0);var o=Math.min(i+140,r);return o>r-5&&(o=r),o===r&&(i=Math.max(o-140,0)),e=e.slice(i,o),i>0&&(e="'{snip} ".concat(e)),o ".length;r&&o++<5&&!("html"===(e=_htmlElementAsString(r,n))||o>1&&a+i.length*c+e.length>=80);)i.push(e),a+=e.length,r=r.parentNode;return i.reverse().join(" > ")}catch(u){return""}}function _htmlElementAsString(t,n){var e,r,o,a,c,u=t,s=[];if(!u||!u.tagName)return"";s.push(u.tagName.toLowerCase());var f=n&&n.length?n.filter(function(t){return u.getAttribute(t)}).map(function(t){return[t,u.getAttribute(t)]}):null;if(f&&f.length)f.forEach(function(t){s.push("[".concat(t[0],'="').concat(t[1],'"]'))});else if(u.id&&s.push("#".concat(u.id)),(e=u.className)&&Object(i.l)(e))for(r=e.split(/\s+/),c=0;c2?e[2]:void 0;if(o){var a=r,c=String(o);r=c,triggerHandlers("history",{from:a,to:c})}return t.apply(this,e)}}l.onpopstate=function(){var n=l.location.href,e=r;if(r=n,triggerHandlers("history",{from:e,to:n}),t)try{for(var i=arguments.length,o=new Array(i),a=0;a0&&void 0!==arguments[0]?arguments[0]:[];return"Request"in l&&Object(a.g)(t[0],Request)&&t[0].method?String(t[0].method).toUpperCase():t[1]&&t[1].method?String(t[1].method).toUpperCase():"GET"}function getFetchUrl(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return"string"===typeof t[0]?t[0]:"Request"in l&&Object(a.g)(t[0],Request)?t[0].url:String(t[0])}var h,v,y=1e3;function makeDOMEventHandler(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(e){if(e&&v!==e&&!function shouldSkipDOMEvent(t){if("keypress"!==t.type)return!1;try{var n=t.target;if(!n||!n.tagName)return!0;if("INPUT"===n.tagName||"TEXTAREA"===n.tagName||n.isContentEditable)return!1}catch(e){}return!0}(e)){var r="keypress"===e.type?"input":e.type;void 0===h?(t({event:e,name:r,global:n}),v=e):function shouldShortcircuitPreviousDebounce(t,n){if(!t)return!0;if(t.type!==n.type)return!0;try{if(t.target!==n.target)return!0}catch(e){}return!1}(v,e)&&(t({event:e,name:r,global:n}),v=e),clearTimeout(h),h=l.setTimeout(function(){h=void 0},y)}}}var m=null;var g=null},mekd:function(t,n,e){"use strict";e.d(n,"a",function(){return addNonEnumerableProperty}),e.d(n,"b",function(){return convertToPlainObject}),e.d(n,"c",function(){return dropUndefinedKeys}),e.d(n,"d",function(){return extractExceptionKeysForMessage}),e.d(n,"e",function(){return fill}),e.d(n,"f",function(){return getOriginalFunction}),e.d(n,"g",function(){return markFunctionWrapped}),e.d(n,"h",function(){return urlEncode});var r=e("nfbA"),i=e("exJp"),o=e("26VM"),a=e("cJHJ");function fill(t,n,e){if(n in t){var r=t[n],i=e(r);if("function"===typeof i)try{markFunctionWrapped(i,r)}catch(o){}t[n]=i}}function addNonEnumerableProperty(t,n,e){Object.defineProperty(t,n,{value:e,writable:!0,configurable:!0})}function markFunctionWrapped(t,n){var e=n.prototype||{};t.prototype=n.prototype=e,addNonEnumerableProperty(t,"__sentry_original__",n)}function getOriginalFunction(t){return t.__sentry_original__}function urlEncode(t){return Object.keys(t).map(function(n){return"".concat(encodeURIComponent(n),"=").concat(encodeURIComponent(t[n]))}).join("&")}function convertToPlainObject(t){if(Object(o.d)(t))return Object(r.a)({message:t.message,name:t.name,stack:t.stack},getOwnProperties(t));if(Object(o.f)(t)){var n=Object(r.a)({type:t.type,target:serializeEventTarget(t.target),currentTarget:serializeEventTarget(t.currentTarget)},getOwnProperties(t));return"undefined"!==typeof CustomEvent&&Object(o.g)(t,CustomEvent)&&(n.detail=t.detail),n}return t}function serializeEventTarget(t){try{return Object(o.c)(t)?Object(i.b)(t):Object.prototype.toString.call(t)}catch(n){return""}}function getOwnProperties(t){if("object"===typeof t&&null!==t){var n={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e]);return n}return{}}function extractExceptionKeysForMessage(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:40,e=Object.keys(convertToPlainObject(t));if(e.sort(),!e.length)return"[object has no keys]";if(e[0].length>=n)return Object(a.d)(e[0],n);for(var r=e.length;r>0;r--){var i=e.slice(0,r).join(", ");if(!(i.length>n))return r===e.length?i:Object(a.d)(i,n)}return""}function dropUndefinedKeys(t){return function _dropUndefinedKeys(t,n){if(Object(o.i)(t)){var e=n.get(t);if(void 0!==e)return e;var r={};n.set(t,r);for(var i=0,a=Object.keys(t);i2&&void 0!==arguments[2]?arguments[2]:Date.now();return function disabledUntil(t,n){return t[n]||t.all||0}(t,n)>e}function updateRateLimits(t,n){var e=n.statusCode,a=n.headers,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now(),u=Object(i.a)({},t),s=a&&a["x-sentry-rate-limits"],f=a&&a["retry-after"];if(s){var l=!0,d=!1,p=void 0;try{for(var h,v=s.trim().split(",")[Symbol.iterator]();!(l=(h=v.next()).done);l=!0){var y=h.value.split(":",2),m=Object(r.a)(y,2),g=m[0],b=m[1],_=parseInt(g,10),O=1e3*(isNaN(_)?60:_);if(b){var E=!0,j=!1,S=void 0;try{for(var w,N=b.split(";")[Symbol.iterator]();!(E=(w=N.next()).done);E=!0){u[w.value]=c+O}}catch(k){j=!0,S=k}finally{try{E||null==N.return||N.return()}finally{if(j)throw S}}}else u.all=c+O}}catch(k){d=!0,p=k}finally{try{l||null==v.return||v.return()}finally{if(d)throw p}}}else f?u.all=c+function parseRetryAfterHeader(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now(),e=parseInt("".concat(t),10);if(!isNaN(e))return 1e3*e;var r=Date.parse("".concat(t));return isNaN(r)?o:r-n}(f,c):429===e&&(u.all=c+6e4);return u}}}]);