/* Powermieter — icon set (global `I`). Stroke icons, 1.8px, currentColor. */
const _svg = (p, path) => (
  <svg width={p.size || 20} height={p.size || 20} viewBox="0 0 24 24" fill="none"
       stroke="currentColor" strokeWidth={p.sw || 1.8} strokeLinecap="round"
       strokeLinejoin="round" style={p.style} aria-hidden="true">{path}</svg>
);

const I = {
  shield:  (p={}) => _svg(p, <><path d="M12 3l7 3v5c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6l7-3z"/><path d="M9 12l2 2 4-4"/></>),
  bolt:    (p={}) => _svg(p, <path d="M13 2L4 14h6l-1 8 9-12h-6l1-8z"/>),
  check:   (p={}) => _svg(p, <path d="M5 12l5 5L20 6"/>),
  checkSm: (p={}) => _svg({...p, size:p.size||14, sw:2.4}, <path d="M5 12l5 5L20 6"/>),
  arrow:   (p={}) => _svg(p, <><path d="M5 12h14"/><path d="M13 6l6 6-6 6"/></>),
  back:    (p={}) => _svg(p, <><path d="M19 12H5"/><path d="M11 6l-6 6 6 6"/></>),
  user:    (p={}) => _svg(p, <><circle cx="12" cy="8" r="4"/><path d="M4 21c0-4 4-6 8-6s8 2 8 6"/></>),
  home:    (p={}) => _svg(p, <><path d="M4 11l8-7 8 7"/><path d="M6 10v9h12v-9"/></>),
  doc:     (p={}) => _svg(p, <><path d="M7 3h7l4 4v14H7z"/><path d="M14 3v4h4"/><path d="M10 13h6M10 17h6"/></>),
  euro:    (p={}) => _svg(p, <><path d="M17 7a6 6 0 100 10"/><path d="M5 10h8M5 14h8"/></>),
  lock:    (p={}) => _svg(p, <><rect x="5" y="11" width="14" height="9" rx="2"/><path d="M8 11V8a4 4 0 018 0v3"/></>),
  info:    (p={}) => _svg(p, <><circle cx="12" cy="12" r="9"/><path d="M12 11v5M12 8h.01"/></>),
  meter:   (p={}) => _svg(p, <><circle cx="12" cy="12" r="9"/><path d="M12 12l4-2.5"/><path d="M12 7v1M7 12h1"/></>),
  pen:     (p={}) => _svg(p, <><path d="M4 20l4-1 11-11-3-3L5 16l-1 4z"/><path d="M13 6l3 3"/></>),
  sun:     (p={}) => _svg(p, <><circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M4 12H2M22 12h-2M5 5l1.5 1.5M17.5 17.5L19 19M19 5l-1.5 1.5M6.5 17.5L5 19"/></>),
  moon:    (p={}) => _svg(p, <path d="M20 14a8 8 0 11-9-11 6.5 6.5 0 009 11z"/>),
  mail:    (p={}) => _svg(p, <><rect x="3" y="5" width="18" height="14" rx="2"/><path d="M4 7l8 6 8-6"/></>),
  spark:   (p={}) => _svg(p, <path d="M12 3l1.8 5.2L19 10l-5.2 1.8L12 17l-1.8-5.2L5 10l5.2-1.8L12 3z"/>),
  camera:  (p={}) => _svg(p, <><path d="M3 8h3l2-2h8l2 2h3v11H3z"/><circle cx="12" cy="13" r="3.5"/></>),
  upload:  (p={}) => _svg(p, <><path d="M12 16V4"/><path d="M7 9l5-5 5 5"/><path d="M5 20h14"/></>),
  trash:   (p={}) => _svg(p, <><path d="M4 7h16"/><path d="M9 7V4h6v3"/><path d="M6 7l1 13h10l1-13"/></>),
  gauge:   (p={}) => _svg(p, <><path d="M5 18a8 8 0 1114 0"/><path d="M12 14l4-3"/></>),
};
window.I = I;
