"use strict";exports.id=9293,exports.ids=[9293],exports.modules={59293:(a,b,c)=>{c.d(b,{getSecret:()=>l,listSecretKeys:()=>m});var d=c(73024),e=c(76760),f=c.n(e),g=c(77598),h=c(29163);let i=f().join((0,h._)(),"secrets");function j(a,b,c){return f().join(i,a,function(a,b){if("global"===a)return"_";if(!b)throw Error("project-scope secrets require rootId");return/^[a-f0-9]{8,64}$/.test(b)?b:(0,g.createHash)("sha1").update(b).digest("hex").slice(0,16)}(a,c),`${b}.json`)}async function k(a){try{let b=await d.promises.readFile(a,"utf8"),c=JSON.parse(b);if(1!==c.version||!c.values||"object"!=typeof c.values)return{version:1,values:{}};return{version:1,values:c.values}}catch{return{version:1,values:{}}}}async function l(a,b,c,d){let e=await k(j(a,b,d));return Object.prototype.hasOwnProperty.call(e.values,c)?e.values[c]:null}async function m(a,b,c){return Object.keys((await k(j(a,b,c))).values).sort()}}};