vue-wiguet-chatweb 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -0
- package/dist/index.d.ts +4 -0
- package/dist/vue-wiguet-chatweb.js +318 -317
- package/dist/vue-wiguet-chatweb.umd.cjs +5 -5
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as Rt, computed as
|
1
|
+
import { defineComponent as Rt, computed as ps, openBlock as H, createElementBlock as j, createElementVNode as C, normalizeClass as is, toDisplayString as wt, unref as as, inject as kn, watch as gs, effectScope as On, reactive as Dn, ref as Me, onMounted as Mn, createVNode as Pe, Fragment as Cn, renderList as Tn, createBlock as En, withModifiers as Nn, withDirectives as xn, vModelText as Yn, pushScopeId as In, popScopeId as Wn, createStaticVNode as Rn, createCommentVNode as Ln } from "vue";
|
2
2
|
//! moment.js
|
3
3
|
//! version : 2.29.4
|
4
4
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
@@ -72,7 +72,7 @@ function An() {
|
|
72
72
|
weekdayMismatch: !1
|
73
73
|
};
|
74
74
|
}
|
75
|
-
function
|
75
|
+
function y(e) {
|
76
76
|
return e._pf == null && (e._pf = An()), e._pf;
|
77
77
|
}
|
78
78
|
var Mt;
|
@@ -85,7 +85,7 @@ Array.prototype.some ? Mt = Array.prototype.some : Mt = function(e) {
|
|
85
85
|
};
|
86
86
|
function Pt(e) {
|
87
87
|
if (e._isValid == null) {
|
88
|
-
var t =
|
88
|
+
var t = y(e), s = Mt.call(t.parsedDateParts, function(r) {
|
89
89
|
return r != null;
|
90
90
|
}), n = !isNaN(e._d.getTime()) && t.overflow < 0 && !t.empty && !t.invalidEra && !t.invalidMonth && !t.invalidWeekday && !t.weekdayMismatch && !t.nullInput && !t.invalidFormat && !t.userInvalidated && (!t.meridiem || t.meridiem && s);
|
91
91
|
if (e._strict && (n = n && t.charsLeftOver === 0 && t.unusedTokens.length === 0 && t.bigHour === void 0), Object.isFrozen == null || !Object.isFrozen(e))
|
@@ -97,12 +97,12 @@ function Pt(e) {
|
|
97
97
|
}
|
98
98
|
function ot(e) {
|
99
99
|
var t = X(NaN);
|
100
|
-
return e != null ? fe(
|
100
|
+
return e != null ? fe(y(t), e) : y(t).userInvalidated = !0, t;
|
101
101
|
}
|
102
102
|
var os = u.momentProperties = [], bt = !1;
|
103
103
|
function At(e, t) {
|
104
104
|
var s, n, r, i = os.length;
|
105
|
-
if (W(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), W(t._i) || (e._i = t._i), W(t._f) || (e._f = t._f), W(t._l) || (e._l = t._l), W(t._strict) || (e._strict = t._strict), W(t._tzm) || (e._tzm = t._tzm), W(t._isUTC) || (e._isUTC = t._isUTC), W(t._offset) || (e._offset = t._offset), W(t._pf) || (e._pf =
|
105
|
+
if (W(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), W(t._i) || (e._i = t._i), W(t._f) || (e._f = t._f), W(t._l) || (e._l = t._l), W(t._strict) || (e._strict = t._strict), W(t._tzm) || (e._tzm = t._tzm), W(t._isUTC) || (e._isUTC = t._isUTC), W(t._offset) || (e._offset = t._offset), W(t._pf) || (e._pf = y(t)), W(t._locale) || (e._locale = t._locale), i > 0)
|
106
106
|
for (s = 0; s < i; s++)
|
107
107
|
n = os[s], r = t[n], W(r) || (e[n] = r);
|
108
108
|
return e;
|
@@ -150,7 +150,7 @@ u.deprecationHandler = null;
|
|
150
150
|
function ee(e) {
|
151
151
|
return typeof Function < "u" && e instanceof Function || Object.prototype.toString.call(e) === "[object Function]";
|
152
152
|
}
|
153
|
-
function
|
153
|
+
function Vn(e) {
|
154
154
|
var t, s;
|
155
155
|
for (s in e)
|
156
156
|
w(e, s) && (t = e[s], ee(t) ? this[s] = t : this["_" + s] = t);
|
@@ -166,7 +166,7 @@ function Ct(e, t) {
|
|
166
166
|
w(e, n) && !w(t, n) && ge(e[n]) && (s[n] = fe({}, s[n]));
|
167
167
|
return s;
|
168
168
|
}
|
169
|
-
function
|
169
|
+
function Vt(e) {
|
170
170
|
e != null && this.set(e);
|
171
171
|
}
|
172
172
|
var Tt;
|
@@ -176,7 +176,7 @@ Object.keys ? Tt = Object.keys : Tt = function(e) {
|
|
176
176
|
w(e, t) && s.push(t);
|
177
177
|
return s;
|
178
178
|
};
|
179
|
-
var
|
179
|
+
var Fn = {
|
180
180
|
sameDay: "[Today at] LT",
|
181
181
|
nextDay: "[Tomorrow at] LT",
|
182
182
|
nextWeek: "dddd [at] LT",
|
@@ -184,7 +184,7 @@ var Hn = {
|
|
184
184
|
lastWeek: "[Last] dddd [at] LT",
|
185
185
|
sameElse: "L"
|
186
186
|
};
|
187
|
-
function
|
187
|
+
function Hn(e, t, s) {
|
188
188
|
var n = this._calendar[e] || this._calendar.sameElse;
|
189
189
|
return ee(n) ? n.call(t, s) : n;
|
190
190
|
}
|
@@ -192,14 +192,14 @@ function J(e, t, s) {
|
|
192
192
|
var n = "" + Math.abs(e), r = t - n.length, i = e >= 0;
|
193
193
|
return (i ? s ? "+" : "" : "-") + Math.pow(10, Math.max(0, r)).toString().substr(1) + n;
|
194
194
|
}
|
195
|
-
var
|
195
|
+
var Ft = /(\[[^\[]*\])|(\\)?([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, ze = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, St = {}, Ee = {};
|
196
196
|
function _(e, t, s, n) {
|
197
197
|
var r = n;
|
198
198
|
typeof n == "string" && (r = function() {
|
199
199
|
return this[n]();
|
200
|
-
}), e && (
|
200
|
+
}), e && (Ee[e] = r), t && (Ee[t[0]] = function() {
|
201
201
|
return J(r.apply(this, arguments), t[1], t[2]);
|
202
|
-
}), s && (
|
202
|
+
}), s && (Ee[s] = function() {
|
203
203
|
return this.localeData().ordinal(
|
204
204
|
r.apply(this, arguments),
|
205
205
|
e
|
@@ -210,9 +210,9 @@ function Un(e) {
|
|
210
210
|
return e.match(/\[[\s\S]/) ? e.replace(/^\[|\]$/g, "") : e.replace(/\\/g, "");
|
211
211
|
}
|
212
212
|
function Bn(e) {
|
213
|
-
var t = e.match(
|
213
|
+
var t = e.match(Ft), s, n;
|
214
214
|
for (s = 0, n = t.length; s < n; s++)
|
215
|
-
|
215
|
+
Ee[t[s]] ? t[s] = Ee[t[s]] : t[s] = Un(t[s]);
|
216
216
|
return function(r) {
|
217
217
|
var i = "", a;
|
218
218
|
for (a = 0; a < n; a++)
|
@@ -245,7 +245,7 @@ var $n = {
|
|
245
245
|
};
|
246
246
|
function jn(e) {
|
247
247
|
var t = this._longDateFormat[e], s = this._longDateFormat[e.toUpperCase()];
|
248
|
-
return t || !s ? t : (this._longDateFormat[e] = s.match(
|
248
|
+
return t || !s ? t : (this._longDateFormat[e] = s.match(Ft).map(function(n) {
|
249
249
|
return n === "MMMM" || n === "MM" || n === "DD" || n === "dddd" ? n.slice(1) : n;
|
250
250
|
}).join(""), this._longDateFormat[e]);
|
251
251
|
}
|
@@ -284,21 +284,21 @@ function Xn(e, t) {
|
|
284
284
|
return ee(s) ? s(t) : s.replace(/%s/i, t);
|
285
285
|
}
|
286
286
|
var Ae = {};
|
287
|
-
function
|
287
|
+
function x(e, t) {
|
288
288
|
var s = e.toLowerCase();
|
289
289
|
Ae[s] = Ae[s + "s"] = Ae[t] = e;
|
290
290
|
}
|
291
291
|
function B(e) {
|
292
292
|
return typeof e == "string" ? Ae[e] || Ae[e.toLowerCase()] : void 0;
|
293
293
|
}
|
294
|
-
function
|
294
|
+
function Ht(e) {
|
295
295
|
var t = {}, s, n;
|
296
296
|
for (n in e)
|
297
297
|
w(e, n) && (s = B(n), s && (t[s] = e[n]));
|
298
298
|
return t;
|
299
299
|
}
|
300
300
|
var Os = {};
|
301
|
-
function
|
301
|
+
function Y(e, t) {
|
302
302
|
Os[e] = t;
|
303
303
|
}
|
304
304
|
function er(e) {
|
@@ -312,14 +312,14 @@ function er(e) {
|
|
312
312
|
function ct(e) {
|
313
313
|
return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
|
314
314
|
}
|
315
|
-
function
|
315
|
+
function F(e) {
|
316
316
|
return e < 0 ? Math.ceil(e) || 0 : Math.floor(e);
|
317
317
|
}
|
318
|
-
function
|
318
|
+
function p(e) {
|
319
319
|
var t = +e, s = 0;
|
320
|
-
return t !== 0 && isFinite(t) && (s =
|
320
|
+
return t !== 0 && isFinite(t) && (s = F(t)), s;
|
321
321
|
}
|
322
|
-
function
|
322
|
+
function Ye(e, t) {
|
323
323
|
return function(s) {
|
324
324
|
return s != null ? (Ds(this, e, s), u.updateOffset(this, t), this) : et(this, e);
|
325
325
|
};
|
@@ -328,7 +328,7 @@ function et(e, t) {
|
|
328
328
|
return e.isValid() ? e._d["get" + (e._isUTC ? "UTC" : "") + t]() : NaN;
|
329
329
|
}
|
330
330
|
function Ds(e, t, s) {
|
331
|
-
e.isValid() && !isNaN(s) && (t === "FullYear" && ct(e.year()) && e.month() === 1 && e.date() === 29 ? (s =
|
331
|
+
e.isValid() && !isNaN(s) && (t === "FullYear" && ct(e.year()) && e.month() === 1 && e.date() === 29 ? (s = p(s), e._d["set" + (e._isUTC ? "UTC" : "") + t](
|
332
332
|
s,
|
333
333
|
e.month(),
|
334
334
|
_t(s, e.month())
|
@@ -339,7 +339,7 @@ function tr(e) {
|
|
339
339
|
}
|
340
340
|
function sr(e, t) {
|
341
341
|
if (typeof e == "object") {
|
342
|
-
e =
|
342
|
+
e = Ht(e);
|
343
343
|
var s = er(e), n, r = s.length;
|
344
344
|
for (n = 0; n < r; n++)
|
345
345
|
this[s[n].unit](e[s[n].unit]);
|
@@ -347,7 +347,7 @@ function sr(e, t) {
|
|
347
347
|
return this[e](t);
|
348
348
|
return this;
|
349
349
|
}
|
350
|
-
var Ms = /\d/, P = /\d\d/, Cs = /\d{3}/, Ut = /\d{4}/, lt = /[+-]?\d{6}/, D = /\d\d?/, Ts = /\d\d\d\d?/,
|
350
|
+
var Ms = /\d/, P = /\d\d/, Cs = /\d{3}/, Ut = /\d{4}/, lt = /[+-]?\d{6}/, D = /\d\d?/, Ts = /\d\d\d\d?/, Es = /\d\d\d\d\d\d?/, ut = /\d{1,3}/, Bt = /\d{1,4}/, dt = /[+-]?\d{1,6}/, Ie = /\d+/, ht = /[+-]?\d+/, nr = /Z|[+-]\d\d:?\d\d/gi, ft = /Z|[+-]\d\d(?::?\d\d)?/gi, rr = /[+-]?\d+(\.\d{1,3})?/, je = /[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, tt;
|
351
351
|
tt = {};
|
352
352
|
function d(e, t, s) {
|
353
353
|
tt[e] = ee(t) ? t : function(n, r) {
|
@@ -370,13 +370,13 @@ function ar(e) {
|
|
370
370
|
function L(e) {
|
371
371
|
return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
|
372
372
|
}
|
373
|
-
var
|
373
|
+
var Et = {};
|
374
374
|
function S(e, t) {
|
375
375
|
var s, n = t, r;
|
376
376
|
for (typeof e == "string" && (e = [e]), oe(t) && (n = function(i, a) {
|
377
|
-
a[t] =
|
377
|
+
a[t] = p(i);
|
378
378
|
}), r = e.length, s = 0; s < r; s++)
|
379
|
-
|
379
|
+
Et[e[s]] = n;
|
380
380
|
}
|
381
381
|
function Ge(e, t) {
|
382
382
|
S(e, function(s, n, r, i) {
|
@@ -384,9 +384,9 @@ function Ge(e, t) {
|
|
384
384
|
});
|
385
385
|
}
|
386
386
|
function or(e, t, s) {
|
387
|
-
t != null && w(
|
387
|
+
t != null && w(Et, e) && Et[e](t, s._a, s, e);
|
388
388
|
}
|
389
|
-
var
|
389
|
+
var N = 0, re = 1, Q = 2, E = 3, $ = 4, ie = 5, pe = 6, cr = 7, lr = 8;
|
390
390
|
function ur(e, t) {
|
391
391
|
return (e % t + t) % t;
|
392
392
|
}
|
@@ -413,8 +413,8 @@ _("MMM", 0, 0, function(e) {
|
|
413
413
|
_("MMMM", 0, 0, function(e) {
|
414
414
|
return this.localeData().months(this, e);
|
415
415
|
});
|
416
|
-
|
417
|
-
|
416
|
+
x("month", "M");
|
417
|
+
Y("month", 8);
|
418
418
|
d("M", D);
|
419
419
|
d("MM", D, P);
|
420
420
|
d("MMM", function(e, t) {
|
@@ -424,22 +424,22 @@ d("MMMM", function(e, t) {
|
|
424
424
|
return t.monthsRegex(e);
|
425
425
|
});
|
426
426
|
S(["M", "MM"], function(e, t) {
|
427
|
-
t[re] =
|
427
|
+
t[re] = p(e) - 1;
|
428
428
|
});
|
429
429
|
S(["MMM", "MMMM"], function(e, t, s, n) {
|
430
430
|
var r = s._locale.monthsParse(e, n, s._strict);
|
431
|
-
r != null ? t[re] = r :
|
431
|
+
r != null ? t[re] = r : y(s).invalidMonth = e;
|
432
432
|
});
|
433
433
|
var dr = "January_February_March_April_May_June_July_August_September_October_November_December".split(
|
434
434
|
"_"
|
435
|
-
),
|
435
|
+
), Ns = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), xs = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, hr = je, fr = je;
|
436
436
|
function _r(e, t) {
|
437
|
-
return e ? G(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat ||
|
437
|
+
return e ? G(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || xs).test(t) ? "format" : "standalone"][e.month()] : G(this._months) ? this._months : this._months.standalone;
|
438
438
|
}
|
439
439
|
function mr(e, t) {
|
440
|
-
return e ? G(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[
|
440
|
+
return e ? G(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[xs.test(t) ? "format" : "standalone"][e.month()] : G(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone;
|
441
441
|
}
|
442
|
-
function
|
442
|
+
function yr(e, t, s) {
|
443
443
|
var n, r, i, a = e.toLocaleLowerCase();
|
444
444
|
if (!this._monthsParse)
|
445
445
|
for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], n = 0; n < 12; ++n)
|
@@ -449,10 +449,10 @@ function pr(e, t, s) {
|
|
449
449
|
).toLocaleLowerCase(), this._longMonthsParse[n] = this.months(i, "").toLocaleLowerCase();
|
450
450
|
return s ? t === "MMM" ? (r = T.call(this._shortMonthsParse, a), r !== -1 ? r : null) : (r = T.call(this._longMonthsParse, a), r !== -1 ? r : null) : t === "MMM" ? (r = T.call(this._shortMonthsParse, a), r !== -1 ? r : (r = T.call(this._longMonthsParse, a), r !== -1 ? r : null)) : (r = T.call(this._longMonthsParse, a), r !== -1 ? r : (r = T.call(this._shortMonthsParse, a), r !== -1 ? r : null));
|
451
451
|
}
|
452
|
-
function
|
452
|
+
function pr(e, t, s) {
|
453
453
|
var n, r, i;
|
454
454
|
if (this._monthsParseExact)
|
455
|
-
return
|
455
|
+
return yr.call(this, e, t, s);
|
456
456
|
for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), n = 0; n < 12; n++) {
|
457
457
|
if (r = X([2e3, n]), s && !this._longMonthsParse[n] && (this._longMonthsParse[n] = new RegExp(
|
458
458
|
"^" + this.months(r, "").replace(".", "") + "$",
|
@@ -468,20 +468,20 @@ function yr(e, t, s) {
|
|
468
468
|
return n;
|
469
469
|
}
|
470
470
|
}
|
471
|
-
function
|
471
|
+
function Ys(e, t) {
|
472
472
|
var s;
|
473
473
|
if (!e.isValid())
|
474
474
|
return e;
|
475
475
|
if (typeof t == "string") {
|
476
476
|
if (/^\d+$/.test(t))
|
477
|
-
t =
|
477
|
+
t = p(t);
|
478
478
|
else if (t = e.localeData().monthsParse(t), !oe(t))
|
479
479
|
return e;
|
480
480
|
}
|
481
481
|
return s = Math.min(e.date(), _t(e.year(), t)), e._d["set" + (e._isUTC ? "UTC" : "") + "Month"](t, s), e;
|
482
482
|
}
|
483
483
|
function Is(e) {
|
484
|
-
return e != null ? (
|
484
|
+
return e != null ? (Ys(this, e), u.updateOffset(this, !0), this) : et(this, "Month");
|
485
485
|
}
|
486
486
|
function gr() {
|
487
487
|
return _t(this.year(), this.month());
|
@@ -521,30 +521,30 @@ _(0, ["YY", 2], 0, function() {
|
|
521
521
|
_(0, ["YYYY", 4], 0, "year");
|
522
522
|
_(0, ["YYYYY", 5], 0, "year");
|
523
523
|
_(0, ["YYYYYY", 6, !0], 0, "year");
|
524
|
-
|
525
|
-
|
524
|
+
x("year", "y");
|
525
|
+
Y("year", 1);
|
526
526
|
d("Y", ht);
|
527
527
|
d("YY", D, P);
|
528
528
|
d("YYYY", Bt, Ut);
|
529
529
|
d("YYYYY", dt, lt);
|
530
530
|
d("YYYYYY", dt, lt);
|
531
|
-
S(["YYYYY", "YYYYYY"],
|
531
|
+
S(["YYYYY", "YYYYYY"], N);
|
532
532
|
S("YYYY", function(e, t) {
|
533
|
-
t[
|
533
|
+
t[N] = e.length === 2 ? u.parseTwoDigitYear(e) : p(e);
|
534
534
|
});
|
535
535
|
S("YY", function(e, t) {
|
536
|
-
t[
|
536
|
+
t[N] = u.parseTwoDigitYear(e);
|
537
537
|
});
|
538
538
|
S("Y", function(e, t) {
|
539
|
-
t[
|
539
|
+
t[N] = parseInt(e, 10);
|
540
540
|
});
|
541
|
-
function
|
541
|
+
function Ve(e) {
|
542
542
|
return ct(e) ? 366 : 365;
|
543
543
|
}
|
544
544
|
u.parseTwoDigitYear = function(e) {
|
545
|
-
return
|
545
|
+
return p(e) + (p(e) > 68 ? 1900 : 2e3);
|
546
546
|
};
|
547
|
-
var Rs =
|
547
|
+
var Rs = Ye("FullYear", !0);
|
548
548
|
function br() {
|
549
549
|
return ct(this.year());
|
550
550
|
}
|
@@ -552,22 +552,22 @@ function Sr(e, t, s, n, r, i, a) {
|
|
552
552
|
var o;
|
553
553
|
return e < 100 && e >= 0 ? (o = new Date(e + 400, t, s, n, r, i, a), isFinite(o.getFullYear()) && o.setFullYear(e)) : o = new Date(e, t, s, n, r, i, a), o;
|
554
554
|
}
|
555
|
-
function
|
555
|
+
function Fe(e) {
|
556
556
|
var t, s;
|
557
557
|
return e < 100 && e >= 0 ? (s = Array.prototype.slice.call(arguments), s[0] = e + 400, t = new Date(Date.UTC.apply(null, s)), isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e)) : t = new Date(Date.UTC.apply(null, arguments)), t;
|
558
558
|
}
|
559
559
|
function st(e, t, s) {
|
560
|
-
var n = 7 + t - s, r = (7 +
|
560
|
+
var n = 7 + t - s, r = (7 + Fe(e, 0, n).getUTCDay() - t) % 7;
|
561
561
|
return -r + n - 1;
|
562
562
|
}
|
563
563
|
function Ls(e, t, s, n, r) {
|
564
564
|
var i = (7 + s - n) % 7, a = st(e, n, r), o = 1 + 7 * (t - 1) + i + a, c, f;
|
565
|
-
return o <= 0 ? (c = e - 1, f =
|
565
|
+
return o <= 0 ? (c = e - 1, f = Ve(c) + o) : o > Ve(e) ? (c = e + 1, f = o - Ve(e)) : (c = e, f = o), {
|
566
566
|
year: c,
|
567
567
|
dayOfYear: f
|
568
568
|
};
|
569
569
|
}
|
570
|
-
function
|
570
|
+
function He(e, t, s) {
|
571
571
|
var n = st(e.year(), t, s), r = Math.floor((e.dayOfYear() - n - 1) / 7) + 1, i, a;
|
572
572
|
return r < 1 ? (a = e.year() - 1, i = r + ae(a, t, s)) : r > ae(e.year(), t, s) ? (i = r - ae(e.year(), t, s), a = e.year() + 1) : (a = e.year(), i = r), {
|
573
573
|
week: i,
|
@@ -576,14 +576,14 @@ function Ve(e, t, s) {
|
|
576
576
|
}
|
577
577
|
function ae(e, t, s) {
|
578
578
|
var n = st(e, t, s), r = st(e + 1, t, s);
|
579
|
-
return (
|
579
|
+
return (Ve(e) - n + r) / 7;
|
580
580
|
}
|
581
581
|
_("w", ["ww", 2], "wo", "week");
|
582
582
|
_("W", ["WW", 2], "Wo", "isoWeek");
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
583
|
+
x("week", "w");
|
584
|
+
x("isoWeek", "W");
|
585
|
+
Y("week", 5);
|
586
|
+
Y("isoWeek", 5);
|
587
587
|
d("w", D);
|
588
588
|
d("ww", D, P);
|
589
589
|
d("W", D);
|
@@ -591,11 +591,11 @@ d("WW", D, P);
|
|
591
591
|
Ge(
|
592
592
|
["w", "ww", "W", "WW"],
|
593
593
|
function(e, t, s, n) {
|
594
|
-
t[n.substr(0, 1)] =
|
594
|
+
t[n.substr(0, 1)] = p(e);
|
595
595
|
}
|
596
596
|
);
|
597
597
|
function kr(e) {
|
598
|
-
return
|
598
|
+
return He(e, this._week.dow, this._week.doy).week;
|
599
599
|
}
|
600
600
|
var Or = {
|
601
601
|
dow: 0,
|
@@ -614,7 +614,7 @@ function Cr(e) {
|
|
614
614
|
return e == null ? t : this.add((e - t) * 7, "d");
|
615
615
|
}
|
616
616
|
function Tr(e) {
|
617
|
-
var t =
|
617
|
+
var t = He(this, 1, 4).week;
|
618
618
|
return e == null ? t : this.add((e - t) * 7, "d");
|
619
619
|
}
|
620
620
|
_("d", 0, "do", "day");
|
@@ -629,12 +629,12 @@ _("dddd", 0, 0, function(e) {
|
|
629
629
|
});
|
630
630
|
_("e", 0, 0, "weekday");
|
631
631
|
_("E", 0, 0, "isoWeekday");
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
632
|
+
x("day", "d");
|
633
|
+
x("weekday", "e");
|
634
|
+
x("isoWeekday", "E");
|
635
|
+
Y("day", 11);
|
636
|
+
Y("weekday", 11);
|
637
|
+
Y("isoWeekday", 11);
|
638
638
|
d("d", D);
|
639
639
|
d("e", D);
|
640
640
|
d("E", D);
|
@@ -649,21 +649,21 @@ d("dddd", function(e, t) {
|
|
649
649
|
});
|
650
650
|
Ge(["dd", "ddd", "dddd"], function(e, t, s, n) {
|
651
651
|
var r = s._locale.weekdaysParse(e, n, s._strict);
|
652
|
-
r != null ? t.d = r :
|
652
|
+
r != null ? t.d = r : y(s).invalidWeekday = e;
|
653
653
|
});
|
654
654
|
Ge(["d", "e", "E"], function(e, t, s, n) {
|
655
|
-
t[n] =
|
655
|
+
t[n] = p(e);
|
656
656
|
});
|
657
|
-
function
|
657
|
+
function Er(e, t) {
|
658
658
|
return typeof e != "string" ? e : isNaN(e) ? (e = t.weekdaysParse(e), typeof e == "number" ? e : null) : parseInt(e, 10);
|
659
659
|
}
|
660
|
-
function
|
660
|
+
function Nr(e, t) {
|
661
661
|
return typeof e == "string" ? t.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e;
|
662
662
|
}
|
663
663
|
function $t(e, t) {
|
664
664
|
return e.slice(t, 7).concat(e.slice(0, t));
|
665
665
|
}
|
666
|
-
var
|
666
|
+
var xr = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Ps = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), Yr = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), Ir = je, Wr = je, Rr = je;
|
667
667
|
function Lr(e, t) {
|
668
668
|
var s = G(this._weekdays) ? this._weekdays : this._weekdays[e && e !== !0 && this._weekdays.isFormat.test(t) ? "format" : "standalone"];
|
669
669
|
return e === !0 ? $t(s, this._week.dow) : e ? s[e.day()] : s;
|
@@ -674,7 +674,7 @@ function Pr(e) {
|
|
674
674
|
function Ar(e) {
|
675
675
|
return e === !0 ? $t(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin;
|
676
676
|
}
|
677
|
-
function
|
677
|
+
function Vr(e, t, s) {
|
678
678
|
var n, r, i, a = e.toLocaleLowerCase();
|
679
679
|
if (!this._weekdaysParse)
|
680
680
|
for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], n = 0; n < 7; ++n)
|
@@ -687,10 +687,10 @@ function Fr(e, t, s) {
|
|
687
687
|
).toLocaleLowerCase(), this._weekdaysParse[n] = this.weekdays(i, "").toLocaleLowerCase();
|
688
688
|
return s ? t === "dddd" ? (r = T.call(this._weekdaysParse, a), r !== -1 ? r : null) : t === "ddd" ? (r = T.call(this._shortWeekdaysParse, a), r !== -1 ? r : null) : (r = T.call(this._minWeekdaysParse, a), r !== -1 ? r : null) : t === "dddd" ? (r = T.call(this._weekdaysParse, a), r !== -1 || (r = T.call(this._shortWeekdaysParse, a), r !== -1) ? r : (r = T.call(this._minWeekdaysParse, a), r !== -1 ? r : null)) : t === "ddd" ? (r = T.call(this._shortWeekdaysParse, a), r !== -1 || (r = T.call(this._weekdaysParse, a), r !== -1) ? r : (r = T.call(this._minWeekdaysParse, a), r !== -1 ? r : null)) : (r = T.call(this._minWeekdaysParse, a), r !== -1 || (r = T.call(this._weekdaysParse, a), r !== -1) ? r : (r = T.call(this._shortWeekdaysParse, a), r !== -1 ? r : null));
|
689
689
|
}
|
690
|
-
function
|
690
|
+
function Fr(e, t, s) {
|
691
691
|
var n, r, i;
|
692
692
|
if (this._weekdaysParseExact)
|
693
|
-
return
|
693
|
+
return Vr.call(this, e, t, s);
|
694
694
|
for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), n = 0; n < 7; n++) {
|
695
695
|
if (r = X([2e3, 1]).day(n), s && !this._fullWeekdaysParse[n] && (this._fullWeekdaysParse[n] = new RegExp(
|
696
696
|
"^" + this.weekdays(r, "").replace(".", "\\.?") + "$",
|
@@ -711,11 +711,11 @@ function Hr(e, t, s) {
|
|
711
711
|
return n;
|
712
712
|
}
|
713
713
|
}
|
714
|
-
function
|
714
|
+
function Hr(e) {
|
715
715
|
if (!this.isValid())
|
716
716
|
return e != null ? this : NaN;
|
717
717
|
var t = this._isUTC ? this._d.getUTCDay() : this._d.getDay();
|
718
|
-
return e != null ? (e =
|
718
|
+
return e != null ? (e = Er(e, this.localeData()), this.add(e - t, "d")) : t;
|
719
719
|
}
|
720
720
|
function Ur(e) {
|
721
721
|
if (!this.isValid())
|
@@ -727,7 +727,7 @@ function Br(e) {
|
|
727
727
|
if (!this.isValid())
|
728
728
|
return e != null ? this : NaN;
|
729
729
|
if (e != null) {
|
730
|
-
var t =
|
730
|
+
var t = Nr(e, this.localeData());
|
731
731
|
return this.day(this.day() % 7 ? t : t - 7);
|
732
732
|
} else
|
733
733
|
return this.day() || 7;
|
@@ -791,13 +791,13 @@ function As(e, t) {
|
|
791
791
|
}
|
792
792
|
As("a", !0);
|
793
793
|
As("A", !1);
|
794
|
-
|
795
|
-
|
796
|
-
function
|
794
|
+
x("hour", "h");
|
795
|
+
Y("hour", 13);
|
796
|
+
function Vs(e, t) {
|
797
797
|
return t._meridiemParse;
|
798
798
|
}
|
799
|
-
d("a",
|
800
|
-
d("A",
|
799
|
+
d("a", Vs);
|
800
|
+
d("A", Vs);
|
801
801
|
d("H", D);
|
802
802
|
d("h", D);
|
803
803
|
d("k", D);
|
@@ -805,55 +805,55 @@ d("HH", D, P);
|
|
805
805
|
d("hh", D, P);
|
806
806
|
d("kk", D, P);
|
807
807
|
d("hmm", Ts);
|
808
|
-
d("hmmss",
|
808
|
+
d("hmmss", Es);
|
809
809
|
d("Hmm", Ts);
|
810
|
-
d("Hmmss",
|
811
|
-
S(["H", "HH"],
|
810
|
+
d("Hmmss", Es);
|
811
|
+
S(["H", "HH"], E);
|
812
812
|
S(["k", "kk"], function(e, t, s) {
|
813
|
-
var n =
|
814
|
-
t[
|
813
|
+
var n = p(e);
|
814
|
+
t[E] = n === 24 ? 0 : n;
|
815
815
|
});
|
816
816
|
S(["a", "A"], function(e, t, s) {
|
817
817
|
s._isPm = s._locale.isPM(e), s._meridiem = e;
|
818
818
|
});
|
819
819
|
S(["h", "hh"], function(e, t, s) {
|
820
|
-
t[
|
820
|
+
t[E] = p(e), y(s).bigHour = !0;
|
821
821
|
});
|
822
822
|
S("hmm", function(e, t, s) {
|
823
823
|
var n = e.length - 2;
|
824
|
-
t[
|
824
|
+
t[E] = p(e.substr(0, n)), t[$] = p(e.substr(n)), y(s).bigHour = !0;
|
825
825
|
});
|
826
826
|
S("hmmss", function(e, t, s) {
|
827
827
|
var n = e.length - 4, r = e.length - 2;
|
828
|
-
t[
|
828
|
+
t[E] = p(e.substr(0, n)), t[$] = p(e.substr(n, 2)), t[ie] = p(e.substr(r)), y(s).bigHour = !0;
|
829
829
|
});
|
830
830
|
S("Hmm", function(e, t, s) {
|
831
831
|
var n = e.length - 2;
|
832
|
-
t[
|
832
|
+
t[E] = p(e.substr(0, n)), t[$] = p(e.substr(n));
|
833
833
|
});
|
834
834
|
S("Hmmss", function(e, t, s) {
|
835
835
|
var n = e.length - 4, r = e.length - 2;
|
836
|
-
t[
|
836
|
+
t[E] = p(e.substr(0, n)), t[$] = p(e.substr(n, 2)), t[ie] = p(e.substr(r));
|
837
837
|
});
|
838
838
|
function Zr(e) {
|
839
839
|
return (e + "").toLowerCase().charAt(0) === "p";
|
840
840
|
}
|
841
|
-
var qr = /[ap]\.?m?\.?/i, Kr =
|
841
|
+
var qr = /[ap]\.?m?\.?/i, Kr = Ye("Hours", !0);
|
842
842
|
function Qr(e, t, s) {
|
843
843
|
return e > 11 ? s ? "pm" : "PM" : s ? "am" : "AM";
|
844
844
|
}
|
845
|
-
var
|
846
|
-
calendar:
|
845
|
+
var Fs = {
|
846
|
+
calendar: Fn,
|
847
847
|
longDateFormat: $n,
|
848
848
|
invalidDate: Gn,
|
849
849
|
ordinal: Zn,
|
850
850
|
dayOfMonthOrdinalParse: qn,
|
851
851
|
relativeTime: Qn,
|
852
852
|
months: dr,
|
853
|
-
monthsShort:
|
853
|
+
monthsShort: Ns,
|
854
854
|
week: Or,
|
855
|
-
weekdays:
|
856
|
-
weekdaysMin:
|
855
|
+
weekdays: xr,
|
856
|
+
weekdaysMin: Yr,
|
857
857
|
weekdaysShort: Ps,
|
858
858
|
meridiemParse: qr
|
859
859
|
}, M = {}, We = {}, Ue;
|
@@ -901,7 +901,7 @@ function me(e, t) {
|
|
901
901
|
}
|
902
902
|
function zt(e, t) {
|
903
903
|
if (t !== null) {
|
904
|
-
var s, n =
|
904
|
+
var s, n = Fs;
|
905
905
|
if (t.abbr = e, M[e] != null)
|
906
906
|
Ss(
|
907
907
|
"defineLocaleOverride",
|
@@ -917,7 +917,7 @@ function zt(e, t) {
|
|
917
917
|
name: e,
|
918
918
|
config: t
|
919
919
|
}), null;
|
920
|
-
return M[e] = new
|
920
|
+
return M[e] = new Vt(Ct(n, t)), We[e] && We[e].forEach(function(r) {
|
921
921
|
zt(r.name, r.config);
|
922
922
|
}), me(e), M[e];
|
923
923
|
} else
|
@@ -925,8 +925,8 @@ function zt(e, t) {
|
|
925
925
|
}
|
926
926
|
function ti(e, t) {
|
927
927
|
if (t != null) {
|
928
|
-
var s, n, r =
|
929
|
-
M[e] != null && M[e].parentLocale != null ? M[e].set(Ct(M[e]._config, t)) : (n = mt(e), n != null && (r = n._config), t = Ct(r, t), n == null && (t.abbr = e), s = new
|
928
|
+
var s, n, r = Fs;
|
929
|
+
M[e] != null && M[e].parentLocale != null ? M[e].set(Ct(M[e]._config, t)) : (n = mt(e), n != null && (r = n._config), t = Ct(r, t), n == null && (t.abbr = e), s = new Vt(t), s.parentLocale = M[e], M[e] = s), me(e);
|
930
930
|
} else
|
931
931
|
M[e] != null && (M[e].parentLocale != null ? (M[e] = M[e].parentLocale, e === me() && me(e)) : M[e] != null && delete M[e]);
|
932
932
|
return M[e];
|
@@ -947,7 +947,7 @@ function si() {
|
|
947
947
|
}
|
948
948
|
function Zt(e) {
|
949
949
|
var t, s = e._a;
|
950
|
-
return s &&
|
950
|
+
return s && y(e).overflow === -2 && (t = s[re] < 0 || s[re] > 11 ? re : s[Q] < 1 || s[Q] > _t(s[N], s[re]) ? Q : s[E] < 0 || s[E] > 24 || s[E] === 24 && (s[$] !== 0 || s[ie] !== 0 || s[pe] !== 0) ? E : s[$] < 0 || s[$] > 59 ? $ : s[ie] < 0 || s[ie] > 59 ? ie : s[pe] < 0 || s[pe] > 999 ? pe : -1, y(e)._overflowDayOfYear && (t < N || t > Q) && (t = Q), y(e)._overflowWeeks && t === -1 && (t = cr), y(e)._overflowWeekday && t === -1 && (t = lr), y(e).overflow = t), e;
|
951
951
|
}
|
952
952
|
var ni = /^\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)?)?$/, 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)?)?$/, ii = /Z|[+-]\d\d(?::?\d\d)?/, Ze = [
|
953
953
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
@@ -985,10 +985,10 @@ var ni = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
985
985
|
PDT: -7 * 60,
|
986
986
|
PST: -8 * 60
|
987
987
|
};
|
988
|
-
function
|
988
|
+
function Hs(e) {
|
989
989
|
var t, s, n = e._i, r = ni.exec(n) || ri.exec(n), i, a, o, c, f = Ze.length, h = kt.length;
|
990
990
|
if (r) {
|
991
|
-
for (
|
991
|
+
for (y(e).iso = !0, t = 0, s = f; t < s; t++)
|
992
992
|
if (Ze[t][1].exec(r[1])) {
|
993
993
|
a = Ze[t][0], i = Ze[t][2] !== !1;
|
994
994
|
break;
|
@@ -1026,7 +1026,7 @@ function Vs(e) {
|
|
1026
1026
|
function li(e, t, s, n, r, i) {
|
1027
1027
|
var a = [
|
1028
1028
|
ui(e),
|
1029
|
-
|
1029
|
+
Ns.indexOf(t),
|
1030
1030
|
parseInt(s, 10),
|
1031
1031
|
parseInt(n, 10),
|
1032
1032
|
parseInt(r, 10)
|
@@ -1048,7 +1048,7 @@ function hi(e, t, s) {
|
|
1048
1048
|
t[2]
|
1049
1049
|
).getDay();
|
1050
1050
|
if (n !== r)
|
1051
|
-
return
|
1051
|
+
return y(s).weekdayMismatch = !0, s._isValid = !1, !1;
|
1052
1052
|
}
|
1053
1053
|
return !0;
|
1054
1054
|
}
|
@@ -1072,7 +1072,7 @@ function Us(e) {
|
|
1072
1072
|
t[7]
|
1073
1073
|
), !hi(t[1], s, e))
|
1074
1074
|
return;
|
1075
|
-
e._a = s, e._tzm = fi(t[8], t[9], t[10]), e._d =
|
1075
|
+
e._a = s, e._tzm = fi(t[8], t[9], t[10]), e._d = Fe.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), y(e).rfc2822 = !0;
|
1076
1076
|
} else
|
1077
1077
|
e._isValid = !1;
|
1078
1078
|
}
|
@@ -1082,7 +1082,7 @@ function _i(e) {
|
|
1082
1082
|
e._d = /* @__PURE__ */ new Date(+t[1]);
|
1083
1083
|
return;
|
1084
1084
|
}
|
1085
|
-
if (
|
1085
|
+
if (Hs(e), e._isValid === !1)
|
1086
1086
|
delete e._isValid;
|
1087
1087
|
else
|
1088
1088
|
return;
|
@@ -1112,23 +1112,23 @@ function mi(e) {
|
|
1112
1112
|
function qt(e) {
|
1113
1113
|
var t, s, n = [], r, i, a;
|
1114
1114
|
if (!e._d) {
|
1115
|
-
for (r = mi(e), e._w && e._a[Q] == null && e._a[re] == null &&
|
1115
|
+
for (r = mi(e), e._w && e._a[Q] == null && e._a[re] == null && yi(e), e._dayOfYear != null && (a = Ce(e._a[N], r[N]), (e._dayOfYear > Ve(a) || e._dayOfYear === 0) && (y(e)._overflowDayOfYear = !0), s = Fe(a, 0, e._dayOfYear), e._a[re] = s.getUTCMonth(), e._a[Q] = s.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
|
1116
1116
|
e._a[t] = n[t] = r[t];
|
1117
1117
|
for (; t < 7; t++)
|
1118
1118
|
e._a[t] = n[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
|
1119
|
-
e._a[
|
1119
|
+
e._a[E] === 24 && e._a[$] === 0 && e._a[ie] === 0 && e._a[pe] === 0 && (e._nextDay = !0, e._a[E] = 0), e._d = (e._useUTC ? Fe : Sr).apply(
|
1120
1120
|
null,
|
1121
1121
|
n
|
1122
|
-
), i = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), e._tzm != null && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[
|
1122
|
+
), i = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), e._tzm != null && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[E] = 24), e._w && typeof e._w.d < "u" && e._w.d !== i && (y(e).weekdayMismatch = !0);
|
1123
1123
|
}
|
1124
1124
|
}
|
1125
|
-
function
|
1125
|
+
function yi(e) {
|
1126
1126
|
var t, s, n, r, i, a, o, c, f;
|
1127
1127
|
t = e._w, t.GG != null || t.W != null || t.E != null ? (i = 1, a = 4, s = Ce(
|
1128
1128
|
t.GG,
|
1129
|
-
e._a[
|
1130
|
-
|
1131
|
-
), n = Ce(t.W, 1), r = Ce(t.E, 1), (r < 1 || r > 7) && (c = !0)) : (i = e._locale._week.dow, a = e._locale._week.doy, f =
|
1129
|
+
e._a[N],
|
1130
|
+
He(O(), 1, 4).year
|
1131
|
+
), n = Ce(t.W, 1), r = Ce(t.E, 1), (r < 1 || r > 7) && (c = !0)) : (i = e._locale._week.dow, a = e._locale._week.doy, f = He(O(), i, a), s = Ce(t.gg, e._a[N], f.year), n = Ce(t.w, f.week), t.d != null ? (r = t.d, (r < 0 || r > 6) && (c = !0)) : t.e != null ? (r = t.e + i, (t.e < 0 || t.e > 6) && (c = !0)) : r = i), n < 1 || n > ae(s, i, a) ? y(e)._overflowWeeks = !0 : c != null ? y(e)._overflowWeekday = !0 : (o = Ls(s, n, r, i, a), e._a[N] = o.year, e._dayOfYear = o.dayOfYear);
|
1132
1132
|
}
|
1133
1133
|
u.ISO_8601 = function() {
|
1134
1134
|
};
|
@@ -1136,42 +1136,42 @@ u.RFC_2822 = function() {
|
|
1136
1136
|
};
|
1137
1137
|
function Kt(e) {
|
1138
1138
|
if (e._f === u.ISO_8601) {
|
1139
|
-
|
1139
|
+
Hs(e);
|
1140
1140
|
return;
|
1141
1141
|
}
|
1142
1142
|
if (e._f === u.RFC_2822) {
|
1143
1143
|
Us(e);
|
1144
1144
|
return;
|
1145
1145
|
}
|
1146
|
-
e._a = [],
|
1146
|
+
e._a = [], y(e).empty = !0;
|
1147
1147
|
var t = "" + e._i, s, n, r, i, a, o = t.length, c = 0, f, h;
|
1148
|
-
for (r = ks(e._f, e._locale).match(
|
1149
|
-
i = r[s], n = (t.match(ir(i, e)) || [])[0], n && (a = t.substr(0, t.indexOf(n)), a.length > 0 &&
|
1148
|
+
for (r = ks(e._f, e._locale).match(Ft) || [], h = r.length, s = 0; s < h; s++)
|
1149
|
+
i = r[s], n = (t.match(ir(i, e)) || [])[0], n && (a = t.substr(0, t.indexOf(n)), a.length > 0 && y(e).unusedInput.push(a), t = t.slice(
|
1150
1150
|
t.indexOf(n) + n.length
|
1151
|
-
), c += n.length),
|
1152
|
-
|
1151
|
+
), c += n.length), Ee[i] ? (n ? y(e).empty = !1 : y(e).unusedTokens.push(i), or(i, n, e)) : e._strict && !n && y(e).unusedTokens.push(i);
|
1152
|
+
y(e).charsLeftOver = o - c, t.length > 0 && y(e).unusedInput.push(t), e._a[E] <= 12 && y(e).bigHour === !0 && e._a[E] > 0 && (y(e).bigHour = void 0), y(e).parsedDateParts = e._a.slice(0), y(e).meridiem = e._meridiem, e._a[E] = pi(
|
1153
1153
|
e._locale,
|
1154
|
-
e._a[
|
1154
|
+
e._a[E],
|
1155
1155
|
e._meridiem
|
1156
|
-
), f =
|
1156
|
+
), f = y(e).era, f !== null && (e._a[N] = e._locale.erasConvertYear(f, e._a[N])), qt(e), Zt(e);
|
1157
1157
|
}
|
1158
|
-
function
|
1158
|
+
function pi(e, t, s) {
|
1159
1159
|
var n;
|
1160
1160
|
return s == null ? t : e.meridiemHour != null ? e.meridiemHour(t, s) : (e.isPM != null && (n = e.isPM(s), n && t < 12 && (t += 12), !n && t === 12 && (t = 0)), t);
|
1161
1161
|
}
|
1162
1162
|
function gi(e) {
|
1163
1163
|
var t, s, n, r, i, a, o = !1, c = e._f.length;
|
1164
1164
|
if (c === 0) {
|
1165
|
-
|
1165
|
+
y(e).invalidFormat = !0, e._d = /* @__PURE__ */ new Date(NaN);
|
1166
1166
|
return;
|
1167
1167
|
}
|
1168
1168
|
for (r = 0; r < c; r++)
|
1169
|
-
i = 0, a = !1, t = At({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[r], Kt(t), Pt(t) && (a = !0), i +=
|
1169
|
+
i = 0, a = !1, t = At({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[r], Kt(t), Pt(t) && (a = !0), i += y(t).charsLeftOver, i += y(t).unusedTokens.length * 10, y(t).score = i, o ? i < n && (n = i, s = t) : (n == null || i < n || a) && (n = i, s = t, a && (o = !0));
|
1170
1170
|
fe(e, s || t);
|
1171
1171
|
}
|
1172
1172
|
function vi(e) {
|
1173
1173
|
if (!e._d) {
|
1174
|
-
var t =
|
1174
|
+
var t = Ht(e._i), s = t.day === void 0 ? t.date : t.day;
|
1175
1175
|
e._a = ws(
|
1176
1176
|
[t.year, t.month, s, t.hour, t.minute, t.second, t.millisecond],
|
1177
1177
|
function(n) {
|
@@ -1252,32 +1252,32 @@ function Ci(e) {
|
|
1252
1252
|
if (e[Re[n]]) {
|
1253
1253
|
if (s)
|
1254
1254
|
return !1;
|
1255
|
-
parseFloat(e[Re[n]]) !==
|
1255
|
+
parseFloat(e[Re[n]]) !== p(e[Re[n]]) && (s = !0);
|
1256
1256
|
}
|
1257
1257
|
return !0;
|
1258
1258
|
}
|
1259
1259
|
function Ti() {
|
1260
1260
|
return this._isValid;
|
1261
1261
|
}
|
1262
|
-
function
|
1262
|
+
function Ei() {
|
1263
1263
|
return q(NaN);
|
1264
1264
|
}
|
1265
|
-
function
|
1266
|
-
var t =
|
1265
|
+
function yt(e) {
|
1266
|
+
var t = Ht(e), s = t.year || 0, n = t.quarter || 0, r = t.month || 0, i = t.week || t.isoWeek || 0, a = t.day || 0, o = t.hour || 0, c = t.minute || 0, f = t.second || 0, h = t.millisecond || 0;
|
1267
1267
|
this._isValid = Ci(t), this._milliseconds = +h + f * 1e3 + // 1000
|
1268
1268
|
c * 6e4 + // 1000 * 60
|
1269
1269
|
o * 1e3 * 60 * 60, this._days = +a + i * 7, this._months = +r + n * 3 + s * 12, this._data = {}, this._locale = ce(), this._bubble();
|
1270
1270
|
}
|
1271
1271
|
function Je(e) {
|
1272
|
-
return e instanceof
|
1272
|
+
return e instanceof yt;
|
1273
1273
|
}
|
1274
|
-
function
|
1274
|
+
function Nt(e) {
|
1275
1275
|
return e < 0 ? Math.round(-1 * e) * -1 : Math.round(e);
|
1276
1276
|
}
|
1277
|
-
function
|
1277
|
+
function Ni(e, t, s) {
|
1278
1278
|
var n = Math.min(e.length, t.length), r = Math.abs(e.length - t.length), i = 0, a;
|
1279
1279
|
for (a = 0; a < n; a++)
|
1280
|
-
(s && e[a] !== t[a] || !s &&
|
1280
|
+
(s && e[a] !== t[a] || !s && p(e[a]) !== p(t[a])) && i++;
|
1281
1281
|
return i + r;
|
1282
1282
|
}
|
1283
1283
|
function Gs(e, t) {
|
@@ -1293,21 +1293,21 @@ d("ZZ", ft);
|
|
1293
1293
|
S(["Z", "ZZ"], function(e, t, s) {
|
1294
1294
|
s._useUTC = !0, s._tzm = Qt(ft, e);
|
1295
1295
|
});
|
1296
|
-
var
|
1296
|
+
var xi = /([\+\-]|\d\d)/gi;
|
1297
1297
|
function Qt(e, t) {
|
1298
1298
|
var s = (t || "").match(e), n, r, i;
|
1299
|
-
return s === null ? null : (n = s[s.length - 1] || [], r = (n + "").match(
|
1299
|
+
return s === null ? null : (n = s[s.length - 1] || [], r = (n + "").match(xi) || ["-", 0, 0], i = +(r[1] * 60) + p(r[2]), i === 0 ? 0 : r[0] === "+" ? i : -i);
|
1300
1300
|
}
|
1301
1301
|
function Jt(e, t) {
|
1302
1302
|
var s, n;
|
1303
1303
|
return t._isUTC ? (s = t.clone(), n = (z(e) || Be(e) ? e.valueOf() : O(e).valueOf()) - s.valueOf(), s._d.setTime(s._d.valueOf() + n), u.updateOffset(s, !1), s) : O(e).local();
|
1304
1304
|
}
|
1305
|
-
function
|
1305
|
+
function xt(e) {
|
1306
1306
|
return -Math.round(e._d.getTimezoneOffset());
|
1307
1307
|
}
|
1308
1308
|
u.updateOffset = function() {
|
1309
1309
|
};
|
1310
|
-
function
|
1310
|
+
function Yi(e, t, s) {
|
1311
1311
|
var n = this._offset || 0, r;
|
1312
1312
|
if (!this.isValid())
|
1313
1313
|
return e != null ? this : NaN;
|
@@ -1317,14 +1317,14 @@ function Ei(e, t, s) {
|
|
1317
1317
|
return this;
|
1318
1318
|
} else
|
1319
1319
|
Math.abs(e) < 16 && !s && (e = e * 60);
|
1320
|
-
return !this._isUTC && t && (r =
|
1320
|
+
return !this._isUTC && t && (r = xt(this)), this._offset = e, this._isUTC = !0, r != null && this.add(r, "m"), n !== e && (!t || this._changeInProgress ? qs(
|
1321
1321
|
this,
|
1322
1322
|
q(e - n, "m"),
|
1323
1323
|
1,
|
1324
1324
|
!1
|
1325
1325
|
) : this._changeInProgress || (this._changeInProgress = !0, u.updateOffset(this, !0), this._changeInProgress = null)), this;
|
1326
1326
|
} else
|
1327
|
-
return this._isUTC ? n :
|
1327
|
+
return this._isUTC ? n : xt(this);
|
1328
1328
|
}
|
1329
1329
|
function Ii(e, t) {
|
1330
1330
|
return e != null ? (typeof e != "string" && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset();
|
@@ -1333,7 +1333,7 @@ function Wi(e) {
|
|
1333
1333
|
return this.utcOffset(0, e);
|
1334
1334
|
}
|
1335
1335
|
function Ri(e) {
|
1336
|
-
return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(
|
1336
|
+
return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(xt(this), "m")), this;
|
1337
1337
|
}
|
1338
1338
|
function Li() {
|
1339
1339
|
if (this._tzm != null)
|
@@ -1350,16 +1350,16 @@ function Pi(e) {
|
|
1350
1350
|
function Ai() {
|
1351
1351
|
return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
|
1352
1352
|
}
|
1353
|
-
function
|
1353
|
+
function Vi() {
|
1354
1354
|
if (!W(this._isDSTShifted))
|
1355
1355
|
return this._isDSTShifted;
|
1356
1356
|
var e = {}, t;
|
1357
|
-
return At(e, this), e = Bs(e), e._a ? (t = e._isUTC ? X(e._a) : O(e._a), this._isDSTShifted = this.isValid() &&
|
1357
|
+
return At(e, this), e = Bs(e), e._a ? (t = e._isUTC ? X(e._a) : O(e._a), this._isDSTShifted = this.isValid() && Ni(e._a, t.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
|
1358
1358
|
}
|
1359
|
-
function
|
1359
|
+
function Fi() {
|
1360
1360
|
return this.isValid() ? !this._isUTC : !1;
|
1361
1361
|
}
|
1362
|
-
function
|
1362
|
+
function Hi() {
|
1363
1363
|
return this.isValid() ? this._isUTC : !1;
|
1364
1364
|
}
|
1365
1365
|
function zs() {
|
@@ -1374,28 +1374,28 @@ function q(e, t) {
|
|
1374
1374
|
M: e._months
|
1375
1375
|
} : oe(e) || !isNaN(+e) ? (s = {}, t ? s[t] = +e : s.milliseconds = +e) : (n = Ui.exec(e)) ? (r = n[1] === "-" ? -1 : 1, s = {
|
1376
1376
|
y: 0,
|
1377
|
-
d:
|
1378
|
-
h:
|
1379
|
-
m:
|
1380
|
-
s:
|
1381
|
-
ms:
|
1377
|
+
d: p(n[Q]) * r,
|
1378
|
+
h: p(n[E]) * r,
|
1379
|
+
m: p(n[$]) * r,
|
1380
|
+
s: p(n[ie]) * r,
|
1381
|
+
ms: p(Nt(n[pe] * 1e3)) * r
|
1382
1382
|
// the millisecond decimal point is included in the match
|
1383
1383
|
}) : (n = Bi.exec(e)) ? (r = n[1] === "-" ? -1 : 1, s = {
|
1384
|
-
y:
|
1385
|
-
M:
|
1386
|
-
w:
|
1387
|
-
d:
|
1388
|
-
h:
|
1389
|
-
m:
|
1390
|
-
s:
|
1384
|
+
y: ye(n[2], r),
|
1385
|
+
M: ye(n[3], r),
|
1386
|
+
w: ye(n[4], r),
|
1387
|
+
d: ye(n[5], r),
|
1388
|
+
h: ye(n[6], r),
|
1389
|
+
m: ye(n[7], r),
|
1390
|
+
s: ye(n[8], r)
|
1391
1391
|
}) : s == null ? s = {} : typeof s == "object" && ("from" in s || "to" in s) && (a = $i(
|
1392
1392
|
O(s.from),
|
1393
1393
|
O(s.to)
|
1394
|
-
), s = {}, s.ms = a.milliseconds, s.M = a.months), i = new
|
1394
|
+
), s = {}, s.ms = a.milliseconds, s.M = a.months), i = new yt(s), Je(e) && w(e, "_locale") && (i._locale = e._locale), Je(e) && w(e, "_isValid") && (i._isValid = e._isValid), i;
|
1395
1395
|
}
|
1396
|
-
q.fn =
|
1397
|
-
q.invalid =
|
1398
|
-
function
|
1396
|
+
q.fn = yt.prototype;
|
1397
|
+
q.invalid = Ei;
|
1398
|
+
function ye(e, t) {
|
1399
1399
|
var s = e && parseFloat(e.replace(",", "."));
|
1400
1400
|
return (isNaN(s) ? 0 : s) * t;
|
1401
1401
|
}
|
@@ -1417,8 +1417,8 @@ function Zs(e, t) {
|
|
1417
1417
|
};
|
1418
1418
|
}
|
1419
1419
|
function qs(e, t, s, n) {
|
1420
|
-
var r = t._milliseconds, i =
|
1421
|
-
e.isValid() && (n = n ?? !0, a &&
|
1420
|
+
var r = t._milliseconds, i = Nt(t._days), a = Nt(t._months);
|
1421
|
+
e.isValid() && (n = n ?? !0, a && Ys(e, et(e, "Month") + a * s), i && Ds(e, "Date", et(e, "Date") + i * s), r && e._d.setTime(e._d.valueOf() + r * s), n && u.updateOffset(e, i || a));
|
1422
1422
|
}
|
1423
1423
|
var ji = Zs(1, "add"), Gi = Zs(-1, "subtract");
|
1424
1424
|
function Ks(e) {
|
@@ -1547,7 +1547,7 @@ function aa(e, t, s) {
|
|
1547
1547
|
default:
|
1548
1548
|
i = this - n;
|
1549
1549
|
}
|
1550
|
-
return s ? i :
|
1550
|
+
return s ? i : F(i);
|
1551
1551
|
}
|
1552
1552
|
function Xe(e, t) {
|
1553
1553
|
if (e.date() < t.date())
|
@@ -1608,8 +1608,8 @@ var Js = U(
|
|
1608
1608
|
function Xs() {
|
1609
1609
|
return this._locale;
|
1610
1610
|
}
|
1611
|
-
var nt = 1e3,
|
1612
|
-
function
|
1611
|
+
var nt = 1e3, Ne = 60 * nt, rt = 60 * Ne, en = (365 * 400 + 97) * 24 * rt;
|
1612
|
+
function xe(e, t) {
|
1613
1613
|
return (e % t + t) % t;
|
1614
1614
|
}
|
1615
1615
|
function tn(e, t, s) {
|
@@ -1655,21 +1655,21 @@ function ma(e) {
|
|
1655
1655
|
t = s(this.year(), this.month(), this.date());
|
1656
1656
|
break;
|
1657
1657
|
case "hour":
|
1658
|
-
t = this._d.valueOf(), t -=
|
1659
|
-
t + (this._isUTC ? 0 : this.utcOffset() *
|
1658
|
+
t = this._d.valueOf(), t -= xe(
|
1659
|
+
t + (this._isUTC ? 0 : this.utcOffset() * Ne),
|
1660
1660
|
rt
|
1661
1661
|
);
|
1662
1662
|
break;
|
1663
1663
|
case "minute":
|
1664
|
-
t = this._d.valueOf(), t -=
|
1664
|
+
t = this._d.valueOf(), t -= xe(t, Ne);
|
1665
1665
|
break;
|
1666
1666
|
case "second":
|
1667
|
-
t = this._d.valueOf(), t -=
|
1667
|
+
t = this._d.valueOf(), t -= xe(t, nt);
|
1668
1668
|
break;
|
1669
1669
|
}
|
1670
1670
|
return this._d.setTime(t), u.updateOffset(this, !0), this;
|
1671
1671
|
}
|
1672
|
-
function
|
1672
|
+
function ya(e) {
|
1673
1673
|
var t, s;
|
1674
1674
|
if (e = B(e), e === void 0 || e === "millisecond" || !this.isValid())
|
1675
1675
|
return this;
|
@@ -1706,21 +1706,21 @@ function pa(e) {
|
|
1706
1706
|
t = s(this.year(), this.month(), this.date() + 1) - 1;
|
1707
1707
|
break;
|
1708
1708
|
case "hour":
|
1709
|
-
t = this._d.valueOf(), t += rt -
|
1710
|
-
t + (this._isUTC ? 0 : this.utcOffset() *
|
1709
|
+
t = this._d.valueOf(), t += rt - xe(
|
1710
|
+
t + (this._isUTC ? 0 : this.utcOffset() * Ne),
|
1711
1711
|
rt
|
1712
1712
|
) - 1;
|
1713
1713
|
break;
|
1714
1714
|
case "minute":
|
1715
|
-
t = this._d.valueOf(), t +=
|
1715
|
+
t = this._d.valueOf(), t += Ne - xe(t, Ne) - 1;
|
1716
1716
|
break;
|
1717
1717
|
case "second":
|
1718
|
-
t = this._d.valueOf(), t += nt -
|
1718
|
+
t = this._d.valueOf(), t += nt - xe(t, nt) - 1;
|
1719
1719
|
break;
|
1720
1720
|
}
|
1721
1721
|
return this._d.setTime(t), u.updateOffset(this, !0), this;
|
1722
1722
|
}
|
1723
|
-
function
|
1723
|
+
function pa() {
|
1724
1724
|
return this._d.valueOf() - (this._offset || 0) * 6e4;
|
1725
1725
|
}
|
1726
1726
|
function ga() {
|
@@ -1760,10 +1760,10 @@ function ka() {
|
|
1760
1760
|
return Pt(this);
|
1761
1761
|
}
|
1762
1762
|
function Oa() {
|
1763
|
-
return fe({},
|
1763
|
+
return fe({}, y(this));
|
1764
1764
|
}
|
1765
1765
|
function Da() {
|
1766
|
-
return
|
1766
|
+
return y(this).overflow;
|
1767
1767
|
}
|
1768
1768
|
function Ma() {
|
1769
1769
|
return {
|
@@ -1792,18 +1792,18 @@ S(
|
|
1792
1792
|
["N", "NN", "NNN", "NNNN", "NNNNN"],
|
1793
1793
|
function(e, t, s, n) {
|
1794
1794
|
var r = s._locale.erasParse(e, n, s._strict);
|
1795
|
-
r ?
|
1795
|
+
r ? y(s).era = r : y(s).invalidEra = e;
|
1796
1796
|
}
|
1797
1797
|
);
|
1798
1798
|
d("y", Ie);
|
1799
1799
|
d("yy", Ie);
|
1800
1800
|
d("yyy", Ie);
|
1801
1801
|
d("yyyy", Ie);
|
1802
|
-
d("yo",
|
1803
|
-
S(["y", "yy", "yyy", "yyyy"],
|
1802
|
+
d("yo", Va);
|
1803
|
+
S(["y", "yy", "yyy", "yyyy"], N);
|
1804
1804
|
S(["yo"], function(e, t, s, n) {
|
1805
1805
|
var r;
|
1806
|
-
s._locale._eraYearOrdinalRegex && (r = e.match(s._locale._eraYearOrdinalRegex)), s._locale.eraYearOrdinalParse ? t[
|
1806
|
+
s._locale._eraYearOrdinalRegex && (r = e.match(s._locale._eraYearOrdinalRegex)), s._locale.eraYearOrdinalParse ? t[N] = s._locale.eraYearOrdinalParse(e, r) : t[N] = parseInt(e, 10);
|
1807
1807
|
});
|
1808
1808
|
function Ca(e, t) {
|
1809
1809
|
var s, n, r, i = this._eras || ce("en")._eras;
|
@@ -1847,25 +1847,25 @@ function Ta(e, t, s) {
|
|
1847
1847
|
else if ([a, o, c].indexOf(e) >= 0)
|
1848
1848
|
return i[n];
|
1849
1849
|
}
|
1850
|
-
function
|
1850
|
+
function Ea(e, t) {
|
1851
1851
|
var s = e.since <= e.until ? 1 : -1;
|
1852
1852
|
return t === void 0 ? u(e.since).year() : u(e.since).year() + (t - e.offset) * s;
|
1853
1853
|
}
|
1854
|
-
function
|
1854
|
+
function Na() {
|
1855
1855
|
var e, t, s, n = this.localeData().eras();
|
1856
1856
|
for (e = 0, t = n.length; e < t; ++e)
|
1857
1857
|
if (s = this.clone().startOf("day").valueOf(), n[e].since <= s && s <= n[e].until || n[e].until <= s && s <= n[e].since)
|
1858
1858
|
return n[e].name;
|
1859
1859
|
return "";
|
1860
1860
|
}
|
1861
|
-
function
|
1861
|
+
function xa() {
|
1862
1862
|
var e, t, s, n = this.localeData().eras();
|
1863
1863
|
for (e = 0, t = n.length; e < t; ++e)
|
1864
1864
|
if (s = this.clone().startOf("day").valueOf(), n[e].since <= s && s <= n[e].until || n[e].until <= s && s <= n[e].since)
|
1865
1865
|
return n[e].narrow;
|
1866
1866
|
return "";
|
1867
1867
|
}
|
1868
|
-
function
|
1868
|
+
function Ya() {
|
1869
1869
|
var e, t, s, n = this.localeData().eras();
|
1870
1870
|
for (e = 0, t = n.length; e < t; ++e)
|
1871
1871
|
if (s = this.clone().startOf("day").valueOf(), n[e].since <= s && s <= n[e].until || n[e].until <= s && s <= n[e].since)
|
@@ -1897,7 +1897,7 @@ function Pa(e, t) {
|
|
1897
1897
|
function Aa(e, t) {
|
1898
1898
|
return t.erasNarrowRegex(e);
|
1899
1899
|
}
|
1900
|
-
function
|
1900
|
+
function Va(e, t) {
|
1901
1901
|
return t._eraYearOrdinalRegex || Ie;
|
1902
1902
|
}
|
1903
1903
|
function es() {
|
@@ -1915,17 +1915,17 @@ _(0, ["gg", 2], 0, function() {
|
|
1915
1915
|
_(0, ["GG", 2], 0, function() {
|
1916
1916
|
return this.isoWeekYear() % 100;
|
1917
1917
|
});
|
1918
|
-
function
|
1918
|
+
function pt(e, t) {
|
1919
1919
|
_(0, [e, e.length], 0, t);
|
1920
1920
|
}
|
1921
|
-
|
1922
|
-
|
1923
|
-
|
1924
|
-
|
1925
|
-
|
1926
|
-
|
1927
|
-
|
1928
|
-
|
1921
|
+
pt("gggg", "weekYear");
|
1922
|
+
pt("ggggg", "weekYear");
|
1923
|
+
pt("GGGG", "isoWeekYear");
|
1924
|
+
pt("GGGGG", "isoWeekYear");
|
1925
|
+
x("weekYear", "gg");
|
1926
|
+
x("isoWeekYear", "GG");
|
1927
|
+
Y("weekYear", 1);
|
1928
|
+
Y("isoWeekYear", 1);
|
1929
1929
|
d("G", ht);
|
1930
1930
|
d("g", ht);
|
1931
1931
|
d("GG", D, P);
|
@@ -1937,13 +1937,13 @@ d("ggggg", dt, lt);
|
|
1937
1937
|
Ge(
|
1938
1938
|
["gggg", "ggggg", "GGGG", "GGGGG"],
|
1939
1939
|
function(e, t, s, n) {
|
1940
|
-
t[n.substr(0, 2)] =
|
1940
|
+
t[n.substr(0, 2)] = p(e);
|
1941
1941
|
}
|
1942
1942
|
);
|
1943
1943
|
Ge(["gg", "GG"], function(e, t, s, n) {
|
1944
1944
|
t[n] = u.parseTwoDigitYear(e);
|
1945
1945
|
});
|
1946
|
-
function
|
1946
|
+
function Fa(e) {
|
1947
1947
|
return nn.call(
|
1948
1948
|
this,
|
1949
1949
|
e,
|
@@ -1953,7 +1953,7 @@ function Ha(e) {
|
|
1953
1953
|
this.localeData()._week.doy
|
1954
1954
|
);
|
1955
1955
|
}
|
1956
|
-
function
|
1956
|
+
function Ha(e) {
|
1957
1957
|
return nn.call(
|
1958
1958
|
this,
|
1959
1959
|
e,
|
@@ -1979,25 +1979,25 @@ function ja() {
|
|
1979
1979
|
}
|
1980
1980
|
function nn(e, t, s, n, r) {
|
1981
1981
|
var i;
|
1982
|
-
return e == null ?
|
1982
|
+
return e == null ? He(this, n, r).year : (i = ae(e, n, r), t > i && (t = i), Ga.call(this, e, t, s, n, r));
|
1983
1983
|
}
|
1984
1984
|
function Ga(e, t, s, n, r) {
|
1985
|
-
var i = Ls(e, t, s, n, r), a =
|
1985
|
+
var i = Ls(e, t, s, n, r), a = Fe(i.year, 0, i.dayOfYear);
|
1986
1986
|
return this.year(a.getUTCFullYear()), this.month(a.getUTCMonth()), this.date(a.getUTCDate()), this;
|
1987
1987
|
}
|
1988
1988
|
_("Q", 0, "Qo", "quarter");
|
1989
|
-
|
1990
|
-
|
1989
|
+
x("quarter", "Q");
|
1990
|
+
Y("quarter", 7);
|
1991
1991
|
d("Q", Ms);
|
1992
1992
|
S("Q", function(e, t) {
|
1993
|
-
t[re] = (
|
1993
|
+
t[re] = (p(e) - 1) * 3;
|
1994
1994
|
});
|
1995
1995
|
function za(e) {
|
1996
1996
|
return e == null ? Math.ceil((this.month() + 1) / 3) : this.month((e - 1) * 3 + this.month() % 3);
|
1997
1997
|
}
|
1998
1998
|
_("D", ["DD", 2], "Do", "date");
|
1999
|
-
|
2000
|
-
|
1999
|
+
x("date", "D");
|
2000
|
+
Y("date", 9);
|
2001
2001
|
d("D", D);
|
2002
2002
|
d("DD", D, P);
|
2003
2003
|
d("Do", function(e, t) {
|
@@ -2005,16 +2005,16 @@ d("Do", function(e, t) {
|
|
2005
2005
|
});
|
2006
2006
|
S(["D", "DD"], Q);
|
2007
2007
|
S("Do", function(e, t) {
|
2008
|
-
t[Q] =
|
2008
|
+
t[Q] = p(e.match(D)[0]);
|
2009
2009
|
});
|
2010
|
-
var rn =
|
2010
|
+
var rn = Ye("Date", !0);
|
2011
2011
|
_("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
|
2012
|
-
|
2013
|
-
|
2012
|
+
x("dayOfYear", "DDD");
|
2013
|
+
Y("dayOfYear", 4);
|
2014
2014
|
d("DDD", ut);
|
2015
2015
|
d("DDDD", Cs);
|
2016
2016
|
S(["DDD", "DDDD"], function(e, t, s) {
|
2017
|
-
s._dayOfYear =
|
2017
|
+
s._dayOfYear = p(e);
|
2018
2018
|
});
|
2019
2019
|
function Za(e) {
|
2020
2020
|
var t = Math.round(
|
@@ -2023,19 +2023,19 @@ function Za(e) {
|
|
2023
2023
|
return e == null ? t : this.add(e - t, "d");
|
2024
2024
|
}
|
2025
2025
|
_("m", ["mm", 2], 0, "minute");
|
2026
|
-
|
2027
|
-
|
2026
|
+
x("minute", "m");
|
2027
|
+
Y("minute", 14);
|
2028
2028
|
d("m", D);
|
2029
2029
|
d("mm", D, P);
|
2030
2030
|
S(["m", "mm"], $);
|
2031
|
-
var qa =
|
2031
|
+
var qa = Ye("Minutes", !1);
|
2032
2032
|
_("s", ["ss", 2], 0, "second");
|
2033
|
-
|
2034
|
-
|
2033
|
+
x("second", "s");
|
2034
|
+
Y("second", 15);
|
2035
2035
|
d("s", D);
|
2036
2036
|
d("ss", D, P);
|
2037
2037
|
S(["s", "ss"], ie);
|
2038
|
-
var Ka =
|
2038
|
+
var Ka = Ye("Seconds", !1);
|
2039
2039
|
_("S", 0, 0, function() {
|
2040
2040
|
return ~~(this.millisecond() / 100);
|
2041
2041
|
});
|
@@ -2061,8 +2061,8 @@ _(0, ["SSSSSSSS", 8], 0, function() {
|
|
2061
2061
|
_(0, ["SSSSSSSSS", 9], 0, function() {
|
2062
2062
|
return this.millisecond() * 1e6;
|
2063
2063
|
});
|
2064
|
-
|
2065
|
-
|
2064
|
+
x("millisecond", "ms");
|
2065
|
+
Y("millisecond", 16);
|
2066
2066
|
d("S", ut, Ms);
|
2067
2067
|
d("SS", ut, P);
|
2068
2068
|
d("SSS", ut, Cs);
|
@@ -2070,11 +2070,11 @@ var _e, an;
|
|
2070
2070
|
for (_e = "SSSS"; _e.length <= 9; _e += "S")
|
2071
2071
|
d(_e, Ie);
|
2072
2072
|
function Qa(e, t) {
|
2073
|
-
t[
|
2073
|
+
t[pe] = p(("0." + e) * 1e3);
|
2074
2074
|
}
|
2075
2075
|
for (_e = "S"; _e.length <= 9; _e += "S")
|
2076
2076
|
S(_e, Qa);
|
2077
|
-
an =
|
2077
|
+
an = Ye("Milliseconds", !1);
|
2078
2078
|
_("z", 0, 0, "zoneAbbr");
|
2079
2079
|
_("zz", 0, 0, "zoneName");
|
2080
2080
|
function Ja() {
|
@@ -2088,7 +2088,7 @@ l.add = ji;
|
|
2088
2088
|
l.calendar = Ji;
|
2089
2089
|
l.clone = Xi;
|
2090
2090
|
l.diff = aa;
|
2091
|
-
l.endOf =
|
2091
|
+
l.endOf = ya;
|
2092
2092
|
l.format = ua;
|
2093
2093
|
l.from = da;
|
2094
2094
|
l.fromNow = ha;
|
@@ -2123,16 +2123,16 @@ typeof Symbol < "u" && Symbol.for != null && (l[Symbol.for("nodejs.util.inspect.
|
|
2123
2123
|
l.toJSON = Sa;
|
2124
2124
|
l.toString = oa;
|
2125
2125
|
l.unix = ga;
|
2126
|
-
l.valueOf =
|
2126
|
+
l.valueOf = pa;
|
2127
2127
|
l.creationData = Ma;
|
2128
|
-
l.eraName =
|
2129
|
-
l.eraNarrow =
|
2130
|
-
l.eraAbbr =
|
2128
|
+
l.eraName = Na;
|
2129
|
+
l.eraNarrow = xa;
|
2130
|
+
l.eraAbbr = Ya;
|
2131
2131
|
l.eraYear = Ia;
|
2132
2132
|
l.year = Rs;
|
2133
2133
|
l.isLeapYear = br;
|
2134
|
-
l.weekYear =
|
2135
|
-
l.isoWeekYear =
|
2134
|
+
l.weekYear = Fa;
|
2135
|
+
l.isoWeekYear = Ha;
|
2136
2136
|
l.quarter = l.quarters = za;
|
2137
2137
|
l.month = Is;
|
2138
2138
|
l.daysInMonth = gr;
|
@@ -2143,7 +2143,7 @@ l.weeksInWeekYear = ja;
|
|
2143
2143
|
l.isoWeeksInYear = Ua;
|
2144
2144
|
l.isoWeeksInISOWeekYear = Ba;
|
2145
2145
|
l.date = rn;
|
2146
|
-
l.day = l.days =
|
2146
|
+
l.day = l.days = Hr;
|
2147
2147
|
l.weekday = Ur;
|
2148
2148
|
l.isoWeekday = Br;
|
2149
2149
|
l.dayOfYear = Za;
|
@@ -2151,14 +2151,14 @@ l.hour = l.hours = Kr;
|
|
2151
2151
|
l.minute = l.minutes = qa;
|
2152
2152
|
l.second = l.seconds = Ka;
|
2153
2153
|
l.millisecond = l.milliseconds = an;
|
2154
|
-
l.utcOffset =
|
2154
|
+
l.utcOffset = Yi;
|
2155
2155
|
l.utc = Wi;
|
2156
2156
|
l.local = Ri;
|
2157
2157
|
l.parseZone = Li;
|
2158
2158
|
l.hasAlignedHourOffset = Pi;
|
2159
2159
|
l.isDST = Ai;
|
2160
|
-
l.isLocal =
|
2161
|
-
l.isUtcOffset =
|
2160
|
+
l.isLocal = Fi;
|
2161
|
+
l.isUtcOffset = Hi;
|
2162
2162
|
l.isUtc = zs;
|
2163
2163
|
l.isUTC = zs;
|
2164
2164
|
l.zoneAbbr = Ja;
|
@@ -2181,7 +2181,7 @@ l.zone = U(
|
|
2181
2181
|
);
|
2182
2182
|
l.isDSTShifted = U(
|
2183
2183
|
"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
|
2184
|
-
|
2184
|
+
Vi
|
2185
2185
|
);
|
2186
2186
|
function eo(e) {
|
2187
2187
|
return O(e * 1e3);
|
@@ -2192,8 +2192,8 @@ function to() {
|
|
2192
2192
|
function on(e) {
|
2193
2193
|
return e;
|
2194
2194
|
}
|
2195
|
-
var b =
|
2196
|
-
b.calendar =
|
2195
|
+
var b = Vt.prototype;
|
2196
|
+
b.calendar = Hn;
|
2197
2197
|
b.longDateFormat = jn;
|
2198
2198
|
b.invalidDate = zn;
|
2199
2199
|
b.ordinal = Kn;
|
@@ -2201,16 +2201,16 @@ b.preparse = on;
|
|
2201
2201
|
b.postformat = on;
|
2202
2202
|
b.relativeTime = Jn;
|
2203
2203
|
b.pastFuture = Xn;
|
2204
|
-
b.set =
|
2204
|
+
b.set = Vn;
|
2205
2205
|
b.eras = Ca;
|
2206
2206
|
b.erasParse = Ta;
|
2207
|
-
b.erasConvertYear =
|
2207
|
+
b.erasConvertYear = Ea;
|
2208
2208
|
b.erasAbbrRegex = Ra;
|
2209
2209
|
b.erasNameRegex = Wa;
|
2210
2210
|
b.erasNarrowRegex = La;
|
2211
2211
|
b.months = _r;
|
2212
2212
|
b.monthsShort = mr;
|
2213
|
-
b.monthsParse =
|
2213
|
+
b.monthsParse = pr;
|
2214
2214
|
b.monthsRegex = wr;
|
2215
2215
|
b.monthsShortRegex = vr;
|
2216
2216
|
b.week = kr;
|
@@ -2219,7 +2219,7 @@ b.firstDayOfWeek = Dr;
|
|
2219
2219
|
b.weekdays = Lr;
|
2220
2220
|
b.weekdaysMin = Ar;
|
2221
2221
|
b.weekdaysShort = Pr;
|
2222
|
-
b.weekdaysParse =
|
2222
|
+
b.weekdaysParse = Fr;
|
2223
2223
|
b.weekdaysRegex = $r;
|
2224
2224
|
b.weekdaysShortRegex = jr;
|
2225
2225
|
b.weekdaysMinRegex = Gr;
|
@@ -2282,7 +2282,7 @@ me("en", {
|
|
2282
2282
|
],
|
2283
2283
|
dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
|
2284
2284
|
ordinal: function(e) {
|
2285
|
-
var t = e % 10, s =
|
2285
|
+
var t = e % 10, s = p(e % 100 / 10) === 1 ? "th" : t === 1 ? "st" : t === 2 ? "nd" : t === 3 ? "rd" : "th";
|
2286
2286
|
return e + s;
|
2287
2287
|
}
|
2288
2288
|
});
|
@@ -2314,12 +2314,12 @@ function ds(e) {
|
|
2314
2314
|
}
|
2315
2315
|
function uo() {
|
2316
2316
|
var e = this._milliseconds, t = this._days, s = this._months, n = this._data, r, i, a, o, c;
|
2317
|
-
return e >= 0 && t >= 0 && s >= 0 || e <= 0 && t <= 0 && s <= 0 || (e += ds(
|
2317
|
+
return e >= 0 && t >= 0 && s >= 0 || e <= 0 && t <= 0 && s <= 0 || (e += ds(Yt(s) + t) * 864e5, t = 0, s = 0), n.milliseconds = e % 1e3, r = F(e / 1e3), n.seconds = r % 60, i = F(r / 60), n.minutes = i % 60, a = F(i / 60), n.hours = a % 24, t += F(a / 24), c = F(un(t)), s += c, t -= ds(Yt(c)), o = F(s / 12), s %= 12, n.days = t, n.months = s, n.years = o, this;
|
2318
2318
|
}
|
2319
2319
|
function un(e) {
|
2320
2320
|
return e * 4800 / 146097;
|
2321
2321
|
}
|
2322
|
-
function
|
2322
|
+
function Yt(e) {
|
2323
2323
|
return e * 146097 / 4800;
|
2324
2324
|
}
|
2325
2325
|
function ho(e) {
|
@@ -2336,7 +2336,7 @@ function ho(e) {
|
|
2336
2336
|
return s / 12;
|
2337
2337
|
}
|
2338
2338
|
else
|
2339
|
-
switch (t = this._days + Math.round(
|
2339
|
+
switch (t = this._days + Math.round(Yt(this._months)), e) {
|
2340
2340
|
case "week":
|
2341
2341
|
return t / 7 + n / 6048e5;
|
2342
2342
|
case "day":
|
@@ -2354,14 +2354,14 @@ function ho(e) {
|
|
2354
2354
|
}
|
2355
2355
|
}
|
2356
2356
|
function fo() {
|
2357
|
-
return this.isValid() ? this._milliseconds + this._days * 864e5 + this._months % 12 * 2592e6 +
|
2357
|
+
return this.isValid() ? this._milliseconds + this._days * 864e5 + this._months % 12 * 2592e6 + p(this._months / 12) * 31536e6 : NaN;
|
2358
2358
|
}
|
2359
2359
|
function le(e) {
|
2360
2360
|
return function() {
|
2361
2361
|
return this.as(e);
|
2362
2362
|
};
|
2363
2363
|
}
|
2364
|
-
var _o = le("ms"), mo = le("s"),
|
2364
|
+
var _o = le("ms"), mo = le("s"), yo = le("m"), po = le("h"), go = le("d"), vo = le("w"), wo = le("M"), bo = le("Q"), So = le("y");
|
2365
2365
|
function ko() {
|
2366
2366
|
return q(this);
|
2367
2367
|
}
|
@@ -2373,9 +2373,9 @@ function ve(e) {
|
|
2373
2373
|
return this.isValid() ? this._data[e] : NaN;
|
2374
2374
|
};
|
2375
2375
|
}
|
2376
|
-
var Do = ve("milliseconds"), Mo = ve("seconds"), Co = ve("minutes"), To = ve("hours"),
|
2377
|
-
function
|
2378
|
-
return
|
2376
|
+
var Do = ve("milliseconds"), Mo = ve("seconds"), Co = ve("minutes"), To = ve("hours"), Eo = ve("days"), No = ve("months"), xo = ve("years");
|
2377
|
+
function Yo() {
|
2378
|
+
return F(this.days() / 7);
|
2379
2379
|
}
|
2380
2380
|
var se = Math.round, Te = {
|
2381
2381
|
ss: 44,
|
@@ -2420,9 +2420,9 @@ function gt() {
|
|
2420
2420
|
if (!this.isValid())
|
2421
2421
|
return this.localeData().invalidDate();
|
2422
2422
|
var e = Ot(this._milliseconds) / 1e3, t = Ot(this._days), s = Ot(this._months), n, r, i, a, o = this.asSeconds(), c, f, h, m;
|
2423
|
-
return o ? (n =
|
2423
|
+
return o ? (n = F(e / 60), r = F(n / 60), e %= 60, n %= 60, i = F(s / 12), s %= 12, a = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", c = o < 0 ? "-" : "", f = ke(this._months) !== ke(o) ? "-" : "", h = ke(this._days) !== ke(o) ? "-" : "", m = ke(this._milliseconds) !== ke(o) ? "-" : "", c + "P" + (i ? f + i + "Y" : "") + (s ? f + s + "M" : "") + (t ? h + t + "D" : "") + (r || n || e ? "T" : "") + (r ? m + r + "H" : "") + (n ? m + n + "M" : "") + (e ? m + a + "S" : "")) : "P0D";
|
2424
2424
|
}
|
2425
|
-
var g =
|
2425
|
+
var g = yt.prototype;
|
2426
2426
|
g.isValid = Ti;
|
2427
2427
|
g.abs = oo;
|
2428
2428
|
g.add = co;
|
@@ -2430,8 +2430,8 @@ g.subtract = lo;
|
|
2430
2430
|
g.as = ho;
|
2431
2431
|
g.asMilliseconds = _o;
|
2432
2432
|
g.asSeconds = mo;
|
2433
|
-
g.asMinutes =
|
2434
|
-
g.asHours =
|
2433
|
+
g.asMinutes = yo;
|
2434
|
+
g.asHours = po;
|
2435
2435
|
g.asDays = go;
|
2436
2436
|
g.asWeeks = vo;
|
2437
2437
|
g.asMonths = wo;
|
@@ -2445,10 +2445,10 @@ g.milliseconds = Do;
|
|
2445
2445
|
g.seconds = Mo;
|
2446
2446
|
g.minutes = Co;
|
2447
2447
|
g.hours = To;
|
2448
|
-
g.days =
|
2449
|
-
g.weeks =
|
2450
|
-
g.months =
|
2451
|
-
g.years =
|
2448
|
+
g.days = Eo;
|
2449
|
+
g.weeks = Yo;
|
2450
|
+
g.months = No;
|
2451
|
+
g.years = xo;
|
2452
2452
|
g.humanize = Po;
|
2453
2453
|
g.toISOString = gt;
|
2454
2454
|
g.toString = gt;
|
@@ -2468,7 +2468,7 @@ S("X", function(e, t, s) {
|
|
2468
2468
|
s._d = new Date(parseFloat(e) * 1e3);
|
2469
2469
|
});
|
2470
2470
|
S("x", function(e, t, s) {
|
2471
|
-
s._d = new Date(
|
2471
|
+
s._d = new Date(p(e));
|
2472
2472
|
});
|
2473
2473
|
//! moment.js
|
2474
2474
|
u.version = "2.29.4";
|
@@ -2520,9 +2520,9 @@ u.HTML5_FMT = {
|
|
2520
2520
|
MONTH: "YYYY-MM"
|
2521
2521
|
// <input type="month" />
|
2522
2522
|
};
|
2523
|
-
const Ao = (e) => u(e).format("hh:mm a").toLowerCase(),
|
2523
|
+
const Ao = (e) => u(e).format("hh:mm a").toLowerCase(), Vo = (e) => e.toLowerCase().split(" ").map(function(t) {
|
2524
2524
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
2525
|
-
}).join(" "),
|
2525
|
+
}).join(" "), Fo = { class: "chat-message" }, Ho = { class: "message" }, Uo = { class: "detail-message flex justify-content-between" }, Bo = {
|
2526
2526
|
key: 0,
|
2527
2527
|
class: "mr-5"
|
2528
2528
|
}, $o = {
|
@@ -2534,19 +2534,19 @@ const Ao = (e) => u(e).format("hh:mm a").toLowerCase(), Fo = (e) => e.toLowerCas
|
|
2534
2534
|
message: { type: Object, required: !0 }
|
2535
2535
|
},
|
2536
2536
|
setup(e) {
|
2537
|
-
const t = e, s =
|
2537
|
+
const t = e, s = ps(() => t.message.responseOrigin);
|
2538
2538
|
return (n, r) => {
|
2539
2539
|
var i;
|
2540
|
-
return
|
2540
|
+
return H(), j("div", Fo, [
|
2541
2541
|
C("div", {
|
2542
2542
|
class: is(["bubble", s.value ? "left" : "right"])
|
2543
2543
|
}, [
|
2544
2544
|
C("div", {
|
2545
2545
|
class: is(s.value ? "content-left" : "content-right")
|
2546
2546
|
}, [
|
2547
|
-
C("div",
|
2547
|
+
C("div", Ho, wt(e.message.dataMessage), 1),
|
2548
2548
|
C("div", Uo, [
|
2549
|
-
(i = e.message.user) != null && i.nombreCompleto ? (
|
2549
|
+
(i = e.message.user) != null && i.nombreCompleto ? (H(), j("span", Bo, wt(as(Vo)(e.message.user.nombreCompleto)), 1)) : (H(), j("span", $o)),
|
2550
2550
|
C("span", null, wt(as(Ao)(e.message.createdAt)), 1)
|
2551
2551
|
])
|
2552
2552
|
], 2)
|
@@ -2697,7 +2697,7 @@ function ss(e, t, s) {
|
|
2697
2697
|
var i = e._wrappedGetters, a = {}, o = {}, c = On(!0);
|
2698
2698
|
c.run(function() {
|
2699
2699
|
be(i, function(f, h) {
|
2700
|
-
a[h] = rc(f, e), o[h] =
|
2700
|
+
a[h] = rc(f, e), o[h] = ps(function() {
|
2701
2701
|
return a[h]();
|
2702
2702
|
}), Object.defineProperty(e.getters, h, {
|
2703
2703
|
get: function() {
|
@@ -2882,7 +2882,7 @@ function hc(e, t) {
|
|
2882
2882
|
if (n.app === e && n.inspectorId === De) {
|
2883
2883
|
var r = n.nodeId;
|
2884
2884
|
mn(t, r), n.state = mc(
|
2885
|
-
|
2885
|
+
pc(t._modules, r),
|
2886
2886
|
r === "root" ? t.getters : t._makeLocalGettersCache,
|
2887
2887
|
r
|
2888
2888
|
);
|
@@ -2942,12 +2942,12 @@ function hc(e, t) {
|
|
2942
2942
|
}
|
2943
2943
|
);
|
2944
2944
|
}
|
2945
|
-
var fs = 8702998, fc = 6710886, _c = 16777215,
|
2945
|
+
var fs = 8702998, fc = 6710886, _c = 16777215, yn = {
|
2946
2946
|
label: "namespaced",
|
2947
2947
|
textColor: _c,
|
2948
2948
|
backgroundColor: fc
|
2949
2949
|
};
|
2950
|
-
function
|
2950
|
+
function pn(e) {
|
2951
2951
|
return e && e !== "root" ? e.split("/").slice(-2, -1)[0] : "Root";
|
2952
2952
|
}
|
2953
2953
|
function gn(e, t) {
|
@@ -2956,8 +2956,8 @@ function gn(e, t) {
|
|
2956
2956
|
// all modules end with a `/`, we want the last segment only
|
2957
2957
|
// cart/ -> cart
|
2958
2958
|
// nested/cart/ -> cart
|
2959
|
-
label:
|
2960
|
-
tags: e.namespaced ? [
|
2959
|
+
label: pn(t),
|
2960
|
+
tags: e.namespaced ? [yn] : [],
|
2961
2961
|
children: Object.keys(e._children).map(
|
2962
2962
|
function(s) {
|
2963
2963
|
return gn(
|
@@ -2972,7 +2972,7 @@ function vn(e, t, s, n) {
|
|
2972
2972
|
n.includes(s) && e.push({
|
2973
2973
|
id: n || "root",
|
2974
2974
|
label: n.endsWith("/") ? n.slice(0, n.length - 1) : n || "Root",
|
2975
|
-
tags: t.namespaced ? [
|
2975
|
+
tags: t.namespaced ? [yn] : []
|
2976
2976
|
}), Object.keys(t._children).forEach(function(r) {
|
2977
2977
|
vn(e, t._children[r], s, n + r + "/");
|
2978
2978
|
});
|
@@ -2989,10 +2989,10 @@ function mc(e, t, s) {
|
|
2989
2989
|
})
|
2990
2990
|
};
|
2991
2991
|
if (n.length) {
|
2992
|
-
var i =
|
2992
|
+
var i = yc(t);
|
2993
2993
|
r.getters = Object.keys(i).map(function(a) {
|
2994
2994
|
return {
|
2995
|
-
key: a.endsWith("/") ?
|
2995
|
+
key: a.endsWith("/") ? pn(a) : a,
|
2996
2996
|
editable: !1,
|
2997
2997
|
value: Wt(function() {
|
2998
2998
|
return i[a];
|
@@ -3002,7 +3002,7 @@ function mc(e, t, s) {
|
|
3002
3002
|
}
|
3003
3003
|
return r;
|
3004
3004
|
}
|
3005
|
-
function
|
3005
|
+
function yc(e) {
|
3006
3006
|
var t = {};
|
3007
3007
|
return Object.keys(e).forEach(function(s) {
|
3008
3008
|
var n = s.split("/");
|
@@ -3026,7 +3026,7 @@ function pc(e) {
|
|
3026
3026
|
});
|
3027
3027
|
}), t;
|
3028
3028
|
}
|
3029
|
-
function
|
3029
|
+
function pc(e, t) {
|
3030
3030
|
var s = t.split("/").filter(function(n) {
|
3031
3031
|
return n;
|
3032
3032
|
});
|
@@ -3423,7 +3423,7 @@ class he {
|
|
3423
3423
|
`).replace(/\\c/g, ":").replace(/\\\\/g, "\\");
|
3424
3424
|
}
|
3425
3425
|
}
|
3426
|
-
const
|
3426
|
+
const ys = 0, qe = 10, Ke = 13, kc = 58;
|
3427
3427
|
class Oc {
|
3428
3428
|
constructor(t, s) {
|
3429
3429
|
this.onFrame = t, this.onIncomingPing = s, this._encoder = new TextEncoder(), this._decoder = new TextDecoder(), this._token = [], this._initState();
|
@@ -3442,7 +3442,7 @@ class Oc {
|
|
3442
3442
|
// The following implements a simple Rec Descent Parser.
|
3443
3443
|
// The grammar is simple and just one byte tells what should be the next state
|
3444
3444
|
_collectFrame(t) {
|
3445
|
-
if (t !==
|
3445
|
+
if (t !== ys && t !== Ke) {
|
3446
3446
|
if (t === qe) {
|
3447
3447
|
this.onIncomingPing();
|
3448
3448
|
return;
|
@@ -3495,7 +3495,7 @@ class Oc {
|
|
3495
3495
|
t ? (this._bodyBytesRemaining = parseInt(t[1], 10), this._onByte = this._collectBodyFixedSize) : this._onByte = this._collectBodyNullTerminated;
|
3496
3496
|
}
|
3497
3497
|
_collectBodyNullTerminated(t) {
|
3498
|
-
if (t ===
|
3498
|
+
if (t === ys) {
|
3499
3499
|
this._retrievedBody();
|
3500
3500
|
return;
|
3501
3501
|
}
|
@@ -3540,10 +3540,10 @@ var ne;
|
|
3540
3540
|
(function(e) {
|
3541
3541
|
e[e.CONNECTING = 0] = "CONNECTING", e[e.OPEN = 1] = "OPEN", e[e.CLOSING = 2] = "CLOSING", e[e.CLOSED = 3] = "CLOSED";
|
3542
3542
|
})(ne = ne || (ne = {}));
|
3543
|
-
var
|
3543
|
+
var V;
|
3544
3544
|
(function(e) {
|
3545
3545
|
e[e.ACTIVE = 0] = "ACTIVE", e[e.DEACTIVATING = 1] = "DEACTIVATING", e[e.INACTIVE = 2] = "INACTIVE";
|
3546
|
-
})(
|
3546
|
+
})(V = V || (V = {}));
|
3547
3547
|
class I {
|
3548
3548
|
/**
|
3549
3549
|
* Takes an array of versions, typical elements '1.2', '1.1', or '1.0'
|
@@ -3790,7 +3790,7 @@ class Cc {
|
|
3790
3790
|
* Create an instance.
|
3791
3791
|
*/
|
3792
3792
|
constructor(t = {}) {
|
3793
|
-
this.stompVersions = I.default, this.connectionTimeout = 0, this.reconnectDelay = 5e3, this.heartbeatIncoming = 1e4, this.heartbeatOutgoing = 1e4, this.splitLargeFrames = !1, this.maxWebSocketChunkSize = 8 * 1024, this.forceBinaryWSFrames = !1, this.appendMissingNULLonIncoming = !1, this.discardWebsocketOnCommFailure = !1, this.state =
|
3793
|
+
this.stompVersions = I.default, this.connectionTimeout = 0, this.reconnectDelay = 5e3, this.heartbeatIncoming = 1e4, this.heartbeatOutgoing = 1e4, this.splitLargeFrames = !1, this.maxWebSocketChunkSize = 8 * 1024, this.forceBinaryWSFrames = !1, this.appendMissingNULLonIncoming = !1, this.discardWebsocketOnCommFailure = !1, this.state = V.INACTIVE;
|
3794
3794
|
const s = () => {
|
3795
3795
|
};
|
3796
3796
|
this.debug = s, this.beforeConnect = s, this.onConnect = s, this.onDisconnect = s, this.onUnhandledMessage = s, this.onUnhandledReceipt = s, this.onUnhandledFrame = s, this.onStompError = s, this.onWebSocketClose = s, this.onWebSocketError = s, this.logRawCommunication = !1, this.onChangeState = s, this.connectHeaders = {}, this._disconnectHeaders = {}, this.configure(t);
|
@@ -3827,7 +3827,7 @@ class Cc {
|
|
3827
3827
|
* if the client is active (connected or going to reconnect)
|
3828
3828
|
*/
|
3829
3829
|
get active() {
|
3830
|
-
return this.state ===
|
3830
|
+
return this.state === V.ACTIVE;
|
3831
3831
|
}
|
3832
3832
|
_changeState(t) {
|
3833
3833
|
this.state = t, this.onChangeState(t);
|
@@ -3851,9 +3851,9 @@ class Cc {
|
|
3851
3851
|
this.debug("Already ACTIVE, ignoring request to activate");
|
3852
3852
|
return;
|
3853
3853
|
}
|
3854
|
-
this._changeState(
|
3854
|
+
this._changeState(V.ACTIVE), this._connect();
|
3855
3855
|
};
|
3856
|
-
this.state ===
|
3856
|
+
this.state === V.DEACTIVATING ? (this.debug("Waiting for deactivation to finish before activating"), this.deactivate().then(() => {
|
3857
3857
|
t();
|
3858
3858
|
})) : t();
|
3859
3859
|
}
|
@@ -3897,7 +3897,7 @@ class Cc {
|
|
3897
3897
|
this.onStompError(s);
|
3898
3898
|
},
|
3899
3899
|
onWebSocketClose: (s) => {
|
3900
|
-
this._stompHandler = void 0, this.state ===
|
3900
|
+
this._stompHandler = void 0, this.state === V.DEACTIVATING && this._changeState(V.INACTIVE), this.onWebSocketClose(s), this.active && this._schedule_reconnect();
|
3901
3901
|
},
|
3902
3902
|
onWebSocketError: (s) => {
|
3903
3903
|
this.onWebSocketError(s);
|
@@ -3955,9 +3955,9 @@ class Cc {
|
|
3955
3955
|
var s;
|
3956
3956
|
const n = t.force || !1, r = this.active;
|
3957
3957
|
let i;
|
3958
|
-
if (this.state ===
|
3958
|
+
if (this.state === V.INACTIVE)
|
3959
3959
|
return this.debug("Already INACTIVE, nothing more to do"), Promise.resolve();
|
3960
|
-
if (this._changeState(
|
3960
|
+
if (this._changeState(V.DEACTIVATING), this._reconnector && (clearTimeout(this._reconnector), this._reconnector = void 0), this._stompHandler && // @ts-ignore - if there is a _stompHandler, there is the webSocket
|
3961
3961
|
this.webSocket.readyState !== ne.CLOSED) {
|
3962
3962
|
const a = this._stompHandler.onWebSocketClose;
|
3963
3963
|
i = new Promise((o, c) => {
|
@@ -3966,7 +3966,7 @@ class Cc {
|
|
3966
3966
|
};
|
3967
3967
|
});
|
3968
3968
|
} else
|
3969
|
-
return this._changeState(
|
3969
|
+
return this._changeState(V.INACTIVE), Promise.resolve();
|
3970
3970
|
return n ? (s = this._stompHandler) == null || s.discardWebsocket() : r && this._disposeStompHandler(), i;
|
3971
3971
|
}
|
3972
3972
|
/**
|
@@ -4212,27 +4212,27 @@ class Tc {
|
|
4212
4212
|
this.client.publish({ destination: `/queue/${this.queue}`, body: JSON.stringify({ data: t }) });
|
4213
4213
|
}
|
4214
4214
|
}
|
4215
|
-
const
|
4215
|
+
const Ec = {}, Nc = {
|
4216
4216
|
width: "32",
|
4217
4217
|
height: "32",
|
4218
4218
|
viewBox: "0 0 32 32",
|
4219
4219
|
fill: "none",
|
4220
4220
|
xmlns: "http://www.w3.org/2000/svg"
|
4221
|
-
},
|
4221
|
+
}, xc = /* @__PURE__ */ C("path", {
|
4222
4222
|
d: "M16 31C24.2843 31 31 24.2843 31 16C31 7.71573 24.2843 1 16 1C7.71573 1 1 7.71573 1 16C1 24.2843 7.71573 31 16 31Z",
|
4223
4223
|
stroke: "#B3B3B3",
|
4224
4224
|
"stroke-miterlimit": "10"
|
4225
|
-
}, null, -1),
|
4225
|
+
}, null, -1), Yc = /* @__PURE__ */ C("path", {
|
4226
4226
|
d: "M19.78 22.3L15.98 16.63H15.9601L12.2001 22.3H11.0701L15.37 15.8899L11.25 9.69995H12.38L15.98 15.08H16L19.67 9.69995H20.8L16.55 15.82L20.92 22.3H19.77H19.78Z",
|
4227
4227
|
fill: "#B3B3B3"
|
4228
4228
|
}, null, -1), Ic = [
|
4229
|
-
|
4230
|
-
|
4229
|
+
xc,
|
4230
|
+
Yc
|
4231
4231
|
];
|
4232
4232
|
function Wc(e, t) {
|
4233
|
-
return
|
4233
|
+
return H(), j("svg", Nc, Ic);
|
4234
4234
|
}
|
4235
|
-
const Rc = /* @__PURE__ */ we(
|
4235
|
+
const Rc = /* @__PURE__ */ we(Ec, [["render", Wc]]), Lc = {}, Pc = {
|
4236
4236
|
width: "24",
|
4237
4237
|
height: "24",
|
4238
4238
|
viewBox: "0 0 24 24",
|
@@ -4241,17 +4241,17 @@ const Rc = /* @__PURE__ */ we(Nc, [["render", Wc]]), Lc = {}, Pc = {
|
|
4241
4241
|
}, Ac = /* @__PURE__ */ C("path", {
|
4242
4242
|
d: "M11.9301 23.25C5.65005 23.25 0.550049 18.14 0.550049 11.87C0.550049 5.6 5.66005 0.48999 11.9301 0.48999C18.2001 0.48999 23.3101 5.6 23.3101 11.87C23.3101 18.14 18.2001 23.25 11.9301 23.25ZM11.9301 1.10999C6.00005 1.10999 1.17004 5.94 1.17004 11.87C1.17004 17.8 6.00005 22.63 11.9301 22.63C17.8601 22.63 22.6899 17.8 22.6899 11.87C22.6899 5.94 17.8601 1.10999 11.9301 1.10999Z",
|
4243
4243
|
fill: "#F28B0C"
|
4244
|
-
}, null, -1),
|
4244
|
+
}, null, -1), Vc = /* @__PURE__ */ C("path", {
|
4245
4245
|
d: "M8.68994 17.0601C8.63994 17.0601 8.58004 17.0501 8.54004 17.0201C8.44004 16.9701 8.38 16.8601 8.38 16.7501V6.99007C8.38 6.88007 8.44004 6.78005 8.54004 6.72005C8.64004 6.66005 8.74998 6.67005 8.84998 6.72005L17.1899 11.6001C17.2799 11.6601 17.34 11.7601 17.34 11.8701C17.34 11.9801 17.2799 12.0801 17.1899 12.1401L8.84998 17.0201C8.84998 17.0201 8.74994 17.0601 8.68994 17.0601ZM9 7.5301V16.21L16.42 11.8701L9 7.5301Z",
|
4246
4246
|
fill: "#F28B0C"
|
4247
|
-
}, null, -1),
|
4247
|
+
}, null, -1), Fc = [
|
4248
4248
|
Ac,
|
4249
|
-
|
4249
|
+
Vc
|
4250
4250
|
];
|
4251
|
-
function
|
4252
|
-
return
|
4251
|
+
function Hc(e, t) {
|
4252
|
+
return H(), j("svg", Pc, Fc);
|
4253
4253
|
}
|
4254
|
-
const Uc = /* @__PURE__ */ we(Lc, [["render",
|
4254
|
+
const Uc = /* @__PURE__ */ we(Lc, [["render", Hc]]), Bc = {}, $c = {
|
4255
4255
|
width: "42",
|
4256
4256
|
height: "42",
|
4257
4257
|
viewBox: "0 0 42 42",
|
@@ -4270,7 +4270,7 @@ const Uc = /* @__PURE__ */ we(Lc, [["render", Vc]]), Bc = {}, $c = {
|
|
4270
4270
|
Gc
|
4271
4271
|
];
|
4272
4272
|
function Zc(e, t) {
|
4273
|
-
return
|
4273
|
+
return H(), j("svg", $c, zc);
|
4274
4274
|
}
|
4275
4275
|
const qc = /* @__PURE__ */ we(Bc, [["render", Zc]]), Kc = (e) => (In("data-v-f8d5bc79"), e = e(), Wn(), e), Qc = { class: "widget" }, Jc = { class: "header-widget" }, Xc = /* @__PURE__ */ Kc(() => /* @__PURE__ */ C("span", null, null, -1)), el = {
|
4276
4276
|
class: "messages-container",
|
@@ -4341,7 +4341,7 @@ const qc = /* @__PURE__ */ we(Bc, [["render", Zc]]), Kc = (e) => (In("data-v-f8d
|
|
4341
4341
|
virtualHost: v
|
4342
4342
|
}
|
4343
4343
|
}), m();
|
4344
|
-
}), (v, R) => (
|
4344
|
+
}), (v, R) => (H(), j("div", Qc, [
|
4345
4345
|
C("div", Jc, [
|
4346
4346
|
Xc,
|
4347
4347
|
Pe(Rc, {
|
@@ -4349,7 +4349,7 @@ const qc = /* @__PURE__ */ we(Bc, [["render", Zc]]), Kc = (e) => (In("data-v-f8d
|
|
4349
4349
|
})
|
4350
4350
|
]),
|
4351
4351
|
C("div", el, [
|
4352
|
-
(
|
4352
|
+
(H(!0), j(Cn, null, Tn(o.value, (ue, de) => (H(), En(Go, {
|
4353
4353
|
class: "message",
|
4354
4354
|
key: de,
|
4355
4355
|
message: ue
|
@@ -4358,19 +4358,19 @@ const qc = /* @__PURE__ */ we(Bc, [["render", Zc]]), Kc = (e) => (In("data-v-f8d
|
|
4358
4358
|
C("div", tl, [
|
4359
4359
|
C("form", {
|
4360
4360
|
class: "message-send",
|
4361
|
-
onSubmit:
|
4361
|
+
onSubmit: Nn(f, ["prevent"])
|
4362
4362
|
}, [
|
4363
4363
|
C("div", nl, [
|
4364
4364
|
C("button", rl, [
|
4365
4365
|
Pe(qc)
|
4366
4366
|
]),
|
4367
4367
|
C("div", il, [
|
4368
|
-
|
4368
|
+
xn(C("input", {
|
4369
4369
|
"onUpdate:modelValue": R[1] || (R[1] = (ue) => a.value = ue),
|
4370
4370
|
class: "jl2-input",
|
4371
4371
|
required: ""
|
4372
4372
|
}, null, 512), [
|
4373
|
-
[
|
4373
|
+
[Yn, a.value]
|
4374
4374
|
]),
|
4375
4375
|
C("button", al, [
|
4376
4376
|
Pe(Uc)
|
@@ -4392,12 +4392,12 @@ const cl = /* @__PURE__ */ we(ol, [["__scopeId", "data-v-f8d5bc79"]]), ll = {},
|
|
4392
4392
|
dl
|
4393
4393
|
];
|
4394
4394
|
function fl(e, t) {
|
4395
|
-
return
|
4395
|
+
return H(), j("svg", ul, hl);
|
4396
4396
|
}
|
4397
4397
|
const _l = /* @__PURE__ */ we(ll, [["render", fl]]), ml = {
|
4398
4398
|
key: 0,
|
4399
4399
|
class: "chat-box"
|
4400
|
-
},
|
4400
|
+
}, yl = /* @__PURE__ */ Rt({
|
4401
4401
|
__name: "Widget",
|
4402
4402
|
props: {
|
4403
4403
|
tokenAuth: { type: String, required: !0 },
|
@@ -4407,7 +4407,7 @@ const _l = /* @__PURE__ */ we(ll, [["render", fl]]), ml = {
|
|
4407
4407
|
const t = Me(!1), s = () => {
|
4408
4408
|
t.value = !t.value;
|
4409
4409
|
};
|
4410
|
-
return (n, r) => (
|
4410
|
+
return (n, r) => (H(), j("div", null, [
|
4411
4411
|
C("div", null, [
|
4412
4412
|
C("div", {
|
4413
4413
|
id: "chat-circle",
|
@@ -4415,7 +4415,7 @@ const _l = /* @__PURE__ */ we(ll, [["render", fl]]), ml = {
|
|
4415
4415
|
}, [
|
4416
4416
|
Pe(_l)
|
4417
4417
|
]),
|
4418
|
-
t.value ? (
|
4418
|
+
t.value ? (H(), j("div", ml, [
|
4419
4419
|
Pe(cl, {
|
4420
4420
|
toggleChat: s,
|
4421
4421
|
tokenAuth: e.tokenAuth,
|
@@ -4426,8 +4426,9 @@ const _l = /* @__PURE__ */ we(ll, [["render", fl]]), ml = {
|
|
4426
4426
|
]));
|
4427
4427
|
}
|
4428
4428
|
});
|
4429
|
-
const gl = /* @__PURE__ */ we(
|
4429
|
+
const gl = /* @__PURE__ */ we(yl, [["__scopeId", "data-v-4b17fe0e"]]), vl = {
|
4430
4430
|
install(e, t) {
|
4431
|
+
window.VITE_BACKEND_URL = t.VITE_BACKEND_URL, window.VITE_BROKER_URL = t.VITE_BROKER_URL, window.VITE_USERNAME = t.VITE_USERNAME, window.VITE_PASSWORD = t.VITE_PASSWORD;
|
4431
4432
|
}
|
4432
4433
|
};
|
4433
4434
|
export {
|