import{_ as a}from"./index101.js?v=1753954525509";import{c as s,ak as t}from"./public.js?v=1753954525509";import{c as o}from"./page_layout.js?v=1753954525509";import{ay as e}from"./naive.js?v=1753954525509";import{k as l,r,o as n,G as p,U as i,V as m,Q as c,a2 as d,j as u,a3 as f,X as g}from"./vue.js?v=1753954525509";import"./common.js?v=1753954525509";import"./__commonjsHelpers__.js?v=1753954525509";const j={class:"p-16px h-400px"},_=l({__name:"ssl-log",props:{data:{}},setup(l){const _=l,{loading:y,setLoading:v}=s(),h=r("None"),x=async(a=!0)=>{if(v(a),_.data.path)try{const{message:a}=await t({path:_.data.path});o(a)&&(h.value=a.data?a.data:"None")}finally{v(!1)}};x();let b=null;return n((()=>{b=setInterval((()=>{x(!1)}),2e3)})),p((()=>{b&&clearInterval(b)})),(s,t)=>{const o=e,l=a;return i(),m("div",j,[c(o,{class:"mb-8px",type:"primary",onClick:t[0]||(t[0]=a=>x(!0))},{default:d((()=>[u(f(s.$t("Public.Btn.Refresh")),1)])),_:1}),c(l,{loading:g(y),log:g(h)},null,8,["loading","log"])])}}});export{_ as default};
