{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/avZwzrQIcbwaD32t4Iqg/ugqdwPofyWQhIfSNfG6x/TextUnderlined.js"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function CustomTitle({title,highlightText,textAlign,color,underlineImage,fontSize,underlineImagePosition}){const splittedTitle=title.split(highlightText)??[\"\",\"\"];let formattedText=title;if(highlightText&&splittedTitle.length>1){formattedText=/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"span\",{children:splittedTitle[0]}),/*#__PURE__*/_jsxs(\"span\",{className:\"highlight-text\",style:{position:\"relative\",display:\"inline-block\"},children:[highlightText,/*#__PURE__*/_jsx(\"img\",{src:underlineImage,className:\"highlight-line\",style:{...highlightLineStyle,bottom:underlineImagePosition},alt:\"\"})]}),/*#__PURE__*/_jsx(\"span\",{children:splittedTitle[1]})]});}return /*#__PURE__*/_jsx(\"h1\",{className:\"custom-title\",style:{...h1Style,fontSize:fontSize,textAlign:textAlign,color:color},children:formattedText});}CustomTitle.defaultProps={title:\"Tous les outils pour construire une relation client intelligente.\",highlightText:\"intelligente.\",textAlign:\"center\",color:\"#000\",underlineImage:\"/mnt/data/Capture d\u2019\\xe9cran 2024-08-08 \\xe0 16.50.33.png\",fontSize:\"55px\",underlineImagePosition:\"-40px\"};addPropertyControls(CustomTitle,{title:{type:ControlType.String,title:\"Title\"},highlightText:{type:ControlType.String,title:\"Highlight Text\"},textAlign:{type:ControlType.Enum,defaultValue:\"center\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"]},color:{type:ControlType.Color,title:\"Color\"},underlineImage:{type:ControlType.Image,title:\"Underline Image\"},fontSize:{type:ControlType.String,title:\"Font Size\",defaultValue:\"55px\"},underlineImagePosition:{type:ControlType.String,title:\"Underline Image Position\",defaultValue:\"-40px\"}});const h1Style={fontFamily:\"Volkhov\",lineHeight:\"1.2\",margin:0,padding:0,position:\"relative\",paddingBottom:20};const highlightLineStyle={position:\"absolute\",width:\"100%\",height:\"auto\",left:0,zIndex:-1};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CustomTitle\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TextUnderlined.map"],
  "mappings": "gJAAAA,IAAkJ,SAARC,EAA6B,CAAC,MAAAC,EAAM,cAAAC,EAAc,UAAAC,EAAU,MAAAC,EAAM,eAAAC,EAAe,SAAAC,EAAS,uBAAAC,CAAsB,EAAE,CAAC,IAAMC,EAAcP,EAAM,MAAMC,CAAa,GAAG,CAAC,GAAG,EAAE,EAAMO,EAAcR,EAAM,OAAGC,GAAeM,EAAc,OAAO,IAAGC,EAA2BC,EAAMC,EAAU,CAAC,SAAS,CAAcC,EAAK,OAAO,CAAC,SAASJ,EAAc,CAAC,CAAC,CAAC,EAAeE,EAAM,OAAO,CAAC,UAAU,iBAAiB,MAAM,CAAC,SAAS,WAAW,QAAQ,cAAc,EAAE,SAAS,CAACR,EAA2BU,EAAK,MAAM,CAAC,IAAIP,EAAe,UAAU,iBAAiB,MAAM,CAAC,GAAGQ,EAAmB,OAAON,CAAsB,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,EAAeK,EAAK,OAAO,CAAC,SAASJ,EAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAuBI,EAAK,KAAK,CAAC,UAAU,eAAe,MAAM,CAAC,GAAGE,EAAQ,SAASR,EAAS,UAAUH,EAAU,MAAMC,CAAK,EAAE,SAASK,CAAa,CAAC,CAAE,CAACT,EAAY,aAAa,CAAC,MAAM,oEAAoE,cAAc,gBAAgB,UAAU,SAAS,MAAM,OAAO,eAAe,iEAA4D,SAAS,OAAO,uBAAuB,OAAO,EAAEe,EAAoBf,EAAY,CAAC,MAAM,CAAC,KAAKgB,EAAY,OAAO,MAAM,OAAO,EAAE,cAAc,CAAC,KAAKA,EAAY,OAAO,MAAM,gBAAgB,EAAE,UAAU,CAAC,KAAKA,EAAY,KAAK,aAAa,SAAS,QAAQ,CAAC,OAAO,SAAS,OAAO,EAAE,aAAa,CAAC,OAAO,SAAS,OAAO,CAAC,EAAE,MAAM,CAAC,KAAKA,EAAY,MAAM,MAAM,OAAO,EAAE,eAAe,CAAC,KAAKA,EAAY,MAAM,MAAM,iBAAiB,EAAE,SAAS,CAAC,KAAKA,EAAY,OAAO,MAAM,YAAY,aAAa,MAAM,EAAE,uBAAuB,CAAC,KAAKA,EAAY,OAAO,MAAM,2BAA2B,aAAa,OAAO,CAAC,CAAC,EAAE,IAAMF,EAAQ,CAAC,WAAW,UAAU,WAAW,MAAM,OAAO,EAAE,QAAQ,EAAE,SAAS,WAAW,cAAc,EAAE,EAAQD,EAAmB,CAAC,SAAS,WAAW,MAAM,OAAO,OAAO,OAAO,KAAK,EAAE,OAAO,EAAE",
  "names": ["init_ssg_sandbox_shims", "CustomTitle", "title", "highlightText", "textAlign", "color", "underlineImage", "fontSize", "underlineImagePosition", "splittedTitle", "formattedText", "u", "l", "p", "highlightLineStyle", "h1Style", "addPropertyControls", "ControlType"]
}
