import{_ as l}from"./index-lEMZglLp.js?v=1773287522785";import{f as p}from"./organization-BLgjdABO.js?v=1773287522785";import{u as f}from"./useLoading-CZ2gSAW7.js?v=1773287522785";import{n as g}from"./index-BTglIPU2.js?v=1773287522785";import{g as u}from"./naive-ui--dJnpVcV.js?v=1773287522785";import{k as _,r as d,$ as x,a8 as y,S as e}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const C=_({__name:"index",props:{data:{}},setup(s){const r=s,{id:i,getList:n}=r.data,{loading:c,setLoading:t}=f(),a=d("None");return(async()=>{try{t(!0);const{message:o}=await p({trigger_id:i});g(o)&&(a.value=o.join("\n"))}catch(o){a.value=u(o,"message.result","None")}finally{n==null||n(),t(!1)}})(),(o,k)=>{const m=l;return x(),y(m,{class:"h-200px!",loading:e(c),log:e(a)},null,8,["loading","log"])}}});export{C as default};
