{"version":3,"file":"TextGlow.DMHtQGba.mjs","names":["_Fragment"],"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":"4NAIG,SAAwB,EAAS,EAAM,CAAC,GAAK,CAAC,OAAK,YAAY,YAAU,UAAU,YAAU,UAAU,gBAAc,EAAE,WAAS,GAAG,UAAQ,GAAK,iBAAe,EAAE,OAAK,QAAM,aAAW,EAAY,EAAW,OAAO,EAAS,GAAG,KAAK,EAAU,QAAQ,EAAS,KAAK,EAAU,QAAQ,EAAS,IAAI,KAAK,IAAY,OAAoB,EAAMA,EAAU,CAAC,SAAS,CAAc,EAAK,OAAO,CAAC,KAAK,4EAA4E,IAAI,YAAY,CAAC,EAAe,EAAK,EAAO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