import{r as i,j as c,Q as o}from"./index-ea7817a2.js";const u=(s,e)=>{const r=i.useRef();return i.useEffect(()=>{const t=new IntersectionObserver(([n])=>{n.isIntersecting&&e(n.isIntersecting)},{rootMargin:s});return r!=null&&r.current&&t.observe(r.current),()=>{r!=null&&r.current&&t.disconnect()}},[e,s]),r},I=({rootMargin:s="0px",onLoadMore:e})=>{const r=u(s,e);return c.jsx(o,{ref:r,sx:{visibility:"hidden"},children:"INVISIBLE"})};export{I as H};
