import{j as e}from"./ui-vendor-8uIfD_JC.js";import{u as r,r as a,L as t}from"./react-vendor-28t7dxFl.js";import{a as n}from"./analytics-vendor-Buw7Jr8C.js";import{l,B as o}from"./index-BagLllOy.js";import{H as c,M as i}from"./header-B8URyXEE.js";import{F as x}from"./footer-B4a-Tf9e.js";import"./convex-vendor-BbyM1w2O.js";function N(){const s=r();return a.useEffect(()=>{l.warn(`404 Error: User attempted to access non-existent route: ${s.pathname}`,{context:"NotFound"})},[s.pathname]),e.jsxs(e.Fragment,{children:[e.jsxs(n,{children:[e.jsx("title",{children:"404 - Страница не найдена | Goh.Place"}),e.jsx("meta",{name:"robots",content:"noindex, nofollow"})]}),e.jsxs("div",{className:"min-h-screen flex flex-col",children:[e.jsx(c,{}),e.jsx("main",{className:"flex-1 flex items-center justify-center",children:e.jsxs("div",{className:"text-center space-y-6 px-4",children:[e.jsx("h1",{className:"text-6xl font-bold",children:"404"}),e.jsx("h2",{className:"text-2xl font-semibold",children:"Страница не найдена"}),e.jsx("p",{className:"text-muted-foreground max-w-md mx-auto",children:"К сожалению, запрашиваемая страница не существует или была удалена"}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[e.jsx(t,{to:"/",children:e.jsx(o,{children:"Вернуться на главную"})}),e.jsx(t,{to:"/map",children:e.jsxs(o,{variant:"secondary",children:[e.jsx(i,{className:"mr-2 size-4"}),"Открыть карту"]})})]})]})}),e.jsx(x,{})]})]})}export{N as default};