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