import{B as m,p,r as f,c as r,a as h,b as o,t as s,i as _,F as g,y as c,o as i}from"./app-CYVHboi-.js";import"./browser-BwNzv7vE.js";const v={class:"flex min-h-screen min-w-full flex-col items-center justify-center text-center"},y={class:"text-lg font-bold"},b={class:"my-2"},k={key:0,href:"/",class:"btn-primary mt-4"},B={__name:"Error",props:{status:Number},setup(a){const{t:e}=m({}),t=a;p(()=>{t.status===503&&setInterval(()=>{window.location.reload()},1e4)});const n=c(()=>({503:e("503: Service Unavailable"),500:e("500: Server Error"),404:e("404: Page Not Found"),403:e("403: Forbidden")})[t.status]),l=c(()=>({503:e("Sorry, we are doing some maintenance. Please check back soon."),500:e("Whoops, something went wrong on our servers."),404:e("Sorry, the page you are looking for could not be found."),403:e("Sorry, you are forbidden from accessing this page.")})[t.status]);return(u,w)=>{const d=f("Head");return i(),r(g,null,[h(d,{title:n.value},null,8,["title"]),o("div",v,[o("h1",y,s(n.value),1),o("div",b,s(l.value),1),a.status!=503?(i(),r("a",k,s(u.$t("Back to Homepage")),1)):_("",!0)])],64)}}};export{B as default};
