(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,16715,e=>{"use strict";let t=(0,e.i(75254).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",()=>t],16715)},75014,e=>{"use strict";var t=e.i(43476),a=e.i(22016),s=e.i(71645),i=e.i(94351),l=e.i(16715);let r=(0,e.i(75254).default)("shield-alert",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]);function n({error:e,reset:n}){return(0,s.useEffect)(()=>{console.error("Admin Layout Error:",e)},[e]),(0,t.jsxs)("div",{"data-theme":"dark",className:"min-h-screen bg-[#07090f] flex flex-col items-center justify-center font-sans selection:bg-[#2563EB] selection:text-white p-8",children:[(0,t.jsx)("div",{className:"fixed inset-0 z-0 pointer-events-none",children:(0,t.jsx)("div",{className:"absolute inset-0 opacity-[0.03]",style:{backgroundImage:"linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px)",backgroundSize:"60px 60px"}})}),(0,t.jsxs)("div",{className:"relative z-10 text-center max-w-lg",children:[(0,t.jsx)("div",{className:"w-20 h-20 mx-auto mb-6 rounded-3xl bg-red-500/10 border border-red-500/20 flex items-center justify-center",children:(0,t.jsx)(r,{className:"w-10 h-10 text-red-400"})}),(0,t.jsx)("h1",{className:"text-3xl font-bold text-white mb-3",children:"Terjadi Kesalahan"}),(0,t.jsx)("p",{className:"text-gray-400 mb-3 leading-relaxed",children:"Maaf, terjadi kesalahan pada panel admin. Kemungkinan database sedang sibuk."}),(0,t.jsx)("p",{className:"text-gray-500 text-xs mb-8 font-mono",children:e.digest?`Error ID: ${e.digest}`:""}),(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row gap-3 justify-center",children:[(0,t.jsxs)("button",{onClick:()=>n(),className:"inline-flex items-center gap-2 px-6 py-3 rounded-full bg-white/10 border border-white/20 text-white font-semibold text-sm hover:bg-white/20 transition-all",children:[(0,t.jsx)(l.RefreshCw,{className:"w-4 h-4"}),"Coba Lagi"]}),(0,t.jsxs)(a.default,{href:"/admin",className:"inline-flex items-center gap-2 px-6 py-3 rounded-full bg-blue-600 text-white font-bold text-sm hover:bg-blue-500 transition-all shadow-xl",children:[(0,t.jsx)(i.Home,{className:"w-4 h-4"}),"Dashboard"]})]})]})]})}e.s(["default",()=>n],75014)}]);