varworkbox=function(){"use strict";try{self.workbox.v["workbox:sw:3.3.1"]=1}catch(t){}constt="https://storage.googleapis.com/workbox-cdn/releases/3.3.1",e={backgroundSync:"background-sync",broadcastUpdate:"broadcast-cache-update",cacheableResponse:"cacheable-response",core:"core",expiration:"cache-expiration",googleAnalytics:"google-analytics",precaching:"precaching",rangeRequests:"range-requests",routing:"routing",strategies:"strategies",streams:"streams"};returnnewclass{constructor(){returnthis.v={},this.t={debug:"localhost"===self.location.hostname,modulePathPrefix:null,modulePathCb:null},this.e=this.t.debug?"dev":"prod",this.s=!1,newProxy(this,{get(t,s){if(t[s])returnt[s];consto=e[s];returno&&t.loadModule(`workbox-${o}`),t[s]}})}setConfig(t={}){if(this.s)thrownewError("Config must be set before accessing workbox.* modules");Object.assign(this.t,t),this.e=this.t.debug?"dev":"prod"}skipWaiting(){self.addEventListener("install",()=>self.skipWaiting())}clientsClaim(){self.addEventListener("activate",()=>self.clients.claim())}loadModule(t){conste=this.o(t);try{importScripts(e),this.s=!0}catch(s){throwconsole.error(`Unable to import module '${t}' from '${e}'.`),s}}o(e){if(this.t.modulePathCb)returnthis.t.modulePathCb(e,this.t.debug);lets=[t];consto=`${e}.${this.e}.js`,r=this.t.modulePathPrefix;returnr&&""===(s=r.split("/"))[s.length-1]&&s.splice(s.length-1,1),s.push(o),s.join("/")}}}();