import{f as l}from"./vue-vendor-CxLCUzY4.js";import{x as m,v as h,m as w}from"./index-B_2CoVdl.js";import"./antd-vue-vendor-CDWW6V_M.js";import"./vxe-table-vendor-B5h3MVdD.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};
