/* Socket Lib - Built with esbuild */
var o=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var v=(n,e)=>{for(var t in e)o(n,t,{get:e[t],enumerable:!0})},f=(n,e,t,c)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of a(e))!g.call(n,i)&&i!==t&&o(n,i,{get:()=>e[i],enumerable:!(c=u(e,i))||c.enumerable});return n};var p=n=>f(o({},"__esModule",{value:!0}),n);var m={};v(m,{clearEnv:()=>E,getEnvValue:()=>x,hasOverride:()=>w,resetEnv:()=>h,setEnv:()=>O,withEnv:()=>T,withEnvSync:()=>l});module.exports=p(m);var d=require("node:async_hooks");const s=new d.AsyncLocalStorage,r=new Map;function x(n){const e=s.getStore();return e?.has(n)?e.get(n):r.has(n)?r.get(n):process.env[n]}function O(n,e){r.set(n,e)}function E(n){r.delete(n)}function h(){r.clear()}function w(n){return s.getStore()?.has(n)||r.has(n)}async function T(n,e){const t=new Map(Object.entries(n));return await s.run(t,e)}function l(n,e){const t=new Map(Object.entries(n));return s.run(t,e)}0&&(module.exports={clearEnv,getEnvValue,hasOverride,resetEnv,setEnv,withEnv,withEnvSync});
//# sourceMappingURL=rewire.js.map
