{"version":3,"file":"shared-lib.BpwFS3e6.mjs","names":[],"sources":["https:/framerusercontent.com/modules/sSrtBTZKRKripelL8ptL/u2XJZyYfHZoSjcC0QHIS/Bounce_Element.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerDisableUnlink\n * @framerIntrinsicWidth 100\n * @framerIntrinsicHeight 100\n */export function BobbingElement(props){const{image,speed,bobAmount,color,style}=props;const animation={y:[0,-bobAmount,0],transition:{duration:speed,repeat:Infinity,ease:\"easeInOut\"}};return /*#__PURE__*/_jsx(motion.div,{animate:animation,style:style,children:/*#__PURE__*/_jsx(\"img\",{src:image,style:{width:\"100%\",height:\"100%\",fill:color,filter:image.endsWith(\".svg\")?\"\":\"none\"}})});}BobbingElement.defaultProps={image:\"\",speed:2,bobAmount:20,color:\"#000\"};addPropertyControls(BobbingElement,{image:{type:ControlType.Image,title:\"Image\"},speed:{type:ControlType.Number,title:\"Speed\",defaultValue:2,min:.1,max:10,step:.1,unit:\"s\"},bobAmount:{type:ControlType.Number,title:\"Bobbing Height\",defaultValue:20,min:0,max:100,step:1,unit:\"px\"},color:{type:ControlType.Color,title:\"SVG Color\",defaultValue:\"#000\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"BobbingElement\":{\"type\":\"reactComponent\",\"name\":\"BobbingElement\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"* @framerIntrinsicWidth 100\",\"framerIntrinsicHeight\":\"100\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Bounce_Element.map"],"mappings":"8MAIG,SAAgB,EAAe,EAAM,CAAC,GAAK,CAAC,QAAM,QAAM,YAAU,QAAM,SAAO,EAAY,EAAU,CAAC,EAAE,CAAC,EAAE,CAAC,EAAU,EAAE,CAAC,WAAW,CAAC,SAAS,EAAM,OAAO,IAAS,KAAK,YAAY,CAAC,CAAC,OAAoB,EAAK,EAAO,IAAI,CAAC,QAAQ,EAAgB,QAAM,SAAsB,EAAK,MAAM,CAAC,IAAI,EAAM,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,KAAK,EAAM,OAAO,EAAM,SAAS,OAAO,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC,kBAJvV,IAAkC,IAAoD,CAImQ,EAAe,aAAa,CAAC,MAAM,GAAG,MAAM,EAAE,UAAU,GAAG,MAAM,OAAO,CAAC,EAAoB,EAAe,CAAC,MAAM,CAAC,KAAK,EAAY,MAAM,MAAM,QAAQ,CAAC,MAAM,CAAC,KAAK,EAAY,OAAO,MAAM,QAAQ,aAAa,EAAE,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,IAAI,CAAC,UAAU,CAAC,KAAK,EAAY,OAAO,MAAM,iBAAiB,aAAa,GAAG,IAAI,EAAE,IAAI,IAAI,KAAK,EAAE,KAAK,KAAK,CAAC,MAAM,CAAC,KAAK,EAAY,MAAM,MAAM,YAAY,aAAa,OAAO,CAAC,CAAC"}