{"version":3,"file":"TypeformPreloader.Cc2TCIMn.mjs","names":[],"sources":["https:/framerusercontent.com/modules/6VzlNPNSb0vjUMpY64r3/KHXHFd5jELWYGhZhfxzf/TypeformPreloader.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";export function TypeformPreloader({tfLive}){useEffect(()=>{const existingScript=document.querySelector(\"script[src='https://embed.typeform.com/next/embed.js']\");if(!existingScript){const script=document.createElement(\"script\");script.src=\"https://embed.typeform.com/next/embed.js\";script.async=true;document.body.appendChild(script);}},[]);return /*#__PURE__*/_jsx(\"div\",{\"data-tf-live\":tfLive,style:{position:\"absolute\",width:0,height:0,overflow:\"hidden\",pointerEvents:\"none\",opacity:0}});}addPropertyControls(TypeformPreloader,{tfLive:{type:ControlType.String,title:\"Typeform ID\",defaultValue:\"01JZ3FPP8RDAS2FY62DF4JVH31\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"TypeformPreloader\":{\"type\":\"reactComponent\",\"name\":\"TypeformPreloader\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TypeformPreloader.map"],"mappings":"0KAA4H,SAAgB,EAAkB,CAAC,UAAQ,CAAyS,OAAxS,MAAc,CAAuG,GAAG,CAApF,SAAS,cAAc,yDAAyD,CAAoB,CAAC,IAAM,EAAO,SAAS,cAAc,SAAS,CAAC,EAAO,IAAI,2CAA2C,EAAO,MAAM,GAAK,SAAS,KAAK,YAAY,EAAO,GAAI,EAAE,CAAC,CAAqB,EAAK,MAAM,CAAC,eAAe,EAAO,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,OAAO,EAAE,SAAS,SAAS,cAAc,OAAO,QAAQ,EAAE,CAAC,CAAC,kBAA1jB,IAA6B,IAAoD,CAA2e,EAAoB,EAAkB,CAAC,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,cAAc,aAAa,6BAA6B,CAAC,CAAC"}