{"version":3,"file":"BlueFormSubmitButtonOverride.D-rlRCgn.mjs","names":["_Fragment"],"sources":["https:/framerusercontent.com/modules/vSdc2bkRLpnq4OHZIUvy/xI46LPm9nZUQlyfuleXs/BlueFormSubmitButtonOverride.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{forwardRef}from\"react\";// User request: Create a Framer code override export named BlueFormSubmitButtonOverride that keeps the wrapped FormSpark component intact while styling submit buttons to a configurable light-blue background with black text.\nexport function BlueFormSubmitButtonOverride(Component){const submitBackgroundColor=\"rgb(0, 102, 255)\";const submitHoverBackgroundColor=\"rgb(0, 82, 214)\";const submitTextColor=\"rgb(255, 255, 255)\";const scopeClassName=\"blue-form-submit-button-override-scope\";return /*#__PURE__*/forwardRef(function BlueFormSubmitButtonOverrideWrapped(props,ref){const mergedStyle={...props?.style||{}};return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                    .${scopeClassName} button[type='submit'],\n                    .${scopeClassName} input[type='submit'] {\n                        background: ${submitBackgroundColor} !important;\n                        color: ${submitTextColor} !important;\n                    }\n\n                    .${scopeClassName} button[type='submit']:not(:disabled):hover,\n                    .${scopeClassName} input[type='submit']:not(:disabled):hover {\n                        background: ${submitHoverBackgroundColor} !important;\n                    }\n                `}),/*#__PURE__*/_jsx(\"div\",{className:scopeClassName,style:{display:\"contents\"},children:/*#__PURE__*/_jsx(Component,{ref:ref,...props,style:mergedStyle})})]});});}\nexport const __FramerMetadata__ = {\"exports\":{\"BlueFormSubmitButtonOverride\":{\"type\":\"reactHoc\",\"name\":\"BlueFormSubmitButtonOverride\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BlueFormSubmitButtonOverride.map"],"mappings":"gIACA,SAAgB,EAA6B,EAAU,CAAC,IAAmJ,EAAe,yCAAyC,OAAoB,EAAW,SAA6C,EAAM,EAAI,CAAC,IAAM,EAAY,CAAC,GAAG,GAAO,OAAO,CAAC,CAAC,EAAE,OAAoB,EAAMA,EAAU,CAAC,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS;uBAC9b,EAAe;uBACf,EAAe;;;;;uBAKf,EAAe;uBACf,EAAe;;;iBAGrB,CAAC,EAAe,EAAK,MAAM,CAAC,UAAU,EAAe,MAAM,CAAC,QAAQ,UAAU,EAAE,SAAsB,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,MAAM,CAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,CAAC,CAAE,iBAZtG,IAA8B"}