import{a as t}from"./rolldown-runtime-C_ttsnZz.js";import{St as i}from"./index-BT8Vuu3B.js";var e=t(i(),1);function n(){return{"2xs":window.matchMedia("(min-width: 320px)").matches,xs:window.matchMedia("(min-width: 480px)").matches,sm:window.matchMedia("(min-width: 640px)").matches,md:window.matchMedia("(min-width: 768px)").matches,lg:window.matchMedia("(min-width: 1024px)").matches,xl:window.matchMedia("(min-width: 1280px)").matches,"2xl":window.matchMedia("(min-width: 1536px)").matches}}function a(){const[t,i]=(0,e.useState)(n());return(0,e.useLayoutEffect)(()=>{const t=()=>{i(n())};return window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)}),t}export{a as t};
//# sourceMappingURL=useResponsiveBreakpoints-zCLRoB9X.js.map