@everymatrix/player-change-password-nd 1.64.4 → 1.64.6
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/{PlayerChangePasswordNd-BAWSzm4_.js → PlayerChangePasswordNd-DiDF_EZs.js} +1195 -1197
- package/components/{PlayerChangePasswordNd-DkK691CC.cjs → PlayerChangePasswordNd-DiU0PHqE.cjs} +6 -6
- package/components/{PlayerChangePasswordNd-DNw3y4zU.js → PlayerChangePasswordNd-tze61fXZ.js} +1175 -1177
- package/es2015/player-change-password-nd.cjs +1 -1
- package/es2015/player-change-password-nd.js +1 -1
- package/esnext/player-change-password-nd.js +1 -1
- package/package.json +1 -1
package/components/{PlayerChangePasswordNd-BAWSzm4_.js → PlayerChangePasswordNd-DiDF_EZs.js}
RENAMED
|
@@ -11,23 +11,23 @@ var mt = (e, t, r) => t in e ? tn(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
11
11
|
return e;
|
|
12
12
|
}, zt = (e, t) => rn(e, nn(t));
|
|
13
13
|
var ee = (e, t, r) => (mt(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
-
var Wt = (e, t, r) => new Promise((n,
|
|
15
|
-
var
|
|
14
|
+
var Wt = (e, t, r) => new Promise((n, i) => {
|
|
15
|
+
var s = (u) => {
|
|
16
16
|
try {
|
|
17
17
|
l(r.next(u));
|
|
18
18
|
} catch (h) {
|
|
19
|
-
|
|
19
|
+
i(h);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, a = (u) => {
|
|
22
22
|
try {
|
|
23
23
|
l(r.throw(u));
|
|
24
24
|
} catch (h) {
|
|
25
|
-
|
|
25
|
+
i(h);
|
|
26
26
|
}
|
|
27
|
-
}, l = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(
|
|
27
|
+
}, l = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(s, a);
|
|
28
28
|
l((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function re() {
|
|
31
31
|
}
|
|
32
32
|
function yr(e) {
|
|
33
33
|
return e();
|
|
@@ -38,26 +38,26 @@ function Xt() {
|
|
|
38
38
|
function Oe(e) {
|
|
39
39
|
e.forEach(yr);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Be(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function _r(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
47
|
function on(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Pr(e, ...t) {
|
|
51
51
|
if (e == null) {
|
|
52
52
|
for (const n of t)
|
|
53
53
|
n(void 0);
|
|
54
|
-
return
|
|
54
|
+
return re;
|
|
55
55
|
}
|
|
56
56
|
const r = e.subscribe(...t);
|
|
57
57
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
58
58
|
}
|
|
59
59
|
function ln(e, t, r) {
|
|
60
|
-
e.$$.on_destroy.push(
|
|
60
|
+
e.$$.on_destroy.push(Pr(t, r));
|
|
61
61
|
}
|
|
62
62
|
function d(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
@@ -65,8 +65,8 @@ function d(e, t) {
|
|
|
65
65
|
function un(e, t, r) {
|
|
66
66
|
const n = hn(e);
|
|
67
67
|
if (!n.getElementById(t)) {
|
|
68
|
-
const
|
|
69
|
-
|
|
68
|
+
const i = _("style");
|
|
69
|
+
i.id = t, i.textContent = r, cn(n, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
function hn(e) {
|
|
@@ -86,10 +86,10 @@ function cn(e, t) {
|
|
|
86
86
|
t
|
|
87
87
|
), t.sheet;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function A(e, t, r) {
|
|
90
90
|
e.insertBefore(t, r || null);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function B(e) {
|
|
93
93
|
e.parentNode && e.parentNode.removeChild(e);
|
|
94
94
|
}
|
|
95
95
|
function _(e) {
|
|
@@ -98,14 +98,14 @@ function _(e) {
|
|
|
98
98
|
function g(e) {
|
|
99
99
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function I(e) {
|
|
102
102
|
return document.createTextNode(e);
|
|
103
103
|
}
|
|
104
104
|
function F() {
|
|
105
|
-
return
|
|
105
|
+
return I(" ");
|
|
106
106
|
}
|
|
107
|
-
function
|
|
108
|
-
return
|
|
107
|
+
function Er() {
|
|
108
|
+
return I("");
|
|
109
109
|
}
|
|
110
110
|
function z(e, t, r, n) {
|
|
111
111
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
@@ -116,11 +116,11 @@ function o(e, t, r) {
|
|
|
116
116
|
function fn(e) {
|
|
117
117
|
return Array.from(e.childNodes);
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function $(e, t) {
|
|
120
120
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
121
121
|
t);
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function Ee(e, t) {
|
|
124
124
|
e.value = t == null ? "" : t;
|
|
125
125
|
}
|
|
126
126
|
function dn(e, t, r, n) {
|
|
@@ -135,94 +135,94 @@ function pn(e) {
|
|
|
135
135
|
}
|
|
136
136
|
), t;
|
|
137
137
|
}
|
|
138
|
-
let
|
|
139
|
-
function
|
|
140
|
-
|
|
138
|
+
let Ve;
|
|
139
|
+
function je(e) {
|
|
140
|
+
Ve = e;
|
|
141
141
|
}
|
|
142
142
|
function mn() {
|
|
143
|
-
if (!
|
|
143
|
+
if (!Ve)
|
|
144
144
|
throw new Error("Function called outside component initialization");
|
|
145
|
-
return
|
|
145
|
+
return Ve;
|
|
146
146
|
}
|
|
147
147
|
function gn(e) {
|
|
148
148
|
mn().$$.on_mount.push(e);
|
|
149
149
|
}
|
|
150
|
-
const
|
|
150
|
+
const Ce = [], Se = [];
|
|
151
151
|
let Ae = [];
|
|
152
152
|
const Zt = [], bn = /* @__PURE__ */ Promise.resolve();
|
|
153
|
-
let
|
|
153
|
+
let xt = !1;
|
|
154
154
|
function wn() {
|
|
155
|
-
|
|
155
|
+
xt || (xt = !0, bn.then(ae));
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function Tt(e) {
|
|
158
158
|
Ae.push(e);
|
|
159
159
|
}
|
|
160
160
|
const gt = /* @__PURE__ */ new Set();
|
|
161
|
-
let
|
|
162
|
-
function
|
|
163
|
-
if (
|
|
161
|
+
let xe = 0;
|
|
162
|
+
function ae() {
|
|
163
|
+
if (xe !== 0)
|
|
164
164
|
return;
|
|
165
|
-
const e =
|
|
165
|
+
const e = Ve;
|
|
166
166
|
do {
|
|
167
167
|
try {
|
|
168
|
-
for (;
|
|
169
|
-
const t =
|
|
170
|
-
|
|
168
|
+
for (; xe < Ce.length; ) {
|
|
169
|
+
const t = Ce[xe];
|
|
170
|
+
xe++, je(t), vn(t.$$);
|
|
171
171
|
}
|
|
172
172
|
} catch (t) {
|
|
173
|
-
throw
|
|
173
|
+
throw Ce.length = 0, xe = 0, t;
|
|
174
174
|
}
|
|
175
|
-
for (
|
|
176
|
-
|
|
175
|
+
for (je(null), Ce.length = 0, xe = 0; Se.length; )
|
|
176
|
+
Se.pop()();
|
|
177
177
|
for (let t = 0; t < Ae.length; t += 1) {
|
|
178
178
|
const r = Ae[t];
|
|
179
179
|
gt.has(r) || (gt.add(r), r());
|
|
180
180
|
}
|
|
181
181
|
Ae.length = 0;
|
|
182
|
-
} while (
|
|
182
|
+
} while (Ce.length);
|
|
183
183
|
for (; Zt.length; )
|
|
184
184
|
Zt.pop()();
|
|
185
|
-
|
|
185
|
+
xt = !1, gt.clear(), je(e);
|
|
186
186
|
}
|
|
187
187
|
function vn(e) {
|
|
188
188
|
if (e.fragment !== null) {
|
|
189
189
|
e.update(), Oe(e.before_update);
|
|
190
190
|
const t = e.dirty;
|
|
191
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
191
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Tt);
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
function yn(e) {
|
|
195
195
|
const t = [], r = [];
|
|
196
196
|
Ae.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Ae = t;
|
|
197
197
|
}
|
|
198
|
-
const
|
|
199
|
-
function
|
|
200
|
-
e && e.i && (
|
|
198
|
+
const _n = /* @__PURE__ */ new Set();
|
|
199
|
+
function Pn(e, t) {
|
|
200
|
+
e && e.i && (_n.delete(e), e.i(t));
|
|
201
201
|
}
|
|
202
|
-
function
|
|
203
|
-
const { fragment: n, after_update:
|
|
204
|
-
n && n.m(t, r),
|
|
205
|
-
const
|
|
206
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
|
207
|
-
}),
|
|
202
|
+
function En(e, t, r) {
|
|
203
|
+
const { fragment: n, after_update: i } = e.$$;
|
|
204
|
+
n && n.m(t, r), Tt(() => {
|
|
205
|
+
const s = e.$$.on_mount.map(yr).filter(Be);
|
|
206
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Oe(s), e.$$.on_mount = [];
|
|
207
|
+
}), i.forEach(Tt);
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function xn(e, t) {
|
|
210
210
|
const r = e.$$;
|
|
211
211
|
r.fragment !== null && (yn(r.after_update), Oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
212
212
|
}
|
|
213
|
-
function
|
|
214
|
-
e.$$.dirty[0] === -1 && (
|
|
213
|
+
function Tn(e, t) {
|
|
214
|
+
e.$$.dirty[0] === -1 && (Ce.push(e), wn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
215
215
|
}
|
|
216
|
-
function
|
|
217
|
-
const u =
|
|
218
|
-
|
|
216
|
+
function Cn(e, t, r, n, i, s, a = null, l = [-1]) {
|
|
217
|
+
const u = Ve;
|
|
218
|
+
je(e);
|
|
219
219
|
const h = e.$$ = {
|
|
220
220
|
fragment: null,
|
|
221
221
|
ctx: [],
|
|
222
222
|
// state
|
|
223
|
-
props:
|
|
224
|
-
update:
|
|
225
|
-
not_equal:
|
|
223
|
+
props: s,
|
|
224
|
+
update: re,
|
|
225
|
+
not_equal: i,
|
|
226
226
|
bound: Xt(),
|
|
227
227
|
// lifecycle
|
|
228
228
|
on_mount: [],
|
|
@@ -237,23 +237,23 @@ function Tn(e, t, r, n, s, a, i = null, l = [-1]) {
|
|
|
237
237
|
skip_bound: !1,
|
|
238
238
|
root: t.target || u.$$.root
|
|
239
239
|
};
|
|
240
|
-
|
|
240
|
+
a && a(h.root);
|
|
241
241
|
let c = !1;
|
|
242
242
|
if (h.ctx = r ? r(e, t.props || {}, (f, p, ...m) => {
|
|
243
|
-
const
|
|
244
|
-
return h.ctx &&
|
|
243
|
+
const v = m.length ? m[0] : p;
|
|
244
|
+
return h.ctx && i(h.ctx[f], h.ctx[f] = v) && (!h.skip_bound && h.bound[f] && h.bound[f](v), c && Tn(e, f)), p;
|
|
245
245
|
}) : [], h.update(), c = !0, Oe(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
|
|
246
246
|
if (t.hydrate) {
|
|
247
247
|
const f = fn(t.target);
|
|
248
|
-
h.fragment && h.fragment.l(f), f.forEach(
|
|
248
|
+
h.fragment && h.fragment.l(f), f.forEach(B);
|
|
249
249
|
} else
|
|
250
250
|
h.fragment && h.fragment.c();
|
|
251
|
-
t.intro &&
|
|
251
|
+
t.intro && Pn(e.$$.fragment), En(e, t.target, t.anchor), ae();
|
|
252
252
|
}
|
|
253
|
-
|
|
253
|
+
je(u);
|
|
254
254
|
}
|
|
255
|
-
let
|
|
256
|
-
typeof HTMLElement == "function" && (
|
|
255
|
+
let xr;
|
|
256
|
+
typeof HTMLElement == "function" && (xr = class extends HTMLElement {
|
|
257
257
|
constructor(t, r, n) {
|
|
258
258
|
super();
|
|
259
259
|
/** The Svelte component constructor */
|
|
@@ -278,36 +278,36 @@ typeof HTMLElement == "function" && (Er = class extends HTMLElement {
|
|
|
278
278
|
}
|
|
279
279
|
addEventListener(t, r, n) {
|
|
280
280
|
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
|
|
281
|
-
const
|
|
282
|
-
this.$$l_u.set(r,
|
|
281
|
+
const i = this.$$c.$on(t, r);
|
|
282
|
+
this.$$l_u.set(r, i);
|
|
283
283
|
}
|
|
284
284
|
super.addEventListener(t, r, n);
|
|
285
285
|
}
|
|
286
286
|
removeEventListener(t, r, n) {
|
|
287
287
|
if (super.removeEventListener(t, r, n), this.$$c) {
|
|
288
|
-
const
|
|
289
|
-
|
|
288
|
+
const i = this.$$l_u.get(r);
|
|
289
|
+
i && (i(), this.$$l_u.delete(r));
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
connectedCallback() {
|
|
293
293
|
return Wt(this, null, function* () {
|
|
294
294
|
if (this.$$cn = !0, !this.$$c) {
|
|
295
|
-
let t = function(
|
|
295
|
+
let t = function(s) {
|
|
296
296
|
return () => {
|
|
297
|
-
let
|
|
297
|
+
let a;
|
|
298
298
|
return {
|
|
299
299
|
c: function() {
|
|
300
|
-
|
|
300
|
+
a = _("slot"), s !== "default" && o(a, "name", s);
|
|
301
301
|
},
|
|
302
302
|
/**
|
|
303
303
|
* @param {HTMLElement} target
|
|
304
304
|
* @param {HTMLElement} [anchor]
|
|
305
305
|
*/
|
|
306
306
|
m: function(h, c) {
|
|
307
|
-
|
|
307
|
+
A(h, a, c);
|
|
308
308
|
},
|
|
309
309
|
d: function(h) {
|
|
310
|
-
h &&
|
|
310
|
+
h && B(a);
|
|
311
311
|
}
|
|
312
312
|
};
|
|
313
313
|
};
|
|
@@ -315,14 +315,14 @@ typeof HTMLElement == "function" && (Er = class extends HTMLElement {
|
|
|
315
315
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
316
316
|
return;
|
|
317
317
|
const r = {}, n = pn(this);
|
|
318
|
-
for (const
|
|
319
|
-
|
|
320
|
-
for (const
|
|
321
|
-
const
|
|
322
|
-
|
|
318
|
+
for (const s of this.$$s)
|
|
319
|
+
s in n && (r[s] = [t(s)]);
|
|
320
|
+
for (const s of this.attributes) {
|
|
321
|
+
const a = this.$$g_p(s.name);
|
|
322
|
+
a in this.$$d || (this.$$d[a] = rt(a, s.value, this.$$p_d, "toProp"));
|
|
323
323
|
}
|
|
324
|
-
for (const
|
|
325
|
-
!(
|
|
324
|
+
for (const s in this.$$p_d)
|
|
325
|
+
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
326
326
|
this.$$c = new this.$$ctor({
|
|
327
327
|
target: this.shadowRoot || this,
|
|
328
328
|
props: zt(Vt({}, this.$$d), {
|
|
@@ -332,25 +332,25 @@ typeof HTMLElement == "function" && (Er = class extends HTMLElement {
|
|
|
332
332
|
}
|
|
333
333
|
})
|
|
334
334
|
});
|
|
335
|
-
const
|
|
335
|
+
const i = () => {
|
|
336
336
|
this.$$r = !0;
|
|
337
|
-
for (const
|
|
338
|
-
if (this.$$d[
|
|
339
|
-
const
|
|
340
|
-
|
|
341
|
-
this.$$d[
|
|
337
|
+
for (const s in this.$$p_d)
|
|
338
|
+
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
339
|
+
const a = rt(
|
|
340
|
+
s,
|
|
341
|
+
this.$$d[s],
|
|
342
342
|
this.$$p_d,
|
|
343
343
|
"toAttribute"
|
|
344
344
|
);
|
|
345
|
-
|
|
345
|
+
a == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, a);
|
|
346
346
|
}
|
|
347
347
|
this.$$r = !1;
|
|
348
348
|
};
|
|
349
|
-
this.$$c.$$.after_update.push(
|
|
350
|
-
for (const
|
|
351
|
-
for (const
|
|
352
|
-
const l = this.$$c.$on(
|
|
353
|
-
this.$$l_u.set(
|
|
349
|
+
this.$$c.$$.after_update.push(i), i();
|
|
350
|
+
for (const s in this.$$l)
|
|
351
|
+
for (const a of this.$$l[s]) {
|
|
352
|
+
const l = this.$$c.$on(s, a);
|
|
353
|
+
this.$$l_u.set(a, l);
|
|
354
354
|
}
|
|
355
355
|
this.$$l = {};
|
|
356
356
|
}
|
|
@@ -359,8 +359,8 @@ typeof HTMLElement == "function" && (Er = class extends HTMLElement {
|
|
|
359
359
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
360
360
|
// and setting attributes through setAttribute etc, this is helpful
|
|
361
361
|
attributeChangedCallback(t, r, n) {
|
|
362
|
-
var
|
|
363
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] = rt(t, n, this.$$p_d, "toProp"), (
|
|
362
|
+
var i;
|
|
363
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = rt(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
364
364
|
}
|
|
365
365
|
disconnectedCallback() {
|
|
366
366
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -374,12 +374,12 @@ typeof HTMLElement == "function" && (Er = class extends HTMLElement {
|
|
|
374
374
|
}
|
|
375
375
|
});
|
|
376
376
|
function rt(e, t, r, n) {
|
|
377
|
-
var
|
|
378
|
-
const
|
|
379
|
-
if (t =
|
|
377
|
+
var s;
|
|
378
|
+
const i = (s = r[e]) == null ? void 0 : s.type;
|
|
379
|
+
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
380
380
|
return t;
|
|
381
381
|
if (n === "toAttribute")
|
|
382
|
-
switch (
|
|
382
|
+
switch (i) {
|
|
383
383
|
case "Object":
|
|
384
384
|
case "Array":
|
|
385
385
|
return t == null ? null : JSON.stringify(t);
|
|
@@ -391,7 +391,7 @@ function rt(e, t, r, n) {
|
|
|
391
391
|
return t;
|
|
392
392
|
}
|
|
393
393
|
else
|
|
394
|
-
switch (
|
|
394
|
+
switch (i) {
|
|
395
395
|
case "Object":
|
|
396
396
|
case "Array":
|
|
397
397
|
return t && JSON.parse(t);
|
|
@@ -403,10 +403,10 @@ function rt(e, t, r, n) {
|
|
|
403
403
|
return t;
|
|
404
404
|
}
|
|
405
405
|
}
|
|
406
|
-
function
|
|
407
|
-
let
|
|
406
|
+
function Sn(e, t, r, n, i, s) {
|
|
407
|
+
let a = class extends xr {
|
|
408
408
|
constructor() {
|
|
409
|
-
super(e, r,
|
|
409
|
+
super(e, r, i), this.$$p_d = t;
|
|
410
410
|
}
|
|
411
411
|
static get observedAttributes() {
|
|
412
412
|
return Object.keys(t).map(
|
|
@@ -415,7 +415,7 @@ function Bn(e, t, r, n, s, a) {
|
|
|
415
415
|
}
|
|
416
416
|
};
|
|
417
417
|
return Object.keys(t).forEach((l) => {
|
|
418
|
-
Object.defineProperty(
|
|
418
|
+
Object.defineProperty(a.prototype, l, {
|
|
419
419
|
get() {
|
|
420
420
|
return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
|
|
421
421
|
},
|
|
@@ -425,16 +425,16 @@ function Bn(e, t, r, n, s, a) {
|
|
|
425
425
|
}
|
|
426
426
|
});
|
|
427
427
|
}), n.forEach((l) => {
|
|
428
|
-
Object.defineProperty(
|
|
428
|
+
Object.defineProperty(a.prototype, l, {
|
|
429
429
|
get() {
|
|
430
430
|
var u;
|
|
431
431
|
return (u = this.$$c) == null ? void 0 : u[l];
|
|
432
432
|
}
|
|
433
433
|
});
|
|
434
434
|
}), e.element = /** @type {any} */
|
|
435
|
-
|
|
435
|
+
a, a;
|
|
436
436
|
}
|
|
437
|
-
class
|
|
437
|
+
class Bn {
|
|
438
438
|
constructor() {
|
|
439
439
|
/**
|
|
440
440
|
* ### PRIVATE API
|
|
@@ -455,7 +455,7 @@ class Sn {
|
|
|
455
455
|
}
|
|
456
456
|
/** @returns {void} */
|
|
457
457
|
$destroy() {
|
|
458
|
-
|
|
458
|
+
xn(this, 1), this.$destroy = re;
|
|
459
459
|
}
|
|
460
460
|
/**
|
|
461
461
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -464,12 +464,12 @@ class Sn {
|
|
|
464
464
|
* @returns {() => void}
|
|
465
465
|
*/
|
|
466
466
|
$on(t, r) {
|
|
467
|
-
if (!
|
|
468
|
-
return
|
|
467
|
+
if (!Be(r))
|
|
468
|
+
return re;
|
|
469
469
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
470
470
|
return n.push(r), () => {
|
|
471
|
-
const
|
|
472
|
-
|
|
471
|
+
const i = n.indexOf(r);
|
|
472
|
+
i !== -1 && n.splice(i, 1);
|
|
473
473
|
};
|
|
474
474
|
}
|
|
475
475
|
/**
|
|
@@ -496,24 +496,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
496
496
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
497
497
|
PERFORMANCE OF THIS SOFTWARE.
|
|
498
498
|
***************************************************************************** */
|
|
499
|
-
var
|
|
500
|
-
return
|
|
499
|
+
var Ct = function(e, t) {
|
|
500
|
+
return Ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
501
501
|
r.__proto__ = n;
|
|
502
502
|
} || function(r, n) {
|
|
503
|
-
for (var
|
|
504
|
-
Object.prototype.hasOwnProperty.call(n,
|
|
505
|
-
},
|
|
503
|
+
for (var i in n)
|
|
504
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
505
|
+
}, Ct(e, t);
|
|
506
506
|
};
|
|
507
|
-
function
|
|
507
|
+
function Xe(e, t) {
|
|
508
508
|
if (typeof t != "function" && t !== null)
|
|
509
509
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
510
|
-
|
|
510
|
+
Ct(e, t);
|
|
511
511
|
function r() {
|
|
512
512
|
this.constructor = e;
|
|
513
513
|
}
|
|
514
514
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function St(e) {
|
|
517
517
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
518
518
|
if (r)
|
|
519
519
|
return r.call(e);
|
|
@@ -525,51 +525,51 @@ function Bt(e) {
|
|
|
525
525
|
};
|
|
526
526
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
527
527
|
}
|
|
528
|
-
function
|
|
528
|
+
function Bt(e, t) {
|
|
529
529
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
530
530
|
if (!r)
|
|
531
531
|
return e;
|
|
532
|
-
var n = r.call(e),
|
|
532
|
+
var n = r.call(e), i, s = [], a;
|
|
533
533
|
try {
|
|
534
|
-
for (; (t === void 0 || t-- > 0) && !(
|
|
535
|
-
|
|
534
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
535
|
+
s.push(i.value);
|
|
536
536
|
} catch (l) {
|
|
537
|
-
|
|
537
|
+
a = { error: l };
|
|
538
538
|
} finally {
|
|
539
539
|
try {
|
|
540
|
-
|
|
540
|
+
i && !i.done && (r = n.return) && r.call(n);
|
|
541
541
|
} finally {
|
|
542
|
-
if (
|
|
543
|
-
throw
|
|
542
|
+
if (a)
|
|
543
|
+
throw a.error;
|
|
544
544
|
}
|
|
545
545
|
}
|
|
546
|
-
return
|
|
546
|
+
return s;
|
|
547
547
|
}
|
|
548
548
|
function At(e, t, r) {
|
|
549
549
|
if (arguments.length === 2)
|
|
550
|
-
for (var n = 0,
|
|
551
|
-
(
|
|
552
|
-
return e.concat(
|
|
550
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
|
551
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
552
|
+
return e.concat(s || t);
|
|
553
553
|
}
|
|
554
|
-
function
|
|
554
|
+
function oe(e) {
|
|
555
555
|
return typeof e == "function";
|
|
556
556
|
}
|
|
557
|
-
function
|
|
557
|
+
function Tr(e) {
|
|
558
558
|
var t = function(n) {
|
|
559
559
|
Error.call(n), n.stack = new Error().stack;
|
|
560
560
|
}, r = e(t);
|
|
561
561
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
562
562
|
}
|
|
563
|
-
var bt =
|
|
563
|
+
var bt = Tr(function(e) {
|
|
564
564
|
return function(r) {
|
|
565
565
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
566
|
-
` + r.map(function(n,
|
|
567
|
-
return
|
|
566
|
+
` + r.map(function(n, i) {
|
|
567
|
+
return i + 1 + ") " + n.toString();
|
|
568
568
|
}).join(`
|
|
569
569
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
570
570
|
};
|
|
571
571
|
});
|
|
572
|
-
function
|
|
572
|
+
function Ht(e, t) {
|
|
573
573
|
if (e) {
|
|
574
574
|
var r = e.indexOf(t);
|
|
575
575
|
0 <= r && e.splice(r, 1);
|
|
@@ -580,19 +580,19 @@ var ut = function() {
|
|
|
580
580
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
581
581
|
}
|
|
582
582
|
return e.prototype.unsubscribe = function() {
|
|
583
|
-
var t, r, n,
|
|
583
|
+
var t, r, n, i, s;
|
|
584
584
|
if (!this.closed) {
|
|
585
585
|
this.closed = !0;
|
|
586
|
-
var
|
|
587
|
-
if (
|
|
588
|
-
if (this._parentage = null, Array.isArray(
|
|
586
|
+
var a = this._parentage;
|
|
587
|
+
if (a)
|
|
588
|
+
if (this._parentage = null, Array.isArray(a))
|
|
589
589
|
try {
|
|
590
|
-
for (var l =
|
|
590
|
+
for (var l = St(a), u = l.next(); !u.done; u = l.next()) {
|
|
591
591
|
var h = u.value;
|
|
592
592
|
h.remove(this);
|
|
593
593
|
}
|
|
594
|
-
} catch (
|
|
595
|
-
t = { error:
|
|
594
|
+
} catch (w) {
|
|
595
|
+
t = { error: w };
|
|
596
596
|
} finally {
|
|
597
597
|
try {
|
|
598
598
|
u && !u.done && (r = l.return) && r.call(l);
|
|
@@ -602,45 +602,45 @@ var ut = function() {
|
|
|
602
602
|
}
|
|
603
603
|
}
|
|
604
604
|
else
|
|
605
|
-
|
|
605
|
+
a.remove(this);
|
|
606
606
|
var c = this.initialTeardown;
|
|
607
|
-
if (
|
|
607
|
+
if (oe(c))
|
|
608
608
|
try {
|
|
609
609
|
c();
|
|
610
|
-
} catch (
|
|
611
|
-
|
|
610
|
+
} catch (w) {
|
|
611
|
+
s = w instanceof bt ? w.errors : [w];
|
|
612
612
|
}
|
|
613
613
|
var f = this._finalizers;
|
|
614
614
|
if (f) {
|
|
615
615
|
this._finalizers = null;
|
|
616
616
|
try {
|
|
617
|
-
for (var p =
|
|
618
|
-
var
|
|
617
|
+
for (var p = St(f), m = p.next(); !m.done; m = p.next()) {
|
|
618
|
+
var v = m.value;
|
|
619
619
|
try {
|
|
620
|
-
|
|
621
|
-
} catch (
|
|
622
|
-
|
|
620
|
+
Yt(v);
|
|
621
|
+
} catch (w) {
|
|
622
|
+
s = s != null ? s : [], w instanceof bt ? s = At(At([], Bt(s)), Bt(w.errors)) : s.push(w);
|
|
623
623
|
}
|
|
624
624
|
}
|
|
625
|
-
} catch (
|
|
626
|
-
n = { error:
|
|
625
|
+
} catch (w) {
|
|
626
|
+
n = { error: w };
|
|
627
627
|
} finally {
|
|
628
628
|
try {
|
|
629
|
-
m && !m.done && (
|
|
629
|
+
m && !m.done && (i = p.return) && i.call(p);
|
|
630
630
|
} finally {
|
|
631
631
|
if (n)
|
|
632
632
|
throw n.error;
|
|
633
633
|
}
|
|
634
634
|
}
|
|
635
635
|
}
|
|
636
|
-
if (
|
|
637
|
-
throw new bt(
|
|
636
|
+
if (s)
|
|
637
|
+
throw new bt(s);
|
|
638
638
|
}
|
|
639
639
|
}, e.prototype.add = function(t) {
|
|
640
640
|
var r;
|
|
641
641
|
if (t && t !== this)
|
|
642
642
|
if (this.closed)
|
|
643
|
-
|
|
643
|
+
Yt(t);
|
|
644
644
|
else {
|
|
645
645
|
if (t instanceof e) {
|
|
646
646
|
if (t.closed || t._hasParent(this))
|
|
@@ -657,28 +657,28 @@ var ut = function() {
|
|
|
657
657
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
658
658
|
}, e.prototype._removeParent = function(t) {
|
|
659
659
|
var r = this._parentage;
|
|
660
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
660
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ht(r, t);
|
|
661
661
|
}, e.prototype.remove = function(t) {
|
|
662
662
|
var r = this._finalizers;
|
|
663
|
-
r &&
|
|
663
|
+
r && Ht(r, t), t instanceof e && t._removeParent(this);
|
|
664
664
|
}, e.EMPTY = function() {
|
|
665
665
|
var t = new e();
|
|
666
666
|
return t.closed = !0, t;
|
|
667
667
|
}(), e;
|
|
668
|
-
}(),
|
|
669
|
-
function
|
|
670
|
-
return e instanceof ut || e && "closed" in e &&
|
|
668
|
+
}(), Cr = ut.EMPTY;
|
|
669
|
+
function Sr(e) {
|
|
670
|
+
return e instanceof ut || e && "closed" in e && oe(e.remove) && oe(e.add) && oe(e.unsubscribe);
|
|
671
671
|
}
|
|
672
|
-
function
|
|
673
|
-
|
|
672
|
+
function Yt(e) {
|
|
673
|
+
oe(e) ? e() : e.unsubscribe();
|
|
674
674
|
}
|
|
675
|
-
var
|
|
675
|
+
var Hn = {
|
|
676
676
|
Promise: void 0
|
|
677
|
-
},
|
|
677
|
+
}, In = {
|
|
678
678
|
setTimeout: function(e, t) {
|
|
679
679
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
680
680
|
r[n - 2] = arguments[n];
|
|
681
|
-
return setTimeout.apply(void 0, At([e, t],
|
|
681
|
+
return setTimeout.apply(void 0, At([e, t], Bt(r)));
|
|
682
682
|
},
|
|
683
683
|
clearTimeout: function(e) {
|
|
684
684
|
return clearTimeout(e);
|
|
@@ -686,23 +686,23 @@ var In = {
|
|
|
686
686
|
delegate: void 0
|
|
687
687
|
};
|
|
688
688
|
function Mn(e) {
|
|
689
|
-
|
|
689
|
+
In.setTimeout(function() {
|
|
690
690
|
throw e;
|
|
691
691
|
});
|
|
692
692
|
}
|
|
693
|
-
function
|
|
693
|
+
function Qt() {
|
|
694
694
|
}
|
|
695
695
|
function nt(e) {
|
|
696
696
|
e();
|
|
697
697
|
}
|
|
698
|
-
var
|
|
699
|
-
|
|
698
|
+
var Br = function(e) {
|
|
699
|
+
Xe(t, e);
|
|
700
700
|
function t(r) {
|
|
701
701
|
var n = e.call(this) || this;
|
|
702
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
702
|
+
return n.isStopped = !1, r ? (n.destination = r, Sr(r) && r.add(n)) : n.destination = Rn, n;
|
|
703
703
|
}
|
|
704
|
-
return t.create = function(r, n,
|
|
705
|
-
return new
|
|
704
|
+
return t.create = function(r, n, i) {
|
|
705
|
+
return new It(r, n, i);
|
|
706
706
|
}, t.prototype.next = function(r) {
|
|
707
707
|
this.isStopped || this._next(r);
|
|
708
708
|
}, t.prototype.error = function(r) {
|
|
@@ -757,18 +757,18 @@ var Sr = function(e) {
|
|
|
757
757
|
et(r);
|
|
758
758
|
}
|
|
759
759
|
}, e;
|
|
760
|
-
}(),
|
|
761
|
-
|
|
762
|
-
function t(r, n,
|
|
763
|
-
var
|
|
764
|
-
return
|
|
760
|
+
}(), It = function(e) {
|
|
761
|
+
Xe(t, e);
|
|
762
|
+
function t(r, n, i) {
|
|
763
|
+
var s = e.call(this) || this, a;
|
|
764
|
+
return oe(r) || !r ? a = {
|
|
765
765
|
next: r != null ? r : void 0,
|
|
766
766
|
error: n != null ? n : void 0,
|
|
767
|
-
complete:
|
|
768
|
-
} :
|
|
767
|
+
complete: i != null ? i : void 0
|
|
768
|
+
} : a = r, s.destination = new Nn(a), s;
|
|
769
769
|
}
|
|
770
770
|
return t;
|
|
771
|
-
}(
|
|
771
|
+
}(Br);
|
|
772
772
|
function et(e) {
|
|
773
773
|
Mn(e);
|
|
774
774
|
}
|
|
@@ -777,19 +777,19 @@ function On(e) {
|
|
|
777
777
|
}
|
|
778
778
|
var Rn = {
|
|
779
779
|
closed: !0,
|
|
780
|
-
next:
|
|
780
|
+
next: Qt,
|
|
781
781
|
error: On,
|
|
782
|
-
complete:
|
|
782
|
+
complete: Qt
|
|
783
783
|
}, Ln = function() {
|
|
784
784
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
785
785
|
}();
|
|
786
|
-
function
|
|
786
|
+
function kn(e) {
|
|
787
787
|
return e;
|
|
788
788
|
}
|
|
789
|
-
function
|
|
790
|
-
return e.length === 0 ?
|
|
791
|
-
return e.reduce(function(n,
|
|
792
|
-
return
|
|
789
|
+
function Fn(e) {
|
|
790
|
+
return e.length === 0 ? kn : e.length === 1 ? e[0] : function(r) {
|
|
791
|
+
return e.reduce(function(n, i) {
|
|
792
|
+
return i(n);
|
|
793
793
|
}, r);
|
|
794
794
|
};
|
|
795
795
|
}
|
|
@@ -801,11 +801,11 @@ var Jt = function() {
|
|
|
801
801
|
var r = new e();
|
|
802
802
|
return r.source = this, r.operator = t, r;
|
|
803
803
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
804
|
-
var
|
|
804
|
+
var i = this, s = Dn(t) ? t : new It(t, r, n);
|
|
805
805
|
return nt(function() {
|
|
806
|
-
var
|
|
807
|
-
|
|
808
|
-
}),
|
|
806
|
+
var a = i, l = a.operator, u = a.source;
|
|
807
|
+
s.add(l ? l.call(s, u) : u ? i._subscribe(s) : i._trySubscribe(s));
|
|
808
|
+
}), s;
|
|
809
809
|
}, e.prototype._trySubscribe = function(t) {
|
|
810
810
|
try {
|
|
811
811
|
return this._subscribe(t);
|
|
@@ -814,19 +814,19 @@ var Jt = function() {
|
|
|
814
814
|
}
|
|
815
815
|
}, e.prototype.forEach = function(t, r) {
|
|
816
816
|
var n = this;
|
|
817
|
-
return r = qt(r), new r(function(
|
|
818
|
-
var
|
|
817
|
+
return r = qt(r), new r(function(i, s) {
|
|
818
|
+
var a = new It({
|
|
819
819
|
next: function(l) {
|
|
820
820
|
try {
|
|
821
821
|
t(l);
|
|
822
822
|
} catch (u) {
|
|
823
|
-
|
|
823
|
+
s(u), a.unsubscribe();
|
|
824
824
|
}
|
|
825
825
|
},
|
|
826
|
-
error:
|
|
827
|
-
complete:
|
|
826
|
+
error: s,
|
|
827
|
+
complete: i
|
|
828
828
|
});
|
|
829
|
-
n.subscribe(
|
|
829
|
+
n.subscribe(a);
|
|
830
830
|
});
|
|
831
831
|
}, e.prototype._subscribe = function(t) {
|
|
832
832
|
var r;
|
|
@@ -836,17 +836,17 @@ var Jt = function() {
|
|
|
836
836
|
}, e.prototype.pipe = function() {
|
|
837
837
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
838
838
|
t[r] = arguments[r];
|
|
839
|
-
return
|
|
839
|
+
return Fn(t)(this);
|
|
840
840
|
}, e.prototype.toPromise = function(t) {
|
|
841
841
|
var r = this;
|
|
842
|
-
return t = qt(t), new t(function(n,
|
|
843
|
-
var
|
|
844
|
-
r.subscribe(function(
|
|
845
|
-
return
|
|
846
|
-
}, function(
|
|
847
|
-
return
|
|
842
|
+
return t = qt(t), new t(function(n, i) {
|
|
843
|
+
var s;
|
|
844
|
+
r.subscribe(function(a) {
|
|
845
|
+
return s = a;
|
|
846
|
+
}, function(a) {
|
|
847
|
+
return i(a);
|
|
848
848
|
}, function() {
|
|
849
|
-
return n(
|
|
849
|
+
return n(s);
|
|
850
850
|
});
|
|
851
851
|
});
|
|
852
852
|
}, e.create = function(t) {
|
|
@@ -855,20 +855,20 @@ var Jt = function() {
|
|
|
855
855
|
}();
|
|
856
856
|
function qt(e) {
|
|
857
857
|
var t;
|
|
858
|
-
return (t = e != null ? e :
|
|
859
|
-
}
|
|
860
|
-
function Dn(e) {
|
|
861
|
-
return e && ue(e.next) && ue(e.error) && ue(e.complete);
|
|
858
|
+
return (t = e != null ? e : Hn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
862
859
|
}
|
|
863
860
|
function Un(e) {
|
|
864
|
-
return e && e
|
|
861
|
+
return e && oe(e.next) && oe(e.error) && oe(e.complete);
|
|
865
862
|
}
|
|
866
|
-
|
|
863
|
+
function Dn(e) {
|
|
864
|
+
return e && e instanceof Br || Un(e) && Sr(e);
|
|
865
|
+
}
|
|
866
|
+
var $n = Tr(function(e) {
|
|
867
867
|
return function() {
|
|
868
868
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
869
869
|
};
|
|
870
870
|
}), Ar = function(e) {
|
|
871
|
-
|
|
871
|
+
Xe(t, e);
|
|
872
872
|
function t() {
|
|
873
873
|
var r = e.call(this) || this;
|
|
874
874
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
@@ -882,22 +882,22 @@ var $n = Cr(function(e) {
|
|
|
882
882
|
}, t.prototype.next = function(r) {
|
|
883
883
|
var n = this;
|
|
884
884
|
nt(function() {
|
|
885
|
-
var
|
|
885
|
+
var i, s;
|
|
886
886
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
887
887
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
888
888
|
try {
|
|
889
|
-
for (var
|
|
889
|
+
for (var a = St(n.currentObservers), l = a.next(); !l.done; l = a.next()) {
|
|
890
890
|
var u = l.value;
|
|
891
891
|
u.next(r);
|
|
892
892
|
}
|
|
893
893
|
} catch (h) {
|
|
894
|
-
|
|
894
|
+
i = { error: h };
|
|
895
895
|
} finally {
|
|
896
896
|
try {
|
|
897
|
-
l && !l.done && (
|
|
897
|
+
l && !l.done && (s = a.return) && s.call(a);
|
|
898
898
|
} finally {
|
|
899
|
-
if (
|
|
900
|
-
throw
|
|
899
|
+
if (i)
|
|
900
|
+
throw i.error;
|
|
901
901
|
}
|
|
902
902
|
}
|
|
903
903
|
}
|
|
@@ -907,8 +907,8 @@ var $n = Cr(function(e) {
|
|
|
907
907
|
nt(function() {
|
|
908
908
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
909
909
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
910
|
-
for (var
|
|
911
|
-
|
|
910
|
+
for (var i = n.observers; i.length; )
|
|
911
|
+
i.shift().error(r);
|
|
912
912
|
}
|
|
913
913
|
});
|
|
914
914
|
}, t.prototype.complete = function() {
|
|
@@ -934,13 +934,13 @@ var $n = Cr(function(e) {
|
|
|
934
934
|
}, t.prototype._subscribe = function(r) {
|
|
935
935
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
936
936
|
}, t.prototype._innerSubscribe = function(r) {
|
|
937
|
-
var n = this,
|
|
938
|
-
return
|
|
939
|
-
n.currentObservers = null,
|
|
937
|
+
var n = this, i = this, s = i.hasError, a = i.isStopped, l = i.observers;
|
|
938
|
+
return s || a ? Cr : (this.currentObservers = null, l.push(r), new ut(function() {
|
|
939
|
+
n.currentObservers = null, Ht(l, r);
|
|
940
940
|
}));
|
|
941
941
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
942
|
-
var n = this,
|
|
943
|
-
|
|
942
|
+
var n = this, i = n.hasError, s = n.thrownError, a = n.isStopped;
|
|
943
|
+
i ? r.error(s) : a && r.complete();
|
|
944
944
|
}, t.prototype.asObservable = function() {
|
|
945
945
|
var r = new Jt();
|
|
946
946
|
return r.source = this, r;
|
|
@@ -948,50 +948,50 @@ var $n = Cr(function(e) {
|
|
|
948
948
|
return new Kt(r, n);
|
|
949
949
|
}, t;
|
|
950
950
|
}(Jt), Kt = function(e) {
|
|
951
|
-
|
|
951
|
+
Xe(t, e);
|
|
952
952
|
function t(r, n) {
|
|
953
|
-
var
|
|
954
|
-
return
|
|
953
|
+
var i = e.call(this) || this;
|
|
954
|
+
return i.destination = r, i.source = n, i;
|
|
955
955
|
}
|
|
956
956
|
return t.prototype.next = function(r) {
|
|
957
|
-
var n,
|
|
958
|
-
(
|
|
957
|
+
var n, i;
|
|
958
|
+
(i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
|
|
959
959
|
}, t.prototype.error = function(r) {
|
|
960
|
-
var n,
|
|
961
|
-
(
|
|
960
|
+
var n, i;
|
|
961
|
+
(i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
|
|
962
962
|
}, t.prototype.complete = function() {
|
|
963
963
|
var r, n;
|
|
964
964
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
965
965
|
}, t.prototype._subscribe = function(r) {
|
|
966
|
-
var n,
|
|
967
|
-
return (
|
|
966
|
+
var n, i;
|
|
967
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Cr;
|
|
968
968
|
}, t;
|
|
969
|
-
}(Ar),
|
|
969
|
+
}(Ar), Hr = {
|
|
970
970
|
now: function() {
|
|
971
|
-
return (
|
|
971
|
+
return (Hr.delegate || Date).now();
|
|
972
972
|
},
|
|
973
973
|
delegate: void 0
|
|
974
974
|
}, Gn = function(e) {
|
|
975
|
-
|
|
976
|
-
function t(r, n,
|
|
977
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0),
|
|
978
|
-
var
|
|
979
|
-
return
|
|
975
|
+
Xe(t, e);
|
|
976
|
+
function t(r, n, i) {
|
|
977
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Hr);
|
|
978
|
+
var s = e.call(this) || this;
|
|
979
|
+
return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
|
|
980
980
|
}
|
|
981
981
|
return t.prototype.next = function(r) {
|
|
982
|
-
var n = this,
|
|
983
|
-
|
|
982
|
+
var n = this, i = n.isStopped, s = n._buffer, a = n._infiniteTimeWindow, l = n._timestampProvider, u = n._windowTime;
|
|
983
|
+
i || (s.push(r), !a && s.push(l.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
984
984
|
}, t.prototype._subscribe = function(r) {
|
|
985
985
|
this._throwIfClosed(), this._trimBuffer();
|
|
986
|
-
for (var n = this._innerSubscribe(r),
|
|
986
|
+
for (var n = this._innerSubscribe(r), i = this, s = i._infiniteTimeWindow, a = i._buffer, l = a.slice(), u = 0; u < l.length && !r.closed; u += s ? 1 : 2)
|
|
987
987
|
r.next(l[u]);
|
|
988
988
|
return this._checkFinalizedStatuses(r), n;
|
|
989
989
|
}, t.prototype._trimBuffer = function() {
|
|
990
|
-
var r = this, n = r._bufferSize,
|
|
991
|
-
if (n < 1 / 0 && l <
|
|
992
|
-
for (var u =
|
|
990
|
+
var r = this, n = r._bufferSize, i = r._timestampProvider, s = r._buffer, a = r._infiniteTimeWindow, l = (a ? 1 : 2) * n;
|
|
991
|
+
if (n < 1 / 0 && l < s.length && s.splice(0, s.length - l), !a) {
|
|
992
|
+
for (var u = i.now(), h = 0, c = 1; c < s.length && s[c] <= u; c += 2)
|
|
993
993
|
h = c;
|
|
994
|
-
h &&
|
|
994
|
+
h && s.splice(0, h + 1);
|
|
995
995
|
}
|
|
996
996
|
}, t;
|
|
997
997
|
}(Ar);
|
|
@@ -1001,61 +1001,61 @@ const er = [], tr = {}, jn = (e, t = 0) => {
|
|
|
1001
1001
|
tr[e] = r, er.push(e);
|
|
1002
1002
|
}
|
|
1003
1003
|
return tr[e];
|
|
1004
|
-
},
|
|
1004
|
+
}, Te = [];
|
|
1005
1005
|
function Vn(e, t) {
|
|
1006
1006
|
return {
|
|
1007
1007
|
subscribe: ht(e, t).subscribe
|
|
1008
1008
|
};
|
|
1009
1009
|
}
|
|
1010
|
-
function ht(e, t =
|
|
1010
|
+
function ht(e, t = re) {
|
|
1011
1011
|
let r;
|
|
1012
1012
|
const n = /* @__PURE__ */ new Set();
|
|
1013
|
-
function
|
|
1014
|
-
if (
|
|
1015
|
-
const u = !
|
|
1013
|
+
function i(l) {
|
|
1014
|
+
if (_r(e, l) && (e = l, r)) {
|
|
1015
|
+
const u = !Te.length;
|
|
1016
1016
|
for (const h of n)
|
|
1017
|
-
h[1](),
|
|
1017
|
+
h[1](), Te.push(h, e);
|
|
1018
1018
|
if (u) {
|
|
1019
|
-
for (let h = 0; h <
|
|
1020
|
-
|
|
1021
|
-
|
|
1019
|
+
for (let h = 0; h < Te.length; h += 2)
|
|
1020
|
+
Te[h][0](Te[h + 1]);
|
|
1021
|
+
Te.length = 0;
|
|
1022
1022
|
}
|
|
1023
1023
|
}
|
|
1024
1024
|
}
|
|
1025
|
-
function
|
|
1026
|
-
|
|
1025
|
+
function s(l) {
|
|
1026
|
+
i(l(e));
|
|
1027
1027
|
}
|
|
1028
|
-
function
|
|
1028
|
+
function a(l, u = re) {
|
|
1029
1029
|
const h = [l, u];
|
|
1030
|
-
return n.add(h), n.size === 1 && (r = t(
|
|
1030
|
+
return n.add(h), n.size === 1 && (r = t(i, s) || re), l(e), () => {
|
|
1031
1031
|
n.delete(h), n.size === 0 && r && (r(), r = null);
|
|
1032
1032
|
};
|
|
1033
1033
|
}
|
|
1034
|
-
return { set:
|
|
1034
|
+
return { set: i, update: s, subscribe: a };
|
|
1035
1035
|
}
|
|
1036
1036
|
function Re(e, t, r) {
|
|
1037
|
-
const n = !Array.isArray(e),
|
|
1038
|
-
if (!
|
|
1037
|
+
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1038
|
+
if (!i.every(Boolean))
|
|
1039
1039
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1040
|
-
const
|
|
1041
|
-
return Vn(r, (
|
|
1040
|
+
const s = t.length < 2;
|
|
1041
|
+
return Vn(r, (a, l) => {
|
|
1042
1042
|
let u = !1;
|
|
1043
1043
|
const h = [];
|
|
1044
|
-
let c = 0, f =
|
|
1044
|
+
let c = 0, f = re;
|
|
1045
1045
|
const p = () => {
|
|
1046
1046
|
if (c)
|
|
1047
1047
|
return;
|
|
1048
1048
|
f();
|
|
1049
|
-
const
|
|
1050
|
-
|
|
1051
|
-
}, m =
|
|
1052
|
-
(
|
|
1053
|
-
|
|
1054
|
-
(
|
|
1055
|
-
h[
|
|
1049
|
+
const v = t(n ? h[0] : h, a, l);
|
|
1050
|
+
s ? a(v) : f = Be(v) ? v : re;
|
|
1051
|
+
}, m = i.map(
|
|
1052
|
+
(v, w) => Pr(
|
|
1053
|
+
v,
|
|
1054
|
+
(C) => {
|
|
1055
|
+
h[w] = C, c &= ~(1 << w), u && p();
|
|
1056
1056
|
},
|
|
1057
1057
|
() => {
|
|
1058
|
-
c |= 1 <<
|
|
1058
|
+
c |= 1 << w;
|
|
1059
1059
|
}
|
|
1060
1060
|
)
|
|
1061
1061
|
);
|
|
@@ -1077,73 +1077,73 @@ function Zn(e) {
|
|
|
1077
1077
|
var t = Object.prototype.toString.call(e);
|
|
1078
1078
|
return t === "[object RegExp]" || t === "[object Date]" || Jn(e);
|
|
1079
1079
|
}
|
|
1080
|
-
var
|
|
1080
|
+
var Yn = typeof Symbol == "function" && Symbol.for, Qn = Yn ? Symbol.for("react.element") : 60103;
|
|
1081
1081
|
function Jn(e) {
|
|
1082
|
-
return e.$$typeof ===
|
|
1082
|
+
return e.$$typeof === Qn;
|
|
1083
1083
|
}
|
|
1084
1084
|
function qn(e) {
|
|
1085
1085
|
return Array.isArray(e) ? [] : {};
|
|
1086
1086
|
}
|
|
1087
|
-
function
|
|
1088
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1087
|
+
function ze(e, t) {
|
|
1088
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? He(qn(e), e, t) : e;
|
|
1089
1089
|
}
|
|
1090
1090
|
function Kn(e, t, r) {
|
|
1091
1091
|
return e.concat(t).map(function(n) {
|
|
1092
|
-
return
|
|
1092
|
+
return ze(n, r);
|
|
1093
1093
|
});
|
|
1094
1094
|
}
|
|
1095
|
-
function
|
|
1095
|
+
function ei(e, t) {
|
|
1096
1096
|
if (!t.customMerge)
|
|
1097
|
-
return
|
|
1097
|
+
return He;
|
|
1098
1098
|
var r = t.customMerge(e);
|
|
1099
|
-
return typeof r == "function" ? r :
|
|
1099
|
+
return typeof r == "function" ? r : He;
|
|
1100
1100
|
}
|
|
1101
|
-
function
|
|
1101
|
+
function ti(e) {
|
|
1102
1102
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1103
1103
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1104
1104
|
}) : [];
|
|
1105
1105
|
}
|
|
1106
1106
|
function rr(e) {
|
|
1107
|
-
return Object.keys(e).concat(
|
|
1107
|
+
return Object.keys(e).concat(ti(e));
|
|
1108
1108
|
}
|
|
1109
|
-
function
|
|
1109
|
+
function Ir(e, t) {
|
|
1110
1110
|
try {
|
|
1111
1111
|
return t in e;
|
|
1112
1112
|
} catch (r) {
|
|
1113
1113
|
return !1;
|
|
1114
1114
|
}
|
|
1115
1115
|
}
|
|
1116
|
-
function
|
|
1117
|
-
return
|
|
1116
|
+
function ri(e, t) {
|
|
1117
|
+
return Ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1118
1118
|
}
|
|
1119
|
-
function
|
|
1119
|
+
function ni(e, t, r) {
|
|
1120
1120
|
var n = {};
|
|
1121
|
-
return r.isMergeableObject(e) && rr(e).forEach(function(
|
|
1122
|
-
n[
|
|
1123
|
-
}), rr(t).forEach(function(
|
|
1124
|
-
|
|
1121
|
+
return r.isMergeableObject(e) && rr(e).forEach(function(i) {
|
|
1122
|
+
n[i] = ze(e[i], r);
|
|
1123
|
+
}), rr(t).forEach(function(i) {
|
|
1124
|
+
ri(e, i) || (Ir(e, i) && r.isMergeableObject(t[i]) ? n[i] = ei(i, r)(e[i], t[i], r) : n[i] = ze(t[i], r));
|
|
1125
1125
|
}), n;
|
|
1126
1126
|
}
|
|
1127
|
-
function
|
|
1128
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Wn, r.cloneUnlessOtherwiseSpecified =
|
|
1129
|
-
var n = Array.isArray(t),
|
|
1130
|
-
return
|
|
1127
|
+
function He(e, t, r) {
|
|
1128
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Wn, r.cloneUnlessOtherwiseSpecified = ze;
|
|
1129
|
+
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
1130
|
+
return s ? n ? r.arrayMerge(e, t, r) : ni(e, t, r) : ze(t, r);
|
|
1131
1131
|
}
|
|
1132
|
-
|
|
1132
|
+
He.all = function(t, r) {
|
|
1133
1133
|
if (!Array.isArray(t))
|
|
1134
1134
|
throw new Error("first argument should be an array");
|
|
1135
|
-
return t.reduce(function(n,
|
|
1136
|
-
return
|
|
1135
|
+
return t.reduce(function(n, i) {
|
|
1136
|
+
return He(n, i, r);
|
|
1137
1137
|
}, {});
|
|
1138
1138
|
};
|
|
1139
|
-
var
|
|
1140
|
-
const
|
|
1139
|
+
var ii = He, si = ii;
|
|
1140
|
+
const ai = /* @__PURE__ */ zn(si);
|
|
1141
1141
|
var Mt = function(e, t) {
|
|
1142
1142
|
return Mt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1143
1143
|
r.__proto__ = n;
|
|
1144
1144
|
} || function(r, n) {
|
|
1145
|
-
for (var
|
|
1146
|
-
Object.prototype.hasOwnProperty.call(n,
|
|
1145
|
+
for (var i in n)
|
|
1146
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1147
1147
|
}, Mt(e, t);
|
|
1148
1148
|
};
|
|
1149
1149
|
function ct(e, t) {
|
|
@@ -1157,60 +1157,60 @@ function ct(e, t) {
|
|
|
1157
1157
|
}
|
|
1158
1158
|
var ie = function() {
|
|
1159
1159
|
return ie = Object.assign || function(t) {
|
|
1160
|
-
for (var r, n = 1,
|
|
1160
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1161
1161
|
r = arguments[n];
|
|
1162
|
-
for (var
|
|
1163
|
-
Object.prototype.hasOwnProperty.call(r,
|
|
1162
|
+
for (var s in r)
|
|
1163
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1164
1164
|
}
|
|
1165
1165
|
return t;
|
|
1166
1166
|
}, ie.apply(this, arguments);
|
|
1167
1167
|
};
|
|
1168
|
-
function
|
|
1168
|
+
function oi(e, t) {
|
|
1169
1169
|
var r = {};
|
|
1170
1170
|
for (var n in e)
|
|
1171
1171
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1172
1172
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1173
|
-
for (var
|
|
1174
|
-
t.indexOf(n[
|
|
1173
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1174
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1175
1175
|
return r;
|
|
1176
1176
|
}
|
|
1177
1177
|
function wt(e, t, r) {
|
|
1178
1178
|
if (r || arguments.length === 2)
|
|
1179
|
-
for (var n = 0,
|
|
1180
|
-
(
|
|
1181
|
-
return e.concat(
|
|
1179
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
|
1180
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
1181
|
+
return e.concat(s || Array.prototype.slice.call(t));
|
|
1182
1182
|
}
|
|
1183
1183
|
function vt(e, t) {
|
|
1184
|
-
var r = t && t.cache ? t.cache :
|
|
1185
|
-
return
|
|
1184
|
+
var r = t && t.cache ? t.cache : pi, n = t && t.serializer ? t.serializer : fi, i = t && t.strategy ? t.strategy : hi;
|
|
1185
|
+
return i(e, {
|
|
1186
1186
|
cache: r,
|
|
1187
1187
|
serializer: n
|
|
1188
1188
|
});
|
|
1189
1189
|
}
|
|
1190
|
-
function
|
|
1190
|
+
function li(e) {
|
|
1191
1191
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1192
1192
|
}
|
|
1193
|
-
function
|
|
1194
|
-
var
|
|
1195
|
-
return typeof
|
|
1193
|
+
function ui(e, t, r, n) {
|
|
1194
|
+
var i = li(n) ? n : r(n), s = t.get(i);
|
|
1195
|
+
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
1196
1196
|
}
|
|
1197
1197
|
function Mr(e, t, r) {
|
|
1198
|
-
var n = Array.prototype.slice.call(arguments, 3),
|
|
1199
|
-
return typeof
|
|
1198
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
1199
|
+
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
1200
1200
|
}
|
|
1201
|
-
function Nr(e, t, r, n,
|
|
1202
|
-
return r.bind(t, e, n,
|
|
1201
|
+
function Nr(e, t, r, n, i) {
|
|
1202
|
+
return r.bind(t, e, n, i);
|
|
1203
1203
|
}
|
|
1204
|
-
function
|
|
1205
|
-
var r = e.length === 1 ?
|
|
1204
|
+
function hi(e, t) {
|
|
1205
|
+
var r = e.length === 1 ? ui : Mr;
|
|
1206
1206
|
return Nr(e, this, r, t.cache.create(), t.serializer);
|
|
1207
1207
|
}
|
|
1208
|
-
function
|
|
1208
|
+
function ci(e, t) {
|
|
1209
1209
|
return Nr(e, this, Mr, t.cache.create(), t.serializer);
|
|
1210
1210
|
}
|
|
1211
|
-
var
|
|
1211
|
+
var fi = function() {
|
|
1212
1212
|
return JSON.stringify(arguments);
|
|
1213
|
-
},
|
|
1213
|
+
}, di = (
|
|
1214
1214
|
/** @class */
|
|
1215
1215
|
function() {
|
|
1216
1216
|
function e() {
|
|
@@ -1222,71 +1222,71 @@ var fs = function() {
|
|
|
1222
1222
|
this.cache[t] = r;
|
|
1223
1223
|
}, e;
|
|
1224
1224
|
}()
|
|
1225
|
-
),
|
|
1225
|
+
), pi = {
|
|
1226
1226
|
create: function() {
|
|
1227
|
-
return new
|
|
1227
|
+
return new di();
|
|
1228
1228
|
}
|
|
1229
1229
|
}, yt = {
|
|
1230
|
-
variadic:
|
|
1231
|
-
},
|
|
1232
|
-
return
|
|
1233
|
-
for (var r, n = 1,
|
|
1230
|
+
variadic: ci
|
|
1231
|
+
}, at = function() {
|
|
1232
|
+
return at = Object.assign || function(t) {
|
|
1233
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1234
1234
|
r = arguments[n];
|
|
1235
|
-
for (var
|
|
1236
|
-
Object.prototype.hasOwnProperty.call(r,
|
|
1235
|
+
for (var s in r)
|
|
1236
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1237
1237
|
}
|
|
1238
1238
|
return t;
|
|
1239
|
-
},
|
|
1239
|
+
}, at.apply(this, arguments);
|
|
1240
1240
|
};
|
|
1241
1241
|
var E;
|
|
1242
1242
|
(function(e) {
|
|
1243
1243
|
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";
|
|
1244
1244
|
})(E || (E = {}));
|
|
1245
|
-
var
|
|
1245
|
+
var L;
|
|
1246
1246
|
(function(e) {
|
|
1247
1247
|
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";
|
|
1248
|
-
})(
|
|
1249
|
-
var
|
|
1248
|
+
})(L || (L = {}));
|
|
1249
|
+
var Ie;
|
|
1250
1250
|
(function(e) {
|
|
1251
1251
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1252
|
-
})(
|
|
1252
|
+
})(Ie || (Ie = {}));
|
|
1253
1253
|
function nr(e) {
|
|
1254
|
-
return e.type ===
|
|
1254
|
+
return e.type === L.literal;
|
|
1255
1255
|
}
|
|
1256
|
-
function
|
|
1257
|
-
return e.type ===
|
|
1256
|
+
function mi(e) {
|
|
1257
|
+
return e.type === L.argument;
|
|
1258
1258
|
}
|
|
1259
1259
|
function Or(e) {
|
|
1260
|
-
return e.type ===
|
|
1260
|
+
return e.type === L.number;
|
|
1261
1261
|
}
|
|
1262
1262
|
function Rr(e) {
|
|
1263
|
-
return e.type ===
|
|
1263
|
+
return e.type === L.date;
|
|
1264
1264
|
}
|
|
1265
1265
|
function Lr(e) {
|
|
1266
|
-
return e.type ===
|
|
1267
|
-
}
|
|
1268
|
-
function Fr(e) {
|
|
1269
|
-
return e.type === N.select;
|
|
1266
|
+
return e.type === L.time;
|
|
1270
1267
|
}
|
|
1271
1268
|
function kr(e) {
|
|
1272
|
-
return e.type ===
|
|
1269
|
+
return e.type === L.select;
|
|
1273
1270
|
}
|
|
1274
|
-
function
|
|
1275
|
-
return e.type ===
|
|
1271
|
+
function Fr(e) {
|
|
1272
|
+
return e.type === L.plural;
|
|
1276
1273
|
}
|
|
1277
|
-
function
|
|
1278
|
-
return e.type ===
|
|
1274
|
+
function gi(e) {
|
|
1275
|
+
return e.type === L.pound;
|
|
1279
1276
|
}
|
|
1280
1277
|
function Ur(e) {
|
|
1281
|
-
return
|
|
1278
|
+
return e.type === L.tag;
|
|
1279
|
+
}
|
|
1280
|
+
function Dr(e) {
|
|
1281
|
+
return !!(e && typeof e == "object" && e.type === Ie.number);
|
|
1282
1282
|
}
|
|
1283
1283
|
function Nt(e) {
|
|
1284
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1284
|
+
return !!(e && typeof e == "object" && e.type === Ie.dateTime);
|
|
1285
1285
|
}
|
|
1286
|
-
var $r = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
1287
|
-
function
|
|
1286
|
+
var $r = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, bi = /(?:[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;
|
|
1287
|
+
function wi(e) {
|
|
1288
1288
|
var t = {};
|
|
1289
|
-
return e.replace(
|
|
1289
|
+
return e.replace(bi, function(r) {
|
|
1290
1290
|
var n = r.length;
|
|
1291
1291
|
switch (r[0]) {
|
|
1292
1292
|
case "G":
|
|
@@ -1375,27 +1375,27 @@ function ws(e) {
|
|
|
1375
1375
|
return "";
|
|
1376
1376
|
}), t;
|
|
1377
1377
|
}
|
|
1378
|
-
var
|
|
1379
|
-
return
|
|
1380
|
-
for (var r, n = 1,
|
|
1378
|
+
var k = function() {
|
|
1379
|
+
return k = Object.assign || function(t) {
|
|
1380
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1381
1381
|
r = arguments[n];
|
|
1382
|
-
for (var
|
|
1383
|
-
Object.prototype.hasOwnProperty.call(r,
|
|
1382
|
+
for (var s in r)
|
|
1383
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1384
1384
|
}
|
|
1385
1385
|
return t;
|
|
1386
|
-
},
|
|
1386
|
+
}, k.apply(this, arguments);
|
|
1387
1387
|
};
|
|
1388
|
-
var
|
|
1389
|
-
function
|
|
1388
|
+
var vi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1389
|
+
function yi(e) {
|
|
1390
1390
|
if (e.length === 0)
|
|
1391
1391
|
throw new Error("Number skeleton cannot be empty");
|
|
1392
|
-
for (var t = e.split(
|
|
1392
|
+
for (var t = e.split(vi).filter(function(p) {
|
|
1393
1393
|
return p.length > 0;
|
|
1394
|
-
}), r = [], n = 0,
|
|
1395
|
-
var
|
|
1396
|
-
if (
|
|
1394
|
+
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1395
|
+
var s = i[n], a = s.split("/");
|
|
1396
|
+
if (a.length === 0)
|
|
1397
1397
|
throw new Error("Invalid number skeleton");
|
|
1398
|
-
for (var l =
|
|
1398
|
+
for (var l = a[0], u = a.slice(1), h = 0, c = u; h < c.length; h++) {
|
|
1399
1399
|
var f = c[h];
|
|
1400
1400
|
if (f.length === 0)
|
|
1401
1401
|
throw new Error("Invalid number skeleton");
|
|
@@ -1404,14 +1404,14 @@ function ys(e) {
|
|
|
1404
1404
|
}
|
|
1405
1405
|
return r;
|
|
1406
1406
|
}
|
|
1407
|
-
function
|
|
1407
|
+
function _i(e) {
|
|
1408
1408
|
return e.replace(/^(.*?)-/, "");
|
|
1409
1409
|
}
|
|
1410
|
-
var
|
|
1411
|
-
function
|
|
1410
|
+
var ir = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gr = /^(@+)?(\+|#+)?[rs]?$/g, Pi = /(\*)(0+)|(#+)(0+)|(0+)/g, jr = /^(0+)$/;
|
|
1411
|
+
function sr(e) {
|
|
1412
1412
|
var t = {};
|
|
1413
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gr, function(r, n,
|
|
1414
|
-
return typeof
|
|
1413
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gr, function(r, n, i) {
|
|
1414
|
+
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1415
1415
|
}), t;
|
|
1416
1416
|
}
|
|
1417
1417
|
function Vr(e) {
|
|
@@ -1454,7 +1454,7 @@ function Vr(e) {
|
|
|
1454
1454
|
};
|
|
1455
1455
|
}
|
|
1456
1456
|
}
|
|
1457
|
-
function
|
|
1457
|
+
function Ei(e) {
|
|
1458
1458
|
var t;
|
|
1459
1459
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1460
1460
|
notation: "engineering"
|
|
@@ -1468,14 +1468,14 @@ function xs(e) {
|
|
|
1468
1468
|
}
|
|
1469
1469
|
return t;
|
|
1470
1470
|
}
|
|
1471
|
-
function
|
|
1471
|
+
function ar(e) {
|
|
1472
1472
|
var t = {}, r = Vr(e);
|
|
1473
1473
|
return r || t;
|
|
1474
1474
|
}
|
|
1475
|
-
function
|
|
1475
|
+
function xi(e) {
|
|
1476
1476
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1477
|
-
var
|
|
1478
|
-
switch (
|
|
1477
|
+
var i = n[r];
|
|
1478
|
+
switch (i.stem) {
|
|
1479
1479
|
case "percent":
|
|
1480
1480
|
case "%":
|
|
1481
1481
|
t.style = "percent";
|
|
@@ -1484,7 +1484,7 @@ function Es(e) {
|
|
|
1484
1484
|
t.style = "percent", t.scale = 100;
|
|
1485
1485
|
continue;
|
|
1486
1486
|
case "currency":
|
|
1487
|
-
t.style = "currency", t.currency =
|
|
1487
|
+
t.style = "currency", t.currency = i.options[0];
|
|
1488
1488
|
continue;
|
|
1489
1489
|
case "group-off":
|
|
1490
1490
|
case ",_":
|
|
@@ -1496,7 +1496,7 @@ function Es(e) {
|
|
|
1496
1496
|
continue;
|
|
1497
1497
|
case "measure-unit":
|
|
1498
1498
|
case "unit":
|
|
1499
|
-
t.style = "unit", t.unit =
|
|
1499
|
+
t.style = "unit", t.unit = _i(i.options[0]);
|
|
1500
1500
|
continue;
|
|
1501
1501
|
case "compact-short":
|
|
1502
1502
|
case "K":
|
|
@@ -1507,13 +1507,13 @@ function Es(e) {
|
|
|
1507
1507
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1508
1508
|
continue;
|
|
1509
1509
|
case "scientific":
|
|
1510
|
-
t =
|
|
1511
|
-
return
|
|
1510
|
+
t = k(k(k({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
|
|
1511
|
+
return k(k({}, u), ar(h));
|
|
1512
1512
|
}, {}));
|
|
1513
1513
|
continue;
|
|
1514
1514
|
case "engineering":
|
|
1515
|
-
t =
|
|
1516
|
-
return
|
|
1515
|
+
t = k(k(k({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
|
|
1516
|
+
return k(k({}, u), ar(h));
|
|
1517
1517
|
}, {}));
|
|
1518
1518
|
continue;
|
|
1519
1519
|
case "notation-simple":
|
|
@@ -1532,7 +1532,7 @@ function Es(e) {
|
|
|
1532
1532
|
t.currencyDisplay = "symbol";
|
|
1533
1533
|
continue;
|
|
1534
1534
|
case "scale":
|
|
1535
|
-
t.scale = parseFloat(
|
|
1535
|
+
t.scale = parseFloat(i.options[0]);
|
|
1536
1536
|
continue;
|
|
1537
1537
|
case "rounding-mode-floor":
|
|
1538
1538
|
t.roundingMode = "floor";
|
|
@@ -1556,9 +1556,9 @@ function Es(e) {
|
|
|
1556
1556
|
t.roundingMode = "halfExpand";
|
|
1557
1557
|
continue;
|
|
1558
1558
|
case "integer-width":
|
|
1559
|
-
if (
|
|
1559
|
+
if (i.options.length > 1)
|
|
1560
1560
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1561
|
-
|
|
1561
|
+
i.options[0].replace(Pi, function(u, h, c, f, p, m) {
|
|
1562
1562
|
if (h)
|
|
1563
1563
|
t.minimumIntegerDigits = c.length;
|
|
1564
1564
|
else {
|
|
@@ -1571,28 +1571,28 @@ function Es(e) {
|
|
|
1571
1571
|
});
|
|
1572
1572
|
continue;
|
|
1573
1573
|
}
|
|
1574
|
-
if (jr.test(
|
|
1575
|
-
t.minimumIntegerDigits =
|
|
1574
|
+
if (jr.test(i.stem)) {
|
|
1575
|
+
t.minimumIntegerDigits = i.stem.length;
|
|
1576
1576
|
continue;
|
|
1577
1577
|
}
|
|
1578
|
-
if (
|
|
1579
|
-
if (
|
|
1578
|
+
if (ir.test(i.stem)) {
|
|
1579
|
+
if (i.options.length > 1)
|
|
1580
1580
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1581
|
-
|
|
1581
|
+
i.stem.replace(ir, function(u, h, c, f, p, m) {
|
|
1582
1582
|
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), "";
|
|
1583
1583
|
});
|
|
1584
|
-
var
|
|
1585
|
-
|
|
1584
|
+
var s = i.options[0];
|
|
1585
|
+
s === "w" ? t = k(k({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = k(k({}, t), sr(s)));
|
|
1586
1586
|
continue;
|
|
1587
1587
|
}
|
|
1588
|
-
if (Gr.test(
|
|
1589
|
-
t =
|
|
1588
|
+
if (Gr.test(i.stem)) {
|
|
1589
|
+
t = k(k({}, t), sr(i.stem));
|
|
1590
1590
|
continue;
|
|
1591
1591
|
}
|
|
1592
|
-
var
|
|
1593
|
-
|
|
1594
|
-
var l =
|
|
1595
|
-
l && (t =
|
|
1592
|
+
var a = Vr(i.stem);
|
|
1593
|
+
a && (t = k(k({}, t), a));
|
|
1594
|
+
var l = Ei(i.stem);
|
|
1595
|
+
l && (t = k(k({}, t), l));
|
|
1596
1596
|
}
|
|
1597
1597
|
return t;
|
|
1598
1598
|
}
|
|
@@ -3011,23 +3011,23 @@ var tt = {
|
|
|
3011
3011
|
"h"
|
|
3012
3012
|
]
|
|
3013
3013
|
};
|
|
3014
|
-
function
|
|
3014
|
+
function Ti(e, t) {
|
|
3015
3015
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3016
|
-
var
|
|
3017
|
-
if (
|
|
3018
|
-
for (var
|
|
3019
|
-
|
|
3020
|
-
var
|
|
3016
|
+
var i = e.charAt(n);
|
|
3017
|
+
if (i === "j") {
|
|
3018
|
+
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3019
|
+
s++, n++;
|
|
3020
|
+
var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), u = "a", h = Ci(t);
|
|
3021
3021
|
for ((h == "H" || h == "k") && (l = 0); l-- > 0; )
|
|
3022
3022
|
r += u;
|
|
3023
|
-
for (;
|
|
3023
|
+
for (; a-- > 0; )
|
|
3024
3024
|
r = h + r;
|
|
3025
3025
|
} else
|
|
3026
|
-
|
|
3026
|
+
i === "J" ? r += "H" : r += i;
|
|
3027
3027
|
}
|
|
3028
3028
|
return r;
|
|
3029
3029
|
}
|
|
3030
|
-
function
|
|
3030
|
+
function Ci(e) {
|
|
3031
3031
|
var t = e.hourCycle;
|
|
3032
3032
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3033
3033
|
e.hourCycles && // @ts-ignore
|
|
@@ -3046,23 +3046,23 @@ function Ts(e) {
|
|
|
3046
3046
|
}
|
|
3047
3047
|
var r = e.language, n;
|
|
3048
3048
|
r !== "root" && (n = e.maximize().region);
|
|
3049
|
-
var
|
|
3050
|
-
return
|
|
3049
|
+
var i = tt[n || ""] || tt[r || ""] || tt["".concat(r, "-001")] || tt["001"];
|
|
3050
|
+
return i[0];
|
|
3051
3051
|
}
|
|
3052
|
-
var
|
|
3053
|
-
function
|
|
3052
|
+
var _t, Si = new RegExp("^".concat($r.source, "*")), Bi = new RegExp("".concat($r.source, "*$"));
|
|
3053
|
+
function T(e, t) {
|
|
3054
3054
|
return { start: e, end: t };
|
|
3055
3055
|
}
|
|
3056
|
-
var
|
|
3056
|
+
var Ai = !!String.prototype.startsWith && "_a".startsWith("a", 1), Hi = !!String.fromCodePoint, Ii = !!Object.fromEntries, Mi = !!String.prototype.codePointAt, Ni = !!String.prototype.trimStart, Oi = !!String.prototype.trimEnd, Ri = !!Number.isSafeInteger, Li = Ri ? Number.isSafeInteger : function(e) {
|
|
3057
3057
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3058
3058
|
}, Ot = !0;
|
|
3059
3059
|
try {
|
|
3060
|
-
var
|
|
3061
|
-
Ot = ((
|
|
3060
|
+
var ki = Wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3061
|
+
Ot = ((_t = ki.exec("a")) === null || _t === void 0 ? void 0 : _t[0]) === "a";
|
|
3062
3062
|
} catch (e) {
|
|
3063
3063
|
Ot = !1;
|
|
3064
3064
|
}
|
|
3065
|
-
var or =
|
|
3065
|
+
var or = Ai ? (
|
|
3066
3066
|
// Native
|
|
3067
3067
|
function(t, r, n) {
|
|
3068
3068
|
return t.startsWith(r, n);
|
|
@@ -3072,31 +3072,31 @@ var or = As ? (
|
|
|
3072
3072
|
function(t, r, n) {
|
|
3073
3073
|
return t.slice(n, n + r.length) === r;
|
|
3074
3074
|
}
|
|
3075
|
-
), Rt =
|
|
3075
|
+
), Rt = Hi ? String.fromCodePoint : (
|
|
3076
3076
|
// IE11
|
|
3077
3077
|
function() {
|
|
3078
3078
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
3079
3079
|
t[r] = arguments[r];
|
|
3080
|
-
for (var n = "",
|
|
3081
|
-
if (
|
|
3082
|
-
throw RangeError(
|
|
3083
|
-
n +=
|
|
3080
|
+
for (var n = "", i = t.length, s = 0, a; i > s; ) {
|
|
3081
|
+
if (a = t[s++], a > 1114111)
|
|
3082
|
+
throw RangeError(a + " is not a valid code point");
|
|
3083
|
+
n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
|
|
3084
3084
|
}
|
|
3085
3085
|
return n;
|
|
3086
3086
|
}
|
|
3087
3087
|
), lr = (
|
|
3088
3088
|
// native
|
|
3089
|
-
|
|
3089
|
+
Ii ? Object.fromEntries : (
|
|
3090
3090
|
// Ponyfill
|
|
3091
3091
|
function(t) {
|
|
3092
|
-
for (var r = {}, n = 0,
|
|
3093
|
-
var
|
|
3094
|
-
r[
|
|
3092
|
+
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
3093
|
+
var s = i[n], a = s[0], l = s[1];
|
|
3094
|
+
r[a] = l;
|
|
3095
3095
|
}
|
|
3096
3096
|
return r;
|
|
3097
3097
|
}
|
|
3098
3098
|
)
|
|
3099
|
-
), zr =
|
|
3099
|
+
), zr = Mi ? (
|
|
3100
3100
|
// Native
|
|
3101
3101
|
function(t, r) {
|
|
3102
3102
|
return t.codePointAt(r);
|
|
@@ -3106,11 +3106,11 @@ var or = As ? (
|
|
|
3106
3106
|
function(t, r) {
|
|
3107
3107
|
var n = t.length;
|
|
3108
3108
|
if (!(r < 0 || r >= n)) {
|
|
3109
|
-
var
|
|
3110
|
-
return
|
|
3109
|
+
var i = t.charCodeAt(r), s;
|
|
3110
|
+
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
3111
3111
|
}
|
|
3112
3112
|
}
|
|
3113
|
-
),
|
|
3113
|
+
), Fi = Ni ? (
|
|
3114
3114
|
// Native
|
|
3115
3115
|
function(t) {
|
|
3116
3116
|
return t.trimStart();
|
|
@@ -3118,9 +3118,9 @@ var or = As ? (
|
|
|
3118
3118
|
) : (
|
|
3119
3119
|
// Ponyfill
|
|
3120
3120
|
function(t) {
|
|
3121
|
-
return t.replace(
|
|
3121
|
+
return t.replace(Si, "");
|
|
3122
3122
|
}
|
|
3123
|
-
),
|
|
3123
|
+
), Ui = Oi ? (
|
|
3124
3124
|
// Native
|
|
3125
3125
|
function(t) {
|
|
3126
3126
|
return t.trimEnd();
|
|
@@ -3128,7 +3128,7 @@ var or = As ? (
|
|
|
3128
3128
|
) : (
|
|
3129
3129
|
// Ponyfill
|
|
3130
3130
|
function(t) {
|
|
3131
|
-
return t.replace(
|
|
3131
|
+
return t.replace(Bi, "");
|
|
3132
3132
|
}
|
|
3133
3133
|
);
|
|
3134
3134
|
function Wr(e, t) {
|
|
@@ -3140,20 +3140,20 @@ if (Ot) {
|
|
|
3140
3140
|
Lt = function(t, r) {
|
|
3141
3141
|
var n;
|
|
3142
3142
|
ur.lastIndex = r;
|
|
3143
|
-
var
|
|
3144
|
-
return (n =
|
|
3143
|
+
var i = ur.exec(t);
|
|
3144
|
+
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3145
3145
|
};
|
|
3146
3146
|
} else
|
|
3147
3147
|
Lt = function(t, r) {
|
|
3148
3148
|
for (var n = []; ; ) {
|
|
3149
|
-
var
|
|
3150
|
-
if (
|
|
3149
|
+
var i = zr(t, r);
|
|
3150
|
+
if (i === void 0 || Xr(i) || ji(i))
|
|
3151
3151
|
break;
|
|
3152
|
-
n.push(
|
|
3152
|
+
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3153
3153
|
}
|
|
3154
3154
|
return Rt.apply(void 0, n);
|
|
3155
3155
|
};
|
|
3156
|
-
var
|
|
3156
|
+
var Di = (
|
|
3157
3157
|
/** @class */
|
|
3158
3158
|
function() {
|
|
3159
3159
|
function e(t, r) {
|
|
@@ -3164,107 +3164,107 @@ var Us = (
|
|
|
3164
3164
|
throw Error("parser can only be used once");
|
|
3165
3165
|
return this.parseMessage(0, "", !1);
|
|
3166
3166
|
}, e.prototype.parseMessage = function(t, r, n) {
|
|
3167
|
-
for (var
|
|
3168
|
-
var
|
|
3169
|
-
if (
|
|
3170
|
-
var
|
|
3171
|
-
if (
|
|
3172
|
-
return
|
|
3173
|
-
|
|
3167
|
+
for (var i = []; !this.isEOF(); ) {
|
|
3168
|
+
var s = this.char();
|
|
3169
|
+
if (s === 123) {
|
|
3170
|
+
var a = this.parseArgument(t, n);
|
|
3171
|
+
if (a.err)
|
|
3172
|
+
return a;
|
|
3173
|
+
i.push(a.val);
|
|
3174
3174
|
} else {
|
|
3175
|
-
if (
|
|
3175
|
+
if (s === 125 && t > 0)
|
|
3176
3176
|
break;
|
|
3177
|
-
if (
|
|
3177
|
+
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3178
3178
|
var l = this.clonePosition();
|
|
3179
|
-
this.bump(),
|
|
3180
|
-
type:
|
|
3181
|
-
location:
|
|
3179
|
+
this.bump(), i.push({
|
|
3180
|
+
type: L.pound,
|
|
3181
|
+
location: T(l, this.clonePosition())
|
|
3182
3182
|
});
|
|
3183
|
-
} else if (
|
|
3183
|
+
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3184
3184
|
if (n)
|
|
3185
3185
|
break;
|
|
3186
|
-
return this.error(E.UNMATCHED_CLOSING_TAG,
|
|
3187
|
-
} else if (
|
|
3188
|
-
var
|
|
3189
|
-
if (
|
|
3190
|
-
return
|
|
3191
|
-
|
|
3186
|
+
return this.error(E.UNMATCHED_CLOSING_TAG, T(this.clonePosition(), this.clonePosition()));
|
|
3187
|
+
} else if (s === 60 && !this.ignoreTag && kt(this.peek() || 0)) {
|
|
3188
|
+
var a = this.parseTag(t, r);
|
|
3189
|
+
if (a.err)
|
|
3190
|
+
return a;
|
|
3191
|
+
i.push(a.val);
|
|
3192
3192
|
} else {
|
|
3193
|
-
var
|
|
3194
|
-
if (
|
|
3195
|
-
return
|
|
3196
|
-
|
|
3193
|
+
var a = this.parseLiteral(t, r);
|
|
3194
|
+
if (a.err)
|
|
3195
|
+
return a;
|
|
3196
|
+
i.push(a.val);
|
|
3197
3197
|
}
|
|
3198
3198
|
}
|
|
3199
3199
|
}
|
|
3200
|
-
return { val:
|
|
3200
|
+
return { val: i, err: null };
|
|
3201
3201
|
}, e.prototype.parseTag = function(t, r) {
|
|
3202
3202
|
var n = this.clonePosition();
|
|
3203
3203
|
this.bump();
|
|
3204
|
-
var
|
|
3204
|
+
var i = this.parseTagName();
|
|
3205
3205
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3206
3206
|
return {
|
|
3207
3207
|
val: {
|
|
3208
|
-
type:
|
|
3209
|
-
value: "<".concat(
|
|
3210
|
-
location:
|
|
3208
|
+
type: L.literal,
|
|
3209
|
+
value: "<".concat(i, "/>"),
|
|
3210
|
+
location: T(n, this.clonePosition())
|
|
3211
3211
|
},
|
|
3212
3212
|
err: null
|
|
3213
3213
|
};
|
|
3214
3214
|
if (this.bumpIf(">")) {
|
|
3215
|
-
var
|
|
3216
|
-
if (
|
|
3217
|
-
return
|
|
3218
|
-
var
|
|
3215
|
+
var s = this.parseMessage(t + 1, r, !0);
|
|
3216
|
+
if (s.err)
|
|
3217
|
+
return s;
|
|
3218
|
+
var a = s.val, l = this.clonePosition();
|
|
3219
3219
|
if (this.bumpIf("</")) {
|
|
3220
|
-
if (this.isEOF() || !
|
|
3221
|
-
return this.error(E.INVALID_TAG,
|
|
3220
|
+
if (this.isEOF() || !kt(this.char()))
|
|
3221
|
+
return this.error(E.INVALID_TAG, T(l, this.clonePosition()));
|
|
3222
3222
|
var u = this.clonePosition(), h = this.parseTagName();
|
|
3223
|
-
return
|
|
3223
|
+
return i !== h ? this.error(E.UNMATCHED_CLOSING_TAG, T(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3224
3224
|
val: {
|
|
3225
|
-
type:
|
|
3226
|
-
value:
|
|
3227
|
-
children:
|
|
3228
|
-
location:
|
|
3225
|
+
type: L.tag,
|
|
3226
|
+
value: i,
|
|
3227
|
+
children: a,
|
|
3228
|
+
location: T(n, this.clonePosition())
|
|
3229
3229
|
},
|
|
3230
3230
|
err: null
|
|
3231
|
-
} : this.error(E.INVALID_TAG,
|
|
3231
|
+
} : this.error(E.INVALID_TAG, T(l, this.clonePosition())));
|
|
3232
3232
|
} else
|
|
3233
|
-
return this.error(E.UNCLOSED_TAG,
|
|
3233
|
+
return this.error(E.UNCLOSED_TAG, T(n, this.clonePosition()));
|
|
3234
3234
|
} else
|
|
3235
|
-
return this.error(E.INVALID_TAG,
|
|
3235
|
+
return this.error(E.INVALID_TAG, T(n, this.clonePosition()));
|
|
3236
3236
|
}, e.prototype.parseTagName = function() {
|
|
3237
3237
|
var t = this.offset();
|
|
3238
|
-
for (this.bump(); !this.isEOF() &&
|
|
3238
|
+
for (this.bump(); !this.isEOF() && Gi(this.char()); )
|
|
3239
3239
|
this.bump();
|
|
3240
3240
|
return this.message.slice(t, this.offset());
|
|
3241
3241
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
3242
|
-
for (var n = this.clonePosition(),
|
|
3243
|
-
var
|
|
3244
|
-
if (
|
|
3245
|
-
|
|
3242
|
+
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
3243
|
+
var s = this.tryParseQuote(r);
|
|
3244
|
+
if (s) {
|
|
3245
|
+
i += s;
|
|
3246
3246
|
continue;
|
|
3247
3247
|
}
|
|
3248
|
-
var
|
|
3249
|
-
if (
|
|
3250
|
-
|
|
3248
|
+
var a = this.tryParseUnquoted(t, r);
|
|
3249
|
+
if (a) {
|
|
3250
|
+
i += a;
|
|
3251
3251
|
continue;
|
|
3252
3252
|
}
|
|
3253
3253
|
var l = this.tryParseLeftAngleBracket();
|
|
3254
3254
|
if (l) {
|
|
3255
|
-
|
|
3255
|
+
i += l;
|
|
3256
3256
|
continue;
|
|
3257
3257
|
}
|
|
3258
3258
|
break;
|
|
3259
3259
|
}
|
|
3260
|
-
var u =
|
|
3260
|
+
var u = T(n, this.clonePosition());
|
|
3261
3261
|
return {
|
|
3262
|
-
val: { type:
|
|
3262
|
+
val: { type: L.literal, value: i, location: u },
|
|
3263
3263
|
err: null
|
|
3264
3264
|
};
|
|
3265
3265
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3266
3266
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3267
|
-
!$
|
|
3267
|
+
!$i(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3268
3268
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3269
3269
|
if (this.isEOF() || this.char() !== 39)
|
|
3270
3270
|
return null;
|
|
@@ -3307,40 +3307,40 @@ var Us = (
|
|
|
3307
3307
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3308
3308
|
var n = this.clonePosition();
|
|
3309
3309
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3310
|
-
return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3310
|
+
return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
|
|
3311
3311
|
if (this.char() === 125)
|
|
3312
|
-
return this.bump(), this.error(E.EMPTY_ARGUMENT,
|
|
3313
|
-
var
|
|
3314
|
-
if (!
|
|
3315
|
-
return this.error(E.MALFORMED_ARGUMENT,
|
|
3312
|
+
return this.bump(), this.error(E.EMPTY_ARGUMENT, T(n, this.clonePosition()));
|
|
3313
|
+
var i = this.parseIdentifierIfPossible().value;
|
|
3314
|
+
if (!i)
|
|
3315
|
+
return this.error(E.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
|
|
3316
3316
|
if (this.bumpSpace(), this.isEOF())
|
|
3317
|
-
return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3317
|
+
return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
|
|
3318
3318
|
switch (this.char()) {
|
|
3319
3319
|
case 125:
|
|
3320
3320
|
return this.bump(), {
|
|
3321
3321
|
val: {
|
|
3322
|
-
type:
|
|
3322
|
+
type: L.argument,
|
|
3323
3323
|
// value does not include the opening and closing braces.
|
|
3324
|
-
value:
|
|
3325
|
-
location:
|
|
3324
|
+
value: i,
|
|
3325
|
+
location: T(n, this.clonePosition())
|
|
3326
3326
|
},
|
|
3327
3327
|
err: null
|
|
3328
3328
|
};
|
|
3329
3329
|
case 44:
|
|
3330
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3330
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3331
3331
|
default:
|
|
3332
|
-
return this.error(E.MALFORMED_ARGUMENT,
|
|
3332
|
+
return this.error(E.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
|
|
3333
3333
|
}
|
|
3334
3334
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3335
|
-
var t = this.clonePosition(), r = this.offset(), n = Lt(this.message, r),
|
|
3336
|
-
this.bumpTo(
|
|
3337
|
-
var
|
|
3338
|
-
return { value: n, location:
|
|
3339
|
-
}, e.prototype.parseArgumentOptions = function(t, r, n,
|
|
3340
|
-
var
|
|
3335
|
+
var t = this.clonePosition(), r = this.offset(), n = Lt(this.message, r), i = r + n.length;
|
|
3336
|
+
this.bumpTo(i);
|
|
3337
|
+
var s = this.clonePosition(), a = T(t, s);
|
|
3338
|
+
return { value: n, location: a };
|
|
3339
|
+
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3340
|
+
var s, a = this.clonePosition(), l = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
3341
3341
|
switch (l) {
|
|
3342
3342
|
case "":
|
|
3343
|
-
return this.error(E.EXPECT_ARGUMENT_TYPE,
|
|
3343
|
+
return this.error(E.EXPECT_ARGUMENT_TYPE, T(a, u));
|
|
3344
3344
|
case "number":
|
|
3345
3345
|
case "date":
|
|
3346
3346
|
case "time": {
|
|
@@ -3351,47 +3351,47 @@ var Us = (
|
|
|
3351
3351
|
var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3352
3352
|
if (f.err)
|
|
3353
3353
|
return f;
|
|
3354
|
-
var p =
|
|
3354
|
+
var p = Ui(f.val);
|
|
3355
3355
|
if (p.length === 0)
|
|
3356
|
-
return this.error(E.EXPECT_ARGUMENT_STYLE,
|
|
3357
|
-
var m =
|
|
3356
|
+
return this.error(E.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
|
|
3357
|
+
var m = T(c, this.clonePosition());
|
|
3358
3358
|
h = { style: p, styleLocation: m };
|
|
3359
3359
|
}
|
|
3360
|
-
var
|
|
3361
|
-
if (
|
|
3362
|
-
return
|
|
3363
|
-
var
|
|
3360
|
+
var v = this.tryParseArgumentClose(i);
|
|
3361
|
+
if (v.err)
|
|
3362
|
+
return v;
|
|
3363
|
+
var w = T(i, this.clonePosition());
|
|
3364
3364
|
if (h && or(h == null ? void 0 : h.style, "::", 0)) {
|
|
3365
|
-
var
|
|
3365
|
+
var C = Fi(h.style.slice(2));
|
|
3366
3366
|
if (l === "number") {
|
|
3367
|
-
var f = this.parseNumberSkeletonFromString(
|
|
3367
|
+
var f = this.parseNumberSkeletonFromString(C, h.styleLocation);
|
|
3368
3368
|
return f.err ? f : {
|
|
3369
|
-
val: { type:
|
|
3369
|
+
val: { type: L.number, value: n, location: w, style: f.val },
|
|
3370
3370
|
err: null
|
|
3371
3371
|
};
|
|
3372
3372
|
} else {
|
|
3373
|
-
if (
|
|
3374
|
-
return this.error(E.EXPECT_DATE_TIME_SKELETON,
|
|
3375
|
-
var y =
|
|
3376
|
-
this.locale && (y =
|
|
3373
|
+
if (C.length === 0)
|
|
3374
|
+
return this.error(E.EXPECT_DATE_TIME_SKELETON, w);
|
|
3375
|
+
var y = C;
|
|
3376
|
+
this.locale && (y = Ti(C, this.locale));
|
|
3377
3377
|
var p = {
|
|
3378
|
-
type:
|
|
3378
|
+
type: Ie.dateTime,
|
|
3379
3379
|
pattern: y,
|
|
3380
3380
|
location: h.styleLocation,
|
|
3381
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3382
|
-
},
|
|
3381
|
+
parsedOptions: this.shouldParseSkeletons ? wi(y) : {}
|
|
3382
|
+
}, S = l === "date" ? L.date : L.time;
|
|
3383
3383
|
return {
|
|
3384
|
-
val: { type:
|
|
3384
|
+
val: { type: S, value: n, location: w, style: p },
|
|
3385
3385
|
err: null
|
|
3386
3386
|
};
|
|
3387
3387
|
}
|
|
3388
3388
|
}
|
|
3389
3389
|
return {
|
|
3390
3390
|
val: {
|
|
3391
|
-
type: l === "number" ?
|
|
3391
|
+
type: l === "number" ? L.number : l === "date" ? L.date : L.time,
|
|
3392
3392
|
value: n,
|
|
3393
|
-
location:
|
|
3394
|
-
style: (
|
|
3393
|
+
location: w,
|
|
3394
|
+
style: (s = h == null ? void 0 : h.style) !== null && s !== void 0 ? s : null
|
|
3395
3395
|
},
|
|
3396
3396
|
err: null
|
|
3397
3397
|
};
|
|
@@ -3399,40 +3399,40 @@ var Us = (
|
|
|
3399
3399
|
case "plural":
|
|
3400
3400
|
case "selectordinal":
|
|
3401
3401
|
case "select": {
|
|
3402
|
-
var
|
|
3402
|
+
var R = this.clonePosition();
|
|
3403
3403
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3404
|
-
return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3404
|
+
return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, T(R, at({}, R)));
|
|
3405
3405
|
this.bumpSpace();
|
|
3406
|
-
var
|
|
3407
|
-
if (l !== "select" &&
|
|
3406
|
+
var U = this.parseIdentifierIfPossible(), D = 0;
|
|
3407
|
+
if (l !== "select" && U.value === "offset") {
|
|
3408
3408
|
if (!this.bumpIf(":"))
|
|
3409
|
-
return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3409
|
+
return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T(this.clonePosition(), this.clonePosition()));
|
|
3410
3410
|
this.bumpSpace();
|
|
3411
3411
|
var f = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3412
3412
|
if (f.err)
|
|
3413
3413
|
return f;
|
|
3414
|
-
this.bumpSpace(),
|
|
3414
|
+
this.bumpSpace(), U = this.parseIdentifierIfPossible(), D = f.val;
|
|
3415
3415
|
}
|
|
3416
|
-
var
|
|
3417
|
-
if (
|
|
3418
|
-
return
|
|
3419
|
-
var
|
|
3420
|
-
if (
|
|
3421
|
-
return
|
|
3422
|
-
var X =
|
|
3416
|
+
var O = this.tryParsePluralOrSelectOptions(t, l, r, U);
|
|
3417
|
+
if (O.err)
|
|
3418
|
+
return O;
|
|
3419
|
+
var v = this.tryParseArgumentClose(i);
|
|
3420
|
+
if (v.err)
|
|
3421
|
+
return v;
|
|
3422
|
+
var X = T(i, this.clonePosition());
|
|
3423
3423
|
return l === "select" ? {
|
|
3424
3424
|
val: {
|
|
3425
|
-
type:
|
|
3425
|
+
type: L.select,
|
|
3426
3426
|
value: n,
|
|
3427
|
-
options: lr(
|
|
3427
|
+
options: lr(O.val),
|
|
3428
3428
|
location: X
|
|
3429
3429
|
},
|
|
3430
3430
|
err: null
|
|
3431
3431
|
} : {
|
|
3432
3432
|
val: {
|
|
3433
|
-
type:
|
|
3433
|
+
type: L.plural,
|
|
3434
3434
|
value: n,
|
|
3435
|
-
options: lr(
|
|
3435
|
+
options: lr(O.val),
|
|
3436
3436
|
offset: D,
|
|
3437
3437
|
pluralType: l === "plural" ? "cardinal" : "ordinal",
|
|
3438
3438
|
location: X
|
|
@@ -3441,19 +3441,19 @@ var Us = (
|
|
|
3441
3441
|
};
|
|
3442
3442
|
}
|
|
3443
3443
|
default:
|
|
3444
|
-
return this.error(E.INVALID_ARGUMENT_TYPE,
|
|
3444
|
+
return this.error(E.INVALID_ARGUMENT_TYPE, T(a, u));
|
|
3445
3445
|
}
|
|
3446
3446
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3447
|
-
return this.isEOF() || this.char() !== 125 ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3447
|
+
return this.isEOF() || this.char() !== 125 ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, T(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3448
3448
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3449
3449
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3450
3450
|
var n = this.char();
|
|
3451
3451
|
switch (n) {
|
|
3452
3452
|
case 39: {
|
|
3453
3453
|
this.bump();
|
|
3454
|
-
var
|
|
3454
|
+
var i = this.clonePosition();
|
|
3455
3455
|
if (!this.bumpUntil("'"))
|
|
3456
|
-
return this.error(E.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3456
|
+
return this.error(E.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, T(i, this.clonePosition()));
|
|
3457
3457
|
this.bump();
|
|
3458
3458
|
break;
|
|
3459
3459
|
}
|
|
@@ -3483,64 +3483,64 @@ var Us = (
|
|
|
3483
3483
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3484
3484
|
var n = [];
|
|
3485
3485
|
try {
|
|
3486
|
-
n =
|
|
3487
|
-
} catch (
|
|
3486
|
+
n = yi(t);
|
|
3487
|
+
} catch (i) {
|
|
3488
3488
|
return this.error(E.INVALID_NUMBER_SKELETON, r);
|
|
3489
3489
|
}
|
|
3490
3490
|
return {
|
|
3491
3491
|
val: {
|
|
3492
|
-
type:
|
|
3492
|
+
type: Ie.number,
|
|
3493
3493
|
tokens: n,
|
|
3494
3494
|
location: r,
|
|
3495
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3495
|
+
parsedOptions: this.shouldParseSkeletons ? xi(n) : {}
|
|
3496
3496
|
},
|
|
3497
3497
|
err: null
|
|
3498
3498
|
};
|
|
3499
|
-
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n,
|
|
3500
|
-
for (var
|
|
3499
|
+
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3500
|
+
for (var s, a = !1, l = [], u = /* @__PURE__ */ new Set(), h = i.value, c = i.location; ; ) {
|
|
3501
3501
|
if (h.length === 0) {
|
|
3502
3502
|
var f = this.clonePosition();
|
|
3503
3503
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3504
3504
|
var p = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_SELECTOR, E.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3505
3505
|
if (p.err)
|
|
3506
3506
|
return p;
|
|
3507
|
-
c =
|
|
3507
|
+
c = T(f, this.clonePosition()), h = this.message.slice(f.offset, this.offset());
|
|
3508
3508
|
} else
|
|
3509
3509
|
break;
|
|
3510
3510
|
}
|
|
3511
3511
|
if (u.has(h))
|
|
3512
3512
|
return this.error(r === "select" ? E.DUPLICATE_SELECT_ARGUMENT_SELECTOR : E.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
|
3513
|
-
h === "other" && (
|
|
3513
|
+
h === "other" && (a = !0), this.bumpSpace();
|
|
3514
3514
|
var m = this.clonePosition();
|
|
3515
3515
|
if (!this.bumpIf("{"))
|
|
3516
|
-
return this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3517
|
-
var
|
|
3518
|
-
if (w.err)
|
|
3519
|
-
return w;
|
|
3520
|
-
var v = this.tryParseArgumentClose(m);
|
|
3516
|
+
return this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
|
|
3517
|
+
var v = this.parseMessage(t + 1, r, n);
|
|
3521
3518
|
if (v.err)
|
|
3522
3519
|
return v;
|
|
3520
|
+
var w = this.tryParseArgumentClose(m);
|
|
3521
|
+
if (w.err)
|
|
3522
|
+
return w;
|
|
3523
3523
|
l.push([
|
|
3524
3524
|
h,
|
|
3525
3525
|
{
|
|
3526
|
-
value:
|
|
3527
|
-
location:
|
|
3526
|
+
value: v.val,
|
|
3527
|
+
location: T(m, this.clonePosition())
|
|
3528
3528
|
}
|
|
3529
|
-
]), u.add(h), this.bumpSpace(),
|
|
3529
|
+
]), u.add(h), this.bumpSpace(), s = this.parseIdentifierIfPossible(), h = s.value, c = s.location;
|
|
3530
3530
|
}
|
|
3531
|
-
return l.length === 0 ? this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR : E.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3531
|
+
return l.length === 0 ? this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR : E.EXPECT_PLURAL_ARGUMENT_SELECTOR, T(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(E.MISSING_OTHER_CLAUSE, T(this.clonePosition(), this.clonePosition())) : { val: l, err: null };
|
|
3532
3532
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3533
|
-
var n = 1,
|
|
3533
|
+
var n = 1, i = this.clonePosition();
|
|
3534
3534
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3535
|
-
for (var
|
|
3535
|
+
for (var s = !1, a = 0; !this.isEOF(); ) {
|
|
3536
3536
|
var l = this.char();
|
|
3537
3537
|
if (l >= 48 && l <= 57)
|
|
3538
|
-
|
|
3538
|
+
s = !0, a = a * 10 + (l - 48), this.bump();
|
|
3539
3539
|
else
|
|
3540
3540
|
break;
|
|
3541
3541
|
}
|
|
3542
|
-
var u =
|
|
3543
|
-
return
|
|
3542
|
+
var u = T(i, this.clonePosition());
|
|
3543
|
+
return s ? (a *= n, Li(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3544
3544
|
}, e.prototype.offset = function() {
|
|
3545
3545
|
return this.position.offset;
|
|
3546
3546
|
}, e.prototype.isEOF = function() {
|
|
@@ -3606,38 +3606,38 @@ var Us = (
|
|
|
3606
3606
|
}, e;
|
|
3607
3607
|
}()
|
|
3608
3608
|
);
|
|
3609
|
-
function
|
|
3609
|
+
function kt(e) {
|
|
3610
3610
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3611
3611
|
}
|
|
3612
|
-
function $
|
|
3613
|
-
return
|
|
3612
|
+
function $i(e) {
|
|
3613
|
+
return kt(e) || e === 47;
|
|
3614
3614
|
}
|
|
3615
|
-
function
|
|
3615
|
+
function Gi(e) {
|
|
3616
3616
|
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;
|
|
3617
3617
|
}
|
|
3618
3618
|
function Xr(e) {
|
|
3619
3619
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3620
3620
|
}
|
|
3621
|
-
function
|
|
3621
|
+
function ji(e) {
|
|
3622
3622
|
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;
|
|
3623
3623
|
}
|
|
3624
|
-
function
|
|
3624
|
+
function Ft(e) {
|
|
3625
3625
|
e.forEach(function(t) {
|
|
3626
|
-
if (delete t.location,
|
|
3626
|
+
if (delete t.location, kr(t) || Fr(t))
|
|
3627
3627
|
for (var r in t.options)
|
|
3628
|
-
delete t.options[r].location,
|
|
3628
|
+
delete t.options[r].location, Ft(t.options[r].value);
|
|
3629
3629
|
else
|
|
3630
|
-
Or(t) &&
|
|
3630
|
+
Or(t) && Dr(t.style) || (Rr(t) || Lr(t)) && Nt(t.style) ? delete t.style.location : Ur(t) && Ft(t.children);
|
|
3631
3631
|
});
|
|
3632
3632
|
}
|
|
3633
|
-
function
|
|
3634
|
-
t === void 0 && (t = {}), t =
|
|
3635
|
-
var r = new
|
|
3633
|
+
function Vi(e, t) {
|
|
3634
|
+
t === void 0 && (t = {}), t = at({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3635
|
+
var r = new Di(e, t).parse();
|
|
3636
3636
|
if (r.err) {
|
|
3637
3637
|
var n = SyntaxError(E[r.err.kind]);
|
|
3638
3638
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3639
3639
|
}
|
|
3640
|
-
return t != null && t.captureLocation ||
|
|
3640
|
+
return t != null && t.captureLocation || Ft(r.val), r.val;
|
|
3641
3641
|
}
|
|
3642
3642
|
var Me;
|
|
3643
3643
|
(function(e) {
|
|
@@ -3647,9 +3647,9 @@ var ft = (
|
|
|
3647
3647
|
/** @class */
|
|
3648
3648
|
function(e) {
|
|
3649
3649
|
ct(t, e);
|
|
3650
|
-
function t(r, n,
|
|
3651
|
-
var
|
|
3652
|
-
return
|
|
3650
|
+
function t(r, n, i) {
|
|
3651
|
+
var s = e.call(this, r) || this;
|
|
3652
|
+
return s.code = n, s.originalMessage = i, s;
|
|
3653
3653
|
}
|
|
3654
3654
|
return t.prototype.toString = function() {
|
|
3655
3655
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
@@ -3659,21 +3659,21 @@ var ft = (
|
|
|
3659
3659
|
/** @class */
|
|
3660
3660
|
function(e) {
|
|
3661
3661
|
ct(t, e);
|
|
3662
|
-
function t(r, n,
|
|
3663
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(
|
|
3662
|
+
function t(r, n, i, s) {
|
|
3663
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Me.INVALID_VALUE, s) || this;
|
|
3664
3664
|
}
|
|
3665
3665
|
return t;
|
|
3666
3666
|
}(ft)
|
|
3667
|
-
),
|
|
3667
|
+
), zi = (
|
|
3668
3668
|
/** @class */
|
|
3669
3669
|
function(e) {
|
|
3670
3670
|
ct(t, e);
|
|
3671
|
-
function t(r, n,
|
|
3672
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Me.INVALID_VALUE,
|
|
3671
|
+
function t(r, n, i) {
|
|
3672
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Me.INVALID_VALUE, i) || this;
|
|
3673
3673
|
}
|
|
3674
3674
|
return t;
|
|
3675
3675
|
}(ft)
|
|
3676
|
-
),
|
|
3676
|
+
), Wi = (
|
|
3677
3677
|
/** @class */
|
|
3678
3678
|
function(e) {
|
|
3679
3679
|
ct(t, e);
|
|
@@ -3686,16 +3686,16 @@ var ft = (
|
|
|
3686
3686
|
(function(e) {
|
|
3687
3687
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3688
3688
|
})(W || (W = {}));
|
|
3689
|
-
function
|
|
3689
|
+
function Xi(e) {
|
|
3690
3690
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3691
3691
|
var n = t[t.length - 1];
|
|
3692
3692
|
return !n || n.type !== W.literal || r.type !== W.literal ? t.push(r) : n.value += r.value, t;
|
|
3693
3693
|
}, []);
|
|
3694
3694
|
}
|
|
3695
|
-
function
|
|
3695
|
+
function Zi(e) {
|
|
3696
3696
|
return typeof e == "function";
|
|
3697
3697
|
}
|
|
3698
|
-
function
|
|
3698
|
+
function it(e, t, r, n, i, s, a) {
|
|
3699
3699
|
if (e.length === 1 && nr(e[0]))
|
|
3700
3700
|
return [
|
|
3701
3701
|
{
|
|
@@ -3712,18 +3712,18 @@ function st(e, t, r, n, s, a, i) {
|
|
|
3712
3712
|
});
|
|
3713
3713
|
continue;
|
|
3714
3714
|
}
|
|
3715
|
-
if (
|
|
3716
|
-
typeof
|
|
3715
|
+
if (gi(c)) {
|
|
3716
|
+
typeof s == "number" && l.push({
|
|
3717
3717
|
type: W.literal,
|
|
3718
|
-
value: r.getNumberFormat(t).format(
|
|
3718
|
+
value: r.getNumberFormat(t).format(s)
|
|
3719
3719
|
});
|
|
3720
3720
|
continue;
|
|
3721
3721
|
}
|
|
3722
3722
|
var f = c.value;
|
|
3723
|
-
if (!(
|
|
3724
|
-
throw new
|
|
3725
|
-
var p =
|
|
3726
|
-
if (
|
|
3723
|
+
if (!(i && f in i))
|
|
3724
|
+
throw new Wi(f, a);
|
|
3725
|
+
var p = i[f];
|
|
3726
|
+
if (mi(c)) {
|
|
3727
3727
|
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), l.push({
|
|
3728
3728
|
type: typeof p == "string" ? W.literal : W.object,
|
|
3729
3729
|
value: p
|
|
@@ -3747,63 +3747,63 @@ function st(e, t, r, n, s, a, i) {
|
|
|
3747
3747
|
continue;
|
|
3748
3748
|
}
|
|
3749
3749
|
if (Or(c)) {
|
|
3750
|
-
var m = typeof c.style == "string" ? n.number[c.style] :
|
|
3750
|
+
var m = typeof c.style == "string" ? n.number[c.style] : Dr(c.style) ? c.style.parsedOptions : void 0;
|
|
3751
3751
|
m && m.scale && (p = p * (m.scale || 1)), l.push({
|
|
3752
3752
|
type: W.literal,
|
|
3753
3753
|
value: r.getNumberFormat(t, m).format(p)
|
|
3754
3754
|
});
|
|
3755
3755
|
continue;
|
|
3756
3756
|
}
|
|
3757
|
-
if (
|
|
3758
|
-
var
|
|
3759
|
-
if (!
|
|
3760
|
-
throw new
|
|
3761
|
-
var y =
|
|
3757
|
+
if (Ur(c)) {
|
|
3758
|
+
var v = c.children, w = c.value, C = i[w];
|
|
3759
|
+
if (!Zi(C))
|
|
3760
|
+
throw new zi(w, "function", a);
|
|
3761
|
+
var y = it(v, t, r, n, i, s), S = C(y.map(function(D) {
|
|
3762
3762
|
return D.value;
|
|
3763
3763
|
}));
|
|
3764
|
-
Array.isArray(
|
|
3764
|
+
Array.isArray(S) || (S = [S]), l.push.apply(l, S.map(function(D) {
|
|
3765
3765
|
return {
|
|
3766
3766
|
type: typeof D == "string" ? W.literal : W.object,
|
|
3767
3767
|
value: D
|
|
3768
3768
|
};
|
|
3769
3769
|
}));
|
|
3770
3770
|
}
|
|
3771
|
-
if (
|
|
3772
|
-
var
|
|
3773
|
-
if (!
|
|
3774
|
-
throw new hr(c.value, p, Object.keys(c.options),
|
|
3775
|
-
l.push.apply(l,
|
|
3771
|
+
if (kr(c)) {
|
|
3772
|
+
var R = c.options[p] || c.options.other;
|
|
3773
|
+
if (!R)
|
|
3774
|
+
throw new hr(c.value, p, Object.keys(c.options), a);
|
|
3775
|
+
l.push.apply(l, it(R.value, t, r, n, i));
|
|
3776
3776
|
continue;
|
|
3777
3777
|
}
|
|
3778
|
-
if (
|
|
3779
|
-
var
|
|
3780
|
-
if (!
|
|
3778
|
+
if (Fr(c)) {
|
|
3779
|
+
var R = c.options["=".concat(p)];
|
|
3780
|
+
if (!R) {
|
|
3781
3781
|
if (!Intl.PluralRules)
|
|
3782
3782
|
throw new ft(`Intl.PluralRules is not available in this environment.
|
|
3783
3783
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3784
|
-
`, Me.MISSING_INTL_API,
|
|
3785
|
-
var
|
|
3786
|
-
|
|
3784
|
+
`, Me.MISSING_INTL_API, a);
|
|
3785
|
+
var U = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
|
|
3786
|
+
R = c.options[U] || c.options.other;
|
|
3787
3787
|
}
|
|
3788
|
-
if (!
|
|
3789
|
-
throw new hr(c.value, p, Object.keys(c.options),
|
|
3790
|
-
l.push.apply(l,
|
|
3788
|
+
if (!R)
|
|
3789
|
+
throw new hr(c.value, p, Object.keys(c.options), a);
|
|
3790
|
+
l.push.apply(l, it(R.value, t, r, n, i, p - (c.offset || 0)));
|
|
3791
3791
|
continue;
|
|
3792
3792
|
}
|
|
3793
3793
|
}
|
|
3794
|
-
return
|
|
3794
|
+
return Xi(l);
|
|
3795
3795
|
}
|
|
3796
|
-
function
|
|
3796
|
+
function Yi(e, t) {
|
|
3797
3797
|
return t ? ie(ie(ie({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3798
3798
|
return r[n] = ie(ie({}, e[n]), t[n] || {}), r;
|
|
3799
3799
|
}, {})) : e;
|
|
3800
3800
|
}
|
|
3801
|
-
function
|
|
3801
|
+
function Qi(e, t) {
|
|
3802
3802
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3803
|
-
return r[n] =
|
|
3803
|
+
return r[n] = Yi(e[n], t[n]), r;
|
|
3804
3804
|
}, ie({}, e)) : e;
|
|
3805
3805
|
}
|
|
3806
|
-
function
|
|
3806
|
+
function Pt(e) {
|
|
3807
3807
|
return {
|
|
3808
3808
|
create: function() {
|
|
3809
3809
|
return {
|
|
@@ -3817,7 +3817,7 @@ function _t(e) {
|
|
|
3817
3817
|
}
|
|
3818
3818
|
};
|
|
3819
3819
|
}
|
|
3820
|
-
function
|
|
3820
|
+
function Ji(e) {
|
|
3821
3821
|
return e === void 0 && (e = {
|
|
3822
3822
|
number: {},
|
|
3823
3823
|
dateTime: {},
|
|
@@ -3828,7 +3828,7 @@ function Js(e) {
|
|
|
3828
3828
|
r[n] = arguments[n];
|
|
3829
3829
|
return new ((t = Intl.NumberFormat).bind.apply(t, wt([void 0], r, !1)))();
|
|
3830
3830
|
}, {
|
|
3831
|
-
cache:
|
|
3831
|
+
cache: Pt(e.number),
|
|
3832
3832
|
strategy: yt.variadic
|
|
3833
3833
|
}),
|
|
3834
3834
|
getDateTimeFormat: vt(function() {
|
|
@@ -3836,7 +3836,7 @@ function Js(e) {
|
|
|
3836
3836
|
r[n] = arguments[n];
|
|
3837
3837
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, wt([void 0], r, !1)))();
|
|
3838
3838
|
}, {
|
|
3839
|
-
cache:
|
|
3839
|
+
cache: Pt(e.dateTime),
|
|
3840
3840
|
strategy: yt.variadic
|
|
3841
3841
|
}),
|
|
3842
3842
|
getPluralRules: vt(function() {
|
|
@@ -3844,23 +3844,23 @@ function Js(e) {
|
|
|
3844
3844
|
r[n] = arguments[n];
|
|
3845
3845
|
return new ((t = Intl.PluralRules).bind.apply(t, wt([void 0], r, !1)))();
|
|
3846
3846
|
}, {
|
|
3847
|
-
cache:
|
|
3847
|
+
cache: Pt(e.pluralRules),
|
|
3848
3848
|
strategy: yt.variadic
|
|
3849
3849
|
})
|
|
3850
3850
|
};
|
|
3851
3851
|
}
|
|
3852
|
-
var
|
|
3852
|
+
var qi = (
|
|
3853
3853
|
/** @class */
|
|
3854
3854
|
function() {
|
|
3855
|
-
function e(t, r, n,
|
|
3855
|
+
function e(t, r, n, i) {
|
|
3856
3856
|
r === void 0 && (r = e.defaultLocale);
|
|
3857
|
-
var
|
|
3857
|
+
var s = this;
|
|
3858
3858
|
if (this.formatterCache = {
|
|
3859
3859
|
number: {},
|
|
3860
3860
|
dateTime: {},
|
|
3861
3861
|
pluralRules: {}
|
|
3862
3862
|
}, this.format = function(u) {
|
|
3863
|
-
var h =
|
|
3863
|
+
var h = s.formatToParts(u);
|
|
3864
3864
|
if (h.length === 1)
|
|
3865
3865
|
return h[0].value;
|
|
3866
3866
|
var c = h.reduce(function(f, p) {
|
|
@@ -3868,26 +3868,26 @@ var qs = (
|
|
|
3868
3868
|
}, []);
|
|
3869
3869
|
return c.length <= 1 ? c[0] || "" : c;
|
|
3870
3870
|
}, this.formatToParts = function(u) {
|
|
3871
|
-
return
|
|
3871
|
+
return it(s.ast, s.locales, s.formatters, s.formats, u, void 0, s.message);
|
|
3872
3872
|
}, this.resolvedOptions = function() {
|
|
3873
3873
|
var u;
|
|
3874
3874
|
return {
|
|
3875
|
-
locale: ((u =
|
|
3875
|
+
locale: ((u = s.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
|
|
3876
3876
|
};
|
|
3877
3877
|
}, this.getAst = function() {
|
|
3878
|
-
return
|
|
3878
|
+
return s.ast;
|
|
3879
3879
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3880
3880
|
if (this.message = t, !e.__parse)
|
|
3881
3881
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3882
|
-
var
|
|
3883
|
-
|
|
3884
|
-
var l =
|
|
3882
|
+
var a = i || {};
|
|
3883
|
+
a.formatters;
|
|
3884
|
+
var l = oi(a, ["formatters"]);
|
|
3885
3885
|
this.ast = e.__parse(t, ie(ie({}, l), { locale: this.resolvedLocale }));
|
|
3886
3886
|
} else
|
|
3887
3887
|
this.ast = t;
|
|
3888
3888
|
if (!Array.isArray(this.ast))
|
|
3889
3889
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3890
|
-
this.formats =
|
|
3890
|
+
this.formats = Qi(e.formats, n), this.formatters = i && i.formatters || Ji(this.formatterCache);
|
|
3891
3891
|
}
|
|
3892
3892
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3893
3893
|
get: function() {
|
|
@@ -3900,7 +3900,7 @@ var qs = (
|
|
|
3900
3900
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3901
3901
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3902
3902
|
}
|
|
3903
|
-
}, e.__parse =
|
|
3903
|
+
}, e.__parse = Vi, e.formats = {
|
|
3904
3904
|
number: {
|
|
3905
3905
|
integer: {
|
|
3906
3906
|
maximumFractionDigits: 0
|
|
@@ -3961,85 +3961,85 @@ var qs = (
|
|
|
3961
3961
|
}, e;
|
|
3962
3962
|
}()
|
|
3963
3963
|
);
|
|
3964
|
-
function
|
|
3964
|
+
function Ki(e, t) {
|
|
3965
3965
|
if (t == null)
|
|
3966
3966
|
return;
|
|
3967
3967
|
if (t in e)
|
|
3968
3968
|
return e[t];
|
|
3969
3969
|
const r = t.split(".");
|
|
3970
3970
|
let n = e;
|
|
3971
|
-
for (let
|
|
3971
|
+
for (let i = 0; i < r.length; i++)
|
|
3972
3972
|
if (typeof n == "object") {
|
|
3973
|
-
if (
|
|
3974
|
-
const
|
|
3975
|
-
if (
|
|
3976
|
-
n = n[
|
|
3973
|
+
if (i > 0) {
|
|
3974
|
+
const s = r.slice(i, r.length).join(".");
|
|
3975
|
+
if (s in n) {
|
|
3976
|
+
n = n[s];
|
|
3977
3977
|
break;
|
|
3978
3978
|
}
|
|
3979
3979
|
}
|
|
3980
|
-
n = n[r[
|
|
3980
|
+
n = n[r[i]];
|
|
3981
3981
|
} else
|
|
3982
3982
|
n = void 0;
|
|
3983
3983
|
return n;
|
|
3984
3984
|
}
|
|
3985
|
-
const
|
|
3985
|
+
const ce = {}, es = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), Zr = (e, t) => {
|
|
3986
3986
|
if (t == null)
|
|
3987
3987
|
return;
|
|
3988
|
-
if (t in
|
|
3989
|
-
return
|
|
3988
|
+
if (t in ce && e in ce[t])
|
|
3989
|
+
return ce[t][e];
|
|
3990
3990
|
const r = dt(t);
|
|
3991
3991
|
for (let n = 0; n < r.length; n++) {
|
|
3992
|
-
const
|
|
3993
|
-
if (
|
|
3994
|
-
return
|
|
3992
|
+
const i = r[n], s = rs(i, e);
|
|
3993
|
+
if (s)
|
|
3994
|
+
return es(e, t, s);
|
|
3995
3995
|
}
|
|
3996
3996
|
};
|
|
3997
3997
|
let $t;
|
|
3998
|
-
const
|
|
3999
|
-
function
|
|
3998
|
+
const Ze = ht({});
|
|
3999
|
+
function ts(e) {
|
|
4000
4000
|
return $t[e] || null;
|
|
4001
4001
|
}
|
|
4002
|
-
function
|
|
4002
|
+
function Yr(e) {
|
|
4003
4003
|
return e in $t;
|
|
4004
4004
|
}
|
|
4005
|
-
function
|
|
4006
|
-
if (!
|
|
4005
|
+
function rs(e, t) {
|
|
4006
|
+
if (!Yr(e))
|
|
4007
4007
|
return null;
|
|
4008
|
-
const r =
|
|
4009
|
-
return
|
|
4008
|
+
const r = ts(e);
|
|
4009
|
+
return Ki(r, t);
|
|
4010
4010
|
}
|
|
4011
|
-
function
|
|
4011
|
+
function ns(e) {
|
|
4012
4012
|
if (e == null)
|
|
4013
4013
|
return;
|
|
4014
4014
|
const t = dt(e);
|
|
4015
4015
|
for (let r = 0; r < t.length; r++) {
|
|
4016
4016
|
const n = t[r];
|
|
4017
|
-
if (
|
|
4017
|
+
if (Yr(n))
|
|
4018
4018
|
return n;
|
|
4019
4019
|
}
|
|
4020
4020
|
}
|
|
4021
|
-
function
|
|
4022
|
-
delete
|
|
4021
|
+
function Qr(e, ...t) {
|
|
4022
|
+
delete ce[e], Ze.update((r) => (r[e] = ai.all([r[e] || {}, ...t]), r));
|
|
4023
4023
|
}
|
|
4024
4024
|
Re(
|
|
4025
|
-
[
|
|
4025
|
+
[Ze],
|
|
4026
4026
|
([e]) => Object.keys(e)
|
|
4027
4027
|
);
|
|
4028
|
-
|
|
4029
|
-
const
|
|
4030
|
-
function
|
|
4031
|
-
|
|
4028
|
+
Ze.subscribe((e) => $t = e);
|
|
4029
|
+
const st = {};
|
|
4030
|
+
function is(e, t) {
|
|
4031
|
+
st[e].delete(t), st[e].size === 0 && delete st[e];
|
|
4032
4032
|
}
|
|
4033
4033
|
function Jr(e) {
|
|
4034
|
-
return
|
|
4034
|
+
return st[e];
|
|
4035
4035
|
}
|
|
4036
|
-
function
|
|
4036
|
+
function ss(e) {
|
|
4037
4037
|
return dt(e).map((t) => {
|
|
4038
4038
|
const r = Jr(t);
|
|
4039
4039
|
return [t, r ? [...r] : []];
|
|
4040
4040
|
}).filter(([, t]) => t.length > 0);
|
|
4041
4041
|
}
|
|
4042
|
-
function
|
|
4042
|
+
function Ut(e) {
|
|
4043
4043
|
return e == null ? !1 : dt(e).some(
|
|
4044
4044
|
(t) => {
|
|
4045
4045
|
var r;
|
|
@@ -4047,27 +4047,27 @@ function Dt(e) {
|
|
|
4047
4047
|
}
|
|
4048
4048
|
);
|
|
4049
4049
|
}
|
|
4050
|
-
function
|
|
4050
|
+
function as(e, t) {
|
|
4051
4051
|
return Promise.all(
|
|
4052
|
-
t.map((n) => (
|
|
4053
|
-
).then((n) =>
|
|
4052
|
+
t.map((n) => (is(e, n), n().then((i) => i.default || i)))
|
|
4053
|
+
).then((n) => Qr(e, ...n));
|
|
4054
4054
|
}
|
|
4055
|
-
const
|
|
4055
|
+
const Ge = {};
|
|
4056
4056
|
function qr(e) {
|
|
4057
|
-
if (!
|
|
4058
|
-
return e in
|
|
4059
|
-
const t =
|
|
4060
|
-
return
|
|
4057
|
+
if (!Ut(e))
|
|
4058
|
+
return e in Ge ? Ge[e] : Promise.resolve();
|
|
4059
|
+
const t = ss(e);
|
|
4060
|
+
return Ge[e] = Promise.all(
|
|
4061
4061
|
t.map(
|
|
4062
|
-
([r, n]) =>
|
|
4062
|
+
([r, n]) => as(r, n)
|
|
4063
4063
|
)
|
|
4064
4064
|
).then(() => {
|
|
4065
|
-
if (
|
|
4065
|
+
if (Ut(e))
|
|
4066
4066
|
return qr(e);
|
|
4067
|
-
delete
|
|
4068
|
-
}),
|
|
4067
|
+
delete Ge[e];
|
|
4068
|
+
}), Ge[e];
|
|
4069
4069
|
}
|
|
4070
|
-
const
|
|
4070
|
+
const os = {
|
|
4071
4071
|
number: {
|
|
4072
4072
|
scientific: { notation: "scientific" },
|
|
4073
4073
|
engineering: { notation: "engineering" },
|
|
@@ -4096,27 +4096,27 @@ const oa = {
|
|
|
4096
4096
|
timeZoneName: "short"
|
|
4097
4097
|
}
|
|
4098
4098
|
}
|
|
4099
|
-
},
|
|
4099
|
+
}, ls = {
|
|
4100
4100
|
fallbackLocale: null,
|
|
4101
4101
|
loadingDelay: 200,
|
|
4102
|
-
formats:
|
|
4102
|
+
formats: os,
|
|
4103
4103
|
warnOnMissingMessages: !0,
|
|
4104
4104
|
handleMissingMessage: void 0,
|
|
4105
4105
|
ignoreTag: !0
|
|
4106
|
-
},
|
|
4106
|
+
}, us = ls;
|
|
4107
4107
|
function Ne() {
|
|
4108
|
-
return
|
|
4108
|
+
return us;
|
|
4109
4109
|
}
|
|
4110
|
-
const
|
|
4111
|
-
var
|
|
4110
|
+
const Et = ht(!1);
|
|
4111
|
+
var hs = Object.defineProperty, cs = Object.defineProperties, fs = Object.getOwnPropertyDescriptors, cr = Object.getOwnPropertySymbols, ds = Object.prototype.hasOwnProperty, ps = Object.prototype.propertyIsEnumerable, fr = (e, t, r) => t in e ? hs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ms = (e, t) => {
|
|
4112
4112
|
for (var r in t || (t = {}))
|
|
4113
|
-
|
|
4113
|
+
ds.call(t, r) && fr(e, r, t[r]);
|
|
4114
4114
|
if (cr)
|
|
4115
4115
|
for (var r of cr(t))
|
|
4116
|
-
|
|
4116
|
+
ps.call(t, r) && fr(e, r, t[r]);
|
|
4117
4117
|
return e;
|
|
4118
|
-
},
|
|
4119
|
-
let
|
|
4118
|
+
}, gs = (e, t) => cs(e, fs(t));
|
|
4119
|
+
let Dt;
|
|
4120
4120
|
const ot = ht(null);
|
|
4121
4121
|
function dr(e) {
|
|
4122
4122
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
@@ -4125,43 +4125,43 @@ function dt(e, t = Ne().fallbackLocale) {
|
|
|
4125
4125
|
const r = dr(e);
|
|
4126
4126
|
return t ? [.../* @__PURE__ */ new Set([...r, ...dr(t)])] : r;
|
|
4127
4127
|
}
|
|
4128
|
-
function
|
|
4129
|
-
return
|
|
4128
|
+
function ge() {
|
|
4129
|
+
return Dt != null ? Dt : void 0;
|
|
4130
4130
|
}
|
|
4131
4131
|
ot.subscribe((e) => {
|
|
4132
|
-
|
|
4132
|
+
Dt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4133
4133
|
});
|
|
4134
|
-
const
|
|
4135
|
-
if (e &&
|
|
4134
|
+
const bs = (e) => {
|
|
4135
|
+
if (e && ns(e) && Ut(e)) {
|
|
4136
4136
|
const { loadingDelay: t } = Ne();
|
|
4137
4137
|
let r;
|
|
4138
|
-
return typeof window != "undefined" &&
|
|
4139
|
-
() =>
|
|
4138
|
+
return typeof window != "undefined" && ge() != null && t ? r = window.setTimeout(
|
|
4139
|
+
() => Et.set(!0),
|
|
4140
4140
|
t
|
|
4141
|
-
) :
|
|
4141
|
+
) : Et.set(!0), qr(e).then(() => {
|
|
4142
4142
|
ot.set(e);
|
|
4143
4143
|
}).finally(() => {
|
|
4144
|
-
clearTimeout(r),
|
|
4144
|
+
clearTimeout(r), Et.set(!1);
|
|
4145
4145
|
});
|
|
4146
4146
|
}
|
|
4147
4147
|
return ot.set(e);
|
|
4148
|
-
}, Le =
|
|
4149
|
-
set:
|
|
4148
|
+
}, Le = gs(ms({}, ot), {
|
|
4149
|
+
set: bs
|
|
4150
4150
|
}), pt = (e) => {
|
|
4151
4151
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4152
4152
|
return (n) => {
|
|
4153
|
-
const
|
|
4154
|
-
return
|
|
4153
|
+
const i = JSON.stringify(n);
|
|
4154
|
+
return i in t ? t[i] : t[i] = e(n);
|
|
4155
4155
|
};
|
|
4156
4156
|
};
|
|
4157
|
-
var
|
|
4157
|
+
var ws = Object.defineProperty, lt = Object.getOwnPropertySymbols, Kr = Object.prototype.hasOwnProperty, en = Object.prototype.propertyIsEnumerable, pr = (e, t, r) => t in e ? ws(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gt = (e, t) => {
|
|
4158
4158
|
for (var r in t || (t = {}))
|
|
4159
4159
|
Kr.call(t, r) && pr(e, r, t[r]);
|
|
4160
4160
|
if (lt)
|
|
4161
4161
|
for (var r of lt(t))
|
|
4162
4162
|
en.call(t, r) && pr(e, r, t[r]);
|
|
4163
4163
|
return e;
|
|
4164
|
-
},
|
|
4164
|
+
}, ke = (e, t) => {
|
|
4165
4165
|
var r = {};
|
|
4166
4166
|
for (var n in e)
|
|
4167
4167
|
Kr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -4170,76 +4170,76 @@ var wa = Object.defineProperty, lt = Object.getOwnPropertySymbols, Kr = Object.p
|
|
|
4170
4170
|
t.indexOf(n) < 0 && en.call(e, n) && (r[n] = e[n]);
|
|
4171
4171
|
return r;
|
|
4172
4172
|
};
|
|
4173
|
-
const
|
|
4173
|
+
const We = (e, t) => {
|
|
4174
4174
|
const { formats: r } = Ne();
|
|
4175
4175
|
if (e in r && t in r[e])
|
|
4176
4176
|
return r[e][t];
|
|
4177
4177
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4178
|
-
},
|
|
4178
|
+
}, vs = pt(
|
|
4179
4179
|
(e) => {
|
|
4180
|
-
var t = e, { locale: r, format: n } = t,
|
|
4180
|
+
var t = e, { locale: r, format: n } = t, i = ke(t, ["locale", "format"]);
|
|
4181
4181
|
if (r == null)
|
|
4182
4182
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4183
|
-
return n && (
|
|
4183
|
+
return n && (i = We("number", n)), new Intl.NumberFormat(r, i);
|
|
4184
4184
|
}
|
|
4185
|
-
),
|
|
4185
|
+
), ys = pt(
|
|
4186
4186
|
(e) => {
|
|
4187
|
-
var t = e, { locale: r, format: n } = t,
|
|
4187
|
+
var t = e, { locale: r, format: n } = t, i = ke(t, ["locale", "format"]);
|
|
4188
4188
|
if (r == null)
|
|
4189
4189
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4190
|
-
return n ?
|
|
4190
|
+
return n ? i = We("date", n) : Object.keys(i).length === 0 && (i = We("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4191
4191
|
}
|
|
4192
|
-
),
|
|
4192
|
+
), _s = pt(
|
|
4193
4193
|
(e) => {
|
|
4194
|
-
var t = e, { locale: r, format: n } = t,
|
|
4194
|
+
var t = e, { locale: r, format: n } = t, i = ke(t, ["locale", "format"]);
|
|
4195
4195
|
if (r == null)
|
|
4196
4196
|
throw new Error(
|
|
4197
4197
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4198
4198
|
);
|
|
4199
|
-
return n ?
|
|
4199
|
+
return n ? i = We("time", n) : Object.keys(i).length === 0 && (i = We("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4200
4200
|
}
|
|
4201
|
-
),
|
|
4201
|
+
), Ps = (e = {}) => {
|
|
4202
4202
|
var t = e, {
|
|
4203
|
-
locale: r =
|
|
4204
|
-
} = t, n =
|
|
4203
|
+
locale: r = ge()
|
|
4204
|
+
} = t, n = ke(t, [
|
|
4205
4205
|
"locale"
|
|
4206
4206
|
]);
|
|
4207
|
-
return
|
|
4208
|
-
},
|
|
4207
|
+
return vs(Gt({ locale: r }, n));
|
|
4208
|
+
}, Es = (e = {}) => {
|
|
4209
4209
|
var t = e, {
|
|
4210
|
-
locale: r =
|
|
4211
|
-
} = t, n =
|
|
4210
|
+
locale: r = ge()
|
|
4211
|
+
} = t, n = ke(t, [
|
|
4212
4212
|
"locale"
|
|
4213
4213
|
]);
|
|
4214
|
-
return
|
|
4215
|
-
},
|
|
4214
|
+
return ys(Gt({ locale: r }, n));
|
|
4215
|
+
}, xs = (e = {}) => {
|
|
4216
4216
|
var t = e, {
|
|
4217
|
-
locale: r =
|
|
4218
|
-
} = t, n =
|
|
4217
|
+
locale: r = ge()
|
|
4218
|
+
} = t, n = ke(t, [
|
|
4219
4219
|
"locale"
|
|
4220
4220
|
]);
|
|
4221
|
-
return
|
|
4222
|
-
},
|
|
4221
|
+
return _s(Gt({ locale: r }, n));
|
|
4222
|
+
}, Ts = pt(
|
|
4223
4223
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4224
|
-
(e, t =
|
|
4224
|
+
(e, t = ge()) => new qi(e, t, Ne().formats, {
|
|
4225
4225
|
ignoreTag: Ne().ignoreTag
|
|
4226
4226
|
})
|
|
4227
|
-
),
|
|
4228
|
-
var r, n,
|
|
4229
|
-
let
|
|
4230
|
-
typeof e == "object" && (
|
|
4227
|
+
), Cs = (e, t = {}) => {
|
|
4228
|
+
var r, n, i, s;
|
|
4229
|
+
let a = t;
|
|
4230
|
+
typeof e == "object" && (a = e, e = a.id);
|
|
4231
4231
|
const {
|
|
4232
4232
|
values: l,
|
|
4233
|
-
locale: u =
|
|
4233
|
+
locale: u = ge(),
|
|
4234
4234
|
default: h
|
|
4235
|
-
} =
|
|
4235
|
+
} = a;
|
|
4236
4236
|
if (u == null)
|
|
4237
4237
|
throw new Error(
|
|
4238
4238
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4239
4239
|
);
|
|
4240
4240
|
let c = Zr(e, u);
|
|
4241
4241
|
if (!c)
|
|
4242
|
-
c = (
|
|
4242
|
+
c = (s = (i = (n = (r = Ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? i : h) != null ? s : e;
|
|
4243
4243
|
else if (typeof c != "string")
|
|
4244
4244
|
return console.warn(
|
|
4245
4245
|
`[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.`
|
|
@@ -4248,7 +4248,7 @@ const ze = (e, t) => {
|
|
|
4248
4248
|
return c;
|
|
4249
4249
|
let f = c;
|
|
4250
4250
|
try {
|
|
4251
|
-
f =
|
|
4251
|
+
f = Ts(c, u).format(l);
|
|
4252
4252
|
} catch (p) {
|
|
4253
4253
|
p instanceof Error && console.warn(
|
|
4254
4254
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4256,17 +4256,17 @@ const ze = (e, t) => {
|
|
|
4256
4256
|
);
|
|
4257
4257
|
}
|
|
4258
4258
|
return f;
|
|
4259
|
-
},
|
|
4260
|
-
Re([Le], () =>
|
|
4261
|
-
Re([Le], () =>
|
|
4262
|
-
Re([Le], () =>
|
|
4263
|
-
Re([Le,
|
|
4259
|
+
}, Ss = (e, t) => xs(t).format(e), Bs = (e, t) => Es(t).format(e), As = (e, t) => Ps(t).format(e), Hs = (e, t = ge()) => Zr(e, t), Is = Re([Le, Ze], () => Cs);
|
|
4260
|
+
Re([Le], () => Ss);
|
|
4261
|
+
Re([Le], () => Bs);
|
|
4262
|
+
Re([Le], () => As);
|
|
4263
|
+
Re([Le, Ze], () => Hs);
|
|
4264
4264
|
window.emWidgets = { topic: jn };
|
|
4265
|
-
const
|
|
4265
|
+
const Ms = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4266
4266
|
function mr(e, t) {
|
|
4267
|
-
|
|
4267
|
+
Qr(e, t);
|
|
4268
4268
|
}
|
|
4269
|
-
function
|
|
4269
|
+
function Ns(e) {
|
|
4270
4270
|
Le.set(e);
|
|
4271
4271
|
}
|
|
4272
4272
|
const gr = {
|
|
@@ -4453,202 +4453,200 @@ const gr = {
|
|
|
4453
4453
|
backButtonText: "Back"
|
|
4454
4454
|
}
|
|
4455
4455
|
};
|
|
4456
|
-
function
|
|
4456
|
+
function Os(e, t) {
|
|
4457
4457
|
if (e) {
|
|
4458
4458
|
const r = document.createElement("style");
|
|
4459
4459
|
r.innerHTML = t, e.appendChild(r);
|
|
4460
4460
|
}
|
|
4461
4461
|
}
|
|
4462
|
-
function
|
|
4462
|
+
function Rs(e, t) {
|
|
4463
4463
|
const r = new URL(t);
|
|
4464
4464
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4465
|
-
const
|
|
4466
|
-
|
|
4465
|
+
const i = document.createElement("style");
|
|
4466
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
4467
4467
|
}).catch((n) => {
|
|
4468
4468
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4469
4469
|
});
|
|
4470
4470
|
}
|
|
4471
|
-
function
|
|
4471
|
+
function Ls(e, t, r) {
|
|
4472
4472
|
if (window.emMessageBus) {
|
|
4473
4473
|
const n = document.createElement("style");
|
|
4474
|
-
window.emMessageBus.subscribe(t, (
|
|
4475
|
-
n.innerHTML =
|
|
4474
|
+
window.emMessageBus.subscribe(t, (i) => {
|
|
4475
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
4476
4476
|
});
|
|
4477
4477
|
}
|
|
4478
4478
|
}
|
|
4479
|
-
function
|
|
4480
|
-
un(e, "svelte-1krnk2l", '.PlayerChangePasswordWrapper{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;height:100vh;max-width:100%;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;max-width:400px;min-width:200px}.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);max-width:400px;min-width:200px;padding:13px 0;font-size:var(--emw--font-size-medium, 16px);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;display:flex;justify-content:center;text-transform:uppercase;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;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);width:auto;font-size:var(--emw--font-size-medium, 16px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton:hover{filter:brightness(0.9)}.PlayerChangePasswordWrapperMobile{height:75vh;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column;border-radius:0}.PlayerChangePasswordWrapperMobile:after{content:"";position:absolute;bottom:0}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBackButton{width:100%;max-width:none}.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--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerChangePasswordWrapperTablet{padding:40px 25% 100% 25%}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordContent{grid-row-gap:20px}.PlayerChangePasswordWrapperTablet .MenuReturnButton{font-family:inherit;margin-bottom:30px}.PlayerChangePasswordWrapperTablet .MenuReturnButton span{font-size:var(--emw--font-size-large, 20px)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox label{font-size:var(--emw--font-size-large, 20px);font-family:inherit}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox input{font-family:inherit;height:30px;font-size:var(--emw--font-size-large, 20px);line-height:30px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility{width:30px;top:46px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, #FD2839)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility rect{fill:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .InvalidInput{font-size:var(--emw--font-size-medium, 16px);bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox:last-child .InvalidInput{font-size:var(--emw--font-size-medium, 16px);bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea{grid-column-gap:40px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordCancelButton{font-size:18px;font-family:inherit;height:56px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{color:var(--emw--button-text-color, #FFFFFF);font-family:inherit}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton.ButtonInactive{color:var(--emw--color-gray-300, #58586B)}');
|
|
4479
|
+
function ks(e) {
|
|
4480
|
+
un(e, "svelte-1qk6bmp", '.PlayerChangePasswordWrapper{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;height:100vh;max-width:100%;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;max-width:400px;min-width:200px}.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);max-width:400px;min-width:200px;padding:13px 0;font-size:var(--emw--font-size-medium, 16px);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;display:flex;justify-content:center;text-transform:uppercase;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;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);width:auto;font-size:var(--emw--font-size-medium, 16px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton:hover{filter:brightness(0.9)}.PlayerChangePasswordWrapperMobile{height:75vh;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column;border-radius:0}.PlayerChangePasswordWrapperMobile:after{content:"";position:absolute;bottom:0}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBackButton{width:100%;max-width:none}.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--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}');
|
|
4481
4481
|
}
|
|
4482
|
-
function
|
|
4482
|
+
function Fs(e) {
|
|
4483
4483
|
let t;
|
|
4484
|
-
function r(
|
|
4484
|
+
function r(s, a) {
|
|
4485
4485
|
return (
|
|
4486
4486
|
/*passwordChanged*/
|
|
4487
|
-
|
|
4487
|
+
s[2] ? Us : Ds
|
|
4488
4488
|
);
|
|
4489
4489
|
}
|
|
4490
|
-
let n = r(e),
|
|
4490
|
+
let n = r(e), i = n(e);
|
|
4491
4491
|
return {
|
|
4492
4492
|
c() {
|
|
4493
|
-
t = _("form"),
|
|
4494
|
-
(e[20] ? "PlayerChangePasswordWrapperMobile" : "")
|
|
4495
|
-
(e[21].matches && /*isMobile*/
|
|
4496
|
-
e[20] ? "PlayerChangePasswordWrapperTablet" : ""));
|
|
4493
|
+
t = _("form"), i.c(), o(t, "class", "PlayerChangePasswordWrapper " + /*isMobile*/
|
|
4494
|
+
(e[20] ? "PlayerChangePasswordWrapperMobile" : ""));
|
|
4497
4495
|
},
|
|
4498
|
-
m(
|
|
4499
|
-
|
|
4496
|
+
m(s, a) {
|
|
4497
|
+
A(s, t, a), i.m(t, null);
|
|
4500
4498
|
},
|
|
4501
|
-
p(
|
|
4502
|
-
n === (n = r(
|
|
4499
|
+
p(s, a) {
|
|
4500
|
+
n === (n = r(s)) && i ? i.p(s, a) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
|
|
4503
4501
|
},
|
|
4504
|
-
d(
|
|
4505
|
-
|
|
4502
|
+
d(s) {
|
|
4503
|
+
s && B(t), i.d();
|
|
4506
4504
|
}
|
|
4507
4505
|
};
|
|
4508
4506
|
}
|
|
4509
|
-
function
|
|
4510
|
-
let t, r, n,
|
|
4507
|
+
function Us(e) {
|
|
4508
|
+
let t, r, n, i = (
|
|
4511
4509
|
/*$_*/
|
|
4512
4510
|
e[19]("changePasswordText") + ""
|
|
4513
|
-
),
|
|
4511
|
+
), s, a, l, u, h, c, f, p, m = (
|
|
4514
4512
|
/*$_*/
|
|
4515
4513
|
e[19]("passwordReset") + ""
|
|
4516
|
-
),
|
|
4514
|
+
), v, w, C, y = (
|
|
4517
4515
|
/*$_*/
|
|
4518
4516
|
e[19]("passwordResetConfirmation") + ""
|
|
4519
|
-
),
|
|
4517
|
+
), S, R, U, D = (
|
|
4520
4518
|
/*$_*/
|
|
4521
4519
|
e[19]("backButtonText") + ""
|
|
4522
|
-
),
|
|
4520
|
+
), O, X, te, G = (
|
|
4523
4521
|
/*isMobile*/
|
|
4524
|
-
e[20] && $
|
|
4522
|
+
e[20] && $s(e)
|
|
4525
4523
|
);
|
|
4526
4524
|
return {
|
|
4527
4525
|
c() {
|
|
4528
|
-
|
|
4526
|
+
G && G.c(), t = F(), r = _("div"), n = _("h3"), s = I(i), a = F(), l = _("div"), u = _("div"), h = _("div"), h.innerHTML = '<div class="Checkmark"></div>', c = F(), f = _("div"), p = _("h3"), v = I(m), w = F(), C = _("p"), S = I(y), R = F(), U = _("div"), O = I(D), o(r, "class", "PlayerChangePasswordHeader"), o(h, "class", "IconContainer"), o(f, "class", "TextContainer"), o(u, "class", "SuccessWrapper"), o(U, "class", "PlayerChangePasswordBackButton"), o(l, "class", "ChangedPasswordSuccessfully");
|
|
4529
4527
|
},
|
|
4530
|
-
m(
|
|
4531
|
-
|
|
4532
|
-
|
|
4528
|
+
m(M, x) {
|
|
4529
|
+
G && G.m(M, x), A(M, t, x), A(M, r, x), d(r, n), d(n, s), A(M, a, x), A(M, l, x), 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, S), d(l, R), d(l, U), d(U, O), X || (te = z(
|
|
4530
|
+
U,
|
|
4533
4531
|
"click",
|
|
4534
4532
|
/*click_handler_9*/
|
|
4535
|
-
e[
|
|
4533
|
+
e[47]
|
|
4536
4534
|
), X = !0);
|
|
4537
4535
|
},
|
|
4538
|
-
p(
|
|
4536
|
+
p(M, x) {
|
|
4539
4537
|
/*isMobile*/
|
|
4540
|
-
|
|
4541
|
-
524288 &&
|
|
4542
|
-
|
|
4538
|
+
M[20] && G.p(M, x), x[0] & /*$_*/
|
|
4539
|
+
524288 && i !== (i = /*$_*/
|
|
4540
|
+
M[19]("changePasswordText") + "") && $(s, i), x[0] & /*$_*/
|
|
4543
4541
|
524288 && m !== (m = /*$_*/
|
|
4544
|
-
|
|
4542
|
+
M[19]("passwordReset") + "") && $(v, m), x[0] & /*$_*/
|
|
4545
4543
|
524288 && y !== (y = /*$_*/
|
|
4546
|
-
|
|
4544
|
+
M[19]("passwordResetConfirmation") + "") && $(S, y), x[0] & /*$_*/
|
|
4547
4545
|
524288 && D !== (D = /*$_*/
|
|
4548
|
-
|
|
4546
|
+
M[19]("backButtonText") + "") && $(O, D);
|
|
4549
4547
|
},
|
|
4550
|
-
d(
|
|
4551
|
-
|
|
4548
|
+
d(M) {
|
|
4549
|
+
M && (B(t), B(r), B(a), B(l)), G && G.d(M), X = !1, te();
|
|
4552
4550
|
}
|
|
4553
4551
|
};
|
|
4554
4552
|
}
|
|
4555
|
-
function
|
|
4553
|
+
function Ds(e) {
|
|
4556
4554
|
let t, r, n = (
|
|
4557
4555
|
/*$_*/
|
|
4558
4556
|
e[19]("titleChangePassword") + ""
|
|
4559
|
-
), s, a,
|
|
4557
|
+
), i, s, a, l, u, h = (
|
|
4560
4558
|
/*$_*/
|
|
4561
4559
|
e[19]("currentPassword") + ""
|
|
4562
|
-
), c, f, p, m,
|
|
4560
|
+
), c, f, p, m, v, w, C, y, S, R = (
|
|
4563
4561
|
/*$_*/
|
|
4564
4562
|
e[19]("newPassword") + ""
|
|
4565
|
-
),
|
|
4563
|
+
), U, D, O, X, te, G, M, x, Z, fe = (
|
|
4566
4564
|
/*$_*/
|
|
4567
4565
|
e[19]("confirmPassword") + ""
|
|
4568
|
-
),
|
|
4566
|
+
), be, Fe, Y, ne, Ue, we, le, de, ue, Q, pe = (
|
|
4569
4567
|
/*$_*/
|
|
4570
4568
|
e[19]("submitChangePassword") + ""
|
|
4571
|
-
),
|
|
4569
|
+
), De, me, ve, $e, Ye, se = (
|
|
4572
4570
|
/*isMobile*/
|
|
4573
|
-
e[20] &&
|
|
4571
|
+
e[20] && Gs(e)
|
|
4574
4572
|
);
|
|
4575
|
-
function
|
|
4573
|
+
function Qe(H, P) {
|
|
4576
4574
|
return (
|
|
4577
4575
|
/*isCurrentPasswordVisible*/
|
|
4578
|
-
|
|
4576
|
+
H[10] ? Vs : js
|
|
4579
4577
|
);
|
|
4580
4578
|
}
|
|
4581
|
-
let ye =
|
|
4579
|
+
let ye = Qe(e), J = ye(e), j = (
|
|
4582
4580
|
/*invalidCurrentPassword*/
|
|
4583
4581
|
e[4] && br(e)
|
|
4584
4582
|
);
|
|
4585
|
-
function Je(
|
|
4583
|
+
function Je(H, P) {
|
|
4586
4584
|
return (
|
|
4587
4585
|
/*isNewPasswordVisible*/
|
|
4588
|
-
|
|
4586
|
+
H[11] ? Zs : Xs
|
|
4589
4587
|
);
|
|
4590
4588
|
}
|
|
4591
|
-
let
|
|
4592
|
-
function qe(
|
|
4589
|
+
let _e = Je(e), q = _e(e);
|
|
4590
|
+
function qe(H, P) {
|
|
4593
4591
|
if (
|
|
4594
4592
|
/*oldPasswordSameAsNew*/
|
|
4595
|
-
|
|
4593
|
+
H[13]
|
|
4596
4594
|
)
|
|
4597
|
-
return
|
|
4595
|
+
return Qs;
|
|
4598
4596
|
if (
|
|
4599
4597
|
/*invalidNewPassword*/
|
|
4600
|
-
|
|
4598
|
+
H[5]
|
|
4601
4599
|
)
|
|
4602
|
-
return
|
|
4600
|
+
return Ys;
|
|
4603
4601
|
}
|
|
4604
|
-
let
|
|
4605
|
-
function Ke(
|
|
4602
|
+
let he = qe(e), V = he && he(e);
|
|
4603
|
+
function Ke(H, P) {
|
|
4606
4604
|
return (
|
|
4607
4605
|
/*isConfirmPasswordVisible*/
|
|
4608
|
-
|
|
4606
|
+
H[12] ? ea : Ks
|
|
4609
4607
|
);
|
|
4610
4608
|
}
|
|
4611
|
-
let
|
|
4609
|
+
let Pe = Ke(e), K = Pe(e), b = (
|
|
4612
4610
|
/*invalidConfirmPassword*/
|
|
4613
4611
|
e[6] && wr(e)
|
|
4614
|
-
),
|
|
4612
|
+
), N = (
|
|
4615
4613
|
/*showErrorPasswordChanged*/
|
|
4616
4614
|
e[18] && vr(e)
|
|
4617
4615
|
);
|
|
4618
4616
|
return {
|
|
4619
4617
|
c() {
|
|
4620
|
-
|
|
4621
|
-
(e[20] ? "ChangePasswordTitleNone" : "")), o(u, "for", "CurrentPassword"), o(p, "id", "CurrentPassword"), o(p, "type", "password"), o(l, "class",
|
|
4622
|
-
(e[4] ? "InvalidField" : "")), o(
|
|
4623
|
-
(e[5] ? "InvalidField" : "")), o(Z, "for", "ConfirmPassword"), o(
|
|
4624
|
-
(e[6] ? "InvalidField" : "")), o(
|
|
4625
|
-
(e[3] ? "" : "ButtonInactive")),
|
|
4626
|
-
e[3], o(
|
|
4618
|
+
se && se.c(), t = F(), r = _("h2"), i = I(n), s = F(), a = _("section"), l = _("div"), u = _("label"), c = I(h), f = F(), p = _("input"), m = F(), J.c(), v = F(), j && j.c(), C = F(), y = _("div"), S = _("label"), U = I(R), D = F(), O = _("input"), X = F(), q.c(), te = F(), V && V.c(), M = F(), x = _("div"), Z = _("label"), be = I(fe), Fe = F(), Y = _("input"), ne = F(), K.c(), Ue = F(), b && b.c(), le = F(), N && N.c(), de = F(), ue = _("section"), Q = _("button"), De = I(pe), o(r, "class", "ChangePasswordTitle " + /*isMobile*/
|
|
4619
|
+
(e[20] ? "ChangePasswordTitleNone" : "")), o(u, "for", "CurrentPassword"), o(p, "id", "CurrentPassword"), o(p, "type", "password"), o(l, "class", w = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
|
|
4620
|
+
(e[4] ? "InvalidField" : "")), o(S, "for", "NewPassword"), o(O, "id", "NewPassword"), o(O, "autocomplete", "new-password"), o(O, "type", "password"), o(y, "class", G = "PlayerChangePasswordBox " + /*invalidNewPassword*/
|
|
4621
|
+
(e[5] ? "InvalidField" : "")), o(Z, "for", "ConfirmPassword"), o(Y, "id", "ConfirmPassword"), o(Y, "type", "password"), o(x, "class", we = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
|
|
4622
|
+
(e[6] ? "InvalidField" : "")), o(a, "class", "PlayerChangePasswordContent"), o(Q, "class", me = "PlayerChangePasswordSaveButton " + /*activateSubmit*/
|
|
4623
|
+
(e[3] ? "" : "ButtonInactive")), Q.disabled = ve = !/*activateSubmit*/
|
|
4624
|
+
e[3], o(ue, "class", "PlayerChangePasswordButtonsArea");
|
|
4627
4625
|
},
|
|
4628
|
-
m(
|
|
4629
|
-
|
|
4626
|
+
m(H, P) {
|
|
4627
|
+
se && se.m(H, P), A(H, t, P), A(H, r, P), d(r, i), A(H, s, P), A(H, a, P), d(a, l), d(l, u), d(u, c), d(l, f), d(l, p), Ee(
|
|
4630
4628
|
p,
|
|
4631
4629
|
/*userCurrentPassword*/
|
|
4632
4630
|
e[14]
|
|
4633
|
-
), e[
|
|
4634
|
-
|
|
4631
|
+
), e[34](p), d(l, m), J.m(l, null), d(l, v), j && j.m(l, null), d(a, C), d(a, y), d(y, S), d(S, U), d(y, D), d(y, O), Ee(
|
|
4632
|
+
O,
|
|
4635
4633
|
/*userNewPassword*/
|
|
4636
4634
|
e[15]
|
|
4637
|
-
), e[
|
|
4638
|
-
|
|
4635
|
+
), e[38](O), d(y, X), q.m(y, null), d(y, te), V && V.m(y, null), d(a, M), d(a, x), d(x, Z), d(Z, be), d(x, Fe), d(x, Y), Ee(
|
|
4636
|
+
Y,
|
|
4639
4637
|
/*userConfirmPassword*/
|
|
4640
4638
|
e[16]
|
|
4641
|
-
), e[
|
|
4639
|
+
), e[42](Y), d(x, ne), K.m(x, null), d(x, Ue), b && b.m(x, null), A(H, le, P), N && N.m(H, P), A(H, de, P), A(H, ue, P), d(ue, Q), d(Q, De), $e || (Ye = [
|
|
4642
4640
|
z(
|
|
4643
4641
|
p,
|
|
4644
4642
|
"input",
|
|
4645
4643
|
/*input0_input_handler*/
|
|
4646
|
-
e[
|
|
4644
|
+
e[33]
|
|
4647
4645
|
),
|
|
4648
4646
|
z(p, "blur", function() {
|
|
4649
|
-
|
|
4647
|
+
Be(
|
|
4650
4648
|
/*validatePassword*/
|
|
4651
|
-
e[
|
|
4649
|
+
e[22](
|
|
4652
4650
|
/*invalidCurrentPassword*/
|
|
4653
4651
|
e[4],
|
|
4654
4652
|
/*userCurrentPassword*/
|
|
@@ -4656,7 +4654,7 @@ function Ua(e) {
|
|
|
4656
4654
|
/*currentPasswordVisibilityToggle*/
|
|
4657
4655
|
e[7]
|
|
4658
4656
|
)
|
|
4659
|
-
) && e[
|
|
4657
|
+
) && e[22](
|
|
4660
4658
|
/*invalidCurrentPassword*/
|
|
4661
4659
|
e[4],
|
|
4662
4660
|
/*userCurrentPassword*/
|
|
@@ -4666,15 +4664,15 @@ function Ua(e) {
|
|
|
4666
4664
|
).apply(this, arguments);
|
|
4667
4665
|
}),
|
|
4668
4666
|
z(
|
|
4669
|
-
|
|
4667
|
+
O,
|
|
4670
4668
|
"input",
|
|
4671
4669
|
/*input1_input_handler*/
|
|
4672
|
-
e[
|
|
4670
|
+
e[37]
|
|
4673
4671
|
),
|
|
4674
|
-
z(
|
|
4675
|
-
|
|
4672
|
+
z(O, "blur", function() {
|
|
4673
|
+
Be(
|
|
4676
4674
|
/*validatePassword*/
|
|
4677
|
-
e[
|
|
4675
|
+
e[22](
|
|
4678
4676
|
/*invalidNewPassword*/
|
|
4679
4677
|
e[5],
|
|
4680
4678
|
/*userNewPassword*/
|
|
@@ -4682,7 +4680,7 @@ function Ua(e) {
|
|
|
4682
4680
|
/*newPasswordVisibilityToggle*/
|
|
4683
4681
|
e[8]
|
|
4684
4682
|
)
|
|
4685
|
-
) && e[
|
|
4683
|
+
) && e[22](
|
|
4686
4684
|
/*invalidNewPassword*/
|
|
4687
4685
|
e[5],
|
|
4688
4686
|
/*userNewPassword*/
|
|
@@ -4692,15 +4690,15 @@ function Ua(e) {
|
|
|
4692
4690
|
).apply(this, arguments);
|
|
4693
4691
|
}),
|
|
4694
4692
|
z(
|
|
4695
|
-
|
|
4693
|
+
Y,
|
|
4696
4694
|
"input",
|
|
4697
4695
|
/*input2_input_handler*/
|
|
4698
|
-
e[
|
|
4696
|
+
e[41]
|
|
4699
4697
|
),
|
|
4700
|
-
z(
|
|
4701
|
-
|
|
4698
|
+
z(Y, "blur", function() {
|
|
4699
|
+
Be(
|
|
4702
4700
|
/*validatePassword*/
|
|
4703
|
-
e[
|
|
4701
|
+
e[22](
|
|
4704
4702
|
/*invalidConfirmPassword*/
|
|
4705
4703
|
e[6],
|
|
4706
4704
|
/*userConfirmPassword*/
|
|
@@ -4708,7 +4706,7 @@ function Ua(e) {
|
|
|
4708
4706
|
/*confirmPasswordVisibilityToggle*/
|
|
4709
4707
|
e[9]
|
|
4710
4708
|
)
|
|
4711
|
-
) && e[
|
|
4709
|
+
) && e[22](
|
|
4712
4710
|
/*invalidConfirmPassword*/
|
|
4713
4711
|
e[6],
|
|
4714
4712
|
/*userConfirmPassword*/
|
|
@@ -4718,133 +4716,133 @@ function Ua(e) {
|
|
|
4718
4716
|
).apply(this, arguments);
|
|
4719
4717
|
}),
|
|
4720
4718
|
z(
|
|
4721
|
-
|
|
4719
|
+
Q,
|
|
4722
4720
|
"click",
|
|
4723
4721
|
/*click_handler_7*/
|
|
4724
|
-
e[
|
|
4722
|
+
e[45]
|
|
4725
4723
|
)
|
|
4726
|
-
],
|
|
4724
|
+
], $e = !0);
|
|
4727
4725
|
},
|
|
4728
|
-
p(
|
|
4729
|
-
e =
|
|
4730
|
-
e[20] &&
|
|
4726
|
+
p(H, P) {
|
|
4727
|
+
e = H, /*isMobile*/
|
|
4728
|
+
e[20] && se.p(e, P), P[0] & /*$_*/
|
|
4731
4729
|
524288 && n !== (n = /*$_*/
|
|
4732
|
-
e[19]("titleChangePassword") + "") &&
|
|
4730
|
+
e[19]("titleChangePassword") + "") && $(i, n), P[0] & /*$_*/
|
|
4733
4731
|
524288 && h !== (h = /*$_*/
|
|
4734
|
-
e[19]("currentPassword") + "") &&
|
|
4732
|
+
e[19]("currentPassword") + "") && $(c, h), P[0] & /*userCurrentPassword*/
|
|
4735
4733
|
16384 && p.value !== /*userCurrentPassword*/
|
|
4736
|
-
e[14] &&
|
|
4734
|
+
e[14] && Ee(
|
|
4737
4735
|
p,
|
|
4738
4736
|
/*userCurrentPassword*/
|
|
4739
4737
|
e[14]
|
|
4740
|
-
), ye === (ye =
|
|
4741
|
-
e[4] ?
|
|
4742
|
-
16 &&
|
|
4743
|
-
(e[4] ? "InvalidField" : "")) && o(l, "class",
|
|
4744
|
-
524288 &&
|
|
4745
|
-
e[19]("newPassword") + "") && U
|
|
4746
|
-
32768 &&
|
|
4747
|
-
e[15] &&
|
|
4748
|
-
|
|
4738
|
+
), ye === (ye = Qe(e)) && J ? J.p(e, P) : (J.d(1), J = ye(e), J && (J.c(), J.m(l, v))), /*invalidCurrentPassword*/
|
|
4739
|
+
e[4] ? j ? j.p(e, P) : (j = br(e), j.c(), j.m(l, null)) : j && (j.d(1), j = null), P[0] & /*invalidCurrentPassword*/
|
|
4740
|
+
16 && w !== (w = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
|
|
4741
|
+
(e[4] ? "InvalidField" : "")) && o(l, "class", w), P[0] & /*$_*/
|
|
4742
|
+
524288 && R !== (R = /*$_*/
|
|
4743
|
+
e[19]("newPassword") + "") && $(U, R), P[0] & /*userNewPassword*/
|
|
4744
|
+
32768 && O.value !== /*userNewPassword*/
|
|
4745
|
+
e[15] && Ee(
|
|
4746
|
+
O,
|
|
4749
4747
|
/*userNewPassword*/
|
|
4750
4748
|
e[15]
|
|
4751
|
-
),
|
|
4752
|
-
32 &&
|
|
4753
|
-
(e[5] ? "InvalidField" : "")) && o(y, "class",
|
|
4754
|
-
524288 &&
|
|
4755
|
-
e[19]("confirmPassword") + "") &&
|
|
4756
|
-
65536 &&
|
|
4757
|
-
e[16] &&
|
|
4758
|
-
|
|
4749
|
+
), _e === (_e = Je(e)) && q ? q.p(e, P) : (q.d(1), q = _e(e), q && (q.c(), q.m(y, te))), he === (he = qe(e)) && V ? V.p(e, P) : (V && V.d(1), V = he && he(e), V && (V.c(), V.m(y, null))), P[0] & /*invalidNewPassword*/
|
|
4750
|
+
32 && G !== (G = "PlayerChangePasswordBox " + /*invalidNewPassword*/
|
|
4751
|
+
(e[5] ? "InvalidField" : "")) && o(y, "class", G), P[0] & /*$_*/
|
|
4752
|
+
524288 && fe !== (fe = /*$_*/
|
|
4753
|
+
e[19]("confirmPassword") + "") && $(be, fe), P[0] & /*userConfirmPassword*/
|
|
4754
|
+
65536 && Y.value !== /*userConfirmPassword*/
|
|
4755
|
+
e[16] && Ee(
|
|
4756
|
+
Y,
|
|
4759
4757
|
/*userConfirmPassword*/
|
|
4760
4758
|
e[16]
|
|
4761
|
-
),
|
|
4762
|
-
e[6] ?
|
|
4763
|
-
64 &&
|
|
4764
|
-
(e[6] ? "InvalidField" : "")) && o(
|
|
4765
|
-
e[18] ?
|
|
4766
|
-
524288 &&
|
|
4767
|
-
e[19]("submitChangePassword") + "") &&
|
|
4768
|
-
8 &&
|
|
4769
|
-
(e[3] ? "" : "ButtonInactive")) && o(
|
|
4770
|
-
8 &&
|
|
4771
|
-
e[3]) && (
|
|
4759
|
+
), Pe === (Pe = Ke(e)) && K ? K.p(e, P) : (K.d(1), K = Pe(e), K && (K.c(), K.m(x, Ue))), /*invalidConfirmPassword*/
|
|
4760
|
+
e[6] ? b ? b.p(e, P) : (b = wr(e), b.c(), b.m(x, null)) : b && (b.d(1), b = null), P[0] & /*invalidConfirmPassword*/
|
|
4761
|
+
64 && we !== (we = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
|
|
4762
|
+
(e[6] ? "InvalidField" : "")) && o(x, "class", we), /*showErrorPasswordChanged*/
|
|
4763
|
+
e[18] ? N ? N.p(e, P) : (N = vr(e), N.c(), N.m(de.parentNode, de)) : N && (N.d(1), N = null), P[0] & /*$_*/
|
|
4764
|
+
524288 && pe !== (pe = /*$_*/
|
|
4765
|
+
e[19]("submitChangePassword") + "") && $(De, pe), P[0] & /*activateSubmit*/
|
|
4766
|
+
8 && me !== (me = "PlayerChangePasswordSaveButton " + /*activateSubmit*/
|
|
4767
|
+
(e[3] ? "" : "ButtonInactive")) && o(Q, "class", me), P[0] & /*activateSubmit*/
|
|
4768
|
+
8 && ve !== (ve = !/*activateSubmit*/
|
|
4769
|
+
e[3]) && (Q.disabled = ve);
|
|
4772
4770
|
},
|
|
4773
|
-
d(
|
|
4774
|
-
|
|
4771
|
+
d(H) {
|
|
4772
|
+
H && (B(t), B(r), B(s), B(a), B(le), B(de), B(ue)), se && se.d(H), e[34](null), J.d(), j && j.d(), e[38](null), q.d(), V && V.d(), e[42](null), K.d(), b && b.d(), N && N.d(H), $e = !1, Oe(Ye);
|
|
4775
4773
|
}
|
|
4776
4774
|
};
|
|
4777
4775
|
}
|
|
4778
|
-
function $
|
|
4779
|
-
let t, r, n, s, a,
|
|
4776
|
+
function $s(e) {
|
|
4777
|
+
let t, r, n, i, s, a, l = (
|
|
4780
4778
|
/*$_*/
|
|
4781
4779
|
e[19]("returnToMenu") + ""
|
|
4782
4780
|
), u, h, c;
|
|
4783
4781
|
return {
|
|
4784
4782
|
c() {
|
|
4785
|
-
t = _("div"), r = g("svg"), n = g("g"),
|
|
4783
|
+
t = _("div"), r = g("svg"), n = g("g"), i = g("path"), s = F(), a = _("span"), u = I(l), o(i, "id", "Chevron_Right"), o(i, "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
|
|
4786
4784
|
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
|
|
4787
4785
|
C52.942,116.507,52.942,124.327,57.633,129.007z`), o(r, "version", "1.1"), o(r, "id", "Capa_1"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "xmlns:xlink", "http://www.w3.org/1999/xlink"), o(r, "x", "0px"), o(r, "y", "0px"), o(r, "viewBox", "0 0 240.823 240.823"), dn(r, "enable-background", "new 0 0 240.823 240.823"), o(r, "xml:space", "preserve"), o(r, "width", "18px"), o(r, "fill", "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))"), o(t, "class", "MenuReturnButton");
|
|
4788
4786
|
},
|
|
4789
4787
|
m(f, p) {
|
|
4790
|
-
|
|
4788
|
+
A(f, t, p), d(t, r), d(r, n), d(n, i), d(t, s), d(t, a), d(a, u), h || (c = z(
|
|
4791
4789
|
t,
|
|
4792
4790
|
"click",
|
|
4793
4791
|
/*click_handler_8*/
|
|
4794
|
-
e[
|
|
4792
|
+
e[46]
|
|
4795
4793
|
), h = !0);
|
|
4796
4794
|
},
|
|
4797
4795
|
p(f, p) {
|
|
4798
4796
|
p[0] & /*$_*/
|
|
4799
4797
|
524288 && l !== (l = /*$_*/
|
|
4800
|
-
f[19]("returnToMenu") + "") &&
|
|
4798
|
+
f[19]("returnToMenu") + "") && $(u, l);
|
|
4801
4799
|
},
|
|
4802
4800
|
d(f) {
|
|
4803
|
-
f &&
|
|
4801
|
+
f && B(t), h = !1, c();
|
|
4804
4802
|
}
|
|
4805
4803
|
};
|
|
4806
4804
|
}
|
|
4807
|
-
function
|
|
4808
|
-
let t, r, n, s, a,
|
|
4805
|
+
function Gs(e) {
|
|
4806
|
+
let t, r, n, i, s, a, l, u, h, c, f = (
|
|
4809
4807
|
/*$_*/
|
|
4810
4808
|
e[19]("titleChangePassword") + ""
|
|
4811
|
-
), p, m,
|
|
4809
|
+
), p, m, v;
|
|
4812
4810
|
return {
|
|
4813
4811
|
c() {
|
|
4814
|
-
t = _("div"), r = g("svg"), n = g("defs"),
|
|
4812
|
+
t = _("div"), r = g("svg"), n = g("defs"), i = g("style"), s = I(".aaa{fill:var(--emw--color-primary, #22B04E);;}"), a = g("g"), l = g("g"), u = g("path"), h = F(), c = _("h2"), p = I(f), o(u, "class", "aaa"), o(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), o(u, "transform", "translate(15 15) rotate(180)"), o(l, "transform", "translate(20 158)"), o(a, "transform", "translate(-20 -158)"), o(r, "xmlns", "http://www.w3.org/2000/svg"), o(r, "width", "15"), o(r, "height", "15"), o(r, "viewBox", "0 0 15 15"), o(c, "class", "ChangePasswordTitleMobile"), o(t, "class", "MenuReturnButton");
|
|
4815
4813
|
},
|
|
4816
|
-
m(
|
|
4817
|
-
|
|
4814
|
+
m(w, C) {
|
|
4815
|
+
A(w, t, C), d(t, r), d(r, n), d(n, i), d(i, s), d(r, a), d(a, l), d(l, u), d(t, h), d(t, c), d(c, p), m || (v = z(
|
|
4818
4816
|
t,
|
|
4819
4817
|
"click",
|
|
4820
4818
|
/*click_handler*/
|
|
4821
|
-
e[
|
|
4819
|
+
e[32]
|
|
4822
4820
|
), m = !0);
|
|
4823
4821
|
},
|
|
4824
|
-
p(
|
|
4825
|
-
|
|
4822
|
+
p(w, C) {
|
|
4823
|
+
C[0] & /*$_*/
|
|
4826
4824
|
524288 && f !== (f = /*$_*/
|
|
4827
|
-
|
|
4825
|
+
w[19]("titleChangePassword") + "") && $(p, f);
|
|
4828
4826
|
},
|
|
4829
|
-
d(
|
|
4830
|
-
|
|
4827
|
+
d(w) {
|
|
4828
|
+
w && B(t), m = !1, v();
|
|
4831
4829
|
}
|
|
4832
4830
|
};
|
|
4833
4831
|
}
|
|
4834
|
-
function
|
|
4835
|
-
let t, r, n, s, a,
|
|
4832
|
+
function js(e) {
|
|
4833
|
+
let t, r, n, i, s, a, l, u, h, c;
|
|
4836
4834
|
return {
|
|
4837
4835
|
c() {
|
|
4838
|
-
t = g("svg"), r = g("defs"), n = g("style"),
|
|
4836
|
+
t = g("svg"), r = g("defs"), n = g("style"), i = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), s = g("g"), a = g("path"), l = g("circle"), o(a, "class", "a"), o(a, "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"), o(a, "transform", "translate(0)"), o(l, "class", "a"), o(l, "cx", "2.779"), o(l, "cy", "2.779"), o(l, "r", "2.779"), o(l, "transform", "translate(20.827 30.303)"), o(s, "transform", "translate(-14.185 -27.832)"), o(t, "class", u = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4839
4837
|
(e[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4840
4838
|
(e[20] ? "TogglePasswordVisibilityMobile" : "")), o(t, "xmlns", "http://www.w3.org/2000/svg"), o(t, "width", "18.843"), o(t, "height", "10.5"), o(t, "viewBox", "0 0 18.843 10.5");
|
|
4841
4839
|
},
|
|
4842
4840
|
m(f, p) {
|
|
4843
|
-
|
|
4841
|
+
A(f, t, p), d(t, r), d(r, n), d(n, i), d(t, s), d(s, a), d(s, l), h || (c = z(
|
|
4844
4842
|
t,
|
|
4845
4843
|
"click",
|
|
4846
4844
|
/*click_handler_2*/
|
|
4847
|
-
e[
|
|
4845
|
+
e[36]
|
|
4848
4846
|
), h = !0);
|
|
4849
4847
|
},
|
|
4850
4848
|
p(f, p) {
|
|
@@ -4854,119 +4852,119 @@ function ja(e) {
|
|
|
4854
4852
|
(f[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", u);
|
|
4855
4853
|
},
|
|
4856
4854
|
d(f) {
|
|
4857
|
-
f &&
|
|
4855
|
+
f && B(t), h = !1, c();
|
|
4858
4856
|
}
|
|
4859
4857
|
};
|
|
4860
4858
|
}
|
|
4861
|
-
function
|
|
4862
|
-
let t, r, n, s, a,
|
|
4859
|
+
function Vs(e) {
|
|
4860
|
+
let t, r, n, i, s, a, l, u, h, c, f, p, m, v, w, C;
|
|
4863
4861
|
return {
|
|
4864
4862
|
c() {
|
|
4865
|
-
t = g("svg"), r = g("defs"), n = g("style"),
|
|
4863
|
+
t = g("svg"), r = g("defs"), n = g("style"), i = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), s = g("g"), a = g("circle"), l = g("g"), u = g("path"), h = g("path"), c = g("g"), f = g("path"), p = g("path"), m = g("rect"), o(a, "class", "a"), o(a, "cx", "0.05"), o(a, "cy", "0.05"), o(a, "r", "0.05"), o(a, "transform", "translate(121.017 31.148)"), o(u, "class", "a"), o(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), o(u, "transform", "translate(-142.164 -39.123)"), o(h, "class", "a"), o(h, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), o(h, "transform", "translate(-136.413 -42.068)"), o(l, "transform", "translate(117.499 27.37)"), o(f, "class", "a"), o(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"), o(f, "transform", "translate(-110.856 -33.157)"), o(p, "class", "a"), o(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"), o(p, "transform", "translate(-130.743 -29.617)"), o(c, "transform", "translate(110.856 24.899)"), o(m, "class", "a"), o(m, "width", "0.972"), o(m, "height", "15.861"), o(m, "rx", "0.486"), o(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), o(s, "transform", "translate(-110.856 -23.242)"), o(t, "class", v = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4866
4864
|
(e[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4867
4865
|
(e[20] ? "TogglePasswordVisibilityMobile" : "")), o(t, "xmlns", "http://www.w3.org/2000/svg"), o(t, "width", "18.844"), o(t, "height", "12.887"), o(t, "viewBox", "0 0 18.844 12.887");
|
|
4868
4866
|
},
|
|
4869
|
-
m(y,
|
|
4870
|
-
|
|
4867
|
+
m(y, S) {
|
|
4868
|
+
A(y, t, S), d(t, r), d(r, n), d(n, i), d(t, s), d(s, a), d(s, l), d(l, u), d(l, h), d(s, c), d(c, f), d(c, p), d(s, m), w || (C = z(
|
|
4871
4869
|
t,
|
|
4872
4870
|
"click",
|
|
4873
4871
|
/*click_handler_1*/
|
|
4874
|
-
e[
|
|
4875
|
-
),
|
|
4872
|
+
e[35]
|
|
4873
|
+
), w = !0);
|
|
4876
4874
|
},
|
|
4877
|
-
p(y,
|
|
4878
|
-
|
|
4879
|
-
16 &&
|
|
4875
|
+
p(y, S) {
|
|
4876
|
+
S[0] & /*invalidCurrentPassword*/
|
|
4877
|
+
16 && v !== (v = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4880
4878
|
(y[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4881
|
-
(y[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class",
|
|
4879
|
+
(y[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", v);
|
|
4882
4880
|
},
|
|
4883
4881
|
d(y) {
|
|
4884
|
-
y &&
|
|
4882
|
+
y && B(t), w = !1, C();
|
|
4885
4883
|
}
|
|
4886
4884
|
};
|
|
4887
4885
|
}
|
|
4888
4886
|
function br(e) {
|
|
4889
4887
|
let t;
|
|
4890
|
-
function r(
|
|
4888
|
+
function r(s, a) {
|
|
4891
4889
|
return (
|
|
4892
4890
|
/*simplepasswordvalidation*/
|
|
4893
|
-
|
|
4891
|
+
s[0] == "true" ? Ws : zs
|
|
4894
4892
|
);
|
|
4895
4893
|
}
|
|
4896
|
-
let n = r(e),
|
|
4894
|
+
let n = r(e), i = n(e);
|
|
4897
4895
|
return {
|
|
4898
4896
|
c() {
|
|
4899
|
-
|
|
4897
|
+
i.c(), t = Er();
|
|
4900
4898
|
},
|
|
4901
|
-
m(
|
|
4902
|
-
|
|
4899
|
+
m(s, a) {
|
|
4900
|
+
i.m(s, a), A(s, t, a);
|
|
4903
4901
|
},
|
|
4904
|
-
p(
|
|
4905
|
-
n === (n = r(
|
|
4902
|
+
p(s, a) {
|
|
4903
|
+
n === (n = r(s)) && i ? i.p(s, a) : (i.d(1), i = n(s), i && (i.c(), i.m(t.parentNode, t)));
|
|
4906
4904
|
},
|
|
4907
|
-
d(
|
|
4908
|
-
|
|
4905
|
+
d(s) {
|
|
4906
|
+
s && B(t), i.d(s);
|
|
4909
4907
|
}
|
|
4910
4908
|
};
|
|
4911
4909
|
}
|
|
4912
|
-
function
|
|
4910
|
+
function zs(e) {
|
|
4913
4911
|
let t, r = (
|
|
4914
4912
|
/*$_*/
|
|
4915
4913
|
e[19]("invalidPasswordRule") + ""
|
|
4916
4914
|
), n;
|
|
4917
4915
|
return {
|
|
4918
4916
|
c() {
|
|
4919
|
-
t = _("p"), n =
|
|
4917
|
+
t = _("p"), n = I(r), o(t, "class", "InvalidInput");
|
|
4920
4918
|
},
|
|
4921
|
-
m(
|
|
4922
|
-
|
|
4919
|
+
m(i, s) {
|
|
4920
|
+
A(i, t, s), d(t, n);
|
|
4923
4921
|
},
|
|
4924
|
-
p(
|
|
4925
|
-
|
|
4922
|
+
p(i, s) {
|
|
4923
|
+
s[0] & /*$_*/
|
|
4926
4924
|
524288 && r !== (r = /*$_*/
|
|
4927
|
-
|
|
4925
|
+
i[19]("invalidPasswordRule") + "") && $(n, r);
|
|
4928
4926
|
},
|
|
4929
|
-
d(
|
|
4930
|
-
|
|
4927
|
+
d(i) {
|
|
4928
|
+
i && B(t);
|
|
4931
4929
|
}
|
|
4932
4930
|
};
|
|
4933
4931
|
}
|
|
4934
|
-
function
|
|
4932
|
+
function Ws(e) {
|
|
4935
4933
|
let t, r = (
|
|
4936
4934
|
/*$_*/
|
|
4937
4935
|
e[19]("simplePasswordError") + ""
|
|
4938
4936
|
), n;
|
|
4939
4937
|
return {
|
|
4940
4938
|
c() {
|
|
4941
|
-
t = _("p"), n =
|
|
4939
|
+
t = _("p"), n = I(r), o(t, "class", "InvalidInput");
|
|
4942
4940
|
},
|
|
4943
|
-
m(
|
|
4944
|
-
|
|
4941
|
+
m(i, s) {
|
|
4942
|
+
A(i, t, s), d(t, n);
|
|
4945
4943
|
},
|
|
4946
|
-
p(
|
|
4947
|
-
|
|
4944
|
+
p(i, s) {
|
|
4945
|
+
s[0] & /*$_*/
|
|
4948
4946
|
524288 && r !== (r = /*$_*/
|
|
4949
|
-
|
|
4947
|
+
i[19]("simplePasswordError") + "") && $(n, r);
|
|
4950
4948
|
},
|
|
4951
|
-
d(
|
|
4952
|
-
|
|
4949
|
+
d(i) {
|
|
4950
|
+
i && B(t);
|
|
4953
4951
|
}
|
|
4954
4952
|
};
|
|
4955
4953
|
}
|
|
4956
|
-
function
|
|
4957
|
-
let t, r, n, s, a,
|
|
4954
|
+
function Xs(e) {
|
|
4955
|
+
let t, r, n, i, s, a, l, u, h, c;
|
|
4958
4956
|
return {
|
|
4959
4957
|
c() {
|
|
4960
|
-
t = g("svg"), r = g("defs"), n = g("style"),
|
|
4958
|
+
t = g("svg"), r = g("defs"), n = g("style"), i = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), s = g("g"), a = g("path"), l = g("circle"), o(a, "class", "a"), o(a, "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"), o(a, "transform", "translate(0)"), o(l, "class", "a"), o(l, "cx", "2.779"), o(l, "cy", "2.779"), o(l, "r", "2.779"), o(l, "transform", "translate(20.827 30.303)"), o(s, "transform", "translate(-14.185 -27.832)"), o(t, "class", u = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4961
4959
|
(e[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4962
4960
|
(e[20] ? "TogglePasswordVisibilityMobile" : "")), o(t, "xmlns", "http://www.w3.org/2000/svg"), o(t, "width", "18.843"), o(t, "height", "10.5"), o(t, "viewBox", "0 0 18.843 10.5");
|
|
4963
4961
|
},
|
|
4964
4962
|
m(f, p) {
|
|
4965
|
-
|
|
4963
|
+
A(f, t, p), d(t, r), d(r, n), d(n, i), d(t, s), d(s, a), d(s, l), h || (c = z(
|
|
4966
4964
|
t,
|
|
4967
4965
|
"click",
|
|
4968
4966
|
/*click_handler_4*/
|
|
4969
|
-
e[
|
|
4967
|
+
e[40]
|
|
4970
4968
|
), h = !0);
|
|
4971
4969
|
},
|
|
4972
4970
|
p(f, p) {
|
|
@@ -4976,141 +4974,141 @@ function Xa(e) {
|
|
|
4976
4974
|
(f[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", u);
|
|
4977
4975
|
},
|
|
4978
4976
|
d(f) {
|
|
4979
|
-
f &&
|
|
4977
|
+
f && B(t), h = !1, c();
|
|
4980
4978
|
}
|
|
4981
4979
|
};
|
|
4982
4980
|
}
|
|
4983
|
-
function
|
|
4984
|
-
let t, r, n, s, a,
|
|
4981
|
+
function Zs(e) {
|
|
4982
|
+
let t, r, n, i, s, a, l, u, h, c, f, p, m, v, w, C;
|
|
4985
4983
|
return {
|
|
4986
4984
|
c() {
|
|
4987
|
-
t = g("svg"), r = g("defs"), n = g("style"),
|
|
4985
|
+
t = g("svg"), r = g("defs"), n = g("style"), i = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), s = g("g"), a = g("circle"), l = g("g"), u = g("path"), h = g("path"), c = g("g"), f = g("path"), p = g("path"), m = g("rect"), o(a, "class", "a"), o(a, "cx", "0.05"), o(a, "cy", "0.05"), o(a, "r", "0.05"), o(a, "transform", "translate(121.017 31.148)"), o(u, "class", "a"), o(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), o(u, "transform", "translate(-142.164 -39.123)"), o(h, "class", "a"), o(h, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), o(h, "transform", "translate(-136.413 -42.068)"), o(l, "transform", "translate(117.499 27.37)"), o(f, "class", "a"), o(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"), o(f, "transform", "translate(-110.856 -33.157)"), o(p, "class", "a"), o(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"), o(p, "transform", "translate(-130.743 -29.617)"), o(c, "transform", "translate(110.856 24.899)"), o(m, "class", "a"), o(m, "width", "0.972"), o(m, "height", "15.861"), o(m, "rx", "0.486"), o(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), o(s, "transform", "translate(-110.856 -23.242)"), o(t, "class", v = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4988
4986
|
(e[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4989
4987
|
(e[20] ? "TogglePasswordVisibilityMobile" : "")), o(t, "xmlns", "http://www.w3.org/2000/svg"), o(t, "width", "18.844"), o(t, "height", "12.887"), o(t, "viewBox", "0 0 18.844 12.887");
|
|
4990
4988
|
},
|
|
4991
|
-
m(y,
|
|
4992
|
-
|
|
4989
|
+
m(y, S) {
|
|
4990
|
+
A(y, t, S), d(t, r), d(r, n), d(n, i), d(t, s), d(s, a), d(s, l), d(l, u), d(l, h), d(s, c), d(c, f), d(c, p), d(s, m), w || (C = z(
|
|
4993
4991
|
t,
|
|
4994
4992
|
"click",
|
|
4995
4993
|
/*click_handler_3*/
|
|
4996
|
-
e[
|
|
4997
|
-
),
|
|
4994
|
+
e[39]
|
|
4995
|
+
), w = !0);
|
|
4998
4996
|
},
|
|
4999
|
-
p(y,
|
|
5000
|
-
|
|
5001
|
-
32 &&
|
|
4997
|
+
p(y, S) {
|
|
4998
|
+
S[0] & /*invalidNewPassword*/
|
|
4999
|
+
32 && v !== (v = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
5002
5000
|
(y[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5003
|
-
(y[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class",
|
|
5001
|
+
(y[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", v);
|
|
5004
5002
|
},
|
|
5005
5003
|
d(y) {
|
|
5006
|
-
y &&
|
|
5004
|
+
y && B(t), w = !1, C();
|
|
5007
5005
|
}
|
|
5008
5006
|
};
|
|
5009
5007
|
}
|
|
5010
|
-
function
|
|
5008
|
+
function Ys(e) {
|
|
5011
5009
|
let t;
|
|
5012
|
-
function r(
|
|
5010
|
+
function r(s, a) {
|
|
5013
5011
|
return (
|
|
5014
5012
|
/*simplepasswordvalidation*/
|
|
5015
|
-
|
|
5013
|
+
s[0] == "true" ? qs : Js
|
|
5016
5014
|
);
|
|
5017
5015
|
}
|
|
5018
|
-
let n = r(e),
|
|
5016
|
+
let n = r(e), i = n(e);
|
|
5019
5017
|
return {
|
|
5020
5018
|
c() {
|
|
5021
|
-
|
|
5019
|
+
i.c(), t = Er();
|
|
5022
5020
|
},
|
|
5023
|
-
m(
|
|
5024
|
-
|
|
5021
|
+
m(s, a) {
|
|
5022
|
+
i.m(s, a), A(s, t, a);
|
|
5025
5023
|
},
|
|
5026
|
-
p(
|
|
5027
|
-
n === (n = r(
|
|
5024
|
+
p(s, a) {
|
|
5025
|
+
n === (n = r(s)) && i ? i.p(s, a) : (i.d(1), i = n(s), i && (i.c(), i.m(t.parentNode, t)));
|
|
5028
5026
|
},
|
|
5029
|
-
d(
|
|
5030
|
-
|
|
5027
|
+
d(s) {
|
|
5028
|
+
s && B(t), i.d(s);
|
|
5031
5029
|
}
|
|
5032
5030
|
};
|
|
5033
5031
|
}
|
|
5034
|
-
function
|
|
5032
|
+
function Qs(e) {
|
|
5035
5033
|
let t, r = (
|
|
5036
5034
|
/*$_*/
|
|
5037
5035
|
e[19]("invalidNewPassword") + ""
|
|
5038
5036
|
), n;
|
|
5039
5037
|
return {
|
|
5040
5038
|
c() {
|
|
5041
|
-
t = _("p"), n =
|
|
5039
|
+
t = _("p"), n = I(r), o(t, "class", "InvalidInputNew");
|
|
5042
5040
|
},
|
|
5043
|
-
m(
|
|
5044
|
-
|
|
5041
|
+
m(i, s) {
|
|
5042
|
+
A(i, t, s), d(t, n);
|
|
5045
5043
|
},
|
|
5046
|
-
p(
|
|
5047
|
-
|
|
5044
|
+
p(i, s) {
|
|
5045
|
+
s[0] & /*$_*/
|
|
5048
5046
|
524288 && r !== (r = /*$_*/
|
|
5049
|
-
|
|
5047
|
+
i[19]("invalidNewPassword") + "") && $(n, r);
|
|
5050
5048
|
},
|
|
5051
|
-
d(
|
|
5052
|
-
|
|
5049
|
+
d(i) {
|
|
5050
|
+
i && B(t);
|
|
5053
5051
|
}
|
|
5054
5052
|
};
|
|
5055
5053
|
}
|
|
5056
|
-
function
|
|
5054
|
+
function Js(e) {
|
|
5057
5055
|
let t, r = (
|
|
5058
5056
|
/*$_*/
|
|
5059
5057
|
e[19]("invalidPasswordRule") + ""
|
|
5060
5058
|
), n;
|
|
5061
5059
|
return {
|
|
5062
5060
|
c() {
|
|
5063
|
-
t = _("p"), n =
|
|
5061
|
+
t = _("p"), n = I(r), o(t, "class", "InvalidInput");
|
|
5064
5062
|
},
|
|
5065
|
-
m(
|
|
5066
|
-
|
|
5063
|
+
m(i, s) {
|
|
5064
|
+
A(i, t, s), d(t, n);
|
|
5067
5065
|
},
|
|
5068
|
-
p(
|
|
5069
|
-
|
|
5066
|
+
p(i, s) {
|
|
5067
|
+
s[0] & /*$_*/
|
|
5070
5068
|
524288 && r !== (r = /*$_*/
|
|
5071
|
-
|
|
5069
|
+
i[19]("invalidPasswordRule") + "") && $(n, r);
|
|
5072
5070
|
},
|
|
5073
|
-
d(
|
|
5074
|
-
|
|
5071
|
+
d(i) {
|
|
5072
|
+
i && B(t);
|
|
5075
5073
|
}
|
|
5076
5074
|
};
|
|
5077
5075
|
}
|
|
5078
|
-
function
|
|
5076
|
+
function qs(e) {
|
|
5079
5077
|
let t, r = (
|
|
5080
5078
|
/*$_*/
|
|
5081
5079
|
e[19]("simplePasswordError") + ""
|
|
5082
5080
|
), n;
|
|
5083
5081
|
return {
|
|
5084
5082
|
c() {
|
|
5085
|
-
t = _("p"), n =
|
|
5083
|
+
t = _("p"), n = I(r), o(t, "class", "InvalidInput");
|
|
5086
5084
|
},
|
|
5087
|
-
m(
|
|
5088
|
-
|
|
5085
|
+
m(i, s) {
|
|
5086
|
+
A(i, t, s), d(t, n);
|
|
5089
5087
|
},
|
|
5090
|
-
p(
|
|
5091
|
-
|
|
5088
|
+
p(i, s) {
|
|
5089
|
+
s[0] & /*$_*/
|
|
5092
5090
|
524288 && r !== (r = /*$_*/
|
|
5093
|
-
|
|
5091
|
+
i[19]("simplePasswordError") + "") && $(n, r);
|
|
5094
5092
|
},
|
|
5095
|
-
d(
|
|
5096
|
-
|
|
5093
|
+
d(i) {
|
|
5094
|
+
i && B(t);
|
|
5097
5095
|
}
|
|
5098
5096
|
};
|
|
5099
5097
|
}
|
|
5100
|
-
function
|
|
5101
|
-
let t, r, n, s, a,
|
|
5098
|
+
function Ks(e) {
|
|
5099
|
+
let t, r, n, i, s, a, l, u, h, c;
|
|
5102
5100
|
return {
|
|
5103
5101
|
c() {
|
|
5104
|
-
t = g("svg"), r = g("defs"), n = g("style"),
|
|
5102
|
+
t = g("svg"), r = g("defs"), n = g("style"), i = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), s = g("g"), a = g("path"), l = g("circle"), o(a, "class", "a"), o(a, "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"), o(a, "transform", "translate(0)"), o(l, "class", "a"), o(l, "cx", "2.779"), o(l, "cy", "2.779"), o(l, "r", "2.779"), o(l, "transform", "translate(20.827 30.303)"), o(s, "transform", "translate(-14.185 -27.832)"), o(t, "class", u = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5105
5103
|
(e[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5106
5104
|
(e[20] ? "TogglePasswordVisibilityMobile" : "")), o(t, "xmlns", "http://www.w3.org/2000/svg"), o(t, "width", "18.843"), o(t, "height", "10.5"), o(t, "viewBox", "0 0 18.843 10.5");
|
|
5107
5105
|
},
|
|
5108
5106
|
m(f, p) {
|
|
5109
|
-
|
|
5107
|
+
A(f, t, p), d(t, r), d(r, n), d(n, i), d(t, s), d(s, a), d(s, l), h || (c = z(
|
|
5110
5108
|
t,
|
|
5111
5109
|
"click",
|
|
5112
5110
|
/*click_handler_6*/
|
|
5113
|
-
e[
|
|
5111
|
+
e[44]
|
|
5114
5112
|
), h = !0);
|
|
5115
5113
|
},
|
|
5116
5114
|
p(f, p) {
|
|
@@ -5120,34 +5118,34 @@ function Ka(e) {
|
|
|
5120
5118
|
(f[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", u);
|
|
5121
5119
|
},
|
|
5122
5120
|
d(f) {
|
|
5123
|
-
f &&
|
|
5121
|
+
f && B(t), h = !1, c();
|
|
5124
5122
|
}
|
|
5125
5123
|
};
|
|
5126
5124
|
}
|
|
5127
|
-
function
|
|
5128
|
-
let t, r, n, s, a,
|
|
5125
|
+
function ea(e) {
|
|
5126
|
+
let t, r, n, i, s, a, l, u, h, c, f, p, m, v, w, C;
|
|
5129
5127
|
return {
|
|
5130
5128
|
c() {
|
|
5131
|
-
t = g("svg"), r = g("defs"), n = g("style"),
|
|
5129
|
+
t = g("svg"), r = g("defs"), n = g("style"), i = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), s = g("g"), a = g("circle"), l = g("g"), u = g("path"), h = g("path"), c = g("g"), f = g("path"), p = g("path"), m = g("rect"), o(a, "class", "a"), o(a, "cx", "0.05"), o(a, "cy", "0.05"), o(a, "r", "0.05"), o(a, "transform", "translate(121.017 31.148)"), o(u, "class", "a"), o(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), o(u, "transform", "translate(-142.164 -39.123)"), o(h, "class", "a"), o(h, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), o(h, "transform", "translate(-136.413 -42.068)"), o(l, "transform", "translate(117.499 27.37)"), o(f, "class", "a"), o(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"), o(f, "transform", "translate(-110.856 -33.157)"), o(p, "class", "a"), o(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"), o(p, "transform", "translate(-130.743 -29.617)"), o(c, "transform", "translate(110.856 24.899)"), o(m, "class", "a"), o(m, "width", "0.972"), o(m, "height", "15.861"), o(m, "rx", "0.486"), o(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), o(s, "transform", "translate(-110.856 -23.242)"), o(t, "class", v = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5132
5130
|
(e[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5133
5131
|
(e[20] ? "TogglePasswordVisibilityMobile" : "")), o(t, "xmlns", "http://www.w3.org/2000/svg"), o(t, "width", "18.844"), o(t, "height", "12.887"), o(t, "viewBox", "0 0 18.844 12.887");
|
|
5134
5132
|
},
|
|
5135
|
-
m(y,
|
|
5136
|
-
|
|
5133
|
+
m(y, S) {
|
|
5134
|
+
A(y, t, S), d(t, r), d(r, n), d(n, i), d(t, s), d(s, a), d(s, l), d(l, u), d(l, h), d(s, c), d(c, f), d(c, p), d(s, m), w || (C = z(
|
|
5137
5135
|
t,
|
|
5138
5136
|
"click",
|
|
5139
5137
|
/*click_handler_5*/
|
|
5140
|
-
e[
|
|
5141
|
-
),
|
|
5138
|
+
e[43]
|
|
5139
|
+
), w = !0);
|
|
5142
5140
|
},
|
|
5143
|
-
p(y,
|
|
5144
|
-
|
|
5145
|
-
64 &&
|
|
5141
|
+
p(y, S) {
|
|
5142
|
+
S[0] & /*invalidConfirmPassword*/
|
|
5143
|
+
64 && v !== (v = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5146
5144
|
(y[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5147
|
-
(y[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class",
|
|
5145
|
+
(y[20] ? "TogglePasswordVisibilityMobile" : "")) && o(t, "class", v);
|
|
5148
5146
|
},
|
|
5149
5147
|
d(y) {
|
|
5150
|
-
y &&
|
|
5148
|
+
y && B(t), w = !1, C();
|
|
5151
5149
|
}
|
|
5152
5150
|
};
|
|
5153
5151
|
}
|
|
@@ -5158,18 +5156,18 @@ function wr(e) {
|
|
|
5158
5156
|
), n;
|
|
5159
5157
|
return {
|
|
5160
5158
|
c() {
|
|
5161
|
-
t = _("p"), n =
|
|
5159
|
+
t = _("p"), n = I(r), o(t, "class", "InvalidInput");
|
|
5162
5160
|
},
|
|
5163
|
-
m(
|
|
5164
|
-
|
|
5161
|
+
m(i, s) {
|
|
5162
|
+
A(i, t, s), d(t, n);
|
|
5165
5163
|
},
|
|
5166
|
-
p(
|
|
5167
|
-
|
|
5164
|
+
p(i, s) {
|
|
5165
|
+
s[0] & /*$_*/
|
|
5168
5166
|
524288 && r !== (r = /*$_*/
|
|
5169
|
-
|
|
5167
|
+
i[19]("confirmPasswordInvalid") + "") && $(n, r);
|
|
5170
5168
|
},
|
|
5171
|
-
d(
|
|
5172
|
-
|
|
5169
|
+
d(i) {
|
|
5170
|
+
i && B(t);
|
|
5173
5171
|
}
|
|
5174
5172
|
};
|
|
5175
5173
|
}
|
|
@@ -5177,98 +5175,99 @@ function vr(e) {
|
|
|
5177
5175
|
let t, r, n;
|
|
5178
5176
|
return {
|
|
5179
5177
|
c() {
|
|
5180
|
-
t = _("div"), r = _("p"), n =
|
|
5178
|
+
t = _("div"), r = _("p"), n = I(
|
|
5181
5179
|
/*errorPasswordChanged*/
|
|
5182
5180
|
e[17]
|
|
5183
5181
|
), o(r, "class", "PasswordChangedError");
|
|
5184
5182
|
},
|
|
5185
|
-
m(
|
|
5186
|
-
|
|
5183
|
+
m(i, s) {
|
|
5184
|
+
A(i, t, s), d(t, r), d(r, n);
|
|
5187
5185
|
},
|
|
5188
|
-
p(
|
|
5189
|
-
|
|
5190
|
-
131072 &&
|
|
5186
|
+
p(i, s) {
|
|
5187
|
+
s[0] & /*errorPasswordChanged*/
|
|
5188
|
+
131072 && $(
|
|
5191
5189
|
n,
|
|
5192
5190
|
/*errorPasswordChanged*/
|
|
5193
|
-
|
|
5191
|
+
i[17]
|
|
5194
5192
|
);
|
|
5195
5193
|
},
|
|
5196
|
-
d(
|
|
5197
|
-
|
|
5194
|
+
d(i) {
|
|
5195
|
+
i && B(t);
|
|
5198
5196
|
}
|
|
5199
5197
|
};
|
|
5200
5198
|
}
|
|
5201
|
-
function
|
|
5199
|
+
function ta(e) {
|
|
5202
5200
|
let t;
|
|
5203
|
-
function r(
|
|
5204
|
-
return
|
|
5201
|
+
function r(s, a) {
|
|
5202
|
+
return Fs;
|
|
5205
5203
|
}
|
|
5206
|
-
let
|
|
5204
|
+
let i = r()(e);
|
|
5207
5205
|
return {
|
|
5208
5206
|
c() {
|
|
5209
|
-
t = _("div"),
|
|
5207
|
+
t = _("div"), i.c();
|
|
5210
5208
|
},
|
|
5211
|
-
m(
|
|
5212
|
-
|
|
5209
|
+
m(s, a) {
|
|
5210
|
+
A(s, t, a), i.m(t, null), e[48](t);
|
|
5213
5211
|
},
|
|
5214
|
-
p(
|
|
5215
|
-
|
|
5212
|
+
p(s, a) {
|
|
5213
|
+
i.p(s, a);
|
|
5216
5214
|
},
|
|
5217
|
-
i:
|
|
5218
|
-
o:
|
|
5219
|
-
d(
|
|
5220
|
-
|
|
5215
|
+
i: re,
|
|
5216
|
+
o: re,
|
|
5217
|
+
d(s) {
|
|
5218
|
+
s && B(t), i.d(), e[48](null);
|
|
5221
5219
|
}
|
|
5222
5220
|
};
|
|
5223
5221
|
}
|
|
5224
|
-
function
|
|
5222
|
+
function ra(e, t, r) {
|
|
5225
5223
|
let n;
|
|
5226
|
-
ln(e,
|
|
5227
|
-
let { lang:
|
|
5228
|
-
|
|
5224
|
+
ln(e, Is, (b) => r(19, n = b));
|
|
5225
|
+
let { lang: i = "en" } = t, { simplepasswordvalidation: s = "false" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { mbsource: u } = t, { translationurl: h = "" } = t, { passwordregex: c = "" } = t, f, p = window.navigator.userAgent, m = Ms(p) !== "PC", v = !1;
|
|
5226
|
+
window.matchMedia("(min-width: 768px)");
|
|
5227
|
+
const w = {
|
|
5229
5228
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
|
|
5230
5229
|
};
|
|
5231
|
-
let
|
|
5232
|
-
const
|
|
5233
|
-
fetch(h).then((
|
|
5234
|
-
Object.keys(
|
|
5235
|
-
mr(
|
|
5230
|
+
let C = !1, y = !1, S = !1, R, U, D, O = !1, X = !1, te = !1, G = !1, M = "", x = "", Z = "", fe = !1, be = "", Fe = !1;
|
|
5231
|
+
const Y = () => {
|
|
5232
|
+
fetch(h).then((N) => N.json()).then((N) => {
|
|
5233
|
+
Object.keys(N).forEach((H) => {
|
|
5234
|
+
mr(H, N[H]);
|
|
5236
5235
|
});
|
|
5237
|
-
}).catch((
|
|
5238
|
-
console.log(
|
|
5236
|
+
}).catch((N) => {
|
|
5237
|
+
console.log(N);
|
|
5239
5238
|
});
|
|
5240
5239
|
};
|
|
5241
5240
|
Object.keys(gr).forEach((b) => {
|
|
5242
5241
|
mr(b, gr[b]);
|
|
5243
5242
|
});
|
|
5244
|
-
const
|
|
5243
|
+
const ne = (b) => {
|
|
5245
5244
|
switch (b) {
|
|
5246
5245
|
case "userCurrentPassword":
|
|
5247
|
-
r(10,
|
|
5246
|
+
r(10, O = !O), r(7, R.type = O ? "text" : "password", R);
|
|
5248
5247
|
break;
|
|
5249
5248
|
case "userNewPassword":
|
|
5250
|
-
r(11,
|
|
5249
|
+
r(11, X = !X), r(8, U.type = X ? "text" : "password", U);
|
|
5251
5250
|
break;
|
|
5252
5251
|
case "userConfirmPassword":
|
|
5253
|
-
r(12,
|
|
5252
|
+
r(12, te = !te), r(9, D.type = te ? "text" : "password", D);
|
|
5254
5253
|
break;
|
|
5255
5254
|
}
|
|
5256
|
-
},
|
|
5257
|
-
|
|
5258
|
-
},
|
|
5259
|
-
|
|
5260
|
-
},
|
|
5261
|
-
!
|
|
5262
|
-
},
|
|
5263
|
-
b.preventDefault(),
|
|
5255
|
+
}, Ue = () => {
|
|
5256
|
+
s == "true" && (w.password = /^(?!.* ).{8,20}$/);
|
|
5257
|
+
}, we = (b, N, H) => {
|
|
5258
|
+
H.id === "CurrentPassword" ? r(4, C = !le(N)) : H.id === "NewPassword" ? (r(5, y = !le(N)), M && r(13, G = M === x), Z && r(6, S = x === Z ? !le(N) : !0)) : r(6, S = x === Z ? !le(N) : !0), de();
|
|
5259
|
+
}, le = (b) => !!w.password.test(b), de = () => {
|
|
5260
|
+
!C && !y && !S && !G && M && x && Z ? r(3, v = !0) : r(3, v = !1);
|
|
5261
|
+
}, ue = (b) => {
|
|
5262
|
+
b.preventDefault(), v && window.postMessage(
|
|
5264
5263
|
{
|
|
5265
5264
|
type: "ChangePassword",
|
|
5266
|
-
userCurrentPassword:
|
|
5267
|
-
userNewPassword:
|
|
5265
|
+
userCurrentPassword: M,
|
|
5266
|
+
userNewPassword: x
|
|
5268
5267
|
},
|
|
5269
5268
|
window.location.href
|
|
5270
5269
|
);
|
|
5271
|
-
},
|
|
5270
|
+
}, Q = () => {
|
|
5272
5271
|
window.postMessage(
|
|
5273
5272
|
{
|
|
5274
5273
|
type: "PlayerAccountMenuActive",
|
|
@@ -5276,187 +5275,186 @@ function ri(e, t, r) {
|
|
|
5276
5275
|
},
|
|
5277
5276
|
window.location.href
|
|
5278
5277
|
);
|
|
5279
|
-
},
|
|
5278
|
+
}, pe = () => {
|
|
5280
5279
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
5281
|
-
},
|
|
5282
|
-
|
|
5283
|
-
},
|
|
5280
|
+
}, De = () => {
|
|
5281
|
+
Ns(i);
|
|
5282
|
+
}, me = (b) => {
|
|
5284
5283
|
if (b.data)
|
|
5285
5284
|
switch (b.data.type) {
|
|
5286
5285
|
case "PasswordChangedSuccessfully":
|
|
5287
|
-
r(2,
|
|
5286
|
+
r(2, fe = !0);
|
|
5288
5287
|
break;
|
|
5289
5288
|
case "ShowPasswordChangedError":
|
|
5290
|
-
r(18,
|
|
5289
|
+
r(18, Fe = b.data.showErrorPasswordChanged), r(17, be = b.data.errorPasswordChanged);
|
|
5291
5290
|
break;
|
|
5292
5291
|
}
|
|
5293
5292
|
};
|
|
5294
|
-
gn(() => (window.addEventListener("message",
|
|
5295
|
-
window.removeEventListener("message",
|
|
5293
|
+
gn(() => (window.addEventListener("message", me, !1), () => {
|
|
5294
|
+
window.removeEventListener("message", me);
|
|
5296
5295
|
}));
|
|
5297
|
-
const
|
|
5298
|
-
function
|
|
5299
|
-
|
|
5296
|
+
const ve = () => Q();
|
|
5297
|
+
function $e() {
|
|
5298
|
+
M = this.value, r(14, M);
|
|
5300
5299
|
}
|
|
5301
|
-
function
|
|
5302
|
-
|
|
5303
|
-
|
|
5300
|
+
function Ye(b) {
|
|
5301
|
+
Se[b ? "unshift" : "push"](() => {
|
|
5302
|
+
R = b, r(7, R);
|
|
5304
5303
|
});
|
|
5305
5304
|
}
|
|
5306
|
-
const
|
|
5307
|
-
function
|
|
5308
|
-
|
|
5305
|
+
const se = () => ne("userCurrentPassword"), Qe = () => ne("userCurrentPassword");
|
|
5306
|
+
function ye() {
|
|
5307
|
+
x = this.value, r(15, x);
|
|
5309
5308
|
}
|
|
5310
|
-
function
|
|
5311
|
-
|
|
5312
|
-
|
|
5309
|
+
function J(b) {
|
|
5310
|
+
Se[b ? "unshift" : "push"](() => {
|
|
5311
|
+
U = b, r(8, U);
|
|
5313
5312
|
});
|
|
5314
5313
|
}
|
|
5315
|
-
const
|
|
5316
|
-
function
|
|
5317
|
-
|
|
5314
|
+
const j = () => ne("userNewPassword"), Je = () => ne("userNewPassword");
|
|
5315
|
+
function _e() {
|
|
5316
|
+
Z = this.value, r(16, Z);
|
|
5318
5317
|
}
|
|
5319
|
-
function
|
|
5320
|
-
|
|
5321
|
-
|
|
5318
|
+
function q(b) {
|
|
5319
|
+
Se[b ? "unshift" : "push"](() => {
|
|
5320
|
+
D = b, r(9, D);
|
|
5322
5321
|
});
|
|
5323
5322
|
}
|
|
5324
|
-
const
|
|
5325
|
-
function
|
|
5326
|
-
|
|
5323
|
+
const qe = () => ne("userConfirmPassword"), he = () => ne("userConfirmPassword"), V = (b) => ue(b), Ke = () => Q(), Pe = () => pe();
|
|
5324
|
+
function K(b) {
|
|
5325
|
+
Se[b ? "unshift" : "push"](() => {
|
|
5327
5326
|
f = b, r(1, f);
|
|
5328
5327
|
});
|
|
5329
5328
|
}
|
|
5330
5329
|
return e.$$set = (b) => {
|
|
5331
|
-
"lang" in b && r(
|
|
5330
|
+
"lang" in b && r(26, i = b.lang), "simplepasswordvalidation" in b && r(0, s = b.simplepasswordvalidation), "clientstyling" in b && r(27, a = 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);
|
|
5332
5331
|
}, e.$$.update = () => {
|
|
5333
5332
|
e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
5334
|
-
1 &&
|
|
5335
|
-
|
|
5336
|
-
|
|
5333
|
+
1 && s && Ue(), e.$$.dirty[1] & /*passwordregex*/
|
|
5334
|
+
1 && c && (w.password = new RegExp(c)), e.$$.dirty[0] & /*lang*/
|
|
5335
|
+
67108864 && i && De(), e.$$.dirty[0] & /*passwordChanged*/
|
|
5337
5336
|
4, e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
|
|
5337
|
+
134217730 && a && f && Os(f, a), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5338
|
+
268435458 && l && f && Rs(f, l), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5339
|
+
536870914 && u && f && Ls(f, `${u}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
5340
|
+
1073741824 && h && Y();
|
|
5342
5341
|
}, [
|
|
5343
|
-
|
|
5342
|
+
s,
|
|
5344
5343
|
f,
|
|
5345
|
-
|
|
5346
|
-
|
|
5344
|
+
fe,
|
|
5345
|
+
v,
|
|
5346
|
+
C,
|
|
5347
5347
|
y,
|
|
5348
|
-
|
|
5349
|
-
|
|
5350
|
-
|
|
5348
|
+
S,
|
|
5349
|
+
R,
|
|
5350
|
+
U,
|
|
5351
5351
|
D,
|
|
5352
|
-
|
|
5352
|
+
O,
|
|
5353
5353
|
X,
|
|
5354
5354
|
te,
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
|
|
5355
|
+
G,
|
|
5356
|
+
M,
|
|
5357
|
+
x,
|
|
5358
5358
|
Z,
|
|
5359
|
-
|
|
5360
|
-
|
|
5361
|
-
Q,
|
|
5359
|
+
be,
|
|
5360
|
+
Fe,
|
|
5362
5361
|
n,
|
|
5363
5362
|
m,
|
|
5364
|
-
v,
|
|
5365
|
-
re,
|
|
5366
|
-
De,
|
|
5367
5363
|
ne,
|
|
5368
|
-
he,
|
|
5369
5364
|
we,
|
|
5370
|
-
|
|
5365
|
+
ue,
|
|
5366
|
+
Q,
|
|
5367
|
+
pe,
|
|
5371
5368
|
i,
|
|
5369
|
+
a,
|
|
5372
5370
|
l,
|
|
5373
5371
|
u,
|
|
5374
5372
|
h,
|
|
5375
5373
|
c,
|
|
5376
|
-
|
|
5377
|
-
|
|
5378
|
-
oe,
|
|
5374
|
+
ve,
|
|
5375
|
+
$e,
|
|
5379
5376
|
Ye,
|
|
5377
|
+
se,
|
|
5378
|
+
Qe,
|
|
5380
5379
|
ye,
|
|
5381
5380
|
J,
|
|
5382
|
-
|
|
5381
|
+
j,
|
|
5383
5382
|
Je,
|
|
5384
|
-
|
|
5383
|
+
_e,
|
|
5385
5384
|
q,
|
|
5386
5385
|
qe,
|
|
5387
|
-
|
|
5388
|
-
|
|
5386
|
+
he,
|
|
5387
|
+
V,
|
|
5389
5388
|
Ke,
|
|
5390
|
-
|
|
5391
|
-
K
|
|
5392
|
-
V
|
|
5389
|
+
Pe,
|
|
5390
|
+
K
|
|
5393
5391
|
];
|
|
5394
5392
|
}
|
|
5395
|
-
class
|
|
5393
|
+
class na extends Bn {
|
|
5396
5394
|
constructor(t) {
|
|
5397
|
-
super(),
|
|
5395
|
+
super(), Cn(
|
|
5398
5396
|
this,
|
|
5399
5397
|
t,
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5398
|
+
ra,
|
|
5399
|
+
ta,
|
|
5400
|
+
_r,
|
|
5403
5401
|
{
|
|
5404
|
-
lang:
|
|
5402
|
+
lang: 26,
|
|
5405
5403
|
simplepasswordvalidation: 0,
|
|
5406
|
-
clientstyling:
|
|
5407
|
-
clientstylingurl:
|
|
5408
|
-
mbsource:
|
|
5409
|
-
translationurl:
|
|
5410
|
-
passwordregex:
|
|
5404
|
+
clientstyling: 27,
|
|
5405
|
+
clientstylingurl: 28,
|
|
5406
|
+
mbsource: 29,
|
|
5407
|
+
translationurl: 30,
|
|
5408
|
+
passwordregex: 31
|
|
5411
5409
|
},
|
|
5412
|
-
|
|
5410
|
+
ks,
|
|
5413
5411
|
[-1, -1]
|
|
5414
5412
|
);
|
|
5415
5413
|
}
|
|
5416
5414
|
get lang() {
|
|
5417
|
-
return this.$$.ctx[
|
|
5415
|
+
return this.$$.ctx[26];
|
|
5418
5416
|
}
|
|
5419
5417
|
set lang(t) {
|
|
5420
|
-
this.$$set({ lang: t }),
|
|
5418
|
+
this.$$set({ lang: t }), ae();
|
|
5421
5419
|
}
|
|
5422
5420
|
get simplepasswordvalidation() {
|
|
5423
5421
|
return this.$$.ctx[0];
|
|
5424
5422
|
}
|
|
5425
5423
|
set simplepasswordvalidation(t) {
|
|
5426
|
-
this.$$set({ simplepasswordvalidation: t }),
|
|
5424
|
+
this.$$set({ simplepasswordvalidation: t }), ae();
|
|
5427
5425
|
}
|
|
5428
5426
|
get clientstyling() {
|
|
5429
|
-
return this.$$.ctx[
|
|
5427
|
+
return this.$$.ctx[27];
|
|
5430
5428
|
}
|
|
5431
5429
|
set clientstyling(t) {
|
|
5432
|
-
this.$$set({ clientstyling: t }),
|
|
5430
|
+
this.$$set({ clientstyling: t }), ae();
|
|
5433
5431
|
}
|
|
5434
5432
|
get clientstylingurl() {
|
|
5435
|
-
return this.$$.ctx[
|
|
5433
|
+
return this.$$.ctx[28];
|
|
5436
5434
|
}
|
|
5437
5435
|
set clientstylingurl(t) {
|
|
5438
|
-
this.$$set({ clientstylingurl: t }),
|
|
5436
|
+
this.$$set({ clientstylingurl: t }), ae();
|
|
5439
5437
|
}
|
|
5440
5438
|
get mbsource() {
|
|
5441
|
-
return this.$$.ctx[
|
|
5439
|
+
return this.$$.ctx[29];
|
|
5442
5440
|
}
|
|
5443
5441
|
set mbsource(t) {
|
|
5444
|
-
this.$$set({ mbsource: t }),
|
|
5442
|
+
this.$$set({ mbsource: t }), ae();
|
|
5445
5443
|
}
|
|
5446
5444
|
get translationurl() {
|
|
5447
|
-
return this.$$.ctx[
|
|
5445
|
+
return this.$$.ctx[30];
|
|
5448
5446
|
}
|
|
5449
5447
|
set translationurl(t) {
|
|
5450
|
-
this.$$set({ translationurl: t }),
|
|
5448
|
+
this.$$set({ translationurl: t }), ae();
|
|
5451
5449
|
}
|
|
5452
5450
|
get passwordregex() {
|
|
5453
|
-
return this.$$.ctx[
|
|
5451
|
+
return this.$$.ctx[31];
|
|
5454
5452
|
}
|
|
5455
5453
|
set passwordregex(t) {
|
|
5456
|
-
this.$$set({ passwordregex: t }),
|
|
5454
|
+
this.$$set({ passwordregex: t }), ae();
|
|
5457
5455
|
}
|
|
5458
5456
|
}
|
|
5459
|
-
|
|
5457
|
+
Sn(na, { lang: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, passwordregex: {} }, [], [], !0);
|
|
5460
5458
|
export {
|
|
5461
|
-
|
|
5459
|
+
na as default
|
|
5462
5460
|
};
|