@everymatrix/player-change-password-nd 1.87.26 → 1.87.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerChangePasswordNd-DsvT2Xhl.js → PlayerChangePasswordNd-B3OCzesC.js} +1054 -1027
- package/components/{PlayerChangePasswordNd-Dqowaxn8.js → PlayerChangePasswordNd-BVVMUmAq.js} +972 -944
- package/components/PlayerChangePasswordNd-C30lR2Um.cjs +18 -0
- package/es2015/player-change-password-nd.cjs +1 -1
- package/es2015/player-change-password-nd.js +1 -1
- package/esnext/player-change-password-nd.js +1 -1
- package/package.json +1 -1
- package/components/PlayerChangePasswordNd-CZUshIo5.cjs +0 -18
package/components/{PlayerChangePasswordNd-DsvT2Xhl.js → PlayerChangePasswordNd-B3OCzesC.js}
RENAMED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
function
|
|
1
|
+
function ne() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function mr(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Gt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
9
|
+
function Oe(e) {
|
|
10
|
+
e.forEach(mr);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Be(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function gr(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function Qr(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function br(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const n of t)
|
|
24
24
|
n(void 0);
|
|
25
|
-
return
|
|
25
|
+
return ne;
|
|
26
26
|
}
|
|
27
27
|
const r = e.subscribe(...t);
|
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
e.$$.on_destroy.push(
|
|
30
|
+
function Jr(e, t, r) {
|
|
31
|
+
e.$$.on_destroy.push(br(t, r));
|
|
32
32
|
}
|
|
33
33
|
function f(e, t) {
|
|
34
34
|
e.appendChild(t);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const n =
|
|
36
|
+
function qr(e, t, r) {
|
|
37
|
+
const n = Kr(e);
|
|
38
38
|
if (!n.getElementById(t)) {
|
|
39
39
|
const s = P("style");
|
|
40
|
-
s.id = t, s.textContent = r,
|
|
40
|
+
s.id = t, s.textContent = r, en(n, s);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function Kr(e) {
|
|
44
44
|
if (!e)
|
|
45
45
|
return document;
|
|
46
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -50,14 +50,14 @@ function qr(e) {
|
|
|
50
50
|
t
|
|
51
51
|
) : e.ownerDocument;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function en(e, t) {
|
|
54
54
|
return f(
|
|
55
55
|
/** @type {Document} */
|
|
56
56
|
e.head || e,
|
|
57
57
|
t
|
|
58
58
|
), t.sheet;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function H(e, t, r) {
|
|
61
61
|
e.insertBefore(t, r || null);
|
|
62
62
|
}
|
|
63
63
|
function B(e) {
|
|
@@ -72,29 +72,29 @@ function g(e) {
|
|
|
72
72
|
function I(e) {
|
|
73
73
|
return document.createTextNode(e);
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function F() {
|
|
76
76
|
return I(" ");
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function wr() {
|
|
79
79
|
return I("");
|
|
80
80
|
}
|
|
81
81
|
function z(e, t, r, n) {
|
|
82
82
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function l(e, t, r) {
|
|
85
85
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function tn(e) {
|
|
88
88
|
return Array.from(e.childNodes);
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function U(e, t) {
|
|
91
91
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
92
92
|
t);
|
|
93
93
|
}
|
|
94
94
|
function Pe(e, t) {
|
|
95
95
|
e.value = t ?? "";
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function rn(e) {
|
|
98
98
|
const t = {};
|
|
99
99
|
return e.childNodes.forEach(
|
|
100
100
|
/** @param {Element} node */
|
|
@@ -107,27 +107,27 @@ let je;
|
|
|
107
107
|
function Ge(e) {
|
|
108
108
|
je = e;
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function nn() {
|
|
111
111
|
if (!je)
|
|
112
112
|
throw new Error("Function called outside component initialization");
|
|
113
113
|
return je;
|
|
114
114
|
}
|
|
115
|
-
function
|
|
116
|
-
|
|
115
|
+
function sn(e) {
|
|
116
|
+
nn().$$.on_mount.push(e);
|
|
117
117
|
}
|
|
118
|
-
const Te = [],
|
|
119
|
-
let
|
|
120
|
-
const
|
|
121
|
-
let
|
|
122
|
-
function
|
|
123
|
-
|
|
118
|
+
const Te = [], Se = [];
|
|
119
|
+
let Ae = [];
|
|
120
|
+
const jt = [], an = /* @__PURE__ */ Promise.resolve();
|
|
121
|
+
let Et = !1;
|
|
122
|
+
function on() {
|
|
123
|
+
Et || (Et = !0, an.then(oe));
|
|
124
124
|
}
|
|
125
|
-
function
|
|
126
|
-
|
|
125
|
+
function xt(e) {
|
|
126
|
+
Ae.push(e);
|
|
127
127
|
}
|
|
128
|
-
const
|
|
128
|
+
const mt = /* @__PURE__ */ new Set();
|
|
129
129
|
let Ee = 0;
|
|
130
|
-
function
|
|
130
|
+
function oe() {
|
|
131
131
|
if (Ee !== 0)
|
|
132
132
|
return;
|
|
133
133
|
const e = je;
|
|
@@ -135,53 +135,53 @@ function ie() {
|
|
|
135
135
|
try {
|
|
136
136
|
for (; Ee < Te.length; ) {
|
|
137
137
|
const t = Te[Ee];
|
|
138
|
-
Ee++, Ge(t),
|
|
138
|
+
Ee++, Ge(t), ln(t.$$);
|
|
139
139
|
}
|
|
140
140
|
} catch (t) {
|
|
141
141
|
throw Te.length = 0, Ee = 0, t;
|
|
142
142
|
}
|
|
143
|
-
for (Ge(null), Te.length = 0, Ee = 0;
|
|
144
|
-
|
|
145
|
-
for (let t = 0; t <
|
|
146
|
-
const r =
|
|
147
|
-
|
|
143
|
+
for (Ge(null), Te.length = 0, Ee = 0; Se.length; )
|
|
144
|
+
Se.pop()();
|
|
145
|
+
for (let t = 0; t < Ae.length; t += 1) {
|
|
146
|
+
const r = Ae[t];
|
|
147
|
+
mt.has(r) || (mt.add(r), r());
|
|
148
148
|
}
|
|
149
|
-
|
|
149
|
+
Ae.length = 0;
|
|
150
150
|
} while (Te.length);
|
|
151
|
-
for (;
|
|
152
|
-
|
|
153
|
-
|
|
151
|
+
for (; jt.length; )
|
|
152
|
+
jt.pop()();
|
|
153
|
+
Et = !1, mt.clear(), Ge(e);
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function ln(e) {
|
|
156
156
|
if (e.fragment !== null) {
|
|
157
|
-
e.update(),
|
|
157
|
+
e.update(), Oe(e.before_update);
|
|
158
158
|
const t = e.dirty;
|
|
159
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
159
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(xt);
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function un(e) {
|
|
163
163
|
const t = [], r = [];
|
|
164
|
-
|
|
164
|
+
Ae.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Ae = t;
|
|
165
165
|
}
|
|
166
|
-
const
|
|
167
|
-
function
|
|
168
|
-
e && e.i && (
|
|
166
|
+
const hn = /* @__PURE__ */ new Set();
|
|
167
|
+
function cn(e, t) {
|
|
168
|
+
e && e.i && (hn.delete(e), e.i(t));
|
|
169
169
|
}
|
|
170
|
-
function
|
|
170
|
+
function fn(e, t, r) {
|
|
171
171
|
const { fragment: n, after_update: s } = e.$$;
|
|
172
|
-
n && n.m(t, r),
|
|
173
|
-
const i = e.$$.on_mount.map(
|
|
174
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...i) :
|
|
175
|
-
}), s.forEach(
|
|
172
|
+
n && n.m(t, r), xt(() => {
|
|
173
|
+
const i = e.$$.on_mount.map(mr).filter(Be);
|
|
174
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...i) : Oe(i), e.$$.on_mount = [];
|
|
175
|
+
}), s.forEach(xt);
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function dn(e, t) {
|
|
178
178
|
const r = e.$$;
|
|
179
|
-
r.fragment !== null && (
|
|
179
|
+
r.fragment !== null && (un(r.after_update), Oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
180
180
|
}
|
|
181
|
-
function
|
|
182
|
-
e.$$.dirty[0] === -1 && (Te.push(e),
|
|
181
|
+
function pn(e, t) {
|
|
182
|
+
e.$$.dirty[0] === -1 && (Te.push(e), on(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function mn(e, t, r, n, s, i, a = null, o = [-1]) {
|
|
185
185
|
const u = je;
|
|
186
186
|
Ge(e);
|
|
187
187
|
const h = e.$$ = {
|
|
@@ -189,9 +189,9 @@ function pn(e, t, r, n, s, i, a = null, l = [-1]) {
|
|
|
189
189
|
ctx: [],
|
|
190
190
|
// state
|
|
191
191
|
props: i,
|
|
192
|
-
update:
|
|
192
|
+
update: ne,
|
|
193
193
|
not_equal: s,
|
|
194
|
-
bound:
|
|
194
|
+
bound: Gt(),
|
|
195
195
|
// lifecycle
|
|
196
196
|
on_mount: [],
|
|
197
197
|
on_destroy: [],
|
|
@@ -200,8 +200,8 @@ function pn(e, t, r, n, s, i, a = null, l = [-1]) {
|
|
|
200
200
|
after_update: [],
|
|
201
201
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
202
202
|
// everything else
|
|
203
|
-
callbacks:
|
|
204
|
-
dirty:
|
|
203
|
+
callbacks: Gt(),
|
|
204
|
+
dirty: o,
|
|
205
205
|
skip_bound: !1,
|
|
206
206
|
root: t.target || u.$$.root
|
|
207
207
|
};
|
|
@@ -209,19 +209,19 @@ function pn(e, t, r, n, s, i, a = null, l = [-1]) {
|
|
|
209
209
|
let c = !1;
|
|
210
210
|
if (h.ctx = r ? r(e, t.props || {}, (d, p, ...m) => {
|
|
211
211
|
const v = m.length ? m[0] : p;
|
|
212
|
-
return h.ctx && s(h.ctx[d], h.ctx[d] = v) && (!h.skip_bound && h.bound[d] && h.bound[d](v), c &&
|
|
213
|
-
}) : [], h.update(), c = !0,
|
|
212
|
+
return h.ctx && s(h.ctx[d], h.ctx[d] = v) && (!h.skip_bound && h.bound[d] && h.bound[d](v), c && pn(e, d)), p;
|
|
213
|
+
}) : [], h.update(), c = !0, Oe(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
|
|
214
214
|
if (t.hydrate) {
|
|
215
|
-
const d =
|
|
215
|
+
const d = tn(t.target);
|
|
216
216
|
h.fragment && h.fragment.l(d), d.forEach(B);
|
|
217
217
|
} else
|
|
218
218
|
h.fragment && h.fragment.c();
|
|
219
|
-
t.intro &&
|
|
219
|
+
t.intro && cn(e.$$.fragment), fn(e, t.target, t.anchor), oe();
|
|
220
220
|
}
|
|
221
221
|
Ge(u);
|
|
222
222
|
}
|
|
223
|
-
let
|
|
224
|
-
typeof HTMLElement == "function" && (
|
|
223
|
+
let vr;
|
|
224
|
+
typeof HTMLElement == "function" && (vr = class extends HTMLElement {
|
|
225
225
|
/** The Svelte component constructor */
|
|
226
226
|
$$ctor;
|
|
227
227
|
/** Slots */
|
|
@@ -263,14 +263,14 @@ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
|
|
|
263
263
|
let i;
|
|
264
264
|
return {
|
|
265
265
|
c: function() {
|
|
266
|
-
i = P("slot"), s !== "default" &&
|
|
266
|
+
i = P("slot"), s !== "default" && l(i, "name", s);
|
|
267
267
|
},
|
|
268
268
|
/**
|
|
269
269
|
* @param {HTMLElement} target
|
|
270
270
|
* @param {HTMLElement} [anchor]
|
|
271
271
|
*/
|
|
272
272
|
m: function(u, h) {
|
|
273
|
-
|
|
273
|
+
H(u, i, h);
|
|
274
274
|
},
|
|
275
275
|
d: function(u) {
|
|
276
276
|
u && B(i);
|
|
@@ -280,12 +280,12 @@ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
|
|
|
280
280
|
};
|
|
281
281
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
282
282
|
return;
|
|
283
|
-
const t = {}, r =
|
|
283
|
+
const t = {}, r = rn(this);
|
|
284
284
|
for (const s of this.$$s)
|
|
285
285
|
s in r && (t[s] = [e(s)]);
|
|
286
286
|
for (const s of this.attributes) {
|
|
287
287
|
const i = this.$$g_p(s.name);
|
|
288
|
-
i in this.$$d || (this.$$d[i] =
|
|
288
|
+
i in this.$$d || (this.$$d[i] = rt(i, s.value, this.$$p_d, "toProp"));
|
|
289
289
|
}
|
|
290
290
|
for (const s in this.$$p_d)
|
|
291
291
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
@@ -303,7 +303,7 @@ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
|
|
|
303
303
|
this.$$r = !0;
|
|
304
304
|
for (const s in this.$$p_d)
|
|
305
305
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
306
|
-
const i =
|
|
306
|
+
const i = rt(
|
|
307
307
|
s,
|
|
308
308
|
this.$$d[s],
|
|
309
309
|
this.$$p_d,
|
|
@@ -325,7 +325,7 @@ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
|
|
|
325
325
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
326
326
|
// and setting attributes through setAttribute etc, this is helpful
|
|
327
327
|
attributeChangedCallback(e, t, r) {
|
|
328
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
328
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = rt(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
329
329
|
}
|
|
330
330
|
disconnectedCallback() {
|
|
331
331
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -338,7 +338,7 @@ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
|
|
|
338
338
|
) || e;
|
|
339
339
|
}
|
|
340
340
|
});
|
|
341
|
-
function
|
|
341
|
+
function rt(e, t, r, n) {
|
|
342
342
|
const s = r[e]?.type;
|
|
343
343
|
if (t = s === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
344
344
|
return t;
|
|
@@ -367,36 +367,36 @@ function tt(e, t, r, n) {
|
|
|
367
367
|
return t;
|
|
368
368
|
}
|
|
369
369
|
}
|
|
370
|
-
function
|
|
371
|
-
let a = class extends
|
|
370
|
+
function gn(e, t, r, n, s, i) {
|
|
371
|
+
let a = class extends vr {
|
|
372
372
|
constructor() {
|
|
373
373
|
super(e, r, s), this.$$p_d = t;
|
|
374
374
|
}
|
|
375
375
|
static get observedAttributes() {
|
|
376
376
|
return Object.keys(t).map(
|
|
377
|
-
(
|
|
377
|
+
(o) => (t[o].attribute || o).toLowerCase()
|
|
378
378
|
);
|
|
379
379
|
}
|
|
380
380
|
};
|
|
381
|
-
return Object.keys(t).forEach((
|
|
382
|
-
Object.defineProperty(a.prototype,
|
|
381
|
+
return Object.keys(t).forEach((o) => {
|
|
382
|
+
Object.defineProperty(a.prototype, o, {
|
|
383
383
|
get() {
|
|
384
|
-
return this.$$c &&
|
|
384
|
+
return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
|
|
385
385
|
},
|
|
386
386
|
set(u) {
|
|
387
|
-
u =
|
|
387
|
+
u = rt(o, u, t), this.$$d[o] = u, this.$$c?.$set({ [o]: u });
|
|
388
388
|
}
|
|
389
389
|
});
|
|
390
|
-
}), n.forEach((
|
|
391
|
-
Object.defineProperty(a.prototype,
|
|
390
|
+
}), n.forEach((o) => {
|
|
391
|
+
Object.defineProperty(a.prototype, o, {
|
|
392
392
|
get() {
|
|
393
|
-
return this.$$c?.[
|
|
393
|
+
return this.$$c?.[o];
|
|
394
394
|
}
|
|
395
395
|
});
|
|
396
396
|
}), e.element = /** @type {any} */
|
|
397
397
|
a, a;
|
|
398
398
|
}
|
|
399
|
-
class
|
|
399
|
+
class bn {
|
|
400
400
|
/**
|
|
401
401
|
* ### PRIVATE API
|
|
402
402
|
*
|
|
@@ -415,7 +415,7 @@ class gn {
|
|
|
415
415
|
$$set = void 0;
|
|
416
416
|
/** @returns {void} */
|
|
417
417
|
$destroy() {
|
|
418
|
-
|
|
418
|
+
dn(this, 1), this.$destroy = ne;
|
|
419
419
|
}
|
|
420
420
|
/**
|
|
421
421
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -424,8 +424,8 @@ class gn {
|
|
|
424
424
|
* @returns {() => void}
|
|
425
425
|
*/
|
|
426
426
|
$on(t, r) {
|
|
427
|
-
if (!
|
|
428
|
-
return
|
|
427
|
+
if (!Be(r))
|
|
428
|
+
return ne;
|
|
429
429
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
430
430
|
return n.push(r), () => {
|
|
431
431
|
const s = n.indexOf(r);
|
|
@@ -437,11 +437,11 @@ class gn {
|
|
|
437
437
|
* @returns {void}
|
|
438
438
|
*/
|
|
439
439
|
$set(t) {
|
|
440
|
-
this.$$set && !
|
|
440
|
+
this.$$set && !Qr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
const
|
|
444
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
443
|
+
const wn = "4";
|
|
444
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wn);
|
|
445
445
|
/*! *****************************************************************************
|
|
446
446
|
Copyright (c) Microsoft Corporation.
|
|
447
447
|
|
|
@@ -456,24 +456,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
456
456
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
457
457
|
PERFORMANCE OF THIS SOFTWARE.
|
|
458
458
|
***************************************************************************** */
|
|
459
|
-
var
|
|
460
|
-
return
|
|
459
|
+
var Tt = function(e, t) {
|
|
460
|
+
return Tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
461
461
|
r.__proto__ = n;
|
|
462
462
|
} || function(r, n) {
|
|
463
463
|
for (var s in n)
|
|
464
464
|
Object.prototype.hasOwnProperty.call(n, s) && (r[s] = n[s]);
|
|
465
|
-
},
|
|
465
|
+
}, Tt(e, t);
|
|
466
466
|
};
|
|
467
467
|
function We(e, t) {
|
|
468
468
|
if (typeof t != "function" && t !== null)
|
|
469
469
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
470
|
-
|
|
470
|
+
Tt(e, t);
|
|
471
471
|
function r() {
|
|
472
472
|
this.constructor = e;
|
|
473
473
|
}
|
|
474
474
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
475
475
|
}
|
|
476
|
-
function
|
|
476
|
+
function Ct(e) {
|
|
477
477
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
478
478
|
if (r)
|
|
479
479
|
return r.call(e);
|
|
@@ -485,7 +485,7 @@ function Tt(e) {
|
|
|
485
485
|
};
|
|
486
486
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
487
487
|
}
|
|
488
|
-
function
|
|
488
|
+
function St(e, t) {
|
|
489
489
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
490
490
|
if (!r)
|
|
491
491
|
return e;
|
|
@@ -493,8 +493,8 @@ function Ct(e, t) {
|
|
|
493
493
|
try {
|
|
494
494
|
for (; (t === void 0 || t-- > 0) && !(s = n.next()).done; )
|
|
495
495
|
i.push(s.value);
|
|
496
|
-
} catch (
|
|
497
|
-
a = { error:
|
|
496
|
+
} catch (o) {
|
|
497
|
+
a = { error: o };
|
|
498
498
|
} finally {
|
|
499
499
|
try {
|
|
500
500
|
s && !s.done && (r = n.return) && r.call(n);
|
|
@@ -505,22 +505,22 @@ function Ct(e, t) {
|
|
|
505
505
|
}
|
|
506
506
|
return i;
|
|
507
507
|
}
|
|
508
|
-
function
|
|
508
|
+
function Bt(e, t, r) {
|
|
509
509
|
if (arguments.length === 2)
|
|
510
510
|
for (var n = 0, s = t.length, i; n < s; n++)
|
|
511
511
|
(i || !(n in t)) && (i || (i = Array.prototype.slice.call(t, 0, n)), i[n] = t[n]);
|
|
512
512
|
return e.concat(i || t);
|
|
513
513
|
}
|
|
514
|
-
function
|
|
514
|
+
function le(e) {
|
|
515
515
|
return typeof e == "function";
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function yr(e) {
|
|
518
518
|
var t = function(n) {
|
|
519
519
|
Error.call(n), n.stack = new Error().stack;
|
|
520
520
|
}, r = e(t);
|
|
521
521
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
522
522
|
}
|
|
523
|
-
var
|
|
523
|
+
var gt = yr(function(e) {
|
|
524
524
|
return function(r) {
|
|
525
525
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
526
526
|
` + r.map(function(n, s) {
|
|
@@ -529,13 +529,13 @@ var mt = vr(function(e) {
|
|
|
529
529
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
530
530
|
};
|
|
531
531
|
});
|
|
532
|
-
function
|
|
532
|
+
function At(e, t) {
|
|
533
533
|
if (e) {
|
|
534
534
|
var r = e.indexOf(t);
|
|
535
535
|
0 <= r && e.splice(r, 1);
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
|
-
var
|
|
538
|
+
var ut = function() {
|
|
539
539
|
function e(t) {
|
|
540
540
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
541
541
|
}
|
|
@@ -547,7 +547,7 @@ var lt = function() {
|
|
|
547
547
|
if (a)
|
|
548
548
|
if (this._parentage = null, Array.isArray(a))
|
|
549
549
|
try {
|
|
550
|
-
for (var
|
|
550
|
+
for (var o = Ct(a), u = o.next(); !u.done; u = o.next()) {
|
|
551
551
|
var h = u.value;
|
|
552
552
|
h.remove(this);
|
|
553
553
|
}
|
|
@@ -555,7 +555,7 @@ var lt = function() {
|
|
|
555
555
|
t = { error: b };
|
|
556
556
|
} finally {
|
|
557
557
|
try {
|
|
558
|
-
u && !u.done && (r =
|
|
558
|
+
u && !u.done && (r = o.return) && r.call(o);
|
|
559
559
|
} finally {
|
|
560
560
|
if (t)
|
|
561
561
|
throw t.error;
|
|
@@ -564,22 +564,22 @@ var lt = function() {
|
|
|
564
564
|
else
|
|
565
565
|
a.remove(this);
|
|
566
566
|
var c = this.initialTeardown;
|
|
567
|
-
if (
|
|
567
|
+
if (le(c))
|
|
568
568
|
try {
|
|
569
569
|
c();
|
|
570
570
|
} catch (b) {
|
|
571
|
-
i = b instanceof
|
|
571
|
+
i = b instanceof gt ? b.errors : [b];
|
|
572
572
|
}
|
|
573
573
|
var d = this._finalizers;
|
|
574
574
|
if (d) {
|
|
575
575
|
this._finalizers = null;
|
|
576
576
|
try {
|
|
577
|
-
for (var p =
|
|
577
|
+
for (var p = Ct(d), m = p.next(); !m.done; m = p.next()) {
|
|
578
578
|
var v = m.value;
|
|
579
579
|
try {
|
|
580
|
-
|
|
580
|
+
Vt(v);
|
|
581
581
|
} catch (b) {
|
|
582
|
-
i = i ?? [], b instanceof
|
|
582
|
+
i = i ?? [], b instanceof gt ? i = Bt(Bt([], St(i)), St(b.errors)) : i.push(b);
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
585
|
} catch (b) {
|
|
@@ -594,13 +594,13 @@ var lt = function() {
|
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
596
|
if (i)
|
|
597
|
-
throw new
|
|
597
|
+
throw new gt(i);
|
|
598
598
|
}
|
|
599
599
|
}, e.prototype.add = function(t) {
|
|
600
600
|
var r;
|
|
601
601
|
if (t && t !== this)
|
|
602
602
|
if (this.closed)
|
|
603
|
-
|
|
603
|
+
Vt(t);
|
|
604
604
|
else {
|
|
605
605
|
if (t instanceof e) {
|
|
606
606
|
if (t.closed || t._hasParent(this))
|
|
@@ -617,52 +617,52 @@ var lt = function() {
|
|
|
617
617
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
618
618
|
}, e.prototype._removeParent = function(t) {
|
|
619
619
|
var r = this._parentage;
|
|
620
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
620
|
+
r === t ? this._parentage = null : Array.isArray(r) && At(r, t);
|
|
621
621
|
}, e.prototype.remove = function(t) {
|
|
622
622
|
var r = this._finalizers;
|
|
623
|
-
r &&
|
|
623
|
+
r && At(r, t), t instanceof e && t._removeParent(this);
|
|
624
624
|
}, e.EMPTY = function() {
|
|
625
625
|
var t = new e();
|
|
626
626
|
return t.closed = !0, t;
|
|
627
627
|
}(), e;
|
|
628
|
-
}(),
|
|
629
|
-
function
|
|
630
|
-
return e instanceof
|
|
628
|
+
}(), _r = ut.EMPTY;
|
|
629
|
+
function Pr(e) {
|
|
630
|
+
return e instanceof ut || e && "closed" in e && le(e.remove) && le(e.add) && le(e.unsubscribe);
|
|
631
631
|
}
|
|
632
|
-
function
|
|
633
|
-
|
|
632
|
+
function Vt(e) {
|
|
633
|
+
le(e) ? e() : e.unsubscribe();
|
|
634
634
|
}
|
|
635
|
-
var
|
|
635
|
+
var vn = {
|
|
636
636
|
Promise: void 0
|
|
637
|
-
},
|
|
637
|
+
}, yn = {
|
|
638
638
|
setTimeout: function(e, t) {
|
|
639
639
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
640
640
|
r[n - 2] = arguments[n];
|
|
641
|
-
return setTimeout.apply(void 0,
|
|
641
|
+
return setTimeout.apply(void 0, Bt([e, t], St(r)));
|
|
642
642
|
},
|
|
643
643
|
clearTimeout: function(e) {
|
|
644
644
|
return clearTimeout(e);
|
|
645
645
|
},
|
|
646
646
|
delegate: void 0
|
|
647
647
|
};
|
|
648
|
-
function
|
|
649
|
-
|
|
648
|
+
function _n(e) {
|
|
649
|
+
yn.setTimeout(function() {
|
|
650
650
|
throw e;
|
|
651
651
|
});
|
|
652
652
|
}
|
|
653
|
-
function
|
|
653
|
+
function zt() {
|
|
654
654
|
}
|
|
655
|
-
function
|
|
655
|
+
function nt(e) {
|
|
656
656
|
e();
|
|
657
657
|
}
|
|
658
|
-
var
|
|
658
|
+
var Er = function(e) {
|
|
659
659
|
We(t, e);
|
|
660
660
|
function t(r) {
|
|
661
661
|
var n = e.call(this) || this;
|
|
662
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
662
|
+
return n.isStopped = !1, r ? (n.destination = r, Pr(r) && r.add(n)) : n.destination = xn, n;
|
|
663
663
|
}
|
|
664
664
|
return t.create = function(r, n, s) {
|
|
665
|
-
return new
|
|
665
|
+
return new Ht(r, n, s);
|
|
666
666
|
}, t.prototype.next = function(r) {
|
|
667
667
|
this.isStopped || this._next(r);
|
|
668
668
|
}, t.prototype.error = function(r) {
|
|
@@ -686,7 +686,7 @@ var Pr = function(e) {
|
|
|
686
686
|
this.unsubscribe();
|
|
687
687
|
}
|
|
688
688
|
}, t;
|
|
689
|
-
}(
|
|
689
|
+
}(ut), Pn = function() {
|
|
690
690
|
function e(t) {
|
|
691
691
|
this.partialObserver = t;
|
|
692
692
|
}
|
|
@@ -696,7 +696,7 @@ var Pr = function(e) {
|
|
|
696
696
|
try {
|
|
697
697
|
r.next(t);
|
|
698
698
|
} catch (n) {
|
|
699
|
-
|
|
699
|
+
et(n);
|
|
700
700
|
}
|
|
701
701
|
}, e.prototype.error = function(t) {
|
|
702
702
|
var r = this.partialObserver;
|
|
@@ -704,56 +704,56 @@ var Pr = function(e) {
|
|
|
704
704
|
try {
|
|
705
705
|
r.error(t);
|
|
706
706
|
} catch (n) {
|
|
707
|
-
|
|
707
|
+
et(n);
|
|
708
708
|
}
|
|
709
709
|
else
|
|
710
|
-
|
|
710
|
+
et(t);
|
|
711
711
|
}, e.prototype.complete = function() {
|
|
712
712
|
var t = this.partialObserver;
|
|
713
713
|
if (t.complete)
|
|
714
714
|
try {
|
|
715
715
|
t.complete();
|
|
716
716
|
} catch (r) {
|
|
717
|
-
|
|
717
|
+
et(r);
|
|
718
718
|
}
|
|
719
719
|
}, e;
|
|
720
|
-
}(),
|
|
720
|
+
}(), Ht = function(e) {
|
|
721
721
|
We(t, e);
|
|
722
722
|
function t(r, n, s) {
|
|
723
723
|
var i = e.call(this) || this, a;
|
|
724
|
-
return
|
|
724
|
+
return le(r) || !r ? a = {
|
|
725
725
|
next: r ?? void 0,
|
|
726
726
|
error: n ?? void 0,
|
|
727
727
|
complete: s ?? void 0
|
|
728
|
-
} : a = r, i.destination = new
|
|
728
|
+
} : a = r, i.destination = new Pn(a), i;
|
|
729
729
|
}
|
|
730
730
|
return t;
|
|
731
|
-
}(
|
|
732
|
-
function
|
|
733
|
-
|
|
731
|
+
}(Er);
|
|
732
|
+
function et(e) {
|
|
733
|
+
_n(e);
|
|
734
734
|
}
|
|
735
|
-
function
|
|
735
|
+
function En(e) {
|
|
736
736
|
throw e;
|
|
737
737
|
}
|
|
738
|
-
var
|
|
738
|
+
var xn = {
|
|
739
739
|
closed: !0,
|
|
740
|
-
next:
|
|
741
|
-
error:
|
|
742
|
-
complete:
|
|
743
|
-
},
|
|
740
|
+
next: zt,
|
|
741
|
+
error: En,
|
|
742
|
+
complete: zt
|
|
743
|
+
}, Tn = function() {
|
|
744
744
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
745
745
|
}();
|
|
746
|
-
function
|
|
746
|
+
function Cn(e) {
|
|
747
747
|
return e;
|
|
748
748
|
}
|
|
749
|
-
function
|
|
750
|
-
return e.length === 0 ?
|
|
749
|
+
function Sn(e) {
|
|
750
|
+
return e.length === 0 ? Cn : e.length === 1 ? e[0] : function(r) {
|
|
751
751
|
return e.reduce(function(n, s) {
|
|
752
752
|
return s(n);
|
|
753
753
|
}, r);
|
|
754
754
|
};
|
|
755
755
|
}
|
|
756
|
-
var
|
|
756
|
+
var Wt = function() {
|
|
757
757
|
function e(t) {
|
|
758
758
|
t && (this._subscribe = t);
|
|
759
759
|
}
|
|
@@ -761,10 +761,10 @@ var zt = function() {
|
|
|
761
761
|
var r = new e();
|
|
762
762
|
return r.source = this, r.operator = t, r;
|
|
763
763
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
764
|
-
var s = this, i =
|
|
765
|
-
return
|
|
766
|
-
var a = s,
|
|
767
|
-
i.add(
|
|
764
|
+
var s = this, i = An(t) ? t : new Ht(t, r, n);
|
|
765
|
+
return nt(function() {
|
|
766
|
+
var a = s, o = a.operator, u = a.source;
|
|
767
|
+
i.add(o ? o.call(i, u) : u ? s._subscribe(i) : s._trySubscribe(i));
|
|
768
768
|
}), i;
|
|
769
769
|
}, e.prototype._trySubscribe = function(t) {
|
|
770
770
|
try {
|
|
@@ -774,11 +774,11 @@ var zt = function() {
|
|
|
774
774
|
}
|
|
775
775
|
}, e.prototype.forEach = function(t, r) {
|
|
776
776
|
var n = this;
|
|
777
|
-
return r =
|
|
778
|
-
var a = new
|
|
779
|
-
next: function(
|
|
777
|
+
return r = Xt(r), new r(function(s, i) {
|
|
778
|
+
var a = new Ht({
|
|
779
|
+
next: function(o) {
|
|
780
780
|
try {
|
|
781
|
-
t(
|
|
781
|
+
t(o);
|
|
782
782
|
} catch (u) {
|
|
783
783
|
i(u), a.unsubscribe();
|
|
784
784
|
}
|
|
@@ -791,15 +791,15 @@ var zt = function() {
|
|
|
791
791
|
}, e.prototype._subscribe = function(t) {
|
|
792
792
|
var r;
|
|
793
793
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
794
|
-
}, e.prototype[
|
|
794
|
+
}, e.prototype[Tn] = function() {
|
|
795
795
|
return this;
|
|
796
796
|
}, e.prototype.pipe = function() {
|
|
797
797
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
798
798
|
t[r] = arguments[r];
|
|
799
|
-
return
|
|
799
|
+
return Sn(t)(this);
|
|
800
800
|
}, e.prototype.toPromise = function(t) {
|
|
801
801
|
var r = this;
|
|
802
|
-
return t =
|
|
802
|
+
return t = Xt(t), new t(function(n, s) {
|
|
803
803
|
var i;
|
|
804
804
|
r.subscribe(function(a) {
|
|
805
805
|
return i = a;
|
|
@@ -813,48 +813,48 @@ var zt = function() {
|
|
|
813
813
|
return new e(t);
|
|
814
814
|
}, e;
|
|
815
815
|
}();
|
|
816
|
-
function
|
|
816
|
+
function Xt(e) {
|
|
817
817
|
var t;
|
|
818
|
-
return (t = e ??
|
|
819
|
-
}
|
|
820
|
-
function Sn(e) {
|
|
821
|
-
return e && ae(e.next) && ae(e.error) && ae(e.complete);
|
|
818
|
+
return (t = e ?? vn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
822
819
|
}
|
|
823
820
|
function Bn(e) {
|
|
824
|
-
return e && e
|
|
821
|
+
return e && le(e.next) && le(e.error) && le(e.complete);
|
|
825
822
|
}
|
|
826
|
-
|
|
823
|
+
function An(e) {
|
|
824
|
+
return e && e instanceof Er || Bn(e) && Pr(e);
|
|
825
|
+
}
|
|
826
|
+
var Hn = yr(function(e) {
|
|
827
827
|
return function() {
|
|
828
828
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
829
829
|
};
|
|
830
|
-
}),
|
|
830
|
+
}), xr = function(e) {
|
|
831
831
|
We(t, e);
|
|
832
832
|
function t() {
|
|
833
833
|
var r = e.call(this) || this;
|
|
834
834
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
835
835
|
}
|
|
836
836
|
return t.prototype.lift = function(r) {
|
|
837
|
-
var n = new
|
|
837
|
+
var n = new Zt(this, this);
|
|
838
838
|
return n.operator = r, n;
|
|
839
839
|
}, t.prototype._throwIfClosed = function() {
|
|
840
840
|
if (this.closed)
|
|
841
|
-
throw new
|
|
841
|
+
throw new Hn();
|
|
842
842
|
}, t.prototype.next = function(r) {
|
|
843
843
|
var n = this;
|
|
844
|
-
|
|
844
|
+
nt(function() {
|
|
845
845
|
var s, i;
|
|
846
846
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
847
847
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
848
848
|
try {
|
|
849
|
-
for (var a =
|
|
850
|
-
var u =
|
|
849
|
+
for (var a = Ct(n.currentObservers), o = a.next(); !o.done; o = a.next()) {
|
|
850
|
+
var u = o.value;
|
|
851
851
|
u.next(r);
|
|
852
852
|
}
|
|
853
853
|
} catch (h) {
|
|
854
854
|
s = { error: h };
|
|
855
855
|
} finally {
|
|
856
856
|
try {
|
|
857
|
-
|
|
857
|
+
o && !o.done && (i = a.return) && i.call(a);
|
|
858
858
|
} finally {
|
|
859
859
|
if (s)
|
|
860
860
|
throw s.error;
|
|
@@ -864,7 +864,7 @@ var An = vr(function(e) {
|
|
|
864
864
|
});
|
|
865
865
|
}, t.prototype.error = function(r) {
|
|
866
866
|
var n = this;
|
|
867
|
-
|
|
867
|
+
nt(function() {
|
|
868
868
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
869
869
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
870
870
|
for (var s = n.observers; s.length; )
|
|
@@ -873,7 +873,7 @@ var An = vr(function(e) {
|
|
|
873
873
|
});
|
|
874
874
|
}, t.prototype.complete = function() {
|
|
875
875
|
var r = this;
|
|
876
|
-
|
|
876
|
+
nt(function() {
|
|
877
877
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
878
878
|
r.isStopped = !0;
|
|
879
879
|
for (var n = r.observers; n.length; )
|
|
@@ -894,20 +894,20 @@ var An = vr(function(e) {
|
|
|
894
894
|
}, t.prototype._subscribe = function(r) {
|
|
895
895
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
896
896
|
}, t.prototype._innerSubscribe = function(r) {
|
|
897
|
-
var n = this, s = this, i = s.hasError, a = s.isStopped,
|
|
898
|
-
return i || a ?
|
|
899
|
-
n.currentObservers = null,
|
|
897
|
+
var n = this, s = this, i = s.hasError, a = s.isStopped, o = s.observers;
|
|
898
|
+
return i || a ? _r : (this.currentObservers = null, o.push(r), new ut(function() {
|
|
899
|
+
n.currentObservers = null, At(o, r);
|
|
900
900
|
}));
|
|
901
901
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
902
902
|
var n = this, s = n.hasError, i = n.thrownError, a = n.isStopped;
|
|
903
903
|
s ? r.error(i) : a && r.complete();
|
|
904
904
|
}, t.prototype.asObservable = function() {
|
|
905
|
-
var r = new
|
|
905
|
+
var r = new Wt();
|
|
906
906
|
return r.source = this, r;
|
|
907
907
|
}, t.create = function(r, n) {
|
|
908
|
-
return new
|
|
908
|
+
return new Zt(r, n);
|
|
909
909
|
}, t;
|
|
910
|
-
}(
|
|
910
|
+
}(Wt), Zt = function(e) {
|
|
911
911
|
We(t, e);
|
|
912
912
|
function t(r, n) {
|
|
913
913
|
var s = e.call(this) || this;
|
|
@@ -924,54 +924,54 @@ var An = vr(function(e) {
|
|
|
924
924
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
925
925
|
}, t.prototype._subscribe = function(r) {
|
|
926
926
|
var n, s;
|
|
927
|
-
return (s = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && s !== void 0 ? s :
|
|
927
|
+
return (s = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && s !== void 0 ? s : _r;
|
|
928
928
|
}, t;
|
|
929
|
-
}(
|
|
929
|
+
}(xr), Tr = {
|
|
930
930
|
now: function() {
|
|
931
|
-
return (
|
|
931
|
+
return (Tr.delegate || Date).now();
|
|
932
932
|
},
|
|
933
933
|
delegate: void 0
|
|
934
|
-
},
|
|
934
|
+
}, In = function(e) {
|
|
935
935
|
We(t, e);
|
|
936
936
|
function t(r, n, s) {
|
|
937
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), s === void 0 && (s =
|
|
937
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), s === void 0 && (s = Tr);
|
|
938
938
|
var i = e.call(this) || this;
|
|
939
939
|
return i._bufferSize = r, i._windowTime = n, i._timestampProvider = s, i._buffer = [], i._infiniteTimeWindow = !0, i._infiniteTimeWindow = n === 1 / 0, i._bufferSize = Math.max(1, r), i._windowTime = Math.max(1, n), i;
|
|
940
940
|
}
|
|
941
941
|
return t.prototype.next = function(r) {
|
|
942
|
-
var n = this, s = n.isStopped, i = n._buffer, a = n._infiniteTimeWindow,
|
|
943
|
-
s || (i.push(r), !a && i.push(
|
|
942
|
+
var n = this, s = n.isStopped, i = n._buffer, a = n._infiniteTimeWindow, o = n._timestampProvider, u = n._windowTime;
|
|
943
|
+
s || (i.push(r), !a && i.push(o.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
944
944
|
}, t.prototype._subscribe = function(r) {
|
|
945
945
|
this._throwIfClosed(), this._trimBuffer();
|
|
946
|
-
for (var n = this._innerSubscribe(r), s = this, i = s._infiniteTimeWindow, a = s._buffer,
|
|
947
|
-
r.next(
|
|
946
|
+
for (var n = this._innerSubscribe(r), s = this, i = s._infiniteTimeWindow, a = s._buffer, o = a.slice(), u = 0; u < o.length && !r.closed; u += i ? 1 : 2)
|
|
947
|
+
r.next(o[u]);
|
|
948
948
|
return this._checkFinalizedStatuses(r), n;
|
|
949
949
|
}, t.prototype._trimBuffer = function() {
|
|
950
|
-
var r = this, n = r._bufferSize, s = r._timestampProvider, i = r._buffer, a = r._infiniteTimeWindow,
|
|
951
|
-
if (n < 1 / 0 &&
|
|
950
|
+
var r = this, n = r._bufferSize, s = r._timestampProvider, i = r._buffer, a = r._infiniteTimeWindow, o = (a ? 1 : 2) * n;
|
|
951
|
+
if (n < 1 / 0 && o < i.length && i.splice(0, i.length - o), !a) {
|
|
952
952
|
for (var u = s.now(), h = 0, c = 1; c < i.length && i[c] <= u; c += 2)
|
|
953
953
|
h = c;
|
|
954
954
|
h && i.splice(0, h + 1);
|
|
955
955
|
}
|
|
956
956
|
}, t;
|
|
957
|
-
}(
|
|
958
|
-
const
|
|
959
|
-
if (
|
|
960
|
-
const r = new
|
|
961
|
-
|
|
957
|
+
}(xr);
|
|
958
|
+
const Yt = [], Qt = {}, Mn = (e, t = 0) => {
|
|
959
|
+
if (Yt.indexOf(e) == -1) {
|
|
960
|
+
const r = new In(t);
|
|
961
|
+
Qt[e] = r, Yt.push(e);
|
|
962
962
|
}
|
|
963
|
-
return
|
|
963
|
+
return Qt[e];
|
|
964
964
|
}, xe = [];
|
|
965
|
-
function
|
|
965
|
+
function Nn(e, t) {
|
|
966
966
|
return {
|
|
967
|
-
subscribe:
|
|
967
|
+
subscribe: ht(e, t).subscribe
|
|
968
968
|
};
|
|
969
969
|
}
|
|
970
|
-
function
|
|
970
|
+
function ht(e, t = ne) {
|
|
971
971
|
let r;
|
|
972
972
|
const n = /* @__PURE__ */ new Set();
|
|
973
|
-
function s(
|
|
974
|
-
if (
|
|
973
|
+
function s(o) {
|
|
974
|
+
if (gr(e, o) && (e = o, r)) {
|
|
975
975
|
const u = !xe.length;
|
|
976
976
|
for (const h of n)
|
|
977
977
|
h[1](), xe.push(h, e);
|
|
@@ -982,37 +982,37 @@ function ut(e, t = te) {
|
|
|
982
982
|
}
|
|
983
983
|
}
|
|
984
984
|
}
|
|
985
|
-
function i(
|
|
986
|
-
s(
|
|
985
|
+
function i(o) {
|
|
986
|
+
s(o(e));
|
|
987
987
|
}
|
|
988
|
-
function a(
|
|
989
|
-
const h = [
|
|
990
|
-
return n.add(h), n.size === 1 && (r = t(s, i) ||
|
|
988
|
+
function a(o, u = ne) {
|
|
989
|
+
const h = [o, u];
|
|
990
|
+
return n.add(h), n.size === 1 && (r = t(s, i) || ne), o(e), () => {
|
|
991
991
|
n.delete(h), n.size === 0 && r && (r(), r = null);
|
|
992
992
|
};
|
|
993
993
|
}
|
|
994
994
|
return { set: s, update: i, subscribe: a };
|
|
995
995
|
}
|
|
996
|
-
function
|
|
996
|
+
function Re(e, t, r) {
|
|
997
997
|
const n = !Array.isArray(e), s = n ? [e] : e;
|
|
998
998
|
if (!s.every(Boolean))
|
|
999
999
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1000
1000
|
const i = t.length < 2;
|
|
1001
|
-
return
|
|
1001
|
+
return Nn(r, (a, o) => {
|
|
1002
1002
|
let u = !1;
|
|
1003
1003
|
const h = [];
|
|
1004
|
-
let c = 0, d =
|
|
1004
|
+
let c = 0, d = ne;
|
|
1005
1005
|
const p = () => {
|
|
1006
1006
|
if (c)
|
|
1007
1007
|
return;
|
|
1008
1008
|
d();
|
|
1009
|
-
const v = t(n ? h[0] : h, a,
|
|
1010
|
-
i ? a(v) : d =
|
|
1009
|
+
const v = t(n ? h[0] : h, a, o);
|
|
1010
|
+
i ? a(v) : d = Be(v) ? v : ne;
|
|
1011
1011
|
}, m = s.map(
|
|
1012
|
-
(v, b) =>
|
|
1012
|
+
(v, b) => br(
|
|
1013
1013
|
v,
|
|
1014
|
-
(
|
|
1015
|
-
h[b] =
|
|
1014
|
+
(E) => {
|
|
1015
|
+
h[b] = E, c &= ~(1 << b), u && p();
|
|
1016
1016
|
},
|
|
1017
1017
|
() => {
|
|
1018
1018
|
c |= 1 << b;
|
|
@@ -1020,112 +1020,112 @@ function Oe(e, t, r) {
|
|
|
1020
1020
|
)
|
|
1021
1021
|
);
|
|
1022
1022
|
return u = !0, p(), function() {
|
|
1023
|
-
|
|
1023
|
+
Oe(m), d(), u = !1;
|
|
1024
1024
|
};
|
|
1025
1025
|
});
|
|
1026
1026
|
}
|
|
1027
|
-
function
|
|
1027
|
+
function On(e) {
|
|
1028
1028
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1029
1029
|
}
|
|
1030
|
-
var
|
|
1031
|
-
return
|
|
1030
|
+
var Rn = function(t) {
|
|
1031
|
+
return Ln(t) && !Fn(t);
|
|
1032
1032
|
};
|
|
1033
|
-
function
|
|
1033
|
+
function Ln(e) {
|
|
1034
1034
|
return !!e && typeof e == "object";
|
|
1035
1035
|
}
|
|
1036
|
-
function
|
|
1036
|
+
function Fn(e) {
|
|
1037
1037
|
var t = Object.prototype.toString.call(e);
|
|
1038
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1039
|
-
}
|
|
1040
|
-
var Fn = typeof Symbol == "function" && Symbol.for, kn = Fn ? Symbol.for("react.element") : 60103;
|
|
1041
|
-
function Dn(e) {
|
|
1042
|
-
return e.$$typeof === kn;
|
|
1038
|
+
return t === "[object RegExp]" || t === "[object Date]" || Un(e);
|
|
1043
1039
|
}
|
|
1040
|
+
var kn = typeof Symbol == "function" && Symbol.for, Dn = kn ? Symbol.for("react.element") : 60103;
|
|
1044
1041
|
function Un(e) {
|
|
1042
|
+
return e.$$typeof === Dn;
|
|
1043
|
+
}
|
|
1044
|
+
function $n(e) {
|
|
1045
1045
|
return Array.isArray(e) ? [] : {};
|
|
1046
1046
|
}
|
|
1047
1047
|
function Ve(e, t) {
|
|
1048
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1048
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? He($n(e), e, t) : e;
|
|
1049
1049
|
}
|
|
1050
|
-
function
|
|
1050
|
+
function Gn(e, t, r) {
|
|
1051
1051
|
return e.concat(t).map(function(n) {
|
|
1052
1052
|
return Ve(n, r);
|
|
1053
1053
|
});
|
|
1054
1054
|
}
|
|
1055
|
-
function
|
|
1055
|
+
function jn(e, t) {
|
|
1056
1056
|
if (!t.customMerge)
|
|
1057
|
-
return
|
|
1057
|
+
return He;
|
|
1058
1058
|
var r = t.customMerge(e);
|
|
1059
|
-
return typeof r == "function" ? r :
|
|
1059
|
+
return typeof r == "function" ? r : He;
|
|
1060
1060
|
}
|
|
1061
|
-
function
|
|
1061
|
+
function Vn(e) {
|
|
1062
1062
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1063
1063
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1064
1064
|
}) : [];
|
|
1065
1065
|
}
|
|
1066
|
-
function
|
|
1067
|
-
return Object.keys(e).concat(
|
|
1066
|
+
function Jt(e) {
|
|
1067
|
+
return Object.keys(e).concat(Vn(e));
|
|
1068
1068
|
}
|
|
1069
|
-
function
|
|
1069
|
+
function Cr(e, t) {
|
|
1070
1070
|
try {
|
|
1071
1071
|
return t in e;
|
|
1072
1072
|
} catch {
|
|
1073
1073
|
return !1;
|
|
1074
1074
|
}
|
|
1075
1075
|
}
|
|
1076
|
-
function
|
|
1077
|
-
return
|
|
1076
|
+
function zn(e, t) {
|
|
1077
|
+
return Cr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1078
1078
|
}
|
|
1079
|
-
function
|
|
1079
|
+
function Wn(e, t, r) {
|
|
1080
1080
|
var n = {};
|
|
1081
|
-
return r.isMergeableObject(e) &&
|
|
1081
|
+
return r.isMergeableObject(e) && Jt(e).forEach(function(s) {
|
|
1082
1082
|
n[s] = Ve(e[s], r);
|
|
1083
|
-
}),
|
|
1084
|
-
|
|
1083
|
+
}), Jt(t).forEach(function(s) {
|
|
1084
|
+
zn(e, s) || (Cr(e, s) && r.isMergeableObject(t[s]) ? n[s] = jn(s, r)(e[s], t[s], r) : n[s] = Ve(t[s], r));
|
|
1085
1085
|
}), n;
|
|
1086
1086
|
}
|
|
1087
|
-
function
|
|
1088
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1087
|
+
function He(e, t, r) {
|
|
1088
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Gn, r.isMergeableObject = r.isMergeableObject || Rn, r.cloneUnlessOtherwiseSpecified = Ve;
|
|
1089
1089
|
var n = Array.isArray(t), s = Array.isArray(e), i = n === s;
|
|
1090
|
-
return i ? n ? r.arrayMerge(e, t, r) :
|
|
1090
|
+
return i ? n ? r.arrayMerge(e, t, r) : Wn(e, t, r) : Ve(t, r);
|
|
1091
1091
|
}
|
|
1092
|
-
|
|
1092
|
+
He.all = function(t, r) {
|
|
1093
1093
|
if (!Array.isArray(t))
|
|
1094
1094
|
throw new Error("first argument should be an array");
|
|
1095
1095
|
return t.reduce(function(n, s) {
|
|
1096
|
-
return
|
|
1096
|
+
return He(n, s, r);
|
|
1097
1097
|
}, {});
|
|
1098
1098
|
};
|
|
1099
|
-
var
|
|
1100
|
-
const
|
|
1101
|
-
var
|
|
1102
|
-
return
|
|
1099
|
+
var Xn = He, Zn = Xn;
|
|
1100
|
+
const Yn = /* @__PURE__ */ On(Zn);
|
|
1101
|
+
var It = function(e, t) {
|
|
1102
|
+
return It = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1103
1103
|
r.__proto__ = n;
|
|
1104
1104
|
} || function(r, n) {
|
|
1105
1105
|
for (var s in n)
|
|
1106
1106
|
Object.prototype.hasOwnProperty.call(n, s) && (r[s] = n[s]);
|
|
1107
|
-
},
|
|
1107
|
+
}, It(e, t);
|
|
1108
1108
|
};
|
|
1109
|
-
function
|
|
1109
|
+
function ct(e, t) {
|
|
1110
1110
|
if (typeof t != "function" && t !== null)
|
|
1111
1111
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1112
|
-
|
|
1112
|
+
It(e, t);
|
|
1113
1113
|
function r() {
|
|
1114
1114
|
this.constructor = e;
|
|
1115
1115
|
}
|
|
1116
1116
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1117
1117
|
}
|
|
1118
|
-
var
|
|
1119
|
-
return
|
|
1118
|
+
var se = function() {
|
|
1119
|
+
return se = Object.assign || function(t) {
|
|
1120
1120
|
for (var r, n = 1, s = arguments.length; n < s; n++) {
|
|
1121
1121
|
r = arguments[n];
|
|
1122
1122
|
for (var i in r)
|
|
1123
1123
|
Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
|
|
1124
1124
|
}
|
|
1125
1125
|
return t;
|
|
1126
|
-
},
|
|
1126
|
+
}, se.apply(this, arguments);
|
|
1127
1127
|
};
|
|
1128
|
-
function
|
|
1128
|
+
function Qn(e, t) {
|
|
1129
1129
|
var r = {};
|
|
1130
1130
|
for (var n in e)
|
|
1131
1131
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1134,43 +1134,43 @@ function Yn(e, t) {
|
|
|
1134
1134
|
t.indexOf(n[s]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[s]) && (r[n[s]] = e[n[s]]);
|
|
1135
1135
|
return r;
|
|
1136
1136
|
}
|
|
1137
|
-
function
|
|
1137
|
+
function bt(e, t, r) {
|
|
1138
1138
|
if (r || arguments.length === 2)
|
|
1139
1139
|
for (var n = 0, s = t.length, i; n < s; n++)
|
|
1140
1140
|
(i || !(n in t)) && (i || (i = Array.prototype.slice.call(t, 0, n)), i[n] = t[n]);
|
|
1141
1141
|
return e.concat(i || Array.prototype.slice.call(t));
|
|
1142
1142
|
}
|
|
1143
|
-
function
|
|
1144
|
-
var r = t && t.cache ? t.cache :
|
|
1143
|
+
function wt(e, t) {
|
|
1144
|
+
var r = t && t.cache ? t.cache : ns, n = t && t.serializer ? t.serializer : ts, s = t && t.strategy ? t.strategy : Kn;
|
|
1145
1145
|
return s(e, {
|
|
1146
1146
|
cache: r,
|
|
1147
1147
|
serializer: n
|
|
1148
1148
|
});
|
|
1149
1149
|
}
|
|
1150
|
-
function
|
|
1150
|
+
function Jn(e) {
|
|
1151
1151
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1152
1152
|
}
|
|
1153
|
-
function
|
|
1154
|
-
var s =
|
|
1153
|
+
function qn(e, t, r, n) {
|
|
1154
|
+
var s = Jn(n) ? n : r(n), i = t.get(s);
|
|
1155
1155
|
return typeof i > "u" && (i = e.call(this, n), t.set(s, i)), i;
|
|
1156
1156
|
}
|
|
1157
|
-
function
|
|
1157
|
+
function Sr(e, t, r) {
|
|
1158
1158
|
var n = Array.prototype.slice.call(arguments, 3), s = r(n), i = t.get(s);
|
|
1159
1159
|
return typeof i > "u" && (i = e.apply(this, n), t.set(s, i)), i;
|
|
1160
1160
|
}
|
|
1161
|
-
function
|
|
1161
|
+
function Br(e, t, r, n, s) {
|
|
1162
1162
|
return r.bind(t, e, n, s);
|
|
1163
1163
|
}
|
|
1164
|
-
function qn(e, t) {
|
|
1165
|
-
var r = e.length === 1 ? Jn : Cr;
|
|
1166
|
-
return Sr(e, this, r, t.cache.create(), t.serializer);
|
|
1167
|
-
}
|
|
1168
1164
|
function Kn(e, t) {
|
|
1169
|
-
|
|
1165
|
+
var r = e.length === 1 ? qn : Sr;
|
|
1166
|
+
return Br(e, this, r, t.cache.create(), t.serializer);
|
|
1167
|
+
}
|
|
1168
|
+
function es(e, t) {
|
|
1169
|
+
return Br(e, this, Sr, t.cache.create(), t.serializer);
|
|
1170
1170
|
}
|
|
1171
|
-
var
|
|
1171
|
+
var ts = function() {
|
|
1172
1172
|
return JSON.stringify(arguments);
|
|
1173
|
-
},
|
|
1173
|
+
}, rs = (
|
|
1174
1174
|
/** @class */
|
|
1175
1175
|
function() {
|
|
1176
1176
|
function e() {
|
|
@@ -1182,71 +1182,71 @@ var es = function() {
|
|
|
1182
1182
|
this.cache[t] = r;
|
|
1183
1183
|
}, e;
|
|
1184
1184
|
}()
|
|
1185
|
-
),
|
|
1185
|
+
), ns = {
|
|
1186
1186
|
create: function() {
|
|
1187
|
-
return new
|
|
1187
|
+
return new rs();
|
|
1188
1188
|
}
|
|
1189
|
-
},
|
|
1190
|
-
variadic:
|
|
1191
|
-
},
|
|
1192
|
-
return
|
|
1189
|
+
}, vt = {
|
|
1190
|
+
variadic: es
|
|
1191
|
+
}, at = function() {
|
|
1192
|
+
return at = Object.assign || function(t) {
|
|
1193
1193
|
for (var r, n = 1, s = arguments.length; n < s; n++) {
|
|
1194
1194
|
r = arguments[n];
|
|
1195
1195
|
for (var i in r)
|
|
1196
1196
|
Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
|
|
1197
1197
|
}
|
|
1198
1198
|
return t;
|
|
1199
|
-
},
|
|
1199
|
+
}, at.apply(this, arguments);
|
|
1200
1200
|
};
|
|
1201
|
-
var
|
|
1201
|
+
var T;
|
|
1202
1202
|
(function(e) {
|
|
1203
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";
|
|
1204
|
-
})(
|
|
1205
|
-
var
|
|
1204
|
+
})(T || (T = {}));
|
|
1205
|
+
var N;
|
|
1206
1206
|
(function(e) {
|
|
1207
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";
|
|
1208
|
-
})(
|
|
1209
|
-
var
|
|
1208
|
+
})(N || (N = {}));
|
|
1209
|
+
var Ie;
|
|
1210
1210
|
(function(e) {
|
|
1211
1211
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1212
|
-
})(
|
|
1213
|
-
function
|
|
1214
|
-
return e.type ===
|
|
1215
|
-
}
|
|
1216
|
-
function ns(e) {
|
|
1217
|
-
return e.type === L.argument;
|
|
1212
|
+
})(Ie || (Ie = {}));
|
|
1213
|
+
function qt(e) {
|
|
1214
|
+
return e.type === N.literal;
|
|
1218
1215
|
}
|
|
1219
|
-
function
|
|
1220
|
-
return e.type ===
|
|
1216
|
+
function ss(e) {
|
|
1217
|
+
return e.type === N.argument;
|
|
1221
1218
|
}
|
|
1222
1219
|
function Ar(e) {
|
|
1223
|
-
return e.type ===
|
|
1220
|
+
return e.type === N.number;
|
|
1224
1221
|
}
|
|
1225
1222
|
function Hr(e) {
|
|
1226
|
-
return e.type ===
|
|
1223
|
+
return e.type === N.date;
|
|
1227
1224
|
}
|
|
1228
1225
|
function Ir(e) {
|
|
1229
|
-
return e.type ===
|
|
1226
|
+
return e.type === N.time;
|
|
1230
1227
|
}
|
|
1231
1228
|
function Mr(e) {
|
|
1232
|
-
return e.type ===
|
|
1233
|
-
}
|
|
1234
|
-
function ss(e) {
|
|
1235
|
-
return e.type === L.pound;
|
|
1229
|
+
return e.type === N.select;
|
|
1236
1230
|
}
|
|
1237
1231
|
function Nr(e) {
|
|
1238
|
-
return e.type ===
|
|
1232
|
+
return e.type === N.plural;
|
|
1233
|
+
}
|
|
1234
|
+
function is(e) {
|
|
1235
|
+
return e.type === N.pound;
|
|
1239
1236
|
}
|
|
1240
1237
|
function Or(e) {
|
|
1241
|
-
return
|
|
1238
|
+
return e.type === N.tag;
|
|
1242
1239
|
}
|
|
1243
|
-
function
|
|
1244
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1240
|
+
function Rr(e) {
|
|
1241
|
+
return !!(e && typeof e == "object" && e.type === Ie.number);
|
|
1245
1242
|
}
|
|
1246
|
-
|
|
1247
|
-
|
|
1243
|
+
function Mt(e) {
|
|
1244
|
+
return !!(e && typeof e == "object" && e.type === Ie.dateTime);
|
|
1245
|
+
}
|
|
1246
|
+
var Lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, as = /(?:[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 os(e) {
|
|
1248
1248
|
var t = {};
|
|
1249
|
-
return e.replace(
|
|
1249
|
+
return e.replace(as, function(r) {
|
|
1250
1250
|
var n = r.length;
|
|
1251
1251
|
switch (r[0]) {
|
|
1252
1252
|
case "G":
|
|
@@ -1335,46 +1335,46 @@ function as(e) {
|
|
|
1335
1335
|
return "";
|
|
1336
1336
|
}), t;
|
|
1337
1337
|
}
|
|
1338
|
-
var
|
|
1339
|
-
return
|
|
1338
|
+
var L = function() {
|
|
1339
|
+
return L = Object.assign || function(t) {
|
|
1340
1340
|
for (var r, n = 1, s = arguments.length; n < s; n++) {
|
|
1341
1341
|
r = arguments[n];
|
|
1342
1342
|
for (var i in r)
|
|
1343
1343
|
Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
|
|
1344
1344
|
}
|
|
1345
1345
|
return t;
|
|
1346
|
-
},
|
|
1346
|
+
}, L.apply(this, arguments);
|
|
1347
1347
|
};
|
|
1348
|
-
var
|
|
1349
|
-
function
|
|
1348
|
+
var ls = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1349
|
+
function us(e) {
|
|
1350
1350
|
if (e.length === 0)
|
|
1351
1351
|
throw new Error("Number skeleton cannot be empty");
|
|
1352
|
-
for (var t = e.split(
|
|
1352
|
+
for (var t = e.split(ls).filter(function(p) {
|
|
1353
1353
|
return p.length > 0;
|
|
1354
1354
|
}), r = [], n = 0, s = t; n < s.length; n++) {
|
|
1355
1355
|
var i = s[n], a = i.split("/");
|
|
1356
1356
|
if (a.length === 0)
|
|
1357
1357
|
throw new Error("Invalid number skeleton");
|
|
1358
|
-
for (var
|
|
1358
|
+
for (var o = a[0], u = a.slice(1), h = 0, c = u; h < c.length; h++) {
|
|
1359
1359
|
var d = c[h];
|
|
1360
1360
|
if (d.length === 0)
|
|
1361
1361
|
throw new Error("Invalid number skeleton");
|
|
1362
1362
|
}
|
|
1363
|
-
r.push({ stem:
|
|
1363
|
+
r.push({ stem: o, options: u });
|
|
1364
1364
|
}
|
|
1365
1365
|
return r;
|
|
1366
1366
|
}
|
|
1367
|
-
function
|
|
1367
|
+
function hs(e) {
|
|
1368
1368
|
return e.replace(/^(.*?)-/, "");
|
|
1369
1369
|
}
|
|
1370
|
-
var
|
|
1371
|
-
function
|
|
1370
|
+
var Kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Fr = /^(@+)?(\+|#+)?[rs]?$/g, cs = /(\*)(0+)|(#+)(0+)|(0+)/g, kr = /^(0+)$/;
|
|
1371
|
+
function er(e) {
|
|
1372
1372
|
var t = {};
|
|
1373
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1373
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Fr, function(r, n, s) {
|
|
1374
1374
|
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)), "";
|
|
1375
1375
|
}), t;
|
|
1376
1376
|
}
|
|
1377
|
-
function
|
|
1377
|
+
function Dr(e) {
|
|
1378
1378
|
switch (e) {
|
|
1379
1379
|
case "sign-auto":
|
|
1380
1380
|
return {
|
|
@@ -1414,7 +1414,7 @@ function kr(e) {
|
|
|
1414
1414
|
};
|
|
1415
1415
|
}
|
|
1416
1416
|
}
|
|
1417
|
-
function
|
|
1417
|
+
function fs(e) {
|
|
1418
1418
|
var t;
|
|
1419
1419
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1420
1420
|
notation: "engineering"
|
|
@@ -1422,17 +1422,17 @@ function cs(e) {
|
|
|
1422
1422
|
notation: "scientific"
|
|
1423
1423
|
}, e = e.slice(1)), t) {
|
|
1424
1424
|
var r = e.slice(0, 2);
|
|
1425
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1425
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !kr.test(e))
|
|
1426
1426
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1427
1427
|
t.minimumIntegerDigits = e.length;
|
|
1428
1428
|
}
|
|
1429
1429
|
return t;
|
|
1430
1430
|
}
|
|
1431
|
-
function
|
|
1432
|
-
var t = {}, r =
|
|
1431
|
+
function tr(e) {
|
|
1432
|
+
var t = {}, r = Dr(e);
|
|
1433
1433
|
return r || t;
|
|
1434
1434
|
}
|
|
1435
|
-
function
|
|
1435
|
+
function ds(e) {
|
|
1436
1436
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1437
1437
|
var s = n[r];
|
|
1438
1438
|
switch (s.stem) {
|
|
@@ -1456,7 +1456,7 @@ function fs(e) {
|
|
|
1456
1456
|
continue;
|
|
1457
1457
|
case "measure-unit":
|
|
1458
1458
|
case "unit":
|
|
1459
|
-
t.style = "unit", t.unit =
|
|
1459
|
+
t.style = "unit", t.unit = hs(s.options[0]);
|
|
1460
1460
|
continue;
|
|
1461
1461
|
case "compact-short":
|
|
1462
1462
|
case "K":
|
|
@@ -1467,13 +1467,13 @@ function fs(e) {
|
|
|
1467
1467
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1468
1468
|
continue;
|
|
1469
1469
|
case "scientific":
|
|
1470
|
-
t =
|
|
1471
|
-
return
|
|
1470
|
+
t = L(L(L({}, t), { notation: "scientific" }), s.options.reduce(function(u, h) {
|
|
1471
|
+
return L(L({}, u), tr(h));
|
|
1472
1472
|
}, {}));
|
|
1473
1473
|
continue;
|
|
1474
1474
|
case "engineering":
|
|
1475
|
-
t =
|
|
1476
|
-
return
|
|
1475
|
+
t = L(L(L({}, t), { notation: "engineering" }), s.options.reduce(function(u, h) {
|
|
1476
|
+
return L(L({}, u), tr(h));
|
|
1477
1477
|
}, {}));
|
|
1478
1478
|
continue;
|
|
1479
1479
|
case "notation-simple":
|
|
@@ -1518,7 +1518,7 @@ function fs(e) {
|
|
|
1518
1518
|
case "integer-width":
|
|
1519
1519
|
if (s.options.length > 1)
|
|
1520
1520
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1521
|
-
s.options[0].replace(
|
|
1521
|
+
s.options[0].replace(cs, function(u, h, c, d, p, m) {
|
|
1522
1522
|
if (h)
|
|
1523
1523
|
t.minimumIntegerDigits = c.length;
|
|
1524
1524
|
else {
|
|
@@ -1531,32 +1531,32 @@ function fs(e) {
|
|
|
1531
1531
|
});
|
|
1532
1532
|
continue;
|
|
1533
1533
|
}
|
|
1534
|
-
if (
|
|
1534
|
+
if (kr.test(s.stem)) {
|
|
1535
1535
|
t.minimumIntegerDigits = s.stem.length;
|
|
1536
1536
|
continue;
|
|
1537
1537
|
}
|
|
1538
|
-
if (
|
|
1538
|
+
if (Kt.test(s.stem)) {
|
|
1539
1539
|
if (s.options.length > 1)
|
|
1540
1540
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1541
|
-
s.stem.replace(
|
|
1541
|
+
s.stem.replace(Kt, function(u, h, c, d, p, m) {
|
|
1542
1542
|
return c === "*" ? t.minimumFractionDigits = h.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : p && m ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + m.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
|
|
1543
1543
|
});
|
|
1544
1544
|
var i = s.options[0];
|
|
1545
|
-
i === "w" ? t =
|
|
1545
|
+
i === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : i && (t = L(L({}, t), er(i)));
|
|
1546
1546
|
continue;
|
|
1547
1547
|
}
|
|
1548
|
-
if (
|
|
1549
|
-
t =
|
|
1548
|
+
if (Fr.test(s.stem)) {
|
|
1549
|
+
t = L(L({}, t), er(s.stem));
|
|
1550
1550
|
continue;
|
|
1551
1551
|
}
|
|
1552
|
-
var a =
|
|
1553
|
-
a && (t =
|
|
1554
|
-
var
|
|
1555
|
-
|
|
1552
|
+
var a = Dr(s.stem);
|
|
1553
|
+
a && (t = L(L({}, t), a));
|
|
1554
|
+
var o = fs(s.stem);
|
|
1555
|
+
o && (t = L(L({}, t), o));
|
|
1556
1556
|
}
|
|
1557
1557
|
return t;
|
|
1558
1558
|
}
|
|
1559
|
-
var
|
|
1559
|
+
var tt = {
|
|
1560
1560
|
"001": [
|
|
1561
1561
|
"H",
|
|
1562
1562
|
"h"
|
|
@@ -2971,14 +2971,14 @@ var et = {
|
|
|
2971
2971
|
"h"
|
|
2972
2972
|
]
|
|
2973
2973
|
};
|
|
2974
|
-
function
|
|
2974
|
+
function ps(e, t) {
|
|
2975
2975
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2976
2976
|
var s = e.charAt(n);
|
|
2977
2977
|
if (s === "j") {
|
|
2978
2978
|
for (var i = 0; n + 1 < e.length && e.charAt(n + 1) === s; )
|
|
2979
2979
|
i++, n++;
|
|
2980
|
-
var a = 1 + (i & 1),
|
|
2981
|
-
for ((h == "H" || h == "k") && (
|
|
2980
|
+
var a = 1 + (i & 1), o = i < 2 ? 1 : 3 + (i >> 1), u = "a", h = ms(t);
|
|
2981
|
+
for ((h == "H" || h == "k") && (o = 0); o-- > 0; )
|
|
2982
2982
|
r += u;
|
|
2983
2983
|
for (; a-- > 0; )
|
|
2984
2984
|
r = h + r;
|
|
@@ -2987,7 +2987,7 @@ function ds(e, t) {
|
|
|
2987
2987
|
}
|
|
2988
2988
|
return r;
|
|
2989
2989
|
}
|
|
2990
|
-
function
|
|
2990
|
+
function ms(e) {
|
|
2991
2991
|
var t = e.hourCycle;
|
|
2992
2992
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2993
2993
|
e.hourCycles && // @ts-ignore
|
|
@@ -3006,23 +3006,23 @@ function ps(e) {
|
|
|
3006
3006
|
}
|
|
3007
3007
|
var r = e.language, n;
|
|
3008
3008
|
r !== "root" && (n = e.maximize().region);
|
|
3009
|
-
var s =
|
|
3009
|
+
var s = tt[n || ""] || tt[r || ""] || tt["".concat(r, "-001")] || tt["001"];
|
|
3010
3010
|
return s[0];
|
|
3011
3011
|
}
|
|
3012
|
-
var
|
|
3012
|
+
var yt, gs = new RegExp("^".concat(Lr.source, "*")), bs = new RegExp("".concat(Lr.source, "*$"));
|
|
3013
3013
|
function C(e, t) {
|
|
3014
3014
|
return { start: e, end: t };
|
|
3015
3015
|
}
|
|
3016
|
-
var
|
|
3016
|
+
var ws = !!String.prototype.startsWith && "_a".startsWith("a", 1), vs = !!String.fromCodePoint, ys = !!Object.fromEntries, _s = !!String.prototype.codePointAt, Ps = !!String.prototype.trimStart, Es = !!String.prototype.trimEnd, xs = !!Number.isSafeInteger, Ts = xs ? Number.isSafeInteger : function(e) {
|
|
3017
3017
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3018
|
-
},
|
|
3018
|
+
}, Nt = !0;
|
|
3019
3019
|
try {
|
|
3020
|
-
var
|
|
3021
|
-
|
|
3020
|
+
var Cs = $r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3021
|
+
Nt = ((yt = Cs.exec("a")) === null || yt === void 0 ? void 0 : yt[0]) === "a";
|
|
3022
3022
|
} catch {
|
|
3023
|
-
|
|
3023
|
+
Nt = !1;
|
|
3024
3024
|
}
|
|
3025
|
-
var
|
|
3025
|
+
var rr = ws ? (
|
|
3026
3026
|
// Native
|
|
3027
3027
|
function(t, r, n) {
|
|
3028
3028
|
return t.startsWith(r, n);
|
|
@@ -3032,7 +3032,7 @@ var tr = bs ? (
|
|
|
3032
3032
|
function(t, r, n) {
|
|
3033
3033
|
return t.slice(n, n + r.length) === r;
|
|
3034
3034
|
}
|
|
3035
|
-
),
|
|
3035
|
+
), Ot = vs ? String.fromCodePoint : (
|
|
3036
3036
|
// IE11
|
|
3037
3037
|
function() {
|
|
3038
3038
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3044,19 +3044,19 @@ var tr = bs ? (
|
|
|
3044
3044
|
}
|
|
3045
3045
|
return n;
|
|
3046
3046
|
}
|
|
3047
|
-
),
|
|
3047
|
+
), nr = (
|
|
3048
3048
|
// native
|
|
3049
|
-
|
|
3049
|
+
ys ? Object.fromEntries : (
|
|
3050
3050
|
// Ponyfill
|
|
3051
3051
|
function(t) {
|
|
3052
3052
|
for (var r = {}, n = 0, s = t; n < s.length; n++) {
|
|
3053
|
-
var i = s[n], a = i[0],
|
|
3054
|
-
r[a] =
|
|
3053
|
+
var i = s[n], a = i[0], o = i[1];
|
|
3054
|
+
r[a] = o;
|
|
3055
3055
|
}
|
|
3056
3056
|
return r;
|
|
3057
3057
|
}
|
|
3058
3058
|
)
|
|
3059
|
-
),
|
|
3059
|
+
), Ur = _s ? (
|
|
3060
3060
|
// Native
|
|
3061
3061
|
function(t, r) {
|
|
3062
3062
|
return t.codePointAt(r);
|
|
@@ -3070,7 +3070,7 @@ var tr = bs ? (
|
|
|
3070
3070
|
return s < 55296 || s > 56319 || r + 1 === n || (i = t.charCodeAt(r + 1)) < 56320 || i > 57343 ? s : (s - 55296 << 10) + (i - 56320) + 65536;
|
|
3071
3071
|
}
|
|
3072
3072
|
}
|
|
3073
|
-
),
|
|
3073
|
+
), Ss = Ps ? (
|
|
3074
3074
|
// Native
|
|
3075
3075
|
function(t) {
|
|
3076
3076
|
return t.trimStart();
|
|
@@ -3078,9 +3078,9 @@ var tr = bs ? (
|
|
|
3078
3078
|
) : (
|
|
3079
3079
|
// Ponyfill
|
|
3080
3080
|
function(t) {
|
|
3081
|
-
return t.replace(
|
|
3081
|
+
return t.replace(gs, "");
|
|
3082
3082
|
}
|
|
3083
|
-
),
|
|
3083
|
+
), Bs = Es ? (
|
|
3084
3084
|
// Native
|
|
3085
3085
|
function(t) {
|
|
3086
3086
|
return t.trimEnd();
|
|
@@ -3088,32 +3088,32 @@ var tr = bs ? (
|
|
|
3088
3088
|
) : (
|
|
3089
3089
|
// Ponyfill
|
|
3090
3090
|
function(t) {
|
|
3091
|
-
return t.replace(
|
|
3091
|
+
return t.replace(bs, "");
|
|
3092
3092
|
}
|
|
3093
3093
|
);
|
|
3094
|
-
function
|
|
3094
|
+
function $r(e, t) {
|
|
3095
3095
|
return new RegExp(e, t);
|
|
3096
3096
|
}
|
|
3097
|
-
var
|
|
3098
|
-
if (
|
|
3099
|
-
var
|
|
3100
|
-
|
|
3097
|
+
var Rt;
|
|
3098
|
+
if (Nt) {
|
|
3099
|
+
var sr = $r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3100
|
+
Rt = function(t, r) {
|
|
3101
3101
|
var n;
|
|
3102
|
-
|
|
3103
|
-
var s =
|
|
3102
|
+
sr.lastIndex = r;
|
|
3103
|
+
var s = sr.exec(t);
|
|
3104
3104
|
return (n = s[1]) !== null && n !== void 0 ? n : "";
|
|
3105
3105
|
};
|
|
3106
3106
|
} else
|
|
3107
|
-
|
|
3107
|
+
Rt = function(t, r) {
|
|
3108
3108
|
for (var n = []; ; ) {
|
|
3109
|
-
var s =
|
|
3110
|
-
if (s === void 0 ||
|
|
3109
|
+
var s = Ur(t, r);
|
|
3110
|
+
if (s === void 0 || Gr(s) || Ms(s))
|
|
3111
3111
|
break;
|
|
3112
3112
|
n.push(s), r += s >= 65536 ? 2 : 1;
|
|
3113
3113
|
}
|
|
3114
|
-
return
|
|
3114
|
+
return Ot.apply(void 0, n);
|
|
3115
3115
|
};
|
|
3116
|
-
var
|
|
3116
|
+
var As = (
|
|
3117
3117
|
/** @class */
|
|
3118
3118
|
function() {
|
|
3119
3119
|
function e(t, r) {
|
|
@@ -3135,16 +3135,16 @@ var Bs = (
|
|
|
3135
3135
|
if (i === 125 && t > 0)
|
|
3136
3136
|
break;
|
|
3137
3137
|
if (i === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3138
|
-
var
|
|
3138
|
+
var o = this.clonePosition();
|
|
3139
3139
|
this.bump(), s.push({
|
|
3140
|
-
type:
|
|
3141
|
-
location: C(
|
|
3140
|
+
type: N.pound,
|
|
3141
|
+
location: C(o, this.clonePosition())
|
|
3142
3142
|
});
|
|
3143
3143
|
} else if (i === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3144
3144
|
if (n)
|
|
3145
3145
|
break;
|
|
3146
|
-
return this.error(
|
|
3147
|
-
} else if (i === 60 && !this.ignoreTag &&
|
|
3146
|
+
return this.error(T.UNMATCHED_CLOSING_TAG, C(this.clonePosition(), this.clonePosition()));
|
|
3147
|
+
} else if (i === 60 && !this.ignoreTag && Lt(this.peek() || 0)) {
|
|
3148
3148
|
var a = this.parseTag(t, r);
|
|
3149
3149
|
if (a.err)
|
|
3150
3150
|
return a;
|
|
@@ -3165,7 +3165,7 @@ var Bs = (
|
|
|
3165
3165
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3166
3166
|
return {
|
|
3167
3167
|
val: {
|
|
3168
|
-
type:
|
|
3168
|
+
type: N.literal,
|
|
3169
3169
|
value: "<".concat(s, "/>"),
|
|
3170
3170
|
location: C(n, this.clonePosition())
|
|
3171
3171
|
},
|
|
@@ -3175,27 +3175,27 @@ var Bs = (
|
|
|
3175
3175
|
var i = this.parseMessage(t + 1, r, !0);
|
|
3176
3176
|
if (i.err)
|
|
3177
3177
|
return i;
|
|
3178
|
-
var a = i.val,
|
|
3178
|
+
var a = i.val, o = this.clonePosition();
|
|
3179
3179
|
if (this.bumpIf("</")) {
|
|
3180
|
-
if (this.isEOF() || !
|
|
3181
|
-
return this.error(
|
|
3180
|
+
if (this.isEOF() || !Lt(this.char()))
|
|
3181
|
+
return this.error(T.INVALID_TAG, C(o, this.clonePosition()));
|
|
3182
3182
|
var u = this.clonePosition(), h = this.parseTagName();
|
|
3183
|
-
return s !== h ? this.error(
|
|
3183
|
+
return s !== h ? this.error(T.UNMATCHED_CLOSING_TAG, C(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3184
3184
|
val: {
|
|
3185
|
-
type:
|
|
3185
|
+
type: N.tag,
|
|
3186
3186
|
value: s,
|
|
3187
3187
|
children: a,
|
|
3188
3188
|
location: C(n, this.clonePosition())
|
|
3189
3189
|
},
|
|
3190
3190
|
err: null
|
|
3191
|
-
} : this.error(
|
|
3191
|
+
} : this.error(T.INVALID_TAG, C(o, this.clonePosition())));
|
|
3192
3192
|
} else
|
|
3193
|
-
return this.error(
|
|
3193
|
+
return this.error(T.UNCLOSED_TAG, C(n, this.clonePosition()));
|
|
3194
3194
|
} else
|
|
3195
|
-
return this.error(
|
|
3195
|
+
return this.error(T.INVALID_TAG, C(n, this.clonePosition()));
|
|
3196
3196
|
}, e.prototype.parseTagName = function() {
|
|
3197
3197
|
var t = this.offset();
|
|
3198
|
-
for (this.bump(); !this.isEOF() &&
|
|
3198
|
+
for (this.bump(); !this.isEOF() && Is(this.char()); )
|
|
3199
3199
|
this.bump();
|
|
3200
3200
|
return this.message.slice(t, this.offset());
|
|
3201
3201
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3210,21 +3210,21 @@ var Bs = (
|
|
|
3210
3210
|
s += a;
|
|
3211
3211
|
continue;
|
|
3212
3212
|
}
|
|
3213
|
-
var
|
|
3214
|
-
if (
|
|
3215
|
-
s +=
|
|
3213
|
+
var o = this.tryParseLeftAngleBracket();
|
|
3214
|
+
if (o) {
|
|
3215
|
+
s += o;
|
|
3216
3216
|
continue;
|
|
3217
3217
|
}
|
|
3218
3218
|
break;
|
|
3219
3219
|
}
|
|
3220
3220
|
var u = C(n, this.clonePosition());
|
|
3221
3221
|
return {
|
|
3222
|
-
val: { type:
|
|
3222
|
+
val: { type: N.literal, value: s, location: u },
|
|
3223
3223
|
err: null
|
|
3224
3224
|
};
|
|
3225
3225
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3226
3226
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3227
|
-
!
|
|
3227
|
+
!Hs(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3228
3228
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3229
3229
|
if (this.isEOF() || this.char() !== 39)
|
|
3230
3230
|
return null;
|
|
@@ -3258,28 +3258,28 @@ var Bs = (
|
|
|
3258
3258
|
r.push(n);
|
|
3259
3259
|
this.bump();
|
|
3260
3260
|
}
|
|
3261
|
-
return
|
|
3261
|
+
return Ot.apply(void 0, r);
|
|
3262
3262
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3263
3263
|
if (this.isEOF())
|
|
3264
3264
|
return null;
|
|
3265
3265
|
var n = this.char();
|
|
3266
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3266
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ot(n));
|
|
3267
3267
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3268
3268
|
var n = this.clonePosition();
|
|
3269
3269
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3270
|
-
return this.error(
|
|
3270
|
+
return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, C(n, this.clonePosition()));
|
|
3271
3271
|
if (this.char() === 125)
|
|
3272
|
-
return this.bump(), this.error(
|
|
3272
|
+
return this.bump(), this.error(T.EMPTY_ARGUMENT, C(n, this.clonePosition()));
|
|
3273
3273
|
var s = this.parseIdentifierIfPossible().value;
|
|
3274
3274
|
if (!s)
|
|
3275
|
-
return this.error(
|
|
3275
|
+
return this.error(T.MALFORMED_ARGUMENT, C(n, this.clonePosition()));
|
|
3276
3276
|
if (this.bumpSpace(), this.isEOF())
|
|
3277
|
-
return this.error(
|
|
3277
|
+
return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, C(n, this.clonePosition()));
|
|
3278
3278
|
switch (this.char()) {
|
|
3279
3279
|
case 125:
|
|
3280
3280
|
return this.bump(), {
|
|
3281
3281
|
val: {
|
|
3282
|
-
type:
|
|
3282
|
+
type: N.argument,
|
|
3283
3283
|
// value does not include the opening and closing braces.
|
|
3284
3284
|
value: s,
|
|
3285
3285
|
location: C(n, this.clonePosition())
|
|
@@ -3287,20 +3287,20 @@ var Bs = (
|
|
|
3287
3287
|
err: null
|
|
3288
3288
|
};
|
|
3289
3289
|
case 44:
|
|
3290
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3290
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, C(n, this.clonePosition())) : this.parseArgumentOptions(t, r, s, n);
|
|
3291
3291
|
default:
|
|
3292
|
-
return this.error(
|
|
3292
|
+
return this.error(T.MALFORMED_ARGUMENT, C(n, this.clonePosition()));
|
|
3293
3293
|
}
|
|
3294
3294
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3295
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3295
|
+
var t = this.clonePosition(), r = this.offset(), n = Rt(this.message, r), s = r + n.length;
|
|
3296
3296
|
this.bumpTo(s);
|
|
3297
3297
|
var i = this.clonePosition(), a = C(t, i);
|
|
3298
3298
|
return { value: n, location: a };
|
|
3299
3299
|
}, e.prototype.parseArgumentOptions = function(t, r, n, s) {
|
|
3300
|
-
var i, a = this.clonePosition(),
|
|
3301
|
-
switch (
|
|
3300
|
+
var i, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
3301
|
+
switch (o) {
|
|
3302
3302
|
case "":
|
|
3303
|
-
return this.error(
|
|
3303
|
+
return this.error(T.EXPECT_ARGUMENT_TYPE, C(a, u));
|
|
3304
3304
|
case "number":
|
|
3305
3305
|
case "date":
|
|
3306
3306
|
case "time": {
|
|
@@ -3311,9 +3311,9 @@ var Bs = (
|
|
|
3311
3311
|
var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
|
3312
3312
|
if (d.err)
|
|
3313
3313
|
return d;
|
|
3314
|
-
var p =
|
|
3314
|
+
var p = Bs(d.val);
|
|
3315
3315
|
if (p.length === 0)
|
|
3316
|
-
return this.error(
|
|
3316
|
+
return this.error(T.EXPECT_ARGUMENT_STYLE, C(this.clonePosition(), this.clonePosition()));
|
|
3317
3317
|
var m = C(c, this.clonePosition());
|
|
3318
3318
|
h = { style: p, styleLocation: m };
|
|
3319
3319
|
}
|
|
@@ -3321,34 +3321,34 @@ var Bs = (
|
|
|
3321
3321
|
if (v.err)
|
|
3322
3322
|
return v;
|
|
3323
3323
|
var b = C(s, this.clonePosition());
|
|
3324
|
-
if (h &&
|
|
3325
|
-
var
|
|
3326
|
-
if (
|
|
3327
|
-
var d = this.parseNumberSkeletonFromString(
|
|
3324
|
+
if (h && rr(h?.style, "::", 0)) {
|
|
3325
|
+
var E = Ss(h.style.slice(2));
|
|
3326
|
+
if (o === "number") {
|
|
3327
|
+
var d = this.parseNumberSkeletonFromString(E, h.styleLocation);
|
|
3328
3328
|
return d.err ? d : {
|
|
3329
|
-
val: { type:
|
|
3329
|
+
val: { type: N.number, value: n, location: b, style: d.val },
|
|
3330
3330
|
err: null
|
|
3331
3331
|
};
|
|
3332
3332
|
} else {
|
|
3333
|
-
if (
|
|
3334
|
-
return this.error(
|
|
3335
|
-
var y =
|
|
3336
|
-
this.locale && (y =
|
|
3333
|
+
if (E.length === 0)
|
|
3334
|
+
return this.error(T.EXPECT_DATE_TIME_SKELETON, b);
|
|
3335
|
+
var y = E;
|
|
3336
|
+
this.locale && (y = ps(E, this.locale));
|
|
3337
3337
|
var p = {
|
|
3338
|
-
type:
|
|
3338
|
+
type: Ie.dateTime,
|
|
3339
3339
|
pattern: y,
|
|
3340
3340
|
location: h.styleLocation,
|
|
3341
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3342
|
-
},
|
|
3341
|
+
parsedOptions: this.shouldParseSkeletons ? os(y) : {}
|
|
3342
|
+
}, A = o === "date" ? N.date : N.time;
|
|
3343
3343
|
return {
|
|
3344
|
-
val: { type:
|
|
3344
|
+
val: { type: A, value: n, location: b, style: p },
|
|
3345
3345
|
err: null
|
|
3346
3346
|
};
|
|
3347
3347
|
}
|
|
3348
3348
|
}
|
|
3349
3349
|
return {
|
|
3350
3350
|
val: {
|
|
3351
|
-
type:
|
|
3351
|
+
type: o === "number" ? N.number : o === "date" ? N.date : N.time,
|
|
3352
3352
|
value: n,
|
|
3353
3353
|
location: b,
|
|
3354
3354
|
style: (i = h?.style) !== null && i !== void 0 ? i : null
|
|
@@ -3359,52 +3359,52 @@ var Bs = (
|
|
|
3359
3359
|
case "plural":
|
|
3360
3360
|
case "selectordinal":
|
|
3361
3361
|
case "select": {
|
|
3362
|
-
var
|
|
3362
|
+
var O = this.clonePosition();
|
|
3363
3363
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3364
|
-
return this.error(
|
|
3364
|
+
return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, C(O, at({}, O)));
|
|
3365
3365
|
this.bumpSpace();
|
|
3366
|
-
var
|
|
3367
|
-
if (
|
|
3366
|
+
var k = this.parseIdentifierIfPossible(), D = 0;
|
|
3367
|
+
if (o !== "select" && k.value === "offset") {
|
|
3368
3368
|
if (!this.bumpIf(":"))
|
|
3369
|
-
return this.error(
|
|
3369
|
+
return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, C(this.clonePosition(), this.clonePosition()));
|
|
3370
3370
|
this.bumpSpace();
|
|
3371
|
-
var d = this.tryParseDecimalInteger(
|
|
3371
|
+
var d = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3372
3372
|
if (d.err)
|
|
3373
3373
|
return d;
|
|
3374
|
-
this.bumpSpace(),
|
|
3374
|
+
this.bumpSpace(), k = this.parseIdentifierIfPossible(), D = d.val;
|
|
3375
3375
|
}
|
|
3376
|
-
var
|
|
3377
|
-
if (
|
|
3378
|
-
return
|
|
3376
|
+
var M = this.tryParsePluralOrSelectOptions(t, o, r, k);
|
|
3377
|
+
if (M.err)
|
|
3378
|
+
return M;
|
|
3379
3379
|
var v = this.tryParseArgumentClose(s);
|
|
3380
3380
|
if (v.err)
|
|
3381
3381
|
return v;
|
|
3382
3382
|
var X = C(s, this.clonePosition());
|
|
3383
|
-
return
|
|
3383
|
+
return o === "select" ? {
|
|
3384
3384
|
val: {
|
|
3385
|
-
type:
|
|
3385
|
+
type: N.select,
|
|
3386
3386
|
value: n,
|
|
3387
|
-
options:
|
|
3387
|
+
options: nr(M.val),
|
|
3388
3388
|
location: X
|
|
3389
3389
|
},
|
|
3390
3390
|
err: null
|
|
3391
3391
|
} : {
|
|
3392
3392
|
val: {
|
|
3393
|
-
type:
|
|
3393
|
+
type: N.plural,
|
|
3394
3394
|
value: n,
|
|
3395
|
-
options:
|
|
3396
|
-
offset:
|
|
3397
|
-
pluralType:
|
|
3395
|
+
options: nr(M.val),
|
|
3396
|
+
offset: D,
|
|
3397
|
+
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
3398
3398
|
location: X
|
|
3399
3399
|
},
|
|
3400
3400
|
err: null
|
|
3401
3401
|
};
|
|
3402
3402
|
}
|
|
3403
3403
|
default:
|
|
3404
|
-
return this.error(
|
|
3404
|
+
return this.error(T.INVALID_ARGUMENT_TYPE, C(a, u));
|
|
3405
3405
|
}
|
|
3406
3406
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3407
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3407
|
+
return this.isEOF() || this.char() !== 125 ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, C(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3408
3408
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3409
3409
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3410
3410
|
var n = this.char();
|
|
@@ -3413,7 +3413,7 @@ var Bs = (
|
|
|
3413
3413
|
this.bump();
|
|
3414
3414
|
var s = this.clonePosition();
|
|
3415
3415
|
if (!this.bumpUntil("'"))
|
|
3416
|
-
return this.error(
|
|
3416
|
+
return this.error(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, C(s, this.clonePosition()));
|
|
3417
3417
|
this.bump();
|
|
3418
3418
|
break;
|
|
3419
3419
|
}
|
|
@@ -3443,25 +3443,25 @@ var Bs = (
|
|
|
3443
3443
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3444
3444
|
var n = [];
|
|
3445
3445
|
try {
|
|
3446
|
-
n =
|
|
3446
|
+
n = us(t);
|
|
3447
3447
|
} catch {
|
|
3448
|
-
return this.error(
|
|
3448
|
+
return this.error(T.INVALID_NUMBER_SKELETON, r);
|
|
3449
3449
|
}
|
|
3450
3450
|
return {
|
|
3451
3451
|
val: {
|
|
3452
|
-
type:
|
|
3452
|
+
type: Ie.number,
|
|
3453
3453
|
tokens: n,
|
|
3454
3454
|
location: r,
|
|
3455
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3455
|
+
parsedOptions: this.shouldParseSkeletons ? ds(n) : {}
|
|
3456
3456
|
},
|
|
3457
3457
|
err: null
|
|
3458
3458
|
};
|
|
3459
3459
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, s) {
|
|
3460
|
-
for (var i, a = !1,
|
|
3460
|
+
for (var i, a = !1, o = [], u = /* @__PURE__ */ new Set(), h = s.value, c = s.location; ; ) {
|
|
3461
3461
|
if (h.length === 0) {
|
|
3462
3462
|
var d = this.clonePosition();
|
|
3463
3463
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3464
|
-
var p = this.tryParseDecimalInteger(
|
|
3464
|
+
var p = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR, T.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3465
3465
|
if (p.err)
|
|
3466
3466
|
return p;
|
|
3467
3467
|
c = C(d, this.clonePosition()), h = this.message.slice(d.offset, this.offset());
|
|
@@ -3469,18 +3469,18 @@ var Bs = (
|
|
|
3469
3469
|
break;
|
|
3470
3470
|
}
|
|
3471
3471
|
if (u.has(h))
|
|
3472
|
-
return this.error(r === "select" ?
|
|
3472
|
+
return this.error(r === "select" ? T.DUPLICATE_SELECT_ARGUMENT_SELECTOR : T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
|
3473
3473
|
h === "other" && (a = !0), this.bumpSpace();
|
|
3474
3474
|
var m = this.clonePosition();
|
|
3475
3475
|
if (!this.bumpIf("{"))
|
|
3476
|
-
return this.error(r === "select" ?
|
|
3476
|
+
return this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, C(this.clonePosition(), this.clonePosition()));
|
|
3477
3477
|
var v = this.parseMessage(t + 1, r, n);
|
|
3478
3478
|
if (v.err)
|
|
3479
3479
|
return v;
|
|
3480
3480
|
var b = this.tryParseArgumentClose(m);
|
|
3481
3481
|
if (b.err)
|
|
3482
3482
|
return b;
|
|
3483
|
-
|
|
3483
|
+
o.push([
|
|
3484
3484
|
h,
|
|
3485
3485
|
{
|
|
3486
3486
|
value: v.val,
|
|
@@ -3488,19 +3488,19 @@ var Bs = (
|
|
|
3488
3488
|
}
|
|
3489
3489
|
]), u.add(h), this.bumpSpace(), i = this.parseIdentifierIfPossible(), h = i.value, c = i.location;
|
|
3490
3490
|
}
|
|
3491
|
-
return
|
|
3491
|
+
return o.length === 0 ? this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR : T.EXPECT_PLURAL_ARGUMENT_SELECTOR, C(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(T.MISSING_OTHER_CLAUSE, C(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
|
|
3492
3492
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3493
3493
|
var n = 1, s = this.clonePosition();
|
|
3494
3494
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3495
3495
|
for (var i = !1, a = 0; !this.isEOF(); ) {
|
|
3496
|
-
var
|
|
3497
|
-
if (
|
|
3498
|
-
i = !0, a = a * 10 + (
|
|
3496
|
+
var o = this.char();
|
|
3497
|
+
if (o >= 48 && o <= 57)
|
|
3498
|
+
i = !0, a = a * 10 + (o - 48), this.bump();
|
|
3499
3499
|
else
|
|
3500
3500
|
break;
|
|
3501
3501
|
}
|
|
3502
3502
|
var u = C(s, this.clonePosition());
|
|
3503
|
-
return i ? (a *= n,
|
|
3503
|
+
return i ? (a *= n, Ts(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3504
3504
|
}, e.prototype.offset = function() {
|
|
3505
3505
|
return this.position.offset;
|
|
3506
3506
|
}, e.prototype.isEOF = function() {
|
|
@@ -3515,7 +3515,7 @@ var Bs = (
|
|
|
3515
3515
|
var t = this.position.offset;
|
|
3516
3516
|
if (t >= this.message.length)
|
|
3517
3517
|
throw Error("out of bound");
|
|
3518
|
-
var r =
|
|
3518
|
+
var r = Ur(this.message, t);
|
|
3519
3519
|
if (r === void 0)
|
|
3520
3520
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3521
3521
|
return r;
|
|
@@ -3534,7 +3534,7 @@ var Bs = (
|
|
|
3534
3534
|
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);
|
|
3535
3535
|
}
|
|
3536
3536
|
}, e.prototype.bumpIf = function(t) {
|
|
3537
|
-
if (
|
|
3537
|
+
if (rr(this.message, t, this.offset())) {
|
|
3538
3538
|
for (var r = 0; r < t.length; r++)
|
|
3539
3539
|
this.bump();
|
|
3540
3540
|
return !0;
|
|
@@ -3556,7 +3556,7 @@ var Bs = (
|
|
|
3556
3556
|
break;
|
|
3557
3557
|
}
|
|
3558
3558
|
}, e.prototype.bumpSpace = function() {
|
|
3559
|
-
for (; !this.isEOF() &&
|
|
3559
|
+
for (; !this.isEOF() && Gr(this.char()); )
|
|
3560
3560
|
this.bump();
|
|
3561
3561
|
}, e.prototype.peek = function() {
|
|
3562
3562
|
if (this.isEOF())
|
|
@@ -3566,47 +3566,47 @@ var Bs = (
|
|
|
3566
3566
|
}, e;
|
|
3567
3567
|
}()
|
|
3568
3568
|
);
|
|
3569
|
-
function
|
|
3569
|
+
function Lt(e) {
|
|
3570
3570
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3571
3571
|
}
|
|
3572
|
-
function As(e) {
|
|
3573
|
-
return Rt(e) || e === 47;
|
|
3574
|
-
}
|
|
3575
3572
|
function Hs(e) {
|
|
3573
|
+
return Lt(e) || e === 47;
|
|
3574
|
+
}
|
|
3575
|
+
function Is(e) {
|
|
3576
3576
|
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;
|
|
3577
3577
|
}
|
|
3578
|
-
function
|
|
3578
|
+
function Gr(e) {
|
|
3579
3579
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3580
3580
|
}
|
|
3581
|
-
function
|
|
3581
|
+
function Ms(e) {
|
|
3582
3582
|
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;
|
|
3583
3583
|
}
|
|
3584
|
-
function
|
|
3584
|
+
function Ft(e) {
|
|
3585
3585
|
e.forEach(function(t) {
|
|
3586
|
-
if (delete t.location,
|
|
3586
|
+
if (delete t.location, Mr(t) || Nr(t))
|
|
3587
3587
|
for (var r in t.options)
|
|
3588
|
-
delete t.options[r].location,
|
|
3588
|
+
delete t.options[r].location, Ft(t.options[r].value);
|
|
3589
3589
|
else
|
|
3590
|
-
|
|
3590
|
+
Ar(t) && Rr(t.style) || (Hr(t) || Ir(t)) && Mt(t.style) ? delete t.style.location : Or(t) && Ft(t.children);
|
|
3591
3591
|
});
|
|
3592
3592
|
}
|
|
3593
|
-
function
|
|
3594
|
-
t === void 0 && (t = {}), t =
|
|
3595
|
-
var r = new
|
|
3593
|
+
function Ns(e, t) {
|
|
3594
|
+
t === void 0 && (t = {}), t = at({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3595
|
+
var r = new As(e, t).parse();
|
|
3596
3596
|
if (r.err) {
|
|
3597
|
-
var n = SyntaxError(
|
|
3597
|
+
var n = SyntaxError(T[r.err.kind]);
|
|
3598
3598
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3599
3599
|
}
|
|
3600
|
-
return t?.captureLocation ||
|
|
3600
|
+
return t?.captureLocation || Ft(r.val), r.val;
|
|
3601
3601
|
}
|
|
3602
|
-
var
|
|
3602
|
+
var Me;
|
|
3603
3603
|
(function(e) {
|
|
3604
3604
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3605
|
-
})(
|
|
3606
|
-
var
|
|
3605
|
+
})(Me || (Me = {}));
|
|
3606
|
+
var ft = (
|
|
3607
3607
|
/** @class */
|
|
3608
3608
|
function(e) {
|
|
3609
|
-
|
|
3609
|
+
ct(t, e);
|
|
3610
3610
|
function t(r, n, s) {
|
|
3611
3611
|
var i = e.call(this, r) || this;
|
|
3612
3612
|
return i.code = n, i.originalMessage = s, i;
|
|
@@ -3615,65 +3615,65 @@ var ct = (
|
|
|
3615
3615
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3616
3616
|
}, t;
|
|
3617
3617
|
}(Error)
|
|
3618
|
-
),
|
|
3618
|
+
), ir = (
|
|
3619
3619
|
/** @class */
|
|
3620
3620
|
function(e) {
|
|
3621
|
-
|
|
3621
|
+
ct(t, e);
|
|
3622
3622
|
function t(r, n, s, i) {
|
|
3623
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(s).join('", "'), '"'),
|
|
3623
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(s).join('", "'), '"'), Me.INVALID_VALUE, i) || this;
|
|
3624
3624
|
}
|
|
3625
3625
|
return t;
|
|
3626
|
-
}(
|
|
3627
|
-
),
|
|
3626
|
+
}(ft)
|
|
3627
|
+
), Os = (
|
|
3628
3628
|
/** @class */
|
|
3629
3629
|
function(e) {
|
|
3630
|
-
|
|
3630
|
+
ct(t, e);
|
|
3631
3631
|
function t(r, n, s) {
|
|
3632
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3632
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Me.INVALID_VALUE, s) || this;
|
|
3633
3633
|
}
|
|
3634
3634
|
return t;
|
|
3635
|
-
}(
|
|
3636
|
-
),
|
|
3635
|
+
}(ft)
|
|
3636
|
+
), Rs = (
|
|
3637
3637
|
/** @class */
|
|
3638
3638
|
function(e) {
|
|
3639
|
-
|
|
3639
|
+
ct(t, e);
|
|
3640
3640
|
function t(r, n) {
|
|
3641
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3641
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Me.MISSING_VALUE, n) || this;
|
|
3642
3642
|
}
|
|
3643
3643
|
return t;
|
|
3644
|
-
}(
|
|
3644
|
+
}(ft)
|
|
3645
3645
|
), W;
|
|
3646
3646
|
(function(e) {
|
|
3647
3647
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3648
3648
|
})(W || (W = {}));
|
|
3649
|
-
function
|
|
3649
|
+
function Ls(e) {
|
|
3650
3650
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3651
3651
|
var n = t[t.length - 1];
|
|
3652
3652
|
return !n || n.type !== W.literal || r.type !== W.literal ? t.push(r) : n.value += r.value, t;
|
|
3653
3653
|
}, []);
|
|
3654
3654
|
}
|
|
3655
|
-
function
|
|
3655
|
+
function Fs(e) {
|
|
3656
3656
|
return typeof e == "function";
|
|
3657
3657
|
}
|
|
3658
|
-
function
|
|
3659
|
-
if (e.length === 1 &&
|
|
3658
|
+
function st(e, t, r, n, s, i, a) {
|
|
3659
|
+
if (e.length === 1 && qt(e[0]))
|
|
3660
3660
|
return [
|
|
3661
3661
|
{
|
|
3662
3662
|
type: W.literal,
|
|
3663
3663
|
value: e[0].value
|
|
3664
3664
|
}
|
|
3665
3665
|
];
|
|
3666
|
-
for (var
|
|
3666
|
+
for (var o = [], u = 0, h = e; u < h.length; u++) {
|
|
3667
3667
|
var c = h[u];
|
|
3668
|
-
if (
|
|
3669
|
-
|
|
3668
|
+
if (qt(c)) {
|
|
3669
|
+
o.push({
|
|
3670
3670
|
type: W.literal,
|
|
3671
3671
|
value: c.value
|
|
3672
3672
|
});
|
|
3673
3673
|
continue;
|
|
3674
3674
|
}
|
|
3675
|
-
if (
|
|
3676
|
-
typeof i == "number" &&
|
|
3675
|
+
if (is(c)) {
|
|
3676
|
+
typeof i == "number" && o.push({
|
|
3677
3677
|
type: W.literal,
|
|
3678
3678
|
value: r.getNumberFormat(t).format(i)
|
|
3679
3679
|
});
|
|
@@ -3681,89 +3681,89 @@ function nt(e, t, r, n, s, i, a) {
|
|
|
3681
3681
|
}
|
|
3682
3682
|
var d = c.value;
|
|
3683
3683
|
if (!(s && d in s))
|
|
3684
|
-
throw new
|
|
3684
|
+
throw new Rs(d, a);
|
|
3685
3685
|
var p = s[d];
|
|
3686
|
-
if (
|
|
3687
|
-
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""),
|
|
3686
|
+
if (ss(c)) {
|
|
3687
|
+
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), o.push({
|
|
3688
3688
|
type: typeof p == "string" ? W.literal : W.object,
|
|
3689
3689
|
value: p
|
|
3690
3690
|
});
|
|
3691
3691
|
continue;
|
|
3692
3692
|
}
|
|
3693
|
-
if (
|
|
3694
|
-
var m = typeof c.style == "string" ? n.date[c.style] :
|
|
3695
|
-
|
|
3693
|
+
if (Hr(c)) {
|
|
3694
|
+
var m = typeof c.style == "string" ? n.date[c.style] : Mt(c.style) ? c.style.parsedOptions : void 0;
|
|
3695
|
+
o.push({
|
|
3696
3696
|
type: W.literal,
|
|
3697
3697
|
value: r.getDateTimeFormat(t, m).format(p)
|
|
3698
3698
|
});
|
|
3699
3699
|
continue;
|
|
3700
3700
|
}
|
|
3701
|
-
if (
|
|
3702
|
-
var m = typeof c.style == "string" ? n.time[c.style] :
|
|
3703
|
-
|
|
3701
|
+
if (Ir(c)) {
|
|
3702
|
+
var m = typeof c.style == "string" ? n.time[c.style] : Mt(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3703
|
+
o.push({
|
|
3704
3704
|
type: W.literal,
|
|
3705
3705
|
value: r.getDateTimeFormat(t, m).format(p)
|
|
3706
3706
|
});
|
|
3707
3707
|
continue;
|
|
3708
3708
|
}
|
|
3709
|
-
if (
|
|
3710
|
-
var m = typeof c.style == "string" ? n.number[c.style] :
|
|
3711
|
-
m && m.scale && (p = p * (m.scale || 1)),
|
|
3709
|
+
if (Ar(c)) {
|
|
3710
|
+
var m = typeof c.style == "string" ? n.number[c.style] : Rr(c.style) ? c.style.parsedOptions : void 0;
|
|
3711
|
+
m && m.scale && (p = p * (m.scale || 1)), o.push({
|
|
3712
3712
|
type: W.literal,
|
|
3713
3713
|
value: r.getNumberFormat(t, m).format(p)
|
|
3714
3714
|
});
|
|
3715
3715
|
continue;
|
|
3716
3716
|
}
|
|
3717
|
-
if (
|
|
3718
|
-
var v = c.children, b = c.value,
|
|
3719
|
-
if (!
|
|
3720
|
-
throw new
|
|
3721
|
-
var y =
|
|
3722
|
-
return
|
|
3717
|
+
if (Or(c)) {
|
|
3718
|
+
var v = c.children, b = c.value, E = s[b];
|
|
3719
|
+
if (!Fs(E))
|
|
3720
|
+
throw new Os(b, "function", a);
|
|
3721
|
+
var y = st(v, t, r, n, s, i), A = E(y.map(function(D) {
|
|
3722
|
+
return D.value;
|
|
3723
3723
|
}));
|
|
3724
|
-
Array.isArray(
|
|
3724
|
+
Array.isArray(A) || (A = [A]), o.push.apply(o, A.map(function(D) {
|
|
3725
3725
|
return {
|
|
3726
|
-
type: typeof
|
|
3727
|
-
value:
|
|
3726
|
+
type: typeof D == "string" ? W.literal : W.object,
|
|
3727
|
+
value: D
|
|
3728
3728
|
};
|
|
3729
3729
|
}));
|
|
3730
3730
|
}
|
|
3731
|
-
if (
|
|
3732
|
-
var
|
|
3733
|
-
if (!
|
|
3734
|
-
throw new
|
|
3735
|
-
|
|
3731
|
+
if (Mr(c)) {
|
|
3732
|
+
var O = c.options[p] || c.options.other;
|
|
3733
|
+
if (!O)
|
|
3734
|
+
throw new ir(c.value, p, Object.keys(c.options), a);
|
|
3735
|
+
o.push.apply(o, st(O.value, t, r, n, s));
|
|
3736
3736
|
continue;
|
|
3737
3737
|
}
|
|
3738
|
-
if (
|
|
3739
|
-
var
|
|
3740
|
-
if (!
|
|
3738
|
+
if (Nr(c)) {
|
|
3739
|
+
var O = c.options["=".concat(p)];
|
|
3740
|
+
if (!O) {
|
|
3741
3741
|
if (!Intl.PluralRules)
|
|
3742
|
-
throw new
|
|
3742
|
+
throw new ft(`Intl.PluralRules is not available in this environment.
|
|
3743
3743
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3744
|
-
`,
|
|
3745
|
-
var
|
|
3746
|
-
|
|
3744
|
+
`, Me.MISSING_INTL_API, a);
|
|
3745
|
+
var k = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
|
|
3746
|
+
O = c.options[k] || c.options.other;
|
|
3747
3747
|
}
|
|
3748
|
-
if (!
|
|
3749
|
-
throw new
|
|
3750
|
-
|
|
3748
|
+
if (!O)
|
|
3749
|
+
throw new ir(c.value, p, Object.keys(c.options), a);
|
|
3750
|
+
o.push.apply(o, st(O.value, t, r, n, s, p - (c.offset || 0)));
|
|
3751
3751
|
continue;
|
|
3752
3752
|
}
|
|
3753
3753
|
}
|
|
3754
|
-
return
|
|
3754
|
+
return Ls(o);
|
|
3755
3755
|
}
|
|
3756
|
-
function
|
|
3757
|
-
return t ?
|
|
3758
|
-
return r[n] =
|
|
3756
|
+
function ks(e, t) {
|
|
3757
|
+
return t ? se(se(se({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3758
|
+
return r[n] = se(se({}, e[n]), t[n] || {}), r;
|
|
3759
3759
|
}, {})) : e;
|
|
3760
3760
|
}
|
|
3761
|
-
function
|
|
3761
|
+
function Ds(e, t) {
|
|
3762
3762
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3763
|
-
return r[n] =
|
|
3764
|
-
},
|
|
3763
|
+
return r[n] = ks(e[n], t[n]), r;
|
|
3764
|
+
}, se({}, e)) : e;
|
|
3765
3765
|
}
|
|
3766
|
-
function
|
|
3766
|
+
function _t(e) {
|
|
3767
3767
|
return {
|
|
3768
3768
|
create: function() {
|
|
3769
3769
|
return {
|
|
@@ -3777,39 +3777,39 @@ function yt(e) {
|
|
|
3777
3777
|
}
|
|
3778
3778
|
};
|
|
3779
3779
|
}
|
|
3780
|
-
function
|
|
3780
|
+
function Us(e) {
|
|
3781
3781
|
return e === void 0 && (e = {
|
|
3782
3782
|
number: {},
|
|
3783
3783
|
dateTime: {},
|
|
3784
3784
|
pluralRules: {}
|
|
3785
3785
|
}), {
|
|
3786
|
-
getNumberFormat:
|
|
3786
|
+
getNumberFormat: wt(function() {
|
|
3787
3787
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3788
3788
|
r[n] = arguments[n];
|
|
3789
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3789
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, bt([void 0], r, !1)))();
|
|
3790
3790
|
}, {
|
|
3791
|
-
cache:
|
|
3792
|
-
strategy:
|
|
3791
|
+
cache: _t(e.number),
|
|
3792
|
+
strategy: vt.variadic
|
|
3793
3793
|
}),
|
|
3794
|
-
getDateTimeFormat:
|
|
3794
|
+
getDateTimeFormat: wt(function() {
|
|
3795
3795
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3796
3796
|
r[n] = arguments[n];
|
|
3797
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3797
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, bt([void 0], r, !1)))();
|
|
3798
3798
|
}, {
|
|
3799
|
-
cache:
|
|
3800
|
-
strategy:
|
|
3799
|
+
cache: _t(e.dateTime),
|
|
3800
|
+
strategy: vt.variadic
|
|
3801
3801
|
}),
|
|
3802
|
-
getPluralRules:
|
|
3802
|
+
getPluralRules: wt(function() {
|
|
3803
3803
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3804
3804
|
r[n] = arguments[n];
|
|
3805
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3805
|
+
return new ((t = Intl.PluralRules).bind.apply(t, bt([void 0], r, !1)))();
|
|
3806
3806
|
}, {
|
|
3807
|
-
cache:
|
|
3808
|
-
strategy:
|
|
3807
|
+
cache: _t(e.pluralRules),
|
|
3808
|
+
strategy: vt.variadic
|
|
3809
3809
|
})
|
|
3810
3810
|
};
|
|
3811
3811
|
}
|
|
3812
|
-
var
|
|
3812
|
+
var $s = (
|
|
3813
3813
|
/** @class */
|
|
3814
3814
|
function() {
|
|
3815
3815
|
function e(t, r, n, s) {
|
|
@@ -3828,7 +3828,7 @@ var Us = (
|
|
|
3828
3828
|
}, []);
|
|
3829
3829
|
return c.length <= 1 ? c[0] || "" : c;
|
|
3830
3830
|
}, this.formatToParts = function(u) {
|
|
3831
|
-
return
|
|
3831
|
+
return st(i.ast, i.locales, i.formatters, i.formats, u, void 0, i.message);
|
|
3832
3832
|
}, this.resolvedOptions = function() {
|
|
3833
3833
|
var u;
|
|
3834
3834
|
return {
|
|
@@ -3841,13 +3841,13 @@ var Us = (
|
|
|
3841
3841
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3842
3842
|
var a = s || {};
|
|
3843
3843
|
a.formatters;
|
|
3844
|
-
var
|
|
3845
|
-
this.ast = e.__parse(t,
|
|
3844
|
+
var o = Qn(a, ["formatters"]);
|
|
3845
|
+
this.ast = e.__parse(t, se(se({}, o), { locale: this.resolvedLocale }));
|
|
3846
3846
|
} else
|
|
3847
3847
|
this.ast = t;
|
|
3848
3848
|
if (!Array.isArray(this.ast))
|
|
3849
3849
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3850
|
-
this.formats =
|
|
3850
|
+
this.formats = Ds(e.formats, n), this.formatters = s && s.formatters || Us(this.formatterCache);
|
|
3851
3851
|
}
|
|
3852
3852
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3853
3853
|
get: function() {
|
|
@@ -3860,7 +3860,7 @@ var Us = (
|
|
|
3860
3860
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3861
3861
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3862
3862
|
}
|
|
3863
|
-
}, e.__parse =
|
|
3863
|
+
}, e.__parse = Ns, e.formats = {
|
|
3864
3864
|
number: {
|
|
3865
3865
|
integer: {
|
|
3866
3866
|
maximumFractionDigits: 0
|
|
@@ -3921,7 +3921,7 @@ var Us = (
|
|
|
3921
3921
|
}, e;
|
|
3922
3922
|
}()
|
|
3923
3923
|
);
|
|
3924
|
-
function
|
|
3924
|
+
function Gs(e, t) {
|
|
3925
3925
|
if (t == null)
|
|
3926
3926
|
return;
|
|
3927
3927
|
if (t in e)
|
|
@@ -3942,92 +3942,92 @@ function $s(e, t) {
|
|
|
3942
3942
|
n = void 0;
|
|
3943
3943
|
return n;
|
|
3944
3944
|
}
|
|
3945
|
-
const
|
|
3945
|
+
const ce = {}, js = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), jr = (e, t) => {
|
|
3946
3946
|
if (t == null)
|
|
3947
3947
|
return;
|
|
3948
|
-
if (t in
|
|
3949
|
-
return
|
|
3950
|
-
const r =
|
|
3948
|
+
if (t in ce && e in ce[t])
|
|
3949
|
+
return ce[t][e];
|
|
3950
|
+
const r = dt(t);
|
|
3951
3951
|
for (let n = 0; n < r.length; n++) {
|
|
3952
|
-
const s = r[n], i =
|
|
3952
|
+
const s = r[n], i = zs(s, e);
|
|
3953
3953
|
if (i)
|
|
3954
|
-
return
|
|
3954
|
+
return js(e, t, i);
|
|
3955
3955
|
}
|
|
3956
3956
|
};
|
|
3957
|
-
let
|
|
3958
|
-
const Xe =
|
|
3959
|
-
function
|
|
3960
|
-
return
|
|
3957
|
+
let Ut;
|
|
3958
|
+
const Xe = ht({});
|
|
3959
|
+
function Vs(e) {
|
|
3960
|
+
return Ut[e] || null;
|
|
3961
3961
|
}
|
|
3962
|
-
function
|
|
3963
|
-
return e in
|
|
3962
|
+
function Vr(e) {
|
|
3963
|
+
return e in Ut;
|
|
3964
3964
|
}
|
|
3965
|
-
function
|
|
3966
|
-
if (!
|
|
3965
|
+
function zs(e, t) {
|
|
3966
|
+
if (!Vr(e))
|
|
3967
3967
|
return null;
|
|
3968
|
-
const r =
|
|
3969
|
-
return
|
|
3968
|
+
const r = Vs(e);
|
|
3969
|
+
return Gs(r, t);
|
|
3970
3970
|
}
|
|
3971
|
-
function
|
|
3971
|
+
function Ws(e) {
|
|
3972
3972
|
if (e == null)
|
|
3973
3973
|
return;
|
|
3974
|
-
const t =
|
|
3974
|
+
const t = dt(e);
|
|
3975
3975
|
for (let r = 0; r < t.length; r++) {
|
|
3976
3976
|
const n = t[r];
|
|
3977
|
-
if (
|
|
3977
|
+
if (Vr(n))
|
|
3978
3978
|
return n;
|
|
3979
3979
|
}
|
|
3980
3980
|
}
|
|
3981
|
-
function
|
|
3982
|
-
delete
|
|
3981
|
+
function zr(e, ...t) {
|
|
3982
|
+
delete ce[e], Xe.update((r) => (r[e] = Yn.all([r[e] || {}, ...t]), r));
|
|
3983
3983
|
}
|
|
3984
|
-
|
|
3984
|
+
Re(
|
|
3985
3985
|
[Xe],
|
|
3986
3986
|
([e]) => Object.keys(e)
|
|
3987
3987
|
);
|
|
3988
|
-
Xe.subscribe((e) =>
|
|
3989
|
-
const
|
|
3990
|
-
function
|
|
3991
|
-
|
|
3988
|
+
Xe.subscribe((e) => Ut = e);
|
|
3989
|
+
const it = {};
|
|
3990
|
+
function Xs(e, t) {
|
|
3991
|
+
it[e].delete(t), it[e].size === 0 && delete it[e];
|
|
3992
3992
|
}
|
|
3993
|
-
function
|
|
3994
|
-
return
|
|
3993
|
+
function Wr(e) {
|
|
3994
|
+
return it[e];
|
|
3995
3995
|
}
|
|
3996
|
-
function
|
|
3997
|
-
return
|
|
3998
|
-
const r =
|
|
3996
|
+
function Zs(e) {
|
|
3997
|
+
return dt(e).map((t) => {
|
|
3998
|
+
const r = Wr(t);
|
|
3999
3999
|
return [t, r ? [...r] : []];
|
|
4000
4000
|
}).filter(([, t]) => t.length > 0);
|
|
4001
4001
|
}
|
|
4002
|
-
function
|
|
4003
|
-
return e == null ? !1 :
|
|
4002
|
+
function kt(e) {
|
|
4003
|
+
return e == null ? !1 : dt(e).some(
|
|
4004
4004
|
(t) => {
|
|
4005
4005
|
var r;
|
|
4006
|
-
return (r =
|
|
4006
|
+
return (r = Wr(t)) == null ? void 0 : r.size;
|
|
4007
4007
|
}
|
|
4008
4008
|
);
|
|
4009
4009
|
}
|
|
4010
|
-
function
|
|
4010
|
+
function Ys(e, t) {
|
|
4011
4011
|
return Promise.all(
|
|
4012
|
-
t.map((n) => (
|
|
4013
|
-
).then((n) =>
|
|
4012
|
+
t.map((n) => (Xs(e, n), n().then((s) => s.default || s)))
|
|
4013
|
+
).then((n) => zr(e, ...n));
|
|
4014
4014
|
}
|
|
4015
4015
|
const $e = {};
|
|
4016
|
-
function
|
|
4017
|
-
if (!
|
|
4016
|
+
function Xr(e) {
|
|
4017
|
+
if (!kt(e))
|
|
4018
4018
|
return e in $e ? $e[e] : Promise.resolve();
|
|
4019
|
-
const t =
|
|
4019
|
+
const t = Zs(e);
|
|
4020
4020
|
return $e[e] = Promise.all(
|
|
4021
4021
|
t.map(
|
|
4022
|
-
([r, n]) =>
|
|
4022
|
+
([r, n]) => Ys(r, n)
|
|
4023
4023
|
)
|
|
4024
4024
|
).then(() => {
|
|
4025
|
-
if (
|
|
4026
|
-
return
|
|
4025
|
+
if (kt(e))
|
|
4026
|
+
return Xr(e);
|
|
4027
4027
|
delete $e[e];
|
|
4028
4028
|
}), $e[e];
|
|
4029
4029
|
}
|
|
4030
|
-
const
|
|
4030
|
+
const Qs = {
|
|
4031
4031
|
number: {
|
|
4032
4032
|
scientific: { notation: "scientific" },
|
|
4033
4033
|
engineering: { notation: "engineering" },
|
|
@@ -4056,159 +4056,159 @@ const Ys = {
|
|
|
4056
4056
|
timeZoneName: "short"
|
|
4057
4057
|
}
|
|
4058
4058
|
}
|
|
4059
|
-
},
|
|
4059
|
+
}, Js = {
|
|
4060
4060
|
fallbackLocale: null,
|
|
4061
4061
|
loadingDelay: 200,
|
|
4062
|
-
formats:
|
|
4062
|
+
formats: Qs,
|
|
4063
4063
|
warnOnMissingMessages: !0,
|
|
4064
4064
|
handleMissingMessage: void 0,
|
|
4065
4065
|
ignoreTag: !0
|
|
4066
|
-
},
|
|
4067
|
-
function
|
|
4068
|
-
return
|
|
4066
|
+
}, qs = Js;
|
|
4067
|
+
function Ne() {
|
|
4068
|
+
return qs;
|
|
4069
4069
|
}
|
|
4070
|
-
const
|
|
4071
|
-
var
|
|
4070
|
+
const Pt = ht(!1);
|
|
4071
|
+
var Ks = Object.defineProperty, ei = Object.defineProperties, ti = Object.getOwnPropertyDescriptors, ar = Object.getOwnPropertySymbols, ri = Object.prototype.hasOwnProperty, ni = Object.prototype.propertyIsEnumerable, or = (e, t, r) => t in e ? Ks(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, si = (e, t) => {
|
|
4072
4072
|
for (var r in t || (t = {}))
|
|
4073
|
-
|
|
4074
|
-
if (
|
|
4075
|
-
for (var r of
|
|
4076
|
-
|
|
4073
|
+
ri.call(t, r) && or(e, r, t[r]);
|
|
4074
|
+
if (ar)
|
|
4075
|
+
for (var r of ar(t))
|
|
4076
|
+
ni.call(t, r) && or(e, r, t[r]);
|
|
4077
4077
|
return e;
|
|
4078
|
-
},
|
|
4079
|
-
let
|
|
4080
|
-
const
|
|
4081
|
-
function
|
|
4078
|
+
}, ii = (e, t) => ei(e, ti(t));
|
|
4079
|
+
let Dt;
|
|
4080
|
+
const ot = ht(null);
|
|
4081
|
+
function lr(e) {
|
|
4082
4082
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4083
4083
|
}
|
|
4084
|
-
function
|
|
4085
|
-
const r =
|
|
4086
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4084
|
+
function dt(e, t = Ne().fallbackLocale) {
|
|
4085
|
+
const r = lr(e);
|
|
4086
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...lr(t)])] : r;
|
|
4087
4087
|
}
|
|
4088
|
-
function
|
|
4089
|
-
return
|
|
4088
|
+
function pe() {
|
|
4089
|
+
return Dt ?? void 0;
|
|
4090
4090
|
}
|
|
4091
|
-
|
|
4092
|
-
|
|
4091
|
+
ot.subscribe((e) => {
|
|
4092
|
+
Dt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4093
4093
|
});
|
|
4094
|
-
const
|
|
4095
|
-
if (e &&
|
|
4096
|
-
const { loadingDelay: t } =
|
|
4094
|
+
const ai = (e) => {
|
|
4095
|
+
if (e && Ws(e) && kt(e)) {
|
|
4096
|
+
const { loadingDelay: t } = Ne();
|
|
4097
4097
|
let r;
|
|
4098
|
-
return typeof window < "u" &&
|
|
4099
|
-
() =>
|
|
4098
|
+
return typeof window < "u" && pe() != null && t ? r = window.setTimeout(
|
|
4099
|
+
() => Pt.set(!0),
|
|
4100
4100
|
t
|
|
4101
|
-
) :
|
|
4102
|
-
|
|
4101
|
+
) : Pt.set(!0), Xr(e).then(() => {
|
|
4102
|
+
ot.set(e);
|
|
4103
4103
|
}).finally(() => {
|
|
4104
|
-
clearTimeout(r),
|
|
4104
|
+
clearTimeout(r), Pt.set(!1);
|
|
4105
4105
|
});
|
|
4106
4106
|
}
|
|
4107
|
-
return
|
|
4108
|
-
},
|
|
4109
|
-
set:
|
|
4110
|
-
}),
|
|
4107
|
+
return ot.set(e);
|
|
4108
|
+
}, Le = ii(si({}, ot), {
|
|
4109
|
+
set: ai
|
|
4110
|
+
}), pt = (e) => {
|
|
4111
4111
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4112
4112
|
return (n) => {
|
|
4113
4113
|
const s = JSON.stringify(n);
|
|
4114
4114
|
return s in t ? t[s] : t[s] = e(n);
|
|
4115
4115
|
};
|
|
4116
4116
|
};
|
|
4117
|
-
var
|
|
4117
|
+
var oi = Object.defineProperty, lt = Object.getOwnPropertySymbols, Zr = Object.prototype.hasOwnProperty, Yr = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $t = (e, t) => {
|
|
4118
4118
|
for (var r in t || (t = {}))
|
|
4119
|
-
|
|
4120
|
-
if (
|
|
4121
|
-
for (var r of
|
|
4122
|
-
|
|
4119
|
+
Zr.call(t, r) && ur(e, r, t[r]);
|
|
4120
|
+
if (lt)
|
|
4121
|
+
for (var r of lt(t))
|
|
4122
|
+
Yr.call(t, r) && ur(e, r, t[r]);
|
|
4123
4123
|
return e;
|
|
4124
|
-
},
|
|
4124
|
+
}, Fe = (e, t) => {
|
|
4125
4125
|
var r = {};
|
|
4126
4126
|
for (var n in e)
|
|
4127
|
-
|
|
4128
|
-
if (e != null &&
|
|
4129
|
-
for (var n of
|
|
4130
|
-
t.indexOf(n) < 0 &&
|
|
4127
|
+
Zr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4128
|
+
if (e != null && lt)
|
|
4129
|
+
for (var n of lt(e))
|
|
4130
|
+
t.indexOf(n) < 0 && Yr.call(e, n) && (r[n] = e[n]);
|
|
4131
4131
|
return r;
|
|
4132
4132
|
};
|
|
4133
4133
|
const ze = (e, t) => {
|
|
4134
|
-
const { formats: r } =
|
|
4134
|
+
const { formats: r } = Ne();
|
|
4135
4135
|
if (e in r && t in r[e])
|
|
4136
4136
|
return r[e][t];
|
|
4137
4137
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4138
|
-
},
|
|
4138
|
+
}, li = pt(
|
|
4139
4139
|
(e) => {
|
|
4140
|
-
var t = e, { locale: r, format: n } = t, s =
|
|
4140
|
+
var t = e, { locale: r, format: n } = t, s = Fe(t, ["locale", "format"]);
|
|
4141
4141
|
if (r == null)
|
|
4142
4142
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4143
4143
|
return n && (s = ze("number", n)), new Intl.NumberFormat(r, s);
|
|
4144
4144
|
}
|
|
4145
|
-
),
|
|
4145
|
+
), ui = pt(
|
|
4146
4146
|
(e) => {
|
|
4147
|
-
var t = e, { locale: r, format: n } = t, s =
|
|
4147
|
+
var t = e, { locale: r, format: n } = t, s = Fe(t, ["locale", "format"]);
|
|
4148
4148
|
if (r == null)
|
|
4149
4149
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4150
4150
|
return n ? s = ze("date", n) : Object.keys(s).length === 0 && (s = ze("date", "short")), new Intl.DateTimeFormat(r, s);
|
|
4151
4151
|
}
|
|
4152
|
-
),
|
|
4152
|
+
), hi = pt(
|
|
4153
4153
|
(e) => {
|
|
4154
|
-
var t = e, { locale: r, format: n } = t, s =
|
|
4154
|
+
var t = e, { locale: r, format: n } = t, s = Fe(t, ["locale", "format"]);
|
|
4155
4155
|
if (r == null)
|
|
4156
4156
|
throw new Error(
|
|
4157
4157
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4158
4158
|
);
|
|
4159
4159
|
return n ? s = ze("time", n) : Object.keys(s).length === 0 && (s = ze("time", "short")), new Intl.DateTimeFormat(r, s);
|
|
4160
4160
|
}
|
|
4161
|
-
),
|
|
4161
|
+
), ci = (e = {}) => {
|
|
4162
4162
|
var t = e, {
|
|
4163
|
-
locale: r =
|
|
4164
|
-
} = t, n =
|
|
4163
|
+
locale: r = pe()
|
|
4164
|
+
} = t, n = Fe(t, [
|
|
4165
4165
|
"locale"
|
|
4166
4166
|
]);
|
|
4167
|
-
return
|
|
4168
|
-
},
|
|
4167
|
+
return li($t({ locale: r }, n));
|
|
4168
|
+
}, fi = (e = {}) => {
|
|
4169
4169
|
var t = e, {
|
|
4170
|
-
locale: r =
|
|
4171
|
-
} = t, n =
|
|
4170
|
+
locale: r = pe()
|
|
4171
|
+
} = t, n = Fe(t, [
|
|
4172
4172
|
"locale"
|
|
4173
4173
|
]);
|
|
4174
|
-
return
|
|
4175
|
-
},
|
|
4174
|
+
return ui($t({ locale: r }, n));
|
|
4175
|
+
}, di = (e = {}) => {
|
|
4176
4176
|
var t = e, {
|
|
4177
|
-
locale: r =
|
|
4178
|
-
} = t, n =
|
|
4177
|
+
locale: r = pe()
|
|
4178
|
+
} = t, n = Fe(t, [
|
|
4179
4179
|
"locale"
|
|
4180
4180
|
]);
|
|
4181
|
-
return
|
|
4182
|
-
},
|
|
4181
|
+
return hi($t({ locale: r }, n));
|
|
4182
|
+
}, pi = pt(
|
|
4183
4183
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4184
|
-
(e, t =
|
|
4185
|
-
ignoreTag:
|
|
4184
|
+
(e, t = pe()) => new $s(e, t, Ne().formats, {
|
|
4185
|
+
ignoreTag: Ne().ignoreTag
|
|
4186
4186
|
})
|
|
4187
|
-
),
|
|
4187
|
+
), mi = (e, t = {}) => {
|
|
4188
4188
|
var r, n, s, i;
|
|
4189
4189
|
let a = t;
|
|
4190
4190
|
typeof e == "object" && (a = e, e = a.id);
|
|
4191
4191
|
const {
|
|
4192
|
-
values:
|
|
4193
|
-
locale: u =
|
|
4192
|
+
values: o,
|
|
4193
|
+
locale: u = pe(),
|
|
4194
4194
|
default: h
|
|
4195
4195
|
} = a;
|
|
4196
4196
|
if (u == null)
|
|
4197
4197
|
throw new Error(
|
|
4198
4198
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4199
4199
|
);
|
|
4200
|
-
let c =
|
|
4200
|
+
let c = jr(e, u);
|
|
4201
4201
|
if (!c)
|
|
4202
|
-
c = (i = (s = (n = (r =
|
|
4202
|
+
c = (i = (s = (n = (r = Ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? s : h) != null ? i : e;
|
|
4203
4203
|
else if (typeof c != "string")
|
|
4204
4204
|
return console.warn(
|
|
4205
4205
|
`[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.`
|
|
4206
4206
|
), c;
|
|
4207
|
-
if (!
|
|
4207
|
+
if (!o)
|
|
4208
4208
|
return c;
|
|
4209
4209
|
let d = c;
|
|
4210
4210
|
try {
|
|
4211
|
-
d =
|
|
4211
|
+
d = pi(c, u).format(o);
|
|
4212
4212
|
} catch (p) {
|
|
4213
4213
|
p instanceof Error && console.warn(
|
|
4214
4214
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4216,21 +4216,21 @@ const ze = (e, t) => {
|
|
|
4216
4216
|
);
|
|
4217
4217
|
}
|
|
4218
4218
|
return d;
|
|
4219
|
-
},
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
window.emWidgets = { topic:
|
|
4225
|
-
const
|
|
4219
|
+
}, gi = (e, t) => di(t).format(e), bi = (e, t) => fi(t).format(e), wi = (e, t) => ci(t).format(e), vi = (e, t = pe()) => jr(e, t), yi = Re([Le, Xe], () => mi);
|
|
4220
|
+
Re([Le], () => gi);
|
|
4221
|
+
Re([Le], () => bi);
|
|
4222
|
+
Re([Le], () => wi);
|
|
4223
|
+
Re([Le, Xe], () => vi);
|
|
4224
|
+
window.emWidgets = { topic: Mn };
|
|
4225
|
+
const _i = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4226
4226
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4227
|
-
function
|
|
4228
|
-
|
|
4227
|
+
function hr(e, t) {
|
|
4228
|
+
zr(e, t);
|
|
4229
4229
|
}
|
|
4230
|
-
function
|
|
4231
|
-
|
|
4230
|
+
function Pi(e) {
|
|
4231
|
+
Le.set(e);
|
|
4232
4232
|
}
|
|
4233
|
-
const
|
|
4233
|
+
const cr = {
|
|
4234
4234
|
en: {
|
|
4235
4235
|
titleChangePassword: "Change Password",
|
|
4236
4236
|
currentPassword: "Current Password:",
|
|
@@ -4413,14 +4413,14 @@ const hr = {
|
|
|
4413
4413
|
passwordResetConfirmation: "Your password has been reset successfully.",
|
|
4414
4414
|
backButtonText: "Back"
|
|
4415
4415
|
}
|
|
4416
|
-
};
|
|
4417
|
-
function
|
|
4416
|
+
}, Ce = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
4417
|
+
function Ei(e, t) {
|
|
4418
4418
|
if (e) {
|
|
4419
4419
|
const r = document.createElement("style");
|
|
4420
4420
|
r.innerHTML = t, e.appendChild(r);
|
|
4421
4421
|
}
|
|
4422
4422
|
}
|
|
4423
|
-
function
|
|
4423
|
+
function xi(e, t) {
|
|
4424
4424
|
if (!e || !t)
|
|
4425
4425
|
return;
|
|
4426
4426
|
const r = new URL(t);
|
|
@@ -4431,33 +4431,60 @@ function Ei(e, t) {
|
|
|
4431
4431
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4432
4432
|
});
|
|
4433
4433
|
}
|
|
4434
|
-
function
|
|
4435
|
-
if (window.emMessageBus)
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4434
|
+
function Ti(e, t, r, n = !1) {
|
|
4435
|
+
if (!window.emMessageBus)
|
|
4436
|
+
return;
|
|
4437
|
+
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
4438
|
+
return r = Ci(e, t), r;
|
|
4439
|
+
window[Ce] || (window[Ce] = {}), r = Si(e, t);
|
|
4440
|
+
const i = r.unsubscribe.bind(r), a = () => {
|
|
4441
|
+
if (window[Ce][t]) {
|
|
4442
|
+
const o = window[Ce][t];
|
|
4443
|
+
o.refCount > 1 ? o.refCount = o.refCount - 1 : delete window[Ce][t];
|
|
4444
|
+
}
|
|
4445
|
+
i();
|
|
4446
|
+
};
|
|
4447
|
+
return r.unsubscribe = a, r;
|
|
4448
|
+
}
|
|
4449
|
+
function Ci(e, t) {
|
|
4450
|
+
const r = document.createElement("style");
|
|
4451
|
+
return window.emMessageBus.subscribe(t, (n) => {
|
|
4452
|
+
e && (r.innerHTML = n, e.appendChild(r));
|
|
4453
|
+
});
|
|
4454
|
+
}
|
|
4455
|
+
function Si(e, t) {
|
|
4456
|
+
return window.emMessageBus.subscribe(t, (r) => {
|
|
4457
|
+
if (!e)
|
|
4458
|
+
return;
|
|
4459
|
+
const n = e.getRootNode(), s = window[Ce];
|
|
4460
|
+
let i = s[t]?.sheet;
|
|
4461
|
+
i ? s[t].refCount = s[t].refCount + 1 : (i = new CSSStyleSheet(), i.replaceSync(r), s[t] = {
|
|
4462
|
+
sheet: i,
|
|
4463
|
+
refCount: 1
|
|
4439
4464
|
});
|
|
4440
|
-
|
|
4465
|
+
const a = n.adoptedStyleSheets || [];
|
|
4466
|
+
a.includes(i) || (n.adoptedStyleSheets = [...a, i]);
|
|
4467
|
+
});
|
|
4441
4468
|
}
|
|
4442
|
-
function
|
|
4443
|
-
|
|
4469
|
+
function Bi(e) {
|
|
4470
|
+
qr(e, "svelte-1qk6bmp", '.PlayerChangePasswordWrapper{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;height:100vh;max-width:100%;background-color:var(--emw--pam-typography, var(--emw--color-typography, #F1F1F1));border-radius:5%}.ChangePasswordTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--color-primary, #22B04E);font-weight:var(--emw--font-weight-semibold, 500)}.ChangePasswordTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--color-primary, #22B04E)}.ChangePasswordTitleNone{display:none}.PlayerChangePasswordContent{display:grid;grid-column-gap:50px;grid-row-gap:30px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px;max-width:400px;min-width:200px}.PlayerChangePasswordButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr}.PlayerChangePasswordSaveButton,.PlayerChangePasswordCancelButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;font-family:var(--emw--button-typography);color:var(--emw--pam-typography, var(---emw--button-text-color, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerChangePasswordSaveButton.ButtonInactive,.PlayerChangePasswordCancelButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordCancelButton{background:transparent;font-family:var(--emw--button-typography);border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordCancelButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed}.PlayerChangePasswordSaveButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);max-width:400px;min-width:200px;padding:13px 0;font-size:var(--emw--font-size-medium, 16px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordSaveButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed}.PlayerChangePasswordBox{display:flex;flex-direction:column;position:relative}.PlayerChangePasswordBox label{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:10px}.PlayerChangePasswordBox input{font-family:inherit;font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--color-contrast, #07072A);padding:10px;line-height:16px;border:2px solid var(--emw--color-gray-100, #D6D6D6);background:var(--emw--pam-typography, var(--emw--color-typography, #FFFFFF));border-radius:var(--emw--border-radius-medium, 10px);outline:none;transition-duration:0.3s}.PlayerChangePasswordBox input:focus,.PlayerChangePasswordBox input :focus-within,.PlayerChangePasswordBox input :focus-visible,.PlayerChangePasswordBox input :visited{box-shadow:0 0 0 1pt var(--emw--color-primary, #22B04E)}.PlayerChangePasswordBox .FieldDisabled{color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox input::-webkit-outer-spin-button,.PlayerChangePasswordBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerChangePasswordBox input::-ms-reveal,.PlayerChangePasswordBox input::-ms-clear{display:none}.PlayerChangePasswordBox input[type=number]{-moz-appearance:textfield}.PlayerChangePasswordBox.InvalidField input{border:1px solid var(--emw--color-error, #FD2839);background:var(--emw--color-pale, #FBECF4);color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInput{bottom:-16px}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInputNew{bottom:-24px}.TogglePasswordVisibility{height:20px;position:absolute;right:10px;top:38px;cursor:pointer;color:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, #FD2839)}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibilityMobile{top:35px}.InvalidInput,.InvalidInputNew{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-2x-small, 10px);padding-top:5px;margin:0;line-height:12px}.InvalidInputNew{bottom:-24px}.PasswordChangedError{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-medium, 16px);line-height:18px;margin-top:0}.ChangedPasswordSuccessfully{color:var(--emw--button-text-color, #FFFFFF);position:relative}.ChangedPasswordSuccessfully .SuccessWrapper{display:inline-flex;align-items:center;margin-bottom:20px}.ChangedPasswordSuccessfully .IconContainer{width:45px;height:45px;border:1px solid var(--emw--color-valid, #48952a);border-radius:var(--emw--button-border-radius, 10px);display:flex;align-items:center;justify-content:center}.ChangedPasswordSuccessfully .Checkmark{width:12px;height:22px;border:1px solid var(--emw--color-valid, #48952a);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:relative;top:-3px}.ChangedPasswordSuccessfully h3{font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-normal, 400);margin:10px 0;color:var(--emw--color-valid, #48952a)}.ChangedPasswordSuccessfully p{margin:0;font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.ChangedPasswordSuccessfully .TextContainer{display:flex;flex-direction:column;padding:10px 20px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton{cursor:pointer;display:flex;justify-content:center;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;padding:10px;border:1px solid var(--emw--color-primary, #22B04E);background:var(--emw--color-primary, #22B04E);max-width:185px;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);width:auto;font-size:var(--emw--font-size-medium, 16px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton:hover{filter:brightness(0.9)}.PlayerChangePasswordWrapperMobile{height:75vh;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column;border-radius:0}.PlayerChangePasswordWrapperMobile:after{content:"";position:absolute;bottom:0}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBackButton{width:100%;max-width:none}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordHeader h3{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox label{font-family:inherit;color:var(--emw--color-gray-300, #58586B);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox input{font-family:inherit;color:var(--emw--color-gray-300, #58586B);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordButtonsArea{grid-column-gap:10px}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton,.PlayerChangePasswordWrapperMobile .PlayerChangePasswordCancelButton{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px);height:44px;color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{font-family:inherit;color:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordWrapperMobile .ChangedPasswordSuccessfully{color:var(--emw--color-gray-300, #58586B)}.MenuReturnButton{font-family:inherit;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}');
|
|
4444
4471
|
}
|
|
4445
|
-
function
|
|
4472
|
+
function Ai(e) {
|
|
4446
4473
|
let t;
|
|
4447
4474
|
function r(i, a) {
|
|
4448
4475
|
return (
|
|
4449
4476
|
/*passwordChanged*/
|
|
4450
|
-
i[2] ?
|
|
4477
|
+
i[2] ? Hi : Ii
|
|
4451
4478
|
);
|
|
4452
4479
|
}
|
|
4453
4480
|
let n = r(e), s = n(e);
|
|
4454
4481
|
return {
|
|
4455
4482
|
c() {
|
|
4456
|
-
t = P("form"), s.c(),
|
|
4483
|
+
t = P("form"), s.c(), l(t, "class", "PlayerChangePasswordWrapper " + /*isMobile*/
|
|
4457
4484
|
(e[20] ? "PlayerChangePasswordWrapperMobile" : ""));
|
|
4458
4485
|
},
|
|
4459
4486
|
m(i, a) {
|
|
4460
|
-
|
|
4487
|
+
H(i, t, a), s.m(t, null);
|
|
4461
4488
|
},
|
|
4462
4489
|
p(i, a) {
|
|
4463
4490
|
n === (n = r(i)) && s ? s.p(i, a) : (s.d(1), s = n(i), s && (s.c(), s.m(t, null)));
|
|
@@ -4467,139 +4494,139 @@ function Ci(e) {
|
|
|
4467
4494
|
}
|
|
4468
4495
|
};
|
|
4469
4496
|
}
|
|
4470
|
-
function
|
|
4497
|
+
function Hi(e) {
|
|
4471
4498
|
let t, r, n, s = (
|
|
4472
4499
|
/*$_*/
|
|
4473
4500
|
e[19]("changePasswordText") + ""
|
|
4474
|
-
), i, a,
|
|
4501
|
+
), i, a, o, u, h, c, d, p, m = (
|
|
4475
4502
|
/*$_*/
|
|
4476
4503
|
e[19]("passwordReset") + ""
|
|
4477
|
-
), v, b,
|
|
4504
|
+
), v, b, E, y = (
|
|
4478
4505
|
/*$_*/
|
|
4479
4506
|
e[19]("passwordResetConfirmation") + ""
|
|
4480
|
-
),
|
|
4507
|
+
), A, O, k, D = (
|
|
4481
4508
|
/*$_*/
|
|
4482
4509
|
e[19]("backButtonText") + ""
|
|
4483
|
-
),
|
|
4510
|
+
), M, X, ee, $ = (
|
|
4484
4511
|
/*isMobile*/
|
|
4485
|
-
e[20] &&
|
|
4512
|
+
e[20] && Mi(e)
|
|
4486
4513
|
);
|
|
4487
4514
|
return {
|
|
4488
4515
|
c() {
|
|
4489
|
-
|
|
4516
|
+
$ && $.c(), t = F(), r = P("div"), n = P("h3"), i = I(s), a = F(), o = P("div"), u = P("div"), h = P("div"), h.innerHTML = '<div class="Checkmark"></div>', c = F(), d = P("div"), p = P("h3"), v = I(m), b = F(), E = P("p"), A = I(y), O = F(), k = P("div"), M = I(D), l(r, "class", "PlayerChangePasswordHeader"), l(h, "class", "IconContainer"), l(d, "class", "TextContainer"), l(u, "class", "SuccessWrapper"), l(k, "class", "PlayerChangePasswordBackButton"), l(o, "class", "ChangedPasswordSuccessfully");
|
|
4490
4517
|
},
|
|
4491
|
-
m(
|
|
4492
|
-
|
|
4493
|
-
|
|
4518
|
+
m(R, S) {
|
|
4519
|
+
$ && $.m(R, S), H(R, t, S), H(R, r, S), f(r, n), f(n, i), H(R, a, S), H(R, o, S), f(o, u), f(u, h), f(u, c), f(u, d), f(d, p), f(p, v), f(d, b), f(d, E), f(E, A), f(o, O), f(o, k), f(k, M), X || (ee = z(
|
|
4520
|
+
k,
|
|
4494
4521
|
"click",
|
|
4495
4522
|
/*click_handler_9*/
|
|
4496
4523
|
e[47]
|
|
4497
4524
|
), X = !0);
|
|
4498
4525
|
},
|
|
4499
|
-
p(
|
|
4526
|
+
p(R, S) {
|
|
4500
4527
|
/*isMobile*/
|
|
4501
|
-
|
|
4528
|
+
R[20] && $.p(R, S), S[0] & /*$_*/
|
|
4502
4529
|
524288 && s !== (s = /*$_*/
|
|
4503
|
-
|
|
4530
|
+
R[19]("changePasswordText") + "") && U(i, s), S[0] & /*$_*/
|
|
4504
4531
|
524288 && m !== (m = /*$_*/
|
|
4505
|
-
|
|
4532
|
+
R[19]("passwordReset") + "") && U(v, m), S[0] & /*$_*/
|
|
4506
4533
|
524288 && y !== (y = /*$_*/
|
|
4507
|
-
|
|
4508
|
-
524288 &&
|
|
4509
|
-
|
|
4534
|
+
R[19]("passwordResetConfirmation") + "") && U(A, y), S[0] & /*$_*/
|
|
4535
|
+
524288 && D !== (D = /*$_*/
|
|
4536
|
+
R[19]("backButtonText") + "") && U(M, D);
|
|
4510
4537
|
},
|
|
4511
|
-
d(
|
|
4512
|
-
|
|
4538
|
+
d(R) {
|
|
4539
|
+
R && (B(t), B(r), B(a), B(o)), $ && $.d(R), X = !1, ee();
|
|
4513
4540
|
}
|
|
4514
4541
|
};
|
|
4515
4542
|
}
|
|
4516
|
-
function
|
|
4543
|
+
function Ii(e) {
|
|
4517
4544
|
let t, r, n = (
|
|
4518
4545
|
/*$_*/
|
|
4519
4546
|
e[19]("titleChangePassword") + ""
|
|
4520
|
-
), s, i, a,
|
|
4547
|
+
), s, i, a, o, u, h = (
|
|
4521
4548
|
/*$_*/
|
|
4522
4549
|
e[19]("currentPassword") + ""
|
|
4523
|
-
), c, d, p, m, v, b,
|
|
4550
|
+
), c, d, p, m, v, b, E, y, A, O = (
|
|
4524
4551
|
/*$_*/
|
|
4525
4552
|
e[19]("newPassword") + ""
|
|
4526
|
-
),
|
|
4553
|
+
), k, D, M, X, ee, $, R, S, Z, Q = (
|
|
4527
4554
|
/*$_*/
|
|
4528
4555
|
e[19]("confirmPassword") + ""
|
|
4529
|
-
),
|
|
4556
|
+
), me, ke, Y, Ze, te, ge, De, ie, fe, re, ue = (
|
|
4530
4557
|
/*$_*/
|
|
4531
4558
|
e[19]("submitChangePassword") + ""
|
|
4532
|
-
),
|
|
4559
|
+
), be, we, de, Ue, Ye, ae = (
|
|
4533
4560
|
/*isMobile*/
|
|
4534
|
-
e[20] &&
|
|
4561
|
+
e[20] && Ni(e)
|
|
4535
4562
|
);
|
|
4536
|
-
function
|
|
4563
|
+
function Qe(x, _) {
|
|
4537
4564
|
return (
|
|
4538
4565
|
/*isCurrentPasswordVisible*/
|
|
4539
|
-
|
|
4566
|
+
x[10] ? Ri : Oi
|
|
4540
4567
|
);
|
|
4541
4568
|
}
|
|
4542
|
-
let ve =
|
|
4569
|
+
let ve = Qe(e), J = ve(e), G = (
|
|
4543
4570
|
/*invalidCurrentPassword*/
|
|
4544
|
-
e[4] &&
|
|
4571
|
+
e[4] && fr(e)
|
|
4545
4572
|
);
|
|
4546
|
-
function
|
|
4573
|
+
function Je(x, _) {
|
|
4547
4574
|
return (
|
|
4548
4575
|
/*isNewPasswordVisible*/
|
|
4549
|
-
|
|
4576
|
+
x[11] ? Di : ki
|
|
4550
4577
|
);
|
|
4551
4578
|
}
|
|
4552
|
-
let ye =
|
|
4553
|
-
function
|
|
4579
|
+
let ye = Je(e), q = ye(e);
|
|
4580
|
+
function qe(x, _) {
|
|
4554
4581
|
if (
|
|
4555
4582
|
/*oldPasswordSameAsNew*/
|
|
4556
|
-
|
|
4583
|
+
x[13]
|
|
4557
4584
|
)
|
|
4558
|
-
return
|
|
4585
|
+
return $i;
|
|
4559
4586
|
if (
|
|
4560
4587
|
/*invalidNewPassword*/
|
|
4561
|
-
|
|
4588
|
+
x[5]
|
|
4562
4589
|
)
|
|
4563
|
-
return
|
|
4590
|
+
return Ui;
|
|
4564
4591
|
}
|
|
4565
|
-
let
|
|
4566
|
-
function
|
|
4592
|
+
let he = qe(e), j = he && he(e);
|
|
4593
|
+
function Ke(x, _) {
|
|
4567
4594
|
return (
|
|
4568
4595
|
/*isConfirmPasswordVisible*/
|
|
4569
|
-
|
|
4596
|
+
x[12] ? zi : Vi
|
|
4570
4597
|
);
|
|
4571
4598
|
}
|
|
4572
|
-
let _e =
|
|
4599
|
+
let _e = Ke(e), K = _e(e), V = (
|
|
4573
4600
|
/*invalidConfirmPassword*/
|
|
4574
|
-
e[6] &&
|
|
4575
|
-
),
|
|
4601
|
+
e[6] && dr(e)
|
|
4602
|
+
), w = (
|
|
4576
4603
|
/*showErrorPasswordChanged*/
|
|
4577
|
-
e[18] &&
|
|
4604
|
+
e[18] && pr(e)
|
|
4578
4605
|
);
|
|
4579
4606
|
return {
|
|
4580
4607
|
c() {
|
|
4581
|
-
|
|
4582
|
-
(e[20] ? "ChangePasswordTitleNone" : "")),
|
|
4583
|
-
(e[4] ? "InvalidField" : "")),
|
|
4584
|
-
(e[5] ? "InvalidField" : "")),
|
|
4585
|
-
(e[6] ? "InvalidField" : "")),
|
|
4586
|
-
(e[3] ? "" : "ButtonInactive")),
|
|
4587
|
-
e[3],
|
|
4608
|
+
ae && ae.c(), t = F(), r = P("h2"), s = I(n), i = F(), a = P("section"), o = P("div"), u = P("label"), c = I(h), d = F(), p = P("input"), m = F(), J.c(), v = F(), G && G.c(), E = F(), y = P("div"), A = P("label"), k = I(O), D = F(), M = P("input"), X = F(), q.c(), ee = F(), j && j.c(), R = F(), S = P("div"), Z = P("label"), me = I(Q), ke = F(), Y = P("input"), Ze = F(), K.c(), te = F(), V && V.c(), De = F(), w && w.c(), ie = F(), fe = P("section"), re = P("button"), be = I(ue), l(r, "class", "ChangePasswordTitle " + /*isMobile*/
|
|
4609
|
+
(e[20] ? "ChangePasswordTitleNone" : "")), l(u, "for", "CurrentPassword"), l(p, "id", "CurrentPassword"), l(p, "type", "password"), l(o, "class", b = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
|
|
4610
|
+
(e[4] ? "InvalidField" : "")), l(A, "for", "NewPassword"), l(M, "id", "NewPassword"), l(M, "autocomplete", "new-password"), l(M, "type", "password"), l(y, "class", $ = "PlayerChangePasswordBox " + /*invalidNewPassword*/
|
|
4611
|
+
(e[5] ? "InvalidField" : "")), l(Z, "for", "ConfirmPassword"), l(Y, "id", "ConfirmPassword"), l(Y, "type", "password"), l(S, "class", ge = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
|
|
4612
|
+
(e[6] ? "InvalidField" : "")), l(a, "class", "PlayerChangePasswordContent"), l(re, "class", we = "PlayerChangePasswordSaveButton " + /*activateSubmit*/
|
|
4613
|
+
(e[3] ? "" : "ButtonInactive")), re.disabled = de = !/*activateSubmit*/
|
|
4614
|
+
e[3], l(fe, "class", "PlayerChangePasswordButtonsArea");
|
|
4588
4615
|
},
|
|
4589
|
-
m(
|
|
4590
|
-
|
|
4616
|
+
m(x, _) {
|
|
4617
|
+
ae && ae.m(x, _), H(x, t, _), H(x, r, _), f(r, s), H(x, i, _), H(x, a, _), f(a, o), f(o, u), f(u, c), f(o, d), f(o, p), Pe(
|
|
4591
4618
|
p,
|
|
4592
4619
|
/*userCurrentPassword*/
|
|
4593
4620
|
e[14]
|
|
4594
|
-
), e[34](p), f(
|
|
4595
|
-
|
|
4621
|
+
), e[34](p), f(o, m), J.m(o, null), f(o, v), G && G.m(o, null), f(a, E), f(a, y), f(y, A), f(A, k), f(y, D), f(y, M), Pe(
|
|
4622
|
+
M,
|
|
4596
4623
|
/*userNewPassword*/
|
|
4597
4624
|
e[15]
|
|
4598
|
-
), e[38](
|
|
4625
|
+
), e[38](M), f(y, X), q.m(y, null), f(y, ee), j && j.m(y, null), f(a, R), f(a, S), f(S, Z), f(Z, me), f(S, ke), f(S, Y), Pe(
|
|
4599
4626
|
Y,
|
|
4600
4627
|
/*userConfirmPassword*/
|
|
4601
4628
|
e[16]
|
|
4602
|
-
), e[42](Y), f(
|
|
4629
|
+
), e[42](Y), f(S, Ze), K.m(S, null), f(S, te), V && V.m(S, null), H(x, De, _), w && w.m(x, _), H(x, ie, _), H(x, fe, _), f(fe, re), f(re, be), Ue || (Ye = [
|
|
4603
4630
|
z(
|
|
4604
4631
|
p,
|
|
4605
4632
|
"input",
|
|
@@ -4607,7 +4634,7 @@ function Bi(e) {
|
|
|
4607
4634
|
e[33]
|
|
4608
4635
|
),
|
|
4609
4636
|
z(p, "blur", function() {
|
|
4610
|
-
|
|
4637
|
+
Be(
|
|
4611
4638
|
/*validatePassword*/
|
|
4612
4639
|
e[22](
|
|
4613
4640
|
/*invalidCurrentPassword*/
|
|
@@ -4627,13 +4654,13 @@ function Bi(e) {
|
|
|
4627
4654
|
).apply(this, arguments);
|
|
4628
4655
|
}),
|
|
4629
4656
|
z(
|
|
4630
|
-
|
|
4657
|
+
M,
|
|
4631
4658
|
"input",
|
|
4632
4659
|
/*input1_input_handler*/
|
|
4633
4660
|
e[37]
|
|
4634
4661
|
),
|
|
4635
|
-
z(
|
|
4636
|
-
|
|
4662
|
+
z(M, "blur", function() {
|
|
4663
|
+
Be(
|
|
4637
4664
|
/*validatePassword*/
|
|
4638
4665
|
e[22](
|
|
4639
4666
|
/*invalidNewPassword*/
|
|
@@ -4659,7 +4686,7 @@ function Bi(e) {
|
|
|
4659
4686
|
e[41]
|
|
4660
4687
|
),
|
|
4661
4688
|
z(Y, "blur", function() {
|
|
4662
|
-
|
|
4689
|
+
Be(
|
|
4663
4690
|
/*validatePassword*/
|
|
4664
4691
|
e[22](
|
|
4665
4692
|
/*invalidConfirmPassword*/
|
|
@@ -4679,127 +4706,127 @@ function Bi(e) {
|
|
|
4679
4706
|
).apply(this, arguments);
|
|
4680
4707
|
}),
|
|
4681
4708
|
z(
|
|
4682
|
-
|
|
4709
|
+
re,
|
|
4683
4710
|
"click",
|
|
4684
4711
|
/*click_handler_7*/
|
|
4685
4712
|
e[45]
|
|
4686
4713
|
)
|
|
4687
4714
|
], Ue = !0);
|
|
4688
4715
|
},
|
|
4689
|
-
p(
|
|
4690
|
-
e =
|
|
4691
|
-
e[20] &&
|
|
4716
|
+
p(x, _) {
|
|
4717
|
+
e = x, /*isMobile*/
|
|
4718
|
+
e[20] && ae.p(e, _), _[0] & /*$_*/
|
|
4692
4719
|
524288 && n !== (n = /*$_*/
|
|
4693
|
-
e[19]("titleChangePassword") + "") &&
|
|
4720
|
+
e[19]("titleChangePassword") + "") && U(s, n), _[0] & /*$_*/
|
|
4694
4721
|
524288 && h !== (h = /*$_*/
|
|
4695
|
-
e[19]("currentPassword") + "") &&
|
|
4722
|
+
e[19]("currentPassword") + "") && U(c, h), _[0] & /*userCurrentPassword*/
|
|
4696
4723
|
16384 && p.value !== /*userCurrentPassword*/
|
|
4697
4724
|
e[14] && Pe(
|
|
4698
4725
|
p,
|
|
4699
4726
|
/*userCurrentPassword*/
|
|
4700
4727
|
e[14]
|
|
4701
|
-
), ve === (ve =
|
|
4702
|
-
e[4] ?
|
|
4728
|
+
), ve === (ve = Qe(e)) && J ? J.p(e, _) : (J.d(1), J = ve(e), J && (J.c(), J.m(o, v))), /*invalidCurrentPassword*/
|
|
4729
|
+
e[4] ? G ? G.p(e, _) : (G = fr(e), G.c(), G.m(o, null)) : G && (G.d(1), G = null), _[0] & /*invalidCurrentPassword*/
|
|
4703
4730
|
16 && b !== (b = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
|
|
4704
|
-
(e[4] ? "InvalidField" : "")) && o
|
|
4705
|
-
524288 &&
|
|
4706
|
-
e[19]("newPassword") + "") &&
|
|
4707
|
-
32768 &&
|
|
4731
|
+
(e[4] ? "InvalidField" : "")) && l(o, "class", b), _[0] & /*$_*/
|
|
4732
|
+
524288 && O !== (O = /*$_*/
|
|
4733
|
+
e[19]("newPassword") + "") && U(k, O), _[0] & /*userNewPassword*/
|
|
4734
|
+
32768 && M.value !== /*userNewPassword*/
|
|
4708
4735
|
e[15] && Pe(
|
|
4709
|
-
|
|
4736
|
+
M,
|
|
4710
4737
|
/*userNewPassword*/
|
|
4711
4738
|
e[15]
|
|
4712
|
-
), ye === (ye =
|
|
4713
|
-
32 &&
|
|
4714
|
-
(e[5] ? "InvalidField" : "")) &&
|
|
4715
|
-
524288 &&
|
|
4716
|
-
e[19]("confirmPassword") + "") &&
|
|
4739
|
+
), ye === (ye = Je(e)) && q ? q.p(e, _) : (q.d(1), q = ye(e), q && (q.c(), q.m(y, ee))), he === (he = qe(e)) && j ? j.p(e, _) : (j && j.d(1), j = he && he(e), j && (j.c(), j.m(y, null))), _[0] & /*invalidNewPassword*/
|
|
4740
|
+
32 && $ !== ($ = "PlayerChangePasswordBox " + /*invalidNewPassword*/
|
|
4741
|
+
(e[5] ? "InvalidField" : "")) && l(y, "class", $), _[0] & /*$_*/
|
|
4742
|
+
524288 && Q !== (Q = /*$_*/
|
|
4743
|
+
e[19]("confirmPassword") + "") && U(me, Q), _[0] & /*userConfirmPassword*/
|
|
4717
4744
|
65536 && Y.value !== /*userConfirmPassword*/
|
|
4718
4745
|
e[16] && Pe(
|
|
4719
4746
|
Y,
|
|
4720
4747
|
/*userConfirmPassword*/
|
|
4721
4748
|
e[16]
|
|
4722
|
-
), _e === (_e =
|
|
4723
|
-
e[6] ?
|
|
4724
|
-
64 &&
|
|
4725
|
-
(e[6] ? "InvalidField" : "")) &&
|
|
4726
|
-
e[18] ?
|
|
4727
|
-
524288 &&
|
|
4728
|
-
e[19]("submitChangePassword") + "") &&
|
|
4729
|
-
8 &&
|
|
4730
|
-
(e[3] ? "" : "ButtonInactive")) &&
|
|
4731
|
-
8 &&
|
|
4732
|
-
e[3]) && (
|
|
4749
|
+
), _e === (_e = Ke(e)) && K ? K.p(e, _) : (K.d(1), K = _e(e), K && (K.c(), K.m(S, te))), /*invalidConfirmPassword*/
|
|
4750
|
+
e[6] ? V ? V.p(e, _) : (V = dr(e), V.c(), V.m(S, null)) : V && (V.d(1), V = null), _[0] & /*invalidConfirmPassword*/
|
|
4751
|
+
64 && ge !== (ge = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
|
|
4752
|
+
(e[6] ? "InvalidField" : "")) && l(S, "class", ge), /*showErrorPasswordChanged*/
|
|
4753
|
+
e[18] ? w ? w.p(e, _) : (w = pr(e), w.c(), w.m(ie.parentNode, ie)) : w && (w.d(1), w = null), _[0] & /*$_*/
|
|
4754
|
+
524288 && ue !== (ue = /*$_*/
|
|
4755
|
+
e[19]("submitChangePassword") + "") && U(be, ue), _[0] & /*activateSubmit*/
|
|
4756
|
+
8 && we !== (we = "PlayerChangePasswordSaveButton " + /*activateSubmit*/
|
|
4757
|
+
(e[3] ? "" : "ButtonInactive")) && l(re, "class", we), _[0] & /*activateSubmit*/
|
|
4758
|
+
8 && de !== (de = !/*activateSubmit*/
|
|
4759
|
+
e[3]) && (re.disabled = de);
|
|
4733
4760
|
},
|
|
4734
|
-
d(
|
|
4735
|
-
|
|
4761
|
+
d(x) {
|
|
4762
|
+
x && (B(t), B(r), B(i), B(a), B(De), B(ie), B(fe)), ae && ae.d(x), e[34](null), J.d(), G && G.d(), e[38](null), q.d(), j && j.d(), e[42](null), K.d(), V && V.d(), w && w.d(x), Ue = !1, Oe(Ye);
|
|
4736
4763
|
}
|
|
4737
4764
|
};
|
|
4738
4765
|
}
|
|
4739
|
-
function
|
|
4740
|
-
let t, r, n, s, i, a,
|
|
4766
|
+
function Mi(e) {
|
|
4767
|
+
let t, r, n, s, i, a, o, u, h, c, d = (
|
|
4741
4768
|
/*$_*/
|
|
4742
4769
|
e[19]("returnToMenu") + ""
|
|
4743
4770
|
), p, m, v;
|
|
4744
4771
|
return {
|
|
4745
4772
|
c() {
|
|
4746
|
-
t = P("div"), r = g("svg"), n = g("defs"), s = g("style"), i = I(".aaa{fill:var(--emw--color-primary, #22B04E);;}"), a = g("g"),
|
|
4773
|
+
t = P("div"), r = g("svg"), n = g("defs"), s = g("style"), i = I(".aaa{fill:var(--emw--color-primary, #22B04E);;}"), a = g("g"), o = g("g"), u = g("path"), h = F(), c = P("span"), p = I(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(a, "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(t, "class", "MenuReturnButton");
|
|
4747
4774
|
},
|
|
4748
|
-
m(b,
|
|
4749
|
-
|
|
4775
|
+
m(b, E) {
|
|
4776
|
+
H(b, t, E), f(t, r), f(r, n), f(n, s), f(s, i), f(r, a), f(a, o), f(o, u), f(t, h), f(t, c), f(c, p), m || (v = z(
|
|
4750
4777
|
t,
|
|
4751
4778
|
"click",
|
|
4752
4779
|
/*click_handler_8*/
|
|
4753
4780
|
e[46]
|
|
4754
4781
|
), m = !0);
|
|
4755
4782
|
},
|
|
4756
|
-
p(b,
|
|
4757
|
-
|
|
4783
|
+
p(b, E) {
|
|
4784
|
+
E[0] & /*$_*/
|
|
4758
4785
|
524288 && d !== (d = /*$_*/
|
|
4759
|
-
b[19]("returnToMenu") + "") &&
|
|
4786
|
+
b[19]("returnToMenu") + "") && U(p, d);
|
|
4760
4787
|
},
|
|
4761
4788
|
d(b) {
|
|
4762
4789
|
b && B(t), m = !1, v();
|
|
4763
4790
|
}
|
|
4764
4791
|
};
|
|
4765
4792
|
}
|
|
4766
|
-
function
|
|
4767
|
-
let t, r, n, s, i, a,
|
|
4793
|
+
function Ni(e) {
|
|
4794
|
+
let t, r, n, s, i, a, o, u, h, c, d = (
|
|
4768
4795
|
/*$_*/
|
|
4769
4796
|
e[19]("titleChangePassword") + ""
|
|
4770
4797
|
), p, m, v;
|
|
4771
4798
|
return {
|
|
4772
4799
|
c() {
|
|
4773
|
-
t = P("div"), r = g("svg"), n = g("defs"), s = g("style"), i = I(".aaa{fill:var(--emw--color-primary, #22B04E);;}"), a = g("g"),
|
|
4800
|
+
t = P("div"), r = g("svg"), n = g("defs"), s = g("style"), i = I(".aaa{fill:var(--emw--color-primary, #22B04E);;}"), a = g("g"), o = g("g"), u = g("path"), h = F(), c = P("h2"), p = I(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(a, "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");
|
|
4774
4801
|
},
|
|
4775
|
-
m(b,
|
|
4776
|
-
|
|
4802
|
+
m(b, E) {
|
|
4803
|
+
H(b, t, E), f(t, r), f(r, n), f(n, s), f(s, i), f(r, a), f(a, o), f(o, u), f(t, h), f(t, c), f(c, p), m || (v = z(
|
|
4777
4804
|
t,
|
|
4778
4805
|
"click",
|
|
4779
4806
|
/*click_handler*/
|
|
4780
4807
|
e[32]
|
|
4781
4808
|
), m = !0);
|
|
4782
4809
|
},
|
|
4783
|
-
p(b,
|
|
4784
|
-
|
|
4810
|
+
p(b, E) {
|
|
4811
|
+
E[0] & /*$_*/
|
|
4785
4812
|
524288 && d !== (d = /*$_*/
|
|
4786
|
-
b[19]("titleChangePassword") + "") &&
|
|
4813
|
+
b[19]("titleChangePassword") + "") && U(p, d);
|
|
4787
4814
|
},
|
|
4788
4815
|
d(b) {
|
|
4789
4816
|
b && B(t), m = !1, v();
|
|
4790
4817
|
}
|
|
4791
4818
|
};
|
|
4792
4819
|
}
|
|
4793
|
-
function
|
|
4794
|
-
let t, r, n, s, i, a,
|
|
4820
|
+
function Oi(e) {
|
|
4821
|
+
let t, r, n, s, i, a, o, u, h, c;
|
|
4795
4822
|
return {
|
|
4796
4823
|
c() {
|
|
4797
|
-
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), a = g("path"),
|
|
4824
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), a = g("path"), o = g("circle"), l(a, "class", "a"), l(a, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), l(a, "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(i, "transform", "translate(-14.185 -27.832)"), l(t, "class", u = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4798
4825
|
(e[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4799
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4826
|
+
(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");
|
|
4800
4827
|
},
|
|
4801
4828
|
m(d, p) {
|
|
4802
|
-
|
|
4829
|
+
H(d, t, p), f(t, r), f(r, n), f(n, s), f(t, i), f(i, a), f(i, o), h || (c = z(
|
|
4803
4830
|
t,
|
|
4804
4831
|
"click",
|
|
4805
4832
|
/*click_handler_2*/
|
|
@@ -4810,55 +4837,55 @@ function Ii(e) {
|
|
|
4810
4837
|
p[0] & /*invalidCurrentPassword*/
|
|
4811
4838
|
16 && u !== (u = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4812
4839
|
(d[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4813
|
-
(d[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
4840
|
+
(d[20] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", u);
|
|
4814
4841
|
},
|
|
4815
4842
|
d(d) {
|
|
4816
4843
|
d && B(t), h = !1, c();
|
|
4817
4844
|
}
|
|
4818
4845
|
};
|
|
4819
4846
|
}
|
|
4820
|
-
function
|
|
4821
|
-
let t, r, n, s, i, a,
|
|
4847
|
+
function Ri(e) {
|
|
4848
|
+
let t, r, n, s, i, a, o, u, h, c, d, p, m, v, b, E;
|
|
4822
4849
|
return {
|
|
4823
4850
|
c() {
|
|
4824
|
-
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), a = g("circle"),
|
|
4851
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), a = g("circle"), o = g("g"), u = g("path"), h = g("path"), c = g("g"), d = g("path"), p = g("path"), m = g("rect"), l(a, "class", "a"), l(a, "cx", "0.05"), l(a, "cy", "0.05"), l(a, "r", "0.05"), l(a, "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(m, "class", "a"), l(m, "width", "0.972"), l(m, "height", "15.861"), l(m, "rx", "0.486"), l(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), l(i, "transform", "translate(-110.856 -23.242)"), l(t, "class", v = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4825
4852
|
(e[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4826
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4853
|
+
(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");
|
|
4827
4854
|
},
|
|
4828
|
-
m(y,
|
|
4829
|
-
|
|
4855
|
+
m(y, A) {
|
|
4856
|
+
H(y, t, A), f(t, r), f(r, n), f(n, s), f(t, i), f(i, a), f(i, o), f(o, u), f(o, h), f(i, c), f(c, d), f(c, p), f(i, m), b || (E = z(
|
|
4830
4857
|
t,
|
|
4831
4858
|
"click",
|
|
4832
4859
|
/*click_handler_1*/
|
|
4833
4860
|
e[35]
|
|
4834
4861
|
), b = !0);
|
|
4835
4862
|
},
|
|
4836
|
-
p(y,
|
|
4837
|
-
|
|
4863
|
+
p(y, A) {
|
|
4864
|
+
A[0] & /*invalidCurrentPassword*/
|
|
4838
4865
|
16 && v !== (v = "TogglePasswordVisibility " + /*invalidCurrentPassword*/
|
|
4839
4866
|
(y[4] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4840
|
-
(y[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
4867
|
+
(y[20] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", v);
|
|
4841
4868
|
},
|
|
4842
4869
|
d(y) {
|
|
4843
|
-
y && B(t), b = !1,
|
|
4870
|
+
y && B(t), b = !1, E();
|
|
4844
4871
|
}
|
|
4845
4872
|
};
|
|
4846
4873
|
}
|
|
4847
|
-
function
|
|
4874
|
+
function fr(e) {
|
|
4848
4875
|
let t;
|
|
4849
4876
|
function r(i, a) {
|
|
4850
4877
|
return (
|
|
4851
4878
|
/*simplepasswordvalidation*/
|
|
4852
|
-
i[0] == "true" ?
|
|
4879
|
+
i[0] == "true" ? Fi : Li
|
|
4853
4880
|
);
|
|
4854
4881
|
}
|
|
4855
4882
|
let n = r(e), s = n(e);
|
|
4856
4883
|
return {
|
|
4857
4884
|
c() {
|
|
4858
|
-
s.c(), t =
|
|
4885
|
+
s.c(), t = wr();
|
|
4859
4886
|
},
|
|
4860
4887
|
m(i, a) {
|
|
4861
|
-
s.m(i, a),
|
|
4888
|
+
s.m(i, a), H(i, t, a);
|
|
4862
4889
|
},
|
|
4863
4890
|
p(i, a) {
|
|
4864
4891
|
n === (n = r(i)) && s ? s.p(i, a) : (s.d(1), s = n(i), s && (s.c(), s.m(t.parentNode, t)));
|
|
@@ -4868,60 +4895,60 @@ function cr(e) {
|
|
|
4868
4895
|
}
|
|
4869
4896
|
};
|
|
4870
4897
|
}
|
|
4871
|
-
function
|
|
4898
|
+
function Li(e) {
|
|
4872
4899
|
let t, r = (
|
|
4873
4900
|
/*$_*/
|
|
4874
4901
|
e[19]("invalidPasswordRule") + ""
|
|
4875
4902
|
), n;
|
|
4876
4903
|
return {
|
|
4877
4904
|
c() {
|
|
4878
|
-
t = P("p"), n = I(r),
|
|
4905
|
+
t = P("p"), n = I(r), l(t, "class", "InvalidInput");
|
|
4879
4906
|
},
|
|
4880
4907
|
m(s, i) {
|
|
4881
|
-
|
|
4908
|
+
H(s, t, i), f(t, n);
|
|
4882
4909
|
},
|
|
4883
4910
|
p(s, i) {
|
|
4884
4911
|
i[0] & /*$_*/
|
|
4885
4912
|
524288 && r !== (r = /*$_*/
|
|
4886
|
-
s[19]("invalidPasswordRule") + "") &&
|
|
4913
|
+
s[19]("invalidPasswordRule") + "") && U(n, r);
|
|
4887
4914
|
},
|
|
4888
4915
|
d(s) {
|
|
4889
4916
|
s && B(t);
|
|
4890
4917
|
}
|
|
4891
4918
|
};
|
|
4892
4919
|
}
|
|
4893
|
-
function
|
|
4920
|
+
function Fi(e) {
|
|
4894
4921
|
let t, r = (
|
|
4895
4922
|
/*$_*/
|
|
4896
4923
|
e[19]("simplePasswordError") + ""
|
|
4897
4924
|
), n;
|
|
4898
4925
|
return {
|
|
4899
4926
|
c() {
|
|
4900
|
-
t = P("p"), n = I(r),
|
|
4927
|
+
t = P("p"), n = I(r), l(t, "class", "InvalidInput");
|
|
4901
4928
|
},
|
|
4902
4929
|
m(s, i) {
|
|
4903
|
-
|
|
4930
|
+
H(s, t, i), f(t, n);
|
|
4904
4931
|
},
|
|
4905
4932
|
p(s, i) {
|
|
4906
4933
|
i[0] & /*$_*/
|
|
4907
4934
|
524288 && r !== (r = /*$_*/
|
|
4908
|
-
s[19]("simplePasswordError") + "") &&
|
|
4935
|
+
s[19]("simplePasswordError") + "") && U(n, r);
|
|
4909
4936
|
},
|
|
4910
4937
|
d(s) {
|
|
4911
4938
|
s && B(t);
|
|
4912
4939
|
}
|
|
4913
4940
|
};
|
|
4914
4941
|
}
|
|
4915
|
-
function
|
|
4916
|
-
let t, r, n, s, i, a,
|
|
4942
|
+
function ki(e) {
|
|
4943
|
+
let t, r, n, s, i, a, o, u, h, c;
|
|
4917
4944
|
return {
|
|
4918
4945
|
c() {
|
|
4919
|
-
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), a = g("path"),
|
|
4946
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), a = g("path"), o = g("circle"), l(a, "class", "a"), l(a, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), l(a, "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(i, "transform", "translate(-14.185 -27.832)"), l(t, "class", u = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4920
4947
|
(e[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4921
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4948
|
+
(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");
|
|
4922
4949
|
},
|
|
4923
4950
|
m(d, p) {
|
|
4924
|
-
|
|
4951
|
+
H(d, t, p), f(t, r), f(r, n), f(n, s), f(t, i), f(i, a), f(i, o), h || (c = z(
|
|
4925
4952
|
t,
|
|
4926
4953
|
"click",
|
|
4927
4954
|
/*click_handler_4*/
|
|
@@ -4932,55 +4959,55 @@ function Ri(e) {
|
|
|
4932
4959
|
p[0] & /*invalidNewPassword*/
|
|
4933
4960
|
32 && u !== (u = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4934
4961
|
(d[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4935
|
-
(d[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
4962
|
+
(d[20] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", u);
|
|
4936
4963
|
},
|
|
4937
4964
|
d(d) {
|
|
4938
4965
|
d && B(t), h = !1, c();
|
|
4939
4966
|
}
|
|
4940
4967
|
};
|
|
4941
4968
|
}
|
|
4942
|
-
function
|
|
4943
|
-
let t, r, n, s, i, a,
|
|
4969
|
+
function Di(e) {
|
|
4970
|
+
let t, r, n, s, i, a, o, u, h, c, d, p, m, v, b, E;
|
|
4944
4971
|
return {
|
|
4945
4972
|
c() {
|
|
4946
|
-
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), a = g("circle"),
|
|
4973
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), a = g("circle"), o = g("g"), u = g("path"), h = g("path"), c = g("g"), d = g("path"), p = g("path"), m = g("rect"), l(a, "class", "a"), l(a, "cx", "0.05"), l(a, "cy", "0.05"), l(a, "r", "0.05"), l(a, "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(m, "class", "a"), l(m, "width", "0.972"), l(m, "height", "15.861"), l(m, "rx", "0.486"), l(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), l(i, "transform", "translate(-110.856 -23.242)"), l(t, "class", v = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4947
4974
|
(e[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4948
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
4975
|
+
(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");
|
|
4949
4976
|
},
|
|
4950
|
-
m(y,
|
|
4951
|
-
|
|
4977
|
+
m(y, A) {
|
|
4978
|
+
H(y, t, A), f(t, r), f(r, n), f(n, s), f(t, i), f(i, a), f(i, o), f(o, u), f(o, h), f(i, c), f(c, d), f(c, p), f(i, m), b || (E = z(
|
|
4952
4979
|
t,
|
|
4953
4980
|
"click",
|
|
4954
4981
|
/*click_handler_3*/
|
|
4955
4982
|
e[39]
|
|
4956
4983
|
), b = !0);
|
|
4957
4984
|
},
|
|
4958
|
-
p(y,
|
|
4959
|
-
|
|
4985
|
+
p(y, A) {
|
|
4986
|
+
A[0] & /*invalidNewPassword*/
|
|
4960
4987
|
32 && v !== (v = "TogglePasswordVisibility " + /*invalidNewPassword*/
|
|
4961
4988
|
(y[5] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
4962
|
-
(y[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
4989
|
+
(y[20] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", v);
|
|
4963
4990
|
},
|
|
4964
4991
|
d(y) {
|
|
4965
|
-
y && B(t), b = !1,
|
|
4992
|
+
y && B(t), b = !1, E();
|
|
4966
4993
|
}
|
|
4967
4994
|
};
|
|
4968
4995
|
}
|
|
4969
|
-
function
|
|
4996
|
+
function Ui(e) {
|
|
4970
4997
|
let t;
|
|
4971
4998
|
function r(i, a) {
|
|
4972
4999
|
return (
|
|
4973
5000
|
/*simplepasswordvalidation*/
|
|
4974
|
-
i[0] == "true" ?
|
|
5001
|
+
i[0] == "true" ? ji : Gi
|
|
4975
5002
|
);
|
|
4976
5003
|
}
|
|
4977
5004
|
let n = r(e), s = n(e);
|
|
4978
5005
|
return {
|
|
4979
5006
|
c() {
|
|
4980
|
-
s.c(), t =
|
|
5007
|
+
s.c(), t = wr();
|
|
4981
5008
|
},
|
|
4982
5009
|
m(i, a) {
|
|
4983
|
-
s.m(i, a),
|
|
5010
|
+
s.m(i, a), H(i, t, a);
|
|
4984
5011
|
},
|
|
4985
5012
|
p(i, a) {
|
|
4986
5013
|
n === (n = r(i)) && s ? s.p(i, a) : (s.d(1), s = n(i), s && (s.c(), s.m(t.parentNode, t)));
|
|
@@ -4990,82 +5017,82 @@ function Fi(e) {
|
|
|
4990
5017
|
}
|
|
4991
5018
|
};
|
|
4992
5019
|
}
|
|
4993
|
-
function
|
|
5020
|
+
function $i(e) {
|
|
4994
5021
|
let t, r = (
|
|
4995
5022
|
/*$_*/
|
|
4996
5023
|
e[19]("invalidNewPassword") + ""
|
|
4997
5024
|
), n;
|
|
4998
5025
|
return {
|
|
4999
5026
|
c() {
|
|
5000
|
-
t = P("p"), n = I(r),
|
|
5027
|
+
t = P("p"), n = I(r), l(t, "class", "InvalidInputNew");
|
|
5001
5028
|
},
|
|
5002
5029
|
m(s, i) {
|
|
5003
|
-
|
|
5030
|
+
H(s, t, i), f(t, n);
|
|
5004
5031
|
},
|
|
5005
5032
|
p(s, i) {
|
|
5006
5033
|
i[0] & /*$_*/
|
|
5007
5034
|
524288 && r !== (r = /*$_*/
|
|
5008
|
-
s[19]("invalidNewPassword") + "") &&
|
|
5035
|
+
s[19]("invalidNewPassword") + "") && U(n, r);
|
|
5009
5036
|
},
|
|
5010
5037
|
d(s) {
|
|
5011
5038
|
s && B(t);
|
|
5012
5039
|
}
|
|
5013
5040
|
};
|
|
5014
5041
|
}
|
|
5015
|
-
function
|
|
5042
|
+
function Gi(e) {
|
|
5016
5043
|
let t, r = (
|
|
5017
5044
|
/*$_*/
|
|
5018
5045
|
e[19]("invalidPasswordRule") + ""
|
|
5019
5046
|
), n;
|
|
5020
5047
|
return {
|
|
5021
5048
|
c() {
|
|
5022
|
-
t = P("p"), n = I(r),
|
|
5049
|
+
t = P("p"), n = I(r), l(t, "class", "InvalidInput");
|
|
5023
5050
|
},
|
|
5024
5051
|
m(s, i) {
|
|
5025
|
-
|
|
5052
|
+
H(s, t, i), f(t, n);
|
|
5026
5053
|
},
|
|
5027
5054
|
p(s, i) {
|
|
5028
5055
|
i[0] & /*$_*/
|
|
5029
5056
|
524288 && r !== (r = /*$_*/
|
|
5030
|
-
s[19]("invalidPasswordRule") + "") &&
|
|
5057
|
+
s[19]("invalidPasswordRule") + "") && U(n, r);
|
|
5031
5058
|
},
|
|
5032
5059
|
d(s) {
|
|
5033
5060
|
s && B(t);
|
|
5034
5061
|
}
|
|
5035
5062
|
};
|
|
5036
5063
|
}
|
|
5037
|
-
function
|
|
5064
|
+
function ji(e) {
|
|
5038
5065
|
let t, r = (
|
|
5039
5066
|
/*$_*/
|
|
5040
5067
|
e[19]("simplePasswordError") + ""
|
|
5041
5068
|
), n;
|
|
5042
5069
|
return {
|
|
5043
5070
|
c() {
|
|
5044
|
-
t = P("p"), n = I(r),
|
|
5071
|
+
t = P("p"), n = I(r), l(t, "class", "InvalidInput");
|
|
5045
5072
|
},
|
|
5046
5073
|
m(s, i) {
|
|
5047
|
-
|
|
5074
|
+
H(s, t, i), f(t, n);
|
|
5048
5075
|
},
|
|
5049
5076
|
p(s, i) {
|
|
5050
5077
|
i[0] & /*$_*/
|
|
5051
5078
|
524288 && r !== (r = /*$_*/
|
|
5052
|
-
s[19]("simplePasswordError") + "") &&
|
|
5079
|
+
s[19]("simplePasswordError") + "") && U(n, r);
|
|
5053
5080
|
},
|
|
5054
5081
|
d(s) {
|
|
5055
5082
|
s && B(t);
|
|
5056
5083
|
}
|
|
5057
5084
|
};
|
|
5058
5085
|
}
|
|
5059
|
-
function
|
|
5060
|
-
let t, r, n, s, i, a,
|
|
5086
|
+
function Vi(e) {
|
|
5087
|
+
let t, r, n, s, i, a, o, u, h, c;
|
|
5061
5088
|
return {
|
|
5062
5089
|
c() {
|
|
5063
|
-
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), a = g("path"),
|
|
5090
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), a = g("path"), o = g("circle"), l(a, "class", "a"), l(a, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), l(a, "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(i, "transform", "translate(-14.185 -27.832)"), l(t, "class", u = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5064
5091
|
(e[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5065
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
5092
|
+
(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");
|
|
5066
5093
|
},
|
|
5067
5094
|
m(d, p) {
|
|
5068
|
-
|
|
5095
|
+
H(d, t, p), f(t, r), f(r, n), f(n, s), f(t, i), f(i, a), f(i, o), h || (c = z(
|
|
5069
5096
|
t,
|
|
5070
5097
|
"click",
|
|
5071
5098
|
/*click_handler_6*/
|
|
@@ -5076,77 +5103,77 @@ function $i(e) {
|
|
|
5076
5103
|
p[0] & /*invalidConfirmPassword*/
|
|
5077
5104
|
64 && u !== (u = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5078
5105
|
(d[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5079
|
-
(d[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
5106
|
+
(d[20] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", u);
|
|
5080
5107
|
},
|
|
5081
5108
|
d(d) {
|
|
5082
5109
|
d && B(t), h = !1, c();
|
|
5083
5110
|
}
|
|
5084
5111
|
};
|
|
5085
5112
|
}
|
|
5086
|
-
function
|
|
5087
|
-
let t, r, n, s, i, a,
|
|
5113
|
+
function zi(e) {
|
|
5114
|
+
let t, r, n, s, i, a, o, u, h, c, d, p, m, v, b, E;
|
|
5088
5115
|
return {
|
|
5089
5116
|
c() {
|
|
5090
|
-
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), a = g("circle"),
|
|
5117
|
+
t = g("svg"), r = g("defs"), n = g("style"), s = I(".a{fill:var(--emw--color-white, #FFFFFF);}"), i = g("g"), a = g("circle"), o = g("g"), u = g("path"), h = g("path"), c = g("g"), d = g("path"), p = g("path"), m = g("rect"), l(a, "class", "a"), l(a, "cx", "0.05"), l(a, "cy", "0.05"), l(a, "r", "0.05"), l(a, "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(m, "class", "a"), l(m, "width", "0.972"), l(m, "height", "15.861"), l(m, "rx", "0.486"), l(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), l(i, "transform", "translate(-110.856 -23.242)"), l(t, "class", v = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5091
5118
|
(e[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5092
|
-
(e[20] ? "TogglePasswordVisibilityMobile" : "")),
|
|
5119
|
+
(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");
|
|
5093
5120
|
},
|
|
5094
|
-
m(y,
|
|
5095
|
-
|
|
5121
|
+
m(y, A) {
|
|
5122
|
+
H(y, t, A), f(t, r), f(r, n), f(n, s), f(t, i), f(i, a), f(i, o), f(o, u), f(o, h), f(i, c), f(c, d), f(c, p), f(i, m), b || (E = z(
|
|
5096
5123
|
t,
|
|
5097
5124
|
"click",
|
|
5098
5125
|
/*click_handler_5*/
|
|
5099
5126
|
e[43]
|
|
5100
5127
|
), b = !0);
|
|
5101
5128
|
},
|
|
5102
|
-
p(y,
|
|
5103
|
-
|
|
5129
|
+
p(y, A) {
|
|
5130
|
+
A[0] & /*invalidConfirmPassword*/
|
|
5104
5131
|
64 && v !== (v = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
|
|
5105
5132
|
(y[6] ? "InvalidToggle" : "") + " " + /*isMobile*/
|
|
5106
|
-
(y[20] ? "TogglePasswordVisibilityMobile" : "")) &&
|
|
5133
|
+
(y[20] ? "TogglePasswordVisibilityMobile" : "")) && l(t, "class", v);
|
|
5107
5134
|
},
|
|
5108
5135
|
d(y) {
|
|
5109
|
-
y && B(t), b = !1,
|
|
5136
|
+
y && B(t), b = !1, E();
|
|
5110
5137
|
}
|
|
5111
5138
|
};
|
|
5112
5139
|
}
|
|
5113
|
-
function
|
|
5140
|
+
function dr(e) {
|
|
5114
5141
|
let t, r = (
|
|
5115
5142
|
/*$_*/
|
|
5116
5143
|
e[19]("confirmPasswordInvalid") + ""
|
|
5117
5144
|
), n;
|
|
5118
5145
|
return {
|
|
5119
5146
|
c() {
|
|
5120
|
-
t = P("p"), n = I(r),
|
|
5147
|
+
t = P("p"), n = I(r), l(t, "class", "InvalidInput");
|
|
5121
5148
|
},
|
|
5122
5149
|
m(s, i) {
|
|
5123
|
-
|
|
5150
|
+
H(s, t, i), f(t, n);
|
|
5124
5151
|
},
|
|
5125
5152
|
p(s, i) {
|
|
5126
5153
|
i[0] & /*$_*/
|
|
5127
5154
|
524288 && r !== (r = /*$_*/
|
|
5128
|
-
s[19]("confirmPasswordInvalid") + "") &&
|
|
5155
|
+
s[19]("confirmPasswordInvalid") + "") && U(n, r);
|
|
5129
5156
|
},
|
|
5130
5157
|
d(s) {
|
|
5131
5158
|
s && B(t);
|
|
5132
5159
|
}
|
|
5133
5160
|
};
|
|
5134
5161
|
}
|
|
5135
|
-
function
|
|
5162
|
+
function pr(e) {
|
|
5136
5163
|
let t, r, n;
|
|
5137
5164
|
return {
|
|
5138
5165
|
c() {
|
|
5139
5166
|
t = P("div"), r = P("p"), n = I(
|
|
5140
5167
|
/*errorPasswordChanged*/
|
|
5141
5168
|
e[17]
|
|
5142
|
-
),
|
|
5169
|
+
), l(r, "class", "PasswordChangedError");
|
|
5143
5170
|
},
|
|
5144
5171
|
m(s, i) {
|
|
5145
|
-
|
|
5172
|
+
H(s, t, i), f(t, r), f(r, n);
|
|
5146
5173
|
},
|
|
5147
5174
|
p(s, i) {
|
|
5148
5175
|
i[0] & /*errorPasswordChanged*/
|
|
5149
|
-
131072 &&
|
|
5176
|
+
131072 && U(
|
|
5150
5177
|
n,
|
|
5151
5178
|
/*errorPasswordChanged*/
|
|
5152
5179
|
s[17]
|
|
@@ -5157,10 +5184,10 @@ function dr(e) {
|
|
|
5157
5184
|
}
|
|
5158
5185
|
};
|
|
5159
5186
|
}
|
|
5160
|
-
function
|
|
5187
|
+
function Wi(e) {
|
|
5161
5188
|
let t;
|
|
5162
5189
|
function r(i, a) {
|
|
5163
|
-
return
|
|
5190
|
+
return Ai;
|
|
5164
5191
|
}
|
|
5165
5192
|
let s = r()(e);
|
|
5166
5193
|
return {
|
|
@@ -5168,197 +5195,197 @@ function ji(e) {
|
|
|
5168
5195
|
t = P("div"), s.c();
|
|
5169
5196
|
},
|
|
5170
5197
|
m(i, a) {
|
|
5171
|
-
|
|
5198
|
+
H(i, t, a), s.m(t, null), e[48](t);
|
|
5172
5199
|
},
|
|
5173
5200
|
p(i, a) {
|
|
5174
5201
|
s.p(i, a);
|
|
5175
5202
|
},
|
|
5176
|
-
i:
|
|
5177
|
-
o:
|
|
5203
|
+
i: ne,
|
|
5204
|
+
o: ne,
|
|
5178
5205
|
d(i) {
|
|
5179
5206
|
i && B(t), s.d(), e[48](null);
|
|
5180
5207
|
}
|
|
5181
5208
|
};
|
|
5182
5209
|
}
|
|
5183
|
-
function
|
|
5210
|
+
function Xi(e, t, r) {
|
|
5184
5211
|
let n;
|
|
5185
|
-
|
|
5186
|
-
let { lang: s = "en" } = t, { simplepasswordvalidation: i = "false" } = t, { clientstyling: a = "" } = t, { clientstylingurl:
|
|
5212
|
+
Jr(e, yi, (w) => r(19, n = w));
|
|
5213
|
+
let { lang: s = "en" } = t, { simplepasswordvalidation: i = "false" } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { mbsource: u } = t, { translationurl: h = "" } = t, { passwordregex: c = "" } = t, d, p, m = window.navigator.userAgent, v = _i(m) !== "PC", b = !1;
|
|
5187
5214
|
window.matchMedia("(min-width: 768px)");
|
|
5188
|
-
const
|
|
5215
|
+
const E = {
|
|
5189
5216
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
|
|
5190
5217
|
};
|
|
5191
|
-
let
|
|
5192
|
-
const
|
|
5193
|
-
fetch(h).then((
|
|
5194
|
-
Object.keys(
|
|
5195
|
-
|
|
5218
|
+
let y = !1, A = !1, O = !1, k, D, M, X = !1, ee = !1, $ = !1, R = !1, S = "", Z = "", Q = "", me = !1, ke = "", Y = !1;
|
|
5219
|
+
const Ze = () => {
|
|
5220
|
+
fetch(h).then((x) => x.json()).then((x) => {
|
|
5221
|
+
Object.keys(x).forEach((_) => {
|
|
5222
|
+
hr(_, x[_]);
|
|
5196
5223
|
});
|
|
5197
|
-
}).catch((
|
|
5198
|
-
console.log(
|
|
5224
|
+
}).catch((x) => {
|
|
5225
|
+
console.log(x);
|
|
5199
5226
|
});
|
|
5200
5227
|
};
|
|
5201
|
-
Object.keys(
|
|
5202
|
-
|
|
5228
|
+
Object.keys(cr).forEach((w) => {
|
|
5229
|
+
hr(w, cr[w]);
|
|
5203
5230
|
});
|
|
5204
|
-
const
|
|
5231
|
+
const te = (w) => {
|
|
5205
5232
|
switch (w) {
|
|
5206
5233
|
case "userCurrentPassword":
|
|
5207
|
-
r(10,
|
|
5234
|
+
r(10, X = !X), r(7, k.type = X ? "text" : "password", k);
|
|
5208
5235
|
break;
|
|
5209
5236
|
case "userNewPassword":
|
|
5210
|
-
r(11,
|
|
5237
|
+
r(11, ee = !ee), r(8, D.type = ee ? "text" : "password", D);
|
|
5211
5238
|
break;
|
|
5212
5239
|
case "userConfirmPassword":
|
|
5213
|
-
r(12,
|
|
5240
|
+
r(12, $ = !$), r(9, M.type = $ ? "text" : "password", M);
|
|
5214
5241
|
break;
|
|
5215
5242
|
}
|
|
5216
|
-
},
|
|
5217
|
-
i == "true" && (
|
|
5218
|
-
},
|
|
5219
|
-
|
|
5220
|
-
},
|
|
5221
|
-
!
|
|
5222
|
-
},
|
|
5223
|
-
w.preventDefault(),
|
|
5243
|
+
}, ge = () => {
|
|
5244
|
+
i == "true" && (E.password = /^(?!.* ).{8,20}$/);
|
|
5245
|
+
}, De = (w, x, _) => {
|
|
5246
|
+
_.id === "CurrentPassword" ? x.length > 1e3 ? r(4, y = !0) : r(4, y = !1) : _.id === "NewPassword" ? (r(5, A = !ie(x)), S && r(13, R = S === Z), Q && r(6, O = Z === Q ? !ie(x) : !0)) : r(6, O = Z === Q ? !ie(x) : !0), fe();
|
|
5247
|
+
}, ie = (w) => !!E.password.test(w), fe = () => {
|
|
5248
|
+
!y && !A && !O && !R && S && Z && Q ? r(3, b = !0) : r(3, b = !1);
|
|
5249
|
+
}, re = (w) => {
|
|
5250
|
+
w.preventDefault(), b && window.postMessage(
|
|
5224
5251
|
{
|
|
5225
5252
|
type: "ChangePassword",
|
|
5226
|
-
userCurrentPassword:
|
|
5227
|
-
userNewPassword:
|
|
5253
|
+
userCurrentPassword: S,
|
|
5254
|
+
userNewPassword: Z
|
|
5228
5255
|
},
|
|
5229
5256
|
window.location.href
|
|
5230
5257
|
);
|
|
5231
|
-
},
|
|
5258
|
+
}, ue = () => {
|
|
5232
5259
|
window.postMessage(
|
|
5233
5260
|
{
|
|
5234
5261
|
type: "PlayerAccountMenuActive",
|
|
5235
|
-
isMobile:
|
|
5262
|
+
isMobile: v
|
|
5236
5263
|
},
|
|
5237
5264
|
window.location.href
|
|
5238
5265
|
);
|
|
5239
|
-
},
|
|
5266
|
+
}, be = () => {
|
|
5240
5267
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
5241
|
-
},
|
|
5242
|
-
|
|
5243
|
-
},
|
|
5268
|
+
}, we = () => {
|
|
5269
|
+
Pi(s);
|
|
5270
|
+
}, de = (w) => {
|
|
5244
5271
|
if (w.data)
|
|
5245
5272
|
switch (w.data.type) {
|
|
5246
5273
|
case "PasswordChangedSuccessfully":
|
|
5247
|
-
r(2,
|
|
5274
|
+
r(2, me = !0);
|
|
5248
5275
|
break;
|
|
5249
5276
|
case "ShowPasswordChangedError":
|
|
5250
|
-
r(18,
|
|
5277
|
+
r(18, Y = w.data.showErrorPasswordChanged), r(17, ke = w.data.errorPasswordChanged);
|
|
5251
5278
|
break;
|
|
5252
5279
|
}
|
|
5253
5280
|
};
|
|
5254
|
-
|
|
5255
|
-
window.removeEventListener("message",
|
|
5281
|
+
sn(() => (window.addEventListener("message", de, !1), () => {
|
|
5282
|
+
window.removeEventListener("message", de);
|
|
5256
5283
|
}));
|
|
5257
|
-
const
|
|
5258
|
-
function
|
|
5259
|
-
|
|
5284
|
+
const Ue = () => ue();
|
|
5285
|
+
function Ye() {
|
|
5286
|
+
S = this.value, r(14, S);
|
|
5260
5287
|
}
|
|
5261
|
-
function
|
|
5262
|
-
|
|
5263
|
-
|
|
5288
|
+
function ae(w) {
|
|
5289
|
+
Se[w ? "unshift" : "push"](() => {
|
|
5290
|
+
k = w, r(7, k);
|
|
5264
5291
|
});
|
|
5265
5292
|
}
|
|
5266
|
-
const
|
|
5267
|
-
function
|
|
5268
|
-
|
|
5293
|
+
const Qe = () => te("userCurrentPassword"), ve = () => te("userCurrentPassword");
|
|
5294
|
+
function J() {
|
|
5295
|
+
Z = this.value, r(15, Z);
|
|
5269
5296
|
}
|
|
5270
|
-
function
|
|
5271
|
-
|
|
5297
|
+
function G(w) {
|
|
5298
|
+
Se[w ? "unshift" : "push"](() => {
|
|
5272
5299
|
D = w, r(8, D);
|
|
5273
5300
|
});
|
|
5274
5301
|
}
|
|
5275
|
-
const
|
|
5276
|
-
function
|
|
5277
|
-
|
|
5302
|
+
const Je = () => te("userNewPassword"), ye = () => te("userNewPassword");
|
|
5303
|
+
function q() {
|
|
5304
|
+
Q = this.value, r(16, Q);
|
|
5278
5305
|
}
|
|
5279
|
-
function
|
|
5280
|
-
|
|
5281
|
-
|
|
5306
|
+
function qe(w) {
|
|
5307
|
+
Se[w ? "unshift" : "push"](() => {
|
|
5308
|
+
M = w, r(9, M);
|
|
5282
5309
|
});
|
|
5283
5310
|
}
|
|
5284
|
-
const
|
|
5285
|
-
function
|
|
5286
|
-
|
|
5311
|
+
const he = () => te("userConfirmPassword"), j = () => te("userConfirmPassword"), Ke = (w) => re(w), _e = () => ue(), K = () => be();
|
|
5312
|
+
function V(w) {
|
|
5313
|
+
Se[w ? "unshift" : "push"](() => {
|
|
5287
5314
|
d = w, r(1, d);
|
|
5288
5315
|
});
|
|
5289
5316
|
}
|
|
5290
5317
|
return e.$$set = (w) => {
|
|
5291
|
-
"lang" in w && r(26, s = w.lang), "simplepasswordvalidation" in w && r(0, i = w.simplepasswordvalidation), "clientstyling" in w && r(27, a = w.clientstyling), "clientstylingurl" in w && r(28,
|
|
5318
|
+
"lang" in w && r(26, s = w.lang), "simplepasswordvalidation" in w && r(0, i = w.simplepasswordvalidation), "clientstyling" in w && r(27, a = w.clientstyling), "clientstylingurl" in w && r(28, o = w.clientstylingurl), "mbsource" in w && r(29, u = w.mbsource), "translationurl" in w && r(30, h = w.translationurl), "passwordregex" in w && r(31, c = w.passwordregex);
|
|
5292
5319
|
}, e.$$.update = () => {
|
|
5293
5320
|
e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
5294
|
-
1 && i &&
|
|
5295
|
-
1 && c && (
|
|
5296
|
-
67108864 && s &&
|
|
5321
|
+
1 && i && ge(), e.$$.dirty[1] & /*passwordregex*/
|
|
5322
|
+
1 && c && (E.password = new RegExp(c)), e.$$.dirty[0] & /*lang*/
|
|
5323
|
+
67108864 && s && we(), e.$$.dirty[0] & /*passwordChanged*/
|
|
5297
5324
|
4, e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5298
|
-
134217730 && a && d &&
|
|
5299
|
-
268435458 &&
|
|
5300
|
-
536870914 && u && d &&
|
|
5301
|
-
1073741824 && h &&
|
|
5325
|
+
134217730 && a && d && Ei(d, a), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5326
|
+
268435458 && o && d && xi(d, o), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5327
|
+
536870914 && u && d && Ti(d, `${u}.Style`, p), e.$$.dirty[0] & /*translationurl*/
|
|
5328
|
+
1073741824 && h && Ze();
|
|
5302
5329
|
}, [
|
|
5303
5330
|
i,
|
|
5304
5331
|
d,
|
|
5305
|
-
|
|
5306
|
-
|
|
5307
|
-
_,
|
|
5332
|
+
me,
|
|
5333
|
+
b,
|
|
5308
5334
|
y,
|
|
5309
|
-
|
|
5310
|
-
R,
|
|
5311
|
-
D,
|
|
5312
|
-
U,
|
|
5335
|
+
A,
|
|
5313
5336
|
O,
|
|
5337
|
+
k,
|
|
5338
|
+
D,
|
|
5339
|
+
M,
|
|
5314
5340
|
X,
|
|
5315
5341
|
ee,
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5342
|
+
$,
|
|
5343
|
+
R,
|
|
5344
|
+
S,
|
|
5319
5345
|
Z,
|
|
5320
|
-
|
|
5321
|
-
|
|
5346
|
+
Q,
|
|
5347
|
+
ke,
|
|
5348
|
+
Y,
|
|
5322
5349
|
n,
|
|
5323
|
-
|
|
5350
|
+
v,
|
|
5351
|
+
te,
|
|
5352
|
+
De,
|
|
5324
5353
|
re,
|
|
5354
|
+
ue,
|
|
5325
5355
|
be,
|
|
5326
|
-
oe,
|
|
5327
|
-
Q,
|
|
5328
|
-
de,
|
|
5329
5356
|
s,
|
|
5330
5357
|
a,
|
|
5331
|
-
|
|
5358
|
+
o,
|
|
5332
5359
|
u,
|
|
5333
5360
|
h,
|
|
5334
5361
|
c,
|
|
5335
|
-
we,
|
|
5336
5362
|
Ue,
|
|
5337
|
-
Ze,
|
|
5338
|
-
se,
|
|
5339
5363
|
Ye,
|
|
5364
|
+
ae,
|
|
5365
|
+
Qe,
|
|
5340
5366
|
ve,
|
|
5341
5367
|
J,
|
|
5342
|
-
|
|
5343
|
-
|
|
5368
|
+
G,
|
|
5369
|
+
Je,
|
|
5344
5370
|
ye,
|
|
5345
5371
|
q,
|
|
5346
|
-
Je,
|
|
5347
|
-
le,
|
|
5348
|
-
V,
|
|
5349
5372
|
qe,
|
|
5373
|
+
he,
|
|
5374
|
+
j,
|
|
5375
|
+
Ke,
|
|
5350
5376
|
_e,
|
|
5351
|
-
K
|
|
5377
|
+
K,
|
|
5378
|
+
V
|
|
5352
5379
|
];
|
|
5353
5380
|
}
|
|
5354
|
-
class
|
|
5381
|
+
class Zi extends bn {
|
|
5355
5382
|
constructor(t) {
|
|
5356
|
-
super(),
|
|
5383
|
+
super(), mn(
|
|
5357
5384
|
this,
|
|
5358
5385
|
t,
|
|
5359
|
-
|
|
5360
|
-
|
|
5361
|
-
|
|
5386
|
+
Xi,
|
|
5387
|
+
Wi,
|
|
5388
|
+
gr,
|
|
5362
5389
|
{
|
|
5363
5390
|
lang: 26,
|
|
5364
5391
|
simplepasswordvalidation: 0,
|
|
@@ -5368,7 +5395,7 @@ class zi extends gn {
|
|
|
5368
5395
|
translationurl: 30,
|
|
5369
5396
|
passwordregex: 31
|
|
5370
5397
|
},
|
|
5371
|
-
|
|
5398
|
+
Bi,
|
|
5372
5399
|
[-1, -1]
|
|
5373
5400
|
);
|
|
5374
5401
|
}
|
|
@@ -5376,46 +5403,46 @@ class zi extends gn {
|
|
|
5376
5403
|
return this.$$.ctx[26];
|
|
5377
5404
|
}
|
|
5378
5405
|
set lang(t) {
|
|
5379
|
-
this.$$set({ lang: t }),
|
|
5406
|
+
this.$$set({ lang: t }), oe();
|
|
5380
5407
|
}
|
|
5381
5408
|
get simplepasswordvalidation() {
|
|
5382
5409
|
return this.$$.ctx[0];
|
|
5383
5410
|
}
|
|
5384
5411
|
set simplepasswordvalidation(t) {
|
|
5385
|
-
this.$$set({ simplepasswordvalidation: t }),
|
|
5412
|
+
this.$$set({ simplepasswordvalidation: t }), oe();
|
|
5386
5413
|
}
|
|
5387
5414
|
get clientstyling() {
|
|
5388
5415
|
return this.$$.ctx[27];
|
|
5389
5416
|
}
|
|
5390
5417
|
set clientstyling(t) {
|
|
5391
|
-
this.$$set({ clientstyling: t }),
|
|
5418
|
+
this.$$set({ clientstyling: t }), oe();
|
|
5392
5419
|
}
|
|
5393
5420
|
get clientstylingurl() {
|
|
5394
5421
|
return this.$$.ctx[28];
|
|
5395
5422
|
}
|
|
5396
5423
|
set clientstylingurl(t) {
|
|
5397
|
-
this.$$set({ clientstylingurl: t }),
|
|
5424
|
+
this.$$set({ clientstylingurl: t }), oe();
|
|
5398
5425
|
}
|
|
5399
5426
|
get mbsource() {
|
|
5400
5427
|
return this.$$.ctx[29];
|
|
5401
5428
|
}
|
|
5402
5429
|
set mbsource(t) {
|
|
5403
|
-
this.$$set({ mbsource: t }),
|
|
5430
|
+
this.$$set({ mbsource: t }), oe();
|
|
5404
5431
|
}
|
|
5405
5432
|
get translationurl() {
|
|
5406
5433
|
return this.$$.ctx[30];
|
|
5407
5434
|
}
|
|
5408
5435
|
set translationurl(t) {
|
|
5409
|
-
this.$$set({ translationurl: t }),
|
|
5436
|
+
this.$$set({ translationurl: t }), oe();
|
|
5410
5437
|
}
|
|
5411
5438
|
get passwordregex() {
|
|
5412
5439
|
return this.$$.ctx[31];
|
|
5413
5440
|
}
|
|
5414
5441
|
set passwordregex(t) {
|
|
5415
|
-
this.$$set({ passwordregex: t }),
|
|
5442
|
+
this.$$set({ passwordregex: t }), oe();
|
|
5416
5443
|
}
|
|
5417
5444
|
}
|
|
5418
|
-
|
|
5445
|
+
gn(Zi, { lang: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, passwordregex: {} }, [], [], !0);
|
|
5419
5446
|
export {
|
|
5420
|
-
|
|
5447
|
+
Zi as P
|
|
5421
5448
|
};
|