import{aa as c,cA as u,cR as i,$ as l,cl as m,X as d,cS as a,p,ch as _,bB as f,a3 as n,a2 as h,c0 as C,c7 as o}from"#entry";import{V,b as x}from"./RTCSF0Ks.js";import{V as w}from"./R1_j74h_.js";import"./BgQ5eU58.js";import"./BKDgfSxC.js";import"./Cp3UUybv.js";const H=c({__name:"[id]",async setup(A){let t,s;const r=u(),{data:e}=([t,s]=i(()=>_(`/api/announcements/${r.params.id}`,"$AklPthvJG6")),t=await t,s(),t);if(!e.value)throw l({statusCode:404,statusMessage:"Announcement Not Found"});return m({title:`Announce - ${e.value.title}`}),(T,$)=>(f(),d(p,null,{default:a(()=>[n(V,null,{default:a(()=>[n(x,{class:"text-h5 font-weight-bold"},{default:a(()=>[h(C(o(e)?.title),1)]),_:1}),n(w,{innerHTML:o(e)?.announcement},null,8,["innerHTML"])]),_:1})]),_:1}))}});export{H as default};
