{"version":3,"file":"AnimatedGradient.C5AF8er6.mjs","names":[],"sources":["https:/framerusercontent.com/modules/Zi5TLVNNThNe4pcYVL3Y/B2dCzpwfBYGfGQnnmEAg/AnimatedGradient.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function GlowBackground({colorA,colorB,borderRadius,glowSpread,animationSpeed,style}){return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",borderRadius:`${borderRadius}px`,overflow:\"visible\",...style},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                @keyframes glow-drift-a {\n                    0%   { transform: translate(0%, 0%) scale(1);    opacity: 1; }\n                    33%  { transform: translate(8%, -6%) scale(1.05); opacity: 0.7; }\n                    66%  { transform: translate(-6%, 8%) scale(0.97); opacity: 0.9; }\n                    100% { transform: translate(0%, 0%) scale(1);    opacity: 1; }\n                }\n                @keyframes glow-drift-b {\n                    0%   { transform: translate(0%, 0%) scale(1);     opacity: 0.5; }\n                    33%  { transform: translate(-8%, 6%) scale(0.95); opacity: 0.9; }\n                    66%  { transform: translate(6%, -8%) scale(1.08); opacity: 0.6; }\n                    100% { transform: translate(0%, 0%) scale(1);     opacity: 0.5; }\n                }\n                @keyframes glow-pulse {\n                    0%   { opacity: 0.6; transform: scale(1); }\n                    50%  { opacity: 1;   transform: scale(1.04); }\n                    100% { opacity: 0.6; transform: scale(1); }\n                }\n            `}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:`-${glowSpread*.3}%`,borderRadius:`${borderRadius+40}px`,background:`radial-gradient(ellipse at center, ${colorA} 0%, transparent 70%)`,filter:\"blur(36px)\",animation:`glow-drift-a ${animationSpeed}s ease-in-out infinite`,willChange:\"transform, opacity\"}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:`-${glowSpread*.2}%`,borderRadius:`${borderRadius+30}px`,background:`radial-gradient(ellipse at center, ${colorB} 0%, transparent 65%)`,filter:\"blur(48px)\",animation:`glow-drift-b ${animationSpeed*1.4}s ease-in-out infinite`,animationDelay:`-${animationSpeed*.5}s`,willChange:\"transform, opacity\"}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:\"10%\",borderRadius:`${borderRadius}px`,background:`radial-gradient(ellipse at center, ${colorB}55 0%, transparent 60%)`,filter:\"blur(20px)\",animation:`glow-pulse ${animationSpeed*.8}s ease-in-out infinite`,animationDelay:`-${animationSpeed*.3}s`,willChange:\"transform, opacity\"}})]});}GlowBackground.displayName=\"Glow Background\";addPropertyControls(GlowBackground,{colorA:{type:ControlType.Color,title:\"Colour A\",defaultValue:\"#1a3cbf\"},colorB:{type:ControlType.Color,title:\"Colour B\",defaultValue:\"#2d6fff\"},borderRadius:{type:ControlType.Number,title:\"Radius\",defaultValue:24,min:0,max:200,step:4,unit:\"px\"},glowSpread:{type:ControlType.Number,title:\"Spread\",defaultValue:40,min:10,max:100,step:5,unit:\"%\"},animationSpeed:{type:ControlType.Number,title:\"Speed (s)\",defaultValue:8,min:3,max:24,step:1}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GlowBackground\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AnimatedGradient.map"],"mappings":"mKAA6G,SAAwB,EAAe,CAAC,SAAO,SAAO,eAAa,aAAW,iBAAe,SAAO,CAAC,OAAoB,EAAM,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,OAAO,OAAO,OAAO,aAAa,GAAG,EAAa,IAAI,SAAS,UAAU,GAAG,CAAK,EAAE,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS;;;;;;;;;;;;;;;;;;aAkBxY,CAAC,EAAe,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,IAAI,EAAW,GAAG,GAAG,aAAa,GAAG,EAAa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