import{J as u,L as i,M as l,O as c,P as m,A as d,B as a,C as p,N as _,E as f,b as n,G as C,Q as h,S as o}from"#entry";import{V,a as x}from"./DlybGOWB.js";import{V as w}from"./DArAxlee.js";import"./DSnRMG2T.js";import"./BML-0xFj.js";import"./CIr4U5gS.js";const H=u({__name:"[id]",async setup(A){let t,s;const r=i(),{data:e}=([t,s]=l(()=>_(`/api/announcements/${r.params.id}`,"$AklPthvJG6")),t=await t,s(),t);if(!e.value)throw c({statusCode:404,statusMessage:"Announcement Not Found"});return m({title:`Announce - ${e.value.title}`}),(T,M)=>(f(),d(p,null,{default:a(()=>[n(V,null,{default:a(()=>[n(x,{class:"text-h5 font-weight-bold"},{default:a(()=>[C(h(o(e)?.title),1)]),_:1}),n(w,{innerHTML:o(e)?.announcement},null,8,["innerHTML"])]),_:1})]),_:1}))}});export{H as default};
