const a={"1.9.0":{capex_yearly:"cost_capex_yearly",opex_yearly:"cost_opex_yearly",cost_opex_total:"cost_opex_yearly_total",cost_opex:"cost_opex_variable",cost_capex_total:"cost_capex_yearly_total",cost_capex:"cost_capex_overnight"}};function _(l,r){let t=l.split("."),o=r.split(".");for(let e=0;e<3;e++){if(Number(t[e])<Number(o[e]))return!0;if(Number(t[e])>Number(o[e]))return!1}return!1}function s(l,r="0.0.0"){let t=null;console.log("Looking for",l,"at version",r);for(let e of Object.keys(a))_(e,r)&&(t=e);console.log("taking",t);let o;return t===null||!(l in a[t])?o=l:o=a[t][l],console.log("real name",o),o}export{s as g};
