// @bun
var{defineProperty:B,getOwnPropertyNames:H,getOwnPropertyDescriptor:I}=Object,J=Object.prototype.hasOwnProperty;function K(f){return this[f]}var P=(f)=>{var g=(E??=new WeakMap).get(f),w;if(g)return g;if(g=B({},"__esModule",{value:!0}),f&&typeof f==="object"||typeof f==="function"){for(var j of H(f))if(!J.call(g,j))B(g,j,{get:K.bind(f,j),enumerable:!(w=I(f,j))||w.enumerable})}return E.set(f,g),g},E;var L=(f)=>f;function N(f,g){this[f]=L.bind(null,g)}var S=(f,g)=>{for(var w in g)B(f,w,{get:g[w],enumerable:!0,configurable:!0,set:N.bind(g,w)})};var T=(f,g)=>()=>(f&&(g=f(f=0)),g);var U=import.meta.require;function x(f){let g=new Set,w=typeof window<"u",j=null,A=!1;if(w){j=window.matchMedia(f),A=j.matches;let z=(D)=>{A=D.matches;for(let F of g)try{F(D.matches)}catch(G){console.error("[useMediaQuery] Subscriber error:",G)}};if(j.addEventListener)j.addEventListener("change",z);else j.addListener(z)}return{get matches(){return A},subscribe:(z)=>{return g.add(z),z(A),()=>g.delete(z)}}}function W(){return x("(prefers-color-scheme: dark)")}function X(){return x("(prefers-color-scheme: light)")}function Y(){return x("(prefers-reduced-motion: reduce)")}function Z(){return x("(prefers-contrast: more)")}var O={sm:"(min-width: 640px)",md:"(min-width: 768px)",lg:"(min-width: 1024px)",xl:"(min-width: 1280px)","2xl":"(min-width: 1536px)"};function _(f){return x(O[f])}function $(){return x("(max-width: 767px)")}function C(){return x("(min-width: 768px) and (max-width: 1023px)")}function R(){return x("(min-width: 1024px)")}export{Y as usePreferredReducedMotion,X as usePreferredLight,W as usePreferredDark,Z as usePreferredContrast,x as useMediaQuery,C as useIsTablet,$ as useIsMobile,R as useIsDesktop,_ as useBreakpoint,O as breakpoints};
