module.exports=[750227,(e,t,r)=>{t.exports=e.x("node:path",()=>require("node:path"))},902157,(e,t,r)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},874533,(e,t,r)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},660526,(e,t,r)=>{t.exports=e.x("node:os",()=>require("node:os"))},603484,e=>{"use strict";var t=e.i(902157),r=e.i(874533),n=e.i(750227);function s(e=process.platform){return"win32"===e}function o(e){let t=e.replace(/\r\n|\r|\n/g," ");if(!t.length)return'""';let r=t.replace(/"/g,'""');return/[\s"&<>|^()]/.test(r)?`"${r}"`:r}let l=["CLAUDECODE","CLAUDE_CODE_ENTRYPOINT","CLAUDE_CODE_SESSION","CLAUDE_CODE_PARENT_SESSION"];async function a(e,t={}){let r=t.cwd??process.cwd(),o=t.env??process.env,l=t.platform??process.platform;if(e.includes("/")||e.includes("\\")){let t=n.default.isAbsolute(e)?e:n.default.resolve(r,e);return await u(t,l)?t:null}let i=o.PATH??o.Path??"",c=s(l)?";":":",p=i.split(c).filter(Boolean),f=s(l)?(o.PATHEXT??".EXE;.CMD;.BAT;.COM").split(";").filter(Boolean):[""],m=s(l)&&n.default.extname(e).length>0;for(let t of p)for(let r of s(l)?m?[n.default.join(t,e)]:f.map(r=>n.default.join(t,`${e}${r}`)):[n.default.join(t,e)])if(await u(r,l))return r;return null}let i=e=>(0,r.execSync)(e,{encoding:"utf-8",timeout:5e3});async function c(e,t,r={}){let l=r.env??process.env,i=r.platform??process.platform;var u=await a(e,r)??e,p=t,f=l,m=i;if(!s(m))return{command:u,args:p};let d=n.default.extname(u).toLowerCase();return".cmd"===d||".bat"===d||".com"===d?{command:f.ComSpec||"cmd.exe",args:["/d","/s","/c",[o(u),...p.map(o)].join(" ")]}:{command:u,args:p}}async function u(e,r=process.platform){try{return await t.promises.access(e,s(r)?t.constants.F_OK:t.constants.X_OK),!0}catch{return!1}}e.s(["ensurePathInEnv",0,function(e,t=process.platform){let r=s(t)?"Path":"PATH";return(e.PATH??e.Path??"").length>0?e:{...e,[r]:function(e=process.platform){return s(e)?"C:\\Windows\\System32;C:\\Windows;C:\\Windows\\System32\\Wbem":"/usr/local/bin:/opt/homebrew/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin"}(t)}},"resolveCommandPathSync",0,function(e,t=process.platform,o=i){if(n.default.extname(e)||e.includes("/")||e.includes("\\"))return e;if(!s(t)){try{let t=(0,r.execFileSync)("which",[e],{encoding:"utf-8",timeout:5e3}).trim();if(t)return t}catch{}return e}try{let t=o(`where ${e}`).trim().split("\n").map(e=>e.trim()).filter(Boolean),r=t.find(e=>/\.(cmd|bat|exe)$/i.test(e));if(r)return r;if(t.length>0)return t[0]}catch{}return e},"resolveSpawnTarget",0,c,"stripClaudeNestingEnv",0,function(e){let t={...e};for(let e of l)delete t[e];return t}])},482848,e=>{e.v(t=>Promise.all(["server/chunks/[externals]_node_child_process_06l~6ej._.js"].map(t=>e.l(t))).then(()=>t(874533)))},268548,e=>{e.v(t=>Promise.all(["server/chunks/[externals]_node_util_0xr.y7p._.js"].map(t=>e.l(t))).then(()=>t(812057)))},144264,e=>{e.v(t=>Promise.all(["server/chunks/[externals]_child_process_0pwkpv9._.js"].map(t=>e.l(t))).then(()=>t(233405)))},534777,e=>{e.v(t=>Promise.all(["server/chunks/[externals]_util_0wtvqkc._.js"].map(t=>e.l(t))).then(()=>t(224361)))},998127,e=>{e.v(t=>Promise.all(["server/chunks/[root-of-the-server]__0mw.9lg._.js"].map(t=>e.l(t))).then(()=>t(603484)))}];

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