{"version":3,"file":"Progress_Bar.OQ4H856x.mjs","names":[],"sources":["https:/framerusercontent.com/modules/dAbXZedKD7nub2Rh8IMh/kcnYl0FHlzPqOysXV0ud/Progress_Bar.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";export function ProgressBar(props){const{barColor,backgroundColor,duration,borderRadius}=props;const containerStyle={width:\"100%\",minWidth:\"10px\",height:\"100%\",minHeight:\"1px\",backgroundColor,borderRadius:`${borderRadius}px`,overflow:\"hidden\"};const barStyle={backgroundColor:barColor,height:\"100%\",borderRadius:`${borderRadius}px`};return /*#__PURE__*/_jsx(\"div\",{style:containerStyle,children:/*#__PURE__*/_jsx(motion.div,{style:barStyle,initial:{width:0},animate:{width:\"100%\"},transition:{duration:duration,ease:\"linear\"}})});}ProgressBar.defaultProps={barColor:\"#4caf50\",backgroundColor:\"#e0e0e0\",duration:5,borderRadius:0};addPropertyControls(ProgressBar,{barColor:{type:ControlType.Color,title:\"Bar Color\",defaultValue:ProgressBar.defaultProps.barColor},backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:ProgressBar.defaultProps.backgroundColor},duration:{type:ControlType.Number,title:\"Duration (Seconds)\",defaultValue:ProgressBar.defaultProps.duration,min:1,max:60,step:1},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:ProgressBar.defaultProps.borderRadius,min:0,max:100,step:1}});\nexport const __FramerMetadata__ = {\"exports\":{\"ProgressBar\":{\"type\":\"reactComponent\",\"name\":\"ProgressBar\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Progress_Bar.map"],"mappings":"iTAAiI,SAAgB,EAAY,EAAM,CAAC,GAAK,CAAC,WAAS,kBAAgB,WAAS,eAAa,CAAC,EAAY,EAAe,CAAC,MAAM,OAAO,SAAS,OAAO,OAAO,OAAO,UAAU,MAAM,kBAAgB,gBAAgB,EAAa,IAAI,SAAS,QAAS,EAAO,EAAS,CAAC,gBAAgB,EAAS,OAAO,OAAO,gBAAgB,EAAa,GAAI,EAAC,MAAoB,GAAK,MAAM,CAAC,MAAM,EAAe,SAAsB,EAAK,EAAO,IAAI,CAAC,MAAM,EAAS,QAAQ,CAAC,MAAM,CAAE,EAAC,QAAQ,CAAC,MAAM,MAAO,EAAC,WAAW,CAAU,WAAS,KAAK,QAAS,CAAC,EAAC,AAAC,EAAC,AAAE,cAAkG,AAAtvB,GAA2C,IAAkC,IAAoD,CAAmhB,EAAY,aAAa,CAAC,SAAS,UAAU,gBAAgB,UAAU,SAAS,EAAE,aAAa,CAAE,EAAC,EAAoB,EAAY,CAAC,SAAS,CAAC,KAAK,EAAY,MAAM,MAAM,YAAY,aAAa,EAAY,aAAa,QAAS,EAAC,gBAAgB,CAAC,KAAK,EAAY,MAAM,MAAM,mBAAmB,aAAa,EAAY,aAAa,eAAgB,EAAC,SAAS,CAAC,KAAK,EAAY,OAAO,MAAM,qBAAqB,aAAa,EAAY,aAAa,SAAS,IAAI,EAAE,IAAI,GAAG,KAAK,CAAE,EAAC,aAAa,CAAC,KAAK,EAAY,OAAO,MAAM,gBAAgB,aAAa,EAAY,aAAa,aAAa,IAAI,EAAE,IAAI,IAAI,KAAK,CAAE,CAAC,EAAC"}