1import{j as e,H as l}from"./vendor-react-ff_kKGjF.js";import{a}from"./country-storage-qaB_Xfoj.js";const d=({status:r,translations:t})=>{const c=typeof document<"u"&&document.documentElement.dataset.appName||"App",s=a(),x=()=>{switch(r){case 403:return{title:t.ERROR_403_TITLE,description:t.ERROR_403_DESCRIPTION};case 404:return{title:t.ERROR_404_TITLE,description:t.ERROR_404_DESCRIPTION};case 410:return{title:t.ERROR_410_TITLE,description:t.ERROR_410_DESCRIPTION};case 429:return{title:t.ERROR_429_TITLE,description:t.ERROR_429_DESCRIPTION};case 500:return{title:t.ERROR_500_TITLE,description:t.ERROR_500_DESCRIPTION};case 503:return{title:t.ERROR_503_TITLE,description:t.ERROR_503_DESCRIPTION};default:return{title:t.ERROR_GENERIC_TITLE,description:t.ERROR_GENERIC_DESCRIPTION}}},{title:m,description:i}=x();return e.jsxs(e.Fragment,{children:[e.jsx(l,{title:`${r} - ${m} | ${c}`}),e.jsxs("div",{className:"min-h-screen flex flex-col bg-gray-50",children:[e.jsx("header",{className:"bg-white border-b border-gray-200 py-3 px-4 sm:py-4",children:e.jsx("div",{className:"max-w-7xl mx-auto flex justify-center sm:justify-start",children:e.jsx("a",{href:s,className:"inline-block",children:e.jsx("img",{src:"/images/site_logo.svg",alt:"Home",className:"h-8 sm:h-10 w-auto"})})})}),e.jsx("main",{className:"flex-1 flex items-center justify-center py-12 px-4 sm:py-16",children:e.jsxs("div",{className:"text-center max-w-md w-full",children:[e.jsx("p",{className:"text-6xl sm:text-7xl font-bold text-primary mb-3 sm:mb-4",children:r}),e.jsx("h1",{className:"text-xl sm:text-2xl font-bold text-gray-900 mb-2",children:m}),e.jsx("p",{className:"text-gray-600 mb-6 sm:mb-8 text-sm sm:text-base px-2",children:i}),e.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:gap-4 justify-center px-4 sm:px-0",children:[e.jsx("a",{href:s,className:"inline-flex items-center justify-center px-5 py-2.5 sm:px-6 sm:py-3 bg-primary text-white font-medium rounded-lg hover:bg-primary/90 transition-colors text-sm sm:text-base",children:t.GOTO_HOMEPAGE}),e.jsx("button",{onClick:()=>window.history.back(),className:"inline-flex items-center justify-center px-5 py-2.5 sm:px-6 sm:py-3 border border-gray-300 bg-white text-gray-700 font-medium rounded-lg hover:bg-gray-50 transition-colors text-sm sm:text-base",children:t.GO_BACK})]})]})}),e.jsx("footer",{className:"bg-white border-t border-gray-200 py-3 px-4 sm:py-4",children:e.jsxs("div",{className:"max-w-7xl mx-auto text-center text-xs sm:text-sm text-gray-500",children:["© ",new Date().getFullYear()]})})]})]})};d.layout=r=>r;export{d as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.