From ff2e09f03b275de233c958c76a9d958591910ab9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 2 Jun 2024 16:46:03 +0900 Subject: [PATCH] Bump temporal-polyfill from 0.2.4 to 0.2.5 (#823) * Bump temporal-polyfill from 0.2.4 to 0.2.5 Bumps [temporal-polyfill](https://github.com/fullcalendar/temporal-polyfill) from 0.2.4 to 0.2.5. - [Release notes](https://github.com/fullcalendar/temporal-polyfill/releases) - [Changelog](https://github.com/fullcalendar/temporal-polyfill/blob/main/CHANGELOG.md) - [Commits](https://github.com/fullcalendar/temporal-polyfill/compare/v0.2.4...v0.2.5) --- updated-dependencies: - dependency-name: temporal-polyfill dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * `pnpm install && pnpm run build` --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kenichi Kamiya --- dist/index.js | 908 ++++++++++++++++++++++++------------------------- package.json | 2 +- pnpm-lock.yaml | 8 +- 3 files changed, 457 insertions(+), 461 deletions(-) diff --git a/dist/index.js b/dist/index.js index 8d89d134..e34c0668 100644 --- a/dist/index.js +++ b/dist/index.js @@ -23235,7 +23235,7 @@ var ansi_styles_default = ansiStyles; var import_core = __toESM(require_core(), 1); var import_github = __toESM(require_github(), 1); -// node_modules/.pnpm/temporal-polyfill@0.2.4/node_modules/temporal-polyfill/chunks/internal.js +// node_modules/.pnpm/temporal-polyfill@0.2.5/node_modules/temporal-polyfill/chunks/internal.js function clampProp(e2, n2, t2, o2, r2) { return clampEntity(n2, getDefinedProp(e2, n2), t2, o2, r2); } @@ -23452,7 +23452,7 @@ function d(e2) { return requireNumberIsPositive(u(e2)); } function u(e2) { - return requireNumberIsInteger(Ni(e2)); + return requireNumberIsInteger(Mi(e2)); } function on(e2) { if (null == e2) { @@ -23574,7 +23574,7 @@ function hashIntlFormatParts(e2, n2) { return o2; } function checkIsoYearMonthInBounds(e2) { - return clampProp(e2, "isoYear", Wi, Li, 1), e2.isoYear === Wi ? clampProp(e2, "isoMonth", 4, 12, 1) : e2.isoYear === Li && clampProp(e2, "isoMonth", 1, 9, 1), e2; + return clampProp(e2, "isoYear", Li, Ai, 1), e2.isoYear === Li ? clampProp(e2, "isoMonth", 4, 12, 1) : e2.isoYear === Ai && clampProp(e2, "isoMonth", 1, 9, 1), e2; } function checkIsoDateInBounds(e2) { return checkIsoDateTimeInBounds({ @@ -23584,7 +23584,7 @@ function checkIsoDateInBounds(e2) { }), e2; } function checkIsoDateTimeInBounds(e2) { - const n2 = clampProp(e2, "isoYear", Wi, Li, 1), t2 = n2 === Wi ? 1 : n2 === Li ? -1 : 0; + const n2 = clampProp(e2, "isoYear", Li, Ai, 1), t2 = n2 === Li ? 1 : n2 === Ai ? -1 : 0; return t2 && checkEpochNanoInBounds(isoToEpochNano({ ...e2, isoDay: e2.isoDay + t2, @@ -23592,7 +23592,7 @@ function checkIsoDateTimeInBounds(e2) { })), e2; } function checkEpochNanoInBounds(e2) { - if (!e2 || bigNanoOutside(e2, Ui, Ai)) { + if (!e2 || bigNanoOutside(e2, Ui, qi)) { throw new RangeError(Cr); } return e2; @@ -23638,7 +23638,7 @@ function isoArgsToEpochMilli(...e2) { } } function isoToLegacyDate(e2, n2 = 1, t2 = 1, o2 = 0, r2 = 0, i2 = 0, a2 = 0) { - const s2 = e2 === Wi ? 1 : e2 === Li ? -1 : 0, c2 = /* @__PURE__ */ new Date(); + const s2 = e2 === Li ? 1 : e2 === Ai ? -1 : 0, c2 = /* @__PURE__ */ new Date(); return c2.setUTCHours(o2, r2, i2, a2), c2.setUTCFullYear(e2, n2 - 1, t2 + s2), [c2, s2]; } function Ie(e2, n2) { @@ -23648,14 +23648,14 @@ function Ie(e2, n2) { return epochMilliToIso(t2 * Gr + r2, a2, s2); } function epochMilliToIso(e2, n2 = 0, t2 = 0) { - const o2 = Math.ceil(Math.max(0, Math.abs(e2) - qi) / Gr) * Math.sign(e2), r2 = new Date(e2 - o2 * Gr); - return zipProps(Bi, [r2.getUTCFullYear(), r2.getUTCMonth() + 1, r2.getUTCDate() + o2, r2.getUTCHours(), r2.getUTCMinutes(), r2.getUTCSeconds(), r2.getUTCMilliseconds(), n2, t2]); + const o2 = Math.ceil(Math.max(0, Math.abs(e2) - zi) / Gr) * Math.sign(e2), r2 = new Date(e2 - o2 * Gr); + return zipProps(wi, [r2.getUTCFullYear(), r2.getUTCMonth() + 1, r2.getUTCDate() + o2, r2.getUTCHours(), r2.getUTCMinutes(), r2.getUTCSeconds(), r2.getUTCMilliseconds(), n2, t2]); } function computeIsoDateParts(e2) { return [e2.isoYear, e2.isoMonth, e2.isoDay]; } function computeIsoMonthsInYear() { - return $i; + return xi; } function computeIsoDaysInMonth(e2, n2) { switch (n2) { @@ -23684,10 +23684,10 @@ function computeGregoryEraParts({ isoYear: e2 }) { } function computeJapaneseEraParts(e2) { const n2 = isoToEpochMilli(e2); - if (n2 < Gi) { + if (n2 < $i) { return computeGregoryEraParts(e2); } - const t2 = hashIntlFormatParts(Wa(Ti), n2), { era: o2, eraYear: r2 } = parseIntlYear(t2, Ti); + const t2 = hashIntlFormatParts(La(Ti), n2), { era: o2, eraYear: r2 } = parseIntlYear(t2, Ti); return [o2, r2]; } function checkIsoDateTimeFields(e2) { @@ -23697,7 +23697,7 @@ function checkIsoDateFields(e2) { return constrainIsoDateFields(e2, 1), e2; } function isIsoDateFieldsValid(e2) { - return allPropsEqual(wi, e2, constrainIsoDateFields(e2)); + return allPropsEqual(Oi, e2, constrainIsoDateFields(e2)); } function constrainIsoDateFields(e2, n2) { const { isoYear: t2 } = e2, o2 = clampProp(e2, "isoMonth", 1, computeIsoMonthsInYear(), n2); @@ -23711,70 +23711,70 @@ function constrainIsoTimeFields(e2, n2) { return zipProps(j, [clampProp(e2, "isoHour", 0, 23, n2), clampProp(e2, "isoMinute", 0, 59, n2), clampProp(e2, "isoSecond", 0, 59, n2), clampProp(e2, "isoMillisecond", 0, 999, n2), clampProp(e2, "isoMicrosecond", 0, 999, n2), clampProp(e2, "isoNanosecond", 0, 999, n2)]); } function H(e2) { - return void 0 === e2 ? 0 : la(de(e2)); + return void 0 === e2 ? 0 : ua(de(e2)); } function wn(e2, n2 = 0) { e2 = normalizeOptions(e2); - const t2 = fa(e2), o2 = da(e2, n2); - return [la(e2), o2, t2]; + const t2 = la(e2), o2 = fa(e2, n2); + return [ua(e2), o2, t2]; } function ve(e2) { - return fa(normalizeOptions(e2)); + return la(normalizeOptions(e2)); } function _t(e2) { - return e2 = normalizeOptions(e2), ca(e2, 9, 6, 1); + return e2 = normalizeOptions(e2), sa(e2, 9, 6, 1); } function refineDiffOptions(e2, n2, t2, o2 = 9, r2 = 0, i2 = 4) { n2 = normalizeOptions(n2); - let a2 = ca(n2, o2, r2), s2 = parseRoundingIncInteger(n2), c2 = ga(n2, i2); - const u2 = sa(n2, o2, r2, 1); + let a2 = sa(n2, o2, r2), s2 = parseRoundingIncInteger(n2), c2 = ha(n2, i2); + const u2 = aa(n2, o2, r2, 1); return null == a2 ? a2 = Math.max(t2, u2) : checkLargestSmallestUnit(a2, u2), s2 = refineRoundingInc(s2, u2, 1), e2 && (c2 = ((e3) => e3 < 4 ? (e3 + 2) % 4 : e3)(c2)), [a2, u2, s2, c2]; } function refineRoundingOptions(e2, n2 = 6, t2) { - let o2 = parseRoundingIncInteger(e2 = normalizeOptionsOrString(e2, Vi)); - const r2 = ga(e2, 7); - let i2 = sa(e2, n2); - return i2 = requirePropDefined(Vi, i2), o2 = refineRoundingInc(o2, i2, void 0, t2), [i2, o2, r2]; + let o2 = parseRoundingIncInteger(e2 = normalizeOptionsOrString(e2, Hi)); + const r2 = ha(e2, 7); + let i2 = aa(e2, n2); + return i2 = requirePropDefined(Hi, i2), o2 = refineRoundingInc(o2, i2, void 0, t2), [i2, o2, r2]; } function refineDateDisplayOptions(e2) { - return ma(normalizeOptions(e2)); + return da(normalizeOptions(e2)); } function refineTimeDisplayOptions(e2, n2) { return refineTimeDisplayTuple(normalizeOptions(e2), n2); } function refineTimeDisplayTuple(e2, n2 = 4) { const t2 = refineSubsecDigits(e2); - return [ga(e2, 4), ...refineSmallestUnitAndSubsecDigits(sa(e2, n2), t2)]; + return [ha(e2, 4), ...refineSmallestUnitAndSubsecDigits(aa(e2, n2), t2)]; } function refineSmallestUnitAndSubsecDigits(e2, n2) { return null != e2 ? [Xr[e2], e2 < 4 ? 9 - 3 * e2 : -1] : [void 0 === n2 ? 1 : 10 ** (9 - n2), n2]; } function parseRoundingIncInteger(e2) { - const n2 = e2[Ji]; - return void 0 === n2 ? 1 : toInteger(n2, Ji); + const n2 = e2[_i]; + return void 0 === n2 ? 1 : toInteger(n2, _i); } function refineRoundingInc(e2, n2, t2, o2) { const r2 = o2 ? Qr : Xr[n2 + 1]; if (r2) { const t3 = Xr[n2]; - if (r2 % ((e2 = clampEntity(Ji, e2, 1, r2 / t3 - (o2 ? 0 : 1), 1)) * t3)) { - throw new RangeError(invalidEntity(Ji, e2)); + if (r2 % ((e2 = clampEntity(_i, e2, 1, r2 / t3 - (o2 ? 0 : 1), 1)) * t3)) { + throw new RangeError(invalidEntity(_i, e2)); } } else { - e2 = clampEntity(Ji, e2, 1, t2 ? 10 ** 9 : 1, 1); + e2 = clampEntity(_i, e2, 1, t2 ? 10 ** 9 : 1, 1); } return e2; } function refineSubsecDigits(e2) { - let n2 = e2[Ki]; + let n2 = e2[Ji]; if (void 0 !== n2) { if ("number" != typeof n2) { if ("auto" === toString(n2)) { return; } - throw new RangeError(invalidEntity(Ki, n2)); + throw new RangeError(invalidEntity(Ji, n2)); } - n2 = clampEntity(Ki, Math.floor(n2), 0, 9, 1); + n2 = clampEntity(Ji, Math.floor(n2), 0, 9, 1); } return n2; } @@ -23796,7 +23796,7 @@ function U(e2) { } function overrideOverflowOptions(e2, n2) { return e2 && Object.assign(/* @__PURE__ */ Object.create(null), e2, { - overflow: ea[n2] + overflow: Xi[n2] }); } function refineUnitOption(e2, n2, t2 = 9, o2 = 0, r2) { @@ -23808,7 +23808,7 @@ function refineUnitOption(e2, n2, t2 = 9, o2 = 0, r2) { return r2 ? o2 : null; } let a2 = $r[i2]; - if (void 0 === a2 && (a2 = Si[i2]), void 0 === a2) { + if (void 0 === a2 && (a2 = Ei[i2]), void 0 === a2) { throw new RangeError(invalidChoice(e2, i2, $r)); } return clampEntity(e2, a2, o2, t2, 1, Et), a2; @@ -23826,7 +23826,7 @@ function refineChoiceOption(e2, n2, t2, o2 = 0) { } function checkLargestSmallestUnit(e2, n2) { if (n2 > e2) { - throw new RangeError(Ur); + throw new RangeError(Ar); } } function _(e2) { @@ -23847,41 +23847,41 @@ function ee(e2, n2 = e2.calendar) { return { branding: We, calendar: n2, - ...Vn(Ci, e2) + ...Vn(Yi, e2) }; } function v(e2, n2 = e2.calendar) { return { branding: J, calendar: n2, - ...Vn(ki, e2) + ...Vn(Bi, e2) }; } function createPlainYearMonthSlots(e2, n2 = e2.calendar) { return { branding: L, calendar: n2, - ...Vn(ki, e2) + ...Vn(Bi, e2) }; } function createPlainMonthDaySlots(e2, n2 = e2.calendar) { return { branding: q, calendar: n2, - ...Vn(ki, e2) + ...Vn(Bi, e2) }; } function Ge(e2) { return { branding: xe, - ...Vn(Yi, e2) + ...Vn(ki, e2) }; } function Vt(e2) { return { branding: qt, sign: computeDurationSign(e2), - ...Vn(yi, e2) + ...Vn(Ni, e2) }; } function M(e2) { @@ -23906,29 +23906,32 @@ function isIdLikeEqual(e2, n2) { return e2 === n2 || I(e2) === I(n2); } function Ut(e2, n2, t2, o2, r2) { - const i2 = getLargestDurationUnit(o2), [a2, s2] = ((e3, n3) => { - const t3 = n3((e3 = normalizeOptionsOrString(e3, _i))[Qi]); - let o3 = ua(e3); - return o3 = requirePropDefined(_i, o3), [o3, t3]; + const i2 = getMaxDurationUnit(o2), [a2, s2] = ((e3, n3) => { + const t3 = n3((e3 = normalizeOptionsOrString(e3, Vi))[Ki]); + let o3 = ca(e3); + return o3 = requirePropDefined(Vi, o3), [o3, t3]; })(r2, e2); if (isUniformUnit(Math.max(a2, i2), s2)) { - return ((e3, n3) => oe(durationFieldsToBigNano(e3), Xr[n3], 1))(o2, a2); + return totalDayTimeDuration(o2, a2); } if (!s2) { throw new RangeError(zr); } - const [c2, u2, l2] = createMarkerSystem(n2, t2, s2), f2 = createMarkerToEpochNano(l2), d2 = createMoveMarker(u2, l2); - return ((e3, n3, t3, o3, r3, i3) => { - const a3 = computeDurationSign(e3), [s3, c3] = clampRelativeDuration(Oi(t3, e3), t3, a3, o3, r3, i3), u3 = computeEpochNanoFrac(n3, s3, c3); - return e3[F[t3]] + u3 * a3; - })(...spanDuration(o2, a2, c2, f2, d2, createDiffMarkers(u2, l2)), a2, c2, f2, d2); + const [c2, u2, l2] = createMarkerSystem(n2, t2, s2), f2 = createMarkerToEpochNano(l2), d2 = createMoveMarker(l2), m2 = createDiffMarkers(l2), p2 = d2(u2, c2, o2), h2 = m2(u2, c2, p2, a2); + return isUniformUnit(a2, s2) ? totalDayTimeDuration(h2, a2) : ((e3, n3, t3, o3, r3, i3, a3) => { + const s3 = computeDurationSign(e3), [c3, u3] = clampRelativeDuration(o3, bi(t3, e3), t3, s3, r3, i3, a3), l3 = computeEpochNanoFrac(n3, c3, u3); + return e3[F[t3]] + l3 * s3; + })(h2, f2(p2), a2, u2, c2, f2, d2); } -function clampRelativeDuration(e2, n2, t2, o2, r2, i2) { - const a2 = { - ...Fi, - [F[n2]]: t2 - }, s2 = i2(o2, e2), c2 = i2(s2, a2); - return [r2(s2), r2(c2)]; +function totalDayTimeDuration(e2, n2) { + return oe(durationFieldsToBigNano(e2), Xr[n2], 1); +} +function clampRelativeDuration(e2, n2, t2, o2, r2, i2, a2) { + const s2 = F[t2], c2 = { + ...n2, + [s2]: n2[s2] + o2 + }, u2 = a2(e2, r2, n2), l2 = a2(e2, r2, c2); + return [i2(u2), i2(l2)]; } function computeEpochNanoFrac(e2, n2, t2) { const o2 = oe(re(n2, t2)); @@ -24005,34 +24008,34 @@ function computeDayInterval(e2) { return [n2, moveByDays(n2, 1)]; } function computeDayFloor(e2) { - return Zi(6, e2); + return Ci(6, e2); } function roundDayTimeDurationByInc(e2, n2, t2) { - const o2 = Math.min(getLargestDurationUnit(e2), 6); + const o2 = Math.min(getMaxDurationUnit(e2), 6); return nanoToDurationDayTimeFields(roundBigNanoByInc(durationFieldsToBigNano(e2, o2), n2, t2), o2); } -function roundRelativeDuration(e2, n2, t2, o2, r2, i2, a2, s2, c2) { +function roundRelativeDuration(e2, n2, t2, o2, r2, i2, a2, s2, c2, u2) { if (0 === o2 && 1 === r2) { return e2; } - const u2 = o2 > 6 ? nudgeRelativeDuration : isZonedEpochSlots(a2) && o2 < 6 ? nudgeZonedTimeDuration : nudgeDayTimeDuration; - let [l2, f2, d2] = u2(e2, n2, t2, o2, r2, i2, a2, s2, c2); - return d2 && (l2 = ((e3, n3, t3, o3, r3, i3, a3) => { - const s3 = computeDurationSign(e3); - for (let c3 = o3 + 1; c3 <= t3; c3++) { - if (7 === c3 && 7 !== t3) { + const l2 = isUniformUnit(o2, s2) ? isZonedEpochSlots(s2) && o2 < 6 && t2 >= 6 ? nudgeZonedTimeDuration : nudgeDayTimeDuration : nudgeRelativeDuration; + let [f2, d2, m2] = l2(e2, n2, t2, o2, r2, i2, a2, s2, c2, u2); + return m2 && 7 !== o2 && (f2 = ((e3, n3, t3, o3, r3, i3, a3, s3) => { + const c3 = computeDurationSign(e3); + for (let u3 = o3 + 1; u3 <= t3; u3++) { + if (7 === u3 && 7 !== t3) { continue; } - const o4 = Oi(c3, e3); - o4[F[c3]] += s3; - const u3 = oe(re(i3(a3(r3, o4)), n3)); - if (u3 && Math.sign(u3) !== s3) { + const o4 = bi(u3, e3); + o4[F[u3]] += c3; + const l3 = oe(re(a3(s3(r3, i3, o4)), n3)); + if (l3 && Math.sign(l3) !== c3) { break; } e3 = o4; } return e3; - })(l2, f2, t2, Math.max(6, o2), a2, s2, c2)), l2; + })(f2, d2, t2, Math.max(6, o2), a2, s2, c2, u2)), f2; } function roundBigNano(e2, n2, t2, o2, r2) { if (6 === n2) { @@ -24051,7 +24054,7 @@ function roundByInc(e2, n2, t2) { return roundWithMode(e2 / n2, t2) * n2; } function roundWithMode(e2, n2) { - return Ta[n2](e2); + return ga[n2](e2); } function nudgeDayTimeDuration(e2, n2, t2, o2, r2, i2) { const a2 = computeDurationSign(e2), s2 = durationFieldsToBigNano(e2), c2 = roundBigNano(s2, o2, r2, i2), u2 = re(s2, c2), l2 = Math.sign(c2[0] - s2[0]) === a2, f2 = nanoToDurationDayTimeFields(c2, Math.min(t2, 6)); @@ -24060,28 +24063,32 @@ function nudgeDayTimeDuration(e2, n2, t2, o2, r2, i2) { ...f2 }, addBigNanos(n2, u2), l2]; } -function nudgeZonedTimeDuration(e2, n2, t2, o2, r2, i2, a2, s2, c2) { - const u2 = computeDurationSign(e2); - let [l2, f2] = durationFieldsToBigNano(e2, 5); - const d2 = computeNanoInc(o2, r2); +function nudgeZonedTimeDuration(e2, n2, t2, o2, r2, i2, a2, s2, c2, u2) { + const l2 = computeDurationSign(e2), f2 = oe(durationFieldsToBigNano(e2, 5)), d2 = computeNanoInc(o2, r2); let m2 = roundByInc(f2, d2, i2); - const [p2, h2] = clampRelativeDuration({ + const [p2, h2] = clampRelativeDuration(a2, { ...e2, - ...bi - }, 6, u2, a2, s2, c2), g2 = m2 - oe(re(p2, h2)); - g2 && Math.sign(g2) !== u2 ? n2 = moveBigNano(p2, m2) : (l2 += u2, m2 = roundByInc(g2, d2, i2), n2 = moveBigNano(h2, m2)); - const T2 = nanoToDurationTimeFields(m2); + ...Fi + }, 6, l2, s2, c2, u2), g2 = m2 - oe(re(p2, h2)); + let T2 = 0; + g2 && Math.sign(g2) !== l2 ? n2 = moveBigNano(p2, m2) : (T2 += l2, m2 = roundByInc(g2, d2, i2), n2 = moveBigNano(h2, m2)); + const D2 = nanoToDurationTimeFields(m2); return [{ ...e2, - ...T2, - days: e2.days + l2 - }, n2, Boolean(l2)]; + ...D2, + days: e2.days + T2 + }, n2, Boolean(T2)]; } -function nudgeRelativeDuration(e2, n2, t2, o2, r2, i2, a2, s2, c2) { - const u2 = computeDurationSign(e2), l2 = F[o2], f2 = Oi(o2, e2), d2 = divTrunc(e2[l2], r2) * r2; - f2[l2] = d2; - const [m2, p2] = clampRelativeDuration(f2, o2, r2 * u2, a2, s2, c2), h2 = d2 + computeEpochNanoFrac(n2, m2, p2) * u2 * r2, g2 = roundByInc(h2, r2, i2), T2 = Math.sign(g2 - h2) === u2; - return f2[l2] = g2, [f2, T2 ? p2 : m2, T2]; +function nudgeRelativeDuration(e2, n2, t2, o2, r2, i2, a2, s2, c2, u2) { + const l2 = computeDurationSign(e2), f2 = F[o2], d2 = bi(o2, e2); + 7 === o2 && (e2 = { + ...e2, + weeks: e2.weeks + Math.trunc(e2.days / 7) + }); + const m2 = divTrunc(e2[f2], r2) * r2; + d2[f2] = m2; + const [p2, h2] = clampRelativeDuration(a2, d2, o2, r2 * l2, s2, c2, u2), g2 = m2 + computeEpochNanoFrac(n2, p2, h2) * l2 * r2, T2 = roundByInc(g2, r2, i2), D2 = Math.sign(T2 - g2) === l2; + return d2[f2] = T2, [d2, D2 ? h2 : p2, D2]; } function me(e2, n2, t2, o2) { const [r2, i2, a2, s2] = ((e3) => { @@ -24092,13 +24099,13 @@ function me(e2, n2, t2, o2) { t3 = roundBigNanoByInc(t3, r3, o3, 1); const a3 = n3.getOffsetNanosecondsFor(t3); return formatIsoDateTimeFields(Ie(t3, a3), i3) + (e3 ? Fe(roundToMinute(a3)) : "Z"); - })(c2, n2(c2 ? e2(r2) : Da), t2.epochNanoseconds, i2, a2, s2); + })(c2, n2(c2 ? e2(r2) : Ta), t2.epochNanoseconds, i2, a2, s2); } function In(e2, n2, t2) { const [o2, r2, i2, a2, s2, c2] = ((e3) => { e3 = normalizeOptions(e3); - const n3 = ma(e3), t3 = refineSubsecDigits(e3), o3 = ha(e3), r3 = ga(e3, 4), i3 = sa(e3, 4); - return [n3, pa(e3), o3, r3, ...refineSmallestUnitAndSubsecDigits(i3, t3)]; + const n3 = da(e3), t3 = refineSubsecDigits(e3), o3 = pa(e3), r3 = ha(e3, 4), i3 = aa(e3, 4); + return [n3, ma(e3), o3, r3, ...refineSmallestUnitAndSubsecDigits(i3, t3)]; })(t2); return ((e3, n3, t3, o3, r3, i3, a3, s3, c3, u2) => { o3 = roundBigNanoByInc(o3, c3, s3, 1); @@ -24107,7 +24114,7 @@ function In(e2, n2, t2) { })(e2, n2.calendar, n2.timeZone, n2.epochNanoseconds, o2, r2, i2, a2, s2, c2); } function Tt(e2, n2) { - const [t2, o2, r2, i2] = ((e3) => (e3 = normalizeOptions(e3), [ma(e3), ...refineTimeDisplayTuple(e3)]))(n2); + const [t2, o2, r2, i2] = ((e3) => (e3 = normalizeOptions(e3), [da(e3), ...refineTimeDisplayTuple(e3)]))(n2); return a2 = e2.calendar, s2 = t2, c2 = i2, formatIsoDateTimeFields(roundDateTimeToNano(e2, r2, o2), c2) + formatCalendar(a2, s2); var a2, s2, c2; } @@ -24197,7 +24204,7 @@ function formatCalendarId(e2, n2) { } function formatSubsecNano(e2, n2) { let t2 = padNumber(9, e2); - return t2 = void 0 === n2 ? t2.replace(ya, "") : t2.slice(0, n2), t2 ? "." + t2 : ""; + return t2 = void 0 === n2 ? t2.replace(Na, "") : t2.slice(0, n2), t2 ? "." + t2 : ""; } function getSignStr(e2) { return e2 < 0 ? "-" : "+"; @@ -24219,7 +24226,7 @@ function mn(e2, n2) { const t2 = fn(n2, e2); return { calendar: n2.calendar, - ...Vn(Ci, t2), + ...Vn(Yi, t2), offset: Fe(t2.offsetNanoseconds), timeZone: n2.timeZone }; @@ -24289,7 +24296,7 @@ function hn(e2, n2, t2, o2, r2, i2 = /* @__PURE__ */ Object.create(null)) { const a2 = n2(o2.timeZone), s2 = e2(o2.calendar); return { ...o2, - ...moveZonedEpochs(s2, a2, o2, t2 ? negateDurationFields(r2) : r2, i2) + ...moveZonedEpochs(a2, s2, o2, t2 ? negateDurationFields(r2) : r2, i2) }; } function ct(e2, n2, t2, o2, r2 = /* @__PURE__ */ Object.create(null)) { @@ -24304,7 +24311,7 @@ function Qe(e2, n2, t2, o2, r2 = /* @__PURE__ */ Object.create(null)) { const i2 = t2.calendar, a2 = e2(i2); let s2 = moveToDayOfMonthUnsafe(a2, t2); n2 && (o2 = xt(o2)), o2.sign < 0 && (s2 = a2.dateAdd(s2, { - ...Fi, + ...Si, months: 1 }), s2 = moveByDays(s2, -1)); const c2 = a2.dateAdd(s2, o2, r2); @@ -24317,11 +24324,11 @@ function moveZonedEpochs(e2, n2, t2, o2, r2) { const i2 = durationFieldsToBigNano(o2, 5); let a2 = t2.epochNanoseconds; if (durationHasDateParts(o2)) { - const s2 = fn(t2, n2); - a2 = addBigNanos(we(n2, { - ...moveDate(e2, s2, { + const s2 = fn(t2, e2); + a2 = addBigNanos(we(e2, { + ...moveDate(n2, s2, { ...o2, - ...bi + ...Fi }, r2), ...Vn(j, s2) }), i2); @@ -24337,7 +24344,7 @@ function moveDateTime(e2, n2, t2, o2) { return checkIsoDateTimeInBounds({ ...moveDate(e2, n2, { ...t2, - ...bi, + ...Fi, days: t2.days + i2 }, o2), ...r2 @@ -24374,11 +24381,11 @@ function createMarkerSystem(e2, n2, t2) { function createMarkerToEpochNano(e2) { return e2 ? extractEpochNano : isoToEpochNano; } -function createMoveMarker(e2, n2) { - return n2 ? E(moveZonedEpochs, e2, n2) : E(moveDateTime, e2); +function createMoveMarker(e2) { + return e2 ? E(moveZonedEpochs, e2) : moveDateTime; } -function createDiffMarkers(e2, n2) { - return n2 ? E(diffZonedEpochsExact, e2, n2) : E(diffDateTimesExact, e2); +function createDiffMarkers(e2) { + return e2 ? E(diffZonedEpochsExact, e2) : diffDateTimesExact; } function isZonedEpochSlots(e2) { return e2 && e2.epochNanoseconds; @@ -24386,12 +24393,8 @@ function isZonedEpochSlots(e2) { function isUniformUnit(e2, n2) { return e2 <= 6 - (isZonedEpochSlots(n2) ? 1 : 0); } -function spanDuration(e2, n2, t2, o2, r2, i2) { - const a2 = r2(t2, e2); - return [i2(t2, a2, n2), o2(a2)]; -} function Wt(e2, n2, t2, o2, r2, i2, a2) { - const s2 = e2(normalizeOptions(a2).relativeTo), c2 = Math.max(getLargestDurationUnit(r2), getLargestDurationUnit(i2)); + const s2 = e2(normalizeOptions(a2).relativeTo), c2 = Math.max(getMaxDurationUnit(r2), getMaxDurationUnit(i2)); if (isUniformUnit(c2, s2)) { return Vt(checkDurationUnits(((e3, n3, t3, o3) => { const r3 = addBigNanos(durationFieldsToBigNano(e3), durationFieldsToBigNano(n3), o3 ? -1 : 1); @@ -24399,7 +24402,7 @@ function Wt(e2, n2, t2, o2, r2, i2, a2) { throw new RangeError(Cr); } return { - ...Fi, + ...Si, ...nanoToDurationDayTimeFields(r3, t3) }; })(r2, i2, c2, o2))); @@ -24408,27 +24411,27 @@ function Wt(e2, n2, t2, o2, r2, i2, a2) { throw new RangeError(zr); } o2 && (i2 = negateDurationFields(i2)); - const [u2, l2, f2] = createMarkerSystem(n2, t2, s2), d2 = createMoveMarker(l2, f2), m2 = createDiffMarkers(l2, f2), p2 = d2(u2, r2); - return Vt(m2(u2, d2(p2, i2), c2)); + const [u2, l2, f2] = createMarkerSystem(n2, t2, s2), d2 = createMoveMarker(f2), m2 = createDiffMarkers(f2), p2 = d2(l2, u2, r2); + return Vt(m2(l2, u2, d2(l2, p2, i2), c2)); } function Gt(e2, n2, t2, o2, r2) { - const i2 = getLargestDurationUnit(o2), [a2, s2, c2, u2, l2] = ((e3, n3, t3) => { - e3 = normalizeOptionsOrString(e3, Vi); - let o3 = ca(e3); - const r3 = t3(e3[Qi]); + const i2 = getMaxDurationUnit(o2), [a2, s2, c2, u2, l2] = ((e3, n3, t3) => { + e3 = normalizeOptionsOrString(e3, Hi); + let o3 = sa(e3); + const r3 = t3(e3[Ki]); let i3 = parseRoundingIncInteger(e3); - const a3 = ga(e3, 7); - let s3 = sa(e3); + const a3 = ha(e3, 7); + let s3 = aa(e3); if (void 0 === o3 && void 0 === s3) { - throw new RangeError(Ar); + throw new RangeError(Ur); } return null == s3 && (s3 = 0), null == o3 && (o3 = Math.max(s3, n3)), checkLargestSmallestUnit(o3, s3), i3 = refineRoundingInc(i3, s3, 1), [o3, s3, i3, a3, r3]; - })(r2, i2, e2); - if (isUniformUnit(Math.max(i2, a2), l2)) { + })(r2, i2, e2), f2 = Math.max(i2, a2); + if (!isZonedEpochSlots(l2) && f2 <= 6) { return Vt(checkDurationUnits(((e3, n3, t3, o3, r3) => { const i3 = roundBigNano(durationFieldsToBigNano(e3), t3, o3, r3); return { - ...Fi, + ...Si, ...nanoToDurationDayTimeFields(i3, n3) }; })(o2, a2, s2, c2, u2))); @@ -24436,18 +24439,13 @@ function Gt(e2, n2, t2, o2, r2) { if (!l2) { throw new RangeError(zr); } - const [f2, d2, m2] = createMarkerSystem(n2, t2, l2), p2 = createMarkerToEpochNano(m2), h2 = createMoveMarker(d2, m2), g2 = createDiffMarkers(d2, m2); - let T2 = 0; - o2.weeks && 7 === s2 && (T2 = o2.weeks, o2 = { - ...o2, - weeks: 0 - }); - let [D2, I2] = spanDuration(o2, a2, f2, p2, h2, g2); - const M2 = o2.sign, N2 = computeDurationSign(D2); + const [d2, m2, p2] = createMarkerSystem(n2, t2, l2), h2 = createMarkerToEpochNano(p2), g2 = createMoveMarker(p2), T2 = createDiffMarkers(p2), D2 = g2(m2, d2, o2); + let I2 = T2(m2, d2, D2, a2); + const M2 = o2.sign, N2 = computeDurationSign(I2); if (M2 && N2 && M2 !== N2) { throw new RangeError(vr); } - return N2 && (D2 = roundRelativeDuration(D2, I2, a2, s2, c2, u2, f2, p2, h2)), D2.weeks += T2, Vt(D2); + return N2 && (I2 = roundRelativeDuration(I2, h2(D2), a2, s2, c2, u2, m2, d2, h2, g2)), Vt(I2); } function Rt(e2) { return -1 === e2.sign ? xt(e2) : e2; @@ -24479,8 +24477,8 @@ function computeDurationSign(e2, n2 = F) { return t2; } function checkDurationUnits(e2) { - for (const n2 of Ei) { - clampEntity(n2, e2[n2], -Pa, Pa, 1); + for (const n2 of vi) { + clampEntity(n2, e2[n2], -ya, ya, 1); } return checkDurationTimeUnit(oe(durationFieldsToBigNano(e2), _r)), e2; } @@ -24503,9 +24501,9 @@ function nanoToDurationTimeFields(e2, n2 = 5) { return nanoToGivenFields(e2, n2, F); } function durationHasDateParts(e2) { - return Boolean(computeDurationSign(e2, vi)); + return Boolean(computeDurationSign(e2, Pi)); } -function getLargestDurationUnit(e2) { +function getMaxDurationUnit(e2) { let n2 = 9; for (; n2 > 0 && !e2[F[n2]]; n2--) { } @@ -24515,8 +24513,8 @@ function createSplitTuple(e2, n2) { return [e2, n2]; } function computePeriod(e2) { - const n2 = Math.floor(e2 / Ia) * Ia; - return [n2, n2 + Ia]; + const n2 = Math.floor(e2 / Da) * Da; + return [n2, n2 + Da]; } function pe(e2) { const n2 = parseDateTimeLike(e2 = toStringViaPrimitive(e2)); @@ -24524,7 +24522,7 @@ function pe(e2) { throw new RangeError(failedParse(e2)); } let t2; - if (n2.O) { + if (n2.m) { t2 = 0; } else { if (!n2.offset) { @@ -24542,7 +24540,7 @@ function Xt(e2) { if (n2.timeZone) { return finalizeZonedDateTime(n2, n2.offset ? parseOffsetNano(n2.offset) : void 0); } - if (n2.O) { + if (n2.m) { throw new RangeError(failedParse(e2)); } return finalizeDate(n2); @@ -24564,17 +24562,17 @@ function parseOffsetNano(e2) { } function Ct(e2) { const n2 = parseDateTimeLike(m(e2)); - if (!n2 || n2.O) { + if (!n2 || n2.m) { throw new RangeError(failedParse(e2)); } return ee(finalizeDateTime(n2)); } function At(e2) { const n2 = parseDateTimeLike(m(e2)); - if (!n2 || n2.O) { + if (!n2 || n2.m) { throw new RangeError(failedParse(e2)); } - return v(n2.I ? finalizeDateTime(n2) : finalizeDate(n2)); + return v(n2.p ? finalizeDateTime(n2) : finalizeDate(n2)); } function ot(e2, n2) { const t2 = parseYearMonthOnly(m(n2)); @@ -24594,22 +24592,22 @@ function Q(e2, n2) { if (t2) { return requireIsoCalendar(t2), createPlainMonthDaySlots(checkIsoDateFields(t2)); } - const o2 = At(n2), { calendar: r2 } = o2, i2 = e2(r2), [a2, s2, c2] = i2.v(o2), [u2, l2] = i2.$(a2, s2), [f2, d2] = i2.k(u2, l2, c2); - return createPlainMonthDaySlots(checkIsoDateInBounds(i2.L(f2, d2, c2)), r2); + const o2 = At(n2), { calendar: r2 } = o2, i2 = e2(r2), [a2, s2, c2] = i2.h(o2), [u2, l2] = i2.I(a2, s2), [f2, d2] = i2.N(u2, l2, c2); + return createPlainMonthDaySlots(checkIsoDateInBounds(i2.P(f2, d2, c2)), r2); } function ze(e2) { let n2, t2 = ((e3) => { - const n3 = Za.exec(e3); + const n3 = Ca.exec(e3); return n3 ? (organizeAnnotationParts(n3[10]), organizeTimeParts(n3)) : void 0; })(m(e2)); if (!t2) { if (t2 = parseDateTimeLike(e2), !t2) { throw new RangeError(failedParse(e2)); } - if (!t2.I) { + if (!t2.p) { throw new RangeError(failedParse(e2)); } - if (t2.O) { + if (t2.m) { throw new RangeError(invalidSubstring("Z")); } requireIsoCalendar(t2); @@ -24624,7 +24622,7 @@ function ze(e2) { } function Kt(e2) { const n2 = ((e3) => { - const n3 = qa.exec(e3); + const n3 = za.exec(e3); return n3 ? ((e4) => { function parseUnit(e5, r3, i2) { let a2 = 0, s2 = 0; @@ -24663,11 +24661,11 @@ function sn(e2) { } function Ne(e2) { const n2 = parseDateTimeLike(e2); - return n2 && (n2.timeZone || n2.O && Da || n2.offset) || e2; + return n2 && (n2.timeZone || n2.m && Ta || n2.offset) || e2; } function finalizeZonedDateTime(e2, n2, t2 = 0, o2 = 0) { const r2 = ye(e2.timeZone), i2 = ie(r2); - return Yn(getMatchingInstantFor(i2, checkIsoDateTimeFields(e2), n2, t2, o2, !i2.R, e2.O), r2, an(e2.calendar)); + return Yn(getMatchingInstantFor(i2, checkIsoDateTimeFields(e2), n2, t2, o2, !i2.v, e2.m), r2, an(e2.calendar)); } function finalizeDateTime(e2) { return resolveSlotsCalendar(checkIsoDateTimeInBounds(checkIsoDateTimeFields(e2))); @@ -24682,7 +24680,7 @@ function resolveSlotsCalendar(e2) { }; } function parseDateTimeLike(e2) { - const n2 = Ca.exec(e2); + const n2 = Ya.exec(e2); return n2 ? ((e3) => { const n3 = e3[10], t2 = "Z" === (n3 || "").toUpperCase(); return { @@ -24691,14 +24689,14 @@ function parseDateTimeLike(e2) { isoDay: parseInt(e3[5]), ...organizeTimeParts(e3.slice(5)), ...organizeAnnotationParts(e3[16]), - I: Boolean(e3[6]), - O: t2, + p: Boolean(e3[6]), + m: t2, offset: t2 ? void 0 : n3 }; })(n2) : void 0; } function parseYearMonthOnly(e2) { - const n2 = ka.exec(e2); + const n2 = Ba.exec(e2); return n2 ? ((e3) => ({ isoYear: organizeIsoYearParts(e3), isoMonth: parseInt(e3[4]), @@ -24707,16 +24705,16 @@ function parseYearMonthOnly(e2) { }))(n2) : void 0; } function parseMonthDayOnly(e2) { - const n2 = Ya.exec(e2); + const n2 = ka.exec(e2); return n2 ? ((e3) => ({ - isoYear: xi, + isoYear: ji, isoMonth: parseInt(e3[1]), isoDay: parseInt(e3[2]), ...organizeAnnotationParts(e3[3]) }))(n2) : void 0; } function parseOffsetNanoMaybe(e2, n2) { - const t2 = Ra.exec(e2); + const t2 = Za.exec(e2); return t2 ? ((e3, n3) => { const t3 = e3[4] || e3[5]; if (n3 && t3) { @@ -24744,7 +24742,7 @@ function organizeTimeParts(e2) { function organizeAnnotationParts(e2) { let n2, t2; const o2 = []; - if (e2.replace(za, (e3, r2, i2) => { + if (e2.replace(Ra, (e3, r2, i2) => { const a2 = Boolean(r2), [s2, c2] = i2.split("=").reverse(); if (c2) { if ("u-ca" === c2) { @@ -24789,15 +24787,15 @@ function ye(e2) { throw new RangeError(br); } return e3.toLowerCase().split("/").map((e4, n3) => (e4.length <= 3 || /\d/.test(e4)) && !/etc|yap/.test(e4) ? e4.toUpperCase() : e4.replace(/baja|dumont|[a-z]+/g, (e5, t2) => e5.length <= 2 && !n3 || "in" === e5 || "chat" === e5 ? e5.toUpperCase() : e5.length > 2 || !t2 ? capitalize(e5).replace(/island|noronha|murdo|rivadavia|urville/, capitalize) : e5)).join("/"); - })(e2) : Da; + })(e2) : Ta; } function getTimeZoneAtomic(e2) { const n2 = getTimeZoneEssence(e2); - return "number" == typeof n2 ? n2 : n2 ? n2.resolvedOptions().timeZone : Da; + return "number" == typeof n2 ? n2 : n2 ? n2.resolvedOptions().timeZone : Ta; } function getTimeZoneEssence(e2) { const n2 = parseOffsetNanoMaybe(e2 = e2.toUpperCase(), 1); - return void 0 !== n2 ? n2 : e2 !== Da ? Aa(e2) : void 0; + return void 0 !== n2 ? n2 : e2 !== Ta ? qa(e2) : void 0; } function Ze(e2, n2) { return te(e2.epochNanoseconds, n2.epochNanoseconds); @@ -24806,7 +24804,7 @@ function yn(e2, n2) { return te(e2.epochNanoseconds, n2.epochNanoseconds); } function $t(e2, n2, t2, o2, r2, i2) { - const a2 = e2(normalizeOptions(i2).relativeTo), s2 = Math.max(getLargestDurationUnit(o2), getLargestDurationUnit(r2)); + const a2 = e2(normalizeOptions(i2).relativeTo), s2 = Math.max(getMaxDurationUnit(o2), getMaxDurationUnit(r2)); if (allPropsEqual(F, o2, r2)) { return 0; } @@ -24816,8 +24814,8 @@ function $t(e2, n2, t2, o2, r2, i2) { if (!a2) { throw new RangeError(zr); } - const [c2, u2, l2] = createMarkerSystem(n2, t2, a2), f2 = createMarkerToEpochNano(l2), d2 = createMoveMarker(u2, l2); - return te(f2(d2(c2, o2)), f2(d2(c2, r2))); + const [c2, u2, l2] = createMarkerSystem(n2, t2, a2), f2 = createMarkerToEpochNano(l2), d2 = createMoveMarker(l2); + return te(f2(d2(u2, c2, o2)), f2(d2(u2, c2, r2))); } function gt(e2, n2) { return rt(e2, n2) || He(e2, n2); @@ -24879,10 +24877,10 @@ function Dn(e2, n2, t2, o2, r2, i2) { } return e3; })(o2.timeZone, r2.timeZone)), i3 = e2(a2); - h2 = diffZonedEpochsBig(i3, t3, o2, r2, p2, c2, s2), h2 = roundRelativeDuration(h2, m2, c2, u2, l2, f2, o2, extractEpochNano, E(moveZonedEpochs, i3, t3)); + h2 = diffZonedEpochsBig(i3, t3, o2, r2, p2, c2, s2), h2 = roundRelativeDuration(h2, m2, c2, u2, l2, f2, i3, o2, extractEpochNano, E(moveZonedEpochs, t3)); } } else { - h2 = Fi; + h2 = Si; } return Vt(t2 ? negateDurationFields(h2) : h2); } @@ -24894,10 +24892,10 @@ function ut(e2, n2, t2, o2, r2) { p2 = diffEpochNanos(f2, d2, s2, c2, u2, l2); } else { const n3 = e2(i2); - p2 = diffDateTimesBig(n3, t2, o2, m2, s2, a2), p2 = roundRelativeDuration(p2, d2, s2, c2, u2, l2, t2, isoToEpochNano, E(moveDateTime, n3)); + p2 = diffDateTimesBig(n3, t2, o2, m2, s2, a2), p2 = roundRelativeDuration(p2, d2, s2, c2, u2, l2, n3, t2, isoToEpochNano, moveDateTime); } } else { - p2 = Fi; + p2 = Si; } return Vt(n2 ? negateDurationFields(p2) : p2); } @@ -24917,27 +24915,27 @@ function diffDateLike(e2, n2, t2, o2, r2, i2, a2, s2, c2) { f2 = diffEpochNanos(u2, l2, r2, i2, a2, s2); } else { const e3 = n2(); - f2 = e3.dateUntil(t2, o2, r2, c2), 6 === i2 && 1 === a2 || (f2 = roundRelativeDuration(f2, l2, r2, i2, a2, s2, t2, isoToEpochNano, E(moveDate, e3))); + f2 = e3.dateUntil(t2, o2, r2, c2), 6 === i2 && 1 === a2 || (f2 = roundRelativeDuration(f2, l2, r2, i2, a2, s2, e3, t2, isoToEpochNano, moveDate)); } } else { - f2 = Fi; + f2 = Si; } return Vt(e2 ? negateDurationFields(f2) : f2); } function Ae(e2, n2, t2, o2) { const r2 = U(o2), [i2, a2, s2, c2] = refineDiffOptions(e2, r2, 5, 5), u2 = roundByInc(diffTimes(n2, t2), computeNanoInc(a2, s2), c2), l2 = { - ...Fi, + ...Si, ...nanoToDurationTimeFields(u2, i2) }; return Vt(e2 ? negateDurationFields(l2) : l2); } function diffZonedEpochsExact(e2, n2, t2, o2, r2, i2) { const a2 = te(o2.epochNanoseconds, t2.epochNanoseconds); - return a2 ? r2 < 6 ? diffEpochNanosExact(t2.epochNanoseconds, o2.epochNanoseconds, r2) : diffZonedEpochsBig(e2, n2, t2, o2, a2, r2, i2) : Fi; + return a2 ? r2 < 6 ? diffEpochNanosExact(t2.epochNanoseconds, o2.epochNanoseconds, r2) : diffZonedEpochsBig(n2, e2, t2, o2, a2, r2, i2) : Si; } function diffDateTimesExact(e2, n2, t2, o2, r2) { const i2 = isoToEpochNano(n2), a2 = isoToEpochNano(t2), s2 = te(a2, i2); - return s2 ? o2 <= 6 ? diffEpochNanosExact(i2, a2, o2) : diffDateTimesBig(e2, n2, t2, s2, o2, r2) : Fi; + return s2 ? o2 <= 6 ? diffEpochNanosExact(i2, a2, o2) : diffDateTimesBig(e2, n2, t2, s2, o2, r2) : Si; } function diffZonedEpochsBig(e2, n2, t2, o2, r2, i2, a2) { const [s2, c2, u2] = ((e3, n3, t3, o3) => { @@ -24960,28 +24958,31 @@ function diffZonedEpochsBig(e2, n2, t2, o2, r2, i2, a2) { var l2, f2; return { ...6 === i2 ? (l2 = s2, f2 = c2, { - ...Fi, + ...Si, days: diffDays(l2, f2) }) : e2.dateUntil(s2, c2, i2, a2), ...nanoToDurationTimeFields(u2) }; } function diffDateTimesBig(e2, n2, t2, o2, r2, i2) { - let a2 = n2, s2 = diffTimes(n2, t2); - return Math.sign(s2) === -o2 && (a2 = moveByDays(n2, o2), s2 += Qr * o2), { - ...e2.dateUntil(a2, t2, r2, i2), - ...nanoToDurationTimeFields(s2) + const [a2, s2, c2] = ((e3, n3, t3) => { + let o3 = n3, r3 = diffTimes(e3, n3); + return Math.sign(r3) === -t3 && (o3 = moveByDays(n3, -t3), r3 += Qr * t3), [e3, o3, r3]; + })(n2, t2, o2); + return { + ...e2.dateUntil(a2, s2, r2, i2), + ...nanoToDurationTimeFields(c2) }; } function diffEpochNanos(e2, n2, t2, o2, r2, i2) { return { - ...Fi, + ...Si, ...nanoToDurationDayTimeFields(roundBigNano(re(e2, n2), o2, r2, i2), t2) }; } function diffEpochNanosExact(e2, n2, t2) { return { - ...Fi, + ...Si, ...nanoToDurationDayTimeFields(re(e2, n2), t2) }; } @@ -25004,15 +25005,15 @@ function createIntlCalendar(e2) { function epochMilliToIntlFields(e3) { return ((e4, n3) => ({ ...parseIntlYear(e4, n3), - o: e4.month, + F: e4.month, day: parseInt(e4.day) }))(hashIntlFormatParts(n2, e3), t2); } - const n2 = Wa(e2), t2 = computeCalendarIdBase(e2); + const n2 = La(e2), t2 = computeCalendarIdBase(e2); return { id: e2, - h: createIntlFieldCache(epochMilliToIntlFields), - l: createIntlYearDataCache(epochMilliToIntlFields) + O: createIntlFieldCache(epochMilliToIntlFields), + B: createIntlYearDataCache(epochMilliToIntlFields) }; } function createIntlFieldCache(e2) { @@ -25022,7 +25023,7 @@ function createIntlFieldCache(e2) { }, WeakMap); } function createIntlYearDataCache(e2) { - const n2 = e2(0).year - ji; + const n2 = e2(0).year - Wi; return Jn((t2) => { let o2, r2 = isoArgsToEpochMilli(t2 - n2); const i2 = [], a2 = []; @@ -25030,21 +25031,20 @@ function createIntlYearDataCache(e2) { r2 += 400 * Gr; } while ((o2 = e2(r2)).year <= t2); do { - r2 += (1 - o2.day) * Gr, o2.year === t2 && (i2.push(r2), a2.push(o2.o)), r2 -= Gr; + r2 += (1 - o2.day) * Gr, o2.year === t2 && (i2.push(r2), a2.push(o2.F)), r2 -= Gr; } while ((o2 = e2(r2)).year >= t2); return { - i: i2.reverse(), - u: Wr(a2.reverse()) + k: i2.reverse(), + C: Wr(a2.reverse()) }; }); } function parseIntlYear(e2, n2) { let t2, o2, r2 = parseIntlPartsYear(e2); if (e2.era) { - const a2 = Di[n2]; - void 0 !== a2 && (i2 = (i2 = e2.era).normalize("NFD").toLowerCase().replace(/[^a-z0-9]/g, ""), t2 = Ii[i2] || i2, o2 = r2, r2 = eraYearToYear(o2, a2[t2] || 0)); + const i2 = Di[n2]; + void 0 !== i2 && (t2 = "islamic" === n2 ? "ah" : e2.era.normalize("NFD").toLowerCase().replace(/[^a-z0-9]/g, ""), "bc" === t2 || "b" === t2 ? t2 = "bce" : "ad" !== t2 && "a" !== t2 || (t2 = "ce"), o2 = r2, r2 = eraYearToYear(o2, i2[t2] || 0)); } - var i2; return { era: t2, eraYear: o2, @@ -25055,11 +25055,11 @@ function parseIntlPartsYear(e2) { return parseInt(e2.relatedYear || e2.year); } function computeIntlDateParts(e2) { - const { year: n2, o: t2, day: o2 } = this.h(e2), { u: r2 } = this.l(n2); + const { year: n2, F: t2, day: o2 } = this.O(e2), { C: r2 } = this.B(n2); return [n2, r2[t2] + 1, o2]; } function computeIntlEpochMilli(e2, n2 = 1, t2 = 1) { - return this.l(e2).i[n2 - 1] + (t2 - 1) * Gr; + return this.B(e2).k[n2 - 1] + (t2 - 1) * Gr; } function computeIntlLeapMonth(e2) { const n2 = queryMonthStrings(this, e2), t2 = queryMonthStrings(this, e2 - 1), o2 = n2.length; @@ -25079,21 +25079,21 @@ function computeIntlDaysInYear(e2) { return diffEpochMilliByDay(computeIntlEpochMilli.call(this, e2), computeIntlEpochMilli.call(this, e2 + 1)); } function computeIntlDaysInMonth(e2, n2) { - const { i: t2 } = this.l(e2); + const { k: t2 } = this.B(e2); let o2 = n2 + 1, r2 = t2; - return o2 > t2.length && (o2 = 1, r2 = this.l(e2 + 1).i), diffEpochMilliByDay(t2[n2 - 1], r2[o2 - 1]); + return o2 > t2.length && (o2 = 1, r2 = this.B(e2 + 1).k), diffEpochMilliByDay(t2[n2 - 1], r2[o2 - 1]); } function computeIntlMonthsInYear(e2) { - return this.l(e2).i.length; + return this.B(e2).k.length; } function queryMonthStrings(e2, n2) { - return Object.keys(e2.l(n2).u); + return Object.keys(e2.B(n2).C); } function rn(e2) { return an(m(e2)); } function an(e2) { - if ((e2 = e2.toLowerCase()) !== X && e2 !== gi && computeCalendarIdBase(e2) !== computeCalendarIdBase(Wa(e2).resolvedOptions().calendar)) { + if ((e2 = e2.toLowerCase()) !== X && e2 !== gi && computeCalendarIdBase(e2) !== computeCalendarIdBase(La(e2).resolvedOptions().calendar)) { throw new RangeError(invalidCalendar(e2)); } return e2; @@ -25102,17 +25102,17 @@ function computeCalendarIdBase(e2) { return "islamicc" === e2 && (e2 = "islamic"), e2.split("-")[0]; } function computeNativeWeekOfYear(e2) { - return this.m(e2)[0]; + return this.R(e2)[0]; } function computeNativeYearOfWeek(e2) { - return this.m(e2)[1]; + return this.R(e2)[1]; } function computeNativeDayOfYear(e2) { - const [n2] = this.v(e2); - return diffEpochMilliByDay(this.p(n2), isoToEpochMilli(e2)) + 1; + const [n2] = this.h(e2); + return diffEpochMilliByDay(this.q(n2), isoToEpochMilli(e2)) + 1; } function parseMonthCode(e2) { - const n2 = ja.exec(e2); + const n2 = Wa.exec(e2); if (!n2) { throw new RangeError(invalidMonthCode(e2)); } @@ -25131,7 +25131,7 @@ function getCalendarEraOrigins(e2) { return Di[getCalendarIdBase(e2)]; } function getCalendarLeapMonthMeta(e2) { - return Mi[getCalendarIdBase(e2)]; + return Ii[getCalendarIdBase(e2)]; } function getCalendarIdBase(e2) { return computeCalendarIdBase(e2.id || X); @@ -25177,16 +25177,16 @@ function nt(e2, n2, t2, o2) { } function K(e2, n2, t2, o2, r2 = []) { const i2 = refineCalendarFields(e2, t2, en, r2); - return n2 && void 0 !== i2.month && void 0 === i2.monthCode && void 0 === i2.year && (i2.year = xi), e2.monthDayFromFields(i2, o2); + return n2 && void 0 !== i2.month && void 0 === i2.monthCode && void 0 === i2.year && (i2.year = ji), e2.monthDayFromFields(i2, o2); } function Ue(e2, n2) { const t2 = H(n2); return Ge(refineTimeBag(refineFields(e2, ei, [], 1), t2)); } function Ht(e2) { - const n2 = refineFields(e2, yi); + const n2 = refineFields(e2, Ni); return Vt(checkDurationUnits({ - ...Fi, + ...Si, ...n2 })); } @@ -25205,7 +25205,7 @@ function refineFields(e2, n2, t2, o2 = !t2) { } let n3 = e2[o3]; if (void 0 !== n3) { - a2 = 1, Ha[o3] && (n3 = Ha[o3](n3, o3)), r2[o3] = n3; + a2 = 1, Ga[o3] && (n3 = Ga[o3](n3, o3)), r2[o3] = n3; } else if (t2) { if (t2.includes(o3)) { throw new TypeError(missingField(o3)); @@ -25220,7 +25220,7 @@ function refineFields(e2, n2, t2, o2 = !t2) { return r2; } function refineTimeBag(e2, n2) { - return constrainIsoTimeFields(Va({ + return constrainIsoTimeFields(Ha({ ...hi, ...e2 }), n2); @@ -25278,7 +25278,7 @@ function Be(e2, n2, t2) { function kt(e2, n2) { return Vt((t2 = e2, o2 = n2, checkDurationUnits({ ...t2, - ...refineFields(o2, yi) + ...refineFields(o2, Ni) }))); var t2, o2; } @@ -25329,7 +25329,7 @@ function refineMonth(e2, n2, t2, o2) { let { month: r2, monthCode: i2 } = n2; if (void 0 !== i2) { const n3 = ((e3, n4, t3, o3) => { - const r3 = e3.P(t3), [i3, a2] = parseMonthCode(n4); + const r3 = e3.U(t3), [i3, a2] = parseMonthCode(n4); let s2 = monthCodeNumberToMonth(i3, a2, r3); if (a2) { const n5 = getCalendarLeapMonthMeta(e3); @@ -25364,10 +25364,10 @@ function refineMonth(e2, n2, t2, o2) { } else if (void 0 === r2) { throw new TypeError(Nr); } - return clampEntity("month", r2, 1, e2.j(t2), o2); + return clampEntity("month", r2, 1, e2.L(t2), o2); } function refineDay(e2, n2, t2, o2, r2) { - return clampProp(n2, "day", 1, e2.N(o2, t2), r2); + return clampProp(n2, "day", 1, e2.j(o2, t2), r2); } function spliceFields(e2, n2, t2, o2) { let r2 = 0; @@ -25388,7 +25388,7 @@ function vn(e2, n2, t2, o2, r2 = X) { return Yn(checkEpochNanoInBounds(bigIntToBigNano(toBigInt(t2))), n2(o2), e2(r2)); } function pt(e2, n2, t2, o2, r2 = 0, i2 = 0, a2 = 0, s2 = 0, c2 = 0, u2 = 0, l2 = X) { - return ee(checkIsoDateTimeInBounds(checkIsoDateTimeFields(T(toInteger, zipProps(Bi, [n2, t2, o2, r2, i2, a2, s2, c2, u2])))), e2(l2)); + return ee(checkIsoDateTimeInBounds(checkIsoDateTimeFields(T(toInteger, zipProps(wi, [n2, t2, o2, r2, i2, a2, s2, c2, u2])))), e2(l2)); } function Nt(e2, n2, t2, o2, r2 = X) { return v(checkIsoDateInBounds(checkIsoDateFields(T(toInteger, { @@ -25405,7 +25405,7 @@ function tt(e2, n2, t2, o2 = X, r2 = 1) { isoDay: toInteger(r2) })), s2); } -function G(e2, n2, t2, o2 = X, r2 = xi) { +function G(e2, n2, t2, o2 = X, r2 = ji) { const i2 = toInteger(n2), a2 = toInteger(t2), s2 = e2(o2); return createPlainMonthDaySlots(checkIsoDateInBounds(checkIsoDateFields({ isoYear: toInteger(r2), @@ -25561,7 +25561,7 @@ function getPreferredCalendarSlot(e2, n2) { function createNativeOpsCreator(e2, n2) { return (t2) => t2 === X ? e2 : t2 === gi || t2 === Ti ? Object.assign(Object.create(e2), { id: t2 - }) : Object.assign(Object.create(n2), La(t2)); + }) : Object.assign(Object.create(n2), Aa(t2)); } function createOptionsTransformer(e2, n2, t2) { const o2 = new Set(t2); @@ -25572,11 +25572,11 @@ function createOptionsTransformer(e2, n2, t2) { } } return 0; - })(r2 = V(o2, r2), e2) || Object.assign(r2, n2), t2 && (r2.timeZone = Da, ["full", "long"].includes(r2.timeStyle) && (r2.timeStyle = "medium")), r2); + })(r2 = V(o2, r2), e2) || Object.assign(r2, n2), t2 && (r2.timeZone = Ta, ["full", "long"].includes(r2.timeStyle) && (r2.timeStyle = "medium")), r2); } function e(e2, n2 = qn) { const [t2, , , o2] = e2; - return (r2, i2 = ys, ...a2) => { + return (r2, i2 = Ns, ...a2) => { const s2 = n2(o2 && o2(...a2), r2, i2, t2), c2 = s2.resolvedOptions(); return [s2, ...toEpochMillis(e2, c2, a2)]; }; @@ -25606,7 +25606,7 @@ function Bn() { return he(Date.now(), be); } function Nn() { - return Ps || (Ps = new En().resolvedOptions().timeZone); + return ys || (ys = new En().resolvedOptions().timeZone); } var expectedInteger = (e2, n2) => `Non-integer ${e2}: ${n2}`; var expectedPositive = (e2, n2) => `Non-positive ${e2}: ${n2}`; @@ -25650,8 +25650,8 @@ var Zr = "Out-of-bounds duration"; var Rr = "Cannot mix duration signs"; var zr = "Missing relativeTo"; var qr = "Cannot use large units"; -var Ar = "Required smallestUnit or largestUnit"; -var Ur = "smallestUnit > largestUnit"; +var Ur = "Required smallestUnit or largestUnit"; +var Ar = "smallestUnit > largestUnit"; var failedParse = (e2) => `Cannot parse: ${e2}`; var invalidSubstring = (e2) => `Invalid substring: ${e2}`; var Ln = (e2) => `Cannot format ${e2}`; @@ -25746,86 +25746,82 @@ var Di = { } }; var Ii = { - bc: "bce", - ad: "ce" -}; -var Mi = { chinese: 13, dangi: 13, hebrew: -6 }; var m = /* @__PURE__ */ E(requireType, "string"); var f = /* @__PURE__ */ E(requireType, "boolean"); -var Ni = /* @__PURE__ */ E(requireType, "number"); +var Mi = /* @__PURE__ */ E(requireType, "number"); var $ = /* @__PURE__ */ E(requireType, "function"); var F = /* @__PURE__ */ Et.map((e2) => e2 + "s"); -var yi = /* @__PURE__ */ sortStrings(F); -var Pi = /* @__PURE__ */ F.slice(0, 6); -var vi = /* @__PURE__ */ F.slice(6); -var Ei = /* @__PURE__ */ vi.slice(1); -var Si = /* @__PURE__ */ Wr(F); -var Fi = /* @__PURE__ */ jr(F, 0); -var bi = /* @__PURE__ */ jr(Pi, 0); -var Oi = /* @__PURE__ */ E(zeroOutProps, F); +var Ni = /* @__PURE__ */ sortStrings(F); +var yi = /* @__PURE__ */ F.slice(0, 6); +var Pi = /* @__PURE__ */ F.slice(6); +var vi = /* @__PURE__ */ Pi.slice(1); +var Ei = /* @__PURE__ */ Wr(F); +var Si = /* @__PURE__ */ jr(F, 0); +var Fi = /* @__PURE__ */ jr(yi, 0); +var bi = /* @__PURE__ */ E(zeroOutProps, F); var j = ["isoNanosecond", "isoMicrosecond", "isoMillisecond", "isoSecond", "isoMinute", "isoHour"]; -var wi = ["isoDay", "isoMonth", "isoYear"]; -var Bi = /* @__PURE__ */ j.concat(wi); -var ki = /* @__PURE__ */ sortStrings(wi); -var Yi = /* @__PURE__ */ sortStrings(j); -var Ci = /* @__PURE__ */ sortStrings(Bi); -var Dt = /* @__PURE__ */ jr(Yi, 0); -var Zi = /* @__PURE__ */ E(zeroOutProps, Bi); +var Oi = ["isoDay", "isoMonth", "isoYear"]; +var wi = /* @__PURE__ */ j.concat(Oi); +var Bi = /* @__PURE__ */ sortStrings(Oi); +var ki = /* @__PURE__ */ sortStrings(j); +var Yi = /* @__PURE__ */ sortStrings(wi); +var Dt = /* @__PURE__ */ jr(ki, 0); +var Ci = /* @__PURE__ */ E(zeroOutProps, wi); var En = Intl.DateTimeFormat; -var Ri = "en-GB"; -var zi = 1e8; -var qi = zi * Gr; -var Ai = [zi, 0]; -var Ui = [-zi, 0]; -var Li = 275760; -var Wi = -271821; -var ji = 1970; -var xi = 1972; -var $i = 12; -var Gi = /* @__PURE__ */ isoArgsToEpochMilli(1868, 9, 8); -var Hi = /* @__PURE__ */ Jn(computeJapaneseEraParts, WeakMap); -var Vi = "smallestUnit"; -var _i = "unit"; -var Ji = "roundingIncrement"; -var Ki = "fractionalSecondDigits"; -var Qi = "relativeTo"; -var Xi = { +var Zi = "en-GB"; +var Ri = 1e8; +var zi = Ri * Gr; +var qi = [Ri, 0]; +var Ui = [-Ri, 0]; +var Ai = 275760; +var Li = -271821; +var Wi = 1970; +var ji = 1972; +var xi = 12; +var $i = /* @__PURE__ */ isoArgsToEpochMilli(1868, 9, 8); +var Gi = /* @__PURE__ */ Jn(computeJapaneseEraParts, WeakMap); +var Hi = "smallestUnit"; +var Vi = "unit"; +var _i = "roundingIncrement"; +var Ji = "fractionalSecondDigits"; +var Ki = "relativeTo"; +var Qi = { constrain: 0, reject: 1 }; -var ea = /* @__PURE__ */ Object.keys(Xi); -var na = { +var Xi = /* @__PURE__ */ Object.keys(Qi); +var ea = { compatible: 0, reject: 1, earlier: 2, later: 3 }; -var ta = { +var na = { reject: 0, use: 1, prefer: 2, ignore: 3 }; -var oa = { +var ta = { auto: 0, never: 1, critical: 2, always: 3 }; -var ra = { +var oa = { auto: 0, never: 1, critical: 2 }; -var ia = { +var ra = { auto: 0, never: 1 }; -var aa = { +var ia = { floor: 0, halfFloor: 1, ceil: 2, @@ -25836,16 +25832,16 @@ var aa = { halfExpand: 7, halfEven: 8 }; -var sa = /* @__PURE__ */ E(refineUnitOption, Vi); -var ca = /* @__PURE__ */ E(refineUnitOption, "largestUnit"); -var ua = /* @__PURE__ */ E(refineUnitOption, _i); -var la = /* @__PURE__ */ E(refineChoiceOption, "overflow", Xi); -var fa = /* @__PURE__ */ E(refineChoiceOption, "disambiguation", na); -var da = /* @__PURE__ */ E(refineChoiceOption, "offset", ta); -var ma = /* @__PURE__ */ E(refineChoiceOption, "calendarName", oa); -var pa = /* @__PURE__ */ E(refineChoiceOption, "timeZoneName", ra); -var ha = /* @__PURE__ */ E(refineChoiceOption, "offset", ia); -var ga = /* @__PURE__ */ E(refineChoiceOption, "roundingMode", aa); +var aa = /* @__PURE__ */ E(refineUnitOption, Hi); +var sa = /* @__PURE__ */ E(refineUnitOption, "largestUnit"); +var ca = /* @__PURE__ */ E(refineUnitOption, Vi); +var ua = /* @__PURE__ */ E(refineChoiceOption, "overflow", Qi); +var la = /* @__PURE__ */ E(refineChoiceOption, "disambiguation", ea); +var fa = /* @__PURE__ */ E(refineChoiceOption, "offset", na); +var da = /* @__PURE__ */ E(refineChoiceOption, "calendarName", ta); +var ma = /* @__PURE__ */ E(refineChoiceOption, "timeZoneName", oa); +var pa = /* @__PURE__ */ E(refineChoiceOption, "offset", ra); +var ha = /* @__PURE__ */ E(refineChoiceOption, "roundingMode", ia); var L = "PlainYearMonth"; var q = "PlainMonthDay"; var J = "PlainDate"; @@ -25854,34 +25850,34 @@ var xe = "PlainTime"; var Te = "ZonedDateTime"; var Oe = "Instant"; var qt = "Duration"; -var Ta = [Math.floor, (e2) => hasHalf(e2) ? Math.floor(e2) : Math.round(e2), Math.ceil, (e2) => hasHalf(e2) ? Math.ceil(e2) : Math.round(e2), Math.trunc, (e2) => hasHalf(e2) ? Math.trunc(e2) || 0 : Math.round(e2), (e2) => e2 < 0 ? Math.floor(e2) : Math.ceil(e2), (e2) => Math.sign(e2) * Math.round(Math.abs(e2)) || 0, (e2) => hasHalf(e2) ? (e2 = Math.trunc(e2) || 0) + e2 % 2 : Math.round(e2)]; -var Da = "UTC"; -var Ia = 5184e3; -var Ma = /* @__PURE__ */ isoArgsToEpochSec(1847); -var Na = /* @__PURE__ */ isoArgsToEpochSec(/* @__PURE__ */ (/* @__PURE__ */ new Date()).getUTCFullYear() + 10); -var ya = /0+$/; +var ga = [Math.floor, (e2) => hasHalf(e2) ? Math.floor(e2) : Math.round(e2), Math.ceil, (e2) => hasHalf(e2) ? Math.ceil(e2) : Math.round(e2), Math.trunc, (e2) => hasHalf(e2) ? Math.trunc(e2) || 0 : Math.round(e2), (e2) => e2 < 0 ? Math.floor(e2) : Math.ceil(e2), (e2) => Math.sign(e2) * Math.round(Math.abs(e2)) || 0, (e2) => hasHalf(e2) ? (e2 = Math.trunc(e2) || 0) + e2 % 2 : Math.round(e2)]; +var Ta = "UTC"; +var Da = 5184e3; +var Ia = /* @__PURE__ */ isoArgsToEpochSec(1847); +var Ma = /* @__PURE__ */ isoArgsToEpochSec(/* @__PURE__ */ (/* @__PURE__ */ new Date()).getUTCFullYear() + 10); +var Na = /0+$/; var fn = /* @__PURE__ */ Jn(_zonedEpochSlotsToIso, WeakMap); -var Pa = 2 ** 32 - 1; +var ya = 2 ** 32 - 1; var ie = /* @__PURE__ */ Jn((e2) => { const n2 = getTimeZoneEssence(e2); return "object" == typeof n2 ? new IntlTimeZone(n2) : new FixedTimeZone(n2 || 0); }); var FixedTimeZone = class { constructor(e2) { - this.R = e2; + this.v = e2; } getOffsetNanosecondsFor() { - return this.R; + return this.v; } getPossibleInstantsFor(e2) { - return [isoToEpochNanoWithOffset(e2, this.R)]; + return [isoToEpochNanoWithOffset(e2, this.v)]; } - B() { + l() { } }; var IntlTimeZone = class { constructor(e2) { - this.q = ((e3) => { + this.$ = ((e3) => { function getOffsetSec(e4) { const i2 = clampNumber(e4, o2, r2), [a2, s2] = computePeriod(i2), c2 = n2(a2), u2 = n2(s2); return c2 === u2 ? c2 : pinch(t2(a2, s2), c2, u2, e4); @@ -25895,9 +25891,9 @@ var IntlTimeZone = class { return i2; } const n2 = Jn(e3), t2 = Jn(createSplitTuple); - let o2 = Ma, r2 = Na; + let o2 = Ia, r2 = Ma; return { - J(e4) { + G(e4) { const n3 = getOffsetSec(e4 - 86400), t3 = getOffsetSec(e4 + 86400), o3 = e4 - n3, r3 = e4 - t3; if (n3 === t3) { return [o3]; @@ -25905,11 +25901,11 @@ var IntlTimeZone = class { const i2 = getOffsetSec(o3); return i2 === getOffsetSec(r3) ? [e4 - i2] : n3 > t3 ? [o3, r3] : []; }, - _: getOffsetSec, - B(e4, i2) { + V: getOffsetSec, + l(e4, i2) { const a2 = clampNumber(e4, o2, r2); let [s2, c2] = computePeriod(a2); - const u2 = Ia * i2, l2 = i2 < 0 ? () => c2 > o2 || (o2 = a2, 0) : () => s2 < r2 || (r2 = a2, 0); + const u2 = Da * i2, l2 = i2 < 0 ? () => c2 > o2 || (o2 = a2, 0) : () => s2 < r2 || (r2 = a2, 0); for (; l2(); ) { const o3 = n2(s2), r3 = n2(c2); if (o3 !== r3) { @@ -25930,36 +25926,36 @@ var IntlTimeZone = class { })(e2)); } getOffsetNanosecondsFor(e2) { - return this.q._(epochNanoToSec(e2)) * _r; + return this.$.V(epochNanoToSec(e2)) * _r; } getPossibleInstantsFor(e2) { const [n2, t2] = [isoArgsToEpochSec((o2 = e2).isoYear, o2.isoMonth, o2.isoDay, o2.isoHour, o2.isoMinute, o2.isoSecond), o2.isoMillisecond * be + o2.isoMicrosecond * Vr + o2.isoNanosecond]; var o2; - return this.q.J(n2).map((e3) => checkEpochNanoInBounds(moveBigNano(he(e3, _r), t2))); + return this.$.G(n2).map((e3) => checkEpochNanoInBounds(moveBigNano(he(e3, _r), t2))); } - B(e2, n2) { - const [t2, o2] = epochNanoToSecMod(e2), r2 = this.q.B(t2 + (n2 > 0 || o2 ? 1 : 0), n2); + l(e2, n2) { + const [t2, o2] = epochNanoToSecMod(e2), r2 = this.$.l(t2 + (n2 > 0 || o2 ? 1 : 0), n2); if (void 0 !== r2) { return he(r2, _r); } } }; -var va = "([+\u2212-])"; -var Ea = "(?:[.,](\\d{1,9}))?"; -var Sa = `(?:(?:${va}(\\d{6}))|(\\d{4}))-?(\\d{2})`; -var Fa = "(\\d{2})(?::?(\\d{2})(?::?(\\d{2})" + Ea + ")?)?"; -var ba = va + Fa; -var Oa = Sa + "-?(\\d{2})(?:[T ]" + Fa + "(Z|" + ba + ")?)?"; -var wa = "\\[(!?)([^\\]]*)\\]"; -var Ba = `((?:${wa}){0,9})`; -var ka = /* @__PURE__ */ createRegExp(Sa + Ba); -var Ya = /* @__PURE__ */ createRegExp("(?:--)?(\\d{2})-?(\\d{2})" + Ba); -var Ca = /* @__PURE__ */ createRegExp(Oa + Ba); -var Za = /* @__PURE__ */ createRegExp("T?" + Fa + "(?:" + ba + ")?" + Ba); -var Ra = /* @__PURE__ */ createRegExp(ba); -var za = /* @__PURE__ */ new RegExp(wa, "g"); -var qa = /* @__PURE__ */ createRegExp(`${va}?P(\\d+Y)?(\\d+M)?(\\d+W)?(\\d+D)?(?:T(?:(\\d+)${Ea}H)?(?:(\\d+)${Ea}M)?(?:(\\d+)${Ea}S)?)?`); -var Aa = /* @__PURE__ */ Jn((e2) => new En(Ri, { +var Pa = "([+\u2212-])"; +var va = "(?:[.,](\\d{1,9}))?"; +var Ea = `(?:(?:${Pa}(\\d{6}))|(\\d{4}))-?(\\d{2})`; +var Sa = "(\\d{2})(?::?(\\d{2})(?::?(\\d{2})" + va + ")?)?"; +var Fa = Pa + Sa; +var ba = Ea + "-?(\\d{2})(?:[T ]" + Sa + "(Z|" + Fa + ")?)?"; +var Oa = "\\[(!?)([^\\]]*)\\]"; +var wa = `((?:${Oa}){0,9})`; +var Ba = /* @__PURE__ */ createRegExp(Ea + wa); +var ka = /* @__PURE__ */ createRegExp("(?:--)?(\\d{2})-?(\\d{2})" + wa); +var Ya = /* @__PURE__ */ createRegExp(ba + wa); +var Ca = /* @__PURE__ */ createRegExp("T?" + Sa + "(?:" + Fa + ")?" + wa); +var Za = /* @__PURE__ */ createRegExp(Fa); +var Ra = /* @__PURE__ */ new RegExp(Oa, "g"); +var za = /* @__PURE__ */ createRegExp(`${Pa}?P(\\d+Y)?(\\d+M)?(\\d+W)?(\\d+D)?(?:T(?:(\\d+)${va}H)?(?:(\\d+)${va}M)?(?:(\\d+)${va}S)?)?`); +var qa = /* @__PURE__ */ Jn((e2) => new En(Zi, { timeZone: e2, era: "short", year: "numeric", @@ -25970,17 +25966,17 @@ var Aa = /* @__PURE__ */ Jn((e2) => new En(Ri, { second: "numeric" })); var Ua = /^(AC|AE|AG|AR|AS|BE|BS|CA|CN|CS|CT|EA|EC|IE|IS|JS|MI|NE|NS|PL|PN|PR|PS|SS|VS)T$/; -var La = /* @__PURE__ */ Jn(createIntlCalendar); -var Wa = /* @__PURE__ */ Jn((e2) => new En(Ri, { +var Aa = /* @__PURE__ */ Jn(createIntlCalendar); +var La = /* @__PURE__ */ Jn((e2) => new En(Zi, { calendar: e2, - timeZone: Da, + timeZone: Ta, era: "short", year: "numeric", month: "short", day: "numeric" })); -var ja = /^M(\d{2})(L?)$/; -var xa = { +var Wa = /^M(\d{2})(L?)$/; +var ja = { era: toStringViaPrimitive, eraYear: toInteger, year: toInteger, @@ -25988,24 +25984,24 @@ var xa = { monthCode: toStringViaPrimitive, day: toPositiveInteger }; -var $a = /* @__PURE__ */ jr(w, toInteger); -var Ga = /* @__PURE__ */ jr(F, toStrictInteger); -var Ha = /* @__PURE__ */ Object.assign({}, xa, $a, Ga, { +var xa = /* @__PURE__ */ jr(w, toInteger); +var $a = /* @__PURE__ */ jr(F, toStrictInteger); +var Ga = /* @__PURE__ */ Object.assign({}, ja, xa, $a, { offset: toStringViaPrimitive }); -var Va = /* @__PURE__ */ E(remapProps, w, j); -var _a = { +var Ha = /* @__PURE__ */ E(remapProps, w, j); +var Va = { dateAdd(e2, n2, t2) { const o2 = H(t2); let r2, { years: i2, months: a2, weeks: s2, days: c2 } = n2; if (c2 += durationFieldsToBigNano(n2, 5)[0], i2 || a2) { r2 = ((e3, n3, t3, o3, r3) => { - let [i3, a3, s3] = e3.v(n3); + let [i3, a3, s3] = e3.h(n3); if (t3) { - const [n4, o4] = e3.$(i3, a3); - i3 += t3, a3 = monthCodeNumberToMonth(n4, o4, e3.P(i3)), a3 = clampEntity("month", a3, 1, e3.j(i3), r3); + const [n4, o4] = e3.I(i3, a3); + i3 += t3, a3 = monthCodeNumberToMonth(n4, o4, e3.U(i3)), a3 = clampEntity("month", a3, 1, e3.L(i3), r3); } - return o3 && ([i3, a3] = e3.G(i3, a3, o3)), s3 = clampEntity("day", s3, 1, e3.N(i3, a3), r3), e3.p(i3, a3, s3); + return o3 && ([i3, a3] = e3._(i3, a3, o3)), s3 = clampEntity("day", s3, 1, e3.j(i3, a3), r3), e3.q(i3, a3, s3); })(this, e2, i2, a2, o2); } else { if (!s2 && !c2) { @@ -26025,33 +26021,33 @@ var _a = { ...Dt }); return 7 === t2 && ([o3, r3] = divModTrunc(r3, 7)), { - ...Fi, + ...Si, weeks: o3, days: r3 }; } - const o2 = this.v(e2), r2 = this.v(n2); + const o2 = this.h(e2), r2 = this.h(n2); let [i2, a2, s2] = ((e3, n3, t3, o3, r3, i3, a3) => { let s3 = r3 - n3, c2 = i3 - t3, u2 = a3 - o3; if (s3 || c2) { const l2 = Math.sign(s3 || c2); - let f2 = e3.N(r3, i3), d2 = 0; + let f2 = e3.j(r3, i3), d2 = 0; if (Math.sign(u2) === -l2) { const o4 = f2; - [r3, i3] = e3.G(r3, i3, -l2), s3 = r3 - n3, c2 = i3 - t3, f2 = e3.N(r3, i3), d2 = l2 < 0 ? -o4 : f2; + [r3, i3] = e3._(r3, i3, -l2), s3 = r3 - n3, c2 = i3 - t3, f2 = e3.j(r3, i3), d2 = l2 < 0 ? -o4 : f2; } if (u2 = a3 - Math.min(o3, f2) + d2, s3) { - const [o4, a4] = e3.$(n3, t3), [u3, f3] = e3.$(r3, i3); + const [o4, a4] = e3.I(n3, t3), [u3, f3] = e3.I(r3, i3); if (c2 = u3 - o4 || Number(f3) - Number(a4), Math.sign(c2) === -l2) { - const t4 = l2 < 0 && -e3.j(r3); - s3 = (r3 -= l2) - n3, c2 = i3 - monthCodeNumberToMonth(o4, a4, e3.P(r3)) + (t4 || e3.j(r3)); + const t4 = l2 < 0 && -e3.L(r3); + s3 = (r3 -= l2) - n3, c2 = i3 - monthCodeNumberToMonth(o4, a4, e3.U(r3)) + (t4 || e3.L(r3)); } } } return [s3, c2, u2]; })(this, ...o2, ...r2); - return 8 === t2 && (a2 += this.V(i2, o2[0]), i2 = 0), { - ...Fi, + return 8 === t2 && (a2 += this.J(i2, o2[0]), i2 = 0), { + ...Si, years: i2, months: a2, days: s2 @@ -26059,36 +26055,36 @@ var _a = { }, dateFromFields(e2, n2) { const t2 = H(n2), o2 = refineYear(this, e2), r2 = refineMonth(this, e2, o2, t2), i2 = refineDay(this, e2, r2, o2, t2); - return v(checkIsoDateInBounds(this.L(o2, r2, i2)), this.id || X); + return v(checkIsoDateInBounds(this.P(o2, r2, i2)), this.id || X); }, yearMonthFromFields(e2, n2) { const t2 = H(n2), o2 = refineYear(this, e2), r2 = refineMonth(this, e2, o2, t2); - return createPlainYearMonthSlots(checkIsoYearMonthInBounds(this.L(o2, r2, 1)), this.id || X); + return createPlainYearMonthSlots(checkIsoYearMonthInBounds(this.P(o2, r2, 1)), this.id || X); }, monthDayFromFields(e2, n2) { const t2 = H(n2), o2 = !this.id, { monthCode: r2, year: i2, month: a2 } = e2; let s2, c2, u2, l2, f2; if (void 0 !== r2) { [s2, c2] = parseMonthCode(r2), f2 = getDefinedProp(e2, "day"); - const n3 = this.k(s2, c2, f2); + const n3 = this.N(s2, c2, f2); if (!n3) { throw new RangeError(yr); } if ([u2, l2] = n3, void 0 !== a2 && a2 !== l2) { throw new RangeError(Mr); } - o2 && (l2 = clampEntity("month", l2, 1, $i, 1), f2 = clampEntity("day", f2, 1, computeIsoDaysInMonth(void 0 !== i2 ? i2 : u2, l2), t2)); + o2 && (l2 = clampEntity("month", l2, 1, xi, 1), f2 = clampEntity("day", f2, 1, computeIsoDaysInMonth(void 0 !== i2 ? i2 : u2, l2), t2)); } else { - u2 = void 0 === i2 && o2 ? xi : refineYear(this, e2), l2 = refineMonth(this, e2, u2, t2), f2 = refineDay(this, e2, l2, u2, t2); - const n3 = this.P(u2); + u2 = void 0 === i2 && o2 ? ji : refineYear(this, e2), l2 = refineMonth(this, e2, u2, t2), f2 = refineDay(this, e2, l2, u2, t2); + const n3 = this.U(u2); c2 = l2 === n3, s2 = monthToMonthCodeNumber(l2, n3); - const r3 = this.k(s2, c2, f2); + const r3 = this.N(s2, c2, f2); if (!r3) { throw new RangeError(yr); } [u2, l2] = r3; } - return createPlainMonthDaySlots(checkIsoDateInBounds(this.L(u2, l2, f2)), this.id || X); + return createPlainMonthDaySlots(checkIsoDateInBounds(this.P(u2, l2, f2)), this.id || X); }, fields(e2) { return getCalendarEraOrigins(this) && e2.includes("year") ? [...e2, ...ii] : e2; @@ -26098,30 +26094,30 @@ var _a = { return spliceFields(t2, n2, ui), getCalendarEraOrigins(this) && (spliceFields(t2, n2, ai), this.id === Ti && spliceFields(t2, n2, mi, ii)), t2; }, inLeapYear(e2) { - const [n2] = this.v(e2); + const [n2] = this.h(e2); return this.K(n2); }, monthsInYear(e2) { - const [n2] = this.v(e2); - return this.j(n2); + const [n2] = this.h(e2); + return this.L(n2); }, daysInMonth(e2) { - const [n2, t2] = this.v(e2); - return this.N(n2, t2); + const [n2, t2] = this.h(e2); + return this.j(n2, t2); }, daysInYear(e2) { - const [n2] = this.v(e2); + const [n2] = this.h(e2); return this.X(n2); }, dayOfYear: computeNativeDayOfYear, era(e2) { - return this.nn(e2)[0]; + return this.ee(e2)[0]; }, eraYear(e2) { - return this.nn(e2)[1]; + return this.ee(e2)[1]; }, monthCode(e2) { - const [n2, t2] = this.v(e2), [o2, r2] = this.$(n2, t2); + const [n2, t2] = this.h(e2), [o2, r2] = this.I(n2, t2); return ((e3, n3) => "M" + xr(e3) + (n3 ? "L" : ""))(o2, r2); }, dayOfWeek: computeIsoDayOfWeek, @@ -26129,15 +26125,15 @@ var _a = { return 7; } }; -var Ja = { +var _a = { dayOfYear: computeNativeDayOfYear, - v: computeIsoDateParts, - p: isoArgsToEpochMilli + h: computeIsoDateParts, + q: isoArgsToEpochMilli }; -var Ka = /* @__PURE__ */ Object.assign({}, Ja, { +var Ja = /* @__PURE__ */ Object.assign({}, _a, { weekOfYear: computeNativeWeekOfYear, yearOfWeek: computeNativeYearOfWeek, - m(e2) { + R(e2) { function computeWeekShift(e3) { return (7 - e3 < n2 ? 7 : 0) - e3; } @@ -26150,41 +26146,41 @@ var Ka = /* @__PURE__ */ Object.assign({}, Ja, { return u2 ? u2 > computeWeeksInYear(0) && (u2 = 1, l2++) : (u2 = computeWeeksInYear(-1), l2--), [u2, l2, c2]; } }); -var Qa = { +var Ka = { dayOfYear: computeNativeDayOfYear, - v: computeIntlDateParts, - p: computeIntlEpochMilli, + h: computeIntlDateParts, + q: computeIntlEpochMilli, weekOfYear: computeNativeWeekOfYear, yearOfWeek: computeNativeYearOfWeek, - m() { + R() { return []; } }; -var Y = /* @__PURE__ */ createNativeOpsCreator(/* @__PURE__ */ Object.assign({}, _a, Ka, { - v: computeIsoDateParts, - nn(e2) { - return this.id === gi ? computeGregoryEraParts(e2) : this.id === Ti ? Hi(e2) : []; +var Y = /* @__PURE__ */ createNativeOpsCreator(/* @__PURE__ */ Object.assign({}, Va, Ja, { + h: computeIsoDateParts, + ee(e2) { + return this.id === gi ? computeGregoryEraParts(e2) : this.id === Ti ? Gi(e2) : []; }, - $: (e2, n2) => [n2, 0], - k(e2, n2) { + I: (e2, n2) => [n2, 0], + N(e2, n2) { if (!n2) { - return [xi, e2]; + return [ji, e2]; } }, K: computeIsoInLeapYear, - P() { + U() { }, - j: computeIsoMonthsInYear, - V: (e2) => e2 * $i, - N: computeIsoDaysInMonth, + L: computeIsoMonthsInYear, + J: (e2) => e2 * xi, + j: computeIsoDaysInMonth, X: computeIsoDaysInYear, - L: (e2, n2, t2) => ({ + P: (e2, n2, t2) => ({ isoYear: e2, isoMonth: n2, isoDay: t2 }), - p: isoArgsToEpochMilli, - G: (e2, n2, t2) => (e2 += divTrunc(t2, $i), (n2 += modTrunc(t2, $i)) < 1 ? (e2--, n2 += $i) : n2 > $i && (e2++, n2 -= $i), [e2, n2]), + q: isoArgsToEpochMilli, + _: (e2, n2, t2) => (e2 += divTrunc(t2, xi), (n2 += modTrunc(t2, xi)) < 1 ? (e2--, n2 += xi) : n2 > xi && (e2++, n2 -= xi), [e2, n2]), year(e2) { return e2.isoYear; }, @@ -26192,20 +26188,20 @@ var Y = /* @__PURE__ */ createNativeOpsCreator(/* @__PURE__ */ Object.assign({}, return e2.isoMonth; }, day: (e2) => e2.isoDay -}), /* @__PURE__ */ Object.assign({}, _a, Qa, { - v: computeIntlDateParts, - nn(e2) { - const n2 = this.h(e2); +}), /* @__PURE__ */ Object.assign({}, Va, Ka, { + h: computeIntlDateParts, + ee(e2) { + const n2 = this.O(e2); return [n2.era, n2.eraYear]; }, - $(e2, n2) { + I(e2, n2) { const t2 = computeIntlLeapMonth.call(this, e2); return [monthToMonthCodeNumber(n2, t2), t2 === n2]; }, - k(e2, n2, t2) { + N(e2, n2, t2) { let [o2, r2, i2] = computeIntlDateParts.call(this, { - isoYear: xi, - isoMonth: $i, + isoYear: ji, + isoMonth: xi, isoDay: 31 }); const a2 = computeIntlLeapMonth.call(this, o2), s2 = r2 === a2; @@ -26221,9 +26217,9 @@ var Y = /* @__PURE__ */ createNativeOpsCreator(/* @__PURE__ */ Object.assign({}, const n2 = computeIntlDaysInYear.call(this, e2); return n2 > computeIntlDaysInYear.call(this, e2 - 1) && n2 > computeIntlDaysInYear.call(this, e2 + 1); }, - P: computeIntlLeapMonth, - j: computeIntlMonthsInYear, - V(e2, n2) { + U: computeIntlLeapMonth, + L: computeIntlMonthsInYear, + J(e2, n2) { const t2 = n2 + e2, o2 = Math.sign(e2), r2 = o2 < 0 ? -1 : 0; let i2 = 0; for (let e3 = n2; e3 !== t2; e3 += o2) { @@ -26231,13 +26227,13 @@ var Y = /* @__PURE__ */ createNativeOpsCreator(/* @__PURE__ */ Object.assign({}, } return i2; }, - N: computeIntlDaysInMonth, + j: computeIntlDaysInMonth, X: computeIntlDaysInYear, - L(e2, n2, t2) { + P(e2, n2, t2) { return epochMilliToIso(computeIntlEpochMilli.call(this, e2, n2, t2)); }, - p: computeIntlEpochMilli, - G(e2, n2, t2) { + q: computeIntlEpochMilli, + _(e2, n2, t2) { if (t2) { if (n2 += t2, !Number.isSafeInteger(n2)) { throw new RangeError(Cr); @@ -26256,70 +26252,70 @@ var Y = /* @__PURE__ */ createNativeOpsCreator(/* @__PURE__ */ Object.assign({}, return [e2, n2]; }, year(e2) { - return this.h(e2).year; + return this.O(e2).year; }, month(e2) { - const { year: n2, o: t2 } = this.h(e2), { u: o2 } = this.l(n2); + const { year: n2, F: t2 } = this.O(e2), { C: o2 } = this.B(n2); return o2[t2] + 1; }, day(e2) { - return this.h(e2).day; + return this.O(e2).day; } })); -var Xa = "numeric"; -var es = ["timeZoneName"]; -var ns = { - month: Xa, - day: Xa +var Qa = "numeric"; +var Xa = ["timeZoneName"]; +var es = { + month: Qa, + day: Qa }; -var ts = { - year: Xa, - month: Xa +var ns = { + year: Qa, + month: Qa }; -var os = /* @__PURE__ */ Object.assign({}, ts, { - day: Xa +var ts = /* @__PURE__ */ Object.assign({}, ns, { + day: Qa }); -var rs = { - hour: Xa, - minute: Xa, - second: Xa +var os = { + hour: Qa, + minute: Qa, + second: Qa }; -var is = /* @__PURE__ */ Object.assign({}, os, rs); -var as = /* @__PURE__ */ Object.assign({}, is, { +var rs = /* @__PURE__ */ Object.assign({}, ts, os); +var is = /* @__PURE__ */ Object.assign({}, rs, { timeZoneName: "short" }); -var ss = /* @__PURE__ */ Object.keys(ts); -var cs = /* @__PURE__ */ Object.keys(ns); +var as = /* @__PURE__ */ Object.keys(ns); +var ss = /* @__PURE__ */ Object.keys(es); +var cs = /* @__PURE__ */ Object.keys(ts); var us = /* @__PURE__ */ Object.keys(os); -var ls = /* @__PURE__ */ Object.keys(rs); -var fs = ["dateStyle"]; -var ds = /* @__PURE__ */ ss.concat(fs); -var ms = /* @__PURE__ */ cs.concat(fs); -var ps = /* @__PURE__ */ us.concat(fs, ["weekday"]); -var hs = /* @__PURE__ */ ls.concat(["dayPeriod", "timeStyle"]); -var gs = /* @__PURE__ */ ps.concat(hs); -var Ts = /* @__PURE__ */ gs.concat(es); -var Ds = /* @__PURE__ */ es.concat(hs); -var Is = /* @__PURE__ */ es.concat(ps); -var Ms = /* @__PURE__ */ es.concat(["day", "weekday"], hs); -var Ns = /* @__PURE__ */ es.concat(["year", "weekday"], hs); -var ys = {}; -var t = [/* @__PURE__ */ createOptionsTransformer(gs, is), y]; -var s = [/* @__PURE__ */ createOptionsTransformer(Ts, as), y, 0, (e2, n2) => { +var ls = ["dateStyle"]; +var fs = /* @__PURE__ */ as.concat(ls); +var ds = /* @__PURE__ */ ss.concat(ls); +var ms = /* @__PURE__ */ cs.concat(ls, ["weekday"]); +var ps = /* @__PURE__ */ us.concat(["dayPeriod", "timeStyle"]); +var hs = /* @__PURE__ */ ms.concat(ps); +var gs = /* @__PURE__ */ hs.concat(Xa); +var Ts = /* @__PURE__ */ Xa.concat(ps); +var Ds = /* @__PURE__ */ Xa.concat(ms); +var Is = /* @__PURE__ */ Xa.concat(["day", "weekday"], ps); +var Ms = /* @__PURE__ */ Xa.concat(["year", "weekday"], ps); +var Ns = {}; +var t = [/* @__PURE__ */ createOptionsTransformer(hs, rs), y]; +var s = [/* @__PURE__ */ createOptionsTransformer(gs, is), y, 0, (e2, n2) => { const t2 = I(e2.timeZone); if (n2 && I(n2.timeZone) !== t2) { throw new RangeError(Fr); } return t2; }]; -var n = [/* @__PURE__ */ createOptionsTransformer(gs, is, es), isoToEpochMilli]; -var o = [/* @__PURE__ */ createOptionsTransformer(ps, os, Ds), isoToEpochMilli]; -var r = [/* @__PURE__ */ createOptionsTransformer(hs, rs, Is), (e2) => isoTimeFieldsToNano(e2) / be]; -var a = [/* @__PURE__ */ createOptionsTransformer(ds, ts, Ms), isoToEpochMilli, 1]; -var i = [/* @__PURE__ */ createOptionsTransformer(ms, ns, Ns), isoToEpochMilli, 1]; -var Ps; +var n = [/* @__PURE__ */ createOptionsTransformer(hs, rs, Xa), isoToEpochMilli]; +var o = [/* @__PURE__ */ createOptionsTransformer(ms, ts, Ts), isoToEpochMilli]; +var r = [/* @__PURE__ */ createOptionsTransformer(ps, os, Ds), (e2) => isoTimeFieldsToNano(e2) / be]; +var a = [/* @__PURE__ */ createOptionsTransformer(fs, ns, Is), isoToEpochMilli, 1]; +var i = [/* @__PURE__ */ createOptionsTransformer(ds, es, Ms), isoToEpochMilli, 1]; +var ys; -// node_modules/.pnpm/temporal-polyfill@0.2.4/node_modules/temporal-polyfill/chunks/classApi.js +// node_modules/.pnpm/temporal-polyfill@0.2.5/node_modules/temporal-polyfill/chunks/classApi.js function createSlotClass(e2, t2, n2, o2, r2) { function Class(...e3) { if (!(this instanceof Class)) { @@ -26368,7 +26364,7 @@ function rejectInvalidBag(e2) { function createCalendarFieldMethods(e2, t2) { const n2 = {}; for (const o2 in e2) { - n2[o2] = ({ F: e3 }, n3) => { + n2[o2] = ({ o: e3 }, n3) => { const r2 = no(n3) || {}, { branding: a2 } = r2, i2 = a2 === J || t2.includes(a2) ? r2 : toPlainDateSlots(n3); return e3[o2](i2); }; @@ -26381,7 +26377,7 @@ function createCalendarGetters(e2) { t2[n2] = (e3) => { const { calendar: t3 } = e3; return (o2 = t3, "string" == typeof o2 ? Y(o2) : (r2 = o2, Object.assign(Object.create(co), { - C: r2 + i: r2 })))[n2](e3); var o2, r2; }; @@ -26438,7 +26434,7 @@ function toInstantSlots(e2) { return pe(e2); } function getImplTransition(e2, t2, n2) { - const o2 = t2.B(toInstantSlots(n2).epochNanoseconds, e2); + const o2 = t2.l(toInstantSlots(n2).epochNanoseconds, e2); return o2 ? Co(_(o2)) : null; } function refineTimeZoneSlot(e2) { @@ -26590,7 +26586,7 @@ function createDateTimeFormatClass() { }); return t5 ? i2(t5)(r2, a2, ...o3) : [n3, ...e5]; }; - return prepFormat.U = n3, prepFormat; + return prepFormat.u = n3, prepFormat; })(e3, t3)); }; for (const e3 in t2) { @@ -26609,7 +26605,7 @@ function createFormatMethod(e2) { } function createProxiedMethod(e2) { return function(...t2) { - return Or.get(this).U[e2](...t2); + return Or.get(this).u[e2](...t2); }; } function createFormatPrepperForBranding(t2) { @@ -26680,7 +26676,7 @@ var lo = { calendarId: (e2) => I(e2.calendar) }; var co = /* @__PURE__ */ T((e2, t2) => function(n2) { - const { C: o2 } = this; + const { i: o2 } = this; return e2(o2[t2](Yo(v(n2, o2)))); }, eo); var uo = /* @__PURE__ */ b((e2) => (t2) => t2[e2], F.concat("sign")); @@ -26757,13 +26753,13 @@ var [Zo, bo] = createSlotClass("TimeZone", (e2) => { return { branding: "TimeZone", id: t2, - F: ie(t2) + o: ie(t2) }; }, { id: (e2) => e2.id }, { - getPossibleInstantsFor: ({ F: e2 }, t2) => e2.getPossibleInstantsFor(toPlainDateTimeSlots(t2)).map((e3) => Co(_(e3))), - getOffsetNanosecondsFor: ({ F: e2 }, t2) => e2.getOffsetNanosecondsFor(toInstantSlots(t2).epochNanoseconds), + getPossibleInstantsFor: ({ o: e2 }, t2) => e2.getPossibleInstantsFor(toPlainDateTimeSlots(t2)).map((e3) => Co(_(e3))), + getOffsetNanosecondsFor: ({ o: e2 }, t2) => e2.getOffsetNanosecondsFor(toInstantSlots(t2).epochNanoseconds), getOffsetStringFor(e2, t2) { const n2 = toInstantSlots(t2).epochNanoseconds, o2 = createAdapterOps(this, Do).getOffsetNanosecondsFor(n2); return Fe(o2); @@ -26776,8 +26772,8 @@ var [Zo, bo] = createSlotClass("TimeZone", (e2) => { const o2 = toPlainDateTimeSlots(t2), r2 = ve(n2), a2 = createAdapterOps(this); return Co(_(we(a2, o2, r2))); }, - getNextTransition: ({ F: e2 }, t2) => getImplTransition(1, e2, t2), - getPreviousTransition: ({ F: e2 }, t2) => getImplTransition(-1, e2, t2), + getNextTransition: ({ o: e2 }, t2) => getImplTransition(1, e2, t2), + getPreviousTransition: ({ o: e2 }, t2) => getImplTransition(-1, e2, t2), equals(e2, t2) { return !!je(this, refineTimeZoneSlot(t2)); }, @@ -27001,12 +26997,12 @@ var sr = { toString: (e2) => e2.id, toJSON: (e2) => e2.id, ...ro, - dateAdd: ({ id: e2, F: t2 }, n2, o2, r2) => Yo(v(t2.dateAdd(toPlainDateSlots(n2), toDurationSlots(o2), r2), e2)), - dateUntil: ({ F: e2 }, t2, n2, o2) => ar(Vt(e2.dateUntil(toPlainDateSlots(t2), toPlainDateSlots(n2), _t(o2)))), - dateFromFields: ({ id: e2, F: t2 }, n2, o2) => Yo(Yt(t2, n2, o2, ln(e2))), - yearMonthFromFields: ({ id: e2, F: t2 }, n2, o2) => jo(nt(t2, n2, o2, un(e2))), - monthDayFromFields: ({ id: e2, F: t2 }, n2, o2) => To(K(t2, 0, n2, o2, cn(e2))), - fields({ F: e2 }, t2) { + dateAdd: ({ id: e2, o: t2 }, n2, o2, r2) => Yo(v(t2.dateAdd(toPlainDateSlots(n2), toDurationSlots(o2), r2), e2)), + dateUntil: ({ o: e2 }, t2, n2, o2) => ar(Vt(e2.dateUntil(toPlainDateSlots(t2), toPlainDateSlots(n2), _t(o2)))), + dateFromFields: ({ id: e2, o: t2 }, n2, o2) => Yo(Yt(t2, n2, o2, ln(e2))), + yearMonthFromFields: ({ id: e2, o: t2 }, n2, o2) => jo(nt(t2, n2, o2, un(e2))), + monthDayFromFields: ({ id: e2, o: t2 }, n2, o2) => To(K(t2, 0, n2, o2, cn(e2))), + fields({ o: e2 }, t2) { const n2 = new Set(en), o2 = []; for (const e3 of t2) { if (m(e3), !n2.has(e3)) { @@ -27016,14 +27012,14 @@ var sr = { } return e2.fields(o2); }, - mergeFields: ({ F: e2 }, t2, n2) => e2.mergeFields(nn(on(t2)), nn(on(n2))) + mergeFields: ({ o: e2 }, t2, n2) => e2.mergeFields(nn(on(t2)), nn(on(n2))) }; var [lr] = createSlotClass("Calendar", (e2) => { const t2 = rn(e2); return { branding: "Calendar", id: t2, - F: Y(t2) + o: Y(t2) }; }, { id: (e2) => e2.id diff --git a/package.json b/package.json index 5224562e..303b8e75 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "@octokit/graphql-schema": "^15.18.0", "@octokit/plugin-paginate-graphql": "^5.2.2", "ansi-styles": "^6.2.1", - "temporal-polyfill": "^0.2.4", + "temporal-polyfill": "^0.2.5", "zod": "^3.23.8" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7a4cb99e..4c14d2bf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -24,8 +24,8 @@ dependencies: specifier: ^6.2.1 version: 6.2.1 temporal-polyfill: - specifier: ^0.2.4 - version: 0.2.4 + specifier: ^0.2.5 + version: 0.2.5 zod: specifier: ^3.23.8 version: 3.23.8 @@ -788,8 +788,8 @@ packages: resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==} dev: true - /temporal-polyfill@0.2.4: - resolution: {integrity: sha512-WA5p0CjQTkMjF9m8sP4wSYgpqI8m2d4q7wPUyaJOWhy4bI9mReLb2yGvTV4qf/DPMTe6H6M/Dig5KmTMB7ev6Q==} + /temporal-polyfill@0.2.5: + resolution: {integrity: sha512-ye47xp8Cb0nDguAhrrDS1JT1SzwEV9e26sSsrWzVu+yPZ7LzceEcH0i2gci9jWfOfSCCgM3Qv5nOYShVUUFUXA==} dependencies: temporal-spec: 0.2.4 dev: false