mirror of
https://github.com/morten-olsen/parcel.git
synced 2026-02-08 01:36:24 +01:00
2 lines
835 B
JavaScript
2 lines
835 B
JavaScript
if(!self.define){let e,t={};const i=(i,o)=>(i=new URL(i+".js",o).href,t[i]||new Promise((t=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=t,document.head.appendChild(e)}else e=i,importScripts(i),t()})).then((()=>{let e=t[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e})));self.define=(o,r)=>{const n=e||("document"in self?document.currentScript.src:"")||location.href;if(t[n])return;let s={};const c=e=>i(e,n),f={module:{uri:n},exports:s,require:c};t[n]=Promise.all(o.map((e=>f[e]||c(e)))).then((e=>(r(...e),s)))}}define(["./workbox-6716fad7"],(function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"app.js.LICENSE.txt",revision:"4e233a4614ddf71ac637be7fc520eef1"},{url:"index.html",revision:"427dcff134083bc28e371fb21c89eeb6"}],{})}));
|