(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,58298,e=>{"use strict";e.s(["default",()=>o]);var r=e.i(43476),t=e.i(71645);function o(e){let{error:o,reset:n}=e;return(0,t.useEffect)(()=>{console.error(o)},[o]),(0,r.jsxs)("main",{className:"flex min-h-screen flex-col items-center justify-center bg-red-50 text-center px-6",children:[(0,r.jsx)("h1",{className:"text-5xl font-bold text-red-700 mb-4",children:"Something went wrong"}),(0,r.jsx)("p",{className:"text-gray-700 mb-8 max-w-md",children:"An unexpected error occurred. Please try again or go back to the homepage."}),(0,r.jsxs)("div",{className:"flex gap-3",children:[(0,r.jsx)("button",{onClick:()=>n(),className:"px-5 py-2.5 rounded bg-[#2d4b6a] text-white font-medium hover:bg-[#203a55] focus:outline-none focus:ring-2 focus:ring-[#2d4b6a]",children:"Try Again"}),(0,r.jsx)("a",{href:"/",className:"px-5 py-2.5 rounded border border-gray-300 text-gray-800 font-medium bg-white hover:bg-gray-100",children:"Go Home"})]})]})}}]);