import{o as e}from"./chunk-jRWAZmH_.js";import{n as t}from"./jsx-runtime-CEixWuwE.js";import{cr as n,sr as r}from"./axios-v6FV69Ne.js";import{n as i,t as a}from"./slicedToArray-YLaz90ka.js";import{i as o,r as s}from"./asyncToGenerator-DHhZBkop.js";import{n as c}from"./styleChecker-CKVQ8-24.js";o(),n();var l=[`xxl`,`xl`,`lg`,`md`,`sm`,`xs`],u={xs:`(max-width: 575px)`,sm:`(min-width: 576px)`,md:`(min-width: 768px)`,lg:`(min-width: 992px)`,xl:`(min-width: 1200px)`,xxl:`(min-width: 1600px)`},d=new Map,f=-1,p={},m={matchHandlers:{},dispatch:function(e){return p=e,d.forEach(function(e){return e(p)}),d.size>=1},subscribe:function(e){return d.size||this.register(),f+=1,d.set(f,e),e(p),f},unsubscribe:function(e){d.delete(e),d.size||this.unregister()},unregister:function(){var e=this;Object.keys(u).forEach(function(t){var n=u[t],r=e.matchHandlers[n];r?.mql.removeListener(r?.listener)}),d.clear()},register:function(){var e=this;Object.keys(u).forEach(function(t){var n=u[t],i=function(n){var i=n.matches;e.dispatch(r(r({},p),s({},t,i)))},a=window.matchMedia(n);a.addListener(i),e.matchHandlers[n]={mql:a,listener:i},i(a)})}};i();var h=e(t()),g=(function(){var e=a(h.useState(!1),2),t=e[0],n=e[1];return h.useEffect(function(){n(c())},[]),t});export{l as n,m as r,g as t};