/* Sweep Geophysical — inline icon set (stroke 1.8, rounded). Lucide-style geometry. */
const Svg = (p) => (
  <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth={p.sw || 1.8}
    strokeLinecap="round" strokeLinejoin="round" width={p.size || 24} height={p.size || 24}>{p.children}</svg>
);

const Icons = {
  radar: (p) => <Svg {...p}><path d="M19.07 4.93A10 10 0 1 0 22 12"/><path d="M14.83 9.17a6 6 0 1 0 1.5 3.3"/><path d="M12 12 19 5"/><circle cx="12" cy="12" r="1.4" fill="currentColor" stroke="none"/></Svg>,
  map: (p) => <Svg {...p}><path d="M9 4 3 6v14l6-2 6 2 6-2V4l-6 2-6-2Z"/><path d="M9 4v14M15 6v14"/></Svg>,
  waves: (p) => <Svg {...p}><path d="M2 7c1.5 0 1.5-1.5 3-1.5S6.5 7 8 7s1.5-1.5 3-1.5S12.5 7 14 7s1.5-1.5 3-1.5S18.5 7 20 7s1.5-1.5 2-1.5"/><path d="M2 13c1.5 0 1.5-1.5 3-1.5s1.5 1.5 3 1.5 1.5-1.5 3-1.5 1.5 1.5 3 1.5 1.5-1.5 3-1.5 1.5 1.5 3 1.5 1.5-1.5 2-1.5"/><path d="M2 19c1.5 0 1.5-1.5 3-1.5s1.5 1.5 3 1.5 1.5-1.5 3-1.5 1.5 1.5 3 1.5 1.5-1.5 3-1.5 1.5 1.5 3 1.5 1.5-1.5 2-1.5"/></Svg>,
  layers: (p) => <Svg {...p}><path d="m12 2 9 5-9 5-9-5 9-5Z"/><path d="m3 12 9 5 9-5"/><path d="m3 17 9 5 9-5"/></Svg>,
  mountain: (p) => <Svg {...p}><path d="m8 3 4 8 5-5 5 14H2L8 3Z"/></Svg>,
  leaf: (p) => <Svg {...p}><path d="M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z"/><path d="M2 21c0-3 1.85-5.36 5.08-6"/></Svg>,
  shield: (p) => <Svg {...p}><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z"/><path d="m9 12 2 2 4-4"/></Svg>,
  zap: (p) => <Svg {...p}><path d="M13 2 3 14h9l-1 8 10-12h-9l1-8Z"/></Svg>,
  target: (p) => <Svg {...p}><circle cx="12" cy="12" r="9"/><circle cx="12" cy="12" r="5"/><circle cx="12" cy="12" r="1.5" fill="currentColor" stroke="none"/></Svg>,
  users: (p) => <Svg {...p}><circle cx="9" cy="8" r="3.2"/><path d="M2.5 20a6.5 6.5 0 0 1 13 0"/><path d="M16 5.5a3.2 3.2 0 0 1 0 6M22 20a6.5 6.5 0 0 0-5-6.3"/></Svg>,
  clock: (p) => <Svg {...p}><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/></Svg>,
  arrowRight: (p) => <Svg {...p}><path d="M5 12h14M13 6l6 6-6 6"/></Svg>,
  check: (p) => <Svg {...p}><path d="M20 6 9 17l-5-5"/></Svg>,
  phone: (p) => <Svg {...p}><path d="M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3 19.5 19.5 0 0 1-6-6 19.8 19.8 0 0 1-3-8.6A2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2Z"/></Svg>,
  mail: (p) => <Svg {...p}><rect x="2" y="4" width="20" height="16" rx="2"/><path d="m2 7 10 6 10-6"/></Svg>,
  pin: (p) => <Svg {...p}><path d="M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z"/><circle cx="12" cy="10" r="3"/></Svg>,
  menu: (p) => <Svg {...p}><path d="M3 6h18M3 12h18M3 18h18"/></Svg>,
  close: (p) => <Svg {...p}><path d="M6 6l12 12M18 6 6 18"/></Svg>,
  star: (p) => <Svg {...p}><path d="m12 2 3 6.5 7 .8-5 4.7 1.3 6.9L12 17.6 5.4 21l1.3-6.9-5-4.7 7-.8L12 2Z" fill="currentColor"/></Svg>,
  building: (p) => <Svg {...p}><rect x="4" y="3" width="16" height="18" rx="1.5"/><path d="M9 8h.01M15 8h.01M9 12h.01M15 12h.01M10 21v-3h4v3"/></Svg>,
  compass: (p) => <Svg {...p}><circle cx="12" cy="12" r="9"/><path d="m16 8-2 6-6 2 2-6 6-2Z"/></Svg>,
};

window.Icons = Icons;
