"use client";
import m from "../../../../_virtual/dayjs.min.js";
import { GanttDimensions as u } from "../enums/GanttDimensions.js";
const h = (n, t, o, r) => t === u.DAY ? r * n.reduce(
  (e, i) => e + m.unix(i).daysInMonth(),
  0
) : n.length * o * r;
export {
  h as getWholeWidth
};
