import { jsx as f } from "react/jsx-runtime";
import { c as e } from "./index.CfM2L_w0.js";
import { a as i } from "./index.CfQlFjZU.js";
const w = "creator_stack_3G18C", m = "creator_row_50k-Y", y = "creator_column_wlnmZ", S = "creator_rowReverse_sMwz2", v = "creator_columnReverse_j9-kG", j = "creator_wrap_Av4-0", N = "creator_wrapReverse_vT4LX", C = "creator_nowrap_dpnLB", d = "creator_justifyStart_b-T1f", k = "creator_justifyCenter_bZFNz", B = "creator_justifyEnd_KGz2z", R = "creator_justifySpaceBetween_-5PBy", E = "creator_justifySpaceAround_x8y-V", G = "creator_justifySpaceEvenly_DnCu6", q = "creator_alignStart_txv0t", z = "creator_alignCenter_db7Qq", A = "creator_alignEnd_INBgj", b = "creator_alignStretch_qLFe3", x = "creator_alignBaseline_VRBNO", F = "creator_gap-0-125_vtwBu", L = "creator_gap-0-25_eUrQF", V = "creator_gap-0-5_3ft3q", Z = "creator_gap-0_DIs-r", h = "creator_gap-1_IyHkW", D = "creator_gap-1-5_ZY0Tl", T = "creator_gap-2_ukKug", K = "creator_gap-3_f8G0F", P = "creator_gap-4_FARZZ", Q = "creator_gap-5_ej3Kn", Y = "creator_gap-6_l7L5u", W = "creator_gap-7_kyE-u", X = "creator_gap-8_tVPQv", H = "creator_gap-9_LTr3P", I = "creator_gap-10_efIzz", J = "creator_gap-16_ft3qq", M = "creator_gap-20_u25jG", O = "creator_gap-32_qrrnG", U = "creator_gap-40_xYXDf", r = { stack: w, row: m, column: y, rowReverse: S, columnReverse: v, wrap: j, wrapReverse: N, nowrap: C, justifyStart: d, justifyCenter: k, justifyEnd: B, justifySpaceBetween: R, justifySpaceAround: E, justifySpaceEvenly: G, alignStart: q, alignCenter: z, alignEnd: A, alignStretch: b, alignBaseline: x, "gap-0-125": F, "gap-0-25": L, "gap-0-5": V, "gap-0": Z, "gap-1": h, "gap-1-5": D, "gap-2": T, "gap-3": K, "gap-4": P, "gap-5": Q, "gap-6": Y, "gap-7": W, "gap-8": X, "gap-9": H, "gap-10": I, "gap-16": J, "gap-20": M, "gap-32": O, "gap-40": U }, _a = [
  0,
  0.125,
  0.25,
  0.5,
  1,
  1.5,
  2,
  3,
  4,
  5,
  6,
  7,
  8,
  9,
  10,
  16,
  20,
  32,
  40
];
function $({
  direction: a,
  spacing: t,
  alignItems: o,
  justifyContent: c,
  wrap: n,
  children: s
}) {
  const p = ra(a), _ = ea(n), g = ca(t), u = oa(o), l = ta(c);
  return {
    className: e(
      r.stack,
      p,
      _,
      g,
      u,
      l
    ),
    children: s
  };
}
function aa({ className: a, children: t }) {
  return /* @__PURE__ */ f("div", { className: a, children: t });
}
const ga = i(aa, $);
function ra(a) {
  return e({
    [r.row]: a === "row",
    [r.column]: a === "column",
    [r.rowReverse]: a === "row-reverse",
    [r.columnReverse]: a === "column-reverse"
  });
}
function ea(a) {
  if (a)
    return e({
      [r.wrap]: a === "wrap",
      [r.wrapReverse]: a === "wrap-reverse",
      [r.nowrap]: a === "nowrap"
    });
}
function ta(a) {
  if (a)
    return e({
      [r.justifyStart]: a === "start",
      [r.justifyCenter]: a === "center",
      [r.justifyEnd]: a === "end",
      [r.justifySpaceBetween]: a === "space-between",
      [r.justifySpaceAround]: a === "space-around",
      [r.justifySpaceEvenly]: a === "space-evenly"
    });
}
function oa(a) {
  if (a)
    return e({
      [r.alignStart]: a === "start",
      [r.alignCenter]: a === "center",
      [r.alignEnd]: a === "end",
      [r.alignStretch]: a === "stretch",
      [r.alignBaseline]: a === "baseline"
    });
}
function ca(a) {
  return e({
    [r["gap-0-125"]]: a === 0.125,
    [r["gap-0-25"]]: a === 0.25,
    [r["gap-0-5"]]: a === 0.5,
    [r["gap-1"]]: a === 1,
    [r["gap-1-5"]]: a === 1.5,
    [r["gap-2"]]: a === 2,
    [r["gap-3"]]: a === 3,
    [r["gap-4"]]: a === 4,
    [r["gap-5"]]: a === 5,
    [r["gap-6"]]: a === 6,
    [r["gap-7"]]: a === 7,
    [r["gap-8"]]: a === 8,
    [r["gap-9"]]: a === 9,
    [r["gap-10"]]: a === 10,
    [r["gap-16"]]: a === 16,
    [r["gap-20"]]: a === 20,
    [r["gap-32"]]: a === 32,
    [r["gap-40"]]: a === 40
  });
}
export {
  _a as S,
  ga as a
};
