import{o as l,c as m,n as E,g as f,u as s,d as n,_ as o}from"./entry.559227d3.js";const g={__name:"nuxt-error-page",props:{error:Object},setup(c){const{error:t}=c;(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,u=t.statusMessage??(a?"Page Not Found":"Internal Server Error"),i=t.message||t.toString(),p=void 0,_=a?n(()=>o(()=>import("./error-404.cf15c855.js"),["./error-404.cf15c855.js","./entry.559227d3.js","./entry.df1a2c4d.css","./error-404.53b4dbba.css"],import.meta.url).then(e=>e.default||e)):n(()=>o(()=>import("./error-500.f637613d.js"),["./error-500.f637613d.js","./entry.559227d3.js","./entry.df1a2c4d.css","./error-500.1c17b83c.css"],import.meta.url).then(e=>e.default||e));return(e,d)=>(l(),m(s(_),E(f({statusCode:s(r),statusMessage:s(u),description:s(i),stack:s(p)})),null,16))}},x=g;export{x as default};
