{"version":3,"file":"HubSpotFormGlobal.B-RERiZ6.mjs","names":["HubSpotFormGlobal","useState","useRef"],"sources":["https:/framerusercontent.com/modules/RHwvqG6SpyiHPvBYeQCs/sBc9NT0NuVpWcRjyJwW7/HubSpotFormGlobal.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,withCSS}from\"framer\";import{emptyStateStyle,stateParagraphStyle,stateTitleStyle}from\"https://framer.com/m/framer/integrations-styles.js@0.2.0\";import{useEffect,useRef,useState}from\"react\";// Form colors based on the provided design specifications\nconst INPUT_TEXT_COLOR=\"#1C022C\";const INPUT_PLACEHOLDER_COLOR=\"rgba(28, 2, 44, 0.4)\";const LABEL_COLOR=\"#1C022C\";const TEXT_COLOR=\"#1C022C\";const DESCRIPTION_COLOR=\"rgba(28, 2, 44, 0.7)\";function poll(f,delay=200,count=5*60*5,i=0){if(i>count){console.error(\"poll max attempts\",f);return;}if(!f()){setTimeout(()=>{poll(f,delay,count,i+1);},delay);}}function EmptyState({title,description}){return /*#__PURE__*/_jsxs(\"div\",{style:{...emptyStateStyle,width:\"100%\",height:\"100%\"},children:[/*#__PURE__*/_jsx(\"h1\",{style:stateTitleStyle,children:title}),/*#__PURE__*/_jsx(\"p\",{style:stateParagraphStyle,children:description})]});}/**\n * HUBSPOT\n *\n * @framerIntrinsicWidth 480\n * @framerIntrinsicHeight 300\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n */const HubSpotFormGlobal=withCSS(function HubSpotFormGlobal({portalId,formId,region,id,redirect}){const[isScriptLoaded,setIsScriptLoaded]=useState(()=>Boolean(typeof window!==\"undefined\"&&window.hbspt));const ref=useRef(null);useEffect(()=>{if(!region)return;if(isScriptLoaded||typeof window===\"undefined\")return;if(window.hbspt)return setIsScriptLoaded(true);const script=document.createElement(\"script\");script.src=`https://js-${region}.hsforms.net/forms/shell.js`;script.async=true;script.onload=()=>poll(()=>{if(window.hbspt){setIsScriptLoaded(true);return true;}return false;});document.body.appendChild(script);},[isScriptLoaded,region]);useEffect(()=>{if(!portalId||!formId)return;if(!isScriptLoaded||!ref.current||typeof window===\"undefined\")return;const element=document.createElement(\"div\");const randomId=Math.random().toString(36).substr(2,8);const elementId=`hubspot_form_${randomId}`;element.setAttribute(\"id\",elementId);element.style.width=\"100%\";element.style.height=\"100%\";ref.current.appendChild(element);window.hbspt.forms.create({region,portalId,formId,target:`#${elementId}`});return()=>{if(ref.current)ref.current.removeChild(element);};},[isScriptLoaded,portalId,formId]);useEffect(()=>{const formElement=ref.current;const handleInteraction=()=>{if(window.dataLayer){window.dataLayer.push({event:\"form_start\"});}if(formElement){formElement.removeEventListener(\"click\",handleInteraction);formElement.removeEventListener(\"touchstart\",handleInteraction);}};if(formElement){formElement.addEventListener(\"click\",handleInteraction,{once:true});formElement.addEventListener(\"touchstart\",handleInteraction,{once:true});}return()=>{if(formElement){formElement.removeEventListener(\"click\",handleInteraction);formElement.removeEventListener(\"touchstart\",handleInteraction);}};},[ref.current]);if(!portalId||!formId||!region){return /*#__PURE__*/_jsx(EmptyState,{title:\"Hubspot\",description:\"Set a portal ID and form in the Properties.\"});}return /*#__PURE__*/_jsx(\"div\",{ref:ref,style:{display:\"contents\"}});},[`.hs-form {display: flex;flex-direction: column;gap: 32px;width: 100%;max-width: 100%;margin: 0 auto;padding: 0;}`,`.hs-form fieldset {display: flex;flex-direction: row;justify-content: center;align-items: flex-start;padding: 0px;gap: 20px;width: 100%;border: none;margin: 0;}`,`.hs-form fieldset.industry-fieldset {flex-direction: column;align-items: flex-start;gap: 20px;height: 63px;}`,`.hs-form fieldset.full-width {flex-direction: column;width: 100%;}`,`.hs-form .hs-form-field {display: flex;flex-direction: column;align-items: flex-start;padding: 0px;gap: 10px;width: 265px;flex: 1;}`,`.hs-form .hs-form-field.first-name {height: 71px;}`,`.hs-form .hs-form-field.last-name {height: 70px;}`,`.hs-form .hs-form-field.work-email {height: 70px;}`,`.hs-form .hs-form-field.job-title {height: 70px;}`,`.hs-form .hs-form-field.company-name {height: 70px;}`,`.hs-form .hs-form-field.company-domain {height: 71px;}`,`.hs-form .hs-form-field.payment-service {height: 71px;}`,`.hs-form .hs-form-field.transaction-volume {height: 71px;}`,`.hs-form .hs-form-field.looking-for {height: 71px;width: 100%;}`,`label {font-family: 'Ambit', -apple-system, BlinkMacSystemFont, sans-serif;font-weight: 400;font-size: 16px;line-height: 18px;color: ${LABEL_COLOR};margin: 0;padding: 0;display: flex;align-items: center;}`,`label.aeonik-font {font-family: 'Aeonik', -apple-system, BlinkMacSystemFont, sans-serif;font-size: 16px;line-height: 19px;}`,`.hs-form-field:first-child label, .hs-form-field.company-domain label, .hs-form-field.payment-service label, .hs-form-field.transaction-volume label, .hs-form-field.looking-for label, .hs-form-field.industry-field label {font-family: 'Aeonik', -apple-system, BlinkMacSystemFont, sans-serif;line-height: 19px;}`,`.hs-input {box-sizing: border-box;padding: 11px 15px;background: rgba(255, 255, 255, 0.05);border: 1px solid rgba(209, 209, 209, 0.6);border-radius: 5px;font-family: 'Aeonik', -apple-system, BlinkMacSystemFont, sans-serif;font-weight: 400;font-size: 16px;line-height: 19px;color: ${INPUT_TEXT_COLOR};height: 42px;width: 100% !important;}`,`.hs-form .hs-form-field.full-width .hs-input {width: 100% !important;}`,`.hs-form fieldset.full-width .hs-input {width: 100% !important;}`,`.hs-input::placeholder {color: ${INPUT_PLACEHOLDER_COLOR};}`,`.hs-input:focus {outline: none;background: rgba(255, 255, 255, 0.1);}`,`.hs-button {box-sizing: border-box;display: flex;flex-direction: row;align-items: center;justify-content: center;padding: 0px 24px;gap: 12px;width: 135px;height: 48px;margin: 0;background: linear-gradient(103.9deg, #1C022C 0%, #1E10D1 42.32%, #6F2AFA 82.27%);backdrop-filter: blur(7.3751px);border: none;border-radius: 221.253px;font-family: 'Aeonik', -apple-system, BlinkMacSystemFont, sans-serif;font-weight: 600;font-size: 16px;line-height: 110%;text-align: center;text-transform: uppercase;color: #FFFFFF;cursor: pointer;transition: all 0.2s ease;}`,`.hs-button:hover {background: linear-gradient(103.9deg, #1C022C 0%, #1E10D1 42.32%, #6F2AFA 82.27%);opacity: 0.9;}`,`.hs-button:active {background: linear-gradient(103.9deg, #1C022C 0%, #1E10D1 42.32%, #6F2AFA 82.27%);opacity: 0.8;}`,`.hs-button::after {content: '';width: 16px;height: 17px;margin-left: 12px;background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"17\" viewBox=\"0 0 16 17\" fill=\"none\"%3E%3Cpath d=\"M6.00153 4.11157L10.6682 8.77824L6.00153 13.4449\" stroke=\"white\" stroke-width=\"1.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/%3E%3C/svg%3E');background-repeat: no-repeat;background-position: center;flex-shrink: 0;}`,`.hs-form .actions {display: flex;justify-content: flex-end;align-items: center;gap: 20px;margin: 0;padding: 0;width: 100%;}`,`select.hs-input {display: flex;flex-direction: row;justify-content: flex-end;align-items: center;padding: 10px 16px;gap: 10px;background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"white\" viewBox=\"0 0 16 16\" transform=\"rotate(90)\"><path d=\"M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z\"/></svg>');background-repeat: no-repeat;background-position: right 16px center;background-size: 16px;padding-right: 48px;appearance: none;-webkit-appearance: none;-moz-appearance: none;}`,`.hs-form textarea.hs-input {height: 80px;min-height: 80px;resize: vertical;width: 100% !important;max-height: 200px;}`,`.hs-form .hs-form-field:last-child {width: 100%;}`,`.hs-form fieldset:last-child {flex-direction: column;align-items: flex-start;width: 100%;gap: 10px;}`,`.hs-video-form label {color: ${LABEL_COLOR} !important;}`,`.hs-video-form .hs-back-button {background-color: #fff;width: 20%;height: 38px;margin-right: 10px;border: 1px solid;-webkit-border-radius: 3px;-moz-border-radius: 3px;-ms-border-radius: 3px;border-radius: 3px;}`,`.hs-video-form .hs-button {width: 70%;}`,`.hs-video-form .hs-button span {font-size: 15px;}`,`.hs-video-form .hs-richtext {color: ${TEXT_COLOR} !important;}`,`.hs-video-form .legal-consent-container {max-height: 180px !important;overflow-y: scroll !important;}`,`.hs-video-form .legal-consent-container:after {content: \"\";display: block;height: 100px;width: 100%;}`,`.hs-video-form .legal-consent-wrapper {position: relative;}`,`.hs-video-form .legal-consent-overlay {position: absolute;pointer-events: none;left: 0;bottom: 0;height: 100px;width: 100%;background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #292929 100%);}`,`.hs-error-msgs label {color: #e53e3e !important;font-size: 12px !important;font-weight: 400 !important;margin-top: 4px !important;font-family: 'Ambit', -apple-system, BlinkMacSystemFont, sans-serif !important;}`,`.hs-input:not([type=\"file\"]):not([type=\"checkbox\"]):not([type=\"radio\"]) {background-color: rgba(255, 255, 255, 0.05);width: 100% !important;}`,`.hs-form .hs-input[type=\"checkbox\"] {box-sizing: border-box !important;width: 20px !important;height: 20px !important;background: rgba(255, 255, 255, 0.05) !important;border-radius: 3.80952px !important;flex: none !important;order: 0 !important;flex-grow: 0 !important;cursor: pointer !important;margin: 0 !important;padding: 0 !important;border: 1px solid rgba(255, 255, 255, 0.1) !important;appearance: none !important;-webkit-appearance: none !important;-moz-appearance: none !important;position: relative !important;display: inline-block !important;vertical-align: middle !important;}`,`.hs-form .hs-input[type=\"checkbox\"]:checked {background: rgba(255, 255, 255, 0.15) !important;border-color: rgba(255, 255, 255, 0.3) !important;}`,`.hs-form .hs-input[type=\"checkbox\"]:checked::after {content: '✓' !important;position: absolute !important;top: 50% !important;left: 50% !important;transform: translate(-50%, -50%) !important;color: ${TEXT_COLOR} !important;font-size: 12px !important;font-weight: bold !important;line-height: 1 !important;}`,`.hs-form .hs-form-checkbox-display {display: flex !important;align-items: center !important;gap: 8px !important;margin-bottom: 8px !important;}`,`.hs-form .hs-form-checkbox-display span {color: ${TEXT_COLOR} !important;font-family: 'Aeonik', -apple-system, BlinkMacSystemFont, sans-serif !important;font-size: 14px !important;line-height: 1.2 !important;}`,`.hs-input[type=\"radio\"] {box-sizing: border-box;width: 24px;height: 24px;background: rgba(255, 255, 255, 0.05);border: 1px solid rgba(255, 255, 255, 0.1);border-radius: 8px;cursor: pointer;margin: 0;padding: 0;appearance: none;-webkit-appearance: none;-moz-appearance: none;position: relative;display: inline-block;vertical-align: middle;}`,`.legal-consent-container {display: flex;flex-direction: column;justify-content: flex-start;align-items: flex-start;gap: 10px;width: 100%;margin: 0;}`,`.legal-consent-container .hs-form-booleancheckbox-display {display: flex;align-items: center;gap: 10px;}`,`.legal-consent-container .hs-form-booleancheckbox-display input {float: none;}`,`.legal-consent-container .hs-form-booleancheckbox-display label {font-family: 'Aeonik', -apple-system, BlinkMacSystemFont, sans-serif;font-weight: 400;font-size: 12px;line-height: 14px;color: ${LABEL_COLOR};margin: 0;}`,`.hs-input[type=\"file\"] {padding: initial;border: initial;line-height: initial;box-shadow: none;}`,`select.is-placeholder {color: ${INPUT_PLACEHOLDER_COLOR};}`,`select.is-placeholder:focus {color: ${INPUT_TEXT_COLOR};}`,`.hs-input:-moz-placeholder {color: ${INPUT_PLACEHOLDER_COLOR};}`,`.hs-input::-webkit-input-placeholder {color: ${INPUT_PLACEHOLDER_COLOR};}`,`.hs-input option:disabled {color: ${INPUT_PLACEHOLDER_COLOR};}`,`textarea.hs-input {height: auto;}`,`select[multiple].hs-input {height: inherit;}`,`input.hs-input.error, div.field.error input, div.field.error textarea, div.field.error .chzn-choices, textarea.hs-input.error, select.hs-input.error {border: 1px solid #ff4444;}`,`input.hs-input.error:focus, div.field.error input:focus, div.field.error textarea:focus, div.field.error .chzn-choices:focus, textarea.hs-input.error:focus, select.hs-input.error:focus {border: 1px solid #ff6666;}`,`.actions {display: flex;justify-content: flex-start;align-items: center;gap: 20px;margin: 0;padding: 0;width: 100%;}`,`.inputs-list {margin: 0;padding: 0;list-style: none;display: flex;flex-direction: row;align-items: flex-start;gap: 32px;}`,`.inputs-list > li {display: flex;flex-direction: row;align-items: center;padding: 0;gap: 12px;width: auto;}`,`.inputs-list label {font-family: 'Aeonik', -apple-system, BlinkMacSystemFont, sans-serif;font-weight: 600;font-size: 18px;line-height: 21px;color: ${LABEL_COLOR};margin: 0;padding: 0;display: flex;align-items: center;}`,`ul.no-list {list-style: none;}`,`.field {margin: 0;width: 100% !important;max-width: 100% !important;}`,`.hs-field-desc {font-family: 'Aeonik', -apple-system, BlinkMacSystemFont, sans-serif;color: ${DESCRIPTION_COLOR};margin: 0 0 6px;font-size: 11px;}`,`.hs-form-required {color: ${TEXT_COLOR};}`,`.hs-richtext {font-family: 'Aeonik', -apple-system, BlinkMacSystemFont, sans-serif;line-height: 14px;font-size: 12px;color: ${TEXT_COLOR};margin: 0;}`,`.hs-richtext hr {margin: 0;width: 100%;}`,`.hs-custom-style .hs-dependent-field > div input.hs-input:not([type=\"checkbox\"]):not([type=\"radio\"]) {width: 100%;}`,`form.hs-form-rtl .field {flex: 0 1 100%;}`,`form.hs-form-rtl .hs-input[type=\"checkbox\"], form.hs-form-rtl .hs-input[type=\"radio\"] {margin: 3px 5px 3px 5px;}`,`form.hs-form-rtl fieldset {display: flex;}`,`form.hs-form-rtl fieldset[class^=\"form-columns-\"] .input {margin-right: 0px;}`,`form.hs-form-rtl ul {padding: 0px;}`,`form.hs-form-rtl .legal-consent-container .hs-form-booleancheckbox-display input {width: auto;float: right;}`,`form.hs-form-rtl .legal-consent-container .hs-form-booleancheckbox-display > span {margin-left: 0px;}`,`form.hs-form-rtl .hs-dependent-field {display: flex;flex: 0 1 100%;flex-wrap: wrap;}`,`.email-correction, .email-validation {padding-top: 3px;font-size: 12px;font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;}`,`.email-correction a, .email-validation a {cursor: pointer;}`,`@media (max-width: 809px) {.hs-form {padding: 0 10px;} .hs-input {width: 100% !important;} .hs-button {width: 100%;max-width: none;}}`,`.hs-button, .hs-form-field input[type=\"text\"], .hs-form-field input[type=\"email\"], .hs-form-field input[type=\"phone\"], .hs-form-field input[type=\"number\"], .hs-form-field input[type=\"tel\"], .hs-form-field input[type=\"date\"], .hs-form-field textarea {-webkit-appearance: none;-moz-appearance: none;}`,`.hs-default-font-element, .hs-main-font-element {font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;line-height: normal;}`,`.hs-form .hs-submit > .actions {text-align: left;}`,`.hs-form .submitted-message {font-family: 'Aeonik', -apple-system, BlinkMacSystemFont, sans-serif;font-size: 20px;color: ${TEXT_COLOR};text-align: center;}`,`.submitted-message {color: ${TEXT_COLOR} !important;font-size: 20px;font-family: 'Aeonik', -apple-system, BlinkMacSystemFont, sans-serif;text-align: center;}`,`.hs-form a:link, .hs-form a:active {color: #0000ee;}`,`.hs-form a:visited, .hs-form a:hover {color: #551a8b;}`,`.fn-date-picker.pika-single {z-index: 9999;display: block;position: relative;color: #333;background: #fff;border: 1px solid #ccc;border-bottom-color: #bbb;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;}`,`.fn-date-picker.pika-single.is-hidden {display: none;}`,`.fn-date-picker.pika-single.is-bound {position: absolute;box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.5);}`,`.fn-date-picker.pika-single:after, .fn-date-picker.pika-single:before {content: \" \";display: table;}`,`.fn-date-picker.pika-single:after {clear: both;}`,`.fn-date-picker .pika-lendar {float: left;width: 240px;margin: 8px;}`,`.fn-date-picker .pika-title {position: relative;text-align: center;}`,`.fn-date-picker .pika-title select {cursor: pointer;position: absolute;z-index: 9998;margin: 0;left: 0;top: 5px;filter: alpha(opacity=0);opacity: 0;}`,`.fn-date-picker .pika-label {display: inline-block;position: relative;z-index: 9999;overflow: hidden;margin: 0;padding: 5px 3px;font-size: 14px;line-height: 20px;font-weight: 700;background-color: #fff;}`,`.fn-date-picker .pika-next, .fn-date-picker .pika-prev {display: block;cursor: pointer;position: relative;outline: none;border: 0;padding: 0;width: 20px;height: 30px;text-indent: 20px;white-space: nowrap;overflow: hidden;background-color: transparent;background-position: 50%;background-repeat: no-repeat;background-size: 75% 75%;opacity: 0.5;}`,`.fn-date-picker .pika-next:hover, .fn-date-picker .pika-prev:hover {opacity: 1;}`,`.fn-date-picker .pika-next.is-disabled, .fn-date-picker .pika-prev.is-disabled {cursor: default;opacity: 0.2;}`,`.fn-date-picker .is-rtl .pika-next, .fn-date-picker .pika-prev {float: left;background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAUklEQVR42u3VMQoAIBADQf8Pgj+OD9hG2CtONJB2ymQkKe0HbwAP0xucDiQWARITIDEBEnMgMQ8S8+AqBIl6kKgHiXqQqAeJepBo/z38J/U0uAHlaBkBl9I4GwAAAABJRU5ErkJggg==\");left: 0;}`,`.fn-date-picker .is-rtl .pika-prev, .fn-date-picker .pika-next {float: right;background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAU0lEQVR42u3VOwoAMAgE0dwfAnNjU26bYkBCFGwfiL9VVWoO+BJ4Gf3gtsEKKoFBNTCoCAYVwaAiGNQGMUHMkjGbgjk2mIONuXo0nC8XnCf1JXgArVIZAQh5TIYAAAAASUVORK5CYII=\");right: 0;}`,`.fn-date-picker .pika-select {display: inline-block;}`,`.fn-date-picker .pika-table {width: 100%;border-collapse: collapse;border-spacing: 0;border: 0;}`,`.fn-date-picker .pika-table td, .fn-date-picker .pika-table th {width: 14.2857142857%;padding: 0;}`,`.fn-date-picker .pika-table th {color: #999;font-size: 12px;line-height: 25px;font-weight: 700;text-align: center;}`,`.fn-date-picker .pika-table abbr {border-bottom: none;cursor: help;}`,`.fn-date-picker .pika-button {cursor: pointer;display: block;-moz-box-sizing: border-box;box-sizing: border-box;outline: none;border: 0;margin: 0;width: 100%;padding: 5px;color: #666;font-size: 12px;line-height: 15px;text-align: right;background: #f5f5f5;}`,`.fn-date-picker .pika-button:hover {color: #fff !important;background: #ff8000 !important;box-shadow: none !important;border-radius: 3px !important;}`,`.fn-date-picker .is-today .pika-button {color: #3af;font-weight: 700;}`,`.fn-date-picker .is-selected .pika-button {color: #fff;font-weight: 700;background: #3af;box-shadow: inset 0 1px 3px #178fe5;border-radius: 3px;}`,`.fn-date-picker .is-disabled .pika-button {pointer-events: none;cursor: default;color: #999;opacity: 0.3;}`,`.fn-date-picker .pika-week {font-size: 11px;color: #999;}`,`.hs-form .inputs-list.inline-list li {vertical-align: top;display: inline-block;word-wrap: break-word;padding-right: 16px;}`,`.hs-form .inputs-list.inline-list li:after {clear: both;}`,`.hs-form .inputs-list.inline-list li input {float: left;}`,`.hs-form .inputs-list.inline-list.inline-list-2 li {width: 50%;}`,`.hs-form .inputs-list.inline-list.inline-list-2 li:nth-child(2n) {padding-right: 0;}`,`.hs-form .inputs-list.inline-list.inline-list-3 li {width: 33%;}`,`.hs-form .inputs-list.inline-list.inline-list-3 li:nth-child(3n) {width: 34%;padding-right: 0;}`,`.hs-fieldtype-intl-phone.hs-input {padding: 0;background: none;border: none;height: auto;}`,`.hs-fieldtype-intl-phone.hs-input:after {clear: both;content: \" \";display: table;}`,`.hs-fieldtype-intl-phone.hs-input .hs-input {margin-bottom: 0;}`,`.hs-fieldtype-intl-phone.hs-input input {width: 68% !important;float: right;}`,`.hs-fieldtype-intl-phone.hs-input select {float: left;width: 30% !important;}`,`@media (max-device-width: 480px) and (min-device-width: 320px), (max-width: 400px) {.hs-form > .hs-phone > .input > .hs-fieldtype-intl-phone.hs-input > input.hs-input {width: 68% !important;} .hs-form > .hs-phone > .input > .hs-fieldtype-intl-phone.hs-input > select.hs-input {width: 30% !important;}}`,`.hs-fieldtype-textarea.hs-input {resize: vertical;}`,`.hs-form .hs-button {white-space: pre-wrap;}`,`.hs-form .hs-richtext {word-break: break-word;}`,`.hs-form fieldset {border: 0;padding: 0;margin: 0;max-width: none !important;}`,`.hs-form fieldset.form-columns-1 .hs-input {width: 100% !important;}`,`.hs-form fieldset.form-columns-1 .input {margin-right: 0 !important;width: 100% !important;max-width: 100% !important;}`,`.hs-form fieldset.form-columns-1 input[type=\"checkbox\"], .hs-form fieldset.form-columns-1 input[type=\"radio\"] {width: auto !important;}`,`.hs-form fieldset .hs-input[type=\"checkbox\"] {width: 20px !important; height: 20px !important;}`,`.hs-form fieldset.form-columns-1 .hs-input[type=\"checkbox\"] {width: 20px !important; height: 20px !important;}`,`.hs-form fieldset.form-columns-2 .hs-form-field {width: 100%;float: none;}`,`.hs-form fieldset.form-columns-2 .input {margin-right: 0;}`,`.hs-form fieldset.form-columns-3 .hs-form-field {width: 100%;float: none;}`,`.hs-form fieldset.form-columns-3 .input {margin-right: 0;}`,`.hs-form label.hs-hidden {visibility: hidden;}`,`.hs-form .hs-field-desc {width: 100%;}`,`.hs-custom-style .hs-input, .hs-custom-style fieldset {max-width: 100%;}`,`.hs-custom-style > div.form-columns-3 .hs-form-field, .hs-custom-style fieldset.form-columns-3 .hs-form-field {width: 100%;}`,`.hs-custom-style > div > div:last-of-type .hs-input:not([type=\"checkbox\"]):not([type=\"radio\"]), .hs-custom-style fieldset > div:last-of-type .hs-input:not([type=\"checkbox\"]):not([type=\"radio\"]) {width: 100%;max-width: 100%;}`,`.hs-custom-style > div input:not([type=\"image\"]):not([type=\"submit\"]):not([type=\"button\"]):not([type=\"radio\"]):not([type=\"checkbox\"]):not([type=\"file\"]), .hs-custom-style fieldset input:not([type=\"image\"]):not([type=\"submit\"]):not([type=\"button\"]):not([type=\"radio\"]):not([type=\"checkbox\"]):not([type=\"file\"]) {box-sizing: border-box;padding: 0 15px;min-height: 27px;}`,`.hs-custom-style > div textarea, .hs-custom-style fieldset textarea {padding: 10px 15px;}`,`.hs-custom-style .hs-dependent-field > div .hs-input:not([type=\"checkbox\"]):not([type=\"radio\"]) {width: 100%;}`,`@media (max-width: 400px), (min-device-width: 320px) and (max-device-width: 480px) {.hs-custom-style .hs-input:not([type=\"checkbox\"]):not([type=\"radio\"]), .hs-custom-style fieldset {margin-right: 0 !important;width: 100% !important;} form.hs-form:not(.hs-video-form) .form-columns-2 .hs-form-field, form.hs-form:not(.hs-video-form) .form-columns-3 .hs-form-field {float: none;width: 100%;} form.hs-form:not(.hs-video-form) .form-columns-2 .hs-form-field .hs-input, form.hs-form:not(.hs-video-form) .form-columns-3 .hs-form-field .hs-input {width: 100% !important;} form.hs-form:not(.hs-video-form) .form-columns-2 .hs-form-field input[type=\"checkbox\"], form.hs-form:not(.hs-video-form) .form-columns-2 .hs-form-field input[type=\"radio\"], form.hs-form:not(.hs-video-form) .form-columns-3 .hs-form-field input[type=\"checkbox\"], form.hs-form:not(.hs-video-form) .form-columns-3 .hs-form-field input[type=\"radio\"] {width: 20px !important;}}`,`.legal-consent-container .field.hs-form-field {margin-bottom: 8px;}`,`.legal-consent-container .hs-field-desc.checkbox-desc {margin: -12px 0 0 21px;}`,`.legal-consent-container .hs-form-booleancheckbox-display input {float: left; width: 20px !important; height: 20px !important;}`,`.legal-consent-container .hs-form-booleancheckbox-display > span {display: block;margin-left: 0 !important;}`,`.legal-consent-container .hs-form-booleancheckbox-display p {margin: 0;display: inline;}`,`.legal-consent-container .hs-error-msgs label {color: #f2545b;}`,`.legal-consent-container ~ .hs_recaptcha {margin-top: 18px;}`,`.cookie-reset-container {font-size: 14px;margin-bottom: 10px;text-align: right;}`,`#hs-outer-captcha-target, #hs-outer-captcha-target * {display: none;height: 0;width: 0;}`,`.hubspot-link__container {font-size: 14px;padding-bottom: 40px;position: relative;color: #9fa0a2;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;}`,`.hubspot-link-text {color: #00a4bd;font-weight: 400;}`,`.hubspot-link__container.sproket {color: #9fa0a2;}`,`.hubspot-link {color: #9fa0a2;}`,`.hubspot-link, .hubspot-link:hover {text-decoration: none;}`,`.hubspot-link:hover .hubspot-link-text {text-decoration: underline;}`,`.hubspot-link__icon {margin-bottom: -1px;margin-right: 5px;}`,`.hubspot-link__container.sproket .hubspot-link__icon {width: 30px;margin-right: 0;float: left;margin-top: -9px;margin-left: -5px;}`,`.hs-input[type=\"radio\"]:checked {background: rgba(255, 255, 255, 0.15);border-color: rgba(255, 255, 255, 0.3);}`,`.hs-input[type=\"radio\"]:checked::after {content: '';position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 8px;height: 8px;background: ${TEXT_COLOR};border-radius: 50%;}`,`.hs-form .hs-form-field.single-column {width: 100%;}`,`.hs-form .hs-form-field.industry-field {width: 100%;gap: 20px;}`,`.hs-form .hs-form-field.industry-field label {font-size: 16px;line-height: 19px;font-weight: 400;margin-bottom: 0;}`,`/* FORM-COLUMNS-2 LAYOUT CONTROL */`,`@media (min-width: 1200px) { .hs-form fieldset.form-columns-2 {display: flex !important; flex-direction: row !important; gap: 20px !important;} .hs-form fieldset.form-columns-2 .hs-form-field {width: calc(50% - 10px) !important; float: none !important;} }`,`@media (min-width: 810px) and (max-width: 1199px) { .hs-form fieldset.form-columns-2 {display: flex !important; flex-direction: column !important; gap: 20px !important;} .hs-form fieldset.form-columns-2 .hs-form-field {width: 100% !important; float: none !important;} }`,`@media (max-width: 809px) { .hs-form fieldset.form-columns-2 {display: flex !important; flex-direction: column !important; gap: 20px !important;} .hs-form fieldset.form-columns-2 .hs-form-field {width: 100% !important; float: none !important;} }`,`/* FINAL CHECKBOX WIDTH OVERRIDE - DO NOT REMOVE */`,`.hs-form input[type=\"checkbox\"], .hs-form .hs-input[type=\"checkbox\"], .hs-form fieldset input[type=\"checkbox\"], .hs-form fieldset .hs-input[type=\"checkbox\"], .hs-form fieldset.form-columns-1 input[type=\"checkbox\"], .hs-form fieldset.form-columns-1 .hs-input[type=\"checkbox\"], .legal-consent-container input[type=\"checkbox\"], .legal-consent-container .hs-input[type=\"checkbox\"] {width: 20px !important; height: 20px !important; min-width: 20px !important; max-width: 20px !important;}`,`/* Ensure all text inputs, selects, and textareas take full width */`,`.hs-form input[type=\"text\"], .hs-form input[type=\"email\"], .hs-form input[type=\"tel\"], .hs-form input[type=\"url\"], .hs-form input[type=\"number\"], .hs-form select, .hs-form textarea {width: 100% !important;max-width: 100% !important;}`,`.hs-form .hs-input[type=\"text\"], .hs-form .hs-input[type=\"email\"], .hs-form .hs-input[type=\"tel\"], .hs-form .hs-input[type=\"url\"], .hs-form .hs-input[type=\"number\"] {width: 100% !important;max-width: 100% !important;}`,`/* Ensure input wrapper divs take full width */`,`.hs-form .input {width: 100% !important;max-width: 100% !important;box-sizing: border-box;}`,`.hs-form .hs-form-field .input {width: 100% !important;max-width: 100% !important;}`,`/* Additional wrapper div rules for HubSpot form structure */`,`.hs-form .hs-form-field .hs-input-wrapper {width: 100% !important;max-width: 100% !important;}`,`.hs-form fieldset .input {width: 100% !important;max-width: 100% !important;}`,`.hs-form .field .input {width: 100% !important;max-width: 100% !important;}`,`/* Fix for dependent field and form-columns-1 structure */`,`.hs-form fieldset.form-columns-1 {width: 100% !important;max-width: 100% !important;}`,`.hs-form .hs-dependent-field {width: 100% !important;max-width: 100% !important;}`,`.hs-form .hs-fieldtype-select {width: 100% !important;max-width: 100% !important;}`,`.hs-form .hs-dependent-field .hs-form-field {width: 100% !important;max-width: 100% !important;}`,`.hs-form .hs-dependent-field .input {width: 100% !important;max-width: 100% !important;}`,`.hs-form .hs-dependent-field select {width: 100% !important;max-width: 100% !important;}`,`/* Specific styling for What Are You Looking For textarea */`,`.hs-form textarea[name*=\"looking\"], .hs-form textarea[name*=\"comment\"], .hs-form textarea[name*=\"message\"] {height: 80px !important;min-height: 80px !important;resize: vertical !important;max-height: 200px !important;width: 100% !important;box-sizing: border-box !important;}`,`.hs-form .hs-fieldtype-textarea {width: 100% !important;max-width: 100% !important;}`,`.hs-form .hs-fieldtype-textarea .input {width: 100% !important;max-width: 100% !important;}`,`/* Add gap between dependent form fields */`,`.hs-form .hs-dependent-field {gap: 20px !important;display: flex !important;flex-direction: column !important;}`,`.hs-form .hs-dependent-field .hs-form-field {margin-bottom: 20px !important;}`,`.hs-form .hs-dependent-field .hs-form-field:last-child {margin-bottom: 0 !important;}`,`/* Hide fieldset when all inputs inside are hidden */`,`.hs-form fieldset:has(.hs-form-field[style*=\"display: none\"]) {display: none !important;}`,`.hs-form fieldset:has(.field[style*=\"display: none\"]) {display: none !important;}`,`/* Fallback for browsers that don't support :has() */`,`.hs-form fieldset .hs-form-field[style*=\"display: none\"] {display: none !important;}`,`.hs-form fieldset .field[style*=\"display: none\"] {display: none !important;}`]);HubSpotFormGlobal.displayName=\"HubSpotFormGlobal\";addPropertyControls(HubSpotFormGlobal,{portalId:{title:\"Portal\",type:ControlType.String,placeholder:\"25276298\",description:\"Create a [Hubspot](https://www.hubspot.com/) account, add a new form and copy your portal ID. [Learn more…](https://www.framer.com/plugins/hubspot/)\"},formId:{title:\"Form\",type:ControlType.String,placeholder:\"e7167571-4bc4-4c2c-bfdc-a0a8dbfd22f1\"},advanced:{title:\"Advanced\",type:ControlType.Boolean,enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:false},region:{title:\"Region\",type:ControlType.String,placeholder:\"eu1\",defaultValue:\"eu1\",hidden:({advanced})=>!advanced}});export default HubSpotFormGlobal;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HubSpotFormGlobal\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicWidth\":\"480\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerIntrinsicHeight\":\"300\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HubSpotFormGlobal.map"],"mappings":"ySAC4L,SAAS,EAAK,EAAE,EAAM,IAAI,EAAM,IAAK,EAAE,EAAE,EAAE,CAAC,GAAG,EAAE,EAAM,CAAC,QAAQ,MAAM,oBAAoB,EAAE,CAAC,OAAY,GAAG,EAAE,eAAe,CAAC,EAAK,EAAE,EAAM,EAAM,EAAE,EAAE,EAAG,EAAM,CAAG,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