1import{_ as p}from"./app-DBavLYl4.js";import"./vue-BxCmk2HP.js";import"./i18n-nspnbSN6.js";import"./vuetify-BWo_j_kN.js";function v(o={}){const{immediate:c=!1,onNeedRefresh:u,onOfflineReady:a,onRegistered:r,onRegisteredSW:s,onRegisterError:t}=o;let i,n;const d=async(e=!0)=>{await n};async function l(){if("serviceWorker"in navigator){if(i=await p(async()=>{const{Workbox:e}=await import("./workbox-window.prod.es5-vqzQaGvo.js");return{Workbox:e}},[]).then(({Workbox:e})=>new e("/sw.js",{scope:"/",type:"classic"})).catch(e=>{t==null||t(e)}),!i)return;i.addEventListener("activated",e=>{(e.isUpdate||e.isExternal)&&window.location.reload()}),i.addEventListener("installed",e=>{e.isUpdate||a==null||a()}),i.register({immediate:c}).then(e=>{s?s("/sw.js",e):r==null||r(e)}).catch(e=>{t==null||t(e)})}}return n=l(),d}export{v as registerSW};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.