{"version":3,"file":"Revenue_Hero_Scheduler.DNetNcCL.mjs","names":[],"sources":["https:/framerusercontent.com/modules/gn2BHQuHDTICWkTQNJtd/bqOcapR4XED9Omw3VT0C/Revenue_Hero_Scheduler.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://app.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=./Revenue_Hero_Scheduler.map"],"mappings":"0KAE4H,SAAwB,EAAY,EAAM,CACtK,OADuK,MAAc,CAAC,IAAM,EAAS,SAAS,cAAc,SAAS,CAAyM,MAAxM,GAAS,IAAI,8CAA8C,EAAS,WAAW,CAAY,IAAI,YAAY,CAAC,SAAS,EAAM,SAAS,CAAC,CAAM,SAAS,EAAM,OAAO,EAAG,SAAS,KAAK,YAAY,EAAS,KAAW,CAAC,SAAS,KAAK,YAAY,EAAS,GAAK,EAAE,CAAC,CAChd,EAAK,IAAI,EAAE,CAAC,kBADW,IAA6B,IAAoD,CAC1F,EAAoB,EAAY,CAAC,SAAS,CAAC,MAAM,YAAY,KAAK,EAAY,OAAO,CAAC,OAAO,CAAC,MAAM,UAAU,KAAK,EAAY,OAAO,CAAC,CAAC"}