"use client";
import { millisecondsInWeek as f } from "./constants.js";
import { startOfISOWeek as i } from "./startOfISOWeek.js";
import { startOfISOWeekYear as n } from "./startOfISOWeekYear.js";
import { toDate as m } from "./toDate.js";
function p(e, o) {
  const t = m(e, o?.in), r = +i(t) - +n(t);
  return Math.round(r / f) + 1;
}
export {
  p as default,
  p as getISOWeek
};
