import{r as t}from"./index-B-YXshIJ.js";const v=()=>{const[u,r]=t.useState(!1),s=t.useRef(null),o=()=>r(!0),n=()=>r(!1);return t.useEffect(()=>{const e=s.current;if(e)return e.addEventListener("mouseover",o),e.addEventListener("mouseout",n),()=>{e.removeEventListener("mouseover",o),e.removeEventListener("mouseout",n)}},[]),[s,u]};export{v as u};
