@mapvx/web-components 0.0.31 → 0.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{base-floor-selector-CE7cLn0s.cjs → base-floor-selector-IDYKUTl3.cjs} +2 -2
- package/dist/cjs/{class-map-eCOKIRN0.cjs → class-map-CGHo1D7M.cjs} +2 -2
- package/dist/cjs/{compact-floor-selector-Bz6YDGPj.cjs → compact-floor-selector-Co8Y3T2c.cjs} +2 -2
- package/dist/cjs/{consume-BwFNwTeY.cjs → consume-BWIh7rxI.cjs} +2 -2
- package/dist/cjs/custom-map--UZ5N3Lg.cjs +97 -0
- package/dist/cjs/{floor-selector-C_EtfxAQ.cjs → floor-selector-CNuGDuNc.cjs} +2 -2
- package/dist/cjs/{lazy-load-CQfPqI_4.cjs → lazy-load-Dy0Wc6yS.cjs} +2 -2
- package/dist/cjs/map-view-with-modal.cjs +1 -1
- package/dist/cjs/{qr-modal-Cv_LW0Xb.cjs → qr-modal-Dq7dOqh6.cjs} +2 -2
- package/dist/cjs/{route-options-Cl_LAr4B.cjs → route-options-B45xnSu4.cjs} +2 -2
- package/dist/cjs/route-view-totems.cjs +1 -1
- package/dist/es/assets/{compact-floor-selector-CfnqUycd.js → compact-floor-selector-BQ0lsGyg.js} +2 -2
- package/dist/es/assets/{components-DaeCLpLi.js → components-CNuu24gs.js} +2 -2
- package/dist/es/assets/{map-view-with-modal-D8l3YXwn.js → map-view-with-modal-JX4bFkkK.js} +2 -2
- package/dist/es/assets/{route-view-totems-Cr0VC9Fu.js → route-view-totems-B-1OEdkb.js} +4 -4
- package/dist/es/assets/{utils-BxV274fg.js → utils-DslQaI0J.js} +2 -2
- package/dist/es/index.js +1 -1
- package/dist/es/route-view-totems.js +1 -1
- package/dist/iife/map-view-with-modal.js +1 -1
- package/dist/iife/route-view-totems.js +1 -1
- package/dist/update-timestamp.txt +1 -0
- package/package.json +1 -1
- package/dist/cjs/custom-map-2cHS_139.cjs +0 -97
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{S as t}from"./utils-
|
|
1
|
+
import{S as t}from"./utils-DslQaI0J.js";
|
|
2
2
|
/**
|
|
3
3
|
* @license
|
|
4
4
|
* Copyright 2019 Google LLC
|
|
@@ -30,7 +30,7 @@ const ut=t=>(e,n)=>{void 0!==n?n.addInitializer(()=>{customElements.define(t,e)}
|
|
|
30
30
|
* @license
|
|
31
31
|
* Copyright 2017 Google LLC
|
|
32
32
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
33
|
-
*/function pt(t){return(e,n)=>"object"==typeof n?ht(t,e,n):((t,e,n)=>{const r=e.hasOwnProperty(n);return e.constructor.createProperty(n,t),r?Object.getOwnPropertyDescriptor(e,n):void 0})(t,e,n)}var dt,ft={exports:{}};var mt,gt=(dt||(dt=1,mt=ft,function(t,e){mt.exports=e()}(0,()=>{return t={12:(t,e,n)=>{var r=n(539);t.exports=function(t,e,n){var o,i,s,a,c=r.isType(t,"object"),u=r.isType(t,"array"),l=[];if(n=n||{obj:[],mapped:[]},c){if(a=n.obj.indexOf(t),c&&-1!==a)return n.mapped[a]||n.obj[a];n.obj.push(t),a=n.obj.length-1}if(c)for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&l.push(o);else if(u)for(s=0;s<t.length;++s)l.push(s);var h=c?{}:[],p=!0;for(s=0;s<l.length;++s)i=t[o=l[s]],h[o]=e(o,i,n),p=p&&h[o]===t[o];return c&&!p&&(n.mapped[a]=h),p?t:h}},61:t=>{t.exports={parse:function(t){var e,n,r={protocol:null,auth:null,host:null,path:null,hash:null,href:t,hostname:null,port:null,pathname:null,search:null,query:null};if(-1!==(e=t.indexOf("//"))?(r.protocol=t.substring(0,e),n=e+2):n=0,-1!==(e=t.indexOf("@",n))&&(r.auth=t.substring(n,e),n=e+1),-1===(e=t.indexOf("/",n))){if(-1===(e=t.indexOf("?",n)))return-1===(e=t.indexOf("#",n))?r.host=t.substring(n):(r.host=t.substring(n,e),r.hash=t.substring(e)),r.hostname=r.host.split(":")[0],r.port=r.host.split(":")[1],r.port&&(r.port=parseInt(r.port,10)),r;r.host=t.substring(n,e),r.hostname=r.host.split(":")[0],r.port=r.host.split(":")[1],r.port&&(r.port=parseInt(r.port,10)),n=e}else r.host=t.substring(n,e),r.hostname=r.host.split(":")[0],r.port=r.host.split(":")[1],r.port&&(r.port=parseInt(r.port,10)),n=e;if(-1===(e=t.indexOf("#",n))?r.path=t.substring(n):(r.path=t.substring(n,e),r.hash=t.substring(e)),r.path){var o=r.path.split("?");r.pathname=o[0],r.query=o[1],r.search=r.query?"?"+r.query:null}return r}}},67:(t,e,n)=>{var r=n(539),o=n(91),i={hostname:"api.rollbar.com",path:"/api/1/item/",search:null,version:"1",protocol:"https:",port:443};function s(t,e,n,r,o){this.options=t,this.transport=e,this.url=n,this.truncation=r,this.jsonBackup=o,this.accessToken=t.accessToken,this.transportOptions=a(t,n)}function a(t,e){return o.getTransportFromOptions(t,i,e)}s.prototype.postItem=function(t,e){var n=o.transportOptions(this.transportOptions,"POST"),r=o.buildPayload(this.accessToken,t,this.jsonBackup),i=this;setTimeout(function(){i.transport.post(i.accessToken,n,r,e)},0)},s.prototype.buildJsonPayload=function(t,e){var n,i=o.buildPayload(this.accessToken,t,this.jsonBackup);return(n=this.truncation?this.truncation.truncate(i):r.stringify(i)).error?(e&&e(n.error),null):n.value},s.prototype.postJsonPayload=function(t,e){var n=o.transportOptions(this.transportOptions,"POST");this.transport.postJsonPayload(this.accessToken,n,t,e)},s.prototype.configure=function(t){var e=this.oldOptions;return this.options=r.merge(e,t),this.transportOptions=a(this.options,this.url),void 0!==this.options.accessToken&&(this.accessToken=this.options.accessToken),this},t.exports=s},91:(t,e,n)=>{var r=n(539);t.exports={buildPayload:function(t,e,n){if(!r.isType(e.context,"string")){var o=r.stringify(e.context,n);o.error?e.context="Error: could not serialize 'context'":e.context=o.value||"",e.context.length>255&&(e.context=e.context.substr(0,255))}return{access_token:t,data:e}},getTransportFromOptions:function(t,e,n){var r=e.hostname,o=e.protocol,i=e.port,s=e.path,a=e.search,c=t.timeout,u=function(t){var e="undefined"!=typeof window&&window||"undefined"!=typeof self&&self,n=t.defaultTransport||"xhr";return void 0===e.fetch&&(n="xhr"),void 0===e.XMLHttpRequest&&(n="fetch"),n}(t),l=t.proxy;if(t.endpoint){var h=n.parse(t.endpoint);r=h.hostname,o=h.protocol,i=h.port,s=h.pathname,a=h.search}return{timeout:c,hostname:r,protocol:o,port:i,path:s,search:a,proxy:l,transport:u}},transportOptions:function(t,e){var n=t.protocol||"https:",r=t.port||("http:"===n?80:"https:"===n?443:void 0),o=t.hostname,i=t.path,s=t.timeout,a=t.transport;return t.search&&(i+=t.search),t.proxy&&(i=n+"//"+o+i,o=t.proxy.host||t.proxy.hostname,r=t.proxy.port,n=t.proxy.protocol||n),{timeout:s,protocol:n,hostname:o,path:i,port:r,method:e,transport:a}},appendPathToPath:function(t,e){var n=/\/$/.test(t),r=/^\//.test(e);return n&&r?e=e.substring(1):n||r||(e="/"+e),t+e}}},108:function(t,e){var n,r;void 0===(r="function"==typeof(n=function(){function t(t){return!isNaN(parseFloat(t))&&isFinite(t)}function e(t){return t.charAt(0).toUpperCase()+t.substring(1)}function n(t){return function(){return this[t]}}var r=["isConstructor","isEval","isNative","isToplevel"],o=["columnNumber","lineNumber"],i=["fileName","functionName","source"],s=r.concat(o,i,["args"],["evalOrigin"]);function a(t){if(t)for(var n=0;n<s.length;n++)void 0!==t[s[n]]&&this["set"+e(s[n])](t[s[n]])}a.prototype={getArgs:function(){return this.args},setArgs:function(t){if("[object Array]"!==Object.prototype.toString.call(t))throw new TypeError("Args must be an Array");this.args=t},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(t){if(t instanceof a)this.evalOrigin=t;else{if(!(t instanceof Object))throw new TypeError("Eval Origin must be an Object or StackFrame");this.evalOrigin=new a(t)}},toString:function(){var t=this.getFileName()||"",e=this.getLineNumber()||"",n=this.getColumnNumber()||"",r=this.getFunctionName()||"";return this.getIsEval()?t?"[eval] ("+t+":"+e+":"+n+")":"[eval]:"+e+":"+n:r?r+" ("+t+":"+e+":"+n+")":t+":"+e+":"+n}},a.fromString=function(t){var e=t.indexOf("("),n=t.lastIndexOf(")"),r=t.substring(0,e),o=t.substring(e+1,n).split(","),i=t.substring(n+1);if(0===i.indexOf("@"))var s=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(i,""),c=s[1],u=s[2],l=s[3];return new a({functionName:r,args:o||void 0,fileName:c,lineNumber:u||void 0,columnNumber:l||void 0})};for(var c=0;c<r.length;c++)a.prototype["get"+e(r[c])]=n(r[c]),a.prototype["set"+e(r[c])]=function(t){return function(e){this[t]=Boolean(e)}}(r[c]);for(var u=0;u<o.length;u++)a.prototype["get"+e(o[u])]=n(o[u]),a.prototype["set"+e(o[u])]=function(e){return function(n){if(!t(n))throw new TypeError(e+" must be a Number");this[e]=Number(n)}}(o[u]);for(var l=0;l<i.length;l++)a.prototype["get"+e(i[l])]=n(i[l]),a.prototype["set"+e(i[l])]=function(t){return function(e){this[t]=String(e)}}(i[l]);return a})?n.apply(e,[]):n)||(t.exports=r)},175:t=>{var e={ieVersion:function(){var t;if("undefined"==typeof document)return t;for(var e=3,n=document.createElement("div"),r=n.getElementsByTagName("i");n.innerHTML="\x3c!--[if gt IE "+ ++e+"]><i></i><![endif]--\x3e",r[0];);return e>4?e:t}};t.exports=e},183:(t,e,n)=>{var r=n(944);"undefined"==typeof window||window._rollbarStartTime||(window._rollbarStartTime=(new Date).getTime()),t.exports=r},197:(t,e,n)=>{var r=n(335),o=n(539),i=n(67),s=n(306),a=n(796),c=n(497),u=n(61),l=n(203),h=n(962),p=n(584),d=n(581),f=n(342);function m(t,e){this.options=o.handleOptions(E,t,null,s),this.options._configuredOptions=t;var n=this.components.telemeter,a=this.components.instrumenter,f=this.components.polyfillJSON;this.wrapGlobals=this.components.wrapGlobals,this.scrub=this.components.scrub;var m=this.components.truncation,g=new c(m),v=new i(this.options,g,u,m);n&&(this.telemeter=new n(this.options)),this.client=e||new r(this.options,v,s,this.telemeter,"browser");var y=_(),b="undefined"!=typeof document&&document;this.isChrome=y.chrome&&y.chrome.runtime,this.anonymousErrorsPending=0,function(t,e,n){t.addTransform(l.handleDomException).addTransform(l.handleItemWithError).addTransform(l.ensureItemHasSomethingToSay).addTransform(l.addBaseInfo).addTransform(l.addRequestInfo(n)).addTransform(l.addClientInfo(n)).addTransform(l.addPluginInfo(n)).addTransform(l.addBody).addTransform(h.addMessageWithError).addTransform(h.addTelemetryData).addTransform(h.addConfigToPayload).addTransform(l.addScrubber(e.scrub)).addTransform(h.addPayloadOptions).addTransform(h.userTransform(s)).addTransform(h.addConfiguredOptions).addTransform(h.addDiagnosticKeys).addTransform(h.itemToPayload)}(this.client.notifier,this,y),this.client.queue.addPredicate(d.checkLevel).addPredicate(p.checkIgnore).addPredicate(d.userCheckIgnore(s)).addPredicate(d.urlIsNotBlockListed(s)).addPredicate(d.urlIsSafeListed(s)).addPredicate(d.messageIsIgnored(s)),this.setupUnhandledCapture(),a&&(this.instrumenter=new a(this.options,this.client.telemeter,this,y,b),this.instrumenter.instrument()),o.setupJSON(f),this.rollbar=this}var g=null;function v(t){var e="Rollbar is not initialized";s.error(e),t&&t(new Error(e))}function y(t){for(var e=0,n=t.length;e<n;++e)if(o.isFunction(t[e]))return t[e]}function _(){return"undefined"!=typeof window&&window||"undefined"!=typeof self&&self}m.init=function(t,e){return g?g.global(t).configure(t):g=new m(t,e)},m.prototype.components={},m.setComponents=function(t){m.prototype.components=t},m.prototype.global=function(t){return this.client.global(t),this},m.global=function(t){if(g)return g.global(t);v()},m.prototype.configure=function(t,e){var n=this.options,r={};return e&&(r={payload:e}),this.options=o.handleOptions(n,t,r,s),this.options._configuredOptions=o.handleOptions(n._configuredOptions,t,r),this.client.configure(this.options,e),this.instrumenter&&this.instrumenter.configure(this.options),this.setupUnhandledCapture(),this},m.configure=function(t,e){if(g)return g.configure(t,e);v()},m.prototype.lastError=function(){return this.client.lastError},m.lastError=function(){if(g)return g.lastError();v()},m.prototype.log=function(){var t=this._createItem(arguments),e=t.uuid;return this.client.log(t),{uuid:e}},m.log=function(){if(g)return g.log.apply(g,arguments);v(y(arguments))},m.prototype.debug=function(){var t=this._createItem(arguments),e=t.uuid;return this.client.debug(t),{uuid:e}},m.debug=function(){if(g)return g.debug.apply(g,arguments);v(y(arguments))},m.prototype.info=function(){var t=this._createItem(arguments),e=t.uuid;return this.client.info(t),{uuid:e}},m.info=function(){if(g)return g.info.apply(g,arguments);v(y(arguments))},m.prototype.warn=function(){var t=this._createItem(arguments),e=t.uuid;return this.client.warn(t),{uuid:e}},m.warn=function(){if(g)return g.warn.apply(g,arguments);v(y(arguments))},m.prototype.warning=function(){var t=this._createItem(arguments),e=t.uuid;return this.client.warning(t),{uuid:e}},m.warning=function(){if(g)return g.warning.apply(g,arguments);v(y(arguments))},m.prototype.error=function(){var t=this._createItem(arguments),e=t.uuid;return this.client.error(t),{uuid:e}},m.error=function(){if(g)return g.error.apply(g,arguments);v(y(arguments))},m.prototype.critical=function(){var t=this._createItem(arguments),e=t.uuid;return this.client.critical(t),{uuid:e}},m.critical=function(){if(g)return g.critical.apply(g,arguments);v(y(arguments))},m.prototype.buildJsonPayload=function(t){return this.client.buildJsonPayload(t)},m.buildJsonPayload=function(){if(g)return g.buildJsonPayload.apply(g,arguments);v()},m.prototype.sendJsonPayload=function(t){return this.client.sendJsonPayload(t)},m.sendJsonPayload=function(){if(g)return g.sendJsonPayload.apply(g,arguments);v()},m.prototype.setupUnhandledCapture=function(){var t=_();this.unhandledExceptionsInitialized||(this.options.captureUncaught||this.options.handleUncaughtExceptions)&&(a.captureUncaughtExceptions(t,this),this.wrapGlobals&&this.options.wrapGlobalEventHandlers&&this.wrapGlobals(t,this),this.unhandledExceptionsInitialized=!0),this.unhandledRejectionsInitialized||(this.options.captureUnhandledRejections||this.options.handleUnhandledRejections)&&(a.captureUnhandledRejections(t,this),this.unhandledRejectionsInitialized=!0)},m.prototype.handleUncaughtException=function(t,e,n,r,i,s){if(this.options.captureUncaught||this.options.handleUncaughtExceptions){if(this.options.inspectAnonymousErrors&&this.isChrome&&null===i&&""===e)return"anonymous";var a,c=o.makeUnhandledStackInfo(t,e,n,r,i,"onerror","uncaught exception",f);o.isError(i)?(a=this._createItem([t,i,s]))._unhandledStackInfo=c:o.isError(e)?(a=this._createItem([t,e,s]))._unhandledStackInfo=c:(a=this._createItem([t,s])).stackInfo=c,a.level=this.options.uncaughtErrorLevel,a._isUncaught=!0,this.client.log(a)}},m.prototype.handleAnonymousErrors=function(){if(this.options.inspectAnonymousErrors&&this.isChrome){var t=this;try{Error.prepareStackTrace=function(e,n){if(t.options.inspectAnonymousErrors&&t.anonymousErrorsPending){if(t.anonymousErrorsPending-=1,!e)return;e._isAnonymous=!0,t.handleUncaughtException(e.message,null,null,null,e)}return e.stack}}catch(t){this.options.inspectAnonymousErrors=!1,this.error("anonymous error handler failed",t)}}},m.prototype.handleUnhandledRejection=function(t,e){if(this.options.captureUnhandledRejections||this.options.handleUnhandledRejections){var n="unhandled rejection was null or undefined!";if(t)if(t.message)n=t.message;else{var r=o.stringify(t);r.value&&(n=r.value)}var i,s=t&&t._rollbarContext||e&&e._rollbarContext;o.isError(t)?i=this._createItem([n,t,s]):(i=this._createItem([n,t,s])).stackInfo=o.makeUnhandledStackInfo(n,"",0,0,null,"unhandledrejection","",f),i.level=this.options.uncaughtErrorLevel,i._isUncaught=!0,i._originalArgs=i._originalArgs||[],i._originalArgs.push(e),this.client.log(i)}},m.prototype.wrap=function(t,e,n){try{var r;if(r=o.isFunction(e)?e:function(){return e||{}},!o.isFunction(t))return t;if(t._isWrap)return t;if(!t._rollbar_wrapped&&(t._rollbar_wrapped=function(){n&&o.isFunction(n)&&n.apply(this,arguments);try{return t.apply(this,arguments)}catch(n){var e=n;throw e&&window._rollbarWrappedError!==e&&(o.isType(e,"string")&&(e=new String(e)),e._rollbarContext=r()||{},e._rollbarContext._wrappedSource=t.toString(),window._rollbarWrappedError=e),e}},t._rollbar_wrapped._isWrap=!0,t.hasOwnProperty))for(var i in t)t.hasOwnProperty(i)&&"_rollbar_wrapped"!==i&&(t._rollbar_wrapped[i]=t[i]);return t._rollbar_wrapped}catch(e){return t}},m.wrap=function(t,e){if(g)return g.wrap(t,e);v()},m.prototype.captureEvent=function(){var t=o.createTelemetryEvent(arguments);return this.client.captureEvent(t.type,t.metadata,t.level)},m.captureEvent=function(){if(g)return g.captureEvent.apply(g,arguments);v()},m.prototype.captureDomContentLoaded=function(t,e){return e||(e=new Date),this.client.captureDomContentLoaded(e)},m.prototype.captureLoad=function(t,e){return e||(e=new Date),this.client.captureLoad(e)},m.prototype.loadFull=function(){s.info("Unexpected Rollbar.loadFull() called on a Notifier instance. This can happen when Rollbar is loaded multiple times.")},m.prototype._createItem=function(t){return o.createItem(t,s,this)};var b=n(441),w=n(537),E={version:b.version,scrubFields:w.scrubFields,logLevel:b.logLevel,reportLevel:b.reportLevel,uncaughtErrorLevel:b.uncaughtErrorLevel,endpoint:b.endpoint,verbose:!1,enabled:!0,transmit:!0,sendConfig:!1,includeItemsInTelemetry:!0,captureIp:!0,inspectAnonymousErrors:!0,ignoreDuplicateErrors:!0,wrapGlobalEventHandlers:!1};t.exports=m},203:(t,e,n)=>{var r=n(539),o=n(342),i=n(306);function s(t,e,n){var o=t.message,i=t.custom;o||(o="Item sent with null or missing arguments.");var s={body:o};i&&(s.extra=r.merge(i)),r.set(t,"data.body",{message:s}),n(null,t)}function a(t){var e=t.stackInfo.stack;return e&&0===e.length&&t._unhandledStackInfo&&t._unhandledStackInfo.stack&&(e=t._unhandledStackInfo.stack),e}function c(t,e,n){var i=t&&t.data.description,s=t&&t.custom,c=a(t),l=o.guessErrorClass(e.message),h={exception:{class:u(e,l[0],n),message:l[1]}};if(i&&(h.exception.description=i),c){var p,d,f,m,g,v,y,_;for(0===c.length&&(h.exception.stack=e.rawStack,h.exception.raw=String(e.rawException)),h.frames=[],y=0;y<c.length;++y)d={filename:(p=c[y]).url?r.sanitizeUrl(p.url):"(unknown)",lineno:p.line||null,method:p.func&&"?"!==p.func?p.func:"[anonymous]",colno:p.column},n.sendFrameUrl&&(d.url=p.url),d.method&&d.method.endsWith&&d.method.endsWith("_rollbar_wrapped")||(f=m=g=null,(v=p.context?p.context.length:0)&&(_=Math.floor(v/2),m=p.context.slice(0,_),f=p.context[_],g=p.context.slice(_)),f&&(d.code=f),(m||g)&&(d.context={},m&&m.length&&(d.context.pre=m),g&&g.length&&(d.context.post=g)),p.args&&(d.args=p.args),h.frames.push(d));h.frames.reverse(),s&&(h.extra=r.merge(s))}return h}function u(t,e,n){return t.name?t.name:n.guessErrorClass?e:"(unknown)"}t.exports={handleDomException:function(t,e,n){if(t.err&&"DOMException"===o.Stack(t.err).name){var r=new Error;r.name=t.err.name,r.message=t.err.message,r.stack=t.err.stack,r.nested=t.err,t.err=r}n(null,t)},handleItemWithError:function(t,e,n){if(t.data=t.data||{},t.err)try{t.stackInfo=t.err._savedStackTrace||o.parse(t.err,t.skipFrames),e.addErrorContext&&function(t){var e=[],n=t.err;for(e.push(n);n.nested||n.cause;)n=n.nested||n.cause,e.push(n);r.addErrorContext(t,e)}(t)}catch(e){i.error("Error while parsing the error object.",e);try{t.message=t.err.message||t.err.description||t.message||String(t.err)}catch(e){t.message=String(t.err)||String(e)}delete t.err}n(null,t)},ensureItemHasSomethingToSay:function(t,e,n){t.message||t.stackInfo||t.custom||n(new Error("No message, stack info, or custom data"),null),n(null,t)},addBaseInfo:function(t,e,n){var o=e.payload&&e.payload.environment||e.environment;t.data=r.merge(t.data,{environment:o,level:t.level,endpoint:e.endpoint,platform:"browser",framework:"browser-js",language:"javascript",server:{},uuid:t.uuid,notifier:{name:"rollbar-browser-js",version:e.version},custom:t.custom}),n(null,t)},addRequestInfo:function(t){return function(e,n,o){var i={};t&&t.location&&(i.url=t.location.href,i.query_string=t.location.search);var s="$remote_ip";n.captureIp?!0!==n.captureIp&&(s+="_anonymize"):s=null,s&&(i.user_ip=s),Object.keys(i).length>0&&r.set(e,"data.request",i),o(null,e)}},addClientInfo:function(t){return function(e,n,o){if(!t)return o(null,e);var i=t.navigator||{},s=t.screen||{};r.set(e,"data.client",{runtime_ms:e.timestamp-t._rollbarStartTime,timestamp:Math.round(e.timestamp/1e3),javascript:{browser:i.userAgent,language:i.language,cookie_enabled:i.cookieEnabled,screen:{width:s.width,height:s.height}}}),o(null,e)}},addPluginInfo:function(t){return function(e,n,o){if(!t||!t.navigator)return o(null,e);for(var i,s=[],a=t.navigator.plugins||[],c=0,u=a.length;c<u;++c)i=a[c],s.push({name:i.name,description:i.description});r.set(e,"data.client.javascript.plugins",s),o(null,e)}},addBody:function(t,e,n){t.stackInfo?t.stackInfo.traceChain?function(t,e,n){for(var o=t.stackInfo.traceChain,i=[],s=o.length,a=0;a<s;a++){var u=c(t,o[a],e);i.push(u)}r.set(t,"data.body",{trace_chain:i}),n(null,t)}(t,e,n):function(t,e,n){if(a(t)){var i=c(t,t.stackInfo,e);r.set(t,"data.body",{trace:i}),n(null,t)}else{var l=t.stackInfo,h=o.guessErrorClass(l.message),p=u(l,h[0],e),d=h[1];t.message=p+": "+d,s(t,0,n)}}(t,e,n):s(t,0,n)},addScrubber:function(t){return function(e,n,r){if(t){var o=n.scrubFields||[],i=n.scrubPaths||[];e.data=t(e.data,o,i)}r(null,e)}}}},215:t=>{var e=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=function(t){if(!t||"[object Object]"!==n.call(t))return!1;var r,o=e.call(t,"constructor"),i=t.constructor&&t.constructor.prototype&&e.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!o&&!i)return!1;for(r in t);return void 0===r||e.call(t,r)};t.exports=function t(){var e,n,o,i,s,a=Object.create(null),c=null,u=arguments.length;for(e=0;e<u;e++)if(null!=(c=arguments[e]))for(s in c)n=a[s],a!==(o=c[s])&&(o&&r(o)?(i=n&&r(n)?n:{},a[s]=t(i,o)):void 0!==o&&(a[s]=o));return a}},263:function(t,e,n){var r,o,i;o=[n(108)],void 0===(i="function"==typeof(r=function(t){var e=/(^|@)\S+:\d+/,n=/^\s*at .*(\S+:\d+|\(native\))/m,r=/^(eval@)?(\[native code])?$/;return{parse:function(t){if(void 0!==t.stacktrace||void 0!==t["opera#sourceloc"])return this.parseOpera(t);if(t.stack&&t.stack.match(n))return this.parseV8OrIE(t);if(t.stack)return this.parseFFOrSafari(t);throw new Error("Cannot parse given Error object")},extractLocation:function(t){if(-1===t.indexOf(":"))return[t];var e=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(t.replace(/[()]/g,""));return[e[1],e[2]||void 0,e[3]||void 0]},parseV8OrIE:function(e){return e.stack.split("\n").filter(function(t){return!!t.match(n)},this).map(function(e){e.indexOf("(eval ")>-1&&(e=e.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var n=e.replace(/^\s+/,"").replace(/\(eval code/g,"("),r=n.match(/ (\((.+):(\d+):(\d+)\)$)/),o=(n=r?n.replace(r[0],""):n).split(/\s+/).slice(1),i=this.extractLocation(r?r[1]:o.pop()),s=o.join(" ")||void 0,a=["eval","<anonymous>"].indexOf(i[0])>-1?void 0:i[0];return new t({functionName:s,fileName:a,lineNumber:i[1],columnNumber:i[2],source:e})},this)},parseFFOrSafari:function(e){return e.stack.split("\n").filter(function(t){return!t.match(r)},this).map(function(e){if(e.indexOf(" > eval")>-1&&(e=e.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===e.indexOf("@")&&-1===e.indexOf(":"))return new t({functionName:e});var n=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=e.match(n),o=r&&r[1]?r[1]:void 0,i=this.extractLocation(e.replace(n,""));return new t({functionName:o,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:e})},this)},parseOpera:function(t){return!t.stacktrace||t.message.indexOf("\n")>-1&&t.message.split("\n").length>t.stacktrace.split("\n").length?this.parseOpera9(t):t.stack?this.parseOpera11(t):this.parseOpera10(t)},parseOpera9:function(e){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=e.message.split("\n"),o=[],i=2,s=r.length;i<s;i+=2){var a=n.exec(r[i]);a&&o.push(new t({fileName:a[2],lineNumber:a[1],source:r[i]}))}return o},parseOpera10:function(e){for(var n=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,r=e.stacktrace.split("\n"),o=[],i=0,s=r.length;i<s;i+=2){var a=n.exec(r[i]);a&&o.push(new t({functionName:a[3]||void 0,fileName:a[2],lineNumber:a[1],source:r[i]}))}return o},parseOpera11:function(n){return n.stack.split("\n").filter(function(t){return!!t.match(e)&&!t.match(/^Error created at/)},this).map(function(e){var n,r=e.split("@"),o=this.extractLocation(r.pop()),i=r.shift()||"",s=i.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;i.match(/\(([^)]*)\)/)&&(n=i.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var a=void 0===n||"[arguments not available]"===n?void 0:n.split(",");return new t({functionName:s,args:a,fileName:o[0],lineNumber:o[1],columnNumber:o[2],source:e})},this)}}})?r.apply(e,o):r)||(t.exports=i)},306:(t,e,n)=>{n(738);var r=n(175),o=n(539);t.exports={error:function(){var t=Array.prototype.slice.call(arguments,0);t.unshift("Rollbar:"),r.ieVersion()<=8?console.error(o.formatArgsAsString(t)):console.error.apply(console,t)},info:function(){var t=Array.prototype.slice.call(arguments,0);t.unshift("Rollbar:"),r.ieVersion()<=8?console.info(o.formatArgsAsString(t)):console.info.apply(console,t)},log:function(){var t=Array.prototype.slice.call(arguments,0);t.unshift("Rollbar:"),r.ieVersion()<=8?console.log(o.formatArgsAsString(t)):console.log.apply(console,t)}}},335:(t,e,n)=>{var r=n(513),o=n(744),i=n(777),s=n(539);function a(t,e,n,r,l){this.options=s.merge(t),this.logger=n,a.rateLimiter.configureGlobal(this.options),a.rateLimiter.setPlatformOptions(l,this.options),this.api=e,this.queue=new o(a.rateLimiter,e,n,this.options);var h=this.options.tracer||null;u(h)?(this.tracer=h,this.options.tracer="opentracing-tracer-enabled",this.options._configuredOptions.tracer="opentracing-tracer-enabled"):this.tracer=null,this.notifier=new i(this.queue,this.options),this.telemeter=r,c(t),this.lastError=null,this.lastErrorHash="none"}function c(t){t.stackTraceLimit&&(Error.stackTraceLimit=t.stackTraceLimit)}function u(t){if(!t)return!1;if(!t.scope||"function"!=typeof t.scope)return!1;var e=t.scope();return!(!e||!e.active||"function"!=typeof e.active)}a.rateLimiter=new r({maxItems:0,itemsPerMinute:60}),a.prototype.global=function(t){return a.rateLimiter.configureGlobal(t),this},a.prototype.configure=function(t,e){var n=this.options,r={};e&&(r={payload:e}),this.options=s.merge(n,t,r);var o=this.options.tracer||null;return u(o)?(this.tracer=o,this.options.tracer="opentracing-tracer-enabled",this.options._configuredOptions.tracer="opentracing-tracer-enabled"):this.tracer=null,this.notifier&&this.notifier.configure(this.options),this.telemeter&&this.telemeter.configure(this.options),c(t),this.global(this.options),u(t.tracer)&&(this.tracer=t.tracer),this},a.prototype.log=function(t){var e=this._defaultLogLevel();return this._log(e,t)},a.prototype.debug=function(t){this._log("debug",t)},a.prototype.info=function(t){this._log("info",t)},a.prototype.warn=function(t){this._log("warning",t)},a.prototype.warning=function(t){this._log("warning",t)},a.prototype.error=function(t){this._log("error",t)},a.prototype.critical=function(t){this._log("critical",t)},a.prototype.wait=function(t){this.queue.wait(t)},a.prototype.captureEvent=function(t,e,n){return this.telemeter&&this.telemeter.captureEvent(t,e,n)},a.prototype.captureDomContentLoaded=function(t){return this.telemeter&&this.telemeter.captureDomContentLoaded(t)},a.prototype.captureLoad=function(t){return this.telemeter&&this.telemeter.captureLoad(t)},a.prototype.buildJsonPayload=function(t){return this.api.buildJsonPayload(t)},a.prototype.sendJsonPayload=function(t){this.api.postJsonPayload(t)},a.prototype._log=function(t,e){var n;if(e.callback&&(n=e.callback,delete e.callback),this.options.ignoreDuplicateErrors&&this._sameAsLastError(e)){if(n){var r=new Error("ignored identical item");r.item=e,n(r)}}else try{this._addTracingInfo(e),e.level=e.level||t,this.telemeter&&this.telemeter._captureRollbarItem(e),e.telemetryEvents=this.telemeter&&this.telemeter.copyEvents()||[],this.notifier.log(e,n)}catch(t){n&&n(t),this.logger.error(t)}},a.prototype._defaultLogLevel=function(){return this.options.logLevel||"debug"},a.prototype._sameAsLastError=function(t){if(!t._isUncaught)return!1;var e=function(t){return(t.message||"")+"::"+((t.err||{}).stack||String(t.err))}(t);return this.lastErrorHash===e||(this.lastError=t.err,this.lastErrorHash=e,!1)},a.prototype._addTracingInfo=function(t){if(this.tracer){var e=this.tracer.scope().active();if(function(t){if(!t||!t.context||"function"!=typeof t.context)return!1;var e=t.context();return!!(e&&e.toSpanId&&e.toTraceId&&"function"==typeof e.toSpanId&&"function"==typeof e.toTraceId)}(e)){e.setTag("rollbar.error_uuid",t.uuid),e.setTag("rollbar.has_error",!0),e.setTag("error",!0),e.setTag("rollbar.item_url",`https://rollbar.com/item/uuid/?uuid=${t.uuid}`),e.setTag("rollbar.occurrence_url",`https://rollbar.com/occurrence/uuid/?uuid=${t.uuid}`);var n=e.context().toSpanId(),r=e.context().toTraceId();t.custom?(t.custom.opentracing_span_id=n,t.custom.opentracing_trace_id=r):t.custom={opentracing_span_id:n,opentracing_trace_id:r}}}},t.exports=a},342:(t,e,n)=>{var r=n(263),o=new RegExp("^(([a-zA-Z0-9-_$ ]*): *)?(Uncaught )?([a-zA-Z0-9-_$ ]*): ");function i(t){var e={};return e._stackFrame=t,e.url=t.fileName,e.line=t.lineNumber,e.func=t.functionName,e.column=t.columnNumber,e.args=t.args,e.context=null,e}function s(t,e){return{stack:function(){var n=[];e=e||0;try{n=r.parse(t)}catch(t){n=[]}for(var o=[],s=e;s<n.length;s++)o.push(new i(n[s]));return o}(),message:t.message,name:(n=t,o=n.name&&n.name.length&&n.name,s=n.constructor.name&&n.constructor.name.length&&n.constructor.name,o&&s?"Error"===o?s:o:o||s),rawStack:t.stack,rawException:t};var n,o,s}t.exports={guessFunctionName:function(){return"?"},guessErrorClass:function(t){if(!t||!t.match)return["Unknown error. There was no error message to display.",""];var e=t.match(o),n="(unknown)";return e&&(n=e[e.length-1],t=(t=t.replace((e[e.length-2]||"")+n+":","")).replace(/(^[\s]+|[\s]+$)/g,"")),[n,t]},gatherContext:function(){return null},parse:function(t,e){var n=t;if(n.nested||n.cause){for(var r=[];n;)r.push(new s(n,e)),n=n.nested||n.cause,e=0;return r[0].traceChain=r,r[0]}return new s(n,e)},Stack:s,Frame:i}},352:(t,e,n)=>{var r=n(539),o=100;function i(t){this.queue=[],this.options=r.merge(t);var e=this.options.maxTelemetryEvents||o;this.maxQueueSize=Math.max(0,Math.min(e,o))}function s(t,e){return e||{error:"error",manual:"info"}[t]||"info"}i.prototype.configure=function(t){var e=this.options;this.options=r.merge(e,t);var n=this.options.maxTelemetryEvents||o,i=Math.max(0,Math.min(n,o)),s=0;this.queue.length>i&&(s=this.queue.length-i),this.maxQueueSize=i,this.queue.splice(0,s)},i.prototype.copyEvents=function(){var t=Array.prototype.slice.call(this.queue,0);if(r.isFunction(this.options.filterTelemetry))try{for(var e=t.length;e--;)this.options.filterTelemetry(t[e])&&t.splice(e,1)}catch(t){this.options.filterTelemetry=null}return t},i.prototype.capture=function(t,e,n,o,i){var a={level:s(t,n),type:t,timestamp_ms:i||r.now(),body:e,source:"client"};o&&(a.uuid=o);try{if(r.isFunction(this.options.filterTelemetry)&&this.options.filterTelemetry(a))return!1}catch(t){this.options.filterTelemetry=null}return this.push(a),a},i.prototype.captureEvent=function(t,e,n,r){return this.capture(t,e,n,r)},i.prototype.captureError=function(t,e,n,r){var o={message:t.message||String(t)};return t.stack&&(o.stack=t.stack),this.capture("error",o,e,n,r)},i.prototype.captureLog=function(t,e,n,r){return this.capture("log",{message:t},e,n,r)},i.prototype.captureNetwork=function(t,e,n,r){e=e||"xhr",t.subtype=t.subtype||e,r&&(t.request=r);var o=this.levelFromStatus(t.status_code);return this.capture("network",t,o,n)},i.prototype.levelFromStatus=function(t){return t>=200&&t<400?"info":0===t||t>=400?"error":"info"},i.prototype.captureDom=function(t,e,n,r,o){var i={subtype:t,element:e};return void 0!==n&&(i.value=n),void 0!==r&&(i.checked=r),this.capture("dom",i,"info",o)},i.prototype.captureNavigation=function(t,e,n){return this.capture("navigation",{from:t,to:e},"info",n)},i.prototype.captureDomContentLoaded=function(t){return this.capture("navigation",{subtype:"DOMContentLoaded"},"info",void 0,t&&t.getTime())},i.prototype.captureLoad=function(t){return this.capture("navigation",{subtype:"load"},"info",void 0,t&&t.getTime())},i.prototype.captureConnectivityChange=function(t,e){return this.captureNetwork({change:t},"connectivity",e)},i.prototype._captureRollbarItem=function(t){if(this.options.includeItemsInTelemetry)return t.err?this.captureError(t.err,t.level,t.uuid,t.timestamp):t.message?this.captureLog(t.message,t.level,t.uuid,t.timestamp):t.custom?this.capture("log",t.custom,t.level,t.uuid,t.timestamp):void 0},i.prototype.push=function(t){this.queue.push(t),this.queue.length>this.maxQueueSize&&this.queue.shift()},t.exports=i},356:(t,e,n)=>{var r=n(539),o=n(12);function i(t,e){var n=e.split("."),o=n.length-1;try{for(var i=0;i<=o;++i)i<o?t=t[n[i]]:t[n[i]]=r.redact()}catch(t){}}t.exports=function(t,e,n){if(e=e||[],n)for(var s=0;s<n.length;++s)i(t,n[s]);var a=function(t){for(var e,n=[],r=0;r<t.length;++r)e="^\\[?(%5[bB])?"+t[r]+"\\[?(%5[bB])?\\]?(%5[dD])?$",n.push(new RegExp(e,"i"));return n}(e),c=function(t){for(var e,n=[],r=0;r<t.length;++r)e="\\[?(%5[bB])?"+t[r]+"\\[?(%5[bB])?\\]?(%5[dD])?",n.push(new RegExp("("+e+"=)([^&\\n]+)","igm"));return n}(e);function u(t,e){return e+r.redact()}return o(t,function t(e,n,i){var s=function(t,e){var n;for(n=0;n<a.length;++n)if(a[n].test(t)){e=r.redact();break}return e}(e,n);return s===n?r.isType(n,"object")||r.isType(n,"array")?o(n,t,i):function(t){var e;if(r.isType(t,"string"))for(e=0;e<c.length;++e)t=t.replace(c[e],u);return t}(s):s})}},364:t=>{t.exports=function(t,e,n,r,o){var i=t[e];t[e]=n(i),r&&r[o].push([t,e,i])}},424:t=>{function e(t,e,n){if(e.hasOwnProperty&&e.hasOwnProperty("addEventListener")){for(var r=e.addEventListener;r._rollbarOldAdd&&r.belongsToShim;)r=r._rollbarOldAdd;var o=function(e,n,o){r.call(this,e,t.wrap(n),o)};o._rollbarOldAdd=r,o.belongsToShim=n,e.addEventListener=o;for(var i=e.removeEventListener;i._rollbarOldRemove&&i.belongsToShim;)i=i._rollbarOldRemove;var s=function(t,e,n){i.call(this,t,e&&e._rollbar_wrapped||e,n)};s._rollbarOldRemove=i,s.belongsToShim=n,e.removeEventListener=s}}t.exports=function(t,n,r){if(t){var o,i,s="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".split(",");for(o=0;o<s.length;++o)t[i=s[o]]&&t[i].prototype&&e(n,t[i].prototype,r)}}},435:(t,e,n)=>{var r=n(538);t.exports=r},440:(t,e,n)=>{var r=n(539),o=n(306);function i(t,e){var n=new Error(t);return n.code=e||"ENOTFOUND",n}t.exports=function(t,e,n,s,a,c,u){var l;if(!(l=c?c():function(){var t,e,n=[function(){return new XMLHttpRequest},function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Msxml3.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")}],r=n.length;for(e=0;e<r;e++)try{t=n[e]();break}catch(t){}return t}()))return a(new Error("No way to send a request"));try{try{var h=function(){try{if(h&&4===l.readyState){h=void 0;var t=r.jsonParse(l.responseText);if((s=l)&&s.status&&200===s.status)return void a(t.error,t.value);if(function(t){return t&&r.isType(t.status,"number")&&t.status>=400&&t.status<600}(l)){if(403===l.status){var e=t.value&&t.value.message;o.error(e)}a(new Error(String(l.status)))}else a(i("XHR response had no status code (likely connection failure)"))}}catch(t){var n;n=t&&t.stack?t:new Error(t),a(n)}var s};l.open(n,e,!0),l.setRequestHeader&&(l.setRequestHeader("Content-Type","application/json"),l.setRequestHeader("X-Rollbar-Access-Token",t)),r.isFiniteNumber(u)&&(l.timeout=u),l.onreadystatechange=h,l.send(s)}catch(t){if("undefined"!=typeof XDomainRequest){if(!window||!window.location)return a(new Error("No window available during request, unknown environment"));"http:"===window.location.href.substring(0,5)&&"https"===e.substring(0,5)&&(e="http"+e.substring(5));var p=new XDomainRequest;p.onprogress=function(){},p.ontimeout=function(){a(i("Request timed out","ETIMEDOUT"))},p.onerror=function(){a(new Error("Error during request"))},p.onload=function(){var t=r.jsonParse(p.responseText);a(t.error,t.value)},p.open(n,e,!0),p.send(s)}else a(new Error("Cannot find a method to transport a request"))}}catch(t){a(t)}}},441:t=>{t.exports={version:"2.26.5",endpoint:"api.rollbar.com/api/1/item/",logLevel:"debug",reportLevel:"debug",uncaughtErrorLevel:"error",maxItems:0,itemsPerMin:60}},497:(t,e,n)=>{var r=n(539),o=n(534),i=n(440);function s(t){this.truncation=t}s.prototype.get=function(t,e,n,o,i){o&&r.isFunction(o)||(o=function(){}),r.addParamsAndAccessTokenToPath(t,e,n);var s=r.formatUrl(e);this._makeZoneRequest(t,s,"GET",null,o,i,e.timeout,e.transport)},s.prototype.post=function(t,e,n,o,i){if(o&&r.isFunction(o)||(o=function(){}),!n)return o(new Error("Cannot send empty request"));var s;if((s=this.truncation?this.truncation.truncate(n):r.stringify(n)).error)return o(s.error);var a=s.value,c=r.formatUrl(e);this._makeZoneRequest(t,c,"POST",a,o,i,e.timeout,e.transport)},s.prototype.postJsonPayload=function(t,e,n,o,i){o&&r.isFunction(o)||(o=function(){});var s=r.formatUrl(e);this._makeZoneRequest(t,s,"POST",n,o,i,e.timeout,e.transport)},s.prototype._makeZoneRequest=function(){var t="undefined"!=typeof window&&window||void 0!==r&&r,e=t&&t.Zone&&t.Zone.root,n=Array.prototype.slice.call(arguments);if(e){var r=this;e.run(function(){r._makeRequest.apply(void 0,n)})}else this._makeRequest.apply(void 0,n)},s.prototype._makeRequest=function(t,e,n,r,s,a,c,u){if("undefined"!=typeof RollbarProxy)return function(t,e){(new RollbarProxy).sendJsonPayload(t,function(t){},function(t){e(new Error(t))})}(r,s);"fetch"===u?o(t,e,n,r,s,c):i(t,e,n,r,s,a,c)},t.exports=s},513:(t,e,n)=>{var r=n(539);function o(t){this.startTime=r.now(),this.counter=0,this.perMinCounter=0,this.platform=null,this.platformOptions={},this.configureGlobal(t)}function i(t,e,n){return!t.ignoreRateLimit&&e>=1&&n>e}function s(t,e,n,r,o,i,s){var a=null;return n&&(n=new Error(n)),n||r||(a=function(t,e,n,r,o){var i={body:{message:{body:o?"item per minute limit reached, ignoring errors until timeout":"maxItems has been hit, ignoring errors until reset.",extra:{maxItems:n,itemsPerMinute:r}}},language:"javascript",environment:e.environment||e.payload&&e.payload.environment,notifier:{version:e.notifier&&e.notifier.version||e.version}};return"browser"===t?(i.platform="browser",i.framework="browser-js",i.notifier.name="rollbar-browser-js"):"server"===t?(i.framework=e.framework||"node-js",i.notifier.name=e.notifier.name):"react-native"===t&&(i.framework=e.framework||"react-native",i.notifier.name=e.notifier.name),i}(t,e,o,i,s)),{error:n,shouldSend:r,payload:a}}o.globalSettings={startTime:r.now(),maxItems:void 0,itemsPerMinute:void 0},o.prototype.configureGlobal=function(t){void 0!==t.startTime&&(o.globalSettings.startTime=t.startTime),void 0!==t.maxItems&&(o.globalSettings.maxItems=t.maxItems),void 0!==t.itemsPerMinute&&(o.globalSettings.itemsPerMinute=t.itemsPerMinute)},o.prototype.shouldSend=function(t,e){var n=(e=e||r.now())-this.startTime;(n<0||n>=6e4)&&(this.startTime=e,this.perMinCounter=0);var a=o.globalSettings.maxItems,c=o.globalSettings.itemsPerMinute;if(i(t,a,this.counter))return s(this.platform,this.platformOptions,a+" max items reached",!1);if(i(t,c,this.perMinCounter))return s(this.platform,this.platformOptions,c+" items per minute reached",!1);this.counter++,this.perMinCounter++;var u=!i(t,a,this.counter),l=u;return u=u&&!i(t,c,this.perMinCounter),s(this.platform,this.platformOptions,null,u,a,c,l)},o.prototype.setPlatformOptions=function(t,e){this.platform=t,this.platformOptions=e},t.exports=o},534:(t,e,n)=>{var r=n(306),o=n(539);t.exports=function(t,e,n,i,s,a){var c,u;o.isFiniteNumber(a)&&(c=new AbortController,u=setTimeout(function(){c.abort()},a)),fetch(e,{method:n,headers:{"Content-Type":"application/json","X-Rollbar-Access-Token":t,signal:c&&c.signal},body:i}).then(function(t){return u&&clearTimeout(u),t.json()}).then(function(t){s(null,t)}).catch(function(t){r.error(t.message),s(t)})}},537:t=>{t.exports={scrubFields:["pw","pass","passwd","password","secret","confirm_password","confirmPassword","password_confirmation","passwordConfirmation","access_token","accessToken","X-Rollbar-Access-Token","secret_key","secretKey","secretToken","cc-number","card number","cardnumber","cardnum","ccnum","ccnumber","cc num","creditcardnumber","credit card number","newcreditcardnumber","new credit card","creditcardno","credit card no","card#","card #","cc-csc","cvc","cvc2","cvv2","ccv2","security code","card verification","name on credit card","name on card","nameoncard","cardholder","card holder","name des karteninhabers","ccname","card type","cardtype","cc type","cctype","payment type","expiration date","expirationdate","expdate","cc-exp","ccmonth","ccyear"]}},538:t=>{t.exports=function(t){var e,n,r,o,i,s,a,c,u,l,h,p,d,f=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;function m(t){return t<10?"0"+t:t}function g(){return this.valueOf()}function v(t){return f.lastIndex=0,f.test(t)?'"'+t.replace(f,function(t){var e=r[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'}function y(t,r){var i,s,a,c,u,l=e,h=r[t];switch(h&&"object"==typeof h&&"function"==typeof h.toJSON&&(h=h.toJSON(t)),"function"==typeof o&&(h=o.call(r,t,h)),typeof h){case"string":return v(h);case"number":return isFinite(h)?String(h):"null";case"boolean":case"null":return String(h);case"object":if(!h)return"null";if(e+=n,u=[],"[object Array]"===Object.prototype.toString.apply(h)){for(c=h.length,i=0;i<c;i+=1)u[i]=y(i,h)||"null";return a=0===u.length?"[]":e?"[\n"+e+u.join(",\n"+e)+"\n"+l+"]":"["+u.join(",")+"]",e=l,a}if(o&&"object"==typeof o)for(c=o.length,i=0;i<c;i+=1)"string"==typeof o[i]&&(a=y(s=o[i],h))&&u.push(v(s)+(e?": ":":")+a);else for(s in h)Object.prototype.hasOwnProperty.call(h,s)&&(a=y(s,h))&&u.push(v(s)+(e?": ":":")+a);return a=0===u.length?"{}":e?"{\n"+e+u.join(",\n"+e)+"\n"+l+"}":"{"+u.join(",")+"}",e=l,a}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+m(this.getUTCMonth()+1)+"-"+m(this.getUTCDate())+"T"+m(this.getUTCHours())+":"+m(this.getUTCMinutes())+":"+m(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=g,Number.prototype.toJSON=g,String.prototype.toJSON=g),"function"!=typeof t.stringify&&(r={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},t.stringify=function(t,r,i){var s;if(e="",n="","number"==typeof i)for(s=0;s<i;s+=1)n+=" ";else"string"==typeof i&&(n=i);if(o=r,r&&"function"!=typeof r&&("object"!=typeof r||"number"!=typeof r.length))throw new Error("JSON.stringify");return y("",{"":t})}),"function"!=typeof t.parse&&(t.parse=(l={"\\":"\\",'"':'"',"/":"/",t:"\t",n:"\n",r:"\r",f:"\f",b:"\b"},h={go:function(){i="ok"},firstokey:function(){c=u,i="colon"},okey:function(){c=u,i="colon"},ovalue:function(){i="ocomma"},firstavalue:function(){i="acomma"},avalue:function(){i="acomma"}},p={go:function(){i="ok"},ovalue:function(){i="ocomma"},firstavalue:function(){i="acomma"},avalue:function(){i="acomma"}},d={"{":{go:function(){s.push({state:"ok"}),a={},i="firstokey"},ovalue:function(){s.push({container:a,state:"ocomma",key:c}),a={},i="firstokey"},firstavalue:function(){s.push({container:a,state:"acomma"}),a={},i="firstokey"},avalue:function(){s.push({container:a,state:"acomma"}),a={},i="firstokey"}},"}":{firstokey:function(){var t=s.pop();u=a,a=t.container,c=t.key,i=t.state},ocomma:function(){var t=s.pop();a[c]=u,u=a,a=t.container,c=t.key,i=t.state}},"[":{go:function(){s.push({state:"ok"}),a=[],i="firstavalue"},ovalue:function(){s.push({container:a,state:"ocomma",key:c}),a=[],i="firstavalue"},firstavalue:function(){s.push({container:a,state:"acomma"}),a=[],i="firstavalue"},avalue:function(){s.push({container:a,state:"acomma"}),a=[],i="firstavalue"}},"]":{firstavalue:function(){var t=s.pop();u=a,a=t.container,c=t.key,i=t.state},acomma:function(){var t=s.pop();a.push(u),u=a,a=t.container,c=t.key,i=t.state}},":":{colon:function(){if(Object.hasOwnProperty.call(a,c))throw new SyntaxError("Duplicate key '"+c+'"');i="ovalue"}},",":{ocomma:function(){a[c]=u,i="okey"},acomma:function(){a.push(u),i="avalue"}},true:{go:function(){u=!0,i="ok"},ovalue:function(){u=!0,i="ocomma"},firstavalue:function(){u=!0,i="acomma"},avalue:function(){u=!0,i="acomma"}},false:{go:function(){u=!1,i="ok"},ovalue:function(){u=!1,i="ocomma"},firstavalue:function(){u=!1,i="acomma"},avalue:function(){u=!1,i="acomma"}},null:{go:function(){u=null,i="ok"},ovalue:function(){u=null,i="ocomma"},firstavalue:function(){u=null,i="acomma"},avalue:function(){u=null,i="acomma"}}},function(t,e){var n,r,o=/^[\u0020\t\n\r]*(?:([,:\[\]{}]|true|false|null)|(-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)|"((?:[^\r\n\t\\\"]|\\(?:["\\\/trnfb]|u[0-9a-fA-F]{4}))*)")/;i="go",s=[];try{for(;n=o.exec(t);)n[1]?d[n[1]][i]():n[2]?(u=+n[2],p[i]()):(r=n[3],u=r.replace(/\\(?:u(.{4})|([^u]))/g,function(t,e,n){return e?String.fromCharCode(parseInt(e,16)):l[n]}),h[i]()),t=t.slice(n[0].length)}catch(t){i=t}if("ok"!==i||/[^\u0020\t\n\r]/.test(t))throw i instanceof SyntaxError?i:new SyntaxError("JSON");return"function"==typeof e?function t(n,r){var o,i,s=n[r];if(s&&"object"==typeof s)for(o in u)Object.prototype.hasOwnProperty.call(s,o)&&(void 0!==(i=t(s,o))?s[o]=i:delete s[o]);return e.call(n,r,s)}({"":u},""):u}))}},539:(t,e,n)=>{var r=n(215),o={};function i(t,e){return e===s(t)}function s(t){var e=typeof t;return"object"!==e?e:t?t instanceof Error?"error":{}.toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase():"null"}function a(t){return i(t,"function")}function c(t){var e=Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?"),n=RegExp("^"+e+"$");return u(t)&&n.test(t)}function u(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function l(){var t=y();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var n=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"===e?n:7&n|8).toString(16)})}var h={strictMode:!1,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}};function p(t,e){var n,r;try{n=o.stringify(t)}catch(o){if(e&&a(e))try{n=e(t)}catch(t){r=t}else r=o}return{error:r,value:n}}function d(t,e){return function(n,r){try{e(n,r)}catch(e){t.error(e)}}}function f(t){return function t(e,n){var r,o,a,c={};try{for(o in e)(r=e[o])&&(i(r,"object")||i(r,"array"))?n.includes(r)?c[o]="Removed circular reference: "+s(r):((a=n.slice()).push(r),c[o]=t(r,a)):c[o]=r}catch(t){c="Failed cloning custom data: "+t.message}return c}(t,[t])}var m=["log","network","dom","navigation","error","manual"],g=["critical","error","warning","info","debug"];function v(t,e){for(var n=0;n<t.length;++n)if(t[n]===e)return!0;return!1}function y(){return Date.now?+Date.now():+new Date}t.exports={addParamsAndAccessTokenToPath:function(t,e,n){(n=n||{}).access_token=t;var r,o=[];for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&o.push([r,n[r]].join("="));var i="?"+o.sort().join("&");(e=e||{}).path=e.path||"";var s,a=e.path.indexOf("?"),c=e.path.indexOf("#");-1!==a&&(-1===c||c>a)?(s=e.path,e.path=s.substring(0,a)+i+"&"+s.substring(a+1)):-1!==c?(s=e.path,e.path=s.substring(0,c)+i+s.substring(c)):e.path=e.path+i},createItem:function(t,e,n,r,o){for(var i,a,c,u,h,p,m=[],g=[],v=0,_=t.length;v<_;++v){var b=s(p=t[v]);switch(g.push(b),b){case"undefined":break;case"string":i?m.push(p):i=p;break;case"function":u=d(e,p);break;case"date":m.push(p);break;case"error":case"domexception":case"exception":a?m.push(p):a=p;break;case"object":case"array":if(p instanceof Error||"undefined"!=typeof DOMException&&p instanceof DOMException){a?m.push(p):a=p;break}if(r&&"object"===b&&!h){for(var w=0,E=r.length;w<E;++w)if(void 0!==p[r[w]]){h=p;break}if(h)break}c?m.push(p):c=p;break;default:if(p instanceof Error||"undefined"!=typeof DOMException&&p instanceof DOMException){a?m.push(p):a=p;break}m.push(p)}}c&&(c=f(c)),m.length>0&&(c||(c=f({})),c.extraArgs=f(m));var x={message:i,err:a,custom:c,timestamp:y(),callback:u,notifier:n,diagnostic:{},uuid:l()};return function(t,e){e&&void 0!==e.level&&(t.level=e.level,delete e.level),e&&void 0!==e.skipFrames&&(t.skipFrames=e.skipFrames,delete e.skipFrames)}(x,c),r&&h&&(x.request=h),o&&(x.lambdaContext=o),x._originalArgs=t,x.diagnostic.original_arg_types=g,x},addErrorContext:function(t,e){var n=t.data.custom||{},o=!1;try{for(var i=0;i<e.length;++i)e[i].hasOwnProperty("rollbarContext")&&(n=r(n,f(e[i].rollbarContext)),o=!0);o&&(t.data.custom=n)}catch(e){t.diagnostic.error_context="Failed: "+e.message}},createTelemetryEvent:function(t){for(var e,n,r,o,i=0,a=t.length;i<a;++i)switch(s(o=t[i])){case"string":!e&&v(m,o)?e=o:!r&&v(g,o)&&(r=o);break;case"object":n=o}return{type:e||"manual",metadata:n||{},level:r}},filterIp:function(t,e){if(t&&t.user_ip&&!0!==e){var n=t.user_ip;if(e)try{var r;if(-1!==n.indexOf("."))(r=n.split(".")).pop(),r.push("0"),n=r.join(".");else if(-1!==n.indexOf(":")){if((r=n.split(":")).length>2){var o=r.slice(0,3),i=o[2].indexOf("/");-1!==i&&(o[2]=o[2].substring(0,i)),n=o.concat("0000:0000:0000:0000:0000").join(":")}}else n=null}catch(t){n=null}else n=null;t.user_ip=n}},formatArgsAsString:function(t){var e,n,r,o=[];for(e=0,n=t.length;e<n;++e){switch(s(r=t[e])){case"object":(r=(r=p(r)).error||r.value).length>500&&(r=r.substr(0,497)+"...");break;case"null":r="null";break;case"undefined":r="undefined";break;case"symbol":r=r.toString()}o.push(r)}return o.join(" ")},formatUrl:function(t,e){if(!(e=e||t.protocol)&&t.port&&(80===t.port?e="http:":443===t.port&&(e="https:")),e=e||"https:",!t.hostname)return null;var n=e+"//"+t.hostname;return t.port&&(n=n+":"+t.port),t.path&&(n+=t.path),n},get:function(t,e){if(t){var n=e.split("."),r=t;try{for(var o=0,i=n.length;o<i;++o)r=r[n[o]]}catch(t){r=void 0}return r}},handleOptions:function(t,e,n,o){var i=r(t,e,n);return i=function(t,e){return t.hostWhiteList&&!t.hostSafeList&&(t.hostSafeList=t.hostWhiteList,t.hostWhiteList=void 0,e&&e.log("hostWhiteList is deprecated. Use hostSafeList.")),t.hostBlackList&&!t.hostBlockList&&(t.hostBlockList=t.hostBlackList,t.hostBlackList=void 0,e&&e.log("hostBlackList is deprecated. Use hostBlockList.")),t}(i,o),!e||e.overwriteScrubFields||e.scrubFields&&(i.scrubFields=(t.scrubFields||[]).concat(e.scrubFields)),i},isError:function(t){return i(t,"error")||i(t,"exception")},isFiniteNumber:function(t){return Number.isFinite(t)},isFunction:a,isIterable:function(t){var e=s(t);return"object"===e||"array"===e},isNativeFunction:c,isObject:u,isString:function(t){return"string"==typeof t||t instanceof String},isType:i,isPromise:function(t){return u(t)&&i(t.then,"function")},jsonParse:function(t){var e,n;try{e=o.parse(t)}catch(t){n=t}return{error:n,value:e}},LEVELS:{debug:0,info:1,warning:2,error:3,critical:4},makeUnhandledStackInfo:function(t,e,n,r,o,i,s,a){var c={url:e||"",line:n,column:r};c.func=a.guessFunctionName(c.url,c.line),c.context=a.gatherContext(c.url,c.line);var u="undefined"!=typeof document&&document&&document.location&&document.location.href,l="undefined"!=typeof window&&window&&window.navigator&&window.navigator.userAgent;return{mode:i,message:o?String(o):t||s,url:u,stack:[c],useragent:l}},merge:r,now:y,redact:function(){return"********"},RollbarJSON:o,sanitizeUrl:function(t){var e=function(t){if(i(t,"string")){for(var e=h,n=e.parser[e.strictMode?"strict":"loose"].exec(t),r={},o=0,s=e.key.length;o<s;++o)r[e.key[o]]=n[o]||"";return r[e.q.name]={},r[e.key[12]].replace(e.q.parser,function(t,n,o){n&&(r[e.q.name][n]=o)}),r}}(t);return e?(""===e.anchor&&(e.source=e.source.replace("#","")),t=e.source.replace("?"+e.query,"")):"(unknown)"},set:function(t,e,n){if(t){Object.setPrototypeOf(t,null);var r=e.split("."),o=r.length;if(!(o<1))if(1!==o)try{for(var i=t[r[0]]||{},s=i,a=1;a<o-1;++a)i[r[a]]=i[r[a]]||{},i=i[r[a]];i[r[o-1]]=n,t[r[0]]=s}catch(t){return}else t[r[0]]=n}},setupJSON:function(t){a(o.stringify)&&a(o.parse)||(i(JSON,"undefined")||(t?(c(JSON.stringify)&&(o.stringify=JSON.stringify),c(JSON.parse)&&(o.parse=JSON.parse)):(a(JSON.stringify)&&(o.stringify=JSON.stringify),a(JSON.parse)&&(o.parse=JSON.parse))),a(o.stringify)&&a(o.parse)||t&&t(o))},stringify:p,maxByteSize:function(t){for(var e=0,n=t.length,r=0;r<n;r++){var o=t.charCodeAt(r);o<128?e+=1:o<2048?e+=2:o<65536&&(e+=3)}return e},typeName:s,uuid4:l}},581:(t,e,n)=>{var r=n(539);function o(t,e,n){if(!t)return!n;var o,i,s=t.frames;if(!s||0===s.length)return!n;for(var a=e.length,c=s.length,u=0;u<c;u++){if(o=s[u].filename,!r.isType(o,"string"))return!n;for(var l=0;l<a;l++)if(i=e[l],new RegExp(i).test(o))return!0}return!1}function i(t,e,n,i){var s,a,c=!1;"blocklist"===n&&(c=!0);try{if(s=c?e.hostBlockList:e.hostSafeList,a=r.get(t,"body.trace_chain")||[r.get(t,"body.trace")],!s||0===s.length)return!c;if(0===a.length||!a[0])return!c;for(var u=a.length,l=0;l<u;l++)if(o(a[l],s,c))return!0}catch(t){c?e.hostBlockList=null:e.hostSafeList=null;var h=c?"hostBlockList":"hostSafeList";return i.error("Error while reading your configuration's "+h+" option. Removing custom "+h+".",t),!c}return!1}t.exports={checkLevel:function(t,e){var n=t.level,o=r.LEVELS[n]||0,i=e.reportLevel;return!(o<(r.LEVELS[i]||0))},userCheckIgnore:function(t){return function(e,n){var o=!!e._isUncaught;delete e._isUncaught;var i=e._originalArgs;delete e._originalArgs;try{r.isFunction(n.onSendCallback)&&n.onSendCallback(o,i,e)}catch(e){n.onSendCallback=null,t.error("Error while calling onSendCallback, removing",e)}try{if(r.isFunction(n.checkIgnore)&&n.checkIgnore(o,i,e))return!1}catch(e){n.checkIgnore=null,t.error("Error while calling custom checkIgnore(), removing",e)}return!0}},urlIsNotBlockListed:function(t){return function(e,n){return!i(e,n,"blocklist",t)}},urlIsSafeListed:function(t){return function(e,n){return i(e,n,"safelist",t)}},messageIsIgnored:function(t){return function(e,n){var o,i,s,a,c,u;try{if(!(s=n.ignoredMessages)||0===s.length)return!0;if(u=function(t){var e=t.body,n=[];if(e.trace_chain)for(var o=e.trace_chain,i=0;i<o.length;i++){var s=o[i];n.push(r.get(s,"exception.message"))}return e.trace&&n.push(r.get(e,"trace.exception.message")),e.message&&n.push(r.get(e,"message.body")),n}(e),0===u.length)return!0;for(a=s.length,o=0;o<a;o++)for(c=new RegExp(s[o],"gi"),i=0;i<u.length;i++)if(c.test(u[i]))return!1}catch(e){n.ignoredMessages=null,t.error("Error while reading your configuration's ignoredMessages option. Removing custom ignoredMessages.")}return!0}}}},584:(t,e,n)=>{var r=n(539);t.exports={checkIgnore:function(t,e){return!r.get(e,"plugins.jquery.ignoreAjaxErrors")||!r.get(t,"body.message.extra.isAjax")}}},683:(t,e,n)=>{var r=n(539),o=n(974),i=n(364),s=n(356),a=n(61),c=n(790),u={network:!0,networkResponseHeaders:!1,networkResponseBody:!1,networkRequestHeaders:!1,networkRequestBody:!1,networkErrorOnHttp5xx:!1,networkErrorOnHttp4xx:!1,networkErrorOnHttp0:!1,log:!0,dom:!0,navigation:!0,connectivity:!0,contentSecurityPolicy:!0,errorOnContentSecurityPolicy:!1};function l(t,e){for(var n;t[e].length;)(n=t[e].shift())[0][n[1]]=n[2]}function h(t,e,n,o,i){this.options=t;var s=t.autoInstrument;!1===t.enabled||!1===s?this.autoInstrument={}:(r.isType(s,"object")||(s=u),this.autoInstrument=r.merge(u,s)),this.scrubTelemetryInputs=!!t.scrubTelemetryInputs,this.telemetryScrubber=t.telemetryScrubber,this.defaultValueScrubber=function(t){for(var e=[],n=0;n<t.length;++n)e.push(new RegExp(t[n],"i"));return function(t){var n=function(t){if(!t||!t.attributes)return null;for(var e=t.attributes,n=0;n<e.length;++n)if("name"===e[n].key)return e[n].value;return null}(t);if(!n)return!1;for(var r=0;r<e.length;++r)if(e[r].test(n))return!0;return!1}}(t.scrubFields),this.telemeter=e,this.rollbar=n,this.diagnostic=n.client.notifier.diagnostic,this._window=o||{},this._document=i||{},this.replacements={network:[],log:[],navigation:[],connectivity:[]},this.eventRemovers={dom:[],connectivity:[],contentsecuritypolicy:[]},this._location=this._window.location,this._lastHref=this._location&&this._location.href}function p(t){return"undefined"!=typeof URL&&t instanceof URL}h.prototype.configure=function(t){this.options=r.merge(this.options,t);var e=t.autoInstrument,n=r.merge(this.autoInstrument);!1===t.enabled||!1===e?this.autoInstrument={}:(r.isType(e,"object")||(e=u),this.autoInstrument=r.merge(u,e)),this.instrument(n),void 0!==t.scrubTelemetryInputs&&(this.scrubTelemetryInputs=!!t.scrubTelemetryInputs),void 0!==t.telemetryScrubber&&(this.telemetryScrubber=t.telemetryScrubber)},h.prototype.instrument=function(t){!this.autoInstrument.network||t&&t.network?!this.autoInstrument.network&&t&&t.network&&this.deinstrumentNetwork():this.instrumentNetwork(),!this.autoInstrument.log||t&&t.log?!this.autoInstrument.log&&t&&t.log&&this.deinstrumentConsole():this.instrumentConsole(),!this.autoInstrument.dom||t&&t.dom?!this.autoInstrument.dom&&t&&t.dom&&this.deinstrumentDom():this.instrumentDom(),!this.autoInstrument.navigation||t&&t.navigation?!this.autoInstrument.navigation&&t&&t.navigation&&this.deinstrumentNavigation():this.instrumentNavigation(),!this.autoInstrument.connectivity||t&&t.connectivity?!this.autoInstrument.connectivity&&t&&t.connectivity&&this.deinstrumentConnectivity():this.instrumentConnectivity(),!this.autoInstrument.contentSecurityPolicy||t&&t.contentSecurityPolicy?!this.autoInstrument.contentSecurityPolicy&&t&&t.contentSecurityPolicy&&this.deinstrumentContentSecurityPolicy():this.instrumentContentSecurityPolicy()},h.prototype.deinstrumentNetwork=function(){l(this.replacements,"network")},h.prototype.instrumentNetwork=function(){var t=this;function e(e,n){e in n&&r.isFunction(n[e])&&i(n,e,function(e){return t.rollbar.wrap(e)})}if("XMLHttpRequest"in this._window){var n=this._window.XMLHttpRequest.prototype;i(n,"open",function(t){return function(e,n){var o=p(n);return(r.isType(n,"string")||o)&&(n=o?n.toString():n,this.__rollbar_xhr?(this.__rollbar_xhr.method=e,this.__rollbar_xhr.url=n,this.__rollbar_xhr.status_code=null,this.__rollbar_xhr.start_time_ms=r.now(),this.__rollbar_xhr.end_time_ms=null):this.__rollbar_xhr={method:e,url:n,status_code:null,start_time_ms:r.now(),end_time_ms:null}),t.apply(this,arguments)}},this.replacements,"network"),i(n,"setRequestHeader",function(e){return function(n,o){return this.__rollbar_xhr||(this.__rollbar_xhr={}),r.isType(n,"string")&&r.isType(o,"string")&&(t.autoInstrument.networkRequestHeaders&&(this.__rollbar_xhr.request_headers||(this.__rollbar_xhr.request_headers={}),this.__rollbar_xhr.request_headers[n]=o),"content-type"===n.toLowerCase()&&(this.__rollbar_xhr.request_content_type=o)),e.apply(this,arguments)}},this.replacements,"network"),i(n,"send",function(n){return function(o){var s=this;function a(){if(s.__rollbar_xhr&&(null===s.__rollbar_xhr.status_code&&(s.__rollbar_xhr.status_code=0,t.autoInstrument.networkRequestBody&&(s.__rollbar_xhr.request=o),s.__rollbar_event=t.captureNetwork(s.__rollbar_xhr,"xhr",void 0)),s.readyState<2&&(s.__rollbar_xhr.start_time_ms=r.now()),s.readyState>3)){s.__rollbar_xhr.end_time_ms=r.now();var e=null;if(s.__rollbar_xhr.response_content_type=s.getResponseHeader("Content-Type"),t.autoInstrument.networkResponseHeaders){var n=t.autoInstrument.networkResponseHeaders;e={};try{var i,a;if(!0===n){var c=s.getAllResponseHeaders();if(c){var u,l,h=c.trim().split(/[\r\n]+/);for(a=0;a<h.length;a++)i=(u=h[a].split(": ")).shift(),l=u.join(": "),e[i]=l}}else for(a=0;a<n.length;a++)e[i=n[a]]=s.getResponseHeader(i)}catch(t){}}var p=null;if(t.autoInstrument.networkResponseBody)try{p=s.responseText}catch(t){}var d=null;(p||e)&&(d={},p&&(t.isJsonContentType(s.__rollbar_xhr.response_content_type)?d.body=t.scrubJson(p):d.body=p),e&&(d.headers=e)),d&&(s.__rollbar_xhr.response=d);try{var f=s.status;f=1223===f?204:f,s.__rollbar_xhr.status_code=f,s.__rollbar_event.level=t.telemeter.levelFromStatus(f),t.errorOnHttpStatus(s.__rollbar_xhr)}catch(t){}}}return e("onload",s),e("onerror",s),e("onprogress",s),"onreadystatechange"in s&&r.isFunction(s.onreadystatechange)?i(s,"onreadystatechange",function(e){return t.rollbar.wrap(e,void 0,a)}):s.onreadystatechange=a,s.__rollbar_xhr&&t.trackHttpErrors()&&(s.__rollbar_xhr.stack=(new Error).stack),n.apply(this,arguments)}},this.replacements,"network")}"fetch"in this._window&&i(this._window,"fetch",function(e){return function(n,i){for(var s=new Array(arguments.length),a=0,c=s.length;a<c;a++)s[a]=arguments[a];var u,l=s[0],h="GET",d=p(l);r.isType(l,"string")||d?u=d?l.toString():l:l&&(u=l.url,l.method&&(h=l.method)),s[1]&&s[1].method&&(h=s[1].method);var f={method:h,url:u,status_code:null,start_time_ms:r.now(),end_time_ms:null};if(s[1]&&s[1].headers){var m=o(s[1].headers);f.request_content_type=m.get("Content-Type"),t.autoInstrument.networkRequestHeaders&&(f.request_headers=t.fetchHeaders(m,t.autoInstrument.networkRequestHeaders))}return t.autoInstrument.networkRequestBody&&(s[1]&&s[1].body?f.request=s[1].body:s[0]&&!r.isType(s[0],"string")&&s[0].body&&(f.request=s[0].body)),t.captureNetwork(f,"fetch",void 0),t.trackHttpErrors()&&(f.stack=(new Error).stack),e.apply(this,s).then(function(e){f.end_time_ms=r.now(),f.status_code=e.status,f.response_content_type=e.headers.get("Content-Type");var n=null;t.autoInstrument.networkResponseHeaders&&(n=t.fetchHeaders(e.headers,t.autoInstrument.networkResponseHeaders));var o=null;return t.autoInstrument.networkResponseBody&&"function"==typeof e.text&&(o=e.clone().text()),(n||o)&&(f.response={},o&&("function"==typeof o.then?o.then(function(e){e&&t.isJsonContentType(f.response_content_type)?f.response.body=t.scrubJson(e):f.response.body=e}):f.response.body=o),n&&(f.response.headers=n)),t.errorOnHttpStatus(f),e})}},this.replacements,"network")},h.prototype.captureNetwork=function(t,e,n){return t.request&&this.isJsonContentType(t.request_content_type)&&(t.request=this.scrubJson(t.request)),this.telemeter.captureNetwork(t,e,n)},h.prototype.isJsonContentType=function(t){return!!(t&&r.isType(t,"string")&&t.toLowerCase().includes("json"))},h.prototype.scrubJson=function(t){return JSON.stringify(s(JSON.parse(t),this.options.scrubFields))},h.prototype.fetchHeaders=function(t,e){var n={};try{var r;if(!0===e){if("function"==typeof t.entries)for(var o=t.entries(),i=o.next();!i.done;)n[i.value[0]]=i.value[1],i=o.next()}else for(r=0;r<e.length;r++){var s=e[r];n[s]=t.get(s)}}catch(t){}return n},h.prototype.trackHttpErrors=function(){return this.autoInstrument.networkErrorOnHttp5xx||this.autoInstrument.networkErrorOnHttp4xx||this.autoInstrument.networkErrorOnHttp0},h.prototype.errorOnHttpStatus=function(t){var e=t.status_code;if(e>=500&&this.autoInstrument.networkErrorOnHttp5xx||e>=400&&this.autoInstrument.networkErrorOnHttp4xx||0===e&&this.autoInstrument.networkErrorOnHttp0){var n=new Error("HTTP request failed with Status "+e);n.stack=t.stack,this.rollbar.error(n,{skipFrames:1})}},h.prototype.deinstrumentConsole=function(){if("console"in this._window&&this._window.console.log)for(var t;this.replacements.log.length;)t=this.replacements.log.shift(),this._window.console[t[0]]=t[1]},h.prototype.instrumentConsole=function(){if("console"in this._window&&this._window.console.log){var t=this,e=this._window.console,n=["debug","info","warn","error","log"];try{for(var o=0,i=n.length;o<i;o++)s(n[o])}catch(t){this.diagnostic.instrumentConsole={error:t.message}}}function s(n){var o=e[n],i=e,s="warn"===n?"warning":n;e[n]=function(){var e=Array.prototype.slice.call(arguments),n=r.formatArgsAsString(e);t.telemeter.captureLog(n,s),o&&Function.prototype.apply.call(o,i,e)},t.replacements.log.push([n,o])}},h.prototype.deinstrumentDom=function(){("addEventListener"in this._window||"attachEvent"in this._window)&&this.removeListeners("dom")},h.prototype.instrumentDom=function(){if("addEventListener"in this._window||"attachEvent"in this._window){var t=this.handleClick.bind(this),e=this.handleBlur.bind(this);this.addListener("dom",this._window,"click","onclick",t,!0),this.addListener("dom",this._window,"blur","onfocusout",e,!0)}},h.prototype.handleClick=function(t){try{var e=c.getElementFromEvent(t,this._document),n=e&&e.tagName,r=c.isDescribedElement(e,"a")||c.isDescribedElement(e,"button");n&&(r||c.isDescribedElement(e,"input",["button","submit"]))?this.captureDomEvent("click",e):c.isDescribedElement(e,"input",["checkbox","radio"])&&this.captureDomEvent("input",e,e.value,e.checked)}catch(t){}},h.prototype.handleBlur=function(t){try{var e=c.getElementFromEvent(t,this._document);e&&e.tagName&&(c.isDescribedElement(e,"textarea")?this.captureDomEvent("input",e,e.value):c.isDescribedElement(e,"select")&&e.options&&e.options.length?this.handleSelectInputChanged(e):c.isDescribedElement(e,"input")&&!c.isDescribedElement(e,"input",["button","submit","hidden","checkbox","radio"])&&this.captureDomEvent("input",e,e.value))}catch(t){}},h.prototype.handleSelectInputChanged=function(t){if(t.multiple)for(var e=0;e<t.options.length;e++)t.options[e].selected&&this.captureDomEvent("input",t,t.options[e].value);else t.selectedIndex>=0&&t.options[t.selectedIndex]&&this.captureDomEvent("input",t,t.options[t.selectedIndex].value)},h.prototype.captureDomEvent=function(t,e,n,r){if(void 0!==n)if(this.scrubTelemetryInputs||"password"===c.getElementType(e))n="[scrubbed]";else{var o=c.describeElement(e);this.telemetryScrubber?this.telemetryScrubber(o)&&(n="[scrubbed]"):this.defaultValueScrubber(o)&&(n="[scrubbed]")}var i=c.elementArrayToString(c.treeToArray(e));this.telemeter.captureDom(t,i,n,r)},h.prototype.deinstrumentNavigation=function(){var t=this._window.chrome;!(t&&t.app&&t.app.runtime)&&this._window.history&&this._window.history.pushState&&l(this.replacements,"navigation")},h.prototype.instrumentNavigation=function(){var t=this._window.chrome;if(!(t&&t.app&&t.app.runtime)&&this._window.history&&this._window.history.pushState){var e=this;i(this._window,"onpopstate",function(t){return function(){var n=e._location.href;e.handleUrlChange(e._lastHref,n),t&&t.apply(this,arguments)}},this.replacements,"navigation"),i(this._window.history,"pushState",function(t){return function(){var n=arguments.length>2?arguments[2]:void 0;return n&&e.handleUrlChange(e._lastHref,n+""),t.apply(this,arguments)}},this.replacements,"navigation")}},h.prototype.handleUrlChange=function(t,e){var n=a.parse(this._location.href),r=a.parse(e),o=a.parse(t);this._lastHref=e,n.protocol===r.protocol&&n.host===r.host&&(e=r.path+(r.hash||"")),n.protocol===o.protocol&&n.host===o.host&&(t=o.path+(o.hash||"")),this.telemeter.captureNavigation(t,e)},h.prototype.deinstrumentConnectivity=function(){("addEventListener"in this._window||"body"in this._document)&&(this._window.addEventListener?this.removeListeners("connectivity"):l(this.replacements,"connectivity"))},h.prototype.instrumentConnectivity=function(){if("addEventListener"in this._window||"body"in this._document)if(this._window.addEventListener)this.addListener("connectivity",this._window,"online",void 0,function(){this.telemeter.captureConnectivityChange("online")}.bind(this),!0),this.addListener("connectivity",this._window,"offline",void 0,function(){this.telemeter.captureConnectivityChange("offline")}.bind(this),!0);else{var t=this;i(this._document.body,"ononline",function(e){return function(){t.telemeter.captureConnectivityChange("online"),e&&e.apply(this,arguments)}},this.replacements,"connectivity"),i(this._document.body,"onoffline",function(e){return function(){t.telemeter.captureConnectivityChange("offline"),e&&e.apply(this,arguments)}},this.replacements,"connectivity")}},h.prototype.handleCspEvent=function(t){var e="Security Policy Violation: blockedURI: "+t.blockedURI+", violatedDirective: "+t.violatedDirective+", effectiveDirective: "+t.effectiveDirective+", ";t.sourceFile&&(e+="location: "+t.sourceFile+", line: "+t.lineNumber+", col: "+t.columnNumber+", "),e+="originalPolicy: "+t.originalPolicy,this.telemeter.captureLog(e,"error"),this.handleCspError(e)},h.prototype.handleCspError=function(t){this.autoInstrument.errorOnContentSecurityPolicy&&this.rollbar.error(t)},h.prototype.deinstrumentContentSecurityPolicy=function(){"addEventListener"in this._document&&this.removeListeners("contentsecuritypolicy")},h.prototype.instrumentContentSecurityPolicy=function(){if("addEventListener"in this._document){var t=this.handleCspEvent.bind(this);this.addListener("contentsecuritypolicy",this._document,"securitypolicyviolation",null,t,!1)}},h.prototype.addListener=function(t,e,n,r,o,i){e.addEventListener?(e.addEventListener(n,o,i),this.eventRemovers[t].push(function(){e.removeEventListener(n,o,i)})):r&&(e.attachEvent(r,o),this.eventRemovers[t].push(function(){e.detachEvent(r,o)}))},h.prototype.removeListeners=function(t){for(;this.eventRemovers[t].length;)this.eventRemovers[t].shift()()},t.exports=h},738:function(){!function(t){t.console||(t.console={});for(var e,n,r=t.console,o=function(){},i=["memory"],s="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");e=i.pop();)r[e]||(r[e]={});for(;n=s.pop();)r[n]||(r[n]=o)}("undefined"==typeof window?this:window)},744:(t,e,n)=>{var r=n(539);function o(t,e,n,r){this.rateLimiter=t,this.api=e,this.logger=n,this.options=r,this.predicates=[],this.pendingItems=[],this.pendingRequests=[],this.retryQueue=[],this.retryHandle=null,this.waitCallback=null,this.waitIntervalID=null}o.prototype.configure=function(t){this.api&&this.api.configure(t);var e=this.options;return this.options=r.merge(e,t),this},o.prototype.addPredicate=function(t){return r.isFunction(t)&&this.predicates.push(t),this},o.prototype.addPendingItem=function(t){this.pendingItems.push(t)},o.prototype.removePendingItem=function(t){var e=this.pendingItems.indexOf(t);-1!==e&&this.pendingItems.splice(e,1)},o.prototype.addItem=function(t,e,n,o){e&&r.isFunction(e)||(e=function(){});var i=this._applyPredicates(t);if(i.stop)return this.removePendingItem(o),void e(i.err);if(this._maybeLog(t,n),this.removePendingItem(o),this.options.transmit){this.pendingRequests.push(t);try{this._makeApiRequest(t,function(n,r){this._dequeuePendingRequest(t),e(n,r)}.bind(this))}catch(n){this._dequeuePendingRequest(t),e(n)}}else e(new Error("Transmit disabled"))},o.prototype.wait=function(t){r.isFunction(t)&&(this.waitCallback=t,this._maybeCallWait()||(this.waitIntervalID&&(this.waitIntervalID=clearInterval(this.waitIntervalID)),this.waitIntervalID=setInterval(function(){this._maybeCallWait()}.bind(this),500)))},o.prototype._applyPredicates=function(t){for(var e=null,n=0,r=this.predicates.length;n<r;n++)if(!(e=this.predicates[n](t,this.options))||void 0!==e.err)return{stop:!0,err:e.err};return{stop:!1,err:null}},o.prototype._makeApiRequest=function(t,e){var n=this.rateLimiter.shouldSend(t);n.shouldSend?this.api.postItem(t,function(n,r){n?this._maybeRetry(n,t,e):e(n,r)}.bind(this)):n.error?e(n.error):this.api.postItem(n.payload,e)};var i=["ECONNRESET","ENOTFOUND","ESOCKETTIMEDOUT","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH","EPIPE","EAI_AGAIN"];o.prototype._maybeRetry=function(t,e,n){var o=!1;if(this.options.retryInterval){for(var s=0,a=i.length;s<a;s++)if(t.code===i[s]){o=!0;break}o&&r.isFiniteNumber(this.options.maxRetries)&&(e.retries=e.retries?e.retries+1:1,e.retries>this.options.maxRetries&&(o=!1))}o?this._retryApiRequest(e,n):n(t)},o.prototype._retryApiRequest=function(t,e){this.retryQueue.push({item:t,callback:e}),this.retryHandle||(this.retryHandle=setInterval(function(){for(;this.retryQueue.length;){var t=this.retryQueue.shift();this._makeApiRequest(t.item,t.callback)}}.bind(this),this.options.retryInterval))},o.prototype._dequeuePendingRequest=function(t){var e=this.pendingRequests.indexOf(t);-1!==e&&(this.pendingRequests.splice(e,1),this._maybeCallWait())},o.prototype._maybeLog=function(t,e){if(this.logger&&this.options.verbose){var n=e;if(n=(n=n||r.get(t,"body.trace.exception.message"))||r.get(t,"body.trace_chain.0.exception.message"))return void this.logger.error(n);(n=r.get(t,"body.message.body"))&&this.logger.log(n)}},o.prototype._maybeCallWait=function(){return!(!r.isFunction(this.waitCallback)||0!==this.pendingItems.length||0!==this.pendingRequests.length||(this.waitIntervalID&&(this.waitIntervalID=clearInterval(this.waitIntervalID)),this.waitCallback(),0))},t.exports=o},777:(t,e,n)=>{var r=n(539);function o(t,e){this.queue=t,this.options=e,this.transforms=[],this.diagnostic={}}o.prototype.configure=function(t){this.queue&&this.queue.configure(t);var e=this.options;return this.options=r.merge(e,t),this},o.prototype.addTransform=function(t){return r.isFunction(t)&&this.transforms.push(t),this},o.prototype.log=function(t,e){if(e&&r.isFunction(e)||(e=function(){}),!this.options.enabled)return e(new Error("Rollbar is not enabled"));this.queue.addPendingItem(t);var n=t.err;this._applyTransforms(t,function(r,o){if(r)return this.queue.removePendingItem(t),e(r,null);this.queue.addItem(o,e,n,t)}.bind(this))},o.prototype._applyTransforms=function(t,e){var n=-1,r=this.transforms.length,o=this.transforms,i=this.options,s=function(t,a){t?e(t,null):++n!==r?o[n](a,i,s):e(null,a)};s(null,t)},t.exports=o},790:t=>{function e(t){return(t.getAttribute("type")||"").toLowerCase()}function n(t){if(!t||!t.tagName)return"";var e=[t.tagName];t.id&&e.push("#"+t.id),t.classes&&e.push("."+t.classes.join("."));for(var n=0;n<t.attributes.length;n++)e.push("["+t.attributes[n].key+'="'+t.attributes[n].value+'"]');return e.join("")}function r(t){if(!t||!t.tagName)return null;var e,n,r,o,i={};i.tagName=t.tagName.toLowerCase(),t.id&&(i.id=t.id),(e=t.className)&&"string"==typeof e&&(i.classes=e.split(/\s+/));var s=["type","name","title","alt"];for(i.attributes=[],o=0;o<s.length;o++)n=s[o],(r=t.getAttribute(n))&&i.attributes.push({key:n,value:r});return i}t.exports={describeElement:r,descriptionToString:n,elementArrayToString:function(t){for(var e,r,o=[],i=0,s=t.length-1;s>=0;s--){if(e=n(t[s]),r=i+3*o.length+e.length,s<t.length-1&&r>=83){o.unshift("...");break}o.unshift(e),i+=e.length}return o.join(" > ")},treeToArray:function(t){for(var e,n=[],o=0;t&&o<5&&"html"!==(e=r(t)).tagName;o++)n.unshift(e),t=t.parentNode;return n},getElementFromEvent:function(t,e){return t.target?t.target:e&&e.elementFromPoint?e.elementFromPoint(t.clientX,t.clientY):void 0},isDescribedElement:function(t,n,r){if(t.tagName.toLowerCase()!==n.toLowerCase())return!1;if(!r)return!0;t=e(t);for(var o=0;o<r.length;o++)if(r[o]===t)return!0;return!1},getElementType:e}},796:t=>{t.exports={captureUncaughtExceptions:function(t,e,n){if(t){var r;if("function"==typeof e._rollbarOldOnError)r=e._rollbarOldOnError;else if(t.onerror){for(r=t.onerror;r._rollbarOldOnError;)r=r._rollbarOldOnError;e._rollbarOldOnError=r}e.handleAnonymousErrors();var o=function(){var n=Array.prototype.slice.call(arguments,0);!function(t,e,n,r){t._rollbarWrappedError&&(r[4]||(r[4]=t._rollbarWrappedError),r[5]||(r[5]=t._rollbarWrappedError._rollbarContext),t._rollbarWrappedError=null);var o=e.handleUncaughtException.apply(e,r);n&&n.apply(t,r),"anonymous"===o&&(e.anonymousErrorsPending+=1)}(t,e,r,n)};n&&(o._rollbarOldOnError=r),t.onerror=o}},captureUnhandledRejections:function(t,e,n){if(t){"function"==typeof t._rollbarURH&&t._rollbarURH.belongsToShim&&t.removeEventListener("unhandledrejection",t._rollbarURH);var r=function(t){var n,r,o;try{n=t.reason}catch(t){n=void 0}try{r=t.promise}catch(t){r="[unhandledrejection] error getting `promise` from event"}try{o=t.detail,!n&&o&&(n=o.reason,r=o.promise)}catch(t){}n||(n="[unhandledrejection] error getting `reason` from event"),e&&e.handleUnhandledRejection&&e.handleUnhandledRejection(n,r)};r.belongsToShim=n,t._rollbarURH=r,t.addEventListener("unhandledrejection",r)}}}},888:(t,e,n)=>{var r=n(539),o=n(12);function i(t,e){return[t,r.stringify(t,e)]}function s(t,e){var n=t.length;return n>2*e?t.slice(0,e).concat(t.slice(n-e)):t}function a(t,e,n){n=void 0===n?30:n;var o,i=t.data.body;if(i.trace_chain)for(var a=i.trace_chain,c=0;c<a.length;c++)o=s(o=a[c].frames,n),a[c].frames=o;else i.trace&&(o=s(o=i.trace.frames,n),i.trace.frames=o);return[t,r.stringify(t,e)]}function c(t,e){return e&&e.length>t?e.slice(0,t-3).concat("..."):e}function u(t,e,n){return e=o(e,function e(n,i,s){switch(r.typeName(i)){case"string":return c(t,i);case"object":case"array":return o(i,e,s);default:return i}}),[e,r.stringify(e,n)]}function l(t){return t.exception&&(delete t.exception.description,t.exception.message=c(255,t.exception.message)),t.frames=s(t.frames,1),t}function h(t,e){var n=t.data.body;if(n.trace_chain)for(var o=n.trace_chain,i=0;i<o.length;i++)o[i]=l(o[i]);else n.trace&&(n.trace=l(n.trace));return[t,r.stringify(t,e)]}function p(t,e){return r.maxByteSize(t)>e}t.exports={truncate:function(t,e,n){n=void 0===n?524288:n;for(var r,o,s,c=[i,a,u.bind(null,1024),u.bind(null,512),u.bind(null,256),h];r=c.shift();)if(t=(o=r(t,e))[0],(s=o[1]).error||!p(s.value,n))return s;return s},raw:i,truncateFrames:a,truncateStrings:u,maybeTruncateValue:c}},944:(t,e,n)=>{var r=n(197),o=n(352),i=n(683),s=n(435),a=n(424),c=n(356),u=n(888);r.setComponents({telemeter:o,instrumenter:i,polyfillJSON:s,wrapGlobals:a,scrub:c,truncation:u}),t.exports=r},962:(t,e,n)=>{var r=n(539);function o(t,e){r.isFunction(t[e])&&(t[e]=t[e].toString())}t.exports={itemToPayload:function(t,e,n){var r=t.data;t._isUncaught&&(r._isUncaught=!0),t._originalArgs&&(r._originalArgs=t._originalArgs),n(null,r)},addPayloadOptions:function(t,e,n){var o=e.payload||{};o.body&&delete o.body,t.data=r.merge(t.data,o),n(null,t)},addTelemetryData:function(t,e,n){t.telemetryEvents&&r.set(t,"data.body.telemetry",t.telemetryEvents),n(null,t)},addMessageWithError:function(t,e,n){if(t.message){var o="data.body.trace_chain.0",i=r.get(t,o);if(i||(o="data.body.trace",i=r.get(t,o)),i){if(!i.exception||!i.exception.description)return r.set(t,o+".exception.description",t.message),void n(null,t);var s=r.get(t,o+".extra")||{},a=r.merge(s,{message:t.message});r.set(t,o+".extra",a)}n(null,t)}else n(null,t)},userTransform:function(t){return function(e,n,o){var i=r.merge(e),s=null;try{r.isFunction(n.transform)&&(s=n.transform(i.data,e))}catch(r){return n.transform=null,t.error("Error while calling custom transform() function. Removing custom transform().",r),void o(null,e)}r.isPromise(s)?s.then(function(t){t&&(i.data=t),o(null,i)},function(t){o(t,e)}):o(null,i)}},addConfigToPayload:function(t,e,n){if(!e.sendConfig)return n(null,t);var o=r.get(t,"data.custom")||{};o._rollbarConfig=e,t.data.custom=o,n(null,t)},addConfiguredOptions:function(t,e,n){var r=e._configuredOptions;o(r,"transform"),o(r,"checkIgnore"),o(r,"onSendCallback"),delete r.accessToken,t.data.notifier.configured_options=r,n(null,t)},addDiagnosticKeys:function(t,e,n){var o=r.merge(t.notifier.client.notifier.diagnostic,t.diagnostic);if(r.get(t,"err._isAnonymous")&&(o.is_anonymous=!0),t._isUncaught&&(o.is_uncaught=t._isUncaught),t.err)try{o.raw_error={message:t.err.message,name:t.err.name,constructor_name:t.err.constructor&&t.err.constructor.name,filename:t.err.fileName,line:t.err.lineNumber,column:t.err.columnNumber,stack:t.err.stack}}catch(t){o.raw_error={failed:String(t)}}t.data.notifier.diagnostic=r.merge(t.data.notifier.diagnostic,o),n(null,t)}}},974:t=>{function e(t){return"string"!=typeof t&&(t=String(t)),t.toLowerCase()}function n(t){this.map={},t instanceof n?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}n.prototype.append=function(t,n){t=e(t),n=function(t){return"string"!=typeof t&&(t=String(t)),t}(n);var r=this.map[t];this.map[t]=r?r+", "+n:n},n.prototype.get=function(t){return t=e(t),this.has(t)?this.map[t]:null},n.prototype.has=function(t){return this.map.hasOwnProperty(e(t))},n.prototype.forEach=function(t,e){for(var n in this.map)this.map.hasOwnProperty(n)&&t.call(e,this.map[n],n,this)},n.prototype.entries=function(){var t=[];return this.forEach(function(e,n){t.push([n,e])}),function(t){return{next:function(){var e=t.shift();return{done:void 0===e,value:e}}}}(t)},t.exports=function(t){return"undefined"==typeof Headers?new n(t):new Headers(t)}}},e={},function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r].call(i.exports,i,i.exports,n),i.exports}(183);var t,e})),ft.exports);class vt{static initialize(t){vt.getInstance().rollbar=gt.init({accessToken:"208cf50b805f409bb0b08d5c9f68ce61",captureUncaught:!0,captureUnhandledRejections:!0,payload:{environment:"production",component:t,client:{javascript:{code_version:void 0}}}})}static getInstance(){return vt.instance||(vt.instance=new vt),vt.instance}error(t,e){this.rollbar?.error(t,e)}info(t,e){this.rollbar?.info(t,e)}warning(t,e){this.rollbar?.warning(t,e)}critical(t,e){this.rollbar?.critical(t,e)}}class yt{constructor(){this.MEASUREMENT_ID="G-6XL8YD35QR",this.isInitialized=!1,this.sessionId=""}static getInstance(){return yt.instance||(yt.instance=new yt),yt.instance}generateSessionId(){return Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15)}initialize(t){if(this.isInitialized)return;yt.component=t,this.sessionId=this.generateSessionId();const e=document.createElement("script");e.async=!0,e.src=`https://www.googletagmanager.com/gtag/js?id=${this.MEASUREMENT_ID}`,document.head.appendChild(e),window.dataLayer=window.dataLayer||[];window.gtag=window.gtag||((...t)=>{window.dataLayer.push(t)}),window.gtag("js",/* @__PURE__ */new Date),window.gtag("config",this.MEASUREMENT_ID,{send_page_view:!0,groups:"mapvx"}),this.isInitialized=!0}resetSessionId(){this.sessionId=this.generateSessionId()}trackPageView(t){this.isInitialized&&window.gtag("event","page_view",{page_title:t,page_location:window.location.href,page_path:t,component:yt.component,session_id:this.sessionId,send_to:"mapvx"})}trackEvent(t,e){this.isInitialized&&window.gtag("event",t,{...e,component:yt.component,session_id:this.sessionId,send_to:"mapvx"})}trackUserTiming(t,e,n){this.isInitialized&&window.gtag("event","timing_complete",{name:e,value:n,event_category:t,component:yt.component,session_id:this.sessionId,send_to:"mapvx"})}trackException(t,e=!1){this.isInitialized&&window.gtag("event","exception",{description:t,fatal:e,component:yt.component,session_id:this.sessionId,send_to:"mapvx"})}}const _t=()=>import("./components-DaeCLpLi.js").then(t=>t.c),bt=()=>import("./compact-floor-selector-CfnqUycd.js"),wt=async()=>{try{await import("./styles-BByP6ECU.js")}catch{}};var Et,xt,kt,It,St,At=Object.defineProperty,$t=Object.getOwnPropertyDescriptor,Ot=t=>{throw TypeError(t)},Tt=(t,e,n,r)=>{for(var o,i=r>1?void 0:r?$t(e,n):e,s=t.length-1;s>=0;s--)(o=t[s])&&(i=(r?o(e,n,i):o(i))||i);return r&&i&&At(e,n,i),i},Ct=(t,e,n)=>e.has(t)||Ot("Cannot "+n),Pt=(t,e,n)=>(Ct(t,e,"read from private field"),n?n.call(t):e.get(t)),Rt=(t,e,n)=>e.has(t)?Ot("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),Lt=(t,e,n,r)=>(Ct(t,e,"write to private field"),e.set(t,n),n);let Nt=class extends at{constructor(){super(...arguments),this.styles=[a`
|
|
33
|
+
*/function pt(t){return(e,n)=>"object"==typeof n?ht(t,e,n):((t,e,n)=>{const r=e.hasOwnProperty(n);return e.constructor.createProperty(n,t),r?Object.getOwnPropertyDescriptor(e,n):void 0})(t,e,n)}var dt,ft={exports:{}};var mt,gt=(dt||(dt=1,mt=ft,function(t,e){mt.exports=e()}(0,()=>{return t={12:(t,e,n)=>{var r=n(539);t.exports=function(t,e,n){var o,i,s,a,c=r.isType(t,"object"),u=r.isType(t,"array"),l=[];if(n=n||{obj:[],mapped:[]},c){if(a=n.obj.indexOf(t),c&&-1!==a)return n.mapped[a]||n.obj[a];n.obj.push(t),a=n.obj.length-1}if(c)for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&l.push(o);else if(u)for(s=0;s<t.length;++s)l.push(s);var h=c?{}:[],p=!0;for(s=0;s<l.length;++s)i=t[o=l[s]],h[o]=e(o,i,n),p=p&&h[o]===t[o];return c&&!p&&(n.mapped[a]=h),p?t:h}},61:t=>{t.exports={parse:function(t){var e,n,r={protocol:null,auth:null,host:null,path:null,hash:null,href:t,hostname:null,port:null,pathname:null,search:null,query:null};if(-1!==(e=t.indexOf("//"))?(r.protocol=t.substring(0,e),n=e+2):n=0,-1!==(e=t.indexOf("@",n))&&(r.auth=t.substring(n,e),n=e+1),-1===(e=t.indexOf("/",n))){if(-1===(e=t.indexOf("?",n)))return-1===(e=t.indexOf("#",n))?r.host=t.substring(n):(r.host=t.substring(n,e),r.hash=t.substring(e)),r.hostname=r.host.split(":")[0],r.port=r.host.split(":")[1],r.port&&(r.port=parseInt(r.port,10)),r;r.host=t.substring(n,e),r.hostname=r.host.split(":")[0],r.port=r.host.split(":")[1],r.port&&(r.port=parseInt(r.port,10)),n=e}else r.host=t.substring(n,e),r.hostname=r.host.split(":")[0],r.port=r.host.split(":")[1],r.port&&(r.port=parseInt(r.port,10)),n=e;if(-1===(e=t.indexOf("#",n))?r.path=t.substring(n):(r.path=t.substring(n,e),r.hash=t.substring(e)),r.path){var o=r.path.split("?");r.pathname=o[0],r.query=o[1],r.search=r.query?"?"+r.query:null}return r}}},67:(t,e,n)=>{var r=n(539),o=n(91),i={hostname:"api.rollbar.com",path:"/api/1/item/",search:null,version:"1",protocol:"https:",port:443};function s(t,e,n,r,o){this.options=t,this.transport=e,this.url=n,this.truncation=r,this.jsonBackup=o,this.accessToken=t.accessToken,this.transportOptions=a(t,n)}function a(t,e){return o.getTransportFromOptions(t,i,e)}s.prototype.postItem=function(t,e){var n=o.transportOptions(this.transportOptions,"POST"),r=o.buildPayload(this.accessToken,t,this.jsonBackup),i=this;setTimeout(function(){i.transport.post(i.accessToken,n,r,e)},0)},s.prototype.buildJsonPayload=function(t,e){var n,i=o.buildPayload(this.accessToken,t,this.jsonBackup);return(n=this.truncation?this.truncation.truncate(i):r.stringify(i)).error?(e&&e(n.error),null):n.value},s.prototype.postJsonPayload=function(t,e){var n=o.transportOptions(this.transportOptions,"POST");this.transport.postJsonPayload(this.accessToken,n,t,e)},s.prototype.configure=function(t){var e=this.oldOptions;return this.options=r.merge(e,t),this.transportOptions=a(this.options,this.url),void 0!==this.options.accessToken&&(this.accessToken=this.options.accessToken),this},t.exports=s},91:(t,e,n)=>{var r=n(539);t.exports={buildPayload:function(t,e,n){if(!r.isType(e.context,"string")){var o=r.stringify(e.context,n);o.error?e.context="Error: could not serialize 'context'":e.context=o.value||"",e.context.length>255&&(e.context=e.context.substr(0,255))}return{access_token:t,data:e}},getTransportFromOptions:function(t,e,n){var r=e.hostname,o=e.protocol,i=e.port,s=e.path,a=e.search,c=t.timeout,u=function(t){var e="undefined"!=typeof window&&window||"undefined"!=typeof self&&self,n=t.defaultTransport||"xhr";return void 0===e.fetch&&(n="xhr"),void 0===e.XMLHttpRequest&&(n="fetch"),n}(t),l=t.proxy;if(t.endpoint){var h=n.parse(t.endpoint);r=h.hostname,o=h.protocol,i=h.port,s=h.pathname,a=h.search}return{timeout:c,hostname:r,protocol:o,port:i,path:s,search:a,proxy:l,transport:u}},transportOptions:function(t,e){var n=t.protocol||"https:",r=t.port||("http:"===n?80:"https:"===n?443:void 0),o=t.hostname,i=t.path,s=t.timeout,a=t.transport;return t.search&&(i+=t.search),t.proxy&&(i=n+"//"+o+i,o=t.proxy.host||t.proxy.hostname,r=t.proxy.port,n=t.proxy.protocol||n),{timeout:s,protocol:n,hostname:o,path:i,port:r,method:e,transport:a}},appendPathToPath:function(t,e){var n=/\/$/.test(t),r=/^\//.test(e);return n&&r?e=e.substring(1):n||r||(e="/"+e),t+e}}},108:function(t,e){var n,r;void 0===(r="function"==typeof(n=function(){function t(t){return!isNaN(parseFloat(t))&&isFinite(t)}function e(t){return t.charAt(0).toUpperCase()+t.substring(1)}function n(t){return function(){return this[t]}}var r=["isConstructor","isEval","isNative","isToplevel"],o=["columnNumber","lineNumber"],i=["fileName","functionName","source"],s=r.concat(o,i,["args"],["evalOrigin"]);function a(t){if(t)for(var n=0;n<s.length;n++)void 0!==t[s[n]]&&this["set"+e(s[n])](t[s[n]])}a.prototype={getArgs:function(){return this.args},setArgs:function(t){if("[object Array]"!==Object.prototype.toString.call(t))throw new TypeError("Args must be an Array");this.args=t},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(t){if(t instanceof a)this.evalOrigin=t;else{if(!(t instanceof Object))throw new TypeError("Eval Origin must be an Object or StackFrame");this.evalOrigin=new a(t)}},toString:function(){var t=this.getFileName()||"",e=this.getLineNumber()||"",n=this.getColumnNumber()||"",r=this.getFunctionName()||"";return this.getIsEval()?t?"[eval] ("+t+":"+e+":"+n+")":"[eval]:"+e+":"+n:r?r+" ("+t+":"+e+":"+n+")":t+":"+e+":"+n}},a.fromString=function(t){var e=t.indexOf("("),n=t.lastIndexOf(")"),r=t.substring(0,e),o=t.substring(e+1,n).split(","),i=t.substring(n+1);if(0===i.indexOf("@"))var s=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(i,""),c=s[1],u=s[2],l=s[3];return new a({functionName:r,args:o||void 0,fileName:c,lineNumber:u||void 0,columnNumber:l||void 0})};for(var c=0;c<r.length;c++)a.prototype["get"+e(r[c])]=n(r[c]),a.prototype["set"+e(r[c])]=function(t){return function(e){this[t]=Boolean(e)}}(r[c]);for(var u=0;u<o.length;u++)a.prototype["get"+e(o[u])]=n(o[u]),a.prototype["set"+e(o[u])]=function(e){return function(n){if(!t(n))throw new TypeError(e+" must be a Number");this[e]=Number(n)}}(o[u]);for(var l=0;l<i.length;l++)a.prototype["get"+e(i[l])]=n(i[l]),a.prototype["set"+e(i[l])]=function(t){return function(e){this[t]=String(e)}}(i[l]);return a})?n.apply(e,[]):n)||(t.exports=r)},175:t=>{var e={ieVersion:function(){var t;if("undefined"==typeof document)return t;for(var e=3,n=document.createElement("div"),r=n.getElementsByTagName("i");n.innerHTML="\x3c!--[if gt IE "+ ++e+"]><i></i><![endif]--\x3e",r[0];);return e>4?e:t}};t.exports=e},183:(t,e,n)=>{var r=n(944);"undefined"==typeof window||window._rollbarStartTime||(window._rollbarStartTime=(new Date).getTime()),t.exports=r},197:(t,e,n)=>{var r=n(335),o=n(539),i=n(67),s=n(306),a=n(796),c=n(497),u=n(61),l=n(203),h=n(962),p=n(584),d=n(581),f=n(342);function m(t,e){this.options=o.handleOptions(E,t,null,s),this.options._configuredOptions=t;var n=this.components.telemeter,a=this.components.instrumenter,f=this.components.polyfillJSON;this.wrapGlobals=this.components.wrapGlobals,this.scrub=this.components.scrub;var m=this.components.truncation,g=new c(m),v=new i(this.options,g,u,m);n&&(this.telemeter=new n(this.options)),this.client=e||new r(this.options,v,s,this.telemeter,"browser");var y=_(),b="undefined"!=typeof document&&document;this.isChrome=y.chrome&&y.chrome.runtime,this.anonymousErrorsPending=0,function(t,e,n){t.addTransform(l.handleDomException).addTransform(l.handleItemWithError).addTransform(l.ensureItemHasSomethingToSay).addTransform(l.addBaseInfo).addTransform(l.addRequestInfo(n)).addTransform(l.addClientInfo(n)).addTransform(l.addPluginInfo(n)).addTransform(l.addBody).addTransform(h.addMessageWithError).addTransform(h.addTelemetryData).addTransform(h.addConfigToPayload).addTransform(l.addScrubber(e.scrub)).addTransform(h.addPayloadOptions).addTransform(h.userTransform(s)).addTransform(h.addConfiguredOptions).addTransform(h.addDiagnosticKeys).addTransform(h.itemToPayload)}(this.client.notifier,this,y),this.client.queue.addPredicate(d.checkLevel).addPredicate(p.checkIgnore).addPredicate(d.userCheckIgnore(s)).addPredicate(d.urlIsNotBlockListed(s)).addPredicate(d.urlIsSafeListed(s)).addPredicate(d.messageIsIgnored(s)),this.setupUnhandledCapture(),a&&(this.instrumenter=new a(this.options,this.client.telemeter,this,y,b),this.instrumenter.instrument()),o.setupJSON(f),this.rollbar=this}var g=null;function v(t){var e="Rollbar is not initialized";s.error(e),t&&t(new Error(e))}function y(t){for(var e=0,n=t.length;e<n;++e)if(o.isFunction(t[e]))return t[e]}function _(){return"undefined"!=typeof window&&window||"undefined"!=typeof self&&self}m.init=function(t,e){return g?g.global(t).configure(t):g=new m(t,e)},m.prototype.components={},m.setComponents=function(t){m.prototype.components=t},m.prototype.global=function(t){return this.client.global(t),this},m.global=function(t){if(g)return g.global(t);v()},m.prototype.configure=function(t,e){var n=this.options,r={};return e&&(r={payload:e}),this.options=o.handleOptions(n,t,r,s),this.options._configuredOptions=o.handleOptions(n._configuredOptions,t,r),this.client.configure(this.options,e),this.instrumenter&&this.instrumenter.configure(this.options),this.setupUnhandledCapture(),this},m.configure=function(t,e){if(g)return g.configure(t,e);v()},m.prototype.lastError=function(){return this.client.lastError},m.lastError=function(){if(g)return g.lastError();v()},m.prototype.log=function(){var t=this._createItem(arguments),e=t.uuid;return this.client.log(t),{uuid:e}},m.log=function(){if(g)return g.log.apply(g,arguments);v(y(arguments))},m.prototype.debug=function(){var t=this._createItem(arguments),e=t.uuid;return this.client.debug(t),{uuid:e}},m.debug=function(){if(g)return g.debug.apply(g,arguments);v(y(arguments))},m.prototype.info=function(){var t=this._createItem(arguments),e=t.uuid;return this.client.info(t),{uuid:e}},m.info=function(){if(g)return g.info.apply(g,arguments);v(y(arguments))},m.prototype.warn=function(){var t=this._createItem(arguments),e=t.uuid;return this.client.warn(t),{uuid:e}},m.warn=function(){if(g)return g.warn.apply(g,arguments);v(y(arguments))},m.prototype.warning=function(){var t=this._createItem(arguments),e=t.uuid;return this.client.warning(t),{uuid:e}},m.warning=function(){if(g)return g.warning.apply(g,arguments);v(y(arguments))},m.prototype.error=function(){var t=this._createItem(arguments),e=t.uuid;return this.client.error(t),{uuid:e}},m.error=function(){if(g)return g.error.apply(g,arguments);v(y(arguments))},m.prototype.critical=function(){var t=this._createItem(arguments),e=t.uuid;return this.client.critical(t),{uuid:e}},m.critical=function(){if(g)return g.critical.apply(g,arguments);v(y(arguments))},m.prototype.buildJsonPayload=function(t){return this.client.buildJsonPayload(t)},m.buildJsonPayload=function(){if(g)return g.buildJsonPayload.apply(g,arguments);v()},m.prototype.sendJsonPayload=function(t){return this.client.sendJsonPayload(t)},m.sendJsonPayload=function(){if(g)return g.sendJsonPayload.apply(g,arguments);v()},m.prototype.setupUnhandledCapture=function(){var t=_();this.unhandledExceptionsInitialized||(this.options.captureUncaught||this.options.handleUncaughtExceptions)&&(a.captureUncaughtExceptions(t,this),this.wrapGlobals&&this.options.wrapGlobalEventHandlers&&this.wrapGlobals(t,this),this.unhandledExceptionsInitialized=!0),this.unhandledRejectionsInitialized||(this.options.captureUnhandledRejections||this.options.handleUnhandledRejections)&&(a.captureUnhandledRejections(t,this),this.unhandledRejectionsInitialized=!0)},m.prototype.handleUncaughtException=function(t,e,n,r,i,s){if(this.options.captureUncaught||this.options.handleUncaughtExceptions){if(this.options.inspectAnonymousErrors&&this.isChrome&&null===i&&""===e)return"anonymous";var a,c=o.makeUnhandledStackInfo(t,e,n,r,i,"onerror","uncaught exception",f);o.isError(i)?(a=this._createItem([t,i,s]))._unhandledStackInfo=c:o.isError(e)?(a=this._createItem([t,e,s]))._unhandledStackInfo=c:(a=this._createItem([t,s])).stackInfo=c,a.level=this.options.uncaughtErrorLevel,a._isUncaught=!0,this.client.log(a)}},m.prototype.handleAnonymousErrors=function(){if(this.options.inspectAnonymousErrors&&this.isChrome){var t=this;try{Error.prepareStackTrace=function(e,n){if(t.options.inspectAnonymousErrors&&t.anonymousErrorsPending){if(t.anonymousErrorsPending-=1,!e)return;e._isAnonymous=!0,t.handleUncaughtException(e.message,null,null,null,e)}return e.stack}}catch(t){this.options.inspectAnonymousErrors=!1,this.error("anonymous error handler failed",t)}}},m.prototype.handleUnhandledRejection=function(t,e){if(this.options.captureUnhandledRejections||this.options.handleUnhandledRejections){var n="unhandled rejection was null or undefined!";if(t)if(t.message)n=t.message;else{var r=o.stringify(t);r.value&&(n=r.value)}var i,s=t&&t._rollbarContext||e&&e._rollbarContext;o.isError(t)?i=this._createItem([n,t,s]):(i=this._createItem([n,t,s])).stackInfo=o.makeUnhandledStackInfo(n,"",0,0,null,"unhandledrejection","",f),i.level=this.options.uncaughtErrorLevel,i._isUncaught=!0,i._originalArgs=i._originalArgs||[],i._originalArgs.push(e),this.client.log(i)}},m.prototype.wrap=function(t,e,n){try{var r;if(r=o.isFunction(e)?e:function(){return e||{}},!o.isFunction(t))return t;if(t._isWrap)return t;if(!t._rollbar_wrapped&&(t._rollbar_wrapped=function(){n&&o.isFunction(n)&&n.apply(this,arguments);try{return t.apply(this,arguments)}catch(n){var e=n;throw e&&window._rollbarWrappedError!==e&&(o.isType(e,"string")&&(e=new String(e)),e._rollbarContext=r()||{},e._rollbarContext._wrappedSource=t.toString(),window._rollbarWrappedError=e),e}},t._rollbar_wrapped._isWrap=!0,t.hasOwnProperty))for(var i in t)t.hasOwnProperty(i)&&"_rollbar_wrapped"!==i&&(t._rollbar_wrapped[i]=t[i]);return t._rollbar_wrapped}catch(e){return t}},m.wrap=function(t,e){if(g)return g.wrap(t,e);v()},m.prototype.captureEvent=function(){var t=o.createTelemetryEvent(arguments);return this.client.captureEvent(t.type,t.metadata,t.level)},m.captureEvent=function(){if(g)return g.captureEvent.apply(g,arguments);v()},m.prototype.captureDomContentLoaded=function(t,e){return e||(e=new Date),this.client.captureDomContentLoaded(e)},m.prototype.captureLoad=function(t,e){return e||(e=new Date),this.client.captureLoad(e)},m.prototype.loadFull=function(){s.info("Unexpected Rollbar.loadFull() called on a Notifier instance. This can happen when Rollbar is loaded multiple times.")},m.prototype._createItem=function(t){return o.createItem(t,s,this)};var b=n(441),w=n(537),E={version:b.version,scrubFields:w.scrubFields,logLevel:b.logLevel,reportLevel:b.reportLevel,uncaughtErrorLevel:b.uncaughtErrorLevel,endpoint:b.endpoint,verbose:!1,enabled:!0,transmit:!0,sendConfig:!1,includeItemsInTelemetry:!0,captureIp:!0,inspectAnonymousErrors:!0,ignoreDuplicateErrors:!0,wrapGlobalEventHandlers:!1};t.exports=m},203:(t,e,n)=>{var r=n(539),o=n(342),i=n(306);function s(t,e,n){var o=t.message,i=t.custom;o||(o="Item sent with null or missing arguments.");var s={body:o};i&&(s.extra=r.merge(i)),r.set(t,"data.body",{message:s}),n(null,t)}function a(t){var e=t.stackInfo.stack;return e&&0===e.length&&t._unhandledStackInfo&&t._unhandledStackInfo.stack&&(e=t._unhandledStackInfo.stack),e}function c(t,e,n){var i=t&&t.data.description,s=t&&t.custom,c=a(t),l=o.guessErrorClass(e.message),h={exception:{class:u(e,l[0],n),message:l[1]}};if(i&&(h.exception.description=i),c){var p,d,f,m,g,v,y,_;for(0===c.length&&(h.exception.stack=e.rawStack,h.exception.raw=String(e.rawException)),h.frames=[],y=0;y<c.length;++y)d={filename:(p=c[y]).url?r.sanitizeUrl(p.url):"(unknown)",lineno:p.line||null,method:p.func&&"?"!==p.func?p.func:"[anonymous]",colno:p.column},n.sendFrameUrl&&(d.url=p.url),d.method&&d.method.endsWith&&d.method.endsWith("_rollbar_wrapped")||(f=m=g=null,(v=p.context?p.context.length:0)&&(_=Math.floor(v/2),m=p.context.slice(0,_),f=p.context[_],g=p.context.slice(_)),f&&(d.code=f),(m||g)&&(d.context={},m&&m.length&&(d.context.pre=m),g&&g.length&&(d.context.post=g)),p.args&&(d.args=p.args),h.frames.push(d));h.frames.reverse(),s&&(h.extra=r.merge(s))}return h}function u(t,e,n){return t.name?t.name:n.guessErrorClass?e:"(unknown)"}t.exports={handleDomException:function(t,e,n){if(t.err&&"DOMException"===o.Stack(t.err).name){var r=new Error;r.name=t.err.name,r.message=t.err.message,r.stack=t.err.stack,r.nested=t.err,t.err=r}n(null,t)},handleItemWithError:function(t,e,n){if(t.data=t.data||{},t.err)try{t.stackInfo=t.err._savedStackTrace||o.parse(t.err,t.skipFrames),e.addErrorContext&&function(t){var e=[],n=t.err;for(e.push(n);n.nested||n.cause;)n=n.nested||n.cause,e.push(n);r.addErrorContext(t,e)}(t)}catch(e){i.error("Error while parsing the error object.",e);try{t.message=t.err.message||t.err.description||t.message||String(t.err)}catch(e){t.message=String(t.err)||String(e)}delete t.err}n(null,t)},ensureItemHasSomethingToSay:function(t,e,n){t.message||t.stackInfo||t.custom||n(new Error("No message, stack info, or custom data"),null),n(null,t)},addBaseInfo:function(t,e,n){var o=e.payload&&e.payload.environment||e.environment;t.data=r.merge(t.data,{environment:o,level:t.level,endpoint:e.endpoint,platform:"browser",framework:"browser-js",language:"javascript",server:{},uuid:t.uuid,notifier:{name:"rollbar-browser-js",version:e.version},custom:t.custom}),n(null,t)},addRequestInfo:function(t){return function(e,n,o){var i={};t&&t.location&&(i.url=t.location.href,i.query_string=t.location.search);var s="$remote_ip";n.captureIp?!0!==n.captureIp&&(s+="_anonymize"):s=null,s&&(i.user_ip=s),Object.keys(i).length>0&&r.set(e,"data.request",i),o(null,e)}},addClientInfo:function(t){return function(e,n,o){if(!t)return o(null,e);var i=t.navigator||{},s=t.screen||{};r.set(e,"data.client",{runtime_ms:e.timestamp-t._rollbarStartTime,timestamp:Math.round(e.timestamp/1e3),javascript:{browser:i.userAgent,language:i.language,cookie_enabled:i.cookieEnabled,screen:{width:s.width,height:s.height}}}),o(null,e)}},addPluginInfo:function(t){return function(e,n,o){if(!t||!t.navigator)return o(null,e);for(var i,s=[],a=t.navigator.plugins||[],c=0,u=a.length;c<u;++c)i=a[c],s.push({name:i.name,description:i.description});r.set(e,"data.client.javascript.plugins",s),o(null,e)}},addBody:function(t,e,n){t.stackInfo?t.stackInfo.traceChain?function(t,e,n){for(var o=t.stackInfo.traceChain,i=[],s=o.length,a=0;a<s;a++){var u=c(t,o[a],e);i.push(u)}r.set(t,"data.body",{trace_chain:i}),n(null,t)}(t,e,n):function(t,e,n){if(a(t)){var i=c(t,t.stackInfo,e);r.set(t,"data.body",{trace:i}),n(null,t)}else{var l=t.stackInfo,h=o.guessErrorClass(l.message),p=u(l,h[0],e),d=h[1];t.message=p+": "+d,s(t,0,n)}}(t,e,n):s(t,0,n)},addScrubber:function(t){return function(e,n,r){if(t){var o=n.scrubFields||[],i=n.scrubPaths||[];e.data=t(e.data,o,i)}r(null,e)}}}},215:t=>{var e=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=function(t){if(!t||"[object Object]"!==n.call(t))return!1;var r,o=e.call(t,"constructor"),i=t.constructor&&t.constructor.prototype&&e.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!o&&!i)return!1;for(r in t);return void 0===r||e.call(t,r)};t.exports=function t(){var e,n,o,i,s,a=Object.create(null),c=null,u=arguments.length;for(e=0;e<u;e++)if(null!=(c=arguments[e]))for(s in c)n=a[s],a!==(o=c[s])&&(o&&r(o)?(i=n&&r(n)?n:{},a[s]=t(i,o)):void 0!==o&&(a[s]=o));return a}},263:function(t,e,n){var r,o,i;o=[n(108)],void 0===(i="function"==typeof(r=function(t){var e=/(^|@)\S+:\d+/,n=/^\s*at .*(\S+:\d+|\(native\))/m,r=/^(eval@)?(\[native code])?$/;return{parse:function(t){if(void 0!==t.stacktrace||void 0!==t["opera#sourceloc"])return this.parseOpera(t);if(t.stack&&t.stack.match(n))return this.parseV8OrIE(t);if(t.stack)return this.parseFFOrSafari(t);throw new Error("Cannot parse given Error object")},extractLocation:function(t){if(-1===t.indexOf(":"))return[t];var e=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(t.replace(/[()]/g,""));return[e[1],e[2]||void 0,e[3]||void 0]},parseV8OrIE:function(e){return e.stack.split("\n").filter(function(t){return!!t.match(n)},this).map(function(e){e.indexOf("(eval ")>-1&&(e=e.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var n=e.replace(/^\s+/,"").replace(/\(eval code/g,"("),r=n.match(/ (\((.+):(\d+):(\d+)\)$)/),o=(n=r?n.replace(r[0],""):n).split(/\s+/).slice(1),i=this.extractLocation(r?r[1]:o.pop()),s=o.join(" ")||void 0,a=["eval","<anonymous>"].indexOf(i[0])>-1?void 0:i[0];return new t({functionName:s,fileName:a,lineNumber:i[1],columnNumber:i[2],source:e})},this)},parseFFOrSafari:function(e){return e.stack.split("\n").filter(function(t){return!t.match(r)},this).map(function(e){if(e.indexOf(" > eval")>-1&&(e=e.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===e.indexOf("@")&&-1===e.indexOf(":"))return new t({functionName:e});var n=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=e.match(n),o=r&&r[1]?r[1]:void 0,i=this.extractLocation(e.replace(n,""));return new t({functionName:o,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:e})},this)},parseOpera:function(t){return!t.stacktrace||t.message.indexOf("\n")>-1&&t.message.split("\n").length>t.stacktrace.split("\n").length?this.parseOpera9(t):t.stack?this.parseOpera11(t):this.parseOpera10(t)},parseOpera9:function(e){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=e.message.split("\n"),o=[],i=2,s=r.length;i<s;i+=2){var a=n.exec(r[i]);a&&o.push(new t({fileName:a[2],lineNumber:a[1],source:r[i]}))}return o},parseOpera10:function(e){for(var n=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,r=e.stacktrace.split("\n"),o=[],i=0,s=r.length;i<s;i+=2){var a=n.exec(r[i]);a&&o.push(new t({functionName:a[3]||void 0,fileName:a[2],lineNumber:a[1],source:r[i]}))}return o},parseOpera11:function(n){return n.stack.split("\n").filter(function(t){return!!t.match(e)&&!t.match(/^Error created at/)},this).map(function(e){var n,r=e.split("@"),o=this.extractLocation(r.pop()),i=r.shift()||"",s=i.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;i.match(/\(([^)]*)\)/)&&(n=i.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var a=void 0===n||"[arguments not available]"===n?void 0:n.split(",");return new t({functionName:s,args:a,fileName:o[0],lineNumber:o[1],columnNumber:o[2],source:e})},this)}}})?r.apply(e,o):r)||(t.exports=i)},306:(t,e,n)=>{n(738);var r=n(175),o=n(539);t.exports={error:function(){var t=Array.prototype.slice.call(arguments,0);t.unshift("Rollbar:"),r.ieVersion()<=8?console.error(o.formatArgsAsString(t)):console.error.apply(console,t)},info:function(){var t=Array.prototype.slice.call(arguments,0);t.unshift("Rollbar:"),r.ieVersion()<=8?console.info(o.formatArgsAsString(t)):console.info.apply(console,t)},log:function(){var t=Array.prototype.slice.call(arguments,0);t.unshift("Rollbar:"),r.ieVersion()<=8?console.log(o.formatArgsAsString(t)):console.log.apply(console,t)}}},335:(t,e,n)=>{var r=n(513),o=n(744),i=n(777),s=n(539);function a(t,e,n,r,l){this.options=s.merge(t),this.logger=n,a.rateLimiter.configureGlobal(this.options),a.rateLimiter.setPlatformOptions(l,this.options),this.api=e,this.queue=new o(a.rateLimiter,e,n,this.options);var h=this.options.tracer||null;u(h)?(this.tracer=h,this.options.tracer="opentracing-tracer-enabled",this.options._configuredOptions.tracer="opentracing-tracer-enabled"):this.tracer=null,this.notifier=new i(this.queue,this.options),this.telemeter=r,c(t),this.lastError=null,this.lastErrorHash="none"}function c(t){t.stackTraceLimit&&(Error.stackTraceLimit=t.stackTraceLimit)}function u(t){if(!t)return!1;if(!t.scope||"function"!=typeof t.scope)return!1;var e=t.scope();return!(!e||!e.active||"function"!=typeof e.active)}a.rateLimiter=new r({maxItems:0,itemsPerMinute:60}),a.prototype.global=function(t){return a.rateLimiter.configureGlobal(t),this},a.prototype.configure=function(t,e){var n=this.options,r={};e&&(r={payload:e}),this.options=s.merge(n,t,r);var o=this.options.tracer||null;return u(o)?(this.tracer=o,this.options.tracer="opentracing-tracer-enabled",this.options._configuredOptions.tracer="opentracing-tracer-enabled"):this.tracer=null,this.notifier&&this.notifier.configure(this.options),this.telemeter&&this.telemeter.configure(this.options),c(t),this.global(this.options),u(t.tracer)&&(this.tracer=t.tracer),this},a.prototype.log=function(t){var e=this._defaultLogLevel();return this._log(e,t)},a.prototype.debug=function(t){this._log("debug",t)},a.prototype.info=function(t){this._log("info",t)},a.prototype.warn=function(t){this._log("warning",t)},a.prototype.warning=function(t){this._log("warning",t)},a.prototype.error=function(t){this._log("error",t)},a.prototype.critical=function(t){this._log("critical",t)},a.prototype.wait=function(t){this.queue.wait(t)},a.prototype.captureEvent=function(t,e,n){return this.telemeter&&this.telemeter.captureEvent(t,e,n)},a.prototype.captureDomContentLoaded=function(t){return this.telemeter&&this.telemeter.captureDomContentLoaded(t)},a.prototype.captureLoad=function(t){return this.telemeter&&this.telemeter.captureLoad(t)},a.prototype.buildJsonPayload=function(t){return this.api.buildJsonPayload(t)},a.prototype.sendJsonPayload=function(t){this.api.postJsonPayload(t)},a.prototype._log=function(t,e){var n;if(e.callback&&(n=e.callback,delete e.callback),this.options.ignoreDuplicateErrors&&this._sameAsLastError(e)){if(n){var r=new Error("ignored identical item");r.item=e,n(r)}}else try{this._addTracingInfo(e),e.level=e.level||t,this.telemeter&&this.telemeter._captureRollbarItem(e),e.telemetryEvents=this.telemeter&&this.telemeter.copyEvents()||[],this.notifier.log(e,n)}catch(t){n&&n(t),this.logger.error(t)}},a.prototype._defaultLogLevel=function(){return this.options.logLevel||"debug"},a.prototype._sameAsLastError=function(t){if(!t._isUncaught)return!1;var e=function(t){return(t.message||"")+"::"+((t.err||{}).stack||String(t.err))}(t);return this.lastErrorHash===e||(this.lastError=t.err,this.lastErrorHash=e,!1)},a.prototype._addTracingInfo=function(t){if(this.tracer){var e=this.tracer.scope().active();if(function(t){if(!t||!t.context||"function"!=typeof t.context)return!1;var e=t.context();return!!(e&&e.toSpanId&&e.toTraceId&&"function"==typeof e.toSpanId&&"function"==typeof e.toTraceId)}(e)){e.setTag("rollbar.error_uuid",t.uuid),e.setTag("rollbar.has_error",!0),e.setTag("error",!0),e.setTag("rollbar.item_url",`https://rollbar.com/item/uuid/?uuid=${t.uuid}`),e.setTag("rollbar.occurrence_url",`https://rollbar.com/occurrence/uuid/?uuid=${t.uuid}`);var n=e.context().toSpanId(),r=e.context().toTraceId();t.custom?(t.custom.opentracing_span_id=n,t.custom.opentracing_trace_id=r):t.custom={opentracing_span_id:n,opentracing_trace_id:r}}}},t.exports=a},342:(t,e,n)=>{var r=n(263),o=new RegExp("^(([a-zA-Z0-9-_$ ]*): *)?(Uncaught )?([a-zA-Z0-9-_$ ]*): ");function i(t){var e={};return e._stackFrame=t,e.url=t.fileName,e.line=t.lineNumber,e.func=t.functionName,e.column=t.columnNumber,e.args=t.args,e.context=null,e}function s(t,e){return{stack:function(){var n=[];e=e||0;try{n=r.parse(t)}catch(t){n=[]}for(var o=[],s=e;s<n.length;s++)o.push(new i(n[s]));return o}(),message:t.message,name:(n=t,o=n.name&&n.name.length&&n.name,s=n.constructor.name&&n.constructor.name.length&&n.constructor.name,o&&s?"Error"===o?s:o:o||s),rawStack:t.stack,rawException:t};var n,o,s}t.exports={guessFunctionName:function(){return"?"},guessErrorClass:function(t){if(!t||!t.match)return["Unknown error. There was no error message to display.",""];var e=t.match(o),n="(unknown)";return e&&(n=e[e.length-1],t=(t=t.replace((e[e.length-2]||"")+n+":","")).replace(/(^[\s]+|[\s]+$)/g,"")),[n,t]},gatherContext:function(){return null},parse:function(t,e){var n=t;if(n.nested||n.cause){for(var r=[];n;)r.push(new s(n,e)),n=n.nested||n.cause,e=0;return r[0].traceChain=r,r[0]}return new s(n,e)},Stack:s,Frame:i}},352:(t,e,n)=>{var r=n(539),o=100;function i(t){this.queue=[],this.options=r.merge(t);var e=this.options.maxTelemetryEvents||o;this.maxQueueSize=Math.max(0,Math.min(e,o))}function s(t,e){return e||{error:"error",manual:"info"}[t]||"info"}i.prototype.configure=function(t){var e=this.options;this.options=r.merge(e,t);var n=this.options.maxTelemetryEvents||o,i=Math.max(0,Math.min(n,o)),s=0;this.queue.length>i&&(s=this.queue.length-i),this.maxQueueSize=i,this.queue.splice(0,s)},i.prototype.copyEvents=function(){var t=Array.prototype.slice.call(this.queue,0);if(r.isFunction(this.options.filterTelemetry))try{for(var e=t.length;e--;)this.options.filterTelemetry(t[e])&&t.splice(e,1)}catch(t){this.options.filterTelemetry=null}return t},i.prototype.capture=function(t,e,n,o,i){var a={level:s(t,n),type:t,timestamp_ms:i||r.now(),body:e,source:"client"};o&&(a.uuid=o);try{if(r.isFunction(this.options.filterTelemetry)&&this.options.filterTelemetry(a))return!1}catch(t){this.options.filterTelemetry=null}return this.push(a),a},i.prototype.captureEvent=function(t,e,n,r){return this.capture(t,e,n,r)},i.prototype.captureError=function(t,e,n,r){var o={message:t.message||String(t)};return t.stack&&(o.stack=t.stack),this.capture("error",o,e,n,r)},i.prototype.captureLog=function(t,e,n,r){return this.capture("log",{message:t},e,n,r)},i.prototype.captureNetwork=function(t,e,n,r){e=e||"xhr",t.subtype=t.subtype||e,r&&(t.request=r);var o=this.levelFromStatus(t.status_code);return this.capture("network",t,o,n)},i.prototype.levelFromStatus=function(t){return t>=200&&t<400?"info":0===t||t>=400?"error":"info"},i.prototype.captureDom=function(t,e,n,r,o){var i={subtype:t,element:e};return void 0!==n&&(i.value=n),void 0!==r&&(i.checked=r),this.capture("dom",i,"info",o)},i.prototype.captureNavigation=function(t,e,n){return this.capture("navigation",{from:t,to:e},"info",n)},i.prototype.captureDomContentLoaded=function(t){return this.capture("navigation",{subtype:"DOMContentLoaded"},"info",void 0,t&&t.getTime())},i.prototype.captureLoad=function(t){return this.capture("navigation",{subtype:"load"},"info",void 0,t&&t.getTime())},i.prototype.captureConnectivityChange=function(t,e){return this.captureNetwork({change:t},"connectivity",e)},i.prototype._captureRollbarItem=function(t){if(this.options.includeItemsInTelemetry)return t.err?this.captureError(t.err,t.level,t.uuid,t.timestamp):t.message?this.captureLog(t.message,t.level,t.uuid,t.timestamp):t.custom?this.capture("log",t.custom,t.level,t.uuid,t.timestamp):void 0},i.prototype.push=function(t){this.queue.push(t),this.queue.length>this.maxQueueSize&&this.queue.shift()},t.exports=i},356:(t,e,n)=>{var r=n(539),o=n(12);function i(t,e){var n=e.split("."),o=n.length-1;try{for(var i=0;i<=o;++i)i<o?t=t[n[i]]:t[n[i]]=r.redact()}catch(t){}}t.exports=function(t,e,n){if(e=e||[],n)for(var s=0;s<n.length;++s)i(t,n[s]);var a=function(t){for(var e,n=[],r=0;r<t.length;++r)e="^\\[?(%5[bB])?"+t[r]+"\\[?(%5[bB])?\\]?(%5[dD])?$",n.push(new RegExp(e,"i"));return n}(e),c=function(t){for(var e,n=[],r=0;r<t.length;++r)e="\\[?(%5[bB])?"+t[r]+"\\[?(%5[bB])?\\]?(%5[dD])?",n.push(new RegExp("("+e+"=)([^&\\n]+)","igm"));return n}(e);function u(t,e){return e+r.redact()}return o(t,function t(e,n,i){var s=function(t,e){var n;for(n=0;n<a.length;++n)if(a[n].test(t)){e=r.redact();break}return e}(e,n);return s===n?r.isType(n,"object")||r.isType(n,"array")?o(n,t,i):function(t){var e;if(r.isType(t,"string"))for(e=0;e<c.length;++e)t=t.replace(c[e],u);return t}(s):s})}},364:t=>{t.exports=function(t,e,n,r,o){var i=t[e];t[e]=n(i),r&&r[o].push([t,e,i])}},424:t=>{function e(t,e,n){if(e.hasOwnProperty&&e.hasOwnProperty("addEventListener")){for(var r=e.addEventListener;r._rollbarOldAdd&&r.belongsToShim;)r=r._rollbarOldAdd;var o=function(e,n,o){r.call(this,e,t.wrap(n),o)};o._rollbarOldAdd=r,o.belongsToShim=n,e.addEventListener=o;for(var i=e.removeEventListener;i._rollbarOldRemove&&i.belongsToShim;)i=i._rollbarOldRemove;var s=function(t,e,n){i.call(this,t,e&&e._rollbar_wrapped||e,n)};s._rollbarOldRemove=i,s.belongsToShim=n,e.removeEventListener=s}}t.exports=function(t,n,r){if(t){var o,i,s="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".split(",");for(o=0;o<s.length;++o)t[i=s[o]]&&t[i].prototype&&e(n,t[i].prototype,r)}}},435:(t,e,n)=>{var r=n(538);t.exports=r},440:(t,e,n)=>{var r=n(539),o=n(306);function i(t,e){var n=new Error(t);return n.code=e||"ENOTFOUND",n}t.exports=function(t,e,n,s,a,c,u){var l;if(!(l=c?c():function(){var t,e,n=[function(){return new XMLHttpRequest},function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Msxml3.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")}],r=n.length;for(e=0;e<r;e++)try{t=n[e]();break}catch(t){}return t}()))return a(new Error("No way to send a request"));try{try{var h=function(){try{if(h&&4===l.readyState){h=void 0;var t=r.jsonParse(l.responseText);if((s=l)&&s.status&&200===s.status)return void a(t.error,t.value);if(function(t){return t&&r.isType(t.status,"number")&&t.status>=400&&t.status<600}(l)){if(403===l.status){var e=t.value&&t.value.message;o.error(e)}a(new Error(String(l.status)))}else a(i("XHR response had no status code (likely connection failure)"))}}catch(t){var n;n=t&&t.stack?t:new Error(t),a(n)}var s};l.open(n,e,!0),l.setRequestHeader&&(l.setRequestHeader("Content-Type","application/json"),l.setRequestHeader("X-Rollbar-Access-Token",t)),r.isFiniteNumber(u)&&(l.timeout=u),l.onreadystatechange=h,l.send(s)}catch(t){if("undefined"!=typeof XDomainRequest){if(!window||!window.location)return a(new Error("No window available during request, unknown environment"));"http:"===window.location.href.substring(0,5)&&"https"===e.substring(0,5)&&(e="http"+e.substring(5));var p=new XDomainRequest;p.onprogress=function(){},p.ontimeout=function(){a(i("Request timed out","ETIMEDOUT"))},p.onerror=function(){a(new Error("Error during request"))},p.onload=function(){var t=r.jsonParse(p.responseText);a(t.error,t.value)},p.open(n,e,!0),p.send(s)}else a(new Error("Cannot find a method to transport a request"))}}catch(t){a(t)}}},441:t=>{t.exports={version:"2.26.5",endpoint:"api.rollbar.com/api/1/item/",logLevel:"debug",reportLevel:"debug",uncaughtErrorLevel:"error",maxItems:0,itemsPerMin:60}},497:(t,e,n)=>{var r=n(539),o=n(534),i=n(440);function s(t){this.truncation=t}s.prototype.get=function(t,e,n,o,i){o&&r.isFunction(o)||(o=function(){}),r.addParamsAndAccessTokenToPath(t,e,n);var s=r.formatUrl(e);this._makeZoneRequest(t,s,"GET",null,o,i,e.timeout,e.transport)},s.prototype.post=function(t,e,n,o,i){if(o&&r.isFunction(o)||(o=function(){}),!n)return o(new Error("Cannot send empty request"));var s;if((s=this.truncation?this.truncation.truncate(n):r.stringify(n)).error)return o(s.error);var a=s.value,c=r.formatUrl(e);this._makeZoneRequest(t,c,"POST",a,o,i,e.timeout,e.transport)},s.prototype.postJsonPayload=function(t,e,n,o,i){o&&r.isFunction(o)||(o=function(){});var s=r.formatUrl(e);this._makeZoneRequest(t,s,"POST",n,o,i,e.timeout,e.transport)},s.prototype._makeZoneRequest=function(){var t="undefined"!=typeof window&&window||void 0!==r&&r,e=t&&t.Zone&&t.Zone.root,n=Array.prototype.slice.call(arguments);if(e){var r=this;e.run(function(){r._makeRequest.apply(void 0,n)})}else this._makeRequest.apply(void 0,n)},s.prototype._makeRequest=function(t,e,n,r,s,a,c,u){if("undefined"!=typeof RollbarProxy)return function(t,e){(new RollbarProxy).sendJsonPayload(t,function(t){},function(t){e(new Error(t))})}(r,s);"fetch"===u?o(t,e,n,r,s,c):i(t,e,n,r,s,a,c)},t.exports=s},513:(t,e,n)=>{var r=n(539);function o(t){this.startTime=r.now(),this.counter=0,this.perMinCounter=0,this.platform=null,this.platformOptions={},this.configureGlobal(t)}function i(t,e,n){return!t.ignoreRateLimit&&e>=1&&n>e}function s(t,e,n,r,o,i,s){var a=null;return n&&(n=new Error(n)),n||r||(a=function(t,e,n,r,o){var i={body:{message:{body:o?"item per minute limit reached, ignoring errors until timeout":"maxItems has been hit, ignoring errors until reset.",extra:{maxItems:n,itemsPerMinute:r}}},language:"javascript",environment:e.environment||e.payload&&e.payload.environment,notifier:{version:e.notifier&&e.notifier.version||e.version}};return"browser"===t?(i.platform="browser",i.framework="browser-js",i.notifier.name="rollbar-browser-js"):"server"===t?(i.framework=e.framework||"node-js",i.notifier.name=e.notifier.name):"react-native"===t&&(i.framework=e.framework||"react-native",i.notifier.name=e.notifier.name),i}(t,e,o,i,s)),{error:n,shouldSend:r,payload:a}}o.globalSettings={startTime:r.now(),maxItems:void 0,itemsPerMinute:void 0},o.prototype.configureGlobal=function(t){void 0!==t.startTime&&(o.globalSettings.startTime=t.startTime),void 0!==t.maxItems&&(o.globalSettings.maxItems=t.maxItems),void 0!==t.itemsPerMinute&&(o.globalSettings.itemsPerMinute=t.itemsPerMinute)},o.prototype.shouldSend=function(t,e){var n=(e=e||r.now())-this.startTime;(n<0||n>=6e4)&&(this.startTime=e,this.perMinCounter=0);var a=o.globalSettings.maxItems,c=o.globalSettings.itemsPerMinute;if(i(t,a,this.counter))return s(this.platform,this.platformOptions,a+" max items reached",!1);if(i(t,c,this.perMinCounter))return s(this.platform,this.platformOptions,c+" items per minute reached",!1);this.counter++,this.perMinCounter++;var u=!i(t,a,this.counter),l=u;return u=u&&!i(t,c,this.perMinCounter),s(this.platform,this.platformOptions,null,u,a,c,l)},o.prototype.setPlatformOptions=function(t,e){this.platform=t,this.platformOptions=e},t.exports=o},534:(t,e,n)=>{var r=n(306),o=n(539);t.exports=function(t,e,n,i,s,a){var c,u;o.isFiniteNumber(a)&&(c=new AbortController,u=setTimeout(function(){c.abort()},a)),fetch(e,{method:n,headers:{"Content-Type":"application/json","X-Rollbar-Access-Token":t,signal:c&&c.signal},body:i}).then(function(t){return u&&clearTimeout(u),t.json()}).then(function(t){s(null,t)}).catch(function(t){r.error(t.message),s(t)})}},537:t=>{t.exports={scrubFields:["pw","pass","passwd","password","secret","confirm_password","confirmPassword","password_confirmation","passwordConfirmation","access_token","accessToken","X-Rollbar-Access-Token","secret_key","secretKey","secretToken","cc-number","card number","cardnumber","cardnum","ccnum","ccnumber","cc num","creditcardnumber","credit card number","newcreditcardnumber","new credit card","creditcardno","credit card no","card#","card #","cc-csc","cvc","cvc2","cvv2","ccv2","security code","card verification","name on credit card","name on card","nameoncard","cardholder","card holder","name des karteninhabers","ccname","card type","cardtype","cc type","cctype","payment type","expiration date","expirationdate","expdate","cc-exp","ccmonth","ccyear"]}},538:t=>{t.exports=function(t){var e,n,r,o,i,s,a,c,u,l,h,p,d,f=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;function m(t){return t<10?"0"+t:t}function g(){return this.valueOf()}function v(t){return f.lastIndex=0,f.test(t)?'"'+t.replace(f,function(t){var e=r[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'}function y(t,r){var i,s,a,c,u,l=e,h=r[t];switch(h&&"object"==typeof h&&"function"==typeof h.toJSON&&(h=h.toJSON(t)),"function"==typeof o&&(h=o.call(r,t,h)),typeof h){case"string":return v(h);case"number":return isFinite(h)?String(h):"null";case"boolean":case"null":return String(h);case"object":if(!h)return"null";if(e+=n,u=[],"[object Array]"===Object.prototype.toString.apply(h)){for(c=h.length,i=0;i<c;i+=1)u[i]=y(i,h)||"null";return a=0===u.length?"[]":e?"[\n"+e+u.join(",\n"+e)+"\n"+l+"]":"["+u.join(",")+"]",e=l,a}if(o&&"object"==typeof o)for(c=o.length,i=0;i<c;i+=1)"string"==typeof o[i]&&(a=y(s=o[i],h))&&u.push(v(s)+(e?": ":":")+a);else for(s in h)Object.prototype.hasOwnProperty.call(h,s)&&(a=y(s,h))&&u.push(v(s)+(e?": ":":")+a);return a=0===u.length?"{}":e?"{\n"+e+u.join(",\n"+e)+"\n"+l+"}":"{"+u.join(",")+"}",e=l,a}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+m(this.getUTCMonth()+1)+"-"+m(this.getUTCDate())+"T"+m(this.getUTCHours())+":"+m(this.getUTCMinutes())+":"+m(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=g,Number.prototype.toJSON=g,String.prototype.toJSON=g),"function"!=typeof t.stringify&&(r={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},t.stringify=function(t,r,i){var s;if(e="",n="","number"==typeof i)for(s=0;s<i;s+=1)n+=" ";else"string"==typeof i&&(n=i);if(o=r,r&&"function"!=typeof r&&("object"!=typeof r||"number"!=typeof r.length))throw new Error("JSON.stringify");return y("",{"":t})}),"function"!=typeof t.parse&&(t.parse=(l={"\\":"\\",'"':'"',"/":"/",t:"\t",n:"\n",r:"\r",f:"\f",b:"\b"},h={go:function(){i="ok"},firstokey:function(){c=u,i="colon"},okey:function(){c=u,i="colon"},ovalue:function(){i="ocomma"},firstavalue:function(){i="acomma"},avalue:function(){i="acomma"}},p={go:function(){i="ok"},ovalue:function(){i="ocomma"},firstavalue:function(){i="acomma"},avalue:function(){i="acomma"}},d={"{":{go:function(){s.push({state:"ok"}),a={},i="firstokey"},ovalue:function(){s.push({container:a,state:"ocomma",key:c}),a={},i="firstokey"},firstavalue:function(){s.push({container:a,state:"acomma"}),a={},i="firstokey"},avalue:function(){s.push({container:a,state:"acomma"}),a={},i="firstokey"}},"}":{firstokey:function(){var t=s.pop();u=a,a=t.container,c=t.key,i=t.state},ocomma:function(){var t=s.pop();a[c]=u,u=a,a=t.container,c=t.key,i=t.state}},"[":{go:function(){s.push({state:"ok"}),a=[],i="firstavalue"},ovalue:function(){s.push({container:a,state:"ocomma",key:c}),a=[],i="firstavalue"},firstavalue:function(){s.push({container:a,state:"acomma"}),a=[],i="firstavalue"},avalue:function(){s.push({container:a,state:"acomma"}),a=[],i="firstavalue"}},"]":{firstavalue:function(){var t=s.pop();u=a,a=t.container,c=t.key,i=t.state},acomma:function(){var t=s.pop();a.push(u),u=a,a=t.container,c=t.key,i=t.state}},":":{colon:function(){if(Object.hasOwnProperty.call(a,c))throw new SyntaxError("Duplicate key '"+c+'"');i="ovalue"}},",":{ocomma:function(){a[c]=u,i="okey"},acomma:function(){a.push(u),i="avalue"}},true:{go:function(){u=!0,i="ok"},ovalue:function(){u=!0,i="ocomma"},firstavalue:function(){u=!0,i="acomma"},avalue:function(){u=!0,i="acomma"}},false:{go:function(){u=!1,i="ok"},ovalue:function(){u=!1,i="ocomma"},firstavalue:function(){u=!1,i="acomma"},avalue:function(){u=!1,i="acomma"}},null:{go:function(){u=null,i="ok"},ovalue:function(){u=null,i="ocomma"},firstavalue:function(){u=null,i="acomma"},avalue:function(){u=null,i="acomma"}}},function(t,e){var n,r,o=/^[\u0020\t\n\r]*(?:([,:\[\]{}]|true|false|null)|(-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)|"((?:[^\r\n\t\\\"]|\\(?:["\\\/trnfb]|u[0-9a-fA-F]{4}))*)")/;i="go",s=[];try{for(;n=o.exec(t);)n[1]?d[n[1]][i]():n[2]?(u=+n[2],p[i]()):(r=n[3],u=r.replace(/\\(?:u(.{4})|([^u]))/g,function(t,e,n){return e?String.fromCharCode(parseInt(e,16)):l[n]}),h[i]()),t=t.slice(n[0].length)}catch(t){i=t}if("ok"!==i||/[^\u0020\t\n\r]/.test(t))throw i instanceof SyntaxError?i:new SyntaxError("JSON");return"function"==typeof e?function t(n,r){var o,i,s=n[r];if(s&&"object"==typeof s)for(o in u)Object.prototype.hasOwnProperty.call(s,o)&&(void 0!==(i=t(s,o))?s[o]=i:delete s[o]);return e.call(n,r,s)}({"":u},""):u}))}},539:(t,e,n)=>{var r=n(215),o={};function i(t,e){return e===s(t)}function s(t){var e=typeof t;return"object"!==e?e:t?t instanceof Error?"error":{}.toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase():"null"}function a(t){return i(t,"function")}function c(t){var e=Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?"),n=RegExp("^"+e+"$");return u(t)&&n.test(t)}function u(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function l(){var t=y();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var n=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"===e?n:7&n|8).toString(16)})}var h={strictMode:!1,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}};function p(t,e){var n,r;try{n=o.stringify(t)}catch(o){if(e&&a(e))try{n=e(t)}catch(t){r=t}else r=o}return{error:r,value:n}}function d(t,e){return function(n,r){try{e(n,r)}catch(e){t.error(e)}}}function f(t){return function t(e,n){var r,o,a,c={};try{for(o in e)(r=e[o])&&(i(r,"object")||i(r,"array"))?n.includes(r)?c[o]="Removed circular reference: "+s(r):((a=n.slice()).push(r),c[o]=t(r,a)):c[o]=r}catch(t){c="Failed cloning custom data: "+t.message}return c}(t,[t])}var m=["log","network","dom","navigation","error","manual"],g=["critical","error","warning","info","debug"];function v(t,e){for(var n=0;n<t.length;++n)if(t[n]===e)return!0;return!1}function y(){return Date.now?+Date.now():+new Date}t.exports={addParamsAndAccessTokenToPath:function(t,e,n){(n=n||{}).access_token=t;var r,o=[];for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&o.push([r,n[r]].join("="));var i="?"+o.sort().join("&");(e=e||{}).path=e.path||"";var s,a=e.path.indexOf("?"),c=e.path.indexOf("#");-1!==a&&(-1===c||c>a)?(s=e.path,e.path=s.substring(0,a)+i+"&"+s.substring(a+1)):-1!==c?(s=e.path,e.path=s.substring(0,c)+i+s.substring(c)):e.path=e.path+i},createItem:function(t,e,n,r,o){for(var i,a,c,u,h,p,m=[],g=[],v=0,_=t.length;v<_;++v){var b=s(p=t[v]);switch(g.push(b),b){case"undefined":break;case"string":i?m.push(p):i=p;break;case"function":u=d(e,p);break;case"date":m.push(p);break;case"error":case"domexception":case"exception":a?m.push(p):a=p;break;case"object":case"array":if(p instanceof Error||"undefined"!=typeof DOMException&&p instanceof DOMException){a?m.push(p):a=p;break}if(r&&"object"===b&&!h){for(var w=0,E=r.length;w<E;++w)if(void 0!==p[r[w]]){h=p;break}if(h)break}c?m.push(p):c=p;break;default:if(p instanceof Error||"undefined"!=typeof DOMException&&p instanceof DOMException){a?m.push(p):a=p;break}m.push(p)}}c&&(c=f(c)),m.length>0&&(c||(c=f({})),c.extraArgs=f(m));var x={message:i,err:a,custom:c,timestamp:y(),callback:u,notifier:n,diagnostic:{},uuid:l()};return function(t,e){e&&void 0!==e.level&&(t.level=e.level,delete e.level),e&&void 0!==e.skipFrames&&(t.skipFrames=e.skipFrames,delete e.skipFrames)}(x,c),r&&h&&(x.request=h),o&&(x.lambdaContext=o),x._originalArgs=t,x.diagnostic.original_arg_types=g,x},addErrorContext:function(t,e){var n=t.data.custom||{},o=!1;try{for(var i=0;i<e.length;++i)e[i].hasOwnProperty("rollbarContext")&&(n=r(n,f(e[i].rollbarContext)),o=!0);o&&(t.data.custom=n)}catch(e){t.diagnostic.error_context="Failed: "+e.message}},createTelemetryEvent:function(t){for(var e,n,r,o,i=0,a=t.length;i<a;++i)switch(s(o=t[i])){case"string":!e&&v(m,o)?e=o:!r&&v(g,o)&&(r=o);break;case"object":n=o}return{type:e||"manual",metadata:n||{},level:r}},filterIp:function(t,e){if(t&&t.user_ip&&!0!==e){var n=t.user_ip;if(e)try{var r;if(-1!==n.indexOf("."))(r=n.split(".")).pop(),r.push("0"),n=r.join(".");else if(-1!==n.indexOf(":")){if((r=n.split(":")).length>2){var o=r.slice(0,3),i=o[2].indexOf("/");-1!==i&&(o[2]=o[2].substring(0,i)),n=o.concat("0000:0000:0000:0000:0000").join(":")}}else n=null}catch(t){n=null}else n=null;t.user_ip=n}},formatArgsAsString:function(t){var e,n,r,o=[];for(e=0,n=t.length;e<n;++e){switch(s(r=t[e])){case"object":(r=(r=p(r)).error||r.value).length>500&&(r=r.substr(0,497)+"...");break;case"null":r="null";break;case"undefined":r="undefined";break;case"symbol":r=r.toString()}o.push(r)}return o.join(" ")},formatUrl:function(t,e){if(!(e=e||t.protocol)&&t.port&&(80===t.port?e="http:":443===t.port&&(e="https:")),e=e||"https:",!t.hostname)return null;var n=e+"//"+t.hostname;return t.port&&(n=n+":"+t.port),t.path&&(n+=t.path),n},get:function(t,e){if(t){var n=e.split("."),r=t;try{for(var o=0,i=n.length;o<i;++o)r=r[n[o]]}catch(t){r=void 0}return r}},handleOptions:function(t,e,n,o){var i=r(t,e,n);return i=function(t,e){return t.hostWhiteList&&!t.hostSafeList&&(t.hostSafeList=t.hostWhiteList,t.hostWhiteList=void 0,e&&e.log("hostWhiteList is deprecated. Use hostSafeList.")),t.hostBlackList&&!t.hostBlockList&&(t.hostBlockList=t.hostBlackList,t.hostBlackList=void 0,e&&e.log("hostBlackList is deprecated. Use hostBlockList.")),t}(i,o),!e||e.overwriteScrubFields||e.scrubFields&&(i.scrubFields=(t.scrubFields||[]).concat(e.scrubFields)),i},isError:function(t){return i(t,"error")||i(t,"exception")},isFiniteNumber:function(t){return Number.isFinite(t)},isFunction:a,isIterable:function(t){var e=s(t);return"object"===e||"array"===e},isNativeFunction:c,isObject:u,isString:function(t){return"string"==typeof t||t instanceof String},isType:i,isPromise:function(t){return u(t)&&i(t.then,"function")},jsonParse:function(t){var e,n;try{e=o.parse(t)}catch(t){n=t}return{error:n,value:e}},LEVELS:{debug:0,info:1,warning:2,error:3,critical:4},makeUnhandledStackInfo:function(t,e,n,r,o,i,s,a){var c={url:e||"",line:n,column:r};c.func=a.guessFunctionName(c.url,c.line),c.context=a.gatherContext(c.url,c.line);var u="undefined"!=typeof document&&document&&document.location&&document.location.href,l="undefined"!=typeof window&&window&&window.navigator&&window.navigator.userAgent;return{mode:i,message:o?String(o):t||s,url:u,stack:[c],useragent:l}},merge:r,now:y,redact:function(){return"********"},RollbarJSON:o,sanitizeUrl:function(t){var e=function(t){if(i(t,"string")){for(var e=h,n=e.parser[e.strictMode?"strict":"loose"].exec(t),r={},o=0,s=e.key.length;o<s;++o)r[e.key[o]]=n[o]||"";return r[e.q.name]={},r[e.key[12]].replace(e.q.parser,function(t,n,o){n&&(r[e.q.name][n]=o)}),r}}(t);return e?(""===e.anchor&&(e.source=e.source.replace("#","")),t=e.source.replace("?"+e.query,"")):"(unknown)"},set:function(t,e,n){if(t){Object.setPrototypeOf(t,null);var r=e.split("."),o=r.length;if(!(o<1))if(1!==o)try{for(var i=t[r[0]]||{},s=i,a=1;a<o-1;++a)i[r[a]]=i[r[a]]||{},i=i[r[a]];i[r[o-1]]=n,t[r[0]]=s}catch(t){return}else t[r[0]]=n}},setupJSON:function(t){a(o.stringify)&&a(o.parse)||(i(JSON,"undefined")||(t?(c(JSON.stringify)&&(o.stringify=JSON.stringify),c(JSON.parse)&&(o.parse=JSON.parse)):(a(JSON.stringify)&&(o.stringify=JSON.stringify),a(JSON.parse)&&(o.parse=JSON.parse))),a(o.stringify)&&a(o.parse)||t&&t(o))},stringify:p,maxByteSize:function(t){for(var e=0,n=t.length,r=0;r<n;r++){var o=t.charCodeAt(r);o<128?e+=1:o<2048?e+=2:o<65536&&(e+=3)}return e},typeName:s,uuid4:l}},581:(t,e,n)=>{var r=n(539);function o(t,e,n){if(!t)return!n;var o,i,s=t.frames;if(!s||0===s.length)return!n;for(var a=e.length,c=s.length,u=0;u<c;u++){if(o=s[u].filename,!r.isType(o,"string"))return!n;for(var l=0;l<a;l++)if(i=e[l],new RegExp(i).test(o))return!0}return!1}function i(t,e,n,i){var s,a,c=!1;"blocklist"===n&&(c=!0);try{if(s=c?e.hostBlockList:e.hostSafeList,a=r.get(t,"body.trace_chain")||[r.get(t,"body.trace")],!s||0===s.length)return!c;if(0===a.length||!a[0])return!c;for(var u=a.length,l=0;l<u;l++)if(o(a[l],s,c))return!0}catch(t){c?e.hostBlockList=null:e.hostSafeList=null;var h=c?"hostBlockList":"hostSafeList";return i.error("Error while reading your configuration's "+h+" option. Removing custom "+h+".",t),!c}return!1}t.exports={checkLevel:function(t,e){var n=t.level,o=r.LEVELS[n]||0,i=e.reportLevel;return!(o<(r.LEVELS[i]||0))},userCheckIgnore:function(t){return function(e,n){var o=!!e._isUncaught;delete e._isUncaught;var i=e._originalArgs;delete e._originalArgs;try{r.isFunction(n.onSendCallback)&&n.onSendCallback(o,i,e)}catch(e){n.onSendCallback=null,t.error("Error while calling onSendCallback, removing",e)}try{if(r.isFunction(n.checkIgnore)&&n.checkIgnore(o,i,e))return!1}catch(e){n.checkIgnore=null,t.error("Error while calling custom checkIgnore(), removing",e)}return!0}},urlIsNotBlockListed:function(t){return function(e,n){return!i(e,n,"blocklist",t)}},urlIsSafeListed:function(t){return function(e,n){return i(e,n,"safelist",t)}},messageIsIgnored:function(t){return function(e,n){var o,i,s,a,c,u;try{if(!(s=n.ignoredMessages)||0===s.length)return!0;if(u=function(t){var e=t.body,n=[];if(e.trace_chain)for(var o=e.trace_chain,i=0;i<o.length;i++){var s=o[i];n.push(r.get(s,"exception.message"))}return e.trace&&n.push(r.get(e,"trace.exception.message")),e.message&&n.push(r.get(e,"message.body")),n}(e),0===u.length)return!0;for(a=s.length,o=0;o<a;o++)for(c=new RegExp(s[o],"gi"),i=0;i<u.length;i++)if(c.test(u[i]))return!1}catch(e){n.ignoredMessages=null,t.error("Error while reading your configuration's ignoredMessages option. Removing custom ignoredMessages.")}return!0}}}},584:(t,e,n)=>{var r=n(539);t.exports={checkIgnore:function(t,e){return!r.get(e,"plugins.jquery.ignoreAjaxErrors")||!r.get(t,"body.message.extra.isAjax")}}},683:(t,e,n)=>{var r=n(539),o=n(974),i=n(364),s=n(356),a=n(61),c=n(790),u={network:!0,networkResponseHeaders:!1,networkResponseBody:!1,networkRequestHeaders:!1,networkRequestBody:!1,networkErrorOnHttp5xx:!1,networkErrorOnHttp4xx:!1,networkErrorOnHttp0:!1,log:!0,dom:!0,navigation:!0,connectivity:!0,contentSecurityPolicy:!0,errorOnContentSecurityPolicy:!1};function l(t,e){for(var n;t[e].length;)(n=t[e].shift())[0][n[1]]=n[2]}function h(t,e,n,o,i){this.options=t;var s=t.autoInstrument;!1===t.enabled||!1===s?this.autoInstrument={}:(r.isType(s,"object")||(s=u),this.autoInstrument=r.merge(u,s)),this.scrubTelemetryInputs=!!t.scrubTelemetryInputs,this.telemetryScrubber=t.telemetryScrubber,this.defaultValueScrubber=function(t){for(var e=[],n=0;n<t.length;++n)e.push(new RegExp(t[n],"i"));return function(t){var n=function(t){if(!t||!t.attributes)return null;for(var e=t.attributes,n=0;n<e.length;++n)if("name"===e[n].key)return e[n].value;return null}(t);if(!n)return!1;for(var r=0;r<e.length;++r)if(e[r].test(n))return!0;return!1}}(t.scrubFields),this.telemeter=e,this.rollbar=n,this.diagnostic=n.client.notifier.diagnostic,this._window=o||{},this._document=i||{},this.replacements={network:[],log:[],navigation:[],connectivity:[]},this.eventRemovers={dom:[],connectivity:[],contentsecuritypolicy:[]},this._location=this._window.location,this._lastHref=this._location&&this._location.href}function p(t){return"undefined"!=typeof URL&&t instanceof URL}h.prototype.configure=function(t){this.options=r.merge(this.options,t);var e=t.autoInstrument,n=r.merge(this.autoInstrument);!1===t.enabled||!1===e?this.autoInstrument={}:(r.isType(e,"object")||(e=u),this.autoInstrument=r.merge(u,e)),this.instrument(n),void 0!==t.scrubTelemetryInputs&&(this.scrubTelemetryInputs=!!t.scrubTelemetryInputs),void 0!==t.telemetryScrubber&&(this.telemetryScrubber=t.telemetryScrubber)},h.prototype.instrument=function(t){!this.autoInstrument.network||t&&t.network?!this.autoInstrument.network&&t&&t.network&&this.deinstrumentNetwork():this.instrumentNetwork(),!this.autoInstrument.log||t&&t.log?!this.autoInstrument.log&&t&&t.log&&this.deinstrumentConsole():this.instrumentConsole(),!this.autoInstrument.dom||t&&t.dom?!this.autoInstrument.dom&&t&&t.dom&&this.deinstrumentDom():this.instrumentDom(),!this.autoInstrument.navigation||t&&t.navigation?!this.autoInstrument.navigation&&t&&t.navigation&&this.deinstrumentNavigation():this.instrumentNavigation(),!this.autoInstrument.connectivity||t&&t.connectivity?!this.autoInstrument.connectivity&&t&&t.connectivity&&this.deinstrumentConnectivity():this.instrumentConnectivity(),!this.autoInstrument.contentSecurityPolicy||t&&t.contentSecurityPolicy?!this.autoInstrument.contentSecurityPolicy&&t&&t.contentSecurityPolicy&&this.deinstrumentContentSecurityPolicy():this.instrumentContentSecurityPolicy()},h.prototype.deinstrumentNetwork=function(){l(this.replacements,"network")},h.prototype.instrumentNetwork=function(){var t=this;function e(e,n){e in n&&r.isFunction(n[e])&&i(n,e,function(e){return t.rollbar.wrap(e)})}if("XMLHttpRequest"in this._window){var n=this._window.XMLHttpRequest.prototype;i(n,"open",function(t){return function(e,n){var o=p(n);return(r.isType(n,"string")||o)&&(n=o?n.toString():n,this.__rollbar_xhr?(this.__rollbar_xhr.method=e,this.__rollbar_xhr.url=n,this.__rollbar_xhr.status_code=null,this.__rollbar_xhr.start_time_ms=r.now(),this.__rollbar_xhr.end_time_ms=null):this.__rollbar_xhr={method:e,url:n,status_code:null,start_time_ms:r.now(),end_time_ms:null}),t.apply(this,arguments)}},this.replacements,"network"),i(n,"setRequestHeader",function(e){return function(n,o){return this.__rollbar_xhr||(this.__rollbar_xhr={}),r.isType(n,"string")&&r.isType(o,"string")&&(t.autoInstrument.networkRequestHeaders&&(this.__rollbar_xhr.request_headers||(this.__rollbar_xhr.request_headers={}),this.__rollbar_xhr.request_headers[n]=o),"content-type"===n.toLowerCase()&&(this.__rollbar_xhr.request_content_type=o)),e.apply(this,arguments)}},this.replacements,"network"),i(n,"send",function(n){return function(o){var s=this;function a(){if(s.__rollbar_xhr&&(null===s.__rollbar_xhr.status_code&&(s.__rollbar_xhr.status_code=0,t.autoInstrument.networkRequestBody&&(s.__rollbar_xhr.request=o),s.__rollbar_event=t.captureNetwork(s.__rollbar_xhr,"xhr",void 0)),s.readyState<2&&(s.__rollbar_xhr.start_time_ms=r.now()),s.readyState>3)){s.__rollbar_xhr.end_time_ms=r.now();var e=null;if(s.__rollbar_xhr.response_content_type=s.getResponseHeader("Content-Type"),t.autoInstrument.networkResponseHeaders){var n=t.autoInstrument.networkResponseHeaders;e={};try{var i,a;if(!0===n){var c=s.getAllResponseHeaders();if(c){var u,l,h=c.trim().split(/[\r\n]+/);for(a=0;a<h.length;a++)i=(u=h[a].split(": ")).shift(),l=u.join(": "),e[i]=l}}else for(a=0;a<n.length;a++)e[i=n[a]]=s.getResponseHeader(i)}catch(t){}}var p=null;if(t.autoInstrument.networkResponseBody)try{p=s.responseText}catch(t){}var d=null;(p||e)&&(d={},p&&(t.isJsonContentType(s.__rollbar_xhr.response_content_type)?d.body=t.scrubJson(p):d.body=p),e&&(d.headers=e)),d&&(s.__rollbar_xhr.response=d);try{var f=s.status;f=1223===f?204:f,s.__rollbar_xhr.status_code=f,s.__rollbar_event.level=t.telemeter.levelFromStatus(f),t.errorOnHttpStatus(s.__rollbar_xhr)}catch(t){}}}return e("onload",s),e("onerror",s),e("onprogress",s),"onreadystatechange"in s&&r.isFunction(s.onreadystatechange)?i(s,"onreadystatechange",function(e){return t.rollbar.wrap(e,void 0,a)}):s.onreadystatechange=a,s.__rollbar_xhr&&t.trackHttpErrors()&&(s.__rollbar_xhr.stack=(new Error).stack),n.apply(this,arguments)}},this.replacements,"network")}"fetch"in this._window&&i(this._window,"fetch",function(e){return function(n,i){for(var s=new Array(arguments.length),a=0,c=s.length;a<c;a++)s[a]=arguments[a];var u,l=s[0],h="GET",d=p(l);r.isType(l,"string")||d?u=d?l.toString():l:l&&(u=l.url,l.method&&(h=l.method)),s[1]&&s[1].method&&(h=s[1].method);var f={method:h,url:u,status_code:null,start_time_ms:r.now(),end_time_ms:null};if(s[1]&&s[1].headers){var m=o(s[1].headers);f.request_content_type=m.get("Content-Type"),t.autoInstrument.networkRequestHeaders&&(f.request_headers=t.fetchHeaders(m,t.autoInstrument.networkRequestHeaders))}return t.autoInstrument.networkRequestBody&&(s[1]&&s[1].body?f.request=s[1].body:s[0]&&!r.isType(s[0],"string")&&s[0].body&&(f.request=s[0].body)),t.captureNetwork(f,"fetch",void 0),t.trackHttpErrors()&&(f.stack=(new Error).stack),e.apply(this,s).then(function(e){f.end_time_ms=r.now(),f.status_code=e.status,f.response_content_type=e.headers.get("Content-Type");var n=null;t.autoInstrument.networkResponseHeaders&&(n=t.fetchHeaders(e.headers,t.autoInstrument.networkResponseHeaders));var o=null;return t.autoInstrument.networkResponseBody&&"function"==typeof e.text&&(o=e.clone().text()),(n||o)&&(f.response={},o&&("function"==typeof o.then?o.then(function(e){e&&t.isJsonContentType(f.response_content_type)?f.response.body=t.scrubJson(e):f.response.body=e}):f.response.body=o),n&&(f.response.headers=n)),t.errorOnHttpStatus(f),e})}},this.replacements,"network")},h.prototype.captureNetwork=function(t,e,n){return t.request&&this.isJsonContentType(t.request_content_type)&&(t.request=this.scrubJson(t.request)),this.telemeter.captureNetwork(t,e,n)},h.prototype.isJsonContentType=function(t){return!!(t&&r.isType(t,"string")&&t.toLowerCase().includes("json"))},h.prototype.scrubJson=function(t){return JSON.stringify(s(JSON.parse(t),this.options.scrubFields))},h.prototype.fetchHeaders=function(t,e){var n={};try{var r;if(!0===e){if("function"==typeof t.entries)for(var o=t.entries(),i=o.next();!i.done;)n[i.value[0]]=i.value[1],i=o.next()}else for(r=0;r<e.length;r++){var s=e[r];n[s]=t.get(s)}}catch(t){}return n},h.prototype.trackHttpErrors=function(){return this.autoInstrument.networkErrorOnHttp5xx||this.autoInstrument.networkErrorOnHttp4xx||this.autoInstrument.networkErrorOnHttp0},h.prototype.errorOnHttpStatus=function(t){var e=t.status_code;if(e>=500&&this.autoInstrument.networkErrorOnHttp5xx||e>=400&&this.autoInstrument.networkErrorOnHttp4xx||0===e&&this.autoInstrument.networkErrorOnHttp0){var n=new Error("HTTP request failed with Status "+e);n.stack=t.stack,this.rollbar.error(n,{skipFrames:1})}},h.prototype.deinstrumentConsole=function(){if("console"in this._window&&this._window.console.log)for(var t;this.replacements.log.length;)t=this.replacements.log.shift(),this._window.console[t[0]]=t[1]},h.prototype.instrumentConsole=function(){if("console"in this._window&&this._window.console.log){var t=this,e=this._window.console,n=["debug","info","warn","error","log"];try{for(var o=0,i=n.length;o<i;o++)s(n[o])}catch(t){this.diagnostic.instrumentConsole={error:t.message}}}function s(n){var o=e[n],i=e,s="warn"===n?"warning":n;e[n]=function(){var e=Array.prototype.slice.call(arguments),n=r.formatArgsAsString(e);t.telemeter.captureLog(n,s),o&&Function.prototype.apply.call(o,i,e)},t.replacements.log.push([n,o])}},h.prototype.deinstrumentDom=function(){("addEventListener"in this._window||"attachEvent"in this._window)&&this.removeListeners("dom")},h.prototype.instrumentDom=function(){if("addEventListener"in this._window||"attachEvent"in this._window){var t=this.handleClick.bind(this),e=this.handleBlur.bind(this);this.addListener("dom",this._window,"click","onclick",t,!0),this.addListener("dom",this._window,"blur","onfocusout",e,!0)}},h.prototype.handleClick=function(t){try{var e=c.getElementFromEvent(t,this._document),n=e&&e.tagName,r=c.isDescribedElement(e,"a")||c.isDescribedElement(e,"button");n&&(r||c.isDescribedElement(e,"input",["button","submit"]))?this.captureDomEvent("click",e):c.isDescribedElement(e,"input",["checkbox","radio"])&&this.captureDomEvent("input",e,e.value,e.checked)}catch(t){}},h.prototype.handleBlur=function(t){try{var e=c.getElementFromEvent(t,this._document);e&&e.tagName&&(c.isDescribedElement(e,"textarea")?this.captureDomEvent("input",e,e.value):c.isDescribedElement(e,"select")&&e.options&&e.options.length?this.handleSelectInputChanged(e):c.isDescribedElement(e,"input")&&!c.isDescribedElement(e,"input",["button","submit","hidden","checkbox","radio"])&&this.captureDomEvent("input",e,e.value))}catch(t){}},h.prototype.handleSelectInputChanged=function(t){if(t.multiple)for(var e=0;e<t.options.length;e++)t.options[e].selected&&this.captureDomEvent("input",t,t.options[e].value);else t.selectedIndex>=0&&t.options[t.selectedIndex]&&this.captureDomEvent("input",t,t.options[t.selectedIndex].value)},h.prototype.captureDomEvent=function(t,e,n,r){if(void 0!==n)if(this.scrubTelemetryInputs||"password"===c.getElementType(e))n="[scrubbed]";else{var o=c.describeElement(e);this.telemetryScrubber?this.telemetryScrubber(o)&&(n="[scrubbed]"):this.defaultValueScrubber(o)&&(n="[scrubbed]")}var i=c.elementArrayToString(c.treeToArray(e));this.telemeter.captureDom(t,i,n,r)},h.prototype.deinstrumentNavigation=function(){var t=this._window.chrome;!(t&&t.app&&t.app.runtime)&&this._window.history&&this._window.history.pushState&&l(this.replacements,"navigation")},h.prototype.instrumentNavigation=function(){var t=this._window.chrome;if(!(t&&t.app&&t.app.runtime)&&this._window.history&&this._window.history.pushState){var e=this;i(this._window,"onpopstate",function(t){return function(){var n=e._location.href;e.handleUrlChange(e._lastHref,n),t&&t.apply(this,arguments)}},this.replacements,"navigation"),i(this._window.history,"pushState",function(t){return function(){var n=arguments.length>2?arguments[2]:void 0;return n&&e.handleUrlChange(e._lastHref,n+""),t.apply(this,arguments)}},this.replacements,"navigation")}},h.prototype.handleUrlChange=function(t,e){var n=a.parse(this._location.href),r=a.parse(e),o=a.parse(t);this._lastHref=e,n.protocol===r.protocol&&n.host===r.host&&(e=r.path+(r.hash||"")),n.protocol===o.protocol&&n.host===o.host&&(t=o.path+(o.hash||"")),this.telemeter.captureNavigation(t,e)},h.prototype.deinstrumentConnectivity=function(){("addEventListener"in this._window||"body"in this._document)&&(this._window.addEventListener?this.removeListeners("connectivity"):l(this.replacements,"connectivity"))},h.prototype.instrumentConnectivity=function(){if("addEventListener"in this._window||"body"in this._document)if(this._window.addEventListener)this.addListener("connectivity",this._window,"online",void 0,function(){this.telemeter.captureConnectivityChange("online")}.bind(this),!0),this.addListener("connectivity",this._window,"offline",void 0,function(){this.telemeter.captureConnectivityChange("offline")}.bind(this),!0);else{var t=this;i(this._document.body,"ononline",function(e){return function(){t.telemeter.captureConnectivityChange("online"),e&&e.apply(this,arguments)}},this.replacements,"connectivity"),i(this._document.body,"onoffline",function(e){return function(){t.telemeter.captureConnectivityChange("offline"),e&&e.apply(this,arguments)}},this.replacements,"connectivity")}},h.prototype.handleCspEvent=function(t){var e="Security Policy Violation: blockedURI: "+t.blockedURI+", violatedDirective: "+t.violatedDirective+", effectiveDirective: "+t.effectiveDirective+", ";t.sourceFile&&(e+="location: "+t.sourceFile+", line: "+t.lineNumber+", col: "+t.columnNumber+", "),e+="originalPolicy: "+t.originalPolicy,this.telemeter.captureLog(e,"error"),this.handleCspError(e)},h.prototype.handleCspError=function(t){this.autoInstrument.errorOnContentSecurityPolicy&&this.rollbar.error(t)},h.prototype.deinstrumentContentSecurityPolicy=function(){"addEventListener"in this._document&&this.removeListeners("contentsecuritypolicy")},h.prototype.instrumentContentSecurityPolicy=function(){if("addEventListener"in this._document){var t=this.handleCspEvent.bind(this);this.addListener("contentsecuritypolicy",this._document,"securitypolicyviolation",null,t,!1)}},h.prototype.addListener=function(t,e,n,r,o,i){e.addEventListener?(e.addEventListener(n,o,i),this.eventRemovers[t].push(function(){e.removeEventListener(n,o,i)})):r&&(e.attachEvent(r,o),this.eventRemovers[t].push(function(){e.detachEvent(r,o)}))},h.prototype.removeListeners=function(t){for(;this.eventRemovers[t].length;)this.eventRemovers[t].shift()()},t.exports=h},738:function(){!function(t){t.console||(t.console={});for(var e,n,r=t.console,o=function(){},i=["memory"],s="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");e=i.pop();)r[e]||(r[e]={});for(;n=s.pop();)r[n]||(r[n]=o)}("undefined"==typeof window?this:window)},744:(t,e,n)=>{var r=n(539);function o(t,e,n,r){this.rateLimiter=t,this.api=e,this.logger=n,this.options=r,this.predicates=[],this.pendingItems=[],this.pendingRequests=[],this.retryQueue=[],this.retryHandle=null,this.waitCallback=null,this.waitIntervalID=null}o.prototype.configure=function(t){this.api&&this.api.configure(t);var e=this.options;return this.options=r.merge(e,t),this},o.prototype.addPredicate=function(t){return r.isFunction(t)&&this.predicates.push(t),this},o.prototype.addPendingItem=function(t){this.pendingItems.push(t)},o.prototype.removePendingItem=function(t){var e=this.pendingItems.indexOf(t);-1!==e&&this.pendingItems.splice(e,1)},o.prototype.addItem=function(t,e,n,o){e&&r.isFunction(e)||(e=function(){});var i=this._applyPredicates(t);if(i.stop)return this.removePendingItem(o),void e(i.err);if(this._maybeLog(t,n),this.removePendingItem(o),this.options.transmit){this.pendingRequests.push(t);try{this._makeApiRequest(t,function(n,r){this._dequeuePendingRequest(t),e(n,r)}.bind(this))}catch(n){this._dequeuePendingRequest(t),e(n)}}else e(new Error("Transmit disabled"))},o.prototype.wait=function(t){r.isFunction(t)&&(this.waitCallback=t,this._maybeCallWait()||(this.waitIntervalID&&(this.waitIntervalID=clearInterval(this.waitIntervalID)),this.waitIntervalID=setInterval(function(){this._maybeCallWait()}.bind(this),500)))},o.prototype._applyPredicates=function(t){for(var e=null,n=0,r=this.predicates.length;n<r;n++)if(!(e=this.predicates[n](t,this.options))||void 0!==e.err)return{stop:!0,err:e.err};return{stop:!1,err:null}},o.prototype._makeApiRequest=function(t,e){var n=this.rateLimiter.shouldSend(t);n.shouldSend?this.api.postItem(t,function(n,r){n?this._maybeRetry(n,t,e):e(n,r)}.bind(this)):n.error?e(n.error):this.api.postItem(n.payload,e)};var i=["ECONNRESET","ENOTFOUND","ESOCKETTIMEDOUT","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH","EPIPE","EAI_AGAIN"];o.prototype._maybeRetry=function(t,e,n){var o=!1;if(this.options.retryInterval){for(var s=0,a=i.length;s<a;s++)if(t.code===i[s]){o=!0;break}o&&r.isFiniteNumber(this.options.maxRetries)&&(e.retries=e.retries?e.retries+1:1,e.retries>this.options.maxRetries&&(o=!1))}o?this._retryApiRequest(e,n):n(t)},o.prototype._retryApiRequest=function(t,e){this.retryQueue.push({item:t,callback:e}),this.retryHandle||(this.retryHandle=setInterval(function(){for(;this.retryQueue.length;){var t=this.retryQueue.shift();this._makeApiRequest(t.item,t.callback)}}.bind(this),this.options.retryInterval))},o.prototype._dequeuePendingRequest=function(t){var e=this.pendingRequests.indexOf(t);-1!==e&&(this.pendingRequests.splice(e,1),this._maybeCallWait())},o.prototype._maybeLog=function(t,e){if(this.logger&&this.options.verbose){var n=e;if(n=(n=n||r.get(t,"body.trace.exception.message"))||r.get(t,"body.trace_chain.0.exception.message"))return void this.logger.error(n);(n=r.get(t,"body.message.body"))&&this.logger.log(n)}},o.prototype._maybeCallWait=function(){return!(!r.isFunction(this.waitCallback)||0!==this.pendingItems.length||0!==this.pendingRequests.length||(this.waitIntervalID&&(this.waitIntervalID=clearInterval(this.waitIntervalID)),this.waitCallback(),0))},t.exports=o},777:(t,e,n)=>{var r=n(539);function o(t,e){this.queue=t,this.options=e,this.transforms=[],this.diagnostic={}}o.prototype.configure=function(t){this.queue&&this.queue.configure(t);var e=this.options;return this.options=r.merge(e,t),this},o.prototype.addTransform=function(t){return r.isFunction(t)&&this.transforms.push(t),this},o.prototype.log=function(t,e){if(e&&r.isFunction(e)||(e=function(){}),!this.options.enabled)return e(new Error("Rollbar is not enabled"));this.queue.addPendingItem(t);var n=t.err;this._applyTransforms(t,function(r,o){if(r)return this.queue.removePendingItem(t),e(r,null);this.queue.addItem(o,e,n,t)}.bind(this))},o.prototype._applyTransforms=function(t,e){var n=-1,r=this.transforms.length,o=this.transforms,i=this.options,s=function(t,a){t?e(t,null):++n!==r?o[n](a,i,s):e(null,a)};s(null,t)},t.exports=o},790:t=>{function e(t){return(t.getAttribute("type")||"").toLowerCase()}function n(t){if(!t||!t.tagName)return"";var e=[t.tagName];t.id&&e.push("#"+t.id),t.classes&&e.push("."+t.classes.join("."));for(var n=0;n<t.attributes.length;n++)e.push("["+t.attributes[n].key+'="'+t.attributes[n].value+'"]');return e.join("")}function r(t){if(!t||!t.tagName)return null;var e,n,r,o,i={};i.tagName=t.tagName.toLowerCase(),t.id&&(i.id=t.id),(e=t.className)&&"string"==typeof e&&(i.classes=e.split(/\s+/));var s=["type","name","title","alt"];for(i.attributes=[],o=0;o<s.length;o++)n=s[o],(r=t.getAttribute(n))&&i.attributes.push({key:n,value:r});return i}t.exports={describeElement:r,descriptionToString:n,elementArrayToString:function(t){for(var e,r,o=[],i=0,s=t.length-1;s>=0;s--){if(e=n(t[s]),r=i+3*o.length+e.length,s<t.length-1&&r>=83){o.unshift("...");break}o.unshift(e),i+=e.length}return o.join(" > ")},treeToArray:function(t){for(var e,n=[],o=0;t&&o<5&&"html"!==(e=r(t)).tagName;o++)n.unshift(e),t=t.parentNode;return n},getElementFromEvent:function(t,e){return t.target?t.target:e&&e.elementFromPoint?e.elementFromPoint(t.clientX,t.clientY):void 0},isDescribedElement:function(t,n,r){if(t.tagName.toLowerCase()!==n.toLowerCase())return!1;if(!r)return!0;t=e(t);for(var o=0;o<r.length;o++)if(r[o]===t)return!0;return!1},getElementType:e}},796:t=>{t.exports={captureUncaughtExceptions:function(t,e,n){if(t){var r;if("function"==typeof e._rollbarOldOnError)r=e._rollbarOldOnError;else if(t.onerror){for(r=t.onerror;r._rollbarOldOnError;)r=r._rollbarOldOnError;e._rollbarOldOnError=r}e.handleAnonymousErrors();var o=function(){var n=Array.prototype.slice.call(arguments,0);!function(t,e,n,r){t._rollbarWrappedError&&(r[4]||(r[4]=t._rollbarWrappedError),r[5]||(r[5]=t._rollbarWrappedError._rollbarContext),t._rollbarWrappedError=null);var o=e.handleUncaughtException.apply(e,r);n&&n.apply(t,r),"anonymous"===o&&(e.anonymousErrorsPending+=1)}(t,e,r,n)};n&&(o._rollbarOldOnError=r),t.onerror=o}},captureUnhandledRejections:function(t,e,n){if(t){"function"==typeof t._rollbarURH&&t._rollbarURH.belongsToShim&&t.removeEventListener("unhandledrejection",t._rollbarURH);var r=function(t){var n,r,o;try{n=t.reason}catch(t){n=void 0}try{r=t.promise}catch(t){r="[unhandledrejection] error getting `promise` from event"}try{o=t.detail,!n&&o&&(n=o.reason,r=o.promise)}catch(t){}n||(n="[unhandledrejection] error getting `reason` from event"),e&&e.handleUnhandledRejection&&e.handleUnhandledRejection(n,r)};r.belongsToShim=n,t._rollbarURH=r,t.addEventListener("unhandledrejection",r)}}}},888:(t,e,n)=>{var r=n(539),o=n(12);function i(t,e){return[t,r.stringify(t,e)]}function s(t,e){var n=t.length;return n>2*e?t.slice(0,e).concat(t.slice(n-e)):t}function a(t,e,n){n=void 0===n?30:n;var o,i=t.data.body;if(i.trace_chain)for(var a=i.trace_chain,c=0;c<a.length;c++)o=s(o=a[c].frames,n),a[c].frames=o;else i.trace&&(o=s(o=i.trace.frames,n),i.trace.frames=o);return[t,r.stringify(t,e)]}function c(t,e){return e&&e.length>t?e.slice(0,t-3).concat("..."):e}function u(t,e,n){return e=o(e,function e(n,i,s){switch(r.typeName(i)){case"string":return c(t,i);case"object":case"array":return o(i,e,s);default:return i}}),[e,r.stringify(e,n)]}function l(t){return t.exception&&(delete t.exception.description,t.exception.message=c(255,t.exception.message)),t.frames=s(t.frames,1),t}function h(t,e){var n=t.data.body;if(n.trace_chain)for(var o=n.trace_chain,i=0;i<o.length;i++)o[i]=l(o[i]);else n.trace&&(n.trace=l(n.trace));return[t,r.stringify(t,e)]}function p(t,e){return r.maxByteSize(t)>e}t.exports={truncate:function(t,e,n){n=void 0===n?524288:n;for(var r,o,s,c=[i,a,u.bind(null,1024),u.bind(null,512),u.bind(null,256),h];r=c.shift();)if(t=(o=r(t,e))[0],(s=o[1]).error||!p(s.value,n))return s;return s},raw:i,truncateFrames:a,truncateStrings:u,maybeTruncateValue:c}},944:(t,e,n)=>{var r=n(197),o=n(352),i=n(683),s=n(435),a=n(424),c=n(356),u=n(888);r.setComponents({telemeter:o,instrumenter:i,polyfillJSON:s,wrapGlobals:a,scrub:c,truncation:u}),t.exports=r},962:(t,e,n)=>{var r=n(539);function o(t,e){r.isFunction(t[e])&&(t[e]=t[e].toString())}t.exports={itemToPayload:function(t,e,n){var r=t.data;t._isUncaught&&(r._isUncaught=!0),t._originalArgs&&(r._originalArgs=t._originalArgs),n(null,r)},addPayloadOptions:function(t,e,n){var o=e.payload||{};o.body&&delete o.body,t.data=r.merge(t.data,o),n(null,t)},addTelemetryData:function(t,e,n){t.telemetryEvents&&r.set(t,"data.body.telemetry",t.telemetryEvents),n(null,t)},addMessageWithError:function(t,e,n){if(t.message){var o="data.body.trace_chain.0",i=r.get(t,o);if(i||(o="data.body.trace",i=r.get(t,o)),i){if(!i.exception||!i.exception.description)return r.set(t,o+".exception.description",t.message),void n(null,t);var s=r.get(t,o+".extra")||{},a=r.merge(s,{message:t.message});r.set(t,o+".extra",a)}n(null,t)}else n(null,t)},userTransform:function(t){return function(e,n,o){var i=r.merge(e),s=null;try{r.isFunction(n.transform)&&(s=n.transform(i.data,e))}catch(r){return n.transform=null,t.error("Error while calling custom transform() function. Removing custom transform().",r),void o(null,e)}r.isPromise(s)?s.then(function(t){t&&(i.data=t),o(null,i)},function(t){o(t,e)}):o(null,i)}},addConfigToPayload:function(t,e,n){if(!e.sendConfig)return n(null,t);var o=r.get(t,"data.custom")||{};o._rollbarConfig=e,t.data.custom=o,n(null,t)},addConfiguredOptions:function(t,e,n){var r=e._configuredOptions;o(r,"transform"),o(r,"checkIgnore"),o(r,"onSendCallback"),delete r.accessToken,t.data.notifier.configured_options=r,n(null,t)},addDiagnosticKeys:function(t,e,n){var o=r.merge(t.notifier.client.notifier.diagnostic,t.diagnostic);if(r.get(t,"err._isAnonymous")&&(o.is_anonymous=!0),t._isUncaught&&(o.is_uncaught=t._isUncaught),t.err)try{o.raw_error={message:t.err.message,name:t.err.name,constructor_name:t.err.constructor&&t.err.constructor.name,filename:t.err.fileName,line:t.err.lineNumber,column:t.err.columnNumber,stack:t.err.stack}}catch(t){o.raw_error={failed:String(t)}}t.data.notifier.diagnostic=r.merge(t.data.notifier.diagnostic,o),n(null,t)}}},974:t=>{function e(t){return"string"!=typeof t&&(t=String(t)),t.toLowerCase()}function n(t){this.map={},t instanceof n?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}n.prototype.append=function(t,n){t=e(t),n=function(t){return"string"!=typeof t&&(t=String(t)),t}(n);var r=this.map[t];this.map[t]=r?r+", "+n:n},n.prototype.get=function(t){return t=e(t),this.has(t)?this.map[t]:null},n.prototype.has=function(t){return this.map.hasOwnProperty(e(t))},n.prototype.forEach=function(t,e){for(var n in this.map)this.map.hasOwnProperty(n)&&t.call(e,this.map[n],n,this)},n.prototype.entries=function(){var t=[];return this.forEach(function(e,n){t.push([n,e])}),function(t){return{next:function(){var e=t.shift();return{done:void 0===e,value:e}}}}(t)},t.exports=function(t){return"undefined"==typeof Headers?new n(t):new Headers(t)}}},e={},function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r].call(i.exports,i,i.exports,n),i.exports}(183);var t,e})),ft.exports);class vt{static initialize(t){vt.getInstance().rollbar=gt.init({accessToken:"208cf50b805f409bb0b08d5c9f68ce61",captureUncaught:!0,captureUnhandledRejections:!0,payload:{environment:"production",component:t,client:{javascript:{code_version:void 0}}}})}static getInstance(){return vt.instance||(vt.instance=new vt),vt.instance}error(t,e){this.rollbar?.error(t,e)}info(t,e){this.rollbar?.info(t,e)}warning(t,e){this.rollbar?.warning(t,e)}critical(t,e){this.rollbar?.critical(t,e)}}class yt{constructor(){this.MEASUREMENT_ID="G-6XL8YD35QR",this.isInitialized=!1,this.sessionId=""}static getInstance(){return yt.instance||(yt.instance=new yt),yt.instance}generateSessionId(){return Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15)}initialize(t){if(this.isInitialized)return;yt.component=t,this.sessionId=this.generateSessionId();const e=document.createElement("script");e.async=!0,e.src=`https://www.googletagmanager.com/gtag/js?id=${this.MEASUREMENT_ID}`,document.head.appendChild(e),window.dataLayer=window.dataLayer||[];window.gtag=window.gtag||((...t)=>{window.dataLayer.push(t)}),window.gtag("js",/* @__PURE__ */new Date),window.gtag("config",this.MEASUREMENT_ID,{send_page_view:!0,groups:"mapvx"}),this.isInitialized=!0}resetSessionId(){this.sessionId=this.generateSessionId()}trackPageView(t){this.isInitialized&&window.gtag("event","page_view",{page_title:t,page_location:window.location.href,page_path:t,component:yt.component,session_id:this.sessionId,send_to:"mapvx"})}trackEvent(t,e){this.isInitialized&&window.gtag("event",t,{...e,component:yt.component,session_id:this.sessionId,send_to:"mapvx"})}trackUserTiming(t,e,n){this.isInitialized&&window.gtag("event","timing_complete",{name:e,value:n,event_category:t,component:yt.component,session_id:this.sessionId,send_to:"mapvx"})}trackException(t,e=!1){this.isInitialized&&window.gtag("event","exception",{description:t,fatal:e,component:yt.component,session_id:this.sessionId,send_to:"mapvx"})}}const _t=()=>import("./components-CNuu24gs.js").then(t=>t.c),bt=()=>import("./compact-floor-selector-BQ0lsGyg.js"),wt=async()=>{try{await import("./styles-BByP6ECU.js")}catch{}};var Et,xt,kt,It,St,At=Object.defineProperty,$t=Object.getOwnPropertyDescriptor,Ot=t=>{throw TypeError(t)},Tt=(t,e,n,r)=>{for(var o,i=r>1?void 0:r?$t(e,n):e,s=t.length-1;s>=0;s--)(o=t[s])&&(i=(r?o(e,n,i):o(i))||i);return r&&i&&At(e,n,i),i},Ct=(t,e,n)=>e.has(t)||Ot("Cannot "+n),Pt=(t,e,n)=>(Ct(t,e,"read from private field"),n?n.call(t):e.get(t)),Rt=(t,e,n)=>e.has(t)?Ot("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),Lt=(t,e,n,r)=>(Ct(t,e,"write to private field"),e.set(t,n),n);let Nt=class extends at{constructor(){super(...arguments),this.styles=[a`
|
|
34
34
|
:host {
|
|
35
35
|
display: block;
|
|
36
36
|
height: 100%;
|
|
@@ -51,7 +51,7 @@ const ut=t=>(e,n)=>{void 0!==n?n.addInitializer(()=>{customElements.define(t,e)}
|
|
|
51
51
|
background: #fff;
|
|
52
52
|
box-shadow: 0 0 24px #00000026;
|
|
53
53
|
}
|
|
54
|
-
`],Rt(this,Et,""),Rt(this,xt,""),Rt(this,kt,"es"),Rt(this,It,""),Rt(this,St,""),this._swPath="/mvx-tiles-sw.js",this._swScope="/",this.sdkController=new t(this),this.analyticsController=yt.getInstance()}get apiKey(){return Pt(this,Et)}set apiKey(t){Lt(this,Et,t)}get parentPlaceId(){return Pt(this,xt)}set parentPlaceId(t){Lt(this,xt,t)}get locale(){return Pt(this,kt)}set locale(t){Lt(this,kt,t)}get originId(){return Pt(this,It)}set originId(t){Lt(this,It,t)}get destinationId(){return Pt(this,St)}set destinationId(t){Lt(this,St,t)}async _loadComponents(){await Promise.all([_t(),import("./components-
|
|
54
|
+
`],Rt(this,Et,""),Rt(this,xt,""),Rt(this,kt,"es"),Rt(this,It,""),Rt(this,St,""),this._swPath="/mvx-tiles-sw.js",this._swScope="/",this.sdkController=new t(this),this.analyticsController=yt.getInstance()}get apiKey(){return Pt(this,Et)}set apiKey(t){Lt(this,Et,t)}get parentPlaceId(){return Pt(this,xt)}set parentPlaceId(t){Lt(this,xt,t)}get locale(){return Pt(this,kt)}set locale(t){Lt(this,kt,t)}get originId(){return Pt(this,It)}set originId(t){Lt(this,It,t)}get destinationId(){return Pt(this,St)}set destinationId(t){Lt(this,St,t)}async _loadComponents(){await Promise.all([_t(),import("./components-CNuu24gs.js").then(t=>t.f),import("./components-CNuu24gs.js").then(t=>t.q),import("./components-CNuu24gs.js").then(t=>t.r)])}_preloadApiRequests(){const t=this.apiKey||this.getAttribute("apiKey")||"",e=this.parentPlaceId||this.getAttribute("parentPlaceId")||"",n=this.locale||this.getAttribute("locale")||"es";if(!t||!e)return;const r=t=>{const e=`mvx-preload:${t}`;if(document.head.querySelector(`link[data-mvx-preload="${e}"]`))return;const n=document.createElement("link");n.rel="preload",n.as="fetch",n.href=t,n.crossOrigin="anonymous",n.setAttribute("fetchpriority","high"),n.setAttribute("data-mvx-preload",e),document.head.appendChild(n)},o="https://api.mapvx.com/sdk/",i=encodeURIComponent;r(`${o}v3/place?token=${i(t)}&place_id=${i(e)}&lang=${i(n)}`),r(`https://api.mapvx.com/api/configuration?token=${i(t)}&lang=${i(n)}&place_id=${i(e)}`),this.originId&&r(`${o}v3/place?token=${i(t)}&place_id=${i(this.originId)}&lang=${i(n)}`),this.destinationId&&r(`${o}v3/place?token=${i(t)}&place_id=${i(this.destinationId)}&lang=${i(n)}`)}async firstUpdated(){"serviceWorker"in navigator&&navigator.serviceWorker.register(this._swPath,{scope:this._swScope}).catch(()=>{});const t=this._loadComponents(),e=wt();await Promise.all([t,e]),this.analyticsController.initialize("route-view-totems"),vt.initialize("route-view-totems"),this.sendEvent("initial_render")}sendEvent(t,e={}){const n=this.sdkController.getDestination(),r={...e,apiKey:this.apiKey,locale:this.locale,parentPlaceId:this.parentPlaceId,originId:this.originId,host:window.location.host,pathname:window.location.pathname,search:window.location.search,hash:window.location.hash,referrer:document.referrer,userAgent:navigator.userAgent,screenWidth:window.innerWidth,destinationName:n?.title,destinationId:n?.lazarilloId,destinationClientId:n?.clientId??this.destinationId,parentId:this.parentPlaceId??n?.parentId,institutionId:n?.parentInstitutionId};this.analyticsController.trackEvent(t,r)}_mapReadyHandler(){this.sendEvent("map_ready"),this.sdkController.setMapReady(!0)}_cameraInitializedHandler(){this.sdkController.setCameraInitialized(!0),this.sendEvent("view_loaded")}updated(t){this.apiKey&&this.locale&&this.parentPlaceId&&(t.has("apiKey")||t.has("locale")||t.has("parentPlaceId"))&&(this._preloadApiRequests(),this.sdkController.prewarm(this.apiKey,this.locale,this.parentPlaceId,{originId:this.originId,destinationId:this.destinationId}),this.sdkController.initialize(this.apiKey,this.locale,this.parentPlaceId)),this.originId&&t.has("destinationId")&&this.sdkController.setOriginAndDestination(this.originId,this.destinationId).finally(()=>{this.sendEvent("set_origin_and_destination",{origin_id:this.originId,destination_id:this.destinationId})})}render(){return z`
|
|
55
55
|
<div class="route-container" style="height: 100%; width: 100%;">
|
|
56
56
|
<custom-map
|
|
57
57
|
class="map-container"
|
|
@@ -68,4 +68,4 @@ const ut=t=>(e,n)=>{void 0!==n?n.addInitializer(()=>{customElements.define(t,e)}
|
|
|
68
68
|
<route-options></route-options>
|
|
69
69
|
</div>
|
|
70
70
|
`}_accessibilityChangeHandler(t){this.sdkController.setAccessibleRoute(t.detail),this.sendEvent("accessibility_change",{accessible:t.detail})}_repeatRouteHandler(){this.sdkController.repeatRoute(),this.sendEvent("route_repeat")}_generateRouteHandler(t){this.sdkController.generateRoute(),this.sendEvent("route_generate",t.detail)}_backHandler(){this.destinationId="",this.originId="",this.sdkController.resetData()}_updateFloorHandler(t){const e=t.detail;this.sdkController.setFloor(e),this.sendEvent("floor_change",{floor_id:e})}_startRouteAnimationHandler(){this.sdkController.startRouteAnimation(),this.sendEvent("route_animation_start")}_routeAnimationFinishedHandler(){this.sdkController.routeAnimationFinished(),this.sendEvent("route_animation_finish")}connectedCallback(){super.connectedCallback(),this.addEventListener("accessibilityChange",this._accessibilityChangeHandler),this.addEventListener("repeatRoute",this._repeatRouteHandler),this.addEventListener("generateRoute",this._generateRouteHandler),this.addEventListener("back",this._backHandler),this.addEventListener("startRouteAnimation",this._startRouteAnimationHandler),this.addEventListener("routeAnimationFinished",this._routeAnimationFinishedHandler)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("accessibilityChange",this._accessibilityChangeHandler),this.removeEventListener("repeatRoute",this._repeatRouteHandler),this.removeEventListener("generateRoute",this._generateRouteHandler),this.removeEventListener("back",this._backHandler),this.removeEventListener("startRouteAnimation",this._startRouteAnimationHandler),this.removeEventListener("routeAnimationFinished",this._routeAnimationFinishedHandler)}};Et=/* @__PURE__ */new WeakMap,xt=/* @__PURE__ */new WeakMap,kt=/* @__PURE__ */new WeakMap,It=/* @__PURE__ */new WeakMap,St=/* @__PURE__ */new WeakMap,Tt([pt({type:String})],Nt.prototype,"apiKey",1),Tt([pt({type:String})],Nt.prototype,"parentPlaceId",1),Tt([pt({type:String})],Nt.prototype,"locale",1),Tt([pt({type:String})],Nt.prototype,"originId",1),Tt([pt({type:String,reflect:!0})],Nt.prototype,"destinationId",1),Nt=Tt([ut("route-view-totems")],Nt);export{yt as A,vt as R,J as T,at as a,bt as b,Nt as c,a as i,_t as l,pt as n,wt as p,s as r,ut as t,z as x};
|
|
71
|
-
//# sourceMappingURL=route-view-totems-
|
|
71
|
+
//# sourceMappingURL=route-view-totems-B-1OEdkb.js.map
|