import{B as e,Ct as t,Ft as n,H as r,It as i,Mt as a,Q as o,V as s,W as c,_t as l,at as u,d,ft as f,ht as p,jt as m,mt as h,ot as g,st as _,wt as v,x as y}from"../chunks/BA99CCI5.js";import"../chunks/xihTtKlq.js";import"../chunks/DGo8yE5j.js";import{t as b}from"../chunks/BfBgZfCV2.js";var x=``+new URL(`../assets/404.BxBcHaW7.gif`,import.meta.url).href,S=c(`<div class="flex-1"><img alt="404 Not Found" class="h-auto w-full rounded-lg"/></div>`),C=c(`<div class="fixed inset-0 z-50 flex items-center justify-center overflow-hidden bg-neutral-50 px-4 dark:bg-neutral-900"><div class="flex max-w-6xl items-center gap-12"><div class="flex-1"><h1 class="mb-4 text-9xl font-bold text-neutral-900 dark:text-neutral-50"> </h1> <p class="mb-8 text-lg text-neutral-600 dark:text-neutral-400"> </p> <a href="/" class="inline-block rounded-lg bg-neutral-900 px-6 py-3 font-semibold text-white transition-colors hover:bg-neutral-700 dark:bg-neutral-50 dark:text-neutral-900 dark:hover:bg-neutral-200">Go Home</a></div> <!></div></div>`);function w(c,w){a(w,!1);let T=()=>v(b,`$page`,E),[E,D]=t(),O=p(),k=p();u(()=>T(),()=>{l(O,T().status)}),u(()=>T(),()=>{l(k,T().error?.message||`An unexpected error occurred`)}),g(),d();var A=C(),j=f(A),M=f(j),N=f(M),P=f(N,!0);i(N);var F=h(N,2),I=f(F,!0);i(F),n(2),i(M);var L=h(M,2),R=e=>{var t=S(),n=f(t);i(t),_(()=>y(n,`src`,x)),r(e,t)};e(L,e=>{o(O)===404&&e(R)}),i(j),i(A),_(()=>{s(P,o(O)),s(I,o(k))}),r(c,A),m(),D()}export{w as component};