@opfr/canvas 0.8.0 → 0.8.1

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.
package/dist/index.es.js CHANGED
@@ -111,7 +111,7 @@ const za = (t) => {
111
111
  //! license : MIT
112
112
  //! momentjs.com
113
113
  var He;
114
- function h() {
114
+ function l() {
115
115
  return He.apply(null, arguments);
116
116
  }
117
117
  function Ln(t) {
@@ -203,7 +203,7 @@ function Lt(t) {
203
203
  var e = E(NaN);
204
204
  return t != null ? Q(f(e), t) : f(e).userInvalidated = !0, e;
205
205
  }
206
- var Te = h.momentProperties = [], Zt = !1;
206
+ var Te = l.momentProperties = [], Zt = !1;
207
207
  function oe(t, e) {
208
208
  var n, s, i, r = Te.length;
209
209
  if (O(e._isAMomentObject) || (t._isAMomentObject = e._isAMomentObject), O(e._i) || (t._i = e._i), O(e._f) || (t._f = e._f), O(e._l) || (t._l = e._l), O(e._strict) || (t._strict = e._strict), O(e._tzm) || (t._tzm = e._tzm), O(e._isUTC) || (t._isUTC = e._isUTC), O(e._offset) || (t._offset = e._offset), O(e._pf) || (t._pf = f(e)), O(e._locale) || (t._locale = e._locale), r > 0)
@@ -212,18 +212,18 @@ function oe(t, e) {
212
212
  return t;
213
213
  }
214
214
  function kt(t) {
215
- oe(this, t), this._d = new Date(t._d != null ? t._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), Zt === !1 && (Zt = !0, h.updateOffset(this), Zt = !1);
215
+ oe(this, t), this._d = new Date(t._d != null ? t._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), Zt === !1 && (Zt = !0, l.updateOffset(this), Zt = !1);
216
216
  }
217
217
  function W(t) {
218
218
  return t instanceof kt || t != null && t._isAMomentObject != null;
219
219
  }
220
220
  function Ue(t) {
221
- h.suppressDeprecationWarnings === !1 && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + t);
221
+ l.suppressDeprecationWarnings === !1 && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + t);
222
222
  }
223
223
  function N(t, e) {
224
224
  var n = !0;
225
225
  return Q(function() {
226
- if (h.deprecationHandler != null && h.deprecationHandler(null, t), n) {
226
+ if (l.deprecationHandler != null && l.deprecationHandler(null, t), n) {
227
227
  var s = [], i, r, a, u = arguments.length;
228
228
  for (r = 0; r < u; r++) {
229
229
  if (i = "", typeof arguments[r] == "object") {
@@ -247,10 +247,10 @@ Arguments: ` + Array.prototype.slice.call(s).join("") + `
247
247
  }
248
248
  var be = {};
249
249
  function je(t, e) {
250
- h.deprecationHandler != null && h.deprecationHandler(t, e), be[t] || (Ue(e), be[t] = !0);
250
+ l.deprecationHandler != null && l.deprecationHandler(t, e), be[t] || (Ue(e), be[t] = !0);
251
251
  }
252
- h.suppressDeprecationWarnings = !1;
253
- h.deprecationHandler = null;
252
+ l.suppressDeprecationWarnings = !1;
253
+ l.deprecationHandler = null;
254
254
  function U(t) {
255
255
  return typeof Function < "u" && t instanceof Function || Object.prototype.toString.call(t) === "[object Function]";
256
256
  }
@@ -296,7 +296,7 @@ function H(t, e, n) {
296
296
  var s = "" + Math.abs(t), i = e - s.length, r = t >= 0;
297
297
  return (r ? n ? "+" : "" : "-") + Math.pow(10, Math.max(0, i)).toString().substr(1) + s;
298
298
  }
299
- var he = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, Dt = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, Bt = {}, ot = {};
299
+ var le = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, Dt = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, Bt = {}, ot = {};
300
300
  function d(t, e, n, s) {
301
301
  var i = s;
302
302
  typeof s == "string" && (i = function() {
@@ -314,7 +314,7 @@ function jn(t) {
314
314
  return t.match(/\[[\s\S]/) ? t.replace(/^\[|\]$/g, "") : t.replace(/\\/g, "");
315
315
  }
316
316
  function Gn(t) {
317
- var e = t.match(he), n, s;
317
+ var e = t.match(le), n, s;
318
318
  for (n = 0, s = e.length; n < s; n++)
319
319
  ot[e[n]] ? e[n] = ot[e[n]] : e[n] = jn(e[n]);
320
320
  return function(i) {
@@ -349,7 +349,7 @@ var An = {
349
349
  };
350
350
  function In(t) {
351
351
  var e = this._longDateFormat[t], n = this._longDateFormat[t.toUpperCase()];
352
- return e || !n ? e : (this._longDateFormat[t] = n.match(he).map(function(s) {
352
+ return e || !n ? e : (this._longDateFormat[t] = n.match(le).map(function(s) {
353
353
  return s === "MMMM" || s === "MM" || s === "DD" || s === "dddd" ? s.slice(1) : s;
354
354
  }).join(""), this._longDateFormat[t]);
355
355
  }
@@ -440,7 +440,7 @@ var Ne = {
440
440
  function P(t) {
441
441
  return typeof t == "string" ? Ne[t] || Ne[t.toLowerCase()] : void 0;
442
442
  }
443
- function le(t) {
443
+ function he(t) {
444
444
  var e = {}, n, s;
445
445
  for (s in t)
446
446
  g(t, s) && (n = P(s), n && (e[n] = t[s]));
@@ -472,9 +472,9 @@ function Kn(t) {
472
472
  return s.priority - i.priority;
473
473
  }), e;
474
474
  }
475
- var Ae = /\d/, T = /\d\d/, Ie = /\d{3}/, de = /\d{4}/, Ft = /[+-]?\d{6}/, k = /\d\d?/, Ve = /\d\d\d\d?/, ze = /\d\d\d\d\d\d?/, Ht = /\d{1,3}/, ce = /\d{1,4}/, Et = /[+-]?\d{1,6}/, lt = /\d+/, Ut = /[+-]?\d+/, ts = /Z|[+-]\d\d:?\d\d/gi, jt = /Z|[+-]\d\d(?::?\d\d)?/gi, es = /[+-]?\d+(\.\d{1,3})?/, Mt = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, dt = /^[1-9]\d?/, fe = /^([1-9]\d|\d)/, bt;
475
+ var Ae = /\d/, T = /\d\d/, Ie = /\d{3}/, de = /\d{4}/, Ft = /[+-]?\d{6}/, k = /\d\d?/, Ve = /\d\d\d\d?/, ze = /\d\d\d\d\d\d?/, Ht = /\d{1,3}/, ce = /\d{1,4}/, Et = /[+-]?\d{1,6}/, ht = /\d+/, Ut = /[+-]?\d+/, ts = /Z|[+-]\d\d:?\d\d/gi, jt = /Z|[+-]\d\d(?::?\d\d)?/gi, es = /[+-]?\d+(\.\d{1,3})?/, Mt = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, dt = /^[1-9]\d?/, fe = /^([1-9]\d|\d)/, bt;
476
476
  bt = {};
477
- function l(t, e, n) {
477
+ function h(t, e, n) {
478
478
  bt[t] = U(e) ? e : function(s, i) {
479
479
  return s && n ? n : e;
480
480
  };
@@ -532,17 +532,17 @@ d(0, ["YY", 2], 0, function() {
532
532
  d(0, ["YYYY", 4], 0, "year");
533
533
  d(0, ["YYYYY", 5], 0, "year");
534
534
  d(0, ["YYYYYY", 6, !0], 0, "year");
535
- l("Y", Ut);
536
- l("YY", k, T);
537
- l("YYYY", ce, de);
538
- l("YYYYY", Et, Ft);
539
- l("YYYYYY", Et, Ft);
535
+ h("Y", Ut);
536
+ h("YY", k, T);
537
+ h("YYYY", ce, de);
538
+ h("YYYYY", Et, Ft);
539
+ h("YYYYYY", Et, Ft);
540
540
  w(["YYYYY", "YYYYYY"], Y);
541
541
  w("YYYY", function(t, e) {
542
- e[Y] = t.length === 2 ? h.parseTwoDigitYear(t) : m(t);
542
+ e[Y] = t.length === 2 ? l.parseTwoDigitYear(t) : m(t);
543
543
  });
544
544
  w("YY", function(t, e) {
545
- e[Y] = h.parseTwoDigitYear(t);
545
+ e[Y] = l.parseTwoDigitYear(t);
546
546
  });
547
547
  w("Y", function(t, e) {
548
548
  e[Y] = parseInt(t, 10);
@@ -550,7 +550,7 @@ w("Y", function(t, e) {
550
550
  function _t(t) {
551
551
  return Gt(t) ? 366 : 365;
552
552
  }
553
- h.parseTwoDigitYear = function(t) {
553
+ l.parseTwoDigitYear = function(t) {
554
554
  return m(t) + (m(t) > 68 ? 1900 : 2e3);
555
555
  };
556
556
  var Ze = ct("FullYear", !0);
@@ -559,7 +559,7 @@ function os() {
559
559
  }
560
560
  function ct(t, e) {
561
561
  return function(n) {
562
- return n != null ? (Be(this, t, n), h.updateOffset(this, e), this) : yt(this, t);
562
+ return n != null ? (Be(this, t, n), l.updateOffset(this, e), this) : yt(this, t);
563
563
  };
564
564
  }
565
565
  function yt(t, e) {
@@ -612,9 +612,9 @@ function Be(t, e, n) {
612
612
  function us(t) {
613
613
  return t = P(t), U(this[t]) ? this[t]() : this;
614
614
  }
615
- function hs(t, e) {
615
+ function ls(t, e) {
616
616
  if (typeof t == "object") {
617
- t = le(t);
617
+ t = he(t);
618
618
  var n = Kn(t), s, i = n.length;
619
619
  for (s = 0; s < i; s++)
620
620
  this[n[s].unit](t[n[s].unit]);
@@ -622,7 +622,7 @@ function hs(t, e) {
622
622
  return this[t](e);
623
623
  return this;
624
624
  }
625
- function ls(t, e) {
625
+ function hs(t, e) {
626
626
  return (t % e + e) % e;
627
627
  }
628
628
  var S;
@@ -636,7 +636,7 @@ Array.prototype.indexOf ? S = Array.prototype.indexOf : S = function(t) {
636
636
  function me(t, e) {
637
637
  if (isNaN(t) || isNaN(e))
638
638
  return NaN;
639
- var n = ls(e, 12);
639
+ var n = hs(e, 12);
640
640
  return t += (e - n) / 12, n === 1 ? Gt(t) ? 29 : 28 : 31 - n % 7 % 2;
641
641
  }
642
642
  d("M", ["MM", 2], "Mo", function() {
@@ -648,12 +648,12 @@ d("MMM", 0, 0, function(t) {
648
648
  d("MMMM", 0, 0, function(t) {
649
649
  return this.localeData().months(this, t);
650
650
  });
651
- l("M", k, dt);
652
- l("MM", k, T);
653
- l("MMM", function(t, e) {
651
+ h("M", k, dt);
652
+ h("MM", k, T);
653
+ h("MMM", function(t, e) {
654
654
  return e.monthsShortRegex(t);
655
655
  });
656
- l("MMMM", function(t, e) {
656
+ h("MMMM", function(t, e) {
657
657
  return e.monthsRegex(t);
658
658
  });
659
659
  w(["M", "MM"], function(t, e) {
@@ -709,7 +709,7 @@ function Je(t, e) {
709
709
  return s = s < 29 ? s : Math.min(s, me(t.year(), n)), t._isUTC ? t._d.setUTCMonth(n, s) : t._d.setMonth(n, s), t;
710
710
  }
711
711
  function Qe(t) {
712
- return t != null ? (Je(this, t), h.updateOffset(this, !0), this) : yt(this, "Month");
712
+ return t != null ? (Je(this, t), l.updateOffset(this, !0), this) : yt(this, "Month");
713
713
  }
714
714
  function ps() {
715
715
  return me(this.year(), this.month());
@@ -767,10 +767,10 @@ function Z(t, e, n) {
767
767
  }
768
768
  d("w", ["ww", 2], "wo", "week");
769
769
  d("W", ["WW", 2], "Wo", "isoWeek");
770
- l("w", k, dt);
771
- l("ww", k, T);
772
- l("W", k, dt);
773
- l("WW", k, T);
770
+ h("w", k, dt);
771
+ h("ww", k, T);
772
+ h("W", k, dt);
773
+ h("WW", k, T);
774
774
  St(
775
775
  ["w", "ww", "W", "WW"],
776
776
  function(t, e, n, s) {
@@ -812,16 +812,16 @@ d("dddd", 0, 0, function(t) {
812
812
  });
813
813
  d("e", 0, 0, "weekday");
814
814
  d("E", 0, 0, "isoWeekday");
815
- l("d", k);
816
- l("e", k);
817
- l("E", k);
818
- l("dd", function(t, e) {
815
+ h("d", k);
816
+ h("e", k);
817
+ h("E", k);
818
+ h("dd", function(t, e) {
819
819
  return e.weekdaysMinRegex(t);
820
820
  });
821
- l("ddd", function(t, e) {
821
+ h("ddd", function(t, e) {
822
822
  return e.weekdaysShortRegex(t);
823
823
  });
824
- l("dddd", function(t, e) {
824
+ h("dddd", function(t, e) {
825
825
  return e.weekdaysRegex(t);
826
826
  });
827
827
  St(["dd", "ddd", "dddd"], function(t, e, n, s) {
@@ -964,18 +964,18 @@ en("A", !1);
964
964
  function nn(t, e) {
965
965
  return e._meridiemParse;
966
966
  }
967
- l("a", nn);
968
- l("A", nn);
969
- l("H", k, fe);
970
- l("h", k, dt);
971
- l("k", k, dt);
972
- l("HH", k, T);
973
- l("hh", k, T);
974
- l("kk", k, T);
975
- l("hmm", Ve);
976
- l("hmmss", ze);
977
- l("Hmm", Ve);
978
- l("Hmmss", ze);
967
+ h("a", nn);
968
+ h("A", nn);
969
+ h("H", k, fe);
970
+ h("h", k, dt);
971
+ h("k", k, dt);
972
+ h("HH", k, T);
973
+ h("hh", k, T);
974
+ h("kk", k, T);
975
+ h("hmm", Ve);
976
+ h("hmmss", ze);
977
+ h("Hmm", Ve);
978
+ h("Hmmss", ze);
979
979
  w(["H", "HH"], D);
980
980
  w(["k", "kk"], function(t, e, n) {
981
981
  var s = m(t);
@@ -1193,7 +1193,7 @@ function rn(t) {
1193
1193
  }
1194
1194
  function ui(t, e, n, s, i, r) {
1195
1195
  var a = [
1196
- hi(t),
1196
+ li(t),
1197
1197
  $e.indexOf(e),
1198
1198
  parseInt(n, 10),
1199
1199
  parseInt(s, 10),
@@ -1201,11 +1201,11 @@ function ui(t, e, n, s, i, r) {
1201
1201
  ];
1202
1202
  return r && a.push(parseInt(r, 10)), a;
1203
1203
  }
1204
- function hi(t) {
1204
+ function li(t) {
1205
1205
  var e = parseInt(t, 10);
1206
1206
  return e <= 49 ? 2e3 + e : e <= 999 ? 1900 + e : e;
1207
1207
  }
1208
- function li(t) {
1208
+ function hi(t) {
1209
1209
  return t.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, "");
1210
1210
  }
1211
1211
  function di(t, e, n) {
@@ -1229,7 +1229,7 @@ function ci(t, e, n) {
1229
1229
  return r * 60 + i;
1230
1230
  }
1231
1231
  function an(t) {
1232
- var e = ai.exec(li(t._i)), n;
1232
+ var e = ai.exec(hi(t._i)), n;
1233
1233
  if (e) {
1234
1234
  if (n = ui(
1235
1235
  e[4],
@@ -1258,9 +1258,9 @@ function fi(t) {
1258
1258
  delete t._isValid;
1259
1259
  else
1260
1260
  return;
1261
- t._strict ? t._isValid = !1 : h.createFromInputFallback(t);
1261
+ t._strict ? t._isValid = !1 : l.createFromInputFallback(t);
1262
1262
  }
1263
- h.createFromInputFallback = N(
1263
+ l.createFromInputFallback = N(
1264
1264
  "value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",
1265
1265
  function(t) {
1266
1266
  t._d = /* @__PURE__ */ new Date(t._i + (t._useUTC ? " UTC" : ""));
@@ -1270,7 +1270,7 @@ function rt(t, e, n) {
1270
1270
  return t ?? e ?? n;
1271
1271
  }
1272
1272
  function mi(t) {
1273
- var e = new Date(h.now());
1273
+ var e = new Date(l.now());
1274
1274
  return t._useUTC ? [
1275
1275
  e.getUTCFullYear(),
1276
1276
  e.getUTCMonth(),
@@ -1298,22 +1298,22 @@ function _i(t) {
1298
1298
  pt(v(), 1, 4).year
1299
1299
  ), s = rt(e.W, 1), i = rt(e.E, 1), (i < 1 || i > 7) && (c = !0)) : (r = t._locale._week.dow, a = t._locale._week.doy, _ = pt(v(), r, a), n = rt(e.gg, t._a[Y], _.year), s = rt(e.w, _.week), e.d != null ? (i = e.d, (i < 0 || i > 6) && (c = !0)) : e.e != null ? (i = e.e + r, (e.e < 0 || e.e > 6) && (c = !0)) : i = r), s < 1 || s > Z(n, r, a) ? f(t)._overflowWeeks = !0 : c != null ? f(t)._overflowWeekday = !0 : (u = Ke(n, s, i, r, a), t._a[Y] = u.year, t._dayOfYear = u.dayOfYear);
1300
1300
  }
1301
- h.ISO_8601 = function() {
1301
+ l.ISO_8601 = function() {
1302
1302
  };
1303
- h.RFC_2822 = function() {
1303
+ l.RFC_2822 = function() {
1304
1304
  };
1305
1305
  function ke(t) {
1306
- if (t._f === h.ISO_8601) {
1306
+ if (t._f === l.ISO_8601) {
1307
1307
  rn(t);
1308
1308
  return;
1309
1309
  }
1310
- if (t._f === h.RFC_2822) {
1310
+ if (t._f === l.RFC_2822) {
1311
1311
  an(t);
1312
1312
  return;
1313
1313
  }
1314
1314
  t._a = [], f(t).empty = !0;
1315
1315
  var e = "" + t._i, n, s, i, r, a, u = e.length, c = 0, _, x;
1316
- for (i = Ge(t._f, t._locale).match(he) || [], x = i.length, n = 0; n < x; n++)
1316
+ for (i = Ge(t._f, t._locale).match(le) || [], x = i.length, n = 0; n < x; n++)
1317
1317
  r = i[n], s = (e.match(ns(r, t)) || [])[0], s && (a = e.substr(0, e.indexOf(s)), a.length > 0 && f(t).unusedInput.push(a), e = e.slice(
1318
1318
  e.indexOf(s) + s.length
1319
1319
  ), c += s.length), ot[r] ? (s ? f(t).empty = !1 : f(t).unusedTokens.push(r), is(r, s, t)) : t._strict && !s && f(t).unusedTokens.push(r);
@@ -1339,7 +1339,7 @@ function gi(t) {
1339
1339
  }
1340
1340
  function pi(t) {
1341
1341
  if (!t._d) {
1342
- var e = le(t._i), n = e.day === void 0 ? e.date : e.day;
1342
+ var e = he(t._i), n = e.day === void 0 ? e.date : e.day;
1343
1343
  t._a = Ee(
1344
1344
  [e.year, e.month, n, e.hour, e.minute, e.second, e.millisecond],
1345
1345
  function(s) {
@@ -1358,9 +1358,9 @@ function on(t) {
1358
1358
  }
1359
1359
  function vi(t) {
1360
1360
  var e = t._i;
1361
- O(e) ? t._d = new Date(h.now()) : vt(e) ? t._d = new Date(e.valueOf()) : typeof e == "string" ? fi(t) : R(e) ? (t._a = Ee(e.slice(0), function(n) {
1361
+ O(e) ? t._d = new Date(l.now()) : vt(e) ? t._d = new Date(e.valueOf()) : typeof e == "string" ? fi(t) : R(e) ? (t._a = Ee(e.slice(0), function(n) {
1362
1362
  return parseInt(n, 10);
1363
- }), ve(t)) : nt(e) ? pi(t) : B(e) ? t._d = new Date(e) : h.createFromInputFallback(t);
1363
+ }), ve(t)) : nt(e) ? pi(t) : B(e) ? t._d = new Date(e) : l.createFromInputFallback(t);
1364
1364
  }
1365
1365
  function un(t, e, n, s, i) {
1366
1366
  var r = {};
@@ -1382,7 +1382,7 @@ var ki = N(
1382
1382
  return this.isValid() && t.isValid() ? t > this ? this : t : Lt();
1383
1383
  }
1384
1384
  );
1385
- function hn(t, e) {
1385
+ function ln(t, e) {
1386
1386
  var n, s;
1387
1387
  if (e.length === 1 && R(e[0]) && (e = e[0]), !e.length)
1388
1388
  return v();
@@ -1392,11 +1392,11 @@ function hn(t, e) {
1392
1392
  }
1393
1393
  function Si() {
1394
1394
  var t = [].slice.call(arguments, 0);
1395
- return hn("isBefore", t);
1395
+ return ln("isBefore", t);
1396
1396
  }
1397
1397
  function Di() {
1398
1398
  var t = [].slice.call(arguments, 0);
1399
- return hn("isAfter", t);
1399
+ return ln("isAfter", t);
1400
1400
  }
1401
1401
  var Yi = function() {
1402
1402
  return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
@@ -1431,7 +1431,7 @@ function Ti() {
1431
1431
  return L(NaN);
1432
1432
  }
1433
1433
  function It(t) {
1434
- var e = le(t), n = e.year || 0, s = e.quarter || 0, i = e.month || 0, r = e.week || e.isoWeek || 0, a = e.day || 0, u = e.hour || 0, c = e.minute || 0, _ = e.second || 0, x = e.millisecond || 0;
1434
+ var e = he(t), n = e.year || 0, s = e.quarter || 0, i = e.month || 0, r = e.week || e.isoWeek || 0, a = e.day || 0, u = e.hour || 0, c = e.minute || 0, _ = e.second || 0, x = e.millisecond || 0;
1435
1435
  this._isValid = xi(e), this._milliseconds = +x + _ * 1e3 + // 1000
1436
1436
  c * 6e4 + // 1000 * 60
1437
1437
  u * 1e3 * 60 * 60, this._days = +a + r * 7, this._months = +i + s * 3 + n * 12, this._data = {}, this._locale = $(), this._bubble();
@@ -1448,16 +1448,16 @@ function bi(t, e, n) {
1448
1448
  m(t[a]) !== m(e[a]) && r++;
1449
1449
  return r + i;
1450
1450
  }
1451
- function ln(t, e) {
1451
+ function hn(t, e) {
1452
1452
  d(t, 0, 0, function() {
1453
1453
  var n = this.utcOffset(), s = "+";
1454
1454
  return n < 0 && (n = -n, s = "-"), s + H(~~(n / 60), 2) + e + H(~~n % 60, 2);
1455
1455
  });
1456
1456
  }
1457
- ln("Z", ":");
1458
- ln("ZZ", "");
1459
- l("Z", jt);
1460
- l("ZZ", jt);
1457
+ hn("Z", ":");
1458
+ hn("ZZ", "");
1459
+ h("Z", jt);
1460
+ h("ZZ", jt);
1461
1461
  w(["Z", "ZZ"], function(t, e, n) {
1462
1462
  n._useUTC = !0, n._tzm = Me(jt, t);
1463
1463
  });
@@ -1468,12 +1468,12 @@ function Me(t, e) {
1468
1468
  }
1469
1469
  function Se(t, e) {
1470
1470
  var n, s;
1471
- return e._isUTC ? (n = e.clone(), s = (W(t) || vt(t) ? t.valueOf() : v(t).valueOf()) - n.valueOf(), n._d.setTime(n._d.valueOf() + s), h.updateOffset(n, !1), n) : v(t).local();
1471
+ return e._isUTC ? (n = e.clone(), s = (W(t) || vt(t) ? t.valueOf() : v(t).valueOf()) - n.valueOf(), n._d.setTime(n._d.valueOf() + s), l.updateOffset(n, !1), n) : v(t).local();
1472
1472
  }
1473
1473
  function ne(t) {
1474
1474
  return -Math.round(t._d.getTimezoneOffset());
1475
1475
  }
1476
- h.updateOffset = function() {
1476
+ l.updateOffset = function() {
1477
1477
  };
1478
1478
  function Pi(t, e, n) {
1479
1479
  var s = this._offset || 0, i;
@@ -1489,7 +1489,7 @@ function Pi(t, e, n) {
1489
1489
  L(t - s, "m"),
1490
1490
  1,
1491
1491
  !1
1492
- ) : this._changeInProgress || (this._changeInProgress = !0, h.updateOffset(this, !0), this._changeInProgress = null)), this;
1492
+ ) : this._changeInProgress || (this._changeInProgress = !0, l.updateOffset(this, !0), this._changeInProgress = null)), this;
1493
1493
  } else
1494
1494
  return this._isUTC ? s : ne(this);
1495
1495
  }
@@ -1585,7 +1585,7 @@ function cn(t, e) {
1585
1585
  }
1586
1586
  function fn(t, e, n, s) {
1587
1587
  var i = e._milliseconds, r = ee(e._days), a = ee(e._months);
1588
- t.isValid() && (s = s ?? !0, a && Je(t, yt(t, "Month") + a * n), r && Be(t, "Date", yt(t, "Date") + r * n), i && t._d.setTime(t._d.valueOf() + i * n), s && h.updateOffset(t, r || a));
1588
+ t.isValid() && (s = s ?? !0, a && Je(t, yt(t, "Month") + a * n), r && Be(t, "Date", yt(t, "Date") + r * n), i && t._d.setTime(t._d.valueOf() + i * n), s && l.updateOffset(t, r || a));
1589
1589
  }
1590
1590
  var Vi = cn(1, "add"), zi = cn(-1, "subtract");
1591
1591
  function mn(t) {
@@ -1650,7 +1650,7 @@ function Ji(t, e) {
1650
1650
  }
1651
1651
  function Qi(t, e) {
1652
1652
  arguments.length === 1 && (arguments[0] ? Zi(arguments[0]) ? (t = arguments[0], e = void 0) : qi(arguments[0]) && (e = arguments[0], t = void 0) : (t = void 0, e = void 0));
1653
- var n = t || v(), s = Se(n, this).startOf("day"), i = h.calendarFormat(this, s) || "sameElse", r = e && (U(e[i]) ? e[i].call(this, n) : e[i]);
1653
+ var n = t || v(), s = Se(n, this).startOf("day"), i = l.calendarFormat(this, s) || "sameElse", r = e && (U(e[i]) ? e[i].call(this, n) : e[i]);
1654
1654
  return this.format(
1655
1655
  r || this.localeData().calendar(i, this, v(n))
1656
1656
  );
@@ -1722,8 +1722,8 @@ function Tt(t, e) {
1722
1722
  var n = (e.year() - t.year()) * 12 + (e.month() - t.month()), s = t.clone().add(n, "months"), i, r;
1723
1723
  return e - s < 0 ? (i = t.clone().add(n - 1, "months"), r = (e - s) / (s - i)) : (i = t.clone().add(n + 1, "months"), r = (e - s) / (i - s)), -(n + r) || 0;
1724
1724
  }
1725
- h.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ";
1726
- h.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
1725
+ l.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ";
1726
+ l.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
1727
1727
  function ar() {
1728
1728
  return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
1729
1729
  }
@@ -1745,12 +1745,12 @@ function ur() {
1745
1745
  var t = "moment", e = "", n, s, i, r;
1746
1746
  return this.isLocal() || (t = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", e = "Z"), n = "[" + t + '("]', s = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", i = "-MM-DD[T]HH:mm:ss.SSS", r = e + '[")]', this.format(n + s + i + r);
1747
1747
  }
1748
- function hr(t) {
1749
- t || (t = this.isUtc() ? h.defaultFormatUtc : h.defaultFormat);
1748
+ function lr(t) {
1749
+ t || (t = this.isUtc() ? l.defaultFormatUtc : l.defaultFormat);
1750
1750
  var e = xt(this, t);
1751
1751
  return this.localeData().postformat(e);
1752
1752
  }
1753
- function lr(t, e) {
1753
+ function hr(t, e) {
1754
1754
  return this.isValid() && (W(t) && t.isValid() || v(t).isValid()) ? L({ to: this, from: t }).locale(this.locale()).humanize(!e) : this.localeData().invalidDate();
1755
1755
  }
1756
1756
  function dr(t) {
@@ -1776,7 +1776,7 @@ function gn() {
1776
1776
  return this._locale;
1777
1777
  }
1778
1778
  var Pt = 1e3, ut = 60 * Pt, Ct = 60 * ut, pn = (365 * 400 + 97) * 24 * Ct;
1779
- function ht(t, e) {
1779
+ function lt(t, e) {
1780
1780
  return (t % e + e) % e;
1781
1781
  }
1782
1782
  function wn(t, e, n) {
@@ -1822,19 +1822,19 @@ function mr(t) {
1822
1822
  e = n(this.year(), this.month(), this.date());
1823
1823
  break;
1824
1824
  case "hour":
1825
- e = this._d.valueOf(), e -= ht(
1825
+ e = this._d.valueOf(), e -= lt(
1826
1826
  e + (this._isUTC ? 0 : this.utcOffset() * ut),
1827
1827
  Ct
1828
1828
  );
1829
1829
  break;
1830
1830
  case "minute":
1831
- e = this._d.valueOf(), e -= ht(e, ut);
1831
+ e = this._d.valueOf(), e -= lt(e, ut);
1832
1832
  break;
1833
1833
  case "second":
1834
- e = this._d.valueOf(), e -= ht(e, Pt);
1834
+ e = this._d.valueOf(), e -= lt(e, Pt);
1835
1835
  break;
1836
1836
  }
1837
- return this._d.setTime(e), h.updateOffset(this, !0), this;
1837
+ return this._d.setTime(e), l.updateOffset(this, !0), this;
1838
1838
  }
1839
1839
  function _r(t) {
1840
1840
  var e, n;
@@ -1873,19 +1873,19 @@ function _r(t) {
1873
1873
  e = n(this.year(), this.month(), this.date() + 1) - 1;
1874
1874
  break;
1875
1875
  case "hour":
1876
- e = this._d.valueOf(), e += Ct - ht(
1876
+ e = this._d.valueOf(), e += Ct - lt(
1877
1877
  e + (this._isUTC ? 0 : this.utcOffset() * ut),
1878
1878
  Ct
1879
1879
  ) - 1;
1880
1880
  break;
1881
1881
  case "minute":
1882
- e = this._d.valueOf(), e += ut - ht(e, ut) - 1;
1882
+ e = this._d.valueOf(), e += ut - lt(e, ut) - 1;
1883
1883
  break;
1884
1884
  case "second":
1885
- e = this._d.valueOf(), e += Pt - ht(e, Pt) - 1;
1885
+ e = this._d.valueOf(), e += Pt - lt(e, Pt) - 1;
1886
1886
  break;
1887
1887
  }
1888
- return this._d.setTime(e), h.updateOffset(this, !0), this;
1888
+ return this._d.setTime(e), l.updateOffset(this, !0), this;
1889
1889
  }
1890
1890
  function yr() {
1891
1891
  return this._d.valueOf() - (this._offset || 0) * 6e4;
@@ -1950,11 +1950,11 @@ d("y", ["y", 1], "yo", "eraYear");
1950
1950
  d("y", ["yy", 2], 0, "eraYear");
1951
1951
  d("y", ["yyy", 3], 0, "eraYear");
1952
1952
  d("y", ["yyyy", 4], 0, "eraYear");
1953
- l("N", De);
1954
- l("NN", De);
1955
- l("NNN", De);
1956
- l("NNNN", Fr);
1957
- l("NNNNN", Hr);
1953
+ h("N", De);
1954
+ h("NN", De);
1955
+ h("NNN", De);
1956
+ h("NNNN", Fr);
1957
+ h("NNNNN", Hr);
1958
1958
  w(
1959
1959
  ["N", "NN", "NNN", "NNNN", "NNNNN"],
1960
1960
  function(t, e, n, s) {
@@ -1962,11 +1962,11 @@ w(
1962
1962
  i ? f(n).era = i : f(n).invalidEra = t;
1963
1963
  }
1964
1964
  );
1965
- l("y", lt);
1966
- l("yy", lt);
1967
- l("yyy", lt);
1968
- l("yyyy", lt);
1969
- l("yo", Er);
1965
+ h("y", ht);
1966
+ h("yy", ht);
1967
+ h("yyy", ht);
1968
+ h("yyyy", ht);
1969
+ h("yo", Er);
1970
1970
  w(["y", "yy", "yyy", "yyyy"], Y);
1971
1971
  w(["yo"], function(t, e, n, s) {
1972
1972
  var i;
@@ -1977,7 +1977,7 @@ function xr(t, e) {
1977
1977
  for (n = 0, s = r.length; n < s; ++n) {
1978
1978
  switch (typeof r[n].since) {
1979
1979
  case "string":
1980
- i = h(r[n].since).startOf("day"), r[n].since = i.valueOf();
1980
+ i = l(r[n].since).startOf("day"), r[n].since = i.valueOf();
1981
1981
  break;
1982
1982
  }
1983
1983
  switch (typeof r[n].until) {
@@ -1985,7 +1985,7 @@ function xr(t, e) {
1985
1985
  r[n].until = 1 / 0;
1986
1986
  break;
1987
1987
  case "string":
1988
- i = h(r[n].until).startOf("day").valueOf(), r[n].until = i.valueOf();
1988
+ i = l(r[n].until).startOf("day").valueOf(), r[n].until = i.valueOf();
1989
1989
  break;
1990
1990
  }
1991
1991
  }
@@ -2016,7 +2016,7 @@ function Or(t, e, n) {
2016
2016
  }
2017
2017
  function Tr(t, e) {
2018
2018
  var n = t.since <= t.until ? 1 : -1;
2019
- return e === void 0 ? h(t.since).year() : h(t.since).year() + (e - t.offset) * n;
2019
+ return e === void 0 ? l(t.since).year() : l(t.since).year() + (e - t.offset) * n;
2020
2020
  }
2021
2021
  function br() {
2022
2022
  var t, e, n, s = this.localeData().eras();
@@ -2043,7 +2043,7 @@ function Cr() {
2043
2043
  var t, e, n, s, i = this.localeData().eras();
2044
2044
  for (t = 0, e = i.length; t < e; ++t)
2045
2045
  if (n = i[t].since <= i[t].until ? 1 : -1, s = this.clone().startOf("day").valueOf(), i[t].since <= s && s <= i[t].until || i[t].until <= s && s <= i[t].since)
2046
- return (this.year() - h(i[t].since).year()) * n + i[t].offset;
2046
+ return (this.year() - l(i[t].since).year()) * n + i[t].offset;
2047
2047
  return this.year();
2048
2048
  }
2049
2049
  function Rr(t) {
@@ -2065,7 +2065,7 @@ function Hr(t, e) {
2065
2065
  return e.erasNarrowRegex(t);
2066
2066
  }
2067
2067
  function Er(t, e) {
2068
- return e._eraYearOrdinalRegex || lt;
2068
+ return e._eraYearOrdinalRegex || ht;
2069
2069
  }
2070
2070
  function Ye() {
2071
2071
  var t = [], e = [], n = [], s = [], i, r, a, u, c, _ = this.eras();
@@ -2089,14 +2089,14 @@ Vt("gggg", "weekYear");
2089
2089
  Vt("ggggg", "weekYear");
2090
2090
  Vt("GGGG", "isoWeekYear");
2091
2091
  Vt("GGGGG", "isoWeekYear");
2092
- l("G", Ut);
2093
- l("g", Ut);
2094
- l("GG", k, T);
2095
- l("gg", k, T);
2096
- l("GGGG", ce, de);
2097
- l("gggg", ce, de);
2098
- l("GGGGG", Et, Ft);
2099
- l("ggggg", Et, Ft);
2092
+ h("G", Ut);
2093
+ h("g", Ut);
2094
+ h("GG", k, T);
2095
+ h("gg", k, T);
2096
+ h("GGGG", ce, de);
2097
+ h("gggg", ce, de);
2098
+ h("GGGGG", Et, Ft);
2099
+ h("ggggg", Et, Ft);
2100
2100
  St(
2101
2101
  ["gggg", "ggggg", "GGGG", "GGGGG"],
2102
2102
  function(t, e, n, s) {
@@ -2104,7 +2104,7 @@ St(
2104
2104
  }
2105
2105
  );
2106
2106
  St(["gg", "GG"], function(t, e, n, s) {
2107
- e[s] = h.parseTwoDigitYear(t);
2107
+ e[s] = l.parseTwoDigitYear(t);
2108
2108
  });
2109
2109
  function Ur(t) {
2110
2110
  return kn.call(
@@ -2149,7 +2149,7 @@ function zr(t, e, n, s, i) {
2149
2149
  return this.year(a.getUTCFullYear()), this.month(a.getUTCMonth()), this.date(a.getUTCDate()), this;
2150
2150
  }
2151
2151
  d("Q", 0, "Qo", "quarter");
2152
- l("Q", Ae);
2152
+ h("Q", Ae);
2153
2153
  w("Q", function(t, e) {
2154
2154
  e[I] = (m(t) - 1) * 3;
2155
2155
  });
@@ -2157,9 +2157,9 @@ function Zr(t) {
2157
2157
  return t == null ? Math.ceil((this.month() + 1) / 3) : this.month((t - 1) * 3 + this.month() % 3);
2158
2158
  }
2159
2159
  d("D", ["DD", 2], "Do", "date");
2160
- l("D", k, dt);
2161
- l("DD", k, T);
2162
- l("Do", function(t, e) {
2160
+ h("D", k, dt);
2161
+ h("DD", k, T);
2162
+ h("Do", function(t, e) {
2163
2163
  return t ? e._dayOfMonthOrdinalParse || e._ordinalParse : e._dayOfMonthOrdinalParseLenient;
2164
2164
  });
2165
2165
  w(["D", "DD"], F);
@@ -2168,8 +2168,8 @@ w("Do", function(t, e) {
2168
2168
  });
2169
2169
  var Mn = ct("Date", !0);
2170
2170
  d("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
2171
- l("DDD", Ht);
2172
- l("DDDD", Ie);
2171
+ h("DDD", Ht);
2172
+ h("DDDD", Ie);
2173
2173
  w(["DDD", "DDDD"], function(t, e, n) {
2174
2174
  n._dayOfYear = m(t);
2175
2175
  });
@@ -2180,13 +2180,13 @@ function Br(t) {
2180
2180
  return t == null ? e : this.add(t - e, "d");
2181
2181
  }
2182
2182
  d("m", ["mm", 2], 0, "minute");
2183
- l("m", k, fe);
2184
- l("mm", k, T);
2183
+ h("m", k, fe);
2184
+ h("mm", k, T);
2185
2185
  w(["m", "mm"], C);
2186
2186
  var $r = ct("Minutes", !1);
2187
2187
  d("s", ["ss", 2], 0, "second");
2188
- l("s", k, fe);
2189
- l("ss", k, T);
2188
+ h("s", k, fe);
2189
+ h("ss", k, T);
2190
2190
  w(["s", "ss"], V);
2191
2191
  var qr = ct("Seconds", !1);
2192
2192
  d("S", 0, 0, function() {
@@ -2214,12 +2214,12 @@ d(0, ["SSSSSSSS", 8], 0, function() {
2214
2214
  d(0, ["SSSSSSSSS", 9], 0, function() {
2215
2215
  return this.millisecond() * 1e6;
2216
2216
  });
2217
- l("S", Ht, Ae);
2218
- l("SS", Ht, T);
2219
- l("SSS", Ht, Ie);
2217
+ h("S", Ht, Ae);
2218
+ h("SS", Ht, T);
2219
+ h("SSS", Ht, Ie);
2220
2220
  var X, Sn;
2221
2221
  for (X = "SSSS"; X.length <= 9; X += "S")
2222
- l(X, lt);
2222
+ h(X, ht);
2223
2223
  function Jr(t, e) {
2224
2224
  e[et] = m(("0." + t) * 1e3);
2225
2225
  }
@@ -2240,8 +2240,8 @@ o.calendar = Qi;
2240
2240
  o.clone = Xi;
2241
2241
  o.diff = rr;
2242
2242
  o.endOf = _r;
2243
- o.format = hr;
2244
- o.from = lr;
2243
+ o.format = lr;
2244
+ o.from = hr;
2245
2245
  o.fromNow = dr;
2246
2246
  o.to = cr;
2247
2247
  o.toNow = fr;
@@ -2260,7 +2260,7 @@ o.localeData = gn;
2260
2260
  o.max = Mi;
2261
2261
  o.min = ki;
2262
2262
  o.parsingFlags = Sr;
2263
- o.set = hs;
2263
+ o.set = ls;
2264
2264
  o.startOf = mr;
2265
2265
  o.subtract = zi;
2266
2266
  o.toArray = wr;
@@ -2437,11 +2437,11 @@ K("en", {
2437
2437
  return t + n;
2438
2438
  }
2439
2439
  });
2440
- h.lang = N(
2440
+ l.lang = N(
2441
2441
  "moment.lang is deprecated. Use moment.locale instead.",
2442
2442
  K
2443
2443
  );
2444
- h.langData = N(
2444
+ l.langData = N(
2445
2445
  "moment.langData is deprecated. Use moment.localeData instead.",
2446
2446
  $
2447
2447
  );
@@ -2463,7 +2463,7 @@ function ua(t, e) {
2463
2463
  function Re(t) {
2464
2464
  return t < 0 ? Math.floor(t) : Math.ceil(t);
2465
2465
  }
2466
- function ha() {
2466
+ function la() {
2467
2467
  var t = this._milliseconds, e = this._days, n = this._months, s = this._data, i, r, a, u, c;
2468
2468
  return t >= 0 && e >= 0 && n >= 0 || t <= 0 && e <= 0 && n <= 0 || (t += Re(se(n) + e) * 864e5, e = 0, n = 0), s.milliseconds = t % 1e3, i = b(t / 1e3), s.seconds = i % 60, r = b(i / 60), s.minutes = r % 60, a = b(r / 60), s.hours = a % 24, e += b(a / 24), c = b(On(e)), n += c, e -= Re(se(c)), u = b(n / 12), n %= 12, s.days = e, s.months = n, s.years = u, this;
2469
2469
  }
@@ -2473,7 +2473,7 @@ function On(t) {
2473
2473
  function se(t) {
2474
2474
  return t * 146097 / 4800;
2475
2475
  }
2476
- function la(t) {
2476
+ function ha(t) {
2477
2477
  if (!this.isValid())
2478
2478
  return NaN;
2479
2479
  var e, n, s = this._milliseconds;
@@ -2575,7 +2575,7 @@ y.isValid = Oi;
2575
2575
  y.abs = aa;
2576
2576
  y.add = oa;
2577
2577
  y.subtract = ua;
2578
- y.as = la;
2578
+ y.as = ha;
2579
2579
  y.asMilliseconds = Tn;
2580
2580
  y.asSeconds = da;
2581
2581
  y.asMinutes = ca;
@@ -2586,7 +2586,7 @@ y.asMonths = ya;
2586
2586
  y.asQuarters = ga;
2587
2587
  y.asYears = pa;
2588
2588
  y.valueOf = wa;
2589
- y._bubble = ha;
2589
+ y._bubble = la;
2590
2590
  y.clone = va;
2591
2591
  y.get = ka;
2592
2592
  y.milliseconds = Ma;
@@ -2610,8 +2610,8 @@ y.toIsoString = N(
2610
2610
  y.lang = yn;
2611
2611
  d("X", 0, 0, "unix");
2612
2612
  d("x", 0, 0, "valueOf");
2613
- l("x", Ut);
2614
- l("X", es);
2613
+ h("x", Ut);
2614
+ h("X", es);
2615
2615
  w("X", function(t, e, n) {
2616
2616
  n._d = new Date(parseFloat(t) * 1e3);
2617
2617
  });
@@ -2619,36 +2619,36 @@ w("x", function(t, e, n) {
2619
2619
  n._d = new Date(m(t));
2620
2620
  });
2621
2621
  //! moment.js
2622
- h.version = "2.30.1";
2622
+ l.version = "2.30.1";
2623
2623
  Ln(v);
2624
- h.fn = o;
2625
- h.min = Si;
2626
- h.max = Di;
2627
- h.now = Yi;
2628
- h.utc = E;
2629
- h.unix = Kr;
2630
- h.months = ea;
2631
- h.isDate = vt;
2632
- h.locale = K;
2633
- h.invalid = Lt;
2634
- h.duration = L;
2635
- h.isMoment = W;
2636
- h.weekdays = sa;
2637
- h.parseZone = ta;
2638
- h.localeData = $;
2639
- h.isDuration = Ot;
2640
- h.monthsShort = na;
2641
- h.weekdaysMin = ra;
2642
- h.defineLocale = pe;
2643
- h.updateLocale = ti;
2644
- h.locales = ei;
2645
- h.weekdaysShort = ia;
2646
- h.normalizeUnits = P;
2647
- h.relativeTimeRounding = Ca;
2648
- h.relativeTimeThreshold = Ra;
2649
- h.calendarFormat = Ji;
2650
- h.prototype = o;
2651
- h.HTML5_FMT = {
2624
+ l.fn = o;
2625
+ l.min = Si;
2626
+ l.max = Di;
2627
+ l.now = Yi;
2628
+ l.utc = E;
2629
+ l.unix = Kr;
2630
+ l.months = ea;
2631
+ l.isDate = vt;
2632
+ l.locale = K;
2633
+ l.invalid = Lt;
2634
+ l.duration = L;
2635
+ l.isMoment = W;
2636
+ l.weekdays = sa;
2637
+ l.parseZone = ta;
2638
+ l.localeData = $;
2639
+ l.isDuration = Ot;
2640
+ l.monthsShort = na;
2641
+ l.weekdaysMin = ra;
2642
+ l.defineLocale = pe;
2643
+ l.updateLocale = ti;
2644
+ l.locales = ei;
2645
+ l.weekdaysShort = ia;
2646
+ l.normalizeUnits = P;
2647
+ l.relativeTimeRounding = Ca;
2648
+ l.relativeTimeThreshold = Ra;
2649
+ l.calendarFormat = Ji;
2650
+ l.prototype = o;
2651
+ l.HTML5_FMT = {
2652
2652
  DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
2653
2653
  // <input type="datetime-local" />
2654
2654
  DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
@@ -2752,7 +2752,7 @@ const La = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octob
2752
2752
  doy: 4
2753
2753
  }
2754
2754
  };
2755
- h.locale("fr", Ha);
2755
+ l.locale("fr", Ha);
2756
2756
  const Ea = (t) => ({
2757
2757
  x: Oe(t) ? t : t.x || 0,
2758
2758
  y: Oe(t) ? t : t.y || 0
package/dist/index.umd.js CHANGED
@@ -3,8 +3,8 @@
3
3
  //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
4
4
  //! license : MIT
5
5
  //! momentjs.com
6
- var Pe;function h(){return Pe.apply(null,arguments)}function Hn(t){Pe=t}function R(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function nt(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function g(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function qt(t){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(t).length===0;var e;for(e in t)if(g(t,e))return!1;return!0}function O(t){return t===void 0}function G(t){return typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]"}function yt(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function Ce(t,e){var n=[],s,i=t.length;for(s=0;s<i;++s)n.push(e(t[s],s));return n}function X(t,e){for(var n in e)g(e,n)&&(t[n]=e[n]);return g(e,"toString")&&(t.toString=e.toString),g(e,"valueOf")&&(t.valueOf=e.valueOf),t}function F(t,e,n,s){return an(t,e,n,s,!0).utc()}function Un(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function f(t){return t._pf==null&&(t._pf=Un()),t._pf}var Jt;Array.prototype.some?Jt=Array.prototype.some:Jt=function(t){var e=Object(this),n=e.length>>>0,s;for(s=0;s<n;s++)if(s in e&&t.call(this,e[s],s,e))return!0;return!1};function Qt(t){var e=null,n=!1,s=t._d&&!isNaN(t._d.getTime());if(s&&(e=f(t),n=Jt.call(e.parsedDateParts,function(i){return i!=null}),s=e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n),t._strict&&(s=s&&e.charsLeftOver===0&&e.unusedTokens.length===0&&e.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(t))t._isValid=s;else return s;return t._isValid}function Ot(t){var e=F(NaN);return t!=null?X(f(e),t):f(e).userInvalidated=!0,e}var Re=h.momentProperties=[],Xt=!1;function Kt(t,e){var n,s,i,r=Re.length;if(O(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),O(e._i)||(t._i=e._i),O(e._f)||(t._f=e._f),O(e._l)||(t._l=e._l),O(e._strict)||(t._strict=e._strict),O(e._tzm)||(t._tzm=e._tzm),O(e._isUTC)||(t._isUTC=e._isUTC),O(e._offset)||(t._offset=e._offset),O(e._pf)||(t._pf=f(e)),O(e._locale)||(t._locale=e._locale),r>0)for(n=0;n<r;n++)s=Re[n],i=e[s],O(i)||(t[s]=i);return t}function gt(t){Kt(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Xt===!1&&(Xt=!0,h.updateOffset(this),Xt=!1)}function W(t){return t instanceof gt||t!=null&&t._isAMomentObject!=null}function We(t){h.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+t)}function N(t,e){var n=!0;return X(function(){if(h.deprecationHandler!=null&&h.deprecationHandler(null,t),n){var s=[],i,r,a,u=arguments.length;for(r=0;r<u;r++){if(i="",typeof arguments[r]=="object"){i+=`
6
+ var Pe;function l(){return Pe.apply(null,arguments)}function Hn(t){Pe=t}function R(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function nt(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function g(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function qt(t){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(t).length===0;var e;for(e in t)if(g(t,e))return!1;return!0}function O(t){return t===void 0}function G(t){return typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]"}function yt(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function Ce(t,e){var n=[],s,i=t.length;for(s=0;s<i;++s)n.push(e(t[s],s));return n}function X(t,e){for(var n in e)g(e,n)&&(t[n]=e[n]);return g(e,"toString")&&(t.toString=e.toString),g(e,"valueOf")&&(t.valueOf=e.valueOf),t}function F(t,e,n,s){return an(t,e,n,s,!0).utc()}function Un(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function f(t){return t._pf==null&&(t._pf=Un()),t._pf}var Jt;Array.prototype.some?Jt=Array.prototype.some:Jt=function(t){var e=Object(this),n=e.length>>>0,s;for(s=0;s<n;s++)if(s in e&&t.call(this,e[s],s,e))return!0;return!1};function Qt(t){var e=null,n=!1,s=t._d&&!isNaN(t._d.getTime());if(s&&(e=f(t),n=Jt.call(e.parsedDateParts,function(i){return i!=null}),s=e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n),t._strict&&(s=s&&e.charsLeftOver===0&&e.unusedTokens.length===0&&e.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(t))t._isValid=s;else return s;return t._isValid}function Ot(t){var e=F(NaN);return t!=null?X(f(e),t):f(e).userInvalidated=!0,e}var Re=l.momentProperties=[],Xt=!1;function Kt(t,e){var n,s,i,r=Re.length;if(O(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),O(e._i)||(t._i=e._i),O(e._f)||(t._f=e._f),O(e._l)||(t._l=e._l),O(e._strict)||(t._strict=e._strict),O(e._tzm)||(t._tzm=e._tzm),O(e._isUTC)||(t._isUTC=e._isUTC),O(e._offset)||(t._offset=e._offset),O(e._pf)||(t._pf=f(e)),O(e._locale)||(t._locale=e._locale),r>0)for(n=0;n<r;n++)s=Re[n],i=e[s],O(i)||(t[s]=i);return t}function gt(t){Kt(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Xt===!1&&(Xt=!0,l.updateOffset(this),Xt=!1)}function W(t){return t instanceof gt||t!=null&&t._isAMomentObject!=null}function We(t){l.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+t)}function N(t,e){var n=!0;return X(function(){if(l.deprecationHandler!=null&&l.deprecationHandler(null,t),n){var s=[],i,r,a,u=arguments.length;for(r=0;r<u;r++){if(i="",typeof arguments[r]=="object"){i+=`
7
7
  [`+r+"] ";for(a in arguments[0])g(arguments[0],a)&&(i+=a+": "+arguments[0][a]+", ");i=i.slice(0,-2)}else i=arguments[r];s.push(i)}We(t+`
8
8
  Arguments: `+Array.prototype.slice.call(s).join("")+`
9
- `+new Error().stack),n=!1}return e.apply(this,arguments)},e)}var Le={};function Ee(t,e){h.deprecationHandler!=null&&h.deprecationHandler(t,e),Le[t]||(We(e),Le[t]=!0)}h.suppressDeprecationWarnings=!1,h.deprecationHandler=null;function H(t){return typeof Function<"u"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function jn(t){var e,n;for(n in t)g(t,n)&&(e=t[n],H(e)?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function te(t,e){var n=X({},t),s;for(s in e)g(e,s)&&(nt(t[s])&&nt(e[s])?(n[s]={},X(n[s],t[s]),X(n[s],e[s])):e[s]!=null?n[s]=e[s]:delete n[s]);for(s in t)g(t,s)&&!g(e,s)&&nt(t[s])&&(n[s]=X({},n[s]));return n}function ee(t){t!=null&&this.set(t)}var ne;Object.keys?ne=Object.keys:ne=function(t){var e,n=[];for(e in t)g(t,e)&&n.push(e);return n};var Gn={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function An(t,e,n){var s=this._calendar[t]||this._calendar.sameElse;return H(s)?s.call(e,n):s}function U(t,e,n){var s=""+Math.abs(t),i=e-s.length,r=t>=0;return(r?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+s}var se=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Tt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ie={},at={};function d(t,e,n,s){var i=s;typeof s=="string"&&(i=function(){return this[s]()}),t&&(at[t]=i),e&&(at[e[0]]=function(){return U(i.apply(this,arguments),e[1],e[2])}),n&&(at[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function In(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function Vn(t){var e=t.match(se),n,s;for(n=0,s=e.length;n<s;n++)at[e[n]]?e[n]=at[e[n]]:e[n]=In(e[n]);return function(i){var r="",a;for(a=0;a<s;a++)r+=H(e[a])?e[a].call(i,t):e[a];return r}}function bt(t,e){return t.isValid()?(e=Fe(e,t.localeData()),ie[e]=ie[e]||Vn(e),ie[e](t)):t.localeData().invalidDate()}function Fe(t,e){var n=5;function s(i){return e.longDateFormat(i)||i}for(Tt.lastIndex=0;n>=0&&Tt.test(t);)t=t.replace(Tt,s),Tt.lastIndex=0,n-=1;return t}var zn={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Zn(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(se).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[t])}var Bn="Invalid date";function $n(){return this._invalidDate}var qn="%d",Jn=/\d{1,2}/;function Qn(t){return this._ordinal.replace("%d",t)}var Xn={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Kn(t,e,n,s){var i=this._relativeTime[n];return H(i)?i(t,e,n,s):i.replace(/%d/i,t)}function ts(t,e){var n=this._relativeTime[t>0?"future":"past"];return H(n)?n(e):n.replace(/%s/i,e)}var He={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function P(t){return typeof t=="string"?He[t]||He[t.toLowerCase()]:void 0}function re(t){var e={},n,s;for(s in t)g(t,s)&&(n=P(s),n&&(e[n]=t[s]));return e}var es={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function ns(t){var e=[],n;for(n in t)g(t,n)&&e.push({unit:n,priority:es[n]});return e.sort(function(s,i){return s.priority-i.priority}),e}var Ue=/\d/,T=/\d\d/,je=/\d{3}/,ae=/\d{4}/,Nt=/[+-]?\d{6}/,v=/\d\d?/,Ge=/\d\d\d\d?/,Ae=/\d\d\d\d\d\d?/,Pt=/\d{1,3}/,oe=/\d{1,4}/,Ct=/[+-]?\d{1,6}/,ot=/\d+/,Rt=/[+-]?\d+/,ss=/Z|[+-]\d\d:?\d\d/gi,Wt=/Z|[+-]\d\d(?::?\d\d)?/gi,is=/[+-]?\d+(\.\d{1,3})?/,pt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ut=/^[1-9]\d?/,ue=/^([1-9]\d|\d)/,Lt;Lt={};function l(t,e,n){Lt[t]=H(e)?e:function(s,i){return s&&n?n:e}}function rs(t,e){return g(Lt,t)?Lt[t](e._strict,e._locale):new RegExp(as(t))}function as(t){return A(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,n,s,i,r){return n||s||i||r}))}function A(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function C(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function m(t){var e=+t,n=0;return e!==0&&isFinite(e)&&(n=C(e)),n}var he={};function w(t,e){var n,s=e,i;for(typeof t=="string"&&(t=[t]),G(e)&&(s=function(r,a){a[e]=m(r)}),i=t.length,n=0;n<i;n++)he[t[n]]=s}function wt(t,e){w(t,function(n,s,i,r){i._w=i._w||{},e(n,i._w,i,r)})}function os(t,e,n){e!=null&&g(he,t)&&he[t](e,n._a,n,t)}function Et(t){return t%4===0&&t%100!==0||t%400===0}var Y=0,I=1,j=2,D=3,L=4,V=5,st=6,us=7,hs=8;d("Y",0,0,function(){var t=this.year();return t<=9999?U(t,4):"+"+t}),d(0,["YY",2],0,function(){return this.year()%100}),d(0,["YYYY",4],0,"year"),d(0,["YYYYY",5],0,"year"),d(0,["YYYYYY",6,!0],0,"year"),l("Y",Rt),l("YY",v,T),l("YYYY",oe,ae),l("YYYYY",Ct,Nt),l("YYYYYY",Ct,Nt),w(["YYYYY","YYYYYY"],Y),w("YYYY",function(t,e){e[Y]=t.length===2?h.parseTwoDigitYear(t):m(t)}),w("YY",function(t,e){e[Y]=h.parseTwoDigitYear(t)}),w("Y",function(t,e){e[Y]=parseInt(t,10)});function vt(t){return Et(t)?366:365}h.parseTwoDigitYear=function(t){return m(t)+(m(t)>68?1900:2e3)};var Ie=ht("FullYear",!0);function ls(){return Et(this.year())}function ht(t,e){return function(n){return n!=null?(Ve(this,t,n),h.updateOffset(this,e),this):kt(this,t)}}function kt(t,e){if(!t.isValid())return NaN;var n=t._d,s=t._isUTC;switch(e){case"Milliseconds":return s?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return s?n.getUTCSeconds():n.getSeconds();case"Minutes":return s?n.getUTCMinutes():n.getMinutes();case"Hours":return s?n.getUTCHours():n.getHours();case"Date":return s?n.getUTCDate():n.getDate();case"Day":return s?n.getUTCDay():n.getDay();case"Month":return s?n.getUTCMonth():n.getMonth();case"FullYear":return s?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Ve(t,e,n){var s,i,r,a,u;if(!(!t.isValid()||isNaN(n))){switch(s=t._d,i=t._isUTC,e){case"Milliseconds":return void(i?s.setUTCMilliseconds(n):s.setMilliseconds(n));case"Seconds":return void(i?s.setUTCSeconds(n):s.setSeconds(n));case"Minutes":return void(i?s.setUTCMinutes(n):s.setMinutes(n));case"Hours":return void(i?s.setUTCHours(n):s.setHours(n));case"Date":return void(i?s.setUTCDate(n):s.setDate(n));case"FullYear":break;default:return}r=n,a=t.month(),u=t.date(),u=u===29&&a===1&&!Et(r)?28:u,i?s.setUTCFullYear(r,a,u):s.setFullYear(r,a,u)}}function ds(t){return t=P(t),H(this[t])?this[t]():this}function cs(t,e){if(typeof t=="object"){t=re(t);var n=ns(t),s,i=n.length;for(s=0;s<i;s++)this[n[s].unit](t[n[s].unit])}else if(t=P(t),H(this[t]))return this[t](e);return this}function fs(t,e){return(t%e+e)%e}var S;Array.prototype.indexOf?S=Array.prototype.indexOf:S=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function le(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=fs(e,12);return t+=(e-n)/12,n===1?Et(t)?29:28:31-n%7%2}d("M",["MM",2],"Mo",function(){return this.month()+1}),d("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),d("MMMM",0,0,function(t){return this.localeData().months(this,t)}),l("M",v,ut),l("MM",v,T),l("MMM",function(t,e){return e.monthsShortRegex(t)}),l("MMMM",function(t,e){return e.monthsRegex(t)}),w(["M","MM"],function(t,e){e[I]=m(t)-1}),w(["MMM","MMMM"],function(t,e,n,s){var i=n._locale.monthsParse(t,s,n._strict);i!=null?e[I]=i:f(n).invalidMonth=t});var ms="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ze="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ze=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,_s=pt,ys=pt;function gs(t,e){return t?R(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Ze).test(e)?"format":"standalone"][t.month()]:R(this._months)?this._months:this._months.standalone}function ps(t,e){return t?R(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Ze.test(e)?"format":"standalone"][t.month()]:R(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ws(t,e,n){var s,i,r,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=F([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();return n?e==="MMM"?(i=S.call(this._shortMonthsParse,a),i!==-1?i:null):(i=S.call(this._longMonthsParse,a),i!==-1?i:null):e==="MMM"?(i=S.call(this._shortMonthsParse,a),i!==-1?i:(i=S.call(this._longMonthsParse,a),i!==-1?i:null)):(i=S.call(this._longMonthsParse,a),i!==-1?i:(i=S.call(this._shortMonthsParse,a),i!==-1?i:null))}function vs(t,e,n){var s,i,r;if(this._monthsParseExact)return ws.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++)if(i=F([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),!n&&!this._monthsParse[s]&&(r="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[s]=new RegExp(r.replace(".",""),"i")),n&&e==="MMMM"&&this._longMonthsParse[s].test(t)||n&&e==="MMM"&&this._shortMonthsParse[s].test(t)||!n&&this._monthsParse[s].test(t))return s}function Be(t,e){if(!t.isValid())return t;if(typeof e=="string"){if(/^\d+$/.test(e))e=m(e);else if(e=t.localeData().monthsParse(e),!G(e))return t}var n=e,s=t.date();return s=s<29?s:Math.min(s,le(t.year(),n)),t._isUTC?t._d.setUTCMonth(n,s):t._d.setMonth(n,s),t}function $e(t){return t!=null?(Be(this,t),h.updateOffset(this,!0),this):kt(this,"Month")}function ks(){return le(this.year(),this.month())}function Ms(t){return this._monthsParseExact?(g(this,"_monthsRegex")||qe.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=_s),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function Ss(t){return this._monthsParseExact?(g(this,"_monthsRegex")||qe.call(this),t?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=ys),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function qe(){function t(c,_){return _.length-c.length}var e=[],n=[],s=[],i,r,a,u;for(i=0;i<12;i++)r=F([2e3,i]),a=A(this.monthsShort(r,"")),u=A(this.months(r,"")),e.push(a),n.push(u),s.push(u),s.push(a);e.sort(t),n.sort(t),s.sort(t),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}function Ds(t,e,n,s,i,r,a){var u;return t<100&&t>=0?(u=new Date(t+400,e,n,s,i,r,a),isFinite(u.getFullYear())&&u.setFullYear(t)):u=new Date(t,e,n,s,i,r,a),u}function Mt(t){var e,n;return t<100&&t>=0?(n=Array.prototype.slice.call(arguments),n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Ft(t,e,n){var s=7+e-n,i=(7+Mt(t,0,s).getUTCDay()-e)%7;return-i+s-1}function Je(t,e,n,s,i){var r=(7+n-s)%7,a=Ft(t,s,i),u=1+7*(e-1)+r+a,c,_;return u<=0?(c=t-1,_=vt(c)+u):u>vt(t)?(c=t+1,_=u-vt(t)):(c=t,_=u),{year:c,dayOfYear:_}}function St(t,e,n){var s=Ft(t.year(),e,n),i=Math.floor((t.dayOfYear()-s-1)/7)+1,r,a;return i<1?(a=t.year()-1,r=i+z(a,e,n)):i>z(t.year(),e,n)?(r=i-z(t.year(),e,n),a=t.year()+1):(a=t.year(),r=i),{week:r,year:a}}function z(t,e,n){var s=Ft(t,e,n),i=Ft(t+1,e,n);return(vt(t)-s+i)/7}d("w",["ww",2],"wo","week"),d("W",["WW",2],"Wo","isoWeek"),l("w",v,ut),l("ww",v,T),l("W",v,ut),l("WW",v,T),wt(["w","ww","W","WW"],function(t,e,n,s){e[s.substr(0,1)]=m(t)});function Ys(t){return St(t,this._week.dow,this._week.doy).week}var xs={dow:0,doy:6};function Os(){return this._week.dow}function Ts(){return this._week.doy}function bs(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function Ns(t){var e=St(this,1,4).week;return t==null?e:this.add((t-e)*7,"d")}d("d",0,"do","day"),d("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),d("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),d("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),d("e",0,0,"weekday"),d("E",0,0,"isoWeekday"),l("d",v),l("e",v),l("E",v),l("dd",function(t,e){return e.weekdaysMinRegex(t)}),l("ddd",function(t,e){return e.weekdaysShortRegex(t)}),l("dddd",function(t,e){return e.weekdaysRegex(t)}),wt(["dd","ddd","dddd"],function(t,e,n,s){var i=n._locale.weekdaysParse(t,s,n._strict);i!=null?e.d=i:f(n).invalidWeekday=t}),wt(["d","e","E"],function(t,e,n,s){e[s]=m(t)});function Ps(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function Cs(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function de(t,e){return t.slice(e,7).concat(t.slice(0,e))}var Rs="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ws="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ls=pt,Es=pt,Fs=pt;function Hs(t,e){var n=R(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?de(n,this._week.dow):t?n[t.day()]:n}function Us(t){return t===!0?de(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function js(t){return t===!0?de(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Gs(t,e,n){var s,i,r,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=F([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return n?e==="dddd"?(i=S.call(this._weekdaysParse,a),i!==-1?i:null):e==="ddd"?(i=S.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=S.call(this._minWeekdaysParse,a),i!==-1?i:null):e==="dddd"?(i=S.call(this._weekdaysParse,a),i!==-1||(i=S.call(this._shortWeekdaysParse,a),i!==-1)?i:(i=S.call(this._minWeekdaysParse,a),i!==-1?i:null)):e==="ddd"?(i=S.call(this._shortWeekdaysParse,a),i!==-1||(i=S.call(this._weekdaysParse,a),i!==-1)?i:(i=S.call(this._minWeekdaysParse,a),i!==-1?i:null)):(i=S.call(this._minWeekdaysParse,a),i!==-1||(i=S.call(this._weekdaysParse,a),i!==-1)?i:(i=S.call(this._shortWeekdaysParse,a),i!==-1?i:null))}function As(t,e,n){var s,i,r;if(this._weekdaysParseExact)return Gs.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++)if(i=F([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(r="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=new RegExp(r.replace(".",""),"i")),n&&e==="dddd"&&this._fullWeekdaysParse[s].test(t)||n&&e==="ddd"&&this._shortWeekdaysParse[s].test(t)||n&&e==="dd"&&this._minWeekdaysParse[s].test(t)||!n&&this._weekdaysParse[s].test(t))return s}function Is(t){if(!this.isValid())return t!=null?this:NaN;var e=kt(this,"Day");return t!=null?(t=Ps(t,this.localeData()),this.add(t-e,"d")):e}function Vs(t){if(!this.isValid())return t!=null?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return t==null?e:this.add(t-e,"d")}function zs(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=Cs(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function Zs(t){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ce.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=Ls),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Bs(t){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ce.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Es),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function $s(t){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ce.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Fs),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ce(){function t(x,J){return J.length-x.length}var e=[],n=[],s=[],i=[],r,a,u,c,_;for(r=0;r<7;r++)a=F([2e3,1]).day(r),u=A(this.weekdaysMin(a,"")),c=A(this.weekdaysShort(a,"")),_=A(this.weekdays(a,"")),e.push(u),n.push(c),s.push(_),i.push(u),i.push(c),i.push(_);e.sort(t),n.sort(t),s.sort(t),i.sort(t),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function fe(){return this.hours()%12||12}function qs(){return this.hours()||24}d("H",["HH",2],0,"hour"),d("h",["hh",2],0,fe),d("k",["kk",2],0,qs),d("hmm",0,0,function(){return""+fe.apply(this)+U(this.minutes(),2)}),d("hmmss",0,0,function(){return""+fe.apply(this)+U(this.minutes(),2)+U(this.seconds(),2)}),d("Hmm",0,0,function(){return""+this.hours()+U(this.minutes(),2)}),d("Hmmss",0,0,function(){return""+this.hours()+U(this.minutes(),2)+U(this.seconds(),2)});function Xe(t,e){d(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}Xe("a",!0),Xe("A",!1);function Ke(t,e){return e._meridiemParse}l("a",Ke),l("A",Ke),l("H",v,ue),l("h",v,ut),l("k",v,ut),l("HH",v,T),l("hh",v,T),l("kk",v,T),l("hmm",Ge),l("hmmss",Ae),l("Hmm",Ge),l("Hmmss",Ae),w(["H","HH"],D),w(["k","kk"],function(t,e,n){var s=m(t);e[D]=s===24?0:s}),w(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),w(["h","hh"],function(t,e,n){e[D]=m(t),f(n).bigHour=!0}),w("hmm",function(t,e,n){var s=t.length-2;e[D]=m(t.substr(0,s)),e[L]=m(t.substr(s)),f(n).bigHour=!0}),w("hmmss",function(t,e,n){var s=t.length-4,i=t.length-2;e[D]=m(t.substr(0,s)),e[L]=m(t.substr(s,2)),e[V]=m(t.substr(i)),f(n).bigHour=!0}),w("Hmm",function(t,e,n){var s=t.length-2;e[D]=m(t.substr(0,s)),e[L]=m(t.substr(s))}),w("Hmmss",function(t,e,n){var s=t.length-4,i=t.length-2;e[D]=m(t.substr(0,s)),e[L]=m(t.substr(s,2)),e[V]=m(t.substr(i))});function Js(t){return(t+"").toLowerCase().charAt(0)==="p"}var Qs=/[ap]\.?m?\.?/i,Xs=ht("Hours",!0);function Ks(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var tn={calendar:Gn,longDateFormat:zn,invalidDate:Bn,ordinal:qn,dayOfMonthOrdinalParse:Jn,relativeTime:Xn,months:ms,monthsShort:ze,week:xs,weekdays:Rs,weekdaysMin:Ws,weekdaysShort:Qe,meridiemParse:Qs},M={},Dt={},Yt;function ti(t,e){var n,s=Math.min(t.length,e.length);for(n=0;n<s;n+=1)if(t[n]!==e[n])return n;return s}function en(t){return t&&t.toLowerCase().replace("_","-")}function ei(t){for(var e=0,n,s,i,r;e<t.length;){for(r=en(t[e]).split("-"),n=r.length,s=en(t[e+1]),s=s?s.split("-"):null;n>0;){if(i=Ht(r.slice(0,n).join("-")),i)return i;if(s&&s.length>=n&&ti(r,s)>=n-1)break;n--}e++}return Yt}function ni(t){return!!(t&&t.match("^[^/\\\\]*$"))}function Ht(t){var e=null,n;if(M[t]===void 0&&typeof module<"u"&&module&&module.exports&&ni(t))try{e=Yt._abbr,n=require,n("./locale/"+t),K(e)}catch{M[t]=null}return M[t]}function K(t,e){var n;return t&&(O(e)?n=Z(t):n=me(t,e),n?Yt=n:typeof console<"u"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Yt._abbr}function me(t,e){if(e!==null){var n,s=tn;if(e.abbr=t,M[t]!=null)Ee("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=M[t]._config;else if(e.parentLocale!=null)if(M[e.parentLocale]!=null)s=M[e.parentLocale]._config;else if(n=Ht(e.parentLocale),n!=null)s=n._config;else return Dt[e.parentLocale]||(Dt[e.parentLocale]=[]),Dt[e.parentLocale].push({name:t,config:e}),null;return M[t]=new ee(te(s,e)),Dt[t]&&Dt[t].forEach(function(i){me(i.name,i.config)}),K(t),M[t]}else return delete M[t],null}function si(t,e){if(e!=null){var n,s,i=tn;M[t]!=null&&M[t].parentLocale!=null?M[t].set(te(M[t]._config,e)):(s=Ht(t),s!=null&&(i=s._config),e=te(i,e),s==null&&(e.abbr=t),n=new ee(e),n.parentLocale=M[t],M[t]=n),K(t)}else M[t]!=null&&(M[t].parentLocale!=null?(M[t]=M[t].parentLocale,t===K()&&K(t)):M[t]!=null&&delete M[t]);return M[t]}function Z(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Yt;if(!R(t)){if(e=Ht(t),e)return e;t=[t]}return ei(t)}function ii(){return ne(M)}function _e(t){var e,n=t._a;return n&&f(t).overflow===-2&&(e=n[I]<0||n[I]>11?I:n[j]<1||n[j]>le(n[Y],n[I])?j:n[D]<0||n[D]>24||n[D]===24&&(n[L]!==0||n[V]!==0||n[st]!==0)?D:n[L]<0||n[L]>59?L:n[V]<0||n[V]>59?V:n[st]<0||n[st]>999?st:-1,f(t)._overflowDayOfYear&&(e<Y||e>j)&&(e=j),f(t)._overflowWeeks&&e===-1&&(e=us),f(t)._overflowWeekday&&e===-1&&(e=hs),f(t).overflow=e),t}var ri=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ai=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,oi=/Z|[+-]\d\d(?::?\d\d)?/,Ut=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ye=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ui=/^\/?Date\((-?\d+)/i,hi=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,li={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function nn(t){var e,n,s=t._i,i=ri.exec(s)||ai.exec(s),r,a,u,c,_=Ut.length,x=ye.length;if(i){for(f(t).iso=!0,e=0,n=_;e<n;e++)if(Ut[e][1].exec(i[1])){a=Ut[e][0],r=Ut[e][2]!==!1;break}if(a==null){t._isValid=!1;return}if(i[3]){for(e=0,n=x;e<n;e++)if(ye[e][1].exec(i[3])){u=(i[2]||" ")+ye[e][0];break}if(u==null){t._isValid=!1;return}}if(!r&&u!=null){t._isValid=!1;return}if(i[4])if(oi.exec(i[4]))c="Z";else{t._isValid=!1;return}t._f=a+(u||"")+(c||""),pe(t)}else t._isValid=!1}function di(t,e,n,s,i,r){var a=[ci(t),ze.indexOf(e),parseInt(n,10),parseInt(s,10),parseInt(i,10)];return r&&a.push(parseInt(r,10)),a}function ci(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function fi(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function mi(t,e,n){if(t){var s=Qe.indexOf(t),i=new Date(e[0],e[1],e[2]).getDay();if(s!==i)return f(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function _i(t,e,n){if(t)return li[t];if(e)return 0;var s=parseInt(n,10),i=s%100,r=(s-i)/100;return r*60+i}function sn(t){var e=hi.exec(fi(t._i)),n;if(e){if(n=di(e[4],e[3],e[2],e[5],e[6],e[7]),!mi(e[1],n,t))return;t._a=n,t._tzm=_i(e[8],e[9],e[10]),t._d=Mt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),f(t).rfc2822=!0}else t._isValid=!1}function yi(t){var e=ui.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(nn(t),t._isValid===!1)delete t._isValid;else return;if(sn(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:h.createFromInputFallback(t)}h.createFromInputFallback=N("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))});function lt(t,e,n){return t??e??n}function gi(t){var e=new Date(h.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function ge(t){var e,n,s=[],i,r,a;if(!t._d){for(i=gi(t),t._w&&t._a[j]==null&&t._a[I]==null&&pi(t),t._dayOfYear!=null&&(a=lt(t._a[Y],i[Y]),(t._dayOfYear>vt(a)||t._dayOfYear===0)&&(f(t)._overflowDayOfYear=!0),n=Mt(a,0,t._dayOfYear),t._a[I]=n.getUTCMonth(),t._a[j]=n.getUTCDate()),e=0;e<3&&t._a[e]==null;++e)t._a[e]=s[e]=i[e];for(;e<7;e++)t._a[e]=s[e]=t._a[e]==null?e===2?1:0:t._a[e];t._a[D]===24&&t._a[L]===0&&t._a[V]===0&&t._a[st]===0&&(t._nextDay=!0,t._a[D]=0),t._d=(t._useUTC?Mt:Ds).apply(null,s),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),t._tzm!=null&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[D]=24),t._w&&typeof t._w.d<"u"&&t._w.d!==r&&(f(t).weekdayMismatch=!0)}}function pi(t){var e,n,s,i,r,a,u,c,_;e=t._w,e.GG!=null||e.W!=null||e.E!=null?(r=1,a=4,n=lt(e.GG,t._a[Y],St(k(),1,4).year),s=lt(e.W,1),i=lt(e.E,1),(i<1||i>7)&&(c=!0)):(r=t._locale._week.dow,a=t._locale._week.doy,_=St(k(),r,a),n=lt(e.gg,t._a[Y],_.year),s=lt(e.w,_.week),e.d!=null?(i=e.d,(i<0||i>6)&&(c=!0)):e.e!=null?(i=e.e+r,(e.e<0||e.e>6)&&(c=!0)):i=r),s<1||s>z(n,r,a)?f(t)._overflowWeeks=!0:c!=null?f(t)._overflowWeekday=!0:(u=Je(n,s,i,r,a),t._a[Y]=u.year,t._dayOfYear=u.dayOfYear)}h.ISO_8601=function(){},h.RFC_2822=function(){};function pe(t){if(t._f===h.ISO_8601){nn(t);return}if(t._f===h.RFC_2822){sn(t);return}t._a=[],f(t).empty=!0;var e=""+t._i,n,s,i,r,a,u=e.length,c=0,_,x;for(i=Fe(t._f,t._locale).match(se)||[],x=i.length,n=0;n<x;n++)r=i[n],s=(e.match(rs(r,t))||[])[0],s&&(a=e.substr(0,e.indexOf(s)),a.length>0&&f(t).unusedInput.push(a),e=e.slice(e.indexOf(s)+s.length),c+=s.length),at[r]?(s?f(t).empty=!1:f(t).unusedTokens.push(r),os(r,s,t)):t._strict&&!s&&f(t).unusedTokens.push(r);f(t).charsLeftOver=u-c,e.length>0&&f(t).unusedInput.push(e),t._a[D]<=12&&f(t).bigHour===!0&&t._a[D]>0&&(f(t).bigHour=void 0),f(t).parsedDateParts=t._a.slice(0),f(t).meridiem=t._meridiem,t._a[D]=wi(t._locale,t._a[D],t._meridiem),_=f(t).era,_!==null&&(t._a[Y]=t._locale.erasConvertYear(_,t._a[Y])),ge(t),_e(t)}function wi(t,e,n){var s;return n==null?e:t.meridiemHour!=null?t.meridiemHour(e,n):(t.isPM!=null&&(s=t.isPM(n),s&&e<12&&(e+=12),!s&&e===12&&(e=0)),e)}function vi(t){var e,n,s,i,r,a,u=!1,c=t._f.length;if(c===0){f(t).invalidFormat=!0,t._d=new Date(NaN);return}for(i=0;i<c;i++)r=0,a=!1,e=Kt({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[i],pe(e),Qt(e)&&(a=!0),r+=f(e).charsLeftOver,r+=f(e).unusedTokens.length*10,f(e).score=r,u?r<s&&(s=r,n=e):(s==null||r<s||a)&&(s=r,n=e,a&&(u=!0));X(t,n||e)}function ki(t){if(!t._d){var e=re(t._i),n=e.day===void 0?e.date:e.day;t._a=Ce([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],function(s){return s&&parseInt(s,10)}),ge(t)}}function Mi(t){var e=new gt(_e(rn(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function rn(t){var e=t._i,n=t._f;return t._locale=t._locale||Z(t._l),e===null||n===void 0&&e===""?Ot({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),W(e)?new gt(_e(e)):(yt(e)?t._d=e:R(n)?vi(t):n?pe(t):Si(t),Qt(t)||(t._d=null),t))}function Si(t){var e=t._i;O(e)?t._d=new Date(h.now()):yt(e)?t._d=new Date(e.valueOf()):typeof e=="string"?yi(t):R(e)?(t._a=Ce(e.slice(0),function(n){return parseInt(n,10)}),ge(t)):nt(e)?ki(t):G(e)?t._d=new Date(e):h.createFromInputFallback(t)}function an(t,e,n,s,i){var r={};return(e===!0||e===!1)&&(s=e,e=void 0),(n===!0||n===!1)&&(s=n,n=void 0),(nt(t)&&qt(t)||R(t)&&t.length===0)&&(t=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=i,r._l=n,r._i=t,r._f=e,r._strict=s,Mi(r)}function k(t,e,n,s){return an(t,e,n,s,!1)}var Di=N("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=k.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:Ot()}),Yi=N("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=k.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:Ot()});function on(t,e){var n,s;if(e.length===1&&R(e[0])&&(e=e[0]),!e.length)return k();for(n=e[0],s=1;s<e.length;++s)(!e[s].isValid()||e[s][t](n))&&(n=e[s]);return n}function xi(){var t=[].slice.call(arguments,0);return on("isBefore",t)}function Oi(){var t=[].slice.call(arguments,0);return on("isAfter",t)}var Ti=function(){return Date.now?Date.now():+new Date},xt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function bi(t){var e,n=!1,s,i=xt.length;for(e in t)if(g(t,e)&&!(S.call(xt,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(s=0;s<i;++s)if(t[xt[s]]){if(n)return!1;parseFloat(t[xt[s]])!==m(t[xt[s]])&&(n=!0)}return!0}function Ni(){return this._isValid}function Pi(){return E(NaN)}function jt(t){var e=re(t),n=e.year||0,s=e.quarter||0,i=e.month||0,r=e.week||e.isoWeek||0,a=e.day||0,u=e.hour||0,c=e.minute||0,_=e.second||0,x=e.millisecond||0;this._isValid=bi(e),this._milliseconds=+x+_*1e3+c*6e4+u*1e3*60*60,this._days=+a+r*7,this._months=+i+s*3+n*12,this._data={},this._locale=Z(),this._bubble()}function Gt(t){return t instanceof jt}function we(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function Ci(t,e,n){var s=Math.min(t.length,e.length),i=Math.abs(t.length-e.length),r=0,a;for(a=0;a<s;a++)m(t[a])!==m(e[a])&&r++;return r+i}function un(t,e){d(t,0,0,function(){var n=this.utcOffset(),s="+";return n<0&&(n=-n,s="-"),s+U(~~(n/60),2)+e+U(~~n%60,2)})}un("Z",":"),un("ZZ",""),l("Z",Wt),l("ZZ",Wt),w(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=ve(Wt,t)});var Ri=/([\+\-]|\d\d)/gi;function ve(t,e){var n=(e||"").match(t),s,i,r;return n===null?null:(s=n[n.length-1]||[],i=(s+"").match(Ri)||["-",0,0],r=+(i[1]*60)+m(i[2]),r===0?0:i[0]==="+"?r:-r)}function ke(t,e){var n,s;return e._isUTC?(n=e.clone(),s=(W(t)||yt(t)?t.valueOf():k(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+s),h.updateOffset(n,!1),n):k(t).local()}function Me(t){return-Math.round(t._d.getTimezoneOffset())}h.updateOffset=function(){};function Wi(t,e,n){var s=this._offset||0,i;if(!this.isValid())return t!=null?this:NaN;if(t!=null){if(typeof t=="string"){if(t=ve(Wt,t),t===null)return this}else Math.abs(t)<16&&!n&&(t=t*60);return!this._isUTC&&e&&(i=Me(this)),this._offset=t,this._isUTC=!0,i!=null&&this.add(i,"m"),s!==t&&(!e||this._changeInProgress?cn(this,E(t-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,h.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:Me(this)}function Li(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Ei(t){return this.utcOffset(0,t)}function Fi(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Me(this),"m")),this}function Hi(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=ve(ss,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function Ui(t){return this.isValid()?(t=t?k(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function ji(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Gi(){if(!O(this._isDSTShifted))return this._isDSTShifted;var t={},e;return Kt(t,this),t=rn(t),t._a?(e=t._isUTC?F(t._a):k(t._a),this._isDSTShifted=this.isValid()&&Ci(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Ai(){return this.isValid()?!this._isUTC:!1}function Ii(){return this.isValid()?this._isUTC:!1}function hn(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Vi=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,zi=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function E(t,e){var n=t,s=null,i,r,a;return Gt(t)?n={ms:t._milliseconds,d:t._days,M:t._months}:G(t)||!isNaN(+t)?(n={},e?n[e]=+t:n.milliseconds=+t):(s=Vi.exec(t))?(i=s[1]==="-"?-1:1,n={y:0,d:m(s[j])*i,h:m(s[D])*i,m:m(s[L])*i,s:m(s[V])*i,ms:m(we(s[st]*1e3))*i}):(s=zi.exec(t))?(i=s[1]==="-"?-1:1,n={y:it(s[2],i),M:it(s[3],i),w:it(s[4],i),d:it(s[5],i),h:it(s[6],i),m:it(s[7],i),s:it(s[8],i)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(a=Zi(k(n.from),k(n.to)),n={},n.ms=a.milliseconds,n.M=a.months),r=new jt(n),Gt(t)&&g(t,"_locale")&&(r._locale=t._locale),Gt(t)&&g(t,"_isValid")&&(r._isValid=t._isValid),r}E.fn=jt.prototype,E.invalid=Pi;function it(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function ln(t,e){var n={};return n.months=e.month()-t.month()+(e.year()-t.year())*12,t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Zi(t,e){var n;return t.isValid()&&e.isValid()?(e=ke(e,t),t.isBefore(e)?n=ln(t,e):(n=ln(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function dn(t,e){return function(n,s){var i,r;return s!==null&&!isNaN(+s)&&(Ee(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=s,s=r),i=E(n,s),cn(this,i,t),this}}function cn(t,e,n,s){var i=e._milliseconds,r=we(e._days),a=we(e._months);t.isValid()&&(s=s??!0,a&&Be(t,kt(t,"Month")+a*n),r&&Ve(t,"Date",kt(t,"Date")+r*n),i&&t._d.setTime(t._d.valueOf()+i*n),s&&h.updateOffset(t,r||a))}var Bi=dn(1,"add"),$i=dn(-1,"subtract");function fn(t){return typeof t=="string"||t instanceof String}function qi(t){return W(t)||yt(t)||fn(t)||G(t)||Qi(t)||Ji(t)||t===null||t===void 0}function Ji(t){var e=nt(t)&&!qt(t),n=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i,r,a=s.length;for(i=0;i<a;i+=1)r=s[i],n=n||g(t,r);return e&&n}function Qi(t){var e=R(t),n=!1;return e&&(n=t.filter(function(s){return!G(s)&&fn(t)}).length===0),e&&n}function Xi(t){var e=nt(t)&&!qt(t),n=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,r;for(i=0;i<s.length;i+=1)r=s[i],n=n||g(t,r);return e&&n}function Ki(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function tr(t,e){arguments.length===1&&(arguments[0]?qi(arguments[0])?(t=arguments[0],e=void 0):Xi(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||k(),s=ke(n,this).startOf("day"),i=h.calendarFormat(this,s)||"sameElse",r=e&&(H(e[i])?e[i].call(this,n):e[i]);return this.format(r||this.localeData().calendar(i,this,k(n)))}function er(){return new gt(this)}function nr(t,e){var n=W(t)?t:k(t);return this.isValid()&&n.isValid()?(e=P(e)||"millisecond",e==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf()):!1}function sr(t,e){var n=W(t)?t:k(t);return this.isValid()&&n.isValid()?(e=P(e)||"millisecond",e==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf()):!1}function ir(t,e,n,s){var i=W(t)?t:k(t),r=W(e)?e:k(e);return this.isValid()&&i.isValid()&&r.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(i,n):!this.isBefore(i,n))&&(s[1]===")"?this.isBefore(r,n):!this.isAfter(r,n))):!1}function rr(t,e){var n=W(t)?t:k(t),s;return this.isValid()&&n.isValid()?(e=P(e)||"millisecond",e==="millisecond"?this.valueOf()===n.valueOf():(s=n.valueOf(),this.clone().startOf(e).valueOf()<=s&&s<=this.clone().endOf(e).valueOf())):!1}function ar(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function or(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function ur(t,e,n){var s,i,r;if(!this.isValid())return NaN;if(s=ke(t,this),!s.isValid())return NaN;switch(i=(s.utcOffset()-this.utcOffset())*6e4,e=P(e),e){case"year":r=At(this,s)/12;break;case"month":r=At(this,s);break;case"quarter":r=At(this,s)/3;break;case"second":r=(this-s)/1e3;break;case"minute":r=(this-s)/6e4;break;case"hour":r=(this-s)/36e5;break;case"day":r=(this-s-i)/864e5;break;case"week":r=(this-s-i)/6048e5;break;default:r=this-s}return n?r:C(r)}function At(t,e){if(t.date()<e.date())return-At(e,t);var n=(e.year()-t.year())*12+(e.month()-t.month()),s=t.clone().add(n,"months"),i,r;return e-s<0?(i=t.clone().add(n-1,"months"),r=(e-s)/(s-i)):(i=t.clone().add(n+1,"months"),r=(e-s)/(i-s)),-(n+r)||0}h.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",h.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function hr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function lr(t){if(!this.isValid())return null;var e=t!==!0,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?bt(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):H(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",bt(n,"Z")):bt(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function dr(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="",n,s,i,r;return this.isLocal()||(t=this.utcOffset()===0?"moment.utc":"moment.parseZone",e="Z"),n="["+t+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",r=e+'[")]',this.format(n+s+i+r)}function cr(t){t||(t=this.isUtc()?h.defaultFormatUtc:h.defaultFormat);var e=bt(this,t);return this.localeData().postformat(e)}function fr(t,e){return this.isValid()&&(W(t)&&t.isValid()||k(t).isValid())?E({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function mr(t){return this.from(k(),t)}function _r(t,e){return this.isValid()&&(W(t)&&t.isValid()||k(t).isValid())?E({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function yr(t){return this.to(k(),t)}function mn(t){var e;return t===void 0?this._locale._abbr:(e=Z(t),e!=null&&(this._locale=e),this)}var _n=N("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return t===void 0?this.localeData():this.locale(t)});function yn(){return this._locale}var It=1e3,dt=60*It,Vt=60*dt,gn=(365*400+97)*24*Vt;function ct(t,e){return(t%e+e)%e}function pn(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-gn:new Date(t,e,n).valueOf()}function wn(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-gn:Date.UTC(t,e,n)}function gr(t){var e,n;if(t=P(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?wn:pn,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=ct(e+(this._isUTC?0:this.utcOffset()*dt),Vt);break;case"minute":e=this._d.valueOf(),e-=ct(e,dt);break;case"second":e=this._d.valueOf(),e-=ct(e,It);break}return this._d.setTime(e),h.updateOffset(this,!0),this}function pr(t){var e,n;if(t=P(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?wn:pn,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=Vt-ct(e+(this._isUTC?0:this.utcOffset()*dt),Vt)-1;break;case"minute":e=this._d.valueOf(),e+=dt-ct(e,dt)-1;break;case"second":e=this._d.valueOf(),e+=It-ct(e,It)-1;break}return this._d.setTime(e),h.updateOffset(this,!0),this}function wr(){return this._d.valueOf()-(this._offset||0)*6e4}function vr(){return Math.floor(this.valueOf()/1e3)}function kr(){return new Date(this.valueOf())}function Mr(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function Sr(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Dr(){return this.isValid()?this.toISOString():null}function Yr(){return Qt(this)}function xr(){return X({},f(this))}function Or(){return f(this).overflow}function Tr(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}d("N",0,0,"eraAbbr"),d("NN",0,0,"eraAbbr"),d("NNN",0,0,"eraAbbr"),d("NNNN",0,0,"eraName"),d("NNNNN",0,0,"eraNarrow"),d("y",["y",1],"yo","eraYear"),d("y",["yy",2],0,"eraYear"),d("y",["yyy",3],0,"eraYear"),d("y",["yyyy",4],0,"eraYear"),l("N",Se),l("NN",Se),l("NNN",Se),l("NNNN",Ur),l("NNNNN",jr),w(["N","NN","NNN","NNNN","NNNNN"],function(t,e,n,s){var i=n._locale.erasParse(t,s,n._strict);i?f(n).era=i:f(n).invalidEra=t}),l("y",ot),l("yy",ot),l("yyy",ot),l("yyyy",ot),l("yo",Gr),w(["y","yy","yyy","yyyy"],Y),w(["yo"],function(t,e,n,s){var i;n._locale._eraYearOrdinalRegex&&(i=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[Y]=n._locale.eraYearOrdinalParse(t,i):e[Y]=parseInt(t,10)});function br(t,e){var n,s,i,r=this._eras||Z("en")._eras;for(n=0,s=r.length;n<s;++n){switch(typeof r[n].since){case"string":i=h(r[n].since).startOf("day"),r[n].since=i.valueOf();break}switch(typeof r[n].until){case"undefined":r[n].until=1/0;break;case"string":i=h(r[n].until).startOf("day").valueOf(),r[n].until=i.valueOf();break}}return r}function Nr(t,e,n){var s,i,r=this.eras(),a,u,c;for(t=t.toUpperCase(),s=0,i=r.length;s<i;++s)if(a=r[s].name.toUpperCase(),u=r[s].abbr.toUpperCase(),c=r[s].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(u===t)return r[s];break;case"NNNN":if(a===t)return r[s];break;case"NNNNN":if(c===t)return r[s];break}else if([a,u,c].indexOf(t)>=0)return r[s]}function Pr(t,e){var n=t.since<=t.until?1:-1;return e===void 0?h(t.since).year():h(t.since).year()+(e-t.offset)*n}function Cr(){var t,e,n,s=this.localeData().eras();for(t=0,e=s.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),s[t].since<=n&&n<=s[t].until||s[t].until<=n&&n<=s[t].since)return s[t].name;return""}function Rr(){var t,e,n,s=this.localeData().eras();for(t=0,e=s.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),s[t].since<=n&&n<=s[t].until||s[t].until<=n&&n<=s[t].since)return s[t].narrow;return""}function Wr(){var t,e,n,s=this.localeData().eras();for(t=0,e=s.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),s[t].since<=n&&n<=s[t].until||s[t].until<=n&&n<=s[t].since)return s[t].abbr;return""}function Lr(){var t,e,n,s,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t)if(n=i[t].since<=i[t].until?1:-1,s=this.clone().startOf("day").valueOf(),i[t].since<=s&&s<=i[t].until||i[t].until<=s&&s<=i[t].since)return(this.year()-h(i[t].since).year())*n+i[t].offset;return this.year()}function Er(t){return g(this,"_erasNameRegex")||De.call(this),t?this._erasNameRegex:this._erasRegex}function Fr(t){return g(this,"_erasAbbrRegex")||De.call(this),t?this._erasAbbrRegex:this._erasRegex}function Hr(t){return g(this,"_erasNarrowRegex")||De.call(this),t?this._erasNarrowRegex:this._erasRegex}function Se(t,e){return e.erasAbbrRegex(t)}function Ur(t,e){return e.erasNameRegex(t)}function jr(t,e){return e.erasNarrowRegex(t)}function Gr(t,e){return e._eraYearOrdinalRegex||ot}function De(){var t=[],e=[],n=[],s=[],i,r,a,u,c,_=this.eras();for(i=0,r=_.length;i<r;++i)a=A(_[i].name),u=A(_[i].abbr),c=A(_[i].narrow),e.push(a),t.push(u),n.push(c),s.push(a),s.push(u),s.push(c);this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}d(0,["gg",2],0,function(){return this.weekYear()%100}),d(0,["GG",2],0,function(){return this.isoWeekYear()%100});function zt(t,e){d(0,[t,t.length],0,e)}zt("gggg","weekYear"),zt("ggggg","weekYear"),zt("GGGG","isoWeekYear"),zt("GGGGG","isoWeekYear"),l("G",Rt),l("g",Rt),l("GG",v,T),l("gg",v,T),l("GGGG",oe,ae),l("gggg",oe,ae),l("GGGGG",Ct,Nt),l("ggggg",Ct,Nt),wt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,s){e[s.substr(0,2)]=m(t)}),wt(["gg","GG"],function(t,e,n,s){e[s]=h.parseTwoDigitYear(t)});function Ar(t){return vn.call(this,t,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Ir(t){return vn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Vr(){return z(this.year(),1,4)}function zr(){return z(this.isoWeekYear(),1,4)}function Zr(){var t=this.localeData()._week;return z(this.year(),t.dow,t.doy)}function Br(){var t=this.localeData()._week;return z(this.weekYear(),t.dow,t.doy)}function vn(t,e,n,s,i){var r;return t==null?St(this,s,i).year:(r=z(t,s,i),e>r&&(e=r),$r.call(this,t,e,n,s,i))}function $r(t,e,n,s,i){var r=Je(t,e,n,s,i),a=Mt(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}d("Q",0,"Qo","quarter"),l("Q",Ue),w("Q",function(t,e){e[I]=(m(t)-1)*3});function qr(t){return t==null?Math.ceil((this.month()+1)/3):this.month((t-1)*3+this.month()%3)}d("D",["DD",2],"Do","date"),l("D",v,ut),l("DD",v,T),l("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),w(["D","DD"],j),w("Do",function(t,e){e[j]=m(t.match(v)[0])});var kn=ht("Date",!0);d("DDD",["DDDD",3],"DDDo","dayOfYear"),l("DDD",Pt),l("DDDD",je),w(["DDD","DDDD"],function(t,e,n){n._dayOfYear=m(t)});function Jr(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return t==null?e:this.add(t-e,"d")}d("m",["mm",2],0,"minute"),l("m",v,ue),l("mm",v,T),w(["m","mm"],L);var Qr=ht("Minutes",!1);d("s",["ss",2],0,"second"),l("s",v,ue),l("ss",v,T),w(["s","ss"],V);var Xr=ht("Seconds",!1);d("S",0,0,function(){return~~(this.millisecond()/100)}),d(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),d(0,["SSS",3],0,"millisecond"),d(0,["SSSS",4],0,function(){return this.millisecond()*10}),d(0,["SSSSS",5],0,function(){return this.millisecond()*100}),d(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),d(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),d(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),d(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),l("S",Pt,Ue),l("SS",Pt,T),l("SSS",Pt,je);var tt,Mn;for(tt="SSSS";tt.length<=9;tt+="S")l(tt,ot);function Kr(t,e){e[st]=m(("0."+t)*1e3)}for(tt="S";tt.length<=9;tt+="S")w(tt,Kr);Mn=ht("Milliseconds",!1),d("z",0,0,"zoneAbbr"),d("zz",0,0,"zoneName");function ta(){return this._isUTC?"UTC":""}function ea(){return this._isUTC?"Coordinated Universal Time":""}var o=gt.prototype;o.add=Bi,o.calendar=tr,o.clone=er,o.diff=ur,o.endOf=pr,o.format=cr,o.from=fr,o.fromNow=mr,o.to=_r,o.toNow=yr,o.get=ds,o.invalidAt=Or,o.isAfter=nr,o.isBefore=sr,o.isBetween=ir,o.isSame=rr,o.isSameOrAfter=ar,o.isSameOrBefore=or,o.isValid=Yr,o.lang=_n,o.locale=mn,o.localeData=yn,o.max=Yi,o.min=Di,o.parsingFlags=xr,o.set=cs,o.startOf=gr,o.subtract=$i,o.toArray=Mr,o.toObject=Sr,o.toDate=kr,o.toISOString=lr,o.inspect=dr,typeof Symbol<"u"&&Symbol.for!=null&&(o[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),o.toJSON=Dr,o.toString=hr,o.unix=vr,o.valueOf=wr,o.creationData=Tr,o.eraName=Cr,o.eraNarrow=Rr,o.eraAbbr=Wr,o.eraYear=Lr,o.year=Ie,o.isLeapYear=ls,o.weekYear=Ar,o.isoWeekYear=Ir,o.quarter=o.quarters=qr,o.month=$e,o.daysInMonth=ks,o.week=o.weeks=bs,o.isoWeek=o.isoWeeks=Ns,o.weeksInYear=Zr,o.weeksInWeekYear=Br,o.isoWeeksInYear=Vr,o.isoWeeksInISOWeekYear=zr,o.date=kn,o.day=o.days=Is,o.weekday=Vs,o.isoWeekday=zs,o.dayOfYear=Jr,o.hour=o.hours=Xs,o.minute=o.minutes=Qr,o.second=o.seconds=Xr,o.millisecond=o.milliseconds=Mn,o.utcOffset=Wi,o.utc=Ei,o.local=Fi,o.parseZone=Hi,o.hasAlignedHourOffset=Ui,o.isDST=ji,o.isLocal=Ai,o.isUtcOffset=Ii,o.isUtc=hn,o.isUTC=hn,o.zoneAbbr=ta,o.zoneName=ea,o.dates=N("dates accessor is deprecated. Use date instead.",kn),o.months=N("months accessor is deprecated. Use month instead",$e),o.years=N("years accessor is deprecated. Use year instead",Ie),o.zone=N("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Li),o.isDSTShifted=N("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Gi);function na(t){return k(t*1e3)}function sa(){return k.apply(null,arguments).parseZone()}function Sn(t){return t}var p=ee.prototype;p.calendar=An,p.longDateFormat=Zn,p.invalidDate=$n,p.ordinal=Qn,p.preparse=Sn,p.postformat=Sn,p.relativeTime=Kn,p.pastFuture=ts,p.set=jn,p.eras=br,p.erasParse=Nr,p.erasConvertYear=Pr,p.erasAbbrRegex=Fr,p.erasNameRegex=Er,p.erasNarrowRegex=Hr,p.months=gs,p.monthsShort=ps,p.monthsParse=vs,p.monthsRegex=Ss,p.monthsShortRegex=Ms,p.week=Ys,p.firstDayOfYear=Ts,p.firstDayOfWeek=Os,p.weekdays=Hs,p.weekdaysMin=js,p.weekdaysShort=Us,p.weekdaysParse=As,p.weekdaysRegex=Zs,p.weekdaysShortRegex=Bs,p.weekdaysMinRegex=$s,p.isPM=Js,p.meridiem=Ks;function Zt(t,e,n,s){var i=Z(),r=F().set(s,e);return i[n](r,t)}function Dn(t,e,n){if(G(t)&&(e=t,t=void 0),t=t||"",e!=null)return Zt(t,e,n,"month");var s,i=[];for(s=0;s<12;s++)i[s]=Zt(t,s,n,"month");return i}function Ye(t,e,n,s){typeof t=="boolean"?(G(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,G(e)&&(n=e,e=void 0),e=e||"");var i=Z(),r=t?i._week.dow:0,a,u=[];if(n!=null)return Zt(e,(n+r)%7,s,"day");for(a=0;a<7;a++)u[a]=Zt(e,(a+r)%7,s,"day");return u}function ia(t,e){return Dn(t,e,"months")}function ra(t,e){return Dn(t,e,"monthsShort")}function aa(t,e,n){return Ye(t,e,n,"weekdays")}function oa(t,e,n){return Ye(t,e,n,"weekdaysShort")}function ua(t,e,n){return Ye(t,e,n,"weekdaysMin")}K("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=m(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return t+n}}),h.lang=N("moment.lang is deprecated. Use moment.locale instead.",K),h.langData=N("moment.langData is deprecated. Use moment.localeData instead.",Z);var B=Math.abs;function ha(){var t=this._data;return this._milliseconds=B(this._milliseconds),this._days=B(this._days),this._months=B(this._months),t.milliseconds=B(t.milliseconds),t.seconds=B(t.seconds),t.minutes=B(t.minutes),t.hours=B(t.hours),t.months=B(t.months),t.years=B(t.years),this}function Yn(t,e,n,s){var i=E(e,n);return t._milliseconds+=s*i._milliseconds,t._days+=s*i._days,t._months+=s*i._months,t._bubble()}function la(t,e){return Yn(this,t,e,1)}function da(t,e){return Yn(this,t,e,-1)}function xn(t){return t<0?Math.floor(t):Math.ceil(t)}function ca(){var t=this._milliseconds,e=this._days,n=this._months,s=this._data,i,r,a,u,c;return t>=0&&e>=0&&n>=0||t<=0&&e<=0&&n<=0||(t+=xn(xe(n)+e)*864e5,e=0,n=0),s.milliseconds=t%1e3,i=C(t/1e3),s.seconds=i%60,r=C(i/60),s.minutes=r%60,a=C(r/60),s.hours=a%24,e+=C(a/24),c=C(On(e)),n+=c,e-=xn(xe(c)),u=C(n/12),n%=12,s.days=e,s.months=n,s.years=u,this}function On(t){return t*4800/146097}function xe(t){return t*146097/4800}function fa(t){if(!this.isValid())return NaN;var e,n,s=this._milliseconds;if(t=P(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+s/864e5,n=this._months+On(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(xe(this._months)),t){case"week":return e/7+s/6048e5;case"day":return e+s/864e5;case"hour":return e*24+s/36e5;case"minute":return e*1440+s/6e4;case"second":return e*86400+s/1e3;case"millisecond":return Math.floor(e*864e5)+s;default:throw new Error("Unknown unit "+t)}}function $(t){return function(){return this.as(t)}}var Tn=$("ms"),ma=$("s"),_a=$("m"),ya=$("h"),ga=$("d"),pa=$("w"),wa=$("M"),va=$("Q"),ka=$("y"),Ma=Tn;function Sa(){return E(this)}function Da(t){return t=P(t),this.isValid()?this[t+"s"]():NaN}function rt(t){return function(){return this.isValid()?this._data[t]:NaN}}var Ya=rt("milliseconds"),xa=rt("seconds"),Oa=rt("minutes"),Ta=rt("hours"),ba=rt("days"),Na=rt("months"),Pa=rt("years");function Ca(){return C(this.days()/7)}var q=Math.round,ft={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ra(t,e,n,s,i){return i.relativeTime(e||1,!!n,t,s)}function Wa(t,e,n,s){var i=E(t).abs(),r=q(i.as("s")),a=q(i.as("m")),u=q(i.as("h")),c=q(i.as("d")),_=q(i.as("M")),x=q(i.as("w")),J=q(i.as("y")),et=r<=n.ss&&["s",r]||r<n.s&&["ss",r]||a<=1&&["m"]||a<n.m&&["mm",a]||u<=1&&["h"]||u<n.h&&["hh",u]||c<=1&&["d"]||c<n.d&&["dd",c];return n.w!=null&&(et=et||x<=1&&["w"]||x<n.w&&["ww",x]),et=et||_<=1&&["M"]||_<n.M&&["MM",_]||J<=1&&["y"]||["yy",J],et[2]=e,et[3]=+t>0,et[4]=s,Ra.apply(null,et)}function La(t){return t===void 0?q:typeof t=="function"?(q=t,!0):!1}function Ea(t,e){return ft[t]===void 0?!1:e===void 0?ft[t]:(ft[t]=e,t==="s"&&(ft.ss=e-1),!0)}function Fa(t,e){if(!this.isValid())return this.localeData().invalidDate();var n=!1,s=ft,i,r;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(n=t),typeof e=="object"&&(s=Object.assign({},ft,e),e.s!=null&&e.ss==null&&(s.ss=e.s-1)),i=this.localeData(),r=Wa(this,!n,s,i),n&&(r=i.pastFuture(+this,r)),i.postformat(r)}var Oe=Math.abs;function mt(t){return(t>0)-(t<0)||+t}function Bt(){if(!this.isValid())return this.localeData().invalidDate();var t=Oe(this._milliseconds)/1e3,e=Oe(this._days),n=Oe(this._months),s,i,r,a,u=this.asSeconds(),c,_,x,J;return u?(s=C(t/60),i=C(s/60),t%=60,s%=60,r=C(n/12),n%=12,a=t?t.toFixed(3).replace(/\.?0+$/,""):"",c=u<0?"-":"",_=mt(this._months)!==mt(u)?"-":"",x=mt(this._days)!==mt(u)?"-":"",J=mt(this._milliseconds)!==mt(u)?"-":"",c+"P"+(r?_+r+"Y":"")+(n?_+n+"M":"")+(e?x+e+"D":"")+(i||s||t?"T":"")+(i?J+i+"H":"")+(s?J+s+"M":"")+(t?J+a+"S":"")):"P0D"}var y=jt.prototype;y.isValid=Ni,y.abs=ha,y.add=la,y.subtract=da,y.as=fa,y.asMilliseconds=Tn,y.asSeconds=ma,y.asMinutes=_a,y.asHours=ya,y.asDays=ga,y.asWeeks=pa,y.asMonths=wa,y.asQuarters=va,y.asYears=ka,y.valueOf=Ma,y._bubble=ca,y.clone=Sa,y.get=Da,y.milliseconds=Ya,y.seconds=xa,y.minutes=Oa,y.hours=Ta,y.days=ba,y.weeks=Ca,y.months=Na,y.years=Pa,y.humanize=Fa,y.toISOString=Bt,y.toString=Bt,y.toJSON=Bt,y.locale=mn,y.localeData=yn,y.toIsoString=N("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Bt),y.lang=_n,d("X",0,0,"unix"),d("x",0,0,"valueOf"),l("x",Rt),l("X",is),w("X",function(t,e,n){n._d=new Date(parseFloat(t)*1e3)}),w("x",function(t,e,n){n._d=new Date(m(t))});//! moment.js
10
- h.version="2.30.1",Hn(k),h.fn=o,h.min=xi,h.max=Oi,h.now=Ti,h.utc=F,h.unix=na,h.months=ia,h.isDate=yt,h.locale=K,h.invalid=Ot,h.duration=E,h.isMoment=W,h.weekdays=aa,h.parseZone=sa,h.localeData=Z,h.isDuration=Gt,h.monthsShort=ra,h.weekdaysMin=ua,h.defineLocale=me,h.updateLocale=si,h.locales=ii,h.weekdaysShort=oa,h.normalizeUnits=P,h.relativeTimeRounding=La,h.relativeTimeThreshold=Ea,h.calendarFormat=Ki,h.prototype=o,h.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const Ha=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,Ua=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,bn=/(janv\.?|févr\.?|avr\.?|juil\.?|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,Te=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i],ja={months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:bn,monthsShortRegex:bn,monthsStrictRegex:Ha,monthsShortStrictRegex:Ua,monthsParse:Te,longMonthsParse:Te,shortMonthsParse:Te,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:(t,e)=>{switch(e){case"D":return t+(t===1?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(t===1?"er":"e");case"w":case"W":return t+(t===1?"re":"e")}},week:{dow:1,doy:4}};h.locale("fr",ja);const Ga=t=>({x:Ne(t)?t:t.x||0,y:Ne(t)?t:t.y||0}),Aa={x:0,y:0,width:0,height:0,color:"white",padding:0,origin:_t.TOP_LEFT,composite:"source-over"},Ia=t=>({context:t.context,options:{...Aa},setPosition(e,n){return this.options.x=e,this.options.y=n,this},setDimensions(e,n){return this.options.width=e,this.options.height=n,this},setColor(e){return this.options.color=e,this},setPadding(e){return this.options.padding=e,this},setOrigin(e){return this.options.origin=e,this},setComposite(e){return this.options.composite=e,this},draw(){this.context.save(),this.context.globalCompositeOperation=this.options.composite;const{x:e,y:n}=$t[this.options.origin](this.options.x,this.options.y,this.options.width,this.options.height),s=Ga(this.options.padding);return this.context.fillStyle=Fn(this.options.color,t,e-s.x,n-s.y,e+this.options.width+s.x*2,n+this.options.height+s.y*2),this.context.fillRect(e-s.x,n-s.y,this.options.width+s.x*2,this.options.height+s.y*2),this.context.restore(),{width:this.options.width+s.x*2,next:i=>i(t,{...this.options,enable:!0})}}}),Va=(t,e)=>({options:{text:e.toString(),x:0,y:0,width:0,color:"white",backgroundColor:"transparent",font:null,fontSize:20,padding:0,origin:_t.TOP_LEFT},context:t.context,setText(s){return this.options.text=s,this},setPosition(s,i){return this.options.x=s,this.options.y=i,this},addPosition(s,i){return this.options.x+=s,this.options.y+=i,this},setFont(s,i){return this.options.font=s,this.options.fontSize=i,this},setColor(s){return this.options.color=s,this},setBackgroundColor(s){return this.options.backgroundColor=s,this},setPadding(s){return this.options.padding=s,this},setOrigin(s){return this.options.origin=s,this},setStroke(s){return this.options.stroke=s,this},draw(s=!0){if(!this.options.font)throw new Error("No font chose");this.context.save(),this.context.font=`${this.options.fontSize}px ${this.options.font}`,this.context.textBaseline="top";const{width:i}=this.context.measureText(this.options.text.toString());this.options.width=i;const{x:r,y:a}=$t[this.options.origin](this.options.x,this.options.y,i,this.options.fontSize);return this.options.backgroundColor!=="transparent"&&s&&t.Rectangle().setPadding(this.options.padding).setPosition(this.options.x,this.options.y).setDimensions(i,this.options.fontSize).setColor(this.options.backgroundColor).setOrigin(this.options.origin).draw(),this.context.fillStyle=this.options.color,s&&this.context.fillText(this.options.text.toString(),r,a),this.options.stroke&&s&&(this.context.strokeStyle=this.options.stroke.color,this.context.lineWidth=this.options.stroke.width,this.context.strokeText(this.options.text.toString(),r,a)),this.context.restore(),{width:i,next:u=>u(t,{...this.options,enable:s})}}}),za=(t,e)=>{const n=Q.createCanvas(t,e);return{context:n.getContext("2d"),width:t,height:e,Text(s){return Va(this,s)},Rectangle(){return Ia(this)},Image(){return Ln(this)},blur(){this.context.filter="blur(4px)"},encode(s){return n.encode(s)}}};b.CanvasOrigin=_t,b.GOLDEN_GRADIENT=Rn,b.createCanvas=za,b.loadImage=Nn,b.nextAllToXAxis=Cn,b.registerFont=Wn,Object.defineProperty(b,Symbol.toStringTag,{value:"Module"})});
9
+ `+new Error().stack),n=!1}return e.apply(this,arguments)},e)}var Le={};function Ee(t,e){l.deprecationHandler!=null&&l.deprecationHandler(t,e),Le[t]||(We(e),Le[t]=!0)}l.suppressDeprecationWarnings=!1,l.deprecationHandler=null;function H(t){return typeof Function<"u"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function jn(t){var e,n;for(n in t)g(t,n)&&(e=t[n],H(e)?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function te(t,e){var n=X({},t),s;for(s in e)g(e,s)&&(nt(t[s])&&nt(e[s])?(n[s]={},X(n[s],t[s]),X(n[s],e[s])):e[s]!=null?n[s]=e[s]:delete n[s]);for(s in t)g(t,s)&&!g(e,s)&&nt(t[s])&&(n[s]=X({},n[s]));return n}function ee(t){t!=null&&this.set(t)}var ne;Object.keys?ne=Object.keys:ne=function(t){var e,n=[];for(e in t)g(t,e)&&n.push(e);return n};var Gn={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function An(t,e,n){var s=this._calendar[t]||this._calendar.sameElse;return H(s)?s.call(e,n):s}function U(t,e,n){var s=""+Math.abs(t),i=e-s.length,r=t>=0;return(r?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+s}var se=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Tt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ie={},at={};function d(t,e,n,s){var i=s;typeof s=="string"&&(i=function(){return this[s]()}),t&&(at[t]=i),e&&(at[e[0]]=function(){return U(i.apply(this,arguments),e[1],e[2])}),n&&(at[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function In(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function Vn(t){var e=t.match(se),n,s;for(n=0,s=e.length;n<s;n++)at[e[n]]?e[n]=at[e[n]]:e[n]=In(e[n]);return function(i){var r="",a;for(a=0;a<s;a++)r+=H(e[a])?e[a].call(i,t):e[a];return r}}function bt(t,e){return t.isValid()?(e=Fe(e,t.localeData()),ie[e]=ie[e]||Vn(e),ie[e](t)):t.localeData().invalidDate()}function Fe(t,e){var n=5;function s(i){return e.longDateFormat(i)||i}for(Tt.lastIndex=0;n>=0&&Tt.test(t);)t=t.replace(Tt,s),Tt.lastIndex=0,n-=1;return t}var zn={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Zn(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(se).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[t])}var Bn="Invalid date";function $n(){return this._invalidDate}var qn="%d",Jn=/\d{1,2}/;function Qn(t){return this._ordinal.replace("%d",t)}var Xn={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Kn(t,e,n,s){var i=this._relativeTime[n];return H(i)?i(t,e,n,s):i.replace(/%d/i,t)}function ts(t,e){var n=this._relativeTime[t>0?"future":"past"];return H(n)?n(e):n.replace(/%s/i,e)}var He={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function P(t){return typeof t=="string"?He[t]||He[t.toLowerCase()]:void 0}function re(t){var e={},n,s;for(s in t)g(t,s)&&(n=P(s),n&&(e[n]=t[s]));return e}var es={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function ns(t){var e=[],n;for(n in t)g(t,n)&&e.push({unit:n,priority:es[n]});return e.sort(function(s,i){return s.priority-i.priority}),e}var Ue=/\d/,T=/\d\d/,je=/\d{3}/,ae=/\d{4}/,Nt=/[+-]?\d{6}/,v=/\d\d?/,Ge=/\d\d\d\d?/,Ae=/\d\d\d\d\d\d?/,Pt=/\d{1,3}/,oe=/\d{1,4}/,Ct=/[+-]?\d{1,6}/,ot=/\d+/,Rt=/[+-]?\d+/,ss=/Z|[+-]\d\d:?\d\d/gi,Wt=/Z|[+-]\d\d(?::?\d\d)?/gi,is=/[+-]?\d+(\.\d{1,3})?/,pt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ut=/^[1-9]\d?/,ue=/^([1-9]\d|\d)/,Lt;Lt={};function h(t,e,n){Lt[t]=H(e)?e:function(s,i){return s&&n?n:e}}function rs(t,e){return g(Lt,t)?Lt[t](e._strict,e._locale):new RegExp(as(t))}function as(t){return A(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,n,s,i,r){return n||s||i||r}))}function A(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function C(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function m(t){var e=+t,n=0;return e!==0&&isFinite(e)&&(n=C(e)),n}var le={};function w(t,e){var n,s=e,i;for(typeof t=="string"&&(t=[t]),G(e)&&(s=function(r,a){a[e]=m(r)}),i=t.length,n=0;n<i;n++)le[t[n]]=s}function wt(t,e){w(t,function(n,s,i,r){i._w=i._w||{},e(n,i._w,i,r)})}function os(t,e,n){e!=null&&g(le,t)&&le[t](e,n._a,n,t)}function Et(t){return t%4===0&&t%100!==0||t%400===0}var Y=0,I=1,j=2,D=3,L=4,V=5,st=6,us=7,ls=8;d("Y",0,0,function(){var t=this.year();return t<=9999?U(t,4):"+"+t}),d(0,["YY",2],0,function(){return this.year()%100}),d(0,["YYYY",4],0,"year"),d(0,["YYYYY",5],0,"year"),d(0,["YYYYYY",6,!0],0,"year"),h("Y",Rt),h("YY",v,T),h("YYYY",oe,ae),h("YYYYY",Ct,Nt),h("YYYYYY",Ct,Nt),w(["YYYYY","YYYYYY"],Y),w("YYYY",function(t,e){e[Y]=t.length===2?l.parseTwoDigitYear(t):m(t)}),w("YY",function(t,e){e[Y]=l.parseTwoDigitYear(t)}),w("Y",function(t,e){e[Y]=parseInt(t,10)});function vt(t){return Et(t)?366:365}l.parseTwoDigitYear=function(t){return m(t)+(m(t)>68?1900:2e3)};var Ie=lt("FullYear",!0);function hs(){return Et(this.year())}function lt(t,e){return function(n){return n!=null?(Ve(this,t,n),l.updateOffset(this,e),this):kt(this,t)}}function kt(t,e){if(!t.isValid())return NaN;var n=t._d,s=t._isUTC;switch(e){case"Milliseconds":return s?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return s?n.getUTCSeconds():n.getSeconds();case"Minutes":return s?n.getUTCMinutes():n.getMinutes();case"Hours":return s?n.getUTCHours():n.getHours();case"Date":return s?n.getUTCDate():n.getDate();case"Day":return s?n.getUTCDay():n.getDay();case"Month":return s?n.getUTCMonth():n.getMonth();case"FullYear":return s?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Ve(t,e,n){var s,i,r,a,u;if(!(!t.isValid()||isNaN(n))){switch(s=t._d,i=t._isUTC,e){case"Milliseconds":return void(i?s.setUTCMilliseconds(n):s.setMilliseconds(n));case"Seconds":return void(i?s.setUTCSeconds(n):s.setSeconds(n));case"Minutes":return void(i?s.setUTCMinutes(n):s.setMinutes(n));case"Hours":return void(i?s.setUTCHours(n):s.setHours(n));case"Date":return void(i?s.setUTCDate(n):s.setDate(n));case"FullYear":break;default:return}r=n,a=t.month(),u=t.date(),u=u===29&&a===1&&!Et(r)?28:u,i?s.setUTCFullYear(r,a,u):s.setFullYear(r,a,u)}}function ds(t){return t=P(t),H(this[t])?this[t]():this}function cs(t,e){if(typeof t=="object"){t=re(t);var n=ns(t),s,i=n.length;for(s=0;s<i;s++)this[n[s].unit](t[n[s].unit])}else if(t=P(t),H(this[t]))return this[t](e);return this}function fs(t,e){return(t%e+e)%e}var S;Array.prototype.indexOf?S=Array.prototype.indexOf:S=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function he(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=fs(e,12);return t+=(e-n)/12,n===1?Et(t)?29:28:31-n%7%2}d("M",["MM",2],"Mo",function(){return this.month()+1}),d("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),d("MMMM",0,0,function(t){return this.localeData().months(this,t)}),h("M",v,ut),h("MM",v,T),h("MMM",function(t,e){return e.monthsShortRegex(t)}),h("MMMM",function(t,e){return e.monthsRegex(t)}),w(["M","MM"],function(t,e){e[I]=m(t)-1}),w(["MMM","MMMM"],function(t,e,n,s){var i=n._locale.monthsParse(t,s,n._strict);i!=null?e[I]=i:f(n).invalidMonth=t});var ms="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ze="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ze=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,_s=pt,ys=pt;function gs(t,e){return t?R(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Ze).test(e)?"format":"standalone"][t.month()]:R(this._months)?this._months:this._months.standalone}function ps(t,e){return t?R(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Ze.test(e)?"format":"standalone"][t.month()]:R(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ws(t,e,n){var s,i,r,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=F([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();return n?e==="MMM"?(i=S.call(this._shortMonthsParse,a),i!==-1?i:null):(i=S.call(this._longMonthsParse,a),i!==-1?i:null):e==="MMM"?(i=S.call(this._shortMonthsParse,a),i!==-1?i:(i=S.call(this._longMonthsParse,a),i!==-1?i:null)):(i=S.call(this._longMonthsParse,a),i!==-1?i:(i=S.call(this._shortMonthsParse,a),i!==-1?i:null))}function vs(t,e,n){var s,i,r;if(this._monthsParseExact)return ws.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++)if(i=F([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),!n&&!this._monthsParse[s]&&(r="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[s]=new RegExp(r.replace(".",""),"i")),n&&e==="MMMM"&&this._longMonthsParse[s].test(t)||n&&e==="MMM"&&this._shortMonthsParse[s].test(t)||!n&&this._monthsParse[s].test(t))return s}function Be(t,e){if(!t.isValid())return t;if(typeof e=="string"){if(/^\d+$/.test(e))e=m(e);else if(e=t.localeData().monthsParse(e),!G(e))return t}var n=e,s=t.date();return s=s<29?s:Math.min(s,he(t.year(),n)),t._isUTC?t._d.setUTCMonth(n,s):t._d.setMonth(n,s),t}function $e(t){return t!=null?(Be(this,t),l.updateOffset(this,!0),this):kt(this,"Month")}function ks(){return he(this.year(),this.month())}function Ms(t){return this._monthsParseExact?(g(this,"_monthsRegex")||qe.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=_s),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function Ss(t){return this._monthsParseExact?(g(this,"_monthsRegex")||qe.call(this),t?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=ys),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function qe(){function t(c,_){return _.length-c.length}var e=[],n=[],s=[],i,r,a,u;for(i=0;i<12;i++)r=F([2e3,i]),a=A(this.monthsShort(r,"")),u=A(this.months(r,"")),e.push(a),n.push(u),s.push(u),s.push(a);e.sort(t),n.sort(t),s.sort(t),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}function Ds(t,e,n,s,i,r,a){var u;return t<100&&t>=0?(u=new Date(t+400,e,n,s,i,r,a),isFinite(u.getFullYear())&&u.setFullYear(t)):u=new Date(t,e,n,s,i,r,a),u}function Mt(t){var e,n;return t<100&&t>=0?(n=Array.prototype.slice.call(arguments),n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Ft(t,e,n){var s=7+e-n,i=(7+Mt(t,0,s).getUTCDay()-e)%7;return-i+s-1}function Je(t,e,n,s,i){var r=(7+n-s)%7,a=Ft(t,s,i),u=1+7*(e-1)+r+a,c,_;return u<=0?(c=t-1,_=vt(c)+u):u>vt(t)?(c=t+1,_=u-vt(t)):(c=t,_=u),{year:c,dayOfYear:_}}function St(t,e,n){var s=Ft(t.year(),e,n),i=Math.floor((t.dayOfYear()-s-1)/7)+1,r,a;return i<1?(a=t.year()-1,r=i+z(a,e,n)):i>z(t.year(),e,n)?(r=i-z(t.year(),e,n),a=t.year()+1):(a=t.year(),r=i),{week:r,year:a}}function z(t,e,n){var s=Ft(t,e,n),i=Ft(t+1,e,n);return(vt(t)-s+i)/7}d("w",["ww",2],"wo","week"),d("W",["WW",2],"Wo","isoWeek"),h("w",v,ut),h("ww",v,T),h("W",v,ut),h("WW",v,T),wt(["w","ww","W","WW"],function(t,e,n,s){e[s.substr(0,1)]=m(t)});function Ys(t){return St(t,this._week.dow,this._week.doy).week}var xs={dow:0,doy:6};function Os(){return this._week.dow}function Ts(){return this._week.doy}function bs(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function Ns(t){var e=St(this,1,4).week;return t==null?e:this.add((t-e)*7,"d")}d("d",0,"do","day"),d("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),d("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),d("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),d("e",0,0,"weekday"),d("E",0,0,"isoWeekday"),h("d",v),h("e",v),h("E",v),h("dd",function(t,e){return e.weekdaysMinRegex(t)}),h("ddd",function(t,e){return e.weekdaysShortRegex(t)}),h("dddd",function(t,e){return e.weekdaysRegex(t)}),wt(["dd","ddd","dddd"],function(t,e,n,s){var i=n._locale.weekdaysParse(t,s,n._strict);i!=null?e.d=i:f(n).invalidWeekday=t}),wt(["d","e","E"],function(t,e,n,s){e[s]=m(t)});function Ps(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function Cs(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function de(t,e){return t.slice(e,7).concat(t.slice(0,e))}var Rs="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ws="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ls=pt,Es=pt,Fs=pt;function Hs(t,e){var n=R(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?de(n,this._week.dow):t?n[t.day()]:n}function Us(t){return t===!0?de(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function js(t){return t===!0?de(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Gs(t,e,n){var s,i,r,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=F([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return n?e==="dddd"?(i=S.call(this._weekdaysParse,a),i!==-1?i:null):e==="ddd"?(i=S.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=S.call(this._minWeekdaysParse,a),i!==-1?i:null):e==="dddd"?(i=S.call(this._weekdaysParse,a),i!==-1||(i=S.call(this._shortWeekdaysParse,a),i!==-1)?i:(i=S.call(this._minWeekdaysParse,a),i!==-1?i:null)):e==="ddd"?(i=S.call(this._shortWeekdaysParse,a),i!==-1||(i=S.call(this._weekdaysParse,a),i!==-1)?i:(i=S.call(this._minWeekdaysParse,a),i!==-1?i:null)):(i=S.call(this._minWeekdaysParse,a),i!==-1||(i=S.call(this._weekdaysParse,a),i!==-1)?i:(i=S.call(this._shortWeekdaysParse,a),i!==-1?i:null))}function As(t,e,n){var s,i,r;if(this._weekdaysParseExact)return Gs.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++)if(i=F([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(r="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=new RegExp(r.replace(".",""),"i")),n&&e==="dddd"&&this._fullWeekdaysParse[s].test(t)||n&&e==="ddd"&&this._shortWeekdaysParse[s].test(t)||n&&e==="dd"&&this._minWeekdaysParse[s].test(t)||!n&&this._weekdaysParse[s].test(t))return s}function Is(t){if(!this.isValid())return t!=null?this:NaN;var e=kt(this,"Day");return t!=null?(t=Ps(t,this.localeData()),this.add(t-e,"d")):e}function Vs(t){if(!this.isValid())return t!=null?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return t==null?e:this.add(t-e,"d")}function zs(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=Cs(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function Zs(t){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ce.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=Ls),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Bs(t){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ce.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Es),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function $s(t){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||ce.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Fs),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ce(){function t(x,J){return J.length-x.length}var e=[],n=[],s=[],i=[],r,a,u,c,_;for(r=0;r<7;r++)a=F([2e3,1]).day(r),u=A(this.weekdaysMin(a,"")),c=A(this.weekdaysShort(a,"")),_=A(this.weekdays(a,"")),e.push(u),n.push(c),s.push(_),i.push(u),i.push(c),i.push(_);e.sort(t),n.sort(t),s.sort(t),i.sort(t),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function fe(){return this.hours()%12||12}function qs(){return this.hours()||24}d("H",["HH",2],0,"hour"),d("h",["hh",2],0,fe),d("k",["kk",2],0,qs),d("hmm",0,0,function(){return""+fe.apply(this)+U(this.minutes(),2)}),d("hmmss",0,0,function(){return""+fe.apply(this)+U(this.minutes(),2)+U(this.seconds(),2)}),d("Hmm",0,0,function(){return""+this.hours()+U(this.minutes(),2)}),d("Hmmss",0,0,function(){return""+this.hours()+U(this.minutes(),2)+U(this.seconds(),2)});function Xe(t,e){d(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}Xe("a",!0),Xe("A",!1);function Ke(t,e){return e._meridiemParse}h("a",Ke),h("A",Ke),h("H",v,ue),h("h",v,ut),h("k",v,ut),h("HH",v,T),h("hh",v,T),h("kk",v,T),h("hmm",Ge),h("hmmss",Ae),h("Hmm",Ge),h("Hmmss",Ae),w(["H","HH"],D),w(["k","kk"],function(t,e,n){var s=m(t);e[D]=s===24?0:s}),w(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),w(["h","hh"],function(t,e,n){e[D]=m(t),f(n).bigHour=!0}),w("hmm",function(t,e,n){var s=t.length-2;e[D]=m(t.substr(0,s)),e[L]=m(t.substr(s)),f(n).bigHour=!0}),w("hmmss",function(t,e,n){var s=t.length-4,i=t.length-2;e[D]=m(t.substr(0,s)),e[L]=m(t.substr(s,2)),e[V]=m(t.substr(i)),f(n).bigHour=!0}),w("Hmm",function(t,e,n){var s=t.length-2;e[D]=m(t.substr(0,s)),e[L]=m(t.substr(s))}),w("Hmmss",function(t,e,n){var s=t.length-4,i=t.length-2;e[D]=m(t.substr(0,s)),e[L]=m(t.substr(s,2)),e[V]=m(t.substr(i))});function Js(t){return(t+"").toLowerCase().charAt(0)==="p"}var Qs=/[ap]\.?m?\.?/i,Xs=lt("Hours",!0);function Ks(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var tn={calendar:Gn,longDateFormat:zn,invalidDate:Bn,ordinal:qn,dayOfMonthOrdinalParse:Jn,relativeTime:Xn,months:ms,monthsShort:ze,week:xs,weekdays:Rs,weekdaysMin:Ws,weekdaysShort:Qe,meridiemParse:Qs},M={},Dt={},Yt;function ti(t,e){var n,s=Math.min(t.length,e.length);for(n=0;n<s;n+=1)if(t[n]!==e[n])return n;return s}function en(t){return t&&t.toLowerCase().replace("_","-")}function ei(t){for(var e=0,n,s,i,r;e<t.length;){for(r=en(t[e]).split("-"),n=r.length,s=en(t[e+1]),s=s?s.split("-"):null;n>0;){if(i=Ht(r.slice(0,n).join("-")),i)return i;if(s&&s.length>=n&&ti(r,s)>=n-1)break;n--}e++}return Yt}function ni(t){return!!(t&&t.match("^[^/\\\\]*$"))}function Ht(t){var e=null,n;if(M[t]===void 0&&typeof module<"u"&&module&&module.exports&&ni(t))try{e=Yt._abbr,n=require,n("./locale/"+t),K(e)}catch{M[t]=null}return M[t]}function K(t,e){var n;return t&&(O(e)?n=Z(t):n=me(t,e),n?Yt=n:typeof console<"u"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Yt._abbr}function me(t,e){if(e!==null){var n,s=tn;if(e.abbr=t,M[t]!=null)Ee("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=M[t]._config;else if(e.parentLocale!=null)if(M[e.parentLocale]!=null)s=M[e.parentLocale]._config;else if(n=Ht(e.parentLocale),n!=null)s=n._config;else return Dt[e.parentLocale]||(Dt[e.parentLocale]=[]),Dt[e.parentLocale].push({name:t,config:e}),null;return M[t]=new ee(te(s,e)),Dt[t]&&Dt[t].forEach(function(i){me(i.name,i.config)}),K(t),M[t]}else return delete M[t],null}function si(t,e){if(e!=null){var n,s,i=tn;M[t]!=null&&M[t].parentLocale!=null?M[t].set(te(M[t]._config,e)):(s=Ht(t),s!=null&&(i=s._config),e=te(i,e),s==null&&(e.abbr=t),n=new ee(e),n.parentLocale=M[t],M[t]=n),K(t)}else M[t]!=null&&(M[t].parentLocale!=null?(M[t]=M[t].parentLocale,t===K()&&K(t)):M[t]!=null&&delete M[t]);return M[t]}function Z(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Yt;if(!R(t)){if(e=Ht(t),e)return e;t=[t]}return ei(t)}function ii(){return ne(M)}function _e(t){var e,n=t._a;return n&&f(t).overflow===-2&&(e=n[I]<0||n[I]>11?I:n[j]<1||n[j]>he(n[Y],n[I])?j:n[D]<0||n[D]>24||n[D]===24&&(n[L]!==0||n[V]!==0||n[st]!==0)?D:n[L]<0||n[L]>59?L:n[V]<0||n[V]>59?V:n[st]<0||n[st]>999?st:-1,f(t)._overflowDayOfYear&&(e<Y||e>j)&&(e=j),f(t)._overflowWeeks&&e===-1&&(e=us),f(t)._overflowWeekday&&e===-1&&(e=ls),f(t).overflow=e),t}var ri=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ai=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,oi=/Z|[+-]\d\d(?::?\d\d)?/,Ut=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ye=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ui=/^\/?Date\((-?\d+)/i,li=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,hi={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function nn(t){var e,n,s=t._i,i=ri.exec(s)||ai.exec(s),r,a,u,c,_=Ut.length,x=ye.length;if(i){for(f(t).iso=!0,e=0,n=_;e<n;e++)if(Ut[e][1].exec(i[1])){a=Ut[e][0],r=Ut[e][2]!==!1;break}if(a==null){t._isValid=!1;return}if(i[3]){for(e=0,n=x;e<n;e++)if(ye[e][1].exec(i[3])){u=(i[2]||" ")+ye[e][0];break}if(u==null){t._isValid=!1;return}}if(!r&&u!=null){t._isValid=!1;return}if(i[4])if(oi.exec(i[4]))c="Z";else{t._isValid=!1;return}t._f=a+(u||"")+(c||""),pe(t)}else t._isValid=!1}function di(t,e,n,s,i,r){var a=[ci(t),ze.indexOf(e),parseInt(n,10),parseInt(s,10),parseInt(i,10)];return r&&a.push(parseInt(r,10)),a}function ci(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function fi(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function mi(t,e,n){if(t){var s=Qe.indexOf(t),i=new Date(e[0],e[1],e[2]).getDay();if(s!==i)return f(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function _i(t,e,n){if(t)return hi[t];if(e)return 0;var s=parseInt(n,10),i=s%100,r=(s-i)/100;return r*60+i}function sn(t){var e=li.exec(fi(t._i)),n;if(e){if(n=di(e[4],e[3],e[2],e[5],e[6],e[7]),!mi(e[1],n,t))return;t._a=n,t._tzm=_i(e[8],e[9],e[10]),t._d=Mt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),f(t).rfc2822=!0}else t._isValid=!1}function yi(t){var e=ui.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(nn(t),t._isValid===!1)delete t._isValid;else return;if(sn(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:l.createFromInputFallback(t)}l.createFromInputFallback=N("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))});function ht(t,e,n){return t??e??n}function gi(t){var e=new Date(l.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function ge(t){var e,n,s=[],i,r,a;if(!t._d){for(i=gi(t),t._w&&t._a[j]==null&&t._a[I]==null&&pi(t),t._dayOfYear!=null&&(a=ht(t._a[Y],i[Y]),(t._dayOfYear>vt(a)||t._dayOfYear===0)&&(f(t)._overflowDayOfYear=!0),n=Mt(a,0,t._dayOfYear),t._a[I]=n.getUTCMonth(),t._a[j]=n.getUTCDate()),e=0;e<3&&t._a[e]==null;++e)t._a[e]=s[e]=i[e];for(;e<7;e++)t._a[e]=s[e]=t._a[e]==null?e===2?1:0:t._a[e];t._a[D]===24&&t._a[L]===0&&t._a[V]===0&&t._a[st]===0&&(t._nextDay=!0,t._a[D]=0),t._d=(t._useUTC?Mt:Ds).apply(null,s),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),t._tzm!=null&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[D]=24),t._w&&typeof t._w.d<"u"&&t._w.d!==r&&(f(t).weekdayMismatch=!0)}}function pi(t){var e,n,s,i,r,a,u,c,_;e=t._w,e.GG!=null||e.W!=null||e.E!=null?(r=1,a=4,n=ht(e.GG,t._a[Y],St(k(),1,4).year),s=ht(e.W,1),i=ht(e.E,1),(i<1||i>7)&&(c=!0)):(r=t._locale._week.dow,a=t._locale._week.doy,_=St(k(),r,a),n=ht(e.gg,t._a[Y],_.year),s=ht(e.w,_.week),e.d!=null?(i=e.d,(i<0||i>6)&&(c=!0)):e.e!=null?(i=e.e+r,(e.e<0||e.e>6)&&(c=!0)):i=r),s<1||s>z(n,r,a)?f(t)._overflowWeeks=!0:c!=null?f(t)._overflowWeekday=!0:(u=Je(n,s,i,r,a),t._a[Y]=u.year,t._dayOfYear=u.dayOfYear)}l.ISO_8601=function(){},l.RFC_2822=function(){};function pe(t){if(t._f===l.ISO_8601){nn(t);return}if(t._f===l.RFC_2822){sn(t);return}t._a=[],f(t).empty=!0;var e=""+t._i,n,s,i,r,a,u=e.length,c=0,_,x;for(i=Fe(t._f,t._locale).match(se)||[],x=i.length,n=0;n<x;n++)r=i[n],s=(e.match(rs(r,t))||[])[0],s&&(a=e.substr(0,e.indexOf(s)),a.length>0&&f(t).unusedInput.push(a),e=e.slice(e.indexOf(s)+s.length),c+=s.length),at[r]?(s?f(t).empty=!1:f(t).unusedTokens.push(r),os(r,s,t)):t._strict&&!s&&f(t).unusedTokens.push(r);f(t).charsLeftOver=u-c,e.length>0&&f(t).unusedInput.push(e),t._a[D]<=12&&f(t).bigHour===!0&&t._a[D]>0&&(f(t).bigHour=void 0),f(t).parsedDateParts=t._a.slice(0),f(t).meridiem=t._meridiem,t._a[D]=wi(t._locale,t._a[D],t._meridiem),_=f(t).era,_!==null&&(t._a[Y]=t._locale.erasConvertYear(_,t._a[Y])),ge(t),_e(t)}function wi(t,e,n){var s;return n==null?e:t.meridiemHour!=null?t.meridiemHour(e,n):(t.isPM!=null&&(s=t.isPM(n),s&&e<12&&(e+=12),!s&&e===12&&(e=0)),e)}function vi(t){var e,n,s,i,r,a,u=!1,c=t._f.length;if(c===0){f(t).invalidFormat=!0,t._d=new Date(NaN);return}for(i=0;i<c;i++)r=0,a=!1,e=Kt({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[i],pe(e),Qt(e)&&(a=!0),r+=f(e).charsLeftOver,r+=f(e).unusedTokens.length*10,f(e).score=r,u?r<s&&(s=r,n=e):(s==null||r<s||a)&&(s=r,n=e,a&&(u=!0));X(t,n||e)}function ki(t){if(!t._d){var e=re(t._i),n=e.day===void 0?e.date:e.day;t._a=Ce([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],function(s){return s&&parseInt(s,10)}),ge(t)}}function Mi(t){var e=new gt(_e(rn(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function rn(t){var e=t._i,n=t._f;return t._locale=t._locale||Z(t._l),e===null||n===void 0&&e===""?Ot({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),W(e)?new gt(_e(e)):(yt(e)?t._d=e:R(n)?vi(t):n?pe(t):Si(t),Qt(t)||(t._d=null),t))}function Si(t){var e=t._i;O(e)?t._d=new Date(l.now()):yt(e)?t._d=new Date(e.valueOf()):typeof e=="string"?yi(t):R(e)?(t._a=Ce(e.slice(0),function(n){return parseInt(n,10)}),ge(t)):nt(e)?ki(t):G(e)?t._d=new Date(e):l.createFromInputFallback(t)}function an(t,e,n,s,i){var r={};return(e===!0||e===!1)&&(s=e,e=void 0),(n===!0||n===!1)&&(s=n,n=void 0),(nt(t)&&qt(t)||R(t)&&t.length===0)&&(t=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=i,r._l=n,r._i=t,r._f=e,r._strict=s,Mi(r)}function k(t,e,n,s){return an(t,e,n,s,!1)}var Di=N("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=k.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:Ot()}),Yi=N("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=k.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:Ot()});function on(t,e){var n,s;if(e.length===1&&R(e[0])&&(e=e[0]),!e.length)return k();for(n=e[0],s=1;s<e.length;++s)(!e[s].isValid()||e[s][t](n))&&(n=e[s]);return n}function xi(){var t=[].slice.call(arguments,0);return on("isBefore",t)}function Oi(){var t=[].slice.call(arguments,0);return on("isAfter",t)}var Ti=function(){return Date.now?Date.now():+new Date},xt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function bi(t){var e,n=!1,s,i=xt.length;for(e in t)if(g(t,e)&&!(S.call(xt,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(s=0;s<i;++s)if(t[xt[s]]){if(n)return!1;parseFloat(t[xt[s]])!==m(t[xt[s]])&&(n=!0)}return!0}function Ni(){return this._isValid}function Pi(){return E(NaN)}function jt(t){var e=re(t),n=e.year||0,s=e.quarter||0,i=e.month||0,r=e.week||e.isoWeek||0,a=e.day||0,u=e.hour||0,c=e.minute||0,_=e.second||0,x=e.millisecond||0;this._isValid=bi(e),this._milliseconds=+x+_*1e3+c*6e4+u*1e3*60*60,this._days=+a+r*7,this._months=+i+s*3+n*12,this._data={},this._locale=Z(),this._bubble()}function Gt(t){return t instanceof jt}function we(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function Ci(t,e,n){var s=Math.min(t.length,e.length),i=Math.abs(t.length-e.length),r=0,a;for(a=0;a<s;a++)m(t[a])!==m(e[a])&&r++;return r+i}function un(t,e){d(t,0,0,function(){var n=this.utcOffset(),s="+";return n<0&&(n=-n,s="-"),s+U(~~(n/60),2)+e+U(~~n%60,2)})}un("Z",":"),un("ZZ",""),h("Z",Wt),h("ZZ",Wt),w(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=ve(Wt,t)});var Ri=/([\+\-]|\d\d)/gi;function ve(t,e){var n=(e||"").match(t),s,i,r;return n===null?null:(s=n[n.length-1]||[],i=(s+"").match(Ri)||["-",0,0],r=+(i[1]*60)+m(i[2]),r===0?0:i[0]==="+"?r:-r)}function ke(t,e){var n,s;return e._isUTC?(n=e.clone(),s=(W(t)||yt(t)?t.valueOf():k(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+s),l.updateOffset(n,!1),n):k(t).local()}function Me(t){return-Math.round(t._d.getTimezoneOffset())}l.updateOffset=function(){};function Wi(t,e,n){var s=this._offset||0,i;if(!this.isValid())return t!=null?this:NaN;if(t!=null){if(typeof t=="string"){if(t=ve(Wt,t),t===null)return this}else Math.abs(t)<16&&!n&&(t=t*60);return!this._isUTC&&e&&(i=Me(this)),this._offset=t,this._isUTC=!0,i!=null&&this.add(i,"m"),s!==t&&(!e||this._changeInProgress?cn(this,E(t-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,l.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:Me(this)}function Li(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Ei(t){return this.utcOffset(0,t)}function Fi(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Me(this),"m")),this}function Hi(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=ve(ss,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function Ui(t){return this.isValid()?(t=t?k(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function ji(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Gi(){if(!O(this._isDSTShifted))return this._isDSTShifted;var t={},e;return Kt(t,this),t=rn(t),t._a?(e=t._isUTC?F(t._a):k(t._a),this._isDSTShifted=this.isValid()&&Ci(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Ai(){return this.isValid()?!this._isUTC:!1}function Ii(){return this.isValid()?this._isUTC:!1}function ln(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Vi=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,zi=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function E(t,e){var n=t,s=null,i,r,a;return Gt(t)?n={ms:t._milliseconds,d:t._days,M:t._months}:G(t)||!isNaN(+t)?(n={},e?n[e]=+t:n.milliseconds=+t):(s=Vi.exec(t))?(i=s[1]==="-"?-1:1,n={y:0,d:m(s[j])*i,h:m(s[D])*i,m:m(s[L])*i,s:m(s[V])*i,ms:m(we(s[st]*1e3))*i}):(s=zi.exec(t))?(i=s[1]==="-"?-1:1,n={y:it(s[2],i),M:it(s[3],i),w:it(s[4],i),d:it(s[5],i),h:it(s[6],i),m:it(s[7],i),s:it(s[8],i)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(a=Zi(k(n.from),k(n.to)),n={},n.ms=a.milliseconds,n.M=a.months),r=new jt(n),Gt(t)&&g(t,"_locale")&&(r._locale=t._locale),Gt(t)&&g(t,"_isValid")&&(r._isValid=t._isValid),r}E.fn=jt.prototype,E.invalid=Pi;function it(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function hn(t,e){var n={};return n.months=e.month()-t.month()+(e.year()-t.year())*12,t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Zi(t,e){var n;return t.isValid()&&e.isValid()?(e=ke(e,t),t.isBefore(e)?n=hn(t,e):(n=hn(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function dn(t,e){return function(n,s){var i,r;return s!==null&&!isNaN(+s)&&(Ee(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=s,s=r),i=E(n,s),cn(this,i,t),this}}function cn(t,e,n,s){var i=e._milliseconds,r=we(e._days),a=we(e._months);t.isValid()&&(s=s??!0,a&&Be(t,kt(t,"Month")+a*n),r&&Ve(t,"Date",kt(t,"Date")+r*n),i&&t._d.setTime(t._d.valueOf()+i*n),s&&l.updateOffset(t,r||a))}var Bi=dn(1,"add"),$i=dn(-1,"subtract");function fn(t){return typeof t=="string"||t instanceof String}function qi(t){return W(t)||yt(t)||fn(t)||G(t)||Qi(t)||Ji(t)||t===null||t===void 0}function Ji(t){var e=nt(t)&&!qt(t),n=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i,r,a=s.length;for(i=0;i<a;i+=1)r=s[i],n=n||g(t,r);return e&&n}function Qi(t){var e=R(t),n=!1;return e&&(n=t.filter(function(s){return!G(s)&&fn(t)}).length===0),e&&n}function Xi(t){var e=nt(t)&&!qt(t),n=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,r;for(i=0;i<s.length;i+=1)r=s[i],n=n||g(t,r);return e&&n}function Ki(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function tr(t,e){arguments.length===1&&(arguments[0]?qi(arguments[0])?(t=arguments[0],e=void 0):Xi(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||k(),s=ke(n,this).startOf("day"),i=l.calendarFormat(this,s)||"sameElse",r=e&&(H(e[i])?e[i].call(this,n):e[i]);return this.format(r||this.localeData().calendar(i,this,k(n)))}function er(){return new gt(this)}function nr(t,e){var n=W(t)?t:k(t);return this.isValid()&&n.isValid()?(e=P(e)||"millisecond",e==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf()):!1}function sr(t,e){var n=W(t)?t:k(t);return this.isValid()&&n.isValid()?(e=P(e)||"millisecond",e==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf()):!1}function ir(t,e,n,s){var i=W(t)?t:k(t),r=W(e)?e:k(e);return this.isValid()&&i.isValid()&&r.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(i,n):!this.isBefore(i,n))&&(s[1]===")"?this.isBefore(r,n):!this.isAfter(r,n))):!1}function rr(t,e){var n=W(t)?t:k(t),s;return this.isValid()&&n.isValid()?(e=P(e)||"millisecond",e==="millisecond"?this.valueOf()===n.valueOf():(s=n.valueOf(),this.clone().startOf(e).valueOf()<=s&&s<=this.clone().endOf(e).valueOf())):!1}function ar(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function or(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function ur(t,e,n){var s,i,r;if(!this.isValid())return NaN;if(s=ke(t,this),!s.isValid())return NaN;switch(i=(s.utcOffset()-this.utcOffset())*6e4,e=P(e),e){case"year":r=At(this,s)/12;break;case"month":r=At(this,s);break;case"quarter":r=At(this,s)/3;break;case"second":r=(this-s)/1e3;break;case"minute":r=(this-s)/6e4;break;case"hour":r=(this-s)/36e5;break;case"day":r=(this-s-i)/864e5;break;case"week":r=(this-s-i)/6048e5;break;default:r=this-s}return n?r:C(r)}function At(t,e){if(t.date()<e.date())return-At(e,t);var n=(e.year()-t.year())*12+(e.month()-t.month()),s=t.clone().add(n,"months"),i,r;return e-s<0?(i=t.clone().add(n-1,"months"),r=(e-s)/(s-i)):(i=t.clone().add(n+1,"months"),r=(e-s)/(i-s)),-(n+r)||0}l.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",l.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function lr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function hr(t){if(!this.isValid())return null;var e=t!==!0,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?bt(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):H(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",bt(n,"Z")):bt(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function dr(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="",n,s,i,r;return this.isLocal()||(t=this.utcOffset()===0?"moment.utc":"moment.parseZone",e="Z"),n="["+t+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",r=e+'[")]',this.format(n+s+i+r)}function cr(t){t||(t=this.isUtc()?l.defaultFormatUtc:l.defaultFormat);var e=bt(this,t);return this.localeData().postformat(e)}function fr(t,e){return this.isValid()&&(W(t)&&t.isValid()||k(t).isValid())?E({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function mr(t){return this.from(k(),t)}function _r(t,e){return this.isValid()&&(W(t)&&t.isValid()||k(t).isValid())?E({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function yr(t){return this.to(k(),t)}function mn(t){var e;return t===void 0?this._locale._abbr:(e=Z(t),e!=null&&(this._locale=e),this)}var _n=N("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return t===void 0?this.localeData():this.locale(t)});function yn(){return this._locale}var It=1e3,dt=60*It,Vt=60*dt,gn=(365*400+97)*24*Vt;function ct(t,e){return(t%e+e)%e}function pn(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-gn:new Date(t,e,n).valueOf()}function wn(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-gn:Date.UTC(t,e,n)}function gr(t){var e,n;if(t=P(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?wn:pn,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=ct(e+(this._isUTC?0:this.utcOffset()*dt),Vt);break;case"minute":e=this._d.valueOf(),e-=ct(e,dt);break;case"second":e=this._d.valueOf(),e-=ct(e,It);break}return this._d.setTime(e),l.updateOffset(this,!0),this}function pr(t){var e,n;if(t=P(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?wn:pn,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=Vt-ct(e+(this._isUTC?0:this.utcOffset()*dt),Vt)-1;break;case"minute":e=this._d.valueOf(),e+=dt-ct(e,dt)-1;break;case"second":e=this._d.valueOf(),e+=It-ct(e,It)-1;break}return this._d.setTime(e),l.updateOffset(this,!0),this}function wr(){return this._d.valueOf()-(this._offset||0)*6e4}function vr(){return Math.floor(this.valueOf()/1e3)}function kr(){return new Date(this.valueOf())}function Mr(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function Sr(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Dr(){return this.isValid()?this.toISOString():null}function Yr(){return Qt(this)}function xr(){return X({},f(this))}function Or(){return f(this).overflow}function Tr(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}d("N",0,0,"eraAbbr"),d("NN",0,0,"eraAbbr"),d("NNN",0,0,"eraAbbr"),d("NNNN",0,0,"eraName"),d("NNNNN",0,0,"eraNarrow"),d("y",["y",1],"yo","eraYear"),d("y",["yy",2],0,"eraYear"),d("y",["yyy",3],0,"eraYear"),d("y",["yyyy",4],0,"eraYear"),h("N",Se),h("NN",Se),h("NNN",Se),h("NNNN",Ur),h("NNNNN",jr),w(["N","NN","NNN","NNNN","NNNNN"],function(t,e,n,s){var i=n._locale.erasParse(t,s,n._strict);i?f(n).era=i:f(n).invalidEra=t}),h("y",ot),h("yy",ot),h("yyy",ot),h("yyyy",ot),h("yo",Gr),w(["y","yy","yyy","yyyy"],Y),w(["yo"],function(t,e,n,s){var i;n._locale._eraYearOrdinalRegex&&(i=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[Y]=n._locale.eraYearOrdinalParse(t,i):e[Y]=parseInt(t,10)});function br(t,e){var n,s,i,r=this._eras||Z("en")._eras;for(n=0,s=r.length;n<s;++n){switch(typeof r[n].since){case"string":i=l(r[n].since).startOf("day"),r[n].since=i.valueOf();break}switch(typeof r[n].until){case"undefined":r[n].until=1/0;break;case"string":i=l(r[n].until).startOf("day").valueOf(),r[n].until=i.valueOf();break}}return r}function Nr(t,e,n){var s,i,r=this.eras(),a,u,c;for(t=t.toUpperCase(),s=0,i=r.length;s<i;++s)if(a=r[s].name.toUpperCase(),u=r[s].abbr.toUpperCase(),c=r[s].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(u===t)return r[s];break;case"NNNN":if(a===t)return r[s];break;case"NNNNN":if(c===t)return r[s];break}else if([a,u,c].indexOf(t)>=0)return r[s]}function Pr(t,e){var n=t.since<=t.until?1:-1;return e===void 0?l(t.since).year():l(t.since).year()+(e-t.offset)*n}function Cr(){var t,e,n,s=this.localeData().eras();for(t=0,e=s.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),s[t].since<=n&&n<=s[t].until||s[t].until<=n&&n<=s[t].since)return s[t].name;return""}function Rr(){var t,e,n,s=this.localeData().eras();for(t=0,e=s.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),s[t].since<=n&&n<=s[t].until||s[t].until<=n&&n<=s[t].since)return s[t].narrow;return""}function Wr(){var t,e,n,s=this.localeData().eras();for(t=0,e=s.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),s[t].since<=n&&n<=s[t].until||s[t].until<=n&&n<=s[t].since)return s[t].abbr;return""}function Lr(){var t,e,n,s,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t)if(n=i[t].since<=i[t].until?1:-1,s=this.clone().startOf("day").valueOf(),i[t].since<=s&&s<=i[t].until||i[t].until<=s&&s<=i[t].since)return(this.year()-l(i[t].since).year())*n+i[t].offset;return this.year()}function Er(t){return g(this,"_erasNameRegex")||De.call(this),t?this._erasNameRegex:this._erasRegex}function Fr(t){return g(this,"_erasAbbrRegex")||De.call(this),t?this._erasAbbrRegex:this._erasRegex}function Hr(t){return g(this,"_erasNarrowRegex")||De.call(this),t?this._erasNarrowRegex:this._erasRegex}function Se(t,e){return e.erasAbbrRegex(t)}function Ur(t,e){return e.erasNameRegex(t)}function jr(t,e){return e.erasNarrowRegex(t)}function Gr(t,e){return e._eraYearOrdinalRegex||ot}function De(){var t=[],e=[],n=[],s=[],i,r,a,u,c,_=this.eras();for(i=0,r=_.length;i<r;++i)a=A(_[i].name),u=A(_[i].abbr),c=A(_[i].narrow),e.push(a),t.push(u),n.push(c),s.push(a),s.push(u),s.push(c);this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}d(0,["gg",2],0,function(){return this.weekYear()%100}),d(0,["GG",2],0,function(){return this.isoWeekYear()%100});function zt(t,e){d(0,[t,t.length],0,e)}zt("gggg","weekYear"),zt("ggggg","weekYear"),zt("GGGG","isoWeekYear"),zt("GGGGG","isoWeekYear"),h("G",Rt),h("g",Rt),h("GG",v,T),h("gg",v,T),h("GGGG",oe,ae),h("gggg",oe,ae),h("GGGGG",Ct,Nt),h("ggggg",Ct,Nt),wt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,s){e[s.substr(0,2)]=m(t)}),wt(["gg","GG"],function(t,e,n,s){e[s]=l.parseTwoDigitYear(t)});function Ar(t){return vn.call(this,t,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Ir(t){return vn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Vr(){return z(this.year(),1,4)}function zr(){return z(this.isoWeekYear(),1,4)}function Zr(){var t=this.localeData()._week;return z(this.year(),t.dow,t.doy)}function Br(){var t=this.localeData()._week;return z(this.weekYear(),t.dow,t.doy)}function vn(t,e,n,s,i){var r;return t==null?St(this,s,i).year:(r=z(t,s,i),e>r&&(e=r),$r.call(this,t,e,n,s,i))}function $r(t,e,n,s,i){var r=Je(t,e,n,s,i),a=Mt(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}d("Q",0,"Qo","quarter"),h("Q",Ue),w("Q",function(t,e){e[I]=(m(t)-1)*3});function qr(t){return t==null?Math.ceil((this.month()+1)/3):this.month((t-1)*3+this.month()%3)}d("D",["DD",2],"Do","date"),h("D",v,ut),h("DD",v,T),h("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),w(["D","DD"],j),w("Do",function(t,e){e[j]=m(t.match(v)[0])});var kn=lt("Date",!0);d("DDD",["DDDD",3],"DDDo","dayOfYear"),h("DDD",Pt),h("DDDD",je),w(["DDD","DDDD"],function(t,e,n){n._dayOfYear=m(t)});function Jr(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return t==null?e:this.add(t-e,"d")}d("m",["mm",2],0,"minute"),h("m",v,ue),h("mm",v,T),w(["m","mm"],L);var Qr=lt("Minutes",!1);d("s",["ss",2],0,"second"),h("s",v,ue),h("ss",v,T),w(["s","ss"],V);var Xr=lt("Seconds",!1);d("S",0,0,function(){return~~(this.millisecond()/100)}),d(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),d(0,["SSS",3],0,"millisecond"),d(0,["SSSS",4],0,function(){return this.millisecond()*10}),d(0,["SSSSS",5],0,function(){return this.millisecond()*100}),d(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),d(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),d(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),d(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),h("S",Pt,Ue),h("SS",Pt,T),h("SSS",Pt,je);var tt,Mn;for(tt="SSSS";tt.length<=9;tt+="S")h(tt,ot);function Kr(t,e){e[st]=m(("0."+t)*1e3)}for(tt="S";tt.length<=9;tt+="S")w(tt,Kr);Mn=lt("Milliseconds",!1),d("z",0,0,"zoneAbbr"),d("zz",0,0,"zoneName");function ta(){return this._isUTC?"UTC":""}function ea(){return this._isUTC?"Coordinated Universal Time":""}var o=gt.prototype;o.add=Bi,o.calendar=tr,o.clone=er,o.diff=ur,o.endOf=pr,o.format=cr,o.from=fr,o.fromNow=mr,o.to=_r,o.toNow=yr,o.get=ds,o.invalidAt=Or,o.isAfter=nr,o.isBefore=sr,o.isBetween=ir,o.isSame=rr,o.isSameOrAfter=ar,o.isSameOrBefore=or,o.isValid=Yr,o.lang=_n,o.locale=mn,o.localeData=yn,o.max=Yi,o.min=Di,o.parsingFlags=xr,o.set=cs,o.startOf=gr,o.subtract=$i,o.toArray=Mr,o.toObject=Sr,o.toDate=kr,o.toISOString=hr,o.inspect=dr,typeof Symbol<"u"&&Symbol.for!=null&&(o[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),o.toJSON=Dr,o.toString=lr,o.unix=vr,o.valueOf=wr,o.creationData=Tr,o.eraName=Cr,o.eraNarrow=Rr,o.eraAbbr=Wr,o.eraYear=Lr,o.year=Ie,o.isLeapYear=hs,o.weekYear=Ar,o.isoWeekYear=Ir,o.quarter=o.quarters=qr,o.month=$e,o.daysInMonth=ks,o.week=o.weeks=bs,o.isoWeek=o.isoWeeks=Ns,o.weeksInYear=Zr,o.weeksInWeekYear=Br,o.isoWeeksInYear=Vr,o.isoWeeksInISOWeekYear=zr,o.date=kn,o.day=o.days=Is,o.weekday=Vs,o.isoWeekday=zs,o.dayOfYear=Jr,o.hour=o.hours=Xs,o.minute=o.minutes=Qr,o.second=o.seconds=Xr,o.millisecond=o.milliseconds=Mn,o.utcOffset=Wi,o.utc=Ei,o.local=Fi,o.parseZone=Hi,o.hasAlignedHourOffset=Ui,o.isDST=ji,o.isLocal=Ai,o.isUtcOffset=Ii,o.isUtc=ln,o.isUTC=ln,o.zoneAbbr=ta,o.zoneName=ea,o.dates=N("dates accessor is deprecated. Use date instead.",kn),o.months=N("months accessor is deprecated. Use month instead",$e),o.years=N("years accessor is deprecated. Use year instead",Ie),o.zone=N("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Li),o.isDSTShifted=N("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Gi);function na(t){return k(t*1e3)}function sa(){return k.apply(null,arguments).parseZone()}function Sn(t){return t}var p=ee.prototype;p.calendar=An,p.longDateFormat=Zn,p.invalidDate=$n,p.ordinal=Qn,p.preparse=Sn,p.postformat=Sn,p.relativeTime=Kn,p.pastFuture=ts,p.set=jn,p.eras=br,p.erasParse=Nr,p.erasConvertYear=Pr,p.erasAbbrRegex=Fr,p.erasNameRegex=Er,p.erasNarrowRegex=Hr,p.months=gs,p.monthsShort=ps,p.monthsParse=vs,p.monthsRegex=Ss,p.monthsShortRegex=Ms,p.week=Ys,p.firstDayOfYear=Ts,p.firstDayOfWeek=Os,p.weekdays=Hs,p.weekdaysMin=js,p.weekdaysShort=Us,p.weekdaysParse=As,p.weekdaysRegex=Zs,p.weekdaysShortRegex=Bs,p.weekdaysMinRegex=$s,p.isPM=Js,p.meridiem=Ks;function Zt(t,e,n,s){var i=Z(),r=F().set(s,e);return i[n](r,t)}function Dn(t,e,n){if(G(t)&&(e=t,t=void 0),t=t||"",e!=null)return Zt(t,e,n,"month");var s,i=[];for(s=0;s<12;s++)i[s]=Zt(t,s,n,"month");return i}function Ye(t,e,n,s){typeof t=="boolean"?(G(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,G(e)&&(n=e,e=void 0),e=e||"");var i=Z(),r=t?i._week.dow:0,a,u=[];if(n!=null)return Zt(e,(n+r)%7,s,"day");for(a=0;a<7;a++)u[a]=Zt(e,(a+r)%7,s,"day");return u}function ia(t,e){return Dn(t,e,"months")}function ra(t,e){return Dn(t,e,"monthsShort")}function aa(t,e,n){return Ye(t,e,n,"weekdays")}function oa(t,e,n){return Ye(t,e,n,"weekdaysShort")}function ua(t,e,n){return Ye(t,e,n,"weekdaysMin")}K("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=m(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return t+n}}),l.lang=N("moment.lang is deprecated. Use moment.locale instead.",K),l.langData=N("moment.langData is deprecated. Use moment.localeData instead.",Z);var B=Math.abs;function la(){var t=this._data;return this._milliseconds=B(this._milliseconds),this._days=B(this._days),this._months=B(this._months),t.milliseconds=B(t.milliseconds),t.seconds=B(t.seconds),t.minutes=B(t.minutes),t.hours=B(t.hours),t.months=B(t.months),t.years=B(t.years),this}function Yn(t,e,n,s){var i=E(e,n);return t._milliseconds+=s*i._milliseconds,t._days+=s*i._days,t._months+=s*i._months,t._bubble()}function ha(t,e){return Yn(this,t,e,1)}function da(t,e){return Yn(this,t,e,-1)}function xn(t){return t<0?Math.floor(t):Math.ceil(t)}function ca(){var t=this._milliseconds,e=this._days,n=this._months,s=this._data,i,r,a,u,c;return t>=0&&e>=0&&n>=0||t<=0&&e<=0&&n<=0||(t+=xn(xe(n)+e)*864e5,e=0,n=0),s.milliseconds=t%1e3,i=C(t/1e3),s.seconds=i%60,r=C(i/60),s.minutes=r%60,a=C(r/60),s.hours=a%24,e+=C(a/24),c=C(On(e)),n+=c,e-=xn(xe(c)),u=C(n/12),n%=12,s.days=e,s.months=n,s.years=u,this}function On(t){return t*4800/146097}function xe(t){return t*146097/4800}function fa(t){if(!this.isValid())return NaN;var e,n,s=this._milliseconds;if(t=P(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+s/864e5,n=this._months+On(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(xe(this._months)),t){case"week":return e/7+s/6048e5;case"day":return e+s/864e5;case"hour":return e*24+s/36e5;case"minute":return e*1440+s/6e4;case"second":return e*86400+s/1e3;case"millisecond":return Math.floor(e*864e5)+s;default:throw new Error("Unknown unit "+t)}}function $(t){return function(){return this.as(t)}}var Tn=$("ms"),ma=$("s"),_a=$("m"),ya=$("h"),ga=$("d"),pa=$("w"),wa=$("M"),va=$("Q"),ka=$("y"),Ma=Tn;function Sa(){return E(this)}function Da(t){return t=P(t),this.isValid()?this[t+"s"]():NaN}function rt(t){return function(){return this.isValid()?this._data[t]:NaN}}var Ya=rt("milliseconds"),xa=rt("seconds"),Oa=rt("minutes"),Ta=rt("hours"),ba=rt("days"),Na=rt("months"),Pa=rt("years");function Ca(){return C(this.days()/7)}var q=Math.round,ft={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ra(t,e,n,s,i){return i.relativeTime(e||1,!!n,t,s)}function Wa(t,e,n,s){var i=E(t).abs(),r=q(i.as("s")),a=q(i.as("m")),u=q(i.as("h")),c=q(i.as("d")),_=q(i.as("M")),x=q(i.as("w")),J=q(i.as("y")),et=r<=n.ss&&["s",r]||r<n.s&&["ss",r]||a<=1&&["m"]||a<n.m&&["mm",a]||u<=1&&["h"]||u<n.h&&["hh",u]||c<=1&&["d"]||c<n.d&&["dd",c];return n.w!=null&&(et=et||x<=1&&["w"]||x<n.w&&["ww",x]),et=et||_<=1&&["M"]||_<n.M&&["MM",_]||J<=1&&["y"]||["yy",J],et[2]=e,et[3]=+t>0,et[4]=s,Ra.apply(null,et)}function La(t){return t===void 0?q:typeof t=="function"?(q=t,!0):!1}function Ea(t,e){return ft[t]===void 0?!1:e===void 0?ft[t]:(ft[t]=e,t==="s"&&(ft.ss=e-1),!0)}function Fa(t,e){if(!this.isValid())return this.localeData().invalidDate();var n=!1,s=ft,i,r;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(n=t),typeof e=="object"&&(s=Object.assign({},ft,e),e.s!=null&&e.ss==null&&(s.ss=e.s-1)),i=this.localeData(),r=Wa(this,!n,s,i),n&&(r=i.pastFuture(+this,r)),i.postformat(r)}var Oe=Math.abs;function mt(t){return(t>0)-(t<0)||+t}function Bt(){if(!this.isValid())return this.localeData().invalidDate();var t=Oe(this._milliseconds)/1e3,e=Oe(this._days),n=Oe(this._months),s,i,r,a,u=this.asSeconds(),c,_,x,J;return u?(s=C(t/60),i=C(s/60),t%=60,s%=60,r=C(n/12),n%=12,a=t?t.toFixed(3).replace(/\.?0+$/,""):"",c=u<0?"-":"",_=mt(this._months)!==mt(u)?"-":"",x=mt(this._days)!==mt(u)?"-":"",J=mt(this._milliseconds)!==mt(u)?"-":"",c+"P"+(r?_+r+"Y":"")+(n?_+n+"M":"")+(e?x+e+"D":"")+(i||s||t?"T":"")+(i?J+i+"H":"")+(s?J+s+"M":"")+(t?J+a+"S":"")):"P0D"}var y=jt.prototype;y.isValid=Ni,y.abs=la,y.add=ha,y.subtract=da,y.as=fa,y.asMilliseconds=Tn,y.asSeconds=ma,y.asMinutes=_a,y.asHours=ya,y.asDays=ga,y.asWeeks=pa,y.asMonths=wa,y.asQuarters=va,y.asYears=ka,y.valueOf=Ma,y._bubble=ca,y.clone=Sa,y.get=Da,y.milliseconds=Ya,y.seconds=xa,y.minutes=Oa,y.hours=Ta,y.days=ba,y.weeks=Ca,y.months=Na,y.years=Pa,y.humanize=Fa,y.toISOString=Bt,y.toString=Bt,y.toJSON=Bt,y.locale=mn,y.localeData=yn,y.toIsoString=N("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Bt),y.lang=_n,d("X",0,0,"unix"),d("x",0,0,"valueOf"),h("x",Rt),h("X",is),w("X",function(t,e,n){n._d=new Date(parseFloat(t)*1e3)}),w("x",function(t,e,n){n._d=new Date(m(t))});//! moment.js
10
+ l.version="2.30.1",Hn(k),l.fn=o,l.min=xi,l.max=Oi,l.now=Ti,l.utc=F,l.unix=na,l.months=ia,l.isDate=yt,l.locale=K,l.invalid=Ot,l.duration=E,l.isMoment=W,l.weekdays=aa,l.parseZone=sa,l.localeData=Z,l.isDuration=Gt,l.monthsShort=ra,l.weekdaysMin=ua,l.defineLocale=me,l.updateLocale=si,l.locales=ii,l.weekdaysShort=oa,l.normalizeUnits=P,l.relativeTimeRounding=La,l.relativeTimeThreshold=Ea,l.calendarFormat=Ki,l.prototype=o,l.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const Ha=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,Ua=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,bn=/(janv\.?|févr\.?|avr\.?|juil\.?|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,Te=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i],ja={months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:bn,monthsShortRegex:bn,monthsStrictRegex:Ha,monthsShortStrictRegex:Ua,monthsParse:Te,longMonthsParse:Te,shortMonthsParse:Te,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:(t,e)=>{switch(e){case"D":return t+(t===1?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(t===1?"er":"e");case"w":case"W":return t+(t===1?"re":"e")}},week:{dow:1,doy:4}};l.locale("fr",ja);const Ga=t=>({x:Ne(t)?t:t.x||0,y:Ne(t)?t:t.y||0}),Aa={x:0,y:0,width:0,height:0,color:"white",padding:0,origin:_t.TOP_LEFT,composite:"source-over"},Ia=t=>({context:t.context,options:{...Aa},setPosition(e,n){return this.options.x=e,this.options.y=n,this},setDimensions(e,n){return this.options.width=e,this.options.height=n,this},setColor(e){return this.options.color=e,this},setPadding(e){return this.options.padding=e,this},setOrigin(e){return this.options.origin=e,this},setComposite(e){return this.options.composite=e,this},draw(){this.context.save(),this.context.globalCompositeOperation=this.options.composite;const{x:e,y:n}=$t[this.options.origin](this.options.x,this.options.y,this.options.width,this.options.height),s=Ga(this.options.padding);return this.context.fillStyle=Fn(this.options.color,t,e-s.x,n-s.y,e+this.options.width+s.x*2,n+this.options.height+s.y*2),this.context.fillRect(e-s.x,n-s.y,this.options.width+s.x*2,this.options.height+s.y*2),this.context.restore(),{width:this.options.width+s.x*2,next:i=>i(t,{...this.options,enable:!0})}}}),Va=(t,e)=>({options:{text:e.toString(),x:0,y:0,width:0,color:"white",backgroundColor:"transparent",font:null,fontSize:20,padding:0,origin:_t.TOP_LEFT},context:t.context,setText(s){return this.options.text=s,this},setPosition(s,i){return this.options.x=s,this.options.y=i,this},addPosition(s,i){return this.options.x+=s,this.options.y+=i,this},setFont(s,i){return this.options.font=s,this.options.fontSize=i,this},setColor(s){return this.options.color=s,this},setBackgroundColor(s){return this.options.backgroundColor=s,this},setPadding(s){return this.options.padding=s,this},setOrigin(s){return this.options.origin=s,this},setStroke(s){return this.options.stroke=s,this},draw(s=!0){if(!this.options.font)throw new Error("No font chose");this.context.save(),this.context.font=`${this.options.fontSize}px ${this.options.font}`,this.context.textBaseline="top";const{width:i}=this.context.measureText(this.options.text.toString());this.options.width=i;const{x:r,y:a}=$t[this.options.origin](this.options.x,this.options.y,i,this.options.fontSize);return this.options.backgroundColor!=="transparent"&&s&&t.Rectangle().setPadding(this.options.padding).setPosition(this.options.x,this.options.y).setDimensions(i,this.options.fontSize).setColor(this.options.backgroundColor).setOrigin(this.options.origin).draw(),this.context.fillStyle=this.options.color,s&&this.context.fillText(this.options.text.toString(),r,a),this.options.stroke&&s&&(this.context.strokeStyle=this.options.stroke.color,this.context.lineWidth=this.options.stroke.width,this.context.strokeText(this.options.text.toString(),r,a)),this.context.restore(),{width:i,next:u=>u(t,{...this.options,enable:s})}}}),za=(t,e)=>{const n=Q.createCanvas(t,e);return{context:n.getContext("2d"),width:t,height:e,Text(s){return Va(this,s)},Rectangle(){return Ia(this)},Image(){return Ln(this)},blur(){this.context.filter="blur(4px)"},encode(s){return n.encode(s)}}};b.CanvasOrigin=_t,b.GOLDEN_GRADIENT=Rn,b.createCanvas=za,b.loadImage=Nn,b.nextAllToXAxis=Cn,b.registerFont=Wn,Object.defineProperty(b,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opfr/canvas",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "private": false,
5
5
  "description": "OPFR canvas",
6
6
  "author": "Matthieu VEIGA",
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "dependencies": {
12
12
  "@napi-rs/canvas": "0.x",
13
- "@opfr/utils-lang": "^0.13.0"
13
+ "@opfr/utils-lang": "^0.14.0"
14
14
  },
15
15
  "main": "dist/index.umd.js",
16
16
  "module": "dist/index.es.js",
@@ -29,5 +29,5 @@
29
29
  "node_modules",
30
30
  "dist"
31
31
  ],
32
- "gitHead": "cc5ba57f50425328cc406970f383754efe6ddeb6"
32
+ "gitHead": "7e0baabc0a18dab2044771abfd0ba3279dc3f57f"
33
33
  }