{"version":3,"file":"ActiveCampaignForm.C03eQaNS.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/sqBUWh6jvjBkNr3yLyop/yaDiyMbmtzO6KYYVZREM/ActiveCampaignForm.js"],"sourcesContent":["// Embed ActiveCampaign Form 228\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * ActiveCampaign Form 228 Embed\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function ActiveCampaignForm(props){const containerRef=useRef(null);useEffect(()=>{if(typeof window!==\"undefined\"&&containerRef.current){// Prevent duplicate script injection\nif(!document.querySelector('script[src=\"https://emolifenl.activehosted.com/f/embed.php?id=228\"]')){const script=document.createElement(\"script\");script.src=\"https://emolifenl.activehosted.com/f/embed.php?id=228\";script.charset=\"utf-8\";script.async=true;containerRef.current.appendChild(script);}}},[]);return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{...props.style,width:\"100%\",minHeight:100,position:\"relative\",background:props.background,borderRadius:props.borderRadius,overflow:\"hidden\",display:\"block\"},children:/*#__PURE__*/_jsx(\"div\",{className:\"_form_228\"})});}addPropertyControls(ActiveCampaignForm,{background:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FFFFFF\"},borderRadius:{type:ControlType.Number,title:\"Radius\",defaultValue:8,min:0,max:32}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ActiveCampaignForm\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ActiveCampaignForm.map"],"mappings":"+LAMG,SAAwB,EAAmB,EAAM,CAAC,IAAM,EAAaA,EAAO,KAAK,CAC0N,OADzN,MAAc,CAAC,GAAU,IAAS,QAAa,EAAa,SAC9I,CAAC,SAAS,cAAc,sEAAsE,CAAC,CAAC,IAAM,EAAO,SAAS,cAAc,SAAS,CAAC,EAAO,IAAI,wDAAwD,EAAO,QAAQ,QAAQ,EAAO,MAAM,GAAK,EAAa,QAAQ,YAAY,EAAO,GAAK,EAAE,CAAC,CAAqB,EAAK,MAAM,CAAC,IAAI,EAAa,MAAM,CAAC,GAAG,EAAM,MAAM,MAAM,OAAO,UAAU,IAAI,SAAS,WAAW,WAAW,EAAM,WAAW,aAAa,EAAM,aAAa,SAAS,SAAS,QAAQ,QAAQ,CAAC,SAAsB,EAAK,MAAM,CAAC,UAAU,YAAY,CAAC,CAAC,CAAC,sBANnhB,IAAoC,IAAoD,CAM6b,EAAoB,EAAmB,CAAC,WAAW,CAAC,KAAK,EAAY,MAAM,MAAM,aAAa,aAAa,UAAU,CAAC,aAAa,CAAC,KAAK,EAAY,OAAO,MAAM,SAAS,aAAa,EAAE,IAAI,EAAE,IAAI,GAAG,CAAC,CAAC"}