@everymatrix/player-change-password 1.87.26 → 1.87.28
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-X3xSckBm.cjs → PlayerChangePassword-BIwU0KM2.cjs} +5 -5
- package/components/{PlayerChangePassword-BKDWSAyN.js → PlayerChangePassword-BdDk0lyl.js} +1134 -1105
- package/components/{PlayerChangePassword-Bm_ovCKB.js → PlayerChangePassword-BfUfD1wZ.js} +1070 -1042
- 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
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
function
|
|
1
|
+
function ne() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function mr(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Gt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
9
|
+
function Oe(e) {
|
|
10
|
+
e.forEach(mr);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Be(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function gr(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function Qr(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function br(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const n of t)
|
|
24
24
|
n(void 0);
|
|
25
|
-
return
|
|
25
|
+
return ne;
|
|
26
26
|
}
|
|
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 Jr(e, t, r) {
|
|
31
|
+
e.$$.on_destroy.push(br(t, r));
|
|
32
32
|
}
|
|
33
33
|
function d(e, t) {
|
|
34
34
|
e.appendChild(t);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const n =
|
|
36
|
+
function qr(e, t, r) {
|
|
37
|
+
const n = Kr(e);
|
|
38
38
|
if (!n.getElementById(t)) {
|
|
39
|
-
const s =
|
|
40
|
-
s.id = t, s.textContent = r,
|
|
39
|
+
const s = P("style");
|
|
40
|
+
s.id = t, s.textContent = r, en(n, s);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function Kr(e) {
|
|
44
44
|
if (!e)
|
|
45
45
|
return document;
|
|
46
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -50,20 +50,20 @@ function qr(e) {
|
|
|
50
50
|
t
|
|
51
51
|
) : e.ownerDocument;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function en(e, t) {
|
|
54
54
|
return d(
|
|
55
55
|
/** @type {Document} */
|
|
56
56
|
e.head || e,
|
|
57
57
|
t
|
|
58
58
|
), t.sheet;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function H(e, t, r) {
|
|
61
61
|
e.insertBefore(t, r || null);
|
|
62
62
|
}
|
|
63
63
|
function B(e) {
|
|
64
64
|
e.parentNode && e.parentNode.removeChild(e);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function P(e) {
|
|
67
67
|
return document.createElement(e);
|
|
68
68
|
}
|
|
69
69
|
function g(e) {
|
|
@@ -72,32 +72,32 @@ function g(e) {
|
|
|
72
72
|
function I(e) {
|
|
73
73
|
return document.createTextNode(e);
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function F() {
|
|
76
76
|
return I(" ");
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function wr() {
|
|
79
79
|
return I("");
|
|
80
80
|
}
|
|
81
81
|
function z(e, t, r, n) {
|
|
82
82
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function a(e, t, r) {
|
|
85
85
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function tn(e) {
|
|
88
88
|
return Array.from(e.childNodes);
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function U(e, t) {
|
|
91
91
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
92
92
|
t);
|
|
93
93
|
}
|
|
94
94
|
function Pe(e, t) {
|
|
95
95
|
e.value = t ?? "";
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function rn(e, t, r, n) {
|
|
98
98
|
e.style.setProperty(t, r, "");
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function nn(e) {
|
|
101
101
|
const t = {};
|
|
102
102
|
return e.childNodes.forEach(
|
|
103
103
|
/** @param {Element} node */
|
|
@@ -110,27 +110,27 @@ let je;
|
|
|
110
110
|
function Ge(e) {
|
|
111
111
|
je = e;
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function sn() {
|
|
114
114
|
if (!je)
|
|
115
115
|
throw new Error("Function called outside component initialization");
|
|
116
116
|
return je;
|
|
117
117
|
}
|
|
118
|
-
function
|
|
119
|
-
|
|
118
|
+
function on(e) {
|
|
119
|
+
sn().$$.on_mount.push(e);
|
|
120
120
|
}
|
|
121
|
-
const Te = [],
|
|
122
|
-
let
|
|
123
|
-
const
|
|
124
|
-
let
|
|
125
|
-
function
|
|
126
|
-
|
|
121
|
+
const Te = [], Se = [];
|
|
122
|
+
let Ae = [];
|
|
123
|
+
const jt = [], an = /* @__PURE__ */ Promise.resolve();
|
|
124
|
+
let Et = !1;
|
|
125
|
+
function ln() {
|
|
126
|
+
Et || (Et = !0, an.then(ae));
|
|
127
127
|
}
|
|
128
|
-
function
|
|
129
|
-
|
|
128
|
+
function xt(e) {
|
|
129
|
+
Ae.push(e);
|
|
130
130
|
}
|
|
131
|
-
const
|
|
131
|
+
const mt = /* @__PURE__ */ new Set();
|
|
132
132
|
let Ee = 0;
|
|
133
|
-
function
|
|
133
|
+
function ae() {
|
|
134
134
|
if (Ee !== 0)
|
|
135
135
|
return;
|
|
136
136
|
const e = je;
|
|
@@ -138,53 +138,53 @@ function ie() {
|
|
|
138
138
|
try {
|
|
139
139
|
for (; Ee < Te.length; ) {
|
|
140
140
|
const t = Te[Ee];
|
|
141
|
-
Ee++, Ge(t),
|
|
141
|
+
Ee++, Ge(t), un(t.$$);
|
|
142
142
|
}
|
|
143
143
|
} catch (t) {
|
|
144
144
|
throw Te.length = 0, Ee = 0, t;
|
|
145
145
|
}
|
|
146
|
-
for (Ge(null), Te.length = 0, Ee = 0;
|
|
147
|
-
|
|
148
|
-
for (let t = 0; t <
|
|
149
|
-
const r =
|
|
150
|
-
|
|
146
|
+
for (Ge(null), Te.length = 0, Ee = 0; Se.length; )
|
|
147
|
+
Se.pop()();
|
|
148
|
+
for (let t = 0; t < Ae.length; t += 1) {
|
|
149
|
+
const r = Ae[t];
|
|
150
|
+
mt.has(r) || (mt.add(r), r());
|
|
151
151
|
}
|
|
152
|
-
|
|
152
|
+
Ae.length = 0;
|
|
153
153
|
} while (Te.length);
|
|
154
|
-
for (;
|
|
155
|
-
|
|
156
|
-
|
|
154
|
+
for (; jt.length; )
|
|
155
|
+
jt.pop()();
|
|
156
|
+
Et = !1, mt.clear(), Ge(e);
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function un(e) {
|
|
159
159
|
if (e.fragment !== null) {
|
|
160
|
-
e.update(),
|
|
160
|
+
e.update(), Oe(e.before_update);
|
|
161
161
|
const t = e.dirty;
|
|
162
|
-
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(xt);
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function hn(e) {
|
|
166
166
|
const t = [], r = [];
|
|
167
|
-
|
|
167
|
+
Ae.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Ae = t;
|
|
168
168
|
}
|
|
169
|
-
const
|
|
170
|
-
function
|
|
171
|
-
e && e.i && (
|
|
169
|
+
const cn = /* @__PURE__ */ new Set();
|
|
170
|
+
function fn(e, t) {
|
|
171
|
+
e && e.i && (cn.delete(e), e.i(t));
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function dn(e, t, r) {
|
|
174
174
|
const { fragment: n, after_update: s } = e.$$;
|
|
175
|
-
n && n.m(t, r),
|
|
176
|
-
const i = e.$$.on_mount.map(
|
|
177
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...i) :
|
|
178
|
-
}), s.forEach(
|
|
175
|
+
n && n.m(t, r), xt(() => {
|
|
176
|
+
const i = e.$$.on_mount.map(mr).filter(Be);
|
|
177
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...i) : Oe(i), e.$$.on_mount = [];
|
|
178
|
+
}), s.forEach(xt);
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function pn(e, t) {
|
|
181
181
|
const r = e.$$;
|
|
182
|
-
r.fragment !== null && (
|
|
182
|
+
r.fragment !== null && (hn(r.after_update), Oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
183
183
|
}
|
|
184
|
-
function
|
|
185
|
-
e.$$.dirty[0] === -1 && (Te.push(e),
|
|
184
|
+
function mn(e, t) {
|
|
185
|
+
e.$$.dirty[0] === -1 && (Te.push(e), ln(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function gn(e, t, r, n, s, i, o = null, l = [-1]) {
|
|
188
188
|
const u = je;
|
|
189
189
|
Ge(e);
|
|
190
190
|
const h = e.$$ = {
|
|
@@ -192,9 +192,9 @@ function mn(e, t, r, n, s, i, a = null, l = [-1]) {
|
|
|
192
192
|
ctx: [],
|
|
193
193
|
// state
|
|
194
194
|
props: i,
|
|
195
|
-
update:
|
|
195
|
+
update: ne,
|
|
196
196
|
not_equal: s,
|
|
197
|
-
bound:
|
|
197
|
+
bound: Gt(),
|
|
198
198
|
// lifecycle
|
|
199
199
|
on_mount: [],
|
|
200
200
|
on_destroy: [],
|
|
@@ -203,28 +203,28 @@ function mn(e, t, r, n, s, i, a = null, l = [-1]) {
|
|
|
203
203
|
after_update: [],
|
|
204
204
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
205
205
|
// everything else
|
|
206
|
-
callbacks:
|
|
206
|
+
callbacks: Gt(),
|
|
207
207
|
dirty: l,
|
|
208
208
|
skip_bound: !1,
|
|
209
209
|
root: t.target || u.$$.root
|
|
210
210
|
};
|
|
211
|
-
|
|
211
|
+
o && o(h.root);
|
|
212
212
|
let c = !1;
|
|
213
213
|
if (h.ctx = r ? r(e, t.props || {}, (f, p, ...m) => {
|
|
214
214
|
const v = m.length ? m[0] : p;
|
|
215
|
-
return h.ctx && s(h.ctx[f], h.ctx[f] = v) && (!h.skip_bound && h.bound[f] && h.bound[f](v), c &&
|
|
216
|
-
}) : [], h.update(), c = !0,
|
|
215
|
+
return h.ctx && s(h.ctx[f], h.ctx[f] = v) && (!h.skip_bound && h.bound[f] && h.bound[f](v), c && mn(e, f)), p;
|
|
216
|
+
}) : [], h.update(), c = !0, Oe(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
|
|
217
217
|
if (t.hydrate) {
|
|
218
|
-
const f =
|
|
218
|
+
const f = tn(t.target);
|
|
219
219
|
h.fragment && h.fragment.l(f), f.forEach(B);
|
|
220
220
|
} else
|
|
221
221
|
h.fragment && h.fragment.c();
|
|
222
|
-
t.intro &&
|
|
222
|
+
t.intro && fn(e.$$.fragment), dn(e, t.target, t.anchor), ae();
|
|
223
223
|
}
|
|
224
224
|
Ge(u);
|
|
225
225
|
}
|
|
226
|
-
let
|
|
227
|
-
typeof HTMLElement == "function" && (
|
|
226
|
+
let vr;
|
|
227
|
+
typeof HTMLElement == "function" && (vr = class extends HTMLElement {
|
|
228
228
|
/** The Svelte component constructor */
|
|
229
229
|
$$ctor;
|
|
230
230
|
/** Slots */
|
|
@@ -266,14 +266,14 @@ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
|
|
|
266
266
|
let i;
|
|
267
267
|
return {
|
|
268
268
|
c: function() {
|
|
269
|
-
i =
|
|
269
|
+
i = P("slot"), s !== "default" && a(i, "name", s);
|
|
270
270
|
},
|
|
271
271
|
/**
|
|
272
272
|
* @param {HTMLElement} target
|
|
273
273
|
* @param {HTMLElement} [anchor]
|
|
274
274
|
*/
|
|
275
275
|
m: function(u, h) {
|
|
276
|
-
|
|
276
|
+
H(u, i, h);
|
|
277
277
|
},
|
|
278
278
|
d: function(u) {
|
|
279
279
|
u && B(i);
|
|
@@ -283,12 +283,12 @@ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
|
|
|
283
283
|
};
|
|
284
284
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
285
285
|
return;
|
|
286
|
-
const t = {}, r =
|
|
286
|
+
const t = {}, r = nn(this);
|
|
287
287
|
for (const s of this.$$s)
|
|
288
288
|
s in r && (t[s] = [e(s)]);
|
|
289
289
|
for (const s of this.attributes) {
|
|
290
290
|
const i = this.$$g_p(s.name);
|
|
291
|
-
i in this.$$d || (this.$$d[i] =
|
|
291
|
+
i in this.$$d || (this.$$d[i] = rt(i, s.value, this.$$p_d, "toProp"));
|
|
292
292
|
}
|
|
293
293
|
for (const s in this.$$p_d)
|
|
294
294
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
@@ -306,7 +306,7 @@ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
|
|
|
306
306
|
this.$$r = !0;
|
|
307
307
|
for (const s in this.$$p_d)
|
|
308
308
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
309
|
-
const i =
|
|
309
|
+
const i = rt(
|
|
310
310
|
s,
|
|
311
311
|
this.$$d[s],
|
|
312
312
|
this.$$p_d,
|
|
@@ -319,8 +319,8 @@ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
|
|
|
319
319
|
this.$$c.$$.after_update.push(n), n();
|
|
320
320
|
for (const s in this.$$l)
|
|
321
321
|
for (const i of this.$$l[s]) {
|
|
322
|
-
const
|
|
323
|
-
this.$$l_u.set(i,
|
|
322
|
+
const o = this.$$c.$on(s, i);
|
|
323
|
+
this.$$l_u.set(i, o);
|
|
324
324
|
}
|
|
325
325
|
this.$$l = {};
|
|
326
326
|
}
|
|
@@ -328,7 +328,7 @@ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
|
|
|
328
328
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
329
329
|
// and setting attributes through setAttribute etc, this is helpful
|
|
330
330
|
attributeChangedCallback(e, t, r) {
|
|
331
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
331
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = rt(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
332
332
|
}
|
|
333
333
|
disconnectedCallback() {
|
|
334
334
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -341,7 +341,7 @@ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
|
|
|
341
341
|
) || e;
|
|
342
342
|
}
|
|
343
343
|
});
|
|
344
|
-
function
|
|
344
|
+
function rt(e, t, r, n) {
|
|
345
345
|
const s = r[e]?.type;
|
|
346
346
|
if (t = s === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
347
347
|
return t;
|
|
@@ -370,8 +370,8 @@ function tt(e, t, r, n) {
|
|
|
370
370
|
return t;
|
|
371
371
|
}
|
|
372
372
|
}
|
|
373
|
-
function
|
|
374
|
-
let
|
|
373
|
+
function bn(e, t, r, n, s, i) {
|
|
374
|
+
let o = class extends vr {
|
|
375
375
|
constructor() {
|
|
376
376
|
super(e, r, s), this.$$p_d = t;
|
|
377
377
|
}
|
|
@@ -382,24 +382,24 @@ function gn(e, t, r, n, s, i) {
|
|
|
382
382
|
}
|
|
383
383
|
};
|
|
384
384
|
return Object.keys(t).forEach((l) => {
|
|
385
|
-
Object.defineProperty(
|
|
385
|
+
Object.defineProperty(o.prototype, l, {
|
|
386
386
|
get() {
|
|
387
387
|
return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
|
|
388
388
|
},
|
|
389
389
|
set(u) {
|
|
390
|
-
u =
|
|
390
|
+
u = rt(l, u, t), this.$$d[l] = u, this.$$c?.$set({ [l]: u });
|
|
391
391
|
}
|
|
392
392
|
});
|
|
393
393
|
}), n.forEach((l) => {
|
|
394
|
-
Object.defineProperty(
|
|
394
|
+
Object.defineProperty(o.prototype, l, {
|
|
395
395
|
get() {
|
|
396
396
|
return this.$$c?.[l];
|
|
397
397
|
}
|
|
398
398
|
});
|
|
399
399
|
}), e.element = /** @type {any} */
|
|
400
|
-
|
|
400
|
+
o, o;
|
|
401
401
|
}
|
|
402
|
-
class
|
|
402
|
+
class wn {
|
|
403
403
|
/**
|
|
404
404
|
* ### PRIVATE API
|
|
405
405
|
*
|
|
@@ -418,7 +418,7 @@ class bn {
|
|
|
418
418
|
$$set = void 0;
|
|
419
419
|
/** @returns {void} */
|
|
420
420
|
$destroy() {
|
|
421
|
-
|
|
421
|
+
pn(this, 1), this.$destroy = ne;
|
|
422
422
|
}
|
|
423
423
|
/**
|
|
424
424
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -427,8 +427,8 @@ class bn {
|
|
|
427
427
|
* @returns {() => void}
|
|
428
428
|
*/
|
|
429
429
|
$on(t, r) {
|
|
430
|
-
if (!
|
|
431
|
-
return
|
|
430
|
+
if (!Be(r))
|
|
431
|
+
return ne;
|
|
432
432
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
433
433
|
return n.push(r), () => {
|
|
434
434
|
const s = n.indexOf(r);
|
|
@@ -440,18 +440,19 @@ class bn {
|
|
|
440
440
|
* @returns {void}
|
|
441
441
|
*/
|
|
442
442
|
$set(t) {
|
|
443
|
-
this.$$set && !
|
|
443
|
+
this.$$set && !Qr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
444
444
|
}
|
|
445
445
|
}
|
|
446
|
-
const
|
|
447
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
448
|
-
|
|
446
|
+
const vn = "4";
|
|
447
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(vn);
|
|
448
|
+
const Ce = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
449
|
+
function yn(e, t) {
|
|
449
450
|
if (e) {
|
|
450
451
|
const r = document.createElement("style");
|
|
451
452
|
r.innerHTML = t, e.appendChild(r);
|
|
452
453
|
}
|
|
453
454
|
}
|
|
454
|
-
function
|
|
455
|
+
function _n(e, t) {
|
|
455
456
|
if (!e || !t)
|
|
456
457
|
return;
|
|
457
458
|
const r = new URL(t);
|
|
@@ -462,13 +463,40 @@ function yn(e, t) {
|
|
|
462
463
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
463
464
|
});
|
|
464
465
|
}
|
|
465
|
-
function
|
|
466
|
-
if (window.emMessageBus)
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
466
|
+
function Pn(e, t, r, n = !1) {
|
|
467
|
+
if (!window.emMessageBus)
|
|
468
|
+
return;
|
|
469
|
+
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
470
|
+
return r = En(e, t), r;
|
|
471
|
+
window[Ce] || (window[Ce] = {}), r = xn(e, t);
|
|
472
|
+
const i = r.unsubscribe.bind(r), o = () => {
|
|
473
|
+
if (window[Ce][t]) {
|
|
474
|
+
const l = window[Ce][t];
|
|
475
|
+
l.refCount > 1 ? l.refCount = l.refCount - 1 : delete window[Ce][t];
|
|
476
|
+
}
|
|
477
|
+
i();
|
|
478
|
+
};
|
|
479
|
+
return r.unsubscribe = o, r;
|
|
480
|
+
}
|
|
481
|
+
function En(e, t) {
|
|
482
|
+
const r = document.createElement("style");
|
|
483
|
+
return window.emMessageBus.subscribe(t, (n) => {
|
|
484
|
+
e && (r.innerHTML = n, e.appendChild(r));
|
|
485
|
+
});
|
|
486
|
+
}
|
|
487
|
+
function xn(e, t) {
|
|
488
|
+
return window.emMessageBus.subscribe(t, (r) => {
|
|
489
|
+
if (!e)
|
|
490
|
+
return;
|
|
491
|
+
const n = e.getRootNode(), s = window[Ce];
|
|
492
|
+
let i = s[t]?.sheet;
|
|
493
|
+
i ? s[t].refCount = s[t].refCount + 1 : (i = new CSSStyleSheet(), i.replaceSync(r), s[t] = {
|
|
494
|
+
sheet: i,
|
|
495
|
+
refCount: 1
|
|
470
496
|
});
|
|
471
|
-
|
|
497
|
+
const o = n.adoptedStyleSheets || [];
|
|
498
|
+
o.includes(i) || (n.adoptedStyleSheets = [...o, i]);
|
|
499
|
+
});
|
|
472
500
|
}
|
|
473
501
|
/*! *****************************************************************************
|
|
474
502
|
Copyright (c) Microsoft Corporation.
|
|
@@ -484,24 +512,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
484
512
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
485
513
|
PERFORMANCE OF THIS SOFTWARE.
|
|
486
514
|
***************************************************************************** */
|
|
487
|
-
var
|
|
488
|
-
return
|
|
515
|
+
var Tt = function(e, t) {
|
|
516
|
+
return Tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
489
517
|
r.__proto__ = n;
|
|
490
518
|
} || function(r, n) {
|
|
491
519
|
for (var s in n)
|
|
492
520
|
Object.prototype.hasOwnProperty.call(n, s) && (r[s] = n[s]);
|
|
493
|
-
},
|
|
521
|
+
}, Tt(e, t);
|
|
494
522
|
};
|
|
495
523
|
function We(e, t) {
|
|
496
524
|
if (typeof t != "function" && t !== null)
|
|
497
525
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
498
|
-
|
|
526
|
+
Tt(e, t);
|
|
499
527
|
function r() {
|
|
500
528
|
this.constructor = e;
|
|
501
529
|
}
|
|
502
530
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
503
531
|
}
|
|
504
|
-
function
|
|
532
|
+
function Ct(e) {
|
|
505
533
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
506
534
|
if (r)
|
|
507
535
|
return r.call(e);
|
|
@@ -513,42 +541,42 @@ function Tt(e) {
|
|
|
513
541
|
};
|
|
514
542
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
515
543
|
}
|
|
516
|
-
function
|
|
544
|
+
function St(e, t) {
|
|
517
545
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
518
546
|
if (!r)
|
|
519
547
|
return e;
|
|
520
|
-
var n = r.call(e), s, i = [],
|
|
548
|
+
var n = r.call(e), s, i = [], o;
|
|
521
549
|
try {
|
|
522
550
|
for (; (t === void 0 || t-- > 0) && !(s = n.next()).done; )
|
|
523
551
|
i.push(s.value);
|
|
524
552
|
} catch (l) {
|
|
525
|
-
|
|
553
|
+
o = { error: l };
|
|
526
554
|
} finally {
|
|
527
555
|
try {
|
|
528
556
|
s && !s.done && (r = n.return) && r.call(n);
|
|
529
557
|
} finally {
|
|
530
|
-
if (
|
|
531
|
-
throw
|
|
558
|
+
if (o)
|
|
559
|
+
throw o.error;
|
|
532
560
|
}
|
|
533
561
|
}
|
|
534
562
|
return i;
|
|
535
563
|
}
|
|
536
|
-
function
|
|
564
|
+
function Bt(e, t, r) {
|
|
537
565
|
if (arguments.length === 2)
|
|
538
566
|
for (var n = 0, s = t.length, i; n < s; n++)
|
|
539
567
|
(i || !(n in t)) && (i || (i = Array.prototype.slice.call(t, 0, n)), i[n] = t[n]);
|
|
540
568
|
return e.concat(i || t);
|
|
541
569
|
}
|
|
542
|
-
function
|
|
570
|
+
function le(e) {
|
|
543
571
|
return typeof e == "function";
|
|
544
572
|
}
|
|
545
|
-
function
|
|
573
|
+
function yr(e) {
|
|
546
574
|
var t = function(n) {
|
|
547
575
|
Error.call(n), n.stack = new Error().stack;
|
|
548
576
|
}, r = e(t);
|
|
549
577
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
550
578
|
}
|
|
551
|
-
var
|
|
579
|
+
var gt = yr(function(e) {
|
|
552
580
|
return function(r) {
|
|
553
581
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
554
582
|
` + r.map(function(n, s) {
|
|
@@ -557,13 +585,13 @@ var mt = vr(function(e) {
|
|
|
557
585
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
558
586
|
};
|
|
559
587
|
});
|
|
560
|
-
function
|
|
588
|
+
function At(e, t) {
|
|
561
589
|
if (e) {
|
|
562
590
|
var r = e.indexOf(t);
|
|
563
591
|
0 <= r && e.splice(r, 1);
|
|
564
592
|
}
|
|
565
593
|
}
|
|
566
|
-
var
|
|
594
|
+
var ut = function() {
|
|
567
595
|
function e(t) {
|
|
568
596
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
569
597
|
}
|
|
@@ -571,11 +599,11 @@ var lt = function() {
|
|
|
571
599
|
var t, r, n, s, i;
|
|
572
600
|
if (!this.closed) {
|
|
573
601
|
this.closed = !0;
|
|
574
|
-
var
|
|
575
|
-
if (
|
|
576
|
-
if (this._parentage = null, Array.isArray(
|
|
602
|
+
var o = this._parentage;
|
|
603
|
+
if (o)
|
|
604
|
+
if (this._parentage = null, Array.isArray(o))
|
|
577
605
|
try {
|
|
578
|
-
for (var l =
|
|
606
|
+
for (var l = Ct(o), u = l.next(); !u.done; u = l.next()) {
|
|
579
607
|
var h = u.value;
|
|
580
608
|
h.remove(this);
|
|
581
609
|
}
|
|
@@ -590,24 +618,24 @@ var lt = function() {
|
|
|
590
618
|
}
|
|
591
619
|
}
|
|
592
620
|
else
|
|
593
|
-
|
|
621
|
+
o.remove(this);
|
|
594
622
|
var c = this.initialTeardown;
|
|
595
|
-
if (
|
|
623
|
+
if (le(c))
|
|
596
624
|
try {
|
|
597
625
|
c();
|
|
598
626
|
} catch (w) {
|
|
599
|
-
i = w instanceof
|
|
627
|
+
i = w instanceof gt ? w.errors : [w];
|
|
600
628
|
}
|
|
601
629
|
var f = this._finalizers;
|
|
602
630
|
if (f) {
|
|
603
631
|
this._finalizers = null;
|
|
604
632
|
try {
|
|
605
|
-
for (var p =
|
|
633
|
+
for (var p = Ct(f), m = p.next(); !m.done; m = p.next()) {
|
|
606
634
|
var v = m.value;
|
|
607
635
|
try {
|
|
608
|
-
|
|
636
|
+
Vt(v);
|
|
609
637
|
} catch (w) {
|
|
610
|
-
i = i ?? [], w instanceof
|
|
638
|
+
i = i ?? [], w instanceof gt ? i = Bt(Bt([], St(i)), St(w.errors)) : i.push(w);
|
|
611
639
|
}
|
|
612
640
|
}
|
|
613
641
|
} catch (w) {
|
|
@@ -622,13 +650,13 @@ var lt = function() {
|
|
|
622
650
|
}
|
|
623
651
|
}
|
|
624
652
|
if (i)
|
|
625
|
-
throw new
|
|
653
|
+
throw new gt(i);
|
|
626
654
|
}
|
|
627
655
|
}, e.prototype.add = function(t) {
|
|
628
656
|
var r;
|
|
629
657
|
if (t && t !== this)
|
|
630
658
|
if (this.closed)
|
|
631
|
-
|
|
659
|
+
Vt(t);
|
|
632
660
|
else {
|
|
633
661
|
if (t instanceof e) {
|
|
634
662
|
if (t.closed || t._hasParent(this))
|
|
@@ -645,52 +673,52 @@ var lt = function() {
|
|
|
645
673
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
646
674
|
}, e.prototype._removeParent = function(t) {
|
|
647
675
|
var r = this._parentage;
|
|
648
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
676
|
+
r === t ? this._parentage = null : Array.isArray(r) && At(r, t);
|
|
649
677
|
}, e.prototype.remove = function(t) {
|
|
650
678
|
var r = this._finalizers;
|
|
651
|
-
r &&
|
|
679
|
+
r && At(r, t), t instanceof e && t._removeParent(this);
|
|
652
680
|
}, e.EMPTY = function() {
|
|
653
681
|
var t = new e();
|
|
654
682
|
return t.closed = !0, t;
|
|
655
683
|
}(), e;
|
|
656
|
-
}(),
|
|
657
|
-
function
|
|
658
|
-
return e instanceof
|
|
684
|
+
}(), _r = ut.EMPTY;
|
|
685
|
+
function Pr(e) {
|
|
686
|
+
return e instanceof ut || e && "closed" in e && le(e.remove) && le(e.add) && le(e.unsubscribe);
|
|
659
687
|
}
|
|
660
|
-
function
|
|
661
|
-
|
|
688
|
+
function Vt(e) {
|
|
689
|
+
le(e) ? e() : e.unsubscribe();
|
|
662
690
|
}
|
|
663
|
-
var
|
|
691
|
+
var Tn = {
|
|
664
692
|
Promise: void 0
|
|
665
|
-
},
|
|
693
|
+
}, Cn = {
|
|
666
694
|
setTimeout: function(e, t) {
|
|
667
695
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
668
696
|
r[n - 2] = arguments[n];
|
|
669
|
-
return setTimeout.apply(void 0,
|
|
697
|
+
return setTimeout.apply(void 0, Bt([e, t], St(r)));
|
|
670
698
|
},
|
|
671
699
|
clearTimeout: function(e) {
|
|
672
700
|
return clearTimeout(e);
|
|
673
701
|
},
|
|
674
702
|
delegate: void 0
|
|
675
703
|
};
|
|
676
|
-
function
|
|
677
|
-
|
|
704
|
+
function Sn(e) {
|
|
705
|
+
Cn.setTimeout(function() {
|
|
678
706
|
throw e;
|
|
679
707
|
});
|
|
680
708
|
}
|
|
681
|
-
function
|
|
709
|
+
function zt() {
|
|
682
710
|
}
|
|
683
|
-
function
|
|
711
|
+
function nt(e) {
|
|
684
712
|
e();
|
|
685
713
|
}
|
|
686
|
-
var
|
|
714
|
+
var Er = function(e) {
|
|
687
715
|
We(t, e);
|
|
688
716
|
function t(r) {
|
|
689
717
|
var n = e.call(this) || this;
|
|
690
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
718
|
+
return n.isStopped = !1, r ? (n.destination = r, Pr(r) && r.add(n)) : n.destination = Hn, n;
|
|
691
719
|
}
|
|
692
720
|
return t.create = function(r, n, s) {
|
|
693
|
-
return new
|
|
721
|
+
return new Ht(r, n, s);
|
|
694
722
|
}, t.prototype.next = function(r) {
|
|
695
723
|
this.isStopped || this._next(r);
|
|
696
724
|
}, t.prototype.error = function(r) {
|
|
@@ -714,7 +742,7 @@ var Pr = function(e) {
|
|
|
714
742
|
this.unsubscribe();
|
|
715
743
|
}
|
|
716
744
|
}, t;
|
|
717
|
-
}(
|
|
745
|
+
}(ut), Bn = function() {
|
|
718
746
|
function e(t) {
|
|
719
747
|
this.partialObserver = t;
|
|
720
748
|
}
|
|
@@ -724,7 +752,7 @@ var Pr = function(e) {
|
|
|
724
752
|
try {
|
|
725
753
|
r.next(t);
|
|
726
754
|
} catch (n) {
|
|
727
|
-
|
|
755
|
+
et(n);
|
|
728
756
|
}
|
|
729
757
|
}, e.prototype.error = function(t) {
|
|
730
758
|
var r = this.partialObserver;
|
|
@@ -732,56 +760,56 @@ var Pr = function(e) {
|
|
|
732
760
|
try {
|
|
733
761
|
r.error(t);
|
|
734
762
|
} catch (n) {
|
|
735
|
-
|
|
763
|
+
et(n);
|
|
736
764
|
}
|
|
737
765
|
else
|
|
738
|
-
|
|
766
|
+
et(t);
|
|
739
767
|
}, e.prototype.complete = function() {
|
|
740
768
|
var t = this.partialObserver;
|
|
741
769
|
if (t.complete)
|
|
742
770
|
try {
|
|
743
771
|
t.complete();
|
|
744
772
|
} catch (r) {
|
|
745
|
-
|
|
773
|
+
et(r);
|
|
746
774
|
}
|
|
747
775
|
}, e;
|
|
748
|
-
}(),
|
|
776
|
+
}(), Ht = function(e) {
|
|
749
777
|
We(t, e);
|
|
750
778
|
function t(r, n, s) {
|
|
751
|
-
var i = e.call(this) || this,
|
|
752
|
-
return
|
|
779
|
+
var i = e.call(this) || this, o;
|
|
780
|
+
return le(r) || !r ? o = {
|
|
753
781
|
next: r ?? void 0,
|
|
754
782
|
error: n ?? void 0,
|
|
755
783
|
complete: s ?? void 0
|
|
756
|
-
} :
|
|
784
|
+
} : o = r, i.destination = new Bn(o), i;
|
|
757
785
|
}
|
|
758
786
|
return t;
|
|
759
|
-
}(
|
|
760
|
-
function
|
|
761
|
-
|
|
787
|
+
}(Er);
|
|
788
|
+
function et(e) {
|
|
789
|
+
Sn(e);
|
|
762
790
|
}
|
|
763
|
-
function
|
|
791
|
+
function An(e) {
|
|
764
792
|
throw e;
|
|
765
793
|
}
|
|
766
|
-
var
|
|
794
|
+
var Hn = {
|
|
767
795
|
closed: !0,
|
|
768
|
-
next:
|
|
769
|
-
error:
|
|
770
|
-
complete:
|
|
771
|
-
},
|
|
796
|
+
next: zt,
|
|
797
|
+
error: An,
|
|
798
|
+
complete: zt
|
|
799
|
+
}, In = function() {
|
|
772
800
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
773
801
|
}();
|
|
774
|
-
function
|
|
802
|
+
function Mn(e) {
|
|
775
803
|
return e;
|
|
776
804
|
}
|
|
777
|
-
function
|
|
778
|
-
return e.length === 0 ?
|
|
805
|
+
function Nn(e) {
|
|
806
|
+
return e.length === 0 ? Mn : e.length === 1 ? e[0] : function(r) {
|
|
779
807
|
return e.reduce(function(n, s) {
|
|
780
808
|
return s(n);
|
|
781
809
|
}, r);
|
|
782
810
|
};
|
|
783
811
|
}
|
|
784
|
-
var
|
|
812
|
+
var Wt = function() {
|
|
785
813
|
function e(t) {
|
|
786
814
|
t && (this._subscribe = t);
|
|
787
815
|
}
|
|
@@ -789,9 +817,9 @@ var zt = function() {
|
|
|
789
817
|
var r = new e();
|
|
790
818
|
return r.source = this, r.operator = t, r;
|
|
791
819
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
792
|
-
var s = this, i =
|
|
793
|
-
return
|
|
794
|
-
var
|
|
820
|
+
var s = this, i = Rn(t) ? t : new Ht(t, r, n);
|
|
821
|
+
return nt(function() {
|
|
822
|
+
var o = s, l = o.operator, u = o.source;
|
|
795
823
|
i.add(l ? l.call(i, u) : u ? s._subscribe(i) : s._trySubscribe(i));
|
|
796
824
|
}), i;
|
|
797
825
|
}, e.prototype._trySubscribe = function(t) {
|
|
@@ -802,37 +830,37 @@ var zt = function() {
|
|
|
802
830
|
}
|
|
803
831
|
}, e.prototype.forEach = function(t, r) {
|
|
804
832
|
var n = this;
|
|
805
|
-
return r =
|
|
806
|
-
var
|
|
833
|
+
return r = Xt(r), new r(function(s, i) {
|
|
834
|
+
var o = new Ht({
|
|
807
835
|
next: function(l) {
|
|
808
836
|
try {
|
|
809
837
|
t(l);
|
|
810
838
|
} catch (u) {
|
|
811
|
-
i(u),
|
|
839
|
+
i(u), o.unsubscribe();
|
|
812
840
|
}
|
|
813
841
|
},
|
|
814
842
|
error: i,
|
|
815
843
|
complete: s
|
|
816
844
|
});
|
|
817
|
-
n.subscribe(
|
|
845
|
+
n.subscribe(o);
|
|
818
846
|
});
|
|
819
847
|
}, e.prototype._subscribe = function(t) {
|
|
820
848
|
var r;
|
|
821
849
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
822
|
-
}, e.prototype[
|
|
850
|
+
}, e.prototype[In] = function() {
|
|
823
851
|
return this;
|
|
824
852
|
}, e.prototype.pipe = function() {
|
|
825
853
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
826
854
|
t[r] = arguments[r];
|
|
827
|
-
return
|
|
855
|
+
return Nn(t)(this);
|
|
828
856
|
}, e.prototype.toPromise = function(t) {
|
|
829
857
|
var r = this;
|
|
830
|
-
return t =
|
|
858
|
+
return t = Xt(t), new t(function(n, s) {
|
|
831
859
|
var i;
|
|
832
|
-
r.subscribe(function(
|
|
833
|
-
return i =
|
|
834
|
-
}, function(
|
|
835
|
-
return s(
|
|
860
|
+
r.subscribe(function(o) {
|
|
861
|
+
return i = o;
|
|
862
|
+
}, function(o) {
|
|
863
|
+
return s(o);
|
|
836
864
|
}, function() {
|
|
837
865
|
return n(i);
|
|
838
866
|
});
|
|
@@ -841,40 +869,40 @@ var zt = function() {
|
|
|
841
869
|
return new e(t);
|
|
842
870
|
}, e;
|
|
843
871
|
}();
|
|
844
|
-
function
|
|
872
|
+
function Xt(e) {
|
|
845
873
|
var t;
|
|
846
|
-
return (t = e ??
|
|
874
|
+
return (t = e ?? Tn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
847
875
|
}
|
|
848
|
-
function
|
|
849
|
-
return e &&
|
|
876
|
+
function On(e) {
|
|
877
|
+
return e && le(e.next) && le(e.error) && le(e.complete);
|
|
850
878
|
}
|
|
851
|
-
function
|
|
852
|
-
return e && e instanceof
|
|
879
|
+
function Rn(e) {
|
|
880
|
+
return e && e instanceof Er || On(e) && Pr(e);
|
|
853
881
|
}
|
|
854
|
-
var
|
|
882
|
+
var Ln = yr(function(e) {
|
|
855
883
|
return function() {
|
|
856
884
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
857
885
|
};
|
|
858
|
-
}),
|
|
886
|
+
}), xr = function(e) {
|
|
859
887
|
We(t, e);
|
|
860
888
|
function t() {
|
|
861
889
|
var r = e.call(this) || this;
|
|
862
890
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
863
891
|
}
|
|
864
892
|
return t.prototype.lift = function(r) {
|
|
865
|
-
var n = new
|
|
893
|
+
var n = new Zt(this, this);
|
|
866
894
|
return n.operator = r, n;
|
|
867
895
|
}, t.prototype._throwIfClosed = function() {
|
|
868
896
|
if (this.closed)
|
|
869
|
-
throw new
|
|
897
|
+
throw new Ln();
|
|
870
898
|
}, t.prototype.next = function(r) {
|
|
871
899
|
var n = this;
|
|
872
|
-
|
|
900
|
+
nt(function() {
|
|
873
901
|
var s, i;
|
|
874
902
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
875
903
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
876
904
|
try {
|
|
877
|
-
for (var
|
|
905
|
+
for (var o = Ct(n.currentObservers), l = o.next(); !l.done; l = o.next()) {
|
|
878
906
|
var u = l.value;
|
|
879
907
|
u.next(r);
|
|
880
908
|
}
|
|
@@ -882,7 +910,7 @@ var Nn = vr(function(e) {
|
|
|
882
910
|
s = { error: h };
|
|
883
911
|
} finally {
|
|
884
912
|
try {
|
|
885
|
-
l && !l.done && (i =
|
|
913
|
+
l && !l.done && (i = o.return) && i.call(o);
|
|
886
914
|
} finally {
|
|
887
915
|
if (s)
|
|
888
916
|
throw s.error;
|
|
@@ -892,7 +920,7 @@ var Nn = vr(function(e) {
|
|
|
892
920
|
});
|
|
893
921
|
}, t.prototype.error = function(r) {
|
|
894
922
|
var n = this;
|
|
895
|
-
|
|
923
|
+
nt(function() {
|
|
896
924
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
897
925
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
898
926
|
for (var s = n.observers; s.length; )
|
|
@@ -901,7 +929,7 @@ var Nn = vr(function(e) {
|
|
|
901
929
|
});
|
|
902
930
|
}, t.prototype.complete = function() {
|
|
903
931
|
var r = this;
|
|
904
|
-
|
|
932
|
+
nt(function() {
|
|
905
933
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
906
934
|
r.isStopped = !0;
|
|
907
935
|
for (var n = r.observers; n.length; )
|
|
@@ -922,20 +950,20 @@ var Nn = vr(function(e) {
|
|
|
922
950
|
}, t.prototype._subscribe = function(r) {
|
|
923
951
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
924
952
|
}, t.prototype._innerSubscribe = function(r) {
|
|
925
|
-
var n = this, s = this, i = s.hasError,
|
|
926
|
-
return i ||
|
|
927
|
-
n.currentObservers = null,
|
|
953
|
+
var n = this, s = this, i = s.hasError, o = s.isStopped, l = s.observers;
|
|
954
|
+
return i || o ? _r : (this.currentObservers = null, l.push(r), new ut(function() {
|
|
955
|
+
n.currentObservers = null, At(l, r);
|
|
928
956
|
}));
|
|
929
957
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
930
|
-
var n = this, s = n.hasError, i = n.thrownError,
|
|
931
|
-
s ? r.error(i) :
|
|
958
|
+
var n = this, s = n.hasError, i = n.thrownError, o = n.isStopped;
|
|
959
|
+
s ? r.error(i) : o && r.complete();
|
|
932
960
|
}, t.prototype.asObservable = function() {
|
|
933
|
-
var r = new
|
|
961
|
+
var r = new Wt();
|
|
934
962
|
return r.source = this, r;
|
|
935
963
|
}, t.create = function(r, n) {
|
|
936
|
-
return new
|
|
964
|
+
return new Zt(r, n);
|
|
937
965
|
}, t;
|
|
938
|
-
}(
|
|
966
|
+
}(Wt), Zt = function(e) {
|
|
939
967
|
We(t, e);
|
|
940
968
|
function t(r, n) {
|
|
941
969
|
var s = e.call(this) || this;
|
|
@@ -952,54 +980,54 @@ var Nn = vr(function(e) {
|
|
|
952
980
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
953
981
|
}, t.prototype._subscribe = function(r) {
|
|
954
982
|
var n, s;
|
|
955
|
-
return (s = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && s !== void 0 ? s :
|
|
983
|
+
return (s = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && s !== void 0 ? s : _r;
|
|
956
984
|
}, t;
|
|
957
|
-
}(
|
|
985
|
+
}(xr), Tr = {
|
|
958
986
|
now: function() {
|
|
959
|
-
return (
|
|
987
|
+
return (Tr.delegate || Date).now();
|
|
960
988
|
},
|
|
961
989
|
delegate: void 0
|
|
962
|
-
},
|
|
990
|
+
}, Fn = function(e) {
|
|
963
991
|
We(t, e);
|
|
964
992
|
function t(r, n, s) {
|
|
965
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), s === void 0 && (s =
|
|
993
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), s === void 0 && (s = Tr);
|
|
966
994
|
var i = e.call(this) || this;
|
|
967
995
|
return i._bufferSize = r, i._windowTime = n, i._timestampProvider = s, i._buffer = [], i._infiniteTimeWindow = !0, i._infiniteTimeWindow = n === 1 / 0, i._bufferSize = Math.max(1, r), i._windowTime = Math.max(1, n), i;
|
|
968
996
|
}
|
|
969
997
|
return t.prototype.next = function(r) {
|
|
970
|
-
var n = this, s = n.isStopped, i = n._buffer,
|
|
971
|
-
s || (i.push(r), !
|
|
998
|
+
var n = this, s = n.isStopped, i = n._buffer, o = n._infiniteTimeWindow, l = n._timestampProvider, u = n._windowTime;
|
|
999
|
+
s || (i.push(r), !o && i.push(l.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
972
1000
|
}, t.prototype._subscribe = function(r) {
|
|
973
1001
|
this._throwIfClosed(), this._trimBuffer();
|
|
974
|
-
for (var n = this._innerSubscribe(r), s = this, i = s._infiniteTimeWindow,
|
|
1002
|
+
for (var n = this._innerSubscribe(r), s = this, i = s._infiniteTimeWindow, o = s._buffer, l = o.slice(), u = 0; u < l.length && !r.closed; u += i ? 1 : 2)
|
|
975
1003
|
r.next(l[u]);
|
|
976
1004
|
return this._checkFinalizedStatuses(r), n;
|
|
977
1005
|
}, t.prototype._trimBuffer = function() {
|
|
978
|
-
var r = this, n = r._bufferSize, s = r._timestampProvider, i = r._buffer,
|
|
979
|
-
if (n < 1 / 0 && l < i.length && i.splice(0, i.length - l), !
|
|
1006
|
+
var r = this, n = r._bufferSize, s = r._timestampProvider, i = r._buffer, o = r._infiniteTimeWindow, l = (o ? 1 : 2) * n;
|
|
1007
|
+
if (n < 1 / 0 && l < i.length && i.splice(0, i.length - l), !o) {
|
|
980
1008
|
for (var u = s.now(), h = 0, c = 1; c < i.length && i[c] <= u; c += 2)
|
|
981
1009
|
h = c;
|
|
982
1010
|
h && i.splice(0, h + 1);
|
|
983
1011
|
}
|
|
984
1012
|
}, t;
|
|
985
|
-
}(
|
|
986
|
-
const
|
|
987
|
-
if (
|
|
988
|
-
const r = new
|
|
989
|
-
|
|
1013
|
+
}(xr);
|
|
1014
|
+
const Yt = [], Qt = {}, kn = (e, t = 0) => {
|
|
1015
|
+
if (Yt.indexOf(e) == -1) {
|
|
1016
|
+
const r = new Fn(t);
|
|
1017
|
+
Qt[e] = r, Yt.push(e);
|
|
990
1018
|
}
|
|
991
|
-
return
|
|
1019
|
+
return Qt[e];
|
|
992
1020
|
}, xe = [];
|
|
993
|
-
function
|
|
1021
|
+
function Dn(e, t) {
|
|
994
1022
|
return {
|
|
995
|
-
subscribe:
|
|
1023
|
+
subscribe: ht(e, t).subscribe
|
|
996
1024
|
};
|
|
997
1025
|
}
|
|
998
|
-
function
|
|
1026
|
+
function ht(e, t = ne) {
|
|
999
1027
|
let r;
|
|
1000
1028
|
const n = /* @__PURE__ */ new Set();
|
|
1001
1029
|
function s(l) {
|
|
1002
|
-
if (
|
|
1030
|
+
if (gr(e, l) && (e = l, r)) {
|
|
1003
1031
|
const u = !xe.length;
|
|
1004
1032
|
for (const h of n)
|
|
1005
1033
|
h[1](), xe.push(h, e);
|
|
@@ -1013,31 +1041,31 @@ function ut(e, t = te) {
|
|
|
1013
1041
|
function i(l) {
|
|
1014
1042
|
s(l(e));
|
|
1015
1043
|
}
|
|
1016
|
-
function
|
|
1044
|
+
function o(l, u = ne) {
|
|
1017
1045
|
const h = [l, u];
|
|
1018
|
-
return n.add(h), n.size === 1 && (r = t(s, i) ||
|
|
1046
|
+
return n.add(h), n.size === 1 && (r = t(s, i) || ne), l(e), () => {
|
|
1019
1047
|
n.delete(h), n.size === 0 && r && (r(), r = null);
|
|
1020
1048
|
};
|
|
1021
1049
|
}
|
|
1022
|
-
return { set: s, update: i, subscribe:
|
|
1050
|
+
return { set: s, update: i, subscribe: o };
|
|
1023
1051
|
}
|
|
1024
|
-
function
|
|
1052
|
+
function Re(e, t, r) {
|
|
1025
1053
|
const n = !Array.isArray(e), s = n ? [e] : e;
|
|
1026
1054
|
if (!s.every(Boolean))
|
|
1027
1055
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1028
1056
|
const i = t.length < 2;
|
|
1029
|
-
return
|
|
1057
|
+
return Dn(r, (o, l) => {
|
|
1030
1058
|
let u = !1;
|
|
1031
1059
|
const h = [];
|
|
1032
|
-
let c = 0, f =
|
|
1060
|
+
let c = 0, f = ne;
|
|
1033
1061
|
const p = () => {
|
|
1034
1062
|
if (c)
|
|
1035
1063
|
return;
|
|
1036
1064
|
f();
|
|
1037
|
-
const v = t(n ? h[0] : h,
|
|
1038
|
-
i ?
|
|
1065
|
+
const v = t(n ? h[0] : h, o, l);
|
|
1066
|
+
i ? o(v) : f = Be(v) ? v : ne;
|
|
1039
1067
|
}, m = s.map(
|
|
1040
|
-
(v, w) =>
|
|
1068
|
+
(v, w) => br(
|
|
1041
1069
|
v,
|
|
1042
1070
|
(C) => {
|
|
1043
1071
|
h[w] = C, c &= ~(1 << w), u && p();
|
|
@@ -1048,112 +1076,112 @@ function Oe(e, t, r) {
|
|
|
1048
1076
|
)
|
|
1049
1077
|
);
|
|
1050
1078
|
return u = !0, p(), function() {
|
|
1051
|
-
|
|
1079
|
+
Oe(m), f(), u = !1;
|
|
1052
1080
|
};
|
|
1053
1081
|
});
|
|
1054
1082
|
}
|
|
1055
|
-
function
|
|
1083
|
+
function Un(e) {
|
|
1056
1084
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1057
1085
|
}
|
|
1058
|
-
var
|
|
1059
|
-
return
|
|
1086
|
+
var $n = function(t) {
|
|
1087
|
+
return Gn(t) && !jn(t);
|
|
1060
1088
|
};
|
|
1061
|
-
function
|
|
1089
|
+
function Gn(e) {
|
|
1062
1090
|
return !!e && typeof e == "object";
|
|
1063
1091
|
}
|
|
1064
|
-
function
|
|
1092
|
+
function jn(e) {
|
|
1065
1093
|
var t = Object.prototype.toString.call(e);
|
|
1066
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1094
|
+
return t === "[object RegExp]" || t === "[object Date]" || Wn(e);
|
|
1067
1095
|
}
|
|
1068
|
-
var
|
|
1069
|
-
function
|
|
1070
|
-
return e.$$typeof ===
|
|
1096
|
+
var Vn = typeof Symbol == "function" && Symbol.for, zn = Vn ? Symbol.for("react.element") : 60103;
|
|
1097
|
+
function Wn(e) {
|
|
1098
|
+
return e.$$typeof === zn;
|
|
1071
1099
|
}
|
|
1072
|
-
function
|
|
1100
|
+
function Xn(e) {
|
|
1073
1101
|
return Array.isArray(e) ? [] : {};
|
|
1074
1102
|
}
|
|
1075
1103
|
function Ve(e, t) {
|
|
1076
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1104
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? He(Xn(e), e, t) : e;
|
|
1077
1105
|
}
|
|
1078
|
-
function
|
|
1106
|
+
function Zn(e, t, r) {
|
|
1079
1107
|
return e.concat(t).map(function(n) {
|
|
1080
1108
|
return Ve(n, r);
|
|
1081
1109
|
});
|
|
1082
1110
|
}
|
|
1083
|
-
function
|
|
1111
|
+
function Yn(e, t) {
|
|
1084
1112
|
if (!t.customMerge)
|
|
1085
|
-
return
|
|
1113
|
+
return He;
|
|
1086
1114
|
var r = t.customMerge(e);
|
|
1087
|
-
return typeof r == "function" ? r :
|
|
1115
|
+
return typeof r == "function" ? r : He;
|
|
1088
1116
|
}
|
|
1089
|
-
function
|
|
1117
|
+
function Qn(e) {
|
|
1090
1118
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1091
1119
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1092
1120
|
}) : [];
|
|
1093
1121
|
}
|
|
1094
|
-
function
|
|
1095
|
-
return Object.keys(e).concat(
|
|
1122
|
+
function Jt(e) {
|
|
1123
|
+
return Object.keys(e).concat(Qn(e));
|
|
1096
1124
|
}
|
|
1097
|
-
function
|
|
1125
|
+
function Cr(e, t) {
|
|
1098
1126
|
try {
|
|
1099
1127
|
return t in e;
|
|
1100
1128
|
} catch {
|
|
1101
1129
|
return !1;
|
|
1102
1130
|
}
|
|
1103
1131
|
}
|
|
1104
|
-
function
|
|
1105
|
-
return
|
|
1132
|
+
function Jn(e, t) {
|
|
1133
|
+
return Cr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1106
1134
|
}
|
|
1107
|
-
function
|
|
1135
|
+
function qn(e, t, r) {
|
|
1108
1136
|
var n = {};
|
|
1109
|
-
return r.isMergeableObject(e) &&
|
|
1137
|
+
return r.isMergeableObject(e) && Jt(e).forEach(function(s) {
|
|
1110
1138
|
n[s] = Ve(e[s], r);
|
|
1111
|
-
}),
|
|
1112
|
-
|
|
1139
|
+
}), Jt(t).forEach(function(s) {
|
|
1140
|
+
Jn(e, s) || (Cr(e, s) && r.isMergeableObject(t[s]) ? n[s] = Yn(s, r)(e[s], t[s], r) : n[s] = Ve(t[s], r));
|
|
1113
1141
|
}), n;
|
|
1114
1142
|
}
|
|
1115
|
-
function
|
|
1116
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1143
|
+
function He(e, t, r) {
|
|
1144
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Zn, r.isMergeableObject = r.isMergeableObject || $n, r.cloneUnlessOtherwiseSpecified = Ve;
|
|
1117
1145
|
var n = Array.isArray(t), s = Array.isArray(e), i = n === s;
|
|
1118
|
-
return i ? n ? r.arrayMerge(e, t, r) :
|
|
1146
|
+
return i ? n ? r.arrayMerge(e, t, r) : qn(e, t, r) : Ve(t, r);
|
|
1119
1147
|
}
|
|
1120
|
-
|
|
1148
|
+
He.all = function(t, r) {
|
|
1121
1149
|
if (!Array.isArray(t))
|
|
1122
1150
|
throw new Error("first argument should be an array");
|
|
1123
1151
|
return t.reduce(function(n, s) {
|
|
1124
|
-
return
|
|
1152
|
+
return He(n, s, r);
|
|
1125
1153
|
}, {});
|
|
1126
1154
|
};
|
|
1127
|
-
var
|
|
1128
|
-
const
|
|
1129
|
-
var
|
|
1130
|
-
return
|
|
1155
|
+
var Kn = He, es = Kn;
|
|
1156
|
+
const ts = /* @__PURE__ */ Un(es);
|
|
1157
|
+
var It = function(e, t) {
|
|
1158
|
+
return It = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1131
1159
|
r.__proto__ = n;
|
|
1132
1160
|
} || function(r, n) {
|
|
1133
1161
|
for (var s in n)
|
|
1134
1162
|
Object.prototype.hasOwnProperty.call(n, s) && (r[s] = n[s]);
|
|
1135
|
-
},
|
|
1163
|
+
}, It(e, t);
|
|
1136
1164
|
};
|
|
1137
|
-
function
|
|
1165
|
+
function ct(e, t) {
|
|
1138
1166
|
if (typeof t != "function" && t !== null)
|
|
1139
1167
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1140
|
-
|
|
1168
|
+
It(e, t);
|
|
1141
1169
|
function r() {
|
|
1142
1170
|
this.constructor = e;
|
|
1143
1171
|
}
|
|
1144
1172
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1145
1173
|
}
|
|
1146
|
-
var
|
|
1147
|
-
return
|
|
1174
|
+
var ie = function() {
|
|
1175
|
+
return ie = Object.assign || function(t) {
|
|
1148
1176
|
for (var r, n = 1, s = arguments.length; n < s; n++) {
|
|
1149
1177
|
r = arguments[n];
|
|
1150
1178
|
for (var i in r)
|
|
1151
1179
|
Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
|
|
1152
1180
|
}
|
|
1153
1181
|
return t;
|
|
1154
|
-
},
|
|
1182
|
+
}, ie.apply(this, arguments);
|
|
1155
1183
|
};
|
|
1156
|
-
function
|
|
1184
|
+
function rs(e, t) {
|
|
1157
1185
|
var r = {};
|
|
1158
1186
|
for (var n in e)
|
|
1159
1187
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1162,43 +1190,43 @@ function Kn(e, t) {
|
|
|
1162
1190
|
t.indexOf(n[s]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[s]) && (r[n[s]] = e[n[s]]);
|
|
1163
1191
|
return r;
|
|
1164
1192
|
}
|
|
1165
|
-
function
|
|
1193
|
+
function bt(e, t, r) {
|
|
1166
1194
|
if (r || arguments.length === 2)
|
|
1167
1195
|
for (var n = 0, s = t.length, i; n < s; n++)
|
|
1168
1196
|
(i || !(n in t)) && (i || (i = Array.prototype.slice.call(t, 0, n)), i[n] = t[n]);
|
|
1169
1197
|
return e.concat(i || Array.prototype.slice.call(t));
|
|
1170
1198
|
}
|
|
1171
|
-
function
|
|
1172
|
-
var r = t && t.cache ? t.cache :
|
|
1199
|
+
function wt(e, t) {
|
|
1200
|
+
var r = t && t.cache ? t.cache : us, n = t && t.serializer ? t.serializer : as, s = t && t.strategy ? t.strategy : is;
|
|
1173
1201
|
return s(e, {
|
|
1174
1202
|
cache: r,
|
|
1175
1203
|
serializer: n
|
|
1176
1204
|
});
|
|
1177
1205
|
}
|
|
1178
|
-
function
|
|
1206
|
+
function ns(e) {
|
|
1179
1207
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1180
1208
|
}
|
|
1181
|
-
function
|
|
1182
|
-
var s =
|
|
1209
|
+
function ss(e, t, r, n) {
|
|
1210
|
+
var s = ns(n) ? n : r(n), i = t.get(s);
|
|
1183
1211
|
return typeof i > "u" && (i = e.call(this, n), t.set(s, i)), i;
|
|
1184
1212
|
}
|
|
1185
|
-
function
|
|
1213
|
+
function Sr(e, t, r) {
|
|
1186
1214
|
var n = Array.prototype.slice.call(arguments, 3), s = r(n), i = t.get(s);
|
|
1187
1215
|
return typeof i > "u" && (i = e.apply(this, n), t.set(s, i)), i;
|
|
1188
1216
|
}
|
|
1189
|
-
function
|
|
1217
|
+
function Br(e, t, r, n, s) {
|
|
1190
1218
|
return r.bind(t, e, n, s);
|
|
1191
1219
|
}
|
|
1192
|
-
function
|
|
1193
|
-
var r = e.length === 1 ?
|
|
1194
|
-
return
|
|
1220
|
+
function is(e, t) {
|
|
1221
|
+
var r = e.length === 1 ? ss : Sr;
|
|
1222
|
+
return Br(e, this, r, t.cache.create(), t.serializer);
|
|
1195
1223
|
}
|
|
1196
|
-
function
|
|
1197
|
-
return
|
|
1224
|
+
function os(e, t) {
|
|
1225
|
+
return Br(e, this, Sr, t.cache.create(), t.serializer);
|
|
1198
1226
|
}
|
|
1199
|
-
var
|
|
1227
|
+
var as = function() {
|
|
1200
1228
|
return JSON.stringify(arguments);
|
|
1201
|
-
},
|
|
1229
|
+
}, ls = (
|
|
1202
1230
|
/** @class */
|
|
1203
1231
|
function() {
|
|
1204
1232
|
function e() {
|
|
@@ -1210,71 +1238,71 @@ var ss = function() {
|
|
|
1210
1238
|
this.cache[t] = r;
|
|
1211
1239
|
}, e;
|
|
1212
1240
|
}()
|
|
1213
|
-
),
|
|
1241
|
+
), us = {
|
|
1214
1242
|
create: function() {
|
|
1215
|
-
return new
|
|
1243
|
+
return new ls();
|
|
1216
1244
|
}
|
|
1217
|
-
},
|
|
1218
|
-
variadic:
|
|
1219
|
-
},
|
|
1220
|
-
return
|
|
1245
|
+
}, vt = {
|
|
1246
|
+
variadic: os
|
|
1247
|
+
}, ot = function() {
|
|
1248
|
+
return ot = Object.assign || function(t) {
|
|
1221
1249
|
for (var r, n = 1, s = arguments.length; n < s; n++) {
|
|
1222
1250
|
r = arguments[n];
|
|
1223
1251
|
for (var i in r)
|
|
1224
1252
|
Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
|
|
1225
1253
|
}
|
|
1226
1254
|
return t;
|
|
1227
|
-
},
|
|
1255
|
+
}, ot.apply(this, arguments);
|
|
1228
1256
|
};
|
|
1229
|
-
var
|
|
1257
|
+
var x;
|
|
1230
1258
|
(function(e) {
|
|
1231
1259
|
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";
|
|
1232
|
-
})(
|
|
1233
|
-
var
|
|
1260
|
+
})(x || (x = {}));
|
|
1261
|
+
var N;
|
|
1234
1262
|
(function(e) {
|
|
1235
1263
|
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";
|
|
1236
|
-
})(
|
|
1237
|
-
var
|
|
1264
|
+
})(N || (N = {}));
|
|
1265
|
+
var Ie;
|
|
1238
1266
|
(function(e) {
|
|
1239
1267
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1240
|
-
})(
|
|
1241
|
-
function
|
|
1242
|
-
return e.type ===
|
|
1243
|
-
}
|
|
1244
|
-
function os(e) {
|
|
1245
|
-
return e.type === L.argument;
|
|
1268
|
+
})(Ie || (Ie = {}));
|
|
1269
|
+
function qt(e) {
|
|
1270
|
+
return e.type === N.literal;
|
|
1246
1271
|
}
|
|
1247
|
-
function
|
|
1248
|
-
return e.type ===
|
|
1272
|
+
function hs(e) {
|
|
1273
|
+
return e.type === N.argument;
|
|
1249
1274
|
}
|
|
1250
1275
|
function Ar(e) {
|
|
1251
|
-
return e.type ===
|
|
1276
|
+
return e.type === N.number;
|
|
1252
1277
|
}
|
|
1253
1278
|
function Hr(e) {
|
|
1254
|
-
return e.type ===
|
|
1279
|
+
return e.type === N.date;
|
|
1255
1280
|
}
|
|
1256
1281
|
function Ir(e) {
|
|
1257
|
-
return e.type ===
|
|
1282
|
+
return e.type === N.time;
|
|
1258
1283
|
}
|
|
1259
1284
|
function Mr(e) {
|
|
1260
|
-
return e.type ===
|
|
1261
|
-
}
|
|
1262
|
-
function ls(e) {
|
|
1263
|
-
return e.type === L.pound;
|
|
1285
|
+
return e.type === N.select;
|
|
1264
1286
|
}
|
|
1265
1287
|
function Nr(e) {
|
|
1266
|
-
return e.type ===
|
|
1288
|
+
return e.type === N.plural;
|
|
1289
|
+
}
|
|
1290
|
+
function cs(e) {
|
|
1291
|
+
return e.type === N.pound;
|
|
1267
1292
|
}
|
|
1268
1293
|
function Or(e) {
|
|
1269
|
-
return
|
|
1294
|
+
return e.type === N.tag;
|
|
1270
1295
|
}
|
|
1271
|
-
function
|
|
1272
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1296
|
+
function Rr(e) {
|
|
1297
|
+
return !!(e && typeof e == "object" && e.type === Ie.number);
|
|
1273
1298
|
}
|
|
1274
|
-
|
|
1275
|
-
|
|
1299
|
+
function Mt(e) {
|
|
1300
|
+
return !!(e && typeof e == "object" && e.type === Ie.dateTime);
|
|
1301
|
+
}
|
|
1302
|
+
var Lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, fs = /(?:[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;
|
|
1303
|
+
function ds(e) {
|
|
1276
1304
|
var t = {};
|
|
1277
|
-
return e.replace(
|
|
1305
|
+
return e.replace(fs, function(r) {
|
|
1278
1306
|
var n = r.length;
|
|
1279
1307
|
switch (r[0]) {
|
|
1280
1308
|
case "G":
|
|
@@ -1363,27 +1391,27 @@ function hs(e) {
|
|
|
1363
1391
|
return "";
|
|
1364
1392
|
}), t;
|
|
1365
1393
|
}
|
|
1366
|
-
var
|
|
1367
|
-
return
|
|
1394
|
+
var L = function() {
|
|
1395
|
+
return L = Object.assign || function(t) {
|
|
1368
1396
|
for (var r, n = 1, s = arguments.length; n < s; n++) {
|
|
1369
1397
|
r = arguments[n];
|
|
1370
1398
|
for (var i in r)
|
|
1371
1399
|
Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
|
|
1372
1400
|
}
|
|
1373
1401
|
return t;
|
|
1374
|
-
},
|
|
1402
|
+
}, L.apply(this, arguments);
|
|
1375
1403
|
};
|
|
1376
|
-
var
|
|
1377
|
-
function
|
|
1404
|
+
var ps = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1405
|
+
function ms(e) {
|
|
1378
1406
|
if (e.length === 0)
|
|
1379
1407
|
throw new Error("Number skeleton cannot be empty");
|
|
1380
|
-
for (var t = e.split(
|
|
1408
|
+
for (var t = e.split(ps).filter(function(p) {
|
|
1381
1409
|
return p.length > 0;
|
|
1382
1410
|
}), r = [], n = 0, s = t; n < s.length; n++) {
|
|
1383
|
-
var i = s[n],
|
|
1384
|
-
if (
|
|
1411
|
+
var i = s[n], o = i.split("/");
|
|
1412
|
+
if (o.length === 0)
|
|
1385
1413
|
throw new Error("Invalid number skeleton");
|
|
1386
|
-
for (var l =
|
|
1414
|
+
for (var l = o[0], u = o.slice(1), h = 0, c = u; h < c.length; h++) {
|
|
1387
1415
|
var f = c[h];
|
|
1388
1416
|
if (f.length === 0)
|
|
1389
1417
|
throw new Error("Invalid number skeleton");
|
|
@@ -1392,17 +1420,17 @@ function fs(e) {
|
|
|
1392
1420
|
}
|
|
1393
1421
|
return r;
|
|
1394
1422
|
}
|
|
1395
|
-
function
|
|
1423
|
+
function gs(e) {
|
|
1396
1424
|
return e.replace(/^(.*?)-/, "");
|
|
1397
1425
|
}
|
|
1398
|
-
var
|
|
1399
|
-
function
|
|
1426
|
+
var Kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Fr = /^(@+)?(\+|#+)?[rs]?$/g, bs = /(\*)(0+)|(#+)(0+)|(0+)/g, kr = /^(0+)$/;
|
|
1427
|
+
function er(e) {
|
|
1400
1428
|
var t = {};
|
|
1401
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1429
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Fr, function(r, n, s) {
|
|
1402
1430
|
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)), "";
|
|
1403
1431
|
}), t;
|
|
1404
1432
|
}
|
|
1405
|
-
function
|
|
1433
|
+
function Dr(e) {
|
|
1406
1434
|
switch (e) {
|
|
1407
1435
|
case "sign-auto":
|
|
1408
1436
|
return {
|
|
@@ -1442,7 +1470,7 @@ function kr(e) {
|
|
|
1442
1470
|
};
|
|
1443
1471
|
}
|
|
1444
1472
|
}
|
|
1445
|
-
function
|
|
1473
|
+
function ws(e) {
|
|
1446
1474
|
var t;
|
|
1447
1475
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1448
1476
|
notation: "engineering"
|
|
@@ -1450,17 +1478,17 @@ function ms(e) {
|
|
|
1450
1478
|
notation: "scientific"
|
|
1451
1479
|
}, e = e.slice(1)), t) {
|
|
1452
1480
|
var r = e.slice(0, 2);
|
|
1453
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1481
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !kr.test(e))
|
|
1454
1482
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1455
1483
|
t.minimumIntegerDigits = e.length;
|
|
1456
1484
|
}
|
|
1457
1485
|
return t;
|
|
1458
1486
|
}
|
|
1459
|
-
function
|
|
1460
|
-
var t = {}, r =
|
|
1487
|
+
function tr(e) {
|
|
1488
|
+
var t = {}, r = Dr(e);
|
|
1461
1489
|
return r || t;
|
|
1462
1490
|
}
|
|
1463
|
-
function
|
|
1491
|
+
function vs(e) {
|
|
1464
1492
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1465
1493
|
var s = n[r];
|
|
1466
1494
|
switch (s.stem) {
|
|
@@ -1484,7 +1512,7 @@ function gs(e) {
|
|
|
1484
1512
|
continue;
|
|
1485
1513
|
case "measure-unit":
|
|
1486
1514
|
case "unit":
|
|
1487
|
-
t.style = "unit", t.unit =
|
|
1515
|
+
t.style = "unit", t.unit = gs(s.options[0]);
|
|
1488
1516
|
continue;
|
|
1489
1517
|
case "compact-short":
|
|
1490
1518
|
case "K":
|
|
@@ -1495,13 +1523,13 @@ function gs(e) {
|
|
|
1495
1523
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1496
1524
|
continue;
|
|
1497
1525
|
case "scientific":
|
|
1498
|
-
t =
|
|
1499
|
-
return
|
|
1526
|
+
t = L(L(L({}, t), { notation: "scientific" }), s.options.reduce(function(u, h) {
|
|
1527
|
+
return L(L({}, u), tr(h));
|
|
1500
1528
|
}, {}));
|
|
1501
1529
|
continue;
|
|
1502
1530
|
case "engineering":
|
|
1503
|
-
t =
|
|
1504
|
-
return
|
|
1531
|
+
t = L(L(L({}, t), { notation: "engineering" }), s.options.reduce(function(u, h) {
|
|
1532
|
+
return L(L({}, u), tr(h));
|
|
1505
1533
|
}, {}));
|
|
1506
1534
|
continue;
|
|
1507
1535
|
case "notation-simple":
|
|
@@ -1546,7 +1574,7 @@ function gs(e) {
|
|
|
1546
1574
|
case "integer-width":
|
|
1547
1575
|
if (s.options.length > 1)
|
|
1548
1576
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1549
|
-
s.options[0].replace(
|
|
1577
|
+
s.options[0].replace(bs, function(u, h, c, f, p, m) {
|
|
1550
1578
|
if (h)
|
|
1551
1579
|
t.minimumIntegerDigits = c.length;
|
|
1552
1580
|
else {
|
|
@@ -1559,32 +1587,32 @@ function gs(e) {
|
|
|
1559
1587
|
});
|
|
1560
1588
|
continue;
|
|
1561
1589
|
}
|
|
1562
|
-
if (
|
|
1590
|
+
if (kr.test(s.stem)) {
|
|
1563
1591
|
t.minimumIntegerDigits = s.stem.length;
|
|
1564
1592
|
continue;
|
|
1565
1593
|
}
|
|
1566
|
-
if (
|
|
1594
|
+
if (Kt.test(s.stem)) {
|
|
1567
1595
|
if (s.options.length > 1)
|
|
1568
1596
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1569
|
-
s.stem.replace(
|
|
1597
|
+
s.stem.replace(Kt, function(u, h, c, f, p, m) {
|
|
1570
1598
|
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), "";
|
|
1571
1599
|
});
|
|
1572
1600
|
var i = s.options[0];
|
|
1573
|
-
i === "w" ? t =
|
|
1601
|
+
i === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : i && (t = L(L({}, t), er(i)));
|
|
1574
1602
|
continue;
|
|
1575
1603
|
}
|
|
1576
|
-
if (
|
|
1577
|
-
t =
|
|
1604
|
+
if (Fr.test(s.stem)) {
|
|
1605
|
+
t = L(L({}, t), er(s.stem));
|
|
1578
1606
|
continue;
|
|
1579
1607
|
}
|
|
1580
|
-
var
|
|
1581
|
-
|
|
1582
|
-
var l =
|
|
1583
|
-
l && (t =
|
|
1608
|
+
var o = Dr(s.stem);
|
|
1609
|
+
o && (t = L(L({}, t), o));
|
|
1610
|
+
var l = ws(s.stem);
|
|
1611
|
+
l && (t = L(L({}, t), l));
|
|
1584
1612
|
}
|
|
1585
1613
|
return t;
|
|
1586
1614
|
}
|
|
1587
|
-
var
|
|
1615
|
+
var tt = {
|
|
1588
1616
|
"001": [
|
|
1589
1617
|
"H",
|
|
1590
1618
|
"h"
|
|
@@ -2999,23 +3027,23 @@ var et = {
|
|
|
2999
3027
|
"h"
|
|
3000
3028
|
]
|
|
3001
3029
|
};
|
|
3002
|
-
function
|
|
3030
|
+
function ys(e, t) {
|
|
3003
3031
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3004
3032
|
var s = e.charAt(n);
|
|
3005
3033
|
if (s === "j") {
|
|
3006
3034
|
for (var i = 0; n + 1 < e.length && e.charAt(n + 1) === s; )
|
|
3007
3035
|
i++, n++;
|
|
3008
|
-
var
|
|
3036
|
+
var o = 1 + (i & 1), l = i < 2 ? 1 : 3 + (i >> 1), u = "a", h = _s(t);
|
|
3009
3037
|
for ((h == "H" || h == "k") && (l = 0); l-- > 0; )
|
|
3010
3038
|
r += u;
|
|
3011
|
-
for (;
|
|
3039
|
+
for (; o-- > 0; )
|
|
3012
3040
|
r = h + r;
|
|
3013
3041
|
} else
|
|
3014
3042
|
s === "J" ? r += "H" : r += s;
|
|
3015
3043
|
}
|
|
3016
3044
|
return r;
|
|
3017
3045
|
}
|
|
3018
|
-
function
|
|
3046
|
+
function _s(e) {
|
|
3019
3047
|
var t = e.hourCycle;
|
|
3020
3048
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3021
3049
|
e.hourCycles && // @ts-ignore
|
|
@@ -3034,23 +3062,23 @@ function ws(e) {
|
|
|
3034
3062
|
}
|
|
3035
3063
|
var r = e.language, n;
|
|
3036
3064
|
r !== "root" && (n = e.maximize().region);
|
|
3037
|
-
var s =
|
|
3065
|
+
var s = tt[n || ""] || tt[r || ""] || tt["".concat(r, "-001")] || tt["001"];
|
|
3038
3066
|
return s[0];
|
|
3039
3067
|
}
|
|
3040
|
-
var
|
|
3068
|
+
var yt, Ps = new RegExp("^".concat(Lr.source, "*")), Es = new RegExp("".concat(Lr.source, "*$"));
|
|
3041
3069
|
function T(e, t) {
|
|
3042
3070
|
return { start: e, end: t };
|
|
3043
3071
|
}
|
|
3044
|
-
var
|
|
3072
|
+
var xs = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ts = !!String.fromCodePoint, Cs = !!Object.fromEntries, Ss = !!String.prototype.codePointAt, Bs = !!String.prototype.trimStart, As = !!String.prototype.trimEnd, Hs = !!Number.isSafeInteger, Is = Hs ? Number.isSafeInteger : function(e) {
|
|
3045
3073
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3046
|
-
},
|
|
3074
|
+
}, Nt = !0;
|
|
3047
3075
|
try {
|
|
3048
|
-
var
|
|
3049
|
-
|
|
3076
|
+
var Ms = $r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3077
|
+
Nt = ((yt = Ms.exec("a")) === null || yt === void 0 ? void 0 : yt[0]) === "a";
|
|
3050
3078
|
} catch {
|
|
3051
|
-
|
|
3079
|
+
Nt = !1;
|
|
3052
3080
|
}
|
|
3053
|
-
var
|
|
3081
|
+
var rr = xs ? (
|
|
3054
3082
|
// Native
|
|
3055
3083
|
function(t, r, n) {
|
|
3056
3084
|
return t.startsWith(r, n);
|
|
@@ -3060,31 +3088,31 @@ var tr = _s ? (
|
|
|
3060
3088
|
function(t, r, n) {
|
|
3061
3089
|
return t.slice(n, n + r.length) === r;
|
|
3062
3090
|
}
|
|
3063
|
-
),
|
|
3091
|
+
), Ot = Ts ? String.fromCodePoint : (
|
|
3064
3092
|
// IE11
|
|
3065
3093
|
function() {
|
|
3066
3094
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
3067
3095
|
t[r] = arguments[r];
|
|
3068
|
-
for (var n = "", s = t.length, i = 0,
|
|
3069
|
-
if (
|
|
3070
|
-
throw RangeError(
|
|
3071
|
-
n +=
|
|
3096
|
+
for (var n = "", s = t.length, i = 0, o; s > i; ) {
|
|
3097
|
+
if (o = t[i++], o > 1114111)
|
|
3098
|
+
throw RangeError(o + " is not a valid code point");
|
|
3099
|
+
n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
|
|
3072
3100
|
}
|
|
3073
3101
|
return n;
|
|
3074
3102
|
}
|
|
3075
|
-
),
|
|
3103
|
+
), nr = (
|
|
3076
3104
|
// native
|
|
3077
|
-
|
|
3105
|
+
Cs ? Object.fromEntries : (
|
|
3078
3106
|
// Ponyfill
|
|
3079
3107
|
function(t) {
|
|
3080
3108
|
for (var r = {}, n = 0, s = t; n < s.length; n++) {
|
|
3081
|
-
var i = s[n],
|
|
3082
|
-
r[
|
|
3109
|
+
var i = s[n], o = i[0], l = i[1];
|
|
3110
|
+
r[o] = l;
|
|
3083
3111
|
}
|
|
3084
3112
|
return r;
|
|
3085
3113
|
}
|
|
3086
3114
|
)
|
|
3087
|
-
),
|
|
3115
|
+
), Ur = Ss ? (
|
|
3088
3116
|
// Native
|
|
3089
3117
|
function(t, r) {
|
|
3090
3118
|
return t.codePointAt(r);
|
|
@@ -3098,7 +3126,7 @@ var tr = _s ? (
|
|
|
3098
3126
|
return s < 55296 || s > 56319 || r + 1 === n || (i = t.charCodeAt(r + 1)) < 56320 || i > 57343 ? s : (s - 55296 << 10) + (i - 56320) + 65536;
|
|
3099
3127
|
}
|
|
3100
3128
|
}
|
|
3101
|
-
),
|
|
3129
|
+
), Ns = Bs ? (
|
|
3102
3130
|
// Native
|
|
3103
3131
|
function(t) {
|
|
3104
3132
|
return t.trimStart();
|
|
@@ -3106,9 +3134,9 @@ var tr = _s ? (
|
|
|
3106
3134
|
) : (
|
|
3107
3135
|
// Ponyfill
|
|
3108
3136
|
function(t) {
|
|
3109
|
-
return t.replace(
|
|
3137
|
+
return t.replace(Ps, "");
|
|
3110
3138
|
}
|
|
3111
|
-
),
|
|
3139
|
+
), Os = As ? (
|
|
3112
3140
|
// Native
|
|
3113
3141
|
function(t) {
|
|
3114
3142
|
return t.trimEnd();
|
|
@@ -3116,32 +3144,32 @@ var tr = _s ? (
|
|
|
3116
3144
|
) : (
|
|
3117
3145
|
// Ponyfill
|
|
3118
3146
|
function(t) {
|
|
3119
|
-
return t.replace(
|
|
3147
|
+
return t.replace(Es, "");
|
|
3120
3148
|
}
|
|
3121
3149
|
);
|
|
3122
|
-
function
|
|
3150
|
+
function $r(e, t) {
|
|
3123
3151
|
return new RegExp(e, t);
|
|
3124
3152
|
}
|
|
3125
|
-
var
|
|
3126
|
-
if (
|
|
3127
|
-
var
|
|
3128
|
-
|
|
3153
|
+
var Rt;
|
|
3154
|
+
if (Nt) {
|
|
3155
|
+
var sr = $r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3156
|
+
Rt = function(t, r) {
|
|
3129
3157
|
var n;
|
|
3130
|
-
|
|
3131
|
-
var s =
|
|
3158
|
+
sr.lastIndex = r;
|
|
3159
|
+
var s = sr.exec(t);
|
|
3132
3160
|
return (n = s[1]) !== null && n !== void 0 ? n : "";
|
|
3133
3161
|
};
|
|
3134
3162
|
} else
|
|
3135
|
-
|
|
3163
|
+
Rt = function(t, r) {
|
|
3136
3164
|
for (var n = []; ; ) {
|
|
3137
|
-
var s =
|
|
3138
|
-
if (s === void 0 ||
|
|
3165
|
+
var s = Ur(t, r);
|
|
3166
|
+
if (s === void 0 || Gr(s) || ks(s))
|
|
3139
3167
|
break;
|
|
3140
3168
|
n.push(s), r += s >= 65536 ? 2 : 1;
|
|
3141
3169
|
}
|
|
3142
|
-
return
|
|
3170
|
+
return Ot.apply(void 0, n);
|
|
3143
3171
|
};
|
|
3144
|
-
var
|
|
3172
|
+
var Rs = (
|
|
3145
3173
|
/** @class */
|
|
3146
3174
|
function() {
|
|
3147
3175
|
function e(t, r) {
|
|
@@ -3155,33 +3183,33 @@ var Ms = (
|
|
|
3155
3183
|
for (var s = []; !this.isEOF(); ) {
|
|
3156
3184
|
var i = this.char();
|
|
3157
3185
|
if (i === 123) {
|
|
3158
|
-
var
|
|
3159
|
-
if (
|
|
3160
|
-
return
|
|
3161
|
-
s.push(
|
|
3186
|
+
var o = this.parseArgument(t, n);
|
|
3187
|
+
if (o.err)
|
|
3188
|
+
return o;
|
|
3189
|
+
s.push(o.val);
|
|
3162
3190
|
} else {
|
|
3163
3191
|
if (i === 125 && t > 0)
|
|
3164
3192
|
break;
|
|
3165
3193
|
if (i === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3166
3194
|
var l = this.clonePosition();
|
|
3167
3195
|
this.bump(), s.push({
|
|
3168
|
-
type:
|
|
3196
|
+
type: N.pound,
|
|
3169
3197
|
location: T(l, this.clonePosition())
|
|
3170
3198
|
});
|
|
3171
3199
|
} else if (i === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3172
3200
|
if (n)
|
|
3173
3201
|
break;
|
|
3174
|
-
return this.error(
|
|
3175
|
-
} else if (i === 60 && !this.ignoreTag &&
|
|
3176
|
-
var
|
|
3177
|
-
if (
|
|
3178
|
-
return
|
|
3179
|
-
s.push(
|
|
3202
|
+
return this.error(x.UNMATCHED_CLOSING_TAG, T(this.clonePosition(), this.clonePosition()));
|
|
3203
|
+
} else if (i === 60 && !this.ignoreTag && Lt(this.peek() || 0)) {
|
|
3204
|
+
var o = this.parseTag(t, r);
|
|
3205
|
+
if (o.err)
|
|
3206
|
+
return o;
|
|
3207
|
+
s.push(o.val);
|
|
3180
3208
|
} else {
|
|
3181
|
-
var
|
|
3182
|
-
if (
|
|
3183
|
-
return
|
|
3184
|
-
s.push(
|
|
3209
|
+
var o = this.parseLiteral(t, r);
|
|
3210
|
+
if (o.err)
|
|
3211
|
+
return o;
|
|
3212
|
+
s.push(o.val);
|
|
3185
3213
|
}
|
|
3186
3214
|
}
|
|
3187
3215
|
}
|
|
@@ -3193,7 +3221,7 @@ var Ms = (
|
|
|
3193
3221
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3194
3222
|
return {
|
|
3195
3223
|
val: {
|
|
3196
|
-
type:
|
|
3224
|
+
type: N.literal,
|
|
3197
3225
|
value: "<".concat(s, "/>"),
|
|
3198
3226
|
location: T(n, this.clonePosition())
|
|
3199
3227
|
},
|
|
@@ -3203,27 +3231,27 @@ var Ms = (
|
|
|
3203
3231
|
var i = this.parseMessage(t + 1, r, !0);
|
|
3204
3232
|
if (i.err)
|
|
3205
3233
|
return i;
|
|
3206
|
-
var
|
|
3234
|
+
var o = i.val, l = this.clonePosition();
|
|
3207
3235
|
if (this.bumpIf("</")) {
|
|
3208
|
-
if (this.isEOF() || !
|
|
3209
|
-
return this.error(
|
|
3236
|
+
if (this.isEOF() || !Lt(this.char()))
|
|
3237
|
+
return this.error(x.INVALID_TAG, T(l, this.clonePosition()));
|
|
3210
3238
|
var u = this.clonePosition(), h = this.parseTagName();
|
|
3211
|
-
return s !== h ? this.error(
|
|
3239
|
+
return s !== h ? this.error(x.UNMATCHED_CLOSING_TAG, T(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3212
3240
|
val: {
|
|
3213
|
-
type:
|
|
3241
|
+
type: N.tag,
|
|
3214
3242
|
value: s,
|
|
3215
|
-
children:
|
|
3243
|
+
children: o,
|
|
3216
3244
|
location: T(n, this.clonePosition())
|
|
3217
3245
|
},
|
|
3218
3246
|
err: null
|
|
3219
|
-
} : this.error(
|
|
3247
|
+
} : this.error(x.INVALID_TAG, T(l, this.clonePosition())));
|
|
3220
3248
|
} else
|
|
3221
|
-
return this.error(
|
|
3249
|
+
return this.error(x.UNCLOSED_TAG, T(n, this.clonePosition()));
|
|
3222
3250
|
} else
|
|
3223
|
-
return this.error(
|
|
3251
|
+
return this.error(x.INVALID_TAG, T(n, this.clonePosition()));
|
|
3224
3252
|
}, e.prototype.parseTagName = function() {
|
|
3225
3253
|
var t = this.offset();
|
|
3226
|
-
for (this.bump(); !this.isEOF() &&
|
|
3254
|
+
for (this.bump(); !this.isEOF() && Fs(this.char()); )
|
|
3227
3255
|
this.bump();
|
|
3228
3256
|
return this.message.slice(t, this.offset());
|
|
3229
3257
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3233,9 +3261,9 @@ var Ms = (
|
|
|
3233
3261
|
s += i;
|
|
3234
3262
|
continue;
|
|
3235
3263
|
}
|
|
3236
|
-
var
|
|
3237
|
-
if (
|
|
3238
|
-
s +=
|
|
3264
|
+
var o = this.tryParseUnquoted(t, r);
|
|
3265
|
+
if (o) {
|
|
3266
|
+
s += o;
|
|
3239
3267
|
continue;
|
|
3240
3268
|
}
|
|
3241
3269
|
var l = this.tryParseLeftAngleBracket();
|
|
@@ -3247,12 +3275,12 @@ var Ms = (
|
|
|
3247
3275
|
}
|
|
3248
3276
|
var u = T(n, this.clonePosition());
|
|
3249
3277
|
return {
|
|
3250
|
-
val: { type:
|
|
3278
|
+
val: { type: N.literal, value: s, location: u },
|
|
3251
3279
|
err: null
|
|
3252
3280
|
};
|
|
3253
3281
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3254
3282
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3255
|
-
!
|
|
3283
|
+
!Ls(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3256
3284
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3257
3285
|
if (this.isEOF() || this.char() !== 39)
|
|
3258
3286
|
return null;
|
|
@@ -3286,28 +3314,28 @@ var Ms = (
|
|
|
3286
3314
|
r.push(n);
|
|
3287
3315
|
this.bump();
|
|
3288
3316
|
}
|
|
3289
|
-
return
|
|
3317
|
+
return Ot.apply(void 0, r);
|
|
3290
3318
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3291
3319
|
if (this.isEOF())
|
|
3292
3320
|
return null;
|
|
3293
3321
|
var n = this.char();
|
|
3294
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3322
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ot(n));
|
|
3295
3323
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3296
3324
|
var n = this.clonePosition();
|
|
3297
3325
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3298
|
-
return this.error(
|
|
3326
|
+
return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
|
|
3299
3327
|
if (this.char() === 125)
|
|
3300
|
-
return this.bump(), this.error(
|
|
3328
|
+
return this.bump(), this.error(x.EMPTY_ARGUMENT, T(n, this.clonePosition()));
|
|
3301
3329
|
var s = this.parseIdentifierIfPossible().value;
|
|
3302
3330
|
if (!s)
|
|
3303
|
-
return this.error(
|
|
3331
|
+
return this.error(x.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
|
|
3304
3332
|
if (this.bumpSpace(), this.isEOF())
|
|
3305
|
-
return this.error(
|
|
3333
|
+
return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
|
|
3306
3334
|
switch (this.char()) {
|
|
3307
3335
|
case 125:
|
|
3308
3336
|
return this.bump(), {
|
|
3309
3337
|
val: {
|
|
3310
|
-
type:
|
|
3338
|
+
type: N.argument,
|
|
3311
3339
|
// value does not include the opening and closing braces.
|
|
3312
3340
|
value: s,
|
|
3313
3341
|
location: T(n, this.clonePosition())
|
|
@@ -3315,20 +3343,20 @@ var Ms = (
|
|
|
3315
3343
|
err: null
|
|
3316
3344
|
};
|
|
3317
3345
|
case 44:
|
|
3318
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3346
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition())) : this.parseArgumentOptions(t, r, s, n);
|
|
3319
3347
|
default:
|
|
3320
|
-
return this.error(
|
|
3348
|
+
return this.error(x.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
|
|
3321
3349
|
}
|
|
3322
3350
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3323
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3351
|
+
var t = this.clonePosition(), r = this.offset(), n = Rt(this.message, r), s = r + n.length;
|
|
3324
3352
|
this.bumpTo(s);
|
|
3325
|
-
var i = this.clonePosition(),
|
|
3326
|
-
return { value: n, location:
|
|
3353
|
+
var i = this.clonePosition(), o = T(t, i);
|
|
3354
|
+
return { value: n, location: o };
|
|
3327
3355
|
}, e.prototype.parseArgumentOptions = function(t, r, n, s) {
|
|
3328
|
-
var i,
|
|
3356
|
+
var i, o = this.clonePosition(), l = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
3329
3357
|
switch (l) {
|
|
3330
3358
|
case "":
|
|
3331
|
-
return this.error(
|
|
3359
|
+
return this.error(x.EXPECT_ARGUMENT_TYPE, T(o, u));
|
|
3332
3360
|
case "number":
|
|
3333
3361
|
case "date":
|
|
3334
3362
|
case "time": {
|
|
@@ -3339,9 +3367,9 @@ var Ms = (
|
|
|
3339
3367
|
var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3340
3368
|
if (f.err)
|
|
3341
3369
|
return f;
|
|
3342
|
-
var p =
|
|
3370
|
+
var p = Os(f.val);
|
|
3343
3371
|
if (p.length === 0)
|
|
3344
|
-
return this.error(
|
|
3372
|
+
return this.error(x.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
|
|
3345
3373
|
var m = T(c, this.clonePosition());
|
|
3346
3374
|
h = { style: p, styleLocation: m };
|
|
3347
3375
|
}
|
|
@@ -3349,34 +3377,34 @@ var Ms = (
|
|
|
3349
3377
|
if (v.err)
|
|
3350
3378
|
return v;
|
|
3351
3379
|
var w = T(s, this.clonePosition());
|
|
3352
|
-
if (h &&
|
|
3353
|
-
var C =
|
|
3380
|
+
if (h && rr(h?.style, "::", 0)) {
|
|
3381
|
+
var C = Ns(h.style.slice(2));
|
|
3354
3382
|
if (l === "number") {
|
|
3355
3383
|
var f = this.parseNumberSkeletonFromString(C, h.styleLocation);
|
|
3356
3384
|
return f.err ? f : {
|
|
3357
|
-
val: { type:
|
|
3385
|
+
val: { type: N.number, value: n, location: w, style: f.val },
|
|
3358
3386
|
err: null
|
|
3359
3387
|
};
|
|
3360
3388
|
} else {
|
|
3361
3389
|
if (C.length === 0)
|
|
3362
|
-
return this.error(
|
|
3390
|
+
return this.error(x.EXPECT_DATE_TIME_SKELETON, w);
|
|
3363
3391
|
var y = C;
|
|
3364
|
-
this.locale && (y =
|
|
3392
|
+
this.locale && (y = ys(C, this.locale));
|
|
3365
3393
|
var p = {
|
|
3366
|
-
type:
|
|
3394
|
+
type: Ie.dateTime,
|
|
3367
3395
|
pattern: y,
|
|
3368
3396
|
location: h.styleLocation,
|
|
3369
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3370
|
-
},
|
|
3397
|
+
parsedOptions: this.shouldParseSkeletons ? ds(y) : {}
|
|
3398
|
+
}, A = l === "date" ? N.date : N.time;
|
|
3371
3399
|
return {
|
|
3372
|
-
val: { type:
|
|
3400
|
+
val: { type: A, value: n, location: w, style: p },
|
|
3373
3401
|
err: null
|
|
3374
3402
|
};
|
|
3375
3403
|
}
|
|
3376
3404
|
}
|
|
3377
3405
|
return {
|
|
3378
3406
|
val: {
|
|
3379
|
-
type: l === "number" ?
|
|
3407
|
+
type: l === "number" ? N.number : l === "date" ? N.date : N.time,
|
|
3380
3408
|
value: n,
|
|
3381
3409
|
location: w,
|
|
3382
3410
|
style: (i = h?.style) !== null && i !== void 0 ? i : null
|
|
@@ -3387,41 +3415,41 @@ var Ms = (
|
|
|
3387
3415
|
case "plural":
|
|
3388
3416
|
case "selectordinal":
|
|
3389
3417
|
case "select": {
|
|
3390
|
-
var
|
|
3418
|
+
var O = this.clonePosition();
|
|
3391
3419
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3392
|
-
return this.error(
|
|
3420
|
+
return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, T(O, ot({}, O)));
|
|
3393
3421
|
this.bumpSpace();
|
|
3394
|
-
var
|
|
3395
|
-
if (l !== "select" &&
|
|
3422
|
+
var k = this.parseIdentifierIfPossible(), D = 0;
|
|
3423
|
+
if (l !== "select" && k.value === "offset") {
|
|
3396
3424
|
if (!this.bumpIf(":"))
|
|
3397
|
-
return this.error(
|
|
3425
|
+
return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T(this.clonePosition(), this.clonePosition()));
|
|
3398
3426
|
this.bumpSpace();
|
|
3399
|
-
var f = this.tryParseDecimalInteger(
|
|
3427
|
+
var f = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3400
3428
|
if (f.err)
|
|
3401
3429
|
return f;
|
|
3402
|
-
this.bumpSpace(),
|
|
3430
|
+
this.bumpSpace(), k = this.parseIdentifierIfPossible(), D = f.val;
|
|
3403
3431
|
}
|
|
3404
|
-
var
|
|
3405
|
-
if (
|
|
3406
|
-
return
|
|
3432
|
+
var M = this.tryParsePluralOrSelectOptions(t, l, r, k);
|
|
3433
|
+
if (M.err)
|
|
3434
|
+
return M;
|
|
3407
3435
|
var v = this.tryParseArgumentClose(s);
|
|
3408
3436
|
if (v.err)
|
|
3409
3437
|
return v;
|
|
3410
3438
|
var X = T(s, this.clonePosition());
|
|
3411
3439
|
return l === "select" ? {
|
|
3412
3440
|
val: {
|
|
3413
|
-
type:
|
|
3441
|
+
type: N.select,
|
|
3414
3442
|
value: n,
|
|
3415
|
-
options:
|
|
3443
|
+
options: nr(M.val),
|
|
3416
3444
|
location: X
|
|
3417
3445
|
},
|
|
3418
3446
|
err: null
|
|
3419
3447
|
} : {
|
|
3420
3448
|
val: {
|
|
3421
|
-
type:
|
|
3449
|
+
type: N.plural,
|
|
3422
3450
|
value: n,
|
|
3423
|
-
options:
|
|
3424
|
-
offset:
|
|
3451
|
+
options: nr(M.val),
|
|
3452
|
+
offset: D,
|
|
3425
3453
|
pluralType: l === "plural" ? "cardinal" : "ordinal",
|
|
3426
3454
|
location: X
|
|
3427
3455
|
},
|
|
@@ -3429,10 +3457,10 @@ var Ms = (
|
|
|
3429
3457
|
};
|
|
3430
3458
|
}
|
|
3431
3459
|
default:
|
|
3432
|
-
return this.error(
|
|
3460
|
+
return this.error(x.INVALID_ARGUMENT_TYPE, T(o, u));
|
|
3433
3461
|
}
|
|
3434
3462
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3435
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3463
|
+
return this.isEOF() || this.char() !== 125 ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, T(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3436
3464
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3437
3465
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3438
3466
|
var n = this.char();
|
|
@@ -3441,7 +3469,7 @@ var Ms = (
|
|
|
3441
3469
|
this.bump();
|
|
3442
3470
|
var s = this.clonePosition();
|
|
3443
3471
|
if (!this.bumpUntil("'"))
|
|
3444
|
-
return this.error(
|
|
3472
|
+
return this.error(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, T(s, this.clonePosition()));
|
|
3445
3473
|
this.bump();
|
|
3446
3474
|
break;
|
|
3447
3475
|
}
|
|
@@ -3471,25 +3499,25 @@ var Ms = (
|
|
|
3471
3499
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3472
3500
|
var n = [];
|
|
3473
3501
|
try {
|
|
3474
|
-
n =
|
|
3502
|
+
n = ms(t);
|
|
3475
3503
|
} catch {
|
|
3476
|
-
return this.error(
|
|
3504
|
+
return this.error(x.INVALID_NUMBER_SKELETON, r);
|
|
3477
3505
|
}
|
|
3478
3506
|
return {
|
|
3479
3507
|
val: {
|
|
3480
|
-
type:
|
|
3508
|
+
type: Ie.number,
|
|
3481
3509
|
tokens: n,
|
|
3482
3510
|
location: r,
|
|
3483
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3511
|
+
parsedOptions: this.shouldParseSkeletons ? vs(n) : {}
|
|
3484
3512
|
},
|
|
3485
3513
|
err: null
|
|
3486
3514
|
};
|
|
3487
3515
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, s) {
|
|
3488
|
-
for (var i,
|
|
3516
|
+
for (var i, o = !1, l = [], u = /* @__PURE__ */ new Set(), h = s.value, c = s.location; ; ) {
|
|
3489
3517
|
if (h.length === 0) {
|
|
3490
3518
|
var f = this.clonePosition();
|
|
3491
3519
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3492
|
-
var p = this.tryParseDecimalInteger(
|
|
3520
|
+
var p = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3493
3521
|
if (p.err)
|
|
3494
3522
|
return p;
|
|
3495
3523
|
c = T(f, this.clonePosition()), h = this.message.slice(f.offset, this.offset());
|
|
@@ -3497,11 +3525,11 @@ var Ms = (
|
|
|
3497
3525
|
break;
|
|
3498
3526
|
}
|
|
3499
3527
|
if (u.has(h))
|
|
3500
|
-
return this.error(r === "select" ?
|
|
3501
|
-
h === "other" && (
|
|
3528
|
+
return this.error(r === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
|
3529
|
+
h === "other" && (o = !0), this.bumpSpace();
|
|
3502
3530
|
var m = this.clonePosition();
|
|
3503
3531
|
if (!this.bumpIf("{"))
|
|
3504
|
-
return this.error(r === "select" ?
|
|
3532
|
+
return this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
|
|
3505
3533
|
var v = this.parseMessage(t + 1, r, n);
|
|
3506
3534
|
if (v.err)
|
|
3507
3535
|
return v;
|
|
@@ -3516,19 +3544,19 @@ var Ms = (
|
|
|
3516
3544
|
}
|
|
3517
3545
|
]), u.add(h), this.bumpSpace(), i = this.parseIdentifierIfPossible(), h = i.value, c = i.location;
|
|
3518
3546
|
}
|
|
3519
|
-
return l.length === 0 ? this.error(r === "select" ?
|
|
3547
|
+
return l.length === 0 ? this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, T(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(x.MISSING_OTHER_CLAUSE, T(this.clonePosition(), this.clonePosition())) : { val: l, err: null };
|
|
3520
3548
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3521
3549
|
var n = 1, s = this.clonePosition();
|
|
3522
3550
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3523
|
-
for (var i = !1,
|
|
3551
|
+
for (var i = !1, o = 0; !this.isEOF(); ) {
|
|
3524
3552
|
var l = this.char();
|
|
3525
3553
|
if (l >= 48 && l <= 57)
|
|
3526
|
-
i = !0,
|
|
3554
|
+
i = !0, o = o * 10 + (l - 48), this.bump();
|
|
3527
3555
|
else
|
|
3528
3556
|
break;
|
|
3529
3557
|
}
|
|
3530
3558
|
var u = T(s, this.clonePosition());
|
|
3531
|
-
return i ? (
|
|
3559
|
+
return i ? (o *= n, Is(o) ? { val: o, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3532
3560
|
}, e.prototype.offset = function() {
|
|
3533
3561
|
return this.position.offset;
|
|
3534
3562
|
}, e.prototype.isEOF = function() {
|
|
@@ -3543,7 +3571,7 @@ var Ms = (
|
|
|
3543
3571
|
var t = this.position.offset;
|
|
3544
3572
|
if (t >= this.message.length)
|
|
3545
3573
|
throw Error("out of bound");
|
|
3546
|
-
var r =
|
|
3574
|
+
var r = Ur(this.message, t);
|
|
3547
3575
|
if (r === void 0)
|
|
3548
3576
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3549
3577
|
return r;
|
|
@@ -3562,7 +3590,7 @@ var Ms = (
|
|
|
3562
3590
|
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);
|
|
3563
3591
|
}
|
|
3564
3592
|
}, e.prototype.bumpIf = function(t) {
|
|
3565
|
-
if (
|
|
3593
|
+
if (rr(this.message, t, this.offset())) {
|
|
3566
3594
|
for (var r = 0; r < t.length; r++)
|
|
3567
3595
|
this.bump();
|
|
3568
3596
|
return !0;
|
|
@@ -3584,7 +3612,7 @@ var Ms = (
|
|
|
3584
3612
|
break;
|
|
3585
3613
|
}
|
|
3586
3614
|
}, e.prototype.bumpSpace = function() {
|
|
3587
|
-
for (; !this.isEOF() &&
|
|
3615
|
+
for (; !this.isEOF() && Gr(this.char()); )
|
|
3588
3616
|
this.bump();
|
|
3589
3617
|
}, e.prototype.peek = function() {
|
|
3590
3618
|
if (this.isEOF())
|
|
@@ -3594,47 +3622,47 @@ var Ms = (
|
|
|
3594
3622
|
}, e;
|
|
3595
3623
|
}()
|
|
3596
3624
|
);
|
|
3597
|
-
function
|
|
3625
|
+
function Lt(e) {
|
|
3598
3626
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3599
3627
|
}
|
|
3600
|
-
function
|
|
3601
|
-
return
|
|
3628
|
+
function Ls(e) {
|
|
3629
|
+
return Lt(e) || e === 47;
|
|
3602
3630
|
}
|
|
3603
|
-
function
|
|
3631
|
+
function Fs(e) {
|
|
3604
3632
|
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;
|
|
3605
3633
|
}
|
|
3606
|
-
function
|
|
3634
|
+
function Gr(e) {
|
|
3607
3635
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3608
3636
|
}
|
|
3609
|
-
function
|
|
3637
|
+
function ks(e) {
|
|
3610
3638
|
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;
|
|
3611
3639
|
}
|
|
3612
|
-
function
|
|
3640
|
+
function Ft(e) {
|
|
3613
3641
|
e.forEach(function(t) {
|
|
3614
|
-
if (delete t.location,
|
|
3642
|
+
if (delete t.location, Mr(t) || Nr(t))
|
|
3615
3643
|
for (var r in t.options)
|
|
3616
|
-
delete t.options[r].location,
|
|
3644
|
+
delete t.options[r].location, Ft(t.options[r].value);
|
|
3617
3645
|
else
|
|
3618
|
-
|
|
3646
|
+
Ar(t) && Rr(t.style) || (Hr(t) || Ir(t)) && Mt(t.style) ? delete t.style.location : Or(t) && Ft(t.children);
|
|
3619
3647
|
});
|
|
3620
3648
|
}
|
|
3621
|
-
function
|
|
3622
|
-
t === void 0 && (t = {}), t =
|
|
3623
|
-
var r = new
|
|
3649
|
+
function Ds(e, t) {
|
|
3650
|
+
t === void 0 && (t = {}), t = ot({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3651
|
+
var r = new Rs(e, t).parse();
|
|
3624
3652
|
if (r.err) {
|
|
3625
|
-
var n = SyntaxError(
|
|
3653
|
+
var n = SyntaxError(x[r.err.kind]);
|
|
3626
3654
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3627
3655
|
}
|
|
3628
|
-
return t?.captureLocation ||
|
|
3656
|
+
return t?.captureLocation || Ft(r.val), r.val;
|
|
3629
3657
|
}
|
|
3630
|
-
var
|
|
3658
|
+
var Me;
|
|
3631
3659
|
(function(e) {
|
|
3632
3660
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3633
|
-
})(
|
|
3634
|
-
var
|
|
3661
|
+
})(Me || (Me = {}));
|
|
3662
|
+
var ft = (
|
|
3635
3663
|
/** @class */
|
|
3636
3664
|
function(e) {
|
|
3637
|
-
|
|
3665
|
+
ct(t, e);
|
|
3638
3666
|
function t(r, n, s) {
|
|
3639
3667
|
var i = e.call(this, r) || this;
|
|
3640
3668
|
return i.code = n, i.originalMessage = s, i;
|
|
@@ -3643,48 +3671,48 @@ var ct = (
|
|
|
3643
3671
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3644
3672
|
}, t;
|
|
3645
3673
|
}(Error)
|
|
3646
|
-
),
|
|
3674
|
+
), ir = (
|
|
3647
3675
|
/** @class */
|
|
3648
3676
|
function(e) {
|
|
3649
|
-
|
|
3677
|
+
ct(t, e);
|
|
3650
3678
|
function t(r, n, s, i) {
|
|
3651
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(s).join('", "'), '"'),
|
|
3679
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(s).join('", "'), '"'), Me.INVALID_VALUE, i) || this;
|
|
3652
3680
|
}
|
|
3653
3681
|
return t;
|
|
3654
|
-
}(
|
|
3655
|
-
),
|
|
3682
|
+
}(ft)
|
|
3683
|
+
), Us = (
|
|
3656
3684
|
/** @class */
|
|
3657
3685
|
function(e) {
|
|
3658
|
-
|
|
3686
|
+
ct(t, e);
|
|
3659
3687
|
function t(r, n, s) {
|
|
3660
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3688
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Me.INVALID_VALUE, s) || this;
|
|
3661
3689
|
}
|
|
3662
3690
|
return t;
|
|
3663
|
-
}(
|
|
3664
|
-
),
|
|
3691
|
+
}(ft)
|
|
3692
|
+
), $s = (
|
|
3665
3693
|
/** @class */
|
|
3666
3694
|
function(e) {
|
|
3667
|
-
|
|
3695
|
+
ct(t, e);
|
|
3668
3696
|
function t(r, n) {
|
|
3669
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3697
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Me.MISSING_VALUE, n) || this;
|
|
3670
3698
|
}
|
|
3671
3699
|
return t;
|
|
3672
|
-
}(
|
|
3700
|
+
}(ft)
|
|
3673
3701
|
), W;
|
|
3674
3702
|
(function(e) {
|
|
3675
3703
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3676
3704
|
})(W || (W = {}));
|
|
3677
|
-
function
|
|
3705
|
+
function Gs(e) {
|
|
3678
3706
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3679
3707
|
var n = t[t.length - 1];
|
|
3680
3708
|
return !n || n.type !== W.literal || r.type !== W.literal ? t.push(r) : n.value += r.value, t;
|
|
3681
3709
|
}, []);
|
|
3682
3710
|
}
|
|
3683
|
-
function
|
|
3711
|
+
function js(e) {
|
|
3684
3712
|
return typeof e == "function";
|
|
3685
3713
|
}
|
|
3686
|
-
function
|
|
3687
|
-
if (e.length === 1 &&
|
|
3714
|
+
function st(e, t, r, n, s, i, o) {
|
|
3715
|
+
if (e.length === 1 && qt(e[0]))
|
|
3688
3716
|
return [
|
|
3689
3717
|
{
|
|
3690
3718
|
type: W.literal,
|
|
@@ -3693,14 +3721,14 @@ function nt(e, t, r, n, s, i, a) {
|
|
|
3693
3721
|
];
|
|
3694
3722
|
for (var l = [], u = 0, h = e; u < h.length; u++) {
|
|
3695
3723
|
var c = h[u];
|
|
3696
|
-
if (
|
|
3724
|
+
if (qt(c)) {
|
|
3697
3725
|
l.push({
|
|
3698
3726
|
type: W.literal,
|
|
3699
3727
|
value: c.value
|
|
3700
3728
|
});
|
|
3701
3729
|
continue;
|
|
3702
3730
|
}
|
|
3703
|
-
if (
|
|
3731
|
+
if (cs(c)) {
|
|
3704
3732
|
typeof i == "number" && l.push({
|
|
3705
3733
|
type: W.literal,
|
|
3706
3734
|
value: r.getNumberFormat(t).format(i)
|
|
@@ -3709,89 +3737,89 @@ function nt(e, t, r, n, s, i, a) {
|
|
|
3709
3737
|
}
|
|
3710
3738
|
var f = c.value;
|
|
3711
3739
|
if (!(s && f in s))
|
|
3712
|
-
throw new
|
|
3740
|
+
throw new $s(f, o);
|
|
3713
3741
|
var p = s[f];
|
|
3714
|
-
if (
|
|
3742
|
+
if (hs(c)) {
|
|
3715
3743
|
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), l.push({
|
|
3716
3744
|
type: typeof p == "string" ? W.literal : W.object,
|
|
3717
3745
|
value: p
|
|
3718
3746
|
});
|
|
3719
3747
|
continue;
|
|
3720
3748
|
}
|
|
3721
|
-
if (
|
|
3722
|
-
var m = typeof c.style == "string" ? n.date[c.style] :
|
|
3749
|
+
if (Hr(c)) {
|
|
3750
|
+
var m = typeof c.style == "string" ? n.date[c.style] : Mt(c.style) ? c.style.parsedOptions : void 0;
|
|
3723
3751
|
l.push({
|
|
3724
3752
|
type: W.literal,
|
|
3725
3753
|
value: r.getDateTimeFormat(t, m).format(p)
|
|
3726
3754
|
});
|
|
3727
3755
|
continue;
|
|
3728
3756
|
}
|
|
3729
|
-
if (
|
|
3730
|
-
var m = typeof c.style == "string" ? n.time[c.style] :
|
|
3757
|
+
if (Ir(c)) {
|
|
3758
|
+
var m = typeof c.style == "string" ? n.time[c.style] : Mt(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3731
3759
|
l.push({
|
|
3732
3760
|
type: W.literal,
|
|
3733
3761
|
value: r.getDateTimeFormat(t, m).format(p)
|
|
3734
3762
|
});
|
|
3735
3763
|
continue;
|
|
3736
3764
|
}
|
|
3737
|
-
if (
|
|
3738
|
-
var m = typeof c.style == "string" ? n.number[c.style] :
|
|
3765
|
+
if (Ar(c)) {
|
|
3766
|
+
var m = typeof c.style == "string" ? n.number[c.style] : Rr(c.style) ? c.style.parsedOptions : void 0;
|
|
3739
3767
|
m && m.scale && (p = p * (m.scale || 1)), l.push({
|
|
3740
3768
|
type: W.literal,
|
|
3741
3769
|
value: r.getNumberFormat(t, m).format(p)
|
|
3742
3770
|
});
|
|
3743
3771
|
continue;
|
|
3744
3772
|
}
|
|
3745
|
-
if (
|
|
3773
|
+
if (Or(c)) {
|
|
3746
3774
|
var v = c.children, w = c.value, C = s[w];
|
|
3747
|
-
if (!
|
|
3748
|
-
throw new
|
|
3749
|
-
var y =
|
|
3750
|
-
return
|
|
3775
|
+
if (!js(C))
|
|
3776
|
+
throw new Us(w, "function", o);
|
|
3777
|
+
var y = st(v, t, r, n, s, i), A = C(y.map(function(D) {
|
|
3778
|
+
return D.value;
|
|
3751
3779
|
}));
|
|
3752
|
-
Array.isArray(
|
|
3780
|
+
Array.isArray(A) || (A = [A]), l.push.apply(l, A.map(function(D) {
|
|
3753
3781
|
return {
|
|
3754
|
-
type: typeof
|
|
3755
|
-
value:
|
|
3782
|
+
type: typeof D == "string" ? W.literal : W.object,
|
|
3783
|
+
value: D
|
|
3756
3784
|
};
|
|
3757
3785
|
}));
|
|
3758
3786
|
}
|
|
3759
|
-
if (
|
|
3760
|
-
var
|
|
3761
|
-
if (!
|
|
3762
|
-
throw new
|
|
3763
|
-
l.push.apply(l,
|
|
3787
|
+
if (Mr(c)) {
|
|
3788
|
+
var O = c.options[p] || c.options.other;
|
|
3789
|
+
if (!O)
|
|
3790
|
+
throw new ir(c.value, p, Object.keys(c.options), o);
|
|
3791
|
+
l.push.apply(l, st(O.value, t, r, n, s));
|
|
3764
3792
|
continue;
|
|
3765
3793
|
}
|
|
3766
|
-
if (
|
|
3767
|
-
var
|
|
3768
|
-
if (!
|
|
3794
|
+
if (Nr(c)) {
|
|
3795
|
+
var O = c.options["=".concat(p)];
|
|
3796
|
+
if (!O) {
|
|
3769
3797
|
if (!Intl.PluralRules)
|
|
3770
|
-
throw new
|
|
3798
|
+
throw new ft(`Intl.PluralRules is not available in this environment.
|
|
3771
3799
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3772
|
-
`,
|
|
3773
|
-
var
|
|
3774
|
-
|
|
3800
|
+
`, Me.MISSING_INTL_API, o);
|
|
3801
|
+
var k = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
|
|
3802
|
+
O = c.options[k] || c.options.other;
|
|
3775
3803
|
}
|
|
3776
|
-
if (!
|
|
3777
|
-
throw new
|
|
3778
|
-
l.push.apply(l,
|
|
3804
|
+
if (!O)
|
|
3805
|
+
throw new ir(c.value, p, Object.keys(c.options), o);
|
|
3806
|
+
l.push.apply(l, st(O.value, t, r, n, s, p - (c.offset || 0)));
|
|
3779
3807
|
continue;
|
|
3780
3808
|
}
|
|
3781
3809
|
}
|
|
3782
|
-
return
|
|
3810
|
+
return Gs(l);
|
|
3783
3811
|
}
|
|
3784
|
-
function
|
|
3785
|
-
return t ?
|
|
3786
|
-
return r[n] =
|
|
3812
|
+
function Vs(e, t) {
|
|
3813
|
+
return t ? ie(ie(ie({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3814
|
+
return r[n] = ie(ie({}, e[n]), t[n] || {}), r;
|
|
3787
3815
|
}, {})) : e;
|
|
3788
3816
|
}
|
|
3789
|
-
function
|
|
3817
|
+
function zs(e, t) {
|
|
3790
3818
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3791
|
-
return r[n] =
|
|
3792
|
-
},
|
|
3819
|
+
return r[n] = Vs(e[n], t[n]), r;
|
|
3820
|
+
}, ie({}, e)) : e;
|
|
3793
3821
|
}
|
|
3794
|
-
function
|
|
3822
|
+
function _t(e) {
|
|
3795
3823
|
return {
|
|
3796
3824
|
create: function() {
|
|
3797
3825
|
return {
|
|
@@ -3805,39 +3833,39 @@ function yt(e) {
|
|
|
3805
3833
|
}
|
|
3806
3834
|
};
|
|
3807
3835
|
}
|
|
3808
|
-
function
|
|
3836
|
+
function Ws(e) {
|
|
3809
3837
|
return e === void 0 && (e = {
|
|
3810
3838
|
number: {},
|
|
3811
3839
|
dateTime: {},
|
|
3812
3840
|
pluralRules: {}
|
|
3813
3841
|
}), {
|
|
3814
|
-
getNumberFormat:
|
|
3842
|
+
getNumberFormat: wt(function() {
|
|
3815
3843
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3816
3844
|
r[n] = arguments[n];
|
|
3817
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3845
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, bt([void 0], r, !1)))();
|
|
3818
3846
|
}, {
|
|
3819
|
-
cache:
|
|
3820
|
-
strategy:
|
|
3847
|
+
cache: _t(e.number),
|
|
3848
|
+
strategy: vt.variadic
|
|
3821
3849
|
}),
|
|
3822
|
-
getDateTimeFormat:
|
|
3850
|
+
getDateTimeFormat: wt(function() {
|
|
3823
3851
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3824
3852
|
r[n] = arguments[n];
|
|
3825
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3853
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, bt([void 0], r, !1)))();
|
|
3826
3854
|
}, {
|
|
3827
|
-
cache:
|
|
3828
|
-
strategy:
|
|
3855
|
+
cache: _t(e.dateTime),
|
|
3856
|
+
strategy: vt.variadic
|
|
3829
3857
|
}),
|
|
3830
|
-
getPluralRules:
|
|
3858
|
+
getPluralRules: wt(function() {
|
|
3831
3859
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3832
3860
|
r[n] = arguments[n];
|
|
3833
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3861
|
+
return new ((t = Intl.PluralRules).bind.apply(t, bt([void 0], r, !1)))();
|
|
3834
3862
|
}, {
|
|
3835
|
-
cache:
|
|
3836
|
-
strategy:
|
|
3863
|
+
cache: _t(e.pluralRules),
|
|
3864
|
+
strategy: vt.variadic
|
|
3837
3865
|
})
|
|
3838
3866
|
};
|
|
3839
3867
|
}
|
|
3840
|
-
var
|
|
3868
|
+
var Xs = (
|
|
3841
3869
|
/** @class */
|
|
3842
3870
|
function() {
|
|
3843
3871
|
function e(t, r, n, s) {
|
|
@@ -3856,7 +3884,7 @@ var Vs = (
|
|
|
3856
3884
|
}, []);
|
|
3857
3885
|
return c.length <= 1 ? c[0] || "" : c;
|
|
3858
3886
|
}, this.formatToParts = function(u) {
|
|
3859
|
-
return
|
|
3887
|
+
return st(i.ast, i.locales, i.formatters, i.formats, u, void 0, i.message);
|
|
3860
3888
|
}, this.resolvedOptions = function() {
|
|
3861
3889
|
var u;
|
|
3862
3890
|
return {
|
|
@@ -3867,15 +3895,15 @@ var Vs = (
|
|
|
3867
3895
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3868
3896
|
if (this.message = t, !e.__parse)
|
|
3869
3897
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3870
|
-
var
|
|
3871
|
-
|
|
3872
|
-
var l =
|
|
3873
|
-
this.ast = e.__parse(t,
|
|
3898
|
+
var o = s || {};
|
|
3899
|
+
o.formatters;
|
|
3900
|
+
var l = rs(o, ["formatters"]);
|
|
3901
|
+
this.ast = e.__parse(t, ie(ie({}, l), { locale: this.resolvedLocale }));
|
|
3874
3902
|
} else
|
|
3875
3903
|
this.ast = t;
|
|
3876
3904
|
if (!Array.isArray(this.ast))
|
|
3877
3905
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3878
|
-
this.formats =
|
|
3906
|
+
this.formats = zs(e.formats, n), this.formatters = s && s.formatters || Ws(this.formatterCache);
|
|
3879
3907
|
}
|
|
3880
3908
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3881
3909
|
get: function() {
|
|
@@ -3888,7 +3916,7 @@ var Vs = (
|
|
|
3888
3916
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3889
3917
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3890
3918
|
}
|
|
3891
|
-
}, e.__parse =
|
|
3919
|
+
}, e.__parse = Ds, e.formats = {
|
|
3892
3920
|
number: {
|
|
3893
3921
|
integer: {
|
|
3894
3922
|
maximumFractionDigits: 0
|
|
@@ -3949,7 +3977,7 @@ var Vs = (
|
|
|
3949
3977
|
}, e;
|
|
3950
3978
|
}()
|
|
3951
3979
|
);
|
|
3952
|
-
function
|
|
3980
|
+
function Zs(e, t) {
|
|
3953
3981
|
if (t == null)
|
|
3954
3982
|
return;
|
|
3955
3983
|
if (t in e)
|
|
@@ -3970,92 +3998,92 @@ function zs(e, t) {
|
|
|
3970
3998
|
n = void 0;
|
|
3971
3999
|
return n;
|
|
3972
4000
|
}
|
|
3973
|
-
const
|
|
4001
|
+
const ce = {}, Ys = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), jr = (e, t) => {
|
|
3974
4002
|
if (t == null)
|
|
3975
4003
|
return;
|
|
3976
|
-
if (t in
|
|
3977
|
-
return
|
|
3978
|
-
const r =
|
|
4004
|
+
if (t in ce && e in ce[t])
|
|
4005
|
+
return ce[t][e];
|
|
4006
|
+
const r = dt(t);
|
|
3979
4007
|
for (let n = 0; n < r.length; n++) {
|
|
3980
|
-
const s = r[n], i =
|
|
4008
|
+
const s = r[n], i = Js(s, e);
|
|
3981
4009
|
if (i)
|
|
3982
|
-
return
|
|
4010
|
+
return Ys(e, t, i);
|
|
3983
4011
|
}
|
|
3984
4012
|
};
|
|
3985
|
-
let
|
|
3986
|
-
const Xe =
|
|
3987
|
-
function
|
|
3988
|
-
return
|
|
4013
|
+
let Ut;
|
|
4014
|
+
const Xe = ht({});
|
|
4015
|
+
function Qs(e) {
|
|
4016
|
+
return Ut[e] || null;
|
|
3989
4017
|
}
|
|
3990
|
-
function
|
|
3991
|
-
return e in
|
|
4018
|
+
function Vr(e) {
|
|
4019
|
+
return e in Ut;
|
|
3992
4020
|
}
|
|
3993
|
-
function
|
|
3994
|
-
if (!
|
|
4021
|
+
function Js(e, t) {
|
|
4022
|
+
if (!Vr(e))
|
|
3995
4023
|
return null;
|
|
3996
|
-
const r =
|
|
3997
|
-
return
|
|
4024
|
+
const r = Qs(e);
|
|
4025
|
+
return Zs(r, t);
|
|
3998
4026
|
}
|
|
3999
|
-
function
|
|
4027
|
+
function qs(e) {
|
|
4000
4028
|
if (e == null)
|
|
4001
4029
|
return;
|
|
4002
|
-
const t =
|
|
4030
|
+
const t = dt(e);
|
|
4003
4031
|
for (let r = 0; r < t.length; r++) {
|
|
4004
4032
|
const n = t[r];
|
|
4005
|
-
if (
|
|
4033
|
+
if (Vr(n))
|
|
4006
4034
|
return n;
|
|
4007
4035
|
}
|
|
4008
4036
|
}
|
|
4009
|
-
function
|
|
4010
|
-
delete
|
|
4037
|
+
function zr(e, ...t) {
|
|
4038
|
+
delete ce[e], Xe.update((r) => (r[e] = ts.all([r[e] || {}, ...t]), r));
|
|
4011
4039
|
}
|
|
4012
|
-
|
|
4040
|
+
Re(
|
|
4013
4041
|
[Xe],
|
|
4014
4042
|
([e]) => Object.keys(e)
|
|
4015
4043
|
);
|
|
4016
|
-
Xe.subscribe((e) =>
|
|
4017
|
-
const
|
|
4018
|
-
function
|
|
4019
|
-
|
|
4044
|
+
Xe.subscribe((e) => Ut = e);
|
|
4045
|
+
const it = {};
|
|
4046
|
+
function Ks(e, t) {
|
|
4047
|
+
it[e].delete(t), it[e].size === 0 && delete it[e];
|
|
4020
4048
|
}
|
|
4021
|
-
function
|
|
4022
|
-
return
|
|
4049
|
+
function Wr(e) {
|
|
4050
|
+
return it[e];
|
|
4023
4051
|
}
|
|
4024
|
-
function
|
|
4025
|
-
return
|
|
4026
|
-
const r =
|
|
4052
|
+
function ei(e) {
|
|
4053
|
+
return dt(e).map((t) => {
|
|
4054
|
+
const r = Wr(t);
|
|
4027
4055
|
return [t, r ? [...r] : []];
|
|
4028
4056
|
}).filter(([, t]) => t.length > 0);
|
|
4029
4057
|
}
|
|
4030
|
-
function
|
|
4031
|
-
return e == null ? !1 :
|
|
4058
|
+
function kt(e) {
|
|
4059
|
+
return e == null ? !1 : dt(e).some(
|
|
4032
4060
|
(t) => {
|
|
4033
4061
|
var r;
|
|
4034
|
-
return (r =
|
|
4062
|
+
return (r = Wr(t)) == null ? void 0 : r.size;
|
|
4035
4063
|
}
|
|
4036
4064
|
);
|
|
4037
4065
|
}
|
|
4038
|
-
function
|
|
4066
|
+
function ti(e, t) {
|
|
4039
4067
|
return Promise.all(
|
|
4040
|
-
t.map((n) => (
|
|
4041
|
-
).then((n) =>
|
|
4068
|
+
t.map((n) => (Ks(e, n), n().then((s) => s.default || s)))
|
|
4069
|
+
).then((n) => zr(e, ...n));
|
|
4042
4070
|
}
|
|
4043
4071
|
const $e = {};
|
|
4044
|
-
function
|
|
4045
|
-
if (!
|
|
4072
|
+
function Xr(e) {
|
|
4073
|
+
if (!kt(e))
|
|
4046
4074
|
return e in $e ? $e[e] : Promise.resolve();
|
|
4047
|
-
const t =
|
|
4075
|
+
const t = ei(e);
|
|
4048
4076
|
return $e[e] = Promise.all(
|
|
4049
4077
|
t.map(
|
|
4050
|
-
([r, n]) =>
|
|
4078
|
+
([r, n]) => ti(r, n)
|
|
4051
4079
|
)
|
|
4052
4080
|
).then(() => {
|
|
4053
|
-
if (
|
|
4054
|
-
return
|
|
4081
|
+
if (kt(e))
|
|
4082
|
+
return Xr(e);
|
|
4055
4083
|
delete $e[e];
|
|
4056
4084
|
}), $e[e];
|
|
4057
4085
|
}
|
|
4058
|
-
const
|
|
4086
|
+
const ri = {
|
|
4059
4087
|
number: {
|
|
4060
4088
|
scientific: { notation: "scientific" },
|
|
4061
4089
|
engineering: { notation: "engineering" },
|
|
@@ -4084,150 +4112,150 @@ const Ks = {
|
|
|
4084
4112
|
timeZoneName: "short"
|
|
4085
4113
|
}
|
|
4086
4114
|
}
|
|
4087
|
-
},
|
|
4115
|
+
}, ni = {
|
|
4088
4116
|
fallbackLocale: null,
|
|
4089
4117
|
loadingDelay: 200,
|
|
4090
|
-
formats:
|
|
4118
|
+
formats: ri,
|
|
4091
4119
|
warnOnMissingMessages: !0,
|
|
4092
4120
|
handleMissingMessage: void 0,
|
|
4093
4121
|
ignoreTag: !0
|
|
4094
|
-
},
|
|
4095
|
-
function
|
|
4096
|
-
return
|
|
4122
|
+
}, si = ni;
|
|
4123
|
+
function Ne() {
|
|
4124
|
+
return si;
|
|
4097
4125
|
}
|
|
4098
|
-
const
|
|
4099
|
-
var
|
|
4126
|
+
const Pt = ht(!1);
|
|
4127
|
+
var ii = Object.defineProperty, oi = Object.defineProperties, ai = Object.getOwnPropertyDescriptors, or = Object.getOwnPropertySymbols, li = Object.prototype.hasOwnProperty, ui = Object.prototype.propertyIsEnumerable, ar = (e, t, r) => t in e ? ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, hi = (e, t) => {
|
|
4100
4128
|
for (var r in t || (t = {}))
|
|
4101
|
-
|
|
4102
|
-
if (
|
|
4103
|
-
for (var r of
|
|
4104
|
-
|
|
4129
|
+
li.call(t, r) && ar(e, r, t[r]);
|
|
4130
|
+
if (or)
|
|
4131
|
+
for (var r of or(t))
|
|
4132
|
+
ui.call(t, r) && ar(e, r, t[r]);
|
|
4105
4133
|
return e;
|
|
4106
|
-
},
|
|
4107
|
-
let
|
|
4108
|
-
const at =
|
|
4109
|
-
function
|
|
4134
|
+
}, ci = (e, t) => oi(e, ai(t));
|
|
4135
|
+
let Dt;
|
|
4136
|
+
const at = ht(null);
|
|
4137
|
+
function lr(e) {
|
|
4110
4138
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4111
4139
|
}
|
|
4112
|
-
function
|
|
4113
|
-
const r =
|
|
4114
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4140
|
+
function dt(e, t = Ne().fallbackLocale) {
|
|
4141
|
+
const r = lr(e);
|
|
4142
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...lr(t)])] : r;
|
|
4115
4143
|
}
|
|
4116
|
-
function
|
|
4117
|
-
return
|
|
4144
|
+
function pe() {
|
|
4145
|
+
return Dt ?? void 0;
|
|
4118
4146
|
}
|
|
4119
4147
|
at.subscribe((e) => {
|
|
4120
|
-
|
|
4148
|
+
Dt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4121
4149
|
});
|
|
4122
|
-
const
|
|
4123
|
-
if (e &&
|
|
4124
|
-
const { loadingDelay: t } =
|
|
4150
|
+
const fi = (e) => {
|
|
4151
|
+
if (e && qs(e) && kt(e)) {
|
|
4152
|
+
const { loadingDelay: t } = Ne();
|
|
4125
4153
|
let r;
|
|
4126
|
-
return typeof window < "u" &&
|
|
4127
|
-
() =>
|
|
4154
|
+
return typeof window < "u" && pe() != null && t ? r = window.setTimeout(
|
|
4155
|
+
() => Pt.set(!0),
|
|
4128
4156
|
t
|
|
4129
|
-
) :
|
|
4157
|
+
) : Pt.set(!0), Xr(e).then(() => {
|
|
4130
4158
|
at.set(e);
|
|
4131
4159
|
}).finally(() => {
|
|
4132
|
-
clearTimeout(r),
|
|
4160
|
+
clearTimeout(r), Pt.set(!1);
|
|
4133
4161
|
});
|
|
4134
4162
|
}
|
|
4135
4163
|
return at.set(e);
|
|
4136
|
-
},
|
|
4137
|
-
set:
|
|
4138
|
-
}),
|
|
4164
|
+
}, Le = ci(hi({}, at), {
|
|
4165
|
+
set: fi
|
|
4166
|
+
}), pt = (e) => {
|
|
4139
4167
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4140
4168
|
return (n) => {
|
|
4141
4169
|
const s = JSON.stringify(n);
|
|
4142
4170
|
return s in t ? t[s] : t[s] = e(n);
|
|
4143
4171
|
};
|
|
4144
4172
|
};
|
|
4145
|
-
var
|
|
4173
|
+
var di = Object.defineProperty, lt = Object.getOwnPropertySymbols, Zr = Object.prototype.hasOwnProperty, Yr = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $t = (e, t) => {
|
|
4146
4174
|
for (var r in t || (t = {}))
|
|
4147
|
-
|
|
4148
|
-
if (
|
|
4149
|
-
for (var r of
|
|
4150
|
-
|
|
4175
|
+
Zr.call(t, r) && ur(e, r, t[r]);
|
|
4176
|
+
if (lt)
|
|
4177
|
+
for (var r of lt(t))
|
|
4178
|
+
Yr.call(t, r) && ur(e, r, t[r]);
|
|
4151
4179
|
return e;
|
|
4152
|
-
},
|
|
4180
|
+
}, Fe = (e, t) => {
|
|
4153
4181
|
var r = {};
|
|
4154
4182
|
for (var n in e)
|
|
4155
|
-
|
|
4156
|
-
if (e != null &&
|
|
4157
|
-
for (var n of
|
|
4158
|
-
t.indexOf(n) < 0 &&
|
|
4183
|
+
Zr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4184
|
+
if (e != null && lt)
|
|
4185
|
+
for (var n of lt(e))
|
|
4186
|
+
t.indexOf(n) < 0 && Yr.call(e, n) && (r[n] = e[n]);
|
|
4159
4187
|
return r;
|
|
4160
4188
|
};
|
|
4161
4189
|
const ze = (e, t) => {
|
|
4162
|
-
const { formats: r } =
|
|
4190
|
+
const { formats: r } = Ne();
|
|
4163
4191
|
if (e in r && t in r[e])
|
|
4164
4192
|
return r[e][t];
|
|
4165
4193
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4166
|
-
},
|
|
4194
|
+
}, pi = pt(
|
|
4167
4195
|
(e) => {
|
|
4168
|
-
var t = e, { locale: r, format: n } = t, s =
|
|
4196
|
+
var t = e, { locale: r, format: n } = t, s = Fe(t, ["locale", "format"]);
|
|
4169
4197
|
if (r == null)
|
|
4170
4198
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4171
4199
|
return n && (s = ze("number", n)), new Intl.NumberFormat(r, s);
|
|
4172
4200
|
}
|
|
4173
|
-
),
|
|
4201
|
+
), mi = pt(
|
|
4174
4202
|
(e) => {
|
|
4175
|
-
var t = e, { locale: r, format: n } = t, s =
|
|
4203
|
+
var t = e, { locale: r, format: n } = t, s = Fe(t, ["locale", "format"]);
|
|
4176
4204
|
if (r == null)
|
|
4177
4205
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4178
4206
|
return n ? s = ze("date", n) : Object.keys(s).length === 0 && (s = ze("date", "short")), new Intl.DateTimeFormat(r, s);
|
|
4179
4207
|
}
|
|
4180
|
-
),
|
|
4208
|
+
), gi = pt(
|
|
4181
4209
|
(e) => {
|
|
4182
|
-
var t = e, { locale: r, format: n } = t, s =
|
|
4210
|
+
var t = e, { locale: r, format: n } = t, s = Fe(t, ["locale", "format"]);
|
|
4183
4211
|
if (r == null)
|
|
4184
4212
|
throw new Error(
|
|
4185
4213
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4186
4214
|
);
|
|
4187
4215
|
return n ? s = ze("time", n) : Object.keys(s).length === 0 && (s = ze("time", "short")), new Intl.DateTimeFormat(r, s);
|
|
4188
4216
|
}
|
|
4189
|
-
),
|
|
4217
|
+
), bi = (e = {}) => {
|
|
4190
4218
|
var t = e, {
|
|
4191
|
-
locale: r =
|
|
4192
|
-
} = t, n =
|
|
4219
|
+
locale: r = pe()
|
|
4220
|
+
} = t, n = Fe(t, [
|
|
4193
4221
|
"locale"
|
|
4194
4222
|
]);
|
|
4195
|
-
return
|
|
4196
|
-
},
|
|
4223
|
+
return pi($t({ locale: r }, n));
|
|
4224
|
+
}, wi = (e = {}) => {
|
|
4197
4225
|
var t = e, {
|
|
4198
|
-
locale: r =
|
|
4199
|
-
} = t, n =
|
|
4226
|
+
locale: r = pe()
|
|
4227
|
+
} = t, n = Fe(t, [
|
|
4200
4228
|
"locale"
|
|
4201
4229
|
]);
|
|
4202
|
-
return
|
|
4203
|
-
},
|
|
4230
|
+
return mi($t({ locale: r }, n));
|
|
4231
|
+
}, vi = (e = {}) => {
|
|
4204
4232
|
var t = e, {
|
|
4205
|
-
locale: r =
|
|
4206
|
-
} = t, n =
|
|
4233
|
+
locale: r = pe()
|
|
4234
|
+
} = t, n = Fe(t, [
|
|
4207
4235
|
"locale"
|
|
4208
4236
|
]);
|
|
4209
|
-
return
|
|
4210
|
-
},
|
|
4237
|
+
return gi($t({ locale: r }, n));
|
|
4238
|
+
}, yi = pt(
|
|
4211
4239
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4212
|
-
(e, t =
|
|
4213
|
-
ignoreTag:
|
|
4240
|
+
(e, t = pe()) => new Xs(e, t, Ne().formats, {
|
|
4241
|
+
ignoreTag: Ne().ignoreTag
|
|
4214
4242
|
})
|
|
4215
|
-
),
|
|
4243
|
+
), _i = (e, t = {}) => {
|
|
4216
4244
|
var r, n, s, i;
|
|
4217
|
-
let
|
|
4218
|
-
typeof e == "object" && (
|
|
4245
|
+
let o = t;
|
|
4246
|
+
typeof e == "object" && (o = e, e = o.id);
|
|
4219
4247
|
const {
|
|
4220
4248
|
values: l,
|
|
4221
|
-
locale: u =
|
|
4249
|
+
locale: u = pe(),
|
|
4222
4250
|
default: h
|
|
4223
|
-
} =
|
|
4251
|
+
} = o;
|
|
4224
4252
|
if (u == null)
|
|
4225
4253
|
throw new Error(
|
|
4226
4254
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4227
4255
|
);
|
|
4228
|
-
let c =
|
|
4256
|
+
let c = jr(e, u);
|
|
4229
4257
|
if (!c)
|
|
4230
|
-
c = (i = (s = (n = (r =
|
|
4258
|
+
c = (i = (s = (n = (r = Ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? s : h) != null ? i : e;
|
|
4231
4259
|
else if (typeof c != "string")
|
|
4232
4260
|
return console.warn(
|
|
4233
4261
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4236,7 +4264,7 @@ const ze = (e, t) => {
|
|
|
4236
4264
|
return c;
|
|
4237
4265
|
let f = c;
|
|
4238
4266
|
try {
|
|
4239
|
-
f =
|
|
4267
|
+
f = yi(c, u).format(l);
|
|
4240
4268
|
} catch (p) {
|
|
4241
4269
|
p instanceof Error && console.warn(
|
|
4242
4270
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4244,21 +4272,21 @@ const ze = (e, t) => {
|
|
|
4244
4272
|
);
|
|
4245
4273
|
}
|
|
4246
4274
|
return f;
|
|
4247
|
-
},
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
window.emWidgets = { topic:
|
|
4253
|
-
const
|
|
4275
|
+
}, Pi = (e, t) => vi(t).format(e), Ei = (e, t) => wi(t).format(e), xi = (e, t) => bi(t).format(e), Ti = (e, t = pe()) => jr(e, t), Ci = Re([Le, Xe], () => _i);
|
|
4276
|
+
Re([Le], () => Pi);
|
|
4277
|
+
Re([Le], () => Ei);
|
|
4278
|
+
Re([Le], () => xi);
|
|
4279
|
+
Re([Le, Xe], () => Ti);
|
|
4280
|
+
window.emWidgets = { topic: kn };
|
|
4281
|
+
const Si = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4254
4282
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4255
|
-
function
|
|
4256
|
-
|
|
4283
|
+
function hr(e, t) {
|
|
4284
|
+
zr(e, t);
|
|
4257
4285
|
}
|
|
4258
|
-
function
|
|
4259
|
-
|
|
4286
|
+
function Bi(e) {
|
|
4287
|
+
Le.set(e);
|
|
4260
4288
|
}
|
|
4261
|
-
const
|
|
4289
|
+
const cr = {
|
|
4262
4290
|
en: {
|
|
4263
4291
|
titleChangePassword: "Change Password",
|
|
4264
4292
|
currentPassword: "Current Password:",
|
|
@@ -4442,167 +4470,167 @@ const hr = {
|
|
|
4442
4470
|
backButtonText: "Back"
|
|
4443
4471
|
}
|
|
4444
4472
|
};
|
|
4445
|
-
function
|
|
4446
|
-
|
|
4473
|
+
function Ai(e) {
|
|
4474
|
+
qr(e, "svelte-1sohqqw", '.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, 10px);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:var(--emw--border-radius-medium, 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, 10px);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}');
|
|
4447
4475
|
}
|
|
4448
|
-
function
|
|
4476
|
+
function Hi(e) {
|
|
4449
4477
|
let t;
|
|
4450
|
-
function r(i,
|
|
4478
|
+
function r(i, o) {
|
|
4451
4479
|
return (
|
|
4452
4480
|
/*passwordChanged*/
|
|
4453
|
-
i[2] ?
|
|
4481
|
+
i[2] ? Ii : Mi
|
|
4454
4482
|
);
|
|
4455
4483
|
}
|
|
4456
4484
|
let n = r(e), s = n(e);
|
|
4457
4485
|
return {
|
|
4458
4486
|
c() {
|
|
4459
|
-
t =
|
|
4487
|
+
t = P("form"), s.c(), a(t, "class", "PlayerChangePasswordWrapper " + /*isMobile*/
|
|
4460
4488
|
(e[20] ? "PlayerChangePasswordWrapperMobile" : ""));
|
|
4461
4489
|
},
|
|
4462
|
-
m(i,
|
|
4463
|
-
|
|
4490
|
+
m(i, o) {
|
|
4491
|
+
H(i, t, o), s.m(t, null);
|
|
4464
4492
|
},
|
|
4465
|
-
p(i,
|
|
4466
|
-
n === (n = r(i)) && s ? s.p(i,
|
|
4493
|
+
p(i, o) {
|
|
4494
|
+
n === (n = r(i)) && s ? s.p(i, o) : (s.d(1), s = n(i), s && (s.c(), s.m(t, null)));
|
|
4467
4495
|
},
|
|
4468
4496
|
d(i) {
|
|
4469
4497
|
i && B(t), s.d();
|
|
4470
4498
|
}
|
|
4471
4499
|
};
|
|
4472
4500
|
}
|
|
4473
|
-
function
|
|
4501
|
+
function Ii(e) {
|
|
4474
4502
|
let t, r, n, s = (
|
|
4475
4503
|
/*$_*/
|
|
4476
4504
|
e[19]("changePasswordText") + ""
|
|
4477
|
-
), i,
|
|
4505
|
+
), i, o, l, u, h, c, f, p, m = (
|
|
4478
4506
|
/*$_*/
|
|
4479
4507
|
e[19]("passwordReset") + ""
|
|
4480
4508
|
), v, w, C, y = (
|
|
4481
4509
|
/*$_*/
|
|
4482
4510
|
e[19]("passwordResetConfirmation") + ""
|
|
4483
|
-
),
|
|
4511
|
+
), A, O, k, D = (
|
|
4484
4512
|
/*$_*/
|
|
4485
4513
|
e[19]("backButtonText") + ""
|
|
4486
|
-
),
|
|
4514
|
+
), M, X, ee, $ = (
|
|
4487
4515
|
/*isMobile*/
|
|
4488
|
-
e[20] &&
|
|
4516
|
+
e[20] && Ni(e)
|
|
4489
4517
|
);
|
|
4490
4518
|
return {
|
|
4491
4519
|
c() {
|
|
4492
|
-
|
|
4520
|
+
$ && $.c(), t = F(), r = P("div"), n = P("h3"), i = I(s), o = F(), l = P("div"), u = P("div"), h = P("div"), h.innerHTML = '<div class="Checkmark"></div>', c = F(), f = P("div"), p = P("h3"), v = I(m), w = F(), C = P("p"), A = I(y), O = F(), k = P("div"), M = I(D), a(r, "class", "PlayerChangePasswordHeader"), a(h, "class", "IconContainer"), a(f, "class", "TextContainer"), a(u, "class", "SuccessWrapper"), a(k, "class", "PlayerChangePasswordBackButton"), a(l, "class", "ChangedPasswordSuccessfully");
|
|
4493
4521
|
},
|
|
4494
|
-
m(
|
|
4495
|
-
|
|
4496
|
-
|
|
4522
|
+
m(R, S) {
|
|
4523
|
+
$ && $.m(R, S), H(R, t, S), H(R, r, S), d(r, n), d(n, i), H(R, o, S), H(R, l, S), d(l, u), d(u, h), d(u, c), d(u, f), d(f, p), d(p, v), d(f, w), d(f, C), d(C, A), d(l, O), d(l, k), d(k, M), X || (ee = z(
|
|
4524
|
+
k,
|
|
4497
4525
|
"click",
|
|
4498
4526
|
/*click_handler_9*/
|
|
4499
4527
|
e[47]
|
|
4500
4528
|
), X = !0);
|
|
4501
4529
|
},
|
|
4502
|
-
p(
|
|
4530
|
+
p(R, S) {
|
|
4503
4531
|
/*isMobile*/
|
|
4504
|
-
|
|
4532
|
+
R[20] && $.p(R, S), S[0] & /*$_*/
|
|
4505
4533
|
524288 && s !== (s = /*$_*/
|
|
4506
|
-
|
|
4534
|
+
R[19]("changePasswordText") + "") && U(i, s), S[0] & /*$_*/
|
|
4507
4535
|
524288 && m !== (m = /*$_*/
|
|
4508
|
-
|
|
4536
|
+
R[19]("passwordReset") + "") && U(v, m), S[0] & /*$_*/
|
|
4509
4537
|
524288 && y !== (y = /*$_*/
|
|
4510
|
-
|
|
4511
|
-
524288 &&
|
|
4512
|
-
|
|
4538
|
+
R[19]("passwordResetConfirmation") + "") && U(A, y), S[0] & /*$_*/
|
|
4539
|
+
524288 && D !== (D = /*$_*/
|
|
4540
|
+
R[19]("backButtonText") + "") && U(M, D);
|
|
4513
4541
|
},
|
|
4514
|
-
d(
|
|
4515
|
-
|
|
4542
|
+
d(R) {
|
|
4543
|
+
R && (B(t), B(r), B(o), B(l)), $ && $.d(R), X = !1, ee();
|
|
4516
4544
|
}
|
|
4517
4545
|
};
|
|
4518
4546
|
}
|
|
4519
|
-
function
|
|
4547
|
+
function Mi(e) {
|
|
4520
4548
|
let t, r, n = (
|
|
4521
4549
|
/*$_*/
|
|
4522
4550
|
e[19]("titleChangePassword") + ""
|
|
4523
|
-
), s, i,
|
|
4551
|
+
), s, i, o, l, u, h = (
|
|
4524
4552
|
/*$_*/
|
|
4525
4553
|
e[19]("currentPassword") + ""
|
|
4526
|
-
), c, f, p, m, v, w, C, y,
|
|
4554
|
+
), c, f, p, m, v, w, C, y, A, O = (
|
|
4527
4555
|
/*$_*/
|
|
4528
4556
|
e[19]("newPassword") + ""
|
|
4529
|
-
),
|
|
4557
|
+
), k, D, M, X, ee, $, R, S, Z, Q = (
|
|
4530
4558
|
/*$_*/
|
|
4531
4559
|
e[19]("confirmPassword") + ""
|
|
4532
|
-
),
|
|
4560
|
+
), me, ke, Y, Ze, te, ge, De, se, fe, re, ue = (
|
|
4533
4561
|
/*$_*/
|
|
4534
4562
|
e[19]("submitChangePassword") + ""
|
|
4535
|
-
),
|
|
4563
|
+
), be, we, de, Ue, Ye, oe = (
|
|
4536
4564
|
/*isMobile*/
|
|
4537
|
-
e[20] &&
|
|
4565
|
+
e[20] && Oi(e)
|
|
4538
4566
|
);
|
|
4539
|
-
function
|
|
4567
|
+
function Qe(E, _) {
|
|
4540
4568
|
return (
|
|
4541
4569
|
/*isCurrentPasswordVisible*/
|
|
4542
|
-
|
|
4570
|
+
E[10] ? Li : Ri
|
|
4543
4571
|
);
|
|
4544
4572
|
}
|
|
4545
|
-
let ve =
|
|
4573
|
+
let ve = Qe(e), J = ve(e), G = (
|
|
4546
4574
|
/*invalidCurrentPassword*/
|
|
4547
|
-
e[4] &&
|
|
4575
|
+
e[4] && fr(e)
|
|
4548
4576
|
);
|
|
4549
|
-
function
|
|
4577
|
+
function Je(E, _) {
|
|
4550
4578
|
return (
|
|
4551
4579
|
/*isNewPasswordVisible*/
|
|
4552
|
-
|
|
4580
|
+
E[11] ? Ui : Di
|
|
4553
4581
|
);
|
|
4554
4582
|
}
|
|
4555
|
-
let ye =
|
|
4556
|
-
function
|
|
4583
|
+
let ye = Je(e), q = ye(e);
|
|
4584
|
+
function qe(E, _) {
|
|
4557
4585
|
if (
|
|
4558
4586
|
/*oldPasswordSameAsNew*/
|
|
4559
|
-
|
|
4587
|
+
E[13]
|
|
4560
4588
|
)
|
|
4561
|
-
return
|
|
4589
|
+
return Gi;
|
|
4562
4590
|
if (
|
|
4563
4591
|
/*invalidNewPassword*/
|
|
4564
|
-
|
|
4592
|
+
E[5]
|
|
4565
4593
|
)
|
|
4566
|
-
return
|
|
4594
|
+
return $i;
|
|
4567
4595
|
}
|
|
4568
|
-
let
|
|
4569
|
-
function
|
|
4596
|
+
let he = qe(e), j = he && he(e);
|
|
4597
|
+
function Ke(E, _) {
|
|
4570
4598
|
return (
|
|
4571
4599
|
/*isConfirmPasswordVisible*/
|
|
4572
|
-
|
|
4600
|
+
E[12] ? Wi : zi
|
|
4573
4601
|
);
|
|
4574
4602
|
}
|
|
4575
|
-
let _e =
|
|
4603
|
+
let _e = Ke(e), K = _e(e), V = (
|
|
4576
4604
|
/*invalidConfirmPassword*/
|
|
4577
|
-
e[6] &&
|
|
4578
|
-
),
|
|
4605
|
+
e[6] && dr(e)
|
|
4606
|
+
), b = (
|
|
4579
4607
|
/*showErrorPasswordChanged*/
|
|
4580
|
-
e[18] &&
|
|
4608
|
+
e[18] && pr(e)
|
|
4581
4609
|
);
|
|
4582
4610
|
return {
|
|
4583
4611
|
c() {
|
|
4584
|
-
|
|
4585
|
-
(e[20] ? "ChangePasswordTitleNone" : "")),
|
|
4586
|
-
(e[4] ? "InvalidField" : "")),
|
|
4587
|
-
(e[5] ? "InvalidField" : "")),
|
|
4588
|
-
(e[6] ? "InvalidField" : "")), o
|
|
4589
|
-
(e[3] ? "" : "ButtonInactive")),
|
|
4590
|
-
e[3],
|
|
4612
|
+
oe && oe.c(), t = F(), r = P("h2"), s = I(n), i = F(), o = P("section"), l = P("div"), u = P("label"), c = I(h), f = F(), p = P("input"), m = F(), J.c(), v = F(), G && G.c(), C = F(), y = P("div"), A = P("label"), k = I(O), D = F(), M = P("input"), X = F(), q.c(), ee = F(), j && j.c(), R = F(), S = P("div"), Z = P("label"), me = I(Q), ke = F(), Y = P("input"), Ze = F(), K.c(), te = F(), V && V.c(), De = F(), b && b.c(), se = F(), fe = P("section"), re = P("button"), be = I(ue), a(r, "class", "ChangePasswordTitle " + /*isMobile*/
|
|
4613
|
+
(e[20] ? "ChangePasswordTitleNone" : "")), a(u, "for", "CurrentPassword"), a(p, "id", "CurrentPassword"), a(p, "type", "password"), a(l, "class", w = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
|
|
4614
|
+
(e[4] ? "InvalidField" : "")), a(A, "for", "NewPassword"), a(M, "id", "NewPassword"), a(M, "autocomplete", "new-password"), a(M, "type", "password"), a(y, "class", $ = "PlayerChangePasswordBox " + /*invalidNewPassword*/
|
|
4615
|
+
(e[5] ? "InvalidField" : "")), a(Z, "for", "ConfirmPassword"), a(Y, "id", "ConfirmPassword"), a(Y, "type", "password"), a(S, "class", ge = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
|
|
4616
|
+
(e[6] ? "InvalidField" : "")), a(o, "class", "PlayerChangePasswordContent"), a(re, "class", we = "PlayerChangePasswordSaveButton " + /*activateSubmit*/
|
|
4617
|
+
(e[3] ? "" : "ButtonInactive")), re.disabled = de = !/*activateSubmit*/
|
|
4618
|
+
e[3], a(fe, "class", "PlayerChangePasswordButtonsArea");
|
|
4591
4619
|
},
|
|
4592
|
-
m(
|
|
4593
|
-
|
|
4620
|
+
m(E, _) {
|
|
4621
|
+
oe && oe.m(E, _), H(E, t, _), H(E, r, _), d(r, s), H(E, i, _), H(E, o, _), d(o, l), d(l, u), d(u, c), d(l, f), d(l, p), Pe(
|
|
4594
4622
|
p,
|
|
4595
4623
|
/*userCurrentPassword*/
|
|
4596
4624
|
e[14]
|
|
4597
|
-
), e[34](p), d(l, m), J.m(l, null), d(l, v),
|
|
4598
|
-
|
|
4625
|
+
), e[34](p), d(l, m), J.m(l, null), d(l, v), G && G.m(l, null), d(o, C), d(o, y), d(y, A), d(A, k), d(y, D), d(y, M), Pe(
|
|
4626
|
+
M,
|
|
4599
4627
|
/*userNewPassword*/
|
|
4600
4628
|
e[15]
|
|
4601
|
-
), e[38](
|
|
4629
|
+
), e[38](M), d(y, X), q.m(y, null), d(y, ee), j && j.m(y, null), d(o, R), d(o, S), d(S, Z), d(Z, me), d(S, ke), d(S, Y), Pe(
|
|
4602
4630
|
Y,
|
|
4603
4631
|
/*userConfirmPassword*/
|
|
4604
4632
|
e[16]
|
|
4605
|
-
), e[42](Y), d(
|
|
4633
|
+
), e[42](Y), d(S, Ze), K.m(S, null), d(S, te), V && V.m(S, null), H(E, De, _), b && b.m(E, _), H(E, se, _), H(E, fe, _), d(fe, re), d(re, be), Ue || (Ye = [
|
|
4606
4634
|
z(
|
|
4607
4635
|
p,
|
|
4608
4636
|
"input",
|
|
@@ -4610,7 +4638,7 @@ function Ai(e) {
|
|
|
4610
4638
|
e[33]
|
|
4611
4639
|
),
|
|
4612
4640
|
z(p, "blur", function() {
|
|
4613
|
-
|
|
4641
|
+
Be(
|
|
4614
4642
|
/*validatePassword*/
|
|
4615
4643
|
e[22](
|
|
4616
4644
|
/*invalidCurrentPassword*/
|
|
@@ -4630,13 +4658,13 @@ function Ai(e) {
|
|
|
4630
4658
|
).apply(this, arguments);
|
|
4631
4659
|
}),
|
|
4632
4660
|
z(
|
|
4633
|
-
|
|
4661
|
+
M,
|
|
4634
4662
|
"input",
|
|
4635
4663
|
/*input1_input_handler*/
|
|
4636
4664
|
e[37]
|
|
4637
4665
|
),
|
|
4638
|
-
z(
|
|
4639
|
-
|
|
4666
|
+
z(M, "blur", function() {
|
|
4667
|
+
Be(
|
|
4640
4668
|
/*validatePassword*/
|
|
4641
4669
|
e[22](
|
|
4642
4670
|
/*invalidNewPassword*/
|
|
@@ -4662,7 +4690,7 @@ function Ai(e) {
|
|
|
4662
4690
|
e[41]
|
|
4663
4691
|
),
|
|
4664
4692
|
z(Y, "blur", function() {
|
|
4665
|
-
|
|
4693
|
+
Be(
|
|
4666
4694
|
/*validatePassword*/
|
|
4667
4695
|
e[22](
|
|
4668
4696
|
/*invalidConfirmPassword*/
|
|
@@ -4682,76 +4710,76 @@ function Ai(e) {
|
|
|
4682
4710
|
).apply(this, arguments);
|
|
4683
4711
|
}),
|
|
4684
4712
|
z(
|
|
4685
|
-
|
|
4713
|
+
re,
|
|
4686
4714
|
"click",
|
|
4687
4715
|
/*click_handler_7*/
|
|
4688
4716
|
e[45]
|
|
4689
4717
|
)
|
|
4690
4718
|
], Ue = !0);
|
|
4691
4719
|
},
|
|
4692
|
-
p(
|
|
4693
|
-
e =
|
|
4694
|
-
e[20] &&
|
|
4720
|
+
p(E, _) {
|
|
4721
|
+
e = E, /*isMobile*/
|
|
4722
|
+
e[20] && oe.p(e, _), _[0] & /*$_*/
|
|
4695
4723
|
524288 && n !== (n = /*$_*/
|
|
4696
|
-
e[19]("titleChangePassword") + "") &&
|
|
4724
|
+
e[19]("titleChangePassword") + "") && U(s, n), _[0] & /*$_*/
|
|
4697
4725
|
524288 && h !== (h = /*$_*/
|
|
4698
|
-
e[19]("currentPassword") + "") &&
|
|
4726
|
+
e[19]("currentPassword") + "") && U(c, h), _[0] & /*userCurrentPassword*/
|
|
4699
4727
|
16384 && p.value !== /*userCurrentPassword*/
|
|
4700
4728
|
e[14] && Pe(
|
|
4701
4729
|
p,
|
|
4702
4730
|
/*userCurrentPassword*/
|
|
4703
4731
|
e[14]
|
|
4704
|
-
), ve === (ve =
|
|
4705
|
-
e[4] ?
|
|
4732
|
+
), ve === (ve = Qe(e)) && J ? J.p(e, _) : (J.d(1), J = ve(e), J && (J.c(), J.m(l, v))), /*invalidCurrentPassword*/
|
|
4733
|
+
e[4] ? G ? G.p(e, _) : (G = fr(e), G.c(), G.m(l, null)) : G && (G.d(1), G = null), _[0] & /*invalidCurrentPassword*/
|
|
4706
4734
|
16 && w !== (w = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
|
|
4707
|
-
(e[4] ? "InvalidField" : "")) &&
|
|
4708
|
-
524288 &&
|
|
4709
|
-
e[19]("newPassword") + "") &&
|
|
4710
|
-
32768 &&
|
|
4735
|
+
(e[4] ? "InvalidField" : "")) && a(l, "class", w), _[0] & /*$_*/
|
|
4736
|
+
524288 && O !== (O = /*$_*/
|
|
4737
|
+
e[19]("newPassword") + "") && U(k, O), _[0] & /*userNewPassword*/
|
|
4738
|
+
32768 && M.value !== /*userNewPassword*/
|
|
4711
4739
|
e[15] && Pe(
|
|
4712
|
-
|
|
4740
|
+
M,
|
|
4713
4741
|
/*userNewPassword*/
|
|
4714
4742
|
e[15]
|
|
4715
|
-
), ye === (ye =
|
|
4716
|
-
32 &&
|
|
4717
|
-
(e[5] ? "InvalidField" : "")) &&
|
|
4718
|
-
524288 &&
|
|
4719
|
-
e[19]("confirmPassword") + "") &&
|
|
4743
|
+
), ye === (ye = Je(e)) && q ? q.p(e, _) : (q.d(1), q = ye(e), q && (q.c(), q.m(y, ee))), he === (he = qe(e)) && j ? j.p(e, _) : (j && j.d(1), j = he && he(e), j && (j.c(), j.m(y, null))), _[0] & /*invalidNewPassword*/
|
|
4744
|
+
32 && $ !== ($ = "PlayerChangePasswordBox " + /*invalidNewPassword*/
|
|
4745
|
+
(e[5] ? "InvalidField" : "")) && a(y, "class", $), _[0] & /*$_*/
|
|
4746
|
+
524288 && Q !== (Q = /*$_*/
|
|
4747
|
+
e[19]("confirmPassword") + "") && U(me, Q), _[0] & /*userConfirmPassword*/
|
|
4720
4748
|
65536 && Y.value !== /*userConfirmPassword*/
|
|
4721
4749
|
e[16] && Pe(
|
|
4722
4750
|
Y,
|
|
4723
4751
|
/*userConfirmPassword*/
|
|
4724
4752
|
e[16]
|
|
4725
|
-
), _e === (_e =
|
|
4726
|
-
e[6] ?
|
|
4727
|
-
64 &&
|
|
4728
|
-
(e[6] ? "InvalidField" : "")) &&
|
|
4729
|
-
e[18] ?
|
|
4730
|
-
524288 &&
|
|
4731
|
-
e[19]("submitChangePassword") + "") &&
|
|
4732
|
-
8 &&
|
|
4733
|
-
(e[3] ? "" : "ButtonInactive")) &&
|
|
4734
|
-
8 &&
|
|
4735
|
-
e[3]) && (
|
|
4753
|
+
), _e === (_e = Ke(e)) && K ? K.p(e, _) : (K.d(1), K = _e(e), K && (K.c(), K.m(S, te))), /*invalidConfirmPassword*/
|
|
4754
|
+
e[6] ? V ? V.p(e, _) : (V = dr(e), V.c(), V.m(S, null)) : V && (V.d(1), V = null), _[0] & /*invalidConfirmPassword*/
|
|
4755
|
+
64 && ge !== (ge = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
|
|
4756
|
+
(e[6] ? "InvalidField" : "")) && a(S, "class", ge), /*showErrorPasswordChanged*/
|
|
4757
|
+
e[18] ? b ? b.p(e, _) : (b = pr(e), b.c(), b.m(se.parentNode, se)) : b && (b.d(1), b = null), _[0] & /*$_*/
|
|
4758
|
+
524288 && ue !== (ue = /*$_*/
|
|
4759
|
+
e[19]("submitChangePassword") + "") && U(be, ue), _[0] & /*activateSubmit*/
|
|
4760
|
+
8 && we !== (we = "PlayerChangePasswordSaveButton " + /*activateSubmit*/
|
|
4761
|
+
(e[3] ? "" : "ButtonInactive")) && a(re, "class", we), _[0] & /*activateSubmit*/
|
|
4762
|
+
8 && de !== (de = !/*activateSubmit*/
|
|
4763
|
+
e[3]) && (re.disabled = de);
|
|
4736
4764
|
},
|
|
4737
|
-
d(
|
|
4738
|
-
|
|
4765
|
+
d(E) {
|
|
4766
|
+
E && (B(t), B(r), B(i), B(o), B(De), B(se), B(fe)), oe && oe.d(E), e[34](null), J.d(), G && G.d(), e[38](null), q.d(), j && j.d(), e[42](null), K.d(), V && V.d(), b && b.d(E), Ue = !1, Oe(Ye);
|
|
4739
4767
|
}
|
|
4740
4768
|
};
|
|
4741
4769
|
}
|
|
4742
|
-
function
|
|
4743
|
-
let t, r, n, s, i,
|
|
4770
|
+
function Ni(e) {
|
|
4771
|
+
let t, r, n, s, i, o, l = (
|
|
4744
4772
|
/*$_*/
|
|
4745
4773
|
e[19]("returnToMenu") + ""
|
|
4746
4774
|
), u, h, c;
|
|
4747
4775
|
return {
|
|
4748
4776
|
c() {
|
|
4749
|
-
t =
|
|
4777
|
+
t = P("div"), r = g("svg"), n = g("g"), s = g("path"), i = F(), o = P("span"), u = I(l), a(s, "id", "Chevron_Right"), a(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
|
|
4750
4778
|
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
|
|
4751
|
-
C52.942,116.507,52.942,124.327,57.633,129.007z`),
|
|
4779
|
+
C52.942,116.507,52.942,124.327,57.633,129.007z`), a(r, "version", "1.1"), a(r, "id", "Capa_1"), a(r, "xmlns", "http://www.w3.org/2000/svg"), a(r, "xmlns:xlink", "http://www.w3.org/1999/xlink"), a(r, "x", "0px"), a(r, "y", "0px"), a(r, "viewBox", "0 0 240.823 240.823"), rn(r, "enable-background", "new 0 0 240.823 240.823"), a(r, "xml:space", "preserve"), a(r, "width", "18px"), a(r, "fill", "var(--emw--color-gray-300, #58586B)"), a(t, "class", "MenuReturnButton");
|
|
4752
4780
|
},
|
|
4753
4781
|
m(f, p) {
|
|
4754
|
-
|
|
4782
|
+
H(f, t, p), d(t, r), d(r, n), d(n, s), d(t, i), d(t, o), d(o, u), h || (c = z(
|
|
4755
4783
|
t,
|
|
4756
4784
|
"click",
|
|
4757
4785
|
/*click_handler_8*/
|
|
@@ -4761,24 +4789,24 @@ function Hi(e) {
|
|
|
4761
4789
|
p(f, p) {
|
|
4762
4790
|
p[0] & /*$_*/
|
|
4763
4791
|
524288 && l !== (l = /*$_*/
|
|
4764
|
-
f[19]("returnToMenu") + "") &&
|
|
4792
|
+
f[19]("returnToMenu") + "") && U(u, l);
|
|
4765
4793
|
},
|
|
4766
4794
|
d(f) {
|
|
4767
4795
|
f && B(t), h = !1, c();
|
|
4768
4796
|
}
|
|
4769
4797
|
};
|
|
4770
4798
|
}
|
|
4771
|
-
function
|
|
4772
|
-
let t, r, n, s, i,
|
|
4799
|
+
function Oi(e) {
|
|
4800
|
+
let t, r, n, s, i, o, l, u, h, c, f = (
|
|
4773
4801
|
/*$_*/
|
|
4774
4802
|
e[19]("titleChangePassword") + ""
|
|
4775
4803
|
), p, m, v;
|
|
4776
4804
|
return {
|
|
4777
4805
|
c() {
|
|
4778
|
-
t =
|
|
4806
|
+
t = P("div"), r = g("svg"), n = g("defs"), s = g("style"), i = I(".aaa{fill:var(--emw--color-primary, #22B04E);;}"), o = g("g"), l = g("g"), u = g("path"), h = F(), c = P("h2"), p = I(f), a(u, "class", "aaa"), a(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), a(u, "transform", "translate(15 15) rotate(180)"), a(l, "transform", "translate(20 158)"), a(o, "transform", "translate(-20 -158)"), a(r, "xmlns", "http://www.w3.org/2000/svg"), a(r, "width", "15"), a(r, "height", "15"), a(r, "viewBox", "0 0 15 15"), a(c, "class", "ChangePasswordTitleMobile"), a(t, "class", "MenuReturnButton");
|
|
4779
4807
|
},
|
|
4780
4808
|
m(w, C) {
|
|
4781
|
-
|
|
4809
|
+
H(w, t, C), d(t, r), d(r, n), d(n, s), d(s, i), d(r, o), d(o, l), d(l, u), d(t, h), d(t, c), d(c, p), m || (v = z(
|
|
4782
4810
|
t,
|
|
4783
4811
|
"click",
|
|
4784
4812
|
/*click_handler*/
|
|
@@ -4788,23 +4816,23 @@ function Ii(e) {
|
|
|
4788
4816
|
p(w, C) {
|
|
4789
4817
|
C[0] & /*$_*/
|
|
4790
4818
|
524288 && f !== (f = /*$_*/
|
|
4791
|
-
w[19]("titleChangePassword") + "") &&
|
|
4819
|
+
w[19]("titleChangePassword") + "") && U(p, f);
|
|
4792
4820
|
},
|
|
4793
4821
|
d(w) {
|
|
4794
4822
|
w && B(t), m = !1, v();
|
|
4795
4823
|
}
|
|
4796
4824
|
};
|
|
4797
4825
|
}
|
|
4798
|
-
function
|
|
4799
|
-
let t, r, n, s, i,
|
|
4826
|
+
function Ri(e) {
|
|
4827
|
+
let t, r, n, s, i, o, l, u, h, c;
|
|
4800
4828
|
return {
|
|
4801
4829
|
c() {
|
|
4802
|
-
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"),
|
|
4830
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), o = g("path"), l = g("circle"), a(o, "class", "a"), a(o, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), a(o, "transform", "translate(0)"), a(l, "class", "a"), a(l, "cx", "2.779"), a(l, "cy", "2.779"), a(l, "r", "2.779"), a(l, "transform", "translate(20.827 30.303)"), a(i, "transform", "translate(-14.185 -27.832)"), a(t, "class", u = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4803
4831
|
(e[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4804
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4832
|
+
(e[20] ? "TogglePasswordVisibilityMobile" : "")), a(t, "xmlns", "http://www.w3.org/2000/svg"), a(t, "width", "18.843"), a(t, "height", "10.5"), a(t, "viewBox", "0 0 18.843 10.5");
|
|
4805
4833
|
},
|
|
4806
4834
|
m(f, p) {
|
|
4807
|
-
|
|
4835
|
+
H(f, t, p), d(t, r), d(r, n), d(n, s), d(t, i), d(i, o), d(i, l), h || (c = z(
|
|
4808
4836
|
t,
|
|
4809
4837
|
"click",
|
|
4810
4838
|
/*click_handler_2*/
|
|
@@ -4815,118 +4843,118 @@ function Mi(e) {
|
|
|
4815
4843
|
p[0] & /*invalidCurrentPassword*/
|
|
4816
4844
|
16 && u !== (u = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4817
4845
|
(f[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4818
|
-
(f[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
4846
|
+
(f[20] ? "TogglePasswordVisibilityMobile" : "")) && a(t, "class", u);
|
|
4819
4847
|
},
|
|
4820
4848
|
d(f) {
|
|
4821
4849
|
f && B(t), h = !1, c();
|
|
4822
4850
|
}
|
|
4823
4851
|
};
|
|
4824
4852
|
}
|
|
4825
|
-
function
|
|
4826
|
-
let t, r, n, s, i,
|
|
4853
|
+
function Li(e) {
|
|
4854
|
+
let t, r, n, s, i, o, l, u, h, c, f, p, m, v, w, C;
|
|
4827
4855
|
return {
|
|
4828
4856
|
c() {
|
|
4829
|
-
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"),
|
|
4857
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), o = g("circle"), l = g("g"), u = g("path"), h = g("path"), c = g("g"), f = g("path"), p = g("path"), m = g("rect"), a(o, "class", "a"), a(o, "cx", "0.05"), a(o, "cy", "0.05"), a(o, "r", "0.05"), a(o, "transform", "translate(121.017 31.148)"), a(u, "class", "a"), a(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), a(u, "transform", "translate(-142.164 -39.123)"), a(h, "class", "a"), a(h, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), a(h, "transform", "translate(-136.413 -42.068)"), a(l, "transform", "translate(117.499 27.37)"), a(f, "class", "a"), a(f, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), a(f, "transform", "translate(-110.856 -33.157)"), a(p, "class", "a"), a(p, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), a(p, "transform", "translate(-130.743 -29.617)"), a(c, "transform", "translate(110.856 24.899)"), a(m, "class", "a"), a(m, "width", "0.972"), a(m, "height", "15.861"), a(m, "rx", "0.486"), a(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), a(i, "transform", "translate(-110.856 -23.242)"), a(t, "class", v = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4830
4858
|
(e[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4831
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4859
|
+
(e[20] ? "TogglePasswordVisibilityMobile" : "")), a(t, "xmlns", "http://www.w3.org/2000/svg"), a(t, "width", "18.844"), a(t, "height", "12.887"), a(t, "viewBox", "0 0 18.844 12.887");
|
|
4832
4860
|
},
|
|
4833
|
-
m(y,
|
|
4834
|
-
|
|
4861
|
+
m(y, A) {
|
|
4862
|
+
H(y, t, A), d(t, r), d(r, n), d(n, s), d(t, i), d(i, o), d(i, l), d(l, u), d(l, h), d(i, c), d(c, f), d(c, p), d(i, m), w || (C = z(
|
|
4835
4863
|
t,
|
|
4836
4864
|
"click",
|
|
4837
4865
|
/*click_handler_1*/
|
|
4838
4866
|
e[35]
|
|
4839
4867
|
), w = !0);
|
|
4840
4868
|
},
|
|
4841
|
-
p(y,
|
|
4842
|
-
|
|
4869
|
+
p(y, A) {
|
|
4870
|
+
A[0] & /*invalidCurrentPassword*/
|
|
4843
4871
|
16 && v !== (v = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4844
4872
|
(y[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4845
|
-
(y[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
4873
|
+
(y[20] ? "TogglePasswordVisibilityMobile" : "")) && a(t, "class", v);
|
|
4846
4874
|
},
|
|
4847
4875
|
d(y) {
|
|
4848
4876
|
y && B(t), w = !1, C();
|
|
4849
4877
|
}
|
|
4850
4878
|
};
|
|
4851
4879
|
}
|
|
4852
|
-
function
|
|
4880
|
+
function fr(e) {
|
|
4853
4881
|
let t;
|
|
4854
|
-
function r(i,
|
|
4882
|
+
function r(i, o) {
|
|
4855
4883
|
return (
|
|
4856
4884
|
/*simplepasswordvalidation*/
|
|
4857
|
-
i[0] == "true" ?
|
|
4885
|
+
i[0] == "true" ? ki : Fi
|
|
4858
4886
|
);
|
|
4859
4887
|
}
|
|
4860
4888
|
let n = r(e), s = n(e);
|
|
4861
4889
|
return {
|
|
4862
4890
|
c() {
|
|
4863
|
-
s.c(), t =
|
|
4891
|
+
s.c(), t = wr();
|
|
4864
4892
|
},
|
|
4865
|
-
m(i,
|
|
4866
|
-
s.m(i,
|
|
4893
|
+
m(i, o) {
|
|
4894
|
+
s.m(i, o), H(i, t, o);
|
|
4867
4895
|
},
|
|
4868
|
-
p(i,
|
|
4869
|
-
n === (n = r(i)) && s ? s.p(i,
|
|
4896
|
+
p(i, o) {
|
|
4897
|
+
n === (n = r(i)) && s ? s.p(i, o) : (s.d(1), s = n(i), s && (s.c(), s.m(t.parentNode, t)));
|
|
4870
4898
|
},
|
|
4871
4899
|
d(i) {
|
|
4872
4900
|
i && B(t), s.d(i);
|
|
4873
4901
|
}
|
|
4874
4902
|
};
|
|
4875
4903
|
}
|
|
4876
|
-
function
|
|
4904
|
+
function Fi(e) {
|
|
4877
4905
|
let t, r = (
|
|
4878
4906
|
/*$_*/
|
|
4879
4907
|
e[19]("invalidPasswordRule") + ""
|
|
4880
4908
|
), n;
|
|
4881
4909
|
return {
|
|
4882
4910
|
c() {
|
|
4883
|
-
t =
|
|
4911
|
+
t = P("p"), n = I(r), a(t, "class", "InvalidInput");
|
|
4884
4912
|
},
|
|
4885
4913
|
m(s, i) {
|
|
4886
|
-
|
|
4914
|
+
H(s, t, i), d(t, n);
|
|
4887
4915
|
},
|
|
4888
4916
|
p(s, i) {
|
|
4889
4917
|
i[0] & /*$_*/
|
|
4890
4918
|
524288 && r !== (r = /*$_*/
|
|
4891
|
-
s[19]("invalidPasswordRule") + "") &&
|
|
4919
|
+
s[19]("invalidPasswordRule") + "") && U(n, r);
|
|
4892
4920
|
},
|
|
4893
4921
|
d(s) {
|
|
4894
4922
|
s && B(t);
|
|
4895
4923
|
}
|
|
4896
4924
|
};
|
|
4897
4925
|
}
|
|
4898
|
-
function
|
|
4926
|
+
function ki(e) {
|
|
4899
4927
|
let t, r = (
|
|
4900
4928
|
/*$_*/
|
|
4901
4929
|
e[19]("simplePasswordError") + ""
|
|
4902
4930
|
), n;
|
|
4903
4931
|
return {
|
|
4904
4932
|
c() {
|
|
4905
|
-
t =
|
|
4933
|
+
t = P("p"), n = I(r), a(t, "class", "InvalidInput");
|
|
4906
4934
|
},
|
|
4907
4935
|
m(s, i) {
|
|
4908
|
-
|
|
4936
|
+
H(s, t, i), d(t, n);
|
|
4909
4937
|
},
|
|
4910
4938
|
p(s, i) {
|
|
4911
4939
|
i[0] & /*$_*/
|
|
4912
4940
|
524288 && r !== (r = /*$_*/
|
|
4913
|
-
s[19]("simplePasswordError") + "") &&
|
|
4941
|
+
s[19]("simplePasswordError") + "") && U(n, r);
|
|
4914
4942
|
},
|
|
4915
4943
|
d(s) {
|
|
4916
4944
|
s && B(t);
|
|
4917
4945
|
}
|
|
4918
4946
|
};
|
|
4919
4947
|
}
|
|
4920
|
-
function
|
|
4921
|
-
let t, r, n, s, i,
|
|
4948
|
+
function Di(e) {
|
|
4949
|
+
let t, r, n, s, i, o, l, u, h, c;
|
|
4922
4950
|
return {
|
|
4923
4951
|
c() {
|
|
4924
|
-
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"),
|
|
4952
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), o = g("path"), l = g("circle"), a(o, "class", "a"), a(o, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), a(o, "transform", "translate(0)"), a(l, "class", "a"), a(l, "cx", "2.779"), a(l, "cy", "2.779"), a(l, "r", "2.779"), a(l, "transform", "translate(20.827 30.303)"), a(i, "transform", "translate(-14.185 -27.832)"), a(t, "class", u = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4925
4953
|
(e[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4926
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4954
|
+
(e[20] ? "TogglePasswordVisibilityMobile" : "")), a(t, "xmlns", "http://www.w3.org/2000/svg"), a(t, "width", "18.843"), a(t, "height", "10.5"), a(t, "viewBox", "0 0 18.843 10.5");
|
|
4927
4955
|
},
|
|
4928
4956
|
m(f, p) {
|
|
4929
|
-
|
|
4957
|
+
H(f, t, p), d(t, r), d(r, n), d(n, s), d(t, i), d(i, o), d(i, l), h || (c = z(
|
|
4930
4958
|
t,
|
|
4931
4959
|
"click",
|
|
4932
4960
|
/*click_handler_4*/
|
|
@@ -4937,140 +4965,140 @@ function Li(e) {
|
|
|
4937
4965
|
p[0] & /*invalidNewPassword*/
|
|
4938
4966
|
32 && u !== (u = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4939
4967
|
(f[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4940
|
-
(f[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
4968
|
+
(f[20] ? "TogglePasswordVisibilityMobile" : "")) && a(t, "class", u);
|
|
4941
4969
|
},
|
|
4942
4970
|
d(f) {
|
|
4943
4971
|
f && B(t), h = !1, c();
|
|
4944
4972
|
}
|
|
4945
4973
|
};
|
|
4946
4974
|
}
|
|
4947
|
-
function
|
|
4948
|
-
let t, r, n, s, i,
|
|
4975
|
+
function Ui(e) {
|
|
4976
|
+
let t, r, n, s, i, o, l, u, h, c, f, p, m, v, w, C;
|
|
4949
4977
|
return {
|
|
4950
4978
|
c() {
|
|
4951
|
-
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"),
|
|
4979
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), o = g("circle"), l = g("g"), u = g("path"), h = g("path"), c = g("g"), f = g("path"), p = g("path"), m = g("rect"), a(o, "class", "a"), a(o, "cx", "0.05"), a(o, "cy", "0.05"), a(o, "r", "0.05"), a(o, "transform", "translate(121.017 31.148)"), a(u, "class", "a"), a(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), a(u, "transform", "translate(-142.164 -39.123)"), a(h, "class", "a"), a(h, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), a(h, "transform", "translate(-136.413 -42.068)"), a(l, "transform", "translate(117.499 27.37)"), a(f, "class", "a"), a(f, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), a(f, "transform", "translate(-110.856 -33.157)"), a(p, "class", "a"), a(p, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), a(p, "transform", "translate(-130.743 -29.617)"), a(c, "transform", "translate(110.856 24.899)"), a(m, "class", "a"), a(m, "width", "0.972"), a(m, "height", "15.861"), a(m, "rx", "0.486"), a(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), a(i, "transform", "translate(-110.856 -23.242)"), a(t, "class", v = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4952
4980
|
(e[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4953
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4981
|
+
(e[20] ? "TogglePasswordVisibilityMobile" : "")), a(t, "xmlns", "http://www.w3.org/2000/svg"), a(t, "width", "18.844"), a(t, "height", "12.887"), a(t, "viewBox", "0 0 18.844 12.887");
|
|
4954
4982
|
},
|
|
4955
|
-
m(y,
|
|
4956
|
-
|
|
4983
|
+
m(y, A) {
|
|
4984
|
+
H(y, t, A), d(t, r), d(r, n), d(n, s), d(t, i), d(i, o), d(i, l), d(l, u), d(l, h), d(i, c), d(c, f), d(c, p), d(i, m), w || (C = z(
|
|
4957
4985
|
t,
|
|
4958
4986
|
"click",
|
|
4959
4987
|
/*click_handler_3*/
|
|
4960
4988
|
e[39]
|
|
4961
4989
|
), w = !0);
|
|
4962
4990
|
},
|
|
4963
|
-
p(y,
|
|
4964
|
-
|
|
4991
|
+
p(y, A) {
|
|
4992
|
+
A[0] & /*invalidNewPassword*/
|
|
4965
4993
|
32 && v !== (v = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4966
4994
|
(y[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4967
|
-
(y[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
4995
|
+
(y[20] ? "TogglePasswordVisibilityMobile" : "")) && a(t, "class", v);
|
|
4968
4996
|
},
|
|
4969
4997
|
d(y) {
|
|
4970
4998
|
y && B(t), w = !1, C();
|
|
4971
4999
|
}
|
|
4972
5000
|
};
|
|
4973
5001
|
}
|
|
4974
|
-
function
|
|
5002
|
+
function $i(e) {
|
|
4975
5003
|
let t;
|
|
4976
|
-
function r(i,
|
|
5004
|
+
function r(i, o) {
|
|
4977
5005
|
return (
|
|
4978
5006
|
/*simplepasswordvalidation*/
|
|
4979
|
-
i[0] == "true" ?
|
|
5007
|
+
i[0] == "true" ? Vi : ji
|
|
4980
5008
|
);
|
|
4981
5009
|
}
|
|
4982
5010
|
let n = r(e), s = n(e);
|
|
4983
5011
|
return {
|
|
4984
5012
|
c() {
|
|
4985
|
-
s.c(), t =
|
|
5013
|
+
s.c(), t = wr();
|
|
4986
5014
|
},
|
|
4987
|
-
m(i,
|
|
4988
|
-
s.m(i,
|
|
5015
|
+
m(i, o) {
|
|
5016
|
+
s.m(i, o), H(i, t, o);
|
|
4989
5017
|
},
|
|
4990
|
-
p(i,
|
|
4991
|
-
n === (n = r(i)) && s ? s.p(i,
|
|
5018
|
+
p(i, o) {
|
|
5019
|
+
n === (n = r(i)) && s ? s.p(i, o) : (s.d(1), s = n(i), s && (s.c(), s.m(t.parentNode, t)));
|
|
4992
5020
|
},
|
|
4993
5021
|
d(i) {
|
|
4994
5022
|
i && B(t), s.d(i);
|
|
4995
5023
|
}
|
|
4996
5024
|
};
|
|
4997
5025
|
}
|
|
4998
|
-
function
|
|
5026
|
+
function Gi(e) {
|
|
4999
5027
|
let t, r = (
|
|
5000
5028
|
/*$_*/
|
|
5001
5029
|
e[19]("invalidNewPassword") + ""
|
|
5002
5030
|
), n;
|
|
5003
5031
|
return {
|
|
5004
5032
|
c() {
|
|
5005
|
-
t =
|
|
5033
|
+
t = P("p"), n = I(r), a(t, "class", "InvalidInputNew");
|
|
5006
5034
|
},
|
|
5007
5035
|
m(s, i) {
|
|
5008
|
-
|
|
5036
|
+
H(s, t, i), d(t, n);
|
|
5009
5037
|
},
|
|
5010
5038
|
p(s, i) {
|
|
5011
5039
|
i[0] & /*$_*/
|
|
5012
5040
|
524288 && r !== (r = /*$_*/
|
|
5013
|
-
s[19]("invalidNewPassword") + "") &&
|
|
5041
|
+
s[19]("invalidNewPassword") + "") && U(n, r);
|
|
5014
5042
|
},
|
|
5015
5043
|
d(s) {
|
|
5016
5044
|
s && B(t);
|
|
5017
5045
|
}
|
|
5018
5046
|
};
|
|
5019
5047
|
}
|
|
5020
|
-
function
|
|
5048
|
+
function ji(e) {
|
|
5021
5049
|
let t, r = (
|
|
5022
5050
|
/*$_*/
|
|
5023
5051
|
e[19]("invalidPasswordRule") + ""
|
|
5024
5052
|
), n;
|
|
5025
5053
|
return {
|
|
5026
5054
|
c() {
|
|
5027
|
-
t =
|
|
5055
|
+
t = P("p"), n = I(r), a(t, "class", "InvalidInput");
|
|
5028
5056
|
},
|
|
5029
5057
|
m(s, i) {
|
|
5030
|
-
|
|
5058
|
+
H(s, t, i), d(t, n);
|
|
5031
5059
|
},
|
|
5032
5060
|
p(s, i) {
|
|
5033
5061
|
i[0] & /*$_*/
|
|
5034
5062
|
524288 && r !== (r = /*$_*/
|
|
5035
|
-
s[19]("invalidPasswordRule") + "") &&
|
|
5063
|
+
s[19]("invalidPasswordRule") + "") && U(n, r);
|
|
5036
5064
|
},
|
|
5037
5065
|
d(s) {
|
|
5038
5066
|
s && B(t);
|
|
5039
5067
|
}
|
|
5040
5068
|
};
|
|
5041
5069
|
}
|
|
5042
|
-
function
|
|
5070
|
+
function Vi(e) {
|
|
5043
5071
|
let t, r = (
|
|
5044
5072
|
/*$_*/
|
|
5045
5073
|
e[19]("simplePasswordError") + ""
|
|
5046
5074
|
), n;
|
|
5047
5075
|
return {
|
|
5048
5076
|
c() {
|
|
5049
|
-
t =
|
|
5077
|
+
t = P("p"), n = I(r), a(t, "class", "InvalidInput");
|
|
5050
5078
|
},
|
|
5051
5079
|
m(s, i) {
|
|
5052
|
-
|
|
5080
|
+
H(s, t, i), d(t, n);
|
|
5053
5081
|
},
|
|
5054
5082
|
p(s, i) {
|
|
5055
5083
|
i[0] & /*$_*/
|
|
5056
5084
|
524288 && r !== (r = /*$_*/
|
|
5057
|
-
s[19]("simplePasswordError") + "") &&
|
|
5085
|
+
s[19]("simplePasswordError") + "") && U(n, r);
|
|
5058
5086
|
},
|
|
5059
5087
|
d(s) {
|
|
5060
5088
|
s && B(t);
|
|
5061
5089
|
}
|
|
5062
5090
|
};
|
|
5063
5091
|
}
|
|
5064
|
-
function
|
|
5065
|
-
let t, r, n, s, i,
|
|
5092
|
+
function zi(e) {
|
|
5093
|
+
let t, r, n, s, i, o, l, u, h, c;
|
|
5066
5094
|
return {
|
|
5067
5095
|
c() {
|
|
5068
|
-
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"),
|
|
5096
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), o = g("path"), l = g("circle"), a(o, "class", "a"), a(o, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), a(o, "transform", "translate(0)"), a(l, "class", "a"), a(l, "cx", "2.779"), a(l, "cy", "2.779"), a(l, "r", "2.779"), a(l, "transform", "translate(20.827 30.303)"), a(i, "transform", "translate(-14.185 -27.832)"), a(t, "class", u = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5069
5097
|
(e[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5070
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
5098
|
+
(e[20] ? "TogglePasswordVisibilityMobile" : "")), a(t, "xmlns", "http://www.w3.org/2000/svg"), a(t, "width", "18.843"), a(t, "height", "10.5"), a(t, "viewBox", "0 0 18.843 10.5");
|
|
5071
5099
|
},
|
|
5072
5100
|
m(f, p) {
|
|
5073
|
-
|
|
5101
|
+
H(f, t, p), d(t, r), d(r, n), d(n, s), d(t, i), d(i, o), d(i, l), h || (c = z(
|
|
5074
5102
|
t,
|
|
5075
5103
|
"click",
|
|
5076
5104
|
/*click_handler_6*/
|
|
@@ -5081,77 +5109,77 @@ function Gi(e) {
|
|
|
5081
5109
|
p[0] & /*invalidConfirmPassword*/
|
|
5082
5110
|
64 && u !== (u = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5083
5111
|
(f[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5084
|
-
(f[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
5112
|
+
(f[20] ? "TogglePasswordVisibilityMobile" : "")) && a(t, "class", u);
|
|
5085
5113
|
},
|
|
5086
5114
|
d(f) {
|
|
5087
5115
|
f && B(t), h = !1, c();
|
|
5088
5116
|
}
|
|
5089
5117
|
};
|
|
5090
5118
|
}
|
|
5091
|
-
function
|
|
5092
|
-
let t, r, n, s, i,
|
|
5119
|
+
function Wi(e) {
|
|
5120
|
+
let t, r, n, s, i, o, l, u, h, c, f, p, m, v, w, C;
|
|
5093
5121
|
return {
|
|
5094
5122
|
c() {
|
|
5095
|
-
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"),
|
|
5123
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), o = g("circle"), l = g("g"), u = g("path"), h = g("path"), c = g("g"), f = g("path"), p = g("path"), m = g("rect"), a(o, "class", "a"), a(o, "cx", "0.05"), a(o, "cy", "0.05"), a(o, "r", "0.05"), a(o, "transform", "translate(121.017 31.148)"), a(u, "class", "a"), a(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), a(u, "transform", "translate(-142.164 -39.123)"), a(h, "class", "a"), a(h, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), a(h, "transform", "translate(-136.413 -42.068)"), a(l, "transform", "translate(117.499 27.37)"), a(f, "class", "a"), a(f, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), a(f, "transform", "translate(-110.856 -33.157)"), a(p, "class", "a"), a(p, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), a(p, "transform", "translate(-130.743 -29.617)"), a(c, "transform", "translate(110.856 24.899)"), a(m, "class", "a"), a(m, "width", "0.972"), a(m, "height", "15.861"), a(m, "rx", "0.486"), a(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), a(i, "transform", "translate(-110.856 -23.242)"), a(t, "class", v = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5096
5124
|
(e[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5097
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
5125
|
+
(e[20] ? "TogglePasswordVisibilityMobile" : "")), a(t, "xmlns", "http://www.w3.org/2000/svg"), a(t, "width", "18.844"), a(t, "height", "12.887"), a(t, "viewBox", "0 0 18.844 12.887");
|
|
5098
5126
|
},
|
|
5099
|
-
m(y,
|
|
5100
|
-
|
|
5127
|
+
m(y, A) {
|
|
5128
|
+
H(y, t, A), d(t, r), d(r, n), d(n, s), d(t, i), d(i, o), d(i, l), d(l, u), d(l, h), d(i, c), d(c, f), d(c, p), d(i, m), w || (C = z(
|
|
5101
5129
|
t,
|
|
5102
5130
|
"click",
|
|
5103
5131
|
/*click_handler_5*/
|
|
5104
5132
|
e[43]
|
|
5105
5133
|
), w = !0);
|
|
5106
5134
|
},
|
|
5107
|
-
p(y,
|
|
5108
|
-
|
|
5135
|
+
p(y, A) {
|
|
5136
|
+
A[0] & /*invalidConfirmPassword*/
|
|
5109
5137
|
64 && v !== (v = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5110
5138
|
(y[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5111
|
-
(y[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
5139
|
+
(y[20] ? "TogglePasswordVisibilityMobile" : "")) && a(t, "class", v);
|
|
5112
5140
|
},
|
|
5113
5141
|
d(y) {
|
|
5114
5142
|
y && B(t), w = !1, C();
|
|
5115
5143
|
}
|
|
5116
5144
|
};
|
|
5117
5145
|
}
|
|
5118
|
-
function
|
|
5146
|
+
function dr(e) {
|
|
5119
5147
|
let t, r = (
|
|
5120
5148
|
/*$_*/
|
|
5121
5149
|
e[19]("confirmPasswordInvalid") + ""
|
|
5122
5150
|
), n;
|
|
5123
5151
|
return {
|
|
5124
5152
|
c() {
|
|
5125
|
-
t =
|
|
5153
|
+
t = P("p"), n = I(r), a(t, "class", "InvalidInput");
|
|
5126
5154
|
},
|
|
5127
5155
|
m(s, i) {
|
|
5128
|
-
|
|
5156
|
+
H(s, t, i), d(t, n);
|
|
5129
5157
|
},
|
|
5130
5158
|
p(s, i) {
|
|
5131
5159
|
i[0] & /*$_*/
|
|
5132
5160
|
524288 && r !== (r = /*$_*/
|
|
5133
|
-
s[19]("confirmPasswordInvalid") + "") &&
|
|
5161
|
+
s[19]("confirmPasswordInvalid") + "") && U(n, r);
|
|
5134
5162
|
},
|
|
5135
5163
|
d(s) {
|
|
5136
5164
|
s && B(t);
|
|
5137
5165
|
}
|
|
5138
5166
|
};
|
|
5139
5167
|
}
|
|
5140
|
-
function
|
|
5168
|
+
function pr(e) {
|
|
5141
5169
|
let t, r, n;
|
|
5142
5170
|
return {
|
|
5143
5171
|
c() {
|
|
5144
|
-
t =
|
|
5172
|
+
t = P("div"), r = P("p"), n = I(
|
|
5145
5173
|
/*errorPasswordChanged*/
|
|
5146
5174
|
e[17]
|
|
5147
|
-
),
|
|
5175
|
+
), a(r, "class", "PasswordChangedError");
|
|
5148
5176
|
},
|
|
5149
5177
|
m(s, i) {
|
|
5150
|
-
|
|
5178
|
+
H(s, t, i), d(t, r), d(r, n);
|
|
5151
5179
|
},
|
|
5152
5180
|
p(s, i) {
|
|
5153
5181
|
i[0] & /*errorPasswordChanged*/
|
|
5154
|
-
131072 &&
|
|
5182
|
+
131072 && U(
|
|
5155
5183
|
n,
|
|
5156
5184
|
/*errorPasswordChanged*/
|
|
5157
5185
|
s[17]
|
|
@@ -5162,208 +5190,208 @@ function dr(e) {
|
|
|
5162
5190
|
}
|
|
5163
5191
|
};
|
|
5164
5192
|
}
|
|
5165
|
-
function
|
|
5193
|
+
function Xi(e) {
|
|
5166
5194
|
let t;
|
|
5167
|
-
function r(i,
|
|
5168
|
-
return
|
|
5195
|
+
function r(i, o) {
|
|
5196
|
+
return Hi;
|
|
5169
5197
|
}
|
|
5170
5198
|
let s = r()(e);
|
|
5171
5199
|
return {
|
|
5172
5200
|
c() {
|
|
5173
|
-
t =
|
|
5201
|
+
t = P("div"), s.c();
|
|
5174
5202
|
},
|
|
5175
|
-
m(i,
|
|
5176
|
-
|
|
5203
|
+
m(i, o) {
|
|
5204
|
+
H(i, t, o), s.m(t, null), e[48](t);
|
|
5177
5205
|
},
|
|
5178
|
-
p(i,
|
|
5179
|
-
s.p(i,
|
|
5206
|
+
p(i, o) {
|
|
5207
|
+
s.p(i, o);
|
|
5180
5208
|
},
|
|
5181
|
-
i:
|
|
5182
|
-
o:
|
|
5209
|
+
i: ne,
|
|
5210
|
+
o: ne,
|
|
5183
5211
|
d(i) {
|
|
5184
5212
|
i && B(t), s.d(), e[48](null);
|
|
5185
5213
|
}
|
|
5186
5214
|
};
|
|
5187
5215
|
}
|
|
5188
|
-
function
|
|
5216
|
+
function Zi(e, t, r) {
|
|
5189
5217
|
let n;
|
|
5190
|
-
|
|
5191
|
-
let { lang: s = "en" } = t, { simplepasswordvalidation: i = "false" } = t, { clientstyling:
|
|
5218
|
+
Jr(e, Ci, (b) => r(19, n = b));
|
|
5219
|
+
let { lang: s = "en" } = t, { simplepasswordvalidation: i = "false" } = t, { clientstyling: o = "" } = t, { clientstylingurl: l = "" } = t, { mbsource: u } = t, { translationurl: h = "" } = t, { passwordregex: c = "" } = t, f, p, m = window.navigator.userAgent, v = Si(m) !== "PC", w = !1;
|
|
5192
5220
|
window.matchMedia("(min-width: 768px)");
|
|
5193
|
-
const
|
|
5221
|
+
const C = {
|
|
5194
5222
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
|
|
5195
5223
|
};
|
|
5196
|
-
let
|
|
5197
|
-
const
|
|
5198
|
-
fetch(h).then((
|
|
5199
|
-
Object.keys(
|
|
5200
|
-
|
|
5224
|
+
let y = !1, A = !1, O = !1, k, D, M, X = !1, ee = !1, $ = !1, R = !1, S = "", Z = "", Q = "", me = !1, ke = "", Y = !1;
|
|
5225
|
+
const Ze = () => {
|
|
5226
|
+
fetch(h).then((E) => E.json()).then((E) => {
|
|
5227
|
+
Object.keys(E).forEach((_) => {
|
|
5228
|
+
hr(_, E[_]);
|
|
5201
5229
|
});
|
|
5202
|
-
}).catch((
|
|
5203
|
-
console.log(
|
|
5230
|
+
}).catch((E) => {
|
|
5231
|
+
console.log(E);
|
|
5204
5232
|
});
|
|
5205
5233
|
};
|
|
5206
|
-
Object.keys(
|
|
5207
|
-
|
|
5234
|
+
Object.keys(cr).forEach((b) => {
|
|
5235
|
+
hr(b, cr[b]);
|
|
5208
5236
|
});
|
|
5209
|
-
const
|
|
5237
|
+
const te = (b) => {
|
|
5210
5238
|
switch (b) {
|
|
5211
5239
|
case "userCurrentPassword":
|
|
5212
|
-
r(10,
|
|
5240
|
+
r(10, X = !X), r(7, k.type = X ? "text" : "password", k);
|
|
5213
5241
|
break;
|
|
5214
5242
|
case "userNewPassword":
|
|
5215
|
-
r(11,
|
|
5243
|
+
r(11, ee = !ee), r(8, D.type = ee ? "text" : "password", D);
|
|
5216
5244
|
break;
|
|
5217
5245
|
case "userConfirmPassword":
|
|
5218
|
-
r(12,
|
|
5246
|
+
r(12, $ = !$), r(9, M.type = $ ? "text" : "password", M);
|
|
5219
5247
|
break;
|
|
5220
5248
|
}
|
|
5221
|
-
},
|
|
5222
|
-
i == "true" && (
|
|
5223
|
-
},
|
|
5224
|
-
|
|
5225
|
-
},
|
|
5226
|
-
!
|
|
5227
|
-
},
|
|
5228
|
-
b.preventDefault(),
|
|
5249
|
+
}, ge = () => {
|
|
5250
|
+
i == "true" && (C.password = /^(?!.* ).{8,20}$/);
|
|
5251
|
+
}, De = (b, E, _) => {
|
|
5252
|
+
_.id === "CurrentPassword" ? r(4, y = !se(E)) : _.id === "NewPassword" ? (r(5, A = !se(E)), S && r(13, R = S === Z), Q && r(6, O = Z === Q ? !se(E) : !0)) : r(6, O = Z === Q ? !se(E) : !0), fe();
|
|
5253
|
+
}, se = (b) => !!C.password.test(b), fe = () => {
|
|
5254
|
+
!y && !A && !O && !R && S && Z && Q ? r(3, w = !0) : r(3, w = !1);
|
|
5255
|
+
}, re = (b) => {
|
|
5256
|
+
b.preventDefault(), w && window.postMessage(
|
|
5229
5257
|
{
|
|
5230
5258
|
type: "ChangePassword",
|
|
5231
|
-
userCurrentPassword:
|
|
5232
|
-
userNewPassword:
|
|
5259
|
+
userCurrentPassword: S,
|
|
5260
|
+
userNewPassword: Z
|
|
5233
5261
|
},
|
|
5234
5262
|
window.location.href
|
|
5235
5263
|
);
|
|
5236
|
-
},
|
|
5264
|
+
}, ue = () => {
|
|
5237
5265
|
window.postMessage(
|
|
5238
5266
|
{
|
|
5239
5267
|
type: "PlayerAccountMenuActive",
|
|
5240
|
-
isMobile:
|
|
5268
|
+
isMobile: v
|
|
5241
5269
|
},
|
|
5242
5270
|
window.location.href
|
|
5243
5271
|
);
|
|
5244
|
-
},
|
|
5272
|
+
}, be = () => {
|
|
5245
5273
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
5246
|
-
},
|
|
5247
|
-
|
|
5248
|
-
},
|
|
5274
|
+
}, we = () => {
|
|
5275
|
+
Bi(s);
|
|
5276
|
+
}, de = (b) => {
|
|
5249
5277
|
if (b.data)
|
|
5250
5278
|
switch (b.data.type) {
|
|
5251
5279
|
case "PasswordChangedSuccessfully":
|
|
5252
|
-
r(2,
|
|
5280
|
+
r(2, me = !0);
|
|
5253
5281
|
break;
|
|
5254
5282
|
case "ShowPasswordChangedError":
|
|
5255
|
-
r(18,
|
|
5283
|
+
r(18, Y = b.data.showErrorPasswordChanged), r(17, ke = b.data.errorPasswordChanged);
|
|
5256
5284
|
break;
|
|
5257
5285
|
}
|
|
5258
5286
|
};
|
|
5259
|
-
|
|
5260
|
-
window.removeEventListener("message",
|
|
5287
|
+
on(() => (window.addEventListener("message", de, !1), () => {
|
|
5288
|
+
window.removeEventListener("message", de);
|
|
5261
5289
|
}));
|
|
5262
|
-
const
|
|
5263
|
-
function
|
|
5264
|
-
|
|
5290
|
+
const Ue = () => ue();
|
|
5291
|
+
function Ye() {
|
|
5292
|
+
S = this.value, r(14, S);
|
|
5265
5293
|
}
|
|
5266
|
-
function
|
|
5267
|
-
|
|
5268
|
-
|
|
5294
|
+
function oe(b) {
|
|
5295
|
+
Se[b ? "unshift" : "push"](() => {
|
|
5296
|
+
k = b, r(7, k);
|
|
5269
5297
|
});
|
|
5270
5298
|
}
|
|
5271
|
-
const
|
|
5272
|
-
function
|
|
5273
|
-
|
|
5299
|
+
const Qe = () => te("userCurrentPassword"), ve = () => te("userCurrentPassword");
|
|
5300
|
+
function J() {
|
|
5301
|
+
Z = this.value, r(15, Z);
|
|
5274
5302
|
}
|
|
5275
|
-
function
|
|
5276
|
-
|
|
5303
|
+
function G(b) {
|
|
5304
|
+
Se[b ? "unshift" : "push"](() => {
|
|
5277
5305
|
D = b, r(8, D);
|
|
5278
5306
|
});
|
|
5279
5307
|
}
|
|
5280
|
-
const
|
|
5281
|
-
function
|
|
5282
|
-
|
|
5308
|
+
const Je = () => te("userNewPassword"), ye = () => te("userNewPassword");
|
|
5309
|
+
function q() {
|
|
5310
|
+
Q = this.value, r(16, Q);
|
|
5283
5311
|
}
|
|
5284
|
-
function
|
|
5285
|
-
|
|
5286
|
-
|
|
5312
|
+
function qe(b) {
|
|
5313
|
+
Se[b ? "unshift" : "push"](() => {
|
|
5314
|
+
M = b, r(9, M);
|
|
5287
5315
|
});
|
|
5288
5316
|
}
|
|
5289
|
-
const
|
|
5290
|
-
function
|
|
5291
|
-
|
|
5317
|
+
const he = () => te("userConfirmPassword"), j = () => te("userConfirmPassword"), Ke = (b) => re(b), _e = () => ue(), K = () => be();
|
|
5318
|
+
function V(b) {
|
|
5319
|
+
Se[b ? "unshift" : "push"](() => {
|
|
5292
5320
|
f = b, r(1, f);
|
|
5293
5321
|
});
|
|
5294
5322
|
}
|
|
5295
5323
|
return e.$$set = (b) => {
|
|
5296
|
-
"lang" in b && r(26, s = b.lang), "simplepasswordvalidation" in b && r(0, i = b.simplepasswordvalidation), "clientstyling" in b && r(27,
|
|
5324
|
+
"lang" in b && r(26, s = b.lang), "simplepasswordvalidation" in b && r(0, i = b.simplepasswordvalidation), "clientstyling" in b && r(27, o = b.clientstyling), "clientstylingurl" in b && r(28, l = b.clientstylingurl), "mbsource" in b && r(29, u = b.mbsource), "translationurl" in b && r(30, h = b.translationurl), "passwordregex" in b && r(31, c = b.passwordregex);
|
|
5297
5325
|
}, e.$$.update = () => {
|
|
5298
5326
|
e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
5299
|
-
1 && i &&
|
|
5300
|
-
1 && c && (
|
|
5301
|
-
67108864 && s &&
|
|
5327
|
+
1 && i && ge(), e.$$.dirty[1] & /*passwordregex*/
|
|
5328
|
+
1 && c && (C.password = new RegExp(c)), e.$$.dirty[0] & /*lang*/
|
|
5329
|
+
67108864 && s && we(), e.$$.dirty[0] & /*passwordChanged*/
|
|
5302
5330
|
4, e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5303
|
-
134217730 &&
|
|
5304
|
-
268435458 && l && f &&
|
|
5305
|
-
536870914 && u && f &&
|
|
5306
|
-
1073741824 && h &&
|
|
5331
|
+
134217730 && o && f && yn(f, o), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5332
|
+
268435458 && l && f && _n(f, l), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5333
|
+
536870914 && u && f && Pn(f, `${u}.Style`, p), e.$$.dirty[0] & /*translationurl*/
|
|
5334
|
+
1073741824 && h && Ze();
|
|
5307
5335
|
}, [
|
|
5308
5336
|
i,
|
|
5309
5337
|
f,
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
C,
|
|
5338
|
+
me,
|
|
5339
|
+
w,
|
|
5313
5340
|
y,
|
|
5314
|
-
|
|
5315
|
-
R,
|
|
5316
|
-
D,
|
|
5317
|
-
U,
|
|
5341
|
+
A,
|
|
5318
5342
|
O,
|
|
5343
|
+
k,
|
|
5344
|
+
D,
|
|
5345
|
+
M,
|
|
5319
5346
|
X,
|
|
5320
5347
|
ee,
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5348
|
+
$,
|
|
5349
|
+
R,
|
|
5350
|
+
S,
|
|
5324
5351
|
Z,
|
|
5325
|
-
|
|
5326
|
-
|
|
5352
|
+
Q,
|
|
5353
|
+
ke,
|
|
5354
|
+
Y,
|
|
5327
5355
|
n,
|
|
5328
|
-
|
|
5356
|
+
v,
|
|
5357
|
+
te,
|
|
5358
|
+
De,
|
|
5329
5359
|
re,
|
|
5360
|
+
ue,
|
|
5330
5361
|
be,
|
|
5331
|
-
le,
|
|
5332
|
-
Q,
|
|
5333
|
-
de,
|
|
5334
5362
|
s,
|
|
5335
|
-
|
|
5363
|
+
o,
|
|
5336
5364
|
l,
|
|
5337
5365
|
u,
|
|
5338
5366
|
h,
|
|
5339
5367
|
c,
|
|
5340
|
-
we,
|
|
5341
5368
|
Ue,
|
|
5342
|
-
Ze,
|
|
5343
|
-
se,
|
|
5344
5369
|
Ye,
|
|
5370
|
+
oe,
|
|
5371
|
+
Qe,
|
|
5345
5372
|
ve,
|
|
5346
5373
|
J,
|
|
5347
|
-
|
|
5348
|
-
|
|
5374
|
+
G,
|
|
5375
|
+
Je,
|
|
5349
5376
|
ye,
|
|
5350
5377
|
q,
|
|
5351
|
-
Je,
|
|
5352
|
-
ue,
|
|
5353
|
-
V,
|
|
5354
5378
|
qe,
|
|
5379
|
+
he,
|
|
5380
|
+
j,
|
|
5381
|
+
Ke,
|
|
5355
5382
|
_e,
|
|
5356
|
-
K
|
|
5383
|
+
K,
|
|
5384
|
+
V
|
|
5357
5385
|
];
|
|
5358
5386
|
}
|
|
5359
|
-
class
|
|
5387
|
+
class Yi extends wn {
|
|
5360
5388
|
constructor(t) {
|
|
5361
|
-
super(),
|
|
5389
|
+
super(), gn(
|
|
5362
5390
|
this,
|
|
5363
5391
|
t,
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5392
|
+
Zi,
|
|
5393
|
+
Xi,
|
|
5394
|
+
gr,
|
|
5367
5395
|
{
|
|
5368
5396
|
lang: 26,
|
|
5369
5397
|
simplepasswordvalidation: 0,
|
|
@@ -5373,7 +5401,7 @@ class Wi extends bn {
|
|
|
5373
5401
|
translationurl: 30,
|
|
5374
5402
|
passwordregex: 31
|
|
5375
5403
|
},
|
|
5376
|
-
|
|
5404
|
+
Ai,
|
|
5377
5405
|
[-1, -1]
|
|
5378
5406
|
);
|
|
5379
5407
|
}
|
|
@@ -5381,46 +5409,46 @@ class Wi extends bn {
|
|
|
5381
5409
|
return this.$$.ctx[26];
|
|
5382
5410
|
}
|
|
5383
5411
|
set lang(t) {
|
|
5384
|
-
this.$$set({ lang: t }),
|
|
5412
|
+
this.$$set({ lang: t }), ae();
|
|
5385
5413
|
}
|
|
5386
5414
|
get simplepasswordvalidation() {
|
|
5387
5415
|
return this.$$.ctx[0];
|
|
5388
5416
|
}
|
|
5389
5417
|
set simplepasswordvalidation(t) {
|
|
5390
|
-
this.$$set({ simplepasswordvalidation: t }),
|
|
5418
|
+
this.$$set({ simplepasswordvalidation: t }), ae();
|
|
5391
5419
|
}
|
|
5392
5420
|
get clientstyling() {
|
|
5393
5421
|
return this.$$.ctx[27];
|
|
5394
5422
|
}
|
|
5395
5423
|
set clientstyling(t) {
|
|
5396
|
-
this.$$set({ clientstyling: t }),
|
|
5424
|
+
this.$$set({ clientstyling: t }), ae();
|
|
5397
5425
|
}
|
|
5398
5426
|
get clientstylingurl() {
|
|
5399
5427
|
return this.$$.ctx[28];
|
|
5400
5428
|
}
|
|
5401
5429
|
set clientstylingurl(t) {
|
|
5402
|
-
this.$$set({ clientstylingurl: t }),
|
|
5430
|
+
this.$$set({ clientstylingurl: t }), ae();
|
|
5403
5431
|
}
|
|
5404
5432
|
get mbsource() {
|
|
5405
5433
|
return this.$$.ctx[29];
|
|
5406
5434
|
}
|
|
5407
5435
|
set mbsource(t) {
|
|
5408
|
-
this.$$set({ mbsource: t }),
|
|
5436
|
+
this.$$set({ mbsource: t }), ae();
|
|
5409
5437
|
}
|
|
5410
5438
|
get translationurl() {
|
|
5411
5439
|
return this.$$.ctx[30];
|
|
5412
5440
|
}
|
|
5413
5441
|
set translationurl(t) {
|
|
5414
|
-
this.$$set({ translationurl: t }),
|
|
5442
|
+
this.$$set({ translationurl: t }), ae();
|
|
5415
5443
|
}
|
|
5416
5444
|
get passwordregex() {
|
|
5417
5445
|
return this.$$.ctx[31];
|
|
5418
5446
|
}
|
|
5419
5447
|
set passwordregex(t) {
|
|
5420
|
-
this.$$set({ passwordregex: t }),
|
|
5448
|
+
this.$$set({ passwordregex: t }), ae();
|
|
5421
5449
|
}
|
|
5422
5450
|
}
|
|
5423
|
-
|
|
5451
|
+
bn(Yi, { lang: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, passwordregex: {} }, [], [], !0);
|
|
5424
5452
|
export {
|
|
5425
|
-
|
|
5453
|
+
Yi as P
|
|
5426
5454
|
};
|