import e from "./interval.js";
import { durationMinute as t, durationWeek as n } from "./duration.js";
//#region ../../node_modules/d3-time/src/week.js
function r(r) {
	return e(function(e) {
		e.setDate(e.getDate() - (e.getDay() + 7 - r) % 7), e.setHours(0, 0, 0, 0);
	}, function(e, t) {
		e.setDate(e.getDate() + t * 7);
	}, function(e, r) {
		return (r - e - (r.getTimezoneOffset() - e.getTimezoneOffset()) * t) / n;
	});
}
var i = r(0), a = r(1), o = r(2), s = r(3), c = r(4), l = r(5), u = r(6);
i.range, a.range, o.range, s.range, c.range, l.range, u.range;
//#endregion
export { a as monday, i as sunday, c as thursday };

//# sourceMappingURL=week.js.map