import{B as e,D as t,F as n,G as r,L as i,M as a,N as o,P as s,R as c,T as l,Ut as u,Wt as d,bt as f,ct as p,j as m,lt as h,ot as g,qt as _,y as v}from"./vue-3bs2-dMU.js";import{C as y,F as b,T as x,mt as S,tt as C,w}from"./vuetify-gGrfRH2I.js";r(),u(),v();var T={class:`text-no-wrap`},E={key:1,class:`text-no-wrap`},D=e({__name:`BaseCard`,props:{active:{type:Boolean,default:!1},grow:{type:Boolean},title:{},icon:{},orientation:{default:`column`},color:{},value:{}},emits:[`click`],setup(e){let r=m(()=>e.color?`text-${e.color}`:``),u=m(()=>{switch(e.orientation){case`row`:return`flex-row`;default:return`flex-column`}});return(m,v)=>(g(),o(b,{title:e.title,class:d([`flex-grow-1`,`pa-2`,m.$.vnode.props?.onClick?`cursor-pointer`:``]),color:e.active?`secondary-lighten-1`:`secondary`,"min-width":`48px`,rounded:`lg`,onClick:v[0]||=l(e=>m.$emit(`click`,e),[`stop`])},{default:f(()=>[a(`div`,{class:d([`d-flex`,`align-center`,`justify-space-evenly`,u.value,`ga-1`,`h-100`,`w-100`])},[c(S,{"data-testid":`card-icon`,color:e.color},{default:f(()=>[i(_(e.icon),1)]),_:1},8,[`color`]),a(`div`,{"data-testid":`card-content`,class:d([`flex-row`,`text-center`,`text-select`,`wrap-anywhere`,r.value])},[Array.isArray(e.value)?(g(!0),n(t,{key:0},p(e.value,(e,r)=>(g(),n(t,{key:r},[r>0?(g(),o(C,{key:0,opacity:`.75`,thickness:`2`,style:{"border-top-style":`dashed`}})):s(``,!0),a(`div`,T,[h(m.$slots,`default`,{value:e})])],64))),128)):(g(),n(`span`,E,[h(m.$slots,`default`,{value:e.value})]))],2)],2)]),_:3},8,[`title`,`class`,`color`]))}});r(),u();var O=e({__name:`StatSection`,props:{title:{},columns:{}},setup(e){return(t,n)=>(g(),o(y,{flat:``,class:`inherit-bg`},{default:f(()=>[c(x,{class:`px-0 text-white ml-1 text-body-large`},{default:f(()=>[i(_(e.title),1)]),_:1}),c(w,{class:d([`px-0`,`pb-0`,`d-grid`,`grid-columns-${e.columns}`,`ga-2`])},{default:f(()=>[h(t.$slots,`default`)]),_:3},8,[`class`])]),_:3}))}});export{D as n,O as t};