import{r}from"./index-4e7882bc.js";const u=e=>{const[t,n]=r.useState({width:void 0,height:void 0});return r.useEffect(()=>{let i;const o=()=>{clearTimeout(i),i=setTimeout(()=>{n({width:window.innerWidth,height:window.innerHeight})},e)};return window.addEventListener("resize",o),o(),()=>{window.removeEventListener("resize",o),clearTimeout(i)}},[e]),t};function d(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}export{d as c,u};
