-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathservice-worker.js
More file actions
1 lines (1 loc) · 2.08 KB
/
service-worker.js
File metadata and controls
1 lines (1 loc) · 2.08 KB
1
!function(){"use strict";const e=["client/Row.b368a92a.js","client/DataAttrToggler.3fda166a.js","client/Pagination.f295cb60.js","client/installation.dd6a23b5.js","client/template.a7c68593.js","client/button.a50eafca.js","client/html-elements.95dfb648.js","client/layout.175daf40.js","client/spacing.2c6831ed.js","client/typography.1c1467ba.js","client/wrapper.c1a15bcc.js","client/float.ed72e0e1.js","client/color.ccac24d5.js","client/index.a64ddf2e.js","client/index.c31ac030.js","client/index.6f49323f.js","client/index.78857e4d.js","client/client.d5e4676c.js","client/index.2c8e51fd.js","client/container.02410254.js","client/client.5de11f64.js","client/list.9e90758d.js","client/misc.b6546f86.js","client/form.9805cc09.js","client/visibility.6ede8d1f.js","client/config.79f34b3b.js","client/importation.0519da87.js","client/column.330f791c.js"].concat(["service-worker-index.html",".DS_Store","assets/android-chrome-192x192.png","assets/android-chrome-512x512.png","assets/apple-touch-icon.png","assets/browserconfig.xml","assets/favicon-16x16.png","assets/favicon-32x32.png","assets/favicon.ico","assets/mstile-150x150.png","assets/safari-pinned-tab.svg","assets/site.webmanifest","global.css","logo-inverted.svg","logo.svg","orange.jpg"]),t=new Set(e);self.addEventListener("install",t=>{t.waitUntil(caches.open("cache1596115376592").then(t=>t.addAll(e)).then(()=>{self.skipWaiting()}))}),self.addEventListener("activate",e=>{e.waitUntil(caches.keys().then(async e=>{for(const t of e)"cache1596115376592"!==t&&await caches.delete(t);self.clients.claim()}))}),self.addEventListener("fetch",e=>{if("GET"!==e.request.method||e.request.headers.has("range"))return;const s=new URL(e.request.url);s.protocol.startsWith("http")&&(s.hostname===self.location.hostname&&s.port!==self.location.port||(s.host===self.location.host&&t.has(s.pathname)?e.respondWith(caches.match(e.request)):"only-if-cached"!==e.request.cache&&e.respondWith(caches.open("offline1596115376592").then(async t=>{try{const s=await fetch(e.request);return t.put(e.request,s.clone()),s}catch(s){const n=await t.match(e.request);if(n)return n;throw s}}))))})}();