module.exports=[50227,(e,r,t)=>{r.exports=e.x("node:path",()=>require("node:path"))},60526,(e,r,t)=>{r.exports=e.x("node:os",()=>require("node:os"))},2157,(e,r,t)=>{r.exports=e.x("node:fs",()=>require("node:fs"))},65976,e=>{"use strict";var r=e.i(60526),t=e.i(2157),s=e.i(50227);async function n(){switch((0,r.platform)()){case"darwin":{let{NativePersonalAgentKeychainClient:r}=await e.A(6459);return new r}case"win32":{let{WindowsDpapiSecretClient:r}=await e.A(66762);return new r(void 0,a("powershell.exe")?"powershell.exe":a("pwsh.exe")?"pwsh.exe":"powershell.exe")}case"linux":if(function(){if("linux"!==(0,r.platform)())return!1}())return o();if(a("secret-tool")){let{LinuxSecretClient:r}=await e.A(91976);return new r}return o();default:return o()}}async function o(){let{FileSecretClient:r,resolveMasterPassword:t}=await e.A(34459),s=t();if(!s)throw Error("No master password configured for the encrypted secret store. Set PA_MASTER_PASSWORD environment variable or create ~/.personal-agent/secrets/.master-key file.");return await r.create(s)}function a(e){let n=process.env.PATH;if(!n)return!1;let o="win32"!==(0,r.platform)()||/\.[A-Za-z0-9]+$/.test(e)?[""]:"TURBOPACK unreachable";for(let r of n.split(s.delimiter))if(r)for(let n of o)try{return(0,t.accessSync)((0,s.join)(r,`${e}${n}`),t.constants.X_OK),!0}catch{}return!1}e.s(["createSecretClient",0,n])},6459,e=>{e.v(r=>Promise.all(["server/chunks/[root-of-the-server]__0zwmeyn._.js"].map(r=>e.l(r))).then(()=>r(64256)))},66762,e=>{e.v(r=>Promise.all(["server/chunks/[root-of-the-server]__02gp4s0._.js"].map(r=>e.l(r))).then(()=>r(22742)))},91976,e=>{e.v(r=>Promise.all(["server/chunks/[root-of-the-server]__0b50fkw._.js"].map(r=>e.l(r))).then(()=>r(34141)))},34459,e=>{e.v(r=>Promise.all(["server/chunks/[root-of-the-server]__0gckkni._.js"].map(r=>e.l(r))).then(()=>r(20217)))}];

//# sourceMappingURL=%5Broot-of-the-server%5D__01.1tvj._.js.map