Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`./chunk-BcutgqC9.cjs`);const e=require(`./utils-8yHOSEWy.cjs`),t=require(`./check-Bb0ojItM.cjs`);let n=require(`react/jsx-runtime`);function r({className:r,steps:i,currentStep:a=0,unfinishedStepsClassName:o,finishedStepsClassName:s,activeStepsClassName:c,...l}){return(0,n.jsx)(`ol`,{...l,className:e.t(`flex items-center list-none w-full text-base text-center text-primary-gray-700 dark:text-primary-white justify-between gap-3`,r),children:i.map((r,l)=>(0,n.jsx)(`li`,{className:e.t(`flex items-center grow`,l===i.length-1?`grow-0`:`grow`,l+1<a?s:l+1===a?c:o),children:(0,n.jsxs)(`div`,{className:`flex items-center gap-3 grow`,children:[(0,n.jsx)(`div`,{className:e.t(`w-8 h-8 rounded-full flex items-center justify-center shrink-0`,l+1<a?`bg-primary-blue-600 dark:bg-primary-blue-300`:l+1===a?`bg-primary-gray-600 dark:bg-primary-gray-550`:`bg-primary-gray-300 dark:bg-primary-gray-650`),children:l+1<a?(0,n.jsx)(t.t,{className:`h-4 w-4 shrink-0 stroke-primary-white dark:stroke-primary-gray-700`}):(0,n.jsx)(`div`,{className:l+1===a?`text-sm text-primary-white`:`text-sm text-primary-gray-700 dark:text-primary-white`,children:l+1})}),(0,n.jsxs)(`div`,{className:`flex flex-col shrink-0`,children:[(0,n.jsx)(`div`,{className:e.t(`text-base text-left rtl:text-right font-normal`,l+1<a?`text-primary-blue-600 dark:text-primary-blue-300`:`text-primary-gray-700 dark:text-primary-white`),children:r.title}),r.description?(0,n.jsx)(`div`,{className:e.t(`text-sm text-primary-gray-500 text-left rtl:text-right dark:text-primary-gray-400`),children:r.description}):null]}),l===i.length-1?null:(0,n.jsx)(`div`,{className:`h-px bg-primary-gray-400 grow w-full dark:bg-primary-gray-550`})]})},r.title))})}exports.Stepper=r;
//# sourceMappingURL=Stepper.cjs.map