module.exports=[660526,(e,n,r)=>{n.exports=e.x("node:os",()=>require("node:os"))},192520,e=>{"use strict";let n;var r=e.i(750227),t=e.i(660526),i=e.i(902157);function s(){return n||(n=process.env.TOWER_DATA_DIR||(0,r.join)((0,t.homedir)(),".tower"),(0,i.existsSync)(n)||(0,i.mkdirSync)(n,{recursive:!0})),n}e.s(["getAssistantDir",0,function(){let e=(0,r.join)(s(),"assistant");return(0,i.existsSync)(e)||(0,i.mkdirSync)(e,{recursive:!0}),e},"getBackupsDir",0,function(){let e=(0,r.join)(s(),"backups");return(0,i.existsSync)(e)||(0,i.mkdirSync)(e,{recursive:!0}),e},"getExtensionsDir",0,function(){let e=(0,r.join)(s(),"extensions");return(0,i.existsSync)(e)||(0,i.mkdirSync)(e,{recursive:!0}),e},"getStorageDir",0,function(){let e=process.env.TOWER_STORAGE_DIR||function(){try{let e=(0,i.readFileSync)((0,r.join)(s(),"storage-location"),"utf-8").trim();return e.length>0?e:null}catch{return null}}(),n=e&&e.length>0?e:(0,r.join)(s(),"storage");return(0,i.existsSync)(n)||(0,i.mkdirSync)(n,{recursive:!0}),n},"getTowerDbPath",0,function(){let e;return(0,r.join)((e=(0,r.join)(s(),"database"),(0,i.existsSync)(e)||(0,i.mkdirSync)(e,{recursive:!0}),e),"tower.db")},"getTowerDir",0,s])}];

//# sourceMappingURL=%5Broot-of-the-server%5D__0otyifi._.js.map