import{f as l}from"./vue-vendor-CxLCUzY4.js";import{x as m,v as h,m as w}from"./index-CLZzJyTP.js";import"./antd-vue-vendor-CahNzUUa.js";import"./vxe-table-vendor-Cdi8WfTx.js";const s={"<=565":"100%","<=1366":"800px","<=1600":"600px","<=1920":"600px",">1920":"500px"};function v(t=s,a=!0,c=50){const n=a?Object.assign({},s,t):t,f=Object.keys(n),i=l();function o(u){let e;for(const r of f)try{if(new Function(`return ${u} ${r}`)()){e=n[r];break}}catch(p){}e&&(i.value=e)}o(window.innerWidth);const{removeEvent:d}=m({el:window,name:"resize",listener:h(()=>o(window.innerWidth),c)});return w(()=>d()),{adaptiveWidth:i}}function b(){return v({"<=620":"100%","<=1600":600,"<=1920":650,">1920":700},!1)}export{v as useAdaptiveWidth,b as useDrawerAdaptiveWidth};
