import{fD as r,H as l,j as a,Q as p,o as i,x as c}from"./index-ea7817a2.js";const x=(e,t)=>{const o=n=>l("labels.green",n,{stopped:"labels.red","not-installed":"grayShade2"}),s=r`
  {
    8.33% { opacity: 1; }
    50% { opacity: 0.1; }
    58.33% { opacity: 0.1; }
    100% { opacity: 1; }
  }
`;return{bg:"transparent",width:"14px",height:"14px",borderRadius:"50%",flex:"none",backgroundColor:t?"grayShade2":o(e),left:"0px",top:"0.5px",animation:t?`${s} 1.2s infinite`:""}},u=({text:e,variant:t,isLoading:o=!1,sx:s})=>t?a.jsxs(p,{sx:s,justifyContent:"center",children:[a.jsx(i,{sx:x(t,o)}),e&&a.jsx(c,{ml:"5px",bold:!0,children:e})]}):null;export{u as S};
