import{d as l,r as e,j as o,bO as c,bP as b,bQ as u,bR as m,bS as p,bT as d,bV as f,bW as h,bY as x}from"./index-BtzNP73w.js";const E=l.div`
  height: 100%;

`;u([m,p,d,f,h,x]);let s=null;const $=e.memo(a=>{const{option:n}=a,t=e.useRef(null),i=r=>{s=c(t.current),s||(s=b(t.current)),s.setOption(r),window.addEventListener("onresize",()=>{s.resize()})};return e.useEffect(()=>{i(n)}),o.jsx(E,{ref:t})});$.displayName="PieCharts";export{$ as P};
