@everymatrix/general-player-login-form 1.54.6 → 1.54.9
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-BSYjhcAL.cjs +5 -0
- package/components/{GeneralPlayerLoginForm-MMmgBHKW.js → GeneralPlayerLoginForm-CWtUjEfm.js} +491 -499
- package/components/GeneralPlayerLoginForm-CvvPuW0t.js +5212 -0
- package/components/GeneralPlayerSmsVerificationForm-CmqTxkUU.js +558 -0
- package/components/{GeneralPlayerSmsVerificationForm-COg-pr9r.js → GeneralPlayerSmsVerificationForm-H1CjJeVy.js} +18 -18
- package/components/GeneralPlayerSmsVerificationForm-LRjnASc6.cjs +1 -0
- package/es2015/general-player-login-form.cjs +1 -0
- package/es2015/general-player-login-form.js +16 -0
- package/esnext/general-player-login-form.js +1 -1
- package/package.json +1 -1
package/components/{GeneralPlayerLoginForm-MMmgBHKW.js → GeneralPlayerLoginForm-CWtUjEfm.js}
RENAMED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function Z() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function _r(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function jt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function Oe(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(_r);
|
|
11
11
|
}
|
|
12
12
|
function Dt(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Er(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
18
|
let tt;
|
|
19
|
-
function
|
|
19
|
+
function Vt(e, t) {
|
|
20
20
|
return e === t ? !0 : (tt || (tt = document.createElement("a")), tt.href = t, e === tt.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function nn(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function wr(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
@@ -31,24 +31,24 @@ function xr(e, ...t) {
|
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function on(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(wr(t, r));
|
|
36
36
|
}
|
|
37
|
-
const
|
|
37
|
+
const sn = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
|
|
38
38
|
// @ts-ignore Node typings have this
|
|
39
39
|
global
|
|
40
40
|
);
|
|
41
41
|
function m(e, t) {
|
|
42
42
|
e.appendChild(t);
|
|
43
43
|
}
|
|
44
|
-
function
|
|
45
|
-
const n =
|
|
44
|
+
function an(e, t, r) {
|
|
45
|
+
const n = ln(e);
|
|
46
46
|
if (!n.getElementById(t)) {
|
|
47
47
|
const i = S("style");
|
|
48
|
-
i.id = t, i.textContent = r,
|
|
48
|
+
i.id = t, i.textContent = r, un(n, i);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function ln(e) {
|
|
52
52
|
if (!e) return document;
|
|
53
53
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
54
54
|
return t && /** @type {ShadowRoot} */
|
|
@@ -57,7 +57,7 @@ function un(e) {
|
|
|
57
57
|
t
|
|
58
58
|
) : e.ownerDocument;
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function un(e, t) {
|
|
61
61
|
return m(
|
|
62
62
|
/** @type {Document} */
|
|
63
63
|
e.head || e,
|
|
@@ -82,7 +82,7 @@ function N(e) {
|
|
|
82
82
|
function z() {
|
|
83
83
|
return N(" ");
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function cn() {
|
|
86
86
|
return N("");
|
|
87
87
|
}
|
|
88
88
|
function se(e, t, r, n) {
|
|
@@ -95,7 +95,7 @@ function Y(e, t, r) {
|
|
|
95
95
|
const n = t.toLowerCase();
|
|
96
96
|
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);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function hn(e) {
|
|
99
99
|
return Array.from(e.childNodes);
|
|
100
100
|
}
|
|
101
101
|
function te(e, t) {
|
|
@@ -105,7 +105,7 @@ function te(e, t) {
|
|
|
105
105
|
function rt(e, t) {
|
|
106
106
|
e.value = t ?? "";
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function fn(e) {
|
|
109
109
|
const t = {};
|
|
110
110
|
return e.childNodes.forEach(
|
|
111
111
|
/** @param {Element} node */
|
|
@@ -118,19 +118,19 @@ let Xe;
|
|
|
118
118
|
function ze(e) {
|
|
119
119
|
Xe = e;
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function dn() {
|
|
122
122
|
if (!Xe) throw new Error("Function called outside component initialization");
|
|
123
123
|
return Xe;
|
|
124
124
|
}
|
|
125
|
-
function
|
|
126
|
-
|
|
125
|
+
function mn(e) {
|
|
126
|
+
dn().$$.on_mount.push(e);
|
|
127
127
|
}
|
|
128
128
|
const Pe = [], ut = [];
|
|
129
129
|
let Te = [];
|
|
130
|
-
const
|
|
130
|
+
const zt = [], pn = /* @__PURE__ */ Promise.resolve();
|
|
131
131
|
let St = !1;
|
|
132
|
-
function
|
|
133
|
-
St || (St = !0,
|
|
132
|
+
function gn() {
|
|
133
|
+
St || (St = !0, pn.then(ee));
|
|
134
134
|
}
|
|
135
135
|
function Pt(e) {
|
|
136
136
|
Te.push(e);
|
|
@@ -145,7 +145,7 @@ function ee() {
|
|
|
145
145
|
try {
|
|
146
146
|
for (; xe < Pe.length; ) {
|
|
147
147
|
const t = Pe[xe];
|
|
148
|
-
xe++, ze(t),
|
|
148
|
+
xe++, ze(t), bn(t.$$);
|
|
149
149
|
}
|
|
150
150
|
} catch (t) {
|
|
151
151
|
throw Pe.length = 0, xe = 0, t;
|
|
@@ -157,11 +157,11 @@ function ee() {
|
|
|
157
157
|
}
|
|
158
158
|
Te.length = 0;
|
|
159
159
|
} while (Pe.length);
|
|
160
|
-
for (;
|
|
161
|
-
|
|
160
|
+
for (; zt.length; )
|
|
161
|
+
zt.pop()();
|
|
162
162
|
St = !1, bt.clear(), ze(e);
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function bn(e) {
|
|
165
165
|
if (e.fragment !== null) {
|
|
166
166
|
e.update(), Oe(e.before_update);
|
|
167
167
|
const t = e.dirty;
|
|
@@ -172,25 +172,25 @@ function vn(e) {
|
|
|
172
172
|
const t = [], r = [];
|
|
173
173
|
Te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Te = t;
|
|
174
174
|
}
|
|
175
|
-
const
|
|
176
|
-
function
|
|
177
|
-
e && e.i && (
|
|
175
|
+
const yn = /* @__PURE__ */ new Set();
|
|
176
|
+
function _n(e, t) {
|
|
177
|
+
e && e.i && (yn.delete(e), e.i(t));
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function En(e, t, r) {
|
|
180
180
|
const { fragment: n, after_update: i } = e.$$;
|
|
181
181
|
n && n.m(t, r), Pt(() => {
|
|
182
|
-
const o = e.$$.on_mount.map(
|
|
182
|
+
const o = e.$$.on_mount.map(_r).filter(Dt);
|
|
183
183
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Oe(o), e.$$.on_mount = [];
|
|
184
184
|
}), i.forEach(Pt);
|
|
185
185
|
}
|
|
186
|
-
function
|
|
186
|
+
function wn(e, t) {
|
|
187
187
|
const r = e.$$;
|
|
188
188
|
r.fragment !== null && (vn(r.after_update), Oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
189
189
|
}
|
|
190
|
-
function
|
|
191
|
-
e.$$.dirty[0] === -1 && (Pe.push(e),
|
|
190
|
+
function xn(e, t) {
|
|
191
|
+
e.$$.dirty[0] === -1 && (Pe.push(e), gn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function Sn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
194
194
|
const c = Xe;
|
|
195
195
|
ze(e);
|
|
196
196
|
const l = e.$$ = {
|
|
@@ -200,7 +200,7 @@ function Pn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
200
200
|
props: o,
|
|
201
201
|
update: Z,
|
|
202
202
|
not_equal: i,
|
|
203
|
-
bound:
|
|
203
|
+
bound: jt(),
|
|
204
204
|
// lifecycle
|
|
205
205
|
on_mount: [],
|
|
206
206
|
on_destroy: [],
|
|
@@ -209,7 +209,7 @@ function Pn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
209
209
|
after_update: [],
|
|
210
210
|
context: new Map(t.context || (c ? c.$$.context : [])),
|
|
211
211
|
// everything else
|
|
212
|
-
callbacks:
|
|
212
|
+
callbacks: jt(),
|
|
213
213
|
dirty: a,
|
|
214
214
|
skip_bound: !1,
|
|
215
215
|
root: t.target || c.$$.root
|
|
@@ -217,20 +217,20 @@ function Pn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
217
217
|
s && s(l.root);
|
|
218
218
|
let u = !1;
|
|
219
219
|
if (l.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
|
|
220
|
-
const
|
|
221
|
-
return l.ctx && i(l.ctx[f], l.ctx[f] =
|
|
220
|
+
const y = b.length ? b[0] : d;
|
|
221
|
+
return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), u && xn(e, f)), d;
|
|
222
222
|
}) : [], l.update(), u = !0, Oe(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
223
223
|
if (t.hydrate) {
|
|
224
|
-
const f =
|
|
224
|
+
const f = hn(t.target);
|
|
225
225
|
l.fragment && l.fragment.l(f), f.forEach(I);
|
|
226
226
|
} else
|
|
227
227
|
l.fragment && l.fragment.c();
|
|
228
|
-
t.intro &&
|
|
228
|
+
t.intro && _n(e.$$.fragment), En(e, t.target, t.anchor), ee();
|
|
229
229
|
}
|
|
230
230
|
ze(c);
|
|
231
231
|
}
|
|
232
|
-
let
|
|
233
|
-
typeof HTMLElement == "function" && (
|
|
232
|
+
let xr;
|
|
233
|
+
typeof HTMLElement == "function" && (xr = class extends HTMLElement {
|
|
234
234
|
/** The Svelte component constructor */
|
|
235
235
|
$$ctor;
|
|
236
236
|
/** Slots */
|
|
@@ -289,7 +289,7 @@ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
|
|
|
289
289
|
};
|
|
290
290
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
291
291
|
return;
|
|
292
|
-
const t = {}, r =
|
|
292
|
+
const t = {}, r = fn(this);
|
|
293
293
|
for (const i of this.$$s)
|
|
294
294
|
i in r && (t[i] = [e(i)]);
|
|
295
295
|
for (const i of this.attributes) {
|
|
@@ -376,8 +376,8 @@ function ot(e, t, r, n) {
|
|
|
376
376
|
return t;
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
|
-
function
|
|
380
|
-
let s = class extends
|
|
379
|
+
function Pn(e, t, r, n, i, o) {
|
|
380
|
+
let s = class extends xr {
|
|
381
381
|
constructor() {
|
|
382
382
|
super(e, r, i), this.$$p_d = t;
|
|
383
383
|
}
|
|
@@ -405,7 +405,7 @@ function Tn(e, t, r, n, i, o) {
|
|
|
405
405
|
}), e.element = /** @type {any} */
|
|
406
406
|
s, s;
|
|
407
407
|
}
|
|
408
|
-
class
|
|
408
|
+
class Tn {
|
|
409
409
|
/**
|
|
410
410
|
* ### PRIVATE API
|
|
411
411
|
*
|
|
@@ -424,7 +424,7 @@ class Hn {
|
|
|
424
424
|
$$set = void 0;
|
|
425
425
|
/** @returns {void} */
|
|
426
426
|
$destroy() {
|
|
427
|
-
|
|
427
|
+
wn(this, 1), this.$destroy = Z;
|
|
428
428
|
}
|
|
429
429
|
/**
|
|
430
430
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -446,11 +446,11 @@ class Hn {
|
|
|
446
446
|
* @returns {void}
|
|
447
447
|
*/
|
|
448
448
|
$set(t) {
|
|
449
|
-
this.$$set && !
|
|
449
|
+
this.$$set && !nn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
450
450
|
}
|
|
451
451
|
}
|
|
452
|
-
const
|
|
453
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
452
|
+
const Hn = "4";
|
|
453
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hn);
|
|
454
454
|
var Tt = function(e, t) {
|
|
455
455
|
return Tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
456
456
|
r.__proto__ = n;
|
|
@@ -476,7 +476,7 @@ var w = function() {
|
|
|
476
476
|
return t;
|
|
477
477
|
}, w.apply(this, arguments);
|
|
478
478
|
};
|
|
479
|
-
function
|
|
479
|
+
function Bn(e, t) {
|
|
480
480
|
var r = {};
|
|
481
481
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
482
482
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -519,13 +519,13 @@ function He(e, t, r) {
|
|
|
519
519
|
function ae(e) {
|
|
520
520
|
return typeof e == "function";
|
|
521
521
|
}
|
|
522
|
-
function
|
|
522
|
+
function Sr(e) {
|
|
523
523
|
var t = function(n) {
|
|
524
524
|
Error.call(n), n.stack = new Error().stack;
|
|
525
525
|
}, r = e(t);
|
|
526
526
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
527
527
|
}
|
|
528
|
-
var
|
|
528
|
+
var vt = Sr(function(e) {
|
|
529
529
|
return function(r) {
|
|
530
530
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
531
531
|
` + r.map(function(n, i) {
|
|
@@ -572,18 +572,18 @@ var ft = function() {
|
|
|
572
572
|
try {
|
|
573
573
|
u();
|
|
574
574
|
} catch (g) {
|
|
575
|
-
o = g instanceof
|
|
575
|
+
o = g instanceof vt ? g.errors : [g];
|
|
576
576
|
}
|
|
577
577
|
var f = this._finalizers;
|
|
578
578
|
if (f) {
|
|
579
579
|
this._finalizers = null;
|
|
580
580
|
try {
|
|
581
581
|
for (var d = Ht(f), b = d.next(); !b.done; b = d.next()) {
|
|
582
|
-
var
|
|
582
|
+
var y = b.value;
|
|
583
583
|
try {
|
|
584
|
-
|
|
584
|
+
Xt(y);
|
|
585
585
|
} catch (g) {
|
|
586
|
-
o = o ?? [], g instanceof
|
|
586
|
+
o = o ?? [], g instanceof vt ? o = He(He([], Bt(o)), Bt(g.errors)) : o.push(g);
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
589
|
} catch (g) {
|
|
@@ -597,13 +597,13 @@ var ft = function() {
|
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
599
|
if (o)
|
|
600
|
-
throw new
|
|
600
|
+
throw new vt(o);
|
|
601
601
|
}
|
|
602
602
|
}, e.prototype.add = function(t) {
|
|
603
603
|
var r;
|
|
604
604
|
if (t && t !== this)
|
|
605
605
|
if (this.closed)
|
|
606
|
-
|
|
606
|
+
Xt(t);
|
|
607
607
|
else {
|
|
608
608
|
if (t instanceof e) {
|
|
609
609
|
if (t.closed || t._hasParent(this))
|
|
@@ -628,20 +628,16 @@ var ft = function() {
|
|
|
628
628
|
var t = new e();
|
|
629
629
|
return t.closed = !0, t;
|
|
630
630
|
}(), e;
|
|
631
|
-
}(),
|
|
632
|
-
function
|
|
631
|
+
}(), Pr = ft.EMPTY;
|
|
632
|
+
function Tr(e) {
|
|
633
633
|
return e instanceof ft || e && "closed" in e && ae(e.remove) && ae(e.add) && ae(e.unsubscribe);
|
|
634
634
|
}
|
|
635
|
-
function
|
|
635
|
+
function Xt(e) {
|
|
636
636
|
ae(e) ? e() : e.unsubscribe();
|
|
637
637
|
}
|
|
638
|
-
var
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
Promise: void 0,
|
|
642
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
643
|
-
useDeprecatedNextContext: !1
|
|
644
|
-
}, Cn = {
|
|
638
|
+
var An = {
|
|
639
|
+
Promise: void 0
|
|
640
|
+
}, In = {
|
|
645
641
|
setTimeout: function(e, t) {
|
|
646
642
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
647
643
|
r[n - 2] = arguments[n];
|
|
@@ -652,21 +648,21 @@ var In = {
|
|
|
652
648
|
},
|
|
653
649
|
delegate: void 0
|
|
654
650
|
};
|
|
655
|
-
function
|
|
656
|
-
|
|
651
|
+
function Cn(e) {
|
|
652
|
+
In.setTimeout(function() {
|
|
657
653
|
throw e;
|
|
658
654
|
});
|
|
659
655
|
}
|
|
660
|
-
function
|
|
656
|
+
function Wt() {
|
|
661
657
|
}
|
|
662
658
|
function st(e) {
|
|
663
659
|
e();
|
|
664
660
|
}
|
|
665
|
-
var
|
|
661
|
+
var Hr = function(e) {
|
|
666
662
|
le(t, e);
|
|
667
663
|
function t(r) {
|
|
668
664
|
var n = e.call(this) || this;
|
|
669
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
665
|
+
return n.isStopped = !1, r ? (n.destination = r, Tr(r) && r.add(n)) : n.destination = Mn, n;
|
|
670
666
|
}
|
|
671
667
|
return t.create = function(r, n, i) {
|
|
672
668
|
return new It(r, n, i);
|
|
@@ -693,7 +689,7 @@ var Br = function(e) {
|
|
|
693
689
|
this.unsubscribe();
|
|
694
690
|
}
|
|
695
691
|
}, t;
|
|
696
|
-
}(ft),
|
|
692
|
+
}(ft), On = function() {
|
|
697
693
|
function e(t) {
|
|
698
694
|
this.partialObserver = t;
|
|
699
695
|
}
|
|
@@ -732,35 +728,35 @@ var Br = function(e) {
|
|
|
732
728
|
next: r ?? void 0,
|
|
733
729
|
error: n ?? void 0,
|
|
734
730
|
complete: i ?? void 0
|
|
735
|
-
} : s = r, o.destination = new
|
|
731
|
+
} : s = r, o.destination = new On(s), o;
|
|
736
732
|
}
|
|
737
733
|
return t;
|
|
738
|
-
}(
|
|
734
|
+
}(Hr);
|
|
739
735
|
function nt(e) {
|
|
740
|
-
|
|
736
|
+
Cn(e);
|
|
741
737
|
}
|
|
742
|
-
function
|
|
738
|
+
function Ln(e) {
|
|
743
739
|
throw e;
|
|
744
740
|
}
|
|
745
|
-
var
|
|
741
|
+
var Mn = {
|
|
746
742
|
closed: !0,
|
|
747
|
-
next:
|
|
748
|
-
error:
|
|
749
|
-
complete:
|
|
750
|
-
},
|
|
743
|
+
next: Wt,
|
|
744
|
+
error: Ln,
|
|
745
|
+
complete: Wt
|
|
746
|
+
}, Nn = function() {
|
|
751
747
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
752
748
|
}();
|
|
753
|
-
function
|
|
749
|
+
function Rn(e) {
|
|
754
750
|
return e;
|
|
755
751
|
}
|
|
756
|
-
function
|
|
757
|
-
return e.length === 0 ?
|
|
752
|
+
function Un(e) {
|
|
753
|
+
return e.length === 0 ? Rn : e.length === 1 ? e[0] : function(r) {
|
|
758
754
|
return e.reduce(function(n, i) {
|
|
759
755
|
return i(n);
|
|
760
756
|
}, r);
|
|
761
757
|
};
|
|
762
758
|
}
|
|
763
|
-
var
|
|
759
|
+
var Zt = function() {
|
|
764
760
|
function e(t) {
|
|
765
761
|
t && (this._subscribe = t);
|
|
766
762
|
}
|
|
@@ -768,7 +764,7 @@ var qt = function() {
|
|
|
768
764
|
var r = new e();
|
|
769
765
|
return r.source = this, r.operator = t, r;
|
|
770
766
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
771
|
-
var i = this, o =
|
|
767
|
+
var i = this, o = Dn(t) ? t : new It(t, r, n);
|
|
772
768
|
return st(function() {
|
|
773
769
|
var s = i, a = s.operator, c = s.source;
|
|
774
770
|
o.add(a ? a.call(o, c) : c ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -781,7 +777,7 @@ var qt = function() {
|
|
|
781
777
|
}
|
|
782
778
|
}, e.prototype.forEach = function(t, r) {
|
|
783
779
|
var n = this;
|
|
784
|
-
return r =
|
|
780
|
+
return r = qt(r), new r(function(i, o) {
|
|
785
781
|
var s = new It({
|
|
786
782
|
next: function(a) {
|
|
787
783
|
try {
|
|
@@ -798,15 +794,15 @@ var qt = function() {
|
|
|
798
794
|
}, e.prototype._subscribe = function(t) {
|
|
799
795
|
var r;
|
|
800
796
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
801
|
-
}, e.prototype[
|
|
797
|
+
}, e.prototype[Nn] = function() {
|
|
802
798
|
return this;
|
|
803
799
|
}, e.prototype.pipe = function() {
|
|
804
800
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
805
801
|
t[r] = arguments[r];
|
|
806
|
-
return
|
|
802
|
+
return Un(t)(this);
|
|
807
803
|
}, e.prototype.toPromise = function(t) {
|
|
808
804
|
var r = this;
|
|
809
|
-
return t =
|
|
805
|
+
return t = qt(t), new t(function(n, i) {
|
|
810
806
|
var o;
|
|
811
807
|
r.subscribe(function(s) {
|
|
812
808
|
return o = s;
|
|
@@ -820,32 +816,32 @@ var qt = function() {
|
|
|
820
816
|
return new e(t);
|
|
821
817
|
}, e;
|
|
822
818
|
}();
|
|
823
|
-
function
|
|
819
|
+
function qt(e) {
|
|
824
820
|
var t;
|
|
825
|
-
return (t = e ??
|
|
821
|
+
return (t = e ?? An.Promise) !== null && t !== void 0 ? t : Promise;
|
|
826
822
|
}
|
|
827
|
-
function
|
|
823
|
+
function Fn(e) {
|
|
828
824
|
return e && ae(e.next) && ae(e.error) && ae(e.complete);
|
|
829
825
|
}
|
|
830
|
-
function
|
|
831
|
-
return e && e instanceof
|
|
826
|
+
function Dn(e) {
|
|
827
|
+
return e && e instanceof Hr || Fn(e) && Tr(e);
|
|
832
828
|
}
|
|
833
|
-
var
|
|
829
|
+
var kn = Sr(function(e) {
|
|
834
830
|
return function() {
|
|
835
831
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
836
832
|
};
|
|
837
|
-
}),
|
|
833
|
+
}), Br = function(e) {
|
|
838
834
|
le(t, e);
|
|
839
835
|
function t() {
|
|
840
836
|
var r = e.call(this) || this;
|
|
841
837
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
842
838
|
}
|
|
843
839
|
return t.prototype.lift = function(r) {
|
|
844
|
-
var n = new
|
|
840
|
+
var n = new Jt(this, this);
|
|
845
841
|
return n.operator = r, n;
|
|
846
842
|
}, t.prototype._throwIfClosed = function() {
|
|
847
843
|
if (this.closed)
|
|
848
|
-
throw new
|
|
844
|
+
throw new kn();
|
|
849
845
|
}, t.prototype.next = function(r) {
|
|
850
846
|
var n = this;
|
|
851
847
|
st(function() {
|
|
@@ -901,19 +897,19 @@ var $n = Pr(function(e) {
|
|
|
901
897
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
902
898
|
}, t.prototype._innerSubscribe = function(r) {
|
|
903
899
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
904
|
-
return o || s ?
|
|
900
|
+
return o || s ? Pr : (this.currentObservers = null, a.push(r), new ft(function() {
|
|
905
901
|
n.currentObservers = null, At(a, r);
|
|
906
902
|
}));
|
|
907
903
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
908
904
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
909
905
|
i ? r.error(o) : s && r.complete();
|
|
910
906
|
}, t.prototype.asObservable = function() {
|
|
911
|
-
var r = new
|
|
907
|
+
var r = new Zt();
|
|
912
908
|
return r.source = this, r;
|
|
913
909
|
}, t.create = function(r, n) {
|
|
914
|
-
return new
|
|
910
|
+
return new Jt(r, n);
|
|
915
911
|
}, t;
|
|
916
|
-
}(
|
|
912
|
+
}(Zt), Jt = function(e) {
|
|
917
913
|
le(t, e);
|
|
918
914
|
function t(r, n) {
|
|
919
915
|
var i = e.call(this) || this;
|
|
@@ -930,17 +926,17 @@ var $n = Pr(function(e) {
|
|
|
930
926
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
931
927
|
}, t.prototype._subscribe = function(r) {
|
|
932
928
|
var n, i;
|
|
933
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
929
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Pr;
|
|
934
930
|
}, t;
|
|
935
|
-
}(
|
|
931
|
+
}(Br), Ar = {
|
|
936
932
|
now: function() {
|
|
937
|
-
return (
|
|
933
|
+
return (Ar.delegate || Date).now();
|
|
938
934
|
},
|
|
939
935
|
delegate: void 0
|
|
940
|
-
},
|
|
936
|
+
}, $n = function(e) {
|
|
941
937
|
le(t, e);
|
|
942
938
|
function t(r, n, i) {
|
|
943
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
939
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ar);
|
|
944
940
|
var o = e.call(this) || this;
|
|
945
941
|
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;
|
|
946
942
|
}
|
|
@@ -960,15 +956,15 @@ var $n = Pr(function(e) {
|
|
|
960
956
|
l && o.splice(0, l + 1);
|
|
961
957
|
}
|
|
962
958
|
}, t;
|
|
963
|
-
}(
|
|
964
|
-
const
|
|
965
|
-
if (
|
|
966
|
-
const r = new
|
|
967
|
-
|
|
959
|
+
}(Br);
|
|
960
|
+
const Qt = [], Yt = {}, Gn = (e, t = 0) => {
|
|
961
|
+
if (Qt.indexOf(e) == -1) {
|
|
962
|
+
const r = new $n(t);
|
|
963
|
+
Yt[e] = r, Qt.push(e);
|
|
968
964
|
}
|
|
969
|
-
return
|
|
965
|
+
return Yt[e];
|
|
970
966
|
}, Se = [];
|
|
971
|
-
function
|
|
967
|
+
function jn(e, t) {
|
|
972
968
|
return {
|
|
973
969
|
subscribe: dt(e, t).subscribe
|
|
974
970
|
};
|
|
@@ -977,7 +973,7 @@ function dt(e, t = Z) {
|
|
|
977
973
|
let r;
|
|
978
974
|
const n = /* @__PURE__ */ new Set();
|
|
979
975
|
function i(a) {
|
|
980
|
-
if (
|
|
976
|
+
if (Er(e, a) && (e = a, r)) {
|
|
981
977
|
const c = !Se.length;
|
|
982
978
|
for (const l of n)
|
|
983
979
|
l[1](), Se.push(l, e);
|
|
@@ -1004,7 +1000,7 @@ function Le(e, t, r) {
|
|
|
1004
1000
|
if (!i.every(Boolean))
|
|
1005
1001
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1006
1002
|
const o = t.length < 2;
|
|
1007
|
-
return
|
|
1003
|
+
return jn(r, (s, a) => {
|
|
1008
1004
|
let c = !1;
|
|
1009
1005
|
const l = [];
|
|
1010
1006
|
let u = 0, f = Z;
|
|
@@ -1012,11 +1008,11 @@ function Le(e, t, r) {
|
|
|
1012
1008
|
if (u)
|
|
1013
1009
|
return;
|
|
1014
1010
|
f();
|
|
1015
|
-
const
|
|
1016
|
-
o ? s(
|
|
1011
|
+
const y = t(n ? l[0] : l, s, a);
|
|
1012
|
+
o ? s(y) : f = Dt(y) ? y : Z;
|
|
1017
1013
|
}, b = i.map(
|
|
1018
|
-
(
|
|
1019
|
-
|
|
1014
|
+
(y, g) => wr(
|
|
1015
|
+
y,
|
|
1020
1016
|
(x) => {
|
|
1021
1017
|
l[g] = x, u &= ~(1 << g), c && d();
|
|
1022
1018
|
},
|
|
@@ -1030,70 +1026,70 @@ function Le(e, t, r) {
|
|
|
1030
1026
|
};
|
|
1031
1027
|
});
|
|
1032
1028
|
}
|
|
1033
|
-
function
|
|
1034
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1029
|
+
function Vn(e) {
|
|
1030
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1035
1031
|
}
|
|
1036
|
-
var
|
|
1037
|
-
return
|
|
1032
|
+
var zn = function(t) {
|
|
1033
|
+
return Xn(t) && !Wn(t);
|
|
1038
1034
|
};
|
|
1039
|
-
function
|
|
1035
|
+
function Xn(e) {
|
|
1040
1036
|
return !!e && typeof e == "object";
|
|
1041
1037
|
}
|
|
1042
|
-
function
|
|
1038
|
+
function Wn(e) {
|
|
1043
1039
|
var t = Object.prototype.toString.call(e);
|
|
1044
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1040
|
+
return t === "[object RegExp]" || t === "[object Date]" || Jn(e);
|
|
1045
1041
|
}
|
|
1046
|
-
var
|
|
1047
|
-
function
|
|
1048
|
-
return e.$$typeof ===
|
|
1042
|
+
var Zn = typeof Symbol == "function" && Symbol.for, qn = Zn ? Symbol.for("react.element") : 60103;
|
|
1043
|
+
function Jn(e) {
|
|
1044
|
+
return e.$$typeof === qn;
|
|
1049
1045
|
}
|
|
1050
|
-
function
|
|
1046
|
+
function Qn(e) {
|
|
1051
1047
|
return Array.isArray(e) ? [] : {};
|
|
1052
1048
|
}
|
|
1053
1049
|
function We(e, t) {
|
|
1054
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Be(
|
|
1050
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Be(Qn(e), e, t) : e;
|
|
1055
1051
|
}
|
|
1056
|
-
function
|
|
1052
|
+
function Yn(e, t, r) {
|
|
1057
1053
|
return e.concat(t).map(function(n) {
|
|
1058
1054
|
return We(n, r);
|
|
1059
1055
|
});
|
|
1060
1056
|
}
|
|
1061
|
-
function
|
|
1057
|
+
function Kn(e, t) {
|
|
1062
1058
|
if (!t.customMerge)
|
|
1063
1059
|
return Be;
|
|
1064
1060
|
var r = t.customMerge(e);
|
|
1065
1061
|
return typeof r == "function" ? r : Be;
|
|
1066
1062
|
}
|
|
1067
|
-
function
|
|
1063
|
+
function ei(e) {
|
|
1068
1064
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1069
1065
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1070
1066
|
}) : [];
|
|
1071
1067
|
}
|
|
1072
|
-
function
|
|
1073
|
-
return Object.keys(e).concat(
|
|
1068
|
+
function Kt(e) {
|
|
1069
|
+
return Object.keys(e).concat(ei(e));
|
|
1074
1070
|
}
|
|
1075
|
-
function
|
|
1071
|
+
function Ir(e, t) {
|
|
1076
1072
|
try {
|
|
1077
1073
|
return t in e;
|
|
1078
1074
|
} catch {
|
|
1079
1075
|
return !1;
|
|
1080
1076
|
}
|
|
1081
1077
|
}
|
|
1082
|
-
function
|
|
1083
|
-
return
|
|
1078
|
+
function ti(e, t) {
|
|
1079
|
+
return Ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1084
1080
|
}
|
|
1085
|
-
function
|
|
1081
|
+
function ri(e, t, r) {
|
|
1086
1082
|
var n = {};
|
|
1087
|
-
return r.isMergeableObject(e) &&
|
|
1083
|
+
return r.isMergeableObject(e) && Kt(e).forEach(function(i) {
|
|
1088
1084
|
n[i] = We(e[i], r);
|
|
1089
|
-
}),
|
|
1090
|
-
|
|
1085
|
+
}), Kt(t).forEach(function(i) {
|
|
1086
|
+
ti(e, i) || (Ir(e, i) && r.isMergeableObject(t[i]) ? n[i] = Kn(i, r)(e[i], t[i], r) : n[i] = We(t[i], r));
|
|
1091
1087
|
}), n;
|
|
1092
1088
|
}
|
|
1093
1089
|
function Be(e, t, r) {
|
|
1094
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1090
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Yn, r.isMergeableObject = r.isMergeableObject || zn, r.cloneUnlessOtherwiseSpecified = We;
|
|
1095
1091
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1096
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1092
|
+
return o ? n ? r.arrayMerge(e, t, r) : ri(e, t, r) : We(t, r);
|
|
1097
1093
|
}
|
|
1098
1094
|
Be.all = function(t, r) {
|
|
1099
1095
|
if (!Array.isArray(t))
|
|
@@ -1102,42 +1098,39 @@ Be.all = function(t, r) {
|
|
|
1102
1098
|
return Be(n, i, r);
|
|
1103
1099
|
}, {});
|
|
1104
1100
|
};
|
|
1105
|
-
var
|
|
1106
|
-
const
|
|
1107
|
-
function
|
|
1108
|
-
var r = t && t.cache ? t.cache :
|
|
1101
|
+
var ni = Be, ii = ni;
|
|
1102
|
+
const oi = /* @__PURE__ */ Vn(ii);
|
|
1103
|
+
function yt(e, t) {
|
|
1104
|
+
var r = t && t.cache ? t.cache : fi, n = t && t.serializer ? t.serializer : ci, i = t && t.strategy ? t.strategy : li;
|
|
1109
1105
|
return i(e, {
|
|
1110
1106
|
cache: r,
|
|
1111
1107
|
serializer: n
|
|
1112
1108
|
});
|
|
1113
1109
|
}
|
|
1114
|
-
function
|
|
1110
|
+
function si(e) {
|
|
1115
1111
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1116
1112
|
}
|
|
1117
|
-
function
|
|
1118
|
-
var i =
|
|
1113
|
+
function ai(e, t, r, n) {
|
|
1114
|
+
var i = si(n) ? n : r(n), o = t.get(i);
|
|
1119
1115
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1120
1116
|
}
|
|
1121
|
-
function
|
|
1117
|
+
function Cr(e, t, r) {
|
|
1122
1118
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1123
1119
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1124
1120
|
}
|
|
1125
|
-
function
|
|
1121
|
+
function Or(e, t, r, n, i) {
|
|
1126
1122
|
return r.bind(t, e, n, i);
|
|
1127
1123
|
}
|
|
1128
1124
|
function li(e, t) {
|
|
1129
|
-
var r = e.length === 1 ?
|
|
1130
|
-
return
|
|
1125
|
+
var r = e.length === 1 ? ai : Cr;
|
|
1126
|
+
return Or(e, this, r, t.cache.create(), t.serializer);
|
|
1131
1127
|
}
|
|
1132
1128
|
function ui(e, t) {
|
|
1133
|
-
return
|
|
1134
|
-
}
|
|
1135
|
-
function ci(e, t) {
|
|
1136
|
-
return kt(e, this, Or, t.cache.create(), t.serializer);
|
|
1129
|
+
return Or(e, this, Cr, t.cache.create(), t.serializer);
|
|
1137
1130
|
}
|
|
1138
|
-
var
|
|
1131
|
+
var ci = function() {
|
|
1139
1132
|
return JSON.stringify(arguments);
|
|
1140
|
-
},
|
|
1133
|
+
}, hi = (
|
|
1141
1134
|
/** @class */
|
|
1142
1135
|
function() {
|
|
1143
1136
|
function e() {
|
|
@@ -1149,13 +1142,12 @@ var hi = function() {
|
|
|
1149
1142
|
this.cache[t] = r;
|
|
1150
1143
|
}, e;
|
|
1151
1144
|
}()
|
|
1152
|
-
),
|
|
1145
|
+
), fi = {
|
|
1153
1146
|
create: function() {
|
|
1154
|
-
return new
|
|
1147
|
+
return new hi();
|
|
1155
1148
|
}
|
|
1156
1149
|
}, _t = {
|
|
1157
|
-
variadic: ui
|
|
1158
|
-
monadic: ci
|
|
1150
|
+
variadic: ui
|
|
1159
1151
|
}, _;
|
|
1160
1152
|
(function(e) {
|
|
1161
1153
|
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";
|
|
@@ -1168,43 +1160,43 @@ var Ae;
|
|
|
1168
1160
|
(function(e) {
|
|
1169
1161
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1170
1162
|
})(Ae || (Ae = {}));
|
|
1171
|
-
function
|
|
1163
|
+
function er(e) {
|
|
1172
1164
|
return e.type === T.literal;
|
|
1173
1165
|
}
|
|
1174
|
-
function
|
|
1166
|
+
function di(e) {
|
|
1175
1167
|
return e.type === T.argument;
|
|
1176
1168
|
}
|
|
1177
|
-
function
|
|
1169
|
+
function Lr(e) {
|
|
1178
1170
|
return e.type === T.number;
|
|
1179
1171
|
}
|
|
1180
|
-
function
|
|
1172
|
+
function Mr(e) {
|
|
1181
1173
|
return e.type === T.date;
|
|
1182
1174
|
}
|
|
1183
|
-
function
|
|
1175
|
+
function Nr(e) {
|
|
1184
1176
|
return e.type === T.time;
|
|
1185
1177
|
}
|
|
1186
|
-
function
|
|
1178
|
+
function Rr(e) {
|
|
1187
1179
|
return e.type === T.select;
|
|
1188
1180
|
}
|
|
1189
|
-
function
|
|
1181
|
+
function Ur(e) {
|
|
1190
1182
|
return e.type === T.plural;
|
|
1191
1183
|
}
|
|
1192
|
-
function
|
|
1184
|
+
function mi(e) {
|
|
1193
1185
|
return e.type === T.pound;
|
|
1194
1186
|
}
|
|
1195
|
-
function
|
|
1187
|
+
function Fr(e) {
|
|
1196
1188
|
return e.type === T.tag;
|
|
1197
1189
|
}
|
|
1198
|
-
function
|
|
1190
|
+
function Dr(e) {
|
|
1199
1191
|
return !!(e && typeof e == "object" && e.type === Ae.number);
|
|
1200
1192
|
}
|
|
1201
1193
|
function Ct(e) {
|
|
1202
1194
|
return !!(e && typeof e == "object" && e.type === Ae.dateTime);
|
|
1203
1195
|
}
|
|
1204
|
-
var
|
|
1205
|
-
function
|
|
1196
|
+
var kr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pi = /(?:[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;
|
|
1197
|
+
function gi(e) {
|
|
1206
1198
|
var t = {};
|
|
1207
|
-
return e.replace(
|
|
1199
|
+
return e.replace(pi, function(r) {
|
|
1208
1200
|
var n = r.length;
|
|
1209
1201
|
switch (r[0]) {
|
|
1210
1202
|
case "G":
|
|
@@ -1293,11 +1285,11 @@ function bi(e) {
|
|
|
1293
1285
|
return "";
|
|
1294
1286
|
}), t;
|
|
1295
1287
|
}
|
|
1296
|
-
var
|
|
1288
|
+
var bi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1297
1289
|
function vi(e) {
|
|
1298
1290
|
if (e.length === 0)
|
|
1299
1291
|
throw new Error("Number skeleton cannot be empty");
|
|
1300
|
-
for (var t = e.split(
|
|
1292
|
+
for (var t = e.split(bi).filter(function(d) {
|
|
1301
1293
|
return d.length > 0;
|
|
1302
1294
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1303
1295
|
var o = i[n], s = o.split("/");
|
|
@@ -1312,17 +1304,17 @@ function vi(e) {
|
|
|
1312
1304
|
}
|
|
1313
1305
|
return r;
|
|
1314
1306
|
}
|
|
1315
|
-
function
|
|
1307
|
+
function yi(e) {
|
|
1316
1308
|
return e.replace(/^(.*?)-/, "");
|
|
1317
1309
|
}
|
|
1318
|
-
var
|
|
1319
|
-
function
|
|
1310
|
+
var tr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $r = /^(@+)?(\+|#+)?[rs]?$/g, _i = /(\*)(0+)|(#+)(0+)|(0+)/g, Gr = /^(0+)$/;
|
|
1311
|
+
function rr(e) {
|
|
1320
1312
|
var t = {};
|
|
1321
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1313
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace($r, function(r, n, i) {
|
|
1322
1314
|
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)), "";
|
|
1323
1315
|
}), t;
|
|
1324
1316
|
}
|
|
1325
|
-
function
|
|
1317
|
+
function jr(e) {
|
|
1326
1318
|
switch (e) {
|
|
1327
1319
|
case "sign-auto":
|
|
1328
1320
|
return {
|
|
@@ -1362,7 +1354,7 @@ function Vr(e) {
|
|
|
1362
1354
|
};
|
|
1363
1355
|
}
|
|
1364
1356
|
}
|
|
1365
|
-
function
|
|
1357
|
+
function Ei(e) {
|
|
1366
1358
|
var t;
|
|
1367
1359
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1368
1360
|
notation: "engineering"
|
|
@@ -1370,17 +1362,17 @@ function wi(e) {
|
|
|
1370
1362
|
notation: "scientific"
|
|
1371
1363
|
}, e = e.slice(1)), t) {
|
|
1372
1364
|
var r = e.slice(0, 2);
|
|
1373
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1365
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Gr.test(e))
|
|
1374
1366
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1375
1367
|
t.minimumIntegerDigits = e.length;
|
|
1376
1368
|
}
|
|
1377
1369
|
return t;
|
|
1378
1370
|
}
|
|
1379
|
-
function
|
|
1380
|
-
var t = {}, r =
|
|
1371
|
+
function nr(e) {
|
|
1372
|
+
var t = {}, r = jr(e);
|
|
1381
1373
|
return r || t;
|
|
1382
1374
|
}
|
|
1383
|
-
function
|
|
1375
|
+
function wi(e) {
|
|
1384
1376
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1385
1377
|
var i = n[r];
|
|
1386
1378
|
switch (i.stem) {
|
|
@@ -1404,7 +1396,7 @@ function xi(e) {
|
|
|
1404
1396
|
continue;
|
|
1405
1397
|
case "measure-unit":
|
|
1406
1398
|
case "unit":
|
|
1407
|
-
t.style = "unit", t.unit =
|
|
1399
|
+
t.style = "unit", t.unit = yi(i.options[0]);
|
|
1408
1400
|
continue;
|
|
1409
1401
|
case "compact-short":
|
|
1410
1402
|
case "K":
|
|
@@ -1416,12 +1408,12 @@ function xi(e) {
|
|
|
1416
1408
|
continue;
|
|
1417
1409
|
case "scientific":
|
|
1418
1410
|
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
|
|
1419
|
-
return w(w({}, c),
|
|
1411
|
+
return w(w({}, c), nr(l));
|
|
1420
1412
|
}, {}));
|
|
1421
1413
|
continue;
|
|
1422
1414
|
case "engineering":
|
|
1423
1415
|
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
|
|
1424
|
-
return w(w({}, c),
|
|
1416
|
+
return w(w({}, c), nr(l));
|
|
1425
1417
|
}, {}));
|
|
1426
1418
|
continue;
|
|
1427
1419
|
case "notation-simple":
|
|
@@ -1466,7 +1458,7 @@ function xi(e) {
|
|
|
1466
1458
|
case "integer-width":
|
|
1467
1459
|
if (i.options.length > 1)
|
|
1468
1460
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1469
|
-
i.options[0].replace(
|
|
1461
|
+
i.options[0].replace(_i, function(c, l, u, f, d, b) {
|
|
1470
1462
|
if (l)
|
|
1471
1463
|
t.minimumIntegerDigits = u.length;
|
|
1472
1464
|
else {
|
|
@@ -1479,27 +1471,27 @@ function xi(e) {
|
|
|
1479
1471
|
});
|
|
1480
1472
|
continue;
|
|
1481
1473
|
}
|
|
1482
|
-
if (
|
|
1474
|
+
if (Gr.test(i.stem)) {
|
|
1483
1475
|
t.minimumIntegerDigits = i.stem.length;
|
|
1484
1476
|
continue;
|
|
1485
1477
|
}
|
|
1486
|
-
if (
|
|
1478
|
+
if (tr.test(i.stem)) {
|
|
1487
1479
|
if (i.options.length > 1)
|
|
1488
1480
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1489
|
-
i.stem.replace(
|
|
1481
|
+
i.stem.replace(tr, function(c, l, u, f, d, b) {
|
|
1490
1482
|
return u === "*" ? 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), "";
|
|
1491
1483
|
});
|
|
1492
1484
|
var o = i.options[0];
|
|
1493
|
-
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t),
|
|
1485
|
+
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), rr(o)));
|
|
1494
1486
|
continue;
|
|
1495
1487
|
}
|
|
1496
|
-
if (
|
|
1497
|
-
t = w(w({}, t),
|
|
1488
|
+
if ($r.test(i.stem)) {
|
|
1489
|
+
t = w(w({}, t), rr(i.stem));
|
|
1498
1490
|
continue;
|
|
1499
1491
|
}
|
|
1500
|
-
var s =
|
|
1492
|
+
var s = jr(i.stem);
|
|
1501
1493
|
s && (t = w(w({}, t), s));
|
|
1502
|
-
var a =
|
|
1494
|
+
var a = Ei(i.stem);
|
|
1503
1495
|
a && (t = w(w({}, t), a));
|
|
1504
1496
|
}
|
|
1505
1497
|
return t;
|
|
@@ -2919,13 +2911,13 @@ var it = {
|
|
|
2919
2911
|
"h"
|
|
2920
2912
|
]
|
|
2921
2913
|
};
|
|
2922
|
-
function
|
|
2914
|
+
function xi(e, t) {
|
|
2923
2915
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2924
2916
|
var i = e.charAt(n);
|
|
2925
2917
|
if (i === "j") {
|
|
2926
2918
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2927
2919
|
o++, n++;
|
|
2928
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l =
|
|
2920
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = Si(t);
|
|
2929
2921
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
|
2930
2922
|
r += c;
|
|
2931
2923
|
for (; s-- > 0; )
|
|
@@ -2934,7 +2926,7 @@ function Si(e, t) {
|
|
|
2934
2926
|
}
|
|
2935
2927
|
return r;
|
|
2936
2928
|
}
|
|
2937
|
-
function
|
|
2929
|
+
function Si(e) {
|
|
2938
2930
|
var t = e.hourCycle;
|
|
2939
2931
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2940
2932
|
e.hourCycles && // @ts-ignore
|
|
@@ -2956,20 +2948,20 @@ function Pi(e) {
|
|
|
2956
2948
|
var i = it[n || ""] || it[r || ""] || it["".concat(r, "-001")] || it["001"];
|
|
2957
2949
|
return i[0];
|
|
2958
2950
|
}
|
|
2959
|
-
var Et,
|
|
2951
|
+
var Et, Pi = new RegExp("^".concat(kr.source, "*")), Ti = new RegExp("".concat(kr.source, "*$"));
|
|
2960
2952
|
function E(e, t) {
|
|
2961
2953
|
return { start: e, end: t };
|
|
2962
2954
|
}
|
|
2963
|
-
var
|
|
2955
|
+
var Hi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Bi = !!String.fromCodePoint, Ai = !!Object.fromEntries, Ii = !!String.prototype.codePointAt, Ci = !!String.prototype.trimStart, Oi = !!String.prototype.trimEnd, Li = !!Number.isSafeInteger, Mi = Li ? Number.isSafeInteger : function(e) {
|
|
2964
2956
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2965
2957
|
}, Ot = !0;
|
|
2966
2958
|
try {
|
|
2967
|
-
var
|
|
2968
|
-
Ot = ((Et =
|
|
2959
|
+
var Ni = zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2960
|
+
Ot = ((Et = Ni.exec("a")) === null || Et === void 0 ? void 0 : Et[0]) === "a";
|
|
2969
2961
|
} catch {
|
|
2970
2962
|
Ot = !1;
|
|
2971
2963
|
}
|
|
2972
|
-
var
|
|
2964
|
+
var ir = Hi ? (
|
|
2973
2965
|
// Native
|
|
2974
2966
|
function(t, r, n) {
|
|
2975
2967
|
return t.startsWith(r, n);
|
|
@@ -2979,7 +2971,7 @@ var or = Bi ? (
|
|
|
2979
2971
|
function(t, r, n) {
|
|
2980
2972
|
return t.slice(n, n + r.length) === r;
|
|
2981
2973
|
}
|
|
2982
|
-
), Lt =
|
|
2974
|
+
), Lt = Bi ? String.fromCodePoint : (
|
|
2983
2975
|
// IE11
|
|
2984
2976
|
function() {
|
|
2985
2977
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2991,9 +2983,9 @@ var or = Bi ? (
|
|
|
2991
2983
|
}
|
|
2992
2984
|
return n;
|
|
2993
2985
|
}
|
|
2994
|
-
),
|
|
2986
|
+
), or = (
|
|
2995
2987
|
// native
|
|
2996
|
-
|
|
2988
|
+
Ai ? Object.fromEntries : (
|
|
2997
2989
|
// Ponyfill
|
|
2998
2990
|
function(t) {
|
|
2999
2991
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3003,7 +2995,7 @@ var or = Bi ? (
|
|
|
3003
2995
|
return r;
|
|
3004
2996
|
}
|
|
3005
2997
|
)
|
|
3006
|
-
),
|
|
2998
|
+
), Vr = Ii ? (
|
|
3007
2999
|
// Native
|
|
3008
3000
|
function(t, r) {
|
|
3009
3001
|
return t.codePointAt(r);
|
|
@@ -3017,7 +3009,7 @@ var or = Bi ? (
|
|
|
3017
3009
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3018
3010
|
}
|
|
3019
3011
|
}
|
|
3020
|
-
),
|
|
3012
|
+
), Ri = Ci ? (
|
|
3021
3013
|
// Native
|
|
3022
3014
|
function(t) {
|
|
3023
3015
|
return t.trimStart();
|
|
@@ -3025,9 +3017,9 @@ var or = Bi ? (
|
|
|
3025
3017
|
) : (
|
|
3026
3018
|
// Ponyfill
|
|
3027
3019
|
function(t) {
|
|
3028
|
-
return t.replace(
|
|
3020
|
+
return t.replace(Pi, "");
|
|
3029
3021
|
}
|
|
3030
|
-
),
|
|
3022
|
+
), Ui = Oi ? (
|
|
3031
3023
|
// Native
|
|
3032
3024
|
function(t) {
|
|
3033
3025
|
return t.trimEnd();
|
|
@@ -3035,32 +3027,32 @@ var or = Bi ? (
|
|
|
3035
3027
|
) : (
|
|
3036
3028
|
// Ponyfill
|
|
3037
3029
|
function(t) {
|
|
3038
|
-
return t.replace(
|
|
3030
|
+
return t.replace(Ti, "");
|
|
3039
3031
|
}
|
|
3040
3032
|
);
|
|
3041
|
-
function
|
|
3033
|
+
function zr(e, t) {
|
|
3042
3034
|
return new RegExp(e, t);
|
|
3043
3035
|
}
|
|
3044
3036
|
var Mt;
|
|
3045
3037
|
if (Ot) {
|
|
3046
|
-
var
|
|
3038
|
+
var sr = zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3047
3039
|
Mt = function(t, r) {
|
|
3048
3040
|
var n;
|
|
3049
|
-
|
|
3050
|
-
var i =
|
|
3041
|
+
sr.lastIndex = r;
|
|
3042
|
+
var i = sr.exec(t);
|
|
3051
3043
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3052
3044
|
};
|
|
3053
3045
|
} else
|
|
3054
3046
|
Mt = function(t, r) {
|
|
3055
3047
|
for (var n = []; ; ) {
|
|
3056
|
-
var i =
|
|
3057
|
-
if (i === void 0 ||
|
|
3048
|
+
var i = Vr(t, r);
|
|
3049
|
+
if (i === void 0 || Xr(i) || $i(i))
|
|
3058
3050
|
break;
|
|
3059
3051
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3060
3052
|
}
|
|
3061
3053
|
return Lt.apply(void 0, n);
|
|
3062
3054
|
};
|
|
3063
|
-
var
|
|
3055
|
+
var Fi = (
|
|
3064
3056
|
/** @class */
|
|
3065
3057
|
function() {
|
|
3066
3058
|
function e(t, r) {
|
|
@@ -3142,7 +3134,7 @@ var Di = (
|
|
|
3142
3134
|
return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
|
|
3143
3135
|
}, e.prototype.parseTagName = function() {
|
|
3144
3136
|
var t = this.offset();
|
|
3145
|
-
for (this.bump(); !this.isEOF() &&
|
|
3137
|
+
for (this.bump(); !this.isEOF() && ki(this.char()); )
|
|
3146
3138
|
this.bump();
|
|
3147
3139
|
return this.message.slice(t, this.offset());
|
|
3148
3140
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3171,7 +3163,7 @@ var Di = (
|
|
|
3171
3163
|
};
|
|
3172
3164
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3173
3165
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3174
|
-
!
|
|
3166
|
+
!Di(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3175
3167
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3176
3168
|
if (this.isEOF() || this.char() !== 39)
|
|
3177
3169
|
return null;
|
|
@@ -3258,18 +3250,18 @@ var Di = (
|
|
|
3258
3250
|
var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3259
3251
|
if (f.err)
|
|
3260
3252
|
return f;
|
|
3261
|
-
var d =
|
|
3253
|
+
var d = Ui(f.val);
|
|
3262
3254
|
if (d.length === 0)
|
|
3263
3255
|
return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
|
|
3264
3256
|
var b = E(u, this.clonePosition());
|
|
3265
3257
|
l = { style: d, styleLocation: b };
|
|
3266
3258
|
}
|
|
3267
|
-
var
|
|
3268
|
-
if (
|
|
3269
|
-
return
|
|
3259
|
+
var y = this.tryParseArgumentClose(i);
|
|
3260
|
+
if (y.err)
|
|
3261
|
+
return y;
|
|
3270
3262
|
var g = E(i, this.clonePosition());
|
|
3271
|
-
if (l &&
|
|
3272
|
-
var x =
|
|
3263
|
+
if (l && ir(l?.style, "::", 0)) {
|
|
3264
|
+
var x = Ri(l.style.slice(2));
|
|
3273
3265
|
if (a === "number") {
|
|
3274
3266
|
var f = this.parseNumberSkeletonFromString(x, l.styleLocation);
|
|
3275
3267
|
return f.err ? f : {
|
|
@@ -3280,12 +3272,12 @@ var Di = (
|
|
|
3280
3272
|
if (x.length === 0)
|
|
3281
3273
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
|
|
3282
3274
|
var M = x;
|
|
3283
|
-
this.locale && (M =
|
|
3275
|
+
this.locale && (M = xi(x, this.locale));
|
|
3284
3276
|
var d = {
|
|
3285
3277
|
type: Ae.dateTime,
|
|
3286
3278
|
pattern: M,
|
|
3287
3279
|
location: l.styleLocation,
|
|
3288
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3280
|
+
parsedOptions: this.shouldParseSkeletons ? gi(M) : {}
|
|
3289
3281
|
}, q = a === "date" ? T.date : T.time;
|
|
3290
3282
|
return {
|
|
3291
3283
|
val: { type: q, value: n, location: g, style: d },
|
|
@@ -3323,15 +3315,15 @@ var Di = (
|
|
|
3323
3315
|
var J = this.tryParsePluralOrSelectOptions(t, a, r, R);
|
|
3324
3316
|
if (J.err)
|
|
3325
3317
|
return J;
|
|
3326
|
-
var
|
|
3327
|
-
if (
|
|
3328
|
-
return
|
|
3318
|
+
var y = this.tryParseArgumentClose(i);
|
|
3319
|
+
if (y.err)
|
|
3320
|
+
return y;
|
|
3329
3321
|
var B = E(i, this.clonePosition());
|
|
3330
3322
|
return a === "select" ? {
|
|
3331
3323
|
val: {
|
|
3332
3324
|
type: T.select,
|
|
3333
3325
|
value: n,
|
|
3334
|
-
options:
|
|
3326
|
+
options: or(J.val),
|
|
3335
3327
|
location: B
|
|
3336
3328
|
},
|
|
3337
3329
|
err: null
|
|
@@ -3339,7 +3331,7 @@ var Di = (
|
|
|
3339
3331
|
val: {
|
|
3340
3332
|
type: T.plural,
|
|
3341
3333
|
value: n,
|
|
3342
|
-
options:
|
|
3334
|
+
options: or(J.val),
|
|
3343
3335
|
offset: G,
|
|
3344
3336
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3345
3337
|
location: B
|
|
@@ -3399,7 +3391,7 @@ var Di = (
|
|
|
3399
3391
|
type: Ae.number,
|
|
3400
3392
|
tokens: n,
|
|
3401
3393
|
location: r,
|
|
3402
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3394
|
+
parsedOptions: this.shouldParseSkeletons ? wi(n) : {}
|
|
3403
3395
|
},
|
|
3404
3396
|
err: null
|
|
3405
3397
|
};
|
|
@@ -3421,16 +3413,16 @@ var Di = (
|
|
|
3421
3413
|
var b = this.clonePosition();
|
|
3422
3414
|
if (!this.bumpIf("{"))
|
|
3423
3415
|
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
|
|
3424
|
-
var
|
|
3425
|
-
if (
|
|
3426
|
-
return
|
|
3416
|
+
var y = this.parseMessage(t + 1, r, n);
|
|
3417
|
+
if (y.err)
|
|
3418
|
+
return y;
|
|
3427
3419
|
var g = this.tryParseArgumentClose(b);
|
|
3428
3420
|
if (g.err)
|
|
3429
3421
|
return g;
|
|
3430
3422
|
a.push([
|
|
3431
3423
|
l,
|
|
3432
3424
|
{
|
|
3433
|
-
value:
|
|
3425
|
+
value: y.val,
|
|
3434
3426
|
location: E(b, this.clonePosition())
|
|
3435
3427
|
}
|
|
3436
3428
|
]), c.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
|
|
@@ -3447,7 +3439,7 @@ var Di = (
|
|
|
3447
3439
|
break;
|
|
3448
3440
|
}
|
|
3449
3441
|
var c = E(i, this.clonePosition());
|
|
3450
|
-
return o ? (s *= n,
|
|
3442
|
+
return o ? (s *= n, Mi(s) ? { val: s, err: null } : this.error(r, c)) : this.error(t, c);
|
|
3451
3443
|
}, e.prototype.offset = function() {
|
|
3452
3444
|
return this.position.offset;
|
|
3453
3445
|
}, e.prototype.isEOF = function() {
|
|
@@ -3462,7 +3454,7 @@ var Di = (
|
|
|
3462
3454
|
var t = this.position.offset;
|
|
3463
3455
|
if (t >= this.message.length)
|
|
3464
3456
|
throw Error("out of bound");
|
|
3465
|
-
var r =
|
|
3457
|
+
var r = Vr(this.message, t);
|
|
3466
3458
|
if (r === void 0)
|
|
3467
3459
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3468
3460
|
return r;
|
|
@@ -3481,7 +3473,7 @@ var Di = (
|
|
|
3481
3473
|
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);
|
|
3482
3474
|
}
|
|
3483
3475
|
}, e.prototype.bumpIf = function(t) {
|
|
3484
|
-
if (
|
|
3476
|
+
if (ir(this.message, t, this.offset())) {
|
|
3485
3477
|
for (var r = 0; r < t.length; r++)
|
|
3486
3478
|
this.bump();
|
|
3487
3479
|
return !0;
|
|
@@ -3503,7 +3495,7 @@ var Di = (
|
|
|
3503
3495
|
break;
|
|
3504
3496
|
}
|
|
3505
3497
|
}, e.prototype.bumpSpace = function() {
|
|
3506
|
-
for (; !this.isEOF() &&
|
|
3498
|
+
for (; !this.isEOF() && Xr(this.char()); )
|
|
3507
3499
|
this.bump();
|
|
3508
3500
|
}, e.prototype.peek = function() {
|
|
3509
3501
|
if (this.isEOF())
|
|
@@ -3516,29 +3508,29 @@ var Di = (
|
|
|
3516
3508
|
function Nt(e) {
|
|
3517
3509
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3518
3510
|
}
|
|
3519
|
-
function
|
|
3511
|
+
function Di(e) {
|
|
3520
3512
|
return Nt(e) || e === 47;
|
|
3521
3513
|
}
|
|
3522
|
-
function
|
|
3514
|
+
function ki(e) {
|
|
3523
3515
|
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;
|
|
3524
3516
|
}
|
|
3525
|
-
function
|
|
3517
|
+
function Xr(e) {
|
|
3526
3518
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3527
3519
|
}
|
|
3528
|
-
function
|
|
3520
|
+
function $i(e) {
|
|
3529
3521
|
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;
|
|
3530
3522
|
}
|
|
3531
3523
|
function Rt(e) {
|
|
3532
3524
|
e.forEach(function(t) {
|
|
3533
|
-
if (delete t.location,
|
|
3525
|
+
if (delete t.location, Rr(t) || Ur(t))
|
|
3534
3526
|
for (var r in t.options)
|
|
3535
3527
|
delete t.options[r].location, Rt(t.options[r].value);
|
|
3536
|
-
else
|
|
3528
|
+
else Lr(t) && Dr(t.style) || (Mr(t) || Nr(t)) && Ct(t.style) ? delete t.style.location : Fr(t) && Rt(t.children);
|
|
3537
3529
|
});
|
|
3538
3530
|
}
|
|
3539
|
-
function
|
|
3531
|
+
function Gi(e, t) {
|
|
3540
3532
|
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3541
|
-
var r = new
|
|
3533
|
+
var r = new Fi(e, t).parse();
|
|
3542
3534
|
if (r.err) {
|
|
3543
3535
|
var n = SyntaxError(_[r.err.kind]);
|
|
3544
3536
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3561,7 +3553,7 @@ var mt = (
|
|
|
3561
3553
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3562
3554
|
}, t;
|
|
3563
3555
|
}(Error)
|
|
3564
|
-
),
|
|
3556
|
+
), ar = (
|
|
3565
3557
|
/** @class */
|
|
3566
3558
|
function(e) {
|
|
3567
3559
|
le(t, e);
|
|
@@ -3570,7 +3562,7 @@ var mt = (
|
|
|
3570
3562
|
}
|
|
3571
3563
|
return t;
|
|
3572
3564
|
}(mt)
|
|
3573
|
-
),
|
|
3565
|
+
), ji = (
|
|
3574
3566
|
/** @class */
|
|
3575
3567
|
function(e) {
|
|
3576
3568
|
le(t, e);
|
|
@@ -3579,7 +3571,7 @@ var mt = (
|
|
|
3579
3571
|
}
|
|
3580
3572
|
return t;
|
|
3581
3573
|
}(mt)
|
|
3582
|
-
),
|
|
3574
|
+
), Vi = (
|
|
3583
3575
|
/** @class */
|
|
3584
3576
|
function(e) {
|
|
3585
3577
|
le(t, e);
|
|
@@ -3592,17 +3584,17 @@ var mt = (
|
|
|
3592
3584
|
(function(e) {
|
|
3593
3585
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3594
3586
|
})(X || (X = {}));
|
|
3595
|
-
function
|
|
3587
|
+
function zi(e) {
|
|
3596
3588
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3597
3589
|
var n = t[t.length - 1];
|
|
3598
3590
|
return !n || n.type !== X.literal || r.type !== X.literal ? t.push(r) : n.value += r.value, t;
|
|
3599
3591
|
}, []);
|
|
3600
3592
|
}
|
|
3601
|
-
function
|
|
3593
|
+
function Xi(e) {
|
|
3602
3594
|
return typeof e == "function";
|
|
3603
3595
|
}
|
|
3604
3596
|
function at(e, t, r, n, i, o, s) {
|
|
3605
|
-
if (e.length === 1 &&
|
|
3597
|
+
if (e.length === 1 && er(e[0]))
|
|
3606
3598
|
return [
|
|
3607
3599
|
{
|
|
3608
3600
|
type: X.literal,
|
|
@@ -3611,14 +3603,14 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3611
3603
|
];
|
|
3612
3604
|
for (var a = [], c = 0, l = e; c < l.length; c++) {
|
|
3613
3605
|
var u = l[c];
|
|
3614
|
-
if (
|
|
3606
|
+
if (er(u)) {
|
|
3615
3607
|
a.push({
|
|
3616
3608
|
type: X.literal,
|
|
3617
3609
|
value: u.value
|
|
3618
3610
|
});
|
|
3619
3611
|
continue;
|
|
3620
3612
|
}
|
|
3621
|
-
if (
|
|
3613
|
+
if (mi(u)) {
|
|
3622
3614
|
typeof o == "number" && a.push({
|
|
3623
3615
|
type: X.literal,
|
|
3624
3616
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3627,16 +3619,16 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3627
3619
|
}
|
|
3628
3620
|
var f = u.value;
|
|
3629
3621
|
if (!(i && f in i))
|
|
3630
|
-
throw new
|
|
3622
|
+
throw new Vi(f, s);
|
|
3631
3623
|
var d = i[f];
|
|
3632
|
-
if (
|
|
3624
|
+
if (di(u)) {
|
|
3633
3625
|
(!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
|
|
3634
3626
|
type: typeof d == "string" ? X.literal : X.object,
|
|
3635
3627
|
value: d
|
|
3636
3628
|
});
|
|
3637
3629
|
continue;
|
|
3638
3630
|
}
|
|
3639
|
-
if (
|
|
3631
|
+
if (Mr(u)) {
|
|
3640
3632
|
var b = typeof u.style == "string" ? n.date[u.style] : Ct(u.style) ? u.style.parsedOptions : void 0;
|
|
3641
3633
|
a.push({
|
|
3642
3634
|
type: X.literal,
|
|
@@ -3644,7 +3636,7 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3644
3636
|
});
|
|
3645
3637
|
continue;
|
|
3646
3638
|
}
|
|
3647
|
-
if (
|
|
3639
|
+
if (Nr(u)) {
|
|
3648
3640
|
var b = typeof u.style == "string" ? n.time[u.style] : Ct(u.style) ? u.style.parsedOptions : n.time.medium;
|
|
3649
3641
|
a.push({
|
|
3650
3642
|
type: X.literal,
|
|
@@ -3652,19 +3644,19 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3652
3644
|
});
|
|
3653
3645
|
continue;
|
|
3654
3646
|
}
|
|
3655
|
-
if (
|
|
3656
|
-
var b = typeof u.style == "string" ? n.number[u.style] :
|
|
3647
|
+
if (Lr(u)) {
|
|
3648
|
+
var b = typeof u.style == "string" ? n.number[u.style] : Dr(u.style) ? u.style.parsedOptions : void 0;
|
|
3657
3649
|
b && b.scale && (d = d * (b.scale || 1)), a.push({
|
|
3658
3650
|
type: X.literal,
|
|
3659
3651
|
value: r.getNumberFormat(t, b).format(d)
|
|
3660
3652
|
});
|
|
3661
3653
|
continue;
|
|
3662
3654
|
}
|
|
3663
|
-
if (
|
|
3664
|
-
var
|
|
3665
|
-
if (!
|
|
3666
|
-
throw new
|
|
3667
|
-
var M = at(
|
|
3655
|
+
if (Fr(u)) {
|
|
3656
|
+
var y = u.children, g = u.value, x = i[g];
|
|
3657
|
+
if (!Xi(x))
|
|
3658
|
+
throw new ji(g, "function", s);
|
|
3659
|
+
var M = at(y, t, r, n, i, o), q = x(M.map(function(G) {
|
|
3668
3660
|
return G.value;
|
|
3669
3661
|
}));
|
|
3670
3662
|
Array.isArray(q) || (q = [q]), a.push.apply(a, q.map(function(G) {
|
|
@@ -3674,14 +3666,14 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3674
3666
|
};
|
|
3675
3667
|
}));
|
|
3676
3668
|
}
|
|
3677
|
-
if (
|
|
3669
|
+
if (Rr(u)) {
|
|
3678
3670
|
var H = u.options[d] || u.options.other;
|
|
3679
3671
|
if (!H)
|
|
3680
|
-
throw new
|
|
3672
|
+
throw new ar(u.value, d, Object.keys(u.options), s);
|
|
3681
3673
|
a.push.apply(a, at(H.value, t, r, n, i));
|
|
3682
3674
|
continue;
|
|
3683
3675
|
}
|
|
3684
|
-
if (
|
|
3676
|
+
if (Ur(u)) {
|
|
3685
3677
|
var H = u.options["=".concat(d)];
|
|
3686
3678
|
if (!H) {
|
|
3687
3679
|
if (!Intl.PluralRules)
|
|
@@ -3692,21 +3684,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3692
3684
|
H = u.options[R] || u.options.other;
|
|
3693
3685
|
}
|
|
3694
3686
|
if (!H)
|
|
3695
|
-
throw new
|
|
3687
|
+
throw new ar(u.value, d, Object.keys(u.options), s);
|
|
3696
3688
|
a.push.apply(a, at(H.value, t, r, n, i, d - (u.offset || 0)));
|
|
3697
3689
|
continue;
|
|
3698
3690
|
}
|
|
3699
3691
|
}
|
|
3700
|
-
return
|
|
3692
|
+
return zi(a);
|
|
3701
3693
|
}
|
|
3702
|
-
function
|
|
3694
|
+
function Wi(e, t) {
|
|
3703
3695
|
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3704
3696
|
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
|
3705
3697
|
}, {})) : e;
|
|
3706
3698
|
}
|
|
3707
|
-
function
|
|
3699
|
+
function Zi(e, t) {
|
|
3708
3700
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3709
|
-
return r[n] =
|
|
3701
|
+
return r[n] = Wi(e[n], t[n]), r;
|
|
3710
3702
|
}, w({}, e)) : e;
|
|
3711
3703
|
}
|
|
3712
3704
|
function wt(e) {
|
|
@@ -3723,13 +3715,13 @@ function wt(e) {
|
|
|
3723
3715
|
}
|
|
3724
3716
|
};
|
|
3725
3717
|
}
|
|
3726
|
-
function
|
|
3718
|
+
function qi(e) {
|
|
3727
3719
|
return e === void 0 && (e = {
|
|
3728
3720
|
number: {},
|
|
3729
3721
|
dateTime: {},
|
|
3730
3722
|
pluralRules: {}
|
|
3731
3723
|
}), {
|
|
3732
|
-
getNumberFormat:
|
|
3724
|
+
getNumberFormat: yt(function() {
|
|
3733
3725
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3734
3726
|
r[n] = arguments[n];
|
|
3735
3727
|
return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
|
|
@@ -3737,7 +3729,7 @@ function Ji(e) {
|
|
|
3737
3729
|
cache: wt(e.number),
|
|
3738
3730
|
strategy: _t.variadic
|
|
3739
3731
|
}),
|
|
3740
|
-
getDateTimeFormat:
|
|
3732
|
+
getDateTimeFormat: yt(function() {
|
|
3741
3733
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3742
3734
|
r[n] = arguments[n];
|
|
3743
3735
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
|
|
@@ -3745,7 +3737,7 @@ function Ji(e) {
|
|
|
3745
3737
|
cache: wt(e.dateTime),
|
|
3746
3738
|
strategy: _t.variadic
|
|
3747
3739
|
}),
|
|
3748
|
-
getPluralRules:
|
|
3740
|
+
getPluralRules: yt(function() {
|
|
3749
3741
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3750
3742
|
r[n] = arguments[n];
|
|
3751
3743
|
return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
|
|
@@ -3755,7 +3747,7 @@ function Ji(e) {
|
|
|
3755
3747
|
})
|
|
3756
3748
|
};
|
|
3757
3749
|
}
|
|
3758
|
-
var
|
|
3750
|
+
var Ji = (
|
|
3759
3751
|
/** @class */
|
|
3760
3752
|
function() {
|
|
3761
3753
|
function e(t, r, n, i) {
|
|
@@ -3787,13 +3779,13 @@ var Qi = (
|
|
|
3787
3779
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3788
3780
|
var s = i || {};
|
|
3789
3781
|
s.formatters;
|
|
3790
|
-
var a =
|
|
3782
|
+
var a = Bn(s, ["formatters"]);
|
|
3791
3783
|
this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
|
|
3792
3784
|
} else
|
|
3793
3785
|
this.ast = t;
|
|
3794
3786
|
if (!Array.isArray(this.ast))
|
|
3795
3787
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3796
|
-
this.formats =
|
|
3788
|
+
this.formats = Zi(e.formats, n), this.formatters = i && i.formatters || qi(this.formatterCache);
|
|
3797
3789
|
}
|
|
3798
3790
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3799
3791
|
get: function() {
|
|
@@ -3806,7 +3798,7 @@ var Qi = (
|
|
|
3806
3798
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3807
3799
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3808
3800
|
}
|
|
3809
|
-
}, e.__parse =
|
|
3801
|
+
}, e.__parse = Gi, e.formats = {
|
|
3810
3802
|
number: {
|
|
3811
3803
|
integer: {
|
|
3812
3804
|
maximumFractionDigits: 0
|
|
@@ -3867,7 +3859,7 @@ var Qi = (
|
|
|
3867
3859
|
}, e;
|
|
3868
3860
|
}()
|
|
3869
3861
|
);
|
|
3870
|
-
function
|
|
3862
|
+
function Qi(e, t) {
|
|
3871
3863
|
if (t == null)
|
|
3872
3864
|
return;
|
|
3873
3865
|
if (t in e)
|
|
@@ -3888,60 +3880,60 @@ function Yi(e, t) {
|
|
|
3888
3880
|
n = void 0;
|
|
3889
3881
|
return n;
|
|
3890
3882
|
}
|
|
3891
|
-
const ce = {},
|
|
3883
|
+
const ce = {}, Yi = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), Wr = (e, t) => {
|
|
3892
3884
|
if (t == null)
|
|
3893
3885
|
return;
|
|
3894
3886
|
if (t in ce && e in ce[t])
|
|
3895
3887
|
return ce[t][e];
|
|
3896
3888
|
const r = pt(t);
|
|
3897
3889
|
for (let n = 0; n < r.length; n++) {
|
|
3898
|
-
const i = r[n], o =
|
|
3890
|
+
const i = r[n], o = eo(i, e);
|
|
3899
3891
|
if (o)
|
|
3900
|
-
return
|
|
3892
|
+
return Yi(e, t, o);
|
|
3901
3893
|
}
|
|
3902
3894
|
};
|
|
3903
|
-
let
|
|
3895
|
+
let kt;
|
|
3904
3896
|
const Me = dt({});
|
|
3905
|
-
function
|
|
3906
|
-
return
|
|
3897
|
+
function Ki(e) {
|
|
3898
|
+
return kt[e] || null;
|
|
3907
3899
|
}
|
|
3908
|
-
function
|
|
3909
|
-
return e in
|
|
3900
|
+
function Zr(e) {
|
|
3901
|
+
return e in kt;
|
|
3910
3902
|
}
|
|
3911
|
-
function
|
|
3912
|
-
if (!
|
|
3903
|
+
function eo(e, t) {
|
|
3904
|
+
if (!Zr(e))
|
|
3913
3905
|
return null;
|
|
3914
|
-
const r =
|
|
3915
|
-
return
|
|
3906
|
+
const r = Ki(e);
|
|
3907
|
+
return Qi(r, t);
|
|
3916
3908
|
}
|
|
3917
|
-
function
|
|
3909
|
+
function to(e) {
|
|
3918
3910
|
if (e == null)
|
|
3919
3911
|
return;
|
|
3920
3912
|
const t = pt(e);
|
|
3921
3913
|
for (let r = 0; r < t.length; r++) {
|
|
3922
3914
|
const n = t[r];
|
|
3923
|
-
if (
|
|
3915
|
+
if (Zr(n))
|
|
3924
3916
|
return n;
|
|
3925
3917
|
}
|
|
3926
3918
|
}
|
|
3927
|
-
function
|
|
3928
|
-
delete ce[e], Me.update((r) => (r[e] =
|
|
3919
|
+
function qr(e, ...t) {
|
|
3920
|
+
delete ce[e], Me.update((r) => (r[e] = oi.all([r[e] || {}, ...t]), r));
|
|
3929
3921
|
}
|
|
3930
3922
|
Le(
|
|
3931
3923
|
[Me],
|
|
3932
3924
|
([e]) => Object.keys(e)
|
|
3933
3925
|
);
|
|
3934
|
-
Me.subscribe((e) =>
|
|
3926
|
+
Me.subscribe((e) => kt = e);
|
|
3935
3927
|
const lt = {};
|
|
3936
|
-
function
|
|
3928
|
+
function ro(e, t) {
|
|
3937
3929
|
lt[e].delete(t), lt[e].size === 0 && delete lt[e];
|
|
3938
3930
|
}
|
|
3939
|
-
function
|
|
3931
|
+
function Jr(e) {
|
|
3940
3932
|
return lt[e];
|
|
3941
3933
|
}
|
|
3942
|
-
function
|
|
3934
|
+
function no(e) {
|
|
3943
3935
|
return pt(e).map((t) => {
|
|
3944
|
-
const r =
|
|
3936
|
+
const r = Jr(t);
|
|
3945
3937
|
return [t, r ? [...r] : []];
|
|
3946
3938
|
}).filter(([, t]) => t.length > 0);
|
|
3947
3939
|
}
|
|
@@ -3949,31 +3941,31 @@ function Ut(e) {
|
|
|
3949
3941
|
return e == null ? !1 : pt(e).some(
|
|
3950
3942
|
(t) => {
|
|
3951
3943
|
var r;
|
|
3952
|
-
return (r =
|
|
3944
|
+
return (r = Jr(t)) == null ? void 0 : r.size;
|
|
3953
3945
|
}
|
|
3954
3946
|
);
|
|
3955
3947
|
}
|
|
3956
|
-
function
|
|
3948
|
+
function io(e, t) {
|
|
3957
3949
|
return Promise.all(
|
|
3958
|
-
t.map((n) => (
|
|
3959
|
-
).then((n) =>
|
|
3950
|
+
t.map((n) => (ro(e, n), n().then((i) => i.default || i)))
|
|
3951
|
+
).then((n) => qr(e, ...n));
|
|
3960
3952
|
}
|
|
3961
3953
|
const Ve = {};
|
|
3962
|
-
function
|
|
3954
|
+
function Qr(e) {
|
|
3963
3955
|
if (!Ut(e))
|
|
3964
3956
|
return e in Ve ? Ve[e] : Promise.resolve();
|
|
3965
|
-
const t =
|
|
3957
|
+
const t = no(e);
|
|
3966
3958
|
return Ve[e] = Promise.all(
|
|
3967
3959
|
t.map(
|
|
3968
|
-
([r, n]) =>
|
|
3960
|
+
([r, n]) => io(r, n)
|
|
3969
3961
|
)
|
|
3970
3962
|
).then(() => {
|
|
3971
3963
|
if (Ut(e))
|
|
3972
|
-
return
|
|
3964
|
+
return Qr(e);
|
|
3973
3965
|
delete Ve[e];
|
|
3974
3966
|
}), Ve[e];
|
|
3975
3967
|
}
|
|
3976
|
-
const
|
|
3968
|
+
const oo = {
|
|
3977
3969
|
number: {
|
|
3978
3970
|
scientific: { notation: "scientific" },
|
|
3979
3971
|
engineering: { notation: "engineering" },
|
|
@@ -4002,34 +3994,34 @@ const so = {
|
|
|
4002
3994
|
timeZoneName: "short"
|
|
4003
3995
|
}
|
|
4004
3996
|
}
|
|
4005
|
-
},
|
|
3997
|
+
}, so = {
|
|
4006
3998
|
fallbackLocale: null,
|
|
4007
3999
|
loadingDelay: 200,
|
|
4008
|
-
formats:
|
|
4000
|
+
formats: oo,
|
|
4009
4001
|
warnOnMissingMessages: !0,
|
|
4010
4002
|
handleMissingMessage: void 0,
|
|
4011
4003
|
ignoreTag: !0
|
|
4012
|
-
},
|
|
4004
|
+
}, ao = so;
|
|
4013
4005
|
function Ce() {
|
|
4014
|
-
return
|
|
4006
|
+
return ao;
|
|
4015
4007
|
}
|
|
4016
4008
|
const xt = dt(!1);
|
|
4017
|
-
var
|
|
4018
|
-
for (var r in t)
|
|
4019
|
-
|
|
4020
|
-
if (
|
|
4021
|
-
for (var r of
|
|
4022
|
-
|
|
4009
|
+
var lo = Object.defineProperty, uo = Object.defineProperties, co = Object.getOwnPropertyDescriptors, lr = Object.getOwnPropertySymbols, ho = Object.prototype.hasOwnProperty, fo = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mo = (e, t) => {
|
|
4010
|
+
for (var r in t || (t = {}))
|
|
4011
|
+
ho.call(t, r) && ur(e, r, t[r]);
|
|
4012
|
+
if (lr)
|
|
4013
|
+
for (var r of lr(t))
|
|
4014
|
+
fo.call(t, r) && ur(e, r, t[r]);
|
|
4023
4015
|
return e;
|
|
4024
|
-
},
|
|
4016
|
+
}, po = (e, t) => uo(e, co(t));
|
|
4025
4017
|
let Ft;
|
|
4026
4018
|
const ct = dt(null);
|
|
4027
|
-
function
|
|
4019
|
+
function cr(e) {
|
|
4028
4020
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4029
4021
|
}
|
|
4030
4022
|
function pt(e, t = Ce().fallbackLocale) {
|
|
4031
|
-
const r =
|
|
4032
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4023
|
+
const r = cr(e);
|
|
4024
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...cr(t)])] : r;
|
|
4033
4025
|
}
|
|
4034
4026
|
function ge() {
|
|
4035
4027
|
return Ft ?? void 0;
|
|
@@ -4037,22 +4029,22 @@ function ge() {
|
|
|
4037
4029
|
ct.subscribe((e) => {
|
|
4038
4030
|
Ft = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4039
4031
|
});
|
|
4040
|
-
const
|
|
4041
|
-
if (e &&
|
|
4032
|
+
const go = (e) => {
|
|
4033
|
+
if (e && to(e) && Ut(e)) {
|
|
4042
4034
|
const { loadingDelay: t } = Ce();
|
|
4043
4035
|
let r;
|
|
4044
4036
|
return typeof window < "u" && ge() != null && t ? r = window.setTimeout(
|
|
4045
4037
|
() => xt.set(!0),
|
|
4046
4038
|
t
|
|
4047
|
-
) : xt.set(!0),
|
|
4039
|
+
) : xt.set(!0), Qr(e).then(() => {
|
|
4048
4040
|
ct.set(e);
|
|
4049
4041
|
}).finally(() => {
|
|
4050
4042
|
clearTimeout(r), xt.set(!1);
|
|
4051
4043
|
});
|
|
4052
4044
|
}
|
|
4053
4045
|
return ct.set(e);
|
|
4054
|
-
}, he =
|
|
4055
|
-
set:
|
|
4046
|
+
}, he = po(mo({}, ct), {
|
|
4047
|
+
set: go
|
|
4056
4048
|
}), gt = (e) => {
|
|
4057
4049
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4058
4050
|
return (n) => {
|
|
@@ -4060,20 +4052,20 @@ const bo = (e) => {
|
|
|
4060
4052
|
return i in t ? t[i] : t[i] = e(n);
|
|
4061
4053
|
};
|
|
4062
4054
|
};
|
|
4063
|
-
var
|
|
4055
|
+
var bo = Object.defineProperty, ht = Object.getOwnPropertySymbols, Yr = Object.prototype.hasOwnProperty, Kr = Object.prototype.propertyIsEnumerable, hr = (e, t, r) => t in e ? bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $t = (e, t) => {
|
|
4064
4056
|
for (var r in t || (t = {}))
|
|
4065
|
-
|
|
4057
|
+
Yr.call(t, r) && hr(e, r, t[r]);
|
|
4066
4058
|
if (ht)
|
|
4067
4059
|
for (var r of ht(t))
|
|
4068
|
-
|
|
4060
|
+
Kr.call(t, r) && hr(e, r, t[r]);
|
|
4069
4061
|
return e;
|
|
4070
4062
|
}, Ne = (e, t) => {
|
|
4071
4063
|
var r = {};
|
|
4072
4064
|
for (var n in e)
|
|
4073
|
-
|
|
4065
|
+
Yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4074
4066
|
if (e != null && ht)
|
|
4075
4067
|
for (var n of ht(e))
|
|
4076
|
-
t.indexOf(n) < 0 &&
|
|
4068
|
+
t.indexOf(n) < 0 && Kr.call(e, n) && (r[n] = e[n]);
|
|
4077
4069
|
return r;
|
|
4078
4070
|
};
|
|
4079
4071
|
const Ze = (e, t) => {
|
|
@@ -4088,14 +4080,14 @@ const Ze = (e, t) => {
|
|
|
4088
4080
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4089
4081
|
return n && (i = Ze("number", n)), new Intl.NumberFormat(r, i);
|
|
4090
4082
|
}
|
|
4091
|
-
),
|
|
4083
|
+
), yo = gt(
|
|
4092
4084
|
(e) => {
|
|
4093
4085
|
var t = e, { locale: r, format: n } = t, i = Ne(t, ["locale", "format"]);
|
|
4094
4086
|
if (r == null)
|
|
4095
4087
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4096
4088
|
return n ? i = Ze("date", n) : Object.keys(i).length === 0 && (i = Ze("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4097
4089
|
}
|
|
4098
|
-
),
|
|
4090
|
+
), _o = gt(
|
|
4099
4091
|
(e) => {
|
|
4100
4092
|
var t = e, { locale: r, format: n } = t, i = Ne(t, ["locale", "format"]);
|
|
4101
4093
|
if (r == null)
|
|
@@ -4104,33 +4096,33 @@ const Ze = (e, t) => {
|
|
|
4104
4096
|
);
|
|
4105
4097
|
return n ? i = Ze("time", n) : Object.keys(i).length === 0 && (i = Ze("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4106
4098
|
}
|
|
4107
|
-
),
|
|
4099
|
+
), Eo = (e = {}) => {
|
|
4108
4100
|
var t = e, {
|
|
4109
4101
|
locale: r = ge()
|
|
4110
4102
|
} = t, n = Ne(t, [
|
|
4111
4103
|
"locale"
|
|
4112
4104
|
]);
|
|
4113
|
-
return vo(
|
|
4114
|
-
},
|
|
4105
|
+
return vo($t({ locale: r }, n));
|
|
4106
|
+
}, wo = (e = {}) => {
|
|
4115
4107
|
var t = e, {
|
|
4116
4108
|
locale: r = ge()
|
|
4117
4109
|
} = t, n = Ne(t, [
|
|
4118
4110
|
"locale"
|
|
4119
4111
|
]);
|
|
4120
|
-
return
|
|
4121
|
-
},
|
|
4112
|
+
return yo($t({ locale: r }, n));
|
|
4113
|
+
}, xo = (e = {}) => {
|
|
4122
4114
|
var t = e, {
|
|
4123
4115
|
locale: r = ge()
|
|
4124
4116
|
} = t, n = Ne(t, [
|
|
4125
4117
|
"locale"
|
|
4126
4118
|
]);
|
|
4127
|
-
return
|
|
4128
|
-
},
|
|
4119
|
+
return _o($t({ locale: r }, n));
|
|
4120
|
+
}, So = gt(
|
|
4129
4121
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4130
|
-
(e, t = ge()) => new
|
|
4122
|
+
(e, t = ge()) => new Ji(e, t, Ce().formats, {
|
|
4131
4123
|
ignoreTag: Ce().ignoreTag
|
|
4132
4124
|
})
|
|
4133
|
-
),
|
|
4125
|
+
), Po = (e, t = {}) => {
|
|
4134
4126
|
var r, n, i, o;
|
|
4135
4127
|
let s = t;
|
|
4136
4128
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4143,7 +4135,7 @@ const Ze = (e, t) => {
|
|
|
4143
4135
|
throw new Error(
|
|
4144
4136
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4145
4137
|
);
|
|
4146
|
-
let u =
|
|
4138
|
+
let u = Wr(e, c);
|
|
4147
4139
|
if (!u)
|
|
4148
4140
|
u = (o = (i = (n = (r = Ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
4149
4141
|
else if (typeof u != "string")
|
|
@@ -4154,7 +4146,7 @@ const Ze = (e, t) => {
|
|
|
4154
4146
|
return u;
|
|
4155
4147
|
let f = u;
|
|
4156
4148
|
try {
|
|
4157
|
-
f =
|
|
4149
|
+
f = So(u, c).format(a);
|
|
4158
4150
|
} catch (d) {
|
|
4159
4151
|
d instanceof Error && console.warn(
|
|
4160
4152
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4162,13 +4154,13 @@ const Ze = (e, t) => {
|
|
|
4162
4154
|
);
|
|
4163
4155
|
}
|
|
4164
4156
|
return f;
|
|
4165
|
-
},
|
|
4157
|
+
}, To = (e, t) => xo(t).format(e), Ho = (e, t) => wo(t).format(e), Bo = (e, t) => Eo(t).format(e), Ao = (e, t = ge()) => Wr(e, t), Io = Le([he, Me], () => Po);
|
|
4158
|
+
Le([he], () => To);
|
|
4166
4159
|
Le([he], () => Ho);
|
|
4167
4160
|
Le([he], () => Bo);
|
|
4168
|
-
Le([he], () => Ao);
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
const Oo = (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));
|
|
4161
|
+
Le([he, Me], () => Ao);
|
|
4162
|
+
window.emWidgets = { topic: Gn };
|
|
4163
|
+
const Co = (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));
|
|
4172
4164
|
if (typeof window < "u") {
|
|
4173
4165
|
let e = function(t) {
|
|
4174
4166
|
return function(...r) {
|
|
@@ -4181,22 +4173,22 @@ if (typeof window < "u") {
|
|
|
4181
4173
|
}
|
|
4182
4174
|
};
|
|
4183
4175
|
};
|
|
4184
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-
|
|
4176
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-H1CjJeVy.js").then(({ default: t }) => {
|
|
4185
4177
|
!customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
|
|
4186
4178
|
});
|
|
4187
4179
|
}
|
|
4188
|
-
function
|
|
4180
|
+
function Oo({ withLocale: e, translations: t }) {
|
|
4189
4181
|
he.subscribe((r) => {
|
|
4190
4182
|
r == null && (Me.set(t), he.set(e));
|
|
4191
4183
|
});
|
|
4192
4184
|
}
|
|
4193
|
-
function
|
|
4194
|
-
|
|
4185
|
+
function fr(e, t) {
|
|
4186
|
+
qr(e, t);
|
|
4195
4187
|
}
|
|
4196
|
-
function
|
|
4188
|
+
function Lo(e) {
|
|
4197
4189
|
he.set(e);
|
|
4198
4190
|
}
|
|
4199
|
-
const
|
|
4191
|
+
const dr = {
|
|
4200
4192
|
en: {
|
|
4201
4193
|
loginTitle: "Welcome",
|
|
4202
4194
|
loginSubtitle: "Don't have an account yet?",
|
|
@@ -4340,15 +4332,15 @@ const mr = {
|
|
|
4340
4332
|
loginForgotPassword: "I forgot my password",
|
|
4341
4333
|
successMessage: "Login successful"
|
|
4342
4334
|
}
|
|
4343
|
-
}, { document:
|
|
4344
|
-
function
|
|
4345
|
-
|
|
4335
|
+
}, { document: mr } = sn;
|
|
4336
|
+
function Mo(e) {
|
|
4337
|
+
an(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)}}');
|
|
4346
4338
|
}
|
|
4347
|
-
function
|
|
4339
|
+
function pr(e) {
|
|
4348
4340
|
let t, r;
|
|
4349
4341
|
return {
|
|
4350
4342
|
c() {
|
|
4351
|
-
t = S("script"),
|
|
4343
|
+
t = S("script"), Vt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
|
|
4352
4344
|
e[1]) || h(t, "src", r), t.async = !0, t.defer = !0;
|
|
4353
4345
|
},
|
|
4354
4346
|
m(n, i) {
|
|
@@ -4356,7 +4348,7 @@ function gr(e) {
|
|
|
4356
4348
|
},
|
|
4357
4349
|
p(n, i) {
|
|
4358
4350
|
i[0] & /*captchakey*/
|
|
4359
|
-
2 && !
|
|
4351
|
+
2 && !Vt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
|
|
4360
4352
|
n[1]) && h(t, "src", r);
|
|
4361
4353
|
},
|
|
4362
4354
|
d(n) {
|
|
@@ -4364,12 +4356,12 @@ function gr(e) {
|
|
|
4364
4356
|
}
|
|
4365
4357
|
};
|
|
4366
4358
|
}
|
|
4367
|
-
function
|
|
4359
|
+
function No(e) {
|
|
4368
4360
|
let t, r, n;
|
|
4369
4361
|
function i(a, c) {
|
|
4370
4362
|
return (
|
|
4371
4363
|
/*startSmsValidation*/
|
|
4372
|
-
a[20] ?
|
|
4364
|
+
a[20] ? Fo : Uo
|
|
4373
4365
|
);
|
|
4374
4366
|
}
|
|
4375
4367
|
let o = i(e), s = o(e);
|
|
@@ -4391,7 +4383,7 @@ function Ro(e) {
|
|
|
4391
4383
|
}
|
|
4392
4384
|
};
|
|
4393
4385
|
}
|
|
4394
|
-
function
|
|
4386
|
+
function Ro(e) {
|
|
4395
4387
|
let t;
|
|
4396
4388
|
return {
|
|
4397
4389
|
c() {
|
|
@@ -4406,7 +4398,7 @@ function Uo(e) {
|
|
|
4406
4398
|
}
|
|
4407
4399
|
};
|
|
4408
4400
|
}
|
|
4409
|
-
function
|
|
4401
|
+
function Uo(e) {
|
|
4410
4402
|
let t, r, n = (
|
|
4411
4403
|
/*$_*/
|
|
4412
4404
|
e[21]("loginTitle") + ""
|
|
@@ -4416,13 +4408,13 @@ function Fo(e) {
|
|
|
4416
4408
|
), c, l, u, f = (
|
|
4417
4409
|
/*$_*/
|
|
4418
4410
|
e[21]("loginSubtitleRegister") + ""
|
|
4419
|
-
), d, b,
|
|
4411
|
+
), d, b, y, g, x, M, q = (
|
|
4420
4412
|
/*$_*/
|
|
4421
4413
|
e[21]("loginUsername") + ""
|
|
4422
4414
|
), H, R, G, J, B, ie, re, ne, fe, A, W, be = (
|
|
4423
4415
|
/*$_*/
|
|
4424
4416
|
e[21]("loginPassword") + ""
|
|
4425
|
-
), Re, Ue, oe, qe, C,
|
|
4417
|
+
), Re, Ue, oe, qe, C, ve, Fe, ye, _e, de, De, me, K, pe = (
|
|
4426
4418
|
/*$_*/
|
|
4427
4419
|
e[21]("loginButton") + ""
|
|
4428
4420
|
), ke, Je, ue, Ee = (
|
|
@@ -4430,37 +4422,37 @@ function Fo(e) {
|
|
|
4430
4422
|
e[21]("loginForgotPassword") + ""
|
|
4431
4423
|
), $e, Ge, Qe, U = (
|
|
4432
4424
|
/*invalidName*/
|
|
4433
|
-
e[13] &&
|
|
4425
|
+
e[13] && gr(e)
|
|
4434
4426
|
);
|
|
4435
|
-
function Ye(
|
|
4427
|
+
function Ye(v, P) {
|
|
4436
4428
|
return (
|
|
4437
4429
|
/*isPasswordVisible*/
|
|
4438
|
-
|
|
4430
|
+
v[18] ? ko : Do
|
|
4439
4431
|
);
|
|
4440
4432
|
}
|
|
4441
4433
|
let we = Ye(e), Q = we(e), F = (
|
|
4442
4434
|
/*invalidPassword*/
|
|
4443
4435
|
e[14] && /*simplepasswordvalidation*/
|
|
4444
|
-
e[2] !== "true" &&
|
|
4436
|
+
e[2] !== "true" && br(e)
|
|
4445
4437
|
), D = (
|
|
4446
4438
|
/*invalidPassword*/
|
|
4447
4439
|
e[14] && /*simplepasswordvalidation*/
|
|
4448
4440
|
e[2] === "true" && vr(e)
|
|
4449
4441
|
), k = (
|
|
4450
4442
|
/*errorMessage*/
|
|
4451
|
-
e[15] &&
|
|
4443
|
+
e[15] && yr(e)
|
|
4452
4444
|
);
|
|
4453
4445
|
return {
|
|
4454
4446
|
c() {
|
|
4455
|
-
t = S("div"), r = S("h4"), i = N(n), o = z(), s = S("p"), c = N(a), l = z(), u = S("span"), d = N(f), b = z(),
|
|
4447
|
+
t = S("div"), r = S("h4"), i = N(n), o = z(), s = S("p"), c = N(a), l = z(), u = S("span"), d = N(f), b = z(), y = S("div"), g = S("form"), x = S("div"), M = S("label"), H = N(q), R = N(":"), G = S("span"), G.textContent = "*", J = z(), B = S("input"), re = z(), U && U.c(), fe = z(), A = S("div"), W = S("label"), Re = N(be), Ue = N(":"), oe = S("span"), oe.textContent = "*", qe = z(), C = S("input"), Fe = z(), Q.c(), ye = z(), F && F.c(), _e = z(), D && D.c(), De = z(), k && k.c(), me = z(), K = S("button"), ke = N(pe), Je = z(), ue = S("button"), $e = N(Ee), h(r, "class", "FormHeaderTitle"), h(u, "class", "FormRegisterCallToAction"), h(s, "class", "FormHeaderSubtitle"), h(t, "class", "FormHeader"), h(G, "class", "FormRequired"), h(M, "for", "username"), h(B, "type", "text"), h(B, "id", "email"), h(B, "name", "email"), h(B, "autocapitalize", "none"), h(B, "autocomplete", ie = /*savecredentials*/
|
|
4456
4448
|
e[5] ? "username email" : "off"), B.required = !0, h(x, "class", ne = "UserContainer " + /*invalidName*/
|
|
4457
|
-
(e[13] ? "InvalidField" : "")), h(oe, "class", "FormRequired"), h(W, "for", "current-password"), h(C, "type", "password"), h(C, "name", "current-password"), h(C, "id", "current-password"), h(C, "autocapitalize", "none"), h(C, "autocomplete",
|
|
4449
|
+
(e[13] ? "InvalidField" : "")), h(oe, "class", "FormRequired"), h(W, "for", "current-password"), h(C, "type", "password"), h(C, "name", "current-password"), h(C, "id", "current-password"), h(C, "autocapitalize", "none"), h(C, "autocomplete", ve = /*savecredentials*/
|
|
4458
4450
|
e[5] ? "current-password" : "off"), h(C, "aria-describedby", "password-constraints"), C.required = !0, h(A, "class", de = "PasswordContainer " + /*invalidPassword*/
|
|
4459
4451
|
(e[14] ? "InvalidField" : "")), h(K, "class", "SignInButton"), K.disabled = /*isFormDataInvalid*/
|
|
4460
|
-
e[19], h(K, "id", "signin-button"), h(ue, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(
|
|
4452
|
+
e[19], h(K, "id", "signin-button"), h(ue, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(y, "class", "FormContent");
|
|
4461
4453
|
},
|
|
4462
|
-
m(
|
|
4463
|
-
L(
|
|
4454
|
+
m(v, P) {
|
|
4455
|
+
L(v, t, P), m(t, r), m(r, i), m(t, o), m(t, s), m(s, c), m(s, l), m(s, u), m(u, d), L(v, b, P), L(v, y, P), m(y, g), m(g, x), m(x, M), m(M, H), m(M, R), m(M, G), m(x, J), m(x, B), rt(
|
|
4464
4456
|
B,
|
|
4465
4457
|
/*userValue*/
|
|
4466
4458
|
e[11]
|
|
@@ -4468,7 +4460,7 @@ function Fo(e) {
|
|
|
4468
4460
|
C,
|
|
4469
4461
|
/*userPassword*/
|
|
4470
4462
|
e[12]
|
|
4471
|
-
), e[35](C), m(A, Fe), Q.m(A, null), m(A,
|
|
4463
|
+
), e[35](C), m(A, Fe), Q.m(A, null), m(A, ye), F && F.m(A, null), m(A, _e), D && D.m(A, null), m(g, De), k && k.m(g, null), m(g, me), m(g, K), m(K, ke), m(g, Je), m(g, ue), m(ue, $e), Ge || (Qe = [
|
|
4472
4464
|
se(
|
|
4473
4465
|
u,
|
|
4474
4466
|
"click",
|
|
@@ -4513,57 +4505,57 @@ function Fo(e) {
|
|
|
4513
4505
|
)
|
|
4514
4506
|
], Ge = !0);
|
|
4515
4507
|
},
|
|
4516
|
-
p(
|
|
4508
|
+
p(v, P) {
|
|
4517
4509
|
P[0] & /*$_*/
|
|
4518
4510
|
2097152 && n !== (n = /*$_*/
|
|
4519
|
-
|
|
4511
|
+
v[21]("loginTitle") + "") && te(i, n), P[0] & /*$_*/
|
|
4520
4512
|
2097152 && a !== (a = /*$_*/
|
|
4521
|
-
|
|
4513
|
+
v[21]("loginSubtitle") + "") && te(c, a), P[0] & /*$_*/
|
|
4522
4514
|
2097152 && f !== (f = /*$_*/
|
|
4523
|
-
|
|
4515
|
+
v[21]("loginSubtitleRegister") + "") && te(d, f), P[0] & /*$_*/
|
|
4524
4516
|
2097152 && q !== (q = /*$_*/
|
|
4525
|
-
|
|
4517
|
+
v[21]("loginUsername") + "") && te(H, q), P[0] & /*savecredentials*/
|
|
4526
4518
|
32 && ie !== (ie = /*savecredentials*/
|
|
4527
|
-
|
|
4519
|
+
v[5] ? "username email" : "off") && h(B, "autocomplete", ie), P[0] & /*userValue*/
|
|
4528
4520
|
2048 && B.value !== /*userValue*/
|
|
4529
|
-
|
|
4521
|
+
v[11] && rt(
|
|
4530
4522
|
B,
|
|
4531
4523
|
/*userValue*/
|
|
4532
|
-
|
|
4524
|
+
v[11]
|
|
4533
4525
|
), /*invalidName*/
|
|
4534
|
-
|
|
4526
|
+
v[13] ? U ? U.p(v, P) : (U = gr(v), U.c(), U.m(x, null)) : U && (U.d(1), U = null), P[0] & /*invalidName*/
|
|
4535
4527
|
8192 && ne !== (ne = "UserContainer " + /*invalidName*/
|
|
4536
|
-
(
|
|
4528
|
+
(v[13] ? "InvalidField" : "")) && h(x, "class", ne), P[0] & /*$_*/
|
|
4537
4529
|
2097152 && be !== (be = /*$_*/
|
|
4538
|
-
|
|
4539
|
-
32 &&
|
|
4540
|
-
|
|
4530
|
+
v[21]("loginPassword") + "") && te(Re, be), P[0] & /*savecredentials*/
|
|
4531
|
+
32 && ve !== (ve = /*savecredentials*/
|
|
4532
|
+
v[5] ? "current-password" : "off") && h(C, "autocomplete", ve), P[0] & /*userPassword*/
|
|
4541
4533
|
4096 && C.value !== /*userPassword*/
|
|
4542
|
-
|
|
4534
|
+
v[12] && rt(
|
|
4543
4535
|
C,
|
|
4544
4536
|
/*userPassword*/
|
|
4545
|
-
|
|
4546
|
-
), we === (we = Ye(
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4537
|
+
v[12]
|
|
4538
|
+
), we === (we = Ye(v)) && Q ? Q.p(v, P) : (Q.d(1), Q = we(v), Q && (Q.c(), Q.m(A, ye))), /*invalidPassword*/
|
|
4539
|
+
v[14] && /*simplepasswordvalidation*/
|
|
4540
|
+
v[2] !== "true" ? F ? F.p(v, P) : (F = br(v), F.c(), F.m(A, _e)) : F && (F.d(1), F = null), /*invalidPassword*/
|
|
4541
|
+
v[14] && /*simplepasswordvalidation*/
|
|
4542
|
+
v[2] === "true" ? D ? D.p(v, P) : (D = vr(v), D.c(), D.m(A, null)) : D && (D.d(1), D = null), P[0] & /*invalidPassword*/
|
|
4551
4543
|
16384 && de !== (de = "PasswordContainer " + /*invalidPassword*/
|
|
4552
|
-
(
|
|
4553
|
-
|
|
4544
|
+
(v[14] ? "InvalidField" : "")) && h(A, "class", de), /*errorMessage*/
|
|
4545
|
+
v[15] ? k ? k.p(v, P) : (k = yr(v), k.c(), k.m(g, me)) : k && (k.d(1), k = null), P[0] & /*$_*/
|
|
4554
4546
|
2097152 && pe !== (pe = /*$_*/
|
|
4555
|
-
|
|
4547
|
+
v[21]("loginButton") + "") && te(ke, pe), P[0] & /*isFormDataInvalid*/
|
|
4556
4548
|
524288 && (K.disabled = /*isFormDataInvalid*/
|
|
4557
|
-
|
|
4549
|
+
v[19]), P[0] & /*$_*/
|
|
4558
4550
|
2097152 && Ee !== (Ee = /*$_*/
|
|
4559
|
-
|
|
4551
|
+
v[21]("loginForgotPassword") + "") && te($e, Ee);
|
|
4560
4552
|
},
|
|
4561
|
-
d(
|
|
4562
|
-
|
|
4553
|
+
d(v) {
|
|
4554
|
+
v && (I(t), I(b), I(y)), U && U.d(), e[35](null), Q.d(), F && F.d(), D && D.d(), k && k.d(), Ge = !1, Oe(Qe);
|
|
4563
4555
|
}
|
|
4564
4556
|
};
|
|
4565
4557
|
}
|
|
4566
|
-
function
|
|
4558
|
+
function Fo(e) {
|
|
4567
4559
|
let t;
|
|
4568
4560
|
return {
|
|
4569
4561
|
c() {
|
|
@@ -4646,7 +4638,7 @@ function Do(e) {
|
|
|
4646
4638
|
}
|
|
4647
4639
|
};
|
|
4648
4640
|
}
|
|
4649
|
-
function
|
|
4641
|
+
function gr(e) {
|
|
4650
4642
|
let t, r = (
|
|
4651
4643
|
/*$_*/
|
|
4652
4644
|
e[21]("loginUsernameError") + ""
|
|
@@ -4668,7 +4660,7 @@ function br(e) {
|
|
|
4668
4660
|
}
|
|
4669
4661
|
};
|
|
4670
4662
|
}
|
|
4671
|
-
function
|
|
4663
|
+
function Do(e) {
|
|
4672
4664
|
let t, r, n, i, o, s, a, c, l;
|
|
4673
4665
|
return {
|
|
4674
4666
|
c() {
|
|
@@ -4688,27 +4680,27 @@ function ko(e) {
|
|
|
4688
4680
|
}
|
|
4689
4681
|
};
|
|
4690
4682
|
}
|
|
4691
|
-
function
|
|
4692
|
-
let t, r, n, i, o, s, a, c, l, u, f, d, b,
|
|
4683
|
+
function ko(e) {
|
|
4684
|
+
let t, r, n, i, o, s, a, c, l, u, f, d, b, y, g;
|
|
4693
4685
|
return {
|
|
4694
4686
|
c() {
|
|
4695
4687
|
t = O("svg"), r = O("defs"), n = O("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = O("g"), s = O("circle"), a = O("g"), c = O("path"), l = O("path"), u = O("g"), f = O("path"), d = O("path"), b = O("rect"), h(s, "class", "a"), h(s, "cx", "0.05"), h(s, "cy", "0.05"), h(s, "r", "0.05"), h(s, "transform", "translate(121.017 31.148)"), h(c, "class", "a"), h(c, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), h(c, "transform", "translate(-142.164 -39.123)"), h(l, "class", "a"), h(l, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), h(l, "transform", "translate(-136.413 -42.068)"), h(a, "transform", "translate(117.499 27.37)"), h(f, "class", "a"), h(f, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), h(f, "transform", "translate(-110.856 -33.157)"), h(d, "class", "a"), h(d, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), h(d, "transform", "translate(-130.743 -29.617)"), h(u, "transform", "translate(110.856 24.899)"), h(b, "class", "a"), h(b, "width", "0.972"), h(b, "height", "15.861"), h(b, "rx", "0.486"), h(b, "transform", "translate(114.827 23.858) rotate(-39.315)"), h(o, "transform", "translate(-110.856 -23.242)"), h(t, "class", "TogglePasswordVisibility"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "18.844"), h(t, "height", "12.887"), h(t, "viewBox", "0 0 18.844 12.887");
|
|
4696
4688
|
},
|
|
4697
4689
|
m(x, M) {
|
|
4698
|
-
L(x, t, M), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), m(a, c), m(a, l), m(o, u), m(u, f), m(u, d), m(o, b),
|
|
4690
|
+
L(x, t, M), m(t, r), m(r, n), m(n, i), m(t, o), m(o, s), m(o, a), m(a, c), m(a, l), m(o, u), m(u, f), m(u, d), m(o, b), y || (g = se(
|
|
4699
4691
|
t,
|
|
4700
4692
|
"click",
|
|
4701
4693
|
/*click_handler_1*/
|
|
4702
4694
|
e[36]
|
|
4703
|
-
),
|
|
4695
|
+
), y = !0);
|
|
4704
4696
|
},
|
|
4705
4697
|
p: Z,
|
|
4706
4698
|
d(x) {
|
|
4707
|
-
x && I(t),
|
|
4699
|
+
x && I(t), y = !1, g();
|
|
4708
4700
|
}
|
|
4709
4701
|
};
|
|
4710
4702
|
}
|
|
4711
|
-
function
|
|
4703
|
+
function br(e) {
|
|
4712
4704
|
let t, r = (
|
|
4713
4705
|
/*$_*/
|
|
4714
4706
|
e[21]("loginPasswordError") + ""
|
|
@@ -4752,7 +4744,7 @@ function vr(e) {
|
|
|
4752
4744
|
}
|
|
4753
4745
|
};
|
|
4754
4746
|
}
|
|
4755
|
-
function
|
|
4747
|
+
function yr(e) {
|
|
4756
4748
|
let t, r;
|
|
4757
4749
|
return {
|
|
4758
4750
|
c() {
|
|
@@ -4777,21 +4769,21 @@ function _r(e) {
|
|
|
4777
4769
|
}
|
|
4778
4770
|
};
|
|
4779
4771
|
}
|
|
4780
|
-
function
|
|
4772
|
+
function $o(e) {
|
|
4781
4773
|
let t, r, n, i, o, s = (
|
|
4782
4774
|
/*captchakey*/
|
|
4783
|
-
e[1] &&
|
|
4775
|
+
e[1] && pr(e)
|
|
4784
4776
|
);
|
|
4785
4777
|
function a(u, f) {
|
|
4786
4778
|
return (
|
|
4787
4779
|
/*isLoading*/
|
|
4788
|
-
u[16] ?
|
|
4780
|
+
u[16] ? Ro : No
|
|
4789
4781
|
);
|
|
4790
4782
|
}
|
|
4791
4783
|
let c = a(e), l = c(e);
|
|
4792
4784
|
return {
|
|
4793
4785
|
c() {
|
|
4794
|
-
s && s.c(), t =
|
|
4786
|
+
s && s.c(), t = cn(), r = z(), n = S("div"), i = z(), o = S("div"), l.c(), h(n, "class", "g-recaptcha"), h(
|
|
4795
4787
|
n,
|
|
4796
4788
|
"data-sitekey",
|
|
4797
4789
|
/*captchakey*/
|
|
@@ -4799,11 +4791,11 @@ function Go(e) {
|
|
|
4799
4791
|
), h(o, "class", "PlayerLoginFormWrapper");
|
|
4800
4792
|
},
|
|
4801
4793
|
m(u, f) {
|
|
4802
|
-
s && s.m(
|
|
4794
|
+
s && s.m(mr.head, null), m(mr.head, t), L(u, r, f), L(u, n, f), L(u, i, f), L(u, o, f), l.m(o, null), e[40](o);
|
|
4803
4795
|
},
|
|
4804
4796
|
p(u, f) {
|
|
4805
4797
|
/*captchakey*/
|
|
4806
|
-
u[1] ? s ? s.p(u, f) : (s =
|
|
4798
|
+
u[1] ? s ? s.p(u, f) : (s = pr(u), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
|
|
4807
4799
|
2 && h(
|
|
4808
4800
|
n,
|
|
4809
4801
|
"data-sitekey",
|
|
@@ -4818,27 +4810,27 @@ function Go(e) {
|
|
|
4818
4810
|
}
|
|
4819
4811
|
};
|
|
4820
4812
|
}
|
|
4821
|
-
let
|
|
4822
|
-
function
|
|
4813
|
+
let Go = "Please use this code {0} to activate your account";
|
|
4814
|
+
function jo(e, t, r) {
|
|
4823
4815
|
let n;
|
|
4824
|
-
|
|
4825
|
-
let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: c = "false" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: f = "" } = t, { savecredentials: d = "" } = t, b,
|
|
4816
|
+
on(e, Io, (p) => r(21, n = p));
|
|
4817
|
+
let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: c = "false" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: f = "" } = t, { savecredentials: d = "" } = t, b, y, g = !1, x, M = !1, q = window.navigator.userAgent, H = "", R = "", G = { username: "", password: "" }, J = !1, B = !1, ie = "", re = !1, ne, fe = !1, A = !0, W, be = +localStorage.getItem("smsTimer") || 0, Re = Date.now() / 1e3 - be, Ue = localStorage.getItem("smsValidation") == "true" && Re < 60, oe = {
|
|
4826
4818
|
user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
|
|
4827
4819
|
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,
|
|
4828
4820
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
|
|
4829
4821
|
};
|
|
4830
|
-
|
|
4822
|
+
Oo({ withLocale: "en", translations: {} });
|
|
4831
4823
|
const qe = () => {
|
|
4832
4824
|
fetch(f).then(($) => $.json()).then(($) => {
|
|
4833
4825
|
Object.keys($).forEach((j) => {
|
|
4834
|
-
|
|
4826
|
+
fr(j, $[j]);
|
|
4835
4827
|
});
|
|
4836
4828
|
}).catch(($) => {
|
|
4837
4829
|
console.log($);
|
|
4838
4830
|
});
|
|
4839
4831
|
};
|
|
4840
|
-
Object.keys(
|
|
4841
|
-
|
|
4832
|
+
Object.keys(dr).forEach((p) => {
|
|
4833
|
+
fr(p, dr[p]);
|
|
4842
4834
|
});
|
|
4843
4835
|
const C = () => new Promise((p, $) => {
|
|
4844
4836
|
grecaptcha.ready(() => {
|
|
@@ -4846,11 +4838,11 @@ function Vo(e, t, r) {
|
|
|
4846
4838
|
p(j);
|
|
4847
4839
|
});
|
|
4848
4840
|
});
|
|
4849
|
-
}),
|
|
4841
|
+
}), ve = () => {
|
|
4850
4842
|
c == "true" && (oe.password = /^(?!.* ).{8,20}$/);
|
|
4851
4843
|
}, Fe = () => {
|
|
4852
4844
|
r(18, fe = !0), _e();
|
|
4853
|
-
},
|
|
4845
|
+
}, ye = () => {
|
|
4854
4846
|
r(18, fe = !1), _e();
|
|
4855
4847
|
}, _e = () => {
|
|
4856
4848
|
r(17, ne.type = fe ? "text" : "password", ne);
|
|
@@ -4891,12 +4883,12 @@ function Vo(e, t, r) {
|
|
|
4891
4883
|
let Ke = {
|
|
4892
4884
|
"Content-Type": "application/json",
|
|
4893
4885
|
"g-recaptcha-response": j
|
|
4894
|
-
}, et = { username: p, password: $ },
|
|
4886
|
+
}, et = { username: p, password: $ }, rn = {
|
|
4895
4887
|
method: "POST",
|
|
4896
4888
|
headers: Ke,
|
|
4897
4889
|
body: JSON.stringify(et)
|
|
4898
4890
|
};
|
|
4899
|
-
fetch(`${i}/v1/player/login/player`,
|
|
4891
|
+
fetch(`${i}/v1/player/login/player`, rn).then((V) => (V.status >= 500 && (r(15, ie = "Server might not be responsing"), r(16, re = !1), window.postMessage(
|
|
4900
4892
|
{
|
|
4901
4893
|
type: "WidgetNotification",
|
|
4902
4894
|
data: {
|
|
@@ -4942,11 +4934,11 @@ function Vo(e, t, r) {
|
|
|
4942
4934
|
window.location.href
|
|
4943
4935
|
);
|
|
4944
4936
|
} catch {
|
|
4945
|
-
let
|
|
4946
|
-
r(15, ie =
|
|
4937
|
+
let Gt = V.error.substring(V.error.indexOf("errorMessage") + 13, V.error.length);
|
|
4938
|
+
r(15, ie = Gt), r(16, re = !1), window.postMessage(
|
|
4947
4939
|
{
|
|
4948
4940
|
type: "WidgetNotification",
|
|
4949
|
-
data: { type: "error", message:
|
|
4941
|
+
data: { type: "error", message: Gt }
|
|
4950
4942
|
},
|
|
4951
4943
|
window.location.href
|
|
4952
4944
|
);
|
|
@@ -4963,12 +4955,12 @@ function Vo(e, t, r) {
|
|
|
4963
4955
|
},
|
|
4964
4956
|
body: JSON.stringify({
|
|
4965
4957
|
userId: $,
|
|
4966
|
-
messageTemplate:
|
|
4958
|
+
messageTemplate: Go,
|
|
4967
4959
|
destination: p
|
|
4968
4960
|
})
|
|
4969
4961
|
}), Ke = await j.json();
|
|
4970
4962
|
if (j.ok) {
|
|
4971
|
-
r(8,
|
|
4963
|
+
r(8, y = Ke.id);
|
|
4972
4964
|
let et = Ke.maxValidationAttempts;
|
|
4973
4965
|
g = !1;
|
|
4974
4966
|
} else
|
|
@@ -4977,7 +4969,7 @@ function Vo(e, t, r) {
|
|
|
4977
4969
|
g = !0, console.error(j);
|
|
4978
4970
|
}
|
|
4979
4971
|
}, Qe = () => {
|
|
4980
|
-
|
|
4972
|
+
Lo(s);
|
|
4981
4973
|
}, U = () => {
|
|
4982
4974
|
let p = document.createElement("style");
|
|
4983
4975
|
p.innerHTML = l, W.appendChild(p);
|
|
@@ -4996,7 +4988,7 @@ function Vo(e, t, r) {
|
|
|
4996
4988
|
);
|
|
4997
4989
|
});
|
|
4998
4990
|
};
|
|
4999
|
-
|
|
4991
|
+
mn(() => (window.addEventListener("message", ue, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(10, M = Co(q)), () => {
|
|
5000
4992
|
window.removeEventListener("message", ue);
|
|
5001
4993
|
}));
|
|
5002
4994
|
const we = () => de();
|
|
@@ -5011,8 +5003,8 @@ function Vo(e, t, r) {
|
|
|
5011
5003
|
ne = p, r(17, ne);
|
|
5012
5004
|
});
|
|
5013
5005
|
}
|
|
5014
|
-
const k = () =>
|
|
5015
|
-
function
|
|
5006
|
+
const k = () => ye(), v = () => Fe(), P = (p) => me(p), en = (p) => De(p);
|
|
5007
|
+
function tn(p) {
|
|
5016
5008
|
ut[p ? "unshift" : "push"](() => {
|
|
5017
5009
|
W = p, r(6, W);
|
|
5018
5010
|
});
|
|
@@ -5022,7 +5014,7 @@ function Vo(e, t, r) {
|
|
|
5022
5014
|
}, e.$$.update = () => {
|
|
5023
5015
|
e.$$.dirty[0] & /*endpoint, lang*/
|
|
5024
5016
|
536870913 && i && s && Qe(), e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
5025
|
-
4 && c &&
|
|
5017
|
+
4 && c && ve(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5026
5018
|
72 && l && W && U(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5027
5019
|
80 && u && W && Ye(), e.$$.dirty[1] & /*translationurl*/
|
|
5028
5020
|
1 && f && qe();
|
|
@@ -5035,7 +5027,7 @@ function Vo(e, t, r) {
|
|
|
5035
5027
|
d,
|
|
5036
5028
|
W,
|
|
5037
5029
|
b,
|
|
5038
|
-
|
|
5030
|
+
y,
|
|
5039
5031
|
x,
|
|
5040
5032
|
M,
|
|
5041
5033
|
H,
|
|
@@ -5050,7 +5042,7 @@ function Vo(e, t, r) {
|
|
|
5050
5042
|
Ue,
|
|
5051
5043
|
n,
|
|
5052
5044
|
Fe,
|
|
5053
|
-
|
|
5045
|
+
ye,
|
|
5054
5046
|
de,
|
|
5055
5047
|
De,
|
|
5056
5048
|
me,
|
|
@@ -5064,20 +5056,20 @@ function Vo(e, t, r) {
|
|
|
5064
5056
|
F,
|
|
5065
5057
|
D,
|
|
5066
5058
|
k,
|
|
5067
|
-
|
|
5059
|
+
v,
|
|
5068
5060
|
P,
|
|
5069
|
-
|
|
5070
|
-
|
|
5061
|
+
en,
|
|
5062
|
+
tn
|
|
5071
5063
|
];
|
|
5072
5064
|
}
|
|
5073
|
-
class
|
|
5065
|
+
class Vo extends Tn {
|
|
5074
5066
|
constructor(t) {
|
|
5075
|
-
super(),
|
|
5067
|
+
super(), Sn(
|
|
5076
5068
|
this,
|
|
5077
5069
|
t,
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5070
|
+
jo,
|
|
5071
|
+
$o,
|
|
5072
|
+
Er,
|
|
5081
5073
|
{
|
|
5082
5074
|
endpoint: 0,
|
|
5083
5075
|
captchakey: 1,
|
|
@@ -5089,7 +5081,7 @@ class zo extends Hn {
|
|
|
5089
5081
|
translationurl: 31,
|
|
5090
5082
|
savecredentials: 5
|
|
5091
5083
|
},
|
|
5092
|
-
|
|
5084
|
+
Mo,
|
|
5093
5085
|
[-1, -1]
|
|
5094
5086
|
);
|
|
5095
5087
|
}
|
|
@@ -5148,32 +5140,32 @@ class zo extends Hn {
|
|
|
5148
5140
|
this.$$set({ savecredentials: t }), ee();
|
|
5149
5141
|
}
|
|
5150
5142
|
}
|
|
5151
|
-
|
|
5143
|
+
Pn(Vo, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
|
|
5152
5144
|
export {
|
|
5153
5145
|
he as $,
|
|
5154
|
-
|
|
5155
|
-
|
|
5146
|
+
Vo as G,
|
|
5147
|
+
Tn as S,
|
|
5156
5148
|
Me as a,
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
|
|
5160
|
-
|
|
5149
|
+
qr as b,
|
|
5150
|
+
Pn as c,
|
|
5151
|
+
an as d,
|
|
5152
|
+
I as e,
|
|
5161
5153
|
ee as f,
|
|
5162
|
-
|
|
5163
|
-
h,
|
|
5164
|
-
|
|
5165
|
-
|
|
5166
|
-
|
|
5167
|
-
|
|
5154
|
+
te as g,
|
|
5155
|
+
rt as h,
|
|
5156
|
+
Sn as i,
|
|
5157
|
+
h as j,
|
|
5158
|
+
L as k,
|
|
5159
|
+
m as l,
|
|
5168
5160
|
se as m,
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5161
|
+
Z as n,
|
|
5162
|
+
S as o,
|
|
5163
|
+
z as p,
|
|
5164
|
+
on as q,
|
|
5173
5165
|
Oe as r,
|
|
5174
|
-
|
|
5166
|
+
Er as s,
|
|
5175
5167
|
N as t,
|
|
5176
|
-
|
|
5168
|
+
mn as u,
|
|
5177
5169
|
ut as v,
|
|
5178
|
-
|
|
5170
|
+
Io as w
|
|
5179
5171
|
};
|