import{_ as p}from"./index-lEMZglLp.js?v=1773287522785";import{id as m,i as g}from"./index-BTglIPU2.js?v=1773287522785";import{u as _}from"./useLoading-CZ2gSAW7.js?v=1773287522785";import{k as u,r as d,$ as f,a8 as k,S as s}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const B=u({__name:"install-log",props:{id:{}},setup(e,{expose:l}){const i=e,t=d("None"),{loading:r,setLoading:n}=_(),a=async()=>{try{n(!0);const{message:o}=await m({path:"/www/server/panel/logs/installed/task_".concat(i.id,".log")});g(o)&&(t.value=o.data)}catch(o){t.value="None"}finally{n(!1)}};return a(),l({init:a}),(o,w)=>{const c=p;return f(),k(c,{log:s(t),loading:s(r)},null,8,["log","loading"])}}});export{B as default};
