{"version":3,"file":"Performance.CcuWL9B2.mjs","names":["useState","useRef"],"sources":["https:/framerusercontent.com/modules/VCz0iVQa6irpeJbM82Pe/hsPH2GsE7XHfOpNSZazl/LazyLoad.js","https:/framerusercontent.com/modules/KoSvyWn74DzjFpKql7hT/OI1kzVRY2nDlxkpZJ8pc/Performance.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useEffect,useRef}from\"react\";export function withScrollReveal(Component){return props=>{const[isVisible,setIsVisible]=useState(false);const ref=useRef(null);useEffect(()=>{const observer=new IntersectionObserver(([entry])=>{// When the component enters the screen, render it\nif(entry.isIntersecting){setIsVisible(true);observer.disconnect()// Stop observing once loaded\n;}},{rootMargin:\"200px\"}// Starts loading slightly before they reach it\n);if(ref.current){observer.observe(ref.current);}return()=>{if(ref.current)observer.disconnect();};},[]);return /*#__PURE__*/_jsx(\"div\",{ref:ref,style:{width:\"100%\",height:\"100%\"},children:isVisible?/*#__PURE__*/_jsx(Component,{...props}):null});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withScrollReveal\":{\"type\":\"reactHoc\",\"name\":\"withScrollReveal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LazyLoad.map","import{jsx as _jsx}from\"react/jsx-runtime\";export function withHighPriority(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,background:{...props.background,fetchPriority:\"high\"}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withHighPriority\":{\"type\":\"reactHoc\",\"name\":\"withHighPriority\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Performance.map"],"mappings":"gIAAwF,SAAgB,EAAiB,EAAU,CAAC,MAAO,IAAO,CAAC,GAAK,CAAC,EAAU,GAAcA,EAAS,GAAM,CAAO,EAAIC,EAAO,KAAK,CAG9G,OAH+G,MAAc,CAAC,IAAM,EAAS,IAAI,sBAAsB,CAAC,KAAS,CACvR,EAAM,iBAAgB,EAAa,GAAK,CAAC,EAAS,YAAY,GAC7D,CAAC,WAAW,QAAQ,CACvB,CAAgD,OAA5C,EAAI,SAAS,EAAS,QAAQ,EAAI,QAAQ,KAAY,CAAI,EAAI,SAAQ,EAAS,YAAY,GAAK,EAAE,CAAC,CAAqB,EAAK,MAAM,CAAK,MAAI,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,CAAC,SAAS,EAAuB,EAAK,EAAU,CAAC,GAAG,EAAM,CAAC,CAAC,KAAK,CAAC,mBAH1M,IAA6C,ICA7C,SAAgB,EAAiB,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,WAAW,CAAC,GAAG,EAAM,WAAW,cAAc,OAAO,CAAC,CAAC,kBAA/J"}