import { jsx as c } from "react/jsx-runtime";
import { useMemo as f } from "react";
import { c as y, s as u, a as x } from "../tools/tools.js";
import { C as B } from "./card-body.js";
import { C as T } from "./card-footer.js";
import { C as b } from "./card-header.js";
import { C as v } from "./card-img.js";
import { C as L } from "./card-link.js";
import { C as N } from "./card-subtitle.js";
import { C as S } from "./card-text.js";
import { C as g } from "./card-title.js";
const r = function(m) {
  const { as: d = "div", cardBody: a, className: o, dropOldClass: s, style: t, variables: e, ...i } = m, C = f(() => {
    const l = y(!s && "card", a && ".card-body", o), n = u((F, p) => ({ tKey: x(p) }), e, t);
    return {
      className: l,
      style: n
    };
  }, [a, o, s, t, e]);
  return /* @__PURE__ */ c(d, { ...i, ...C });
};
r.Body = B;
r.Img = v;
r.Title = g;
r.Subtitle = N;
r.Text = S;
r.Link = L;
r.Header = b;
r.Footer = T;
r.displayName = "BRL.Card";
export {
  r as C
};
//# sourceMappingURL=card.js.map
