import{r as a,j as l,bO as o,bP as c,bQ as b,bR as u,bS as m,bT as d,b$ as h,bW as f,bY as p}from"./index-BtzNP73w.js";b([u,m,d,h,f,p]);const $=a.memo(e=>{const{option:r}=e,t=a.useRef(null),n=i=>{let s=o(t.current);s||(s=c(t.current),t.current.setAttribute("data-uid",Math.random().toString(36))),s.setOption(i),window.addEventListener("onresize",()=>{s.resize()})};return a.useEffect(()=>{n(r)}),l.jsx("div",{style:{width:"100%",height:"100%"},ref:t,className:"echarts"})});$.displayName="BarCharts";export{$ as B};
