(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,253348,e=>{"use strict";var r=e.i(19483),o=e.i(542098),t=e.i(187725);function n({error:e,reset:n}){return(0,t.useEffect)(()=>{o.captureException(e,{level:"fatal",tags:{errorBoundary:"global",digest:e.digest},extra:{componentStack:e.stack}}),console.error("Global Error Boundary caught error:",e)},[e]),(0,r.jsx)("html",{lang:"en",children:(0,r.jsx)("body",{children:(0,r.jsx)("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",height:"100vh",backgroundColor:"#f7fafc",fontFamily:"system-ui, sans-serif"},children:(0,r.jsxs)("div",{style:{padding:"2rem",backgroundColor:"white",border:"1px solid #e2e8f0",borderRadius:"8px",maxWidth:"600px",boxShadow:"0 4px 6px rgba(0, 0, 0, 0.1)"},children:[(0,r.jsx)("h1",{style:{fontSize:"1.5rem",fontWeight:600,marginBottom:"1rem",color:"#1a202c"},children:"Something went wrong"}),(0,r.jsx)("p",{style:{fontSize:"0.875rem",color:"#4a5568",marginBottom:"1rem"},children:e.message||"An unexpected error occurred"}),e.digest&&(0,r.jsxs)("p",{style:{fontSize:"0.75rem",color:"#a0aec0",marginBottom:"1.5rem"},children:["Error ID: ",e.digest]}),(0,r.jsx)("button",{onClick:()=>n(),style:{padding:"0.5rem 1rem",backgroundColor:"#3182ce",color:"white",border:"none",borderRadius:"4px",fontSize:"0.875rem",cursor:"pointer"},children:"Try again"})]})})})})}e.s(["default",()=>n])}]);