PageSourceSearch

https://www.effi.de/sw.js

js effi.de collected 2026-10-01 23:53:23 UTC 37,336 bytes, 2 lines download raw bytes

1"use strict";(()=>{var Me=Object.defineProperty;var We=(e,t,s)=>t in e?Me(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var i=(e,t,s)=>We(e,typeof t!="symbol"?t+"":t,s);var w={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"serwist",runtime:"runtime",suffix:typeof registration<"u"?registration.scope:""},B=e=>[w.prefix,e,w.suffix].filter(t=>t&&t.length>0).join("-"),Ke=e=>{for(let t of Object.keys(w))e(t)},y={updateDetails:e=>{Ke(t=>{let s=e[t];typeof s=="string"&&(w[t]=s)})},getGoogleAnalyticsName:e=>e||B(w.googleAnalytics),getPrecacheName:e=>e||B(w.precache),getPrefix:()=>w.prefix,getRuntimeName:e=>e||B(w.runtime),getSuffix:()=>w.suffix},D;function re(){if(D===void 0){let e=new Response("");if("body"in e)try{new Response(e.body),D=!0}catch{D=!1}D=!1}return D}var He=(e,...t)=>{let s=e;return t.length>0&&(s+=` :: ${JSON.stringify(t)}`),s};var je=He,h=class extends Error{constructor(t,s){let r=je(t,s);super(r);i(this,"details");this.name=t,this.details=s}};var ae=e=>new URL(String(e),location.href).href.replace(new RegExp(`^${location.origin}`),"");function S(e){return new Promise(t=>setTimeout(t,e))}var M=new Set;function se(e,t){let s=new URL(e);for(let r of t)s.searchParams.delete(r);return s.href}async function ne(e,t,s,r){let a=se(t.url,s);if(t.url===a)return e.match(t,r);let n={...r,ignoreSearch:!0},o=await e.keys(t,n);for(let c of o)if(a===se(c.url,s))return e.match(c,r)}var oe=class{constructor(){i(this,"promise");i(this,"resolve");i(this,"reject");this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}},ie=async()=>{for(let e of M)await e()},Ge="-precache-",Qe=async(e,t=Ge)=>{let s=(await self.caches.keys()).filter(r=>r.includes(t)&&r.includes(self.registration.scope)&&r!==e);return await Promise.all(s.map(r=>
1self.caches.delete(r))),s},ce=e=>{self.addEventListener("activate",t=>{t.waitUntil(Qe(y.getPrecacheName(e)).then(s=>{}))})},le=()=>{self.addEventListener("activate",()=>self.clients.claim())},W=(e,t)=>{let s=t();return e.waitUntil(s),s};var j=(e,t)=>t.some(s=>e instanceof s),ue,he;function ze(){return ue||(ue=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function Je(){return he||(he=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}var G=new WeakMap,K=new WeakMap,U=new WeakMap;function Ye(e){let t=new Promise((s,r)=>{let a=()=>{e.removeEventListener("success",n),e.removeEventListener("error",o)},n=()=>{s(_(e.result)),a()},o=()=>{r(e.error),a()};e.addEventListener("success",n),e.addEventListener("error",o)});return U.set(t,e),t}function Xe(e){if(G.has(e))return;let t=new Promise((s,r)=>{let a=()=>{e.removeEventListener("complete",n),e.removeEventListener("error",o),e.removeEventListener("abort",o)},n=()=>{s(),a()},o=()=>{r(e.error||new DOMException("AbortError","AbortError")),a()};e.addEventListener("complete",n),e.addEventListener("error",o),e.addEventListener("abort",o)});G.set(e,t)}var Q={get(e,t,s){if(e instanceof IDBTransaction){if(t==="done")return G.get(e);if(t==="store")return s.objectStoreNames[1]?void 0:s.objectStore(s.objectStoreNames[0])}return _(e[t])},set(e,t,s){return e[t]=s,!0},has(e,t){return e instanceof IDBTransaction&&(t==="done"||t==="store")?!0:t in e}};function fe(e){Q=e(Q)}function Ze(e){return Je().includes(e)?function(...t){return e.apply(z(this),t),_(this.request)}:function(...t){return _(e.apply(z(this),t))}}function et(e){return typeof e=="function"?Ze(e):(e instanceof IDBTransaction&&Xe(e),j(e,ze())?new Proxy(e,Q):e)}function _(e){if(e instanceof IDBRequest)return Ye(e);if(K.has(e))return K.get(e);let t=et(e);return t!==e&&(K.set(e,t),U.set(t,e)),t}var z=e=>U.get(e);function P(e,t,{blocked:s,upgrade:r,blocking:a,terminated:n}={}){let o=indexedDB.open(e,t),c=_(o);return r&&o.addEventListener("upgradeneeded",l=>{r(_(o.result),l.oldVersion,l.newVersion,_(o.transaction),l)}),s&&o.addEventListener("blocked",l=>s(l.oldVersion,l.newVersion,l)),c.then(l=>{n&&l.addEventListener("close",()=>n()),a&&l.addEventListener("versionchange",u=>a(u.oldVersion,u.newVersion,u))}).catch(()=>{}),c}function me(e,{blocked:t}={}){let s=indexedDB.deleteDatabase(e);return t&&s.addEventListener("blocked",r=>t(r.oldVersion,r)),_(s).then(()=>{})}var tt=["get","getKey","getAll","getAllKeys","count"],st=["put","add","delete","clear"],H=new Map;function de(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(H.get(t))return H.get(t);let s=t.replace(/FromIndex$/,""),r=t!==s,a=st.includes(s);if(!(s in(r?IDBIndex:IDBObjectStore).prototype)||!(a||tt.includes(s)))return;let n=async function(o,...c){let l=this.transaction(o,a?"readwrite":"readonly"),u=l.store;return r&&(u=u.index(c.shift())),(await Promise.all([u[s](...c),a&&l.done]))[0]};return H.set(t,n),n}fe(e=>({...e,get:(t,s,r)=>de(t,s)||e.get(t,s,r),has:(t,s)=>!!de(t,s)||e.has(t,s)}));var rt=["continue","continuePrimaryKey","advance"],pe={},J=new WeakMap,we=new WeakMap,at={get(e,t){if(!rt.includes(t))return e[t];let s=pe[t];return s||(s=pe[t]=function(...r){J.set(this,we.get(this)[t](...r))}),s}};async function*nt(...e){let t=this;if(t instanceof IDBCursor||(t=await t.openCursor(...e)),!t)return;t=t;let s=new Proxy(t,at);for(we.set(s,t),U.set(s,z(t));t;)yield s,t=await(J.get(s)||t.continue()),J.delete(s)}function ge(e,t){return t===Symbol.asyncIterator&&j(e,[IDBIndex,IDBObjectStore,IDBCursor])||t==="iterate"&&j(e,[IDBIndex,IDBObjectStore])}fe(e=>({...e,get(t,s,r){return ge(t,s)?nt:e.get(t,s,r)},has(t,s){return ge(t,s)||e.has(t,s)}}));var _e=async(e,t)=>{let s=null;if(e.url&&(s=new URL(e.url).origin),s!==self.location.origin)throw new h("cross-origin-copy-response",{origin:s});let r=e.clone(),a={headers:new Headers(r.headers),status:r.status,statusText:r.statusText},n=t?t(a):a,o=re()?r.body:await r.blob();return new Response(o,n)},Re=()=>{self.__WB_DISABLE_DEV_LOGS=!0},ye=3,ot="serwist-background-sync",N="requests",q="queueName",it=class{constructor(){i(this,"_db",null)}async addEntry(e){let t=(await this.getDb()).transaction(N,"readwrite",{durability:"relaxed"});await t.store.add(e),await t.done}async getFirstEntryId(){return(await(await this.getDb()).transaction(N).store.openCursor())?.value.id}async getAllEntriesByQueueName(e){let t=await(await this.getDb()).getAllFromIndex(N,q,IDBKeyRange.only(e));return t||[]}async getEntryCountByQueueName(e){return(await this.getDb()).countFromIndex(N,q,IDBKeyRange.only(e))}async deleteEntry(e){await(await this.getDb()).delete(N,e)}async getFirstEntryByQueueName(e){return await this.getEndEntryFromIndex(IDBKeyRange.only(e),"next")}async getLastEntryByQueueName(e){return await this.getEndEntryFromIndex(IDBKeyRange.only(e),"prev")}async getEndEntryFromIndex(e,t){return(await(await this.getDb()).transaction(N).store.index(q).openCursor(e,t))?.value}async getDb(){return this._db||(this._db=await P(ot,ye,{upgrade:this._upgradeDb})),this._db}_upgradeDb(e,t){t>0&&t<ye&&e.objectStoreNames.contains(N)&&e.deleteObjectStore(N),e.createObjectStore(N,{autoIncrement:!0,keyPath:"id"}).createIndex(q,q,{unique:!1})}},be=class{constructor(e){i(this,"_queueName");i(this,"_queueDb");this._queueName=e,this._queueDb=new it}async pushEntry(e){delete e.id,e.queueName=this._queueName,await this._queueDb.addEntry(e)}async unshiftEntry(e){let t=await this._queueDb.getFirstEntryId();t?e.id=t-1:delete e.id,e.queueName=this._queueName,await this._queueDb.addEntry(e)}async popEntry(){return this._removeEntry(await this._queueDb.getLastEntryByQueueName(this._queueName))}async shiftEntry(){return this._removeEntry(await this._queueDb.getFirstEntryByQueueName(this._queueName))}async getAll(){return await this._queueDb.getAllEntriesByQueueName(this._queueName)}async size(){return await this._queueDb.getEntryCountByQueueName(this._queueName)}async deleteEntry(e){await this._queueDb.deleteEntry(e)}async _removeEntry(e){return e&&await this.deleteEntry(e.id),e}},ct=["method","referrer","referrerPolicy","mode","credentials","cache","redirect","integrity","keepalive"],Z=class X{constructor(t){i(this,"_requestData");t.mode==="navigate"&&(t.mode="same-origin"),this._requestData=t}
1static async fromRequest(t){let s={url:t.url,headers:{}};t.method!=="GET"&&(s.body=await t.clone().arrayBuffer()),t.headers.forEach((r,a)=>{s.headers[a]=r});for(let r of ct)t[r]!==void 0&&(s[r]=t[r]);return new X(s)}toObject(){let t=Object.assign({},this._requestData);return t.headers=Object.assign({},this._requestData.headers),t.body&&(t.body=t.body.slice(0)),t}toRequest(){return new Request(this._requestData.url,this._requestData)}clone(){return new X(this.toObject())}},Ne="serwist-background-sync",lt=1440*7,Y=new Set,Ee=e=>{let t={request:new Z(e.requestData).toRequest(),timestamp:e.timestamp};return e.metadata&&(t.metadata=e.metadata),t},ve=class{constructor(e,{forceSyncFallback:t,onSync:s,maxRetentionTime:r}={}){i(this,"_name");i(this,"_onSync");i(this,"_maxRetentionTime");i(this,"_queueStore");i(this,"_forceSyncFallback");i(this,"_syncInProgress",!1);i(this,"_requestsAddedDuringSync",!1);if(Y.has(e))throw new h("duplicate-queue-name",{name:e});Y.add(e),this._name=e,this._onSync=s||this.replayRequests,this._maxRetentionTime=r||lt,this._forceSyncFallback=!!t,this._queueStore=new be(this._name),this._addSyncListener()}get name(){return this._name}async pushRequest(e){await this._addRequest(e,"push")}async unshiftRequest(e){await this._addRequest(e,"unshift")}async popRequest(){return this._removeRequest("pop")}async shiftRequest(){return this._removeRequest("shift")}async getAll(){let e=await this._queueStore.getAll(),t=Date.now(),s=[];for(let r of e){let a=this._maxRetentionTime*60*1e3;t-r.timestamp>a?await this._queueStore.deleteEntry(r.id):s.push(Ee(r))}return s}async size(){return await this._queueStore.size()}async _addRequest({request:e,metadata:t,timestamp:s=Date.now()},r){let a={requestData:(await Z.fromRequest(e.clone())).toObject(),timestamp:s};switch(t&&(a.metadata=t),r){case"push":await this._queueStore.pushEntry(a);break;case"unshift":await this._queueStore.unshiftEntry(a);break}this._syncInProgress?this._requestsAddedDuringSync=!0:await this.registerSync()}async _removeRequest(e){let t=Date.now(),s;switch(e){case"pop":s=await this._queueStore.popEntry();break;case"shift":s=await this._queueStore.shiftEntry();break}if(s){let r=this._maxRetentionTime*60*1e3;return t-s.timestamp>r?this._removeRequest(e):Ee(s)}}async replayRequests(){let e;for(;e=await this.shiftRequest();)try{await fetch(e.request.clone())}catch{throw await this.unshiftRequest(e),new h("queue-replay-failed",{name:this._name})}}async registerSync(){if("sync"in self.registration&&!this._forceSyncFallback)try{await self.registration.sync.register(`${Ne}:${this._name}`)}catch{}}_addSyncListener(){"sync"in self.registration&&!this._forceSyncFallback?self.addEventListener("sync",e=>{if(e.tag===`${Ne}:${this._name}`){let t=async()=>{this._syncInProgress=!0;let s;try{await this._onSync({queue:this})}catch(r){if(r instanceof Error)throw s=r,s}finally{this._requestsAddedDuringSync&&!(s&&!e.lastChance)&&await this.registerSync(),this._syncInProgress=!1,this._requestsAddedDuringSync=!1}};e.waitUntil(t())}}):this._onSync({queue:this})}static get _queueNames(){return Y}},xe=class{constructor(e,t){i(this,"_queue");this._queue=new ve(e,t)}async fetchDidFail({request:e}){await this._queue.pushRequest({request:e})}},De={cacheWillUpdate:async({response:e})=>e.status===200||e.status===0?e:null};function k(e){return typeof e=="string"?new Request(e):e}var Se=class{constructor(e,t){i(this,"event");i(this,"request");i(this,"url");i(this,"params");i(this,"_cacheKeys",{});i(this,"_strategy");i(this,"_handlerDeferred");i(this,"_extendLifetimePromises");i(this,"_plugins");i(this,"_pluginStateMap");this.event=t.event,this.request=t.request,t.url&&(this.url=t.url,this.params=t.params),this._strategy=e,this._handlerDeferred=new oe,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(let s of this._plugins)this._pluginStateMap.set(s,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){let{event:t}=this,s=k(e),r=await this.getPreloadResponse();if(r)return r;let a=this.hasCallback("fetchDidFail")?s.clone():null;try{for(let o of this.iterateCallbacks("requestWillFetch"))s=await o({request:s.clone(),event:t})}catch(o){if(o instanceof Error)throw new h("plugin-error-request-will-fetch",{thrownErrorMessage:o.message})}let n=s.clone();try{let o;o=await fetch(s,s.mode==="navigate"?void 0:this._strategy.fetchOptions);for(let c of this.iterateCallbacks("fetchDidSucceed"))o=await c({event:t,request:n,response:o});return o}catch(o){throw a&&await this.runCallbacks("fetchDidFail",{error:o,event:t,originalRequest:a.clone(),request:n.clone()}),o}}async fetchAndCachePut(e){let t=await this.fetch(e),s=t.clone();return this.waitUntil(this.cachePut(e,s)),t}async cacheMatch(e){let t=k(e),s,{cacheName:r,matchOptions:a}=this._strategy,n=await this.getCacheKey(t,"read"),o={...a,cacheName:r};s=await caches.match(n,o);for(let c of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await c({cacheName:r,matchOptions:a,cachedResponse:s,request:n,event:this.event})||void 0;return s}async cachePut(e,t){let s=k(e);await S(0);let r=await this.getCacheKey(s,"write");if(!t)throw new h("cache-put-with-no-response",{url:ae(r.url)});let a=await this._ensureResponseSafeToCache(t);if(!a)return!1;let{cacheName:n,matchOptions:o}=this._strategy,c=await self.caches.open(n),l=this.hasCallback("cacheDidUpdate"),u=l?await ne(c,r.clone(),["__WB_REVISION__"],o):null;try{await c.put(r,l?a.clone():a)}catch(d){if(d instanceof Error)throw d.name==="QuotaExceededError"&&await ie(),d}for(let d of this.iterateCallbacks("cacheDidUpdate"))await d({cacheName:n,oldResponse:u,newResponse:a.clone(),request:r,event:this.event});return!0}async getCacheKey(e,t){let s=`${e.url} | ${t}`;if(!this._cacheKeys[s]){let r=e;for(let a of this.iterateCallbacks("cacheKeyWillBeUsed"))r=k(await a({mode:t,request:r,event:this.event,params:this.params}));this._cacheKeys[s]=r}return this._cacheKeys[s]}hasCallback(e){for(let t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(let s of this.iterateCallbacks(e))await s(t)}*iterateCallbacks(e){for(let t of this._strategy.plugins)if(typeof t[e]=="function"){let s=this._pluginStateMap.get(t);yield a=>{let n={...a,state:s};return t[e](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 getPreloadResponse(){if(this.event instanceof FetchEvent&&this.event.request.mode==="navigate"&&"preloadResponse"in this.event)try{let e=await this.event.preloadResponse;if(e)return e}catch{return}}async _ensureResponseSafeToCache(e){let t=e,s=!1;for(let r of this.iterateCallbacks("cacheWillUpdate"))if(t=await r({request:this.request,response:t,event:this.event})||void 0,s=!0,!t)break;return s||t&&t.status!==200&&(t=void 0),t}},b=class{constructor(e={}
1){i(this,"cacheName");i(this,"plugins");i(this,"fetchOptions");i(this,"matchOptions");this.cacheName=y.getRuntimeName(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){let[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});let t=e.event,s=typeof e.request=="string"?new Request(e.request):e.request,r=new Se(this,e.url?{event:t,request:s,url:e.url,params:e.params}:{event:t,request:s}),a=this._getResponse(r,s,t);return[a,this._awaitComplete(a,r,s,t)]}async _getResponse(e,t,s){await e.runCallbacks("handlerWillStart",{event:s,request:t});let r;try{if(r=await this._handle(t,e),r===void 0||r.type==="error")throw new h("no-response",{url:t.url})}catch(a){if(a instanceof Error){for(let n of e.iterateCallbacks("handlerDidError"))if(r=await n({error:a,event:s,request:t}),r!==void 0)break}if(!r)throw a}for(let a of e.iterateCallbacks("handlerWillRespond"))r=await a({event:s,request:t,response:r});return r}async _awaitComplete(e,t,s,r){let a,n;try{a=await e}catch{}try{await t.runCallbacks("handlerDidRespond",{event:r,request:s,response:a}),await t.doneWaiting()}catch(o){o instanceof Error&&(n=o)}if(await t.runCallbacks("handlerDidComplete",{event:r,request:s,response:a,error:n}),t.destroy(),n)throw n}};var $=class extends b{constructor(t={}){super(t);i(this,"_networkTimeoutSeconds");this.plugins.some(s=>"cacheWillUpdate"in s)||this.plugins.unshift(De),this._networkTimeoutSeconds=t.networkTimeoutSeconds||0}async _handle(t,s){let r=[],a=[],n;if(this._networkTimeoutSeconds){let{id:l,promise:u}=this._getTimeoutPromise({request:t,logs:r,handler:s});n=l,a.push(u)}let o=this._getNetworkPromise({timeoutId:n,request:t,logs:r,handler:s});a.push(o);let c=await s.waitUntil((async()=>await s.waitUntil(Promise.race(a))||await o)());if(!c)throw new h("no-response",{url:t.url});return c}_getTimeoutPromise({request:t,logs:s,handler:r}){let a;return{promise:new Promise(n=>{a=setTimeout(async()=>{n(await r.cacheMatch(t))},this._networkTimeoutSeconds*1e3)}),id:a}}async _getNetworkPromise({timeoutId:t,request:s,logs:r,handler:a}){let n,o;try{o=await a.fetchAndCachePut(s)}catch(c){c instanceof Error&&(n=c)}return t&&clearTimeout(t),(n||!o)&&(o=await a.cacheMatch(s)),o}},I=class extends b{constructor(t={}){super(t);i(this,"_networkTimeoutSeconds");this._networkTimeoutSeconds=t.networkTimeoutSeconds||0}async _handle(t,s){let r,a;try{let n=[s.fetch(t)];if(this._networkTimeoutSeconds){let o=S(this._networkTimeoutSeconds*1e3);n.push(o)}if(a=await Promise.race(n),!a)throw new Error(`Timed out the network response after ${this._networkTimeoutSeconds} seconds.`)}catch(n){n instanceof Error&&(r=n)}if(!a)throw new h("no-response",{url:t.url,error:r});return a}};var C=e=>e&&typeof e=="object"?e:{handle:e},p=class{constructor(e,t,s="GET"){i(this,"handler");i(this,"match");i(this,"method");i(this,"catchHandler");this.handler=C(t),this.match=e,this.method=s}setCatchHandler(e){this.catchHandler=C(e)}},g,qe=(g=class extends b{constructor(s={}){s.cacheName=y.getPrecacheName(s.cacheName);super(s);i(this,"_fallbackToNetwork");this._fallbackToNetwork=s.fallbackToNetwork!==!1,this.plugins.push(g.copyRedirectedCacheableResponsesPlugin)}async _handle(s,r){let a=await r.getPreloadResponse();if(a)return a;let n=await r.cacheMatch(s);return n||(r.event&&r.event.type==="install"?await this._handleInstall(s,r):await this._handleFetch(s,r))}async _handleFetch(s,r){let a,n=r.params||{};if(this._fallbackToNetwork){let o=n.integrity,c=s.integrity,l=!c||c===o;if(a=await r.fetch(new Request(s,{integrity:s.mode!=="no-cors"?c||o:void 0})),o&&l&&s.mode!=="no-cors"){this._useDefaultCacheabilityPluginIfNeeded();let u=await r.cachePut(s,a.clone())}}else throw new h("missing-precache-entry",{cacheName:this.cacheName,url:s.url});return a}async _handleInstall(s,r){this._useDefaultCacheabilityPluginIfNeeded();let a=await r.fetch(s);if(!await r.cachePut(s,a.clone()))throw new h("bad-precaching-response",{url:s.url,status:a.status});return a}_useDefaultCacheabilityPluginIfNeeded(){let s=null,r=0;for(let[a,n]of this.plugins.entries())n!==g.copyRedirectedCacheableResponsesPlugin&&(n===g.defaultPrecacheCacheabilityPlugin&&(s=a),n.cacheWillUpdate&&r++);r===0?this.plugins.push(g.defaultPrecacheCacheabilityPlugin):r>1&&s!==null&&this.plugins.splice(s,1)}},i(g,"defaultPrecacheCacheabilityPlugin",{async cacheWillUpdate({response:s}){return!s||s.status>=400?null:s}}),i(g,"copyRedirectedCacheableResponsesPlugin",{async cacheWillUpdate({response:s}){return s.redirected?await _e(s):s}}),g),Ce=class extends p{constructor(t,{allowlist:s=[/./],denylist:r=[]}={}){super(a=>this._match(a),t);i(this,"_allowlist");i(this,"_denylist");this._allowlist=s,this._denylist=r}_match({url:t,request:s}){if(s&&s.mode!=="navigate")return!1;let r=t.pathname+t.search;for(let a of this._denylist)if(a.test(r))return!1;return!!this._allowlist.some(a=>a.test(r))}},ee=()=>!!self.registration?.navigationPreload,Te=e=>{ee()&&self.addEventListener("activate",t=>{t.waitUntil(self.registration.navigationPreload.enable().then(()=>{e&&self.registration.navigationPreload.setHeaderValue(e)}))})},te=()=>{ee()&&self.addEventListener("activate",e=>{e.waitUntil(self.registration.navigationPreload.disable().then(()=>{}))})},ut=(e,t=[])=>{for(let s of[...e.searchParams.keys()])t.some(r=>r.test(s))&&e.searchParams.delete(s);return e};function*Oe(e,{directoryIndex:t="index.html",ignoreURLParametersMatching:s=[/^utm_/,/^fbclid$/],cleanURLs:r=!0,urlManipulation:a}={}){let n=new URL(e,location.href);n.hash="",yield n.href;let o=ut(n,s);if(yield o.href,t&&o.pathname.endsWith("/")){let c=new URL(o.href);c.pathname+=t,yield c.href}if(r){let c=new URL(o.href);c.pathname+=".html",yield c.href}if(a){let c=a({url:n});for(let l of c)yield l.href}}var Ae=class extends p{constructor(e,t,s){let r=({url:a})=>{let n=e.exec(a.href);if(n&&!(a.origin!==location.origin&&n.index!==0))return n.slice(1)};super(r,t,s)}},Ue=e=>{y.updateDetails(e)},ht="__WB_REVISION__",Pe=e=>{if(!e)throw new h("add-to-cache-list-unexpected-type",{entry:e});if(typeof e=="string"){let n=new URL(e,location.href);return{cacheKey:n.href,url:n.href}}let{revision:t,url:s}=e;if(!s)throw new h("add-to-cache-list-unexpected-type",{entry:e});if(!t){let n=new URL(s,location.href);return{cacheKey:n.href,url:n.href}}let r=new URL(s,location.href),a=new URL(s,location.href);return r.searchParams.set(ht,t),{cacheKey:r.href,url:a.href}},ke=class{constructor(){i(this,"updatedURLs",[]);i(this,"notUpdatedURLs",[]);i(this,"handlerWillStart",async({request:e,state:t})=>{t&&(t.originalRequest=e)});
1i(this,"cachedResponseWillBeUsed",async({event:e,state:t,cachedResponse:s})=>{if(e.type==="install"&&t?.originalRequest&&t.originalRequest instanceof Request){let r=t.originalRequest.url;s?this.notUpdatedURLs.push(r):this.updatedURLs.push(r)}return s})}},$e=(e,t,s)=>{if(typeof e=="string"){let r=new URL(e,location.href),a=({url:n})=>n.href===r.href;return new p(a,t,s)}if(e instanceof RegExp)return new Ae(e,t,s);if(typeof e=="function")return new p(e,t,s);if(e instanceof p)return e;throw new h("unsupported-route-type",{moduleName:"serwist",funcName:"parseRoute",paramName:"capture"})};var Ie=async(e,t,s)=>{let r=t.map((o,c)=>({index:c,item:o})),a=async o=>{let c=[];for(;;){let l=r.pop();if(!l)return o(c);let u=await s(l.item);c.push({result:u,index:l.index})}},n=Array.from({length:e},()=>new Promise(a));return(await Promise.all(n)).flat().sort((o,c)=>o.index<c.index?-1:1).map(o=>o.result)};var gs=typeof navigator<"u"&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent);var dt="serwist-expiration",L="cache-entries",Le=e=>{let t=new URL(e,location.href);return t.hash="",t.href},pt=class{constructor(e){i(this,"_cacheName");i(this,"_db",null);this._cacheName=e}_getId(e){return`${this._cacheName}|${Le(e)}`}_upgradeDb(e){let t=e.createObjectStore(L,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}_upgradeDbAndDeleteOldDbs(e){this._upgradeDb(e),this._cacheName&&me(this._cacheName)}async setTimestamp(e,t){e=Le(e);let s={id:this._getId(e),cacheName:this._cacheName,url:e,timestamp:t},r=(await this.getDb()).transaction(L,"readwrite",{durability:"relaxed"});await r.store.put(s),await r.done}async getTimestamp(e){return(await(await this.getDb()).get(L,this._getId(e)))?.timestamp}async expireEntries(e,t){let s=await(await this.getDb()).transaction(L,"readwrite").store.index("timestamp").openCursor(null,"prev"),r=[],a=0;for(;s;){let n=s.value;n.cacheName===this._cacheName&&(e&&n.timestamp<e||t&&a>=t?(s.delete(),r.push(n.url)):a++),s=await s.continue()}return r}async getDb(){return this._db||(this._db=await P(dt,1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}},gt=class{constructor(e,t={}){i(this,"_isRunning",!1);i(this,"_rerunRequested",!1);i(this,"_maxEntries");i(this,"_maxAgeSeconds");i(this,"_matchOptions");i(this,"_cacheName");i(this,"_timestampModel");this._maxEntries=t.maxEntries,this._maxAgeSeconds=t.maxAgeSeconds,this._matchOptions=t.matchOptions,this._cacheName=e,this._timestampModel=new pt(e)}async expireEntries(){if(this._isRunning){this._rerunRequested=!0;return}this._isRunning=!0;let e=this._maxAgeSeconds?Date.now()-this._maxAgeSeconds*1e3:0,t=await this._timestampModel.expireEntries(e,this._maxEntries),s=await self.caches.open(this._cacheName);for(let r of t)await s.delete(r,this._matchOptions);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,this.expireEntries())}async updateTimestamp(e){await this._timestampModel.setTimestamp(e,Date.now())}async isURLExpired(e){if(!this._maxAgeSeconds)return!1;let t=await this._timestampModel.getTimestamp(e),s=Date.now()-this._maxAgeSeconds*1e3;return t!==void 0?t<s:!0}async delete(){this._rerunRequested=!1,await this._timestampModel.expireEntries(Number.POSITIVE_INFINITY)}},ft=e=>{M.add(e)},v=class{constructor(e={}){i(this,"_config");i(this,"_cacheExpirations");this._config=e,this._cacheExpirations=new Map,this._config.maxAgeFrom||(this._config.maxAgeFrom="last-fetched"),this._config.purgeOnQuotaError&&ft(()=>
1this.deleteCacheAndMetadata())}_getCacheExpiration(e){if(e===y.getRuntimeName())throw new h("expire-custom-caches-only");let t=this._cacheExpirations.get(e);return t||(t=new gt(e,this._config),this._cacheExpirations.set(e,t)),t}cachedResponseWillBeUsed({event:e,cacheName:t,request:s,cachedResponse:r}){if(!r)return null;let a=this._isResponseDateFresh(r),n=this._getCacheExpiration(t),o=this._config.maxAgeFrom==="last-used",c=(async()=>{o&&await n.updateTimestamp(s.url),await n.expireEntries()})();try{e.waitUntil(c)}catch{}return a?r:null}_isResponseDateFresh(e){if(this._config.maxAgeFrom==="last-used")return!0;let t=Date.now();if(!this._config.maxAgeSeconds)return!0;let s=this._getDateHeaderTimestamp(e);return s===null?!0:s>=t-this._config.maxAgeSeconds*1e3}_getDateHeaderTimestamp(e){if(!e.headers.has("date"))return null;let t=e.headers.get("date"),s=new Date(t).getTime();return Number.isNaN(s)?null:s}async cacheDidUpdate({cacheName:e,request:t}){let s=this._getCacheExpiration(e);await s.updateTimestamp(t.url),await s.expireEntries()}async deleteCacheAndMetadata(){for(let[e,t]of this._cacheExpirations)await self.caches.delete(e),await t.delete();this._cacheExpirations=new Map}},mt="serwist-google-analytics",wt=2880,yt=/^\/(\w+\/)?collect/,Nt=e=>async({queue:t})=>{let s;for(;s=await t.shiftRequest();){let{request:r,timestamp:a}=s,n=new URL(r.url);try{let o=r.method==="POST"?new URLSearchParams(await r.clone().text()):n.searchParams,c=a-(Number(o.get("qt"))||0),l=Date.now()-c;if(o.set("qt",String(l)),e.parameterOverrides)for(let u of Object.keys(e.parameterOverrides)){let d=e.parameterOverrides[u];o.set(u,d)}typeof e.hitFilter=="function"&&e.hitFilter.call(null,o),await fetch(new Request(n.origin+n.pathname,{body:o.toString(),method:"POST",mode:"cors",credentials:"omit",headers:{"Content-Type":"text/plain"}}))}catch(o){throw await t.unshiftRequest(s),o}}},Et=e=>{let t=({url:r})=>r.hostname==="www.google-analytics.com"&&yt.test(r.pathname),s=new I({plugins:[e]});return[new p(t,s,"GET"),new p(t,s,"POST")]},_t=e=>{let t=({url:s})=>s.hostname==="www.google-analytics.com"&&s.pathname==="/analytics.js";return new p(t,new $({cacheName:e}),"GET")},Rt=e=>{let t=({url:s})=>s.hostname==="www.googletagmanager.com"&&s.pathname==="/gtag/js";return new p(t,new $({cacheName:e}),"GET")},bt=e=>{let t=({url:s})=>s.hostname==="www.googletagmanager.com"&&s.pathname==="/gtm.js";return new p(t,new $({cacheName:e}),"GET")},Ve=({serwist:e,cacheName:t,...s})=>{let r=y.getGoogleAnalyticsName(t),a=new xe(mt,{maxRetentionTime:wt,onSync:Nt(s)}),n=[bt(r),_t(r),Rt(r),...Et(a)];for(let o of n)e.registerRoute(o)},vt=class{constructor({fallbackUrls:e,serwist:t}){i(this,"_fallbackUrls");i(this,"_serwist");this._fallbackUrls=e,this._serwist=t}async handlerDidError(e){for(let t of this._fallbackUrls)if(typeof t=="string"){let s=await this._serwist.matchPrecache(t);if(s!==void 0)return s}else if(t.matcher(e)){let s=await this._serwist.matchPrecache(t.url);if(s!==void 0)return s}}};var x=class extends b{async _handle(e,t){let s=[],r=await t.cacheMatch(e),a;if(!r)try{r=await t.fetchAndCachePut(e)}catch(n){n instanceof Error&&(a=n)}if(!r)throw new h("no-response",{url:e.url,error:a});return r}};var xt=class extends p{constructor(e,t){let s=({request:r})=>{let a=e.getUrlsToPrecacheKeys();for(let n of Oe(r.url,t)){let o=a.get(n);if(o)return{cacheKey:o,integrity:e.getIntegrityForPrecacheKey(o)}}};super(s,e.precacheStrategy)}},Dt=class{constructor({precacheController:e}){i(this,"_precacheController");i(this,"cacheKeyWillBeUsed",async({request:e,params:t})=>{let s=t?.cacheKey||this._precacheController.getPrecacheKeyForUrl(e.url);return s?new Request(s,{headers:e.headers}):e});this._precacheController=e}},St=(e,t={})=>{let{cacheName:s,plugins:r=[],fetchOptions:a,matchOptions:n,fallbackToNetwork:o,directoryIndex:c,ignoreURLParametersMatching:l,cleanURLs:u,urlManipulation:d,cleanupOutdatedCaches:m,concurrency:R=10,navigateFallback:V,navigateFallbackAllowlist:E,navigateFallbackDenylist:f}=t??{};return{precacheStrategyOptions:{cacheName:y.getPrecacheName(s),plugins:[...r,new Dt({precacheController:e})],fetchOptions:a,matchOptions:n,fallbackToNetwork:o},precacheRouteOptions:{directoryIndex:c,ignoreURLParametersMatching:l,cleanURLs:u,urlManipulation:d},precacheMiscOptions:{cleanupOutdatedCaches:m,concurrency:R,navigateFallback:V,navigateFallbackAllowlist:E,navigateFallbackDenylist:f}}},Fe=class{constructor({precacheEntries:e,precacheOptions:t,skipWaiting:s=!1,importScripts:r,navigationPreload:a=!1,cacheId:n,clientsClaim:o=!1,runtimeCaching:c,offlineAnalyticsConfig:l,disableDevLogs:u=!1,fallbacks:d,requestRules:m}={}){i(this,"_urlsToCacheKeys",new Map);i(this,"_urlsToCacheModes",new Map);i(this,"_cacheKeysToIntegrities",new Map);i(this,"_concurrentPrecaching");i(this,"_precacheStrategy");i(this,"_routes");i(this,"_defaultHandlerMap");i(this,"_catchHandler");i(this,"_requestRules");let{precacheStrategyOptions:R,precacheRouteOptions:V,precacheMiscOptions:E}=St(this,t);if(this._concurrentPrecaching=E.concurrency,this._precacheStrategy=new qe(R),this._routes=new Map,this._defaultHandlerMap=new Map,this._requestRules=m,this.handleInstall=this.handleInstall.bind(this),this.handleActivate=this.handleActivate.bind(this),this.handleFetch=this.handleFetch.bind(this),this.handleCache=this.handleCache.bind(this),r&&r.length>0&&self.importScripts(...r),a&&Te(),n!==void 0&&Ue({prefix:n}
1),s?self.skipWaiting():self.addEventListener("message",f=>{f.data&&f.data.type==="SKIP_WAITING"&&self.skipWaiting()}),o&&le(),e&&e.length>0&&this.addToPrecacheList(e),E.cleanupOutdatedCaches&&ce(R.cacheName),this.registerRoute(new xt(this,V)),E.navigateFallback&&this.registerRoute(new Ce(this.createHandlerBoundToUrl(E.navigateFallback),{allowlist:E.navigateFallbackAllowlist,denylist:E.navigateFallbackDenylist})),l!==void 0&&(typeof l=="boolean"?l&&Ve({serwist:this}):Ve({...l,serwist:this})),c!==void 0){if(d!==void 0){let f=new vt({fallbackUrls:d.entries,serwist:this});c.forEach(F=>{F.handler instanceof b&&!F.handler.plugins.some(Be=>"handlerDidError"in Be)&&F.handler.plugins.push(f)})}for(let f of c)this.registerCapture(f.matcher,f.handler,f.method)}u&&Re()}get precacheStrategy(){return this._precacheStrategy}get routes(){return this._routes}addEventListeners(){self.addEventListener("install",this.handleInstall),self.addEventListener("activate",this.handleActivate),self.addEventListener("fetch",this.handleFetch),self.addEventListener("message",this.handleCache)}addToPrecacheList(e){let t=[];for(let s of e){typeof s=="string"?t.push(s):s&&!s.integrity&&s.revision===void 0&&t.push(s.url);let{cacheKey:r,url:a}=Pe(s),n=typeof s!="string"&&s.revision?"reload":"default";if(this._urlsToCacheKeys.has(a)&&this._urlsToCacheKeys.get(a)!==r)throw new h("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(a),secondEntry:r});if(typeof s!="string"&&s.integrity){if(this._cacheKeysToIntegrities.has(r)&&this._cacheKeysToIntegrities.get(r)!==s.integrity)throw new h("add-to-cache-list-conflicting-integrities",{url:a});this._cacheKeysToIntegrities.set(r,s.integrity)}this._urlsToCacheKeys.set(a,r),this._urlsToCacheModes.set(a,n)}if(t.length>0){let s=`Serwist is precaching URLs without revision info: ${t.join(", ")}
2This is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(s)}}handleInstall(e){return this.registerRequestRules(e),W(e,async()=>{let t=new ke;this.precacheStrategy.plugins.push(t),await Ie(this._concurrentPrecaching,Array.from(this._urlsToCacheKeys.entries()),async([a,n])=>{let o=this._cacheKeysToIntegrities.get(n),c=this._urlsToCacheModes.get(a),l=new Request(a,{integrity:o,cache:c,credentials:"same-origin"});await Promise.all(this.precacheStrategy.handleAll({event:e,request:l,url:new URL(l.url),params:{cacheKey:n}}))});let{updatedURLs:s,notUpdatedURLs:r}=t;return{updatedURLs:s,notUpdatedURLs:r}})}async registerRequestRules(e){if(this._requestRules&&e?.addRoutes)try{await e.addRoutes(this._requestRules),this._requestRules=void 0}catch(t){throw t}}handleActivate(e){return W(e,async()=>{let t=await self.caches.open(this.precacheStrategy.cacheName),s=await t.keys(),r=new Set(this._urlsToCacheKeys.values()),a=[];for(let n of s)r.has(n.url)||(await t.delete(n),a.push(n.url));return{deletedCacheRequests:a}})}handleFetch(e){let{request:t}=e,s=this.handleRequest({request:t,event:e});s&&e.respondWith(s)}handleCache(e){if(e.data&&e.data.type==="CACHE_URLS"){let{payload:t}=e.data,s=Promise.all(t.urlsToCache.map(r=>{let a;return typeof r=="string"?a=new Request(r):a=new Request(...r),this.handleRequest({request:a,event:e})}));e.waitUntil(s),e.ports?.[0]&&s.then(()=>e.ports[0].postMessage(!0))}}setDefaultHandler(e,t="GET"){this._defaultHandlerMap.set(t,C(e))}setCatchHandler(e){this._catchHandler=C(e)}registerCapture(e,t,s){let r=$e(e,t,s);return this.registerRoute(r),r}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 h("unregister-route-but-not-found-with-method",{method:e.method});let t=this._routes.get(e.method).indexOf(e);if(t>-1)this._routes.get(e.method).splice(t,1);else throw new h("unregister-route-route-not-registered")}getUrlsToPrecacheKeys(){return this._urlsToCacheKeys}getPrecachedUrls(){return[...this._urlsToCacheKeys.keys()]}getPrecacheKeyForUrl(e){let t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForPrecacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){let t=e instanceof Request?e.url:e,s=this.getPre
2cacheKeyForUrl(t);if(s)return(await self.caches.open(this.precacheStrategy.cacheName)).match(s)}createHandlerBoundToUrl(e){let t=this.getPrecacheKeyForUrl(e);if(!t)throw new h("non-precached-url",{url:e});return s=>(s.request=new Request(e),s.params={cacheKey:t,...s.params},this.precacheStrategy.handle(s))}handleRequest({request:e,event:t}){let s=new URL(e.url,location.href);if(!s.protocol.startsWith("http"))return;let r=s.origin===location.origin,{params:a,route:n}=this.findMatchingRoute({event:t,request:e,sameOrigin:r,url:s}),o=n?.handler,c=[],l=e.method;if(!o&&this._defaultHandlerMap.has(l)&&(o=this._defaultHandlerMap.get(l)),!o)return;let u;try{u=o.handle({url:s,request:e,event:t,params:a})}catch(m){u=Promise.reject(m)}let d=n?.catchHandler;return u instanceof Promise&&(this._catchHandler||d)&&(u=u.catch(async m=>{if(d)try{return await d.handle({url:s,request:e,event:t,params:a})}catch(R){R instanceof Error&&(m=R)}if(this._catchHandler)return this._catchHandler.handle({url:s,request:e,event:t});throw m})),u}findMatchingRoute({url:e,sameOrigin:t,request:s,event:r}){let a=this._routes.get(s.method)||[];for(let n of a){let o,c=n.match({url:e,sameOrigin:t,request:s,event:r});if(c)return o=c,(Array.isArray(o)&&o.length===0||c.constructor===Object&&Object.keys(c).length===0||typeof c=="boolean")&&(o=void 0),{route:n,params:o}}return{}}};var T=3600*24,O=e=>`1qVZTJYAYt5gFu-ZNA3rZ-${e}`,A=e=>({url:t,request:s,sameOrigin:r})=>r&&s.mode!=="navigate"&&e(t.pathname),qt=new Fe({precacheEntries:void 0,skipWaiting:!0,clientsClaim:!0,runtimeCaching:[{matcher:A(e=>e.startsWith("/api/")),handler:new I},{matcher:A(e=>e.startsWith("/_next/static/")),handler:new x({cacheName:O("next-static"),plugins:[new v({maxAgeSeconds:T*365})]})},{matcher:A(e=>e.startsWith("/_next/image")),handler:new x({cacheName:O("next-image"),plugins:[new v({maxEntries:120,maxAgeSeconds:T*30})]})},{matcher:A(e=>e.includes("/fonts/")),handler:new x({cacheName:O("fonts"),plugins:[new v({maxAgeSeconds:T*365})]})},{matcher:A(e=>/\/(images|icons)\//.test(e)),handler:new x({cacheName:O("static-assets"),plugins:[new v({maxEntries:80,maxAgeSeconds:T*30})]})},{matcher:/^https:\/\/cdn\.prod\.website-files\.com/,handler:new x({cacheName:O("webflow-cdn"),plugins:[new v({maxEntries:60,maxAgeSeconds:T*30})]})}]});te();qt.addEventListeners();addEventListener("activate",e=>{e.waitUntil((async()=>{let t=await caches.keys();await Promise.all(t.filter(s=>!s.startsWith("1qVZTJYAYt5gFu-ZNA3rZ-")&&!s.startsWith("serwist-")).map(s=>caches.delete(s)))})())});})();

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.