// icons.jsx - thin-line icons in the Lucide style the Bisoux system specifies
// (stroke 1.75, round caps/joins). Inline SVG so they survive React re-renders
// with no createIcons() timing games. Exported to window.BxIcon.
(function () {
  // NOTE: no rest-destructuring (`...rest`) in params here - Babel standalone's
  // script-tag mode downlevels it into a top-level `const _excluded` helper,
  // which collides with the same helper from other modules and breaks the page.
  const S = (props) => {
    const { children, size = 24, fill = "none", stroke = "currentColor", sw = 1.75 } = props;
    const rest = {};
    for (const k in props) {
      if (k !== "children" && k !== "size" && k !== "fill" && k !== "stroke" && k !== "sw") rest[k] = props[k];
    }
    return React.createElement(
      "svg",
      {
        width: size, height: size, viewBox: "0 0 24 24", fill,
        stroke, strokeWidth: sw, strokeLinecap: "round", strokeLinejoin: "round",
        ...rest,
      },
      children
    );
  };
  const P = (d, key) => React.createElement("path", { d, key });
  const e = React.createElement;

  const Icon = {
    heart: (p) => e(S, p, P("M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.29 1.51 4.04 3 5.5l7 7Z")),
    sun: (p) => e(S, p,
      e("circle", { cx: 12, cy: 12, r: 4, key: "c" }),
      P("M12 2v2 M12 20v2 M5 5l1.5 1.5 M17.5 17.5 19 19 M2 12h2 M20 12h2 M5 19l1.5-1.5 M17.5 6.5 19 5", "r")),
    moon: (p) => e(S, p, P("M12 3a6.5 6.5 0 0 0 9 9 9 9 0 1 1-9-9Z")),
    camera: (p) => e(S, p,
      P("M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3Z", "b"),
      e("circle", { cx: 12, cy: 13, r: 3.2, key: "c" })),
    settings: (p) => e(S, p,
      e("circle", { cx: 12, cy: 12, r: 3, key: "c" }),
      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.33H9a1.65 1.65 0 0 0 1-1.51V3a2 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-.33 1.82V9a1.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", "g")),
    sparkle: (p) => e(S, p, P("M12 3l1.9 5.6L19.5 10l-5.6 1.9L12 17l-1.9-5.1L4.5 10l5.6-1.4L12 3Z")),
    lock: (p) => e(S, p,
      e("rect", { x: 4, y: 11, width: 16, height: 9, rx: 2.2, key: "r" }),
      P("M8 11V7a4 4 0 0 1 8 0v4", "b")),
    arrowRight: (p) => e(S, p, P("M5 12h14 M13 6l6 6-6 6")),
    arrowDown: (p) => e(S, p, P("M12 5v14 M6 13l6 6 6-6")),
    check: (p) => e(S, p, P("M20 6 9 17l-5-5")),
    bell: (p) => e(S, p, P("M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9 M13.7 21a2 2 0 0 1-3.4 0")),
    mail: (p) => e(S, p,
      e("rect", { x: 3, y: 5, width: 18, height: 14, rx: 2, key: "r" }),
      P("m3 7 9 6 9-6", "b")),
    signal: (p) => e(S, { ...p, fill: "currentColor", stroke: "none" },
      e("rect", { x: 2, y: 12, width: 3, height: 6, rx: 1, key: 1 }),
      e("rect", { x: 7, y: 9, width: 3, height: 9, rx: 1, key: 2 }),
      e("rect", { x: 12, y: 6, width: 3, height: 12, rx: 1, key: 3 }),
      e("rect", { x: 17, y: 3, width: 3, height: 15, rx: 1, key: 4 })),
    wifi: (p) => e(S, p, P("M5 12.5a10 10 0 0 1 14 0 M8.5 15.5a5 5 0 0 1 7 0 M12 18.5h.01")),
    battery: (p) => e(S, p,
      e("rect", { x: 2, y: 8, width: 18, height: 8, rx: 2, key: "r" }),
      e("rect", { x: 4, y: 10, width: 12, height: 4, rx: 1, fill: "currentColor", stroke: "none", key: "f" }),
      P("M22 11v2", "t")),
    instagram: (p) => e(S, p,
      e("rect", { x: 3, y: 3, width: 18, height: 18, rx: 5, key: "r" }),
      e("circle", { cx: 12, cy: 12, r: 4, key: "c" }),
      e("circle", { cx: 17, cy: 7, r: 0.9, fill: "currentColor", stroke: "none", key: "d" })),
    apple: (p) => e(S, { ...p, fill: "currentColor", stroke: "none" },
      P("M16.5 12.5c0-2.2 1.8-3.3 1.9-3.4-1-1.5-2.6-1.7-3.2-1.7-1.4-.1-2.6.8-3.3.8-.7 0-1.7-.8-2.8-.8-1.5 0-2.8.8-3.6 2.2-1.5 2.7-.4 6.6 1.1 8.8.7 1 1.5 2.2 2.6 2.2 1 0 1.4-.7 2.7-.7s1.6.7 2.7.7c1.1 0 1.8-1 2.5-2 .8-1.2 1.1-2.3 1.1-2.4-.1 0-2.1-.8-2.1-3.1Z M14.5 6.2c.6-.7 1-1.7.9-2.7-.9 0-1.9.6-2.5 1.3-.5.6-1 1.6-.9 2.6 1 .1 2-.5 2.5-1.2Z")),
    play: (p) => e(S, { ...p, fill: "currentColor", stroke: "none" }, P("M6 4l14 8-14 8V4Z")),
    x: (p) => e(S, p, P("M18 6 6 18 M6 6l12 12")),
    menu: (p) => e(S, p, P("M3 6h18 M3 12h18 M3 18h18")),
    sunrise: (p) => e(S, p, P("M12 2v6 M5.6 9.6 4.2 8.2 M2 16h2 M20 16h2 M19.8 9.6l1.4-1.4 M8 16a4 4 0 0 1 8 0 M3 20h18 M9 5l3-3 3 3")),
    tiktok: (p) => e(S, { ...p, fill: "currentColor", stroke: "none" }, P("M16.5 3c.3 2.1 1.6 3.8 3.5 4.2v2.6c-1.3 0-2.6-.4-3.7-1.1v5.7a5.4 5.4 0 1 1-5.4-5.4c.3 0 .6 0 .9.1v2.7a2.7 2.7 0 1 0 1.9 2.6V3h2.3Z")),
  };

  window.BxIcon = Icon;
})();
