const CACHE='stepin-v16';
const ASSETS=['./','index.html','assets/css/app.css','assets/js/app.js','manifest.json','data/cards.json','data/decks.json','data/aspects.json','data/scenarios.json'];
self.addEventListener('install',e=>e.waitUntil(caches.open(CACHE).then(c=>c.addAll(ASSETS))));
self.addEventListener('fetch',e=>e.respondWith(caches.match(e.request).then(r=>r||fetch(e.request))));
