import { jsxs as o, jsx as e } from "react/jsx-runtime";
import { c as l } from "./index.CfM2L_w0.js";
import { a as h } from "./index.CfQlFjZU.js";
import { n as i } from "./index.B0wX8xO7.js";
import { C as f } from "./CardHeader.ZIkhzd4s.js";
import { C as z } from "./CardBody.BTU-WvVF.js";
import { s as r } from "./cardContent.module.CnKTot8N.js";
function u(a) {
  return {
    cardBodyContainerClassName: l(r.cardBodyContainer, {
      [r.horizontal]: a.variant === "horizontal",
      [r.vertical]: a.variant === "vertical"
    }),
    cardContentContainerClassName: r.cardContentContainer,
    cardIconClassName: r.cardIcon,
    cardHeaderText: a.header,
    cardBodyText: a.body,
    cardIcon: a.icon,
    cardHeaderSize: a.headerSize || "medium",
    cardBodySize: a.bodySize || "small"
  };
}
function v({
  cardBodyContainerClassName: a,
  cardContentContainerClassName: d,
  cardIconClassName: c,
  cardHeaderText: n,
  cardBodyText: t,
  cardIcon: s,
  cardHeaderSize: m,
  cardBodySize: C
}) {
  return /* @__PURE__ */ o("div", { className: a, children: [
    /* @__PURE__ */ e(s, { className: c, size: 24 }),
    /* @__PURE__ */ o("div", { className: d, children: [
      /* @__PURE__ */ e(
        i,
        {
          value: n,
          then: /* @__PURE__ */ e(f, { size: m, children: n })
        }
      ),
      /* @__PURE__ */ e(
        i,
        {
          value: t,
          then: /* @__PURE__ */ e(z, { size: C, children: t })
        }
      )
    ] })
  ] });
}
const j = h(
  v,
  u,
  "CardContent"
);
export {
  j as C
};
