module.exports=[50227,(a,b,c)=>{b.exports=a.x("node:path",()=>require("node:path"))},59639,(a,b,c)=>{b.exports=a.x("node:process",()=>require("node:process"))},57764,(a,b,c)=>{b.exports=a.x("node:url",()=>require("node:url"))},62711,51212,16552,a=>{"use strict";var b=a.i(50227);a.s(["minpath",()=>b.default],62711);var c=a.i(59639);a.s(["minproc",()=>c.default],51212);var d=a.i(57764);a.s(["urlToPath",()=>d.fileURLToPath],16552)},13864,a=>{"use strict";var b=a.i(87924),c=a.i(50944),d=a.i(62180);function e({tabs:a}){let e=(0,c.useRouter)(),f=(0,c.useSearchParams)(),g=f.get("tab");if(!a||0===a.length)return null;let h=a.find(a=>a.id===g)||a[0];return(0,b.jsxs)("div",{className:"w-full relative z-20 -mt-10 md:-mt-16 container px-4 flex flex-col items-center",children:[(0,b.jsx)("div",{className:"flex flex-wrap bg-white/5 backdrop-blur-md rounded-t-2xl overflow-hidden border-b border-white/10 justify-center w-full max-w-5xl shadow-[0_8px_32px_0_rgba(0,0,0,0.1)]",children:a.map(a=>{let c=h.id===a.id;return(0,b.jsxs)("button",{onClick:()=>{var b;let c;return b=a.id,void((c=new URLSearchParams(f.toString())).set("tab",b),e.push(`?${c.toString()}`,{scroll:!1}))},className:`px-4 sm:px-6 md:px-10 py-5 font-bold text-sm transition-colors flex-1 md:flex-none text-center relative ${c?"bg-white/10 text-white":"text-white/80 hover:text-white hover:bg-white/10"}`,children:[c&&(0,b.jsx)("div",{className:"absolute top-0 left-0 w-full h-1 bg-gradient-to-r from-blue-500 to-indigo-500"}),a.judul]},a.id)})}),(0,b.jsxs)("div",{className:"bg-white/5 border border-white/20 w-full max-w-5xl rounded-b-2xl md:rounded-tr-none shadow-[0_8px_32px_0_rgba(0,0,0,0.37)] p-6 md:p-12 min-h-[50vh] backdrop-blur-2xl relative z-10",children:["atas"===h.gambarPosisi&&h.gambarUrl&&(0,b.jsx)("div",{className:"w-full mb-8 rounded-2xl overflow-hidden bg-black/40 border border-white/10",children:(0,b.jsx)("img",{src:h.gambarUrl,alt:h.judul,className:"w-full h-auto object-cover max-h-[500px]"})}),"tengah"===h.gambarPosisi&&h.gambarUrl?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("div",{className:"text-white prose prose-lg prose-invert max-w-none prose-headings:text-white prose-p:text-white prose-li:text-white prose-a:text-blue-400 hover:prose-a:text-blue-300 prose-strong:text-white whitespace-pre-wrap",children:(0,b.jsx)(d.default,{children:(h.deskripsi||"").split("\n\n").slice(0,Math.ceil((h.deskripsi||"").split("\n\n").length/2)).join("\n\n")})}),(0,b.jsx)("div",{className:"w-full my-8 rounded-2xl overflow-hidden bg-black/40 border border-white/10",children:(0,b.jsx)("img",{src:h.gambarUrl,alt:h.judul,className:"w-full h-auto object-cover max-h-[500px]"})}),(0,b.jsx)("div",{className:"text-white prose prose-lg prose-invert max-w-none prose-headings:text-white prose-p:text-white prose-li:text-white prose-a:text-blue-400 hover:prose-a:text-blue-300 prose-strong:text-white whitespace-pre-wrap",children:(0,b.jsx)(d.default,{children:(h.deskripsi||"").split("\n\n").slice(Math.ceil((h.deskripsi||"").split("\n\n").length/2)).join("\n\n")})})]}):(0,b.jsx)("div",{className:"text-white prose prose-lg prose-invert max-w-none prose-headings:text-white prose-p:text-white prose-li:text-white prose-a:text-blue-400 hover:prose-a:text-blue-300 prose-strong:text-white whitespace-pre-wrap",children:(0,b.jsx)(d.default,{children:h?.deskripsi||""})}),"bawah"===h.gambarPosisi&&h.gambarUrl&&(0,b.jsx)("div",{className:"w-full mt-8 rounded-2xl overflow-hidden bg-black/40 border border-white/10",children:(0,b.jsx)("img",{src:h.gambarUrl,alt:h.judul,className:"w-full h-auto object-cover max-h-[500px]"})})]})]})}a.s(["default",()=>e])}];

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