{"version":3,"file":"static/chunks/app/error-a806c52469d0d46a.js","mappings":"sFAAAA,QAAAC,OAAA,GAAAC,IAAA,CAAAC,EAAAC,IAAA,CAAAD,EAAA,ggBEae,SAASE,EAAMC,CAAgC,KAAhC,CAAEC,MAAAA,CAAK,CAAEC,MAAAA,CAAK,CAAkB,CAAhCF,EAW1B,MALAG,CAAAA,EAAAA,EAAAA,SAAAA,EAAU,KAENC,QAAQH,KAAK,CAAC,cAAeA,EACjC,EAAG,CAACA,EAAM,EAGN,GAAAI,EAAAC,GAAA,EAACC,EAAAA,EAAaA,CAAAA,UACV,GAAAF,EAAAG,IAAA,EAAAH,EAAAI,QAAA,YACI,GAAAJ,EAAAC,GAAA,EAACI,EAAAA,OAAQA,CAAAA,CACLC,MAAM,uBACNC,YAfI,CAChB,CAAEC,MAAO,OAAQC,KAAM,GAAI,EAC3B,CAAED,MAAO,QAASC,KAAM,GAAI,EAC/B,CAaeC,gBAAgB,uCAEpB,GAAAV,EAAAC,GAAA,EAACU,EAAAA,CAASA,CAAAA,UACN,GAAAX,EAAAG,IAAA,EAACS,MAAAA,CAAIC,UAAU,gFACX,GAAAb,EAAAC,GAAA,EAACa,KAAAA,CAAGD,UAAU,uDAA8C,uCAG5D,GAAAb,EAAAC,GAAA,EAACc,IAAAA,CAAEF,UAAU,2CAAkC,iHAI/C,GAAAb,EAAAG,IAAA,EAACS,MAAAA,CAAIC,UAAU,uBACX,GAAAb,EAAAC,GAAA,EAACe,EAAAA,CAAMA,CAAAA,CACHC,MAAM,UACNC,KAAK,KACLL,UAAU,gBACVM,QAAStB,WACZ,cAGD,GAAAG,EAAAC,GAAA,EAACe,EAAAA,CAAMA,CAAAA,CACHI,GAAG,IACHX,KAAK,IACLQ,MAAM,UACNI,QAAQ,WACRH,KAAK,KACLL,UAAU,yBACb,+BAS7B","sources":["webpack://_N_E/?6074","webpack://_N_E/./node_modules/.pnpm/next@14.2.3_@babel+core@7.24.7_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/api/navigation.js","webpack://_N_E/./src/app/error.tsx"],"sourcesContent":["import(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/src/app/error.tsx\");\n","export * from \"../client/components/navigation\";\n\n//# sourceMappingURL=navigation.js.map","'use client';\n\nimport { Container } from '@/layers/presentation/components/common/Container';\nimport PageHero from '@/layers/presentation/components/common/PageHero';\nimport { LandingLayout } from '@/layers/presentation/layouts';\nimport { Button } from '@nextui-org/react';\nimport { useEffect } from 'react';\n\ninterface ErrorPageProps {\n error: Error;\n reset: () => void;\n}\n\nexport default function Error({ error, reset }: ErrorPageProps) {\n const breadcrumbs = [\n { label: 'Home', href: '/' },\n { label: 'Error', href: '#' },\n ];\n\n useEffect(() => {\n // Log the error to an error reporting service\n console.error('Page Error:', error);\n }, [error]);\n\n return (\n \n <>\n \n \n
\n

\n We encountered an unexpected error\n

\n

\n We apologize for the inconvenience. Please try again, and if the problem\n persists, contact our support team.\n

\n
\n \n Try Again\n \n \n Return to Home\n \n
\n
\n
\n \n
\n );\n}\n"],"names":["Promise","resolve","then","__webpack_require__","bind","Error","param","error","reset","useEffect","console","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","LandingLayout","jsxs","Fragment","PageHero","title","breadcrumbs","label","href","backgroundImage","Container","div","className","h2","p","Button","color","size","onClick","as","variant"],"sourceRoot":""}