(function(t,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],l):(t=typeof globalThis<"u"?globalThis:t||self,l(t.VueResponsiveness={},t.Vue))})(this,function(t,l){"use strict";const x={Ant_Design:{xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1600},Bootstrap_3:{xs:0,sm:576,lg:992},Bootstrap_4:{xs:0,sm:576,md:768,lg:992,xl:1200},Bootstrap_5:{xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400},Bulma:{mobile:0,tablet:769,desktop:1024,widescreen:1216,fullhd:1408},Chakra:{xs:0,sm:480,md:768,lg:992,xl:1280,"2xl":1472},Foundation:{small:0,medium:640,large:1024,xlarge:1200,xxlarge:1440},Ionic:{xs:0,sm:576,md:768,lg:992,xl:1200},Master_CSS:{"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},Material_Design:{xs:0,sm_8:600,sm_12:905,md:1240,lg:1440},Materialize:{s:0,m:600,l:992,xl:1200},Material_UI:{xs:0,sm:600,md:960,lg:1260,xl:1920},Quasar:{xs:0,sm:600,md:1024,lg:1440,xl:1920},Semantic_UI:{mobile:0,tablet:768,small_monitor:992,large_monitor:1200},Skeleton:{mobile:0,phablet:400,tablet:550,desktop:750,desktop_hd:1e3,desktop_hd_lg:1200},Tailwind_CSS:{xs:0,sm:640,md:768,lg:1024,xl:1280,"2xl":1536},Vuetify:{xs:0,sm:600,md:960,lg:1280,xl:1920},Windi_CSS:{xs:0,sm:640,md:768,lg:1024,xl:1280,"2xl":1536}};let n;const u={install(p,g=x.Bootstrap_5){const d=Object.entries(g).sort(([,e],[,s])=>(e||0)-(s||0)).reduce((e,[s,o],a,i)=>{var m;return e[s]={min:o?`(min-width: ${o}px)`:"",max:(m=i[a+1])!=null&&m[1]?`(max-width: ${i[a+1][1]-.1}px)`:""},e},{});n=l.reactive({isMin:l.computed(()=>e=>{var s;return((s=n[e])==null?void 0:s.min)||!1}),isMax:l.computed(()=>e=>{var s;return((s=n[e])==null?void 0:s.max)||!1}),isOnly:l.computed(()=>e=>{var s;return((s=n[e])==null?void 0:s.only)||!1}),current:l.computed(()=>Object.keys(d).find(e=>n[e].only)||""),...Object.keys(d).reduce((e,s)=>(e[s]={min:!1,max:!1,only:!1},e),{})}),typeof window<"u"&&Object.entries(d).forEach(([e,s])=>{const o={min:window.matchMedia(s.min),max:window.matchMedia(s.max)};Object.entries(o).forEach(([a,i])=>{const m=({matches:h})=>{const{min:r,max:c}={...n[e],[a]:h};n[e]={min:r,max:c,only:r&&c}};i.addEventListener("change",m),m(i)})}),p.config.globalProperties.$matches=n}},f=()=>n;t.Presets=x,t.VueResponsiveness=u,t.useMatches=f,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})});