{"version":3,"file":"Pulsing_Animation.w_hsVR_R.mjs","names":[],"sources":["https:/framerusercontent.com/modules/x62eKAedEFGLOsCXce0m/jcPLf5C01uxxHy6QGtE5/Pulsing_Animation.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";// ── Configuration ──────────────────────────────────────\nconst PULSE_COLOR_RGB=\"15, 142, 255\"// #0F8EFF\n;const PULSE_DURATION_S=3;const PULSE_INTENSITY=.25;const PULSE_SPREAD_PX=16;// ── Inject keyframes once (module-level) ───────────────\nconst STYLE_ID=\"sn-pulse-override-styles\";function ensurePulseStyles(){if(typeof document===\"undefined\")return;if(document.getElementById(STYLE_ID))return;const el=document.createElement(\"style\");el.id=STYLE_ID;el.textContent=`\n        @keyframes sn-pulse {\n            0%, 100% {\n                box-shadow:\n                    0 0 0 0px rgba(${PULSE_COLOR_RGB}, ${PULSE_INTENSITY}),\n                    0 0 0 0px rgba(${PULSE_COLOR_RGB}, ${PULSE_INTENSITY*.4});\n            }\n            50% {\n                box-shadow:\n                    0 0 0 ${Math.round(PULSE_SPREAD_PX*.55)}px rgba(${PULSE_COLOR_RGB}, 0),\n                    0 0 0 ${PULSE_SPREAD_PX}px rgba(${PULSE_COLOR_RGB}, 0);\n            }\n        }\n    `;document.head.appendChild(el);}// ── Override ───────────────────────────────────────────\nexport function withPulse(Component){return props=>{useEffect(()=>{ensurePulseStyles();},[]);return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,animation:`sn-pulse ${PULSE_DURATION_S}s ease-in-out infinite`}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withPulse\":{\"type\":\"reactHoc\",\"name\":\"withPulse\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Pulsing_Animation.map"],"mappings":"kHAG0C,SAAS,GAAmB,CAAyC,GAArC,OAAO,SAAW,KAAsB,SAAS,eAAe,EAAS,CAAC,OAAO,IAAM,EAAG,SAAS,cAAc,QAAQ,CAAC,EAAG,GAAG,EAAS,EAAG,YAAY;;;;qCAI7L,EAAgB,IAAI,EAAgB;qCACpC,EAAgB,IAAI,EAAgB,GAAG;;;;4BAIhD,KAAK,MAAM,EAAgB,IAAI,CAAC,UAAU,EAAgB;4BAC1D,EAAgB,UAAU,EAAgB;;;MAGhE,SAAS,KAAK,YAAY,EAAG,CACnC,SAAgB,EAAU,EAAU,CAAC,MAAO,KAAQ,MAAc,CAAC,GAAmB,EAAG,EAAE,CAAC,CAAqB,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,MAAM,UAAU,YAAY,EAAiB,wBAAwB,CAAC,CAAC,6BAjBtL,IAA6B,CAClE,EAAgB,eACf,EAAiB,EAAQ,EAAgB,IAAU,EAAgB,GACpE,EAAS"}