{"version":3,"file":"LazyLoad.M9vt1834.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/aYnAdPf7OaJOsMY0Y7a9/R2iL7chCfXZ7J7s0EwTH/LazyLoad.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";export const withImageLazyLoad=Component=>{return props=>{const containerRef=useRef(null);useEffect(()=>{if(containerRef.current){const img=containerRef.current.querySelector(\"img\");if(img){img.setAttribute(\"loading\",\"lazy\");}}},[]);return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,children:/*#__PURE__*/_jsx(Component,{...props})});};};\nexport const __FramerMetadata__ = {\"exports\":{\"withImageLazyLoad\":{\"type\":\"reactHoc\",\"name\":\"withImageLazyLoad\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LazyLoad.map"],"mappings":"4IAA2C,IAAoC,CAAa,EAAkB,GAAmB,GAAO,CAAC,IAAM,EAAaA,EAAO,KAAK,CAAgJ,OAA/I,MAAc,CAAC,GAAG,EAAa,QAAQ,CAAC,IAAM,EAAI,EAAa,QAAQ,cAAc,MAAM,CAAI,GAAK,EAAI,aAAa,UAAU,OAAO,GAAK,EAAE,CAAC,CAAqB,EAAK,MAAM,CAAC,IAAI,EAAa,SAAsB,EAAK,EAAU,CAAC,GAAG,EAAM,CAAC,CAAC,CAAC"}