{"version":3,"file":"Progress_Bar.B40StLMq.mjs","names":["__esmMin","init_jsx_runtime","c","motion","init_framer_motion_DhsWWWsN","addPropertyControls","init_framer_DKtAEkcX","ControlType","ProgressBar","props","containerStyle","borderRadius","barStyle","barColor","init_Progress_Bar"],"sources":["https:/framerusercontent.com/modules/MtMae9XKse73QYiuhTpx/wCGbeQEyLOk1yFNZXIuW/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":"A,6MAAiI,SAAgBQ,EAAY,EAAM,CAAC,GAAK,CAAC,WAAS,kBAAgB,WAAS,gBAAcC,EAAYC,EAAe,CAAC,MAAM,OAAO,SAAS,OAAO,OAAO,OAAO,UAAU,MAAM,kBAAgB,aAAa,GAAGC,EAAa,IAAI,SAAS,QAAQ,EAAQC,EAAS,CAAC,gBAAgBC,EAAS,OAAO,OAAO,aAAa,GAAGF,EAAa,GAAG,EAAE,MAAoB,gBAAK,MAAM,CAAC,MAAMD,EAAe,SAAsB,gBAAKP,EAAO,IAAI,CAAC,MAAMS,EAAS,QAAQ,CAAC,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,MAAM,EAAE,WAAW,CAAU,WAAS,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAE,C,0CAAC,EAAY,aAAa,CAAC,SAAS,UAAU,gBAAgB,UAAU,SAAS,EAAE,aAAa,CAAC,EAAEP,EAAoBG,EAAY,CAAC,SAAS,CAAC,KAAKD,EAAY,MAAM,MAAM,YAAY,aAAaC,EAAY,aAAa,QAAQ,EAAE,gBAAgB,CAAC,KAAKD,EAAY,MAAM,MAAM,mBAAmB,aAAaC,EAAY,aAAa,eAAe,EAAE,SAAS,CAAC,KAAKD,EAAY,OAAO,MAAM,qBAAqB,aAAaC,EAAY,aAAa,SAAS,IAAI,EAAE,IAAI,GAAG,KAAK,CAAC,EAAE,aAAa,CAAC,KAAKD,EAAY,OAAO,MAAM,gBAAgB,aAAaC,EAAY,aAAa,aAAa,IAAI,EAAE,IAAI,IAAI,KAAK,CAAC,CAAC,CAAC,C"}