@1024pix/epreuves-components 4.0.0 → 4.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/dist/{Button.ce-CTKrSDrC.js → Button.ce-CIdOR7Ut.js} +2 -2
  2. package/dist/{ButtonTooltip.ce-CtHo2Dwx.js → ButtonTooltip.ce-DcDedpxX.js} +8 -8
  3. package/dist/{Cross.ce.vue_vue_type_script_setup_true_lang-CVBFTfq5.js → Cross.ce.vue_vue_type_script_setup_true_lang-BZa1HfxH.js} +4 -4
  4. package/dist/FocusManager.ce-B9q14nBB.js +131 -0
  5. package/dist/{LLMMessage.ce-Dv4hVX0C.js → LLMMessage.ce-m7gAgj3M.js} +14 -14
  6. package/dist/{Loading.ce-Bh7-h48F.js → Loading.ce-Diq78Qvm.js} +2 -2
  7. package/dist/{NavigationButton.ce-CA1M8sgV.js → NavigationButton.ce-CgVczgG8.js} +2 -2
  8. package/dist/PixMailMessage.ce-CI8R0PnN.js +261 -0
  9. package/dist/Popin.ce-BczgRCZ5.js +67 -0
  10. package/dist/{Retry-BZf7NJz9.js → Retry-vIN7ZGdK.js} +2 -2
  11. package/dist/{Stepper.ce-B1yDelzC.js → Stepper.ce-DwjG4jda.js} +4 -4
  12. package/dist/{_plugin-vue_export-helper-D0N_62VD.js → _plugin-vue_export-helper-VRfPs3B6.js} +1643 -1611
  13. package/dist/components/analyse-mails-phishing.ce.js.js +14 -14
  14. package/dist/components/calcul-impact.ce.js.js +20 -20
  15. package/dist/components/capacity-calculation.ce.js.js +22 -22
  16. package/dist/components/clickable-image.ce.js.js +30 -30
  17. package/dist/components/complete-phrase.ce.js.js +18 -18
  18. package/dist/components/flip-cards.ce.js.js +10 -10
  19. package/dist/components/image-quiz.ce.js.js +3 -3
  20. package/dist/components/image-quizzes.ce.js.js +3 -3
  21. package/dist/components/llm-compare-messages.ce.js.js +7 -7
  22. package/dist/components/llm-messages.ce.js.js +7 -7
  23. package/dist/components/llm-prompt-select.ce.js.js +5 -5
  24. package/dist/components/mdp-classement.ce.js.js +29 -29
  25. package/dist/components/message-conversation.ce.js.js +29 -29
  26. package/dist/components/mobile-shell.ce.js.js +8 -8
  27. package/dist/components/phishing-message.ce.js.js +128 -128
  28. package/dist/components/phishing-notification.ce.js.js +30 -30
  29. package/dist/components/pix-anonymisation.ce.js.js +27 -27
  30. package/dist/components/pix-article.ce.js.js +16 -16
  31. package/dist/components/pix-carousel.ce.js.js +38 -38
  32. package/dist/components/pix-combinaisons.ce.js.js +75 -74
  33. package/dist/components/pix-cursor.ce.js.js +26 -26
  34. package/dist/components/pix-mail-message.ce.js.js +3 -3
  35. package/dist/components/proteger-mail-spam.ce.js.js +89 -85
  36. package/dist/components/qcm-deepfake.ce.js.js +16 -16
  37. package/dist/components/quiz-stepper.ce.js.js +21 -21
  38. package/dist/components/select-conversation.ce.js.js +11 -11
  39. package/dist/components/template-mail.ce.js.js +4 -4
  40. package/dist/components/test-top-mdp.ce.js.js +24 -24
  41. package/dist/components/trouver-mdp-rs.ce.js.js +321 -421
  42. package/dist/{i18n-ekiZvzf6.js → i18n-C-9bWDxP.js} +270 -268
  43. package/dist/{i18n-lite-t2jNOu0C.js → i18n-lite-CZIis7T7.js} +1 -1
  44. package/dist/{image-quiz.ce-DqalWHKw.js → image-quiz.ce-COX8VOUE.js} +9 -9
  45. package/dist/{index-BpqxFmwz.js → index-DgWpXIzq.js} +1 -1
  46. package/dist/index.js +1 -1
  47. package/dist/props.examples.js +2 -2
  48. package/dist/schema.js +12 -12
  49. package/dist/shadow-dom-5ECgVh4w.js +14 -0
  50. package/dist/{temporal.utils-7Uvm62ss.js → temporal.utils-DgmGPVba.js} +537 -536
  51. package/package.json +1 -1
  52. package/dist/PixMailMessage.ce-XPDbJiyC.js +0 -219
  53. package/dist/Popin.ce-DUQ7-GMT.js +0 -197
  54. package/dist/shadow-dom-C3AZuSZe.js +0 -9
@@ -1035,50 +1035,50 @@ h.__kMaxLength = 33554432, h.__kMaxLengthBits = h.__kMaxLength << 5, h.__kMaxBit
1035
1035
  }, h.__imul = Math.imul || function(t, e) {
1036
1036
  return 0 | t * e;
1037
1037
  };
1038
- const ze = h.BigInt(0), er = h.BigInt(1), qi = h.BigInt(2), Rs = h.BigInt(10), As = h.BigInt(24), Is = h.BigInt(60), Ss = h.BigInt(1e3), dr = h.BigInt(1e6), Wt = h.BigInt(1e9), ao = h.multiply(h.BigInt(3600), Wt), $s = h.multiply(Is, Wt), Fn = h.multiply(ao, As);
1038
+ const qe = h.BigInt(0), Jt = h.BigInt(1), qi = h.BigInt(2), Rs = h.BigInt(10), As = h.BigInt(24), Ss = h.BigInt(60), Is = h.BigInt(1e3), cr = h.BigInt(1e6), Kt = h.BigInt(1e9), ao = h.multiply(h.BigInt(3600), Kt), $s = h.multiply(Ss, Kt), Fn = h.multiply(ao, As);
1039
1039
  function bn(t) {
1040
1040
  return typeof t == "bigint" ? h.BigInt(t.toString(10)) : t;
1041
1041
  }
1042
1042
  function oo(t) {
1043
- return h.equal(h.remainder(t, qi), ze);
1043
+ return h.equal(h.remainder(t, qi), qe);
1044
1044
  }
1045
1045
  function Bn(t) {
1046
- return h.lessThan(t, ze) ? h.unaryMinus(t) : t;
1046
+ return h.lessThan(t, qe) ? h.unaryMinus(t) : t;
1047
1047
  }
1048
1048
  function Sr(t, e) {
1049
1049
  return h.lessThan(t, e) ? -1 : h.greaterThan(t, e) ? 1 : 0;
1050
1050
  }
