(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,874581,e=>{"use strict";var t=e.i(843476),s=e.i(271645),r=e.i(519455),n=e.i(582458),n=n;function c({error:e,reset:c}){return(0,s.useEffect)(()=>{console.error(e)},[e]),(0,t.jsx)("div",{className:"flex flex-1 items-center justify-center p-6",children:(0,t.jsxs)("div",{className:"text-center max-w-md",children:[(0,t.jsx)("div",{className:"w-12 h-12 rounded-full bg-red-50 text-red-600 flex items-center justify-center mx-auto mb-4",children:(0,t.jsx)(n.default,{className:"w-6 h-6"})}),(0,t.jsx)("h2",{className:"text-xl font-bold text-gray-900 mb-2",children:"Something went wrong"}),(0,t.jsx)("p",{className:"text-gray-500 text-sm mb-6",children:e.message||"An unexpected error occurred in the admin panel."}),(0,t.jsx)(r.Button,{onClick:c,variant:"outline",children:"Try Again"})]})})}e.s(["default",()=>c],874581)}]);