System.register(["./index-legacy-BJO1GMTD.js?v=1773287522785","./ssl-legacy-BRxc0DyI.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785"],(function(a,e){"use strict";var s,t,l,n,c,o,i,r,u,g,d,p,y,j,f,v;return{setters:[a=>{s=a._},a=>{t=a.a},a=>{l=a.u},a=>{n=a.i},a=>{c=a.B},a=>{o=a.k,i=a.r,r=a.o,u=a.K,g=a.$,d=a.Z,p=a.a0,y=a.a9,j=a.j,f=a.aa,v=a.S},null],execute:function(){const e={class:"p-16px h-400px"};a("default",o({__name:"ssl-log",props:{data:{}},setup(a){const o=a,{loading:m,setLoading:x}=l(),h=i("None"),_=async(a=!0)=>{if(console.log("111"),x(a),o.data.path)try{const{message:a}=await t({path:o.data.path});n(a)&&(h.value=a.data?a.data:"None")}finally{x(!1)}};_();let b=null;return r((()=>{b=setInterval((()=>{_(!1)}),2e3)})),u((()=>{b&&clearInterval(b)})),(a,t)=>{const l=c,n=s;return g(),d("div",e,[p(l,{class:"mb-8px",type:"primary",onClick:t[0]||(t[0]=a=>_(!0))},{default:y((()=>[j(f(a.$t("Public.Btn.Refresh")),1)])),_:1}),p(n,{loading:v(m),log:v(h)},null,8,["loading","log"])])}}}))}}}));
