import{a7 as a,j as s,a8 as u,h as x,q as l,t as c,C as f,m as j}from"./vendor-ClLR6ncd.js";import{d as p}from"./CheckCircle-DkZpQ8Yc.js";function h(i,e,r){return r.indexOf(i)>r.indexOf(e)}function d(i,e,r){return r.indexOf(i)===r.indexOf(e)}const b="Verify API key (if required)";var n={},v=u;Object.defineProperty(n,"__esModule",{value:!0});var o=n.default=void 0,g=v(a()),m=s;o=n.default=(0,g.default)((0,m.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),"RadioButtonUnchecked");function P({progressState:i,itemState:e,states:r}){return s.jsxs(c,{disableGutters:!0,disablePadding:!0,children:[d(i,e,r)?s.jsx(f,{style:{height:"24px",width:"24px"}}):h(i,e,r)?s.jsx(p,{sx:{color:"success.main"}}):s.jsx(o,{sx:{color:"text.disabled"}}),s.jsx(j,{sx:{pl:1,color:d(i,e,r)?void 0:"text.disabled"},primary:e})]})}function I({progressState:i,states:e,withLabel:r=!0}){return s.jsxs(s.Fragment,{children:[r?s.jsx(x,{children:"Progress:"}):null,s.jsx(l,{sx:{width:1},disablePadding:!0,children:e.map(t=>s.jsx(P,{progressState:i,itemState:t,states:e},t))})]})}export{I as P,b as v};
