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