
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="80577d4e-ed42-5525-ab26-967fc8eab676")}catch(e){}}();
import{j as s}from"./jsx-runtime-BjG_zV1W.js";import{c as l}from"./index-x2da_zcv.js";import{u as d}from"./useTranslation-CfKJAmGY.js";import{L as p}from"./components-1fH5YjVo.js";const f=({isFullWidth:m=!1,errorCode:t="404",publicationPresent:r=!0,customTitle:c,customDescription:i,error:a})=>{const{t:e,i18n:x}=d(),n=x.exists(`errors.${t}.title`)?e(`errors.${t}.title`):e("errors.fallback.title"),o=x.exists(`errors.${t}.description`)?e(`errors.${t}.description`):e("errors.fallback.description");return s.jsx("div",{className:l("mx-auto flex min-h-screen items-center justify-center bg-white px-4 py-24",m?"w-full":"max-w-3xl"),children:s.jsx("div",{className:l("mx-auto",m?"max-w-screen-lg":"max-w-max"),children:s.jsxs("main",{className:"sm:flex",children:[t!=="0"&&s.jsx("p",{className:"text-4xl font-extrabold text-gray-600 sm:text-5xl",children:t}),s.jsx("div",{className:"sm:ml-6",children:s.jsxs("div",{className:l("sm:pl-6",t!=="0"&&"sm:border-l sm:border-gray-200"),children:[s.jsx("h1",{className:"text-4xl font-extrabold tracking-tight text-gray-900 sm:text-5xl",children:c||n}),s.jsx("p",{className:"mt-2 mb-2 text-base text-gray-500",children:i||o}),r&&s.jsx(p,{to:"/",className:"mt-1 text-base text-gray-600 underline offset-1 hover:text-gray-700",children:e("errors.back")}),a&&s.jsxs("details",{className:"mt-4",children:[s.jsx("summary",{className:"text-sm font-medium text-gray-500",children:"Error Details"}),s.jsx("p",{className:"mt-2 text-sm text-gray-900",children:a.message}),a?.stack&&s.jsx("pre",{className:"mt-2 w-[360px] overflow-x-auto text-sm text-gray-900 sm:w-[480px]",children:a.stack})]})]})})]})})})},u=f;export{u as F};
//# sourceMappingURL=index-BMPF7XpZ.js.map

//# debugId=80577d4e-ed42-5525-ab26-967fc8eab676
