@everymatrix/general-player-login-form 1.56.0 → 1.56.3
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/GeneralPlayerLoginForm-ByIgeDmT.cjs +18 -0
- package/components/{GeneralPlayerLoginForm-I1NYdDOX.js → GeneralPlayerLoginForm-CpQQFRGV.js} +595 -542
- package/components/{GeneralPlayerLoginForm-BRVTxLCa.js → GeneralPlayerLoginForm-gauMqg_k.js} +613 -560
- package/components/{GeneralPlayerSmsVerificationForm-C7wZcrhZ.js → GeneralPlayerSmsVerificationForm-BH31XK9j.js} +23 -23
- package/components/{GeneralPlayerSmsVerificationForm-9gKc_VsM.cjs → GeneralPlayerSmsVerificationForm-CfMK7ptU.cjs} +1 -1
- package/components/{GeneralPlayerSmsVerificationForm-JKaIZ8Iu.js → GeneralPlayerSmsVerificationForm-gXNvsXYD.js} +25 -25
- package/es2015/general-player-login-form.cjs +1 -1
- package/es2015/general-player-login-form.js +1 -1
- package/esnext/general-player-login-form.js +1 -1
- package/package.json +1 -1
- package/components/GeneralPlayerLoginForm-C2_RNyby.cjs +0 -5
package/components/{GeneralPlayerLoginForm-BRVTxLCa.js → GeneralPlayerLoginForm-gauMqg_k.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var vt = (e, t, r) => t in e ?
|
|
1
|
+
var mn = Object.defineProperty, pn = Object.defineProperties;
|
|
2
|
+
var gn = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Jt = Object.getOwnPropertySymbols;
|
|
4
|
+
var bn = Object.prototype.hasOwnProperty, vn = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var vt = (e, t, r) => t in e ? mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
bn.call(t, r) && vt(e, r, t[r]);
|
|
8
|
+
if (Jt)
|
|
9
|
+
for (var r of Jt(t))
|
|
10
|
+
vn.call(t, r) && vt(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var K = (e, t, r) => vt(e, typeof t != "symbol" ? t + "" : t, r);
|
|
12
|
+
}, Yt = (e, t) => pn(e, gn(t));
|
|
13
|
+
var K = (e, t, r) => (vt(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
14
|
var et = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (u) => {
|
|
16
16
|
try {
|
|
@@ -29,29 +29,29 @@ var et = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function Z() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Ar(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function Kt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function Ne(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(Ar);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function $t(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Ir(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
47
|
let tt;
|
|
48
|
-
function
|
|
48
|
+
function er(e, t) {
|
|
49
49
|
return e === t ? !0 : (tt || (tt = document.createElement("a")), tt.href = t, e === tt.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function yn(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Cr(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const n of t)
|
|
57
57
|
n(void 0);
|
|
@@ -60,21 +60,22 @@ function Br(e, ...t) {
|
|
|
60
60
|
const r = e.subscribe(...t);
|
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
e.$$.on_destroy.push(
|
|
63
|
+
function _n(e, t, r) {
|
|
64
|
+
e.$$.on_destroy.push(Cr(t, r));
|
|
65
65
|
}
|
|
66
66
|
function m(e, t) {
|
|
67
67
|
e.appendChild(t);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
const n =
|
|
69
|
+
function En(e, t, r) {
|
|
70
|
+
const n = wn(e);
|
|
71
71
|
if (!n.getElementById(t)) {
|
|
72
72
|
const i = x("style");
|
|
73
|
-
i.id = t, i.textContent = r,
|
|
73
|
+
i.id = t, i.textContent = r, xn(n, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
77
|
-
if (!e)
|
|
76
|
+
function wn(e) {
|
|
77
|
+
if (!e)
|
|
78
|
+
return document;
|
|
78
79
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
79
80
|
return t && /** @type {ShadowRoot} */
|
|
80
81
|
t.host ? (
|
|
@@ -82,7 +83,7 @@ function vn(e) {
|
|
|
82
83
|
t
|
|
83
84
|
) : e.ownerDocument;
|
|
84
85
|
}
|
|
85
|
-
function
|
|
86
|
+
function xn(e, t) {
|
|
86
87
|
return m(
|
|
87
88
|
/** @type {Document} */
|
|
88
89
|
e.head || e,
|
|
@@ -107,7 +108,7 @@ function N(e) {
|
|
|
107
108
|
function j() {
|
|
108
109
|
return N(" ");
|
|
109
110
|
}
|
|
110
|
-
function
|
|
111
|
+
function Sn() {
|
|
111
112
|
return N("");
|
|
112
113
|
}
|
|
113
114
|
function se(e, t, r, n) {
|
|
@@ -120,7 +121,7 @@ function W(e, t, r) {
|
|
|
120
121
|
const n = t.toLowerCase();
|
|
121
122
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : h(e, t, r);
|
|
122
123
|
}
|
|
123
|
-
function
|
|
124
|
+
function Pn(e) {
|
|
124
125
|
return Array.from(e.childNodes);
|
|
125
126
|
}
|
|
126
127
|
function re(e, t) {
|
|
@@ -130,7 +131,7 @@ function re(e, t) {
|
|
|
130
131
|
function rt(e, t) {
|
|
131
132
|
e.value = t == null ? "" : t;
|
|
132
133
|
}
|
|
133
|
-
function
|
|
134
|
+
function Tn(e) {
|
|
134
135
|
const t = {};
|
|
135
136
|
return e.childNodes.forEach(
|
|
136
137
|
/** @param {Element} node */
|
|
@@ -143,21 +144,22 @@ let Xe;
|
|
|
143
144
|
function ze(e) {
|
|
144
145
|
Xe = e;
|
|
145
146
|
}
|
|
146
|
-
function
|
|
147
|
-
if (!Xe)
|
|
147
|
+
function Hn() {
|
|
148
|
+
if (!Xe)
|
|
149
|
+
throw new Error("Function called outside component initialization");
|
|
148
150
|
return Xe;
|
|
149
151
|
}
|
|
150
|
-
function
|
|
151
|
-
|
|
152
|
+
function Bn(e) {
|
|
153
|
+
Hn().$$.on_mount.push(e);
|
|
152
154
|
}
|
|
153
155
|
const Be = [], ut = [];
|
|
154
156
|
let Ae = [];
|
|
155
|
-
const
|
|
156
|
-
let
|
|
157
|
-
function
|
|
158
|
-
|
|
157
|
+
const tr = [], An = /* @__PURE__ */ Promise.resolve();
|
|
158
|
+
let Ht = !1;
|
|
159
|
+
function In() {
|
|
160
|
+
Ht || (Ht = !0, An.then(ee));
|
|
159
161
|
}
|
|
160
|
-
function
|
|
162
|
+
function Bt(e) {
|
|
161
163
|
Ae.push(e);
|
|
162
164
|
}
|
|
163
165
|
const yt = /* @__PURE__ */ new Set();
|
|
@@ -170,52 +172,53 @@ function ee() {
|
|
|
170
172
|
try {
|
|
171
173
|
for (; Te < Be.length; ) {
|
|
172
174
|
const t = Be[Te];
|
|
173
|
-
Te++, ze(t),
|
|
175
|
+
Te++, ze(t), Cn(t.$$);
|
|
174
176
|
}
|
|
175
177
|
} catch (t) {
|
|
176
178
|
throw Be.length = 0, Te = 0, t;
|
|
177
179
|
}
|
|
178
|
-
for (ze(null), Be.length = 0, Te = 0; ut.length; )
|
|
180
|
+
for (ze(null), Be.length = 0, Te = 0; ut.length; )
|
|
181
|
+
ut.pop()();
|
|
179
182
|
for (let t = 0; t < Ae.length; t += 1) {
|
|
180
183
|
const r = Ae[t];
|
|
181
184
|
yt.has(r) || (yt.add(r), r());
|
|
182
185
|
}
|
|
183
186
|
Ae.length = 0;
|
|
184
187
|
} while (Be.length);
|
|
185
|
-
for (;
|
|
186
|
-
|
|
187
|
-
|
|
188
|
+
for (; tr.length; )
|
|
189
|
+
tr.pop()();
|
|
190
|
+
Ht = !1, yt.clear(), ze(e);
|
|
188
191
|
}
|
|
189
|
-
function
|
|
192
|
+
function Cn(e) {
|
|
190
193
|
if (e.fragment !== null) {
|
|
191
194
|
e.update(), Ne(e.before_update);
|
|
192
195
|
const t = e.dirty;
|
|
193
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
196
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Bt);
|
|
194
197
|
}
|
|
195
198
|
}
|
|
196
|
-
function
|
|
199
|
+
function On(e) {
|
|
197
200
|
const t = [], r = [];
|
|
198
201
|
Ae.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Ae = t;
|
|
199
202
|
}
|
|
200
|
-
const
|
|
201
|
-
function
|
|
202
|
-
e && e.i && (
|
|
203
|
+
const Ln = /* @__PURE__ */ new Set();
|
|
204
|
+
function Mn(e, t) {
|
|
205
|
+
e && e.i && (Ln.delete(e), e.i(t));
|
|
203
206
|
}
|
|
204
|
-
function
|
|
207
|
+
function Nn(e, t, r) {
|
|
205
208
|
const { fragment: n, after_update: i } = e.$$;
|
|
206
|
-
n && n.m(t, r),
|
|
207
|
-
const o = e.$$.on_mount.map(
|
|
209
|
+
n && n.m(t, r), Bt(() => {
|
|
210
|
+
const o = e.$$.on_mount.map(Ar).filter($t);
|
|
208
211
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ne(o), e.$$.on_mount = [];
|
|
209
|
-
}), i.forEach(
|
|
212
|
+
}), i.forEach(Bt);
|
|
210
213
|
}
|
|
211
|
-
function
|
|
214
|
+
function Rn(e, t) {
|
|
212
215
|
const r = e.$$;
|
|
213
|
-
r.fragment !== null && (
|
|
216
|
+
r.fragment !== null && (On(r.after_update), Ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
214
217
|
}
|
|
215
|
-
function
|
|
216
|
-
e.$$.dirty[0] === -1 && (Be.push(e),
|
|
218
|
+
function Un(e, t) {
|
|
219
|
+
e.$$.dirty[0] === -1 && (Be.push(e), In(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
217
220
|
}
|
|
218
|
-
function
|
|
221
|
+
function Fn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
219
222
|
const u = Xe;
|
|
220
223
|
ze(e);
|
|
221
224
|
const l = e.$$ = {
|
|
@@ -225,7 +228,7 @@ function Mn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
225
228
|
props: o,
|
|
226
229
|
update: Z,
|
|
227
230
|
not_equal: i,
|
|
228
|
-
bound:
|
|
231
|
+
bound: Kt(),
|
|
229
232
|
// lifecycle
|
|
230
233
|
on_mount: [],
|
|
231
234
|
on_destroy: [],
|
|
@@ -234,7 +237,7 @@ function Mn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
234
237
|
after_update: [],
|
|
235
238
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
236
239
|
// everything else
|
|
237
|
-
callbacks:
|
|
240
|
+
callbacks: Kt(),
|
|
238
241
|
dirty: a,
|
|
239
242
|
skip_bound: !1,
|
|
240
243
|
root: t.target || u.$$.root
|
|
@@ -243,19 +246,19 @@ function Mn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
243
246
|
let c = !1;
|
|
244
247
|
if (l.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
|
|
245
248
|
const y = b.length ? b[0] : d;
|
|
246
|
-
return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), c &&
|
|
249
|
+
return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), c && Un(e, f)), d;
|
|
247
250
|
}) : [], l.update(), c = !0, Ne(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
248
251
|
if (t.hydrate) {
|
|
249
|
-
const f =
|
|
252
|
+
const f = Pn(t.target);
|
|
250
253
|
l.fragment && l.fragment.l(f), f.forEach(I);
|
|
251
254
|
} else
|
|
252
255
|
l.fragment && l.fragment.c();
|
|
253
|
-
t.intro &&
|
|
256
|
+
t.intro && Mn(e.$$.fragment), Nn(e, t.target, t.anchor), ee();
|
|
254
257
|
}
|
|
255
258
|
ze(u);
|
|
256
259
|
}
|
|
257
|
-
let
|
|
258
|
-
typeof HTMLElement == "function" && (
|
|
260
|
+
let Or;
|
|
261
|
+
typeof HTMLElement == "function" && (Or = class extends HTMLElement {
|
|
259
262
|
constructor(t, r, n) {
|
|
260
263
|
super();
|
|
261
264
|
/** The Svelte component constructor */
|
|
@@ -316,7 +319,7 @@ typeof HTMLElement == "function" && (Ar = class extends HTMLElement {
|
|
|
316
319
|
};
|
|
317
320
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
318
321
|
return;
|
|
319
|
-
const r = {}, n =
|
|
322
|
+
const r = {}, n = Tn(this);
|
|
320
323
|
for (const o of this.$$s)
|
|
321
324
|
o in n && (r[o] = [t(o)]);
|
|
322
325
|
for (const o of this.attributes) {
|
|
@@ -327,7 +330,7 @@ typeof HTMLElement == "function" && (Ar = class extends HTMLElement {
|
|
|
327
330
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
328
331
|
this.$$c = new this.$$ctor({
|
|
329
332
|
target: this.shadowRoot || this,
|
|
330
|
-
props:
|
|
333
|
+
props: Yt(Qt({}, this.$$d), {
|
|
331
334
|
$$slots: r,
|
|
332
335
|
$$scope: {
|
|
333
336
|
ctx: []
|
|
@@ -405,8 +408,8 @@ function ot(e, t, r, n) {
|
|
|
405
408
|
return t;
|
|
406
409
|
}
|
|
407
410
|
}
|
|
408
|
-
function
|
|
409
|
-
let s = class extends
|
|
411
|
+
function Dn(e, t, r, n, i, o) {
|
|
412
|
+
let s = class extends Or {
|
|
410
413
|
constructor() {
|
|
411
414
|
super(e, r, i), this.$$p_d = t;
|
|
412
415
|
}
|
|
@@ -436,7 +439,7 @@ function Nn(e, t, r, n, i, o) {
|
|
|
436
439
|
}), e.element = /** @type {any} */
|
|
437
440
|
s, s;
|
|
438
441
|
}
|
|
439
|
-
class
|
|
442
|
+
class kn {
|
|
440
443
|
constructor() {
|
|
441
444
|
/**
|
|
442
445
|
* ### PRIVATE API
|
|
@@ -457,7 +460,7 @@ class Rn {
|
|
|
457
460
|
}
|
|
458
461
|
/** @returns {void} */
|
|
459
462
|
$destroy() {
|
|
460
|
-
|
|
463
|
+
Rn(this, 1), this.$destroy = Z;
|
|
461
464
|
}
|
|
462
465
|
/**
|
|
463
466
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -466,7 +469,7 @@ class Rn {
|
|
|
466
469
|
* @returns {() => void}
|
|
467
470
|
*/
|
|
468
471
|
$on(t, r) {
|
|
469
|
-
if (
|
|
472
|
+
if (!$t(r))
|
|
470
473
|
return Z;
|
|
471
474
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
472
475
|
return n.push(r), () => {
|
|
@@ -479,22 +482,37 @@ class Rn {
|
|
|
479
482
|
* @returns {void}
|
|
480
483
|
*/
|
|
481
484
|
$set(t) {
|
|
482
|
-
this.$$set && !
|
|
485
|
+
this.$$set && !yn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
483
486
|
}
|
|
484
487
|
}
|
|
485
|
-
const
|
|
486
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
487
|
-
|
|
488
|
-
|
|
488
|
+
const Gn = "4";
|
|
489
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Gn);
|
|
490
|
+
/*! *****************************************************************************
|
|
491
|
+
Copyright (c) Microsoft Corporation.
|
|
492
|
+
|
|
493
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
494
|
+
purpose with or without fee is hereby granted.
|
|
495
|
+
|
|
496
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
497
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
498
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
499
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
500
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
501
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
502
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
503
|
+
***************************************************************************** */
|
|
504
|
+
var At = function(e, t) {
|
|
505
|
+
return At = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
489
506
|
r.__proto__ = n;
|
|
490
507
|
} || function(r, n) {
|
|
491
|
-
for (var i in n)
|
|
492
|
-
|
|
508
|
+
for (var i in n)
|
|
509
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
510
|
+
}, At(e, t);
|
|
493
511
|
};
|
|
494
512
|
function le(e, t) {
|
|
495
513
|
if (typeof t != "function" && t !== null)
|
|
496
514
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
497
|
-
|
|
515
|
+
At(e, t);
|
|
498
516
|
function r() {
|
|
499
517
|
this.constructor = e;
|
|
500
518
|
}
|
|
@@ -504,61 +522,69 @@ var w = function() {
|
|
|
504
522
|
return w = Object.assign || function(t) {
|
|
505
523
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
506
524
|
r = arguments[n];
|
|
507
|
-
for (var o in r)
|
|
525
|
+
for (var o in r)
|
|
526
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
508
527
|
}
|
|
509
528
|
return t;
|
|
510
529
|
}, w.apply(this, arguments);
|
|
511
530
|
};
|
|
512
|
-
function
|
|
531
|
+
function $n(e, t) {
|
|
513
532
|
var r = {};
|
|
514
|
-
for (var n in e)
|
|
533
|
+
for (var n in e)
|
|
534
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
515
535
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
516
536
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
517
537
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
518
538
|
return r;
|
|
519
539
|
}
|
|
520
|
-
function
|
|
540
|
+
function It(e) {
|
|
521
541
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
522
|
-
if (r)
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
542
|
+
if (r)
|
|
543
|
+
return r.call(e);
|
|
544
|
+
if (e && typeof e.length == "number")
|
|
545
|
+
return {
|
|
546
|
+
next: function() {
|
|
547
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
548
|
+
}
|
|
549
|
+
};
|
|
528
550
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
529
551
|
}
|
|
530
|
-
function
|
|
552
|
+
function Ct(e, t) {
|
|
531
553
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
532
|
-
if (!r)
|
|
554
|
+
if (!r)
|
|
555
|
+
return e;
|
|
533
556
|
var n = r.call(e), i, o = [], s;
|
|
534
557
|
try {
|
|
535
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
558
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
559
|
+
o.push(i.value);
|
|
536
560
|
} catch (a) {
|
|
537
561
|
s = { error: a };
|
|
538
562
|
} finally {
|
|
539
563
|
try {
|
|
540
564
|
i && !i.done && (r = n.return) && r.call(n);
|
|
541
565
|
} finally {
|
|
542
|
-
if (s)
|
|
566
|
+
if (s)
|
|
567
|
+
throw s.error;
|
|
543
568
|
}
|
|
544
569
|
}
|
|
545
570
|
return o;
|
|
546
571
|
}
|
|
547
572
|
function Ie(e, t, r) {
|
|
548
|
-
if (r || arguments.length === 2)
|
|
549
|
-
(
|
|
550
|
-
|
|
573
|
+
if (r || arguments.length === 2)
|
|
574
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
575
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
576
|
+
return e.concat(o || t);
|
|
551
577
|
}
|
|
552
578
|
function ae(e) {
|
|
553
579
|
return typeof e == "function";
|
|
554
580
|
}
|
|
555
|
-
function
|
|
581
|
+
function Lr(e) {
|
|
556
582
|
var t = function(n) {
|
|
557
583
|
Error.call(n), n.stack = new Error().stack;
|
|
558
584
|
}, r = e(t);
|
|
559
585
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
560
586
|
}
|
|
561
|
-
var _t =
|
|
587
|
+
var _t = Lr(function(e) {
|
|
562
588
|
return function(r) {
|
|
563
589
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
564
590
|
` + r.map(function(n, i) {
|
|
@@ -567,7 +593,7 @@ var _t = Ir(function(e) {
|
|
|
567
593
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
568
594
|
};
|
|
569
595
|
});
|
|
570
|
-
function
|
|
596
|
+
function Ot(e, t) {
|
|
571
597
|
if (e) {
|
|
572
598
|
var r = e.indexOf(t);
|
|
573
599
|
0 <= r && e.splice(r, 1);
|
|
@@ -585,7 +611,7 @@ var ft = function() {
|
|
|
585
611
|
if (s)
|
|
586
612
|
if (this._parentage = null, Array.isArray(s))
|
|
587
613
|
try {
|
|
588
|
-
for (var a =
|
|
614
|
+
for (var a = It(s), u = a.next(); !u.done; u = a.next()) {
|
|
589
615
|
var l = u.value;
|
|
590
616
|
l.remove(this);
|
|
591
617
|
}
|
|
@@ -595,7 +621,8 @@ var ft = function() {
|
|
|
595
621
|
try {
|
|
596
622
|
u && !u.done && (r = a.return) && r.call(a);
|
|
597
623
|
} finally {
|
|
598
|
-
if (t)
|
|
624
|
+
if (t)
|
|
625
|
+
throw t.error;
|
|
599
626
|
}
|
|
600
627
|
}
|
|
601
628
|
else
|
|
@@ -611,12 +638,12 @@ var ft = function() {
|
|
|
611
638
|
if (f) {
|
|
612
639
|
this._finalizers = null;
|
|
613
640
|
try {
|
|
614
|
-
for (var d =
|
|
641
|
+
for (var d = It(f), b = d.next(); !b.done; b = d.next()) {
|
|
615
642
|
var y = b.value;
|
|
616
643
|
try {
|
|
617
|
-
|
|
644
|
+
rr(y);
|
|
618
645
|
} catch (g) {
|
|
619
|
-
o = o != null ? o : [], g instanceof _t ? o = Ie(Ie([],
|
|
646
|
+
o = o != null ? o : [], g instanceof _t ? o = Ie(Ie([], Ct(o)), Ct(g.errors)) : o.push(g);
|
|
620
647
|
}
|
|
621
648
|
}
|
|
622
649
|
} catch (g) {
|
|
@@ -625,7 +652,8 @@ var ft = function() {
|
|
|
625
652
|
try {
|
|
626
653
|
b && !b.done && (i = d.return) && i.call(d);
|
|
627
654
|
} finally {
|
|
628
|
-
if (n)
|
|
655
|
+
if (n)
|
|
656
|
+
throw n.error;
|
|
629
657
|
}
|
|
630
658
|
}
|
|
631
659
|
}
|
|
@@ -636,7 +664,7 @@ var ft = function() {
|
|
|
636
664
|
var r;
|
|
637
665
|
if (t && t !== this)
|
|
638
666
|
if (this.closed)
|
|
639
|
-
|
|
667
|
+
rr(t);
|
|
640
668
|
else {
|
|
641
669
|
if (t instanceof e) {
|
|
642
670
|
if (t.closed || t._hasParent(this))
|
|
@@ -653,52 +681,56 @@ var ft = function() {
|
|
|
653
681
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
654
682
|
}, e.prototype._removeParent = function(t) {
|
|
655
683
|
var r = this._parentage;
|
|
656
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
684
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ot(r, t);
|
|
657
685
|
}, e.prototype.remove = function(t) {
|
|
658
686
|
var r = this._finalizers;
|
|
659
|
-
r &&
|
|
687
|
+
r && Ot(r, t), t instanceof e && t._removeParent(this);
|
|
660
688
|
}, e.EMPTY = function() {
|
|
661
689
|
var t = new e();
|
|
662
690
|
return t.closed = !0, t;
|
|
663
691
|
}(), e;
|
|
664
|
-
}(),
|
|
665
|
-
function
|
|
692
|
+
}(), Mr = ft.EMPTY;
|
|
693
|
+
function Nr(e) {
|
|
666
694
|
return e instanceof ft || e && "closed" in e && ae(e.remove) && ae(e.add) && ae(e.unsubscribe);
|
|
667
695
|
}
|
|
668
|
-
function
|
|
696
|
+
function rr(e) {
|
|
669
697
|
ae(e) ? e() : e.unsubscribe();
|
|
670
698
|
}
|
|
671
|
-
var
|
|
672
|
-
|
|
673
|
-
|
|
699
|
+
var Rr = {
|
|
700
|
+
onUnhandledError: null,
|
|
701
|
+
onStoppedNotification: null,
|
|
702
|
+
Promise: void 0,
|
|
703
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
704
|
+
useDeprecatedNextContext: !1
|
|
705
|
+
}, jn = {
|
|
674
706
|
setTimeout: function(e, t) {
|
|
675
707
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
676
708
|
r[n - 2] = arguments[n];
|
|
677
|
-
return setTimeout.apply(void 0, Ie([e, t],
|
|
709
|
+
return setTimeout.apply(void 0, Ie([e, t], Ct(r)));
|
|
678
710
|
},
|
|
679
711
|
clearTimeout: function(e) {
|
|
680
712
|
return clearTimeout(e);
|
|
681
713
|
},
|
|
682
714
|
delegate: void 0
|
|
683
715
|
};
|
|
684
|
-
function
|
|
685
|
-
|
|
716
|
+
function Vn(e) {
|
|
717
|
+
jn.setTimeout(function() {
|
|
686
718
|
throw e;
|
|
687
719
|
});
|
|
688
720
|
}
|
|
689
|
-
function
|
|
721
|
+
function nr() {
|
|
690
722
|
}
|
|
691
723
|
function st(e) {
|
|
692
724
|
e();
|
|
693
725
|
}
|
|
694
|
-
var
|
|
726
|
+
var Ur = function(e) {
|
|
695
727
|
le(t, e);
|
|
696
728
|
function t(r) {
|
|
697
729
|
var n = e.call(this) || this;
|
|
698
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
730
|
+
return n.isStopped = !1, r ? (n.destination = r, Nr(r) && r.add(n)) : n.destination = Zn, n;
|
|
699
731
|
}
|
|
700
732
|
return t.create = function(r, n, i) {
|
|
701
|
-
return new
|
|
733
|
+
return new Lt(r, n, i);
|
|
702
734
|
}, t.prototype.next = function(r) {
|
|
703
735
|
this.isStopped || this._next(r);
|
|
704
736
|
}, t.prototype.error = function(r) {
|
|
@@ -722,7 +754,11 @@ var Lr = function(e) {
|
|
|
722
754
|
this.unsubscribe();
|
|
723
755
|
}
|
|
724
756
|
}, t;
|
|
725
|
-
}(ft),
|
|
757
|
+
}(ft), zn = Function.prototype.bind;
|
|
758
|
+
function Et(e, t) {
|
|
759
|
+
return zn.call(e, t);
|
|
760
|
+
}
|
|
761
|
+
var Xn = function() {
|
|
726
762
|
function e(t) {
|
|
727
763
|
this.partialObserver = t;
|
|
728
764
|
}
|
|
@@ -753,43 +789,55 @@ var Lr = function(e) {
|
|
|
753
789
|
nt(r);
|
|
754
790
|
}
|
|
755
791
|
}, e;
|
|
756
|
-
}(),
|
|
792
|
+
}(), Lt = function(e) {
|
|
757
793
|
le(t, e);
|
|
758
794
|
function t(r, n, i) {
|
|
759
795
|
var o = e.call(this) || this, s;
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
796
|
+
if (ae(r) || !r)
|
|
797
|
+
s = {
|
|
798
|
+
next: r != null ? r : void 0,
|
|
799
|
+
error: n != null ? n : void 0,
|
|
800
|
+
complete: i != null ? i : void 0
|
|
801
|
+
};
|
|
802
|
+
else {
|
|
803
|
+
var a;
|
|
804
|
+
o && Rr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
805
|
+
return o.unsubscribe();
|
|
806
|
+
}, s = {
|
|
807
|
+
next: r.next && Et(r.next, a),
|
|
808
|
+
error: r.error && Et(r.error, a),
|
|
809
|
+
complete: r.complete && Et(r.complete, a)
|
|
810
|
+
}) : s = r;
|
|
811
|
+
}
|
|
812
|
+
return o.destination = new Xn(s), o;
|
|
765
813
|
}
|
|
766
814
|
return t;
|
|
767
|
-
}(
|
|
815
|
+
}(Ur);
|
|
768
816
|
function nt(e) {
|
|
769
|
-
|
|
817
|
+
Vn(e);
|
|
770
818
|
}
|
|
771
|
-
function
|
|
819
|
+
function Wn(e) {
|
|
772
820
|
throw e;
|
|
773
821
|
}
|
|
774
|
-
var
|
|
822
|
+
var Zn = {
|
|
775
823
|
closed: !0,
|
|
776
|
-
next:
|
|
777
|
-
error:
|
|
778
|
-
complete:
|
|
779
|
-
},
|
|
824
|
+
next: nr,
|
|
825
|
+
error: Wn,
|
|
826
|
+
complete: nr
|
|
827
|
+
}, qn = function() {
|
|
780
828
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
781
829
|
}();
|
|
782
|
-
function
|
|
830
|
+
function Jn(e) {
|
|
783
831
|
return e;
|
|
784
832
|
}
|
|
785
|
-
function
|
|
786
|
-
return e.length === 0 ?
|
|
833
|
+
function Qn(e) {
|
|
834
|
+
return e.length === 0 ? Jn : e.length === 1 ? e[0] : function(r) {
|
|
787
835
|
return e.reduce(function(n, i) {
|
|
788
836
|
return i(n);
|
|
789
837
|
}, r);
|
|
790
838
|
};
|
|
791
839
|
}
|
|
792
|
-
var
|
|
840
|
+
var ir = function() {
|
|
793
841
|
function e(t) {
|
|
794
842
|
t && (this._subscribe = t);
|
|
795
843
|
}
|
|
@@ -797,7 +845,7 @@ var tr = function() {
|
|
|
797
845
|
var r = new e();
|
|
798
846
|
return r.source = this, r.operator = t, r;
|
|
799
847
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
800
|
-
var i = this, o =
|
|
848
|
+
var i = this, o = Kn(t) ? t : new Lt(t, r, n);
|
|
801
849
|
return st(function() {
|
|
802
850
|
var s = i, a = s.operator, u = s.source;
|
|
803
851
|
o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -810,8 +858,8 @@ var tr = function() {
|
|
|
810
858
|
}
|
|
811
859
|
}, e.prototype.forEach = function(t, r) {
|
|
812
860
|
var n = this;
|
|
813
|
-
return r =
|
|
814
|
-
var s = new
|
|
861
|
+
return r = or(r), new r(function(i, o) {
|
|
862
|
+
var s = new Lt({
|
|
815
863
|
next: function(a) {
|
|
816
864
|
try {
|
|
817
865
|
t(a);
|
|
@@ -827,15 +875,15 @@ var tr = function() {
|
|
|
827
875
|
}, e.prototype._subscribe = function(t) {
|
|
828
876
|
var r;
|
|
829
877
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
830
|
-
}, e.prototype[
|
|
878
|
+
}, e.prototype[qn] = function() {
|
|
831
879
|
return this;
|
|
832
880
|
}, e.prototype.pipe = function() {
|
|
833
881
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
834
882
|
t[r] = arguments[r];
|
|
835
|
-
return
|
|
883
|
+
return Qn(t)(this);
|
|
836
884
|
}, e.prototype.toPromise = function(t) {
|
|
837
885
|
var r = this;
|
|
838
|
-
return t =
|
|
886
|
+
return t = or(t), new t(function(n, i) {
|
|
839
887
|
var o;
|
|
840
888
|
r.subscribe(function(s) {
|
|
841
889
|
return o = s;
|
|
@@ -849,32 +897,32 @@ var tr = function() {
|
|
|
849
897
|
return new e(t);
|
|
850
898
|
}, e;
|
|
851
899
|
}();
|
|
852
|
-
function
|
|
900
|
+
function or(e) {
|
|
853
901
|
var t;
|
|
854
|
-
return (t = e != null ? e :
|
|
902
|
+
return (t = e != null ? e : Rr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
855
903
|
}
|
|
856
|
-
function
|
|
904
|
+
function Yn(e) {
|
|
857
905
|
return e && ae(e.next) && ae(e.error) && ae(e.complete);
|
|
858
906
|
}
|
|
859
|
-
function
|
|
860
|
-
return e && e instanceof
|
|
907
|
+
function Kn(e) {
|
|
908
|
+
return e && e instanceof Ur || Yn(e) && Nr(e);
|
|
861
909
|
}
|
|
862
|
-
var
|
|
910
|
+
var ei = Lr(function(e) {
|
|
863
911
|
return function() {
|
|
864
912
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
865
913
|
};
|
|
866
|
-
}),
|
|
914
|
+
}), Fr = function(e) {
|
|
867
915
|
le(t, e);
|
|
868
916
|
function t() {
|
|
869
917
|
var r = e.call(this) || this;
|
|
870
918
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
871
919
|
}
|
|
872
920
|
return t.prototype.lift = function(r) {
|
|
873
|
-
var n = new
|
|
921
|
+
var n = new sr(this, this);
|
|
874
922
|
return n.operator = r, n;
|
|
875
923
|
}, t.prototype._throwIfClosed = function() {
|
|
876
924
|
if (this.closed)
|
|
877
|
-
throw new
|
|
925
|
+
throw new ei();
|
|
878
926
|
}, t.prototype.next = function(r) {
|
|
879
927
|
var n = this;
|
|
880
928
|
st(function() {
|
|
@@ -882,7 +930,7 @@ var Jn = Ir(function(e) {
|
|
|
882
930
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
883
931
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
884
932
|
try {
|
|
885
|
-
for (var s =
|
|
933
|
+
for (var s = It(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
886
934
|
var u = a.value;
|
|
887
935
|
u.next(r);
|
|
888
936
|
}
|
|
@@ -892,7 +940,8 @@ var Jn = Ir(function(e) {
|
|
|
892
940
|
try {
|
|
893
941
|
a && !a.done && (o = s.return) && o.call(s);
|
|
894
942
|
} finally {
|
|
895
|
-
if (i)
|
|
943
|
+
if (i)
|
|
944
|
+
throw i.error;
|
|
896
945
|
}
|
|
897
946
|
}
|
|
898
947
|
}
|
|
@@ -930,19 +979,19 @@ var Jn = Ir(function(e) {
|
|
|
930
979
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
931
980
|
}, t.prototype._innerSubscribe = function(r) {
|
|
932
981
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
933
|
-
return o || s ?
|
|
934
|
-
n.currentObservers = null,
|
|
982
|
+
return o || s ? Mr : (this.currentObservers = null, a.push(r), new ft(function() {
|
|
983
|
+
n.currentObservers = null, Ot(a, r);
|
|
935
984
|
}));
|
|
936
985
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
937
986
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
938
987
|
i ? r.error(o) : s && r.complete();
|
|
939
988
|
}, t.prototype.asObservable = function() {
|
|
940
|
-
var r = new
|
|
989
|
+
var r = new ir();
|
|
941
990
|
return r.source = this, r;
|
|
942
991
|
}, t.create = function(r, n) {
|
|
943
|
-
return new
|
|
992
|
+
return new sr(r, n);
|
|
944
993
|
}, t;
|
|
945
|
-
}(
|
|
994
|
+
}(ir), sr = function(e) {
|
|
946
995
|
le(t, e);
|
|
947
996
|
function t(r, n) {
|
|
948
997
|
var i = e.call(this) || this;
|
|
@@ -959,17 +1008,17 @@ var Jn = Ir(function(e) {
|
|
|
959
1008
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
960
1009
|
}, t.prototype._subscribe = function(r) {
|
|
961
1010
|
var n, i;
|
|
962
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1011
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Mr;
|
|
963
1012
|
}, t;
|
|
964
|
-
}(
|
|
1013
|
+
}(Fr), Dr = {
|
|
965
1014
|
now: function() {
|
|
966
|
-
return (
|
|
1015
|
+
return (Dr.delegate || Date).now();
|
|
967
1016
|
},
|
|
968
1017
|
delegate: void 0
|
|
969
|
-
},
|
|
1018
|
+
}, ti = function(e) {
|
|
970
1019
|
le(t, e);
|
|
971
1020
|
function t(r, n, i) {
|
|
972
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1021
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Dr);
|
|
973
1022
|
var o = e.call(this) || this;
|
|
974
1023
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
975
1024
|
}
|
|
@@ -989,15 +1038,15 @@ var Jn = Ir(function(e) {
|
|
|
989
1038
|
l && o.splice(0, l + 1);
|
|
990
1039
|
}
|
|
991
1040
|
}, t;
|
|
992
|
-
}(
|
|
993
|
-
const
|
|
994
|
-
if (
|
|
995
|
-
const r = new
|
|
996
|
-
|
|
1041
|
+
}(Fr);
|
|
1042
|
+
const ar = [], lr = {}, ri = (e, t = 0) => {
|
|
1043
|
+
if (ar.indexOf(e) == -1) {
|
|
1044
|
+
const r = new ti(t);
|
|
1045
|
+
lr[e] = r, ar.push(e);
|
|
997
1046
|
}
|
|
998
|
-
return
|
|
1047
|
+
return lr[e];
|
|
999
1048
|
}, He = [];
|
|
1000
|
-
function
|
|
1049
|
+
function ni(e, t) {
|
|
1001
1050
|
return {
|
|
1002
1051
|
subscribe: dt(e, t).subscribe
|
|
1003
1052
|
};
|
|
@@ -1006,7 +1055,7 @@ function dt(e, t = Z) {
|
|
|
1006
1055
|
let r;
|
|
1007
1056
|
const n = /* @__PURE__ */ new Set();
|
|
1008
1057
|
function i(a) {
|
|
1009
|
-
if (
|
|
1058
|
+
if (Ir(e, a) && (e = a, r)) {
|
|
1010
1059
|
const u = !He.length;
|
|
1011
1060
|
for (const l of n)
|
|
1012
1061
|
l[1](), He.push(l, e);
|
|
@@ -1033,7 +1082,7 @@ function Re(e, t, r) {
|
|
|
1033
1082
|
if (!i.every(Boolean))
|
|
1034
1083
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1035
1084
|
const o = t.length < 2;
|
|
1036
|
-
return
|
|
1085
|
+
return ni(r, (s, a) => {
|
|
1037
1086
|
let u = !1;
|
|
1038
1087
|
const l = [];
|
|
1039
1088
|
let c = 0, f = Z;
|
|
@@ -1042,9 +1091,9 @@ function Re(e, t, r) {
|
|
|
1042
1091
|
return;
|
|
1043
1092
|
f();
|
|
1044
1093
|
const y = t(n ? l[0] : l, s, a);
|
|
1045
|
-
o ? s(y) : f =
|
|
1094
|
+
o ? s(y) : f = $t(y) ? y : Z;
|
|
1046
1095
|
}, b = i.map(
|
|
1047
|
-
(y, g) =>
|
|
1096
|
+
(y, g) => Cr(
|
|
1048
1097
|
y,
|
|
1049
1098
|
(S) => {
|
|
1050
1099
|
l[g] = S, c &= ~(1 << g), u && d();
|
|
@@ -1059,70 +1108,70 @@ function Re(e, t, r) {
|
|
|
1059
1108
|
};
|
|
1060
1109
|
});
|
|
1061
1110
|
}
|
|
1062
|
-
function
|
|
1111
|
+
function ii(e) {
|
|
1063
1112
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1064
1113
|
}
|
|
1065
|
-
var
|
|
1066
|
-
return
|
|
1114
|
+
var oi = function(t) {
|
|
1115
|
+
return si(t) && !ai(t);
|
|
1067
1116
|
};
|
|
1068
|
-
function
|
|
1117
|
+
function si(e) {
|
|
1069
1118
|
return !!e && typeof e == "object";
|
|
1070
1119
|
}
|
|
1071
|
-
function
|
|
1120
|
+
function ai(e) {
|
|
1072
1121
|
var t = Object.prototype.toString.call(e);
|
|
1073
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1122
|
+
return t === "[object RegExp]" || t === "[object Date]" || ci(e);
|
|
1074
1123
|
}
|
|
1075
|
-
var
|
|
1076
|
-
function
|
|
1077
|
-
return e.$$typeof ===
|
|
1124
|
+
var li = typeof Symbol == "function" && Symbol.for, ui = li ? Symbol.for("react.element") : 60103;
|
|
1125
|
+
function ci(e) {
|
|
1126
|
+
return e.$$typeof === ui;
|
|
1078
1127
|
}
|
|
1079
|
-
function
|
|
1128
|
+
function hi(e) {
|
|
1080
1129
|
return Array.isArray(e) ? [] : {};
|
|
1081
1130
|
}
|
|
1082
1131
|
function We(e, t) {
|
|
1083
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Ce(
|
|
1132
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Ce(hi(e), e, t) : e;
|
|
1084
1133
|
}
|
|
1085
|
-
function
|
|
1134
|
+
function fi(e, t, r) {
|
|
1086
1135
|
return e.concat(t).map(function(n) {
|
|
1087
1136
|
return We(n, r);
|
|
1088
1137
|
});
|
|
1089
1138
|
}
|
|
1090
|
-
function
|
|
1139
|
+
function di(e, t) {
|
|
1091
1140
|
if (!t.customMerge)
|
|
1092
1141
|
return Ce;
|
|
1093
1142
|
var r = t.customMerge(e);
|
|
1094
1143
|
return typeof r == "function" ? r : Ce;
|
|
1095
1144
|
}
|
|
1096
|
-
function
|
|
1145
|
+
function mi(e) {
|
|
1097
1146
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1098
1147
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1099
1148
|
}) : [];
|
|
1100
1149
|
}
|
|
1101
|
-
function
|
|
1102
|
-
return Object.keys(e).concat(
|
|
1150
|
+
function ur(e) {
|
|
1151
|
+
return Object.keys(e).concat(mi(e));
|
|
1103
1152
|
}
|
|
1104
|
-
function
|
|
1153
|
+
function kr(e, t) {
|
|
1105
1154
|
try {
|
|
1106
1155
|
return t in e;
|
|
1107
1156
|
} catch (r) {
|
|
1108
1157
|
return !1;
|
|
1109
1158
|
}
|
|
1110
1159
|
}
|
|
1111
|
-
function
|
|
1112
|
-
return
|
|
1160
|
+
function pi(e, t) {
|
|
1161
|
+
return kr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1113
1162
|
}
|
|
1114
|
-
function
|
|
1163
|
+
function gi(e, t, r) {
|
|
1115
1164
|
var n = {};
|
|
1116
|
-
return r.isMergeableObject(e) &&
|
|
1165
|
+
return r.isMergeableObject(e) && ur(e).forEach(function(i) {
|
|
1117
1166
|
n[i] = We(e[i], r);
|
|
1118
|
-
}),
|
|
1119
|
-
|
|
1167
|
+
}), ur(t).forEach(function(i) {
|
|
1168
|
+
pi(e, i) || (kr(e, i) && r.isMergeableObject(t[i]) ? n[i] = di(i, r)(e[i], t[i], r) : n[i] = We(t[i], r));
|
|
1120
1169
|
}), n;
|
|
1121
1170
|
}
|
|
1122
1171
|
function Ce(e, t, r) {
|
|
1123
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1172
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || fi, r.isMergeableObject = r.isMergeableObject || oi, r.cloneUnlessOtherwiseSpecified = We;
|
|
1124
1173
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1125
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1174
|
+
return o ? n ? r.arrayMerge(e, t, r) : gi(e, t, r) : We(t, r);
|
|
1126
1175
|
}
|
|
1127
1176
|
Ce.all = function(t, r) {
|
|
1128
1177
|
if (!Array.isArray(t))
|
|
@@ -1131,56 +1180,58 @@ Ce.all = function(t, r) {
|
|
|
1131
1180
|
return Ce(n, i, r);
|
|
1132
1181
|
}, {});
|
|
1133
1182
|
};
|
|
1134
|
-
var
|
|
1135
|
-
const
|
|
1136
|
-
function
|
|
1137
|
-
var r = t && t.cache ? t.cache :
|
|
1183
|
+
var bi = Ce, vi = bi;
|
|
1184
|
+
const yi = /* @__PURE__ */ ii(vi);
|
|
1185
|
+
function wt(e, t) {
|
|
1186
|
+
var r = t && t.cache ? t.cache : Pi, n = t && t.serializer ? t.serializer : Si, i = t && t.strategy ? t.strategy : Ei;
|
|
1138
1187
|
return i(e, {
|
|
1139
1188
|
cache: r,
|
|
1140
1189
|
serializer: n
|
|
1141
1190
|
});
|
|
1142
1191
|
}
|
|
1143
|
-
function
|
|
1192
|
+
function _i(e) {
|
|
1144
1193
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1145
1194
|
}
|
|
1146
|
-
function
|
|
1147
|
-
var i =
|
|
1195
|
+
function Gr(e, t, r, n) {
|
|
1196
|
+
var i = _i(n) ? n : r(n), o = t.get(i);
|
|
1148
1197
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1149
1198
|
}
|
|
1150
|
-
function
|
|
1199
|
+
function $r(e, t, r) {
|
|
1151
1200
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1152
1201
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1153
1202
|
}
|
|
1154
|
-
function
|
|
1203
|
+
function jt(e, t, r, n, i) {
|
|
1155
1204
|
return r.bind(t, e, n, i);
|
|
1156
1205
|
}
|
|
1157
|
-
function
|
|
1158
|
-
var r = e.length === 1 ?
|
|
1159
|
-
return
|
|
1206
|
+
function Ei(e, t) {
|
|
1207
|
+
var r = e.length === 1 ? Gr : $r;
|
|
1208
|
+
return jt(e, this, r, t.cache.create(), t.serializer);
|
|
1209
|
+
}
|
|
1210
|
+
function wi(e, t) {
|
|
1211
|
+
return jt(e, this, $r, t.cache.create(), t.serializer);
|
|
1160
1212
|
}
|
|
1161
|
-
function
|
|
1162
|
-
return
|
|
1213
|
+
function xi(e, t) {
|
|
1214
|
+
return jt(e, this, Gr, t.cache.create(), t.serializer);
|
|
1163
1215
|
}
|
|
1164
|
-
var
|
|
1216
|
+
var Si = function() {
|
|
1165
1217
|
return JSON.stringify(arguments);
|
|
1166
|
-
}
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
}()
|
|
1178
|
-
), wi = {
|
|
1218
|
+
};
|
|
1219
|
+
function Vt() {
|
|
1220
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1221
|
+
}
|
|
1222
|
+
Vt.prototype.get = function(e) {
|
|
1223
|
+
return this.cache[e];
|
|
1224
|
+
};
|
|
1225
|
+
Vt.prototype.set = function(e, t) {
|
|
1226
|
+
this.cache[e] = t;
|
|
1227
|
+
};
|
|
1228
|
+
var Pi = {
|
|
1179
1229
|
create: function() {
|
|
1180
|
-
return new
|
|
1230
|
+
return new Vt();
|
|
1181
1231
|
}
|
|
1182
|
-
},
|
|
1183
|
-
variadic:
|
|
1232
|
+
}, xt = {
|
|
1233
|
+
variadic: wi,
|
|
1234
|
+
monadic: xi
|
|
1184
1235
|
}, _;
|
|
1185
1236
|
(function(e) {
|
|
1186
1237
|
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";
|
|
@@ -1193,43 +1244,43 @@ var Oe;
|
|
|
1193
1244
|
(function(e) {
|
|
1194
1245
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1195
1246
|
})(Oe || (Oe = {}));
|
|
1196
|
-
function
|
|
1247
|
+
function cr(e) {
|
|
1197
1248
|
return e.type === T.literal;
|
|
1198
1249
|
}
|
|
1199
|
-
function
|
|
1250
|
+
function Ti(e) {
|
|
1200
1251
|
return e.type === T.argument;
|
|
1201
1252
|
}
|
|
1202
|
-
function
|
|
1253
|
+
function jr(e) {
|
|
1203
1254
|
return e.type === T.number;
|
|
1204
1255
|
}
|
|
1205
|
-
function
|
|
1256
|
+
function Vr(e) {
|
|
1206
1257
|
return e.type === T.date;
|
|
1207
1258
|
}
|
|
1208
|
-
function
|
|
1259
|
+
function zr(e) {
|
|
1209
1260
|
return e.type === T.time;
|
|
1210
1261
|
}
|
|
1211
|
-
function
|
|
1262
|
+
function Xr(e) {
|
|
1212
1263
|
return e.type === T.select;
|
|
1213
1264
|
}
|
|
1214
|
-
function
|
|
1265
|
+
function Wr(e) {
|
|
1215
1266
|
return e.type === T.plural;
|
|
1216
1267
|
}
|
|
1217
|
-
function
|
|
1268
|
+
function Hi(e) {
|
|
1218
1269
|
return e.type === T.pound;
|
|
1219
1270
|
}
|
|
1220
|
-
function
|
|
1271
|
+
function Zr(e) {
|
|
1221
1272
|
return e.type === T.tag;
|
|
1222
1273
|
}
|
|
1223
|
-
function
|
|
1274
|
+
function qr(e) {
|
|
1224
1275
|
return !!(e && typeof e == "object" && e.type === Oe.number);
|
|
1225
1276
|
}
|
|
1226
|
-
function
|
|
1277
|
+
function Mt(e) {
|
|
1227
1278
|
return !!(e && typeof e == "object" && e.type === Oe.dateTime);
|
|
1228
1279
|
}
|
|
1229
|
-
var
|
|
1230
|
-
function
|
|
1280
|
+
var Jr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Bi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1281
|
+
function Ai(e) {
|
|
1231
1282
|
var t = {};
|
|
1232
|
-
return e.replace(
|
|
1283
|
+
return e.replace(Bi, function(r) {
|
|
1233
1284
|
var n = r.length;
|
|
1234
1285
|
switch (r[0]) {
|
|
1235
1286
|
case "G":
|
|
@@ -1318,11 +1369,11 @@ function Ti(e) {
|
|
|
1318
1369
|
return "";
|
|
1319
1370
|
}), t;
|
|
1320
1371
|
}
|
|
1321
|
-
var
|
|
1322
|
-
function
|
|
1372
|
+
var Ii = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1373
|
+
function Ci(e) {
|
|
1323
1374
|
if (e.length === 0)
|
|
1324
1375
|
throw new Error("Number skeleton cannot be empty");
|
|
1325
|
-
for (var t = e.split(
|
|
1376
|
+
for (var t = e.split(Ii).filter(function(d) {
|
|
1326
1377
|
return d.length > 0;
|
|
1327
1378
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1328
1379
|
var o = i[n], s = o.split("/");
|
|
@@ -1337,17 +1388,17 @@ function Bi(e) {
|
|
|
1337
1388
|
}
|
|
1338
1389
|
return r;
|
|
1339
1390
|
}
|
|
1340
|
-
function
|
|
1391
|
+
function Oi(e) {
|
|
1341
1392
|
return e.replace(/^(.*?)-/, "");
|
|
1342
1393
|
}
|
|
1343
|
-
var
|
|
1344
|
-
function
|
|
1394
|
+
var hr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qr = /^(@+)?(\+|#+)?[rs]?$/g, Li = /(\*)(0+)|(#+)(0+)|(0+)/g, Yr = /^(0+)$/;
|
|
1395
|
+
function fr(e) {
|
|
1345
1396
|
var t = {};
|
|
1346
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1397
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qr, function(r, n, i) {
|
|
1347
1398
|
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)), "";
|
|
1348
1399
|
}), t;
|
|
1349
1400
|
}
|
|
1350
|
-
function
|
|
1401
|
+
function Kr(e) {
|
|
1351
1402
|
switch (e) {
|
|
1352
1403
|
case "sign-auto":
|
|
1353
1404
|
return {
|
|
@@ -1387,7 +1438,7 @@ function qr(e) {
|
|
|
1387
1438
|
};
|
|
1388
1439
|
}
|
|
1389
1440
|
}
|
|
1390
|
-
function
|
|
1441
|
+
function Mi(e) {
|
|
1391
1442
|
var t;
|
|
1392
1443
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1393
1444
|
notation: "engineering"
|
|
@@ -1395,17 +1446,17 @@ function Ci(e) {
|
|
|
1395
1446
|
notation: "scientific"
|
|
1396
1447
|
}, e = e.slice(1)), t) {
|
|
1397
1448
|
var r = e.slice(0, 2);
|
|
1398
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1449
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yr.test(e))
|
|
1399
1450
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1400
1451
|
t.minimumIntegerDigits = e.length;
|
|
1401
1452
|
}
|
|
1402
1453
|
return t;
|
|
1403
1454
|
}
|
|
1404
|
-
function
|
|
1405
|
-
var t = {}, r =
|
|
1455
|
+
function dr(e) {
|
|
1456
|
+
var t = {}, r = Kr(e);
|
|
1406
1457
|
return r || t;
|
|
1407
1458
|
}
|
|
1408
|
-
function
|
|
1459
|
+
function Ni(e) {
|
|
1409
1460
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1410
1461
|
var i = n[r];
|
|
1411
1462
|
switch (i.stem) {
|
|
@@ -1429,7 +1480,7 @@ function Oi(e) {
|
|
|
1429
1480
|
continue;
|
|
1430
1481
|
case "measure-unit":
|
|
1431
1482
|
case "unit":
|
|
1432
|
-
t.style = "unit", t.unit =
|
|
1483
|
+
t.style = "unit", t.unit = Oi(i.options[0]);
|
|
1433
1484
|
continue;
|
|
1434
1485
|
case "compact-short":
|
|
1435
1486
|
case "K":
|
|
@@ -1441,12 +1492,12 @@ function Oi(e) {
|
|
|
1441
1492
|
continue;
|
|
1442
1493
|
case "scientific":
|
|
1443
1494
|
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
|
1444
|
-
return w(w({}, u),
|
|
1495
|
+
return w(w({}, u), dr(l));
|
|
1445
1496
|
}, {}));
|
|
1446
1497
|
continue;
|
|
1447
1498
|
case "engineering":
|
|
1448
1499
|
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
|
1449
|
-
return w(w({}, u),
|
|
1500
|
+
return w(w({}, u), dr(l));
|
|
1450
1501
|
}, {}));
|
|
1451
1502
|
continue;
|
|
1452
1503
|
case "notation-simple":
|
|
@@ -1491,7 +1542,7 @@ function Oi(e) {
|
|
|
1491
1542
|
case "integer-width":
|
|
1492
1543
|
if (i.options.length > 1)
|
|
1493
1544
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1494
|
-
i.options[0].replace(
|
|
1545
|
+
i.options[0].replace(Li, function(u, l, c, f, d, b) {
|
|
1495
1546
|
if (l)
|
|
1496
1547
|
t.minimumIntegerDigits = c.length;
|
|
1497
1548
|
else {
|
|
@@ -1504,27 +1555,27 @@ function Oi(e) {
|
|
|
1504
1555
|
});
|
|
1505
1556
|
continue;
|
|
1506
1557
|
}
|
|
1507
|
-
if (
|
|
1558
|
+
if (Yr.test(i.stem)) {
|
|
1508
1559
|
t.minimumIntegerDigits = i.stem.length;
|
|
1509
1560
|
continue;
|
|
1510
1561
|
}
|
|
1511
|
-
if (
|
|
1562
|
+
if (hr.test(i.stem)) {
|
|
1512
1563
|
if (i.options.length > 1)
|
|
1513
1564
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1514
|
-
i.stem.replace(
|
|
1565
|
+
i.stem.replace(hr, function(u, l, c, f, d, b) {
|
|
1515
1566
|
return c === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : d && b ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1516
1567
|
});
|
|
1517
1568
|
var o = i.options[0];
|
|
1518
|
-
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t),
|
|
1569
|
+
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), fr(o)));
|
|
1519
1570
|
continue;
|
|
1520
1571
|
}
|
|
1521
|
-
if (
|
|
1522
|
-
t = w(w({}, t),
|
|
1572
|
+
if (Qr.test(i.stem)) {
|
|
1573
|
+
t = w(w({}, t), fr(i.stem));
|
|
1523
1574
|
continue;
|
|
1524
1575
|
}
|
|
1525
|
-
var s =
|
|
1576
|
+
var s = Kr(i.stem);
|
|
1526
1577
|
s && (t = w(w({}, t), s));
|
|
1527
|
-
var a =
|
|
1578
|
+
var a = Mi(i.stem);
|
|
1528
1579
|
a && (t = w(w({}, t), a));
|
|
1529
1580
|
}
|
|
1530
1581
|
return t;
|
|
@@ -2944,22 +2995,23 @@ var it = {
|
|
|
2944
2995
|
"h"
|
|
2945
2996
|
]
|
|
2946
2997
|
};
|
|
2947
|
-
function
|
|
2998
|
+
function Ri(e, t) {
|
|
2948
2999
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2949
3000
|
var i = e.charAt(n);
|
|
2950
3001
|
if (i === "j") {
|
|
2951
3002
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2952
3003
|
o++, n++;
|
|
2953
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l =
|
|
3004
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Ui(t);
|
|
2954
3005
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
|
2955
3006
|
r += u;
|
|
2956
3007
|
for (; s-- > 0; )
|
|
2957
3008
|
r = l + r;
|
|
2958
|
-
} else
|
|
3009
|
+
} else
|
|
3010
|
+
i === "J" ? r += "H" : r += i;
|
|
2959
3011
|
}
|
|
2960
3012
|
return r;
|
|
2961
3013
|
}
|
|
2962
|
-
function
|
|
3014
|
+
function Ui(e) {
|
|
2963
3015
|
var t = e.hourCycle;
|
|
2964
3016
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2965
3017
|
e.hourCycles && // @ts-ignore
|
|
@@ -2981,20 +3033,20 @@ function Mi(e) {
|
|
|
2981
3033
|
var i = it[n || ""] || it[r || ""] || it["".concat(r, "-001")] || it["001"];
|
|
2982
3034
|
return i[0];
|
|
2983
3035
|
}
|
|
2984
|
-
var
|
|
3036
|
+
var St, Fi = new RegExp("^".concat(Jr.source, "*")), Di = new RegExp("".concat(Jr.source, "*$"));
|
|
2985
3037
|
function E(e, t) {
|
|
2986
3038
|
return { start: e, end: t };
|
|
2987
3039
|
}
|
|
2988
|
-
var
|
|
3040
|
+
var ki = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gi = !!String.fromCodePoint, $i = !!Object.fromEntries, ji = !!String.prototype.codePointAt, Vi = !!String.prototype.trimStart, zi = !!String.prototype.trimEnd, Xi = !!Number.isSafeInteger, Wi = Xi ? Number.isSafeInteger : function(e) {
|
|
2989
3041
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2990
|
-
},
|
|
3042
|
+
}, Nt = !0;
|
|
2991
3043
|
try {
|
|
2992
|
-
var
|
|
2993
|
-
|
|
3044
|
+
var Zi = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3045
|
+
Nt = ((St = Zi.exec("a")) === null || St === void 0 ? void 0 : St[0]) === "a";
|
|
2994
3046
|
} catch (e) {
|
|
2995
|
-
|
|
3047
|
+
Nt = !1;
|
|
2996
3048
|
}
|
|
2997
|
-
var
|
|
3049
|
+
var mr = ki ? (
|
|
2998
3050
|
// Native
|
|
2999
3051
|
function(t, r, n) {
|
|
3000
3052
|
return t.startsWith(r, n);
|
|
@@ -3004,7 +3056,7 @@ var hr = Ui ? (
|
|
|
3004
3056
|
function(t, r, n) {
|
|
3005
3057
|
return t.slice(n, n + r.length) === r;
|
|
3006
3058
|
}
|
|
3007
|
-
),
|
|
3059
|
+
), Rt = Gi ? String.fromCodePoint : (
|
|
3008
3060
|
// IE11
|
|
3009
3061
|
function() {
|
|
3010
3062
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3016,9 +3068,9 @@ var hr = Ui ? (
|
|
|
3016
3068
|
}
|
|
3017
3069
|
return n;
|
|
3018
3070
|
}
|
|
3019
|
-
),
|
|
3071
|
+
), pr = (
|
|
3020
3072
|
// native
|
|
3021
|
-
|
|
3073
|
+
$i ? Object.fromEntries : (
|
|
3022
3074
|
// Ponyfill
|
|
3023
3075
|
function(t) {
|
|
3024
3076
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3028,7 +3080,7 @@ var hr = Ui ? (
|
|
|
3028
3080
|
return r;
|
|
3029
3081
|
}
|
|
3030
3082
|
)
|
|
3031
|
-
),
|
|
3083
|
+
), en = ji ? (
|
|
3032
3084
|
// Native
|
|
3033
3085
|
function(t, r) {
|
|
3034
3086
|
return t.codePointAt(r);
|
|
@@ -3042,7 +3094,7 @@ var hr = Ui ? (
|
|
|
3042
3094
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3043
3095
|
}
|
|
3044
3096
|
}
|
|
3045
|
-
),
|
|
3097
|
+
), qi = Vi ? (
|
|
3046
3098
|
// Native
|
|
3047
3099
|
function(t) {
|
|
3048
3100
|
return t.trimStart();
|
|
@@ -3050,9 +3102,9 @@ var hr = Ui ? (
|
|
|
3050
3102
|
) : (
|
|
3051
3103
|
// Ponyfill
|
|
3052
3104
|
function(t) {
|
|
3053
|
-
return t.replace(
|
|
3105
|
+
return t.replace(Fi, "");
|
|
3054
3106
|
}
|
|
3055
|
-
),
|
|
3107
|
+
), Ji = zi ? (
|
|
3056
3108
|
// Native
|
|
3057
3109
|
function(t) {
|
|
3058
3110
|
return t.trimEnd();
|
|
@@ -3060,32 +3112,32 @@ var hr = Ui ? (
|
|
|
3060
3112
|
) : (
|
|
3061
3113
|
// Ponyfill
|
|
3062
3114
|
function(t) {
|
|
3063
|
-
return t.replace(
|
|
3115
|
+
return t.replace(Di, "");
|
|
3064
3116
|
}
|
|
3065
3117
|
);
|
|
3066
|
-
function
|
|
3118
|
+
function tn(e, t) {
|
|
3067
3119
|
return new RegExp(e, t);
|
|
3068
3120
|
}
|
|
3069
|
-
var
|
|
3070
|
-
if (
|
|
3071
|
-
var
|
|
3072
|
-
|
|
3121
|
+
var Ut;
|
|
3122
|
+
if (Nt) {
|
|
3123
|
+
var gr = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3124
|
+
Ut = function(t, r) {
|
|
3073
3125
|
var n;
|
|
3074
|
-
|
|
3075
|
-
var i =
|
|
3126
|
+
gr.lastIndex = r;
|
|
3127
|
+
var i = gr.exec(t);
|
|
3076
3128
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3077
3129
|
};
|
|
3078
3130
|
} else
|
|
3079
|
-
|
|
3131
|
+
Ut = function(t, r) {
|
|
3080
3132
|
for (var n = []; ; ) {
|
|
3081
|
-
var i =
|
|
3082
|
-
if (i === void 0 ||
|
|
3133
|
+
var i = en(t, r);
|
|
3134
|
+
if (i === void 0 || rn(i) || eo(i))
|
|
3083
3135
|
break;
|
|
3084
3136
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3085
3137
|
}
|
|
3086
|
-
return
|
|
3138
|
+
return Rt.apply(void 0, n);
|
|
3087
3139
|
};
|
|
3088
|
-
var
|
|
3140
|
+
var Qi = (
|
|
3089
3141
|
/** @class */
|
|
3090
3142
|
function() {
|
|
3091
3143
|
function e(t, r) {
|
|
@@ -3116,7 +3168,7 @@ var Zi = (
|
|
|
3116
3168
|
if (n)
|
|
3117
3169
|
break;
|
|
3118
3170
|
return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
|
|
3119
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3171
|
+
} else if (o === 60 && !this.ignoreTag && Ft(this.peek() || 0)) {
|
|
3120
3172
|
var s = this.parseTag(t, r);
|
|
3121
3173
|
if (s.err)
|
|
3122
3174
|
return s;
|
|
@@ -3149,7 +3201,7 @@ var Zi = (
|
|
|
3149
3201
|
return o;
|
|
3150
3202
|
var s = o.val, a = this.clonePosition();
|
|
3151
3203
|
if (this.bumpIf("</")) {
|
|
3152
|
-
if (this.isEOF() || !
|
|
3204
|
+
if (this.isEOF() || !Ft(this.char()))
|
|
3153
3205
|
return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
|
|
3154
3206
|
var u = this.clonePosition(), l = this.parseTagName();
|
|
3155
3207
|
return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3167,7 +3219,7 @@ var Zi = (
|
|
|
3167
3219
|
return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
|
|
3168
3220
|
}, e.prototype.parseTagName = function() {
|
|
3169
3221
|
var t = this.offset();
|
|
3170
|
-
for (this.bump(); !this.isEOF() &&
|
|
3222
|
+
for (this.bump(); !this.isEOF() && Ki(this.char()); )
|
|
3171
3223
|
this.bump();
|
|
3172
3224
|
return this.message.slice(t, this.offset());
|
|
3173
3225
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3196,7 +3248,7 @@ var Zi = (
|
|
|
3196
3248
|
};
|
|
3197
3249
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3198
3250
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3199
|
-
!
|
|
3251
|
+
!Yi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3200
3252
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3201
3253
|
if (this.isEOF() || this.char() !== 39)
|
|
3202
3254
|
return null;
|
|
@@ -3230,12 +3282,12 @@ var Zi = (
|
|
|
3230
3282
|
r.push(n);
|
|
3231
3283
|
this.bump();
|
|
3232
3284
|
}
|
|
3233
|
-
return
|
|
3285
|
+
return Rt.apply(void 0, r);
|
|
3234
3286
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3235
3287
|
if (this.isEOF())
|
|
3236
3288
|
return null;
|
|
3237
3289
|
var n = this.char();
|
|
3238
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3290
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Rt(n));
|
|
3239
3291
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3240
3292
|
var n = this.clonePosition();
|
|
3241
3293
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3264,7 +3316,7 @@ var Zi = (
|
|
|
3264
3316
|
return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
|
|
3265
3317
|
}
|
|
3266
3318
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3267
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3319
|
+
var t = this.clonePosition(), r = this.offset(), n = Ut(this.message, r), i = r + n.length;
|
|
3268
3320
|
this.bumpTo(i);
|
|
3269
3321
|
var o = this.clonePosition(), s = E(t, o);
|
|
3270
3322
|
return { value: n, location: s };
|
|
@@ -3283,7 +3335,7 @@ var Zi = (
|
|
|
3283
3335
|
var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3284
3336
|
if (f.err)
|
|
3285
3337
|
return f;
|
|
3286
|
-
var d =
|
|
3338
|
+
var d = Ji(f.val);
|
|
3287
3339
|
if (d.length === 0)
|
|
3288
3340
|
return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
|
|
3289
3341
|
var b = E(c, this.clonePosition());
|
|
@@ -3293,8 +3345,8 @@ var Zi = (
|
|
|
3293
3345
|
if (y.err)
|
|
3294
3346
|
return y;
|
|
3295
3347
|
var g = E(i, this.clonePosition());
|
|
3296
|
-
if (l &&
|
|
3297
|
-
var S =
|
|
3348
|
+
if (l && mr(l == null ? void 0 : l.style, "::", 0)) {
|
|
3349
|
+
var S = qi(l.style.slice(2));
|
|
3298
3350
|
if (a === "number") {
|
|
3299
3351
|
var f = this.parseNumberSkeletonFromString(S, l.styleLocation);
|
|
3300
3352
|
return f.err ? f : {
|
|
@@ -3305,12 +3357,12 @@ var Zi = (
|
|
|
3305
3357
|
if (S.length === 0)
|
|
3306
3358
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
|
|
3307
3359
|
var C = S;
|
|
3308
|
-
this.locale && (C =
|
|
3360
|
+
this.locale && (C = Ri(S, this.locale));
|
|
3309
3361
|
var d = {
|
|
3310
3362
|
type: Oe.dateTime,
|
|
3311
3363
|
pattern: C,
|
|
3312
3364
|
location: l.styleLocation,
|
|
3313
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3365
|
+
parsedOptions: this.shouldParseSkeletons ? Ai(C) : {}
|
|
3314
3366
|
}, z = a === "date" ? T.date : T.time;
|
|
3315
3367
|
return {
|
|
3316
3368
|
val: { type: z, value: n, location: g, style: d },
|
|
@@ -3356,7 +3408,7 @@ var Zi = (
|
|
|
3356
3408
|
val: {
|
|
3357
3409
|
type: T.select,
|
|
3358
3410
|
value: n,
|
|
3359
|
-
options:
|
|
3411
|
+
options: pr(ne.val),
|
|
3360
3412
|
location: H
|
|
3361
3413
|
},
|
|
3362
3414
|
err: null
|
|
@@ -3364,7 +3416,7 @@ var Zi = (
|
|
|
3364
3416
|
val: {
|
|
3365
3417
|
type: T.plural,
|
|
3366
3418
|
value: n,
|
|
3367
|
-
options:
|
|
3419
|
+
options: pr(ne.val),
|
|
3368
3420
|
offset: A,
|
|
3369
3421
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3370
3422
|
location: H
|
|
@@ -3415,7 +3467,7 @@ var Zi = (
|
|
|
3415
3467
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3416
3468
|
var n = [];
|
|
3417
3469
|
try {
|
|
3418
|
-
n =
|
|
3470
|
+
n = Ci(t);
|
|
3419
3471
|
} catch (i) {
|
|
3420
3472
|
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3421
3473
|
}
|
|
@@ -3424,7 +3476,7 @@ var Zi = (
|
|
|
3424
3476
|
type: Oe.number,
|
|
3425
3477
|
tokens: n,
|
|
3426
3478
|
location: r,
|
|
3427
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3479
|
+
parsedOptions: this.shouldParseSkeletons ? Ni(n) : {}
|
|
3428
3480
|
},
|
|
3429
3481
|
err: null
|
|
3430
3482
|
};
|
|
@@ -3472,7 +3524,7 @@ var Zi = (
|
|
|
3472
3524
|
break;
|
|
3473
3525
|
}
|
|
3474
3526
|
var u = E(i, this.clonePosition());
|
|
3475
|
-
return o ? (s *= n,
|
|
3527
|
+
return o ? (s *= n, Wi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3476
3528
|
}, e.prototype.offset = function() {
|
|
3477
3529
|
return this.position.offset;
|
|
3478
3530
|
}, e.prototype.isEOF = function() {
|
|
@@ -3487,7 +3539,7 @@ var Zi = (
|
|
|
3487
3539
|
var t = this.position.offset;
|
|
3488
3540
|
if (t >= this.message.length)
|
|
3489
3541
|
throw Error("out of bound");
|
|
3490
|
-
var r =
|
|
3542
|
+
var r = en(this.message, t);
|
|
3491
3543
|
if (r === void 0)
|
|
3492
3544
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3493
3545
|
return r;
|
|
@@ -3506,7 +3558,7 @@ var Zi = (
|
|
|
3506
3558
|
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);
|
|
3507
3559
|
}
|
|
3508
3560
|
}, e.prototype.bumpIf = function(t) {
|
|
3509
|
-
if (
|
|
3561
|
+
if (mr(this.message, t, this.offset())) {
|
|
3510
3562
|
for (var r = 0; r < t.length; r++)
|
|
3511
3563
|
this.bump();
|
|
3512
3564
|
return !0;
|
|
@@ -3528,7 +3580,7 @@ var Zi = (
|
|
|
3528
3580
|
break;
|
|
3529
3581
|
}
|
|
3530
3582
|
}, e.prototype.bumpSpace = function() {
|
|
3531
|
-
for (; !this.isEOF() &&
|
|
3583
|
+
for (; !this.isEOF() && rn(this.char()); )
|
|
3532
3584
|
this.bump();
|
|
3533
3585
|
}, e.prototype.peek = function() {
|
|
3534
3586
|
if (this.isEOF())
|
|
@@ -3538,37 +3590,38 @@ var Zi = (
|
|
|
3538
3590
|
}, e;
|
|
3539
3591
|
}()
|
|
3540
3592
|
);
|
|
3541
|
-
function
|
|
3593
|
+
function Ft(e) {
|
|
3542
3594
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3543
3595
|
}
|
|
3544
|
-
function
|
|
3545
|
-
return
|
|
3596
|
+
function Yi(e) {
|
|
3597
|
+
return Ft(e) || e === 47;
|
|
3546
3598
|
}
|
|
3547
|
-
function
|
|
3599
|
+
function Ki(e) {
|
|
3548
3600
|
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;
|
|
3549
3601
|
}
|
|
3550
|
-
function
|
|
3602
|
+
function rn(e) {
|
|
3551
3603
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3552
3604
|
}
|
|
3553
|
-
function
|
|
3605
|
+
function eo(e) {
|
|
3554
3606
|
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;
|
|
3555
3607
|
}
|
|
3556
|
-
function
|
|
3608
|
+
function Dt(e) {
|
|
3557
3609
|
e.forEach(function(t) {
|
|
3558
|
-
if (delete t.location,
|
|
3610
|
+
if (delete t.location, Xr(t) || Wr(t))
|
|
3559
3611
|
for (var r in t.options)
|
|
3560
|
-
delete t.options[r].location,
|
|
3561
|
-
else
|
|
3612
|
+
delete t.options[r].location, Dt(t.options[r].value);
|
|
3613
|
+
else
|
|
3614
|
+
jr(t) && qr(t.style) || (Vr(t) || zr(t)) && Mt(t.style) ? delete t.style.location : Zr(t) && Dt(t.children);
|
|
3562
3615
|
});
|
|
3563
3616
|
}
|
|
3564
|
-
function
|
|
3617
|
+
function to(e, t) {
|
|
3565
3618
|
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3566
|
-
var r = new
|
|
3619
|
+
var r = new Qi(e, t).parse();
|
|
3567
3620
|
if (r.err) {
|
|
3568
3621
|
var n = SyntaxError(_[r.err.kind]);
|
|
3569
3622
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3570
3623
|
}
|
|
3571
|
-
return t != null && t.captureLocation ||
|
|
3624
|
+
return t != null && t.captureLocation || Dt(r.val), r.val;
|
|
3572
3625
|
}
|
|
3573
3626
|
var Le;
|
|
3574
3627
|
(function(e) {
|
|
@@ -3586,7 +3639,7 @@ var mt = (
|
|
|
3586
3639
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3587
3640
|
}, t;
|
|
3588
3641
|
}(Error)
|
|
3589
|
-
),
|
|
3642
|
+
), br = (
|
|
3590
3643
|
/** @class */
|
|
3591
3644
|
function(e) {
|
|
3592
3645
|
le(t, e);
|
|
@@ -3595,7 +3648,7 @@ var mt = (
|
|
|
3595
3648
|
}
|
|
3596
3649
|
return t;
|
|
3597
3650
|
}(mt)
|
|
3598
|
-
),
|
|
3651
|
+
), ro = (
|
|
3599
3652
|
/** @class */
|
|
3600
3653
|
function(e) {
|
|
3601
3654
|
le(t, e);
|
|
@@ -3604,7 +3657,7 @@ var mt = (
|
|
|
3604
3657
|
}
|
|
3605
3658
|
return t;
|
|
3606
3659
|
}(mt)
|
|
3607
|
-
),
|
|
3660
|
+
), no = (
|
|
3608
3661
|
/** @class */
|
|
3609
3662
|
function(e) {
|
|
3610
3663
|
le(t, e);
|
|
@@ -3617,17 +3670,17 @@ var mt = (
|
|
|
3617
3670
|
(function(e) {
|
|
3618
3671
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3619
3672
|
})(V || (V = {}));
|
|
3620
|
-
function
|
|
3673
|
+
function io(e) {
|
|
3621
3674
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3622
3675
|
var n = t[t.length - 1];
|
|
3623
3676
|
return !n || n.type !== V.literal || r.type !== V.literal ? t.push(r) : n.value += r.value, t;
|
|
3624
3677
|
}, []);
|
|
3625
3678
|
}
|
|
3626
|
-
function
|
|
3679
|
+
function oo(e) {
|
|
3627
3680
|
return typeof e == "function";
|
|
3628
3681
|
}
|
|
3629
3682
|
function at(e, t, r, n, i, o, s) {
|
|
3630
|
-
if (e.length === 1 &&
|
|
3683
|
+
if (e.length === 1 && cr(e[0]))
|
|
3631
3684
|
return [
|
|
3632
3685
|
{
|
|
3633
3686
|
type: V.literal,
|
|
@@ -3636,14 +3689,14 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3636
3689
|
];
|
|
3637
3690
|
for (var a = [], u = 0, l = e; u < l.length; u++) {
|
|
3638
3691
|
var c = l[u];
|
|
3639
|
-
if (
|
|
3692
|
+
if (cr(c)) {
|
|
3640
3693
|
a.push({
|
|
3641
3694
|
type: V.literal,
|
|
3642
3695
|
value: c.value
|
|
3643
3696
|
});
|
|
3644
3697
|
continue;
|
|
3645
3698
|
}
|
|
3646
|
-
if (
|
|
3699
|
+
if (Hi(c)) {
|
|
3647
3700
|
typeof o == "number" && a.push({
|
|
3648
3701
|
type: V.literal,
|
|
3649
3702
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3652,43 +3705,43 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3652
3705
|
}
|
|
3653
3706
|
var f = c.value;
|
|
3654
3707
|
if (!(i && f in i))
|
|
3655
|
-
throw new
|
|
3708
|
+
throw new no(f, s);
|
|
3656
3709
|
var d = i[f];
|
|
3657
|
-
if (
|
|
3710
|
+
if (Ti(c)) {
|
|
3658
3711
|
(!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
|
|
3659
3712
|
type: typeof d == "string" ? V.literal : V.object,
|
|
3660
3713
|
value: d
|
|
3661
3714
|
});
|
|
3662
3715
|
continue;
|
|
3663
3716
|
}
|
|
3664
|
-
if (
|
|
3665
|
-
var b = typeof c.style == "string" ? n.date[c.style] :
|
|
3717
|
+
if (Vr(c)) {
|
|
3718
|
+
var b = typeof c.style == "string" ? n.date[c.style] : Mt(c.style) ? c.style.parsedOptions : void 0;
|
|
3666
3719
|
a.push({
|
|
3667
3720
|
type: V.literal,
|
|
3668
3721
|
value: r.getDateTimeFormat(t, b).format(d)
|
|
3669
3722
|
});
|
|
3670
3723
|
continue;
|
|
3671
3724
|
}
|
|
3672
|
-
if (
|
|
3673
|
-
var b = typeof c.style == "string" ? n.time[c.style] :
|
|
3725
|
+
if (zr(c)) {
|
|
3726
|
+
var b = typeof c.style == "string" ? n.time[c.style] : Mt(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3674
3727
|
a.push({
|
|
3675
3728
|
type: V.literal,
|
|
3676
3729
|
value: r.getDateTimeFormat(t, b).format(d)
|
|
3677
3730
|
});
|
|
3678
3731
|
continue;
|
|
3679
3732
|
}
|
|
3680
|
-
if (
|
|
3681
|
-
var b = typeof c.style == "string" ? n.number[c.style] :
|
|
3733
|
+
if (jr(c)) {
|
|
3734
|
+
var b = typeof c.style == "string" ? n.number[c.style] : qr(c.style) ? c.style.parsedOptions : void 0;
|
|
3682
3735
|
b && b.scale && (d = d * (b.scale || 1)), a.push({
|
|
3683
3736
|
type: V.literal,
|
|
3684
3737
|
value: r.getNumberFormat(t, b).format(d)
|
|
3685
3738
|
});
|
|
3686
3739
|
continue;
|
|
3687
3740
|
}
|
|
3688
|
-
if (
|
|
3741
|
+
if (Zr(c)) {
|
|
3689
3742
|
var y = c.children, g = c.value, S = i[g];
|
|
3690
|
-
if (!
|
|
3691
|
-
throw new
|
|
3743
|
+
if (!oo(S))
|
|
3744
|
+
throw new ro(g, "function", s);
|
|
3692
3745
|
var C = at(y, t, r, n, i, o), z = S(C.map(function(A) {
|
|
3693
3746
|
return A.value;
|
|
3694
3747
|
}));
|
|
@@ -3699,14 +3752,14 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3699
3752
|
};
|
|
3700
3753
|
}));
|
|
3701
3754
|
}
|
|
3702
|
-
if (
|
|
3755
|
+
if (Xr(c)) {
|
|
3703
3756
|
var R = c.options[d] || c.options.other;
|
|
3704
3757
|
if (!R)
|
|
3705
|
-
throw new
|
|
3758
|
+
throw new br(c.value, d, Object.keys(c.options), s);
|
|
3706
3759
|
a.push.apply(a, at(R.value, t, r, n, i));
|
|
3707
3760
|
continue;
|
|
3708
3761
|
}
|
|
3709
|
-
if (
|
|
3762
|
+
if (Wr(c)) {
|
|
3710
3763
|
var R = c.options["=".concat(d)];
|
|
3711
3764
|
if (!R) {
|
|
3712
3765
|
if (!Intl.PluralRules)
|
|
@@ -3717,24 +3770,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3717
3770
|
R = c.options[U] || c.options.other;
|
|
3718
3771
|
}
|
|
3719
3772
|
if (!R)
|
|
3720
|
-
throw new
|
|
3773
|
+
throw new br(c.value, d, Object.keys(c.options), s);
|
|
3721
3774
|
a.push.apply(a, at(R.value, t, r, n, i, d - (c.offset || 0)));
|
|
3722
3775
|
continue;
|
|
3723
3776
|
}
|
|
3724
3777
|
}
|
|
3725
|
-
return
|
|
3778
|
+
return io(a);
|
|
3726
3779
|
}
|
|
3727
|
-
function
|
|
3780
|
+
function so(e, t) {
|
|
3728
3781
|
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3729
3782
|
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3730
3783
|
}, {})) : e;
|
|
3731
3784
|
}
|
|
3732
|
-
function
|
|
3785
|
+
function ao(e, t) {
|
|
3733
3786
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3734
|
-
return r[n] =
|
|
3787
|
+
return r[n] = so(e[n], t[n]), r;
|
|
3735
3788
|
}, w({}, e)) : e;
|
|
3736
3789
|
}
|
|
3737
|
-
function
|
|
3790
|
+
function Pt(e) {
|
|
3738
3791
|
return {
|
|
3739
3792
|
create: function() {
|
|
3740
3793
|
return {
|
|
@@ -3748,39 +3801,39 @@ function St(e) {
|
|
|
3748
3801
|
}
|
|
3749
3802
|
};
|
|
3750
3803
|
}
|
|
3751
|
-
function
|
|
3804
|
+
function lo(e) {
|
|
3752
3805
|
return e === void 0 && (e = {
|
|
3753
3806
|
number: {},
|
|
3754
3807
|
dateTime: {},
|
|
3755
3808
|
pluralRules: {}
|
|
3756
3809
|
}), {
|
|
3757
|
-
getNumberFormat:
|
|
3810
|
+
getNumberFormat: wt(function() {
|
|
3758
3811
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3759
3812
|
r[n] = arguments[n];
|
|
3760
3813
|
return new ((t = Intl.NumberFormat).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3761
3814
|
}, {
|
|
3762
|
-
cache:
|
|
3763
|
-
strategy:
|
|
3815
|
+
cache: Pt(e.number),
|
|
3816
|
+
strategy: xt.variadic
|
|
3764
3817
|
}),
|
|
3765
|
-
getDateTimeFormat:
|
|
3818
|
+
getDateTimeFormat: wt(function() {
|
|
3766
3819
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3767
3820
|
r[n] = arguments[n];
|
|
3768
3821
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3769
3822
|
}, {
|
|
3770
|
-
cache:
|
|
3771
|
-
strategy:
|
|
3823
|
+
cache: Pt(e.dateTime),
|
|
3824
|
+
strategy: xt.variadic
|
|
3772
3825
|
}),
|
|
3773
|
-
getPluralRules:
|
|
3826
|
+
getPluralRules: wt(function() {
|
|
3774
3827
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3775
3828
|
r[n] = arguments[n];
|
|
3776
3829
|
return new ((t = Intl.PluralRules).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3777
3830
|
}, {
|
|
3778
|
-
cache:
|
|
3779
|
-
strategy:
|
|
3831
|
+
cache: Pt(e.pluralRules),
|
|
3832
|
+
strategy: xt.variadic
|
|
3780
3833
|
})
|
|
3781
3834
|
};
|
|
3782
3835
|
}
|
|
3783
|
-
var
|
|
3836
|
+
var uo = (
|
|
3784
3837
|
/** @class */
|
|
3785
3838
|
function() {
|
|
3786
3839
|
function e(t, r, n, i) {
|
|
@@ -3812,13 +3865,13 @@ var so = (
|
|
|
3812
3865
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3813
3866
|
var s = i || {};
|
|
3814
3867
|
s.formatters;
|
|
3815
|
-
var a =
|
|
3868
|
+
var a = $n(s, ["formatters"]);
|
|
3816
3869
|
this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
|
|
3817
3870
|
} else
|
|
3818
3871
|
this.ast = t;
|
|
3819
3872
|
if (!Array.isArray(this.ast))
|
|
3820
3873
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3821
|
-
this.formats =
|
|
3874
|
+
this.formats = ao(e.formats, n), this.formatters = i && i.formatters || lo(this.formatterCache);
|
|
3822
3875
|
}
|
|
3823
3876
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3824
3877
|
get: function() {
|
|
@@ -3831,7 +3884,7 @@ var so = (
|
|
|
3831
3884
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3832
3885
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3833
3886
|
}
|
|
3834
|
-
}, e.__parse =
|
|
3887
|
+
}, e.__parse = to, e.formats = {
|
|
3835
3888
|
number: {
|
|
3836
3889
|
integer: {
|
|
3837
3890
|
maximumFractionDigits: 0
|
|
@@ -3892,7 +3945,7 @@ var so = (
|
|
|
3892
3945
|
}, e;
|
|
3893
3946
|
}()
|
|
3894
3947
|
);
|
|
3895
|
-
function
|
|
3948
|
+
function co(e, t) {
|
|
3896
3949
|
if (t == null)
|
|
3897
3950
|
return;
|
|
3898
3951
|
if (t in e)
|
|
@@ -3913,92 +3966,92 @@ function ao(e, t) {
|
|
|
3913
3966
|
n = void 0;
|
|
3914
3967
|
return n;
|
|
3915
3968
|
}
|
|
3916
|
-
const ce = {},
|
|
3969
|
+
const ce = {}, ho = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), nn = (e, t) => {
|
|
3917
3970
|
if (t == null)
|
|
3918
3971
|
return;
|
|
3919
3972
|
if (t in ce && e in ce[t])
|
|
3920
3973
|
return ce[t][e];
|
|
3921
3974
|
const r = pt(t);
|
|
3922
3975
|
for (let n = 0; n < r.length; n++) {
|
|
3923
|
-
const i = r[n], o =
|
|
3976
|
+
const i = r[n], o = mo(i, e);
|
|
3924
3977
|
if (o)
|
|
3925
|
-
return
|
|
3978
|
+
return ho(e, t, o);
|
|
3926
3979
|
}
|
|
3927
3980
|
};
|
|
3928
|
-
let
|
|
3981
|
+
let zt;
|
|
3929
3982
|
const Ue = dt({});
|
|
3930
|
-
function
|
|
3931
|
-
return
|
|
3983
|
+
function fo(e) {
|
|
3984
|
+
return zt[e] || null;
|
|
3932
3985
|
}
|
|
3933
|
-
function
|
|
3934
|
-
return e in
|
|
3986
|
+
function on(e) {
|
|
3987
|
+
return e in zt;
|
|
3935
3988
|
}
|
|
3936
|
-
function
|
|
3937
|
-
if (!
|
|
3989
|
+
function mo(e, t) {
|
|
3990
|
+
if (!on(e))
|
|
3938
3991
|
return null;
|
|
3939
|
-
const r =
|
|
3940
|
-
return
|
|
3992
|
+
const r = fo(e);
|
|
3993
|
+
return co(r, t);
|
|
3941
3994
|
}
|
|
3942
|
-
function
|
|
3995
|
+
function po(e) {
|
|
3943
3996
|
if (e == null)
|
|
3944
3997
|
return;
|
|
3945
3998
|
const t = pt(e);
|
|
3946
3999
|
for (let r = 0; r < t.length; r++) {
|
|
3947
4000
|
const n = t[r];
|
|
3948
|
-
if (
|
|
4001
|
+
if (on(n))
|
|
3949
4002
|
return n;
|
|
3950
4003
|
}
|
|
3951
4004
|
}
|
|
3952
|
-
function
|
|
3953
|
-
delete ce[e], Ue.update((r) => (r[e] =
|
|
4005
|
+
function sn(e, ...t) {
|
|
4006
|
+
delete ce[e], Ue.update((r) => (r[e] = yi.all([r[e] || {}, ...t]), r));
|
|
3954
4007
|
}
|
|
3955
4008
|
Re(
|
|
3956
4009
|
[Ue],
|
|
3957
4010
|
([e]) => Object.keys(e)
|
|
3958
4011
|
);
|
|
3959
|
-
Ue.subscribe((e) =>
|
|
4012
|
+
Ue.subscribe((e) => zt = e);
|
|
3960
4013
|
const lt = {};
|
|
3961
|
-
function
|
|
4014
|
+
function go(e, t) {
|
|
3962
4015
|
lt[e].delete(t), lt[e].size === 0 && delete lt[e];
|
|
3963
4016
|
}
|
|
3964
|
-
function
|
|
4017
|
+
function an(e) {
|
|
3965
4018
|
return lt[e];
|
|
3966
4019
|
}
|
|
3967
|
-
function
|
|
4020
|
+
function bo(e) {
|
|
3968
4021
|
return pt(e).map((t) => {
|
|
3969
|
-
const r =
|
|
4022
|
+
const r = an(t);
|
|
3970
4023
|
return [t, r ? [...r] : []];
|
|
3971
4024
|
}).filter(([, t]) => t.length > 0);
|
|
3972
4025
|
}
|
|
3973
|
-
function
|
|
4026
|
+
function kt(e) {
|
|
3974
4027
|
return e == null ? !1 : pt(e).some(
|
|
3975
4028
|
(t) => {
|
|
3976
4029
|
var r;
|
|
3977
|
-
return (r =
|
|
4030
|
+
return (r = an(t)) == null ? void 0 : r.size;
|
|
3978
4031
|
}
|
|
3979
4032
|
);
|
|
3980
4033
|
}
|
|
3981
|
-
function
|
|
4034
|
+
function vo(e, t) {
|
|
3982
4035
|
return Promise.all(
|
|
3983
|
-
t.map((n) => (
|
|
3984
|
-
).then((n) =>
|
|
4036
|
+
t.map((n) => (go(e, n), n().then((i) => i.default || i)))
|
|
4037
|
+
).then((n) => sn(e, ...n));
|
|
3985
4038
|
}
|
|
3986
4039
|
const Ve = {};
|
|
3987
|
-
function
|
|
3988
|
-
if (!
|
|
4040
|
+
function ln(e) {
|
|
4041
|
+
if (!kt(e))
|
|
3989
4042
|
return e in Ve ? Ve[e] : Promise.resolve();
|
|
3990
|
-
const t =
|
|
4043
|
+
const t = bo(e);
|
|
3991
4044
|
return Ve[e] = Promise.all(
|
|
3992
4045
|
t.map(
|
|
3993
|
-
([r, n]) =>
|
|
4046
|
+
([r, n]) => vo(r, n)
|
|
3994
4047
|
)
|
|
3995
4048
|
).then(() => {
|
|
3996
|
-
if (
|
|
3997
|
-
return
|
|
4049
|
+
if (kt(e))
|
|
4050
|
+
return ln(e);
|
|
3998
4051
|
delete Ve[e];
|
|
3999
4052
|
}), Ve[e];
|
|
4000
4053
|
}
|
|
4001
|
-
const
|
|
4054
|
+
const yo = {
|
|
4002
4055
|
number: {
|
|
4003
4056
|
scientific: { notation: "scientific" },
|
|
4004
4057
|
engineering: { notation: "engineering" },
|
|
@@ -4027,57 +4080,57 @@ const go = {
|
|
|
4027
4080
|
timeZoneName: "short"
|
|
4028
4081
|
}
|
|
4029
4082
|
}
|
|
4030
|
-
},
|
|
4083
|
+
}, _o = {
|
|
4031
4084
|
fallbackLocale: null,
|
|
4032
4085
|
loadingDelay: 200,
|
|
4033
|
-
formats:
|
|
4086
|
+
formats: yo,
|
|
4034
4087
|
warnOnMissingMessages: !0,
|
|
4035
4088
|
handleMissingMessage: void 0,
|
|
4036
4089
|
ignoreTag: !0
|
|
4037
|
-
},
|
|
4090
|
+
}, Eo = _o;
|
|
4038
4091
|
function Me() {
|
|
4039
|
-
return
|
|
4092
|
+
return Eo;
|
|
4040
4093
|
}
|
|
4041
|
-
const
|
|
4042
|
-
var
|
|
4094
|
+
const Tt = dt(!1);
|
|
4095
|
+
var wo = Object.defineProperty, xo = Object.defineProperties, So = Object.getOwnPropertyDescriptors, vr = Object.getOwnPropertySymbols, Po = Object.prototype.hasOwnProperty, To = Object.prototype.propertyIsEnumerable, yr = (e, t, r) => t in e ? wo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ho = (e, t) => {
|
|
4043
4096
|
for (var r in t || (t = {}))
|
|
4044
|
-
|
|
4045
|
-
if (
|
|
4046
|
-
for (var r of
|
|
4047
|
-
|
|
4097
|
+
Po.call(t, r) && yr(e, r, t[r]);
|
|
4098
|
+
if (vr)
|
|
4099
|
+
for (var r of vr(t))
|
|
4100
|
+
To.call(t, r) && yr(e, r, t[r]);
|
|
4048
4101
|
return e;
|
|
4049
|
-
},
|
|
4050
|
-
let
|
|
4102
|
+
}, Bo = (e, t) => xo(e, So(t));
|
|
4103
|
+
let Gt;
|
|
4051
4104
|
const ct = dt(null);
|
|
4052
|
-
function
|
|
4105
|
+
function _r(e) {
|
|
4053
4106
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4054
4107
|
}
|
|
4055
4108
|
function pt(e, t = Me().fallbackLocale) {
|
|
4056
|
-
const r =
|
|
4057
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4109
|
+
const r = _r(e);
|
|
4110
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ..._r(t)])] : r;
|
|
4058
4111
|
}
|
|
4059
4112
|
function ye() {
|
|
4060
|
-
return
|
|
4113
|
+
return Gt != null ? Gt : void 0;
|
|
4061
4114
|
}
|
|
4062
4115
|
ct.subscribe((e) => {
|
|
4063
|
-
|
|
4116
|
+
Gt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4064
4117
|
});
|
|
4065
|
-
const
|
|
4066
|
-
if (e &&
|
|
4118
|
+
const Ao = (e) => {
|
|
4119
|
+
if (e && po(e) && kt(e)) {
|
|
4067
4120
|
const { loadingDelay: t } = Me();
|
|
4068
4121
|
let r;
|
|
4069
4122
|
return typeof window != "undefined" && ye() != null && t ? r = window.setTimeout(
|
|
4070
|
-
() =>
|
|
4123
|
+
() => Tt.set(!0),
|
|
4071
4124
|
t
|
|
4072
|
-
) :
|
|
4125
|
+
) : Tt.set(!0), ln(e).then(() => {
|
|
4073
4126
|
ct.set(e);
|
|
4074
4127
|
}).finally(() => {
|
|
4075
|
-
clearTimeout(r),
|
|
4128
|
+
clearTimeout(r), Tt.set(!1);
|
|
4076
4129
|
});
|
|
4077
4130
|
}
|
|
4078
4131
|
return ct.set(e);
|
|
4079
|
-
}, he =
|
|
4080
|
-
set:
|
|
4132
|
+
}, he = Bo(Ho({}, ct), {
|
|
4133
|
+
set: Ao
|
|
4081
4134
|
}), gt = (e) => {
|
|
4082
4135
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4083
4136
|
return (n) => {
|
|
@@ -4085,20 +4138,20 @@ const To = (e) => {
|
|
|
4085
4138
|
return i in t ? t[i] : t[i] = e(n);
|
|
4086
4139
|
};
|
|
4087
4140
|
};
|
|
4088
|
-
var
|
|
4141
|
+
var Io = Object.defineProperty, ht = Object.getOwnPropertySymbols, un = Object.prototype.hasOwnProperty, cn = Object.prototype.propertyIsEnumerable, Er = (e, t, r) => t in e ? Io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xt = (e, t) => {
|
|
4089
4142
|
for (var r in t || (t = {}))
|
|
4090
|
-
|
|
4143
|
+
un.call(t, r) && Er(e, r, t[r]);
|
|
4091
4144
|
if (ht)
|
|
4092
4145
|
for (var r of ht(t))
|
|
4093
|
-
|
|
4146
|
+
cn.call(t, r) && Er(e, r, t[r]);
|
|
4094
4147
|
return e;
|
|
4095
4148
|
}, Fe = (e, t) => {
|
|
4096
4149
|
var r = {};
|
|
4097
4150
|
for (var n in e)
|
|
4098
|
-
|
|
4151
|
+
un.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4099
4152
|
if (e != null && ht)
|
|
4100
4153
|
for (var n of ht(e))
|
|
4101
|
-
t.indexOf(n) < 0 &&
|
|
4154
|
+
t.indexOf(n) < 0 && cn.call(e, n) && (r[n] = e[n]);
|
|
4102
4155
|
return r;
|
|
4103
4156
|
};
|
|
4104
4157
|
const Ze = (e, t) => {
|
|
@@ -4106,21 +4159,21 @@ const Ze = (e, t) => {
|
|
|
4106
4159
|
if (e in r && t in r[e])
|
|
4107
4160
|
return r[e][t];
|
|
4108
4161
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4109
|
-
},
|
|
4162
|
+
}, Co = gt(
|
|
4110
4163
|
(e) => {
|
|
4111
4164
|
var t = e, { locale: r, format: n } = t, i = Fe(t, ["locale", "format"]);
|
|
4112
4165
|
if (r == null)
|
|
4113
4166
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4114
4167
|
return n && (i = Ze("number", n)), new Intl.NumberFormat(r, i);
|
|
4115
4168
|
}
|
|
4116
|
-
),
|
|
4169
|
+
), Oo = gt(
|
|
4117
4170
|
(e) => {
|
|
4118
4171
|
var t = e, { locale: r, format: n } = t, i = Fe(t, ["locale", "format"]);
|
|
4119
4172
|
if (r == null)
|
|
4120
4173
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4121
4174
|
return n ? i = Ze("date", n) : Object.keys(i).length === 0 && (i = Ze("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4122
4175
|
}
|
|
4123
|
-
),
|
|
4176
|
+
), Lo = gt(
|
|
4124
4177
|
(e) => {
|
|
4125
4178
|
var t = e, { locale: r, format: n } = t, i = Fe(t, ["locale", "format"]);
|
|
4126
4179
|
if (r == null)
|
|
@@ -4129,33 +4182,33 @@ const Ze = (e, t) => {
|
|
|
4129
4182
|
);
|
|
4130
4183
|
return n ? i = Ze("time", n) : Object.keys(i).length === 0 && (i = Ze("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4131
4184
|
}
|
|
4132
|
-
),
|
|
4185
|
+
), Mo = (e = {}) => {
|
|
4133
4186
|
var t = e, {
|
|
4134
4187
|
locale: r = ye()
|
|
4135
4188
|
} = t, n = Fe(t, [
|
|
4136
4189
|
"locale"
|
|
4137
4190
|
]);
|
|
4138
|
-
return
|
|
4139
|
-
},
|
|
4191
|
+
return Co(Xt({ locale: r }, n));
|
|
4192
|
+
}, No = (e = {}) => {
|
|
4140
4193
|
var t = e, {
|
|
4141
4194
|
locale: r = ye()
|
|
4142
4195
|
} = t, n = Fe(t, [
|
|
4143
4196
|
"locale"
|
|
4144
4197
|
]);
|
|
4145
|
-
return
|
|
4146
|
-
},
|
|
4198
|
+
return Oo(Xt({ locale: r }, n));
|
|
4199
|
+
}, Ro = (e = {}) => {
|
|
4147
4200
|
var t = e, {
|
|
4148
4201
|
locale: r = ye()
|
|
4149
4202
|
} = t, n = Fe(t, [
|
|
4150
4203
|
"locale"
|
|
4151
4204
|
]);
|
|
4152
|
-
return
|
|
4153
|
-
},
|
|
4205
|
+
return Lo(Xt({ locale: r }, n));
|
|
4206
|
+
}, Uo = gt(
|
|
4154
4207
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4155
|
-
(e, t = ye()) => new
|
|
4208
|
+
(e, t = ye()) => new uo(e, t, Me().formats, {
|
|
4156
4209
|
ignoreTag: Me().ignoreTag
|
|
4157
4210
|
})
|
|
4158
|
-
),
|
|
4211
|
+
), Fo = (e, t = {}) => {
|
|
4159
4212
|
var r, n, i, o;
|
|
4160
4213
|
let s = t;
|
|
4161
4214
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4168,7 +4221,7 @@ const Ze = (e, t) => {
|
|
|
4168
4221
|
throw new Error(
|
|
4169
4222
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4170
4223
|
);
|
|
4171
|
-
let c =
|
|
4224
|
+
let c = nn(e, u);
|
|
4172
4225
|
if (!c)
|
|
4173
4226
|
c = (o = (i = (n = (r = Me()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
4174
4227
|
else if (typeof c != "string")
|
|
@@ -4179,7 +4232,7 @@ const Ze = (e, t) => {
|
|
|
4179
4232
|
return c;
|
|
4180
4233
|
let f = c;
|
|
4181
4234
|
try {
|
|
4182
|
-
f =
|
|
4235
|
+
f = Uo(c, u).format(a);
|
|
4183
4236
|
} catch (d) {
|
|
4184
4237
|
d instanceof Error && console.warn(
|
|
4185
4238
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4187,20 +4240,20 @@ const Ze = (e, t) => {
|
|
|
4187
4240
|
);
|
|
4188
4241
|
}
|
|
4189
4242
|
return f;
|
|
4190
|
-
},
|
|
4191
|
-
Re([he], () =>
|
|
4192
|
-
Re([he], () =>
|
|
4193
|
-
Re([he], () =>
|
|
4194
|
-
Re([he, Ue], () =>
|
|
4195
|
-
window.emWidgets = { topic:
|
|
4196
|
-
const
|
|
4197
|
-
function
|
|
4243
|
+
}, Do = (e, t) => Ro(t).format(e), ko = (e, t) => No(t).format(e), Go = (e, t) => Mo(t).format(e), $o = (e, t = ye()) => nn(e, t), jo = Re([he, Ue], () => Fo);
|
|
4244
|
+
Re([he], () => Do);
|
|
4245
|
+
Re([he], () => ko);
|
|
4246
|
+
Re([he], () => Go);
|
|
4247
|
+
Re([he, Ue], () => $o);
|
|
4248
|
+
window.emWidgets = { topic: ri };
|
|
4249
|
+
const Vo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
4250
|
+
function zo(e, t) {
|
|
4198
4251
|
if (e) {
|
|
4199
4252
|
const r = document.createElement("style");
|
|
4200
4253
|
r.innerHTML = t, e.appendChild(r);
|
|
4201
4254
|
}
|
|
4202
4255
|
}
|
|
4203
|
-
function
|
|
4256
|
+
function Xo(e, t) {
|
|
4204
4257
|
const r = new URL(t);
|
|
4205
4258
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4206
4259
|
const i = document.createElement("style");
|
|
@@ -4209,7 +4262,7 @@ function jo(e, t) {
|
|
|
4209
4262
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4210
4263
|
});
|
|
4211
4264
|
}
|
|
4212
|
-
function
|
|
4265
|
+
function Wo(e, t, r) {
|
|
4213
4266
|
if (window.emMessageBus) {
|
|
4214
4267
|
const n = document.createElement("style");
|
|
4215
4268
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4229,22 +4282,22 @@ if (typeof window != "undefined") {
|
|
|
4229
4282
|
}
|
|
4230
4283
|
};
|
|
4231
4284
|
};
|
|
4232
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-
|
|
4285
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-gXNvsXYD.js").then(({ default: t }) => {
|
|
4233
4286
|
!customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
|
|
4234
4287
|
});
|
|
4235
4288
|
}
|
|
4236
|
-
function
|
|
4289
|
+
function Zo({ withLocale: e, translations: t }) {
|
|
4237
4290
|
he.subscribe((r) => {
|
|
4238
4291
|
r == null && (Ue.set(t), he.set(e));
|
|
4239
4292
|
});
|
|
4240
4293
|
}
|
|
4241
|
-
function
|
|
4242
|
-
|
|
4294
|
+
function wr(e, t) {
|
|
4295
|
+
sn(e, t);
|
|
4243
4296
|
}
|
|
4244
|
-
function
|
|
4297
|
+
function qo(e) {
|
|
4245
4298
|
he.set(e);
|
|
4246
4299
|
}
|
|
4247
|
-
const
|
|
4300
|
+
const xr = {
|
|
4248
4301
|
en: {
|
|
4249
4302
|
loginTitle: "Welcome",
|
|
4250
4303
|
loginSubtitle: "Don't have an account yet?",
|
|
@@ -4389,14 +4442,14 @@ const _r = {
|
|
|
4389
4442
|
successMessage: "Login successful"
|
|
4390
4443
|
}
|
|
4391
4444
|
};
|
|
4392
|
-
function
|
|
4393
|
-
|
|
4445
|
+
function Jo(e) {
|
|
4446
|
+
En(e, "svelte-b3dr9t", '.grecaptcha-badge{opacity:0}.PlayerLoginFormWrapper{height:100%}.FormContainer{width:100%}.FormLogin{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));padding:50px}.FormHeaderTitle{color:var(--emw--registration-typography, var(--emw--color-contrast, #07072A));font-size:20px;font-weight:300;padding:0;text-transform:uppercase;margin:0}.PasswordContainer{position:relative}.FormRequired{color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));font-size:14px;font-weight:300;margin:5px 0 0 0}.FormRegisterCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.FormContent{padding-top:20px}.UserContainer,.PasswordContainer,.CaptchaContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;position:relative}.UserContainer label,.PasswordContainer label,.CaptchaContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserContainer input,.PasswordContainer input,.CaptchaContainer input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.CaptchaContainer.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.PasswordContainer input{padding:5px 30px 5px 15px}.TogglePasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.SignInButton{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer}.SignInButton[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}.ForgotPasswordButton{border:0;background:transparent;font-size:14px;font-weight:300;color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));margin-top:15px;cursor:pointer}.PasswordContainer,.UserContainer{padding-bottom:40px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;top:55px;padding-top:5px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormMobileContainer{height:100%}.FormMobileContainer .FormLogin{padding:40px 20px}.FormMobileContainer .SignInButton,.FormMobileContainer .UserContainer input,.FormMobileContainer .PasswordContainer input,.FormMobileContainer .CaptchaContainer{max-width:unset}.ModalLoaderWrapper{display:flex;height:100%;align-items:center}.ModalLoader{display:block;width:80px;height:80px;margin:0 auto}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:Loader 1.2s linear infinite}input::-ms-reveal,input::-ms-clear{display:none}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
4394
4447
|
}
|
|
4395
|
-
function
|
|
4448
|
+
function Sr(e) {
|
|
4396
4449
|
let t, r;
|
|
4397
4450
|
return {
|
|
4398
4451
|
c() {
|
|
4399
|
-
t = x("script"),
|
|
4452
|
+
t = x("script"), er(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
|
|
4400
4453
|
e[1]) || h(t, "src", r), t.async = !0, t.defer = !0;
|
|
4401
4454
|
},
|
|
4402
4455
|
m(n, i) {
|
|
@@ -4404,7 +4457,7 @@ function Er(e) {
|
|
|
4404
4457
|
},
|
|
4405
4458
|
p(n, i) {
|
|
4406
4459
|
i[0] & /*captchakey*/
|
|
4407
|
-
2 && !
|
|
4460
|
+
2 && !er(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
|
|
4408
4461
|
n[1]) && h(t, "src", r);
|
|
4409
4462
|
},
|
|
4410
4463
|
d(n) {
|
|
@@ -4412,12 +4465,12 @@ function Er(e) {
|
|
|
4412
4465
|
}
|
|
4413
4466
|
};
|
|
4414
4467
|
}
|
|
4415
|
-
function
|
|
4468
|
+
function Qo(e) {
|
|
4416
4469
|
let t, r, n;
|
|
4417
4470
|
function i(a, u) {
|
|
4418
4471
|
return (
|
|
4419
4472
|
/*startSmsValidation*/
|
|
4420
|
-
a[21] ?
|
|
4473
|
+
a[21] ? es : Ko
|
|
4421
4474
|
);
|
|
4422
4475
|
}
|
|
4423
4476
|
let o = i(e), s = o(e);
|
|
@@ -4439,7 +4492,7 @@ function Zo(e) {
|
|
|
4439
4492
|
}
|
|
4440
4493
|
};
|
|
4441
4494
|
}
|
|
4442
|
-
function
|
|
4495
|
+
function Yo(e) {
|
|
4443
4496
|
let t;
|
|
4444
4497
|
return {
|
|
4445
4498
|
c() {
|
|
@@ -4454,7 +4507,7 @@ function qo(e) {
|
|
|
4454
4507
|
}
|
|
4455
4508
|
};
|
|
4456
4509
|
}
|
|
4457
|
-
function
|
|
4510
|
+
function Ko(e) {
|
|
4458
4511
|
let t, r, n = (
|
|
4459
4512
|
/*$_*/
|
|
4460
4513
|
e[22]("loginTitle") + ""
|
|
@@ -4478,25 +4531,25 @@ function Jo(e) {
|
|
|
4478
4531
|
e[22]("loginForgotPassword") + ""
|
|
4479
4532
|
), Ge, $e, Ye, F = (
|
|
4480
4533
|
/*invalidName*/
|
|
4481
|
-
e[14] &&
|
|
4534
|
+
e[14] && Pr(e)
|
|
4482
4535
|
);
|
|
4483
4536
|
function Ke(v, P) {
|
|
4484
4537
|
return (
|
|
4485
4538
|
/*isPasswordVisible*/
|
|
4486
|
-
v[19] ?
|
|
4539
|
+
v[19] ? rs : ts
|
|
4487
4540
|
);
|
|
4488
4541
|
}
|
|
4489
4542
|
let Pe = Ke(e), Y = Pe(e), D = (
|
|
4490
4543
|
/*invalidPassword*/
|
|
4491
4544
|
e[15] && /*simplepasswordvalidation*/
|
|
4492
|
-
e[2] !== "true" &&
|
|
4545
|
+
e[2] !== "true" && Tr(e)
|
|
4493
4546
|
), k = (
|
|
4494
4547
|
/*invalidPassword*/
|
|
4495
4548
|
e[15] && /*simplepasswordvalidation*/
|
|
4496
|
-
e[2] === "true" &&
|
|
4549
|
+
e[2] === "true" && Hr(e)
|
|
4497
4550
|
), G = (
|
|
4498
4551
|
/*errorMessage*/
|
|
4499
|
-
e[16] &&
|
|
4552
|
+
e[16] && Br(e)
|
|
4500
4553
|
);
|
|
4501
4554
|
return {
|
|
4502
4555
|
c() {
|
|
@@ -4579,7 +4632,7 @@ function Jo(e) {
|
|
|
4579
4632
|
/*userValue*/
|
|
4580
4633
|
v[12]
|
|
4581
4634
|
), /*invalidName*/
|
|
4582
|
-
v[14] ? F ? F.p(v, P) : (F =
|
|
4635
|
+
v[14] ? F ? F.p(v, P) : (F = Pr(v), F.c(), F.m(S, null)) : F && (F.d(1), F = null), P[0] & /*invalidName*/
|
|
4583
4636
|
16384 && J !== (J = "UserContainer " + /*invalidName*/
|
|
4584
4637
|
(v[14] ? "InvalidField" : "")) && h(S, "class", J), P[0] & /*$_*/
|
|
4585
4638
|
4194304 && X !== (X = /*$_*/
|
|
@@ -4593,12 +4646,12 @@ function Jo(e) {
|
|
|
4593
4646
|
v[13]
|
|
4594
4647
|
), Pe === (Pe = Ke(v)) && Y ? Y.p(v, P) : (Y.d(1), Y = Pe(v), Y && (Y.c(), Y.m(B, Ee))), /*invalidPassword*/
|
|
4595
4648
|
v[15] && /*simplepasswordvalidation*/
|
|
4596
|
-
v[2] !== "true" ? D ? D.p(v, P) : (D =
|
|
4649
|
+
v[2] !== "true" ? D ? D.p(v, P) : (D = Tr(v), D.c(), D.m(B, we)) : D && (D.d(1), D = null), /*invalidPassword*/
|
|
4597
4650
|
v[15] && /*simplepasswordvalidation*/
|
|
4598
|
-
v[2] === "true" ? k ? k.p(v, P) : (k =
|
|
4651
|
+
v[2] === "true" ? k ? k.p(v, P) : (k = Hr(v), k.c(), k.m(B, null)) : k && (k.d(1), k = null), P[0] & /*invalidPassword*/
|
|
4599
4652
|
32768 && pe !== (pe = "PasswordContainer " + /*invalidPassword*/
|
|
4600
4653
|
(v[15] ? "InvalidField" : "")) && h(B, "class", pe), /*errorMessage*/
|
|
4601
|
-
v[16] ? G ? G.p(v, P) : (G =
|
|
4654
|
+
v[16] ? G ? G.p(v, P) : (G = Br(v), G.c(), G.m(g, xe)) : G && (G.d(1), G = null), P[0] & /*$_*/
|
|
4602
4655
|
4194304 && ge !== (ge = /*$_*/
|
|
4603
4656
|
v[22]("loginButton") + "") && re(Se, ge), P[0] & /*isFormDataInvalid*/
|
|
4604
4657
|
1048576 && (Q.disabled = /*isFormDataInvalid*/
|
|
@@ -4611,7 +4664,7 @@ function Jo(e) {
|
|
|
4611
4664
|
}
|
|
4612
4665
|
};
|
|
4613
4666
|
}
|
|
4614
|
-
function
|
|
4667
|
+
function es(e) {
|
|
4615
4668
|
let t;
|
|
4616
4669
|
return {
|
|
4617
4670
|
c() {
|
|
@@ -4705,7 +4758,7 @@ function Qo(e) {
|
|
|
4705
4758
|
}
|
|
4706
4759
|
};
|
|
4707
4760
|
}
|
|
4708
|
-
function
|
|
4761
|
+
function Pr(e) {
|
|
4709
4762
|
let t, r = (
|
|
4710
4763
|
/*$_*/
|
|
4711
4764
|
e[22]("loginUsernameError") + ""
|
|
@@ -4727,7 +4780,7 @@ function wr(e) {
|
|
|
4727
4780
|
}
|
|
4728
4781
|
};
|
|
4729
4782
|
}
|
|
4730
|
-
function
|
|
4783
|
+
function ts(e) {
|
|
4731
4784
|
let t, r, n, i, o, s, a, u, l;
|
|
4732
4785
|
return {
|
|
4733
4786
|
c() {
|
|
@@ -4747,7 +4800,7 @@ function Yo(e) {
|
|
|
4747
4800
|
}
|
|
4748
4801
|
};
|
|
4749
4802
|
}
|
|
4750
|
-
function
|
|
4803
|
+
function rs(e) {
|
|
4751
4804
|
let t, r, n, i, o, s, a, u, l, c, f, d, b, y, g;
|
|
4752
4805
|
return {
|
|
4753
4806
|
c() {
|
|
@@ -4767,7 +4820,7 @@ function Ko(e) {
|
|
|
4767
4820
|
}
|
|
4768
4821
|
};
|
|
4769
4822
|
}
|
|
4770
|
-
function
|
|
4823
|
+
function Tr(e) {
|
|
4771
4824
|
let t, r = (
|
|
4772
4825
|
/*$_*/
|
|
4773
4826
|
e[22]("loginPasswordError") + ""
|
|
@@ -4789,7 +4842,7 @@ function xr(e) {
|
|
|
4789
4842
|
}
|
|
4790
4843
|
};
|
|
4791
4844
|
}
|
|
4792
|
-
function
|
|
4845
|
+
function Hr(e) {
|
|
4793
4846
|
let t, r = (
|
|
4794
4847
|
/*$_*/
|
|
4795
4848
|
e[22]("loginSimplePasswordError") + ""
|
|
@@ -4811,7 +4864,7 @@ function Sr(e) {
|
|
|
4811
4864
|
}
|
|
4812
4865
|
};
|
|
4813
4866
|
}
|
|
4814
|
-
function
|
|
4867
|
+
function Br(e) {
|
|
4815
4868
|
let t, r;
|
|
4816
4869
|
return {
|
|
4817
4870
|
c() {
|
|
@@ -4836,21 +4889,21 @@ function Pr(e) {
|
|
|
4836
4889
|
}
|
|
4837
4890
|
};
|
|
4838
4891
|
}
|
|
4839
|
-
function
|
|
4892
|
+
function ns(e) {
|
|
4840
4893
|
let t, r, n, i, o, s = (
|
|
4841
4894
|
/*captchakey*/
|
|
4842
|
-
e[1] &&
|
|
4895
|
+
e[1] && Sr(e)
|
|
4843
4896
|
);
|
|
4844
4897
|
function a(c, f) {
|
|
4845
4898
|
return (
|
|
4846
4899
|
/*isLoading*/
|
|
4847
|
-
c[17] ?
|
|
4900
|
+
c[17] ? Yo : Qo
|
|
4848
4901
|
);
|
|
4849
4902
|
}
|
|
4850
4903
|
let u = a(e), l = u(e);
|
|
4851
4904
|
return {
|
|
4852
4905
|
c() {
|
|
4853
|
-
s && s.c(), t =
|
|
4906
|
+
s && s.c(), t = Sn(), r = j(), n = x("div"), i = j(), o = x("div"), l.c(), h(n, "class", "g-recaptcha"), h(
|
|
4854
4907
|
n,
|
|
4855
4908
|
"data-sitekey",
|
|
4856
4909
|
/*captchakey*/
|
|
@@ -4862,7 +4915,7 @@ function es(e) {
|
|
|
4862
4915
|
},
|
|
4863
4916
|
p(c, f) {
|
|
4864
4917
|
/*captchakey*/
|
|
4865
|
-
c[1] ? s ? s.p(c, f) : (s =
|
|
4918
|
+
c[1] ? s ? s.p(c, f) : (s = Sr(c), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
|
|
4866
4919
|
2 && h(
|
|
4867
4920
|
n,
|
|
4868
4921
|
"data-sitekey",
|
|
@@ -4877,27 +4930,27 @@ function es(e) {
|
|
|
4877
4930
|
}
|
|
4878
4931
|
};
|
|
4879
4932
|
}
|
|
4880
|
-
let
|
|
4881
|
-
function
|
|
4933
|
+
let is = "Please use this code {0} to activate your account";
|
|
4934
|
+
function os(e, t, r) {
|
|
4882
4935
|
let n;
|
|
4883
|
-
|
|
4936
|
+
_n(e, jo, (p) => r(22, n = p));
|
|
4884
4937
|
let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: u = "false" } = t, { mbsource: l } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: d = "" } = t, { savecredentials: b = "" } = t, y, g, S = !1, C, z = !1, R = window.navigator.userAgent, U = "", A = "", ne = { username: "", password: "" }, H = !1, oe = !1, fe = "", J = !1, ue, B = !1, ie = !0, X, De = +localStorage.getItem("smsTimer") || 0, qe = Date.now() / 1e3 - De, de = localStorage.getItem("smsValidation") == "true" && qe < 60, me = {
|
|
4885
4938
|
user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
|
|
4886
4939
|
email: /^[^<>()*{}=/|?`~[\]\\,;:\%#^\s@\"$&!@]+@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z0-9]+\.)+[a-zA-Z]{2,}))$/i,
|
|
4887
4940
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
|
|
4888
4941
|
};
|
|
4889
|
-
|
|
4942
|
+
Zo({ withLocale: "en", translations: {} });
|
|
4890
4943
|
const O = () => {
|
|
4891
4944
|
fetch(d).then((q) => q.json()).then((q) => {
|
|
4892
4945
|
Object.keys(q).forEach((te) => {
|
|
4893
|
-
|
|
4946
|
+
wr(te, q[te]);
|
|
4894
4947
|
});
|
|
4895
4948
|
}).catch((q) => {
|
|
4896
4949
|
console.log(q);
|
|
4897
4950
|
});
|
|
4898
4951
|
};
|
|
4899
|
-
Object.keys(
|
|
4900
|
-
|
|
4952
|
+
Object.keys(xr).forEach((p) => {
|
|
4953
|
+
wr(p, xr[p]);
|
|
4901
4954
|
});
|
|
4902
4955
|
const _e = () => new Promise((p, q) => {
|
|
4903
4956
|
grecaptcha.ready(() => {
|
|
@@ -4946,16 +4999,16 @@ function rs(e, t, r) {
|
|
|
4946
4999
|
typeof gtag == "function" && gtag("event", "Login", {
|
|
4947
5000
|
context: "GeneralPlayerLoginRegisterPage"
|
|
4948
5001
|
});
|
|
4949
|
-
}, $e = (
|
|
4950
|
-
let
|
|
5002
|
+
}, $e = (Wt) => et(this, [Wt], function* ({ username: p, password: q, token: te }) {
|
|
5003
|
+
let Zt = {
|
|
4951
5004
|
"Content-Type": "application/json",
|
|
4952
5005
|
"g-recaptcha-response": te
|
|
4953
|
-
}, bt = { username: p, password: q },
|
|
5006
|
+
}, bt = { username: p, password: q }, dn = {
|
|
4954
5007
|
method: "POST",
|
|
4955
|
-
headers:
|
|
5008
|
+
headers: Zt,
|
|
4956
5009
|
body: JSON.stringify(bt)
|
|
4957
5010
|
};
|
|
4958
|
-
fetch(`${i}/v1/player/login/player`,
|
|
5011
|
+
fetch(`${i}/v1/player/login/player`, dn).then(($) => ($.status >= 500 && (r(16, fe = "Server might not be responsing"), r(17, J = !1), window.postMessage(
|
|
4959
5012
|
{
|
|
4960
5013
|
type: "WidgetNotification",
|
|
4961
5014
|
data: {
|
|
@@ -5001,11 +5054,11 @@ function rs(e, t, r) {
|
|
|
5001
5054
|
window.location.href
|
|
5002
5055
|
);
|
|
5003
5056
|
} catch (je) {
|
|
5004
|
-
let
|
|
5005
|
-
r(16, fe =
|
|
5057
|
+
let qt = $.error.substring($.error.indexOf("errorMessage") + 13, $.error.length);
|
|
5058
|
+
r(16, fe = qt), r(17, J = !1), window.postMessage(
|
|
5006
5059
|
{
|
|
5007
5060
|
type: "WidgetNotification",
|
|
5008
|
-
data: { type: "error", message:
|
|
5061
|
+
data: { type: "error", message: qt }
|
|
5009
5062
|
},
|
|
5010
5063
|
window.location.href
|
|
5011
5064
|
);
|
|
@@ -5022,13 +5075,13 @@ function rs(e, t, r) {
|
|
|
5022
5075
|
},
|
|
5023
5076
|
body: JSON.stringify({
|
|
5024
5077
|
userId: q,
|
|
5025
|
-
messageTemplate:
|
|
5078
|
+
messageTemplate: is,
|
|
5026
5079
|
destination: p
|
|
5027
5080
|
})
|
|
5028
|
-
}),
|
|
5081
|
+
}), Wt = yield te.json();
|
|
5029
5082
|
if (te.ok) {
|
|
5030
|
-
r(9, g =
|
|
5031
|
-
let
|
|
5083
|
+
r(9, g = Wt.id);
|
|
5084
|
+
let Zt = Wt.maxValidationAttempts;
|
|
5032
5085
|
S = !1;
|
|
5033
5086
|
} else
|
|
5034
5087
|
throw S = !0, new Error("Failed to fetch");
|
|
@@ -5036,9 +5089,9 @@ function rs(e, t, r) {
|
|
|
5036
5089
|
S = !0, console.error(te);
|
|
5037
5090
|
}
|
|
5038
5091
|
}), F = () => {
|
|
5039
|
-
|
|
5092
|
+
qo(s);
|
|
5040
5093
|
};
|
|
5041
|
-
|
|
5094
|
+
Bn(() => (window.addEventListener("message", ve, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(11, z = Vo(R)), () => {
|
|
5042
5095
|
window.removeEventListener("message", ve);
|
|
5043
5096
|
}));
|
|
5044
5097
|
const Ke = () => ke();
|
|
@@ -5054,7 +5107,7 @@ function rs(e, t, r) {
|
|
|
5054
5107
|
});
|
|
5055
5108
|
}
|
|
5056
5109
|
const k = () => we(), G = () => Ee(), v = (p) => Q(p), P = (p) => xe(p);
|
|
5057
|
-
function
|
|
5110
|
+
function fn(p) {
|
|
5058
5111
|
ut[p ? "unshift" : "push"](() => {
|
|
5059
5112
|
X = p, r(7, X);
|
|
5060
5113
|
});
|
|
@@ -5065,9 +5118,9 @@ function rs(e, t, r) {
|
|
|
5065
5118
|
e.$$.dirty[0] & /*endpoint, lang*/
|
|
5066
5119
|
1073741825 && i && s && F(), e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
5067
5120
|
4 && u && Je(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5068
|
-
144 && c && X &&
|
|
5069
|
-
160 && f && X &&
|
|
5070
|
-
136 && l && X &&
|
|
5121
|
+
144 && c && X && zo(X, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5122
|
+
160 && f && X && Xo(X, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
5123
|
+
136 && l && X && Wo(X, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
|
|
5071
5124
|
2 && d && O();
|
|
5072
5125
|
}, [
|
|
5073
5126
|
i,
|
|
@@ -5111,17 +5164,17 @@ function rs(e, t, r) {
|
|
|
5111
5164
|
G,
|
|
5112
5165
|
v,
|
|
5113
5166
|
P,
|
|
5114
|
-
|
|
5167
|
+
fn
|
|
5115
5168
|
];
|
|
5116
5169
|
}
|
|
5117
|
-
class
|
|
5170
|
+
class hn extends kn {
|
|
5118
5171
|
constructor(t) {
|
|
5119
|
-
super(),
|
|
5172
|
+
super(), Fn(
|
|
5120
5173
|
this,
|
|
5121
5174
|
t,
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5175
|
+
os,
|
|
5176
|
+
ns,
|
|
5177
|
+
Ir,
|
|
5125
5178
|
{
|
|
5126
5179
|
endpoint: 0,
|
|
5127
5180
|
captchakey: 1,
|
|
@@ -5134,7 +5187,7 @@ class an extends Rn {
|
|
|
5134
5187
|
translationurl: 32,
|
|
5135
5188
|
savecredentials: 6
|
|
5136
5189
|
},
|
|
5137
|
-
|
|
5190
|
+
Jo,
|
|
5138
5191
|
[-1, -1]
|
|
5139
5192
|
);
|
|
5140
5193
|
}
|
|
@@ -5199,39 +5252,39 @@ class an extends Rn {
|
|
|
5199
5252
|
this.$$set({ savecredentials: t }), ee();
|
|
5200
5253
|
}
|
|
5201
5254
|
}
|
|
5202
|
-
|
|
5203
|
-
const
|
|
5255
|
+
Dn(hn, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
|
|
5256
|
+
const as = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5204
5257
|
__proto__: null,
|
|
5205
|
-
default:
|
|
5258
|
+
default: hn
|
|
5206
5259
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5207
5260
|
export {
|
|
5208
5261
|
he as $,
|
|
5209
|
-
|
|
5210
|
-
|
|
5262
|
+
as as G,
|
|
5263
|
+
kn as S,
|
|
5211
5264
|
Ue as a,
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
|
|
5265
|
+
sn as b,
|
|
5266
|
+
Dn as c,
|
|
5267
|
+
En as d,
|
|
5268
|
+
x as e,
|
|
5216
5269
|
ee as f,
|
|
5217
|
-
|
|
5270
|
+
j as g,
|
|
5218
5271
|
h,
|
|
5219
|
-
|
|
5272
|
+
Fn as i,
|
|
5220
5273
|
M as j,
|
|
5221
5274
|
m as k,
|
|
5222
|
-
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
5275
|
+
rt as l,
|
|
5276
|
+
se as m,
|
|
5277
|
+
re as n,
|
|
5278
|
+
Z as o,
|
|
5279
|
+
I as p,
|
|
5280
|
+
_n as q,
|
|
5228
5281
|
Ne as r,
|
|
5229
|
-
|
|
5282
|
+
Ir as s,
|
|
5230
5283
|
N as t,
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5284
|
+
Bn as u,
|
|
5285
|
+
Xo as v,
|
|
5286
|
+
Wo as w,
|
|
5287
|
+
ut as x,
|
|
5288
|
+
zo as y,
|
|
5289
|
+
jo as z
|
|
5237
5290
|
};
|