import{h as e}from"./p-CAus4tQt.js";import{u as t}from"./p-DrCYkHs5.js";import{r as s,i as a}from"./p-DKrliuRO.js";const r=({percentage:t})=>e("span",{class:"w-full h-2.5 bg-theme-gray rounded-full relative overflow-hidden"},e("span",{class:"w-full h-2.5 bg-primary rounded-full absolute left-0 top-0 origin-left",style:{transform:`translateX(-${Math.max(0,100-Math.min(t,100))}%)`}})),l=()=>{const l=t(),o=s.get("package").maxStorage,p=a.get("usage");return e("div",{class:"ml-auto flex flex-row gap-1 justify-end items-center text-xs w-60 whitespace-nowrap"},l("quick_message.storage_quota"),e(r,{percentage:p/o*100}),`${p}GB / ${o||0}GB`)};export{l as Z}