1import{o as a,c as l,a as o,w as e,f as c,C as f,T as r,b as _,F as y,j as g,q as i,d as w,s as $,D as C,m as h}from"./app-BM1Lz8vY.js";import{_ as x}from"./Public-vj7q5qyV.js";import{_ as N}from"./Gallery-DXH_DKgU.js";import{G as T}from"./GalleryPhotoThumb-BdKqV9vV.js";import{_ as B}from"./ListTransition-BxpQ79bP.js";import{_ as j}from"./NoContent-vK4noKsv.js";import{_ as p}from"./Pagination-Bd0TaQxf.js";import{h as A}from"./Common-DDZ6zhtF.js";import{_ as F}from"./AddPhotoToAlbumModal-D8Y_eubY.js";import"./Route-n1FONMKg.js";import"./MemberStatusBar-av5CkuB5.js";import"./FormError-BIjo75sV.js";import"./CloseButton-CbCFIOfq.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./LoadingButton-Ax9tC4Ct.js";import"./index--VbRbW-D.js";import"./CircleButton-BGVt91JZ.js";import"./Checkbox-DJAOi4oY.js";const O={key:0,class:"gallery-wrap"},V={class:"gallery"},D={key:1,class:"gallery-wrap"},tt=Object.assign({layout:[x,N]},{__name:"Index",props:{photos:Object,microtime:Number},setup(t){const{setNavbarCookies:k}=A(),n=h(!1),m=h(null),v=d=>{m.value=d,n.value=!0};return(d,u)=>(a(),l("div",null,[o(r,{name:"fade",appear:""},{default:e(()=>[c(o(p,{links:t.photos.links,from:t.photos.from,to:t.photos.to,total:t.photos.total,label:"photos","with-counts":!0},null,8,["links","from","to","total"]),[[f,t.photos.data.length>0]])]),_:1}),o(r,{appear:"",mode:"out-in"},{default:e(()=>[t.photos.data.length?(a(),l("div",O,[_("div",V,[o(B,null,{default:e(()=>[(a(!0),l(y,null,g(t.photos.data,(s,b)=>(a(),i(T,{type:"photo","data-index":b,key:"photo_"+s.id,data:s,onAddToAlbum:v,onClick:G=>w(k)(s.id)},null,8,["data-index","data","onClick"]))),128))]),_:1})])])):(a(),l("div",D,[o(j,{message:"there is no photo to watch"})]))]),_:1}),o(r,{name:"fade",appear:""},{default:e(()=>[c(o(p,{links:t.photos.links,from:t.photos.from,to:t.photos.to,total:t.photos.total,label:"photos","with-counts":!1,class:"mt-8 mb-0!","preserve-scroll":!1},null,8,["links","from","to","total"]),[[f,t.photos.data.length>0]])]),_:1}),(a(),i(C,{to:"body"},[o(r,null,{default:e(()=>[n.value?(a(),i(F,{key:0,"photo-id":m.value,onClose:u[0]||(u[0]=s=>n.value=!1)},null,8,["photo-id"])):$("",!0)]),_:1})]))]))}});export{tt as default};
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.