Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@sentry/browser

Package Overview
Dependencies
Maintainers
9
Versions
536
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/browser - npm Package Compare versions

Comparing version 5.1.2 to 5.2.0-beta.0

4

build/bundle.es6.min.js

@@ -1,3 +0,3 @@

/*! @sentry/browser 5.1.2 (21890282) | https://github.com/getsentry/sentry-javascript */
var Sentry=function(t){"use strict";var n,e,r;function i(t,n,e,r){return new(e||(e=Promise))(function(i,s){function o(t){try{u(r.next(t))}catch(t){s(t)}}function c(t){try{u(r.throw(t))}catch(t){s(t)}}function u(t){t.done?i(t.value):new e(function(n){n(t.value)}).then(o,c)}u((r=r.apply(t,n||[])).next())})}!function(t){t[t.None=0]="None",t[t.Error=1]="Error",t[t.Debug=2]="Debug",t[t.Verbose=3]="Verbose"}(n||(n={})),(e=t.Severity||(t.Severity={})).Fatal="fatal",e.Error="error",e.Warning="warning",e.Log="log",e.Info="info",e.Debug="debug",e.Critical="critical",function(t){t.fromString=function(n){switch(n){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}}}(t.Severity||(t.Severity={})),(r=t.Status||(t.Status={})).Unknown="unknown",r.Skipped="skipped",r.Success="success",r.RateLimit="rate_limit",r.Invalid="invalid",r.Failed="failed",function(t){t.fromHttpCode=function(n){return n>=200&&n<300?t.Success:429===n?t.RateLimit:n>=400&&n<500?t.Invalid:n>=500?t.Failed:t.Unknown}}(t.Status||(t.Status={}));class s extends Error{constructor(t){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype)}}function o(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return t instanceof Error}}function c(t){return"[object ErrorEvent]"===Object.prototype.toString.call(t)}function u(t){return"[object DOMError]"===Object.prototype.toString.call(t)}function a(t){return"[object String]"===Object.prototype.toString.call(t)}function h(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function l(t){return"[object Object]"===Object.prototype.toString.call(t)}function f(t){return Boolean(t&&t.then&&"function"==typeof t.then)}const d={};function p(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:d}function v(){const t=p(),n=t.crypto||t.msCrypto;if(void 0!==n&&n.getRandomValues){const t=new Uint16Array(8);n.getRandomValues(t),t[3]=4095&t[3]|16384,t[4]=16383&t[4]|32768;const e=t=>{let n=t.toString(16);for(;n.length<4;)n=`0${n}`;return n};return e(t[0])+e(t[1])+e(t[2])+e(t[3])+e(t[4])+e(t[5])+e(t[6])+e(t[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,t=>{const n=16*Math.random()|0;return("x"===t?n:3&n|8).toString(16)})}function m(t){if(!t)return{};const n=t.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!n)return{};const e=n[6]||"",r=n[8]||"";return{host:n[4],path:n[5],protocol:n[2],relative:n[5]+e+r}}function y(t){if(t.message)return t.message;if(t.exception&&t.exception.values&&t.exception.values[0]){const n=t.exception.values[0];return n.type&&n.value?`${n.type}: ${n.value}`:n.type||n.value||t.event_id||"<unknown>"}return t.event_id||"<unknown>"}function b(t){const n=p();if(!("console"in n))return t();const e=n.console,r={};["debug","info","warn","error","log","assert"].forEach(t=>{t in n.console&&e[t].__sentry__&&(r[t]=e[t].__sentry_wrapped__,e[t]=e[t].__sentry_original__)});const i=t();return Object.keys(r).forEach(t=>{e[t]=r[t]}),i}function g(t,n,e,r={handled:!0,type:"generic"}){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||n||"",t.exception.values[0].type=t.exception.values[0].type||e||"Error",t.exception.values[0].mechanism=t.exception.values[0].mechanism||r}const w=p(),E="Sentry Logger ";w.__SENTRY__=w.__SENTRY__||{};const _=w.__SENTRY__.logger||(w.__SENTRY__.logger=new class{constructor(){this.t=!1}disable(){this.t=!1}enable(){this.t=!0}log(...t){this.t&&b(()=>{w.console.log(`${E}[Log]: ${t.join(" ")}`)})}warn(...t){this.t&&b(()=>{w.console.warn(`${E}[Warn]: ${t.join(" ")}`)})}error(...t){this.t&&b(()=>{w.console.error(`${E}[Error]: ${t.join(" ")}`)})}});class j{constructor(){this.i="function"==typeof WeakSet,this.s=this.i?new WeakSet:[]}memoize(t){if(this.i)return!!this.s.has(t)||(this.s.add(t),!1);for(let n=0;n<this.s.length;n++){if(this.s[n]===t)return!0}return this.s.push(t),!1}unmemoize(t){if(this.i)this.s.delete(t);else for(let n=0;n<this.s.length;n++)if(this.s[n]===t){this.s.splice(n,1);break}}}function $(t,n,e){if(!(n in t))return;const r=t[n],i=e(r);if("function"==typeof i)try{i.prototype=i.prototype||{},Object.defineProperties(i,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:r},__sentry_wrapped__:{enumerable:!1,value:i}})}catch(t){}t[n]=i}function O(t){return function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(t))}function x(t,n=3,e=102400){const r=T(t,n);return O(r)>e?x(t,n-1,e):r}function S(t,n){return"domain"===n&&"object"==typeof t&&t.o?"[Domain]":"domainEmitter"===n?"[DomainEmitter]":"undefined"!=typeof global&&t===global?"[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":l(e=t)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e?"[SyntheticEvent]":Number.isNaN(t)?"[NaN]":void 0===t?"[undefined]":"function"==typeof t?`[Function: ${t.name||"<unknown-function-name>"}]`:t;var e}function k(t,n,e=1/0,r=new j){if(0===e)return function(t){const n=Object.prototype.toString.call(t);if("string"==typeof t)return t;if("[object Object]"===n)return"[Object]";if("[object Array]"===n)return"[Array]";const e=S(t);return h(e)?e:n}(n);if(null!=n&&"function"==typeof n.toJSON)return n.toJSON();const i=S(n,t);if(h(i))return i;const s=o(n)?function(t){const n={message:t.message,name:t.name,stack:t.stack};for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e]);return n}(n):n,c=Array.isArray(n)?[]:{};if(r.memoize(n))return"[Circular ~]";for(const t in s)Object.prototype.hasOwnProperty.call(s,t)&&(c[t]=k(t,s[t],e-1,r));return r.unmemoize(n),c}function T(t,n){try{return JSON.parse(JSON.stringify(t,(t,e)=>k(t,e,n)))}catch(t){return"**non-serializable**"}}class R{constructor(t){this.u=t,this.h=[]}isReady(){return void 0===this.u||this.length()<this.u}add(t){return i(this,void 0,void 0,function*(){return this.isReady()?(-1===this.h.indexOf(t)&&this.h.push(t),t.then(()=>i(this,void 0,void 0,function*(){return this.remove(t)})).catch(()=>i(this,void 0,void 0,function*(){return this.remove(t).catch(()=>{})})),t):Promise.reject(new s("Not adding Promise due to buffer limit reached."))})}remove(t){return i(this,void 0,void 0,function*(){return this.h.splice(this.h.indexOf(t),1)[0]})}length(){return this.h.length}drain(t){return i(this,void 0,void 0,function*(){return new Promise(n=>{const e=setTimeout(()=>{t&&t>0&&n(!1)},t);Promise.all(this.h).then(()=>{clearTimeout(e),n(!0)}).catch(()=>{n(!0)})})})}}function I(t,n=0){return 0===n?t:t.length<=n?t:`${t.substr(0,n)}...`}function D(t,n){if(!Array.isArray(t))return"";const e=[];for(let n=0;n<t.length;n++){const r=t[n];try{e.push(String(r))}catch(t){e.push("[value cannot be serialized]")}}return e.join(n)}function F(t,n=40){if(!t.length)return"[object has no keys]";if(t[0].length>=n)return I(t[0],n);for(let e=t.length;e>0;e--){const r=t.slice(0,e).join(", ");if(!(r.length>n))return e===t.length?r:I(r,n)}return""}function C(){if(!("fetch"in p()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}function M(){if(!C())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(t){return!1}}var L;!function(t){t.PENDING="PENDING",t.RESOLVED="RESOLVED",t.REJECTED="REJECTED"}(L||(L={}));class U{constructor(t){this.l=L.PENDING,this.p=[],this.v=(t=>{this.m(t,L.RESOLVED)}),this.g=(t=>{this.m(t,L.REJECTED)}),this.m=((t,n)=>{this.l===L.PENDING&&(f(t)?t.then(this.v,this.g):(this._=t,this.l=n,this.j()))}),this.j=(()=>{this.l!==L.PENDING&&(this.l===L.REJECTED?this.p.forEach(t=>t.onFail&&t.onFail(this._)):this.p.forEach(t=>t.onSuccess&&t.onSuccess(this._)),this.p=[])}),this.$=(t=>{this.p=this.p.concat(t),this.j()});try{t(this.v,this.g)}catch(t){this.g(t)}}then(t,n){return new U((e,r)=>{this.$({onFail:t=>{if(n)try{return void e(n(t))}catch(t){return void r(t)}else r(t)},onSuccess:n=>{if(t)try{return void e(t(n))}catch(t){return void r(t)}else e(n)}})})}catch(t){return this.then(t=>t,t)}toString(){return"[object SyncPromise]"}static resolve(t){return new U(n=>{n(t)})}static reject(t){return new U((n,e)=>{e(t)})}}class A{constructor(){this.O=!1,this.S=[],this.k=[],this.T=[],this.R={},this.I={},this.D={},this.F={}}addScopeListener(t){this.S.push(t)}addEventProcessor(t){return this.k.push(t),this}C(){this.O||(this.O=!0,setTimeout(()=>{this.S.forEach(t=>{t(this)}),this.O=!1}))}M(t,n,e,r=0){return new U((i,s)=>{const o=t[r];if(null===n||"function"!=typeof o)i(n);else{const c=o(Object.assign({},n),e);f(c)?c.then(n=>this.M(t,n,e,r+1).then(i)).catch(s):this.M(t,c,e,r+1).then(i).catch(s)}})}setUser(t){return this.R=T(t),this.C(),this}setTags(t){return this.I=Object.assign({},this.I,T(t)),this.C(),this}setTag(t,n){return this.I=Object.assign({},this.I,{[t]:T(n)}),this.C(),this}setExtras(t){return this.D=Object.assign({},this.D,T(t)),this.C(),this}setExtra(t,n){return this.D=Object.assign({},this.D,{[t]:T(n)}),this.C(),this}setFingerprint(t){return this.L=T(t),this.C(),this}setLevel(t){return this.U=T(t),this.C(),this}setContext(t,n){return this.F[t]=n?T(n):void 0,this.C(),this}static clone(t){const n=new A;return Object.assign(n,t,{S:[]}),t&&(n.T=[...t.T],n.I=Object.assign({},t.I),n.D=Object.assign({},t.D),n.F=Object.assign({},t.F),n.R=t.R,n.U=t.U,n.L=t.L,n.k=[...t.k]),n}clear(){return this.T=[],this.I={},this.D={},this.R={},this.F={},this.U=void 0,this.L=void 0,this.C(),this}addBreadcrumb(t,n){const e=(new Date).getTime()/1e3,r=Object.assign({timestamp:e},t);return this.T=void 0!==n&&n>=0?[...this.T,T(r)].slice(-n):[...this.T,T(r)],this.C(),this}clearBreadcrumbs(){return this.T=[],this.C(),this}A(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this.L&&(t.fingerprint=t.fingerprint.concat(this.L)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}applyToEvent(t,n){return this.D&&Object.keys(this.D).length&&(t.extra=Object.assign({},this.D,t.extra)),this.I&&Object.keys(this.I).length&&(t.tags=Object.assign({},this.I,t.tags)),this.R&&Object.keys(this.R).length&&(t.user=Object.assign({},this.R,t.user)),this.F&&Object.keys(this.F).length&&(t.contexts=Object.assign({},this.F,t.contexts)),this.U&&(t.level=this.U),this.A(t),t.breadcrumbs=[...t.breadcrumbs||[],...this.T],t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,this.M([...P(),...this.k],t,n)}}function P(){const t=p();return t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.globalEventProcessors=t.__SENTRY__.globalEventProcessors||[],t.__SENTRY__.globalEventProcessors}function N(t){P().push(t)}const B=3,H=30,q=100;class W{constructor(t,n=new A,e=B){this.P=e,this.N=[],this.N.push({client:t,scope:n})}B(t,...n){const e=this.getStackTop();e&&e.client&&e.client[t]&&e.client[t](...n,e.scope)}isOlderThan(t){return this.P<t}bindClient(t){this.getStackTop().client=t}pushScope(){const t=this.getStack(),n=t.length>0?t[t.length-1].scope:void 0,e=A.clone(n);return this.getStack().push({client:this.getClient(),scope:e}),e}popScope(){return void 0!==this.getStack().pop()}withScope(t){const n=this.pushScope();try{t(n)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this.N}getStackTop(){return this.N[this.N.length-1]}captureException(t,n){const e=this.H=v();return this.B("captureException",t,Object.assign({},n,{event_id:e})),e}captureMessage(t,n,e){const r=this.H=v();return this.B("captureMessage",t,n,Object.assign({},e,{event_id:r})),r}captureEvent(t,n){const e=this.H=v();return this.B("captureEvent",t,Object.assign({},n,{event_id:e})),e}lastEventId(){return this.H}addBreadcrumb(t,n){const e=this.getStackTop();if(!e.scope||!e.client)return;const{beforeBreadcrumb:r=null,maxBreadcrumbs:i=H}=e.client.getOptions&&e.client.getOptions()||{};if(i<=0)return;const s=(new Date).getTime()/1e3,o=Object.assign({timestamp:s},t),c=r?b(()=>r(o,n)):o;null!==c&&e.scope.addBreadcrumb(c,Math.min(i,q))}configureScope(t){const n=this.getStackTop();n.scope&&n.client&&t(n.scope)}run(t){const n=z(this);try{t(this)}finally{z(n)}}getIntegration(t){const n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch(n){return _.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}}function X(){const t=p();return t.__SENTRY__=t.__SENTRY__||{hub:void 0},t}function z(t){const n=X(),e=V(n);return K(n,t),e}function G(){const t=X();J(t)&&!V(t).isOlderThan(B)||K(t,new W);try{const r=(n=module,e="domain",n.require(e)).active;if(!r)return V(t);if(!J(r)||V(r).isOlderThan(B)){const n=V(t).getStackTop();K(r,new W(n.client,A.clone(n.scope)))}return V(r)}catch(n){return V(t)}var n,e}function J(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function V(t){return t&&t.__SENTRY__&&t.__SENTRY__.hub?t.__SENTRY__.hub:(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=new W,t.__SENTRY__.hub)}function K(t,n){return!!t&&(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=n,!0)}function Z(t,...n){const e=G();if(e&&e[t])return e[t](...n);throw new Error(`No hub defined or ${t} was not found on the hub, please open a bug report.`)}function captureException(t){let n;try{throw new Error("Sentry syntheticException")}catch(t){n=t}return Z("captureException",t,{originalException:t,syntheticException:n})}function Q(t){Z("withScope",t)}const Y=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w\.-]+)(?::(\d+))?\/(.+)/,tt="Invalid Dsn";class nt{constructor(t){"string"==typeof t?this.q(t):this.W(t),this.X()}toString(t=!1){const{host:n,path:e,pass:r,port:i,projectId:s,protocol:o,user:c}=this;return`${o}://${c}${t&&r?`:${r}`:""}`+`@${n}${i?`:${i}`:""}/${e?`${e}/`:e}${s}`}q(t){const n=Y.exec(t);if(!n)throw new s(tt);const[e,r,i="",o,c="",u]=n.slice(1);let a="",h=u;const l=h.split("/");l.length>1&&(a=l.slice(0,-1).join("/"),h=l.pop()),Object.assign(this,{host:o,pass:i,path:a,projectId:h,port:c,protocol:e,user:r})}W(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}X(){if(["protocol","user","host","projectId"].forEach(t=>{if(!this[t])throw new s(tt)}),"http"!==this.protocol&&"https"!==this.protocol)throw new s(tt);if(this.port&&Number.isNaN(parseInt(this.port,10)))throw new s(tt)}}const et="7";class rt{constructor(t){this.dsn=t,this.G=new nt(t)}getDsn(){return this.G}getStoreEndpoint(){return`${this.J()}${this.getStoreEndpointPath()}`}getStoreEndpointWithUrlEncodedAuth(){const t={sentry_key:this.G.user,sentry_version:et};return`${this.getStoreEndpoint()}?${n=t,Object.keys(n).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(n[t])}`).join("&")}`;var n}J(){const t=this.G,n=t.protocol?`${t.protocol}:`:"",e=t.port?`:${t.port}`:"";return`${n}//${t.host}${e}`}getStoreEndpointPath(){const t=this.G;return`${t.path?`/${t.path}`:""}/api/${t.projectId}/store/`}getRequestHeaders(t,n){const e=this.G,r=[`Sentry sentry_version=${et}`];return r.push(`sentry_timestamp=${(new Date).getTime()}`),r.push(`sentry_client=${t}/${n}`),r.push(`sentry_key=${e.user}`),e.pass&&r.push(`sentry_secret=${e.pass}`),{"Content-Type":"application/json","X-Sentry-Auth":r.join(", ")}}getReportDialogEndpoint(t={}){const n=this.G,e=`${this.J()}${n.path?`/${n.path}`:""}/api/embed/error-page/`,r=[];r.push(`dsn=${n.toString()}`);for(const n in t)if("user"===n){if(!t.user)continue;t.user.name&&r.push(`name=${encodeURIComponent(t.user.name)}`),t.user.email&&r.push(`email=${encodeURIComponent(t.user.email)}`)}else r.push(`${encodeURIComponent(n)}=${encodeURIComponent(t[n])}`);return r.length?`${e}?${r.join("&")}`:e}}const it=[];function st(t){const n={};return function(t){const n=t.defaultIntegrations&&[...t.defaultIntegrations]||[],e=t.integrations;let r=[];if(Array.isArray(e)){const t=e.map(t=>t.name),i=[];n.forEach(n=>{-1===t.indexOf(n.name)&&-1===i.indexOf(n.name)&&(r.push(n),i.push(n.name))}),e.forEach(t=>{-1===i.indexOf(t.name)&&(r.push(t),i.push(t.name))})}else{if("function"!=typeof e)return[...n];r=e(n),r=Array.isArray(r)?r:[r]}return r}(t).forEach(t=>{n[t.name]=t,function(t){-1===it.indexOf(t.name)&&(t.setupOnce(N,G),it.push(t.name),_.log(`Integration installed: ${t.name}`))}(t)}),n}class ot{constructor(t,n){this.V=!1,this.K=new t(n),this.Z=n,n.dsn&&(this.Y=new nt(n.dsn)),this.tt=st(this.Z)}captureException(t,n,e){let r=n&&n.event_id;return this.V=!0,this.nt().eventFromException(t,n).then(t=>this.et(t,n,e)).then(t=>{r=t&&t.event_id,this.V=!1}).catch(t=>{_.error(t),this.V=!1}),r}captureMessage(t,n,e,r){let i=e&&e.event_id;return this.V=!0,(h(t)?this.nt().eventFromMessage(`${t}`,n,e):this.nt().eventFromException(t,e)).then(t=>this.et(t,e,r)).then(t=>{i=t&&t.event_id,this.V=!1}).catch(t=>{_.error(t),this.V=!1}),i}captureEvent(t,n,e){let r=n&&n.event_id;return this.V=!0,this.et(t,n,e).then(t=>{r=t&&t.event_id,this.V=!1}).catch(t=>{_.error(t),this.V=!1}),r}getDsn(){return this.Y}getOptions(){return this.Z}flush(t){return i(this,void 0,void 0,function*(){const n=yield this.rt(t);this.it&&clearInterval(this.it);const e=yield this.nt().getTransport().close(t);return n&&e})}close(t){return i(this,void 0,void 0,function*(){const n=yield this.flush(t);return this.getOptions().enabled=!1,n})}getIntegrations(){return this.tt||{}}getIntegration(t){try{return this.tt[t.id]||null}catch(n){return _.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}rt(t){return i(this,void 0,void 0,function*(){return new Promise(n=>{let e=0;this.it&&clearInterval(this.it),this.it=setInterval(()=>{this.V?(e+=1,t&&e>=t&&n(!1)):n(!0)},1)})})}nt(){return this.K}st(){return!1!==this.getOptions().enabled&&void 0!==this.Y}ot(t,n,e){const{environment:r,release:i,dist:s,maxValueLength:o=250}=this.getOptions(),c=Object.assign({},t);void 0===c.environment&&void 0!==r&&(c.environment=r),void 0===c.release&&void 0!==i&&(c.release=i),void 0===c.dist&&void 0!==s&&(c.dist=s),c.message&&(c.message=I(c.message,o));const u=c.exception&&c.exception.values&&c.exception.values[0];u&&u.value&&(u.value=I(u.value,o));const a=c.request;a&&a.url&&(a.url=I(a.url,o)),void 0===c.event_id&&(c.event_id=v()),this.ct(c.sdk);let h=U.resolve(c);return n&&(h=n.applyToEvent(c,e)),h}ct(t){const n=Object.keys(this.tt);t&&n.length>0&&(t.integrations=n)}et(t,n,e){const{beforeSend:r,sampleRate:i}=this.getOptions();return this.st()?"number"==typeof i&&Math.random()>i?U.reject("This event has been sampled, will not send event."):new U((i,s)=>{this.ot(t,e,n).then(t=>{if(null===t)return void s("An event processor returned null, will not send event.");let e=t;try{if(n&&n.data&&!0===n.data.__sentry__||!r)return this.nt().sendEvent(e),void i(e);const o=r(t,n);if(void 0===o)_.error("`beforeSend` method has to return `null` or a valid event.");else if(f(o))this.ut(o,i,s);else{if(null===(e=o))return _.log("`beforeSend` returned `null`, will not send event."),void i(null);this.nt().sendEvent(e),i(e)}}catch(t){this.captureException(t,{data:{__sentry__:!0},originalException:t}),s("`beforeSend` throw an error, will not send event.")}})}):U.reject("SDK not enabled, will not send event.")}ut(t,n,e){t.then(t=>{null!==t?(this.nt().sendEvent(t),n(t)):e("`beforeSend` returned `null`, will not send event.")}).catch(t=>{e(`beforeSend rejected with ${t}`)})}}class ct{sendEvent(n){return i(this,void 0,void 0,function*(){return Promise.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:t.Status.Skipped})})}close(t){return i(this,void 0,void 0,function*(){return Promise.resolve(!0)})}}class ut{constructor(t){this.Z=t,this.Z.dsn||_.warn("No DSN provided, backend will not do anything."),this.at=this.ht()}ht(){return new ct}eventFromException(t,n){throw new s("Backend has to implement `eventFromException` method")}eventFromMessage(t,n,e){throw new s("Backend has to implement `eventFromMessage` method")}sendEvent(t){this.at.sendEvent(t).catch(t=>{_.error(`Error while sending event: ${t}`)})}getTransport(){return this.at}}let at;class ht{constructor(){this.name=ht.id}setupOnce(){at=Function.prototype.toString,Function.prototype.toString=function(...t){const n=this.__sentry__?this.__sentry_original__:this;return at.apply(n,t)}}}ht.id="FunctionToString";const lt=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class ft{constructor(t={}){this.Z=t,this.name=ft.id}setupOnce(){N(t=>{const n=G();if(!n)return t;const e=n.getIntegration(ft);if(e){const r=n.getClient(),i=r?r.getOptions():{},s=e.lt(i);if(e.ft(t,s))return null}return t})}ft(t,n){return this.dt(t,n)?(_.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${y(t)}`),!0):this.pt(t,n)?(_.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${y(t)}`),!0):this.vt(t,n)?(_.warn(`Event dropped due to being matched by \`blacklistUrls\` option.\nEvent: ${y(t)}.\nUrl: ${this.yt(t)}`),!0):!this.bt(t,n)&&(_.warn(`Event dropped due to not being matched by \`whitelistUrls\` option.\nEvent: ${y(t)}.\nUrl: ${this.yt(t)}`),!0)}dt(t,n={}){if(!n.ignoreInternal)return!1;try{return"SentryError"===t.exception.values[0].type}catch(t){return!1}}pt(t,n={}){return!(!n.ignoreErrors||!n.ignoreErrors.length)&&this.gt(t).some(t=>n.ignoreErrors.some(n=>this.wt(t,n)))}vt(t,n={}){if(!n.blacklistUrls||!n.blacklistUrls.length)return!1;const e=this.yt(t);return!!e&&n.blacklistUrls.some(t=>this.wt(e,t))}bt(t,n={}){if(!n.whitelistUrls||!n.whitelistUrls.length)return!0;const e=this.yt(t);return!e||n.whitelistUrls.some(t=>this.wt(e,t))}lt(t={}){return{blacklistUrls:[...this.Z.blacklistUrls||[],...t.blacklistUrls||[]],ignoreErrors:[...this.Z.ignoreErrors||[],...t.ignoreErrors||[],...lt],ignoreInternal:void 0===this.Z.ignoreInternal||this.Z.ignoreInternal,whitelistUrls:[...this.Z.whitelistUrls||[],...t.whitelistUrls||[]]}}wt(t,n){return e=n,"[object RegExp]"===Object.prototype.toString.call(e)?n.test(t):"string"==typeof n&&t.includes(n);var e}gt(t){if(t.message)return[t.message];if(t.exception)try{const{type:n,value:e}=t.exception.values[0];return[`${e}`,`${n}: ${e}`]}catch(n){return _.error(`Cannot extract message for event ${y(t)}`),[]}return[]}yt(t){try{if(t.stacktrace){const n=t.stacktrace.frames;return n[n.length-1].filename}if(t.exception){const n=t.exception.values[0].stacktrace.frames;return n[n.length-1].filename}return null}catch(n){return _.error(`Cannot extract url for event ${y(t)}`),null}}}ft.id="InboundFilters";var dt=Object.freeze({FunctionToString:ht,InboundFilters:ft}),pt=p(),vt={Et:!1,_t:!1,jt:!1,$t:!1},mt="?",yt=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function bt(t,n){return Object.prototype.hasOwnProperty.call(t,n)}function gt(){return"undefined"==typeof document||null==document.location?"":document.location.href}vt.Et=function(){var t,n,e=[],r=null,i=null;function s(t,n,r){var i=null;if(!n||vt._t){for(var s in e)if(bt(e,s))try{e[s](t,n,r)}catch(t){i=t}if(i)throw i}}function u(n,e,r,u,a){var l=null;if(a=c(a)?a.error:a,n=c(n)?n.message:n,i)vt.jt.Ot(i,e,r,n),h();else if(a&&o(a))(l=vt.jt(a)).mechanism="onerror",s(l,!0,a);else{var f,d={url:e,line:r,column:u},p=n;if("[object String]"==={}.toString.call(n)){var v=n.match(yt);v&&(f=v[1],p=v[2])}d.func=mt,d.context=null,s(l={name:f,message:p,mode:"onerror",mechanism:"onerror",stack:[Object.assign({},d,{url:d.url||gt()})]},!0,null)}return!!t&&t.apply(this,arguments)}function a(t){var n=t&&(t.detail?t.detail.reason:t.reason)||t,e=vt.jt(n);e.mechanism="onunhandledrejection",s(e,!0,n)}function h(){var t=i,n=r;i=null,r=null,s(t,!1,n)}function l(t){if(i){if(r===t)return;h()}var n=vt.jt(t);throw i=n,r=t,setTimeout(function(){r===t&&h()},n.incomplete?2e3:0),t}return l.xt=function(t){e.push(t)},l.St=function(){!0!==n&&(t=pt.onerror,pt.onerror=u,n=!0)},l.kt=function(){pt.onunhandledrejection=a},l}(),vt.jt=function(){function t(t){if(!t.stack)return null;for(var n,e,r,i=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|[a-z]:|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,s=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,o=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,c=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,u=/\((\S*)(?::(\d+))(?::(\d+))\)/,a=t.stack.split("\n"),h=[],l=/^(.*) is undefined$/.exec(t.message),f=0,d=a.length;f<d;++f){if(e=i.exec(a[f])){var p=e[2]&&0===e[2].indexOf("native");e[2]&&0===e[2].indexOf("eval")&&(n=u.exec(e[2]))&&(e[2]=n[1]),r={url:p?null:e[2],func:e[1]||mt,args:p?[e[2]]:[],line:e[3]?+e[3]:null,column:e[4]?+e[4]:null}}else if(e=o.exec(a[f]))r={url:e[2],func:e[1]||mt,args:[],line:+e[3],column:e[4]?+e[4]:null};else{if(!(e=s.exec(a[f])))continue;e[3]&&e[3].indexOf(" > eval")>-1&&(n=c.exec(e[3]))?e[3]=n[1]:0!==f||e[5]||void 0===t.columnNumber||(h[0].column=t.columnNumber+1),r={url:e[3],func:e[1]||mt,args:e[2]?e[2].split(","):[],line:e[4]?+e[4]:null,column:e[5]?+e[5]:null}}!r.func&&r.line&&(r.func=mt),r.context=null,h.push(r)}return h.length?(h[0]&&h[0].line&&!h[0].column&&l&&(h[0].column=null),{mode:"stack",name:t.name,message:t.message,stack:h}):null}function n(t,n,e,r){var i={url:n,line:e};if(i.url&&i.line){if(t.incomplete=!1,i.func||(i.func=mt),i.context||(i.context=null),/ '([^']+)' /.exec(r)&&(i.column=null),t.stack.length>0&&t.stack[0].url===i.url){if(t.stack[0].line===i.line)return!1;if(!t.stack[0].line&&t.stack[0].func===i.func)return t.stack[0].line=i.line,t.stack[0].context=i.context,!1}return t.stack.unshift(i),t.partial=!0,!0}return t.incomplete=!0,!1}function e(t,r){for(var i,s,o=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,c=[],u={},a=!1,h=e.caller;h&&!a;h=h.caller)if(h!==jt&&h!==vt.Et){if(s={url:null,func:mt,args:[],line:null,column:null},h.name?s.func=h.name:(i=o.exec(h.toString()))&&(s.func=i[1]),void 0===s.func)try{s.func=i.input.substring(0,i.input.indexOf("{"))}catch(t){}u[""+h]?a=!0:u[""+h]=!0,c.push(s)}r&&c.splice(0,r);var l={mode:"callers",name:t.name,message:t.message,stack:c};return n(l,t.sourceURL||t.fileName,t.line||t.lineNumber,t.message||t.description),l}function r(n,r){var i=null;r=null==r?0:+r;try{if(i=function(t){var n=t.stacktrace;if(n){for(var e,r=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,i=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^\)]+))\((.*)\))? in (.*):\s*$/i,s=n.split("\n"),o=[],c=0;c<s.length;c+=2){var u=null;(e=r.exec(s[c]))?u={url:e[2],line:+e[1],column:null,func:e[3],args:[]}:(e=i.exec(s[c]))&&(u={url:e[6],line:+e[1],column:+e[2],func:e[3]||e[4],args:e[5]?e[5].split(","):[]}),u&&(!u.func&&u.line&&(u.func=mt),u.line&&(u.context=null),u.context||(u.context=[s[c+1]]),o.push(u))}return o.length?{mode:"stacktrace",name:t.name,message:t.message,stack:o}:null}}(n))return i}catch(t){}try{if(i=t(n))return i}catch(t){}try{if(i=function(t){var n=t.message.split("\n");if(n.length<4)return null;var e,r=/^\s*Line (\d+) of linked script ((?:file|https?|blob)\S+)(?:: in function (\S+))?\s*$/i,i=/^\s*Line (\d+) of inline#(\d+) script in ((?:file|https?|blob)\S+)(?:: in function (\S+))?\s*$/i,s=/^\s*Line (\d+) of function script\s*$/i,o=[],c=pt&&pt.document&&pt.document.getElementsByTagName("script"),u=[];for(var a in c)bt(c,a)&&!c[a].src&&u.push(c[a]);for(var h=2;h<n.length;h+=2){var l=null;(e=r.exec(n[h]))?l={url:e[2],func:e[3],args:[],line:+e[1],column:null}:(e=i.exec(n[h]))?l={url:e[3],func:e[4],args:[],line:+e[1],column:null}:(e=s.exec(n[h]))&&(l={url:gt().replace(/#.*$/,""),func:"",args:[],line:e[1],column:null}),l&&(l.func||(l.func=mt),l.context=[n[h+1]],o.push(l))}return o.length?{mode:"multiline",name:t.name,message:n[0],stack:o}:null}(n))return i}catch(t){}try{if(i=e(n,r+1))return i}catch(t){}return{original:n,name:n.name,message:n.message,mode:"failed"}}return r.Ot=n,r.Tt=t,r}(),vt._t=!0,vt.$t=11;const wt=vt.Et.xt,Et=vt.Et.St,_t=vt.Et.kt,jt=vt.jt,$t=50;function Ot(t){const n=St(t.stack),e={type:t.name,value:t.message};return n&&n.length&&(e.stacktrace={frames:n}),void 0===e.type&&""===e.value&&(e.value="Unrecoverable error caught"),e}function xt(t){return{exception:{values:[Ot(t)]}}}function St(t){if(!t||!t.length)return[];let n=t;const e=n[0].func||"",r=n[n.length-1].func||"";return(e.includes("captureMessage")||e.includes("captureException"))&&(n=n.slice(1)),r.includes("sentryWrapped")&&(n=n.slice(0,-1)),n.map(t=>({colno:t.column,filename:t.url||n[0].url,function:t.func||"?",in_app:!0,lineno:t.line})).slice(0,$t).reverse()}class kt{constructor(t){this.options=t,this.h=new R(30),this.url=new rt(this.options.dsn).getStoreEndpointWithUrlEncodedAuth()}sendEvent(t){return i(this,void 0,void 0,function*(){throw new s("Transport Class has to implement `sendEvent` method")})}close(t){return i(this,void 0,void 0,function*(){return this.h.drain(t)})}}const Tt=p();class Rt extends kt{sendEvent(n){return i(this,void 0,void 0,function*(){const e={body:JSON.stringify(n),method:"POST",referrerPolicy:M()?"origin":""};return this.h.add(Tt.fetch(this.url,e).then(n=>({status:t.Status.fromHttpCode(n.status)})))})}}class It extends kt{sendEvent(n){return i(this,void 0,void 0,function*(){return this.h.add(new Promise((e,r)=>{const i=new XMLHttpRequest;i.onreadystatechange=(()=>{4===i.readyState&&(200===i.status&&e({status:t.Status.fromHttpCode(i.status)}),r(i))}),i.open("POST",this.url),i.send(JSON.stringify(n))}))})}}var Dt=Object.freeze({BaseTransport:kt,FetchTransport:Rt,XHRTransport:It});class Ft extends ut{ht(){if(!this.Z.dsn)return super.ht();const t=this.Z.transportOptions?this.Z.transportOptions:{dsn:this.Z.dsn};return this.Z.transport?new this.Z.transport(t):C()?new Rt(t):new It(t)}eventFromException(n,e){let r;if(c(n)&&n.error){return n=n.error,r=xt(jt(n)),U.resolve(this.Rt(r,e))}if(u(n)||(i=n,"[object DOMException]"===Object.prototype.toString.call(i))){const r=n,i=r.name||(u(r)?"DOMError":"DOMException"),s=r.message?`${i}: ${r.message}`:i;return this.eventFromMessage(s,t.Severity.Error,e).then(t=>(g(t,s),U.resolve(this.Rt(t,e))))}var i;if(o(n))return r=xt(jt(n)),U.resolve(this.Rt(r,e));if(l(n)&&e&&e.syntheticException){return g(r=function(t,n){const e=Object.keys(t).sort(),r={extra:{__serialized__:x(t)},message:`Non-Error exception captured with keys: ${F(e)}`};if(n){const t=St(jt(n).stack);r.stacktrace={frames:t}}return r}(n,e.syntheticException),"Custom Object",void 0,{handled:!0,synthetic:!0,type:"generic"}),r.level=t.Severity.Error,U.resolve(this.Rt(r,e))}const s=n;return this.eventFromMessage(s,void 0,e).then(n=>(g(n,`${s}`,void 0,{handled:!0,synthetic:!0,type:"generic"}),n.level=t.Severity.Error,U.resolve(this.Rt(n,e))))}Rt(t,n){return Object.assign({},t,{event_id:n&&n.event_id})}eventFromMessage(n,e=t.Severity.Info,r){const i={event_id:r&&r.event_id,level:e,message:n};if(this.Z.attachStacktrace&&r&&r.syntheticException){const t=St(jt(r.syntheticException).stack);i.stacktrace={frames:t}}return U.resolve(i)}}const Ct="sentry.javascript.browser",Mt="5.1.2";class Lt extends ot{constructor(t={}){super(Ft,t)}ot(t,n,e){return t.platform=t.platform||"javascript",t.sdk=Object.assign({},t.sdk,{name:Ct,packages:[...t.sdk&&t.sdk.packages||[],{name:"npm:@sentry/browser",version:Mt}],version:Mt}),super.ot(t,n,e)}showReportDialog(t={}){const n=p().document;if(!n)return;if(!this.st())return void _.error("Trying to call showReportDialog with Sentry Client is disabled");const e=t.dsn||this.getDsn();if(!t.eventId)return void _.error("Missing `eventId` option in showReportDialog call");if(!e)return void _.error("Missing `Dsn` option in showReportDialog call");const r=n.createElement("script");r.async=!0,r.src=new rt(e).getReportDialogEndpoint(t),(n.head||n.body).appendChild(r)}}const Ut=1e3;let At,Pt,Nt=0;function Bt(t,n={},e){if("function"!=typeof t)return t;try{if(t.__sentry__)return t;if(t.__sentry_wrapped__)return t.__sentry_wrapped__}catch(n){return t}const sentryWrapped=function(){e&&"function"==typeof e&&e.apply(this,arguments);const r=Array.prototype.slice.call(arguments);try{const e=r.map(t=>Bt(t,n));return t.handleEvent?t.handleEvent.apply(this,e):t.apply(this,e)}catch(t){throw Nt+=1,setTimeout(()=>{Nt-=1}),Q(e=>{e.addEventProcessor(t=>{const e=Object.assign({},t);return n.mechanism&&g(e,void 0,void 0,n.mechanism),e.extra=Object.assign({},e.extra,{arguments:T(r,3)}),e}),captureException(t)}),t}};try{for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(sentryWrapped[n]=t[n])}catch(t){}t.prototype=t.prototype||{},sentryWrapped.prototype=t.prototype,Object.defineProperty(t,"__sentry_wrapped__",{enumerable:!1,value:sentryWrapped}),Object.defineProperties(sentryWrapped,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:t}});try{Object.defineProperty(sentryWrapped,"name",{get:()=>t.name})}catch(t){}return sentryWrapped}let Ht=0;function qt(t,n=!1){return e=>{if(At=void 0,!e||Pt===e)return;Pt=e;const r=()=>{let n;try{n=e.target?Xt(e.target):Xt(e)}catch(t){n="<unknown>"}0!==n.length&&G().addBreadcrumb({category:`ui.${t}`,message:n},{event:e,name:t})};Ht&&clearTimeout(Ht),n?Ht=setTimeout(r):r()}}function Wt(){return t=>{let n;try{n=t.target}catch(t){return}const e=n&&n.tagName;e&&("INPUT"===e||"TEXTAREA"===e||n.isContentEditable)&&(At||qt("input")(t),clearTimeout(At),At=setTimeout(()=>{At=void 0},Ut))}}function Xt(t){let n=t;const e=[];let r=0,i=0;const s=" > ".length;let o;for(;n&&r++<5&&!("html"===(o=zt(n))||r>1&&i+e.length*s+o.length>=80);)e.push(o),i+=o.length,n=n.parentNode;return e.reverse().join(" > ")}function zt(t){const n=[];let e,r,i,s,o;if(!t||!t.tagName)return"";if(n.push(t.tagName.toLowerCase()),t.id&&n.push(`#${t.id}`),(e=t.className)&&a(e))for(r=e.split(/\s+/),o=0;o<r.length;o++)n.push(`.${r[o]}`);const c=["type","name","title","alt"];for(o=0;o<c.length;o++)i=c[o],(s=t.getAttribute(i))&&n.push(`[${i}="${s}"]`);return n.join("")}class Gt{constructor(t){this.name=Gt.id,this.Z=Object.assign({onerror:!0,onunhandledrejection:!0},t)}setupOnce(){Error.stackTraceLimit=50,wt((t,n,e)=>{if(Nt>0)return;const r=G().getIntegration(Gt);r&&G().captureEvent(r.It(t),{data:{stack:t},originalException:e})}),this.Z.onerror&&(_.log("Global Handler attached: onerror"),Et()),this.Z.onunhandledrejection&&(_.log("Global Handler attached: onunhandledrejection"),_t())}It(t){const n=xt(t),e={mode:t.mode};t.message&&(e.message=t.message),t.name&&(e.name=t.name);const r=G().getClient(),i=r&&r.getOptions().maxValueLength||250;return g(n,t.original?I(JSON.stringify(T(t.original)),i):"","onunhandledrejection"===t.mechanism?"UnhandledRejection":"Error",{data:e,handled:!1,type:t.mechanism}),n}}Gt.id="GlobalHandlers";class Jt{constructor(){this.Dt=0,this.name=Jt.id}Ft(t){return function(...n){const e=n[0];return n[0]=Bt(e,{mechanism:{data:{function:Vt(t)},handled:!0,type:"instrument"}}),t.apply(this,n)}}Ct(t){return function(n){return t(Bt(n,{mechanism:{data:{function:"requestAnimationFrame",handler:Vt(t)},handled:!0,type:"instrument"}}))}}Mt(t){const n=p(),e=n[t]&&n[t].prototype;e&&e.hasOwnProperty&&e.hasOwnProperty("addEventListener")&&($(e,"addEventListener",function(n){return function(e,r,i){try{r.handleEvent=Bt(r.handleEvent.bind(r),{mechanism:{data:{function:"handleEvent",handler:Vt(r),target:t},handled:!0,type:"instrument"}})}catch(t){}return n.call(this,e,Bt(r,{mechanism:{data:{function:"addEventListener",handler:Vt(r),target:t},handled:!0,type:"instrument"}}),i)}}),$(e,"removeEventListener",function(t){return function(n,e,r){let i=e;try{i=i&&(i.__sentry_wrapped__||i)}catch(t){}return t.call(this,n,i,r)}}))}setupOnce(){this.Dt=this.Dt;const t=p();$(t,"setTimeout",this.Ft.bind(this)),$(t,"setInterval",this.Ft.bind(this)),$(t,"requestAnimationFrame",this.Ct.bind(this)),["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"].forEach(this.Mt.bind(this))}}function Vt(t){try{return t&&t.name||"<anonymous>"}catch(t){return"<anonymous>"}}Jt.id="TryCatch";const Kt=p();let Zt;class Qt{constructor(t){this.name=Qt.id,this.Z=Object.assign({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},t)}Lt(){"console"in Kt&&["debug","info","warn","error","log","assert"].forEach(function(n){n in Kt.console&&$(Kt.console,n,function(e){return function(...r){const i={category:"console",data:{extra:{arguments:T(r,3)},logger:"console"},level:t.Severity.fromString(n),message:D(r," ")};"assert"===n&&!1===r[0]&&(i.message=`Assertion failed: ${D(r.slice(1)," ")||"console.assert"}`,i.data.extra.arguments=T(r.slice(1),3)),Qt.addBreadcrumb(i,{input:r,level:n}),e&&Function.prototype.apply.call(e,Kt.console,r)}})})}Ut(){"document"in Kt&&(Kt.document.addEventListener("click",qt("click"),!1),Kt.document.addEventListener("keypress",Wt(),!1),["EventTarget","Node"].forEach(t=>{const n=Kt[t]&&Kt[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&($(n,"addEventListener",function(t){return function(n,e,r){return e&&e.handleEvent?("click"===n&&$(e,"handleEvent",function(t){return function(n){return qt("click")(n),t.call(this,n)}}),"keypress"===n&&$(e,"handleEvent",Wt())):("click"===n&&qt("click",!0)(this),"keypress"===n&&Wt()(this)),t.call(this,n,e,r)}}),$(n,"removeEventListener",function(t){return function(n,e,r){let i=e;try{i=i&&(i.__sentry_wrapped__||i)}catch(t){}return t.call(this,n,i,r)}}))}))}At(){C()&&-1!==p().fetch.toString().indexOf("native")&&$(Kt,"fetch",function(n){return function(...e){const r=e[0];let i,s="GET";"string"==typeof r?i=r:"Request"in Kt&&r instanceof Request?(i=r.url,r.method&&(s=r.method)):i=String(r),e[1]&&e[1].method&&(s=e[1].method);const o=G().getClient(),c=o&&o.getDsn();if(c){const t=new rt(c).getStoreEndpoint();if(t&&i.includes(t))return"POST"===s&&e[1]&&e[1].body&&Yt(e[1].body),n.apply(Kt,e)}const u={method:s,url:i};return n.apply(Kt,e).then(t=>(u.status_code=t.status,Qt.addBreadcrumb({category:"fetch",data:u,type:"http"},{input:e,response:t}),t)).catch(n=>{throw Qt.addBreadcrumb({category:"fetch",data:u,level:t.Severity.Error,type:"http"},{error:n,input:e}),n})}})}Pt(){if(!function(){const t=p(),n=t.chrome,e=n&&n.app&&n.app.runtime,r="history"in t&&!!t.history.pushState&&!!t.history.replaceState;return!e&&r}())return;const t=(t,n)=>{const e=m(Kt.location.href),r=m(n);let i=m(t);i.path||(i=e),Zt=n,e.protocol===r.protocol&&e.host===r.host&&(n=r.relative),e.protocol===i.protocol&&e.host===i.host&&(t=i.relative),Qt.addBreadcrumb({category:"navigation",data:{from:t,to:n}})},n=Kt.onpopstate;function e(n){return function(...e){const r=e.length>2?e[2]:void 0;return r&&t(Zt,String(r)),n.apply(this,e)}}Kt.onpopstate=((...e)=>{const r=Kt.location.href;if(t(Zt,r),n)return n.apply(this,e)}),$(Kt.history,"pushState",e),$(Kt.history,"replaceState",e)}Nt(){if(!("XMLHttpRequest"in Kt))return;const t=XMLHttpRequest.prototype;$(t,"open",t=>(function(...n){const e=n[1];this.__sentry_xhr__={method:n[0],url:n[1]};const r=G().getClient(),i=r&&r.getDsn();if(i){const t=new rt(i).getStoreEndpoint();a(e)&&t&&e.includes(t)&&(this.__sentry_own_request__=!0)}return t.apply(this,n)})),$(t,"send",t=>(function(...n){const e=this;function r(){if(4===e.readyState){if(e.__sentry_own_request__)return;try{e.__sentry_xhr__&&(e.__sentry_xhr__.status_code=e.status)}catch(t){}Qt.addBreadcrumb({category:"xhr",data:e.__sentry_xhr__,type:"http"},{xhr:e})}}return e.__sentry_own_request__&&Yt(n[0]),["onload","onerror","onprogress"].forEach(t=>{!function(t,n){t in n&&"function"==typeof n[t]&&$(n,t,n=>Bt(n,{mechanism:{data:{function:t,handler:n&&n.name||"<anonymous>"},handled:!0,type:"instrument"}}))}(t,e)}),"onreadystatechange"in e&&"function"==typeof e.onreadystatechange?$(e,"onreadystatechange",function(t){return Bt(t,{mechanism:{data:{function:"onreadystatechange",handler:t&&t.name||"<anonymous>"},handled:!0,type:"instrument"}},r)}):e.onreadystatechange=r,t.apply(this,n)}))}static addBreadcrumb(t,n){G().getIntegration(Qt)&&G().addBreadcrumb(t,n)}setupOnce(){this.Z.console&&this.Lt(),this.Z.dom&&this.Ut(),this.Z.xhr&&this.Nt(),this.Z.fetch&&this.At(),this.Z.history&&this.Pt()}}function Yt(n){try{const e=JSON.parse(n);Qt.addBreadcrumb({category:"sentry",event_id:e.event_id,level:e.level||t.Severity.fromString("error"),message:y(e)},{event:e})}catch(t){_.error("Error while adding sentry type breadcrumb")}}Qt.id="Breadcrumbs";const tn="cause",nn=5;class en{constructor(t={}){this.name=en.id,this.Bt=t.key||tn,this.u=t.limit||nn}setupOnce(){N((t,n)=>{const e=G().getIntegration(en);return e?e.Ht(t,n):t})}Ht(t,n){if(!(t.exception&&t.exception.values&&n&&n.originalException instanceof Error))return t;const e=this.qt(n.originalException,this.Bt);return t.exception.values=[...e,...t.exception.values],t}qt(t,n,e=[]){if(!(t[n]instanceof Error)||e.length+1>=this.u)return e;const r=Ot(jt(t[n]));return this.qt(t[n],n,[r,...e])}}en.id="LinkedErrors";const rn=p();class sn{constructor(){this.name=sn.id}setupOnce(){N(t=>{if(G().getIntegration(sn)){if(!rn.navigator||!rn.location)return t;const n=t.request||{};return n.url=n.url||rn.location.href,n.headers=n.headers||{},n.headers["User-Agent"]=rn.navigator.userAgent,Object.assign({},t,{request:n})}return t})}}sn.id="UserAgent";var on=Object.freeze({GlobalHandlers:Gt,TryCatch:Jt,Breadcrumbs:Qt,LinkedErrors:en,UserAgent:sn});const cn=[new ft,new ht,new Jt,new Qt,new Gt,new en,new sn];let un={};const an=p();an.Sentry&&an.Sentry.Integrations&&(un=an.Sentry.Integrations);const hn=Object.assign({},un,dt,on);return t.Integrations=hn,t.Transports=Dt,t.addGlobalEventProcessor=N,t.addBreadcrumb=function(t){Z("addBreadcrumb",t)},t.captureException=captureException,t.captureEvent=function(t){return Z("captureEvent",t)},t.captureMessage=function(t,n){let e;try{throw new Error(t)}catch(t){e=t}return Z("captureMessage",t,n,{originalException:t,syntheticException:e})},t.configureScope=function(t){Z("configureScope",t)},t.withScope=Q,t.getHubFromCarrier=V,t.getCurrentHub=G,t.Hub=W,t.Scope=A,t.BrowserClient=Lt,t.defaultIntegrations=cn,t.forceLoad=function(){},t.init=function(t={}){void 0===t.defaultIntegrations&&(t.defaultIntegrations=cn),function(t,n){!0===n.debug&&_.enable(),G().bindClient(new t(n))}(Lt,t)},t.lastEventId=function(){return G().lastEventId()},t.onLoad=function(t){t()},t.showReportDialog=function(t={}){t.eventId||(t.eventId=G().lastEventId());const n=G().getClient();n&&n.showReportDialog(t)},t.flush=function(t){return i(this,void 0,void 0,function*(){const n=G().getClient();return n?n.flush(t):Promise.reject(!1)})},t.close=function(t){return i(this,void 0,void 0,function*(){const n=G().getClient();return n?n.close(t):Promise.reject(!1)})},t.SDK_NAME=Ct,t.SDK_VERSION=Mt,t}({});
/*! @sentry/browser 5.2.0-beta.0 (09c7a2a8) | https://github.com/getsentry/sentry-javascript */
var Sentry=function(t){"use strict";var n,e,r;function i(t,n,e,r){return new(e||(e=Promise))(function(i,s){function o(t){try{u(r.next(t))}catch(t){s(t)}}function c(t){try{u(r.throw(t))}catch(t){s(t)}}function u(t){t.done?i(t.value):new e(function(n){n(t.value)}).then(o,c)}u((r=r.apply(t,n||[])).next())})}!function(t){t[t.None=0]="None",t[t.Error=1]="Error",t[t.Debug=2]="Debug",t[t.Verbose=3]="Verbose"}(n||(n={})),(e=t.Severity||(t.Severity={})).Fatal="fatal",e.Error="error",e.Warning="warning",e.Log="log",e.Info="info",e.Debug="debug",e.Critical="critical",function(t){t.fromString=function(n){switch(n){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}}}(t.Severity||(t.Severity={})),(r=t.Status||(t.Status={})).Unknown="unknown",r.Skipped="skipped",r.Success="success",r.RateLimit="rate_limit",r.Invalid="invalid",r.Failed="failed",function(t){t.fromHttpCode=function(n){return n>=200&&n<300?t.Success:429===n?t.RateLimit:n>=400&&n<500?t.Invalid:n>=500?t.Failed:t.Unknown}}(t.Status||(t.Status={}));class s extends Error{constructor(t){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype)}}function o(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return t instanceof Error}}function c(t){return"[object ErrorEvent]"===Object.prototype.toString.call(t)}function u(t){return"[object DOMError]"===Object.prototype.toString.call(t)}function a(t){return"[object String]"===Object.prototype.toString.call(t)}function h(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function l(t){return"[object Object]"===Object.prototype.toString.call(t)}function f(t){return Boolean(t&&t.then&&"function"==typeof t.then)}const d={};function p(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:d}function v(){const t=p(),n=t.crypto||t.msCrypto;if(void 0!==n&&n.getRandomValues){const t=new Uint16Array(8);n.getRandomValues(t),t[3]=4095&t[3]|16384,t[4]=16383&t[4]|32768;const e=t=>{let n=t.toString(16);for(;n.length<4;)n=`0${n}`;return n};return e(t[0])+e(t[1])+e(t[2])+e(t[3])+e(t[4])+e(t[5])+e(t[6])+e(t[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,t=>{const n=16*Math.random()|0;return("x"===t?n:3&n|8).toString(16)})}function m(t){if(!t)return{};const n=t.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!n)return{};const e=n[6]||"",r=n[8]||"";return{host:n[4],path:n[5],protocol:n[2],relative:n[5]+e+r}}function y(t){if(t.message)return t.message;if(t.exception&&t.exception.values&&t.exception.values[0]){const n=t.exception.values[0];return n.type&&n.value?`${n.type}: ${n.value}`:n.type||n.value||t.event_id||"<unknown>"}return t.event_id||"<unknown>"}function b(t){const n=p();if(!("console"in n))return t();const e=n.console,r={};["debug","info","warn","error","log","assert"].forEach(t=>{t in n.console&&e[t].__sentry__&&(r[t]=e[t].__sentry_wrapped__,e[t]=e[t].__sentry_original__)});const i=t();return Object.keys(r).forEach(t=>{e[t]=r[t]}),i}function g(t,n,e,r={handled:!0,type:"generic"}){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||n||"",t.exception.values[0].type=t.exception.values[0].type||e||"Error",t.exception.values[0].mechanism=t.exception.values[0].mechanism||r}const w=p(),E="Sentry Logger ";w.__SENTRY__=w.__SENTRY__||{};const _=w.__SENTRY__.logger||(w.__SENTRY__.logger=new class{constructor(){this.t=!1}disable(){this.t=!1}enable(){this.t=!0}log(...t){this.t&&b(()=>{w.console.log(`${E}[Log]: ${t.join(" ")}`)})}warn(...t){this.t&&b(()=>{w.console.warn(`${E}[Warn]: ${t.join(" ")}`)})}error(...t){this.t&&b(()=>{w.console.error(`${E}[Error]: ${t.join(" ")}`)})}});class ${constructor(){this.i="function"==typeof WeakSet,this.s=this.i?new WeakSet:[]}memoize(t){if(this.i)return!!this.s.has(t)||(this.s.add(t),!1);for(let n=0;n<this.s.length;n++){if(this.s[n]===t)return!0}return this.s.push(t),!1}unmemoize(t){if(this.i)this.s.delete(t);else for(let n=0;n<this.s.length;n++)if(this.s[n]===t){this.s.splice(n,1);break}}}function j(t,n,e){if(!(n in t))return;const r=t[n],i=e(r);if("function"==typeof i)try{i.prototype=i.prototype||{},Object.defineProperties(i,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:r},__sentry_wrapped__:{enumerable:!1,value:i}})}catch(t){}t[n]=i}function O(t){return function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(t))}function x(t,n=3,e=102400){const r=T(t,n);return O(r)>e?x(t,n-1,e):r}function S(t,n){return"domain"===n&&"object"==typeof t&&t.o?"[Domain]":"domainEmitter"===n?"[DomainEmitter]":"undefined"!=typeof global&&t===global?"[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":l(e=t)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e?"[SyntheticEvent]":Number.isNaN(t)?"[NaN]":void 0===t?"[undefined]":"function"==typeof t?`[Function: ${t.name||"<unknown-function-name>"}]`:t;var e}function k(t,n,e=1/0,r=new $){if(0===e)return function(t){const n=Object.prototype.toString.call(t);if("string"==typeof t)return t;if("[object Object]"===n)return"[Object]";if("[object Array]"===n)return"[Array]";const e=S(t);return h(e)?e:n}(n);if(null!=n&&"function"==typeof n.toJSON)return n.toJSON();const i=S(n,t);if(h(i))return i;const s=o(n)?function(t){const n={message:t.message,name:t.name,stack:t.stack};for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e]);return n}(n):n,c=Array.isArray(n)?[]:{};if(r.memoize(n))return"[Circular ~]";for(const t in s)Object.prototype.hasOwnProperty.call(s,t)&&(c[t]=k(t,s[t],e-1,r));return r.unmemoize(n),c}function T(t,n){try{return JSON.parse(JSON.stringify(t,(t,e)=>k(t,e,n)))}catch(t){return"**non-serializable**"}}class R{constructor(t){this.u=t,this.h=[]}isReady(){return void 0===this.u||this.length()<this.u}add(t){return i(this,void 0,void 0,function*(){return this.isReady()?(-1===this.h.indexOf(t)&&this.h.push(t),t.then(()=>i(this,void 0,void 0,function*(){return this.remove(t)})).catch(()=>i(this,void 0,void 0,function*(){return this.remove(t).catch(()=>{})})),t):Promise.reject(new s("Not adding Promise due to buffer limit reached."))})}remove(t){return i(this,void 0,void 0,function*(){return this.h.splice(this.h.indexOf(t),1)[0]})}length(){return this.h.length}drain(t){return i(this,void 0,void 0,function*(){return new Promise(n=>{const e=setTimeout(()=>{t&&t>0&&n(!1)},t);Promise.all(this.h).then(()=>{clearTimeout(e),n(!0)}).catch(()=>{n(!0)})})})}}function F(t,n=0){return 0===n?t:t.length<=n?t:`${t.substr(0,n)}...`}function I(t,n){if(!Array.isArray(t))return"";const e=[];for(let n=0;n<t.length;n++){const r=t[n];try{e.push(String(r))}catch(t){e.push("[value cannot be serialized]")}}return e.join(n)}function C(t,n=40){if(!t.length)return"[object has no keys]";if(t[0].length>=n)return F(t[0],n);for(let e=t.length;e>0;e--){const r=t.slice(0,e).join(", ");if(!(r.length>n))return e===t.length?r:F(r,n)}return""}function D(t,n){return e=n,"[object RegExp]"===Object.prototype.toString.call(e)?n.test(t):"string"==typeof n&&t.includes(n);var e}function M(){if(!("fetch"in p()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}function U(){if(!M())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(t){return!1}}var L;!function(t){t.P="P",t.O="O",t.E="E"}(L||(L={}));class A{constructor(t){this.l=L.P,this.p=[],this.v=(t=>{this.m(t,L.O)}),this.g=(t=>{this.m(t,L.E)}),this.m=((t,n)=>{this.l===L.P&&(f(t)?t.then(this.v,this.g):(this._=t,this.l=n,this.$()))}),this.$=(()=>{this.l!==L.P&&(this.l===L.E?this.p.forEach(t=>t.onFail&&t.onFail(this._)):this.p.forEach(t=>t.onSuccess&&t.onSuccess(this._)),this.p=[])}),this.j=(t=>{this.p=this.p.concat(t),this.$()});try{t(this.v,this.g)}catch(t){this.g(t)}}then(t,n){return new A((e,r)=>{this.j({onFail:t=>{if(n)try{return void e(n(t))}catch(t){return void r(t)}else r(t)},onSuccess:n=>{if(t)try{return void e(t(n))}catch(t){return void r(t)}else e(n)}})})}catch(t){return this.then(t=>t,t)}toString(){return"[object SyncPromise]"}static resolve(t){return new A(n=>{n(t)})}static reject(t){return new A((n,e)=>{e(t)})}}const P=/([0-9a-f]{2})-([0-9a-f]{32})-([0-9a-f]{16})-([0-9a-f]{2})/;class N{constructor(t=v(),n=v().substring(16),e=!1,r){this.S=t,this.k=n,this.T=e,this.R=r}static fromTraceparent(t){const n=t.match(P);if(n){const t=new N(n[2],n[3],"01"===n[4]);return new N(n[2],void 0,void 0,t)}}toTraceparent(){return`00-${this.S}-${this.k}-${this.T?"01":"00"}`}toJSON(){return{parent:this.R&&this.R.toJSON()||void 0,span_id:this.k,trace_id:this.S}}}class B{constructor(){this.F=!1,this.I=[],this.C=[],this.D=[],this.M={},this.U={},this.L={},this.A={}}addScopeListener(t){this.I.push(t)}addEventProcessor(t){return this.C.push(t),this}N(){this.F||(this.F=!0,setTimeout(()=>{this.I.forEach(t=>{t(this)}),this.F=!1}))}B(t,n,e,r=0){return new A((i,s)=>{const o=t[r];if(null===n||"function"!=typeof o)i(n);else{const c=o(Object.assign({},n),e);f(c)?c.then(n=>this.B(t,n,e,r+1).then(i)).catch(s):this.B(t,c,e,r+1).then(i).catch(s)}})}setUser(t){return this.M=T(t),this.N(),this}setTags(t){return this.U=Object.assign({},this.U,T(t)),this.N(),this}setTag(t,n){return this.U=Object.assign({},this.U,{[t]:T(n)}),this.N(),this}setExtras(t){return this.L=Object.assign({},this.L,T(t)),this.N(),this}setExtra(t,n){return this.L=Object.assign({},this.L,{[t]:T(n)}),this.N(),this}setFingerprint(t){return this.H=T(t),this.N(),this}setLevel(t){return this.q=T(t),this.N(),this}setTransaction(t){return this.W=t,this.N(),this}setContext(t,n){return this.A[t]=n?T(n):void 0,this.N(),this}setSpanContext(t){return this.X=t,this.N(),this}startSpan(){const t=new N;return this.setSpanContext(t),t}getSpan(){return this.X}static clone(t){const n=new B;return Object.assign(n,t,{I:[]}),t&&(n.D=[...t.D],n.U=Object.assign({},t.U),n.L=Object.assign({},t.L),n.A=Object.assign({},t.A),n.M=t.M,n.q=t.q,n.X=t.X,n.W=t.W,n.H=t.H,n.C=[...t.C]),n}clear(){return this.D=[],this.U={},this.L={},this.M={},this.A={},this.q=void 0,this.W=void 0,this.H=void 0,this.X=void 0,this.N(),this}addBreadcrumb(t,n){const e=(new Date).getTime()/1e3,r=Object.assign({timestamp:e},t);return this.D=void 0!==n&&n>=0?[...this.D,T(r)].slice(-n):[...this.D,T(r)],this.N(),this}clearBreadcrumbs(){return this.D=[],this.N(),this}J(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this.H&&(t.fingerprint=t.fingerprint.concat(this.H)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}applyToEvent(t,n){return this.L&&Object.keys(this.L).length&&(t.extra=Object.assign({},this.L,t.extra)),this.U&&Object.keys(this.U).length&&(t.tags=Object.assign({},this.U,t.tags)),this.M&&Object.keys(this.M).length&&(t.user=Object.assign({},this.M,t.user)),this.A&&Object.keys(this.A).length&&(t.contexts=Object.assign({},this.A,t.contexts)),this.q&&(t.level=this.q),this.W&&(t.transaction=this.W),this.X&&(t.contexts=t.contexts||{},t.contexts.trace=this.X),this.J(t),t.breadcrumbs=[...t.breadcrumbs||[],...this.D],t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,this.B([...H(),...this.C],t,n)}}function H(){const t=p();return t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.globalEventProcessors=t.__SENTRY__.globalEventProcessors||[],t.__SENTRY__.globalEventProcessors}function q(t){H().push(t)}const W=3,X=30,z=100;class J{constructor(t,n=new B,e=W){this.G=e,this.V=[],this.V.push({client:t,scope:n})}K(t,...n){const e=this.getStackTop();e&&e.client&&e.client[t]&&e.client[t](...n,e.scope)}isOlderThan(t){return this.G<t}bindClient(t){this.getStackTop().client=t}pushScope(){const t=this.getStack(),n=t.length>0?t[t.length-1].scope:void 0,e=B.clone(n);return this.getStack().push({client:this.getClient(),scope:e}),e}popScope(){return void 0!==this.getStack().pop()}withScope(t){const n=this.pushScope();try{t(n)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this.V}getStackTop(){return this.V[this.V.length-1]}captureException(t,n){const e=this.Z=v();return this.K("captureException",t,Object.assign({},n,{event_id:e})),e}captureMessage(t,n,e){const r=this.Z=v();return this.K("captureMessage",t,n,Object.assign({},e,{event_id:r})),r}captureEvent(t,n){const e=this.Z=v();return this.K("captureEvent",t,Object.assign({},n,{event_id:e})),e}lastEventId(){return this.Z}addBreadcrumb(t,n){const e=this.getStackTop();if(!e.scope||!e.client)return;const{beforeBreadcrumb:r=null,maxBreadcrumbs:i=X}=e.client.getOptions&&e.client.getOptions()||{};if(i<=0)return;const s=(new Date).getTime()/1e3,o=Object.assign({timestamp:s},t),c=r?b(()=>r(o,n)):o;null!==c&&e.scope.addBreadcrumb(c,Math.min(i,z))}configureScope(t){const n=this.getStackTop();n.scope&&n.client&&t(n.scope)}run(t){const n=V(this);try{t(this)}finally{V(n)}}getIntegration(t){const n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch(n){return _.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}traceHeaders(){const t=this.getStackTop();if(t.scope&&t.client){const n=t.scope.getSpan();if(n)return{"sentry-trace":n.toTraceparent()}}return{}}}function G(){const t=p();return t.__SENTRY__=t.__SENTRY__||{hub:void 0},t}function V(t){const n=G(),e=Q(n);return Y(n,t),e}function K(){const t=G();Z(t)&&!Q(t).isOlderThan(W)||Y(t,new J);try{const r=(n=module,e="domain",n.require(e)).active;if(!r)return Q(t);if(!Z(r)||Q(r).isOlderThan(W)){const n=Q(t).getStackTop();Y(r,new J(n.client,B.clone(n.scope)))}return Q(r)}catch(n){return Q(t)}var n,e}function Z(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function Q(t){return t&&t.__SENTRY__&&t.__SENTRY__.hub?t.__SENTRY__.hub:(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=new J,t.__SENTRY__.hub)}function Y(t,n){return!!t&&(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=n,!0)}function tt(t,...n){const e=K();if(e&&e[t])return e[t](...n);throw new Error(`No hub defined or ${t} was not found on the hub, please open a bug report.`)}function captureException(t){let n;try{throw new Error("Sentry syntheticException")}catch(t){n=t}return tt("captureException",t,{originalException:t,syntheticException:n})}function nt(t){tt("withScope",t)}const et=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w\.-]+)(?::(\d+))?\/(.+)/,rt="Invalid Dsn";class it{constructor(t){"string"==typeof t?this.Y(t):this.tt(t),this.nt()}toString(t=!1){const{host:n,path:e,pass:r,port:i,projectId:s,protocol:o,user:c}=this;return`${o}://${c}${t&&r?`:${r}`:""}`+`@${n}${i?`:${i}`:""}/${e?`${e}/`:e}${s}`}Y(t){const n=et.exec(t);if(!n)throw new s(rt);const[e,r,i="",o,c="",u]=n.slice(1);let a="",h=u;const l=h.split("/");l.length>1&&(a=l.slice(0,-1).join("/"),h=l.pop()),Object.assign(this,{host:o,pass:i,path:a,projectId:h,port:c,protocol:e,user:r})}tt(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}nt(){if(["protocol","user","host","projectId"].forEach(t=>{if(!this[t])throw new s(rt)}),"http"!==this.protocol&&"https"!==this.protocol)throw new s(rt);if(this.port&&Number.isNaN(parseInt(this.port,10)))throw new s(rt)}}const st="7";class ot{constructor(t){this.dsn=t,this.et=new it(t)}getDsn(){return this.et}getStoreEndpoint(){return`${this.rt()}${this.getStoreEndpointPath()}`}getStoreEndpointWithUrlEncodedAuth(){const t={sentry_key:this.et.user,sentry_version:st};return`${this.getStoreEndpoint()}?${n=t,Object.keys(n).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(n[t])}`).join("&")}`;var n}rt(){const t=this.et,n=t.protocol?`${t.protocol}:`:"",e=t.port?`:${t.port}`:"";return`${n}//${t.host}${e}`}getStoreEndpointPath(){const t=this.et;return`${t.path?`/${t.path}`:""}/api/${t.projectId}/store/`}getRequestHeaders(t,n){const e=this.et,r=[`Sentry sentry_version=${st}`];return r.push(`sentry_timestamp=${(new Date).getTime()}`),r.push(`sentry_client=${t}/${n}`),r.push(`sentry_key=${e.user}`),e.pass&&r.push(`sentry_secret=${e.pass}`),{"Content-Type":"application/json","X-Sentry-Auth":r.join(", ")}}getReportDialogEndpoint(t={}){const n=this.et,e=`${this.rt()}${n.path?`/${n.path}`:""}/api/embed/error-page/`,r=[];r.push(`dsn=${n.toString()}`);for(const n in t)if("user"===n){if(!t.user)continue;t.user.name&&r.push(`name=${encodeURIComponent(t.user.name)}`),t.user.email&&r.push(`email=${encodeURIComponent(t.user.email)}`)}else r.push(`${encodeURIComponent(n)}=${encodeURIComponent(t[n])}`);return r.length?`${e}?${r.join("&")}`:e}}const ct=[];function ut(t){const n={};return function(t){const n=t.defaultIntegrations&&[...t.defaultIntegrations]||[],e=t.integrations;let r=[];if(Array.isArray(e)){const t=e.map(t=>t.name),i=[];n.forEach(n=>{-1===t.indexOf(n.name)&&-1===i.indexOf(n.name)&&(r.push(n),i.push(n.name))}),e.forEach(t=>{-1===i.indexOf(t.name)&&(r.push(t),i.push(t.name))})}else{if("function"!=typeof e)return[...n];r=e(n),r=Array.isArray(r)?r:[r]}return r}(t).forEach(t=>{n[t.name]=t,function(t){-1===ct.indexOf(t.name)&&(t.setupOnce(q,K),ct.push(t.name),_.log(`Integration installed: ${t.name}`))}(t)}),n}class at{constructor(t,n){this.it=!1,this.st=new t(n),this.ot=n,n.dsn&&(this.ct=new it(n.dsn)),this.ut=ut(this.ot)}captureException(t,n,e){let r=n&&n.event_id;return this.it=!0,this.at().eventFromException(t,n).then(t=>this.ht(t,n,e)).then(t=>{r=t&&t.event_id,this.it=!1}).catch(t=>{_.error(t),this.it=!1}),r}captureMessage(t,n,e,r){let i=e&&e.event_id;return this.it=!0,(h(t)?this.at().eventFromMessage(`${t}`,n,e):this.at().eventFromException(t,e)).then(t=>this.ht(t,e,r)).then(t=>{i=t&&t.event_id,this.it=!1}).catch(t=>{_.error(t),this.it=!1}),i}captureEvent(t,n,e){let r=n&&n.event_id;return this.it=!0,this.ht(t,n,e).then(t=>{r=t&&t.event_id,this.it=!1}).catch(t=>{_.error(t),this.it=!1}),r}getDsn(){return this.ct}getOptions(){return this.ot}flush(t){return i(this,void 0,void 0,function*(){const n=yield this.lt(t);this.ft&&clearInterval(this.ft);const e=yield this.at().getTransport().close(t);return n&&e})}close(t){return i(this,void 0,void 0,function*(){const n=yield this.flush(t);return this.getOptions().enabled=!1,n})}getIntegrations(){return this.ut||{}}getIntegration(t){try{return this.ut[t.id]||null}catch(n){return _.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}lt(t){return i(this,void 0,void 0,function*(){return new Promise(n=>{let e=0;this.ft&&clearInterval(this.ft),this.ft=setInterval(()=>{this.it?(e+=1,t&&e>=t&&n(!1)):n(!0)},1)})})}at(){return this.st}dt(){return!1!==this.getOptions().enabled&&void 0!==this.ct}pt(t,n,e){const{environment:r,release:i,dist:s,maxValueLength:o=250}=this.getOptions(),c=Object.assign({},t);void 0===c.environment&&void 0!==r&&(c.environment=r),void 0===c.release&&void 0!==i&&(c.release=i),void 0===c.dist&&void 0!==s&&(c.dist=s),c.message&&(c.message=F(c.message,o));const u=c.exception&&c.exception.values&&c.exception.values[0];u&&u.value&&(u.value=F(u.value,o));const a=c.request;a&&a.url&&(a.url=F(a.url,o)),void 0===c.event_id&&(c.event_id=v()),this.vt(c.sdk);let h=A.resolve(c);return n&&(h=n.applyToEvent(c,e)),h}vt(t){const n=Object.keys(this.ut);t&&n.length>0&&(t.integrations=n)}ht(t,n,e){const{beforeSend:r,sampleRate:i}=this.getOptions();return this.dt()?"number"==typeof i&&Math.random()>i?A.reject("This event has been sampled, will not send event."):new A((i,s)=>{this.pt(t,e,n).then(t=>{if(null===t)return void s("An event processor returned null, will not send event.");let e=t;try{if(n&&n.data&&!0===n.data.__sentry__||!r)return this.at().sendEvent(e),void i(e);const o=r(t,n);if(void 0===o)_.error("`beforeSend` method has to return `null` or a valid event.");else if(f(o))this.yt(o,i,s);else{if(null===(e=o))return _.log("`beforeSend` returned `null`, will not send event."),void i(null);this.at().sendEvent(e),i(e)}}catch(t){this.captureException(t,{data:{__sentry__:!0},originalException:t}),s("`beforeSend` throw an error, will not send event.")}})}):A.reject("SDK not enabled, will not send event.")}yt(t,n,e){t.then(t=>{null!==t?(this.at().sendEvent(t),n(t)):e("`beforeSend` returned `null`, will not send event.")}).catch(t=>{e(`beforeSend rejected with ${t}`)})}}class ht{sendEvent(n){return i(this,void 0,void 0,function*(){return Promise.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:t.Status.Skipped})})}close(t){return i(this,void 0,void 0,function*(){return Promise.resolve(!0)})}}class lt{constructor(t){this.ot=t,this.ot.dsn||_.warn("No DSN provided, backend will not do anything."),this.bt=this.gt()}gt(){return new ht}eventFromException(t,n){throw new s("Backend has to implement `eventFromException` method")}eventFromMessage(t,n,e){throw new s("Backend has to implement `eventFromMessage` method")}sendEvent(t){this.bt.sendEvent(t).catch(t=>{_.error(`Error while sending event: ${t}`)})}getTransport(){return this.bt}}let ft;class dt{constructor(){this.name=dt.id}setupOnce(){ft=Function.prototype.toString,Function.prototype.toString=function(...t){const n=this.__sentry__?this.__sentry_original__:this;return ft.apply(n,t)}}}dt.id="FunctionToString";const pt=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class vt{constructor(t={}){this.ot=t,this.name=vt.id}setupOnce(){q(t=>{const n=K();if(!n)return t;const e=n.getIntegration(vt);if(e){const r=n.getClient(),i=r?r.getOptions():{},s=e.wt(i);if(e.Et(t,s))return null}return t})}Et(t,n){return this._t(t,n)?(_.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${y(t)}`),!0):this.$t(t,n)?(_.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${y(t)}`),!0):this.jt(t,n)?(_.warn(`Event dropped due to being matched by \`blacklistUrls\` option.\nEvent: ${y(t)}.\nUrl: ${this.Ot(t)}`),!0):!this.xt(t,n)&&(_.warn(`Event dropped due to not being matched by \`whitelistUrls\` option.\nEvent: ${y(t)}.\nUrl: ${this.Ot(t)}`),!0)}_t(t,n={}){if(!n.ignoreInternal)return!1;try{return"SentryError"===t.exception.values[0].type}catch(t){return!1}}$t(t,n={}){return!(!n.ignoreErrors||!n.ignoreErrors.length)&&this.St(t).some(t=>n.ignoreErrors.some(n=>D(t,n)))}jt(t,n={}){if(!n.blacklistUrls||!n.blacklistUrls.length)return!1;const e=this.Ot(t);return!!e&&n.blacklistUrls.some(t=>D(e,t))}xt(t,n={}){if(!n.whitelistUrls||!n.whitelistUrls.length)return!0;const e=this.Ot(t);return!e||n.whitelistUrls.some(t=>D(e,t))}wt(t={}){return{blacklistUrls:[...this.ot.blacklistUrls||[],...t.blacklistUrls||[]],ignoreErrors:[...this.ot.ignoreErrors||[],...t.ignoreErrors||[],...pt],ignoreInternal:void 0===this.ot.ignoreInternal||this.ot.ignoreInternal,whitelistUrls:[...this.ot.whitelistUrls||[],...t.whitelistUrls||[]]}}St(t){if(t.message)return[t.message];if(t.exception)try{const{type:n,value:e}=t.exception.values[0];return[`${e}`,`${n}: ${e}`]}catch(n){return _.error(`Cannot extract message for event ${y(t)}`),[]}return[]}Ot(t){try{if(t.stacktrace){const n=t.stacktrace.frames;return n[n.length-1].filename}if(t.exception){const n=t.exception.values[0].stacktrace.frames;return n[n.length-1].filename}return null}catch(n){return _.error(`Cannot extract url for event ${y(t)}`),null}}}vt.id="InboundFilters";var mt=Object.freeze({FunctionToString:dt,InboundFilters:vt}),yt=p(),bt={kt:!1,Tt:!1,Rt:!1,Ft:!1},gt="?",wt=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function Et(t,n){return Object.prototype.hasOwnProperty.call(t,n)}function _t(){return"undefined"==typeof document||null==document.location?"":document.location.href}bt.kt=function(){var t,n,e=[],r=null,i=null;function s(t,n,r){var i=null;if(!n||bt.Tt){for(var s in e)if(Et(e,s))try{e[s](t,n,r)}catch(t){i=t}if(i)throw i}}function u(n,e,r,u,a){var l=null;if(a=c(a)?a.error:a,n=c(n)?n.message:n,i)bt.Rt.It(i,e,r,n),h();else if(a&&o(a))(l=bt.Rt(a)).mechanism="onerror",s(l,!0,a);else{var f,d={url:e,line:r,column:u},p=n;if("[object String]"==={}.toString.call(n)){var v=n.match(wt);v&&(f=v[1],p=v[2])}d.func=gt,d.context=null,s(l={name:f,message:p,mode:"onerror",mechanism:"onerror",stack:[Object.assign({},d,{url:d.url||_t()})]},!0,null)}return!!t&&t.apply(this,arguments)}function a(t){var n=t&&(t.detail?t.detail.reason:t.reason)||t,e=bt.Rt(n);e.mechanism="onunhandledrejection",s(e,!0,n)}function h(){var t=i,n=r;i=null,r=null,s(t,!1,n)}function l(t){if(i){if(r===t)return;h()}var n=bt.Rt(t);throw i=n,r=t,setTimeout(function(){r===t&&h()},n.incomplete?2e3:0),t}return l.Ct=function(t){e.push(t)},l.Dt=function(){!0!==n&&(t=yt.onerror,yt.onerror=u,n=!0)},l.Mt=function(){yt.onunhandledrejection=a},l}(),bt.Rt=function(){function t(t){if(!t.stack)return null;for(var n,e,r,i=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|[a-z]:|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,s=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,o=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,c=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,u=/\((\S*)(?::(\d+))(?::(\d+))\)/,a=t.stack.split("\n"),h=[],l=/^(.*) is undefined$/.exec(t.message),f=0,d=a.length;f<d;++f){if(e=i.exec(a[f])){var p=e[2]&&0===e[2].indexOf("native");e[2]&&0===e[2].indexOf("eval")&&(n=u.exec(e[2]))&&(e[2]=n[1]),r={url:p?null:e[2],func:e[1]||gt,args:p?[e[2]]:[],line:e[3]?+e[3]:null,column:e[4]?+e[4]:null}}else if(e=o.exec(a[f]))r={url:e[2],func:e[1]||gt,args:[],line:+e[3],column:e[4]?+e[4]:null};else{if(!(e=s.exec(a[f])))continue;e[3]&&e[3].indexOf(" > eval")>-1&&(n=c.exec(e[3]))?e[3]=n[1]:0!==f||e[5]||void 0===t.columnNumber||(h[0].column=t.columnNumber+1),r={url:e[3],func:e[1]||gt,args:e[2]?e[2].split(","):[],line:e[4]?+e[4]:null,column:e[5]?+e[5]:null}}!r.func&&r.line&&(r.func=gt),r.context=null,h.push(r)}return h.length?(h[0]&&h[0].line&&!h[0].column&&l&&(h[0].column=null),{mode:"stack",name:t.name,message:t.message,stack:h}):null}function n(t,n,e,r){var i={url:n,line:e};if(i.url&&i.line){if(t.incomplete=!1,i.func||(i.func=gt),i.context||(i.context=null),/ '([^']+)' /.exec(r)&&(i.column=null),t.stack.length>0&&t.stack[0].url===i.url){if(t.stack[0].line===i.line)return!1;if(!t.stack[0].line&&t.stack[0].func===i.func)return t.stack[0].line=i.line,t.stack[0].context=i.context,!1}return t.stack.unshift(i),t.partial=!0,!0}return t.incomplete=!0,!1}function e(t,r){for(var i,s,o=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,c=[],u={},a=!1,h=e.caller;h&&!a;h=h.caller)if(h!==xt&&h!==bt.kt){if(s={url:null,func:gt,args:[],line:null,column:null},h.name?s.func=h.name:(i=o.exec(h.toString()))&&(s.func=i[1]),void 0===s.func)try{s.func=i.input.substring(0,i.input.indexOf("{"))}catch(t){}u[""+h]?a=!0:u[""+h]=!0,c.push(s)}r&&c.splice(0,r);var l={mode:"callers",name:t.name,message:t.message,stack:c};return n(l,t.sourceURL||t.fileName,t.line||t.lineNumber,t.message||t.description),l}function r(n,r){var i=null;r=null==r?0:+r;try{if(i=function(t){var n=t.stacktrace;if(n){for(var e,r=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,i=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^\)]+))\((.*)\))? in (.*):\s*$/i,s=n.split("\n"),o=[],c=0;c<s.length;c+=2){var u=null;(e=r.exec(s[c]))?u={url:e[2],line:+e[1],column:null,func:e[3],args:[]}:(e=i.exec(s[c]))&&(u={url:e[6],line:+e[1],column:+e[2],func:e[3]||e[4],args:e[5]?e[5].split(","):[]}),u&&(!u.func&&u.line&&(u.func=gt),u.line&&(u.context=null),u.context||(u.context=[s[c+1]]),o.push(u))}return o.length?{mode:"stacktrace",name:t.name,message:t.message,stack:o}:null}}(n))return i}catch(t){}try{if(i=t(n))return i}catch(t){}try{if(i=function(t){var n=t.message.split("\n");if(n.length<4)return null;var e,r=/^\s*Line (\d+) of linked script ((?:file|https?|blob)\S+)(?:: in function (\S+))?\s*$/i,i=/^\s*Line (\d+) of inline#(\d+) script in ((?:file|https?|blob)\S+)(?:: in function (\S+))?\s*$/i,s=/^\s*Line (\d+) of function script\s*$/i,o=[],c=yt&&yt.document&&yt.document.getElementsByTagName("script"),u=[];for(var a in c)Et(c,a)&&!c[a].src&&u.push(c[a]);for(var h=2;h<n.length;h+=2){var l=null;(e=r.exec(n[h]))?l={url:e[2],func:e[3],args:[],line:+e[1],column:null}:(e=i.exec(n[h]))?l={url:e[3],func:e[4],args:[],line:+e[1],column:null}:(e=s.exec(n[h]))&&(l={url:_t().replace(/#.*$/,""),func:"",args:[],line:e[1],column:null}),l&&(l.func||(l.func=gt),l.context=[n[h+1]],o.push(l))}return o.length?{mode:"multiline",name:t.name,message:n[0],stack:o}:null}(n))return i}catch(t){}try{if(i=e(n,r+1))return i}catch(t){}return{original:n,name:n.name,message:n.message,mode:"failed"}}return r.It=n,r.Ut=t,r}(),bt.Tt=!0,bt.Ft=11;const $t=bt.kt.Ct,jt=bt.kt.Dt,Ot=bt.kt.Mt,xt=bt.Rt,St=50;function kt(t){const n=Rt(t.stack),e={type:t.name,value:t.message};return n&&n.length&&(e.stacktrace={frames:n}),void 0===e.type&&""===e.value&&(e.value="Unrecoverable error caught"),e}function Tt(t){return{exception:{values:[kt(t)]}}}function Rt(t){if(!t||!t.length)return[];let n=t;const e=n[0].func||"",r=n[n.length-1].func||"";return(e.includes("captureMessage")||e.includes("captureException"))&&(n=n.slice(1)),r.includes("sentryWrapped")&&(n=n.slice(0,-1)),n.map(t=>({colno:t.column,filename:t.url||n[0].url,function:t.func||"?",in_app:!0,lineno:t.line})).slice(0,St).reverse()}class Ft{constructor(t){this.options=t,this.h=new R(30),this.url=new ot(this.options.dsn).getStoreEndpointWithUrlEncodedAuth()}sendEvent(t){return i(this,void 0,void 0,function*(){throw new s("Transport Class has to implement `sendEvent` method")})}close(t){return i(this,void 0,void 0,function*(){return this.h.drain(t)})}}const It=p();class Ct extends Ft{sendEvent(n){return i(this,void 0,void 0,function*(){const e={body:JSON.stringify(n),method:"POST",referrerPolicy:U()?"origin":""};return this.h.add(It.fetch(this.url,e).then(n=>({status:t.Status.fromHttpCode(n.status)})))})}}class Dt extends Ft{sendEvent(n){return i(this,void 0,void 0,function*(){return this.h.add(new Promise((e,r)=>{const i=new XMLHttpRequest;i.onreadystatechange=(()=>{4===i.readyState&&(200===i.status&&e({status:t.Status.fromHttpCode(i.status)}),r(i))}),i.open("POST",this.url),i.send(JSON.stringify(n))}))})}}var Mt=Object.freeze({BaseTransport:Ft,FetchTransport:Ct,XHRTransport:Dt});class Ut extends lt{gt(){if(!this.ot.dsn)return super.gt();const t=this.ot.transportOptions?this.ot.transportOptions:{dsn:this.ot.dsn};return this.ot.transport?new this.ot.transport(t):M()?new Ct(t):new Dt(t)}eventFromException(n,e){let r;if(c(n)&&n.error){return n=n.error,r=Tt(xt(n)),A.resolve(this.Lt(r,e))}if(u(n)||(i=n,"[object DOMException]"===Object.prototype.toString.call(i))){const r=n,i=r.name||(u(r)?"DOMError":"DOMException"),s=r.message?`${i}: ${r.message}`:i;return this.eventFromMessage(s,t.Severity.Error,e).then(t=>(g(t,s),A.resolve(this.Lt(t,e))))}var i;if(o(n))return r=Tt(xt(n)),A.resolve(this.Lt(r,e));if(l(n)&&e&&e.syntheticException){return g(r=function(t,n){const e=Object.keys(t).sort(),r={extra:{__serialized__:x(t)},message:`Non-Error exception captured with keys: ${C(e)}`};if(n){const t=Rt(xt(n).stack);r.stacktrace={frames:t}}return r}(n,e.syntheticException),"Custom Object",void 0,{handled:!0,synthetic:!0,type:"generic"}),r.level=t.Severity.Error,A.resolve(this.Lt(r,e))}const s=n;return this.eventFromMessage(s,void 0,e).then(n=>(g(n,`${s}`,void 0,{handled:!0,synthetic:!0,type:"generic"}),n.level=t.Severity.Error,A.resolve(this.Lt(n,e))))}Lt(t,n){return Object.assign({},t,{event_id:n&&n.event_id})}eventFromMessage(n,e=t.Severity.Info,r){const i={event_id:r&&r.event_id,level:e,message:n};if(this.ot.attachStacktrace&&r&&r.syntheticException){const t=Rt(xt(r.syntheticException).stack);i.stacktrace={frames:t}}return A.resolve(i)}}const Lt="sentry.javascript.browser",At="5.2.0-beta.0";class Pt extends at{constructor(t={}){super(Ut,t)}pt(t,n,e){return t.platform=t.platform||"javascript",t.sdk=Object.assign({},t.sdk,{name:Lt,packages:[...t.sdk&&t.sdk.packages||[],{name:"npm:@sentry/browser",version:At}],version:At}),super.pt(t,n,e)}showReportDialog(t={}){const n=p().document;if(!n)return;if(!this.dt())return void _.error("Trying to call showReportDialog with Sentry Client is disabled");const e=t.dsn||this.getDsn();if(!t.eventId)return void _.error("Missing `eventId` option in showReportDialog call");if(!e)return void _.error("Missing `Dsn` option in showReportDialog call");const r=n.createElement("script");r.async=!0,r.src=new ot(e).getReportDialogEndpoint(t),(n.head||n.body).appendChild(r)}}const Nt=1e3;let Bt,Ht,qt=0;function Wt(t,n={},e){if("function"!=typeof t)return t;try{if(t.__sentry__)return t;if(t.__sentry_wrapped__)return t.__sentry_wrapped__}catch(n){return t}const sentryWrapped=function(){e&&"function"==typeof e&&e.apply(this,arguments);const r=Array.prototype.slice.call(arguments);try{const e=r.map(t=>Wt(t,n));return t.handleEvent?t.handleEvent.apply(this,e):t.apply(this,e)}catch(t){throw qt+=1,setTimeout(()=>{qt-=1}),nt(e=>{e.addEventProcessor(t=>{const e=Object.assign({},t);return n.mechanism&&g(e,void 0,void 0,n.mechanism),e.extra=Object.assign({},e.extra,{arguments:T(r,3)}),e}),captureException(t)}),t}};try{for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(sentryWrapped[n]=t[n])}catch(t){}t.prototype=t.prototype||{},sentryWrapped.prototype=t.prototype,Object.defineProperty(t,"__sentry_wrapped__",{enumerable:!1,value:sentryWrapped}),Object.defineProperties(sentryWrapped,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:t}});try{Object.defineProperty(sentryWrapped,"name",{get:()=>t.name})}catch(t){}return sentryWrapped}let Xt=0;function zt(t,n=!1){return e=>{if(Bt=void 0,!e||Ht===e)return;Ht=e;const r=()=>{let n;try{n=e.target?Gt(e.target):Gt(e)}catch(t){n="<unknown>"}0!==n.length&&K().addBreadcrumb({category:`ui.${t}`,message:n},{event:e,name:t})};Xt&&clearTimeout(Xt),n?Xt=setTimeout(r):r()}}function Jt(){return t=>{let n;try{n=t.target}catch(t){return}const e=n&&n.tagName;e&&("INPUT"===e||"TEXTAREA"===e||n.isContentEditable)&&(Bt||zt("input")(t),clearTimeout(Bt),Bt=setTimeout(()=>{Bt=void 0},Nt))}}function Gt(t){let n=t;const e=[];let r=0,i=0;const s=" > ".length;let o;for(;n&&r++<5&&!("html"===(o=Vt(n))||r>1&&i+e.length*s+o.length>=80);)e.push(o),i+=o.length,n=n.parentNode;return e.reverse().join(" > ")}function Vt(t){const n=[];let e,r,i,s,o;if(!t||!t.tagName)return"";if(n.push(t.tagName.toLowerCase()),t.id&&n.push(`#${t.id}`),(e=t.className)&&a(e))for(r=e.split(/\s+/),o=0;o<r.length;o++)n.push(`.${r[o]}`);const c=["type","name","title","alt"];for(o=0;o<c.length;o++)i=c[o],(s=t.getAttribute(i))&&n.push(`[${i}="${s}"]`);return n.join("")}class Kt{constructor(t){this.name=Kt.id,this.ot=Object.assign({onerror:!0,onunhandledrejection:!0},t)}setupOnce(){Error.stackTraceLimit=50,$t((t,n,e)=>{if(qt>0)return;const r=K().getIntegration(Kt);r&&K().captureEvent(r.At(t),{data:{stack:t},originalException:e})}),this.ot.onerror&&(_.log("Global Handler attached: onerror"),jt()),this.ot.onunhandledrejection&&(_.log("Global Handler attached: onunhandledrejection"),Ot())}At(t){const n=Tt(t),e={mode:t.mode};t.message&&(e.message=t.message),t.name&&(e.name=t.name);const r=K().getClient(),i=r&&r.getOptions().maxValueLength||250;return g(n,t.original?F(JSON.stringify(T(t.original)),i):"","onunhandledrejection"===t.mechanism?"UnhandledRejection":"Error",{data:e,handled:!1,type:t.mechanism}),n}}Kt.id="GlobalHandlers";class Zt{constructor(){this.Pt=0,this.name=Zt.id}Nt(t){return function(...n){const e=n[0];return n[0]=Wt(e,{mechanism:{data:{function:Qt(t)},handled:!0,type:"instrument"}}),t.apply(this,n)}}Bt(t){return function(n){return t(Wt(n,{mechanism:{data:{function:"requestAnimationFrame",handler:Qt(t)},handled:!0,type:"instrument"}}))}}Ht(t){const n=p(),e=n[t]&&n[t].prototype;e&&e.hasOwnProperty&&e.hasOwnProperty("addEventListener")&&(j(e,"addEventListener",function(n){return function(e,r,i){try{r.handleEvent=Wt(r.handleEvent.bind(r),{mechanism:{data:{function:"handleEvent",handler:Qt(r),target:t},handled:!0,type:"instrument"}})}catch(t){}return n.call(this,e,Wt(r,{mechanism:{data:{function:"addEventListener",handler:Qt(r),target:t},handled:!0,type:"instrument"}}),i)}}),j(e,"removeEventListener",function(t){return function(n,e,r){let i=e;try{i=i&&(i.__sentry_wrapped__||i)}catch(t){}return t.call(this,n,i,r)}}))}setupOnce(){this.Pt=this.Pt;const t=p();j(t,"setTimeout",this.Nt.bind(this)),j(t,"setInterval",this.Nt.bind(this)),j(t,"requestAnimationFrame",this.Bt.bind(this)),["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"].forEach(this.Ht.bind(this))}}function Qt(t){try{return t&&t.name||"<anonymous>"}catch(t){return"<anonymous>"}}Zt.id="TryCatch";const Yt=p();let tn;class nn{constructor(t){this.name=nn.id,this.ot=Object.assign({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},t)}qt(){"console"in Yt&&["debug","info","warn","error","log","assert"].forEach(function(n){n in Yt.console&&j(Yt.console,n,function(e){return function(...r){const i={category:"console",data:{extra:{arguments:T(r,3)},logger:"console"},level:t.Severity.fromString(n),message:I(r," ")};"assert"===n&&!1===r[0]&&(i.message=`Assertion failed: ${I(r.slice(1)," ")||"console.assert"}`,i.data.extra.arguments=T(r.slice(1),3)),nn.addBreadcrumb(i,{input:r,level:n}),e&&Function.prototype.apply.call(e,Yt.console,r)}})})}Wt(){"document"in Yt&&(Yt.document.addEventListener("click",zt("click"),!1),Yt.document.addEventListener("keypress",Jt(),!1),["EventTarget","Node"].forEach(t=>{const n=Yt[t]&&Yt[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(j(n,"addEventListener",function(t){return function(n,e,r){return e&&e.handleEvent?("click"===n&&j(e,"handleEvent",function(t){return function(n){return zt("click")(n),t.call(this,n)}}),"keypress"===n&&j(e,"handleEvent",Jt())):("click"===n&&zt("click",!0)(this),"keypress"===n&&Jt()(this)),t.call(this,n,e,r)}}),j(n,"removeEventListener",function(t){return function(n,e,r){let i=e;try{i=i&&(i.__sentry_wrapped__||i)}catch(t){}return t.call(this,n,i,r)}}))}))}Xt(){M()&&-1!==p().fetch.toString().indexOf("native")&&j(Yt,"fetch",function(n){return function(...e){const r=e[0];let i,s="GET";"string"==typeof r?i=r:"Request"in Yt&&r instanceof Request?(i=r.url,r.method&&(s=r.method)):i=String(r),e[1]&&e[1].method&&(s=e[1].method);const o=K().getClient(),c=o&&o.getDsn();if(c){const t=new ot(c).getStoreEndpoint();if(t&&i.includes(t))return"POST"===s&&e[1]&&e[1].body&&en(e[1].body),n.apply(Yt,e)}const u={method:s,url:i};return n.apply(Yt,e).then(t=>(u.status_code=t.status,nn.addBreadcrumb({category:"fetch",data:u,type:"http"},{input:e,response:t}),t)).catch(n=>{throw nn.addBreadcrumb({category:"fetch",data:u,level:t.Severity.Error,type:"http"},{error:n,input:e}),n})}})}zt(){if(!function(){const t=p(),n=t.chrome,e=n&&n.app&&n.app.runtime,r="history"in t&&!!t.history.pushState&&!!t.history.replaceState;return!e&&r}())return;const t=(t,n)=>{const e=m(Yt.location.href),r=m(n);let i=m(t);i.path||(i=e),tn=n,e.protocol===r.protocol&&e.host===r.host&&(n=r.relative),e.protocol===i.protocol&&e.host===i.host&&(t=i.relative),nn.addBreadcrumb({category:"navigation",data:{from:t,to:n}})},n=Yt.onpopstate;function e(n){return function(...e){const r=e.length>2?e[2]:void 0;return r&&t(tn,String(r)),n.apply(this,e)}}Yt.onpopstate=((...e)=>{const r=Yt.location.href;if(t(tn,r),n)return n.apply(this,e)}),j(Yt.history,"pushState",e),j(Yt.history,"replaceState",e)}Jt(){if(!("XMLHttpRequest"in Yt))return;const t=XMLHttpRequest.prototype;j(t,"open",t=>(function(...n){const e=n[1];this.__sentry_xhr__={method:n[0],url:n[1]};const r=K().getClient(),i=r&&r.getDsn();if(i){const t=new ot(i).getStoreEndpoint();a(e)&&t&&e.includes(t)&&(this.__sentry_own_request__=!0)}return t.apply(this,n)})),j(t,"send",t=>(function(...n){const e=this;function r(){if(4===e.readyState){if(e.__sentry_own_request__)return;try{e.__sentry_xhr__&&(e.__sentry_xhr__.status_code=e.status)}catch(t){}nn.addBreadcrumb({category:"xhr",data:e.__sentry_xhr__,type:"http"},{xhr:e})}}return e.__sentry_own_request__&&en(n[0]),["onload","onerror","onprogress"].forEach(t=>{!function(t,n){t in n&&"function"==typeof n[t]&&j(n,t,n=>Wt(n,{mechanism:{data:{function:t,handler:n&&n.name||"<anonymous>"},handled:!0,type:"instrument"}}))}(t,e)}),"onreadystatechange"in e&&"function"==typeof e.onreadystatechange?j(e,"onreadystatechange",function(t){return Wt(t,{mechanism:{data:{function:"onreadystatechange",handler:t&&t.name||"<anonymous>"},handled:!0,type:"instrument"}},r)}):e.onreadystatechange=r,t.apply(this,n)}))}static addBreadcrumb(t,n){K().getIntegration(nn)&&K().addBreadcrumb(t,n)}setupOnce(){this.ot.console&&this.qt(),this.ot.dom&&this.Wt(),this.ot.xhr&&this.Jt(),this.ot.fetch&&this.Xt(),this.ot.history&&this.zt()}}function en(n){try{const e=JSON.parse(n);nn.addBreadcrumb({category:"sentry",event_id:e.event_id,level:e.level||t.Severity.fromString("error"),message:y(e)},{event:e})}catch(t){_.error("Error while adding sentry type breadcrumb")}}nn.id="Breadcrumbs";const rn="cause",sn=5;class on{constructor(t={}){this.name=on.id,this.Gt=t.key||rn,this.u=t.limit||sn}setupOnce(){q((t,n)=>{const e=K().getIntegration(on);return e?e.Vt(t,n):t})}Vt(t,n){if(!(t.exception&&t.exception.values&&n&&n.originalException instanceof Error))return t;const e=this.Kt(n.originalException,this.Gt);return t.exception.values=[...e,...t.exception.values],t}Kt(t,n,e=[]){if(!(t[n]instanceof Error)||e.length+1>=this.u)return e;const r=kt(xt(t[n]));return this.Kt(t[n],n,[r,...e])}}on.id="LinkedErrors";const cn=p();class un{constructor(){this.name=un.id}setupOnce(){q(t=>{if(K().getIntegration(un)){if(!cn.navigator||!cn.location)return t;const n=t.request||{};return n.url=n.url||cn.location.href,n.headers=n.headers||{},n.headers["User-Agent"]=cn.navigator.userAgent,Object.assign({},t,{request:n})}return t})}}un.id="UserAgent";var an=Object.freeze({GlobalHandlers:Kt,TryCatch:Zt,Breadcrumbs:nn,LinkedErrors:on,UserAgent:un});const hn=[new vt,new dt,new Zt,new nn,new Kt,new on,new un];let ln={};const fn=p();fn.Sentry&&fn.Sentry.Integrations&&(ln=fn.Sentry.Integrations);const dn=Object.assign({},ln,mt,an);return t.BrowserClient=Pt,t.Hub=J,t.Integrations=dn,t.SDK_NAME=Lt,t.SDK_VERSION=At,t.Scope=B,t.Transports=Mt,t.addBreadcrumb=function(t){tt("addBreadcrumb",t)},t.addGlobalEventProcessor=q,t.captureEvent=function(t){return tt("captureEvent",t)},t.captureException=captureException,t.captureMessage=function(t,n){let e;try{throw new Error(t)}catch(t){e=t}return tt("captureMessage",t,n,{originalException:t,syntheticException:e})},t.close=function(t){return i(this,void 0,void 0,function*(){const n=K().getClient();return n?n.close(t):Promise.reject(!1)})},t.configureScope=function(t){tt("configureScope",t)},t.defaultIntegrations=hn,t.flush=function(t){return i(this,void 0,void 0,function*(){const n=K().getClient();return n?n.flush(t):Promise.reject(!1)})},t.forceLoad=function(){},t.getCurrentHub=K,t.getHubFromCarrier=Q,t.init=function(t={}){void 0===t.defaultIntegrations&&(t.defaultIntegrations=hn),function(t,n){!0===n.debug&&_.enable(),K().bindClient(new t(n))}(Pt,t)},t.lastEventId=function(){return K().lastEventId()},t.onLoad=function(t){t()},t.showReportDialog=function(t={}){t.eventId||(t.eventId=K().lastEventId());const n=K().getClient();n&&n.showReportDialog(t)},t.withScope=nt,t}({});
//# sourceMappingURL=bundle.es6.min.js.map

@@ -1,3 +0,3 @@

/*! @sentry/browser 5.1.2 (21890282) | https://github.com/getsentry/sentry-javascript */
var Sentry=function(n){"use strict";var t=function(n,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r])})(n,r)};function r(n,r){function e(){this.constructor=n}t(n,r),n.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}var e,i,o,u=function(){return(u=Object.assign||function(n){for(var t,r=1,e=arguments.length;r<e;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i]);return n}).apply(this,arguments)};function c(n,t,r,e){return new(r||(r=Promise))(function(i,o){function u(n){try{s(e.next(n))}catch(n){o(n)}}function c(n){try{s(e.throw(n))}catch(n){o(n)}}function s(n){n.done?i(n.value):new r(function(t){t(n.value)}).then(u,c)}s((e=e.apply(n,t||[])).next())})}function s(n,t){var r,e,i,o,u={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(o){return function(c){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,e&&(i=2&o[0]?e.return:o[0]?e.throw||((i=e.return)&&i.call(e),0):e.next)&&!(i=i.call(e,o[1])).done)return i;switch(e=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return u.label++,{value:o[1],done:!1};case 5:u.label++,e=o[1],o=[0];continue;case 7:o=u.ops.pop(),u.trys.pop();continue;default:if(!(i=(i=u.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){u=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){u.label=o[1];break}if(6===o[0]&&u.label<i[1]){u.label=i[1],i=o;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(o);break}i[2]&&u.ops.pop(),u.trys.pop();continue}o=t.call(n,u)}catch(n){o=[6,n],e=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,c])}}}function a(n,t){var r="function"==typeof Symbol&&n[Symbol.iterator];if(!r)return n;var e,i,o=r.call(n),u=[];try{for(;(void 0===t||t-- >0)&&!(e=o.next()).done;)u.push(e.value)}catch(n){i={error:n}}finally{try{e&&!e.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return u}function f(){for(var n=[],t=0;t<arguments.length;t++)n=n.concat(a(arguments[t]));return n}!function(n){n[n.None=0]="None",n[n.Error=1]="Error",n[n.Debug=2]="Debug",n[n.Verbose=3]="Verbose"}(e||(e={})),(i=n.Severity||(n.Severity={})).Fatal="fatal",i.Error="error",i.Warning="warning",i.Log="log",i.Info="info",i.Debug="debug",i.Critical="critical",function(n){n.fromString=function(t){switch(t){case"debug":return n.Debug;case"info":return n.Info;case"warn":case"warning":return n.Warning;case"error":return n.Error;case"fatal":return n.Fatal;case"critical":return n.Critical;case"log":default:return n.Log}}}(n.Severity||(n.Severity={})),(o=n.Status||(n.Status={})).Unknown="unknown",o.Skipped="skipped",o.Success="success",o.RateLimit="rate_limit",o.Invalid="invalid",o.Failed="failed",function(n){n.fromHttpCode=function(t){return t>=200&&t<300?n.Success:429===t?n.RateLimit:t>=400&&t<500?n.Invalid:t>=500?n.Failed:n.Unknown}}(n.Status||(n.Status={}));var h=function(n){function t(t){var r=this.constructor,e=n.call(this,t)||this;return e.message=t,e.name=r.prototype.constructor.name,Object.setPrototypeOf(e,r.prototype),e}return r(t,n),t}(Error);function v(n){switch(Object.prototype.toString.call(n)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return n instanceof Error}}function l(n){return"[object ErrorEvent]"===Object.prototype.toString.call(n)}function d(n){return"[object DOMError]"===Object.prototype.toString.call(n)}function p(n){return"[object String]"===Object.prototype.toString.call(n)}function m(n){return null===n||"object"!=typeof n&&"function"!=typeof n}function y(n){return"[object Object]"===Object.prototype.toString.call(n)}function b(n){return Boolean(n&&n.then&&"function"==typeof n.then)}var w={};function g(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:w}function E(){var n=g(),t=n.crypto||n.msCrypto;if(void 0!==t&&t.getRandomValues){var r=new Uint16Array(8);t.getRandomValues(r),r[3]=4095&r[3]|16384,r[4]=16383&r[4]|32768;var e=function(n){for(var t=n.toString(16);t.length<4;)t="0"+t;return t};return e(r[0])+e(r[1])+e(r[2])+e(r[3])+e(r[4])+e(r[5])+e(r[6])+e(r[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(n){var t=16*Math.random()|0;return("x"===n?t:3&t|8).toString(16)})}function j(n){if(!n)return{};var t=n.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};var r=t[6]||"",e=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],relative:t[5]+r+e}}function x(n){if(n.message)return n.message;if(n.exception&&n.exception.values&&n.exception.values[0]){var t=n.exception.values[0];return t.type&&t.value?t.type+": "+t.value:t.type||t.value||n.event_id||"<unknown>"}return n.event_id||"<unknown>"}function S(n){var t=g();if(!("console"in t))return n();var r=t.console,e={};["debug","info","warn","error","log","assert"].forEach(function(n){n in t.console&&r[n].__sentry__&&(e[n]=r[n].__sentry_wrapped__,r[n]=r[n].__sentry_original__)});var i=n();return Object.keys(e).forEach(function(n){r[n]=e[n]}),i}function _(n,t,r,e){void 0===e&&(e={handled:!0,type:"generic"}),n.exception=n.exception||{},n.exception.values=n.exception.values||[],n.exception.values[0]=n.exception.values[0]||{},n.exception.values[0].value=n.exception.values[0].value||t||"",n.exception.values[0].type=n.exception.values[0].type||r||"Error",n.exception.values[0].mechanism=n.exception.values[0].mechanism||e}var O=g(),k="Sentry Logger ",T=function(){function n(){this.t=!1}return n.prototype.disable=function(){this.t=!1},n.prototype.enable=function(){this.t=!0},n.prototype.log=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.t&&S(function(){O.console.log(k+"[Log]: "+n.join(" "))})},n.prototype.warn=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.t&&S(function(){O.console.warn(k+"[Warn]: "+n.join(" "))})},n.prototype.error=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.t&&S(function(){O.console.error(k+"[Error]: "+n.join(" "))})},n}();O.__SENTRY__=O.__SENTRY__||{};var R=O.__SENTRY__.logger||(O.__SENTRY__.logger=new T),D=function(){function n(){this.i="function"==typeof WeakSet,this.o=this.i?new WeakSet:[]}return n.prototype.memoize=function(n){if(this.i)return!!this.o.has(n)||(this.o.add(n),!1);for(var t=0;t<this.o.length;t++){if(this.o[t]===n)return!0}return this.o.push(n),!1},n.prototype.unmemoize=function(n){if(this.i)this.o.delete(n);else for(var t=0;t<this.o.length;t++)if(this.o[t]===n){this.o.splice(t,1);break}},n}();function I(n,t,r){if(t in n){var e=n[t],i=r(e);if("function"==typeof i)try{i.prototype=i.prototype||{},Object.defineProperties(i,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:e},__sentry_wrapped__:{enumerable:!1,value:i}})}catch(n){}n[t]=i}}function A(n){return function(n){return~-encodeURI(n).split(/%..|./).length}(JSON.stringify(n))}function C(n,t,r){void 0===t&&(t=3),void 0===r&&(r=102400);var e=N(n,t);return A(e)>r?C(n,t-1,r):e}function L(n,t){return"domain"===t&&"object"==typeof n&&n.u?"[Domain]":"domainEmitter"===t?"[DomainEmitter]":"undefined"!=typeof global&&n===global?"[Global]":"undefined"!=typeof window&&n===window?"[Window]":"undefined"!=typeof document&&n===document?"[Document]":"undefined"!=typeof Event&&n instanceof Event?Object.getPrototypeOf(n)?n.constructor.name:"Event":y(r=n)&&"nativeEvent"in r&&"preventDefault"in r&&"stopPropagation"in r?"[SyntheticEvent]":Number.isNaN(n)?"[NaN]":void 0===n?"[undefined]":"function"==typeof n?"[Function: "+(n.name||"<unknown-function-name>")+"]":n;var r}function M(n,t,r,e){if(void 0===r&&(r=1/0),void 0===e&&(e=new D),0===r)return function(n){var t=Object.prototype.toString.call(n);if("string"==typeof n)return n;if("[object Object]"===t)return"[Object]";if("[object Array]"===t)return"[Array]";var r=L(n);return m(r)?r:t}(t);if(null!=t&&"function"==typeof t.toJSON)return t.toJSON();var i=L(t,n);if(m(i))return i;var o=v(t)?function(n){var t={message:n.message,name:n.name,stack:n.stack};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t}(t):t,u=Array.isArray(t)?[]:{};if(e.memoize(t))return"[Circular ~]";for(var c in o)Object.prototype.hasOwnProperty.call(o,c)&&(u[c]=M(c,o[c],r-1,e));return e.unmemoize(t),u}function N(n,t){try{return JSON.parse(JSON.stringify(n,function(n,r){return M(n,r,t)}))}catch(n){return"**non-serializable**"}}var F,U=function(){function n(n){this.s=n,this.h=[]}return n.prototype.isReady=function(){return void 0===this.s||this.length()<this.s},n.prototype.add=function(n){return c(this,void 0,void 0,function(){var t=this;return s(this,function(r){return this.isReady()?(-1===this.h.indexOf(n)&&this.h.push(n),n.then(function(){return c(t,void 0,void 0,function(){return s(this,function(t){return[2,this.remove(n)]})})}).catch(function(){return c(t,void 0,void 0,function(){return s(this,function(t){return[2,this.remove(n).catch(function(){})]})})}),[2,n]):[2,Promise.reject(new h("Not adding Promise due to buffer limit reached."))]})})},n.prototype.remove=function(n){return c(this,void 0,void 0,function(){return s(this,function(t){return[2,this.h.splice(this.h.indexOf(n),1)[0]]})})},n.prototype.length=function(){return this.h.length},n.prototype.drain=function(n){return c(this,void 0,void 0,function(){var t=this;return s(this,function(r){return[2,new Promise(function(r){var e=setTimeout(function(){n&&n>0&&r(!1)},n);Promise.all(t.h).then(function(){clearTimeout(e),r(!0)}).catch(function(){r(!0)})})]})})},n}();function P(n,t){return void 0===t&&(t=0),0===t?n:n.length<=t?n:n.substr(0,t)+"..."}function $(n,t){if(!Array.isArray(n))return"";for(var r=[],e=0;e<n.length;e++){var i=n[e];try{r.push(String(i))}catch(n){r.push("[value cannot be serialized]")}}return r.join(t)}function q(n,t){if(void 0===t&&(t=40),!n.length)return"[object has no keys]";if(n[0].length>=t)return P(n[0],t);for(var r=n.length;r>0;r--){var e=n.slice(0,r).join(", ");if(!(e.length>t))return r===n.length?e:P(e,t)}return""}function H(){if(!("fetch"in g()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(n){return!1}}function W(){if(!H())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(n){return!1}}!function(n){n.PENDING="PENDING",n.RESOLVED="RESOLVED",n.REJECTED="REJECTED"}(F||(F={}));var B=function(){function n(n){var t=this;this.v=F.PENDING,this.l=[],this.p=function(n){t.m(n,F.RESOLVED)},this.g=function(n){t.m(n,F.REJECTED)},this.m=function(n,r){t.v===F.PENDING&&(b(n)?n.then(t.p,t.g):(t.j=n,t.v=r,t.S()))},this.S=function(){t.v!==F.PENDING&&(t.v===F.REJECTED?t.l.forEach(function(n){return n.onFail&&n.onFail(t.j)}):t.l.forEach(function(n){return n.onSuccess&&n.onSuccess(t.j)}),t.l=[])},this._=function(n){t.l=t.l.concat(n),t.S()};try{n(this.p,this.g)}catch(n){this.g(n)}}return n.prototype.then=function(t,r){var e=this;return new n(function(n,i){e._({onFail:function(t){if(r)try{return void n(r(t))}catch(n){return void i(n)}else i(t)},onSuccess:function(r){if(t)try{return void n(t(r))}catch(n){return void i(n)}else n(r)}})})},n.prototype.catch=function(n){return this.then(function(n){return n},n)},n.prototype.toString=function(){return"[object SyncPromise]"},n.resolve=function(t){return new n(function(n){n(t)})},n.reject=function(t){return new n(function(n,r){r(t)})},n}(),G=function(){function n(){this.O=!1,this.k=[],this.T=[],this.R=[],this.D={},this.I={},this.A={},this.C={}}return n.prototype.addScopeListener=function(n){this.k.push(n)},n.prototype.addEventProcessor=function(n){return this.T.push(n),this},n.prototype.L=function(){var n=this;this.O||(this.O=!0,setTimeout(function(){n.k.forEach(function(t){t(n)}),n.O=!1}))},n.prototype.M=function(n,t,r,e){var i=this;return void 0===e&&(e=0),new B(function(o,c){var s=n[e];if(null===t||"function"!=typeof s)o(t);else{var a=s(u({},t),r);b(a)?a.then(function(t){return i.M(n,t,r,e+1).then(o)}).catch(c):i.M(n,a,r,e+1).then(o).catch(c)}})},n.prototype.setUser=function(n){return this.D=N(n),this.L(),this},n.prototype.setTags=function(n){return this.I=u({},this.I,N(n)),this.L(),this},n.prototype.setTag=function(n,t){var r;return this.I=u({},this.I,((r={})[n]=N(t),r)),this.L(),this},n.prototype.setExtras=function(n){return this.A=u({},this.A,N(n)),this.L(),this},n.prototype.setExtra=function(n,t){var r;return this.A=u({},this.A,((r={})[n]=N(t),r)),this.L(),this},n.prototype.setFingerprint=function(n){return this.N=N(n),this.L(),this},n.prototype.setLevel=function(n){return this.F=N(n),this.L(),this},n.prototype.setContext=function(n,t){return this.C[n]=t?N(t):void 0,this.L(),this},n.clone=function(t){var r=new n;return Object.assign(r,t,{k:[]}),t&&(r.R=f(t.R),r.I=u({},t.I),r.A=u({},t.A),r.C=u({},t.C),r.D=t.D,r.F=t.F,r.N=t.N,r.T=f(t.T)),r},n.prototype.clear=function(){return this.R=[],this.I={},this.A={},this.D={},this.C={},this.F=void 0,this.N=void 0,this.L(),this},n.prototype.addBreadcrumb=function(n,t){var r=(new Date).getTime()/1e3,e=u({timestamp:r},n);return this.R=void 0!==t&&t>=0?f(this.R,[N(e)]).slice(-t):f(this.R,[N(e)]),this.L(),this},n.prototype.clearBreadcrumbs=function(){return this.R=[],this.L(),this},n.prototype.U=function(n){n.fingerprint=n.fingerprint?Array.isArray(n.fingerprint)?n.fingerprint:[n.fingerprint]:[],this.N&&(n.fingerprint=n.fingerprint.concat(this.N)),n.fingerprint&&!n.fingerprint.length&&delete n.fingerprint},n.prototype.applyToEvent=function(n,t){return this.A&&Object.keys(this.A).length&&(n.extra=u({},this.A,n.extra)),this.I&&Object.keys(this.I).length&&(n.tags=u({},this.I,n.tags)),this.D&&Object.keys(this.D).length&&(n.user=u({},this.D,n.user)),this.C&&Object.keys(this.C).length&&(n.contexts=u({},this.C,n.contexts)),this.F&&(n.level=this.F),this.U(n),n.breadcrumbs=f(n.breadcrumbs||[],this.R),n.breadcrumbs=n.breadcrumbs.length>0?n.breadcrumbs:void 0,this.M(f(J(),this.T),n,t)},n}();function J(){var n=g();return n.__SENTRY__=n.__SENTRY__||{},n.__SENTRY__.globalEventProcessors=n.__SENTRY__.globalEventProcessors||[],n.__SENTRY__.globalEventProcessors}function X(n){J().push(n)}var z=3,V=function(){function n(n,t,r){void 0===t&&(t=new G),void 0===r&&(r=z),this.P=r,this.$=[],this.$.push({client:n,scope:t})}return n.prototype.q=function(n){for(var t,r=[],e=1;e<arguments.length;e++)r[e-1]=arguments[e];var i=this.getStackTop();i&&i.client&&i.client[n]&&(t=i.client)[n].apply(t,f(r,[i.scope]))},n.prototype.isOlderThan=function(n){return this.P<n},n.prototype.bindClient=function(n){this.getStackTop().client=n},n.prototype.pushScope=function(){var n=this.getStack(),t=n.length>0?n[n.length-1].scope:void 0,r=G.clone(t);return this.getStack().push({client:this.getClient(),scope:r}),r},n.prototype.popScope=function(){return void 0!==this.getStack().pop()},n.prototype.withScope=function(n){var t=this.pushScope();try{n(t)}finally{this.popScope()}},n.prototype.getClient=function(){return this.getStackTop().client},n.prototype.getScope=function(){return this.getStackTop().scope},n.prototype.getStack=function(){return this.$},n.prototype.getStackTop=function(){return this.$[this.$.length-1]},n.prototype.captureException=function(n,t){var r=this.H=E();return this.q("captureException",n,u({},t,{event_id:r})),r},n.prototype.captureMessage=function(n,t,r){var e=this.H=E();return this.q("captureMessage",n,t,u({},r,{event_id:e})),e},n.prototype.captureEvent=function(n,t){var r=this.H=E();return this.q("captureEvent",n,u({},t,{event_id:r})),r},n.prototype.lastEventId=function(){return this.H},n.prototype.addBreadcrumb=function(n,t){var r=this.getStackTop();if(r.scope&&r.client){var e=r.client.getOptions&&r.client.getOptions()||{},i=e.beforeBreadcrumb,o=void 0===i?null:i,c=e.maxBreadcrumbs,s=void 0===c?30:c;if(!(s<=0)){var a=(new Date).getTime()/1e3,f=u({timestamp:a},n),h=o?S(function(){return o(f,t)}):f;null!==h&&r.scope.addBreadcrumb(h,Math.min(s,100))}}},n.prototype.configureScope=function(n){var t=this.getStackTop();t.scope&&t.client&&n(t.scope)},n.prototype.run=function(n){var t=Z(this);try{n(this)}finally{Z(t)}},n.prototype.getIntegration=function(n){var t=this.getClient();if(!t)return null;try{return t.getIntegration(n)}catch(t){return R.warn("Cannot retrieve integration "+n.id+" from the current Hub"),null}},n}();function K(){var n=g();return n.__SENTRY__=n.__SENTRY__||{hub:void 0},n}function Z(n){var t=K(),r=nn(t);return tn(t,n),r}function Q(){var n,t,r=K();Y(r)&&!nn(r).isOlderThan(z)||tn(r,new V);try{var e=(n=module,t="domain",n.require(t)).active;if(!e)return nn(r);if(!Y(e)||nn(e).isOlderThan(z)){var i=nn(r).getStackTop();tn(e,new V(i.client,G.clone(i.scope)))}return nn(e)}catch(n){return nn(r)}}function Y(n){return!!(n&&n.__SENTRY__&&n.__SENTRY__.hub)}function nn(n){return n&&n.__SENTRY__&&n.__SENTRY__.hub?n.__SENTRY__.hub:(n.__SENTRY__=n.__SENTRY__||{},n.__SENTRY__.hub=new V,n.__SENTRY__.hub)}function tn(n,t){return!!n&&(n.__SENTRY__=n.__SENTRY__||{},n.__SENTRY__.hub=t,!0)}function rn(n){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var e=Q();if(e&&e[n])return e[n].apply(e,f(t));throw new Error("No hub defined or "+n+" was not found on the hub, please open a bug report.")}function captureException(n){var t;try{throw new Error("Sentry syntheticException")}catch(n){t=n}return rn("captureException",n,{originalException:n,syntheticException:t})}function en(n){rn("withScope",n)}var on=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w\.-]+)(?::(\d+))?\/(.+)/,un=function(){function n(n){"string"==typeof n?this.W(n):this.B(n),this.G()}return n.prototype.toString=function(n){void 0===n&&(n=!1);var t=this,r=t.host,e=t.path,i=t.pass,o=t.port,u=t.projectId;return t.protocol+"://"+t.user+(n&&i?":"+i:"")+"@"+r+(o?":"+o:"")+"/"+(e?e+"/":e)+u},n.prototype.W=function(n){var t=on.exec(n);if(!t)throw new h("Invalid Dsn");var r=a(t.slice(1),6),e=r[0],i=r[1],o=r[2],u=void 0===o?"":o,c=r[3],s=r[4],f=void 0===s?"":s,v="",l=r[5],d=l.split("/");d.length>1&&(v=d.slice(0,-1).join("/"),l=d.pop()),Object.assign(this,{host:c,pass:u,path:v,projectId:l,port:f,protocol:e,user:i})},n.prototype.B=function(n){this.protocol=n.protocol,this.user=n.user,this.pass=n.pass||"",this.host=n.host,this.port=n.port||"",this.path=n.path||"",this.projectId=n.projectId},n.prototype.G=function(){var n=this;if(["protocol","user","host","projectId"].forEach(function(t){if(!n[t])throw new h("Invalid Dsn")}),"http"!==this.protocol&&"https"!==this.protocol)throw new h("Invalid Dsn");if(this.port&&Number.isNaN(parseInt(this.port,10)))throw new h("Invalid Dsn")},n}(),cn=function(){function n(n){this.dsn=n,this.J=new un(n)}return n.prototype.getDsn=function(){return this.J},n.prototype.getStoreEndpoint=function(){return""+this.X()+this.getStoreEndpointPath()},n.prototype.getStoreEndpointWithUrlEncodedAuth=function(){var n,t={sentry_key:this.J.user,sentry_version:"7"};return this.getStoreEndpoint()+"?"+(n=t,Object.keys(n).map(function(t){return encodeURIComponent(t)+"="+encodeURIComponent(n[t])}).join("&"))},n.prototype.X=function(){var n=this.J,t=n.protocol?n.protocol+":":"",r=n.port?":"+n.port:"";return t+"//"+n.host+r},n.prototype.getStoreEndpointPath=function(){var n=this.J;return(n.path?"/"+n.path:"")+"/api/"+n.projectId+"/store/"},n.prototype.getRequestHeaders=function(n,t){var r=this.J,e=["Sentry sentry_version=7"];return e.push("sentry_timestamp="+(new Date).getTime()),e.push("sentry_client="+n+"/"+t),e.push("sentry_key="+r.user),r.pass&&e.push("sentry_secret="+r.pass),{"Content-Type":"application/json","X-Sentry-Auth":e.join(", ")}},n.prototype.getReportDialogEndpoint=function(n){void 0===n&&(n={});var t=this.J,r=this.X()+(t.path?"/"+t.path:"")+"/api/embed/error-page/",e=[];for(var i in e.push("dsn="+t.toString()),n)if("user"===i){if(!n.user)continue;n.user.name&&e.push("name="+encodeURIComponent(n.user.name)),n.user.email&&e.push("email="+encodeURIComponent(n.user.email))}else e.push(encodeURIComponent(i)+"="+encodeURIComponent(n[i]));return e.length?r+"?"+e.join("&"):r},n}(),sn=[];function an(n){var t={};return function(n){var t=n.defaultIntegrations&&f(n.defaultIntegrations)||[],r=n.integrations,e=[];if(Array.isArray(r)){var i=r.map(function(n){return n.name}),o=[];t.forEach(function(n){-1===i.indexOf(n.name)&&-1===o.indexOf(n.name)&&(e.push(n),o.push(n.name))}),r.forEach(function(n){-1===o.indexOf(n.name)&&(e.push(n),o.push(n.name))})}else{if("function"!=typeof r)return f(t);e=r(t),e=Array.isArray(e)?e:[e]}return e}(n).forEach(function(n){t[n.name]=n,function(n){-1===sn.indexOf(n.name)&&(n.setupOnce(X,Q),sn.push(n.name),R.log("Integration installed: "+n.name))}(n)}),t}var fn,hn=function(){function n(n,t){this.V=!1,this.K=new n(t),this.Z=t,t.dsn&&(this.Y=new un(t.dsn)),this.nn=an(this.Z)}return n.prototype.captureException=function(n,t,r){var e=this,i=t&&t.event_id;return this.V=!0,this.tn().eventFromException(n,t).then(function(n){return e.rn(n,t,r)}).then(function(n){i=n&&n.event_id,e.V=!1}).catch(function(n){R.error(n),e.V=!1}),i},n.prototype.captureMessage=function(n,t,r,e){var i=this,o=r&&r.event_id;return this.V=!0,(m(n)?this.tn().eventFromMessage(""+n,t,r):this.tn().eventFromException(n,r)).then(function(n){return i.rn(n,r,e)}).then(function(n){o=n&&n.event_id,i.V=!1}).catch(function(n){R.error(n),i.V=!1}),o},n.prototype.captureEvent=function(n,t,r){var e=this,i=t&&t.event_id;return this.V=!0,this.rn(n,t,r).then(function(n){i=n&&n.event_id,e.V=!1}).catch(function(n){R.error(n),e.V=!1}),i},n.prototype.getDsn=function(){return this.Y},n.prototype.getOptions=function(){return this.Z},n.prototype.flush=function(n){return c(this,void 0,void 0,function(){var t,r;return s(this,function(e){switch(e.label){case 0:return[4,this.en(n)];case 1:return t=e.sent(),this.in&&clearInterval(this.in),[4,this.tn().getTransport().close(n)];case 2:return r=e.sent(),[2,t&&r]}})})},n.prototype.close=function(n){return c(this,void 0,void 0,function(){var t;return s(this,function(r){switch(r.label){case 0:return[4,this.flush(n)];case 1:return t=r.sent(),this.getOptions().enabled=!1,[2,t]}})})},n.prototype.getIntegrations=function(){return this.nn||{}},n.prototype.getIntegration=function(n){try{return this.nn[n.id]||null}catch(t){return R.warn("Cannot retrieve integration "+n.id+" from the current Client"),null}},n.prototype.en=function(n){return c(this,void 0,void 0,function(){var t=this;return s(this,function(r){return[2,new Promise(function(r){var e=0;t.in&&clearInterval(t.in),t.in=setInterval(function(){t.V?(e+=1,n&&e>=n&&r(!1)):r(!0)},1)})]})})},n.prototype.tn=function(){return this.K},n.prototype.on=function(){return!1!==this.getOptions().enabled&&void 0!==this.Y},n.prototype.un=function(n,t,r){var e=this.getOptions(),i=e.environment,o=e.release,c=e.dist,s=e.maxValueLength,a=void 0===s?250:s,f=u({},n);void 0===f.environment&&void 0!==i&&(f.environment=i),void 0===f.release&&void 0!==o&&(f.release=o),void 0===f.dist&&void 0!==c&&(f.dist=c),f.message&&(f.message=P(f.message,a));var h=f.exception&&f.exception.values&&f.exception.values[0];h&&h.value&&(h.value=P(h.value,a));var v=f.request;v&&v.url&&(v.url=P(v.url,a)),void 0===f.event_id&&(f.event_id=E()),this.cn(f.sdk);var l=B.resolve(f);return t&&(l=t.applyToEvent(f,r)),l},n.prototype.cn=function(n){var t=Object.keys(this.nn);n&&t.length>0&&(n.integrations=t)},n.prototype.rn=function(n,t,r){var e=this,i=this.getOptions(),o=i.beforeSend,u=i.sampleRate;return this.on()?"number"==typeof u&&Math.random()>u?B.reject("This event has been sampled, will not send event."):new B(function(i,u){e.un(n,r,t).then(function(n){if(null!==n){var r=n;try{if(t&&t.data&&!0===t.data.__sentry__||!o)return e.tn().sendEvent(r),void i(r);var c=o(n,t);if(void 0===c)R.error("`beforeSend` method has to return `null` or a valid event.");else if(b(c))e.sn(c,i,u);else{if(null===(r=c))return R.log("`beforeSend` returned `null`, will not send event."),void i(null);e.tn().sendEvent(r),i(r)}}catch(n){e.captureException(n,{data:{__sentry__:!0},originalException:n}),u("`beforeSend` throw an error, will not send event.")}}else u("An event processor returned null, will not send event.")})}):B.reject("SDK not enabled, will not send event.")},n.prototype.sn=function(n,t,r){var e=this;n.then(function(n){null!==n?(e.tn().sendEvent(n),t(n)):r("`beforeSend` returned `null`, will not send event.")}).catch(function(n){r("beforeSend rejected with "+n)})},n}(),vn=function(){function t(){}return t.prototype.sendEvent=function(t){return c(this,void 0,void 0,function(){return s(this,function(t){return[2,Promise.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:n.Status.Skipped})]})})},t.prototype.close=function(n){return c(this,void 0,void 0,function(){return s(this,function(n){return[2,Promise.resolve(!0)]})})},t}(),ln=function(){function n(n){this.Z=n,this.Z.dsn||R.warn("No DSN provided, backend will not do anything."),this.an=this.fn()}return n.prototype.fn=function(){return new vn},n.prototype.eventFromException=function(n,t){throw new h("Backend has to implement `eventFromException` method")},n.prototype.eventFromMessage=function(n,t,r){throw new h("Backend has to implement `eventFromMessage` method")},n.prototype.sendEvent=function(n){this.an.sendEvent(n).catch(function(n){R.error("Error while sending event: "+n)})},n.prototype.getTransport=function(){return this.an},n}();var dn=function(){function n(){this.name=n.id}return n.prototype.setupOnce=function(){fn=Function.prototype.toString,Function.prototype.toString=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];var r=this.__sentry__?this.__sentry_original__:this;return fn.apply(r,n)}},n.id="FunctionToString",n}(),pn=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],mn=function(){function n(t){void 0===t&&(t={}),this.Z=t,this.name=n.id}return n.prototype.setupOnce=function(){X(function(t){var r=Q();if(!r)return t;var e=r.getIntegration(n);if(e){var i=r.getClient(),o=i?i.getOptions():{},u=e.hn(o);if(e.vn(t,u))return null}return t})},n.prototype.vn=function(n,t){return this.ln(n,t)?(R.warn("Event dropped due to being internal Sentry Error.\nEvent: "+x(n)),!0):this.dn(n,t)?(R.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+x(n)),!0):this.pn(n,t)?(R.warn("Event dropped due to being matched by `blacklistUrls` option.\nEvent: "+x(n)+".\nUrl: "+this.mn(n)),!0):!this.yn(n,t)&&(R.warn("Event dropped due to not being matched by `whitelistUrls` option.\nEvent: "+x(n)+".\nUrl: "+this.mn(n)),!0)},n.prototype.ln=function(n,t){if(void 0===t&&(t={}),!t.ignoreInternal)return!1;try{return"SentryError"===n.exception.values[0].type}catch(n){return!1}},n.prototype.dn=function(n,t){var r=this;return void 0===t&&(t={}),!(!t.ignoreErrors||!t.ignoreErrors.length)&&this.bn(n).some(function(n){return t.ignoreErrors.some(function(t){return r.wn(n,t)})})},n.prototype.pn=function(n,t){var r=this;if(void 0===t&&(t={}),!t.blacklistUrls||!t.blacklistUrls.length)return!1;var e=this.mn(n);return!!e&&t.blacklistUrls.some(function(n){return r.wn(e,n)})},n.prototype.yn=function(n,t){var r=this;if(void 0===t&&(t={}),!t.whitelistUrls||!t.whitelistUrls.length)return!0;var e=this.mn(n);return!e||t.whitelistUrls.some(function(n){return r.wn(e,n)})},n.prototype.hn=function(n){return void 0===n&&(n={}),{blacklistUrls:f(this.Z.blacklistUrls||[],n.blacklistUrls||[]),ignoreErrors:f(this.Z.ignoreErrors||[],n.ignoreErrors||[],pn),ignoreInternal:void 0===this.Z.ignoreInternal||this.Z.ignoreInternal,whitelistUrls:f(this.Z.whitelistUrls||[],n.whitelistUrls||[])}},n.prototype.wn=function(n,t){return r=t,"[object RegExp]"===Object.prototype.toString.call(r)?t.test(n):"string"==typeof t&&n.includes(t);var r},n.prototype.bn=function(n){if(n.message)return[n.message];if(n.exception)try{var t=n.exception.values[0],r=t.type,e=t.value;return[""+e,r+": "+e]}catch(t){return R.error("Cannot extract message for event "+x(n)),[]}return[]},n.prototype.mn=function(n){try{if(n.stacktrace){var t=n.stacktrace.frames;return t[t.length-1].filename}if(n.exception){var r=n.exception.values[0].stacktrace.frames;return r[r.length-1].filename}return null}catch(t){return R.error("Cannot extract url for event "+x(n)),null}},n.id="InboundFilters",n}(),yn=Object.freeze({FunctionToString:dn,InboundFilters:mn}),bn=g(),wn={gn:!1,En:!1,jn:!1,xn:!1},gn="?",En=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function jn(n,t){return Object.prototype.hasOwnProperty.call(n,t)}function xn(){return"undefined"==typeof document||null==document.location?"":document.location.href}wn.gn=function(){var n,t,r=[],e=null,i=null;function o(n,t,e){var i=null;if(!t||wn.En){for(var o in r)if(jn(r,o))try{r[o](n,t,e)}catch(n){i=n}if(i)throw i}}function c(t,r,e,c,s){var f=null;if(s=l(s)?s.error:s,t=l(t)?t.message:t,i)wn.jn.Sn(i,r,e,t),a();else if(s&&v(s))(f=wn.jn(s)).mechanism="onerror",o(f,!0,s);else{var h,d={url:r,line:e,column:c},p=t;if("[object String]"==={}.toString.call(t)){var m=t.match(En);m&&(h=m[1],p=m[2])}d.func=gn,d.context=null,o(f={name:h,message:p,mode:"onerror",mechanism:"onerror",stack:[u({},d,{url:d.url||xn()})]},!0,null)}return!!n&&n.apply(this,arguments)}function s(n){var t=n&&(n.detail?n.detail.reason:n.reason)||n,r=wn.jn(t);r.mechanism="onunhandledrejection",o(r,!0,t)}function a(){var n=i,t=e;i=null,e=null,o(n,!1,t)}function f(n){if(i){if(e===n)return;a()}var t=wn.jn(n);throw i=t,e=n,setTimeout(function(){e===n&&a()},t.incomplete?2e3:0),n}return f._n=function(n){r.push(n)},f.On=function(){!0!==t&&(n=bn.onerror,bn.onerror=c,t=!0)},f.kn=function(){bn.onunhandledrejection=s},f}(),wn.jn=function(){function n(n){if(!n.stack)return null;for(var t,r,e,i=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|[a-z]:|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,o=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,u=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,c=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,s=/\((\S*)(?::(\d+))(?::(\d+))\)/,a=n.stack.split("\n"),f=[],h=/^(.*) is undefined$/.exec(n.message),v=0,l=a.length;v<l;++v){if(r=i.exec(a[v])){var d=r[2]&&0===r[2].indexOf("native");r[2]&&0===r[2].indexOf("eval")&&(t=s.exec(r[2]))&&(r[2]=t[1]),e={url:d?null:r[2],func:r[1]||gn,args:d?[r[2]]:[],line:r[3]?+r[3]:null,column:r[4]?+r[4]:null}}else if(r=u.exec(a[v]))e={url:r[2],func:r[1]||gn,args:[],line:+r[3],column:r[4]?+r[4]:null};else{if(!(r=o.exec(a[v])))continue;r[3]&&r[3].indexOf(" > eval")>-1&&(t=c.exec(r[3]))?r[3]=t[1]:0!==v||r[5]||void 0===n.columnNumber||(f[0].column=n.columnNumber+1),e={url:r[3],func:r[1]||gn,args:r[2]?r[2].split(","):[],line:r[4]?+r[4]:null,column:r[5]?+r[5]:null}}!e.func&&e.line&&(e.func=gn),e.context=null,f.push(e)}return f.length?(f[0]&&f[0].line&&!f[0].column&&h&&(f[0].column=null),{mode:"stack",name:n.name,message:n.message,stack:f}):null}function t(n,t,r,e){var i={url:t,line:r};if(i.url&&i.line){if(n.incomplete=!1,i.func||(i.func=gn),i.context||(i.context=null),/ '([^']+)' /.exec(e)&&(i.column=null),n.stack.length>0&&n.stack[0].url===i.url){if(n.stack[0].line===i.line)return!1;if(!n.stack[0].line&&n.stack[0].func===i.func)return n.stack[0].line=i.line,n.stack[0].context=i.context,!1}return n.stack.unshift(i),n.partial=!0,!0}return n.incomplete=!0,!1}function r(n,e){for(var i,o,u=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,c=[],s={},a=!1,f=r.caller;f&&!a;f=f.caller)if(f!==kn&&f!==wn.gn){if(o={url:null,func:gn,args:[],line:null,column:null},f.name?o.func=f.name:(i=u.exec(f.toString()))&&(o.func=i[1]),void 0===o.func)try{o.func=i.input.substring(0,i.input.indexOf("{"))}catch(n){}s[""+f]?a=!0:s[""+f]=!0,c.push(o)}e&&c.splice(0,e);var h={mode:"callers",name:n.name,message:n.message,stack:c};return t(h,n.sourceURL||n.fileName,n.line||n.lineNumber,n.message||n.description),h}function e(t,e){var i=null;e=null==e?0:+e;try{if(i=function(n){var t=n.stacktrace;if(t){for(var r,e=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,i=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^\)]+))\((.*)\))? in (.*):\s*$/i,o=t.split("\n"),u=[],c=0;c<o.length;c+=2){var s=null;(r=e.exec(o[c]))?s={url:r[2],line:+r[1],column:null,func:r[3],args:[]}:(r=i.exec(o[c]))&&(s={url:r[6],line:+r[1],column:+r[2],func:r[3]||r[4],args:r[5]?r[5].split(","):[]}),s&&(!s.func&&s.line&&(s.func=gn),s.line&&(s.context=null),s.context||(s.context=[o[c+1]]),u.push(s))}return u.length?{mode:"stacktrace",name:n.name,message:n.message,stack:u}:null}}(t))return i}catch(n){}try{if(i=n(t))return i}catch(n){}try{if(i=function(n){var t=n.message.split("\n");if(t.length<4)return null;var r,e=/^\s*Line (\d+) of linked script ((?:file|https?|blob)\S+)(?:: in function (\S+))?\s*$/i,i=/^\s*Line (\d+) of inline#(\d+) script in ((?:file|https?|blob)\S+)(?:: in function (\S+))?\s*$/i,o=/^\s*Line (\d+) of function script\s*$/i,u=[],c=bn&&bn.document&&bn.document.getElementsByTagName("script"),s=[];for(var a in c)jn(c,a)&&!c[a].src&&s.push(c[a]);for(var f=2;f<t.length;f+=2){var h=null;(r=e.exec(t[f]))?h={url:r[2],func:r[3],args:[],line:+r[1],column:null}:(r=i.exec(t[f]))?h={url:r[3],func:r[4],args:[],line:+r[1],column:null}:(r=o.exec(t[f]))&&(h={url:xn().replace(/#.*$/,""),func:"",args:[],line:r[1],column:null}),h&&(h.func||(h.func=gn),h.context=[t[f+1]],u.push(h))}return u.length?{mode:"multiline",name:n.name,message:t[0],stack:u}:null}(t))return i}catch(n){}try{if(i=r(t,e+1))return i}catch(n){}return{original:t,name:t.name,message:t.message,mode:"failed"}}return e.Sn=t,e.Tn=n,e}(),wn.En=!0,wn.xn=11;var Sn=wn.gn._n,_n=wn.gn.On,On=wn.gn.kn,kn=wn.jn,Tn=50;function Rn(n){var t=In(n.stack),r={type:n.name,value:n.message};return t&&t.length&&(r.stacktrace={frames:t}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function Dn(n){return{exception:{values:[Rn(n)]}}}function In(n){if(!n||!n.length)return[];var t=n,r=t[0].func||"",e=t[t.length-1].func||"";return(r.includes("captureMessage")||r.includes("captureException"))&&(t=t.slice(1)),e.includes("sentryWrapped")&&(t=t.slice(0,-1)),t.map(function(n){return{colno:n.column,filename:n.url||t[0].url,function:n.func||"?",in_app:!0,lineno:n.line}}).slice(0,Tn).reverse()}var An,Cn,Ln=function(){function n(n){this.options=n,this.h=new U(30),this.url=new cn(this.options.dsn).getStoreEndpointWithUrlEncodedAuth()}return n.prototype.sendEvent=function(n){return c(this,void 0,void 0,function(){return s(this,function(n){throw new h("Transport Class has to implement `sendEvent` method")})})},n.prototype.close=function(n){return c(this,void 0,void 0,function(){return s(this,function(t){return[2,this.h.drain(n)]})})},n}(),Mn=g(),Nn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.sendEvent=function(t){return c(this,void 0,void 0,function(){var r;return s(this,function(e){return r={body:JSON.stringify(t),method:"POST",referrerPolicy:W()?"origin":""},[2,this.h.add(Mn.fetch(this.url,r).then(function(t){return{status:n.Status.fromHttpCode(t.status)}}))]})})},e}(Ln),Fn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.sendEvent=function(t){return c(this,void 0,void 0,function(){var r=this;return s(this,function(e){return[2,this.h.add(new Promise(function(e,i){var o=new XMLHttpRequest;o.onreadystatechange=function(){4===o.readyState&&(200===o.status&&e({status:n.Status.fromHttpCode(o.status)}),i(o))},o.open("POST",r.url),o.send(JSON.stringify(t))}))]})})},e}(Ln),Un=Object.freeze({BaseTransport:Ln,FetchTransport:Nn,XHRTransport:Fn}),Pn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.fn=function(){if(!this.Z.dsn)return t.prototype.fn.call(this);var n=this.Z.transportOptions?this.Z.transportOptions:{dsn:this.Z.dsn};return this.Z.transport?new this.Z.transport(n):H()?new Nn(n):new Fn(n)},e.prototype.eventFromException=function(t,r){var e,i,o=this;if(l(t)&&t.error)return t=t.error,e=Dn(kn(t)),B.resolve(this.Rn(e,r));if(d(t)||(i=t,"[object DOMException]"===Object.prototype.toString.call(i))){var u=t,c=u.name||(d(u)?"DOMError":"DOMException"),s=u.message?c+": "+u.message:c;return this.eventFromMessage(s,n.Severity.Error,r).then(function(n){return _(n,s),B.resolve(o.Rn(n,r))})}if(v(t))return e=Dn(kn(t)),B.resolve(this.Rn(e,r));if(y(t)&&r&&r.syntheticException)return _(e=function(n,t){var r=Object.keys(n).sort(),e={extra:{__serialized__:C(n)},message:"Non-Error exception captured with keys: "+q(r)};if(t){var i=In(kn(t).stack);e.stacktrace={frames:i}}return e}(t,r.syntheticException),"Custom Object",void 0,{handled:!0,synthetic:!0,type:"generic"}),e.level=n.Severity.Error,B.resolve(this.Rn(e,r));var a=t;return this.eventFromMessage(a,void 0,r).then(function(t){return _(t,""+a,void 0,{handled:!0,synthetic:!0,type:"generic"}),t.level=n.Severity.Error,B.resolve(o.Rn(t,r))})},e.prototype.Rn=function(n,t){return u({},n,{event_id:t&&t.event_id})},e.prototype.eventFromMessage=function(t,r,e){void 0===r&&(r=n.Severity.Info);var i={event_id:e&&e.event_id,level:r,message:t};if(this.Z.attachStacktrace&&e&&e.syntheticException){var o=In(kn(e.syntheticException).stack);i.stacktrace={frames:o}}return B.resolve(i)},e}(ln),$n="sentry.javascript.browser",qn=function(n){function t(t){return void 0===t&&(t={}),n.call(this,Pn,t)||this}return r(t,n),t.prototype.un=function(t,r,e){return t.platform=t.platform||"javascript",t.sdk=u({},t.sdk,{name:$n,packages:f(t.sdk&&t.sdk.packages||[],[{name:"npm:@sentry/browser",version:"5.1.2"}]),version:"5.1.2"}),n.prototype.un.call(this,t,r,e)},t.prototype.showReportDialog=function(n){void 0===n&&(n={});var t=g().document;if(t)if(this.on()){var r=n.dsn||this.getDsn();if(n.eventId)if(r){var e=t.createElement("script");e.async=!0,e.src=new cn(r).getReportDialogEndpoint(n),(t.head||t.body).appendChild(e)}else R.error("Missing `Dsn` option in showReportDialog call");else R.error("Missing `eventId` option in showReportDialog call")}else R.error("Trying to call showReportDialog with Sentry Client is disabled")},t}(hn),Hn=1e3,Wn=0;function Bn(n,t,r){if(void 0===t&&(t={}),"function"!=typeof n)return n;try{if(n.__sentry__)return n;if(n.__sentry_wrapped__)return n.__sentry_wrapped__}catch(t){return n}var sentryWrapped=function(){r&&"function"==typeof r&&r.apply(this,arguments);var e=Array.prototype.slice.call(arguments);try{var i=e.map(function(n){return Bn(n,t)});return n.handleEvent?n.handleEvent.apply(this,i):n.apply(this,i)}catch(n){throw Wn+=1,setTimeout(function(){Wn-=1}),en(function(r){r.addEventProcessor(function(n){var r=u({},n);return t.mechanism&&_(r,void 0,void 0,t.mechanism),r.extra=u({},r.extra,{arguments:N(e,3)}),r}),captureException(n)}),n}};try{for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(sentryWrapped[e]=n[e])}catch(n){}n.prototype=n.prototype||{},sentryWrapped.prototype=n.prototype,Object.defineProperty(n,"__sentry_wrapped__",{enumerable:!1,value:sentryWrapped}),Object.defineProperties(sentryWrapped,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:n}});try{Object.defineProperty(sentryWrapped,"name",{get:function(){return n.name}})}catch(n){}return sentryWrapped}var Gn=0;function Jn(n,t){return void 0===t&&(t=!1),function(r){if(An=void 0,r&&Cn!==r){Cn=r;var e=function(){var t;try{t=r.target?zn(r.target):zn(r)}catch(n){t="<unknown>"}0!==t.length&&Q().addBreadcrumb({category:"ui."+n,message:t},{event:r,name:n})};Gn&&clearTimeout(Gn),t?Gn=setTimeout(e):e()}}}function Xn(){return function(n){var t;try{t=n.target}catch(n){return}var r=t&&t.tagName;r&&("INPUT"===r||"TEXTAREA"===r||t.isContentEditable)&&(An||Jn("input")(n),clearTimeout(An),An=setTimeout(function(){An=void 0},Hn))}}function zn(n){for(var t,r=n,e=[],i=0,o=0,u=" > ".length;r&&i++<5&&!("html"===(t=Vn(r))||i>1&&o+e.length*u+t.length>=80);)e.push(t),o+=t.length,r=r.parentNode;return e.reverse().join(" > ")}function Vn(n){var t,r,e,i,o,u=[];if(!n||!n.tagName)return"";if(u.push(n.tagName.toLowerCase()),n.id&&u.push("#"+n.id),(t=n.className)&&p(t))for(r=t.split(/\s+/),o=0;o<r.length;o++)u.push("."+r[o]);var c=["type","name","title","alt"];for(o=0;o<c.length;o++)e=c[o],(i=n.getAttribute(e))&&u.push("["+e+'="'+i+'"]');return u.join("")}var Kn=function(){function n(t){this.name=n.id,this.Z=u({onerror:!0,onunhandledrejection:!0},t)}return n.prototype.setupOnce=function(){Error.stackTraceLimit=50,Sn(function(t,r,e){if(!(Wn>0)){var i=Q().getIntegration(n);i&&Q().captureEvent(i.Dn(t),{data:{stack:t},originalException:e})}}),this.Z.onerror&&(R.log("Global Handler attached: onerror"),_n()),this.Z.onunhandledrejection&&(R.log("Global Handler attached: onunhandledrejection"),On())},n.prototype.Dn=function(n){var t=Dn(n),r={mode:n.mode};n.message&&(r.message=n.message),n.name&&(r.name=n.name);var e=Q().getClient(),i=e&&e.getOptions().maxValueLength||250;return _(t,n.original?P(JSON.stringify(N(n.original)),i):"","onunhandledrejection"===n.mechanism?"UnhandledRejection":"Error",{data:r,handled:!1,type:n.mechanism}),t},n.id="GlobalHandlers",n}(),Zn=function(){function n(){this.In=0,this.name=n.id}return n.prototype.An=function(n){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var e=t[0];return t[0]=Bn(e,{mechanism:{data:{function:Qn(n)},handled:!0,type:"instrument"}}),n.apply(this,t)}},n.prototype.Cn=function(n){return function(t){return n(Bn(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Qn(n)},handled:!0,type:"instrument"}}))}},n.prototype.Ln=function(n){var t=g(),r=t[n]&&t[n].prototype;r&&r.hasOwnProperty&&r.hasOwnProperty("addEventListener")&&(I(r,"addEventListener",function(t){return function(r,e,i){try{e.handleEvent=Bn(e.handleEvent.bind(e),{mechanism:{data:{function:"handleEvent",handler:Qn(e),target:n},handled:!0,type:"instrument"}})}catch(n){}return t.call(this,r,Bn(e,{mechanism:{data:{function:"addEventListener",handler:Qn(e),target:n},handled:!0,type:"instrument"}}),i)}}),I(r,"removeEventListener",function(n){return function(t,r,e){var i=r;try{i=i&&(i.__sentry_wrapped__||i)}catch(n){}return n.call(this,t,i,e)}}))},n.prototype.setupOnce=function(){this.In=this.In;var n=g();I(n,"setTimeout",this.An.bind(this)),I(n,"setInterval",this.An.bind(this)),I(n,"requestAnimationFrame",this.Cn.bind(this)),["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"].forEach(this.Ln.bind(this))},n.id="TryCatch",n}();function Qn(n){try{return n&&n.name||"<anonymous>"}catch(n){return"<anonymous>"}}var Yn,nt=g(),tt=function(){function t(n){this.name=t.id,this.Z=u({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},n)}return t.prototype.Mn=function(){"console"in nt&&["debug","info","warn","error","log","assert"].forEach(function(r){r in nt.console&&I(nt.console,r,function(e){return function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];var u={category:"console",data:{extra:{arguments:N(i,3)},logger:"console"},level:n.Severity.fromString(r),message:$(i," ")};"assert"===r&&!1===i[0]&&(u.message="Assertion failed: "+($(i.slice(1)," ")||"console.assert"),u.data.extra.arguments=N(i.slice(1),3)),t.addBreadcrumb(u,{input:i,level:r}),e&&Function.prototype.apply.call(e,nt.console,i)}})})},t.prototype.Nn=function(){"document"in nt&&(nt.document.addEventListener("click",Jn("click"),!1),nt.document.addEventListener("keypress",Xn(),!1),["EventTarget","Node"].forEach(function(n){var t=nt[n]&&nt[n].prototype;t&&t.hasOwnProperty&&t.hasOwnProperty("addEventListener")&&(I(t,"addEventListener",function(n){return function(t,r,e){return r&&r.handleEvent?("click"===t&&I(r,"handleEvent",function(n){return function(t){return Jn("click")(t),n.call(this,t)}}),"keypress"===t&&I(r,"handleEvent",Xn())):("click"===t&&Jn("click",!0)(this),"keypress"===t&&Xn()(this)),n.call(this,t,r,e)}}),I(t,"removeEventListener",function(n){return function(t,r,e){var i=r;try{i=i&&(i.__sentry_wrapped__||i)}catch(n){}return n.call(this,t,i,e)}}))}))},t.prototype.Fn=function(){H()&&-1!==g().fetch.toString().indexOf("native")&&I(nt,"fetch",function(r){return function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];var o,u=e[0],c="GET";"string"==typeof u?o=u:"Request"in nt&&u instanceof Request?(o=u.url,u.method&&(c=u.method)):o=String(u),e[1]&&e[1].method&&(c=e[1].method);var s=Q().getClient(),a=s&&s.getDsn();if(a){var f=new cn(a).getStoreEndpoint();if(f&&o.includes(f))return"POST"===c&&e[1]&&e[1].body&&rt(e[1].body),r.apply(nt,e)}var h={method:c,url:o};return r.apply(nt,e).then(function(n){return h.status_code=n.status,t.addBreadcrumb({category:"fetch",data:h,type:"http"},{input:e,response:n}),n}).catch(function(r){throw t.addBreadcrumb({category:"fetch",data:h,level:n.Severity.Error,type:"http"},{error:r,input:e}),r})}})},t.prototype.Un=function(){var n=this;if(r=g(),e=r.chrome,i=e&&e.app&&e.app.runtime,o="history"in r&&!!r.history.pushState&&!!r.history.replaceState,!i&&o){var r,e,i,o,u=function(n,r){var e=j(nt.location.href),i=j(r),o=j(n);o.path||(o=e),Yn=r,e.protocol===i.protocol&&e.host===i.host&&(r=i.relative),e.protocol===o.protocol&&e.host===o.host&&(n=o.relative),t.addBreadcrumb({category:"navigation",data:{from:n,to:r}})},c=nt.onpopstate;nt.onpopstate=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var e=nt.location.href;if(u(Yn,e),c)return c.apply(n,t)},I(nt.history,"pushState",s),I(nt.history,"replaceState",s)}function s(n){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var e=t.length>2?t[2]:void 0;return e&&u(Yn,String(e)),n.apply(this,t)}}},t.prototype.Pn=function(){if("XMLHttpRequest"in nt){var n=XMLHttpRequest.prototype;I(n,"open",function(n){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var e=t[1];this.__sentry_xhr__={method:t[0],url:t[1]};var i=Q().getClient(),o=i&&i.getDsn();if(o){var u=new cn(o).getStoreEndpoint();p(e)&&u&&e.includes(u)&&(this.__sentry_own_request__=!0)}return n.apply(this,t)}}),I(n,"send",function(n){return function(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];var i=this;function o(){if(4===i.readyState){if(i.__sentry_own_request__)return;try{i.__sentry_xhr__&&(i.__sentry_xhr__.status_code=i.status)}catch(n){}t.addBreadcrumb({category:"xhr",data:i.__sentry_xhr__,type:"http"},{xhr:i})}}return i.__sentry_own_request__&&rt(r[0]),["onload","onerror","onprogress"].forEach(function(n){!function(n,t){n in t&&"function"==typeof t[n]&&I(t,n,function(t){return Bn(t,{mechanism:{data:{function:n,handler:t&&t.name||"<anonymous>"},handled:!0,type:"instrument"}})})}(n,i)}),"onreadystatechange"in i&&"function"==typeof i.onreadystatechange?I(i,"onreadystatechange",function(n){return Bn(n,{mechanism:{data:{function:"onreadystatechange",handler:n&&n.name||"<anonymous>"},handled:!0,type:"instrument"}},o)}):i.onreadystatechange=o,n.apply(this,r)}})}},t.addBreadcrumb=function(n,r){Q().getIntegration(t)&&Q().addBreadcrumb(n,r)},t.prototype.setupOnce=function(){this.Z.console&&this.Mn(),this.Z.dom&&this.Nn(),this.Z.xhr&&this.Pn(),this.Z.fetch&&this.Fn(),this.Z.history&&this.Un()},t.id="Breadcrumbs",t}();function rt(t){try{var r=JSON.parse(t);tt.addBreadcrumb({category:"sentry",event_id:r.event_id,level:r.level||n.Severity.fromString("error"),message:x(r)},{event:r})}catch(n){R.error("Error while adding sentry type breadcrumb")}}var et="cause",it=5,ot=function(){function n(t){void 0===t&&(t={}),this.name=n.id,this.$n=t.key||et,this.s=t.limit||it}return n.prototype.setupOnce=function(){X(function(t,r){var e=Q().getIntegration(n);return e?e.qn(t,r):t})},n.prototype.qn=function(n,t){if(!(n.exception&&n.exception.values&&t&&t.originalException instanceof Error))return n;var r=this.Hn(t.originalException,this.$n);return n.exception.values=f(r,n.exception.values),n},n.prototype.Hn=function(n,t,r){if(void 0===r&&(r=[]),!(n[t]instanceof Error)||r.length+1>=this.s)return r;var e=Rn(kn(n[t]));return this.Hn(n[t],t,f([e],r))},n.id="LinkedErrors",n}(),ut=g(),ct=function(){function n(){this.name=n.id}return n.prototype.setupOnce=function(){X(function(t){if(Q().getIntegration(n)){if(!ut.navigator||!ut.location)return t;var r=t.request||{};return r.url=r.url||ut.location.href,r.headers=r.headers||{},r.headers["User-Agent"]=ut.navigator.userAgent,u({},t,{request:r})}return t})},n.id="UserAgent",n}(),st=Object.freeze({GlobalHandlers:Kn,TryCatch:Zn,Breadcrumbs:tt,LinkedErrors:ot,UserAgent:ct}),at=[new mn,new dn,new Zn,new tt,new Kn,new ot,new ct];var ft={},ht=g();ht.Sentry&&ht.Sentry.Integrations&&(ft=ht.Sentry.Integrations);var vt=u({},ft,yn,st);return n.Integrations=vt,n.Transports=Un,n.addGlobalEventProcessor=X,n.addBreadcrumb=function(n){rn("addBreadcrumb",n)},n.captureException=captureException,n.captureEvent=function(n){return rn("captureEvent",n)},n.captureMessage=function(n,t){var r;try{throw new Error(n)}catch(n){r=n}return rn("captureMessage",n,t,{originalException:n,syntheticException:r})},n.configureScope=function(n){rn("configureScope",n)},n.withScope=en,n.getHubFromCarrier=nn,n.getCurrentHub=Q,n.Hub=V,n.Scope=G,n.BrowserClient=qn,n.defaultIntegrations=at,n.forceLoad=function(){},n.init=function(n){void 0===n&&(n={}),void 0===n.defaultIntegrations&&(n.defaultIntegrations=at),function(n,t){!0===t.debug&&R.enable(),Q().bindClient(new n(t))}(qn,n)},n.lastEventId=function(){return Q().lastEventId()},n.onLoad=function(n){n()},n.showReportDialog=function(n){void 0===n&&(n={}),n.eventId||(n.eventId=Q().lastEventId());var t=Q().getClient();t&&t.showReportDialog(n)},n.flush=function(n){return c(this,void 0,void 0,function(){var t;return s(this,function(r){return(t=Q().getClient())?[2,t.flush(n)]:[2,Promise.reject(!1)]})})},n.close=function(n){return c(this,void 0,void 0,function(){var t;return s(this,function(r){return(t=Q().getClient())?[2,t.close(n)]:[2,Promise.reject(!1)]})})},n.SDK_NAME=$n,n.SDK_VERSION="5.1.2",n}({});
/*! @sentry/browser 5.2.0-beta.0 (09c7a2a8) | https://github.com/getsentry/sentry-javascript */
var Sentry=function(n){"use strict";var t=function(n,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r])})(n,r)};function r(n,r){function i(){this.constructor=n}t(n,r),n.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}var i,e,o,u=function(){return(u=Object.assign||function(n){for(var t,r=1,i=arguments.length;r<i;r++)for(var e in t=arguments[r])Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e]);return n}).apply(this,arguments)};function c(n,t,r,i){return new(r||(r=Promise))(function(e,o){function u(n){try{s(i.next(n))}catch(n){o(n)}}function c(n){try{s(i.throw(n))}catch(n){o(n)}}function s(n){n.done?e(n.value):new r(function(t){t(n.value)}).then(u,c)}s((i=i.apply(n,t||[])).next())})}function s(n,t){var r,i,e,o,u={label:0,sent:function(){if(1&e[0])throw e[1];return e[1]},trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(o){return function(c){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,i&&(e=2&o[0]?i.return:o[0]?i.throw||((e=i.return)&&e.call(i),0):i.next)&&!(e=e.call(i,o[1])).done)return e;switch(i=0,e&&(o=[2&o[0],e.value]),o[0]){case 0:case 1:e=o;break;case 4:return u.label++,{value:o[1],done:!1};case 5:u.label++,i=o[1],o=[0];continue;case 7:o=u.ops.pop(),u.trys.pop();continue;default:if(!(e=(e=u.trys).length>0&&e[e.length-1])&&(6===o[0]||2===o[0])){u=0;continue}if(3===o[0]&&(!e||o[1]>e[0]&&o[1]<e[3])){u.label=o[1];break}if(6===o[0]&&u.label<e[1]){u.label=e[1],e=o;break}if(e&&u.label<e[2]){u.label=e[2],u.ops.push(o);break}e[2]&&u.ops.pop(),u.trys.pop();continue}o=t.call(n,u)}catch(n){o=[6,n],i=0}finally{r=e=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,c])}}}function a(n,t){var r="function"==typeof Symbol&&n[Symbol.iterator];if(!r)return n;var i,e,o=r.call(n),u=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)u.push(i.value)}catch(n){e={error:n}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return u}function f(){for(var n=[],t=0;t<arguments.length;t++)n=n.concat(a(arguments[t]));return n}!function(n){n[n.None=0]="None",n[n.Error=1]="Error",n[n.Debug=2]="Debug",n[n.Verbose=3]="Verbose"}(i||(i={})),(e=n.Severity||(n.Severity={})).Fatal="fatal",e.Error="error",e.Warning="warning",e.Log="log",e.Info="info",e.Debug="debug",e.Critical="critical",function(n){n.fromString=function(t){switch(t){case"debug":return n.Debug;case"info":return n.Info;case"warn":case"warning":return n.Warning;case"error":return n.Error;case"fatal":return n.Fatal;case"critical":return n.Critical;case"log":default:return n.Log}}}(n.Severity||(n.Severity={})),(o=n.Status||(n.Status={})).Unknown="unknown",o.Skipped="skipped",o.Success="success",o.RateLimit="rate_limit",o.Invalid="invalid",o.Failed="failed",function(n){n.fromHttpCode=function(t){return t>=200&&t<300?n.Success:429===t?n.RateLimit:t>=400&&t<500?n.Invalid:t>=500?n.Failed:n.Unknown}}(n.Status||(n.Status={}));var h=function(n){function t(t){var r=this.constructor,i=n.call(this,t)||this;return i.message=t,i.name=r.prototype.constructor.name,Object.setPrototypeOf(i,r.prototype),i}return r(t,n),t}(Error);function v(n){switch(Object.prototype.toString.call(n)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return n instanceof Error}}function l(n){return"[object ErrorEvent]"===Object.prototype.toString.call(n)}function d(n){return"[object DOMError]"===Object.prototype.toString.call(n)}function p(n){return"[object String]"===Object.prototype.toString.call(n)}function m(n){return null===n||"object"!=typeof n&&"function"!=typeof n}function y(n){return"[object Object]"===Object.prototype.toString.call(n)}function b(n){return Boolean(n&&n.then&&"function"==typeof n.then)}var w={};function g(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:w}function E(){var n=g(),t=n.crypto||n.msCrypto;if(void 0!==t&&t.getRandomValues){var r=new Uint16Array(8);t.getRandomValues(r),r[3]=4095&r[3]|16384,r[4]=16383&r[4]|32768;var i=function(n){for(var t=n.toString(16);t.length<4;)t="0"+t;return t};return i(r[0])+i(r[1])+i(r[2])+i(r[3])+i(r[4])+i(r[5])+i(r[6])+i(r[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(n){var t=16*Math.random()|0;return("x"===n?t:3&t|8).toString(16)})}function j(n){if(!n)return{};var t=n.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};var r=t[6]||"",i=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],relative:t[5]+r+i}}function x(n){if(n.message)return n.message;if(n.exception&&n.exception.values&&n.exception.values[0]){var t=n.exception.values[0];return t.type&&t.value?t.type+": "+t.value:t.type||t.value||n.event_id||"<unknown>"}return n.event_id||"<unknown>"}function _(n){var t=g();if(!("console"in t))return n();var r=t.console,i={};["debug","info","warn","error","log","assert"].forEach(function(n){n in t.console&&r[n].__sentry__&&(i[n]=r[n].__sentry_wrapped__,r[n]=r[n].__sentry_original__)});var e=n();return Object.keys(i).forEach(function(n){r[n]=i[n]}),e}function S(n,t,r,i){void 0===i&&(i={handled:!0,type:"generic"}),n.exception=n.exception||{},n.exception.values=n.exception.values||[],n.exception.values[0]=n.exception.values[0]||{},n.exception.values[0].value=n.exception.values[0].value||t||"",n.exception.values[0].type=n.exception.values[0].type||r||"Error",n.exception.values[0].mechanism=n.exception.values[0].mechanism||i}var O=g(),k="Sentry Logger ",T=function(){function n(){this.t=!1}return n.prototype.disable=function(){this.t=!1},n.prototype.enable=function(){this.t=!0},n.prototype.log=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.t&&_(function(){O.console.log(k+"[Log]: "+n.join(" "))})},n.prototype.warn=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.t&&_(function(){O.console.warn(k+"[Warn]: "+n.join(" "))})},n.prototype.error=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];this.t&&_(function(){O.console.error(k+"[Error]: "+n.join(" "))})},n}();O.__SENTRY__=O.__SENTRY__||{};var I=O.__SENTRY__.logger||(O.__SENTRY__.logger=new T),R=function(){function n(){this.i="function"==typeof WeakSet,this.o=this.i?new WeakSet:[]}return n.prototype.memoize=function(n){if(this.i)return!!this.o.has(n)||(this.o.add(n),!1);for(var t=0;t<this.o.length;t++){if(this.o[t]===n)return!0}return this.o.push(n),!1},n.prototype.unmemoize=function(n){if(this.i)this.o.delete(n);else for(var t=0;t<this.o.length;t++)if(this.o[t]===n){this.o.splice(t,1);break}},n}();function D(n,t,r){if(t in n){var i=n[t],e=r(i);if("function"==typeof e)try{e.prototype=e.prototype||{},Object.defineProperties(e,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:i},__sentry_wrapped__:{enumerable:!1,value:e}})}catch(n){}n[t]=e}}function A(n){return function(n){return~-encodeURI(n).split(/%..|./).length}(JSON.stringify(n))}function M(n,t,r){void 0===t&&(t=3),void 0===r&&(r=102400);var i=F(n,t);return A(i)>r?M(n,t-1,r):i}function C(n,t){return"domain"===t&&"object"==typeof n&&n.u?"[Domain]":"domainEmitter"===t?"[DomainEmitter]":"undefined"!=typeof global&&n===global?"[Global]":"undefined"!=typeof window&&n===window?"[Window]":"undefined"!=typeof document&&n===document?"[Document]":"undefined"!=typeof Event&&n instanceof Event?Object.getPrototypeOf(n)?n.constructor.name:"Event":y(r=n)&&"nativeEvent"in r&&"preventDefault"in r&&"stopPropagation"in r?"[SyntheticEvent]":Number.isNaN(n)?"[NaN]":void 0===n?"[undefined]":"function"==typeof n?"[Function: "+(n.name||"<unknown-function-name>")+"]":n;var r}function L(n,t,r,i){if(void 0===r&&(r=1/0),void 0===i&&(i=new R),0===r)return function(n){var t=Object.prototype.toString.call(n);if("string"==typeof n)return n;if("[object Object]"===t)return"[Object]";if("[object Array]"===t)return"[Array]";var r=C(n);return m(r)?r:t}(t);if(null!=t&&"function"==typeof t.toJSON)return t.toJSON();var e=C(t,n);if(m(e))return e;var o=v(t)?function(n){var t={message:n.message,name:n.name,stack:n.stack};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t}(t):t,u=Array.isArray(t)?[]:{};if(i.memoize(t))return"[Circular ~]";for(var c in o)Object.prototype.hasOwnProperty.call(o,c)&&(u[c]=L(c,o[c],r-1,i));return i.unmemoize(t),u}function F(n,t){try{return JSON.parse(JSON.stringify(n,function(n,r){return L(n,r,t)}))}catch(n){return"**non-serializable**"}}var N,U=function(){function n(n){this.s=n,this.h=[]}return n.prototype.isReady=function(){return void 0===this.s||this.length()<this.s},n.prototype.add=function(n){return c(this,void 0,void 0,function(){var t=this;return s(this,function(r){return this.isReady()?(-1===this.h.indexOf(n)&&this.h.push(n),n.then(function(){return c(t,void 0,void 0,function(){return s(this,function(t){return[2,this.remove(n)]})})}).catch(function(){return c(t,void 0,void 0,function(){return s(this,function(t){return[2,this.remove(n).catch(function(){})]})})}),[2,n]):[2,Promise.reject(new h("Not adding Promise due to buffer limit reached."))]})})},n.prototype.remove=function(n){return c(this,void 0,void 0,function(){return s(this,function(t){return[2,this.h.splice(this.h.indexOf(n),1)[0]]})})},n.prototype.length=function(){return this.h.length},n.prototype.drain=function(n){return c(this,void 0,void 0,function(){var t=this;return s(this,function(r){return[2,new Promise(function(r){var i=setTimeout(function(){n&&n>0&&r(!1)},n);Promise.all(t.h).then(function(){clearTimeout(i),r(!0)}).catch(function(){r(!0)})})]})})},n}();function P(n,t){return void 0===t&&(t=0),0===t?n:n.length<=t?n:n.substr(0,t)+"..."}function $(n,t){if(!Array.isArray(n))return"";for(var r=[],i=0;i<n.length;i++){var e=n[i];try{r.push(String(e))}catch(n){r.push("[value cannot be serialized]")}}return r.join(t)}function q(n,t){if(void 0===t&&(t=40),!n.length)return"[object has no keys]";if(n[0].length>=t)return P(n[0],t);for(var r=n.length;r>0;r--){var i=n.slice(0,r).join(", ");if(!(i.length>t))return r===n.length?i:P(i,t)}return""}function H(n,t){return r=t,"[object RegExp]"===Object.prototype.toString.call(r)?t.test(n):"string"==typeof t&&n.includes(t);var r}function W(){if(!("fetch"in g()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(n){return!1}}function B(){if(!W())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(n){return!1}}!function(n){n.P="P",n.O="O",n.E="E"}(N||(N={}));var X=function(){function n(n){var t=this;this.v=N.P,this.l=[],this.p=function(n){t.m(n,N.O)},this.g=function(n){t.m(n,N.E)},this.m=function(n,r){t.v===N.P&&(b(n)?n.then(t.p,t.g):(t.j=n,t.v=r,t._()))},this._=function(){t.v!==N.P&&(t.v===N.E?t.l.forEach(function(n){return n.onFail&&n.onFail(t.j)}):t.l.forEach(function(n){return n.onSuccess&&n.onSuccess(t.j)}),t.l=[])},this.S=function(n){t.l=t.l.concat(n),t._()};try{n(this.p,this.g)}catch(n){this.g(n)}}return n.prototype.then=function(t,r){var i=this;return new n(function(n,e){i.S({onFail:function(t){if(r)try{return void n(r(t))}catch(n){return void e(n)}else e(t)},onSuccess:function(r){if(t)try{return void n(t(r))}catch(n){return void e(n)}else n(r)}})})},n.prototype.catch=function(n){return this.then(function(n){return n},n)},n.prototype.toString=function(){return"[object SyncPromise]"},n.resolve=function(t){return new n(function(n){n(t)})},n.reject=function(t){return new n(function(n,r){r(t)})},n}(),G=/([0-9a-f]{2})-([0-9a-f]{32})-([0-9a-f]{16})-([0-9a-f]{2})/,J=function(){function n(n,t,r,i){void 0===n&&(n=E()),void 0===t&&(t=E().substring(16)),void 0===r&&(r=!1),this.k=n,this.T=t,this.I=r,this.R=i}return n.fromTraceparent=function(t){var r=t.match(G);if(r){var i=new n(r[2],r[3],"01"===r[4]);return new n(r[2],void 0,void 0,i)}},n.prototype.toTraceparent=function(){return"00-"+this.k+"-"+this.T+"-"+(this.I?"01":"00")},n.prototype.toJSON=function(){return{parent:this.R&&this.R.toJSON()||void 0,span_id:this.T,trace_id:this.k}},n}(),z=function(){function n(){this.D=!1,this.A=[],this.M=[],this.C=[],this.L={},this.F={},this.N={},this.U={}}return n.prototype.addScopeListener=function(n){this.A.push(n)},n.prototype.addEventProcessor=function(n){return this.M.push(n),this},n.prototype.$=function(){var n=this;this.D||(this.D=!0,setTimeout(function(){n.A.forEach(function(t){t(n)}),n.D=!1}))},n.prototype.q=function(n,t,r,i){var e=this;return void 0===i&&(i=0),new X(function(o,c){var s=n[i];if(null===t||"function"!=typeof s)o(t);else{var a=s(u({},t),r);b(a)?a.then(function(t){return e.q(n,t,r,i+1).then(o)}).catch(c):e.q(n,a,r,i+1).then(o).catch(c)}})},n.prototype.setUser=function(n){return this.L=F(n),this.$(),this},n.prototype.setTags=function(n){return this.F=u({},this.F,F(n)),this.$(),this},n.prototype.setTag=function(n,t){var r;return this.F=u({},this.F,((r={})[n]=F(t),r)),this.$(),this},n.prototype.setExtras=function(n){return this.N=u({},this.N,F(n)),this.$(),this},n.prototype.setExtra=function(n,t){var r;return this.N=u({},this.N,((r={})[n]=F(t),r)),this.$(),this},n.prototype.setFingerprint=function(n){return this.H=F(n),this.$(),this},n.prototype.setLevel=function(n){return this.W=F(n),this.$(),this},n.prototype.setTransaction=function(n){return this.B=n,this.$(),this},n.prototype.setContext=function(n,t){return this.U[n]=t?F(t):void 0,this.$(),this},n.prototype.setSpanContext=function(n){return this.X=n,this.$(),this},n.prototype.startSpan=function(){var n=new J;return this.setSpanContext(n),n},n.prototype.getSpan=function(){return this.X},n.clone=function(t){var r=new n;return Object.assign(r,t,{A:[]}),t&&(r.C=f(t.C),r.F=u({},t.F),r.N=u({},t.N),r.U=u({},t.U),r.L=t.L,r.W=t.W,r.X=t.X,r.B=t.B,r.H=t.H,r.M=f(t.M)),r},n.prototype.clear=function(){return this.C=[],this.F={},this.N={},this.L={},this.U={},this.W=void 0,this.B=void 0,this.H=void 0,this.X=void 0,this.$(),this},n.prototype.addBreadcrumb=function(n,t){var r=(new Date).getTime()/1e3,i=u({timestamp:r},n);return this.C=void 0!==t&&t>=0?f(this.C,[F(i)]).slice(-t):f(this.C,[F(i)]),this.$(),this},n.prototype.clearBreadcrumbs=function(){return this.C=[],this.$(),this},n.prototype.G=function(n){n.fingerprint=n.fingerprint?Array.isArray(n.fingerprint)?n.fingerprint:[n.fingerprint]:[],this.H&&(n.fingerprint=n.fingerprint.concat(this.H)),n.fingerprint&&!n.fingerprint.length&&delete n.fingerprint},n.prototype.applyToEvent=function(n,t){return this.N&&Object.keys(this.N).length&&(n.extra=u({},this.N,n.extra)),this.F&&Object.keys(this.F).length&&(n.tags=u({},this.F,n.tags)),this.L&&Object.keys(this.L).length&&(n.user=u({},this.L,n.user)),this.U&&Object.keys(this.U).length&&(n.contexts=u({},this.U,n.contexts)),this.W&&(n.level=this.W),this.B&&(n.transaction=this.B),this.X&&(n.contexts=n.contexts||{},n.contexts.trace=this.X),this.G(n),n.breadcrumbs=f(n.breadcrumbs||[],this.C),n.breadcrumbs=n.breadcrumbs.length>0?n.breadcrumbs:void 0,this.q(f(K(),this.M),n,t)},n}();function K(){var n=g();return n.__SENTRY__=n.__SENTRY__||{},n.__SENTRY__.globalEventProcessors=n.__SENTRY__.globalEventProcessors||[],n.__SENTRY__.globalEventProcessors}function V(n){K().push(n)}var Z=3,Q=function(){function n(n,t,r){void 0===t&&(t=new z),void 0===r&&(r=Z),this.J=r,this.K=[],this.K.push({client:n,scope:t})}return n.prototype.V=function(n){for(var t,r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];var e=this.getStackTop();e&&e.client&&e.client[n]&&(t=e.client)[n].apply(t,f(r,[e.scope]))},n.prototype.isOlderThan=function(n){return this.J<n},n.prototype.bindClient=function(n){this.getStackTop().client=n},n.prototype.pushScope=function(){var n=this.getStack(),t=n.length>0?n[n.length-1].scope:void 0,r=z.clone(t);return this.getStack().push({client:this.getClient(),scope:r}),r},n.prototype.popScope=function(){return void 0!==this.getStack().pop()},n.prototype.withScope=function(n){var t=this.pushScope();try{n(t)}finally{this.popScope()}},n.prototype.getClient=function(){return this.getStackTop().client},n.prototype.getScope=function(){return this.getStackTop().scope},n.prototype.getStack=function(){return this.K},n.prototype.getStackTop=function(){return this.K[this.K.length-1]},n.prototype.captureException=function(n,t){var r=this.Z=E();return this.V("captureException",n,u({},t,{event_id:r})),r},n.prototype.captureMessage=function(n,t,r){var i=this.Z=E();return this.V("captureMessage",n,t,u({},r,{event_id:i})),i},n.prototype.captureEvent=function(n,t){var r=this.Z=E();return this.V("captureEvent",n,u({},t,{event_id:r})),r},n.prototype.lastEventId=function(){return this.Z},n.prototype.addBreadcrumb=function(n,t){var r=this.getStackTop();if(r.scope&&r.client){var i=r.client.getOptions&&r.client.getOptions()||{},e=i.beforeBreadcrumb,o=void 0===e?null:e,c=i.maxBreadcrumbs,s=void 0===c?30:c;if(!(s<=0)){var a=(new Date).getTime()/1e3,f=u({timestamp:a},n),h=o?_(function(){return o(f,t)}):f;null!==h&&r.scope.addBreadcrumb(h,Math.min(s,100))}}},n.prototype.configureScope=function(n){var t=this.getStackTop();t.scope&&t.client&&n(t.scope)},n.prototype.run=function(n){var t=nn(this);try{n(this)}finally{nn(t)}},n.prototype.getIntegration=function(n){var t=this.getClient();if(!t)return null;try{return t.getIntegration(n)}catch(t){return I.warn("Cannot retrieve integration "+n.id+" from the current Hub"),null}},n.prototype.traceHeaders=function(){var n=this.getStackTop();if(n.scope&&n.client){var t=n.scope.getSpan();if(t)return{"sentry-trace":t.toTraceparent()}}return{}},n}();function Y(){var n=g();return n.__SENTRY__=n.__SENTRY__||{hub:void 0},n}function nn(n){var t=Y(),r=en(t);return on(t,n),r}function tn(){var n,t,r=Y();rn(r)&&!en(r).isOlderThan(Z)||on(r,new Q);try{var i=(n=module,t="domain",n.require(t)).active;if(!i)return en(r);if(!rn(i)||en(i).isOlderThan(Z)){var e=en(r).getStackTop();on(i,new Q(e.client,z.clone(e.scope)))}return en(i)}catch(n){return en(r)}}function rn(n){return!!(n&&n.__SENTRY__&&n.__SENTRY__.hub)}function en(n){return n&&n.__SENTRY__&&n.__SENTRY__.hub?n.__SENTRY__.hub:(n.__SENTRY__=n.__SENTRY__||{},n.__SENTRY__.hub=new Q,n.__SENTRY__.hub)}function on(n,t){return!!n&&(n.__SENTRY__=n.__SENTRY__||{},n.__SENTRY__.hub=t,!0)}function un(n){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var i=tn();if(i&&i[n])return i[n].apply(i,f(t));throw new Error("No hub defined or "+n+" was not found on the hub, please open a bug report.")}function captureException(n){var t;try{throw new Error("Sentry syntheticException")}catch(n){t=n}return un("captureException",n,{originalException:n,syntheticException:t})}function cn(n){un("withScope",n)}var sn=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w\.-]+)(?::(\d+))?\/(.+)/,an=function(){function n(n){"string"==typeof n?this.Y(n):this.nn(n),this.tn()}return n.prototype.toString=function(n){void 0===n&&(n=!1);var t=this,r=t.host,i=t.path,e=t.pass,o=t.port,u=t.projectId;return t.protocol+"://"+t.user+(n&&e?":"+e:"")+"@"+r+(o?":"+o:"")+"/"+(i?i+"/":i)+u},n.prototype.Y=function(n){var t=sn.exec(n);if(!t)throw new h("Invalid Dsn");var r=a(t.slice(1),6),i=r[0],e=r[1],o=r[2],u=void 0===o?"":o,c=r[3],s=r[4],f=void 0===s?"":s,v="",l=r[5],d=l.split("/");d.length>1&&(v=d.slice(0,-1).join("/"),l=d.pop()),Object.assign(this,{host:c,pass:u,path:v,projectId:l,port:f,protocol:i,user:e})},n.prototype.nn=function(n){this.protocol=n.protocol,this.user=n.user,this.pass=n.pass||"",this.host=n.host,this.port=n.port||"",this.path=n.path||"",this.projectId=n.projectId},n.prototype.tn=function(){var n=this;if(["protocol","user","host","projectId"].forEach(function(t){if(!n[t])throw new h("Invalid Dsn")}),"http"!==this.protocol&&"https"!==this.protocol)throw new h("Invalid Dsn");if(this.port&&Number.isNaN(parseInt(this.port,10)))throw new h("Invalid Dsn")},n}(),fn=function(){function n(n){this.dsn=n,this.rn=new an(n)}return n.prototype.getDsn=function(){return this.rn},n.prototype.getStoreEndpoint=function(){return""+this.in()+this.getStoreEndpointPath()},n.prototype.getStoreEndpointWithUrlEncodedAuth=function(){var n,t={sentry_key:this.rn.user,sentry_version:"7"};return this.getStoreEndpoint()+"?"+(n=t,Object.keys(n).map(function(t){return encodeURIComponent(t)+"="+encodeURIComponent(n[t])}).join("&"))},n.prototype.in=function(){var n=this.rn,t=n.protocol?n.protocol+":":"",r=n.port?":"+n.port:"";return t+"//"+n.host+r},n.prototype.getStoreEndpointPath=function(){var n=this.rn;return(n.path?"/"+n.path:"")+"/api/"+n.projectId+"/store/"},n.prototype.getRequestHeaders=function(n,t){var r=this.rn,i=["Sentry sentry_version=7"];return i.push("sentry_timestamp="+(new Date).getTime()),i.push("sentry_client="+n+"/"+t),i.push("sentry_key="+r.user),r.pass&&i.push("sentry_secret="+r.pass),{"Content-Type":"application/json","X-Sentry-Auth":i.join(", ")}},n.prototype.getReportDialogEndpoint=function(n){void 0===n&&(n={});var t=this.rn,r=this.in()+(t.path?"/"+t.path:"")+"/api/embed/error-page/",i=[];for(var e in i.push("dsn="+t.toString()),n)if("user"===e){if(!n.user)continue;n.user.name&&i.push("name="+encodeURIComponent(n.user.name)),n.user.email&&i.push("email="+encodeURIComponent(n.user.email))}else i.push(encodeURIComponent(e)+"="+encodeURIComponent(n[e]));return i.length?r+"?"+i.join("&"):r},n}(),hn=[];function vn(n){var t={};return function(n){var t=n.defaultIntegrations&&f(n.defaultIntegrations)||[],r=n.integrations,i=[];if(Array.isArray(r)){var e=r.map(function(n){return n.name}),o=[];t.forEach(function(n){-1===e.indexOf(n.name)&&-1===o.indexOf(n.name)&&(i.push(n),o.push(n.name))}),r.forEach(function(n){-1===o.indexOf(n.name)&&(i.push(n),o.push(n.name))})}else{if("function"!=typeof r)return f(t);i=r(t),i=Array.isArray(i)?i:[i]}return i}(n).forEach(function(n){t[n.name]=n,function(n){-1===hn.indexOf(n.name)&&(n.setupOnce(V,tn),hn.push(n.name),I.log("Integration installed: "+n.name))}(n)}),t}var ln,dn=function(){function n(n,t){this.en=!1,this.on=new n(t),this.un=t,t.dsn&&(this.cn=new an(t.dsn)),this.sn=vn(this.un)}return n.prototype.captureException=function(n,t,r){var i=this,e=t&&t.event_id;return this.en=!0,this.an().eventFromException(n,t).then(function(n){return i.fn(n,t,r)}).then(function(n){e=n&&n.event_id,i.en=!1}).catch(function(n){I.error(n),i.en=!1}),e},n.prototype.captureMessage=function(n,t,r,i){var e=this,o=r&&r.event_id;return this.en=!0,(m(n)?this.an().eventFromMessage(""+n,t,r):this.an().eventFromException(n,r)).then(function(n){return e.fn(n,r,i)}).then(function(n){o=n&&n.event_id,e.en=!1}).catch(function(n){I.error(n),e.en=!1}),o},n.prototype.captureEvent=function(n,t,r){var i=this,e=t&&t.event_id;return this.en=!0,this.fn(n,t,r).then(function(n){e=n&&n.event_id,i.en=!1}).catch(function(n){I.error(n),i.en=!1}),e},n.prototype.getDsn=function(){return this.cn},n.prototype.getOptions=function(){return this.un},n.prototype.flush=function(n){return c(this,void 0,void 0,function(){var t,r;return s(this,function(i){switch(i.label){case 0:return[4,this.hn(n)];case 1:return t=i.sent(),this.vn&&clearInterval(this.vn),[4,this.an().getTransport().close(n)];case 2:return r=i.sent(),[2,t&&r]}})})},n.prototype.close=function(n){return c(this,void 0,void 0,function(){var t;return s(this,function(r){switch(r.label){case 0:return[4,this.flush(n)];case 1:return t=r.sent(),this.getOptions().enabled=!1,[2,t]}})})},n.prototype.getIntegrations=function(){return this.sn||{}},n.prototype.getIntegration=function(n){try{return this.sn[n.id]||null}catch(t){return I.warn("Cannot retrieve integration "+n.id+" from the current Client"),null}},n.prototype.hn=function(n){return c(this,void 0,void 0,function(){var t=this;return s(this,function(r){return[2,new Promise(function(r){var i=0;t.vn&&clearInterval(t.vn),t.vn=setInterval(function(){t.en?(i+=1,n&&i>=n&&r(!1)):r(!0)},1)})]})})},n.prototype.an=function(){return this.on},n.prototype.ln=function(){return!1!==this.getOptions().enabled&&void 0!==this.cn},n.prototype.dn=function(n,t,r){var i=this.getOptions(),e=i.environment,o=i.release,c=i.dist,s=i.maxValueLength,a=void 0===s?250:s,f=u({},n);void 0===f.environment&&void 0!==e&&(f.environment=e),void 0===f.release&&void 0!==o&&(f.release=o),void 0===f.dist&&void 0!==c&&(f.dist=c),f.message&&(f.message=P(f.message,a));var h=f.exception&&f.exception.values&&f.exception.values[0];h&&h.value&&(h.value=P(h.value,a));var v=f.request;v&&v.url&&(v.url=P(v.url,a)),void 0===f.event_id&&(f.event_id=E()),this.pn(f.sdk);var l=X.resolve(f);return t&&(l=t.applyToEvent(f,r)),l},n.prototype.pn=function(n){var t=Object.keys(this.sn);n&&t.length>0&&(n.integrations=t)},n.prototype.fn=function(n,t,r){var i=this,e=this.getOptions(),o=e.beforeSend,u=e.sampleRate;return this.ln()?"number"==typeof u&&Math.random()>u?X.reject("This event has been sampled, will not send event."):new X(function(e,u){i.dn(n,r,t).then(function(n){if(null!==n){var r=n;try{if(t&&t.data&&!0===t.data.__sentry__||!o)return i.an().sendEvent(r),void e(r);var c=o(n,t);if(void 0===c)I.error("`beforeSend` method has to return `null` or a valid event.");else if(b(c))i.mn(c,e,u);else{if(null===(r=c))return I.log("`beforeSend` returned `null`, will not send event."),void e(null);i.an().sendEvent(r),e(r)}}catch(n){i.captureException(n,{data:{__sentry__:!0},originalException:n}),u("`beforeSend` throw an error, will not send event.")}}else u("An event processor returned null, will not send event.")})}):X.reject("SDK not enabled, will not send event.")},n.prototype.mn=function(n,t,r){var i=this;n.then(function(n){null!==n?(i.an().sendEvent(n),t(n)):r("`beforeSend` returned `null`, will not send event.")}).catch(function(n){r("beforeSend rejected with "+n)})},n}(),pn=function(){function t(){}return t.prototype.sendEvent=function(t){return c(this,void 0,void 0,function(){return s(this,function(t){return[2,Promise.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:n.Status.Skipped})]})})},t.prototype.close=function(n){return c(this,void 0,void 0,function(){return s(this,function(n){return[2,Promise.resolve(!0)]})})},t}(),mn=function(){function n(n){this.un=n,this.un.dsn||I.warn("No DSN provided, backend will not do anything."),this.yn=this.bn()}return n.prototype.bn=function(){return new pn},n.prototype.eventFromException=function(n,t){throw new h("Backend has to implement `eventFromException` method")},n.prototype.eventFromMessage=function(n,t,r){throw new h("Backend has to implement `eventFromMessage` method")},n.prototype.sendEvent=function(n){this.yn.sendEvent(n).catch(function(n){I.error("Error while sending event: "+n)})},n.prototype.getTransport=function(){return this.yn},n}();var yn=function(){function n(){this.name=n.id}return n.prototype.setupOnce=function(){ln=Function.prototype.toString,Function.prototype.toString=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];var r=this.__sentry__?this.__sentry_original__:this;return ln.apply(r,n)}},n.id="FunctionToString",n}(),bn=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],wn=function(){function n(t){void 0===t&&(t={}),this.un=t,this.name=n.id}return n.prototype.setupOnce=function(){V(function(t){var r=tn();if(!r)return t;var i=r.getIntegration(n);if(i){var e=r.getClient(),o=e?e.getOptions():{},u=i.wn(o);if(i.gn(t,u))return null}return t})},n.prototype.gn=function(n,t){return this.En(n,t)?(I.warn("Event dropped due to being internal Sentry Error.\nEvent: "+x(n)),!0):this.jn(n,t)?(I.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+x(n)),!0):this.xn(n,t)?(I.warn("Event dropped due to being matched by `blacklistUrls` option.\nEvent: "+x(n)+".\nUrl: "+this._n(n)),!0):!this.Sn(n,t)&&(I.warn("Event dropped due to not being matched by `whitelistUrls` option.\nEvent: "+x(n)+".\nUrl: "+this._n(n)),!0)},n.prototype.En=function(n,t){if(void 0===t&&(t={}),!t.ignoreInternal)return!1;try{return"SentryError"===n.exception.values[0].type}catch(n){return!1}},n.prototype.jn=function(n,t){return void 0===t&&(t={}),!(!t.ignoreErrors||!t.ignoreErrors.length)&&this.On(n).some(function(n){return t.ignoreErrors.some(function(t){return H(n,t)})})},n.prototype.xn=function(n,t){if(void 0===t&&(t={}),!t.blacklistUrls||!t.blacklistUrls.length)return!1;var r=this._n(n);return!!r&&t.blacklistUrls.some(function(n){return H(r,n)})},n.prototype.Sn=function(n,t){if(void 0===t&&(t={}),!t.whitelistUrls||!t.whitelistUrls.length)return!0;var r=this._n(n);return!r||t.whitelistUrls.some(function(n){return H(r,n)})},n.prototype.wn=function(n){return void 0===n&&(n={}),{blacklistUrls:f(this.un.blacklistUrls||[],n.blacklistUrls||[]),ignoreErrors:f(this.un.ignoreErrors||[],n.ignoreErrors||[],bn),ignoreInternal:void 0===this.un.ignoreInternal||this.un.ignoreInternal,whitelistUrls:f(this.un.whitelistUrls||[],n.whitelistUrls||[])}},n.prototype.On=function(n){if(n.message)return[n.message];if(n.exception)try{var t=n.exception.values[0],r=t.type,i=t.value;return[""+i,r+": "+i]}catch(t){return I.error("Cannot extract message for event "+x(n)),[]}return[]},n.prototype._n=function(n){try{if(n.stacktrace){var t=n.stacktrace.frames;return t[t.length-1].filename}if(n.exception){var r=n.exception.values[0].stacktrace.frames;return r[r.length-1].filename}return null}catch(t){return I.error("Cannot extract url for event "+x(n)),null}},n.id="InboundFilters",n}(),gn=Object.freeze({FunctionToString:yn,InboundFilters:wn}),En=g(),jn={kn:!1,Tn:!1,In:!1,Rn:!1},xn="?",_n=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function Sn(n,t){return Object.prototype.hasOwnProperty.call(n,t)}function On(){return"undefined"==typeof document||null==document.location?"":document.location.href}jn.kn=function(){var n,t,r=[],i=null,e=null;function o(n,t,i){var e=null;if(!t||jn.Tn){for(var o in r)if(Sn(r,o))try{r[o](n,t,i)}catch(n){e=n}if(e)throw e}}function c(t,r,i,c,s){var f=null;if(s=l(s)?s.error:s,t=l(t)?t.message:t,e)jn.In.Dn(e,r,i,t),a();else if(s&&v(s))(f=jn.In(s)).mechanism="onerror",o(f,!0,s);else{var h,d={url:r,line:i,column:c},p=t;if("[object String]"==={}.toString.call(t)){var m=t.match(_n);m&&(h=m[1],p=m[2])}d.func=xn,d.context=null,o(f={name:h,message:p,mode:"onerror",mechanism:"onerror",stack:[u({},d,{url:d.url||On()})]},!0,null)}return!!n&&n.apply(this,arguments)}function s(n){var t=n&&(n.detail?n.detail.reason:n.reason)||n,r=jn.In(t);r.mechanism="onunhandledrejection",o(r,!0,t)}function a(){var n=e,t=i;e=null,i=null,o(n,!1,t)}function f(n){if(e){if(i===n)return;a()}var t=jn.In(n);throw e=t,i=n,setTimeout(function(){i===n&&a()},t.incomplete?2e3:0),n}return f.An=function(n){r.push(n)},f.Mn=function(){!0!==t&&(n=En.onerror,En.onerror=c,t=!0)},f.Cn=function(){En.onunhandledrejection=s},f}(),jn.In=function(){function n(n){if(!n.stack)return null;for(var t,r,i,e=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|[a-z]:|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,o=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,u=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,c=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,s=/\((\S*)(?::(\d+))(?::(\d+))\)/,a=n.stack.split("\n"),f=[],h=/^(.*) is undefined$/.exec(n.message),v=0,l=a.length;v<l;++v){if(r=e.exec(a[v])){var d=r[2]&&0===r[2].indexOf("native");r[2]&&0===r[2].indexOf("eval")&&(t=s.exec(r[2]))&&(r[2]=t[1]),i={url:d?null:r[2],func:r[1]||xn,args:d?[r[2]]:[],line:r[3]?+r[3]:null,column:r[4]?+r[4]:null}}else if(r=u.exec(a[v]))i={url:r[2],func:r[1]||xn,args:[],line:+r[3],column:r[4]?+r[4]:null};else{if(!(r=o.exec(a[v])))continue;r[3]&&r[3].indexOf(" > eval")>-1&&(t=c.exec(r[3]))?r[3]=t[1]:0!==v||r[5]||void 0===n.columnNumber||(f[0].column=n.columnNumber+1),i={url:r[3],func:r[1]||xn,args:r[2]?r[2].split(","):[],line:r[4]?+r[4]:null,column:r[5]?+r[5]:null}}!i.func&&i.line&&(i.func=xn),i.context=null,f.push(i)}return f.length?(f[0]&&f[0].line&&!f[0].column&&h&&(f[0].column=null),{mode:"stack",name:n.name,message:n.message,stack:f}):null}function t(n,t,r,i){var e={url:t,line:r};if(e.url&&e.line){if(n.incomplete=!1,e.func||(e.func=xn),e.context||(e.context=null),/ '([^']+)' /.exec(i)&&(e.column=null),n.stack.length>0&&n.stack[0].url===e.url){if(n.stack[0].line===e.line)return!1;if(!n.stack[0].line&&n.stack[0].func===e.func)return n.stack[0].line=e.line,n.stack[0].context=e.context,!1}return n.stack.unshift(e),n.partial=!0,!0}return n.incomplete=!0,!1}function r(n,i){for(var e,o,u=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,c=[],s={},a=!1,f=r.caller;f&&!a;f=f.caller)if(f!==Rn&&f!==jn.kn){if(o={url:null,func:xn,args:[],line:null,column:null},f.name?o.func=f.name:(e=u.exec(f.toString()))&&(o.func=e[1]),void 0===o.func)try{o.func=e.input.substring(0,e.input.indexOf("{"))}catch(n){}s[""+f]?a=!0:s[""+f]=!0,c.push(o)}i&&c.splice(0,i);var h={mode:"callers",name:n.name,message:n.message,stack:c};return t(h,n.sourceURL||n.fileName,n.line||n.lineNumber,n.message||n.description),h}function i(t,i){var e=null;i=null==i?0:+i;try{if(e=function(n){var t=n.stacktrace;if(t){for(var r,i=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,e=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^\)]+))\((.*)\))? in (.*):\s*$/i,o=t.split("\n"),u=[],c=0;c<o.length;c+=2){var s=null;(r=i.exec(o[c]))?s={url:r[2],line:+r[1],column:null,func:r[3],args:[]}:(r=e.exec(o[c]))&&(s={url:r[6],line:+r[1],column:+r[2],func:r[3]||r[4],args:r[5]?r[5].split(","):[]}),s&&(!s.func&&s.line&&(s.func=xn),s.line&&(s.context=null),s.context||(s.context=[o[c+1]]),u.push(s))}return u.length?{mode:"stacktrace",name:n.name,message:n.message,stack:u}:null}}(t))return e}catch(n){}try{if(e=n(t))return e}catch(n){}try{if(e=function(n){var t=n.message.split("\n");if(t.length<4)return null;var r,i=/^\s*Line (\d+) of linked script ((?:file|https?|blob)\S+)(?:: in function (\S+))?\s*$/i,e=/^\s*Line (\d+) of inline#(\d+) script in ((?:file|https?|blob)\S+)(?:: in function (\S+))?\s*$/i,o=/^\s*Line (\d+) of function script\s*$/i,u=[],c=En&&En.document&&En.document.getElementsByTagName("script"),s=[];for(var a in c)Sn(c,a)&&!c[a].src&&s.push(c[a]);for(var f=2;f<t.length;f+=2){var h=null;(r=i.exec(t[f]))?h={url:r[2],func:r[3],args:[],line:+r[1],column:null}:(r=e.exec(t[f]))?h={url:r[3],func:r[4],args:[],line:+r[1],column:null}:(r=o.exec(t[f]))&&(h={url:On().replace(/#.*$/,""),func:"",args:[],line:r[1],column:null}),h&&(h.func||(h.func=xn),h.context=[t[f+1]],u.push(h))}return u.length?{mode:"multiline",name:n.name,message:t[0],stack:u}:null}(t))return e}catch(n){}try{if(e=r(t,i+1))return e}catch(n){}return{original:t,name:t.name,message:t.message,mode:"failed"}}return i.Dn=t,i.Ln=n,i}(),jn.Tn=!0,jn.Rn=11;var kn=jn.kn.An,Tn=jn.kn.Mn,In=jn.kn.Cn,Rn=jn.In,Dn=50;function An(n){var t=Cn(n.stack),r={type:n.name,value:n.message};return t&&t.length&&(r.stacktrace={frames:t}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function Mn(n){return{exception:{values:[An(n)]}}}function Cn(n){if(!n||!n.length)return[];var t=n,r=t[0].func||"",i=t[t.length-1].func||"";return(r.includes("captureMessage")||r.includes("captureException"))&&(t=t.slice(1)),i.includes("sentryWrapped")&&(t=t.slice(0,-1)),t.map(function(n){return{colno:n.column,filename:n.url||t[0].url,function:n.func||"?",in_app:!0,lineno:n.line}}).slice(0,Dn).reverse()}var Ln,Fn,Nn=function(){function n(n){this.options=n,this.h=new U(30),this.url=new fn(this.options.dsn).getStoreEndpointWithUrlEncodedAuth()}return n.prototype.sendEvent=function(n){return c(this,void 0,void 0,function(){return s(this,function(n){throw new h("Transport Class has to implement `sendEvent` method")})})},n.prototype.close=function(n){return c(this,void 0,void 0,function(){return s(this,function(t){return[2,this.h.drain(n)]})})},n}(),Un=g(),Pn=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return r(i,t),i.prototype.sendEvent=function(t){return c(this,void 0,void 0,function(){var r;return s(this,function(i){return r={body:JSON.stringify(t),method:"POST",referrerPolicy:B()?"origin":""},[2,this.h.add(Un.fetch(this.url,r).then(function(t){return{status:n.Status.fromHttpCode(t.status)}}))]})})},i}(Nn),$n=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return r(i,t),i.prototype.sendEvent=function(t){return c(this,void 0,void 0,function(){var r=this;return s(this,function(i){return[2,this.h.add(new Promise(function(i,e){var o=new XMLHttpRequest;o.onreadystatechange=function(){4===o.readyState&&(200===o.status&&i({status:n.Status.fromHttpCode(o.status)}),e(o))},o.open("POST",r.url),o.send(JSON.stringify(t))}))]})})},i}(Nn),qn=Object.freeze({BaseTransport:Nn,FetchTransport:Pn,XHRTransport:$n}),Hn=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return r(i,t),i.prototype.bn=function(){if(!this.un.dsn)return t.prototype.bn.call(this);var n=this.un.transportOptions?this.un.transportOptions:{dsn:this.un.dsn};return this.un.transport?new this.un.transport(n):W()?new Pn(n):new $n(n)},i.prototype.eventFromException=function(t,r){var i,e,o=this;if(l(t)&&t.error)return t=t.error,i=Mn(Rn(t)),X.resolve(this.Fn(i,r));if(d(t)||(e=t,"[object DOMException]"===Object.prototype.toString.call(e))){var u=t,c=u.name||(d(u)?"DOMError":"DOMException"),s=u.message?c+": "+u.message:c;return this.eventFromMessage(s,n.Severity.Error,r).then(function(n){return S(n,s),X.resolve(o.Fn(n,r))})}if(v(t))return i=Mn(Rn(t)),X.resolve(this.Fn(i,r));if(y(t)&&r&&r.syntheticException)return S(i=function(n,t){var r=Object.keys(n).sort(),i={extra:{__serialized__:M(n)},message:"Non-Error exception captured with keys: "+q(r)};if(t){var e=Cn(Rn(t).stack);i.stacktrace={frames:e}}return i}(t,r.syntheticException),"Custom Object",void 0,{handled:!0,synthetic:!0,type:"generic"}),i.level=n.Severity.Error,X.resolve(this.Fn(i,r));var a=t;return this.eventFromMessage(a,void 0,r).then(function(t){return S(t,""+a,void 0,{handled:!0,synthetic:!0,type:"generic"}),t.level=n.Severity.Error,X.resolve(o.Fn(t,r))})},i.prototype.Fn=function(n,t){return u({},n,{event_id:t&&t.event_id})},i.prototype.eventFromMessage=function(t,r,i){void 0===r&&(r=n.Severity.Info);var e={event_id:i&&i.event_id,level:r,message:t};if(this.un.attachStacktrace&&i&&i.syntheticException){var o=Cn(Rn(i.syntheticException).stack);e.stacktrace={frames:o}}return X.resolve(e)},i}(mn),Wn="sentry.javascript.browser",Bn=function(n){function t(t){return void 0===t&&(t={}),n.call(this,Hn,t)||this}return r(t,n),t.prototype.dn=function(t,r,i){return t.platform=t.platform||"javascript",t.sdk=u({},t.sdk,{name:Wn,packages:f(t.sdk&&t.sdk.packages||[],[{name:"npm:@sentry/browser",version:"5.2.0-beta.0"}]),version:"5.2.0-beta.0"}),n.prototype.dn.call(this,t,r,i)},t.prototype.showReportDialog=function(n){void 0===n&&(n={});var t=g().document;if(t)if(this.ln()){var r=n.dsn||this.getDsn();if(n.eventId)if(r){var i=t.createElement("script");i.async=!0,i.src=new fn(r).getReportDialogEndpoint(n),(t.head||t.body).appendChild(i)}else I.error("Missing `Dsn` option in showReportDialog call");else I.error("Missing `eventId` option in showReportDialog call")}else I.error("Trying to call showReportDialog with Sentry Client is disabled")},t}(dn),Xn=1e3,Gn=0;function Jn(n,t,r){if(void 0===t&&(t={}),"function"!=typeof n)return n;try{if(n.__sentry__)return n;if(n.__sentry_wrapped__)return n.__sentry_wrapped__}catch(t){return n}var sentryWrapped=function(){r&&"function"==typeof r&&r.apply(this,arguments);var i=Array.prototype.slice.call(arguments);try{var e=i.map(function(n){return Jn(n,t)});return n.handleEvent?n.handleEvent.apply(this,e):n.apply(this,e)}catch(n){throw Gn+=1,setTimeout(function(){Gn-=1}),cn(function(r){r.addEventProcessor(function(n){var r=u({},n);return t.mechanism&&S(r,void 0,void 0,t.mechanism),r.extra=u({},r.extra,{arguments:F(i,3)}),r}),captureException(n)}),n}};try{for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(sentryWrapped[i]=n[i])}catch(n){}n.prototype=n.prototype||{},sentryWrapped.prototype=n.prototype,Object.defineProperty(n,"__sentry_wrapped__",{enumerable:!1,value:sentryWrapped}),Object.defineProperties(sentryWrapped,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:n}});try{Object.defineProperty(sentryWrapped,"name",{get:function(){return n.name}})}catch(n){}return sentryWrapped}var zn=0;function Kn(n,t){return void 0===t&&(t=!1),function(r){if(Ln=void 0,r&&Fn!==r){Fn=r;var i=function(){var t;try{t=r.target?Zn(r.target):Zn(r)}catch(n){t="<unknown>"}0!==t.length&&tn().addBreadcrumb({category:"ui."+n,message:t},{event:r,name:n})};zn&&clearTimeout(zn),t?zn=setTimeout(i):i()}}}function Vn(){return function(n){var t;try{t=n.target}catch(n){return}var r=t&&t.tagName;r&&("INPUT"===r||"TEXTAREA"===r||t.isContentEditable)&&(Ln||Kn("input")(n),clearTimeout(Ln),Ln=setTimeout(function(){Ln=void 0},Xn))}}function Zn(n){for(var t,r=n,i=[],e=0,o=0,u=" > ".length;r&&e++<5&&!("html"===(t=Qn(r))||e>1&&o+i.length*u+t.length>=80);)i.push(t),o+=t.length,r=r.parentNode;return i.reverse().join(" > ")}function Qn(n){var t,r,i,e,o,u=[];if(!n||!n.tagName)return"";if(u.push(n.tagName.toLowerCase()),n.id&&u.push("#"+n.id),(t=n.className)&&p(t))for(r=t.split(/\s+/),o=0;o<r.length;o++)u.push("."+r[o]);var c=["type","name","title","alt"];for(o=0;o<c.length;o++)i=c[o],(e=n.getAttribute(i))&&u.push("["+i+'="'+e+'"]');return u.join("")}var Yn=function(){function n(t){this.name=n.id,this.un=u({onerror:!0,onunhandledrejection:!0},t)}return n.prototype.setupOnce=function(){Error.stackTraceLimit=50,kn(function(t,r,i){if(!(Gn>0)){var e=tn().getIntegration(n);e&&tn().captureEvent(e.Nn(t),{data:{stack:t},originalException:i})}}),this.un.onerror&&(I.log("Global Handler attached: onerror"),Tn()),this.un.onunhandledrejection&&(I.log("Global Handler attached: onunhandledrejection"),In())},n.prototype.Nn=function(n){var t=Mn(n),r={mode:n.mode};n.message&&(r.message=n.message),n.name&&(r.name=n.name);var i=tn().getClient(),e=i&&i.getOptions().maxValueLength||250;return S(t,n.original?P(JSON.stringify(F(n.original)),e):"","onunhandledrejection"===n.mechanism?"UnhandledRejection":"Error",{data:r,handled:!1,type:n.mechanism}),t},n.id="GlobalHandlers",n}(),nt=function(){function n(){this.Un=0,this.name=n.id}return n.prototype.Pn=function(n){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var i=t[0];return t[0]=Jn(i,{mechanism:{data:{function:tt(n)},handled:!0,type:"instrument"}}),n.apply(this,t)}},n.prototype.$n=function(n){return function(t){return n(Jn(t,{mechanism:{data:{function:"requestAnimationFrame",handler:tt(n)},handled:!0,type:"instrument"}}))}},n.prototype.qn=function(n){var t=g(),r=t[n]&&t[n].prototype;r&&r.hasOwnProperty&&r.hasOwnProperty("addEventListener")&&(D(r,"addEventListener",function(t){return function(r,i,e){try{i.handleEvent=Jn(i.handleEvent.bind(i),{mechanism:{data:{function:"handleEvent",handler:tt(i),target:n},handled:!0,type:"instrument"}})}catch(n){}return t.call(this,r,Jn(i,{mechanism:{data:{function:"addEventListener",handler:tt(i),target:n},handled:!0,type:"instrument"}}),e)}}),D(r,"removeEventListener",function(n){return function(t,r,i){var e=r;try{e=e&&(e.__sentry_wrapped__||e)}catch(n){}return n.call(this,t,e,i)}}))},n.prototype.setupOnce=function(){this.Un=this.Un;var n=g();D(n,"setTimeout",this.Pn.bind(this)),D(n,"setInterval",this.Pn.bind(this)),D(n,"requestAnimationFrame",this.$n.bind(this)),["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"].forEach(this.qn.bind(this))},n.id="TryCatch",n}();function tt(n){try{return n&&n.name||"<anonymous>"}catch(n){return"<anonymous>"}}var rt,it=g(),et=function(){function t(n){this.name=t.id,this.un=u({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},n)}return t.prototype.Hn=function(){"console"in it&&["debug","info","warn","error","log","assert"].forEach(function(r){r in it.console&&D(it.console,r,function(i){return function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];var u={category:"console",data:{extra:{arguments:F(e,3)},logger:"console"},level:n.Severity.fromString(r),message:$(e," ")};"assert"===r&&!1===e[0]&&(u.message="Assertion failed: "+($(e.slice(1)," ")||"console.assert"),u.data.extra.arguments=F(e.slice(1),3)),t.addBreadcrumb(u,{input:e,level:r}),i&&Function.prototype.apply.call(i,it.console,e)}})})},t.prototype.Wn=function(){"document"in it&&(it.document.addEventListener("click",Kn("click"),!1),it.document.addEventListener("keypress",Vn(),!1),["EventTarget","Node"].forEach(function(n){var t=it[n]&&it[n].prototype;t&&t.hasOwnProperty&&t.hasOwnProperty("addEventListener")&&(D(t,"addEventListener",function(n){return function(t,r,i){return r&&r.handleEvent?("click"===t&&D(r,"handleEvent",function(n){return function(t){return Kn("click")(t),n.call(this,t)}}),"keypress"===t&&D(r,"handleEvent",Vn())):("click"===t&&Kn("click",!0)(this),"keypress"===t&&Vn()(this)),n.call(this,t,r,i)}}),D(t,"removeEventListener",function(n){return function(t,r,i){var e=r;try{e=e&&(e.__sentry_wrapped__||e)}catch(n){}return n.call(this,t,e,i)}}))}))},t.prototype.Bn=function(){W()&&-1!==g().fetch.toString().indexOf("native")&&D(it,"fetch",function(r){return function(){for(var i=[],e=0;e<arguments.length;e++)i[e]=arguments[e];var o,u=i[0],c="GET";"string"==typeof u?o=u:"Request"in it&&u instanceof Request?(o=u.url,u.method&&(c=u.method)):o=String(u),i[1]&&i[1].method&&(c=i[1].method);var s=tn().getClient(),a=s&&s.getDsn();if(a){var f=new fn(a).getStoreEndpoint();if(f&&o.includes(f))return"POST"===c&&i[1]&&i[1].body&&ot(i[1].body),r.apply(it,i)}var h={method:c,url:o};return r.apply(it,i).then(function(n){return h.status_code=n.status,t.addBreadcrumb({category:"fetch",data:h,type:"http"},{input:i,response:n}),n}).catch(function(r){throw t.addBreadcrumb({category:"fetch",data:h,level:n.Severity.Error,type:"http"},{error:r,input:i}),r})}})},t.prototype.Xn=function(){var n=this;if(r=g(),i=r.chrome,e=i&&i.app&&i.app.runtime,o="history"in r&&!!r.history.pushState&&!!r.history.replaceState,!e&&o){var r,i,e,o,u=function(n,r){var i=j(it.location.href),e=j(r),o=j(n);o.path||(o=i),rt=r,i.protocol===e.protocol&&i.host===e.host&&(r=e.relative),i.protocol===o.protocol&&i.host===o.host&&(n=o.relative),t.addBreadcrumb({category:"navigation",data:{from:n,to:r}})},c=it.onpopstate;it.onpopstate=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var i=it.location.href;if(u(rt,i),c)return c.apply(n,t)},D(it.history,"pushState",s),D(it.history,"replaceState",s)}function s(n){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var i=t.length>2?t[2]:void 0;return i&&u(rt,String(i)),n.apply(this,t)}}},t.prototype.Gn=function(){if("XMLHttpRequest"in it){var n=XMLHttpRequest.prototype;D(n,"open",function(n){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var i=t[1];this.__sentry_xhr__={method:t[0],url:t[1]};var e=tn().getClient(),o=e&&e.getDsn();if(o){var u=new fn(o).getStoreEndpoint();p(i)&&u&&i.includes(u)&&(this.__sentry_own_request__=!0)}return n.apply(this,t)}}),D(n,"send",function(n){return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var e=this;function o(){if(4===e.readyState){if(e.__sentry_own_request__)return;try{e.__sentry_xhr__&&(e.__sentry_xhr__.status_code=e.status)}catch(n){}t.addBreadcrumb({category:"xhr",data:e.__sentry_xhr__,type:"http"},{xhr:e})}}return e.__sentry_own_request__&&ot(r[0]),["onload","onerror","onprogress"].forEach(function(n){!function(n,t){n in t&&"function"==typeof t[n]&&D(t,n,function(t){return Jn(t,{mechanism:{data:{function:n,handler:t&&t.name||"<anonymous>"},handled:!0,type:"instrument"}})})}(n,e)}),"onreadystatechange"in e&&"function"==typeof e.onreadystatechange?D(e,"onreadystatechange",function(n){return Jn(n,{mechanism:{data:{function:"onreadystatechange",handler:n&&n.name||"<anonymous>"},handled:!0,type:"instrument"}},o)}):e.onreadystatechange=o,n.apply(this,r)}})}},t.addBreadcrumb=function(n,r){tn().getIntegration(t)&&tn().addBreadcrumb(n,r)},t.prototype.setupOnce=function(){this.un.console&&this.Hn(),this.un.dom&&this.Wn(),this.un.xhr&&this.Gn(),this.un.fetch&&this.Bn(),this.un.history&&this.Xn()},t.id="Breadcrumbs",t}();function ot(t){try{var r=JSON.parse(t);et.addBreadcrumb({category:"sentry",event_id:r.event_id,level:r.level||n.Severity.fromString("error"),message:x(r)},{event:r})}catch(n){I.error("Error while adding sentry type breadcrumb")}}var ut="cause",ct=5,st=function(){function n(t){void 0===t&&(t={}),this.name=n.id,this.Jn=t.key||ut,this.s=t.limit||ct}return n.prototype.setupOnce=function(){V(function(t,r){var i=tn().getIntegration(n);return i?i.zn(t,r):t})},n.prototype.zn=function(n,t){if(!(n.exception&&n.exception.values&&t&&t.originalException instanceof Error))return n;var r=this.Kn(t.originalException,this.Jn);return n.exception.values=f(r,n.exception.values),n},n.prototype.Kn=function(n,t,r){if(void 0===r&&(r=[]),!(n[t]instanceof Error)||r.length+1>=this.s)return r;var i=An(Rn(n[t]));return this.Kn(n[t],t,f([i],r))},n.id="LinkedErrors",n}(),at=g(),ft=function(){function n(){this.name=n.id}return n.prototype.setupOnce=function(){V(function(t){if(tn().getIntegration(n)){if(!at.navigator||!at.location)return t;var r=t.request||{};return r.url=r.url||at.location.href,r.headers=r.headers||{},r.headers["User-Agent"]=at.navigator.userAgent,u({},t,{request:r})}return t})},n.id="UserAgent",n}(),ht=Object.freeze({GlobalHandlers:Yn,TryCatch:nt,Breadcrumbs:et,LinkedErrors:st,UserAgent:ft}),vt=[new wn,new yn,new nt,new et,new Yn,new st,new ft];var lt={},dt=g();dt.Sentry&&dt.Sentry.Integrations&&(lt=dt.Sentry.Integrations);var pt=u({},lt,gn,ht);return n.BrowserClient=Bn,n.Hub=Q,n.Integrations=pt,n.SDK_NAME=Wn,n.SDK_VERSION="5.2.0-beta.0",n.Scope=z,n.Transports=qn,n.addBreadcrumb=function(n){un("addBreadcrumb",n)},n.addGlobalEventProcessor=V,n.captureEvent=function(n){return un("captureEvent",n)},n.captureException=captureException,n.captureMessage=function(n,t){var r;try{throw new Error(n)}catch(n){r=n}return un("captureMessage",n,t,{originalException:n,syntheticException:r})},n.close=function(n){return c(this,void 0,void 0,function(){var t;return s(this,function(r){return(t=tn().getClient())?[2,t.close(n)]:[2,Promise.reject(!1)]})})},n.configureScope=function(n){un("configureScope",n)},n.defaultIntegrations=vt,n.flush=function(n){return c(this,void 0,void 0,function(){var t;return s(this,function(r){return(t=tn().getClient())?[2,t.flush(n)]:[2,Promise.reject(!1)]})})},n.forceLoad=function(){},n.getCurrentHub=tn,n.getHubFromCarrier=en,n.init=function(n){void 0===n&&(n={}),void 0===n.defaultIntegrations&&(n.defaultIntegrations=vt),function(n,t){!0===t.debug&&I.enable(),tn().bindClient(new n(t))}(Bn,n)},n.lastEventId=function(){return tn().lastEventId()},n.onLoad=function(n){n()},n.showReportDialog=function(n){void 0===n&&(n={}),n.eventId||(n.eventId=tn().lastEventId());var t=tn().getClient();t&&t.showReportDialog(n)},n.withScope=cn,n}({});
//# sourceMappingURL=bundle.min.js.map
export declare const SDK_NAME = "sentry.javascript.browser";
export declare const SDK_VERSION = "5.1.2";
export declare const SDK_VERSION = "5.2.0-beta.0";
//# sourceMappingURL=version.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SDK_NAME = 'sentry.javascript.browser';
exports.SDK_VERSION = '5.1.2';
exports.SDK_VERSION = '5.2.0-beta.0';
//# sourceMappingURL=version.js.map
export declare const SDK_NAME = "sentry.javascript.browser";
export declare const SDK_VERSION = "5.1.2";
export declare const SDK_VERSION = "5.2.0-beta.0";
//# sourceMappingURL=version.d.ts.map
export var SDK_NAME = 'sentry.javascript.browser';
export var SDK_VERSION = '5.1.2';
export var SDK_VERSION = '5.2.0-beta.0';
//# sourceMappingURL=version.js.map
{
"name": "@sentry/browser",
"version": "5.1.2",
"version": "5.2.0-beta.0",
"description": "Official Sentry SDK for browsers",

@@ -19,5 +19,5 @@ "repository": "git://github.com/getsentry/sentry-javascript.git",

"dependencies": {
"@sentry/core": "5.1.2",
"@sentry/types": "5.1.0",
"@sentry/utils": "5.1.2",
"@sentry/core": "5.2.0-beta.0",
"@sentry/types": "5.2.0-beta.0",
"@sentry/utils": "5.2.0-beta.0",
"tslib": "^1.9.3"

@@ -28,5 +28,5 @@ },

"chai": "^4.1.2",
"jest": "^24.5.0",
"jsdom": "^14.0.0",
"karma": "^4.0.1",
"jest": "^24.7.1",
"jsdom": "^15.0.0",
"karma": "^4.1.0",
"karma-chai": "^0.1.0",

@@ -44,15 +44,15 @@ "karma-chrome-launcher": "^2.2.0",

"npm-run-all": "^4.1.2",
"prettier": "^1.16.4",
"prettier": "^1.17.0",
"prettier-check": "^2.0.0",
"rimraf": "^2.6.3",
"rollup": "^1.6.0",
"rollup-plugin-commonjs": "^9.2.1",
"rollup": "^1.10.1",
"rollup-plugin-commonjs": "^9.3.4",
"rollup-plugin-license": "^0.8.1",
"rollup-plugin-node-resolve": "^4.0.1",
"rollup-plugin-node-resolve": "^4.2.3",
"rollup-plugin-terser": "^4.0.4",
"rollup-plugin-typescript2": "^0.20.1",
"sinon": "^7.2.7",
"tslint": "^5.14.0",
"typescript": "^3.3.3333",
"webpack": "^4.29.6"
"rollup-plugin-typescript2": "^0.21.0",
"sinon": "^7.3.2",
"tslint": "^5.16.0",
"typescript": "^3.4.5",
"webpack": "^4.30.0"
},

@@ -59,0 +59,0 @@ "scripts": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc