import{a as l}from"./404-0b326e15.js";import{i as f}from"./index-065f7c61.js";import{a2 as u,r as a,e as d,u as m,o as p,c as _,a as e,t as g,f as h}from"./index-25eb6331.js";import{b as n}from"./route-block-83d24a4e.js";const b={class:"error-body"},k={class:"error-desc"},v=e("img",{src:l,class:"err-cover",alt:"page not found"},null,-1),y=u({__name:"404",setup(R){const o=a(null),t=a("404");d(()=>{let s=new URLSearchParams(window.location.search),r=s.get("message")||"没有数据的荒野!";t.value=s.get("code")||"404",f(o.value,{showCursor:!1,disableBackTyping:!0,strings:[r]})});const c=m(),i=()=>c.push("/");return(s,r)=>(p(),_("div",b,[e("div",k,[e("div",{ref:"codeRef",class:"err-code"},g(h(t)),513),e("div",{ref_key:"contentRef",ref:o,class:"err-content"},null,512),e("button",{class:"error-btn",onClick:i}," 👉 返回首页 ")]),v]))}});typeof n=="function"&&n(y);export{y as default};
