{"version":3,"file":"TextGlow.B5I05tpy.mjs","names":["_Fragment","__esmMin","init_jsx_runtime","c","p","motion","init_framer_motion_DhsWWWsN","addPropertyControls","init_framer_BEr93sCn","ControlType","TextGlow","props","glowShadow","glowSize","glowColor","l","style","animate","glowIntensity","animationSpeed","textColor","font","text","init_TextGlow"],"sources":["https:/framerusercontent.com/modules/qaHwVXAdNMSaxRxQWZZu/529AiqrXKbFILwWOCkG1/TextGlow.js"],"sourcesContent":["// Glow effect on text with customizable color, intensity, and animation\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function TextGlow(props){const{text=\"Glow Text\",textColor=\"#FFFFFF\",glowColor=\"#0099FF\",glowIntensity=1,glowSize=20,animate=true,animationSpeed=2,font,style,textAlign}=props;const glowShadow=`0 0 ${glowSize*.5}px ${glowColor}, 0 0 ${glowSize}px ${glowColor}, 0 0 ${glowSize*1.5}px ${glowColor}`;return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"link\",{href:\"https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap\",rel:\"stylesheet\"}),/*#__PURE__*/_jsx(motion.div,{style:{...style,position:\"relative\",width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},animate:animate?{filter:[`drop-shadow(${glowShadow}) brightness(${glowIntensity})`,`drop-shadow(0 0 ${glowSize*.3}px ${glowColor}, 0 0 ${glowSize*.6}px ${glowColor}, 0 0 ${glowSize*.9}px ${glowColor}) brightness(${glowIntensity*.7})`,`drop-shadow(${glowShadow}) brightness(${glowIntensity})`]}:undefined,transition:animate?{duration:animationSpeed,repeat:Infinity,ease:\"easeInOut\"}:undefined,children:/*#__PURE__*/_jsx(\"span\",{style:{color:textColor,textShadow:glowShadow,fontFamily:\"Montserrat, sans-serif\",...font,whiteSpace:\"pre-wrap\",wordWrap:\"break-word\",overflowWrap:\"break-word\",width:\"100%\",textAlign:textAlign},children:text})})]});}addPropertyControls(TextGlow,{text:{type:ControlType.String,title:\"Text\",defaultValue:\"The Future of Indian\\nManufacturing is AI\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#FFFFFF\"},glowColor:{type:ControlType.Color,title:\"Glow Color\",defaultValue:\"#0099FF\"},glowIntensity:{type:ControlType.Number,title:\"Intensity\",defaultValue:1,min:.5,max:2,step:.1},glowSize:{type:ControlType.Number,title:\"Glow Size\",defaultValue:20,min:5,max:50,step:1,unit:\"px\"},animate:{type:ControlType.Boolean,title:\"Animate\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},animationSpeed:{type:ControlType.Number,title:\"Speed\",defaultValue:2,min:.5,max:5,step:.1,unit:\"s\",hidden:({animate})=>!animate},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"40px\",variant:\"Semibold\",letterSpacing:\"-0.04em\",lineHeight:\"1em\"}},textAlign:{type:ControlType.Enum,title:\"Text Align\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"],defaultValue:\"center\",displaySegmentedControl:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TextGlow\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TextGlow.map"],"mappings":"A,2NAIG,SAAwBU,EAAS,EAAM,CAAC,GAAK,CAAC,OAAK,YAAY,YAAU,UAAU,YAAU,UAAU,gBAAc,EAAE,WAAS,GAAG,UAAQ,GAAK,iBAAe,EAAE,OAAK,QAAM,aAAWC,EAAYC,EAAW,OAAOC,EAAS,GAAG,KAAKC,EAAU,Q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