import{_ as r,t as i,V as t,a as p}from"./vue.runtime.esm-Ct3_M7aQ.chunk.mjs";import{N as l,a as c,v as d,i as v,b as m,c as h,d as n}from"./video-B-t_GSGv.chunk.mjs";import{l as s,p as a}from"./index-BMeBqg0T.chunk.mjs";import{n as u}from"./icons-VGG7keIQ.chunk.mjs";import"./preload-helper-Dh9HmuEY.chunk.mjs";import"./index-XmYygNaN.chunk.mjs";const g={name:"PhotosAppPublic",components:{NcAppContent:c,NcContent:l},data(){return{svgplaceholder:m,imgplaceholder:v,videoplaceholder:d}},async beforeMount(){"serviceWorker"in navigator?window.addEventListener("load",async()=>{try{const e=r("/apps/photos/service-worker.js",{},{noRewrite:!0}),o=await navigator.serviceWorker.register(e,{scope:r("/apps/photos")});s.debug("SW registered: ",{registration:o})}catch(e){s.error("SW registration failed: ",{error:e})}}):s.debug("Service Worker is not enabled on this browser.")},beforeDestroy(){window.removeEventListener("load",()=>{navigator.serviceWorker.register(r("/apps/photos/service-worker.js",{},{noRewrite:!0}))})}};var w=function(){var e=this,o=e._self._c;return o("NcContent",{attrs:{"app-name":"photos"}},[o("input",{attrs:{id:"isPublic",type:"hidden",name:"isPublic",value:"1"}}),o("NcAppContent",[o("router-view"),o("span",{staticClass:"hidden-visually",attrs:{role:"none"},domProps:{innerHTML:e._s(e.svgplaceholder)}}),o("span",{staticClass:"hidden-visually",attrs:{role:"none"},domProps:{innerHTML:e._s(e.imgplaceholder)}}),o("span",{staticClass:"hidden-visually",attrs:{role:"none"},domProps:{innerHTML:e._s(e.videoplaceholder)}})],1)],1)},y=[],b=u(g,w,y,!1,null,null);const f=b.exports;h.sync(a,n),t.prototype.t=i,t.prototype.n=p,new t({el:"#content",name:"PhotosRoot",router:n,store:a,render:e=>e(f)});
//# sourceMappingURL=photos-public.mjs.map
