@everymatrix/player-change-password 1.56.0 → 1.56.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerChangePassword-BOtFAJDl.js → PlayerChangePassword-DQNXKmKi.js} +625 -570
- package/components/{PlayerChangePassword-C4r4X1Qf.js → PlayerChangePassword-DSm6cbgC.js} +780 -725
- package/components/PlayerChangePassword-IZlxe718.cjs +20 -0
- package/es2015/player-change-password.cjs +1 -1
- package/es2015/player-change-password.js +1 -1
- package/esnext/player-change-password.js +1 -1
- package/package.json +1 -1
- package/components/PlayerChangePassword-27wG3PC4.cjs +0 -7
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
function ne() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function fr(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Dt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
9
|
+
function Re(e) {
|
|
10
|
+
e.forEach(fr);
|
|
11
11
|
}
|
|
12
12
|
function Be(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function dr(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function Zr(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function pr(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const n of t)
|
|
24
24
|
n(void 0);
|
|
@@ -27,21 +27,22 @@ function cr(e, ...t) {
|
|
|
27
27
|
const r = e.subscribe(...t);
|
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
e.$$.on_destroy.push(
|
|
30
|
+
function Qr(e, t, r) {
|
|
31
|
+
e.$$.on_destroy.push(pr(t, r));
|
|
32
32
|
}
|
|
33
33
|
function d(e, t) {
|
|
34
34
|
e.appendChild(t);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const n =
|
|
36
|
+
function Yr(e, t, r) {
|
|
37
|
+
const n = Jr(e);
|
|
38
38
|
if (!n.getElementById(t)) {
|
|
39
39
|
const s = _("style");
|
|
40
|
-
s.id = t, s.textContent = r,
|
|
40
|
+
s.id = t, s.textContent = r, qr(n, s);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
if (!e)
|
|
43
|
+
function Jr(e) {
|
|
44
|
+
if (!e)
|
|
45
|
+
return document;
|
|
45
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
46
47
|
return t && /** @type {ShadowRoot} */
|
|
47
48
|
t.host ? (
|
|
@@ -49,7 +50,7 @@ function Xr(e) {
|
|
|
49
50
|
t
|
|
50
51
|
) : e.ownerDocument;
|
|
51
52
|
}
|
|
52
|
-
function
|
|
53
|
+
function qr(e, t) {
|
|
53
54
|
return d(
|
|
54
55
|
/** @type {Document} */
|
|
55
56
|
e.head || e,
|
|
@@ -74,7 +75,7 @@ function M(e) {
|
|
|
74
75
|
function F() {
|
|
75
76
|
return M(" ");
|
|
76
77
|
}
|
|
77
|
-
function
|
|
78
|
+
function mr() {
|
|
78
79
|
return M("");
|
|
79
80
|
}
|
|
80
81
|
function z(e, t, r, n) {
|
|
@@ -83,7 +84,7 @@ function z(e, t, r, n) {
|
|
|
83
84
|
function o(e, t, r) {
|
|
84
85
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
85
86
|
}
|
|
86
|
-
function
|
|
87
|
+
function Kr(e) {
|
|
87
88
|
return Array.from(e.childNodes);
|
|
88
89
|
}
|
|
89
90
|
function U(e, t) {
|
|
@@ -93,10 +94,10 @@ function U(e, t) {
|
|
|
93
94
|
function _e(e, t) {
|
|
94
95
|
e.value = t ?? "";
|
|
95
96
|
}
|
|
96
|
-
function
|
|
97
|
+
function en(e, t, r, n) {
|
|
97
98
|
e.style.setProperty(t, r, "");
|
|
98
99
|
}
|
|
99
|
-
function
|
|
100
|
+
function tn(e) {
|
|
100
101
|
const t = {};
|
|
101
102
|
return e.childNodes.forEach(
|
|
102
103
|
/** @param {Element} node */
|
|
@@ -109,21 +110,22 @@ let je;
|
|
|
109
110
|
function Ge(e) {
|
|
110
111
|
je = e;
|
|
111
112
|
}
|
|
112
|
-
function
|
|
113
|
-
if (!je)
|
|
113
|
+
function rn() {
|
|
114
|
+
if (!je)
|
|
115
|
+
throw new Error("Function called outside component initialization");
|
|
114
116
|
return je;
|
|
115
117
|
}
|
|
116
|
-
function
|
|
117
|
-
|
|
118
|
+
function nn(e) {
|
|
119
|
+
rn().$$.on_mount.push(e);
|
|
118
120
|
}
|
|
119
121
|
const Ce = [], Te = [];
|
|
120
122
|
let Se = [];
|
|
121
|
-
const
|
|
122
|
-
let
|
|
123
|
-
function
|
|
124
|
-
|
|
123
|
+
const Ut = [], sn = /* @__PURE__ */ Promise.resolve();
|
|
124
|
+
let yt = !1;
|
|
125
|
+
function an() {
|
|
126
|
+
yt || (yt = !0, sn.then(ie));
|
|
125
127
|
}
|
|
126
|
-
function
|
|
128
|
+
function Pt(e) {
|
|
127
129
|
Se.push(e);
|
|
128
130
|
}
|
|
129
131
|
const ft = /* @__PURE__ */ new Set();
|
|
@@ -136,52 +138,53 @@ function ie() {
|
|
|
136
138
|
try {
|
|
137
139
|
for (; xe < Ce.length; ) {
|
|
138
140
|
const t = Ce[xe];
|
|
139
|
-
xe++, Ge(t),
|
|
141
|
+
xe++, Ge(t), on(t.$$);
|
|
140
142
|
}
|
|
141
143
|
} catch (t) {
|
|
142
144
|
throw Ce.length = 0, xe = 0, t;
|
|
143
145
|
}
|
|
144
|
-
for (Ge(null), Ce.length = 0, xe = 0; Te.length; )
|
|
146
|
+
for (Ge(null), Ce.length = 0, xe = 0; Te.length; )
|
|
147
|
+
Te.pop()();
|
|
145
148
|
for (let t = 0; t < Se.length; t += 1) {
|
|
146
149
|
const r = Se[t];
|
|
147
150
|
ft.has(r) || (ft.add(r), r());
|
|
148
151
|
}
|
|
149
152
|
Se.length = 0;
|
|
150
153
|
} while (Ce.length);
|
|
151
|
-
for (;
|
|
152
|
-
|
|
153
|
-
|
|
154
|
+
for (; Ut.length; )
|
|
155
|
+
Ut.pop()();
|
|
156
|
+
yt = !1, ft.clear(), Ge(e);
|
|
154
157
|
}
|
|
155
|
-
function
|
|
158
|
+
function on(e) {
|
|
156
159
|
if (e.fragment !== null) {
|
|
157
|
-
e.update(),
|
|
160
|
+
e.update(), Re(e.before_update);
|
|
158
161
|
const t = e.dirty;
|
|
159
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
162
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pt);
|
|
160
163
|
}
|
|
161
164
|
}
|
|
162
|
-
function
|
|
165
|
+
function ln(e) {
|
|
163
166
|
const t = [], r = [];
|
|
164
167
|
Se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Se = t;
|
|
165
168
|
}
|
|
166
|
-
const
|
|
167
|
-
function
|
|
168
|
-
e && e.i && (
|
|
169
|
+
const un = /* @__PURE__ */ new Set();
|
|
170
|
+
function hn(e, t) {
|
|
171
|
+
e && e.i && (un.delete(e), e.i(t));
|
|
169
172
|
}
|
|
170
|
-
function
|
|
173
|
+
function cn(e, t, r) {
|
|
171
174
|
const { fragment: n, after_update: s } = e.$$;
|
|
172
|
-
n && n.m(t, r),
|
|
173
|
-
const a = e.$$.on_mount.map(
|
|
174
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...a) :
|
|
175
|
-
}), s.forEach(
|
|
175
|
+
n && n.m(t, r), Pt(() => {
|
|
176
|
+
const a = e.$$.on_mount.map(fr).filter(Be);
|
|
177
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...a) : Re(a), e.$$.on_mount = [];
|
|
178
|
+
}), s.forEach(Pt);
|
|
176
179
|
}
|
|
177
|
-
function
|
|
180
|
+
function fn(e, t) {
|
|
178
181
|
const r = e.$$;
|
|
179
|
-
r.fragment !== null && (
|
|
182
|
+
r.fragment !== null && (ln(r.after_update), Re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
180
183
|
}
|
|
181
|
-
function
|
|
182
|
-
e.$$.dirty[0] === -1 && (Ce.push(e),
|
|
184
|
+
function dn(e, t) {
|
|
185
|
+
e.$$.dirty[0] === -1 && (Ce.push(e), an(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
183
186
|
}
|
|
184
|
-
function
|
|
187
|
+
function pn(e, t, r, n, s, a, i = null, l = [-1]) {
|
|
185
188
|
const u = je;
|
|
186
189
|
Ge(e);
|
|
187
190
|
const h = e.$$ = {
|
|
@@ -191,7 +194,7 @@ function hn(e, t, r, n, s, a, i = null, l = [-1]) {
|
|
|
191
194
|
props: a,
|
|
192
195
|
update: ne,
|
|
193
196
|
not_equal: s,
|
|
194
|
-
bound:
|
|
197
|
+
bound: Dt(),
|
|
195
198
|
// lifecycle
|
|
196
199
|
on_mount: [],
|
|
197
200
|
on_destroy: [],
|
|
@@ -200,7 +203,7 @@ function hn(e, t, r, n, s, a, i = null, l = [-1]) {
|
|
|
200
203
|
after_update: [],
|
|
201
204
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
202
205
|
// everything else
|
|
203
|
-
callbacks:
|
|
206
|
+
callbacks: Dt(),
|
|
204
207
|
dirty: l,
|
|
205
208
|
skip_bound: !1,
|
|
206
209
|
root: t.target || u.$$.root
|
|
@@ -209,19 +212,19 @@ function hn(e, t, r, n, s, a, i = null, l = [-1]) {
|
|
|
209
212
|
let c = !1;
|
|
210
213
|
if (h.ctx = r ? r(e, t.props || {}, (f, p, ...m) => {
|
|
211
214
|
const w = m.length ? m[0] : p;
|
|
212
|
-
return h.ctx && s(h.ctx[f], h.ctx[f] = w) && (!h.skip_bound && h.bound[f] && h.bound[f](w), c &&
|
|
213
|
-
}) : [], h.update(), c = !0,
|
|
215
|
+
return h.ctx && s(h.ctx[f], h.ctx[f] = w) && (!h.skip_bound && h.bound[f] && h.bound[f](w), c && dn(e, f)), p;
|
|
216
|
+
}) : [], h.update(), c = !0, Re(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
|
|
214
217
|
if (t.hydrate) {
|
|
215
|
-
const f =
|
|
218
|
+
const f = Kr(t.target);
|
|
216
219
|
h.fragment && h.fragment.l(f), f.forEach(A);
|
|
217
220
|
} else
|
|
218
221
|
h.fragment && h.fragment.c();
|
|
219
|
-
t.intro &&
|
|
222
|
+
t.intro && hn(e.$$.fragment), cn(e, t.target, t.anchor), ie();
|
|
220
223
|
}
|
|
221
224
|
Ge(u);
|
|
222
225
|
}
|
|
223
|
-
let
|
|
224
|
-
typeof HTMLElement == "function" && (
|
|
226
|
+
let gr;
|
|
227
|
+
typeof HTMLElement == "function" && (gr = class extends HTMLElement {
|
|
225
228
|
/** The Svelte component constructor */
|
|
226
229
|
$$ctor;
|
|
227
230
|
/** Slots */
|
|
@@ -280,7 +283,7 @@ typeof HTMLElement == "function" && (dr = class extends HTMLElement {
|
|
|
280
283
|
};
|
|
281
284
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
282
285
|
return;
|
|
283
|
-
const t = {}, r =
|
|
286
|
+
const t = {}, r = tn(this);
|
|
284
287
|
for (const s of this.$$s)
|
|
285
288
|
s in r && (t[s] = [e(s)]);
|
|
286
289
|
for (const s of this.attributes) {
|
|
@@ -367,8 +370,8 @@ function tt(e, t, r, n) {
|
|
|
367
370
|
return t;
|
|
368
371
|
}
|
|
369
372
|
}
|
|
370
|
-
function
|
|
371
|
-
let i = class extends
|
|
373
|
+
function mn(e, t, r, n, s, a) {
|
|
374
|
+
let i = class extends gr {
|
|
372
375
|
constructor() {
|
|
373
376
|
super(e, r, s), this.$$p_d = t;
|
|
374
377
|
}
|
|
@@ -396,7 +399,7 @@ function cn(e, t, r, n, s, a) {
|
|
|
396
399
|
}), e.element = /** @type {any} */
|
|
397
400
|
i, i;
|
|
398
401
|
}
|
|
399
|
-
class
|
|
402
|
+
class gn {
|
|
400
403
|
/**
|
|
401
404
|
* ### PRIVATE API
|
|
402
405
|
*
|
|
@@ -415,7 +418,7 @@ class fn {
|
|
|
415
418
|
$$set = void 0;
|
|
416
419
|
/** @returns {void} */
|
|
417
420
|
$destroy() {
|
|
418
|
-
|
|
421
|
+
fn(this, 1), this.$destroy = ne;
|
|
419
422
|
}
|
|
420
423
|
/**
|
|
421
424
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -437,18 +440,18 @@ class fn {
|
|
|
437
440
|
* @returns {void}
|
|
438
441
|
*/
|
|
439
442
|
$set(t) {
|
|
440
|
-
this.$$set && !
|
|
443
|
+
this.$$set && !Zr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
441
444
|
}
|
|
442
445
|
}
|
|
443
|
-
const
|
|
444
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
445
|
-
function
|
|
446
|
+
const bn = "4";
|
|
447
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(bn);
|
|
448
|
+
function wn(e, t) {
|
|
446
449
|
if (e) {
|
|
447
450
|
const r = document.createElement("style");
|
|
448
451
|
r.innerHTML = t, e.appendChild(r);
|
|
449
452
|
}
|
|
450
453
|
}
|
|
451
|
-
function
|
|
454
|
+
function vn(e, t) {
|
|
452
455
|
const r = new URL(t);
|
|
453
456
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
454
457
|
const s = document.createElement("style");
|
|
@@ -457,7 +460,7 @@ function mn(e, t) {
|
|
|
457
460
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
458
461
|
});
|
|
459
462
|
}
|
|
460
|
-
function
|
|
463
|
+
function yn(e, t, r) {
|
|
461
464
|
if (window.emMessageBus) {
|
|
462
465
|
const n = document.createElement("style");
|
|
463
466
|
window.emMessageBus.subscribe(t, (s) => {
|
|
@@ -465,17 +468,32 @@ function gn(e, t, r) {
|
|
|
465
468
|
});
|
|
466
469
|
}
|
|
467
470
|
}
|
|
468
|
-
|
|
469
|
-
|
|
471
|
+
/*! *****************************************************************************
|
|
472
|
+
Copyright (c) Microsoft Corporation.
|
|
473
|
+
|
|
474
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
475
|
+
purpose with or without fee is hereby granted.
|
|
476
|
+
|
|
477
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
478
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
479
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
480
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
481
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
482
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
483
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
484
|
+
***************************************************************************** */
|
|
485
|
+
var _t = function(e, t) {
|
|
486
|
+
return _t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
470
487
|
r.__proto__ = n;
|
|
471
488
|
} || function(r, n) {
|
|
472
|
-
for (var s in n)
|
|
473
|
-
|
|
489
|
+
for (var s in n)
|
|
490
|
+
Object.prototype.hasOwnProperty.call(n, s) && (r[s] = n[s]);
|
|
491
|
+
}, _t(e, t);
|
|
474
492
|
};
|
|
475
493
|
function le(e, t) {
|
|
476
494
|
if (typeof t != "function" && t !== null)
|
|
477
495
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
478
|
-
|
|
496
|
+
_t(e, t);
|
|
479
497
|
function r() {
|
|
480
498
|
this.constructor = e;
|
|
481
499
|
}
|
|
@@ -485,61 +503,69 @@ var S = function() {
|
|
|
485
503
|
return S = Object.assign || function(t) {
|
|
486
504
|
for (var r, n = 1, s = arguments.length; n < s; n++) {
|
|
487
505
|
r = arguments[n];
|
|
488
|
-
for (var a in r)
|
|
506
|
+
for (var a in r)
|
|
507
|
+
Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
|
|
489
508
|
}
|
|
490
509
|
return t;
|
|
491
510
|
}, S.apply(this, arguments);
|
|
492
511
|
};
|
|
493
|
-
function
|
|
512
|
+
function Pn(e, t) {
|
|
494
513
|
var r = {};
|
|
495
|
-
for (var n in e)
|
|
514
|
+
for (var n in e)
|
|
515
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
496
516
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
497
517
|
for (var s = 0, n = Object.getOwnPropertySymbols(e); s < n.length; s++)
|
|
498
518
|
t.indexOf(n[s]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[s]) && (r[n[s]] = e[n[s]]);
|
|
499
519
|
return r;
|
|
500
520
|
}
|
|
501
|
-
function
|
|
521
|
+
function xt(e) {
|
|
502
522
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
503
|
-
if (r)
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
523
|
+
if (r)
|
|
524
|
+
return r.call(e);
|
|
525
|
+
if (e && typeof e.length == "number")
|
|
526
|
+
return {
|
|
527
|
+
next: function() {
|
|
528
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
529
|
+
}
|
|
530
|
+
};
|
|
509
531
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
510
532
|
}
|
|
511
|
-
function
|
|
533
|
+
function Et(e, t) {
|
|
512
534
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
513
|
-
if (!r)
|
|
535
|
+
if (!r)
|
|
536
|
+
return e;
|
|
514
537
|
var n = r.call(e), s, a = [], i;
|
|
515
538
|
try {
|
|
516
|
-
for (; (t === void 0 || t-- > 0) && !(s = n.next()).done; )
|
|
539
|
+
for (; (t === void 0 || t-- > 0) && !(s = n.next()).done; )
|
|
540
|
+
a.push(s.value);
|
|
517
541
|
} catch (l) {
|
|
518
542
|
i = { error: l };
|
|
519
543
|
} finally {
|
|
520
544
|
try {
|
|
521
545
|
s && !s.done && (r = n.return) && r.call(n);
|
|
522
546
|
} finally {
|
|
523
|
-
if (i)
|
|
547
|
+
if (i)
|
|
548
|
+
throw i.error;
|
|
524
549
|
}
|
|
525
550
|
}
|
|
526
551
|
return a;
|
|
527
552
|
}
|
|
528
553
|
function Ae(e, t, r) {
|
|
529
|
-
if (r || arguments.length === 2)
|
|
530
|
-
(
|
|
531
|
-
|
|
554
|
+
if (r || arguments.length === 2)
|
|
555
|
+
for (var n = 0, s = t.length, a; n < s; n++)
|
|
556
|
+
(a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
|
|
557
|
+
return e.concat(a || t);
|
|
532
558
|
}
|
|
533
559
|
function oe(e) {
|
|
534
560
|
return typeof e == "function";
|
|
535
561
|
}
|
|
536
|
-
function
|
|
562
|
+
function br(e) {
|
|
537
563
|
var t = function(n) {
|
|
538
564
|
Error.call(n), n.stack = new Error().stack;
|
|
539
565
|
}, r = e(t);
|
|
540
566
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
541
567
|
}
|
|
542
|
-
var dt =
|
|
568
|
+
var dt = br(function(e) {
|
|
543
569
|
return function(r) {
|
|
544
570
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
545
571
|
` + r.map(function(n, s) {
|
|
@@ -548,7 +574,7 @@ var dt = pr(function(e) {
|
|
|
548
574
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
549
575
|
};
|
|
550
576
|
});
|
|
551
|
-
function
|
|
577
|
+
function Ct(e, t) {
|
|
552
578
|
if (e) {
|
|
553
579
|
var r = e.indexOf(t);
|
|
554
580
|
0 <= r && e.splice(r, 1);
|
|
@@ -566,7 +592,7 @@ var ot = function() {
|
|
|
566
592
|
if (i)
|
|
567
593
|
if (this._parentage = null, Array.isArray(i))
|
|
568
594
|
try {
|
|
569
|
-
for (var l =
|
|
595
|
+
for (var l = xt(i), u = l.next(); !u.done; u = l.next()) {
|
|
570
596
|
var h = u.value;
|
|
571
597
|
h.remove(this);
|
|
572
598
|
}
|
|
@@ -576,7 +602,8 @@ var ot = function() {
|
|
|
576
602
|
try {
|
|
577
603
|
u && !u.done && (r = l.return) && r.call(l);
|
|
578
604
|
} finally {
|
|
579
|
-
if (t)
|
|
605
|
+
if (t)
|
|
606
|
+
throw t.error;
|
|
580
607
|
}
|
|
581
608
|
}
|
|
582
609
|
else
|
|
@@ -592,12 +619,12 @@ var ot = function() {
|
|
|
592
619
|
if (f) {
|
|
593
620
|
this._finalizers = null;
|
|
594
621
|
try {
|
|
595
|
-
for (var p =
|
|
622
|
+
for (var p = xt(f), m = p.next(); !m.done; m = p.next()) {
|
|
596
623
|
var w = m.value;
|
|
597
624
|
try {
|
|
598
|
-
|
|
625
|
+
$t(w);
|
|
599
626
|
} catch (v) {
|
|
600
|
-
a = a ?? [], v instanceof dt ? a = Ae(Ae([],
|
|
627
|
+
a = a ?? [], v instanceof dt ? a = Ae(Ae([], Et(a)), Et(v.errors)) : a.push(v);
|
|
601
628
|
}
|
|
602
629
|
}
|
|
603
630
|
} catch (v) {
|
|
@@ -606,7 +633,8 @@ var ot = function() {
|
|
|
606
633
|
try {
|
|
607
634
|
m && !m.done && (s = p.return) && s.call(p);
|
|
608
635
|
} finally {
|
|
609
|
-
if (n)
|
|
636
|
+
if (n)
|
|
637
|
+
throw n.error;
|
|
610
638
|
}
|
|
611
639
|
}
|
|
612
640
|
}
|
|
@@ -617,7 +645,7 @@ var ot = function() {
|
|
|
617
645
|
var r;
|
|
618
646
|
if (t && t !== this)
|
|
619
647
|
if (this.closed)
|
|
620
|
-
|
|
648
|
+
$t(t);
|
|
621
649
|
else {
|
|
622
650
|
if (t instanceof e) {
|
|
623
651
|
if (t.closed || t._hasParent(this))
|
|
@@ -634,52 +662,56 @@ var ot = function() {
|
|
|
634
662
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
635
663
|
}, e.prototype._removeParent = function(t) {
|
|
636
664
|
var r = this._parentage;
|
|
637
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
665
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ct(r, t);
|
|
638
666
|
}, e.prototype.remove = function(t) {
|
|
639
667
|
var r = this._finalizers;
|
|
640
|
-
r &&
|
|
668
|
+
r && Ct(r, t), t instanceof e && t._removeParent(this);
|
|
641
669
|
}, e.EMPTY = function() {
|
|
642
670
|
var t = new e();
|
|
643
671
|
return t.closed = !0, t;
|
|
644
672
|
}(), e;
|
|
645
|
-
}(),
|
|
646
|
-
function
|
|
673
|
+
}(), wr = ot.EMPTY;
|
|
674
|
+
function vr(e) {
|
|
647
675
|
return e instanceof ot || e && "closed" in e && oe(e.remove) && oe(e.add) && oe(e.unsubscribe);
|
|
648
676
|
}
|
|
649
|
-
function
|
|
677
|
+
function $t(e) {
|
|
650
678
|
oe(e) ? e() : e.unsubscribe();
|
|
651
679
|
}
|
|
652
|
-
var
|
|
653
|
-
|
|
654
|
-
|
|
680
|
+
var yr = {
|
|
681
|
+
onUnhandledError: null,
|
|
682
|
+
onStoppedNotification: null,
|
|
683
|
+
Promise: void 0,
|
|
684
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
685
|
+
useDeprecatedNextContext: !1
|
|
686
|
+
}, _n = {
|
|
655
687
|
setTimeout: function(e, t) {
|
|
656
688
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
657
689
|
r[n - 2] = arguments[n];
|
|
658
|
-
return setTimeout.apply(void 0, Ae([e, t],
|
|
690
|
+
return setTimeout.apply(void 0, Ae([e, t], Et(r)));
|
|
659
691
|
},
|
|
660
692
|
clearTimeout: function(e) {
|
|
661
693
|
return clearTimeout(e);
|
|
662
694
|
},
|
|
663
695
|
delegate: void 0
|
|
664
696
|
};
|
|
665
|
-
function
|
|
666
|
-
|
|
697
|
+
function xn(e) {
|
|
698
|
+
_n.setTimeout(function() {
|
|
667
699
|
throw e;
|
|
668
700
|
});
|
|
669
701
|
}
|
|
670
|
-
function
|
|
702
|
+
function Gt() {
|
|
671
703
|
}
|
|
672
704
|
function rt(e) {
|
|
673
705
|
e();
|
|
674
706
|
}
|
|
675
|
-
var
|
|
707
|
+
var Pr = function(e) {
|
|
676
708
|
le(t, e);
|
|
677
709
|
function t(r) {
|
|
678
710
|
var n = e.call(this) || this;
|
|
679
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
711
|
+
return n.isStopped = !1, r ? (n.destination = r, vr(r) && r.add(n)) : n.destination = Bn, n;
|
|
680
712
|
}
|
|
681
713
|
return t.create = function(r, n, s) {
|
|
682
|
-
return new
|
|
714
|
+
return new Tt(r, n, s);
|
|
683
715
|
}, t.prototype.next = function(r) {
|
|
684
716
|
this.isStopped || this._next(r);
|
|
685
717
|
}, t.prototype.error = function(r) {
|
|
@@ -703,7 +735,11 @@ var br = function(e) {
|
|
|
703
735
|
this.unsubscribe();
|
|
704
736
|
}
|
|
705
737
|
}, t;
|
|
706
|
-
}(ot),
|
|
738
|
+
}(ot), En = Function.prototype.bind;
|
|
739
|
+
function pt(e, t) {
|
|
740
|
+
return En.call(e, t);
|
|
741
|
+
}
|
|
742
|
+
var Cn = function() {
|
|
707
743
|
function e(t) {
|
|
708
744
|
this.partialObserver = t;
|
|
709
745
|
}
|
|
@@ -734,43 +770,55 @@ var br = function(e) {
|
|
|
734
770
|
Ke(r);
|
|
735
771
|
}
|
|
736
772
|
}, e;
|
|
737
|
-
}(),
|
|
773
|
+
}(), Tt = function(e) {
|
|
738
774
|
le(t, e);
|
|
739
775
|
function t(r, n, s) {
|
|
740
776
|
var a = e.call(this) || this, i;
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
777
|
+
if (oe(r) || !r)
|
|
778
|
+
i = {
|
|
779
|
+
next: r ?? void 0,
|
|
780
|
+
error: n ?? void 0,
|
|
781
|
+
complete: s ?? void 0
|
|
782
|
+
};
|
|
783
|
+
else {
|
|
784
|
+
var l;
|
|
785
|
+
a && yr.useDeprecatedNextContext ? (l = Object.create(r), l.unsubscribe = function() {
|
|
786
|
+
return a.unsubscribe();
|
|
787
|
+
}, i = {
|
|
788
|
+
next: r.next && pt(r.next, l),
|
|
789
|
+
error: r.error && pt(r.error, l),
|
|
790
|
+
complete: r.complete && pt(r.complete, l)
|
|
791
|
+
}) : i = r;
|
|
792
|
+
}
|
|
793
|
+
return a.destination = new Cn(i), a;
|
|
746
794
|
}
|
|
747
795
|
return t;
|
|
748
|
-
}(
|
|
796
|
+
}(Pr);
|
|
749
797
|
function Ke(e) {
|
|
750
|
-
|
|
798
|
+
xn(e);
|
|
751
799
|
}
|
|
752
|
-
function
|
|
800
|
+
function Tn(e) {
|
|
753
801
|
throw e;
|
|
754
802
|
}
|
|
755
|
-
var
|
|
803
|
+
var Bn = {
|
|
756
804
|
closed: !0,
|
|
757
|
-
next:
|
|
758
|
-
error:
|
|
759
|
-
complete:
|
|
760
|
-
},
|
|
805
|
+
next: Gt,
|
|
806
|
+
error: Tn,
|
|
807
|
+
complete: Gt
|
|
808
|
+
}, Sn = function() {
|
|
761
809
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
762
810
|
}();
|
|
763
|
-
function
|
|
811
|
+
function An(e) {
|
|
764
812
|
return e;
|
|
765
813
|
}
|
|
766
|
-
function
|
|
767
|
-
return e.length === 0 ?
|
|
814
|
+
function In(e) {
|
|
815
|
+
return e.length === 0 ? An : e.length === 1 ? e[0] : function(r) {
|
|
768
816
|
return e.reduce(function(n, s) {
|
|
769
817
|
return s(n);
|
|
770
818
|
}, r);
|
|
771
819
|
};
|
|
772
820
|
}
|
|
773
|
-
var
|
|
821
|
+
var jt = function() {
|
|
774
822
|
function e(t) {
|
|
775
823
|
t && (this._subscribe = t);
|
|
776
824
|
}
|
|
@@ -778,7 +826,7 @@ var Ut = function() {
|
|
|
778
826
|
var r = new e();
|
|
779
827
|
return r.source = this, r.operator = t, r;
|
|
780
828
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
781
|
-
var s = this, a =
|
|
829
|
+
var s = this, a = Mn(t) ? t : new Tt(t, r, n);
|
|
782
830
|
return rt(function() {
|
|
783
831
|
var i = s, l = i.operator, u = i.source;
|
|
784
832
|
a.add(l ? l.call(a, u) : u ? s._subscribe(a) : s._trySubscribe(a));
|
|
@@ -791,8 +839,8 @@ var Ut = function() {
|
|
|
791
839
|
}
|
|
792
840
|
}, e.prototype.forEach = function(t, r) {
|
|
793
841
|
var n = this;
|
|
794
|
-
return r =
|
|
795
|
-
var i = new
|
|
842
|
+
return r = Vt(r), new r(function(s, a) {
|
|
843
|
+
var i = new Tt({
|
|
796
844
|
next: function(l) {
|
|
797
845
|
try {
|
|
798
846
|
t(l);
|
|
@@ -808,15 +856,15 @@ var Ut = function() {
|
|
|
808
856
|
}, e.prototype._subscribe = function(t) {
|
|
809
857
|
var r;
|
|
810
858
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
811
|
-
}, e.prototype[
|
|
859
|
+
}, e.prototype[Sn] = function() {
|
|
812
860
|
return this;
|
|
813
861
|
}, e.prototype.pipe = function() {
|
|
814
862
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
815
863
|
t[r] = arguments[r];
|
|
816
|
-
return
|
|
864
|
+
return In(t)(this);
|
|
817
865
|
}, e.prototype.toPromise = function(t) {
|
|
818
866
|
var r = this;
|
|
819
|
-
return t =
|
|
867
|
+
return t = Vt(t), new t(function(n, s) {
|
|
820
868
|
var a;
|
|
821
869
|
r.subscribe(function(i) {
|
|
822
870
|
return a = i;
|
|
@@ -830,32 +878,32 @@ var Ut = function() {
|
|
|
830
878
|
return new e(t);
|
|
831
879
|
}, e;
|
|
832
880
|
}();
|
|
833
|
-
function
|
|
881
|
+
function Vt(e) {
|
|
834
882
|
var t;
|
|
835
|
-
return (t = e ??
|
|
883
|
+
return (t = e ?? yr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
836
884
|
}
|
|
837
|
-
function
|
|
885
|
+
function Hn(e) {
|
|
838
886
|
return e && oe(e.next) && oe(e.error) && oe(e.complete);
|
|
839
887
|
}
|
|
840
|
-
function
|
|
841
|
-
return e && e instanceof
|
|
888
|
+
function Mn(e) {
|
|
889
|
+
return e && e instanceof Pr || Hn(e) && vr(e);
|
|
842
890
|
}
|
|
843
|
-
var
|
|
891
|
+
var Nn = br(function(e) {
|
|
844
892
|
return function() {
|
|
845
893
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
846
894
|
};
|
|
847
|
-
}),
|
|
895
|
+
}), _r = function(e) {
|
|
848
896
|
le(t, e);
|
|
849
897
|
function t() {
|
|
850
898
|
var r = e.call(this) || this;
|
|
851
899
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
852
900
|
}
|
|
853
901
|
return t.prototype.lift = function(r) {
|
|
854
|
-
var n = new
|
|
902
|
+
var n = new zt(this, this);
|
|
855
903
|
return n.operator = r, n;
|
|
856
904
|
}, t.prototype._throwIfClosed = function() {
|
|
857
905
|
if (this.closed)
|
|
858
|
-
throw new
|
|
906
|
+
throw new Nn();
|
|
859
907
|
}, t.prototype.next = function(r) {
|
|
860
908
|
var n = this;
|
|
861
909
|
rt(function() {
|
|
@@ -863,7 +911,7 @@ var An = pr(function(e) {
|
|
|
863
911
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
864
912
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
865
913
|
try {
|
|
866
|
-
for (var i =
|
|
914
|
+
for (var i = xt(n.currentObservers), l = i.next(); !l.done; l = i.next()) {
|
|
867
915
|
var u = l.value;
|
|
868
916
|
u.next(r);
|
|
869
917
|
}
|
|
@@ -873,7 +921,8 @@ var An = pr(function(e) {
|
|
|
873
921
|
try {
|
|
874
922
|
l && !l.done && (a = i.return) && a.call(i);
|
|
875
923
|
} finally {
|
|
876
|
-
if (s)
|
|
924
|
+
if (s)
|
|
925
|
+
throw s.error;
|
|
877
926
|
}
|
|
878
927
|
}
|
|
879
928
|
}
|
|
@@ -911,19 +960,19 @@ var An = pr(function(e) {
|
|
|
911
960
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
912
961
|
}, t.prototype._innerSubscribe = function(r) {
|
|
913
962
|
var n = this, s = this, a = s.hasError, i = s.isStopped, l = s.observers;
|
|
914
|
-
return a || i ?
|
|
915
|
-
n.currentObservers = null,
|
|
963
|
+
return a || i ? wr : (this.currentObservers = null, l.push(r), new ot(function() {
|
|
964
|
+
n.currentObservers = null, Ct(l, r);
|
|
916
965
|
}));
|
|
917
966
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
918
967
|
var n = this, s = n.hasError, a = n.thrownError, i = n.isStopped;
|
|
919
968
|
s ? r.error(a) : i && r.complete();
|
|
920
969
|
}, t.prototype.asObservable = function() {
|
|
921
|
-
var r = new
|
|
970
|
+
var r = new jt();
|
|
922
971
|
return r.source = this, r;
|
|
923
972
|
}, t.create = function(r, n) {
|
|
924
|
-
return new
|
|
973
|
+
return new zt(r, n);
|
|
925
974
|
}, t;
|
|
926
|
-
}(
|
|
975
|
+
}(jt), zt = function(e) {
|
|
927
976
|
le(t, e);
|
|
928
977
|
function t(r, n) {
|
|
929
978
|
var s = e.call(this) || this;
|
|
@@ -940,17 +989,17 @@ var An = pr(function(e) {
|
|
|
940
989
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
941
990
|
}, t.prototype._subscribe = function(r) {
|
|
942
991
|
var n, s;
|
|
943
|
-
return (s = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && s !== void 0 ? s :
|
|
992
|
+
return (s = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && s !== void 0 ? s : wr;
|
|
944
993
|
}, t;
|
|
945
|
-
}(
|
|
994
|
+
}(_r), xr = {
|
|
946
995
|
now: function() {
|
|
947
|
-
return (
|
|
996
|
+
return (xr.delegate || Date).now();
|
|
948
997
|
},
|
|
949
998
|
delegate: void 0
|
|
950
|
-
},
|
|
999
|
+
}, Rn = function(e) {
|
|
951
1000
|
le(t, e);
|
|
952
1001
|
function t(r, n, s) {
|
|
953
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), s === void 0 && (s =
|
|
1002
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), s === void 0 && (s = xr);
|
|
954
1003
|
var a = e.call(this) || this;
|
|
955
1004
|
return a._bufferSize = r, a._windowTime = n, a._timestampProvider = s, a._buffer = [], a._infiniteTimeWindow = !0, a._infiniteTimeWindow = n === 1 / 0, a._bufferSize = Math.max(1, r), a._windowTime = Math.max(1, n), a;
|
|
956
1005
|
}
|
|
@@ -970,15 +1019,15 @@ var An = pr(function(e) {
|
|
|
970
1019
|
h && a.splice(0, h + 1);
|
|
971
1020
|
}
|
|
972
1021
|
}, t;
|
|
973
|
-
}(
|
|
974
|
-
const
|
|
975
|
-
if (
|
|
976
|
-
const r = new
|
|
977
|
-
|
|
1022
|
+
}(_r);
|
|
1023
|
+
const Wt = [], Xt = {}, On = (e, t = 0) => {
|
|
1024
|
+
if (Wt.indexOf(e) == -1) {
|
|
1025
|
+
const r = new Rn(t);
|
|
1026
|
+
Xt[e] = r, Wt.push(e);
|
|
978
1027
|
}
|
|
979
|
-
return
|
|
1028
|
+
return Xt[e];
|
|
980
1029
|
}, Ee = [];
|
|
981
|
-
function
|
|
1030
|
+
function Ln(e, t) {
|
|
982
1031
|
return {
|
|
983
1032
|
subscribe: lt(e, t).subscribe
|
|
984
1033
|
};
|
|
@@ -987,7 +1036,7 @@ function lt(e, t = ne) {
|
|
|
987
1036
|
let r;
|
|
988
1037
|
const n = /* @__PURE__ */ new Set();
|
|
989
1038
|
function s(l) {
|
|
990
|
-
if (
|
|
1039
|
+
if (dr(e, l) && (e = l, r)) {
|
|
991
1040
|
const u = !Ee.length;
|
|
992
1041
|
for (const h of n)
|
|
993
1042
|
h[1](), Ee.push(h, e);
|
|
@@ -1009,12 +1058,12 @@ function lt(e, t = ne) {
|
|
|
1009
1058
|
}
|
|
1010
1059
|
return { set: s, update: a, subscribe: i };
|
|
1011
1060
|
}
|
|
1012
|
-
function
|
|
1061
|
+
function Oe(e, t, r) {
|
|
1013
1062
|
const n = !Array.isArray(e), s = n ? [e] : e;
|
|
1014
1063
|
if (!s.every(Boolean))
|
|
1015
1064
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1016
1065
|
const a = t.length < 2;
|
|
1017
|
-
return
|
|
1066
|
+
return Ln(r, (i, l) => {
|
|
1018
1067
|
let u = !1;
|
|
1019
1068
|
const h = [];
|
|
1020
1069
|
let c = 0, f = ne;
|
|
@@ -1025,7 +1074,7 @@ function Re(e, t, r) {
|
|
|
1025
1074
|
const w = t(n ? h[0] : h, i, l);
|
|
1026
1075
|
a ? i(w) : f = Be(w) ? w : ne;
|
|
1027
1076
|
}, m = s.map(
|
|
1028
|
-
(w, v) =>
|
|
1077
|
+
(w, v) => pr(
|
|
1029
1078
|
w,
|
|
1030
1079
|
(T) => {
|
|
1031
1080
|
h[v] = T, c &= ~(1 << v), u && p();
|
|
@@ -1036,74 +1085,74 @@ function Re(e, t, r) {
|
|
|
1036
1085
|
)
|
|
1037
1086
|
);
|
|
1038
1087
|
return u = !0, p(), function() {
|
|
1039
|
-
|
|
1088
|
+
Re(m), f(), u = !1;
|
|
1040
1089
|
};
|
|
1041
1090
|
});
|
|
1042
1091
|
}
|
|
1043
|
-
function
|
|
1092
|
+
function Fn(e) {
|
|
1044
1093
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1045
1094
|
}
|
|
1046
|
-
var
|
|
1047
|
-
return
|
|
1095
|
+
var kn = function(t) {
|
|
1096
|
+
return Dn(t) && !Un(t);
|
|
1048
1097
|
};
|
|
1049
|
-
function
|
|
1098
|
+
function Dn(e) {
|
|
1050
1099
|
return !!e && typeof e == "object";
|
|
1051
1100
|
}
|
|
1052
|
-
function
|
|
1101
|
+
function Un(e) {
|
|
1053
1102
|
var t = Object.prototype.toString.call(e);
|
|
1054
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1103
|
+
return t === "[object RegExp]" || t === "[object Date]" || jn(e);
|
|
1055
1104
|
}
|
|
1056
|
-
var
|
|
1057
|
-
function
|
|
1058
|
-
return e.$$typeof ===
|
|
1105
|
+
var $n = typeof Symbol == "function" && Symbol.for, Gn = $n ? Symbol.for("react.element") : 60103;
|
|
1106
|
+
function jn(e) {
|
|
1107
|
+
return e.$$typeof === Gn;
|
|
1059
1108
|
}
|
|
1060
|
-
function
|
|
1109
|
+
function Vn(e) {
|
|
1061
1110
|
return Array.isArray(e) ? [] : {};
|
|
1062
1111
|
}
|
|
1063
1112
|
function Ve(e, t) {
|
|
1064
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Ie(
|
|
1113
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Ie(Vn(e), e, t) : e;
|
|
1065
1114
|
}
|
|
1066
|
-
function
|
|
1115
|
+
function zn(e, t, r) {
|
|
1067
1116
|
return e.concat(t).map(function(n) {
|
|
1068
1117
|
return Ve(n, r);
|
|
1069
1118
|
});
|
|
1070
1119
|
}
|
|
1071
|
-
function
|
|
1120
|
+
function Wn(e, t) {
|
|
1072
1121
|
if (!t.customMerge)
|
|
1073
1122
|
return Ie;
|
|
1074
1123
|
var r = t.customMerge(e);
|
|
1075
1124
|
return typeof r == "function" ? r : Ie;
|
|
1076
1125
|
}
|
|
1077
|
-
function
|
|
1126
|
+
function Xn(e) {
|
|
1078
1127
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1079
1128
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1080
1129
|
}) : [];
|
|
1081
1130
|
}
|
|
1082
|
-
function
|
|
1083
|
-
return Object.keys(e).concat(
|
|
1131
|
+
function Zt(e) {
|
|
1132
|
+
return Object.keys(e).concat(Xn(e));
|
|
1084
1133
|
}
|
|
1085
|
-
function
|
|
1134
|
+
function Er(e, t) {
|
|
1086
1135
|
try {
|
|
1087
1136
|
return t in e;
|
|
1088
1137
|
} catch {
|
|
1089
1138
|
return !1;
|
|
1090
1139
|
}
|
|
1091
1140
|
}
|
|
1092
|
-
function
|
|
1093
|
-
return
|
|
1141
|
+
function Zn(e, t) {
|
|
1142
|
+
return Er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1094
1143
|
}
|
|
1095
|
-
function
|
|
1144
|
+
function Qn(e, t, r) {
|
|
1096
1145
|
var n = {};
|
|
1097
|
-
return r.isMergeableObject(e) &&
|
|
1146
|
+
return r.isMergeableObject(e) && Zt(e).forEach(function(s) {
|
|
1098
1147
|
n[s] = Ve(e[s], r);
|
|
1099
|
-
}),
|
|
1100
|
-
|
|
1148
|
+
}), Zt(t).forEach(function(s) {
|
|
1149
|
+
Zn(e, s) || (Er(e, s) && r.isMergeableObject(t[s]) ? n[s] = Wn(s, r)(e[s], t[s], r) : n[s] = Ve(t[s], r));
|
|
1101
1150
|
}), n;
|
|
1102
1151
|
}
|
|
1103
1152
|
function Ie(e, t, r) {
|
|
1104
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1153
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || zn, r.isMergeableObject = r.isMergeableObject || kn, r.cloneUnlessOtherwiseSpecified = Ve;
|
|
1105
1154
|
var n = Array.isArray(t), s = Array.isArray(e), a = n === s;
|
|
1106
|
-
return a ? n ? r.arrayMerge(e, t, r) :
|
|
1155
|
+
return a ? n ? r.arrayMerge(e, t, r) : Qn(e, t, r) : Ve(t, r);
|
|
1107
1156
|
}
|
|
1108
1157
|
Ie.all = function(t, r) {
|
|
1109
1158
|
if (!Array.isArray(t))
|
|
@@ -1112,105 +1161,107 @@ Ie.all = function(t, r) {
|
|
|
1112
1161
|
return Ie(n, s, r);
|
|
1113
1162
|
}, {});
|
|
1114
1163
|
};
|
|
1115
|
-
var
|
|
1116
|
-
const
|
|
1117
|
-
function
|
|
1118
|
-
var r = t && t.cache ? t.cache :
|
|
1164
|
+
var Yn = Ie, Jn = Yn;
|
|
1165
|
+
const qn = /* @__PURE__ */ Fn(Jn);
|
|
1166
|
+
function mt(e, t) {
|
|
1167
|
+
var r = t && t.cache ? t.cache : ss, n = t && t.serializer ? t.serializer : ns, s = t && t.strategy ? t.strategy : es;
|
|
1119
1168
|
return s(e, {
|
|
1120
1169
|
cache: r,
|
|
1121
1170
|
serializer: n
|
|
1122
1171
|
});
|
|
1123
1172
|
}
|
|
1124
|
-
function
|
|
1173
|
+
function Kn(e) {
|
|
1125
1174
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1126
1175
|
}
|
|
1127
|
-
function
|
|
1128
|
-
var s =
|
|
1176
|
+
function Cr(e, t, r, n) {
|
|
1177
|
+
var s = Kn(n) ? n : r(n), a = t.get(s);
|
|
1129
1178
|
return typeof a > "u" && (a = e.call(this, n), t.set(s, a)), a;
|
|
1130
1179
|
}
|
|
1131
|
-
function
|
|
1180
|
+
function Tr(e, t, r) {
|
|
1132
1181
|
var n = Array.prototype.slice.call(arguments, 3), s = r(n), a = t.get(s);
|
|
1133
1182
|
return typeof a > "u" && (a = e.apply(this, n), t.set(s, a)), a;
|
|
1134
1183
|
}
|
|
1135
|
-
function
|
|
1184
|
+
function Ot(e, t, r, n, s) {
|
|
1136
1185
|
return r.bind(t, e, n, s);
|
|
1137
1186
|
}
|
|
1138
|
-
function
|
|
1139
|
-
var r = e.length === 1 ?
|
|
1140
|
-
return
|
|
1187
|
+
function es(e, t) {
|
|
1188
|
+
var r = e.length === 1 ? Cr : Tr;
|
|
1189
|
+
return Ot(e, this, r, t.cache.create(), t.serializer);
|
|
1141
1190
|
}
|
|
1142
|
-
function
|
|
1143
|
-
return
|
|
1191
|
+
function ts(e, t) {
|
|
1192
|
+
return Ot(e, this, Tr, t.cache.create(), t.serializer);
|
|
1144
1193
|
}
|
|
1145
|
-
|
|
1194
|
+
function rs(e, t) {
|
|
1195
|
+
return Ot(e, this, Cr, t.cache.create(), t.serializer);
|
|
1196
|
+
}
|
|
1197
|
+
var ns = function() {
|
|
1146
1198
|
return JSON.stringify(arguments);
|
|
1147
|
-
}
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
}()
|
|
1159
|
-
), ts = {
|
|
1199
|
+
};
|
|
1200
|
+
function Lt() {
|
|
1201
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1202
|
+
}
|
|
1203
|
+
Lt.prototype.get = function(e) {
|
|
1204
|
+
return this.cache[e];
|
|
1205
|
+
};
|
|
1206
|
+
Lt.prototype.set = function(e, t) {
|
|
1207
|
+
this.cache[e] = t;
|
|
1208
|
+
};
|
|
1209
|
+
var ss = {
|
|
1160
1210
|
create: function() {
|
|
1161
|
-
return new
|
|
1211
|
+
return new Lt();
|
|
1162
1212
|
}
|
|
1163
|
-
},
|
|
1164
|
-
variadic:
|
|
1213
|
+
}, gt = {
|
|
1214
|
+
variadic: ts,
|
|
1215
|
+
monadic: rs
|
|
1165
1216
|
}, E;
|
|
1166
1217
|
(function(e) {
|
|
1167
1218
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
1168
1219
|
})(E || (E = {}));
|
|
1169
|
-
var
|
|
1220
|
+
var R;
|
|
1170
1221
|
(function(e) {
|
|
1171
1222
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1172
|
-
})(
|
|
1223
|
+
})(R || (R = {}));
|
|
1173
1224
|
var He;
|
|
1174
1225
|
(function(e) {
|
|
1175
1226
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1176
1227
|
})(He || (He = {}));
|
|
1177
|
-
function
|
|
1178
|
-
return e.type ===
|
|
1228
|
+
function Qt(e) {
|
|
1229
|
+
return e.type === R.literal;
|
|
1179
1230
|
}
|
|
1180
|
-
function
|
|
1181
|
-
return e.type ===
|
|
1231
|
+
function as(e) {
|
|
1232
|
+
return e.type === R.argument;
|
|
1182
1233
|
}
|
|
1183
|
-
function
|
|
1184
|
-
return e.type ===
|
|
1234
|
+
function Br(e) {
|
|
1235
|
+
return e.type === R.number;
|
|
1185
1236
|
}
|
|
1186
|
-
function
|
|
1187
|
-
return e.type ===
|
|
1237
|
+
function Sr(e) {
|
|
1238
|
+
return e.type === R.date;
|
|
1188
1239
|
}
|
|
1189
|
-
function
|
|
1190
|
-
return e.type ===
|
|
1240
|
+
function Ar(e) {
|
|
1241
|
+
return e.type === R.time;
|
|
1191
1242
|
}
|
|
1192
|
-
function
|
|
1193
|
-
return e.type ===
|
|
1243
|
+
function Ir(e) {
|
|
1244
|
+
return e.type === R.select;
|
|
1194
1245
|
}
|
|
1195
|
-
function
|
|
1196
|
-
return e.type ===
|
|
1246
|
+
function Hr(e) {
|
|
1247
|
+
return e.type === R.plural;
|
|
1197
1248
|
}
|
|
1198
|
-
function
|
|
1199
|
-
return e.type ===
|
|
1249
|
+
function is(e) {
|
|
1250
|
+
return e.type === R.pound;
|
|
1200
1251
|
}
|
|
1201
|
-
function
|
|
1202
|
-
return e.type ===
|
|
1252
|
+
function Mr(e) {
|
|
1253
|
+
return e.type === R.tag;
|
|
1203
1254
|
}
|
|
1204
|
-
function
|
|
1255
|
+
function Nr(e) {
|
|
1205
1256
|
return !!(e && typeof e == "object" && e.type === He.number);
|
|
1206
1257
|
}
|
|
1207
|
-
function
|
|
1258
|
+
function Bt(e) {
|
|
1208
1259
|
return !!(e && typeof e == "object" && e.type === He.dateTime);
|
|
1209
1260
|
}
|
|
1210
|
-
var
|
|
1211
|
-
function
|
|
1261
|
+
var Rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, os = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1262
|
+
function ls(e) {
|
|
1212
1263
|
var t = {};
|
|
1213
|
-
return e.replace(
|
|
1264
|
+
return e.replace(os, function(r) {
|
|
1214
1265
|
var n = r.length;
|
|
1215
1266
|
switch (r[0]) {
|
|
1216
1267
|
case "G":
|
|
@@ -1299,11 +1350,11 @@ function as(e) {
|
|
|
1299
1350
|
return "";
|
|
1300
1351
|
}), t;
|
|
1301
1352
|
}
|
|
1302
|
-
var
|
|
1303
|
-
function
|
|
1353
|
+
var us = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1354
|
+
function hs(e) {
|
|
1304
1355
|
if (e.length === 0)
|
|
1305
1356
|
throw new Error("Number skeleton cannot be empty");
|
|
1306
|
-
for (var t = e.split(
|
|
1357
|
+
for (var t = e.split(us).filter(function(p) {
|
|
1307
1358
|
return p.length > 0;
|
|
1308
1359
|
}), r = [], n = 0, s = t; n < s.length; n++) {
|
|
1309
1360
|
var a = s[n], i = a.split("/");
|
|
@@ -1318,17 +1369,17 @@ function os(e) {
|
|
|
1318
1369
|
}
|
|
1319
1370
|
return r;
|
|
1320
1371
|
}
|
|
1321
|
-
function
|
|
1372
|
+
function cs(e) {
|
|
1322
1373
|
return e.replace(/^(.*?)-/, "");
|
|
1323
1374
|
}
|
|
1324
|
-
var
|
|
1325
|
-
function
|
|
1375
|
+
var Yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Or = /^(@+)?(\+|#+)?[rs]?$/g, fs = /(\*)(0+)|(#+)(0+)|(0+)/g, Lr = /^(0+)$/;
|
|
1376
|
+
function Jt(e) {
|
|
1326
1377
|
var t = {};
|
|
1327
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1378
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Or, function(r, n, s) {
|
|
1328
1379
|
return typeof s != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : s === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof s == "string" ? s.length : 0)), "";
|
|
1329
1380
|
}), t;
|
|
1330
1381
|
}
|
|
1331
|
-
function
|
|
1382
|
+
function Fr(e) {
|
|
1332
1383
|
switch (e) {
|
|
1333
1384
|
case "sign-auto":
|
|
1334
1385
|
return {
|
|
@@ -1368,7 +1419,7 @@ function Nr(e) {
|
|
|
1368
1419
|
};
|
|
1369
1420
|
}
|
|
1370
1421
|
}
|
|
1371
|
-
function
|
|
1422
|
+
function ds(e) {
|
|
1372
1423
|
var t;
|
|
1373
1424
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1374
1425
|
notation: "engineering"
|
|
@@ -1376,17 +1427,17 @@ function hs(e) {
|
|
|
1376
1427
|
notation: "scientific"
|
|
1377
1428
|
}, e = e.slice(1)), t) {
|
|
1378
1429
|
var r = e.slice(0, 2);
|
|
1379
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1430
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Lr.test(e))
|
|
1380
1431
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1381
1432
|
t.minimumIntegerDigits = e.length;
|
|
1382
1433
|
}
|
|
1383
1434
|
return t;
|
|
1384
1435
|
}
|
|
1385
|
-
function
|
|
1386
|
-
var t = {}, r =
|
|
1436
|
+
function qt(e) {
|
|
1437
|
+
var t = {}, r = Fr(e);
|
|
1387
1438
|
return r || t;
|
|
1388
1439
|
}
|
|
1389
|
-
function
|
|
1440
|
+
function ps(e) {
|
|
1390
1441
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1391
1442
|
var s = n[r];
|
|
1392
1443
|
switch (s.stem) {
|
|
@@ -1410,7 +1461,7 @@ function cs(e) {
|
|
|
1410
1461
|
continue;
|
|
1411
1462
|
case "measure-unit":
|
|
1412
1463
|
case "unit":
|
|
1413
|
-
t.style = "unit", t.unit =
|
|
1464
|
+
t.style = "unit", t.unit = cs(s.options[0]);
|
|
1414
1465
|
continue;
|
|
1415
1466
|
case "compact-short":
|
|
1416
1467
|
case "K":
|
|
@@ -1422,12 +1473,12 @@ function cs(e) {
|
|
|
1422
1473
|
continue;
|
|
1423
1474
|
case "scientific":
|
|
1424
1475
|
t = S(S(S({}, t), { notation: "scientific" }), s.options.reduce(function(u, h) {
|
|
1425
|
-
return S(S({}, u),
|
|
1476
|
+
return S(S({}, u), qt(h));
|
|
1426
1477
|
}, {}));
|
|
1427
1478
|
continue;
|
|
1428
1479
|
case "engineering":
|
|
1429
1480
|
t = S(S(S({}, t), { notation: "engineering" }), s.options.reduce(function(u, h) {
|
|
1430
|
-
return S(S({}, u),
|
|
1481
|
+
return S(S({}, u), qt(h));
|
|
1431
1482
|
}, {}));
|
|
1432
1483
|
continue;
|
|
1433
1484
|
case "notation-simple":
|
|
@@ -1472,7 +1523,7 @@ function cs(e) {
|
|
|
1472
1523
|
case "integer-width":
|
|
1473
1524
|
if (s.options.length > 1)
|
|
1474
1525
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1475
|
-
s.options[0].replace(
|
|
1526
|
+
s.options[0].replace(fs, function(u, h, c, f, p, m) {
|
|
1476
1527
|
if (h)
|
|
1477
1528
|
t.minimumIntegerDigits = c.length;
|
|
1478
1529
|
else {
|
|
@@ -1485,27 +1536,27 @@ function cs(e) {
|
|
|
1485
1536
|
});
|
|
1486
1537
|
continue;
|
|
1487
1538
|
}
|
|
1488
|
-
if (
|
|
1539
|
+
if (Lr.test(s.stem)) {
|
|
1489
1540
|
t.minimumIntegerDigits = s.stem.length;
|
|
1490
1541
|
continue;
|
|
1491
1542
|
}
|
|
1492
|
-
if (
|
|
1543
|
+
if (Yt.test(s.stem)) {
|
|
1493
1544
|
if (s.options.length > 1)
|
|
1494
1545
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1495
|
-
s.stem.replace(
|
|
1546
|
+
s.stem.replace(Yt, function(u, h, c, f, p, m) {
|
|
1496
1547
|
return c === "*" ? t.minimumFractionDigits = h.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : p && m ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + m.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
|
|
1497
1548
|
});
|
|
1498
1549
|
var a = s.options[0];
|
|
1499
|
-
a === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = S(S({}, t),
|
|
1550
|
+
a === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = S(S({}, t), Jt(a)));
|
|
1500
1551
|
continue;
|
|
1501
1552
|
}
|
|
1502
|
-
if (
|
|
1503
|
-
t = S(S({}, t),
|
|
1553
|
+
if (Or.test(s.stem)) {
|
|
1554
|
+
t = S(S({}, t), Jt(s.stem));
|
|
1504
1555
|
continue;
|
|
1505
1556
|
}
|
|
1506
|
-
var i =
|
|
1557
|
+
var i = Fr(s.stem);
|
|
1507
1558
|
i && (t = S(S({}, t), i));
|
|
1508
|
-
var l =
|
|
1559
|
+
var l = ds(s.stem);
|
|
1509
1560
|
l && (t = S(S({}, t), l));
|
|
1510
1561
|
}
|
|
1511
1562
|
return t;
|
|
@@ -2925,22 +2976,23 @@ var et = {
|
|
|
2925
2976
|
"h"
|
|
2926
2977
|
]
|
|
2927
2978
|
};
|
|
2928
|
-
function
|
|
2979
|
+
function ms(e, t) {
|
|
2929
2980
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2930
2981
|
var s = e.charAt(n);
|
|
2931
2982
|
if (s === "j") {
|
|
2932
2983
|
for (var a = 0; n + 1 < e.length && e.charAt(n + 1) === s; )
|
|
2933
2984
|
a++, n++;
|
|
2934
|
-
var i = 1 + (a & 1), l = a < 2 ? 1 : 3 + (a >> 1), u = "a", h =
|
|
2985
|
+
var i = 1 + (a & 1), l = a < 2 ? 1 : 3 + (a >> 1), u = "a", h = gs(t);
|
|
2935
2986
|
for ((h == "H" || h == "k") && (l = 0); l-- > 0; )
|
|
2936
2987
|
r += u;
|
|
2937
2988
|
for (; i-- > 0; )
|
|
2938
2989
|
r = h + r;
|
|
2939
|
-
} else
|
|
2990
|
+
} else
|
|
2991
|
+
s === "J" ? r += "H" : r += s;
|
|
2940
2992
|
}
|
|
2941
2993
|
return r;
|
|
2942
2994
|
}
|
|
2943
|
-
function
|
|
2995
|
+
function gs(e) {
|
|
2944
2996
|
var t = e.hourCycle;
|
|
2945
2997
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2946
2998
|
e.hourCycles && // @ts-ignore
|
|
@@ -2962,20 +3014,20 @@ function ds(e) {
|
|
|
2962
3014
|
var s = et[n || ""] || et[r || ""] || et["".concat(r, "-001")] || et["001"];
|
|
2963
3015
|
return s[0];
|
|
2964
3016
|
}
|
|
2965
|
-
var
|
|
3017
|
+
var bt, bs = new RegExp("^".concat(Rr.source, "*")), ws = new RegExp("".concat(Rr.source, "*$"));
|
|
2966
3018
|
function C(e, t) {
|
|
2967
3019
|
return { start: e, end: t };
|
|
2968
3020
|
}
|
|
2969
|
-
var
|
|
3021
|
+
var vs = !!String.prototype.startsWith && "_a".startsWith("a", 1), ys = !!String.fromCodePoint, Ps = !!Object.fromEntries, _s = !!String.prototype.codePointAt, xs = !!String.prototype.trimStart, Es = !!String.prototype.trimEnd, Cs = !!Number.isSafeInteger, Ts = Cs ? Number.isSafeInteger : function(e) {
|
|
2970
3022
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2971
|
-
},
|
|
3023
|
+
}, St = !0;
|
|
2972
3024
|
try {
|
|
2973
|
-
var
|
|
2974
|
-
|
|
3025
|
+
var Bs = Dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3026
|
+
St = ((bt = Bs.exec("a")) === null || bt === void 0 ? void 0 : bt[0]) === "a";
|
|
2975
3027
|
} catch {
|
|
2976
|
-
|
|
3028
|
+
St = !1;
|
|
2977
3029
|
}
|
|
2978
|
-
var
|
|
3030
|
+
var Kt = vs ? (
|
|
2979
3031
|
// Native
|
|
2980
3032
|
function(t, r, n) {
|
|
2981
3033
|
return t.startsWith(r, n);
|
|
@@ -2985,7 +3037,7 @@ var Yt = gs ? (
|
|
|
2985
3037
|
function(t, r, n) {
|
|
2986
3038
|
return t.slice(n, n + r.length) === r;
|
|
2987
3039
|
}
|
|
2988
|
-
),
|
|
3040
|
+
), At = ys ? String.fromCodePoint : (
|
|
2989
3041
|
// IE11
|
|
2990
3042
|
function() {
|
|
2991
3043
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2997,9 +3049,9 @@ var Yt = gs ? (
|
|
|
2997
3049
|
}
|
|
2998
3050
|
return n;
|
|
2999
3051
|
}
|
|
3000
|
-
),
|
|
3052
|
+
), er = (
|
|
3001
3053
|
// native
|
|
3002
|
-
|
|
3054
|
+
Ps ? Object.fromEntries : (
|
|
3003
3055
|
// Ponyfill
|
|
3004
3056
|
function(t) {
|
|
3005
3057
|
for (var r = {}, n = 0, s = t; n < s.length; n++) {
|
|
@@ -3009,7 +3061,7 @@ var Yt = gs ? (
|
|
|
3009
3061
|
return r;
|
|
3010
3062
|
}
|
|
3011
3063
|
)
|
|
3012
|
-
),
|
|
3064
|
+
), kr = _s ? (
|
|
3013
3065
|
// Native
|
|
3014
3066
|
function(t, r) {
|
|
3015
3067
|
return t.codePointAt(r);
|
|
@@ -3023,7 +3075,7 @@ var Yt = gs ? (
|
|
|
3023
3075
|
return s < 55296 || s > 56319 || r + 1 === n || (a = t.charCodeAt(r + 1)) < 56320 || a > 57343 ? s : (s - 55296 << 10) + (a - 56320) + 65536;
|
|
3024
3076
|
}
|
|
3025
3077
|
}
|
|
3026
|
-
),
|
|
3078
|
+
), Ss = xs ? (
|
|
3027
3079
|
// Native
|
|
3028
3080
|
function(t) {
|
|
3029
3081
|
return t.trimStart();
|
|
@@ -3031,9 +3083,9 @@ var Yt = gs ? (
|
|
|
3031
3083
|
) : (
|
|
3032
3084
|
// Ponyfill
|
|
3033
3085
|
function(t) {
|
|
3034
|
-
return t.replace(
|
|
3086
|
+
return t.replace(bs, "");
|
|
3035
3087
|
}
|
|
3036
|
-
),
|
|
3088
|
+
), As = Es ? (
|
|
3037
3089
|
// Native
|
|
3038
3090
|
function(t) {
|
|
3039
3091
|
return t.trimEnd();
|
|
@@ -3041,32 +3093,32 @@ var Yt = gs ? (
|
|
|
3041
3093
|
) : (
|
|
3042
3094
|
// Ponyfill
|
|
3043
3095
|
function(t) {
|
|
3044
|
-
return t.replace(
|
|
3096
|
+
return t.replace(ws, "");
|
|
3045
3097
|
}
|
|
3046
3098
|
);
|
|
3047
|
-
function
|
|
3099
|
+
function Dr(e, t) {
|
|
3048
3100
|
return new RegExp(e, t);
|
|
3049
3101
|
}
|
|
3050
|
-
var
|
|
3051
|
-
if (
|
|
3052
|
-
var
|
|
3053
|
-
|
|
3102
|
+
var It;
|
|
3103
|
+
if (St) {
|
|
3104
|
+
var tr = Dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3105
|
+
It = function(t, r) {
|
|
3054
3106
|
var n;
|
|
3055
|
-
|
|
3056
|
-
var s =
|
|
3107
|
+
tr.lastIndex = r;
|
|
3108
|
+
var s = tr.exec(t);
|
|
3057
3109
|
return (n = s[1]) !== null && n !== void 0 ? n : "";
|
|
3058
3110
|
};
|
|
3059
3111
|
} else
|
|
3060
|
-
|
|
3112
|
+
It = function(t, r) {
|
|
3061
3113
|
for (var n = []; ; ) {
|
|
3062
|
-
var s =
|
|
3063
|
-
if (s === void 0 ||
|
|
3114
|
+
var s = kr(t, r);
|
|
3115
|
+
if (s === void 0 || Ur(s) || Ns(s))
|
|
3064
3116
|
break;
|
|
3065
3117
|
n.push(s), r += s >= 65536 ? 2 : 1;
|
|
3066
3118
|
}
|
|
3067
|
-
return
|
|
3119
|
+
return At.apply(void 0, n);
|
|
3068
3120
|
};
|
|
3069
|
-
var
|
|
3121
|
+
var Is = (
|
|
3070
3122
|
/** @class */
|
|
3071
3123
|
function() {
|
|
3072
3124
|
function e(t, r) {
|
|
@@ -3090,14 +3142,14 @@ var Bs = (
|
|
|
3090
3142
|
if (a === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3091
3143
|
var l = this.clonePosition();
|
|
3092
3144
|
this.bump(), s.push({
|
|
3093
|
-
type:
|
|
3145
|
+
type: R.pound,
|
|
3094
3146
|
location: C(l, this.clonePosition())
|
|
3095
3147
|
});
|
|
3096
3148
|
} else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3097
3149
|
if (n)
|
|
3098
3150
|
break;
|
|
3099
3151
|
return this.error(E.UNMATCHED_CLOSING_TAG, C(this.clonePosition(), this.clonePosition()));
|
|
3100
|
-
} else if (a === 60 && !this.ignoreTag &&
|
|
3152
|
+
} else if (a === 60 && !this.ignoreTag && Ht(this.peek() || 0)) {
|
|
3101
3153
|
var i = this.parseTag(t, r);
|
|
3102
3154
|
if (i.err)
|
|
3103
3155
|
return i;
|
|
@@ -3118,7 +3170,7 @@ var Bs = (
|
|
|
3118
3170
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3119
3171
|
return {
|
|
3120
3172
|
val: {
|
|
3121
|
-
type:
|
|
3173
|
+
type: R.literal,
|
|
3122
3174
|
value: "<".concat(s, "/>"),
|
|
3123
3175
|
location: C(n, this.clonePosition())
|
|
3124
3176
|
},
|
|
@@ -3130,12 +3182,12 @@ var Bs = (
|
|
|
3130
3182
|
return a;
|
|
3131
3183
|
var i = a.val, l = this.clonePosition();
|
|
3132
3184
|
if (this.bumpIf("</")) {
|
|
3133
|
-
if (this.isEOF() || !
|
|
3185
|
+
if (this.isEOF() || !Ht(this.char()))
|
|
3134
3186
|
return this.error(E.INVALID_TAG, C(l, this.clonePosition()));
|
|
3135
3187
|
var u = this.clonePosition(), h = this.parseTagName();
|
|
3136
3188
|
return s !== h ? this.error(E.UNMATCHED_CLOSING_TAG, C(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3137
3189
|
val: {
|
|
3138
|
-
type:
|
|
3190
|
+
type: R.tag,
|
|
3139
3191
|
value: s,
|
|
3140
3192
|
children: i,
|
|
3141
3193
|
location: C(n, this.clonePosition())
|
|
@@ -3148,7 +3200,7 @@ var Bs = (
|
|
|
3148
3200
|
return this.error(E.INVALID_TAG, C(n, this.clonePosition()));
|
|
3149
3201
|
}, e.prototype.parseTagName = function() {
|
|
3150
3202
|
var t = this.offset();
|
|
3151
|
-
for (this.bump(); !this.isEOF() &&
|
|
3203
|
+
for (this.bump(); !this.isEOF() && Ms(this.char()); )
|
|
3152
3204
|
this.bump();
|
|
3153
3205
|
return this.message.slice(t, this.offset());
|
|
3154
3206
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3172,12 +3224,12 @@ var Bs = (
|
|
|
3172
3224
|
}
|
|
3173
3225
|
var u = C(n, this.clonePosition());
|
|
3174
3226
|
return {
|
|
3175
|
-
val: { type:
|
|
3227
|
+
val: { type: R.literal, value: s, location: u },
|
|
3176
3228
|
err: null
|
|
3177
3229
|
};
|
|
3178
3230
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3179
3231
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3180
|
-
!
|
|
3232
|
+
!Hs(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3181
3233
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3182
3234
|
if (this.isEOF() || this.char() !== 39)
|
|
3183
3235
|
return null;
|
|
@@ -3211,12 +3263,12 @@ var Bs = (
|
|
|
3211
3263
|
r.push(n);
|
|
3212
3264
|
this.bump();
|
|
3213
3265
|
}
|
|
3214
|
-
return
|
|
3266
|
+
return At.apply(void 0, r);
|
|
3215
3267
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3216
3268
|
if (this.isEOF())
|
|
3217
3269
|
return null;
|
|
3218
3270
|
var n = this.char();
|
|
3219
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3271
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), At(n));
|
|
3220
3272
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3221
3273
|
var n = this.clonePosition();
|
|
3222
3274
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3232,7 +3284,7 @@ var Bs = (
|
|
|
3232
3284
|
case 125:
|
|
3233
3285
|
return this.bump(), {
|
|
3234
3286
|
val: {
|
|
3235
|
-
type:
|
|
3287
|
+
type: R.argument,
|
|
3236
3288
|
// value does not include the opening and closing braces.
|
|
3237
3289
|
value: s,
|
|
3238
3290
|
location: C(n, this.clonePosition())
|
|
@@ -3245,7 +3297,7 @@ var Bs = (
|
|
|
3245
3297
|
return this.error(E.MALFORMED_ARGUMENT, C(n, this.clonePosition()));
|
|
3246
3298
|
}
|
|
3247
3299
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3248
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3300
|
+
var t = this.clonePosition(), r = this.offset(), n = It(this.message, r), s = r + n.length;
|
|
3249
3301
|
this.bumpTo(s);
|
|
3250
3302
|
var a = this.clonePosition(), i = C(t, a);
|
|
3251
3303
|
return { value: n, location: i };
|
|
@@ -3264,7 +3316,7 @@ var Bs = (
|
|
|
3264
3316
|
var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3265
3317
|
if (f.err)
|
|
3266
3318
|
return f;
|
|
3267
|
-
var p =
|
|
3319
|
+
var p = As(f.val);
|
|
3268
3320
|
if (p.length === 0)
|
|
3269
3321
|
return this.error(E.EXPECT_ARGUMENT_STYLE, C(this.clonePosition(), this.clonePosition()));
|
|
3270
3322
|
var m = C(c, this.clonePosition());
|
|
@@ -3274,25 +3326,25 @@ var Bs = (
|
|
|
3274
3326
|
if (w.err)
|
|
3275
3327
|
return w;
|
|
3276
3328
|
var v = C(s, this.clonePosition());
|
|
3277
|
-
if (h &&
|
|
3278
|
-
var T =
|
|
3329
|
+
if (h && Kt(h?.style, "::", 0)) {
|
|
3330
|
+
var T = Ss(h.style.slice(2));
|
|
3279
3331
|
if (l === "number") {
|
|
3280
3332
|
var f = this.parseNumberSkeletonFromString(T, h.styleLocation);
|
|
3281
3333
|
return f.err ? f : {
|
|
3282
|
-
val: { type:
|
|
3334
|
+
val: { type: R.number, value: n, location: v, style: f.val },
|
|
3283
3335
|
err: null
|
|
3284
3336
|
};
|
|
3285
3337
|
} else {
|
|
3286
3338
|
if (T.length === 0)
|
|
3287
3339
|
return this.error(E.EXPECT_DATE_TIME_SKELETON, v);
|
|
3288
3340
|
var y = T;
|
|
3289
|
-
this.locale && (y =
|
|
3341
|
+
this.locale && (y = ms(T, this.locale));
|
|
3290
3342
|
var p = {
|
|
3291
3343
|
type: He.dateTime,
|
|
3292
3344
|
pattern: y,
|
|
3293
3345
|
location: h.styleLocation,
|
|
3294
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3295
|
-
}, I = l === "date" ?
|
|
3346
|
+
parsedOptions: this.shouldParseSkeletons ? ls(y) : {}
|
|
3347
|
+
}, I = l === "date" ? R.date : R.time;
|
|
3296
3348
|
return {
|
|
3297
3349
|
val: { type: I, value: n, location: v, style: p },
|
|
3298
3350
|
err: null
|
|
@@ -3301,7 +3353,7 @@ var Bs = (
|
|
|
3301
3353
|
}
|
|
3302
3354
|
return {
|
|
3303
3355
|
val: {
|
|
3304
|
-
type: l === "number" ?
|
|
3356
|
+
type: l === "number" ? R.number : l === "date" ? R.date : R.time,
|
|
3305
3357
|
value: n,
|
|
3306
3358
|
location: v,
|
|
3307
3359
|
style: (a = h?.style) !== null && a !== void 0 ? a : null
|
|
@@ -3312,9 +3364,9 @@ var Bs = (
|
|
|
3312
3364
|
case "plural":
|
|
3313
3365
|
case "selectordinal":
|
|
3314
3366
|
case "select": {
|
|
3315
|
-
var
|
|
3367
|
+
var O = this.clonePosition();
|
|
3316
3368
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3317
|
-
return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, C(
|
|
3369
|
+
return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, C(O, S({}, O)));
|
|
3318
3370
|
this.bumpSpace();
|
|
3319
3371
|
var k = this.parseIdentifierIfPossible(), D = 0;
|
|
3320
3372
|
if (l !== "select" && k.value === "offset") {
|
|
@@ -3335,17 +3387,17 @@ var Bs = (
|
|
|
3335
3387
|
var X = C(s, this.clonePosition());
|
|
3336
3388
|
return l === "select" ? {
|
|
3337
3389
|
val: {
|
|
3338
|
-
type:
|
|
3390
|
+
type: R.select,
|
|
3339
3391
|
value: n,
|
|
3340
|
-
options:
|
|
3392
|
+
options: er(N.val),
|
|
3341
3393
|
location: X
|
|
3342
3394
|
},
|
|
3343
3395
|
err: null
|
|
3344
3396
|
} : {
|
|
3345
3397
|
val: {
|
|
3346
|
-
type:
|
|
3398
|
+
type: R.plural,
|
|
3347
3399
|
value: n,
|
|
3348
|
-
options:
|
|
3400
|
+
options: er(N.val),
|
|
3349
3401
|
offset: D,
|
|
3350
3402
|
pluralType: l === "plural" ? "cardinal" : "ordinal",
|
|
3351
3403
|
location: X
|
|
@@ -3396,7 +3448,7 @@ var Bs = (
|
|
|
3396
3448
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3397
3449
|
var n = [];
|
|
3398
3450
|
try {
|
|
3399
|
-
n =
|
|
3451
|
+
n = hs(t);
|
|
3400
3452
|
} catch {
|
|
3401
3453
|
return this.error(E.INVALID_NUMBER_SKELETON, r);
|
|
3402
3454
|
}
|
|
@@ -3405,7 +3457,7 @@ var Bs = (
|
|
|
3405
3457
|
type: He.number,
|
|
3406
3458
|
tokens: n,
|
|
3407
3459
|
location: r,
|
|
3408
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3460
|
+
parsedOptions: this.shouldParseSkeletons ? ps(n) : {}
|
|
3409
3461
|
},
|
|
3410
3462
|
err: null
|
|
3411
3463
|
};
|
|
@@ -3453,7 +3505,7 @@ var Bs = (
|
|
|
3453
3505
|
break;
|
|
3454
3506
|
}
|
|
3455
3507
|
var u = C(s, this.clonePosition());
|
|
3456
|
-
return a ? (i *= n,
|
|
3508
|
+
return a ? (i *= n, Ts(i) ? { val: i, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3457
3509
|
}, e.prototype.offset = function() {
|
|
3458
3510
|
return this.position.offset;
|
|
3459
3511
|
}, e.prototype.isEOF = function() {
|
|
@@ -3468,7 +3520,7 @@ var Bs = (
|
|
|
3468
3520
|
var t = this.position.offset;
|
|
3469
3521
|
if (t >= this.message.length)
|
|
3470
3522
|
throw Error("out of bound");
|
|
3471
|
-
var r =
|
|
3523
|
+
var r = kr(this.message, t);
|
|
3472
3524
|
if (r === void 0)
|
|
3473
3525
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3474
3526
|
return r;
|
|
@@ -3487,7 +3539,7 @@ var Bs = (
|
|
|
3487
3539
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3488
3540
|
}
|
|
3489
3541
|
}, e.prototype.bumpIf = function(t) {
|
|
3490
|
-
if (
|
|
3542
|
+
if (Kt(this.message, t, this.offset())) {
|
|
3491
3543
|
for (var r = 0; r < t.length; r++)
|
|
3492
3544
|
this.bump();
|
|
3493
3545
|
return !0;
|
|
@@ -3509,7 +3561,7 @@ var Bs = (
|
|
|
3509
3561
|
break;
|
|
3510
3562
|
}
|
|
3511
3563
|
}, e.prototype.bumpSpace = function() {
|
|
3512
|
-
for (; !this.isEOF() &&
|
|
3564
|
+
for (; !this.isEOF() && Ur(this.char()); )
|
|
3513
3565
|
this.bump();
|
|
3514
3566
|
}, e.prototype.peek = function() {
|
|
3515
3567
|
if (this.isEOF())
|
|
@@ -3519,37 +3571,38 @@ var Bs = (
|
|
|
3519
3571
|
}, e;
|
|
3520
3572
|
}()
|
|
3521
3573
|
);
|
|
3522
|
-
function
|
|
3574
|
+
function Ht(e) {
|
|
3523
3575
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3524
3576
|
}
|
|
3525
|
-
function
|
|
3526
|
-
return
|
|
3577
|
+
function Hs(e) {
|
|
3578
|
+
return Ht(e) || e === 47;
|
|
3527
3579
|
}
|
|
3528
|
-
function
|
|
3580
|
+
function Ms(e) {
|
|
3529
3581
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3530
3582
|
}
|
|
3531
|
-
function
|
|
3583
|
+
function Ur(e) {
|
|
3532
3584
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3533
3585
|
}
|
|
3534
|
-
function
|
|
3586
|
+
function Ns(e) {
|
|
3535
3587
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3536
3588
|
}
|
|
3537
|
-
function
|
|
3589
|
+
function Mt(e) {
|
|
3538
3590
|
e.forEach(function(t) {
|
|
3539
|
-
if (delete t.location,
|
|
3591
|
+
if (delete t.location, Ir(t) || Hr(t))
|
|
3540
3592
|
for (var r in t.options)
|
|
3541
|
-
delete t.options[r].location,
|
|
3542
|
-
else
|
|
3593
|
+
delete t.options[r].location, Mt(t.options[r].value);
|
|
3594
|
+
else
|
|
3595
|
+
Br(t) && Nr(t.style) || (Sr(t) || Ar(t)) && Bt(t.style) ? delete t.style.location : Mr(t) && Mt(t.children);
|
|
3543
3596
|
});
|
|
3544
3597
|
}
|
|
3545
|
-
function
|
|
3598
|
+
function Rs(e, t) {
|
|
3546
3599
|
t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3547
|
-
var r = new
|
|
3600
|
+
var r = new Is(e, t).parse();
|
|
3548
3601
|
if (r.err) {
|
|
3549
3602
|
var n = SyntaxError(E[r.err.kind]);
|
|
3550
3603
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3551
3604
|
}
|
|
3552
|
-
return t?.captureLocation ||
|
|
3605
|
+
return t?.captureLocation || Mt(r.val), r.val;
|
|
3553
3606
|
}
|
|
3554
3607
|
var Me;
|
|
3555
3608
|
(function(e) {
|
|
@@ -3567,7 +3620,7 @@ var ut = (
|
|
|
3567
3620
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3568
3621
|
}, t;
|
|
3569
3622
|
}(Error)
|
|
3570
|
-
),
|
|
3623
|
+
), rr = (
|
|
3571
3624
|
/** @class */
|
|
3572
3625
|
function(e) {
|
|
3573
3626
|
le(t, e);
|
|
@@ -3576,7 +3629,7 @@ var ut = (
|
|
|
3576
3629
|
}
|
|
3577
3630
|
return t;
|
|
3578
3631
|
}(ut)
|
|
3579
|
-
),
|
|
3632
|
+
), Os = (
|
|
3580
3633
|
/** @class */
|
|
3581
3634
|
function(e) {
|
|
3582
3635
|
le(t, e);
|
|
@@ -3585,7 +3638,7 @@ var ut = (
|
|
|
3585
3638
|
}
|
|
3586
3639
|
return t;
|
|
3587
3640
|
}(ut)
|
|
3588
|
-
),
|
|
3641
|
+
), Ls = (
|
|
3589
3642
|
/** @class */
|
|
3590
3643
|
function(e) {
|
|
3591
3644
|
le(t, e);
|
|
@@ -3598,17 +3651,17 @@ var ut = (
|
|
|
3598
3651
|
(function(e) {
|
|
3599
3652
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3600
3653
|
})(W || (W = {}));
|
|
3601
|
-
function
|
|
3654
|
+
function Fs(e) {
|
|
3602
3655
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3603
3656
|
var n = t[t.length - 1];
|
|
3604
3657
|
return !n || n.type !== W.literal || r.type !== W.literal ? t.push(r) : n.value += r.value, t;
|
|
3605
3658
|
}, []);
|
|
3606
3659
|
}
|
|
3607
|
-
function
|
|
3660
|
+
function ks(e) {
|
|
3608
3661
|
return typeof e == "function";
|
|
3609
3662
|
}
|
|
3610
3663
|
function nt(e, t, r, n, s, a, i) {
|
|
3611
|
-
if (e.length === 1 &&
|
|
3664
|
+
if (e.length === 1 && Qt(e[0]))
|
|
3612
3665
|
return [
|
|
3613
3666
|
{
|
|
3614
3667
|
type: W.literal,
|
|
@@ -3617,14 +3670,14 @@ function nt(e, t, r, n, s, a, i) {
|
|
|
3617
3670
|
];
|
|
3618
3671
|
for (var l = [], u = 0, h = e; u < h.length; u++) {
|
|
3619
3672
|
var c = h[u];
|
|
3620
|
-
if (
|
|
3673
|
+
if (Qt(c)) {
|
|
3621
3674
|
l.push({
|
|
3622
3675
|
type: W.literal,
|
|
3623
3676
|
value: c.value
|
|
3624
3677
|
});
|
|
3625
3678
|
continue;
|
|
3626
3679
|
}
|
|
3627
|
-
if (
|
|
3680
|
+
if (is(c)) {
|
|
3628
3681
|
typeof a == "number" && l.push({
|
|
3629
3682
|
type: W.literal,
|
|
3630
3683
|
value: r.getNumberFormat(t).format(a)
|
|
@@ -3633,43 +3686,43 @@ function nt(e, t, r, n, s, a, i) {
|
|
|
3633
3686
|
}
|
|
3634
3687
|
var f = c.value;
|
|
3635
3688
|
if (!(s && f in s))
|
|
3636
|
-
throw new
|
|
3689
|
+
throw new Ls(f, i);
|
|
3637
3690
|
var p = s[f];
|
|
3638
|
-
if (
|
|
3691
|
+
if (as(c)) {
|
|
3639
3692
|
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), l.push({
|
|
3640
3693
|
type: typeof p == "string" ? W.literal : W.object,
|
|
3641
3694
|
value: p
|
|
3642
3695
|
});
|
|
3643
3696
|
continue;
|
|
3644
3697
|
}
|
|
3645
|
-
if (
|
|
3646
|
-
var m = typeof c.style == "string" ? n.date[c.style] :
|
|
3698
|
+
if (Sr(c)) {
|
|
3699
|
+
var m = typeof c.style == "string" ? n.date[c.style] : Bt(c.style) ? c.style.parsedOptions : void 0;
|
|
3647
3700
|
l.push({
|
|
3648
3701
|
type: W.literal,
|
|
3649
3702
|
value: r.getDateTimeFormat(t, m).format(p)
|
|
3650
3703
|
});
|
|
3651
3704
|
continue;
|
|
3652
3705
|
}
|
|
3653
|
-
if (
|
|
3654
|
-
var m = typeof c.style == "string" ? n.time[c.style] :
|
|
3706
|
+
if (Ar(c)) {
|
|
3707
|
+
var m = typeof c.style == "string" ? n.time[c.style] : Bt(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3655
3708
|
l.push({
|
|
3656
3709
|
type: W.literal,
|
|
3657
3710
|
value: r.getDateTimeFormat(t, m).format(p)
|
|
3658
3711
|
});
|
|
3659
3712
|
continue;
|
|
3660
3713
|
}
|
|
3661
|
-
if (
|
|
3662
|
-
var m = typeof c.style == "string" ? n.number[c.style] :
|
|
3714
|
+
if (Br(c)) {
|
|
3715
|
+
var m = typeof c.style == "string" ? n.number[c.style] : Nr(c.style) ? c.style.parsedOptions : void 0;
|
|
3663
3716
|
m && m.scale && (p = p * (m.scale || 1)), l.push({
|
|
3664
3717
|
type: W.literal,
|
|
3665
3718
|
value: r.getNumberFormat(t, m).format(p)
|
|
3666
3719
|
});
|
|
3667
3720
|
continue;
|
|
3668
3721
|
}
|
|
3669
|
-
if (
|
|
3722
|
+
if (Mr(c)) {
|
|
3670
3723
|
var w = c.children, v = c.value, T = s[v];
|
|
3671
|
-
if (!
|
|
3672
|
-
throw new
|
|
3724
|
+
if (!ks(T))
|
|
3725
|
+
throw new Os(v, "function", i);
|
|
3673
3726
|
var y = nt(w, t, r, n, s, a), I = T(y.map(function(D) {
|
|
3674
3727
|
return D.value;
|
|
3675
3728
|
}));
|
|
@@ -3680,42 +3733,42 @@ function nt(e, t, r, n, s, a, i) {
|
|
|
3680
3733
|
};
|
|
3681
3734
|
}));
|
|
3682
3735
|
}
|
|
3683
|
-
if (
|
|
3684
|
-
var
|
|
3685
|
-
if (!
|
|
3686
|
-
throw new
|
|
3687
|
-
l.push.apply(l, nt(
|
|
3736
|
+
if (Ir(c)) {
|
|
3737
|
+
var O = c.options[p] || c.options.other;
|
|
3738
|
+
if (!O)
|
|
3739
|
+
throw new rr(c.value, p, Object.keys(c.options), i);
|
|
3740
|
+
l.push.apply(l, nt(O.value, t, r, n, s));
|
|
3688
3741
|
continue;
|
|
3689
3742
|
}
|
|
3690
|
-
if (
|
|
3691
|
-
var
|
|
3692
|
-
if (!
|
|
3743
|
+
if (Hr(c)) {
|
|
3744
|
+
var O = c.options["=".concat(p)];
|
|
3745
|
+
if (!O) {
|
|
3693
3746
|
if (!Intl.PluralRules)
|
|
3694
3747
|
throw new ut(`Intl.PluralRules is not available in this environment.
|
|
3695
3748
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3696
3749
|
`, Me.MISSING_INTL_API, i);
|
|
3697
3750
|
var k = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
|
|
3698
|
-
|
|
3751
|
+
O = c.options[k] || c.options.other;
|
|
3699
3752
|
}
|
|
3700
|
-
if (!
|
|
3701
|
-
throw new
|
|
3702
|
-
l.push.apply(l, nt(
|
|
3753
|
+
if (!O)
|
|
3754
|
+
throw new rr(c.value, p, Object.keys(c.options), i);
|
|
3755
|
+
l.push.apply(l, nt(O.value, t, r, n, s, p - (c.offset || 0)));
|
|
3703
3756
|
continue;
|
|
3704
3757
|
}
|
|
3705
3758
|
}
|
|
3706
|
-
return
|
|
3759
|
+
return Fs(l);
|
|
3707
3760
|
}
|
|
3708
|
-
function
|
|
3761
|
+
function Ds(e, t) {
|
|
3709
3762
|
return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3710
3763
|
return r[n] = S(S({}, e[n]), t[n] || {}), r;
|
|
3711
3764
|
}, {})) : e;
|
|
3712
3765
|
}
|
|
3713
|
-
function
|
|
3766
|
+
function Us(e, t) {
|
|
3714
3767
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3715
|
-
return r[n] =
|
|
3768
|
+
return r[n] = Ds(e[n], t[n]), r;
|
|
3716
3769
|
}, S({}, e)) : e;
|
|
3717
3770
|
}
|
|
3718
|
-
function
|
|
3771
|
+
function wt(e) {
|
|
3719
3772
|
return {
|
|
3720
3773
|
create: function() {
|
|
3721
3774
|
return {
|
|
@@ -3729,39 +3782,39 @@ function bt(e) {
|
|
|
3729
3782
|
}
|
|
3730
3783
|
};
|
|
3731
3784
|
}
|
|
3732
|
-
function
|
|
3785
|
+
function $s(e) {
|
|
3733
3786
|
return e === void 0 && (e = {
|
|
3734
3787
|
number: {},
|
|
3735
3788
|
dateTime: {},
|
|
3736
3789
|
pluralRules: {}
|
|
3737
3790
|
}), {
|
|
3738
|
-
getNumberFormat:
|
|
3791
|
+
getNumberFormat: mt(function() {
|
|
3739
3792
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3740
3793
|
r[n] = arguments[n];
|
|
3741
3794
|
return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3742
3795
|
}, {
|
|
3743
|
-
cache:
|
|
3744
|
-
strategy:
|
|
3796
|
+
cache: wt(e.number),
|
|
3797
|
+
strategy: gt.variadic
|
|
3745
3798
|
}),
|
|
3746
|
-
getDateTimeFormat:
|
|
3799
|
+
getDateTimeFormat: mt(function() {
|
|
3747
3800
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3748
3801
|
r[n] = arguments[n];
|
|
3749
3802
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3750
3803
|
}, {
|
|
3751
|
-
cache:
|
|
3752
|
-
strategy:
|
|
3804
|
+
cache: wt(e.dateTime),
|
|
3805
|
+
strategy: gt.variadic
|
|
3753
3806
|
}),
|
|
3754
|
-
getPluralRules:
|
|
3807
|
+
getPluralRules: mt(function() {
|
|
3755
3808
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3756
3809
|
r[n] = arguments[n];
|
|
3757
3810
|
return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3758
3811
|
}, {
|
|
3759
|
-
cache:
|
|
3760
|
-
strategy:
|
|
3812
|
+
cache: wt(e.pluralRules),
|
|
3813
|
+
strategy: gt.variadic
|
|
3761
3814
|
})
|
|
3762
3815
|
};
|
|
3763
3816
|
}
|
|
3764
|
-
var
|
|
3817
|
+
var Gs = (
|
|
3765
3818
|
/** @class */
|
|
3766
3819
|
function() {
|
|
3767
3820
|
function e(t, r, n, s) {
|
|
@@ -3793,13 +3846,13 @@ var Ds = (
|
|
|
3793
3846
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3794
3847
|
var i = s || {};
|
|
3795
3848
|
i.formatters;
|
|
3796
|
-
var l =
|
|
3849
|
+
var l = Pn(i, ["formatters"]);
|
|
3797
3850
|
this.ast = e.__parse(t, S(S({}, l), { locale: this.resolvedLocale }));
|
|
3798
3851
|
} else
|
|
3799
3852
|
this.ast = t;
|
|
3800
3853
|
if (!Array.isArray(this.ast))
|
|
3801
3854
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3802
|
-
this.formats =
|
|
3855
|
+
this.formats = Us(e.formats, n), this.formatters = s && s.formatters || $s(this.formatterCache);
|
|
3803
3856
|
}
|
|
3804
3857
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3805
3858
|
get: function() {
|
|
@@ -3812,7 +3865,7 @@ var Ds = (
|
|
|
3812
3865
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3813
3866
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3814
3867
|
}
|
|
3815
|
-
}, e.__parse =
|
|
3868
|
+
}, e.__parse = Rs, e.formats = {
|
|
3816
3869
|
number: {
|
|
3817
3870
|
integer: {
|
|
3818
3871
|
maximumFractionDigits: 0
|
|
@@ -3873,7 +3926,7 @@ var Ds = (
|
|
|
3873
3926
|
}, e;
|
|
3874
3927
|
}()
|
|
3875
3928
|
);
|
|
3876
|
-
function
|
|
3929
|
+
function js(e, t) {
|
|
3877
3930
|
if (t == null)
|
|
3878
3931
|
return;
|
|
3879
3932
|
if (t in e)
|
|
@@ -3894,92 +3947,92 @@ function Us(e, t) {
|
|
|
3894
3947
|
n = void 0;
|
|
3895
3948
|
return n;
|
|
3896
3949
|
}
|
|
3897
|
-
const ce = {},
|
|
3950
|
+
const ce = {}, Vs = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), $r = (e, t) => {
|
|
3898
3951
|
if (t == null)
|
|
3899
3952
|
return;
|
|
3900
3953
|
if (t in ce && e in ce[t])
|
|
3901
3954
|
return ce[t][e];
|
|
3902
3955
|
const r = ht(t);
|
|
3903
3956
|
for (let n = 0; n < r.length; n++) {
|
|
3904
|
-
const s = r[n], a =
|
|
3957
|
+
const s = r[n], a = Ws(s, e);
|
|
3905
3958
|
if (a)
|
|
3906
|
-
return
|
|
3959
|
+
return Vs(e, t, a);
|
|
3907
3960
|
}
|
|
3908
3961
|
};
|
|
3909
|
-
let
|
|
3962
|
+
let Ft;
|
|
3910
3963
|
const We = lt({});
|
|
3911
|
-
function
|
|
3912
|
-
return
|
|
3964
|
+
function zs(e) {
|
|
3965
|
+
return Ft[e] || null;
|
|
3913
3966
|
}
|
|
3914
|
-
function
|
|
3915
|
-
return e in
|
|
3967
|
+
function Gr(e) {
|
|
3968
|
+
return e in Ft;
|
|
3916
3969
|
}
|
|
3917
|
-
function
|
|
3918
|
-
if (!
|
|
3970
|
+
function Ws(e, t) {
|
|
3971
|
+
if (!Gr(e))
|
|
3919
3972
|
return null;
|
|
3920
|
-
const r =
|
|
3921
|
-
return
|
|
3973
|
+
const r = zs(e);
|
|
3974
|
+
return js(r, t);
|
|
3922
3975
|
}
|
|
3923
|
-
function
|
|
3976
|
+
function Xs(e) {
|
|
3924
3977
|
if (e == null)
|
|
3925
3978
|
return;
|
|
3926
3979
|
const t = ht(e);
|
|
3927
3980
|
for (let r = 0; r < t.length; r++) {
|
|
3928
3981
|
const n = t[r];
|
|
3929
|
-
if (
|
|
3982
|
+
if (Gr(n))
|
|
3930
3983
|
return n;
|
|
3931
3984
|
}
|
|
3932
3985
|
}
|
|
3933
|
-
function
|
|
3934
|
-
delete ce[e], We.update((r) => (r[e] =
|
|
3986
|
+
function jr(e, ...t) {
|
|
3987
|
+
delete ce[e], We.update((r) => (r[e] = qn.all([r[e] || {}, ...t]), r));
|
|
3935
3988
|
}
|
|
3936
|
-
|
|
3989
|
+
Oe(
|
|
3937
3990
|
[We],
|
|
3938
3991
|
([e]) => Object.keys(e)
|
|
3939
3992
|
);
|
|
3940
|
-
We.subscribe((e) =>
|
|
3993
|
+
We.subscribe((e) => Ft = e);
|
|
3941
3994
|
const st = {};
|
|
3942
|
-
function
|
|
3995
|
+
function Zs(e, t) {
|
|
3943
3996
|
st[e].delete(t), st[e].size === 0 && delete st[e];
|
|
3944
3997
|
}
|
|
3945
|
-
function
|
|
3998
|
+
function Vr(e) {
|
|
3946
3999
|
return st[e];
|
|
3947
4000
|
}
|
|
3948
|
-
function
|
|
4001
|
+
function Qs(e) {
|
|
3949
4002
|
return ht(e).map((t) => {
|
|
3950
|
-
const r =
|
|
4003
|
+
const r = Vr(t);
|
|
3951
4004
|
return [t, r ? [...r] : []];
|
|
3952
4005
|
}).filter(([, t]) => t.length > 0);
|
|
3953
4006
|
}
|
|
3954
|
-
function
|
|
4007
|
+
function Nt(e) {
|
|
3955
4008
|
return e == null ? !1 : ht(e).some(
|
|
3956
4009
|
(t) => {
|
|
3957
4010
|
var r;
|
|
3958
|
-
return (r =
|
|
4011
|
+
return (r = Vr(t)) == null ? void 0 : r.size;
|
|
3959
4012
|
}
|
|
3960
4013
|
);
|
|
3961
4014
|
}
|
|
3962
|
-
function
|
|
4015
|
+
function Ys(e, t) {
|
|
3963
4016
|
return Promise.all(
|
|
3964
|
-
t.map((n) => (
|
|
3965
|
-
).then((n) =>
|
|
4017
|
+
t.map((n) => (Zs(e, n), n().then((s) => s.default || s)))
|
|
4018
|
+
).then((n) => jr(e, ...n));
|
|
3966
4019
|
}
|
|
3967
4020
|
const $e = {};
|
|
3968
|
-
function
|
|
3969
|
-
if (!
|
|
4021
|
+
function zr(e) {
|
|
4022
|
+
if (!Nt(e))
|
|
3970
4023
|
return e in $e ? $e[e] : Promise.resolve();
|
|
3971
|
-
const t =
|
|
4024
|
+
const t = Qs(e);
|
|
3972
4025
|
return $e[e] = Promise.all(
|
|
3973
4026
|
t.map(
|
|
3974
|
-
([r, n]) =>
|
|
4027
|
+
([r, n]) => Ys(r, n)
|
|
3975
4028
|
)
|
|
3976
4029
|
).then(() => {
|
|
3977
|
-
if (
|
|
3978
|
-
return
|
|
4030
|
+
if (Nt(e))
|
|
4031
|
+
return zr(e);
|
|
3979
4032
|
delete $e[e];
|
|
3980
4033
|
}), $e[e];
|
|
3981
4034
|
}
|
|
3982
|
-
const
|
|
4035
|
+
const Js = {
|
|
3983
4036
|
number: {
|
|
3984
4037
|
scientific: { notation: "scientific" },
|
|
3985
4038
|
engineering: { notation: "engineering" },
|
|
@@ -4008,57 +4061,57 @@ const Zs = {
|
|
|
4008
4061
|
timeZoneName: "short"
|
|
4009
4062
|
}
|
|
4010
4063
|
}
|
|
4011
|
-
},
|
|
4064
|
+
}, qs = {
|
|
4012
4065
|
fallbackLocale: null,
|
|
4013
4066
|
loadingDelay: 200,
|
|
4014
|
-
formats:
|
|
4067
|
+
formats: Js,
|
|
4015
4068
|
warnOnMissingMessages: !0,
|
|
4016
4069
|
handleMissingMessage: void 0,
|
|
4017
4070
|
ignoreTag: !0
|
|
4018
|
-
},
|
|
4071
|
+
}, Ks = qs;
|
|
4019
4072
|
function Ne() {
|
|
4020
|
-
return
|
|
4073
|
+
return Ks;
|
|
4021
4074
|
}
|
|
4022
|
-
const
|
|
4023
|
-
var
|
|
4075
|
+
const vt = lt(!1);
|
|
4076
|
+
var ea = Object.defineProperty, ta = Object.defineProperties, ra = Object.getOwnPropertyDescriptors, nr = Object.getOwnPropertySymbols, na = Object.prototype.hasOwnProperty, sa = Object.prototype.propertyIsEnumerable, sr = (e, t, r) => t in e ? ea(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, aa = (e, t) => {
|
|
4024
4077
|
for (var r in t || (t = {}))
|
|
4025
|
-
|
|
4026
|
-
if (
|
|
4027
|
-
for (var r of
|
|
4028
|
-
|
|
4078
|
+
na.call(t, r) && sr(e, r, t[r]);
|
|
4079
|
+
if (nr)
|
|
4080
|
+
for (var r of nr(t))
|
|
4081
|
+
sa.call(t, r) && sr(e, r, t[r]);
|
|
4029
4082
|
return e;
|
|
4030
|
-
},
|
|
4031
|
-
let
|
|
4083
|
+
}, ia = (e, t) => ta(e, ra(t));
|
|
4084
|
+
let Rt;
|
|
4032
4085
|
const at = lt(null);
|
|
4033
|
-
function
|
|
4086
|
+
function ar(e) {
|
|
4034
4087
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4035
4088
|
}
|
|
4036
4089
|
function ht(e, t = Ne().fallbackLocale) {
|
|
4037
|
-
const r =
|
|
4038
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4090
|
+
const r = ar(e);
|
|
4091
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...ar(t)])] : r;
|
|
4039
4092
|
}
|
|
4040
4093
|
function pe() {
|
|
4041
|
-
return
|
|
4094
|
+
return Rt ?? void 0;
|
|
4042
4095
|
}
|
|
4043
4096
|
at.subscribe((e) => {
|
|
4044
|
-
|
|
4097
|
+
Rt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4045
4098
|
});
|
|
4046
|
-
const
|
|
4047
|
-
if (e &&
|
|
4099
|
+
const oa = (e) => {
|
|
4100
|
+
if (e && Xs(e) && Nt(e)) {
|
|
4048
4101
|
const { loadingDelay: t } = Ne();
|
|
4049
4102
|
let r;
|
|
4050
4103
|
return typeof window < "u" && pe() != null && t ? r = window.setTimeout(
|
|
4051
|
-
() =>
|
|
4104
|
+
() => vt.set(!0),
|
|
4052
4105
|
t
|
|
4053
|
-
) :
|
|
4106
|
+
) : vt.set(!0), zr(e).then(() => {
|
|
4054
4107
|
at.set(e);
|
|
4055
4108
|
}).finally(() => {
|
|
4056
|
-
clearTimeout(r),
|
|
4109
|
+
clearTimeout(r), vt.set(!1);
|
|
4057
4110
|
});
|
|
4058
4111
|
}
|
|
4059
4112
|
return at.set(e);
|
|
4060
|
-
}, Le =
|
|
4061
|
-
set:
|
|
4113
|
+
}, Le = ia(aa({}, at), {
|
|
4114
|
+
set: oa
|
|
4062
4115
|
}), ct = (e) => {
|
|
4063
4116
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4064
4117
|
return (n) => {
|
|
@@ -4066,20 +4119,20 @@ const sa = (e) => {
|
|
|
4066
4119
|
return s in t ? t[s] : t[s] = e(n);
|
|
4067
4120
|
};
|
|
4068
4121
|
};
|
|
4069
|
-
var
|
|
4122
|
+
var la = Object.defineProperty, it = Object.getOwnPropertySymbols, Wr = Object.prototype.hasOwnProperty, Xr = Object.prototype.propertyIsEnumerable, ir = (e, t, r) => t in e ? la(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, kt = (e, t) => {
|
|
4070
4123
|
for (var r in t || (t = {}))
|
|
4071
|
-
|
|
4124
|
+
Wr.call(t, r) && ir(e, r, t[r]);
|
|
4072
4125
|
if (it)
|
|
4073
4126
|
for (var r of it(t))
|
|
4074
|
-
|
|
4127
|
+
Xr.call(t, r) && ir(e, r, t[r]);
|
|
4075
4128
|
return e;
|
|
4076
4129
|
}, Fe = (e, t) => {
|
|
4077
4130
|
var r = {};
|
|
4078
4131
|
for (var n in e)
|
|
4079
|
-
|
|
4132
|
+
Wr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4080
4133
|
if (e != null && it)
|
|
4081
4134
|
for (var n of it(e))
|
|
4082
|
-
t.indexOf(n) < 0 &&
|
|
4135
|
+
t.indexOf(n) < 0 && Xr.call(e, n) && (r[n] = e[n]);
|
|
4083
4136
|
return r;
|
|
4084
4137
|
};
|
|
4085
4138
|
const ze = (e, t) => {
|
|
@@ -4087,21 +4140,21 @@ const ze = (e, t) => {
|
|
|
4087
4140
|
if (e in r && t in r[e])
|
|
4088
4141
|
return r[e][t];
|
|
4089
4142
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4090
|
-
},
|
|
4143
|
+
}, ua = ct(
|
|
4091
4144
|
(e) => {
|
|
4092
4145
|
var t = e, { locale: r, format: n } = t, s = Fe(t, ["locale", "format"]);
|
|
4093
4146
|
if (r == null)
|
|
4094
4147
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4095
4148
|
return n && (s = ze("number", n)), new Intl.NumberFormat(r, s);
|
|
4096
4149
|
}
|
|
4097
|
-
),
|
|
4150
|
+
), ha = ct(
|
|
4098
4151
|
(e) => {
|
|
4099
4152
|
var t = e, { locale: r, format: n } = t, s = Fe(t, ["locale", "format"]);
|
|
4100
4153
|
if (r == null)
|
|
4101
4154
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4102
4155
|
return n ? s = ze("date", n) : Object.keys(s).length === 0 && (s = ze("date", "short")), new Intl.DateTimeFormat(r, s);
|
|
4103
4156
|
}
|
|
4104
|
-
),
|
|
4157
|
+
), ca = ct(
|
|
4105
4158
|
(e) => {
|
|
4106
4159
|
var t = e, { locale: r, format: n } = t, s = Fe(t, ["locale", "format"]);
|
|
4107
4160
|
if (r == null)
|
|
@@ -4110,33 +4163,33 @@ const ze = (e, t) => {
|
|
|
4110
4163
|
);
|
|
4111
4164
|
return n ? s = ze("time", n) : Object.keys(s).length === 0 && (s = ze("time", "short")), new Intl.DateTimeFormat(r, s);
|
|
4112
4165
|
}
|
|
4113
|
-
),
|
|
4166
|
+
), fa = (e = {}) => {
|
|
4114
4167
|
var t = e, {
|
|
4115
4168
|
locale: r = pe()
|
|
4116
4169
|
} = t, n = Fe(t, [
|
|
4117
4170
|
"locale"
|
|
4118
4171
|
]);
|
|
4119
|
-
return
|
|
4120
|
-
},
|
|
4172
|
+
return ua(kt({ locale: r }, n));
|
|
4173
|
+
}, da = (e = {}) => {
|
|
4121
4174
|
var t = e, {
|
|
4122
4175
|
locale: r = pe()
|
|
4123
4176
|
} = t, n = Fe(t, [
|
|
4124
4177
|
"locale"
|
|
4125
4178
|
]);
|
|
4126
|
-
return
|
|
4127
|
-
},
|
|
4179
|
+
return ha(kt({ locale: r }, n));
|
|
4180
|
+
}, pa = (e = {}) => {
|
|
4128
4181
|
var t = e, {
|
|
4129
4182
|
locale: r = pe()
|
|
4130
4183
|
} = t, n = Fe(t, [
|
|
4131
4184
|
"locale"
|
|
4132
4185
|
]);
|
|
4133
|
-
return
|
|
4134
|
-
},
|
|
4186
|
+
return ca(kt({ locale: r }, n));
|
|
4187
|
+
}, ma = ct(
|
|
4135
4188
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4136
|
-
(e, t = pe()) => new
|
|
4189
|
+
(e, t = pe()) => new Gs(e, t, Ne().formats, {
|
|
4137
4190
|
ignoreTag: Ne().ignoreTag
|
|
4138
4191
|
})
|
|
4139
|
-
),
|
|
4192
|
+
), ga = (e, t = {}) => {
|
|
4140
4193
|
var r, n, s, a;
|
|
4141
4194
|
let i = t;
|
|
4142
4195
|
typeof e == "object" && (i = e, e = i.id);
|
|
@@ -4149,7 +4202,7 @@ const ze = (e, t) => {
|
|
|
4149
4202
|
throw new Error(
|
|
4150
4203
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4151
4204
|
);
|
|
4152
|
-
let c =
|
|
4205
|
+
let c = $r(e, u);
|
|
4153
4206
|
if (!c)
|
|
4154
4207
|
c = (a = (s = (n = (r = Ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? s : h) != null ? a : e;
|
|
4155
4208
|
else if (typeof c != "string")
|
|
@@ -4160,7 +4213,7 @@ const ze = (e, t) => {
|
|
|
4160
4213
|
return c;
|
|
4161
4214
|
let f = c;
|
|
4162
4215
|
try {
|
|
4163
|
-
f =
|
|
4216
|
+
f = ma(c, u).format(l);
|
|
4164
4217
|
} catch (p) {
|
|
4165
4218
|
p instanceof Error && console.warn(
|
|
4166
4219
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4168,20 +4221,20 @@ const ze = (e, t) => {
|
|
|
4168
4221
|
);
|
|
4169
4222
|
}
|
|
4170
4223
|
return f;
|
|
4171
|
-
},
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
window.emWidgets = { topic:
|
|
4177
|
-
const
|
|
4178
|
-
function
|
|
4179
|
-
|
|
4180
|
-
}
|
|
4181
|
-
function
|
|
4224
|
+
}, ba = (e, t) => pa(t).format(e), wa = (e, t) => da(t).format(e), va = (e, t) => fa(t).format(e), ya = (e, t = pe()) => $r(e, t), Pa = Oe([Le, We], () => ga);
|
|
4225
|
+
Oe([Le], () => ba);
|
|
4226
|
+
Oe([Le], () => wa);
|
|
4227
|
+
Oe([Le], () => va);
|
|
4228
|
+
Oe([Le, We], () => ya);
|
|
4229
|
+
window.emWidgets = { topic: On };
|
|
4230
|
+
const _a = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4231
|
+
function or(e, t) {
|
|
4232
|
+
jr(e, t);
|
|
4233
|
+
}
|
|
4234
|
+
function xa(e) {
|
|
4182
4235
|
Le.set(e);
|
|
4183
4236
|
}
|
|
4184
|
-
const
|
|
4237
|
+
const lr = {
|
|
4185
4238
|
en: {
|
|
4186
4239
|
titleChangePassword: "Change Password",
|
|
4187
4240
|
currentPassword: "Current Password:",
|
|
@@ -4365,15 +4418,15 @@ const ar = {
|
|
|
4365
4418
|
backButtonText: "Back"
|
|
4366
4419
|
}
|
|
4367
4420
|
};
|
|
4368
|
-
function
|
|
4369
|
-
Wr(e, "svelte-r3j83g", '.PlayerChangePasswordWrapper{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;max-width:400px;background-color:var(--emw--pam-typography, var(--emw--color-typography, #F1F1F1));border-radius:5%}.ChangePasswordTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--color-primary, #22B04E);font-weight:var(--emw--font-weight-semibold, 500)}.ChangePasswordTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--color-primary, #22B04E)}.ChangePasswordTitleNone{display:none}.PlayerChangePasswordContent{display:grid;grid-column-gap:50px;grid-row-gap:30px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerChangePasswordButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr}.PlayerChangePasswordSaveButton,.PlayerChangePasswordCancelButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;font-family:var(--emw--button-typography);color:var(--emw--pam-typography, var(---emw--button-text-color, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerChangePasswordSaveButton.ButtonInactive,.PlayerChangePasswordCancelButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordCancelButton{background:transparent;font-family:var(--emw--button-typography);border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordCancelButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed}.PlayerChangePasswordSaveButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);padding:30px 0;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordSaveButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed}.PlayerChangePasswordBox{display:flex;flex-direction:column;position:relative}.PlayerChangePasswordBox label{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:10px}.PlayerChangePasswordBox input{font-family:inherit;font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--color-contrast, #07072A);padding:10px;line-height:16px;border:2px solid var(--emw--color-gray-100, #D6D6D6);background:var(--emw--pam-typography, var(--emw--color-typography, #FFFFFF));border-radius:10px;outline:none;transition-duration:0.3s}.PlayerChangePasswordBox input:focus,.PlayerChangePasswordBox input :focus-within,.PlayerChangePasswordBox input :focus-visible,.PlayerChangePasswordBox input :visited{box-shadow:0 0 0 1pt var(--emw--color-primary, #22B04E)}.PlayerChangePasswordBox .FieldDisabled{color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox input::-webkit-outer-spin-button,.PlayerChangePasswordBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerChangePasswordBox input::-ms-reveal,.PlayerChangePasswordBox input::-ms-clear{display:none}.PlayerChangePasswordBox input[type=number]{-moz-appearance:textfield}.PlayerChangePasswordBox.InvalidField input{border:1px solid var(--emw--color-error, #FD2839);background:var(--emw--color-pale, #FBECF4);color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInput{bottom:-16px}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInputNew{bottom:-24px}.TogglePasswordVisibility{height:20px;position:absolute;right:10px;top:38px;cursor:pointer;color:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, #FD2839)}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibilityMobile{top:35px}.InvalidInput,.InvalidInputNew{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-2x-small, 10px);padding-top:5px;margin:0;line-height:12px}.InvalidInputNew{bottom:-24px}.PasswordChangedError{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-medium, 16px);line-height:18px;margin-top:0}.ChangedPasswordSuccessfully{color:var(--emw--button-text-color, #FFFFFF);position:relative}.ChangedPasswordSuccessfully .SuccessWrapper{display:inline-flex;align-items:center;margin-bottom:20px}.ChangedPasswordSuccessfully .IconContainer{width:45px;height:45px;border:1px solid var(--emw--color-valid, #48952a);border-radius:var(--emw--button-border-radius, 50px);display:flex;align-items:center;justify-content:center}.ChangedPasswordSuccessfully .Checkmark{width:12px;height:22px;border:1px solid var(--emw--color-valid, #48952a);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:relative;top:-3px}.ChangedPasswordSuccessfully h3{font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-normal, 400);margin:10px 0;color:var(--emw--color-valid, #48952a)}.ChangedPasswordSuccessfully p{margin:0;font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.ChangedPasswordSuccessfully .TextContainer{display:flex;flex-direction:column;padding:10px 20px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-text-color, #FFFFFF);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;border:1px solid var(--emw--color-primary, #22B04E);background:var(--emw--color-primary, #22B04E);max-width:185px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton:hover{color:var(--emw--color-primary, #22B04E);background:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordWrapperMobile{height:100%;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column}.PlayerChangePasswordWrapperMobile:after{content:"";position:absolute;bottom:0}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordHeader h3{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox label{font-family:inherit;color:var(--emw--color-gray-300, #58586B);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox input{font-family:inherit;color:var(--emw--color-gray-300, #58586B);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordButtonsArea{grid-column-gap:10px}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton,.PlayerChangePasswordWrapperMobile .PlayerChangePasswordCancelButton{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px);height:44px;color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{font-family:inherit;color:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordWrapperMobile .ChangedPasswordSuccessfully{color:var(--emw--color-gray-300, #58586B)}.MenuReturnButton{font-family:inherit;color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerChangePasswordWrapperTablet{padding:40px 25% 100% 25%}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordContent{grid-row-gap:20px}.PlayerChangePasswordWrapperTablet .MenuReturnButton{font-family:inherit;margin-bottom:30px}.PlayerChangePasswordWrapperTablet .MenuReturnButton span{font-size:var(--emw--font-size-large, 20px)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox label{font-size:var(--emw--font-size-large, 20px);font-family:inherit}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox input{font-family:inherit;height:30px;font-size:var(--emw--font-size-large, 20px);line-height:30px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility{width:30px;top:46px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, #FD2839)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility rect{fill:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .InvalidInput{font-size:var(--emw--font-size-medium, 16px);bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox:last-child .InvalidInput{font-size:var(--emw--font-size-medium, 16px);bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea{grid-column-gap:40px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordCancelButton{font-size:18px;font-family:inherit;height:56px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{color:var(--emw--button-text-color, #FFFFFF);font-family:inherit}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton.ButtonInactive{color:var(--emw--color-gray-300, #58586B)}');
|
|
4421
|
+
function Ea(e) {
|
|
4422
|
+
Yr(e, "svelte-r3j83g", '.PlayerChangePasswordWrapper{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;max-width:400px;background-color:var(--emw--pam-typography, var(--emw--color-typography, #F1F1F1));border-radius:5%}.ChangePasswordTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--color-primary, #22B04E);font-weight:var(--emw--font-weight-semibold, 500)}.ChangePasswordTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--color-primary, #22B04E)}.ChangePasswordTitleNone{display:none}.PlayerChangePasswordContent{display:grid;grid-column-gap:50px;grid-row-gap:30px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerChangePasswordButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr}.PlayerChangePasswordSaveButton,.PlayerChangePasswordCancelButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;font-family:var(--emw--button-typography);color:var(--emw--pam-typography, var(---emw--button-text-color, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerChangePasswordSaveButton.ButtonInactive,.PlayerChangePasswordCancelButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordCancelButton{background:transparent;font-family:var(--emw--button-typography);border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordCancelButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed}.PlayerChangePasswordSaveButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);padding:30px 0;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordSaveButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed}.PlayerChangePasswordBox{display:flex;flex-direction:column;position:relative}.PlayerChangePasswordBox label{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:10px}.PlayerChangePasswordBox input{font-family:inherit;font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--color-contrast, #07072A);padding:10px;line-height:16px;border:2px solid var(--emw--color-gray-100, #D6D6D6);background:var(--emw--pam-typography, var(--emw--color-typography, #FFFFFF));border-radius:10px;outline:none;transition-duration:0.3s}.PlayerChangePasswordBox input:focus,.PlayerChangePasswordBox input :focus-within,.PlayerChangePasswordBox input :focus-visible,.PlayerChangePasswordBox input :visited{box-shadow:0 0 0 1pt var(--emw--color-primary, #22B04E)}.PlayerChangePasswordBox .FieldDisabled{color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox input::-webkit-outer-spin-button,.PlayerChangePasswordBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerChangePasswordBox input::-ms-reveal,.PlayerChangePasswordBox input::-ms-clear{display:none}.PlayerChangePasswordBox input[type=number]{-moz-appearance:textfield}.PlayerChangePasswordBox.InvalidField input{border:1px solid var(--emw--color-error, #FD2839);background:var(--emw--color-pale, #FBECF4);color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInput{bottom:-16px}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInputNew{bottom:-24px}.TogglePasswordVisibility{height:20px;position:absolute;right:10px;top:38px;cursor:pointer;color:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, #FD2839)}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibilityMobile{top:35px}.InvalidInput,.InvalidInputNew{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-2x-small, 10px);padding-top:5px;margin:0;line-height:12px}.InvalidInputNew{bottom:-24px}.PasswordChangedError{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-medium, 16px);line-height:18px;margin-top:0}.ChangedPasswordSuccessfully{color:var(--emw--button-text-color, #FFFFFF);position:relative}.ChangedPasswordSuccessfully .SuccessWrapper{display:inline-flex;align-items:center;margin-bottom:20px}.ChangedPasswordSuccessfully .IconContainer{width:45px;height:45px;border:1px solid var(--emw--color-valid, #48952a);border-radius:var(--emw--button-border-radius, 50px);display:flex;align-items:center;justify-content:center}.ChangedPasswordSuccessfully .Checkmark{width:12px;height:22px;border:1px solid var(--emw--color-valid, #48952a);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:relative;top:-3px}.ChangedPasswordSuccessfully h3{font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-normal, 400);margin:10px 0;color:var(--emw--color-valid, #48952a)}.ChangedPasswordSuccessfully p{margin:0;font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.ChangedPasswordSuccessfully .TextContainer{display:flex;flex-direction:column;padding:10px 20px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-text-color, #FFFFFF);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;border:1px solid var(--emw--color-primary, #22B04E);background:var(--emw--color-primary, #22B04E);max-width:185px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton:hover{color:var(--emw--color-primary, #22B04E);background:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordWrapperMobile{height:100%;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column}.PlayerChangePasswordWrapperMobile:after{content:"";position:absolute;bottom:0}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordHeader h3{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox label{font-family:inherit;color:var(--emw--color-gray-300, #58586B);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox input{font-family:inherit;color:var(--emw--color-gray-300, #58586B);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordButtonsArea{grid-column-gap:10px}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton,.PlayerChangePasswordWrapperMobile .PlayerChangePasswordCancelButton{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px);height:44px;color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{font-family:inherit;color:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordWrapperMobile .ChangedPasswordSuccessfully{color:var(--emw--color-gray-300, #58586B)}.MenuReturnButton{font-family:inherit;color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerChangePasswordWrapperTablet{padding:40px 25% 100% 25%}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordContent{grid-row-gap:20px}.PlayerChangePasswordWrapperTablet .MenuReturnButton{font-family:inherit;margin-bottom:30px}.PlayerChangePasswordWrapperTablet .MenuReturnButton span{font-size:var(--emw--font-size-large, 20px)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox label{font-size:var(--emw--font-size-large, 20px);font-family:inherit}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox input{font-family:inherit;height:30px;font-size:var(--emw--font-size-large, 20px);line-height:30px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility{width:30px;top:46px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, #FD2839)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility rect{fill:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .InvalidInput{font-size:var(--emw--font-size-medium, 16px);bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox:last-child .InvalidInput{font-size:var(--emw--font-size-medium, 16px);bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea{grid-column-gap:40px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordCancelButton{font-size:18px;font-family:inherit;height:56px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{color:var(--emw--button-text-color, #FFFFFF);font-family:inherit}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton.ButtonInactive{color:var(--emw--color-gray-300, #58586B)}');
|
|
4370
4423
|
}
|
|
4371
|
-
function
|
|
4424
|
+
function Ca(e) {
|
|
4372
4425
|
let t;
|
|
4373
4426
|
function r(a, i) {
|
|
4374
4427
|
return (
|
|
4375
4428
|
/*passwordChanged*/
|
|
4376
|
-
a[2] ?
|
|
4429
|
+
a[2] ? Ta : Ba
|
|
4377
4430
|
);
|
|
4378
4431
|
}
|
|
4379
4432
|
let n = r(e), s = n(e);
|
|
@@ -4395,7 +4448,7 @@ function _a(e) {
|
|
|
4395
4448
|
}
|
|
4396
4449
|
};
|
|
4397
4450
|
}
|
|
4398
|
-
function
|
|
4451
|
+
function Ta(e) {
|
|
4399
4452
|
let t, r, n, s = (
|
|
4400
4453
|
/*$_*/
|
|
4401
4454
|
e[19]("changePasswordText") + ""
|
|
@@ -4405,19 +4458,19 @@ function xa(e) {
|
|
|
4405
4458
|
), w, v, T, y = (
|
|
4406
4459
|
/*$_*/
|
|
4407
4460
|
e[19]("passwordResetConfirmation") + ""
|
|
4408
|
-
), I,
|
|
4461
|
+
), I, O, k, D = (
|
|
4409
4462
|
/*$_*/
|
|
4410
4463
|
e[19]("backButtonText") + ""
|
|
4411
4464
|
), N, X, ee, $ = (
|
|
4412
4465
|
/*isMobile*/
|
|
4413
|
-
e[20] &&
|
|
4466
|
+
e[20] && Sa(e)
|
|
4414
4467
|
);
|
|
4415
4468
|
return {
|
|
4416
4469
|
c() {
|
|
4417
|
-
$ && $.c(), t = F(), r = _("div"), n = _("h3"), a = M(s), i = F(), l = _("div"), u = _("div"), h = _("div"), h.innerHTML = '<div class="Checkmark"></div>', c = F(), f = _("div"), p = _("h3"), w = M(m), v = F(), T = _("p"), I = M(y),
|
|
4470
|
+
$ && $.c(), t = F(), r = _("div"), n = _("h3"), a = M(s), i = F(), l = _("div"), u = _("div"), h = _("div"), h.innerHTML = '<div class="Checkmark"></div>', c = F(), f = _("div"), p = _("h3"), w = M(m), v = F(), T = _("p"), I = M(y), O = F(), k = _("div"), N = M(D), o(r, "class", "PlayerChangePasswordHeader"), o(h, "class", "IconContainer"), o(f, "class", "TextContainer"), o(u, "class", "SuccessWrapper"), o(k, "class", "PlayerChangePasswordBackButton"), o(l, "class", "ChangedPasswordSuccessfully");
|
|
4418
4471
|
},
|
|
4419
4472
|
m(L, B) {
|
|
4420
|
-
$ && $.m(L, B), H(L, t, B), H(L, r, B), d(r, n), d(n, a), H(L, i, B), H(L, l, B), d(l, u), d(u, h), d(u, c), d(u, f), d(f, p), d(p, w), d(f, v), d(f, T), d(T, I), d(l,
|
|
4473
|
+
$ && $.m(L, B), H(L, t, B), H(L, r, B), d(r, n), d(n, a), H(L, i, B), H(L, l, B), d(l, u), d(u, h), d(u, c), d(u, f), d(f, p), d(p, w), d(f, v), d(f, T), d(T, I), d(l, O), d(l, k), d(k, N), X || (ee = z(
|
|
4421
4474
|
k,
|
|
4422
4475
|
"click",
|
|
4423
4476
|
/*click_handler_9*/
|
|
@@ -4441,14 +4494,14 @@ function xa(e) {
|
|
|
4441
4494
|
}
|
|
4442
4495
|
};
|
|
4443
4496
|
}
|
|
4444
|
-
function
|
|
4497
|
+
function Ba(e) {
|
|
4445
4498
|
let t, r, n = (
|
|
4446
4499
|
/*$_*/
|
|
4447
4500
|
e[19]("titleChangePassword") + ""
|
|
4448
4501
|
), s, a, i, l, u, h = (
|
|
4449
4502
|
/*$_*/
|
|
4450
4503
|
e[19]("currentPassword") + ""
|
|
4451
|
-
), c, f, p, m, w, v, T, y, I,
|
|
4504
|
+
), c, f, p, m, w, v, T, y, I, O = (
|
|
4452
4505
|
/*$_*/
|
|
4453
4506
|
e[19]("newPassword") + ""
|
|
4454
4507
|
), k, D, N, X, ee, $, L, B, Z, Y = (
|
|
@@ -4459,22 +4512,22 @@ function Ea(e) {
|
|
|
4459
4512
|
e[19]("submitChangePassword") + ""
|
|
4460
4513
|
), be, we, de, Ue, Ze, ae = (
|
|
4461
4514
|
/*isMobile*/
|
|
4462
|
-
e[20] &&
|
|
4515
|
+
e[20] && Aa(e)
|
|
4463
4516
|
);
|
|
4464
4517
|
function Qe(x, P) {
|
|
4465
4518
|
return (
|
|
4466
4519
|
/*isCurrentPasswordVisible*/
|
|
4467
|
-
x[10] ?
|
|
4520
|
+
x[10] ? Ha : Ia
|
|
4468
4521
|
);
|
|
4469
4522
|
}
|
|
4470
4523
|
let ve = Qe(e), J = ve(e), G = (
|
|
4471
4524
|
/*invalidCurrentPassword*/
|
|
4472
|
-
e[4] &&
|
|
4525
|
+
e[4] && ur(e)
|
|
4473
4526
|
);
|
|
4474
4527
|
function Ye(x, P) {
|
|
4475
4528
|
return (
|
|
4476
4529
|
/*isNewPasswordVisible*/
|
|
4477
|
-
x[11] ?
|
|
4530
|
+
x[11] ? Oa : Ra
|
|
4478
4531
|
);
|
|
4479
4532
|
}
|
|
4480
4533
|
let ye = Ye(e), q = ye(e);
|
|
@@ -4482,29 +4535,31 @@ function Ea(e) {
|
|
|
4482
4535
|
if (
|
|
4483
4536
|
/*oldPasswordSameAsNew*/
|
|
4484
4537
|
x[13]
|
|
4485
|
-
)
|
|
4538
|
+
)
|
|
4539
|
+
return Fa;
|
|
4486
4540
|
if (
|
|
4487
4541
|
/*invalidNewPassword*/
|
|
4488
4542
|
x[5]
|
|
4489
|
-
)
|
|
4543
|
+
)
|
|
4544
|
+
return La;
|
|
4490
4545
|
}
|
|
4491
4546
|
let he = Je(e), j = he && he(e);
|
|
4492
4547
|
function qe(x, P) {
|
|
4493
4548
|
return (
|
|
4494
4549
|
/*isConfirmPasswordVisible*/
|
|
4495
|
-
x[12] ?
|
|
4550
|
+
x[12] ? $a : Ua
|
|
4496
4551
|
);
|
|
4497
4552
|
}
|
|
4498
4553
|
let Pe = qe(e), K = Pe(e), V = (
|
|
4499
4554
|
/*invalidConfirmPassword*/
|
|
4500
|
-
e[6] &&
|
|
4555
|
+
e[6] && hr(e)
|
|
4501
4556
|
), b = (
|
|
4502
4557
|
/*showErrorPasswordChanged*/
|
|
4503
|
-
e[18] &&
|
|
4558
|
+
e[18] && cr(e)
|
|
4504
4559
|
);
|
|
4505
4560
|
return {
|
|
4506
4561
|
c() {
|
|
4507
|
-
ae && ae.c(), t = F(), r = _("h2"), s = M(n), a = F(), i = _("section"), l = _("div"), u = _("label"), c = M(h), f = F(), p = _("input"), m = F(), J.c(), w = F(), G && G.c(), T = F(), y = _("div"), I = _("label"), k = M(
|
|
4562
|
+
ae && ae.c(), t = F(), r = _("h2"), s = M(n), a = F(), i = _("section"), l = _("div"), u = _("label"), c = M(h), f = F(), p = _("input"), m = F(), J.c(), w = F(), G && G.c(), T = F(), y = _("div"), I = _("label"), k = M(O), D = F(), N = _("input"), X = F(), q.c(), ee = F(), j && j.c(), L = F(), B = _("div"), Z = _("label"), me = M(Y), ke = F(), Q = _("input"), Xe = F(), K.c(), te = F(), V && V.c(), De = F(), b && b.c(), se = F(), fe = _("section"), re = _("button"), be = M(ue), o(r, "class", "ChangePasswordTitle " + /*isMobile*/
|
|
4508
4563
|
(e[20] ? "ChangePasswordTitleNone" : "")), o(u, "for", "CurrentPassword"), o(p, "id", "CurrentPassword"), o(p, "type", "password"), o(l, "class", v = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
|
|
4509
4564
|
(e[4] ? "InvalidField" : "")), o(I, "for", "NewPassword"), o(N, "id", "NewPassword"), o(N, "autocomplete", "new-password"), o(N, "type", "password"), o(y, "class", $ = "PlayerChangePasswordBox " + /*invalidNewPassword*/
|
|
4510
4565
|
(e[5] ? "InvalidField" : "")), o(Z, "for", "ConfirmPassword"), o(Q, "id", "ConfirmPassword"), o(Q, "type", "password"), o(B, "class", ge = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
|
|
@@ -4625,11 +4680,11 @@ function Ea(e) {
|
|
|
4625
4680
|
/*userCurrentPassword*/
|
|
4626
4681
|
e[14]
|
|
4627
4682
|
), ve === (ve = Qe(e)) && J ? J.p(e, P) : (J.d(1), J = ve(e), J && (J.c(), J.m(l, w))), /*invalidCurrentPassword*/
|
|
4628
|
-
e[4] ? G ? G.p(e, P) : (G =
|
|
4683
|
+
e[4] ? G ? G.p(e, P) : (G = ur(e), G.c(), G.m(l, null)) : G && (G.d(1), G = null), P[0] & /*invalidCurrentPassword*/
|
|
4629
4684
|
16 && v !== (v = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
|
|
4630
4685
|
(e[4] ? "InvalidField" : "")) && o(l, "class", v), P[0] & /*$_*/
|
|
4631
|
-
524288 &&
|
|
4632
|
-
e[19]("newPassword") + "") && U(k,
|
|
4686
|
+
524288 && O !== (O = /*$_*/
|
|
4687
|
+
e[19]("newPassword") + "") && U(k, O), P[0] & /*userNewPassword*/
|
|
4633
4688
|
32768 && N.value !== /*userNewPassword*/
|
|
4634
4689
|
e[15] && _e(
|
|
4635
4690
|
N,
|
|
@@ -4646,10 +4701,10 @@ function Ea(e) {
|
|
|
4646
4701
|
/*userConfirmPassword*/
|
|
4647
4702
|
e[16]
|
|
4648
4703
|
), Pe === (Pe = qe(e)) && K ? K.p(e, P) : (K.d(1), K = Pe(e), K && (K.c(), K.m(B, te))), /*invalidConfirmPassword*/
|
|
4649
|
-
e[6] ? V ? V.p(e, P) : (V =
|
|
4704
|
+
e[6] ? V ? V.p(e, P) : (V = hr(e), V.c(), V.m(B, null)) : V && (V.d(1), V = null), P[0] & /*invalidConfirmPassword*/
|
|
4650
4705
|
64 && ge !== (ge = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
|
|
4651
4706
|
(e[6] ? "InvalidField" : "")) && o(B, "class", ge), /*showErrorPasswordChanged*/
|
|
4652
|
-
e[18] ? b ? b.p(e, P) : (b =
|
|
4707
|
+
e[18] ? b ? b.p(e, P) : (b = cr(e), b.c(), b.m(se.parentNode, se)) : b && (b.d(1), b = null), P[0] & /*$_*/
|
|
4653
4708
|
524288 && ue !== (ue = /*$_*/
|
|
4654
4709
|
e[19]("submitChangePassword") + "") && U(be, ue), P[0] & /*activateSubmit*/
|
|
4655
4710
|
8 && we !== (we = "PlayerChangePasswordSaveButton " + /*activateSubmit*/
|
|
@@ -4658,11 +4713,11 @@ function Ea(e) {
|
|
|
4658
4713
|
e[3]) && (re.disabled = de);
|
|
4659
4714
|
},
|
|
4660
4715
|
d(x) {
|
|
4661
|
-
x && (A(t), A(r), A(a), A(i), A(De), A(se), A(fe)), ae && ae.d(x), e[35](null), J.d(), G && G.d(), e[39](null), q.d(), j && j.d(), e[43](null), K.d(), V && V.d(), b && b.d(x), Ue = !1,
|
|
4716
|
+
x && (A(t), A(r), A(a), A(i), A(De), A(se), A(fe)), ae && ae.d(x), e[35](null), J.d(), G && G.d(), e[39](null), q.d(), j && j.d(), e[43](null), K.d(), V && V.d(), b && b.d(x), Ue = !1, Re(Ze);
|
|
4662
4717
|
}
|
|
4663
4718
|
};
|
|
4664
4719
|
}
|
|
4665
|
-
function
|
|
4720
|
+
function Sa(e) {
|
|
4666
4721
|
let t, r, n, s, a, i, l = (
|
|
4667
4722
|
/*$_*/
|
|
4668
4723
|
e[19]("returnToMenu") + ""
|
|
@@ -4671,7 +4726,7 @@ function Ca(e) {
|
|
|
4671
4726
|
c() {
|
|
4672
4727
|
t = _("div"), r = g("svg"), n = g("g"), s = g("path"), a = F(), i = _("span"), u = M(l), o(s, "id", "Chevron_Right"), o(s, "d", `M57.633,129.007L165.93,237.268c4.752,4.74,12.451,4.74,17.215,0c4.752-4.74,4.752-12.439,0-17.179
|
|
4673
4728
|
l-99.707-99.671l99.695-99.671c4.752-4.74,4.752-12.439,0-17.191c-4.752-4.74-12.463-4.74-17.215,0L57.621,111.816
|
|
4674
|
-
C52.942,116.507,52.942,124.327,57.633,129.007z`), o(r, "version", "1.1"), o(r, "id", "Capa_1"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "xmlns:xlink", "http://www.w3.org/1999/xlink"), o(r, "x", "0px"), o(r, "y", "0px"), o(r, "viewBox", "0 0 240.823 240.823"),
|
|
4729
|
+
C52.942,116.507,52.942,124.327,57.633,129.007z`), o(r, "version", "1.1"), o(r, "id", "Capa_1"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "xmlns:xlink", "http://www.w3.org/1999/xlink"), o(r, "x", "0px"), o(r, "y", "0px"), o(r, "viewBox", "0 0 240.823 240.823"), en(r, "enable-background", "new 0 0 240.823 240.823"), o(r, "xml:space", "preserve"), o(r, "width", "18px"), o(r, "fill", "var(--emw--color-gray-300, #58586B)"), o(t, "class", "MenuReturnButton");
|
|
4675
4730
|
},
|
|
4676
4731
|
m(f, p) {
|
|
4677
4732
|
H(f, t, p), d(t, r), d(r, n), d(n, s), d(t, a), d(t, i), d(i, u), h || (c = z(
|
|
@@ -4691,7 +4746,7 @@ function Ca(e) {
|
|
|
4691
4746
|
}
|
|
4692
4747
|
};
|
|
4693
4748
|
}
|
|
4694
|
-
function
|
|
4749
|
+
function Aa(e) {
|
|
4695
4750
|
let t, r, n, s, a, i, l, u, h, c, f = (
|
|
4696
4751
|
/*$_*/
|
|
4697
4752
|
e[19]("titleChangePassword") + ""
|
|
@@ -4718,7 +4773,7 @@ function Ta(e) {
|
|
|
4718
4773
|
}
|
|
4719
4774
|
};
|
|
4720
4775
|
}
|
|
4721
|
-
function
|
|
4776
|
+
function Ia(e) {
|
|
4722
4777
|
let t, r, n, s, a, i, l, u, h, c;
|
|
4723
4778
|
return {
|
|
4724
4779
|
c() {
|
|
@@ -4745,7 +4800,7 @@ function Ba(e) {
|
|
|
4745
4800
|
}
|
|
4746
4801
|
};
|
|
4747
4802
|
}
|
|
4748
|
-
function
|
|
4803
|
+
function Ha(e) {
|
|
4749
4804
|
let t, r, n, s, a, i, l, u, h, c, f, p, m, w, v, T;
|
|
4750
4805
|
return {
|
|
4751
4806
|
c() {
|
|
@@ -4772,18 +4827,18 @@ function Sa(e) {
|
|
|
4772
4827
|
}
|
|
4773
4828
|
};
|
|
4774
4829
|
}
|
|
4775
|
-
function
|
|
4830
|
+
function ur(e) {
|
|
4776
4831
|
let t;
|
|
4777
4832
|
function r(a, i) {
|
|
4778
4833
|
return (
|
|
4779
4834
|
/*simplepasswordvalidation*/
|
|
4780
|
-
a[0] == "true" ?
|
|
4835
|
+
a[0] == "true" ? Na : Ma
|
|
4781
4836
|
);
|
|
4782
4837
|
}
|
|
4783
4838
|
let n = r(e), s = n(e);
|
|
4784
4839
|
return {
|
|
4785
4840
|
c() {
|
|
4786
|
-
s.c(), t =
|
|
4841
|
+
s.c(), t = mr();
|
|
4787
4842
|
},
|
|
4788
4843
|
m(a, i) {
|
|
4789
4844
|
s.m(a, i), H(a, t, i);
|
|
@@ -4796,7 +4851,7 @@ function ir(e) {
|
|
|
4796
4851
|
}
|
|
4797
4852
|
};
|
|
4798
4853
|
}
|
|
4799
|
-
function
|
|
4854
|
+
function Ma(e) {
|
|
4800
4855
|
let t, r = (
|
|
4801
4856
|
/*$_*/
|
|
4802
4857
|
e[19]("invalidPasswordRule") + ""
|
|
@@ -4818,7 +4873,7 @@ function Aa(e) {
|
|
|
4818
4873
|
}
|
|
4819
4874
|
};
|
|
4820
4875
|
}
|
|
4821
|
-
function
|
|
4876
|
+
function Na(e) {
|
|
4822
4877
|
let t, r = (
|
|
4823
4878
|
/*$_*/
|
|
4824
4879
|
e[19]("simplePasswordError") + ""
|
|
@@ -4840,7 +4895,7 @@ function Ia(e) {
|
|
|
4840
4895
|
}
|
|
4841
4896
|
};
|
|
4842
4897
|
}
|
|
4843
|
-
function
|
|
4898
|
+
function Ra(e) {
|
|
4844
4899
|
let t, r, n, s, a, i, l, u, h, c;
|
|
4845
4900
|
return {
|
|
4846
4901
|
c() {
|
|
@@ -4867,7 +4922,7 @@ function Ha(e) {
|
|
|
4867
4922
|
}
|
|
4868
4923
|
};
|
|
4869
4924
|
}
|
|
4870
|
-
function
|
|
4925
|
+
function Oa(e) {
|
|
4871
4926
|
let t, r, n, s, a, i, l, u, h, c, f, p, m, w, v, T;
|
|
4872
4927
|
return {
|
|
4873
4928
|
c() {
|
|
@@ -4894,18 +4949,18 @@ function Ma(e) {
|
|
|
4894
4949
|
}
|
|
4895
4950
|
};
|
|
4896
4951
|
}
|
|
4897
|
-
function
|
|
4952
|
+
function La(e) {
|
|
4898
4953
|
let t;
|
|
4899
4954
|
function r(a, i) {
|
|
4900
4955
|
return (
|
|
4901
4956
|
/*simplepasswordvalidation*/
|
|
4902
|
-
a[0] == "true" ?
|
|
4957
|
+
a[0] == "true" ? Da : ka
|
|
4903
4958
|
);
|
|
4904
4959
|
}
|
|
4905
4960
|
let n = r(e), s = n(e);
|
|
4906
4961
|
return {
|
|
4907
4962
|
c() {
|
|
4908
|
-
s.c(), t =
|
|
4963
|
+
s.c(), t = mr();
|
|
4909
4964
|
},
|
|
4910
4965
|
m(a, i) {
|
|
4911
4966
|
s.m(a, i), H(a, t, i);
|
|
@@ -4918,7 +4973,7 @@ function Na(e) {
|
|
|
4918
4973
|
}
|
|
4919
4974
|
};
|
|
4920
4975
|
}
|
|
4921
|
-
function
|
|
4976
|
+
function Fa(e) {
|
|
4922
4977
|
let t, r = (
|
|
4923
4978
|
/*$_*/
|
|
4924
4979
|
e[19]("invalidNewPassword") + ""
|
|
@@ -4940,7 +4995,7 @@ function Oa(e) {
|
|
|
4940
4995
|
}
|
|
4941
4996
|
};
|
|
4942
4997
|
}
|
|
4943
|
-
function
|
|
4998
|
+
function ka(e) {
|
|
4944
4999
|
let t, r = (
|
|
4945
5000
|
/*$_*/
|
|
4946
5001
|
e[19]("invalidPasswordRule") + ""
|
|
@@ -4962,7 +5017,7 @@ function Ra(e) {
|
|
|
4962
5017
|
}
|
|
4963
5018
|
};
|
|
4964
5019
|
}
|
|
4965
|
-
function
|
|
5020
|
+
function Da(e) {
|
|
4966
5021
|
let t, r = (
|
|
4967
5022
|
/*$_*/
|
|
4968
5023
|
e[19]("simplePasswordError") + ""
|
|
@@ -4984,7 +5039,7 @@ function La(e) {
|
|
|
4984
5039
|
}
|
|
4985
5040
|
};
|
|
4986
5041
|
}
|
|
4987
|
-
function
|
|
5042
|
+
function Ua(e) {
|
|
4988
5043
|
let t, r, n, s, a, i, l, u, h, c;
|
|
4989
5044
|
return {
|
|
4990
5045
|
c() {
|
|
@@ -5011,7 +5066,7 @@ function Fa(e) {
|
|
|
5011
5066
|
}
|
|
5012
5067
|
};
|
|
5013
5068
|
}
|
|
5014
|
-
function
|
|
5069
|
+
function $a(e) {
|
|
5015
5070
|
let t, r, n, s, a, i, l, u, h, c, f, p, m, w, v, T;
|
|
5016
5071
|
return {
|
|
5017
5072
|
c() {
|
|
@@ -5038,7 +5093,7 @@ function ka(e) {
|
|
|
5038
5093
|
}
|
|
5039
5094
|
};
|
|
5040
5095
|
}
|
|
5041
|
-
function
|
|
5096
|
+
function hr(e) {
|
|
5042
5097
|
let t, r = (
|
|
5043
5098
|
/*$_*/
|
|
5044
5099
|
e[19]("confirmPasswordInvalid") + ""
|
|
@@ -5060,7 +5115,7 @@ function or(e) {
|
|
|
5060
5115
|
}
|
|
5061
5116
|
};
|
|
5062
5117
|
}
|
|
5063
|
-
function
|
|
5118
|
+
function cr(e) {
|
|
5064
5119
|
let t, r, n;
|
|
5065
5120
|
return {
|
|
5066
5121
|
c() {
|
|
@@ -5085,10 +5140,10 @@ function lr(e) {
|
|
|
5085
5140
|
}
|
|
5086
5141
|
};
|
|
5087
5142
|
}
|
|
5088
|
-
function
|
|
5143
|
+
function Ga(e) {
|
|
5089
5144
|
let t;
|
|
5090
5145
|
function r(a, i) {
|
|
5091
|
-
return
|
|
5146
|
+
return Ca;
|
|
5092
5147
|
}
|
|
5093
5148
|
let s = r()(e);
|
|
5094
5149
|
return {
|
|
@@ -5108,25 +5163,25 @@ function Da(e) {
|
|
|
5108
5163
|
}
|
|
5109
5164
|
};
|
|
5110
5165
|
}
|
|
5111
|
-
function
|
|
5166
|
+
function ja(e, t, r) {
|
|
5112
5167
|
let n;
|
|
5113
|
-
|
|
5114
|
-
let { lang: s = "en" } = t, { simplepasswordvalidation: a = "false" } = t, { clientstyling: i = "" } = t, { clientstylingurl: l = "" } = t, { mbsource: u } = t, { translationurl: h = "" } = t, { passwordregex: c = "" } = t, f, p = window.navigator.userAgent, m =
|
|
5168
|
+
Qr(e, Pa, (b) => r(19, n = b));
|
|
5169
|
+
let { lang: s = "en" } = t, { simplepasswordvalidation: a = "false" } = t, { clientstyling: i = "" } = t, { clientstylingurl: l = "" } = t, { mbsource: u } = t, { translationurl: h = "" } = t, { passwordregex: c = "" } = t, f, p = window.navigator.userAgent, m = _a(p) !== "PC", w = !1;
|
|
5115
5170
|
const v = window.matchMedia("(min-width: 768px)"), T = {
|
|
5116
5171
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
|
|
5117
5172
|
};
|
|
5118
|
-
let y = !1, I = !1,
|
|
5173
|
+
let y = !1, I = !1, O = !1, k, D, N, X = !1, ee = !1, $ = !1, L = !1, B = "", Z = "", Y = "", me = !1, ke = "", Q = !1;
|
|
5119
5174
|
const Xe = () => {
|
|
5120
5175
|
fetch(h).then((x) => x.json()).then((x) => {
|
|
5121
5176
|
Object.keys(x).forEach((P) => {
|
|
5122
|
-
|
|
5177
|
+
or(P, x[P]);
|
|
5123
5178
|
});
|
|
5124
5179
|
}).catch((x) => {
|
|
5125
5180
|
console.log(x);
|
|
5126
5181
|
});
|
|
5127
5182
|
};
|
|
5128
|
-
Object.keys(
|
|
5129
|
-
|
|
5183
|
+
Object.keys(lr).forEach((b) => {
|
|
5184
|
+
or(b, lr[b]);
|
|
5130
5185
|
});
|
|
5131
5186
|
const te = (b) => {
|
|
5132
5187
|
switch (b) {
|
|
@@ -5143,9 +5198,9 @@ function Ua(e, t, r) {
|
|
|
5143
5198
|
}, ge = () => {
|
|
5144
5199
|
a == "true" && (T.password = /^(?!.* ).{8,20}$/);
|
|
5145
5200
|
}, De = (b, x, P) => {
|
|
5146
|
-
P.id === "CurrentPassword" ? r(4, y = !se(x)) : P.id === "NewPassword" ? (r(5, I = !se(x)), B && r(13, L = B === Z), Y && r(6,
|
|
5201
|
+
P.id === "CurrentPassword" ? r(4, y = !se(x)) : P.id === "NewPassword" ? (r(5, I = !se(x)), B && r(13, L = B === Z), Y && r(6, O = Z === Y ? !se(x) : !0)) : r(6, O = Z === Y ? !se(x) : !0), fe();
|
|
5147
5202
|
}, se = (b) => !!T.password.test(b), fe = () => {
|
|
5148
|
-
!y && !I && !
|
|
5203
|
+
!y && !I && !O && !L && B && Z && Y ? r(3, w = !0) : r(3, w = !1);
|
|
5149
5204
|
}, re = (b) => {
|
|
5150
5205
|
b.preventDefault(), w && window.postMessage(
|
|
5151
5206
|
{
|
|
@@ -5166,7 +5221,7 @@ function Ua(e, t, r) {
|
|
|
5166
5221
|
}, be = () => {
|
|
5167
5222
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
5168
5223
|
}, we = () => {
|
|
5169
|
-
|
|
5224
|
+
xa(s);
|
|
5170
5225
|
}, de = (b) => {
|
|
5171
5226
|
if (b.data)
|
|
5172
5227
|
switch (b.data.type) {
|
|
@@ -5178,7 +5233,7 @@ function Ua(e, t, r) {
|
|
|
5178
5233
|
break;
|
|
5179
5234
|
}
|
|
5180
5235
|
};
|
|
5181
|
-
|
|
5236
|
+
nn(() => (window.addEventListener("message", de, !1), () => {
|
|
5182
5237
|
window.removeEventListener("message", de);
|
|
5183
5238
|
}));
|
|
5184
5239
|
const Ue = () => ue();
|
|
@@ -5222,9 +5277,9 @@ function Ua(e, t, r) {
|
|
|
5222
5277
|
2 && c && (T.password = new RegExp(c)), e.$$.dirty[0] & /*lang*/
|
|
5223
5278
|
134217728 && s && we(), e.$$.dirty[0] & /*passwordChanged*/
|
|
5224
5279
|
4, e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5225
|
-
268435458 && i && f &&
|
|
5226
|
-
536870914 && l && f &&
|
|
5227
|
-
1073741826 && u && f &&
|
|
5280
|
+
268435458 && i && f && wn(f, i), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5281
|
+
536870914 && l && f && vn(f, l), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5282
|
+
1073741826 && u && f && yn(f, `${u}.Style`), e.$$.dirty[1] & /*translationurl*/
|
|
5228
5283
|
1 && h && Xe();
|
|
5229
5284
|
}, [
|
|
5230
5285
|
a,
|
|
@@ -5233,7 +5288,7 @@ function Ua(e, t, r) {
|
|
|
5233
5288
|
w,
|
|
5234
5289
|
y,
|
|
5235
5290
|
I,
|
|
5236
|
-
|
|
5291
|
+
O,
|
|
5237
5292
|
k,
|
|
5238
5293
|
D,
|
|
5239
5294
|
N,
|
|
@@ -5279,14 +5334,14 @@ function Ua(e, t, r) {
|
|
|
5279
5334
|
V
|
|
5280
5335
|
];
|
|
5281
5336
|
}
|
|
5282
|
-
class
|
|
5337
|
+
class Va extends gn {
|
|
5283
5338
|
constructor(t) {
|
|
5284
|
-
super(),
|
|
5339
|
+
super(), pn(
|
|
5285
5340
|
this,
|
|
5286
5341
|
t,
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
|
|
5342
|
+
ja,
|
|
5343
|
+
Ga,
|
|
5344
|
+
dr,
|
|
5290
5345
|
{
|
|
5291
5346
|
lang: 27,
|
|
5292
5347
|
simplepasswordvalidation: 0,
|
|
@@ -5296,7 +5351,7 @@ class $a extends fn {
|
|
|
5296
5351
|
translationurl: 31,
|
|
5297
5352
|
passwordregex: 32
|
|
5298
5353
|
},
|
|
5299
|
-
|
|
5354
|
+
Ea,
|
|
5300
5355
|
[-1, -1]
|
|
5301
5356
|
);
|
|
5302
5357
|
}
|
|
@@ -5343,7 +5398,7 @@ class $a extends fn {
|
|
|
5343
5398
|
this.$$set({ passwordregex: t }), ie();
|
|
5344
5399
|
}
|
|
5345
5400
|
}
|
|
5346
|
-
|
|
5401
|
+
mn(Va, { lang: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, passwordregex: {} }, [], [], !0);
|
|
5347
5402
|
export {
|
|
5348
|
-
|
|
5403
|
+
Va as P
|
|
5349
5404
|
};
|