import{j as r,q as j,an as h,c as x}from"./index-C6OVXshM.js";const a=({label:e,value:s,tooltip:d,color:i,fontSize:n})=>{const c=s?"primary":"gray";return r.jsx(j,{flexDirection:"row",mb:"10px",gap:"10px",width:"100%",children:d?r.jsxs(h,{mainText:d,children:[r.jsx(x,{bold:!0,color:i||c,sx:{fontSize:n},children:e}),r.jsx(x,{sx:{fontSize:n},children:s||"-"})]}):r.jsxs(j,{gap:"20px",children:[r.jsxs(x,{bold:!0,color:i||c,sx:{fontSize:n},children:[e,":"]}),r.jsx(x,{sx:{fontSize:n},children:s||"-"})]})})},l=({label:e,value:s,chart:d,tooltip:i,color:n})=>{const c=s||d?"primary":"gray";return r.jsx(j,{flexDirection:"row",mb:"10px",gap:"10px",width:"100%",children:i?r.jsxs(h,{mainText:i,alignItems:"end",children:[r.jsx(x,{bold:!0,color:n||c,children:e}),s&&r.jsx(x,{children:s}),d]}):r.jsxs(j,{gap:"20px",alignItems:"end",children:[r.jsxs(x,{bold:!0,color:n||c,children:[e,":"]}),s&&r.jsx(x,{children:s}),d]})})};export{a as C,l as a};
