import{h as F,_ as w}from"./moment.4df9687d.js";import{_ as y,p as E,r as m,w as u,u as I,c as l,a as t,t as e,j as k,e as i,b as p,F as L,f as j,l as h,g as D,h as $,o as d,q as B,s as C}from"./entry.126c240b.js";import{_ as M}from"./share.3283c0b5.js";const v=n=>(B("data-v-9b57f2ed"),n=n(),C(),n),R={class:"animate-fade w-full"},P={class:"bg-white uhjk py-6 mt-6 w-[90%] mx-auto rounded-xl my-8",style:{border:"1.4px solid #EFEFEF"}},S={class:""},U={class:"rounded-2xl relative p-2 sm:p-6"},Y={style:{"border-bottom":"1.5px solid #EFEFEF"},class:"pb-4"},A={class:"flex items-center justify-between"},H={class:"font-semibold"},N={class:"text-lg text-[#2E8586] tracking-widest"},T={class:"cursor-pointer rounded-full"},V=v(()=>t("img",{class:"w-[28px]",src:M},null,-1)),q=[V],G={class:"mt-2 sm:mt-1 text-2xl sm:text-3xl font-semibold"},K={class:"text-base font-medium mt-2 text-[#2E8586] flex"},z=["innerHTML"],J={class:"bg-white uhjk py-6 mt-3 w-[90%] mx-auto rounded-xl my-4",style:{border:"1.4px solid #EFEFEF"}},O={class:"sm:flex items-center justify-between w-full pb-4",style:{"border-bottom":"1px solid #EFEFEF"}},Q={class:"font-bold"},W={class:"grid grid-cols-1 sm:grid-cols-2 mt-[2rem] gap-6"},X={style:{border:"1px solid #EFEFEF"},class:"sm:flex items-center rounded-xl p-4"},Z={class:"sm:px-3 ui"},tt={class:"uppercase tracking-widest font-semibold text-[#2E8586]"},st={class:"text-2xl font-semibold line-clamp-2"},et={class:"mt-1 text-[#7F7F7F] line-clamp-2"},ot={class:"mt-5 flex items-center justify-between"},it={class:"flex items-center"},nt={class:"flex-0 mr-2"},at=v(()=>t("div",{class:"flex-1"},[t("div",{class:"text-base font-medium"},[t("span",null,"Kaylynn George")])],-1)),lt={__name:"[id]",async setup(n){let s,a;const f=E().currentRoute.value.params.id,o=m({}),_=m([]);return o.value=([s,a]=u(()=>$fetch(h().public.API_PUBLIC_URL+`/api/pengumuman/slug/${f}`)),s=await s,a(),s),_.value=([s,a]=u(()=>$fetch(h().public.API_PUBLIC_URL+"/api/pengumuman?limit=4&fakultas=a504d52c-d68c-4ca7-8aaf-9afdbb99d75c")),s=await s,a(),s).data,I({title:o.value.title}),(c,ct)=>{const x=w,b=D("v-img"),g=$("ripple");return d(),l("div",R,[t("div",P,[t("div",S,[t("div",U,[t("div",Y,[t("div",A,[t("div",H,[t("div",N,e(c.$t("pengumuman")),1)]),k((d(),l("div",T,q)),[[g]])]),t("div",G,e(i(o).title),1),t("div",K,[p(x),t("div",null,e(i(F)(i(o).created_at).format("DD MMM YYYY")),1)])]),t("div",{class:"mt-4 text-lg",innerHTML:i(o).content},null,8,z)])])]),t("div",J,[t("div",O,[t("div",null,[t("h1",Q,e(c.$t("latest_announcement")),1)])]),t("div",W,[(d(!0),l(L,null,j(i(_),r=>(d(),l("div",X,[t("div",Z,[t("div",tt,[t("span",null,e(c.$t("pengumuman")),1)]),t("div",st,[t("span",null,e(r.title),1)]),t("div",et,[t("span",null,e(r.description),1)]),t("div",ot,[t("div",it,[t("div",nt,[p(b,{src:"/avatar.png",width:"30"})]),at])])])]))),256))])])])}}},ut=y(lt,[["__scopeId","data-v-9b57f2ed"]]);export{ut as default};
