{"version":3,"file":"EmbeddedSignupForm.pbL3AXfl.mjs","names":[],"sources":["https:/framerusercontent.com/modules/jlUhcsE1UXzw0atg6bnm/ZgptR7EWCNT4T7t4Gufy/EmbeddedSignupForm.js"],"sourcesContent":["/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/developers/#code-components-auto-sizing\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import\"https://cdn.jsdelivr.net/npm/iframe-resizer@4.3.7/js/iframeResizer.min.js\";export default function SignupFormComponent(props){const elementId=`frame-${props.id}`;const frameUrl=new URL(\"/signup/form\",props.baseUrl);if(typeof document!==\"undefined\"){const currentUrl=new URL(document.location.href);currentUrl.searchParams.forEach((value,key)=>{frameUrl.searchParams.append(key,value);});}frameUrl.searchParams.append(\"iframe\",\"true\");const onLoad=()=>{iFrameResize({log:RenderTarget.current!==RenderTarget.export},`#${elementId}`);};return /*#__PURE__*/_jsx(\"iframe\",{style:iframeStyle,src:frameUrl.toString(),onLoad:onLoad,id:elementId});}const iframeStyle={minWidth:\"100%\",width:\"1px\",minHeight:\"700px\",border:0,backgroundColor:\"transparent\"};SignupFormComponent.defaultProps={baseUrl:\"https://local-dev.single.dk/\"};addPropertyControls(SignupFormComponent,{baseUrl:{type:ControlType.String}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SignupFormComponent\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./EmbeddedSignupForm.map"],"mappings":"wNAMiM,SAAwB,EAAoB,EAAM,CAAC,IAAM,EAAU,SAAS,EAAM,KAAW,EAAS,IAAI,IAAI,eAAe,EAAM,OAAO,EAAgU,OAA3T,OAAO,SAAW,KAA8D,IAA5B,IAAI,SAAS,SAAS,IAAe,CAAC,CAAC,aAAa,SAAS,EAAM,IAAM,CAAC,EAAS,aAAa,OAAO,EAAI,CAAK,CAAE,CAAC,EAAG,EAAS,aAAa,OAAO,SAAS,MAAM,EAAyH,EAAK,SAAS,CAAC,MAAM,EAAY,IAAI,EAAS,SAAS,EAAS,WAAtK,CAAC,aAAa,CAAC,IAAI,EAAa,UAAU,EAAa,MAAM,EAAE,IAAI,GAAW,CAAE,EAA6F,GAAG,CAAS,CAAC,CAAE,mBAAxsB,IAAiE,MAA8oB,EAAY,CAAC,SAAS,OAAO,MAAM,MAAM,UAAU,QAAQ,OAAO,EAAE,gBAAgB,aAAa,EAAE,EAAoB,aAAa,CAAC,QAAQ,8BAA8B,EAAE,EAAoB,EAAoB,CAAC,QAAQ,CAAC,KAAK,EAAY,MAAM,CAAC,CAAC"}