import{ai as a}from"./config.js?v=1761009159";import{c as e,r as s,q as r,aF as t,v as l,x as n,z as o,y as c}from"./base-lib.js?v=1761009159";import"./utils-lib.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";const i={class:"h-full overflow-auto bg-[#222] text-white"},p=["innerHTML"],m=e({__name:"cert-progress",setup(e){const m=s("正在申请证书..."),u=s();return r(()=>{(async()=>{u.value=setInterval(async()=>{try{const{data:e}=await a({filename:"/www/server/panel/logs/letsencrypt.log",num:10});m.value=e.msg}catch(e){clearInterval(u.value)}},2e3)})()}),t(()=>{clearInterval(u.value)}),(a,e)=>(l(),n("div",i,[o("pre",{innerHTML:c(m),class:"whitespace-pre-wrap p-[1rem]"},null,8,p)]))}});export{m as default};
