module.exports=[74533,(e,t,r)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},12057,(e,t,r)=>{t.exports=e.x("node:util",()=>require("node:util"))},64256,e=>{"use strict";var t=e.i(74533);let r=(0,e.i(12057).promisify)(t.execFile),s="personal-agent",i="com.personal-agent.secret";e.s(["NativePersonalAgentKeychainClient",0,class{async has(e){let t=`${i}.${e}`;try{return await r("security",["find-generic-password","-s",t,"-a",s],{encoding:"utf8",timeout:5e3}),!0}catch{return!1}}async get(e){let t=`${i}.${e}`;try{let{stdout:e}=await r("security",["find-generic-password","-s",t,"-a",s,"-w"],{encoding:"utf8",timeout:5e3});return e.replace(/\n$/,"")}catch{return null}}async set(e,t){let a=`${i}.${e}`;if(!await this.has(e))try{await r("security",["add-generic-password","-s",a,"-a",s,"-w",t,"-T","/usr/bin/security"],{encoding:"utf8",timeout:5e3});return}catch(e){if(!(e instanceof Error?e.message:String(e)).includes("already exists"))throw e}await r("security",["add-generic-password","-U","-s",a,"-a",s,"-w",t],{encoding:"utf8",timeout:5e3})}async delete(e){let t=`${i}.${e}`;try{await r("security",["delete-generic-password","-s",t,"-a",s],{encoding:"utf8",timeout:5e3})}catch{}}}])}];

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