module.exports=[12057,(e,t,i)=>{t.exports=e.x("node:util",()=>require("node:util"))},74533,(e,t,i)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},67910,e=>{"use strict";var t=e.i(74533);e.s(["execWithStdin",0,function(e,i,r,s){return new Promise((a,n)=>{let o=(0,t.spawn)(e,i,{stdio:["pipe","pipe","pipe"],timeout:s?.timeout}),l="",c="";o.stdout.on("data",e=>{l+=e}),o.stderr.on("data",e=>{c+=e}),o.on("error",n),o.stdin.on("error",n),o.on("close",e=>{0===e?a({stdout:l,stderr:c}):n(Error(`Exit ${e}: ${c}`))}),o.stdin.write(r),o.stdin.end()})}])},34141,e=>{"use strict";var t=e.i(74533),i=e.i(12057),r=e.i(67910);let s=(0,i.promisify)(t.execFile);e.s(["LinuxSecretClient",0,class{validateName(e){if(/[/\\]/.test(e))throw Error(`Invalid secret name: ${e}`)}async has(e){return await this.get(e)!==null}async get(e){this.validateName(e);try{let{stdout:t}=await s("secret-tool",["lookup","service","personal-agent","key",e],{encoding:"utf8",timeout:5e3});return t.replace(/\n$/,"")}catch{return null}}async set(e,t){this.validateName(e),await (0,r.execWithStdin)("secret-tool",["store","--label",`PersonalAgent: ${e}`,"service","personal-agent","key",e],t,{timeout:5e3})}async delete(e){this.validateName(e);try{await s("secret-tool",["clear","service","personal-agent","key",e],{encoding:"utf8",timeout:5e3})}catch{}}}])}];

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