{"version":3,"file":"GradientText.DNMBSeIA.mjs","names":[],"sources":["https:/framerusercontent.com/modules/mbqSV3hnPcQext1kCuF4/XsAFRNZRlK0RXP4VcPrw/GradientText.js"],"sourcesContent":["// Linear gradient text animation component with customizable colors and animation speed\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function GradientText(props){const{text,color1,color2,color3,animationDuration,font,style}=props;return /*#__PURE__*/_jsx(motion.div,{style:{...style,position:\"relative\",width:\"max-content\"},children:/*#__PURE__*/_jsx(motion.span,{style:{...font,background:`linear-gradient(90deg, ${color1}, ${color2}, ${color3}, ${color1})`,backgroundSize:\"200% 100%\",WebkitBackgroundClip:\"text\",WebkitTextFillColor:\"transparent\",backgroundClip:\"text\",display:\"inline-block\"},animate:{backgroundPosition:[\"0% 50%\",\"200% 50%\"]},transition:{duration:animationDuration,ease:\"linear\",repeat:Infinity},children:text})});}addPropertyControls(GradientText,{text:{type:ControlType.String,title:\"Text\",defaultValue:\"Gradient Text\"},color1:{type:ControlType.Color,title:\"Color 1\",defaultValue:\"#FF5588\"},color2:{type:ControlType.Color,title:\"Color 2\",defaultValue:\"#8855FF\"},color3:{type:ControlType.Color,title:\"Color 3\",defaultValue:\"#0099FF\"},animationDuration:{type:ControlType.Number,title:\"Duration\",defaultValue:3,min:.5,max:10,step:.5,unit:\"s\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"40px\",variant:\"Bold\",letterSpacing:\"-0.04em\",lineHeight:\"1em\"}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GradientText\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GradientText.map"],"mappings":"wMAIG,SAAwB,EAAa,EAAM,CAAC,GAAK,CAAC,OAAK,SAAO,SAAO,SAAO,oBAAkB,OAAK,SAAO,EAAM,OAAoB,EAAK,EAAO,IAAI,CAAC,MAAM,CAAC,GAAG,EAAM,SAAS,WAAW,MAAM,aAAa,EAAE,SAAsB,EAAK,EAAO,KAAK,CAAC,MAAM,CAAC,GAAG,EAAK,WAAW,0BAA0B,EAAO,IAAI,EAAO,IAAI,EAAO,IAAI,EAAO,GAAG,eAAe,YAAY,qBAAqB,OAAO,oBAAoB,cAAc,eAAe,OAAO,QAAQ,cAAc,EAAE,QAAQ,CAAC,mBAAmB,CAAC,SAAS,UAAU,CAAC,EAAE,WAAW,CAAC,SAAS,EAAkB,KAAK,SAAS,OAAO,GAAQ,EAAE,SAAS,CAAI,CAAC,CAAC,CAAC,CAAE,iBAHhkB,IAAkC,IAAoD,EAG2e,EAAoB,EAAa,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,OAAO,aAAa,eAAe,EAAE,OAAO,CAAC,KAAK,EAAY,MAAM,MAAM,UAAU,aAAa,SAAS,EAAE,OAAO,CAAC,KAAK,EAAY,MAAM,MAAM,UAAU,aAAa,SAAS,EAAE,OAAO,CAAC,KAAK,EAAY,MAAM,MAAM,UAAU,aAAa,SAAS,EAAE,kBAAkB,CAAC,KAAK,EAAY,OAAO,MAAM,WAAW,aAAa,EAAE,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,GAAG,EAAE,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,OAAO,SAAS,WAAW,gBAAgB,aAAa,aAAa,CAAC,SAAS,OAAO,QAAQ,OAAO,cAAc,UAAU,WAAW,KAAK,CAAC,CAAC,CAAC"}