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