// Shared Lucide-style line icons for the Oryze UI kits.
// 1.75px stroke, rounded caps. Exposed on window.OryzeIcons.
(function () {
  const I = (paths, sw = 1.75) => (props) =>
    React.createElement(
      "svg",
      {
        width: props && props.size ? props.size : 20,
        height: props && props.size ? props.size : 20,
        viewBox: "0 0 24 24",
        fill: "none",
        stroke: "currentColor",
        strokeWidth: sw,
        strokeLinecap: "round",
        strokeLinejoin: "round",
        ...(props || {}),
      },
      paths.map((d, i) => React.createElement("path", { key: i, d }))
    );

  const R = (children) => (props) =>
    React.createElement(
      "svg",
      {
        width: props && props.size ? props.size : 20,
        height: props && props.size ? props.size : 20,
        viewBox: "0 0 24 24",
        fill: "none",
        stroke: "currentColor",
        strokeWidth: 1.75,
        strokeLinecap: "round",
        strokeLinejoin: "round",
        ...(props || {}),
      },
      children
    );

  window.OryzeIcons = {
    dashboard: R([
      React.createElement("rect", { key: 1, x: 3, y: 3, width: 7, height: 9, rx: 1 }),
      React.createElement("rect", { key: 2, x: 14, y: 3, width: 7, height: 5, rx: 1 }),
      React.createElement("rect", { key: 3, x: 14, y: 12, width: 7, height: 9, rx: 1 }),
      React.createElement("rect", { key: 4, x: 3, y: 16, width: 7, height: 5, rx: 1 }),
    ]),
    wallet: R([
      React.createElement("rect", { key: 1, x: 3, y: 6, width: 18, height: 13, rx: 2 }),
      React.createElement("path", { key: 2, d: "M3 10h18" }),
      React.createElement("circle", { key: 3, cx: 16.5, cy: 14.5, r: 1 }),
    ]),
    file: I(["M14 3v4a1 1 0 0 0 1 1h4", "M5 3h9l5 5v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Z"]),
    receipt: I(["M5 3v18l2-1.4 2 1.4 2-1.4 2 1.4 2-1.4 2 1.4V3l-2 1.4L15 3l-2 1.4L11 3 9 4.4 7 3Z", "M9 8h6", "M9 12h6"]),
    spark: I(["M12 3l1.7 4.6L18.3 9l-4.6 1.4L12 15l-1.7-4.6L5.7 9l4.6-1.4Z", "M19 14l.7 2 .3.7.7.3-2 .7-.7 2-.7-2-2-.7 2-.7Z"]),
    bell: I(["M18 8a6 6 0 0 0-12 0c0 7-3 9-3 9h18s-3-2-3-9", "M13.7 21a2 2 0 0 1-3.4 0"]),
    percent: I(["M19 5 5 19", "M6.5 9a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z", "M17.5 20a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z"]),
    folder: I(["M3 7a2 2 0 0 1 2-2h4l2 2.5h8a2 2 0 0 1 2 2V18a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z"]),
    arrowUpRight: I(["M7 17 17 7", "M9 7h8v8"]),
    arrowDownRight: I(["M7 7l10 10", "M17 9v8H9"]),
    plus: I(["M12 5v14", "M5 12h14"], 2),
    search: I(["M11 19a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z", "M21 21l-3.5-3.5"]),
    chevronRight: I(["m9 6 6 6-6 6"]),
    chevronLeft: I(["m15 6-6 6 6 6"]),
    chevronDown: I(["m6 9 6 6 6-6"]),
    check: I(["M20 6 9 17l-5-5"], 2),
    alert: I(["M12 9v4", "M12 17h.01", "M10.3 3.9 2.4 18a2 2 0 0 0 1.7 3h15.8a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0Z"]),
    clock: I(["M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Z", "M12 7v5l3 2"]),
    send: I(["M22 2 11 13", "M22 2 15 22l-4-9-9-4Z"]),
    settings: I(["M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z", "M19.4 15a1.6 1.6 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.6 1.6 0 0 0-2.7 1.1V21a2 2 0 1 1-4 0v-.1A1.6 1.6 0 0 0 7 19.4a1.6 1.6 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.6 1.6 0 0 0-1.1-2.7H1a2 2 0 1 1 0-4h.1A1.6 1.6 0 0 0 2.6 7a1.6 1.6 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.6 1.6 0 0 0 1.8.3H7a1.6 1.6 0 0 0 1-1.5V1a2 2 0 1 1 4 0v.1a1.6 1.6 0 0 0 2.7 1.1 1.6 1.6 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.6 1.6 0 0 0-.3 1.8V7a1.6 1.6 0 0 0 1.5 1H23a2 2 0 1 1 0 4h-.1a1.6 1.6 0 0 0-1.5 1Z"]),
    settings2: I(["M20 7h-9", "M14 17H5", "M7 10a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z", "M17 20a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"]),
    download: I(["M12 3v12", "m7 11 5 5 5-5", "M5 21h14"]),
    building: I(["M3 21h18", "M5 21V5a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v16", "M9 7h2M9 11h2M9 15h2", "M19 21V11a1 1 0 0 0-1-1h-3"]),
    coffee: I(["M17 8h1a4 4 0 1 1 0 8h-1", "M3 8h14v9a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4Z", "M6 2v2M10 2v2M14 2v2"]),
    car: I(["M5 13l1.5-4.5A2 2 0 0 1 8.4 7h7.2a2 2 0 0 1 1.9 1.5L19 13", "M5 13h14v4a1 1 0 0 1-1 1h-1a1 1 0 0 1-1-1v-1H8v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1Z", "M7 16h.01M17 16h.01"]),
    card: R([
      React.createElement("rect", { key: 1, x: 2, y: 5, width: 20, height: 14, rx: 2 }),
      React.createElement("path", { key: 2, d: "M2 10h20" }),
    ]),
    lock: R([
      React.createElement("rect", { key: 1, x: 5, y: 11, width: 14, height: 10, rx: 2 }),
      React.createElement("path", { key: 2, d: "M8 11V7a4 4 0 0 1 8 0v4" }),
    ]),
    unlock: R([
      React.createElement("rect", { key: 1, x: 5, y: 11, width: 14, height: 10, rx: 2 }),
      React.createElement("path", { key: 2, d: "M8 11V7a4 4 0 0 1 7.8-1.3" }),
    ]),
    contactless: I(["M6 8.32a7.43 7.43 0 0 1 0 7.36", "M9.46 6.21a11.76 11.76 0 0 1 0 11.58", "M12.91 4.1a15.91 15.91 0 0 1 .01 15.8", "M16.37 2a20.16 20.16 0 0 1 0 20"]),
    globe: R([
      React.createElement("circle", { key: 1, cx: 12, cy: 12, r: 10 }),
      React.createElement("path", { key: 2, d: "M2 12h20" }),
      React.createElement("path", { key: 3, d: "M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10Z" }),
    ]),
    bag: I(["M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z", "M3 6h18", "M16 10a4 4 0 0 1-8 0"]),
    eye: R([
      React.createElement("path", { key: 1, d: "M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7Z" }),
      React.createElement("circle", { key: 2, cx: 12, cy: 12, r: 3 }),
    ]),
    eyeOff: I(["M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68", "M6.61 6.61A13.526 13.526 0 0 0 2 11s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61", "M2 2l20 20", "M14.12 14.12a3 3 0 1 1-4.24-4.24"]),
    shield: I(["M20 13c0 5-3.5 7.5-8 9-4.5-1.5-8-4-8-9V6l8-3 8 3Z"]),
    smartphone: R([
      React.createElement("rect", { key: 1, x: 7, y: 2, width: 10, height: 20, rx: 2 }),
      React.createElement("path", { key: 2, d: "M11 18h2" }),
    ]),
    laptop: R([
      React.createElement("rect", { key: 1, x: 4, y: 5, width: 16, height: 11, rx: 1.5 }),
      React.createElement("path", { key: 2, d: "M2 19h20" }),
    ]),
    logout: I(["M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4", "M16 17l5-5-5-5", "M21 12H9"]),
    users: R([
      React.createElement("path", { key: 1, d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2" }),
      React.createElement("circle", { key: 2, cx: 9, cy: 7, r: 4 }),
      React.createElement("path", { key: 3, d: "M22 21v-2a4 4 0 0 0-3-3.87" }),
      React.createElement("path", { key: 4, d: "M16 3.13a4 4 0 0 1 0 7.75" }),
    ]),
    mail: R([
      React.createElement("rect", { key: 1, x: 2, y: 4, width: 20, height: 16, rx: 2 }),
      React.createElement("path", { key: 2, d: "m22 7-10 6L2 7" }),
    ]),
    upload: I(["M12 15V3", "m7 8 5-5 5 5", "M5 21h14"]),
    link: I(["M9 17H7A5 5 0 0 1 7 7h2", "M15 7h2a5 5 0 0 1 0 10h-2", "M8 12h8"]),
  };
})();
