import{r as i}from"./redux-1.0.74-D8bIc6ki.js";const w=()=>{const[t,r]=i.useState({width:window.innerWidth,height:window.innerHeight});return i.useEffect(()=>{let n;const e=()=>{clearTimeout(n),n=window.setTimeout(()=>{r({width:window.innerWidth,height:window.innerHeight})},100)};return e(),window.addEventListener("resize",e),window.addEventListener("orientationchange",e),()=>{window.removeEventListener("resize",e),window.removeEventListener("orientationchange",e)}},[]),t};export{w as u};
