import { useCallback as c } from "react";
const i = (o, r) => c((t) => {
  const a = [];
  return t && t.forEach((l, n) => {
    let e = 0;
    l.data.forEach((s) => {
      const u = s[1] ?? 0;
      e = e + u;
    }), a.push(e);
  }), a;
}, [o, r]);
export {
  i as useGetTotalSeriesValues
};
