vue-wiguet-chatweb 0.1.21 → 0.1.22
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/style.css +1 -1
- package/dist/vue-wiguet-chatweb.js +596 -590
- package/dist/vue-wiguet-chatweb.umd.cjs +6 -6
- package/package.json +1 -1
- package/src/components/Chat.vue +16 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
import { openBlock as
|
1
|
+
import { openBlock as M, createElementBlock as D, createElementVNode as v, getCurrentScope as Yi, onScopeDispose as Ji, unref as lr, computed as In, ref as H, watch as Mn, getCurrentInstance as Gi, onMounted as cr, defineComponent as Rn, onBeforeMount as Ki, Fragment as Gt, renderList as es, normalizeClass as Ce, createVNode as be, createCommentVNode as Xe, toDisplayString as et, pushScopeId as Dn, popScopeId as Ln, nextTick as ts, onUnmounted as Qi, createBlock as ur, withModifiers as Xi, withDirectives as mn, withKeys as ns, vModelText as eo, createStaticVNode as to, vShow as ss } from "vue";
|
2
2
|
let ft;
|
3
3
|
const no = new Uint8Array(16);
|
4
4
|
function so() {
|
@@ -12,12 +12,12 @@ for (let t = 0; t < 256; ++t)
|
|
12
12
|
function ro(t, e = 0) {
|
13
13
|
return W[t[e + 0]] + W[t[e + 1]] + W[t[e + 2]] + W[t[e + 3]] + "-" + W[t[e + 4]] + W[t[e + 5]] + "-" + W[t[e + 6]] + W[t[e + 7]] + "-" + W[t[e + 8]] + W[t[e + 9]] + "-" + W[t[e + 10]] + W[t[e + 11]] + W[t[e + 12]] + W[t[e + 13]] + W[t[e + 14]] + W[t[e + 15]];
|
14
14
|
}
|
15
|
-
const io = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto),
|
15
|
+
const io = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), rs = {
|
16
16
|
randomUUID: io
|
17
17
|
};
|
18
18
|
function oo(t, e, n) {
|
19
|
-
if (
|
20
|
-
return
|
19
|
+
if (rs.randomUUID && !e && !t)
|
20
|
+
return rs.randomUUID();
|
21
21
|
t = t || {};
|
22
22
|
const s = t.random || (t.rng || so)();
|
23
23
|
return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, ro(s);
|
@@ -45,7 +45,7 @@ const ce = (t, e) => {
|
|
45
45
|
uo
|
46
46
|
];
|
47
47
|
function fo(t, e) {
|
48
|
-
return
|
48
|
+
return M(), D("svg", lo, ho);
|
49
49
|
}
|
50
50
|
const mo = /* @__PURE__ */ ce(ao, [["render", fo]]), po = {}, yo = {
|
51
51
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -57,30 +57,30 @@ const mo = /* @__PURE__ */ ce(ao, [["render", fo]]), po = {}, yo = {
|
|
57
57
|
go
|
58
58
|
];
|
59
59
|
function vo(t, e) {
|
60
|
-
return
|
60
|
+
return M(), D("svg", yo, wo);
|
61
61
|
}
|
62
62
|
const So = /* @__PURE__ */ ce(po, [["render", vo]]);
|
63
|
-
function
|
63
|
+
function hr(t, e) {
|
64
64
|
return function() {
|
65
65
|
return t.apply(e, arguments);
|
66
66
|
};
|
67
67
|
}
|
68
|
-
const { toString: bo } = Object.prototype, { getPrototypeOf:
|
68
|
+
const { toString: bo } = Object.prototype, { getPrototypeOf: Fn } = Object, Bt = /* @__PURE__ */ ((t) => (e) => {
|
69
69
|
const n = bo.call(e);
|
70
70
|
return t[n] || (t[n] = n.slice(8, -1).toLowerCase());
|
71
71
|
})(/* @__PURE__ */ Object.create(null)), me = (t) => (t = t.toLowerCase(), (e) => Bt(e) === t), Vt = (t) => (e) => typeof e === t, { isArray: $e } = Array, nt = Vt("undefined");
|
72
72
|
function ko(t) {
|
73
73
|
return t !== null && !nt(t) && t.constructor !== null && !nt(t.constructor) && ee(t.constructor.isBuffer) && t.constructor.isBuffer(t);
|
74
74
|
}
|
75
|
-
const
|
75
|
+
const fr = me("ArrayBuffer");
|
76
76
|
function To(t) {
|
77
77
|
let e;
|
78
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer &&
|
78
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && fr(t.buffer), e;
|
79
79
|
}
|
80
|
-
const Eo = Vt("string"), ee = Vt("function"),
|
80
|
+
const Eo = Vt("string"), ee = Vt("function"), dr = Vt("number"), Ut = (t) => t !== null && typeof t == "object", Oo = (t) => t === !0 || t === !1, Tt = (t) => {
|
81
81
|
if (Bt(t) !== "object")
|
82
82
|
return !1;
|
83
|
-
const e =
|
83
|
+
const e = Fn(t);
|
84
84
|
return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
|
85
85
|
}, Co = me("Date"), xo = me("File"), No = me("Blob"), _o = me("FileList"), Ao = (t) => Ut(t) && ee(t.pipe), Io = (t) => {
|
86
86
|
let e;
|
@@ -101,7 +101,7 @@ function rt(t, e, { allOwnKeys: n = !1 } = {}) {
|
|
101
101
|
a = i[s], e.call(null, t[a], a, t);
|
102
102
|
}
|
103
103
|
}
|
104
|
-
function
|
104
|
+
function mr(t, e) {
|
105
105
|
e = e.toLowerCase();
|
106
106
|
const n = Object.keys(t);
|
107
107
|
let s = n.length, r;
|
@@ -110,10 +110,10 @@ function dr(t, e) {
|
|
110
110
|
return r;
|
111
111
|
return null;
|
112
112
|
}
|
113
|
-
const
|
113
|
+
const pr = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, yr = (t) => !nt(t) && t !== pr;
|
114
114
|
function pn() {
|
115
|
-
const { caseless: t } =
|
116
|
-
const i = t &&
|
115
|
+
const { caseless: t } = yr(this) && this || {}, e = {}, n = (s, r) => {
|
116
|
+
const i = t && mr(e, r) || r;
|
117
117
|
Tt(e[i]) && Tt(s) ? e[i] = pn(e[i], s) : Tt(s) ? e[i] = pn({}, s) : $e(s) ? e[i] = s.slice() : e[i] = s;
|
118
118
|
};
|
119
119
|
for (let s = 0, r = arguments.length; s < r; s++)
|
@@ -121,7 +121,7 @@ function pn() {
|
|
121
121
|
return e;
|
122
122
|
}
|
123
123
|
const Do = (t, e, n, { allOwnKeys: s } = {}) => (rt(e, (r, i) => {
|
124
|
-
n && ee(r) ? t[i] =
|
124
|
+
n && ee(r) ? t[i] = hr(r, n) : t[i] = r;
|
125
125
|
}, { allOwnKeys: s }), t), Lo = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), Fo = (t, e, n, s) => {
|
126
126
|
t.prototype = Object.create(e.prototype, s), t.prototype.constructor = t, Object.defineProperty(t, "super", {
|
127
127
|
value: e.prototype
|
@@ -133,7 +133,7 @@ const Do = (t, e, n, { allOwnKeys: s } = {}) => (rt(e, (r, i) => {
|
|
133
133
|
do {
|
134
134
|
for (r = Object.getOwnPropertyNames(t), i = r.length; i-- > 0; )
|
135
135
|
o = r[i], (!s || s(o, t, e)) && !a[o] && (e[o] = t[o], a[o] = !0);
|
136
|
-
t = n !== !1 &&
|
136
|
+
t = n !== !1 && Fn(t);
|
137
137
|
} while (t && (!n || n(t, e)) && t !== Object.prototype);
|
138
138
|
return e;
|
139
139
|
}, Vo = (t, e, n) => {
|
@@ -144,12 +144,12 @@ const Do = (t, e, n, { allOwnKeys: s } = {}) => (rt(e, (r, i) => {
|
|
144
144
|
if (!t) return null;
|
145
145
|
if ($e(t)) return t;
|
146
146
|
let e = t.length;
|
147
|
-
if (!
|
147
|
+
if (!dr(e)) return null;
|
148
148
|
const n = new Array(e);
|
149
149
|
for (; e-- > 0; )
|
150
150
|
n[e] = t[e];
|
151
151
|
return n;
|
152
|
-
}, $o = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" &&
|
152
|
+
}, $o = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && Fn(Uint8Array)), Po = (t, e) => {
|
153
153
|
const s = (t && t[Symbol.iterator]).call(t);
|
154
154
|
let r;
|
155
155
|
for (; (r = s.next()) && !r.done; ) {
|
@@ -167,13 +167,13 @@ const Do = (t, e, n, { allOwnKeys: s } = {}) => (rt(e, (r, i) => {
|
|
167
167
|
function(n, s, r) {
|
168
168
|
return s.toUpperCase() + r;
|
169
169
|
}
|
170
|
-
),
|
170
|
+
), is = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), Ho = me("RegExp"), gr = (t, e) => {
|
171
171
|
const n = Object.getOwnPropertyDescriptors(t), s = {};
|
172
172
|
rt(n, (r, i) => {
|
173
173
|
e(r, i, t) !== !1 && (s[i] = r);
|
174
174
|
}), Object.defineProperties(t, s);
|
175
175
|
}, Zo = (t) => {
|
176
|
-
|
176
|
+
gr(t, (e, n) => {
|
177
177
|
if (ee(t) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
178
178
|
return !1;
|
179
179
|
const s = t[n];
|
@@ -195,11 +195,11 @@ const Do = (t, e, n, { allOwnKeys: s } = {}) => (rt(e, (r, i) => {
|
|
195
195
|
};
|
196
196
|
return $e(t) ? s(t) : s(String(t).split(e)), n;
|
197
197
|
}, Yo = () => {
|
198
|
-
}, Jo = (t, e) => (t = +t, Number.isFinite(t) ? t : e), Kt = "abcdefghijklmnopqrstuvwxyz",
|
199
|
-
DIGIT:
|
198
|
+
}, Jo = (t, e) => (t = +t, Number.isFinite(t) ? t : e), Kt = "abcdefghijklmnopqrstuvwxyz", os = "0123456789", wr = {
|
199
|
+
DIGIT: os,
|
200
200
|
ALPHA: Kt,
|
201
|
-
ALPHA_DIGIT: Kt + Kt.toUpperCase() +
|
202
|
-
}, Go = (t = 16, e =
|
201
|
+
ALPHA_DIGIT: Kt + Kt.toUpperCase() + os
|
202
|
+
}, Go = (t = 16, e = wr.ALPHA_DIGIT) => {
|
203
203
|
let n = "";
|
204
204
|
const { length: s } = e;
|
205
205
|
for (; t--; )
|
@@ -228,12 +228,12 @@ const Qo = (t) => {
|
|
228
228
|
return n(t, 0);
|
229
229
|
}, Xo = me("AsyncFunction"), e2 = (t) => t && (Ut(t) || ee(t)) && ee(t.then) && ee(t.catch), h = {
|
230
230
|
isArray: $e,
|
231
|
-
isArrayBuffer:
|
231
|
+
isArrayBuffer: fr,
|
232
232
|
isBuffer: ko,
|
233
233
|
isFormData: Io,
|
234
234
|
isArrayBufferView: To,
|
235
235
|
isString: Eo,
|
236
|
-
isNumber:
|
236
|
+
isNumber: dr,
|
237
237
|
isBoolean: Oo,
|
238
238
|
isObject: Ut,
|
239
239
|
isPlainObject: Tt,
|
@@ -261,19 +261,19 @@ const Qo = (t) => {
|
|
261
261
|
forEachEntry: Po,
|
262
262
|
matchAll: Wo,
|
263
263
|
isHTMLForm: qo,
|
264
|
-
hasOwnProperty:
|
265
|
-
hasOwnProp:
|
264
|
+
hasOwnProperty: is,
|
265
|
+
hasOwnProp: is,
|
266
266
|
// an alias to avoid ESLint no-prototype-builtins detection
|
267
|
-
reduceDescriptors:
|
267
|
+
reduceDescriptors: gr,
|
268
268
|
freezeMethods: Zo,
|
269
269
|
toObjectSet: jo,
|
270
270
|
toCamelCase: zo,
|
271
271
|
noop: Yo,
|
272
272
|
toFiniteNumber: Jo,
|
273
|
-
findKey:
|
274
|
-
global:
|
275
|
-
isContextDefined:
|
276
|
-
ALPHABET:
|
273
|
+
findKey: mr,
|
274
|
+
global: pr,
|
275
|
+
isContextDefined: yr,
|
276
|
+
ALPHABET: wr,
|
277
277
|
generateString: Go,
|
278
278
|
isSpecCompliantForm: Ko,
|
279
279
|
toJSONObject: Qo,
|
@@ -304,7 +304,7 @@ h.inherits(x, Error, {
|
|
304
304
|
};
|
305
305
|
}
|
306
306
|
});
|
307
|
-
const
|
307
|
+
const vr = x.prototype, Sr = {};
|
308
308
|
[
|
309
309
|
"ERR_BAD_OPTION_VALUE",
|
310
310
|
"ERR_BAD_OPTION",
|
@@ -320,12 +320,12 @@ const wr = x.prototype, vr = {};
|
|
320
320
|
"ERR_INVALID_URL"
|
321
321
|
// eslint-disable-next-line func-names
|
322
322
|
].forEach((t) => {
|
323
|
-
|
323
|
+
Sr[t] = { value: t };
|
324
324
|
});
|
325
|
-
Object.defineProperties(x,
|
326
|
-
Object.defineProperty(
|
325
|
+
Object.defineProperties(x, Sr);
|
326
|
+
Object.defineProperty(vr, "isAxiosError", { value: !0 });
|
327
327
|
x.from = (t, e, n, s, r, i) => {
|
328
|
-
const o = Object.create(
|
328
|
+
const o = Object.create(vr);
|
329
329
|
return h.toFlatObject(t, o, function(l) {
|
330
330
|
return l !== Error.prototype;
|
331
331
|
}, (a) => a !== "isAxiosError"), x.call(o, t.message, e, n, s, r), o.cause = t, o.name = t.name, i && Object.assign(o, i), o;
|
@@ -334,12 +334,12 @@ const t2 = null;
|
|
334
334
|
function yn(t) {
|
335
335
|
return h.isPlainObject(t) || h.isArray(t);
|
336
336
|
}
|
337
|
-
function
|
337
|
+
function br(t) {
|
338
338
|
return h.endsWith(t, "[]") ? t.slice(0, -2) : t;
|
339
339
|
}
|
340
|
-
function
|
340
|
+
function as(t, e, n) {
|
341
341
|
return t ? t.concat(e).map(function(r, i) {
|
342
|
-
return r =
|
342
|
+
return r = br(r), !n && i ? "[" + r + "]" : r;
|
343
343
|
}).join(n ? "." : "") : e;
|
344
344
|
}
|
345
345
|
function n2(t) {
|
@@ -375,15 +375,15 @@ function $t(t, e, n) {
|
|
375
375
|
if (h.endsWith(S, "{}"))
|
376
376
|
S = s ? S : S.slice(0, -2), m = JSON.stringify(m);
|
377
377
|
else if (h.isArray(m) && n2(m) || (h.isFileList(m) || h.endsWith(S, "[]")) && (I = h.toArray(m)))
|
378
|
-
return S =
|
378
|
+
return S = br(S), I.forEach(function(ne, j) {
|
379
379
|
!(h.isUndefined(ne) || ne === null) && e.append(
|
380
380
|
// eslint-disable-next-line no-nested-ternary
|
381
|
-
o === !0 ?
|
381
|
+
o === !0 ? as([S], j, i) : o === null ? S : S + "[]",
|
382
382
|
c(ne)
|
383
383
|
);
|
384
384
|
}), !1;
|
385
385
|
}
|
386
|
-
return yn(m) ? !0 : (e.append(
|
386
|
+
return yn(m) ? !0 : (e.append(as(T, S, i), c(m)), !1);
|
387
387
|
}
|
388
388
|
const f = [], w = Object.assign(s2, {
|
389
389
|
defaultVisitor: u,
|
@@ -394,14 +394,14 @@ function $t(t, e, n) {
|
|
394
394
|
if (!h.isUndefined(m)) {
|
395
395
|
if (f.indexOf(m) !== -1)
|
396
396
|
throw Error("Circular reference detected in " + S.join("."));
|
397
|
-
f.push(m), h.forEach(m, function(I,
|
397
|
+
f.push(m), h.forEach(m, function(I, R) {
|
398
398
|
(!(h.isUndefined(I) || I === null) && r.call(
|
399
399
|
e,
|
400
400
|
I,
|
401
|
-
h.isString(
|
401
|
+
h.isString(R) ? R.trim() : R,
|
402
402
|
S,
|
403
403
|
w
|
404
|
-
)) === !0 && d(I, S ? S.concat(
|
404
|
+
)) === !0 && d(I, S ? S.concat(R) : [R]);
|
405
405
|
}), f.pop();
|
406
406
|
}
|
407
407
|
}
|
@@ -409,7 +409,7 @@ function $t(t, e, n) {
|
|
409
409
|
throw new TypeError("data must be an object");
|
410
410
|
return d(t), e;
|
411
411
|
}
|
412
|
-
function
|
412
|
+
function ls(t) {
|
413
413
|
const e = {
|
414
414
|
"!": "%21",
|
415
415
|
"'": "%27",
|
@@ -423,17 +423,17 @@ function os(t) {
|
|
423
423
|
return e[s];
|
424
424
|
});
|
425
425
|
}
|
426
|
-
function
|
426
|
+
function Bn(t, e) {
|
427
427
|
this._pairs = [], t && $t(t, this, e);
|
428
428
|
}
|
429
|
-
const
|
430
|
-
|
429
|
+
const kr = Bn.prototype;
|
430
|
+
kr.append = function(e, n) {
|
431
431
|
this._pairs.push([e, n]);
|
432
432
|
};
|
433
|
-
|
433
|
+
kr.toString = function(e) {
|
434
434
|
const n = e ? function(s) {
|
435
|
-
return e.call(this, s,
|
436
|
-
} :
|
435
|
+
return e.call(this, s, ls);
|
436
|
+
} : ls;
|
437
437
|
return this._pairs.map(function(r) {
|
438
438
|
return n(r[0]) + "=" + n(r[1]);
|
439
439
|
}, "").join("&");
|
@@ -441,18 +441,18 @@ br.toString = function(e) {
|
|
441
441
|
function r2(t) {
|
442
442
|
return encodeURIComponent(t).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
443
443
|
}
|
444
|
-
function
|
444
|
+
function Tr(t, e, n) {
|
445
445
|
if (!e)
|
446
446
|
return t;
|
447
447
|
const s = n && n.encode || r2, r = n && n.serialize;
|
448
448
|
let i;
|
449
|
-
if (r ? i = r(e, n) : i = h.isURLSearchParams(e) ? e.toString() : new
|
449
|
+
if (r ? i = r(e, n) : i = h.isURLSearchParams(e) ? e.toString() : new Bn(e, n).toString(s), i) {
|
450
450
|
const o = t.indexOf("#");
|
451
451
|
o !== -1 && (t = t.slice(0, o)), t += (t.indexOf("?") === -1 ? "?" : "&") + i;
|
452
452
|
}
|
453
453
|
return t;
|
454
454
|
}
|
455
|
-
class
|
455
|
+
class cs {
|
456
456
|
constructor() {
|
457
457
|
this.handlers = [];
|
458
458
|
}
|
@@ -506,11 +506,11 @@ class as {
|
|
506
506
|
});
|
507
507
|
}
|
508
508
|
}
|
509
|
-
const
|
509
|
+
const Er = {
|
510
510
|
silentJSONParsing: !0,
|
511
511
|
forcedJSONParsing: !0,
|
512
512
|
clarifyTimeoutError: !1
|
513
|
-
}, i2 = typeof URLSearchParams < "u" ? URLSearchParams :
|
513
|
+
}, i2 = typeof URLSearchParams < "u" ? URLSearchParams : Bn, o2 = typeof FormData < "u" ? FormData : null, a2 = typeof Blob < "u" ? Blob : null, l2 = (() => {
|
514
514
|
let t;
|
515
515
|
return typeof navigator < "u" && ((t = navigator.product) === "ReactNative" || t === "NativeScript" || t === "NS") ? !1 : typeof window < "u" && typeof document < "u";
|
516
516
|
})(), c2 = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
@@ -544,7 +544,7 @@ function f2(t) {
|
|
544
544
|
i = n[s], e[i] = t[i];
|
545
545
|
return e;
|
546
546
|
}
|
547
|
-
function
|
547
|
+
function Or(t) {
|
548
548
|
function e(n, s, r, i) {
|
549
549
|
let o = n[i++];
|
550
550
|
const a = Number.isFinite(+o), l = i >= n.length;
|
@@ -572,12 +572,12 @@ function m2(t, e, n) {
|
|
572
572
|
return (n || JSON.stringify)(t);
|
573
573
|
}
|
574
574
|
const Pe = {
|
575
|
-
transitional:
|
575
|
+
transitional: Er,
|
576
576
|
adapter: ["xhr", "http"],
|
577
577
|
transformRequest: [function(e, n) {
|
578
578
|
const s = n.getContentType() || "", r = s.indexOf("application/json") > -1, i = h.isObject(e);
|
579
579
|
if (i && h.isHTMLForm(e) && (e = new FormData(e)), h.isFormData(e))
|
580
|
-
return r && r ? JSON.stringify(
|
580
|
+
return r && r ? JSON.stringify(Or(e)) : e;
|
581
581
|
if (h.isArrayBuffer(e) || h.isBuffer(e) || h.isStream(e) || h.isFile(e) || h.isBlob(e))
|
582
582
|
return e;
|
583
583
|
if (h.isArrayBufferView(e))
|
@@ -665,7 +665,7 @@ const p2 = h.toObjectSet([
|
|
665
665
|
`).forEach(function(o) {
|
666
666
|
r = o.indexOf(":"), n = o.substring(0, r).trim().toLowerCase(), s = o.substring(r + 1).trim(), !(!n || e[n] && p2[n]) && (n === "set-cookie" ? e[n] ? e[n].push(s) : e[n] = [s] : e[n] = e[n] ? e[n] + ", " + s : s);
|
667
667
|
}), e;
|
668
|
-
},
|
668
|
+
}, us = Symbol("internals");
|
669
669
|
function je(t) {
|
670
670
|
return t && String(t).trim().toLowerCase();
|
671
671
|
}
|
@@ -803,7 +803,7 @@ class te {
|
|
803
803
|
return n.forEach((r) => s.set(r)), s;
|
804
804
|
}
|
805
805
|
static accessor(e) {
|
806
|
-
const s = (this[
|
806
|
+
const s = (this[us] = this[us] = {
|
807
807
|
accessors: {}
|
808
808
|
}).accessors, r = this.prototype;
|
809
809
|
function i(o) {
|
@@ -823,7 +823,7 @@ function Xt(t, e) {
|
|
823
823
|
i = a.call(n, i, r.normalize(), e ? e.status : void 0);
|
824
824
|
}), r.normalize(), i;
|
825
825
|
}
|
826
|
-
function
|
826
|
+
function Cr(t) {
|
827
827
|
return !!(t && t.__CANCEL__);
|
828
828
|
}
|
829
829
|
function it(t, e, n) {
|
@@ -879,7 +879,7 @@ function T2(t) {
|
|
879
879
|
function E2(t, e) {
|
880
880
|
return e ? t.replace(/\/+$/, "") + "/" + e.replace(/^\/+/, "") : t;
|
881
881
|
}
|
882
|
-
function
|
882
|
+
function xr(t, e) {
|
883
883
|
return t && !T2(e) ? E2(t, e) : e;
|
884
884
|
}
|
885
885
|
const O2 = he.isStandardBrowserEnv ? (
|
@@ -934,7 +934,7 @@ function x2(t, e) {
|
|
934
934
|
return d ? Math.round(w * 1e3 / d) : void 0;
|
935
935
|
};
|
936
936
|
}
|
937
|
-
function
|
937
|
+
function hs(t, e) {
|
938
938
|
let n = 0;
|
939
939
|
const s = x2(50, 250);
|
940
940
|
return (r) => {
|
@@ -966,8 +966,8 @@ const N2 = typeof XMLHttpRequest < "u", _2 = N2 && function(t) {
|
|
966
966
|
const d = t.auth.username || "", m = t.auth.password ? unescape(encodeURIComponent(t.auth.password)) : "";
|
967
967
|
i.set("Authorization", "Basic " + btoa(d + ":" + m));
|
968
968
|
}
|
969
|
-
const u =
|
970
|
-
c.open(t.method.toUpperCase(),
|
969
|
+
const u = xr(t.baseURL, t.url);
|
970
|
+
c.open(t.method.toUpperCase(), Tr(u, t.params, t.paramsSerializer), !0), c.timeout = t.timeout;
|
971
971
|
function f() {
|
972
972
|
if (!c)
|
973
973
|
return;
|
@@ -995,7 +995,7 @@ const N2 = typeof XMLHttpRequest < "u", _2 = N2 && function(t) {
|
|
995
995
|
s(new x("Network Error", x.ERR_NETWORK, t, c)), c = null;
|
996
996
|
}, c.ontimeout = function() {
|
997
997
|
let m = t.timeout ? "timeout of " + t.timeout + "ms exceeded" : "timeout exceeded";
|
998
|
-
const S = t.transitional ||
|
998
|
+
const S = t.transitional || Er;
|
999
999
|
t.timeoutErrorMessage && (m = t.timeoutErrorMessage), s(new x(
|
1000
1000
|
m,
|
1001
1001
|
S.clarifyTimeoutError ? x.ETIMEDOUT : x.ECONNABORTED,
|
@@ -1008,7 +1008,7 @@ const N2 = typeof XMLHttpRequest < "u", _2 = N2 && function(t) {
|
|
1008
1008
|
}
|
1009
1009
|
r === void 0 && i.setContentType(null), "setRequestHeader" in c && h.forEach(i.toJSON(), function(m, S) {
|
1010
1010
|
c.setRequestHeader(S, m);
|
1011
|
-
}), h.isUndefined(t.withCredentials) || (c.withCredentials = !!t.withCredentials), o && o !== "json" && (c.responseType = t.responseType), typeof t.onDownloadProgress == "function" && c.addEventListener("progress",
|
1011
|
+
}), h.isUndefined(t.withCredentials) || (c.withCredentials = !!t.withCredentials), o && o !== "json" && (c.responseType = t.responseType), typeof t.onDownloadProgress == "function" && c.addEventListener("progress", hs(t.onDownloadProgress, !0)), typeof t.onUploadProgress == "function" && c.upload && c.upload.addEventListener("progress", hs(t.onUploadProgress)), (t.cancelToken || t.signal) && (a = (d) => {
|
1012
1012
|
c && (s(!d || d.type ? new it(null, t, c) : d), c.abort(), c = null);
|
1013
1013
|
}, t.cancelToken && t.cancelToken.subscribe(a), t.signal && (t.signal.aborted ? a() : t.signal.addEventListener("abort", a)));
|
1014
1014
|
const w = C2(u);
|
@@ -1055,7 +1055,7 @@ function en(t) {
|
|
1055
1055
|
if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
|
1056
1056
|
throw new it(null, t);
|
1057
1057
|
}
|
1058
|
-
function
|
1058
|
+
function fs(t) {
|
1059
1059
|
return en(t), t.headers = te.from(t.headers), t.data = Xt.call(
|
1060
1060
|
t,
|
1061
1061
|
t.transformRequest
|
@@ -1066,14 +1066,14 @@ function us(t) {
|
|
1066
1066
|
s
|
1067
1067
|
), s.headers = te.from(s.headers), s;
|
1068
1068
|
}, function(s) {
|
1069
|
-
return
|
1069
|
+
return Cr(s) || (en(t), s && s.response && (s.response.data = Xt.call(
|
1070
1070
|
t,
|
1071
1071
|
t.transformResponse,
|
1072
1072
|
s.response
|
1073
1073
|
), s.response.headers = te.from(s.response.headers))), Promise.reject(s);
|
1074
1074
|
});
|
1075
1075
|
}
|
1076
|
-
const
|
1076
|
+
const ds = (t) => t instanceof te ? t.toJSON() : t;
|
1077
1077
|
function Ve(t, e) {
|
1078
1078
|
e = e || {};
|
1079
1079
|
const n = {};
|
@@ -1130,23 +1130,23 @@ function Ve(t, e) {
|
|
1130
1130
|
socketPath: o,
|
1131
1131
|
responseEncoding: o,
|
1132
1132
|
validateStatus: a,
|
1133
|
-
headers: (c, u) => r(
|
1133
|
+
headers: (c, u) => r(ds(c), ds(u), !0)
|
1134
1134
|
};
|
1135
1135
|
return h.forEach(Object.keys(Object.assign({}, t, e)), function(u) {
|
1136
1136
|
const f = l[u] || r, w = f(t[u], e[u], u);
|
1137
1137
|
h.isUndefined(w) && f !== a || (n[u] = w);
|
1138
1138
|
}), n;
|
1139
1139
|
}
|
1140
|
-
const
|
1140
|
+
const Nr = "1.4.0", Vn = {};
|
1141
1141
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((t, e) => {
|
1142
|
-
|
1142
|
+
Vn[t] = function(s) {
|
1143
1143
|
return typeof s === t || "a" + (e < 1 ? "n " : " ") + t;
|
1144
1144
|
};
|
1145
1145
|
});
|
1146
|
-
const
|
1147
|
-
|
1146
|
+
const ms = {};
|
1147
|
+
Vn.transitional = function(e, n, s) {
|
1148
1148
|
function r(i, o) {
|
1149
|
-
return "[Axios v" +
|
1149
|
+
return "[Axios v" + Nr + "] Transitional option '" + i + "'" + o + (s ? ". " + s : "");
|
1150
1150
|
}
|
1151
1151
|
return (i, o, a) => {
|
1152
1152
|
if (e === !1)
|
@@ -1154,7 +1154,7 @@ Fn.transitional = function(e, n, s) {
|
|
1154
1154
|
r(o, " has been removed" + (n ? " in " + n : "")),
|
1155
1155
|
x.ERR_DEPRECATED
|
1156
1156
|
);
|
1157
|
-
return n && !
|
1157
|
+
return n && !ms[o] && (ms[o] = !0, console.warn(
|
1158
1158
|
r(
|
1159
1159
|
o,
|
1160
1160
|
" has been deprecated since v" + n + " and will be removed in the near future"
|
@@ -1181,13 +1181,13 @@ function I2(t, e, n) {
|
|
1181
1181
|
}
|
1182
1182
|
const gn = {
|
1183
1183
|
assertOptions: I2,
|
1184
|
-
validators:
|
1185
|
-
},
|
1184
|
+
validators: Vn
|
1185
|
+
}, ye = gn.validators;
|
1186
1186
|
class Ne {
|
1187
1187
|
constructor(e) {
|
1188
1188
|
this.defaults = e, this.interceptors = {
|
1189
|
-
request: new
|
1190
|
-
response: new
|
1189
|
+
request: new cs(),
|
1190
|
+
response: new cs()
|
1191
1191
|
};
|
1192
1192
|
}
|
1193
1193
|
/**
|
@@ -1202,14 +1202,14 @@ class Ne {
|
|
1202
1202
|
typeof e == "string" ? (n = n || {}, n.url = e) : n = e || {}, n = Ve(this.defaults, n);
|
1203
1203
|
const { transitional: s, paramsSerializer: r, headers: i } = n;
|
1204
1204
|
s !== void 0 && gn.assertOptions(s, {
|
1205
|
-
silentJSONParsing:
|
1206
|
-
forcedJSONParsing:
|
1207
|
-
clarifyTimeoutError:
|
1205
|
+
silentJSONParsing: ye.transitional(ye.boolean),
|
1206
|
+
forcedJSONParsing: ye.transitional(ye.boolean),
|
1207
|
+
clarifyTimeoutError: ye.transitional(ye.boolean)
|
1208
1208
|
}, !1), r != null && (h.isFunction(r) ? n.paramsSerializer = {
|
1209
1209
|
serialize: r
|
1210
1210
|
} : gn.assertOptions(r, {
|
1211
|
-
encode:
|
1212
|
-
serialize:
|
1211
|
+
encode: ye.function,
|
1212
|
+
serialize: ye.function
|
1213
1213
|
}, !0)), n.method = (n.method || this.defaults.method || "get").toLowerCase();
|
1214
1214
|
let o;
|
1215
1215
|
o = i && h.merge(
|
@@ -1232,7 +1232,7 @@ class Ne {
|
|
1232
1232
|
});
|
1233
1233
|
let u, f = 0, w;
|
1234
1234
|
if (!l) {
|
1235
|
-
const m = [
|
1235
|
+
const m = [fs.bind(this), void 0];
|
1236
1236
|
for (m.unshift.apply(m, a), m.push.apply(m, c), w = m.length, u = Promise.resolve(n); f < w; )
|
1237
1237
|
u = u.then(m[f++], m[f++]);
|
1238
1238
|
return u;
|
@@ -1249,7 +1249,7 @@ class Ne {
|
|
1249
1249
|
}
|
1250
1250
|
}
|
1251
1251
|
try {
|
1252
|
-
u =
|
1252
|
+
u = fs.call(this, d);
|
1253
1253
|
} catch (m) {
|
1254
1254
|
return Promise.reject(m);
|
1255
1255
|
}
|
@@ -1259,8 +1259,8 @@ class Ne {
|
|
1259
1259
|
}
|
1260
1260
|
getUri(e) {
|
1261
1261
|
e = Ve(this.defaults, e);
|
1262
|
-
const n =
|
1263
|
-
return
|
1262
|
+
const n = xr(e.baseURL, e.url);
|
1263
|
+
return Tr(n, e.params, e.paramsSerializer);
|
1264
1264
|
}
|
1265
1265
|
}
|
1266
1266
|
h.forEach(["delete", "get", "head", "options"], function(e) {
|
@@ -1287,7 +1287,7 @@ h.forEach(["post", "put", "patch"], function(e) {
|
|
1287
1287
|
}
|
1288
1288
|
Ne.prototype[e] = n(), Ne.prototype[e + "Form"] = n(!0);
|
1289
1289
|
});
|
1290
|
-
class
|
1290
|
+
class Un {
|
1291
1291
|
constructor(e) {
|
1292
1292
|
if (typeof e != "function")
|
1293
1293
|
throw new TypeError("executor must be a function.");
|
@@ -1347,7 +1347,7 @@ class Bn {
|
|
1347
1347
|
static source() {
|
1348
1348
|
let e;
|
1349
1349
|
return {
|
1350
|
-
token: new
|
1350
|
+
token: new Un(function(r) {
|
1351
1351
|
e = r;
|
1352
1352
|
}),
|
1353
1353
|
cancel: e
|
@@ -1430,18 +1430,18 @@ const wn = {
|
|
1430
1430
|
Object.entries(wn).forEach(([t, e]) => {
|
1431
1431
|
wn[e] = t;
|
1432
1432
|
});
|
1433
|
-
function
|
1434
|
-
const e = new Ne(t), n =
|
1433
|
+
function _r(t) {
|
1434
|
+
const e = new Ne(t), n = hr(Ne.prototype.request, e);
|
1435
1435
|
return h.extend(n, Ne.prototype, e, { allOwnKeys: !0 }), h.extend(n, e, null, { allOwnKeys: !0 }), n.create = function(r) {
|
1436
|
-
return
|
1436
|
+
return _r(Ve(t, r));
|
1437
1437
|
}, n;
|
1438
1438
|
}
|
1439
|
-
const P =
|
1439
|
+
const P = _r(Pe);
|
1440
1440
|
P.Axios = Ne;
|
1441
1441
|
P.CanceledError = it;
|
1442
|
-
P.CancelToken =
|
1443
|
-
P.isCancel =
|
1444
|
-
P.VERSION =
|
1442
|
+
P.CancelToken = Un;
|
1443
|
+
P.isCancel = Cr;
|
1444
|
+
P.VERSION = Nr;
|
1445
1445
|
P.toFormData = $t;
|
1446
1446
|
P.AxiosError = x;
|
1447
1447
|
P.Cancel = P.CanceledError;
|
@@ -1452,7 +1452,7 @@ P.spread = M2;
|
|
1452
1452
|
P.isAxiosError = R2;
|
1453
1453
|
P.mergeConfig = Ve;
|
1454
1454
|
P.AxiosHeaders = te;
|
1455
|
-
P.formToJSON = (t) =>
|
1455
|
+
P.formToJSON = (t) => Or(h.isHTMLForm(t) ? new FormData(t) : t);
|
1456
1456
|
P.HttpStatusCode = wn;
|
1457
1457
|
P.default = P;
|
1458
1458
|
const Pt = async function(t) {
|
@@ -1503,7 +1503,7 @@ async function L2(t, e) {
|
|
1503
1503
|
}).catch((i) => (console.error(i), null));
|
1504
1504
|
return (r = s == null ? void 0 : s.response) == null ? void 0 : r.data;
|
1505
1505
|
}
|
1506
|
-
async function
|
1506
|
+
async function ps(t) {
|
1507
1507
|
var s;
|
1508
1508
|
const n = await Pt({
|
1509
1509
|
url: "/v1/app-chats/web-chat",
|
@@ -1512,7 +1512,7 @@ async function ds(t) {
|
|
1512
1512
|
}).catch((r) => (console.error(r), null));
|
1513
1513
|
return (s = n == null ? void 0 : n.response) == null ? void 0 : s.data;
|
1514
1514
|
}
|
1515
|
-
async function
|
1515
|
+
async function ys(t, e) {
|
1516
1516
|
var i;
|
1517
1517
|
const n = {
|
1518
1518
|
esCliente: !0,
|
@@ -1527,10 +1527,10 @@ async function ms(t, e) {
|
|
1527
1527
|
return (i = r == null ? void 0 : r.response) == null ? void 0 : i.data;
|
1528
1528
|
}
|
1529
1529
|
function F2(t) {
|
1530
|
-
return
|
1530
|
+
return Yi() ? (Ji(t), !0) : !1;
|
1531
1531
|
}
|
1532
|
-
function
|
1533
|
-
return typeof t == "function" ? t() :
|
1532
|
+
function Ar(t) {
|
1533
|
+
return typeof t == "function" ? t() : lr(t);
|
1534
1534
|
}
|
1535
1535
|
const B2 = typeof window < "u" && typeof document < "u";
|
1536
1536
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
@@ -1538,13 +1538,13 @@ const V2 = (t) => t != null, tn = () => {
|
|
1538
1538
|
};
|
1539
1539
|
function nn(t) {
|
1540
1540
|
var e;
|
1541
|
-
const n =
|
1541
|
+
const n = Ar(t);
|
1542
1542
|
return (e = n == null ? void 0 : n.$el) != null ? e : n;
|
1543
1543
|
}
|
1544
1544
|
const U2 = B2 ? window : void 0;
|
1545
1545
|
function $2() {
|
1546
|
-
const t = H(!1), e =
|
1547
|
-
return e &&
|
1546
|
+
const t = H(!1), e = Gi();
|
1547
|
+
return e && cr(() => {
|
1548
1548
|
t.value = !0;
|
1549
1549
|
}, e), t;
|
1550
1550
|
}
|
@@ -1560,7 +1560,7 @@ function W2(t, e, n = {}) {
|
|
1560
1560
|
window: o = U2,
|
1561
1561
|
immediate: a = !0
|
1562
1562
|
} = n, l = P2(() => o && "IntersectionObserver" in o), c = In(() => {
|
1563
|
-
const m =
|
1563
|
+
const m = Ar(t);
|
1564
1564
|
return (Array.isArray(m) ? m : [m]).map(nn).filter(V2);
|
1565
1565
|
});
|
1566
1566
|
let u = tn;
|
@@ -1616,14 +1616,14 @@ class H2 extends _e {
|
|
1616
1616
|
}
|
1617
1617
|
class Le extends _e {
|
1618
1618
|
}
|
1619
|
-
class
|
1619
|
+
class Ir extends _e {
|
1620
1620
|
constructor(e) {
|
1621
1621
|
super(`Invalid unit ${e}`);
|
1622
1622
|
}
|
1623
1623
|
}
|
1624
1624
|
class q extends _e {
|
1625
1625
|
}
|
1626
|
-
class
|
1626
|
+
class ge extends _e {
|
1627
1627
|
constructor() {
|
1628
1628
|
super("Zone is an abstract class");
|
1629
1629
|
}
|
@@ -1632,7 +1632,7 @@ const p = "numeric", le = "short", Y = "long", Rt = {
|
|
1632
1632
|
year: p,
|
1633
1633
|
month: p,
|
1634
1634
|
day: p
|
1635
|
-
},
|
1635
|
+
}, Mr = {
|
1636
1636
|
year: p,
|
1637
1637
|
month: le,
|
1638
1638
|
day: p
|
@@ -1641,73 +1641,73 @@ const p = "numeric", le = "short", Y = "long", Rt = {
|
|
1641
1641
|
month: le,
|
1642
1642
|
day: p,
|
1643
1643
|
weekday: le
|
1644
|
-
},
|
1644
|
+
}, Rr = {
|
1645
1645
|
year: p,
|
1646
1646
|
month: Y,
|
1647
1647
|
day: p
|
1648
|
-
},
|
1648
|
+
}, Dr = {
|
1649
1649
|
year: p,
|
1650
1650
|
month: Y,
|
1651
1651
|
day: p,
|
1652
1652
|
weekday: Y
|
1653
|
-
},
|
1653
|
+
}, Lr = {
|
1654
1654
|
hour: p,
|
1655
1655
|
minute: p
|
1656
|
-
},
|
1656
|
+
}, Fr = {
|
1657
1657
|
hour: p,
|
1658
1658
|
minute: p,
|
1659
1659
|
second: p
|
1660
|
-
},
|
1660
|
+
}, Br = {
|
1661
1661
|
hour: p,
|
1662
1662
|
minute: p,
|
1663
1663
|
second: p,
|
1664
1664
|
timeZoneName: le
|
1665
|
-
},
|
1665
|
+
}, Vr = {
|
1666
1666
|
hour: p,
|
1667
1667
|
minute: p,
|
1668
1668
|
second: p,
|
1669
1669
|
timeZoneName: Y
|
1670
|
-
},
|
1670
|
+
}, Ur = {
|
1671
1671
|
hour: p,
|
1672
1672
|
minute: p,
|
1673
1673
|
hourCycle: "h23"
|
1674
|
-
},
|
1674
|
+
}, $r = {
|
1675
1675
|
hour: p,
|
1676
1676
|
minute: p,
|
1677
1677
|
second: p,
|
1678
1678
|
hourCycle: "h23"
|
1679
|
-
},
|
1679
|
+
}, Pr = {
|
1680
1680
|
hour: p,
|
1681
1681
|
minute: p,
|
1682
1682
|
second: p,
|
1683
1683
|
hourCycle: "h23",
|
1684
1684
|
timeZoneName: le
|
1685
|
-
},
|
1685
|
+
}, Wr = {
|
1686
1686
|
hour: p,
|
1687
1687
|
minute: p,
|
1688
1688
|
second: p,
|
1689
1689
|
hourCycle: "h23",
|
1690
1690
|
timeZoneName: Y
|
1691
|
-
},
|
1691
|
+
}, qr = {
|
1692
1692
|
year: p,
|
1693
1693
|
month: p,
|
1694
1694
|
day: p,
|
1695
1695
|
hour: p,
|
1696
1696
|
minute: p
|
1697
|
-
},
|
1697
|
+
}, zr = {
|
1698
1698
|
year: p,
|
1699
1699
|
month: p,
|
1700
1700
|
day: p,
|
1701
1701
|
hour: p,
|
1702
1702
|
minute: p,
|
1703
1703
|
second: p
|
1704
|
-
},
|
1704
|
+
}, Hr = {
|
1705
1705
|
year: p,
|
1706
1706
|
month: le,
|
1707
1707
|
day: p,
|
1708
1708
|
hour: p,
|
1709
1709
|
minute: p
|
1710
|
-
},
|
1710
|
+
}, Zr = {
|
1711
1711
|
year: p,
|
1712
1712
|
month: le,
|
1713
1713
|
day: p,
|
@@ -1721,14 +1721,14 @@ const p = "numeric", le = "short", Y = "long", Rt = {
|
|
1721
1721
|
weekday: le,
|
1722
1722
|
hour: p,
|
1723
1723
|
minute: p
|
1724
|
-
},
|
1724
|
+
}, jr = {
|
1725
1725
|
year: p,
|
1726
1726
|
month: Y,
|
1727
1727
|
day: p,
|
1728
1728
|
hour: p,
|
1729
1729
|
minute: p,
|
1730
1730
|
timeZoneName: le
|
1731
|
-
},
|
1731
|
+
}, Yr = {
|
1732
1732
|
year: p,
|
1733
1733
|
month: Y,
|
1734
1734
|
day: p,
|
@@ -1736,7 +1736,7 @@ const p = "numeric", le = "short", Y = "long", Rt = {
|
|
1736
1736
|
minute: p,
|
1737
1737
|
second: p,
|
1738
1738
|
timeZoneName: le
|
1739
|
-
},
|
1739
|
+
}, Jr = {
|
1740
1740
|
year: p,
|
1741
1741
|
month: Y,
|
1742
1742
|
day: p,
|
@@ -1744,7 +1744,7 @@ const p = "numeric", le = "short", Y = "long", Rt = {
|
|
1744
1744
|
hour: p,
|
1745
1745
|
minute: p,
|
1746
1746
|
timeZoneName: Y
|
1747
|
-
},
|
1747
|
+
}, Gr = {
|
1748
1748
|
year: p,
|
1749
1749
|
month: Y,
|
1750
1750
|
day: p,
|
@@ -1761,7 +1761,7 @@ class ot {
|
|
1761
1761
|
* @type {string}
|
1762
1762
|
*/
|
1763
1763
|
get type() {
|
1764
|
-
throw new
|
1764
|
+
throw new ge();
|
1765
1765
|
}
|
1766
1766
|
/**
|
1767
1767
|
* The name of this zone.
|
@@ -1769,7 +1769,7 @@ class ot {
|
|
1769
1769
|
* @type {string}
|
1770
1770
|
*/
|
1771
1771
|
get name() {
|
1772
|
-
throw new
|
1772
|
+
throw new ge();
|
1773
1773
|
}
|
1774
1774
|
/**
|
1775
1775
|
* The IANA name of this zone.
|
@@ -1786,7 +1786,7 @@ class ot {
|
|
1786
1786
|
* @type {boolean}
|
1787
1787
|
*/
|
1788
1788
|
get isUniversal() {
|
1789
|
-
throw new
|
1789
|
+
throw new ge();
|
1790
1790
|
}
|
1791
1791
|
/**
|
1792
1792
|
* Returns the offset's common name (such as EST) at the specified timestamp
|
@@ -1798,7 +1798,7 @@ class ot {
|
|
1798
1798
|
* @return {string}
|
1799
1799
|
*/
|
1800
1800
|
offsetName(e, n) {
|
1801
|
-
throw new
|
1801
|
+
throw new ge();
|
1802
1802
|
}
|
1803
1803
|
/**
|
1804
1804
|
* Returns the offset's value as a string
|
@@ -1809,7 +1809,7 @@ class ot {
|
|
1809
1809
|
* @return {string}
|
1810
1810
|
*/
|
1811
1811
|
formatOffset(e, n) {
|
1812
|
-
throw new
|
1812
|
+
throw new ge();
|
1813
1813
|
}
|
1814
1814
|
/**
|
1815
1815
|
* Return the offset in minutes for this zone at the specified timestamp.
|
@@ -1818,7 +1818,7 @@ class ot {
|
|
1818
1818
|
* @return {number}
|
1819
1819
|
*/
|
1820
1820
|
offset(e) {
|
1821
|
-
throw new
|
1821
|
+
throw new ge();
|
1822
1822
|
}
|
1823
1823
|
/**
|
1824
1824
|
* Return whether this Zone is equal to another zone
|
@@ -1827,7 +1827,7 @@ class ot {
|
|
1827
1827
|
* @return {boolean}
|
1828
1828
|
*/
|
1829
1829
|
equals(e) {
|
1830
|
-
throw new
|
1830
|
+
throw new ge();
|
1831
1831
|
}
|
1832
1832
|
/**
|
1833
1833
|
* Return whether this Zone is valid.
|
@@ -1835,7 +1835,7 @@ class ot {
|
|
1835
1835
|
* @type {boolean}
|
1836
1836
|
*/
|
1837
1837
|
get isValid() {
|
1838
|
-
throw new
|
1838
|
+
throw new ge();
|
1839
1839
|
}
|
1840
1840
|
}
|
1841
1841
|
let sn = null;
|
@@ -1861,7 +1861,7 @@ class Wt extends ot {
|
|
1861
1861
|
}
|
1862
1862
|
/** @override **/
|
1863
1863
|
offsetName(e, { format: n, locale: s }) {
|
1864
|
-
return
|
1864
|
+
return ii(e, n, s);
|
1865
1865
|
}
|
1866
1866
|
/** @override **/
|
1867
1867
|
formatOffset(e, n) {
|
@@ -1916,13 +1916,13 @@ function K2(t, e) {
|
|
1916
1916
|
return s;
|
1917
1917
|
}
|
1918
1918
|
let dt = {};
|
1919
|
-
class
|
1919
|
+
class pe extends ot {
|
1920
1920
|
/**
|
1921
1921
|
* @param {string} name - Zone name
|
1922
1922
|
* @return {IANAZone}
|
1923
1923
|
*/
|
1924
1924
|
static create(e) {
|
1925
|
-
return dt[e] || (dt[e] = new
|
1925
|
+
return dt[e] || (dt[e] = new pe(e)), dt[e];
|
1926
1926
|
}
|
1927
1927
|
/**
|
1928
1928
|
* Reset local caches. Should only be necessary in testing scenarios.
|
@@ -1960,7 +1960,7 @@ class ye extends ot {
|
|
1960
1960
|
}
|
1961
1961
|
}
|
1962
1962
|
constructor(e) {
|
1963
|
-
super(), this.zoneName = e, this.valid =
|
1963
|
+
super(), this.zoneName = e, this.valid = pe.isValidZone(e);
|
1964
1964
|
}
|
1965
1965
|
/**
|
1966
1966
|
* The type of zone. `iana` for all instances of `IANAZone`.
|
@@ -1997,7 +1997,7 @@ class ye extends ot {
|
|
1997
1997
|
* @return {string}
|
1998
1998
|
*/
|
1999
1999
|
offsetName(e, { format: n, locale: s }) {
|
2000
|
-
return
|
2000
|
+
return ii(e, n, s, this.name);
|
2001
2001
|
}
|
2002
2002
|
/**
|
2003
2003
|
* Returns the offset's value as a string
|
@@ -2053,11 +2053,11 @@ class ye extends ot {
|
|
2053
2053
|
return this.valid;
|
2054
2054
|
}
|
2055
2055
|
}
|
2056
|
-
let
|
2056
|
+
let gs = {};
|
2057
2057
|
function Q2(t, e = {}) {
|
2058
2058
|
const n = JSON.stringify([t, e]);
|
2059
|
-
let s =
|
2060
|
-
return s || (s = new Intl.ListFormat(t, e),
|
2059
|
+
let s = gs[n];
|
2060
|
+
return s || (s = new Intl.ListFormat(t, e), gs[n] = s), s;
|
2061
2061
|
}
|
2062
2062
|
let vn = {};
|
2063
2063
|
function Sn(t, e = {}) {
|
@@ -2081,12 +2081,12 @@ let Ge = null;
|
|
2081
2081
|
function ta() {
|
2082
2082
|
return Ge || (Ge = new Intl.DateTimeFormat().resolvedOptions().locale, Ge);
|
2083
2083
|
}
|
2084
|
-
let
|
2084
|
+
let ws = {};
|
2085
2085
|
function na(t) {
|
2086
|
-
let e =
|
2086
|
+
let e = ws[t];
|
2087
2087
|
if (!e) {
|
2088
2088
|
const n = new Intl.Locale(t);
|
2089
|
-
e = "getWeekInfo" in n ? n.getWeekInfo() : n.weekInfo,
|
2089
|
+
e = "getWeekInfo" in n ? n.getWeekInfo() : n.weekInfo, ws[t] = e;
|
2090
2090
|
}
|
2091
2091
|
return e;
|
2092
2092
|
}
|
@@ -2148,7 +2148,7 @@ class la {
|
|
2148
2148
|
const n = this.floor ? Math.floor(e) : e;
|
2149
2149
|
return this.inf.format(n);
|
2150
2150
|
} else {
|
2151
|
-
const n = this.floor ? Math.floor(e) :
|
2151
|
+
const n = this.floor ? Math.floor(e) : zn(e, 3);
|
2152
2152
|
return U(n, this.padTo);
|
2153
2153
|
}
|
2154
2154
|
}
|
@@ -2161,7 +2161,7 @@ class ca {
|
|
2161
2161
|
this.dt = e;
|
2162
2162
|
else if (e.zone.type === "fixed") {
|
2163
2163
|
const o = -1 * (e.offset / 60), a = o >= 0 ? `Etc/GMT+${o}` : `Etc/GMT${o}`;
|
2164
|
-
e.offset !== 0 &&
|
2164
|
+
e.offset !== 0 && pe.create(a).valid ? (r = a, this.dt = e) : (r = "UTC", this.dt = e.offset === 0 ? e : e.setZone("UTC").plus({ minutes: e.offset }), this.originalZone = e.zone);
|
2165
2165
|
} else e.zone.type === "system" ? this.dt = e : e.zone.type === "iana" ? (this.dt = e, r = e.zone.name) : (r = "UTC", this.dt = e.setZone("UTC").plus({ minutes: e.offset }), this.originalZone = e.zone);
|
2166
2166
|
const i = { ...this.opts };
|
2167
2167
|
i.timeZone = i.timeZone || r, this.dtf = Sn(n, i);
|
@@ -2191,7 +2191,7 @@ class ca {
|
|
2191
2191
|
}
|
2192
2192
|
class ua {
|
2193
2193
|
constructor(e, n, s) {
|
2194
|
-
this.opts = { style: "long", ...s }, !n &&
|
2194
|
+
this.opts = { style: "long", ...s }, !n && si() && (this.rtf = ea(e, s));
|
2195
2195
|
}
|
2196
2196
|
format(e, n) {
|
2197
2197
|
return this.rtf ? this.rtf.format(e, n) : Ra(n, e, this.opts.numeric, this.opts.style !== "long");
|
@@ -2252,13 +2252,13 @@ class _ {
|
|
2252
2252
|
return this.clone({ ...e, defaultToEN: !1 });
|
2253
2253
|
}
|
2254
2254
|
months(e, n = !1) {
|
2255
|
-
return mt(this, e,
|
2255
|
+
return mt(this, e, li, () => {
|
2256
2256
|
const s = n ? { month: e, day: "numeric" } : { month: e }, r = n ? "format" : "standalone";
|
2257
2257
|
return this.monthsCache[r][e] || (this.monthsCache[r][e] = ia((i) => this.extract(i, s, "month"))), this.monthsCache[r][e];
|
2258
2258
|
});
|
2259
2259
|
}
|
2260
2260
|
weekdays(e, n = !1) {
|
2261
|
-
return mt(this, e,
|
2261
|
+
return mt(this, e, hi, () => {
|
2262
2262
|
const s = n ? { weekday: e, year: "numeric", month: "long", day: "numeric" } : { weekday: e }, r = n ? "format" : "standalone";
|
2263
2263
|
return this.weekdaysCache[r][e] || (this.weekdaysCache[r][e] = oa(
|
2264
2264
|
(i) => this.extract(i, s, "weekday")
|
@@ -2269,7 +2269,7 @@ class _ {
|
|
2269
2269
|
return mt(
|
2270
2270
|
this,
|
2271
2271
|
void 0,
|
2272
|
-
() =>
|
2272
|
+
() => fi,
|
2273
2273
|
() => {
|
2274
2274
|
if (!this.meridiemCache) {
|
2275
2275
|
const e = { hour: "numeric", hourCycle: "h12" };
|
@@ -2282,7 +2282,7 @@ class _ {
|
|
2282
2282
|
);
|
2283
2283
|
}
|
2284
2284
|
eras(e) {
|
2285
|
-
return mt(this, e,
|
2285
|
+
return mt(this, e, di, () => {
|
2286
2286
|
const n = { era: e };
|
2287
2287
|
return this.eraCache[e] || (this.eraCache[e] = [b.utc(-40, 1, 1), b.utc(2017, 1, 1)].map(
|
2288
2288
|
(s) => this.extract(s, n, "era")
|
@@ -2309,7 +2309,7 @@ class _ {
|
|
2309
2309
|
return this.locale === "en" || this.locale.toLowerCase() === "en-us" || new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us");
|
2310
2310
|
}
|
2311
2311
|
getWeekSettings() {
|
2312
|
-
return this.weekSettings ? this.weekSettings :
|
2312
|
+
return this.weekSettings ? this.weekSettings : ri() ? na(this.locale) : ha;
|
2313
2313
|
}
|
2314
2314
|
getStartOfWeek() {
|
2315
2315
|
return this.getWeekSettings().firstDay;
|
@@ -2484,17 +2484,17 @@ class fa extends ot {
|
|
2484
2484
|
return !1;
|
2485
2485
|
}
|
2486
2486
|
}
|
2487
|
-
function
|
2487
|
+
function Se(t, e) {
|
2488
2488
|
if (k(t) || t === null)
|
2489
2489
|
return e;
|
2490
2490
|
if (t instanceof ot)
|
2491
2491
|
return t;
|
2492
2492
|
if (wa(t)) {
|
2493
2493
|
const n = t.toLowerCase();
|
2494
|
-
return n === "default" ? e : n === "local" || n === "system" ? Wt.instance : n === "utc" || n === "gmt" ? Z.utcInstance : Z.parseSpecifier(n) ||
|
2494
|
+
return n === "default" ? e : n === "local" || n === "system" ? Wt.instance : n === "utc" || n === "gmt" ? Z.utcInstance : Z.parseSpecifier(n) || pe.create(t);
|
2495
2495
|
} else return ke(t) ? Z.instance(t) : typeof t == "object" && "offset" in t && typeof t.offset == "function" ? t : new fa(t);
|
2496
2496
|
}
|
2497
|
-
const
|
2497
|
+
const $n = {
|
2498
2498
|
arab: "[٠-٩]",
|
2499
2499
|
arabext: "[۰-۹]",
|
2500
2500
|
bali: "[᭐-᭙]",
|
@@ -2516,7 +2516,7 @@ const Vn = {
|
|
2516
2516
|
thai: "[๐-๙]",
|
2517
2517
|
tibt: "[༠-༩]",
|
2518
2518
|
latn: "\\d"
|
2519
|
-
},
|
2519
|
+
}, vs = {
|
2520
2520
|
arab: [1632, 1641],
|
2521
2521
|
arabext: [1776, 1785],
|
2522
2522
|
bali: [6992, 7001],
|
@@ -2536,18 +2536,18 @@ const Vn = {
|
|
2536
2536
|
telu: [3174, 3183],
|
2537
2537
|
thai: [3664, 3673],
|
2538
2538
|
tibt: [3872, 3881]
|
2539
|
-
}, da =
|
2539
|
+
}, da = $n.hanidec.replace(/[\[|\]]/g, "").split("");
|
2540
2540
|
function ma(t) {
|
2541
2541
|
let e = parseInt(t, 10);
|
2542
2542
|
if (isNaN(e)) {
|
2543
2543
|
e = "";
|
2544
2544
|
for (let n = 0; n < t.length; n++) {
|
2545
2545
|
const s = t.charCodeAt(n);
|
2546
|
-
if (t[n].search(
|
2546
|
+
if (t[n].search($n.hanidec) !== -1)
|
2547
2547
|
e += da.indexOf(t[n]);
|
2548
2548
|
else
|
2549
|
-
for (const r in
|
2550
|
-
const [i, o] =
|
2549
|
+
for (const r in vs) {
|
2550
|
+
const [i, o] = vs[r];
|
2551
2551
|
s >= i && s <= o && (e += s - i);
|
2552
2552
|
}
|
2553
2553
|
}
|
@@ -2561,16 +2561,16 @@ function pa() {
|
|
2561
2561
|
}
|
2562
2562
|
function re({ numberingSystem: t }, e = "") {
|
2563
2563
|
const n = t || "latn";
|
2564
|
-
return Re[n] || (Re[n] = {}), Re[n][e] || (Re[n][e] = new RegExp(`${
|
2564
|
+
return Re[n] || (Re[n] = {}), Re[n][e] || (Re[n][e] = new RegExp(`${$n[n]}${e}`)), Re[n][e];
|
2565
2565
|
}
|
2566
|
-
let
|
2566
|
+
let Ss = () => Date.now(), bs = "system", ks = null, Ts = null, Es = null, Os = 60, Cs, xs = null;
|
2567
2567
|
class B {
|
2568
2568
|
/**
|
2569
2569
|
* Get the callback for returning the current timestamp.
|
2570
2570
|
* @type {function}
|
2571
2571
|
*/
|
2572
2572
|
static get now() {
|
2573
|
-
return
|
2573
|
+
return Ss;
|
2574
2574
|
}
|
2575
2575
|
/**
|
2576
2576
|
* Set the callback for returning the current timestamp.
|
@@ -2580,7 +2580,7 @@ class B {
|
|
2580
2580
|
* @example Settings.now = () => 0 // always pretend it's Jan 1, 1970 at midnight in UTC time
|
2581
2581
|
*/
|
2582
2582
|
static set now(e) {
|
2583
|
-
|
2583
|
+
Ss = e;
|
2584
2584
|
}
|
2585
2585
|
/**
|
2586
2586
|
* Set the default time zone to create DateTimes in. Does not affect existing instances.
|
@@ -2588,7 +2588,7 @@ class B {
|
|
2588
2588
|
* @type {string}
|
2589
2589
|
*/
|
2590
2590
|
static set defaultZone(e) {
|
2591
|
-
|
2591
|
+
bs = e;
|
2592
2592
|
}
|
2593
2593
|
/**
|
2594
2594
|
* Get the default time zone object currently used to create DateTimes. Does not affect existing instances.
|
@@ -2596,49 +2596,49 @@ class B {
|
|
2596
2596
|
* @type {Zone}
|
2597
2597
|
*/
|
2598
2598
|
static get defaultZone() {
|
2599
|
-
return
|
2599
|
+
return Se(bs, Wt.instance);
|
2600
2600
|
}
|
2601
2601
|
/**
|
2602
2602
|
* Get the default locale to create DateTimes with. Does not affect existing instances.
|
2603
2603
|
* @type {string}
|
2604
2604
|
*/
|
2605
2605
|
static get defaultLocale() {
|
2606
|
-
return
|
2606
|
+
return ks;
|
2607
2607
|
}
|
2608
2608
|
/**
|
2609
2609
|
* Set the default locale to create DateTimes with. Does not affect existing instances.
|
2610
2610
|
* @type {string}
|
2611
2611
|
*/
|
2612
2612
|
static set defaultLocale(e) {
|
2613
|
-
|
2613
|
+
ks = e;
|
2614
2614
|
}
|
2615
2615
|
/**
|
2616
2616
|
* Get the default numbering system to create DateTimes with. Does not affect existing instances.
|
2617
2617
|
* @type {string}
|
2618
2618
|
*/
|
2619
2619
|
static get defaultNumberingSystem() {
|
2620
|
-
return
|
2620
|
+
return Ts;
|
2621
2621
|
}
|
2622
2622
|
/**
|
2623
2623
|
* Set the default numbering system to create DateTimes with. Does not affect existing instances.
|
2624
2624
|
* @type {string}
|
2625
2625
|
*/
|
2626
2626
|
static set defaultNumberingSystem(e) {
|
2627
|
-
|
2627
|
+
Ts = e;
|
2628
2628
|
}
|
2629
2629
|
/**
|
2630
2630
|
* Get the default output calendar to create DateTimes with. Does not affect existing instances.
|
2631
2631
|
* @type {string}
|
2632
2632
|
*/
|
2633
2633
|
static get defaultOutputCalendar() {
|
2634
|
-
return
|
2634
|
+
return Es;
|
2635
2635
|
}
|
2636
2636
|
/**
|
2637
2637
|
* Set the default output calendar to create DateTimes with. Does not affect existing instances.
|
2638
2638
|
* @type {string}
|
2639
2639
|
*/
|
2640
2640
|
static set defaultOutputCalendar(e) {
|
2641
|
-
|
2641
|
+
Es = e;
|
2642
2642
|
}
|
2643
2643
|
/**
|
2644
2644
|
* @typedef {Object} WeekSettings
|
@@ -2650,7 +2650,7 @@ class B {
|
|
2650
2650
|
* @return {WeekSettings|null}
|
2651
2651
|
*/
|
2652
2652
|
static get defaultWeekSettings() {
|
2653
|
-
return
|
2653
|
+
return xs;
|
2654
2654
|
}
|
2655
2655
|
/**
|
2656
2656
|
* Allows overriding the default locale week settings, i.e. the start of the week, the weekend and
|
@@ -2660,14 +2660,14 @@ class B {
|
|
2660
2660
|
* @param {WeekSettings|null} weekSettings
|
2661
2661
|
*/
|
2662
2662
|
static set defaultWeekSettings(e) {
|
2663
|
-
|
2663
|
+
xs = Tn(e);
|
2664
2664
|
}
|
2665
2665
|
/**
|
2666
2666
|
* Get the cutoff year for whether a 2-digit year string is interpreted in the current or previous century. Numbers higher than the cutoff will be considered to mean 19xx and numbers lower or equal to the cutoff will be considered 20xx.
|
2667
2667
|
* @type {number}
|
2668
2668
|
*/
|
2669
2669
|
static get twoDigitCutoffYear() {
|
2670
|
-
return
|
2670
|
+
return Os;
|
2671
2671
|
}
|
2672
2672
|
/**
|
2673
2673
|
* Set the cutoff year for whether a 2-digit year string is interpreted in the current or previous century. Numbers higher than the cutoff will be considered to mean 19xx and numbers lower or equal to the cutoff will be considered 20xx.
|
@@ -2679,28 +2679,28 @@ class B {
|
|
2679
2679
|
* @example Settings.twoDigitCutoffYear = 2050 // ALSO interpreted as 50
|
2680
2680
|
*/
|
2681
2681
|
static set twoDigitCutoffYear(e) {
|
2682
|
-
|
2682
|
+
Os = e % 100;
|
2683
2683
|
}
|
2684
2684
|
/**
|
2685
2685
|
* Get whether Luxon will throw when it encounters invalid DateTimes, Durations, or Intervals
|
2686
2686
|
* @type {boolean}
|
2687
2687
|
*/
|
2688
2688
|
static get throwOnInvalid() {
|
2689
|
-
return
|
2689
|
+
return Cs;
|
2690
2690
|
}
|
2691
2691
|
/**
|
2692
2692
|
* Set whether Luxon will throw when it encounters invalid DateTimes, Durations, or Intervals
|
2693
2693
|
* @type {boolean}
|
2694
2694
|
*/
|
2695
2695
|
static set throwOnInvalid(e) {
|
2696
|
-
|
2696
|
+
Cs = e;
|
2697
2697
|
}
|
2698
2698
|
/**
|
2699
2699
|
* Reset Luxon's global caches. Should only be necessary in testing scenarios.
|
2700
2700
|
* @return {void}
|
2701
2701
|
*/
|
2702
2702
|
static resetCaches() {
|
2703
|
-
_.resetCache(),
|
2703
|
+
_.resetCache(), pe.resetCache(), b.resetCache(), pa();
|
2704
2704
|
}
|
2705
2705
|
}
|
2706
2706
|
class ae {
|
@@ -2711,50 +2711,50 @@ class ae {
|
|
2711
2711
|
return this.explanation ? `${this.reason}: ${this.explanation}` : this.reason;
|
2712
2712
|
}
|
2713
2713
|
}
|
2714
|
-
const
|
2714
|
+
const Kr = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334], Qr = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335];
|
2715
2715
|
function Q(t, e) {
|
2716
2716
|
return new ae(
|
2717
2717
|
"unit out of range",
|
2718
2718
|
`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`
|
2719
2719
|
);
|
2720
2720
|
}
|
2721
|
-
function
|
2721
|
+
function Pn(t, e, n) {
|
2722
2722
|
const s = new Date(Date.UTC(t, e - 1, n));
|
2723
2723
|
t < 100 && t >= 0 && s.setUTCFullYear(s.getUTCFullYear() - 1900);
|
2724
2724
|
const r = s.getUTCDay();
|
2725
2725
|
return r === 0 ? 7 : r;
|
2726
2726
|
}
|
2727
|
-
function
|
2728
|
-
return n + (at(t) ?
|
2727
|
+
function Xr(t, e, n) {
|
2728
|
+
return n + (at(t) ? Qr : Kr)[e - 1];
|
2729
2729
|
}
|
2730
|
-
function
|
2731
|
-
const n = at(t) ?
|
2730
|
+
function ei(t, e) {
|
2731
|
+
const n = at(t) ? Qr : Kr, s = n.findIndex((i) => i < e), r = e - n[s];
|
2732
2732
|
return { month: s + 1, day: r };
|
2733
2733
|
}
|
2734
|
-
function
|
2734
|
+
function Wn(t, e) {
|
2735
2735
|
return (t - e + 7) % 7 + 1;
|
2736
2736
|
}
|
2737
2737
|
function Dt(t, e = 4, n = 1) {
|
2738
|
-
const { year: s, month: r, day: i } = t, o =
|
2738
|
+
const { year: s, month: r, day: i } = t, o = Xr(s, r, i), a = Wn(Pn(s, r, i), n);
|
2739
2739
|
let l = Math.floor((o - a + 14 - e) / 7), c;
|
2740
2740
|
return l < 1 ? (c = s - 1, l = st(c, e, n)) : l > st(s, e, n) ? (c = s + 1, l = 1) : c = s, { weekYear: c, weekNumber: l, weekday: a, ...Zt(t) };
|
2741
2741
|
}
|
2742
|
-
function
|
2743
|
-
const { weekYear: s, weekNumber: r, weekday: i } = t, o =
|
2742
|
+
function Ns(t, e = 4, n = 1) {
|
2743
|
+
const { weekYear: s, weekNumber: r, weekday: i } = t, o = Wn(Pn(s, 1, e), n), a = Fe(s);
|
2744
2744
|
let l = r * 7 + i - o - 7 + e, c;
|
2745
2745
|
l < 1 ? (c = s - 1, l += Fe(c)) : l > a ? (c = s + 1, l -= Fe(s)) : c = s;
|
2746
|
-
const { month: u, day: f } =
|
2746
|
+
const { month: u, day: f } = ei(c, l);
|
2747
2747
|
return { year: c, month: u, day: f, ...Zt(t) };
|
2748
2748
|
}
|
2749
2749
|
function on(t) {
|
2750
|
-
const { year: e, month: n, day: s } = t, r =
|
2750
|
+
const { year: e, month: n, day: s } = t, r = Xr(e, n, s);
|
2751
2751
|
return { year: e, ordinal: r, ...Zt(t) };
|
2752
2752
|
}
|
2753
|
-
function
|
2754
|
-
const { year: e, ordinal: n } = t, { month: s, day: r } =
|
2753
|
+
function _s(t) {
|
2754
|
+
const { year: e, ordinal: n } = t, { month: s, day: r } = ei(e, n);
|
2755
2755
|
return { year: e, month: s, day: r, ...Zt(t) };
|
2756
2756
|
}
|
2757
|
-
function
|
2757
|
+
function As(t, e) {
|
2758
2758
|
if (!k(t.localWeekday) || !k(t.localWeekNumber) || !k(t.localWeekYear)) {
|
2759
2759
|
if (!k(t.weekday) || !k(t.weekNumber) || !k(t.weekYear))
|
2760
2760
|
throw new Le(
|
@@ -2779,11 +2779,11 @@ function ga(t) {
|
|
2779
2779
|
const e = qt(t.year), n = X(t.ordinal, 1, Fe(t.year));
|
2780
2780
|
return e ? n ? !1 : Q("ordinal", t.ordinal) : Q("year", t.year);
|
2781
2781
|
}
|
2782
|
-
function
|
2782
|
+
function ti(t) {
|
2783
2783
|
const e = qt(t.year), n = X(t.month, 1, 12), s = X(t.day, 1, Lt(t.year, t.month));
|
2784
2784
|
return e ? n ? s ? !1 : Q("day", t.day) : Q("month", t.month) : Q("year", t.year);
|
2785
2785
|
}
|
2786
|
-
function
|
2786
|
+
function ni(t) {
|
2787
2787
|
const { hour: e, minute: n, second: s, millisecond: r } = t, i = X(e, 0, 23) || e === 24 && n === 0 && s === 0 && r === 0, o = X(n, 0, 59), a = X(s, 0, 59), l = X(r, 0, 999);
|
2788
2788
|
return i ? o ? a ? l ? !1 : Q("millisecond", r) : Q("second", s) : Q("minute", n) : Q("hour", e);
|
2789
2789
|
}
|
@@ -2802,14 +2802,14 @@ function wa(t) {
|
|
2802
2802
|
function va(t) {
|
2803
2803
|
return Object.prototype.toString.call(t) === "[object Date]";
|
2804
2804
|
}
|
2805
|
-
function
|
2805
|
+
function si() {
|
2806
2806
|
try {
|
2807
2807
|
return typeof Intl < "u" && !!Intl.RelativeTimeFormat;
|
2808
2808
|
} catch {
|
2809
2809
|
return !1;
|
2810
2810
|
}
|
2811
2811
|
}
|
2812
|
-
function
|
2812
|
+
function ri() {
|
2813
2813
|
try {
|
2814
2814
|
return typeof Intl < "u" && !!Intl.Locale && ("weekInfo" in Intl.Locale.prototype || "getWeekInfo" in Intl.Locale.prototype);
|
2815
2815
|
} catch {
|
@@ -2819,7 +2819,7 @@ function si() {
|
|
2819
2819
|
function Sa(t) {
|
2820
2820
|
return Array.isArray(t) ? t : [t];
|
2821
2821
|
}
|
2822
|
-
function
|
2822
|
+
function Is(t, e, n) {
|
2823
2823
|
if (t.length !== 0)
|
2824
2824
|
return t.reduce((s, r) => {
|
2825
2825
|
const i = [e(r), r];
|
@@ -2856,7 +2856,7 @@ function U(t, e = 2) {
|
|
2856
2856
|
let s;
|
2857
2857
|
return n ? s = "-" + ("" + -t).padStart(e, "0") : s = ("" + t).padStart(e, "0"), s;
|
2858
2858
|
}
|
2859
|
-
function
|
2859
|
+
function ve(t) {
|
2860
2860
|
if (!(k(t) || t === null || t === ""))
|
2861
2861
|
return parseInt(t, 10);
|
2862
2862
|
}
|
@@ -2864,13 +2864,13 @@ function Ee(t) {
|
|
2864
2864
|
if (!(k(t) || t === null || t === ""))
|
2865
2865
|
return parseFloat(t);
|
2866
2866
|
}
|
2867
|
-
function
|
2867
|
+
function qn(t) {
|
2868
2868
|
if (!(k(t) || t === null || t === "")) {
|
2869
2869
|
const e = parseFloat("0." + t) * 1e3;
|
2870
2870
|
return Math.floor(e);
|
2871
2871
|
}
|
2872
2872
|
}
|
2873
|
-
function
|
2873
|
+
function zn(t, e, n = !1) {
|
2874
2874
|
const s = 10 ** e;
|
2875
2875
|
return (n ? Math.trunc : Math.round)(t * s) / s;
|
2876
2876
|
}
|
@@ -2896,17 +2896,17 @@ function zt(t) {
|
|
2896
2896
|
);
|
2897
2897
|
return t.year < 100 && t.year >= 0 && (e = new Date(e), e.setUTCFullYear(t.year, t.month - 1, t.day)), +e;
|
2898
2898
|
}
|
2899
|
-
function
|
2900
|
-
return
|
2899
|
+
function Ms(t, e, n) {
|
2900
|
+
return -Wn(Pn(t, 1, e), n) + e - 1;
|
2901
2901
|
}
|
2902
2902
|
function st(t, e = 4, n = 1) {
|
2903
|
-
const s =
|
2903
|
+
const s = Ms(t, e, n), r = Ms(t + 1, e, n);
|
2904
2904
|
return (Fe(t) - s + r) / 7;
|
2905
2905
|
}
|
2906
2906
|
function En(t) {
|
2907
2907
|
return t > 99 ? t : t > B.twoDigitCutoffYear ? 1900 + t : 2e3 + t;
|
2908
2908
|
}
|
2909
|
-
function
|
2909
|
+
function ii(t, e, n, s = null) {
|
2910
2910
|
const r = new Date(t), i = {
|
2911
2911
|
hourCycle: "h23",
|
2912
2912
|
year: "numeric",
|
@@ -2925,7 +2925,7 @@ function Ht(t, e) {
|
|
2925
2925
|
const s = parseInt(e, 10) || 0, r = n < 0 || Object.is(n, -0) ? -s : s;
|
2926
2926
|
return n * 60 + r;
|
2927
2927
|
}
|
2928
|
-
function
|
2928
|
+
function oi(t) {
|
2929
2929
|
const e = Number(t);
|
2930
2930
|
if (typeof t == "boolean" || t === "" || Number.isNaN(e))
|
2931
2931
|
throw new q(`Invalid unit value ${t}`);
|
@@ -2937,7 +2937,7 @@ function Ft(t, e) {
|
|
2937
2937
|
if (Ue(t, s)) {
|
2938
2938
|
const r = t[s];
|
2939
2939
|
if (r == null) continue;
|
2940
|
-
n[e(s)] =
|
2940
|
+
n[e(s)] = oi(r);
|
2941
2941
|
}
|
2942
2942
|
return n;
|
2943
2943
|
}
|
@@ -2970,7 +2970,7 @@ const Ta = [
|
|
2970
2970
|
"October",
|
2971
2971
|
"November",
|
2972
2972
|
"December"
|
2973
|
-
],
|
2973
|
+
], ai = [
|
2974
2974
|
"Jan",
|
2975
2975
|
"Feb",
|
2976
2976
|
"Mar",
|
@@ -2984,12 +2984,12 @@ const Ta = [
|
|
2984
2984
|
"Nov",
|
2985
2985
|
"Dec"
|
2986
2986
|
], Ea = ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"];
|
2987
|
-
function
|
2987
|
+
function li(t) {
|
2988
2988
|
switch (t) {
|
2989
2989
|
case "narrow":
|
2990
2990
|
return [...Ea];
|
2991
2991
|
case "short":
|
2992
|
-
return [...
|
2992
|
+
return [...ai];
|
2993
2993
|
case "long":
|
2994
2994
|
return [...Ta];
|
2995
2995
|
case "numeric":
|
@@ -3000,7 +3000,7 @@ function ai(t) {
|
|
3000
3000
|
return null;
|
3001
3001
|
}
|
3002
3002
|
}
|
3003
|
-
const
|
3003
|
+
const ci = [
|
3004
3004
|
"Monday",
|
3005
3005
|
"Tuesday",
|
3006
3006
|
"Wednesday",
|
@@ -3008,23 +3008,23 @@ const li = [
|
|
3008
3008
|
"Friday",
|
3009
3009
|
"Saturday",
|
3010
3010
|
"Sunday"
|
3011
|
-
],
|
3012
|
-
function
|
3011
|
+
], ui = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], Oa = ["M", "T", "W", "T", "F", "S", "S"];
|
3012
|
+
function hi(t) {
|
3013
3013
|
switch (t) {
|
3014
3014
|
case "narrow":
|
3015
3015
|
return [...Oa];
|
3016
3016
|
case "short":
|
3017
|
-
return [...
|
3017
|
+
return [...ui];
|
3018
3018
|
case "long":
|
3019
|
-
return [...
|
3019
|
+
return [...ci];
|
3020
3020
|
case "numeric":
|
3021
3021
|
return ["1", "2", "3", "4", "5", "6", "7"];
|
3022
3022
|
default:
|
3023
3023
|
return null;
|
3024
3024
|
}
|
3025
3025
|
}
|
3026
|
-
const
|
3027
|
-
function
|
3026
|
+
const fi = ["AM", "PM"], Ca = ["Before Christ", "Anno Domini"], xa = ["BC", "AD"], Na = ["B", "A"];
|
3027
|
+
function di(t) {
|
3028
3028
|
switch (t) {
|
3029
3029
|
case "narrow":
|
3030
3030
|
return [...Na];
|
@@ -3037,16 +3037,16 @@ function fi(t) {
|
|
3037
3037
|
}
|
3038
3038
|
}
|
3039
3039
|
function _a(t) {
|
3040
|
-
return
|
3040
|
+
return fi[t.hour < 12 ? 0 : 1];
|
3041
3041
|
}
|
3042
3042
|
function Aa(t, e) {
|
3043
|
-
return
|
3043
|
+
return hi(e)[t.weekday - 1];
|
3044
3044
|
}
|
3045
3045
|
function Ia(t, e) {
|
3046
|
-
return
|
3046
|
+
return li(e)[t.month - 1];
|
3047
3047
|
}
|
3048
3048
|
function Ma(t, e) {
|
3049
|
-
return
|
3049
|
+
return di(e)[t.year < 0 ? 0 : 1];
|
3050
3050
|
}
|
3051
3051
|
function Ra(t, e, n = "always", s = !1) {
|
3052
3052
|
const r = {
|
@@ -3073,7 +3073,7 @@ function Ra(t, e, n = "always", s = !1) {
|
|
3073
3073
|
const o = Object.is(e, -0) || e < 0, a = Math.abs(e), l = a === 1, c = r[t], u = s ? l ? c[1] : c[2] || c[1] : l ? r[t][0] : t;
|
3074
3074
|
return o ? `${a} ${u} ago` : `in ${a} ${u}`;
|
3075
3075
|
}
|
3076
|
-
function
|
3076
|
+
function Rs(t, e) {
|
3077
3077
|
let n = "";
|
3078
3078
|
for (const s of t)
|
3079
3079
|
s.literal ? n += s.val : n += e(s.val);
|
@@ -3081,25 +3081,25 @@ function Is(t, e) {
|
|
3081
3081
|
}
|
3082
3082
|
const Da = {
|
3083
3083
|
D: Rt,
|
3084
|
-
DD:
|
3085
|
-
DDD:
|
3086
|
-
DDDD:
|
3087
|
-
t:
|
3088
|
-
tt:
|
3089
|
-
ttt:
|
3090
|
-
tttt:
|
3091
|
-
T:
|
3092
|
-
TT:
|
3093
|
-
TTT:
|
3094
|
-
TTTT:
|
3095
|
-
f:
|
3096
|
-
ff:
|
3097
|
-
fff:
|
3098
|
-
ffff:
|
3099
|
-
F:
|
3100
|
-
FF:
|
3101
|
-
FFF:
|
3102
|
-
FFFF:
|
3084
|
+
DD: Mr,
|
3085
|
+
DDD: Rr,
|
3086
|
+
DDDD: Dr,
|
3087
|
+
t: Lr,
|
3088
|
+
tt: Fr,
|
3089
|
+
ttt: Br,
|
3090
|
+
tttt: Vr,
|
3091
|
+
T: Ur,
|
3092
|
+
TT: $r,
|
3093
|
+
TTT: Pr,
|
3094
|
+
TTTT: Wr,
|
3095
|
+
f: qr,
|
3096
|
+
ff: Hr,
|
3097
|
+
fff: jr,
|
3098
|
+
ffff: Jr,
|
3099
|
+
F: zr,
|
3100
|
+
FF: Zr,
|
3101
|
+
FFF: Yr,
|
3102
|
+
FFFF: Gr
|
3103
3103
|
};
|
3104
3104
|
class z {
|
3105
3105
|
static create(e, n = {}) {
|
@@ -3278,7 +3278,7 @@ class z {
|
|
3278
3278
|
return u(d);
|
3279
3279
|
}
|
3280
3280
|
};
|
3281
|
-
return
|
3281
|
+
return Rs(z.parseFormat(n), w);
|
3282
3282
|
}
|
3283
3283
|
formatDurationFromString(e, n) {
|
3284
3284
|
const s = (l) => {
|
@@ -3309,10 +3309,10 @@ class z {
|
|
3309
3309
|
(l, { literal: c, val: u }) => c ? l : l.concat(u),
|
3310
3310
|
[]
|
3311
3311
|
), a = e.shiftTo(...o.map(s).filter((l) => l));
|
3312
|
-
return
|
3312
|
+
return Rs(i, r(a));
|
3313
3313
|
}
|
3314
3314
|
}
|
3315
|
-
const
|
3315
|
+
const mi = /[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;
|
3316
3316
|
function We(...t) {
|
3317
3317
|
const e = t.reduce((n, s) => n + s.source, "");
|
3318
3318
|
return RegExp(`^${e}$`);
|
@@ -3336,21 +3336,21 @@ function ze(t, ...e) {
|
|
3336
3336
|
}
|
3337
3337
|
return [null, null];
|
3338
3338
|
}
|
3339
|
-
function
|
3339
|
+
function pi(...t) {
|
3340
3340
|
return (e, n) => {
|
3341
3341
|
const s = {};
|
3342
3342
|
let r;
|
3343
3343
|
for (r = 0; r < t.length; r++)
|
3344
|
-
s[t[r]] =
|
3344
|
+
s[t[r]] = ve(e[n + r]);
|
3345
3345
|
return [s, null, n + r];
|
3346
3346
|
};
|
3347
3347
|
}
|
3348
|
-
const
|
3349
|
-
`${
|
3350
|
-
), Wa = RegExp(`(?: ${
|
3348
|
+
const yi = /(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/, La = `(?:${yi.source}?(?:\\[(${mi.source})\\])?)?`, Hn = /(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/, gi = RegExp(`${Hn.source}${La}`), Zn = RegExp(`(?:T${gi.source})?`), Fa = /([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/, Ba = /(\d{4})-?W(\d\d)(?:-?(\d))?/, Va = /(\d{4})-?(\d{3})/, Ua = pi("weekYear", "weekNumber", "weekDay"), $a = pi("year", "ordinal"), Pa = /(\d{4})-(\d\d)-(\d\d)/, wi = RegExp(
|
3349
|
+
`${Hn.source} ?(?:${yi.source}|(${mi.source}))?`
|
3350
|
+
), Wa = RegExp(`(?: ${wi.source})?`);
|
3351
3351
|
function Be(t, e, n) {
|
3352
3352
|
const s = t[e];
|
3353
|
-
return k(s) ? n :
|
3353
|
+
return k(s) ? n : ve(s);
|
3354
3354
|
}
|
3355
3355
|
function qa(t, e) {
|
3356
3356
|
return [{
|
@@ -3364,7 +3364,7 @@ function He(t, e) {
|
|
3364
3364
|
hours: Be(t, e, 0),
|
3365
3365
|
minutes: Be(t, e + 1, 0),
|
3366
3366
|
seconds: Be(t, e + 2, 0),
|
3367
|
-
milliseconds:
|
3367
|
+
milliseconds: qn(t[e + 3])
|
3368
3368
|
}, null, e + 4];
|
3369
3369
|
}
|
3370
3370
|
function lt(t, e) {
|
@@ -3372,10 +3372,10 @@ function lt(t, e) {
|
|
3372
3372
|
return [{}, r, e + 3];
|
3373
3373
|
}
|
3374
3374
|
function ct(t, e) {
|
3375
|
-
const n = t[e] ?
|
3375
|
+
const n = t[e] ? pe.create(t[e]) : null;
|
3376
3376
|
return [{}, n, e + 1];
|
3377
3377
|
}
|
3378
|
-
const za = RegExp(`^T?${
|
3378
|
+
const za = RegExp(`^T?${Hn.source}$`), Ha = /^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;
|
3379
3379
|
function Za(t) {
|
3380
3380
|
const [e, n, s, r, i, o, a, l, c] = t, u = e[0] === "-", f = l && l[0] === "-", w = (d, m = !1) => d !== void 0 && (m || d && u) ? -d : d;
|
3381
3381
|
return [
|
@@ -3387,7 +3387,7 @@ function Za(t) {
|
|
3387
3387
|
hours: w(Ee(o)),
|
3388
3388
|
minutes: w(Ee(a)),
|
3389
3389
|
seconds: w(Ee(l), l === "-0"),
|
3390
|
-
milliseconds: w(
|
3390
|
+
milliseconds: w(qn(c), f)
|
3391
3391
|
}
|
3392
3392
|
];
|
3393
3393
|
}
|
@@ -3402,15 +3402,15 @@ const ja = {
|
|
3402
3402
|
PDT: -7 * 60,
|
3403
3403
|
PST: -8 * 60
|
3404
3404
|
};
|
3405
|
-
function
|
3405
|
+
function jn(t, e, n, s, r, i, o) {
|
3406
3406
|
const a = {
|
3407
|
-
year: e.length === 2 ? En(
|
3408
|
-
month:
|
3409
|
-
day:
|
3410
|
-
hour:
|
3411
|
-
minute:
|
3407
|
+
year: e.length === 2 ? En(ve(e)) : ve(e),
|
3408
|
+
month: ai.indexOf(n) + 1,
|
3409
|
+
day: ve(s),
|
3410
|
+
hour: ve(r),
|
3411
|
+
minute: ve(i)
|
3412
3412
|
};
|
3413
|
-
return o && (a.second =
|
3413
|
+
return o && (a.second = ve(o)), t && (a.weekday = t.length > 3 ? ci.indexOf(t) + 1 : ui.indexOf(t) + 1), a;
|
3414
3414
|
}
|
3415
3415
|
const Ya = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;
|
3416
3416
|
function Ja(t) {
|
@@ -3427,7 +3427,7 @@ function Ja(t) {
|
|
3427
3427
|
c,
|
3428
3428
|
u,
|
3429
3429
|
f
|
3430
|
-
] = t, w =
|
3430
|
+
] = t, w = jn(e, r, s, n, i, o, a);
|
3431
3431
|
let d;
|
3432
3432
|
return l ? d = ja[l] : c ? d = 0 : d = Ht(u, f), [w, new Z(d)];
|
3433
3433
|
}
|
@@ -3435,15 +3435,15 @@ function Ga(t) {
|
|
3435
3435
|
return t.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").trim();
|
3436
3436
|
}
|
3437
3437
|
const Ka = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/, Qa = /^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/, Xa = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;
|
3438
|
-
function
|
3438
|
+
function Ds(t) {
|
3439
3439
|
const [, e, n, s, r, i, o, a] = t;
|
3440
|
-
return [
|
3440
|
+
return [jn(e, r, s, n, i, o, a), Z.utcInstance];
|
3441
3441
|
}
|
3442
3442
|
function e0(t) {
|
3443
3443
|
const [, e, n, s, r, i, o, a] = t;
|
3444
|
-
return [
|
3444
|
+
return [jn(e, a, n, s, r, i, o), Z.utcInstance];
|
3445
3445
|
}
|
3446
|
-
const t0 = We(Fa,
|
3446
|
+
const t0 = We(Fa, Zn), n0 = We(Ba, Zn), s0 = We(Va, Zn), r0 = We(gi), vi = qe(
|
3447
3447
|
qa,
|
3448
3448
|
He,
|
3449
3449
|
lt,
|
@@ -3466,7 +3466,7 @@ const t0 = We(Fa, zn), n0 = We(Ba, zn), s0 = We(Va, zn), r0 = We(yi), wi = qe(
|
|
3466
3466
|
function l0(t) {
|
3467
3467
|
return ze(
|
3468
3468
|
t,
|
3469
|
-
[t0,
|
3469
|
+
[t0, vi],
|
3470
3470
|
[n0, i0],
|
3471
3471
|
[s0, o0],
|
3472
3472
|
[r0, a0]
|
@@ -3478,8 +3478,8 @@ function c0(t) {
|
|
3478
3478
|
function u0(t) {
|
3479
3479
|
return ze(
|
3480
3480
|
t,
|
3481
|
-
[Ka,
|
3482
|
-
[Qa,
|
3481
|
+
[Ka, Ds],
|
3482
|
+
[Qa, Ds],
|
3483
3483
|
[Xa, e0]
|
3484
3484
|
);
|
3485
3485
|
}
|
@@ -3490,7 +3490,7 @@ const f0 = qe(He);
|
|
3490
3490
|
function d0(t) {
|
3491
3491
|
return ze(t, [za, f0]);
|
3492
3492
|
}
|
3493
|
-
const m0 = We(Pa, Wa), p0 = We(
|
3493
|
+
const m0 = We(Pa, Wa), p0 = We(wi), y0 = qe(
|
3494
3494
|
He,
|
3495
3495
|
lt,
|
3496
3496
|
ct
|
@@ -3498,11 +3498,11 @@ const m0 = We(Pa, Wa), p0 = We(gi), y0 = qe(
|
|
3498
3498
|
function g0(t) {
|
3499
3499
|
return ze(
|
3500
3500
|
t,
|
3501
|
-
[m0,
|
3501
|
+
[m0, vi],
|
3502
3502
|
[p0, y0]
|
3503
3503
|
);
|
3504
3504
|
}
|
3505
|
-
const
|
3505
|
+
const Ls = "Invalid Duration", Si = {
|
3506
3506
|
weeks: {
|
3507
3507
|
days: 7,
|
3508
3508
|
hours: 7 * 24,
|
@@ -3547,7 +3547,7 @@ const Rs = "Invalid Duration", vi = {
|
|
3547
3547
|
seconds: 30 * 24 * 60 * 60,
|
3548
3548
|
milliseconds: 30 * 24 * 60 * 60 * 1e3
|
3549
3549
|
},
|
3550
|
-
...
|
3550
|
+
...Si
|
3551
3551
|
}, G = 146097 / 400, Ae = 146097 / 4800, v0 = {
|
3552
3552
|
years: {
|
3553
3553
|
quarters: 4,
|
@@ -3576,7 +3576,7 @@ const Rs = "Invalid Duration", vi = {
|
|
3576
3576
|
seconds: Ae * 24 * 60 * 60,
|
3577
3577
|
milliseconds: Ae * 24 * 60 * 60 * 1e3
|
3578
3578
|
},
|
3579
|
-
...
|
3579
|
+
...Si
|
3580
3580
|
}, xe = [
|
3581
3581
|
"years",
|
3582
3582
|
"quarters",
|
@@ -3588,7 +3588,7 @@ const Rs = "Invalid Duration", vi = {
|
|
3588
3588
|
"seconds",
|
3589
3589
|
"milliseconds"
|
3590
3590
|
], S0 = xe.slice(0).reverse();
|
3591
|
-
function
|
3591
|
+
function we(t, e, n = !1) {
|
3592
3592
|
const s = {
|
3593
3593
|
values: n ? e.values : { ...t.values, ...e.values || {} },
|
3594
3594
|
loc: t.loc.clone(e.loc),
|
@@ -3597,14 +3597,14 @@ function ve(t, e, n = !1) {
|
|
3597
3597
|
};
|
3598
3598
|
return new C(s);
|
3599
3599
|
}
|
3600
|
-
function
|
3600
|
+
function bi(t, e) {
|
3601
3601
|
let n = e.milliseconds ?? 0;
|
3602
3602
|
for (const s of S0.slice(1))
|
3603
3603
|
e[s] && (n += e[s] * t[s].milliseconds);
|
3604
3604
|
return n;
|
3605
3605
|
}
|
3606
|
-
function
|
3607
|
-
const n =
|
3606
|
+
function Fs(t, e) {
|
3607
|
+
const n = bi(t, e) < 0 ? -1 : 1;
|
3608
3608
|
xe.reduceRight((s, r) => {
|
3609
3609
|
if (k(e[r]))
|
3610
3610
|
return s;
|
@@ -3779,7 +3779,7 @@ class C {
|
|
3779
3779
|
millisecond: "milliseconds",
|
3780
3780
|
milliseconds: "milliseconds"
|
3781
3781
|
}[e && e.toLowerCase()];
|
3782
|
-
if (!n) throw new
|
3782
|
+
if (!n) throw new Ir(e);
|
3783
3783
|
return n;
|
3784
3784
|
}
|
3785
3785
|
/**
|
@@ -3832,7 +3832,7 @@ class C {
|
|
3832
3832
|
...n,
|
3833
3833
|
floor: n.round !== !1 && n.floor !== !1
|
3834
3834
|
};
|
3835
|
-
return this.isValid ? z.create(this.loc, s).formatDurationFromString(this, e) :
|
3835
|
+
return this.isValid ? z.create(this.loc, s).formatDurationFromString(this, e) : Ls;
|
3836
3836
|
}
|
3837
3837
|
/**
|
3838
3838
|
* Returns a string representation of a Duration with all units included.
|
@@ -3849,7 +3849,7 @@ class C {
|
|
3849
3849
|
* ```
|
3850
3850
|
*/
|
3851
3851
|
toHuman(e = {}) {
|
3852
|
-
if (!this.isValid) return
|
3852
|
+
if (!this.isValid) return Ls;
|
3853
3853
|
const n = xe.map((s) => {
|
3854
3854
|
const r = this.values[s];
|
3855
3855
|
return k(r) ? null : this.loc.numberFormatter({ style: "unit", unitDisplay: "long", ...e, unit: s.slice(0, -1) }).format(r);
|
@@ -3877,7 +3877,7 @@ class C {
|
|
3877
3877
|
toISO() {
|
3878
3878
|
if (!this.isValid) return null;
|
3879
3879
|
let e = "P";
|
3880
|
-
return this.years !== 0 && (e += this.years + "Y"), (this.months !== 0 || this.quarters !== 0) && (e += this.months + this.quarters * 3 + "M"), this.weeks !== 0 && (e += this.weeks + "W"), this.days !== 0 && (e += this.days + "D"), (this.hours !== 0 || this.minutes !== 0 || this.seconds !== 0 || this.milliseconds !== 0) && (e += "T"), this.hours !== 0 && (e += this.hours + "H"), this.minutes !== 0 && (e += this.minutes + "M"), (this.seconds !== 0 || this.milliseconds !== 0) && (e +=
|
3880
|
+
return this.years !== 0 && (e += this.years + "Y"), (this.months !== 0 || this.quarters !== 0) && (e += this.months + this.quarters * 3 + "M"), this.weeks !== 0 && (e += this.weeks + "W"), this.days !== 0 && (e += this.days + "D"), (this.hours !== 0 || this.minutes !== 0 || this.seconds !== 0 || this.milliseconds !== 0) && (e += "T"), this.hours !== 0 && (e += this.hours + "H"), this.minutes !== 0 && (e += this.minutes + "M"), (this.seconds !== 0 || this.milliseconds !== 0) && (e += zn(this.seconds + this.milliseconds / 1e3, 3) + "S"), e === "P" && (e += "T0S"), e;
|
3881
3881
|
}
|
3882
3882
|
/**
|
3883
3883
|
* Returns an ISO 8601-compliant string representation of this Duration, formatted as a time of day.
|
@@ -3933,7 +3933,7 @@ class C {
|
|
3933
3933
|
* @return {number}
|
3934
3934
|
*/
|
3935
3935
|
toMillis() {
|
3936
|
-
return this.isValid ?
|
3936
|
+
return this.isValid ? bi(this.matrix, this.values) : NaN;
|
3937
3937
|
}
|
3938
3938
|
/**
|
3939
3939
|
* Returns an milliseconds value of this Duration. Alias of {@link toMillis}
|
@@ -3952,7 +3952,7 @@ class C {
|
|
3952
3952
|
const n = C.fromDurationLike(e), s = {};
|
3953
3953
|
for (const r of xe)
|
3954
3954
|
(Ue(n.values, r) || Ue(this.values, r)) && (s[r] = n.get(r) + this.get(r));
|
3955
|
-
return
|
3955
|
+
return we(this, { values: s }, !0);
|
3956
3956
|
}
|
3957
3957
|
/**
|
3958
3958
|
* Make this Duration shorter by the specified amount. Return a newly-constructed Duration.
|
@@ -3975,8 +3975,8 @@ class C {
|
|
3975
3975
|
if (!this.isValid) return this;
|
3976
3976
|
const n = {};
|
3977
3977
|
for (const s of Object.keys(this.values))
|
3978
|
-
n[s] =
|
3979
|
-
return
|
3978
|
+
n[s] = oi(e(this.values[s], s));
|
3979
|
+
return we(this, { values: n }, !0);
|
3980
3980
|
}
|
3981
3981
|
/**
|
3982
3982
|
* Get the value of unit.
|
@@ -3999,7 +3999,7 @@ class C {
|
|
3999
3999
|
set(e) {
|
4000
4000
|
if (!this.isValid) return this;
|
4001
4001
|
const n = { ...this.values, ...Ft(e, C.normalizeUnit) };
|
4002
|
-
return
|
4002
|
+
return we(this, { values: n });
|
4003
4003
|
}
|
4004
4004
|
/**
|
4005
4005
|
* "Set" the locale and/or numberingSystem. Returns a newly-constructed Duration.
|
@@ -4008,7 +4008,7 @@ class C {
|
|
4008
4008
|
*/
|
4009
4009
|
reconfigure({ locale: e, numberingSystem: n, conversionAccuracy: s, matrix: r } = {}) {
|
4010
4010
|
const o = { loc: this.loc.clone({ locale: e, numberingSystem: n }), matrix: r, conversionAccuracy: s };
|
4011
|
-
return
|
4011
|
+
return we(this, o);
|
4012
4012
|
}
|
4013
4013
|
/**
|
4014
4014
|
* Return the length of the duration in the specified unit.
|
@@ -4039,7 +4039,7 @@ class C {
|
|
4039
4039
|
normalize() {
|
4040
4040
|
if (!this.isValid) return this;
|
4041
4041
|
const e = this.toObject();
|
4042
|
-
return
|
4042
|
+
return Fs(this.matrix, e), we(this, { values: e }, !0);
|
4043
4043
|
}
|
4044
4044
|
/**
|
4045
4045
|
* Rescale units to its largest representation
|
@@ -4049,7 +4049,7 @@ class C {
|
|
4049
4049
|
rescale() {
|
4050
4050
|
if (!this.isValid) return this;
|
4051
4051
|
const e = b0(this.normalize().shiftToAll().toObject());
|
4052
|
-
return
|
4052
|
+
return we(this, { values: e }, !0);
|
4053
4053
|
}
|
4054
4054
|
/**
|
4055
4055
|
* Convert this Duration into its representation in a different set of units.
|
@@ -4075,7 +4075,7 @@ class C {
|
|
4075
4075
|
} else ke(r[o]) && (s[o] = r[o]);
|
4076
4076
|
for (const o in s)
|
4077
4077
|
s[o] !== 0 && (n[i] += o === i ? s[o] : s[o] / this.matrix[i][o]);
|
4078
|
-
return
|
4078
|
+
return Fs(this.matrix, n), we(this, { values: n }, !0);
|
4079
4079
|
}
|
4080
4080
|
/**
|
4081
4081
|
* Shift this Duration to all available units.
|
@@ -4104,7 +4104,7 @@ class C {
|
|
4104
4104
|
const e = {};
|
4105
4105
|
for (const n of Object.keys(this.values))
|
4106
4106
|
e[n] = this.values[n] === 0 ? 0 : -this.values[n];
|
4107
|
-
return
|
4107
|
+
return we(this, { values: e }, !0);
|
4108
4108
|
}
|
4109
4109
|
/**
|
4110
4110
|
* Get the years.
|
@@ -4681,7 +4681,7 @@ class pt {
|
|
4681
4681
|
* @return {boolean}
|
4682
4682
|
*/
|
4683
4683
|
static isValidIANAZone(e) {
|
4684
|
-
return
|
4684
|
+
return pe.isValidZone(e);
|
4685
4685
|
}
|
4686
4686
|
/**
|
4687
4687
|
* Converts the input into a {@link Zone} instance.
|
@@ -4698,7 +4698,7 @@ class pt {
|
|
4698
4698
|
* @return {Zone}
|
4699
4699
|
*/
|
4700
4700
|
static normalizeZone(e) {
|
4701
|
-
return
|
4701
|
+
return Se(e, B.defaultZone);
|
4702
4702
|
}
|
4703
4703
|
/**
|
4704
4704
|
* Get the weekday on which the week starts according to the given locale.
|
@@ -4833,10 +4833,10 @@ class pt {
|
|
4833
4833
|
* @return {Object}
|
4834
4834
|
*/
|
4835
4835
|
static features() {
|
4836
|
-
return { relative:
|
4836
|
+
return { relative: si(), localeWeek: ri() };
|
4837
4837
|
}
|
4838
4838
|
}
|
4839
|
-
function
|
4839
|
+
function Bs(t, e) {
|
4840
4840
|
const n = (r) => r.toUTC(0, { keepLocalTime: !0 }).startOf("day").valueOf(), s = n(e) - n(t);
|
4841
4841
|
return Math.floor(C.fromMillis(s).as("days"));
|
4842
4842
|
}
|
@@ -4848,11 +4848,11 @@ function T0(t, e, n) {
|
|
4848
4848
|
[
|
4849
4849
|
"weeks",
|
4850
4850
|
(l, c) => {
|
4851
|
-
const u =
|
4851
|
+
const u = Bs(l, c);
|
4852
4852
|
return (u - u % 7) / 7;
|
4853
4853
|
}
|
4854
4854
|
],
|
4855
|
-
["days",
|
4855
|
+
["days", Bs]
|
4856
4856
|
], r = {}, i = t;
|
4857
4857
|
let o, a;
|
4858
4858
|
for (const [l, c] of s)
|
@@ -4872,20 +4872,20 @@ const O0 = "missing Intl.DateTimeFormat.formatToParts support";
|
|
4872
4872
|
function N(t, e = (n) => n) {
|
4873
4873
|
return { regex: t, deser: ([n]) => e(ma(n)) };
|
4874
4874
|
}
|
4875
|
-
const C0 = " ",
|
4875
|
+
const C0 = " ", ki = `[ ${C0}]`, Ti = new RegExp(ki, "g");
|
4876
4876
|
function x0(t) {
|
4877
|
-
return t.replace(/\./g, "\\.?").replace(
|
4877
|
+
return t.replace(/\./g, "\\.?").replace(Ti, ki);
|
4878
4878
|
}
|
4879
|
-
function
|
4880
|
-
return t.replace(/\./g, "").replace(
|
4879
|
+
function Vs(t) {
|
4880
|
+
return t.replace(/\./g, "").replace(Ti, " ").toLowerCase();
|
4881
4881
|
}
|
4882
4882
|
function ie(t, e) {
|
4883
4883
|
return t === null ? null : {
|
4884
4884
|
regex: RegExp(t.map(x0).join("|")),
|
4885
|
-
deser: ([n]) => t.findIndex((s) =>
|
4885
|
+
deser: ([n]) => t.findIndex((s) => Vs(n) === Vs(s)) + e
|
4886
4886
|
};
|
4887
4887
|
}
|
4888
|
-
function
|
4888
|
+
function Us(t, e) {
|
4889
4889
|
return { regex: t, deser: ([, n, s]) => Ht(n, s), groups: e };
|
4890
4890
|
}
|
4891
4891
|
function yt(t) {
|
@@ -4990,9 +4990,9 @@ function _0(t, e) {
|
|
4990
4990
|
return ie(e.weekdays("long", !0), 1);
|
4991
4991
|
case "Z":
|
4992
4992
|
case "ZZ":
|
4993
|
-
return
|
4993
|
+
return Us(new RegExp(`([+-]${a.source})(?::(${s.source}))?`), 2);
|
4994
4994
|
case "ZZZ":
|
4995
|
-
return
|
4995
|
+
return Us(new RegExp(`([+-]${a.source})(${s.source})?`), 2);
|
4996
4996
|
case "z":
|
4997
4997
|
return yt(/[a-z_+-/]{1,256}?/i);
|
4998
4998
|
case " ":
|
@@ -5118,7 +5118,7 @@ function D0(t) {
|
|
5118
5118
|
}
|
5119
5119
|
};
|
5120
5120
|
let n = null, s;
|
5121
|
-
return k(t.z) || (n =
|
5121
|
+
return k(t.z) || (n = pe.create(t.z)), k(t.Z) || (n || (n = new Z(t.Z)), s = t.Z), k(t.q) || (t.M = (t.q - 1) * 3 + 1), k(t.h) || (t.h < 12 && t.a === 1 ? t.h += 12 : t.h === 12 && t.a === 0 && (t.h = 0)), t.G === 0 && t.y && (t.y = -t.y), k(t.u) || (t.S = qn(t.u)), [Object.keys(t).reduce((i, o) => {
|
5122
5122
|
const a = e(o);
|
5123
5123
|
return a && (i[a] = t[o]), i;
|
5124
5124
|
}, {}), n, s];
|
@@ -5130,15 +5130,15 @@ function L0() {
|
|
5130
5130
|
function F0(t, e) {
|
5131
5131
|
if (t.literal)
|
5132
5132
|
return t;
|
5133
|
-
const n = z.macroTokenToFormatOpts(t.val), s =
|
5133
|
+
const n = z.macroTokenToFormatOpts(t.val), s = xi(n, e);
|
5134
5134
|
return s == null || s.includes(void 0) ? t : s;
|
5135
5135
|
}
|
5136
|
-
function
|
5136
|
+
function Ei(t, e) {
|
5137
5137
|
return Array.prototype.concat(...t.map((n) => F0(n, e)));
|
5138
5138
|
}
|
5139
|
-
class
|
5139
|
+
class Oi {
|
5140
5140
|
constructor(e, n) {
|
5141
|
-
if (this.locale = e, this.format = n, this.tokens =
|
5141
|
+
if (this.locale = e, this.format = n, this.tokens = Ei(z.parseFormat(n), e), this.units = this.tokens.map((s) => _0(s, e)), this.disqualifyingUnit = this.units.find((s) => s.invalidReason), !this.disqualifyingUnit) {
|
5142
5142
|
const [s, r] = M0(this.units);
|
5143
5143
|
this.regex = RegExp(s, "i"), this.handlers = r;
|
5144
5144
|
}
|
@@ -5170,20 +5170,20 @@ class Ei {
|
|
5170
5170
|
return this.disqualifyingUnit ? this.disqualifyingUnit.invalidReason : null;
|
5171
5171
|
}
|
5172
5172
|
}
|
5173
|
-
function
|
5174
|
-
return new
|
5173
|
+
function Ci(t, e, n) {
|
5174
|
+
return new Oi(t, n).explainFromTokens(e);
|
5175
5175
|
}
|
5176
5176
|
function B0(t, e, n) {
|
5177
|
-
const { result: s, zone: r, specificOffset: i, invalidReason: o } =
|
5177
|
+
const { result: s, zone: r, specificOffset: i, invalidReason: o } = Ci(t, e, n);
|
5178
5178
|
return [s, r, i, o];
|
5179
5179
|
}
|
5180
|
-
function
|
5180
|
+
function xi(t, e) {
|
5181
5181
|
if (!t)
|
5182
5182
|
return null;
|
5183
5183
|
const s = z.create(e, t).dtFormatter(L0()), r = s.formatToParts(), i = s.resolvedOptions();
|
5184
5184
|
return r.map((o) => I0(o, t, i));
|
5185
5185
|
}
|
5186
|
-
const ln = "Invalid DateTime",
|
5186
|
+
const ln = "Invalid DateTime", $s = 864e13;
|
5187
5187
|
function Ke(t) {
|
5188
5188
|
return new ae("unsupported zone", `the zone "${t.name}" is not supported`);
|
5189
5189
|
}
|
@@ -5208,7 +5208,7 @@ function Oe(t, e) {
|
|
5208
5208
|
};
|
5209
5209
|
return new b({ ...n, ...e, old: n });
|
5210
5210
|
}
|
5211
|
-
function
|
5211
|
+
function Ni(t, e, n) {
|
5212
5212
|
let s = t - e * 60 * 1e3;
|
5213
5213
|
const r = n.offset(s);
|
5214
5214
|
if (e === r)
|
@@ -5231,9 +5231,9 @@ function gt(t, e) {
|
|
5231
5231
|
};
|
5232
5232
|
}
|
5233
5233
|
function xt(t, e, n) {
|
5234
|
-
return
|
5234
|
+
return Ni(zt(t), e, n);
|
5235
5235
|
}
|
5236
|
-
function
|
5236
|
+
function Ps(t, e) {
|
5237
5237
|
const n = t.o, s = t.c.year + Math.trunc(e.years), r = t.c.month + Math.trunc(e.months) + Math.trunc(e.quarters) * 3, i = {
|
5238
5238
|
...t.c,
|
5239
5239
|
year: s,
|
@@ -5250,7 +5250,7 @@ function Us(t, e) {
|
|
5250
5250
|
seconds: e.seconds,
|
5251
5251
|
milliseconds: e.milliseconds
|
5252
5252
|
}).as("milliseconds"), a = zt(i);
|
5253
|
-
let [l, c] =
|
5253
|
+
let [l, c] = Ni(a, n, t.zone);
|
5254
5254
|
return o !== 0 && (l += o, c = t.zone.offset(l)), { ts: l, o: c };
|
5255
5255
|
}
|
5256
5256
|
function Me(t, e, n, s, r, i) {
|
@@ -5278,11 +5278,11 @@ function hn(t, e) {
|
|
5278
5278
|
let s = "";
|
5279
5279
|
return n && t.c.year >= 0 && (s += "+"), s += U(t.c.year, n ? 6 : 4), e ? (s += "-", s += U(t.c.month), s += "-", s += U(t.c.day)) : (s += U(t.c.month), s += U(t.c.day)), s;
|
5280
5280
|
}
|
5281
|
-
function
|
5281
|
+
function Ws(t, e, n, s, r, i) {
|
5282
5282
|
let o = U(t.c.hour);
|
5283
5283
|
return e ? (o += ":", o += U(t.c.minute), (t.c.millisecond !== 0 || t.c.second !== 0 || !n) && (o += ":")) : o += U(t.c.minute), (t.c.millisecond !== 0 || t.c.second !== 0 || !n) && (o += U(t.c.second), (t.c.millisecond !== 0 || !s) && (o += ".", o += U(t.c.millisecond, 3))), r && (t.isOffsetFixed && t.offset === 0 && !i ? o += "Z" : t.o < 0 ? (o += "-", o += U(Math.trunc(-t.o / 60)), o += ":", o += U(Math.trunc(-t.o % 60))) : (o += "+", o += U(Math.trunc(t.o / 60)), o += ":", o += U(Math.trunc(t.o % 60)))), i && (o += "[" + t.zone.ianaName + "]"), o;
|
5284
5284
|
}
|
5285
|
-
const
|
5285
|
+
const _i = {
|
5286
5286
|
month: 1,
|
5287
5287
|
day: 1,
|
5288
5288
|
hour: 0,
|
@@ -5302,7 +5302,7 @@ const Ni = {
|
|
5302
5302
|
minute: 0,
|
5303
5303
|
second: 0,
|
5304
5304
|
millisecond: 0
|
5305
|
-
},
|
5305
|
+
}, Ai = ["year", "month", "day", "hour", "minute", "second", "millisecond"], $0 = [
|
5306
5306
|
"weekYear",
|
5307
5307
|
"weekNumber",
|
5308
5308
|
"weekday",
|
@@ -5338,10 +5338,10 @@ function W0(t) {
|
|
5338
5338
|
weekyears: "weekYear",
|
5339
5339
|
ordinal: "ordinal"
|
5340
5340
|
}[t.toLowerCase()];
|
5341
|
-
if (!e) throw new
|
5341
|
+
if (!e) throw new Ir(t);
|
5342
5342
|
return e;
|
5343
5343
|
}
|
5344
|
-
function
|
5344
|
+
function qs(t) {
|
5345
5345
|
switch (t.toLowerCase()) {
|
5346
5346
|
case "localweekday":
|
5347
5347
|
case "localweekdays":
|
@@ -5359,8 +5359,8 @@ function Ps(t) {
|
|
5359
5359
|
function q0(t) {
|
5360
5360
|
return _t[t] || (Nt === void 0 && (Nt = B.now()), _t[t] = t.offset(Nt)), _t[t];
|
5361
5361
|
}
|
5362
|
-
function
|
5363
|
-
const n =
|
5362
|
+
function zs(t, e) {
|
5363
|
+
const n = Se(e.zone, B.defaultZone);
|
5364
5364
|
if (!n.isValid)
|
5365
5365
|
return b.invalid(Ke(n));
|
5366
5366
|
const s = _.fromObject(e);
|
@@ -5368,9 +5368,9 @@ function Ws(t, e) {
|
|
5368
5368
|
if (k(t.year))
|
5369
5369
|
r = B.now();
|
5370
5370
|
else {
|
5371
|
-
for (const l of
|
5372
|
-
k(t[l]) && (t[l] =
|
5373
|
-
const o =
|
5371
|
+
for (const l of Ai)
|
5372
|
+
k(t[l]) && (t[l] = _i[l]);
|
5373
|
+
const o = ti(t) || ni(t);
|
5374
5374
|
if (o)
|
5375
5375
|
return b.invalid(o);
|
5376
5376
|
const a = q0(n);
|
@@ -5378,8 +5378,8 @@ function Ws(t, e) {
|
|
5378
5378
|
}
|
5379
5379
|
return new b({ ts: r, zone: n, loc: s, o: i });
|
5380
5380
|
}
|
5381
|
-
function
|
5382
|
-
const s = k(n.round) ? !0 : n.round, r = (o, a) => (o =
|
5381
|
+
function Hs(t, e, n) {
|
5382
|
+
const s = k(n.round) ? !0 : n.round, r = (o, a) => (o = zn(o, s || n.calendary ? 0 : 2, !0), e.loc.clone(n).relFormatter(n).format(o, a)), i = (o) => n.calendary ? e.hasSame(t, o) ? 0 : e.startOf(o).diff(t.startOf(o), o).get(o) : e.diff(t, o).get(o);
|
5383
5383
|
if (n.unit)
|
5384
5384
|
return r(i(n.unit), n.unit);
|
5385
5385
|
for (const o of n.units) {
|
@@ -5389,7 +5389,7 @@ function qs(t, e, n) {
|
|
5389
5389
|
}
|
5390
5390
|
return r(t > e ? -0 : 0, n.units[n.units.length - 1]);
|
5391
5391
|
}
|
5392
|
-
function
|
5392
|
+
function Zs(t) {
|
5393
5393
|
let e = {}, n;
|
5394
5394
|
return t.length > 0 && typeof t[t.length - 1] == "object" ? (e = t[t.length - 1], n = Array.from(t).slice(0, t.length - 1)) : n = Array.from(t), [e, n];
|
5395
5395
|
}
|
@@ -5445,8 +5445,8 @@ class b {
|
|
5445
5445
|
* @return {DateTime}
|
5446
5446
|
*/
|
5447
5447
|
static local() {
|
5448
|
-
const [e, n] =
|
5449
|
-
return
|
5448
|
+
const [e, n] = Zs(arguments), [s, r, i, o, a, l, c] = n;
|
5449
|
+
return zs({ year: s, month: r, day: i, hour: o, minute: a, second: l, millisecond: c }, e);
|
5450
5450
|
}
|
5451
5451
|
/**
|
5452
5452
|
* Create a DateTime in UTC
|
@@ -5474,8 +5474,8 @@ class b {
|
|
5474
5474
|
* @return {DateTime}
|
5475
5475
|
*/
|
5476
5476
|
static utc() {
|
5477
|
-
const [e, n] =
|
5478
|
-
return e.zone = Z.utcInstance,
|
5477
|
+
const [e, n] = Zs(arguments), [s, r, i, o, a, l, c] = n;
|
5478
|
+
return e.zone = Z.utcInstance, zs({ year: s, month: r, day: i, hour: o, minute: a, second: l, millisecond: c }, e);
|
5479
5479
|
}
|
5480
5480
|
/**
|
5481
5481
|
* Create a DateTime from a JavaScript Date object. Uses the default zone.
|
@@ -5488,7 +5488,7 @@ class b {
|
|
5488
5488
|
const s = va(e) ? e.valueOf() : NaN;
|
5489
5489
|
if (Number.isNaN(s))
|
5490
5490
|
return b.invalid("invalid input");
|
5491
|
-
const r =
|
5491
|
+
const r = Se(n.zone, B.defaultZone);
|
5492
5492
|
return r.isValid ? new b({
|
5493
5493
|
ts: s,
|
5494
5494
|
zone: r,
|
@@ -5508,9 +5508,9 @@ class b {
|
|
5508
5508
|
*/
|
5509
5509
|
static fromMillis(e, n = {}) {
|
5510
5510
|
if (ke(e))
|
5511
|
-
return e <
|
5511
|
+
return e < -$s || e > $s ? b.invalid("Timestamp out of range") : new b({
|
5512
5512
|
ts: e,
|
5513
|
-
zone:
|
5513
|
+
zone: Se(n.zone, B.defaultZone),
|
5514
5514
|
loc: _.fromObject(n)
|
5515
5515
|
});
|
5516
5516
|
throw new q(
|
@@ -5532,7 +5532,7 @@ class b {
|
|
5532
5532
|
if (ke(e))
|
5533
5533
|
return new b({
|
5534
5534
|
ts: e * 1e3,
|
5535
|
-
zone:
|
5535
|
+
zone: Se(n.zone, B.defaultZone),
|
5536
5536
|
loc: _.fromObject(n)
|
5537
5537
|
});
|
5538
5538
|
throw new q("fromSeconds requires a numerical input");
|
@@ -5572,10 +5572,10 @@ class b {
|
|
5572
5572
|
*/
|
5573
5573
|
static fromObject(e, n = {}) {
|
5574
5574
|
e = e || {};
|
5575
|
-
const s =
|
5575
|
+
const s = Se(n.zone, B.defaultZone);
|
5576
5576
|
if (!s.isValid)
|
5577
5577
|
return b.invalid(Ke(s));
|
5578
|
-
const r = _.fromObject(n), i = Ft(e,
|
5578
|
+
const r = _.fromObject(n), i = Ft(e, qs), { minDaysInFirstWeek: o, startOfWeek: a } = As(i, r), l = B.now(), c = k(n.specificOffset) ? s.offset(l) : n.specificOffset, u = !k(i.ordinal), f = !k(i.year), w = !k(i.month) || !k(i.day), d = f || w, m = i.weekYear || i.weekNumber;
|
5579
5579
|
if ((d || u) && m)
|
5580
5580
|
throw new Le(
|
5581
5581
|
"Can't mix weekYear/weekNumber units with year/month/day or ordinals"
|
@@ -5583,17 +5583,17 @@ class b {
|
|
5583
5583
|
if (w && u)
|
5584
5584
|
throw new Le("Can't mix ordinal dates with month/day");
|
5585
5585
|
const S = m || i.weekday && !d;
|
5586
|
-
let T, I,
|
5587
|
-
S ? (T = $0, I = V0,
|
5586
|
+
let T, I, R = gt(l, c);
|
5587
|
+
S ? (T = $0, I = V0, R = Dt(R, o, a)) : u ? (T = P0, I = U0, R = on(R)) : (T = Ai, I = _i);
|
5588
5588
|
let ne = !1;
|
5589
5589
|
for (const y of T) {
|
5590
5590
|
const g = i[y];
|
5591
|
-
k(g) ? ne ? i[y] = I[y] : i[y] =
|
5591
|
+
k(g) ? ne ? i[y] = I[y] : i[y] = R[y] : ne = !0;
|
5592
5592
|
}
|
5593
|
-
const j = S ? ya(i, o, a) : u ? ga(i) :
|
5593
|
+
const j = S ? ya(i, o, a) : u ? ga(i) : ti(i), se = j || ni(i);
|
5594
5594
|
if (se)
|
5595
5595
|
return b.invalid(se);
|
5596
|
-
const Yt = S ?
|
5596
|
+
const Yt = S ? Ns(i, o, a) : u ? _s(i) : i, [ut, Jt] = xt(Yt, c, s), Te = new b({
|
5597
5597
|
ts: ut,
|
5598
5598
|
zone: s,
|
5599
5599
|
o: Jt,
|
@@ -5748,7 +5748,7 @@ class b {
|
|
5748
5748
|
* @returns {string}
|
5749
5749
|
*/
|
5750
5750
|
static parseFormatForOpts(e, n = {}) {
|
5751
|
-
const s =
|
5751
|
+
const s = xi(e, _.fromObject(n));
|
5752
5752
|
return s ? s.map((r) => r ? r.val : null).join("") : null;
|
5753
5753
|
}
|
5754
5754
|
/**
|
@@ -5759,7 +5759,7 @@ class b {
|
|
5759
5759
|
* @returns {string}
|
5760
5760
|
*/
|
5761
5761
|
static expandFormat(e, n = {}) {
|
5762
|
-
return
|
5762
|
+
return Ei(z.parseFormat(e), _.fromObject(n)).map((r) => r.val).join("");
|
5763
5763
|
}
|
5764
5764
|
static resetCache() {
|
5765
5765
|
Nt = void 0, _t = {};
|
@@ -6160,7 +6160,7 @@ class b {
|
|
6160
6160
|
* @return {DateTime}
|
6161
6161
|
*/
|
6162
6162
|
setZone(e, { keepLocalTime: n = !1, keepCalendarTime: s = !1 } = {}) {
|
6163
|
-
if (e =
|
6163
|
+
if (e = Se(e, B.defaultZone), e.equals(this.zone))
|
6164
6164
|
return this;
|
6165
6165
|
if (e.isValid) {
|
6166
6166
|
let r = this.ts;
|
@@ -6206,7 +6206,7 @@ class b {
|
|
6206
6206
|
*/
|
6207
6207
|
set(e) {
|
6208
6208
|
if (!this.isValid) return this;
|
6209
|
-
const n = Ft(e,
|
6209
|
+
const n = Ft(e, qs), { minDaysInFirstWeek: s, startOfWeek: r } = As(n, this.loc), i = !k(n.weekYear) || !k(n.weekNumber) || !k(n.weekday), o = !k(n.ordinal), a = !k(n.year), l = !k(n.month) || !k(n.day), c = a || l, u = n.weekYear || n.weekNumber;
|
6210
6210
|
if ((c || o) && u)
|
6211
6211
|
throw new Le(
|
6212
6212
|
"Can't mix weekYear/weekNumber units with year/month/day or ordinals"
|
@@ -6214,11 +6214,11 @@ class b {
|
|
6214
6214
|
if (l && o)
|
6215
6215
|
throw new Le("Can't mix ordinal dates with month/day");
|
6216
6216
|
let f;
|
6217
|
-
i ? f =
|
6217
|
+
i ? f = Ns(
|
6218
6218
|
{ ...Dt(this.c, s, r), ...n },
|
6219
6219
|
s,
|
6220
6220
|
r
|
6221
|
-
) : k(n.ordinal) ? (f = { ...this.toObject(), ...n }, k(n.day) && (f.day = Math.min(Lt(f.year, f.month), f.day))) : f =
|
6221
|
+
) : k(n.ordinal) ? (f = { ...this.toObject(), ...n }, k(n.day) && (f.day = Math.min(Lt(f.year, f.month), f.day))) : f = _s({ ...on(this.c), ...n });
|
6222
6222
|
const [w, d] = xt(f, this.o, this.zone);
|
6223
6223
|
return Oe(this, { ts: w, o: d });
|
6224
6224
|
}
|
@@ -6238,7 +6238,7 @@ class b {
|
|
6238
6238
|
plus(e) {
|
6239
6239
|
if (!this.isValid) return this;
|
6240
6240
|
const n = C.fromDurationLike(e);
|
6241
|
-
return Oe(this,
|
6241
|
+
return Oe(this, Ps(this, n));
|
6242
6242
|
}
|
6243
6243
|
/**
|
6244
6244
|
* Subtract a period of time to this DateTime and return the resulting DateTime
|
@@ -6249,7 +6249,7 @@ class b {
|
|
6249
6249
|
minus(e) {
|
6250
6250
|
if (!this.isValid) return this;
|
6251
6251
|
const n = C.fromDurationLike(e).negate();
|
6252
|
-
return Oe(this,
|
6252
|
+
return Oe(this, Ps(this, n));
|
6253
6253
|
}
|
6254
6254
|
/**
|
6255
6255
|
* "Set" this DateTime to the beginning of a unit of time.
|
@@ -6389,7 +6389,7 @@ class b {
|
|
6389
6389
|
return null;
|
6390
6390
|
const o = e === "extended";
|
6391
6391
|
let a = hn(this, o);
|
6392
|
-
return a += "T", a +=
|
6392
|
+
return a += "T", a += Ws(this, o, n, s, r, i), a;
|
6393
6393
|
}
|
6394
6394
|
/**
|
6395
6395
|
* Returns an ISO 8601-compliant string representation of this DateTime's date component
|
@@ -6433,7 +6433,7 @@ class b {
|
|
6433
6433
|
extendedZone: i = !1,
|
6434
6434
|
format: o = "extended"
|
6435
6435
|
} = {}) {
|
6436
|
-
return this.isValid ? (r ? "T" : "") +
|
6436
|
+
return this.isValid ? (r ? "T" : "") + Ws(
|
6437
6437
|
this,
|
6438
6438
|
o === "extended",
|
6439
6439
|
n,
|
@@ -6665,7 +6665,7 @@ class b {
|
|
6665
6665
|
if (!this.isValid) return null;
|
6666
6666
|
const n = e.base || b.fromObject({}, { zone: this.zone }), s = e.padding ? this < n ? -e.padding : e.padding : 0;
|
6667
6667
|
let r = ["years", "months", "days", "hours", "minutes", "seconds"], i = e.unit;
|
6668
|
-
return Array.isArray(e.unit) && (r = e.unit, i = void 0),
|
6668
|
+
return Array.isArray(e.unit) && (r = e.unit, i = void 0), Hs(n, this.plus(s), {
|
6669
6669
|
...e,
|
6670
6670
|
numeric: "always",
|
6671
6671
|
units: r,
|
@@ -6686,7 +6686,7 @@ class b {
|
|
6686
6686
|
* @example DateTime.now().minus({ days: 2 }).toRelativeCalendar() //=> "2 days ago"
|
6687
6687
|
*/
|
6688
6688
|
toRelativeCalendar(e = {}) {
|
6689
|
-
return this.isValid ?
|
6689
|
+
return this.isValid ? Hs(e.base || b.fromObject({}, { zone: this.zone }), this, {
|
6690
6690
|
...e,
|
6691
6691
|
numeric: "auto",
|
6692
6692
|
units: ["years", "months", "days"],
|
@@ -6701,7 +6701,7 @@ class b {
|
|
6701
6701
|
static min(...e) {
|
6702
6702
|
if (!e.every(b.isDateTime))
|
6703
6703
|
throw new q("min requires all arguments be DateTimes");
|
6704
|
-
return
|
6704
|
+
return Is(e, (n) => n.valueOf(), Math.min);
|
6705
6705
|
}
|
6706
6706
|
/**
|
6707
6707
|
* Return the max of several date times
|
@@ -6711,7 +6711,7 @@ class b {
|
|
6711
6711
|
static max(...e) {
|
6712
6712
|
if (!e.every(b.isDateTime))
|
6713
6713
|
throw new q("max requires all arguments be DateTimes");
|
6714
|
-
return
|
6714
|
+
return Is(e, (n) => n.valueOf(), Math.max);
|
6715
6715
|
}
|
6716
6716
|
// MISC
|
6717
6717
|
/**
|
@@ -6727,7 +6727,7 @@ class b {
|
|
6727
6727
|
numberingSystem: i,
|
6728
6728
|
defaultToEN: !0
|
6729
6729
|
});
|
6730
|
-
return
|
6730
|
+
return Ci(o, e, n);
|
6731
6731
|
}
|
6732
6732
|
/**
|
6733
6733
|
* @deprecated use fromFormatExplain instead
|
@@ -6753,7 +6753,7 @@ class b {
|
|
6753
6753
|
numberingSystem: r,
|
6754
6754
|
defaultToEN: !0
|
6755
6755
|
});
|
6756
|
-
return new
|
6756
|
+
return new Oi(i, e);
|
6757
6757
|
}
|
6758
6758
|
/**
|
6759
6759
|
* Create a DateTime from an input string and format parser.
|
@@ -6802,7 +6802,7 @@ class b {
|
|
6802
6802
|
* @type {Object}
|
6803
6803
|
*/
|
6804
6804
|
static get DATE_MED() {
|
6805
|
-
return
|
6805
|
+
return Mr;
|
6806
6806
|
}
|
6807
6807
|
/**
|
6808
6808
|
* {@link DateTime#toLocaleString} format like 'Fri, Oct 14, 1983'
|
@@ -6816,98 +6816,98 @@ class b {
|
|
6816
6816
|
* @type {Object}
|
6817
6817
|
*/
|
6818
6818
|
static get DATE_FULL() {
|
6819
|
-
return
|
6819
|
+
return Rr;
|
6820
6820
|
}
|
6821
6821
|
/**
|
6822
6822
|
* {@link DateTime#toLocaleString} format like 'Tuesday, October 14, 1983'
|
6823
6823
|
* @type {Object}
|
6824
6824
|
*/
|
6825
6825
|
static get DATE_HUGE() {
|
6826
|
-
return
|
6826
|
+
return Dr;
|
6827
6827
|
}
|
6828
6828
|
/**
|
6829
6829
|
* {@link DateTime#toLocaleString} format like '09:30 AM'. Only 12-hour if the locale is.
|
6830
6830
|
* @type {Object}
|
6831
6831
|
*/
|
6832
6832
|
static get TIME_SIMPLE() {
|
6833
|
-
return
|
6833
|
+
return Lr;
|
6834
6834
|
}
|
6835
6835
|
/**
|
6836
6836
|
* {@link DateTime#toLocaleString} format like '09:30:23 AM'. Only 12-hour if the locale is.
|
6837
6837
|
* @type {Object}
|
6838
6838
|
*/
|
6839
6839
|
static get TIME_WITH_SECONDS() {
|
6840
|
-
return
|
6840
|
+
return Fr;
|
6841
6841
|
}
|
6842
6842
|
/**
|
6843
6843
|
* {@link DateTime#toLocaleString} format like '09:30:23 AM EDT'. Only 12-hour if the locale is.
|
6844
6844
|
* @type {Object}
|
6845
6845
|
*/
|
6846
6846
|
static get TIME_WITH_SHORT_OFFSET() {
|
6847
|
-
return
|
6847
|
+
return Br;
|
6848
6848
|
}
|
6849
6849
|
/**
|
6850
6850
|
* {@link DateTime#toLocaleString} format like '09:30:23 AM Eastern Daylight Time'. Only 12-hour if the locale is.
|
6851
6851
|
* @type {Object}
|
6852
6852
|
*/
|
6853
6853
|
static get TIME_WITH_LONG_OFFSET() {
|
6854
|
-
return
|
6854
|
+
return Vr;
|
6855
6855
|
}
|
6856
6856
|
/**
|
6857
6857
|
* {@link DateTime#toLocaleString} format like '09:30', always 24-hour.
|
6858
6858
|
* @type {Object}
|
6859
6859
|
*/
|
6860
6860
|
static get TIME_24_SIMPLE() {
|
6861
|
-
return
|
6861
|
+
return Ur;
|
6862
6862
|
}
|
6863
6863
|
/**
|
6864
6864
|
* {@link DateTime#toLocaleString} format like '09:30:23', always 24-hour.
|
6865
6865
|
* @type {Object}
|
6866
6866
|
*/
|
6867
6867
|
static get TIME_24_WITH_SECONDS() {
|
6868
|
-
return
|
6868
|
+
return $r;
|
6869
6869
|
}
|
6870
6870
|
/**
|
6871
6871
|
* {@link DateTime#toLocaleString} format like '09:30:23 EDT', always 24-hour.
|
6872
6872
|
* @type {Object}
|
6873
6873
|
*/
|
6874
6874
|
static get TIME_24_WITH_SHORT_OFFSET() {
|
6875
|
-
return
|
6875
|
+
return Pr;
|
6876
6876
|
}
|
6877
6877
|
/**
|
6878
6878
|
* {@link DateTime#toLocaleString} format like '09:30:23 Eastern Daylight Time', always 24-hour.
|
6879
6879
|
* @type {Object}
|
6880
6880
|
*/
|
6881
6881
|
static get TIME_24_WITH_LONG_OFFSET() {
|
6882
|
-
return
|
6882
|
+
return Wr;
|
6883
6883
|
}
|
6884
6884
|
/**
|
6885
6885
|
* {@link DateTime#toLocaleString} format like '10/14/1983, 9:30 AM'. Only 12-hour if the locale is.
|
6886
6886
|
* @type {Object}
|
6887
6887
|
*/
|
6888
6888
|
static get DATETIME_SHORT() {
|
6889
|
-
return
|
6889
|
+
return qr;
|
6890
6890
|
}
|
6891
6891
|
/**
|
6892
6892
|
* {@link DateTime#toLocaleString} format like '10/14/1983, 9:30:33 AM'. Only 12-hour if the locale is.
|
6893
6893
|
* @type {Object}
|
6894
6894
|
*/
|
6895
6895
|
static get DATETIME_SHORT_WITH_SECONDS() {
|
6896
|
-
return
|
6896
|
+
return zr;
|
6897
6897
|
}
|
6898
6898
|
/**
|
6899
6899
|
* {@link DateTime#toLocaleString} format like 'Oct 14, 1983, 9:30 AM'. Only 12-hour if the locale is.
|
6900
6900
|
* @type {Object}
|
6901
6901
|
*/
|
6902
6902
|
static get DATETIME_MED() {
|
6903
|
-
return
|
6903
|
+
return Hr;
|
6904
6904
|
}
|
6905
6905
|
/**
|
6906
6906
|
* {@link DateTime#toLocaleString} format like 'Oct 14, 1983, 9:30:33 AM'. Only 12-hour if the locale is.
|
6907
6907
|
* @type {Object}
|
6908
6908
|
*/
|
6909
6909
|
static get DATETIME_MED_WITH_SECONDS() {
|
6910
|
-
return
|
6910
|
+
return Zr;
|
6911
6911
|
}
|
6912
6912
|
/**
|
6913
6913
|
* {@link DateTime#toLocaleString} format like 'Fri, 14 Oct 1983, 9:30 AM'. Only 12-hour if the locale is.
|
@@ -6921,28 +6921,28 @@ class b {
|
|
6921
6921
|
* @type {Object}
|
6922
6922
|
*/
|
6923
6923
|
static get DATETIME_FULL() {
|
6924
|
-
return
|
6924
|
+
return jr;
|
6925
6925
|
}
|
6926
6926
|
/**
|
6927
6927
|
* {@link DateTime#toLocaleString} format like 'October 14, 1983, 9:30:33 AM EDT'. Only 12-hour if the locale is.
|
6928
6928
|
* @type {Object}
|
6929
6929
|
*/
|
6930
6930
|
static get DATETIME_FULL_WITH_SECONDS() {
|
6931
|
-
return
|
6931
|
+
return Yr;
|
6932
6932
|
}
|
6933
6933
|
/**
|
6934
6934
|
* {@link DateTime#toLocaleString} format like 'Friday, October 14, 1983, 9:30 AM Eastern Daylight Time'. Only 12-hour if the locale is.
|
6935
6935
|
* @type {Object}
|
6936
6936
|
*/
|
6937
6937
|
static get DATETIME_HUGE() {
|
6938
|
-
return
|
6938
|
+
return Jr;
|
6939
6939
|
}
|
6940
6940
|
/**
|
6941
6941
|
* {@link DateTime#toLocaleString} format like 'Friday, October 14, 1983, 9:30:33 AM Eastern Daylight Time'. Only 12-hour if the locale is.
|
6942
6942
|
* @type {Object}
|
6943
6943
|
*/
|
6944
6944
|
static get DATETIME_HUGE_WITH_SECONDS() {
|
6945
|
-
return
|
6945
|
+
return Gr;
|
6946
6946
|
}
|
6947
6947
|
}
|
6948
6948
|
function Ye(t) {
|
@@ -6966,9 +6966,9 @@ const z0 = {}, H0 = {
|
|
6966
6966
|
Z0
|
6967
6967
|
];
|
6968
6968
|
function Y0(t, e) {
|
6969
|
-
return
|
6969
|
+
return M(), D("svg", H0, j0);
|
6970
6970
|
}
|
6971
|
-
const J0 = /* @__PURE__ */ ce(z0, [["render", Y0]]), Hs = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20version='1.1'%20viewBox='0%200%202048%202048'%20width='512'%20height='512'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20transform='translate(936)'%20d='m0%200h176v3h16l20%201%2010%203%2017%201%2012%203%2014%201%208%203%2016%201%207%203%2012%202%207%202%2013%202%205%202%2011%202%205%202%2011%202%209%203%208%203%2011%202%208%203%2016%205%209%203%2011%204%2012%205%208%203%2012%205%209%203%207%203%209%203%2032%2016%2012%204%2016%208%2015%208%209%206%2016%208%2011%206%209%206%2011%206%209%206%2011%206%209%206%2010%207%2021%2014v2l4%202%2011%207%2010%207%207%206v2l4%202%209%206%207%206v2l4%202%209%206%207%206%204%204v2l4%202%207%206%206%204%207%206%204%204v2h2v2h2v2l4%202v2l4%202v2l4%202v2h2v2h2v2h2v2h2l6%207%206%205%206%207%206%205%206%207%206%205%207%208%205%206%203%205%205%205v2h2v2h2l7%208%205%206%203%205%201%203%203%201%209%2011%203%205%209%2010%204%205%203%205%207%2011%2010%2012%203%205%207%2011%206%209%207%2010%209%2016%206%209%206%2011%205%208%2012%2023%207%2011%208%2015%208%2018%205%2013%2010%2019%205%2012%207%2020%205%2012%205%2013%206%2015%203%2010%203%2011%203%207%202%207%202%206%201%208%203%207%202%207%202%206%201%209%202%202%202%2014%202%202%202%2018%202%202%202%2014%202%202%201%206%201%2016%202%201%202%2023%202%202%201%206v21l4%201%201%2038%203%201v175l-3%202-1%2034-2%205-1%201-2%2026-2%202-1%2018-2%205-1%201-1%2018-1%205h-2l-1%2012-3%205-1%2014-1%205h-2l-1%2012-3%206-2%2014h-2l-1%209-3%205-2%2013-2%203-2%209-3%209-3%207-6%2020-5%2010-3%2010-6%2013-5%2015-4%2010-8%2016-7%2015-6%2015-10%2019-4%207-6%2010-10%2019-3%206-6%209-6%2011-5%207-6%2012-6%208-4%206-7%2011-5%206-2%205-4%205-5%205-3%206-6%207-2%205-8%209-4%204h-2l-2%207-8%209-4%204h-2l-2%207-9%209-7%208-5%204-3%207-85%2085h-5l-2%204-8%207-13%2013-5%202-10%209-6%205-7%204-11%2011-6%203-8%206-7%204-8%207-9%206-11%207-9%206-7%205-11%206-13%208-12%207-7%204-12%207-14%207-7%205-16%208-19%209-6%202-25%2012-11%205-18%206-17%207-13%205-7%203-36%2012-23%207-11%203-24%206-23%205-25%206-20%203-11%202-25%204-22%203-33%202-1%203h-176l-1-3-38-2-9-2-39-6-33-6-41-9-34-9-36-11-29-10-35-14-7-3-9-2-32-16-3-2-9-2-16-8-17-9-6-5-23-11-8-5-5-4-14-7-6-5-14-7-6-5-6-3-6-5-6-3-6-5-6-3-8-7v-2l-7-2-7-6-6-3-10-10-7-4-8-7-9-8-6-3-17-17-5-4-5-2-84-84-3-6-11-12-10-10-3-6-11-12-3-4-3-5-9-10-4-5-3-5-5-7-3-5-9-11-3-5-6-9-7-10-7-11-8-14-5-7-6-12-6-8-8-16-7-13-5-7-8-16-8-17-3-9-8-16-9-19-7-21-5-11-5-14-4-10-15-45-3-12-6-20-5-22-2-5-2-15-3-10-3-12-2-18-2-5-2-19-2-8-2-20-2-5-1-36-3-1v-175l3-3%201-30%201-7%202-4%201-20%203-7%201-16%203-12%202-16%205-18%203-18%202-5%202-11%205-18%205-16%203-12%2016-48%204-8%204-12%205-11%207-21%2016-32%203-10%2013-26%2012-20%204-8%208-15%205-7%206-12%206-8%206-12%206-8%206-9%207-11%203-3%203-6%208-9%206-10%203-3%203-6%2013-14%203-6%208-9h2l5-10%207-7%202-3h2l2-4%209-9%202-5%2011-11%202-3h2l2-4h2l2-4%206-5%206-7%206-5%205-6%207-6%202-3h2l2-4h2l2-4h2l2-4h2l2-4h2l1-3%208-7%206-5%206-4%209-9%208-7%205-4%206-4%2012-11%209-6%2011-10%2010-6%2011-8%209-7%2033-22%2017-10%2013-8%207-4%2010-6%2019-10%207-4%2010-6%2019-10%209-4%209-3%2032-16%2011-3%202-2%2010-2%202-2%207-3%2011-3%202-2%207-3%2011-3%202-2%2010-2%202-2%2010-2%202-2%2010-2%202-2%2011-1%205-3%2010-2%202-2%2014-2%203-2%2013-2%204-2%2016-2%202-2%2014-2%203-2%2017-1%205-2%201-1%2018-1%208-3%2025-1%201-3%2038-1zm-323%20644-2%202-11%203-1%201-9%202-19%2010-8%208-5%202-12%2011-2%202-2%206-7%207-6%2010-5%2011-3%209-3%2011-2%203v52l3%207%205%2017%209%2017%2010%2012%203%205%204%205h2v2l9%206%2011%209%2019%2010%209%202%203%202%209%201v2l4%201h48l5-3%2010-2%202-2%2010-2%2017-9%2011-9%206-4%207-6%204-5%203-6%208-9%205-9%205-14%207-21v-48l-4-11-6-17-7-14-9-10-3-6-9-10-11-7-9-8-16-8-11-3-6-2-7-3zm768%200-2%202-11%203-1%201-9%202-19%2010-8%208-5%202-12%2011-2%202-2%206-7%207-6%2010-5%2011-3%209-3%2011-2%203v52l3%207%205%2017%209%2017%2010%2012%203%205%204%205h2v2l9%206%2011%209%2019%2010%209%202%203%202%209%201v2l4%201h48l5-3%2010-2%202-2%2010-2%2017-9%2011-9%206-4%207-6%204-5%203-6%208-9%205-9%205-14%207-21v-48l-4-11-6-17-7-14-9-10-3-6-9-10-11-7-9-8-16-8-11-3-6-2-7-3zm-424%20640-2%202-24%202-4%202-22%202-6%202-15%203-1%201-12%202-4%202-12%202-4%202-12%202-11%205-11%203-14%206-11%203-6%202-10%204-52%2026-18%2010-8%205-12%207-8%205-9%205-10%209-6%203-10%209-6%203-10%209-6%203-12%2011-19%2019-5%202-10%209-7%208-2%205-3%203v2h-2l-3%2011-2%203v32l9%2017%208%209%208%207%208%205%203%201v2l2%201%2014%201v2l4%201h8l5-3%2012-1%2011-6%2011-9%206-4%2017-17%208-7%205-4%206-4%2010-8%2016-12%206-4%2013-8%207-4%2010-6%2017-9%205-4%2010-3%2019-10%208-4%209-2%202-2%2010-2%202-2%2010-2%202-2%2010-2%202-2%2010-2%203-2%2013-2%206-2%2014-2%206-2%2014-2%207-2%2019-1%207-2%201-1h110l1%202%2010%201%2022%201v2l20%203%207%202%2013%202%205%202%2011%202%208%203%2016%205%208%203%2016%205%208%203%2013%206%2048%2024%2010%206%208%205%209%205%204%202%201%203%2011%207%209%206%2011%209%209%206%205%205h2l2%204h2l2%204h2l2%204h2l2%204h2v2l8%207%2011%207%206%204h3v2l2%201h9l5%202%203%202%208-1%202-2%2012-1%2016-8%209-7%204-5%205-5%204-8%205-11v-30l-3-6-2-7-6-8-3-5-9-10-7-6-6-3-25-25-5-4-6-3-10-9-6-3-10-9-6-3-10-9-7-3-8-5-5-4-14-7-6-5-23-11-17-9-23-11-10-5-10-3-35-12-14-5-51-13-22-4-21-3-19-2-7-2z'%20fill='%23C66021'/%3e%3c/svg%3e", Zs = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20version='1.1'%20viewBox='0%200%202048%202048'%20width='512'%20height='512'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20transform='translate(936)'%20d='m0%200h176v3h16l20%201%2010%203%2017%201%2012%203%2014%201%208%203%2016%201%207%203%2012%202%207%202%2013%202%205%202%2011%202%205%202%2011%202%209%203%208%203%2011%202%208%203%2016%205%209%203%2011%204%2012%205%208%203%2012%205%209%203%207%203%209%203%2032%2016%2012%204%2016%208%2015%208%209%206%2016%208%2011%206%209%206%2011%206%209%206%2011%206%209%206%2010%207%2021%2014v2l4%202%2011%207%2010%207%207%206v2l4%202%209%206%207%206v2l4%202%209%206%207%206%204%204v2l4%202%207%206%206%204%207%206%204%204v2h2v2h2v2l4%202v2l4%202v2l4%202v2h2v2h2v2h2v2h2l6%207%206%205%206%207%206%205%206%207%206%205%207%208%205%206%203%205%205%205v2h2v2h2l7%208%205%206%203%205%201%203%203%201%209%2011%203%205%209%2010%204%205%203%205%207%2011%2010%2012%203%205%207%2011%206%209%207%2010%209%2016%206%209%206%2011%205%208%2012%2023%207%2011%208%2015%208%2018%205%2013%2010%2019%205%2012%207%2020%205%2012%205%2013%206%2015%203%2010%203%2011%203%207%202%207%202%206%201%208%203%207%202%207%202%206%201%209%202%202%202%2014%202%202%202%2018%202%202%202%2014%202%202%201%206%201%2016%202%201%202%2023%202%202%201%206v21l4%201%201%2038%203%201v175l-3%202-1%2034-2%205-1%201-2%2026-2%202-1%2018-2%205-1%201-1%2018-1%205h-2l-1%2012-3%205-1%2014-1%205h-2l-1%2012-3%206-2%2014h-2l-1%209-3%205-2%2013-2%203-2%209-3%209-3%207-6%2020-5%2010-3%2010-6%2013-5%2015-4%2010-8%2016-7%2015-6%2015-10%2019-4%207-6%2010-10%2019-3%206-6%209-6%2011-5%207-6%2012-6%208-4%206-7%2011-5%206-2%205-4%205-5%205-3%206-6%207-2%205-8%209-4%204h-2l-2%207-8%209-4%204h-2l-2%207-9%209-7%208-5%204-3%207-85%2085h-5l-2%204-8%207-13%2013-5%202-10%209-6%205-7%204-11%2011-6%203-8%206-7%204-8%207-9%206-11%207-9%206-7%205-11%206-13%208-12%207-7%204-12%207-14%207-7%205-16%208-19%209-6%202-25%2012-11%205-18%206-17%207-13%205-7%203-36%2012-23%207-11%203-24%206-23%205-25%206-20%203-11%202-25%204-22%203-33%202-1%203h-176l-1-3-38-2-9-2-39-6-33-6-41-9-34-9-36-11-29-10-35-14-7-3-9-2-32-16-3-2-9-2-16-8-17-9-6-5-23-11-8-5-5-4-14-7-6-5-14-7-6-5-6-3-6-5-6-3-6-5-6-3-8-7v-2l-7-2-7-6-6-3-10-10-7-4-8-7-9-8-6-3-17-17-5-4-5-2-84-84-3-6-11-12-10-10-3-6-11-12-3-4-3-5-9-10-4-5-3-5-5-7-3-5-9-11-3-5-6-9-7-10-7-11-8-14-5-7-6-12-6-8-8-16-7-13-5-7-8-16-8-17-3-9-8-16-9-19-7-21-5-11-5-14-4-10-15-45-3-12-6-20-5-22-2-5-2-15-3-10-3-12-2-18-2-5-2-19-2-8-2-20-2-5-1-36-3-1v-175l3-3%201-30%201-7%202-4%201-20%203-7%201-16%203-12%202-16%205-18%203-18%202-5%202-11%205-18%205-16%203-12%2016-48%204-8%204-12%205-11%207-21%2016-32%203-10%2013-26%2012-20%204-8%208-15%205-7%206-12%206-8%206-12%206-8%206-9%207-11%203-3%203-6%208-9%206-10%203-3%203-6%2013-14%203-6%208-9h2l5-10%207-7%202-3h2l2-4%209-9%202-5%2011-11%202-3h2l2-4h2l2-4%206-5%206-7%206-5%205-6%207-6%202-3h2l2-4h2l2-4h2l2-4h2l2-4h2l1-3%208-7%206-5%206-4%209-9%208-7%205-4%206-4%2012-11%209-6%2011-10%2010-6%2011-8%209-7%2033-22%2017-10%2013-8%207-4%2010-6%2019-10%207-4%2010-6%2019-10%209-4%209-3%2032-16%2011-3%202-2%2010-2%202-2%207-3%2011-3%202-2%207-3%2011-3%202-2%2010-2%202-2%2010-2%202-2%2010-2%202-2%2011-1%205-3%2010-2%202-2%2014-2%203-2%2013-2%204-2%2016-2%202-2%2014-2%203-2%2017-1%205-2%201-1%2018-1%208-3%2025-1%201-3%2038-1zm-424%20579-18%201-19%2010-12%2012-4%207-7%2014v35l9%2017%2011%2012%208%207%209%206%207%207%208%207%209%206%206%205%205%205%209%206%206%205%205%205%209%206%205%205h2v2l9%206%208%207%205%205h2v2l9%206%208%207%202%202%201%205-4%202-5%205-6%203-10%209-24%2024v2h-2l-3%207-6%207-3%206-6%209-7%2014-6%2020-2%203-2%2013-2%202v69l2%203%203%2015%204%2012%205%2013%207%2012%2010%2017%207%2010%209%2010%2018%2018%2010%208%209%206%2016%209%209%206%206%203%209%202%209%203%207%203%2010%201%206%203h62l6-2%201-1%2011-1%205-3%2010-2%202-2%2010-2%209-5%209-6%2011-6%209-6%2011-9%2013-13%205-6%205-5%205-6%206-9%206-10%203-6%206-9%204-11%207-20%201-9%203-8v-65l-3-5-2-13-3-8-6-17-8-16-6-10-6-7-4-6-9-10-26-26-5-4-6-3-13-13-5-4-6-3-9-9-5-4-6-3-9-9-5-4-6-3-9-9-5-4-6-3-13-13-5-4-6-3-9-9-5-4-6-3-9-9-5-4-6-3-9-9-5-4-6-3-13-13-5-4-6-3-10-10-7-4-8-7-9-8-6-3-10-10-7-4-11-9-5-3-13-7zm1006%201-19%2010-8%208-6%203-10%209-6%205-7%204-11%2011-6%203-10%209-6%205-5%203-10%209-8%208-5%202-10%209-6%205-7%204-11%2011-6%203-10%209-5%205-5%202-12%2011-7%207-5%202-10%209-6%205-7%204-11%2011-6%203-10%209-6%205-7%204-11%2011-6%203-10%209-36%2036-4%207-7%2010-12%2024-3%2010-4%2012-2%2010-2%205-1%201v69l2%203%203%2015%204%2012%205%2013%207%2012%2010%2017%207%2010%209%2010%2018%2018%2010%208%209%206%2016%209%209%206%206%203%209%202%209%203%207%203%2010%201%206%203h62l6-2%201-1%2011-1%205-3%2010-2%202-2%2010-2%209-5%209-6%2011-6%209-6%2011-9%2013-13%205-6%205-5%205-6%206-9%206-10%203-6%206-9%204-11%207-20%201-9%203-8v-65l-3-5-2-13-3-8-6-17-7-14-6-8-3-5-5-7-3-5-9-10-22-22-5-4-6-3-5-5h-2l-1-4%203-5%208-6%206-4%208-7v-2l4-2%206-5%206-4%2012-11%208-5%2012-11%208-5%2012-11%208-5%207-6%205-5%206-5%209-6v-2l4-2%201-3%204-2%207-9%207-14%201-4v-32l-8-17-12-13-8-6-14-7zm-495%20827-4%204-53%201-3%202-23%202-5%202-16%202-5%202-15%202-4%202-15%203-42%2014-10%204-19%209-3%202-8%202-20%2011-4%203-14%207-18%2010-7%207-8%204-11%208-7%205-5%203-10%209-7%207-6%203-10%209-16%2016-4%207-7%2013v36l9%2017%209%2010h2v2l9%206%2013%207h34l19-9%2013-12%209-6%209-9%209-7%2018-12%208-7%2023-12%209-6%2016-8%205-3%209-2%202-2%207-3%2011-3%202-2%2010-2%202-2%2010-2%203-2%2013-2%203-2%2013-2%204-2%2016-1%205-2%201-1h110l1%202%204%201%2016%201%208%203%2012%202%205%202%2011%202%208%203%2016%205%208%203%2016%207%2011%204%2016%208%209%206%2019%2010%206%204%203%201%201%203%2011%207%209%206%208%207%206%205%205%205%209%206%205%205h2v2l9%206%2013%207h34l19-9%2010-9%207-9%207-14%201-3v-34l-9-17-11-12-13-13-5-4-6-3-14-14-7-4-9-7-6-3-6-5-6-3-6-5-6-3-6-5-21-10-7-6-16-8-9-2-28-14-10-3-36-12-30-7-29-6-23-2-7-2-51-1-2-4z'%20fill='%23CA2E22'/%3e%3c/svg%3e", js = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20version='1.1'%20viewBox='0%200%202048%202048'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20transform='translate(988)'%20d='m0%200h72l44%202%2048%205%2035%205%2044%208%2035%208%2042%2011%2029%209%2021%207%2023%208%2010%204%2032%2013%2019%208%2015%207%2032%2016%2027%2014%2023%2013%2023%2014%2019%2012%2012%208%2016%2011%2017%2012%206%204v2l5%202%2014%2011%2010%208%2014%2011%2013%2011%2012%2011%2011%209%208%208%208%207%2048%2048%207%208%2011%2012%207%208%2011%2013%2011%2014%2010%2012%2010%2013%205%207v2h2l12%2017%2011%2016%2010%2015%2014%2022%209%2015%2011%2019%209%2016%2015%2029%2013%2026%2013%2029%2011%2027%208%2020%209%2026%207%2021%2011%2037%207%2027%206%2025%208%2040%206%2039%203%2024%204%2038%202%2044v72l-2%2044-5%2048-5%2035-8%2044-8%2035-11%2042-9%2029-7%2021-10%2028-15%2037-11%2025-16%2033-12%2024-11%2020-14%2024-13%2021-9%2014-10%2015-9%2013-13%2018-1%202h-2l-2%205-11%2014-8%2010-11%2014-11%2013-10%2011-9%2011-9%209-7%208-48%2048-8%207-11%2010-8%207-10%209-9%207-16%2013-14%2011-11%208h-2v2l-17%2012-16%2011-15%2010-19%2012-18%2011-17%2010-10%206-12%206-19%2010-32%2016-29%2013-27%2011-15%206-17%206-20%207-25%208-34%2010-36%209-39%208-41%207-32%204-38%204-44%202h-72l-44-2-48-5-35-5-44-8-35-8-42-11-29-9-21-7-23-8-10-4-32-13-19-8-15-7-32-16-27-14-23-13-23-14-19-12-12-8-16-11-17-12-6-4v-2l-5-2-14-11-10-8-14-11-13-11-12-11-11-9-8-8-8-7-48-48-7-8-11-12-7-8-11-13-11-14-10-12-10-13-5-7v-2h-2l-12-17-11-16-10-15-14-22-9-15-11-19-9-16-15-29-13-26-13-29-11-27-8-20-9-26-7-21-11-37-7-27-6-25-8-40-6-39-3-24-4-38-2-44v-72l2-44%205-48%205-35%208-44%208-35%2011-42%209-29%207-21%2010-28%2015-37%2011-25%2016-33%2013-26%2010-18%2014-24%2013-21%209-14%2010-15%209-13%2013-18%201-2h2l2-5%2011-14%208-10%2011-14%2011-13%2010-11%209-11%209-9%207-8%2048-48%208-7%2011-10%208-7%2010-9%209-7%2016-13%2014-11%2011-8h2v-2l17-12%2016-11%2015-10%2019-12%2021-13%2023-13%2022-12%2032-16%2021-10%2030-13%2030-12%2017-6%2020-7%2025-8%2034-10%2036-9%2039-8%2041-7%2032-4%2038-4zm-288%20579-17%203-20%206-16%208-14%209-13%2011-8%208-10%2013-10%2017-6%2015-5%2018-2%2013v25l3%2018%207%2021%2011%2021%2010%2013%2011%2012%2011%209%2013%209%2019%209%2016%205%2016%203h33l16-3%2018-6%2016-8%2011-7%2010-8%2016-16%209-13%206-10%208-19%205-18%202-16v-18l-2-15-6-21-5-12-7-13-11-15-12-13-14-11-13-8-17-8-21-6-13-2zm623%200-17%203-17%205-21%2010-13%209-14%2012-10%2011-12%2018-8%2017-5%2016-3%2016-1%208v18l2%2015%206%2021%208%2018%207%2011%209%2012%2017%2017%2013%209%2010%206%2019%208%2018%205%208%201h33l16-3%2016-5%2019-9%2017-12%2014-13%2011-14%208-13%208-17%206-21%202-13v-25l-3-18-7-21-8-16-8-12-11-13-8-8-13-10-17-10-15-6-18-5-13-2zm-859%20378-16%203-12%205-10%207-9%208-7%2010-6%2013-2%206-1%207v34l1%2021%205%2044%205%2028%206%2028%205%2020%209%2028%2010%2029%2013%2031%207%2015%2014%2027%2012%2021%206%209%205%209%2013%2019%2012%2017%2011%2014%2014%2017%2011%2012%209%2011%2030%2030%2011%209%207%207%2011%209%2016%2013%2019%2014%2027%2018%2031%2019%2014%207%2019%2010%2029%2013%2025%2010%2033%2011%2021%206%2028%207%2031%206%2020%203%2036%204%2021%201h52l21-1%2044-5%2028-5%2028-6%2020-5%2028-9%2029-10%2031-13%2015-7%2029-15%2019-11%209-6%209-5%2019-13%2017-12%2014-11%2017-14%2012-11%2011-9%2030-30%209-11%207-7%209-11%2013-16%2014-19%2018-27%208-13%2010-17%2014-26%209-19%2013-30%2011-30%208-26%205-18%208-36%206-36%204-36%201-21v-34l-2-10-5-13-7-10-8-9-10-7-12-6-12-3-14-1-17%203-16%208-6%204v2l-3%201v2l-4%202-8%2011-5%2010-3%2010-1%208-2%2046-3%2028-6%2035-8%2032-12%2036-13%2031-13%2027-9%2016-14%2023-20%2028-8%2010-9%2011-13%2015-32%2032-11%209-12%2010-14%2011-13%209-15%2010-25%2015-29%2015-19%208-11%205-23%208-15%205-25%207-29%206-19%203-28%203-22%201h-36l-34-2-35-5-29-6-29-8-34-12-25-11-25-12-18-10-19-12-12-8-22-16-11-9-15-13-8-7-30-30-9-11-10-12-10-13-10-14-10-15-9-15-8-14-13-25-14-33-7-20-5-15-7-26-4-18-5-29-3-28-2-46-2-12-5-13-7-10-5-6h-2l-1-3h-2v-2l-13-8-13-5-13-2z'%20fill='%233A8C03'/%3e%3c/svg%3e", Ys = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20version='1.1'%20viewBox='0%200%202048%202048'%20width='512'%20height='512'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20transform='translate(936)'%20d='m0%200h176v3h16l20%201%2010%203%2017%201%2012%203%2014%201%208%203%2016%201%207%203%2012%202%207%202%2013%202%205%202%2011%202%205%202%2011%202%209%203%208%203%2011%202%208%203%2016%205%209%203%2011%204%2012%205%208%203%2012%205%209%203%207%203%209%203%2032%2016%2012%204%2016%208%2015%208%209%206%2016%208%2011%206%209%206%2011%206%209%206%2011%206%209%206%2010%207%2021%2014v2l4%202%2011%207%2010%207%207%206v2l4%202%209%206%207%206v2l4%202%209%206%207%206%204%204v2l4%202%207%206%206%204%207%206%204%204v2h2v2h2v2l4%202v2l4%202v2l4%202v2h2v2h2v2h2v2h2l6%207%206%205%206%207%206%205%206%207%206%205%207%208%205%206%203%205%205%205v2h2v2h2l7%208%205%206%203%205%201%203%203%201%209%2011%203%205%209%2010%204%205%203%205%207%2011%2010%2012%203%205%207%2011%206%209%207%2010%209%2016%206%209%206%2011%205%208%2012%2023%207%2011%208%2015%208%2018%205%2013%2010%2019%205%2012%207%2020%205%2012%205%2013%206%2015%203%2010%203%2011%203%207%202%207%202%206%201%208%203%207%202%207%202%206%201%209%202%202%202%2014%202%202%202%2018%202%202%202%2014%202%202%201%206%201%2016%202%201%202%2023%202%202%201%206v21l4%201%201%2038%203%201v175l-3%202-1%2034-2%205-1%201-2%2026-2%202-1%2018-2%205-1%201-1%2018-1%205h-2l-1%2012-3%205-1%2014-1%205h-2l-1%2012-3%206-2%2014h-2l-1%209-3%205-2%2013-2%203-2%209-3%209-3%207-6%2020-5%2010-3%2010-6%2013-5%2015-4%2010-8%2016-7%2015-6%2015-10%2019-4%207-6%2010-10%2019-3%206-6%209-6%2011-5%207-6%2012-6%208-4%206-7%2011-5%206-2%205-4%205-5%205-3%206-6%207-2%205-8%209-4%204h-2l-2%207-8%209-4%204h-2l-2%207-9%209-7%208-5%204-3%207-85%2085h-5l-2%204-8%207-13%2013-5%202-10%209-6%205-7%204-11%2011-6%203-8%206-7%204-8%207-9%206-11%207-9%206-7%205-11%206-13%208-12%207-7%204-12%207-14%207-7%205-16%208-19%209-6%202-25%2012-11%205-18%206-17%207-13%205-7%203-36%2012-23%207-11%203-24%206-23%205-25%206-20%203-11%202-25%204-22%203-33%202-1%203h-176l-1-3-38-2-9-2-39-6-33-6-41-9-34-9-36-11-29-10-35-14-7-3-9-2-32-16-3-2-9-2-16-8-17-9-6-5-23-11-8-5-5-4-14-7-6-5-14-7-6-5-6-3-6-5-6-3-6-5-6-3-8-7v-2l-7-2-7-6-6-3-10-10-7-4-8-7-9-8-6-3-17-17-5-4-5-2-84-84-3-6-11-12-10-10-3-6-11-12-3-4-3-5-9-10-4-5-3-5-5-7-3-5-9-11-3-5-6-9-7-10-7-11-8-14-5-7-6-12-6-8-8-16-7-13-5-7-8-16-8-17-3-9-8-16-9-19-7-21-5-11-5-14-4-10-15-45-3-12-6-20-5-22-2-5-2-15-3-10-3-12-2-18-2-5-2-19-2-8-2-20-2-5-1-36-3-1v-175l3-3%201-30%201-7%202-4%201-20%203-7%201-16%203-12%202-16%205-18%203-18%202-5%202-11%205-18%205-16%203-12%2016-48%204-8%204-12%205-11%207-21%2016-32%203-10%2013-26%2012-20%204-8%208-15%205-7%206-12%206-8%206-12%206-8%206-9%207-11%203-3%203-6%208-9%206-10%203-3%203-6%2013-14%203-6%208-9h2l5-10%207-7%202-3h2l2-4%209-9%202-5%2011-11%202-3h2l2-4h2l2-4%206-5%206-7%206-5%205-6%207-6%202-3h2l2-4h2l2-4h2l2-4h2l2-4h2l1-3%208-7%206-5%206-4%209-9%208-7%205-4%206-4%2012-11%209-6%2011-10%2010-6%2011-8%209-7%2033-22%2017-10%2013-8%207-4%2010-6%2019-10%207-4%2010-6%2019-10%209-4%209-3%2032-16%2011-3%202-2%2010-2%202-2%207-3%2011-3%202-2%207-3%2011-3%202-2%2010-2%202-2%2010-2%202-2%2010-2%202-2%2011-1%205-3%2010-2%202-2%2014-2%203-2%2013-2%204-2%2016-2%202-2%2014-2%203-2%2017-1%205-2%201-1%2018-1%208-3%2025-1%201-3%2038-1zm-323%20644-2%202-11%203-1%201-9%202-19%2010-8%208-5%202-12%2011-2%202-2%206-7%207-6%2010-5%2011-3%209-3%2011-2%203v52l3%207%205%2017%209%2017%2010%2012%203%205%204%205h2v2l9%206%2011%209%2019%2010%209%202%203%202%209%201v2l4%201h48l5-3%2010-2%202-2%2010-2%2017-9%2011-9%206-4%207-6%204-5%203-6%208-9%205-9%205-14%207-21v-48l-4-11-6-17-7-14-9-10-3-6-9-10-11-7-9-8-16-8-11-3-6-2-7-3zm768%200-2%202-11%203-1%201-9%202-19%2010-8%208-5%202-12%2011-2%202-2%206-7%207-6%2010-5%2011-3%209-3%2011-2%203v52l3%207%205%2017%209%2017%2010%2012%203%205%204%205h2v2l9%206%2011%209%2019%2010%209%202%203%202%209%201v2l4%201h48l5-3%2010-2%202-2%2010-2%2017-9%2011-9%206-4%207-6%204-5%203-6%208-9%205-9%205-14%207-21v-48l-4-11-6-17-7-14-9-10-3-6-9-10-11-7-9-8-16-8-11-3-6-2-7-3zm-676%20764-2%202-17%202-19%2010-12%2012-4%207-6%2011-1%205v31l5%2012%205%208%208%209h2v2l9%206%2014%207%2017%201v2l4%201h628l8-1%201-2%2015-1%2011-5%209-5%2010-9v-2h2l6-10%205-10%201-3v-33l-8-17-12-13-8-6-14-7-11-1h-7v-2l-2-1z'%20fill='%23E8A654'/%3e%3c/svg%3e", Js = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20version='1.1'%20viewBox='0%200%202048%202048'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20transform='translate(932)'%20d='m0%200h184v3h15l18%201%203%201v2l28%201%209%203%2016%201%208%203%2012%201%208%203%2011%202%207%202%2013%202%205%202%2011%202%205%202%2011%202%209%203%2010%203%209%202%208%203%2016%205%209%203%207%203%2021%207%2011%205%2011%204%209%204%2011%204%2024%2012%2010%203%2046%2023%208%206%2016%208%209%206%2016%209%209%206%2011%206%209%206%2010%207%2021%2014v2l4%202%2011%207%2010%207%207%206v2l4%202%2012%208v2l4%202%209%206%207%206%204%204v2l4%202%207%206%206%204%207%206%204%204v2h2v2h2v2l4%202v2l4%202v2l4%202v2l4%202v2h2v2h2l6%207%206%205%206%207%206%205%206%207%206%205%206%207%2013%2013%203%206%206%206v2h2v2h2l7%208%205%206%203%205%209%2011%203%205%209%2010%204%205%203%205%207%2011%2010%2012%203%205%207%2011%206%209%207%2010%208%2014%207%2011%206%209%208%2015%206%2012%206%209%208%2015%209%2019%206%2012%206%2016%208%2016%2011%2027%208%2020%2010%2030%203%2011%203%207%202%207%202%206%201%208%203%207%202%207%202%206%201%209%202%202%202%2014%202%202%202%2014%202%202%202%2018%202%202%202%2018%202%201%202%2023%202%201%201%207v25l4%201%201%2035h3v183l-3%202-1%2030-2%205-1%201-1%2022-1%208-2%202-1%2018-2%205-1%201-1%2015-1%204h-2l-1%2012-3%205-1%2015-1%204h-2l-1%2012-3%206-2%2014h-2l-1%209-3%205-2%2013-2%203-2%209-3%209-3%207-3%2010-4%2012-3%2010-6%2013-4%2011-10%2024-8%2016-8%2020-8%2016-10%2019-4%207-6%2010-9%2017-6%209-6%2011-5%207-6%2012-6%208-4%206-7%2011-5%206-2%205-4%205-5%205-3%206-6%207-2%205-8%209-4%204h-2l-2%207-10%2011-2%205-7%207-1%202h-2l-2%204-8%207-4%208-93%2093h-5l-2%204-8%207-12%2012-6%203-10%209-6%203-10%209-4%204-6%203-8%206-7%204-8%207-9%206-11%207-9%206-7%205-11%206-9%206-11%206-9%206-12%206-13%208-19%2010-26%2013-20%208-22%2011-17%206-7%203-17%206-15%206-36%2012-23%207-11%203-24%206-54%2012-23%204-14%202-13%202-22%203-29%202-1%203h-184l-1-3-34-2-9-2-39-6-33-6-41-9-34-9-36-11-29-10-15-6-17-6-10-5-9-2-16-8-11-6-9-2-32-16-17-9-6-5-21-10-7-6-14-7-6-5-14-7-6-5-6-3-6-5-6-3-6-5-6-3-8-7v-2l-7-2-7-6-6-3-9-9-5-4-6-3-10-9-6-3-17-17-5-4-5-2-92-92-3-6-11-12-10-10-3-6-9-10-3-6-11-12-3-4-3-5-5-7-3-5-9-11-3-5-6-9-7-10-7-11-8-14-5-7-6-12-6-8-7-14-12-20-13-26-5-12-4-10-11-22-5-12-5-13-6-16-5-14-4-10-15-45-3-12-6-20-5-22-3-10-4-18-1-8-2-5-2-15-2-6-2-18-2-9-1-17-2-7-1-4-1-32-3-1v-183l3-3%201-26%202-8%201-3%201-23%203-7%201-17%203-11%202-13%202-6%202-14%205-18%208-32%205-16%203-12%2020-60%204-8%204-12%204-8%204-12%2012-24%203-10%2011-23%2011-20%203-6%205-7%208-16%207-13%205-7%206-12%206-8%206-9%207-11%207-10%204-5%203-6%208-9%206-10%203-3%203-6%2012-13%205-8%208-9%203-6%208-9h2l2-4%209-9%202-5%2011-11%202-3h2l2-4h2l2-4%206-5%206-7%206-5%205-6%207-6%205-6%205-5h2l2-4h2l2-4h2l2-4h2l2-4h2l1-3%208-7%206-5%206-4%209-9%208-7%205-4%206-4%2010-8%208-6%2010-9%2010-6%2011-8%209-7%2048-32%2014-8%2010-6%2019-10%207-4%2010-6%2019-10%2023-11%2010-3%2019-10%208-4%209-2%2011-6%209-2%202-2%207-3%2011-3%202-2%2010-2%202-2%2010-2%202-2%2010-2%202-2%2010-2%202-2%2011-1%205-3%2010-2%202-2%2014-2%203-2%2013-2%202-2%2011-1%206-3%2013-1%205-2%201-1%2017-1%206-2%201-1%2015-1%204-2%206-1%2026-1%201-3%2034-1zm-219%20608-2%202-17%202-3%202-10%202-2%202-9%202-11%206-5%204-9%206-18%2018-4%207-7%2010-8%2015-5%2013-3%208v55l3%207%205%2017%209%2017%209%2010%203%206%204%205%2011%207%204%202%201%203%2011%207%209%206%206%203%209%202%203%202%209%201v2l4%201h48l5-3%2010-2%202-2%2010-2%209-5%209-6%2010-8%203-3%205-2%205-5%202-5%207-7%207-9%204-7%205-14%207-21v-53l-3-6-3-9-8-16-6-10-6-9-9-10-7-7-7-4-9-7-23-11-12-4-1-1-17-2-5-2zm600%200-2%202-17%202-3%202-10%202-2%202-9%202-8%206-7%204-4%203v2l-5%201-12%2011-7%207-4%207-7%2010-8%2015-5%2013-3%2010v53l3%207%206%2018%204%208%206%209%2012%2015%203%205%205%204%206%204%203%201%201%203%2011%207%209%206%206%203%209%202%203%202%209%201v2l4%201h48l5-3%2010-2%202-2%2010-2%209-5%209-6%2010-8%203-3%205-2%205-5%202-5%207-7%207-9%204-7%205-14%207-21v-53l-3-6-3-9-8-16-6-10-6-9-9-10-7-7-7-4-9-7-23-11-12-4-1-1-17-2-5-2zm-807%20604-19%2010-12%2012-4%207-6%2012-2%2012-3%205v8l3%205%201%2011%205%209%209%2010%203%206%205%205%208%209h2l2%204h2l2%204%2012%2012%203%206%2010%2010%2010%207%209%209h2l2%204h2l2%204h2l2%204h2v2l8%207%209%206%205%205h2v2l9%206%205%204h2v2l9%206%2010%207%206%204%208%207%2014%207%208%206%2013%207%209%206%2062%2031%209%203%209%204%2010%205%209%202%208%203%2016%205%208%203%2016%205%209%203%208%203%2011%202%205%202%2011%202%207%202%2013%202%207%202%2015%201%207%203%2023%201v2l9%201%2030%201%201%202%204%201h77l7-2%201-1%2028-1%2010-1%202-2%2021-1%206-2%201-1%2017-1%206-2%201-1%2018-2%202-2%2014-2%202-2%2014-2%202-2%2010-2%202-2%2011-1%205-3%2010-2%202-2%2010-2%202-2%207-3%2011-3%202-2%208-3%207-2%2023-11%2038-19%2015-8%209-6%2011-6%209-6%2011-6%209-8%208-5%2011-7%209-8%208-5%2012-11%208-5%2013-13%206-5%205-5v-2l4-2%205-5%206-3%2012-12%202-5%2011-11%205-6%206-5%207-8%205-5%203-6%208-9%205-10%201-11%203-4v-7l-3-7-2-11-8-16-11-12-8-6-14-7h-33l-2%202-9%202-11%206-14%2014-3%207-42%2042v2l-4%202-18%2018-5%202-12%2011-4%203-7%204-7%207-6%203-10%209-6%203-9%206-14%208-4%203-12%206-13%208-19%2010-9%203-19%209-14%205-10%204-7%203-11%203-6%202-7%203-12%202-8%203-9%203-15%202-4%202-16%202-4%202-21%202-3%202-31%202h-7l-1%203h-70l-10-1-2-2-24-1-34-5-44-9-29-8-35-12-25-10-5-3-7-3-6-2-5-2-4-2-1-3-10-2-3-3h-2v-2l-17-8-8-5-5-4-7-3-10-6-3-3-6-3-7-6-3-3-6-3-7-6-3-3-6-3-9-9-5-4-5-2-63-63-3-6-9-10-7-4-9-7-9-2-3-2z'%20fill='%238CBF50'/%3e%3c/svg%3e", G0 = (t) => (lr("data-v-1d95bdac"), t = t(), cr(), t), K0 = { class: "messages-container-list" }, Q0 = { class: "message-container" }, X0 = {
|
6971
|
+
const J0 = /* @__PURE__ */ ce(z0, [["render", Y0]]), js = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20version='1.1'%20viewBox='0%200%202048%202048'%20width='512'%20height='512'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20transform='translate(936)'%20d='m0%200h176v3h16l20%201%2010%203%2017%201%2012%203%2014%201%208%203%2016%201%207%203%2012%202%207%202%2013%202%205%202%2011%202%205%202%2011%202%209%203%208%203%2011%202%208%203%2016%205%209%203%2011%204%2012%205%208%203%2012%205%209%203%207%203%209%203%2032%2016%2012%204%2016%208%2015%208%209%206%2016%208%2011%206%209%206%2011%206%209%206%2011%206%209%206%2010%207%2021%2014v2l4%202%2011%207%2010%207%207%206v2l4%202%209%206%207%206v2l4%202%209%206%207%206%204%204v2l4%202%207%206%206%204%207%206%204%204v2h2v2h2v2l4%202v2l4%202v2l4%202v2h2v2h2v2h2v2h2l6%207%206%205%206%207%206%205%206%207%206%205%207%208%205%206%203%205%205%205v2h2v2h2l7%208%205%206%203%205%201%203%203%201%209%2011%203%205%209%2010%204%205%203%205%207%2011%2010%2012%203%205%207%2011%206%209%207%2010%209%2016%206%209%206%2011%205%208%2012%2023%207%2011%208%2015%208%2018%205%2013%2010%2019%205%2012%207%2020%205%2012%205%2013%206%2015%203%2010%203%2011%203%207%202%207%202%206%201%208%203%207%202%207%202%206%201%209%202%202%202%2014%202%202%202%2018%202%202%202%2014%202%202%201%206%201%2016%202%201%202%2023%202%202%201%206v21l4%201%201%2038%203%201v175l-3%202-1%2034-2%205-1%201-2%2026-2%202-1%2018-2%205-1%201-1%2018-1%205h-2l-1%2012-3%205-1%2014-1%205h-2l-1%2012-3%206-2%2014h-2l-1%209-3%205-2%2013-2%203-2%209-3%209-3%207-6%2020-5%2010-3%2010-6%2013-5%2015-4%2010-8%2016-7%2015-6%2015-10%2019-4%207-6%2010-10%2019-3%206-6%209-6%2011-5%207-6%2012-6%208-4%206-7%2011-5%206-2%205-4%205-5%205-3%206-6%207-2%205-8%209-4%204h-2l-2%207-8%209-4%204h-2l-2%207-9%209-7%208-5%204-3%207-85%2085h-5l-2%204-8%207-13%2013-5%202-10%209-6%205-7%204-11%2011-6%203-8%206-7%204-8%207-9%206-11%207-9%206-7%205-11%206-13%208-12%207-7%204-12%207-14%207-7%205-16%208-19%209-6%202-25%2012-11%205-18%206-17%207-13%205-7%203-36%2012-23%207-11%203-24%206-23%205-25%206-20%203-11%202-25%204-22%203-33%202-1%203h-176l-1-3-38-2-9-2-39-6-33-6-41-9-34-9-36-11-29-10-35-14-7-3-9-2-32-16-3-2-9-2-16-8-17-9-6-5-23-11-8-5-5-4-14-7-6-5-14-7-6-5-6-3-6-5-6-3-6-5-6-3-8-7v-2l-7-2-7-6-6-3-10-10-7-4-8-7-9-8-6-3-17-17-5-4-5-2-84-84-3-6-11-12-10-10-3-6-11-12-3-4-3-5-9-10-4-5-3-5-5-7-3-5-9-11-3-5-6-9-7-10-7-11-8-14-5-7-6-12-6-8-8-16-7-13-5-7-8-16-8-17-3-9-8-16-9-19-7-21-5-11-5-14-4-10-15-45-3-12-6-20-5-22-2-5-2-15-3-10-3-12-2-18-2-5-2-19-2-8-2-20-2-5-1-36-3-1v-175l3-3%201-30%201-7%202-4%201-20%203-7%201-16%203-12%202-16%205-18%203-18%202-5%202-11%205-18%205-16%203-12%2016-48%204-8%204-12%205-11%207-21%2016-32%203-10%2013-26%2012-20%204-8%208-15%205-7%206-12%206-8%206-12%206-8%206-9%207-11%203-3%203-6%208-9%206-10%203-3%203-6%2013-14%203-6%208-9h2l5-10%207-7%202-3h2l2-4%209-9%202-5%2011-11%202-3h2l2-4h2l2-4%206-5%206-7%206-5%205-6%207-6%202-3h2l2-4h2l2-4h2l2-4h2l2-4h2l1-3%208-7%206-5%206-4%209-9%208-7%205-4%206-4%2012-11%209-6%2011-10%2010-6%2011-8%209-7%2033-22%2017-10%2013-8%207-4%2010-6%2019-10%207-4%2010-6%2019-10%209-4%209-3%2032-16%2011-3%202-2%2010-2%202-2%207-3%2011-3%202-2%207-3%2011-3%202-2%2010-2%202-2%2010-2%202-2%2010-2%202-2%2011-1%205-3%2010-2%202-2%2014-2%203-2%2013-2%204-2%2016-2%202-2%2014-2%203-2%2017-1%205-2%201-1%2018-1%208-3%2025-1%201-3%2038-1zm-323%20644-2%202-11%203-1%201-9%202-19%2010-8%208-5%202-12%2011-2%202-2%206-7%207-6%2010-5%2011-3%209-3%2011-2%203v52l3%207%205%2017%209%2017%2010%2012%203%205%204%205h2v2l9%206%2011%209%2019%2010%209%202%203%202%209%201v2l4%201h48l5-3%2010-2%202-2%2010-2%2017-9%2011-9%206-4%207-6%204-5%203-6%208-9%205-9%205-14%207-21v-48l-4-11-6-17-7-14-9-10-3-6-9-10-11-7-9-8-16-8-11-3-6-2-7-3zm768%200-2%202-11%203-1%201-9%202-19%2010-8%208-5%202-12%2011-2%202-2%206-7%207-6%2010-5%2011-3%209-3%2011-2%203v52l3%207%205%2017%209%2017%2010%2012%203%205%204%205h2v2l9%206%2011%209%2019%2010%209%202%203%202%209%201v2l4%201h48l5-3%2010-2%202-2%2010-2%2017-9%2011-9%206-4%207-6%204-5%203-6%208-9%205-9%205-14%207-21v-48l-4-11-6-17-7-14-9-10-3-6-9-10-11-7-9-8-16-8-11-3-6-2-7-3zm-424%20640-2%202-24%202-4%202-22%202-6%202-15%203-1%201-12%202-4%202-12%202-4%202-12%202-11%205-11%203-14%206-11%203-6%202-10%204-52%2026-18%2010-8%205-12%207-8%205-9%205-10%209-6%203-10%209-6%203-10%209-6%203-12%2011-19%2019-5%202-10%209-7%208-2%205-3%203v2h-2l-3%2011-2%203v32l9%2017%208%209%208%207%208%205%203%201v2l2%201%2014%201v2l4%201h8l5-3%2012-1%2011-6%2011-9%206-4%2017-17%208-7%205-4%206-4%2010-8%2016-12%206-4%2013-8%207-4%2010-6%2017-9%205-4%2010-3%2019-10%208-4%209-2%202-2%2010-2%202-2%2010-2%202-2%2010-2%202-2%2010-2%203-2%2013-2%206-2%2014-2%206-2%2014-2%207-2%2019-1%207-2%201-1h110l1%202%2010%201%2022%201v2l20%203%207%202%2013%202%205%202%2011%202%208%203%2016%205%208%203%2016%205%208%203%2013%206%2048%2024%2010%206%208%205%209%205%204%202%201%203%2011%207%209%206%2011%209%209%206%205%205h2l2%204h2l2%204h2l2%204h2l2%204h2v2l8%207%2011%207%206%204h3v2l2%201h9l5%202%203%202%208-1%202-2%2012-1%2016-8%209-7%204-5%205-5%204-8%205-11v-30l-3-6-2-7-6-8-3-5-9-10-7-6-6-3-25-25-5-4-6-3-10-9-6-3-10-9-6-3-10-9-7-3-8-5-5-4-14-7-6-5-23-11-17-9-23-11-10-5-10-3-35-12-14-5-51-13-22-4-21-3-19-2-7-2z'%20fill='%23C66021'/%3e%3c/svg%3e", Ys = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20version='1.1'%20viewBox='0%200%202048%202048'%20width='512'%20height='512'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20transform='translate(936)'%20d='m0%200h176v3h16l20%201%2010%203%2017%201%2012%203%2014%201%208%203%2016%201%207%203%2012%202%207%202%2013%202%205%202%2011%202%205%202%2011%202%209%203%208%203%2011%202%208%203%2016%205%209%203%2011%204%2012%205%208%203%2012%205%209%203%207%203%209%203%2032%2016%2012%204%2016%208%2015%208%209%206%2016%208%2011%206%209%206%2011%206%209%206%2011%206%209%206%2010%207%2021%2014v2l4%202%2011%207%2010%207%207%206v2l4%202%209%206%207%206v2l4%202%209%206%207%206%204%204v2l4%202%207%206%206%204%207%206%204%204v2h2v2h2v2l4%202v2l4%202v2l4%202v2h2v2h2v2h2v2h2l6%207%206%205%206%207%206%205%206%207%206%205%207%208%205%206%203%205%205%205v2h2v2h2l7%208%205%206%203%205%201%203%203%201%209%2011%203%205%209%2010%204%205%203%205%207%2011%2010%2012%203%205%207%2011%206%209%207%2010%209%2016%206%209%206%2011%205%208%2012%2023%207%2011%208%2015%208%2018%205%2013%2010%2019%205%2012%207%2020%205%2012%205%2013%206%2015%203%2010%203%2011%203%207%202%207%202%206%201%208%203%207%202%207%202%206%201%209%202%202%202%2014%202%202%202%2018%202%202%202%2014%202%202%201%206%201%2016%202%201%202%2023%202%202%201%206v21l4%201%201%2038%203%201v175l-3%202-1%2034-2%205-1%201-2%2026-2%202-1%2018-2%205-1%201-1%2018-1%205h-2l-1%2012-3%205-1%2014-1%205h-2l-1%2012-3%206-2%2014h-2l-1%209-3%205-2%2013-2%203-2%209-3%209-3%207-6%2020-5%2010-3%2010-6%2013-5%2015-4%2010-8%2016-7%2015-6%2015-10%2019-4%207-6%2010-10%2019-3%206-6%209-6%2011-5%207-6%2012-6%208-4%206-7%2011-5%206-2%205-4%205-5%205-3%206-6%207-2%205-8%209-4%204h-2l-2%207-8%209-4%204h-2l-2%207-9%209-7%208-5%204-3%207-85%2085h-5l-2%204-8%207-13%2013-5%202-10%209-6%205-7%204-11%2011-6%203-8%206-7%204-8%207-9%206-11%207-9%206-7%205-11%206-13%208-12%207-7%204-12%207-14%207-7%205-16%208-19%209-6%202-25%2012-11%205-18%206-17%207-13%205-7%203-36%2012-23%207-11%203-24%206-23%205-25%206-20%203-11%202-25%204-22%203-33%202-1%203h-176l-1-3-38-2-9-2-39-6-33-6-41-9-34-9-36-11-29-10-35-14-7-3-9-2-32-16-3-2-9-2-16-8-17-9-6-5-23-11-8-5-5-4-14-7-6-5-14-7-6-5-6-3-6-5-6-3-6-5-6-3-8-7v-2l-7-2-7-6-6-3-10-10-7-4-8-7-9-8-6-3-17-17-5-4-5-2-84-84-3-6-11-12-10-10-3-6-11-12-3-4-3-5-9-10-4-5-3-5-5-7-3-5-9-11-3-5-6-9-7-10-7-11-8-14-5-7-6-12-6-8-8-16-7-13-5-7-8-16-8-17-3-9-8-16-9-19-7-21-5-11-5-14-4-10-15-45-3-12-6-20-5-22-2-5-2-15-3-10-3-12-2-18-2-5-2-19-2-8-2-20-2-5-1-36-3-1v-175l3-3%201-30%201-7%202-4%201-20%203-7%201-16%203-12%202-16%205-18%203-18%202-5%202-11%205-18%205-16%203-12%2016-48%204-8%204-12%205-11%207-21%2016-32%203-10%2013-26%2012-20%204-8%208-15%205-7%206-12%206-8%206-12%206-8%206-9%207-11%203-3%203-6%208-9%206-10%203-3%203-6%2013-14%203-6%208-9h2l5-10%207-7%202-3h2l2-4%209-9%202-5%2011-11%202-3h2l2-4h2l2-4%206-5%206-7%206-5%205-6%207-6%202-3h2l2-4h2l2-4h2l2-4h2l2-4h2l1-3%208-7%206-5%206-4%209-9%208-7%205-4%206-4%2012-11%209-6%2011-10%2010-6%2011-8%209-7%2033-22%2017-10%2013-8%207-4%2010-6%2019-10%207-4%2010-6%2019-10%209-4%209-3%2032-16%2011-3%202-2%2010-2%202-2%207-3%2011-3%202-2%207-3%2011-3%202-2%2010-2%202-2%2010-2%202-2%2010-2%202-2%2011-1%205-3%2010-2%202-2%2014-2%203-2%2013-2%204-2%2016-2%202-2%2014-2%203-2%2017-1%205-2%201-1%2018-1%208-3%2025-1%201-3%2038-1zm-424%20579-18%201-19%2010-12%2012-4%207-7%2014v35l9%2017%2011%2012%208%207%209%206%207%207%208%207%209%206%206%205%205%205%209%206%206%205%205%205%209%206%205%205h2v2l9%206%208%207%205%205h2v2l9%206%208%207%202%202%201%205-4%202-5%205-6%203-10%209-24%2024v2h-2l-3%207-6%207-3%206-6%209-7%2014-6%2020-2%203-2%2013-2%202v69l2%203%203%2015%204%2012%205%2013%207%2012%2010%2017%207%2010%209%2010%2018%2018%2010%208%209%206%2016%209%209%206%206%203%209%202%209%203%207%203%2010%201%206%203h62l6-2%201-1%2011-1%205-3%2010-2%202-2%2010-2%209-5%209-6%2011-6%209-6%2011-9%2013-13%205-6%205-5%205-6%206-9%206-10%203-6%206-9%204-11%207-20%201-9%203-8v-65l-3-5-2-13-3-8-6-17-8-16-6-10-6-7-4-6-9-10-26-26-5-4-6-3-13-13-5-4-6-3-9-9-5-4-6-3-9-9-5-4-6-3-9-9-5-4-6-3-13-13-5-4-6-3-9-9-5-4-6-3-9-9-5-4-6-3-9-9-5-4-6-3-13-13-5-4-6-3-10-10-7-4-8-7-9-8-6-3-10-10-7-4-11-9-5-3-13-7zm1006%201-19%2010-8%208-6%203-10%209-6%205-7%204-11%2011-6%203-10%209-6%205-5%203-10%209-8%208-5%202-10%209-6%205-7%204-11%2011-6%203-10%209-5%205-5%202-12%2011-7%207-5%202-10%209-6%205-7%204-11%2011-6%203-10%209-6%205-7%204-11%2011-6%203-10%209-36%2036-4%207-7%2010-12%2024-3%2010-4%2012-2%2010-2%205-1%201v69l2%203%203%2015%204%2012%205%2013%207%2012%2010%2017%207%2010%209%2010%2018%2018%2010%208%209%206%2016%209%209%206%206%203%209%202%209%203%207%203%2010%201%206%203h62l6-2%201-1%2011-1%205-3%2010-2%202-2%2010-2%209-5%209-6%2011-6%209-6%2011-9%2013-13%205-6%205-5%205-6%206-9%206-10%203-6%206-9%204-11%207-20%201-9%203-8v-65l-3-5-2-13-3-8-6-17-7-14-6-8-3-5-5-7-3-5-9-10-22-22-5-4-6-3-5-5h-2l-1-4%203-5%208-6%206-4%208-7v-2l4-2%206-5%206-4%2012-11%208-5%2012-11%208-5%2012-11%208-5%207-6%205-5%206-5%209-6v-2l4-2%201-3%204-2%207-9%207-14%201-4v-32l-8-17-12-13-8-6-14-7zm-495%20827-4%204-53%201-3%202-23%202-5%202-16%202-5%202-15%202-4%202-15%203-42%2014-10%204-19%209-3%202-8%202-20%2011-4%203-14%207-18%2010-7%207-8%204-11%208-7%205-5%203-10%209-7%207-6%203-10%209-16%2016-4%207-7%2013v36l9%2017%209%2010h2v2l9%206%2013%207h34l19-9%2013-12%209-6%209-9%209-7%2018-12%208-7%2023-12%209-6%2016-8%205-3%209-2%202-2%207-3%2011-3%202-2%2010-2%202-2%2010-2%203-2%2013-2%203-2%2013-2%204-2%2016-1%205-2%201-1h110l1%202%204%201%2016%201%208%203%2012%202%205%202%2011%202%208%203%2016%205%208%203%2016%207%2011%204%2016%208%209%206%2019%2010%206%204%203%201%201%203%2011%207%209%206%208%207%206%205%205%205%209%206%205%205h2v2l9%206%2013%207h34l19-9%2010-9%207-9%207-14%201-3v-34l-9-17-11-12-13-13-5-4-6-3-14-14-7-4-9-7-6-3-6-5-6-3-6-5-6-3-6-5-21-10-7-6-16-8-9-2-28-14-10-3-36-12-30-7-29-6-23-2-7-2-51-1-2-4z'%20fill='%23CA2E22'/%3e%3c/svg%3e", Js = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20version='1.1'%20viewBox='0%200%202048%202048'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20transform='translate(988)'%20d='m0%200h72l44%202%2048%205%2035%205%2044%208%2035%208%2042%2011%2029%209%2021%207%2023%208%2010%204%2032%2013%2019%208%2015%207%2032%2016%2027%2014%2023%2013%2023%2014%2019%2012%2012%208%2016%2011%2017%2012%206%204v2l5%202%2014%2011%2010%208%2014%2011%2013%2011%2012%2011%2011%209%208%208%208%207%2048%2048%207%208%2011%2012%207%208%2011%2013%2011%2014%2010%2012%2010%2013%205%207v2h2l12%2017%2011%2016%2010%2015%2014%2022%209%2015%2011%2019%209%2016%2015%2029%2013%2026%2013%2029%2011%2027%208%2020%209%2026%207%2021%2011%2037%207%2027%206%2025%208%2040%206%2039%203%2024%204%2038%202%2044v72l-2%2044-5%2048-5%2035-8%2044-8%2035-11%2042-9%2029-7%2021-10%2028-15%2037-11%2025-16%2033-12%2024-11%2020-14%2024-13%2021-9%2014-10%2015-9%2013-13%2018-1%202h-2l-2%205-11%2014-8%2010-11%2014-11%2013-10%2011-9%2011-9%209-7%208-48%2048-8%207-11%2010-8%207-10%209-9%207-16%2013-14%2011-11%208h-2v2l-17%2012-16%2011-15%2010-19%2012-18%2011-17%2010-10%206-12%206-19%2010-32%2016-29%2013-27%2011-15%206-17%206-20%207-25%208-34%2010-36%209-39%208-41%207-32%204-38%204-44%202h-72l-44-2-48-5-35-5-44-8-35-8-42-11-29-9-21-7-23-8-10-4-32-13-19-8-15-7-32-16-27-14-23-13-23-14-19-12-12-8-16-11-17-12-6-4v-2l-5-2-14-11-10-8-14-11-13-11-12-11-11-9-8-8-8-7-48-48-7-8-11-12-7-8-11-13-11-14-10-12-10-13-5-7v-2h-2l-12-17-11-16-10-15-14-22-9-15-11-19-9-16-15-29-13-26-13-29-11-27-8-20-9-26-7-21-11-37-7-27-6-25-8-40-6-39-3-24-4-38-2-44v-72l2-44%205-48%205-35%208-44%208-35%2011-42%209-29%207-21%2010-28%2015-37%2011-25%2016-33%2013-26%2010-18%2014-24%2013-21%209-14%2010-15%209-13%2013-18%201-2h2l2-5%2011-14%208-10%2011-14%2011-13%2010-11%209-11%209-9%207-8%2048-48%208-7%2011-10%208-7%2010-9%209-7%2016-13%2014-11%2011-8h2v-2l17-12%2016-11%2015-10%2019-12%2021-13%2023-13%2022-12%2032-16%2021-10%2030-13%2030-12%2017-6%2020-7%2025-8%2034-10%2036-9%2039-8%2041-7%2032-4%2038-4zm-288%20579-17%203-20%206-16%208-14%209-13%2011-8%208-10%2013-10%2017-6%2015-5%2018-2%2013v25l3%2018%207%2021%2011%2021%2010%2013%2011%2012%2011%209%2013%209%2019%209%2016%205%2016%203h33l16-3%2018-6%2016-8%2011-7%2010-8%2016-16%209-13%206-10%208-19%205-18%202-16v-18l-2-15-6-21-5-12-7-13-11-15-12-13-14-11-13-8-17-8-21-6-13-2zm623%200-17%203-17%205-21%2010-13%209-14%2012-10%2011-12%2018-8%2017-5%2016-3%2016-1%208v18l2%2015%206%2021%208%2018%207%2011%209%2012%2017%2017%2013%209%2010%206%2019%208%2018%205%208%201h33l16-3%2016-5%2019-9%2017-12%2014-13%2011-14%208-13%208-17%206-21%202-13v-25l-3-18-7-21-8-16-8-12-11-13-8-8-13-10-17-10-15-6-18-5-13-2zm-859%20378-16%203-12%205-10%207-9%208-7%2010-6%2013-2%206-1%207v34l1%2021%205%2044%205%2028%206%2028%205%2020%209%2028%2010%2029%2013%2031%207%2015%2014%2027%2012%2021%206%209%205%209%2013%2019%2012%2017%2011%2014%2014%2017%2011%2012%209%2011%2030%2030%2011%209%207%207%2011%209%2016%2013%2019%2014%2027%2018%2031%2019%2014%207%2019%2010%2029%2013%2025%2010%2033%2011%2021%206%2028%207%2031%206%2020%203%2036%204%2021%201h52l21-1%2044-5%2028-5%2028-6%2020-5%2028-9%2029-10%2031-13%2015-7%2029-15%2019-11%209-6%209-5%2019-13%2017-12%2014-11%2017-14%2012-11%2011-9%2030-30%209-11%207-7%209-11%2013-16%2014-19%2018-27%208-13%2010-17%2014-26%209-19%2013-30%2011-30%208-26%205-18%208-36%206-36%204-36%201-21v-34l-2-10-5-13-7-10-8-9-10-7-12-6-12-3-14-1-17%203-16%208-6%204v2l-3%201v2l-4%202-8%2011-5%2010-3%2010-1%208-2%2046-3%2028-6%2035-8%2032-12%2036-13%2031-13%2027-9%2016-14%2023-20%2028-8%2010-9%2011-13%2015-32%2032-11%209-12%2010-14%2011-13%209-15%2010-25%2015-29%2015-19%208-11%205-23%208-15%205-25%207-29%206-19%203-28%203-22%201h-36l-34-2-35-5-29-6-29-8-34-12-25-11-25-12-18-10-19-12-12-8-22-16-11-9-15-13-8-7-30-30-9-11-10-12-10-13-10-14-10-15-9-15-8-14-13-25-14-33-7-20-5-15-7-26-4-18-5-29-3-28-2-46-2-12-5-13-7-10-5-6h-2l-1-3h-2v-2l-13-8-13-5-13-2z'%20fill='%233A8C03'/%3e%3c/svg%3e", Gs = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20version='1.1'%20viewBox='0%200%202048%202048'%20width='512'%20height='512'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20transform='translate(936)'%20d='m0%200h176v3h16l20%201%2010%203%2017%201%2012%203%2014%201%208%203%2016%201%207%203%2012%202%207%202%2013%202%205%202%2011%202%205%202%2011%202%209%203%208%203%2011%202%208%203%2016%205%209%203%2011%204%2012%205%208%203%2012%205%209%203%207%203%209%203%2032%2016%2012%204%2016%208%2015%208%209%206%2016%208%2011%206%209%206%2011%206%209%206%2011%206%209%206%2010%207%2021%2014v2l4%202%2011%207%2010%207%207%206v2l4%202%209%206%207%206v2l4%202%209%206%207%206%204%204v2l4%202%207%206%206%204%207%206%204%204v2h2v2h2v2l4%202v2l4%202v2l4%202v2h2v2h2v2h2v2h2l6%207%206%205%206%207%206%205%206%207%206%205%207%208%205%206%203%205%205%205v2h2v2h2l7%208%205%206%203%205%201%203%203%201%209%2011%203%205%209%2010%204%205%203%205%207%2011%2010%2012%203%205%207%2011%206%209%207%2010%209%2016%206%209%206%2011%205%208%2012%2023%207%2011%208%2015%208%2018%205%2013%2010%2019%205%2012%207%2020%205%2012%205%2013%206%2015%203%2010%203%2011%203%207%202%207%202%206%201%208%203%207%202%207%202%206%201%209%202%202%202%2014%202%202%202%2018%202%202%202%2014%202%202%201%206%201%2016%202%201%202%2023%202%202%201%206v21l4%201%201%2038%203%201v175l-3%202-1%2034-2%205-1%201-2%2026-2%202-1%2018-2%205-1%201-1%2018-1%205h-2l-1%2012-3%205-1%2014-1%205h-2l-1%2012-3%206-2%2014h-2l-1%209-3%205-2%2013-2%203-2%209-3%209-3%207-6%2020-5%2010-3%2010-6%2013-5%2015-4%2010-8%2016-7%2015-6%2015-10%2019-4%207-6%2010-10%2019-3%206-6%209-6%2011-5%207-6%2012-6%208-4%206-7%2011-5%206-2%205-4%205-5%205-3%206-6%207-2%205-8%209-4%204h-2l-2%207-8%209-4%204h-2l-2%207-9%209-7%208-5%204-3%207-85%2085h-5l-2%204-8%207-13%2013-5%202-10%209-6%205-7%204-11%2011-6%203-8%206-7%204-8%207-9%206-11%207-9%206-7%205-11%206-13%208-12%207-7%204-12%207-14%207-7%205-16%208-19%209-6%202-25%2012-11%205-18%206-17%207-13%205-7%203-36%2012-23%207-11%203-24%206-23%205-25%206-20%203-11%202-25%204-22%203-33%202-1%203h-176l-1-3-38-2-9-2-39-6-33-6-41-9-34-9-36-11-29-10-35-14-7-3-9-2-32-16-3-2-9-2-16-8-17-9-6-5-23-11-8-5-5-4-14-7-6-5-14-7-6-5-6-3-6-5-6-3-6-5-6-3-8-7v-2l-7-2-7-6-6-3-10-10-7-4-8-7-9-8-6-3-17-17-5-4-5-2-84-84-3-6-11-12-10-10-3-6-11-12-3-4-3-5-9-10-4-5-3-5-5-7-3-5-9-11-3-5-6-9-7-10-7-11-8-14-5-7-6-12-6-8-8-16-7-13-5-7-8-16-8-17-3-9-8-16-9-19-7-21-5-11-5-14-4-10-15-45-3-12-6-20-5-22-2-5-2-15-3-10-3-12-2-18-2-5-2-19-2-8-2-20-2-5-1-36-3-1v-175l3-3%201-30%201-7%202-4%201-20%203-7%201-16%203-12%202-16%205-18%203-18%202-5%202-11%205-18%205-16%203-12%2016-48%204-8%204-12%205-11%207-21%2016-32%203-10%2013-26%2012-20%204-8%208-15%205-7%206-12%206-8%206-12%206-8%206-9%207-11%203-3%203-6%208-9%206-10%203-3%203-6%2013-14%203-6%208-9h2l5-10%207-7%202-3h2l2-4%209-9%202-5%2011-11%202-3h2l2-4h2l2-4%206-5%206-7%206-5%205-6%207-6%202-3h2l2-4h2l2-4h2l2-4h2l2-4h2l1-3%208-7%206-5%206-4%209-9%208-7%205-4%206-4%2012-11%209-6%2011-10%2010-6%2011-8%209-7%2033-22%2017-10%2013-8%207-4%2010-6%2019-10%207-4%2010-6%2019-10%209-4%209-3%2032-16%2011-3%202-2%2010-2%202-2%207-3%2011-3%202-2%207-3%2011-3%202-2%2010-2%202-2%2010-2%202-2%2010-2%202-2%2011-1%205-3%2010-2%202-2%2014-2%203-2%2013-2%204-2%2016-2%202-2%2014-2%203-2%2017-1%205-2%201-1%2018-1%208-3%2025-1%201-3%2038-1zm-323%20644-2%202-11%203-1%201-9%202-19%2010-8%208-5%202-12%2011-2%202-2%206-7%207-6%2010-5%2011-3%209-3%2011-2%203v52l3%207%205%2017%209%2017%2010%2012%203%205%204%205h2v2l9%206%2011%209%2019%2010%209%202%203%202%209%201v2l4%201h48l5-3%2010-2%202-2%2010-2%2017-9%2011-9%206-4%207-6%204-5%203-6%208-9%205-9%205-14%207-21v-48l-4-11-6-17-7-14-9-10-3-6-9-10-11-7-9-8-16-8-11-3-6-2-7-3zm768%200-2%202-11%203-1%201-9%202-19%2010-8%208-5%202-12%2011-2%202-2%206-7%207-6%2010-5%2011-3%209-3%2011-2%203v52l3%207%205%2017%209%2017%2010%2012%203%205%204%205h2v2l9%206%2011%209%2019%2010%209%202%203%202%209%201v2l4%201h48l5-3%2010-2%202-2%2010-2%2017-9%2011-9%206-4%207-6%204-5%203-6%208-9%205-9%205-14%207-21v-48l-4-11-6-17-7-14-9-10-3-6-9-10-11-7-9-8-16-8-11-3-6-2-7-3zm-676%20764-2%202-17%202-19%2010-12%2012-4%207-6%2011-1%205v31l5%2012%205%208%208%209h2v2l9%206%2014%207%2017%201v2l4%201h628l8-1%201-2%2015-1%2011-5%209-5%2010-9v-2h2l6-10%205-10%201-3v-33l-8-17-12-13-8-6-14-7-11-1h-7v-2l-2-1z'%20fill='%23E8A654'/%3e%3c/svg%3e", Ks = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20version='1.1'%20viewBox='0%200%202048%202048'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20transform='translate(932)'%20d='m0%200h184v3h15l18%201%203%201v2l28%201%209%203%2016%201%208%203%2012%201%208%203%2011%202%207%202%2013%202%205%202%2011%202%205%202%2011%202%209%203%2010%203%209%202%208%203%2016%205%209%203%207%203%2021%207%2011%205%2011%204%209%204%2011%204%2024%2012%2010%203%2046%2023%208%206%2016%208%209%206%2016%209%209%206%2011%206%209%206%2010%207%2021%2014v2l4%202%2011%207%2010%207%207%206v2l4%202%2012%208v2l4%202%209%206%207%206%204%204v2l4%202%207%206%206%204%207%206%204%204v2h2v2h2v2l4%202v2l4%202v2l4%202v2l4%202v2h2v2h2l6%207%206%205%206%207%206%205%206%207%206%205%206%207%2013%2013%203%206%206%206v2h2v2h2l7%208%205%206%203%205%209%2011%203%205%209%2010%204%205%203%205%207%2011%2010%2012%203%205%207%2011%206%209%207%2010%208%2014%207%2011%206%209%208%2015%206%2012%206%209%208%2015%209%2019%206%2012%206%2016%208%2016%2011%2027%208%2020%2010%2030%203%2011%203%207%202%207%202%206%201%208%203%207%202%207%202%206%201%209%202%202%202%2014%202%202%202%2014%202%202%202%2018%202%202%202%2018%202%201%202%2023%202%201%201%207v25l4%201%201%2035h3v183l-3%202-1%2030-2%205-1%201-1%2022-1%208-2%202-1%2018-2%205-1%201-1%2015-1%204h-2l-1%2012-3%205-1%2015-1%204h-2l-1%2012-3%206-2%2014h-2l-1%209-3%205-2%2013-2%203-2%209-3%209-3%207-3%2010-4%2012-3%2010-6%2013-4%2011-10%2024-8%2016-8%2020-8%2016-10%2019-4%207-6%2010-9%2017-6%209-6%2011-5%207-6%2012-6%208-4%206-7%2011-5%206-2%205-4%205-5%205-3%206-6%207-2%205-8%209-4%204h-2l-2%207-10%2011-2%205-7%207-1%202h-2l-2%204-8%207-4%208-93%2093h-5l-2%204-8%207-12%2012-6%203-10%209-6%203-10%209-4%204-6%203-8%206-7%204-8%207-9%206-11%207-9%206-7%205-11%206-9%206-11%206-9%206-12%206-13%208-19%2010-26%2013-20%208-22%2011-17%206-7%203-17%206-15%206-36%2012-23%207-11%203-24%206-54%2012-23%204-14%202-13%202-22%203-29%202-1%203h-184l-1-3-34-2-9-2-39-6-33-6-41-9-34-9-36-11-29-10-15-6-17-6-10-5-9-2-16-8-11-6-9-2-32-16-17-9-6-5-21-10-7-6-14-7-6-5-14-7-6-5-6-3-6-5-6-3-6-5-6-3-8-7v-2l-7-2-7-6-6-3-9-9-5-4-6-3-10-9-6-3-17-17-5-4-5-2-92-92-3-6-11-12-10-10-3-6-9-10-3-6-11-12-3-4-3-5-5-7-3-5-9-11-3-5-6-9-7-10-7-11-8-14-5-7-6-12-6-8-7-14-12-20-13-26-5-12-4-10-11-22-5-12-5-13-6-16-5-14-4-10-15-45-3-12-6-20-5-22-3-10-4-18-1-8-2-5-2-15-2-6-2-18-2-9-1-17-2-7-1-4-1-32-3-1v-183l3-3%201-26%202-8%201-3%201-23%203-7%201-17%203-11%202-13%202-6%202-14%205-18%208-32%205-16%203-12%2020-60%204-8%204-12%204-8%204-12%2012-24%203-10%2011-23%2011-20%203-6%205-7%208-16%207-13%205-7%206-12%206-8%206-9%207-11%207-10%204-5%203-6%208-9%206-10%203-3%203-6%2012-13%205-8%208-9%203-6%208-9h2l2-4%209-9%202-5%2011-11%202-3h2l2-4h2l2-4%206-5%206-7%206-5%205-6%207-6%205-6%205-5h2l2-4h2l2-4h2l2-4h2l2-4h2l1-3%208-7%206-5%206-4%209-9%208-7%205-4%206-4%2010-8%208-6%2010-9%2010-6%2011-8%209-7%2048-32%2014-8%2010-6%2019-10%207-4%2010-6%2019-10%2023-11%2010-3%2019-10%208-4%209-2%2011-6%209-2%202-2%207-3%2011-3%202-2%2010-2%202-2%2010-2%202-2%2010-2%202-2%2010-2%202-2%2011-1%205-3%2010-2%202-2%2014-2%203-2%2013-2%202-2%2011-1%206-3%2013-1%205-2%201-1%2017-1%206-2%201-1%2015-1%204-2%206-1%2026-1%201-3%2034-1zm-219%20608-2%202-17%202-3%202-10%202-2%202-9%202-11%206-5%204-9%206-18%2018-4%207-7%2010-8%2015-5%2013-3%208v55l3%207%205%2017%209%2017%209%2010%203%206%204%205%2011%207%204%202%201%203%2011%207%209%206%206%203%209%202%203%202%209%201v2l4%201h48l5-3%2010-2%202-2%2010-2%209-5%209-6%2010-8%203-3%205-2%205-5%202-5%207-7%207-9%204-7%205-14%207-21v-53l-3-6-3-9-8-16-6-10-6-9-9-10-7-7-7-4-9-7-23-11-12-4-1-1-17-2-5-2zm600%200-2%202-17%202-3%202-10%202-2%202-9%202-8%206-7%204-4%203v2l-5%201-12%2011-7%207-4%207-7%2010-8%2015-5%2013-3%2010v53l3%207%206%2018%204%208%206%209%2012%2015%203%205%205%204%206%204%203%201%201%203%2011%207%209%206%206%203%209%202%203%202%209%201v2l4%201h48l5-3%2010-2%202-2%2010-2%209-5%209-6%2010-8%203-3%205-2%205-5%202-5%207-7%207-9%204-7%205-14%207-21v-53l-3-6-3-9-8-16-6-10-6-9-9-10-7-7-7-4-9-7-23-11-12-4-1-1-17-2-5-2zm-807%20604-19%2010-12%2012-4%207-6%2012-2%2012-3%205v8l3%205%201%2011%205%209%209%2010%203%206%205%205%208%209h2l2%204h2l2%204%2012%2012%203%206%2010%2010%2010%207%209%209h2l2%204h2l2%204h2l2%204h2v2l8%207%209%206%205%205h2v2l9%206%205%204h2v2l9%206%2010%207%206%204%208%207%2014%207%208%206%2013%207%209%206%2062%2031%209%203%209%204%2010%205%209%202%208%203%2016%205%208%203%2016%205%209%203%208%203%2011%202%205%202%2011%202%207%202%2013%202%207%202%2015%201%207%203%2023%201v2l9%201%2030%201%201%202%204%201h77l7-2%201-1%2028-1%2010-1%202-2%2021-1%206-2%201-1%2017-1%206-2%201-1%2018-2%202-2%2014-2%202-2%2014-2%202-2%2010-2%202-2%2011-1%205-3%2010-2%202-2%2010-2%202-2%207-3%2011-3%202-2%208-3%207-2%2023-11%2038-19%2015-8%209-6%2011-6%209-6%2011-6%209-8%208-5%2011-7%209-8%208-5%2012-11%208-5%2013-13%206-5%205-5v-2l4-2%205-5%206-3%2012-12%202-5%2011-11%205-6%206-5%207-8%205-5%203-6%208-9%205-10%201-11%203-4v-7l-3-7-2-11-8-16-11-12-8-6-14-7h-33l-2%202-9%202-11%206-14%2014-3%207-42%2042v2l-4%202-18%2018-5%202-12%2011-4%203-7%204-7%207-6%203-10%209-6%203-9%206-14%208-4%203-12%206-13%208-19%2010-9%203-19%209-14%205-10%204-7%203-11%203-6%202-7%203-12%202-8%203-9%203-15%202-4%202-16%202-4%202-21%202-3%202-31%202h-7l-1%203h-70l-10-1-2-2-24-1-34-5-44-9-29-8-35-12-25-10-5-3-7-3-6-2-5-2-4-2-1-3-10-2-3-3h-2v-2l-17-8-8-5-5-4-7-3-10-6-3-3-6-3-7-6-3-3-6-3-7-6-3-3-6-3-9-9-5-4-5-2-63-63-3-6-9-10-7-4-9-7-9-2-3-2z'%20fill='%238CBF50'/%3e%3c/svg%3e", G0 = (t) => (Dn("data-v-1d95bdac"), t = t(), Ln(), t), K0 = { class: "messages-container-list" }, Q0 = { class: "message-container" }, X0 = {
|
6972
6972
|
key: 0,
|
6973
6973
|
class: "btn-container-widget"
|
6974
6974
|
}, el = ["onClick"], tl = { class: "chat-message" }, nl = {
|
@@ -7006,7 +7006,7 @@ const J0 = /* @__PURE__ */ ce(z0, [["render", Y0]]), Hs = "data:image/svg+xml,%3
|
|
7006
7006
|
function o(f, w) {
|
7007
7007
|
return !f.response || typeof f.response != "object" ? !0 : w.iconUnicode === f.response.message;
|
7008
7008
|
}
|
7009
|
-
|
7009
|
+
Ki(() => {
|
7010
7010
|
n.canLoadMoreMessages || r();
|
7011
7011
|
}), Mn(
|
7012
7012
|
() => n.canLoadMoreMessages,
|
@@ -7032,34 +7032,34 @@ const J0 = /* @__PURE__ */ ce(z0, [["render", Y0]]), Hs = "data:image/svg+xml,%3
|
|
7032
7032
|
return !w || Array.isArray(w) && w.length === 0 ? f : w.reduce((m, S) => m.replace(S.regex, (T, I) => /--custom-tag/.test(T) ? T : S.tag.replace(/{val}/g, I)), f).replace(/--custom-tag/g, "");
|
7033
7033
|
}
|
7034
7034
|
const c = [
|
7035
|
-
{ label: "Excelente", value: 1, icon:
|
7036
|
-
{ label: "Buena", value: 2, icon:
|
7037
|
-
{ label: "Aceptable", value: 3, icon:
|
7038
|
-
{ label: "Mala", value: 4, icon:
|
7039
|
-
{ label: "Muy Mala", value: 5, icon:
|
7035
|
+
{ label: "Excelente", value: 1, icon: Js, iconUnicode: "😊" },
|
7036
|
+
{ label: "Buena", value: 2, icon: Ks, iconUnicode: "😄" },
|
7037
|
+
{ label: "Aceptable", value: 3, icon: Gs, iconUnicode: "🙂" },
|
7038
|
+
{ label: "Mala", value: 4, icon: js, iconUnicode: "😐" },
|
7039
|
+
{ label: "Muy Mala", value: 5, icon: Ys, iconUnicode: "🙁" }
|
7040
7040
|
], u = {
|
7041
|
-
"😊":
|
7042
|
-
"😄":
|
7043
|
-
"🙂":
|
7044
|
-
"😐":
|
7045
|
-
"🙁":
|
7041
|
+
"😊": Js,
|
7042
|
+
"😄": Ks,
|
7043
|
+
"🙂": Gs,
|
7044
|
+
"😐": js,
|
7045
|
+
"🙁": Ys,
|
7046
7046
|
"": null
|
7047
7047
|
};
|
7048
|
-
return (f, w) => (
|
7048
|
+
return (f, w) => (M(), D(Gt, null, [
|
7049
7049
|
v("div", {
|
7050
7050
|
ref_key: "target",
|
7051
7051
|
ref: s,
|
7052
7052
|
class: "target"
|
7053
7053
|
}, null, 512),
|
7054
7054
|
v("div", K0, [
|
7055
|
-
(
|
7055
|
+
(M(!0), D(Gt, null, es(n.messages, (d) => {
|
7056
7056
|
var m, S;
|
7057
|
-
return
|
7057
|
+
return M(), D("div", {
|
7058
7058
|
key: d.id,
|
7059
7059
|
class: Ce(["message", d.esCliente ? "message-right" : "message-left"])
|
7060
7060
|
}, [
|
7061
7061
|
v("div", Q0, [
|
7062
|
-
d.error && d.esCliente ? (
|
7062
|
+
d.error && d.esCliente ? (M(), D("div", X0, [
|
7063
7063
|
v("button", {
|
7064
7064
|
text: "",
|
7065
7065
|
rounded: "",
|
@@ -7068,7 +7068,7 @@ const J0 = /* @__PURE__ */ ce(z0, [["render", Y0]]), Hs = "data:image/svg+xml,%3
|
|
7068
7068
|
"aria-label": "Cancel",
|
7069
7069
|
onClick: (T) => e("retry", d)
|
7070
7070
|
}, [
|
7071
|
-
|
7071
|
+
be(J0)
|
7072
7072
|
], 8, el)
|
7073
7073
|
])) : Xe("", !0),
|
7074
7074
|
v("div", tl, [
|
@@ -7078,9 +7078,9 @@ const J0 = /* @__PURE__ */ ce(z0, [["render", Y0]]), Hs = "data:image/svg+xml,%3
|
|
7078
7078
|
v("div", {
|
7079
7079
|
class: Ce(d.esCliente ? "content-right" : "content-left")
|
7080
7080
|
}, [
|
7081
|
-
d.message === "😊😄🙂😐🙁" ? (
|
7081
|
+
d.message === "😊😄🙂😐🙁" ? (M(), D("div", nl, [
|
7082
7082
|
sl,
|
7083
|
-
(
|
7083
|
+
(M(), D(Gt, null, es(c, (T) => v("a", {
|
7084
7084
|
key: T.value,
|
7085
7085
|
href: d.response ? void 0 : "javascript:",
|
7086
7086
|
class: Ce(["btn-icon", { "content-disabled": !o(d, T) }]),
|
@@ -7095,21 +7095,21 @@ const J0 = /* @__PURE__ */ ce(z0, [["render", Y0]]), Hs = "data:image/svg+xml,%3
|
|
7095
7095
|
v("span", null, et(T.label), 1)
|
7096
7096
|
])
|
7097
7097
|
], 10, rl)), 64))
|
7098
|
-
])) : u[d.message ?? ""] ? (
|
7098
|
+
])) : u[d.message ?? ""] ? (M(), D("div", al, [
|
7099
7099
|
v("img", {
|
7100
7100
|
src: u[d.message],
|
7101
7101
|
alt: "icono",
|
7102
7102
|
class: "icon"
|
7103
7103
|
}, null, 8, ll)
|
7104
|
-
])) : (
|
7104
|
+
])) : (M(), D("div", {
|
7105
7105
|
key: 2,
|
7106
7106
|
class: "message-text",
|
7107
7107
|
style: { "white-space": "pre-line" },
|
7108
7108
|
innerHTML: l(d.message)
|
7109
7109
|
}, null, 8, cl)),
|
7110
7110
|
v("div", ul, [
|
7111
|
-
(m = d.sender) != null && m.nombreCompleto ? (
|
7112
|
-
v("span", null, et(
|
7111
|
+
(m = d.sender) != null && m.nombreCompleto ? (M(), D("span", hl, et(d.esCliente ? (S = d.sender) == null ? void 0 : S.nombreCompleto : "ECOSISTEMA JL"), 1)) : (M(), D("span", fl)),
|
7112
|
+
v("span", null, et(lr(b).fromISO(d.createdAt).toFormat(
|
7113
7113
|
"dd-MM-yyyy HH:mm"
|
7114
7114
|
)), 1)
|
7115
7115
|
])
|
@@ -7122,14 +7122,14 @@ const J0 = /* @__PURE__ */ ce(z0, [["render", Y0]]), Hs = "data:image/svg+xml,%3
|
|
7122
7122
|
])
|
7123
7123
|
], 64));
|
7124
7124
|
}
|
7125
|
-
}), ml = /* @__PURE__ */ ce(dl, [["__scopeId", "data-v-1d95bdac"]]), pl = {},
|
7125
|
+
}), ml = /* @__PURE__ */ ce(dl, [["__scopeId", "data-v-1d95bdac"]]), pl = {}, Ii = (t) => (Dn("data-v-d9a6b2b7"), t = t(), Ln(), t), yl = {
|
7126
7126
|
viewBox: "0 0 24 24",
|
7127
7127
|
xmlns: "http://www.w3.org/2000/svg",
|
7128
7128
|
style: { width: "28px", height: "28px" }
|
7129
|
-
}, gl = /* @__PURE__ */
|
7129
|
+
}, gl = /* @__PURE__ */ Ii(() => /* @__PURE__ */ v("path", {
|
7130
7130
|
d: "M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z",
|
7131
7131
|
opacity: ".25"
|
7132
|
-
}, null, -1)), wl = /* @__PURE__ */
|
7132
|
+
}, null, -1)), wl = /* @__PURE__ */ Ii(() => /* @__PURE__ */ v("path", {
|
7133
7133
|
d: "M10.14,1.16a11,11,0,0,0-9,8.92A1.59,1.59,0,0,0,2.46,12,1.52,1.52,0,0,0,4.11,10.7a8,8,0,0,1,6.66-6.61A1.42,1.42,0,0,0,12,2.69h0A1.57,1.57,0,0,0,10.14,1.16Z",
|
7134
7134
|
class: "spinner_ajPY"
|
7135
7135
|
}, null, -1)), vl = [
|
@@ -7137,7 +7137,7 @@ const J0 = /* @__PURE__ */ ce(z0, [["render", Y0]]), Hs = "data:image/svg+xml,%3
|
|
7137
7137
|
wl
|
7138
7138
|
];
|
7139
7139
|
function Sl(t, e) {
|
7140
|
-
return
|
7140
|
+
return M(), D("svg", yl, vl);
|
7141
7141
|
}
|
7142
7142
|
const bl = /* @__PURE__ */ ce(pl, [["render", Sl], ["__scopeId", "data-v-d9a6b2b7"]]);
|
7143
7143
|
function kl(t, e, n) {
|
@@ -7157,29 +7157,29 @@ const At = /* @__PURE__ */ Object.create(null);
|
|
7157
7157
|
Object.keys(de).forEach((t) => {
|
7158
7158
|
At[de[t]] = t;
|
7159
7159
|
});
|
7160
|
-
const On = { type: "error", data: "parser error" },
|
7160
|
+
const On = { type: "error", data: "parser error" }, Mi = typeof Blob == "function" || typeof Blob < "u" && Object.prototype.toString.call(Blob) === "[object BlobConstructor]", Ri = typeof ArrayBuffer == "function", Di = (t) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(t) : t && t.buffer instanceof ArrayBuffer, Yn = ({ type: t, data: e }, n, s) => Mi && e instanceof Blob ? n ? s(e) : Qs(e, s) : Ri && (e instanceof ArrayBuffer || Di(e)) ? n ? s(e) : Qs(new Blob([e]), s) : s(de[t] + (e || "")), Qs = (t, e) => {
|
7161
7161
|
const n = new FileReader();
|
7162
7162
|
return n.onload = function() {
|
7163
7163
|
const s = n.result.split(",")[1];
|
7164
7164
|
e("b" + (s || ""));
|
7165
7165
|
}, n.readAsDataURL(t);
|
7166
7166
|
};
|
7167
|
-
function
|
7167
|
+
function Xs(t) {
|
7168
7168
|
return t instanceof Uint8Array ? t : t instanceof ArrayBuffer ? new Uint8Array(t) : new Uint8Array(t.buffer, t.byteOffset, t.byteLength);
|
7169
7169
|
}
|
7170
7170
|
let fn;
|
7171
7171
|
function Tl(t, e) {
|
7172
|
-
if (
|
7173
|
-
return t.data.arrayBuffer().then(
|
7174
|
-
if (
|
7175
|
-
return e(
|
7176
|
-
|
7172
|
+
if (Mi && t.data instanceof Blob)
|
7173
|
+
return t.data.arrayBuffer().then(Xs).then(e);
|
7174
|
+
if (Ri && (t.data instanceof ArrayBuffer || Di(t.data)))
|
7175
|
+
return e(Xs(t.data));
|
7176
|
+
Yn(t, !1, (n) => {
|
7177
7177
|
fn || (fn = new TextEncoder()), e(fn.encode(n));
|
7178
7178
|
});
|
7179
7179
|
}
|
7180
|
-
const
|
7181
|
-
for (let t = 0; t <
|
7182
|
-
Qe[
|
7180
|
+
const er = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Qe = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
|
7181
|
+
for (let t = 0; t < er.length; t++)
|
7182
|
+
Qe[er.charCodeAt(t)] = t;
|
7183
7183
|
const El = (t) => {
|
7184
7184
|
let e = t.length * 0.75, n = t.length, s, r = 0, i, o, a, l;
|
7185
7185
|
t[t.length - 1] === "=" && (e--, t[t.length - 2] === "=" && e--);
|
@@ -7187,11 +7187,11 @@ const El = (t) => {
|
|
7187
7187
|
for (s = 0; s < n; s += 4)
|
7188
7188
|
i = Qe[t.charCodeAt(s)], o = Qe[t.charCodeAt(s + 1)], a = Qe[t.charCodeAt(s + 2)], l = Qe[t.charCodeAt(s + 3)], u[r++] = i << 2 | o >> 4, u[r++] = (o & 15) << 4 | a >> 2, u[r++] = (a & 3) << 6 | l & 63;
|
7189
7189
|
return c;
|
7190
|
-
}, Ol = typeof ArrayBuffer == "function",
|
7190
|
+
}, Ol = typeof ArrayBuffer == "function", Jn = (t, e) => {
|
7191
7191
|
if (typeof t != "string")
|
7192
7192
|
return {
|
7193
7193
|
type: "message",
|
7194
|
-
data:
|
7194
|
+
data: Li(t, e)
|
7195
7195
|
};
|
7196
7196
|
const n = t.charAt(0);
|
7197
7197
|
return n === "b" ? {
|
@@ -7206,10 +7206,10 @@ const El = (t) => {
|
|
7206
7206
|
}, Cl = (t, e) => {
|
7207
7207
|
if (Ol) {
|
7208
7208
|
const n = El(t);
|
7209
|
-
return
|
7209
|
+
return Li(n, e);
|
7210
7210
|
} else
|
7211
7211
|
return { base64: !0, data: t };
|
7212
|
-
},
|
7212
|
+
}, Li = (t, e) => {
|
7213
7213
|
switch (e) {
|
7214
7214
|
case "blob":
|
7215
7215
|
return t instanceof Blob ? t : new Blob([t]);
|
@@ -7217,18 +7217,18 @@ const El = (t) => {
|
|
7217
7217
|
default:
|
7218
7218
|
return t instanceof ArrayBuffer ? t : t.buffer;
|
7219
7219
|
}
|
7220
|
-
},
|
7220
|
+
}, Fi = "", xl = (t, e) => {
|
7221
7221
|
const n = t.length, s = new Array(n);
|
7222
7222
|
let r = 0;
|
7223
7223
|
t.forEach((i, o) => {
|
7224
|
-
|
7225
|
-
s[o] = a, ++r === n && e(s.join(
|
7224
|
+
Yn(i, !1, (a) => {
|
7225
|
+
s[o] = a, ++r === n && e(s.join(Fi));
|
7226
7226
|
});
|
7227
7227
|
});
|
7228
7228
|
}, Nl = (t, e) => {
|
7229
|
-
const n = t.split(
|
7229
|
+
const n = t.split(Fi), s = [];
|
7230
7230
|
for (let r = 0; r < n.length; r++) {
|
7231
|
-
const i =
|
7231
|
+
const i = Jn(n[r], e);
|
7232
7232
|
if (s.push(i), i.type === "error")
|
7233
7233
|
break;
|
7234
7234
|
}
|
@@ -7299,7 +7299,7 @@ function Al(t, e) {
|
|
7299
7299
|
if (vt(n) < r)
|
7300
7300
|
break;
|
7301
7301
|
const l = St(n, r);
|
7302
|
-
a.enqueue(
|
7302
|
+
a.enqueue(Jn(i ? l : dn.decode(l), e)), s = 0;
|
7303
7303
|
}
|
7304
7304
|
if (r === 0 || r > t) {
|
7305
7305
|
a.enqueue(On);
|
@@ -7309,7 +7309,7 @@ function Al(t, e) {
|
|
7309
7309
|
}
|
7310
7310
|
});
|
7311
7311
|
}
|
7312
|
-
const
|
7312
|
+
const Bi = 4;
|
7313
7313
|
function $(t) {
|
7314
7314
|
if (t) return Il(t);
|
7315
7315
|
}
|
@@ -7360,7 +7360,7 @@ $.prototype.hasListeners = function(t) {
|
|
7360
7360
|
return !!this.listeners(t).length;
|
7361
7361
|
};
|
7362
7362
|
const K = typeof self < "u" ? self : typeof window < "u" ? window : Function("return this")();
|
7363
|
-
function
|
7363
|
+
function Vi(t, ...e) {
|
7364
7364
|
return e.reduce((n, s) => (t.hasOwnProperty(s) && (n[s] = t[s]), n), {});
|
7365
7365
|
}
|
7366
7366
|
const Ml = K.setTimeout, Rl = K.clearTimeout;
|
@@ -7396,7 +7396,7 @@ class Ul extends Error {
|
|
7396
7396
|
super(e), this.description = n, this.context = s, this.type = "TransportError";
|
7397
7397
|
}
|
7398
7398
|
}
|
7399
|
-
class
|
7399
|
+
class Gn extends $ {
|
7400
7400
|
/**
|
7401
7401
|
* Transport abstract constructor.
|
7402
7402
|
*
|
@@ -7453,7 +7453,7 @@ class Yn extends $ {
|
|
7453
7453
|
* @protected
|
7454
7454
|
*/
|
7455
7455
|
onData(e) {
|
7456
|
-
const n =
|
7456
|
+
const n = Jn(e, this.socket.binaryType);
|
7457
7457
|
this.onPacket(n);
|
7458
7458
|
}
|
7459
7459
|
/**
|
@@ -7494,28 +7494,28 @@ class Yn extends $ {
|
|
7494
7494
|
return n.length ? "?" + n : "";
|
7495
7495
|
}
|
7496
7496
|
}
|
7497
|
-
const
|
7498
|
-
let
|
7499
|
-
function
|
7497
|
+
const Ui = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""), Cn = 64, $l = {};
|
7498
|
+
let tr = 0, bt = 0, nr;
|
7499
|
+
function sr(t) {
|
7500
7500
|
let e = "";
|
7501
7501
|
do
|
7502
|
-
e =
|
7502
|
+
e = Ui[t % Cn] + e, t = Math.floor(t / Cn);
|
7503
7503
|
while (t > 0);
|
7504
7504
|
return e;
|
7505
7505
|
}
|
7506
|
-
function
|
7507
|
-
const t =
|
7508
|
-
return t !==
|
7506
|
+
function $i() {
|
7507
|
+
const t = sr(+/* @__PURE__ */ new Date());
|
7508
|
+
return t !== nr ? (tr = 0, nr = t) : t + "." + sr(tr++);
|
7509
7509
|
}
|
7510
7510
|
for (; bt < Cn; bt++)
|
7511
|
-
$l[
|
7512
|
-
let
|
7511
|
+
$l[Ui[bt]] = bt;
|
7512
|
+
let Pi = !1;
|
7513
7513
|
try {
|
7514
|
-
|
7514
|
+
Pi = typeof XMLHttpRequest < "u" && "withCredentials" in new XMLHttpRequest();
|
7515
7515
|
} catch {
|
7516
7516
|
}
|
7517
|
-
const Pl =
|
7518
|
-
function
|
7517
|
+
const Pl = Pi;
|
7518
|
+
function Wi(t) {
|
7519
7519
|
const e = t.xdomain;
|
7520
7520
|
try {
|
7521
7521
|
if (typeof XMLHttpRequest < "u" && (!e || Pl))
|
@@ -7531,11 +7531,11 @@ function Pi(t) {
|
|
7531
7531
|
function Wl() {
|
7532
7532
|
}
|
7533
7533
|
const ql = function() {
|
7534
|
-
return new
|
7534
|
+
return new Wi({
|
7535
7535
|
xdomain: !1
|
7536
7536
|
}).responseType != null;
|
7537
7537
|
}();
|
7538
|
-
class zl extends
|
7538
|
+
class zl extends Gn {
|
7539
7539
|
/**
|
7540
7540
|
* XHR Polling constructor.
|
7541
7541
|
*
|
@@ -7636,7 +7636,7 @@ class zl extends Yn {
|
|
7636
7636
|
*/
|
7637
7637
|
uri() {
|
7638
7638
|
const e = this.opts.secure ? "https" : "http", n = this.query || {};
|
7639
|
-
return this.opts.timestampRequests !== !1 && (n[this.opts.timestampParam] =
|
7639
|
+
return this.opts.timestampRequests !== !1 && (n[this.opts.timestampParam] = $i()), !this.supportsBinary && !n.sid && (n.b64 = 1), this.createUri(e, n);
|
7640
7640
|
}
|
7641
7641
|
/**
|
7642
7642
|
* Creates a request.
|
@@ -7692,9 +7692,9 @@ class fe extends $ {
|
|
7692
7692
|
*/
|
7693
7693
|
create() {
|
7694
7694
|
var e;
|
7695
|
-
const n =
|
7695
|
+
const n = Vi(this.opts, "agent", "pfx", "key", "passphrase", "cert", "ca", "ciphers", "rejectUnauthorized", "autoUnref");
|
7696
7696
|
n.xdomain = !!this.opts.xd;
|
7697
|
-
const s = this.xhr = new
|
7697
|
+
const s = this.xhr = new Wi(n);
|
7698
7698
|
try {
|
7699
7699
|
s.open(this.method, this.uri, !0);
|
7700
7700
|
try {
|
@@ -7773,18 +7773,18 @@ fe.requestsCount = 0;
|
|
7773
7773
|
fe.requests = {};
|
7774
7774
|
if (typeof document < "u") {
|
7775
7775
|
if (typeof attachEvent == "function")
|
7776
|
-
attachEvent("onunload",
|
7776
|
+
attachEvent("onunload", rr);
|
7777
7777
|
else if (typeof addEventListener == "function") {
|
7778
7778
|
const t = "onpagehide" in K ? "pagehide" : "unload";
|
7779
|
-
addEventListener(t,
|
7779
|
+
addEventListener(t, rr, !1);
|
7780
7780
|
}
|
7781
7781
|
}
|
7782
|
-
function
|
7782
|
+
function rr() {
|
7783
7783
|
for (let t in fe.requests)
|
7784
7784
|
fe.requests.hasOwnProperty(t) && fe.requests[t].abort();
|
7785
7785
|
}
|
7786
|
-
const
|
7787
|
-
class Zl extends
|
7786
|
+
const Kn = typeof Promise == "function" && typeof Promise.resolve == "function" ? (e) => Promise.resolve().then(e) : (e, n) => n(e, 0), kt = K.WebSocket || K.MozWebSocket, ir = !0, Hl = "arraybuffer", or = typeof navigator < "u" && typeof navigator.product == "string" && navigator.product.toLowerCase() === "reactnative";
|
7787
|
+
class Zl extends Gn {
|
7788
7788
|
/**
|
7789
7789
|
* WebSocket transport constructor.
|
7790
7790
|
*
|
@@ -7800,10 +7800,10 @@ class Zl extends Yn {
|
|
7800
7800
|
doOpen() {
|
7801
7801
|
if (!this.check())
|
7802
7802
|
return;
|
7803
|
-
const e = this.uri(), n = this.opts.protocols, s =
|
7803
|
+
const e = this.uri(), n = this.opts.protocols, s = or ? {} : Vi(this.opts, "agent", "perMessageDeflate", "pfx", "key", "passphrase", "cert", "ca", "ciphers", "rejectUnauthorized", "localAddress", "protocolVersion", "origin", "maxPayload", "family", "checkServerIdentity");
|
7804
7804
|
this.opts.extraHeaders && (s.headers = this.opts.extraHeaders);
|
7805
7805
|
try {
|
7806
|
-
this.ws =
|
7806
|
+
this.ws = ir && !or ? n ? new kt(e, n) : new kt(e) : new kt(e, n, s);
|
7807
7807
|
} catch (r) {
|
7808
7808
|
return this.emitReserved("error", r);
|
7809
7809
|
}
|
@@ -7826,13 +7826,13 @@ class Zl extends Yn {
|
|
7826
7826
|
this.writable = !1;
|
7827
7827
|
for (let n = 0; n < e.length; n++) {
|
7828
7828
|
const s = e[n], r = n === e.length - 1;
|
7829
|
-
|
7829
|
+
Yn(s, this.supportsBinary, (i) => {
|
7830
7830
|
const o = {};
|
7831
7831
|
try {
|
7832
|
-
|
7832
|
+
ir && this.ws.send(i);
|
7833
7833
|
} catch {
|
7834
7834
|
}
|
7835
|
-
r &&
|
7835
|
+
r && Kn(() => {
|
7836
7836
|
this.writable = !0, this.emitReserved("drain");
|
7837
7837
|
}, this.setTimeoutFn);
|
7838
7838
|
});
|
@@ -7848,7 +7848,7 @@ class Zl extends Yn {
|
|
7848
7848
|
*/
|
7849
7849
|
uri() {
|
7850
7850
|
const e = this.opts.secure ? "wss" : "ws", n = this.query || {};
|
7851
|
-
return this.opts.timestampRequests && (n[this.opts.timestampParam] =
|
7851
|
+
return this.opts.timestampRequests && (n[this.opts.timestampParam] = $i()), this.supportsBinary || (n.b64 = 1), this.createUri(e, n);
|
7852
7852
|
}
|
7853
7853
|
/**
|
7854
7854
|
* Feature detection for WebSocket.
|
@@ -7860,7 +7860,7 @@ class Zl extends Yn {
|
|
7860
7860
|
return !!kt;
|
7861
7861
|
}
|
7862
7862
|
}
|
7863
|
-
class jl extends
|
7863
|
+
class jl extends Gn {
|
7864
7864
|
get name() {
|
7865
7865
|
return "webtransport";
|
7866
7866
|
}
|
@@ -7890,7 +7890,7 @@ class jl extends Yn {
|
|
7890
7890
|
for (let n = 0; n < e.length; n++) {
|
7891
7891
|
const s = e[n], r = n === e.length - 1;
|
7892
7892
|
this.writer.write(s).then(() => {
|
7893
|
-
r &&
|
7893
|
+
r && Kn(() => {
|
7894
7894
|
this.writable = !0, this.emitReserved("drain");
|
7895
7895
|
}, this.setTimeoutFn);
|
7896
7896
|
});
|
@@ -7939,7 +7939,7 @@ function Ql(t, e) {
|
|
7939
7939
|
r && (n[r] = i);
|
7940
7940
|
}), n;
|
7941
7941
|
}
|
7942
|
-
let
|
7942
|
+
let qi = class De extends $ {
|
7943
7943
|
/**
|
7944
7944
|
* Socket constructor.
|
7945
7945
|
*
|
@@ -7982,7 +7982,7 @@ let Wi = class De extends $ {
|
|
7982
7982
|
*/
|
7983
7983
|
createTransport(e) {
|
7984
7984
|
const n = Object.assign({}, this.opts.query);
|
7985
|
-
n.EIO =
|
7985
|
+
n.EIO = Bi, n.transport = e, this.id && (n.sid = this.id);
|
7986
7986
|
const s = Object.assign({}, this.opts, {
|
7987
7987
|
query: n,
|
7988
7988
|
socket: this,
|
@@ -8244,15 +8244,15 @@ let Wi = class De extends $ {
|
|
8244
8244
|
return n;
|
8245
8245
|
}
|
8246
8246
|
};
|
8247
|
-
|
8247
|
+
qi.protocol = Bi;
|
8248
8248
|
function Xl(t, e = "", n) {
|
8249
8249
|
let s = t;
|
8250
8250
|
n = n || typeof location < "u" && location, t == null && (t = n.protocol + "//" + n.host), typeof t == "string" && (t.charAt(0) === "/" && (t.charAt(1) === "/" ? t = n.protocol + t : t = n.host + t), /^(https?|wss?):\/\//.test(t) || (typeof n < "u" ? t = n.protocol + "//" + t : t = "https://" + t), s = xn(t)), s.port || (/^(http|ws)$/.test(s.protocol) ? s.port = "80" : /^(http|ws)s$/.test(s.protocol) && (s.port = "443")), s.path = s.path || "/";
|
8251
8251
|
const i = s.host.indexOf(":") !== -1 ? "[" + s.host + "]" : s.host;
|
8252
8252
|
return s.id = s.protocol + "://" + i + ":" + s.port + e, s.href = s.protocol + "://" + i + (n && n.port === s.port ? "" : ":" + s.port), s;
|
8253
8253
|
}
|
8254
|
-
const ec = typeof ArrayBuffer == "function", tc = (t) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(t) : t.buffer instanceof ArrayBuffer,
|
8255
|
-
function
|
8254
|
+
const ec = typeof ArrayBuffer == "function", tc = (t) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(t) : t.buffer instanceof ArrayBuffer, zi = Object.prototype.toString, nc = typeof Blob == "function" || typeof Blob < "u" && zi.call(Blob) === "[object BlobConstructor]", sc = typeof File == "function" || typeof File < "u" && zi.call(File) === "[object FileConstructor]";
|
8255
|
+
function Qn(t) {
|
8256
8256
|
return ec && (t instanceof ArrayBuffer || tc(t)) || nc && t instanceof Blob || sc && t instanceof File;
|
8257
8257
|
}
|
8258
8258
|
function It(t, e) {
|
@@ -8264,7 +8264,7 @@ function It(t, e) {
|
|
8264
8264
|
return !0;
|
8265
8265
|
return !1;
|
8266
8266
|
}
|
8267
|
-
if (
|
8267
|
+
if (Qn(t))
|
8268
8268
|
return !0;
|
8269
8269
|
if (t.toJSON && typeof t.toJSON == "function" && arguments.length === 1)
|
8270
8270
|
return It(t.toJSON(), !0);
|
@@ -8280,7 +8280,7 @@ function rc(t) {
|
|
8280
8280
|
function Nn(t, e) {
|
8281
8281
|
if (!t)
|
8282
8282
|
return t;
|
8283
|
-
if (
|
8283
|
+
if (Qn(t)) {
|
8284
8284
|
const n = { _placeholder: !0, num: e.length };
|
8285
8285
|
return e.push(t), n;
|
8286
8286
|
} else if (Array.isArray(t)) {
|
@@ -8367,10 +8367,10 @@ class lc {
|
|
8367
8367
|
return r.unshift(s), r;
|
8368
8368
|
}
|
8369
8369
|
}
|
8370
|
-
function
|
8370
|
+
function ar(t) {
|
8371
8371
|
return Object.prototype.toString.call(t) === "[object Object]";
|
8372
8372
|
}
|
8373
|
-
class
|
8373
|
+
class Xn extends $ {
|
8374
8374
|
/**
|
8375
8375
|
* Decoder constructor
|
8376
8376
|
*
|
@@ -8392,7 +8392,7 @@ class Kn extends $ {
|
|
8392
8392
|
n = this.decodeString(e);
|
8393
8393
|
const s = n.type === E.BINARY_EVENT;
|
8394
8394
|
s || n.type === E.BINARY_ACK ? (n.type = s ? E.EVENT : E.ACK, this.reconstructor = new cc(n), n.attachments === 0 && super.emitReserved("decoded", n)) : super.emitReserved("decoded", n);
|
8395
|
-
} else if (
|
8395
|
+
} else if (Qn(e) || e.base64)
|
8396
8396
|
if (this.reconstructor)
|
8397
8397
|
n = this.reconstructor.takeBinaryData(e), n && (this.reconstructor = null, super.emitReserved("decoded", n));
|
8398
8398
|
else
|
@@ -8445,7 +8445,7 @@ class Kn extends $ {
|
|
8445
8445
|
}
|
8446
8446
|
if (e.charAt(++n)) {
|
8447
8447
|
const i = this.tryParse(e.substr(n));
|
8448
|
-
if (
|
8448
|
+
if (Xn.isPayloadValid(s.type, i))
|
8449
8449
|
s.data = i;
|
8450
8450
|
else
|
8451
8451
|
throw new Error("invalid payload");
|
@@ -8462,11 +8462,11 @@ class Kn extends $ {
|
|
8462
8462
|
static isPayloadValid(e, n) {
|
8463
8463
|
switch (e) {
|
8464
8464
|
case E.CONNECT:
|
8465
|
-
return
|
8465
|
+
return ar(n);
|
8466
8466
|
case E.DISCONNECT:
|
8467
8467
|
return n === void 0;
|
8468
8468
|
case E.CONNECT_ERROR:
|
8469
|
-
return typeof n == "string" ||
|
8469
|
+
return typeof n == "string" || ar(n);
|
8470
8470
|
case E.EVENT:
|
8471
8471
|
case E.BINARY_EVENT:
|
8472
8472
|
return Array.isArray(n) && (typeof n[0] == "number" || typeof n[0] == "string" && oc.indexOf(n[0]) === -1);
|
@@ -8510,7 +8510,7 @@ class cc {
|
|
8510
8510
|
}
|
8511
8511
|
const uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
8512
8512
|
__proto__: null,
|
8513
|
-
Decoder:
|
8513
|
+
Decoder: Xn,
|
8514
8514
|
Encoder: lc,
|
8515
8515
|
get PacketType() {
|
8516
8516
|
return E;
|
@@ -8531,7 +8531,7 @@ const hc = Object.freeze({
|
|
8531
8531
|
newListener: 1,
|
8532
8532
|
removeListener: 1
|
8533
8533
|
});
|
8534
|
-
class
|
8534
|
+
class Hi extends $ {
|
8535
8535
|
/**
|
8536
8536
|
* `Socket` constructor.
|
8537
8537
|
*/
|
@@ -9182,7 +9182,7 @@ class An extends $ {
|
|
9182
9182
|
open(e) {
|
9183
9183
|
if (~this._readyState.indexOf("open"))
|
9184
9184
|
return this;
|
9185
|
-
this.engine = new
|
9185
|
+
this.engine = new qi(this.uri, this.opts);
|
9186
9186
|
const n = this.engine, s = this;
|
9187
9187
|
this._readyState = "opening", this.skipReconnect = !1;
|
9188
9188
|
const r = oe(n, "open", function() {
|
@@ -9245,7 +9245,7 @@ class An extends $ {
|
|
9245
9245
|
* @private
|
9246
9246
|
*/
|
9247
9247
|
ondecoded(e) {
|
9248
|
-
|
9248
|
+
Kn(() => {
|
9249
9249
|
this.emitReserved("packet", e);
|
9250
9250
|
}, this.setTimeoutFn);
|
9251
9251
|
}
|
@@ -9265,7 +9265,7 @@ class An extends $ {
|
|
9265
9265
|
*/
|
9266
9266
|
socket(e, n) {
|
9267
9267
|
let s = this.nsps[e];
|
9268
|
-
return s ? this._autoConnect && !s.active && s.connect() : (s = new
|
9268
|
+
return s ? this._autoConnect && !s.active && s.connect() : (s = new Hi(this, e, n), this.nsps[e] = s), s;
|
9269
9269
|
}
|
9270
9270
|
/**
|
9271
9271
|
* Called upon a socket close.
|
@@ -9366,18 +9366,23 @@ function Mt(t, e) {
|
|
9366
9366
|
}
|
9367
9367
|
Object.assign(Mt, {
|
9368
9368
|
Manager: An,
|
9369
|
-
Socket:
|
9369
|
+
Socket: Hi,
|
9370
9370
|
io: Mt,
|
9371
9371
|
connect: Mt
|
9372
9372
|
});
|
9373
|
-
var
|
9374
|
-
const fc = { class: "widget" },
|
9373
|
+
var Zi = /* @__PURE__ */ ((t) => (t.WEBCHAT = "webchat", t.CENTRAL = "central", t.WHATSAPP = "whatsapp", t.TELEGRAM = "telegram", t.SMS = "sms", t))(Zi || {});
|
9374
|
+
const fc = (t) => (Dn("data-v-44fb8edc"), t = t(), Ln(), t), dc = { class: "widget" }, mc = { class: "header-widget" }, pc = { class: "title-chat" }, yc = {
|
9375
9375
|
key: 0,
|
9376
9376
|
class: "loader"
|
9377
|
-
},
|
9377
|
+
}, gc = {
|
9378
|
+
key: 2,
|
9379
|
+
class: "fit"
|
9380
|
+
}, wc = /* @__PURE__ */ fc(() => /* @__PURE__ */ v("span", { class: "center" }, "No tienes mensajes", -1)), vc = [
|
9381
|
+
wc
|
9382
|
+
], Sc = { class: "w-full" }, bc = { class: "form-message" }, kc = { class: "jl-inputgroup-chat" }, Tc = ["onKeyup"], Ec = {
|
9378
9383
|
type: "submit",
|
9379
9384
|
class: "pointer btn-primary"
|
9380
|
-
},
|
9385
|
+
}, Oc = 14, Cc = /* @__PURE__ */ Rn({
|
9381
9386
|
__name: "Chat",
|
9382
9387
|
props: {
|
9383
9388
|
titlePrincipal: {
|
@@ -9408,8 +9413,8 @@ const fc = { class: "widget" }, dc = { class: "header-widget" }, mc = { class: "
|
|
9408
9413
|
Mn(
|
9409
9414
|
() => n.visible,
|
9410
9415
|
async (y) => {
|
9411
|
-
if (!y || (e("clear-new-messages"), T(), r.value > 0 &&
|
9412
|
-
const g = await
|
9416
|
+
if (!y || (e("clear-new-messages"), T(), r.value > 0 && ys(o.value, n.tokenAuth), o.value)) return;
|
9417
|
+
const g = await ps(n.tokenAuth);
|
9413
9418
|
g && (o.value = g.appChat.id);
|
9414
9419
|
}
|
9415
9420
|
);
|
@@ -9484,13 +9489,13 @@ const fc = { class: "widget" }, dc = { class: "header-widget" }, mc = { class: "
|
|
9484
9489
|
});
|
9485
9490
|
return;
|
9486
9491
|
}
|
9487
|
-
let
|
9492
|
+
let L = { ...O, chatId: y == null ? void 0 : y.chatId };
|
9488
9493
|
if (V) {
|
9489
9494
|
const A = i.value.data[g];
|
9490
|
-
A.response = O,
|
9495
|
+
A.response = O, L = { ...A, chatId: y == null ? void 0 : y.chatId };
|
9491
9496
|
} else
|
9492
|
-
i.value.data[g] =
|
9493
|
-
return
|
9497
|
+
i.value.data[g] = L;
|
9498
|
+
return L;
|
9494
9499
|
}
|
9495
9500
|
const w = async (y, g) => {
|
9496
9501
|
const O = u(s.value);
|
@@ -9502,12 +9507,12 @@ const fc = { class: "widget" }, dc = { class: "header-widget" }, mc = { class: "
|
|
9502
9507
|
A && (A.response = O);
|
9503
9508
|
} else
|
9504
9509
|
V = i.value.data.push(O) - 1;
|
9505
|
-
const
|
9510
|
+
const L = {
|
9506
9511
|
message: s.value,
|
9507
9512
|
appChatId: o.value,
|
9508
9513
|
...g
|
9509
9514
|
};
|
9510
|
-
d(
|
9515
|
+
d(L).then((A) => {
|
9511
9516
|
var ue, ht;
|
9512
9517
|
let J = f(
|
9513
9518
|
O,
|
@@ -9518,11 +9523,11 @@ const fc = { class: "widget" }, dc = { class: "header-widget" }, mc = { class: "
|
|
9518
9523
|
J && ((ht = j.value) == null || ht.emit(
|
9519
9524
|
"sendMessage",
|
9520
9525
|
{ roomId: (ue = se == null ? void 0 : se.value) == null ? void 0 : ue.appChat.id, message: J },
|
9521
|
-
(
|
9522
|
-
console.log("🚀 ~ socketService.value.emit ~ response:",
|
9526
|
+
(ji) => {
|
9527
|
+
console.log("🚀 ~ socketService.value.emit ~ response:", ji);
|
9523
9528
|
}
|
9524
9529
|
));
|
9525
|
-
}), s.value = "", T(),
|
9530
|
+
}), s.value = "", T(), R.value && (R.value.style.height = "20px");
|
9526
9531
|
}, d = async (y) => {
|
9527
9532
|
const g = {
|
9528
9533
|
...y,
|
@@ -9530,7 +9535,7 @@ const fc = { class: "widget" }, dc = { class: "header-widget" }, mc = { class: "
|
|
9530
9535
|
};
|
9531
9536
|
return L2(g, n.tokenAuth);
|
9532
9537
|
}, m = async () => {
|
9533
|
-
var V,
|
9538
|
+
var V, L, A;
|
9534
9539
|
const y = (V = i.value.data[0]) == null ? void 0 : V.id, g = {
|
9535
9540
|
lastMessagesId: y,
|
9536
9541
|
appChatId: o.value,
|
@@ -9540,10 +9545,10 @@ const fc = { class: "widget" }, dc = { class: "header-widget" }, mc = { class: "
|
|
9540
9545
|
const O = await D2({ body: g, token: n.tokenAuth });
|
9541
9546
|
a.value = !1, i.value.data.unshift(
|
9542
9547
|
...O.data.sort((J, ue) => -ue.createdAt.localeCompare(J.createdAt))
|
9543
|
-
), i.value.canLoadMoreMessages = O.pagination.total > O.pagination.size, y && ((
|
9548
|
+
), i.value.canLoadMoreMessages = O.pagination.total > O.pagination.size, y && ((L = l.value) != null && L.scrollHeight) && I((A = l.value) == null ? void 0 : A.scrollHeight), y || T();
|
9544
9549
|
}, S = async (y) => {
|
9545
9550
|
e("show-confirm", async () => {
|
9546
|
-
var O, V,
|
9551
|
+
var O, V, L;
|
9547
9552
|
if (!((O = y.error) != null && O.id)) return;
|
9548
9553
|
const g = await d({
|
9549
9554
|
message: y.message,
|
@@ -9562,7 +9567,7 @@ const fc = { class: "widget" }, dc = { class: "header-widget" }, mc = { class: "
|
|
9562
9567
|
"id",
|
9563
9568
|
y.error.id
|
9564
9569
|
);
|
9565
|
-
i.value.data[A] = { ...g, error: void 0 }, (
|
9570
|
+
i.value.data[A] = { ...g, error: void 0 }, (L = j.value) == null || L.emit("sendMessage", {
|
9566
9571
|
roomId: (V = se == null ? void 0 : se.value) == null ? void 0 : V.appChat.id,
|
9567
9572
|
message: y
|
9568
9573
|
});
|
@@ -9570,20 +9575,20 @@ const fc = { class: "widget" }, dc = { class: "header-widget" }, mc = { class: "
|
|
9570
9575
|
T();
|
9571
9576
|
});
|
9572
9577
|
}, T = () => {
|
9573
|
-
|
9578
|
+
ts(() => {
|
9574
9579
|
l.value && (l.value.scrollTop = l.value.scrollHeight);
|
9575
9580
|
});
|
9576
9581
|
}, I = (y) => {
|
9577
|
-
|
9582
|
+
ts(() => {
|
9578
9583
|
const g = l.value;
|
9579
9584
|
g && (g.scrollTop = g.scrollHeight - y);
|
9580
9585
|
});
|
9581
|
-
},
|
9586
|
+
}, R = H();
|
9582
9587
|
function ne() {
|
9583
|
-
|
9588
|
+
R.value && (R.value.style.height = R.value.scrollHeight - Oc + "px", R.value.scrollHeight !== R.value.clientHeight && (R.value.style.height = R.value.scrollHeight + "px"));
|
9584
9589
|
}
|
9585
9590
|
const j = H(), se = H();
|
9586
|
-
function Yt(y, g =
|
9591
|
+
function Yt(y, g = Zi.WEBCHAT) {
|
9587
9592
|
var O, V;
|
9588
9593
|
if (!y) throw new Error("user chat is required");
|
9589
9594
|
j.value = Mt(window.VITE_SOCKET_URI, {
|
@@ -9594,15 +9599,15 @@ const fc = { class: "widget" }, dc = { class: "header-widget" }, mc = { class: "
|
|
9594
9599
|
},
|
9595
9600
|
extraHeaders: { Authorization: n.tokenAuth }
|
9596
9601
|
}), j.value.removeAllListeners(), j.value.on("connect", () => {
|
9597
|
-
var
|
9598
|
-
console.log("Conectado al servidor de sockets"), (A = j.value) == null || A.emit("joinRoom", `${(
|
9602
|
+
var L, A;
|
9603
|
+
console.log("Conectado al servidor de sockets"), (A = j.value) == null || A.emit("joinRoom", `${(L = y == null ? void 0 : y.appChat) == null ? void 0 : L.id}`);
|
9599
9604
|
}), j.value.on("disconnect", () => {
|
9600
9605
|
console.log("Desconectado del servidor de sockets");
|
9601
|
-
}), j.value.on("receiveMessage", (
|
9606
|
+
}), j.value.on("receiveMessage", (L) => {
|
9602
9607
|
var J, ue;
|
9603
|
-
console.log("Mensaje recibido:",
|
9604
|
-
const A = i.value.data.findIndex((ht) => ht.id ===
|
9605
|
-
|
9608
|
+
console.log("Mensaje recibido:", L.message, y);
|
9609
|
+
const A = i.value.data.findIndex((ht) => ht.id === L.message.id);
|
9610
|
+
L.message.sender.msPersonaId === ((ue = (J = y == null ? void 0 : y.chat) == null ? void 0 : J.persona) == null ? void 0 : ue.msPersonaId) && A === -1 || (A !== -1 ? i.value.data[A].response = L.message.response : i.value.data.push(L.message), ys(L.message.appChatId, n.tokenAuth), T(), !n.visible && e("new-message"));
|
9606
9611
|
});
|
9607
9612
|
}
|
9608
9613
|
const ut = In(() => [
|
@@ -9618,9 +9623,9 @@ const fc = { class: "widget" }, dc = { class: "header-widget" }, mc = { class: "
|
|
9618
9623
|
"MacIntel",
|
9619
9624
|
"MacPPC",
|
9620
9625
|
"Mac68K"
|
9621
|
-
], V = ["Win32", "Win64", "Windows", "WinCE"],
|
9626
|
+
], V = ["Win32", "Win64", "Windows", "WinCE"], L = ["iPhone", "iPad", "iPod"];
|
9622
9627
|
let A = null;
|
9623
|
-
return O.indexOf(g) !== -1 ? A = "Mac OS" :
|
9628
|
+
return O.indexOf(g) !== -1 ? A = "Mac OS" : L.indexOf(g) !== -1 ? A = "iPhone" : V.indexOf(g) !== -1 ? A = "Windows" : /Android/.test(y) ? A = "Android" : /Linux/.test(g) && (A = "Linux"), A;
|
9624
9629
|
}
|
9625
9630
|
function Te({ message: y, emoji: g }) {
|
9626
9631
|
const O = async () => {
|
@@ -9628,21 +9633,21 @@ const fc = { class: "widget" }, dc = { class: "header-widget" }, mc = { class: "
|
|
9628
9633
|
};
|
9629
9634
|
e("onQualifying", { message: g.iconUnicode, callback: O });
|
9630
9635
|
}
|
9631
|
-
return
|
9636
|
+
return cr(async () => {
|
9632
9637
|
if (o.value) return;
|
9633
|
-
const y = await
|
9638
|
+
const y = await ps(n.tokenAuth);
|
9634
9639
|
y && (se.value = y, o.value = y.appChat.id, r.value = y.appChat.totalNoVistosCliente, Yt(y), m(), e("not-viewed-total", y.appChat.totalNoVistosCliente));
|
9635
|
-
}),
|
9640
|
+
}), Qi(() => {
|
9636
9641
|
var y;
|
9637
9642
|
(y = j.value) == null || y.off();
|
9638
|
-
}), (y, g) => (
|
9639
|
-
v("div",
|
9640
|
-
v("h4",
|
9643
|
+
}), (y, g) => (M(), D("div", dc, [
|
9644
|
+
v("div", mc, [
|
9645
|
+
v("h4", pc, et(t.titlePrincipal), 1),
|
9641
9646
|
v("button", {
|
9642
9647
|
onClick: g[0] || (g[0] = () => t.toggleChat()),
|
9643
9648
|
class: "btn-close"
|
9644
9649
|
}, [
|
9645
|
-
|
9650
|
+
be(mo, { class: "pointer" })
|
9646
9651
|
])
|
9647
9652
|
]),
|
9648
9653
|
v("div", {
|
@@ -9650,44 +9655,45 @@ const fc = { class: "widget" }, dc = { class: "header-widget" }, mc = { class: "
|
|
9650
9655
|
ref_key: "messageContainerRef",
|
9651
9656
|
ref: l
|
9652
9657
|
}, [
|
9653
|
-
a.value ? (
|
9654
|
-
|
9658
|
+
a.value ? (M(), D("div", yc, [
|
9659
|
+
be(bl)
|
9655
9660
|
])) : Xe("", !0),
|
9656
|
-
|
9661
|
+
i.value.data.length > 0 ? (M(), ur(ml, {
|
9662
|
+
key: 1,
|
9657
9663
|
messages: i.value.data,
|
9658
9664
|
canLoadMoreMessages: i.value.canLoadMoreMessages,
|
9659
9665
|
onLoadMore: m,
|
9660
9666
|
onRetry: S,
|
9661
9667
|
onOnQualifying: g[1] || (g[1] = (O) => Te(O))
|
9662
|
-
}, null, 8, ["messages", "canLoadMoreMessages"])
|
9668
|
+
}, null, 8, ["messages", "canLoadMoreMessages"])) : (M(), D("div", gc, vc))
|
9663
9669
|
], 512),
|
9664
|
-
v("div",
|
9670
|
+
v("div", Sc, [
|
9665
9671
|
v("form", {
|
9666
9672
|
class: "message-send",
|
9667
|
-
onSubmit: g[5] || (g[5] =
|
9673
|
+
onSubmit: g[5] || (g[5] = Xi((O) => w(), ["prevent"]))
|
9668
9674
|
}, [
|
9669
|
-
v("div",
|
9670
|
-
v("div",
|
9675
|
+
v("div", bc, [
|
9676
|
+
v("div", kc, [
|
9671
9677
|
mn(v("textarea", {
|
9672
9678
|
"onUpdate:modelValue": g[2] || (g[2] = (O) => s.value = O),
|
9673
9679
|
class: "jl2-input-chat",
|
9674
9680
|
placeholder: "Escribe tu mensaje",
|
9675
9681
|
required: "",
|
9676
9682
|
ref_key: "textAreaRef",
|
9677
|
-
ref:
|
9683
|
+
ref: R,
|
9678
9684
|
onInput: g[3] || (g[3] = () => ne()),
|
9679
|
-
onKeydown: g[4] || (g[4] =
|
9685
|
+
onKeydown: g[4] || (g[4] = ns(
|
9680
9686
|
(O) => {
|
9681
9687
|
!ut.value && O.preventDefault();
|
9682
9688
|
},
|
9683
9689
|
["enter"]
|
9684
9690
|
)),
|
9685
|
-
onKeyup:
|
9686
|
-
}, null, 40,
|
9687
|
-
[
|
9691
|
+
onKeyup: ns(c, ["enter"])
|
9692
|
+
}, null, 40, Tc), [
|
9693
|
+
[eo, s.value]
|
9688
9694
|
]),
|
9689
|
-
v("button",
|
9690
|
-
|
9695
|
+
v("button", Ec, [
|
9696
|
+
be(So, { style: { width: "20px", height: "20px" } })
|
9691
9697
|
])
|
9692
9698
|
])
|
9693
9699
|
])
|
@@ -9695,25 +9701,25 @@ const fc = { class: "widget" }, dc = { class: "header-widget" }, mc = { class: "
|
|
9695
9701
|
])
|
9696
9702
|
]));
|
9697
9703
|
}
|
9698
|
-
}),
|
9704
|
+
}), xc = /* @__PURE__ */ ce(Cc, [["__scopeId", "data-v-44fb8edc"]]), Nc = {}, _c = {
|
9699
9705
|
width: "87",
|
9700
9706
|
height: "87",
|
9701
9707
|
viewBox: "0 0 87 87",
|
9702
9708
|
fill: "none",
|
9703
9709
|
xmlns: "http://www.w3.org/2000/svg"
|
9704
|
-
},
|
9705
|
-
|
9710
|
+
}, Ac = /* @__PURE__ */ to('<g filter="url(#filter0_d_4007_3488)"><path d="M43.5 77C64.2107 77 81 60.2107 81 39.5C81 18.7893 64.2107 2 43.5 2C22.7893 2 6 18.7893 6 39.5C6 60.2107 22.7893 77 43.5 77Z" fill="white" stroke="#F28B0C" stroke-width="3" stroke-miterlimit="10"></path><path d="M39.705 38.885C40.6908 38.885 41.49 38.0858 41.49 37.1C41.49 36.1142 40.6908 35.315 39.705 35.315C38.7192 35.315 37.92 36.1142 37.92 37.1C37.92 38.0858 38.7192 38.885 39.705 38.885Z" fill="#F28B0C"></path><path d="M45.075 38.885C46.0608 38.885 46.86 38.0858 46.86 37.1C46.86 36.1142 46.0608 35.315 45.075 35.315C44.0892 35.315 43.29 36.1142 43.29 37.1C43.29 38.0858 44.0892 38.885 45.075 38.885Z" fill="#F28B0C"></path><path d="M50.445 38.885C51.4308 38.885 52.23 38.0858 52.23 37.1C52.23 36.1142 51.4308 35.315 50.445 35.315C49.4592 35.315 48.66 36.1142 48.66 37.1C48.66 38.0858 49.4592 38.885 50.445 38.885Z" fill="#F28B0C"></path><path d="M63.27 58.235L58.755 47.78C61.125 44.765 62.415 40.97 62.415 37.175C62.415 26.435 52.665 18.185 41.925 20.12C39.99 19.325 37.98 18.905 35.835 18.905C26.955 18.905 19.785 26.135 19.785 34.955C19.785 38.54 21 41.975 23.145 44.765L18.99 54.44C18.84 54.8 18.915 55.235 19.2 55.445C19.485 55.73 19.92 55.73 20.205 55.595L30.6 50.15C31.89 50.585 33.255 50.87 34.68 50.945C39.48 54.53 45.57 55.25 50.655 53.45L61.905 59.33C62.265 59.48 62.625 59.48 62.91 59.18C63.345 58.97 63.405 58.61 63.27 58.25V58.235ZM51.24 51.71C51.03 51.56 50.745 51.56 50.52 51.635C48.795 52.28 46.935 52.64 45.15 52.64C36.69 52.64 29.61 45.755 29.61 37.1C29.61 29.72 34.845 23.345 42.075 21.845C51.75 19.91 60.705 27.29 60.705 37.1C60.705 40.685 59.415 44.27 57.12 46.985C56.91 47.27 56.835 47.63 56.97 47.915L60.69 56.585L51.24 51.71Z" fill="#F28B0C"></path></g><defs><filter id="filter0_d_4007_3488" x="0.5" y="0.5" width="86" height="86" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="4"></feOffset><feGaussianBlur stdDeviation="2"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_4007_3488"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_4007_3488" result="shape"></feBlend></filter></defs>', 2), Ic = [
|
9711
|
+
Ac
|
9706
9712
|
];
|
9707
|
-
function
|
9708
|
-
return
|
9713
|
+
function Mc(t, e) {
|
9714
|
+
return M(), D("svg", _c, Ic);
|
9709
9715
|
}
|
9710
|
-
const
|
9716
|
+
const Rc = /* @__PURE__ */ ce(Nc, [["render", Mc]]), Dc = {}, Lc = {
|
9711
9717
|
viewBox: "0 0 256 256",
|
9712
9718
|
version: "1.1",
|
9713
9719
|
xmlns: "http://www.w3.org/2000/svg",
|
9714
9720
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
9715
9721
|
preserveAspectRatio: "xMidYMid"
|
9716
|
-
},
|
9722
|
+
}, Fc = /* @__PURE__ */ v("g", null, [
|
9717
9723
|
/* @__PURE__ */ v("path", {
|
9718
9724
|
d: "M128,0 C57.307,0 0,57.307 0,128 L0,128 C0,198.693 57.307,256 128,256 L128,256 C198.693,256 256,198.693 256,128 L256,128 C256,57.307 198.693,0 128,0 L128,0 Z",
|
9719
9725
|
fill: "#40B3E0"
|
@@ -9730,20 +9736,20 @@ const _c = /* @__PURE__ */ ce(Ec, [["render", Nc]]), Ac = {}, Ic = {
|
|
9730
9736
|
d: "M122.9015,168.1154 L102.0335,187.1414 C102.0335,187.1414 100.4025,188.3794 98.6175,187.6034 L102.6135,152.2624",
|
9731
9737
|
fill: "#B5CFE4"
|
9732
9738
|
})
|
9733
|
-
], -1),
|
9734
|
-
|
9739
|
+
], -1), Bc = [
|
9740
|
+
Fc
|
9735
9741
|
];
|
9736
|
-
function
|
9737
|
-
return
|
9742
|
+
function Vc(t, e) {
|
9743
|
+
return M(), D("svg", Lc, Bc);
|
9738
9744
|
}
|
9739
|
-
const
|
9745
|
+
const Uc = /* @__PURE__ */ ce(Dc, [["render", Vc]]), $c = {}, Pc = {
|
9740
9746
|
version: "1.1",
|
9741
9747
|
id: "Capa_1",
|
9742
9748
|
xmlns: "http://www.w3.org/2000/svg",
|
9743
9749
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
9744
9750
|
viewBox: "0 0 455.731 455.731",
|
9745
9751
|
"xml:space": "preserve"
|
9746
|
-
},
|
9752
|
+
}, Wc = /* @__PURE__ */ v("g", null, [
|
9747
9753
|
/* @__PURE__ */ v("rect", {
|
9748
9754
|
x: "0",
|
9749
9755
|
y: "0",
|
@@ -9770,20 +9776,20 @@ const Lc = /* @__PURE__ */ ce(Ac, [["render", Dc]]), Fc = {}, Bc = {
|
|
9770
9776
|
c1.338-1.547,1.676-3.722,0.872-5.602l-15.046-35.201C187.187,154.774,185.392,153.518,183.359,153.407z`
|
9771
9777
|
})
|
9772
9778
|
])
|
9773
|
-
], -1),
|
9774
|
-
|
9779
|
+
], -1), qc = [
|
9780
|
+
Wc
|
9775
9781
|
];
|
9776
|
-
function
|
9777
|
-
return
|
9782
|
+
function zc(t, e) {
|
9783
|
+
return M(), D("svg", Pc, qc);
|
9778
9784
|
}
|
9779
|
-
const
|
9785
|
+
const Hc = /* @__PURE__ */ ce($c, [["render", zc]]), Zc = {}, jc = {
|
9780
9786
|
version: "1.1",
|
9781
9787
|
id: "Capa_1",
|
9782
9788
|
xmlns: "http://www.w3.org/2000/svg",
|
9783
9789
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
9784
9790
|
viewBox: "-10 -10 78 78",
|
9785
9791
|
"xml:space": "preserve"
|
9786
|
-
},
|
9792
|
+
}, Yc = /* @__PURE__ */ v("g", null, [
|
9787
9793
|
/* @__PURE__ */ v("path", {
|
9788
9794
|
style: { fill: "orange" },
|
9789
9795
|
d: `M29,1.5c-16.016,0-29,11.641-29,26c0,5.292,1.768,10.211,4.796,14.318
|
@@ -9809,20 +9815,20 @@ const Pc = /* @__PURE__ */ ce(Fc, [["render", $c]]), Wc = {}, qc = {
|
|
9809
9815
|
cy: "27.5",
|
9810
9816
|
r: "3"
|
9811
9817
|
})
|
9812
|
-
], -1),
|
9813
|
-
|
9818
|
+
], -1), Jc = [
|
9819
|
+
Yc
|
9814
9820
|
];
|
9815
|
-
function
|
9816
|
-
return
|
9821
|
+
function Gc(t, e) {
|
9822
|
+
return M(), D("svg", jc, Jc);
|
9817
9823
|
}
|
9818
|
-
const
|
9824
|
+
const Kc = /* @__PURE__ */ ce(Zc, [["render", Gc]]), Qc = {
|
9819
9825
|
key: 0,
|
9820
9826
|
id: "chat-circle",
|
9821
9827
|
class: "widget-container"
|
9822
|
-
},
|
9828
|
+
}, Xc = {
|
9823
9829
|
key: 0,
|
9824
9830
|
class: "new-message-badge"
|
9825
|
-
},
|
9831
|
+
}, eu = { class: "chat-box" }, tu = /* @__PURE__ */ Rn({
|
9826
9832
|
__name: "Widget",
|
9827
9833
|
props: {
|
9828
9834
|
tokenAuth: { type: String, required: !0 },
|
@@ -9857,10 +9863,10 @@ const jc = /* @__PURE__ */ ce(Wc, [["render", Zc]]), Yc = {
|
|
9857
9863
|
const r = H(!1), i = H(0), o = H(!1), a = () => {
|
9858
9864
|
r.value = !r.value;
|
9859
9865
|
};
|
9860
|
-
return (l, c) => (
|
9866
|
+
return (l, c) => (M(), D("div", {
|
9861
9867
|
class: Ce(["widget-css-reset widget-container", t.isDarkMode ? "chat-dark-mode" : ""])
|
9862
9868
|
}, [
|
9863
|
-
n.tokenAuth.length > 10 ? mn((
|
9869
|
+
n.tokenAuth.length > 10 ? mn((M(), D("div", Qc, [
|
9864
9870
|
v("div", {
|
9865
9871
|
class: Ce(["container-buttons-chat", { active: o.value }])
|
9866
9872
|
}, [
|
@@ -9872,7 +9878,7 @@ const jc = /* @__PURE__ */ ce(Wc, [["render", Zc]]), Yc = {
|
|
9872
9878
|
/* WHATSAPP */
|
9873
9879
|
))
|
9874
9880
|
}, [
|
9875
|
-
|
9881
|
+
be(Hc)
|
9876
9882
|
]),
|
9877
9883
|
v("a", {
|
9878
9884
|
href: "javascript:;",
|
@@ -9882,7 +9888,7 @@ const jc = /* @__PURE__ */ ce(Wc, [["render", Zc]]), Yc = {
|
|
9882
9888
|
/* TELEGRAM */
|
9883
9889
|
))
|
9884
9890
|
}, [
|
9885
|
-
|
9891
|
+
be(Uc)
|
9886
9892
|
]),
|
9887
9893
|
v("a", {
|
9888
9894
|
href: "javascript:;",
|
@@ -9890,21 +9896,21 @@ const jc = /* @__PURE__ */ ce(Wc, [["render", Zc]]), Yc = {
|
|
9890
9896
|
title: "Debe estar autenticado",
|
9891
9897
|
onClick: c[2] || (c[2] = (u) => o.value && n.tokenAuth.length > 10 && a())
|
9892
9898
|
}, [
|
9893
|
-
|
9899
|
+
be(Kc)
|
9894
9900
|
], 2)
|
9895
9901
|
], 2),
|
9896
|
-
i.value ? (
|
9902
|
+
i.value ? (M(), D("div", Xc, et(i.value > 9 ? "9+" : i.value), 1)) : Xe("", !0),
|
9897
9903
|
v("a", {
|
9898
9904
|
href: "javascript:;",
|
9899
9905
|
onClick: c[3] || (c[3] = (u) => n.tokenAuth.length > 10 && a())
|
9900
9906
|
}, [
|
9901
|
-
|
9907
|
+
be(Rc)
|
9902
9908
|
])
|
9903
9909
|
], 512)), [
|
9904
|
-
[
|
9910
|
+
[ss, !r.value]
|
9905
9911
|
]) : Xe("", !0),
|
9906
|
-
mn(v("div",
|
9907
|
-
t.tokenAuth ? (
|
9912
|
+
mn(v("div", eu, [
|
9913
|
+
t.tokenAuth ? (M(), ur(xc, {
|
9908
9914
|
key: 0,
|
9909
9915
|
visible: r.value,
|
9910
9916
|
titlePrincipal: t.titlePrincipal,
|
@@ -9919,16 +9925,16 @@ const jc = /* @__PURE__ */ ce(Wc, [["render", Zc]]), Yc = {
|
|
9919
9925
|
onOnQualifying: c[9] || (c[9] = (u) => e("onQualifying", u))
|
9920
9926
|
}, null, 8, ["visible", "titlePrincipal", "tokenAuth", "user"])) : Xe("", !0)
|
9921
9927
|
], 512), [
|
9922
|
-
[
|
9928
|
+
[ss, r.value]
|
9923
9929
|
])
|
9924
9930
|
], 2));
|
9925
9931
|
}
|
9926
|
-
}),
|
9932
|
+
}), su = /* @__PURE__ */ ce(tu, [["__scopeId", "data-v-c7da0c7e"]]), ru = {
|
9927
9933
|
install(t, e) {
|
9928
9934
|
window.VITE_BACKEND_URL = e.VITE_BACKEND_URL, window.VITE_SOCKET_URI = e.VITE_SOCKET_URI, window.VITE_CELLPHONE_NUMBERS = e.VITE_CELLPHONE_NUMBERS;
|
9929
9935
|
}
|
9930
9936
|
};
|
9931
9937
|
export {
|
9932
|
-
|
9933
|
-
|
9938
|
+
su as Widget,
|
9939
|
+
ru as default
|
9934
9940
|
};
|