import{API_ENVIRONMENTS as a,ANALYTICS_ENVIRONMENTS as n,CDN_ENVIRONMENTS as s}from"./constants.js";const l=(a,n,s)=>s||(n[a]||n.fallback),t=(t,c)=>({apiUrl:l(t,a,c?.api),analyticsUrl:l(t,n,c?.analytics),cdnImagesUrl:l(t,s,c?.cdn?.images),cdnTranslationsUrl:l(t,s,c?.cdn?.translations)});export{l as getUrlFromMap,t as resolveEnvironments};
//# sourceMappingURL=Environment.js.map
