{"version":3,"file":"PulseAnimation.D_LEfAaT.mjs","names":["useState","_Fragment"],"sources":["https:/framerusercontent.com/modules/gfc2ckm6l9THpZMeViA9/fZdG4ETxqHPW0zbcUJq7/LshFY1A7f.js","https:/framerusercontent.com/modules/aG0gXgmEGtZxW9bgWFuw/mEyiObZ34XoluMfQFuYr/PulseAnimation.js"],"sourcesContent":["// Generated by Framer (85eaff3)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 10.827 0.18 C 10.299 -0.06 9.694 -0.06 9.167 0.18 L 0.597 4.08 C 0.234 4.24 0 4.599 0 4.995 C 0 5.392 0.234 5.75 0.597 5.91 L 9.177 9.82 C 9.704 10.061 10.309 10.061 10.837 9.82 L 19.417 5.92 C 19.779 5.76 20.013 5.402 20.013 5.005 C 20.013 4.609 19.779 4.25 19.417 4.09 Z\" fill=\"transparent\" height=\"10.00071435581102px\" id=\"xmBm0sLOm\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(2.003 2)\" width=\"20.013092322505234px\"/><path d=\"M 0 0 C -0.001 0.391 0.226 0.746 0.58 0.91 L 9.18 4.82 C 9.704 5.057 10.306 5.057 10.83 4.82 L 19.41 0.92 C 19.772 0.757 20.003 0.397 20 0\" fill=\"transparent\" height=\"4.9980847988997965px\" id=\"u_ZDq_ImM\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(2 12)\" width=\"20.00003448900729px\"/><path d=\"M 0 0 C -0.001 0.391 0.226 0.746 0.58 0.91 L 9.18 4.82 C 9.704 5.057 10.306 5.057 10.83 4.82 L 19.41 0.92 C 19.772 0.757 20.003 0.397 20 0\" fill=\"transparent\" height=\"4.9980847988997965px\" id=\"UMi3ygNKm\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(2 17)\" width=\"20.00003448900729px\"/></svg>';const getProps=({color,height,id,width,width1,...props})=>{return{...props,JEeZYcamG:width1??props.JEeZYcamG??2,P_DcoRcrY:color??props.P_DcoRcrY??\"rgb(0, 0, 0)\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,P_DcoRcrY,JEeZYcamG,...restProps}=getProps(props);const href=useSVGTemplate(\"2039305298\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-CxKJY\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1m973uw\":P_DcoRcrY,\"--js9iwy\":JEeZYcamG,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-CxKJY { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; 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 {\"P_DcoRcrY\":\"color\",\"JEeZYcamG\":\"width1\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Layers\",\"color\":{\"type\":\"variable\",\"value\":\"1m973uw\"},\"set\":{\"localId\":\"vectorSet/ZsiCCGPvG\",\"id\":\"ZsiCCGPvG\",\"moduleId\":\"Y7SpbVH16cWqMhj75z1M\"}}\n */const Icon=withCSS(Component,css,\"framer-CxKJY\");Icon.displayName=\"Layers\";export default Icon;addPropertyControls(Icon,{P_DcoRcrY:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},JEeZYcamG:{defaultValue:2,displayStepper:true,hidden:false,max:16,min:1,title:\"Width\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"24\",\"framerIntrinsicWidth\":\"24\",\"framerVariables\":\"{\\\"P_DcoRcrY\\\":\\\"color\\\",\\\"JEeZYcamG\\\":\\\"width1\\\"}\",\"framerContractVersion\":\"1\",\"framerVector\":\"{\\\"name\\\":\\\"Layers\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"1m973uw\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/ZsiCCGPvG\\\",\\\"id\\\":\\\"ZsiCCGPvG\\\",\\\"moduleId\\\":\\\"Y7SpbVH16cWqMhj75z1M\\\"}}\",\"framerImmutableVariables\":\"true\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{motion}from\"framer-motion\";import{useState,useEffect}from\"react\";/**\n * PulseAnimation Animation\n * \n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function PulseAnimation(props){const{color=\"#0099FF\",size=100,speed=1.5,intensity=1.5,continuous=true,style}=props;const isStatic=useIsStaticRenderer();const[isAnimating,setIsAnimating]=useState(continuous);useEffect(()=>{setIsAnimating(continuous);},[continuous]);const handleClick=()=>{if(!continuous){setIsAnimating(true);setTimeout(()=>setIsAnimating(false),speed*1e3);}};if(isStatic){return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",...style},children:/*#__PURE__*/_jsx(\"div\",{style:{width:size,height:size,borderRadius:\"50%\",backgroundColor:color,opacity:.8}})});}return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",cursor:continuous?\"default\":\"pointer\",...style},onClick:handleClick,children:[isAnimating&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",width:size,height:size,borderRadius:\"50%\",backgroundColor:color},animate:{scale:[1,intensity],opacity:[.7,0]},transition:{duration:speed,ease:\"easeOut\",repeat:continuous?Infinity:0,repeatDelay:.2}}),/*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",width:size,height:size,borderRadius:\"50%\",backgroundColor:color},animate:{scale:[1,intensity*.8],opacity:[.7,0]},transition:{duration:speed*.8,ease:\"easeOut\",delay:speed*.3,repeat:continuous?Infinity:0,repeatDelay:.2}})]}),/*#__PURE__*/_jsx(\"div\",{style:{width:size,height:size,borderRadius:\"50%\",backgroundColor:color,opacity:.8}})]});}addPropertyControls(PulseAnimation,{color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#0099FF\"},size:{type:ControlType.Number,title:\"Size\",defaultValue:100,min:20,max:500,step:1},speed:{type:ControlType.Number,title:\"Speed\",defaultValue:1.5,min:.5,max:5,step:.1,unit:\"s\"},intensity:{type:ControlType.Number,title:\"Intensity\",defaultValue:1.5,min:1.1,max:3,step:.1},continuous:{type:ControlType.Boolean,title:\"Mode\",defaultValue:true,enabledTitle:\"Continuous\",disabledTitle:\"On Click\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PulseAnimation\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PulseAnimation.map"],"mappings":"wTAC2C,IAAqF,IAA4B,CAAoC,EAAK,0BAAgC,EAAkB,EAAW,SAAS,EAAM,EAAI,CAAC,OAAoB,EAAK,MAAM,CAAC,GAAG,EAAU,MAAI,SAAS,EAAM,SAAS,CAAC,EAAG,CAAO,EAAU,EAAO,OAAO,EAAK,CAAO,EAAiB,GAAY,EAAM,IAAM,CAAC,GAAK,CAAC,WAAS,WAAS,WAAS,GAAG,GAAM,EAAM,OAAO,EAAsB,EAAK,EAAU,CAAC,GAAG,EAAc,WAAa,MAAa,WAAS,CAAC,CAAc,EAAK,MAAM,CAAC,GAAG,EAAS,MAAa,WAAS,CAAC,EAAG,CAAO,EAAI,m7CAAy7C,GAAU,CAAC,QAAM,SAAO,KAAG,QAAM,SAAO,GAAG,MAAgB,CAAC,GAAG,EAAM,UAAU,GAAQ,EAAM,WAAW,EAAE,UAAU,GAAO,EAAM,WAAW,eAAe,EAShuE,EAAK,EAT2vE,EAAiB,SAAS,EAAM,EAAI,CAAC,GAAK,CAAC,QAAM,YAAU,WAAS,UAAQ,YAAU,YAAU,GAAG,GAAW,EAAS,EAAM,CAAO,EAAK,EAAe,aAAa,EAAI,CAAC,OAAoB,EAAK,EAAI,CAAC,GAAG,EAAU,UAAU,EAAG,eAAe,EAAU,CAAU,WAAa,MAAI,KAAK,eAAe,MAAM,CAAC,YAAY,EAAU,WAAW,EAAU,GAAG,EAAM,CAAC,QAAQ,YAAY,SAAsB,EAAK,MAAM,CAAM,OAAK,CAAC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