import{_ as c}from"./403-8a45d525.js";import{u as i,k as u,x as d,o as m,q as _,f as t,t as o,e as f}from"./index-0c00d6f8.js";const p={class:"flex flex-col items-center justify-center gap-3 text-center"},v={class:"font-semibold text-2xl"},b={class:"text-sub"},x=["disabled"],k={class:"text-main font-medium"},S={__name:"403",setup(B){const n=i(),e=u(60),l=u(0);function r(){e.value=60;let s=setInterval(()=>{e.value<=0&&(clearTimeout(s),n.back(),l.value==0)||e.value--},1e3)}return d(()=>{r()}),(s,a)=>(m(),_("div",p,[a[1]||(a[1]=t("img",{src:c,alt:"unauthorized",class:"w-[400px] h-[300px]"},null,-1)),t("h1",v,o(s.$t("LABELS.too_many_request")),1),t("p",b,o(s.$t("LABELS.access_exceed"))+".",1),t("button",{disabled:e.value!=0||l.value!=0,class:"base-btn",onClick:a[0]||(a[0]=L=>f(n).back())},o(s.$t("LABELS.reload")),9,x),t("span",k,[t("bdi",null,"00:"+o(e.value<10?"0":"")+o(e.value),1)])]))}};export{S as default};
