module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},95044,a=>{a.n(a.i(52425))},26087,a=>{a.n(a.i(21646))},50645,a=>{a.n(a.i(27572))},23576,a=>{a.n(a.i(4858))},25210,a=>{a.n(a.i(2747))},17537,a=>{a.n(a.i(3363))},13718,a=>{a.n(a.i(85523))},18198,a=>{a.n(a.i(45518))},62212,a=>{a.n(a.i(66114))},94220,a=>{a.n(a.i(54479))},45645,a=>{a.n(a.i(58476))},89526,a=>{a.n(a.i(18017))},35330,a=>{"use strict";var b=a.i(7997),c=a.i(39138);function d({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card",className:(0,c.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",a),...d})}function e({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-header",className:(0,c.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",a),...d})}function f({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-title",className:(0,c.cn)("leading-none font-semibold",a),...d})}function g({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-description",className:(0,c.cn)("text-muted-foreground text-sm",a),...d})}function h({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-content",className:(0,c.cn)("px-6",a),...d})}a.s(["Card",()=>d,"CardContent",()=>h,"CardDescription",()=>g,"CardHeader",()=>e,"CardTitle",()=>f])},72030,a=>{"use strict";let b=(0,a.i(1269).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);a.s(["ChevronRight",()=>b],72030)},74755,a=>{"use strict";var b=a.i(7997),c=a.i(95936),d=a.i(35330),e=a.i(1269);let f=(0,e.default)("sword",[["path",{d:"m11 19-6-6",key:"s7kpr"}],["path",{d:"m5 21-2-2",key:"1kw20b"}],["path",{d:"m8 16-4 4",key:"1oqv8h"}],["path",{d:"M9.5 17.5 21 6V3h-3L6.5 14.5",key:"pkxemp"}]]),g=(0,e.default)("telescope",[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]]);var h=a.i(72030),i=a.i(1502);let j=["cakrawala","khauf"],k={cakrawala:{icon:g,color:"from-blue-500/20 to-cyan-500/10",iconColor:"text-blue-400",defaultDesc:"Unit Kegiatan Khusus Cakrawala HMF FPMIPA UPI"},khauf:{icon:f,color:"from-rose-500/20 to-orange-500/10",iconColor:"text-rose-400",defaultDesc:"Unit Kegiatan Khusus Khauf HMF FPMIPA UPI"}};async function l(){let a=await Promise.all(j.map(a=>(0,i.getOrCreateUKK)(a)));return(0,b.jsxs)("div",{className:"space-y-6",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("h1",{className:"text-3xl font-bold tracking-tight",children:"Unit Kegiatan Khusus"}),(0,b.jsx)("p",{className:"text-muted-foreground mt-1",children:"Pilih UKK yang ingin dikelola informasi, program kerja, dan anggotanya."})]}),(0,b.jsx)("div",{className:"grid gap-4 md:grid-cols-2",children:a.map(a=>{if(!a)return null;let e=k[a.slug]||{icon:g,color:"from-gray-500/20 to-slate-500/10",iconColor:"text-gray-400",defaultDesc:"Unit Kegiatan Khusus HMF FPMIPA UPI"},f=e.icon;return(0,b.jsx)(c.default,{href:`/admin/ukk/${a.slug}`,children:(0,b.jsxs)(d.Card,{className:"group relative overflow-hidden hover:border-primary/50 transition-all duration-300 cursor-pointer hover:-translate-y-1 hover:shadow-xl",children:[(0,b.jsx)("div",{className:`absolute inset-0 bg-gradient-to-br ${e.color} opacity-0 group-hover:opacity-100 transition-opacity duration-300`}),(0,b.jsx)(d.CardHeader,{className:"relative",children:(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsx)("div",{className:"p-2.5 bg-muted rounded-xl group-hover:bg-primary/10 transition-colors",children:(0,b.jsx)(f,{className:`h-6 w-6 ${e.iconColor}`})}),(0,b.jsxs)("div",{children:[(0,b.jsxs)(d.CardTitle,{className:"text-lg",children:["UKK ",a.nama]}),(0,b.jsx)(d.CardDescription,{className:"line-clamp-2",children:a.deskripsi||e.defaultDesc})]})]}),(0,b.jsx)(h.ChevronRight,{className:"h-5 w-5 text-muted-foreground group-hover:text-primary group-hover:translate-x-1 transition-all"})]})}),(0,b.jsx)(d.CardContent,{className:"relative",children:(0,b.jsxs)("p",{className:"text-sm text-muted-foreground",children:["Kelola profil, program kerja, dan daftar anggota UKK ",a.nama,"."]})})]})},a.slug)})})]})}a.s(["default",()=>l,"dynamic",0,"force-dynamic","revalidate",0,0],74755)}];

//# sourceMappingURL=%5Broot-of-the-server%5D__a47b1be4._.js.map