(window.findifyJsonp=window.findifyJsonp||[]).push([[2],{"1Hxs":function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){r=Function.prototype.toString,Function.prototype.toString=function(){for(var t=[],e=0;e=200&&e<300?t.Success:429===e?t.RateLimit:e>=400&&e<500?t.Invalid:e>=500?t.Failed:t.Unknown}}(e.Status||(e.Status={}))},"9mya":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("XMIM"),o=n("rFKW"),i=n("NBgs"),a=n("MoD/"),s=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){var e=this;o.addGlobalEventProcessor(function(n){return r.__awaiter(e,void 0,void 0,function(){var e;return r.__generator(this,function(r){if(e=o.getCurrentHub().getIntegration(t)){try{if(e.shouldDropEvent(n,e.previousEvent))return[2,null]}catch(t){return[2,e.previousEvent=n]}return[2,e.previousEvent=n]}return[2,n]})})})},t.prototype.shouldDropEvent=function(t,e){return!(!e||(this.isSameMessageEvent(t,e)?(i.logger.warn("Event dropped due to being a duplicate of previous event (same message).\nEvent: "+a.getEventDescription(t)),0):!this.isSameExceptionEvent(t,e)||(i.logger.warn("Event dropped due to being a duplicate of previous event (same exception).\nEvent: "+a.getEventDescription(t)),0)))},t.prototype.isSameMessageEvent=function(t,e){var n=t.message,r=e.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!this.isSameFingerprint(t,e)||!this.isSameStacktrace(t,e))},t.prototype.getFramesFromEvent=function(t){var e=t.exception;if(!e)return t.stacktrace?t.stacktrace.frames:void 0;try{return e.values[0].stacktrace.frames}catch(t){return}},t.prototype.isSameStacktrace=function(t,e){var n=this.getFramesFromEvent(t),r=this.getFramesFromEvent(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(n=n,(r=r).length!==n.length)return!1;for(var o=0;o0&&n(!1)},t);Promise.all(e.buffer).then(function(){clearTimeout(r),n(!0)}).catch(function(){n(!0)})})]})})},t}();e.PromiseBuffer=i},CPqQ:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("XMIM"),o=n("9EIM"),i=n("H/kl"),a=n("g4Tb"),s=n("NBgs"),u=n("MoD/"),c=n("dJ+I"),l=n("Z+By"),f=n("QrN2"),p=n("C+5q"),d=function(){function t(t,e){this.buffer=new p.PromiseBuffer,this.backend=new t(e),this.options=e,e.dsn&&(this.dsn=new l.Dsn(e.dsn)),this.integrations=f.setupIntegrations(this.options)}return t.prototype.install=function(){if(!this.isEnabled())return this.installed=!1;var t=this.getBackend();return!this.installed&&t.install&&t.install(),this.installed=!0},t.prototype.captureException=function(t,e,n){return r.__awaiter(this,void 0,void 0,function(){var o=this;return r.__generator(this,function(i){return[2,this.buffer.add(r.__awaiter(o,void 0,void 0,function(){var o;return r.__generator(this,function(r){switch(r.label){case 0:return[4,this.getBackend().eventFromException(t,e)];case 1:return o=r.sent(),[2,this.captureEvent(o,e,n)]}})}))]})})},t.prototype.captureMessage=function(t,e,n,o){return r.__awaiter(this,void 0,void 0,function(){var i=this;return r.__generator(this,function(s){return[2,this.buffer.add(r.__awaiter(i,void 0,void 0,function(){var i,s;return r.__generator(this,function(r){switch(r.label){case 0:return a.isPrimitive(t)?[4,this.getBackend().eventFromMessage(""+t,e,n)]:[3,2];case 1:return s=r.sent(),[3,4];case 2:return[4,this.getBackend().eventFromException(t,n)];case 3:s=r.sent(),r.label=4;case 4:return i=s,[2,this.captureEvent(i,n,o)]}})}))]})})},t.prototype.captureEvent=function(t,e,n){return r.__awaiter(this,void 0,void 0,function(){var o=this;return r.__generator(this,function(i){return[2,this.buffer.add(r.__awaiter(o,void 0,void 0,function(){var o=this;return r.__generator(this,function(i){return[2,this.processEvent(t,function(t){return r.__awaiter(o,void 0,void 0,function(){return r.__generator(this,function(e){return[2,this.getBackend().sendEvent(t)]})})},e,n)]})}))]})})},t.prototype.addBreadcrumb=function(t,e,n){var o=this.getOptions(),i=o.beforeBreadcrumb,a=o.maxBreadcrumbs,s=void 0===a?30:a;if(!(s<=0)){var c=(new Date).getTime()/1e3,l=r.__assign({timestamp:c},t),f=i?u.consoleSandbox(function(){return i(l,e)}):l;null!==f&&this.getBackend().storeBreadcrumb(f)&&n&&n.addBreadcrumb(f,Math.min(s,100))}},t.prototype.getDsn=function(){return this.dsn},t.prototype.getOptions=function(){return this.options},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){return r.__awaiter(this,void 0,void 0,function(){var o,i,a,s,l,f,p,d,h;return r.__generator(this,function(v){return o=this.getOptions(),i=o.environment,a=o.maxBreadcrumbs,s=void 0===a?30:a,l=o.release,f=o.dist,void 0===(p=r.__assign({},t)).environment&&void 0!==i&&(p.environment=i),void 0===p.release&&void 0!==l&&(p.release=l),void 0===p.dist&&void 0!==f&&(p.dist=f),p.message&&(p.message=c.truncate(p.message,250)),(d=p.exception&&p.exception.values&&p.exception.values[0])&&d.value&&(d.value=c.truncate(d.value,250)),(h=p.request)&&h.url&&(h.url=c.truncate(h.url,250)),void 0===p.event_id&&(p.event_id=u.uuid4()),this._addIntegrations(p.sdk),e?[2,e.applyToEvent(p,n,Math.min(s,100))]:[2,p]})})},t.prototype._addIntegrations=function(t){var e=Object.keys(this.integrations);t&&e.length>0&&(t.integrations=e)},t.prototype.processEvent=function(t,e,n,a){return r.__awaiter(this,void 0,void 0,function(){var u,c,l,f,p,d,h,v;return r.__generator(this,function(r){switch(r.label){case 0:return this.isEnabled()?(u=this.getOptions(),c=u.beforeSend,"number"==typeof(l=u.sampleRate)&&Math.random()>l?[2,{status:o.Status.Skipped}]:[4,this.prepareEvent(t,a,n)]):[2,{status:o.Status.Skipped}];case 1:if(null===(f=r.sent()))return[2,{status:o.Status.Skipped}];p=f,r.label=2;case 2:return r.trys.push([2,5,,6]),n&&n.data&&!0===n.data.__sentry__||!c?[3,4]:[4,c(f,n)];case 3:void 0===(p=r.sent())&&s.logger.error("`beforeSend` method has to return `null` or a valid event"),r.label=4;case 4:return[3,6];case 5:return d=r.sent(),i.forget(this.captureException(d,{data:{__sentry__:!0},originalException:d})),[2,{reason:"Event processing in beforeSend method threw an exception",status:o.Status.Invalid}];case 6:if(null===p)return[2,{reason:"Event dropped due to being discarded by beforeSend method",status:o.Status.Skipped}];r.label=7;case 7:return r.trys.push([7,9,,10]),[4,e(p)];case 8:return(h=r.sent()).event=p,h.status,o.Status.RateLimit,[2,h];case 9:return v=r.sent(),s.logger.error(""+v),[2,{reason:""+v,status:o.Status.Failed}];case 10:return[2]}})})},t.prototype.flush=function(t){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(e){switch(e.label){case 0:return[4,Promise.all([this.getBackend().getTransport().close(t),this.buffer.drain(t)])];case 1:return[2,e.sent().reduce(function(t,e){return t&&e})]}})})},t.prototype.close=function(t){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(e){return[2,this.flush(t)]})})},t.prototype.getIntegrations=function(){return this.integrations||{}},t.prototype.getIntegration=function(t){try{return this.integrations[t.id]||null}catch(e){return s.logger.warn("Cannot retrieve integration "+t.id+" from the current Client"),null}},t}();e.BaseClient=d},CbfU:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){this.hasWeakSet="function"==typeof WeakSet,this.inner=this.hasWeakSet?new WeakSet:[]}return t.prototype.memoize=function(t){if(this.hasWeakSet)return!!this.inner.has(t)||(this.inner.add(t),!1);for(var e=0;e ".length;n&&o++<5&&!("html"===(e=u(n))||o>1&&i+r.length*a+e.length>=80);)r.push(e),i+=e.length,n=n.parentNode;return r.reverse().join(" > ")},e.htmlElementAsString=u,e.parseUrl=function(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}},e.getEventDescription=function(t){if(t.message)return t.message;if(t.exception&&t.exception.values&&t.exception.values[0]){var e=t.exception.values[0];return e.type&&e.value?e.type+": "+e.value:e.type||e.value||t.event_id||""}return t.event_id||""},e.consoleSandbox=function(t){var e=s();if(!("console"in e))return t();var n=e.console,r={};["debug","info","warn","error","log"].forEach(function(t){t in e.console&&n[t].__sentry__&&(r[t]=n[t].__sentry_wrapped__,n[t]=n[t].__sentry_original__)});var o=t();return Object.keys(r).forEach(function(t){n[t]=r[t]}),o}}).call(this,n("Qi+u"),n("wFps"))},NBgs:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("MoD/"),o=r.getGlobalObject(),i=new(function(){function t(){this.enabled=!1}return t.prototype.disable=function(){this.enabled=!1},t.prototype.enable=function(){this.enabled=!0},t.prototype.log=function(){for(var t=[],e=0;e1)for(var n=1;n=0;s--)(o=t[s])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a}function u(t,e){return function(n,r){e(n,r,t)}}function c(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function l(t,e,n,r){return new(n||(n=Promise))(function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function s(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){t.done?o(t.value):new n(function(e){e(t.value)}).then(a,s)}u((r=r.apply(t,e||[])).next())})}function f(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function h(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function v(){for(var t=[],e=0;e1||s(t,e)})})}function s(t,e){try{(n=o[t](e)).value instanceof g?Promise.resolve(n.value.v).then(u,c):l(i[0][2],n)}catch(t){l(i[0][3],t)}var n}function u(t){s("next",t)}function c(t){s("throw",t)}function l(t,e){t(e),i.shift(),i.length&&s(i[0][0],i[0][1])}}function m(t){var e,n;return e={},r("next"),r("throw",function(t){throw t}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,o){e[r]=t[r]?function(e){return(n=!n)?{value:g(t[r](e)),done:"return"===r}:o?o(e):e}:o}}function _(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=d(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,o){!function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)}(r,o,(e=t[n](e)).done,e.value)})}}}function b(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function E(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function w(t){return t&&t.__esModule?t:{default:t}}},"Z+By":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("XMIM"),o=n("g4Tb"),i=n("oOxp"),a=n("F9tV"),s=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w\.-]+)(?::(\d+))?\/(.+)/,u=function(){function t(t){"string"==typeof t?this.fromString(t):this.fromComponents(t),this.validate()}return t.prototype.toString=function(t){void 0===t&&(t=!1);var e=this,n=e.host,r=e.path,o=e.pass,i=e.port,a=e.projectId;return e.protocol+"://"+e.user+(t&&o?":"+o:"")+"@"+n+(i?":"+i:"")+"/"+(r?r+"/":r)+a},t.prototype.fromString=function(t){var e=s.exec(t);if(!e)throw new a.SentryError("Invalid Dsn");var n=r.__read(e.slice(1),6),o=n[0],u=n[1],c=n[2],l=void 0===c?"":c,f=n[3],p=n[4],d=void 0===p?"":p,h="",v=n[5],g=v.split("/");g.length>1&&(h=g.slice(0,-1).join("/"),v=g.pop()),i.assign(this,{host:f,pass:l,path:h,projectId:v,port:d,protocol:o,user:u})},t.prototype.fromComponents=function(t){this.protocol=t.protocol,this.user=t.user,this.pass=t.pass||"",this.host=t.host,this.port=t.port||"",this.path=t.path||"",this.projectId=t.projectId},t.prototype.validate=function(){var t,e;try{for(var n=r.__values(["protocol","user","host","projectId"]),i=n.next();!i.done;i=n.next()){var s=i.value;if(!this[s])throw new a.SentryError("Invalid Dsn: Missing "+s)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}if("http"!==this.protocol&&"https"!==this.protocol)throw new a.SentryError('Invalid Dsn: Unsupported protocol "'+this.protocol+'"');if(this.port&&o.isNaN(parseInt(this.port,10)))throw new a.SentryError('Invalid Dsn: Invalid port number "'+this.port+'"')},t}();e.Dsn=u},Z3LN:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("XMIM"),o=n("MoD/"),i=n("oOxp"),a=function(){function t(){this.notifyingListeners=!1,this.scopeListeners=[],this.eventProcessors=[],this.breadcrumbs=[],this.user={},this.tags={},this.extra={}}return t.prototype.addScopeListener=function(t){this.scopeListeners.push(t)},t.prototype.addEventProcessor=function(t){return this.eventProcessors.push(t),this},t.prototype.notifyScopeListeners=function(){var t=this;this.notifyingListeners||(this.notifyingListeners=!0,setTimeout(function(){t.scopeListeners.forEach(function(e){e(t)}),t.notifyingListeners=!1}))},t.prototype.notifyEventProcessors=function(t,e){return r.__awaiter(this,void 0,void 0,function(){var n,o,i,a,u,c,l;return r.__generator(this,function(f){switch(f.label){case 0:i=t,f.label=1;case 1:f.trys.push([1,8,9,10]),a=r.__values(r.__spread(s(),this.eventProcessors)),u=a.next(),f.label=2;case 2:if(u.done)return[3,7];c=u.value,f.label=3;case 3:return f.trys.push([3,5,,6]),[4,c(r.__assign({},i),e)];case 4:return null===(i=f.sent())?[2,null]:[3,6];case 5:return f.sent(),[3,6];case 6:return u=a.next(),[3,2];case 7:return[3,10];case 8:return l=f.sent(),n={error:l},[3,10];case 9:try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}return[7];case 10:return[2,i]}})})},t.prototype.setUser=function(t){return this.user=i.safeNormalize(t),this.notifyScopeListeners(),this},t.prototype.setTag=function(t,e){var n;return this.tags=r.__assign({},this.tags,((n={})[t]=i.safeNormalize(e),n)),this.notifyScopeListeners(),this},t.prototype.setExtra=function(t,e){var n;return this.extra=r.__assign({},this.extra,((n={})[t]=i.safeNormalize(e),n)),this.notifyScopeListeners(),this},t.prototype.setFingerprint=function(t){return this.fingerprint=i.safeNormalize(t),this.notifyScopeListeners(),this},t.prototype.setLevel=function(t){return this.level=i.safeNormalize(t),this.notifyScopeListeners(),this},t.clone=function(e){var n=new t;return i.assign(n,e,{scopeListeners:[]}),e&&(n.extra=i.assign(e.extra),n.tags=i.assign(e.tags),n.breadcrumbs=r.__spread(e.breadcrumbs),n.eventProcessors=r.__spread(e.eventProcessors)),n},t.prototype.clear=function(){this.breadcrumbs=[],this.tags={},this.extra={},this.user={},this.level=void 0,this.fingerprint=void 0,this.notifyScopeListeners()},t.prototype.addBreadcrumb=function(t,e){this.breadcrumbs=void 0!==e&&e>=0?r.__spread(this.breadcrumbs,[i.safeNormalize(t)]).slice(-e):r.__spread(this.breadcrumbs,[i.safeNormalize(t)]),this.notifyScopeListeners()},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.message&&(t.fingerprint=t.fingerprint.concat(t.message)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint},t.prototype.applyToEvent=function(t,e,n){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(o){return this.extra&&Object.keys(this.extra).length&&(t.extra=r.__assign({},this.extra,t.extra)),this.tags&&Object.keys(this.tags).length&&(t.tags=r.__assign({},this.tags,t.tags)),this.user&&Object.keys(this.user).length&&(t.user=r.__assign({},this.user,t.user)),this.level&&(t.level=this.level),this.applyFingerprint(t),(!t.breadcrumbs||0===t.breadcrumbs.length)&&this.breadcrumbs.length>0&&(t.breadcrumbs=void 0!==n&&n>=0?this.breadcrumbs.slice(-n):this.breadcrumbs),[2,this.notifyEventProcessors(t,e)]})})},t}();function s(){var t=o.getGlobalObject();return t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.globalEventProcessors=t.__SENTRY__.globalEventProcessors||[],t.__SENTRY__.globalEventProcessors}e.Scope=a,e.addGlobalEventProcessor=function(t){s().push(t)}},ZWPJ:function(t,e,n){"use strict";(function(t,r){Object.defineProperty(e,"__esModule",{value:!0});var o=n("XMIM"),i=n("Bux2"),a="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};function s(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function u(t,e){return t(e={exports:{}},e.exports),e.exports}var c=u(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.Fatal="fatal",t.Error="error",t.Warning="warning",t.Log="log",t.Info="info",t.Debug="debug",t.Critical="critical"}(e.Severity||(e.Severity={})),function(t){t.fromString=function(e){switch(e){case"debug":return t.Debug;case"info":return t.Info;case"warn":case"warning":return t.Warning;case"error":return t.Error;case"fatal":return t.Fatal;case"critical":return t.Critical;case"log":default:return t.Log}}}(e.Severity||(e.Severity={})),function(t){t.Unknown="unknown",t.Skipped="skipped",t.Success="success",t.RateLimit="rate_limit",t.Invalid="invalid",t.Failed="failed"}(e.Status||(e.Status={})),function(t){t.fromHttpCode=function(e){return e>=200&&e<300?t.Success:429===e?t.RateLimit:e>=400&&e<500?t.Invalid:e>=500?t.Failed:t.Unknown}}(e.Status||(e.Status={}))});s(c);var l=c.Severity,f=c.Status,p=u(function(t,e){function n(t){return"[object Object]"===Object.prototype.toString.call(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.isError=function(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return t instanceof Error}},e.isErrorEvent=function(t){return"[object ErrorEvent]"===Object.prototype.toString.call(t)},e.isDOMError=function(t){return"[object DOMError]"===Object.prototype.toString.call(t)},e.isDOMException=function(t){return"[object DOMException]"===Object.prototype.toString.call(t)},e.isUndefined=function(t){return void 0===t},e.isFunction=function(t){return"function"==typeof t},e.isString=function(t){return"[object String]"===Object.prototype.toString.call(t)},e.isPrimitive=function(t){return null===t||"object"!=typeof t&&"function"!=typeof t},e.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)},e.isPlainObject=n,e.isRegExp=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},e.isNaN=function(t){return t!=t},e.isSyntheticEvent=function(t){return n(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}});s(p);var d=p.isError,h=p.isErrorEvent,v=p.isDOMError,g=p.isDOMException,y=p.isUndefined,m=p.isFunction,_=p.isString,b=(p.isPrimitive,p.isArray,p.isPlainObject),E=(p.isRegExp,p.isNaN,p.isSyntheticEvent,u(function(t,e){function n(){return"[object process]"===Object.prototype.toString.call(void 0!==r?r:0)}Object.defineProperty(e,"__esModule",{value:!0}),e.dynamicRequire=function(t,e){return t.require(e)},e.isNodeEnv=n;var o={};function i(){return n()?a:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o}function s(t){var e,n,r,o,i,a=[];if(!t||!t.tagName)return"";if(a.push(t.tagName.toLowerCase()),t.id&&a.push("#"+t.id),(e=t.className)&&p.isString(e))for(n=e.split(/\s+/),i=0;i ".length;n&&o++<5&&!("html"===(e=s(n))||o>1&&i+r.length*a+e.length>=80);)r.push(e),i+=e.length,n=n.parentNode;return r.reverse().join(" > ")},e.htmlElementAsString=s,e.parseUrl=function(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}},e.getEventDescription=function(t){if(t.message)return t.message;if(t.exception&&t.exception.values&&t.exception.values[0]){var e=t.exception.values[0];return e.type&&e.value?e.type+": "+e.value:e.type||e.value||t.event_id||""}return t.event_id||""},e.consoleSandbox=function(t){var e=i();if(!("console"in e))return t();var n=e.console,r={};["debug","info","warn","error","log"].forEach(function(t){t in e.console&&n[t].__sentry__&&(r[t]=n[t].__sentry_wrapped__,n[t]=n[t].__sentry_original__)});var o=t();return Object.keys(r).forEach(function(t){n[t]=r[t]}),o}}));s(E),E.dynamicRequire,E.isNodeEnv;var w=E.getGlobalObject,x=(E.uuid4,E.htmlTreeAsString),S=(E.htmlElementAsString,E.parseUrl),O=E.getEventDescription,j=(E.consoleSandbox,u(function(t,e){function n(){if(!("fetch"in E.getGlobalObject()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}Object.defineProperty(e,"__esModule",{value:!0}),e.supportsErrorEvent=function(){try{return new ErrorEvent(""),!0}catch(t){return!1}},e.supportsDOMError=function(){try{return new DOMError(""),!0}catch(t){return!1}},e.supportsDOMException=function(){try{return new DOMException(""),!0}catch(t){return!1}},e.supportsFetch=n,e.supportsNativeFetch=function(){return!!n()&&-1!==E.getGlobalObject().fetch.toString().indexOf("native")},e.supportsReportingObserver=function(){return"ReportingObserver"in E.getGlobalObject()},e.supportsReferrerPolicy=function(){if(!n())return!1;try{return new Request("pickleRick",{referrerPolicy:"origin"}),!0}catch(t){return!1}},e.supportsHistory=function(){var t=E.getGlobalObject(),e=t.chrome,n=e&&e.app&&e.app.runtime,r="history"in t&&!!t.history.pushState&&!!t.history.replaceState;return!n&&r}}));s(j),j.supportsErrorEvent,j.supportsDOMError,j.supportsDOMException;var k=j.supportsFetch,M=j.supportsNativeFetch,P=j.supportsReportingObserver,I=j.supportsReferrerPolicy,T=j.supportsHistory,C=u(function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(){this.hasWeakSet="function"==typeof WeakSet,this.inner=this.hasWeakSet?new WeakSet:[]}return t.prototype.memoize=function(t){if(this.hasWeakSet)return!!this.inner.has(t)||(this.inner.add(t),!1);for(var e=0;er&&(e=r);var o=Math.max(e-60,0);o<5&&(o=0);var i=Math.min(o+140,r);return i>r-5&&(i=r),i===r&&(o=Math.max(i-140,0)),n=n.slice(o,i),o>0&&(n="'{snip} "+n),it.length)&&-1!==t.indexOf(e)}});s(R);var D=R.truncate,N=(R.snipLine,R.safeJoin),F=R.includes,H=u(function(t,e){function n(t){return JSON.stringify(t,c({normalize:!1}))}function r(t){return JSON.parse(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.serialize=n,e.deserialize=r,e.clone=function(t){return r(n(t))},e.fill=function(t,e,n){if(e in t&&!t[e].__sentry__){var r=t[e],o=n(r);"function"==typeof o&&(o.prototype=o.prototype||{},Object.defineProperties(o,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:r},__sentry_wrapped__:{enumerable:!1,value:o}})),t[e]=o}},e.urlEncode=function(t){return Object.keys(t).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])}).join("&")};function o(t){var e=Object.prototype.toString.call(t);if("string"==typeof t)return R.truncate(t,40);if("[object Object]"===e)return"[Object]";if("[object Array]"===e)return"[Array]";var n=s(t);return p.isPrimitive(n)?""+n:e}function i(t,e){if(0===e)return o(t);if(p.isPlainObject(t)){var n={},r=t;return Object.keys(r).forEach(function(t){n[t]=i(r[t],e-1)}),n}return p.isArray(t)?t.map(function(t){return i(t,e-1)}):o(t)}function s(t,e){return"domain"===e&&"object"==typeof t&&t._events?"[Domain]":"domainEmitter"===e?"[DomainEmitter]":void 0!==a&&t===a?"[Global]":"undefined"!=typeof window&&t===window?"[Window]":"undefined"!=typeof document&&t===document?"[Document]":"undefined"!=typeof Event&&t instanceof Event?Object.getPrototypeOf(t)?t.constructor.name:"Event":p.isSyntheticEvent(t)?"[SyntheticEvent]":p.isNaN(t)?"[NaN]":p.isUndefined(t)?"[undefined]":"function"==typeof t?"[Function: "+(t.name||"")+"]":t}function u(t,e,n){if(void 0===e&&(e=1/0),void 0===n&&(n=new C.Memo),0===e)return o(t);var r=s(t);if(p.isPrimitive(r))return r;var i=p.isError(t)?function(t){var e={message:t.message,name:t.name,stack:t.stack};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}(t):t,a=p.isArray(t)?[]:{};if(n.memoize(t))return"[Circular ~]";for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(a[c]=u(i[c],e-1,n));return n.unmemoize(t),a}function c(t){return void 0===t&&(t={normalize:!0}),function(e,n){return t.normalize?s(u(n,t.depth),e):u(n,t.depth)}}e.serializeObject=i,e.limitObjectDepthToSize=function t(e,r,o){void 0===r&&(r=3),void 0===o&&(o=102400);var a=i(e,r);return function(t){return function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(t))}(n(a))>o?t(e,r-1):a},e.serializeKeysToEventMessage=function(t,e){if(void 0===e&&(e=40),!t.length)return"[object has no keys]";if(t[0].length>=e)return R.truncate(t[0],e);for(var n=t.length;n>0;n--){var r=t.slice(0,n).join(", ");if(!(r.length>e))return n===t.length?r:R.truncate(r,e)}return""},e.assign=function(t){for(var e=[],n=1;n>16)+(e>>16)+(n>>16)<<16|65535&n}function q(t,e,n,r,o,i){return G((a=G(G(e,t),G(r,i)))<<(s=o)|a>>>32-s,n);var a,s}function X(t,e,n,r,o,i,a){return q(e&n|~e&r,t,e,o,i,a)}function V(t,e,n,r,o,i,a){return q(e&r|n&~r,t,e,o,i,a)}function $(t,e,n,r,o,i,a){return q(e^n^r,t,e,o,i,a)}function J(t,e,n,r,o,i,a){return q(n^(e|~r),t,e,o,i,a)}function Y(t,e){var n,r,o,i,a;t[e>>5]|=128<>>9<<4)]=e;var s=1732584193,u=-271733879,c=-1732584194,l=271733878;for(n=0;n>5]>>>e%32&255);return n}function Z(t){var e,n=[];for(n[(t.length>>2)-1]=void 0,e=0;e>5]|=(255&t.charCodeAt(e/8))<>>4&15)+"0123456789abcdef".charAt(15&e);return r}function tt(t){return unescape(encodeURIComponent(t))}function et(t){return function(t){return K(Y(Z(t),8*t.length))}(tt(t))}function nt(t,e){return function(t,e){var n,r,o=Z(t),i=[],a=[];for(i[15]=a[15]=void 0,o.length>16&&(o=Y(o,8*t.length)),n=0;n<16;n+=1)i[n]=909522486^o[n],a[n]=1549556828^o[n];return r=Y(i.concat(Z(e)),512+8*e.length),K(Y(a.concat(r),640))}(tt(t),tt(e))} /** * TraceKit - Cross brower stack traces * * This was originally forked from github.com/occ/TraceKit, but has since been * largely modified and is now maintained as part of Sentry JS SDK. * * NOTE: Last merge with upstream repository * Jul 11,2018 - #f03357c * * https://github.com/csnover/TraceKit * @license MIT * @namespace TraceKit */ var rt=w(),ot={wrap:function(){return function(){}},report:!1,collectWindowErrors:!1,computeStackTrace:!1,remoteFetching:!1,linesOfContext:!1,extendToAsynchronousCallbacks:!1},it=[].slice,at="?",st=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function ut(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function ct(){return"undefined"==typeof document||null==document.location?"":document.location.href}ot.wrap=function(t){return function(){try{return t.apply(this,arguments)}catch(t){throw ot.report(t),t}}},ot.report=function(){var t,e,n,r,i=[],a=null,s=null;function u(t,e,n){var r=null;if(!e||ot.collectWindowErrors){for(var o in i)if(ut(i,o))try{i[o](t,e,n)}catch(t){r=t}if(r)throw r}}function c(e,n,r,i,a){var c=null;if(a=h(a)?a.error:a,e=h(e)?e.message:e,s)ot.computeStackTrace.augmentStackTraceWithInitialElement(s,n,r,e),f();else if(a&&d(a))(c=ot.computeStackTrace(a)).mechanism="onerror",u(c,!0,a);else{var l,p={url:n,line:r,column:i},v=e;if("[object String]"==={}.toString.call(e)){var g=e.match(st);g&&(l=g[1],v=g[2])}p.func=ot.computeStackTrace.guessFunctionName(p.url,p.line),p.context=ot.computeStackTrace.gatherContext(p.url,p.line),u(c={name:l,message:v,mode:"onerror",mechanism:"onerror",stack:[o.__assign({},p,{url:p.url||ct()})]},!0,null)}return!!t&&t.apply(this,arguments)}function l(t){var e=t&&(t.detail?t.detail.reason:t.reason)||t,n=ot.computeStackTrace(e);n.mechanism="onunhandledrejection",u(n,!0,e)}function f(){var t=s,e=a;s=null,a=null,u(t,!1,e)}function p(t){if(s){if(a===t)return;f()}var e=ot.computeStackTrace(t);throw s=e,a=t,setTimeout(function(){a===t&&f()},e.incomplete?2e3:0),t}return p.subscribe=function(t){i.push(t)},p.unsubscribe=function(o){for(var a=i.length-1;a>=0;--a)i[a]===o&&i.splice(a,1);0===i.length&&(e&&(rt.onerror=t,e=!1),r&&(rt.onunhandledrejection=n,r=!1))},p.installGlobalHandler=function(){!0!==e&&(t=rt.onerror,rt.onerror=c,e=!0)},p.installGlobalUnhandledRejectionHandler=function(){!0!==r&&(n=rt.onunhandledrejection,rt.onunhandledrejection=l,r=!0)},p}(),ot.computeStackTrace=function(){var t=!1,e={};function n(t){if("string"!=typeof t)return[];if(!ut(e,t)){var n="",r="";try{r=rt.document.domain}catch(t){}var o=/(.*)\:\/\/([^:\/]+)([:\d]*)\/{0,1}([\s\S]*)/.exec(t);o&&o[2]===r&&(n=function(t){if(!ot.remoteFetching)return"";try{var e=function(){try{return new rt.XMLHttpRequest}catch(t){return new rt.ActiveXObject("Microsoft.XMLHTTP")}}();return e.open("GET",t,!1),e.send(""),e.responseText}catch(t){return""}}(t)),e[t]=n?n.split("\n"):[]}return e[t]}function r(t,e){var r,o=/function ([^(]*)\(([^)]*)\)/,i=/['"]?([0-9A-Za-z$_]+)['"]?\s*[:=]\s*(function|eval|new Function)/,a="",s=n(t);if(!s.length)return at;for(var u=0;u<10;++u)if(a=s[e-u]+a,!y(a)){if(r=i.exec(a))return r[1];if(r=o.exec(a))return r[1]}return at}function o(t,e){var r=n(t);if(!r.length)return null;var o=[],i=Math.floor(ot.linesOfContext/2),a=i+ot.linesOfContext%2,s=Math.max(0,e-i-1),u=Math.min(r.length,e+a-1);e-=1;for(var c=s;c0?o:null}function i(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g,"\\$&")}function a(t){return i(t).replace("<","(?:<|<)").replace(">","(?:>|>)").replace("&","(?:&|&)").replace('"','(?:"|")').replace(/\s+/g,"\\s+")}function s(t,e){for(var r,o,i=0,a=e.length;ir&&(o=s.exec(a[r]))?o.index:null}function c(t){if(!y(rt&&rt.document)){for(var e,n,r,o,u=[ct()],c=rt.document.getElementsByTagName("script"),l=""+t,f=0;f|[a-z]:|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,s=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,c=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,l=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,f=/\((\S*)(?::(\d+))(?::(\d+))\)/,p=t.stack.split("\n"),d=[],h=/^(.*) is undefined$/.exec(t.message),v=0,g=p.length;v eval")>-1&&(e=l.exec(n[3]))?n[3]=e[1]:0!==v||n[5]||y(t.columnNumber)||(d[0].column=t.columnNumber+1),i={url:n[3],func:n[1]||at,args:n[2]?n[2].split(","):[],line:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}if(!i.func&&i.line&&(i.func=r(i.url,i.line)),ot.remoteFetching&&i.url&&"blob:"===i.url.substr(0,5)){var _=new XMLHttpRequest;if(_.open("GET",i.url,!1),_.send(""),200===_.status){var b=_.responseText||"",E=(b=b.slice(-300)).match(/\/\/# sourceMappingURL=(.*)$/);if(E){var w=E[1];"~"===w.charAt(0)&&(w=("undefined"==typeof document||null==document.location?"":document.location.origin?document.location.origin:document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:""))+w.slice(1)),i.url=w.slice(0,-4)}}}i.context=i.line?o(i.url,i.line):null,d.push(i)}return d.length?(d[0]&&d[0].line&&!d[0].column&&h&&(d[0].column=u(h[1],d[0].url,d[0].line)),{mode:"stack",name:t.name,message:t.message,stack:d}):null}function f(t,e,n,i){var a={url:e,line:n};if(a.url&&a.line){t.incomplete=!1,a.func||(a.func=r(a.url,a.line)),a.context||(a.context=o(a.url,a.line));var s=/ '([^']+)' /.exec(i);if(s&&(a.column=u(s[1],a.url,a.line)),t.stack.length>0&&t.stack[0].url===a.url){if(t.stack[0].line===a.line)return!1;if(!t.stack[0].line&&t.stack[0].func===a.func)return t.stack[0].line=a.line,t.stack[0].context=a.context,!1}return t.stack.unshift(a),t.partial=!0,!0}return t.incomplete=!0,!1}function p(t,e){for(var n,o,i,a=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,s=[],l={},h=!1,v=p.caller;v&&!h;v=v.caller)if(v!==d&&v!==ot.report){if(o={url:null,func:at,args:[],line:null,column:null},v.name?o.func=v.name:(n=a.exec(v.toString()))&&(o.func=n[1]),void 0===o.func)try{o.func=n.input.substring(0,n.input.indexOf("{"))}catch(t){}if(i=c(v)){o.url=i.url,o.line=i.line,o.func===at&&(o.func=r(o.url,o.line));var g=/ '([^']+)' /.exec(t.message||t.description);g&&(o.column=u(g[1],i.url,i.line))}l[""+v]?h=!0:l[""+v]=!0,s.push(o)}e&&s.splice(0,e);var y={mode:"callers",name:t.name,message:t.message,stack:s};return f(y,t.sourceURL||t.fileName,t.line||t.lineNumber,t.message||t.description),y}function d(e,i){var u=null;i=null==i?0:+i;try{if(u=function(t){var e=t.stacktrace;if(e){for(var n,i=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,a=/ line (\d+), column (\d+)\s*(?:in (?:]+)>|([^\)]+))\((.*)\))? in (.*):\s*$/i,s=e.split("\n"),u=[],c=0;c=0&&(g.line=y+_.substring(0,b).split("\n").length)}}}else if(i=l.exec(e[v])){var E=ct().replace(/#.*$/,""),w=s(new RegExp(a(e[v+1])),[E]);g={url:E,func:"",args:[],line:w?w.line:i[1],column:null}}if(g){g.func||(g.func=r(g.url,g.line));var x=o(g.url,g.line),S=x?x[Math.floor(x.length/2)]:null;x&&S.replace(/^\s*/,"")===e[v+1].replace(/^\s*/,"")?g.context=x:g.context=[e[v+1]],f.push(g)}}return f.length?{mode:"multiline",name:t.name,message:e[0],stack:f}:null}(e))return u}catch(e){if(t)throw e}try{if(u=p(e,i+1))return u}catch(e){if(t)throw e}return{original:e,name:e.name,message:e.message,mode:"failed"}}return d.augmentStackTraceWithInitialElement=f,d.computeStackTraceFromStackProp=l,d.guessFunctionName=r,d.gatherContext=o,d.ofCaller=function(t){t=1+(null==t?0:+t);try{throw new Error}catch(e){return d(e,t+1)}},d.getSource=n,d}(),ot.extendToAsynchronousCallbacks=function(){var t=function(t){var e=rt[t];rt[t]=function(){var t=it.call(arguments),n=t[0];return"function"==typeof n&&(t[0]=ot.wrap(n)),e.apply?e.apply(this,t):e(t[0],t[1])}};t("setTimeout"),t("setInterval")},ot.remoteFetching=!1,ot.collectWindowErrors=!0,ot.linesOfContext=11;var lt=ot.report.subscribe,ft=ot.report.installGlobalHandler,pt=ot.report.installGlobalUnhandledRejectionHandler,dt=ot.computeStackTrace,ht=50;function vt(t){var e=yt(t.stack),n={type:t.name,value:t.message};return e&&e.length&&(n.stacktrace={frames:e}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function gt(t){return{exception:{values:[vt(t)]}}}function yt(t){if(!t||!t.length)return[];var e=t,n=e[0].func||"",r=e[e.length-1].func||"";return(F(n,"captureMessage")||F(n,"captureException"))&&(e=e.slice(1)),F(r,"sentryWrapped")&&(e=e.slice(0,-1)),e.map(function(t){return{colno:t.column,filename:t.url||e[0].url,function:t.func||"?",in_app:!0,lineno:t.line}}).slice(0,ht).reverse()}function mt(t,e,n){t.exception=t.exception||{},t.exception.values=t.exception.values||[],t.exception.values[0]=t.exception.values[0]||{},t.exception.values[0].value=t.exception.values[0].value||e||"",t.exception.values[0].type=t.exception.values[0].type||n||"Error"}var _t=function(){function t(t){this.options=t,this.buffer=new i.PromiseBuffer(30),this.url=new i.API(this.options.dsn).getStoreEndpointWithUrlEncodedAuth()}return t.prototype.sendEvent=function(t){return o.__awaiter(this,void 0,void 0,function(){return o.__generator(this,function(t){throw new i.SentryError("Transport Class has to implement `sendEvent` method")})})},t.prototype.close=function(t){return o.__awaiter(this,void 0,void 0,function(){return o.__generator(this,function(e){return[2,this.buffer.drain(t)]})})},t}(),bt=w(),Et=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o.__extends(e,t),e.prototype.sendEvent=function(t){return o.__awaiter(this,void 0,void 0,function(){var e;return o.__generator(this,function(n){return e={body:t,method:"POST",referrerPolicy:I()?"origin":""},[2,this.buffer.add(bt.fetch(this.url,e).then(function(t){return{status:f.fromHttpCode(t.status)}}))]})})},e}(_t),wt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o.__extends(e,t),e.prototype.sendEvent=function(t){return o.__awaiter(this,void 0,void 0,function(){var e=this;return o.__generator(this,function(n){return[2,this.buffer.add(new Promise(function(n,r){var o=new XMLHttpRequest;o.onreadystatechange=function(){4===o.readyState&&(200===o.status&&n({status:f.fromHttpCode(o.status)}),r(o))},o.open("POST",e.url),o.send(t)}))]})})},e}(_t),xt=Object.freeze({BaseTransport:_t,FetchTransport:Et,XHRTransport:wt}),St=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o.__extends(e,t),e.prototype.install=function(){if(!this.options.dsn)throw new i.SentryError("Invariant exception: install() must not be called when disabled");return Error.stackTraceLimit=50,!0},e.prototype.setupTransport=function(){if(!this.options.dsn)return t.prototype.setupTransport.call(this);var e=this.options.transportOptions?this.options.transportOptions:{dsn:this.options.dsn};return this.options.transport?new this.options.transport(e):k()?new Et(e):new wt(e)},e.prototype.eventFromException=function(t,e){return o.__awaiter(this,void 0,void 0,function(){var n,r,i,a;return o.__generator(this,function(s){switch(s.label){case 0:return h(t)&&t.error?(t=(a=t).error,n=gt(dt(t)),[3,7]):[3,1];case 1:return v(t)||g(t)?(r=(a=t).name||(v(a)?"DOMError":"DOMException"),i=a.message?r+": "+a.message:r,[4,this.eventFromMessage(i,l.Error,e)]):[3,3];case 2:return mt(n=s.sent(),i),[3,7];case 3:return d(t)?(n=gt(dt(t)),[3,7]):[3,4];case 4:return b(t)&&e&&e.syntheticException?(mt(n=function(t,e){var n=Object.keys(t).sort(),r={extra:{__serialized__:U(t)},fingerprint:[function(t,e,n){return e?n?nt(e,t):Q(nt(e,t)):n?et(t):Q(et(t))}(n.join(""))],message:"Non-Error exception captured with keys: "+z(n)};if(e){var o=yt(dt(e).stack);r.stacktrace={frames:o}}return r}(a=t,e.syntheticException),"Custom Object"),[3,7]):[3,5];case 5:return a=t,[4,this.eventFromMessage(a,void 0,e)];case 6:mt(n=s.sent(),""+a),s.label=7;case 7:return[2,n=o.__assign({},n,{event_id:e&&e.event_id,exception:o.__assign({},n.exception,{mechanism:{handled:!0,type:"generic"}})})]}})})},e.prototype.eventFromMessage=function(t,e,n){return void 0===e&&(e=l.Info),o.__awaiter(this,void 0,void 0,function(){var r,i,a;return o.__generator(this,function(o){return r={event_id:n&&n.event_id,level:e,message:t},this.options.attachStacktrace&&n&&n.syntheticException&&(i=dt(n.syntheticException),a=yt(i.stack),r.stacktrace={frames:a}),[2,r]})})},e}(i.BaseBackend),Ot=u(function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n=E.getGlobalObject(),r=new(function(){function t(){this.enabled=!1}return t.prototype.disable=function(){this.enabled=!1},t.prototype.enable=function(){this.enabled=!0},t.prototype.log=function(){for(var t=[],e=0;e"}i.getCurrentHub().addBreadcrumb({category:"ui."+t,message:n},{event:e,name:t})}}}function Nt(){return function(t){var e;try{e=t.target}catch(t){return}var n=e&&e.tagName;n&&("INPUT"===n||"TEXTAREA"===n||e.isContentEditable)&&(jt||Dt("input")(t),clearTimeout(jt),jt=setTimeout(function(){jt=void 0},Tt))}}var Ft=function(){function t(e){this.name=t.id,this.options=o.__assign({onerror:!0,onunhandledrejection:!0},e)}return t.prototype.setupOnce=function(){lt(function(e,n,r){if(!(Ct>0)){var o=i.getCurrentHub().getIntegration(t);o&&i.getCurrentHub().captureEvent(o.eventFromGlobalHandler(e),{originalException:r,data:{stack:e}})}}),this.options.onerror&&(Mt.log("Global Handler attached: onerror"),ft()),this.options.onunhandledrejection&&(Mt.log("Global Handler attached: onunhandledrejection"),pt())},t.prototype.eventFromGlobalHandler=function(t){var e=gt(t),n={mode:t.mode};t.message&&(n.message=t.message),t.name&&(n.name=t.name);var r=o.__assign({},e,{exception:o.__assign({},e.exception,{mechanism:{data:n,handled:!1,type:t.mechanism}})});return mt(r,void 0!==t.original?""+D(A(W(t.original)),300):"","onunhandledrejection"===t.mechanism?"UnhandledRejection":"Error"),r},t.id="GlobalHandlers",t}(),Ht=function(){function t(){this.ignoreOnError=0,this.name=t.id}return t.prototype.wrapTimeFunction=function(t){return function(){for(var e=[],n=0;n"}catch(t){return""}}var Bt,Lt=w(),Ut=function(){function t(e){this.name=t.id,this.options=o.__assign({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},e)}return t.prototype.instrumentConsole=function(){"console"in Lt&&["debug","info","warn","error","log"].forEach(function(e){e in Lt.console&&L(Lt.console,e,function(n){return function(){for(var r=[],o=0;o2?e[2]:void 0;return o&&n(Bt,String(o)),t.apply(this,e)}}},t.prototype.instrumentXHR=function(){if("XMLHttpRequest"in Lt){var e=XMLHttpRequest.prototype;L(e,"open",function(t){return function(){for(var e=[],n=0;n"},handled:!0,type:"instrument"}})})}(t,o)}),"onreadystatechange"in o&&m(o.onreadystatechange)?L(o,"onreadystatechange",function(t){return Rt(t,{mechanism:{data:{function:"onreadystatechange",handler:t&&t.name||""},handled:!0,type:"instrument"}},i)}):o.onreadystatechange=i,e.apply(this,n)}})}},t.addBreadcrumb=function(e,n){i.getCurrentHub().getIntegration(t)&&i.getCurrentHub().addBreadcrumb(e,n)},t.prototype.setupOnce=function(){this.options.console&&this.instrumentConsole(),this.options.dom&&this.instrumentDOM(),this.options.xhr&&this.instrumentXHR(),this.options.fetch&&this.instrumentFetch(),this.options.history&&this.instrumentHistory()},t.id="Breadcrumbs",t}();function zt(t){try{var e=B(t);Ut.addBreadcrumb({category:"sentry",event_id:e.event_id,level:e.level||l.fromString("error"),message:O(e)},{event:e})}catch(t){Mt.error("Error while adding sentry type breadcrumb")}}var Wt,Gt="cause",qt=5,Xt=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this.key=e.key||Gt,this.limit=e.limit||qt}return t.prototype.setupOnce=function(){var e=this;i.addGlobalEventProcessor(function(n,r){return o.__awaiter(e,void 0,void 0,function(){var e;return o.__generator(this,function(o){return(e=i.getCurrentHub().getIntegration(t))?[2,e.handler(n,r)]:[2,n]})})})},t.prototype.handler=function(t,e){if(!(t.exception&&t.exception.values&&e&&e.originalException instanceof Error))return t;var n=this.walkErrorTree(e.originalException,this.key);return t.exception.values=o.__spread(n,t.exception.values),t},t.prototype.walkErrorTree=function(t,e,n){if(void 0===n&&(n=[]),!(t[e]instanceof Error)||n.length+1>=this.limit)return n;var r=vt(dt(t[e]));return this.walkErrorTree(t[e],e,o.__spread([r],n))},t.id="LinkedErrors",t}(),Vt=w(),$t=function(){function t(){this.name=t.id}return t.prototype.setupOnce=function(){var e=this;i.addGlobalEventProcessor(function(n){return o.__awaiter(e,void 0,void 0,function(){var e;return o.__generator(this,function(r){return i.getCurrentHub().getIntegration(t)&&Vt.navigator&&Vt.location?((e=n.request||{}).url=e.url||Vt.location.href,e.headers=e.headers||{},e.headers["User-Agent"]=Vt.navigator.userAgent,[2,o.__assign({},n,{request:e})]):[2,n]})})})},t.id="UserAgent",t}(),Jt=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this.Ember=e.Ember||w().Ember}return t.prototype.setupOnce=function(){var e=this;if(this.Ember){var n=this.Ember.onerror;this.Ember.onerror=function(r){if(i.getCurrentHub().getIntegration(t)&&i.withScope(function(t){e.addIntegrationToSdkInfo(t),i.captureException(r)}),"function"==typeof n)n.call(e.Ember,r);else if(e.Ember.testing)throw r},this.Ember.RSVP.on("error",function(n){i.getCurrentHub().getIntegration(t)&&i.withScope(function(t){n instanceof Error?(t.setExtra("context","Unhandled Promise error detected"),e.addIntegrationToSdkInfo(t),i.captureException(n)):(t.setExtra("reason",n),e.addIntegrationToSdkInfo(t),i.captureMessage("Unhandled Promise error detected"))})})}else Mt.error("EmberIntegration is missing an Ember instance")},t.prototype.addIntegrationToSdkInfo=function(t){var e=this;t.addEventProcessor(function(t){return o.__awaiter(e,void 0,void 0,function(){var e;return o.__generator(this,function(n){return t.sdk&&(e=t.sdk.integrations||[],t.sdk=o.__assign({},t.sdk,{integrations:o.__spread(e,["ember"])})),[2,t]})})})},t.id="Ember",t}(),Yt=function(){function t(e){void 0===e&&(e={}),this.name=t.id,this.Vue=e.Vue||w().Vue,this.attachProps=e.attachProps||!0}return t.prototype.formatComponentName=function(t){if(t.$root===t)return"root instance";var e=t._isVue?t.$options.name||t.$options._componentTag:t.name;return(e?"component <"+e+">":"anonymous component")+(t._isVue&&t.$options.__file?" at "+t.$options.__file:"")},t.prototype.setupOnce=function(){var e=this;if(this.Vue&&this.Vue.config){var n=this.Vue.config.errorHandler;this.Vue.config.errorHandler=function(r,a,s){var u={};b(a)&&(u.componentName=e.formatComponentName(a),e.attachProps&&(u.propsData=a.$options.propsData)),y(s)||(u.lifecycleHook=s),i.getCurrentHub().getIntegration(t)&&i.withScope(function(t){Object.keys(u).forEach(function(e){t.setExtra(e,u[e])}),t.addEventProcessor(function(t){return o.__awaiter(e,void 0,void 0,function(){var e;return o.__generator(this,function(n){return t.sdk&&(e=t.sdk.integrations||[],t.sdk=o.__assign({},t.sdk,{integrations:o.__spread(e,["vue"])})),[2,t]})})}),i.captureException(r)}),"function"==typeof n&&n.call(e.Vue,r,a,s)}}else Mt.error("VueIntegration is missing a Vue instance")},t.id="Vue",t}();!function(t){t.Crash="crash",t.Deprecation="deprecation",t.Intervention="intervention"}(Wt||(Wt={}));var Kt=function(){function t(e){void 0===e&&(e={types:[Wt.Crash,Wt.Deprecation,Wt.Intervention]}),this.options=e,this.name=t.id}return t.prototype.setupOnce=function(){P()&&new(w().ReportingObserver)(this.handler.bind(this),{buffered:!0,types:this.options.types}).observe()},t.prototype.handler=function(e){var n,r;if(i.getCurrentHub().getIntegration(t)){var a=function(t){i.withScope(function(e){e.setExtra("url",t.url);var n="ReportingObserver ["+t.type+"]",r="No details available";if(t.body){var o,a={};for(var s in t.body)a[s]=t.body[s];e.setExtra("body",a),r=t.type===Wt.Crash?[(o=t.body).crashId||"",o.reason||""].join(" ").trim()||r:(o=t.body).message||r}i.captureMessage(n+": "+r)})};try{for(var s=o.__values(e),u=s.next();!u.done;u=s.next())a(u.value)}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}}},t.id="ReportingObserver",t}(),Zt=Object.freeze({GlobalHandlers:Ft,TryCatch:Ht,Breadcrumbs:Ut,LinkedErrors:Xt,UserAgent:$t,Ember:Jt,Vue:Yt,ReportingObserver:Kt}),Qt=[new i.Integrations.Dedupe,new i.Integrations.InboundFilters,new i.Integrations.FunctionToString,new i.Integrations.ExtraErrorData,new Ht,new Ut,new Ft,new Xt,new $t],te=o.__assign({},i.Integrations,Zt);e.addGlobalEventProcessor=i.addGlobalEventProcessor,e.addBreadcrumb=i.addBreadcrumb,e.captureException=i.captureException,e.captureEvent=i.captureEvent,e.captureMessage=i.captureMessage,e.configureScope=i.configureScope,e.withScope=i.withScope,e.getHubFromCarrier=i.getHubFromCarrier,e.getCurrentHub=i.getCurrentHub,e.Hub=i.Hub,e.Scope=i.Scope,e.Integrations=te,e.Transports=xt,e.Severity=l,e.Status=f,e.BrowserBackend=St,e.BrowserClient=It,e.defaultIntegrations=Qt,e.forceLoad=function(){},e.init=function(t){void 0===t&&(t={}),void 0===t.defaultIntegrations&&(t.defaultIntegrations=Qt),i.initAndBind(It,t)},e.lastEventId=function(){return i.getCurrentHub().lastEventId()},e.onLoad=function(t){t()},e.showReportDialog=function(t){void 0===t&&(t={}),t.eventId||(t.eventId=i.getCurrentHub().lastEventId()),i.getCurrentHub().getClient().showReportDialog(t)},e.flush=function(t){return o.__awaiter(this,void 0,void 0,function(){return o.__generator(this,function(e){return[2,i.getCurrentHub().getClient().flush(t)]})})},e.close=function(t){return o.__awaiter(this,void 0,void 0,function(){return o.__generator(this,function(e){return[2,i.getCurrentHub().getClient().close(t)]})})},e.SDK_NAME=Pt,e.SDK_VERSION="4.6.6"}).call(this,n("wFps"),n("Qi+u"))},ZYmo:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("XMIM"),o=n("rFKW"),i=function(){function t(e){this.name=t.id,this.options=r.__assign({debugger:!1,stringify:!1},e)}return t.prototype.setupOnce=function(){var e=this;o.addGlobalEventProcessor(function(n,i){return r.__awaiter(e,void 0,void 0,function(){var e;return r.__generator(this,function(r){return(e=o.getCurrentHub().getIntegration(t))&&(e.options.debugger,e.options.stringify&&(JSON.stringify(n,null,2),i&&JSON.stringify(i,null,2))),[2,n]})})})},t.id="Debug",t}();e.Debug=i},aR6X:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("XMIM"),o=n("rFKW"),i=n("g4Tb"),a=n("NBgs"),s=n("oOxp"),u=function(){function t(e){void 0===e&&(e={depth:3}),this.options=e,this.name=t.id}return t.prototype.setupOnce=function(){var e=this;o.addGlobalEventProcessor(function(n,i){return r.__awaiter(e,void 0,void 0,function(){var e;return r.__generator(this,function(r){return(e=o.getCurrentHub().getIntegration(t))?[2,e.enhanceEventWithErrorData(n,i)]:[2,n]})})})},t.prototype.enhanceEventWithErrorData=function(t,e){if(!e||!e.originalException||!i.isError(e.originalException))return t;var n=this.extractErrorData(e.originalException);if(n){var o=r.__assign({},t.extra),a=s.safeNormalize(n,this.options.depth);return i.isString(a)||(o=r.__assign({},t.extra,a)),r.__assign({},t,{extra:o})}return t},t.prototype.extractErrorData=function(t){var e,n,o,s=null;try{var u=["name","message","stack","line","column","fileName","lineNumber","columnNumber"],c=t.name||t.constructor.name,l=Object.getOwnPropertyNames(t).filter(function(t){return-1===u.indexOf(t)});if(l.length){var f={};try{for(var p=r.__values(l),d=p.next();!d.done;d=p.next()){var h=d.value,v=t[h];i.isError(v)&&(v=v.toString()),f[h]=v}}catch(t){e={error:t}}finally{try{d&&!d.done&&(n=p.return)&&n.call(p)}finally{if(e)throw e.error}}(o={})[c]=f,s=o}}catch(t){a.logger.error("Unable to extract extra data from the Error object:",t)}return s},t.id="ExtraErrorData",t}();e.ExtraErrorData=u},cJYR:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("NBgs"),o=function(){function t(){this.name="SDKInformation"}return t.prototype.setupOnce=function(){r.logger.warn("SDKInformation Integration is deprecated and can be safely removed. It's functionality has been merged into the SDK's core.")},t}();e.SDKInformation=o},"dJ+I":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("g4Tb");e.truncate=function(t,e){return void 0===e&&(e=0),0!==e&&r.isString(t)?t.length<=e?t:t.substr(0,e)+"...":t},e.snipLine=function(t,e){var n=t,r=n.length;if(r<=150)return n;e>r&&(e=r);var o=Math.max(e-60,0);o<5&&(o=0);var i=Math.min(o+140,r);return i>r-5&&(i=r),i===r&&(o=Math.max(i-140,0)),n=n.slice(o,i),o>0&&(n="'{snip} "+n),it.length)&&-1!==t.indexOf(e)}},ddDu:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("XMIM"),o=n("NBgs"),i=n("oOxp"),a=n("F9tV"),s=n("eW+Q"),u=function(){function t(t){this.options=t,this.options.dsn||o.logger.warn("No DSN provided, backend will not do anything."),this.transport=this.setupTransport()}return t.prototype.setupTransport=function(){return new s.NoopTransport},t.prototype.eventFromException=function(t,e){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(t){throw new a.SentryError("Backend has to implement `eventFromException` method")})})},t.prototype.eventFromMessage=function(t,e,n){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(t){throw new a.SentryError("Backend has to implement `eventFromMessage` method")})})},t.prototype.sendEvent=function(t){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(e){return this.transport.captureEvent?[2,this.transport.captureEvent(t)]:[2,this.transport.sendEvent(i.serialize(t))]})})},t.prototype.storeBreadcrumb=function(t){return!0},t.prototype.storeScope=function(t){},t.prototype.getTransport=function(){return this.transport},t}();e.BaseBackend=u},"eW+Q":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("XMIM"),o=n("9EIM"),i=function(){function t(){}return t.prototype.sendEvent=function(t){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(t){return[2,Promise.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:o.Status.Skipped})]})})},t.prototype.close=function(t){return r.__awaiter(this,void 0,void 0,function(){return r.__generator(this,function(t){return[2,Promise.resolve(!0)]})})},t}();e.NoopTransport=i},g4Tb:function(t,e,n){"use strict";function r(t){return"[object Object]"===Object.prototype.toString.call(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.isError=function(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return t instanceof Error}},e.isErrorEvent=function(t){return"[object ErrorEvent]"===Object.prototype.toString.call(t)},e.isDOMError=function(t){return"[object DOMError]"===Object.prototype.toString.call(t)},e.isDOMException=function(t){return"[object DOMException]"===Object.prototype.toString.call(t)},e.isUndefined=function(t){return void 0===t},e.isFunction=function(t){return"function"==typeof t},e.isString=function(t){return"[object String]"===Object.prototype.toString.call(t)},e.isPrimitive=function(t){return null===t||"object"!=typeof t&&"function"!=typeof t},e.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)},e.isPlainObject=r,e.isRegExp=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},e.isNaN=function(t){return t!=t},e.isSyntheticEvent=function(t){return r(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}},hiTO:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("9mya");e.Dedupe=r.Dedupe;var o=n("1Hxs");e.FunctionToString=o.FunctionToString;var i=n("cJYR");e.SDKInformation=i.SDKInformation;var a=n("LSR8");e.InboundFilters=a.InboundFilters;var s=n("aR6X");e.ExtraErrorData=s.ExtraErrorData;var u=n("ZYmo");e.Debug=u.Debug;var c=n("X7QM");e.RewriteFrames=c.RewriteFrames},i0q3:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0});var r=n("XMIM"),o=n("NBgs"),i=n("MoD/"),a=n("Z3LN");e.API_VERSION=3;var s=function(){function t(t,n,r){void 0===n&&(n=new a.Scope),void 0===r&&(r=e.API_VERSION),this.version=r,this.stack=[],this.stack.push({client:t,scope:n})}return t.prototype.invokeClient=function(t){for(var e,n=[],o=1;o0?t[t.length-1].scope:void 0,n=a.Scope.clone(e);return this.getStack().push({client:this.getClient(),scope:n}),n},t.prototype.popScope=function(){return void 0!==this.getStack().pop()},t.prototype.withScope=function(t){var e=this.pushScope();try{t(e)}finally{this.popScope()}},t.prototype.getClient=function(){return this.getStackTop().client},t.prototype.getScope=function(){return this.getStackTop().scope},t.prototype.getStack=function(){return this.stack},t.prototype.getStackTop=function(){return this.stack[this.stack.length-1]},t.prototype.captureException=function(t,e){var n=this._lastEventId=i.uuid4();return this.invokeClientAsync("captureException",t,r.__assign({},e,{event_id:n})),n},t.prototype.captureMessage=function(t,e,n){var o=this._lastEventId=i.uuid4();return this.invokeClientAsync("captureMessage",t,e,r.__assign({},n,{event_id:o})),o},t.prototype.captureEvent=function(t,e){var n=this._lastEventId=i.uuid4();return this.invokeClientAsync("captureEvent",t,r.__assign({},e,{event_id:n})),n},t.prototype.lastEventId=function(){return this._lastEventId},t.prototype.addBreadcrumb=function(t,e){this.invokeClient("addBreadcrumb",t,r.__assign({},e))},t.prototype.configureScope=function(t){var e=this.getStackTop();e.scope&&e.client&&t(e.scope)},t.prototype.run=function(t){var e=c(this);try{t(this)}finally{c(e)}},t.prototype.getIntegration=function(t){try{return this.getClient().getIntegration(t)}catch(e){return o.logger.warn("Cannot retrieve integration "+t.id+" from the current Hub"),null}},t}();function u(){var t=i.getGlobalObject();return t.__SENTRY__=t.__SENTRY__||{hub:void 0},t}function c(t){var e=u(),n=f(e);return p(e,t),n}function l(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function f(t){return t&&t.__SENTRY__&&t.__SENTRY__.hub?t.__SENTRY__.hub:(t.__SENTRY__={},t.__SENTRY__.hub=new s,t.__SENTRY__.hub)}function p(t,e){return!!t&&(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=e,!0)}e.Hub=s,e.getMainCarrier=u,e.makeMain=c,e.getCurrentHub=function(){var n=u();l(n)&&!f(n).isOlderThan(e.API_VERSION)||p(n,new s);try{var r=i.dynamicRequire(t,"domain").active;if(!r)return f(n);if(!l(r)||f(r).isOlderThan(e.API_VERSION)){var o=f(n).getStackTop();p(r,new s(o.client,a.Scope.clone(o.scope)))}return f(r)}catch(t){return f(n)}},e.hasHubOnCarrier=l,e.getHubFromCarrier=f,e.setHubOnCarrier=p}).call(this,n("Pa7q")(t))},kLcx:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("rFKW"),o=n("NBgs");e.initAndBind=function(t,e){!0===e.debug&&o.logger.enable();var n=new t(e);r.getCurrentHub().bindClient(n),n.install()}},oOxp:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0});var r=n("g4Tb"),o=n("CbfU"),i=n("dJ+I");function a(t){return JSON.stringify(t,p({normalize:!1}))}function s(t){return JSON.parse(t)}e.serialize=a,e.deserialize=s,e.clone=function(t){return s(a(t))},e.fill=function(t,e,n){if(e in t&&!t[e].__sentry__){var r=t[e],o=n(r);"function"==typeof o&&(o.prototype=o.prototype||{},Object.defineProperties(o,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:r},__sentry_wrapped__:{enumerable:!1,value:o}})),t[e]=o}},e.urlEncode=function(t){return Object.keys(t).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])}).join("&")};function u(t){var e=Object.prototype.toString.call(t);if("string"==typeof t)return i.truncate(t,40);if("[object Object]"===e)return"[Object]";if("[object Array]"===e)return"[Array]";var n=l(t);return r.isPrimitive(n)?""+n:e}function c(t,e){if(0===e)return u(t);if(r.isPlainObject(t)){var n={},o=t;return Object.keys(o).forEach(function(t){n[t]=c(o[t],e-1)}),n}return r.isArray(t)?t.map(function(t){return c(t,e-1)}):u(t)}function l(e,n){return"domain"===n&&"object"==typeof e&&e._events?"[Domain]":"domainEmitter"===n?"[DomainEmitter]":void 0!==t&&e===t?"[Global]":"undefined"!=typeof window&&e===window?"[Window]":"undefined"!=typeof document&&e===document?"[Document]":"undefined"!=typeof Event&&e instanceof Event?Object.getPrototypeOf(e)?e.constructor.name:"Event":r.isSyntheticEvent(e)?"[SyntheticEvent]":r.isNaN(e)?"[NaN]":r.isUndefined(e)?"[undefined]":"function"==typeof e?"[Function: "+(e.name||"")+"]":e}function f(t,e,n){if(void 0===e&&(e=1/0),void 0===n&&(n=new o.Memo),0===e)return u(t);var i=l(t);if(r.isPrimitive(i))return i;var a=r.isError(t)?function(t){var e={message:t.message,name:t.name,stack:t.stack};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}(t):t,s=r.isArray(t)?[]:{};if(n.memoize(t))return"[Circular ~]";for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(s[c]=f(a[c],e-1,n));return n.unmemoize(t),s}function p(t){return void 0===t&&(t={normalize:!0}),function(e,n){return t.normalize?l(f(n,t.depth),e):f(n,t.depth)}}e.serializeObject=c,e.limitObjectDepthToSize=function t(e,n,r){void 0===n&&(n=3),void 0===r&&(r=102400);var o=c(e,n);return function(t){return function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(t))}(a(o))>r?t(e,n-1):o},e.serializeKeysToEventMessage=function(t,e){if(void 0===e&&(e=40),!t.length)return"[object has no keys]";if(t[0].length>=e)return i.truncate(t[0],e);for(var n=t.length;n>0;n--){var r=t.slice(0,n).join(", ");if(!(r.length>e))return n===t.length?r:i.truncate(r,e)}return""},e.assign=function(t){for(var e=[],n=1;n=0;r--){var o=t[r];"."===o?t.splice(r,1):".."===o?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}Object.defineProperty(e,"__esModule",{value:!0});var o=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;function i(t){var e=o.exec(t);return e?e.slice(1):[]}function a(){for(var t=[],e=0;e=-1&&!o;i--){var a=i>=0?t[i]:"/";a&&(n=a+"/"+n,o="/"===a.charAt(0))}return n=r(n.split("/").filter(function(t){return!!t}),!o).join("/"),(o?"/":"")+n||"."}function s(t){for(var e=0;e=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}function u(t){var e=c(t),n="/"===t.substr(-1),o=r(t.split("/").filter(function(t){return!!t}),!e).join("/");return o||e||(o="."),o&&n&&(o+="/"),(e?"/":"")+o}function c(t){return"/"===t.charAt(0)}e.resolve=a,e.relative=function(t,e){t=a(t).substr(1),e=a(e).substr(1);for(var n=s(t.split("/")),r=s(e.split("/")),o=Math.min(n.length,r.length),i=o,u=0;u