{"version":3,"file":"Examples.DucRVkyS.mjs","names":["__legacyOverrideHOC_DataObserverContext"],"sources":["https:/framerusercontent.com/modules/3tfHpIHYEpdEZR0jN3yA/g3HaWcWCQ4sLEWHkX1QC/Examples.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";export function FixOverflow(){useEffect(()=>{// Função que configura overflow do body e elementos específicos\nconst setOverflowStyles=()=>{document.body.style.overflowX=\"hidden\";document.body.style.overflowY=\"visible\";const stickyElements=document.querySelectorAll(\".sticky-element\");stickyElements.forEach(element=>{element.style.overflow=\"visible\";element.style.position=\"sticky\";element.style.top=\"0\";});};setOverflowStyles()// Chama a função ao carregar o override\n;// Adiciona event listener para mudanças no DOM\nconst observer=new MutationObserver(setOverflowStyles);observer.observe(document.body,{attributes:true,childList:true,subtree:true});// Cleanup ao desmontar\nreturn()=>observer.disconnect();},[]);return{};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withFixOverflow(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...FixOverflow(props)});};}withFixOverflow.displayName=\"FixOverflow\";\nexport const __FramerMetadata__ = {\"exports\":{\"withFixOverflow\":{\"type\":\"reactHoc\",\"name\":\"withFixOverflow\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FixOverflow\":{\"type\":\"override\",\"name\":\"FixOverflow\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Examples.map"],"mappings":"yPAAwE,SAAgB,GAAa,CAI/D,MAJgE,GAAU,IAAI,CACpH,IAAM,EAAkB,IAAI,CAAwC,AAAvC,SAAS,KAAK,MAAM,UAAU,SAAS,SAAS,KAAK,MAAM,UAAU,UAAU,IAAM,EAAe,SAAS,iBAAiB,kBAAkB,CAAC,EAAe,QAAQ,GAAS,CAAkE,AAAjE,EAAQ,MAAM,SAAS,UAAU,EAAQ,MAAM,SAAS,SAAS,EAAQ,MAAM,IAAI,GAAK,EAAC,AAAE,EAAC,GAAmB,CAE9T,IAAM,EAAS,IAAI,iBAAiB,GACpC,MADuD,GAAS,QAAQ,SAAS,KAAK,CAAC,YAAW,EAAK,WAAU,EAAK,SAAQ,CAAK,EAAC,CAC9H,IAAI,EAAS,YAAY,AAAE,EAAC,CAAE,EAAC,CAAO,CAAE,CAAE,CAAmJ,SAAgB,EAAgB,EAAE,CAAC,MAAO,CAAA,IAAQ,EAA+BA,EAAwC,CAAQ,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAY,EAAM,AAAC,EAAC,CAAI,cAAA,AAJhX,GAA2C,IAA6B,CAIwC,GAAmF,CAA6K,EAAgB,YAAY"}