function e(e){return e}var t=e(()=>{`serviceWorker`in navigator&&(e=>document.readyState===`complete`?setTimeout(e,0):window.addEventListener(`load`,e,{once:!0}))(()=>{let e=new URL(`sw.js`,document.baseURI).toString();navigator.serviceWorker.register(e).catch(e=>{console.warn(`SW registration failed:`,e)})})});export{t as default};