PageSourceSearch

https://auspice-us.herokuapp.com/service-worker.js

js auspice-us.herokuapp.com collected 2026-10-03 14:46:46 UTC 19,090 bytes, 1 lines download raw bytes

vendor: 13,112 bytes, line 1
1try{self["workbox:core:7.4.0"]&&_()}catch(e){}const e=(e,...t)=>{let s=e;return t.length>0&&(s+=` :: ${JSON.stringify(t)}`),s};class t extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}try{self["workbox:routing:7.4.0"]&&_()}catch(e){}const s=e=>e&&"object"==typeof e?e:{handle:e};class n{constructor(e,t,n="GET"){this.handler=s(t),this.match=e,this.method=n}setCatchHandler(e){this.catchHandler=s(e)}}class i extends n{constructor(e,t,s){super(({url:t})=>{const s=e.exec(t.href);if(s&&(t.origin===location.origin||0===s.index))return s.slice(1)},t,s)}}class r{constructor(){this.t=new Map,this.i=new Map}get routes(){return this.t}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,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({request:e,event:t}){const s=new URL(e.url,location.href);if(!s.protocol.startsWith("http"))return;const n=s.origin===location.origin,{params:i,route:r}=this.findMatchingRoute({event:t,request:e,sameOrigin:n,url:s});let a=r&&r.handler;const c=e.method;if(!a&&this.i.has(c)&&(a=this.i.get(c)),!a)return;let o;try{o=a.handle({url:s,request:e,event:t,params:i})}catch(e){o=Promise.reject(e)}const l=r&&r.catchHandler;return o instanceof Promise&&(this.o||l)&&(o=o.catch(async n=>{if(l)try{return await l.handle({url:s,request:e,event:t,params:i})}catch(e){e instanceof Error&&(n=e)}if(this.o)return this.o.handle({url:s,request:e,event:t});throw n})),o}findMatchingRoute({url:e,sameOrigin:t,request:s,event:n}){const i=this.t.get(s.method)||[];for(const r of i){let i;const a=r.match({url:e,sameOrigin:t,request:s,event:n});if(a)return i=a,(Array.isArray(i)&&0===i.length||a.constructor===Object&&0===Object.keys(a).length||"boolean"==typeof a)&&(i=void 0),{route:r,params:i}}return{}}setDefaultHandler(e,t="GET"){this.i.set(t,s(e))}setCatchHandler(e){this.o=s(e)}registerRoute(e){this.t.has(e.method)||this.t.set(e.method,[]),this.t.get(e.method).push(e)}unregisterRoute(e){if(!this.t.has(e.method))throw new t("unregister-route-but-not-found-with-method",{method:e.method});const s=this.t.get(e.method).indexOf(e);if(!(s>-1))throw new t("unregister-route-route-not-registered");this.t.get(e.method).splice(s,1)}}let a;const c=()=>(a||(a=new r,a.addFetchListener(),a.addCacheListener()),a);function o(e,s,r){let a;if("string"==typeof e){const t=new URL(e,location.href);a=new n(({url:e})=>e.href===t.href,s,r)}else if(e instanceof RegExp)a=new i(e,s,r);else if("function"==typeof e)a=new n(e,s,r);else{if(!(e instanceof n))throw new t("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});a=e}return c().registerRoute(a),a}const l={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},u=e=>[l.prefix,e,l.suffix].filter(e=>e&&e.length>0).join("-"),f=e=>e||u(l.precache),h=e=>e||u(l.runtime);function d(e,t){const s=t();return e.waitUntil(s),s}try{self["workbox:precaching:7.4.0"]&&_()}catch(e){}function w(e){if(!e)throw new t("add-to-cache-list-unexpected-type",{entry:e});if("string"==typeof e){const t=new URL(e,location.href);return{cacheKey:t.href,url:t.href}}const{revision:s,url:n}=e;if(!n)throw new t("add-to-cache-list-unexpected-type",{entry:e});if(!s){const e=new URL(n,location.href);return{cacheKey:e.href,url:e.href}}const i=new URL(n,location.href),r=new URL(n,location.href);return i.searchParams.set("__WB_REVISION__",s),{cacheKey:i.href,url:r.href}}class p{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:e,state:t})=>{t&&(t.originalRequest=e)},this.cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:s})=>{if("install"===e.type&&t&&t.originalRequest&&t.originalRequest instanceof Request){const e=t.originalRequest.url;s?this.notUpdatedURLs.push(e):this.updatedURLs.push(e)}return s}}}class b{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:e,params:t})=>{const s=(null==t?void 0:t.cacheKey)||this.l.getCacheKeyForURL(e.url);return s?new Request(s,{headers:e.headers}):e},this.l=e}}let v;async function y(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 i=e.clone(),r={headers:new Headers(i.headers),status:i.status,statusText:i.statusText},a=function(){if(void 0===v){const e=new Response("");if("body"in e)try{new Response(e.body),v=!0}catch(e){v=!1}v=!1}return v}()?i.body:await i.blob();return new Response(a,r)}function g(e,t){const s=new URL(e);for(const e of t)s.searchParams.delete(e);return s.href}class m{constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}}const R=new Set;try{self["workbox:strategies:7.4.0"]&&_()}catch(e){}function q(e){return"string"==typeof e?new Request(e):e}class j{constructor(e,t){this.u={},Object.assign(this,t),this.event=t.event,this.h=e,this.p=new m,this.v=[],this.m=[...e.plugins],this.R=new Map;for(const e of this.m)this.R.set(e,{});this.event.waitUntil(this.p.promise)}async fetch(e){const{event:s}=this;let n=q(e);if("navigate"===n.mode&&s instanceof FetchEvent&&s.preloadResponse){const e=await s.preloadResponse;if(e)return e}const i=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const e of this.iterateCallbacks("requestWillFetch"))n=await e({request:n.clone(),event:s})}catch(e){if(e instanceof Error)throw new t("plugin-error-request-will-fetch",{thrownErrorMessage:e.message})}const r=n.clone();try{let e;e=await fetch(n,"navigate"===n.mode?void 0:this.h.fetchOptions);for(const t of this.iterateCallbacks("fetchDidSucceed"))e=await t({event:s,request:r,response:e});return e}catch(e){throw i&&await this.runCallbacks("fetchDidFail",{error:e,event:s,originalRequest:i.clone(),request:r.clone()}),e}}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=q(e);let s;const{cacheName:n,matchOptions:i}=this.h,r=await this.getCacheKey(t,"read"),a=Object.assign(Object.assign({},i),{cacheName:n});s=await caches.match(r,a);for(const e of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await e({cacheName:n,matchOptions:i,cachedResponse:s,request:r,event:this.event})||void 0;return s}async cachePut(e,s){const n=q(e);var i;await(i=0,new Promise(e=>setTimeout(e,i)));const r=await this.getCacheKey(n,"write");if(!s)throw new t("cache-put-with-no-response",{url:(a=r.url,new URL(String(a),location.href).href.replace(new RegExp(`^${location.origin}`),""))});var a;const c=await this.q(s);if(!c)return!1;const{cacheName:o,matchOptions:l}=this.h,u=await self.caches.open(o),f=this.hasCallback("cacheDidUpdate"),h=f?await async function(e,t,s,n){const i=g(t.url,s);if(t.url===i)return e.match(t,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),a=await e.keys(t,r);for(const t of a)if(i===g(t.url,s))return e.match(t,n)}(u,r.clone(),["__WB_REVISION__"],l):null;try{await u.put(r,f?c.clone():c)}catch(e){if(e instanceof Error)throw"QuotaExceededError"===e.name&&await async function(){for(const e of R)await e()}(),e}for(const e of this.iterateCallbacks("cacheDidUpdate"))await e({cacheName:o,oldResponse:h,newResponse:c.clone(),request:r,event:this.event});return!0}async getCacheKey(e,t){const s=`${e.url} | ${t}`;if(!this.u[s]){let n=e;for(const e of this.iterateCallbacks("cacheKeyWillBeUsed"))n=q(await e({mode:t,request:n,event:this.event,params:this.params}));this.u[s]=n}return this.u[s]}hasCallback(e){for(const t of this.h.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.h.plugins)if("function"==typeof t[e]){const s=this.R.get(t),n=n=>{const i=Object.assign(Object.assign({},n),{state:s});return t[e](i)};yield n}}waitUntil(e){return this.v.push(e),e}async doneWaiting(){for(;this.v.length;){const e=this.v.splice(0),t=(await Promise.allSettled(e)).find(e=>"rejected"===e.status);if(t)throw t.reason}}destroy(){this.p.resolve(null)}async q(e){let t=e,s=!1;for(const e of this.iterateCallbacks("cacheWillUpdate"))if(t=await e({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 E{constructor(e={}){this.cacheName=h(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,i=new j(this,{event:t,request:s,params:n}),r=this.j(i,s,t);return[r,this.L(r,i,s,t)]}async j(e,s,n){let i;await e.runCallbacks("handlerWillStart",{event:n,request:s});try{if(i=await this.U(s,e),!i||"error"===i.type)throw new t("no-response",{url:s.url})}catch(t){if(t instanceof Error)for(const r of e.iterateCallbacks("handlerDidError"))if(i=await r({error:t,event:n,request:s}),i)break;if(!i)throw t}for(const t of e.iterateCallbacks("handlerWillRespond"))i=await t({event:n,request:s,response:i});return i}async L(e,t,s,n){let i,r;try{i=await e}catch(r){}try{await t.runCallbacks("handlerDidRespond",{event:n,request:s,response:i}),await t.doneWaiting()}catch(e){e instanceof Error&&(r=e)}if(await t.runCallbacks("handlerDidComplete",{event:n,request:s,response:i,error:r}),t.destroy(),r)throw r}}class L extends E{constructor(e={}){e.cacheName=f(e.cacheName),super(e),this.k=!1!==e.fallbackToNetwork,this.plugins.push(L.copyRedirectedCacheableResponsesPlugin)}async U(e,t){const s=await t.cacheMatch(e);return s||(t.event&&"install"===t.event.type?await this.C(e,t):await this.N(e,t))}async N(e,s){let n;const i=s.params||{};if(!this.k)throw new t("missing-precache-entry",{cacheName:this.cacheName,url:e.url});{const t=i.integrity,r=e.integrity,a=!r||r===t;n=await s.fetch(new Request(e,{integrity:"no-cors"!==e.mode?r||t:void 0})),t&&a&&"no-cors"!==e.mode&&(this._(),await s.cachePut(e,n.clone()))}return n}async C(e,s){this._();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}_(){let e=null,t=0;for(const[s,n]of this.plugins.entries())n!==L.copyRedirectedCacheableResponsesPlugin&&(n===L.defaultPrecacheCacheabilityPlugin&&(e=s),n.cacheWillUpdate&&t++);0===t?this.plugins.push(L.defaultPrecacheCacheabilityPlugin):t>1&&null!==e&&this.plugins.splice(e,1)}}L.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:e})=>!e||e.status>=400?null:e},L.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:e})=>e.redirected?await y(e):e};class U{constructor({cacheName:e,plugins:t=[],fallbackToNetwork:s=!0}={}){this.O=new Map,this.S=new Map,this.I=new Map,this.h=new L({cacheName:f(e),plugins:[...t,new b({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this.h}precache(e){this.addToCacheList(e),this.P||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this.P=!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:i}=w(n),r="string"!=typeof n&&n.revision?"reload":"default";if(this.O.has(i)&&this.O.get(i)!==e)throw new t("add-to-cache-list-conflicting-entries",{firstEntry:this.O.get(i),secondEntry:e});if("string"!=typeof n&&n.integrity){if(this.I.has(e)&&this.I.get(e)!==n.integrity)throw new t("add-to-cache-list-conflicting-integrities",{url:i});this.I.set(e,n.integrity)}if(this.O.set(i,e),this.S.set(i,r),s.length>0){const e=`Workbox is precaching URLs without revision info: ${s.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(e)}}}install(e){return d(e,async()=>{const t=new p;this.strategy.plugins.push(t);for(const[t,s]of this.O){const n=this.I.get(s),i=this.S.get(t),r=new Request(t,{integrity:n,cache:i,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:s},request:r,event:e}))}const{updatedURLs:s,notUpdatedURLs:n}=t;return{updatedURLs:s,notUpdatedURLs:n}})}activate(e){return d(e,async()=>{const e=await self.caches.open(this.strategy.cacheName),t=await e.keys(),s=new Set(this.O.values()),n=[];for(const i of t)s.has(i.url)||(await e.delete(i),n.push(i.url));return{deletedURLs:n}})}getURLsToCacheKeys(){return this.O}getCachedURLs(){return[...this.O.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this.O.get(t.href)}getIntegrityForCacheKey(e){return this.I.get(e)}async matchPrecache(e){const t=e instanceof Request?e.url:e,s=this.getCacheKeyForURL(t);
1if(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 k;const C=()=>(k||(k=new U),k);class x extends n{constructor(e,t){super(({request:s})=>{const n=e.getURLsToCacheKeys();for(const i of function*(e,{ignoreURLParametersMatching:t=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:i}={}){const r=new URL(e,location.href);r.hash="",yield r.href;const a=function(e,t=[]){for(const s of[...e.searchParams.keys()])t.some(e=>e.test(s))&&e.searchParams.delete(s);return e}(r,t);if(yield a.href,s&&a.pathname.endsWith("/")){const e=new URL(a.href);e.pathname+=s,yield e.href}if(n){const e=new URL(a.href);e.pathname+=".html",yield e.href}if(i){const e=i({url:r});for(const t of e)yield t.href}}(s.url,t)){const t=n.get(i);if(t){return{cacheKey:t,integrity:e.getIntegrityForCacheKey(t)}}}},e.strategy)}}var N,O;self.skipWaiting(),self.addEventListener("activate",()=>self.clients.claim()),N={},function(e){C().precache(e)}([{url:"/dist/0035c307a36c17babb8d.png",revision:null},{url:"/dist/09172b1910dff418491f.woff2",revision:null},{url:"/dist/0e059de01500f773b528.woff2",revision:null},{url:"/dist/13fec0d41212fe68ae22.png",revision:null},{url:"/dist/1730310c32752e095ee7.svg",revision:null},{url:"/dist/17e7244f4b78c6b2c7e1.woff",revision:null},{url:"/dist/22f1d97be275c94e30d7.woff",revision:null},{url:"/dist/2b3e1faf89f94a483539.png",revision:null},{url:"/dist/319df0f5492062b546b0.woff",revision:null},{url:"/dist/416d91365b44e4b4f477.png",revision:null},{url:"/dist/4d96f9e685a54d1ef6cf.woff",revision:null},{url:"/dist/5a8eb775259e32d96521.woff",revision:null},{url:"/dist/5d621ef7ab4241807ec2.woff2",revision:null},{url:"/dist/5da2171e8560e58e6c91.woff2",revision:null},{url:"/dist/65e877e527022735c1a1.woff2",revision:null},{url:"/dist/89b95baaf00652c7c3af.woff2",revision:null},{url:"/dist/8f2c4d11474275fbc161.png",revision:null},{url:"/dist/917632e36982ca7933c8.woff2",revision:null},{url:"/dist/91aedf0998a81f1a78e3.woff",revision:null},{url:"/dist/a354bb0b0b0f22de7bef.woff",revision:null},{url:"/dist/auspice.chunk.175.bundle.a931bf0165cab2dcc02d.js",revision:null},{url:"/dist/auspice.chunk.175.bundle.a931bf0165cab2dcc02d.js.LICENSE.txt",revision:"4d4fecba264824af8ba421bc61391057"},{url:"/dist/auspice.chunk.202.bundle.7258d480b460a4386171.js",revision:null},{url:"/dist/auspice.chunk.202.bundle.7258d480b460a4386171.js.LICENSE.txt",revision:"617fd376435e7230f7d7a2c482065b3f"},{url:"/dist/auspice.chunk.244.bundle.c6baf45deaf344d7a8b6.js",revision:null},{url:"/dist/auspice.chunk.331.bundle.f249ec445867b44631c1.js",revision:null},{url:"/dist/auspice.chunk.514.bundle.d5bb40be15d0a9ad94f7.js",revision:null},{url:"/dist/auspice.chunk.546.bundle.8812bfb04284771816f9.js",revision:null},{url:"/dist/auspice.chunk.829.bundle.05d545db1a92cf84d0d7.js",revision:null},{url:"/dist/auspice.chunk.934.bundle.8b9165f5fe6aee96e095.js",revision:null},{url:"/dist/auspice.chunk.967.bundle.a363a4087ede231328ce.js",revision:null},{url:"/dist/auspice.chunk.967.bundle.a363a4087ede231328ce.js.LICENSE.txt",revision:"39bef77c1c8db5f8b10ad293c4bfb697"},{url:"/dist/auspice.chunk.984.bundle.63890c6f60fbc93187b9.js",revision:null},{url:"/dist/auspice.chunk.984.bundle.63890c6f60fbc93187b9.js.LICENSE.txt",revision:"01782c026a03068cd3eb69988ba8fe8e"},{url:"/dist/auspice.chunk.core-vendors.bundle.3aaa54aa70565f5be4ad.js",revision:null},{url:"/dist/auspice.chunk.core-vendors.bundle.3aaa54aa70565f5be4ad.js.LICENSE.txt",revision:"4241942443b4713388199a95c43cf864"},{url:"/dist/auspice.chunk.locales.bundle.b61502f47f7a923ef3a8.js",revision:null},{url:"/dist/auspice.chunk.mainComponent.bundle.23240c064fc67df8a626.js",revision:null},{url:"/dist/auspice.chunk.mainComponent.bundle.23240c064fc67df8a626.js.LICENSE.txt",revision:"617fd376435e7230f7d7a2c482065b3f"},{url:"/dist/auspice.chunk.mapComponent.bundle.ec399b0ecfda12dfa073.js",revision:null},{url:"/dist/auspice.chunk.mapComponent.bundle.ec399b0ecfda12dfa073.js.LICENSE.txt",revision:"df5431cf0adde14d3f34e6c1fd42d992"},{url:"/dist/auspice.chunk.other-vendors.bundle.9687338638828aa48c90.js",revision:null},{url:"/dist/auspice.chunk.other-vendors.bundle.9687338638828aa48c90.js.LICENSE.txt",revision:"19a216684364d684dd43f4479c654aba"},{url:"/dist/auspice.main.bundle.a15b9104449e7ec8e875.js",revision:null},{url:"/dist/auspice.polyfills.bundle.e0ff625916078bc1abc7.js",revision:null},{url:"/dist/auspice.polyfills.bundle.e0ff625916078bc1abc7.js.LICENSE.txt",revision:"d5666d5613f35fefede06086a95988b1"},{url:"/dist/auspice.runtime.bundle.dfcb6a11b4262de2f3ac.js",revision:null},{url:"/dist/bd29000d14b782484b32.woff",revision:null},{url:"/dist/be7f3d32a138ba64b9d0.woff",revision:null},{url:"/dist/c9984902e51d6ba5445b.png",revision:null},{url:"/dist/dc62e1fd720db6f7d418.woff2",revision:null},{url:"/dist/e501e52fadfacb5329ed.woff",revision:null},{url:"/dist/f1405bd8a987c2ea8a67.woff2",revision:null},{url:"/dist/f33015cf2124b2046860.woff2",revision:null},{url:"/dist/fc937feae2803a928972.png",revision:null},{url:"/dist/index.html",revision:"9222931b78f2a526f3322700174d7f14"}]),function(e){const t=C();o(new x(t,e))}(N),self.addEventListener("activate",e=>{const t=f();e.waitUntil((async(e,t="-precache-")=>{const s=(await self.caches.keys()).filter(s=>s.includes(t)&&s.includes(self.registration.scope)&&s!==e);return await Promise.all(s.map(e=>
1self.caches.delete(e))),s})(t).then(e=>{}))}),o(new class extends n{constructor(e,{allowlist:t=[/./],denylist:s=[]}={}){super(e=>this.K(e),e),this.T=t,this.W=s}K({url:e,request:t}){if(t&&"navigate"!==t.mode)return!1;const s=e.pathname+e.search;for(const e of this.W)if(e.test(s))return!1;return!!this.T.some(e=>e.test(s))}}((O="/dist/index.html",C().createHandlerBoundToURL(O)),{allowlist:[/^\/(\?.*)?$/]}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.