// Tiny line icon set for the customer mobile app — distinct from cockpit set.
// Stroke-based, 24×24, 1.6 weight; passes color through `currentColor`.

const M_ICON = (paths, vb = "0 0 24 24") => ({ size = 22, color = "currentColor", fill = "none", strokeWidth = 1.6, ...rest } = {}) =>
  React.createElement("svg", {
    width: size, height: size, viewBox: vb, fill,
    stroke: color, strokeWidth, strokeLinecap: "round", strokeLinejoin: "round",
    ...rest,
  }, paths);

const MIcons = {
  home: M_ICON([
    React.createElement("path", { key: 1, d: "M3 11l9-8 9 8" }),
    React.createElement("path", { key: 2, d: "M5 9.5V20a1 1 0 001 1h4v-6h4v6h4a1 1 0 001-1V9.5" }),
  ]),
  unit: M_ICON([
    React.createElement("rect", { key: 1, x: 3, y: 5, width: 18, height: 14, rx: 2 }),
    React.createElement("path", { key: 2, d: "M3 10h18" }),
    React.createElement("path", { key: 3, d: "M9 14h6" }),
  ]),
  map: M_ICON([
    React.createElement("path", { key: 1, d: "M9 4l-6 2v14l6-2 6 2 6-2V4l-6 2-6-2z" }),
    React.createElement("path", { key: 2, d: "M9 4v14M15 6v14" }),
  ]),
  pay: M_ICON([
    React.createElement("rect", { key: 1, x: 3, y: 6, width: 18, height: 12, rx: 2 }),
    React.createElement("path", { key: 2, d: "M3 10h18" }),
    React.createElement("path", { key: 3, d: "M7 15h3" }),
  ]),
  user: M_ICON([
    React.createElement("circle", { key: 1, cx: 12, cy: 8, r: 4 }),
    React.createElement("path", { key: 2, d: "M4 21c1-4 4.5-6 8-6s7 2 8 6" }),
  ]),
  lock: M_ICON([
    React.createElement("rect", { key: 1, x: 5, y: 11, width: 14, height: 9, rx: 2 }),
    React.createElement("path", { key: 2, d: "M8 11V8a4 4 0 018 0v3" }),
  ]),
  unlock: M_ICON([
    React.createElement("rect", { key: 1, x: 5, y: 11, width: 14, height: 9, rx: 2 }),
    React.createElement("path", { key: 2, d: "M8 11V8a4 4 0 018 0" }),
  ]),
  bell: M_ICON([
    React.createElement("path", { key: 1, d: "M6 8a6 6 0 1112 0c0 5 2 6 2 6H4s2-1 2-6z" }),
    React.createElement("path", { key: 2, d: "M10 18a2 2 0 004 0" }),
  ]),
  qr: M_ICON([
    React.createElement("rect", { key: 1, x: 3, y: 3, width: 7, height: 7, rx: 1 }),
    React.createElement("rect", { key: 2, x: 14, y: 3, width: 7, height: 7, rx: 1 }),
    React.createElement("rect", { key: 3, x: 3, y: 14, width: 7, height: 7, rx: 1 }),
    React.createElement("path", { key: 4, d: "M14 14h3v3M21 14v3M14 18v3h3M21 21h-3" }),
  ]),
  ble: M_ICON([
    React.createElement("path", { key: 1, d: "M8 7l8 10-4 4V3l4 4-8 10" }),
  ]),
  arrow: M_ICON([
    React.createElement("path", { key: 1, d: "M5 12h14M13 6l6 6-6 6" }),
  ]),
  arrowUp: M_ICON([
    React.createElement("path", { key: 1, d: "M12 19V5M6 11l6-6 6 6" }),
  ]),
  back: M_ICON([
    React.createElement("path", { key: 1, d: "M19 12H5M11 18l-6-6 6-6" }),
  ]),
  close: M_ICON([
    React.createElement("path", { key: 1, d: "M6 6l12 12M18 6L6 18" }),
  ]),
  check: M_ICON([
    React.createElement("path", { key: 1, d: "M5 12l5 5 9-11" }),
  ]),
  plus: M_ICON([
    React.createElement("path", { key: 1, d: "M12 5v14M5 12h14" }),
  ]),
  search: M_ICON([
    React.createElement("circle", { key: 1, cx: 11, cy: 11, r: 7 }),
    React.createElement("path", { key: 2, d: "M20 20l-3.5-3.5" }),
  ]),
  chevron: M_ICON([
    React.createElement("path", { key: 1, d: "M9 6l6 6-6 6" }),
  ]),
  gear: M_ICON([
    React.createElement("circle", { key: 1, cx: 12, cy: 12, r: 3 }),
    React.createElement("path", { key: 2, d: "M19.4 15a1.7 1.7 0 00.3 1.8l.1.1a2 2 0 11-2.8 2.8l-.1-.1a1.7 1.7 0 00-1.8-.3 1.7 1.7 0 00-1 1.5V21a2 2 0 11-4 0v-.1a1.7 1.7 0 00-1-1.5 1.7 1.7 0 00-1.8.3l-.1.1a2 2 0 11-2.8-2.8l.1-.1a1.7 1.7 0 00.3-1.8 1.7 1.7 0 00-1.5-1H3a2 2 0 110-4h.1a1.7 1.7 0 001.5-1 1.7 1.7 0 00-.3-1.8l-.1-.1a2 2 0 112.8-2.8l.1.1a1.7 1.7 0 001.8.3h0a1.7 1.7 0 001-1.5V3a2 2 0 114 0v.1a1.7 1.7 0 001 1.5 1.7 1.7 0 001.8-.3l.1-.1a2 2 0 112.8 2.8l-.1.1a1.7 1.7 0 00-.3 1.8v0a1.7 1.7 0 001.5 1H21a2 2 0 110 4h-.1a1.7 1.7 0 00-1.5 1z" }),
  ]),
  card: M_ICON([
    React.createElement("rect", { key: 1, x: 3, y: 6, width: 18, height: 12, rx: 2 }),
    React.createElement("path", { key: 2, d: "M3 10h18" }),
  ]),
  history: M_ICON([
    React.createElement("path", { key: 1, d: "M3 12a9 9 0 109-9 9 9 0 00-7 3" }),
    React.createElement("path", { key: 2, d: "M3 4v4h4" }),
    React.createElement("path", { key: 3, d: "M12 8v5l3 2" }),
  ]),
  thermo: M_ICON([
    React.createElement("path", { key: 1, d: "M10 14V5a2 2 0 014 0v9a4 4 0 11-4 0z" }),
  ]),
  alert: M_ICON([
    React.createElement("path", { key: 1, d: "M12 9v4M12 17h.01" }),
    React.createElement("path", { key: 2, d: "M10.3 3.86L1.82 18a2 2 0 001.71 3h16.94a2 2 0 001.71-3L13.71 3.86a2 2 0 00-3.42 0z" }),
  ]),
  package: M_ICON([
    React.createElement("path", { key: 1, d: "M3 7l9-4 9 4v10l-9 4-9-4V7z" }),
    React.createElement("path", { key: 2, d: "M3 7l9 4 9-4M12 11v10" }),
  ]),
  ruler: M_ICON([
    React.createElement("path", { key: 1, d: "M3 14l7-11 11 7-7 11z" }),
    React.createElement("path", { key: 2, d: "M7 9l1 1M9 7l2 2M11 5l1 1M5 11l1 1" }),
  ]),
  shield: M_ICON([
    React.createElement("path", { key: 1, d: "M12 3l8 3v5c0 5-3.5 8.5-8 10-4.5-1.5-8-5-8-10V6l8-3z" }),
  ]),
  fire: M_ICON([
    React.createElement("path", { key: 1, d: "M12 22a6 6 0 006-6c0-3-2-5-3-7 0 1.5-1 2-2 2 0-3-1-6-4-9-1 4-5 6-5 11a6 6 0 006 6z" }),
  ]),
};

window.MIcons = MIcons;
