{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/qGjLm63DnnflnlLHnTjg/wn8TsJtMTab20WYu10Nq/HotmartScript.js"],
  "sourcesContent": ["/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";export default function HotmartScript(props){useEffect(()=>{// Carrega o script da Hotmart dinamicamente\nconst script=document.createElement(\"script\");script.src=\"https://checkout.hotmart.com/lib/hotmart-checkout-elements.js\";script.async=true;// Adiciona o script ao head\ndocument.head.appendChild(script);// Monta o widget ap\u00F3s o script carregar\nscript.onload=()=>{// @ts-ignore\nif(window.checkoutElements){// @ts-ignore\nwindow.checkoutElements.init(\"salesFunnel\").mount(\"#hotmart-sales-funnel\");}};// Remove o script ao desmontar o componente\nreturn()=>{document.head.removeChild(script);};},[]);return /*#__PURE__*/_jsx(\"div\",{style:containerStyle,children:/*#__PURE__*/_jsx(\"div\",{id:\"hotmart-sales-funnel\",style:{width:\"100%\",height:\"100%\"}})});}// Estilo do cont\u00EAiner principal\nconst containerStyle={height:\"100%\",width:\"100%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\"};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HotmartScript\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HotmartScript.map"],
  "mappings": "yFAG0F,SAARA,EAA+BC,EAAM,CAAC,OAAAC,EAAU,IAAI,CACtI,IAAMC,EAAO,SAAS,cAAc,QAAQ,EAAE,OAAAA,EAAO,IAAI,gEAAgEA,EAAO,MAAM,GACtI,SAAS,KAAK,YAAYA,CAAM,EAChCA,EAAO,OAAO,IAAI,CACfC,EAAO,kBACVA,EAAO,iBAAiB,KAAK,aAAa,EAAE,MAAM,uBAAuB,CAAG,EACtE,IAAI,CAAC,SAAS,KAAK,YAAYD,CAAM,CAAE,CAAE,EAAE,CAAC,CAAC,EAAsBE,EAAK,MAAM,CAAC,MAAMC,EAAe,SAAsBD,EAAK,MAAM,CAAC,GAAG,uBAAuB,MAAM,CAAC,MAAM,OAAO,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC,CAAE,CAC7M,IAAMC,EAAe,CAAC,OAAO,OAAO,MAAM,OAAO,QAAQ,OAAO,eAAe,SAAS,WAAW,QAAQ",
  "names": ["HotmartScript", "props", "ue", "script", "window", "p", "containerStyle"]
}
