FOrSafari:function(Re){var qe=Re.stack.split(`
`).filter(function($e){return!$e.match(de)},this);return qe.map(function($e){if($e.indexOf(" > eval")>-1&&($e=$e.replace(/ line (\d+)(?: > eval line \d+)* > eval\:\d+\:\d+/g,":$1")),$e.indexOf("@")===-1&&$e.indexOf(":")===-1)return new z({functionName:$e});var ot=/((.*".+"[^@]*)?[^@]*)(?:@)/,nt=$e.match(ot),vt=nt&&nt[1]?nt[1]:void 0,et=this.extractLocation($e.replace(ot,""));return new z({functionName:vt,fileName:et[0],lineNumber:et[1],columnNumber:et[2],source:$e})},this)},parseOpera:function(Re){return!Re.stacktrace||Re.message.indexOf(`
`)>-1&&Re.message.split(`
`).length>Re.stacktrace.split(`
`).length?this.parseOpera9(Re):Re.stack?this.parseOpera11(Re):this.parseOpera10(Re)},parseOpera9:function(Re){for(var qe=/Line (\d+).*script (?:in )?(\S+)/i,$e=Re.message.split(`
`),ot=[],nt=2,vt=$e.length;nt<vt;nt+=2){var et=qe.exec($e[nt]);et&&ot.push(new z({fileName:et[2],lineNumber:et[1],source:$e[nt]}))}return ot},parseOpera10:function(Re){for(var qe=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,$e=Re.stacktrace.split(`
`),ot=[],nt=0,vt=$e.length;nt<vt;nt+=2){var et=qe.exec($e[nt]);et&&ot.push(new z({functionName:et[3]||void 0,fileName:et[2],lineNumber:et[1],source:$e[nt]}))}return ot},parseOpera11:function(Re){var qe=Re.stack.split(`
`).filter(function($e){return!!$e.match(Y)&&!$e.match(/^Error created at/)},this);return qe.map(function($e){var ot=$e.split("@"),nt=this.extractLocation(ot.pop()),vt=ot.shift()||"",et=vt.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^\)]*\)/g,"")||void 0,Nt;vt.match(/\(([^\)]*)\)/)&&(Nt=vt.replace(/^[^\(]+\(([^\)]*)\)$/,"$1"));var Wt=Nt===void 0||Nt==="[arguments not available]"?void 0:Nt.split(",");return new z({functionName:et,args:Wt,fileName:nt[0],lineNumber:nt[1],columnNumber:nt[2],source:$e})},this)}}});var P=F,T=function(L,z,Y,j){var de=j&&j.redactedKeys?j.redactedKeys:[],be=j&&j.redactedPaths?j.redactedPaths:[];return JSON.stringify(le(L,de,be),z,Y)},x=20,I=25e3,B=8,O="...";function X(L){return L instanceof Error||/^\[object (Error|(Dom)?Exception)\]$/.test(Object.prototype.toString.call(L))}function q(L){return"[Throws: "+(L?L.message:"?")+"]"}function $(L,z){for(var Y=0,j=L.length;Y<j;Y++)if(L[Y]===z)return!0;return!1}function Q(L,z){for(var Y=0,j=L.length;Y<j;Y++)if(z.indexOf(L[Y])===0)return!0;return!1}function H(L,z){for(var Y=0,j=L.length;Y<j;Y++)if(typeof L[Y]=="string"&&L[Y].toLowerCase()===z.toLowerCase()||L[Y]&&typeof L[Y].test=="function"&&L[Y].test(z))return!0;return!1}function ve(L){return Object.prototype.toString.call(L)==="[object Array]"}function ge(L,z){try{return L[z]}catch(Y){return q(Y)}}function le(L,z,Y){var j=[],de=0;function be(Re,qe){function $e(){return qe.length>B&&de>I}if(de++,qe.length>x||$e())return O;if(Re===null||typeof Re!="object")return Re;if($(j,Re))return"[Circular]";if(j.push(Re),typeof Re.toJSON=="function")try{de--;var ot=be(Re.toJSON(),qe);return j.pop(),ot}catch(Bt){return q(Bt)}var nt=X(Re);if(nt){de--;var vt=be({name:Re.name,message:Re.message},qe);return j.pop(),vt}if(ve(Re)){for(var et=[],Nt=0,Wt=Re.length;Nt<Wt;Nt++){if($e()){et.push(O);break}et.push(be(Re[Nt],qe.concat("[]")))}return j.pop(),et}var kn={};try{for(var yt in Re)if(Object.prototype.hasOwnProperty.call(Re,yt)){if(Q(Y,qe.join("."))&&H(z,yt)){kn[yt]="[REDACTED]";continue}if($e()){kn[yt]=O;break}kn[yt]=be(ge(Re,yt),qe.concat(yt))}}catch(Bt){}return j.pop(),kn}return be(L,[])}function re(L,z,Y,j){if(typeof Y=="string"){j===void 0?j=null:j!==null&&typeof j!="string"&&(j=T(j));var de=z[Y];if(typeof de=="number"){L[de]={name:Y,variant:j};return}L.push({name:Y,variant:j}),z[Y]=L.length-1}}function J(L,z,Y){if(i(z)){for(var j=0;j<z.length;++j){var de=z[j];de===null||typeof de!="object"||re(L,Y,de.name,de.variant)}return L}}function ae(L){return _(a(L,Boolean),function(z){var Y=z.name,j=z.variant,de={featureFlag:Y};return typeof j=="string"&&(de.variant=j),de})}function ue(L,z,Y){var j=z[Y];typeof j=="number"&&(L[j]=null,delete z[Y])}var se={add:re,clear:ue,merge:J,toEventApi:ae},ce=function(L){return!!L&&(!!L.stack||!!L.stacktrace||!!L["opera#sourceloc"])&&typeof(L.stack||L.stacktrace||L["opera#sourceloc"])=="string"&&L.stack!==L.name+": "+L.message},pe=Ne;function Ne(L){switch(Object.prototype.toString.call(L)){case"[object Error]":return!0;case"[object Exception]":return!0;case"[object DOMException]":return!0;default:return L instanceof Error}}var Xe=pe,ze=function(L,z,Y,j){var de;if(z){var be;if(Y===null)return ne(L,z);typeof Y=="object"&&(be=Y),typeof Y=="string"&&(be=(de={},de[Y]=j,de)),be&&(L[z]||(L[z]={}),L[z]=g({},L[z],be))}},ee=function(L,z,Y){if(typeof z=="string"){if(!Y)return L[z];if(L[z])return L[z][Y]}},ne=function(L,z,Y){if(typeof z=="string"){if(!Y){delete L[z];return}L[z]&&delete L[z][Y]}},Ee={add:ze,get:ee,clear:ne},Oe={};(function(L,z){typeof Oe=="object"?Oe=z(M):L.StackGenerator=z(L.StackFrame)})(this,function(L){return{backtrace:function(Y){var j=[],de=10;typeof Y=="object"&&typeof Y.maxStackSize=="number"&&(de=Y.maxStackSize);for(var be=arguments.callee;be&&j.length<de&&be.arguments;){for(var Re=new Array(be.arguments.length),qe=0;qe<Re.length;++qe)Re[qe]=be.arguments[qe];/function(?:\s+([\w$]+))+\s*\(/.test(be.toString())?j.push(new L({functionName:RegExp.$1||void 0,args:Re})):j.push(new L({args:Re}));try{be=be.caller}catch($e){break}}return j}}});var we=function(){function L(Y,j,de,be,Re){de===void 0&&(de=[]),be===void 0&&(be=je()),this.apiKey=void 0,this.context=void 0,this.groupingHash=void 0,this.originalError=Re,this._handledState=be,this.severity=this._handledState.severity,this.unhandled=this._handledState.unhandled,this.app={},this.device={},this.request={},this.breadcrumbs=[],this.threads=[],this._metadata={},this._features=[],this._featuresIndex={},this._user={},this._session=void 0,this.errors=[Ce(Y,j,L.__type,de)]}var z=L.prototype;return z.addMetadata=function(j,de,be){return Ee.add(this._metadata,j,de,be)},z.getMetadata=function(j,de){return Ee.get(this._metadata,j,de)},z.clearMetadata=function(j,de){return Ee.clear(this._metadata,j,de)},z.addFeatureFlag=function(j,de){de===void 0&&(de=null),se.add(this._features,this._featuresIndex,j,de)},z.addFeatureFlags=function(j){se.merge(this._features,j,this._featuresIndex)},z.getFeatureFlags=function(){return se.toEventApi(this._features)},z.clearFeatureFlag=function(j){se.clear(this._features,this._featuresIndex,j)},z.clearFeatureFlags=function(){this._features=[],this._featuresIndex={}},z.getUser=function(){return this._user},z.setUser=function(j,de,be){this._user={id:j,email:de,name:be}},z.toJSON=function(){return{payloadVersion:"4",exceptions:_(this.errors,function(j){return g({},j,{message:j.errorMessage})}),severity:this.severity,unhandled:this._handledState.unhandled,severityReason:this._handledState.severityReason,app:this.app,device:this.device,request:this.request,breadcrumbs:this.breadcrumbs,context:this.context,groupingHash:this.groupingHash,metaData:this._metadata,user:this._user,session:this._session,featureFlags:this.getFeatureFlags()}},L}(),De=function(L){var z={file:L.fileName,method:We(L.functionName),lineNumber:L.lineNumber,columnNumber:L.columnNumber,code:void 0,inProject:void 0};return z.lineNumber>-1&&!z.file&&!z.method&&(z.file="global code"),z},We=function(L){return/^global code$/i.test(L)?"global code":L},je=function(){return{unhandled:!1,severity:"warning",severityReason:{type:"handledException"}}},Se=function(L){return typeof L=="string"?L:""};function Ce(L,z,Y,j){return{errorClass:Se(L),errorMessage:Se(z),type:Y,stacktrace:r(j,function(de,be){var Re=De(be);try{return JSON.stringify(Re)==="{}"?de:de.concat(Re)}catch(qe){return de}},[])}}function He(L){return L.cause?[L].concat(He(L.cause)):[L]}we.getStacktrace=function(L,z,Y){if(ce(L))return P.parse(L).slice(z);try{return a(Oe.backtrace(),function(j){return(j.functionName||"").indexOf("StackGenerator$$")===-1}).slice(1+Y)}catch(j){return[]}},we.create=function(L,z,Y,j,de,be){de===void 0&&(de=0);var Re=Qe(L,z,j,be),qe=Re[0],$e=Re[1],ot;try{var nt=we.getStacktrace(qe,$e>0?1+$e+de:0,1+de);ot=new we(qe.name,qe.message,nt,Y,L)}catch(Wt){ot=new we(qe.name,qe.message,[],Y,L)}if(qe.name==="InvalidError"&&ot.addMetadata(""+j,"non-error parameter",Ye(L)),qe.cause){var vt,et=He(qe).slice(1),Nt=_(et,function(Wt){var kn=Xe(Wt)&&ce(Wt)?P.parse(Wt):[],yt=Qe(Wt,!0,"error cause"),Bt=yt[0];return Bt.name==="InvalidError"&&ot.addMetadata("error cause",Ye(Wt)),Ce(Bt.name,Bt.message,we.__type,kn)});(vt=ot.errors).push.apply(vt,Nt)}return ot};var Ye=function(L){return L===null?"null":L===void 0?"undefined":L},Qe=function(L,z,Y,j){var de,be=0,Re=function(qe){var $e=Y==="error cause"?"was":"received";j&&j.warn(Y+" "+$e+' a non-error: "'+qe+'"');var ot=new Error(Y+" "+$e+' a non-error. See "'+Y+'" tab for more detail.');return ot.name="InvalidError",ot};if(!z)Xe(L)?de=L:(de=Re(typeof L),be+=2);else switch(typeof L){case"string":case"number":case"boolean":de=new Error(String(L)),be+=1;break;case"function":de=Re("function"),be+=2;break;case"object":L!==null&&Xe(L)?de=L:L!==null&&_t(L)?(de=new Error(L.message||L.errorMessage),de.name=L.name||L.errorClass,be+=1):(de=Re(L===null?"null":"unsupported object"),be+=2);break;default:de=Re("nothing"),be+=2}if(!ce(de))try{throw de}catch(qe){ce(qe)&&(de=qe,be=1)}return[de,be]};we.__type="browserjs";var _t=function(L){return(typeof L.name=="string"||typeof L.errorClass=="string")&&(typeof L.message=="string"||typeof L.errorMessage=="string")},Mt=we,Vt=function(L,z,Y){var j=0,de=function(){if(j>=L.length)return Y(null,!0);z(L[j],function(be,Re){if(be)return Y(be);if(Re===!1)return Y(null,!1);j++,de()})};de()},kt=function(L,z,Y,j){var de=function(be,Re){if(typeof be!="function")return Re(null);try{if(be.length!==2){var qe=be(z);return qe&&typeof qe.then=="function"?qe.then(function($e){return setTimeout(function(){return Re(null,$e)})},function($e){setTimeout(function(){return Y($e),Re(null,!0)})}):Re(null,qe)}be(z,function($e,ot){if($e)return Y($e),Re(null);Re(null,ot)})}catch($e){Y($e),Re(null)}};Vt(L,de,j)},Ln=function(L,z,Y,j){for(var de=!1,be=L.slice();!de&&be.length;)try{de=be.pop()(z)===!1}catch(Re){j.error("Error occurred in "+Y+" callback, continuing anyway…"),j.error(Re)}return de},pn=function(z,Y){var j="000000000"+z;return j.substr(j.length-Y)},Pn=typeof window=="object"?window:self,fe=0;for(var ke in Pn)Object.hasOwnProperty.call(Pn,ke)&&fe++;var at=navigator.mimeTypes?navigator.mimeTypes.length:0,R=pn((at+navigator.userAgent.length).toString(36)+fe.toString(36),4),ie=function(){return R},Fe=0,At=4,Te=36,Ze=Math.pow(Te,At);function un(){return pn((Math.random()*Ze<<0).toString(Te),At)}function bn(){return Fe=Fe<Ze?Fe:0,Fe++,Fe-1}function Zr(){var L="c",z=new Date().getTime().toString(Te),Y=pn(bn().toString(Te),At),j=ie(),de=un()+un();return L+z+Y+j+de}Zr.fingerprint=ie;var pt=Zr,Ma=function(){function L(){this.id=pt(),this.startedAt=new Date,this._handled=0,this._unhandled=0,this._user={},this.app={},this.device={}}var z=L.prototype;return z.getUser=function(){return this._user},z.setUser=function(j,de,be){this._user={id:j,email:de,name:be}},z.toJSON=function(){return{id:this.id,startedAt:this.startedAt,events:{handled:this._handled,unhandled:this._unhandled}}},z._track=function(j){this[j._handledState.unhandled?"_unhandled":"_handled"]+=1},L}(),Pt=Ma,W5=se.add,dl=se.clear,Y5=se.merge,li=function(){},pI=function(){function L(Y,j,de,be){var Re=this;j===void 0&&(j=h.schema),de===void 0&&(de=[]),this._notifier=be,this._config={},this._schema=j,this._delivery={sendSession:li,sendEvent:li},this._logger={debug:li,info:li,warn:li,error:li},this._plugins={},this._breadcrumbs=[],this._session=null,this._metadata={},this._featuresIndex={},this._features=[],this._context=void 0,this._user={},this._cbs={e:[],s:[],sp:[],b:[]},this.Client=L,this.Event=Mt,this.Breadcrumb=N,this.Session=Pt,this._config=this._configure(Y,de),_(de.concat(this._config.plugins),function(ot){ot&&Re._loadPlugin(ot)}),this._depth=1;var qe=this,$e=this.notify;this.notify=function(){return $e.apply(qe,arguments)}}var z=L.prototype;return z.addMetadata=function(j,de,be){return Ee.add(this._metadata,j,de,be)},z.getMetadata=function(j,de){return Ee.get(this._metadata,j,de)},z.clearMetadata=function(j,de){return Ee.clear(this._metadata,j,de)},z.addFeatureFlag=function(j,de){de===void 0&&(de=null),W5(this._features,this._featuresIndex,j,de)},z.addFeatureFlags=function(j){Y5(this._features,j,this._featuresIndex)},z.clearFeatureFlag=function(j){dl(this._features,this._featuresIndex,j)},z.clearFeatureFlags=function(){this._features=[],this._featuresIndex={}},z.getContext=function(){return this._context},z.setContext=function(j){this._context=j},z._configure=function(j,de){var be=r(de,function(ot,nt){return nt&&nt.configSchema?g({},ot,nt.configSchema):ot},this._schema),Re=r(u(be),function(ot,nt){var vt=be[nt].defaultValue(j[nt]);if(j[nt]!==void 0){var et=be[nt].validate(j[nt]);et?be[nt].allowPartialObject?ot.config[nt]=g(vt,j[nt]):ot.config[nt]=j[nt]:(ot.errors[nt]=be[nt].message,ot.config[nt]=vt)}else ot.config[nt]=vt;return ot},{errors:{},config:{}}),qe=Re.errors,$e=Re.config;if(be.apiKey){if(!$e.apiKey)throw new Error("No Bugsnag API Key set");/^[0-9a-f]{32}$/i.test($e.apiKey)||(qe.apiKey="should be a string of 32 hexadecimal characters")}return this._metadata=g({},$e.metadata),Y5(this._features,$e.featureFlags,this._featuresIndex),this._user=g({},$e.user),this._context=$e.context,$e.logger&&(this._logger=$e.logger),$e.onError&&(this._cbs.e=this._cbs.e.concat($e.onError)),$e.onBreadcrumb&&(this._cbs.b=this._cbs.b.concat($e.onBreadcrumb)),$e.onSession&&(this._cbs.s=this._cbs.s.concat($e.onSession)),u(qe).length&&this._logger.warn(hI(qe,j)),$e},z.getUser=function(){return this._user},z.setUser=function(j,de,be){this._user={id:j,email:de,name:be}},z._loadPlugin=function(j){var de=j.load(this);return j.name&&(this._plugins["~"+j.name+"~"]=de),this},z.getPlugin=function(j){return this._plugins["~"+j+"~"]},z._setDelivery=function(j){this._delivery=j(this)},z.startSession=function(){var j=new Pt;j.app.releaseStage=this._config.releaseStage,j.app.version=this._config.appVersion,j.app.type=this._config.appType,j._user=g({},this._user);var de=Ln(this._cbs.s,j,"onSession",this._logger);return de?(this._logger.debug("Session not started due to onSession callback"),this):this._sessionDelegate.startSession(this,j)},z.addOnError=function(j,de){de===void 0&&(de=!1),this._cbs.e[de?"unshift":"push"](j)},z.removeOnError=function(j){this._cbs.e=a(this._cbs.e,function(de){return de!==j})},z._addOnSessionPayload=function(j){this._cbs.sp.push(j)},z.addOnSession=function(j){this._cbs.s.push(j)},z.removeOnSession=function(j){this._cbs.s=a(this._cbs.s,function(de){return de!==j})},z.addOnBreadcrumb=function(j,de){de===void 0&&(de=!1),this._cbs.b[de?"unshift":"push"](j)},z.removeOnBreadcrumb=function(j){this._cbs.b=a(this._cbs.b,function(de){return de!==j})},z.pauseSession=function(){return this._sessionDelegate.pauseSession(this)},z.resumeSession=function(){return this._sessionDelegate.resumeSession(this)},z.leaveBreadcrumb=function(j,de,be){if(j=typeof j=="string"?j:"",be=typeof be=="string"&&o(n,be)?be:"manual",de=typeof de=="object"&&de!==null?de:{},!!j){var Re=new N(j,de,be),qe=Ln(this._cbs.b,Re,"onBreadcrumb",this._logger);if(qe){this._logger.debug("Breadcrumb not attached due to onBreadcrumb callback");return}this._breadcrumbs.push(Re),this._breadcrumbs.length>this._config.maxBreadcrumbs&&(this._breadcrumbs=this._breadcrumbs.slice(this._breadcrumbs.length-this._config.maxBreadcrumbs))}},z._isBreadcrumbTypeEnabled=function(j){var de=this._config.enabledBreadcrumbTypes;return de===null||o(de,j)},z.notify=function(j,de,be){be===void 0&&(be=li);var Re=Mt.create(j,!0,void 0,"notify()",this._depth+1,this._logger);this._notify(Re,de,be)},z._notify=function(j,de,be){var Re=this;if(be===void 0&&(be=li),j.app=g({},j.app,{releaseStage:this._config.releaseStage,version:this._config.appVersion,type:this._config.appType}),j.context=j.context||this._context,j._metadata=g({},j._metadata,this._metadata),j._user=g({},j._user,this._user),j.breadcrumbs=this._breadcrumbs.slice(),Y5(j._features,this._features,j._featuresIndex),this._config.enabledReleaseStages!==null&&!o(this._config.enabledReleaseStages,this._config.releaseStage))return this._logger.warn("Event not sent due to releaseStage/enabledReleaseStages configuration"),be(null,j);var qe=j.severity,$e=function(nt){Re._logger.error("Error occurred in onError callback, continuing anyway…"),Re._logger.error(nt)},ot=[].concat(this._cbs.e).concat(de);kt(ot,j,$e,function(nt,vt){if(nt&&$e(nt),!vt)return Re._logger.debug("Event not sent due to onError callback"),be(null,j);Re._isBreadcrumbTypeEnabled("error")&&L.prototype.leaveBreadcrumb.call(Re,j.errors[0].errorClass,{errorClass:j.errors[0].errorClass,errorMessage:j.errors[0].errorMessage,severity:j.severity},"error"),qe!==j.severity&&(j._handledState.severityReason={type:"userCallbackSetSeverity"}),j.unhandled!==j._handledState.unhandled&&(j._handledState.severityReason.unhandledOverridden=!0,j._handledState.unhandled=j.unhandled),Re._session&&(Re._session._track(j),j._session=Re._session),Re._delivery.sendEvent({apiKey:j.apiKey||Re._config.apiKey,notifier:Re._notifier,events:[j]},function(et){return be(et,j)})})},L}(),hI=function(L,z){var Y=new Error(`Invalid configuration
`+_(u(L),function(j){return"  - "+j+" "+L[j]+", got "+mI(z[j])}).join(`

`));return Y},mI=function(L){switch(typeof L){case"string":case"number":case"object":return JSON.stringify(L);default:return String(L)}},Z5=pI,A0={},d9=["events.[].metaData","events.[].breadcrumbs.[].metaData","events.[].request"];A0.event=function(L,z){var Y=T(L,null,null,{redactedPaths:d9,redactedKeys:z});return Y.length>1e6&&(L.events[0]._metadata={notifier:`WARNING!
Serialized payload was `+Y.length/1e6+`MB (limit = 1MB)
metadata was removed`},Y=T(L,null,null,{redactedPaths:d9,redactedKeys:z})),Y},A0.session=function(L,z){var Y=T(L,null,null);return Y};var X5={};X5=function(L,z){return z===void 0&&(z=window),{sendEvent:function(Y,j){j===void 0&&(j=function(){});var de=f9(L._config,"notify","4",z),be=A0.event(Y,L._config.redactedKeys),Re=new z.XDomainRequest;Re.onload=function(){j(null)},Re.onerror=function(){var qe=new Error("Event failed to send");L._logger.error("Event failed to send…",qe),be.length>1e6&&L._logger.warn("Event oversized ("+(be.length/1e6).toFixed(2)+" MB)"),j(qe)},Re.open("POST",de),setTimeout(function(){try{Re.send(be)}catch(qe){L._logger.error(qe),j(qe)}},0)},sendSession:function(Y,j){j===void 0&&(j=function(){});var de=f9(L._config,"sessions","1",z),be=new z.XDomainRequest;be.onload=function(){j(null)},be.open("POST",de),setTimeout(function(){try{be.send(A0.session(Y,L._config.redactedKeys))}catch(Re){L._logger.error(Re),j(Re)}},0)}}};var f9=function(L,z,Y,j){var de=JSON.parse(JSON.stringify(new Date)),be=vI(L.endpoints[z],j.location.protocol);return be+"?apiKey="+encodeURIComponent(L.apiKey)+"&payloadVersion="+Y+"&sentAt="+encodeURIComponent(de)},vI=X5._matchPageProtocol=function(L,z){return z==="http:"?L.replace(/^https:/,"http:"):L},gI=function(L,z){return z===void 0&&(z=window),{sendEvent:function(Y,j){j===void 0&&(j=function(){});try{var de=L._config.endpoints.notify,be=new z.XMLHttpRequest,Re=A0.event(Y,L._config.redactedKeys);be.onreadystatechange=function(){if(be.readyState===z.XMLHttpRequest.DONE){var qe=be.status;if(qe===0||qe>=400){var $e=new Error("Request failed with status "+qe);L._logger.error("Event failed to send…",$e),Re.length>1e6&&L._logger.warn("Event oversized ("+(Re.length/1e6).toFixed(2)+" MB)"),j($e)}else j(null)}},be.open("POST",de),be.setRequestHeader("Content-Type","application/json"),be.setRequestHeader("Bugsnag-Api-Key",Y.apiKey||L._config.apiKey),be.setRequestHeader("Bugsnag-Payload-Version","4"),be.setRequestHeader("Bugsnag-Sent-At",new Date().toISOString()),be.send(Re)}catch(qe){L._logger.error(qe)}},sendSession:function(Y,j){j===void 0&&(j=function(){});try{var de=L._config.endpoints.sessions,be=new z.XMLHttpRequest;be.onreadystatechange=function(){if(be.readyState===z.XMLHttpRequest.DONE){var Re=be.status;if(Re===0||Re>=400){var qe=new Error("Request failed with status "+Re);L._logger.error("Session failed to send…",qe),j(qe)}else j(null)}},be.open("POST",de),be.setRequestHeader("Content-Type","application/json"),be.setRequestHeader("Bugsnag-Api-Key",L._config.apiKey),be.setRequestHeader("Bugsnag-Payload-Version","1"),be.setRequestHeader("Bugsnag-Sent-At",new Date().toISOString()),be.send(A0.session(Y,L._config.redactedKeys))}catch(Re){L._logger.error(Re)}}}},p9=new Date,_I=function(){p9=new Date},yI={name:"appDuration",load:function(L){return L.addOnError(function(z){var Y=new Date;z.app.duration=Y-p9},!0),{reset:_I}}},EI=function(L){return L===void 0&&(L=window),{load:function(z){z.addOnError(function(Y){Y.context===void 0&&(Y.context=L.location.pathname)},!0)}}},Q5=function(z,Y){var j="000000000"+z;return j.substr(j.length-Y)},h9=typeof window=="object"?window:self,m9=0;for(var bI in h9)Object.hasOwnProperty.call(h9,bI)&&m9++;var SI=navigator.mimeTypes?navigator.mimeTypes.length:0,CI=Q5((SI+navigator.userAgent.length).toString(36)+m9.toString(36),4),v9=function(){return CI},fl=0,J5=4,F1=36,g9=Math.pow(F1,J5);function _9(){return Q5((Math.random()*g9<<0).toString(F1),J5)}function wI(){return fl=fl<g9?fl:0,fl++,fl-1}function y9(){var L="c",z=new Date().getTime().toString(F1),Y=Q5(wI().toString(F1),J5),j=v9(),de=_9()+_9();return L+z+Y+j+de}y9.fingerprint=v9;var AI=y9,E9="bugsnag-anonymous-id",RI=function(L){try{var z=L.localStorage,Y=z.getItem(E9);return Y&&/^c[a-z0-9]{20,32}$/.test(Y)||(Y=AI(),z.setItem(E9,Y)),Y}catch(j){}},MI=function(L,z){return L===void 0&&(L=navigator),z===void 0&&(z=window),{load:function(Y){var j={locale:L.browserLanguage||L.systemLanguage||L.userLanguage||L.language,userAgent:L.userAgent};z&&z.screen&&z.screen.orientation&&z.screen.orientation.type?j.orientation=z.screen.orientation.type:z&&z.document&&(j.orientation=z.document.documentElement.clientWidth>z.document.documentElement.clientHeight?"landscape":"portrait"),Y._config.generateAnonymousId&&(j.id=RI(z)),Y.addOnSession(function(de){de.device=g({},de.device,j),Y._config.collectUserIp||b9(de)}),Y.addOnError(function(de){de.device=g({},de.device,j,{time:new Date}),Y._config.collectUserIp||b9(de)},!0)},configSchema:{generateAnonymousId:{validate:function(Y){return Y===!0||Y===!1},defaultValue:function(){return!0},message:"should be true|false"}}}},b9=function(L){var z=L.getUser();(!z||!z.id)&&L.setUser(L.device.id)},II=function(L){return L===void 0&&(L=window),{load:function(z){z.addOnError(function(Y){Y.request&&Y.request.url||(Y.request=g({},Y.request,{url:L.location.href}))},!0)}}},DI={load:function(L){L._sessionDelegate=LI}},LI={startSession:function(L,z){var Y=L;return Y._session=z,Y._pausedSession=null,Y._config.enabledReleaseStages!==null&&!o(Y._config.enabledReleaseStages,Y._config.releaseStage)?(Y._logger.warn("Session not sent due to releaseStage/enabledReleaseStages configuration"),Y):(Y._delivery.sendSession({notifier:Y._notifier,device:z.device,app:z.app,sessions:[{id:z.id,startedAt:z.startedAt,user:z._user}]}),Y)},resumeSession:function(L){return L._session?L:L._pausedSession?(L._session=L._pausedSession,L._pausedSession=null,L):L.startSession()},pauseSession:function(L){L._pausedSession=L._session,L._session=null}},TI={load:function(L){L._config.collectUserIp||L.addOnError(function(z){z._user&&typeof z._user.id=="undefined"&&delete z._user.id,z._user=g({id:"[REDACTED]"},z._user),z.request=g({clientIp:"[REDACTED]"},z.request)})},configSchema:{collectUserIp:{defaultValue:function(){return!0},message:"should be true|false",validate:function(L){return L===!0||L===!1}}}},S9={};S9.load=function(L){var z=/^(local-)?dev(elopment)?$/.test(L._config.releaseStage);z||!L._isBreadcrumbTypeEnabled("log")||_(NI,function(Y){var j=console[Y];console[Y]=function(){for(var de=arguments.length,be=new Array(de),Re=0;Re<de;Re++)be[Re]=arguments[Re];L.leaveBreadcrumb("Console output",r(be,function(qe,$e,ot){var nt="[Unknown value]";try{nt=String($e)}catch(vt){}if(nt==="[object Object]")try{nt=JSON.stringify($e)}catch(vt){}return qe["["+ot+"]"]=nt,qe},{severity:Y.indexOf("group")===0?"log":Y}),"log"),j.apply(console,be)},console[Y]._restore=function(){console[Y]=j}})};var NI=a(["log","debug","info","warn","error"],function(L){return typeof console!="undefined"&&typeof console[L]=="function"}),C9=200,w9=5e5,OI=function(L,z){return L===void 0&&(L=document),z===void 0&&(z=window),{load:function(Y){if(!Y._config.trackInlineScripts)return;var j=z.location.href,de="",be=!!L.attachEvent,Re=be?L.readyState==="complete":L.readyState!=="loading",qe=function(){return L.documentElement.outerHTML};de=qe();var $e=L.onreadystatechange;L.onreadystatechange=function(){L.readyState==="interactive"&&(de=qe(),Re=!0);try{$e.apply(this,arguments)}catch(yt){}};var ot=null,nt=function(yt){ot=yt},vt=function(){var yt=L.currentScript||ot;if(!yt&&!Re){var Bt=L.scripts||L.getElementsByTagName("script");yt=Bt[Bt.length-1]}return yt},et=function(yt){(!Re||!de)&&(de=qe());var Bt=["<!-- DOC START -->"].concat(de.split(`
`)),dr=yt-1,Yn=Math.max(dr-3,0),ua=Math.min(dr+3,Bt.length);return r(Bt.slice(Yn,ua),function(Ia,pl,r4){return Ia[Yn+1+r4]=pl.length<=C9?pl:pl.substr(0,C9),Ia},{})};Y.addOnError(function(yt){yt.errors[0].stacktrace=a(yt.errors[0].stacktrace,function(ua){return!/__trace__$/.test(ua.method)});var Bt=yt.errors[0].stacktrace[0];if(!(Bt&&Bt.file&&Bt.file.replace(/#.*$/,"")!==j.replace(/#.*$/,""))){var dr=vt();if(dr){var Yn=dr.innerHTML;yt.addMetadata("script","content",Yn.length<=w9?Yn:Yn.substr(0,w9)),Bt&&Bt.lineNumber&&(Bt.code=et(Bt.lineNumber))}}},!0);var Nt=_(["setTimeout","setInterval","setImmediate","requestAnimationFrame"],function(yt){return e4(z,yt,function(Bt){return kn(Bt,function(dr){return{get:function(){return dr[0]},replace:function(Yn){dr[0]=Yn}}})})}),Wt=Nt[0];_(["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"],function(yt){!z[yt]||!z[yt].prototype||!Object.prototype.hasOwnProperty.call(z[yt].prototype,"addEventListener")||(e4(z[yt].prototype,"addEventListener",function(Bt){return kn(Bt,A9)}),e4(z[yt].prototype,"removeEventListener",function(Bt){return kn(Bt,A9,!0)}))});function kn(yt,Bt,dr){return dr===void 0&&(dr=!1),function(){var Yn=[].slice.call(arguments);try{var ua=Bt(Yn),Ia=ua.get();if(dr&&yt.apply(this,Yn),typeof Ia!="function")return yt.apply(this,Yn);if(Ia.__trace__)ua.replace(Ia.__trace__);else{var pl=vt();Ia.__trace__=function(){nt(pl),Wt(function(){nt(null)},0);var YI=Ia.apply(this,arguments);return nt(null),YI},Ia.__trace__.__trace__=Ia.__trace__,ua.replace(Ia.__trace__)}}catch(r4){}if(yt.apply)return yt.apply(this,Yn);switch(Yn.length){case 1:return yt(Yn[0]);case 2:return yt(Yn[0],Yn[1]);default:return yt()}}}},configSchema:{trackInlineScripts:{validate:function(Y){return Y===!0||Y===!1},defaultValue:function(){return!0},message:"should be true|false"}}}};function e4(L,z,Y){var j=L[z];if(!j)return j;var de=Y(j);return L[z]=de,j}function A9(L){var z=!!L[1]&&typeof L[1].handleEvent=="function";return{get:function(){return z?L[1].handleEvent:L[1]},replace:function(Y){z?L[1].handleEvent=Y:L[1]=Y}}}var xI=function(L){return L===void 0&&(L=window),{load:function(z){"addEventListener"in L&&z._isBreadcrumbTypeEnabled("user")&&L.addEventListener("click",function(Y){var j,de;try{j=VI(Y.target),de=R9(Y.target,L)}catch(be){j="[hidden]",de="[hidden]",z._logger.error("Cross domain error when tracking click event. See docs: https://tinyurl.com/yy3rn63z")}z.leaveBreadcrumb("UI click",{targetText:j,targetSelector:de},"user")},!0)}}},PI=/^\s+/,kI=/(^|[^\s])\s+$/;function VI(L){var z=L.textContent||L.innerText||"";return!z&&(L.type==="submit"||L.type==="button")&&(z=L.value),z=z.replace(PI,"").replace(kI,"$1"),z.length>140?z.slice(0,135)+"(...)":z}function R9(L,z){var Y=[L.tagName];if(L.id&&Y.push("#"+L.id),L.className&&L.className.length&&Y.push("."+L.className.split(" ").join(".")),!z.document.querySelectorAll||!Array.prototype.indexOf)return Y.join("");try{if(z.document.querySelectorAll(Y.join("")).length===1)return Y.join("")}catch(de){return Y.join("")}if(L.parentNode.childNodes.length>1){var j=Array.prototype.indexOf.call(L.parentNode.childNodes,L)+1;Y.push(":nth-child("+j+")")}return z.document.querySelectorAll(Y.join("")).length===1?Y.join(""):L.parentNode?R9(L.parentNode,z)+" > "+Y.join(""):Y.join("")}var M9={};M9=function(L){L===void 0&&(L=window);var z={load:function(Y){if("addEventListener"in L&&Y._isBreadcrumbTypeEnabled("navigation")){var j=function(de){return function(){return Y.leaveBreadcrumb(de,{},"navigation")}};L.addEventListener("pagehide",j("Page hidden"),!0),L.addEventListener("pageshow",j("Page shown"),!0),L.addEventListener("load",j("Page loaded"),!0),L.document.addEventListener("DOMContentLoaded",j("DOMContentLoaded"),!0),L.addEventListener("load",function(){return L.addEventListener("popstate",j("Navigated back"),!0)}),L.addEventListener("hashchange",function(de){var be=de.oldURL?{from:$1(de.oldURL,L),to:$1(de.newURL,L),state:D9(L)}:{to:$1(L.location.href,L)};Y.leaveBreadcrumb("Hash changed",be,"navigation")},!0),L.history.replaceState&&I9(Y,L.history,"replaceState",L),L.history.pushState&&I9(Y,L.history,"pushState",L)}}};return z};var $1=function(L,z){var Y=z.document.createElement("A");return Y.href=L,""+Y.pathname+Y.search+Y.hash},BI=function(L,z,Y,j){var de=$1(L.location.href,L);return{title:Y,state:z,prevState:D9(L),to:j||de,from:de}},I9=function(L,z,Y,j){var de=z[Y];z[Y]=function(be,Re,qe){L.leaveBreadcrumb("History "+Y,BI(j,be,Re,qe),"navigation"),typeof L.resetEventCount=="function"&&L.resetEventCount(),L._config.autoTrackSessions&&L.startSession(),de.apply(z,[be,Re].concat(qe!==void 0?qe:[]))}},D9=function(L){try{return L.history.state}catch(z){}},R0="request",FI=function(L,z){L===void 0&&(L=[]),z===void 0&&(z=window);var Y={load:function(j){if(!j._isBreadcrumbTypeEnabled("request"))return;var de=[j._config.endpoints.notify,j._config.endpoints.sessions].concat(L);be(),$e();function be(){if("addEventListener"in z.XMLHttpRequest.prototype){var vt=z.XMLHttpRequest.prototype.open;z.XMLHttpRequest.prototype.open=function(Nt,Wt){var kn=this,yt=!1,Bt=function(){return qe(Nt,Wt)},dr=function(){return Re(Nt,Wt,kn.status)};yt&&(this.removeEventListener("load",dr),this.removeEventListener("error",Bt)),this.addEventListener("load",dr),this.addEventListener("error",Bt),yt=!0,vt.apply(this,arguments)}}}function Re(vt,et,Nt){if(et===void 0){j._logger.warn("The request URL is no longer present on this XMLHttpRequest. A breadcrumb cannot be left for this request.");return}if(!(typeof et=="string"&&o(de,et.replace(/\?.*$/,"")))){var Wt={status:Nt,request:vt+" "+et};Nt>=400?j.leaveBreadcrumb("XMLHttpRequest failed",Wt,R0):j.leaveBreadcrumb("XMLHttpRequest succeeded",Wt,R0)}}function qe(vt,et){if(et===void 0){j._logger.warn("The request URL is no longer present on this XMLHttpRequest. A breadcrumb cannot be left for this request.");return}typeof et=="string"&&o(de,et.replace(/\?.*$/,""))||j.leaveBreadcrumb("XMLHttpRequest error",{request:vt+" "+et},R0)}function $e(){if(!(!("fetch"in z)||z.fetch.polyfill)){var vt=z.fetch;z.fetch=function(){var Nt=arguments,Wt=arguments[0],kn=arguments[1],yt,Bt=null;return Wt&&typeof Wt=="object"?(Bt=Wt.url,kn&&"method"in kn?yt=kn.method:Wt&&"method"in Wt&&(yt=Wt.method)):(Bt=Wt,kn&&"method"in kn&&(yt=kn.method)),yt===void 0&&(yt="GET"),new Promise(function(dr,Yn){vt.apply(void 0,Nt).then(function(ua){ot(ua,yt,Bt),dr(ua)}).catch(function(ua){nt(yt,Bt),Yn(ua)})})}}}var ot=function(vt,et,Nt){var Wt={status:vt.status,request:et+" "+Nt};vt.status>=400?j.leaveBreadcrumb("fetch() failed",Wt,R0):j.leaveBreadcrumb("fetch() succeeded",Wt,R0)},nt=function(vt,et){j.leaveBreadcrumb("fetch() error",{request:vt+" "+et},R0)}}};return Y},$I={load:function(L){var z=0;L.addOnError(function(Y){if(z>=L._config.maxEvents)return L._logger.warn("Cancelling event send due to maxEvents per session limit of "+L._config.maxEvents+" being reached"),!1;z++}),L.resetEventCount=function(){z=0}},configSchema:{maxEvents:{defaultValue:function(){return 10},message:"should be a positive integer ≤100",validate:function(L){return d(1,100)(L)}}}},t4={};t4={load:function(L){L.addOnError(function(z){var Y=r(z.errors,function(j,de){return j.concat(de.stacktrace)},[]);_(Y,function(j){j.file=UI(j.file)})})}};var UI=t4._strip=function(L){return typeof L=="string"?L.replace(/\?.*$/,"").replace(/#.*$/,""):L},HI=function(L,z){return L===void 0&&(L=window),z===void 0&&(z="window onerror"),{load:function(Y){if(!Y._config.autoDetectErrors||!Y._config.enabledErrorTypes.unhandledExceptions)return;function j(be,Re,qe,$e,ot){if(qe===0&&/Script error\.?/.test(be))Y._logger.warn("Ignoring cross-domain or eval script error. See docs: https://tinyurl.com/yy3rn63z");else{var nt={severity:"error",unhandled:!0,severityReason:{type:"unhandledException"}},vt;if(ot)vt=Y.Event.create(ot,!0,nt,z,1),L9(vt.errors[0].stacktrace,Re,qe,$e);else if(typeof be=="object"&&be!==null&&(!Re||typeof Re!="string")&&!qe&&!$e&&!ot){var et=be.type?"Event: "+be.type:"Error",Nt=be.message||be.detail||"";vt=Y.Event.create({name:et,message:Nt},!0,nt,z,1),vt.originalError=be,vt.addMetadata(z,{event:be,extraParameters:Re})}else vt=Y.Event.create(be,!0,nt,z,1),L9(vt.errors[0].stacktrace,Re,qe,$e);Y._notify(vt)}typeof de=="function"&&de.apply(this,arguments)}var de=L.onerror;L.onerror=j}}},L9=function(L,z,Y,j){L[0]||L.push({});var de=L[0];!de.file&&typeof z=="string"&&(de.file=z),!de.lineNumber&&n4(Y)&&(de.lineNumber=Y),de.columnNumber||(n4(j)?de.columnNumber=j:window.event&&n4(window.event.errorCharacter)&&(de.columnNumber=window.event.errorCharacter))},n4=function(L){return typeof L=="number"&&String.call(L)!=="NaN"},zI=function(L){L===void 0&&(L=window);var z={load:function(Y){if(!(!Y._config.autoDetectErrors||!Y._config.enabledErrorTypes.unhandledRejections)){var j=function(de){var be=de.reason,Re=!1;try{de.detail&&de.detail.reason&&(be=de.detail.reason,Re=!0)}catch($e){}var qe=Y.Event.create(be,!1,{severity:"error",unhandled:!0,severityReason:{type:"unhandledPromiseRejection"}},"unhandledrejection handler",1,Y._logger);Re&&_(qe.errors[0].stacktrace,GI(be)),Y._notify(qe,function($e){if(Xe($e.originalError)&&!$e.originalError.stack){var ot;$e.addMetadata("unhandledRejection handler",(ot={},ot[Object.prototype.toString.call($e.originalError)]={name:$e.originalError.name,message:$e.originalError.message,code:$e.originalError.code},ot))}})};"addEventListener"in L?L.addEventListener("unhandledrejection",j):L.onunhandledrejection=function(de,be){j({detail:{reason:de,promise:be}})}}}};return z},GI=function(L){return function(z){z.file!==L.toString()&&z.method&&(z.method=z.method.replace(/^\s+/,""))}},ls={},KI="Bugsnag JavaScript",qI="7.20.0",jI="https://github.com/bugsnag/bugsnag-js",WI=g({},h.schema,v),Lr={_client:null,createClient:function(L){typeof L=="string"&&(L={apiKey:L}),L||(L={});var z=[yI,MI(),EI(),II(),$I,DI,TI,t4,HI(),zI(),M9(),xI(),FI(),S9,OI()],Y=new Z5(L,WI,z,{name:KI,version:qI,url:jI});return Y._setDelivery(window.XDomainRequest?X5:gI),Y._logger.debug("Loaded!"),Y.leaveBreadcrumb("Bugsnag loaded",{},"state"),Y._config.autoTrackSessions?Y.startSession():Y},start:function(L){return Lr._client?(Lr._client._logger.warn("Bugsnag.start() was called more than once. Ignoring."),Lr._client):(Lr._client=Lr.createClient(L),Lr._client)},isStarted:function(){return Lr._client!=null}};return _(["resetEventCount"].concat(u(Z5.prototype)),function(L){/^_/.test(L)||(Lr[L]=function(){if(!Lr._client)return console.log("Bugsnag."+L+"() was called before Bugsnag.start()");Lr._client._depth+=1;var z=Lr._client[L].apply(Lr._client,arguments);return Lr._client._depth-=1,z})}),ls=Lr,ls.Client=Z5,ls.Event=Mt,ls.Session=Pt,ls.Breadcrumb=N,ls.default=Lr,ls})})(Vb);var kO=Vb.exports,VO=kO;const mo=Xi(VO);var Bb={exports:{}};(function(e,t){(function(n){e.exports=n()})(function(){var n=this,r,a=function(m,g){var _=m.config.errorHandler,S=function(b,v,A){var w={severity:"error",unhandled:!0,severityReason:{type:"unhandledException"}},N=g.Event.create(b,!0,w,"vue error handler",1);N.addMetadata("vue",{errorInfo:c[A]||A,component:v?o(v):void 0,props:v&&v.$options?v.$options.propsData:void 0}),g._notify(N),typeof console!="undefined"&&typeof console.error=="function"&&console.error(b),typeof _=="function"&&_.call(n,b,v,A)};m.config.errorHandler=S};function o(m){return m.$parent===null?"App":m.$options&&m.$options.name?m.$options.name:"Anonymous"}var i={BEFORE_CREATE:"bc",CREATED:"c",BEFORE_MOUNT:"bm",MOUNTED:"m