From 73a6caaae1a0ce873700eef2d04814b5bce246a2 Mon Sep 17 00:00:00 2001 From: Doug Hill Date: Thu, 11 Apr 2024 12:12:44 -0500 Subject: [PATCH] Updates --- asset-manifest.json | 6 +++--- index.html | 2 +- service-worker.js | 2 +- static/js/main.19800897.js | 3 +++ ...774d5496.js.LICENSE.txt => main.19800897.js.LICENSE.txt} | 3 +++ static/js/main.19800897.js.map | 1 + static/js/main.774d5496.js | 3 --- static/js/main.774d5496.js.map | 1 - 8 files changed, 12 insertions(+), 9 deletions(-) create mode 100644 static/js/main.19800897.js rename static/js/{main.774d5496.js.LICENSE.txt => main.19800897.js.LICENSE.txt} (90%) create mode 100644 static/js/main.19800897.js.map delete mode 100644 static/js/main.774d5496.js delete mode 100644 static/js/main.774d5496.js.map diff --git a/asset-manifest.json b/asset-manifest.json index 1c322f0..17033d3 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,17 +1,17 @@ { "files": { "main.css": "/meet/static/css/main.dca27f26.css", - "main.js": "/meet/static/js/main.774d5496.js", + "main.js": "/meet/static/js/main.19800897.js", "static/js/453.4a9980c6.chunk.js": "/meet/static/js/453.4a9980c6.chunk.js", "static/media/city_bkgd2.webp": "/meet/static/media/city_bkgd2.54e8b04e8117cfcddead.webp", "service-worker.js": "/meet/service-worker.js", "index.html": "/meet/index.html", "main.dca27f26.css.map": "/meet/static/css/main.dca27f26.css.map", - "main.774d5496.js.map": "/meet/static/js/main.774d5496.js.map", + "main.19800897.js.map": "/meet/static/js/main.19800897.js.map", "453.4a9980c6.chunk.js.map": "/meet/static/js/453.4a9980c6.chunk.js.map" }, "entrypoints": [ "static/css/main.dca27f26.css", - "static/js/main.774d5496.js" + "static/js/main.19800897.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index f29f8ea..030e11b 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Meet App
\ No newline at end of file +Meet App
\ No newline at end of file diff --git a/service-worker.js b/service-worker.js index c706225..4e09da4 100644 --- a/service-worker.js +++ b/service-worker.js @@ -1,2 +1,2 @@ -(()=>{"use strict";var e={295:()=>{try{self["workbox:core:6.5.4"]&&_()}catch(e){}},229:()=>{try{self["workbox:expiration:6.5.4"]&&_()}catch(e){}},740:()=>{try{self["workbox:precaching:6.5.4"]&&_()}catch(e){}},130:()=>{try{self["workbox:routing:6.5.4"]&&_()}catch(e){}},205:()=>{try{self["workbox:strategies:6.5.4"]&&_()}catch(e){}}},t={};function s(n){var a=t[n];if(void 0!==a)return a.exports;var r=t[n]={exports:{}};return e[n](r,r.exports,s),r.exports}(()=>{s(295);const e=function(e){let t=e;for(var s=arguments.length,n=new Array(s>1?s-1:0),a=1;a0&&(t+=" :: ".concat(JSON.stringify(n))),t};class t extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}const n=new Set;const a={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!==typeof registration?registration.scope:""},r=e=>[a.prefix,e,a.suffix].filter((e=>e&&e.length>0)).join("-"),i=e=>e||r(a.precache),o=e=>e||r(a.runtime);function c(e,t){const s=new URL(e);for(const n of t)s.searchParams.delete(n);return s.href}let h;function l(e){e.then((()=>{}))}class u{constructor(){this.promise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}}const d=e=>new URL(String(e),location.href).href.replace(new RegExp("^".concat(location.origin)),"");function f(e){return new Promise((t=>setTimeout(t,e)))}function p(e,t){const s=t();return e.waitUntil(s),s}async function g(e,s){let n=null;if(e.url){n=new URL(e.url).origin}if(n!==self.location.origin)throw new t("cross-origin-copy-response",{origin:n});const a=e.clone(),r={headers:new Headers(a.headers),status:a.status,statusText:a.statusText},i=s?s(r):r,o=function(){if(void 0===h){const t=new Response("");if("body"in t)try{new Response(t.body),h=!0}catch(e){h=!1}h=!1}return h}()?a.body:await a.blob();return new Response(o,i)}const w=(e,t)=>t.some((t=>e instanceof t));let m,y;const _=new WeakMap,v=new WeakMap,b=new WeakMap,R=new WeakMap,x=new WeakMap;let C={get(e,t,s){if(e instanceof IDBTransaction){if("done"===t)return v.get(e);if("objectStoreNames"===t)return e.objectStoreNames||b.get(e);if("store"===t)return s.objectStoreNames[1]?void 0:s.objectStore(s.objectStoreNames[0])}return q(e[t])},set:(e,t,s)=>(e[t]=s,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function L(e){return e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(y||(y=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(){for(var t=arguments.length,s=new Array(t),n=0;n1?s-1:0),a=1;a{const n=()=>{e.removeEventListener("complete",a),e.removeEventListener("error",r),e.removeEventListener("abort",r)},a=()=>{t(),n()},r=()=>{s(e.error||new DOMException("AbortError","AbortError")),n()};e.addEventListener("complete",a),e.addEventListener("error",r),e.addEventListener("abort",r)}));v.set(e,t)}(e),w(e,m||(m=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction]))?new Proxy(e,C):e)}function q(e){if(e instanceof IDBRequest)return function(e){const t=new Promise(((t,s)=>{const n=()=>{e.removeEventListener("success",a),e.removeEventListener("error",r)},a=()=>{t(q(e.result)),n()},r=()=>{s(e.error),n()};e.addEventListener("success",a),e.addEventListener("error",r)}));return t.then((t=>{t instanceof IDBCursor&&_.set(t,e)})).catch((()=>{})),x.set(t,e),t}(e);if(R.has(e))return R.get(e);const t=E(e);return t!==e&&(R.set(e,t),x.set(t,e)),t}const D=e=>x.get(e);const U=["get","getKey","getAll","getAllKeys","count"],T=["put","add","delete","clear"],k=new Map;function N(e,t){if(!(e instanceof IDBDatabase)||t in e||"string"!==typeof t)return;if(k.get(t))return k.get(t);const s=t.replace(/FromIndex$/,""),n=t!==s,a=T.includes(s);if(!(s in(n?IDBIndex:IDBObjectStore).prototype)||!a&&!U.includes(s))return;const r=async function(e){const t=this.transaction(e,a?"readwrite":"readonly");let r=t.store;for(var i=arguments.length,o=new Array(i>1?i-1:0),c=1;c({...e,get:(t,s,n)=>N(t,s)||e.get(t,s,n),has:(t,s)=>!!N(t,s)||e.has(t,s)}))(C);s(229);const I="cache-entries",K=e=>{const t=new URL(e,location.href);return t.hash="",t.href};class M{constructor(e){this._db=null,this._cacheName=e}_upgradeDb(e){const t=e.createObjectStore(I,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}_upgradeDbAndDeleteOldDbs(e){this._upgradeDb(e),this._cacheName&&function(e){let{blocked:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=indexedDB.deleteDatabase(e);t&&s.addEventListener("blocked",(e=>t(e.oldVersion,e))),q(s).then((()=>{}))}(this._cacheName)}async setTimestamp(e,t){const s={url:e=K(e),timestamp:t,cacheName:this._cacheName,id:this._getId(e)},n=(await this.getDb()).transaction(I,"readwrite",{durability:"relaxed"});await n.store.put(s),await n.done}async getTimestamp(e){const t=await this.getDb(),s=await t.get(I,this._getId(e));return null===s||void 0===s?void 0:s.timestamp}async expireEntries(e,t){const s=await this.getDb();let n=await s.transaction(I).store.index("timestamp").openCursor(null,"prev");const a=[];let r=0;for(;n;){const s=n.value;s.cacheName===this._cacheName&&(e&&s.timestamp=t?a.push(n.value):r++),n=await n.continue()}const i=[];for(const o of a)await s.delete(I,o.id),i.push(o.url);return i}_getId(e){return this._cacheName+"|"+K(e)}async getDb(){return this._db||(this._db=await function(e,t){let{blocked:s,upgrade:n,blocking:a,terminated:r}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=indexedDB.open(e,t),o=q(i);return n&&i.addEventListener("upgradeneeded",(e=>{n(q(i.result),e.oldVersion,e.newVersion,q(i.transaction),e)})),s&&i.addEventListener("blocked",(e=>s(e.oldVersion,e.newVersion,e))),o.then((e=>{r&&e.addEventListener("close",(()=>r())),a&&e.addEventListener("versionchange",(e=>a(e.oldVersion,e.newVersion,e)))})).catch((()=>{})),o}("workbox-expiration",1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}}class A{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._isRunning=!1,this._rerunRequested=!1,this._maxEntries=t.maxEntries,this._maxAgeSeconds=t.maxAgeSeconds,this._matchOptions=t.matchOptions,this._cacheName=e,this._timestampModel=new M(e)}async expireEntries(){if(this._isRunning)return void(this._rerunRequested=!0);this._isRunning=!0;const e=this._maxAgeSeconds?Date.now()-1e3*this._maxAgeSeconds:0,t=await this._timestampModel.expireEntries(e,this._maxEntries),s=await self.caches.open(this._cacheName);for(const n of t)await s.delete(n,this._matchOptions);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,l(this.expireEntries()))}async updateTimestamp(e){await this._timestampModel.setTimestamp(e,Date.now())}async isURLExpired(e){if(this._maxAgeSeconds){const t=await this._timestampModel.getTimestamp(e),s=Date.now()-1e3*this._maxAgeSeconds;return void 0===t||t{let{request:t,state:s}=e;s&&(s.originalRequest=t)},this.cachedResponseWillBeUsed=async e=>{let{event:t,state:s,cachedResponse:n}=e;if("install"===t.type&&s&&s.originalRequest&&s.originalRequest instanceof Request){const e=s.originalRequest.url;n?this.notUpdatedURLs.push(e):this.updatedURLs.push(e)}return n}}}class O{constructor(e){let{precacheController:t}=e;this.cacheKeyWillBeUsed=async e=>{let{request:t,params:s}=e;const n=(null===s||void 0===s?void 0:s.cacheKey)||this._precacheController.getCacheKeyForURL(t.url);return n?new Request(n,{headers:t.headers}):t},this._precacheController=t}}s(205);function W(e){return"string"===typeof e?new Request(e):e}class B{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new u,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const s of this._plugins)this._pluginStateMap.set(s,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:s}=this;let n=W(e);if("navigate"===n.mode&&s instanceof FetchEvent&&s.preloadResponse){const e=await s.preloadResponse;if(e)return e}const a=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const e of this.iterateCallbacks("requestWillFetch"))n=await e({request:n.clone(),event:s})}catch(i){if(i instanceof Error)throw new t("plugin-error-request-will-fetch",{thrownErrorMessage:i.message})}const r=n.clone();try{let e;e=await fetch(n,"navigate"===n.mode?void 0:this._strategy.fetchOptions);for(const t of this.iterateCallbacks("fetchDidSucceed"))e=await t({event:s,request:r,response:e});return e}catch(o){throw a&&await this.runCallbacks("fetchDidFail",{error:o,event:s,originalRequest:a.clone(),request:r.clone()}),o}}async fetchAndCachePut(e){const t=await this.fetch(e),s=t.clone();return this.waitUntil(this.cachePut(e,s)),t}async cacheMatch(e){const t=W(e);let s;const{cacheName:n,matchOptions:a}=this._strategy,r=await this.getCacheKey(t,"read"),i=Object.assign(Object.assign({},a),{cacheName:n});s=await caches.match(r,i);for(const o of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await o({cacheName:n,matchOptions:a,cachedResponse:s,request:r,event:this.event})||void 0;return s}async cachePut(e,s){const a=W(e);await f(0);const r=await this.getCacheKey(a,"write");if(!s)throw new t("cache-put-with-no-response",{url:d(r.url)});const i=await this._ensureResponseSafeToCache(s);if(!i)return!1;const{cacheName:o,matchOptions:h}=this._strategy,l=await self.caches.open(o),u=this.hasCallback("cacheDidUpdate"),p=u?await async function(e,t,s,n){const a=c(t.url,s);if(t.url===a)return e.match(t,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),i=await e.keys(t,r);for(const o of i)if(a===c(o.url,s))return e.match(o,n)}(l,r.clone(),["__WB_REVISION__"],h):null;try{await l.put(r,u?i.clone():i)}catch(g){if(g instanceof Error)throw"QuotaExceededError"===g.name&&await async function(){for(const e of n)await e()}(),g}for(const t of this.iterateCallbacks("cacheDidUpdate"))await t({cacheName:o,oldResponse:p,newResponse:i.clone(),request:r,event:this.event});return!0}async getCacheKey(e,t){const s="".concat(e.url," | ").concat(t);if(!this._cacheKeys[s]){let n=e;for(const e of this.iterateCallbacks("cacheKeyWillBeUsed"))n=W(await e({mode:t,request:n,event:this.event,params:this.params}));this._cacheKeys[s]=n}return this._cacheKeys[s]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const s of this.iterateCallbacks(e))await s(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if("function"===typeof t[e]){const s=this._pluginStateMap.get(t),n=n=>{const a=Object.assign(Object.assign({},n),{state:s});return t[e](a)};yield n}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){let e;for(;e=this._extendLifetimePromises.shift();)await e}destroy(){this._handlerDeferred.resolve(null)}async _ensureResponseSafeToCache(e){let t=e,s=!1;for(const n of this.iterateCallbacks("cacheWillUpdate"))if(t=await n({request:this.request,response:t,event:this.event})||void 0,s=!0,!t)break;return s||t&&200!==t.status&&(t=void 0),t}}class j{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.cacheName=o(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const t=e.event,s="string"===typeof e.request?new Request(e.request):e.request,n="params"in e?e.params:void 0,a=new B(this,{event:t,request:s,params:n}),r=this._getResponse(a,s,t);return[r,this._awaitComplete(r,a,s,t)]}async _getResponse(e,s,n){let a;await e.runCallbacks("handlerWillStart",{event:n,request:s});try{if(a=await this._handle(s,e),!a||"error"===a.type)throw new t("no-response",{url:s.url})}catch(r){if(r instanceof Error)for(const t of e.iterateCallbacks("handlerDidError"))if(a=await t({error:r,event:n,request:s}),a)break;if(!a)throw r}for(const t of e.iterateCallbacks("handlerWillRespond"))a=await t({event:n,request:s,response:a});return a}async _awaitComplete(e,t,s,n){let a,r;try{a=await e}catch(r){}try{await t.runCallbacks("handlerDidRespond",{event:n,request:s,response:a}),await t.doneWaiting()}catch(i){i instanceof Error&&(r=i)}if(await t.runCallbacks("handlerDidComplete",{event:n,request:s,response:a,error:r}),t.destroy(),r)throw r}}class F extends j{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.cacheName=i(e.cacheName),super(e),this._fallbackToNetwork=!1!==e.fallbackToNetwork,this.plugins.push(F.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){const s=await t.cacheMatch(e);return s||(t.event&&"install"===t.event.type?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,s){let n;const a=s.params||{};if(!this._fallbackToNetwork)throw new t("missing-precache-entry",{cacheName:this.cacheName,url:e.url});{0;const t=a.integrity,r=e.integrity,i=!r||r===t;if(n=await s.fetch(new Request(e,{integrity:"no-cors"!==e.mode?r||t:void 0})),t&&i&&"no-cors"!==e.mode){this._useDefaultCacheabilityPluginIfNeeded();await s.cachePut(e,n.clone());0}}return n}async _handleInstall(e,s){this._useDefaultCacheabilityPluginIfNeeded();const n=await s.fetch(e);if(!await s.cachePut(e,n.clone()))throw new t("bad-precaching-response",{url:e.url,status:n.status});return n}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(const[s,n]of this.plugins.entries())n!==F.copyRedirectedCacheableResponsesPlugin&&(n===F.defaultPrecacheCacheabilityPlugin&&(e=s),n.cacheWillUpdate&&t++);0===t?this.plugins.push(F.defaultPrecacheCacheabilityPlugin):t>1&&null!==e&&this.plugins.splice(e,1)}}F.defaultPrecacheCacheabilityPlugin={async cacheWillUpdate(e){let{response:t}=e;return!t||t.status>=400?null:t}},F.copyRedirectedCacheableResponsesPlugin={async cacheWillUpdate(e){let{response:t}=e;return t.redirected?await g(t):t}};class H{constructor(){let{cacheName:e,plugins:t=[],fallbackToNetwork:s=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new F({cacheName:i(e),plugins:[...t,new O({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this._strategy}precache(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}addToCacheList(e){const s=[];for(const n of e){"string"===typeof n?s.push(n):n&&void 0===n.revision&&s.push(n.url);const{cacheKey:e,url:a}=P(n),r="string"!==typeof n&&n.revision?"reload":"default";if(this._urlsToCacheKeys.has(a)&&this._urlsToCacheKeys.get(a)!==e)throw new t("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(a),secondEntry:e});if("string"!==typeof n&&n.integrity){if(this._cacheKeysToIntegrities.has(e)&&this._cacheKeysToIntegrities.get(e)!==n.integrity)throw new t("add-to-cache-list-conflicting-integrities",{url:a});this._cacheKeysToIntegrities.set(e,n.integrity)}if(this._urlsToCacheKeys.set(a,e),this._urlsToCacheModes.set(a,r),s.length>0){const e="Workbox is precaching URLs without revision "+"info: ".concat(s.join(", "),"\nThis is generally NOT safe. ")+"Learn more at https://bit.ly/wb-precache";console.warn(e)}}}install(e){return p(e,(async()=>{const t=new S;this.strategy.plugins.push(t);for(const[a,r]of this._urlsToCacheKeys){const t=this._cacheKeysToIntegrities.get(r),s=this._urlsToCacheModes.get(a),n=new Request(a,{integrity:t,cache:s,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:r},request:n,event:e}))}const{updatedURLs:s,notUpdatedURLs:n}=t;return{updatedURLs:s,notUpdatedURLs:n}}))}activate(e){return p(e,(async()=>{const e=await self.caches.open(this.strategy.cacheName),t=await e.keys(),s=new Set(this._urlsToCacheKeys.values()),n=[];for(const a of t)s.has(a.url)||(await e.delete(a),n.push(a.url));return{deletedURLs:n}}))}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForCacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){const t=e instanceof Request?e.url:e,s=this.getCacheKeyForURL(t);if(s){return(await self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(e){const s=this.getCacheKeyForURL(e);if(!s)throw new t("non-precached-url",{url:e});return t=>(t.request=new Request(e),t.params=Object.assign({cacheKey:s},t.params),this.strategy.handle(t))}}let V;const G=()=>(V||(V=new H),V);s(130);const $=e=>e&&"object"===typeof e?e:{handle:e};class Q{constructor(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"GET";this.handler=$(t),this.match=e,this.method=s}setCatchHandler(e){this.catchHandler=$(e)}}class J extends Q{constructor(e,t,s){super((t=>{let{url:s}=t;const n=e.exec(s.href);if(n&&(s.origin===location.origin||0===n.index))return n.slice(1)}),t,s)}}class z{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",(e=>{const{request:t}=e,s=this.handleRequest({request:t,event:e});s&&e.respondWith(s)}))}addCacheListener(){self.addEventListener("message",(e=>{if(e.data&&"CACHE_URLS"===e.data.type){const{payload:t}=e.data;0;const s=Promise.all(t.urlsToCache.map((t=>{"string"===typeof t&&(t=[t]);const s=new Request(...t);return this.handleRequest({request:s,event:e})})));e.waitUntil(s),e.ports&&e.ports[0]&&s.then((()=>e.ports[0].postMessage(!0)))}}))}handleRequest(e){let{request:t,event:s}=e;const n=new URL(t.url,location.href);if(!n.protocol.startsWith("http"))return void 0;const a=n.origin===location.origin,{params:r,route:i}=this.findMatchingRoute({event:s,request:t,sameOrigin:a,url:n});let o=i&&i.handler;const c=t.method;if(!o&&this._defaultHandlerMap.has(c)&&(o=this._defaultHandlerMap.get(c)),!o)return void 0;let h;try{h=o.handle({url:n,request:t,event:s,params:r})}catch(u){h=Promise.reject(u)}const l=i&&i.catchHandler;return h instanceof Promise&&(this._catchHandler||l)&&(h=h.catch((async e=>{if(l){0;try{return await l.handle({url:n,request:t,event:s,params:r})}catch(a){a instanceof Error&&(e=a)}}if(this._catchHandler)return this._catchHandler.handle({url:n,request:t,event:s});throw e}))),h}findMatchingRoute(e){let{url:t,sameOrigin:s,request:n,event:a}=e;const r=this._routes.get(n.method)||[];for(const i of r){let e;const r=i.match({url:t,sameOrigin:s,request:n,event:a});if(r)return e=r,(Array.isArray(e)&&0===e.length||r.constructor===Object&&0===Object.keys(r).length||"boolean"===typeof r)&&(e=void 0),{route:i,params:e}}return{}}setDefaultHandler(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET";this._defaultHandlerMap.set(t,$(e))}setCatchHandler(e){this._catchHandler=$(e)}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new t("unregister-route-but-not-found-with-method",{method:e.method});const s=this._routes.get(e.method).indexOf(e);if(!(s>-1))throw new t("unregister-route-route-not-registered");this._routes.get(e.method).splice(s,1)}}let X;const Y=()=>(X||(X=new z,X.addFetchListener(),X.addCacheListener()),X);function Z(e,s,n){let a;if("string"===typeof e){const t=new URL(e,location.href);0;a=new Q((e=>{let{url:s}=e;return s.href===t.href}),s,n)}else if(e instanceof RegExp)a=new J(e,s,n);else if("function"===typeof e)a=new Q(e,s,n);else{if(!(e instanceof Q))throw new t("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});a=e}return Y().registerRoute(a),a}class ee extends Q{constructor(e,t){super((s=>{let{request:n}=s;const a=e.getURLsToCacheKeys();for(const r of function(e){let{ignoreURLParametersMatching:t=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:a}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){const r=new URL(e,location.href);r.hash="",yield r.href;const i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];for(const s of[...e.searchParams.keys()])t.some((e=>e.test(s)))&&e.searchParams.delete(s);return e}(r,t);if(yield i.href,s&&i.pathname.endsWith("/")){const e=new URL(i.href);e.pathname+=s,yield e.href}if(n){const e=new URL(i.href);e.pathname+=".html",yield e.href}if(a){const e=a({url:r});for(const t of e)yield t.href}}()}(n.url,t)){const t=a.get(r);if(t){return{cacheKey:t,integrity:e.getIntegrityForCacheKey(t)}}}}),e.strategy)}}const te={cacheWillUpdate:async e=>{let{response:t}=e;return 200===t.status||0===t.status?t:null}};var se;self.addEventListener("activate",(()=>self.clients.claim())),function(e){G().precache(e)}([{'revision':'2c9274b32960710524efc72ce6e7c3b2','url':'/meet/index.html'},{'revision':null,'url':'/meet/static/css/main.dca27f26.css'},{'revision':null,'url':'/meet/static/js/453.4a9980c6.chunk.js'},{'revision':null,'url':'/meet/static/js/main.774d5496.js'},{'revision':null,'url':'/meet/static/media/city_bkgd2.54e8b04e8117cfcddead.webp'}]),function(e){const t=G();Z(new ee(t,e))}(se);const ne=new RegExp("/[^/?]+\\.[^/]+$");var ae;Z((e=>{let{request:t,url:s}=e;return"navigate"===t.mode&&(!s.pathname.startsWith("/_")&&!s.pathname.match(ne))}),(ae="/meet/index.html",G().createHandlerBoundToURL(ae))),Z((e=>{let{url:t}=e;return t.origin===self.location.origin&&t.pathname.endsWith(".png")}),new class extends j{constructor(){super(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),this.plugins.some((e=>"cacheWillUpdate"in e))||this.plugins.unshift(te)}async _handle(e,s){const n=s.fetchAndCachePut(e).catch((()=>{}));s.waitUntil(n);let a,r=await s.cacheMatch(e);if(r)0;else{0;try{r=await n}catch(i){i instanceof Error&&(a=i)}}if(!r)throw new t("no-response",{url:e.url,error:a});return r}}({cacheName:"images",plugins:[new class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.cachedResponseWillBeUsed=async e=>{let{event:t,request:s,cacheName:n,cachedResponse:a}=e;if(!a)return null;const r=this._isResponseDateFresh(a),i=this._getCacheExpiration(n);l(i.expireEntries());const o=i.updateTimestamp(s.url);if(t)try{t.waitUntil(o)}catch(c){0}return r?a:null},this.cacheDidUpdate=async e=>{let{cacheName:t,request:s}=e;const n=this._getCacheExpiration(t);await n.updateTimestamp(s.url),await n.expireEntries()},this._config=e,this._maxAgeSeconds=e.maxAgeSeconds,this._cacheExpirations=new Map,e.purgeOnQuotaError&&function(e){n.add(e)}((()=>this.deleteCacheAndMetadata()))}_getCacheExpiration(e){if(e===o())throw new t("expire-custom-caches-only");let s=this._cacheExpirations.get(e);return s||(s=new A(e,this._config),this._cacheExpirations.set(e,s)),s}_isResponseDateFresh(e){if(!this._maxAgeSeconds)return!0;const t=this._getDateHeaderTimestamp(e);if(null===t)return!0;return t>=Date.now()-1e3*this._maxAgeSeconds}_getDateHeaderTimestamp(e){if(!e.headers.has("date"))return null;const t=e.headers.get("date"),s=new Date(t).getTime();return isNaN(s)?null:s}async deleteCacheAndMetadata(){for(const[e,t]of this._cacheExpirations)await self.caches.delete(e),await t.delete();this._cacheExpirations=new Map}}({maxEntries:50})]})),self.addEventListener("message",(e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()}))})()})(); +(()=>{"use strict";var e={295:()=>{try{self["workbox:core:6.5.4"]&&_()}catch(e){}},229:()=>{try{self["workbox:expiration:6.5.4"]&&_()}catch(e){}},740:()=>{try{self["workbox:precaching:6.5.4"]&&_()}catch(e){}},130:()=>{try{self["workbox:routing:6.5.4"]&&_()}catch(e){}},205:()=>{try{self["workbox:strategies:6.5.4"]&&_()}catch(e){}}},t={};function s(n){var a=t[n];if(void 0!==a)return a.exports;var r=t[n]={exports:{}};return e[n](r,r.exports,s),r.exports}(()=>{s(295);const e=function(e){let t=e;for(var s=arguments.length,n=new Array(s>1?s-1:0),a=1;a0&&(t+=" :: ".concat(JSON.stringify(n))),t};class t extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}const n=new Set;const a={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!==typeof registration?registration.scope:""},r=e=>[a.prefix,e,a.suffix].filter((e=>e&&e.length>0)).join("-"),i=e=>e||r(a.precache),o=e=>e||r(a.runtime);function c(e,t){const s=new URL(e);for(const n of t)s.searchParams.delete(n);return s.href}let h;function l(e){e.then((()=>{}))}class u{constructor(){this.promise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}}const d=e=>new URL(String(e),location.href).href.replace(new RegExp("^".concat(location.origin)),"");function f(e){return new Promise((t=>setTimeout(t,e)))}function p(e,t){const s=t();return e.waitUntil(s),s}async function g(e,s){let n=null;if(e.url){n=new URL(e.url).origin}if(n!==self.location.origin)throw new t("cross-origin-copy-response",{origin:n});const a=e.clone(),r={headers:new Headers(a.headers),status:a.status,statusText:a.statusText},i=s?s(r):r,o=function(){if(void 0===h){const t=new Response("");if("body"in t)try{new Response(t.body),h=!0}catch(e){h=!1}h=!1}return h}()?a.body:await a.blob();return new Response(o,i)}const w=(e,t)=>t.some((t=>e instanceof t));let m,y;const _=new WeakMap,v=new WeakMap,b=new WeakMap,R=new WeakMap,x=new WeakMap;let C={get(e,t,s){if(e instanceof IDBTransaction){if("done"===t)return v.get(e);if("objectStoreNames"===t)return e.objectStoreNames||b.get(e);if("store"===t)return s.objectStoreNames[1]?void 0:s.objectStore(s.objectStoreNames[0])}return q(e[t])},set:(e,t,s)=>(e[t]=s,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function L(e){return e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(y||(y=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(){for(var t=arguments.length,s=new Array(t),n=0;n1?s-1:0),a=1;a{const n=()=>{e.removeEventListener("complete",a),e.removeEventListener("error",r),e.removeEventListener("abort",r)},a=()=>{t(),n()},r=()=>{s(e.error||new DOMException("AbortError","AbortError")),n()};e.addEventListener("complete",a),e.addEventListener("error",r),e.addEventListener("abort",r)}));v.set(e,t)}(e),w(e,m||(m=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction]))?new Proxy(e,C):e)}function q(e){if(e instanceof IDBRequest)return function(e){const t=new Promise(((t,s)=>{const n=()=>{e.removeEventListener("success",a),e.removeEventListener("error",r)},a=()=>{t(q(e.result)),n()},r=()=>{s(e.error),n()};e.addEventListener("success",a),e.addEventListener("error",r)}));return t.then((t=>{t instanceof IDBCursor&&_.set(t,e)})).catch((()=>{})),x.set(t,e),t}(e);if(R.has(e))return R.get(e);const t=E(e);return t!==e&&(R.set(e,t),x.set(t,e)),t}const D=e=>x.get(e);const U=["get","getKey","getAll","getAllKeys","count"],T=["put","add","delete","clear"],k=new Map;function N(e,t){if(!(e instanceof IDBDatabase)||t in e||"string"!==typeof t)return;if(k.get(t))return k.get(t);const s=t.replace(/FromIndex$/,""),n=t!==s,a=T.includes(s);if(!(s in(n?IDBIndex:IDBObjectStore).prototype)||!a&&!U.includes(s))return;const r=async function(e){const t=this.transaction(e,a?"readwrite":"readonly");let r=t.store;for(var i=arguments.length,o=new Array(i>1?i-1:0),c=1;c({...e,get:(t,s,n)=>N(t,s)||e.get(t,s,n),has:(t,s)=>!!N(t,s)||e.has(t,s)}))(C);s(229);const I="cache-entries",K=e=>{const t=new URL(e,location.href);return t.hash="",t.href};class M{constructor(e){this._db=null,this._cacheName=e}_upgradeDb(e){const t=e.createObjectStore(I,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}_upgradeDbAndDeleteOldDbs(e){this._upgradeDb(e),this._cacheName&&function(e){let{blocked:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=indexedDB.deleteDatabase(e);t&&s.addEventListener("blocked",(e=>t(e.oldVersion,e))),q(s).then((()=>{}))}(this._cacheName)}async setTimestamp(e,t){const s={url:e=K(e),timestamp:t,cacheName:this._cacheName,id:this._getId(e)},n=(await this.getDb()).transaction(I,"readwrite",{durability:"relaxed"});await n.store.put(s),await n.done}async getTimestamp(e){const t=await this.getDb(),s=await t.get(I,this._getId(e));return null===s||void 0===s?void 0:s.timestamp}async expireEntries(e,t){const s=await this.getDb();let n=await s.transaction(I).store.index("timestamp").openCursor(null,"prev");const a=[];let r=0;for(;n;){const s=n.value;s.cacheName===this._cacheName&&(e&&s.timestamp=t?a.push(n.value):r++),n=await n.continue()}const i=[];for(const o of a)await s.delete(I,o.id),i.push(o.url);return i}_getId(e){return this._cacheName+"|"+K(e)}async getDb(){return this._db||(this._db=await function(e,t){let{blocked:s,upgrade:n,blocking:a,terminated:r}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=indexedDB.open(e,t),o=q(i);return n&&i.addEventListener("upgradeneeded",(e=>{n(q(i.result),e.oldVersion,e.newVersion,q(i.transaction),e)})),s&&i.addEventListener("blocked",(e=>s(e.oldVersion,e.newVersion,e))),o.then((e=>{r&&e.addEventListener("close",(()=>r())),a&&e.addEventListener("versionchange",(e=>a(e.oldVersion,e.newVersion,e)))})).catch((()=>{})),o}("workbox-expiration",1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}}class A{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._isRunning=!1,this._rerunRequested=!1,this._maxEntries=t.maxEntries,this._maxAgeSeconds=t.maxAgeSeconds,this._matchOptions=t.matchOptions,this._cacheName=e,this._timestampModel=new M(e)}async expireEntries(){if(this._isRunning)return void(this._rerunRequested=!0);this._isRunning=!0;const e=this._maxAgeSeconds?Date.now()-1e3*this._maxAgeSeconds:0,t=await this._timestampModel.expireEntries(e,this._maxEntries),s=await self.caches.open(this._cacheName);for(const n of t)await s.delete(n,this._matchOptions);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,l(this.expireEntries()))}async updateTimestamp(e){await this._timestampModel.setTimestamp(e,Date.now())}async isURLExpired(e){if(this._maxAgeSeconds){const t=await this._timestampModel.getTimestamp(e),s=Date.now()-1e3*this._maxAgeSeconds;return void 0===t||t{let{request:t,state:s}=e;s&&(s.originalRequest=t)},this.cachedResponseWillBeUsed=async e=>{let{event:t,state:s,cachedResponse:n}=e;if("install"===t.type&&s&&s.originalRequest&&s.originalRequest instanceof Request){const e=s.originalRequest.url;n?this.notUpdatedURLs.push(e):this.updatedURLs.push(e)}return n}}}class O{constructor(e){let{precacheController:t}=e;this.cacheKeyWillBeUsed=async e=>{let{request:t,params:s}=e;const n=(null===s||void 0===s?void 0:s.cacheKey)||this._precacheController.getCacheKeyForURL(t.url);return n?new Request(n,{headers:t.headers}):t},this._precacheController=t}}s(205);function W(e){return"string"===typeof e?new Request(e):e}class B{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new u,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const s of this._plugins)this._pluginStateMap.set(s,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:s}=this;let n=W(e);if("navigate"===n.mode&&s instanceof FetchEvent&&s.preloadResponse){const e=await s.preloadResponse;if(e)return e}const a=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const e of this.iterateCallbacks("requestWillFetch"))n=await e({request:n.clone(),event:s})}catch(i){if(i instanceof Error)throw new t("plugin-error-request-will-fetch",{thrownErrorMessage:i.message})}const r=n.clone();try{let e;e=await fetch(n,"navigate"===n.mode?void 0:this._strategy.fetchOptions);for(const t of this.iterateCallbacks("fetchDidSucceed"))e=await t({event:s,request:r,response:e});return e}catch(o){throw a&&await this.runCallbacks("fetchDidFail",{error:o,event:s,originalRequest:a.clone(),request:r.clone()}),o}}async fetchAndCachePut(e){const t=await this.fetch(e),s=t.clone();return this.waitUntil(this.cachePut(e,s)),t}async cacheMatch(e){const t=W(e);let s;const{cacheName:n,matchOptions:a}=this._strategy,r=await this.getCacheKey(t,"read"),i=Object.assign(Object.assign({},a),{cacheName:n});s=await caches.match(r,i);for(const o of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await o({cacheName:n,matchOptions:a,cachedResponse:s,request:r,event:this.event})||void 0;return s}async cachePut(e,s){const a=W(e);await f(0);const r=await this.getCacheKey(a,"write");if(!s)throw new t("cache-put-with-no-response",{url:d(r.url)});const i=await this._ensureResponseSafeToCache(s);if(!i)return!1;const{cacheName:o,matchOptions:h}=this._strategy,l=await self.caches.open(o),u=this.hasCallback("cacheDidUpdate"),p=u?await async function(e,t,s,n){const a=c(t.url,s);if(t.url===a)return e.match(t,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),i=await e.keys(t,r);for(const o of i)if(a===c(o.url,s))return e.match(o,n)}(l,r.clone(),["__WB_REVISION__"],h):null;try{await l.put(r,u?i.clone():i)}catch(g){if(g instanceof Error)throw"QuotaExceededError"===g.name&&await async function(){for(const e of n)await e()}(),g}for(const t of this.iterateCallbacks("cacheDidUpdate"))await t({cacheName:o,oldResponse:p,newResponse:i.clone(),request:r,event:this.event});return!0}async getCacheKey(e,t){const s="".concat(e.url," | ").concat(t);if(!this._cacheKeys[s]){let n=e;for(const e of this.iterateCallbacks("cacheKeyWillBeUsed"))n=W(await e({mode:t,request:n,event:this.event,params:this.params}));this._cacheKeys[s]=n}return this._cacheKeys[s]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const s of this.iterateCallbacks(e))await s(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if("function"===typeof t[e]){const s=this._pluginStateMap.get(t),n=n=>{const a=Object.assign(Object.assign({},n),{state:s});return t[e](a)};yield n}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){let e;for(;e=this._extendLifetimePromises.shift();)await e}destroy(){this._handlerDeferred.resolve(null)}async _ensureResponseSafeToCache(e){let t=e,s=!1;for(const n of this.iterateCallbacks("cacheWillUpdate"))if(t=await n({request:this.request,response:t,event:this.event})||void 0,s=!0,!t)break;return s||t&&200!==t.status&&(t=void 0),t}}class j{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.cacheName=o(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const t=e.event,s="string"===typeof e.request?new Request(e.request):e.request,n="params"in e?e.params:void 0,a=new B(this,{event:t,request:s,params:n}),r=this._getResponse(a,s,t);return[r,this._awaitComplete(r,a,s,t)]}async _getResponse(e,s,n){let a;await e.runCallbacks("handlerWillStart",{event:n,request:s});try{if(a=await this._handle(s,e),!a||"error"===a.type)throw new t("no-response",{url:s.url})}catch(r){if(r instanceof Error)for(const t of e.iterateCallbacks("handlerDidError"))if(a=await t({error:r,event:n,request:s}),a)break;if(!a)throw r}for(const t of e.iterateCallbacks("handlerWillRespond"))a=await t({event:n,request:s,response:a});return a}async _awaitComplete(e,t,s,n){let a,r;try{a=await e}catch(r){}try{await t.runCallbacks("handlerDidRespond",{event:n,request:s,response:a}),await t.doneWaiting()}catch(i){i instanceof Error&&(r=i)}if(await t.runCallbacks("handlerDidComplete",{event:n,request:s,response:a,error:r}),t.destroy(),r)throw r}}class F extends j{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.cacheName=i(e.cacheName),super(e),this._fallbackToNetwork=!1!==e.fallbackToNetwork,this.plugins.push(F.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){const s=await t.cacheMatch(e);return s||(t.event&&"install"===t.event.type?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,s){let n;const a=s.params||{};if(!this._fallbackToNetwork)throw new t("missing-precache-entry",{cacheName:this.cacheName,url:e.url});{0;const t=a.integrity,r=e.integrity,i=!r||r===t;if(n=await s.fetch(new Request(e,{integrity:"no-cors"!==e.mode?r||t:void 0})),t&&i&&"no-cors"!==e.mode){this._useDefaultCacheabilityPluginIfNeeded();await s.cachePut(e,n.clone());0}}return n}async _handleInstall(e,s){this._useDefaultCacheabilityPluginIfNeeded();const n=await s.fetch(e);if(!await s.cachePut(e,n.clone()))throw new t("bad-precaching-response",{url:e.url,status:n.status});return n}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(const[s,n]of this.plugins.entries())n!==F.copyRedirectedCacheableResponsesPlugin&&(n===F.defaultPrecacheCacheabilityPlugin&&(e=s),n.cacheWillUpdate&&t++);0===t?this.plugins.push(F.defaultPrecacheCacheabilityPlugin):t>1&&null!==e&&this.plugins.splice(e,1)}}F.defaultPrecacheCacheabilityPlugin={async cacheWillUpdate(e){let{response:t}=e;return!t||t.status>=400?null:t}},F.copyRedirectedCacheableResponsesPlugin={async cacheWillUpdate(e){let{response:t}=e;return t.redirected?await g(t):t}};class H{constructor(){let{cacheName:e,plugins:t=[],fallbackToNetwork:s=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new F({cacheName:i(e),plugins:[...t,new O({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this._strategy}precache(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}addToCacheList(e){const s=[];for(const n of e){"string"===typeof n?s.push(n):n&&void 0===n.revision&&s.push(n.url);const{cacheKey:e,url:a}=P(n),r="string"!==typeof n&&n.revision?"reload":"default";if(this._urlsToCacheKeys.has(a)&&this._urlsToCacheKeys.get(a)!==e)throw new t("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(a),secondEntry:e});if("string"!==typeof n&&n.integrity){if(this._cacheKeysToIntegrities.has(e)&&this._cacheKeysToIntegrities.get(e)!==n.integrity)throw new t("add-to-cache-list-conflicting-integrities",{url:a});this._cacheKeysToIntegrities.set(e,n.integrity)}if(this._urlsToCacheKeys.set(a,e),this._urlsToCacheModes.set(a,r),s.length>0){const e="Workbox is precaching URLs without revision "+"info: ".concat(s.join(", "),"\nThis is generally NOT safe. ")+"Learn more at https://bit.ly/wb-precache";console.warn(e)}}}install(e){return p(e,(async()=>{const t=new S;this.strategy.plugins.push(t);for(const[a,r]of this._urlsToCacheKeys){const t=this._cacheKeysToIntegrities.get(r),s=this._urlsToCacheModes.get(a),n=new Request(a,{integrity:t,cache:s,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:r},request:n,event:e}))}const{updatedURLs:s,notUpdatedURLs:n}=t;return{updatedURLs:s,notUpdatedURLs:n}}))}activate(e){return p(e,(async()=>{const e=await self.caches.open(this.strategy.cacheName),t=await e.keys(),s=new Set(this._urlsToCacheKeys.values()),n=[];for(const a of t)s.has(a.url)||(await e.delete(a),n.push(a.url));return{deletedURLs:n}}))}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForCacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){const t=e instanceof Request?e.url:e,s=this.getCacheKeyForURL(t);if(s){return(await self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(e){const s=this.getCacheKeyForURL(e);if(!s)throw new t("non-precached-url",{url:e});return t=>(t.request=new Request(e),t.params=Object.assign({cacheKey:s},t.params),this.strategy.handle(t))}}let V;const G=()=>(V||(V=new H),V);s(130);const $=e=>e&&"object"===typeof e?e:{handle:e};class Q{constructor(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"GET";this.handler=$(t),this.match=e,this.method=s}setCatchHandler(e){this.catchHandler=$(e)}}class J extends Q{constructor(e,t,s){super((t=>{let{url:s}=t;const n=e.exec(s.href);if(n&&(s.origin===location.origin||0===n.index))return n.slice(1)}),t,s)}}class z{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",(e=>{const{request:t}=e,s=this.handleRequest({request:t,event:e});s&&e.respondWith(s)}))}addCacheListener(){self.addEventListener("message",(e=>{if(e.data&&"CACHE_URLS"===e.data.type){const{payload:t}=e.data;0;const s=Promise.all(t.urlsToCache.map((t=>{"string"===typeof t&&(t=[t]);const s=new Request(...t);return this.handleRequest({request:s,event:e})})));e.waitUntil(s),e.ports&&e.ports[0]&&s.then((()=>e.ports[0].postMessage(!0)))}}))}handleRequest(e){let{request:t,event:s}=e;const n=new URL(t.url,location.href);if(!n.protocol.startsWith("http"))return void 0;const a=n.origin===location.origin,{params:r,route:i}=this.findMatchingRoute({event:s,request:t,sameOrigin:a,url:n});let o=i&&i.handler;const c=t.method;if(!o&&this._defaultHandlerMap.has(c)&&(o=this._defaultHandlerMap.get(c)),!o)return void 0;let h;try{h=o.handle({url:n,request:t,event:s,params:r})}catch(u){h=Promise.reject(u)}const l=i&&i.catchHandler;return h instanceof Promise&&(this._catchHandler||l)&&(h=h.catch((async e=>{if(l){0;try{return await l.handle({url:n,request:t,event:s,params:r})}catch(a){a instanceof Error&&(e=a)}}if(this._catchHandler)return this._catchHandler.handle({url:n,request:t,event:s});throw e}))),h}findMatchingRoute(e){let{url:t,sameOrigin:s,request:n,event:a}=e;const r=this._routes.get(n.method)||[];for(const i of r){let e;const r=i.match({url:t,sameOrigin:s,request:n,event:a});if(r)return e=r,(Array.isArray(e)&&0===e.length||r.constructor===Object&&0===Object.keys(r).length||"boolean"===typeof r)&&(e=void 0),{route:i,params:e}}return{}}setDefaultHandler(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET";this._defaultHandlerMap.set(t,$(e))}setCatchHandler(e){this._catchHandler=$(e)}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new t("unregister-route-but-not-found-with-method",{method:e.method});const s=this._routes.get(e.method).indexOf(e);if(!(s>-1))throw new t("unregister-route-route-not-registered");this._routes.get(e.method).splice(s,1)}}let X;const Y=()=>(X||(X=new z,X.addFetchListener(),X.addCacheListener()),X);function Z(e,s,n){let a;if("string"===typeof e){const t=new URL(e,location.href);0;a=new Q((e=>{let{url:s}=e;return s.href===t.href}),s,n)}else if(e instanceof RegExp)a=new J(e,s,n);else if("function"===typeof e)a=new Q(e,s,n);else{if(!(e instanceof Q))throw new t("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});a=e}return Y().registerRoute(a),a}class ee extends Q{constructor(e,t){super((s=>{let{request:n}=s;const a=e.getURLsToCacheKeys();for(const r of function(e){let{ignoreURLParametersMatching:t=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:a}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){const r=new URL(e,location.href);r.hash="",yield r.href;const i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];for(const s of[...e.searchParams.keys()])t.some((e=>e.test(s)))&&e.searchParams.delete(s);return e}(r,t);if(yield i.href,s&&i.pathname.endsWith("/")){const e=new URL(i.href);e.pathname+=s,yield e.href}if(n){const e=new URL(i.href);e.pathname+=".html",yield e.href}if(a){const e=a({url:r});for(const t of e)yield t.href}}()}(n.url,t)){const t=a.get(r);if(t){return{cacheKey:t,integrity:e.getIntegrityForCacheKey(t)}}}}),e.strategy)}}const te={cacheWillUpdate:async e=>{let{response:t}=e;return 200===t.status||0===t.status?t:null}};var se;self.addEventListener("activate",(()=>self.clients.claim())),function(e){G().precache(e)}([{'revision':'af7e44d85143f47d1aebed147ddbd047','url':'/meet/index.html'},{'revision':null,'url':'/meet/static/css/main.dca27f26.css'},{'revision':null,'url':'/meet/static/js/453.4a9980c6.chunk.js'},{'revision':null,'url':'/meet/static/js/main.19800897.js'},{'revision':null,'url':'/meet/static/media/city_bkgd2.54e8b04e8117cfcddead.webp'}]),function(e){const t=G();Z(new ee(t,e))}(se);const ne=new RegExp("/[^/?]+\\.[^/]+$");var ae;Z((e=>{let{request:t,url:s}=e;return"navigate"===t.mode&&(!s.pathname.startsWith("/_")&&!s.pathname.match(ne))}),(ae="/meet/index.html",G().createHandlerBoundToURL(ae))),Z((e=>{let{url:t}=e;return t.origin===self.location.origin&&t.pathname.endsWith(".png")}),new class extends j{constructor(){super(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),this.plugins.some((e=>"cacheWillUpdate"in e))||this.plugins.unshift(te)}async _handle(e,s){const n=s.fetchAndCachePut(e).catch((()=>{}));s.waitUntil(n);let a,r=await s.cacheMatch(e);if(r)0;else{0;try{r=await n}catch(i){i instanceof Error&&(a=i)}}if(!r)throw new t("no-response",{url:e.url,error:a});return r}}({cacheName:"images",plugins:[new class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.cachedResponseWillBeUsed=async e=>{let{event:t,request:s,cacheName:n,cachedResponse:a}=e;if(!a)return null;const r=this._isResponseDateFresh(a),i=this._getCacheExpiration(n);l(i.expireEntries());const o=i.updateTimestamp(s.url);if(t)try{t.waitUntil(o)}catch(c){0}return r?a:null},this.cacheDidUpdate=async e=>{let{cacheName:t,request:s}=e;const n=this._getCacheExpiration(t);await n.updateTimestamp(s.url),await n.expireEntries()},this._config=e,this._maxAgeSeconds=e.maxAgeSeconds,this._cacheExpirations=new Map,e.purgeOnQuotaError&&function(e){n.add(e)}((()=>this.deleteCacheAndMetadata()))}_getCacheExpiration(e){if(e===o())throw new t("expire-custom-caches-only");let s=this._cacheExpirations.get(e);return s||(s=new A(e,this._config),this._cacheExpirations.set(e,s)),s}_isResponseDateFresh(e){if(!this._maxAgeSeconds)return!0;const t=this._getDateHeaderTimestamp(e);if(null===t)return!0;return t>=Date.now()-1e3*this._maxAgeSeconds}_getDateHeaderTimestamp(e){if(!e.headers.has("date"))return null;const t=e.headers.get("date"),s=new Date(t).getTime();return isNaN(s)?null:s}async deleteCacheAndMetadata(){for(const[e,t]of this._cacheExpirations)await self.caches.delete(e),await t.delete();this._cacheExpirations=new Map}}({maxEntries:50})]})),self.addEventListener("message",(e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()}))})()})(); //# sourceMappingURL=service-worker.js.map \ No newline at end of file diff --git a/static/js/main.19800897.js b/static/js/main.19800897.js new file mode 100644 index 0000000..368c35f --- /dev/null +++ b/static/js/main.19800897.js @@ -0,0 +1,3 @@ +/*! For license information please see main.19800897.js.LICENSE.txt */ +(()=>{var e={550:(e,t,n)=>{!function(){var t,r,a;"undefined"!=typeof window&&(function(e){function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function n(e){return"undefined"==typeof e}if(e){var r={},a=e.TraceKit,i=[].slice,o="?";r.noConflict=function(){return e.TraceKit=a,r},r.wrap=function(e){try{if("function"!=typeof e||!e.apply)return e}catch(n){return e}return function(){try{return e.apply(this,arguments)}catch(t){throw r.report(t),t}}},r.report=function(){function n(e,n,a){var o=null;if(!n||r.collectWindowErrors){for(var s in c)if(t(c,s))try{c[s](e,n,a)}catch(i){o=i}if(o)throw o}}function a(e,t,a,i,s){if(f)r.computeStackTrace.augmentStackTraceWithInitialElement(f,t,a,e),o();else if(s)n(r.computeStackTrace(s),!0,s);else{var u={url:t,line:a,column:i};u.func=r.computeStackTrace.guessFunctionName(u.url,u.line),u.context=r.computeStackTrace.gatherContext(u.url,u.line),n({mode:"onerror",message:e,stack:[u]},!0,null)}return!!l&&l.apply(this,arguments)}function i(){!0!==u&&(l=e.onerror,e.onerror=a,u=!0)}function o(){var e=f,t=d;f=null,d=null,n(e,!1,t)}function s(t){if(f){if(d===t)return;o()}var n=r.computeStackTrace(t);throw f=n,d=t,e.setTimeout((function(){d===t&&o()}),n.incomplete?2e3:0),t}var l,u,c=[],d=null,f=null;return s.subscribe=function(e){i(),c.push(e)},s.unsubscribe=function(e){for(var t=c.length-1;t>=0;--t)c[t]===e&&c.splice(t,1)},s}(),r.computeStackTrace=function(){function a(n){if("string"!=typeof n)return[];if(!t(b,n)){var r="",a="";try{a=e.document.domain}catch(o){}var i=/(.*)\:\/\/([^:\/]+)([:\d]*)\/{0,1}([\s\S]*)/.exec(n);i&&i[2]===a&&(r=function(e){return"string"!=typeof e?[]:""}(n)),b[n]=r?r.split("\n"):[]}return b[n]}function i(e,t){var r,i=/function ([^(]*)\(([^)]*)\)/,s=/['"]?([0-9A-Za-z$_]+)['"]?\s*[:=]\s*(function|eval|new Function)/,l="",u=a(e);if(!u.length)return o;for(var c=0;10>c;++c)if(!n(l=u[t-c]+l)){if(r=s.exec(l))return r[1];if(r=i.exec(l))return r[1]}return o}function s(e,t){var i=a(e);if(!i.length)return null;var o=[],s=Math.floor(r.linesOfContext/2),l=s+r.linesOfContext%2,u=Math.max(0,t-s-1),c=Math.min(i.length,t+l-1);t-=1;for(var d=u;c>d;++d)n(i[d])||o.push(i[d]);return o.length>0?o:null}function l(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g,"\\$&")}function u(e){return l(e).replace("<","(?:<|<)").replace(">","(?:>|>)").replace("&","(?:&|&)").replace('"','(?:"|")').replace(/\s+/g,"\\s+")}function c(e,t){for(var n,r,i=0,o=t.length;o>i;++i)if((n=a(t[i])).length&&(n=n.join("\n"),r=e.exec(n)))return{url:t[i],line:n.substring(0,r.index).split("\n").length,column:r.index-n.lastIndexOf("\n",r.index)-1};return null}function d(e,t,n){var r,i=a(t),o=new RegExp("\\b"+l(e)+"\\b");return n-=1,i&&i.length>n&&(r=o.exec(i[n]))?r.index:null}function f(t){if(!n(e&&e.document)){for(var r,a,i,o,s=[e.location.href],d=e.document.getElementsByTagName("script"),f=""+t,p=0;pm;++m){if(t=a.exec(c[m])){var g=t[2]&&-1!==t[2].indexOf("native");r={url:g?null:t[2],func:t[1]||o,args:g?[t[2]]:[],line:t[3]?+t[3]:null,column:t[4]?+t[4]:null}}else if(t=u.exec(c[m]))r={url:t[2],func:t[1]||o,args:[],line:+t[3],column:t[4]?+t[4]:null};else{if(!(t=l.exec(c[m])))continue;r={url:t[3],func:t[1]||o,args:t[2]?t[2].split(","):[],line:t[4]?+t[4]:null,column:t[5]?+t[5]:null}}!r.func&&r.line&&(r.func=i(r.url,r.line)),r.line&&(r.context=s(r.url,r.line)),f.push(r)}return f.length?(f[0]&&f[0].line&&!f[0].column&&p?f[0].column=d(p[1],f[0].url,f[0].line):f[0].column||n(e.columnNumber)||(f[0].column=e.columnNumber+1),{mode:"stack",name:e.name,message:e.message,stack:f}):null}function m(n){var r=n.message.split("\n");if(r.length<4)return null;var o,l=/^\s*Line (\d+) of linked script ((?:file|https?|blob)\S+)(?:: in function (\S+))?\s*$/i,d=/^\s*Line (\d+) of inline#(\d+) script in ((?:file|https?|blob)\S+)(?:: in function (\S+))?\s*$/i,f=/^\s*Line (\d+) of function script\s*$/i,p=[],m=e&&e.document&&e.document.getElementsByTagName("script"),h=[];for(var g in m)t(m,g)&&!m[g].src&&h.push(m[g]);for(var v=2;v=0&&(y.line=b+S.substring(0,k).split("\n").length)}}}else if(o=f.exec(r[v])){var T=e.location.href.replace(/#.*$/,""),E=c(new RegExp(u(r[v+1])),[T]);y={url:T,func:"",args:[],line:E?E.line:o[1],column:null}}if(y){y.func||(y.func=i(y.url,y.line));var x=s(y.url,y.line),_=x?x[Math.floor(x.length/2)]:null;y.context=x&&_.replace(/^\s*/,"")===r[v+1].replace(/^\s*/,"")?x:[r[v+1]],p.push(y)}}return p.length?{mode:"multiline",name:n.name,message:r[0],stack:p}:null}function h(e,t,n,r){var a={url:t,line:n};if(a.url&&a.line){e.incomplete=!1,a.func||(a.func=i(a.url,a.line)),a.context||(a.context=s(a.url,a.line));var o=/ '([^']+)' /.exec(r);if(o&&(a.column=d(o[1],a.url,a.line)),e.stack.length>0&&e.stack[0].url===a.url){if(e.stack[0].line===a.line)return!1;if(!e.stack[0].line&&e.stack[0].func===a.func)return e.stack[0].line=a.line,e.stack[0].context=a.context,!1}return e.stack.unshift(a),e.partial=!0,!0}return e.incomplete=!0,!1}function g(e,t){for(var n,a,s,l=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,u=[],c={},p=!1,m=g.caller;m&&!p;m=m.caller)if(m!==v&&m!==r.report){if(a={url:null,func:o,args:[],line:null,column:null},m.name?a.func=m.name:(n=l.exec(m.toString()))&&(a.func=n[1]),"undefined"==typeof a.func)try{a.func=n.input.substring(0,n.input.indexOf("{"))}catch(w){}if(s=f(m)){a.url=s.url,a.line=s.line,a.func===o&&(a.func=i(a.url,a.line));var y=/ '([^']+)' /.exec(e.message||e.description);y&&(a.column=d(y[1],s.url,s.line))}c[""+m]?p=!0:c[""+m]=!0,u.push(a)}t&&u.splice(0,t);var b={mode:"callers",name:e.name,message:e.message,stack:u};return h(b,e.sourceURL||e.fileName,e.line||e.lineNumber,e.message||e.description),b}function v(e,t){var n=null;t=null==t?0:+t;try{if(n=function(e){var t=e.stacktrace;if(t){for(var n,r=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,a=/ line (\d+), column (\d+)\s*(?:in (?:]+)>|([^\)]+))\((.*)\))? in (.*):\s*$/i,o=t.split("\n"),l=[],u=0;u=0?r="back-forward-cache":n&&(document.prerendering||u()>0?r="prerender":document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},d=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver((function(e){Promise.resolve().then((function(){t(e.getEntries())}))}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},f=function(e,t,n,r){var a,i;return function(o){t.value>=0&&(o||r)&&((i=t.value-(a||0))||void 0===a)&&(a=t.value,t.delta=i,t.rating=function(e,t){return e>t[1]?"poor":e>t[0]?"needs-improvement":"good"}(t.value,n),e(t))}},p=function(e){requestAnimationFrame((function(){return requestAnimationFrame((function(){return e()}))}))},m=function(e){var t=function(t){"pagehide"!==t.type&&"hidden"!==document.visibilityState||e(t)};addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0)},h=function(e){var t=!1;return function(n){t||(e(n),t=!0)}},g=-1,v=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},y=function(e){"hidden"===document.visibilityState&&g>-1&&(g="visibilitychange"===e.type?e.timeStamp:0,w())},b=function(){addEventListener("visibilitychange",y,!0),addEventListener("prerenderingchange",y,!0)},w=function(){removeEventListener("visibilitychange",y,!0),removeEventListener("prerenderingchange",y,!0)},S=function(){return 0>g&&(g=v(),b(),s((function(){setTimeout((function(){g=v(),b()}),0)}))),{get firstHiddenTime(){return g}}},k=function(e){document.prerendering?addEventListener("prerenderingchange",(function(){return e()}),!0):e()},T=[1800,3e3],E=function(e,t){t=t||{},k((function(){var n,r=S(),a=c("FCP"),i=d("paint",(function(e){e.forEach((function(e){"first-contentful-paint"===e.name&&(i.disconnect(),e.startTimer.value&&(r.value=a,r.entries=i,n())},l=d("layout-shift",o);l&&(n=f(e,r,x,t.reportAllChanges),m((function(){o(l.takeRecords()),n(!0)})),s((function(){a=0,r=c("CLS",0),n=f(e,r,x,t.reportAllChanges),p((function(){return n()}))})),setTimeout(n,0))})))},C={passive:!0,capture:!0},L=new Date,M=function(e,a){t||(t=a,n=e,r=new Date,P(removeEventListener),R())},R=function(){if(n>=0&&r-L>n){var e={entryType:"first-input",name:t.type,target:t.target,cancelable:t.cancelable,startTime:t.timeStamp,processingStart:t.timeStamp+n};a.forEach((function(t){t(e)})),a=[]}},Z=function(e){if(e.cancelable){var t=(e.timeStamp>1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var n=function(){M(e,t),a()},r=function(){a()},a=function(){removeEventListener("pointerup",n,C),removeEventListener("pointercancel",r,C)};addEventListener("pointerup",n,C),addEventListener("pointercancel",r,C)}(t,e):M(t,e)}},P=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,Z,C)}))},I=[100,300],N=function(e,r){r=r||{},k((function(){var i,o=S(),l=c("FID"),u=function(e){e.startTimet.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{var r={id:e.interactionId,latency:e.duration,entries:[e]};H[r.id]=r,W.push(r)}W.sort((function(e,t){return t.latency-e.latency})),W.splice(10).forEach((function(e){delete H[e.id]}))}},V=function(e,t){t=t||{},k((function(){var n;F();var r,a=c("INP"),i=function(e){e.forEach((function(e){e.interactionId&&J(e),"first-input"===e.entryType&&!W.some((function(t){return t.entries.some((function(t){return e.duration===t.duration&&e.startTime===t.startTime}))}))&&J(e)}));var t,n=(t=Math.min(W.length-1,Math.floor(U()/50)),W[t]);n&&n.latency!==a.value&&(a.value=n.latency,a.entries=n.entries,r())},o=d("event",i,{durationThreshold:null!==(n=t.durationThreshold)&&void 0!==n?n:40});r=f(e,a,B,t.reportAllChanges),o&&("interactionId"in PerformanceEventTiming.prototype&&o.observe({type:"first-input",buffered:!0}),m((function(){i(o.takeRecords()),a.value<0&&U()>0&&(a.value=0,a.entries=[]),r(!0)})),s((function(){W=[],q=O(),a=c("INP"),r=f(e,a,B,t.reportAllChanges)})))}))},Y=[2500,4e3],Q={},$=function(e,t){t=t||{},k((function(){var n,r=S(),a=c("LCP"),i=function(e){var t=e[e.length-1];t&&t.startTime=i||i>performance.now())return;n.value=Math.max(i-u(),0),n.entries=[a],r(!0),s((function(){n=c("TTFB",0),(r=f(e,n,X,t.reportAllChanges))(!0)}))}}))};return e.CLSThresholds=x,e.FCPThresholds=T,e.FIDThresholds=I,e.INPThresholds=B,e.LCPThresholds=Y,e.TTFBThresholds=X,e.getCLS=_,e.getFCP=E,e.getFID=N,e.getINP=V,e.getLCP=$,e.getTTFB=K,e.onCLS=_,e.onFCP=E,e.onFID=N,e.onINP=V,e.onLCP=$,e.onTTFB=K,Object.defineProperty(e,"__esModule",{value:!0}),e}({}),function(t,r,a,i){function o(e,t,n,r){if(0!==t.status&&t.getAllResponseHeaders()){var a="AJAX Error: "+(t.statusText||"unknown")+" "+(n.type||"unknown")+" "+(function(e){var t=e,n=e.split("//")[1];if(n){var r=n.indexOf("?"),a=n.toString().substring(0,r),i=a.split("/").slice(0,4).join("/"),o=a.substring(0,48);(t=i.length";t&&(t instanceof Error||t.message)?Ee.notify(t):(t="object"==typeof t?"":"function"==typeof t?"":t,Ee.notify(new Error("UnhandledRejection: "+t)))}}function l(){return!(!v||""===v)||(we.log("Atatus API key has not been configured, make sure you call atatus.config(yourApiKey)"),!1)}function u(){try{return"localStorage"in t&&null!==t.localStorage}catch(r){return!1}}function c(){try{if(u()&&localStorage.length>0)for(var e in localStorage)if("atatusjs="===e.substring(0,9)){try{var t=JSON.parse(localStorage[e]);"apikey"in t&&p(te,t)}catch(a){we.log("Atatus: Invalid JSON object in LocalStorage")}localStorage.removeItem(e)}}catch(a){we.log("Atatus sendSavedErrors: LocalStorage read failed!",a)}}function d(e,t){if(t=we.isObject(t)?t:{},e.stack&&e.stack.length){we.isObject(t.customData)||(t.customData=i),we.isArray(t.tags)||(t.tags=i);var n=t.customData&&t.customData.ajaxErrorMessage||e.message;if(n&&0===n.indexOf("Uncaught ")&&(n=e.message.substring(9)),n=n||t.status||"Script error.",R&&R.test(n))we.log("Atatus: canceling send due to Script error or ignored errors.");else{n=n.substr(0,ce);var a=[];e.stack&&e.stack.length&&we.forEach(e.stack,(function(e,t){we.endsWith(t.url,"/atatus.js")||we.endsWith(t.url,"/atatus-spa.js")||we.endsWith(t.url,"/atatus-spa.min.js")||we.endsWith(t.url,"/atatus.min.js")||a.push({ln:parseInt(t.line||0),cn:parseInt(t.column||0),f:t.url||"anonymous",m:t.func||"[anonymous]"})}));var s=[e.name,n,JSON.stringify(a)].join("|");if(s!==Z){Z=s;var l=t.customData;try{JSON.stringify(l)}catch(o){var u="Cannot add custom data; may contain circular reference";l={error:u},we.log("Atatus: "+u)}var c=Te.getAllEvents();Se.clear();var d={class:e.name,url:r.location.href,message:n,name:n,backTraces:a,breadCrumbs:c,customData:l||null,tags:t.tags,ts:(new Date).getTime()};if("function"==typeof I&&(d.groupingKey=I(d)),"function"==typeof A)A(d)&&(delete d.name,f(d));else delete d.name,f(d)}else we.log("Atatus: canceling send due to duplicate errors")}}else we.log("Atatus: Canceling send due to no stacktrace.")}function f(e){return T?void we.log("Error Tracking is disabled."):void p(te,{customData:y||null,errors:[e]})}function p(e,n){if(l()){if(!Ee._isAllowedUrl(location.href))return void we.log("Atatus: canceling send due to not an allowed domain/url.");if(!n.ts){var a=t.screen||function(){var e=r.documentElement,n=r.getElementsByTagName("body")[0];return{width:t.innerWidth||e.clientWidth||n.clientWidth,height:t.innerHeight||e.clientHeight||n.clientHeight}}();n.ts=(new Date).getTime(),n.apikey=v,n.request={url:r.location.href,ua:navigator.userAgent,w:a.width,h:a.height},n.connection=ye,n.tags=n.tags||q,n.user=b&&b.id?b:null,n.aid=w||null,n.sid=Ee.sessionId||"",n.v=S||"",n._v=Ee.VERSION||O||""}if(N)if(!N(n))return void we.log("Atatus: canceling send due to false from beforeSend callback.");if(P&&P(n),we.log("Sending data to Atatus Receiver:",n),e===ne)!function(e,t){var n=r.createElement("script"),a=ee+e+"?data="+encodeURIComponent(JSON.stringify(t))+"&callback=atatus._setFeatures&"+m(t);n.type="text/javascript",n.src=a;var i=r.getElementsByTagName("script")[0];i.parentNode.insertBefore(n,i)}(e,n);else if(e===ae){if(!n.sid)return void we.log("Atatus: canceling session send due to empty session id.");if(ve.session>=pe)return void we.log("Atatus: Canceling session send. Reached maximum number of requests!");ve.session+=1,g(e,n)}else if(e===ie){if(ve.spa>=he)return void we.log("Atatus: Canceling SPA send. Reached maximum number of requests!");ve.spa+=1,ve.ajax=0,g(e,n)}else if(e===se){if(ve.webvitals>=ge)return void we.log("Atatus: Canceling web vitals send. Reached maximum number of requests!");ve.webvitals+=1,function(e,n){var r="[object Navigator]"===Object.prototype.toString.call(t&&t.navigator),a=r&&"function"==typeof t.navigator.sendBeacon;if(a){return t.navigator.sendBeacon.bind(t.navigator)(ee+e,JSON.stringify(n))}h(e,n)}(e,n)}else{if(e===te){if(ve.error>=de)return void we.log("Atatus: Canceling error send. Reached maximum number of requests!");ve.error+=1}else if(e===re){if(ve.ajax>=fe)return void we.log("Atatus: Canceling AJAX send. Reached maximum number of requests!");ve.ajax+=1}else if(e===oe){if(ve.txn>=me)return void we.log("Atatus: Canceling transaction send. Reached maximum number of requests!");ve.txn+=1}h(e,n)}}}function m(e){return"apikey="+e.apikey+"&v="+e._v}function h(e,t){var n=ee+e+"?data="+encodeURIComponent(JSON.stringify(t))+"&"+m(t);if(n.length>le)we.log("Atatus: Canceling request send due to large payload size.");else{var r=new Image;r.crossOrigin="anonymous",r.onload=function(){c()},r.onerror=r.onabort=function(){Y&&e===te&&function(e){try{if(u()&&localStorage.length<50){var t="atatusjs="+(new Date).toJSON()+"="+we.getRandomInt();"undefined"==typeof localStorage[t]&&(localStorage[t]=e)}else we.log("Atatus: Reached local storage limit.")}catch(r){we.log("Atatus: LocalStorage full, cannot save exception")}}(JSON.stringify(t))},r.src=n}}function g(e,n){var r=function(e,n){var r;return"withCredentials"in(r=new t.XMLHttpRequest)?r.open(e,n,!0):t.XDomainRequest&&(n=we.getTargetUrl(n),(r=new t.XDomainRequest).open(e,n)),r.timeout=1e4,r}("POST",ee+e+"?"+m(n));return r?("function"==typeof r.setRequestHeader&&r.setRequestHeader("Content-Type","application/json;charset=UTF-8"),"withCredentials"in r?(r.onreadystatechange=function(){r.readyState},r.onload=function(){we.log("Sent data to Atatus. Status - "+r.status)}):t.XDomainRequest&&(r.ontimeout=function(){},r.onload=function(){we.log("Sent data to Atatus. Status - "+r.status)}),r.onerror=function(){we.log("Failed to send to Atatus. Status - "+r.status)},void r.send(JSON.stringify(n))):void we.log("XHR is not supported!")}var v,y,b,w,S,k,T,E,x,_,C,L,M,R,Z,P,I,N,A,D,j,z,O="4.6.1",F=t.TraceKit.noConflict(),B=t.atatus,q=[],U=!1,W=[],H=[],J=[],V=!1,Y=!1,Q=!1,$=!0,X=!1,G="atatus-user",K="atatus-aid",ee="https://bm-rx.atatus.com",te="/track/browser/errors",ne="/track/browser/perf/pageload",re="/track/browser/perf/ajax",ae="/track/browser/perf/session",ie="/track/browser/perf/spa",oe="/track/browser/perf/txn",se="/track/browser/perf/webvitals",le=4e4,ue=500,ce=1e3,de=20,fe=5,pe=10,me=100,he=100,ge=3,ve={error:0,ajax:0,session:0,txn:0,spa:0,webvitals:0},ye=null,be=["google-analytics.com","mixpanel.com","bam.nr-data.net","br-rx.atatus.com","bm-rx.atatus.com","segment.io","hotjar.io","hotjar.com","amplitude.com","fullstory.com","autopilothq.com","smartlook.com","charmerly.com","googleapis.com","logrocket.io","taboola.com","sentry.io","doubleclick.net","logentries.com","rb-collector.com","js.hs-banner.com","clarity.ms","lr-ingest.io","collector.replaybird.com","rum.browser-intake-datadoghq.com"];a&&(z=a(r));var we={isBoolean:function(e){return"undefined"!=typeof e&&"boolean"==typeof e},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},isObject:function(e){return"[object Object]"===Object.prototype.toString.call(e)},serialize:function(e){if(!e)return"";if(we.isString(e)||we.isNumber(e)||we.isBoolean(e)||we.isFunction(e))return""+e;if("object"==typeof e)try{return JSON.stringify(e)}catch(r){return"Unserializable Object"}return""},endsWith:function(e,t){return!(!e||!t)&&-1!==e.indexOf(t,e.length-t.length)},joinRegExp:function(e){if(0===e.length)return null;for(var t,n=[],r=0,a=e.length;a>r;r++)t=e[r],we.isString(t)?n.push(t.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")):t&&t.source&&n.push(t.source);return new RegExp(n.join("|"),"i")},getTargetUrl:function(e){return t.XDomainRequest&&V&&(e=e.slice(6)),e},now:function(){return(new Date).getTime()},pad:function(e){return 1===(e=String(e)).length&&(e="0"+e),e},merge:function(e,t){var n,r={};for(n in e)r[n]=e[n];for(n in t)r[n]=t[n];return r},mergeArray:function(e,t){return null!=t?e.concat(t):e},forEach:function(e,t){for(var n=0;n=r},uuid4:function(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))},addEventListener:function(e,n,r){return"undefined"!=typeof t.attachEvent?t.attachEvent("on"+e,n):t.addEventListener?t.addEventListener(e,n,r):void 0},arrayFromObject:function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t},createCookie:function(e,t,n,a,i){try{var o,s;if(n){var l=new Date;l.setTime(l.getTime()+60*n*60*1e3),o="; expires="+l.toGMTString()}else o="";var c=a?"; SameSite=Lax; secure":"; SameSite=Lax",d="";if(i){var f=r.location.hostname.match(/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i),p=f?f[0]:"";d=p?"; domain=."+p:""}return s=(new Date).toISOString(),r.cookie=e+"=id|"+t+"×tamp|"+s+o+"; path=/"+d+c,s}catch(u){we.log("Creating cookie failed.",u)}},clearCookie:function(e){this.createCookie(e,"",-1)},readCookieElement:function(e,t){var n=e.split(/[|&]/);return"id"===t?n[1]:"timestamp"===t?n[3]:void 0},readCookie:function(e){try{for(var t=e+"=",n=r.cookie.split(";"),a=0;at&&(this.eventObject[e]=n.slice(n.length-t))}},ke={attach:function(e,n,r,a,i){e=e||t.console||{};for(var o=i||["log","debug","info","warn","error"],s=o.pop(),l=function(e,t,r){n&&Se.add("timeline",{ts:we.now(),c:"console",l:e,m:we.serialize(t)}),"error"===e&&a&&Ee.notify(new Error(t),r)};s;)this.wrapConsoleMethod(e,s,r,l),s=o.pop()},wrapConsoleMethod:function(e,t,n,r){var a=e[t],i=e;t in e&&(e[t]=function(){var e=[].slice.call(arguments),o=""+e.join(" ");r&&r(t,o,{level:t,logger:"console"}),a&&n&&Function.prototype.apply.call(a,i,e)})}},Te={attach:function(){var e=we.bind(this.onDocumentClicked,this),t=we.bind(this.onInputChanged,this);r.addEventListener?(r.addEventListener("click",e,!0),r.addEventListener("blur",t,!0)):r.attachEvent&&(r.attachEvent("onclick",e),r.attachEvent("onfocusout",t))},writeUserEvent:function(e,t,n,r){"password"===this.getElementType(e)&&(n=void 0),Se.add("timeline",{ts:we.now(),a:t,e:this.getOuterHTML(e),v:this.getValueKind(n,r)})},onDocumentClicked:function(e){var t=this.getElementFromEvent(e);t&&t.tagName&&(this.isTarget(t,"a")||this.isTarget(t,"button")||this.isTarget(t,"input",["button","submit"])?this.writeUserEvent(t,"click"):this.isTarget(t,"input",["checkbox","radio"])&&this.writeUserEvent(t,"check",t.value,t.checked))},onInputChanged:function(e){var t=this.getElementFromEvent(e);t&&t.tagName&&(this.isTarget(t,"textarea")?this.writeUserEvent(t,"input",t.value):this.isTarget(t,"select")&&t.options&&t.options.length?this.onSelectInputChanged(t):this.isTarget(t,"input")&&!this.isTarget(t,"input",["button","submit","hidden","checkbox","radio"])&&this.writeUserEvent(t,"input",t.value))},onSelectInputChanged:function(e){if(e.multiple){for(var t=0;tr;r++){var i=n[r].name;"value"!==i.toLowerCase()&&(t+=" "+i+'="'+n[r].value+'"')}return t+" >"},getValueKind:function(e,t){return null==e?null:{length:e.length,checked:t,pattern:this.matchInputPattern(e)}},matchInputPattern:function(e){return""===e?"empty":/^[a-z0-9!#$%&'*+=?\^_`{|}~\-]+(?:\.[a-z0-9!#$%&'*+=?\^_`{|}~\-]+)*@(?:[a-z0-9](?:[a-z0-9\-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9\-]*[a-z0-9])?$/.test(e)?"email":/^(0?[1-9]|[12][0-9]|3[01])[\/\-](0?[1-9]|1[012])[\/\-]\d{4}$/.test(e)||/^(\d{4}[\/\-](0?[1-9]|1[012])[\/\-]0?[1-9]|[12][0-9]|3[01])$/.test(e)?"date":/^(?:(?:\+?1\s*(?:[.\-]\s*)?)?(?:\(\s*([2-9]1[02-9]|[2-9][02-8]1|[2-9][02-8][02-9])\s*\)|([2-9]1[02-9]|[2-9][02-8]1|[2-9][02-8][02-9]))\s*(?:[.\-]\s*)?)?([2-9]1[02-9]|[2-9][02-9]1|[2-9][02-9]{2})\s*(?:[.\-]\s*)?([0-9]{4})(?:\s*(?:#|x\.?|ext\.?|extension)\s*(\d+))?$/.test(e)?"phone":/^\s*$/.test(e)?"whitespace":/^\d*$/.test(e)?"numeric":"character"},getAllEvents:function(){return Se.all("timeline")}},Ee={VERSION:O,paintPerformance:{},noConflict:function(){return t.atatus=B,Ee},isConfigured:function(){return!!v},config:function(e,n){n=n||{},v=e,F.remoteFetching=!1,R=[],Ee.setCustomData(n.customData),Ee.setTags(n.tags),U=!!n.debugMode,Q=!!n.reportAjaxErrors,$=n.reportUnhandledRejections===i||!!n.reportUnhandledRejections,X=!!n.allowChromeExtension,k=!!n.disableBreadcrumbs,T=!!n.disableErrorTracking,L=!!n.disableRUM,x=!!n.disableAjaxMonitoring,_=n.disableSession!==i&&n.disableSession,C=n.disableSPA!==i&&n.disableSPA,j=n.urlMaxLength,V=we.canAllowInsecureSubmissions(),Ee.setIgnoreUrls(n.ignoreUrls),Ee.setWhitelistUrls(n.whitelistUrls),Ee.setAllowedDomains(n.allowedDomains),Ee.setVersion(n.version),Ee.enableOffline(n.enableOffline||n.offline),Ee.onBeforeSend(n.beforeSend),Ee.onBeforeErrorSend(n.beforeErrorSend),Ee.setGroupingKeyCallback(n.groupingKeyCallback),n.ignoreErrors&&we.isArray(n.ignoreErrors)&&(R=n.ignoreErrors),R.push(/^Script error\.?$/),R.push(/^Javascript error: Script error\.? on line 0$/),R=we.joinRegExp(R),c(),M={enabled:!1,timeline:!0,display:!0,error:!0,levels:null},we.isBoolean(n.console)&&(M.enabled=n.console),we.isBoolean(n.consoleTimeline)&&(M.timeline=n.consoleTimeline),we.isBoolean(n.consoleDisplay)&&(M.display=n.consoleDisplay),we.isBoolean(n.consoleErrorNotify)&&(M.error=n.consoleErrorNotify),we.isArray(n.consoleTimelineLevels)&&(M.levels=n.consoleTimelineLevels),M.enabled&&"console"in t&&t.console.log&&ke.attach(t.console,M.timeline,M.display,M.error,M.levels),Ee.setHashRoutes(n.hashRoutes);var r=t.navigator.connection||t.navigator.mozConnection||t.navigator.webkitConnection;return r&&((ye={}).dlk=r.downlink,ye.eft=r.effectiveType,ye.rtt=r.rtt,ye.type=r.type),Ee},install:function(){if(!l())return Ee;if(!X&&-1!==r.location.href.indexOf("chrome-extension://"))return Ee;if(function(){try{var e;if(u()&&(e=localStorage.getItem(G)),e)b=JSON.parse(e),w=null;else{var t,n=we.readCookie(K);n&&(t=we.readCookieElement(n,"id")),t&&"undefined"!==t?w=t:(w=we.uuid4(),we.createCookie(K,w))}}catch(i){we.log("Atatus Get User: Invalid JSON object in LocalStorage",i)}}(),k||Te.attach(),T||(F.report.subscribe(d),F.extendToAsynchronousCallbacks(),z&&Q&&z.ajaxError(o),$&&("addEventListener"in t&&t.addEventListener("unhandledrejection",s))),x||L||Ee.__attachAjaxHooks(),!_&&!L&&Ee.SessionTracking){var e=function(){(D=new Ee.SessionTracking).attach()};t.addEventListener?t.addEventListener("load",e):t.attachEvent("onload",e)}return C||L||!Ee.spa||Ee.spa.init({logLevel:U?"debug":"warn",urlMaxLength:j}),Ee},uninstall:function(){return v=null,T||(F.report.unsubscribe(d),z&&Q&&z.unbind("ajaxError",o),$&&("removeEventListener"in t&&t.removeEventListener("unhandledrejection",s))),Ee},setCustomData:function(e){return e?we.isObject(e)?y=e:we.log("Custom data must be an object."):y=null,Ee},setTags:function(e){return e?we.isArray(e)?q=e:we.log("Tags must be an array of string."):q=[],Ee},setHashRoutes:function(e){return e?(P=function(e){if(e&&e.request&&e.request.url&&(e.request.url=e.request.url.replace("/#/","/").replace("#/","/")),e&&e.data&&e.data[0]&&e.data[0].spans)for(var t=0;t0?e.nt:0,e.dp=e.dp>0?e.dp:0,e.pr=e.pr>0?e.pr:0,n.sendPerf(e))}function i(t){if(!function(t,n){return"object"==typeof e.performance&&(!t||t&&typeof e.performance[t]===n)}("getEntriesByName","function"))return t;var r=e.performance.getEntriesByName("first-paint");r.length>0&&r[0].startTime>0?t.fp=+r[0].startTime.toFixed(0):e.performance.timing&&e.performance.timing.msFirstPaint&&(t.fp=+(e.performance.timing.msFirstPaint-e.performance.timing.fetchStart).toFixed(0));var a=e.performance.getEntriesByName("first-contentful-paint");return a.length>0&&a[0].startTime>0&&(t.fcp=+a[0].startTime.toFixed(0)),n.paintPerformance={fp:t.fp,fcp:t.fcp},t}var o=(new Date).getTime(),s=s||{};s.q=s.q||[],s.version="0.3",s.targetOrigin=t.location.protocol+"//"+t.location.hostname,s.bPostMessage=!1,s.beaconUrl=s.beaconUrl||"/images/beacon.gif",s.autorun=!1,s.init=function(){if(s.bDone=!1,s.bUnloaded=!1,s.marks={},s.measures={},s.starts={},s.findStartTime(),s.addEventListener("beforeunload",s.beforeUnload,!1),s.addEventListener("pagehide",s.beforeUnload,!1),s.addEventListener("unload",s.beforeUnload,!1),s.processQ(),"complete"===t.readyState){var n=e.performance||e.mozPerformance||e.msPerformance||e.webkitPerformance;n&&"undefined"!=typeof n.timing&&"undefined"!=typeof n.timing.loadEventEnd&&(s.mark("firstbyte",n.timing.responseStart),s.mark("onload",n.timing.loadEventEnd)),s.done()}else s.addEventListener("load",s.onload,!1)},s.processQ=function(){for(var e=s.q.length,t=0;e>t;t++){var n=s.q[t],r=n[0];"mark"===r?s.mark(n[1],n[2]):"measure"===r?s.measure(n[1],n[2],n[3]):"done"===r&&s.done(n[1])}},s.mark=function(t,n){return s.dprint("RUM_EPISODES.mark: "+t+", "+n),t?(s.marks[t]=parseInt(n||(new Date).getTime()),s.bPostMessage&&e.postMessage("RUM_EPISODES:mark:"+t+":"+n,s.targetOrigin),void("firstbyte"===t?s.measure("backend","starttime","firstbyte"):"onload"===t?(s.measure("frontend","firstbyte","onload"),s.measure("page load time","starttime","onload")):"done"===t&&s.measure("total load time","starttime","done"))):void s.dprint("Error: markName is undefined in RUM_EPISODES.mark.")},s.measure=function(t,n,r){if(s.dprint("RUM_EPISODES.measure: "+t+", "+n+", "+r),t){var a,i;if("undefined"==typeof n)a="number"==typeof s.marks[t]?s.marks[t]:(new Date).getTime();else if("number"==typeof s.marks[n])a=s.marks[n];else{if("number"!=typeof n)return void s.dprint("Error: unexpected startNameOrTime in RUM_EPISODES.measure: "+n);a=n}if("undefined"==typeof r)i=(new Date).getTime();else if("number"==typeof s.marks[r])i=s.marks[r];else{if("number"!=typeof r)return void s.dprint("Error: unexpected endNameOrTime in RUM_EPISODES.measure: "+r);i=r}s.starts[t]=parseInt(a),s.measures[t]=parseInt(i-a),s.bPostMessage&&e.postMessage("RUM_EPISODES:measure:"+t+":"+a+":"+i,s.targetOrigin)}else s.dprint("Error: episodeName is undefined in RUM_EPISODES.measure.")},s.done=function(t){s.bDone=!0,s.mark("done"),s.bPostMessage&&e.postMessage("RUM_EPISODES:done",s.targetOrigin),"function"==typeof t&&t()},s.getMarks=function(){return s.marks},s.getMeasures=function(){return s.measures},s.getStarts=function(){return s.starts},s.findStartTime=function(){var e=s.findStartWebTiming()||s.findStartCookie();e&&s.mark("starttime",e)},s.findStartWebTiming=function(){var t,n=e.performance||e.mozPerformance||e.msPerformance||e.webkitPerformance;return n&&"undefined"!=typeof n.timing&&"undefined"!=typeof n.timing.navigationStart&&(t=n.timing.navigationStart,s.dprint("RUM_EPISODES.findStartWebTiming: startTime = "+t)),t},s.findStartCookie=function(){try{for(var n=t.cookie.split(" "),r=0;r=n&&(n=t.fetchStart);var r={};for(var s in u)r[u[s]]=-1,s in t&&(t[s]<=0||(r[u[s]]=t[s]-n));var c={nt:r.rps-r.ns,dp:r.dce-r.rps,pr:r.le-r.dce,pl:r.le-r.ns,timing:r};try{i(c)}catch(o){}a(c)}),100):(s.mark("firstbyte",o),l=setInterval((function(){if(!s||!s.bDone)return!1;clearInterval(l),l=!1;var e=s.getMeasures();if(null!=e&&null!=e.backend&&null!=e.frontend&&null!=e["page load time"]&&null!=e["total load time"]){var t=e.backend,n=e.backend+e.frontend;a({nt:t,dp:n-t,pr:e["total load time"]-n,fe:e["total load time"]-t,pl:e["total load time"]})}}),100))}(window,document,window.atatus),t=window,(r=window.atatus).SessionTracking=function(){function e(e){r.sessionId=m.uuid4(),h.existingTimestamp=m.createCookie(h.cookieName,r.sessionId),e(!0)}function n(e){return Math.min(e,3e5)}function i(e){for(var t in e)(isNaN(e[t])&&"string"!=typeof e[t]||e[t]<0)&&(e[t]=0);return e}function o(e,n){var r;return r="object"==typeof t.performance&&"function"==typeof t.performance.now?t.performance.now():0,{du:Math.min(h.maxVirtualPageDuration,r-(e||n)),o:Math.min(h.maxVirtualPageDuration,r-n)}}function s(e){var t={du:e.loadEventEnd-e.navigationStart,s:e.fetchStart};return e.domainLookupStart&&e.domainLookupStart>0&&(t.dls=e.domainLookupStart-e.fetchStart),e.domainLookupEnd&&e.domainLookupEnd>0&&(t.dle=e.domainLookupEnd-e.fetchStart),e.connectStart&&e.connectStart>0&&(t.cs=e.connectStart-e.fetchStart),e.connectEnd&&e.connectEnd>0&&(t.ce=e.connectEnd-e.fetchStart),e.responseStart&&e.responseStart>0&&(t.rps=e.responseStart-e.fetchStart),e.responseEnd&&e.responseEnd>0&&(t.rpe=e.responseEnd-e.fetchStart),e.domLoading&&e.domLoading>0&&(t.dl=e.domLoading-e.fetchStart),e.domInteractive&&e.domInteractive>0&&(t.di=e.domInteractive-e.fetchStart),e.domContentLoadedEventEnd&&e.domContentLoadedEventEnd>0&&(t.dce=e.domContentLoadedEventEnd-e.fetchStart),e.domComplete&&e.domComplete>0&&(t.dc=n(e.domComplete-e.fetchStart)),e.loadEventStart&&e.loadEventStart>0&&(t.ls=e.loadEventStart-e.fetchStart),e.loadEventEnd&&e.loadEventEnd>0&&(t.le=e.loadEventEnd-e.fetchStart),e.secureConnectionStart&&e.secureConnectionStart>0&&(t.scs=e.secureConnectionStart-e.connectStart-e.fetchStart,t.scs=t.scs>0?t.scs:0),t=i(t),r.paintPerformance&&r.paintPerformance.fp&&(t.fp=r.paintPerformance.fp,t.fcp=r.paintPerformance.fcp),t}function l(e,t){var r={du:n(e.duration),s:t+e.fetchStart};return e.domainLookupStart&&e.domainLookupStart>0&&(r.dls=e.domainLookupStart-e.fetchStart),e.domainLookupEnd&&e.domainLookupEnd>0&&(r.dle=e.domainLookupEnd-e.fetchStart),e.connectStart&&e.connectStart>0&&(r.cs=e.connectStart-e.fetchStart),e.connectEnd&&e.connectEnd>0&&(r.ce=e.connectEnd-e.fetchStart),e.responseStart&&e.responseStart>0&&(r.rps=e.responseStart-e.fetchStart),e.responseEnd&&e.responseEnd>0&&(r.rpe=e.responseEnd-e.fetchStart),e.secureConnectionStart&&e.secureConnectionStart>0&&(r.scs=e.secureConnectionStart-e.connectStart-e.fetchStart,r.scs=r.scs>0?r.scs:0),i(r)}function u(){var e=t.location.pathname,n=t.location.protocol+"//"+t.location.host+e;return n.length>800&&(n=n.substring(0,800)),{u:n,t:s(t.performance.timing),g:"p"}}function c(e,n,r){var a=t.location.protocol+"//"+t.location.host+e;return a.length>800&&(a=a.substring(0,800)),{u:a,t:o(n,r),g:"r"}}function d(e,n){var r=e.name.split("?")[0];return r.length>800&&(r=r.substring(0,800)),{u:r,t:l(e,n?0:t.performance.timing.navigationStart),g:"xmlhttprequest"===e.initiatorType||"fetch"===e.initiatorType?"x":"s",z:e.decodedBodySize||e.transferSize||0}}function f(e,n){if(t.performance!==a&&t.performance.getEntriesByType)try{for(var r=t.performance.getEntriesByType("resource"),i=h.offset;i0||0!==s.indexOf("about:blank")&&("j"!==s[0]||1!==s.indexOf("avascript:"))&&0!==s.indexOf("chrome-extension://")&&0!==s.indexOf("res://")&&0!==s.indexOf("file://")&&r[i].name&&e.push(d(r[i],n)))}h.offset=r.length}catch(o){}}function p(e,n,r,i){if(t.performance===a||t.performance.timing===a||t.performance.timing.fetchStart===a||isNaN(t.performance.timing.fetchStart))return null;var o=[{rs:[]}];if(n&&(r&&(i?o[0].p=u():o[0].rs.push(u())),f(o[0].rs)),e){h.pendingVirtualPage&&(o[0].r=h.pendingVirtualPage);var s=null==h.pendingVirtualPage;if(h.pendingVirtualPage=c(e,h.previousVirtualPageLoadTimestamp,h.initalStaticPageLoadTimestamp),!s&&o.length>0)return o}return o}var m=r._helper,h=this,g={};r.sessionId=null,this.cookieName="atatus-sid",this.virtualPage=null,this.heartBeatInterval=null,this.offset=0,this.atatusHost=r.getAPIEndpoint(),this.maxVirtualPageDuration=18e5;var v=3e5;this.existingTimestamp=null,this.stopSession=!1,this.sendSessionPayload=function(e){h.stopSession||r.sendSessionPerf(e)},this.sendSPAPayload=function(){},this.attach=function(){e((function(e){setTimeout((function(){h.pageLoaded(e)}),5e3)}));var n=function(){this.watchCookieTimestamp()}.bind(g),r=function(){"visible"===document.visibilityState&&this.watchCookieTimestamp()}.bind(g);t.addEventListener?(t.addEventListener("click",n),document.addEventListener("visibilitychange",r),t.addEventListener("beforeunload",(function(){var e=[{rs:[]}];if(f(e[0].rs),e[0].rs.length>0){var t={data:e};h.sendSessionPayload(t)}}))):t.attachEvent&&document.attachEvent("onclick",n)},this.pageLoaded=function(e){h.sendPerformance(!0,!0,e),h.heartBeat(),h.initalStaticPageLoadTimestamp="object"==typeof t.performance&&"function"==typeof t.performance.now?t.performance.now():0},this.endSession=function(){h.stopSession=!0,m.createCookie(h.cookieName,r.sessionId,-1)},this.heartBeat=function(){h.heartBeatInterval=setInterval((function(){var e=[{rs:[]}];if(f(e[0].rs,h.virtualPage),e[0].rs.length>0){var t={data:e};h.sendSessionPayload(t)}}),3e4)},this.virtualPageLoaded=function(e){var n=null==this.virtualPage;"string"==typeof e&&(e.length>0&&"/"!==e[0]&&(e+="/"),e.length>800&&(e=e.substring(0,800)),this.virtualPage=e),n?this.sendPerformance(!0,!1,!1):this.sendPerformance(!1,!1,!1),"string"==typeof e&&(this.previousVirtualPageLoadTimestamp="object"==typeof t.performance&&"function"==typeof t.performance.now?t.performance.now():0)},this.sendPerformance=function(e,t,n){var r=p(this.virtualPage,e,t,n);if(r){var a={data:r};r[0].r?h.sendSPAPayload(a):r[0].rs.length>0&&h.sendSessionPayload(a)}},g.watchCookieTimestamp=function(){var e;if(h.existingTimestamp){var t=new Date(new Date-v);e=h.existingTimestamp0||-1===e.url.indexOf("://")||!n._isAllowedUrl(e.url)||(this.queue.push(e),this.queue.length>=this.batchSize&&this._processQueue()))},_processQueue:function(){if(!this.processing&&this.queue.length){this.processing=!0;try{for(var e={},t={},a=0;as){i=o.method+o.url;var l=o.respAvailTime-o.sendTime,u=o.respProcTime-o.respAvailTime,c=o.receivedSize?+o.receivedSize:0,d=o.sendSize?+o.sendSize:0;0>l&&(l=0),0>u&&(u=0),isNaN(c)&&(c=0),isNaN(d)&&(d=0);var f=e[i];f?(f.rt.push(l),f.ct.push(u),f.rz.push(c),f.sz.push(d),f.ts.push(o.sendTime||(new Date).getTime())):e[i]={m:o.method,u:o.url,rt:[l],ct:[u],rz:[c],sz:[d],ts:[o.sendTime||(new Date).getTime()]}}else{var p=t[i=o.method+s+o.url];p&&p.sc?p.sc[s]?p.sc[s]++:p.sc[s]=1:(t[i]={m:o.method,u:o.url,sc:{}},t[i].sc[s]=1)}}var m={xhr:r.arrayFromObject(e),xhrError:r.arrayFromObject(t)};n.sendAjaxPerf(m)}catch(h){r.log("Error while processing queue: ",h)}finally{this.queue=[],this.processing=!1}}},beforeUnload:function(){a.bUnloaded||(a._processQueue(),a.bUnloaded=!0)}};r.addEventListener("beforeunload",a.beforeUnload,!1),setInterval((function(){a._processQueue()}),3e4);var i={support:function(e){return!e||"apply"in e},around:function(e,t,n,a){return e=e||function(){},function(){var i,o,l=Array.prototype.slice.call(arguments);try{t&&(i=t.apply(this,l))}catch(s){r.log(a,s)}try{o=e.apply(this,i||l)}finally{try{n&&n.apply(this,l)}catch(s){r.log(a,s)}}return o}},before:function(e,t){return i.around(e,t)},after:function(e,t){return i.around(e,null,t)},timeout:function(e){setTimeout(e,0)},wrapAddEventListener:function(){return function(e,t){var n,r;if(("load"===e||"error"===e)&&t&&this._atrumXhrData)return t.__atrumInterceptor?n=t.__atrumInterceptor:i.support(t)?(n=s.wrapXHR(t,this,"XHR.invokeEventListener"),t.__atrumInterceptor=n):n=null,n&&((r=Array.prototype.slice.call(arguments))[1]=n),r}},wrapRemoveEventListener:function(){return function(e,t){if(this._atrumXhrData){var n=Array.prototype.slice.call(arguments);return t.__atrumInterceptor&&(n[1]=t.__atrumInterceptor),n}}},aroundWithHandleEvent:function(e,t,n,r){var a=e;return e&&"object"==typeof e&&"toString"in e&&"[xpconnect wrapped nsIDOMEventListener]"===e.toString()&&"handleEvent"in e&&(a=function(){e.handleEvent.apply(this,Array.prototype.slice.call(arguments))}),i.around(a,t,n,r)},getFullyQualifiedUrl:function(e){var n=t.createElement("a");return n.href=e,n.href}};if(e.XMLHttpRequest&&e.XMLHttpRequest.prototype){var o=e.XMLHttpRequest.prototype;if(!("open"in o)||!("send"in o))return;if(!i.support(o.open)||!i.support(o.send))return;var s={captureAjaxTimings:function(e){var t=e._atrumXhrData;if(t){var n=(new Date).getTime();2===e.readyState?t.firstByteTime=t.firstByteTime||n:4===e.readyState&&(t.respAvailTime=t.respAvailTime||n,t.firstByteTime=t.firstByteTime||n)}},sendPayload:function(e,t){t.receivedSize=0,e.responseType&&"text"!==e.responseType||"string"==typeof e.responseText&&(t.receivedSize=e.responseText.length),t.status=e.status,a.push(t)},wrapXHR:function(e,t,n){return i.aroundWithHandleEvent(e,(function(){s.captureAjaxTimings(this)}),(function(){var e=t._atrumXhrData;if(e&&4===t.readyState){var n=(new Date).getTime();e.respProcTime=e.respProcTime||n,s.sendPayload(t,e),delete t._atrumXhrData}}),n)},ajaxDone:function(e){if(e._atrumXhrData){var t=(new Date).getTime()+15e4,n=function(){s.captureAjaxTimings(e);var r=e._atrumXhrData;if(r){var a=(new Date).getTime();4===e.readyState?(r.respProcTime=r.respProcTime||a,s.sendPayload(e,r),delete e._atrumXhrData):t>a?setTimeout(n,50):delete e._atrumXhrData}};n()}}};o.open=i.around(o.open,(function(){var e=1<=arguments.length?String(arguments[0]):"",t=2<=arguments.length?String(arguments[1]):"";t=i.getFullyQualifiedUrl(t),n._isAllowedUrl(t)&&(t=t&&t.split("?")[0],this._atrumXhrData={method:e,url:t,sendTime:null,sendSize:null,firstByteTime:null,respAvailTime:null,respProcTime:null,receivedSize:null,parentPhase:null})}),null,"XHR.open"),o.send=i.around(o.send,(function(){var e=this,t=e._atrumXhrData;if(t){var n=(new Date).getTime();if(t.sendTime=t.sendTime||n,t.sendSize=1<=arguments.length&&arguments[0]&&arguments[0].length||0,e.onreadystatechange&&"function"==typeof e.onreadystatechange){var r=0,a=function(){if(4===e.readyState)s.ajaxDone(e);else{var t=null;try{t=e.onreadystatechange}catch(n){return void s.ajaxDone(e)}r++,t?i.support(t)?e.onreadystatechange=s.wrapXHR(t,e,"XHR.onReadyStateChange"):s.ajaxDone(e):5>r?i.timeout(a):s.ajaxDone(e)}};a()}else e.addEventListener("readystatechange",(function(){4===e.readyState&&s.ajaxDone(e)}))}}),null,"XHR.send"),"addEventListener"in o&&"removeEventListener"in o&&i.support(o.addEventListener)&&i.support(o.removeEventListener)&&(o.addEventListener=i.around(o.addEventListener,i.wrapAddEventListener(),null,"XHR.addEventListener"),o.removeEventListener=i.around(o.removeEventListener,i.wrapRemoveEventListener(),null,"XHR.removeEventListener"))}if("fetch"in e&&!e.fetch.polyfill){var l=e.fetch;e.fetch=function(e){return function(){for(var t=new Array(arguments.length),r=0;r=n)){var a={data:[{t:{n:e,s:r,t:{du:n}}}]};t.sendTxnPerf(a)}}function r(e){return o+" "+e}function a(){try{return"localStorage"in e&&null!==e.localStorage}catch(t){return!1}}function i(e){var t=null,n=r(e);try{t=localStorage.getItem(n),localStorage.removeItem(n)}catch(a){}var i=0;return t&&(i=s.now()-t),i}var o="atatus.com/",s=t._helper;t.beginTransaction=function(e){a()&&function(e){var t=s.now();try{localStorage.setItem(r(e),t)}catch(n){}}(e)},t.endTransaction=function(e){a()&&n(e,i(e),1)},t.failTransaction=function(e){a()&&n(e,i(e),0)},t.cancelTransaction=function(e){a()&&function(e){try{var t=r(e);localStorage.removeItem(t)}catch(n){}}(e)},t.recordTransaction=function(e,t,r){a()&&e&&t&&n(e,t,!1===r?0:1)}}(window,window.atatus),function(e,t){function n(e){var t=(e=e||{}).name&&e.name.toLowerCase();t&&e.value&&(a[t]||i++,a[t]=e.value)}function r(){if(e.webVitals){e.webVitals.onFID(n),e.webVitals.onFCP(n),e.webVitals.onTTFB(n),e.webVitals.onLCP(n),e.webVitals.onCLS(n,{reportAllChanges:!0}),e.webVitals.onINP(n,{reportAllChanges:!0});var t=e.performance&&e.performance.timing;!a.ttfb&&t&&(a.ttfb=t.responseStart-t.navigationStart,a.ttfb&&i++)}}var a={},i=0,o=!1;"loading"!==document.readyState?r():document.addEventListener("DOMContentLoaded",(function(){r()})),e.addEventListener("beforeunload",(function(){!o&&i>0&&(o=!0,t.sendWebVitals(a))}))}(window,window.atatus),function(e,t){e._atatusConfig&&e._atatusConfig.apikey&&t.config(e._atatusConfig.apikey,e._atatusConfig).install()}(window,window.atatus))}(),function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=2)}([function(e,t,r){e.exports=function(){"use strict";function e(e){return"function"==typeof e}var t=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},r=0,a=void 0,i=void 0,o=function(e,t){p[r]=e,p[r+1]=t,2===(r+=2)&&(i?i(m):b())},s="undefined"!=typeof window?window:void 0,l=s||{},u=l.MutationObserver||l.WebKitMutationObserver,c="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),d="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function f(){var e=setTimeout;return function(){return e(m,1)}}var p=new Array(1e3);function m(){for(var e=0;e>>((3&t)<<3)&255;return a}}},function(e,t,n){"use strict";n.r(t);for(var r=n(1),a=n.n(r),i=[].slice,o=[],s=0;s<256;++s)o[s]=(s+256).toString(16).substr(1);function l(e){if(e&&e.traceId&&e.id&&e.parentId){var t=e.sampled?"01":"00",n=e.sampled?e.id:e.parentId;return"00-"+e.traceId+"-"+n+"-"+t}}function u(e,t){var n=!1;return"string"==typeof t?n=e===t:Array.isArray(t)&&t.forEach((function(t){n||(n=u(e,t))})),n}function c(e){var t,n,r;return(t=a()(),n=0,[(r=o)[t[n++]],r[t[n++]],r[t[n++]],r[t[n++]],r[t[n++]],r[t[n++]],r[t[n++]],r[t[n++]],r[t[n++]],r[t[n++]],r[t[n++]],r[t[n++]],r[t[n++]],r[t[n++]],r[t[n++]],r[t[n++]]].join("")).substr(0,e)}function d(e,t,n){if(n&&e){var r=w(e);return t&&(t=String(t)),n[r]=t,n}}var f=["fetchStart","domainLookupStart","domainLookupEnd","connectStart","connectEnd","secureConnectionStart","requestStart","responseStart","responseEnd","domLoading","domInteractive","domContentLoadedEventStart","domContentLoadedEventEnd","domComplete","loadEventStart","loadEventEnd"];function p(e){return e&&e.split("?")[0]}function m(e){return null!==e&&"object"==typeof e}function h(e,t,n){for(var r=0,a=t.length;rr._start&&(t=r)}return t}(t);n&&n._starte._end&&(e._end=r._end);for(var a=e._end,i=0;ia&&(o._end=a,o.type+=".truncated"),o._start>a&&(o._start=a)}},t.prepareTransaction=function(e){if(e.spans.sort((function(e,t){return e._start-t._start})),this._configService.get("groupSimilarSpans")){var t=this._configService.get("similarSpanThreshold");e.spans=this.groupSmallContinuouslySimilarSpans(e,t)}e.spans=e.spans.filter((function(t){return 0=e._start&&t._end<=e._end})),this.setTransactionContext(e)},t.createTransactionDataModel=function(e){var t=this._configService.get("context"),n=e._start,r=e.spans.map((function(t){var r={id:t.id,transaction_id:e.id,parent_id:t.parentId||e.id,trace_id:e.traceId,name:t.name,type:t.type,subType:t.subType,action:t.action,sync:t.sync,start:t._start-n,duration:t.duration(),context:t.context};return ue(ie,r)})),a=v({},t,e.context),i={id:e.id,trace_id:e.traceId,name:e.name,type:e.type,duration:e.duration(),spans:r,context:a,marks:e.marks,span_count:{started:r.length},sampled:e.sampled};return ue(oe,i)},t.createTransactionPayload=function(e){if(this.adjustTransactionTime(e),this.prepareTransaction(e),this.filterTransaction(e))return this.createTransactionDataModel(e)},t.convertTransactionsToServerModel=function(e){var t=this;return e.map((function(e){return t.createTransactionDataModel(e)}))},t.groupSmallContinuouslySimilarSpans=function(e,t){var n=e.duration(),r=[],a=1;return e.spans.forEach((function(i,o){if(0===r.length)r.push(i);else{var s=r[r.length-1],l=s.type===i.type&&s.subType===i.subType&&s.action===i.action&&s.name===i.name&&i.duration()/n=n.duration.max?e.duration:n.duration.max,n.duration.min=e.duration=a.duration.max?e.duration:a.duration.max,a.duration.min=e.duration=this.routeDurationThreshold&&this.addSlowestTxn(e),-1!==this.queueLimit&&this.totalTrans>=this.queueLimit?this.flush():void 0===this.timeoutId&&this._setTimer()}},e}(),we=function(){function e(e,t){t||(t={}),this.onFlush=e,this.items=[],this.queueLimit=t.queueLimit||-1,this.flushInterval=t.flushInterval||0,this.timeoutId=void 0}var t=e.prototype;return t._setTimer=function(){var e=this;this.timeoutId=setTimeout((function(){e.flush()}),this.flushInterval)},t.flush=function(){this.onFlush(this.items),this._clear()},t._clear=function(){void 0!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=void 0),this.items=[]},t.add=function(e){this.items.push(e),-1!==this.queueLimit&&this.items.length>=this.queueLimit?this.flush():void 0===this.timeoutId&&this._setTimer()},e}(),Se=function(e,t,n){var r,a=n.context||this,i=n.limit,o=n.interval,s=n.countFn||function(){},l=0;return function(){var n="function"==typeof s&&s.apply(a,arguments);return"number"!=typeof n&&(n=1),l+=n,void 0===r&&(r=setTimeout((function(){r=void(l=0)}),o)),i"}),n},e}(),xe=function(){function e(e){e||(e={}),this.levels=["trace","debug","info","warn","error"],this.level=e.level||"info",this.prefix=e.prefix||"",this.resetLogMethods()}var t=e.prototype;return t.shouldLog=function(e){return this.levels.indexOf(e)>=this.levels.indexOf(this.level)},t.setLevel=function(e){this.level=e,this.resetLogMethods()},t.resetLogMethods=function(){var e=this;this.levels.forEach((function(t){e[t]=e.shouldLog(t)?function(){var n,r=e.prefix;switch(t){case"trace":case"debug":n="info";break;default:n=t}var a=arguments;if(r&&("function"==typeof r&&(r=r(t)),a[0]=r+a[0]),console){var i=console[n]?console[n]:console.log;"function"==typeof i&&i.apply(console,a)}}:b}))},e}(),_e=function(){function e(){this._serviceCreators={},this._serviceInstances={},this.initialized=!1}var t=e.prototype;return t.registerCoreServices=function(){var e=this;this.registerServiceCreator("ConfigService",(function(){return new Ee})),this.registerServiceCreator("LoggingService",(function(){return new xe})),this.registerServiceCreator("ApmServer",(function(){return new Te(e.getService("ConfigService"),e.getService("LoggingService"))}))},t.init=function(){if(!this.initialized){this.initialized=!0;var e=this.getService("ConfigService");e.init();var t=this.getService("LoggingService");n(t,e),e.events.observe(O,(function(){n(t,e)})),this.getService("ApmServer").init()}function n(e,t){var n=t.get("debug"),r=t.get("logLevel");!0===n&&"trace"!==r?e.setLevel("debug"):e.setLevel(r)}},t.registerServiceCreator=function(e,t){this._serviceCreators[e]=t},t.registerServiceInstance=function(e,t){this._serviceInstances[e]=t},t.getService=function(e){if(!this._serviceInstances[e]){if("function"!=typeof this._serviceCreators[e])throw new Error("Can not get service, No creator for: "+e);this._serviceInstances[e]=this._serviceCreators[e](this)}return this._serviceInstances[e]},e}(),Ce=function(){function e(e,t){this._disable=t,this.serviceFactory=e,this._initialized=!1}var t=e.prototype;return t.init=function(e){if(this.isEnabled()&&!this._initialized){this._initialized=!0;var t=this.serviceFactory.getService("ConfigService");t.setVersion("4.0.2"),this.config(e);var n=this.serviceFactory.getService("LoggingService");if(!t.isActive())return n.info("Atatus agent is inactive"),this;this.serviceFactory.init();var r=(a=t.get("instrument"),i=t.get("disableInstrumentations"),(o={})[F]=!1,o[B]=!1,o[q]=!1,o[A]=!1,o[U]=!1,s=o,a&&Object.keys(s).forEach((function(e){-1===i.indexOf(e)&&(s[e]=!0)})),s);this.serviceFactory.getService("PerformanceMonitoring").init(r),r[U]&&this.serviceFactory.getService("ErrorLogging").registerGlobalEventListener(),r[A]&&t.get("sendPageLoadTransaction")&&this._sendPageLoadMetrics()}var a,i,o,s;return this},t._sendPageLoadMetrics=function(){var e=this.serviceFactory.getService("TransactionService").startTransaction(void 0,A,{canReuse:!0});e&&e.addTask(A);var t=function(){setTimeout((function(){e&&e.removeTask(A)}))};"complete"===document.readyState?t():window.addEventListener("load",t)},t.isEnabled=function(){return!this._disable},t.observe=function(e,t){this.serviceFactory.getService("ConfigService").events.observe(e,t)},t.config=function(e){var t=this.serviceFactory.getService("ConfigService"),n=t.validate(e),r=n.missing,a=n.invalid;if(0===r.length&&0===a.length)t.setConfig(e);else{var i=this.serviceFactory.getService("LoggingService"),o="RUM Agent isn't correctly configured: ";0
'};function n(e,t,n){return en?n:e}function r(e){return 100*(-1+e)}function a(e,n,a){var i;return(i="translate3d"===t.positionUsing?{transform:"translate3d("+r(e)+"%,0,0)"}:"translate"===t.positionUsing?{transform:"translate("+r(e)+"%,0)"}:{"margin-left":r(e)+"%"}).transition="all "+n+"ms "+a,i}e.configure=function(e){var n,r;for(n in e)void 0!==(r=e[n])&&e.hasOwnProperty(n)&&(t[n]=r);return this},e.status=null,e.set=function(r){var s=e.isStarted();r=n(r,t.minimum,1),e.status=1===r?null:r;var l=e.render(!s),u=l.querySelector(t.barSelector),c=t.speed,d=t.easing;return l.offsetWidth,i((function(n){""===t.positionUsing&&(t.positionUsing=e.getPositioningCSS()),o(u,a(r,c,d)),1===r?(o(l,{transition:"none",opacity:1}),l.offsetWidth,setTimeout((function(){o(l,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){e.remove(),n()}),c)}),c)):setTimeout(n,c)})),this},e.isStarted=function(){return"number"===typeof e.status},e.start=function(){e.status||e.set(0);var n=function(){setTimeout((function(){e.status&&(e.trickle(),n())}),t.trickleSpeed)};return t.trickle&&n(),this},e.done=function(t){return t||e.status?e.inc(.3+.5*Math.random()).set(1):this},e.inc=function(t){var r=e.status;return r?("number"!==typeof t&&(t=(1-r)*n(Math.random()*r,.1,.95)),r=n(r+t,0,.994),e.set(r)):e.start()},e.trickle=function(){return e.inc(Math.random()*t.trickleRate)},function(){var t=0,n=0;e.promise=function(r){return r&&"resolved"!==r.state()?(0===n&&e.start(),t++,n++,r.always((function(){0===--n?(t=0,e.done()):e.set((t-n)/t)})),this):this}}(),e.render=function(n){if(e.isRendered())return document.getElementById("nprogress");l(document.documentElement,"nprogress-busy");var a=document.createElement("div");a.id="nprogress",a.innerHTML=t.template;var i,s=a.querySelector(t.barSelector),u=n?"-100":r(e.status||0),c=document.querySelector(t.parent);return o(s,{transition:"all 0 linear",transform:"translate3d("+u+"%,0,0)"}),t.showSpinner||(i=a.querySelector(t.spinnerSelector))&&d(i),c!=document.body&&l(c,"nprogress-custom-parent"),c.appendChild(a),a},e.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(t.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&d(e)},e.isRendered=function(){return!!document.getElementById("nprogress")},e.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var i=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),o=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,i=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+i)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function i(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&i(e,n,r);else i(e,a[1],a[2])}}();function s(e,t){return("string"==typeof e?e:c(e)).indexOf(" "+t+" ")>=0}function l(e,t){var n=c(e),r=n+t;s(n,t)||(e.className=r.substring(1))}function u(e,t){var n,r=c(e);s(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function c(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function d(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return e},void 0===(a="function"===typeof r?r.call(t,n,t,e):r)||(e.exports=a)},730:(e,t,n)=>{"use strict";var r=n(43),a=n(853);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n