import{r as i}from"./react-vendor-0bvDbF03.js";const r=1024;function d(){const[s,t]=i.useState(void 0);return i.useEffect(()=>{const o=()=>{const n=window.innerWidth,w=window.innerHeight;return n<r||n===r&&w>n},e=()=>t(o());return window.addEventListener("resize",e),window.addEventListener("orientationchange",e),t(o()),()=>{window.removeEventListener("resize",e),window.removeEventListener("orientationchange",e)}},[]),!!s}export{d as u};
//# sourceMappingURL=use-mobile-BN2Z-RJr.js.map