1051
- function xt(t, e) {
1051
+ function Ut(t, e) {
1052
1052
  return { quotient: h.divide(t, e), remainder: h.remainder(t, e) };
1053
1053
  }
1054
1054
  var ha, fa;
1055
- const O = "slot-epochNanoSeconds", R = "slot-iso-date", Q = "slot-iso-date-time", ee = "slot-time", M = "slot-calendar", so = "slot-date-brand", uo = "slot-year-month-brand", lo = "slot-month-day-brand", q = "slot-time-zone", ve = "slot-years", De = "slot-months", $e = "slot-weeks", Me = "slot-days", Ee = "slot-hours", Te = "slot-minutes", Ce = "slot-seconds", Le = "slot-milliseconds", ke = "slot-microseconds", Pe = "slot-nanoseconds", co = "date", ho = "ym", fo = "md", mo = "time", go = "datetime", yo = "instant", at = "original", ht = "timezone-canonical", bi = "timezone-original", jt = "calendar-id", _o = "locale", vi = "options", wo = /* @__PURE__ */ new WeakMap(), Di = /* @__PURE__ */ Symbol.for("@@Temporal__GetSlots");
1055
+ const O = "slot-epochNanoSeconds", R = "slot-iso-date", Q = "slot-iso-date-time", ee = "slot-time", M = "slot-calendar", so = "slot-date-brand", uo = "slot-year-month-brand", lo = "slot-month-day-brand", q = "slot-time-zone", ve = "slot-years", De = "slot-months", $e = "slot-weeks", Me = "slot-days", Ee = "slot-hours", Te = "slot-minutes", Ce = "slot-seconds", Le = "slot-milliseconds", ke = "slot-microseconds", Pe = "slot-nanoseconds", co = "date", ho = "ym", fo = "md", mo = "time", go = "datetime", yo = "instant", at = "original", ht = "timezone-canonical", bi = "timezone-original", xt = "calendar-id", _o = "locale", vi = "options", wo = /* @__PURE__ */ new WeakMap(), Di = /* @__PURE__ */ Symbol.for("@@Temporal__GetSlots");
1056
1056
  (ha = globalThis)[Di] || (ha[Di] = function(t) {
1057
1057
  return wo.get(t);
1058
1058
  });
1059
- const Br = globalThis[Di], Mi = /* @__PURE__ */ Symbol.for("@@Temporal__CreateSlots");
1059
+ const Wr = globalThis[Di], Mi = /* @__PURE__ */ Symbol.for("@@Temporal__CreateSlots");
1060
1060
  (fa = globalThis)[Mi] || (fa[Mi] = function(t) {
1061
1061
  wo.set(t, /* @__PURE__ */ Object.create(null));
1062
1062
  });
1063
- const In = globalThis[Mi];
1064
- function Ie(t, ...e) {
1063
+ const Sn = globalThis[Mi];
1064
+ function Se(t, ...e) {
1065
1065
  if (!t || typeof t != "object") return !1;
1066
- const n = Br(t);
1066
+ const n = Wr(t);
1067
1067
  return !!n && e.every(((r) => r in n));
1068
1068
  }
1069
1069
  function m(t, e) {
1070
- const n = Br(t)?.[e];
1070
+ const n = Wr(t)?.[e];
1071
1071
  if (n === void 0) throw new TypeError(`Missing internal slot ${e}`);
1072
1072
  return n;
1073
1073
  }
1074
1074
  function $(t, e, n) {
1075
- const r = Br(t);
1075
+ const r = Wr(t);
1076
1076
  if (r === void 0) throw new TypeError("Missing slots for the given container");
1077
1077
  if (r[e]) throw new TypeError(`${e} already has set`);
1078
1078
  r[e] = n;
1079
1079
  }
1080
1080
  const Ei = {};
1081
- function Sn(t, e) {
1081
+ function In(t, e) {
1082
1082
  Object.defineProperty(t.prototype, Symbol.toStringTag, { value: e, writable: !1, enumerable: !1, configurable: !0 });
1083
1083
  const n = Object.getOwnPropertyNames(t);
1084
1084
  for (let i = 0; i < n.length; i++) {
@@ -1121,7 +1121,7 @@ function hi(t, e, n) {
1121
1121
  const s = o + i.toPrecision(Math.trunc(1 + Math.log10(i))).padStart(e, "0");
1122
1122
  return a * Number.parseInt(s, 10);
1123
1123
  }
1124
- function Vr(t, e) {
1124
+ function Br(t, e) {
1125
1125
  const n = e === "negative";
1126
1126
  switch (t) {
1127
1127
  case "ceil":
@@ -1144,12 +1144,12 @@ function Vr(t, e) {
1144
1144
  return "half-even";
1145
1145
  }
1146
1146
  }
1147
- function Qr(t, e, n, r, i) {
1147
+ function Vr(t, e, n, r, i) {
1148
1148
  return i === "zero" ? t : i === "infinity" ? e : n < 0 ? t : n > 0 ? e : i === "half-zero" ? t : i === "half-infinity" ? e : r ? t : e;
1149
1149
  }
1150
1150
  class Y {
1151
1151
  constructor(e) {
1152
- this.totalNs = bn(e), this.sec = h.toNumber(h.divide(this.totalNs, Wt)), this.subsec = h.toNumber(h.remainder(this.totalNs, Wt));
1152
+ this.totalNs = bn(e), this.sec = h.toNumber(h.divide(this.totalNs, Kt)), this.subsec = h.toNumber(h.remainder(this.totalNs, Kt));
1153
1153
  }
1154
1154
  static validateNew(e, n) {
1155
1155
  if (h.greaterThan(Bn(e), Y.MAX)) throw new RangeError(`${n} of duration time units cannot exceed ${Y.MAX} s`);
@@ -1160,7 +1160,7 @@ class Y {
1160
1160
  return new Y(r);
1161
1161
  }
1162
1162
  static fromComponents(e, n, r, i, a, o) {
1163
- const s = h.add(h.add(h.add(h.add(h.add(h.BigInt(o), h.multiply(h.BigInt(a), Ss)), h.multiply(h.BigInt(i), dr)), h.multiply(h.BigInt(r), Wt)), h.multiply(h.BigInt(n), $s)), h.multiply(h.BigInt(e), ao));
1163
+ const s = h.add(h.add(h.add(h.add(h.add(h.BigInt(o), h.multiply(h.BigInt(a), Is)), h.multiply(h.BigInt(i), cr)), h.multiply(h.BigInt(r), Kt)), h.multiply(h.BigInt(n), $s)), h.multiply(h.BigInt(e), ao));
1164
1164
  return Y.validateNew(s, "total");
1165
1165
  }
1166
1166
  abs() {
@@ -1179,62 +1179,62 @@ class Y {
1179
1179
  return Sr(this.totalNs, e.totalNs);
1180
1180
  }
1181
1181
  divmod(e) {
1182
- const { quotient: n, remainder: r } = xt(this.totalNs, h.BigInt(e));
1182
+ const { quotient: n, remainder: r } = Ut(this.totalNs, h.BigInt(e));
1183
1183
  return { quotient: h.toNumber(n), remainder: new Y(r) };
1184
1184
  }
1185
1185
  fdiv(e) {
1186
1186
  const n = bn(e), r = h.BigInt(n);
1187
- let { quotient: i, remainder: a } = xt(this.totalNs, r);
1187
+ let { quotient: i, remainder: a } = Ut(this.totalNs, r);
1188
1188
  const o = [];
1189
1189
  let s;
1190
- const u = (h.lessThan(this.totalNs, ze) ? -1 : 1) * Math.sign(h.toNumber(n));
1191
- for (; !h.equal(a, ze) && o.length < 50; ) a = h.multiply(a, Rs), { quotient: s, remainder: a } = xt(a, r), o.push(Math.abs(h.toNumber(s)));
1190
+ const u = (h.lessThan(this.totalNs, qe) ? -1 : 1) * Math.sign(h.toNumber(n));
1191
+ for (; !h.equal(a, qe) && o.length < 50; ) a = h.multiply(a, Rs), { quotient: s, remainder: a } = Ut(a, r), o.push(Math.abs(h.toNumber(s)));
1192
1192
  return u * +(Bn(i).toString() + "." + o.join(""));
1193
1193
  }
1194
1194
  isZero() {
1195
- return h.equal(this.totalNs, ze);
1195
+ return h.equal(this.totalNs, qe);
1196
1196
  }
1197
1197
  round(e, n) {
1198
1198
  const r = bn(e);
1199
- if (h.equal(r, er)) return this;
1200
- const { quotient: i, remainder: a } = xt(this.totalNs, r), o = h.lessThan(this.totalNs, ze) ? "negative" : "positive", s = h.multiply(Bn(i), r), u = h.add(s, r), l = Sr(Bn(h.multiply(a, qi)), r), c = Vr(n, o), d = h.equal(Bn(this.totalNs), s) ? s : Qr(s, u, l, oo(i), c), f = o === "positive" ? d : h.unaryMinus(d);
1199
+ if (h.equal(r, Jt)) return this;
1200
+ const { quotient: i, remainder: a } = Ut(this.totalNs, r), o = h.lessThan(this.totalNs, qe) ? "negative" : "positive", s = h.multiply(Bn(i), r), u = h.add(s, r), l = Sr(Bn(h.multiply(a, qi)), r), c = Br(n, o), d = h.equal(Bn(this.totalNs), s) ? s : Vr(s, u, l, oo(i), c), f = o === "positive" ? d : h.unaryMinus(d);
1201
1201
  return Y.validateNew(f, "rounding");
1202
1202
  }
1203
1203
  sign() {
1204
- return this.cmp(new Y(ze));
1204
+ return this.cmp(new Y(qe));
1205
1205
  }
1206
1206
  subtract(e) {
1207
1207
  return Y.validateNew(h.subtract(this.totalNs, e.totalNs), "difference");
1208
1208
  }
1209
1209
  }
1210
- Y.MAX = h.BigInt("9007199254740991999999999"), Y.ZERO = new Y(ze);
1211
- const ma = /[A-Za-z._][A-Za-z._0-9+-]*/, hr = new RegExp(`(?:${/(?:[+-](?:[01][0-9]|2[0-3])(?::?[0-5][0-9])?)/.source}|(?:${ma.source})(?:\\/(?:${ma.source}))*)`), po = /(?:[+-]\d{6}|\d{4})/, $r = /(?:0[1-9]|1[0-2])/, Ci = /(?:0[1-9]|[12]\d|3[01])/, Ps = new RegExp(`(${po.source})(?:-(${$r.source})-(${Ci.source})|(${$r.source})(${Ci.source}))`), bo = /(\d{2})(?::(\d{2})(?::(\d{2})(?:[.,](\d{1,9}))?)?|(\d{2})(?:(\d{2})(?:[.,](\d{1,9}))?)?)?/, vo = /((?:[+-])(?:[01][0-9]|2[0-3])(?::?(?:[0-5][0-9])(?::?(?:[0-5][0-9])(?:[.,](?:\d{1,9}))?)?)?)/, Do = new RegExp(`([zZ])|${vo.source}?`), bt = /\[(!)?([a-z_][a-z0-9_-]*)=([A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)\]/g, Ys = new RegExp([`^${Ps.source}`, `(?:(?:[tT]|\\s+)${bo.source}(?:${Do.source})?)?`, `(?:\\[!?(${hr.source})\\])?`, `((?:${bt.source})*)$`].join("")), Us = new RegExp([`^[tT]?${bo.source}`, `(?:${Do.source})?`, `(?:\\[!?${hr.source}\\])?`, `((?:${bt.source})*)$`].join("")), xs = new RegExp(`^(${po.source})-?(${$r.source})(?:\\[!?${hr.source}\\])?((?:${bt.source})*)$`), js = new RegExp(`^(?:--)?(${$r.source})-?(${Ci.source})(?:\\[!?${hr.source}\\])?((?:${bt.source})*)$`), fi = /(\d+)(?:[.,](\d{1,9}))?/, Gs = new RegExp(`(?:${fi.source}H)?(?:${fi.source}M)?(?:${fi.source}S)?`), Fs = new RegExp(`^([+-])?P${/(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)W)?(?:(\d+)D)?/.source}(?:T(?!$)${Gs.source})?$`, "i"), zn = 864e5, Pr = 1e6 * zn, zs = 6e10, Mo = 1e8 * zn, vt = cn(Mo), nr = h.unaryMinus(vt), qs = h.add(h.subtract(nr, Fn), er), Hs = h.subtract(h.add(vt, Fn), er), Zs = 146097 * zn, ga = -271821, ya = 275760, Bt = Date.UTC(1847, 0, 1), Ks = ["iso8601", "hebrew", "islamic", "islamic-umalqura", "islamic-tbla", "islamic-civil", "islamic-rgsa", "islamicc", "persian", "ethiopic", "ethioaa", "ethiopic-amete-alem", "coptic", "chinese", "dangi", "roc", "indian", "buddhist", "japanese", "gregory"], Ws = /* @__PURE__ */ new Set(["ACT", "AET", "AGT", "ART", "AST", "BET", "BST", "CAT", "CNT", "CST", "CTT", "EAT", "ECT", "IET", "IST", "JST", "MIT", "NET", "NST", "PLT", "PNT", "PRT", "PST", "SST", "VST"]);
1210
+ Y.MAX = h.BigInt("9007199254740991999999999"), Y.ZERO = new Y(qe);
1211
+ const ma = /[A-Za-z._][A-Za-z._0-9+-]*/, dr = new RegExp(`(?:${/(?:[+-](?:[01][0-9]|2[0-3])(?::?[0-5][0-9])?)/.source}|(?:${ma.source})(?:\\/(?:${ma.source}))*)`), po = /(?:[+-]\d{6}|\d{4})/, Ir = /(?:0[1-9]|1[0-2])/, Ci = /(?:0[1-9]|[12]\d|3[01])/, Ps = new RegExp(`(${po.source})(?:-(${Ir.source})-(${Ci.source})|(${Ir.source})(${Ci.source}))`), bo = /(\d{2})(?::(\d{2})(?::(\d{2})(?:[.,](\d{1,9}))?)?|(\d{2})(?:(\d{2})(?:[.,](\d{1,9}))?)?)?/, vo = /((?:[+-])(?:[01][0-9]|2[0-3])(?::?(?:[0-5][0-9])(?::?(?:[0-5][0-9])(?:[.,](?:\d{1,9}))?)?)?)/, Do = new RegExp(`([zZ])|${vo.source}?`), bt = /\[(!)?([a-z_][a-z0-9_-]*)=([A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)\]/g, Ys = new RegExp([`^${Ps.source}`, `(?:(?:[tT]|\\s+)${bo.source}(?:${Do.source})?)?`, `(?:\\[!?(${dr.source})\\])?`, `((?:${bt.source})*)$`].join("")), Us = new RegExp([`^[tT]?${bo.source}`, `(?:${Do.source})?`, `(?:\\[!?${dr.source}\\])?`, `((?:${bt.source})*)$`].join("")), xs = new RegExp(`^(${po.source})-?(${Ir.source})(?:\\[!?${dr.source}\\])?((?:${bt.source})*)$`), js = new RegExp(`^(?:--)?(${Ir.source})-?(${Ci.source})(?:\\[!?${dr.source}\\])?((?:${bt.source})*)$`), fi = /(\d+)(?:[.,](\d{1,9}))?/, Gs = new RegExp(`(?:${fi.source}H)?(?:${fi.source}M)?(?:${fi.source}S)?`), Fs = new RegExp(`^([+-])?P${/(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)W)?(?:(\d+)D)?/.source}(?:T(?!$)${Gs.source})?$`, "i"), zn = 864e5, $r = 1e6 * zn, zs = 6e10, Mo = 1e8 * zn, vt = cn(Mo), er = h.unaryMinus(vt), qs = h.add(h.subtract(er, Fn), Jt), Hs = h.subtract(h.add(vt, Fn), Jt), Zs = 146097 * zn, ga = -271821, ya = 275760, Wt = Date.UTC(1847, 0, 1), Ks = ["iso8601", "hebrew", "islamic", "islamic-umalqura", "islamic-tbla", "islamic-civil", "islamic-rgsa", "islamicc", "persian", "ethiopic", "ethioaa", "ethiopic-amete-alem", "coptic", "chinese", "dangi", "roc", "indian", "buddhist", "japanese", "gregory"], Ws = /* @__PURE__ */ new Set(["ACT", "AET", "AGT", "ART", "AST", "BET", "BST", "CAT", "CNT", "CST", "CTT", "EAT", "ECT", "IET", "IST", "JST", "MIT", "NET", "NST", "PLT", "PNT", "PRT", "PST", "SST", "VST"]);
1212
1212
  function ne(t) {
1213
1213
  return typeof t == "object" && t !== null || typeof t == "function";
1214
1214
  }
1215
- function Xr(t) {
1215
+ function Qr(t) {
1216
1216
  if (typeof t == "bigint") throw new TypeError("Cannot convert BigInt to number");
1217
1217
  return Number(t);
1218
1218
  }
1219
- function Jr(t) {
1219
+ function Xr(t) {
1220
1220
  if (typeof t == "symbol") throw new TypeError("Cannot convert a Symbol value to a String");
1221
1221
  return String(t);
1222
1222
  }
1223
- function I(t) {
1224
- const e = Xr(t);
1223
+ function S(t) {
1224
+ const e = Qr(t);
1225
1225
  if (e === 0) return 0;
1226
1226
  if (Number.isNaN(e) || e === 1 / 0 || e === -1 / 0) throw new RangeError("invalid number value");
1227
1227
  const n = Math.trunc(e);
1228
1228
  return n === 0 ? 0 : n;
1229
1229
  }
1230
1230
  function _a(t, e) {
1231
- const n = I(t);
1231
+ const n = S(t);
1232
1232
  if (n <= 0)
1233
1233
  throw e !== void 0 ? new RangeError(`property '${e}' cannot be a a number less than one`) : new RangeError("Cannot convert a number less than one to a positive integer");
1234
1234
  return n;
1235
1235
  }
1236
1236
  function en(t) {
1237
- const e = Xr(t);
1237
+ const e = Qr(t);
1238
1238
  if (Number.isNaN(e)) throw new RangeError("not a number");
1239
1239
  if (e === 1 / 0 || e === -1 / 0) throw new RangeError("infinity is out of range");
1240
1240
  if (!(function(n) {
@@ -1244,7 +1244,7 @@ function en(t) {
1244
1244
  })(e)) throw new RangeError(`unsupported fractional value ${t}`);
1245
1245
  return e === 0 ? 0 : e;
1246
1246
  }
1247
- function tr(t, e) {
1247
+ function nr(t, e) {
1248
1248
  return String(t).padStart(e, "0");
1249
1249
  }
1250
1250
  function oe(t) {
@@ -1259,56 +1259,56 @@ function Li(t, e) {
1259
1259
  }
1260
1260
  return t;
1261
1261
  }
1262
- const ki = ["era", "eraYear", "year", "month", "monthCode", "day", "hour", "minute", "second", "millisecond", "microsecond", "nanosecond", "offset", "timeZone"], Bs = { era: Jr, eraYear: I, year: I, month: _a, monthCode: function(t) {
1262
+ const ki = ["era", "eraYear", "year", "month", "monthCode", "day", "hour", "minute", "second", "millisecond", "microsecond", "nanosecond", "offset", "timeZone"], Bs = { era: Xr, eraYear: S, year: S, month: _a, monthCode: function(t) {
1263
1263
  const e = oe(Li(t));
1264
1264
  if (e.length < 3 || e.length > 4 || e[0] !== "M" || "0123456789".indexOf(e[1]) === -1 || "0123456789".indexOf(e[2]) === -1 || e[1] + e[2] === "00" && e[3] !== "L" || e[3] !== "L" && e[3] !== void 0) throw new RangeError(`bad month code ${e}; must match M01-M99 or M00L-M99L`);
1265
1265
  return e;
1266
- }, day: _a, hour: I, minute: I, second: I, millisecond: I, microsecond: I, nanosecond: I, offset: function(t) {
1266
+ }, day: _a, hour: S, minute: S, second: S, millisecond: S, microsecond: S, nanosecond: S, offset: function(t) {
1267
1267
  const e = oe(Li(t));
1268
1268
  return At(e), e;
1269
- }, timeZone: Re }, Vs = { hour: 0, minute: 0, second: 0, millisecond: 0, microsecond: 0, nanosecond: 0 }, Dt = [["years", "year", "date"], ["months", "month", "date"], ["weeks", "week", "date"], ["days", "day", "date"], ["hours", "hour", "time"], ["minutes", "minute", "time"], ["seconds", "second", "time"], ["milliseconds", "millisecond", "time"], ["microseconds", "microsecond", "time"], ["nanoseconds", "nanosecond", "time"]], wa = Object.fromEntries(Dt.map(((t) => [t[0], t[1]]))), Qs = Object.fromEntries(Dt.map((([t, e]) => [e, t]))), Vt = Dt.map((([, t]) => t)), Mt = { day: Pr, hour: 36e11, minute: 6e10, second: 1e9, millisecond: 1e6, microsecond: 1e3, nanosecond: 1 }, Yr = ["days", "hours", "microseconds", "milliseconds", "minutes", "months", "nanoseconds", "seconds", "weeks", "years"], Xs = Intl.DateTimeFormat, pa = /* @__PURE__ */ new Map();
1269
+ }, timeZone: Re }, Vs = { hour: 0, minute: 0, second: 0, millisecond: 0, microsecond: 0, nanosecond: 0 }, Dt = [["years", "year", "date"], ["months", "month", "date"], ["weeks", "week", "date"], ["days", "day", "date"], ["hours", "hour", "time"], ["minutes", "minute", "time"], ["seconds", "second", "time"], ["milliseconds", "millisecond", "time"], ["microseconds", "microsecond", "time"], ["nanoseconds", "nanosecond", "time"]], wa = Object.fromEntries(Dt.map(((t) => [t[0], t[1]]))), Qs = Object.fromEntries(Dt.map((([t, e]) => [e, t]))), Bt = Dt.map((([, t]) => t)), Mt = { day: $r, hour: 36e11, minute: 6e10, second: 1e9, millisecond: 1e6, microsecond: 1e3, nanosecond: 1 }, Pr = ["days", "hours", "microseconds", "milliseconds", "minutes", "months", "nanoseconds", "seconds", "weeks", "years"], Xs = Intl.DateTimeFormat, pa = /* @__PURE__ */ new Map();
1270
1270
  function Eo(t) {
1271
- const e = sr(t);
1271
+ const e = or(t);
1272
1272
  let n = pa.get(e);
1273
1273
  return n === void 0 && (n = new Xs("en-us", { timeZone: e, hour12: !1, era: "short", year: "numeric", month: "numeric", day: "numeric", hour: "numeric", minute: "numeric", second: "numeric" }), pa.set(e, n)), n;
1274
1274
  }
1275
1275
  function le(t) {
1276
- return Ie(t, O) && !Ie(t, q, M);
1276
+ return Se(t, O) && !Se(t, q, M);
1277
1277
  }
1278
1278
  function X(t) {
1279
- return Ie(t, ve, De, Me, Ee, Te, Ce, Le, ke, Pe);
1279
+ return Se(t, ve, De, Me, Ee, Te, Ce, Le, ke, Pe);
1280
1280
  }
1281
1281
  function J(t) {
1282
- return Ie(t, so);
1282
+ return Se(t, so);
1283
1283
  }
1284
1284
  function re(t) {
1285
- return Ie(t, ee);
1285
+ return Se(t, ee);
1286
1286
  }
1287
1287
  function W(t) {
1288
- return Ie(t, Q);
1288
+ return Se(t, Q);
1289
1289
  }
1290
1290
  function ce(t) {
1291
- return Ie(t, uo);
1291
+ return Se(t, uo);
1292
1292
  }
1293
1293
  function Fe(t) {
1294
- return Ie(t, lo);
1294
+ return Se(t, lo);
1295
1295
  }
1296
1296
  function P(t) {
1297
- return Ie(t, O, q, M);
1297
+ return Se(t, O, q, M);
1298
1298
  }
1299
1299
  function b(t, e) {
1300
1300
  if (!e(t)) throw new TypeError("invalid receiver: method called with the wrong type of this-object");
1301
1301
  }
1302
1302
  function Nt(t) {
1303
- if (Ie(t, M) || Ie(t, q)) throw new TypeError("with() does not support a calendar or timeZone property");
1303
+ if (Se(t, M) || Se(t, q)) throw new TypeError("with() does not support a calendar or timeZone property");
1304
1304
  if (re(t)) throw new TypeError("with() does not accept Temporal.PlainTime, use withPlainTime() instead");
1305
1305
  if (t.calendar !== void 0) throw new TypeError("with() does not support a calendar property");
1306
1306
  if (t.timeZone !== void 0) throw new TypeError("with() does not support a timeZone property");
1307
1307
  }
1308
- function fr(t, e) {
1308
+ function hr(t, e) {
1309
1309
  return e === "never" || e === "auto" && t === "iso8601" ? "" : `[${e === "critical" ? "!" : ""}u-ca=${t}]`;
1310
1310
  }
1311
- function ei(t) {
1311
+ function Jr(t) {
1312
1312
  let e, n, r = !1;
1313
1313
  for (bt.lastIndex = 0; n = bt.exec(t); ) {
1314
1314
  const { 1: i, 2: a, 3: o } = n;
@@ -1322,7 +1322,7 @@ function ei(t) {
1322
1322
  function _n(t) {
1323
1323
  const e = Ys.exec(t);
1324
1324
  if (!e) throw new RangeError(`invalid RFC 9557 string: ${t}`);
1325
- const n = ei(e[16]);
1325
+ const n = Jr(e[16]);
1326
1326
  let r = e[1];
1327
1327
  if (r === "-000000") throw new RangeError(`invalid RFC 9557 string: ${t}`);
1328
1328
  const i = +r, a = +(e[2] ?? e[4] ?? 1), o = +(e[3] ?? e[5] ?? 1), s = e[6] !== void 0, u = +(e[6] ?? 0), l = +(e[7] ?? e[10] ?? 0);
@@ -1338,7 +1338,7 @@ function To(t) {
1338
1338
  const e = Us.exec(t);
1339
1339
  let n, r, i, a, o, s, u;
1340
1340
  if (e) {
1341
- u = ei(e[10]), n = +(e[1] ?? 0), r = +(e[2] ?? e[5] ?? 0), i = +(e[3] ?? e[6] ?? 0), i === 60 && (i = 59);
1341
+ u = Jr(e[10]), n = +(e[1] ?? 0), r = +(e[2] ?? e[5] ?? 0), i = +(e[3] ?? e[6] ?? 0), i === 60 && (i = 59);
1342
1342
  const l = (e[4] ?? e[7] ?? "") + "000000000";
1343
1343
  if (a = +l.slice(0, 3), o = +l.slice(3, 6), s = +l.slice(6, 9), e[8]) throw new RangeError("Z designator not supported for PlainTime");
1344
1344
  } else {
@@ -1347,7 +1347,7 @@ function To(t) {
1347
1347
  if (c) throw new RangeError("Z designator not supported for PlainTime");
1348
1348
  ({ hour: n, minute: r, second: i, millisecond: a, microsecond: o, nanosecond: s } = l);
1349
1349
  }
1350
- if (ii(n, r, i, a, o, s), /[tT ][0-9][0-9]/.test(t)) return { hour: n, minute: r, second: i, millisecond: a, microsecond: o, nanosecond: s, calendar: u };
1350
+ if (ri(n, r, i, a, o, s), /[tT ][0-9][0-9]/.test(t)) return { hour: n, minute: r, second: i, millisecond: a, microsecond: o, nanosecond: s, calendar: u };
1351
1351
  try {
1352
1352
  const { month: l, day: c } = Zi(t);
1353
1353
  et(1972, l, c);
@@ -1365,7 +1365,7 @@ function Hi(t) {
1365
1365
  const e = xs.exec(t);
1366
1366
  let n, r, i, a;
1367
1367
  if (e) {
1368
- i = ei(e[3]);
1368
+ i = Jr(e[3]);
1369
1369
  let o = e[1];
1370
1370
  if (o === "-000000") throw new RangeError(`invalid RFC 9557 string: ${t}`);
1371
1371
  if (n = +o, r = +e[2], a = 1, i !== void 0 && i !== "iso8601") throw new RangeError("YYYY-MM format is only valid with iso8601 calendar");
@@ -1379,14 +1379,14 @@ function Zi(t) {
1379
1379
  const e = js.exec(t);
1380
1380
  let n, r, i, a;
1381
1381
  if (e) {
1382
- if (i = ei(e[3]), n = +e[1], r = +e[2], i !== void 0 && i !== "iso8601") throw new RangeError("MM-DD format is only valid with iso8601 calendar");
1382
+ if (i = Jr(e[3]), n = +e[1], r = +e[2], i !== void 0 && i !== "iso8601") throw new RangeError("MM-DD format is only valid with iso8601 calendar");
1383
1383
  } else {
1384
1384
  let o;
1385
1385
  if ({ month: n, day: r, calendar: i, year: a, z: o } = _n(t), o) throw new RangeError("Z designator not supported for PlainMonthDay");
1386
1386
  }
1387
1387
  return { month: n, day: r, calendar: i, referenceISOYear: a };
1388
1388
  }
1389
- const Co = new RegExp(`^${hr.source}$`, "i"), Lo = new RegExp(`^${/([+-])([01][0-9]|2[0-3])(?::?([0-5][0-9])?)?/.source}$`);
1389
+ const Co = new RegExp(`^${dr.source}$`, "i"), Lo = new RegExp(`^${/([+-])([01][0-9]|2[0-3])(?::?([0-5][0-9])?)?/.source}$`);
1390
1390
  function ko(t) {
1391
1391
  const e = eu.test(t) ? "Seconds not allowed in offset time zone" : "Invalid time zone";
1392
1392
  throw new RangeError(`${e}: ${t}`);
@@ -1394,7 +1394,7 @@ function ko(t) {
1394
1394
  function Gn(t) {
1395
1395
  return Co.test(t) || ko(t), Lo.test(t) ? { offsetMinutes: At(t) / 6e10 } : { tzName: t };
1396
1396
  }
1397
- function Qt(t, e, n, r) {
1397
+ function Vt(t, e, n, r) {
1398
1398
  let i = t, a = e, o = n;
1399
1399
  switch (r) {
1400
1400
  case "reject":
@@ -1405,11 +1405,11 @@ function Qt(t, e, n, r) {
1405
1405
  }
1406
1406
  return { year: i, month: a, day: o };
1407
1407
  }
1408
- function ni(t, e, n, r, i, a, o) {
1408
+ function ei(t, e, n, r, i, a, o) {
1409
1409
  let s = t, u = e, l = n, c = r, d = i, f = a;
1410
1410
  switch (o) {
1411
1411
  case "reject":
1412
- ii(s, u, l, c, d, f);
1412
+ ri(s, u, l, c, d, f);
1413
1413
  break;
1414
1414
  case "constrain":
1415
1415
  s = Ne(s, 0, 23), u = Ne(u, 0, 59), l = Ne(l, 0, 59), c = Ne(c, 0, 999), d = Ne(d, 0, 999), f = Ne(f, 0, 999);
@@ -1420,8 +1420,8 @@ function No(t) {
1420
1420
  if (!ne(t)) throw new TypeError("invalid duration-like");
1421
1421
  const e = { years: void 0, months: void 0, weeks: void 0, days: void 0, hours: void 0, minutes: void 0, seconds: void 0, milliseconds: void 0, microseconds: void 0, nanoseconds: void 0 };
1422
1422
  let n = !1;
1423
- for (let r = 0; r < Yr.length; r++) {
1424
- const i = Yr[r], a = t[i];
1423
+ for (let r = 0; r < Pr.length; r++) {
1424
+ const i = Pr[r], a = t[i];
1425
1425
  a !== void 0 && (n = !0, e[i] = en(a));
1426
1426
  }
1427
1427
  if (!n) throw new TypeError("invalid duration-like");
@@ -1436,22 +1436,22 @@ function F(t, e) {
1436
1436
  function j(t) {
1437
1437
  return Nn(t, "overflow", ["constrain", "reject"], "constrain");
1438
1438
  }
1439
- function Xt(t) {
1439
+ function Qt(t) {
1440
1440
  return Nn(t, "disambiguation", ["compatible", "earlier", "later", "reject"], "compatible");
1441
1441
  }
1442
1442
  function tn(t, e) {
1443
1443
  return Nn(t, "roundingMode", ["ceil", "floor", "expand", "trunc", "halfCeil", "halfFloor", "halfExpand", "halfTrunc", "halfEven"], e);
1444
1444
  }
1445
- function Rr(t, e) {
1445
+ function Or(t, e) {
1446
1446
  return Nn(t, "offset", ["prefer", "use", "ignore", "reject"], e);
1447
1447
  }
1448
- function mr(t) {
1448
+ function fr(t) {
1449
1449
  return Nn(t, "calendarName", ["auto", "always", "never", "critical"], "auto");
1450
1450
  }
1451
1451
  function Ot(t) {
1452
1452
  let e = t.roundingIncrement;
1453
1453
  if (e === void 0) return 1;
1454
- const n = I(e);
1454
+ const n = S(e);
1455
1455
  if (n < 1 || n > 1e9) throw new RangeError(`roundingIncrement must be at least 1 and at most 1e9, not ${e}`);
1456
1456
  return n;
1457
1457
  }
@@ -1460,18 +1460,18 @@ function Rt(t, e, n) {
1460
1460
  if (t > r) throw new RangeError(`roundingIncrement must be at least 1 and less than ${r}, not ${t}`);
1461
1461
  if (e % t != 0) throw new RangeError(`Rounding increment must divide evenly into ${e}`);
1462
1462
  }
1463
- function gr(t) {
1463
+ function mr(t) {
1464
1464
  const e = t.fractionalSecondDigits;
1465
1465
  if (e === void 0) return "auto";
1466
1466
  if (typeof e != "number") {
1467
- if (Jr(e) !== "auto") throw new RangeError(`fractionalSecondDigits must be 'auto' or 0 through 9, not ${e}`);
1467
+ if (Xr(e) !== "auto") throw new RangeError(`fractionalSecondDigits must be 'auto' or 0 through 9, not ${e}`);
1468
1468
  return "auto";
1469
1469
  }
1470
1470
  const n = Math.floor(e);
1471
1471
  if (!Number.isFinite(n) || n < 0 || n > 9) throw new RangeError(`fractionalSecondDigits must be 'auto' or 0 through 9, not ${e}`);
1472
1472
  return n;
1473
1473
  }
1474
- function yr(t, e) {
1474
+ function gr(t, e) {
1475
1475
  switch (t) {
1476
1476
  case "minute":
1477
1477
  return { precision: "minute", unit: "minute", increment: 1 };
@@ -1533,22 +1533,22 @@ function mi(t) {
1533
1533
  if (P(e)) return { zonedRelativeTo: e };
1534
1534
  if (J(e)) return { plainRelativeTo: e };
1535
1535
  if (W(e)) return { plainRelativeTo: Oe(m(e, Q).isoDate, m(e, M)) };
1536
- i = vr(e);
1537
- const l = Ze(i, e, ["year", "month", "monthCode", "day"], ["hour", "minute", "second", "millisecond", "microsecond", "nanosecond", "offset", "timeZone"], []);
1538
- ({ isoDate: n, time: r } = wr(i, l, "constrain")), { offset: o, timeZone: a } = l, o === void 0 && (s = "wall");
1536
+ i = br(e);
1537
+ const l = Ke(i, e, ["year", "month", "monthCode", "day"], ["hour", "minute", "second", "millisecond", "microsecond", "nanosecond", "offset", "timeZone"], []);
1538
+ ({ isoDate: n, time: r } = _r(i, l, "constrain")), { offset: o, timeZone: a } = l, o === void 0 && (s = "wall");
1539
1539
  } else {
1540
1540
  let l, c, d, f, g;
1541
1541
  if ({ year: d, month: f, day: g, time: r, calendar: i, tzAnnotation: l, offset: o, z: c } = _n(oe(e)), l) a = Re(l), c ? s = "exact" : o || (s = "wall"), u = !0;
1542
1542
  else if (c) throw new RangeError("Z designator not supported for PlainDate relativeTo; either remove the Z or add a bracketed time zone");
1543
- i || (i = "iso8601"), i = Se(i), n = { year: d, month: f, day: g };
1543
+ i || (i = "iso8601"), i = Ie(i), n = { year: d, month: f, day: g };
1544
1544
  }
1545
- return a === void 0 ? { plainRelativeTo: Oe(n, i) } : { zonedRelativeTo: me(Ur(n, r, s, s === "option" ? At(o) : 0, a, "compatible", "reject", u), a, i) };
1545
+ return a === void 0 ? { plainRelativeTo: Oe(n, i) } : { zonedRelativeTo: me(Yr(n, r, s, s === "option" ? At(o) : 0, a, "compatible", "reject", u), a, i) };
1546
1546
  }
1547
1547
  function vn(t) {
1548
1548
  return m(t, ve) !== 0 ? "year" : m(t, De) !== 0 ? "month" : m(t, $e) !== 0 ? "week" : m(t, Me) !== 0 ? "day" : m(t, Ee) !== 0 ? "hour" : m(t, Te) !== 0 ? "minute" : m(t, Ce) !== 0 ? "second" : m(t, Le) !== 0 ? "millisecond" : m(t, ke) !== 0 ? "microsecond" : "nanosecond";
1549
1549
  }
1550
1550
  function Ln(t, e) {
1551
- return Vt.indexOf(t) > Vt.indexOf(e) ? e : t;
1551
+ return Bt.indexOf(t) > Bt.indexOf(e) ? e : t;
1552
1552
  }
1553
1553
  function on(t) {
1554
1554
  return t === "year" || t === "month" || t === "week";
@@ -1559,14 +1559,14 @@ function Dn(t) {
1559
1559
  function Zn(t) {
1560
1560
  return fe("%calendarImpl%")(t);
1561
1561
  }
1562
- function _r(t) {
1562
+ function yr(t) {
1563
1563
  return fe("%calendarImpl%")(m(t, M));
1564
1564
  }
1565
1565
  function Ae(t, e, n = "date") {
1566
1566
  const r = /* @__PURE__ */ Object.create(null), i = Zn(t).isoToDate(e, { year: !0, monthCode: !0, day: !0 });
1567
1567
  return r.monthCode = i.monthCode, n !== "month-day" && n !== "date" || (r.day = i.day), n !== "year-month" && n !== "date" || (r.year = i.year), r;
1568
1568
  }
1569
- function Ze(t, e, n, r, i) {
1569
+ function Ke(t, e, n, r, i) {
1570
1570
  const a = Zn(t).extraFields(n), o = n.concat(r, a), s = /* @__PURE__ */ Object.create(null);
1571
1571
  let u = !1;
1572
1572
  o.sort();
@@ -1587,12 +1587,12 @@ function Ni(t, e = "complete") {
1587
1587
  const i = /* @__PURE__ */ Object.create(null);
1588
1588
  for (let a = 0; a < n.length; a++) {
1589
1589
  const o = n[a], s = t[o];
1590
- s !== void 0 ? (i[o] = I(s), r = !0) : e === "complete" && (i[o] = 0);
1590
+ s !== void 0 ? (i[o] = S(s), r = !0) : e === "complete" && (i[o] = 0);
1591
1591
  }
1592
1592
  if (!r) throw new TypeError("invalid time-like");
1593
1593
  return i;
1594
1594
  }
1595
- function Gt(t, e) {
1595
+ function jt(t, e) {
1596
1596
  if (ne(t)) {
1597
1597
  if (J(t)) return j(L(e)), Oe(m(t, R), m(t, M));
1598
1598
  if (P(t)) {
@@ -1600,17 +1600,17 @@ function Gt(t, e) {
1600
1600
  return j(L(e)), Oe(u.isoDate, m(t, M));
1601
1601
  }
1602
1602
  if (W(t)) return j(L(e)), Oe(m(t, Q).isoDate, m(t, M));
1603
- const s = vr(t);
1604
- return Oe(qn(s, Ze(s, t, ["year", "month", "monthCode", "day"], [], []), j(L(e))), s);
1603
+ const s = br(t);
1604
+ return Oe(qn(s, Ke(s, t, ["year", "month", "monthCode", "day"], [], []), j(L(e))), s);
1605
1605
  }
1606
1606
  let { year: n, month: r, day: i, calendar: a, z: o } = _n(oe(t));
1607
1607
  if (o) throw new RangeError("Z designator not supported for PlainDate");
1608
- return a || (a = "iso8601"), a = Se(a), j(L(e)), Oe({ year: n, month: r, day: i }, a);
1608
+ return a || (a = "iso8601"), a = Ie(a), j(L(e)), Oe({ year: n, month: r, day: i }, a);
1609
1609
  }
1610
- function wr(t, e, n) {
1611
- return F(qn(t, e, n), ni(e.hour, e.minute, e.second, e.millisecond, e.microsecond, e.nanosecond, n));
1610
+ function _r(t, e, n) {
1611
+ return F(qn(t, e, n), ei(e.hour, e.minute, e.second, e.millisecond, e.microsecond, e.nanosecond, n));
1612
1612
  }
1613
- function Ft(t, e) {
1613
+ function Gt(t, e) {
1614
1614
  let n, r, i;
1615
1615
  if (ne(t)) {
1616
1616
  if (W(t)) return j(L(e)), We(m(t, Q), m(t, M));
@@ -1619,13 +1619,13 @@ function Ft(t, e) {
1619
1619
  return j(L(e)), We(s, m(t, M));
1620
1620
  }
1621
1621
  if (J(t)) return j(L(e)), We(F(m(t, R), { deltaDays: 0, hour: 0, minute: 0, second: 0, millisecond: 0, microsecond: 0, nanosecond: 0 }), m(t, M));
1622
- i = vr(t);
1623
- const a = Ze(i, t, ["year", "month", "monthCode", "day"], ["hour", "minute", "second", "millisecond", "microsecond", "nanosecond"], []), o = j(L(e));
1624
- ({ isoDate: n, time: r } = wr(i, a, o));
1622
+ i = br(t);
1623
+ const a = Ke(i, t, ["year", "month", "monthCode", "day"], ["hour", "minute", "second", "millisecond", "microsecond", "nanosecond"], []), o = j(L(e));
1624
+ ({ isoDate: n, time: r } = _r(i, a, o));
1625
1625
  } else {
1626
1626
  let a, o, s, u;
1627
1627
  if ({ year: o, month: s, day: u, time: r, calendar: i, z: a } = _n(oe(t)), a) throw new RangeError("Z designator not supported for PlainDateTime");
1628
- r === "start-of-day" && (r = { deltaDays: 0, hour: 0, minute: 0, second: 0, millisecond: 0, microsecond: 0, nanosecond: 0 }), Vi(o, s, u, r.hour, r.minute, r.second, r.millisecond, r.microsecond, r.nanosecond), i || (i = "iso8601"), i = Se(i), j(L(e)), n = { year: o, month: s, day: u };
1628
+ r === "start-of-day" && (r = { deltaDays: 0, hour: 0, minute: 0, second: 0, millisecond: 0, microsecond: 0, nanosecond: 0 }), Vi(o, s, u, r.hour, r.minute, r.second, r.millisecond, r.microsecond, r.nanosecond), i || (i = "iso8601"), i = Ie(i), j(L(e)), n = { year: o, month: s, day: u };
1629
1629
  }
1630
1630
  return We(F(n, r), i);
1631
1631
  }
@@ -1637,29 +1637,29 @@ function Qe(t) {
1637
1637
  const w = Fs.exec(y);
1638
1638
  if (!w) throw new RangeError(`invalid duration: ${y}`);
1639
1639
  if (w.every(((Ns, Os) => Os < 2 || Ns === void 0))) throw new RangeError(`invalid duration: ${y}`);
1640
- const p = w[1] === "-" ? -1 : 1, E = w[2] === void 0 ? 0 : I(w[2]) * p, v = w[3] === void 0 ? 0 : I(w[3]) * p, T = w[4] === void 0 ? 0 : I(w[4]) * p, C = w[5] === void 0 ? 0 : I(w[5]) * p, U = w[6] === void 0 ? 0 : I(w[6]) * p, H = w[7], Z = w[8], S = w[9], B = w[10], x = w[11];
1640
+ const p = w[1] === "-" ? -1 : 1, E = w[2] === void 0 ? 0 : S(w[2]) * p, v = w[3] === void 0 ? 0 : S(w[3]) * p, T = w[4] === void 0 ? 0 : S(w[4]) * p, C = w[5] === void 0 ? 0 : S(w[5]) * p, U = w[6] === void 0 ? 0 : S(w[6]) * p, H = w[7], Z = w[8], I = w[9], B = w[10], x = w[11];
1641
1641
  let z = 0, te = 0, ie = 0;
1642
1642
  if (H !== void 0) {
1643
- if (Z ?? S ?? B ?? x) throw new RangeError("only the smallest unit can be fractional");
1644
- ie = 3600 * I((H + "000000000").slice(0, 9)) * p;
1645
- } else if (z = Z === void 0 ? 0 : I(Z) * p, S !== void 0) {
1643
+ if (Z ?? I ?? B ?? x) throw new RangeError("only the smallest unit can be fractional");
1644
+ ie = 3600 * S((H + "000000000").slice(0, 9)) * p;
1645
+ } else if (z = Z === void 0 ? 0 : S(Z) * p, I !== void 0) {
1646
1646
  if (B ?? x) throw new RangeError("only the smallest unit can be fractional");
1647
- ie = 60 * I((S + "000000000").slice(0, 9)) * p;
1648
- } else te = B === void 0 ? 0 : I(B) * p, x !== void 0 && (ie = I((x + "000000000").slice(0, 9)) * p);
1647
+ ie = 60 * S((I + "000000000").slice(0, 9)) * p;
1648
+ } else te = B === void 0 ? 0 : S(B) * p, x !== void 0 && (ie = S((x + "000000000").slice(0, 9)) * p);
1649
1649
  const V = ie % 1e3, G = Math.trunc(ie / 1e3) % 1e3, ut = Math.trunc(ie / 1e6) % 1e3;
1650
- return te += Math.trunc(ie / 1e9) % 60, z += Math.trunc(ie / 6e10), ai(E, v, T, C, U, z, te, ut, G, V), { years: E, months: v, weeks: T, days: C, hours: U, minutes: z, seconds: te, milliseconds: ut, microseconds: G, nanoseconds: V };
1650
+ return te += Math.trunc(ie / 1e9) % 60, z += Math.trunc(ie / 6e10), ii(E, v, T, C, U, z, te, ut, G, V), { years: E, months: v, weeks: T, days: C, hours: U, minutes: z, seconds: te, milliseconds: ut, microseconds: G, nanoseconds: V };
1651
1651
  })(i);
1652
1652
  return new (fe("%Temporal.Duration%"))(a, o, s, u, l, c, d, f, g, _);
1653
1653
  })(oe(t));
1654
1654
  const n = { years: 0, months: 0, weeks: 0, days: 0, hours: 0, minutes: 0, seconds: 0, milliseconds: 0, microseconds: 0, nanoseconds: 0 };
1655
1655
  let r = No(t);
1656
- for (let i = 0; i < Yr.length; i++) {
1657
- const a = Yr[i], o = r[a];
1656
+ for (let i = 0; i < Pr.length; i++) {
1657
+ const a = Pr[i], o = r[a];
1658
1658
  o !== void 0 && (n[a] = o);
1659
1659
  }
1660
1660
  return new e(n.years, n.months, n.weeks, n.days, n.hours, n.minutes, n.seconds, n.milliseconds, n.microseconds, n.nanoseconds);
1661
1661
  }
1662
- function zt(t) {
1662
+ function Ft(t) {
1663
1663
  let e;
1664
1664
  if (ne(t)) {
1665
1665
  if (le(t) || P(t)) return un(m(t, O));
@@ -1669,19 +1669,19 @@ function zt(t) {
1669
1669
  const w = _n(y);
1670
1670
  if (!w.z && !w.offset) throw new RangeError("Temporal.Instant requires a time zone offset");
1671
1671
  return w;
1672
- })(oe(e)), { hour: u = 0, minute: l = 0, second: c = 0, millisecond: d = 0, microsecond: f = 0, nanosecond: g = 0 } = a === "start-of-day" ? {} : a, _ = or(n, r, i, u, l, c, d, f, g - (s ? 0 : At(o)));
1672
+ })(oe(e)), { hour: u = 0, minute: l = 0, second: c = 0, millisecond: d = 0, microsecond: f = 0, nanosecond: g = 0 } = a === "start-of-day" ? {} : a, _ = ar(n, r, i, u, l, c, d, f, g - (s ? 0 : At(o)));
1673
1673
  return wt(_.isoDate), un(he(_));
1674
1674
  }
1675
1675
  function ba(t, e) {
1676
1676
  if (ne(t)) {
1677
1677
  if (Fe(t)) return j(L(e)), gt(m(t, R), m(t, M));
1678
1678
  let s;
1679
- return Ie(t, M) ? s = m(t, M) : (s = t.calendar, s === void 0 && (s = "iso8601"), s = br(s)), gt(xr(s, Ze(s, t, ["year", "month", "monthCode", "day"], [], []), j(L(e))), s);
1679
+ return Se(t, M) ? s = m(t, M) : (s = t.calendar, s === void 0 && (s = "iso8601"), s = pr(s)), gt(Ur(s, Ke(s, t, ["year", "month", "monthCode", "day"], [], []), j(L(e))), s);
1680
1680
  }
1681
1681
  let { month: n, day: r, referenceISOYear: i, calendar: a } = Zi(oe(t));
1682
- if (a === void 0 && (a = "iso8601"), a = Se(a), j(L(e)), a === "iso8601") return gt({ year: 1972, month: n, day: r }, a);
1682
+ if (a === void 0 && (a = "iso8601"), a = Ie(a), j(L(e)), a === "iso8601") return gt({ year: 1972, month: n, day: r }, a);
1683
1683
  let o = { year: i, month: n, day: r };
1684
- return ot(o), o = xr(a, Ae(a, o, "month-day"), "constrain"), gt(o, a);
1684
+ return ot(o), o = Ur(a, Ae(a, o, "month-day"), "constrain"), gt(o, a);
1685
1685
  }
1686
1686
  function Un(t, e) {
1687
1687
  let n;
@@ -1693,117 +1693,117 @@ function Un(t, e) {
1693
1693
  return j(L(e)), Mn(l.time);
1694
1694
  }
1695
1695
  const { hour: r, minute: i, second: a, millisecond: o, microsecond: s, nanosecond: u } = Ni(t);
1696
- n = ni(r, i, a, o, s, u, j(L(e)));
1696
+ n = ei(r, i, a, o, s, u, j(L(e)));
1697
1697
  } else n = To(oe(t)), j(L(e));
1698
1698
  return Mn(n);
1699
1699
  }
1700
1700
  function Oo(t) {
1701
1701
  return t === void 0 ? { deltaDays: 0, hour: 0, minute: 0, second: 0, millisecond: 0, microsecond: 0, nanosecond: 0 } : m(Un(t), ee);
1702
1702
  }
1703
- function qt(t, e) {
1703
+ function zt(t, e) {
1704
1704
  if (ne(t)) {
1705
1705
  if (ce(t)) return j(L(e)), _t(m(t, R), m(t, M));
1706
- const s = vr(t);
1707
- return _t(rr(s, Ze(s, t, ["year", "month", "monthCode"], [], []), j(L(e))), s);
1706
+ const s = br(t);
1707
+ return _t(tr(s, Ke(s, t, ["year", "month", "monthCode"], [], []), j(L(e))), s);
1708
1708
  }
1709
1709
  let { year: n, month: r, referenceISODay: i, calendar: a } = Hi(oe(t));
1710
- a === void 0 && (a = "iso8601"), a = Se(a), j(L(e));
1710
+ a === void 0 && (a = "iso8601"), a = Ie(a), j(L(e));
1711
1711
  let o = { year: n, month: r, day: i };
1712
- return Qi(o), o = rr(a, Ae(a, o, "year-month"), "constrain"), _t(o, a);
1712
+ return Qi(o), o = tr(a, Ae(a, o, "year-month"), "constrain"), _t(o, a);
1713
1713
  }
1714
- function Ur(t, e, n, r, i, a, o, s) {
1714
+ function Yr(t, e, n, r, i, a, o, s) {
1715
1715
  if (e === "start-of-day") return $n(i, t);
1716
1716
  const u = F(t, e);
1717
1717
  if (n === "wall" || o === "ignore") return ye(i, u, a);
1718
1718
  if (n === "exact" || o === "use") {
1719
- const d = or(t.year, t.month, t.day, e.hour, e.minute, e.second, e.millisecond, e.microsecond, e.nanosecond - r);
1719
+ const d = ar(t.year, t.month, t.day, e.hour, e.minute, e.second, e.millisecond, e.microsecond, e.nanosecond - r);
1720
1720
  wt(d.isoDate);
1721
1721
  const f = he(d);
1722
1722
  return mn(f), f;
1723
1723
  }
1724
1724
  wt(t);
1725
- const l = he(u), c = ir(i, u);
1725
+ const l = he(u), c = rr(i, u);
1726
1726
  for (let d = 0; d < c.length; d++) {
1727
1727
  const f = c[d], g = h.toNumber(h.subtract(l, f)), _ = xn(g, 6e10, "halfExpand");
1728
1728
  if (g === r || s && _ === r) return f;
1729
1729
  }
1730
1730
  if (o === "reject") {
1731
- const d = Oi(r), f = ar(u, "iso8601", "auto");
1731
+ const d = Oi(r), f = ir(u, "iso8601", "auto");
1732
1732
  throw new RangeError(`Offset ${d} is invalid for ${f} in ${i}`);
1733
1733
  }
1734
1734
  return xo(c, i, u, a);
1735
1735
  }
1736
- function Ht(t, e) {
1736
+ function qt(t, e) {
1737
1737
  let n, r, i, a, o, s, u, l = !1, c = "option";
1738
1738
  if (ne(t)) {
1739
1739
  if (P(t)) {
1740
1740
  const y = L(e);
1741
- return Xt(y), Rr(y, "reject"), j(y), me(m(t, O), m(t, q), m(t, M));
1741
+ return Qt(y), Or(y, "reject"), j(y), me(m(t, O), m(t, q), m(t, M));
1742
1742
  }
1743
- o = vr(t);
1744
- const f = Ze(o, t, ["year", "month", "monthCode", "day"], ["hour", "minute", "second", "millisecond", "microsecond", "nanosecond", "offset", "timeZone"], ["timeZone"]);
1743
+ o = br(t);
1744
+ const f = Ke(o, t, ["year", "month", "monthCode", "day"], ["hour", "minute", "second", "millisecond", "microsecond", "nanosecond", "offset", "timeZone"], ["timeZone"]);
1745
1745
  ({ offset: a, timeZone: i } = f), a === void 0 && (c = "wall");
1746
1746
  const g = L(e);
1747
- s = Xt(g), u = Rr(g, "reject");
1747
+ s = Qt(g), u = Or(g, "reject");
1748
1748
  const _ = j(g);
1749
- ({ isoDate: n, time: r } = wr(o, f, _));
1749
+ ({ isoDate: n, time: r } = _r(o, f, _));
1750
1750
  } else {
1751
1751
  let f, g, _, y, w;
1752
1752
  ({ year: _, month: y, day: w, time: r, tzAnnotation: f, offset: a, z: g, calendar: o } = (function(E) {
1753
1753
  const v = _n(E);
1754
1754
  if (!v.tzAnnotation) throw new RangeError("Temporal.ZonedDateTime requires a time zone ID in brackets");
1755
1755
  return v;
1756
- })(oe(t))), i = Re(f), g ? c = "exact" : a || (c = "wall"), o || (o = "iso8601"), o = Se(o), l = !0;
1756
+ })(oe(t))), i = Re(f), g ? c = "exact" : a || (c = "wall"), o || (o = "iso8601"), o = Ie(o), l = !0;
1757
1757
  const p = L(e);
1758
- s = Xt(p), u = Rr(p, "reject"), j(p), n = { year: _, month: y, day: w };
1758
+ s = Qt(p), u = Or(p, "reject"), j(p), n = { year: _, month: y, day: w };
1759
1759
  }
1760
1760
  let d = 0;
1761
- return c === "option" && (d = At(a)), me(Ur(n, r, c, d, i, s, u, l), i, o);
1761
+ return c === "option" && (d = At(a)), me(Yr(n, r, c, d, i, s, u, l), i, o);
1762
1762
  }
1763
1763
  function Ro(t, e, n) {
1764
- ot(e), In(t), $(t, R, e), $(t, M, n), $(t, so, !0);
1764
+ ot(e), Sn(t), $(t, R, e), $(t, M, n), $(t, so, !0);
1765
1765
  }
1766
1766
  function Oe(t, e) {
1767
1767
  const n = fe("%Temporal.PlainDate%"), r = Object.create(n.prototype);
1768
1768
  return Ro(r, t, e), r;
1769
1769
  }
1770
1770
  function Ao(t, e, n) {
1771
- nt(e), In(t), $(t, Q, e), $(t, M, n);
1771
+ nt(e), Sn(t), $(t, Q, e), $(t, M, n);
1772
1772
  }
1773
1773
  function We(t, e) {
1774
1774
  const n = fe("%Temporal.PlainDateTime%"), r = Object.create(n.prototype);
1775
1775
  return Ao(r, t, e), r;
1776
1776
  }
1777
- function Io(t, e, n) {
1778
- ot(e), In(t), $(t, R, e), $(t, M, n), $(t, lo, !0);
1777
+ function So(t, e, n) {
1778
+ ot(e), Sn(t), $(t, R, e), $(t, M, n), $(t, lo, !0);
1779
1779
  }
1780
1780
  function gt(t, e) {
1781
1781
  const n = fe("%Temporal.PlainMonthDay%"), r = Object.create(n.prototype);
1782
- return Io(r, t, e), r;
1782
+ return So(r, t, e), r;
1783
1783
  }
1784
- function So(t, e) {
1785
- In(t), $(t, ee, e);
1784
+ function Io(t, e) {
1785
+ Sn(t), $(t, ee, e);
1786
1786
  }
1787
1787
  function Mn(t) {
1788
1788
  const e = fe("%Temporal.PlainTime%"), n = Object.create(e.prototype);
1789
- return So(n, t), n;
1789
+ return Io(n, t), n;
1790
1790
  }
1791
1791
  function $o(t, e, n) {
1792
- Qi(e), In(t), $(t, R, e), $(t, M, n), $(t, uo, !0);
1792
+ Qi(e), Sn(t), $(t, R, e), $(t, M, n), $(t, uo, !0);
1793
1793
  }
1794
1794
  function _t(t, e) {
1795
1795
  const n = fe("%Temporal.PlainYearMonth%"), r = Object.create(n.prototype);
1796
1796
  return $o(r, t, e), r;
1797
1797
  }
1798
1798
  function Po(t, e) {
1799
- mn(e), In(t), $(t, O, e);
1799
+ mn(e), Sn(t), $(t, O, e);
1800
1800
  }
1801
1801
  function un(t) {
1802
1802
  const e = fe("%Temporal.Instant%"), n = Object.create(e.prototype);
1803
1803
  return Po(n, t), n;
1804
1804
  }
1805
1805
  function Yo(t, e, n, r) {
1806
- mn(e), In(t), $(t, O, e), $(t, q, n), $(t, M, r);
1806
+ mn(e), Sn(t), $(t, O, e), $(t, q, n), $(t, M, r);
1807
1807
  }
1808
1808
  function me(t, e, n = "iso8601") {
1809
1809
  const r = fe("%Temporal.ZonedDateTime%"), i = Object.create(r.prototype);
@@ -1821,18 +1821,18 @@ function Jn(t, e, n) {
1821
1821
  }
1822
1822
  return a;
1823
1823
  }
1824
- function qe(t, e, n, r) {
1824
+ function He(t, e, n, r) {
1825
1825
  const i = Zn(t).dateAdd(e, n, r);
1826
1826
  return ot(i), i;
1827
1827
  }
1828
- function pr(t, e, n, r) {
1828
+ function wr(t, e, n, r) {
1829
1829
  return Zn(t).dateUntil(e, n, r);
1830
1830
  }
1831
- function br(t) {
1832
- if (ne(t) && Ie(t, M)) return m(t, M);
1831
+ function pr(t) {
1832
+ if (ne(t) && Se(t, M)) return m(t, M);
1833
1833
  const e = oe(t);
1834
1834
  try {
1835
- return Se(e);
1835
+ return Ie(e);
1836
1836
  } catch {
1837
1837
  }
1838
1838
  let n;
@@ -1849,15 +1849,15 @@ function br(t) {
1849
1849
  }
1850
1850
  }
1851
1851
  }
1852
- return n || (n = "iso8601"), Se(n);
1852
+ return n || (n = "iso8601"), Ie(n);
1853
1853
  }
1854
- function vr(t) {
1855
- if (Ie(t, M)) return m(t, M);
1854
+ function br(t) {
1855
+ if (Se(t, M)) return m(t, M);
1856
1856
  const { calendar: e } = t;
1857
- return e === void 0 ? "iso8601" : br(e);
1857
+ return e === void 0 ? "iso8601" : pr(e);
1858
1858
  }
1859
1859
  function fn(t, e) {
1860
- return Se(t) === Se(e);
1860
+ return Ie(t) === Ie(e);
1861
1861
  }
1862
1862
  function qn(t, e, n) {
1863
1863
  const r = Zn(t);
@@ -1865,13 +1865,13 @@ function qn(t, e, n) {
1865
1865
  const i = r.dateToISO(e, n);
1866
1866
  return ot(i), i;
1867
1867
  }
1868
- function rr(t, e, n) {
1868
+ function tr(t, e, n) {
1869
1869
  const r = Zn(t);
1870
1870
  r.resolveFields(e, "year-month"), e.day = 1;
1871
1871
  const i = r.dateToISO(e, n);
1872
1872
  return Qi(i), i;
1873
1873
  }
1874
- function xr(t, e, n) {
1874
+ function Ur(t, e, n) {
1875
1875
  const r = Zn(t);
1876
1876
  r.resolveFields(e, "month-day");
1877
1877
  const i = r.monthDayToISOReferenceDate(e, n);
@@ -1894,7 +1894,7 @@ function Re(t) {
1894
1894
  return o ? Gn(o) : u ? Gn("UTC") : s ? Gn(s) : void 0;
1895
1895
  })(e);
1896
1896
  if (r !== void 0) return Ki(r);
1897
- const i = jr(n);
1897
+ const i = xr(n);
1898
1898
  if (!i) throw new RangeError(`Unrecognized time zone ${n}`);
1899
1899
  return i.identifier;
1900
1900
  }
@@ -1902,9 +1902,9 @@ function Uo(t, e) {
1902
1902
  if (t === e) return !0;
1903
1903
  const n = Gn(t).offsetMinutes, r = Gn(e).offsetMinutes;
1904
1904
  if (n === void 0 && r === void 0) {
1905
- const i = jr(e);
1905
+ const i = xr(e);
1906
1906
  if (!i) return !1;
1907
- const a = jr(t);
1907
+ const a = xr(t);
1908
1908
  return !!a && a.primaryIdentifier === i.primaryIdentifier;
1909
1909
  }
1910
1910
  return n === r;
@@ -1915,15 +1915,15 @@ function En(t, e) {
1915
1915
  }
1916
1916
  function Oi(t) {
1917
1917
  const e = t < 0 ? "-" : "+", n = Math.abs(t), r = Math.floor(n / 36e11), i = Math.floor(n / 6e10) % 60, a = Math.floor(n / 1e9) % 60, o = n % 1e9;
1918
- return `${e}${ti(r, i, a, o, a === 0 && o === 0 ? "minute" : "auto")}`;
1918
+ return `${e}${ni(r, i, a, o, a === 0 && o === 0 ? "minute" : "auto")}`;
1919
1919
  }
1920
1920
  function Xe(t, e) {
1921
1921
  const n = En(t, e);
1922
1922
  let { isoDate: { year: r, month: i, day: a }, time: { hour: o, minute: s, second: u, millisecond: l, microsecond: c, nanosecond: d } } = Fo(e);
1923
- return or(r, i, a, o, s, u, l, c, d + n);
1923
+ return ar(r, i, a, o, s, u, l, c, d + n);
1924
1924
  }
1925
1925
  function ye(t, e, n) {
1926
- return xo(ir(t, e), t, e, n);
1926
+ return xo(rr(t, e), t, e, n);
1927
1927
  }
1928
1928
  function xo(t, e, n, r) {
1929
1929
  const i = t.length;
@@ -1946,76 +1946,76 @@ function xo(t, e, n, r) {
1946
1946
  switch (r) {
1947
1947
  case "earlier": {
1948
1948
  const c = Y.fromComponents(0, 0, 0, 0, 0, -l), d = Et(n.time, c);
1949
- return ir(e, F(xe(n.isoDate.year, n.isoDate.month, n.isoDate.day + d.deltaDays), d))[0];
1949
+ return rr(e, F(xe(n.isoDate.year, n.isoDate.month, n.isoDate.day + d.deltaDays), d))[0];
1950
1950
  }
1951
1951
  case "compatible":
1952
1952
  case "later": {
1953
- const c = Y.fromComponents(0, 0, 0, 0, 0, l), d = Et(n.time, c), f = ir(e, F(xe(n.isoDate.year, n.isoDate.month, n.isoDate.day + d.deltaDays), d));
1953
+ const c = Y.fromComponents(0, 0, 0, 0, 0, l), d = Et(n.time, c), f = rr(e, F(xe(n.isoDate.year, n.isoDate.month, n.isoDate.day + d.deltaDays), d));
1954
1954
  return f[f.length - 1];
1955
1955
  }
1956
1956
  }
1957
1957
  }
1958
- function ir(t, e) {
1958
+ function rr(t, e) {
1959
1959
  if (t === "UTC") return wt(e.isoDate), [he(e)];
1960
1960
  const n = Gn(t).offsetMinutes;
1961
1961
  if (n !== void 0) {
1962
- const r = or(e.isoDate.year, e.isoDate.month, e.isoDate.day, e.time.hour, e.time.minute - n, e.time.second, e.time.millisecond, e.time.microsecond, e.time.nanosecond);
1962
+ const r = ar(e.isoDate.year, e.isoDate.month, e.isoDate.day, e.time.hour, e.time.minute - n, e.time.second, e.time.millisecond, e.time.microsecond, e.time.nanosecond);
1963
1963
  wt(r.isoDate);
1964
1964
  const i = he(r);
1965
1965
  return mn(i), [i];
1966
1966
  }
1967
1967
  return wt(e.isoDate), (function(r, i) {
1968
1968
  let a = he(i), o = h.subtract(a, Fn);
1969
- h.lessThan(o, nr) && (o = a);
1969
+ h.lessThan(o, er) && (o = a);
1970
1970
  let s = h.add(a, Fn);
1971
1971
  h.greaterThan(s, vt) && (s = a);
1972
1972
  const u = Ri(r, o), l = Ri(r, s);
1973
1973
  return (u === l ? [u] : [u, l]).map(((d) => {
1974
1974
  const f = h.subtract(a, h.BigInt(d)), g = (function(_, y) {
1975
- const { epochMilliseconds: w, time: { millisecond: p, microsecond: E, nanosecond: v } } = Fo(y), { year: T, month: C, day: U, hour: H, minute: Z, second: S } = zo(_, w);
1976
- return or(T, C, U, H, Z, S, p, E, v);
1975
+ const { epochMilliseconds: w, time: { millisecond: p, microsecond: E, nanosecond: v } } = Fo(y), { year: T, month: C, day: U, hour: H, minute: Z, second: I } = zo(_, w);
1976
+ return ar(T, C, U, H, Z, I, p, E, v);
1977
1977
  })(r, f);
1978
1978
  if (Tt(i, g) === 0) return mn(f), f;
1979
1979
  })).filter(((d) => d !== void 0));
1980
1980
  })(t, e);
1981
1981
  }
1982
1982
  function $n(t, e) {
1983
- const n = F(e, { deltaDays: 0, hour: 0, minute: 0, second: 0, millisecond: 0, microsecond: 0, nanosecond: 0 }), r = ir(t, n);
1983
+ const n = F(e, { deltaDays: 0, hour: 0, minute: 0, second: 0, millisecond: 0, microsecond: 0, nanosecond: 0 }), r = rr(t, n);
1984
1984
  if (r.length) return r[0];
1985
1985
  const i = he(n), a = h.subtract(i, Fn);
1986
1986
  return mn(a), Bi(t, a);
1987
1987
  }
1988
- function Dr(t) {
1988
+ function vr(t) {
1989
1989
  let e;
1990
- return e = t < 0 || t > 9999 ? (t < 0 ? "-" : "+") + tr(Math.abs(t), 6) : tr(t, 4), e;
1990
+ return e = t < 0 || t > 9999 ? (t < 0 ? "-" : "+") + nr(Math.abs(t), 6) : nr(t, 4), e;
1991
1991
  }
1992
- function He(t) {
1993
- return tr(t, 2);
1992
+ function Ze(t) {
1993
+ return nr(t, 2);
1994
1994
  }
1995
1995
  function jo(t, e) {
1996
1996
  let n;
1997
1997
  if (e === "auto") {
1998
1998
  if (t === 0) return "";
1999
- n = tr(t, 9).replace(/0+$/, "");
1999
+ n = nr(t, 9).replace(/0+$/, "");
2000
2000
  } else {
2001
2001
  if (e === 0) return "";
2002
- n = tr(t, 9).slice(0, e);
2002
+ n = nr(t, 9).slice(0, e);
2003
2003
  }
2004
2004
  return `.${n}`;
2005
2005
  }
2006
- function ti(t, e, n, r, i) {
2007
- let a = `${He(t)}:${He(e)}`;
2008
- return i === "minute" || (a += `:${He(n)}`, a += jo(r, i)), a;
2006
+ function ni(t, e, n, r, i) {
2007
+ let a = `${Ze(t)}:${Ze(e)}`;
2008
+ return i === "minute" || (a += `:${Ze(n)}`, a += jo(r, i)), a;
2009
2009
  }
2010
2010
  function Da(t, e, n) {
2011
2011
  let r = e;
2012
2012
  r === void 0 && (r = "UTC");
2013
- const i = m(t, O), a = ar(Xe(r, i), "iso8601", n, "never");
2013
+ const i = m(t, O), a = ir(Xe(r, i), "iso8601", n, "never");
2014
2014
  let o = "Z";
2015
2015
  return e !== void 0 && (o = Go(En(r, i))), `${a}${o}`;
2016
2016
  }
2017
- function kr(t, e) {
2018
- const n = m(t, ve), r = m(t, De), i = m(t, $e), a = m(t, Me), o = m(t, Ee), s = m(t, Te), u = Fr(t);
2017
+ function Lr(t, e) {
2018
+ const n = m(t, ve), r = m(t, De), i = m(t, $e), a = m(t, Me), o = m(t, Ee), s = m(t, Te), u = Gr(t);
2019
2019
  let l = "";
2020
2020
  n !== 0 && (l += `${Math.abs(n)}Y`), r !== 0 && (l += `${Math.abs(r)}M`), i !== 0 && (l += `${Math.abs(i)}W`), a !== 0 && (l += `${Math.abs(a)}D`);
2021
2021
  let c = "";
@@ -2027,29 +2027,29 @@ function kr(t, e) {
2027
2027
  }
2028
2028
  function Ma(t, e = "auto") {
2029
2029
  const { year: n, month: r, day: i } = m(t, R);
2030
- return `${Dr(n)}-${He(r)}-${He(i)}${fr(m(t, M), e)}`;
2030
+ return `${vr(n)}-${Ze(r)}-${Ze(i)}${hr(m(t, M), e)}`;
2031
2031
  }
2032
2032
  function Ea({ hour: t, minute: e, second: n, millisecond: r, microsecond: i, nanosecond: a }, o) {
2033
- return ti(t, e, n, 1e6 * r + 1e3 * i + a, o);
2033
+ return ni(t, e, n, 1e6 * r + 1e3 * i + a, o);
2034
2034
  }
2035
- function ar(t, e, n, r = "auto") {
2035
+ function ir(t, e, n, r = "auto") {
2036
2036
  const { isoDate: { year: i, month: a, day: o }, time: { hour: s, minute: u, second: l, millisecond: c, microsecond: d, nanosecond: f } } = t;
2037
- return `${Dr(i)}-${He(a)}-${He(o)}T${ti(s, u, l, 1e6 * c + 1e3 * d + f, n)}${fr(e, r)}`;
2037
+ return `${vr(i)}-${Ze(a)}-${Ze(o)}T${ni(s, u, l, 1e6 * c + 1e3 * d + f, n)}${hr(e, r)}`;
2038
2038
  }
2039
2039
  function Ta(t, e = "auto") {
2040
2040
  const { year: n, month: r, day: i } = m(t, R);
2041
- let a = `${He(r)}-${He(i)}`;
2041
+ let a = `${Ze(r)}-${Ze(i)}`;
2042
2042
  const o = m(t, M);
2043
- e !== "always" && e !== "critical" && o === "iso8601" || (a = `${Dr(n)}-${a}`);
2044
- const s = fr(o, e);
2043
+ e !== "always" && e !== "critical" && o === "iso8601" || (a = `${vr(n)}-${a}`);
2044
+ const s = hr(o, e);
2045
2045
  return s && (a += s), a;
2046
2046
  }
2047
2047
  function Ca(t, e = "auto") {
2048
2048
  const { year: n, month: r, day: i } = m(t, R);
2049
- let a = `${Dr(n)}-${He(r)}`;
2049
+ let a = `${vr(n)}-${Ze(r)}`;
2050
2050
  const o = m(t, M);
2051
- e !== "always" && e !== "critical" && o === "iso8601" || (a += `-${He(i)}`);
2052
- const s = fr(o, e);
2051
+ e !== "always" && e !== "critical" && o === "iso8601" || (a += `-${Ze(i)}`);
2052
+ const s = hr(o, e);
2053
2053
  return s && (a += s), a;
2054
2054
  }
2055
2055
  function La(t, e, n = "auto", r = "auto", i = "auto", a = void 0) {
@@ -2059,8 +2059,8 @@ function La(t, e, n = "auto", r = "auto", i = "auto", a = void 0) {
2059
2059
  o = $i(o, d, c, f);
2060
2060
  }
2061
2061
  const s = m(t, q), u = En(s, o);
2062
- let l = ar(Xe(s, o), "iso8601", e, "never");
2063
- return i !== "never" && (l += Go(u)), r !== "never" && (l += `[${r === "critical" ? "!" : ""}${s}]`), l += fr(m(t, M), n), l;
2062
+ let l = ir(Xe(s, o), "iso8601", e, "never");
2063
+ return i !== "never" && (l += Go(u)), r !== "never" && (l += `[${r === "critical" ? "!" : ""}${s}]`), l += hr(m(t, M), n), l;
2064
2064
  }
2065
2065
  function ka(t) {
2066
2066
  return Lo.test(t);
@@ -2070,21 +2070,21 @@ function At(t) {
2070
2070
  if (!e) throw new RangeError(`invalid time zone offset: ${t}; must match ±HH:MM[:SS.SSSSSSSSS]`);
2071
2071
  return (e[1] === "-" ? -1 : 1) * (1e9 * (60 * (60 * +e[2] + +(e[3] || 0)) + +(e[4] || 0)) + +((e[5] || 0) + "000000000").slice(0, 9));
2072
2072
  }
2073
- let Pt;
2073
+ let $t;
2074
2074
  const Js = Object.assign(/* @__PURE__ */ Object.create(null), { "/": !0, "-": !0, _: !0 });
2075
- function jr(t) {
2076
- if (Pt === void 0) {
2075
+ function xr(t) {
2076
+ if ($t === void 0) {
2077
2077
  const a = Intl.supportedValuesOf?.("timeZone");
2078
2078
  if (a) {
2079
- Pt = /* @__PURE__ */ new Map();
2079
+ $t = /* @__PURE__ */ new Map();
2080
2080
  for (let o = 0; o < a.length; o++) {
2081
2081
  const s = a[o];
2082
- Pt.set(sr(s), s);
2082
+ $t.set(or(s), s);
2083
2083
  }
2084
- } else Pt = null;
2084
+ } else $t = null;
2085
2085
  }
2086
- const e = sr(t);
2087
- let n = Pt?.get(e);
2086
+ const e = or(t);
2087
+ let n = $t?.get(e);
2088
2088
  if (n) return { identifier: n, primaryIdentifier: n };
2089
2089
  try {
2090
2090
  n = Eo(t).resolvedOptions().timeZone;
@@ -2109,7 +2109,7 @@ function Ri(t, e) {
2109
2109
  }
2110
2110
  function Ki(t) {
2111
2111
  const e = t < 0 ? "-" : "+", n = Math.abs(t);
2112
- return `${e}${ti(Math.floor(n / 60), n % 60, 0, 0, "minute")}`;
2112
+ return `${e}${ni(Math.floor(n / 60), n % 60, 0, 0, "minute")}`;
2113
2113
  }
2114
2114
  function Go(t) {
2115
2115
  return Ki(xn(t, zs, "halfExpand") / 6e10);
@@ -2123,7 +2123,7 @@ function he(t) {
2123
2123
  return h.add(cn(e), h.BigInt(n));
2124
2124
  }
2125
2125
  function Fo(t) {
2126
- let e = Je(t, "trunc"), n = h.toNumber(h.remainder(t, dr));
2126
+ let e = Je(t, "trunc"), n = h.toNumber(h.remainder(t, cr));
2127
2127
  n < 0 && (n += 1e6, e -= 1);
2128
2128
  const r = Math.floor(n / 1e3) % 1e3, i = n % 1e3, a = new Date(e);
2129
2129
  return { epochMilliseconds: e, isoDate: { year: a.getUTCFullYear(), month: a.getUTCMonth() + 1, day: a.getUTCDate() }, time: { hour: a.getUTCHours(), minute: a.getUTCMinutes(), second: a.getUTCSeconds(), millisecond: a.getUTCMilliseconds(), microsecond: r, nanosecond: i } };
@@ -2131,7 +2131,7 @@ function Fo(t) {
2131
2131
  function Bi(t, e) {
2132
2132
  if (t === "UTC") return null;
2133
2133
  const n = Je(e, "floor");
2134
- if (n < Bt) return Bi(t, cn(Bt));
2134
+ if (n < Wt) return Bi(t, cn(Wt));
2135
2135
  const r = Date.now(), i = Math.max(n, r) + 366 * zn * 3;
2136
2136
  let a = n, o = Qn(t, a), s = a, u = o;
2137
2137
  for (; o === u && a < i; ) {
@@ -2152,10 +2152,10 @@ function Ai(t, e) {
2152
2152
  if (l < n) return Ai(t, cn(l));
2153
2153
  }
2154
2154
  let a = n - 1;
2155
- if (a < Bt) return null;
2155
+ if (a < Wt) return null;
2156
2156
  let o = Qn(t, a), s = a, u = o;
2157
- for (; o === u && a > Bt; ) {
2158
- if (s = a - 2 * zn * 7, s < Bt) return null;
2157
+ for (; o === u && a > Wt; ) {
2158
+ if (s = a - 2 * zn * 7, s < Wt) return null;
2159
2159
  u = Qn(t, s), o === u && (a = s);
2160
2160
  }
2161
2161
  return o === u ? null : cn(Jo(((l) => Qn(t, l)), s, a, u, o));
@@ -2174,13 +2174,13 @@ function zo(t, e) {
2174
2174
  return { year: o, month: i, day: a, hour: u, minute: l, second: c };
2175
2175
  })(Eo(t).format(e));
2176
2176
  }
2177
- function Gr(t) {
2177
+ function jr(t) {
2178
2178
  return t !== void 0 && !(t % 4 != 0 || t % 100 == 0 && t % 400 != 0);
2179
2179
  }
2180
2180
  function Xn(t, e) {
2181
- return { standard: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], leapyear: [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] }[Gr(t) ? "leapyear" : "standard"][e - 1];
2181
+ return { standard: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], leapyear: [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] }[jr(t) ? "leapyear" : "standard"][e - 1];
2182
2182
  }
2183
- function Fr(t) {
2183
+ function Gr(t) {
2184
2184
  const e = [m(t, ve), m(t, De), m(t, $e), m(t, Me), m(t, Ee), m(t, Te), m(t, Ce), m(t, Le), m(t, ke), m(t, Pe)];
2185
2185
  for (let n = 0; n < e.length; n++) {
2186
2186
  const r = e[n];
@@ -2188,7 +2188,7 @@ function Fr(t) {
2188
2188
  }
2189
2189
  return 0;
2190
2190
  }
2191
- function ri(t) {
2191
+ function ti(t) {
2192
2192
  const e = ["years", "months", "weeks", "days"];
2193
2193
  for (let n = 0; n < e.length; n++) {
2194
2194
  const r = t[e[n]];
@@ -2197,7 +2197,7 @@ function ri(t) {
2197
2197
  return 0;
2198
2198
  }
2199
2199
  function qo(t) {
2200
- const e = ri(t.date);
2200
+ const e = ti(t.date);
2201
2201
  return e !== 0 ? e : t.time.sign();
2202
2202
  }
2203
2203
  function Vn(t, e) {
@@ -2215,13 +2215,13 @@ function xe(t, e, n) {
2215
2215
  r += 400 * l, a -= l * o;
2216
2216
  }
2217
2217
  let s = 0, u = i > 2 ? r : r - 1;
2218
- for (; s = Gr(u) ? 366 : 365, a < -s; ) r -= 1, u -= 1, a += s;
2219
- for (u += 1; s = Gr(u) ? 366 : 365, a > s; ) r += 1, u += 1, a -= s;
2218
+ for (; s = jr(u) ? 366 : 365, a < -s; ) r -= 1, u -= 1, a += s;
2219
+ for (u += 1; s = jr(u) ? 366 : 365, a > s; ) r += 1, u += 1, a -= s;
2220
2220
  for (; a < 1; ) ({ year: r, month: i } = Vn(r, i - 1)), a += Xn(r, i);
2221
2221
  for (; a > Xn(r, i); ) a -= Xn(r, i), { year: r, month: i } = Vn(r, i + 1);
2222
2222
  return { year: r, month: i, day: a };
2223
2223
  }
2224
- function or(t, e, n, r, i, a, o, s, u) {
2224
+ function ar(t, e, n, r, i, a, o, s, u) {
2225
2225
  const l = Pn(r, i, a, o, s, u);
2226
2226
  return F(xe(t, e, n + l.deltaDays), l);
2227
2227
  }
@@ -2233,8 +2233,8 @@ function Pn(t, e, n, r, i, a) {
2233
2233
  }
2234
2234
  function Na(t, e) {
2235
2235
  const n = ge(t, 0);
2236
- if (ri(n) === 0) return t.days;
2237
- const r = m(e, R), i = qe(m(e, M), r, n, "constrain"), a = tt(r.year, r.month - 1, r.day), o = tt(i.year, i.month - 1, i.day) - a;
2236
+ if (ti(n) === 0) return t.days;
2237
+ const r = m(e, R), i = He(m(e, M), r, n, "constrain"), a = tt(r.year, r.month - 1, r.day), o = tt(i.year, i.month - 1, i.day) - a;
2238
2238
  return t.days + o;
2239
2239
  }
2240
2240
  function Ge(t) {
@@ -2256,26 +2256,26 @@ function et(t, e, n) {
2256
2256
  function ot(t) {
2257
2257
  nt(F(t, { deltaDays: 0, hour: 12, minute: 0, second: 0, millisecond: 0, microsecond: 0, nanosecond: 0 }));
2258
2258
  }
2259
- function ii(t, e, n, r, i, a) {
2259
+ function ri(t, e, n, r, i, a) {
2260
2260
  ue(t, 0, 23), ue(e, 0, 59), ue(n, 0, 59), ue(r, 0, 999), ue(i, 0, 999), ue(a, 0, 999);
2261
2261
  }
2262
2262
  function Vi(t, e, n, r, i, a, o, s, u) {
2263
- et(t, e, n), ii(r, i, a, o, s, u);
2263
+ et(t, e, n), ri(r, i, a, o, s, u);
2264
2264
  }
2265
2265
  function nt(t) {
2266
2266
  const e = he(t);
2267
2267
  (h.lessThan(e, qs) || h.greaterThan(e, Hs)) && mn(e);
2268
2268
  }
2269
- function Ii(t) {
2269
+ function Si(t) {
2270
2270
  he(t);
2271
2271
  }
2272
2272
  function mn(t) {
2273
- if (h.lessThan(t, nr) || h.greaterThan(t, vt)) throw new RangeError("date/time value is outside of supported range");
2273
+ if (h.lessThan(t, er) || h.greaterThan(t, vt)) throw new RangeError("date/time value is outside of supported range");
2274
2274
  }
2275
2275
  function Qi({ year: t, month: e }) {
2276
2276
  ue(t, ga, ya), t === ga ? ue(e, 4, 12) : t === ya && ue(e, 1, 9);
2277
2277
  }
2278
- function ai(t, e, n, r, i, a, o, s, u, l) {
2278
+ function ii(t, e, n, r, i, a, o, s, u, l) {
2279
2279
  let c = 0;
2280
2280
  const d = [t, e, n, r, i, a, o, s, u, l];
2281
2281
  for (let p = 0; p < d.length; p++) {
@@ -2300,7 +2300,7 @@ function ln(t) {
2300
2300
  }
2301
2301
  function Zo(t) {
2302
2302
  const e = ln(t), n = Math.trunc(e.time.sec / 86400);
2303
- return ai(e.date.years, e.date.months, e.date.weeks, n, 0, 0, 0, 0, 0, 0), { ...e.date, days: n };
2303
+ return ii(e.date.years, e.date.months, e.date.weeks, n, 0, 0, 0, 0, 0, 0), { ...e.date, days: n };
2304
2304
  }
2305
2305
  function Be(t, e) {
2306
2306
  const n = t.time.sign();
@@ -2333,7 +2333,7 @@ function Be(t, e) {
2333
2333
  return new (fe("%Temporal.Duration%"))(t.date.years, t.date.months, t.date.weeks, t.date.days + n * l, n * u, n * s, n * o, n * a, n * i, n * r);
2334
2334
  }
2335
2335
  function kn(t, e) {
2336
- return ri(t), e.sign(), { date: t, time: e };
2336
+ return ti(t), e.sign(), { date: t, time: e };
2337
2337
  }
2338
2338
  function tt(t, e, n) {
2339
2339
  return Wi({ isoDate: { year: t, month: e + 1, day: n }, time: { hour: 0, minute: 0, second: 0, millisecond: 0 } }) / zn;
@@ -2347,21 +2347,21 @@ function Xi(t, e) {
2347
2347
  }
2348
2348
  function Ji(t, e, n, r, i) {
2349
2349
  let a = Y.fromEpochNsDiff(e, t);
2350
- return a = zr(a, n, r, i), kn({ years: 0, months: 0, weeks: 0, days: 0 }, a);
2350
+ return a = Fr(a, n, r, i), kn({ years: 0, months: 0, weeks: 0, days: 0 }, a);
2351
2351
  }
2352
2352
  function Ko(t, e, n, r) {
2353
- Ii(t), Ii(e);
2353
+ Si(t), Si(e);
2354
2354
  let i = Xi(t.time, e.time);
2355
2355
  const a = i.sign(), o = gn(t.isoDate, e.isoDate);
2356
2356
  let s = e.isoDate;
2357
2357
  o === a && (s = xe(s.year, s.month, s.day + a), i = i.add24HourDays(-a));
2358
- const u = Ln("day", r), l = pr(n, t.isoDate, s, u);
2358
+ const u = Ln("day", r), l = wr(n, t.isoDate, s, u);
2359
2359
  return r !== u && (i = i.add24HourDays(l.days), l.days = 0), kn(l, i);
2360
2360
  }
2361
2361
  function Wo(t, e, n, r, i) {
2362
2362
  const a = h.subtract(e, t);
2363
- if (h.equal(a, ze)) return { date: { years: 0, months: 0, weeks: 0, days: 0 }, time: Y.ZERO };
2364
- const o = h.lessThan(a, ze) ? -1 : 1, s = Xe(n, t), u = Xe(n, e);
2363
+ if (h.equal(a, qe)) return { date: { years: 0, months: 0, weeks: 0, days: 0 }, time: Y.ZERO };
2364
+ const o = h.lessThan(a, qe) ? -1 : 1, s = Xe(n, t), u = Xe(n, e);
2365
2365
  let l, c = 0, d = o === 1 ? 2 : 1, f = Xi(s.time, u.time);
2366
2366
  for (f.sign() === -o && c++; c <= d; c++) {
2367
2367
  l = F(xe(u.isoDate.year, u.isoDate.month, u.isoDate.day - c * o), s.time);
@@ -2369,7 +2369,7 @@ function Wo(t, e, n, r, i) {
2369
2369
  if (f = Y.fromEpochNsDiff(e, _), f.sign() !== -o) break;
2370
2370
  }
2371
2371
  const g = Ln("day", i);
2372
- return kn(pr(r, s.isoDate, l.isoDate, g), f);
2372
+ return kn(wr(r, s.isoDate, l.isoDate, g), f);
2373
2373
  }
2374
2374
  function Bo(t, e, n, r, i, a, o, s, u) {
2375
2375
  let l, c, d, f, g = e;
@@ -2385,7 +2385,7 @@ function Bo(t, e, n, r, i, a, o, s, u) {
2385
2385
  break;
2386
2386
  }
2387
2387
  case "week": {
2388
- const z = ge(g.date, 0, 0), te = qe(a, r.isoDate, z, "constrain"), ie = pr(a, te, xe(te.year, te.month, te.day + g.date.days), "week"), V = xn(g.date.weeks + ie.weeks, o, "trunc");
2388
+ const z = ge(g.date, 0, 0), te = He(a, r.isoDate, z, "constrain"), ie = wr(a, te, xe(te.year, te.month, te.day + g.date.days), "week"), V = xn(g.date.weeks + ie.weeks, o, "trunc");
2389
2389
  l = V, c = V + o * t, d = ge(g.date, 0, l), f = ge(g.date, 0, c);
2390
2390
  break;
2391
2391
  }
@@ -2395,77 +2395,77 @@ function Bo(t, e, n, r, i, a, o, s, u) {
2395
2395
  break;
2396
2396
  }
2397
2397
  }
2398
- const _ = qe(a, r.isoDate, d, "constrain"), y = qe(a, r.isoDate, f, "constrain");
2398
+ const _ = He(a, r.isoDate, d, "constrain"), y = He(a, r.isoDate, f, "constrain");
2399
2399
  let w, p;
2400
2400
  const E = F(_, r.time), v = F(y, r.time);
2401
2401
  i ? (w = ye(i, E, "compatible"), p = ye(i, v, "compatible")) : (w = he(E), p = he(v));
2402
- const T = Y.fromEpochNsDiff(n, w), C = Y.fromEpochNsDiff(p, w), U = Vr(u, t < 0 ? "negative" : "positive"), H = T.add(T).abs().subtract(C.abs()).sign(), Z = Math.abs(l) / o % 2 == 0, S = T.isZero() ? Math.abs(l) : T.cmp(C) ? Qr(Math.abs(l), Math.abs(c), H, Z, U) : Math.abs(c), B = new Y(h.add(h.multiply(C.totalNs, h.BigInt(l)), h.multiply(T.totalNs, h.BigInt(o * t)))).fdiv(C.totalNs), x = S === Math.abs(c);
2402
+ const T = Y.fromEpochNsDiff(n, w), C = Y.fromEpochNsDiff(p, w), U = Br(u, t < 0 ? "negative" : "positive"), H = T.add(T).abs().subtract(C.abs()).sign(), Z = Math.abs(l) / o % 2 == 0, I = T.isZero() ? Math.abs(l) : T.cmp(C) ? Vr(Math.abs(l), Math.abs(c), H, Z, U) : Math.abs(c), B = new Y(h.add(h.multiply(C.totalNs, h.BigInt(l)), h.multiply(T.totalNs, h.BigInt(o * t)))).fdiv(C.totalNs), x = I === Math.abs(c);
2403
2403
  return g = { date: x ? f : d, time: Y.ZERO }, { nudgeResult: { duration: g, nudgedEpochNs: x ? p : w, didExpandCalendarUnit: x }, total: B };
2404
2404
  }
2405
- function oi(t, e, n, r, i, a, o, s, u) {
2405
+ function ai(t, e, n, r, i, a, o, s, u) {
2406
2406
  let l = t;
2407
2407
  const c = on(s) || r && s === "day", d = qo(l) < 0 ? -1 : 1;
2408
2408
  let f;
2409
2409
  return c ? { nudgeResult: f } = Bo(d, l, e, n, r, i, o, s, u) : f = r ? (function(g, _, y, w, p, E, v, T) {
2410
2410
  let C = _;
2411
- const U = qe(p, y.isoDate, C.date, "constrain"), H = F(U, y.time), Z = F(xe(U.year, U.month, U.day + g), y.time), S = ye(w, H, "compatible"), B = ye(w, Z, "compatible"), x = Y.fromEpochNsDiff(B, S);
2411
+ const U = He(p, y.isoDate, C.date, "constrain"), H = F(U, y.time), Z = F(xe(U.year, U.month, U.day + g), y.time), I = ye(w, H, "compatible"), B = ye(w, Z, "compatible"), x = Y.fromEpochNsDiff(B, I);
2412
2412
  if (x.sign() !== g) throw new RangeError("time zone returned inconsistent Instants");
2413
2413
  const z = h.BigInt(Mt[v] * E);
2414
2414
  let te = C.time.round(z, T);
2415
2415
  const ie = te.subtract(x), V = ie.sign() !== -g;
2416
2416
  let G, ut;
2417
- return V ? (G = g, te = ie.round(z, T), ut = te.addToEpochNs(B)) : (G = 0, ut = te.addToEpochNs(S)), { duration: kn(ge(C.date, C.date.days + G), te), nudgedEpochNs: ut, didExpandCalendarUnit: V };
2417
+ return V ? (G = g, te = ie.round(z, T), ut = te.addToEpochNs(B)) : (G = 0, ut = te.addToEpochNs(I)), { duration: kn(ge(C.date, C.date.days + G), te), nudgedEpochNs: ut, didExpandCalendarUnit: V };
2418
2418
  })(d, l, n, r, i, o, s, u) : (function(g, _, y, w, p, E) {
2419
2419
  let v = g;
2420
- const T = v.time.add24HourDays(v.date.days), C = T.round(h.BigInt(w * Mt[p]), E), U = C.subtract(T), { quotient: H } = T.divmod(Pr), { quotient: Z } = C.divmod(Pr), S = Math.sign(Z - H) === T.sign(), B = U.addToEpochNs(_);
2420
+ const T = v.time.add24HourDays(v.date.days), C = T.round(h.BigInt(w * Mt[p]), E), U = C.subtract(T), { quotient: H } = T.divmod($r), { quotient: Z } = C.divmod($r), I = Math.sign(Z - H) === T.sign(), B = U.addToEpochNs(_);
2421
2421
  let x = 0, z = C;
2422
- return Dn(y) === "date" && (x = Z, z = C.add(Y.fromComponents(24 * -Z, 0, 0, 0, 0, 0))), { duration: { date: ge(v.date, x), time: z }, nudgedEpochNs: B, didExpandCalendarUnit: S };
2422
+ return Dn(y) === "date" && (x = Z, z = C.add(Y.fromComponents(24 * -Z, 0, 0, 0, 0, 0))), { duration: { date: ge(v.date, x), time: z }, nudgedEpochNs: B, didExpandCalendarUnit: I };
2423
2423
  })(l, e, a, o, s, u), l = f.duration, f.didExpandCalendarUnit && s !== "week" && (l = (function(g, _, y, w, p, E, v, T) {
2424
2424
  let C = _;
2425
2425
  if (T === v) return C;
2426
- const U = Vt.indexOf(v);
2427
- for (let H = Vt.indexOf(T) - 1; H >= U; H--) {
2428
- const Z = Vt[H];
2426
+ const U = Bt.indexOf(v);
2427
+ for (let H = Bt.indexOf(T) - 1; H >= U; H--) {
2428
+ const Z = Bt[H];
2429
2429
  if (Z === "week" && v !== "week") continue;
2430
- let S;
2430
+ let I;
2431
2431
  switch (Z) {
2432
2432
  case "year":
2433
- S = { years: C.date.years + g, months: 0, weeks: 0, days: 0 };
2433
+ I = { years: C.date.years + g, months: 0, weeks: 0, days: 0 };
2434
2434
  break;
2435
2435
  case "month": {
2436
2436
  const z = C.date.months + g;
2437
- S = ge(C.date, 0, 0, z);
2437
+ I = ge(C.date, 0, 0, z);
2438
2438
  break;
2439
2439
  }
2440
2440
  case "week": {
2441
2441
  const z = C.date.weeks + g;
2442
- S = ge(C.date, 0, z);
2442
+ I = ge(C.date, 0, z);
2443
2443
  break;
2444
2444
  }
2445
2445
  }
2446
- const B = F(qe(E, w.isoDate, S, "constrain"), w.time);
2446
+ const B = F(He(E, w.isoDate, I, "constrain"), w.time);
2447
2447
  let x;
2448
2448
  if (x = p ? ye(p, B, "compatible") : he(B), Sr(y, x) === -g) break;
2449
- C = { date: S, time: Y.ZERO };
2449
+ C = { date: I, time: Y.ZERO };
2450
2450
  }
2451
2451
  return C;
2452
2452
  })(d, l, f.nudgedEpochNs, n, r, i, a, Ln(s, "day"))), l;
2453
2453
  }
2454
2454
  function Oa(t, e, n, r, i, a) {
2455
- return on(a) || r && a === "day" ? Bo(qo(t) < 0 ? -1 : 1, t, e, n, r, i, 1, a, "trunc").total : Jt(t.time.add24HourDays(t.date.days), a);
2455
+ return on(a) || r && a === "day" ? Bo(qo(t) < 0 ? -1 : 1, t, e, n, r, i, 1, a, "trunc").total : Xt(t.time.add24HourDays(t.date.days), a);
2456
2456
  }
2457
2457
  function Vo(t, e, n, r, i, a, o) {
2458
2458
  if (Tt(t, e) == 0) return { date: { years: 0, months: 0, weeks: 0, days: 0 }, time: Y.ZERO };
2459
2459
  nt(t), nt(e);
2460
2460
  const s = Ko(t, e, n, r);
2461
- return a === "nanosecond" && i === 1 ? s : oi(s, he(e), t, null, n, r, i, a, o);
2461
+ return a === "nanosecond" && i === 1 ? s : ai(s, he(e), t, null, n, r, i, a, o);
2462
2462
  }
2463
2463
  function Qo(t, e, n, r, i, a, o, s) {
2464
2464
  if (Dn(i) === "time") return Ji(t, e, a, o, s);
2465
2465
  const u = Wo(t, e, n, r, i);
2466
- return o === "nanosecond" && a === 1 ? u : oi(u, e, Xe(n, t), n, r, i, a, o, s);
2466
+ return o === "nanosecond" && a === 1 ? u : ai(u, e, Xe(n, t), n, r, i, a, o, s);
2467
2467
  }
2468
- function It(t, e, n, r, i, a) {
2468
+ function St(t, e, n, r, i, a) {
2469
2469
  const o = Dt.reduce(((g, _) => {
2470
2470
  const y = _[0], w = _[1], p = _[2];
2471
2471
  return n !== "datetime" && p !== n || r.includes(w) || g.push(w, y), g;
@@ -2496,60 +2496,60 @@ function It(t, e, n, r, i, a) {
2496
2496
  return f !== void 0 && Rt(u, f, !1), { largestUnit: s, roundingIncrement: u, roundingMode: l, smallestUnit: c };
2497
2497
  }
2498
2498
  function Ra(t, e, n, r) {
2499
- const i = zt(n), a = It(t, L(r), "time", [], "nanosecond", "second");
2499
+ const i = Ft(n), a = St(t, L(r), "time", [], "nanosecond", "second");
2500
2500
  let o = Be(Ji(m(e, O), m(i, O), a.roundingIncrement, a.smallestUnit, a.roundingMode), a.largestUnit);
2501
2501
  return t === "since" && (o = Ge(o)), o;
2502
2502
  }
2503
2503
  function Aa(t, e, n, r) {
2504
- const i = Gt(n), a = m(e, M), o = m(i, M);
2504
+ const i = jt(n), a = m(e, M), o = m(i, M);
2505
2505
  if (!fn(a, o)) throw new RangeError(`cannot compute difference between dates of ${a} and ${o} calendars`);
2506
- const s = It(t, L(r), "date", [], "day", "day"), u = fe("%Temporal.Duration%"), l = m(e, R), c = m(i, R);
2506
+ const s = St(t, L(r), "date", [], "day", "day"), u = fe("%Temporal.Duration%"), l = m(e, R), c = m(i, R);
2507
2507
  if (gn(l, c) === 0) return new u();
2508
- let d = { date: pr(a, l, c, s.largestUnit), time: Y.ZERO };
2508
+ let d = { date: wr(a, l, c, s.largestUnit), time: Y.ZERO };
2509
2509
  if (s.smallestUnit !== "day" || s.roundingIncrement !== 1) {
2510
2510
  const g = F(l, { deltaDays: 0, hour: 0, minute: 0, second: 0, millisecond: 0, microsecond: 0, nanosecond: 0 });
2511
- d = oi(d, he(F(c, { deltaDays: 0, hour: 0, minute: 0, second: 0, millisecond: 0, microsecond: 0, nanosecond: 0 })), g, null, a, s.largestUnit, s.roundingIncrement, s.smallestUnit, s.roundingMode);
2511
+ d = ai(d, he(F(c, { deltaDays: 0, hour: 0, minute: 0, second: 0, millisecond: 0, microsecond: 0, nanosecond: 0 })), g, null, a, s.largestUnit, s.roundingIncrement, s.smallestUnit, s.roundingMode);
2512
2512
  }
2513
2513
  let f = Be(d, "day");
2514
2514
  return t === "since" && (f = Ge(f)), f;
2515
2515
  }
2516
- function Ia(t, e, n, r) {
2517
- const i = Ft(n), a = m(e, M), o = m(i, M);
2516
+ function Sa(t, e, n, r) {
2517
+ const i = Gt(n), a = m(e, M), o = m(i, M);
2518
2518
  if (!fn(a, o)) throw new RangeError(`cannot compute difference between dates of ${a} and ${o} calendars`);
2519
- const s = It(t, L(r), "datetime", [], "nanosecond", "day"), u = fe("%Temporal.Duration%"), l = m(e, Q), c = m(i, Q);
2519
+ const s = St(t, L(r), "datetime", [], "nanosecond", "day"), u = fe("%Temporal.Duration%"), l = m(e, Q), c = m(i, Q);
2520
2520
  if (Tt(l, c) === 0) return new u();
2521
2521
  let d = Be(Vo(l, c, a, s.largestUnit, s.roundingIncrement, s.smallestUnit, s.roundingMode), s.largestUnit);
2522
2522
  return t === "since" && (d = Ge(d)), d;
2523
2523
  }
2524
- function Sa(t, e, n, r) {
2525
- const i = Un(n), a = It(t, L(r), "time", [], "nanosecond", "hour");
2524
+ function Ia(t, e, n, r) {
2525
+ const i = Un(n), a = St(t, L(r), "time", [], "nanosecond", "hour");
2526
2526
  let o = Xi(m(e, ee), m(i, ee));
2527
- o = zr(o, a.roundingIncrement, a.smallestUnit, a.roundingMode);
2527
+ o = Fr(o, a.roundingIncrement, a.smallestUnit, a.roundingMode);
2528
2528
  let s = Be(kn({ years: 0, months: 0, weeks: 0, days: 0 }, o), a.largestUnit);
2529
2529
  return t === "since" && (s = Ge(s)), s;
2530
2530
  }
2531
2531
  function $a(t, e, n, r) {
2532
- const i = qt(n), a = m(e, M), o = m(i, M);
2532
+ const i = zt(n), a = m(e, M), o = m(i, M);
2533
2533
  if (!fn(a, o)) throw new RangeError(`cannot compute difference between months of ${a} and ${o} calendars`);
2534
- const s = It(t, L(r), "date", ["week", "day"], "month", "year"), u = fe("%Temporal.Duration%");
2534
+ const s = St(t, L(r), "date", ["week", "day"], "month", "year"), u = fe("%Temporal.Duration%");
2535
2535
  if (gn(m(e, R), m(i, R)) == 0) return new u();
2536
2536
  const l = Ae(a, m(e, R), "year-month");
2537
2537
  l.day = 1;
2538
2538
  const c = qn(a, l, "constrain"), d = Ae(a, m(i, R), "year-month");
2539
2539
  d.day = 1;
2540
2540
  const f = qn(a, d, "constrain");
2541
- let g = { date: ge(pr(a, c, f, s.largestUnit), 0, 0), time: Y.ZERO };
2541
+ let g = { date: ge(wr(a, c, f, s.largestUnit), 0, 0), time: Y.ZERO };
2542
2542
  if (s.smallestUnit !== "month" || s.roundingIncrement !== 1) {
2543
2543
  const y = F(c, { deltaDays: 0, hour: 0, minute: 0, second: 0, millisecond: 0, microsecond: 0, nanosecond: 0 });
2544
- g = oi(g, he(F(f, { deltaDays: 0, hour: 0, minute: 0, second: 0, millisecond: 0, microsecond: 0, nanosecond: 0 })), y, null, a, s.largestUnit, s.roundingIncrement, s.smallestUnit, s.roundingMode);
2544
+ g = ai(g, he(F(f, { deltaDays: 0, hour: 0, minute: 0, second: 0, millisecond: 0, microsecond: 0, nanosecond: 0 })), y, null, a, s.largestUnit, s.roundingIncrement, s.smallestUnit, s.roundingMode);
2545
2545
  }
2546
2546
  let _ = Be(g, "day");
2547
2547
  return t === "since" && (_ = Ge(_)), _;
2548
2548
  }
2549
2549
  function Pa(t, e, n, r) {
2550
- const i = Ht(n), a = m(e, M), o = m(i, M);
2550
+ const i = qt(n), a = m(e, M), o = m(i, M);
2551
2551
  if (!fn(a, o)) throw new RangeError(`cannot compute difference between dates of ${a} and ${o} calendars`);
2552
- const s = It(t, L(r), "datetime", [], "nanosecond", "hour"), u = m(e, O), l = m(i, O), c = fe("%Temporal.Duration%");
2552
+ const s = St(t, L(r), "datetime", [], "nanosecond", "hour"), u = m(e, O), l = m(i, O), c = fe("%Temporal.Duration%");
2553
2553
  let d;
2554
2554
  if (Dn(s.largestUnit) !== "date") d = Be(Ji(u, l, s.roundingIncrement, s.smallestUnit, s.roundingMode), s.largestUnit);
2555
2555
  else {
@@ -2564,14 +2564,14 @@ function Et({ hour: t, minute: e, second: n, millisecond: r, microsecond: i, nan
2564
2564
  let s = n, u = a;
2565
2565
  return s += o.sec, u += o.subsec, Pn(t, e, s, r, i, u);
2566
2566
  }
2567
- function Si(t, e) {
2567
+ function Ii(t, e) {
2568
2568
  const n = e.addToEpochNs(t);
2569
2569
  return mn(n), n;
2570
2570
  }
2571
- function Zt(t, e, n, r, i = "constrain") {
2572
- if (ri(r.date) === 0) return Si(t, r.time);
2571
+ function Ht(t, e, n, r, i = "constrain") {
2572
+ if (ti(r.date) === 0) return Ii(t, r.time);
2573
2573
  const a = Xe(e, t);
2574
- return Si(ye(e, F(qe(n, a.isoDate, r.date, i), a.time), "compatible"), r.time);
2574
+ return Ii(ye(e, F(He(n, a.isoDate, r.date, i), a.time), "compatible"), r.time);
2575
2575
  }
2576
2576
  function Ya(t, e, n) {
2577
2577
  let r = Qe(n);
@@ -2587,62 +2587,62 @@ function Ua(t, e, n) {
2587
2587
  const i = vn(r);
2588
2588
  if (Dn(i) === "date") throw new RangeError(`Duration field ${i} not supported by Temporal.Instant. Try Temporal.ZonedDateTime instead.`);
2589
2589
  const a = ln(r);
2590
- return un(Si(m(e, O), a.time));
2590
+ return un(Ii(m(e, O), a.time));
2591
2591
  }
2592
2592
  function xa(t, e, n, r) {
2593
2593
  const i = m(e, M);
2594
2594
  let a = Qe(n);
2595
2595
  t === "subtract" && (a = Ge(a));
2596
2596
  const o = Zo(a), s = j(L(r));
2597
- return Oe(qe(i, m(e, R), o, s), i);
2597
+ return Oe(He(i, m(e, R), o, s), i);
2598
2598
  }
2599
2599
  function ja(t, e, n, r) {
2600
2600
  let i = Qe(n);
2601
2601
  t === "subtract" && (i = Ge(i));
2602
2602
  const a = j(L(r)), o = m(e, M), s = ln(i), u = m(e, Q), l = Et(u.time, s.time), c = ge(s.date, l.deltaDays);
2603
- return ai(c.years, c.months, c.weeks, c.days, 0, 0, 0, 0, 0, 0), We(F(qe(o, u.isoDate, c, a), l), o);
2603
+ return ii(c.years, c.months, c.weeks, c.days, 0, 0, 0, 0, 0, 0), We(F(He(o, u.isoDate, c, a), l), o);
2604
2604
  }
2605
2605
  function Ga(t, e, n) {
2606
2606
  let r = Qe(n);
2607
2607
  t === "subtract" && (r = Ge(r));
2608
2608
  const i = ln(r), { hour: a, minute: o, second: s, millisecond: u, microsecond: l, nanosecond: c } = Et(m(e, ee), i.time);
2609
- return Mn(ni(a, o, s, u, l, c, "reject"));
2609
+ return Mn(ei(a, o, s, u, l, c, "reject"));
2610
2610
  }
2611
2611
  function Fa(t, e, n, r) {
2612
2612
  let i = Qe(n);
2613
2613
  t === "subtract" && (i = Ge(i));
2614
- const a = j(L(r)), o = Fr(i), s = m(e, M), u = Ae(s, m(e, R), "year-month");
2614
+ const a = j(L(r)), o = Gr(i), s = m(e, M), u = Ae(s, m(e, R), "year-month");
2615
2615
  u.day = 1;
2616
2616
  let l = qn(s, u, "constrain");
2617
2617
  if (o < 0) {
2618
- const d = qe(s, l, { months: 1 }, "constrain");
2618
+ const d = He(s, l, { months: 1 }, "constrain");
2619
2619
  l = xe(d.year, d.month, d.day - 1);
2620
2620
  }
2621
2621
  const c = Zo(i);
2622
- return ot(l), _t(rr(s, Ae(s, qe(s, l, c, a), "year-month"), a), s);
2622
+ return ot(l), _t(tr(s, Ae(s, He(s, l, c, a), "year-month"), a), s);
2623
2623
  }
2624
2624
  function za(t, e, n, r) {
2625
2625
  let i = Qe(n);
2626
2626
  t === "subtract" && (i = Ge(i));
2627
2627
  const a = j(L(r)), o = m(e, q), s = m(e, M), u = ft(i);
2628
- return me(Zt(m(e, O), o, s, u, a), o, s);
2628
+ return me(Ht(m(e, O), o, s, u, a), o, s);
2629
2629
  }
2630
2630
  function xn(t, e, n) {
2631
- const r = Math.trunc(t / e), i = t % e, a = t < 0 ? "negative" : "positive", o = Math.abs(r), s = o + 1, u = Ye(Math.abs(2 * i) - e), l = o % 2 == 0, c = Vr(n, a), d = i === 0 ? o : Qr(o, s, u, l, c);
2631
+ const r = Math.trunc(t / e), i = t % e, a = t < 0 ? "negative" : "positive", o = Math.abs(r), s = o + 1, u = Ye(Math.abs(2 * i) - e), l = o % 2 == 0, c = Br(n, a), d = i === 0 ? o : Vr(o, s, u, l, c);
2632
2632
  return e * (a === "positive" ? d : -d);
2633
2633
  }
2634
2634
  function $i(t, e, n, r) {
2635
2635
  const i = Mt[n] * e;
2636
2636
  return (function(a, o, s) {
2637
- const u = bn(a), l = bn(o), c = h.divide(u, l), d = h.remainder(u, l), f = Vr(s, "positive");
2637
+ const u = bn(a), l = bn(o), c = h.divide(u, l), d = h.remainder(u, l), f = Br(s, "positive");
2638
2638
  let g, _;
2639
- h.lessThan(u, ze) ? (g = h.subtract(c, er), _ = c) : (g = c, _ = h.add(c, er));
2640
- const y = Sr(Bn(h.multiply(d, qi)), l) * (h.lessThan(u, ze) ? -1 : 1) + 0, w = h.equal(d, ze) ? c : Qr(g, _, y, oo(g), f);
2639
+ h.lessThan(u, qe) ? (g = h.subtract(c, Jt), _ = c) : (g = c, _ = h.add(c, Jt));
2640
+ const y = Sr(Bn(h.multiply(d, qi)), l) * (h.lessThan(u, qe) ? -1 : 1) + 0, w = h.equal(d, qe) ? c : Vr(g, _, y, oo(g), f);
2641
2641
  return h.multiply(w, l);
2642
2642
  })(t, h.BigInt(i), r);
2643
2643
  }
2644
2644
  function Pi(t, e, n, r) {
2645
- Ii(t);
2645
+ Si(t);
2646
2646
  const { year: i, month: a, day: o } = t.isoDate, s = Yi(t.time, e, n, r);
2647
2647
  return F(xe(i, a, o + s.deltaDays), s);
2648
2648
  }
@@ -2688,11 +2688,11 @@ function Yi({ hour: t, minute: e, second: n, millisecond: r, microsecond: i, nan
2688
2688
  throw new Error(`Invalid unit ${s}`);
2689
2689
  }
2690
2690
  }
2691
- function zr(t, e, n, r) {
2691
+ function Fr(t, e, n, r) {
2692
2692
  const i = Mt[n];
2693
2693
  return t.round(h.BigInt(i * e), r);
2694
2694
  }
2695
- function Jt(t, e) {
2695
+ function Xt(t, e) {
2696
2696
  const n = Mt[e];
2697
2697
  return t.fdiv(h.BigInt(n));
2698
2698
  }
@@ -2707,19 +2707,19 @@ function Tt(t, e) {
2707
2707
  return n !== 0 ? n : Ui(t.time, e.time);
2708
2708
  }
2709
2709
  function Xo(t) {
2710
- const e = qr(t);
2710
+ const e = zr(t);
2711
2711
  return globalThis.BigInt !== void 0 ? globalThis.BigInt(e.toString(10)) : e;
2712
2712
  }
2713
2713
  function Je(t, e) {
2714
- const n = bn(t), { quotient: r, remainder: i } = xt(n, dr);
2714
+ const n = bn(t), { quotient: r, remainder: i } = Ut(n, cr);
2715
2715
  let a = h.toNumber(r);
2716
2716
  return e === "floor" && h.toNumber(i) < 0 && (a -= 1), e === "ceil" && h.toNumber(i) > 0 && (a += 1), a;
2717
2717
  }
2718
2718
  function cn(t) {
2719
2719
  if (!Number.isInteger(t)) throw new RangeError("epoch milliseconds must be an integer");
2720
- return h.multiply(h.BigInt(t), dr);
2720
+ return h.multiply(h.BigInt(t), cr);
2721
2721
  }
2722
- function qr(t) {
2722
+ function zr(t) {
2723
2723
  let e = t;
2724
2724
  if (typeof t == "object") {
2725
2725
  const n = t[Symbol.toPrimitive];
@@ -2732,10 +2732,10 @@ const xi = (() => {
2732
2732
  let t = h.BigInt(Date.now() % 1e6);
2733
2733
  return () => {
2734
2734
  const e = Date.now(), n = h.BigInt(e), r = h.add(cn(e), t);
2735
- return t = h.remainder(n, dr), h.greaterThan(r, vt) ? vt : h.lessThan(r, nr) ? nr : r;
2735
+ return t = h.remainder(n, cr), h.greaterThan(r, vt) ? vt : h.lessThan(r, er) ? er : r;
2736
2736
  };
2737
2737
  })();
2738
- function Yt() {
2738
+ function Pt() {
2739
2739
  return new Intl.DateTimeFormat().resolvedOptions().timeZone;
2740
2740
  }
2741
2741
  function Ye(t) {
@@ -2753,15 +2753,15 @@ function rt(t, e) {
2753
2753
  function Nn(t, e, n, r) {
2754
2754
  let i = t[e];
2755
2755
  if (i !== void 0) {
2756
- if (i = Jr(i), !n.includes(i)) throw new RangeError(`${e} must be one of ${n.join(", ")}, not ${i}`);
2756
+ if (i = Xr(i), !n.includes(i)) throw new RangeError(`${e} must be one of ${n.join(", ")}, not ${i}`);
2757
2757
  return i;
2758
2758
  }
2759
2759
  if (r === An) throw new RangeError(`${e} option is required`);
2760
2760
  return r;
2761
2761
  }
2762
- function Se(t) {
2763
- const e = sr(t);
2764
- if (!Ks.includes(sr(e))) throw new RangeError(`invalid calendar identifier ${e}`);
2762
+ function Ie(t) {
2763
+ const e = or(t);
2764
+ if (!Ks.includes(or(e))) throw new RangeError(`invalid calendar identifier ${e}`);
2765
2765
  switch (e) {
2766
2766
  case "ethiopic-amete-alem":
2767
2767
  return "ethioaa";
@@ -2770,7 +2770,7 @@ function Se(t) {
2770
2770
  }
2771
2771
  return e;
2772
2772
  }
2773
- function sr(t) {
2773
+ function or(t) {
2774
2774
  let e = "";
2775
2775
  for (let n = 0; n < t.length; n++) {
2776
2776
  const r = t.charCodeAt(n);
@@ -2796,7 +2796,7 @@ function es(t) {
2796
2796
  }
2797
2797
  function ns(t, e) {
2798
2798
  if (t !== "gregory" && t !== "iso8601") return;
2799
- const n = Mr[t];
2799
+ const n = Dr[t];
2800
2800
  let r = e.year;
2801
2801
  const { dayOfWeek: i, dayOfYear: a, daysInYear: o } = n.isoToDate(e, { dayOfWeek: !0, dayOfYear: !0, daysInYear: !0 }), s = n.getFirstDayOfWeek(), u = n.getMinimalDaysInFirstWeek();
2802
2802
  let l = (i + 7 - s) % 7, c = (i - a + 7001 - s) % 7, d = Math.floor((a - 1 + c) / 7);
@@ -2820,7 +2820,7 @@ function qa(t, e, n, r, i) {
2820
2820
  } else if (r !== i.day && t * (r - i.day) > 0) return !0;
2821
2821
  return !1;
2822
2822
  }
2823
- const Mr = {};
2823
+ const Dr = {};
2824
2824
  function it(t) {
2825
2825
  if (!t.startsWith("M")) throw new RangeError(`Invalid month code: ${t}. Month codes must start with M.`);
2826
2826
  const e = +t.slice(1);
@@ -2843,12 +2843,12 @@ function ea(t, e = void 0, n = 12) {
2843
2843
  }
2844
2844
  return { ...t, month: r, monthCode: i };
2845
2845
  }
2846
- Mr.iso8601 = { resolveFields(t, e) {
2846
+ Dr.iso8601 = { resolveFields(t, e) {
2847
2847
  if ((e === "date" || e === "year-month") && t.year === void 0) throw new TypeError("year is required");
2848
2848
  if ((e === "date" || e === "month-day") && t.day === void 0) throw new TypeError("day is required");
2849
2849
  Object.assign(t, ea(t));
2850
- }, dateToISO: (t, e) => Qt(t.year, t.month, t.day, e), monthDayToISOReferenceDate(t, e) {
2851
- const { month: n, day: r } = Qt(t.year ?? 1972, t.month, t.day, e);
2850
+ }, dateToISO: (t, e) => Vt(t.year, t.month, t.day, e), monthDayToISOReferenceDate(t, e) {
2851
+ const { month: n, day: r } = Vt(t.year ?? 1972, t.month, t.day, e);
2852
2852
  return { month: n, day: r, year: 1972 };
2853
2853
  }, extraFields: () => [], fieldKeysToIgnore(t) {
2854
2854
  const e = /* @__PURE__ */ new Set();
@@ -2859,7 +2859,7 @@ Mr.iso8601 = { resolveFields(t, e) {
2859
2859
  return es(e);
2860
2860
  }, dateAdd(t, { years: e = 0, months: n = 0, weeks: r = 0, days: i = 0 }, a) {
2861
2861
  let { year: o, month: s, day: u } = t;
2862
- return o += e, s += n, { year: o, month: s } = Vn(o, s), { year: o, month: s, day: u } = Qt(o, s, u, a), u += i + 7 * r, xe(o, s, u);
2862
+ return o += e, s += n, { year: o, month: s } = Vn(o, s), { year: o, month: s, day: u } = Vt(o, s, u, a), u += i + 7 * r, xe(o, s, u);
2863
2863
  }, dateUntil(t, e, n) {
2864
2864
  const r = -gn(t, e);
2865
2865
  if (r === 0) return { years: 0, months: 0, weeks: 0, days: 0 };
@@ -2886,7 +2886,7 @@ Mr.iso8601 = { resolveFields(t, e) {
2886
2886
  for (let o = e - 1; o > 0; o--) a += Xn(t, o);
2887
2887
  i.dayOfYear = a;
2888
2888
  }
2889
- return r.weekOfYear && (i.weekOfYear = ns("iso8601", { year: t, month: e, day: n })), r.daysInMonth && (i.daysInMonth = Xn(t, e)), (r.daysInYear || r.inLeapYear) && (i.inLeapYear = Gr(t), i.daysInYear = i.inLeapYear ? 366 : 365), i;
2889
+ return r.weekOfYear && (i.weekOfYear = ns("iso8601", { year: t, month: e, day: n })), r.daysInMonth && (i.daysInMonth = Xn(t, e)), (r.daysInYear || r.inLeapYear) && (i.inLeapYear = jr(t), i.daysInYear = i.inLeapYear ? 366 : 365), i;
2890
2890
  }, getFirstDayOfWeek: () => 1, getMinimalDaysInFirstWeek: () => 4 };
2891
2891
  class se {
2892
2892
  constructor(e) {
@@ -2917,7 +2917,7 @@ class se {
2917
2917
  }
2918
2918
  }
2919
2919
  function ts({ isoYear: t, isoMonth: e, isoDay: n }) {
2920
- return `${Dr(t)}-${He(e)}-${He(n)}T00:00Z`;
2920
+ return `${vr(t)}-${Ze(e)}-${Ze(n)}T00:00Z`;
2921
2921
  }
2922
2922
  function gi(t, e) {
2923
2923
  return { years: t.year - e.year, months: t.month - e.month, days: t.day - e.day };
@@ -3217,7 +3217,7 @@ class tu extends st {
3217
3217
  return { ...e, day: u, month: o, monthCode: s, year: a };
3218
3218
  }
3219
3219
  }
3220
- class St extends st {
3220
+ class It extends st {
3221
3221
  constructor() {
3222
3222
  super(...arguments), this.calendarType = "lunar", this.DAYS_PER_ISLAMIC_YEAR = 354 + 11 / 30, this.DAYS_PER_ISO_YEAR = 365.2425;
3223
3223
  }
@@ -3242,32 +3242,32 @@ class St extends st {
3242
3242
  return { year: Math.floor(n * this.DAYS_PER_ISLAMIC_YEAR / this.DAYS_PER_ISO_YEAR) + 622, month: 1, day: 1 };
3243
3243
  }
3244
3244
  }
3245
- class ru extends St {
3245
+ class ru extends It {
3246
3246
  constructor() {
3247
3247
  super(...arguments), this.id = "islamic";
3248
3248
  }
3249
3249
  }
3250
- class iu extends St {
3250
+ class iu extends It {
3251
3251
  constructor() {
3252
3252
  super(...arguments), this.id = "islamic-umalqura";
3253
3253
  }
3254
3254
  }
3255
- class au extends St {
3255
+ class au extends It {
3256
3256
  constructor() {
3257
3257
  super(...arguments), this.id = "islamic-tbla";
3258
3258
  }
3259
3259
  }
3260
- class ou extends St {
3260
+ class ou extends It {
3261
3261
  constructor() {
3262
3262
  super(...arguments), this.id = "islamic-civil";
3263
3263
  }
3264
3264
  }
3265
- class su extends St {
3265
+ class su extends It {
3266
3266
  constructor() {
3267
3267
  super(...arguments), this.id = "islamic-rgsa";
3268
3268
  }
3269
3269
  }
3270
- class uu extends St {
3270
+ class uu extends It {
3271
3271
  constructor() {
3272
3272
  super(...arguments), this.id = "islamicc";
3273
3273
  }
@@ -3359,7 +3359,7 @@ class rs extends st {
3359
3359
  }
3360
3360
  estimateIsoDate(e) {
3361
3361
  const n = this.adjustCalendarDate(e);
3362
- return Qt(n.year + this.isoEpoch.year, n.month + this.isoEpoch.month, n.day + this.isoEpoch.day, "constrain");
3362
+ return Vt(n.year + this.isoEpoch.year, n.month + this.isoEpoch.month, n.day + this.isoEpoch.day, "constrain");
3363
3363
  }
3364
3364
  }
3365
3365
  class is extends st {
@@ -3459,7 +3459,7 @@ class is extends st {
3459
3459
  }
3460
3460
  estimateIsoDate(e) {
3461
3461
  const n = this.adjustCalendarDate(e), { year: r, month: i, day: a } = n, { anchorEra: o } = this;
3462
- return Qt(r + o.isoEpoch.year - (o.hasYearZero ? 0 : 1), i, a, "constrain");
3462
+ return Vt(r + o.isoEpoch.year - (o.hasYearZero ? 0 : 1), i, a, "constrain");
3463
3463
  }
3464
3464
  }
3465
3465
  class ta extends is {
@@ -3570,7 +3570,7 @@ class os extends st {
3570
3570
  const a = this.getFormatter(), o = (w, p) => {
3571
3571
  const E = ts({ isoYear: w, isoMonth: 2, isoDay: 1 }), v = new Date(E);
3572
3572
  v.setUTCDate(p + 1);
3573
- const T = a.formatToParts(v), C = T.find(((S) => S.type === "month")).value, U = +T.find(((S) => S.type === "day")).value, H = T.find(((S) => S.type === "relatedYear"));
3573
+ const T = a.formatToParts(v), C = T.find(((I) => I.type === "month")).value, U = +T.find(((I) => I.type === "day")).value, H = T.find(((I) => I.type === "relatedYear"));
3574
3574
  let Z;
3575
3575
  if (H === void 0) throw new RangeError(`Intl.DateTimeFormat.formatToParts lacks relatedYear in ${this.id} calendar. Try Node 14+ or modern browsers.`);
3576
3576
  return Z = +H.value, { calendarMonthString: C, calendarDay: U, calendarYearToVerify: Z };
@@ -3691,7 +3691,7 @@ class vu {
3691
3691
  }
3692
3692
  isoToDate(e, n) {
3693
3693
  const r = se.getCacheForObject(e), i = this.helper.isoToCalendarDate(e, r);
3694
- if (n.dayOfWeek && (i.dayOfWeek = Mr.iso8601.isoToDate(e, { dayOfWeek: !0 }).dayOfWeek), n.dayOfYear) {
3694
+ if (n.dayOfWeek && (i.dayOfWeek = Dr.iso8601.isoToDate(e, { dayOfWeek: !0 }).dayOfWeek), n.dayOfYear) {
3695
3695
  const a = this.helper.startOfCalendarYear(i), o = this.helper.calendarDaysUntil(a, i, r);
3696
3696
  i.dayOfYear = o + 1;
3697
3697
  }
@@ -3710,25 +3710,25 @@ class vu {
3710
3710
  }
3711
3711
  for (const t of [tu, lu, mu, hu, fu, pu, bu, gu, cu, yu, _u, wu, ru, iu, au, ou, su, uu]) {
3712
3712
  const e = new t();
3713
- Mr[e.id] = new vu(e);
3713
+ Dr[e.id] = new vu(e);
3714
3714
  }
3715
3715
  Ti("calendarImpl", (function(t) {
3716
- return Mr[t];
3716
+ return Dr[t];
3717
3717
  }));
3718
- const ur = Intl.DateTimeFormat;
3718
+ const sr = Intl.DateTimeFormat;
3719
3719
  function lt(t, e) {
3720
3720
  let n = m(t, e);
3721
- return typeof n == "function" && (n = new ur(m(t, _o), n(m(t, vi))), (function(r, i, a) {
3722
- const o = Br(r);
3721
+ return typeof n == "function" && (n = new sr(m(t, _o), n(m(t, vi))), (function(r, i, a) {
3722
+ const o = Wr(r);
3723
3723
  if (o === void 0) throw new TypeError("Missing slots for the given container");
3724
3724
  if (o[i] === void 0) throw new TypeError(`tried to reset ${i} which was not set`);
3725
3725
  o[i] = a;
3726
3726
  })(t, e, n)), n;
3727
3727
  }
3728
- function Ut(t) {
3729
- return Ie(t, at);
3728
+ function Yt(t) {
3729
+ return Se(t, at);
3730
3730
  }
3731
- class lr {
3731
+ class ur {
3732
3732
  constructor(e = void 0, n = void 0) {
3733
3733
  (function(r, i, a) {
3734
3734
  const o = a !== void 0;
@@ -3746,43 +3746,43 @@ class lr {
3746
3746
  }
3747
3747
  s = f;
3748
3748
  } else s = /* @__PURE__ */ Object.create(null);
3749
- const u = new ur(i, s), l = u.resolvedOptions();
3750
- if (In(r), o) {
3749
+ const u = new sr(i, s), l = u.resolvedOptions();
3750
+ if (Sn(r), o) {
3751
3751
  const d = Object.assign(/* @__PURE__ */ Object.create(null), l);
3752
3752
  for (const f in d) Object.prototype.hasOwnProperty.call(s, f) || delete d[f];
3753
3753
  d.hour12 = s.hour12, d.hourCycle = s.hourCycle, $(r, vi, d);
3754
3754
  } else $(r, vi, s);
3755
- $(r, _o, l.locale), $(r, at, u), $(r, ht, l.timeZone), $(r, jt, l.calendar), $(r, co, Ou), $(r, ho, ku), $(r, fo, Nu), $(r, mo, Lu), $(r, go, Ru), $(r, yo, Au);
3755
+ $(r, _o, l.locale), $(r, at, u), $(r, ht, l.timeZone), $(r, xt, l.calendar), $(r, co, Ou), $(r, ho, ku), $(r, fo, Nu), $(r, mo, Lu), $(r, go, Ru), $(r, yo, Au);
3756
3756
  const c = o ? s.timeZone : void 0;
3757
3757
  if (c === void 0) $(r, bi, l.timeZone);
3758
3758
  else {
3759
- const d = Jr(c);
3759
+ const d = Xr(c);
3760
3760
  if (d.startsWith("−")) throw new RangeError("Unicode minus (U+2212) is not supported in time zone offsets");
3761
3761
  $(r, bi, Re(d));
3762
3762
  }
3763
3763
  })(this, e, n);
3764
3764
  }
3765
3765
  get format() {
3766
- b(this, Ut);
3766
+ b(this, Yt);
3767
3767
  const e = Mu.bind(this);
3768
3768
  return Object.defineProperties(e, { length: { value: 1, enumerable: !1, writable: !1, configurable: !0 }, name: { value: "", enumerable: !1, writable: !1, configurable: !0 } }), e;
3769
3769
  }
3770
3770
  formatRange(e, n) {
3771
- return b(this, Ut), Tu.call(this, e, n);
3771
+ return b(this, Yt), Tu.call(this, e, n);
3772
3772
  }
3773
3773
  formatToParts(e, ...n) {
3774
- return b(this, Ut), Eu.call(this, e, ...n);
3774
+ return b(this, Yt), Eu.call(this, e, ...n);
3775
3775
  }
3776
3776
  formatRangeToParts(e, n) {
3777
- return b(this, Ut), Cu.call(this, e, n);
3777
+ return b(this, Yt), Cu.call(this, e, n);
3778
3778
  }
3779
3779
  resolvedOptions() {
3780
- return b(this, Ut), Du.call(this);
3780
+ return b(this, Yt), Du.call(this);
3781
3781
  }
3782
3782
  }
3783
- "formatToParts" in ur.prototype || delete lr.prototype.formatToParts, "formatRangeToParts" in ur.prototype || delete lr.prototype.formatRangeToParts;
3783
+ "formatToParts" in sr.prototype || delete ur.prototype.formatToParts, "formatRangeToParts" in sr.prototype || delete ur.prototype.formatRangeToParts;
3784
3784
  const Ve = function(t = void 0, e = void 0) {
3785
- return new lr(t, e);
3785
+ return new ur(t, e);
3786
3786
  };
3787
3787
  function Du() {
3788
3788
  const t = m(this, at).resolvedOptions();
@@ -3798,7 +3798,7 @@ function Eu(t, ...e) {
3798
3798
  }
3799
3799
  function Tu(t, e) {
3800
3800
  if (t === void 0 || e === void 0) throw new TypeError("Intl.DateTimeFormat.formatRange requires two values");
3801
- const n = Hr(t), r = Hr(e);
3801
+ const n = qr(t), r = qr(e);
3802
3802
  let i, a = [n, r];
3803
3803
  if (On(n) !== On(r)) throw new TypeError("Intl.DateTimeFormat.formatRange accepts two values of the same type");
3804
3804
  if (On(n)) {
@@ -3810,7 +3810,7 @@ function Tu(t, e) {
3810
3810
  }
3811
3811
  function Cu(t, e) {
3812
3812
  if (t === void 0 || e === void 0) throw new TypeError("Intl.DateTimeFormat.formatRange requires two values");
3813
- const n = Hr(t), r = Hr(e);
3813
+ const n = qr(t), r = qr(e);
3814
3814
  let i, a = [n, r];
3815
3815
  if (On(n) !== On(r)) throw new TypeError("Intl.DateTimeFormat.formatRangeToParts accepts two values of the same type");
3816
3816
  if (On(n)) {
@@ -3820,7 +3820,7 @@ function Cu(t, e) {
3820
3820
  }
3821
3821
  return i || (i = m(this, at)), i.formatRangeToParts(...a);
3822
3822
  }
3823
- function Er(t = {}, e = {}) {
3823
+ function Mr(t = {}, e = {}) {
3824
3824
  const n = Object.assign({}, t), r = ["year", "month", "day", "hour", "minute", "second", "weekday", "dayPeriod", "timeZoneName", "dateStyle", "timeStyle"];
3825
3825
  for (let i = 0; i < r.length; i++) {
3826
3826
  const a = r[i];
@@ -3829,71 +3829,71 @@ function Er(t = {}, e = {}) {
3829
3829
  return n;
3830
3830
  }
3831
3831
  function Lu(t) {
3832
- const e = Er(t, { year: !1, month: !1, day: !1, weekday: !1, timeZoneName: !1, dateStyle: !1 });
3833
- if (e.timeStyle !== "long" && e.timeStyle !== "full" || (delete e.timeStyle, Object.assign(e, { hour: "numeric", minute: "2-digit", second: "2-digit" })), !ui(e)) {
3834
- if (Tr(t)) throw new TypeError(`cannot format Temporal.PlainTime with options [${Object.keys(t)}]`);
3832
+ const e = Mr(t, { year: !1, month: !1, day: !1, weekday: !1, timeZoneName: !1, dateStyle: !1 });
3833
+ if (e.timeStyle !== "long" && e.timeStyle !== "full" || (delete e.timeStyle, Object.assign(e, { hour: "numeric", minute: "2-digit", second: "2-digit" })), !si(e)) {
3834
+ if (Er(t)) throw new TypeError(`cannot format Temporal.PlainTime with options [${Object.keys(t)}]`);
3835
3835
  Object.assign(e, { hour: "numeric", minute: "numeric", second: "numeric" });
3836
3836
  }
3837
3837
  return e;
3838
3838
  }
3839
3839
  function ku(t) {
3840
- const e = { short: { year: "2-digit", month: "numeric" }, medium: { year: "numeric", month: "short" }, long: { year: "numeric", month: "long" }, full: { year: "numeric", month: "long" } }, n = Er(t, { day: !1, hour: !1, minute: !1, second: !1, weekday: !1, dayPeriod: !1, timeZoneName: !1, timeStyle: !1 });
3840
+ const e = { short: { year: "2-digit", month: "numeric" }, medium: { year: "numeric", month: "short" }, long: { year: "numeric", month: "long" }, full: { year: "numeric", month: "long" } }, n = Mr(t, { day: !1, hour: !1, minute: !1, second: !1, weekday: !1, dayPeriod: !1, timeZoneName: !1, timeStyle: !1 });
3841
3841
  if ("dateStyle" in n && n.dateStyle) {
3842
3842
  const r = n.dateStyle;
3843
3843
  delete n.dateStyle, Object.assign(n, e[r]);
3844
3844
  }
3845
3845
  if (!("year" in n || "month" in n || "era" in n)) {
3846
- if (Tr(t)) throw new TypeError(`cannot format PlainYearMonth with options [${Object.keys(t)}]`);
3846
+ if (Er(t)) throw new TypeError(`cannot format PlainYearMonth with options [${Object.keys(t)}]`);
3847
3847
  Object.assign(n, { year: "numeric", month: "numeric" });
3848
3848
  }
3849
3849
  return n;
3850
3850
  }
3851
3851
  function Nu(t) {
3852
- const e = { short: { month: "numeric", day: "numeric" }, medium: { month: "short", day: "numeric" }, long: { month: "long", day: "numeric" }, full: { month: "long", day: "numeric" } }, n = Er(t, { year: !1, hour: !1, minute: !1, second: !1, weekday: !1, dayPeriod: !1, timeZoneName: !1, timeStyle: !1 });
3852
+ const e = { short: { month: "numeric", day: "numeric" }, medium: { month: "short", day: "numeric" }, long: { month: "long", day: "numeric" }, full: { month: "long", day: "numeric" } }, n = Mr(t, { year: !1, hour: !1, minute: !1, second: !1, weekday: !1, dayPeriod: !1, timeZoneName: !1, timeStyle: !1 });
3853
3853
  if ("dateStyle" in n && n.dateStyle) {
3854
3854
  const r = n.dateStyle;
3855
3855
  delete n.dateStyle, Object.assign(n, e[r]);
3856
3856
  }
3857
3857
  if (!("month" in n) && !("day" in n)) {
3858
- if (Tr(t)) throw new TypeError(`cannot format PlainMonthDay with options [${Object.keys(t)}]`);
3858
+ if (Er(t)) throw new TypeError(`cannot format PlainMonthDay with options [${Object.keys(t)}]`);
3859
3859
  Object.assign(n, { month: "numeric", day: "numeric" });
3860
3860
  }
3861
3861
  return n;
3862
3862
  }
3863
3863
  function Ou(t) {
3864
- const e = Er(t, { hour: !1, minute: !1, second: !1, dayPeriod: !1, timeZoneName: !1, timeStyle: !1 });
3865
- if (!si(e)) {
3866
- if (Tr(t)) throw new TypeError(`cannot format PlainDate with options [${Object.keys(t)}]`);
3864
+ const e = Mr(t, { hour: !1, minute: !1, second: !1, dayPeriod: !1, timeZoneName: !1, timeStyle: !1 });
3865
+ if (!oi(e)) {
3866
+ if (Er(t)) throw new TypeError(`cannot format PlainDate with options [${Object.keys(t)}]`);
3867
3867
  Object.assign(e, { year: "numeric", month: "numeric", day: "numeric" });
3868
3868
  }
3869
3869
  return e;
3870
3870
  }
3871
3871
  function Ru(t) {
3872
- const e = Er(t, { timeZoneName: !1 });
3873
- if ((e.timeStyle === "long" || e.timeStyle === "full") && (delete e.timeStyle, Object.assign(e, { hour: "numeric", minute: "2-digit", second: "2-digit" }), e.dateStyle) && (Object.assign(e, { short: { year: "numeric", month: "numeric", day: "numeric" }, medium: { year: "numeric", month: "short", day: "numeric" }, long: { year: "numeric", month: "long", day: "numeric" }, full: { year: "numeric", month: "long", day: "numeric", weekday: "long" } }[e.dateStyle]), delete e.dateStyle), !ui(e) && !si(e)) {
3874
- if (Tr(t)) throw new TypeError(`cannot format PlainDateTime with options [${Object.keys(t)}]`);
3872
+ const e = Mr(t, { timeZoneName: !1 });
3873
+ if ((e.timeStyle === "long" || e.timeStyle === "full") && (delete e.timeStyle, Object.assign(e, { hour: "numeric", minute: "2-digit", second: "2-digit" }), e.dateStyle) && (Object.assign(e, { short: { year: "numeric", month: "numeric", day: "numeric" }, medium: { year: "numeric", month: "short", day: "numeric" }, long: { year: "numeric", month: "long", day: "numeric" }, full: { year: "numeric", month: "long", day: "numeric", weekday: "long" } }[e.dateStyle]), delete e.dateStyle), !si(e) && !oi(e)) {
3874
+ if (Er(t)) throw new TypeError(`cannot format PlainDateTime with options [${Object.keys(t)}]`);
3875
3875
  Object.assign(e, { year: "numeric", month: "numeric", day: "numeric", hour: "numeric", minute: "numeric", second: "numeric" });
3876
3876
  }
3877
3877
  return e;
3878
3878
  }
3879
3879
  function Au(t) {
3880
3880
  let e = t;
3881
- return ui(e) || si(e) || (e = Object.assign({}, e, { year: "numeric", month: "numeric", day: "numeric", hour: "numeric", minute: "numeric", second: "numeric" })), e;
3881
+ return si(e) || oi(e) || (e = Object.assign({}, e, { year: "numeric", month: "numeric", day: "numeric", hour: "numeric", minute: "numeric", second: "numeric" })), e;
3882
3882
  }
3883
- function si(t) {
3883
+ function oi(t) {
3884
3884
  return "year" in t || "month" in t || "day" in t || "weekday" in t || "dateStyle" in t || "era" in t;
3885
3885
  }
3886
- function ui(t) {
3886
+ function si(t) {
3887
3887
  return "hour" in t || "minute" in t || "second" in t || "timeStyle" in t || "dayPeriod" in t || "fractionalSecondDigits" in t;
3888
3888
  }
3889
- function Tr(t) {
3890
- return si(t) || ui(t) || "dateStyle" in t || "timeStyle" in t || "timeZoneName" in t;
3889
+ function Er(t) {
3890
+ return oi(t) || si(t) || "dateStyle" in t || "timeStyle" in t || "timeZoneName" in t;
3891
3891
  }
3892
3892
  function On(t) {
3893
3893
  return J(t) || re(t) || W(t) || P(t) || ce(t) || Fe(t) || le(t);
3894
3894
  }
3895
- function Hr(t) {
3896
- return On(t) ? t : Xr(t);
3895
+ function qr(t) {
3896
+ return On(t) ? t : Qr(t);
3897
3897
  }
3898
3898
  function ss(t, e) {
3899
3899
  return !(!On(t) || !On(e) || re(t) && !re(e) || J(t) && !J(e) || W(t) && !W(e) || P(t) && !P(e) || ce(t) && !ce(e) || Fe(t) && !Fe(e) || le(t) && !le(e));
@@ -3904,25 +3904,25 @@ function Ct(t, e) {
3904
3904
  return { epochNs: ye(m(e, ht), n, "compatible"), formatter: lt(e, mo) };
3905
3905
  }
3906
3906
  if (ce(t)) {
3907
- const n = m(t, M), r = m(e, jt);
3907
+ const n = m(t, M), r = m(e, xt);
3908
3908
  if (n !== r) throw new RangeError(`cannot format PlainYearMonth with calendar ${n} in locale with calendar ${r}`);
3909
3909
  const i = F(m(t, R), { deltaDays: 0, hour: 12, minute: 0, second: 0, millisecond: 0, microsecond: 0, nanosecond: 0 });
3910
3910
  return { epochNs: ye(m(e, ht), i, "compatible"), formatter: lt(e, ho) };
3911
3911
  }
3912
3912
  if (Fe(t)) {
3913
- const n = m(t, M), r = m(e, jt);
3913
+ const n = m(t, M), r = m(e, xt);
3914
3914
  if (n !== r) throw new RangeError(`cannot format PlainMonthDay with calendar ${n} in locale with calendar ${r}`);
3915
3915
  const i = F(m(t, R), { deltaDays: 0, hour: 12, minute: 0, second: 0, millisecond: 0, microsecond: 0, nanosecond: 0 });
3916
3916
  return { epochNs: ye(m(e, ht), i, "compatible"), formatter: lt(e, fo) };
3917
3917
  }
3918
3918
  if (J(t)) {
3919
- const n = m(t, M), r = m(e, jt);
3919
+ const n = m(t, M), r = m(e, xt);
3920
3920
  if (n !== "iso8601" && n !== r) throw new RangeError(`cannot format PlainDate with calendar ${n} in locale with calendar ${r}`);
3921
3921
  const i = F(m(t, R), { deltaDays: 0, hour: 12, minute: 0, second: 0, millisecond: 0, microsecond: 0, nanosecond: 0 });
3922
3922
  return { epochNs: ye(m(e, ht), i, "compatible"), formatter: lt(e, co) };
3923
3923
  }
3924
3924
  if (W(t)) {
3925
- const n = m(t, M), r = m(e, jt);
3925
+ const n = m(t, M), r = m(e, xt);
3926
3926
  if (n !== "iso8601" && n !== r) throw new RangeError(`cannot format PlainDateTime with calendar ${n} in locale with calendar ${r}`);
3927
3927
  const i = m(t, Q);
3928
3928
  return { epochNs: ye(m(e, ht), i, "compatible"), formatter: lt(e, go) };
@@ -3934,22 +3934,22 @@ function us(t) {
3934
3934
  const e = /* @__PURE__ */ Object.create(null);
3935
3935
  return e.years = m(t, ve), e.months = m(t, De), e.weeks = m(t, $e), e.days = m(t, Me), e.hours = m(t, Ee), e.minutes = m(t, Te), e.seconds = m(t, Ce), e.milliseconds = m(t, Le), e.microseconds = m(t, ke), e.nanoseconds = m(t, Pe), e;
3936
3936
  }
3937
- lr.prototype.constructor = Ve, Object.defineProperty(Ve, "prototype", { value: lr.prototype, writable: !1, enumerable: !1, configurable: !1 }), Ve.supportedLocalesOf = ur.supportedLocalesOf, Sn(Ve, "Intl.DateTimeFormat");
3938
- const { format: Iu, formatToParts: Su } = Intl.DurationFormat?.prototype ?? /* @__PURE__ */ Object.create(null);
3937
+ ur.prototype.constructor = Ve, Object.defineProperty(Ve, "prototype", { value: ur.prototype, writable: !1, enumerable: !1, configurable: !1 }), Ve.supportedLocalesOf = sr.supportedLocalesOf, In(Ve, "Intl.DateTimeFormat");
3938
+ const { format: Su, formatToParts: Iu } = Intl.DurationFormat?.prototype ?? /* @__PURE__ */ Object.create(null);
3939
3939
  function ls(t) {
3940
3940
  Intl.DurationFormat.prototype.resolvedOptions.call(this);
3941
3941
  const e = us(Qe(t));
3942
- return Iu.call(this, e);
3942
+ return Su.call(this, e);
3943
3943
  }
3944
3944
  Intl.DurationFormat?.prototype && (Intl.DurationFormat.prototype.format = ls, Intl.DurationFormat.prototype.formatToParts = function(t) {
3945
3945
  Intl.DurationFormat.prototype.resolvedOptions.call(this);
3946
3946
  const e = us(Qe(t));
3947
- return Su.call(this, e);
3947
+ return Iu.call(this, e);
3948
3948
  });
3949
3949
  class ra {
3950
3950
  constructor(e) {
3951
3951
  if (arguments.length < 1) throw new TypeError("missing argument: epochNanoseconds is required");
3952
- Po(this, qr(e));
3952
+ Po(this, zr(e));
3953
3953
  }
3954
3954
  get epochMilliseconds() {
3955
3955
  return b(this, le), Je(m(this, O), "floor");
@@ -3976,16 +3976,16 @@ class ra {
3976
3976
  }
3977
3977
  equals(e) {
3978
3978
  b(this, le);
3979
- const n = zt(e), r = m(this, O), i = m(n, O);
3979
+ const n = Ft(e), r = m(this, O), i = m(n, O);
3980
3980
  return h.equal(h.BigInt(r), h.BigInt(i));
3981
3981
  }
3982
3982
  toString(e = void 0) {
3983
3983
  b(this, le);
3984
- const n = L(e), r = gr(n), i = tn(n, "trunc"), a = Ue(n, "smallestUnit", "time", void 0);
3984
+ const n = L(e), r = mr(n), i = tn(n, "trunc"), a = Ue(n, "smallestUnit", "time", void 0);
3985
3985
  if (a === "hour") throw new RangeError('smallestUnit must be a time unit other than "hour"');
3986
3986
  let o = n.timeZone;
3987
3987
  o !== void 0 && (o = Re(o));
3988
- const { precision: s, unit: u, increment: l } = yr(a, r);
3988
+ const { precision: s, unit: u, increment: l } = gr(a, r);
3989
3989
  return Da(un($i(m(this, O), l, u, i)), o, s);
3990
3990
  }
3991
3991
  toJSON() {
@@ -4003,23 +4003,23 @@ class ra {
4003
4003
  return me(m(this, O), n, "iso8601");
4004
4004
  }
4005
4005
  static fromEpochMilliseconds(e) {
4006
- return un(cn(Xr(e)));
4006
+ return un(cn(Qr(e)));
4007
4007
  }
4008
4008
  static fromEpochNanoseconds(e) {
4009
- return un(qr(e));
4009
+ return un(zr(e));
4010
4010
  }
4011
4011
  static from(e) {
4012
- return zt(e);
4012
+ return Ft(e);
4013
4013
  }
4014
4014
  static compare(e, n) {
4015
- const r = zt(e), i = zt(n), a = m(r, O), o = m(i, O);
4015
+ const r = Ft(e), i = Ft(n), a = m(r, O), o = m(i, O);
4016
4016
  return h.lessThan(a, o) ? -1 : h.greaterThan(a, o) ? 1 : 0;
4017
4017
  }
4018
4018
  }
4019
- Sn(ra, "Temporal.Instant");
4019
+ In(ra, "Temporal.Instant");
4020
4020
  class ia {
4021
4021
  constructor(e, n, r, i = "iso8601") {
4022
- const a = I(e), o = I(n), s = I(r), u = Se(i === void 0 ? "iso8601" : oe(i));
4022
+ const a = S(e), o = S(n), s = S(r), u = Ie(i === void 0 ? "iso8601" : oe(i));
4023
4023
  et(a, o, s), Ro(this, { year: a, month: o, day: s }, u);
4024
4024
  }
4025
4025
  get calendarId() {
@@ -4075,11 +4075,11 @@ class ia {
4075
4075
  Nt(e);
4076
4076
  const r = m(this, M);
4077
4077
  let i = Ae(r, m(this, R));
4078
- return i = Jn(r, i, Ze(r, e, ["year", "month", "monthCode", "day"], [], "partial")), Oe(qn(r, i, j(L(n))), r);
4078
+ return i = Jn(r, i, Ke(r, e, ["year", "month", "monthCode", "day"], [], "partial")), Oe(qn(r, i, j(L(n))), r);
4079
4079
  }
4080
4080
  withCalendar(e) {
4081
4081
  b(this, J);
4082
- const n = br(e);
4082
+ const n = pr(e);
4083
4083
  return Oe(m(this, R), n);
4084
4084
  }
4085
4085
  add(e, n = void 0) {
@@ -4096,11 +4096,11 @@ class ia {
4096
4096
  }
4097
4097
  equals(e) {
4098
4098
  b(this, J);
4099
- const n = Gt(e);
4099
+ const n = jt(e);
4100
4100
  return gn(m(this, R), m(n, R)) === 0 && fn(m(this, M), m(n, M));
4101
4101
  }
4102
4102
  toString(e = void 0) {
4103
- return b(this, J), Ma(this, mr(L(e)));
4103
+ return b(this, J), Ma(this, fr(L(e)));
4104
4104
  }
4105
4105
  toJSON() {
4106
4106
  return b(this, J), Ma(this);
@@ -4129,30 +4129,30 @@ class ia {
4129
4129
  toPlainYearMonth() {
4130
4130
  b(this, J);
4131
4131
  const e = m(this, M);
4132
- return _t(rr(e, Ae(e, m(this, R)), "constrain"), e);
4132
+ return _t(tr(e, Ae(e, m(this, R)), "constrain"), e);
4133
4133
  }
4134
4134
  toPlainMonthDay() {
4135
4135
  b(this, J);
4136
4136
  const e = m(this, M);
4137
- return gt(xr(e, Ae(e, m(this, R)), "constrain"), e);
4137
+ return gt(Ur(e, Ae(e, m(this, R)), "constrain"), e);
4138
4138
  }
4139
4139
  static from(e, n = void 0) {
4140
- return Gt(e, n);
4140
+ return jt(e, n);
4141
4141
  }
4142
4142
  static compare(e, n) {
4143
- const r = Gt(e), i = Gt(n);
4143
+ const r = jt(e), i = jt(n);
4144
4144
  return gn(m(r, R), m(i, R));
4145
4145
  }
4146
4146
  }
4147
4147
  function we(t, e) {
4148
4148
  b(t, J);
4149
4149
  const n = m(t, R);
4150
- return _r(t).isoToDate(n, { [e]: !0 })[e];
4150
+ return yr(t).isoToDate(n, { [e]: !0 })[e];
4151
4151
  }
4152
- Sn(ia, "Temporal.PlainDate");
4152
+ In(ia, "Temporal.PlainDate");
4153
4153
  class aa {
4154
4154
  constructor(e, n, r, i = 0, a = 0, o = 0, s = 0, u = 0, l = 0, c = "iso8601") {
4155
- const d = I(e), f = I(n), g = I(r), _ = i === void 0 ? 0 : I(i), y = a === void 0 ? 0 : I(a), w = o === void 0 ? 0 : I(o), p = s === void 0 ? 0 : I(s), E = u === void 0 ? 0 : I(u), v = l === void 0 ? 0 : I(l), T = Se(c === void 0 ? "iso8601" : oe(c));
4155
+ const d = S(e), f = S(n), g = S(r), _ = i === void 0 ? 0 : S(i), y = a === void 0 ? 0 : S(a), w = o === void 0 ? 0 : S(o), p = s === void 0 ? 0 : S(s), E = u === void 0 ? 0 : S(u), v = l === void 0 ? 0 : S(l), T = Ie(c === void 0 ? "iso8601" : oe(c));
4156
4156
  Vi(d, f, g, _, y, w, p, E, v), Ao(this, { isoDate: { year: d, month: f, day: g }, time: { hour: _, minute: y, second: w, millisecond: p, microsecond: E, nanosecond: v } }, T);
4157
4157
  }
4158
4158
  get calendarId() {
@@ -4226,7 +4226,7 @@ class aa {
4226
4226
  Nt(e);
4227
4227
  const r = m(this, M), i = m(this, Q);
4228
4228
  let a = { ...Ae(r, i.isoDate), ...i.time };
4229
- return a = Jn(r, a, Ze(r, e, ["year", "month", "monthCode", "day"], ["hour", "minute", "second", "millisecond", "microsecond", "nanosecond"], "partial")), We(wr(r, a, j(L(n))), r);
4229
+ return a = Jn(r, a, Ke(r, e, ["year", "month", "monthCode", "day"], ["hour", "minute", "second", "millisecond", "microsecond", "nanosecond"], "partial")), We(_r(r, a, j(L(n))), r);
4230
4230
  }
4231
4231
  withPlainTime(e = void 0) {
4232
4232
  b(this, W);
@@ -4235,7 +4235,7 @@ class aa {
4235
4235
  }
4236
4236
  withCalendar(e) {
4237
4237
  b(this, W);
4238
- const n = br(e);
4238
+ const n = pr(e);
4239
4239
  return We(m(this, Q), n);
4240
4240
  }
4241
4241
  add(e, n = void 0) {
@@ -4245,10 +4245,10 @@ class aa {
4245
4245
  return b(this, W), ja("subtract", this, e, n);
4246
4246
  }
4247
4247
  until(e, n = void 0) {
4248
- return b(this, W), Ia("until", this, e, n);
4248
+ return b(this, W), Sa("until", this, e, n);
4249
4249
  }
4250
4250
  since(e, n = void 0) {
4251
- return b(this, W), Ia("since", this, e, n);
4251
+ return b(this, W), Sa("since", this, e, n);
4252
4252
  }
4253
4253
  round(e) {
4254
4254
  if (b(this, W), e === void 0) throw new TypeError("options parameter is required");
@@ -4259,18 +4259,18 @@ class aa {
4259
4259
  }
4260
4260
  equals(e) {
4261
4261
  b(this, W);
4262
- const n = Ft(e);
4262
+ const n = Gt(e);
4263
4263
  return Tt(m(this, Q), m(n, Q)) === 0 && fn(m(this, M), m(n, M));
4264
4264
  }
4265
4265
  toString(e = void 0) {
4266
4266
  b(this, W);
4267
- const n = L(e), r = mr(n), i = gr(n), a = tn(n, "trunc"), o = Ue(n, "smallestUnit", "time", void 0);
4267
+ const n = L(e), r = fr(n), i = mr(n), a = tn(n, "trunc"), o = Ue(n, "smallestUnit", "time", void 0);
4268
4268
  if (o === "hour") throw new RangeError('smallestUnit must be a time unit other than "hour"');
4269
- const { precision: s, unit: u, increment: l } = yr(o, i), c = Pi(m(this, Q), l, u, a);
4270
- return nt(c), ar(c, m(this, M), s, r);
4269
+ const { precision: s, unit: u, increment: l } = gr(o, i), c = Pi(m(this, Q), l, u, a);
4270
+ return nt(c), ir(c, m(this, M), s, r);
4271
4271
  }
4272
4272
  toJSON() {
4273
- return b(this, W), ar(m(this, Q), m(this, M), "auto");
4273
+ return b(this, W), ir(m(this, Q), m(this, M), "auto");
4274
4274
  }
4275
4275
  toLocaleString(e = void 0, n = void 0) {
4276
4276
  return b(this, W), new Ve(e, n).format(this);
@@ -4280,7 +4280,7 @@ class aa {
4280
4280
  }
4281
4281
  toZonedDateTime(e, n = void 0) {
4282
4282
  b(this, W);
4283
- const r = Re(e), i = Xt(L(n));
4283
+ const r = Re(e), i = Qt(L(n));
4284
4284
  return me(ye(r, m(this, Q), i), r, m(this, M));
4285
4285
  }
4286
4286
  toPlainDate() {
@@ -4290,26 +4290,26 @@ class aa {
4290
4290
  return b(this, W), Mn(m(this, Q).time);
4291
4291
  }
4292
4292
  static from(e, n = void 0) {
4293
- return Ft(e, n);
4293
+ return Gt(e, n);
4294
4294
  }
4295
4295
  static compare(e, n) {
4296
- const r = Ft(e), i = Ft(n);
4296
+ const r = Gt(e), i = Gt(n);
4297
4297
  return Tt(m(r, Q), m(i, Q));
4298
4298
  }
4299
4299
  }
4300
4300
  function pe(t, e) {
4301
4301
  b(t, W);
4302
4302
  const n = m(t, Q).isoDate;
4303
- return _r(t).isoToDate(n, { [e]: !0 })[e];
4303
+ return yr(t).isoToDate(n, { [e]: !0 })[e];
4304
4304
  }
4305
4305
  function ct(t, e) {
4306
4306
  return b(t, W), m(t, Q).time[e];
4307
4307
  }
4308
- Sn(aa, "Temporal.PlainDateTime");
4308
+ In(aa, "Temporal.PlainDateTime");
4309
4309
  class Lt {
4310
4310
  constructor(e = 0, n = 0, r = 0, i = 0, a = 0, o = 0, s = 0, u = 0, l = 0, c = 0) {
4311
4311
  const d = e === void 0 ? 0 : en(e), f = n === void 0 ? 0 : en(n), g = r === void 0 ? 0 : en(r), _ = i === void 0 ? 0 : en(i), y = a === void 0 ? 0 : en(a), w = o === void 0 ? 0 : en(o), p = s === void 0 ? 0 : en(s), E = u === void 0 ? 0 : en(u), v = l === void 0 ? 0 : en(l), T = c === void 0 ? 0 : en(c);
4312
- ai(d, f, g, _, y, w, p, E, v, T), In(this), $(this, ve, d), $(this, De, f), $(this, $e, g), $(this, Me, _), $(this, Ee, y), $(this, Te, w), $(this, Ce, p), $(this, Le, E), $(this, ke, v), $(this, Pe, T);
4312
+ ii(d, f, g, _, y, w, p, E, v, T), Sn(this), $(this, ve, d), $(this, De, f), $(this, $e, g), $(this, Me, _), $(this, Ee, y), $(this, Te, w), $(this, Ce, p), $(this, Le, E), $(this, ke, v), $(this, Pe, T);
4313
4313
  }
4314
4314
  get years() {
4315
4315
  return b(this, X), m(this, ve);
@@ -4342,10 +4342,10 @@ class Lt {
4342
4342
  return b(this, X), m(this, Pe);
4343
4343
  }
4344
4344
  get sign() {
4345
- return b(this, X), Fr(this);
4345
+ return b(this, X), Gr(this);
4346
4346
  }
4347
4347
  get blank() {
4348
- return b(this, X), Fr(this) === 0;
4348
+ return b(this, X), Gr(this) === 0;
4349
4349
  }
4350
4350
  with(e) {
4351
4351
  b(this, X);
@@ -4380,21 +4380,21 @@ class Lt {
4380
4380
  if (o) {
4381
4381
  let y = ft(this);
4382
4382
  const w = m(o, q), p = m(o, M), E = m(o, O);
4383
- return y = Qo(E, Zt(E, w, p, y), w, p, i, s, l, u), Dn(i) === "date" && (i = "hour"), Be(y, i);
4383
+ return y = Qo(E, Ht(E, w, p, y), w, p, i, s, l, u), Dn(i) === "date" && (i = "hour"), Be(y, i);
4384
4384
  }
4385
4385
  if (a) {
4386
4386
  let y = ln(this);
4387
- const w = Et({ hour: 0, minute: 0, second: 0, millisecond: 0, microsecond: 0, nanosecond: 0 }, y.time), p = m(a, R), E = m(a, M), v = qe(E, p, ge(y.date, w.deltaDays), "constrain");
4387
+ const w = Et({ hour: 0, minute: 0, second: 0, millisecond: 0, microsecond: 0, nanosecond: 0 }, y.time), p = m(a, R), E = m(a, M), v = He(E, p, ge(y.date, w.deltaDays), "constrain");
4388
4388
  return y = Vo(F(p, { deltaDays: 0, hour: 0, minute: 0, second: 0, millisecond: 0, microsecond: 0, nanosecond: 0 }), F(v, w), E, i, s, l, u), Be(y, i);
4389
4389
  }
4390
4390
  if (on(n)) throw new RangeError(`a starting point is required for ${n}s balancing`);
4391
4391
  if (on(i)) throw new RangeError(`a starting point is required for ${i}s balancing`);
4392
4392
  let _ = ln(this);
4393
4393
  if (l === "day") {
4394
- const { quotient: y, remainder: w } = _.time.divmod(Pr);
4395
- let p = _.date.days + y + Jt(w, "day");
4394
+ const { quotient: y, remainder: w } = _.time.divmod($r);
4395
+ let p = _.date.days + y + Xt(w, "day");
4396
4396
  p = xn(p, s, u), _ = kn({ years: 0, months: 0, weeks: 0, days: p }, Y.ZERO);
4397
- } else _ = kn({ years: 0, months: 0, weeks: 0, days: 0 }, zr(_.time, s, l, u));
4397
+ } else _ = kn({ years: 0, months: 0, weeks: 0, days: 0 }, Fr(_.time, s, l, u));
4398
4398
  return Be(_, i);
4399
4399
  }
4400
4400
  total(e) {
@@ -4405,13 +4405,13 @@ class Lt {
4405
4405
  if (i) {
4406
4406
  const s = ft(this), u = m(i, q), l = m(i, M), c = m(i, O);
4407
4407
  return (function(d, f, g, _, y) {
4408
- return Dn(y) === "time" ? Jt(Y.fromEpochNsDiff(f, d), y) : Oa(Wo(d, f, g, _, y), f, Xe(g, d), g, _, y);
4409
- })(c, Zt(c, u, l, s), u, l, a);
4408
+ return Dn(y) === "time" ? Xt(Y.fromEpochNsDiff(f, d), y) : Oa(Wo(d, f, g, _, y), f, Xe(g, d), g, _, y);
4409
+ })(c, Ht(c, u, l, s), u, l, a);
4410
4410
  }
4411
4411
  if (r) {
4412
4412
  const s = ln(this);
4413
4413
  let u = Et({ hour: 0, minute: 0, second: 0, millisecond: 0, microsecond: 0, nanosecond: 0 }, s.time);
4414
- const l = m(r, R), c = m(r, M), d = qe(c, l, ge(s.date, u.deltaDays), "constrain");
4414
+ const l = m(r, R), c = m(r, M), d = He(c, l, ge(s.date, u.deltaDays), "constrain");
4415
4415
  return (function(f, g, _, y) {
4416
4416
  if (Tt(f, g) == 0) return 0;
4417
4417
  nt(f), nt(g);
@@ -4422,28 +4422,28 @@ class Lt {
4422
4422
  const o = vn(this);
4423
4423
  if (on(o)) throw new RangeError(`a starting point is required for ${o}s total`);
4424
4424
  if (on(a)) throw new RangeError(`a starting point is required for ${a}s total`);
4425
- return Jt(ln(this).time, a);
4425
+ return Xt(ln(this).time, a);
4426
4426
  }
4427
4427
  toString(e = void 0) {
4428
4428
  b(this, X);
4429
- const n = L(e), r = gr(n), i = tn(n, "trunc"), a = Ue(n, "smallestUnit", "time", void 0);
4429
+ const n = L(e), r = mr(n), i = tn(n, "trunc"), a = Ue(n, "smallestUnit", "time", void 0);
4430
4430
  if (a === "hour" || a === "minute") throw new RangeError('smallestUnit must be a time unit other than "hours" or "minutes"');
4431
- const { precision: o, unit: s, increment: u } = yr(a, r);
4432
- if (s === "nanosecond" && u === 1) return kr(this, o);
4431
+ const { precision: o, unit: s, increment: u } = gr(a, r);
4432
+ if (s === "nanosecond" && u === 1) return Lr(this, o);
4433
4433
  const l = vn(this);
4434
4434
  let c = ft(this);
4435
- const d = zr(c.time, u, s, i);
4436
- return c = kn(c.date, d), kr(Be(c, Ln(l, "second")), o);
4435
+ const d = Fr(c.time, u, s, i);
4436
+ return c = kn(c.date, d), Lr(Be(c, Ln(l, "second")), o);
4437
4437
  }
4438
4438
  toJSON() {
4439
- return b(this, X), kr(this, "auto");
4439
+ return b(this, X), Lr(this, "auto");
4440
4440
  }
4441
4441
  toLocaleString(e = void 0, n = void 0) {
4442
4442
  if (b(this, X), typeof Intl.DurationFormat == "function") {
4443
4443
  const r = new Intl.DurationFormat(e, n);
4444
4444
  return ls.call(r, this);
4445
4445
  }
4446
- return console.warn("Temporal.Duration.prototype.toLocaleString() requires Intl.DurationFormat."), kr(this, "auto");
4446
+ return console.warn("Temporal.Duration.prototype.toLocaleString() requires Intl.DurationFormat."), Lr(this, "auto");
4447
4447
  }
4448
4448
  valueOf() {
4449
4449
  Kn("Duration");
@@ -4456,7 +4456,7 @@ class Lt {
4456
4456
  if (m(i, ve) === m(a, ve) && m(i, De) === m(a, De) && m(i, $e) === m(a, $e) && m(i, Me) === m(a, Me) && m(i, Ee) === m(a, Ee) && m(i, Te) === m(a, Te) && m(i, Ce) === m(a, Ce) && m(i, Le) === m(a, Le) && m(i, ke) === m(a, ke) && m(i, Pe) === m(a, Pe)) return 0;
4457
4457
  const l = vn(i), c = vn(a), d = ft(i), f = ft(a);
4458
4458
  if (u && (Dn(l) === "date" || Dn(c) === "date")) {
4459
- const p = m(u, q), E = m(u, M), v = m(u, O), T = Zt(v, p, E, d), C = Zt(v, p, E, f);
4459
+ const p = m(u, q), E = m(u, M), v = m(u, O), T = Ht(v, p, E, d), C = Ht(v, p, E, f);
4460
4460
  return Ye(h.toNumber(h.subtract(T, C)));
4461
4461
  }
4462
4462
  let g = d.date.days, _ = f.date.days;
@@ -4468,11 +4468,11 @@ class Lt {
4468
4468
  return y.cmp(w);
4469
4469
  }
4470
4470
  }
4471
- Sn(Lt, "Temporal.Duration");
4471
+ In(Lt, "Temporal.Duration");
4472
4472
  class oa {
4473
4473
  constructor(e, n, r = "iso8601", i = 1972) {
4474
- const a = I(e), o = I(n), s = Se(r === void 0 ? "iso8601" : oe(r)), u = I(i);
4475
- et(u, a, o), Io(this, { year: u, month: a, day: o }, s);
4474
+ const a = S(e), o = S(n), s = Ie(r === void 0 ? "iso8601" : oe(r)), u = S(i);
4475
+ et(u, a, o), So(this, { year: u, month: a, day: o }, s);
4476
4476
  }
4477
4477
  get monthCode() {
4478
4478
  return Ha(this, "monthCode");
@@ -4488,7 +4488,7 @@ class oa {
4488
4488
  Nt(e);
4489
4489
  const r = m(this, M);
4490
4490
  let i = Ae(r, m(this, R), "month-day");
4491
- return i = Jn(r, i, Ze(r, e, ["year", "month", "monthCode", "day"], [], "partial")), gt(xr(r, i, j(L(n))), r);
4491
+ return i = Jn(r, i, Ke(r, e, ["year", "month", "monthCode", "day"], [], "partial")), gt(Ur(r, i, j(L(n))), r);
4492
4492
  }
4493
4493
  equals(e) {
4494
4494
  b(this, Fe);
@@ -4496,7 +4496,7 @@ class oa {
4496
4496
  return gn(m(this, R), m(n, R)) === 0 && fn(m(this, M), m(n, M));
4497
4497
  }
4498
4498
  toString(e = void 0) {
4499
- return b(this, Fe), Ta(this, mr(L(e)));
4499
+ return b(this, Fe), Ta(this, fr(L(e)));
4500
4500
  }
4501
4501
  toJSON() {
4502
4502
  return b(this, Fe), Ta(this);
@@ -4510,7 +4510,7 @@ class oa {
4510
4510
  toPlainDate(e) {
4511
4511
  if (b(this, Fe), !ne(e)) throw new TypeError("argument should be an object");
4512
4512
  const n = m(this, M);
4513
- return Oe(qn(n, Jn(n, Ae(n, m(this, R), "month-day"), Ze(n, e, ["year"], [], [])), "constrain"), n);
4513
+ return Oe(qn(n, Jn(n, Ae(n, m(this, R), "month-day"), Ke(n, e, ["year"], [], [])), "constrain"), n);
4514
4514
  }
4515
4515
  static from(e, n = void 0) {
4516
4516
  return ba(e, n);
@@ -4519,21 +4519,21 @@ class oa {
4519
4519
  function Ha(t, e) {
4520
4520
  b(t, Fe);
4521
4521
  const n = m(t, R);
4522
- return _r(t).isoToDate(n, { [e]: !0 })[e];
4522
+ return yr(t).isoToDate(n, { [e]: !0 })[e];
4523
4523
  }
4524
4524
  function yi(t) {
4525
4525
  return Xe(t, xi());
4526
4526
  }
4527
- Sn(oa, "Temporal.PlainMonthDay");
4528
- const cs = { instant: () => un(xi()), plainDateTimeISO: (t = Yt()) => We(yi(Re(t)), "iso8601"), plainDateISO: (t = Yt()) => Oe(yi(Re(t)).isoDate, "iso8601"), plainTimeISO: (t = Yt()) => Mn(yi(Re(t)).time), timeZoneId: () => Yt(), zonedDateTimeISO: (t = Yt()) => {
4527
+ In(oa, "Temporal.PlainMonthDay");
4528
+ const cs = { instant: () => un(xi()), plainDateTimeISO: (t = Pt()) => We(yi(Re(t)), "iso8601"), plainDateISO: (t = Pt()) => Oe(yi(Re(t)).isoDate, "iso8601"), plainTimeISO: (t = Pt()) => Mn(yi(Re(t)).time), timeZoneId: () => Pt(), zonedDateTimeISO: (t = Pt()) => {
4529
4529
  const e = Re(t);
4530
4530
  return me(xi(), e, "iso8601");
4531
4531
  }, [Symbol.toStringTag]: "Temporal.Now" };
4532
4532
  Object.defineProperty(cs, Symbol.toStringTag, { value: "Temporal.Now", writable: !1, enumerable: !1, configurable: !0 });
4533
- class Cr {
4533
+ class Tr {
4534
4534
  constructor(e = 0, n = 0, r = 0, i = 0, a = 0, o = 0) {
4535
- const s = e === void 0 ? 0 : I(e), u = n === void 0 ? 0 : I(n), l = r === void 0 ? 0 : I(r), c = i === void 0 ? 0 : I(i), d = a === void 0 ? 0 : I(a), f = o === void 0 ? 0 : I(o);
4536
- ii(s, u, l, c, d, f), So(this, { hour: s, minute: u, second: l, millisecond: c, microsecond: d, nanosecond: f });
4535
+ const s = e === void 0 ? 0 : S(e), u = n === void 0 ? 0 : S(n), l = r === void 0 ? 0 : S(r), c = i === void 0 ? 0 : S(i), d = a === void 0 ? 0 : S(a), f = o === void 0 ? 0 : S(o);
4536
+ ri(s, u, l, c, d, f), Io(this, { hour: s, minute: u, second: l, millisecond: c, microsecond: d, nanosecond: f });
4537
4537
  }
4538
4538
  get hour() {
4539
4539
  return b(this, re), m(this, ee).hour;
@@ -4559,7 +4559,7 @@ class Cr {
4559
4559
  const r = Ni(e, "partial"), i = Ni(this);
4560
4560
  let { hour: a, minute: o, second: s, millisecond: u, microsecond: l, nanosecond: c } = Object.assign(i, r);
4561
4561
  const d = j(L(n));
4562
- return { hour: a, minute: o, second: s, millisecond: u, microsecond: l, nanosecond: c } = ni(a, o, s, u, l, c, d), new Cr(a, o, s, u, l, c);
4562
+ return { hour: a, minute: o, second: s, millisecond: u, microsecond: l, nanosecond: c } = ei(a, o, s, u, l, c, d), new Tr(a, o, s, u, l, c);
4563
4563
  }
4564
4564
  add(e) {
4565
4565
  return b(this, re), Ga("add", this, e);
@@ -4568,10 +4568,10 @@ class Cr {
4568
4568
  return b(this, re), Ga("subtract", this, e);
4569
4569
  }
4570
4570
  until(e, n = void 0) {
4571
- return b(this, re), Sa("until", this, e, n);
4571
+ return b(this, re), Ia("until", this, e, n);
4572
4572
  }
4573
4573
  since(e, n = void 0) {
4574
- return b(this, re), Sa("since", this, e, n);
4574
+ return b(this, re), Ia("since", this, e, n);
4575
4575
  }
4576
4576
  round(e) {
4577
4577
  if (b(this, re), e === void 0) throw new TypeError("options parameter is required");
@@ -4585,9 +4585,9 @@ class Cr {
4585
4585
  }
4586
4586
  toString(e = void 0) {
4587
4587
  b(this, re);
4588
- const n = L(e), r = gr(n), i = tn(n, "trunc"), a = Ue(n, "smallestUnit", "time", void 0);
4588
+ const n = L(e), r = mr(n), i = tn(n, "trunc"), a = Ue(n, "smallestUnit", "time", void 0);
4589
4589
  if (a === "hour") throw new RangeError('smallestUnit must be a time unit other than "hour"');
4590
- const { precision: o, unit: s, increment: u } = yr(a, r);
4590
+ const { precision: o, unit: s, increment: u } = gr(a, r);
4591
4591
  return Ea(Yi(m(this, ee), u, s, i), o);
4592
4592
  }
4593
4593
  toJSON() {
@@ -4607,10 +4607,10 @@ class Cr {
4607
4607
  return Ui(m(r, ee), m(i, ee));
4608
4608
  }
4609
4609
  }
4610
- Sn(Cr, "Temporal.PlainTime");
4610
+ In(Tr, "Temporal.PlainTime");
4611
4611
  class sa {
4612
4612
  constructor(e, n, r = "iso8601", i = 1) {
4613
- const a = I(e), o = I(n), s = Se(r === void 0 ? "iso8601" : oe(r)), u = I(i);
4613
+ const a = S(e), o = S(n), s = Ie(r === void 0 ? "iso8601" : oe(r)), u = S(i);
4614
4614
  et(a, o, u), $o(this, { year: a, month: o, day: u }, s);
4615
4615
  }
4616
4616
  get year() {
@@ -4648,7 +4648,7 @@ class sa {
4648
4648
  Nt(e);
4649
4649
  const r = m(this, M);
4650
4650
  let i = Ae(r, m(this, R), "year-month");
4651
- return i = Jn(r, i, Ze(r, e, ["year", "month", "monthCode"], [], "partial")), _t(rr(r, i, j(L(n))), r);
4651
+ return i = Jn(r, i, Ke(r, e, ["year", "month", "monthCode"], [], "partial")), _t(tr(r, i, j(L(n))), r);
4652
4652
  }
4653
4653
  add(e, n = void 0) {
4654
4654
  return b(this, ce), Fa("add", this, e, n);
@@ -4664,11 +4664,11 @@ class sa {
4664
4664
  }
4665
4665
  equals(e) {
4666
4666
  b(this, ce);
4667
- const n = qt(e);
4667
+ const n = zt(e);
4668
4668
  return gn(m(this, R), m(n, R)) === 0 && fn(m(this, M), m(n, M));
4669
4669
  }
4670
4670
  toString(e = void 0) {
4671
- return b(this, ce), Ca(this, mr(L(e)));
4671
+ return b(this, ce), Ca(this, fr(L(e)));
4672
4672
  }
4673
4673
  toJSON() {
4674
4674
  return b(this, ce), Ca(this);
@@ -4682,35 +4682,35 @@ class sa {
4682
4682
  toPlainDate(e) {
4683
4683
  if (b(this, ce), !ne(e)) throw new TypeError("argument should be an object");
4684
4684
  const n = m(this, M);
4685
- return Oe(qn(n, Jn(n, Ae(n, m(this, R), "year-month"), Ze(n, e, ["day"], [], [])), "constrain"), n);
4685
+ return Oe(qn(n, Jn(n, Ae(n, m(this, R), "year-month"), Ke(n, e, ["day"], [], [])), "constrain"), n);
4686
4686
  }
4687
4687
  static from(e, n = void 0) {
4688
- return qt(e, n);
4688
+ return zt(e, n);
4689
4689
  }
4690
4690
  static compare(e, n) {
4691
- const r = qt(e), i = qt(n);
4691
+ const r = zt(e), i = zt(n);
4692
4692
  return gn(m(r, R), m(i, R));
4693
4693
  }
4694
4694
  }
4695
4695
  function wn(t, e) {
4696
4696
  b(t, ce);
4697
4697
  const n = m(t, R);
4698
- return _r(t).isoToDate(n, { [e]: !0 })[e];
4698
+ return yr(t).isoToDate(n, { [e]: !0 })[e];
4699
4699
  }
4700
- Sn(sa, "Temporal.PlainYearMonth");
4700
+ In(sa, "Temporal.PlainYearMonth");
4701
4701
  const $u = Ve.prototype.resolvedOptions;
4702
4702
  class ua {
4703
4703
  constructor(e, n, r = "iso8601") {
4704
4704
  if (arguments.length < 1) throw new TypeError("missing argument: epochNanoseconds is required");
4705
- const i = qr(e);
4705
+ const i = zr(e);
4706
4706
  let a = oe(n);
4707
4707
  const { tzName: o, offsetMinutes: s } = Gn(a);
4708
4708
  if (s === void 0) {
4709
- const u = jr(o);
4709
+ const u = xr(o);
4710
4710
  if (!u) throw new RangeError(`unknown time zone ${o}`);
4711
4711
  a = u.identifier;
4712
4712
  } else a = Ki(s);
4713
- Yo(this, i, a, Se(r === void 0 ? "iso8601" : oe(r)));
4713
+ Yo(this, i, a, Ie(r === void 0 ? "iso8601" : oe(r)));
4714
4714
  }
4715
4715
  get calendarId() {
4716
4716
  return b(this, P), m(this, M);
@@ -4775,7 +4775,7 @@ class ua {
4775
4775
  get hoursInDay() {
4776
4776
  b(this, P);
4777
4777
  const e = m(this, q), n = an(this).isoDate, r = xe(n.year, n.month, n.day + 1), i = $n(e, n), a = $n(e, r);
4778
- return Jt(Y.fromEpochNsDiff(a, i), "hour");
4778
+ return Xt(Y.fromEpochNsDiff(a, i), "hour");
4779
4779
  }
4780
4780
  get daysInWeek() {
4781
4781
  return be(this, "daysInWeek");
@@ -4803,9 +4803,9 @@ class ua {
4803
4803
  Nt(e);
4804
4804
  const r = m(this, M), i = m(this, q), a = En(i, m(this, O)), o = an(this);
4805
4805
  let s = { ...Ae(r, o.isoDate), ...o.time, offset: Oi(a) };
4806
- s = Jn(r, s, Ze(r, e, ["year", "month", "monthCode", "day"], ["hour", "minute", "second", "millisecond", "microsecond", "nanosecond", "offset"], "partial"));
4807
- const u = L(n), l = Xt(u), c = Rr(u, "prefer"), d = wr(r, s, j(u)), f = At(s.offset);
4808
- return me(Ur(d.isoDate, d.time, "option", f, i, l, c, !1), i, r);
4806
+ s = Jn(r, s, Ke(r, e, ["year", "month", "monthCode", "day"], ["hour", "minute", "second", "millisecond", "microsecond", "nanosecond", "offset"], "partial"));
4807
+ const u = L(n), l = Qt(u), c = Or(u, "prefer"), d = _r(r, s, j(u)), f = At(s.offset);
4808
+ return me(Yr(d.isoDate, d.time, "option", f, i, l, c, !1), i, r);
4809
4809
  }
4810
4810
  withPlainTime(e = void 0) {
4811
4811
  b(this, P);
@@ -4820,7 +4820,7 @@ class ua {
4820
4820
  }
4821
4821
  withCalendar(e) {
4822
4822
  b(this, P);
4823
- const n = br(e);
4823
+ const n = pr(e);
4824
4824
  return me(m(this, O), m(this, q), n);
4825
4825
  }
4826
4826
  add(e, n = void 0) {
@@ -4846,24 +4846,24 @@ class ua {
4846
4846
  c = Y.fromEpochNsDiff(u, g).round(y, i).addToEpochNs(g);
4847
4847
  } else {
4848
4848
  const d = Pi(l, r, a, i), f = En(s, u);
4849
- c = Ur(d.isoDate, d.time, "option", f, s, "compatible", "prefer", !1);
4849
+ c = Yr(d.isoDate, d.time, "option", f, s, "compatible", "prefer", !1);
4850
4850
  }
4851
4851
  return me(c, s, m(this, M));
4852
4852
  }
4853
4853
  equals(e) {
4854
4854
  b(this, P);
4855
- const n = Ht(e), r = m(this, O), i = m(n, O);
4855
+ const n = qt(e), r = m(this, O), i = m(n, O);
4856
4856
  return !!h.equal(h.BigInt(r), h.BigInt(i)) && !!Uo(m(this, q), m(n, q)) && fn(m(this, M), m(n, M));
4857
4857
  }
4858
4858
  toString(e = void 0) {
4859
4859
  b(this, P);
4860
- const n = L(e), r = mr(n), i = gr(n), a = (function(f) {
4860
+ const n = L(e), r = fr(n), i = mr(n), a = (function(f) {
4861
4861
  return Nn(f, "offset", ["auto", "never"], "auto");
4862
4862
  })(n), o = tn(n, "trunc"), s = Ue(n, "smallestUnit", "time", void 0);
4863
4863
  if (s === "hour") throw new RangeError('smallestUnit must be a time unit other than "hour"');
4864
4864
  const u = (function(f) {
4865
4865
  return Nn(f, "timeZoneName", ["auto", "never", "critical"], "auto");
4866
- })(n), { precision: l, unit: c, increment: d } = yr(s, i);
4866
+ })(n), { precision: l, unit: c, increment: d } = gr(s, i);
4867
4867
  return La(this, l, r, u, a, { unit: c, increment: d, roundingMode: o });
4868
4868
  }
4869
4869
  toLocaleString(e = void 0, n = void 0) {
@@ -4919,10 +4919,10 @@ class ua {
4919
4919
  return b(this, P), We(an(this), m(this, M));
4920
4920
  }
4921
4921
  static from(e, n = void 0) {
4922
- return Ht(e, n);
4922
+ return qt(e, n);
4923
4923
  }
4924
4924
  static compare(e, n) {
4925
- const r = Ht(e), i = Ht(n), a = m(r, O), o = m(i, O);
4925
+ const r = qt(e), i = qt(n), a = m(r, O), o = m(i, O);
4926
4926
  return h.lessThan(h.BigInt(a), h.BigInt(o)) ? -1 : h.greaterThan(h.BigInt(a), h.BigInt(o)) ? 1 : 0;
4927
4927
  }
4928
4928
  }
@@ -4932,14 +4932,14 @@ function an(t) {
4932
4932
  function be(t, e) {
4933
4933
  b(t, P);
4934
4934
  const n = an(t).isoDate;
4935
- return _r(t).isoToDate(n, { [e]: !0 })[e];
4935
+ return yr(t).isoToDate(n, { [e]: !0 })[e];
4936
4936
  }
4937
4937
  function dt(t, e) {
4938
4938
  return b(t, P), an(t).time[e];
4939
4939
  }
4940
- Sn(ua, "Temporal.ZonedDateTime");
4941
- var la = Object.freeze({ __proto__: null, Duration: Lt, Instant: ra, Now: cs, PlainDate: ia, PlainDateTime: aa, PlainMonthDay: oa, PlainTime: Cr, PlainYearMonth: sa, ZonedDateTime: ua });
4942
- const Pu = [ra, ia, aa, Lt, oa, Cr, sa, ua];
4940
+ In(ua, "Temporal.ZonedDateTime");
4941
+ var la = Object.freeze({ __proto__: null, Duration: Lt, Instant: ra, Now: cs, PlainDate: ia, PlainDateTime: aa, PlainMonthDay: oa, PlainTime: Tr, PlainYearMonth: sa, ZonedDateTime: ua });
4942
+ const Pu = [ra, ia, aa, Lt, oa, Tr, sa, ua];
4943
4943
  for (const t of Pu) {
4944
4944
  const e = Object.getOwnPropertyDescriptor(t, "prototype");
4945
4945
  (e.configurable || e.enumerable || e.writable) && (e.configurable = !1, e.enumerable = !1, e.writable = !1, Object.defineProperty(t, "prototype", e));
@@ -4947,7 +4947,7 @@ for (const t of Pu) {
4947
4947
  function Za(t) {
4948
4948
  return Intl.getCanonicalLocales(t);
4949
4949
  }
4950
- var yt = 9e15, Wn = 1e9, ji = "0123456789abcdef", Zr = "2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058", Kr = "3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789", Gi = {
4950
+ var yt = 9e15, Wn = 1e9, ji = "0123456789abcdef", Hr = "2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058", Zr = "3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789", Gi = {
4951
4951
  // These values must be integers within the stated ranges (inclusive).
4952
4952
  // Most of these values can be changed at run-time using the `Decimal.config` method.
4953
4953
  // The maximum number of significant digits of the result of a calculation or base conversion.
@@ -5005,7 +5005,7 @@ var yt = 9e15, Wn = 1e9, ji = "0123456789abcdef", Zr = "2.3025850929940456840179
5005
5005
  // Whether to use cryptographically-secure random number generation, if available.
5006
5006
  crypto: !1
5007
5007
  // true/false
5008
- }, ds, Tn, A = !0, li = "[DecimalError] ", Hn = li + "Invalid argument: ", hs = li + "Precision limit exceeded", fs = li + "crypto unavailable", ms = "[object Decimal]", _e = Math.floor, ae = Math.pow, Yu = /^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i, Uu = /^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i, xu = /^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i, gs = /^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i, nn = 1e7, N = 7, ju = 9007199254740991, Gu = Zr.length - 1, Fi = Kr.length - 1, D = { toStringTag: ms };
5008
+ }, ds, Tn, A = !0, ui = "[DecimalError] ", Hn = ui + "Invalid argument: ", hs = ui + "Precision limit exceeded", fs = ui + "crypto unavailable", ms = "[object Decimal]", _e = Math.floor, ae = Math.pow, Yu = /^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i, Uu = /^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i, xu = /^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i, gs = /^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i, nn = 1e7, N = 7, ju = 9007199254740991, Gu = Hr.length - 1, Fi = Zr.length - 1, D = { toStringTag: ms };
5009
5009
  D.absoluteValue = D.abs = function() {
5010
5010
  var t = new this.constructor(this);
5011
5011
  return t.s < 0 && (t.s = 1), k(t);
@@ -5083,7 +5083,7 @@ D.hyperbolicCosine = D.cosh = function() {
5083
5083
  var t, e, n, r, i, a = this, o = a.constructor, s = new o(1);
5084
5084
  if (!a.isFinite()) return new o(a.s ? 1 / 0 : NaN);
5085
5085
  if (a.isZero()) return s;
5086
- n = o.precision, r = o.rounding, o.precision = n + Math.max(a.e, a.sd()) + 4, o.rounding = 1, i = a.d.length, i < 32 ? (t = Math.ceil(i / 3), e = (1 / di(4, t)).toString()) : (t = 16, e = "2.3283064365386962890625e-10"), a = kt(o, 1, a.times(e), new o(1), !0);
5086
+ n = o.precision, r = o.rounding, o.precision = n + Math.max(a.e, a.sd()) + 4, o.rounding = 1, i = a.d.length, i < 32 ? (t = Math.ceil(i / 3), e = (1 / ci(4, t)).toString()) : (t = 16, e = "2.3283064365386962890625e-10"), a = kt(o, 1, a.times(e), new o(1), !0);
5087
5087
  for (var u, l = t, c = new o(8); l--; )
5088
5088
  u = a.times(a), a = s.minus(u.times(c.minus(u.times(c))));
5089
5089
  return k(a, o.precision = n, o.rounding = r, !0);
@@ -5094,7 +5094,7 @@ D.hyperbolicSine = D.sinh = function() {
5094
5094
  if (e = a.precision, n = a.rounding, a.precision = e + Math.max(i.e, i.sd()) + 4, a.rounding = 1, r = i.d.length, r < 3)
5095
5095
  i = kt(a, 2, i, i, !0);
5096
5096
  else {
5097
- t = 1.4 * Math.sqrt(r), t = t > 16 ? 16 : t | 0, i = i.times(1 / di(5, t)), i = kt(a, 2, i, i, !0);
5097
+ t = 1.4 * Math.sqrt(r), t = t > 16 ? 16 : t | 0, i = i.times(1 / ci(5, t)), i = kt(a, 2, i, i, !0);
5098
5098
  for (var o, s = new a(5), u = new a(16), l = new a(20); t--; )
5099
5099
  o = i.times(i), i = i.times(s.plus(o.times(u.times(o).plus(l))));
5100
5100
  }
@@ -5182,13 +5182,13 @@ D.logarithm = D.log = function(t) {
5182
5182
  for (i = n[0]; i % 10 === 0; ) i /= 10;
5183
5183
  a = i !== 1;
5184
5184
  }
5185
- if (A = !1, s = d + g, o = jn(l, s), r = e ? Wr(c, s + 10) : jn(t, s), u = K(o, r, s, 1), cr(u.d, i = d, f))
5185
+ if (A = !1, s = d + g, o = jn(l, s), r = e ? Kr(c, s + 10) : jn(t, s), u = K(o, r, s, 1), lr(u.d, i = d, f))
5186
5186
  do
5187
- if (s += 10, o = jn(l, s), r = e ? Wr(c, s + 10) : jn(t, s), u = K(o, r, s, 1), !a) {
5187
+ if (s += 10, o = jn(l, s), r = e ? Kr(c, s + 10) : jn(t, s), u = K(o, r, s, 1), !a) {
5188
5188
  +de(u.d).slice(i + 1, i + 15) + 1 == 1e14 && (u = k(u, d + 1, 0));
5189
5189
  break;
5190
5190
  }
5191
- while (cr(u.d, i += 10, f));
5191
+ while (lr(u.d, i += 10, f));
5192
5192
  return A = !0, k(u, d, f);
5193
5193
  };
5194
5194
  D.minus = D.sub = function(t) {
@@ -5224,7 +5224,7 @@ D.minus = D.sub = function(t) {
5224
5224
  }
5225
5225
  for (; l[--o] === 0; ) l.pop();
5226
5226
  for (; l[0] === 0; l.shift()) --n;
5227
- return l[0] ? (t.d = l, t.e = ci(l, n), A ? k(t, s, u) : t) : new _(u === 3 ? -0 : 0);
5227
+ return l[0] ? (t.d = l, t.e = li(l, n), A ? k(t, s, u) : t) : new _(u === 3 ? -0 : 0);
5228
5228
  };
5229
5229
  D.modulo = D.mod = function(t) {
5230
5230
  var e, n = this, r = n.constructor;
@@ -5255,7 +5255,7 @@ D.plus = D.add = function(t) {
5255
5255
  for (o = l.length, i = c.length, o - i < 0 && (i = o, n = c, c = l, l = n), e = 0; i; )
5256
5256
  e = (l[--i] = l[i] + c[i] + e) / nn | 0, l[i] %= nn;
5257
5257
  for (e && (l.unshift(e), ++r), o = l.length; l[--o] == 0; ) l.pop();
5258
- return t.d = l, t.e = ci(l, r), A ? k(t, s, u) : t;
5258
+ return t.d = l, t.e = li(l, r), A ? k(t, s, u) : t;
5259
5259
  };
5260
5260
  D.precision = D.sd = function(t) {
5261
5261
  var e, n = this;
@@ -5303,7 +5303,7 @@ D.times = D.mul = function(t) {
5303
5303
  a[i] = (a[i] + e) % nn | 0;
5304
5304
  }
5305
5305
  for (; !a[--o]; ) a.pop();
5306
- return e ? ++n : a.shift(), t.d = a, t.e = ci(a, n), A ? k(t, d.precision, d.rounding) : t;
5306
+ return e ? ++n : a.shift(), t.d = a, t.e = li(a, n), A ? k(t, d.precision, d.rounding) : t;
5307
5307
  };
5308
5308
  D.toBinary = function(t, e) {
5309
5309
  return ca(this, 2, t, e);
@@ -5366,7 +5366,7 @@ D.toPower = D.pow = function(t) {
5366
5366
  if ((t.d[e] & 1) == 0 && (o = 1), s.e == 0 && s.d[0] == 1 && s.d.length == 1)
5367
5367
  return s.s = o, s;
5368
5368
  }
5369
- return n = ae(+s, l), e = n == 0 || !isFinite(n) ? _e(l * (Math.log("0." + de(s.d)) / Math.LN10 + s.e + 1)) : new u(n + "").e, e > u.maxE + 1 || e < u.minE - 1 ? new u(e > 0 ? o / 0 : 0) : (A = !1, u.rounding = s.s = 1, n = Math.min(12, (e + "").length), i = zi(t.times(jn(s, r + n)), r), i.d && (i = k(i, r + 5, 1), cr(i.d, r, a) && (e = r + 10, i = k(zi(t.times(jn(s, e + n)), e), e + 5, 1), +de(i.d).slice(r + 1, r + 15) + 1 == 1e14 && (i = k(i, r + 1, 0)))), i.s = o, A = !0, u.rounding = a, k(i, r, a));
5369
+ return n = ae(+s, l), e = n == 0 || !isFinite(n) ? _e(l * (Math.log("0." + de(s.d)) / Math.LN10 + s.e + 1)) : new u(n + "").e, e > u.maxE + 1 || e < u.minE - 1 ? new u(e > 0 ? o / 0 : 0) : (A = !1, u.rounding = s.s = 1, n = Math.min(12, (e + "").length), i = zi(t.times(jn(s, r + n)), r), i.d && (i = k(i, r + 5, 1), lr(i.d, r, a) && (e = r + 10, i = k(zi(t.times(jn(s, e + n)), e), e + 5, 1), +de(i.d).slice(r + 1, r + 15) + 1 == 1e14 && (i = k(i, r + 1, 0)))), i.s = o, A = !0, u.rounding = a, k(i, r, a));
5370
5370
  };
5371
5371
  D.toPrecision = function(t, e) {
5372
5372
  var n, r = this, i = r.constructor;
@@ -5402,12 +5402,12 @@ function je(t, e, n) {
5402
5402
  if (t !== ~~t || t < e || t > n)
5403
5403
  throw Error(Hn + t);
5404
5404
  }
5405
- function cr(t, e, n, r) {
5405
+ function lr(t, e, n, r) {
5406
5406
  var i, a, o, s;
5407
5407
  for (a = t[0]; a >= 10; a /= 10) --e;
5408
5408
  return --e < 0 ? (e += N, i = 0) : (i = Math.ceil((e + 1) / N), e %= N), a = ae(10, N - e), s = t[i] % a | 0, r == null ? e < 3 ? (e == 0 ? s = s / 100 | 0 : e == 1 && (s = s / 10 | 0), o = n < 4 && s == 99999 || n > 3 && s == 49999 || s == 5e4 || s == 0) : o = (n < 4 && s + 1 == a || n > 3 && s + 1 == a / 2) && (t[i + 1] / a / 100 | 0) == ae(10, e - 2) - 1 || (s == a / 2 || s == 0) && (t[i + 1] / a / 100 | 0) == 0 : e < 4 ? (e == 0 ? s = s / 1e3 | 0 : e == 1 ? s = s / 100 | 0 : e == 2 && (s = s / 10 | 0), o = (r || n < 4) && s == 9999 || !r && n > 3 && s == 4999) : o = ((r || n < 4) && s + 1 == a || !r && n > 3 && s + 1 == a / 2) && (t[i + 1] / a / 1e3 | 0) == ae(10, e - 3) - 1, o;
5409
5409
  }
5410
- function Ar(t, e, n) {
5410
+ function Rr(t, e, n) {
5411
5411
  for (var r, i = [0], a, o = 0, s = t.length; o < s; ) {
5412
5412
  for (a = i.length; a--; ) i[a] *= e;
5413
5413
  for (i[0] += ji.indexOf(t.charAt(o++)), r = 0; r < i.length; r++)
@@ -5418,7 +5418,7 @@ function Ar(t, e, n) {
5418
5418
  function Fu(t, e) {
5419
5419
  var n, r, i;
5420
5420
  if (e.isZero()) return e;
5421
- r = e.d.length, r < 32 ? (n = Math.ceil(r / 3), i = (1 / di(4, n)).toString()) : (n = 16, i = "2.3283064365386962890625e-10"), t.precision += n, e = kt(t, 1, e.times(i), new t(1));
5421
+ r = e.d.length, r < 32 ? (n = Math.ceil(r / 3), i = (1 / ci(4, n)).toString()) : (n = 16, i = "2.3283064365386962890625e-10"), t.precision += n, e = kt(t, 1, e.times(i), new t(1));
5422
5422
  for (var a = n; a--; ) {
5423
5423
  var o = e.times(e);
5424
5424
  e = o.times(o).minus(o).times(8).plus(1);
@@ -5450,7 +5450,7 @@ var K = /* @__PURE__ */ (function() {
5450
5450
  for (; !r[0] && r.length > 1; ) r.shift();
5451
5451
  }
5452
5452
  return function(r, i, a, o, s, u) {
5453
- var l, c, d, f, g, _, y, w, p, E, v, T, C, U, H, Z, S, B, x, z, te = r.constructor, ie = r.s == i.s ? 1 : -1, V = r.d, G = i.d;
5453
+ var l, c, d, f, g, _, y, w, p, E, v, T, C, U, H, Z, I, B, x, z, te = r.constructor, ie = r.s == i.s ? 1 : -1, V = r.d, G = i.d;
5454
5454
  if (!V || !V[0] || !G || !G[0])
5455
5455
  return new te(
5456
5456
  // Return NaN if either NaN, or both Infinity or 0.
@@ -5459,20 +5459,20 @@ var K = /* @__PURE__ */ (function() {
5459
5459
  V && V[0] == 0 || !G ? ie * 0 : ie / 0
5460
5460
  )
5461
5461
  );
5462
- for (u ? (g = 1, c = r.e - i.e) : (u = nn, g = N, c = _e(r.e / g) - _e(i.e / g)), x = G.length, S = V.length, p = new te(ie), E = p.d = [], d = 0; G[d] == (V[d] || 0); d++) ;
5462
+ for (u ? (g = 1, c = r.e - i.e) : (u = nn, g = N, c = _e(r.e / g) - _e(i.e / g)), x = G.length, I = V.length, p = new te(ie), E = p.d = [], d = 0; G[d] == (V[d] || 0); d++) ;
5463
5463
  if (G[d] > (V[d] || 0) && c--, a == null ? (U = a = te.precision, o = te.rounding) : s ? U = a + (r.e - i.e) + 1 : U = a, U < 0)
5464
5464
  E.push(1), _ = !0;
5465
5465
  else {
5466
5466
  if (U = U / g + 2 | 0, d = 0, x == 1) {
5467
- for (f = 0, G = G[0], U++; (d < S || f) && U--; d++)
5467
+ for (f = 0, G = G[0], U++; (d < I || f) && U--; d++)
5468
5468
  H = f * u + (V[d] || 0), E[d] = H / G | 0, f = H % G | 0;
5469
- _ = f || d < S;
5469
+ _ = f || d < I;
5470
5470
  } else {
5471
- for (f = u / (G[0] + 1) | 0, f > 1 && (G = t(G, f, u), V = t(V, f, u), x = G.length, S = V.length), Z = x, v = V.slice(0, x), T = v.length; T < x; ) v[T++] = 0;
5471
+ for (f = u / (G[0] + 1) | 0, f > 1 && (G = t(G, f, u), V = t(V, f, u), x = G.length, I = V.length), Z = x, v = V.slice(0, x), T = v.length; T < x; ) v[T++] = 0;
5472
5472
  z = G.slice(), z.unshift(0), B = G[0], G[1] >= u / 2 && ++B;
5473
5473
  do
5474
5474
  f = 0, l = e(G, v, x, T), l < 0 ? (C = v[0], x != T && (C = C * u + (v[1] || 0)), f = C / B | 0, f > 1 ? (f >= u && (f = u - 1), y = t(G, f, u), w = y.length, T = v.length, l = e(y, v, w, T), l == 1 && (f--, n(y, x < w ? z : G, w, u))) : (f == 0 && (l = f = 1), y = G.slice()), w = y.length, w < T && y.unshift(0), n(v, y, T, u), l == -1 && (T = v.length, l = e(G, v, x, T), l < 1 && (f++, n(v, x < T ? z : G, T, u))), T = v.length) : l === 0 && (f++, v = [0]), E[d++] = f, l && v[0] ? v[T++] = V[Z] || 0 : (v = [V[Z]], T = 1);
5475
- while ((Z++ < S || v[0] !== void 0) && U--);
5475
+ while ((Z++ < I || v[0] !== void 0) && U--);
5476
5476
  _ = v[0] !== void 0;
5477
5477
  }
5478
5478
  E[0] || E.shift();
@@ -5526,19 +5526,19 @@ function yn(t, e, n) {
5526
5526
  var r, i = t.e, a = de(t.d), o = a.length;
5527
5527
  return e ? (n && (r = n - o) > 0 ? a = a.charAt(0) + "." + a.slice(1) + Yn(r) : o > 1 && (a = a.charAt(0) + "." + a.slice(1)), a = a + (t.e < 0 ? "e" : "e+") + t.e) : i < 0 ? (a = "0." + Yn(-i - 1) + a, n && (r = n - o) > 0 && (a += Yn(r))) : i >= o ? (a += Yn(i + 1 - o), n && (r = n - i - 1) > 0 && (a = a + "." + Yn(r))) : ((r = i + 1) < o && (a = a.slice(0, r) + "." + a.slice(r)), n && (r = n - o) > 0 && (i + 1 === o && (a += "."), a += Yn(r))), a;
5528
5528
  }
5529
- function ci(t, e) {
5529
+ function li(t, e) {
5530
5530
  var n = t[0];
5531
5531
  for (e *= N; n >= 10; n /= 10) e++;
5532
5532
  return e;
5533
5533
  }
5534
- function Wr(t, e, n) {
5534
+ function Kr(t, e, n) {
5535
5535
  if (e > Gu)
5536
5536
  throw A = !0, n && (t.precision = n), Error(hs);
5537
- return k(new t(Zr), e, 1, !0);
5537
+ return k(new t(Hr), e, 1, !0);
5538
5538
  }
5539
5539
  function dn(t, e, n) {
5540
5540
  if (e > Fi) throw Error(hs);
5541
- return k(new t(Kr), e, n, !0);
5541
+ return k(new t(Zr), e, n, !0);
5542
5542
  }
5543
5543
  function ys(t) {
5544
5544
  var e = t.length - 1, n = e * N + 1;
@@ -5586,7 +5586,7 @@ function zi(t, e) {
5586
5586
  if (a = k(a.times(t), u, 1), n = n.times(++c), s = o.plus(K(a, n, u, 1)), de(s.d).slice(0, u) === de(o.d).slice(0, u)) {
5587
5587
  for (i = d; i--; ) o = k(o.times(o), u, 1);
5588
5588
  if (e == null)
5589
- if (l < 3 && cr(o.d, u - r, g, l))
5589
+ if (l < 3 && lr(o.d, u - r, g, l))
5590
5590
  f.precision = u += 10, n = a = s = new f(1), c = 0, l++;
5591
5591
  else
5592
5592
  return k(o, f.precision = _, g, A = !0);
@@ -5605,11 +5605,11 @@ function jn(t, e) {
5605
5605
  y = y.times(t), n = de(y.d), r = n.charAt(0), g++;
5606
5606
  a = y.e, r > 1 ? (y = new p("0." + n), a++) : y = new p(r + "." + n.slice(1));
5607
5607
  } else
5608
- return l = Wr(p, c + 2, v).times(a + ""), y = jn(new p(r + "." + n.slice(1)), c - _).plus(l), p.precision = v, e == null ? k(y, v, E, A = !0) : y;
5608
+ return l = Kr(p, c + 2, v).times(a + ""), y = jn(new p(r + "." + n.slice(1)), c - _).plus(l), p.precision = v, e == null ? k(y, v, E, A = !0) : y;
5609
5609
  for (d = y, u = o = y = K(y.minus(1), y.plus(1), c, 1), f = k(y.times(y), c, 1), i = 3; ; ) {
5610
5610
  if (o = k(o.times(f), c, 1), l = u.plus(K(o, new p(i), c, 1)), de(l.d).slice(0, c) === de(u.d).slice(0, c))
5611
- if (u = u.times(2), a !== 0 && (u = u.plus(Wr(p, c + 2, v).times(a + ""))), u = K(u, new p(g), c, 1), e == null)
5612
- if (cr(u.d, c - _, E, s))
5611
+ if (u = u.times(2), a !== 0 && (u = u.plus(Kr(p, c + 2, v).times(a + ""))), u = K(u, new p(g), c, 1), e == null)
5612
+ if (lr(u.d, c - _, E, s))
5613
5613
  p.precision = c += _, l = o = y = K(d.minus(1), d.plus(1), c, 1), f = k(y.times(y), c, 1), i = s = 1;
5614
5614
  else
5615
5615
  return k(u, p.precision = v, E, A = !0);
@@ -5621,7 +5621,7 @@ function jn(t, e) {
5621
5621
  function ps(t) {
5622
5622
  return String(t.s * t.s / 0);
5623
5623
  }
5624
- function Ir(t, e) {
5624
+ function Ar(t, e) {
5625
5625
  var n, r, i;
5626
5626
  for ((n = e.indexOf(".")) > -1 && (e = e.replace(".", "")), (r = e.search(/e/i)) > 0 ? (n < 0 && (n = r), n += +e.slice(r + 1), e = e.substring(0, r)) : n < 0 && (n = e.length), r = 0; e.charCodeAt(r) === 48; r++) ;
5627
5627
  for (i = e.length; e.charCodeAt(i - 1) === 48; --i) ;
@@ -5640,7 +5640,7 @@ function Ir(t, e) {
5640
5640
  function zu(t, e) {
5641
5641
  var n, r, i, a, o, s, u, l, c;
5642
5642
  if (e.indexOf("_") > -1) {
5643
- if (e = e.replace(/(\d)_(?=\d)/g, "$1"), gs.test(e)) return Ir(t, e);
5643
+ if (e = e.replace(/(\d)_(?=\d)/g, "$1"), gs.test(e)) return Ar(t, e);
5644
5644
  } else if (e === "Infinity" || e === "NaN")
5645
5645
  return +e || (t.s = NaN), t.e = NaN, t.d = null, t;
5646
5646
  if (Uu.test(e))
@@ -5651,14 +5651,14 @@ function zu(t, e) {
5651
5651
  n = 8;
5652
5652
  else
5653
5653
  throw Error(Hn + e);
5654
- for (a = e.search(/p/i), a > 0 ? (u = +e.slice(a + 1), e = e.substring(2, a)) : e = e.slice(2), a = e.indexOf("."), o = a >= 0, r = t.constructor, o && (e = e.replace(".", ""), s = e.length, a = s - a, i = _s(r, new r(n), a, a * 2)), l = Ar(e, n, nn), c = l.length - 1, a = c; l[a] === 0; --a) l.pop();
5655
- return a < 0 ? new r(t.s * 0) : (t.e = ci(l, c), t.d = l, A = !1, o && (t = K(t, i, s * 4)), u && (t = t.times(Math.abs(u) < 54 ? ae(2, u) : Ke.pow(2, u))), A = !0, t);
5654
+ for (a = e.search(/p/i), a > 0 ? (u = +e.slice(a + 1), e = e.substring(2, a)) : e = e.slice(2), a = e.indexOf("."), o = a >= 0, r = t.constructor, o && (e = e.replace(".", ""), s = e.length, a = s - a, i = _s(r, new r(n), a, a * 2)), l = Rr(e, n, nn), c = l.length - 1, a = c; l[a] === 0; --a) l.pop();
5655
+ return a < 0 ? new r(t.s * 0) : (t.e = li(l, c), t.d = l, A = !1, o && (t = K(t, i, s * 4)), u && (t = t.times(Math.abs(u) < 54 ? ae(2, u) : ze.pow(2, u))), A = !0, t);
5656
5656
  }
5657
5657
  function qu(t, e) {
5658
5658
  var n, r = e.d.length;
5659
5659
  if (r < 3)
5660
5660
  return e.isZero() ? e : kt(t, 2, e, e);
5661
- n = 1.4 * Math.sqrt(r), n = n > 16 ? 16 : n | 0, e = e.times(1 / di(5, n)), e = kt(t, 2, e, e);
5661
+ n = 1.4 * Math.sqrt(r), n = n > 16 ? 16 : n | 0, e = e.times(1 / ci(5, n)), e = kt(t, 2, e, e);
5662
5662
  for (var i, a = new t(5), o = new t(16), s = new t(20); n--; )
5663
5663
  i = e.times(e), e = e.times(a.plus(i.times(o.times(i).minus(s))));
5664
5664
  return e;
@@ -5674,7 +5674,7 @@ function kt(t, e, n, r, i) {
5674
5674
  }
5675
5675
  return A = !0, o.d.length = c + 1, o;
5676
5676
  }
5677
- function di(t, e) {
5677
+ function ci(t, e) {
5678
5678
  for (var n = t; --e; ) n *= t;
5679
5679
  return n;
5680
5680
  }
@@ -5696,7 +5696,7 @@ function ca(t, e, n, r) {
5696
5696
  if (_ ? (je(n, 1, Wn), r === void 0 ? r = g.rounding : je(r, 0, 8)) : (n = g.precision, r = g.rounding), !t.isFinite())
5697
5697
  c = ps(t);
5698
5698
  else {
5699
- for (c = yn(t), o = c.indexOf("."), _ ? (i = 2, e == 16 ? n = n * 4 - 3 : e == 8 && (n = n * 3 - 2)) : i = e, o >= 0 && (c = c.replace(".", ""), f = new g(1), f.e = c.length - o, f.d = Ar(yn(f), 10, i), f.e = f.d.length), d = Ar(c, 10, i), a = u = d.length; d[--u] == 0; ) d.pop();
5699
+ for (c = yn(t), o = c.indexOf("."), _ ? (i = 2, e == 16 ? n = n * 4 - 3 : e == 8 && (n = n * 3 - 2)) : i = e, o >= 0 && (c = c.replace(".", ""), f = new g(1), f.e = c.length - o, f.d = Rr(yn(f), 10, i), f.e = f.d.length), d = Rr(c, 10, i), a = u = d.length; d[--u] == 0; ) d.pop();
5700
5700
  if (!d[0])
5701
5701
  c = _ ? "0p+0" : "0";
5702
5702
  else {
@@ -5709,7 +5709,7 @@ function ca(t, e, n, r) {
5709
5709
  if (u > 1)
5710
5710
  if (e == 16 || e == 8) {
5711
5711
  for (o = e == 16 ? 4 : 3, --u; u % o; u++) c += "0";
5712
- for (d = Ar(c, i, e), u = d.length; !d[u - 1]; --u) ;
5712
+ for (d = Rr(c, i, e), u = d.length; !d[u - 1]; --u) ;
5713
5713
  for (o = 1, c = "1."; o < u; o++) c += ji.charAt(d[o]);
5714
5714
  } else
5715
5715
  c = c.charAt(0) + "." + c.slice(1);
@@ -5767,7 +5767,7 @@ function tl(t, e, n) {
5767
5767
  return new this(t).clamp(e, n);
5768
5768
  }
5769
5769
  function rl(t) {
5770
- if (!t || typeof t != "object") throw Error(li + "Object expected");
5770
+ if (!t || typeof t != "object") throw Error(ui + "Object expected");
5771
5771
  var e, n, r, i = t.defaults === !0, a = [
5772
5772
  "precision",
5773
5773
  1,
@@ -5837,12 +5837,12 @@ function vs(t) {
5837
5837
  a || (l.s = NaN), l.e = NaN, l.d = null;
5838
5838
  return;
5839
5839
  }
5840
- return Ir(l, a.toString());
5840
+ return Ar(l, a.toString());
5841
5841
  }
5842
5842
  if (u === "string")
5843
- return (s = a.charCodeAt(0)) === 45 ? (a = a.slice(1), l.s = -1) : (s === 43 && (a = a.slice(1)), l.s = 1), gs.test(a) ? Ir(l, a) : zu(l, a);
5843
+ return (s = a.charCodeAt(0)) === 45 ? (a = a.slice(1), l.s = -1) : (s === 43 && (a = a.slice(1)), l.s = 1), gs.test(a) ? Ar(l, a) : zu(l, a);
5844
5844
  if (u === "bigint")
5845
- return a < 0 ? (a = -a, l.s = -1) : l.s = 1, Ir(l, a.toString());
5845
+ return a < 0 ? (a = -a, l.s = -1) : l.s = 1, Ar(l, a.toString());
5846
5846
  throw Error(Hn + a);
5847
5847
  }
5848
5848
  if (i.prototype = D, i.ROUND_UP = 0, i.ROUND_DOWN = 1, i.ROUND_CEIL = 2, i.ROUND_FLOOR = 3, i.ROUND_HALF_UP = 4, i.ROUND_HALF_DOWN = 5, i.ROUND_HALF_EVEN = 6, i.ROUND_HALF_CEIL = 7, i.ROUND_HALF_FLOOR = 8, i.EUCLID = 9, i.config = i.set = rl, i.clone = vs, i.isDecimal = Ba, i.abs = Hu, i.acos = Zu, i.acosh = Ku, i.add = Wu, i.asin = Bu, i.asinh = Vu, i.atan = Qu, i.atanh = Xu, i.atan2 = Ju, i.cbrt = el, i.ceil = nl, i.clamp = tl, i.cos = il, i.cosh = al, i.div = ol, i.exp = sl, i.floor = ul, i.hypot = ll, i.ln = cl, i.log = dl, i.log10 = fl, i.log2 = hl, i.max = ml, i.min = gl, i.mod = yl, i.mul = _l, i.pow = wl, i.random = pl, i.round = bl, i.sign = vl, i.sin = Dl, i.sinh = Ml, i.sqrt = El, i.sub = Tl, i.sum = Cl, i.tan = Ll, i.tanh = kl, i.trunc = Nl, t === void 0 && (t = {}), t && t.defaults !== !0)
@@ -5871,7 +5871,7 @@ function ll() {
5871
5871
  return A = !0, n.sqrt();
5872
5872
  }
5873
5873
  function Ba(t) {
5874
- return t instanceof Ke || t && t.toStringTag === ms || !1;
5874
+ return t instanceof ze || t && t.toStringTag === ms || !1;
5875
5875
  }
5876
5876
  function cl(t) {
5877
5877
  return new this(t).ln();
@@ -5957,15 +5957,15 @@ function Nl(t) {
5957
5957
  }
5958
5958
  D[/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")] = D.toString;
5959
5959
  D[Symbol.toStringTag] = "Decimal";
5960
- var Ke = D.constructor = vs(Gi);
5961
- Zr = new Ke(Zr);
5962
- Kr = new Ke(Kr);
5963
- new Ke(10);
5964
- const Ol = new Ke(0);
5965
- new Ke(-0);
5966
- function $t(t, e) {
5960
+ var ze = D.constructor = vs(Gi);
5961
+ Hr = new ze(Hr);
5962
+ Zr = new ze(Zr);
5963
+ new ze(10);
5964
+ const Ol = new ze(0);
5965
+ new ze(-0);
5966
+ function Cr(t, e) {
5967
5967
  const n = e && e.cache ? e.cache : Yl, r = e && e.serializer ? e.serializer : $l;
5968
- return (e && e.strategy ? e.strategy : Il)(t, {
5968
+ return (e && e.strategy ? e.strategy : Sl)(t, {
5969
5969
  cache: n,
5970
5970
  serializer: r
5971
5971
  });
@@ -5986,11 +5986,11 @@ function Ds(t, e, n) {
5986
5986
  function Ms(t, e, n, r, i) {
5987
5987
  return n.bind(e, t, r, i);
5988
5988
  }
5989
- function Il(t, e) {
5989
+ function Sl(t, e) {
5990
5990
  const n = t.length === 1 ? Al : Ds;
5991
5991
  return Ms(t, this, n, e.cache.create(), e.serializer);
5992
5992
  }
5993
- function Sl(t, e) {
5993
+ function Il(t, e) {
5994
5994
  return Ms(t, this, Ds, e.cache.create(), e.serializer);
5995
5995
  }
5996
5996
  const $l = function() {
@@ -6010,18 +6010,17 @@ class Pl {
6010
6010
  }
6011
6011
  const Yl = { create: function() {
6012
6012
  return new Pl();
6013
- } }, Lr = {
6014
- variadic: Sl
6013
+ } }, di = {
6014
+ variadic: Il
6015
6015
  };
6016
6016
  function Rn(t, e, n = Error) {
6017
6017
  if (!t)
6018
6018
  throw new n(e);
6019
6019
  }
6020
- const Ul = $t((...t) => new Intl.NumberFormat(...t), { strategy: Lr.variadic });
6021
- $t((...t) => new Intl.DateTimeFormat(...t), { strategy: Lr.variadic });
6022
- $t((...t) => new Intl.PluralRules(...t), { strategy: Lr.variadic });
6023
- $t((...t) => new Intl.Locale(...t), { strategy: Lr.variadic });
6024
- const xl = $t((...t) => new Intl.ListFormat(...t), { strategy: Lr.variadic });
6020
+ const Ul = Cr((...t) => new Intl.NumberFormat(...t), { strategy: di.variadic });
6021
+ Cr((...t) => new Intl.PluralRules(...t), { strategy: di.variadic });
6022
+ Cr((...t) => new Intl.Locale(...t), { strategy: di.variadic });
6023
+ const xl = Cr((...t) => new Intl.ListFormat(...t), { strategy: di.variadic });
6025
6024
  function jl(t) {
6026
6025
  if (typeof t == "symbol")
6027
6026
  throw TypeError("Cannot convert a Symbol value to a string");
@@ -6029,18 +6028,20 @@ function jl(t) {
6029
6028
  }
6030
6029
  function Es(t) {
6031
6030
  if (typeof t == "number")
6032
- return new Ke(t);
6033
- if (Rn(typeof t != "bigint" && typeof t != "symbol", "BigInt and Symbol are not supported", TypeError), t === void 0)
6034
- return new Ke(NaN);
6031
+ return new ze(t);
6032
+ if (typeof t == "bigint")
6033
+ return new ze(t.toString());
6034
+ if (Rn(typeof t != "symbol", "Symbol is not supported", TypeError), t === void 0)
6035
+ return new ze(NaN);
6035
6036
  if (t === null || t === 0)
6036
6037
  return Ol;
6037
6038
  if (t === !0)
6038
- return new Ke(1);
6039
+ return new ze(1);
6039
6040
  if (typeof t == "string")
6040
6041
  try {
6041
- return new Ke(t);
6042
+ return new ze(t);
6042
6043
  } catch {
6043
- return new Ke(NaN);
6044
+ return new ze(NaN);
6044
6045
  }
6045
6046
  Rn(typeof t == "object", "object expected", TypeError);
6046
6047
  let e = zl(t, "number");
@@ -9319,7 +9320,7 @@ function Wl() {
9319
9320
  }
9320
9321
  return wi;
9321
9322
  }
9322
- function Nr(t, e, n) {
9323
+ function kr(t, e, n) {
9323
9324
  const [r, i, a] = e.split("-");
9324
9325
  let o = !0;
9325
9326
  if (a && a[0] === "$") {
@@ -9338,8 +9339,8 @@ function Va(t) {
9338
9339
  }
9339
9340
  function pi(t, e, n) {
9340
9341
  for (const r of n.matches) {
9341
- let i = Nr(t, r.desired, n.matchVariables) && Nr(e, r.supported, n.matchVariables);
9342
- if (!r.oneway && !i && (i = Nr(t, r.supported, n.matchVariables) && Nr(e, r.desired, n.matchVariables)), i) {
9342
+ let i = kr(t, r.desired, n.matchVariables) && kr(e, r.supported, n.matchVariables);
9343
+ if (!r.oneway && !i && (i = kr(t, r.supported, n.matchVariables) && kr(e, r.desired, n.matchVariables)), i) {
9343
9344
  const a = r.distance * 10;
9344
9345
  return n.paradigmLocales.indexOf(Va(t)) > -1 != n.paradigmLocales.indexOf(Va(e)) > -1 ? a - 1 : a;
9345
9346
  }
@@ -9376,7 +9377,7 @@ function Bl(t, e) {
9376
9377
  region: ""
9377
9378
  }, s)), i.region !== a.region && (o += pi(i, a, s)), o;
9378
9379
  }
9379
- const Vl = $t(Bl, { serializer: (t) => `${t[0]}|${t[1]}` });
9380
+ const Vl = Cr(Bl, { serializer: (t) => `${t[0]}|${t[1]}` });
9380
9381
  function Ql(t) {
9381
9382
  const e = [];
9382
9383
  let n = t;
@@ -9670,14 +9671,14 @@ const ks = [
9670
9671
  numberFormatUnit: "nanosecond"
9671
9672
  }
9672
9673
  ], to = /* @__PURE__ */ new WeakMap();
9673
- function Kt(t) {
9674
+ function Zt(t) {
9674
9675
  let e = to.get(t);
9675
9676
  return e || (e = /* @__PURE__ */ Object.create(null), to.set(t, e)), e;
9676
9677
  }
9677
9678
  function ro(t, e) {
9678
9679
  const n = [];
9679
9680
  let r = !1, i = !1;
9680
- const a = Kt(t);
9681
+ const a = Zt(t);
9681
9682
  let o = a.dataLocale;
9682
9683
  const s = pn.localeData[o];
9683
9684
  if (!s)
@@ -9686,14 +9687,14 @@ function ro(t, e) {
9686
9687
  for (let E = 0; E < no.length && !r; E++) {
9687
9688
  const v = no[E];
9688
9689
  let T = e[v.valueField];
9689
- const C = a[v.styleSlot], U = a[v.displaySlot], { unit: H, numberFormatUnit: Z } = v, S = /* @__PURE__ */ Object.create(null);
9690
+ const C = a[v.styleSlot], U = a[v.displaySlot], { unit: H, numberFormatUnit: Z } = v, I = /* @__PURE__ */ Object.create(null);
9690
9691
  if (H === "seconds" || H === "milliseconds" || H === "microseconds") {
9691
9692
  let B;
9692
- H === "seconds" ? B = a.milliseconds : H === "milliseconds" ? B = a.microseconds : B = a.nanoseconds, B === "numeric" && (H === "seconds" ? T += e.milliseconds / 1e3 + e.microseconds / 1e6 + e.nanoseconds / 1e9 : H === "milliseconds" ? T += e.microseconds / 1e3 + e.nanoseconds / 1e6 : T += e.nanoseconds / 1e3, a.fractionalDigits === void 0 ? (S.maximumFractionDigits = 9, S.minimumFractionDigits = 0) : (S.maximumFractionDigits = a.fractionalDigits, S.minimumFractionDigits = a.fractionalDigits), S.roundingMode = "trunc", r = !0);
9693
+ H === "seconds" ? B = a.milliseconds : H === "milliseconds" ? B = a.microseconds : B = a.nanoseconds, B === "numeric" && (H === "seconds" ? T += e.milliseconds / 1e3 + e.microseconds / 1e6 + e.nanoseconds / 1e9 : H === "milliseconds" ? T += e.microseconds / 1e3 + e.nanoseconds / 1e6 : T += e.nanoseconds / 1e3, a.fractionalDigits === void 0 ? (I.maximumFractionDigits = 9, I.minimumFractionDigits = 0) : (I.maximumFractionDigits = a.fractionalDigits, I.minimumFractionDigits = a.fractionalDigits), I.roundingMode = "trunc", r = !0);
9693
9694
  }
9694
9695
  if (T !== 0 || U !== "auto") {
9695
- S.numberingSystem = a.numberingSystem, C === "2-digit" && (S.minimumIntegerDigits = 2), C !== "2-digit" && C !== "numeric" && (S.style = "unit", S.unit = Z, S.unitDisplay = C);
9696
- const B = Ul(a.locale, S);
9696
+ I.numberingSystem = a.numberingSystem, C === "2-digit" && (I.minimumIntegerDigits = 2), C !== "2-digit" && C !== "numeric" && (I.style = "unit", I.unit = Z, I.unitDisplay = C);
9697
+ const B = Ul(a.locale, I);
9697
9698
  let x;
9698
9699
  i ? (x = n[n.length - 1], x.push({
9699
9700
  type: "literal",
@@ -9875,7 +9876,7 @@ const lc = [
9875
9876
  "vaii",
9876
9877
  "wara",
9877
9878
  "wcho"
9878
- ], Or = {
9879
+ ], Nr = {
9879
9880
  default: ":",
9880
9881
  localeData: {
9881
9882
  aa: { nu: ["latn"] },
@@ -10846,7 +10847,7 @@ class pn {
10846
10847
  ["nu"],
10847
10848
  l,
10848
10849
  pn.getDefaultLocale
10849
- ), f = d.locale, g = Kt(this);
10850
+ ), f = d.locale, g = Zt(this);
10850
10851
  g.initializedDurationFormat = !0, g.locale = f, g.numberingSystem = d.nu;
10851
10852
  const _ = pt(o, "style", "string", [
10852
10853
  "long",
@@ -10864,7 +10865,7 @@ class pn {
10864
10865
  resolvedOptions() {
10865
10866
  if (typeof this != "object" || !Gl(pn, this))
10866
10867
  throw TypeError("Method Intl.DurationFormat.prototype.resolvedOptions called on incompatible receiver");
10867
- const e = Kt(this), n = {};
10868
+ const e = Zt(this), n = {};
10868
10869
  for (const r of cc) {
10869
10870
  let i = e[r];
10870
10871
  r === "fractionalDigits" ? i !== void 0 && (i = Number(i)) : Rn(i !== void 0, `Missing internal slot ${r}`), n[r] = i;
@@ -10872,7 +10873,7 @@ class pn {
10872
10873
  return n;
10873
10874
  }
10874
10875
  formatToParts(e) {
10875
- if (Kt(this).initializedDurationFormat === void 0)
10876
+ if (Zt(this).initializedDurationFormat === void 0)
10876
10877
  throw new TypeError("Error uninitialized locale");
10877
10878
  const r = io(e), i = ro(this, r), a = [];
10878
10879
  for (const { type: o, unit: s, value: u } of i) {
@@ -10885,7 +10886,7 @@ class pn {
10885
10886
  return a;
10886
10887
  }
10887
10888
  format(e) {
10888
- if (Kt(this).initializedDurationFormat === void 0)
10889
+ if (Zt(this).initializedDurationFormat === void 0)
10889
10890
  throw new TypeError("Error uninitialized locale");
10890
10891
  const r = io(e), i = ro(this, r);
10891
10892
  let a = "";
@@ -10898,12 +10899,12 @@ class pn {
10898
10899
  }
10899
10900
  static __defaultLocale = "en";
10900
10901
  static availableLocales = /* @__PURE__ */ new Set();
10901
- static localeData = Object.keys(Or.localeData).reduce((e, n) => {
10902
+ static localeData = Object.keys(Nr.localeData).reduce((e, n) => {
10902
10903
  pn.availableLocales.add(n);
10903
- const r = Or.localeData[n].nu;
10904
+ const r = Nr.localeData[n].nu;
10904
10905
  return e[n] = {
10905
10906
  nu: r,
10906
- digitalFormat: Or.localeData[n].separator || r.reduce((i, a) => (i[a] = Or.default, i), {})
10907
+ digitalFormat: Nr.localeData[n].separator || r.reduce((i, a) => (i[a] = Nr.default, i), {})
10907
10908
  }, e;
10908
10909
  }, {});
10909
10910
  static getDefaultLocale = () => pn.__defaultLocale;