/* icons.jsx — simple line-icon set (functional UI icons) */
(function () {
  const S = (p) => ({ width: 20, height: 20, viewBox: "0 0 24 24", fill: "none",
    stroke: "currentColor", strokeWidth: 1.7, strokeLinecap: "round", strokeLinejoin: "round", ...p });

  const Icon = (children) => (props) =>
    React.createElement("svg", S(props), ...[].concat(children));
  const P = (d, extra) => React.createElement("path", { d, ...(extra || {}) });
  const L = (a) => React.createElement("line", a);
  const C = (a) => React.createElement("circle", a);
  const R = (a) => React.createElement("rect", a);
  const PL = (pts) => React.createElement("polyline", { points: pts });

  const Icons = {
    Dashboard: Icon([R({x:3,y:3,width:7,height:9,rx:1.5}),R({x:14,y:3,width:7,height:5,rx:1.5}),R({x:14,y:12,width:7,height:9,rx:1.5}),R({x:3,y:16,width:7,height:5,rx:1.5})]),
    Flow: Icon([R({x:4,y:3,width:7,height:5,rx:1.5}),R({x:13,y:16,width:7,height:5,rx:1.5}),P("M7.5 8v3.5a2 2 0 0 0 2 2H16.5"),P("M16.5 13.5V16")]),
    Catalog: Icon([R({x:3,y:3,width:7,height:7,rx:1.5}),R({x:14,y:3,width:7,height:7,rx:1.5}),R({x:3,y:14,width:7,height:7,rx:1.5}),R({x:14,y:14,width:7,height:7,rx:1.5})]),
    Billing: Icon([P("M4 4h16v16l-2.5-1.5L15 20l-3-1.5L9 20l-2.5-1.5L4 20z"),L({x1:8,y1:9,x2:16,y2:9}),L({x1:8,y1:13,x2:13,y2:13})]),
    Form: Icon([R({x:4,y:3,width:16,height:18,rx:2}),L({x1:8,y1:8,x2:16,y2:8}),L({x1:8,y1:12,x2:16,y2:12}),L({x1:8,y1:16,x2:12,y2:16})]),
    Users: Icon([C({cx:9,cy:8,r:3.2}),P("M3.5 20a5.5 5.5 0 0 1 11 0"),P("M16 5.2a3.2 3.2 0 0 1 0 5.6"),P("M18 14.5a5.5 5.5 0 0 1 2.5 5")]),
    Settings: Icon([C({cx:12,cy:12,r:3}),P("M12 2.5v2M12 19.5v2M21.5 12h-2M4.5 12h-2M18.7 5.3l-1.4 1.4M6.7 17.3l-1.4 1.4M18.7 18.7l-1.4-1.4M6.7 6.7L5.3 5.3")]),
    Shield: Icon([P("M12 2.5 4.5 5.5v6c0 4.5 3.2 7.5 7.5 9 4.3-1.5 7.5-4.5 7.5-9v-6z")]),
    ShieldCheck: Icon([P("M12 2.5 4.5 5.5v6c0 4.5 3.2 7.5 7.5 9 4.3-1.5 7.5-4.5 7.5-9v-6z"),PL("9 11.8 11.2 14 15 10")]),
    Face: Icon([C({cx:12,cy:12,r:9}),C({cx:9.2,cy:10.5,r:0.6,fill:"currentColor",stroke:"none"}),C({cx:14.8,cy:10.5,r:0.6,fill:"currentColor",stroke:"none"}),P("M9 15c1.6 1.3 4.4 1.3 6 0")]),
    Pen: Icon([P("M14 4.5 19.5 10 8 21.5 3.5 22 4 17.5z"),L({x1:13,y1:5.5,x2:18.5,y2:11})]),
    Mail: Icon([R({x:3,y:5,width:18,height:14,rx:2}),P("M4 7l8 6 8-6")]),
    Archive: Icon([R({x:3,y:4,width:18,height:5,rx:1.5}),P("M5 9v9a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V9"),L({x1:10,y1:13,x2:14,y2:13})]),
    Wallet: Icon([R({x:3,y:6,width:18,height:13,rx:2.5}),P("M3 9h18"),C({cx:16.5,cy:13.5,r:1.3,fill:"currentColor",stroke:"none"})]),
    Fraud: Icon([C({cx:11,cy:11,r:7}),L({x1:16,y1:16,x2:21,y2:21}),L({x1:8.5,y1:8.5,x2:13.5,y2:13.5}),L({x1:13.5,y1:8.5,x2:8.5,y2:13.5})]),
    Fingerprint: Icon([P("M12 4.5a7.5 7.5 0 0 1 7.5 7.5"),P("M5 16.5A8 8 0 0 1 4.5 12 7.5 7.5 0 0 1 12 4.5a7.5 7.5 0 0 1 4.4 1.4"),P("M8 12a4 4 0 0 1 8 0c0 3 .5 5 1.5 7"),P("M12 12v3c0 2 .6 3.5 1.5 5"),P("M9.2 19.5c-.7-1.5-1-3-1-5"),P("M19 14c.3 2 .1 4-.6 6")]),
    Clock: Icon([C({cx:12,cy:12,r:8.5}),P("M12 7.5V12l3 2")]),
    Bell: Icon([P("M6 9a6 6 0 0 1 12 0c0 5 1.5 6.5 1.5 6.5h-15S6 14 6 9z"),P("M10 19a2 2 0 0 0 4 0")]),
    Search: Icon([C({cx:11,cy:11,r:7}),L({x1:16.5,y1:16.5,x2:21,y2:21})]),
    Plus: Icon([L({x1:12,y1:5,x2:12,y2:19}),L({x1:5,y1:12,x2:19,y2:12})]),
    Check: Icon([PL("4 12.5 9 17.5 20 6.5")]),
    X: Icon([L({x1:6,y1:6,x2:18,y2:18}),L({x1:18,y1:6,x2:6,y2:18})]),
    ChevRight: Icon([PL("9 6 15 12 9 18")]),
    ChevDown: Icon([PL("6 9 12 15 18 9")]),
    ArrowUp: Icon([L({x1:12,y1:19,x2:12,y2:5}),PL("6 11 12 5 18 11")]),
    ArrowDown: Icon([L({x1:12,y1:5,x2:12,y2:19}),PL("6 13 12 19 18 13")]),
    ArrowUpRight: Icon([L({x1:7,y1:17,x2:17,y2:7}),PL("8 7 17 7 17 16")]),
    TrendUp: Icon([PL("3 17 9 11 13 15 21 7"),PL("16 7 21 7 21 12")]),
    Trash: Icon([PL("4 7 20 7"),P("M9 7V5a1.5 1.5 0 0 1 1.5-1.5h3A1.5 1.5 0 0 1 15 5v2"),P("M6 7l1 13a1.5 1.5 0 0 0 1.5 1.4h7a1.5 1.5 0 0 0 1.5-1.4l1-13")]),
    Copy: Icon([R({x:9,y:9,width:11,height:11,rx:2}),P("M5 15V6a2 2 0 0 1 2-2h8")]),
    Edit: Icon([P("M4 20h4L19 9l-4-4L4 16z"),L({x1:13.5,y1:6.5,x2:17.5,y2:10.5})]),
    Grip: Icon([C({cx:9,cy:6,r:1.3,fill:"currentColor",stroke:"none"}),C({cx:9,cy:12,r:1.3,fill:"currentColor",stroke:"none"}),C({cx:9,cy:18,r:1.3,fill:"currentColor",stroke:"none"}),C({cx:15,cy:6,r:1.3,fill:"currentColor",stroke:"none"}),C({cx:15,cy:12,r:1.3,fill:"currentColor",stroke:"none"}),C({cx:15,cy:18,r:1.3,fill:"currentColor",stroke:"none"})]),
    Menu: Icon([L({x1:3,y1:6,x2:21,y2:6}),L({x1:3,y1:12,x2:21,y2:12}),L({x1:3,y1:18,x2:21,y2:18})]),
    Dots: Icon([C({cx:5,cy:12,r:1.4,fill:"currentColor",stroke:"none"}),C({cx:12,cy:12,r:1.4,fill:"currentColor",stroke:"none"}),C({cx:19,cy:12,r:1.4,fill:"currentColor",stroke:"none"})]),
    Branch: Icon([C({cx:6,cy:6,r:2.5}),C({cx:6,cy:18,r:2.5}),C({cx:18,cy:18,r:2.5}),P("M6 8.5V12c0 2 1.5 3.5 3.5 3.5h6"),P("M15 18l3-3 3 3")]),
    Bolt: Icon([P("M13 2 4 14h6l-1 8 9-12h-6z")]),
    Doc: Icon([P("M6 2.5h8l4 4V21a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1z"),P("M14 2.5V7h4")]),
    Eye: Icon([P("M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7z"),C({cx:12,cy:12,r:3})]),
    Calendar: Icon([R({x:3.5,y:5,width:17,height:16,rx:2}),L({x1:3.5,y1:9.5,x2:20.5,y2:9.5}),L({x1:8,y1:3,x2:8,y2:6}),L({x1:16,y1:3,x2:16,y2:6})]),
    Download: Icon([P("M12 3v12"),PL("7 11 12 16 17 11"),P("M5 20h14")]),
    Filter: Icon([P("M3 5h18l-7 8v6l-4-2v-4z")]),
    Pause: Icon([R({x:7,y:5,width:3.5,height:14,rx:1}),R({x:13.5,y:5,width:3.5,height:14,rx:1})]),
    Play: Icon([P("M7 5l12 7-12 7z")]),
    Layers: Icon([P("M12 3 3 8l9 5 9-5z"),P("M3 13l9 5 9-5"),P("M3 18l9 5 9-5")]),
    Lock: Icon([R({x:5,y:11,width:14,height:9,rx:2}),P("M8 11V8a4 4 0 0 1 8 0v3")]),
    Globe: Icon([C({cx:12,cy:12,r:9}),L({x1:3,y1:12,x2:21,y2:12}),P("M12 3c2.5 2.5 3.8 5.8 3.8 9s-1.3 6.5-3.8 9c-2.5-2.5-3.8-5.8-3.8-9S9.5 5.5 12 3z")]),
    Info: Icon([C({cx:12,cy:12,r:9}),L({x1:12,y1:11,x2:12,y2:16}),C({cx:12,cy:8,r:0.6,fill:"currentColor",stroke:"none"})]),
    Building: Icon([R({x:5,y:3,width:14,height:18,rx:1.5}),L({x1:9,y1:7,x2:9,y2:7}),L({x1:12,y1:7,x2:12,y2:7}),L({x1:15,y1:7,x2:15,y2:7}),L({x1:9,y1:11,x2:9,y2:11}),L({x1:15,y1:11,x2:15,y2:11}),L({x1:9,y1:15,x2:9,y2:15}),L({x1:15,y1:15,x2:15,y2:15}),P("M10 21v-3h4v3")]),
  };

  window.Icons = Icons;
})();
