{"version":3,"file":"GradientText.CmPDqd7c.mjs","names":[],"sources":["https:/framerusercontent.com/modules/OxL0aNLF2TWhEe5LQn7i/VfENxGXl9RG9UoYJXtnI/GradientText.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export function GradientText({text}){if(!text)return null;// Shared base font style\nconst baseStyle={fontFamily:'\"Montserrat\", \"Montserrat Placeholder\", sans-serif',fontWeight:800,fontSize:\"20px\",lineHeight:\"150%\",textAlign:\"center\",display:\"inline-block\",margin:0};let gradientText=\"\";let whiteText=\"\";if(text.includes(\":\")){const[beforeColon,afterColon]=text.split(/:(.+)/);gradientText=beforeColon+\":\"// include colon in gradient\n;whiteText=afterColon||\"\";}else{const words=text.split(\" \");gradientText=words.slice(0,4).join(\" \");whiteText=words.slice(4).join(\" \");}return /*#__PURE__*/_jsxs(\"h1\",{style:{textAlign:\"center\",margin:0},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .gradient-text {\n                    font-size: 48px !important;\n                }\n                @media (max-width: 768px) {\n                    .gradient-text {\n                        font-size: 20px !important;\n                    }\n                }\n                `}),/*#__PURE__*/_jsx(\"span\",{className:\"gradient-text\",style:{...baseStyle,background:\"linear-gradient(303.14deg, #00EEFF 19.65%, #0051FF 102.27%)\",WebkitBackgroundClip:\"text\",WebkitTextFillColor:\"transparent\",fontSize:\"48px\"},children:gradientText}),whiteText&&/*#__PURE__*/_jsxs(\"span\",{className:\"gradient-text\",style:{...baseStyle,color:\"rgb(255, 255, 255)\",fontSize:\"48px\"},children:[\" \",whiteText]})]});}addPropertyControls(GradientText,{text:{type:ControlType.String,title:\"Text\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"GradientText\":{\"type\":\"reactComponent\",\"name\":\"GradientText\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GradientText.map"],"mappings":"mKAA6G,SAAgB,EAAa,CAAC,QAAM,CAAC,GAAG,CAAC,EAAK,OAAO,KAClK,IAAM,EAAU,CAAC,WAAW,qDAAqD,WAAW,IAAI,SAAS,OAAO,WAAW,OAAO,UAAU,SAAS,QAAQ,eAAe,OAAO,EAAE,CAAK,EAAa,GAAO,EAAU,GAAG,GAAG,EAAK,SAAS,IAAI,CAAC,CAAC,GAAK,CAAC,EAAY,GAAY,EAAK,MAAM,QAAQ,CAAC,EAAa,EAAY,IAC5T,EAAU,GAAY,OAAQ,CAAC,IAAM,EAAM,EAAK,MAAM,IAAI,CAAC,EAAa,EAAM,MAAM,EAAE,EAAE,CAAC,KAAK,IAAI,CAAC,EAAU,EAAM,MAAM,EAAE,CAAC,KAAK,IAAI,CAAE,OAAoB,EAAM,KAAK,CAAC,MAAM,CAAC,UAAU,SAAS,OAAO,EAAE,CAAC,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS;;;;;;;;;kBASxO,CAAC,CAAc,EAAK,OAAO,CAAC,UAAU,gBAAgB,MAAM,CAAC,GAAG,EAAU,WAAW,8DAA8D,qBAAqB,OAAO,oBAAoB,cAAc,SAAS,OAAO,CAAC,SAAS,EAAa,CAAC,CAAC,GAAwB,EAAM,OAAO,CAAC,UAAU,gBAAgB,MAAM,CAAC,GAAG,EAAU,MAAM,qBAAqB,SAAS,OAAO,CAAC,SAAS,CAAC,IAAI,EAAU,CAAC,CAAC,CAAC,CAAC,CAAC,kBAXhX,IAAoD,CAW8T,EAAoB,EAAa,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,OAAO,CAAC,CAAC"}