@everymatrix/player-change-password 1.54.11 → 1.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerChangePassword-8Pz7DAM6.js → PlayerChangePassword-B2kV1ZMC.js} +720 -698
- package/components/{PlayerChangePassword-Bpaw82qc.js → PlayerChangePassword-BT7x2A8u.js} +565 -543
- package/components/PlayerChangePassword-fhlJrT1U.cjs +7 -0
- package/es2015/player-change-password.cjs +1 -1
- package/es2015/player-change-password.js +1 -1
- package/esnext/player-change-password.js +1 -1
- package/package.json +1 -1
- package/components/PlayerChangePassword-Ct85S8Xv.cjs +0 -7
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var pt = (e, t, r) => t in e ?
|
|
1
|
+
var tn = Object.defineProperty, rn = Object.defineProperties;
|
|
2
|
+
var nn = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Gt = Object.getOwnPropertySymbols;
|
|
4
|
+
var sn = Object.prototype.hasOwnProperty, an = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var pt = (e, t, r) => t in e ? tn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, jt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
sn.call(t, r) && pt(e, r, t[r]);
|
|
8
|
+
if (Gt)
|
|
9
|
+
for (var r of Gt(t))
|
|
10
|
+
an.call(t, r) && pt(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, Vt = (e, t) => rn(e, nn(t));
|
|
13
13
|
var ee = (e, t, r) => pt(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
-
var
|
|
14
|
+
var zt = (e, t, r) => new Promise((n, s) => {
|
|
15
15
|
var a = (u) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
17
|
+
o(r.next(u));
|
|
18
18
|
} catch (h) {
|
|
19
19
|
s(h);
|
|
20
20
|
}
|
|
21
21
|
}, i = (u) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
23
|
+
o(r.throw(u));
|
|
24
24
|
} catch (h) {
|
|
25
25
|
s(h);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, o = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(a, i);
|
|
28
|
+
o((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
function re() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function vr(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function Wt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function Le(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(vr);
|
|
40
40
|
}
|
|
41
41
|
function Ae(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function yr(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
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);
|
|
@@ -56,20 +56,20 @@ function wr(e, ...t) {
|
|
|
56
56
|
const r = e.subscribe(...t);
|
|
57
57
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
e.$$.on_destroy.push(
|
|
59
|
+
function ln(e, t, r) {
|
|
60
|
+
e.$$.on_destroy.push(Pr(t, r));
|
|
61
61
|
}
|
|
62
62
|
function f(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const n =
|
|
65
|
+
function un(e, t, r) {
|
|
66
|
+
const n = hn(e);
|
|
67
67
|
if (!n.getElementById(t)) {
|
|
68
68
|
const s = _("style");
|
|
69
|
-
s.id = t, s.textContent = r,
|
|
69
|
+
s.id = t, s.textContent = r, cn(n, s);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function hn(e) {
|
|
73
73
|
if (!e) return document;
|
|
74
74
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
75
75
|
return t && /** @type {ShadowRoot} */
|
|
@@ -78,7 +78,7 @@ function an(e) {
|
|
|
78
78
|
t
|
|
79
79
|
) : e.ownerDocument;
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function cn(e, t) {
|
|
82
82
|
return f(
|
|
83
83
|
/** @type {Document} */
|
|
84
84
|
e.head || e,
|
|
@@ -103,16 +103,16 @@ function H(e) {
|
|
|
103
103
|
function L() {
|
|
104
104
|
return H(" ");
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function _r() {
|
|
107
107
|
return H("");
|
|
108
108
|
}
|
|
109
109
|
function z(e, t, r, n) {
|
|
110
110
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function l(e, t, r) {
|
|
113
113
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function fn(e) {
|
|
116
116
|
return Array.from(e.childNodes);
|
|
117
117
|
}
|
|
118
118
|
function D(e, t) {
|
|
@@ -122,10 +122,10 @@ function D(e, t) {
|
|
|
122
122
|
function Ee(e, t) {
|
|
123
123
|
e.value = t == null ? "" : t;
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function dn(e, t, r, n) {
|
|
126
126
|
e.style.setProperty(t, r, "");
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function pn(e) {
|
|
129
129
|
const t = {};
|
|
130
130
|
return e.childNodes.forEach(
|
|
131
131
|
/** @param {Element} node */
|
|
@@ -138,21 +138,21 @@ let We;
|
|
|
138
138
|
function ze(e) {
|
|
139
139
|
We = e;
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function mn() {
|
|
142
142
|
if (!We) throw new Error("Function called outside component initialization");
|
|
143
143
|
return We;
|
|
144
144
|
}
|
|
145
|
-
function
|
|
146
|
-
|
|
145
|
+
function gn(e) {
|
|
146
|
+
mn().$$.on_mount.push(e);
|
|
147
147
|
}
|
|
148
148
|
const Be = [], Se = [];
|
|
149
149
|
let Ie = [];
|
|
150
|
-
const
|
|
151
|
-
let
|
|
152
|
-
function
|
|
153
|
-
|
|
150
|
+
const Xt = [], bn = /* @__PURE__ */ Promise.resolve();
|
|
151
|
+
let xt = !1;
|
|
152
|
+
function wn() {
|
|
153
|
+
xt || (xt = !0, bn.then(ce));
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function Et(e) {
|
|
156
156
|
Ie.push(e);
|
|
157
157
|
}
|
|
158
158
|
const mt = /* @__PURE__ */ new Set();
|
|
@@ -165,7 +165,7 @@ function ce() {
|
|
|
165
165
|
try {
|
|
166
166
|
for (; Ce < Be.length; ) {
|
|
167
167
|
const t = Be[Ce];
|
|
168
|
-
Ce++, ze(t),
|
|
168
|
+
Ce++, ze(t), vn(t.$$);
|
|
169
169
|
}
|
|
170
170
|
} catch (t) {
|
|
171
171
|
throw Be.length = 0, Ce = 0, t;
|
|
@@ -177,40 +177,40 @@ function ce() {
|
|
|
177
177
|
}
|
|
178
178
|
Ie.length = 0;
|
|
179
179
|
} while (Be.length);
|
|
180
|
-
for (;
|
|
181
|
-
|
|
182
|
-
|
|
180
|
+
for (; Xt.length; )
|
|
181
|
+
Xt.pop()();
|
|
182
|
+
xt = !1, mt.clear(), ze(e);
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function vn(e) {
|
|
185
185
|
if (e.fragment !== null) {
|
|
186
186
|
e.update(), Le(e.before_update);
|
|
187
187
|
const t = e.dirty;
|
|
188
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
188
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Et);
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
function
|
|
191
|
+
function yn(e) {
|
|
192
192
|
const t = [], r = [];
|
|
193
193
|
Ie.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Ie = t;
|
|
194
194
|
}
|
|
195
|
-
const
|
|
196
|
-
function
|
|
197
|
-
e && e.i && (
|
|
195
|
+
const Pn = /* @__PURE__ */ new Set();
|
|
196
|
+
function _n(e, t) {
|
|
197
|
+
e && e.i && (Pn.delete(e), e.i(t));
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function xn(e, t, r) {
|
|
200
200
|
const { fragment: n, after_update: s } = e.$$;
|
|
201
|
-
n && n.m(t, r),
|
|
202
|
-
const a = e.$$.on_mount.map(
|
|
201
|
+
n && n.m(t, r), Et(() => {
|
|
202
|
+
const a = e.$$.on_mount.map(vr).filter(Ae);
|
|
203
203
|
e.$$.on_destroy ? e.$$.on_destroy.push(...a) : Le(a), e.$$.on_mount = [];
|
|
204
|
-
}), s.forEach(
|
|
204
|
+
}), s.forEach(Et);
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function En(e, t) {
|
|
207
207
|
const r = e.$$;
|
|
208
|
-
r.fragment !== null && (
|
|
208
|
+
r.fragment !== null && (yn(r.after_update), Le(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
209
209
|
}
|
|
210
|
-
function
|
|
211
|
-
e.$$.dirty[0] === -1 && (Be.push(e),
|
|
210
|
+
function Cn(e, t) {
|
|
211
|
+
e.$$.dirty[0] === -1 && (Be.push(e), wn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
212
212
|
}
|
|
213
|
-
function
|
|
213
|
+
function Tn(e, t, r, n, s, a, i = null, o = [-1]) {
|
|
214
214
|
const u = We;
|
|
215
215
|
ze(e);
|
|
216
216
|
const h = e.$$ = {
|
|
@@ -220,7 +220,7 @@ function _n(e, t, r, n, s, a, i = null, l = [-1]) {
|
|
|
220
220
|
props: a,
|
|
221
221
|
update: re,
|
|
222
222
|
not_equal: s,
|
|
223
|
-
bound:
|
|
223
|
+
bound: Wt(),
|
|
224
224
|
// lifecycle
|
|
225
225
|
on_mount: [],
|
|
226
226
|
on_destroy: [],
|
|
@@ -229,8 +229,8 @@ function _n(e, t, r, n, s, a, i = null, l = [-1]) {
|
|
|
229
229
|
after_update: [],
|
|
230
230
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
231
231
|
// everything else
|
|
232
|
-
callbacks:
|
|
233
|
-
dirty:
|
|
232
|
+
callbacks: Wt(),
|
|
233
|
+
dirty: o,
|
|
234
234
|
skip_bound: !1,
|
|
235
235
|
root: t.target || u.$$.root
|
|
236
236
|
};
|
|
@@ -238,19 +238,19 @@ function _n(e, t, r, n, s, a, i = null, l = [-1]) {
|
|
|
238
238
|
let c = !1;
|
|
239
239
|
if (h.ctx = r ? r(e, t.props || {}, (d, p, ...g) => {
|
|
240
240
|
const v = g.length ? g[0] : p;
|
|
241
|
-
return h.ctx && s(h.ctx[d], h.ctx[d] = v) && (!h.skip_bound && h.bound[d] && h.bound[d](v), c &&
|
|
241
|
+
return h.ctx && s(h.ctx[d], h.ctx[d] = v) && (!h.skip_bound && h.bound[d] && h.bound[d](v), c && Cn(e, d)), p;
|
|
242
242
|
}) : [], h.update(), c = !0, Le(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
|
|
243
243
|
if (t.hydrate) {
|
|
244
|
-
const d =
|
|
244
|
+
const d = fn(t.target);
|
|
245
245
|
h.fragment && h.fragment.l(d), d.forEach(A);
|
|
246
246
|
} else
|
|
247
247
|
h.fragment && h.fragment.c();
|
|
248
|
-
t.intro &&
|
|
248
|
+
t.intro && _n(e.$$.fragment), xn(e, t.target, t.anchor), ce();
|
|
249
249
|
}
|
|
250
250
|
ze(u);
|
|
251
251
|
}
|
|
252
|
-
let
|
|
253
|
-
typeof HTMLElement == "function" && (
|
|
252
|
+
let xr;
|
|
253
|
+
typeof HTMLElement == "function" && (xr = class extends HTMLElement {
|
|
254
254
|
constructor(t, r, n) {
|
|
255
255
|
super();
|
|
256
256
|
/** The Svelte component constructor */
|
|
@@ -287,14 +287,14 @@ typeof HTMLElement == "function" && (yr = class extends HTMLElement {
|
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
289
|
connectedCallback() {
|
|
290
|
-
return
|
|
290
|
+
return zt(this, null, function* () {
|
|
291
291
|
if (this.$$cn = !0, !this.$$c) {
|
|
292
292
|
let t = function(a) {
|
|
293
293
|
return () => {
|
|
294
294
|
let i;
|
|
295
295
|
return {
|
|
296
296
|
c: function() {
|
|
297
|
-
i = _("slot"), a !== "default" &&
|
|
297
|
+
i = _("slot"), a !== "default" && l(i, "name", a);
|
|
298
298
|
},
|
|
299
299
|
/**
|
|
300
300
|
* @param {HTMLElement} target
|
|
@@ -311,7 +311,7 @@ typeof HTMLElement == "function" && (yr = class extends HTMLElement {
|
|
|
311
311
|
};
|
|
312
312
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
313
313
|
return;
|
|
314
|
-
const r = {}, n =
|
|
314
|
+
const r = {}, n = pn(this);
|
|
315
315
|
for (const a of this.$$s)
|
|
316
316
|
a in n && (r[a] = [t(a)]);
|
|
317
317
|
for (const a of this.attributes) {
|
|
@@ -322,7 +322,7 @@ typeof HTMLElement == "function" && (yr = class extends HTMLElement {
|
|
|
322
322
|
!(a in this.$$d) && this[a] !== void 0 && (this.$$d[a] = this[a], delete this[a]);
|
|
323
323
|
this.$$c = new this.$$ctor({
|
|
324
324
|
target: this.shadowRoot || this,
|
|
325
|
-
props:
|
|
325
|
+
props: Vt(jt({}, this.$$d), {
|
|
326
326
|
$$slots: r,
|
|
327
327
|
$$scope: {
|
|
328
328
|
ctx: []
|
|
@@ -346,8 +346,8 @@ typeof HTMLElement == "function" && (yr = class extends HTMLElement {
|
|
|
346
346
|
this.$$c.$$.after_update.push(s), s();
|
|
347
347
|
for (const a in this.$$l)
|
|
348
348
|
for (const i of this.$$l[a]) {
|
|
349
|
-
const
|
|
350
|
-
this.$$l_u.set(i,
|
|
349
|
+
const o = this.$$c.$on(a, i);
|
|
350
|
+
this.$$l_u.set(i, o);
|
|
351
351
|
}
|
|
352
352
|
this.$$l = {};
|
|
353
353
|
}
|
|
@@ -400,38 +400,38 @@ function nt(e, t, r, n) {
|
|
|
400
400
|
return t;
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
|
-
function
|
|
404
|
-
let i = class extends
|
|
403
|
+
function Bn(e, t, r, n, s, a) {
|
|
404
|
+
let i = class extends xr {
|
|
405
405
|
constructor() {
|
|
406
406
|
super(e, r, s), this.$$p_d = t;
|
|
407
407
|
}
|
|
408
408
|
static get observedAttributes() {
|
|
409
409
|
return Object.keys(t).map(
|
|
410
|
-
(
|
|
410
|
+
(o) => (t[o].attribute || o).toLowerCase()
|
|
411
411
|
);
|
|
412
412
|
}
|
|
413
413
|
};
|
|
414
|
-
return Object.keys(t).forEach((
|
|
415
|
-
Object.defineProperty(i.prototype,
|
|
414
|
+
return Object.keys(t).forEach((o) => {
|
|
415
|
+
Object.defineProperty(i.prototype, o, {
|
|
416
416
|
get() {
|
|
417
|
-
return this.$$c &&
|
|
417
|
+
return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
|
|
418
418
|
},
|
|
419
419
|
set(u) {
|
|
420
420
|
var h;
|
|
421
|
-
u = nt(
|
|
421
|
+
u = nt(o, u, t), this.$$d[o] = u, (h = this.$$c) == null || h.$set({ [o]: u });
|
|
422
422
|
}
|
|
423
423
|
});
|
|
424
|
-
}), n.forEach((
|
|
425
|
-
Object.defineProperty(i.prototype,
|
|
424
|
+
}), n.forEach((o) => {
|
|
425
|
+
Object.defineProperty(i.prototype, o, {
|
|
426
426
|
get() {
|
|
427
427
|
var u;
|
|
428
|
-
return (u = this.$$c) == null ? void 0 : u[
|
|
428
|
+
return (u = this.$$c) == null ? void 0 : u[o];
|
|
429
429
|
}
|
|
430
430
|
});
|
|
431
431
|
}), e.element = /** @type {any} */
|
|
432
432
|
i, i;
|
|
433
433
|
}
|
|
434
|
-
class
|
|
434
|
+
class Sn {
|
|
435
435
|
constructor() {
|
|
436
436
|
/**
|
|
437
437
|
* ### PRIVATE API
|
|
@@ -452,7 +452,7 @@ class En {
|
|
|
452
452
|
}
|
|
453
453
|
/** @returns {void} */
|
|
454
454
|
$destroy() {
|
|
455
|
-
|
|
455
|
+
En(this, 1), this.$destroy = re;
|
|
456
456
|
}
|
|
457
457
|
/**
|
|
458
458
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -474,22 +474,22 @@ class En {
|
|
|
474
474
|
* @returns {void}
|
|
475
475
|
*/
|
|
476
476
|
$set(t) {
|
|
477
|
-
this.$$set && !
|
|
477
|
+
this.$$set && !on(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
const
|
|
481
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
482
|
-
var
|
|
483
|
-
return
|
|
480
|
+
const An = "4";
|
|
481
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(An);
|
|
482
|
+
var Ct = function(e, t) {
|
|
483
|
+
return Ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
484
484
|
r.__proto__ = n;
|
|
485
485
|
} || function(r, n) {
|
|
486
486
|
for (var s in n) Object.prototype.hasOwnProperty.call(n, s) && (r[s] = n[s]);
|
|
487
|
-
},
|
|
487
|
+
}, Ct(e, t);
|
|
488
488
|
};
|
|
489
489
|
function oe(e, t) {
|
|
490
490
|
if (typeof t != "function" && t !== null)
|
|
491
491
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
492
|
-
|
|
492
|
+
Ct(e, t);
|
|
493
493
|
function r() {
|
|
494
494
|
this.constructor = e;
|
|
495
495
|
}
|
|
@@ -504,7 +504,7 @@ var S = function() {
|
|
|
504
504
|
return t;
|
|
505
505
|
}, S.apply(this, arguments);
|
|
506
506
|
};
|
|
507
|
-
function
|
|
507
|
+
function In(e, t) {
|
|
508
508
|
var r = {};
|
|
509
509
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
510
510
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -512,7 +512,7 @@ function Tn(e, t) {
|
|
|
512
512
|
t.indexOf(n[s]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[s]) && (r[n[s]] = e[n[s]]);
|
|
513
513
|
return r;
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function Tt(e) {
|
|
516
516
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
517
517
|
if (r) return r.call(e);
|
|
518
518
|
if (e && typeof e.length == "number") return {
|
|
@@ -522,14 +522,14 @@ function Ct(e) {
|
|
|
522
522
|
};
|
|
523
523
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
524
524
|
}
|
|
525
|
-
function
|
|
525
|
+
function Bt(e, t) {
|
|
526
526
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
527
527
|
if (!r) return e;
|
|
528
528
|
var n = r.call(e), s, a = [], i;
|
|
529
529
|
try {
|
|
530
530
|
for (; (t === void 0 || t-- > 0) && !(s = n.next()).done; ) a.push(s.value);
|
|
531
|
-
} catch (
|
|
532
|
-
i = { error:
|
|
531
|
+
} catch (o) {
|
|
532
|
+
i = { error: o };
|
|
533
533
|
} finally {
|
|
534
534
|
try {
|
|
535
535
|
s && !s.done && (r = n.return) && r.call(n);
|
|
@@ -547,13 +547,13 @@ function He(e, t, r) {
|
|
|
547
547
|
function ie(e) {
|
|
548
548
|
return typeof e == "function";
|
|
549
549
|
}
|
|
550
|
-
function
|
|
550
|
+
function Er(e) {
|
|
551
551
|
var t = function(n) {
|
|
552
552
|
Error.call(n), n.stack = new Error().stack;
|
|
553
553
|
}, r = e(t);
|
|
554
554
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
555
555
|
}
|
|
556
|
-
var gt =
|
|
556
|
+
var gt = Er(function(e) {
|
|
557
557
|
return function(r) {
|
|
558
558
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
559
559
|
` + r.map(function(n, s) {
|
|
@@ -562,7 +562,7 @@ var gt = Pr(function(e) {
|
|
|
562
562
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
563
563
|
};
|
|
564
564
|
});
|
|
565
|
-
function
|
|
565
|
+
function St(e, t) {
|
|
566
566
|
if (e) {
|
|
567
567
|
var r = e.indexOf(t);
|
|
568
568
|
0 <= r && e.splice(r, 1);
|
|
@@ -580,7 +580,7 @@ var ut = function() {
|
|
|
580
580
|
if (i)
|
|
581
581
|
if (this._parentage = null, Array.isArray(i))
|
|
582
582
|
try {
|
|
583
|
-
for (var
|
|
583
|
+
for (var o = Tt(i), u = o.next(); !u.done; u = o.next()) {
|
|
584
584
|
var h = u.value;
|
|
585
585
|
h.remove(this);
|
|
586
586
|
}
|
|
@@ -588,7 +588,7 @@ var ut = function() {
|
|
|
588
588
|
t = { error: w };
|
|
589
589
|
} finally {
|
|
590
590
|
try {
|
|
591
|
-
u && !u.done && (r =
|
|
591
|
+
u && !u.done && (r = o.return) && r.call(o);
|
|
592
592
|
} finally {
|
|
593
593
|
if (t) throw t.error;
|
|
594
594
|
}
|
|
@@ -606,12 +606,12 @@ var ut = function() {
|
|
|
606
606
|
if (d) {
|
|
607
607
|
this._finalizers = null;
|
|
608
608
|
try {
|
|
609
|
-
for (var p =
|
|
609
|
+
for (var p = Tt(d), g = p.next(); !g.done; g = p.next()) {
|
|
610
610
|
var v = g.value;
|
|
611
611
|
try {
|
|
612
|
-
|
|
612
|
+
Zt(v);
|
|
613
613
|
} catch (w) {
|
|
614
|
-
a = a != null ? a : [], w instanceof gt ? a = He(He([],
|
|
614
|
+
a = a != null ? a : [], w instanceof gt ? a = He(He([], Bt(a)), Bt(w.errors)) : a.push(w);
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
617
|
} catch (w) {
|
|
@@ -631,7 +631,7 @@ var ut = function() {
|
|
|
631
631
|
var r;
|
|
632
632
|
if (t && t !== this)
|
|
633
633
|
if (this.closed)
|
|
634
|
-
|
|
634
|
+
Zt(t);
|
|
635
635
|
else {
|
|
636
636
|
if (t instanceof e) {
|
|
637
637
|
if (t.closed || t._hasParent(this))
|
|
@@ -648,52 +648,56 @@ var ut = function() {
|
|
|
648
648
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
649
649
|
}, e.prototype._removeParent = function(t) {
|
|
650
650
|
var r = this._parentage;
|
|
651
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
651
|
+
r === t ? this._parentage = null : Array.isArray(r) && St(r, t);
|
|
652
652
|
}, e.prototype.remove = function(t) {
|
|
653
653
|
var r = this._finalizers;
|
|
654
|
-
r &&
|
|
654
|
+
r && St(r, t), t instanceof e && t._removeParent(this);
|
|
655
655
|
}, e.EMPTY = function() {
|
|
656
656
|
var t = new e();
|
|
657
657
|
return t.closed = !0, t;
|
|
658
658
|
}(), e;
|
|
659
|
-
}(),
|
|
660
|
-
function
|
|
659
|
+
}(), Cr = ut.EMPTY;
|
|
660
|
+
function Tr(e) {
|
|
661
661
|
return e instanceof ut || e && "closed" in e && ie(e.remove) && ie(e.add) && ie(e.unsubscribe);
|
|
662
662
|
}
|
|
663
|
-
function
|
|
663
|
+
function Zt(e) {
|
|
664
664
|
ie(e) ? e() : e.unsubscribe();
|
|
665
665
|
}
|
|
666
|
-
var
|
|
667
|
-
|
|
668
|
-
|
|
666
|
+
var Br = {
|
|
667
|
+
onUnhandledError: null,
|
|
668
|
+
onStoppedNotification: null,
|
|
669
|
+
Promise: void 0,
|
|
670
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
671
|
+
useDeprecatedNextContext: !1
|
|
672
|
+
}, Hn = {
|
|
669
673
|
setTimeout: function(e, t) {
|
|
670
674
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
671
675
|
r[n - 2] = arguments[n];
|
|
672
|
-
return setTimeout.apply(void 0, He([e, t],
|
|
676
|
+
return setTimeout.apply(void 0, He([e, t], Bt(r)));
|
|
673
677
|
},
|
|
674
678
|
clearTimeout: function(e) {
|
|
675
679
|
return clearTimeout(e);
|
|
676
680
|
},
|
|
677
681
|
delegate: void 0
|
|
678
682
|
};
|
|
679
|
-
function
|
|
680
|
-
|
|
683
|
+
function Mn(e) {
|
|
684
|
+
Hn.setTimeout(function() {
|
|
681
685
|
throw e;
|
|
682
686
|
});
|
|
683
687
|
}
|
|
684
|
-
function
|
|
688
|
+
function Qt() {
|
|
685
689
|
}
|
|
686
690
|
function st(e) {
|
|
687
691
|
e();
|
|
688
692
|
}
|
|
689
|
-
var
|
|
693
|
+
var Sr = function(e) {
|
|
690
694
|
oe(t, e);
|
|
691
695
|
function t(r) {
|
|
692
696
|
var n = e.call(this) || this;
|
|
693
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
697
|
+
return n.isStopped = !1, r ? (n.destination = r, Tr(r) && r.add(n)) : n.destination = Ln, n;
|
|
694
698
|
}
|
|
695
699
|
return t.create = function(r, n, s) {
|
|
696
|
-
return new
|
|
700
|
+
return new At(r, n, s);
|
|
697
701
|
}, t.prototype.next = function(r) {
|
|
698
702
|
this.isStopped || this._next(r);
|
|
699
703
|
}, t.prototype.error = function(r) {
|
|
@@ -717,7 +721,11 @@ var Er = function(e) {
|
|
|
717
721
|
this.unsubscribe();
|
|
718
722
|
}
|
|
719
723
|
}, t;
|
|
720
|
-
}(ut),
|
|
724
|
+
}(ut), Nn = Function.prototype.bind;
|
|
725
|
+
function bt(e, t) {
|
|
726
|
+
return Nn.call(e, t);
|
|
727
|
+
}
|
|
728
|
+
var Rn = function() {
|
|
721
729
|
function e(t) {
|
|
722
730
|
this.partialObserver = t;
|
|
723
731
|
}
|
|
@@ -748,43 +756,55 @@ var Er = function(e) {
|
|
|
748
756
|
tt(r);
|
|
749
757
|
}
|
|
750
758
|
}, e;
|
|
751
|
-
}(),
|
|
759
|
+
}(), At = function(e) {
|
|
752
760
|
oe(t, e);
|
|
753
761
|
function t(r, n, s) {
|
|
754
762
|
var a = e.call(this) || this, i;
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
763
|
+
if (ie(r) || !r)
|
|
764
|
+
i = {
|
|
765
|
+
next: r != null ? r : void 0,
|
|
766
|
+
error: n != null ? n : void 0,
|
|
767
|
+
complete: s != null ? s : void 0
|
|
768
|
+
};
|
|
769
|
+
else {
|
|
770
|
+
var o;
|
|
771
|
+
a && Br.useDeprecatedNextContext ? (o = Object.create(r), o.unsubscribe = function() {
|
|
772
|
+
return a.unsubscribe();
|
|
773
|
+
}, i = {
|
|
774
|
+
next: r.next && bt(r.next, o),
|
|
775
|
+
error: r.error && bt(r.error, o),
|
|
776
|
+
complete: r.complete && bt(r.complete, o)
|
|
777
|
+
}) : i = r;
|
|
778
|
+
}
|
|
779
|
+
return a.destination = new Rn(i), a;
|
|
760
780
|
}
|
|
761
781
|
return t;
|
|
762
|
-
}(
|
|
782
|
+
}(Sr);
|
|
763
783
|
function tt(e) {
|
|
764
|
-
|
|
784
|
+
Mn(e);
|
|
765
785
|
}
|
|
766
|
-
function
|
|
786
|
+
function On(e) {
|
|
767
787
|
throw e;
|
|
768
788
|
}
|
|
769
|
-
var
|
|
789
|
+
var Ln = {
|
|
770
790
|
closed: !0,
|
|
771
|
-
next:
|
|
772
|
-
error:
|
|
773
|
-
complete:
|
|
774
|
-
},
|
|
791
|
+
next: Qt,
|
|
792
|
+
error: On,
|
|
793
|
+
complete: Qt
|
|
794
|
+
}, Fn = function() {
|
|
775
795
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
776
796
|
}();
|
|
777
|
-
function
|
|
797
|
+
function kn(e) {
|
|
778
798
|
return e;
|
|
779
799
|
}
|
|
780
|
-
function
|
|
781
|
-
return e.length === 0 ?
|
|
800
|
+
function Dn(e) {
|
|
801
|
+
return e.length === 0 ? kn : e.length === 1 ? e[0] : function(r) {
|
|
782
802
|
return e.reduce(function(n, s) {
|
|
783
803
|
return s(n);
|
|
784
804
|
}, r);
|
|
785
805
|
};
|
|
786
806
|
}
|
|
787
|
-
var
|
|
807
|
+
var Yt = function() {
|
|
788
808
|
function e(t) {
|
|
789
809
|
t && (this._subscribe = t);
|
|
790
810
|
}
|
|
@@ -792,10 +812,10 @@ var Xt = function() {
|
|
|
792
812
|
var r = new e();
|
|
793
813
|
return r.source = this, r.operator = t, r;
|
|
794
814
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
795
|
-
var s = this, a =
|
|
815
|
+
var s = this, a = $n(t) ? t : new At(t, r, n);
|
|
796
816
|
return st(function() {
|
|
797
|
-
var i = s,
|
|
798
|
-
a.add(
|
|
817
|
+
var i = s, o = i.operator, u = i.source;
|
|
818
|
+
a.add(o ? o.call(a, u) : u ? s._subscribe(a) : s._trySubscribe(a));
|
|
799
819
|
}), a;
|
|
800
820
|
}, e.prototype._trySubscribe = function(t) {
|
|
801
821
|
try {
|
|
@@ -805,11 +825,11 @@ var Xt = function() {
|
|
|
805
825
|
}
|
|
806
826
|
}, e.prototype.forEach = function(t, r) {
|
|
807
827
|
var n = this;
|
|
808
|
-
return r =
|
|
809
|
-
var i = new
|
|
810
|
-
next: function(
|
|
828
|
+
return r = Jt(r), new r(function(s, a) {
|
|
829
|
+
var i = new At({
|
|
830
|
+
next: function(o) {
|
|
811
831
|
try {
|
|
812
|
-
t(
|
|
832
|
+
t(o);
|
|
813
833
|
} catch (u) {
|
|
814
834
|
a(u), i.unsubscribe();
|
|
815
835
|
}
|
|
@@ -822,15 +842,15 @@ var Xt = function() {
|
|
|
822
842
|
}, e.prototype._subscribe = function(t) {
|
|
823
843
|
var r;
|
|
824
844
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
825
|
-
}, e.prototype[
|
|
845
|
+
}, e.prototype[Fn] = function() {
|
|
826
846
|
return this;
|
|
827
847
|
}, e.prototype.pipe = function() {
|
|
828
848
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
829
849
|
t[r] = arguments[r];
|
|
830
|
-
return
|
|
850
|
+
return Dn(t)(this);
|
|
831
851
|
}, e.prototype.toPromise = function(t) {
|
|
832
852
|
var r = this;
|
|
833
|
-
return t =
|
|
853
|
+
return t = Jt(t), new t(function(n, s) {
|
|
834
854
|
var a;
|
|
835
855
|
r.subscribe(function(i) {
|
|
836
856
|
return a = i;
|
|
@@ -844,32 +864,32 @@ var Xt = function() {
|
|
|
844
864
|
return new e(t);
|
|
845
865
|
}, e;
|
|
846
866
|
}();
|
|
847
|
-
function
|
|
867
|
+
function Jt(e) {
|
|
848
868
|
var t;
|
|
849
|
-
return (t = e != null ? e :
|
|
869
|
+
return (t = e != null ? e : Br.Promise) !== null && t !== void 0 ? t : Promise;
|
|
850
870
|
}
|
|
851
|
-
function
|
|
871
|
+
function Un(e) {
|
|
852
872
|
return e && ie(e.next) && ie(e.error) && ie(e.complete);
|
|
853
873
|
}
|
|
854
|
-
function
|
|
855
|
-
return e && e instanceof
|
|
874
|
+
function $n(e) {
|
|
875
|
+
return e && e instanceof Sr || Un(e) && Tr(e);
|
|
856
876
|
}
|
|
857
|
-
var
|
|
877
|
+
var Gn = Er(function(e) {
|
|
858
878
|
return function() {
|
|
859
879
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
860
880
|
};
|
|
861
|
-
}),
|
|
881
|
+
}), Ar = function(e) {
|
|
862
882
|
oe(t, e);
|
|
863
883
|
function t() {
|
|
864
884
|
var r = e.call(this) || this;
|
|
865
885
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
866
886
|
}
|
|
867
887
|
return t.prototype.lift = function(r) {
|
|
868
|
-
var n = new
|
|
888
|
+
var n = new qt(this, this);
|
|
869
889
|
return n.operator = r, n;
|
|
870
890
|
}, t.prototype._throwIfClosed = function() {
|
|
871
891
|
if (this.closed)
|
|
872
|
-
throw new
|
|
892
|
+
throw new Gn();
|
|
873
893
|
}, t.prototype.next = function(r) {
|
|
874
894
|
var n = this;
|
|
875
895
|
st(function() {
|
|
@@ -877,15 +897,15 @@ var kn = Pr(function(e) {
|
|
|
877
897
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
878
898
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
879
899
|
try {
|
|
880
|
-
for (var i =
|
|
881
|
-
var u =
|
|
900
|
+
for (var i = Tt(n.currentObservers), o = i.next(); !o.done; o = i.next()) {
|
|
901
|
+
var u = o.value;
|
|
882
902
|
u.next(r);
|
|
883
903
|
}
|
|
884
904
|
} catch (h) {
|
|
885
905
|
s = { error: h };
|
|
886
906
|
} finally {
|
|
887
907
|
try {
|
|
888
|
-
|
|
908
|
+
o && !o.done && (a = i.return) && a.call(i);
|
|
889
909
|
} finally {
|
|
890
910
|
if (s) throw s.error;
|
|
891
911
|
}
|
|
@@ -924,20 +944,20 @@ var kn = Pr(function(e) {
|
|
|
924
944
|
}, t.prototype._subscribe = function(r) {
|
|
925
945
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
926
946
|
}, t.prototype._innerSubscribe = function(r) {
|
|
927
|
-
var n = this, s = this, a = s.hasError, i = s.isStopped,
|
|
928
|
-
return a || i ?
|
|
929
|
-
n.currentObservers = null,
|
|
947
|
+
var n = this, s = this, a = s.hasError, i = s.isStopped, o = s.observers;
|
|
948
|
+
return a || i ? Cr : (this.currentObservers = null, o.push(r), new ut(function() {
|
|
949
|
+
n.currentObservers = null, St(o, r);
|
|
930
950
|
}));
|
|
931
951
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
932
952
|
var n = this, s = n.hasError, a = n.thrownError, i = n.isStopped;
|
|
933
953
|
s ? r.error(a) : i && r.complete();
|
|
934
954
|
}, t.prototype.asObservable = function() {
|
|
935
|
-
var r = new
|
|
955
|
+
var r = new Yt();
|
|
936
956
|
return r.source = this, r;
|
|
937
957
|
}, t.create = function(r, n) {
|
|
938
|
-
return new
|
|
958
|
+
return new qt(r, n);
|
|
939
959
|
}, t;
|
|
940
|
-
}(
|
|
960
|
+
}(Yt), qt = function(e) {
|
|
941
961
|
oe(t, e);
|
|
942
962
|
function t(r, n) {
|
|
943
963
|
var s = e.call(this) || this;
|
|
@@ -954,45 +974,45 @@ var kn = Pr(function(e) {
|
|
|
954
974
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
955
975
|
}, t.prototype._subscribe = function(r) {
|
|
956
976
|
var n, s;
|
|
957
|
-
return (s = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && s !== void 0 ? s :
|
|
977
|
+
return (s = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && s !== void 0 ? s : Cr;
|
|
958
978
|
}, t;
|
|
959
|
-
}(
|
|
979
|
+
}(Ar), Ir = {
|
|
960
980
|
now: function() {
|
|
961
|
-
return (
|
|
981
|
+
return (Ir.delegate || Date).now();
|
|
962
982
|
},
|
|
963
983
|
delegate: void 0
|
|
964
|
-
},
|
|
984
|
+
}, jn = function(e) {
|
|
965
985
|
oe(t, e);
|
|
966
986
|
function t(r, n, s) {
|
|
967
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), s === void 0 && (s =
|
|
987
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), s === void 0 && (s = Ir);
|
|
968
988
|
var a = e.call(this) || this;
|
|
969
989
|
return a._bufferSize = r, a._windowTime = n, a._timestampProvider = s, a._buffer = [], a._infiniteTimeWindow = !0, a._infiniteTimeWindow = n === 1 / 0, a._bufferSize = Math.max(1, r), a._windowTime = Math.max(1, n), a;
|
|
970
990
|
}
|
|
971
991
|
return t.prototype.next = function(r) {
|
|
972
|
-
var n = this, s = n.isStopped, a = n._buffer, i = n._infiniteTimeWindow,
|
|
973
|
-
s || (a.push(r), !i && a.push(
|
|
992
|
+
var n = this, s = n.isStopped, a = n._buffer, i = n._infiniteTimeWindow, o = n._timestampProvider, u = n._windowTime;
|
|
993
|
+
s || (a.push(r), !i && a.push(o.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
974
994
|
}, t.prototype._subscribe = function(r) {
|
|
975
995
|
this._throwIfClosed(), this._trimBuffer();
|
|
976
|
-
for (var n = this._innerSubscribe(r), s = this, a = s._infiniteTimeWindow, i = s._buffer,
|
|
977
|
-
r.next(
|
|
996
|
+
for (var n = this._innerSubscribe(r), s = this, a = s._infiniteTimeWindow, i = s._buffer, o = i.slice(), u = 0; u < o.length && !r.closed; u += a ? 1 : 2)
|
|
997
|
+
r.next(o[u]);
|
|
978
998
|
return this._checkFinalizedStatuses(r), n;
|
|
979
999
|
}, t.prototype._trimBuffer = function() {
|
|
980
|
-
var r = this, n = r._bufferSize, s = r._timestampProvider, a = r._buffer, i = r._infiniteTimeWindow,
|
|
981
|
-
if (n < 1 / 0 &&
|
|
1000
|
+
var r = this, n = r._bufferSize, s = r._timestampProvider, a = r._buffer, i = r._infiniteTimeWindow, o = (i ? 1 : 2) * n;
|
|
1001
|
+
if (n < 1 / 0 && o < a.length && a.splice(0, a.length - o), !i) {
|
|
982
1002
|
for (var u = s.now(), h = 0, c = 1; c < a.length && a[c] <= u; c += 2)
|
|
983
1003
|
h = c;
|
|
984
1004
|
h && a.splice(0, h + 1);
|
|
985
1005
|
}
|
|
986
1006
|
}, t;
|
|
987
|
-
}(
|
|
988
|
-
const
|
|
989
|
-
if (
|
|
990
|
-
const r = new
|
|
991
|
-
|
|
1007
|
+
}(Ar);
|
|
1008
|
+
const Kt = [], er = {}, Vn = (e, t = 0) => {
|
|
1009
|
+
if (Kt.indexOf(e) == -1) {
|
|
1010
|
+
const r = new jn(t);
|
|
1011
|
+
er[e] = r, Kt.push(e);
|
|
992
1012
|
}
|
|
993
|
-
return
|
|
1013
|
+
return er[e];
|
|
994
1014
|
}, Te = [];
|
|
995
|
-
function
|
|
1015
|
+
function zn(e, t) {
|
|
996
1016
|
return {
|
|
997
1017
|
subscribe: ht(e, t).subscribe
|
|
998
1018
|
};
|
|
@@ -1000,8 +1020,8 @@ function $n(e, t) {
|
|
|
1000
1020
|
function ht(e, t = re) {
|
|
1001
1021
|
let r;
|
|
1002
1022
|
const n = /* @__PURE__ */ new Set();
|
|
1003
|
-
function s(
|
|
1004
|
-
if (
|
|
1023
|
+
function s(o) {
|
|
1024
|
+
if (yr(e, o) && (e = o, r)) {
|
|
1005
1025
|
const u = !Te.length;
|
|
1006
1026
|
for (const h of n)
|
|
1007
1027
|
h[1](), Te.push(h, e);
|
|
@@ -1012,12 +1032,12 @@ function ht(e, t = re) {
|
|
|
1012
1032
|
}
|
|
1013
1033
|
}
|
|
1014
1034
|
}
|
|
1015
|
-
function a(
|
|
1016
|
-
s(
|
|
1035
|
+
function a(o) {
|
|
1036
|
+
s(o(e));
|
|
1017
1037
|
}
|
|
1018
|
-
function i(
|
|
1019
|
-
const h = [
|
|
1020
|
-
return n.add(h), n.size === 1 && (r = t(s, a) || re),
|
|
1038
|
+
function i(o, u = re) {
|
|
1039
|
+
const h = [o, u];
|
|
1040
|
+
return n.add(h), n.size === 1 && (r = t(s, a) || re), o(e), () => {
|
|
1021
1041
|
n.delete(h), n.size === 0 && r && (r(), r = null);
|
|
1022
1042
|
};
|
|
1023
1043
|
}
|
|
@@ -1028,7 +1048,7 @@ function Fe(e, t, r) {
|
|
|
1028
1048
|
if (!s.every(Boolean))
|
|
1029
1049
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1030
1050
|
const a = t.length < 2;
|
|
1031
|
-
return
|
|
1051
|
+
return zn(r, (i, o) => {
|
|
1032
1052
|
let u = !1;
|
|
1033
1053
|
const h = [];
|
|
1034
1054
|
let c = 0, d = re;
|
|
@@ -1036,10 +1056,10 @@ function Fe(e, t, r) {
|
|
|
1036
1056
|
if (c)
|
|
1037
1057
|
return;
|
|
1038
1058
|
d();
|
|
1039
|
-
const v = t(n ? h[0] : h, i,
|
|
1059
|
+
const v = t(n ? h[0] : h, i, o);
|
|
1040
1060
|
a ? i(v) : d = Ae(v) ? v : re;
|
|
1041
1061
|
}, g = s.map(
|
|
1042
|
-
(v, w) =>
|
|
1062
|
+
(v, w) => Pr(
|
|
1043
1063
|
v,
|
|
1044
1064
|
(T) => {
|
|
1045
1065
|
h[w] = T, c &= ~(1 << w), u && p();
|
|
@@ -1054,70 +1074,70 @@ function Fe(e, t, r) {
|
|
|
1054
1074
|
};
|
|
1055
1075
|
});
|
|
1056
1076
|
}
|
|
1057
|
-
function
|
|
1077
|
+
function Wn(e) {
|
|
1058
1078
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1059
1079
|
}
|
|
1060
|
-
var
|
|
1061
|
-
return
|
|
1080
|
+
var Xn = function(t) {
|
|
1081
|
+
return Zn(t) && !Qn(t);
|
|
1062
1082
|
};
|
|
1063
|
-
function
|
|
1083
|
+
function Zn(e) {
|
|
1064
1084
|
return !!e && typeof e == "object";
|
|
1065
1085
|
}
|
|
1066
|
-
function
|
|
1086
|
+
function Qn(e) {
|
|
1067
1087
|
var t = Object.prototype.toString.call(e);
|
|
1068
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1088
|
+
return t === "[object RegExp]" || t === "[object Date]" || qn(e);
|
|
1069
1089
|
}
|
|
1070
|
-
var
|
|
1071
|
-
function
|
|
1072
|
-
return e.$$typeof ===
|
|
1090
|
+
var Yn = typeof Symbol == "function" && Symbol.for, Jn = Yn ? Symbol.for("react.element") : 60103;
|
|
1091
|
+
function qn(e) {
|
|
1092
|
+
return e.$$typeof === Jn;
|
|
1073
1093
|
}
|
|
1074
|
-
function
|
|
1094
|
+
function Kn(e) {
|
|
1075
1095
|
return Array.isArray(e) ? [] : {};
|
|
1076
1096
|
}
|
|
1077
1097
|
function Xe(e, t) {
|
|
1078
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Me(
|
|
1098
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Me(Kn(e), e, t) : e;
|
|
1079
1099
|
}
|
|
1080
|
-
function
|
|
1100
|
+
function es(e, t, r) {
|
|
1081
1101
|
return e.concat(t).map(function(n) {
|
|
1082
1102
|
return Xe(n, r);
|
|
1083
1103
|
});
|
|
1084
1104
|
}
|
|
1085
|
-
function
|
|
1105
|
+
function ts(e, t) {
|
|
1086
1106
|
if (!t.customMerge)
|
|
1087
1107
|
return Me;
|
|
1088
1108
|
var r = t.customMerge(e);
|
|
1089
1109
|
return typeof r == "function" ? r : Me;
|
|
1090
1110
|
}
|
|
1091
|
-
function
|
|
1111
|
+
function rs(e) {
|
|
1092
1112
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1093
1113
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1094
1114
|
}) : [];
|
|
1095
1115
|
}
|
|
1096
|
-
function
|
|
1097
|
-
return Object.keys(e).concat(
|
|
1116
|
+
function tr(e) {
|
|
1117
|
+
return Object.keys(e).concat(rs(e));
|
|
1098
1118
|
}
|
|
1099
|
-
function
|
|
1119
|
+
function Hr(e, t) {
|
|
1100
1120
|
try {
|
|
1101
1121
|
return t in e;
|
|
1102
1122
|
} catch (r) {
|
|
1103
1123
|
return !1;
|
|
1104
1124
|
}
|
|
1105
1125
|
}
|
|
1106
|
-
function
|
|
1107
|
-
return
|
|
1126
|
+
function ns(e, t) {
|
|
1127
|
+
return Hr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1108
1128
|
}
|
|
1109
|
-
function
|
|
1129
|
+
function ss(e, t, r) {
|
|
1110
1130
|
var n = {};
|
|
1111
|
-
return r.isMergeableObject(e) &&
|
|
1131
|
+
return r.isMergeableObject(e) && tr(e).forEach(function(s) {
|
|
1112
1132
|
n[s] = Xe(e[s], r);
|
|
1113
|
-
}),
|
|
1114
|
-
|
|
1133
|
+
}), tr(t).forEach(function(s) {
|
|
1134
|
+
ns(e, s) || (Hr(e, s) && r.isMergeableObject(t[s]) ? n[s] = ts(s, r)(e[s], t[s], r) : n[s] = Xe(t[s], r));
|
|
1115
1135
|
}), n;
|
|
1116
1136
|
}
|
|
1117
1137
|
function Me(e, t, r) {
|
|
1118
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1138
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || es, r.isMergeableObject = r.isMergeableObject || Xn, r.cloneUnlessOtherwiseSpecified = Xe;
|
|
1119
1139
|
var n = Array.isArray(t), s = Array.isArray(e), a = n === s;
|
|
1120
|
-
return a ? n ? r.arrayMerge(e, t, r) :
|
|
1140
|
+
return a ? n ? r.arrayMerge(e, t, r) : ss(e, t, r) : Xe(t, r);
|
|
1121
1141
|
}
|
|
1122
1142
|
Me.all = function(t, r) {
|
|
1123
1143
|
if (!Array.isArray(t))
|
|
@@ -1126,105 +1146,107 @@ Me.all = function(t, r) {
|
|
|
1126
1146
|
return Me(n, s, r);
|
|
1127
1147
|
}, {});
|
|
1128
1148
|
};
|
|
1129
|
-
var
|
|
1130
|
-
const
|
|
1131
|
-
function
|
|
1132
|
-
var r = t && t.cache ? t.cache :
|
|
1149
|
+
var as = Me, is = as;
|
|
1150
|
+
const os = /* @__PURE__ */ Wn(is);
|
|
1151
|
+
function wt(e, t) {
|
|
1152
|
+
var r = t && t.cache ? t.cache : ds, n = t && t.serializer ? t.serializer : fs, s = t && t.strategy ? t.strategy : us;
|
|
1133
1153
|
return s(e, {
|
|
1134
1154
|
cache: r,
|
|
1135
1155
|
serializer: n
|
|
1136
1156
|
});
|
|
1137
1157
|
}
|
|
1138
|
-
function
|
|
1158
|
+
function ls(e) {
|
|
1139
1159
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1140
1160
|
}
|
|
1141
|
-
function
|
|
1142
|
-
var s =
|
|
1161
|
+
function Mr(e, t, r, n) {
|
|
1162
|
+
var s = ls(n) ? n : r(n), a = t.get(s);
|
|
1143
1163
|
return typeof a == "undefined" && (a = e.call(this, n), t.set(s, a)), a;
|
|
1144
1164
|
}
|
|
1145
|
-
function
|
|
1165
|
+
function Nr(e, t, r) {
|
|
1146
1166
|
var n = Array.prototype.slice.call(arguments, 3), s = r(n), a = t.get(s);
|
|
1147
1167
|
return typeof a == "undefined" && (a = e.apply(this, n), t.set(s, a)), a;
|
|
1148
1168
|
}
|
|
1149
|
-
function
|
|
1169
|
+
function kt(e, t, r, n, s) {
|
|
1150
1170
|
return r.bind(t, e, n, s);
|
|
1151
1171
|
}
|
|
1152
|
-
function
|
|
1153
|
-
var r = e.length === 1 ?
|
|
1154
|
-
return
|
|
1172
|
+
function us(e, t) {
|
|
1173
|
+
var r = e.length === 1 ? Mr : Nr;
|
|
1174
|
+
return kt(e, this, r, t.cache.create(), t.serializer);
|
|
1175
|
+
}
|
|
1176
|
+
function hs(e, t) {
|
|
1177
|
+
return kt(e, this, Nr, t.cache.create(), t.serializer);
|
|
1155
1178
|
}
|
|
1156
|
-
function
|
|
1157
|
-
return
|
|
1179
|
+
function cs(e, t) {
|
|
1180
|
+
return kt(e, this, Mr, t.cache.create(), t.serializer);
|
|
1158
1181
|
}
|
|
1159
|
-
var
|
|
1182
|
+
var fs = function() {
|
|
1160
1183
|
return JSON.stringify(arguments);
|
|
1161
|
-
}
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
}()
|
|
1173
|
-
), hs = {
|
|
1184
|
+
};
|
|
1185
|
+
function Dt() {
|
|
1186
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1187
|
+
}
|
|
1188
|
+
Dt.prototype.get = function(e) {
|
|
1189
|
+
return this.cache[e];
|
|
1190
|
+
};
|
|
1191
|
+
Dt.prototype.set = function(e, t) {
|
|
1192
|
+
this.cache[e] = t;
|
|
1193
|
+
};
|
|
1194
|
+
var ds = {
|
|
1174
1195
|
create: function() {
|
|
1175
|
-
return new
|
|
1196
|
+
return new Dt();
|
|
1176
1197
|
}
|
|
1177
|
-
},
|
|
1178
|
-
variadic:
|
|
1198
|
+
}, vt = {
|
|
1199
|
+
variadic: hs,
|
|
1200
|
+
monadic: cs
|
|
1179
1201
|
}, x;
|
|
1180
1202
|
(function(e) {
|
|
1181
1203
|
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";
|
|
1182
1204
|
})(x || (x = {}));
|
|
1183
|
-
var
|
|
1205
|
+
var O;
|
|
1184
1206
|
(function(e) {
|
|
1185
1207
|
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";
|
|
1186
|
-
})(
|
|
1208
|
+
})(O || (O = {}));
|
|
1187
1209
|
var Ne;
|
|
1188
1210
|
(function(e) {
|
|
1189
1211
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1190
1212
|
})(Ne || (Ne = {}));
|
|
1191
|
-
function
|
|
1192
|
-
return e.type ===
|
|
1213
|
+
function rr(e) {
|
|
1214
|
+
return e.type === O.literal;
|
|
1193
1215
|
}
|
|
1194
|
-
function
|
|
1195
|
-
return e.type ===
|
|
1216
|
+
function ps(e) {
|
|
1217
|
+
return e.type === O.argument;
|
|
1196
1218
|
}
|
|
1197
|
-
function
|
|
1198
|
-
return e.type ===
|
|
1219
|
+
function Rr(e) {
|
|
1220
|
+
return e.type === O.number;
|
|
1199
1221
|
}
|
|
1200
|
-
function
|
|
1201
|
-
return e.type ===
|
|
1222
|
+
function Or(e) {
|
|
1223
|
+
return e.type === O.date;
|
|
1202
1224
|
}
|
|
1203
|
-
function
|
|
1204
|
-
return e.type ===
|
|
1225
|
+
function Lr(e) {
|
|
1226
|
+
return e.type === O.time;
|
|
1205
1227
|
}
|
|
1206
|
-
function
|
|
1207
|
-
return e.type ===
|
|
1228
|
+
function Fr(e) {
|
|
1229
|
+
return e.type === O.select;
|
|
1208
1230
|
}
|
|
1209
|
-
function
|
|
1210
|
-
return e.type ===
|
|
1231
|
+
function kr(e) {
|
|
1232
|
+
return e.type === O.plural;
|
|
1211
1233
|
}
|
|
1212
|
-
function
|
|
1213
|
-
return e.type ===
|
|
1234
|
+
function ms(e) {
|
|
1235
|
+
return e.type === O.pound;
|
|
1214
1236
|
}
|
|
1215
|
-
function
|
|
1216
|
-
return e.type ===
|
|
1237
|
+
function Dr(e) {
|
|
1238
|
+
return e.type === O.tag;
|
|
1217
1239
|
}
|
|
1218
|
-
function
|
|
1240
|
+
function Ur(e) {
|
|
1219
1241
|
return !!(e && typeof e == "object" && e.type === Ne.number);
|
|
1220
1242
|
}
|
|
1221
|
-
function
|
|
1243
|
+
function It(e) {
|
|
1222
1244
|
return !!(e && typeof e == "object" && e.type === Ne.dateTime);
|
|
1223
1245
|
}
|
|
1224
|
-
var
|
|
1225
|
-
function
|
|
1246
|
+
var $r = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gs = /(?:[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;
|
|
1247
|
+
function bs(e) {
|
|
1226
1248
|
var t = {};
|
|
1227
|
-
return e.replace(
|
|
1249
|
+
return e.replace(gs, function(r) {
|
|
1228
1250
|
var n = r.length;
|
|
1229
1251
|
switch (r[0]) {
|
|
1230
1252
|
case "G":
|
|
@@ -1313,36 +1335,36 @@ function ps(e) {
|
|
|
1313
1335
|
return "";
|
|
1314
1336
|
}), t;
|
|
1315
1337
|
}
|
|
1316
|
-
var
|
|
1317
|
-
function
|
|
1338
|
+
var ws = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1339
|
+
function vs(e) {
|
|
1318
1340
|
if (e.length === 0)
|
|
1319
1341
|
throw new Error("Number skeleton cannot be empty");
|
|
1320
|
-
for (var t = e.split(
|
|
1342
|
+
for (var t = e.split(ws).filter(function(p) {
|
|
1321
1343
|
return p.length > 0;
|
|
1322
1344
|
}), r = [], n = 0, s = t; n < s.length; n++) {
|
|
1323
1345
|
var a = s[n], i = a.split("/");
|
|
1324
1346
|
if (i.length === 0)
|
|
1325
1347
|
throw new Error("Invalid number skeleton");
|
|
1326
|
-
for (var
|
|
1348
|
+
for (var o = i[0], u = i.slice(1), h = 0, c = u; h < c.length; h++) {
|
|
1327
1349
|
var d = c[h];
|
|
1328
1350
|
if (d.length === 0)
|
|
1329
1351
|
throw new Error("Invalid number skeleton");
|
|
1330
1352
|
}
|
|
1331
|
-
r.push({ stem:
|
|
1353
|
+
r.push({ stem: o, options: u });
|
|
1332
1354
|
}
|
|
1333
1355
|
return r;
|
|
1334
1356
|
}
|
|
1335
|
-
function
|
|
1357
|
+
function ys(e) {
|
|
1336
1358
|
return e.replace(/^(.*?)-/, "");
|
|
1337
1359
|
}
|
|
1338
|
-
var
|
|
1339
|
-
function
|
|
1360
|
+
var nr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gr = /^(@+)?(\+|#+)?[rs]?$/g, Ps = /(\*)(0+)|(#+)(0+)|(0+)/g, jr = /^(0+)$/;
|
|
1361
|
+
function sr(e) {
|
|
1340
1362
|
var t = {};
|
|
1341
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1363
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gr, function(r, n, s) {
|
|
1342
1364
|
return typeof s != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : s === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof s == "string" ? s.length : 0)), "";
|
|
1343
1365
|
}), t;
|
|
1344
1366
|
}
|
|
1345
|
-
function
|
|
1367
|
+
function Vr(e) {
|
|
1346
1368
|
switch (e) {
|
|
1347
1369
|
case "sign-auto":
|
|
1348
1370
|
return {
|
|
@@ -1382,7 +1404,7 @@ function Ur(e) {
|
|
|
1382
1404
|
};
|
|
1383
1405
|
}
|
|
1384
1406
|
}
|
|
1385
|
-
function
|
|
1407
|
+
function _s(e) {
|
|
1386
1408
|
var t;
|
|
1387
1409
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1388
1410
|
notation: "engineering"
|
|
@@ -1390,17 +1412,17 @@ function vs(e) {
|
|
|
1390
1412
|
notation: "scientific"
|
|
1391
1413
|
}, e = e.slice(1)), t) {
|
|
1392
1414
|
var r = e.slice(0, 2);
|
|
1393
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1415
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jr.test(e))
|
|
1394
1416
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1395
1417
|
t.minimumIntegerDigits = e.length;
|
|
1396
1418
|
}
|
|
1397
1419
|
return t;
|
|
1398
1420
|
}
|
|
1399
|
-
function
|
|
1400
|
-
var t = {}, r =
|
|
1421
|
+
function ar(e) {
|
|
1422
|
+
var t = {}, r = Vr(e);
|
|
1401
1423
|
return r || t;
|
|
1402
1424
|
}
|
|
1403
|
-
function
|
|
1425
|
+
function xs(e) {
|
|
1404
1426
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1405
1427
|
var s = n[r];
|
|
1406
1428
|
switch (s.stem) {
|
|
@@ -1424,7 +1446,7 @@ function ys(e) {
|
|
|
1424
1446
|
continue;
|
|
1425
1447
|
case "measure-unit":
|
|
1426
1448
|
case "unit":
|
|
1427
|
-
t.style = "unit", t.unit =
|
|
1449
|
+
t.style = "unit", t.unit = ys(s.options[0]);
|
|
1428
1450
|
continue;
|
|
1429
1451
|
case "compact-short":
|
|
1430
1452
|
case "K":
|
|
@@ -1436,12 +1458,12 @@ function ys(e) {
|
|
|
1436
1458
|
continue;
|
|
1437
1459
|
case "scientific":
|
|
1438
1460
|
t = S(S(S({}, t), { notation: "scientific" }), s.options.reduce(function(u, h) {
|
|
1439
|
-
return S(S({}, u),
|
|
1461
|
+
return S(S({}, u), ar(h));
|
|
1440
1462
|
}, {}));
|
|
1441
1463
|
continue;
|
|
1442
1464
|
case "engineering":
|
|
1443
1465
|
t = S(S(S({}, t), { notation: "engineering" }), s.options.reduce(function(u, h) {
|
|
1444
|
-
return S(S({}, u),
|
|
1466
|
+
return S(S({}, u), ar(h));
|
|
1445
1467
|
}, {}));
|
|
1446
1468
|
continue;
|
|
1447
1469
|
case "notation-simple":
|
|
@@ -1486,7 +1508,7 @@ function ys(e) {
|
|
|
1486
1508
|
case "integer-width":
|
|
1487
1509
|
if (s.options.length > 1)
|
|
1488
1510
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1489
|
-
s.options[0].replace(
|
|
1511
|
+
s.options[0].replace(Ps, function(u, h, c, d, p, g) {
|
|
1490
1512
|
if (h)
|
|
1491
1513
|
t.minimumIntegerDigits = c.length;
|
|
1492
1514
|
else {
|
|
@@ -1499,28 +1521,28 @@ function ys(e) {
|
|
|
1499
1521
|
});
|
|
1500
1522
|
continue;
|
|
1501
1523
|
}
|
|
1502
|
-
if (
|
|
1524
|
+
if (jr.test(s.stem)) {
|
|
1503
1525
|
t.minimumIntegerDigits = s.stem.length;
|
|
1504
1526
|
continue;
|
|
1505
1527
|
}
|
|
1506
|
-
if (
|
|
1528
|
+
if (nr.test(s.stem)) {
|
|
1507
1529
|
if (s.options.length > 1)
|
|
1508
1530
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1509
|
-
s.stem.replace(
|
|
1531
|
+
s.stem.replace(nr, function(u, h, c, d, p, g) {
|
|
1510
1532
|
return c === "*" ? t.minimumFractionDigits = h.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : p && g ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + g.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
|
|
1511
1533
|
});
|
|
1512
1534
|
var a = s.options[0];
|
|
1513
|
-
a === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = S(S({}, t),
|
|
1535
|
+
a === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = S(S({}, t), sr(a)));
|
|
1514
1536
|
continue;
|
|
1515
1537
|
}
|
|
1516
|
-
if (
|
|
1517
|
-
t = S(S({}, t),
|
|
1538
|
+
if (Gr.test(s.stem)) {
|
|
1539
|
+
t = S(S({}, t), sr(s.stem));
|
|
1518
1540
|
continue;
|
|
1519
1541
|
}
|
|
1520
|
-
var i =
|
|
1542
|
+
var i = Vr(s.stem);
|
|
1521
1543
|
i && (t = S(S({}, t), i));
|
|
1522
|
-
var
|
|
1523
|
-
|
|
1544
|
+
var o = _s(s.stem);
|
|
1545
|
+
o && (t = S(S({}, t), o));
|
|
1524
1546
|
}
|
|
1525
1547
|
return t;
|
|
1526
1548
|
}
|
|
@@ -2939,14 +2961,14 @@ var rt = {
|
|
|
2939
2961
|
"h"
|
|
2940
2962
|
]
|
|
2941
2963
|
};
|
|
2942
|
-
function
|
|
2964
|
+
function Es(e, t) {
|
|
2943
2965
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2944
2966
|
var s = e.charAt(n);
|
|
2945
2967
|
if (s === "j") {
|
|
2946
2968
|
for (var a = 0; n + 1 < e.length && e.charAt(n + 1) === s; )
|
|
2947
2969
|
a++, n++;
|
|
2948
|
-
var i = 1 + (a & 1),
|
|
2949
|
-
for ((h == "H" || h == "k") && (
|
|
2970
|
+
var i = 1 + (a & 1), o = a < 2 ? 1 : 3 + (a >> 1), u = "a", h = Cs(t);
|
|
2971
|
+
for ((h == "H" || h == "k") && (o = 0); o-- > 0; )
|
|
2950
2972
|
r += u;
|
|
2951
2973
|
for (; i-- > 0; )
|
|
2952
2974
|
r = h + r;
|
|
@@ -2954,7 +2976,7 @@ function Ps(e, t) {
|
|
|
2954
2976
|
}
|
|
2955
2977
|
return r;
|
|
2956
2978
|
}
|
|
2957
|
-
function
|
|
2979
|
+
function Cs(e) {
|
|
2958
2980
|
var t = e.hourCycle;
|
|
2959
2981
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2960
2982
|
e.hourCycles && // @ts-ignore
|
|
@@ -2976,20 +2998,20 @@ function _s(e) {
|
|
|
2976
2998
|
var s = rt[n || ""] || rt[r || ""] || rt["".concat(r, "-001")] || rt["001"];
|
|
2977
2999
|
return s[0];
|
|
2978
3000
|
}
|
|
2979
|
-
var
|
|
3001
|
+
var yt, Ts = new RegExp("^".concat($r.source, "*")), Bs = new RegExp("".concat($r.source, "*$"));
|
|
2980
3002
|
function C(e, t) {
|
|
2981
3003
|
return { start: e, end: t };
|
|
2982
3004
|
}
|
|
2983
|
-
var
|
|
3005
|
+
var Ss = !!String.prototype.startsWith && "_a".startsWith("a", 1), As = !!String.fromCodePoint, Is = !!Object.fromEntries, Hs = !!String.prototype.codePointAt, Ms = !!String.prototype.trimStart, Ns = !!String.prototype.trimEnd, Rs = !!Number.isSafeInteger, Os = Rs ? Number.isSafeInteger : function(e) {
|
|
2984
3006
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2985
|
-
},
|
|
3007
|
+
}, Ht = !0;
|
|
2986
3008
|
try {
|
|
2987
|
-
var
|
|
2988
|
-
|
|
3009
|
+
var Ls = Wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3010
|
+
Ht = ((yt = Ls.exec("a")) === null || yt === void 0 ? void 0 : yt[0]) === "a";
|
|
2989
3011
|
} catch (e) {
|
|
2990
|
-
|
|
3012
|
+
Ht = !1;
|
|
2991
3013
|
}
|
|
2992
|
-
var
|
|
3014
|
+
var ir = Ss ? (
|
|
2993
3015
|
// Native
|
|
2994
3016
|
function(t, r, n) {
|
|
2995
3017
|
return t.startsWith(r, n);
|
|
@@ -2999,7 +3021,7 @@ var nr = Cs ? (
|
|
|
2999
3021
|
function(t, r, n) {
|
|
3000
3022
|
return t.slice(n, n + r.length) === r;
|
|
3001
3023
|
}
|
|
3002
|
-
),
|
|
3024
|
+
), Mt = As ? String.fromCodePoint : (
|
|
3003
3025
|
// IE11
|
|
3004
3026
|
function() {
|
|
3005
3027
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3011,19 +3033,19 @@ var nr = Cs ? (
|
|
|
3011
3033
|
}
|
|
3012
3034
|
return n;
|
|
3013
3035
|
}
|
|
3014
|
-
),
|
|
3036
|
+
), or = (
|
|
3015
3037
|
// native
|
|
3016
|
-
|
|
3038
|
+
Is ? Object.fromEntries : (
|
|
3017
3039
|
// Ponyfill
|
|
3018
3040
|
function(t) {
|
|
3019
3041
|
for (var r = {}, n = 0, s = t; n < s.length; n++) {
|
|
3020
|
-
var a = s[n], i = a[0],
|
|
3021
|
-
r[i] =
|
|
3042
|
+
var a = s[n], i = a[0], o = a[1];
|
|
3043
|
+
r[i] = o;
|
|
3022
3044
|
}
|
|
3023
3045
|
return r;
|
|
3024
3046
|
}
|
|
3025
3047
|
)
|
|
3026
|
-
),
|
|
3048
|
+
), zr = Hs ? (
|
|
3027
3049
|
// Native
|
|
3028
3050
|
function(t, r) {
|
|
3029
3051
|
return t.codePointAt(r);
|
|
@@ -3037,7 +3059,7 @@ var nr = Cs ? (
|
|
|
3037
3059
|
return s < 55296 || s > 56319 || r + 1 === n || (a = t.charCodeAt(r + 1)) < 56320 || a > 57343 ? s : (s - 55296 << 10) + (a - 56320) + 65536;
|
|
3038
3060
|
}
|
|
3039
3061
|
}
|
|
3040
|
-
),
|
|
3062
|
+
), Fs = Ms ? (
|
|
3041
3063
|
// Native
|
|
3042
3064
|
function(t) {
|
|
3043
3065
|
return t.trimStart();
|
|
@@ -3045,9 +3067,9 @@ var nr = Cs ? (
|
|
|
3045
3067
|
) : (
|
|
3046
3068
|
// Ponyfill
|
|
3047
3069
|
function(t) {
|
|
3048
|
-
return t.replace(
|
|
3070
|
+
return t.replace(Ts, "");
|
|
3049
3071
|
}
|
|
3050
|
-
),
|
|
3072
|
+
), ks = Ns ? (
|
|
3051
3073
|
// Native
|
|
3052
3074
|
function(t) {
|
|
3053
3075
|
return t.trimEnd();
|
|
@@ -3055,32 +3077,32 @@ var nr = Cs ? (
|
|
|
3055
3077
|
) : (
|
|
3056
3078
|
// Ponyfill
|
|
3057
3079
|
function(t) {
|
|
3058
|
-
return t.replace(
|
|
3080
|
+
return t.replace(Bs, "");
|
|
3059
3081
|
}
|
|
3060
3082
|
);
|
|
3061
|
-
function
|
|
3083
|
+
function Wr(e, t) {
|
|
3062
3084
|
return new RegExp(e, t);
|
|
3063
3085
|
}
|
|
3064
|
-
var
|
|
3065
|
-
if (
|
|
3066
|
-
var
|
|
3067
|
-
|
|
3086
|
+
var Nt;
|
|
3087
|
+
if (Ht) {
|
|
3088
|
+
var lr = Wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3089
|
+
Nt = function(t, r) {
|
|
3068
3090
|
var n;
|
|
3069
|
-
|
|
3070
|
-
var s =
|
|
3091
|
+
lr.lastIndex = r;
|
|
3092
|
+
var s = lr.exec(t);
|
|
3071
3093
|
return (n = s[1]) !== null && n !== void 0 ? n : "";
|
|
3072
3094
|
};
|
|
3073
3095
|
} else
|
|
3074
|
-
|
|
3096
|
+
Nt = function(t, r) {
|
|
3075
3097
|
for (var n = []; ; ) {
|
|
3076
|
-
var s =
|
|
3077
|
-
if (s === void 0 ||
|
|
3098
|
+
var s = zr(t, r);
|
|
3099
|
+
if (s === void 0 || Xr(s) || Gs(s))
|
|
3078
3100
|
break;
|
|
3079
3101
|
n.push(s), r += s >= 65536 ? 2 : 1;
|
|
3080
3102
|
}
|
|
3081
|
-
return
|
|
3103
|
+
return Mt.apply(void 0, n);
|
|
3082
3104
|
};
|
|
3083
|
-
var
|
|
3105
|
+
var Ds = (
|
|
3084
3106
|
/** @class */
|
|
3085
3107
|
function() {
|
|
3086
3108
|
function e(t, r) {
|
|
@@ -3102,16 +3124,16 @@ var Ls = (
|
|
|
3102
3124
|
if (a === 125 && t > 0)
|
|
3103
3125
|
break;
|
|
3104
3126
|
if (a === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3105
|
-
var
|
|
3127
|
+
var o = this.clonePosition();
|
|
3106
3128
|
this.bump(), s.push({
|
|
3107
|
-
type:
|
|
3108
|
-
location: C(
|
|
3129
|
+
type: O.pound,
|
|
3130
|
+
location: C(o, this.clonePosition())
|
|
3109
3131
|
});
|
|
3110
3132
|
} else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3111
3133
|
if (n)
|
|
3112
3134
|
break;
|
|
3113
3135
|
return this.error(x.UNMATCHED_CLOSING_TAG, C(this.clonePosition(), this.clonePosition()));
|
|
3114
|
-
} else if (a === 60 && !this.ignoreTag &&
|
|
3136
|
+
} else if (a === 60 && !this.ignoreTag && Rt(this.peek() || 0)) {
|
|
3115
3137
|
var i = this.parseTag(t, r);
|
|
3116
3138
|
if (i.err)
|
|
3117
3139
|
return i;
|
|
@@ -3132,7 +3154,7 @@ var Ls = (
|
|
|
3132
3154
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3133
3155
|
return {
|
|
3134
3156
|
val: {
|
|
3135
|
-
type:
|
|
3157
|
+
type: O.literal,
|
|
3136
3158
|
value: "<".concat(s, "/>"),
|
|
3137
3159
|
location: C(n, this.clonePosition())
|
|
3138
3160
|
},
|
|
@@ -3142,27 +3164,27 @@ var Ls = (
|
|
|
3142
3164
|
var a = this.parseMessage(t + 1, r, !0);
|
|
3143
3165
|
if (a.err)
|
|
3144
3166
|
return a;
|
|
3145
|
-
var i = a.val,
|
|
3167
|
+
var i = a.val, o = this.clonePosition();
|
|
3146
3168
|
if (this.bumpIf("</")) {
|
|
3147
|
-
if (this.isEOF() || !
|
|
3148
|
-
return this.error(x.INVALID_TAG, C(
|
|
3169
|
+
if (this.isEOF() || !Rt(this.char()))
|
|
3170
|
+
return this.error(x.INVALID_TAG, C(o, this.clonePosition()));
|
|
3149
3171
|
var u = this.clonePosition(), h = this.parseTagName();
|
|
3150
3172
|
return s !== h ? this.error(x.UNMATCHED_CLOSING_TAG, C(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3151
3173
|
val: {
|
|
3152
|
-
type:
|
|
3174
|
+
type: O.tag,
|
|
3153
3175
|
value: s,
|
|
3154
3176
|
children: i,
|
|
3155
3177
|
location: C(n, this.clonePosition())
|
|
3156
3178
|
},
|
|
3157
3179
|
err: null
|
|
3158
|
-
} : this.error(x.INVALID_TAG, C(
|
|
3180
|
+
} : this.error(x.INVALID_TAG, C(o, this.clonePosition())));
|
|
3159
3181
|
} else
|
|
3160
3182
|
return this.error(x.UNCLOSED_TAG, C(n, this.clonePosition()));
|
|
3161
3183
|
} else
|
|
3162
3184
|
return this.error(x.INVALID_TAG, C(n, this.clonePosition()));
|
|
3163
3185
|
}, e.prototype.parseTagName = function() {
|
|
3164
3186
|
var t = this.offset();
|
|
3165
|
-
for (this.bump(); !this.isEOF() &&
|
|
3187
|
+
for (this.bump(); !this.isEOF() && $s(this.char()); )
|
|
3166
3188
|
this.bump();
|
|
3167
3189
|
return this.message.slice(t, this.offset());
|
|
3168
3190
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3177,21 +3199,21 @@ var Ls = (
|
|
|
3177
3199
|
s += i;
|
|
3178
3200
|
continue;
|
|
3179
3201
|
}
|
|
3180
|
-
var
|
|
3181
|
-
if (
|
|
3182
|
-
s +=
|
|
3202
|
+
var o = this.tryParseLeftAngleBracket();
|
|
3203
|
+
if (o) {
|
|
3204
|
+
s += o;
|
|
3183
3205
|
continue;
|
|
3184
3206
|
}
|
|
3185
3207
|
break;
|
|
3186
3208
|
}
|
|
3187
3209
|
var u = C(n, this.clonePosition());
|
|
3188
3210
|
return {
|
|
3189
|
-
val: { type:
|
|
3211
|
+
val: { type: O.literal, value: s, location: u },
|
|
3190
3212
|
err: null
|
|
3191
3213
|
};
|
|
3192
3214
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3193
3215
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3194
|
-
!
|
|
3216
|
+
!Us(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3195
3217
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3196
3218
|
if (this.isEOF() || this.char() !== 39)
|
|
3197
3219
|
return null;
|
|
@@ -3225,12 +3247,12 @@ var Ls = (
|
|
|
3225
3247
|
r.push(n);
|
|
3226
3248
|
this.bump();
|
|
3227
3249
|
}
|
|
3228
|
-
return
|
|
3250
|
+
return Mt.apply(void 0, r);
|
|
3229
3251
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3230
3252
|
if (this.isEOF())
|
|
3231
3253
|
return null;
|
|
3232
3254
|
var n = this.char();
|
|
3233
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3255
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Mt(n));
|
|
3234
3256
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3235
3257
|
var n = this.clonePosition();
|
|
3236
3258
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3246,7 +3268,7 @@ var Ls = (
|
|
|
3246
3268
|
case 125:
|
|
3247
3269
|
return this.bump(), {
|
|
3248
3270
|
val: {
|
|
3249
|
-
type:
|
|
3271
|
+
type: O.argument,
|
|
3250
3272
|
// value does not include the opening and closing braces.
|
|
3251
3273
|
value: s,
|
|
3252
3274
|
location: C(n, this.clonePosition())
|
|
@@ -3259,13 +3281,13 @@ var Ls = (
|
|
|
3259
3281
|
return this.error(x.MALFORMED_ARGUMENT, C(n, this.clonePosition()));
|
|
3260
3282
|
}
|
|
3261
3283
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3262
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3284
|
+
var t = this.clonePosition(), r = this.offset(), n = Nt(this.message, r), s = r + n.length;
|
|
3263
3285
|
this.bumpTo(s);
|
|
3264
3286
|
var a = this.clonePosition(), i = C(t, a);
|
|
3265
3287
|
return { value: n, location: i };
|
|
3266
3288
|
}, e.prototype.parseArgumentOptions = function(t, r, n, s) {
|
|
3267
|
-
var a, i = this.clonePosition(),
|
|
3268
|
-
switch (
|
|
3289
|
+
var a, i = this.clonePosition(), o = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
3290
|
+
switch (o) {
|
|
3269
3291
|
case "":
|
|
3270
3292
|
return this.error(x.EXPECT_ARGUMENT_TYPE, C(i, u));
|
|
3271
3293
|
case "number":
|
|
@@ -3278,7 +3300,7 @@ var Ls = (
|
|
|
3278
3300
|
var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
3279
3301
|
if (d.err)
|
|
3280
3302
|
return d;
|
|
3281
|
-
var p =
|
|
3303
|
+
var p = ks(d.val);
|
|
3282
3304
|
if (p.length === 0)
|
|
3283
3305
|
return this.error(x.EXPECT_ARGUMENT_STYLE, C(this.clonePosition(), this.clonePosition()));
|
|
3284
3306
|
var g = C(c, this.clonePosition());
|
|
@@ -3288,25 +3310,25 @@ var Ls = (
|
|
|
3288
3310
|
if (v.err)
|
|
3289
3311
|
return v;
|
|
3290
3312
|
var w = C(s, this.clonePosition());
|
|
3291
|
-
if (h &&
|
|
3292
|
-
var T =
|
|
3293
|
-
if (
|
|
3313
|
+
if (h && ir(h == null ? void 0 : h.style, "::", 0)) {
|
|
3314
|
+
var T = Fs(h.style.slice(2));
|
|
3315
|
+
if (o === "number") {
|
|
3294
3316
|
var d = this.parseNumberSkeletonFromString(T, h.styleLocation);
|
|
3295
3317
|
return d.err ? d : {
|
|
3296
|
-
val: { type:
|
|
3318
|
+
val: { type: O.number, value: n, location: w, style: d.val },
|
|
3297
3319
|
err: null
|
|
3298
3320
|
};
|
|
3299
3321
|
} else {
|
|
3300
3322
|
if (T.length === 0)
|
|
3301
3323
|
return this.error(x.EXPECT_DATE_TIME_SKELETON, w);
|
|
3302
3324
|
var P = T;
|
|
3303
|
-
this.locale && (P =
|
|
3325
|
+
this.locale && (P = Es(T, this.locale));
|
|
3304
3326
|
var p = {
|
|
3305
3327
|
type: Ne.dateTime,
|
|
3306
3328
|
pattern: P,
|
|
3307
3329
|
location: h.styleLocation,
|
|
3308
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3309
|
-
}, B =
|
|
3330
|
+
parsedOptions: this.shouldParseSkeletons ? bs(P) : {}
|
|
3331
|
+
}, B = o === "date" ? O.date : O.time;
|
|
3310
3332
|
return {
|
|
3311
3333
|
val: { type: B, value: n, location: w, style: p },
|
|
3312
3334
|
err: null
|
|
@@ -3315,7 +3337,7 @@ var Ls = (
|
|
|
3315
3337
|
}
|
|
3316
3338
|
return {
|
|
3317
3339
|
val: {
|
|
3318
|
-
type:
|
|
3340
|
+
type: o === "number" ? O.number : o === "date" ? O.date : O.time,
|
|
3319
3341
|
value: n,
|
|
3320
3342
|
location: w,
|
|
3321
3343
|
style: (a = h == null ? void 0 : h.style) !== null && a !== void 0 ? a : null
|
|
@@ -3326,12 +3348,12 @@ var Ls = (
|
|
|
3326
3348
|
case "plural":
|
|
3327
3349
|
case "selectordinal":
|
|
3328
3350
|
case "select": {
|
|
3329
|
-
var
|
|
3351
|
+
var R = this.clonePosition();
|
|
3330
3352
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3331
|
-
return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, C(
|
|
3353
|
+
return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, C(R, S({}, R)));
|
|
3332
3354
|
this.bumpSpace();
|
|
3333
3355
|
var F = this.parseIdentifierIfPossible(), k = 0;
|
|
3334
|
-
if (
|
|
3356
|
+
if (o !== "select" && F.value === "offset") {
|
|
3335
3357
|
if (!this.bumpIf(":"))
|
|
3336
3358
|
return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, C(this.clonePosition(), this.clonePosition()));
|
|
3337
3359
|
this.bumpSpace();
|
|
@@ -3340,28 +3362,28 @@ var Ls = (
|
|
|
3340
3362
|
return d;
|
|
3341
3363
|
this.bumpSpace(), F = this.parseIdentifierIfPossible(), k = d.val;
|
|
3342
3364
|
}
|
|
3343
|
-
var N = this.tryParsePluralOrSelectOptions(t,
|
|
3365
|
+
var N = this.tryParsePluralOrSelectOptions(t, o, r, F);
|
|
3344
3366
|
if (N.err)
|
|
3345
3367
|
return N;
|
|
3346
3368
|
var v = this.tryParseArgumentClose(s);
|
|
3347
3369
|
if (v.err)
|
|
3348
3370
|
return v;
|
|
3349
3371
|
var X = C(s, this.clonePosition());
|
|
3350
|
-
return
|
|
3372
|
+
return o === "select" ? {
|
|
3351
3373
|
val: {
|
|
3352
|
-
type:
|
|
3374
|
+
type: O.select,
|
|
3353
3375
|
value: n,
|
|
3354
|
-
options:
|
|
3376
|
+
options: or(N.val),
|
|
3355
3377
|
location: X
|
|
3356
3378
|
},
|
|
3357
3379
|
err: null
|
|
3358
3380
|
} : {
|
|
3359
3381
|
val: {
|
|
3360
|
-
type:
|
|
3382
|
+
type: O.plural,
|
|
3361
3383
|
value: n,
|
|
3362
|
-
options:
|
|
3384
|
+
options: or(N.val),
|
|
3363
3385
|
offset: k,
|
|
3364
|
-
pluralType:
|
|
3386
|
+
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
3365
3387
|
location: X
|
|
3366
3388
|
},
|
|
3367
3389
|
err: null
|
|
@@ -3410,7 +3432,7 @@ var Ls = (
|
|
|
3410
3432
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3411
3433
|
var n = [];
|
|
3412
3434
|
try {
|
|
3413
|
-
n =
|
|
3435
|
+
n = vs(t);
|
|
3414
3436
|
} catch (s) {
|
|
3415
3437
|
return this.error(x.INVALID_NUMBER_SKELETON, r);
|
|
3416
3438
|
}
|
|
@@ -3419,12 +3441,12 @@ var Ls = (
|
|
|
3419
3441
|
type: Ne.number,
|
|
3420
3442
|
tokens: n,
|
|
3421
3443
|
location: r,
|
|
3422
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3444
|
+
parsedOptions: this.shouldParseSkeletons ? xs(n) : {}
|
|
3423
3445
|
},
|
|
3424
3446
|
err: null
|
|
3425
3447
|
};
|
|
3426
3448
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, s) {
|
|
3427
|
-
for (var a, i = !1,
|
|
3449
|
+
for (var a, i = !1, o = [], u = /* @__PURE__ */ new Set(), h = s.value, c = s.location; ; ) {
|
|
3428
3450
|
if (h.length === 0) {
|
|
3429
3451
|
var d = this.clonePosition();
|
|
3430
3452
|
if (r !== "select" && this.bumpIf("=")) {
|
|
@@ -3447,7 +3469,7 @@ var Ls = (
|
|
|
3447
3469
|
var w = this.tryParseArgumentClose(g);
|
|
3448
3470
|
if (w.err)
|
|
3449
3471
|
return w;
|
|
3450
|
-
|
|
3472
|
+
o.push([
|
|
3451
3473
|
h,
|
|
3452
3474
|
{
|
|
3453
3475
|
value: v.val,
|
|
@@ -3455,19 +3477,19 @@ var Ls = (
|
|
|
3455
3477
|
}
|
|
3456
3478
|
]), u.add(h), this.bumpSpace(), a = this.parseIdentifierIfPossible(), h = a.value, c = a.location;
|
|
3457
3479
|
}
|
|
3458
|
-
return
|
|
3480
|
+
return o.length === 0 ? this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, C(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !i ? this.error(x.MISSING_OTHER_CLAUSE, C(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
|
|
3459
3481
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3460
3482
|
var n = 1, s = this.clonePosition();
|
|
3461
3483
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3462
3484
|
for (var a = !1, i = 0; !this.isEOF(); ) {
|
|
3463
|
-
var
|
|
3464
|
-
if (
|
|
3465
|
-
a = !0, i = i * 10 + (
|
|
3485
|
+
var o = this.char();
|
|
3486
|
+
if (o >= 48 && o <= 57)
|
|
3487
|
+
a = !0, i = i * 10 + (o - 48), this.bump();
|
|
3466
3488
|
else
|
|
3467
3489
|
break;
|
|
3468
3490
|
}
|
|
3469
3491
|
var u = C(s, this.clonePosition());
|
|
3470
|
-
return a ? (i *= n,
|
|
3492
|
+
return a ? (i *= n, Os(i) ? { val: i, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3471
3493
|
}, e.prototype.offset = function() {
|
|
3472
3494
|
return this.position.offset;
|
|
3473
3495
|
}, e.prototype.isEOF = function() {
|
|
@@ -3482,7 +3504,7 @@ var Ls = (
|
|
|
3482
3504
|
var t = this.position.offset;
|
|
3483
3505
|
if (t >= this.message.length)
|
|
3484
3506
|
throw Error("out of bound");
|
|
3485
|
-
var r =
|
|
3507
|
+
var r = zr(this.message, t);
|
|
3486
3508
|
if (r === void 0)
|
|
3487
3509
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3488
3510
|
return r;
|
|
@@ -3501,7 +3523,7 @@ var Ls = (
|
|
|
3501
3523
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3502
3524
|
}
|
|
3503
3525
|
}, e.prototype.bumpIf = function(t) {
|
|
3504
|
-
if (
|
|
3526
|
+
if (ir(this.message, t, this.offset())) {
|
|
3505
3527
|
for (var r = 0; r < t.length; r++)
|
|
3506
3528
|
this.bump();
|
|
3507
3529
|
return !0;
|
|
@@ -3523,7 +3545,7 @@ var Ls = (
|
|
|
3523
3545
|
break;
|
|
3524
3546
|
}
|
|
3525
3547
|
}, e.prototype.bumpSpace = function() {
|
|
3526
|
-
for (; !this.isEOF() &&
|
|
3548
|
+
for (; !this.isEOF() && Xr(this.char()); )
|
|
3527
3549
|
this.bump();
|
|
3528
3550
|
}, e.prototype.peek = function() {
|
|
3529
3551
|
if (this.isEOF())
|
|
@@ -3533,42 +3555,42 @@ var Ls = (
|
|
|
3533
3555
|
}, e;
|
|
3534
3556
|
}()
|
|
3535
3557
|
);
|
|
3536
|
-
function
|
|
3558
|
+
function Rt(e) {
|
|
3537
3559
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3538
3560
|
}
|
|
3539
|
-
function
|
|
3540
|
-
return
|
|
3561
|
+
function Us(e) {
|
|
3562
|
+
return Rt(e) || e === 47;
|
|
3541
3563
|
}
|
|
3542
|
-
function
|
|
3564
|
+
function $s(e) {
|
|
3543
3565
|
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;
|
|
3544
3566
|
}
|
|
3545
|
-
function
|
|
3567
|
+
function Xr(e) {
|
|
3546
3568
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3547
3569
|
}
|
|
3548
|
-
function
|
|
3570
|
+
function Gs(e) {
|
|
3549
3571
|
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;
|
|
3550
3572
|
}
|
|
3551
3573
|
function Ot(e) {
|
|
3552
3574
|
e.forEach(function(t) {
|
|
3553
|
-
if (delete t.location,
|
|
3575
|
+
if (delete t.location, Fr(t) || kr(t))
|
|
3554
3576
|
for (var r in t.options)
|
|
3555
3577
|
delete t.options[r].location, Ot(t.options[r].value);
|
|
3556
|
-
else
|
|
3578
|
+
else Rr(t) && Ur(t.style) || (Or(t) || Lr(t)) && It(t.style) ? delete t.style.location : Dr(t) && Ot(t.children);
|
|
3557
3579
|
});
|
|
3558
3580
|
}
|
|
3559
|
-
function
|
|
3581
|
+
function js(e, t) {
|
|
3560
3582
|
t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3561
|
-
var r = new
|
|
3583
|
+
var r = new Ds(e, t).parse();
|
|
3562
3584
|
if (r.err) {
|
|
3563
3585
|
var n = SyntaxError(x[r.err.kind]);
|
|
3564
3586
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3565
3587
|
}
|
|
3566
3588
|
return t != null && t.captureLocation || Ot(r.val), r.val;
|
|
3567
3589
|
}
|
|
3568
|
-
var
|
|
3590
|
+
var Re;
|
|
3569
3591
|
(function(e) {
|
|
3570
3592
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3571
|
-
})(
|
|
3593
|
+
})(Re || (Re = {}));
|
|
3572
3594
|
var ct = (
|
|
3573
3595
|
/** @class */
|
|
3574
3596
|
function(e) {
|
|
@@ -3581,30 +3603,30 @@ var ct = (
|
|
|
3581
3603
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3582
3604
|
}, t;
|
|
3583
3605
|
}(Error)
|
|
3584
|
-
),
|
|
3606
|
+
), ur = (
|
|
3585
3607
|
/** @class */
|
|
3586
3608
|
function(e) {
|
|
3587
3609
|
oe(t, e);
|
|
3588
3610
|
function t(r, n, s, a) {
|
|
3589
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(s).join('", "'), '"'),
|
|
3611
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(s).join('", "'), '"'), Re.INVALID_VALUE, a) || this;
|
|
3590
3612
|
}
|
|
3591
3613
|
return t;
|
|
3592
3614
|
}(ct)
|
|
3593
|
-
),
|
|
3615
|
+
), Vs = (
|
|
3594
3616
|
/** @class */
|
|
3595
3617
|
function(e) {
|
|
3596
3618
|
oe(t, e);
|
|
3597
3619
|
function t(r, n, s) {
|
|
3598
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3620
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Re.INVALID_VALUE, s) || this;
|
|
3599
3621
|
}
|
|
3600
3622
|
return t;
|
|
3601
3623
|
}(ct)
|
|
3602
|
-
),
|
|
3624
|
+
), zs = (
|
|
3603
3625
|
/** @class */
|
|
3604
3626
|
function(e) {
|
|
3605
3627
|
oe(t, e);
|
|
3606
3628
|
function t(r, n) {
|
|
3607
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3629
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Re.MISSING_VALUE, n) || this;
|
|
3608
3630
|
}
|
|
3609
3631
|
return t;
|
|
3610
3632
|
}(ct)
|
|
@@ -3612,34 +3634,34 @@ var ct = (
|
|
|
3612
3634
|
(function(e) {
|
|
3613
3635
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3614
3636
|
})(W || (W = {}));
|
|
3615
|
-
function
|
|
3637
|
+
function Ws(e) {
|
|
3616
3638
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3617
3639
|
var n = t[t.length - 1];
|
|
3618
3640
|
return !n || n.type !== W.literal || r.type !== W.literal ? t.push(r) : n.value += r.value, t;
|
|
3619
3641
|
}, []);
|
|
3620
3642
|
}
|
|
3621
|
-
function
|
|
3643
|
+
function Xs(e) {
|
|
3622
3644
|
return typeof e == "function";
|
|
3623
3645
|
}
|
|
3624
3646
|
function at(e, t, r, n, s, a, i) {
|
|
3625
|
-
if (e.length === 1 &&
|
|
3647
|
+
if (e.length === 1 && rr(e[0]))
|
|
3626
3648
|
return [
|
|
3627
3649
|
{
|
|
3628
3650
|
type: W.literal,
|
|
3629
3651
|
value: e[0].value
|
|
3630
3652
|
}
|
|
3631
3653
|
];
|
|
3632
|
-
for (var
|
|
3654
|
+
for (var o = [], u = 0, h = e; u < h.length; u++) {
|
|
3633
3655
|
var c = h[u];
|
|
3634
|
-
if (
|
|
3635
|
-
|
|
3656
|
+
if (rr(c)) {
|
|
3657
|
+
o.push({
|
|
3636
3658
|
type: W.literal,
|
|
3637
3659
|
value: c.value
|
|
3638
3660
|
});
|
|
3639
3661
|
continue;
|
|
3640
3662
|
}
|
|
3641
|
-
if (
|
|
3642
|
-
typeof a == "number" &&
|
|
3663
|
+
if (ms(c)) {
|
|
3664
|
+
typeof a == "number" && o.push({
|
|
3643
3665
|
type: W.literal,
|
|
3644
3666
|
value: r.getNumberFormat(t).format(a)
|
|
3645
3667
|
});
|
|
@@ -3647,89 +3669,89 @@ function at(e, t, r, n, s, a, i) {
|
|
|
3647
3669
|
}
|
|
3648
3670
|
var d = c.value;
|
|
3649
3671
|
if (!(s && d in s))
|
|
3650
|
-
throw new
|
|
3672
|
+
throw new zs(d, i);
|
|
3651
3673
|
var p = s[d];
|
|
3652
|
-
if (
|
|
3653
|
-
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""),
|
|
3674
|
+
if (ps(c)) {
|
|
3675
|
+
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), o.push({
|
|
3654
3676
|
type: typeof p == "string" ? W.literal : W.object,
|
|
3655
3677
|
value: p
|
|
3656
3678
|
});
|
|
3657
3679
|
continue;
|
|
3658
3680
|
}
|
|
3659
|
-
if (
|
|
3660
|
-
var g = typeof c.style == "string" ? n.date[c.style] :
|
|
3661
|
-
|
|
3681
|
+
if (Or(c)) {
|
|
3682
|
+
var g = typeof c.style == "string" ? n.date[c.style] : It(c.style) ? c.style.parsedOptions : void 0;
|
|
3683
|
+
o.push({
|
|
3662
3684
|
type: W.literal,
|
|
3663
3685
|
value: r.getDateTimeFormat(t, g).format(p)
|
|
3664
3686
|
});
|
|
3665
3687
|
continue;
|
|
3666
3688
|
}
|
|
3667
|
-
if (
|
|
3668
|
-
var g = typeof c.style == "string" ? n.time[c.style] :
|
|
3669
|
-
|
|
3689
|
+
if (Lr(c)) {
|
|
3690
|
+
var g = typeof c.style == "string" ? n.time[c.style] : It(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3691
|
+
o.push({
|
|
3670
3692
|
type: W.literal,
|
|
3671
3693
|
value: r.getDateTimeFormat(t, g).format(p)
|
|
3672
3694
|
});
|
|
3673
3695
|
continue;
|
|
3674
3696
|
}
|
|
3675
|
-
if (
|
|
3676
|
-
var g = typeof c.style == "string" ? n.number[c.style] :
|
|
3677
|
-
g && g.scale && (p = p * (g.scale || 1)),
|
|
3697
|
+
if (Rr(c)) {
|
|
3698
|
+
var g = typeof c.style == "string" ? n.number[c.style] : Ur(c.style) ? c.style.parsedOptions : void 0;
|
|
3699
|
+
g && g.scale && (p = p * (g.scale || 1)), o.push({
|
|
3678
3700
|
type: W.literal,
|
|
3679
3701
|
value: r.getNumberFormat(t, g).format(p)
|
|
3680
3702
|
});
|
|
3681
3703
|
continue;
|
|
3682
3704
|
}
|
|
3683
|
-
if (
|
|
3705
|
+
if (Dr(c)) {
|
|
3684
3706
|
var v = c.children, w = c.value, T = s[w];
|
|
3685
|
-
if (!
|
|
3686
|
-
throw new
|
|
3707
|
+
if (!Xs(T))
|
|
3708
|
+
throw new Vs(w, "function", i);
|
|
3687
3709
|
var P = at(v, t, r, n, s, a), B = T(P.map(function(k) {
|
|
3688
3710
|
return k.value;
|
|
3689
3711
|
}));
|
|
3690
|
-
Array.isArray(B) || (B = [B]),
|
|
3712
|
+
Array.isArray(B) || (B = [B]), o.push.apply(o, B.map(function(k) {
|
|
3691
3713
|
return {
|
|
3692
3714
|
type: typeof k == "string" ? W.literal : W.object,
|
|
3693
3715
|
value: k
|
|
3694
3716
|
};
|
|
3695
3717
|
}));
|
|
3696
3718
|
}
|
|
3697
|
-
if (
|
|
3698
|
-
var
|
|
3699
|
-
if (!
|
|
3700
|
-
throw new
|
|
3701
|
-
|
|
3719
|
+
if (Fr(c)) {
|
|
3720
|
+
var R = c.options[p] || c.options.other;
|
|
3721
|
+
if (!R)
|
|
3722
|
+
throw new ur(c.value, p, Object.keys(c.options), i);
|
|
3723
|
+
o.push.apply(o, at(R.value, t, r, n, s));
|
|
3702
3724
|
continue;
|
|
3703
3725
|
}
|
|
3704
|
-
if (
|
|
3705
|
-
var
|
|
3706
|
-
if (!
|
|
3726
|
+
if (kr(c)) {
|
|
3727
|
+
var R = c.options["=".concat(p)];
|
|
3728
|
+
if (!R) {
|
|
3707
3729
|
if (!Intl.PluralRules)
|
|
3708
3730
|
throw new ct(`Intl.PluralRules is not available in this environment.
|
|
3709
3731
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3710
|
-
`,
|
|
3732
|
+
`, Re.MISSING_INTL_API, i);
|
|
3711
3733
|
var F = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
|
|
3712
|
-
|
|
3734
|
+
R = c.options[F] || c.options.other;
|
|
3713
3735
|
}
|
|
3714
|
-
if (!
|
|
3715
|
-
throw new
|
|
3716
|
-
|
|
3736
|
+
if (!R)
|
|
3737
|
+
throw new ur(c.value, p, Object.keys(c.options), i);
|
|
3738
|
+
o.push.apply(o, at(R.value, t, r, n, s, p - (c.offset || 0)));
|
|
3717
3739
|
continue;
|
|
3718
3740
|
}
|
|
3719
3741
|
}
|
|
3720
|
-
return
|
|
3742
|
+
return Ws(o);
|
|
3721
3743
|
}
|
|
3722
|
-
function
|
|
3744
|
+
function Zs(e, t) {
|
|
3723
3745
|
return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3724
3746
|
return r[n] = S(S({}, e[n]), t[n] || {}), r;
|
|
3725
3747
|
}, {})) : e;
|
|
3726
3748
|
}
|
|
3727
|
-
function
|
|
3749
|
+
function Qs(e, t) {
|
|
3728
3750
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3729
|
-
return r[n] =
|
|
3751
|
+
return r[n] = Zs(e[n], t[n]), r;
|
|
3730
3752
|
}, S({}, e)) : e;
|
|
3731
3753
|
}
|
|
3732
|
-
function
|
|
3754
|
+
function Pt(e) {
|
|
3733
3755
|
return {
|
|
3734
3756
|
create: function() {
|
|
3735
3757
|
return {
|
|
@@ -3743,39 +3765,39 @@ function yt(e) {
|
|
|
3743
3765
|
}
|
|
3744
3766
|
};
|
|
3745
3767
|
}
|
|
3746
|
-
function
|
|
3768
|
+
function Ys(e) {
|
|
3747
3769
|
return e === void 0 && (e = {
|
|
3748
3770
|
number: {},
|
|
3749
3771
|
dateTime: {},
|
|
3750
3772
|
pluralRules: {}
|
|
3751
3773
|
}), {
|
|
3752
|
-
getNumberFormat:
|
|
3774
|
+
getNumberFormat: wt(function() {
|
|
3753
3775
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3754
3776
|
r[n] = arguments[n];
|
|
3755
3777
|
return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
|
|
3756
3778
|
}, {
|
|
3757
|
-
cache:
|
|
3758
|
-
strategy:
|
|
3779
|
+
cache: Pt(e.number),
|
|
3780
|
+
strategy: vt.variadic
|
|
3759
3781
|
}),
|
|
3760
|
-
getDateTimeFormat:
|
|
3782
|
+
getDateTimeFormat: wt(function() {
|
|
3761
3783
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3762
3784
|
r[n] = arguments[n];
|
|
3763
3785
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
|
|
3764
3786
|
}, {
|
|
3765
|
-
cache:
|
|
3766
|
-
strategy:
|
|
3787
|
+
cache: Pt(e.dateTime),
|
|
3788
|
+
strategy: vt.variadic
|
|
3767
3789
|
}),
|
|
3768
|
-
getPluralRules:
|
|
3790
|
+
getPluralRules: wt(function() {
|
|
3769
3791
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3770
3792
|
r[n] = arguments[n];
|
|
3771
3793
|
return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
|
|
3772
3794
|
}, {
|
|
3773
|
-
cache:
|
|
3774
|
-
strategy:
|
|
3795
|
+
cache: Pt(e.pluralRules),
|
|
3796
|
+
strategy: vt.variadic
|
|
3775
3797
|
})
|
|
3776
3798
|
};
|
|
3777
3799
|
}
|
|
3778
|
-
var
|
|
3800
|
+
var Js = (
|
|
3779
3801
|
/** @class */
|
|
3780
3802
|
function() {
|
|
3781
3803
|
function e(t, r, n, s) {
|
|
@@ -3807,13 +3829,13 @@ var Zs = (
|
|
|
3807
3829
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3808
3830
|
var i = s || {};
|
|
3809
3831
|
i.formatters;
|
|
3810
|
-
var
|
|
3811
|
-
this.ast = e.__parse(t, S(S({},
|
|
3832
|
+
var o = In(i, ["formatters"]);
|
|
3833
|
+
this.ast = e.__parse(t, S(S({}, o), { locale: this.resolvedLocale }));
|
|
3812
3834
|
} else
|
|
3813
3835
|
this.ast = t;
|
|
3814
3836
|
if (!Array.isArray(this.ast))
|
|
3815
3837
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3816
|
-
this.formats =
|
|
3838
|
+
this.formats = Qs(e.formats, n), this.formatters = s && s.formatters || Ys(this.formatterCache);
|
|
3817
3839
|
}
|
|
3818
3840
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3819
3841
|
get: function() {
|
|
@@ -3826,7 +3848,7 @@ var Zs = (
|
|
|
3826
3848
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3827
3849
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3828
3850
|
}
|
|
3829
|
-
}, e.__parse =
|
|
3851
|
+
}, e.__parse = js, e.formats = {
|
|
3830
3852
|
number: {
|
|
3831
3853
|
integer: {
|
|
3832
3854
|
maximumFractionDigits: 0
|
|
@@ -3887,7 +3909,7 @@ var Zs = (
|
|
|
3887
3909
|
}, e;
|
|
3888
3910
|
}()
|
|
3889
3911
|
);
|
|
3890
|
-
function
|
|
3912
|
+
function qs(e, t) {
|
|
3891
3913
|
if (t == null)
|
|
3892
3914
|
return;
|
|
3893
3915
|
if (t in e)
|
|
@@ -3908,92 +3930,92 @@ function Qs(e, t) {
|
|
|
3908
3930
|
n = void 0;
|
|
3909
3931
|
return n;
|
|
3910
3932
|
}
|
|
3911
|
-
const fe = {},
|
|
3933
|
+
const fe = {}, Ks = (e, t, r) => r && (t in fe || (fe[t] = {}), e in fe[t] || (fe[t][e] = r), r), Zr = (e, t) => {
|
|
3912
3934
|
if (t == null)
|
|
3913
3935
|
return;
|
|
3914
3936
|
if (t in fe && e in fe[t])
|
|
3915
3937
|
return fe[t][e];
|
|
3916
3938
|
const r = ft(t);
|
|
3917
3939
|
for (let n = 0; n < r.length; n++) {
|
|
3918
|
-
const s = r[n], a =
|
|
3940
|
+
const s = r[n], a = ta(s, e);
|
|
3919
3941
|
if (a)
|
|
3920
|
-
return
|
|
3942
|
+
return Ks(e, t, a);
|
|
3921
3943
|
}
|
|
3922
3944
|
};
|
|
3923
|
-
let
|
|
3945
|
+
let Ut;
|
|
3924
3946
|
const Qe = ht({});
|
|
3925
|
-
function
|
|
3926
|
-
return
|
|
3947
|
+
function ea(e) {
|
|
3948
|
+
return Ut[e] || null;
|
|
3927
3949
|
}
|
|
3928
|
-
function
|
|
3929
|
-
return e in
|
|
3950
|
+
function Qr(e) {
|
|
3951
|
+
return e in Ut;
|
|
3930
3952
|
}
|
|
3931
|
-
function
|
|
3932
|
-
if (!
|
|
3953
|
+
function ta(e, t) {
|
|
3954
|
+
if (!Qr(e))
|
|
3933
3955
|
return null;
|
|
3934
|
-
const r =
|
|
3935
|
-
return
|
|
3956
|
+
const r = ea(e);
|
|
3957
|
+
return qs(r, t);
|
|
3936
3958
|
}
|
|
3937
|
-
function
|
|
3959
|
+
function ra(e) {
|
|
3938
3960
|
if (e == null)
|
|
3939
3961
|
return;
|
|
3940
3962
|
const t = ft(e);
|
|
3941
3963
|
for (let r = 0; r < t.length; r++) {
|
|
3942
3964
|
const n = t[r];
|
|
3943
|
-
if (
|
|
3965
|
+
if (Qr(n))
|
|
3944
3966
|
return n;
|
|
3945
3967
|
}
|
|
3946
3968
|
}
|
|
3947
|
-
function
|
|
3948
|
-
delete fe[e], Qe.update((r) => (r[e] =
|
|
3969
|
+
function Yr(e, ...t) {
|
|
3970
|
+
delete fe[e], Qe.update((r) => (r[e] = os.all([r[e] || {}, ...t]), r));
|
|
3949
3971
|
}
|
|
3950
3972
|
Fe(
|
|
3951
3973
|
[Qe],
|
|
3952
3974
|
([e]) => Object.keys(e)
|
|
3953
3975
|
);
|
|
3954
|
-
Qe.subscribe((e) =>
|
|
3976
|
+
Qe.subscribe((e) => Ut = e);
|
|
3955
3977
|
const it = {};
|
|
3956
|
-
function
|
|
3978
|
+
function na(e, t) {
|
|
3957
3979
|
it[e].delete(t), it[e].size === 0 && delete it[e];
|
|
3958
3980
|
}
|
|
3959
|
-
function
|
|
3981
|
+
function Jr(e) {
|
|
3960
3982
|
return it[e];
|
|
3961
3983
|
}
|
|
3962
|
-
function
|
|
3984
|
+
function sa(e) {
|
|
3963
3985
|
return ft(e).map((t) => {
|
|
3964
|
-
const r =
|
|
3986
|
+
const r = Jr(t);
|
|
3965
3987
|
return [t, r ? [...r] : []];
|
|
3966
3988
|
}).filter(([, t]) => t.length > 0);
|
|
3967
3989
|
}
|
|
3968
|
-
function
|
|
3990
|
+
function Lt(e) {
|
|
3969
3991
|
return e == null ? !1 : ft(e).some(
|
|
3970
3992
|
(t) => {
|
|
3971
3993
|
var r;
|
|
3972
|
-
return (r =
|
|
3994
|
+
return (r = Jr(t)) == null ? void 0 : r.size;
|
|
3973
3995
|
}
|
|
3974
3996
|
);
|
|
3975
3997
|
}
|
|
3976
|
-
function
|
|
3998
|
+
function aa(e, t) {
|
|
3977
3999
|
return Promise.all(
|
|
3978
|
-
t.map((n) => (
|
|
3979
|
-
).then((n) =>
|
|
4000
|
+
t.map((n) => (na(e, n), n().then((s) => s.default || s)))
|
|
4001
|
+
).then((n) => Yr(e, ...n));
|
|
3980
4002
|
}
|
|
3981
4003
|
const Ve = {};
|
|
3982
|
-
function
|
|
3983
|
-
if (!
|
|
4004
|
+
function qr(e) {
|
|
4005
|
+
if (!Lt(e))
|
|
3984
4006
|
return e in Ve ? Ve[e] : Promise.resolve();
|
|
3985
|
-
const t =
|
|
4007
|
+
const t = sa(e);
|
|
3986
4008
|
return Ve[e] = Promise.all(
|
|
3987
4009
|
t.map(
|
|
3988
|
-
([r, n]) =>
|
|
4010
|
+
([r, n]) => aa(r, n)
|
|
3989
4011
|
)
|
|
3990
4012
|
).then(() => {
|
|
3991
|
-
if (
|
|
3992
|
-
return
|
|
4013
|
+
if (Lt(e))
|
|
4014
|
+
return qr(e);
|
|
3993
4015
|
delete Ve[e];
|
|
3994
4016
|
}), Ve[e];
|
|
3995
4017
|
}
|
|
3996
|
-
const
|
|
4018
|
+
const ia = {
|
|
3997
4019
|
number: {
|
|
3998
4020
|
scientific: { notation: "scientific" },
|
|
3999
4021
|
engineering: { notation: "engineering" },
|
|
@@ -4022,57 +4044,57 @@ const na = {
|
|
|
4022
4044
|
timeZoneName: "short"
|
|
4023
4045
|
}
|
|
4024
4046
|
}
|
|
4025
|
-
},
|
|
4047
|
+
}, oa = {
|
|
4026
4048
|
fallbackLocale: null,
|
|
4027
4049
|
loadingDelay: 200,
|
|
4028
|
-
formats:
|
|
4050
|
+
formats: ia,
|
|
4029
4051
|
warnOnMissingMessages: !0,
|
|
4030
4052
|
handleMissingMessage: void 0,
|
|
4031
4053
|
ignoreTag: !0
|
|
4032
|
-
},
|
|
4033
|
-
function
|
|
4034
|
-
return
|
|
4054
|
+
}, la = oa;
|
|
4055
|
+
function Oe() {
|
|
4056
|
+
return la;
|
|
4035
4057
|
}
|
|
4036
|
-
const
|
|
4037
|
-
var
|
|
4058
|
+
const _t = ht(!1);
|
|
4059
|
+
var ua = Object.defineProperty, ha = Object.defineProperties, ca = Object.getOwnPropertyDescriptors, hr = Object.getOwnPropertySymbols, fa = Object.prototype.hasOwnProperty, da = Object.prototype.propertyIsEnumerable, cr = (e, t, r) => t in e ? ua(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pa = (e, t) => {
|
|
4038
4060
|
for (var r in t || (t = {}))
|
|
4039
|
-
|
|
4040
|
-
if (
|
|
4041
|
-
for (var r of
|
|
4042
|
-
|
|
4061
|
+
fa.call(t, r) && cr(e, r, t[r]);
|
|
4062
|
+
if (hr)
|
|
4063
|
+
for (var r of hr(t))
|
|
4064
|
+
da.call(t, r) && cr(e, r, t[r]);
|
|
4043
4065
|
return e;
|
|
4044
|
-
},
|
|
4045
|
-
let
|
|
4066
|
+
}, ma = (e, t) => ha(e, ca(t));
|
|
4067
|
+
let Ft;
|
|
4046
4068
|
const ot = ht(null);
|
|
4047
|
-
function
|
|
4069
|
+
function fr(e) {
|
|
4048
4070
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4049
4071
|
}
|
|
4050
|
-
function ft(e, t =
|
|
4051
|
-
const r =
|
|
4052
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4072
|
+
function ft(e, t = Oe().fallbackLocale) {
|
|
4073
|
+
const r = fr(e);
|
|
4074
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...fr(t)])] : r;
|
|
4053
4075
|
}
|
|
4054
4076
|
function be() {
|
|
4055
|
-
return
|
|
4077
|
+
return Ft != null ? Ft : void 0;
|
|
4056
4078
|
}
|
|
4057
4079
|
ot.subscribe((e) => {
|
|
4058
|
-
|
|
4080
|
+
Ft = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4059
4081
|
});
|
|
4060
|
-
const
|
|
4061
|
-
if (e &&
|
|
4062
|
-
const { loadingDelay: t } =
|
|
4082
|
+
const ga = (e) => {
|
|
4083
|
+
if (e && ra(e) && Lt(e)) {
|
|
4084
|
+
const { loadingDelay: t } = Oe();
|
|
4063
4085
|
let r;
|
|
4064
4086
|
return typeof window != "undefined" && be() != null && t ? r = window.setTimeout(
|
|
4065
|
-
() =>
|
|
4087
|
+
() => _t.set(!0),
|
|
4066
4088
|
t
|
|
4067
|
-
) :
|
|
4089
|
+
) : _t.set(!0), qr(e).then(() => {
|
|
4068
4090
|
ot.set(e);
|
|
4069
4091
|
}).finally(() => {
|
|
4070
|
-
clearTimeout(r),
|
|
4092
|
+
clearTimeout(r), _t.set(!1);
|
|
4071
4093
|
});
|
|
4072
4094
|
}
|
|
4073
4095
|
return ot.set(e);
|
|
4074
|
-
}, ke =
|
|
4075
|
-
set:
|
|
4096
|
+
}, ke = ma(pa({}, ot), {
|
|
4097
|
+
set: ga
|
|
4076
4098
|
}), dt = (e) => {
|
|
4077
4099
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4078
4100
|
return (n) => {
|
|
@@ -4080,42 +4102,42 @@ const da = (e) => {
|
|
|
4080
4102
|
return s in t ? t[s] : t[s] = e(n);
|
|
4081
4103
|
};
|
|
4082
4104
|
};
|
|
4083
|
-
var
|
|
4105
|
+
var ba = Object.defineProperty, lt = Object.getOwnPropertySymbols, Kr = Object.prototype.hasOwnProperty, en = Object.prototype.propertyIsEnumerable, dr = (e, t, r) => t in e ? ba(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $t = (e, t) => {
|
|
4084
4106
|
for (var r in t || (t = {}))
|
|
4085
|
-
|
|
4107
|
+
Kr.call(t, r) && dr(e, r, t[r]);
|
|
4086
4108
|
if (lt)
|
|
4087
4109
|
for (var r of lt(t))
|
|
4088
|
-
|
|
4110
|
+
en.call(t, r) && dr(e, r, t[r]);
|
|
4089
4111
|
return e;
|
|
4090
4112
|
}, De = (e, t) => {
|
|
4091
4113
|
var r = {};
|
|
4092
4114
|
for (var n in e)
|
|
4093
|
-
|
|
4115
|
+
Kr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4094
4116
|
if (e != null && lt)
|
|
4095
4117
|
for (var n of lt(e))
|
|
4096
|
-
t.indexOf(n) < 0 &&
|
|
4118
|
+
t.indexOf(n) < 0 && en.call(e, n) && (r[n] = e[n]);
|
|
4097
4119
|
return r;
|
|
4098
4120
|
};
|
|
4099
4121
|
const Ze = (e, t) => {
|
|
4100
|
-
const { formats: r } =
|
|
4122
|
+
const { formats: r } = Oe();
|
|
4101
4123
|
if (e in r && t in r[e])
|
|
4102
4124
|
return r[e][t];
|
|
4103
4125
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4104
|
-
},
|
|
4126
|
+
}, wa = dt(
|
|
4105
4127
|
(e) => {
|
|
4106
4128
|
var t = e, { locale: r, format: n } = t, s = De(t, ["locale", "format"]);
|
|
4107
4129
|
if (r == null)
|
|
4108
4130
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4109
4131
|
return n && (s = Ze("number", n)), new Intl.NumberFormat(r, s);
|
|
4110
4132
|
}
|
|
4111
|
-
),
|
|
4133
|
+
), va = dt(
|
|
4112
4134
|
(e) => {
|
|
4113
4135
|
var t = e, { locale: r, format: n } = t, s = De(t, ["locale", "format"]);
|
|
4114
4136
|
if (r == null)
|
|
4115
4137
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4116
4138
|
return n ? s = Ze("date", n) : Object.keys(s).length === 0 && (s = Ze("date", "short")), new Intl.DateTimeFormat(r, s);
|
|
4117
4139
|
}
|
|
4118
|
-
),
|
|
4140
|
+
), ya = dt(
|
|
4119
4141
|
(e) => {
|
|
4120
4142
|
var t = e, { locale: r, format: n } = t, s = De(t, ["locale", "format"]);
|
|
4121
4143
|
if (r == null)
|
|
@@ -4124,38 +4146,38 @@ const Ze = (e, t) => {
|
|
|
4124
4146
|
);
|
|
4125
4147
|
return n ? s = Ze("time", n) : Object.keys(s).length === 0 && (s = Ze("time", "short")), new Intl.DateTimeFormat(r, s);
|
|
4126
4148
|
}
|
|
4127
|
-
),
|
|
4149
|
+
), Pa = (e = {}) => {
|
|
4128
4150
|
var t = e, {
|
|
4129
4151
|
locale: r = be()
|
|
4130
4152
|
} = t, n = De(t, [
|
|
4131
4153
|
"locale"
|
|
4132
4154
|
]);
|
|
4133
|
-
return
|
|
4134
|
-
},
|
|
4155
|
+
return wa($t({ locale: r }, n));
|
|
4156
|
+
}, _a = (e = {}) => {
|
|
4135
4157
|
var t = e, {
|
|
4136
4158
|
locale: r = be()
|
|
4137
4159
|
} = t, n = De(t, [
|
|
4138
4160
|
"locale"
|
|
4139
4161
|
]);
|
|
4140
|
-
return
|
|
4141
|
-
},
|
|
4162
|
+
return va($t({ locale: r }, n));
|
|
4163
|
+
}, xa = (e = {}) => {
|
|
4142
4164
|
var t = e, {
|
|
4143
4165
|
locale: r = be()
|
|
4144
4166
|
} = t, n = De(t, [
|
|
4145
4167
|
"locale"
|
|
4146
4168
|
]);
|
|
4147
|
-
return
|
|
4148
|
-
},
|
|
4169
|
+
return ya($t({ locale: r }, n));
|
|
4170
|
+
}, Ea = dt(
|
|
4149
4171
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4150
|
-
(e, t = be()) => new
|
|
4151
|
-
ignoreTag:
|
|
4172
|
+
(e, t = be()) => new Js(e, t, Oe().formats, {
|
|
4173
|
+
ignoreTag: Oe().ignoreTag
|
|
4152
4174
|
})
|
|
4153
|
-
),
|
|
4175
|
+
), Ca = (e, t = {}) => {
|
|
4154
4176
|
var r, n, s, a;
|
|
4155
4177
|
let i = t;
|
|
4156
4178
|
typeof e == "object" && (i = e, e = i.id);
|
|
4157
4179
|
const {
|
|
4158
|
-
values:
|
|
4180
|
+
values: o,
|
|
4159
4181
|
locale: u = be(),
|
|
4160
4182
|
default: h
|
|
4161
4183
|
} = i;
|
|
@@ -4163,18 +4185,18 @@ const Ze = (e, t) => {
|
|
|
4163
4185
|
throw new Error(
|
|
4164
4186
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4165
4187
|
);
|
|
4166
|
-
let c =
|
|
4188
|
+
let c = Zr(e, u);
|
|
4167
4189
|
if (!c)
|
|
4168
|
-
c = (a = (s = (n = (r =
|
|
4190
|
+
c = (a = (s = (n = (r = Oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? s : h) != null ? a : e;
|
|
4169
4191
|
else if (typeof c != "string")
|
|
4170
4192
|
return console.warn(
|
|
4171
4193
|
`[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.`
|
|
4172
4194
|
), c;
|
|
4173
|
-
if (!
|
|
4195
|
+
if (!o)
|
|
4174
4196
|
return c;
|
|
4175
4197
|
let d = c;
|
|
4176
4198
|
try {
|
|
4177
|
-
d =
|
|
4199
|
+
d = Ea(c, u).format(o);
|
|
4178
4200
|
} catch (p) {
|
|
4179
4201
|
p instanceof Error && console.warn(
|
|
4180
4202
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4182,20 +4204,20 @@ const Ze = (e, t) => {
|
|
|
4182
4204
|
);
|
|
4183
4205
|
}
|
|
4184
4206
|
return d;
|
|
4185
|
-
},
|
|
4186
|
-
Fe([ke], () =>
|
|
4187
|
-
Fe([ke], () =>
|
|
4188
|
-
Fe([ke], () =>
|
|
4189
|
-
Fe([ke, Qe], () =>
|
|
4190
|
-
window.emWidgets = { topic:
|
|
4191
|
-
const
|
|
4192
|
-
function
|
|
4193
|
-
|
|
4194
|
-
}
|
|
4195
|
-
function
|
|
4207
|
+
}, Ta = (e, t) => xa(t).format(e), Ba = (e, t) => _a(t).format(e), Sa = (e, t) => Pa(t).format(e), Aa = (e, t = be()) => Zr(e, t), Ia = Fe([ke, Qe], () => Ca);
|
|
4208
|
+
Fe([ke], () => Ta);
|
|
4209
|
+
Fe([ke], () => Ba);
|
|
4210
|
+
Fe([ke], () => Sa);
|
|
4211
|
+
Fe([ke, Qe], () => Aa);
|
|
4212
|
+
window.emWidgets = { topic: Vn };
|
|
4213
|
+
const Ha = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4214
|
+
function pr(e, t) {
|
|
4215
|
+
Yr(e, t);
|
|
4216
|
+
}
|
|
4217
|
+
function Ma(e) {
|
|
4196
4218
|
ke.set(e);
|
|
4197
4219
|
}
|
|
4198
|
-
const
|
|
4220
|
+
const mr = {
|
|
4199
4221
|
en: {
|
|
4200
4222
|
titleChangePassword: "Change Password",
|
|
4201
4223
|
currentPassword: "Current Password:",
|
|
@@ -4379,21 +4401,21 @@ const fr = {
|
|
|
4379
4401
|
backButtonText: "Back"
|
|
4380
4402
|
}
|
|
4381
4403
|
};
|
|
4382
|
-
function
|
|
4383
|
-
sn(e, "svelte-r3j83g", '.PlayerChangePasswordWrapper{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;max-width:400px;background-color:var(--emw--pam-typography, var(--emw--color-typography, #F1F1F1));border-radius:5%}.ChangePasswordTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--color-primary, #22B04E);font-weight:var(--emw--font-weight-semibold, 500)}.ChangePasswordTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--color-primary, #22B04E)}.ChangePasswordTitleNone{display:none}.PlayerChangePasswordContent{display:grid;grid-column-gap:50px;grid-row-gap:30px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerChangePasswordButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr}.PlayerChangePasswordSaveButton,.PlayerChangePasswordCancelButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;font-family:var(--emw--button-typography);color:var(--emw--pam-typography, var(---emw--button-text-color, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerChangePasswordSaveButton.ButtonInactive,.PlayerChangePasswordCancelButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordCancelButton{background:transparent;font-family:var(--emw--button-typography);border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordCancelButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed}.PlayerChangePasswordSaveButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);padding:30px 0;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordSaveButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed}.PlayerChangePasswordBox{display:flex;flex-direction:column;position:relative}.PlayerChangePasswordBox label{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:10px}.PlayerChangePasswordBox input{font-family:inherit;font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--color-contrast, #07072A);padding:10px;line-height:16px;border:2px solid var(--emw--color-gray-100, #D6D6D6);background:var(--emw--pam-typography, var(--emw--color-typography, #FFFFFF));border-radius:10px;outline:none;transition-duration:0.3s}.PlayerChangePasswordBox input:focus,.PlayerChangePasswordBox input :focus-within,.PlayerChangePasswordBox input :focus-visible,.PlayerChangePasswordBox input :visited{box-shadow:0 0 0 1pt var(--emw--color-primary, #22B04E)}.PlayerChangePasswordBox .FieldDisabled{color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox input::-webkit-outer-spin-button,.PlayerChangePasswordBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerChangePasswordBox input::-ms-reveal,.PlayerChangePasswordBox input::-ms-clear{display:none}.PlayerChangePasswordBox input[type=number]{-moz-appearance:textfield}.PlayerChangePasswordBox.InvalidField input{border:1px solid var(--emw--color-error, #FD2839);background:var(--emw--color-pale, #FBECF4);color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInput{bottom:-16px}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInputNew{bottom:-24px}.TogglePasswordVisibility{height:20px;position:absolute;right:10px;top:38px;cursor:pointer;color:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, #FD2839)}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibilityMobile{top:35px}.InvalidInput,.InvalidInputNew{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-2x-small, 10px);padding-top:5px;margin:0;line-height:12px}.InvalidInputNew{bottom:-24px}.PasswordChangedError{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-medium, 16px);line-height:18px;margin-top:0}.ChangedPasswordSuccessfully{color:var(--emw--button-text-color, #FFFFFF);position:relative}.ChangedPasswordSuccessfully .SuccessWrapper{display:inline-flex;align-items:center;margin-bottom:20px}.ChangedPasswordSuccessfully .IconContainer{width:45px;height:45px;border:1px solid var(--emw--color-valid, #48952a);border-radius:var(--emw--button-border-radius, 50px);display:flex;align-items:center;justify-content:center}.ChangedPasswordSuccessfully .Checkmark{width:12px;height:22px;border:1px solid var(--emw--color-valid, #48952a);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:relative;top:-3px}.ChangedPasswordSuccessfully h3{font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-normal, 400);margin:10px 0;color:var(--emw--color-valid, #48952a)}.ChangedPasswordSuccessfully p{margin:0;font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.ChangedPasswordSuccessfully .TextContainer{display:flex;flex-direction:column;padding:10px 20px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-text-color, #FFFFFF);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;border:1px solid var(--emw--color-primary, #22B04E);background:var(--emw--color-primary, #22B04E);max-width:185px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton:hover{color:var(--emw--color-primary, #22B04E);background:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordWrapperMobile{height:100%;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column}.PlayerChangePasswordWrapperMobile:after{content:"";position:absolute;bottom:0}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordHeader h3{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox label{font-family:inherit;color:var(--emw--color-gray-300, #58586B);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox input{font-family:inherit;color:var(--emw--color-gray-300, #58586B);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordButtonsArea{grid-column-gap:10px}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton,.PlayerChangePasswordWrapperMobile .PlayerChangePasswordCancelButton{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px);height:44px;color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{font-family:inherit;color:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordWrapperMobile .ChangedPasswordSuccessfully{color:var(--emw--color-gray-300, #58586B)}.MenuReturnButton{font-family:inherit;color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerChangePasswordWrapperTablet{padding:40px 25% 100% 25%}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordContent{grid-row-gap:20px}.PlayerChangePasswordWrapperTablet .MenuReturnButton{font-family:inherit;margin-bottom:30px}.PlayerChangePasswordWrapperTablet .MenuReturnButton span{font-size:var(--emw--font-size-large, 20px)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox label{font-size:var(--emw--font-size-large, 20px);font-family:inherit}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox input{font-family:inherit;height:30px;font-size:var(--emw--font-size-large, 20px);line-height:30px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility{width:30px;top:46px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, #FD2839)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility rect{fill:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .InvalidInput{font-size:var(--emw--font-size-medium, 16px);bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox:last-child .InvalidInput{font-size:var(--emw--font-size-medium, 16px);bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea{grid-column-gap:40px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordCancelButton{font-size:18px;font-family:inherit;height:56px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{color:var(--emw--button-text-color, #FFFFFF);font-family:inherit}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton.ButtonInactive{color:var(--emw--color-gray-300, #58586B)}');
|
|
4404
|
+
function Na(e) {
|
|
4405
|
+
un(e, "svelte-r3j83g", '.PlayerChangePasswordWrapper{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;max-width:400px;background-color:var(--emw--pam-typography, var(--emw--color-typography, #F1F1F1));border-radius:5%}.ChangePasswordTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--color-primary, #22B04E);font-weight:var(--emw--font-weight-semibold, 500)}.ChangePasswordTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--color-primary, #22B04E)}.ChangePasswordTitleNone{display:none}.PlayerChangePasswordContent{display:grid;grid-column-gap:50px;grid-row-gap:30px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerChangePasswordButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr}.PlayerChangePasswordSaveButton,.PlayerChangePasswordCancelButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;font-family:var(--emw--button-typography);color:var(--emw--pam-typography, var(---emw--button-text-color, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerChangePasswordSaveButton.ButtonInactive,.PlayerChangePasswordCancelButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordCancelButton{background:transparent;font-family:var(--emw--button-typography);border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordCancelButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed}.PlayerChangePasswordSaveButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);padding:30px 0;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordSaveButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed}.PlayerChangePasswordBox{display:flex;flex-direction:column;position:relative}.PlayerChangePasswordBox label{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:10px}.PlayerChangePasswordBox input{font-family:inherit;font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--color-contrast, #07072A);padding:10px;line-height:16px;border:2px solid var(--emw--color-gray-100, #D6D6D6);background:var(--emw--pam-typography, var(--emw--color-typography, #FFFFFF));border-radius:10px;outline:none;transition-duration:0.3s}.PlayerChangePasswordBox input:focus,.PlayerChangePasswordBox input :focus-within,.PlayerChangePasswordBox input :focus-visible,.PlayerChangePasswordBox input :visited{box-shadow:0 0 0 1pt var(--emw--color-primary, #22B04E)}.PlayerChangePasswordBox .FieldDisabled{color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox input::-webkit-outer-spin-button,.PlayerChangePasswordBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerChangePasswordBox input::-ms-reveal,.PlayerChangePasswordBox input::-ms-clear{display:none}.PlayerChangePasswordBox input[type=number]{-moz-appearance:textfield}.PlayerChangePasswordBox.InvalidField input{border:1px solid var(--emw--color-error, #FD2839);background:var(--emw--color-pale, #FBECF4);color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInput{bottom:-16px}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInputNew{bottom:-24px}.TogglePasswordVisibility{height:20px;position:absolute;right:10px;top:38px;cursor:pointer;color:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, #FD2839)}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibilityMobile{top:35px}.InvalidInput,.InvalidInputNew{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-2x-small, 10px);padding-top:5px;margin:0;line-height:12px}.InvalidInputNew{bottom:-24px}.PasswordChangedError{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-medium, 16px);line-height:18px;margin-top:0}.ChangedPasswordSuccessfully{color:var(--emw--button-text-color, #FFFFFF);position:relative}.ChangedPasswordSuccessfully .SuccessWrapper{display:inline-flex;align-items:center;margin-bottom:20px}.ChangedPasswordSuccessfully .IconContainer{width:45px;height:45px;border:1px solid var(--emw--color-valid, #48952a);border-radius:var(--emw--button-border-radius, 50px);display:flex;align-items:center;justify-content:center}.ChangedPasswordSuccessfully .Checkmark{width:12px;height:22px;border:1px solid var(--emw--color-valid, #48952a);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:relative;top:-3px}.ChangedPasswordSuccessfully h3{font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-normal, 400);margin:10px 0;color:var(--emw--color-valid, #48952a)}.ChangedPasswordSuccessfully p{margin:0;font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.ChangedPasswordSuccessfully .TextContainer{display:flex;flex-direction:column;padding:10px 20px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-text-color, #FFFFFF);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;border:1px solid var(--emw--color-primary, #22B04E);background:var(--emw--color-primary, #22B04E);max-width:185px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton:hover{color:var(--emw--color-primary, #22B04E);background:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordWrapperMobile{height:100%;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column}.PlayerChangePasswordWrapperMobile:after{content:"";position:absolute;bottom:0}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordHeader h3{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox label{font-family:inherit;color:var(--emw--color-gray-300, #58586B);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox input{font-family:inherit;color:var(--emw--color-gray-300, #58586B);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordButtonsArea{grid-column-gap:10px}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton,.PlayerChangePasswordWrapperMobile .PlayerChangePasswordCancelButton{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px);height:44px;color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{font-family:inherit;color:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordWrapperMobile .ChangedPasswordSuccessfully{color:var(--emw--color-gray-300, #58586B)}.MenuReturnButton{font-family:inherit;color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerChangePasswordWrapperTablet{padding:40px 25% 100% 25%}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordContent{grid-row-gap:20px}.PlayerChangePasswordWrapperTablet .MenuReturnButton{font-family:inherit;margin-bottom:30px}.PlayerChangePasswordWrapperTablet .MenuReturnButton span{font-size:var(--emw--font-size-large, 20px)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox label{font-size:var(--emw--font-size-large, 20px);font-family:inherit}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox input{font-family:inherit;height:30px;font-size:var(--emw--font-size-large, 20px);line-height:30px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility{width:30px;top:46px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, #FD2839)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility rect{fill:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .InvalidInput{font-size:var(--emw--font-size-medium, 16px);bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox:last-child .InvalidInput{font-size:var(--emw--font-size-medium, 16px);bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea{grid-column-gap:40px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordCancelButton{font-size:18px;font-family:inherit;height:56px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{color:var(--emw--button-text-color, #FFFFFF);font-family:inherit}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton.ButtonInactive{color:var(--emw--color-gray-300, #58586B)}');
|
|
4384
4406
|
}
|
|
4385
|
-
function
|
|
4407
|
+
function Ra(e) {
|
|
4386
4408
|
let t;
|
|
4387
4409
|
function r(a, i) {
|
|
4388
4410
|
return (
|
|
4389
4411
|
/*passwordChanged*/
|
|
4390
|
-
a[2] ?
|
|
4412
|
+
a[2] ? Oa : La
|
|
4391
4413
|
);
|
|
4392
4414
|
}
|
|
4393
4415
|
let n = r(e), s = n(e);
|
|
4394
4416
|
return {
|
|
4395
4417
|
c() {
|
|
4396
|
-
t = _("form"), s.c(),
|
|
4418
|
+
t = _("form"), s.c(), l(t, "class", "PlayerChangePasswordWrapper " + /*isMobile*/
|
|
4397
4419
|
(e[20] ? "PlayerChangePasswordWrapperMobile" : "") + " " + /*mediaQuery*/
|
|
4398
4420
|
(e[21].matches && /*isMobile*/
|
|
4399
4421
|
e[20] ? "PlayerChangePasswordWrapperTablet" : ""));
|
|
@@ -4409,29 +4431,29 @@ function Ha(e) {
|
|
|
4409
4431
|
}
|
|
4410
4432
|
};
|
|
4411
4433
|
}
|
|
4412
|
-
function
|
|
4434
|
+
function Oa(e) {
|
|
4413
4435
|
let t, r, n, s = (
|
|
4414
4436
|
/*$_*/
|
|
4415
4437
|
e[19]("changePasswordText") + ""
|
|
4416
|
-
), a, i,
|
|
4438
|
+
), a, i, o, u, h, c, d, p, g = (
|
|
4417
4439
|
/*$_*/
|
|
4418
4440
|
e[19]("passwordReset") + ""
|
|
4419
4441
|
), v, w, T, P = (
|
|
4420
4442
|
/*$_*/
|
|
4421
4443
|
e[19]("passwordResetConfirmation") + ""
|
|
4422
|
-
), B,
|
|
4444
|
+
), B, R, F, k = (
|
|
4423
4445
|
/*$_*/
|
|
4424
4446
|
e[19]("backButtonText") + ""
|
|
4425
4447
|
), N, X, te, U = (
|
|
4426
4448
|
/*isMobile*/
|
|
4427
|
-
e[20] &&
|
|
4449
|
+
e[20] && Fa(e)
|
|
4428
4450
|
);
|
|
4429
4451
|
return {
|
|
4430
4452
|
c() {
|
|
4431
|
-
U && U.c(), t = L(), r = _("div"), n = _("h3"), a = H(s), i = L(),
|
|
4453
|
+
U && U.c(), t = L(), r = _("div"), n = _("h3"), a = H(s), i = L(), o = _("div"), u = _("div"), h = _("div"), h.innerHTML = '<div class="Checkmark"></div>', c = L(), d = _("div"), p = _("h3"), v = H(g), w = L(), T = _("p"), B = H(P), R = L(), F = _("div"), N = H(k), l(r, "class", "PlayerChangePasswordHeader"), l(h, "class", "IconContainer"), l(d, "class", "TextContainer"), l(u, "class", "SuccessWrapper"), l(F, "class", "PlayerChangePasswordBackButton"), l(o, "class", "ChangedPasswordSuccessfully");
|
|
4432
4454
|
},
|
|
4433
4455
|
m(M, E) {
|
|
4434
|
-
U && U.m(M, E), I(M, t, E), I(M, r, E), f(r, n), f(n, a), I(M, i, E), I(M,
|
|
4456
|
+
U && U.m(M, E), I(M, t, E), I(M, r, E), f(r, n), f(n, a), I(M, i, E), I(M, o, E), f(o, u), f(u, h), f(u, c), f(u, d), f(d, p), f(p, v), f(d, w), f(d, T), f(T, B), f(o, R), f(o, F), f(F, N), X || (te = z(
|
|
4435
4457
|
F,
|
|
4436
4458
|
"click",
|
|
4437
4459
|
/*click_handler_9*/
|
|
@@ -4451,18 +4473,18 @@ function Ma(e) {
|
|
|
4451
4473
|
M[19]("backButtonText") + "") && D(N, k);
|
|
4452
4474
|
},
|
|
4453
4475
|
d(M) {
|
|
4454
|
-
M && (A(t), A(r), A(i), A(
|
|
4476
|
+
M && (A(t), A(r), A(i), A(o)), U && U.d(M), X = !1, te();
|
|
4455
4477
|
}
|
|
4456
4478
|
};
|
|
4457
4479
|
}
|
|
4458
|
-
function
|
|
4480
|
+
function La(e) {
|
|
4459
4481
|
let t, r, n = (
|
|
4460
4482
|
/*$_*/
|
|
4461
4483
|
e[19]("titleChangePassword") + ""
|
|
4462
|
-
), s, a, i,
|
|
4484
|
+
), s, a, i, o, u, h = (
|
|
4463
4485
|
/*$_*/
|
|
4464
4486
|
e[19]("currentPassword") + ""
|
|
4465
|
-
), c, d, p, g, v, w, T, P, B,
|
|
4487
|
+
), c, d, p, g, v, w, T, P, B, R = (
|
|
4466
4488
|
/*$_*/
|
|
4467
4489
|
e[19]("newPassword") + ""
|
|
4468
4490
|
), F, k, N, X, te, U, M, E, Z, de = (
|
|
@@ -4473,22 +4495,22 @@ function Na(e) {
|
|
|
4473
4495
|
e[19]("submitChangePassword") + ""
|
|
4474
4496
|
), Ge, ge, ye, je, Ye, se = (
|
|
4475
4497
|
/*isMobile*/
|
|
4476
|
-
e[20] &&
|
|
4498
|
+
e[20] && ka(e)
|
|
4477
4499
|
);
|
|
4478
4500
|
function Je(m, y) {
|
|
4479
4501
|
return (
|
|
4480
4502
|
/*isCurrentPasswordVisible*/
|
|
4481
|
-
m[10] ?
|
|
4503
|
+
m[10] ? Ua : Da
|
|
4482
4504
|
);
|
|
4483
4505
|
}
|
|
4484
4506
|
let Pe = Je(e), J = Pe(e), $ = (
|
|
4485
4507
|
/*invalidCurrentPassword*/
|
|
4486
|
-
e[4] &&
|
|
4508
|
+
e[4] && gr(e)
|
|
4487
4509
|
);
|
|
4488
4510
|
function qe(m, y) {
|
|
4489
4511
|
return (
|
|
4490
4512
|
/*isNewPasswordVisible*/
|
|
4491
|
-
m[11] ?
|
|
4513
|
+
m[11] ? Va : ja
|
|
4492
4514
|
);
|
|
4493
4515
|
}
|
|
4494
4516
|
let _e = qe(e), q = _e(e);
|
|
@@ -4496,42 +4518,42 @@ function Na(e) {
|
|
|
4496
4518
|
if (
|
|
4497
4519
|
/*oldPasswordSameAsNew*/
|
|
4498
4520
|
m[13]
|
|
4499
|
-
) return
|
|
4521
|
+
) return Wa;
|
|
4500
4522
|
if (
|
|
4501
4523
|
/*invalidNewPassword*/
|
|
4502
4524
|
m[5]
|
|
4503
|
-
) return
|
|
4525
|
+
) return za;
|
|
4504
4526
|
}
|
|
4505
4527
|
let he = Ke(e), G = he && he(e);
|
|
4506
4528
|
function et(m, y) {
|
|
4507
4529
|
return (
|
|
4508
4530
|
/*isConfirmPasswordVisible*/
|
|
4509
|
-
m[12] ?
|
|
4531
|
+
m[12] ? Ya : Qa
|
|
4510
4532
|
);
|
|
4511
4533
|
}
|
|
4512
4534
|
let xe = et(e), K = xe(e), j = (
|
|
4513
4535
|
/*invalidConfirmPassword*/
|
|
4514
|
-
e[6] &&
|
|
4536
|
+
e[6] && br(e)
|
|
4515
4537
|
), V = (
|
|
4516
4538
|
/*showErrorPasswordChanged*/
|
|
4517
|
-
e[18] &&
|
|
4539
|
+
e[18] && wr(e)
|
|
4518
4540
|
);
|
|
4519
4541
|
return {
|
|
4520
4542
|
c() {
|
|
4521
|
-
se && se.c(), t = L(), r = _("h2"), s = H(n), a = L(), i = _("section"),
|
|
4522
|
-
(e[20] ? "ChangePasswordTitleNone" : "")),
|
|
4523
|
-
(e[4] ? "InvalidField" : "")),
|
|
4524
|
-
(e[5] ? "InvalidField" : "")),
|
|
4525
|
-
(e[6] ? "InvalidField" : "")),
|
|
4543
|
+
se && se.c(), t = L(), r = _("h2"), s = H(n), a = L(), i = _("section"), o = _("div"), u = _("label"), c = H(h), d = L(), p = _("input"), g = L(), J.c(), v = L(), $ && $.c(), T = L(), P = _("div"), B = _("label"), F = H(R), k = L(), N = _("input"), X = L(), q.c(), te = L(), G && G.c(), M = L(), E = _("div"), Z = _("label"), we = H(de), Ue = L(), Q = _("input"), ne = L(), K.c(), $e = L(), j && j.c(), le = L(), V && V.c(), pe = L(), ue = _("section"), Y = _("button"), Ge = H(me), l(r, "class", "ChangePasswordTitle " + /*isMobile*/
|
|
4544
|
+
(e[20] ? "ChangePasswordTitleNone" : "")), l(u, "for", "CurrentPassword"), l(p, "id", "CurrentPassword"), l(p, "type", "password"), l(o, "class", w = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
|
|
4545
|
+
(e[4] ? "InvalidField" : "")), l(B, "for", "NewPassword"), l(N, "id", "NewPassword"), l(N, "autocomplete", "new-password"), l(N, "type", "password"), l(P, "class", U = "PlayerChangePasswordBox " + /*invalidNewPassword*/
|
|
4546
|
+
(e[5] ? "InvalidField" : "")), l(Z, "for", "ConfirmPassword"), l(Q, "id", "ConfirmPassword"), l(Q, "type", "password"), l(E, "class", ve = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
|
|
4547
|
+
(e[6] ? "InvalidField" : "")), l(i, "class", "PlayerChangePasswordContent"), l(Y, "class", ge = "PlayerChangePasswordSaveButton " + /*activateSubmit*/
|
|
4526
4548
|
(e[3] ? "" : "ButtonInactive")), Y.disabled = ye = !/*activateSubmit*/
|
|
4527
|
-
e[3],
|
|
4549
|
+
e[3], l(ue, "class", "PlayerChangePasswordButtonsArea");
|
|
4528
4550
|
},
|
|
4529
4551
|
m(m, y) {
|
|
4530
|
-
se && se.m(m, y), I(m, t, y), I(m, r, y), f(r, s), I(m, a, y), I(m, i, y), f(i,
|
|
4552
|
+
se && se.m(m, y), I(m, t, y), I(m, r, y), f(r, s), I(m, a, y), I(m, i, y), f(i, o), f(o, u), f(u, c), f(o, d), f(o, p), Ee(
|
|
4531
4553
|
p,
|
|
4532
4554
|
/*userCurrentPassword*/
|
|
4533
4555
|
e[14]
|
|
4534
|
-
), e[34](p), f(
|
|
4556
|
+
), e[34](p), f(o, g), J.m(o, null), f(o, v), $ && $.m(o, null), f(i, T), f(i, P), f(P, B), f(B, F), f(P, k), f(P, N), Ee(
|
|
4535
4557
|
N,
|
|
4536
4558
|
/*userNewPassword*/
|
|
4537
4559
|
e[15]
|
|
@@ -4638,12 +4660,12 @@ function Na(e) {
|
|
|
4638
4660
|
p,
|
|
4639
4661
|
/*userCurrentPassword*/
|
|
4640
4662
|
e[14]
|
|
4641
|
-
), Pe === (Pe = Je(e)) && J ? J.p(e, y) : (J.d(1), J = Pe(e), J && (J.c(), J.m(
|
|
4642
|
-
e[4] ? $ ? $.p(e, y) : ($ =
|
|
4663
|
+
), Pe === (Pe = Je(e)) && J ? J.p(e, y) : (J.d(1), J = Pe(e), J && (J.c(), J.m(o, v))), /*invalidCurrentPassword*/
|
|
4664
|
+
e[4] ? $ ? $.p(e, y) : ($ = gr(e), $.c(), $.m(o, null)) : $ && ($.d(1), $ = null), y[0] & /*invalidCurrentPassword*/
|
|
4643
4665
|
16 && w !== (w = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
|
|
4644
|
-
(e[4] ? "InvalidField" : "")) && o
|
|
4645
|
-
524288 &&
|
|
4646
|
-
e[19]("newPassword") + "") && D(F,
|
|
4666
|
+
(e[4] ? "InvalidField" : "")) && l(o, "class", w), y[0] & /*$_*/
|
|
4667
|
+
524288 && R !== (R = /*$_*/
|
|
4668
|
+
e[19]("newPassword") + "") && D(F, R), y[0] & /*userNewPassword*/
|
|
4647
4669
|
32768 && N.value !== /*userNewPassword*/
|
|
4648
4670
|
e[15] && Ee(
|
|
4649
4671
|
N,
|
|
@@ -4651,7 +4673,7 @@ function Na(e) {
|
|
|
4651
4673
|
e[15]
|
|
4652
4674
|
), _e === (_e = qe(e)) && q ? q.p(e, y) : (q.d(1), q = _e(e), q && (q.c(), q.m(P, te))), he === (he = Ke(e)) && G ? G.p(e, y) : (G && G.d(1), G = he && he(e), G && (G.c(), G.m(P, null))), y[0] & /*invalidNewPassword*/
|
|
4653
4675
|
32 && U !== (U = "PlayerChangePasswordBox " + /*invalidNewPassword*/
|
|
4654
|
-
(e[5] ? "InvalidField" : "")) &&
|
|
4676
|
+
(e[5] ? "InvalidField" : "")) && l(P, "class", U), y[0] & /*$_*/
|
|
4655
4677
|
524288 && de !== (de = /*$_*/
|
|
4656
4678
|
e[19]("confirmPassword") + "") && D(we, de), y[0] & /*userConfirmPassword*/
|
|
4657
4679
|
65536 && Q.value !== /*userConfirmPassword*/
|
|
@@ -4660,14 +4682,14 @@ function Na(e) {
|
|
|
4660
4682
|
/*userConfirmPassword*/
|
|
4661
4683
|
e[16]
|
|
4662
4684
|
), xe === (xe = et(e)) && K ? K.p(e, y) : (K.d(1), K = xe(e), K && (K.c(), K.m(E, $e))), /*invalidConfirmPassword*/
|
|
4663
|
-
e[6] ? j ? j.p(e, y) : (j =
|
|
4685
|
+
e[6] ? j ? j.p(e, y) : (j = br(e), j.c(), j.m(E, null)) : j && (j.d(1), j = null), y[0] & /*invalidConfirmPassword*/
|
|
4664
4686
|
64 && ve !== (ve = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
|
|
4665
|
-
(e[6] ? "InvalidField" : "")) &&
|
|
4666
|
-
e[18] ? V ? V.p(e, y) : (V =
|
|
4687
|
+
(e[6] ? "InvalidField" : "")) && l(E, "class", ve), /*showErrorPasswordChanged*/
|
|
4688
|
+
e[18] ? V ? V.p(e, y) : (V = wr(e), V.c(), V.m(pe.parentNode, pe)) : V && (V.d(1), V = null), y[0] & /*$_*/
|
|
4667
4689
|
524288 && me !== (me = /*$_*/
|
|
4668
4690
|
e[19]("submitChangePassword") + "") && D(Ge, me), y[0] & /*activateSubmit*/
|
|
4669
4691
|
8 && ge !== (ge = "PlayerChangePasswordSaveButton " + /*activateSubmit*/
|
|
4670
|
-
(e[3] ? "" : "ButtonInactive")) &&
|
|
4692
|
+
(e[3] ? "" : "ButtonInactive")) && l(Y, "class", ge), y[0] & /*activateSubmit*/
|
|
4671
4693
|
8 && ye !== (ye = !/*activateSubmit*/
|
|
4672
4694
|
e[3]) && (Y.disabled = ye);
|
|
4673
4695
|
},
|
|
@@ -4676,16 +4698,16 @@ function Na(e) {
|
|
|
4676
4698
|
}
|
|
4677
4699
|
};
|
|
4678
4700
|
}
|
|
4679
|
-
function
|
|
4680
|
-
let t, r, n, s, a, i,
|
|
4701
|
+
function Fa(e) {
|
|
4702
|
+
let t, r, n, s, a, i, o = (
|
|
4681
4703
|
/*$_*/
|
|
4682
4704
|
e[19]("returnToMenu") + ""
|
|
4683
4705
|
), u, h, c;
|
|
4684
4706
|
return {
|
|
4685
4707
|
c() {
|
|
4686
|
-
t = _("div"), r = b("svg"), n = b("g"), s = b("path"), a = L(), i = _("span"), u = H(
|
|
4708
|
+
t = _("div"), r = b("svg"), n = b("g"), s = b("path"), a = L(), i = _("span"), u = H(o), l(s, "id", "Chevron_Right"), l(s, "d", `M57.633,129.007L165.93,237.268c4.752,4.74,12.451,4.74,17.215,0c4.752-4.74,4.752-12.439,0-17.179
|
|
4687
4709
|
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
|
|
4688
|
-
C52.942,116.507,52.942,124.327,57.633,129.007z`),
|
|
4710
|
+
C52.942,116.507,52.942,124.327,57.633,129.007z`), l(r, "version", "1.1"), l(r, "id", "Capa_1"), l(r, "xmlns", "http://www.w3.org/2000/svg"), l(r, "xmlns:xlink", "http://www.w3.org/1999/xlink"), l(r, "x", "0px"), l(r, "y", "0px"), l(r, "viewBox", "0 0 240.823 240.823"), dn(r, "enable-background", "new 0 0 240.823 240.823"), l(r, "xml:space", "preserve"), l(r, "width", "18px"), l(r, "fill", "var(--emw--color-gray-300, #58586B)"), l(t, "class", "MenuReturnButton");
|
|
4689
4711
|
},
|
|
4690
4712
|
m(d, p) {
|
|
4691
4713
|
I(d, t, p), f(t, r), f(r, n), f(n, s), f(t, a), f(t, i), f(i, u), h || (c = z(
|
|
@@ -4697,25 +4719,25 @@ function Oa(e) {
|
|
|
4697
4719
|
},
|
|
4698
4720
|
p(d, p) {
|
|
4699
4721
|
p[0] & /*$_*/
|
|
4700
|
-
524288 &&
|
|
4701
|
-
d[19]("returnToMenu") + "") && D(u,
|
|
4722
|
+
524288 && o !== (o = /*$_*/
|
|
4723
|
+
d[19]("returnToMenu") + "") && D(u, o);
|
|
4702
4724
|
},
|
|
4703
4725
|
d(d) {
|
|
4704
4726
|
d && A(t), h = !1, c();
|
|
4705
4727
|
}
|
|
4706
4728
|
};
|
|
4707
4729
|
}
|
|
4708
|
-
function
|
|
4709
|
-
let t, r, n, s, a, i,
|
|
4730
|
+
function ka(e) {
|
|
4731
|
+
let t, r, n, s, a, i, o, u, h, c, d = (
|
|
4710
4732
|
/*$_*/
|
|
4711
4733
|
e[19]("titleChangePassword") + ""
|
|
4712
4734
|
), p, g, v;
|
|
4713
4735
|
return {
|
|
4714
4736
|
c() {
|
|
4715
|
-
t = _("div"), r = b("svg"), n = b("defs"), s = b("style"), a = H(".aaa{fill:var(--emw--color-primary, #22B04E);;}"), i = b("g"),
|
|
4737
|
+
t = _("div"), r = b("svg"), n = b("defs"), s = b("style"), a = H(".aaa{fill:var(--emw--color-primary, #22B04E);;}"), i = b("g"), o = b("g"), u = b("path"), h = L(), c = _("h2"), p = H(d), l(u, "class", "aaa"), l(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), l(u, "transform", "translate(15 15) rotate(180)"), l(o, "transform", "translate(20 158)"), l(i, "transform", "translate(-20 -158)"), l(r, "xmlns", "http://www.w3.org/2000/svg"), l(r, "width", "15"), l(r, "height", "15"), l(r, "viewBox", "0 0 15 15"), l(c, "class", "ChangePasswordTitleMobile"), l(t, "class", "MenuReturnButton");
|
|
4716
4738
|
},
|
|
4717
4739
|
m(w, T) {
|
|
4718
|
-
I(w, t, T), f(t, r), f(r, n), f(n, s), f(s, a), f(r, i), f(i,
|
|
4740
|
+
I(w, t, T), f(t, r), f(r, n), f(n, s), f(s, a), f(r, i), f(i, o), f(o, u), f(t, h), f(t, c), f(c, p), g || (v = z(
|
|
4719
4741
|
t,
|
|
4720
4742
|
"click",
|
|
4721
4743
|
/*click_handler*/
|
|
@@ -4732,16 +4754,16 @@ function Ra(e) {
|
|
|
4732
4754
|
}
|
|
4733
4755
|
};
|
|
4734
4756
|
}
|
|
4735
|
-
function
|
|
4736
|
-
let t, r, n, s, a, i,
|
|
4757
|
+
function Da(e) {
|
|
4758
|
+
let t, r, n, s, a, i, o, u, h, c;
|
|
4737
4759
|
return {
|
|
4738
4760
|
c() {
|
|
4739
|
-
t = b("svg"), r = b("defs"), n = b("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = b("g"), i = b("path"),
|
|
4761
|
+
t = b("svg"), r = b("defs"), n = b("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = b("g"), i = b("path"), o = b("circle"), l(i, "class", "a"), l(i, "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"), l(i, "transform", "translate(0)"), l(o, "class", "a"), l(o, "cx", "2.779"), l(o, "cy", "2.779"), l(o, "r", "2.779"), l(o, "transform", "translate(20.827 30.303)"), l(a, "transform", "translate(-14.185 -27.832)"), l(t, "class", u = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4740
4762
|
(e[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4741
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4763
|
+
(e[20] ? "TogglePasswordVisibilityMobile" : "")), l(t, "xmlns", "http://www.w3.org/2000/svg"), l(t, "width", "18.843"), l(t, "height", "10.5"), l(t, "viewBox", "0 0 18.843 10.5");
|
|
4742
4764
|
},
|
|
4743
4765
|
m(d, p) {
|
|
4744
|
-
I(d, t, p), f(t, r), f(r, n), f(n, s), f(t, a), f(a, i), f(a,
|
|
4766
|
+
I(d, t, p), f(t, r), f(r, n), f(n, s), f(t, a), f(a, i), f(a, o), h || (c = z(
|
|
4745
4767
|
t,
|
|
4746
4768
|
"click",
|
|
4747
4769
|
/*click_handler_2*/
|
|
@@ -4752,23 +4774,23 @@ function La(e) {
|
|
|
4752
4774
|
p[0] & /*invalidCurrentPassword*/
|
|
4753
4775
|
16 && u !== (u = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4754
4776
|
(d[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4755
|
-
(d[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
4777
|
+
(d[20] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", u);
|
|
4756
4778
|
},
|
|
4757
4779
|
d(d) {
|
|
4758
4780
|
d && A(t), h = !1, c();
|
|
4759
4781
|
}
|
|
4760
4782
|
};
|
|
4761
4783
|
}
|
|
4762
|
-
function
|
|
4763
|
-
let t, r, n, s, a, i,
|
|
4784
|
+
function Ua(e) {
|
|
4785
|
+
let t, r, n, s, a, i, o, u, h, c, d, p, g, v, w, T;
|
|
4764
4786
|
return {
|
|
4765
4787
|
c() {
|
|
4766
|
-
t = b("svg"), r = b("defs"), n = b("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = b("g"), i = b("circle"),
|
|
4788
|
+
t = b("svg"), r = b("defs"), n = b("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = b("g"), i = b("circle"), o = b("g"), u = b("path"), h = b("path"), c = b("g"), d = b("path"), p = b("path"), g = b("rect"), l(i, "class", "a"), l(i, "cx", "0.05"), l(i, "cy", "0.05"), l(i, "r", "0.05"), l(i, "transform", "translate(121.017 31.148)"), l(u, "class", "a"), l(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), l(u, "transform", "translate(-142.164 -39.123)"), l(h, "class", "a"), l(h, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), l(h, "transform", "translate(-136.413 -42.068)"), l(o, "transform", "translate(117.499 27.37)"), l(d, "class", "a"), l(d, "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"), l(d, "transform", "translate(-110.856 -33.157)"), l(p, "class", "a"), l(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"), l(p, "transform", "translate(-130.743 -29.617)"), l(c, "transform", "translate(110.856 24.899)"), l(g, "class", "a"), l(g, "width", "0.972"), l(g, "height", "15.861"), l(g, "rx", "0.486"), l(g, "transform", "translate(114.827 23.858) rotate(-39.315)"), l(a, "transform", "translate(-110.856 -23.242)"), l(t, "class", v = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4767
4789
|
(e[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4768
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4790
|
+
(e[20] ? "TogglePasswordVisibilityMobile" : "")), l(t, "xmlns", "http://www.w3.org/2000/svg"), l(t, "width", "18.844"), l(t, "height", "12.887"), l(t, "viewBox", "0 0 18.844 12.887");
|
|
4769
4791
|
},
|
|
4770
4792
|
m(P, B) {
|
|
4771
|
-
I(P, t, B), f(t, r), f(r, n), f(n, s), f(t, a), f(a, i), f(a,
|
|
4793
|
+
I(P, t, B), f(t, r), f(r, n), f(n, s), f(t, a), f(a, i), f(a, o), f(o, u), f(o, h), f(a, c), f(c, d), f(c, p), f(a, g), w || (T = z(
|
|
4772
4794
|
t,
|
|
4773
4795
|
"click",
|
|
4774
4796
|
/*click_handler_1*/
|
|
@@ -4779,25 +4801,25 @@ function Fa(e) {
|
|
|
4779
4801
|
B[0] & /*invalidCurrentPassword*/
|
|
4780
4802
|
16 && v !== (v = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4781
4803
|
(P[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4782
|
-
(P[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
4804
|
+
(P[20] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", v);
|
|
4783
4805
|
},
|
|
4784
4806
|
d(P) {
|
|
4785
4807
|
P && A(t), w = !1, T();
|
|
4786
4808
|
}
|
|
4787
4809
|
};
|
|
4788
4810
|
}
|
|
4789
|
-
function
|
|
4811
|
+
function gr(e) {
|
|
4790
4812
|
let t;
|
|
4791
4813
|
function r(a, i) {
|
|
4792
4814
|
return (
|
|
4793
4815
|
/*simplepasswordvalidation*/
|
|
4794
|
-
a[0] == "true" ?
|
|
4816
|
+
a[0] == "true" ? Ga : $a
|
|
4795
4817
|
);
|
|
4796
4818
|
}
|
|
4797
4819
|
let n = r(e), s = n(e);
|
|
4798
4820
|
return {
|
|
4799
4821
|
c() {
|
|
4800
|
-
s.c(), t =
|
|
4822
|
+
s.c(), t = _r();
|
|
4801
4823
|
},
|
|
4802
4824
|
m(a, i) {
|
|
4803
4825
|
s.m(a, i), I(a, t, i);
|
|
@@ -4810,14 +4832,14 @@ function dr(e) {
|
|
|
4810
4832
|
}
|
|
4811
4833
|
};
|
|
4812
4834
|
}
|
|
4813
|
-
function
|
|
4835
|
+
function $a(e) {
|
|
4814
4836
|
let t, r = (
|
|
4815
4837
|
/*$_*/
|
|
4816
4838
|
e[19]("invalidPasswordRule") + ""
|
|
4817
4839
|
), n;
|
|
4818
4840
|
return {
|
|
4819
4841
|
c() {
|
|
4820
|
-
t = _("p"), n = H(r),
|
|
4842
|
+
t = _("p"), n = H(r), l(t, "class", "InvalidInput");
|
|
4821
4843
|
},
|
|
4822
4844
|
m(s, a) {
|
|
4823
4845
|
I(s, t, a), f(t, n);
|
|
@@ -4832,14 +4854,14 @@ function ka(e) {
|
|
|
4832
4854
|
}
|
|
4833
4855
|
};
|
|
4834
4856
|
}
|
|
4835
|
-
function
|
|
4857
|
+
function Ga(e) {
|
|
4836
4858
|
let t, r = (
|
|
4837
4859
|
/*$_*/
|
|
4838
4860
|
e[19]("simplePasswordError") + ""
|
|
4839
4861
|
), n;
|
|
4840
4862
|
return {
|
|
4841
4863
|
c() {
|
|
4842
|
-
t = _("p"), n = H(r),
|
|
4864
|
+
t = _("p"), n = H(r), l(t, "class", "InvalidInput");
|
|
4843
4865
|
},
|
|
4844
4866
|
m(s, a) {
|
|
4845
4867
|
I(s, t, a), f(t, n);
|
|
@@ -4854,16 +4876,16 @@ function Da(e) {
|
|
|
4854
4876
|
}
|
|
4855
4877
|
};
|
|
4856
4878
|
}
|
|
4857
|
-
function
|
|
4858
|
-
let t, r, n, s, a, i,
|
|
4879
|
+
function ja(e) {
|
|
4880
|
+
let t, r, n, s, a, i, o, u, h, c;
|
|
4859
4881
|
return {
|
|
4860
4882
|
c() {
|
|
4861
|
-
t = b("svg"), r = b("defs"), n = b("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = b("g"), i = b("path"),
|
|
4883
|
+
t = b("svg"), r = b("defs"), n = b("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = b("g"), i = b("path"), o = b("circle"), l(i, "class", "a"), l(i, "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"), l(i, "transform", "translate(0)"), l(o, "class", "a"), l(o, "cx", "2.779"), l(o, "cy", "2.779"), l(o, "r", "2.779"), l(o, "transform", "translate(20.827 30.303)"), l(a, "transform", "translate(-14.185 -27.832)"), l(t, "class", u = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4862
4884
|
(e[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4863
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4885
|
+
(e[20] ? "TogglePasswordVisibilityMobile" : "")), l(t, "xmlns", "http://www.w3.org/2000/svg"), l(t, "width", "18.843"), l(t, "height", "10.5"), l(t, "viewBox", "0 0 18.843 10.5");
|
|
4864
4886
|
},
|
|
4865
4887
|
m(d, p) {
|
|
4866
|
-
I(d, t, p), f(t, r), f(r, n), f(n, s), f(t, a), f(a, i), f(a,
|
|
4888
|
+
I(d, t, p), f(t, r), f(r, n), f(n, s), f(t, a), f(a, i), f(a, o), h || (c = z(
|
|
4867
4889
|
t,
|
|
4868
4890
|
"click",
|
|
4869
4891
|
/*click_handler_4*/
|
|
@@ -4874,23 +4896,23 @@ function Ua(e) {
|
|
|
4874
4896
|
p[0] & /*invalidNewPassword*/
|
|
4875
4897
|
32 && u !== (u = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4876
4898
|
(d[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4877
|
-
(d[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
4899
|
+
(d[20] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", u);
|
|
4878
4900
|
},
|
|
4879
4901
|
d(d) {
|
|
4880
4902
|
d && A(t), h = !1, c();
|
|
4881
4903
|
}
|
|
4882
4904
|
};
|
|
4883
4905
|
}
|
|
4884
|
-
function
|
|
4885
|
-
let t, r, n, s, a, i,
|
|
4906
|
+
function Va(e) {
|
|
4907
|
+
let t, r, n, s, a, i, o, u, h, c, d, p, g, v, w, T;
|
|
4886
4908
|
return {
|
|
4887
4909
|
c() {
|
|
4888
|
-
t = b("svg"), r = b("defs"), n = b("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = b("g"), i = b("circle"),
|
|
4910
|
+
t = b("svg"), r = b("defs"), n = b("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = b("g"), i = b("circle"), o = b("g"), u = b("path"), h = b("path"), c = b("g"), d = b("path"), p = b("path"), g = b("rect"), l(i, "class", "a"), l(i, "cx", "0.05"), l(i, "cy", "0.05"), l(i, "r", "0.05"), l(i, "transform", "translate(121.017 31.148)"), l(u, "class", "a"), l(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), l(u, "transform", "translate(-142.164 -39.123)"), l(h, "class", "a"), l(h, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), l(h, "transform", "translate(-136.413 -42.068)"), l(o, "transform", "translate(117.499 27.37)"), l(d, "class", "a"), l(d, "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"), l(d, "transform", "translate(-110.856 -33.157)"), l(p, "class", "a"), l(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"), l(p, "transform", "translate(-130.743 -29.617)"), l(c, "transform", "translate(110.856 24.899)"), l(g, "class", "a"), l(g, "width", "0.972"), l(g, "height", "15.861"), l(g, "rx", "0.486"), l(g, "transform", "translate(114.827 23.858) rotate(-39.315)"), l(a, "transform", "translate(-110.856 -23.242)"), l(t, "class", v = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4889
4911
|
(e[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4890
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4912
|
+
(e[20] ? "TogglePasswordVisibilityMobile" : "")), l(t, "xmlns", "http://www.w3.org/2000/svg"), l(t, "width", "18.844"), l(t, "height", "12.887"), l(t, "viewBox", "0 0 18.844 12.887");
|
|
4891
4913
|
},
|
|
4892
4914
|
m(P, B) {
|
|
4893
|
-
I(P, t, B), f(t, r), f(r, n), f(n, s), f(t, a), f(a, i), f(a,
|
|
4915
|
+
I(P, t, B), f(t, r), f(r, n), f(n, s), f(t, a), f(a, i), f(a, o), f(o, u), f(o, h), f(a, c), f(c, d), f(c, p), f(a, g), w || (T = z(
|
|
4894
4916
|
t,
|
|
4895
4917
|
"click",
|
|
4896
4918
|
/*click_handler_3*/
|
|
@@ -4901,25 +4923,25 @@ function $a(e) {
|
|
|
4901
4923
|
B[0] & /*invalidNewPassword*/
|
|
4902
4924
|
32 && v !== (v = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4903
4925
|
(P[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4904
|
-
(P[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
4926
|
+
(P[20] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", v);
|
|
4905
4927
|
},
|
|
4906
4928
|
d(P) {
|
|
4907
4929
|
P && A(t), w = !1, T();
|
|
4908
4930
|
}
|
|
4909
4931
|
};
|
|
4910
4932
|
}
|
|
4911
|
-
function
|
|
4933
|
+
function za(e) {
|
|
4912
4934
|
let t;
|
|
4913
4935
|
function r(a, i) {
|
|
4914
4936
|
return (
|
|
4915
4937
|
/*simplepasswordvalidation*/
|
|
4916
|
-
a[0] == "true" ?
|
|
4938
|
+
a[0] == "true" ? Za : Xa
|
|
4917
4939
|
);
|
|
4918
4940
|
}
|
|
4919
4941
|
let n = r(e), s = n(e);
|
|
4920
4942
|
return {
|
|
4921
4943
|
c() {
|
|
4922
|
-
s.c(), t =
|
|
4944
|
+
s.c(), t = _r();
|
|
4923
4945
|
},
|
|
4924
4946
|
m(a, i) {
|
|
4925
4947
|
s.m(a, i), I(a, t, i);
|
|
@@ -4932,14 +4954,14 @@ function Ga(e) {
|
|
|
4932
4954
|
}
|
|
4933
4955
|
};
|
|
4934
4956
|
}
|
|
4935
|
-
function
|
|
4957
|
+
function Wa(e) {
|
|
4936
4958
|
let t, r = (
|
|
4937
4959
|
/*$_*/
|
|
4938
4960
|
e[19]("invalidNewPassword") + ""
|
|
4939
4961
|
), n;
|
|
4940
4962
|
return {
|
|
4941
4963
|
c() {
|
|
4942
|
-
t = _("p"), n = H(r),
|
|
4964
|
+
t = _("p"), n = H(r), l(t, "class", "InvalidInputNew");
|
|
4943
4965
|
},
|
|
4944
4966
|
m(s, a) {
|
|
4945
4967
|
I(s, t, a), f(t, n);
|
|
@@ -4954,14 +4976,14 @@ function ja(e) {
|
|
|
4954
4976
|
}
|
|
4955
4977
|
};
|
|
4956
4978
|
}
|
|
4957
|
-
function
|
|
4979
|
+
function Xa(e) {
|
|
4958
4980
|
let t, r = (
|
|
4959
4981
|
/*$_*/
|
|
4960
4982
|
e[19]("invalidPasswordRule") + ""
|
|
4961
4983
|
), n;
|
|
4962
4984
|
return {
|
|
4963
4985
|
c() {
|
|
4964
|
-
t = _("p"), n = H(r),
|
|
4986
|
+
t = _("p"), n = H(r), l(t, "class", "InvalidInput");
|
|
4965
4987
|
},
|
|
4966
4988
|
m(s, a) {
|
|
4967
4989
|
I(s, t, a), f(t, n);
|
|
@@ -4976,14 +4998,14 @@ function Va(e) {
|
|
|
4976
4998
|
}
|
|
4977
4999
|
};
|
|
4978
5000
|
}
|
|
4979
|
-
function
|
|
5001
|
+
function Za(e) {
|
|
4980
5002
|
let t, r = (
|
|
4981
5003
|
/*$_*/
|
|
4982
5004
|
e[19]("simplePasswordError") + ""
|
|
4983
5005
|
), n;
|
|
4984
5006
|
return {
|
|
4985
5007
|
c() {
|
|
4986
|
-
t = _("p"), n = H(r),
|
|
5008
|
+
t = _("p"), n = H(r), l(t, "class", "InvalidInput");
|
|
4987
5009
|
},
|
|
4988
5010
|
m(s, a) {
|
|
4989
5011
|
I(s, t, a), f(t, n);
|
|
@@ -4998,16 +5020,16 @@ function za(e) {
|
|
|
4998
5020
|
}
|
|
4999
5021
|
};
|
|
5000
5022
|
}
|
|
5001
|
-
function
|
|
5002
|
-
let t, r, n, s, a, i,
|
|
5023
|
+
function Qa(e) {
|
|
5024
|
+
let t, r, n, s, a, i, o, u, h, c;
|
|
5003
5025
|
return {
|
|
5004
5026
|
c() {
|
|
5005
|
-
t = b("svg"), r = b("defs"), n = b("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = b("g"), i = b("path"),
|
|
5027
|
+
t = b("svg"), r = b("defs"), n = b("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = b("g"), i = b("path"), o = b("circle"), l(i, "class", "a"), l(i, "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"), l(i, "transform", "translate(0)"), l(o, "class", "a"), l(o, "cx", "2.779"), l(o, "cy", "2.779"), l(o, "r", "2.779"), l(o, "transform", "translate(20.827 30.303)"), l(a, "transform", "translate(-14.185 -27.832)"), l(t, "class", u = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5006
5028
|
(e[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5007
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
5029
|
+
(e[20] ? "TogglePasswordVisibilityMobile" : "")), l(t, "xmlns", "http://www.w3.org/2000/svg"), l(t, "width", "18.843"), l(t, "height", "10.5"), l(t, "viewBox", "0 0 18.843 10.5");
|
|
5008
5030
|
},
|
|
5009
5031
|
m(d, p) {
|
|
5010
|
-
I(d, t, p), f(t, r), f(r, n), f(n, s), f(t, a), f(a, i), f(a,
|
|
5032
|
+
I(d, t, p), f(t, r), f(r, n), f(n, s), f(t, a), f(a, i), f(a, o), h || (c = z(
|
|
5011
5033
|
t,
|
|
5012
5034
|
"click",
|
|
5013
5035
|
/*click_handler_6*/
|
|
@@ -5018,23 +5040,23 @@ function Wa(e) {
|
|
|
5018
5040
|
p[0] & /*invalidConfirmPassword*/
|
|
5019
5041
|
64 && u !== (u = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5020
5042
|
(d[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5021
|
-
(d[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
5043
|
+
(d[20] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", u);
|
|
5022
5044
|
},
|
|
5023
5045
|
d(d) {
|
|
5024
5046
|
d && A(t), h = !1, c();
|
|
5025
5047
|
}
|
|
5026
5048
|
};
|
|
5027
5049
|
}
|
|
5028
|
-
function
|
|
5029
|
-
let t, r, n, s, a, i,
|
|
5050
|
+
function Ya(e) {
|
|
5051
|
+
let t, r, n, s, a, i, o, u, h, c, d, p, g, v, w, T;
|
|
5030
5052
|
return {
|
|
5031
5053
|
c() {
|
|
5032
|
-
t = b("svg"), r = b("defs"), n = b("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = b("g"), i = b("circle"),
|
|
5054
|
+
t = b("svg"), r = b("defs"), n = b("style"), s = H(".a{fill:var(--emw--color-white, #FFFFFF);}"), a = b("g"), i = b("circle"), o = b("g"), u = b("path"), h = b("path"), c = b("g"), d = b("path"), p = b("path"), g = b("rect"), l(i, "class", "a"), l(i, "cx", "0.05"), l(i, "cy", "0.05"), l(i, "r", "0.05"), l(i, "transform", "translate(121.017 31.148)"), l(u, "class", "a"), l(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), l(u, "transform", "translate(-142.164 -39.123)"), l(h, "class", "a"), l(h, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), l(h, "transform", "translate(-136.413 -42.068)"), l(o, "transform", "translate(117.499 27.37)"), l(d, "class", "a"), l(d, "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"), l(d, "transform", "translate(-110.856 -33.157)"), l(p, "class", "a"), l(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"), l(p, "transform", "translate(-130.743 -29.617)"), l(c, "transform", "translate(110.856 24.899)"), l(g, "class", "a"), l(g, "width", "0.972"), l(g, "height", "15.861"), l(g, "rx", "0.486"), l(g, "transform", "translate(114.827 23.858) rotate(-39.315)"), l(a, "transform", "translate(-110.856 -23.242)"), l(t, "class", v = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5033
5055
|
(e[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5034
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
5056
|
+
(e[20] ? "TogglePasswordVisibilityMobile" : "")), l(t, "xmlns", "http://www.w3.org/2000/svg"), l(t, "width", "18.844"), l(t, "height", "12.887"), l(t, "viewBox", "0 0 18.844 12.887");
|
|
5035
5057
|
},
|
|
5036
5058
|
m(P, B) {
|
|
5037
|
-
I(P, t, B), f(t, r), f(r, n), f(n, s), f(t, a), f(a, i), f(a,
|
|
5059
|
+
I(P, t, B), f(t, r), f(r, n), f(n, s), f(t, a), f(a, i), f(a, o), f(o, u), f(o, h), f(a, c), f(c, d), f(c, p), f(a, g), w || (T = z(
|
|
5038
5060
|
t,
|
|
5039
5061
|
"click",
|
|
5040
5062
|
/*click_handler_5*/
|
|
@@ -5045,21 +5067,21 @@ function Xa(e) {
|
|
|
5045
5067
|
B[0] & /*invalidConfirmPassword*/
|
|
5046
5068
|
64 && v !== (v = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5047
5069
|
(P[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5048
|
-
(P[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
5070
|
+
(P[20] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", v);
|
|
5049
5071
|
},
|
|
5050
5072
|
d(P) {
|
|
5051
5073
|
P && A(t), w = !1, T();
|
|
5052
5074
|
}
|
|
5053
5075
|
};
|
|
5054
5076
|
}
|
|
5055
|
-
function
|
|
5077
|
+
function br(e) {
|
|
5056
5078
|
let t, r = (
|
|
5057
5079
|
/*$_*/
|
|
5058
5080
|
e[19]("confirmPasswordInvalid") + ""
|
|
5059
5081
|
), n;
|
|
5060
5082
|
return {
|
|
5061
5083
|
c() {
|
|
5062
|
-
t = _("p"), n = H(r),
|
|
5084
|
+
t = _("p"), n = H(r), l(t, "class", "InvalidInput");
|
|
5063
5085
|
},
|
|
5064
5086
|
m(s, a) {
|
|
5065
5087
|
I(s, t, a), f(t, n);
|
|
@@ -5074,14 +5096,14 @@ function pr(e) {
|
|
|
5074
5096
|
}
|
|
5075
5097
|
};
|
|
5076
5098
|
}
|
|
5077
|
-
function
|
|
5099
|
+
function wr(e) {
|
|
5078
5100
|
let t, r, n;
|
|
5079
5101
|
return {
|
|
5080
5102
|
c() {
|
|
5081
5103
|
t = _("div"), r = _("p"), n = H(
|
|
5082
5104
|
/*errorPasswordChanged*/
|
|
5083
5105
|
e[17]
|
|
5084
|
-
),
|
|
5106
|
+
), l(r, "class", "PasswordChangedError");
|
|
5085
5107
|
},
|
|
5086
5108
|
m(s, a) {
|
|
5087
5109
|
I(s, t, a), f(t, r), f(r, n);
|
|
@@ -5099,10 +5121,10 @@ function mr(e) {
|
|
|
5099
5121
|
}
|
|
5100
5122
|
};
|
|
5101
5123
|
}
|
|
5102
|
-
function
|
|
5124
|
+
function Ja(e) {
|
|
5103
5125
|
let t;
|
|
5104
5126
|
function r(a, i) {
|
|
5105
|
-
return
|
|
5127
|
+
return Ra;
|
|
5106
5128
|
}
|
|
5107
5129
|
let s = r()(e);
|
|
5108
5130
|
return {
|
|
@@ -5122,30 +5144,30 @@ function Za(e) {
|
|
|
5122
5144
|
}
|
|
5123
5145
|
};
|
|
5124
5146
|
}
|
|
5125
|
-
function
|
|
5147
|
+
function qa(e, t, r) {
|
|
5126
5148
|
let n;
|
|
5127
|
-
|
|
5128
|
-
let { lang: s = "en" } = t, { simplepasswordvalidation: a = "false" } = t, { clientstyling: i = "" } = t, { clientstylingurl:
|
|
5149
|
+
ln(e, Ia, (m) => r(19, n = m));
|
|
5150
|
+
let { lang: s = "en" } = t, { simplepasswordvalidation: a = "false" } = t, { clientstyling: i = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: u = "" } = t, { passwordregex: h = "" } = t, c, d = window.navigator.userAgent, p = Ha(d) !== "PC", g = !1;
|
|
5129
5151
|
const v = window.matchMedia("(min-width: 768px)"), w = {
|
|
5130
5152
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
|
|
5131
5153
|
};
|
|
5132
|
-
let T = !1, P = !1, B = !1,
|
|
5154
|
+
let T = !1, P = !1, B = !1, R, F, k, N = !1, X = !1, te = !1, U = !1, M = "", E = "", Z = "", de = !1, we = "", Ue = !1;
|
|
5133
5155
|
const Q = () => {
|
|
5134
5156
|
fetch(u).then((y) => y.json()).then((y) => {
|
|
5135
5157
|
Object.keys(y).forEach((ae) => {
|
|
5136
|
-
|
|
5158
|
+
pr(ae, y[ae]);
|
|
5137
5159
|
});
|
|
5138
5160
|
}).catch((y) => {
|
|
5139
5161
|
console.log(y);
|
|
5140
5162
|
});
|
|
5141
5163
|
};
|
|
5142
|
-
Object.keys(
|
|
5143
|
-
|
|
5164
|
+
Object.keys(mr).forEach((m) => {
|
|
5165
|
+
pr(m, mr[m]);
|
|
5144
5166
|
});
|
|
5145
5167
|
const ne = (m) => {
|
|
5146
5168
|
switch (m) {
|
|
5147
5169
|
case "userCurrentPassword":
|
|
5148
|
-
r(10, N = !N), r(7,
|
|
5170
|
+
r(10, N = !N), r(7, R.type = N ? "text" : "password", R);
|
|
5149
5171
|
break;
|
|
5150
5172
|
case "userNewPassword":
|
|
5151
5173
|
r(11, X = !X), r(8, F.type = X ? "text" : "password", F);
|
|
@@ -5180,7 +5202,7 @@ function Qa(e, t, r) {
|
|
|
5180
5202
|
}, me = () => {
|
|
5181
5203
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
5182
5204
|
}, Ge = () => {
|
|
5183
|
-
|
|
5205
|
+
Ma(s);
|
|
5184
5206
|
}, ge = (m) => {
|
|
5185
5207
|
if (m.data)
|
|
5186
5208
|
switch (m.data.type) {
|
|
@@ -5195,7 +5217,7 @@ function Qa(e, t, r) {
|
|
|
5195
5217
|
let m = document.createElement("style");
|
|
5196
5218
|
m.innerHTML = i, c.appendChild(m);
|
|
5197
5219
|
}, je = () => {
|
|
5198
|
-
let m = new URL(
|
|
5220
|
+
let m = new URL(o), y = document.createElement("style");
|
|
5199
5221
|
fetch(m.href).then((ae) => ae.text()).then((ae) => {
|
|
5200
5222
|
y.innerHTML = ae, setTimeout(
|
|
5201
5223
|
() => {
|
|
@@ -5205,7 +5227,7 @@ function Qa(e, t, r) {
|
|
|
5205
5227
|
);
|
|
5206
5228
|
});
|
|
5207
5229
|
};
|
|
5208
|
-
|
|
5230
|
+
gn(() => (window.addEventListener("message", ge, !1), () => {
|
|
5209
5231
|
window.removeEventListener("message", ge);
|
|
5210
5232
|
}));
|
|
5211
5233
|
const Ye = () => Y();
|
|
@@ -5214,7 +5236,7 @@ function Qa(e, t, r) {
|
|
|
5214
5236
|
}
|
|
5215
5237
|
function Je(m) {
|
|
5216
5238
|
Se[m ? "unshift" : "push"](() => {
|
|
5217
|
-
|
|
5239
|
+
R = m, r(7, R);
|
|
5218
5240
|
});
|
|
5219
5241
|
}
|
|
5220
5242
|
const Pe = () => ne("userCurrentPassword"), J = () => ne("userCurrentPassword");
|
|
@@ -5242,14 +5264,14 @@ function Qa(e, t, r) {
|
|
|
5242
5264
|
});
|
|
5243
5265
|
}
|
|
5244
5266
|
return e.$$set = (m) => {
|
|
5245
|
-
"lang" in m && r(27, s = m.lang), "simplepasswordvalidation" in m && r(0, a = m.simplepasswordvalidation), "clientstyling" in m && r(28, i = m.clientstyling), "clientstylingurl" in m && r(29,
|
|
5267
|
+
"lang" in m && r(27, s = m.lang), "simplepasswordvalidation" in m && r(0, a = m.simplepasswordvalidation), "clientstyling" in m && r(28, i = m.clientstyling), "clientstylingurl" in m && r(29, o = m.clientstylingurl), "translationurl" in m && r(30, u = m.translationurl), "passwordregex" in m && r(31, h = m.passwordregex);
|
|
5246
5268
|
}, e.$$.update = () => {
|
|
5247
5269
|
e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
5248
5270
|
1 && a && $e(), e.$$.dirty[1] & /*passwordregex*/
|
|
5249
5271
|
1 && h && (w.password = new RegExp(h)), e.$$.dirty[0] & /*lang*/
|
|
5250
5272
|
134217728 && s && Ge(), e.$$.dirty[0] & /*passwordChanged*/
|
|
5251
5273
|
4, e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5252
|
-
536870914 &&
|
|
5274
|
+
536870914 && o && c && je(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5253
5275
|
268435458 && i && c && ye(), e.$$.dirty[0] & /*translationurl*/
|
|
5254
5276
|
1073741824 && u && Q();
|
|
5255
5277
|
}, [
|
|
@@ -5260,7 +5282,7 @@ function Qa(e, t, r) {
|
|
|
5260
5282
|
T,
|
|
5261
5283
|
P,
|
|
5262
5284
|
B,
|
|
5263
|
-
|
|
5285
|
+
R,
|
|
5264
5286
|
F,
|
|
5265
5287
|
k,
|
|
5266
5288
|
N,
|
|
@@ -5282,7 +5304,7 @@ function Qa(e, t, r) {
|
|
|
5282
5304
|
me,
|
|
5283
5305
|
s,
|
|
5284
5306
|
i,
|
|
5285
|
-
|
|
5307
|
+
o,
|
|
5286
5308
|
u,
|
|
5287
5309
|
h,
|
|
5288
5310
|
Ye,
|
|
@@ -5304,14 +5326,14 @@ function Qa(e, t, r) {
|
|
|
5304
5326
|
V
|
|
5305
5327
|
];
|
|
5306
5328
|
}
|
|
5307
|
-
class
|
|
5329
|
+
class Ka extends Sn {
|
|
5308
5330
|
constructor(t) {
|
|
5309
|
-
super(),
|
|
5331
|
+
super(), Tn(
|
|
5310
5332
|
this,
|
|
5311
5333
|
t,
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5334
|
+
qa,
|
|
5335
|
+
Ja,
|
|
5336
|
+
yr,
|
|
5315
5337
|
{
|
|
5316
5338
|
lang: 27,
|
|
5317
5339
|
simplepasswordvalidation: 0,
|
|
@@ -5320,7 +5342,7 @@ class Ya extends En {
|
|
|
5320
5342
|
translationurl: 30,
|
|
5321
5343
|
passwordregex: 31
|
|
5322
5344
|
},
|
|
5323
|
-
|
|
5345
|
+
Na,
|
|
5324
5346
|
[-1, -1]
|
|
5325
5347
|
);
|
|
5326
5348
|
}
|
|
@@ -5361,7 +5383,7 @@ class Ya extends En {
|
|
|
5361
5383
|
this.$$set({ passwordregex: t }), ce();
|
|
5362
5384
|
}
|
|
5363
5385
|
}
|
|
5364
|
-
|
|
5386
|
+
Bn(Ka, { lang: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, passwordregex: {} }, [], [], !0);
|
|
5365
5387
|
export {
|
|
5366
|
-
|
|
5388
|
+
Ka as default
|
|
5367
5389
|
};
|