{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/PLoUQ8PomdfPHYSjCoS7/KIsfZwVJx8dfktK5HRQF/ovhQmGMC0.js", "ssg:https://framerusercontent.com/modules/uGQZtcsxBzvxqsgxQ0Tz/b7VYVaGCWWNyhqVsgsiv/Hubspot.js"],
  "sourcesContent": ["// Generated by Framer (66c1c8d)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,ComponentViewportProvider,Container,cx,GeneratedComponentContext,getFonts,getFontsFromSharedStyle,PropertyOverrides,RichText,useComponentViewport,useCustomCursors,useHydratedBreakpointVariants,useIsOnFramerCanvas,useLocaleInfo,withCSS,withVariantAppearEffect}from\"framer\";import{LayoutGroup,motion}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import HubSpotForm from\"https://framerusercontent.com/modules/uGQZtcsxBzvxqsgxQ0Tz/b7VYVaGCWWNyhqVsgsiv/Hubspot.js\";import SectionFooter from\"#framer/local/canvasComponent/F08ZtgNgK/F08ZtgNgK.js\";import NavbarComplexFixedWidth from\"#framer/local/canvasComponent/tjW6CHHTi/tjW6CHHTi.js\";import*as sharedStyle1 from\"#framer/local/css/bHH7nlzrA/bHH7nlzrA.js\";import*as sharedStyle from\"#framer/local/css/NPmbljD3h/NPmbljD3h.js\";import metadataProvider from\"#framer/local/webPageMetadata/ovhQmGMC0/ovhQmGMC0.js\";const HubSpotFormFonts=getFonts(HubSpotForm);const SectionFooterFonts=getFonts(SectionFooter);const NavbarComplexFixedWidthFonts=getFonts(NavbarComplexFixedWidth);const NavbarComplexFixedWidthWithVariantAppearEffect=withVariantAppearEffect(NavbarComplexFixedWidth);const breakpoints={SV2tIWB5R:\"(min-width: 810px) and (max-width: 999px)\",SxtQuJOb2:\"(min-width: 1000px)\",xML1UIUuK:\"(max-width: 809px)\"};const isBrowser=()=>typeof document!==\"undefined\";const serializationHash=\"framer-LEp9A\";const variantClassNames={SV2tIWB5R:\"framer-v-theo2t\",SxtQuJOb2:\"framer-v-4t9ms\",xML1UIUuK:\"framer-v-1nhjm67\"};const transformTemplate1=(_,t)=>`translateX(-50%) ${t}`;const HTMLStyle=({value})=>{const onCanvas=useIsOnFramerCanvas();if(onCanvas)return null;return /*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:value},\"data-framer-html-style\":\"\"});};const humanReadableVariantMap={Desktop:\"SxtQuJOb2\",Phone:\"xML1UIUuK\",Tablet:\"SV2tIWB5R\"};const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"SxtQuJOb2\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,...restProps}=getProps(props);React.useEffect(()=>{const metadata=metadataProvider(undefined,activeLocale);if(metadata.robots){let robotsTag=document.querySelector('meta[name=\"robots\"]');if(robotsTag){robotsTag.setAttribute(\"content\",metadata.robots);}else{robotsTag=document.createElement(\"meta\");robotsTag.setAttribute(\"name\",\"robots\");robotsTag.setAttribute(\"content\",metadata.robots);document.head.appendChild(robotsTag);}}},[undefined,activeLocale]);React.useInsertionEffect(()=>{const metadata=metadataProvider(undefined,activeLocale);document.title=metadata.title||\"\";if(metadata.viewport){document.querySelector('meta[name=\"viewport\"]')?.setAttribute(\"content\",metadata.viewport);}},[undefined,activeLocale]);const[baseVariant,hydratedBaseVariant]=useHydratedBreakpointVariants(variant,breakpoints,false);const gestureVariant=undefined;const sharedStyleClassNames=[sharedStyle.className,sharedStyle1.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);useCustomCursors({});return /*#__PURE__*/_jsx(GeneratedComponentContext.Provider,{value:{primaryVariantId:\"SxtQuJOb2\",variantClassNames},children:/*#__PURE__*/_jsxs(LayoutGroup,{id:layoutId??defaultLayoutId,children:[/*#__PURE__*/_jsx(HTMLStyle,{value:\"html body { background: var(--token-70aac566-01ef-4793-b172-f614e217462f, rgb(255, 255, 255)); }\"}),/*#__PURE__*/_jsxs(motion.div,{...restProps,className:cx(scopingClassNames,\"framer-4t9ms\",className),ref:refBinding,style:{...style},children:[/*#__PURE__*/_jsx(\"nav\",{className:\"framer-p2i5xi\",\"data-framer-name\":\"Blank top space\"}),/*#__PURE__*/_jsxs(\"div\",{className:\"framer-gq3ye3\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(\"h1\",{className:\"framer-styles-preset-7ud7l8\",\"data-styles-preset\":\"NPmbljD3h\",children:\"Apply to become a Dispel partner\"})}),className:\"framer-1ga4km4\",fonts:[\"Inter\"],verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsxs(React.Fragment,{children:[/*#__PURE__*/_jsx(\"p\",{className:\"framer-styles-preset-esge6j\",\"data-styles-preset\":\"bHH7nlzrA\",style:{\"--framer-text-alignment\":\"left\"},children:\"Thank you for your interest in becoming a new Dispel Partner. Please complete the following form and our Partner Team will be in touch.\"}),/*#__PURE__*/_jsx(\"p\",{className:\"framer-styles-preset-esge6j\",\"data-styles-preset\":\"bHH7nlzrA\",style:{\"--framer-text-alignment\":\"left\"},children:\"Please note that we will only consider complete applications. Once you submit your application to the program, we will review it and determine if you are a good fit. If you meet the requirements, we will let you know.\"})]}),className:\"framer-s8zpw2\",fonts:[\"Inter\"],verticalAlignment:\"top\",withExternalLayout:true})]}),/*#__PURE__*/_jsx(\"div\",{className:\"framer-1n02lb8\",children:/*#__PURE__*/_jsx(\"div\",{className:\"framer-1cy30mv\",\"data-framer-name\":\"Form\",\"data-hide-scrollbars\":true,children:/*#__PURE__*/_jsx(\"div\",{className:\"framer-1ro9vtt\",children:/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(Container,{className:\"framer-1l59543-container\",isAuthoredByUser:true,isModuleExternal:true,nodeId:\"ahMc1pfTP\",scopeId:\"ovhQmGMC0\",children:/*#__PURE__*/_jsx(HubSpotForm,{advanced:false,formId:\"4c1375ea-e8db-457a-ae97-efa207a12874\",height:\"100%\",id:\"ahMc1pfTP\",layoutId:\"ahMc1pfTP\",portalId:\"23426120\",region:\"eu1\",style:{height:\"100%\",maxWidth:\"100%\",width:\"100%\"},width:\"100%\"})})})})})}),/*#__PURE__*/_jsx(PropertyOverrides,{breakpoint:baseVariant,overrides:{SV2tIWB5R:{y:(componentViewport?.y||0)+0+2004},xML1UIUuK:{y:(componentViewport?.y||0)+0+1979}},children:/*#__PURE__*/_jsx(ComponentViewportProvider,{height:996,width:componentViewport?.width||\"100vw\",y:(componentViewport?.y||0)+0+2042,children:/*#__PURE__*/_jsx(Container,{className:\"framer-4b77a6-container\",nodeId:\"YpZg2DweT\",scopeId:\"ovhQmGMC0\",children:/*#__PURE__*/_jsx(PropertyOverrides,{breakpoint:baseVariant,overrides:{xML1UIUuK:{variant:\"ljCxK5yEp\"}},children:/*#__PURE__*/_jsx(SectionFooter,{height:\"100%\",id:\"YpZg2DweT\",layoutId:\"YpZg2DweT\",style:{width:\"100%\"},variant:\"OSxLwqUjn\",width:\"100%\"})})})})}),/*#__PURE__*/_jsx(ComponentViewportProvider,{height:55,width:\"100vw\",y:0,children:/*#__PURE__*/_jsx(Container,{className:\"framer-1u69zm-container\",layoutScroll:true,nodeId:\"g1mEQQvgq\",rendersWithMotion:true,scopeId:\"ovhQmGMC0\",transformTemplate:transformTemplate1,children:/*#__PURE__*/_jsx(PropertyOverrides,{breakpoint:baseVariant,overrides:{SV2tIWB5R:{__framer__variantAppearEffectEnabled:undefined,variant:\"zlxHCZcvG\"},xML1UIUuK:{__framer__variantAppearEffectEnabled:undefined,variant:\"IkoWI0DKq\"}},children:/*#__PURE__*/_jsx(NavbarComplexFixedWidthWithVariantAppearEffect,{__framer__animateOnce:false,__framer__scrollDirection:{direction:\"down\",target:\"pee6AaDSj\"},__framer__threshold:.5,__framer__variantAppearEffectEnabled:true,height:\"100%\",id:\"g1mEQQvgq\",layoutId:\"g1mEQQvgq\",style:{width:\"100%\"},variant:\"sWtnQ6v_7\",width:\"100%\"})})})})]}),/*#__PURE__*/_jsx(\"div\",{id:\"overlay\"})]})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-LEp9A.framer-1c3mlbq, .framer-LEp9A .framer-1c3mlbq { display: block; }\",\".framer-LEp9A.framer-4t9ms { align-content: center; align-items: center; background-color: var(--token-70aac566-01ef-4793-b172-f614e217462f, #ffffff); display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: flex-start; overflow: hidden; padding: 0px; position: relative; width: 1000px; }\",\".framer-LEp9A .framer-p2i5xi { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 167px; height: 122px; justify-content: center; overflow: visible; padding: 0px 32px 0px 32px; position: relative; width: 100%; }\",\".framer-LEp9A .framer-gq3ye3 { align-content: flex-start; align-items: flex-start; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 21px; height: min-content; justify-content: center; max-width: 1228px; overflow: hidden; padding: 0px 50px 0px 50px; position: relative; width: 100%; }\",\".framer-LEp9A .framer-1ga4km4 { --framer-link-text-color: #0099ff; --framer-link-text-decoration: underline; flex: none; height: auto; position: relative; white-space: pre-wrap; width: 100%; word-break: break-word; word-wrap: break-word; }\",\".framer-LEp9A .framer-s8zpw2 { --framer-link-text-color: #0099ff; --framer-link-text-decoration: underline; flex: none; height: auto; max-width: 800px; position: relative; white-space: pre-wrap; width: 100%; word-break: break-word; word-wrap: break-word; }\",\".framer-LEp9A .framer-1n02lb8 { align-content: flex-start; align-items: flex-start; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 40px; height: min-content; justify-content: center; max-width: 1228px; overflow: hidden; padding: 25px 50px 100px 50px; position: relative; width: 100%; z-index: 1; }\",\".framer-LEp9A .framer-1cy30mv { align-content: flex-start; align-items: flex-start; display: flex; flex: 1 0 0px; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: 1449px; justify-content: flex-start; overflow: visible; padding: 0px; position: relative; width: 1px; }\",\".framer-LEp9A .framer-1ro9vtt { align-content: flex-start; align-items: flex-start; background-color: #0f0f0f; border-bottom-left-radius: 7px; border-bottom-right-radius: 7px; border-top-left-radius: 7px; border-top-right-radius: 7px; box-shadow: inset 0px 1px 2px 0px rgba(255, 255, 255, 0.25), 0px 0.6021873017743928px 0.6021873017743928px -1.25px rgba(0, 0, 0, 0.17997), 0px 2.288533303243457px 2.288533303243457px -2.5px rgba(0, 0, 0, 0.15889), 0px 10px 10px -3.75px rgba(0, 0, 0, 0.0625); display: flex; flex: 1 0 0px; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 1px; justify-content: center; max-width: 800px; overflow: visible; padding: 30px; position: relative; width: 100%; }\",\".framer-LEp9A .framer-1l59543-container { flex: none; height: 1298px; max-width: 800px; position: relative; width: 100%; }\",\".framer-LEp9A .framer-4b77a6-container { flex: none; height: auto; position: relative; width: 100%; z-index: 1; }\",\".framer-LEp9A .framer-1u69zm-container { flex: none; height: auto; left: 50%; position: fixed; top: 0px; transform: translateX(-50%); width: 100%; z-index: 10; }\",\"@supports (background: -webkit-named-image(i)) and (not (scale:1)) { .framer-LEp9A.framer-4t9ms, .framer-LEp9A .framer-p2i5xi, .framer-LEp9A .framer-gq3ye3, .framer-LEp9A .framer-1n02lb8, .framer-LEp9A .framer-1cy30mv, .framer-LEp9A .framer-1ro9vtt { gap: 0px; } .framer-LEp9A.framer-4t9ms > *, .framer-LEp9A .framer-1cy30mv > * { margin: 0px; margin-bottom: calc(0px / 2); margin-top: calc(0px / 2); } .framer-LEp9A.framer-4t9ms > :first-child, .framer-LEp9A .framer-gq3ye3 > :first-child, .framer-LEp9A .framer-1cy30mv > :first-child { margin-top: 0px; } .framer-LEp9A.framer-4t9ms > :last-child, .framer-LEp9A .framer-gq3ye3 > :last-child, .framer-LEp9A .framer-1cy30mv > :last-child { margin-bottom: 0px; } .framer-LEp9A .framer-p2i5xi > * { margin: 0px; margin-left: calc(167px / 2); margin-right: calc(167px / 2); } .framer-LEp9A .framer-p2i5xi > :first-child, .framer-LEp9A .framer-1n02lb8 > :first-child, .framer-LEp9A .framer-1ro9vtt > :first-child { margin-left: 0px; } .framer-LEp9A .framer-p2i5xi > :last-child, .framer-LEp9A .framer-1n02lb8 > :last-child, .framer-LEp9A .framer-1ro9vtt > :last-child { margin-right: 0px; } .framer-LEp9A .framer-gq3ye3 > * { margin: 0px; margin-bottom: calc(21px / 2); margin-top: calc(21px / 2); } .framer-LEp9A .framer-1n02lb8 > * { margin: 0px; margin-left: calc(40px / 2); margin-right: calc(40px / 2); } .framer-LEp9A .framer-1ro9vtt > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } }\",...sharedStyle.css,...sharedStyle1.css,'.framer-LEp9A[data-hide-scrollbars=\"true\"]::-webkit-scrollbar, .framer-LEp9A [data-hide-scrollbars=\"true\"]::-webkit-scrollbar { width: 0px; height: 0px; }','.framer-LEp9A[data-hide-scrollbars=\"true\"]::-webkit-scrollbar-thumb, .framer-LEp9A [data-hide-scrollbars=\"true\"]::-webkit-scrollbar-thumb { background: transparent; }','.framer-LEp9A[data-hide-scrollbars=\"true\"], .framer-LEp9A [data-hide-scrollbars=\"true\"] { scrollbar-width: none; }',\"@media (min-width: 810px) and (max-width: 999px) { .framer-LEp9A.framer-4t9ms { width: 810px; } .framer-LEp9A .framer-p2i5xi { height: 84px; } .framer-LEp9A .framer-1u69zm-container { z-index: 2; }}\",\"@media (max-width: 809px) { .framer-LEp9A.framer-4t9ms { width: 390px; } .framer-LEp9A .framer-p2i5xi { height: 84px; } .framer-LEp9A .framer-gq3ye3 { padding: 0px 20px 0px 20px; } .framer-LEp9A .framer-1n02lb8 { flex-direction: column; padding: 50px 20px 50px 20px; } .framer-LEp9A .framer-1cy30mv { flex: none; width: 100%; } .framer-LEp9A .framer-1u69zm-container { z-index: 2; } @supports (background: -webkit-named-image(i)) and (not (scale:1)) { .framer-LEp9A .framer-1n02lb8 { gap: 0px; } .framer-LEp9A .framer-1n02lb8 > * { margin: 0px; margin-bottom: calc(40px / 2); margin-top: calc(40px / 2); } .framer-LEp9A .framer-1n02lb8 > :first-child { margin-top: 0px; } .framer-LEp9A .framer-1n02lb8 > :last-child { margin-bottom: 0px; } }}\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 2907\n * @framerIntrinsicWidth 1000\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"SV2tIWB5R\":{\"layout\":[\"fixed\",\"auto\"]},\"xML1UIUuK\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n * @framerAcceptsLayoutTemplate true\n * @framerScrollSections\n * @framerResponsiveScreen\n */const FramerovhQmGMC0=withCSS(Component,css,\"framer-LEp9A\");export default FramerovhQmGMC0;FramerovhQmGMC0.displayName=\"Contact Us\";FramerovhQmGMC0.defaultProps={height:2907,width:1e3};addFonts(FramerovhQmGMC0,[{explicitInter:true,fonts:[{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/vQyevYAyHtARFwPqUzQGpnDs.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"}]},...HubSpotFormFonts,...SectionFooterFonts,...NavbarComplexFixedWidthFonts,...getFontsFromSharedStyle(sharedStyle.fonts),...getFontsFromSharedStyle(sharedStyle1.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerovhQmGMC0\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"SV2tIWB5R\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"xML1UIUuK\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicHeight\":\"2907\",\"framerContractVersion\":\"1\",\"framerAcceptsLayoutTemplate\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerScrollSections\":\"* @framerResponsiveScreen\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicWidth\":\"1000\",\"framerComponentViewportWidth\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}", "import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{emptyStateStyle,stateParagraphStyle,stateTitleStyle}from\"https://framer.com/m/framer/integrations-styles.js@0.2.0\";// Poll for 5 minutes ...\nfunction poll(f,delay=200,count=5*60*5,i=0){if(i>count){console.error(\"poll max attempts\",f);return;}if(!f()){console.log(\"poll\",delay,count,i);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 fixed\n */export default function HubSpotForm({portalId,formId,advanced,region,id}){if(!portalId||!formId||!region){return /*#__PURE__*/_jsx(EmptyState,{title:\"Hubspot\",description:\"Set a portal ID and form in the Properties.\"});}// const ref = React.createRef<HTMLDivElement>()\nconst elementId=`hubspot_form_${id}`;const cleanup=()=>{const element=document.querySelector(`#${elementId}`);if(element)element.innerHTML=\"\";};React.useEffect(()=>{if(window.hbspt){handleScriptLoad();return cleanup;}const script=document.createElement(\"script\");script.src=`https://js-${region}.hsforms.net/forms/shell.js`;script.onload=handleScriptLoad();document.body.appendChild(script);return cleanup;},[portalId,formId,region]);const handleScriptLoad=()=>{console.log(\"Loading HubSpot form...\",portalId);poll(()=>{if(!window.hbspt){console.warn(`HubSpot could not be loaded: window.hbspt is missing`);return false;}if(!document.querySelector(`#${elementId}`)){console.warn(`HubSpot could not be loaded: element not found #${elementId}`);return false;}cleanup();window.hbspt.forms.create({region,portalId,formId,target:`#${elementId}`,formInstanceId:formId});return true;});};return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\"},id:elementId});}addPropertyControls(HubSpotForm,{portalId:{title:\"Portal\",type:ControlType.String,placeholder:\"25276298\",// defaultValue: \"25276298\",\ndescription:\"Create a [Hubspot](https://www.hubspot.com/) account, add a new form and copy your portal ID. [Learn more\u2026](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}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HubSpotForm\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"300\",\"framerIntrinsicWidth\":\"480\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Hubspot.map"],
  "mappings": "kgCAAAA,ICAAC,IACA,SAASC,GAAKC,EAAEC,EAAM,IAAIC,EAAM,EAAE,GAAG,EAAEC,EAAE,EAAE,CAAC,GAAGA,EAAED,EAAM,CAAC,QAAQ,MAAM,oBAAoBF,CAAC,EAAE,OAAYA,EAAE,IAA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OAAO,KAAK,EAAE,CAAC,OAAO,QAAQ,OAAO,SAAS,MAAM,SAAS,aAAa,oGAAoG,IAAI,wEAAwE,OAAO,KAAK,CAAC,CAAC,EAAE,GAAGI,GAAiB,GAAGC,GAAmB,GAAGC,GAA6B,GAAGC,EAAoCC,CAAK,EAAE,GAAGD,EAAqCC,CAAK,CAAC,EAAE,CAAC,6BAA6B,EAAI,CAAC,EACv9D,IAAMC,GAAqB,CAAC,QAAU,CAAC,QAAU,CAAC,KAAO,iBAAiB,KAAO,kBAAkB,MAAQ,CAAC,EAAE,YAAc,CAAC,oCAAsC,4JAA0L,sBAAwB,OAAO,sBAAwB,IAAI,4BAA8B,OAAO,yBAA2B,QAAQ,qBAAuB,4BAA4B,yBAA2B,OAAO,qBAAuB,OAAO,6BAA+B,MAAM,CAAC,EAAE,MAAQ,CAAC,KAAO,SAAS,YAAc,CAAC,sBAAwB,GAAG,CAAC,EAAE,mBAAqB,CAAC,KAAO,UAAU,CAAC,CAAC",
  "names": ["init_ssg_sandbox_shims", "init_ssg_sandbox_shims", "poll", "f", "delay", "count", "i", "EmptyState", "title", "description", "u", "emptyStateStyle", "p", "stateTitleStyle", "stateParagraphStyle", "HubSpotForm", "portalId", "formId", "advanced", "region", "id", "elementId", "cleanup", "element", "ue", "handleScriptLoad", "script", "addPropertyControls", "ControlType", "HubSpotFormFonts", "getFonts", "HubSpotForm", "SectionFooterFonts", "F08ZtgNgK_default", "NavbarComplexFixedWidthFonts", "tjW6CHHTi_default", "NavbarComplexFixedWidthWithVariantAppearEffect", "withVariantAppearEffect", "breakpoints", "serializationHash", "variantClassNames", "transformTemplate1", "_", "HTMLStyle", "value", "useIsOnFramerCanvas", "p", "humanReadableVariantMap", "getProps", "height", "id", "width", "props", "Component", "Y", "ref", "fallbackRef", "pe", "refBinding", "defaultLayoutId", "ae", "activeLocale", "setLocale", "useLocaleInfo", "componentViewport", "useComponentViewport", "style", "className", "layoutId", "variant", "restProps", "ue", "metadata", "robotsTag", "ie", "baseVariant", "hydratedBaseVariant", "useHydratedBreakpointVariants", "breakpoints", "gestureVariant", "scopingClassNames", "cx", "useCustomCursors", "GeneratedComponentContext", "u", "LayoutGroup", "motion", "RichText2", "x", "ComponentViewportProvider", "Container", "HubSpotForm", "PropertyOverrides2", "F08ZtgNgK_default", "NavbarComplexFixedWidthWithVariantAppearEffect", "css", "FramerovhQmGMC0", "withCSS", "ovhQmGMC0_default", "addFonts", "HubSpotFormFonts", "SectionFooterFonts", "NavbarComplexFixedWidthFonts", "getFontsFromSharedStyle", "fonts", "__FramerMetadata__"]
}
