vue-wiguet-chatweb 0.0.4 → 0.0.5
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/style.css +1 -1
- package/dist/vue-wiguet-chatweb.js +536 -536
- package/dist/vue-wiguet-chatweb.umd.cjs +7 -7
- package/package.json +1 -1
- package/src/components/Chat.vue +2 -2
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as is, computed as lr, openBlock as
|
1
|
+
import { defineComponent as is, computed as lr, openBlock as G, createElementBlock as K, createElementVNode as x, normalizeClass as Ns, toDisplayString as Ut, unref as As, ref as Oe, onMounted as cr, createVNode as Ve, Fragment as ur, renderList as dr, createBlock as hr, withModifiers as fr, withDirectives as mr, vModelText as _r, pushScopeId as pr, popScopeId as yr, createStaticVNode as gr, createCommentVNode as wr } from "vue";
|
2
2
|
//! moment.js
|
3
3
|
//! version : 2.29.4
|
4
4
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
@@ -11,10 +11,10 @@ function f() {
|
|
11
11
|
function Sr(e) {
|
12
12
|
Js = e;
|
13
13
|
}
|
14
|
-
function
|
14
|
+
function Q(e) {
|
15
15
|
return e instanceof Array || Object.prototype.toString.call(e) === "[object Array]";
|
16
16
|
}
|
17
|
-
function
|
17
|
+
function De(e) {
|
18
18
|
return e != null && Object.prototype.toString.call(e) === "[object Object]";
|
19
19
|
}
|
20
20
|
function O(e, t) {
|
@@ -32,7 +32,7 @@ function as(e) {
|
|
32
32
|
function H(e) {
|
33
33
|
return e === void 0;
|
34
34
|
}
|
35
|
-
function
|
35
|
+
function me(e) {
|
36
36
|
return typeof e == "number" || Object.prototype.toString.call(e) === "[object Number]";
|
37
37
|
}
|
38
38
|
function Je(e) {
|
@@ -44,12 +44,12 @@ function Ks(e, t) {
|
|
44
44
|
s.push(t(e[n], n));
|
45
45
|
return s;
|
46
46
|
}
|
47
|
-
function
|
47
|
+
function we(e, t) {
|
48
48
|
for (var s in t)
|
49
49
|
O(t, s) && (e[s] = t[s]);
|
50
50
|
return O(t, "toString") && (e.toString = t.toString), O(t, "valueOf") && (e.valueOf = t.valueOf), e;
|
51
51
|
}
|
52
|
-
function
|
52
|
+
function re(e, t, s, n) {
|
53
53
|
return kn(e, t, s, n, !0).utc();
|
54
54
|
}
|
55
55
|
function br() {
|
@@ -96,8 +96,8 @@ function os(e) {
|
|
96
96
|
return e._isValid;
|
97
97
|
}
|
98
98
|
function bt(e) {
|
99
|
-
var t =
|
100
|
-
return e != null ?
|
99
|
+
var t = re(NaN);
|
100
|
+
return e != null ? we(w(t), e) : w(t).userInvalidated = !0, t;
|
101
101
|
}
|
102
102
|
var Ys = f.momentProperties = [], Wt = !1;
|
103
103
|
function ls(e, t) {
|
@@ -110,15 +110,15 @@ function ls(e, t) {
|
|
110
110
|
function Ke(e) {
|
111
111
|
ls(this, e), this._d = new Date(e._d != null ? e._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), Wt === !1 && (Wt = !0, f.updateOffset(this), Wt = !1);
|
112
112
|
}
|
113
|
-
function
|
113
|
+
function X(e) {
|
114
114
|
return e instanceof Ke || e != null && e._isAMomentObject != null;
|
115
115
|
}
|
116
116
|
function Qs(e) {
|
117
117
|
f.suppressDeprecationWarnings === !1 && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + e);
|
118
118
|
}
|
119
|
-
function
|
119
|
+
function q(e, t) {
|
120
120
|
var s = !0;
|
121
|
-
return
|
121
|
+
return we(function() {
|
122
122
|
if (f.deprecationHandler != null && f.deprecationHandler(null, e), s) {
|
123
123
|
var n = [], r, i, a, o = arguments.length;
|
124
124
|
for (i = 0; i < o; i++) {
|
@@ -147,23 +147,23 @@ function Xs(e, t) {
|
|
147
147
|
}
|
148
148
|
f.suppressDeprecationWarnings = !1;
|
149
149
|
f.deprecationHandler = null;
|
150
|
-
function
|
150
|
+
function ie(e) {
|
151
151
|
return typeof Function < "u" && e instanceof Function || Object.prototype.toString.call(e) === "[object Function]";
|
152
152
|
}
|
153
153
|
function kr(e) {
|
154
154
|
var t, s;
|
155
155
|
for (s in e)
|
156
|
-
O(e, s) && (t = e[s],
|
156
|
+
O(e, s) && (t = e[s], ie(t) ? this[s] = t : this["_" + s] = t);
|
157
157
|
this._config = e, this._dayOfMonthOrdinalParseLenient = new RegExp(
|
158
158
|
(this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source
|
159
159
|
);
|
160
160
|
}
|
161
161
|
function Zt(e, t) {
|
162
|
-
var s =
|
162
|
+
var s = we({}, e), n;
|
163
163
|
for (n in t)
|
164
|
-
O(t, n) && (
|
164
|
+
O(t, n) && (De(e[n]) && De(t[n]) ? (s[n] = {}, we(s[n], e[n]), we(s[n], t[n])) : t[n] != null ? s[n] = t[n] : delete s[n]);
|
165
165
|
for (n in e)
|
166
|
-
O(e, n) && !O(t, n) &&
|
166
|
+
O(e, n) && !O(t, n) && De(e[n]) && (s[n] = we({}, s[n]));
|
167
167
|
return s;
|
168
168
|
}
|
169
169
|
function cs(e) {
|
@@ -186,19 +186,19 @@ var Or = {
|
|
186
186
|
};
|
187
187
|
function vr(e, t, s) {
|
188
188
|
var n = this._calendar[e] || this._calendar.sameElse;
|
189
|
-
return
|
189
|
+
return ie(n) ? n.call(t, s) : n;
|
190
190
|
}
|
191
|
-
function
|
191
|
+
function ne(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
195
|
var us = /(\[[^\[]*\])|(\\)?([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, nt = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, Ht = {}, Ne = {};
|
196
|
-
function
|
196
|
+
function p(e, t, s, n) {
|
197
197
|
var r = n;
|
198
198
|
typeof n == "string" && (r = function() {
|
199
199
|
return this[n]();
|
200
200
|
}), e && (Ne[e] = r), t && (Ne[t[0]] = function() {
|
201
|
-
return
|
201
|
+
return ne(r.apply(this, arguments), t[1], t[2]);
|
202
202
|
}), s && (Ne[s] = function() {
|
203
203
|
return this.localeData().ordinal(
|
204
204
|
r.apply(this, arguments),
|
@@ -216,7 +216,7 @@ function Cr(e) {
|
|
216
216
|
return function(r) {
|
217
217
|
var i = "", a;
|
218
218
|
for (a = 0; a < n; a++)
|
219
|
-
i +=
|
219
|
+
i += ie(t[a]) ? t[a].call(r, e) : t[a];
|
220
220
|
return i;
|
221
221
|
};
|
222
222
|
}
|
@@ -277,24 +277,24 @@ var Yr = {
|
|
277
277
|
};
|
278
278
|
function Pr(e, t, s, n) {
|
279
279
|
var r = this._relativeTime[s];
|
280
|
-
return
|
280
|
+
return ie(r) ? r(e, t, s, n) : r.replace(/%d/i, e);
|
281
281
|
}
|
282
282
|
function Fr(e, t) {
|
283
283
|
var s = this._relativeTime[e > 0 ? "future" : "past"];
|
284
|
-
return
|
284
|
+
return ie(s) ? s(t) : s.replace(/%s/i, t);
|
285
285
|
}
|
286
286
|
var $e = {};
|
287
287
|
function I(e, t) {
|
288
288
|
var s = e.toLowerCase();
|
289
289
|
$e[s] = $e[s + "s"] = $e[t] = e;
|
290
290
|
}
|
291
|
-
function
|
291
|
+
function Z(e) {
|
292
292
|
return typeof e == "string" ? $e[e] || $e[e.toLowerCase()] : void 0;
|
293
293
|
}
|
294
294
|
function ds(e) {
|
295
295
|
var t = {}, s, n;
|
296
296
|
for (n in e)
|
297
|
-
O(e, n) && (s =
|
297
|
+
O(e, n) && (s = Z(n), s && (t[s] = e[n]));
|
298
298
|
return t;
|
299
299
|
}
|
300
300
|
var tn = {};
|
@@ -312,12 +312,12 @@ function Lr(e) {
|
|
312
312
|
function kt(e) {
|
313
313
|
return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
|
314
314
|
}
|
315
|
-
function
|
315
|
+
function j(e) {
|
316
316
|
return e < 0 ? Math.ceil(e) || 0 : Math.floor(e);
|
317
317
|
}
|
318
318
|
function S(e) {
|
319
319
|
var t = +e, s = 0;
|
320
|
-
return t !== 0 && isFinite(t) && (s =
|
320
|
+
return t !== 0 && isFinite(t) && (s = j(t)), s;
|
321
321
|
}
|
322
322
|
function Fe(e, t) {
|
323
323
|
return function(s) {
|
@@ -335,7 +335,7 @@ function sn(e, t, s) {
|
|
335
335
|
)) : e._d["set" + (e._isUTC ? "UTC" : "") + t](s));
|
336
336
|
}
|
337
337
|
function Ir(e) {
|
338
|
-
return e =
|
338
|
+
return e = Z(e), ie(this[e]) ? this[e]() : this;
|
339
339
|
}
|
340
340
|
function Ur(e, t) {
|
341
341
|
if (typeof e == "object") {
|
@@ -343,14 +343,14 @@ function Ur(e, t) {
|
|
343
343
|
var s = Lr(e), n, r = s.length;
|
344
344
|
for (n = 0; n < r; n++)
|
345
345
|
this[s[n].unit](e[s[n].unit]);
|
346
|
-
} else if (e =
|
346
|
+
} else if (e = Z(e), ie(this[e]))
|
347
347
|
return this[e](t);
|
348
348
|
return this;
|
349
349
|
}
|
350
|
-
var nn = /\d/,
|
350
|
+
var nn = /\d/, V = /\d\d/, rn = /\d{3}/, hs = /\d{4}/, Ot = /[+-]?\d{6}/, E = /\d\d?/, an = /\d\d\d\d?/, on = /\d\d\d\d\d\d?/, vt = /\d{1,3}/, fs = /\d{1,4}/, Dt = /[+-]?\d{1,6}/, Le = /\d+/, Ct = /[+-]?\d+/, Wr = /Z|[+-]\d\d:?\d\d/gi, Tt = /Z|[+-]\d\d(?::?\d\d)?/gi, Hr = /[+-]?\d+(\.\d{1,3})?/, Qe = /[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, _t;
|
351
351
|
_t = {};
|
352
|
-
function
|
353
|
-
_t[e] =
|
352
|
+
function _(e, t, s) {
|
353
|
+
_t[e] = ie(t) ? t : function(n, r) {
|
354
354
|
return n && s ? s : t;
|
355
355
|
};
|
356
356
|
}
|
@@ -358,7 +358,7 @@ function Br(e, t) {
|
|
358
358
|
return O(_t, e) ? _t[e](t._strict, t._locale) : new RegExp(Vr(e));
|
359
359
|
}
|
360
360
|
function Vr(e) {
|
361
|
-
return
|
361
|
+
return B(
|
362
362
|
e.replace("\\", "").replace(
|
363
363
|
/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
|
364
364
|
function(t, s, n, r, i) {
|
@@ -367,31 +367,31 @@ function Vr(e) {
|
|
367
367
|
)
|
368
368
|
);
|
369
369
|
}
|
370
|
-
function
|
370
|
+
function B(e) {
|
371
371
|
return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
|
372
372
|
}
|
373
373
|
var Kt = {};
|
374
|
-
function
|
374
|
+
function C(e, t) {
|
375
375
|
var s, n = t, r;
|
376
|
-
for (typeof e == "string" && (e = [e]),
|
376
|
+
for (typeof e == "string" && (e = [e]), me(t) && (n = function(i, a) {
|
377
377
|
a[t] = S(i);
|
378
378
|
}), r = e.length, s = 0; s < r; s++)
|
379
379
|
Kt[e[s]] = n;
|
380
380
|
}
|
381
381
|
function Xe(e, t) {
|
382
|
-
|
382
|
+
C(e, function(s, n, r, i) {
|
383
383
|
r._w = r._w || {}, t(s, r._w, r, i);
|
384
384
|
});
|
385
385
|
}
|
386
386
|
function $r(e, t, s) {
|
387
387
|
t != null && O(Kt, e) && Kt[e](t, s._a, s, e);
|
388
388
|
}
|
389
|
-
var L = 0,
|
389
|
+
var L = 0, ue = 1, te = 2, Y = 3, J = 4, de = 5, ve = 6, jr = 7, Gr = 8;
|
390
390
|
function zr(e, t) {
|
391
391
|
return (e % t + t) % t;
|
392
392
|
}
|
393
|
-
var
|
394
|
-
Array.prototype.indexOf ?
|
393
|
+
var N;
|
394
|
+
Array.prototype.indexOf ? N = Array.prototype.indexOf : N = function(e) {
|
395
395
|
var t;
|
396
396
|
for (t = 0; t < this.length; ++t)
|
397
397
|
if (this[t] === e)
|
@@ -404,57 +404,57 @@ function Mt(e, t) {
|
|
404
404
|
var s = zr(t, 12);
|
405
405
|
return e += (t - s) / 12, s === 1 ? kt(e) ? 29 : 28 : 31 - s % 7 % 2;
|
406
406
|
}
|
407
|
-
|
407
|
+
p("M", ["MM", 2], "Mo", function() {
|
408
408
|
return this.month() + 1;
|
409
409
|
});
|
410
|
-
|
410
|
+
p("MMM", 0, 0, function(e) {
|
411
411
|
return this.localeData().monthsShort(this, e);
|
412
412
|
});
|
413
|
-
|
413
|
+
p("MMMM", 0, 0, function(e) {
|
414
414
|
return this.localeData().months(this, e);
|
415
415
|
});
|
416
416
|
I("month", "M");
|
417
417
|
U("month", 8);
|
418
|
-
|
419
|
-
|
420
|
-
|
418
|
+
_("M", E);
|
419
|
+
_("MM", E, V);
|
420
|
+
_("MMM", function(e, t) {
|
421
421
|
return t.monthsShortRegex(e);
|
422
422
|
});
|
423
|
-
|
423
|
+
_("MMMM", function(e, t) {
|
424
424
|
return t.monthsRegex(e);
|
425
425
|
});
|
426
|
-
|
427
|
-
t[
|
426
|
+
C(["M", "MM"], function(e, t) {
|
427
|
+
t[ue] = S(e) - 1;
|
428
428
|
});
|
429
|
-
|
429
|
+
C(["MMM", "MMMM"], function(e, t, s, n) {
|
430
430
|
var r = s._locale.monthsParse(e, n, s._strict);
|
431
|
-
r != null ? t[
|
431
|
+
r != null ? t[ue] = r : w(s).invalidMonth = e;
|
432
432
|
});
|
433
433
|
var qr = "January_February_March_April_May_June_July_August_September_October_November_December".split(
|
434
434
|
"_"
|
435
435
|
), ln = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), cn = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, Zr = Qe, Jr = Qe;
|
436
436
|
function Kr(e, t) {
|
437
|
-
return e ?
|
437
|
+
return e ? Q(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || cn).test(t) ? "format" : "standalone"][e.month()] : Q(this._months) ? this._months : this._months.standalone;
|
438
438
|
}
|
439
439
|
function Qr(e, t) {
|
440
|
-
return e ?
|
440
|
+
return e ? Q(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[cn.test(t) ? "format" : "standalone"][e.month()] : Q(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone;
|
441
441
|
}
|
442
442
|
function Xr(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)
|
446
|
-
i =
|
446
|
+
i = re([2e3, n]), this._shortMonthsParse[n] = this.monthsShort(
|
447
447
|
i,
|
448
448
|
""
|
449
449
|
).toLocaleLowerCase(), this._longMonthsParse[n] = this.months(i, "").toLocaleLowerCase();
|
450
|
-
return s ? t === "MMM" ? (r =
|
450
|
+
return s ? t === "MMM" ? (r = N.call(this._shortMonthsParse, a), r !== -1 ? r : null) : (r = N.call(this._longMonthsParse, a), r !== -1 ? r : null) : t === "MMM" ? (r = N.call(this._shortMonthsParse, a), r !== -1 ? r : (r = N.call(this._longMonthsParse, a), r !== -1 ? r : null)) : (r = N.call(this._longMonthsParse, a), r !== -1 ? r : (r = N.call(this._shortMonthsParse, a), r !== -1 ? r : null));
|
451
451
|
}
|
452
452
|
function ei(e, t, s) {
|
453
453
|
var n, r, i;
|
454
454
|
if (this._monthsParseExact)
|
455
455
|
return Xr.call(this, e, t, s);
|
456
456
|
for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), n = 0; n < 12; n++) {
|
457
|
-
if (r =
|
457
|
+
if (r = re([2e3, n]), s && !this._longMonthsParse[n] && (this._longMonthsParse[n] = new RegExp(
|
458
458
|
"^" + this.months(r, "").replace(".", "") + "$",
|
459
459
|
"i"
|
460
460
|
), this._shortMonthsParse[n] = new RegExp(
|
@@ -475,7 +475,7 @@ function un(e, t) {
|
|
475
475
|
if (typeof t == "string") {
|
476
476
|
if (/^\d+$/.test(t))
|
477
477
|
t = S(t);
|
478
|
-
else if (t = e.localeData().monthsParse(t), !
|
478
|
+
else if (t = e.localeData().monthsParse(t), !me(t))
|
479
479
|
return e;
|
480
480
|
}
|
481
481
|
return s = Math.min(e.date(), Mt(e.year(), t)), e._d["set" + (e._isUTC ? "UTC" : "") + "Month"](t, s), e;
|
@@ -498,11 +498,11 @@ function hn() {
|
|
498
498
|
}
|
499
499
|
var t = [], s = [], n = [], r, i;
|
500
500
|
for (r = 0; r < 12; r++)
|
501
|
-
i =
|
501
|
+
i = re([2e3, r]), t.push(this.monthsShort(i, "")), s.push(this.months(i, "")), n.push(this.months(i, "")), n.push(this.monthsShort(i, ""));
|
502
502
|
for (t.sort(e), s.sort(e), n.sort(e), r = 0; r < 12; r++)
|
503
|
-
t[r] =
|
503
|
+
t[r] = B(t[r]), s[r] = B(s[r]);
|
504
504
|
for (r = 0; r < 24; r++)
|
505
|
-
n[r] =
|
505
|
+
n[r] = B(n[r]);
|
506
506
|
this._monthsRegex = new RegExp("^(" + n.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp(
|
507
507
|
"^(" + s.join("|") + ")",
|
508
508
|
"i"
|
@@ -511,31 +511,31 @@ function hn() {
|
|
511
511
|
"i"
|
512
512
|
);
|
513
513
|
}
|
514
|
-
|
514
|
+
p("Y", 0, 0, function() {
|
515
515
|
var e = this.year();
|
516
|
-
return e <= 9999 ?
|
516
|
+
return e <= 9999 ? ne(e, 4) : "+" + e;
|
517
517
|
});
|
518
|
-
|
518
|
+
p(0, ["YY", 2], 0, function() {
|
519
519
|
return this.year() % 100;
|
520
520
|
});
|
521
|
-
|
522
|
-
|
523
|
-
|
521
|
+
p(0, ["YYYY", 4], 0, "year");
|
522
|
+
p(0, ["YYYYY", 5], 0, "year");
|
523
|
+
p(0, ["YYYYYY", 6, !0], 0, "year");
|
524
524
|
I("year", "y");
|
525
525
|
U("year", 1);
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
526
|
+
_("Y", Ct);
|
527
|
+
_("YY", E, V);
|
528
|
+
_("YYYY", fs, hs);
|
529
|
+
_("YYYYY", Dt, Ot);
|
530
|
+
_("YYYYYY", Dt, Ot);
|
531
|
+
C(["YYYYY", "YYYYYY"], L);
|
532
|
+
C("YYYY", function(e, t) {
|
533
533
|
t[L] = e.length === 2 ? f.parseTwoDigitYear(e) : S(e);
|
534
534
|
});
|
535
|
-
|
535
|
+
C("YY", function(e, t) {
|
536
536
|
t[L] = f.parseTwoDigitYear(e);
|
537
537
|
});
|
538
|
-
|
538
|
+
C("Y", function(e, t) {
|
539
539
|
t[L] = parseInt(e, 10);
|
540
540
|
});
|
541
541
|
function je(e) {
|
@@ -569,25 +569,25 @@ function mn(e, t, s, n, r) {
|
|
569
569
|
}
|
570
570
|
function ze(e, t, s) {
|
571
571
|
var n = pt(e.year(), t, s), r = Math.floor((e.dayOfYear() - n - 1) / 7) + 1, i, a;
|
572
|
-
return r < 1 ? (a = e.year() - 1, i = r +
|
572
|
+
return r < 1 ? (a = e.year() - 1, i = r + he(a, t, s)) : r > he(e.year(), t, s) ? (i = r - he(e.year(), t, s), a = e.year() + 1) : (a = e.year(), i = r), {
|
573
573
|
week: i,
|
574
574
|
year: a
|
575
575
|
};
|
576
576
|
}
|
577
|
-
function
|
577
|
+
function he(e, t, s) {
|
578
578
|
var n = pt(e, t, s), r = pt(e + 1, t, s);
|
579
579
|
return (je(e) - n + r) / 7;
|
580
580
|
}
|
581
|
-
|
582
|
-
|
581
|
+
p("w", ["ww", 2], "wo", "week");
|
582
|
+
p("W", ["WW", 2], "Wo", "isoWeek");
|
583
583
|
I("week", "w");
|
584
584
|
I("isoWeek", "W");
|
585
585
|
U("week", 5);
|
586
586
|
U("isoWeek", 5);
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
587
|
+
_("w", E);
|
588
|
+
_("ww", E, V);
|
589
|
+
_("W", E);
|
590
|
+
_("WW", E, V);
|
591
591
|
Xe(
|
592
592
|
["w", "ww", "W", "WW"],
|
593
593
|
function(e, t, s, n) {
|
@@ -617,34 +617,34 @@ function di(e) {
|
|
617
617
|
var t = ze(this, 1, 4).week;
|
618
618
|
return e == null ? t : this.add((e - t) * 7, "d");
|
619
619
|
}
|
620
|
-
|
621
|
-
|
620
|
+
p("d", 0, "do", "day");
|
621
|
+
p("dd", 0, 0, function(e) {
|
622
622
|
return this.localeData().weekdaysMin(this, e);
|
623
623
|
});
|
624
|
-
|
624
|
+
p("ddd", 0, 0, function(e) {
|
625
625
|
return this.localeData().weekdaysShort(this, e);
|
626
626
|
});
|
627
|
-
|
627
|
+
p("dddd", 0, 0, function(e) {
|
628
628
|
return this.localeData().weekdays(this, e);
|
629
629
|
});
|
630
|
-
|
631
|
-
|
630
|
+
p("e", 0, 0, "weekday");
|
631
|
+
p("E", 0, 0, "isoWeekday");
|
632
632
|
I("day", "d");
|
633
633
|
I("weekday", "e");
|
634
634
|
I("isoWeekday", "E");
|
635
635
|
U("day", 11);
|
636
636
|
U("weekday", 11);
|
637
637
|
U("isoWeekday", 11);
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
638
|
+
_("d", E);
|
639
|
+
_("e", E);
|
640
|
+
_("E", E);
|
641
|
+
_("dd", function(e, t) {
|
642
642
|
return t.weekdaysMinRegex(e);
|
643
643
|
});
|
644
|
-
|
644
|
+
_("ddd", function(e, t) {
|
645
645
|
return t.weekdaysShortRegex(e);
|
646
646
|
});
|
647
|
-
|
647
|
+
_("dddd", function(e, t) {
|
648
648
|
return t.weekdaysRegex(e);
|
649
649
|
});
|
650
650
|
Xe(["dd", "ddd", "dddd"], function(e, t, s, n) {
|
@@ -665,7 +665,7 @@ function ms(e, t) {
|
|
665
665
|
}
|
666
666
|
var mi = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), _n = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), _i = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), pi = Qe, yi = Qe, gi = Qe;
|
667
667
|
function wi(e, t) {
|
668
|
-
var s =
|
668
|
+
var s = Q(this._weekdays) ? this._weekdays : this._weekdays[e && e !== !0 && this._weekdays.isFormat.test(t) ? "format" : "standalone"];
|
669
669
|
return e === !0 ? ms(s, this._week.dow) : e ? s[e.day()] : s;
|
670
670
|
}
|
671
671
|
function Si(e) {
|
@@ -678,21 +678,21 @@ function ki(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)
|
681
|
-
i =
|
681
|
+
i = re([2e3, 1]).day(n), this._minWeekdaysParse[n] = this.weekdaysMin(
|
682
682
|
i,
|
683
683
|
""
|
684
684
|
).toLocaleLowerCase(), this._shortWeekdaysParse[n] = this.weekdaysShort(
|
685
685
|
i,
|
686
686
|
""
|
687
687
|
).toLocaleLowerCase(), this._weekdaysParse[n] = this.weekdays(i, "").toLocaleLowerCase();
|
688
|
-
return s ? t === "dddd" ? (r =
|
688
|
+
return s ? t === "dddd" ? (r = N.call(this._weekdaysParse, a), r !== -1 ? r : null) : t === "ddd" ? (r = N.call(this._shortWeekdaysParse, a), r !== -1 ? r : null) : (r = N.call(this._minWeekdaysParse, a), r !== -1 ? r : null) : t === "dddd" ? (r = N.call(this._weekdaysParse, a), r !== -1 || (r = N.call(this._shortWeekdaysParse, a), r !== -1) ? r : (r = N.call(this._minWeekdaysParse, a), r !== -1 ? r : null)) : t === "ddd" ? (r = N.call(this._shortWeekdaysParse, a), r !== -1 || (r = N.call(this._weekdaysParse, a), r !== -1) ? r : (r = N.call(this._minWeekdaysParse, a), r !== -1 ? r : null)) : (r = N.call(this._minWeekdaysParse, a), r !== -1 || (r = N.call(this._weekdaysParse, a), r !== -1) ? r : (r = N.call(this._shortWeekdaysParse, a), r !== -1 ? r : null));
|
689
689
|
}
|
690
690
|
function Oi(e, t, s) {
|
691
691
|
var n, r, i;
|
692
692
|
if (this._weekdaysParseExact)
|
693
693
|
return ki.call(this, e, t, s);
|
694
694
|
for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), n = 0; n < 7; n++) {
|
695
|
-
if (r =
|
695
|
+
if (r = re([2e3, 1]).day(n), s && !this._fullWeekdaysParse[n] && (this._fullWeekdaysParse[n] = new RegExp(
|
696
696
|
"^" + this.weekdays(r, "").replace(".", "\\.?") + "$",
|
697
697
|
"i"
|
698
698
|
), this._shortWeekdaysParse[n] = new RegExp(
|
@@ -747,7 +747,7 @@ function _s() {
|
|
747
747
|
}
|
748
748
|
var t = [], s = [], n = [], r = [], i, a, o, u, l;
|
749
749
|
for (i = 0; i < 7; i++)
|
750
|
-
a =
|
750
|
+
a = re([2e3, 1]).day(i), o = B(this.weekdaysMin(a, "")), u = B(this.weekdaysShort(a, "")), l = B(this.weekdays(a, "")), t.push(o), s.push(u), n.push(l), r.push(o), r.push(u), r.push(l);
|
751
751
|
t.sort(e), s.sort(e), n.sort(e), r.sort(e), this._weekdaysRegex = new RegExp("^(" + r.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp(
|
752
752
|
"^(" + n.join("|") + ")",
|
753
753
|
"i"
|
@@ -765,23 +765,23 @@ function ps() {
|
|
765
765
|
function Ri() {
|
766
766
|
return this.hours() || 24;
|
767
767
|
}
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
return "" + ps.apply(this) +
|
768
|
+
p("H", ["HH", 2], 0, "hour");
|
769
|
+
p("h", ["hh", 2], 0, ps);
|
770
|
+
p("k", ["kk", 2], 0, Ri);
|
771
|
+
p("hmm", 0, 0, function() {
|
772
|
+
return "" + ps.apply(this) + ne(this.minutes(), 2);
|
773
773
|
});
|
774
|
-
|
775
|
-
return "" + ps.apply(this) +
|
774
|
+
p("hmmss", 0, 0, function() {
|
775
|
+
return "" + ps.apply(this) + ne(this.minutes(), 2) + ne(this.seconds(), 2);
|
776
776
|
});
|
777
|
-
|
778
|
-
return "" + this.hours() +
|
777
|
+
p("Hmm", 0, 0, function() {
|
778
|
+
return "" + this.hours() + ne(this.minutes(), 2);
|
779
779
|
});
|
780
|
-
|
781
|
-
return "" + this.hours() +
|
780
|
+
p("Hmmss", 0, 0, function() {
|
781
|
+
return "" + this.hours() + ne(this.minutes(), 2) + ne(this.seconds(), 2);
|
782
782
|
});
|
783
783
|
function pn(e, t) {
|
784
|
-
|
784
|
+
p(e, 0, 0, function() {
|
785
785
|
return this.localeData().meridiem(
|
786
786
|
this.hours(),
|
787
787
|
this.minutes(),
|
@@ -796,44 +796,44 @@ U("hour", 13);
|
|
796
796
|
function yn(e, t) {
|
797
797
|
return t._meridiemParse;
|
798
798
|
}
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
799
|
+
_("a", yn);
|
800
|
+
_("A", yn);
|
801
|
+
_("H", E);
|
802
|
+
_("h", E);
|
803
|
+
_("k", E);
|
804
|
+
_("HH", E, V);
|
805
|
+
_("hh", E, V);
|
806
|
+
_("kk", E, V);
|
807
|
+
_("hmm", an);
|
808
|
+
_("hmmss", on);
|
809
|
+
_("Hmm", an);
|
810
|
+
_("Hmmss", on);
|
811
|
+
C(["H", "HH"], Y);
|
812
|
+
C(["k", "kk"], function(e, t, s) {
|
813
813
|
var n = S(e);
|
814
|
-
t[
|
814
|
+
t[Y] = n === 24 ? 0 : n;
|
815
815
|
});
|
816
|
-
|
816
|
+
C(["a", "A"], function(e, t, s) {
|
817
817
|
s._isPm = s._locale.isPM(e), s._meridiem = e;
|
818
818
|
});
|
819
|
-
|
820
|
-
t[
|
819
|
+
C(["h", "hh"], function(e, t, s) {
|
820
|
+
t[Y] = S(e), w(s).bigHour = !0;
|
821
821
|
});
|
822
|
-
|
822
|
+
C("hmm", function(e, t, s) {
|
823
823
|
var n = e.length - 2;
|
824
|
-
t[
|
824
|
+
t[Y] = S(e.substr(0, n)), t[J] = S(e.substr(n)), w(s).bigHour = !0;
|
825
825
|
});
|
826
|
-
|
826
|
+
C("hmmss", function(e, t, s) {
|
827
827
|
var n = e.length - 4, r = e.length - 2;
|
828
|
-
t[
|
828
|
+
t[Y] = S(e.substr(0, n)), t[J] = S(e.substr(n, 2)), t[de] = S(e.substr(r)), w(s).bigHour = !0;
|
829
829
|
});
|
830
|
-
|
830
|
+
C("Hmm", function(e, t, s) {
|
831
831
|
var n = e.length - 2;
|
832
|
-
t[
|
832
|
+
t[Y] = S(e.substr(0, n)), t[J] = S(e.substr(n));
|
833
833
|
});
|
834
|
-
|
834
|
+
C("Hmmss", function(e, t, s) {
|
835
835
|
var n = e.length - 4, r = e.length - 2;
|
836
|
-
t[
|
836
|
+
t[Y] = S(e.substr(0, n)), t[J] = S(e.substr(n, 2)), t[de] = S(e.substr(r));
|
837
837
|
});
|
838
838
|
function xi(e) {
|
839
839
|
return (e + "").toLowerCase().charAt(0) === "p";
|
@@ -887,15 +887,15 @@ function Et(e) {
|
|
887
887
|
var t = null, s;
|
888
888
|
if (R[e] === void 0 && typeof module < "u" && module && module.exports && Li(e))
|
889
889
|
try {
|
890
|
-
t = qe._abbr, s = require, s("./locale/" + e),
|
890
|
+
t = qe._abbr, s = require, s("./locale/" + e), be(t);
|
891
891
|
} catch {
|
892
892
|
R[e] = null;
|
893
893
|
}
|
894
894
|
return R[e];
|
895
895
|
}
|
896
|
-
function
|
896
|
+
function be(e, t) {
|
897
897
|
var s;
|
898
|
-
return e && (H(t) ? s =
|
898
|
+
return e && (H(t) ? s = _e(e) : s = ys(e, t), s ? qe = s : typeof console < "u" && console.warn && console.warn(
|
899
899
|
"Locale " + e + " not found. Did you forget to load it?"
|
900
900
|
)), qe._abbr;
|
901
901
|
}
|
@@ -919,23 +919,23 @@ function ys(e, t) {
|
|
919
919
|
}), null;
|
920
920
|
return R[e] = new cs(Zt(n, t)), Ue[e] && Ue[e].forEach(function(r) {
|
921
921
|
ys(r.name, r.config);
|
922
|
-
}),
|
922
|
+
}), be(e), R[e];
|
923
923
|
} else
|
924
924
|
return delete R[e], null;
|
925
925
|
}
|
926
926
|
function Ii(e, t) {
|
927
927
|
if (t != null) {
|
928
928
|
var s, n, r = gn;
|
929
|
-
R[e] != null && R[e].parentLocale != null ? R[e].set(Zt(R[e]._config, t)) : (n = Et(e), n != null && (r = n._config), t = Zt(r, t), n == null && (t.abbr = e), s = new cs(t), s.parentLocale = R[e], R[e] = s),
|
929
|
+
R[e] != null && R[e].parentLocale != null ? R[e].set(Zt(R[e]._config, t)) : (n = Et(e), n != null && (r = n._config), t = Zt(r, t), n == null && (t.abbr = e), s = new cs(t), s.parentLocale = R[e], R[e] = s), be(e);
|
930
930
|
} else
|
931
|
-
R[e] != null && (R[e].parentLocale != null ? (R[e] = R[e].parentLocale, e ===
|
931
|
+
R[e] != null && (R[e].parentLocale != null ? (R[e] = R[e].parentLocale, e === be() && be(e)) : R[e] != null && delete R[e]);
|
932
932
|
return R[e];
|
933
933
|
}
|
934
|
-
function
|
934
|
+
function _e(e) {
|
935
935
|
var t;
|
936
936
|
if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e)
|
937
937
|
return qe;
|
938
|
-
if (!
|
938
|
+
if (!Q(e)) {
|
939
939
|
if (t = Et(e), t)
|
940
940
|
return t;
|
941
941
|
e = [e];
|
@@ -947,7 +947,7 @@ function Ui() {
|
|
947
947
|
}
|
948
948
|
function gs(e) {
|
949
949
|
var t, s = e._a;
|
950
|
-
return s && w(e).overflow === -2 && (t = s[
|
950
|
+
return s && w(e).overflow === -2 && (t = s[ue] < 0 || s[ue] > 11 ? ue : s[te] < 1 || s[te] > Mt(s[L], s[ue]) ? te : s[Y] < 0 || s[Y] > 24 || s[Y] === 24 && (s[J] !== 0 || s[de] !== 0 || s[ve] !== 0) ? Y : s[J] < 0 || s[J] > 59 ? J : s[de] < 0 || s[de] > 59 ? de : s[ve] < 0 || s[ve] > 999 ? ve : -1, w(e)._overflowDayOfYear && (t < L || t > te) && (t = te), w(e)._overflowWeeks && t === -1 && (t = jr), w(e)._overflowWeekday && t === -1 && (t = Gr), w(e).overflow = t), e;
|
951
951
|
}
|
952
952
|
var Wi = /^\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)?)?$/, Hi = /^\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)?)?$/, Bi = /Z|[+-]\d\d(?::?\d\d)?/, rt = [
|
953
953
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
@@ -1092,7 +1092,7 @@ function Ki(e) {
|
|
1092
1092
|
return;
|
1093
1093
|
e._strict ? e._isValid = !1 : f.createFromInputFallback(e);
|
1094
1094
|
}
|
1095
|
-
f.createFromInputFallback =
|
1095
|
+
f.createFromInputFallback = q(
|
1096
1096
|
"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.",
|
1097
1097
|
function(e) {
|
1098
1098
|
e._d = /* @__PURE__ */ new Date(e._i + (e._useUTC ? " UTC" : ""));
|
@@ -1112,14 +1112,14 @@ function Qi(e) {
|
|
1112
1112
|
function ws(e) {
|
1113
1113
|
var t, s, n = [], r, i, a;
|
1114
1114
|
if (!e._d) {
|
1115
|
-
for (r = Qi(e), e._w && e._a[
|
1115
|
+
for (r = Qi(e), e._w && e._a[te] == null && e._a[ue] == null && Xi(e), e._dayOfYear != null && (a = Re(e._a[L], r[L]), (e._dayOfYear > je(a) || e._dayOfYear === 0) && (w(e)._overflowDayOfYear = !0), s = Ge(a, 0, e._dayOfYear), e._a[ue] = s.getUTCMonth(), e._a[te] = 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[Y] === 24 && e._a[J] === 0 && e._a[de] === 0 && e._a[ve] === 0 && (e._nextDay = !0, e._a[Y] = 0), e._d = (e._useUTC ? Ge : ii).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[Y] = 24), e._w && typeof e._w.d < "u" && e._w.d !== i && (w(e).weekdayMismatch = !0);
|
1123
1123
|
}
|
1124
1124
|
}
|
1125
1125
|
function Xi(e) {
|
@@ -1128,7 +1128,7 @@ function Xi(e) {
|
|
1128
1128
|
t.GG,
|
1129
1129
|
e._a[L],
|
1130
1130
|
ze(M(), 1, 4).year
|
1131
|
-
), n = Re(t.W, 1), r = Re(t.E, 1), (r < 1 || r > 7) && (u = !0)) : (i = e._locale._week.dow, a = e._locale._week.doy, l = ze(M(), i, a), s = Re(t.gg, e._a[L], l.year), n = Re(t.w, l.week), t.d != null ? (r = t.d, (r < 0 || r > 6) && (u = !0)) : t.e != null ? (r = t.e + i, (t.e < 0 || t.e > 6) && (u = !0)) : r = i), n < 1 || n >
|
1131
|
+
), n = Re(t.W, 1), r = Re(t.E, 1), (r < 1 || r > 7) && (u = !0)) : (i = e._locale._week.dow, a = e._locale._week.doy, l = ze(M(), i, a), s = Re(t.gg, e._a[L], l.year), n = Re(t.w, l.week), t.d != null ? (r = t.d, (r < 0 || r > 6) && (u = !0)) : t.e != null ? (r = t.e + i, (t.e < 0 || t.e > 6) && (u = !0)) : r = i), n < 1 || n > he(s, i, a) ? w(e)._overflowWeeks = !0 : u != null ? w(e)._overflowWeekday = !0 : (o = mn(s, n, r, i, a), e._a[L] = o.year, e._dayOfYear = o.dayOfYear);
|
1132
1132
|
}
|
1133
1133
|
f.ISO_8601 = function() {
|
1134
1134
|
};
|
@@ -1149,9 +1149,9 @@ function Ss(e) {
|
|
1149
1149
|
i = r[s], n = (t.match(Br(i, e)) || [])[0], n && (a = t.substr(0, t.indexOf(n)), a.length > 0 && w(e).unusedInput.push(a), t = t.slice(
|
1150
1150
|
t.indexOf(n) + n.length
|
1151
1151
|
), u += n.length), Ne[i] ? (n ? w(e).empty = !1 : w(e).unusedTokens.push(i), $r(i, n, e)) : e._strict && !n && w(e).unusedTokens.push(i);
|
1152
|
-
w(e).charsLeftOver = o - u, t.length > 0 && w(e).unusedInput.push(t), e._a[
|
1152
|
+
w(e).charsLeftOver = o - u, t.length > 0 && w(e).unusedInput.push(t), e._a[Y] <= 12 && w(e).bigHour === !0 && e._a[Y] > 0 && (w(e).bigHour = void 0), w(e).parsedDateParts = e._a.slice(0), w(e).meridiem = e._meridiem, e._a[Y] = ea(
|
1153
1153
|
e._locale,
|
1154
|
-
e._a[
|
1154
|
+
e._a[Y],
|
1155
1155
|
e._meridiem
|
1156
1156
|
), l = w(e).era, l !== null && (e._a[L] = e._locale.erasConvertYear(l, e._a[L])), ws(e), gs(e);
|
1157
1157
|
}
|
@@ -1167,7 +1167,7 @@ function ta(e) {
|
|
1167
1167
|
}
|
1168
1168
|
for (r = 0; r < u; r++)
|
1169
1169
|
i = 0, a = !1, t = ls({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[r], Ss(t), os(t) && (a = !0), i += w(t).charsLeftOver, i += w(t).unusedTokens.length * 10, w(t).score = i, o ? i < n && (n = i, s = t) : (n == null || i < n || a) && (n = i, s = t, a && (o = !0));
|
1170
|
-
|
1170
|
+
we(e, s || t);
|
1171
1171
|
}
|
1172
1172
|
function sa(e) {
|
1173
1173
|
if (!e._d) {
|
@@ -1186,28 +1186,28 @@ function na(e) {
|
|
1186
1186
|
}
|
1187
1187
|
function bn(e) {
|
1188
1188
|
var t = e._i, s = e._f;
|
1189
|
-
return e._locale = e._locale ||
|
1189
|
+
return e._locale = e._locale || _e(e._l), t === null || s === void 0 && t === "" ? bt({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), X(t) ? new Ke(gs(t)) : (Je(t) ? e._d = t : Q(s) ? ta(e) : s ? Ss(e) : ra(e), os(e) || (e._d = null), e));
|
1190
1190
|
}
|
1191
1191
|
function ra(e) {
|
1192
1192
|
var t = e._i;
|
1193
|
-
H(t) ? e._d = new Date(f.now()) : Je(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? Ki(e) :
|
1193
|
+
H(t) ? e._d = new Date(f.now()) : Je(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? Ki(e) : Q(t) ? (e._a = Ks(t.slice(0), function(s) {
|
1194
1194
|
return parseInt(s, 10);
|
1195
|
-
}), ws(e)) :
|
1195
|
+
}), ws(e)) : De(t) ? sa(e) : me(t) ? e._d = new Date(t) : f.createFromInputFallback(e);
|
1196
1196
|
}
|
1197
1197
|
function kn(e, t, s, n, r) {
|
1198
1198
|
var i = {};
|
1199
|
-
return (t === !0 || t === !1) && (n = t, t = void 0), (s === !0 || s === !1) && (n = s, s = void 0), (
|
1199
|
+
return (t === !0 || t === !1) && (n = t, t = void 0), (s === !0 || s === !1) && (n = s, s = void 0), (De(e) && as(e) || Q(e) && e.length === 0) && (e = void 0), i._isAMomentObject = !0, i._useUTC = i._isUTC = r, i._l = s, i._i = e, i._f = t, i._strict = n, na(i);
|
1200
1200
|
}
|
1201
1201
|
function M(e, t, s, n) {
|
1202
1202
|
return kn(e, t, s, n, !1);
|
1203
1203
|
}
|
1204
|
-
var ia =
|
1204
|
+
var ia = q(
|
1205
1205
|
"moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
|
1206
1206
|
function() {
|
1207
1207
|
var e = M.apply(null, arguments);
|
1208
1208
|
return this.isValid() && e.isValid() ? e < this ? this : e : bt();
|
1209
1209
|
}
|
1210
|
-
), aa =
|
1210
|
+
), aa = q(
|
1211
1211
|
"moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
|
1212
1212
|
function() {
|
1213
1213
|
var e = M.apply(null, arguments);
|
@@ -1216,7 +1216,7 @@ var ia = Z(
|
|
1216
1216
|
);
|
1217
1217
|
function On(e, t) {
|
1218
1218
|
var s, n;
|
1219
|
-
if (t.length === 1 &&
|
1219
|
+
if (t.length === 1 && Q(t[0]) && (t = t[0]), !t.length)
|
1220
1220
|
return M();
|
1221
1221
|
for (s = t[0], n = 1; n < t.length; ++n)
|
1222
1222
|
(!t[n].isValid() || t[n][e](s)) && (s = t[n]);
|
@@ -1246,7 +1246,7 @@ var ca = function() {
|
|
1246
1246
|
function ua(e) {
|
1247
1247
|
var t, s = !1, n, r = We.length;
|
1248
1248
|
for (t in e)
|
1249
|
-
if (O(e, t) && !(
|
1249
|
+
if (O(e, t) && !(N.call(We, t) !== -1 && (e[t] == null || !isNaN(e[t]))))
|
1250
1250
|
return !1;
|
1251
1251
|
for (n = 0; n < r; ++n)
|
1252
1252
|
if (e[We[n]]) {
|
@@ -1260,13 +1260,13 @@ function da() {
|
|
1260
1260
|
return this._isValid;
|
1261
1261
|
}
|
1262
1262
|
function ha() {
|
1263
|
-
return
|
1263
|
+
return ee(NaN);
|
1264
1264
|
}
|
1265
1265
|
function Rt(e) {
|
1266
1266
|
var t = ds(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, u = t.minute || 0, l = t.second || 0, h = t.millisecond || 0;
|
1267
1267
|
this._isValid = ua(t), this._milliseconds = +h + l * 1e3 + // 1000
|
1268
1268
|
u * 6e4 + // 1000 * 60
|
1269
|
-
o * 1e3 * 60 * 60, this._days = +a + i * 7, this._months = +r + n * 3 + s * 12, this._data = {}, this._locale =
|
1269
|
+
o * 1e3 * 60 * 60, this._days = +a + i * 7, this._months = +r + n * 3 + s * 12, this._data = {}, this._locale = _e(), this._bubble();
|
1270
1270
|
}
|
1271
1271
|
function lt(e) {
|
1272
1272
|
return e instanceof Rt;
|
@@ -1281,16 +1281,16 @@ function fa(e, t, s) {
|
|
1281
1281
|
return i + r;
|
1282
1282
|
}
|
1283
1283
|
function vn(e, t) {
|
1284
|
-
|
1284
|
+
p(e, 0, 0, function() {
|
1285
1285
|
var s = this.utcOffset(), n = "+";
|
1286
|
-
return s < 0 && (s = -s, n = "-"), n +
|
1286
|
+
return s < 0 && (s = -s, n = "-"), n + ne(~~(s / 60), 2) + t + ne(~~s % 60, 2);
|
1287
1287
|
});
|
1288
1288
|
}
|
1289
1289
|
vn("Z", ":");
|
1290
1290
|
vn("ZZ", "");
|
1291
|
-
|
1292
|
-
|
1293
|
-
|
1291
|
+
_("Z", Tt);
|
1292
|
+
_("ZZ", Tt);
|
1293
|
+
C(["Z", "ZZ"], function(e, t, s) {
|
1294
1294
|
s._useUTC = !0, s._tzm = bs(Tt, e);
|
1295
1295
|
});
|
1296
1296
|
var ma = /([\+\-]|\d\d)/gi;
|
@@ -1300,7 +1300,7 @@ function bs(e, t) {
|
|
1300
1300
|
}
|
1301
1301
|
function ks(e, t) {
|
1302
1302
|
var s, n;
|
1303
|
-
return t._isUTC ? (s = t.clone(), n = (
|
1303
|
+
return t._isUTC ? (s = t.clone(), n = (X(e) || Je(e) ? e.valueOf() : M(e).valueOf()) - s.valueOf(), s._d.setTime(s._d.valueOf() + n), f.updateOffset(s, !1), s) : M(e).local();
|
1304
1304
|
}
|
1305
1305
|
function Xt(e) {
|
1306
1306
|
return -Math.round(e._d.getTimezoneOffset());
|
@@ -1319,7 +1319,7 @@ function _a(e, t, s) {
|
|
1319
1319
|
Math.abs(e) < 16 && !s && (e = e * 60);
|
1320
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 ? Tn(
|
1321
1321
|
this,
|
1322
|
-
|
1322
|
+
ee(e - n, "m"),
|
1323
1323
|
1,
|
1324
1324
|
!1
|
1325
1325
|
) : this._changeInProgress || (this._changeInProgress = !0, f.updateOffset(this, !0), this._changeInProgress = null)), this;
|
@@ -1354,7 +1354,7 @@ function ka() {
|
|
1354
1354
|
if (!H(this._isDSTShifted))
|
1355
1355
|
return this._isDSTShifted;
|
1356
1356
|
var e = {}, t;
|
1357
|
-
return ls(e, this), e = bn(e), e._a ? (t = e._isUTC ?
|
1357
|
+
return ls(e, this), e = bn(e), e._a ? (t = e._isUTC ? re(e._a) : M(e._a), this._isDSTShifted = this.isValid() && fa(e._a, t.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
|
1358
1358
|
}
|
1359
1359
|
function Oa() {
|
1360
1360
|
return this.isValid() ? !this._isUTC : !1;
|
@@ -1366,36 +1366,36 @@ function Dn() {
|
|
1366
1366
|
return this.isValid() ? this._isUTC && this._offset === 0 : !1;
|
1367
1367
|
}
|
1368
1368
|
var Da = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, Ca = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
|
1369
|
-
function
|
1369
|
+
function ee(e, t) {
|
1370
1370
|
var s = e, n = null, r, i, a;
|
1371
1371
|
return lt(e) ? s = {
|
1372
1372
|
ms: e._milliseconds,
|
1373
1373
|
d: e._days,
|
1374
1374
|
M: e._months
|
1375
|
-
} :
|
1375
|
+
} : me(e) || !isNaN(+e) ? (s = {}, t ? s[t] = +e : s.milliseconds = +e) : (n = Da.exec(e)) ? (r = n[1] === "-" ? -1 : 1, s = {
|
1376
1376
|
y: 0,
|
1377
|
-
d: S(n[
|
1378
|
-
h: S(n[
|
1379
|
-
m: S(n[
|
1380
|
-
s: S(n[
|
1381
|
-
ms: S(Qt(n[
|
1377
|
+
d: S(n[te]) * r,
|
1378
|
+
h: S(n[Y]) * r,
|
1379
|
+
m: S(n[J]) * r,
|
1380
|
+
s: S(n[de]) * r,
|
1381
|
+
ms: S(Qt(n[ve] * 1e3)) * r
|
1382
1382
|
// the millisecond decimal point is included in the match
|
1383
1383
|
}) : (n = Ca.exec(e)) ? (r = n[1] === "-" ? -1 : 1, s = {
|
1384
|
-
y:
|
1385
|
-
M:
|
1386
|
-
w:
|
1387
|
-
d:
|
1388
|
-
h:
|
1389
|
-
m:
|
1390
|
-
s:
|
1384
|
+
y: ke(n[2], r),
|
1385
|
+
M: ke(n[3], r),
|
1386
|
+
w: ke(n[4], r),
|
1387
|
+
d: ke(n[5], r),
|
1388
|
+
h: ke(n[6], r),
|
1389
|
+
m: ke(n[7], r),
|
1390
|
+
s: ke(n[8], r)
|
1391
1391
|
}) : s == null ? s = {} : typeof s == "object" && ("from" in s || "to" in s) && (a = Ta(
|
1392
1392
|
M(s.from),
|
1393
1393
|
M(s.to)
|
1394
1394
|
), s = {}, s.ms = a.milliseconds, s.M = a.months), i = new Rt(s), lt(e) && O(e, "_locale") && (i._locale = e._locale), lt(e) && O(e, "_isValid") && (i._isValid = e._isValid), i;
|
1395
1395
|
}
|
1396
|
-
|
1397
|
-
|
1398
|
-
function
|
1396
|
+
ee.fn = Rt.prototype;
|
1397
|
+
ee.invalid = ha;
|
1398
|
+
function ke(e, t) {
|
1399
1399
|
var s = e && parseFloat(e.replace(",", "."));
|
1400
1400
|
return (isNaN(s) ? 0 : s) * t;
|
1401
1401
|
}
|
@@ -1413,7 +1413,7 @@ function Cn(e, t) {
|
|
1413
1413
|
return n !== null && !isNaN(+n) && (Xs(
|
1414
1414
|
t,
|
1415
1415
|
"moment()." + t + "(period, number) is deprecated. Please use moment()." + t + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."
|
1416
|
-
), i = s, s = n, n = i), r =
|
1416
|
+
), i = s, s = n, n = i), r = ee(s, n), Tn(this, r, e), this;
|
1417
1417
|
};
|
1418
1418
|
}
|
1419
1419
|
function Tn(e, t, s, n) {
|
@@ -1425,10 +1425,10 @@ function Mn(e) {
|
|
1425
1425
|
return typeof e == "string" || e instanceof String;
|
1426
1426
|
}
|
1427
1427
|
function Ra(e) {
|
1428
|
-
return
|
1428
|
+
return X(e) || Je(e) || Mn(e) || me(e) || Na(e) || xa(e) || e === null || e === void 0;
|
1429
1429
|
}
|
1430
1430
|
function xa(e) {
|
1431
|
-
var t =
|
1431
|
+
var t = De(e) && !as(e), s = !1, n = [
|
1432
1432
|
"years",
|
1433
1433
|
"year",
|
1434
1434
|
"y",
|
@@ -1459,13 +1459,13 @@ function xa(e) {
|
|
1459
1459
|
return t && s;
|
1460
1460
|
}
|
1461
1461
|
function Na(e) {
|
1462
|
-
var t =
|
1462
|
+
var t = Q(e), s = !1;
|
1463
1463
|
return t && (s = e.filter(function(n) {
|
1464
|
-
return !
|
1464
|
+
return !me(n) && Mn(e);
|
1465
1465
|
}).length === 0), t && s;
|
1466
1466
|
}
|
1467
1467
|
function Aa(e) {
|
1468
|
-
var t =
|
1468
|
+
var t = De(e) && !as(e), s = !1, n = [
|
1469
1469
|
"sameDay",
|
1470
1470
|
"nextDay",
|
1471
1471
|
"lastDay",
|
@@ -1483,7 +1483,7 @@ function Ya(e, t) {
|
|
1483
1483
|
}
|
1484
1484
|
function Pa(e, t) {
|
1485
1485
|
arguments.length === 1 && (arguments[0] ? Ra(arguments[0]) ? (e = arguments[0], t = void 0) : Aa(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
|
1486
|
-
var s = e || M(), n = ks(s, this).startOf("day"), r = f.calendarFormat(this, n) || "sameElse", i = t && (
|
1486
|
+
var s = e || M(), n = ks(s, this).startOf("day"), r = f.calendarFormat(this, n) || "sameElse", i = t && (ie(t[r]) ? t[r].call(this, s) : t[r]);
|
1487
1487
|
return this.format(
|
1488
1488
|
i || this.localeData().calendar(r, this, M(s))
|
1489
1489
|
);
|
@@ -1492,20 +1492,20 @@ function Fa() {
|
|
1492
1492
|
return new Ke(this);
|
1493
1493
|
}
|
1494
1494
|
function La(e, t) {
|
1495
|
-
var s =
|
1496
|
-
return this.isValid() && s.isValid() ? (t =
|
1495
|
+
var s = X(e) ? e : M(e);
|
1496
|
+
return this.isValid() && s.isValid() ? (t = Z(t) || "millisecond", t === "millisecond" ? this.valueOf() > s.valueOf() : s.valueOf() < this.clone().startOf(t).valueOf()) : !1;
|
1497
1497
|
}
|
1498
1498
|
function Ia(e, t) {
|
1499
|
-
var s =
|
1500
|
-
return this.isValid() && s.isValid() ? (t =
|
1499
|
+
var s = X(e) ? e : M(e);
|
1500
|
+
return this.isValid() && s.isValid() ? (t = Z(t) || "millisecond", t === "millisecond" ? this.valueOf() < s.valueOf() : this.clone().endOf(t).valueOf() < s.valueOf()) : !1;
|
1501
1501
|
}
|
1502
1502
|
function Ua(e, t, s, n) {
|
1503
|
-
var r =
|
1503
|
+
var r = X(e) ? e : M(e), i = X(t) ? t : M(t);
|
1504
1504
|
return this.isValid() && r.isValid() && i.isValid() ? (n = n || "()", (n[0] === "(" ? this.isAfter(r, s) : !this.isBefore(r, s)) && (n[1] === ")" ? this.isBefore(i, s) : !this.isAfter(i, s))) : !1;
|
1505
1505
|
}
|
1506
1506
|
function Wa(e, t) {
|
1507
|
-
var s =
|
1508
|
-
return this.isValid() && s.isValid() ? (t =
|
1507
|
+
var s = X(e) ? e : M(e), n;
|
1508
|
+
return this.isValid() && s.isValid() ? (t = Z(t) || "millisecond", t === "millisecond" ? this.valueOf() === s.valueOf() : (n = s.valueOf(), this.clone().startOf(t).valueOf() <= n && n <= this.clone().endOf(t).valueOf())) : !1;
|
1509
1509
|
}
|
1510
1510
|
function Ha(e, t) {
|
1511
1511
|
return this.isSame(e, t) || this.isAfter(e, t);
|
@@ -1519,7 +1519,7 @@ function Va(e, t, s) {
|
|
1519
1519
|
return NaN;
|
1520
1520
|
if (n = ks(e, this), !n.isValid())
|
1521
1521
|
return NaN;
|
1522
|
-
switch (r = (n.utcOffset() - this.utcOffset()) * 6e4, t =
|
1522
|
+
switch (r = (n.utcOffset() - this.utcOffset()) * 6e4, t = Z(t), t) {
|
1523
1523
|
case "year":
|
1524
1524
|
i = ct(this, n) / 12;
|
1525
1525
|
break;
|
@@ -1547,7 +1547,7 @@ function Va(e, t, s) {
|
|
1547
1547
|
default:
|
1548
1548
|
i = this - n;
|
1549
1549
|
}
|
1550
|
-
return s ? i :
|
1550
|
+
return s ? i : j(i);
|
1551
1551
|
}
|
1552
1552
|
function ct(e, t) {
|
1553
1553
|
if (e.date() < t.date())
|
@@ -1567,7 +1567,7 @@ function ja(e) {
|
|
1567
1567
|
return s.year() < 0 || s.year() > 9999 ? ot(
|
1568
1568
|
s,
|
1569
1569
|
t ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
1570
|
-
) :
|
1570
|
+
) : ie(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + this.utcOffset() * 60 * 1e3).toISOString().replace("Z", ot(s, "Z")) : ot(
|
1571
1571
|
s,
|
1572
1572
|
t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
1573
1573
|
);
|
@@ -1584,22 +1584,22 @@ function za(e) {
|
|
1584
1584
|
return this.localeData().postformat(t);
|
1585
1585
|
}
|
1586
1586
|
function qa(e, t) {
|
1587
|
-
return this.isValid() && (
|
1587
|
+
return this.isValid() && (X(e) && e.isValid() || M(e).isValid()) ? ee({ to: this, from: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
1588
1588
|
}
|
1589
1589
|
function Za(e) {
|
1590
1590
|
return this.from(M(), e);
|
1591
1591
|
}
|
1592
1592
|
function Ja(e, t) {
|
1593
|
-
return this.isValid() && (
|
1593
|
+
return this.isValid() && (X(e) && e.isValid() || M(e).isValid()) ? ee({ from: this, to: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
|
1594
1594
|
}
|
1595
1595
|
function Ka(e) {
|
1596
1596
|
return this.to(M(), e);
|
1597
1597
|
}
|
1598
1598
|
function En(e) {
|
1599
1599
|
var t;
|
1600
|
-
return e === void 0 ? this._locale._abbr : (t =
|
1600
|
+
return e === void 0 ? this._locale._abbr : (t = _e(e), t != null && (this._locale = t), this);
|
1601
1601
|
}
|
1602
|
-
var Rn =
|
1602
|
+
var Rn = q(
|
1603
1603
|
"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
|
1604
1604
|
function(e) {
|
1605
1605
|
return e === void 0 ? this.localeData() : this.locale(e);
|
@@ -1620,7 +1620,7 @@ function Yn(e, t, s) {
|
|
1620
1620
|
}
|
1621
1621
|
function Qa(e) {
|
1622
1622
|
var t, s;
|
1623
|
-
if (e =
|
1623
|
+
if (e = Z(e), e === void 0 || e === "millisecond" || !this.isValid())
|
1624
1624
|
return this;
|
1625
1625
|
switch (s = this._isUTC ? Yn : An, e) {
|
1626
1626
|
case "year":
|
@@ -1671,7 +1671,7 @@ function Qa(e) {
|
|
1671
1671
|
}
|
1672
1672
|
function Xa(e) {
|
1673
1673
|
var t, s;
|
1674
|
-
if (e =
|
1674
|
+
if (e = Z(e), e === void 0 || e === "millisecond" || !this.isValid())
|
1675
1675
|
return this;
|
1676
1676
|
switch (s = this._isUTC ? Yn : An, e) {
|
1677
1677
|
case "year":
|
@@ -1760,7 +1760,7 @@ function ao() {
|
|
1760
1760
|
return os(this);
|
1761
1761
|
}
|
1762
1762
|
function oo() {
|
1763
|
-
return
|
1763
|
+
return we({}, w(this));
|
1764
1764
|
}
|
1765
1765
|
function lo() {
|
1766
1766
|
return w(this).overflow;
|
@@ -1774,39 +1774,39 @@ function co() {
|
|
1774
1774
|
strict: this._strict
|
1775
1775
|
};
|
1776
1776
|
}
|
1777
|
-
|
1778
|
-
|
1779
|
-
|
1780
|
-
|
1781
|
-
|
1782
|
-
|
1783
|
-
|
1784
|
-
|
1785
|
-
|
1786
|
-
|
1787
|
-
|
1788
|
-
|
1789
|
-
|
1790
|
-
|
1791
|
-
|
1777
|
+
p("N", 0, 0, "eraAbbr");
|
1778
|
+
p("NN", 0, 0, "eraAbbr");
|
1779
|
+
p("NNN", 0, 0, "eraAbbr");
|
1780
|
+
p("NNNN", 0, 0, "eraName");
|
1781
|
+
p("NNNNN", 0, 0, "eraNarrow");
|
1782
|
+
p("y", ["y", 1], "yo", "eraYear");
|
1783
|
+
p("y", ["yy", 2], 0, "eraYear");
|
1784
|
+
p("y", ["yyy", 3], 0, "eraYear");
|
1785
|
+
p("y", ["yyyy", 4], 0, "eraYear");
|
1786
|
+
_("N", Os);
|
1787
|
+
_("NN", Os);
|
1788
|
+
_("NNN", Os);
|
1789
|
+
_("NNNN", bo);
|
1790
|
+
_("NNNNN", ko);
|
1791
|
+
C(
|
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
1795
|
r ? w(s).era = r : w(s).invalidEra = e;
|
1796
1796
|
}
|
1797
1797
|
);
|
1798
|
-
|
1799
|
-
|
1800
|
-
|
1801
|
-
|
1802
|
-
|
1803
|
-
|
1804
|
-
|
1798
|
+
_("y", Le);
|
1799
|
+
_("yy", Le);
|
1800
|
+
_("yyy", Le);
|
1801
|
+
_("yyyy", Le);
|
1802
|
+
_("yo", Oo);
|
1803
|
+
C(["y", "yy", "yyy", "yyyy"], L);
|
1804
|
+
C(["yo"], function(e, t, s, n) {
|
1805
1805
|
var r;
|
1806
1806
|
s._locale._eraYearOrdinalRegex && (r = e.match(s._locale._eraYearOrdinalRegex)), s._locale.eraYearOrdinalParse ? t[L] = s._locale.eraYearOrdinalParse(e, r) : t[L] = parseInt(e, 10);
|
1807
1807
|
});
|
1808
1808
|
function uo(e, t) {
|
1809
|
-
var s, n, r, i = this._eras ||
|
1809
|
+
var s, n, r, i = this._eras || _e("en")._eras;
|
1810
1810
|
for (s = 0, n = i.length; s < n; ++s) {
|
1811
1811
|
switch (typeof i[s].since) {
|
1812
1812
|
case "string":
|
@@ -1903,20 +1903,20 @@ function Oo(e, t) {
|
|
1903
1903
|
function vs() {
|
1904
1904
|
var e = [], t = [], s = [], n = [], r, i, a = this.eras();
|
1905
1905
|
for (r = 0, i = a.length; r < i; ++r)
|
1906
|
-
t.push(
|
1906
|
+
t.push(B(a[r].name)), e.push(B(a[r].abbr)), s.push(B(a[r].narrow)), n.push(B(a[r].name)), n.push(B(a[r].abbr)), n.push(B(a[r].narrow));
|
1907
1907
|
this._erasRegex = new RegExp("^(" + n.join("|") + ")", "i"), this._erasNameRegex = new RegExp("^(" + t.join("|") + ")", "i"), this._erasAbbrRegex = new RegExp("^(" + e.join("|") + ")", "i"), this._erasNarrowRegex = new RegExp(
|
1908
1908
|
"^(" + s.join("|") + ")",
|
1909
1909
|
"i"
|
1910
1910
|
);
|
1911
1911
|
}
|
1912
|
-
|
1912
|
+
p(0, ["gg", 2], 0, function() {
|
1913
1913
|
return this.weekYear() % 100;
|
1914
1914
|
});
|
1915
|
-
|
1915
|
+
p(0, ["GG", 2], 0, function() {
|
1916
1916
|
return this.isoWeekYear() % 100;
|
1917
1917
|
});
|
1918
1918
|
function xt(e, t) {
|
1919
|
-
|
1919
|
+
p(0, [e, e.length], 0, t);
|
1920
1920
|
}
|
1921
1921
|
xt("gggg", "weekYear");
|
1922
1922
|
xt("ggggg", "weekYear");
|
@@ -1926,14 +1926,14 @@ I("weekYear", "gg");
|
|
1926
1926
|
I("isoWeekYear", "GG");
|
1927
1927
|
U("weekYear", 1);
|
1928
1928
|
U("isoWeekYear", 1);
|
1929
|
-
|
1930
|
-
|
1931
|
-
|
1932
|
-
|
1933
|
-
|
1934
|
-
|
1935
|
-
|
1936
|
-
|
1929
|
+
_("G", Ct);
|
1930
|
+
_("g", Ct);
|
1931
|
+
_("GG", E, V);
|
1932
|
+
_("gg", E, V);
|
1933
|
+
_("GGGG", fs, hs);
|
1934
|
+
_("gggg", fs, hs);
|
1935
|
+
_("GGGGG", Dt, Ot);
|
1936
|
+
_("ggggg", Dt, Ot);
|
1937
1937
|
Xe(
|
1938
1938
|
["gggg", "ggggg", "GGGG", "GGGGG"],
|
1939
1939
|
function(e, t, s, n) {
|
@@ -1964,56 +1964,56 @@ function Do(e) {
|
|
1964
1964
|
);
|
1965
1965
|
}
|
1966
1966
|
function Co() {
|
1967
|
-
return
|
1967
|
+
return he(this.year(), 1, 4);
|
1968
1968
|
}
|
1969
1969
|
function To() {
|
1970
|
-
return
|
1970
|
+
return he(this.isoWeekYear(), 1, 4);
|
1971
1971
|
}
|
1972
1972
|
function Mo() {
|
1973
1973
|
var e = this.localeData()._week;
|
1974
|
-
return
|
1974
|
+
return he(this.year(), e.dow, e.doy);
|
1975
1975
|
}
|
1976
1976
|
function Eo() {
|
1977
1977
|
var e = this.localeData()._week;
|
1978
|
-
return
|
1978
|
+
return he(this.weekYear(), e.dow, e.doy);
|
1979
1979
|
}
|
1980
1980
|
function Pn(e, t, s, n, r) {
|
1981
1981
|
var i;
|
1982
|
-
return e == null ? ze(this, n, r).year : (i =
|
1982
|
+
return e == null ? ze(this, n, r).year : (i = he(e, n, r), t > i && (t = i), Ro.call(this, e, t, s, n, r));
|
1983
1983
|
}
|
1984
1984
|
function Ro(e, t, s, n, r) {
|
1985
1985
|
var i = mn(e, t, s, n, r), a = Ge(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
|
+
p("Q", 0, "Qo", "quarter");
|
1989
1989
|
I("quarter", "Q");
|
1990
1990
|
U("quarter", 7);
|
1991
|
-
|
1992
|
-
|
1993
|
-
t[
|
1991
|
+
_("Q", nn);
|
1992
|
+
C("Q", function(e, t) {
|
1993
|
+
t[ue] = (S(e) - 1) * 3;
|
1994
1994
|
});
|
1995
1995
|
function xo(e) {
|
1996
1996
|
return e == null ? Math.ceil((this.month() + 1) / 3) : this.month((e - 1) * 3 + this.month() % 3);
|
1997
1997
|
}
|
1998
|
-
|
1998
|
+
p("D", ["DD", 2], "Do", "date");
|
1999
1999
|
I("date", "D");
|
2000
2000
|
U("date", 9);
|
2001
|
-
|
2002
|
-
|
2003
|
-
|
2001
|
+
_("D", E);
|
2002
|
+
_("DD", E, V);
|
2003
|
+
_("Do", function(e, t) {
|
2004
2004
|
return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient;
|
2005
2005
|
});
|
2006
|
-
|
2007
|
-
|
2008
|
-
t[
|
2006
|
+
C(["D", "DD"], te);
|
2007
|
+
C("Do", function(e, t) {
|
2008
|
+
t[te] = S(e.match(E)[0]);
|
2009
2009
|
});
|
2010
2010
|
var Fn = Fe("Date", !0);
|
2011
|
-
|
2011
|
+
p("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
|
2012
2012
|
I("dayOfYear", "DDD");
|
2013
2013
|
U("dayOfYear", 4);
|
2014
|
-
|
2015
|
-
|
2016
|
-
|
2014
|
+
_("DDD", vt);
|
2015
|
+
_("DDDD", rn);
|
2016
|
+
C(["DDD", "DDDD"], function(e, t, s) {
|
2017
2017
|
s._dayOfYear = S(e);
|
2018
2018
|
});
|
2019
2019
|
function No(e) {
|
@@ -2022,61 +2022,61 @@ function No(e) {
|
|
2022
2022
|
) + 1;
|
2023
2023
|
return e == null ? t : this.add(e - t, "d");
|
2024
2024
|
}
|
2025
|
-
|
2025
|
+
p("m", ["mm", 2], 0, "minute");
|
2026
2026
|
I("minute", "m");
|
2027
2027
|
U("minute", 14);
|
2028
|
-
|
2029
|
-
|
2030
|
-
|
2028
|
+
_("m", E);
|
2029
|
+
_("mm", E, V);
|
2030
|
+
C(["m", "mm"], J);
|
2031
2031
|
var Ao = Fe("Minutes", !1);
|
2032
|
-
|
2032
|
+
p("s", ["ss", 2], 0, "second");
|
2033
2033
|
I("second", "s");
|
2034
2034
|
U("second", 15);
|
2035
|
-
|
2036
|
-
|
2037
|
-
|
2035
|
+
_("s", E);
|
2036
|
+
_("ss", E, V);
|
2037
|
+
C(["s", "ss"], de);
|
2038
2038
|
var Yo = Fe("Seconds", !1);
|
2039
|
-
|
2039
|
+
p("S", 0, 0, function() {
|
2040
2040
|
return ~~(this.millisecond() / 100);
|
2041
2041
|
});
|
2042
|
-
|
2042
|
+
p(0, ["SS", 2], 0, function() {
|
2043
2043
|
return ~~(this.millisecond() / 10);
|
2044
2044
|
});
|
2045
|
-
|
2046
|
-
|
2045
|
+
p(0, ["SSS", 3], 0, "millisecond");
|
2046
|
+
p(0, ["SSSS", 4], 0, function() {
|
2047
2047
|
return this.millisecond() * 10;
|
2048
2048
|
});
|
2049
|
-
|
2049
|
+
p(0, ["SSSSS", 5], 0, function() {
|
2050
2050
|
return this.millisecond() * 100;
|
2051
2051
|
});
|
2052
|
-
|
2052
|
+
p(0, ["SSSSSS", 6], 0, function() {
|
2053
2053
|
return this.millisecond() * 1e3;
|
2054
2054
|
});
|
2055
|
-
|
2055
|
+
p(0, ["SSSSSSS", 7], 0, function() {
|
2056
2056
|
return this.millisecond() * 1e4;
|
2057
2057
|
});
|
2058
|
-
|
2058
|
+
p(0, ["SSSSSSSS", 8], 0, function() {
|
2059
2059
|
return this.millisecond() * 1e5;
|
2060
2060
|
});
|
2061
|
-
|
2061
|
+
p(0, ["SSSSSSSSS", 9], 0, function() {
|
2062
2062
|
return this.millisecond() * 1e6;
|
2063
2063
|
});
|
2064
2064
|
I("millisecond", "ms");
|
2065
2065
|
U("millisecond", 16);
|
2066
|
-
|
2067
|
-
|
2068
|
-
|
2069
|
-
var
|
2070
|
-
for (
|
2071
|
-
|
2066
|
+
_("S", vt, nn);
|
2067
|
+
_("SS", vt, V);
|
2068
|
+
_("SSS", vt, rn);
|
2069
|
+
var Se, Ln;
|
2070
|
+
for (Se = "SSSS"; Se.length <= 9; Se += "S")
|
2071
|
+
_(Se, Le);
|
2072
2072
|
function Po(e, t) {
|
2073
|
-
t[
|
2073
|
+
t[ve] = S(("0." + e) * 1e3);
|
2074
2074
|
}
|
2075
|
-
for (
|
2076
|
-
|
2075
|
+
for (Se = "S"; Se.length <= 9; Se += "S")
|
2076
|
+
C(Se, Po);
|
2077
2077
|
Ln = Fe("Milliseconds", !1);
|
2078
|
-
|
2079
|
-
|
2078
|
+
p("z", 0, 0, "zoneAbbr");
|
2079
|
+
p("zz", 0, 0, "zoneName");
|
2080
2080
|
function Fo() {
|
2081
2081
|
return this._isUTC ? "UTC" : "";
|
2082
2082
|
}
|
@@ -2163,23 +2163,23 @@ d.isUtc = Dn;
|
|
2163
2163
|
d.isUTC = Dn;
|
2164
2164
|
d.zoneAbbr = Fo;
|
2165
2165
|
d.zoneName = Lo;
|
2166
|
-
d.dates =
|
2166
|
+
d.dates = q(
|
2167
2167
|
"dates accessor is deprecated. Use date instead.",
|
2168
2168
|
Fn
|
2169
2169
|
);
|
2170
|
-
d.months =
|
2170
|
+
d.months = q(
|
2171
2171
|
"months accessor is deprecated. Use month instead",
|
2172
2172
|
dn
|
2173
2173
|
);
|
2174
|
-
d.years =
|
2174
|
+
d.years = q(
|
2175
2175
|
"years accessor is deprecated. Use year instead",
|
2176
2176
|
fn
|
2177
2177
|
);
|
2178
|
-
d.zone =
|
2178
|
+
d.zone = q(
|
2179
2179
|
"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
|
2180
2180
|
pa
|
2181
2181
|
);
|
2182
|
-
d.isDSTShifted =
|
2182
|
+
d.isDSTShifted = q(
|
2183
2183
|
"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
|
2184
2184
|
ka
|
2185
2185
|
);
|
@@ -2226,11 +2226,11 @@ v.weekdaysMinRegex = Ei;
|
|
2226
2226
|
v.isPM = xi;
|
2227
2227
|
v.meridiem = Yi;
|
2228
2228
|
function wt(e, t, s, n) {
|
2229
|
-
var r =
|
2229
|
+
var r = _e(), i = re().set(n, t);
|
2230
2230
|
return r[s](i, e);
|
2231
2231
|
}
|
2232
2232
|
function Un(e, t, s) {
|
2233
|
-
if (
|
2233
|
+
if (me(e) && (t = e, e = void 0), e = e || "", t != null)
|
2234
2234
|
return wt(e, t, s, "month");
|
2235
2235
|
var n, r = [];
|
2236
2236
|
for (n = 0; n < 12; n++)
|
@@ -2238,8 +2238,8 @@ function Un(e, t, s) {
|
|
2238
2238
|
return r;
|
2239
2239
|
}
|
2240
2240
|
function Ds(e, t, s, n) {
|
2241
|
-
typeof e == "boolean" ? (
|
2242
|
-
var r =
|
2241
|
+
typeof e == "boolean" ? (me(t) && (s = t, t = void 0), t = t || "") : (t = e, s = t, e = !1, me(t) && (s = t, t = void 0), t = t || "");
|
2242
|
+
var r = _e(), i = e ? r._week.dow : 0, a, o = [];
|
2243
2243
|
if (s != null)
|
2244
2244
|
return wt(t, (s + i) % 7, n, "day");
|
2245
2245
|
for (a = 0; a < 7; a++)
|
@@ -2261,7 +2261,7 @@ function Vo(e, t, s) {
|
|
2261
2261
|
function $o(e, t, s) {
|
2262
2262
|
return Ds(e, t, s, "weekdaysMin");
|
2263
2263
|
}
|
2264
|
-
|
2264
|
+
be("en", {
|
2265
2265
|
eras: [
|
2266
2266
|
{
|
2267
2267
|
since: "0001-01-01",
|
@@ -2286,21 +2286,21 @@ Oe("en", {
|
|
2286
2286
|
return e + s;
|
2287
2287
|
}
|
2288
2288
|
});
|
2289
|
-
f.lang =
|
2289
|
+
f.lang = q(
|
2290
2290
|
"moment.lang is deprecated. Use moment.locale instead.",
|
2291
|
-
|
2291
|
+
be
|
2292
2292
|
);
|
2293
|
-
f.langData =
|
2293
|
+
f.langData = q(
|
2294
2294
|
"moment.langData is deprecated. Use moment.localeData instead.",
|
2295
|
-
|
2295
|
+
_e
|
2296
2296
|
);
|
2297
|
-
var
|
2297
|
+
var oe = Math.abs;
|
2298
2298
|
function jo() {
|
2299
2299
|
var e = this._data;
|
2300
|
-
return this._milliseconds =
|
2300
|
+
return this._milliseconds = oe(this._milliseconds), this._days = oe(this._days), this._months = oe(this._months), e.milliseconds = oe(e.milliseconds), e.seconds = oe(e.seconds), e.minutes = oe(e.minutes), e.hours = oe(e.hours), e.months = oe(e.months), e.years = oe(e.years), this;
|
2301
2301
|
}
|
2302
2302
|
function Wn(e, t, s, n) {
|
2303
|
-
var r =
|
2303
|
+
var r = ee(t, s);
|
2304
2304
|
return e._milliseconds += n * r._milliseconds, e._days += n * r._days, e._months += n * r._months, e._bubble();
|
2305
2305
|
}
|
2306
2306
|
function Go(e, t) {
|
@@ -2314,7 +2314,7 @@ function Is(e) {
|
|
2314
2314
|
}
|
2315
2315
|
function qo() {
|
2316
2316
|
var e = this._milliseconds, t = this._days, s = this._months, n = this._data, r, i, a, o, u;
|
2317
|
-
return e >= 0 && t >= 0 && s >= 0 || e <= 0 && t <= 0 && s <= 0 || (e += Is(es(s) + t) * 864e5, t = 0, s = 0), n.milliseconds = e % 1e3, r =
|
2317
|
+
return e >= 0 && t >= 0 && s >= 0 || e <= 0 && t <= 0 && s <= 0 || (e += Is(es(s) + t) * 864e5, t = 0, s = 0), n.milliseconds = e % 1e3, r = j(e / 1e3), n.seconds = r % 60, i = j(r / 60), n.minutes = i % 60, a = j(i / 60), n.hours = a % 24, t += j(a / 24), u = j(Hn(t)), s += u, t -= Is(es(u)), o = j(s / 12), s %= 12, n.days = t, n.months = s, n.years = o, this;
|
2318
2318
|
}
|
2319
2319
|
function Hn(e) {
|
2320
2320
|
return e * 4800 / 146097;
|
@@ -2326,7 +2326,7 @@ function Zo(e) {
|
|
2326
2326
|
if (!this.isValid())
|
2327
2327
|
return NaN;
|
2328
2328
|
var t, s, n = this._milliseconds;
|
2329
|
-
if (e =
|
2329
|
+
if (e = Z(e), e === "month" || e === "quarter" || e === "year")
|
2330
2330
|
switch (t = this._days + n / 864e5, s = this._months + Hn(t), e) {
|
2331
2331
|
case "month":
|
2332
2332
|
return s;
|
@@ -2356,28 +2356,28 @@ function Zo(e) {
|
|
2356
2356
|
function Jo() {
|
2357
2357
|
return this.isValid() ? this._milliseconds + this._days * 864e5 + this._months % 12 * 2592e6 + S(this._months / 12) * 31536e6 : NaN;
|
2358
2358
|
}
|
2359
|
-
function
|
2359
|
+
function pe(e) {
|
2360
2360
|
return function() {
|
2361
2361
|
return this.as(e);
|
2362
2362
|
};
|
2363
2363
|
}
|
2364
|
-
var Ko =
|
2364
|
+
var Ko = pe("ms"), Qo = pe("s"), Xo = pe("m"), el = pe("h"), tl = pe("d"), sl = pe("w"), nl = pe("M"), rl = pe("Q"), il = pe("y");
|
2365
2365
|
function al() {
|
2366
|
-
return
|
2366
|
+
return ee(this);
|
2367
2367
|
}
|
2368
2368
|
function ol(e) {
|
2369
|
-
return e =
|
2369
|
+
return e = Z(e), this.isValid() ? this[e + "s"]() : NaN;
|
2370
2370
|
}
|
2371
|
-
function
|
2371
|
+
function Ce(e) {
|
2372
2372
|
return function() {
|
2373
2373
|
return this.isValid() ? this._data[e] : NaN;
|
2374
2374
|
};
|
2375
2375
|
}
|
2376
|
-
var ll =
|
2376
|
+
var ll = Ce("milliseconds"), cl = Ce("seconds"), ul = Ce("minutes"), dl = Ce("hours"), hl = Ce("days"), fl = Ce("months"), ml = Ce("years");
|
2377
2377
|
function _l() {
|
2378
|
-
return
|
2378
|
+
return j(this.days() / 7);
|
2379
2379
|
}
|
2380
|
-
var
|
2380
|
+
var le = Math.round, xe = {
|
2381
2381
|
ss: 44,
|
2382
2382
|
// a few seconds to seconds
|
2383
2383
|
s: 45,
|
@@ -2397,11 +2397,11 @@ function pl(e, t, s, n, r) {
|
|
2397
2397
|
return r.relativeTime(t || 1, !!s, e, n);
|
2398
2398
|
}
|
2399
2399
|
function yl(e, t, s, n) {
|
2400
|
-
var r =
|
2400
|
+
var r = ee(e).abs(), i = le(r.as("s")), a = le(r.as("m")), o = le(r.as("h")), u = le(r.as("d")), l = le(r.as("M")), h = le(r.as("w")), y = le(r.as("y")), D = i <= s.ss && ["s", i] || i < s.s && ["ss", i] || a <= 1 && ["m"] || a < s.m && ["mm", a] || o <= 1 && ["h"] || o < s.h && ["hh", o] || u <= 1 && ["d"] || u < s.d && ["dd", u];
|
2401
2401
|
return s.w != null && (D = D || h <= 1 && ["w"] || h < s.w && ["ww", h]), D = D || l <= 1 && ["M"] || l < s.M && ["MM", l] || y <= 1 && ["y"] || ["yy", y], D[2] = t, D[3] = +e > 0, D[4] = n, pl.apply(null, D);
|
2402
2402
|
}
|
2403
2403
|
function gl(e) {
|
2404
|
-
return e === void 0 ?
|
2404
|
+
return e === void 0 ? le : typeof e == "function" ? (le = e, !0) : !1;
|
2405
2405
|
}
|
2406
2406
|
function wl(e, t) {
|
2407
2407
|
return xe[e] === void 0 ? !1 : t === void 0 ? xe[e] : (xe[e] = t, e === "s" && (xe.ss = t - 1), !0);
|
@@ -2420,7 +2420,7 @@ function Nt() {
|
|
2420
2420
|
if (!this.isValid())
|
2421
2421
|
return this.localeData().invalidDate();
|
2422
2422
|
var e = Vt(this._milliseconds) / 1e3, t = Vt(this._days), s = Vt(this._months), n, r, i, a, o = this.asSeconds(), u, l, h, y;
|
2423
|
-
return o ? (n =
|
2423
|
+
return o ? (n = j(e / 60), r = j(n / 60), e %= 60, n %= 60, i = j(s / 12), s %= 12, a = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", u = o < 0 ? "-" : "", l = Ee(this._months) !== Ee(o) ? "-" : "", h = Ee(this._days) !== Ee(o) ? "-" : "", y = Ee(this._milliseconds) !== Ee(o) ? "-" : "", u + "P" + (i ? l + i + "Y" : "") + (s ? l + s + "M" : "") + (t ? h + t + "D" : "") + (r || n || e ? "T" : "") + (r ? y + r + "H" : "") + (n ? y + n + "M" : "") + (e ? y + a + "S" : "")) : "P0D";
|
2424
2424
|
}
|
2425
2425
|
var b = Rt.prototype;
|
2426
2426
|
b.isValid = da;
|
@@ -2455,19 +2455,19 @@ b.toString = Nt;
|
|
2455
2455
|
b.toJSON = Nt;
|
2456
2456
|
b.locale = En;
|
2457
2457
|
b.localeData = xn;
|
2458
|
-
b.toIsoString =
|
2458
|
+
b.toIsoString = q(
|
2459
2459
|
"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
|
2460
2460
|
Nt
|
2461
2461
|
);
|
2462
2462
|
b.lang = Rn;
|
2463
|
-
|
2464
|
-
|
2465
|
-
|
2466
|
-
|
2467
|
-
|
2463
|
+
p("X", 0, 0, "unix");
|
2464
|
+
p("x", 0, 0, "valueOf");
|
2465
|
+
_("x", Ct);
|
2466
|
+
_("X", Hr);
|
2467
|
+
C("X", function(e, t, s) {
|
2468
2468
|
s._d = new Date(parseFloat(e) * 1e3);
|
2469
2469
|
});
|
2470
|
-
|
2470
|
+
C("x", function(e, t, s) {
|
2471
2471
|
s._d = new Date(S(e));
|
2472
2472
|
});
|
2473
2473
|
//! moment.js
|
@@ -2477,17 +2477,17 @@ f.fn = d;
|
|
2477
2477
|
f.min = oa;
|
2478
2478
|
f.max = la;
|
2479
2479
|
f.now = ca;
|
2480
|
-
f.utc =
|
2480
|
+
f.utc = re;
|
2481
2481
|
f.unix = Io;
|
2482
2482
|
f.months = Wo;
|
2483
2483
|
f.isDate = Je;
|
2484
|
-
f.locale =
|
2484
|
+
f.locale = be;
|
2485
2485
|
f.invalid = bt;
|
2486
|
-
f.duration =
|
2487
|
-
f.isMoment =
|
2486
|
+
f.duration = ee;
|
2487
|
+
f.isMoment = X;
|
2488
2488
|
f.weekdays = Bo;
|
2489
2489
|
f.parseZone = Uo;
|
2490
|
-
f.localeData =
|
2490
|
+
f.localeData = _e;
|
2491
2491
|
f.isDuration = lt;
|
2492
2492
|
f.monthsShort = Ho;
|
2493
2493
|
f.weekdaysMin = $o;
|
@@ -2495,7 +2495,7 @@ f.defineLocale = ys;
|
|
2495
2495
|
f.updateLocale = Ii;
|
2496
2496
|
f.locales = Ui;
|
2497
2497
|
f.weekdaysShort = Vo;
|
2498
|
-
f.normalizeUnits =
|
2498
|
+
f.normalizeUnits = Z;
|
2499
2499
|
f.relativeTimeRounding = gl;
|
2500
2500
|
f.relativeTimeThreshold = wl;
|
2501
2501
|
f.calendarFormat = Ya;
|
@@ -2537,7 +2537,7 @@ const bl = (e) => f(e).format("hh:mm a").toLowerCase(), kl = (e) => e.toLowerCas
|
|
2537
2537
|
const t = e, s = lr(() => t.message.messages.responseOrigin);
|
2538
2538
|
return (n, r) => {
|
2539
2539
|
var i;
|
2540
|
-
return
|
2540
|
+
return G(), K("div", Ol, [
|
2541
2541
|
x("div", {
|
2542
2542
|
class: Ns(["bubble", s.value ? "left" : "right"])
|
2543
2543
|
}, [
|
@@ -2546,7 +2546,7 @@ const bl = (e) => f(e).format("hh:mm a").toLowerCase(), kl = (e) => e.toLowerCas
|
|
2546
2546
|
}, [
|
2547
2547
|
x("div", vl, Ut(e.message.messages.dataMessage), 1),
|
2548
2548
|
x("div", Dl, [
|
2549
|
-
(i = e.message.messages.user) != null && i.nombreCompleto ? (
|
2549
|
+
(i = e.message.messages.user) != null && i.nombreCompleto ? (G(), K("span", Cl, Ut(As(kl)(e.message.messages.user.nombreCompleto)), 1)) : (G(), K("span", Tl)),
|
2550
2550
|
x("span", null, Ut(As(bl)(e.message.messages.createdAt)), 1)
|
2551
2551
|
])
|
2552
2552
|
], 2)
|
@@ -2555,12 +2555,12 @@ const bl = (e) => f(e).format("hh:mm a").toLowerCase(), kl = (e) => e.toLowerCas
|
|
2555
2555
|
};
|
2556
2556
|
}
|
2557
2557
|
});
|
2558
|
-
const
|
2558
|
+
const Te = (e, t) => {
|
2559
2559
|
const s = e.__vccOpts || e;
|
2560
2560
|
for (const [n, r] of t)
|
2561
2561
|
s[n] = r;
|
2562
2562
|
return s;
|
2563
|
-
}, El = /* @__PURE__ */
|
2563
|
+
}, El = /* @__PURE__ */ Te(Ml, [["__scopeId", "data-v-a066bde3"]]);
|
2564
2564
|
var Rl = Object.defineProperty, xl = (e, t, s) => t in e ? Rl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, Nl = (e, t, s) => (xl(e, typeof t != "symbol" ? t + "" : t, s), s);
|
2565
2565
|
const Be = {
|
2566
2566
|
// LINEFEED byte (octet 10)
|
@@ -2569,7 +2569,7 @@ const Be = {
|
|
2569
2569
|
// NULL byte (octet 0)
|
2570
2570
|
NULL: "\0"
|
2571
2571
|
};
|
2572
|
-
class
|
2572
|
+
class ge {
|
2573
2573
|
/**
|
2574
2574
|
* Frame constructor. `command`, `headers` and `body` are available as properties.
|
2575
2575
|
*
|
@@ -2602,9 +2602,9 @@ class Se {
|
|
2602
2602
|
i.indexOf(":");
|
2603
2603
|
const a = r(i[0]);
|
2604
2604
|
let o = r(i[1]);
|
2605
|
-
s && t.command !== "CONNECT" && t.command !== "CONNECTED" && (o =
|
2605
|
+
s && t.command !== "CONNECT" && t.command !== "CONNECTED" && (o = ge.hdrValueUnEscape(o)), n[a] = o;
|
2606
2606
|
}
|
2607
|
-
return new
|
2607
|
+
return new ge({
|
2608
2608
|
command: t.command,
|
2609
2609
|
headers: n,
|
2610
2610
|
binaryBody: t.binaryBody,
|
@@ -2626,14 +2626,14 @@ class Se {
|
|
2626
2626
|
*/
|
2627
2627
|
serialize() {
|
2628
2628
|
const t = this.serializeCmdAndHeaders();
|
2629
|
-
return this.isBinaryBody ?
|
2629
|
+
return this.isBinaryBody ? ge.toUnit8Array(t, this._binaryBody).buffer : t + this._body + Be.NULL;
|
2630
2630
|
}
|
2631
2631
|
serializeCmdAndHeaders() {
|
2632
2632
|
const t = [this.command];
|
2633
2633
|
this.skipContentLengthHeader && delete this.headers["content-length"];
|
2634
2634
|
for (const s of Object.keys(this.headers || {})) {
|
2635
2635
|
const n = this.headers[s];
|
2636
|
-
this.escapeHeaderValues && this.command !== "CONNECT" && this.command !== "CONNECTED" ? t.push(`${s}:${
|
2636
|
+
this.escapeHeaderValues && this.command !== "CONNECT" && this.command !== "CONNECTED" ? t.push(`${s}:${ge.hdrValueEscape(`${n}`)}`) : t.push(`${s}:${n}`);
|
2637
2637
|
}
|
2638
2638
|
return (this.isBinaryBody || !this.isBodyEmpty() && !this.skipContentLengthHeader) && t.push(`content-length:${this.bodyLength()}`), t.join(Be.LF) + Be.LF + Be.LF;
|
2639
2639
|
}
|
@@ -2661,7 +2661,7 @@ class Se {
|
|
2661
2661
|
* @internal
|
2662
2662
|
*/
|
2663
2663
|
static marshall(t) {
|
2664
|
-
return new
|
2664
|
+
return new ge(t).serialize();
|
2665
2665
|
}
|
2666
2666
|
/**
|
2667
2667
|
* Escape header values
|
@@ -2790,14 +2790,14 @@ class Yl {
|
|
2790
2790
|
}, this._token = [], this._headerKey = void 0, this._onByte = this._collectFrame;
|
2791
2791
|
}
|
2792
2792
|
}
|
2793
|
-
var
|
2793
|
+
var ce;
|
2794
2794
|
(function(e) {
|
2795
2795
|
e[e.CONNECTING = 0] = "CONNECTING", e[e.OPEN = 1] = "OPEN", e[e.CLOSING = 2] = "CLOSING", e[e.CLOSED = 3] = "CLOSED";
|
2796
|
-
})(
|
2797
|
-
var
|
2796
|
+
})(ce = ce || (ce = {}));
|
2797
|
+
var $;
|
2798
2798
|
(function(e) {
|
2799
2799
|
e[e.ACTIVE = 0] = "ACTIVE", e[e.DEACTIVATING = 1] = "DEACTIVATING", e[e.INACTIVE = 2] = "INACTIVE";
|
2800
|
-
})(
|
2800
|
+
})($ = $ || ($ = {}));
|
2801
2801
|
class W {
|
2802
2802
|
/**
|
2803
2803
|
* Takes an array of versions, typical elements '1.2', '1.1', or '1.0'
|
@@ -2878,7 +2878,7 @@ class Fl {
|
|
2878
2878
|
const t = new Yl(
|
2879
2879
|
// On Frame
|
2880
2880
|
(s) => {
|
2881
|
-
const n =
|
2881
|
+
const n = ge.fromRawFrame(s, this._escapeHeaderValues);
|
2882
2882
|
this.logRawCommunication || this.debug(`<<< ${n}`), (this._serverFrameHandlers[n.command] || this.onUnhandledFrame)(n);
|
2883
2883
|
},
|
2884
2884
|
// On Incoming Ping
|
@@ -2911,7 +2911,7 @@ class Fl {
|
|
2911
2911
|
if (this.heartbeatOutgoing !== 0 && n !== 0) {
|
2912
2912
|
const r = Math.max(this.heartbeatOutgoing, n);
|
2913
2913
|
this.debug(`send PING every ${r}ms`), this._pinger = setInterval(() => {
|
2914
|
-
this._webSocket.readyState ===
|
2914
|
+
this._webSocket.readyState === ce.OPEN && (this._webSocket.send(Be.LF), this.debug(">>> PING"));
|
2915
2915
|
}, r);
|
2916
2916
|
}
|
2917
2917
|
if (this.heartbeatIncoming !== 0 && s !== 0) {
|
@@ -2926,7 +2926,7 @@ class Fl {
|
|
2926
2926
|
this.discardWebsocketOnCommFailure ? (this.debug("Discarding websocket, the underlying socket may linger for a while"), this.discardWebsocket()) : (this.debug("Issuing close on the websocket"), this._closeWebsocket());
|
2927
2927
|
}
|
2928
2928
|
forceDisconnect() {
|
2929
|
-
this._webSocket && (this._webSocket.readyState ===
|
2929
|
+
this._webSocket && (this._webSocket.readyState === ce.CONNECTING || this._webSocket.readyState === ce.OPEN) && this._closeOrDiscardWebsocket();
|
2930
2930
|
}
|
2931
2931
|
_closeWebsocket() {
|
2932
2932
|
this._webSocket.onmessage = () => {
|
@@ -2936,7 +2936,7 @@ class Fl {
|
|
2936
2936
|
typeof this._webSocket.terminate != "function" && Pl(this._webSocket, (t) => this.debug(t)), this._webSocket.terminate();
|
2937
2937
|
}
|
2938
2938
|
_transmit(t) {
|
2939
|
-
const { command: s, headers: n, body: r, binaryBody: i, skipContentLengthHeader: a } = t, o = new
|
2939
|
+
const { command: s, headers: n, body: r, binaryBody: i, skipContentLengthHeader: a } = t, o = new ge({
|
2940
2940
|
command: s,
|
2941
2941
|
headers: n,
|
2942
2942
|
body: r,
|
@@ -2966,7 +2966,7 @@ class Fl {
|
|
2966
2966
|
this.debug(`Ignoring error during disconnect ${t}`);
|
2967
2967
|
}
|
2968
2968
|
else
|
2969
|
-
(this._webSocket.readyState ===
|
2969
|
+
(this._webSocket.readyState === ce.CONNECTING || this._webSocket.readyState === ce.OPEN) && this._closeWebsocket();
|
2970
2970
|
}
|
2971
2971
|
_cleanUp() {
|
2972
2972
|
this._connected = !1, this._pinger && (clearInterval(this._pinger), this._pinger = void 0), this._ponger && (clearInterval(this._ponger), this._ponger = void 0);
|
@@ -3044,7 +3044,7 @@ class Ll {
|
|
3044
3044
|
* Create an instance.
|
3045
3045
|
*/
|
3046
3046
|
constructor(t = {}) {
|
3047
|
-
this.stompVersions = W.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 =
|
3047
|
+
this.stompVersions = W.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 = $.INACTIVE;
|
3048
3048
|
const s = () => {
|
3049
3049
|
};
|
3050
3050
|
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);
|
@@ -3081,7 +3081,7 @@ class Ll {
|
|
3081
3081
|
* if the client is active (connected or going to reconnect)
|
3082
3082
|
*/
|
3083
3083
|
get active() {
|
3084
|
-
return this.state ===
|
3084
|
+
return this.state === $.ACTIVE;
|
3085
3085
|
}
|
3086
3086
|
_changeState(t) {
|
3087
3087
|
this.state = t, this.onChangeState(t);
|
@@ -3105,9 +3105,9 @@ class Ll {
|
|
3105
3105
|
this.debug("Already ACTIVE, ignoring request to activate");
|
3106
3106
|
return;
|
3107
3107
|
}
|
3108
|
-
this._changeState(
|
3108
|
+
this._changeState($.ACTIVE), this._connect();
|
3109
3109
|
};
|
3110
|
-
this.state ===
|
3110
|
+
this.state === $.DEACTIVATING ? (this.debug("Waiting for deactivation to finish before activating"), this.deactivate().then(() => {
|
3111
3111
|
t();
|
3112
3112
|
})) : t();
|
3113
3113
|
}
|
@@ -3151,7 +3151,7 @@ class Ll {
|
|
3151
3151
|
this.onStompError(s);
|
3152
3152
|
},
|
3153
3153
|
onWebSocketClose: (s) => {
|
3154
|
-
this._stompHandler = void 0, this.state ===
|
3154
|
+
this._stompHandler = void 0, this.state === $.DEACTIVATING && this._changeState($.INACTIVE), this.onWebSocketClose(s), this.active && this._schedule_reconnect();
|
3155
3155
|
},
|
3156
3156
|
onWebSocketError: (s) => {
|
3157
3157
|
this.onWebSocketError(s);
|
@@ -3209,10 +3209,10 @@ class Ll {
|
|
3209
3209
|
var s;
|
3210
3210
|
const n = t.force || !1, r = this.active;
|
3211
3211
|
let i;
|
3212
|
-
if (this.state ===
|
3212
|
+
if (this.state === $.INACTIVE)
|
3213
3213
|
return this.debug("Already INACTIVE, nothing more to do"), Promise.resolve();
|
3214
|
-
if (this._changeState(
|
3215
|
-
this.webSocket.readyState !==
|
3214
|
+
if (this._changeState($.DEACTIVATING), this._reconnector && (clearTimeout(this._reconnector), this._reconnector = void 0), this._stompHandler && // @ts-ignore - if there is a _stompHandler, there is the webSocket
|
3215
|
+
this.webSocket.readyState !== ce.CLOSED) {
|
3216
3216
|
const a = this._stompHandler.onWebSocketClose;
|
3217
3217
|
i = new Promise((o, u) => {
|
3218
3218
|
this._stompHandler.onWebSocketClose = (l) => {
|
@@ -3220,7 +3220,7 @@ class Ll {
|
|
3220
3220
|
};
|
3221
3221
|
});
|
3222
3222
|
} else
|
3223
|
-
return this._changeState(
|
3223
|
+
return this._changeState($.INACTIVE), Promise.resolve();
|
3224
3224
|
return n ? (s = this._stompHandler) == null || s.discardWebsocket() : r && this._disposeStompHandler(), i;
|
3225
3225
|
}
|
3226
3226
|
/**
|
@@ -3484,9 +3484,9 @@ const Ul = {}, Wl = {
|
|
3484
3484
|
Bl
|
3485
3485
|
];
|
3486
3486
|
function $l(e, t) {
|
3487
|
-
return
|
3487
|
+
return G(), K("svg", Wl, Vl);
|
3488
3488
|
}
|
3489
|
-
const jl = /* @__PURE__ */
|
3489
|
+
const jl = /* @__PURE__ */ Te(Ul, [["render", $l]]), Gl = {}, zl = {
|
3490
3490
|
width: "24",
|
3491
3491
|
height: "24",
|
3492
3492
|
viewBox: "0 0 24 24",
|
@@ -3503,9 +3503,9 @@ const jl = /* @__PURE__ */ Me(Ul, [["render", $l]]), Gl = {}, zl = {
|
|
3503
3503
|
Zl
|
3504
3504
|
];
|
3505
3505
|
function Kl(e, t) {
|
3506
|
-
return
|
3506
|
+
return G(), K("svg", zl, Jl);
|
3507
3507
|
}
|
3508
|
-
const Ql = /* @__PURE__ */
|
3508
|
+
const Ql = /* @__PURE__ */ Te(Gl, [["render", Kl]]), Xl = {}, ec = {
|
3509
3509
|
width: "42",
|
3510
3510
|
height: "42",
|
3511
3511
|
viewBox: "0 0 42 42",
|
@@ -3524,9 +3524,9 @@ const Ql = /* @__PURE__ */ Me(Gl, [["render", Kl]]), Xl = {}, ec = {
|
|
3524
3524
|
sc
|
3525
3525
|
];
|
3526
3526
|
function rc(e, t) {
|
3527
|
-
return
|
3527
|
+
return G(), K("svg", ec, nc);
|
3528
3528
|
}
|
3529
|
-
const ic = /* @__PURE__ */
|
3529
|
+
const ic = /* @__PURE__ */ Te(Xl, [["render", rc]]);
|
3530
3530
|
function Bn(e, t) {
|
3531
3531
|
return function() {
|
3532
3532
|
return e.apply(t, arguments);
|
@@ -3535,25 +3535,25 @@ function Bn(e, t) {
|
|
3535
3535
|
const { toString: ac } = Object.prototype, { getPrototypeOf: Cs } = Object, At = ((e) => (t) => {
|
3536
3536
|
const s = ac.call(t);
|
3537
3537
|
return e[s] || (e[s] = s.slice(8, -1).toLowerCase());
|
3538
|
-
})(/* @__PURE__ */ Object.create(null)),
|
3538
|
+
})(/* @__PURE__ */ Object.create(null)), ae = (e) => (e = e.toLowerCase(), (t) => At(t) === e), Yt = (e) => (t) => typeof t === e, { isArray: Ie } = Array, Ze = Yt("undefined");
|
3539
3539
|
function oc(e) {
|
3540
|
-
return e !== null && !Ze(e) && e.constructor !== null && !Ze(e.constructor) &&
|
3540
|
+
return e !== null && !Ze(e) && e.constructor !== null && !Ze(e.constructor) && z(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
3541
3541
|
}
|
3542
|
-
const Vn =
|
3542
|
+
const Vn = ae("ArrayBuffer");
|
3543
3543
|
function lc(e) {
|
3544
3544
|
let t;
|
3545
3545
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Vn(e.buffer), t;
|
3546
3546
|
}
|
3547
|
-
const cc = Yt("string"),
|
3547
|
+
const cc = Yt("string"), z = Yt("function"), $n = Yt("number"), Pt = (e) => e !== null && typeof e == "object", uc = (e) => e === !0 || e === !1, ut = (e) => {
|
3548
3548
|
if (At(e) !== "object")
|
3549
3549
|
return !1;
|
3550
3550
|
const t = Cs(e);
|
3551
3551
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
3552
|
-
}, dc =
|
3552
|
+
}, dc = ae("Date"), hc = ae("File"), fc = ae("Blob"), mc = ae("FileList"), _c = (e) => Pt(e) && z(e.pipe), pc = (e) => {
|
3553
3553
|
let t;
|
3554
|
-
return e && (typeof FormData == "function" && e instanceof FormData ||
|
3555
|
-
t === "object" &&
|
3556
|
-
}, yc =
|
3554
|
+
return e && (typeof FormData == "function" && e instanceof FormData || z(e.append) && ((t = At(e)) === "formdata" || // detect form-data instance
|
3555
|
+
t === "object" && z(e.toString) && e.toString() === "[object FormData]"));
|
3556
|
+
}, yc = ae("URLSearchParams"), gc = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
3557
3557
|
function et(e, t, { allOwnKeys: s = !1 } = {}) {
|
3558
3558
|
if (e === null || typeof e > "u")
|
3559
3559
|
return;
|
@@ -3588,7 +3588,7 @@ function ts() {
|
|
3588
3588
|
return t;
|
3589
3589
|
}
|
3590
3590
|
const wc = (e, t, s, { allOwnKeys: n } = {}) => (et(t, (r, i) => {
|
3591
|
-
s &&
|
3591
|
+
s && z(r) ? e[i] = Bn(r, s) : e[i] = r;
|
3592
3592
|
}, { allOwnKeys: n }), e), Sc = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), bc = (e, t, s, n) => {
|
3593
3593
|
e.prototype = Object.create(t.prototype, n), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
3594
3594
|
value: t.prototype
|
@@ -3633,22 +3633,22 @@ const wc = (e, t, s, { allOwnKeys: n } = {}) => (et(t, (r, i) => {
|
|
3633
3633
|
for (; (s = e.exec(t)) !== null; )
|
3634
3634
|
n.push(s);
|
3635
3635
|
return n;
|
3636
|
-
}, Mc =
|
3636
|
+
}, Mc = ae("HTMLFormElement"), Ec = (e) => e.toLowerCase().replace(
|
3637
3637
|
/[-_\s]([a-z\d])(\w*)/g,
|
3638
3638
|
function(s, n, r) {
|
3639
3639
|
return n.toUpperCase() + r;
|
3640
3640
|
}
|
3641
|
-
), Ws = (({ hasOwnProperty: e }) => (t, s) => e.call(t, s))(Object.prototype), Rc =
|
3641
|
+
), Ws = (({ hasOwnProperty: e }) => (t, s) => e.call(t, s))(Object.prototype), Rc = ae("RegExp"), qn = (e, t) => {
|
3642
3642
|
const s = Object.getOwnPropertyDescriptors(e), n = {};
|
3643
3643
|
et(s, (r, i) => {
|
3644
3644
|
t(r, i, e) !== !1 && (n[i] = r);
|
3645
3645
|
}), Object.defineProperties(e, n);
|
3646
3646
|
}, xc = (e) => {
|
3647
3647
|
qn(e, (t, s) => {
|
3648
|
-
if (
|
3648
|
+
if (z(e) && ["arguments", "caller", "callee"].indexOf(s) !== -1)
|
3649
3649
|
return !1;
|
3650
3650
|
const n = e[s];
|
3651
|
-
if (
|
3651
|
+
if (z(n)) {
|
3652
3652
|
if (t.enumerable = !1, "writable" in t) {
|
3653
3653
|
t.writable = !1;
|
3654
3654
|
return;
|
@@ -3678,7 +3678,7 @@ const wc = (e, t, s, { allOwnKeys: n } = {}) => (et(t, (r, i) => {
|
|
3678
3678
|
return s;
|
3679
3679
|
};
|
3680
3680
|
function Fc(e) {
|
3681
|
-
return !!(e &&
|
3681
|
+
return !!(e && z(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
|
3682
3682
|
}
|
3683
3683
|
const Lc = (e) => {
|
3684
3684
|
const t = new Array(10), s = (n, r) => {
|
@@ -3697,7 +3697,7 @@ const Lc = (e) => {
|
|
3697
3697
|
return n;
|
3698
3698
|
};
|
3699
3699
|
return s(e, 0);
|
3700
|
-
}, Ic =
|
3700
|
+
}, Ic = ae("AsyncFunction"), Uc = (e) => e && (Pt(e) || z(e)) && z(e.then) && z(e.catch), c = {
|
3701
3701
|
isArray: Ie,
|
3702
3702
|
isArrayBuffer: Vn,
|
3703
3703
|
isBuffer: oc,
|
@@ -3713,7 +3713,7 @@ const Lc = (e) => {
|
|
3713
3713
|
isFile: hc,
|
3714
3714
|
isBlob: fc,
|
3715
3715
|
isRegExp: Rc,
|
3716
|
-
isFunction:
|
3716
|
+
isFunction: z,
|
3717
3717
|
isStream: _c,
|
3718
3718
|
isURLSearchParams: yc,
|
3719
3719
|
isTypedArray: Dc,
|
@@ -3726,7 +3726,7 @@ const Lc = (e) => {
|
|
3726
3726
|
inherits: bc,
|
3727
3727
|
toFlatObject: kc,
|
3728
3728
|
kindOf: At,
|
3729
|
-
kindOfTest:
|
3729
|
+
kindOfTest: ae,
|
3730
3730
|
endsWith: Oc,
|
3731
3731
|
toArray: vc,
|
3732
3732
|
forEachEntry: Cc,
|
@@ -3826,28 +3826,28 @@ function Ft(e, t, s) {
|
|
3826
3826
|
metaTokens: !0,
|
3827
3827
|
dots: !1,
|
3828
3828
|
indexes: !1
|
3829
|
-
}, !1, function(g,
|
3830
|
-
return !c.isUndefined(
|
3829
|
+
}, !1, function(g, A) {
|
3830
|
+
return !c.isUndefined(A[g]);
|
3831
3831
|
});
|
3832
3832
|
const n = s.metaTokens, r = s.visitor || h, i = s.dots, a = s.indexes, u = (s.Blob || typeof Blob < "u" && Blob) && c.isSpecCompliantForm(t);
|
3833
3833
|
if (!c.isFunction(r))
|
3834
3834
|
throw new TypeError("visitor must be a function");
|
3835
|
-
function l(
|
3836
|
-
if (
|
3835
|
+
function l(m) {
|
3836
|
+
if (m === null)
|
3837
3837
|
return "";
|
3838
|
-
if (c.isDate(
|
3839
|
-
return
|
3840
|
-
if (!u && c.isBlob(
|
3838
|
+
if (c.isDate(m))
|
3839
|
+
return m.toISOString();
|
3840
|
+
if (!u && c.isBlob(m))
|
3841
3841
|
throw new k("Blob is not supported. Use a Buffer instead.");
|
3842
|
-
return c.isArrayBuffer(
|
3842
|
+
return c.isArrayBuffer(m) || c.isTypedArray(m) ? u && typeof Blob == "function" ? new Blob([m]) : Buffer.from(m) : m;
|
3843
3843
|
}
|
3844
|
-
function h(
|
3845
|
-
let
|
3846
|
-
if (
|
3844
|
+
function h(m, g, A) {
|
3845
|
+
let F = m;
|
3846
|
+
if (m && !A && typeof m == "object") {
|
3847
3847
|
if (c.endsWith(g, "{}"))
|
3848
|
-
g = n ? g : g.slice(0, -2),
|
3849
|
-
else if (c.isArray(
|
3850
|
-
return g = Qn(g),
|
3848
|
+
g = n ? g : g.slice(0, -2), m = JSON.stringify(m);
|
3849
|
+
else if (c.isArray(m) && Hc(m) || (c.isFileList(m) || c.endsWith(g, "[]")) && (F = c.toArray(m)))
|
3850
|
+
return g = Qn(g), F.forEach(function(st, or) {
|
3851
3851
|
!(c.isUndefined(st) || st === null) && t.append(
|
3852
3852
|
// eslint-disable-next-line no-nested-ternary
|
3853
3853
|
a === !0 ? Bs([g], or, i) : a === null ? g : g + "[]",
|
@@ -3855,31 +3855,31 @@ function Ft(e, t, s) {
|
|
3855
3855
|
);
|
3856
3856
|
}), !1;
|
3857
3857
|
}
|
3858
|
-
return ss(
|
3858
|
+
return ss(m) ? !0 : (t.append(Bs(A, g, i), l(m)), !1);
|
3859
3859
|
}
|
3860
3860
|
const y = [], D = Object.assign(Bc, {
|
3861
3861
|
defaultVisitor: h,
|
3862
3862
|
convertValue: l,
|
3863
3863
|
isVisitable: ss
|
3864
3864
|
});
|
3865
|
-
function
|
3866
|
-
if (!c.isUndefined(
|
3867
|
-
if (y.indexOf(
|
3865
|
+
function T(m, g) {
|
3866
|
+
if (!c.isUndefined(m)) {
|
3867
|
+
if (y.indexOf(m) !== -1)
|
3868
3868
|
throw Error("Circular reference detected in " + g.join("."));
|
3869
|
-
y.push(
|
3870
|
-
(!(c.isUndefined(
|
3869
|
+
y.push(m), c.forEach(m, function(F, Me) {
|
3870
|
+
(!(c.isUndefined(F) || F === null) && r.call(
|
3871
3871
|
t,
|
3872
|
-
|
3873
|
-
c.isString(
|
3872
|
+
F,
|
3873
|
+
c.isString(Me) ? Me.trim() : Me,
|
3874
3874
|
g,
|
3875
3875
|
D
|
3876
|
-
)) === !0 &&
|
3876
|
+
)) === !0 && T(F, g ? g.concat(Me) : [Me]);
|
3877
3877
|
}), y.pop();
|
3878
3878
|
}
|
3879
3879
|
}
|
3880
3880
|
if (!c.isObject(e))
|
3881
3881
|
throw new TypeError("data must be an object");
|
3882
|
-
return
|
3882
|
+
return T(e), t;
|
3883
3883
|
}
|
3884
3884
|
function Vs(e) {
|
3885
3885
|
const t = {
|
@@ -3986,7 +3986,7 @@ const $s = $c, tr = {
|
|
3986
3986
|
let e;
|
3987
3987
|
return typeof navigator < "u" && ((e = navigator.product) === "ReactNative" || e === "NativeScript" || e === "NS") ? !1 : typeof window < "u" && typeof document < "u";
|
3988
3988
|
})(), Zc = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
3989
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(),
|
3989
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), se = {
|
3990
3990
|
isBrowser: !0,
|
3991
3991
|
classes: {
|
3992
3992
|
URLSearchParams: jc,
|
@@ -3998,9 +3998,9 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(),
|
|
3998
3998
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
3999
3999
|
};
|
4000
4000
|
function Jc(e, t) {
|
4001
|
-
return Ft(e, new
|
4001
|
+
return Ft(e, new se.classes.URLSearchParams(), Object.assign({
|
4002
4002
|
visitor: function(s, n, r, i) {
|
4003
|
-
return
|
4003
|
+
return se.isNode && c.isBuffer(s) ? (this.append(n, s.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
|
4004
4004
|
}
|
4005
4005
|
}, t));
|
4006
4006
|
}
|
@@ -4094,8 +4094,8 @@ const Lt = {
|
|
4094
4094
|
maxContentLength: -1,
|
4095
4095
|
maxBodyLength: -1,
|
4096
4096
|
env: {
|
4097
|
-
FormData:
|
4098
|
-
Blob:
|
4097
|
+
FormData: se.classes.FormData,
|
4098
|
+
Blob: se.classes.Blob
|
4099
4099
|
},
|
4100
4100
|
validateStatus: function(t) {
|
4101
4101
|
return t >= 200 && t < 300;
|
@@ -4288,9 +4288,9 @@ class It {
|
|
4288
4288
|
It.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
|
4289
4289
|
c.freezeMethods(It.prototype);
|
4290
4290
|
c.freezeMethods(It);
|
4291
|
-
const
|
4291
|
+
const fe = It;
|
4292
4292
|
function Gt(e, t) {
|
4293
|
-
const s = this || Ms, n = t || s, r =
|
4293
|
+
const s = this || Ms, n = t || s, r = fe.from(n.headers);
|
4294
4294
|
let i = n.data;
|
4295
4295
|
return c.forEach(e, function(o) {
|
4296
4296
|
i = o.call(s, i, r.normalize(), t ? t.status : void 0);
|
@@ -4315,7 +4315,7 @@ function ou(e, t, s) {
|
|
4315
4315
|
s
|
4316
4316
|
));
|
4317
4317
|
}
|
4318
|
-
const lu =
|
4318
|
+
const lu = se.isStandardBrowserEnv ? (
|
4319
4319
|
// Standard browser envs support document.cookie
|
4320
4320
|
function() {
|
4321
4321
|
return {
|
@@ -4355,7 +4355,7 @@ function uu(e, t) {
|
|
4355
4355
|
function rr(e, t) {
|
4356
4356
|
return e && !cu(t) ? uu(e, t) : t;
|
4357
4357
|
}
|
4358
|
-
const du =
|
4358
|
+
const du = se.isStandardBrowserEnv ? (
|
4359
4359
|
// Standard browser envs have full support of the APIs needed to test
|
4360
4360
|
// whether the request URL is of the same origin as current location.
|
4361
4361
|
function() {
|
@@ -4403,8 +4403,8 @@ function fu(e, t) {
|
|
4403
4403
|
D += s[y++], y = y % e;
|
4404
4404
|
if (r = (r + 1) % e, r === i && (i = (i + 1) % e), l - a < t)
|
4405
4405
|
return;
|
4406
|
-
const
|
4407
|
-
return
|
4406
|
+
const T = h && l - h;
|
4407
|
+
return T ? Math.round(D * 1e3 / T) : void 0;
|
4408
4408
|
};
|
4409
4409
|
}
|
4410
4410
|
function Gs(e, t) {
|
@@ -4428,36 +4428,36 @@ function Gs(e, t) {
|
|
4428
4428
|
const mu = typeof XMLHttpRequest < "u", _u = mu && function(e) {
|
4429
4429
|
return new Promise(function(s, n) {
|
4430
4430
|
let r = e.data;
|
4431
|
-
const i =
|
4431
|
+
const i = fe.from(e.headers).normalize(), a = e.responseType;
|
4432
4432
|
let o;
|
4433
4433
|
function u() {
|
4434
4434
|
e.cancelToken && e.cancelToken.unsubscribe(o), e.signal && e.signal.removeEventListener("abort", o);
|
4435
4435
|
}
|
4436
|
-
c.isFormData(r) && (
|
4436
|
+
c.isFormData(r) && (se.isStandardBrowserEnv || se.isStandardBrowserWebWorkerEnv ? i.setContentType(!1) : i.setContentType("multipart/form-data;", !1));
|
4437
4437
|
let l = new XMLHttpRequest();
|
4438
4438
|
if (e.auth) {
|
4439
|
-
const
|
4440
|
-
i.set("Authorization", "Basic " + btoa(
|
4439
|
+
const T = e.auth.username || "", m = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
|
4440
|
+
i.set("Authorization", "Basic " + btoa(T + ":" + m));
|
4441
4441
|
}
|
4442
4442
|
const h = rr(e.baseURL, e.url);
|
4443
4443
|
l.open(e.method.toUpperCase(), er(h, e.params, e.paramsSerializer), !0), l.timeout = e.timeout;
|
4444
4444
|
function y() {
|
4445
4445
|
if (!l)
|
4446
4446
|
return;
|
4447
|
-
const
|
4447
|
+
const T = fe.from(
|
4448
4448
|
"getAllResponseHeaders" in l && l.getAllResponseHeaders()
|
4449
4449
|
), g = {
|
4450
4450
|
data: !a || a === "text" || a === "json" ? l.responseText : l.response,
|
4451
4451
|
status: l.status,
|
4452
4452
|
statusText: l.statusText,
|
4453
|
-
headers:
|
4453
|
+
headers: T,
|
4454
4454
|
config: e,
|
4455
4455
|
request: l
|
4456
4456
|
};
|
4457
|
-
ou(function(
|
4458
|
-
s(
|
4459
|
-
}, function(
|
4460
|
-
n(
|
4457
|
+
ou(function(F) {
|
4458
|
+
s(F), u();
|
4459
|
+
}, function(F) {
|
4460
|
+
n(F), u();
|
4461
4461
|
}, g), l = null;
|
4462
4462
|
}
|
4463
4463
|
if ("onloadend" in l ? l.onloadend = y : l.onreadystatechange = function() {
|
@@ -4467,25 +4467,25 @@ const mu = typeof XMLHttpRequest < "u", _u = mu && function(e) {
|
|
4467
4467
|
}, l.onerror = function() {
|
4468
4468
|
n(new k("Network Error", k.ERR_NETWORK, e, l)), l = null;
|
4469
4469
|
}, l.ontimeout = function() {
|
4470
|
-
let
|
4470
|
+
let m = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
|
4471
4471
|
const g = e.transitional || tr;
|
4472
|
-
e.timeoutErrorMessage && (
|
4473
|
-
|
4472
|
+
e.timeoutErrorMessage && (m = e.timeoutErrorMessage), n(new k(
|
4473
|
+
m,
|
4474
4474
|
g.clarifyTimeoutError ? k.ETIMEDOUT : k.ECONNABORTED,
|
4475
4475
|
e,
|
4476
4476
|
l
|
4477
4477
|
)), l = null;
|
4478
|
-
},
|
4479
|
-
const
|
4480
|
-
|
4478
|
+
}, se.isStandardBrowserEnv) {
|
4479
|
+
const T = (e.withCredentials || du(h)) && e.xsrfCookieName && lu.read(e.xsrfCookieName);
|
4480
|
+
T && i.set(e.xsrfHeaderName, T);
|
4481
4481
|
}
|
4482
|
-
r === void 0 && i.setContentType(null), "setRequestHeader" in l && c.forEach(i.toJSON(), function(
|
4483
|
-
l.setRequestHeader(g,
|
4484
|
-
}), c.isUndefined(e.withCredentials) || (l.withCredentials = !!e.withCredentials), a && a !== "json" && (l.responseType = e.responseType), typeof e.onDownloadProgress == "function" && l.addEventListener("progress", Gs(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && l.upload && l.upload.addEventListener("progress", Gs(e.onUploadProgress)), (e.cancelToken || e.signal) && (o = (
|
4485
|
-
l && (n(!
|
4482
|
+
r === void 0 && i.setContentType(null), "setRequestHeader" in l && c.forEach(i.toJSON(), function(m, g) {
|
4483
|
+
l.setRequestHeader(g, m);
|
4484
|
+
}), c.isUndefined(e.withCredentials) || (l.withCredentials = !!e.withCredentials), a && a !== "json" && (l.responseType = e.responseType), typeof e.onDownloadProgress == "function" && l.addEventListener("progress", Gs(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && l.upload && l.upload.addEventListener("progress", Gs(e.onUploadProgress)), (e.cancelToken || e.signal) && (o = (T) => {
|
4485
|
+
l && (n(!T || T.type ? new tt(null, e, l) : T), l.abort(), l = null);
|
4486
4486
|
}, e.cancelToken && e.cancelToken.subscribe(o), e.signal && (e.signal.aborted ? o() : e.signal.addEventListener("abort", o)));
|
4487
4487
|
const D = hu(h);
|
4488
|
-
if (D &&
|
4488
|
+
if (D && se.protocols.indexOf(D) === -1) {
|
4489
4489
|
n(new k("Unsupported protocol " + D + ":", k.ERR_BAD_REQUEST, e));
|
4490
4490
|
return;
|
4491
4491
|
}
|
@@ -4529,7 +4529,7 @@ function zt(e) {
|
|
4529
4529
|
throw new tt(null, e);
|
4530
4530
|
}
|
4531
4531
|
function zs(e) {
|
4532
|
-
return zt(e), e.headers =
|
4532
|
+
return zt(e), e.headers = fe.from(e.headers), e.data = Gt.call(
|
4533
4533
|
e,
|
4534
4534
|
e.transformRequest
|
4535
4535
|
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), pu.getAdapter(e.adapter || Ms.adapter)(e).then(function(n) {
|
@@ -4537,16 +4537,16 @@ function zs(e) {
|
|
4537
4537
|
e,
|
4538
4538
|
e.transformResponse,
|
4539
4539
|
n
|
4540
|
-
), n.headers =
|
4540
|
+
), n.headers = fe.from(n.headers), n;
|
4541
4541
|
}, function(n) {
|
4542
4542
|
return nr(n) || (zt(e), n && n.response && (n.response.data = Gt.call(
|
4543
4543
|
e,
|
4544
4544
|
e.transformResponse,
|
4545
4545
|
n.response
|
4546
|
-
), n.response.headers =
|
4546
|
+
), n.response.headers = fe.from(n.response.headers))), Promise.reject(n);
|
4547
4547
|
});
|
4548
4548
|
}
|
4549
|
-
const qs = (e) => e instanceof
|
4549
|
+
const qs = (e) => e instanceof fe ? e.toJSON() : e;
|
4550
4550
|
function Pe(e, t) {
|
4551
4551
|
t = t || {};
|
4552
4552
|
const s = {};
|
@@ -4657,7 +4657,7 @@ function yu(e, t, s) {
|
|
4657
4657
|
const ns = {
|
4658
4658
|
assertOptions: yu,
|
4659
4659
|
validators: Es
|
4660
|
-
},
|
4660
|
+
}, ye = ns.validators;
|
4661
4661
|
class St {
|
4662
4662
|
constructor(t) {
|
4663
4663
|
this.defaults = t, this.interceptors = {
|
@@ -4677,14 +4677,14 @@ class St {
|
|
4677
4677
|
typeof t == "string" ? (s = s || {}, s.url = t) : s = t || {}, s = Pe(this.defaults, s);
|
4678
4678
|
const { transitional: n, paramsSerializer: r, headers: i } = s;
|
4679
4679
|
n !== void 0 && ns.assertOptions(n, {
|
4680
|
-
silentJSONParsing:
|
4681
|
-
forcedJSONParsing:
|
4682
|
-
clarifyTimeoutError:
|
4680
|
+
silentJSONParsing: ye.transitional(ye.boolean),
|
4681
|
+
forcedJSONParsing: ye.transitional(ye.boolean),
|
4682
|
+
clarifyTimeoutError: ye.transitional(ye.boolean)
|
4683
4683
|
}, !1), r != null && (c.isFunction(r) ? s.paramsSerializer = {
|
4684
4684
|
serialize: r
|
4685
4685
|
} : ns.assertOptions(r, {
|
4686
|
-
encode:
|
4687
|
-
serialize:
|
4686
|
+
encode: ye.function,
|
4687
|
+
serialize: ye.function
|
4688
4688
|
}, !0)), s.method = (s.method || this.defaults.method || "get").toLowerCase();
|
4689
4689
|
let a;
|
4690
4690
|
a = i && c.merge(
|
@@ -4692,10 +4692,10 @@ class St {
|
|
4692
4692
|
i[s.method]
|
4693
4693
|
), a && c.forEach(
|
4694
4694
|
["delete", "get", "head", "post", "put", "patch", "common"],
|
4695
|
-
(
|
4696
|
-
delete i[
|
4695
|
+
(m) => {
|
4696
|
+
delete i[m];
|
4697
4697
|
}
|
4698
|
-
), s.headers =
|
4698
|
+
), s.headers = fe.concat(a, i);
|
4699
4699
|
const o = [];
|
4700
4700
|
let u = !0;
|
4701
4701
|
this.interceptors.request.forEach(function(g) {
|
@@ -4707,26 +4707,26 @@ class St {
|
|
4707
4707
|
});
|
4708
4708
|
let h, y = 0, D;
|
4709
4709
|
if (!u) {
|
4710
|
-
const
|
4711
|
-
for (
|
4712
|
-
h = h.then(
|
4710
|
+
const m = [zs.bind(this), void 0];
|
4711
|
+
for (m.unshift.apply(m, o), m.push.apply(m, l), D = m.length, h = Promise.resolve(s); y < D; )
|
4712
|
+
h = h.then(m[y++], m[y++]);
|
4713
4713
|
return h;
|
4714
4714
|
}
|
4715
4715
|
D = o.length;
|
4716
|
-
let
|
4716
|
+
let T = s;
|
4717
4717
|
for (y = 0; y < D; ) {
|
4718
|
-
const
|
4718
|
+
const m = o[y++], g = o[y++];
|
4719
4719
|
try {
|
4720
|
-
|
4721
|
-
} catch (
|
4722
|
-
g.call(this,
|
4720
|
+
T = m(T);
|
4721
|
+
} catch (A) {
|
4722
|
+
g.call(this, A);
|
4723
4723
|
break;
|
4724
4724
|
}
|
4725
4725
|
}
|
4726
4726
|
try {
|
4727
|
-
h = zs.call(this,
|
4728
|
-
} catch (
|
4729
|
-
return Promise.reject(
|
4727
|
+
h = zs.call(this, T);
|
4728
|
+
} catch (m) {
|
4729
|
+
return Promise.reject(m);
|
4730
4730
|
}
|
4731
4731
|
for (y = 0, D = l.length; y < D; )
|
4732
4732
|
h = h.then(l[y++], l[y++]);
|
@@ -4915,27 +4915,27 @@ function ar(e) {
|
|
4915
4915
|
return ar(Pe(e, r));
|
4916
4916
|
}, s;
|
4917
4917
|
}
|
4918
|
-
const
|
4919
|
-
|
4920
|
-
|
4921
|
-
|
4922
|
-
|
4923
|
-
|
4924
|
-
|
4925
|
-
|
4926
|
-
|
4927
|
-
|
4918
|
+
const P = ar(Ms);
|
4919
|
+
P.Axios = ft;
|
4920
|
+
P.CanceledError = tt;
|
4921
|
+
P.CancelToken = gu;
|
4922
|
+
P.isCancel = nr;
|
4923
|
+
P.VERSION = ir;
|
4924
|
+
P.toFormData = Ft;
|
4925
|
+
P.AxiosError = k;
|
4926
|
+
P.Cancel = P.CanceledError;
|
4927
|
+
P.all = function(t) {
|
4928
4928
|
return Promise.all(t);
|
4929
4929
|
};
|
4930
|
-
|
4931
|
-
|
4932
|
-
|
4933
|
-
|
4934
|
-
|
4935
|
-
|
4936
|
-
|
4937
|
-
const ku =
|
4938
|
-
const t = e, s = window.VITE_BACKEND_URL ? window.VITE_BACKEND_URL : "http://
|
4930
|
+
P.spread = wu;
|
4931
|
+
P.isAxiosError = Su;
|
4932
|
+
P.mergeConfig = Pe;
|
4933
|
+
P.AxiosHeaders = fe;
|
4934
|
+
P.formToJSON = (e) => sr(c.isHTMLForm(e) ? new FormData(e) : e);
|
4935
|
+
P.HttpStatusCode = bu;
|
4936
|
+
P.default = P;
|
4937
|
+
const ku = P, xs = async function(e) {
|
4938
|
+
const t = e, s = window.VITE_BACKEND_URL ? window.VITE_BACKEND_URL : "http://192.168.20.107:8500", n = {
|
4939
4939
|
method: t.method,
|
4940
4940
|
url: `${s}${t.url}`,
|
4941
4941
|
headers: {
|
@@ -4986,7 +4986,7 @@ const ku = F, xs = async function(e) {
|
|
4986
4986
|
return await xs(t).then((s) => s.response).catch((s) => {
|
4987
4987
|
console.error(s);
|
4988
4988
|
});
|
4989
|
-
}, Cu = (e) => (pr("data-v-
|
4989
|
+
}, Cu = (e) => (pr("data-v-0c0433cb"), e = e(), yr(), e), Tu = { class: "widget" }, Mu = { class: "header-widget" }, Eu = /* @__PURE__ */ Cu(() => /* @__PURE__ */ x("span", null, null, -1)), Ru = { class: "input-message w-full" }, xu = ["onSubmit"], Nu = { class: "form-message" }, Au = { type: "submit" }, Yu = { class: "jl-inputgroup-chat" }, Pu = { type: "submit" }, Fu = /* @__PURE__ */ is({
|
4990
4990
|
__name: "Chat",
|
4991
4991
|
props: {
|
4992
4992
|
toggleChat: { type: Function, required: !0 },
|
@@ -4994,27 +4994,27 @@ const ku = F, xs = async function(e) {
|
|
4994
4994
|
phoneUser: { type: String, required: !0 }
|
4995
4995
|
},
|
4996
4996
|
setup(e) {
|
4997
|
-
const t = e, s =
|
4998
|
-
|
4999
|
-
},
|
5000
|
-
|
5001
|
-
const { virtualhost:
|
4997
|
+
const t = e, s = Oe("webchat"), n = Oe(null), r = Oe(null), i = Oe([]), a = Oe({ virtualhost: "" }), o = (m) => m.startsWith("591") && m.length === 11 ? m.substring(3) : m, u = Oe(null), l = () => {
|
4998
|
+
u.value && (u.value.scrollTop = u.value.scrollHeight);
|
4999
|
+
}, h = async (m) => {
|
5000
|
+
m.preventDefault();
|
5001
|
+
const { virtualhost: g } = a.value;
|
5002
5002
|
await vu({
|
5003
5003
|
token: t.tokenAuth,
|
5004
5004
|
data: {
|
5005
|
-
virtualHost:
|
5005
|
+
virtualHost: g,
|
5006
5006
|
queue: `widget_chat_${sessionStorage.getItem("tabBrowser")}`,
|
5007
5007
|
//`${selectDetailtChat.value.app}_${queueUniqueUser.value}`,
|
5008
5008
|
device: "00000000",
|
5009
|
-
phone:
|
5009
|
+
phone: o(t.phoneUser),
|
5010
5010
|
app: s.value,
|
5011
|
-
message:
|
5011
|
+
message: r.value,
|
5012
5012
|
widget: !0
|
5013
5013
|
}
|
5014
|
-
}),
|
5015
|
-
},
|
5016
|
-
|
5017
|
-
const
|
5014
|
+
}), r.value = null, l();
|
5015
|
+
}, y = async (m) => {
|
5016
|
+
m.resetConnection && T(), D();
|
5017
|
+
const A = await Ou({
|
5018
5018
|
token: t.tokenAuth,
|
5019
5019
|
data: {
|
5020
5020
|
phone: t.phoneUser,
|
@@ -5022,54 +5022,54 @@ const ku = F, xs = async function(e) {
|
|
5022
5022
|
device: null
|
5023
5023
|
}
|
5024
5024
|
});
|
5025
|
-
console.log(
|
5026
|
-
},
|
5027
|
-
const { virtualhost:
|
5025
|
+
console.log(A), A && (i.value = A);
|
5026
|
+
}, D = (m = "webchat") => {
|
5027
|
+
const { virtualhost: g } = a.value;
|
5028
5028
|
if (!sessionStorage.getItem("tabBrowser")) {
|
5029
|
-
let
|
5030
|
-
sessionStorage.setItem("tabBrowser", `${
|
5029
|
+
let F = Date.now();
|
5030
|
+
sessionStorage.setItem("tabBrowser", `${F}`);
|
5031
5031
|
}
|
5032
|
-
|
5033
|
-
await
|
5034
|
-
const
|
5035
|
-
|
5032
|
+
n.value = new Il(`${g}`, `widget_chat_${sessionStorage.getItem("tabBrowser")}`), n.value.connect(), n.value.subscribe(async () => {
|
5033
|
+
await y({ resetConnection: !1 });
|
5034
|
+
const F = document.getElementById("messages-container");
|
5035
|
+
F.scrollTop = F.scrollHeight;
|
5036
5036
|
});
|
5037
|
-
},
|
5038
|
-
var
|
5039
|
-
(
|
5037
|
+
}, T = () => {
|
5038
|
+
var m;
|
5039
|
+
(m = n.value) == null || m.disconnectClient();
|
5040
5040
|
};
|
5041
5041
|
return cr(async () => {
|
5042
|
-
await
|
5043
|
-
const
|
5044
|
-
|
5042
|
+
await y({ resetConnection: !1 });
|
5043
|
+
const m = `WIDGET_CHAT_${t.phoneUser}`;
|
5044
|
+
a.value = await Du({
|
5045
5045
|
token: t.tokenAuth,
|
5046
5046
|
data: {
|
5047
|
-
virtualHost:
|
5047
|
+
virtualHost: m
|
5048
5048
|
}
|
5049
|
-
}), console.log(
|
5050
|
-
}), (
|
5049
|
+
}), console.log(a.value), D(), l();
|
5050
|
+
}), (m, g) => (G(), K("div", Tu, [
|
5051
5051
|
x("div", Mu, [
|
5052
5052
|
Eu,
|
5053
5053
|
Ve(jl, {
|
5054
|
-
onClick:
|
5054
|
+
onClick: g[0] || (g[0] = (A) => e.toggleChat())
|
5055
5055
|
})
|
5056
5056
|
]),
|
5057
5057
|
x("div", {
|
5058
5058
|
class: "messages-container",
|
5059
5059
|
id: "messages-container",
|
5060
5060
|
ref_key: "messagesContainer",
|
5061
|
-
ref:
|
5061
|
+
ref: u
|
5062
5062
|
}, [
|
5063
|
-
(
|
5063
|
+
(G(!0), K(ur, null, dr(i.value, (A, F) => (G(), hr(El, {
|
5064
5064
|
class: "message",
|
5065
|
-
key:
|
5066
|
-
message:
|
5065
|
+
key: F,
|
5066
|
+
message: A
|
5067
5067
|
}, null, 8, ["message"]))), 128))
|
5068
5068
|
], 512),
|
5069
5069
|
x("div", Ru, [
|
5070
5070
|
x("form", {
|
5071
5071
|
class: "message-send",
|
5072
|
-
onSubmit: fr(
|
5072
|
+
onSubmit: fr(h, ["prevent"])
|
5073
5073
|
}, [
|
5074
5074
|
x("div", Nu, [
|
5075
5075
|
x("button", Au, [
|
@@ -5077,11 +5077,11 @@ const ku = F, xs = async function(e) {
|
|
5077
5077
|
]),
|
5078
5078
|
x("div", Yu, [
|
5079
5079
|
mr(x("input", {
|
5080
|
-
"onUpdate:modelValue":
|
5080
|
+
"onUpdate:modelValue": g[1] || (g[1] = (A) => r.value = A),
|
5081
5081
|
class: "jl2-input-chat",
|
5082
5082
|
required: ""
|
5083
5083
|
}, null, 512), [
|
5084
|
-
[_r,
|
5084
|
+
[_r, r.value]
|
5085
5085
|
]),
|
5086
5086
|
x("button", Pu, [
|
5087
5087
|
Ve(Ql)
|
@@ -5093,7 +5093,7 @@ const ku = F, xs = async function(e) {
|
|
5093
5093
|
]));
|
5094
5094
|
}
|
5095
5095
|
});
|
5096
|
-
const Lu = /* @__PURE__ */
|
5096
|
+
const Lu = /* @__PURE__ */ Te(Fu, [["__scopeId", "data-v-0c0433cb"]]), Iu = {}, Uu = {
|
5097
5097
|
width: "87",
|
5098
5098
|
height: "87",
|
5099
5099
|
viewBox: "0 0 87 87",
|
@@ -5103,9 +5103,9 @@ const Lu = /* @__PURE__ */ Me(Fu, [["__scopeId", "data-v-157b0654"]]), Iu = {},
|
|
5103
5103
|
Wu
|
5104
5104
|
];
|
5105
5105
|
function Bu(e, t) {
|
5106
|
-
return
|
5106
|
+
return G(), K("svg", Uu, Hu);
|
5107
5107
|
}
|
5108
|
-
const Vu = /* @__PURE__ */
|
5108
|
+
const Vu = /* @__PURE__ */ Te(Iu, [["render", Bu]]), $u = {
|
5109
5109
|
key: 0,
|
5110
5110
|
class: "chat-box"
|
5111
5111
|
}, ju = /* @__PURE__ */ is({
|
@@ -5115,10 +5115,10 @@ const Vu = /* @__PURE__ */ Me(Iu, [["render", Bu]]), $u = {
|
|
5115
5115
|
phoneUser: { type: String, required: !0 }
|
5116
5116
|
},
|
5117
5117
|
setup(e) {
|
5118
|
-
const t =
|
5118
|
+
const t = Oe(!1), s = () => {
|
5119
5119
|
t.value = !t.value;
|
5120
5120
|
};
|
5121
|
-
return (n, r) => (
|
5121
|
+
return (n, r) => (G(), K("div", null, [
|
5122
5122
|
x("div", null, [
|
5123
5123
|
x("div", {
|
5124
5124
|
id: "chat-circle",
|
@@ -5126,7 +5126,7 @@ const Vu = /* @__PURE__ */ Me(Iu, [["render", Bu]]), $u = {
|
|
5126
5126
|
}, [
|
5127
5127
|
Ve(Vu)
|
5128
5128
|
]),
|
5129
|
-
t.value ? (
|
5129
|
+
t.value ? (G(), K("div", $u, [
|
5130
5130
|
Ve(Lu, {
|
5131
5131
|
toggleChat: s,
|
5132
5132
|
tokenAuth: e.tokenAuth,
|
@@ -5137,7 +5137,7 @@ const Vu = /* @__PURE__ */ Me(Iu, [["render", Bu]]), $u = {
|
|
5137
5137
|
]));
|
5138
5138
|
}
|
5139
5139
|
});
|
5140
|
-
const zu = /* @__PURE__ */
|
5140
|
+
const zu = /* @__PURE__ */ Te(ju, [["__scopeId", "data-v-4b17fe0e"]]), qu = {
|
5141
5141
|
install(e, t) {
|
5142
5142
|
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;
|
5143
5143
|
}
|