"use strict";const q=require("react/jsx-runtime"),_=require("react"),e=require("../tools/tools.cjs"),m=require("./card-body.cjs"),x=require("./card-footer.cjs"),T=require("./card-header.cjs"),B=require("./card-img.cjs"),b=require("./card-link.cjs"),p=require("./card-subtitle.cjs"),L=require("./card-text.cjs"),S=require("./card-title.cjs"),r=function(o){const{as:n="div",cardBody:a,className:t,dropOldClass:d,style:c,variables:s,...i}=o,l=_.useMemo(()=>{const u=e.classx(!d&&"card",a&&".card-body",t),C=e.stylex((g,y)=>({tKey:e.convertBsKeyToVar(y)}),s,c);return{className:u,style:C}},[a,t,d,c,s]);return q.jsx(n,{...i,...l})};r.Body=m.CardBody;r.Img=B.CardImg;r.Title=S.CardTitle;r.Subtitle=p.CardSubtitle;r.Text=L.CardText;r.Link=b.CardLink;r.Header=T.CardHeader;r.Footer=x.CardFooter;r.displayName="BRL.Card";exports.Card=r;
//# sourceMappingURL=card.cjs.map
