import{aT as A}from"./vendor-mui-core-D7t4vMS5.js";import{d as p,g}from"./vendor-react-DX7tU9aY.js";import{B as R}from"./vendor-hooks-DAZ1H6Va.js";import{r as b}from"./useAsync-DfiOQMQ_.js";const n={success:"#3ab39d",error:"#D0021B"},u="10px",z=A.div`
  display: inline-block;
  min-width: ${r=>r.size||u};
  min-height: ${r=>r.size||u};
  background-color: ${r=>n[r.color]||r.color||n.success};
  border-radius: 100%;
`;var t={},c;function $(){if(c)return t;c=1,Object.defineProperty(t,"__esModule",{value:!0});var r=R,s=p(),y=r.__importDefault(b()),l=function(d,e){e===void 0&&(e=[]);var a=s.useState(0),f=a[0],_=a[1],o=y.default(d,r.__spreadArrays(e,[f])),i=o.loading,m=s.useCallback(function(){i||_(function(v){return v+1})},r.__spreadArrays(e,[i]));return r.__assign(r.__assign({},o),{retry:m})};return t.default=l,t}var q=$();const U=g(q);export{z as D,U as u};
