1import{M as P}from"./MkPagination-CAPpZebZ.js";import{aU as T,a as u,c as h,o as g,q as M,M as U,e as V,_ as E}from"./app-CCl49sF4.js";import{d as H,a as R,c as v,B as n,f as t,g as q,h as i,k as a,q as o,H as w,t as c,y as s,I as l,J as m,K as k,u as $,G as z,S as D,U as F}from"./vue-tSx3lnP8.js";import"./info-DLbPkRH3.js";const G=r=>(D("data-v-4ab0b345"),r=r(),F(),r),J={class:"_title"},K={key:0},L={key:0},j=G(()=>c("hr",{class:"_seperator"},null,-1)),O={class:"_content"},Q=["src"],W={key:0,class:"_footer"},X=H({__name:"announcements",setup(r){const y={endpoint:"announcements",limit:10},d=R(null);function S(_){d.value&&(d.value.updateItem(_,p=>(p.isRead=!0,p)),V("i/read-announcement",{announcementId:_}))}const x=v(()=>[]),C=v(()=>[]);return T({title:u.ts.announcements,icon:`${h("ph-megaphone-simple")}`}),(_,p)=>{const I=n("MkPageHeader"),f=n("MkTime"),b=n("Mfm"),B=n("MkSpacer"),A=n("MkStickyContainer");return t(),q(A,null,{header:i(()=>[a(I,{actions:x.value,tabs:C.value},null,8,["actions","tabs"])]),default:i(()=>[a(B,{"content-max":800},{default:i(()=>[a(P,{ref_key:"paginationEl",ref:d,pagination:y,class:"ruryvtyk _gaps_m"},{default:i(({items:N})=>[(t(!0),o(z,null,w(N,e=>(t(),o("section",{key:e.id,class:"announcement _panel"},[c("div",J,[c("h3",null,[s(g)(s(M))&&!e.isRead?(t(),o("span",K," ð ")):l("",!0),m(" "+k(e.title),1)]),a(f,{time:e.createdAt},null,8,["time"]),e.updatedAt?(t(),o("div",L,[m(k(s(u).ts.updatedAt)+": ",1),a(f,{time:e.createdAt}
1,null,8,["time"])])):l("",!0)]),j,c("div",O,[a(b,{text:e.text},null,8,["text"]),e.imageUrl?(t(),o("img",{key:0,src:e.imageUrl},null,8,Q)):l("",!0)]),s(g)(s(M))&&!e.isRead?(t(),o("div",W,[a(U,{primary:"",onClick:Y=>S(e.id)},{default:i(()=>[c("i",{class:$(s(h)("ph-check"))},null,2),m(" "+k(s(u).ts.gotIt),1)]),_:2},1032,["onClick"])])):l("",!0)]))),128))]),_:1},512)]),_:1})]),_:1})}}}),se=E(X,[["__scopeId","data-v-4ab0b345"]]);export{se 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.