{"version":3,"file":"RevenueHero_Code.CBTOwpj9.mjs","names":[],"sources":["https:/framerusercontent.com/modules/Kdv4DBl2EWI6Vp2xOX5v/Vk1XNStjHju5eE4F2rVV/RevenueHero_Code.js"],"sourcesContent":["// Welcome to Code in Framer\n// Get Started: https://www.framer.com/developers\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";export default function RHScheduler(props){useEffect(()=>{const rhScript=document.createElement(\"script\");rhScript.src=\"https://assets.revenuehero.io/scheduler.min.js\";rhScript.onload=()=>{const hero=new RevenueHero({routerId:props.routerId});hero.schedule(props.formId);};document.body.appendChild(rhScript);return()=>{document.body.removeChild(rhScript);};},[]);// Dummy return to treat it as a component\nreturn /*#__PURE__*/_jsx(\"p\",{});}addPropertyControls(RHScheduler,{routerId:{title:\"Router ID\",type:ControlType.String},formId:{title:\"Form ID\",type:ControlType.String}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"RHScheduler\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./RevenueHero_Code.map"],"mappings":"2KAE4H,SAAwB,EAAY,EAAM,CACtK,OADuK,MAAc,CAAC,IAAM,EAAS,SAAS,cAAc,QAAQ,EAA6M,MAA3M,GAAS,IAAI,iDAAiD,EAAS,WAAW,CAAuD,IAAvC,YAAY,CAAC,SAAS,EAAM,QAAQ,CAAM,CAAC,CAAC,SAAS,EAAM,MAAM,CAAE,EAAE,SAAS,KAAK,YAAY,CAAQ,MAAY,CAAC,SAAS,KAAK,YAAY,CAAQ,CAAE,CAAE,EAAE,CAAC,CAAC,EACld,EAAK,IAAI,CAAC,CAAC,CAAE,iBADS,IAA6B,IAAoD,EACzF,EAAoB,EAAY,CAAC,SAAS,CAAC,MAAM,YAAY,KAAK,EAAY,MAAM,EAAE,OAAO,CAAC,MAAM,UAAU,KAAK,EAAY,MAAM,CAAC,CAAC"}