import{bm as p}from"./index-BTglIPU2.js?v=1773287522785";import m from"./index-Cy3Gp9Hk.js?v=1773287522785";import{k as f,r as n,$ as l,Z as c,a0 as u,X as d,S as _}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./naive-ui--dJnpVcV.js?v=1773287522785";import"./theme-monokai-Bqt0uTuQ.js?v=1773287522785";import"./ace-CNnfDSio.js?v=1773287522785";import"./useLoading-CZ2gSAW7.js?v=1773287522785";import"./file-B5PwfK2h.js?v=1773287522785";const h={class:"p-20px"},b=f({__name:"index",setup(k,{expose:s}){const a=p(),o=n(null),e=n(a.setting.daemon_path);return s({onConfirm:async()=>{var t;await((t=o.value)==null?void 0:t.saveFile())}}),(t,r)=>(l(),c("div",h,[u(m,{ref_key:"editorRef",ref:o,path:_(e),"onUpdate:path":r[0]||(r[0]=i=>d(e)?e.value=i:null),height:490,init:!0,"show-tips":!1,lang:"json",theme:"monokai"},null,8,["path"])]))}});export{b as default};
