{"version":3,"file":"Signaldote.3P3X6IqS.mjs","names":[],"sources":["https:/framerusercontent.com/modules/GMlsGGJIwcPMtDzrnh2n/4EGyzcna8MNSbaCMW1hn/Signaldote.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerDisableUnlink\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 20\n * @framerIntrinsicHeight 20\n */export default function SignalDot(props){const{color,size,signals,interval,style}=props;const safeInterval=Math.min(10,Math.max(1,interval));const safeSignals=Math.min(6,Math.max(1,signals));const containerSize=size*4;const delayPerSignal=safeInterval/safeSignals;return /*#__PURE__*/_jsxs(\"div\",{style:{...style,position:\"relative\",width:containerSize,height:containerSize,display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:[/*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",width:size,height:size,borderRadius:\"50%\",backgroundColor:color,boxShadow:`0 0 ${size*.8}px ${color}bb`},animate:{scale:[1,1.04,1],opacity:[1,.96,1]},transition:{duration:safeInterval*.85,repeat:Infinity,ease:\"easeInOut\"}}),Array.from({length:safeSignals}).map((_,index)=>/*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",width:size,height:size,borderRadius:\"50%\",border:`2px solid ${color}`,boxSizing:\"border-box\",filter:\"blur(1px)\"},initial:{scale:.8,opacity:0},animate:{scale:[.8,1.4,2,2.8,3.5],opacity:[0,.75,.6,.35,0]},transition:{duration:safeInterval,repeat:Infinity,delay:index*delayPerSignal,ease:\"linear\",times:[0,.2,.4,.7,1]}},index))]});}SignalDot.defaultProps={color:\"#0099FF\",size:20,signals:3,interval:3};addPropertyControls(SignalDot,{color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#0099FF\"},size:{type:ControlType.Number,title:\"Dot Size\",min:8,max:100,step:2,unit:\"px\",defaultValue:20},signals:{type:ControlType.Number,title:\"Signals\",description:\"Number of pulse rings\",min:1,max:6,step:1,displayStepper:true,defaultValue:3},interval:{type:ControlType.Number,title:\"Interval\",description:\"Time for one complete cycle\",min:1,max:10,step:.5,unit:\"s\",displayStepper:true,defaultValue:3},bottomEdgeColor:{type:ControlType.Color,title:\"Bottom Edge Color\",defaultValue:\"#141001\",description:\"Follow [Rayan Yasser](https://x.com/rayanyasserouan) for more components\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SignalDot\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"20\",\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"* @framerSupportedLayoutWidth any\",\"framerIntrinsicHeight\":\"20\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Signaldote.map"],"mappings":"oNAMG,SAAwB,EAAU,EAAM,CAAC,GAAK,CAAC,QAAM,OAAK,UAAQ,WAAS,SAAO,EAAY,EAAa,KAAK,IAAI,GAAG,KAAK,IAAI,EAAE,EAAS,CAAC,CAAO,EAAY,KAAK,IAAI,EAAE,KAAK,IAAI,EAAE,EAAQ,CAAC,CAAO,EAAc,EAAK,EAAQ,EAAe,EAAa,EAAY,OAAoB,EAAM,MAAM,CAAC,MAAM,CAAC,GAAG,EAAM,SAAS,WAAW,MAAM,EAAc,OAAO,EAAc,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,CAAC,SAAS,CAAc,EAAK,EAAO,IAAI,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,EAAK,OAAO,EAAK,aAAa,MAAM,gBAAgB,EAAM,UAAU,OAAO,EAAK,GAAG,KAAK,EAAM,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,WAAW,CAAC,SAAS,EAAa,IAAI,OAAO,IAAS,KAAK,YAAY,CAAC,CAAC,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