// Plant Analytics — inline icon set (Lucide-style 1.8px strokes).
(function () {
  const raw = (children, p = {}) =>
    React.createElement('svg', { width: p.size || 20, height: p.size || 20, viewBox: '0 0 24 24', fill: 'none',
      stroke: 'currentColor', strokeWidth: 1.8, strokeLinecap: 'round', strokeLinejoin: 'round', ...p }, children);
  const P = (...ds) => ds.map((d, i) => React.createElement('path', { key: 'p' + i, d }));
  const C = (cx, cy, r) => React.createElement('circle', { key: 'c' + cx + '_' + cy + '_' + r, cx, cy, r });

  window.HyperIcons = {
    grid:    (p) => raw([React.createElement('rect',{key:0,x:3,y:3,width:7,height:7,rx:1.5}),React.createElement('rect',{key:1,x:14,y:3,width:7,height:7,rx:1.5}),React.createElement('rect',{key:2,x:3,y:14,width:7,height:7,rx:1.5}),React.createElement('rect',{key:3,x:14,y:14,width:7,height:7,rx:1.5})], p),
    funnel:  (p) => raw(P('M3 4h18l-7 8v7l-4 2v-9z'), p),
    trophy:  (p) => raw(P('M7 4h10v4a5 5 0 0 1-10 0z','M7 6H4v1a3 3 0 0 0 3 3','M17 6h3v1a3 3 0 0 1-3 3','M9 14h6','M10 14v4M14 14v4','M8 18h8v2H8z'), p),
    users:   (p) => raw([...P('M16 19v-1a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v1','M22 19v-1a4 4 0 0 0-3-3.87'),C(9,7,3)], p),
    globe:   (p) => raw([C(12,12,9),...P('M3 12h18M12 3c2.5 2.5 2.5 15 0 18M12 3c-2.5 2.5-2.5 15 0 18')], p),
    clock:   (p) => raw([C(12,12,9),...P('M12 7v5l3 2')], p),
    leaf:    (p) => raw(P('M4 20c0-9 7-15 16-15 0 9-6 15-15 15','M9 15c2-3 4-5 7-6'), p),
    sprout:  (p) => raw(P('M12 21v-7','M12 14c0-3-2-5-5-5 0 3 2 5 5 5z','M12 12c0-3 2-5 5-5 0 3-2 5-5 5z'), p),
    droplet: (p) => raw(P('M12 3s6 6.5 6 11a6 6 0 0 1-12 0c0-4.5 6-11 6-11z'), p),
    flame:   (p) => raw(P('M12 3c3 4 5 6 5 9a5 5 0 0 1-10 0c0-1.5.7-2.8 1.6-3.8C9 9.5 10 8 12 3z','M12 21a2.5 2.5 0 0 0 2.5-2.5c0-1.5-1-2.2-2.5-3.5-1.5 1.3-2.5 2-2.5 3.5A2.5 2.5 0 0 0 12 21z'), p),
    coin:    (p) => raw([C(12,12,9),...P('M12 7v10M9.5 9.5h4a1.6 1.6 0 0 1 0 3.2h-3a1.6 1.6 0 0 0 0 3.2h4')], p),
    target:  (p) => raw([C(12,12,9),C(12,12,5),C(12,12,1)], p),
    heart:   (p) => raw(P('M12 20s-7-4.4-9-8.4C1.6 8.8 3 6 6 6c2 0 3 1.2 6 4 3-2.8 4-4 6-4 3 0 4.4 2.8 3 5.6-2 4-9 8.4-9 8.4z'), p),
    monitor: (p) => raw([React.createElement('rect',{key:0,x:3,y:4,width:18,height:12,rx:2}),...P('M8 20h8M12 16v4')], p),
    phone:   (p) => raw([React.createElement('rect',{key:0,x:7,y:3,width:10,height:18,rx:2.4}),...P('M11 18h2')], p),
    chart:   (p) => raw(P('M3 3v18h18','M7 14l4-4 3 3 5-6'), p),
    install: (p) => raw(P('M12 3v12','M7 11l5 4 5-4','M5 21h14'), p),
    rocket:  (p) => raw(P('M5 15c-1 1-1.5 4-1.5 4s3-.5 4-1.5','M9 15l-3-3c1-5 5-9 11-9 0 6-4 10-9 11z','M9 12.5a2 2 0 1 0 2.5-2.5'), p),
    card:    (p) => raw([React.createElement('rect',{key:0,x:3,y:5,width:18,height:14,rx:2.2}),...P('M3 10h18')], p),
    search:  (p) => raw([C(11,11,7),...P('M21 21l-4.3-4.3')], p),
    bell:    (p) => raw(P('M18 8a6 6 0 1 0-12 0c0 7-3 9-3 9h18s-3-2-3-9','M13.7 21a2 2 0 0 1-3.4 0'), p),
    calendar:(p) => raw([React.createElement('rect',{key:0,x:3,y:4,width:18,height:18,rx:2.2}),...P('M3 9h18M8 2v4M16 2v4')], p),
    settings:(p) => raw([C(12,12,3),...P('M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33h.05A1.65 1.65 0 0 0 10 4.6V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9v.05a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z')], p),
    chevron: (p) => raw(P('M6 9l6 6 6-6'), p),
    arrowUpRight:(p) => raw(P('M7 17L17 7','M8 7h9v9'), p),
    sparkle: (p) => raw(P('M12 3l1.9 5.8H20l-4.9 3.6 1.9 5.8L12 14.6 7 18.2l1.9-5.8L4 8.8h6.1z'), p),
    layers:  (p) => raw(P('M12 3l9 5-9 5-9-5 9-5z','M3 13l9 5 9-5'), p),
    dollar:  (p) => raw(P('M12 2v20','M17 6.5C17 4.6 14.8 3.5 12 3.5S7 4.6 7 6.5 9 9.4 12 10s5 1.5 5 4-2.2 3.5-5 3.5-5-1.1-5-3'), p),
  };
})();
