import{n as e}from"./rolldown-runtime-DkW27tQK.js";import{J as t,W as n}from"./lit-runtime-BEtFSUCp.js";function r(e){if(e.mode===`discrete`&&e.total<=12)return t` ${Array.from({length:e.total},(n,r)=>t` `)} `;let n=e.mode===`continuous`?e.percent:e.used===null?0:e.used/e.total*100;return t` `}function i(){return(i=e((()=>{n()})))()}export{r as n,i as t}; //# sourceMappingURL=capacity-meter-CmKC-EhZ.js.map