import{d as o,_ as c,o as g,c as E,n as k,g as P,u as s}from"./entry.83e061d6.js";const v={__name:"nuxt-error-page",props:{error:Object},setup(u){var n;const{error:t}=u;(t.stack||"").split(`
`).splice(1).map(e=>({text:e.replace("webpack:/","").replace(".vue",".js").trim(),internal:e.includes("node_modules")&&!e.includes(".cache")||e.includes("internal")||e.includes("new Promise")})).map(e=>`<span class="stack${e.internal?" internal":""}">${e.text}</span>`).join(`
`);const r=Number(t.statusCode||500),a=r===404,i=(n=t.statusMessage)!=null?n:a?"Page Not Found":"Internal Server Error",p=t.message||t.toString(),_=void 0,d=o(()=>c(()=>import("./error-404.3a5fbc45.js"),["./error-404.3a5fbc45.js","./entry.83e061d6.js","./entry.cb7cc243.css","./composables.633e7485.js","./error-404.37afb329.css"],import.meta.url).then(e=>e.default||e)),l=o(()=>c(()=>import("./error-500.c61718a0.js"),["./error-500.c61718a0.js","./composables.633e7485.js","./entry.83e061d6.js","./entry.cb7cc243.css","./error-500.b7351e05.css"],import.meta.url).then(e=>e.default||e)),m=a?d:l;return(e,f)=>(g(),E(s(m),k(P({statusCode:s(r),statusMessage:s(i),description:s(p),stack:s(_)})),null,16))}},h=v;export{h as default};
