import{r as i}from"./vendor-BKmmeuxg.js";const o=()=>{const[t,s]=i.useState(0),[r,e]=i.useState("default");return i.useEffect(()=>{const n=()=>{s(window.innerWidth),window.innerWidth<640?e("sm"):window.innerWidth<768?e("md"):window.innerWidth<1024?e("lg"):window.innerWidth<1280?e("xl"):e("default")};return n(),window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[]),{size:r,screen:t}};export{o as u};
