"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@babel/runtime/helpers/defineProperty"),r=require("react/jsx-runtime"),t=require("react"),n=require("./Step/Step.js"),i=require("./constants.js"),c=require("./StepsWrapper.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(e);function p(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}var u=function(e){var o=e.steps,u=e.activeStep,a=void 0===u?-1:u,f=e.size,j=void 0===f?i.Size.Medium:f,b=e.className,l=t.useMemo((function(){return o.map((function(e,t){var i=t+1;return r.jsx(n.Step,function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?p(Object(t),!0).forEach((function(r){s.default(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):p(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}({size:j,checked:i<a,active:i===a},e),i)}))}),[o,a,j]);return r.jsx(c.StepsWrapper,{className:b,children:l})};u.SIZE=i.Size;var a=u;exports.Stepper=a;
//# sourceMappingURL=Stepper.js.map
