{"version":3,"file":"HeroText.B_2gO2KP.mjs","names":[],"sources":["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":"wOAA6G,SAAS,EAAiB,EAAM,CAAC,GAAK,CAAC,KAAK,EAAU,QAAM,WAAS,UAAQ,WAAS,EAAY,EAAM,CAAC,GAAG,EAAU,QAAM,WAAS,UAAQ,CAAkK,OAA9J,IAAS,EAAM,WAAW,EAAM,WAAW,EAAM,YAAY,EAAM,YAAY,EAAM,cAAc,EAAM,cAAc,EAAM,aAAa,EAAM,cAAqB,EAAO,SAAgB,EAAY,CAAC,QAAM,QAAM,cAAY,aAAW,YAAU,CAAe,EAAiB,EAAY,CAAC,IAAM,EAAO,EAAiB,EAAW,CAAC,OAAoB,EAAM,MAAM,CAAC,SAAS,CAAc,EAAM,KAAK,CAAC,MAAM,EAAiB,EAAY,CAAC,SAAS,CAAC,EAAM,IAAI,CAAC,CAAC,CAAc,EAAK,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,QAAQ,IAAI,GAAG,EAAO,CAAC,SAAS,EAAM,CAAC,CAAC,CAAC,CAAC,oBAAtuB,IAAoD,CAAorB,EAAY,aAAa,CAAC,MAAM,eAAe,MAAM,eAAe,CAAC,EAAoB,EAAY,CAAC,MAAM,CAAC,MAAM,UAAU,KAAK,EAAY,OAAO,aAAa,eAAe,CAAC,MAAM,CAAC,MAAM,SAAS,KAAK,EAAY,OAAO,aAAa,cAAc,CAAC,YAAY,CAAC,KAAK,EAAY,OAAO,MAAM,WAAW,SAAS,CAAC,KAAK,CAAC,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