"use client";
function h(n, t, e, s) {
  if (e.disableNavigation)
    return;
  const { pagedNavigation: u, numberOfMonths: f = 1 } = e, { startOfMonth: a, addMonths: o, differenceInCalendarMonths: c } = s, i = u ? f : 1, r = a(n);
  if (!t)
    return o(r, i);
  if (!(c(t, n) < f))
    return o(r, i);
}
export {
  h as getNextMonth
};
