import{_ as m}from"./index-lEMZglLp.js?v=1773287522785";import{ak as _}from"./mail-COTHIXbY.js?v=1773287522785";import{u as f}from"./useLoading-CZ2gSAW7.js?v=1773287522785";import{i as u}from"./index-BTglIPU2.js?v=1773287522785";import{B as d}from"./naive-ui--dJnpVcV.js?v=1773287522785";import{k as g,r as x,$ as h,Z as y,a0 as e,a9 as b,j as k,aa as B,S as s}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const N={class:"p-16px h-300px"},D=g({__name:"index",props:{log:{}},setup(i){const r=i,{loading:c,setLoading:t}=f(),a=x("None"),n=async()=>{t(!0);try{const{message:o}=await _({path:r.log});u(o)&&(a.value=o.data?o.data:"None")}finally{t(!1)}};return n(),(o,C)=>{const p=d,l=m;return h(),y("div",N,[e(p,{class:"mb-8px",type:"primary",onClick:n},{default:b(()=>[k(B(o.$t("Public.Btn.Refresh")),1)]),_:1}),e(l,{loading:s(c),log:s(a)},null,8,["loading","log"])])}}});export{D as default};
