{"version":3,"file":"WithHubSpotFormStyles.DMLyRwAx.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/susNkLV8nKwKgqpslNpb/r889zweRoGNxm74IcJvs/WithHubSpotFormStyles.js"],"sourcesContent":["// WithHubSpotFormStyles.tsx\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";export function WithHubSpotFormStyles(){useEffect(()=>{const style=document.createElement(\"style\");style.innerHTML=`\n.hubspot-form-wrapper {\n  width: 100%;\n}\n\n.hubspot-form-wrapper  > * {\n  width: 100% !important;\n  height: auto !important;\n}\n\n.hubspot-form-wrapper .hs-form label {\n    display: flex;\n    margin-bottom: 0.5rem;\n}\n\n.hubspot-form-wrapper .hs-form textarea {\n    min-height: 100px;\n    width: 100% !important;\n}\n\n.hubspot-form-wrapper .hs-form select,\n.hubspot-form-wrapper .hs-form input[type=\"email\"],\n.hubspot-form-wrapper .hs-form input[type=\"text\"], \n.hubspot-form-wrapper .hs-form input[type=\"tel\"] {\n    width: 100% !important;\n    height: 42px;\n}\n\n.hubspot-form-wrapper .hs-form fieldset {\n    display: flex;\n    flex-wrap: wrap;\n    gap: 1rem;\n}\n\n.hubspot-form-wrapper .inputs-list {\n    padding-left: 0;\n    list-style: none;\n}\n\n.hubspot-form-wrapper .inputs-list li label {\n    align-content: center;\n    gap: 0.25rem;\n}\n\n.hubspot-form-wrapper .inputs-list li label span {\n    line-height: 2;\n}\n\n.hubspot-form-wrapper .hs-error-msgs {\n  background-color: #ffe5e5;\n  padding: 0.75rem 1rem;\n  margin-top: 0.5rem;\n  border-left: 4px solid #d33;\n  border-radius: 4px;\n  list-style: none;\n  font-size: 14px;\n  color: #a00;\n  display: flex;\n  flex-direction: column;\n  gap: 0.5rem;\n  margin-bottom: 0;\n}\n\n.hubspot-form-wrapper .hs-error-msgs li {\n  margin: 0;\n  padding: 0;\n}\n\n.hubspot-form-wrapper .hs-error-msgs label.hs-error-msg {\n  font-weight: 500;\n  display: block;\n  margin-bottom: 0;\n}\n\n.hubspot-form-wrapper .hs-form .hs-form-field {\n    width: 100% !important;\n    margin-bottom: 1.25rem;\n}\n\n.hubspot-form-wrapper .hs-form .hs-input {\n    width: 100%;\n    font-size: 16px;\n    border-radius: 6px;\n    border: 1px solid #ccc;\n    background-color: #fff;\n    padding: 0px 12px;\n}\n\n.hubspot-form-wrapper .hs-form .hs-button.primary {\n    align-content: center;\n    align-items: center;\n    background-color: var(--token-a921b5cb-12e4-4b2a-9d51-0e902a370cbf, #e35554);\n    border-radius: 80px;\n    border: none;\n    display: flex;\n    flex: none;\n    flex-direction: row;\n    flex-wrap: nowrap;\n    gap: 8px;\n    justify-content: center;\n    padding: 1rem 2rem;\n    overflow: hidden;\n    cursor: pointer;\n    font-size: 16px;\n    line-height: 0.9;\n    color: #fff;\n}\n\n.hubspot-form-wrapper .hs-form .hs-button.primary:hover {\n    background: #222;\n    color: #fff;\n}\n    `;document.head.appendChild(style);return()=>{document.head.removeChild(style);};},[]);return{className:\"hubspot-form-wrapper\"};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withWithHubSpotFormStyles(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...WithHubSpotFormStyles(props)});};}withWithHubSpotFormStyles.displayName=\"WithHubSpotFormStyles\";\nexport const __FramerMetadata__ = {\"exports\":{\"withWithHubSpotFormStyles\":{\"type\":\"reactHoc\",\"name\":\"withWithHubSpotFormStyles\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"WithHubSpotFormStyles\":{\"type\":\"override\",\"name\":\"WithHubSpotFormStyles\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WithHubSpotFormStyles.map"],"mappings":"0KACwE,SAAgB,GAAuB,CAgHpB,OAhHqB,MAAc,CAAC,IAAM,EAAM,SAAS,cAAc,QAAQ,CAgHnI,MAhHoI,GAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAgHrL,SAAS,KAAK,YAAY,EAAM,KAAW,CAAC,SAAS,KAAK,YAAY,EAAM,GAAK,EAAE,CAAC,CAAO,CAAC,UAAU,uBAAuB,CAAqJ,SAAgB,EAA0B,EAAE,CAAC,MAAO,KAAQ,EAA+BA,EAAwC,CAAQC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAsB,EAAM,CAAC,CAAC,mBAhH1a,IAA6B,IAgHgN,CAAiM,EAA0B,YAAY"}