{"version":3,"file":"BouncingIcon.DDTNSnTf.mjs","names":[],"sources":["https:/framerusercontent.com/modules/5zkp3uDWf9N9lXIYOqig/AwBnimnPYNHn5l2obzlu/EgU3wCY21.js","https:/framerusercontent.com/modules/NWM7fnV0wOm90LqJr2qC/3NuuPtgSP7Q4Jk32TzA7/BouncingIcon.js"],"sourcesContent":["// Generated by Framer (6ca5d98)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask='url(\\'data:image/svg+xml,<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 0 0 L 0 14\" fill=\"transparent\" height=\"14px\" id=\"Bdn0MMzvd\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" stroke=\"var(--43q7um, rgb(0,0,0))\" transform=\"translate(12 5)\" width=\"1px\"/><path d=\"M 14 0 L 7 7 L 0 0\" fill=\"transparent\" height=\"7px\" id=\"P_62muRwr\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" stroke=\"var(--43q7um, rgb(0,0,0))\" transform=\"translate(5 12)\" width=\"14px\"/></svg>\\') alpha no-repeat center / auto var(--framer-icon-mask-mode, add), var(--framer-icon-mask, none)';const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(motion.div,{...rest,layoutId:layoutId,ref:ref}):/*#__PURE__*/_jsx(\"div\",{...rest,ref:ref});});const getProps=({height,id,stroke,width,...props})=>{return{...props,UO5clYVeQ:stroke??props.UO5clYVeQ??\"rgb(0, 0, 0)\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,UO5clYVeQ,...restProps}=getProps(props);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-wu1eM\",className),layoutId:layoutId,ref:ref,style:{\"--43q7um\":UO5clYVeQ,...style}});});const css=[`.framer-wu1eM { -webkit-mask: ${mask}; aspect-ratio: 1; background-color: var(--43q7um); mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"UO5clYVeQ\":\"stroke\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Arrow Down\",\"color\":{\"type\":\"variable\",\"value\":\"43q7um\"},\"set\":{\"localId\":\"vectorSet/T8qKXkLfy\",\"id\":\"T8qKXkLfy\",\"moduleId\":\"fiHEoJwBMFnT6QLOcpPz\"}}\n * @framerDisableUnlink true\n */const Icon=withCSS(Component,css,\"framer-wu1eM\");Icon.displayName=\"Arrow Down\";export default Icon;addPropertyControls(Icon,{UO5clYVeQ:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Stroke\",type:ControlType.Color}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"24\",\"framerVariables\":\"{\\\"UO5clYVeQ\\\":\\\"stroke\\\"}\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerDisableUnlink\":\"true\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerImmutableVariables\":\"true\",\"framerVector\":\"{\\\"name\\\":\\\"Arrow Down\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"43q7um\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/T8qKXkLfy\\\",\\\"id\\\":\\\"T8qKXkLfy\\\",\\\"moduleId\\\":\\\"fiHEoJwBMFnT6QLOcpPz\\\"}}\",\"framerIntrinsicHeight\":\"24\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Bouncing icon component with customizable icon set, icon, color, size, and smooth easing animation\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function BouncingIcon(props){const{icon,color=\"#000000\",size=48,bounceAmount=20,text=\"\",iconDelay=0,textDelay=2,textFont,textColor=\"#000000\",animateText=false,fadeOutText=false,fadeInDuration=1,enableRuntime=false,runtime=3,fadeOutDuration=1,restDuration=2,textFadeInDuration=1,textVisibleDuration=3,textFadeOutDuration=1,textRestDuration=2,enableTextColorCycle=false,colorCycleColors=[\"#000000\",\"#FF0000\",\"#0000FF\"]}=props;// Calculate total cycle duration\nconst cycleDuration=fadeInDuration+runtime+fadeOutDuration+restDuration;const textCycleDuration=textFadeInDuration+textVisibleDuration+textFadeOutDuration+textRestDuration;return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",position:\"relative\"},children:[/*#__PURE__*/_jsx(motion.div,{initial:{opacity:0},animate:{y:[0,-bounceAmount,0],opacity:enableRuntime?[0,1,1,0,0]:1},transition:{y:{duration:2,repeat:Infinity,ease:\"easeInOut\",delay:iconDelay},opacity:enableRuntime?{duration:cycleDuration,repeat:Infinity,times:[0,fadeInDuration/cycleDuration,(fadeInDuration+runtime)/cycleDuration,(fadeInDuration+runtime+fadeOutDuration)/cycleDuration,1],ease:\"easeInOut\",delay:iconDelay}:{duration:fadeInDuration,delay:iconDelay,ease:\"easeOut\"}},style:{width:size,height:size,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:color},children:icon}),text&&/*#__PURE__*/_jsxs(motion.svg,{width:\"100%\",height:\"100%\",viewBox:\"0 0 200 200\",style:{position:\"absolute\",top:0,left:0,pointerEvents:\"none\"},initial:{opacity:0},animate:{opacity:[0,1,1,0,0],rotate:animateText?360:0},transition:{opacity:{duration:textCycleDuration,repeat:Infinity,times:[0,textFadeInDuration/textCycleDuration,(textFadeInDuration+textVisibleDuration)/textCycleDuration,(textFadeInDuration+textVisibleDuration+textFadeOutDuration)/textCycleDuration,1],ease:\"easeInOut\",delay:iconDelay+textDelay},rotate:animateText?{duration:10,repeat:Infinity,ease:\"linear\"}:{}},children:[/*#__PURE__*/_jsx(\"defs\",{children:/*#__PURE__*/_jsx(\"path\",{id:\"circlePath\",d:\"M 100, 100 m -75, 0 a 75,75 0 1,1 150,0 a 75,75 0 1,1 -150,0\"})}),/*#__PURE__*/_jsx(motion.text,{fill:textColor,animate:enableTextColorCycle?{fill:colorCycleColors}:{},transition:enableTextColorCycle?{duration:colorCycleColors.length*2,repeat:Infinity,ease:\"linear\"}:{},style:{fontSize:textFont.fontSize||\"12px\",fontFamily:textFont.fontFamily,fontWeight:textFont.fontWeight,fontStyle:textFont.fontStyle,letterSpacing:textFont.letterSpacing||\"0.1em\"},textAnchor:\"start\",children:/*#__PURE__*/_jsx(\"textPath\",{href:\"#circlePath\",startOffset:\"0%\",children:text})})]})]});}addPropertyControls(BouncingIcon,{icon:{type:ControlType.ComponentInstance,title:\"Icon\"},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#000000\"},size:{type:ControlType.Number,title:\"Size\",defaultValue:48,min:16,max:200,step:1,unit:\"px\"},bounceAmount:{type:ControlType.Number,title:\"Bounce Amount\",defaultValue:20,min:0,max:100,step:1,unit:\"px\"},iconDelay:{type:ControlType.Number,title:\"Icon Delay\",defaultValue:0,min:0,max:10,step:.1,unit:\"s\"},fadeInDuration:{type:ControlType.Number,title:\"Fade In Duration\",defaultValue:1,min:.1,max:5,step:.1,unit:\"s\"},enableRuntime:{type:ControlType.Boolean,title:\"Enable Runtime Cycle\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},runtime:{type:ControlType.Number,title:\"Visible Duration\",defaultValue:3,min:.1,max:20,step:.1,unit:\"s\",hidden:({enableRuntime})=>!enableRuntime},fadeOutDuration:{type:ControlType.Number,title:\"Fade Out Duration\",defaultValue:1,min:.1,max:5,step:.1,unit:\"s\",hidden:({enableRuntime})=>!enableRuntime},restDuration:{type:ControlType.Number,title:\"Rest Duration\",defaultValue:2,min:.1,max:20,step:.1,unit:\"s\",hidden:({enableRuntime})=>!enableRuntime},text:{type:ControlType.String,title:\"Circle Text\",defaultValue:\"Scroll Down • Scroll Down • \"},textDelay:{type:ControlType.Number,title:\"Text Delay (after icon)\",defaultValue:2,min:0,max:10,step:.1,unit:\"s\"},textFadeInDuration:{type:ControlType.Number,title:\"Text Fade In\",defaultValue:1,min:.1,max:5,step:.1,unit:\"s\"},textVisibleDuration:{type:ControlType.Number,title:\"Text Visible Duration\",defaultValue:3,min:.1,max:20,step:.1,unit:\"s\"},textFadeOutDuration:{type:ControlType.Number,title:\"Text Fade Out\",defaultValue:1,min:.1,max:5,step:.1,unit:\"s\"},textRestDuration:{type:ControlType.Number,title:\"Text Rest Duration\",defaultValue:2,min:.1,max:20,step:.1,unit:\"s\"},fadeOutText:{type:ControlType.Boolean,title:\"Fade Out Text\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\",hidden:()=>true},textFont:{type:ControlType.Font,title:\"Text Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"12px\",variant:\"Medium\",letterSpacing:\"0.1em\"}},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#000000\",hidden:({enableTextColorCycle})=>enableTextColorCycle},enableTextColorCycle:{type:ControlType.Boolean,title:\"Color Cycle\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},colorCycleColors:{type:ControlType.Array,title:\"Cycle Colors\",control:{type:ControlType.Color},defaultValue:[\"#000000\",\"#FF0000\",\"#0000FF\"],hidden:({enableTextColorCycle})=>!enableTextColorCycle},animateText:{type:ControlType.Boolean,title:\"Rotate Text\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BouncingIcon\",\"slots\":[\"icon\"],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BouncingIcon.map"],"mappings":"4QAC2C,IAAsE,IAA4B,CAAoC,EAAK,srBAA8rB,EAAiB,GAAY,EAAM,IAAM,CAAC,GAAK,CAAC,WAAS,WAAS,WAAS,GAAG,GAAM,EAAM,OAAO,EAAsB,EAAK,EAAO,IAAI,CAAC,GAAG,EAAc,WAAa,MAAI,CAAC,CAAc,EAAK,MAAM,CAAC,GAAG,EAAS,MAAI,CAAC,EAAG,CAAO,GAAU,CAAC,SAAO,KAAG,SAAO,QAAM,GAAG,MAAgB,CAAC,GAAG,EAAM,UAAU,GAAQ,EAAM,WAAW,eAAe,EAU5rC,EAAK,EAVutC,EAAiB,SAAS,EAAM,EAAI,CAAC,GAAK,CAAC,QAAM,YAAU,WAAS,UAAQ,YAAU,GAAG,GAAW,EAAS,EAAM,CAAC,OAAoB,EAAK,EAAI,CAAC,GAAG,EAAU,UAAU,EAAG,eAAe,EAAU,CAAU,WAAa,MAAI,MAAM,CAAC,WAAW,EAAU,GAAG,EAAM,CAAC,CAAC,EAAG,CAAW,CAAC,iCAAiC,EAAK,4DAA4D,EAAK,kBAAkB,CAUhlD,eAAe,CAAC,EAAK,YAAY,eAA4B,EAAK,EAAoB,EAAK,CAAC,UAAU,CAAC,aAAa,eAAe,OAAO,GAAM,MAAM,SAAS,KAAK,EAAY,MAAM,CAAC,CAAC,ICPzN,SAAwB,EAAa,EAAM,CAAC,GAAK,CAAC,OAAK,QAAM,UAAU,OAAK,GAAG,eAAa,GAAG,OAAK,GAAG,YAAU,EAAE,YAAU,EAAE,WAAS,YAAU,UAAU,cAAY,GAAM,cAAY,GAAM,iBAAe,EAAE,gBAAc,GA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