const y = {
  unknown: "unknown",
  gas: "liquid",
  // Gasoline/petrol
  diesel: "liquid",
  // Diesel
  kerosene: "liquid",
  // Kerosene
  heavy_fuel_oil: "liquid",
  // Heavy Fuel Oil
  methanol: "gas",
  // Methanol
  ethanol: "gas",
  // Ethanol
  lpg: "gas",
  // Liquefied Petroleum Gas (LPG)
  cng: "gas",
  // Compressed Natural Gas (CNG)
  propane: "gas",
  // Propane
  ng: "gas",
  // Natural Gas (NG)
  ng_compressed: "gas",
  // Natural Gas (Compressed or Liquefied Natural Gas)
  electric: "electric",
  // Battery/electric
  bi_fuel_gas: "hybrid",
  // Bi-fuel vehicle using gasoline
  bi_fuel_methanol: "hybrid",
  // Bi-fuel vehicle using methanol
  bi_fuel_ethanol: "hybrid",
  // Bi-fuel vehicle using ethanol
  bi_fuel_lpg: "hybrid",
  // Bi-fuel vehicle using LPG
  bi_fuel_cng: "hybrid",
  // Bi-fuel vehicle using CNG
  bi_fuel_ng: "hybrid",
  // Bi-fuel vehicle using NG
  bi_fuel_diesel: "hybrid",
  // Bi-fuel using diesel
  bi_fuel_propane: "hybrid",
  // Bi-fuel vehicle using propane
  bi_fuel_battery: "hybrid",
  // Bi-fuel vehicle using battery
  bi_fuel_battery_combustion: "hybrid",
  // Bi-fuel vehicle using battery and combustion
  hybrid_gas: "hybrid",
  // Hybrid vehicle using gasoline engine
  hybrid_gas_ethanol: "hybrid",
  // Hybrid vehicle using gasoline engine on ethanol
  hybrid_diesel: "hybrid",
  // Hybrid vehicle using diesel engine
  hybrid_battery: "hybrid",
  // Hybrid vehicle using battery
  hybrid_battery_combustion: "hybrid",
  // Hybrid vehicle using battery and combustion
  hybrid_regeneration_mode: "hybrid",
  // Hybrid vehicle in regeneration mode
  dual_fuel_diesel_cng: "hybrid",
  // Dual Fuel – Diesel and CNG
  dual_fuel_diesel_lng: "hybrid",
  // Dual Fuel – Diesel and LNG
  hydrogen: "hydrogen",
  // Hydrogen Internal Combustion
  fuel_cell_hydrogen: "hydrogen"
  // Fuel Cell Utilizing Hydrogen Engine
}, u = {
  liquid: "rioglyph-fuel-liquid",
  gas: "rioglyph-fuel-gas",
  electric: "rioglyph-fuel-electric",
  hydrogen: "rioglyph-fuel-hydrogen",
  hybrid: "rioglyph-fuel-mix",
  unknown: "rioglyph-question"
}, d = ["liquid", "gas", "electric", "hydrogen", "hybrid"], t = (e) => u[e], h = (e = "unknown") => {
  const n = y[e] ?? "unknown";
  return u[n] ?? u.unknown;
}, g = (e, n, r) => n.length === 0 ? e : e.filter((o) => {
  const i = r(o), l = i ? y[i] ?? "unknown" : "unknown";
  return n.includes(l);
}), b = (e, n) => {
  const r = {
    liquid: 0,
    gas: 0,
    electric: 0,
    hydrogen: 0,
    hybrid: 0,
    unknown: 0
  };
  for (const o of e) {
    const i = n(o), l = i ? y[i] ?? "unknown" : "unknown";
    r[l]++;
  }
  return r;
};
export {
  b as countFuelTypeGroups,
  g as filterByFuelTypeGroup,
  u as fuelTypeGroupIcons,
  d as fuelTypeGroups,
  h as getFuelIcon,
  t as getFuelTypeGroupIcon
};
//# sourceMappingURL=fuelTypeUtils.js.map
