import{j as e}from"./index-DItyo5Xo.js";import{b as o,c as t}from"./recharts-bmHCCfxU.js";const l={hero:{mobile:12},feature:{mobile:12,md:6,lg:4},standard:{mobile:12,sm:6,lg:4,xl:3},compact:{mobile:6,lg:3},widget:{mobile:6,sm:4,md:3,lg:2},auto:{mobile:12}},a={hero:"bento-row-hero",feature:"bento-row-feature",standard:"bento-row-standard",compact:"bento-row-compact",widget:"bento-row-widget",auto:"bento-row-auto"};function n({template:n,children:s,className:r,gap:c}){const i=l[n],d=a[n],b="none"===c?"gap-0":"sm"===c?"bento-gap-sm":"lg"===c?"bento-gap-lg":"bento-gap",g=o.Children.map(s,t=>o.isValidElement(t)?t.type===m?t:e.jsx(m,{span:i.mobile,sm:i.sm,md:i.md,lg:i.lg,xl:i.xl,children:t}):t);return e.jsx("div",{className:t("bento-row",d,b,r),children:g})}function s(e,o=""){const t=o?`${o}:`:"";return"full"===e?`${t}col-span-full`:"auto"===e?`${t}col-auto`:1.5===e?`${t}bento-col-1-5`:`${t}bento-col-${e}`}function m({children:o,span:l,sm:a,md:n,lg:m,xl:r,className:c}){const i=t("bento-cell",s(l),a&&s(a,"sm"),n&&s(n,"md"),m&&s(m,"lg"),r&&s(r,"xl"),c);return e.jsx("div",{className:i,children:o})}export{m as C,n as R};
