(()=>{"use strict";var e="13.1.3",t="dynamic-cache-".concat(e)+"#1",n="static-cache-".concat(e)+"#1",c=["./"];self.addEventListener("install",(function(e){e.waitUntil(caches.open(n).then((function(e){return e.addAll(c)}))),self.skipWaiting()})),self.addEventListener("activate",(function(e){e.waitUntil(caches.keys().then((function(e){return Promise.all(e.map((function(e){return e!==n&&e!==t?caches.delete(e):Promise.resolve()})))}))),self.clients.claim()})),self.addEventListener("fetch",(function(e){e.respondWith(fetch(e.request).then((function(n){var c=n.clone();return"GET"!==e.request.method?n:(console.debug("Caching",{request:e.request}),caches.open(t).then((function(t){return t.put(e.request,c)})).then((function(){return n})))})).catch((function(t){return console.debug(t),console.debug("Hitting cache",{request:e.request}),caches.match(e.request)})))}))})();
//# sourceMappingURL=bookmarks-service-worker.js.map?v=6318b624eec6836c5db8