{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/dj9XwSf4bjEi97hNYQqZ/RTYZkI5bsrYptP2Iq695/HeroText.js"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";function createSafeStyles(props){const{font:fontStyle,color,maxWidth,padding,isMixed}=props;const style={...fontStyle,color,maxWidth,padding};if(isMixed){style.paddingTop=props.paddingTop;style.paddingLeft=props.paddingLeft;style.paddingBottom=props.paddingBottom;style.paddingRight=props.paddingRight;}return style;}export function CustomTexts({text1,text2,h1FontStyle,pFontStyle,maxWidth}){const h1Style=createSafeStyles(h1FontStyle);const pStyle=createSafeStyles(pFontStyle);return /*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsxs(\"h1\",{style:createSafeStyles(h1FontStyle),children:[text1,\" \"]}),/*#__PURE__*/_jsx(\"p\",{style:{paddingTop:8,opacity:.65,...pStyle},children:text2})]});}CustomTexts.defaultProps={text1:\"Your H1 Text\",text2:\"Your H2 Text\"};addPropertyControls(CustomTexts,{text1:{title:\"H1 Text\",type:ControlType.String,defaultValue:\"Your H1 Text\"},text2:{title:\"P Text\",type:ControlType.String,defaultValue:\"Your P Text\"},h1FontStyle:{type:ControlType.Object,title:\"h1 Style\",controls:{font:{type:ControlType.Font,controls:\"extended\"},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#000000\"},padding:{type:ControlType.FusedNumber,title:\"Padding\",defaultValue:24,toggleKey:\"isMixed\",toggleTitles:[\"All\",\"Individual\"],valueKeys:[\"paddingTop\",\"paddingRight\",\"paddingBottom\",\"paddingLeft\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0},maxWidth:{type:ControlType.Number,title:\"Max Width\",defaultValue:800,min:700,max:1100,step:100}}},pFontStyle:{type:ControlType.Object,title:\"p Style\",controls:{font:{type:ControlType.Font,controls:\"extended\"},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#000000\"},maxWidth:{type:ControlType.Number,title:\"Max Width\",defaultValue:1e3,min:800,max:1100,step:100}}}});export default CustomTexts;\nexport const __FramerMetadata__ = {\"exports\":{\"CustomTexts\":{\"type\":\"reactComponent\",\"name\":\"CustomTexts\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"CustomTexts\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HeroText.map"],
  "mappings": "gGAA6G,SAASA,EAAiBC,EAAM,CAAC,GAAK,CAAC,KAAKC,EAAU,MAAAC,EAAM,SAAAC,EAAS,QAAAC,EAAQ,QAAAC,CAAO,EAAEL,EAAYM,EAAM,CAAC,GAAGL,EAAU,MAAAC,EAAM,SAAAC,EAAS,QAAAC,CAAO,EAAE,OAAGC,IAASC,EAAM,WAAWN,EAAM,WAAWM,EAAM,YAAYN,EAAM,YAAYM,EAAM,cAAcN,EAAM,cAAcM,EAAM,aAAaN,EAAM,cAAqBM,CAAM,CAAQ,SAASC,EAAY,CAAC,MAAAC,EAAM,MAAAC,EAAM,YAAAC,EAAY,WAAAC,EAAW,SAAAR,CAAQ,EAAE,CAAC,IAAMS,EAAQb,EAAiBW,CAAW,EAAQG,EAAOd,EAAiBY,CAAU,EAAE,OAAoBG,EAAM,MAAM,CAAC,SAAS,CAAcA,EAAM,KAAK,CAAC,MAAMf,EAAiBW,CAAW,EAAE,SAAS,CAACF,EAAM,GAAG,CAAC,CAAC,EAAeO,EAAK,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,QAAQ,IAAI,GAAGF,CAAM,EAAE,SAASJ,CAAK,CAAC,CAAC,CAAC,CAAC,CAAE,CAACF,EAAY,aAAa,CAAC,MAAM,eAAe,MAAM,cAAc,EAAES,EAAoBT,EAAY,CAAC,MAAM,CAAC,MAAM,UAAU,KAAKU,EAAY,OAAO,aAAa,cAAc,EAAE,MAAM,CAAC,MAAM,SAAS,KAAKA,EAAY,OAAO,aAAa,aAAa,EAAE,YAAY,CAAC,KAAKA,EAAY,OAAO,MAAM,WAAW,SAAS,CAAC,KAAK,CAAC,KAAKA,EAAY,KAAK,SAAS,UAAU,EAAE,MAAM,CAAC,KAAKA,EAAY,MAAM,MAAM,QAAQ,aAAa,SAAS,EAAE,QAAQ,CAAC,KAAKA,EAAY,YAAY,MAAM,UAAU,aAAa,GAAG,UAAU,UAAU,aAAa,CAAC,MAAM,YAAY,EAAE,UAAU,CAAC,aAAa,eAAe,gBAAgB,aAAa,EAAE,YAAY,CAAC,IAAI,IAAI,IAAI,GAAG,EAAE,IAAI,CAAC,EAAE,SAAS,CAAC,KAAKA,EAAY,OAAO,MAAM,YAAY,aAAa,IAAI,IAAI,IAAI,IAAI,KAAK,KAAK,GAAG,CAAC,CAAC,EAAE,WAAW,CAAC,KAAKA,EAAY,OAAO,MAAM,UAAU,SAAS,CAAC,KAAK,CAAC,KAAKA,EAAY,KAAK,SAAS,UAAU,EAAE,MAAM,CAAC,KAAKA,EAAY,MAAM,MAAM,QAAQ,aAAa,SAAS,EAAE,SAAS,CAAC,KAAKA,EAAY,OAAO,MAAM,YAAY,aAAa,IAAI,IAAI,IAAI,IAAI,KAAK,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,IAAOC,EAAQX",
  "names": ["createSafeStyles", "props", "fontStyle", "color", "maxWidth", "padding", "isMixed", "style", "CustomTexts", "text1", "text2", "h1FontStyle", "pFontStyle", "h1Style", "pStyle", "u", "p", "addPropertyControls", "ControlType", "HeroText_default"]
}
