{"version":3,"file":"Pulse.DNsaAbMS.mjs","names":["fonts","css","className","useState"],"sources":["https:/framerusercontent.com/modules/6Pci7MqvVbiWQUsu9umn/scrFeRxo6iE9QgWWEZth/bT366ZsPd.js","https:/framerusercontent.com/modules/F7lrTiyRGR82SkrEfltd/Ld92hsSACmX8zCrbUfpS/mpgprhMuE.js","https:/framerusercontent.com/modules/aMmMPUjtgdRLVAjX0OKj/balTIFsGLo2OC5szbDre/Pulse.js"],"sourcesContent":["// Generated by Framer (4b118ea)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-RL88j .framer-styles-preset-1wcphg8:not(.rich-text-wrapper), .framer-RL88j .framer-styles-preset-1wcphg8.rich-text-wrapper a { --framer-link-current-text-color: var(--token-0c2325eb-32e6-4468-b86d-b2000f27f938, #ffffff); --framer-link-current-text-decoration: none; --framer-link-hover-text-color: var(--token-0c2325eb-32e6-4468-b86d-b2000f27f938, #ffffff); --framer-link-hover-text-decoration: none; --framer-link-text-color: var(--token-187cde52-4d3c-4c42-b84c-d6d602ac62bc, #d0d1db); --framer-link-text-decoration: none; transition: color 0.4s cubic-bezier(0.44, 0, 0.56, 1) 0s; }\"];export const className=\"framer-RL88j\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (9840458)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-1aBDC .framer-styles-preset-1xkl390:not(.rich-text-wrapper), .framer-1aBDC .framer-styles-preset-1xkl390.rich-text-wrapper a { --framer-link-text-color: #0099ff; }\"];export const className=\"framer-1aBDC\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";import{useEffect,useState}from\"react\";function Pulse({props,onAnimationComplete}){const animateOut=props.direction===\"out\";return /*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",backgroundColor:props.style===\"border\"?\"none\":props.color,border:props.style===\"border\"?`${props.borderWidth}px solid ${props.color}`:\"none\"},variants:{in:{opacity:props.pulseOpacity,inset:\"0px\",borderRadius:props.radiusType==\"full\"?1e4:props.radiusValue},out:{opacity:0,inset:`-${props.pulseSize}px`,borderRadius:props.radiusType==\"full\"?1e4:props.radiusValue+props.pulseSize}},initial:animateOut?\"in\":\"out\",animate:animateOut?\"out\":\"in\",transition:props.transition,onAnimationComplete:onAnimationComplete});}/*\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 20\n * @framerIntrinsicHeight 20\n */export default function PulseEffect(props){const[pulses,setPulses]=useState([]);useEffect(()=>{const createPulse=()=>{const newPulseKey=Date.now()// Unique key for new pulse\n;setPulses(prevPulses=>[...prevPulses,newPulseKey]);};const interval=setInterval(createPulse,props.delay*1e3);createPulse();return()=>clearInterval(interval)// Clear interval on component unmount\n;},[]);const handleAnimationComplete=completedPulseKey=>{setPulses(prevPulses=>prevPulses.filter(key=>key!==completedPulseKey));};return /*#__PURE__*/_jsxs(\"div\",{children:[pulses.map(key=>/*#__PURE__*/_jsx(Pulse,{props:props,onAnimationComplete:()=>handleAnimationComplete(key)},key)),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,backgroundColor:props.color,borderRadius:props.radiusType==\"full\"?1e4:props.radiusValue}})]});}PulseEffect.displayName=\"Pulse\";addPropertyControls(PulseEffect,{color:{type:ControlType.Color},delay:{type:ControlType.Number,defaultValue:1,min:.1,step:.01,unit:\"s\"},direction:{type:ControlType.Enum,defaultValue:\"out\",options:[\"in\",\"out\"],optionTitles:[\"In\",\"Out\"],displaySegmentedControl:true},pulseSize:{type:ControlType.Number,defaultValue:20,min:1,step:1},pulseOpacity:{type:ControlType.Number,defaultValue:.5,min:0,max:1,step:.01},style:{type:ControlType.Enum,defaultValue:\"solid\",options:[\"solid\",\"border\"],optionTitles:[\"Solid\",\"Outline\"],displaySegmentedControl:true},borderWidth:{type:ControlType.Number,defaultValue:5,min:1,step:1,title:\"Outline Width\",hidden:props=>props.style!==\"border\"},radiusType:{type:ControlType.Enum,defaultValue:\"full\",options:[\"full\",\"custom\"],optionTitles:[\"Full\",\"Custom\"],displaySegmentedControl:true,title:\"Radius\"},radiusValue:{type:ControlType.Number,defaultValue:20,min:1,step:1,title:\" \",hidden:props=>props.radiusType!==\"custom\"},transition:{type:ControlType.Transition,defaultValue:{type:\"spring\",stiffness:150,damping:60}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PulseEffect\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"20\",\"framerIntrinsicWidth\":\"20\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Pulse.map"],"mappings":"uYAC8B,GAAU,UAAU,EAAE,CAAC,CAAcA,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,EAAE,CAAC,CAAC,CAAcC,EAAI,CAAC,klBAAklB,CAAcC,EAAU,qCCAvsB,GAAU,UAAU,EAAE,CAAC,CAAc,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,EAAE,CAAC,CAAC,CA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