{"version":3,"file":"Sliding_dot.BV_LE_Um.mjs","names":[],"sources":["https:/framerusercontent.com/modules/32MQ2thoz6DKitD1uMnB/Sb8yqjyNSOS6s7IpaPGB/Sliding_dot.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";export default function SlidingDot(props){const{lineWidth=200,lineHeight=4,lineColor=\"#2BB17C\",dotSize=16,dotColor=\"#30A05C\",duration=1.5,ease=\"easeInOut\"}=props;return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:lineWidth,height:Math.max(lineHeight,dotSize),display:\"flex\",alignItems:\"center\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",width:lineWidth,height:lineHeight,backgroundColor:lineColor,borderRadius:lineHeight/2}}),/*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",width:dotSize,height:dotSize,backgroundColor:dotColor,borderRadius:\"50%\",left:-dotSize/2,boxShadow:`0 2px 8px ${dotColor}40`},animate:{left:[-dotSize/2,lineWidth-dotSize/2]},transition:{duration:duration,ease:ease,repeat:Infinity,repeatDelay:0}})]});}addPropertyControls(SlidingDot,{lineWidth:{type:ControlType.Number,title:\"Line Width\",defaultValue:200,min:50,max:800,step:10,displayStepper:true},lineHeight:{type:ControlType.Number,title:\"Line Height\",defaultValue:4,min:1,max:20,step:1,displayStepper:true},lineColor:{type:ControlType.Color,title:\"Line Color\",defaultValue:\"#2BB17C\"},dotSize:{type:ControlType.Number,title:\"Dot Size\",defaultValue:16,min:6,max:40,step:2,displayStepper:true},dotColor:{type:ControlType.Color,title:\"Dot Color\",defaultValue:\"#10B981\"},duration:{type:ControlType.Number,title:\"Duration (s)\",defaultValue:1.5,min:.3,max:5,step:.1,displayStepper:true},ease:{type:ControlType.Enum,title:\"Easing\",options:[\"linear\",\"easeIn\",\"easeOut\",\"easeInOut\"],optionTitles:[\"Linear\",\"Ease In\",\"Ease Out\",\"Ease In Out\"],defaultValue:\"easeInOut\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SlidingDot\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Sliding_dot.map"],"mappings":"oNAA+I,SAAwB,EAAW,EAAM,CAAC,GAAK,CAAC,YAAU,IAAI,aAAW,EAAE,YAAU,UAAU,UAAQ,GAAG,WAAS,UAAU,WAAS,IAAI,OAAK,aAAa,EAAM,OAAoB,EAAM,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,EAAU,OAAO,KAAK,IAAI,EAAW,EAAQ,CAAC,QAAQ,OAAO,WAAW,SAAS,CAAC,SAAS,CAAc,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,EAAU,OAAO,EAAW,gBAAgB,EAAU,aAAa,EAAW,EAAE,CAAC,CAAC,CAAc,EAAK,EAAO,IAAI,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,EAAQ,OAAO,EAAQ,gBAAgB,EAAS,aAAa,MAAM,KAAK,CAAC,EAAQ,EAAE,UAAU,aAAa,EAAS,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAQ,EAAE,EAAU,EAAQ,EAAE,CAAC,CAAC,WAAW,CAAU,WAAc,OAAK,OAAO,IAAS,YAAY,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,kBAAr1B,IAAkC,IAAoD,CAAiwB,EAAoB,EAAW,CAAC,UAAU,CAAC,KAAK,EAAY,OAAO,MAAM,aAAa,aAAa,IAAI,IAAI,GAAG,IAAI,IAAI,KAAK,GAAG,eAAe,GAAK,CAAC,WAAW,CAAC,KAAK,EAAY,OAAO,MAAM,cAAc,aAAa,EAAE,IAAI,EAAE,IAAI,GAAG,KAAK,EAAE,eAAe,GAAK,CAAC,UAAU,CAAC,KAAK,EAAY,MAAM,MAAM,aAAa,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