@everymatrix/player-change-password-nd 1.76.0 → 1.76.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerChangePasswordNd-u0C3oM8O.js → PlayerChangePasswordNd-B4OePJ7K.js} +1120 -1141
- package/components/{PlayerChangePasswordNd-CxANVPnM.js → PlayerChangePasswordNd-DpUlNWd7.js} +1222 -1243
- package/components/PlayerChangePasswordNd-vd8W7hY3.cjs +20 -0
- package/es2015/player-change-password-nd.cjs +1 -1
- package/es2015/player-change-password-nd.js +1 -1
- package/esnext/player-change-password-nd.js +1 -1
- package/package.json +1 -1
- package/components/PlayerChangePasswordNd-DFyhIPdJ.cjs +0 -20
package/components/{PlayerChangePasswordNd-u0C3oM8O.js → PlayerChangePasswordNd-B4OePJ7K.js}
RENAMED
|
@@ -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 = P("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,33 +50,33 @@ 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
|
-
function
|
|
66
|
+
function P(e) {
|
|
67
67
|
return document.createElement(e);
|
|
68
68
|
}
|
|
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
|
-
function
|
|
76
|
-
return
|
|
75
|
+
function k() {
|
|
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,20 +84,20 @@ 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) {
|
|
91
91
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
92
92
|
t);
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function _e(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 Pt(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(Pt);
|
|
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), Pt(() => {
|
|
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(Pt);
|
|
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 = P("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,11 +440,11 @@ 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(
|
|
446
|
+
const bn = "4";
|
|
447
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(bn);
|
|
448
448
|
/*! *****************************************************************************
|
|
449
449
|
Copyright (c) Microsoft Corporation.
|
|
450
450
|
|
|
@@ -459,24 +459,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
459
459
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
460
460
|
PERFORMANCE OF THIS SOFTWARE.
|
|
461
461
|
***************************************************************************** */
|
|
462
|
-
var
|
|
463
|
-
return
|
|
462
|
+
var _t = function(e, t) {
|
|
463
|
+
return _t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
464
464
|
r.__proto__ = n;
|
|
465
465
|
} || function(r, n) {
|
|
466
|
-
for (var
|
|
467
|
-
Object.prototype.hasOwnProperty.call(n,
|
|
468
|
-
},
|
|
466
|
+
for (var i in n)
|
|
467
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
468
|
+
}, _t(e, t);
|
|
469
469
|
};
|
|
470
|
-
function
|
|
470
|
+
function ae(e, t) {
|
|
471
471
|
if (typeof t != "function" && t !== null)
|
|
472
472
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
473
|
-
|
|
473
|
+
_t(e, t);
|
|
474
474
|
function r() {
|
|
475
475
|
this.constructor = e;
|
|
476
476
|
}
|
|
477
477
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
478
478
|
}
|
|
479
|
-
function
|
|
479
|
+
var S = function() {
|
|
480
|
+
return S = Object.assign || function(t) {
|
|
481
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
482
|
+
r = arguments[n];
|
|
483
|
+
for (var s in r)
|
|
484
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
485
|
+
}
|
|
486
|
+
return t;
|
|
487
|
+
}, S.apply(this, arguments);
|
|
488
|
+
};
|
|
489
|
+
function wn(e, t) {
|
|
490
|
+
var r = {};
|
|
491
|
+
for (var n in e)
|
|
492
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
493
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
494
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
495
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
496
|
+
return r;
|
|
497
|
+
}
|
|
498
|
+
function Et(e) {
|
|
480
499
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
481
500
|
if (r)
|
|
482
501
|
return r.call(e);
|
|
@@ -488,69 +507,69 @@ function Tt(e) {
|
|
|
488
507
|
};
|
|
489
508
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
490
509
|
}
|
|
491
|
-
function
|
|
510
|
+
function xt(e, t) {
|
|
492
511
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
493
512
|
if (!r)
|
|
494
513
|
return e;
|
|
495
|
-
var n = r.call(e),
|
|
514
|
+
var n = r.call(e), i, s = [], a;
|
|
496
515
|
try {
|
|
497
|
-
for (; (t === void 0 || t-- > 0) && !(
|
|
498
|
-
|
|
516
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
517
|
+
s.push(i.value);
|
|
499
518
|
} catch (l) {
|
|
500
519
|
a = { error: l };
|
|
501
520
|
} finally {
|
|
502
521
|
try {
|
|
503
|
-
|
|
522
|
+
i && !i.done && (r = n.return) && r.call(n);
|
|
504
523
|
} finally {
|
|
505
524
|
if (a)
|
|
506
525
|
throw a.error;
|
|
507
526
|
}
|
|
508
527
|
}
|
|
509
|
-
return
|
|
528
|
+
return s;
|
|
510
529
|
}
|
|
511
|
-
function
|
|
512
|
-
if (arguments.length === 2)
|
|
513
|
-
for (var n = 0,
|
|
514
|
-
(
|
|
515
|
-
return e.concat(
|
|
530
|
+
function Ae(e, t, r) {
|
|
531
|
+
if (r || arguments.length === 2)
|
|
532
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
|
533
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
534
|
+
return e.concat(s || t);
|
|
516
535
|
}
|
|
517
|
-
function
|
|
536
|
+
function se(e) {
|
|
518
537
|
return typeof e == "function";
|
|
519
538
|
}
|
|
520
|
-
function
|
|
539
|
+
function br(e) {
|
|
521
540
|
var t = function(n) {
|
|
522
541
|
Error.call(n), n.stack = new Error().stack;
|
|
523
542
|
}, r = e(t);
|
|
524
543
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
525
544
|
}
|
|
526
|
-
var
|
|
545
|
+
var dt = br(function(e) {
|
|
527
546
|
return function(r) {
|
|
528
547
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
529
|
-
` + r.map(function(n,
|
|
530
|
-
return
|
|
548
|
+
` + r.map(function(n, i) {
|
|
549
|
+
return i + 1 + ") " + n.toString();
|
|
531
550
|
}).join(`
|
|
532
551
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
533
552
|
};
|
|
534
553
|
});
|
|
535
|
-
function
|
|
554
|
+
function Tt(e, t) {
|
|
536
555
|
if (e) {
|
|
537
556
|
var r = e.indexOf(t);
|
|
538
557
|
0 <= r && e.splice(r, 1);
|
|
539
558
|
}
|
|
540
559
|
}
|
|
541
|
-
var
|
|
560
|
+
var ot = function() {
|
|
542
561
|
function e(t) {
|
|
543
562
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
544
563
|
}
|
|
545
564
|
return e.prototype.unsubscribe = function() {
|
|
546
|
-
var t, r, n,
|
|
565
|
+
var t, r, n, i, s;
|
|
547
566
|
if (!this.closed) {
|
|
548
567
|
this.closed = !0;
|
|
549
568
|
var a = this._parentage;
|
|
550
569
|
if (a)
|
|
551
570
|
if (this._parentage = null, Array.isArray(a))
|
|
552
571
|
try {
|
|
553
|
-
for (var l =
|
|
572
|
+
for (var l = Et(a), u = l.next(); !u.done; u = l.next()) {
|
|
554
573
|
var h = u.value;
|
|
555
574
|
h.remove(this);
|
|
556
575
|
}
|
|
@@ -567,43 +586,43 @@ var lt = function() {
|
|
|
567
586
|
else
|
|
568
587
|
a.remove(this);
|
|
569
588
|
var c = this.initialTeardown;
|
|
570
|
-
if (
|
|
589
|
+
if (se(c))
|
|
571
590
|
try {
|
|
572
591
|
c();
|
|
573
592
|
} catch (w) {
|
|
574
|
-
|
|
593
|
+
s = w instanceof dt ? w.errors : [w];
|
|
575
594
|
}
|
|
576
595
|
var f = this._finalizers;
|
|
577
596
|
if (f) {
|
|
578
597
|
this._finalizers = null;
|
|
579
598
|
try {
|
|
580
|
-
for (var p =
|
|
599
|
+
for (var p = Et(f), m = p.next(); !m.done; m = p.next()) {
|
|
581
600
|
var v = m.value;
|
|
582
601
|
try {
|
|
583
|
-
|
|
602
|
+
$t(v);
|
|
584
603
|
} catch (w) {
|
|
585
|
-
|
|
604
|
+
s = s ?? [], w instanceof dt ? s = Ae(Ae([], xt(s)), xt(w.errors)) : s.push(w);
|
|
586
605
|
}
|
|
587
606
|
}
|
|
588
607
|
} catch (w) {
|
|
589
608
|
n = { error: w };
|
|
590
609
|
} finally {
|
|
591
610
|
try {
|
|
592
|
-
m && !m.done && (
|
|
611
|
+
m && !m.done && (i = p.return) && i.call(p);
|
|
593
612
|
} finally {
|
|
594
613
|
if (n)
|
|
595
614
|
throw n.error;
|
|
596
615
|
}
|
|
597
616
|
}
|
|
598
617
|
}
|
|
599
|
-
if (
|
|
600
|
-
throw new
|
|
618
|
+
if (s)
|
|
619
|
+
throw new dt(s);
|
|
601
620
|
}
|
|
602
621
|
}, e.prototype.add = function(t) {
|
|
603
622
|
var r;
|
|
604
623
|
if (t && t !== this)
|
|
605
624
|
if (this.closed)
|
|
606
|
-
|
|
625
|
+
$t(t);
|
|
607
626
|
else {
|
|
608
627
|
if (t instanceof e) {
|
|
609
628
|
if (t.closed || t._hasParent(this))
|
|
@@ -620,52 +639,56 @@ var lt = function() {
|
|
|
620
639
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
621
640
|
}, e.prototype._removeParent = function(t) {
|
|
622
641
|
var r = this._parentage;
|
|
623
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
642
|
+
r === t ? this._parentage = null : Array.isArray(r) && Tt(r, t);
|
|
624
643
|
}, e.prototype.remove = function(t) {
|
|
625
644
|
var r = this._finalizers;
|
|
626
|
-
r &&
|
|
645
|
+
r && Tt(r, t), t instanceof e && t._removeParent(this);
|
|
627
646
|
}, e.EMPTY = function() {
|
|
628
647
|
var t = new e();
|
|
629
648
|
return t.closed = !0, t;
|
|
630
649
|
}(), e;
|
|
631
|
-
}(),
|
|
632
|
-
function
|
|
633
|
-
return e instanceof
|
|
634
|
-
}
|
|
635
|
-
function
|
|
636
|
-
|
|
637
|
-
}
|
|
638
|
-
var
|
|
639
|
-
|
|
640
|
-
|
|
650
|
+
}(), wr = ot.EMPTY;
|
|
651
|
+
function vr(e) {
|
|
652
|
+
return e instanceof ot || e && "closed" in e && se(e.remove) && se(e.add) && se(e.unsubscribe);
|
|
653
|
+
}
|
|
654
|
+
function $t(e) {
|
|
655
|
+
se(e) ? e() : e.unsubscribe();
|
|
656
|
+
}
|
|
657
|
+
var yr = {
|
|
658
|
+
onUnhandledError: null,
|
|
659
|
+
onStoppedNotification: null,
|
|
660
|
+
Promise: void 0,
|
|
661
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
662
|
+
useDeprecatedNextContext: !1
|
|
663
|
+
}, vn = {
|
|
641
664
|
setTimeout: function(e, t) {
|
|
642
665
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
643
666
|
r[n - 2] = arguments[n];
|
|
644
|
-
return setTimeout.apply(void 0,
|
|
667
|
+
return setTimeout.apply(void 0, Ae([e, t], xt(r)));
|
|
645
668
|
},
|
|
646
669
|
clearTimeout: function(e) {
|
|
647
670
|
return clearTimeout(e);
|
|
648
671
|
},
|
|
649
672
|
delegate: void 0
|
|
650
673
|
};
|
|
651
|
-
function
|
|
652
|
-
|
|
674
|
+
function yn(e) {
|
|
675
|
+
vn.setTimeout(function() {
|
|
653
676
|
throw e;
|
|
654
677
|
});
|
|
655
678
|
}
|
|
656
|
-
function
|
|
679
|
+
function Gt() {
|
|
657
680
|
}
|
|
658
681
|
function rt(e) {
|
|
659
682
|
e();
|
|
660
683
|
}
|
|
661
684
|
var Pr = function(e) {
|
|
662
|
-
|
|
685
|
+
ae(t, e);
|
|
663
686
|
function t(r) {
|
|
664
687
|
var n = e.call(this) || this;
|
|
665
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
688
|
+
return n.isStopped = !1, r ? (n.destination = r, vr(r) && r.add(n)) : n.destination = xn, n;
|
|
666
689
|
}
|
|
667
|
-
return t.create = function(r, n,
|
|
668
|
-
return new
|
|
690
|
+
return t.create = function(r, n, i) {
|
|
691
|
+
return new Ct(r, n, i);
|
|
669
692
|
}, t.prototype.next = function(r) {
|
|
670
693
|
this.isStopped || this._next(r);
|
|
671
694
|
}, t.prototype.error = function(r) {
|
|
@@ -689,7 +712,11 @@ var Pr = function(e) {
|
|
|
689
712
|
this.unsubscribe();
|
|
690
713
|
}
|
|
691
714
|
}, t;
|
|
692
|
-
}(
|
|
715
|
+
}(ot), Pn = Function.prototype.bind;
|
|
716
|
+
function pt(e, t) {
|
|
717
|
+
return Pn.call(e, t);
|
|
718
|
+
}
|
|
719
|
+
var _n = function() {
|
|
693
720
|
function e(t) {
|
|
694
721
|
this.partialObserver = t;
|
|
695
722
|
}
|
|
@@ -720,43 +747,55 @@ var Pr = function(e) {
|
|
|
720
747
|
Ke(r);
|
|
721
748
|
}
|
|
722
749
|
}, e;
|
|
723
|
-
}(),
|
|
724
|
-
|
|
725
|
-
function t(r, n,
|
|
726
|
-
var
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
750
|
+
}(), Ct = function(e) {
|
|
751
|
+
ae(t, e);
|
|
752
|
+
function t(r, n, i) {
|
|
753
|
+
var s = e.call(this) || this, a;
|
|
754
|
+
if (se(r) || !r)
|
|
755
|
+
a = {
|
|
756
|
+
next: r ?? void 0,
|
|
757
|
+
error: n ?? void 0,
|
|
758
|
+
complete: i ?? void 0
|
|
759
|
+
};
|
|
760
|
+
else {
|
|
761
|
+
var l;
|
|
762
|
+
s && yr.useDeprecatedNextContext ? (l = Object.create(r), l.unsubscribe = function() {
|
|
763
|
+
return s.unsubscribe();
|
|
764
|
+
}, a = {
|
|
765
|
+
next: r.next && pt(r.next, l),
|
|
766
|
+
error: r.error && pt(r.error, l),
|
|
767
|
+
complete: r.complete && pt(r.complete, l)
|
|
768
|
+
}) : a = r;
|
|
769
|
+
}
|
|
770
|
+
return s.destination = new _n(a), s;
|
|
732
771
|
}
|
|
733
772
|
return t;
|
|
734
773
|
}(Pr);
|
|
735
774
|
function Ke(e) {
|
|
736
|
-
|
|
775
|
+
yn(e);
|
|
737
776
|
}
|
|
738
777
|
function En(e) {
|
|
739
778
|
throw e;
|
|
740
779
|
}
|
|
741
780
|
var xn = {
|
|
742
781
|
closed: !0,
|
|
743
|
-
next:
|
|
782
|
+
next: Gt,
|
|
744
783
|
error: En,
|
|
745
|
-
complete:
|
|
784
|
+
complete: Gt
|
|
746
785
|
}, Tn = function() {
|
|
747
786
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
748
787
|
}();
|
|
749
788
|
function Cn(e) {
|
|
750
789
|
return e;
|
|
751
790
|
}
|
|
752
|
-
function
|
|
791
|
+
function Bn(e) {
|
|
753
792
|
return e.length === 0 ? Cn : e.length === 1 ? e[0] : function(r) {
|
|
754
|
-
return e.reduce(function(n,
|
|
755
|
-
return
|
|
793
|
+
return e.reduce(function(n, i) {
|
|
794
|
+
return i(n);
|
|
756
795
|
}, r);
|
|
757
796
|
};
|
|
758
797
|
}
|
|
759
|
-
var
|
|
798
|
+
var jt = function() {
|
|
760
799
|
function e(t) {
|
|
761
800
|
t && (this._subscribe = t);
|
|
762
801
|
}
|
|
@@ -764,11 +803,11 @@ var zt = function() {
|
|
|
764
803
|
var r = new e();
|
|
765
804
|
return r.source = this, r.operator = t, r;
|
|
766
805
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
767
|
-
var
|
|
806
|
+
var i = this, s = An(t) ? t : new Ct(t, r, n);
|
|
768
807
|
return rt(function() {
|
|
769
|
-
var a =
|
|
770
|
-
|
|
771
|
-
}),
|
|
808
|
+
var a = i, l = a.operator, u = a.source;
|
|
809
|
+
s.add(l ? l.call(s, u) : u ? i._subscribe(s) : i._trySubscribe(s));
|
|
810
|
+
}), s;
|
|
772
811
|
}, e.prototype._trySubscribe = function(t) {
|
|
773
812
|
try {
|
|
774
813
|
return this._subscribe(t);
|
|
@@ -777,17 +816,17 @@ var zt = function() {
|
|
|
777
816
|
}
|
|
778
817
|
}, e.prototype.forEach = function(t, r) {
|
|
779
818
|
var n = this;
|
|
780
|
-
return r =
|
|
781
|
-
var a = new
|
|
819
|
+
return r = Vt(r), new r(function(i, s) {
|
|
820
|
+
var a = new Ct({
|
|
782
821
|
next: function(l) {
|
|
783
822
|
try {
|
|
784
823
|
t(l);
|
|
785
824
|
} catch (u) {
|
|
786
|
-
|
|
825
|
+
s(u), a.unsubscribe();
|
|
787
826
|
}
|
|
788
827
|
},
|
|
789
|
-
error:
|
|
790
|
-
complete:
|
|
828
|
+
error: s,
|
|
829
|
+
complete: i
|
|
791
830
|
});
|
|
792
831
|
n.subscribe(a);
|
|
793
832
|
});
|
|
@@ -799,45 +838,45 @@ var zt = function() {
|
|
|
799
838
|
}, e.prototype.pipe = function() {
|
|
800
839
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
801
840
|
t[r] = arguments[r];
|
|
802
|
-
return
|
|
841
|
+
return Bn(t)(this);
|
|
803
842
|
}, e.prototype.toPromise = function(t) {
|
|
804
843
|
var r = this;
|
|
805
|
-
return t =
|
|
806
|
-
var
|
|
844
|
+
return t = Vt(t), new t(function(n, i) {
|
|
845
|
+
var s;
|
|
807
846
|
r.subscribe(function(a) {
|
|
808
|
-
return
|
|
847
|
+
return s = a;
|
|
809
848
|
}, function(a) {
|
|
810
|
-
return
|
|
849
|
+
return i(a);
|
|
811
850
|
}, function() {
|
|
812
|
-
return n(
|
|
851
|
+
return n(s);
|
|
813
852
|
});
|
|
814
853
|
});
|
|
815
854
|
}, e.create = function(t) {
|
|
816
855
|
return new e(t);
|
|
817
856
|
}, e;
|
|
818
857
|
}();
|
|
819
|
-
function
|
|
858
|
+
function Vt(e) {
|
|
820
859
|
var t;
|
|
821
|
-
return (t = e ??
|
|
860
|
+
return (t = e ?? yr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
822
861
|
}
|
|
823
|
-
function
|
|
824
|
-
return e &&
|
|
862
|
+
function Sn(e) {
|
|
863
|
+
return e && se(e.next) && se(e.error) && se(e.complete);
|
|
825
864
|
}
|
|
826
865
|
function An(e) {
|
|
827
|
-
return e && e instanceof Pr ||
|
|
866
|
+
return e && e instanceof Pr || Sn(e) && vr(e);
|
|
828
867
|
}
|
|
829
|
-
var Hn =
|
|
868
|
+
var Hn = br(function(e) {
|
|
830
869
|
return function() {
|
|
831
870
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
832
871
|
};
|
|
833
|
-
}),
|
|
834
|
-
|
|
872
|
+
}), _r = function(e) {
|
|
873
|
+
ae(t, e);
|
|
835
874
|
function t() {
|
|
836
875
|
var r = e.call(this) || this;
|
|
837
876
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
838
877
|
}
|
|
839
878
|
return t.prototype.lift = function(r) {
|
|
840
|
-
var n = new
|
|
879
|
+
var n = new zt(this, this);
|
|
841
880
|
return n.operator = r, n;
|
|
842
881
|
}, t.prototype._throwIfClosed = function() {
|
|
843
882
|
if (this.closed)
|
|
@@ -845,22 +884,22 @@ var Hn = vr(function(e) {
|
|
|
845
884
|
}, t.prototype.next = function(r) {
|
|
846
885
|
var n = this;
|
|
847
886
|
rt(function() {
|
|
848
|
-
var
|
|
887
|
+
var i, s;
|
|
849
888
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
850
889
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
851
890
|
try {
|
|
852
|
-
for (var a =
|
|
891
|
+
for (var a = Et(n.currentObservers), l = a.next(); !l.done; l = a.next()) {
|
|
853
892
|
var u = l.value;
|
|
854
893
|
u.next(r);
|
|
855
894
|
}
|
|
856
895
|
} catch (h) {
|
|
857
|
-
|
|
896
|
+
i = { error: h };
|
|
858
897
|
} finally {
|
|
859
898
|
try {
|
|
860
|
-
l && !l.done && (
|
|
899
|
+
l && !l.done && (s = a.return) && s.call(a);
|
|
861
900
|
} finally {
|
|
862
|
-
if (
|
|
863
|
-
throw
|
|
901
|
+
if (i)
|
|
902
|
+
throw i.error;
|
|
864
903
|
}
|
|
865
904
|
}
|
|
866
905
|
}
|
|
@@ -870,8 +909,8 @@ var Hn = vr(function(e) {
|
|
|
870
909
|
rt(function() {
|
|
871
910
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
872
911
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
873
|
-
for (var
|
|
874
|
-
|
|
912
|
+
for (var i = n.observers; i.length; )
|
|
913
|
+
i.shift().error(r);
|
|
875
914
|
}
|
|
876
915
|
});
|
|
877
916
|
}, t.prototype.complete = function() {
|
|
@@ -897,84 +936,84 @@ var Hn = vr(function(e) {
|
|
|
897
936
|
}, t.prototype._subscribe = function(r) {
|
|
898
937
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
899
938
|
}, t.prototype._innerSubscribe = function(r) {
|
|
900
|
-
var n = this,
|
|
901
|
-
return
|
|
902
|
-
n.currentObservers = null,
|
|
939
|
+
var n = this, i = this, s = i.hasError, a = i.isStopped, l = i.observers;
|
|
940
|
+
return s || a ? wr : (this.currentObservers = null, l.push(r), new ot(function() {
|
|
941
|
+
n.currentObservers = null, Tt(l, r);
|
|
903
942
|
}));
|
|
904
943
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
905
|
-
var n = this,
|
|
906
|
-
|
|
944
|
+
var n = this, i = n.hasError, s = n.thrownError, a = n.isStopped;
|
|
945
|
+
i ? r.error(s) : a && r.complete();
|
|
907
946
|
}, t.prototype.asObservable = function() {
|
|
908
|
-
var r = new
|
|
947
|
+
var r = new jt();
|
|
909
948
|
return r.source = this, r;
|
|
910
949
|
}, t.create = function(r, n) {
|
|
911
|
-
return new
|
|
950
|
+
return new zt(r, n);
|
|
912
951
|
}, t;
|
|
913
|
-
}(
|
|
914
|
-
|
|
952
|
+
}(jt), zt = function(e) {
|
|
953
|
+
ae(t, e);
|
|
915
954
|
function t(r, n) {
|
|
916
|
-
var
|
|
917
|
-
return
|
|
955
|
+
var i = e.call(this) || this;
|
|
956
|
+
return i.destination = r, i.source = n, i;
|
|
918
957
|
}
|
|
919
958
|
return t.prototype.next = function(r) {
|
|
920
|
-
var n,
|
|
921
|
-
(
|
|
959
|
+
var n, i;
|
|
960
|
+
(i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
|
|
922
961
|
}, t.prototype.error = function(r) {
|
|
923
|
-
var n,
|
|
924
|
-
(
|
|
962
|
+
var n, i;
|
|
963
|
+
(i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
|
|
925
964
|
}, t.prototype.complete = function() {
|
|
926
965
|
var r, n;
|
|
927
966
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
928
967
|
}, t.prototype._subscribe = function(r) {
|
|
929
|
-
var n,
|
|
930
|
-
return (
|
|
968
|
+
var n, i;
|
|
969
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : wr;
|
|
931
970
|
}, t;
|
|
932
|
-
}(
|
|
971
|
+
}(_r), Er = {
|
|
933
972
|
now: function() {
|
|
934
|
-
return (
|
|
973
|
+
return (Er.delegate || Date).now();
|
|
935
974
|
},
|
|
936
975
|
delegate: void 0
|
|
937
976
|
}, In = function(e) {
|
|
938
|
-
|
|
939
|
-
function t(r, n,
|
|
940
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0),
|
|
941
|
-
var
|
|
942
|
-
return
|
|
977
|
+
ae(t, e);
|
|
978
|
+
function t(r, n, i) {
|
|
979
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Er);
|
|
980
|
+
var s = e.call(this) || this;
|
|
981
|
+
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;
|
|
943
982
|
}
|
|
944
983
|
return t.prototype.next = function(r) {
|
|
945
|
-
var n = this,
|
|
946
|
-
|
|
984
|
+
var n = this, i = n.isStopped, s = n._buffer, a = n._infiniteTimeWindow, l = n._timestampProvider, u = n._windowTime;
|
|
985
|
+
i || (s.push(r), !a && s.push(l.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
947
986
|
}, t.prototype._subscribe = function(r) {
|
|
948
987
|
this._throwIfClosed(), this._trimBuffer();
|
|
949
|
-
for (var n = this._innerSubscribe(r),
|
|
988
|
+
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)
|
|
950
989
|
r.next(l[u]);
|
|
951
990
|
return this._checkFinalizedStatuses(r), n;
|
|
952
991
|
}, t.prototype._trimBuffer = function() {
|
|
953
|
-
var r = this, n = r._bufferSize,
|
|
954
|
-
if (n < 1 / 0 && l <
|
|
955
|
-
for (var u =
|
|
992
|
+
var r = this, n = r._bufferSize, i = r._timestampProvider, s = r._buffer, a = r._infiniteTimeWindow, l = (a ? 1 : 2) * n;
|
|
993
|
+
if (n < 1 / 0 && l < s.length && s.splice(0, s.length - l), !a) {
|
|
994
|
+
for (var u = i.now(), h = 0, c = 1; c < s.length && s[c] <= u; c += 2)
|
|
956
995
|
h = c;
|
|
957
|
-
h &&
|
|
996
|
+
h && s.splice(0, h + 1);
|
|
958
997
|
}
|
|
959
998
|
}, t;
|
|
960
|
-
}(
|
|
961
|
-
const
|
|
962
|
-
if (
|
|
999
|
+
}(_r);
|
|
1000
|
+
const Wt = [], Xt = {}, Mn = (e, t = 0) => {
|
|
1001
|
+
if (Wt.indexOf(e) == -1) {
|
|
963
1002
|
const r = new In(t);
|
|
964
|
-
|
|
1003
|
+
Xt[e] = r, Wt.push(e);
|
|
965
1004
|
}
|
|
966
|
-
return
|
|
1005
|
+
return Xt[e];
|
|
967
1006
|
}, xe = [];
|
|
968
1007
|
function Nn(e, t) {
|
|
969
1008
|
return {
|
|
970
|
-
subscribe:
|
|
1009
|
+
subscribe: lt(e, t).subscribe
|
|
971
1010
|
};
|
|
972
1011
|
}
|
|
973
|
-
function
|
|
1012
|
+
function lt(e, t = te) {
|
|
974
1013
|
let r;
|
|
975
1014
|
const n = /* @__PURE__ */ new Set();
|
|
976
|
-
function
|
|
977
|
-
if (
|
|
1015
|
+
function i(l) {
|
|
1016
|
+
if (dr(e, l) && (e = l, r)) {
|
|
978
1017
|
const u = !xe.length;
|
|
979
1018
|
for (const h of n)
|
|
980
1019
|
h[1](), xe.push(h, e);
|
|
@@ -985,22 +1024,22 @@ function ut(e, t = te) {
|
|
|
985
1024
|
}
|
|
986
1025
|
}
|
|
987
1026
|
}
|
|
988
|
-
function
|
|
989
|
-
|
|
1027
|
+
function s(l) {
|
|
1028
|
+
i(l(e));
|
|
990
1029
|
}
|
|
991
1030
|
function a(l, u = te) {
|
|
992
1031
|
const h = [l, u];
|
|
993
|
-
return n.add(h), n.size === 1 && (r = t(
|
|
1032
|
+
return n.add(h), n.size === 1 && (r = t(i, s) || te), l(e), () => {
|
|
994
1033
|
n.delete(h), n.size === 0 && r && (r(), r = null);
|
|
995
1034
|
};
|
|
996
1035
|
}
|
|
997
|
-
return { set:
|
|
1036
|
+
return { set: i, update: s, subscribe: a };
|
|
998
1037
|
}
|
|
999
1038
|
function Oe(e, t, r) {
|
|
1000
|
-
const n = !Array.isArray(e),
|
|
1001
|
-
if (!
|
|
1039
|
+
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1040
|
+
if (!i.every(Boolean))
|
|
1002
1041
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1003
|
-
const
|
|
1042
|
+
const s = t.length < 2;
|
|
1004
1043
|
return Nn(r, (a, l) => {
|
|
1005
1044
|
let u = !1;
|
|
1006
1045
|
const h = [];
|
|
@@ -1010,9 +1049,9 @@ function Oe(e, t, r) {
|
|
|
1010
1049
|
return;
|
|
1011
1050
|
f();
|
|
1012
1051
|
const v = t(n ? h[0] : h, a, l);
|
|
1013
|
-
|
|
1014
|
-
}, m =
|
|
1015
|
-
(v, w) =>
|
|
1052
|
+
s ? a(v) : f = Be(v) ? v : te;
|
|
1053
|
+
}, m = i.map(
|
|
1054
|
+
(v, w) => pr(
|
|
1016
1055
|
v,
|
|
1017
1056
|
(x) => {
|
|
1018
1057
|
h[w] = x, c &= ~(1 << w), u && p();
|
|
@@ -1023,53 +1062,53 @@ function Oe(e, t, r) {
|
|
|
1023
1062
|
)
|
|
1024
1063
|
);
|
|
1025
1064
|
return u = !0, p(), function() {
|
|
1026
|
-
|
|
1065
|
+
Re(m), f(), u = !1;
|
|
1027
1066
|
};
|
|
1028
1067
|
});
|
|
1029
1068
|
}
|
|
1030
|
-
function
|
|
1069
|
+
function Rn(e) {
|
|
1031
1070
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1032
1071
|
}
|
|
1033
|
-
var
|
|
1034
|
-
return Ln(t) && !
|
|
1072
|
+
var On = function(t) {
|
|
1073
|
+
return Ln(t) && !Fn(t);
|
|
1035
1074
|
};
|
|
1036
1075
|
function Ln(e) {
|
|
1037
1076
|
return !!e && typeof e == "object";
|
|
1038
1077
|
}
|
|
1039
|
-
function
|
|
1078
|
+
function Fn(e) {
|
|
1040
1079
|
var t = Object.prototype.toString.call(e);
|
|
1041
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1080
|
+
return t === "[object RegExp]" || t === "[object Date]" || Un(e);
|
|
1042
1081
|
}
|
|
1043
|
-
var
|
|
1044
|
-
function
|
|
1045
|
-
return e.$$typeof ===
|
|
1082
|
+
var kn = typeof Symbol == "function" && Symbol.for, Dn = kn ? Symbol.for("react.element") : 60103;
|
|
1083
|
+
function Un(e) {
|
|
1084
|
+
return e.$$typeof === Dn;
|
|
1046
1085
|
}
|
|
1047
1086
|
function $n(e) {
|
|
1048
1087
|
return Array.isArray(e) ? [] : {};
|
|
1049
1088
|
}
|
|
1050
|
-
function
|
|
1051
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1089
|
+
function ze(e, t) {
|
|
1090
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? He($n(e), e, t) : e;
|
|
1052
1091
|
}
|
|
1053
1092
|
function Gn(e, t, r) {
|
|
1054
1093
|
return e.concat(t).map(function(n) {
|
|
1055
|
-
return
|
|
1094
|
+
return ze(n, r);
|
|
1056
1095
|
});
|
|
1057
1096
|
}
|
|
1058
1097
|
function jn(e, t) {
|
|
1059
1098
|
if (!t.customMerge)
|
|
1060
|
-
return
|
|
1099
|
+
return He;
|
|
1061
1100
|
var r = t.customMerge(e);
|
|
1062
|
-
return typeof r == "function" ? r :
|
|
1101
|
+
return typeof r == "function" ? r : He;
|
|
1063
1102
|
}
|
|
1064
1103
|
function Vn(e) {
|
|
1065
1104
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1066
1105
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1067
1106
|
}) : [];
|
|
1068
1107
|
}
|
|
1069
|
-
function
|
|
1108
|
+
function Zt(e) {
|
|
1070
1109
|
return Object.keys(e).concat(Vn(e));
|
|
1071
1110
|
}
|
|
1072
|
-
function
|
|
1111
|
+
function xr(e, t) {
|
|
1073
1112
|
try {
|
|
1074
1113
|
return t in e;
|
|
1075
1114
|
} catch {
|
|
@@ -1077,179 +1116,129 @@ function Tr(e, t) {
|
|
|
1077
1116
|
}
|
|
1078
1117
|
}
|
|
1079
1118
|
function zn(e, t) {
|
|
1080
|
-
return
|
|
1119
|
+
return xr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1081
1120
|
}
|
|
1082
1121
|
function Wn(e, t, r) {
|
|
1083
1122
|
var n = {};
|
|
1084
|
-
return r.isMergeableObject(e) &&
|
|
1085
|
-
n[
|
|
1086
|
-
}),
|
|
1087
|
-
zn(e,
|
|
1123
|
+
return r.isMergeableObject(e) && Zt(e).forEach(function(i) {
|
|
1124
|
+
n[i] = ze(e[i], r);
|
|
1125
|
+
}), Zt(t).forEach(function(i) {
|
|
1126
|
+
zn(e, i) || (xr(e, i) && r.isMergeableObject(t[i]) ? n[i] = jn(i, r)(e[i], t[i], r) : n[i] = ze(t[i], r));
|
|
1088
1127
|
}), n;
|
|
1089
1128
|
}
|
|
1090
|
-
function
|
|
1091
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || Gn, r.isMergeableObject = r.isMergeableObject ||
|
|
1092
|
-
var n = Array.isArray(t),
|
|
1093
|
-
return
|
|
1129
|
+
function He(e, t, r) {
|
|
1130
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Gn, r.isMergeableObject = r.isMergeableObject || On, r.cloneUnlessOtherwiseSpecified = ze;
|
|
1131
|
+
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
1132
|
+
return s ? n ? r.arrayMerge(e, t, r) : Wn(e, t, r) : ze(t, r);
|
|
1094
1133
|
}
|
|
1095
|
-
|
|
1134
|
+
He.all = function(t, r) {
|
|
1096
1135
|
if (!Array.isArray(t))
|
|
1097
1136
|
throw new Error("first argument should be an array");
|
|
1098
|
-
return t.reduce(function(n,
|
|
1099
|
-
return
|
|
1137
|
+
return t.reduce(function(n, i) {
|
|
1138
|
+
return He(n, i, r);
|
|
1100
1139
|
}, {});
|
|
1101
1140
|
};
|
|
1102
|
-
var Xn =
|
|
1103
|
-
const Yn = /* @__PURE__ */
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
} || function(r, n) {
|
|
1108
|
-
for (var s in n)
|
|
1109
|
-
Object.prototype.hasOwnProperty.call(n, s) && (r[s] = n[s]);
|
|
1110
|
-
}, Ht(e, t);
|
|
1111
|
-
};
|
|
1112
|
-
function ht(e, t) {
|
|
1113
|
-
if (typeof t != "function" && t !== null)
|
|
1114
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1115
|
-
Ht(e, t);
|
|
1116
|
-
function r() {
|
|
1117
|
-
this.constructor = e;
|
|
1118
|
-
}
|
|
1119
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1120
|
-
}
|
|
1121
|
-
var ne = function() {
|
|
1122
|
-
return ne = Object.assign || function(t) {
|
|
1123
|
-
for (var r, n = 1, s = arguments.length; n < s; n++) {
|
|
1124
|
-
r = arguments[n];
|
|
1125
|
-
for (var i in r)
|
|
1126
|
-
Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
|
|
1127
|
-
}
|
|
1128
|
-
return t;
|
|
1129
|
-
}, ne.apply(this, arguments);
|
|
1130
|
-
};
|
|
1131
|
-
function Qn(e, t) {
|
|
1132
|
-
var r = {};
|
|
1133
|
-
for (var n in e)
|
|
1134
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1135
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1136
|
-
for (var s = 0, n = Object.getOwnPropertySymbols(e); s < n.length; s++)
|
|
1137
|
-
t.indexOf(n[s]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[s]) && (r[n[s]] = e[n[s]]);
|
|
1138
|
-
return r;
|
|
1139
|
-
}
|
|
1140
|
-
function gt(e, t, r) {
|
|
1141
|
-
if (r || arguments.length === 2)
|
|
1142
|
-
for (var n = 0, s = t.length, i; n < s; n++)
|
|
1143
|
-
(i || !(n in t)) && (i || (i = Array.prototype.slice.call(t, 0, n)), i[n] = t[n]);
|
|
1144
|
-
return e.concat(i || Array.prototype.slice.call(t));
|
|
1145
|
-
}
|
|
1146
|
-
function bt(e, t) {
|
|
1147
|
-
var r = t && t.cache ? t.cache : ns, n = t && t.serializer ? t.serializer : ts, s = t && t.strategy ? t.strategy : Kn;
|
|
1148
|
-
return s(e, {
|
|
1141
|
+
var Xn = He, Zn = Xn;
|
|
1142
|
+
const Yn = /* @__PURE__ */ Rn(Zn);
|
|
1143
|
+
function mt(e, t) {
|
|
1144
|
+
var r = t && t.cache ? t.cache : ti, n = t && t.serializer ? t.serializer : ei, i = t && t.strategy ? t.strategy : Jn;
|
|
1145
|
+
return i(e, {
|
|
1149
1146
|
cache: r,
|
|
1150
1147
|
serializer: n
|
|
1151
1148
|
});
|
|
1152
1149
|
}
|
|
1153
|
-
function
|
|
1150
|
+
function Qn(e) {
|
|
1154
1151
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1155
1152
|
}
|
|
1156
|
-
function
|
|
1157
|
-
var
|
|
1158
|
-
return typeof
|
|
1153
|
+
function Tr(e, t, r, n) {
|
|
1154
|
+
var i = Qn(n) ? n : r(n), s = t.get(i);
|
|
1155
|
+
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
1159
1156
|
}
|
|
1160
1157
|
function Cr(e, t, r) {
|
|
1161
|
-
var n = Array.prototype.slice.call(arguments, 3),
|
|
1162
|
-
return typeof
|
|
1158
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
1159
|
+
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
1163
1160
|
}
|
|
1164
|
-
function
|
|
1165
|
-
return r.bind(t, e, n,
|
|
1161
|
+
function Ot(e, t, r, n, i) {
|
|
1162
|
+
return r.bind(t, e, n, i);
|
|
1166
1163
|
}
|
|
1167
|
-
function
|
|
1168
|
-
var r = e.length === 1 ?
|
|
1169
|
-
return
|
|
1164
|
+
function Jn(e, t) {
|
|
1165
|
+
var r = e.length === 1 ? Tr : Cr;
|
|
1166
|
+
return Ot(e, this, r, t.cache.create(), t.serializer);
|
|
1170
1167
|
}
|
|
1171
|
-
function
|
|
1172
|
-
return
|
|
1168
|
+
function qn(e, t) {
|
|
1169
|
+
return Ot(e, this, Cr, t.cache.create(), t.serializer);
|
|
1173
1170
|
}
|
|
1174
|
-
|
|
1171
|
+
function Kn(e, t) {
|
|
1172
|
+
return Ot(e, this, Tr, t.cache.create(), t.serializer);
|
|
1173
|
+
}
|
|
1174
|
+
var ei = function() {
|
|
1175
1175
|
return JSON.stringify(arguments);
|
|
1176
|
-
}
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
}()
|
|
1188
|
-
), ns = {
|
|
1176
|
+
};
|
|
1177
|
+
function Lt() {
|
|
1178
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1179
|
+
}
|
|
1180
|
+
Lt.prototype.get = function(e) {
|
|
1181
|
+
return this.cache[e];
|
|
1182
|
+
};
|
|
1183
|
+
Lt.prototype.set = function(e, t) {
|
|
1184
|
+
this.cache[e] = t;
|
|
1185
|
+
};
|
|
1186
|
+
var ti = {
|
|
1189
1187
|
create: function() {
|
|
1190
|
-
return new
|
|
1188
|
+
return new Lt();
|
|
1191
1189
|
}
|
|
1192
|
-
},
|
|
1193
|
-
variadic:
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
for (var r, n = 1, s = arguments.length; n < s; n++) {
|
|
1197
|
-
r = arguments[n];
|
|
1198
|
-
for (var i in r)
|
|
1199
|
-
Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
|
|
1200
|
-
}
|
|
1201
|
-
return t;
|
|
1202
|
-
}, it.apply(this, arguments);
|
|
1203
|
-
};
|
|
1204
|
-
var E;
|
|
1190
|
+
}, gt = {
|
|
1191
|
+
variadic: qn,
|
|
1192
|
+
monadic: Kn
|
|
1193
|
+
}, E;
|
|
1205
1194
|
(function(e) {
|
|
1206
1195
|
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";
|
|
1207
1196
|
})(E || (E = {}));
|
|
1208
|
-
var
|
|
1197
|
+
var F;
|
|
1209
1198
|
(function(e) {
|
|
1210
1199
|
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";
|
|
1211
|
-
})(
|
|
1212
|
-
var
|
|
1200
|
+
})(F || (F = {}));
|
|
1201
|
+
var Ie;
|
|
1213
1202
|
(function(e) {
|
|
1214
1203
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1215
|
-
})(
|
|
1216
|
-
function
|
|
1217
|
-
return e.type ===
|
|
1204
|
+
})(Ie || (Ie = {}));
|
|
1205
|
+
function Yt(e) {
|
|
1206
|
+
return e.type === F.literal;
|
|
1218
1207
|
}
|
|
1219
|
-
function
|
|
1220
|
-
return e.type ===
|
|
1208
|
+
function ri(e) {
|
|
1209
|
+
return e.type === F.argument;
|
|
1221
1210
|
}
|
|
1222
1211
|
function Br(e) {
|
|
1223
|
-
return e.type ===
|
|
1212
|
+
return e.type === F.number;
|
|
1213
|
+
}
|
|
1214
|
+
function Sr(e) {
|
|
1215
|
+
return e.type === F.date;
|
|
1224
1216
|
}
|
|
1225
1217
|
function Ar(e) {
|
|
1226
|
-
return e.type ===
|
|
1218
|
+
return e.type === F.time;
|
|
1227
1219
|
}
|
|
1228
1220
|
function Hr(e) {
|
|
1229
|
-
return e.type ===
|
|
1221
|
+
return e.type === F.select;
|
|
1230
1222
|
}
|
|
1231
1223
|
function Ir(e) {
|
|
1232
|
-
return e.type ===
|
|
1224
|
+
return e.type === F.plural;
|
|
1233
1225
|
}
|
|
1234
|
-
function
|
|
1235
|
-
return e.type ===
|
|
1226
|
+
function ni(e) {
|
|
1227
|
+
return e.type === F.pound;
|
|
1236
1228
|
}
|
|
1237
|
-
function
|
|
1238
|
-
return e.type ===
|
|
1229
|
+
function Mr(e) {
|
|
1230
|
+
return e.type === F.tag;
|
|
1239
1231
|
}
|
|
1240
1232
|
function Nr(e) {
|
|
1241
|
-
return e.type ===
|
|
1233
|
+
return !!(e && typeof e == "object" && e.type === Ie.number);
|
|
1242
1234
|
}
|
|
1243
|
-
function
|
|
1244
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1235
|
+
function Bt(e) {
|
|
1236
|
+
return !!(e && typeof e == "object" && e.type === Ie.dateTime);
|
|
1245
1237
|
}
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
}
|
|
1249
|
-
var Rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, as = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1250
|
-
function os(e) {
|
|
1238
|
+
var Rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ii = /(?:[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;
|
|
1239
|
+
function si(e) {
|
|
1251
1240
|
var t = {};
|
|
1252
|
-
return e.replace(
|
|
1241
|
+
return e.replace(ii, function(r) {
|
|
1253
1242
|
var n = r.length;
|
|
1254
1243
|
switch (r[0]) {
|
|
1255
1244
|
case "G":
|
|
@@ -1338,24 +1327,14 @@ function os(e) {
|
|
|
1338
1327
|
return "";
|
|
1339
1328
|
}), t;
|
|
1340
1329
|
}
|
|
1341
|
-
var
|
|
1342
|
-
|
|
1343
|
-
for (var r, n = 1, s = arguments.length; n < s; n++) {
|
|
1344
|
-
r = arguments[n];
|
|
1345
|
-
for (var i in r)
|
|
1346
|
-
Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
|
|
1347
|
-
}
|
|
1348
|
-
return t;
|
|
1349
|
-
}, k.apply(this, arguments);
|
|
1350
|
-
};
|
|
1351
|
-
var ls = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1352
|
-
function us(e) {
|
|
1330
|
+
var ai = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1331
|
+
function oi(e) {
|
|
1353
1332
|
if (e.length === 0)
|
|
1354
1333
|
throw new Error("Number skeleton cannot be empty");
|
|
1355
|
-
for (var t = e.split(
|
|
1334
|
+
for (var t = e.split(ai).filter(function(p) {
|
|
1356
1335
|
return p.length > 0;
|
|
1357
|
-
}), r = [], n = 0,
|
|
1358
|
-
var
|
|
1336
|
+
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1337
|
+
var s = i[n], a = s.split("/");
|
|
1359
1338
|
if (a.length === 0)
|
|
1360
1339
|
throw new Error("Invalid number skeleton");
|
|
1361
1340
|
for (var l = a[0], u = a.slice(1), h = 0, c = u; h < c.length; h++) {
|
|
@@ -1367,14 +1346,14 @@ function us(e) {
|
|
|
1367
1346
|
}
|
|
1368
1347
|
return r;
|
|
1369
1348
|
}
|
|
1370
|
-
function
|
|
1349
|
+
function li(e) {
|
|
1371
1350
|
return e.replace(/^(.*?)-/, "");
|
|
1372
1351
|
}
|
|
1373
|
-
var
|
|
1374
|
-
function
|
|
1352
|
+
var Qt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Or = /^(@+)?(\+|#+)?[rs]?$/g, ui = /(\*)(0+)|(#+)(0+)|(0+)/g, Lr = /^(0+)$/;
|
|
1353
|
+
function Jt(e) {
|
|
1375
1354
|
var t = {};
|
|
1376
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1377
|
-
return typeof
|
|
1355
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Or, function(r, n, i) {
|
|
1356
|
+
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)), "";
|
|
1378
1357
|
}), t;
|
|
1379
1358
|
}
|
|
1380
1359
|
function Fr(e) {
|
|
@@ -1417,7 +1396,7 @@ function Fr(e) {
|
|
|
1417
1396
|
};
|
|
1418
1397
|
}
|
|
1419
1398
|
}
|
|
1420
|
-
function
|
|
1399
|
+
function hi(e) {
|
|
1421
1400
|
var t;
|
|
1422
1401
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1423
1402
|
notation: "engineering"
|
|
@@ -1425,20 +1404,20 @@ function fs(e) {
|
|
|
1425
1404
|
notation: "scientific"
|
|
1426
1405
|
}, e = e.slice(1)), t) {
|
|
1427
1406
|
var r = e.slice(0, 2);
|
|
1428
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1407
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Lr.test(e))
|
|
1429
1408
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1430
1409
|
t.minimumIntegerDigits = e.length;
|
|
1431
1410
|
}
|
|
1432
1411
|
return t;
|
|
1433
1412
|
}
|
|
1434
|
-
function
|
|
1413
|
+
function qt(e) {
|
|
1435
1414
|
var t = {}, r = Fr(e);
|
|
1436
1415
|
return r || t;
|
|
1437
1416
|
}
|
|
1438
|
-
function
|
|
1417
|
+
function ci(e) {
|
|
1439
1418
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1440
|
-
var
|
|
1441
|
-
switch (
|
|
1419
|
+
var i = n[r];
|
|
1420
|
+
switch (i.stem) {
|
|
1442
1421
|
case "percent":
|
|
1443
1422
|
case "%":
|
|
1444
1423
|
t.style = "percent";
|
|
@@ -1447,7 +1426,7 @@ function ds(e) {
|
|
|
1447
1426
|
t.style = "percent", t.scale = 100;
|
|
1448
1427
|
continue;
|
|
1449
1428
|
case "currency":
|
|
1450
|
-
t.style = "currency", t.currency =
|
|
1429
|
+
t.style = "currency", t.currency = i.options[0];
|
|
1451
1430
|
continue;
|
|
1452
1431
|
case "group-off":
|
|
1453
1432
|
case ",_":
|
|
@@ -1459,7 +1438,7 @@ function ds(e) {
|
|
|
1459
1438
|
continue;
|
|
1460
1439
|
case "measure-unit":
|
|
1461
1440
|
case "unit":
|
|
1462
|
-
t.style = "unit", t.unit =
|
|
1441
|
+
t.style = "unit", t.unit = li(i.options[0]);
|
|
1463
1442
|
continue;
|
|
1464
1443
|
case "compact-short":
|
|
1465
1444
|
case "K":
|
|
@@ -1470,13 +1449,13 @@ function ds(e) {
|
|
|
1470
1449
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1471
1450
|
continue;
|
|
1472
1451
|
case "scientific":
|
|
1473
|
-
t =
|
|
1474
|
-
return
|
|
1452
|
+
t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
|
|
1453
|
+
return S(S({}, u), qt(h));
|
|
1475
1454
|
}, {}));
|
|
1476
1455
|
continue;
|
|
1477
1456
|
case "engineering":
|
|
1478
|
-
t =
|
|
1479
|
-
return
|
|
1457
|
+
t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
|
|
1458
|
+
return S(S({}, u), qt(h));
|
|
1480
1459
|
}, {}));
|
|
1481
1460
|
continue;
|
|
1482
1461
|
case "notation-simple":
|
|
@@ -1495,7 +1474,7 @@ function ds(e) {
|
|
|
1495
1474
|
t.currencyDisplay = "symbol";
|
|
1496
1475
|
continue;
|
|
1497
1476
|
case "scale":
|
|
1498
|
-
t.scale = parseFloat(
|
|
1477
|
+
t.scale = parseFloat(i.options[0]);
|
|
1499
1478
|
continue;
|
|
1500
1479
|
case "rounding-mode-floor":
|
|
1501
1480
|
t.roundingMode = "floor";
|
|
@@ -1519,9 +1498,9 @@ function ds(e) {
|
|
|
1519
1498
|
t.roundingMode = "halfExpand";
|
|
1520
1499
|
continue;
|
|
1521
1500
|
case "integer-width":
|
|
1522
|
-
if (
|
|
1501
|
+
if (i.options.length > 1)
|
|
1523
1502
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1524
|
-
|
|
1503
|
+
i.options[0].replace(ui, function(u, h, c, f, p, m) {
|
|
1525
1504
|
if (h)
|
|
1526
1505
|
t.minimumIntegerDigits = c.length;
|
|
1527
1506
|
else {
|
|
@@ -1534,28 +1513,28 @@ function ds(e) {
|
|
|
1534
1513
|
});
|
|
1535
1514
|
continue;
|
|
1536
1515
|
}
|
|
1537
|
-
if (
|
|
1538
|
-
t.minimumIntegerDigits =
|
|
1516
|
+
if (Lr.test(i.stem)) {
|
|
1517
|
+
t.minimumIntegerDigits = i.stem.length;
|
|
1539
1518
|
continue;
|
|
1540
1519
|
}
|
|
1541
|
-
if (
|
|
1542
|
-
if (
|
|
1520
|
+
if (Qt.test(i.stem)) {
|
|
1521
|
+
if (i.options.length > 1)
|
|
1543
1522
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1544
|
-
|
|
1523
|
+
i.stem.replace(Qt, function(u, h, c, f, p, m) {
|
|
1545
1524
|
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), "";
|
|
1546
1525
|
});
|
|
1547
|
-
var
|
|
1548
|
-
|
|
1526
|
+
var s = i.options[0];
|
|
1527
|
+
s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), Jt(s)));
|
|
1549
1528
|
continue;
|
|
1550
1529
|
}
|
|
1551
|
-
if (
|
|
1552
|
-
t =
|
|
1530
|
+
if (Or.test(i.stem)) {
|
|
1531
|
+
t = S(S({}, t), Jt(i.stem));
|
|
1553
1532
|
continue;
|
|
1554
1533
|
}
|
|
1555
|
-
var a = Fr(
|
|
1556
|
-
a && (t =
|
|
1557
|
-
var l =
|
|
1558
|
-
l && (t =
|
|
1534
|
+
var a = Fr(i.stem);
|
|
1535
|
+
a && (t = S(S({}, t), a));
|
|
1536
|
+
var l = hi(i.stem);
|
|
1537
|
+
l && (t = S(S({}, t), l));
|
|
1559
1538
|
}
|
|
1560
1539
|
return t;
|
|
1561
1540
|
}
|
|
@@ -2974,23 +2953,23 @@ var et = {
|
|
|
2974
2953
|
"h"
|
|
2975
2954
|
]
|
|
2976
2955
|
};
|
|
2977
|
-
function
|
|
2956
|
+
function fi(e, t) {
|
|
2978
2957
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2979
|
-
var
|
|
2980
|
-
if (
|
|
2981
|
-
for (var
|
|
2982
|
-
|
|
2983
|
-
var a = 1 + (
|
|
2958
|
+
var i = e.charAt(n);
|
|
2959
|
+
if (i === "j") {
|
|
2960
|
+
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2961
|
+
s++, n++;
|
|
2962
|
+
var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), u = "a", h = di(t);
|
|
2984
2963
|
for ((h == "H" || h == "k") && (l = 0); l-- > 0; )
|
|
2985
2964
|
r += u;
|
|
2986
2965
|
for (; a-- > 0; )
|
|
2987
2966
|
r = h + r;
|
|
2988
2967
|
} else
|
|
2989
|
-
|
|
2968
|
+
i === "J" ? r += "H" : r += i;
|
|
2990
2969
|
}
|
|
2991
2970
|
return r;
|
|
2992
2971
|
}
|
|
2993
|
-
function
|
|
2972
|
+
function di(e) {
|
|
2994
2973
|
var t = e.hourCycle;
|
|
2995
2974
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2996
2975
|
e.hourCycles && // @ts-ignore
|
|
@@ -3009,23 +2988,23 @@ function ms(e) {
|
|
|
3009
2988
|
}
|
|
3010
2989
|
var r = e.language, n;
|
|
3011
2990
|
r !== "root" && (n = e.maximize().region);
|
|
3012
|
-
var
|
|
3013
|
-
return
|
|
2991
|
+
var i = et[n || ""] || et[r || ""] || et["".concat(r, "-001")] || et["001"];
|
|
2992
|
+
return i[0];
|
|
3014
2993
|
}
|
|
3015
|
-
var
|
|
2994
|
+
var bt, pi = new RegExp("^".concat(Rr.source, "*")), mi = new RegExp("".concat(Rr.source, "*$"));
|
|
3016
2995
|
function C(e, t) {
|
|
3017
2996
|
return { start: e, end: t };
|
|
3018
2997
|
}
|
|
3019
|
-
var
|
|
2998
|
+
var gi = !!String.prototype.startsWith && "_a".startsWith("a", 1), bi = !!String.fromCodePoint, wi = !!Object.fromEntries, vi = !!String.prototype.codePointAt, yi = !!String.prototype.trimStart, Pi = !!String.prototype.trimEnd, _i = !!Number.isSafeInteger, Ei = _i ? Number.isSafeInteger : function(e) {
|
|
3020
2999
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3021
|
-
},
|
|
3000
|
+
}, St = !0;
|
|
3022
3001
|
try {
|
|
3023
|
-
var
|
|
3024
|
-
|
|
3002
|
+
var xi = Dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3003
|
+
St = ((bt = xi.exec("a")) === null || bt === void 0 ? void 0 : bt[0]) === "a";
|
|
3025
3004
|
} catch {
|
|
3026
|
-
|
|
3005
|
+
St = !1;
|
|
3027
3006
|
}
|
|
3028
|
-
var
|
|
3007
|
+
var Kt = gi ? (
|
|
3029
3008
|
// Native
|
|
3030
3009
|
function(t, r, n) {
|
|
3031
3010
|
return t.startsWith(r, n);
|
|
@@ -3035,31 +3014,31 @@ var tr = ws ? (
|
|
|
3035
3014
|
function(t, r, n) {
|
|
3036
3015
|
return t.slice(n, n + r.length) === r;
|
|
3037
3016
|
}
|
|
3038
|
-
),
|
|
3017
|
+
), At = bi ? String.fromCodePoint : (
|
|
3039
3018
|
// IE11
|
|
3040
3019
|
function() {
|
|
3041
3020
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
3042
3021
|
t[r] = arguments[r];
|
|
3043
|
-
for (var n = "",
|
|
3044
|
-
if (a = t[
|
|
3022
|
+
for (var n = "", i = t.length, s = 0, a; i > s; ) {
|
|
3023
|
+
if (a = t[s++], a > 1114111)
|
|
3045
3024
|
throw RangeError(a + " is not a valid code point");
|
|
3046
3025
|
n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
|
|
3047
3026
|
}
|
|
3048
3027
|
return n;
|
|
3049
3028
|
}
|
|
3050
|
-
),
|
|
3029
|
+
), er = (
|
|
3051
3030
|
// native
|
|
3052
|
-
|
|
3031
|
+
wi ? Object.fromEntries : (
|
|
3053
3032
|
// Ponyfill
|
|
3054
3033
|
function(t) {
|
|
3055
|
-
for (var r = {}, n = 0,
|
|
3056
|
-
var
|
|
3034
|
+
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
3035
|
+
var s = i[n], a = s[0], l = s[1];
|
|
3057
3036
|
r[a] = l;
|
|
3058
3037
|
}
|
|
3059
3038
|
return r;
|
|
3060
3039
|
}
|
|
3061
3040
|
)
|
|
3062
|
-
),
|
|
3041
|
+
), kr = vi ? (
|
|
3063
3042
|
// Native
|
|
3064
3043
|
function(t, r) {
|
|
3065
3044
|
return t.codePointAt(r);
|
|
@@ -3069,11 +3048,11 @@ var tr = ws ? (
|
|
|
3069
3048
|
function(t, r) {
|
|
3070
3049
|
var n = t.length;
|
|
3071
3050
|
if (!(r < 0 || r >= n)) {
|
|
3072
|
-
var
|
|
3073
|
-
return
|
|
3051
|
+
var i = t.charCodeAt(r), s;
|
|
3052
|
+
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
3074
3053
|
}
|
|
3075
3054
|
}
|
|
3076
|
-
),
|
|
3055
|
+
), Ti = yi ? (
|
|
3077
3056
|
// Native
|
|
3078
3057
|
function(t) {
|
|
3079
3058
|
return t.trimStart();
|
|
@@ -3081,9 +3060,9 @@ var tr = ws ? (
|
|
|
3081
3060
|
) : (
|
|
3082
3061
|
// Ponyfill
|
|
3083
3062
|
function(t) {
|
|
3084
|
-
return t.replace(
|
|
3063
|
+
return t.replace(pi, "");
|
|
3085
3064
|
}
|
|
3086
|
-
),
|
|
3065
|
+
), Ci = Pi ? (
|
|
3087
3066
|
// Native
|
|
3088
3067
|
function(t) {
|
|
3089
3068
|
return t.trimEnd();
|
|
@@ -3091,32 +3070,32 @@ var tr = ws ? (
|
|
|
3091
3070
|
) : (
|
|
3092
3071
|
// Ponyfill
|
|
3093
3072
|
function(t) {
|
|
3094
|
-
return t.replace(
|
|
3073
|
+
return t.replace(mi, "");
|
|
3095
3074
|
}
|
|
3096
3075
|
);
|
|
3097
3076
|
function Dr(e, t) {
|
|
3098
3077
|
return new RegExp(e, t);
|
|
3099
3078
|
}
|
|
3100
|
-
var
|
|
3101
|
-
if (
|
|
3102
|
-
var
|
|
3103
|
-
|
|
3079
|
+
var Ht;
|
|
3080
|
+
if (St) {
|
|
3081
|
+
var tr = Dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3082
|
+
Ht = function(t, r) {
|
|
3104
3083
|
var n;
|
|
3105
|
-
|
|
3106
|
-
var
|
|
3107
|
-
return (n =
|
|
3084
|
+
tr.lastIndex = r;
|
|
3085
|
+
var i = tr.exec(t);
|
|
3086
|
+
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3108
3087
|
};
|
|
3109
3088
|
} else
|
|
3110
|
-
|
|
3089
|
+
Ht = function(t, r) {
|
|
3111
3090
|
for (var n = []; ; ) {
|
|
3112
|
-
var
|
|
3113
|
-
if (
|
|
3091
|
+
var i = kr(t, r);
|
|
3092
|
+
if (i === void 0 || Ur(i) || Hi(i))
|
|
3114
3093
|
break;
|
|
3115
|
-
n.push(
|
|
3094
|
+
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3116
3095
|
}
|
|
3117
|
-
return
|
|
3096
|
+
return At.apply(void 0, n);
|
|
3118
3097
|
};
|
|
3119
|
-
var
|
|
3098
|
+
var Bi = (
|
|
3120
3099
|
/** @class */
|
|
3121
3100
|
function() {
|
|
3122
3101
|
function e(t, r) {
|
|
@@ -3127,66 +3106,66 @@ var As = (
|
|
|
3127
3106
|
throw Error("parser can only be used once");
|
|
3128
3107
|
return this.parseMessage(0, "", !1);
|
|
3129
3108
|
}, e.prototype.parseMessage = function(t, r, n) {
|
|
3130
|
-
for (var
|
|
3131
|
-
var
|
|
3132
|
-
if (
|
|
3109
|
+
for (var i = []; !this.isEOF(); ) {
|
|
3110
|
+
var s = this.char();
|
|
3111
|
+
if (s === 123) {
|
|
3133
3112
|
var a = this.parseArgument(t, n);
|
|
3134
3113
|
if (a.err)
|
|
3135
3114
|
return a;
|
|
3136
|
-
|
|
3115
|
+
i.push(a.val);
|
|
3137
3116
|
} else {
|
|
3138
|
-
if (
|
|
3117
|
+
if (s === 125 && t > 0)
|
|
3139
3118
|
break;
|
|
3140
|
-
if (
|
|
3119
|
+
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3141
3120
|
var l = this.clonePosition();
|
|
3142
|
-
this.bump(),
|
|
3143
|
-
type:
|
|
3121
|
+
this.bump(), i.push({
|
|
3122
|
+
type: F.pound,
|
|
3144
3123
|
location: C(l, this.clonePosition())
|
|
3145
3124
|
});
|
|
3146
|
-
} else if (
|
|
3125
|
+
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3147
3126
|
if (n)
|
|
3148
3127
|
break;
|
|
3149
3128
|
return this.error(E.UNMATCHED_CLOSING_TAG, C(this.clonePosition(), this.clonePosition()));
|
|
3150
|
-
} else if (
|
|
3129
|
+
} else if (s === 60 && !this.ignoreTag && It(this.peek() || 0)) {
|
|
3151
3130
|
var a = this.parseTag(t, r);
|
|
3152
3131
|
if (a.err)
|
|
3153
3132
|
return a;
|
|
3154
|
-
|
|
3133
|
+
i.push(a.val);
|
|
3155
3134
|
} else {
|
|
3156
3135
|
var a = this.parseLiteral(t, r);
|
|
3157
3136
|
if (a.err)
|
|
3158
3137
|
return a;
|
|
3159
|
-
|
|
3138
|
+
i.push(a.val);
|
|
3160
3139
|
}
|
|
3161
3140
|
}
|
|
3162
3141
|
}
|
|
3163
|
-
return { val:
|
|
3142
|
+
return { val: i, err: null };
|
|
3164
3143
|
}, e.prototype.parseTag = function(t, r) {
|
|
3165
3144
|
var n = this.clonePosition();
|
|
3166
3145
|
this.bump();
|
|
3167
|
-
var
|
|
3146
|
+
var i = this.parseTagName();
|
|
3168
3147
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3169
3148
|
return {
|
|
3170
3149
|
val: {
|
|
3171
|
-
type:
|
|
3172
|
-
value: "<".concat(
|
|
3150
|
+
type: F.literal,
|
|
3151
|
+
value: "<".concat(i, "/>"),
|
|
3173
3152
|
location: C(n, this.clonePosition())
|
|
3174
3153
|
},
|
|
3175
3154
|
err: null
|
|
3176
3155
|
};
|
|
3177
3156
|
if (this.bumpIf(">")) {
|
|
3178
|
-
var
|
|
3179
|
-
if (
|
|
3180
|
-
return
|
|
3181
|
-
var a =
|
|
3157
|
+
var s = this.parseMessage(t + 1, r, !0);
|
|
3158
|
+
if (s.err)
|
|
3159
|
+
return s;
|
|
3160
|
+
var a = s.val, l = this.clonePosition();
|
|
3182
3161
|
if (this.bumpIf("</")) {
|
|
3183
|
-
if (this.isEOF() || !
|
|
3162
|
+
if (this.isEOF() || !It(this.char()))
|
|
3184
3163
|
return this.error(E.INVALID_TAG, C(l, this.clonePosition()));
|
|
3185
3164
|
var u = this.clonePosition(), h = this.parseTagName();
|
|
3186
|
-
return
|
|
3165
|
+
return i !== h ? this.error(E.UNMATCHED_CLOSING_TAG, C(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3187
3166
|
val: {
|
|
3188
|
-
type:
|
|
3189
|
-
value:
|
|
3167
|
+
type: F.tag,
|
|
3168
|
+
value: i,
|
|
3190
3169
|
children: a,
|
|
3191
3170
|
location: C(n, this.clonePosition())
|
|
3192
3171
|
},
|
|
@@ -3198,36 +3177,36 @@ var As = (
|
|
|
3198
3177
|
return this.error(E.INVALID_TAG, C(n, this.clonePosition()));
|
|
3199
3178
|
}, e.prototype.parseTagName = function() {
|
|
3200
3179
|
var t = this.offset();
|
|
3201
|
-
for (this.bump(); !this.isEOF() &&
|
|
3180
|
+
for (this.bump(); !this.isEOF() && Ai(this.char()); )
|
|
3202
3181
|
this.bump();
|
|
3203
3182
|
return this.message.slice(t, this.offset());
|
|
3204
3183
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
3205
|
-
for (var n = this.clonePosition(),
|
|
3206
|
-
var
|
|
3207
|
-
if (
|
|
3208
|
-
|
|
3184
|
+
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
3185
|
+
var s = this.tryParseQuote(r);
|
|
3186
|
+
if (s) {
|
|
3187
|
+
i += s;
|
|
3209
3188
|
continue;
|
|
3210
3189
|
}
|
|
3211
3190
|
var a = this.tryParseUnquoted(t, r);
|
|
3212
3191
|
if (a) {
|
|
3213
|
-
|
|
3192
|
+
i += a;
|
|
3214
3193
|
continue;
|
|
3215
3194
|
}
|
|
3216
3195
|
var l = this.tryParseLeftAngleBracket();
|
|
3217
3196
|
if (l) {
|
|
3218
|
-
|
|
3197
|
+
i += l;
|
|
3219
3198
|
continue;
|
|
3220
3199
|
}
|
|
3221
3200
|
break;
|
|
3222
3201
|
}
|
|
3223
3202
|
var u = C(n, this.clonePosition());
|
|
3224
3203
|
return {
|
|
3225
|
-
val: { type:
|
|
3204
|
+
val: { type: F.literal, value: i, location: u },
|
|
3226
3205
|
err: null
|
|
3227
3206
|
};
|
|
3228
3207
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3229
3208
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3230
|
-
!
|
|
3209
|
+
!Si(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3231
3210
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3232
3211
|
if (this.isEOF() || this.char() !== 39)
|
|
3233
3212
|
return null;
|
|
@@ -3261,20 +3240,20 @@ var As = (
|
|
|
3261
3240
|
r.push(n);
|
|
3262
3241
|
this.bump();
|
|
3263
3242
|
}
|
|
3264
|
-
return
|
|
3243
|
+
return At.apply(void 0, r);
|
|
3265
3244
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3266
3245
|
if (this.isEOF())
|
|
3267
3246
|
return null;
|
|
3268
3247
|
var n = this.char();
|
|
3269
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3248
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), At(n));
|
|
3270
3249
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3271
3250
|
var n = this.clonePosition();
|
|
3272
3251
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3273
3252
|
return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, C(n, this.clonePosition()));
|
|
3274
3253
|
if (this.char() === 125)
|
|
3275
3254
|
return this.bump(), this.error(E.EMPTY_ARGUMENT, C(n, this.clonePosition()));
|
|
3276
|
-
var
|
|
3277
|
-
if (!
|
|
3255
|
+
var i = this.parseIdentifierIfPossible().value;
|
|
3256
|
+
if (!i)
|
|
3278
3257
|
return this.error(E.MALFORMED_ARGUMENT, C(n, this.clonePosition()));
|
|
3279
3258
|
if (this.bumpSpace(), this.isEOF())
|
|
3280
3259
|
return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, C(n, this.clonePosition()));
|
|
@@ -3282,25 +3261,25 @@ var As = (
|
|
|
3282
3261
|
case 125:
|
|
3283
3262
|
return this.bump(), {
|
|
3284
3263
|
val: {
|
|
3285
|
-
type:
|
|
3264
|
+
type: F.argument,
|
|
3286
3265
|
// value does not include the opening and closing braces.
|
|
3287
|
-
value:
|
|
3266
|
+
value: i,
|
|
3288
3267
|
location: C(n, this.clonePosition())
|
|
3289
3268
|
},
|
|
3290
3269
|
err: null
|
|
3291
3270
|
};
|
|
3292
3271
|
case 44:
|
|
3293
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, C(n, this.clonePosition())) : this.parseArgumentOptions(t, r,
|
|
3272
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, C(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3294
3273
|
default:
|
|
3295
3274
|
return this.error(E.MALFORMED_ARGUMENT, C(n, this.clonePosition()));
|
|
3296
3275
|
}
|
|
3297
3276
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3298
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3299
|
-
this.bumpTo(
|
|
3300
|
-
var
|
|
3277
|
+
var t = this.clonePosition(), r = this.offset(), n = Ht(this.message, r), i = r + n.length;
|
|
3278
|
+
this.bumpTo(i);
|
|
3279
|
+
var s = this.clonePosition(), a = C(t, s);
|
|
3301
3280
|
return { value: n, location: a };
|
|
3302
|
-
}, e.prototype.parseArgumentOptions = function(t, r, n,
|
|
3303
|
-
var
|
|
3281
|
+
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3282
|
+
var s, a = this.clonePosition(), l = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
3304
3283
|
switch (l) {
|
|
3305
3284
|
case "":
|
|
3306
3285
|
return this.error(E.EXPECT_ARGUMENT_TYPE, C(a, u));
|
|
@@ -3314,47 +3293,47 @@ var As = (
|
|
|
3314
3293
|
var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3315
3294
|
if (f.err)
|
|
3316
3295
|
return f;
|
|
3317
|
-
var p =
|
|
3296
|
+
var p = Ci(f.val);
|
|
3318
3297
|
if (p.length === 0)
|
|
3319
3298
|
return this.error(E.EXPECT_ARGUMENT_STYLE, C(this.clonePosition(), this.clonePosition()));
|
|
3320
3299
|
var m = C(c, this.clonePosition());
|
|
3321
3300
|
h = { style: p, styleLocation: m };
|
|
3322
3301
|
}
|
|
3323
|
-
var v = this.tryParseArgumentClose(
|
|
3302
|
+
var v = this.tryParseArgumentClose(i);
|
|
3324
3303
|
if (v.err)
|
|
3325
3304
|
return v;
|
|
3326
|
-
var w = C(
|
|
3327
|
-
if (h &&
|
|
3328
|
-
var x =
|
|
3305
|
+
var w = C(i, this.clonePosition());
|
|
3306
|
+
if (h && Kt(h?.style, "::", 0)) {
|
|
3307
|
+
var x = Ti(h.style.slice(2));
|
|
3329
3308
|
if (l === "number") {
|
|
3330
3309
|
var f = this.parseNumberSkeletonFromString(x, h.styleLocation);
|
|
3331
3310
|
return f.err ? f : {
|
|
3332
|
-
val: { type:
|
|
3311
|
+
val: { type: F.number, value: n, location: w, style: f.val },
|
|
3333
3312
|
err: null
|
|
3334
3313
|
};
|
|
3335
3314
|
} else {
|
|
3336
3315
|
if (x.length === 0)
|
|
3337
3316
|
return this.error(E.EXPECT_DATE_TIME_SKELETON, w);
|
|
3338
3317
|
var y = x;
|
|
3339
|
-
this.locale && (y =
|
|
3318
|
+
this.locale && (y = fi(x, this.locale));
|
|
3340
3319
|
var p = {
|
|
3341
|
-
type:
|
|
3320
|
+
type: Ie.dateTime,
|
|
3342
3321
|
pattern: y,
|
|
3343
3322
|
location: h.styleLocation,
|
|
3344
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3345
|
-
},
|
|
3323
|
+
parsedOptions: this.shouldParseSkeletons ? si(y) : {}
|
|
3324
|
+
}, B = l === "date" ? F.date : F.time;
|
|
3346
3325
|
return {
|
|
3347
|
-
val: { type:
|
|
3326
|
+
val: { type: B, value: n, location: w, style: p },
|
|
3348
3327
|
err: null
|
|
3349
3328
|
};
|
|
3350
3329
|
}
|
|
3351
3330
|
}
|
|
3352
3331
|
return {
|
|
3353
3332
|
val: {
|
|
3354
|
-
type: l === "number" ?
|
|
3333
|
+
type: l === "number" ? F.number : l === "date" ? F.date : F.time,
|
|
3355
3334
|
value: n,
|
|
3356
3335
|
location: w,
|
|
3357
|
-
style: (
|
|
3336
|
+
style: (s = h?.style) !== null && s !== void 0 ? s : null
|
|
3358
3337
|
},
|
|
3359
3338
|
err: null
|
|
3360
3339
|
};
|
|
@@ -3362,41 +3341,41 @@ var As = (
|
|
|
3362
3341
|
case "plural":
|
|
3363
3342
|
case "selectordinal":
|
|
3364
3343
|
case "select": {
|
|
3365
|
-
var
|
|
3344
|
+
var L = this.clonePosition();
|
|
3366
3345
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3367
|
-
return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, C(
|
|
3346
|
+
return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, C(L, S({}, L)));
|
|
3368
3347
|
this.bumpSpace();
|
|
3369
|
-
var
|
|
3370
|
-
if (l !== "select" &&
|
|
3348
|
+
var D = this.parseIdentifierIfPossible(), U = 0;
|
|
3349
|
+
if (l !== "select" && D.value === "offset") {
|
|
3371
3350
|
if (!this.bumpIf(":"))
|
|
3372
3351
|
return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, C(this.clonePosition(), this.clonePosition()));
|
|
3373
3352
|
this.bumpSpace();
|
|
3374
3353
|
var f = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3375
3354
|
if (f.err)
|
|
3376
3355
|
return f;
|
|
3377
|
-
this.bumpSpace(),
|
|
3356
|
+
this.bumpSpace(), D = this.parseIdentifierIfPossible(), U = f.val;
|
|
3378
3357
|
}
|
|
3379
|
-
var O = this.tryParsePluralOrSelectOptions(t, l, r,
|
|
3358
|
+
var O = this.tryParsePluralOrSelectOptions(t, l, r, D);
|
|
3380
3359
|
if (O.err)
|
|
3381
3360
|
return O;
|
|
3382
|
-
var v = this.tryParseArgumentClose(
|
|
3361
|
+
var v = this.tryParseArgumentClose(i);
|
|
3383
3362
|
if (v.err)
|
|
3384
3363
|
return v;
|
|
3385
|
-
var X = C(
|
|
3364
|
+
var X = C(i, this.clonePosition());
|
|
3386
3365
|
return l === "select" ? {
|
|
3387
3366
|
val: {
|
|
3388
|
-
type:
|
|
3367
|
+
type: F.select,
|
|
3389
3368
|
value: n,
|
|
3390
|
-
options:
|
|
3369
|
+
options: er(O.val),
|
|
3391
3370
|
location: X
|
|
3392
3371
|
},
|
|
3393
3372
|
err: null
|
|
3394
3373
|
} : {
|
|
3395
3374
|
val: {
|
|
3396
|
-
type:
|
|
3375
|
+
type: F.plural,
|
|
3397
3376
|
value: n,
|
|
3398
|
-
options:
|
|
3399
|
-
offset:
|
|
3377
|
+
options: er(O.val),
|
|
3378
|
+
offset: U,
|
|
3400
3379
|
pluralType: l === "plural" ? "cardinal" : "ordinal",
|
|
3401
3380
|
location: X
|
|
3402
3381
|
},
|
|
@@ -3414,9 +3393,9 @@ var As = (
|
|
|
3414
3393
|
switch (n) {
|
|
3415
3394
|
case 39: {
|
|
3416
3395
|
this.bump();
|
|
3417
|
-
var
|
|
3396
|
+
var i = this.clonePosition();
|
|
3418
3397
|
if (!this.bumpUntil("'"))
|
|
3419
|
-
return this.error(E.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, C(
|
|
3398
|
+
return this.error(E.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, C(i, this.clonePosition()));
|
|
3420
3399
|
this.bump();
|
|
3421
3400
|
break;
|
|
3422
3401
|
}
|
|
@@ -3446,21 +3425,21 @@ var As = (
|
|
|
3446
3425
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3447
3426
|
var n = [];
|
|
3448
3427
|
try {
|
|
3449
|
-
n =
|
|
3428
|
+
n = oi(t);
|
|
3450
3429
|
} catch {
|
|
3451
3430
|
return this.error(E.INVALID_NUMBER_SKELETON, r);
|
|
3452
3431
|
}
|
|
3453
3432
|
return {
|
|
3454
3433
|
val: {
|
|
3455
|
-
type:
|
|
3434
|
+
type: Ie.number,
|
|
3456
3435
|
tokens: n,
|
|
3457
3436
|
location: r,
|
|
3458
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3437
|
+
parsedOptions: this.shouldParseSkeletons ? ci(n) : {}
|
|
3459
3438
|
},
|
|
3460
3439
|
err: null
|
|
3461
3440
|
};
|
|
3462
|
-
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n,
|
|
3463
|
-
for (var
|
|
3441
|
+
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3442
|
+
for (var s, a = !1, l = [], u = /* @__PURE__ */ new Set(), h = i.value, c = i.location; ; ) {
|
|
3464
3443
|
if (h.length === 0) {
|
|
3465
3444
|
var f = this.clonePosition();
|
|
3466
3445
|
if (r !== "select" && this.bumpIf("=")) {
|
|
@@ -3489,21 +3468,21 @@ var As = (
|
|
|
3489
3468
|
value: v.val,
|
|
3490
3469
|
location: C(m, this.clonePosition())
|
|
3491
3470
|
}
|
|
3492
|
-
]), u.add(h), this.bumpSpace(),
|
|
3471
|
+
]), u.add(h), this.bumpSpace(), s = this.parseIdentifierIfPossible(), h = s.value, c = s.location;
|
|
3493
3472
|
}
|
|
3494
3473
|
return l.length === 0 ? this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR : E.EXPECT_PLURAL_ARGUMENT_SELECTOR, C(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(E.MISSING_OTHER_CLAUSE, C(this.clonePosition(), this.clonePosition())) : { val: l, err: null };
|
|
3495
3474
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3496
|
-
var n = 1,
|
|
3475
|
+
var n = 1, i = this.clonePosition();
|
|
3497
3476
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3498
|
-
for (var
|
|
3477
|
+
for (var s = !1, a = 0; !this.isEOF(); ) {
|
|
3499
3478
|
var l = this.char();
|
|
3500
3479
|
if (l >= 48 && l <= 57)
|
|
3501
|
-
|
|
3480
|
+
s = !0, a = a * 10 + (l - 48), this.bump();
|
|
3502
3481
|
else
|
|
3503
3482
|
break;
|
|
3504
3483
|
}
|
|
3505
|
-
var u = C(
|
|
3506
|
-
return
|
|
3484
|
+
var u = C(i, this.clonePosition());
|
|
3485
|
+
return s ? (a *= n, Ei(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3507
3486
|
}, e.prototype.offset = function() {
|
|
3508
3487
|
return this.position.offset;
|
|
3509
3488
|
}, e.prototype.isEOF = function() {
|
|
@@ -3518,7 +3497,7 @@ var As = (
|
|
|
3518
3497
|
var t = this.position.offset;
|
|
3519
3498
|
if (t >= this.message.length)
|
|
3520
3499
|
throw Error("out of bound");
|
|
3521
|
-
var r =
|
|
3500
|
+
var r = kr(this.message, t);
|
|
3522
3501
|
if (r === void 0)
|
|
3523
3502
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3524
3503
|
return r;
|
|
@@ -3537,7 +3516,7 @@ var As = (
|
|
|
3537
3516
|
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);
|
|
3538
3517
|
}
|
|
3539
3518
|
}, e.prototype.bumpIf = function(t) {
|
|
3540
|
-
if (
|
|
3519
|
+
if (Kt(this.message, t, this.offset())) {
|
|
3541
3520
|
for (var r = 0; r < t.length; r++)
|
|
3542
3521
|
this.bump();
|
|
3543
3522
|
return !0;
|
|
@@ -3559,7 +3538,7 @@ var As = (
|
|
|
3559
3538
|
break;
|
|
3560
3539
|
}
|
|
3561
3540
|
}, e.prototype.bumpSpace = function() {
|
|
3562
|
-
for (; !this.isEOF() &&
|
|
3541
|
+
for (; !this.isEOF() && Ur(this.char()); )
|
|
3563
3542
|
this.bump();
|
|
3564
3543
|
}, e.prototype.peek = function() {
|
|
3565
3544
|
if (this.isEOF())
|
|
@@ -3569,97 +3548,97 @@ var As = (
|
|
|
3569
3548
|
}, e;
|
|
3570
3549
|
}()
|
|
3571
3550
|
);
|
|
3572
|
-
function
|
|
3551
|
+
function It(e) {
|
|
3573
3552
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3574
3553
|
}
|
|
3575
|
-
function
|
|
3576
|
-
return
|
|
3554
|
+
function Si(e) {
|
|
3555
|
+
return It(e) || e === 47;
|
|
3577
3556
|
}
|
|
3578
|
-
function
|
|
3557
|
+
function Ai(e) {
|
|
3579
3558
|
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;
|
|
3580
3559
|
}
|
|
3581
|
-
function
|
|
3560
|
+
function Ur(e) {
|
|
3582
3561
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3583
3562
|
}
|
|
3584
|
-
function
|
|
3563
|
+
function Hi(e) {
|
|
3585
3564
|
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;
|
|
3586
3565
|
}
|
|
3587
|
-
function
|
|
3566
|
+
function Mt(e) {
|
|
3588
3567
|
e.forEach(function(t) {
|
|
3589
|
-
if (delete t.location,
|
|
3568
|
+
if (delete t.location, Hr(t) || Ir(t))
|
|
3590
3569
|
for (var r in t.options)
|
|
3591
|
-
delete t.options[r].location,
|
|
3570
|
+
delete t.options[r].location, Mt(t.options[r].value);
|
|
3592
3571
|
else
|
|
3593
|
-
Br(t) &&
|
|
3572
|
+
Br(t) && Nr(t.style) || (Sr(t) || Ar(t)) && Bt(t.style) ? delete t.style.location : Mr(t) && Mt(t.children);
|
|
3594
3573
|
});
|
|
3595
3574
|
}
|
|
3596
|
-
function
|
|
3597
|
-
t === void 0 && (t = {}), t =
|
|
3598
|
-
var r = new
|
|
3575
|
+
function Ii(e, t) {
|
|
3576
|
+
t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3577
|
+
var r = new Bi(e, t).parse();
|
|
3599
3578
|
if (r.err) {
|
|
3600
3579
|
var n = SyntaxError(E[r.err.kind]);
|
|
3601
3580
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3602
3581
|
}
|
|
3603
|
-
return t?.captureLocation ||
|
|
3582
|
+
return t?.captureLocation || Mt(r.val), r.val;
|
|
3604
3583
|
}
|
|
3605
|
-
var
|
|
3584
|
+
var Me;
|
|
3606
3585
|
(function(e) {
|
|
3607
3586
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3608
|
-
})(
|
|
3609
|
-
var
|
|
3587
|
+
})(Me || (Me = {}));
|
|
3588
|
+
var ut = (
|
|
3610
3589
|
/** @class */
|
|
3611
3590
|
function(e) {
|
|
3612
|
-
|
|
3613
|
-
function t(r, n,
|
|
3614
|
-
var
|
|
3615
|
-
return
|
|
3591
|
+
ae(t, e);
|
|
3592
|
+
function t(r, n, i) {
|
|
3593
|
+
var s = e.call(this, r) || this;
|
|
3594
|
+
return s.code = n, s.originalMessage = i, s;
|
|
3616
3595
|
}
|
|
3617
3596
|
return t.prototype.toString = function() {
|
|
3618
3597
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3619
3598
|
}, t;
|
|
3620
3599
|
}(Error)
|
|
3621
|
-
),
|
|
3600
|
+
), rr = (
|
|
3622
3601
|
/** @class */
|
|
3623
3602
|
function(e) {
|
|
3624
|
-
|
|
3625
|
-
function t(r, n,
|
|
3626
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(
|
|
3603
|
+
ae(t, e);
|
|
3604
|
+
function t(r, n, i, s) {
|
|
3605
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Me.INVALID_VALUE, s) || this;
|
|
3627
3606
|
}
|
|
3628
3607
|
return t;
|
|
3629
|
-
}(
|
|
3630
|
-
),
|
|
3608
|
+
}(ut)
|
|
3609
|
+
), Mi = (
|
|
3631
3610
|
/** @class */
|
|
3632
3611
|
function(e) {
|
|
3633
|
-
|
|
3634
|
-
function t(r, n,
|
|
3635
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3612
|
+
ae(t, e);
|
|
3613
|
+
function t(r, n, i) {
|
|
3614
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Me.INVALID_VALUE, i) || this;
|
|
3636
3615
|
}
|
|
3637
3616
|
return t;
|
|
3638
|
-
}(
|
|
3639
|
-
),
|
|
3617
|
+
}(ut)
|
|
3618
|
+
), Ni = (
|
|
3640
3619
|
/** @class */
|
|
3641
3620
|
function(e) {
|
|
3642
|
-
|
|
3621
|
+
ae(t, e);
|
|
3643
3622
|
function t(r, n) {
|
|
3644
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3623
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Me.MISSING_VALUE, n) || this;
|
|
3645
3624
|
}
|
|
3646
3625
|
return t;
|
|
3647
|
-
}(
|
|
3626
|
+
}(ut)
|
|
3648
3627
|
), W;
|
|
3649
3628
|
(function(e) {
|
|
3650
3629
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3651
3630
|
})(W || (W = {}));
|
|
3652
|
-
function
|
|
3631
|
+
function Ri(e) {
|
|
3653
3632
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3654
3633
|
var n = t[t.length - 1];
|
|
3655
3634
|
return !n || n.type !== W.literal || r.type !== W.literal ? t.push(r) : n.value += r.value, t;
|
|
3656
3635
|
}, []);
|
|
3657
3636
|
}
|
|
3658
|
-
function
|
|
3637
|
+
function Oi(e) {
|
|
3659
3638
|
return typeof e == "function";
|
|
3660
3639
|
}
|
|
3661
|
-
function nt(e, t, r, n,
|
|
3662
|
-
if (e.length === 1 &&
|
|
3640
|
+
function nt(e, t, r, n, i, s, a) {
|
|
3641
|
+
if (e.length === 1 && Yt(e[0]))
|
|
3663
3642
|
return [
|
|
3664
3643
|
{
|
|
3665
3644
|
type: W.literal,
|
|
@@ -3668,41 +3647,41 @@ function nt(e, t, r, n, s, i, a) {
|
|
|
3668
3647
|
];
|
|
3669
3648
|
for (var l = [], u = 0, h = e; u < h.length; u++) {
|
|
3670
3649
|
var c = h[u];
|
|
3671
|
-
if (
|
|
3650
|
+
if (Yt(c)) {
|
|
3672
3651
|
l.push({
|
|
3673
3652
|
type: W.literal,
|
|
3674
3653
|
value: c.value
|
|
3675
3654
|
});
|
|
3676
3655
|
continue;
|
|
3677
3656
|
}
|
|
3678
|
-
if (
|
|
3679
|
-
typeof
|
|
3657
|
+
if (ni(c)) {
|
|
3658
|
+
typeof s == "number" && l.push({
|
|
3680
3659
|
type: W.literal,
|
|
3681
|
-
value: r.getNumberFormat(t).format(
|
|
3660
|
+
value: r.getNumberFormat(t).format(s)
|
|
3682
3661
|
});
|
|
3683
3662
|
continue;
|
|
3684
3663
|
}
|
|
3685
3664
|
var f = c.value;
|
|
3686
|
-
if (!(
|
|
3687
|
-
throw new
|
|
3688
|
-
var p =
|
|
3689
|
-
if (
|
|
3665
|
+
if (!(i && f in i))
|
|
3666
|
+
throw new Ni(f, a);
|
|
3667
|
+
var p = i[f];
|
|
3668
|
+
if (ri(c)) {
|
|
3690
3669
|
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), l.push({
|
|
3691
3670
|
type: typeof p == "string" ? W.literal : W.object,
|
|
3692
3671
|
value: p
|
|
3693
3672
|
});
|
|
3694
3673
|
continue;
|
|
3695
3674
|
}
|
|
3696
|
-
if (
|
|
3697
|
-
var m = typeof c.style == "string" ? n.date[c.style] :
|
|
3675
|
+
if (Sr(c)) {
|
|
3676
|
+
var m = typeof c.style == "string" ? n.date[c.style] : Bt(c.style) ? c.style.parsedOptions : void 0;
|
|
3698
3677
|
l.push({
|
|
3699
3678
|
type: W.literal,
|
|
3700
3679
|
value: r.getDateTimeFormat(t, m).format(p)
|
|
3701
3680
|
});
|
|
3702
3681
|
continue;
|
|
3703
3682
|
}
|
|
3704
|
-
if (
|
|
3705
|
-
var m = typeof c.style == "string" ? n.time[c.style] :
|
|
3683
|
+
if (Ar(c)) {
|
|
3684
|
+
var m = typeof c.style == "string" ? n.time[c.style] : Bt(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3706
3685
|
l.push({
|
|
3707
3686
|
type: W.literal,
|
|
3708
3687
|
value: r.getDateTimeFormat(t, m).format(p)
|
|
@@ -3710,63 +3689,63 @@ function nt(e, t, r, n, s, i, a) {
|
|
|
3710
3689
|
continue;
|
|
3711
3690
|
}
|
|
3712
3691
|
if (Br(c)) {
|
|
3713
|
-
var m = typeof c.style == "string" ? n.number[c.style] :
|
|
3692
|
+
var m = typeof c.style == "string" ? n.number[c.style] : Nr(c.style) ? c.style.parsedOptions : void 0;
|
|
3714
3693
|
m && m.scale && (p = p * (m.scale || 1)), l.push({
|
|
3715
3694
|
type: W.literal,
|
|
3716
3695
|
value: r.getNumberFormat(t, m).format(p)
|
|
3717
3696
|
});
|
|
3718
3697
|
continue;
|
|
3719
3698
|
}
|
|
3720
|
-
if (
|
|
3721
|
-
var v = c.children, w = c.value, x =
|
|
3722
|
-
if (!
|
|
3723
|
-
throw new
|
|
3724
|
-
var y = nt(v, t, r, n,
|
|
3725
|
-
return
|
|
3699
|
+
if (Mr(c)) {
|
|
3700
|
+
var v = c.children, w = c.value, x = i[w];
|
|
3701
|
+
if (!Oi(x))
|
|
3702
|
+
throw new Mi(w, "function", a);
|
|
3703
|
+
var y = nt(v, t, r, n, i, s), B = x(y.map(function(U) {
|
|
3704
|
+
return U.value;
|
|
3726
3705
|
}));
|
|
3727
|
-
Array.isArray(
|
|
3706
|
+
Array.isArray(B) || (B = [B]), l.push.apply(l, B.map(function(U) {
|
|
3728
3707
|
return {
|
|
3729
|
-
type: typeof
|
|
3730
|
-
value:
|
|
3708
|
+
type: typeof U == "string" ? W.literal : W.object,
|
|
3709
|
+
value: U
|
|
3731
3710
|
};
|
|
3732
3711
|
}));
|
|
3733
3712
|
}
|
|
3734
|
-
if (
|
|
3735
|
-
var
|
|
3736
|
-
if (!
|
|
3737
|
-
throw new
|
|
3738
|
-
l.push.apply(l, nt(
|
|
3713
|
+
if (Hr(c)) {
|
|
3714
|
+
var L = c.options[p] || c.options.other;
|
|
3715
|
+
if (!L)
|
|
3716
|
+
throw new rr(c.value, p, Object.keys(c.options), a);
|
|
3717
|
+
l.push.apply(l, nt(L.value, t, r, n, i));
|
|
3739
3718
|
continue;
|
|
3740
3719
|
}
|
|
3741
|
-
if (
|
|
3742
|
-
var
|
|
3743
|
-
if (!
|
|
3720
|
+
if (Ir(c)) {
|
|
3721
|
+
var L = c.options["=".concat(p)];
|
|
3722
|
+
if (!L) {
|
|
3744
3723
|
if (!Intl.PluralRules)
|
|
3745
|
-
throw new
|
|
3724
|
+
throw new ut(`Intl.PluralRules is not available in this environment.
|
|
3746
3725
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3747
|
-
`,
|
|
3748
|
-
var
|
|
3749
|
-
|
|
3726
|
+
`, Me.MISSING_INTL_API, a);
|
|
3727
|
+
var D = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
|
|
3728
|
+
L = c.options[D] || c.options.other;
|
|
3750
3729
|
}
|
|
3751
|
-
if (!
|
|
3752
|
-
throw new
|
|
3753
|
-
l.push.apply(l, nt(
|
|
3730
|
+
if (!L)
|
|
3731
|
+
throw new rr(c.value, p, Object.keys(c.options), a);
|
|
3732
|
+
l.push.apply(l, nt(L.value, t, r, n, i, p - (c.offset || 0)));
|
|
3754
3733
|
continue;
|
|
3755
3734
|
}
|
|
3756
3735
|
}
|
|
3757
|
-
return
|
|
3736
|
+
return Ri(l);
|
|
3758
3737
|
}
|
|
3759
|
-
function
|
|
3760
|
-
return t ?
|
|
3761
|
-
return r[n] =
|
|
3738
|
+
function Li(e, t) {
|
|
3739
|
+
return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3740
|
+
return r[n] = S(S({}, e[n]), t[n] || {}), r;
|
|
3762
3741
|
}, {})) : e;
|
|
3763
3742
|
}
|
|
3764
|
-
function
|
|
3743
|
+
function Fi(e, t) {
|
|
3765
3744
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3766
|
-
return r[n] =
|
|
3767
|
-
},
|
|
3745
|
+
return r[n] = Li(e[n], t[n]), r;
|
|
3746
|
+
}, S({}, e)) : e;
|
|
3768
3747
|
}
|
|
3769
|
-
function
|
|
3748
|
+
function wt(e) {
|
|
3770
3749
|
return {
|
|
3771
3750
|
create: function() {
|
|
3772
3751
|
return {
|
|
@@ -3780,50 +3759,50 @@ function yt(e) {
|
|
|
3780
3759
|
}
|
|
3781
3760
|
};
|
|
3782
3761
|
}
|
|
3783
|
-
function
|
|
3762
|
+
function ki(e) {
|
|
3784
3763
|
return e === void 0 && (e = {
|
|
3785
3764
|
number: {},
|
|
3786
3765
|
dateTime: {},
|
|
3787
3766
|
pluralRules: {}
|
|
3788
3767
|
}), {
|
|
3789
|
-
getNumberFormat:
|
|
3768
|
+
getNumberFormat: mt(function() {
|
|
3790
3769
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3791
3770
|
r[n] = arguments[n];
|
|
3792
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3771
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3793
3772
|
}, {
|
|
3794
|
-
cache:
|
|
3795
|
-
strategy:
|
|
3773
|
+
cache: wt(e.number),
|
|
3774
|
+
strategy: gt.variadic
|
|
3796
3775
|
}),
|
|
3797
|
-
getDateTimeFormat:
|
|
3776
|
+
getDateTimeFormat: mt(function() {
|
|
3798
3777
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3799
3778
|
r[n] = arguments[n];
|
|
3800
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3779
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3801
3780
|
}, {
|
|
3802
|
-
cache:
|
|
3803
|
-
strategy:
|
|
3781
|
+
cache: wt(e.dateTime),
|
|
3782
|
+
strategy: gt.variadic
|
|
3804
3783
|
}),
|
|
3805
|
-
getPluralRules:
|
|
3784
|
+
getPluralRules: mt(function() {
|
|
3806
3785
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3807
3786
|
r[n] = arguments[n];
|
|
3808
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3787
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3809
3788
|
}, {
|
|
3810
|
-
cache:
|
|
3811
|
-
strategy:
|
|
3789
|
+
cache: wt(e.pluralRules),
|
|
3790
|
+
strategy: gt.variadic
|
|
3812
3791
|
})
|
|
3813
3792
|
};
|
|
3814
3793
|
}
|
|
3815
|
-
var
|
|
3794
|
+
var Di = (
|
|
3816
3795
|
/** @class */
|
|
3817
3796
|
function() {
|
|
3818
|
-
function e(t, r, n,
|
|
3797
|
+
function e(t, r, n, i) {
|
|
3819
3798
|
r === void 0 && (r = e.defaultLocale);
|
|
3820
|
-
var
|
|
3799
|
+
var s = this;
|
|
3821
3800
|
if (this.formatterCache = {
|
|
3822
3801
|
number: {},
|
|
3823
3802
|
dateTime: {},
|
|
3824
3803
|
pluralRules: {}
|
|
3825
3804
|
}, this.format = function(u) {
|
|
3826
|
-
var h =
|
|
3805
|
+
var h = s.formatToParts(u);
|
|
3827
3806
|
if (h.length === 1)
|
|
3828
3807
|
return h[0].value;
|
|
3829
3808
|
var c = h.reduce(function(f, p) {
|
|
@@ -3831,26 +3810,26 @@ var $s = (
|
|
|
3831
3810
|
}, []);
|
|
3832
3811
|
return c.length <= 1 ? c[0] || "" : c;
|
|
3833
3812
|
}, this.formatToParts = function(u) {
|
|
3834
|
-
return nt(
|
|
3813
|
+
return nt(s.ast, s.locales, s.formatters, s.formats, u, void 0, s.message);
|
|
3835
3814
|
}, this.resolvedOptions = function() {
|
|
3836
3815
|
var u;
|
|
3837
3816
|
return {
|
|
3838
|
-
locale: ((u =
|
|
3817
|
+
locale: ((u = s.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
|
|
3839
3818
|
};
|
|
3840
3819
|
}, this.getAst = function() {
|
|
3841
|
-
return
|
|
3820
|
+
return s.ast;
|
|
3842
3821
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3843
3822
|
if (this.message = t, !e.__parse)
|
|
3844
3823
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3845
|
-
var a =
|
|
3824
|
+
var a = i || {};
|
|
3846
3825
|
a.formatters;
|
|
3847
|
-
var l =
|
|
3848
|
-
this.ast = e.__parse(t,
|
|
3826
|
+
var l = wn(a, ["formatters"]);
|
|
3827
|
+
this.ast = e.__parse(t, S(S({}, l), { locale: this.resolvedLocale }));
|
|
3849
3828
|
} else
|
|
3850
3829
|
this.ast = t;
|
|
3851
3830
|
if (!Array.isArray(this.ast))
|
|
3852
3831
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3853
|
-
this.formats =
|
|
3832
|
+
this.formats = Fi(e.formats, n), this.formatters = i && i.formatters || ki(this.formatterCache);
|
|
3854
3833
|
}
|
|
3855
3834
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3856
3835
|
get: function() {
|
|
@@ -3863,7 +3842,7 @@ var $s = (
|
|
|
3863
3842
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3864
3843
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3865
3844
|
}
|
|
3866
|
-
}, e.__parse =
|
|
3845
|
+
}, e.__parse = Ii, e.formats = {
|
|
3867
3846
|
number: {
|
|
3868
3847
|
integer: {
|
|
3869
3848
|
maximumFractionDigits: 0
|
|
@@ -3924,113 +3903,113 @@ var $s = (
|
|
|
3924
3903
|
}, e;
|
|
3925
3904
|
}()
|
|
3926
3905
|
);
|
|
3927
|
-
function
|
|
3906
|
+
function Ui(e, t) {
|
|
3928
3907
|
if (t == null)
|
|
3929
3908
|
return;
|
|
3930
3909
|
if (t in e)
|
|
3931
3910
|
return e[t];
|
|
3932
3911
|
const r = t.split(".");
|
|
3933
3912
|
let n = e;
|
|
3934
|
-
for (let
|
|
3913
|
+
for (let i = 0; i < r.length; i++)
|
|
3935
3914
|
if (typeof n == "object") {
|
|
3936
|
-
if (
|
|
3937
|
-
const
|
|
3938
|
-
if (
|
|
3939
|
-
n = n[
|
|
3915
|
+
if (i > 0) {
|
|
3916
|
+
const s = r.slice(i, r.length).join(".");
|
|
3917
|
+
if (s in n) {
|
|
3918
|
+
n = n[s];
|
|
3940
3919
|
break;
|
|
3941
3920
|
}
|
|
3942
3921
|
}
|
|
3943
|
-
n = n[r[
|
|
3922
|
+
n = n[r[i]];
|
|
3944
3923
|
} else
|
|
3945
3924
|
n = void 0;
|
|
3946
3925
|
return n;
|
|
3947
3926
|
}
|
|
3948
|
-
const ue = {},
|
|
3927
|
+
const ue = {}, $i = (e, t, r) => r && (t in ue || (ue[t] = {}), e in ue[t] || (ue[t][e] = r), r), $r = (e, t) => {
|
|
3949
3928
|
if (t == null)
|
|
3950
3929
|
return;
|
|
3951
3930
|
if (t in ue && e in ue[t])
|
|
3952
3931
|
return ue[t][e];
|
|
3953
|
-
const r =
|
|
3932
|
+
const r = ht(t);
|
|
3954
3933
|
for (let n = 0; n < r.length; n++) {
|
|
3955
|
-
const
|
|
3956
|
-
if (
|
|
3957
|
-
return
|
|
3934
|
+
const i = r[n], s = ji(i, e);
|
|
3935
|
+
if (s)
|
|
3936
|
+
return $i(e, t, s);
|
|
3958
3937
|
}
|
|
3959
3938
|
};
|
|
3960
|
-
let
|
|
3961
|
-
const Xe =
|
|
3962
|
-
function
|
|
3963
|
-
return
|
|
3939
|
+
let Ft;
|
|
3940
|
+
const Xe = lt({});
|
|
3941
|
+
function Gi(e) {
|
|
3942
|
+
return Ft[e] || null;
|
|
3964
3943
|
}
|
|
3965
|
-
function
|
|
3966
|
-
return e in
|
|
3944
|
+
function Gr(e) {
|
|
3945
|
+
return e in Ft;
|
|
3967
3946
|
}
|
|
3968
|
-
function
|
|
3969
|
-
if (!
|
|
3947
|
+
function ji(e, t) {
|
|
3948
|
+
if (!Gr(e))
|
|
3970
3949
|
return null;
|
|
3971
|
-
const r =
|
|
3972
|
-
return
|
|
3950
|
+
const r = Gi(e);
|
|
3951
|
+
return Ui(r, t);
|
|
3973
3952
|
}
|
|
3974
|
-
function
|
|
3953
|
+
function Vi(e) {
|
|
3975
3954
|
if (e == null)
|
|
3976
3955
|
return;
|
|
3977
|
-
const t =
|
|
3956
|
+
const t = ht(e);
|
|
3978
3957
|
for (let r = 0; r < t.length; r++) {
|
|
3979
3958
|
const n = t[r];
|
|
3980
|
-
if (
|
|
3959
|
+
if (Gr(n))
|
|
3981
3960
|
return n;
|
|
3982
3961
|
}
|
|
3983
3962
|
}
|
|
3984
|
-
function
|
|
3963
|
+
function jr(e, ...t) {
|
|
3985
3964
|
delete ue[e], Xe.update((r) => (r[e] = Yn.all([r[e] || {}, ...t]), r));
|
|
3986
3965
|
}
|
|
3987
3966
|
Oe(
|
|
3988
3967
|
[Xe],
|
|
3989
3968
|
([e]) => Object.keys(e)
|
|
3990
3969
|
);
|
|
3991
|
-
Xe.subscribe((e) =>
|
|
3992
|
-
const
|
|
3993
|
-
function
|
|
3994
|
-
|
|
3970
|
+
Xe.subscribe((e) => Ft = e);
|
|
3971
|
+
const it = {};
|
|
3972
|
+
function zi(e, t) {
|
|
3973
|
+
it[e].delete(t), it[e].size === 0 && delete it[e];
|
|
3995
3974
|
}
|
|
3996
|
-
function
|
|
3997
|
-
return
|
|
3975
|
+
function Vr(e) {
|
|
3976
|
+
return it[e];
|
|
3998
3977
|
}
|
|
3999
|
-
function
|
|
4000
|
-
return
|
|
4001
|
-
const r =
|
|
3978
|
+
function Wi(e) {
|
|
3979
|
+
return ht(e).map((t) => {
|
|
3980
|
+
const r = Vr(t);
|
|
4002
3981
|
return [t, r ? [...r] : []];
|
|
4003
3982
|
}).filter(([, t]) => t.length > 0);
|
|
4004
3983
|
}
|
|
4005
|
-
function
|
|
4006
|
-
return e == null ? !1 :
|
|
3984
|
+
function Nt(e) {
|
|
3985
|
+
return e == null ? !1 : ht(e).some(
|
|
4007
3986
|
(t) => {
|
|
4008
3987
|
var r;
|
|
4009
|
-
return (r =
|
|
3988
|
+
return (r = Vr(t)) == null ? void 0 : r.size;
|
|
4010
3989
|
}
|
|
4011
3990
|
);
|
|
4012
3991
|
}
|
|
4013
|
-
function
|
|
3992
|
+
function Xi(e, t) {
|
|
4014
3993
|
return Promise.all(
|
|
4015
|
-
t.map((n) => (
|
|
4016
|
-
).then((n) =>
|
|
4017
|
-
}
|
|
4018
|
-
const
|
|
4019
|
-
function
|
|
4020
|
-
if (!
|
|
4021
|
-
return e in
|
|
4022
|
-
const t =
|
|
4023
|
-
return
|
|
3994
|
+
t.map((n) => (zi(e, n), n().then((i) => i.default || i)))
|
|
3995
|
+
).then((n) => jr(e, ...n));
|
|
3996
|
+
}
|
|
3997
|
+
const Ge = {};
|
|
3998
|
+
function zr(e) {
|
|
3999
|
+
if (!Nt(e))
|
|
4000
|
+
return e in Ge ? Ge[e] : Promise.resolve();
|
|
4001
|
+
const t = Wi(e);
|
|
4002
|
+
return Ge[e] = Promise.all(
|
|
4024
4003
|
t.map(
|
|
4025
|
-
([r, n]) =>
|
|
4004
|
+
([r, n]) => Xi(r, n)
|
|
4026
4005
|
)
|
|
4027
4006
|
).then(() => {
|
|
4028
|
-
if (
|
|
4029
|
-
return
|
|
4030
|
-
delete
|
|
4031
|
-
}),
|
|
4007
|
+
if (Nt(e))
|
|
4008
|
+
return zr(e);
|
|
4009
|
+
delete Ge[e];
|
|
4010
|
+
}), Ge[e];
|
|
4032
4011
|
}
|
|
4033
|
-
const
|
|
4012
|
+
const Zi = {
|
|
4034
4013
|
number: {
|
|
4035
4014
|
scientific: { notation: "scientific" },
|
|
4036
4015
|
engineering: { notation: "engineering" },
|
|
@@ -4059,136 +4038,136 @@ const Qs = {
|
|
|
4059
4038
|
timeZoneName: "short"
|
|
4060
4039
|
}
|
|
4061
4040
|
}
|
|
4062
|
-
},
|
|
4041
|
+
}, Yi = {
|
|
4063
4042
|
fallbackLocale: null,
|
|
4064
4043
|
loadingDelay: 200,
|
|
4065
|
-
formats:
|
|
4044
|
+
formats: Zi,
|
|
4066
4045
|
warnOnMissingMessages: !0,
|
|
4067
4046
|
handleMissingMessage: void 0,
|
|
4068
4047
|
ignoreTag: !0
|
|
4069
|
-
},
|
|
4070
|
-
function
|
|
4071
|
-
return
|
|
4048
|
+
}, Qi = Yi;
|
|
4049
|
+
function Ne() {
|
|
4050
|
+
return Qi;
|
|
4072
4051
|
}
|
|
4073
|
-
const
|
|
4074
|
-
var
|
|
4052
|
+
const vt = lt(!1);
|
|
4053
|
+
var Ji = Object.defineProperty, qi = Object.defineProperties, Ki = Object.getOwnPropertyDescriptors, nr = Object.getOwnPropertySymbols, es = Object.prototype.hasOwnProperty, ts = Object.prototype.propertyIsEnumerable, ir = (e, t, r) => t in e ? Ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rs = (e, t) => {
|
|
4075
4054
|
for (var r in t || (t = {}))
|
|
4076
|
-
|
|
4077
|
-
if (
|
|
4078
|
-
for (var r of
|
|
4079
|
-
|
|
4055
|
+
es.call(t, r) && ir(e, r, t[r]);
|
|
4056
|
+
if (nr)
|
|
4057
|
+
for (var r of nr(t))
|
|
4058
|
+
ts.call(t, r) && ir(e, r, t[r]);
|
|
4080
4059
|
return e;
|
|
4081
|
-
},
|
|
4082
|
-
let
|
|
4083
|
-
const
|
|
4084
|
-
function
|
|
4060
|
+
}, ns = (e, t) => qi(e, Ki(t));
|
|
4061
|
+
let Rt;
|
|
4062
|
+
const st = lt(null);
|
|
4063
|
+
function sr(e) {
|
|
4085
4064
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4086
4065
|
}
|
|
4087
|
-
function
|
|
4088
|
-
const r =
|
|
4089
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4066
|
+
function ht(e, t = Ne().fallbackLocale) {
|
|
4067
|
+
const r = sr(e);
|
|
4068
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...sr(t)])] : r;
|
|
4090
4069
|
}
|
|
4091
4070
|
function me() {
|
|
4092
|
-
return
|
|
4071
|
+
return Rt ?? void 0;
|
|
4093
4072
|
}
|
|
4094
|
-
|
|
4095
|
-
|
|
4073
|
+
st.subscribe((e) => {
|
|
4074
|
+
Rt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4096
4075
|
});
|
|
4097
|
-
const
|
|
4098
|
-
if (e &&
|
|
4099
|
-
const { loadingDelay: t } =
|
|
4076
|
+
const is = (e) => {
|
|
4077
|
+
if (e && Vi(e) && Nt(e)) {
|
|
4078
|
+
const { loadingDelay: t } = Ne();
|
|
4100
4079
|
let r;
|
|
4101
4080
|
return typeof window < "u" && me() != null && t ? r = window.setTimeout(
|
|
4102
|
-
() =>
|
|
4081
|
+
() => vt.set(!0),
|
|
4103
4082
|
t
|
|
4104
|
-
) :
|
|
4105
|
-
|
|
4083
|
+
) : vt.set(!0), zr(e).then(() => {
|
|
4084
|
+
st.set(e);
|
|
4106
4085
|
}).finally(() => {
|
|
4107
|
-
clearTimeout(r),
|
|
4086
|
+
clearTimeout(r), vt.set(!1);
|
|
4108
4087
|
});
|
|
4109
4088
|
}
|
|
4110
|
-
return
|
|
4111
|
-
},
|
|
4112
|
-
set:
|
|
4113
|
-
}),
|
|
4089
|
+
return st.set(e);
|
|
4090
|
+
}, Le = ns(rs({}, st), {
|
|
4091
|
+
set: is
|
|
4092
|
+
}), ct = (e) => {
|
|
4114
4093
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4115
4094
|
return (n) => {
|
|
4116
|
-
const
|
|
4117
|
-
return
|
|
4095
|
+
const i = JSON.stringify(n);
|
|
4096
|
+
return i in t ? t[i] : t[i] = e(n);
|
|
4118
4097
|
};
|
|
4119
4098
|
};
|
|
4120
|
-
var
|
|
4099
|
+
var ss = Object.defineProperty, at = Object.getOwnPropertySymbols, Wr = Object.prototype.hasOwnProperty, Xr = Object.prototype.propertyIsEnumerable, ar = (e, t, r) => t in e ? ss(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, kt = (e, t) => {
|
|
4121
4100
|
for (var r in t || (t = {}))
|
|
4122
|
-
|
|
4123
|
-
if (
|
|
4124
|
-
for (var r of
|
|
4125
|
-
|
|
4101
|
+
Wr.call(t, r) && ar(e, r, t[r]);
|
|
4102
|
+
if (at)
|
|
4103
|
+
for (var r of at(t))
|
|
4104
|
+
Xr.call(t, r) && ar(e, r, t[r]);
|
|
4126
4105
|
return e;
|
|
4127
|
-
},
|
|
4106
|
+
}, Fe = (e, t) => {
|
|
4128
4107
|
var r = {};
|
|
4129
4108
|
for (var n in e)
|
|
4130
|
-
|
|
4131
|
-
if (e != null &&
|
|
4132
|
-
for (var n of
|
|
4133
|
-
t.indexOf(n) < 0 &&
|
|
4109
|
+
Wr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4110
|
+
if (e != null && at)
|
|
4111
|
+
for (var n of at(e))
|
|
4112
|
+
t.indexOf(n) < 0 && Xr.call(e, n) && (r[n] = e[n]);
|
|
4134
4113
|
return r;
|
|
4135
4114
|
};
|
|
4136
|
-
const
|
|
4137
|
-
const { formats: r } =
|
|
4115
|
+
const We = (e, t) => {
|
|
4116
|
+
const { formats: r } = Ne();
|
|
4138
4117
|
if (e in r && t in r[e])
|
|
4139
4118
|
return r[e][t];
|
|
4140
4119
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4141
|
-
},
|
|
4120
|
+
}, as = ct(
|
|
4142
4121
|
(e) => {
|
|
4143
|
-
var t = e, { locale: r, format: n } = t,
|
|
4122
|
+
var t = e, { locale: r, format: n } = t, i = Fe(t, ["locale", "format"]);
|
|
4144
4123
|
if (r == null)
|
|
4145
4124
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4146
|
-
return n && (
|
|
4125
|
+
return n && (i = We("number", n)), new Intl.NumberFormat(r, i);
|
|
4147
4126
|
}
|
|
4148
|
-
),
|
|
4127
|
+
), os = ct(
|
|
4149
4128
|
(e) => {
|
|
4150
|
-
var t = e, { locale: r, format: n } = t,
|
|
4129
|
+
var t = e, { locale: r, format: n } = t, i = Fe(t, ["locale", "format"]);
|
|
4151
4130
|
if (r == null)
|
|
4152
4131
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4153
|
-
return n ?
|
|
4132
|
+
return n ? i = We("date", n) : Object.keys(i).length === 0 && (i = We("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4154
4133
|
}
|
|
4155
|
-
),
|
|
4134
|
+
), ls = ct(
|
|
4156
4135
|
(e) => {
|
|
4157
|
-
var t = e, { locale: r, format: n } = t,
|
|
4136
|
+
var t = e, { locale: r, format: n } = t, i = Fe(t, ["locale", "format"]);
|
|
4158
4137
|
if (r == null)
|
|
4159
4138
|
throw new Error(
|
|
4160
4139
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4161
4140
|
);
|
|
4162
|
-
return n ?
|
|
4141
|
+
return n ? i = We("time", n) : Object.keys(i).length === 0 && (i = We("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4163
4142
|
}
|
|
4164
|
-
),
|
|
4143
|
+
), us = (e = {}) => {
|
|
4165
4144
|
var t = e, {
|
|
4166
4145
|
locale: r = me()
|
|
4167
|
-
} = t, n =
|
|
4146
|
+
} = t, n = Fe(t, [
|
|
4168
4147
|
"locale"
|
|
4169
4148
|
]);
|
|
4170
|
-
return
|
|
4171
|
-
},
|
|
4149
|
+
return as(kt({ locale: r }, n));
|
|
4150
|
+
}, hs = (e = {}) => {
|
|
4172
4151
|
var t = e, {
|
|
4173
4152
|
locale: r = me()
|
|
4174
|
-
} = t, n =
|
|
4153
|
+
} = t, n = Fe(t, [
|
|
4175
4154
|
"locale"
|
|
4176
4155
|
]);
|
|
4177
|
-
return
|
|
4178
|
-
},
|
|
4156
|
+
return os(kt({ locale: r }, n));
|
|
4157
|
+
}, cs = (e = {}) => {
|
|
4179
4158
|
var t = e, {
|
|
4180
4159
|
locale: r = me()
|
|
4181
|
-
} = t, n =
|
|
4160
|
+
} = t, n = Fe(t, [
|
|
4182
4161
|
"locale"
|
|
4183
4162
|
]);
|
|
4184
|
-
return
|
|
4185
|
-
},
|
|
4163
|
+
return ls(kt({ locale: r }, n));
|
|
4164
|
+
}, fs = ct(
|
|
4186
4165
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4187
|
-
(e, t = me()) => new
|
|
4188
|
-
ignoreTag:
|
|
4166
|
+
(e, t = me()) => new Di(e, t, Ne().formats, {
|
|
4167
|
+
ignoreTag: Ne().ignoreTag
|
|
4189
4168
|
})
|
|
4190
|
-
),
|
|
4191
|
-
var r, n,
|
|
4169
|
+
), ds = (e, t = {}) => {
|
|
4170
|
+
var r, n, i, s;
|
|
4192
4171
|
let a = t;
|
|
4193
4172
|
typeof e == "object" && (a = e, e = a.id);
|
|
4194
4173
|
const {
|
|
@@ -4200,9 +4179,9 @@ const ze = (e, t) => {
|
|
|
4200
4179
|
throw new Error(
|
|
4201
4180
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4202
4181
|
);
|
|
4203
|
-
let c =
|
|
4182
|
+
let c = $r(e, u);
|
|
4204
4183
|
if (!c)
|
|
4205
|
-
c = (
|
|
4184
|
+
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;
|
|
4206
4185
|
else if (typeof c != "string")
|
|
4207
4186
|
return console.warn(
|
|
4208
4187
|
`[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.`
|
|
@@ -4211,7 +4190,7 @@ const ze = (e, t) => {
|
|
|
4211
4190
|
return c;
|
|
4212
4191
|
let f = c;
|
|
4213
4192
|
try {
|
|
4214
|
-
f =
|
|
4193
|
+
f = fs(c, u).format(l);
|
|
4215
4194
|
} catch (p) {
|
|
4216
4195
|
p instanceof Error && console.warn(
|
|
4217
4196
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4219,20 +4198,20 @@ const ze = (e, t) => {
|
|
|
4219
4198
|
);
|
|
4220
4199
|
}
|
|
4221
4200
|
return f;
|
|
4222
|
-
},
|
|
4223
|
-
Oe([
|
|
4224
|
-
Oe([
|
|
4225
|
-
Oe([
|
|
4226
|
-
Oe([
|
|
4201
|
+
}, ps = (e, t) => cs(t).format(e), ms = (e, t) => hs(t).format(e), gs = (e, t) => us(t).format(e), bs = (e, t = me()) => $r(e, t), ws = Oe([Le, Xe], () => ds);
|
|
4202
|
+
Oe([Le], () => ps);
|
|
4203
|
+
Oe([Le], () => ms);
|
|
4204
|
+
Oe([Le], () => gs);
|
|
4205
|
+
Oe([Le, Xe], () => bs);
|
|
4227
4206
|
window.emWidgets = { topic: Mn };
|
|
4228
|
-
const
|
|
4229
|
-
function
|
|
4230
|
-
|
|
4207
|
+
const vs = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4208
|
+
function or(e, t) {
|
|
4209
|
+
jr(e, t);
|
|
4231
4210
|
}
|
|
4232
|
-
function
|
|
4233
|
-
|
|
4211
|
+
function ys(e) {
|
|
4212
|
+
Le.set(e);
|
|
4234
4213
|
}
|
|
4235
|
-
const
|
|
4214
|
+
const lr = {
|
|
4236
4215
|
en: {
|
|
4237
4216
|
titleChangePassword: "Change Password",
|
|
4238
4217
|
currentPassword: "Current Password:",
|
|
@@ -4416,190 +4395,190 @@ const hr = {
|
|
|
4416
4395
|
backButtonText: "Back"
|
|
4417
4396
|
}
|
|
4418
4397
|
};
|
|
4419
|
-
function
|
|
4398
|
+
function Ps(e, t) {
|
|
4420
4399
|
if (e) {
|
|
4421
4400
|
const r = document.createElement("style");
|
|
4422
4401
|
r.innerHTML = t, e.appendChild(r);
|
|
4423
4402
|
}
|
|
4424
4403
|
}
|
|
4425
|
-
function
|
|
4404
|
+
function _s(e, t) {
|
|
4426
4405
|
const r = new URL(t);
|
|
4427
4406
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4428
|
-
const
|
|
4429
|
-
|
|
4407
|
+
const i = document.createElement("style");
|
|
4408
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
4430
4409
|
}).catch((n) => {
|
|
4431
4410
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4432
4411
|
});
|
|
4433
4412
|
}
|
|
4434
|
-
function
|
|
4413
|
+
function Es(e, t, r) {
|
|
4435
4414
|
if (window.emMessageBus) {
|
|
4436
4415
|
const n = document.createElement("style");
|
|
4437
|
-
window.emMessageBus.subscribe(t, (
|
|
4438
|
-
n.innerHTML =
|
|
4416
|
+
window.emMessageBus.subscribe(t, (i) => {
|
|
4417
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
4439
4418
|
});
|
|
4440
4419
|
}
|
|
4441
4420
|
}
|
|
4442
|
-
function
|
|
4443
|
-
|
|
4421
|
+
function xs(e) {
|
|
4422
|
+
Qr(e, "svelte-1qk6bmp", '.PlayerChangePasswordWrapper{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;height:100vh;max-width:100%;background-color:var(--emw--pam-typography, var(--emw--color-typography, #F1F1F1));border-radius:5%}.ChangePasswordTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--color-primary, #22B04E);font-weight:var(--emw--font-weight-semibold, 500)}.ChangePasswordTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--color-primary, #22B04E)}.ChangePasswordTitleNone{display:none}.PlayerChangePasswordContent{display:grid;grid-column-gap:50px;grid-row-gap:30px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px;max-width:400px;min-width:200px}.PlayerChangePasswordButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr}.PlayerChangePasswordSaveButton,.PlayerChangePasswordCancelButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;font-family:var(--emw--button-typography);color:var(--emw--pam-typography, var(---emw--button-text-color, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerChangePasswordSaveButton.ButtonInactive,.PlayerChangePasswordCancelButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordCancelButton{background:transparent;font-family:var(--emw--button-typography);border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordCancelButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed}.PlayerChangePasswordSaveButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);max-width:400px;min-width:200px;padding:13px 0;font-size:var(--emw--font-size-medium, 16px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordSaveButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed}.PlayerChangePasswordBox{display:flex;flex-direction:column;position:relative}.PlayerChangePasswordBox label{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:10px}.PlayerChangePasswordBox input{font-family:inherit;font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--color-contrast, #07072A);padding:10px;line-height:16px;border:2px solid var(--emw--color-gray-100, #D6D6D6);background:var(--emw--pam-typography, var(--emw--color-typography, #FFFFFF));border-radius:var(--emw--border-radius-medium, 10px);outline:none;transition-duration:0.3s}.PlayerChangePasswordBox input:focus,.PlayerChangePasswordBox input :focus-within,.PlayerChangePasswordBox input :focus-visible,.PlayerChangePasswordBox input :visited{box-shadow:0 0 0 1pt var(--emw--color-primary, #22B04E)}.PlayerChangePasswordBox .FieldDisabled{color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox input::-webkit-outer-spin-button,.PlayerChangePasswordBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerChangePasswordBox input::-ms-reveal,.PlayerChangePasswordBox input::-ms-clear{display:none}.PlayerChangePasswordBox input[type=number]{-moz-appearance:textfield}.PlayerChangePasswordBox.InvalidField input{border:1px solid var(--emw--color-error, #FD2839);background:var(--emw--color-pale, #FBECF4);color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInput{bottom:-16px}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInputNew{bottom:-24px}.TogglePasswordVisibility{height:20px;position:absolute;right:10px;top:38px;cursor:pointer;color:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--color-error, #FD2839)}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibilityMobile{top:35px}.InvalidInput,.InvalidInputNew{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-2x-small, 10px);padding-top:5px;margin:0;line-height:12px}.InvalidInputNew{bottom:-24px}.PasswordChangedError{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-medium, 16px);line-height:18px;margin-top:0}.ChangedPasswordSuccessfully{color:var(--emw--button-text-color, #FFFFFF);position:relative}.ChangedPasswordSuccessfully .SuccessWrapper{display:inline-flex;align-items:center;margin-bottom:20px}.ChangedPasswordSuccessfully .IconContainer{width:45px;height:45px;border:1px solid var(--emw--color-valid, #48952a);border-radius:var(--emw--button-border-radius, 10px);display:flex;align-items:center;justify-content:center}.ChangedPasswordSuccessfully .Checkmark{width:12px;height:22px;border:1px solid var(--emw--color-valid, #48952a);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:relative;top:-3px}.ChangedPasswordSuccessfully h3{font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-normal, 400);margin:10px 0;color:var(--emw--color-valid, #48952a)}.ChangedPasswordSuccessfully p{margin:0;font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.ChangedPasswordSuccessfully .TextContainer{display:flex;flex-direction:column;padding:10px 20px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton{cursor:pointer;display:flex;justify-content:center;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;padding:10px;border:1px solid var(--emw--color-primary, #22B04E);background:var(--emw--color-primary, #22B04E);max-width:185px;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);width:auto;font-size:var(--emw--font-size-medium, 16px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton:hover{filter:brightness(0.9)}.PlayerChangePasswordWrapperMobile{height:75vh;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column;border-radius:0}.PlayerChangePasswordWrapperMobile:after{content:"";position:absolute;bottom:0}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBackButton{width:100%;max-width:none}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordHeader h3{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox label{font-family:inherit;color:var(--emw--color-gray-300, #58586B);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox input{font-family:inherit;color:var(--emw--color-gray-300, #58586B);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordButtonsArea{grid-column-gap:10px}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton,.PlayerChangePasswordWrapperMobile .PlayerChangePasswordCancelButton{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px);height:44px;color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{font-family:inherit;color:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordWrapperMobile .ChangedPasswordSuccessfully{color:var(--emw--color-gray-300, #58586B)}.MenuReturnButton{font-family:inherit;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}');
|
|
4444
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 =
|
|
4435
|
+
t = P("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, x, 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 =
|
|
4468
|
+
G && G.c(), t = k(), r = P("div"), n = P("h3"), s = M(i), a = k(), l = P("div"), u = P("div"), h = P("div"), h.innerHTML = '<div class="Checkmark"></div>', c = k(), f = P("div"), p = P("h3"), v = M(m), w = k(), x = P("p"), B = M(y), L = k(), D = P("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, T) {
|
|
4471
|
+
G && G.m(N, T), H(N, t, T), H(N, r, T), d(r, n), d(n, s), H(N, a, T), H(N, l, T), d(l, u), d(u, h), d(u, c), d(u, f), d(f, p), d(p, v), d(f, w), d(f, x), d(x, 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, T) {
|
|
4500
4479
|
/*isMobile*/
|
|
4501
|
-
|
|
4502
|
-
524288 &&
|
|
4503
|
-
|
|
4480
|
+
N[20] && G.p(N, T), T[0] & /*$_*/
|
|
4481
|
+
524288 && i !== (i = /*$_*/
|
|
4482
|
+
N[19]("changePasswordText") + "") && $(s, i), T[0] & /*$_*/
|
|
4504
4483
|
524288 && m !== (m = /*$_*/
|
|
4505
|
-
|
|
4484
|
+
N[19]("passwordReset") + "") && $(v, m), T[0] & /*$_*/
|
|
4506
4485
|
524288 && y !== (y = /*$_*/
|
|
4507
|
-
|
|
4508
|
-
524288 &&
|
|
4509
|
-
|
|
4486
|
+
N[19]("passwordResetConfirmation") + "") && $(B, y), T[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, x, y,
|
|
4502
|
+
), c, f, p, m, v, w, x, y, B, L = (
|
|
4524
4503
|
/*$_*/
|
|
4525
4504
|
e[19]("newPassword") + ""
|
|
4526
|
-
),
|
|
4505
|
+
), D, U, O, X, ee, G, N, T, Z, he = (
|
|
4527
4506
|
/*$_*/
|
|
4528
4507
|
e[19]("confirmPassword") + ""
|
|
4529
|
-
), ge, ke, Y, re,
|
|
4508
|
+
), ge, ke, Y, re, De, be, ce, fe, oe, 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, _) {
|
|
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, _) {
|
|
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, _) {
|
|
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 le = Je(e), V = le && le(e);
|
|
4566
|
-
function qe(
|
|
4545
|
+
function qe(I, _) {
|
|
4567
4546
|
return (
|
|
4568
4547
|
/*isConfirmPasswordVisible*/
|
|
4569
|
-
|
|
4548
|
+
I[12] ? $s : Us
|
|
4570
4549
|
);
|
|
4571
4550
|
}
|
|
4572
|
-
let
|
|
4551
|
+
let Pe = qe(e), K = Pe(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 = P("h2"), i = M(n), s = k(), a = P("section"), l = P("div"), u = P("label"), c = M(h), f = k(), p = P("input"), m = k(), J.c(), v = k(), j && j.c(), x = k(), y = P("div"), B = P("label"), D = M(L), U = k(), O = P("input"), X = k(), q.c(), ee = k(), V && V.c(), N = k(), T = P("div"), Z = P("label"), ge = M(he), ke = k(), Y = P("input"), re = k(), K.c(), De = k(), b && b.c(), ce = k(), R && R.c(), fe = k(), oe = P("section"), Q = P("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(T, "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(oe, "class", "PlayerChangePasswordButtonsArea");
|
|
4588
4567
|
},
|
|
4589
|
-
m(
|
|
4590
|
-
|
|
4568
|
+
m(I, _) {
|
|
4569
|
+
ne && ne.m(I, _), H(I, t, _), H(I, r, _), d(r, i), H(I, s, _), H(I, a, _), d(a, l), d(l, u), d(u, c), d(l, f), d(l, p), _e(
|
|
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, x), 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, x), d(a, y), d(y, B), d(B, D), d(y, U), d(y, O), _e(
|
|
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, T), d(T, Z), d(Z, ge), d(T, ke), d(T, Y), _e(
|
|
4599
4578
|
Y,
|
|
4600
4579
|
/*userConfirmPassword*/
|
|
4601
4580
|
e[16]
|
|
4602
|
-
), e[42](Y), d(T, re), K.m(T, null), d(T,
|
|
4581
|
+
), e[42](Y), d(T, re), K.m(T, null), d(T, De), b && b.m(T, null), H(I, ce, _), R && R.m(I, _), H(I, fe, _), H(I, oe, _), d(oe, 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,71 +4663,71 @@ 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, _) {
|
|
4669
|
+
e = I, /*isMobile*/
|
|
4670
|
+
e[20] && ne.p(e, _), _[0] & /*$_*/
|
|
4692
4671
|
524288 && n !== (n = /*$_*/
|
|
4693
|
-
e[19]("titleChangePassword") + "") && $(
|
|
4672
|
+
e[19]("titleChangePassword") + "") && $(i, n), _[0] & /*$_*/
|
|
4694
4673
|
524288 && h !== (h = /*$_*/
|
|
4695
|
-
e[19]("currentPassword") + "") && $(c, h),
|
|
4674
|
+
e[19]("currentPassword") + "") && $(c, h), _[0] & /*userCurrentPassword*/
|
|
4696
4675
|
16384 && p.value !== /*userCurrentPassword*/
|
|
4697
|
-
e[14] &&
|
|
4676
|
+
e[14] && _e(
|
|
4698
4677
|
p,
|
|
4699
4678
|
/*userCurrentPassword*/
|
|
4700
4679
|
e[14]
|
|
4701
|
-
), ve === (ve = Ye(e)) && J ? J.p(e,
|
|
4702
|
-
e[4] ? j ? j.p(e,
|
|
4680
|
+
), ve === (ve = Ye(e)) && J ? J.p(e, _) : (J.d(1), J = ve(e), J && (J.c(), J.m(l, v))), /*invalidCurrentPassword*/
|
|
4681
|
+
e[4] ? j ? j.p(e, _) : (j = ur(e), j.c(), j.m(l, null)) : j && (j.d(1), j = null), _[0] & /*invalidCurrentPassword*/
|
|
4703
4682
|
16 && w !== (w = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
|
|
4704
|
-
(e[4] ? "InvalidField" : "")) && o(l, "class", w),
|
|
4705
|
-
524288 &&
|
|
4706
|
-
e[19]("newPassword") + "") && $(
|
|
4683
|
+
(e[4] ? "InvalidField" : "")) && o(l, "class", w), _[0] & /*$_*/
|
|
4684
|
+
524288 && L !== (L = /*$_*/
|
|
4685
|
+
e[19]("newPassword") + "") && $(D, L), _[0] & /*userNewPassword*/
|
|
4707
4686
|
32768 && O.value !== /*userNewPassword*/
|
|
4708
|
-
e[15] &&
|
|
4687
|
+
e[15] && _e(
|
|
4709
4688
|
O,
|
|
4710
4689
|
/*userNewPassword*/
|
|
4711
4690
|
e[15]
|
|
4712
|
-
), ye === (ye = Qe(e)) && q ? q.p(e,
|
|
4691
|
+
), ye === (ye = Qe(e)) && q ? q.p(e, _) : (q.d(1), q = ye(e), q && (q.c(), q.m(y, ee))), le === (le = Je(e)) && V ? V.p(e, _) : (V && V.d(1), V = le && le(e), V && (V.c(), V.m(y, null))), _[0] & /*invalidNewPassword*/
|
|
4713
4692
|
32 && G !== (G = "PlayerChangePasswordBox " + /*invalidNewPassword*/
|
|
4714
|
-
(e[5] ? "InvalidField" : "")) && o(y, "class", G),
|
|
4693
|
+
(e[5] ? "InvalidField" : "")) && o(y, "class", G), _[0] & /*$_*/
|
|
4715
4694
|
524288 && he !== (he = /*$_*/
|
|
4716
|
-
e[19]("confirmPassword") + "") && $(ge, he),
|
|
4695
|
+
e[19]("confirmPassword") + "") && $(ge, he), _[0] & /*userConfirmPassword*/
|
|
4717
4696
|
65536 && Y.value !== /*userConfirmPassword*/
|
|
4718
|
-
e[16] &&
|
|
4697
|
+
e[16] && _e(
|
|
4719
4698
|
Y,
|
|
4720
4699
|
/*userConfirmPassword*/
|
|
4721
4700
|
e[16]
|
|
4722
|
-
),
|
|
4723
|
-
e[6] ? b ? b.p(e,
|
|
4701
|
+
), Pe === (Pe = qe(e)) && K ? K.p(e, _) : (K.d(1), K = Pe(e), K && (K.c(), K.m(T, De))), /*invalidConfirmPassword*/
|
|
4702
|
+
e[6] ? b ? b.p(e, _) : (b = hr(e), b.c(), b.m(T, null)) : b && (b.d(1), b = null), _[0] & /*invalidConfirmPassword*/
|
|
4724
4703
|
64 && be !== (be = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
|
|
4725
4704
|
(e[6] ? "InvalidField" : "")) && o(T, "class", be), /*showErrorPasswordChanged*/
|
|
4726
|
-
e[18] ?
|
|
4705
|
+
e[18] ? R ? R.p(e, _) : (R = cr(e), R.c(), R.m(fe.parentNode, fe)) : R && (R.d(1), R = null), _[0] & /*$_*/
|
|
4727
4706
|
524288 && de !== (de = /*$_*/
|
|
4728
|
-
e[19]("submitChangePassword") + "") && $(Ue, de),
|
|
4707
|
+
e[19]("submitChangePassword") + "") && $(Ue, de), _[0] & /*activateSubmit*/
|
|
4729
4708
|
8 && pe !== (pe = "PlayerChangePasswordSaveButton " + /*activateSubmit*/
|
|
4730
|
-
(e[3] ? "" : "ButtonInactive")) && o(Q, "class", pe),
|
|
4709
|
+
(e[3] ? "" : "ButtonInactive")) && o(Q, "class", pe), _[0] & /*activateSubmit*/
|
|
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(ce), A(fe), A(oe)), 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 =
|
|
4725
|
+
t = P("div"), r = g("svg"), n = g("g"), i = g("path"), s = k(), a = P("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--pam-color-primary, var(--emw--color-primary, #22B04E))"), 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 =
|
|
4754
|
+
t = P("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 = P("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, x) {
|
|
4778
|
-
|
|
4757
|
+
H(w, t, x), 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, x;
|
|
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 || (x = 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, x();
|
|
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 =
|
|
4859
|
+
t = P("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 =
|
|
4881
|
+
t = P("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, x;
|
|
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 || (x = 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, x();
|
|
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 =
|
|
4981
|
+
t = P("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 =
|
|
5003
|
+
t = P("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 =
|
|
5025
|
+
t = P("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, x;
|
|
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 || (x = 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, x();
|
|
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 =
|
|
5101
|
+
t = P("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 =
|
|
5120
|
+
t = P("div"), r = P("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 =
|
|
5149
|
+
t = P("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, ws, (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 = vs(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 x = !1, y = !1,
|
|
5172
|
+
let x = !1, y = !1, B = !1, L, D, U, O = !1, X = !1, ee = !1, G = !1, N = "", T = "", Z = "", he = !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.length > 1e3 ? r(4, x = !0) : r(4, x = !1) : I.id === "NewPassword" ? (r(5, y = !ce(R)), N && r(13, G = N === T), Z && r(6, B = T === Z ? !ce(R) : !0)) : r(6, B = T === Z ? !ce(R) : !0), fe();
|
|
5222
5201
|
}, ce = (b) => !!w.password.test(b), fe = () => {
|
|
5223
|
-
!x && !y && !
|
|
5202
|
+
!x && !y && !B && !G && N && T && Z ? r(3, v = !0) : r(3, v = !1);
|
|
5224
5203
|
}, oe = (b) => {
|
|
5225
5204
|
b.preventDefault(), v && window.postMessage(
|
|
5226
5205
|
{
|
|
5227
5206
|
type: "ChangePassword",
|
|
5228
|
-
userCurrentPassword:
|
|
5207
|
+
userCurrentPassword: N,
|
|
5229
5208
|
userNewPassword: T
|
|
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
|
+
ys(i);
|
|
5245
5224
|
}, pe = (b) => {
|
|
5246
5225
|
if (b.data)
|
|
5247
5226
|
switch (b.data.type) {
|
|
@@ -5253,25 +5232,25 @@ function zi(e, t, r) {
|
|
|
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
|
T = this.value, r(15, T);
|
|
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,43 +5259,43 @@ 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
|
-
const Je = () => re("userConfirmPassword"), le = () => re("userConfirmPassword"), V = (b) => oe(b), qe = () => Q(),
|
|
5265
|
+
const Je = () => re("userConfirmPassword"), le = () => re("userConfirmPassword"), V = (b) => oe(b), qe = () => Q(), Pe = () => de();
|
|
5287
5266
|
function K(b) {
|
|
5288
5267
|
Ce[b ? "unshift" : "push"](() => {
|
|
5289
5268
|
f = b, r(1, f);
|
|
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 && Ps(f, a), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5280
|
+
268435458 && l && f && _s(f, l), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5281
|
+
536870914 && u && f && Es(f, `${u}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
5303
5282
|
1073741824 && h && Y();
|
|
5304
5283
|
}, [
|
|
5305
|
-
|
|
5284
|
+
s,
|
|
5306
5285
|
f,
|
|
5307
5286
|
he,
|
|
5308
5287
|
v,
|
|
5309
5288
|
x,
|
|
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
|
T,
|
|
5321
5300
|
Z,
|
|
5322
5301
|
ge,
|
|
@@ -5328,16 +5307,16 @@ function zi(e, t, r) {
|
|
|
5328
5307
|
oe,
|
|
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,
|
|
@@ -5349,18 +5328,18 @@ function zi(e, t, r) {
|
|
|
5349
5328
|
le,
|
|
5350
5329
|
V,
|
|
5351
5330
|
qe,
|
|
5352
|
-
|
|
5331
|
+
Pe,
|
|
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
|
};
|