1import{q as x,h,j as g,o as s,w as u,a as e,ah as f,c as n,k as l,d as o,b,t as a,E as v,l as k,e as w}from"./By76FmM_.js";const y=["src"],_={class:"text-2xl font-extrabold leading-8 text-disabled group-hover:text-primary flex items-center justify-between"},p={class:"mt-4 text-sm font-semibold leading-6 text-main"},B=["title"],j={key:1,class:"mt-4"},N={class:"flex flex-row gap-4 items-center"},C={class:"text-xs leading-6 text-caption"},V={class:"font-semibold text-main"},z={class:"text-xs leading-6 text-caption"},E={class:"font-semibold text-main"},T=x({__name:"UnitCard",props:{main:{},title:{},description:{},link:{},width:{},total:{},target:{},image:{}},setup(t){const d=t,c=h(()=>d.target==="_blank"?"noopener noreferrer":void 0);return(I,i)=>{const r=v,m=w;return s(),g(m,{to:t.link,target:t.target||"_self",rel:k(c)},{default:u(()=>[e("div",{class:"w-full rounded-xl p-5 bg-white border-y border-white hover:border-primary group hover:shadow-md transition-all",style:f({minWidth:t.width?`${t.width}px`:"250px"})},[t.image?(s(),n("img",{key:0,src:t.image,alt:"Icon",class:"w-12.75 h-12.75 object-cover mb-4"},null,8,y)):l("",!0),e("div",_,[o(a(t.main)+" ",1),b(r,{name:"i-lucide-move-up-right",class:"size-4 text-primary hidden group-hover:block"})]),e("div",p,a(t.title),1),e("div",{class:"mt-2 text-xs leading-5 text-caption line-clamp-2",title:t.description},a(t.description),9,B),t.total?(s(),n("div",j,[e("div",N,[e("div",C,[e("span",V,a(t.total.aktif),1),i[0]||(i[0]=o(" Aktif ",-1))]),e("div",z,[e("span",E,a(t.total.tugasBelajar),1),i[1]||(i[1]=o(" Tugas Belajar ",-1))])])])):l("",!0)],4)]),_:1},8,["to","target","rel"])}}});export{T as _};
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.