@everymatrix/general-player-login-form 1.45.0 → 1.45.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralPlayerLoginForm-DA7FHyqz.cjs → GeneralPlayerLoginForm-BHQBK1mk.cjs} +3 -3
- package/components/{GeneralPlayerLoginForm-pQwOgSrr.js → GeneralPlayerLoginForm-D_90-MFN.js} +205 -205
- package/components/GeneralPlayerSmsVerificationForm-CvQzYeHk.cjs +1 -0
- package/components/{GeneralPlayerSmsVerificationForm-Fw_YaAcd.js → GeneralPlayerSmsVerificationForm-pqJ0feO6.js} +139 -139
- package/es2015/general-player-login-form.cjs +1 -1
- package/es2015/general-player-login-form.js +1 -1
- package/package.json +2 -2
- package/components/GeneralPlayerSmsVerificationForm-TUDKWMcp.cjs +0 -1
package/components/{GeneralPlayerLoginForm-pQwOgSrr.js → GeneralPlayerLoginForm-D_90-MFN.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
var
|
|
1
|
+
var bn = Object.defineProperty, vn = Object.defineProperties;
|
|
2
2
|
var yn = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Jt = Object.getOwnPropertySymbols;
|
|
4
4
|
var _n = Object.prototype.hasOwnProperty, En = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var vt = (e, t, r) => t in e ?
|
|
5
|
+
var vt = (e, t, r) => t in e ? bn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
7
|
_n.call(t, r) && vt(e, r, t[r]);
|
|
8
8
|
if (Jt)
|
|
@@ -93,7 +93,7 @@ function Hn(e, t) {
|
|
|
93
93
|
t
|
|
94
94
|
), t.sheet;
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function L(e, t, r) {
|
|
97
97
|
e.insertBefore(t, r || null);
|
|
98
98
|
}
|
|
99
99
|
function I(e) {
|
|
@@ -102,13 +102,13 @@ function I(e) {
|
|
|
102
102
|
function S(e) {
|
|
103
103
|
return document.createElement(e);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function O(e) {
|
|
106
106
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
107
107
|
}
|
|
108
108
|
function N(e) {
|
|
109
109
|
return document.createTextNode(e);
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function z() {
|
|
112
112
|
return N(" ");
|
|
113
113
|
}
|
|
114
114
|
function Bn() {
|
|
@@ -245,8 +245,8 @@ function Gn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
245
245
|
};
|
|
246
246
|
s && s(l.root);
|
|
247
247
|
let c = !1;
|
|
248
|
-
if (l.ctx = r ? r(e, t.props || {}, (f, d, ...
|
|
249
|
-
const y =
|
|
248
|
+
if (l.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
|
|
249
|
+
const y = b.length ? b[0] : d;
|
|
250
250
|
return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), c && $n(e, f)), d;
|
|
251
251
|
}) : [], l.update(), c = !0, Le(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
252
252
|
if (t.hydrate) {
|
|
@@ -310,7 +310,7 @@ typeof HTMLElement == "function" && (Lr = class extends HTMLElement {
|
|
|
310
310
|
* @param {HTMLElement} [anchor]
|
|
311
311
|
*/
|
|
312
312
|
m: function(l, c) {
|
|
313
|
-
|
|
313
|
+
L(l, s, c);
|
|
314
314
|
},
|
|
315
315
|
d: function(l) {
|
|
316
316
|
l && I(s);
|
|
@@ -593,8 +593,8 @@ var ft = function() {
|
|
|
593
593
|
var l = u.value;
|
|
594
594
|
l.remove(this);
|
|
595
595
|
}
|
|
596
|
-
} catch (
|
|
597
|
-
t = { error:
|
|
596
|
+
} catch (g) {
|
|
597
|
+
t = { error: g };
|
|
598
598
|
} finally {
|
|
599
599
|
try {
|
|
600
600
|
u && !u.done && (r = a.return) && r.call(a);
|
|
@@ -608,26 +608,26 @@ var ft = function() {
|
|
|
608
608
|
if (le(c))
|
|
609
609
|
try {
|
|
610
610
|
c();
|
|
611
|
-
} catch (
|
|
612
|
-
o =
|
|
611
|
+
} catch (g) {
|
|
612
|
+
o = g instanceof _t ? g.errors : [g];
|
|
613
613
|
}
|
|
614
614
|
var f = this._finalizers;
|
|
615
615
|
if (f) {
|
|
616
616
|
this._finalizers = null;
|
|
617
617
|
try {
|
|
618
|
-
for (var d = It(f),
|
|
619
|
-
var y =
|
|
618
|
+
for (var d = It(f), b = d.next(); !b.done; b = d.next()) {
|
|
619
|
+
var y = b.value;
|
|
620
620
|
try {
|
|
621
621
|
rr(y);
|
|
622
|
-
} catch (
|
|
623
|
-
o = o != null ? o : [],
|
|
622
|
+
} catch (g) {
|
|
623
|
+
o = o != null ? o : [], g instanceof _t ? o = Be(Be([], Ct(o)), Ct(g.errors)) : o.push(g);
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
|
-
} catch (
|
|
627
|
-
n = { error:
|
|
626
|
+
} catch (g) {
|
|
627
|
+
n = { error: g };
|
|
628
628
|
} finally {
|
|
629
629
|
try {
|
|
630
|
-
|
|
630
|
+
b && !b.done && (i = d.return) && i.call(d);
|
|
631
631
|
} finally {
|
|
632
632
|
if (n) throw n.error;
|
|
633
633
|
}
|
|
@@ -1068,19 +1068,19 @@ function Me(e, t, r) {
|
|
|
1068
1068
|
f();
|
|
1069
1069
|
const y = t(n ? l[0] : l, s, a);
|
|
1070
1070
|
o ? s(y) : f = Gt(y) ? y : Z;
|
|
1071
|
-
},
|
|
1072
|
-
(y,
|
|
1071
|
+
}, b = i.map(
|
|
1072
|
+
(y, g) => Or(
|
|
1073
1073
|
y,
|
|
1074
1074
|
(x) => {
|
|
1075
|
-
l[
|
|
1075
|
+
l[g] = x, c &= ~(1 << g), u && d();
|
|
1076
1076
|
},
|
|
1077
1077
|
() => {
|
|
1078
|
-
c |= 1 <<
|
|
1078
|
+
c |= 1 << g;
|
|
1079
1079
|
}
|
|
1080
1080
|
)
|
|
1081
1081
|
);
|
|
1082
1082
|
return u = !0, d(), function() {
|
|
1083
|
-
Le(
|
|
1083
|
+
Le(b), f(), u = !1;
|
|
1084
1084
|
};
|
|
1085
1085
|
});
|
|
1086
1086
|
}
|
|
@@ -1112,19 +1112,19 @@ function pi(e, t, r) {
|
|
|
1112
1112
|
return Ze(n, r);
|
|
1113
1113
|
});
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1115
|
+
function gi(e, t) {
|
|
1116
1116
|
if (!t.customMerge)
|
|
1117
1117
|
return Ae;
|
|
1118
1118
|
var r = t.customMerge(e);
|
|
1119
1119
|
return typeof r == "function" ? r : Ae;
|
|
1120
1120
|
}
|
|
1121
|
-
function
|
|
1121
|
+
function bi(e) {
|
|
1122
1122
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1123
1123
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1124
1124
|
}) : [];
|
|
1125
1125
|
}
|
|
1126
1126
|
function ur(e) {
|
|
1127
|
-
return Object.keys(e).concat(
|
|
1127
|
+
return Object.keys(e).concat(bi(e));
|
|
1128
1128
|
}
|
|
1129
1129
|
function Gr(e, t) {
|
|
1130
1130
|
try {
|
|
@@ -1141,7 +1141,7 @@ function yi(e, t, r) {
|
|
|
1141
1141
|
return r.isMergeableObject(e) && ur(e).forEach(function(i) {
|
|
1142
1142
|
n[i] = Ze(e[i], r);
|
|
1143
1143
|
}), ur(t).forEach(function(i) {
|
|
1144
|
-
vi(e, i) || (Gr(e, i) && r.isMergeableObject(t[i]) ? n[i] =
|
|
1144
|
+
vi(e, i) || (Gr(e, i) && r.isMergeableObject(t[i]) ? n[i] = gi(i, r)(e[i], t[i], r) : n[i] = Ze(t[i], r));
|
|
1145
1145
|
}), n;
|
|
1146
1146
|
}
|
|
1147
1147
|
function Ae(e, t, r) {
|
|
@@ -1468,13 +1468,13 @@ function Oi(e) {
|
|
|
1468
1468
|
case "integer-width":
|
|
1469
1469
|
if (i.options.length > 1)
|
|
1470
1470
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1471
|
-
i.options[0].replace(Ii, function(u, l, c, f, d,
|
|
1471
|
+
i.options[0].replace(Ii, function(u, l, c, f, d, b) {
|
|
1472
1472
|
if (l)
|
|
1473
1473
|
t.minimumIntegerDigits = c.length;
|
|
1474
1474
|
else {
|
|
1475
1475
|
if (f && d)
|
|
1476
1476
|
throw new Error("We currently do not support maximum integer digits");
|
|
1477
|
-
if (
|
|
1477
|
+
if (b)
|
|
1478
1478
|
throw new Error("We currently do not support exact integer digits");
|
|
1479
1479
|
}
|
|
1480
1480
|
return "";
|
|
@@ -1488,8 +1488,8 @@ function Oi(e) {
|
|
|
1488
1488
|
if (hr.test(i.stem)) {
|
|
1489
1489
|
if (i.options.length > 1)
|
|
1490
1490
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1491
|
-
i.stem.replace(hr, function(u, l, c, f, d,
|
|
1492
|
-
return c === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : d &&
|
|
1491
|
+
i.stem.replace(hr, function(u, l, c, f, d, b) {
|
|
1492
|
+
return c === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : d && b ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1493
1493
|
});
|
|
1494
1494
|
var o = i.options[0];
|
|
1495
1495
|
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), fr(o)));
|
|
@@ -3039,11 +3039,11 @@ function tn(e, t) {
|
|
|
3039
3039
|
}
|
|
3040
3040
|
var Ut;
|
|
3041
3041
|
if (Nt) {
|
|
3042
|
-
var
|
|
3042
|
+
var gr = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3043
3043
|
Ut = function(t, r) {
|
|
3044
3044
|
var n;
|
|
3045
|
-
|
|
3046
|
-
var i =
|
|
3045
|
+
gr.lastIndex = r;
|
|
3046
|
+
var i = gr.exec(t);
|
|
3047
3047
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3048
3048
|
};
|
|
3049
3049
|
} else
|
|
@@ -3257,34 +3257,34 @@ var Zi = (
|
|
|
3257
3257
|
var d = Wi(f.val);
|
|
3258
3258
|
if (d.length === 0)
|
|
3259
3259
|
return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
|
|
3260
|
-
var
|
|
3261
|
-
l = { style: d, styleLocation:
|
|
3260
|
+
var b = E(c, this.clonePosition());
|
|
3261
|
+
l = { style: d, styleLocation: b };
|
|
3262
3262
|
}
|
|
3263
3263
|
var y = this.tryParseArgumentClose(i);
|
|
3264
3264
|
if (y.err)
|
|
3265
3265
|
return y;
|
|
3266
|
-
var
|
|
3266
|
+
var g = E(i, this.clonePosition());
|
|
3267
3267
|
if (l && mr(l == null ? void 0 : l.style, "::", 0)) {
|
|
3268
3268
|
var x = Xi(l.style.slice(2));
|
|
3269
3269
|
if (a === "number") {
|
|
3270
3270
|
var f = this.parseNumberSkeletonFromString(x, l.styleLocation);
|
|
3271
3271
|
return f.err ? f : {
|
|
3272
|
-
val: { type: T.number, value: n, location:
|
|
3272
|
+
val: { type: T.number, value: n, location: g, style: f.val },
|
|
3273
3273
|
err: null
|
|
3274
3274
|
};
|
|
3275
3275
|
} else {
|
|
3276
3276
|
if (x.length === 0)
|
|
3277
|
-
return this.error(_.EXPECT_DATE_TIME_SKELETON,
|
|
3278
|
-
var
|
|
3279
|
-
this.locale && (
|
|
3277
|
+
return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
|
|
3278
|
+
var M = x;
|
|
3279
|
+
this.locale && (M = Li(x, this.locale));
|
|
3280
3280
|
var d = {
|
|
3281
3281
|
type: Ie.dateTime,
|
|
3282
|
-
pattern:
|
|
3282
|
+
pattern: M,
|
|
3283
3283
|
location: l.styleLocation,
|
|
3284
|
-
parsedOptions: this.shouldParseSkeletons ? Ti(
|
|
3284
|
+
parsedOptions: this.shouldParseSkeletons ? Ti(M) : {}
|
|
3285
3285
|
}, q = a === "date" ? T.date : T.time;
|
|
3286
3286
|
return {
|
|
3287
|
-
val: { type: q, value: n, location:
|
|
3287
|
+
val: { type: q, value: n, location: g, style: d },
|
|
3288
3288
|
err: null
|
|
3289
3289
|
};
|
|
3290
3290
|
}
|
|
@@ -3293,7 +3293,7 @@ var Zi = (
|
|
|
3293
3293
|
val: {
|
|
3294
3294
|
type: a === "number" ? T.number : a === "date" ? T.date : T.time,
|
|
3295
3295
|
value: n,
|
|
3296
|
-
location:
|
|
3296
|
+
location: g,
|
|
3297
3297
|
style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
|
|
3298
3298
|
},
|
|
3299
3299
|
err: null
|
|
@@ -3302,9 +3302,9 @@ var Zi = (
|
|
|
3302
3302
|
case "plural":
|
|
3303
3303
|
case "selectordinal":
|
|
3304
3304
|
case "select": {
|
|
3305
|
-
var
|
|
3305
|
+
var H = this.clonePosition();
|
|
3306
3306
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3307
|
-
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(
|
|
3307
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(H, w({}, H)));
|
|
3308
3308
|
this.bumpSpace();
|
|
3309
3309
|
var R = this.parseIdentifierIfPossible(), G = 0;
|
|
3310
3310
|
if (a !== "select" && R.value === "offset") {
|
|
@@ -3322,13 +3322,13 @@ var Zi = (
|
|
|
3322
3322
|
var y = this.tryParseArgumentClose(i);
|
|
3323
3323
|
if (y.err)
|
|
3324
3324
|
return y;
|
|
3325
|
-
var
|
|
3325
|
+
var B = E(i, this.clonePosition());
|
|
3326
3326
|
return a === "select" ? {
|
|
3327
3327
|
val: {
|
|
3328
3328
|
type: T.select,
|
|
3329
3329
|
value: n,
|
|
3330
3330
|
options: pr(J.val),
|
|
3331
|
-
location:
|
|
3331
|
+
location: B
|
|
3332
3332
|
},
|
|
3333
3333
|
err: null
|
|
3334
3334
|
} : {
|
|
@@ -3338,7 +3338,7 @@ var Zi = (
|
|
|
3338
3338
|
options: pr(J.val),
|
|
3339
3339
|
offset: G,
|
|
3340
3340
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3341
|
-
location:
|
|
3341
|
+
location: B
|
|
3342
3342
|
},
|
|
3343
3343
|
err: null
|
|
3344
3344
|
};
|
|
@@ -3414,20 +3414,20 @@ var Zi = (
|
|
|
3414
3414
|
if (u.has(l))
|
|
3415
3415
|
return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
|
3416
3416
|
l === "other" && (s = !0), this.bumpSpace();
|
|
3417
|
-
var
|
|
3417
|
+
var b = this.clonePosition();
|
|
3418
3418
|
if (!this.bumpIf("{"))
|
|
3419
3419
|
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
|
|
3420
3420
|
var y = this.parseMessage(t + 1, r, n);
|
|
3421
3421
|
if (y.err)
|
|
3422
3422
|
return y;
|
|
3423
|
-
var
|
|
3424
|
-
if (
|
|
3425
|
-
return
|
|
3423
|
+
var g = this.tryParseArgumentClose(b);
|
|
3424
|
+
if (g.err)
|
|
3425
|
+
return g;
|
|
3426
3426
|
a.push([
|
|
3427
3427
|
l,
|
|
3428
3428
|
{
|
|
3429
3429
|
value: y.val,
|
|
3430
|
-
location: E(
|
|
3430
|
+
location: E(b, this.clonePosition())
|
|
3431
3431
|
}
|
|
3432
3432
|
]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
|
|
3433
3433
|
}
|
|
@@ -3607,7 +3607,7 @@ var mt = (
|
|
|
3607
3607
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3608
3608
|
}, t;
|
|
3609
3609
|
}(Error)
|
|
3610
|
-
),
|
|
3610
|
+
), br = (
|
|
3611
3611
|
/** @class */
|
|
3612
3612
|
function(e) {
|
|
3613
3613
|
ue(t, e);
|
|
@@ -3634,14 +3634,14 @@ var mt = (
|
|
|
3634
3634
|
}
|
|
3635
3635
|
return t;
|
|
3636
3636
|
}(mt)
|
|
3637
|
-
),
|
|
3637
|
+
), X;
|
|
3638
3638
|
(function(e) {
|
|
3639
3639
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3640
|
-
})(
|
|
3640
|
+
})(X || (X = {}));
|
|
3641
3641
|
function ao(e) {
|
|
3642
3642
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3643
3643
|
var n = t[t.length - 1];
|
|
3644
|
-
return !n || n.type !==
|
|
3644
|
+
return !n || n.type !== X.literal || r.type !== X.literal ? t.push(r) : n.value += r.value, t;
|
|
3645
3645
|
}, []);
|
|
3646
3646
|
}
|
|
3647
3647
|
function lo(e) {
|
|
@@ -3651,7 +3651,7 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3651
3651
|
if (e.length === 1 && cr(e[0]))
|
|
3652
3652
|
return [
|
|
3653
3653
|
{
|
|
3654
|
-
type:
|
|
3654
|
+
type: X.literal,
|
|
3655
3655
|
value: e[0].value
|
|
3656
3656
|
}
|
|
3657
3657
|
];
|
|
@@ -3659,14 +3659,14 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3659
3659
|
var c = l[u];
|
|
3660
3660
|
if (cr(c)) {
|
|
3661
3661
|
a.push({
|
|
3662
|
-
type:
|
|
3662
|
+
type: X.literal,
|
|
3663
3663
|
value: c.value
|
|
3664
3664
|
});
|
|
3665
3665
|
continue;
|
|
3666
3666
|
}
|
|
3667
3667
|
if (Si(c)) {
|
|
3668
3668
|
typeof o == "number" && a.push({
|
|
3669
|
-
type:
|
|
3669
|
+
type: X.literal,
|
|
3670
3670
|
value: r.getNumberFormat(t).format(o)
|
|
3671
3671
|
});
|
|
3672
3672
|
continue;
|
|
@@ -3677,69 +3677,69 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3677
3677
|
var d = i[f];
|
|
3678
3678
|
if (xi(c)) {
|
|
3679
3679
|
(!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
|
|
3680
|
-
type: typeof d == "string" ?
|
|
3680
|
+
type: typeof d == "string" ? X.literal : X.object,
|
|
3681
3681
|
value: d
|
|
3682
3682
|
});
|
|
3683
3683
|
continue;
|
|
3684
3684
|
}
|
|
3685
3685
|
if (Vr(c)) {
|
|
3686
|
-
var
|
|
3686
|
+
var b = typeof c.style == "string" ? n.date[c.style] : Mt(c.style) ? c.style.parsedOptions : void 0;
|
|
3687
3687
|
a.push({
|
|
3688
|
-
type:
|
|
3689
|
-
value: r.getDateTimeFormat(t,
|
|
3688
|
+
type: X.literal,
|
|
3689
|
+
value: r.getDateTimeFormat(t, b).format(d)
|
|
3690
3690
|
});
|
|
3691
3691
|
continue;
|
|
3692
3692
|
}
|
|
3693
3693
|
if (zr(c)) {
|
|
3694
|
-
var
|
|
3694
|
+
var b = typeof c.style == "string" ? n.time[c.style] : Mt(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3695
3695
|
a.push({
|
|
3696
|
-
type:
|
|
3697
|
-
value: r.getDateTimeFormat(t,
|
|
3696
|
+
type: X.literal,
|
|
3697
|
+
value: r.getDateTimeFormat(t, b).format(d)
|
|
3698
3698
|
});
|
|
3699
3699
|
continue;
|
|
3700
3700
|
}
|
|
3701
3701
|
if (jr(c)) {
|
|
3702
|
-
var
|
|
3703
|
-
|
|
3704
|
-
type:
|
|
3705
|
-
value: r.getNumberFormat(t,
|
|
3702
|
+
var b = typeof c.style == "string" ? n.number[c.style] : qr(c.style) ? c.style.parsedOptions : void 0;
|
|
3703
|
+
b && b.scale && (d = d * (b.scale || 1)), a.push({
|
|
3704
|
+
type: X.literal,
|
|
3705
|
+
value: r.getNumberFormat(t, b).format(d)
|
|
3706
3706
|
});
|
|
3707
3707
|
continue;
|
|
3708
3708
|
}
|
|
3709
3709
|
if (Zr(c)) {
|
|
3710
|
-
var y = c.children,
|
|
3710
|
+
var y = c.children, g = c.value, x = i[g];
|
|
3711
3711
|
if (!lo(x))
|
|
3712
|
-
throw new oo(
|
|
3713
|
-
var
|
|
3712
|
+
throw new oo(g, "function", s);
|
|
3713
|
+
var M = at(y, t, r, n, i, o), q = x(M.map(function(G) {
|
|
3714
3714
|
return G.value;
|
|
3715
3715
|
}));
|
|
3716
3716
|
Array.isArray(q) || (q = [q]), a.push.apply(a, q.map(function(G) {
|
|
3717
3717
|
return {
|
|
3718
|
-
type: typeof G == "string" ?
|
|
3718
|
+
type: typeof G == "string" ? X.literal : X.object,
|
|
3719
3719
|
value: G
|
|
3720
3720
|
};
|
|
3721
3721
|
}));
|
|
3722
3722
|
}
|
|
3723
3723
|
if (Xr(c)) {
|
|
3724
|
-
var
|
|
3725
|
-
if (!
|
|
3726
|
-
throw new
|
|
3727
|
-
a.push.apply(a, at(
|
|
3724
|
+
var H = c.options[d] || c.options.other;
|
|
3725
|
+
if (!H)
|
|
3726
|
+
throw new br(c.value, d, Object.keys(c.options), s);
|
|
3727
|
+
a.push.apply(a, at(H.value, t, r, n, i));
|
|
3728
3728
|
continue;
|
|
3729
3729
|
}
|
|
3730
3730
|
if (Wr(c)) {
|
|
3731
|
-
var
|
|
3732
|
-
if (!
|
|
3731
|
+
var H = c.options["=".concat(d)];
|
|
3732
|
+
if (!H) {
|
|
3733
3733
|
if (!Intl.PluralRules)
|
|
3734
3734
|
throw new mt(`Intl.PluralRules is not available in this environment.
|
|
3735
3735
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3736
3736
|
`, Ce.MISSING_INTL_API, s);
|
|
3737
3737
|
var R = r.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
|
|
3738
|
-
|
|
3738
|
+
H = c.options[R] || c.options.other;
|
|
3739
3739
|
}
|
|
3740
|
-
if (!
|
|
3741
|
-
throw new
|
|
3742
|
-
a.push.apply(a, at(
|
|
3740
|
+
if (!H)
|
|
3741
|
+
throw new br(c.value, d, Object.keys(c.options), s);
|
|
3742
|
+
a.push.apply(a, at(H.value, t, r, n, i, d - (c.offset || 0)));
|
|
3743
3743
|
continue;
|
|
3744
3744
|
}
|
|
3745
3745
|
}
|
|
@@ -3815,7 +3815,7 @@ var fo = (
|
|
|
3815
3815
|
if (l.length === 1)
|
|
3816
3816
|
return l[0].value;
|
|
3817
3817
|
var c = l.reduce(function(f, d) {
|
|
3818
|
-
return !f.length || d.type !==
|
|
3818
|
+
return !f.length || d.type !== X.literal || typeof f[f.length - 1] != "string" ? f.push(d.value) : f[f.length - 1] += d.value, f;
|
|
3819
3819
|
}, []);
|
|
3820
3820
|
return c.length <= 1 ? c[0] || "" : c;
|
|
3821
3821
|
}, this.formatToParts = function(u) {
|
|
@@ -3940,23 +3940,23 @@ const he = {}, po = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (h
|
|
|
3940
3940
|
return he[t][e];
|
|
3941
3941
|
const r = pt(t);
|
|
3942
3942
|
for (let n = 0; n < r.length; n++) {
|
|
3943
|
-
const i = r[n], o =
|
|
3943
|
+
const i = r[n], o = bo(i, e);
|
|
3944
3944
|
if (o)
|
|
3945
3945
|
return po(e, t, o);
|
|
3946
3946
|
}
|
|
3947
3947
|
};
|
|
3948
3948
|
let zt;
|
|
3949
3949
|
const Ne = dt({});
|
|
3950
|
-
function
|
|
3950
|
+
function go(e) {
|
|
3951
3951
|
return zt[e] || null;
|
|
3952
3952
|
}
|
|
3953
3953
|
function an(e) {
|
|
3954
3954
|
return e in zt;
|
|
3955
3955
|
}
|
|
3956
|
-
function
|
|
3956
|
+
function bo(e, t) {
|
|
3957
3957
|
if (!an(e))
|
|
3958
3958
|
return null;
|
|
3959
|
-
const r =
|
|
3959
|
+
const r = go(e);
|
|
3960
3960
|
return mo(r, t);
|
|
3961
3961
|
}
|
|
3962
3962
|
function vo(e) {
|
|
@@ -4076,7 +4076,7 @@ function pt(e, t = Oe().fallbackLocale) {
|
|
|
4076
4076
|
const r = _r(e);
|
|
4077
4077
|
return t ? [.../* @__PURE__ */ new Set([...r, ..._r(t)])] : r;
|
|
4078
4078
|
}
|
|
4079
|
-
function
|
|
4079
|
+
function be() {
|
|
4080
4080
|
return $t != null ? $t : void 0;
|
|
4081
4081
|
}
|
|
4082
4082
|
ct.subscribe((e) => {
|
|
@@ -4086,7 +4086,7 @@ const Oo = (e) => {
|
|
|
4086
4086
|
if (e && vo(e) && kt(e)) {
|
|
4087
4087
|
const { loadingDelay: t } = Oe();
|
|
4088
4088
|
let r;
|
|
4089
|
-
return typeof window != "undefined" &&
|
|
4089
|
+
return typeof window != "undefined" && be() != null && t ? r = window.setTimeout(
|
|
4090
4090
|
() => Tt.set(!0),
|
|
4091
4091
|
t
|
|
4092
4092
|
) : Tt.set(!0), cn(e).then(() => {
|
|
@@ -4098,7 +4098,7 @@ const Oo = (e) => {
|
|
|
4098
4098
|
return ct.set(e);
|
|
4099
4099
|
}, fe = Co(Io({}, ct), {
|
|
4100
4100
|
set: Oo
|
|
4101
|
-
}),
|
|
4101
|
+
}), gt = (e) => {
|
|
4102
4102
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4103
4103
|
return (n) => {
|
|
4104
4104
|
const i = JSON.stringify(n);
|
|
@@ -4126,21 +4126,21 @@ const qe = (e, t) => {
|
|
|
4126
4126
|
if (e in r && t in r[e])
|
|
4127
4127
|
return r[e][t];
|
|
4128
4128
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4129
|
-
}, Mo =
|
|
4129
|
+
}, Mo = gt(
|
|
4130
4130
|
(e) => {
|
|
4131
4131
|
var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
|
|
4132
4132
|
if (r == null)
|
|
4133
4133
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4134
4134
|
return n && (i = qe("number", n)), new Intl.NumberFormat(r, i);
|
|
4135
4135
|
}
|
|
4136
|
-
), No =
|
|
4136
|
+
), No = gt(
|
|
4137
4137
|
(e) => {
|
|
4138
4138
|
var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
|
|
4139
4139
|
if (r == null)
|
|
4140
4140
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4141
4141
|
return n ? i = qe("date", n) : Object.keys(i).length === 0 && (i = qe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4142
4142
|
}
|
|
4143
|
-
), Ro =
|
|
4143
|
+
), Ro = gt(
|
|
4144
4144
|
(e) => {
|
|
4145
4145
|
var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
|
|
4146
4146
|
if (r == null)
|
|
@@ -4151,28 +4151,28 @@ const qe = (e, t) => {
|
|
|
4151
4151
|
}
|
|
4152
4152
|
), Uo = (e = {}) => {
|
|
4153
4153
|
var t = e, {
|
|
4154
|
-
locale: r =
|
|
4154
|
+
locale: r = be()
|
|
4155
4155
|
} = t, n = Re(t, [
|
|
4156
4156
|
"locale"
|
|
4157
4157
|
]);
|
|
4158
4158
|
return Mo(Xt({ locale: r }, n));
|
|
4159
4159
|
}, Fo = (e = {}) => {
|
|
4160
4160
|
var t = e, {
|
|
4161
|
-
locale: r =
|
|
4161
|
+
locale: r = be()
|
|
4162
4162
|
} = t, n = Re(t, [
|
|
4163
4163
|
"locale"
|
|
4164
4164
|
]);
|
|
4165
4165
|
return No(Xt({ locale: r }, n));
|
|
4166
4166
|
}, Do = (e = {}) => {
|
|
4167
4167
|
var t = e, {
|
|
4168
|
-
locale: r =
|
|
4168
|
+
locale: r = be()
|
|
4169
4169
|
} = t, n = Re(t, [
|
|
4170
4170
|
"locale"
|
|
4171
4171
|
]);
|
|
4172
4172
|
return Ro(Xt({ locale: r }, n));
|
|
4173
|
-
}, ko =
|
|
4173
|
+
}, ko = gt(
|
|
4174
4174
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4175
|
-
(e, t =
|
|
4175
|
+
(e, t = be()) => new fo(e, t, Oe().formats, {
|
|
4176
4176
|
ignoreTag: Oe().ignoreTag
|
|
4177
4177
|
})
|
|
4178
4178
|
), $o = (e, t = {}) => {
|
|
@@ -4181,7 +4181,7 @@ const qe = (e, t) => {
|
|
|
4181
4181
|
typeof e == "object" && (s = e, e = s.id);
|
|
4182
4182
|
const {
|
|
4183
4183
|
values: a,
|
|
4184
|
-
locale: u =
|
|
4184
|
+
locale: u = be(),
|
|
4185
4185
|
default: l
|
|
4186
4186
|
} = s;
|
|
4187
4187
|
if (u == null)
|
|
@@ -4207,7 +4207,7 @@ const qe = (e, t) => {
|
|
|
4207
4207
|
);
|
|
4208
4208
|
}
|
|
4209
4209
|
return f;
|
|
4210
|
-
}, Go = (e, t) => Do(t).format(e), jo = (e, t) => Fo(t).format(e), Vo = (e, t) => Uo(t).format(e), zo = (e, t =
|
|
4210
|
+
}, Go = (e, t) => Do(t).format(e), jo = (e, t) => Fo(t).format(e), Vo = (e, t) => Uo(t).format(e), zo = (e, t = be()) => sn(e, t), Xo = Me([fe, Ne], () => $o);
|
|
4211
4211
|
Me([fe], () => Go);
|
|
4212
4212
|
Me([fe], () => jo);
|
|
4213
4213
|
Me([fe], () => Vo);
|
|
@@ -4226,7 +4226,7 @@ if (typeof window != "undefined") {
|
|
|
4226
4226
|
}
|
|
4227
4227
|
};
|
|
4228
4228
|
};
|
|
4229
|
-
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-
|
|
4229
|
+
customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-pqJ0feO6.js").then(({ default: t }) => {
|
|
4230
4230
|
!customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
|
|
4231
4231
|
});
|
|
4232
4232
|
}
|
|
@@ -4374,7 +4374,7 @@ const xr = {
|
|
|
4374
4374
|
}
|
|
4375
4375
|
}, { document: Sr } = Sn;
|
|
4376
4376
|
function Jo(e) {
|
|
4377
|
-
Pn(e, "svelte-
|
|
4377
|
+
Pn(e, "svelte-19k7zwd", '.grecaptcha-badge{opacity:0}.PlayerLoginFormWrapper{height:100%}.FormContainer{width:100%}.FormLogin{background:var(--emfe-w-registration-color-bg, var(--emfe-w-color-gray-50, #F9F8F8));padding:50px}.FormHeaderTitle{color:var(--emfe-w-registration-typography, var(--emfe-w-color-contrast, #07072A));font-size:20px;font-weight:300;padding:0;text-transform:uppercase;margin:0}.PasswordContainer{position:relative}.FormRequired{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.FormHeaderSubtitle{color:var(--emfe-w-registration-contrast, var(--emfe-w-color-gray-300, #58586B));font-size:14px;font-weight:300;margin:5px 0 0 0}.FormRegisterCallToAction{color:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.FormContent{padding-top:20px}.UserContainer,.PasswordContainer,.CaptchaContainer{color:var(--emfe-w-registration-contrast, var(--emfe-w-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(--emfe-w-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(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));background:var(--emfe-w-color-pale, #FBECF4);color:var(--emfe-w-registration-color-primary, var(--emfe-w-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(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emfe-w-registration-contrast, var(--emfe-w-color-gray-300, #58586B))}.SignInButton{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer}.SignInButton[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);cursor:not-allowed}.ForgotPasswordButton{border:0;background:transparent;font-size:14px;font-weight:300;color:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));margin-top:15px;cursor:pointer}.PasswordContainer,.UserContainer{padding-bottom:40px}.InvalidInput{color:var(--emfe-w-color-error, var(--emfe-w-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(--emfe-w-color-error, var(--emfe-w-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(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-registration-color-primary, var(--emfe-w-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)}}');
|
|
4378
4378
|
}
|
|
4379
4379
|
function Pr(e) {
|
|
4380
4380
|
let t, r;
|
|
@@ -4384,7 +4384,7 @@ function Pr(e) {
|
|
|
4384
4384
|
e[1]) || h(t, "src", r), t.async = !0, t.defer = !0;
|
|
4385
4385
|
},
|
|
4386
4386
|
m(n, i) {
|
|
4387
|
-
|
|
4387
|
+
L(n, t, i);
|
|
4388
4388
|
},
|
|
4389
4389
|
p(n, i) {
|
|
4390
4390
|
i[0] & /*captchakey*/
|
|
@@ -4407,16 +4407,16 @@ function Qo(e) {
|
|
|
4407
4407
|
let o = i(e), s = o(e);
|
|
4408
4408
|
return {
|
|
4409
4409
|
c() {
|
|
4410
|
-
t = S("div"), r = S("div"), s.c(), h(r, "class", "FormLogin
|
|
4411
|
-
(e[10] ? "FormMobileContainer" : "")
|
|
4410
|
+
t = S("div"), r = S("div"), s.c(), h(r, "class", "FormLogin"), h(t, "class", n = "FormContainer " + /*mobileView*/
|
|
4411
|
+
(e[10] ? "FormMobileContainer" : ""));
|
|
4412
4412
|
},
|
|
4413
4413
|
m(a, u) {
|
|
4414
|
-
|
|
4414
|
+
L(a, t, u), p(t, r), s.m(r, null);
|
|
4415
4415
|
},
|
|
4416
4416
|
p(a, u) {
|
|
4417
4417
|
o === (o = i(a)) && s ? s.p(a, u) : (s.d(1), s = o(a), s && (s.c(), s.m(r, null))), u[0] & /*mobileView*/
|
|
4418
4418
|
1024 && n !== (n = "FormContainer " + /*mobileView*/
|
|
4419
|
-
(a[10] ? "FormMobileContainer" : "")
|
|
4419
|
+
(a[10] ? "FormMobileContainer" : "")) && h(t, "class", n);
|
|
4420
4420
|
},
|
|
4421
4421
|
d(a) {
|
|
4422
4422
|
a && I(t), s.d();
|
|
@@ -4427,10 +4427,10 @@ function Yo(e) {
|
|
|
4427
4427
|
let t;
|
|
4428
4428
|
return {
|
|
4429
4429
|
c() {
|
|
4430
|
-
t = S("div"), t.innerHTML = '<div class="ModalLoader
|
|
4430
|
+
t = S("div"), t.innerHTML = '<div class="ModalLoader"></div>', h(t, "class", "ModalLoaderWrapper");
|
|
4431
4431
|
},
|
|
4432
4432
|
m(r, n) {
|
|
4433
|
-
|
|
4433
|
+
L(r, t, n);
|
|
4434
4434
|
},
|
|
4435
4435
|
p: Z,
|
|
4436
4436
|
d(r) {
|
|
@@ -4448,13 +4448,13 @@ function Ko(e) {
|
|
|
4448
4448
|
), u, l, c, f = (
|
|
4449
4449
|
/*$_*/
|
|
4450
4450
|
e[21]("loginSubtitleRegister") + ""
|
|
4451
|
-
), d,
|
|
4451
|
+
), d, b, y, g, x, M, q = (
|
|
4452
4452
|
/*$_*/
|
|
4453
4453
|
e[21]("loginUsername") + ""
|
|
4454
|
-
),
|
|
4454
|
+
), H, R, G, J, B, oe, ne, ie, de, A, W, ve = (
|
|
4455
4455
|
/*$_*/
|
|
4456
4456
|
e[21]("loginPassword") + ""
|
|
4457
|
-
), Ue, Fe, se, Je, C, ye, De, _e, Ee, me, ke, pe, ee,
|
|
4457
|
+
), Ue, Fe, se, Je, C, ye, De, _e, Ee, me, ke, pe, ee, ge = (
|
|
4458
4458
|
/*$_*/
|
|
4459
4459
|
e[21]("loginButton") + ""
|
|
4460
4460
|
), $e, Qe, ce, we = (
|
|
@@ -4484,23 +4484,23 @@ function Ko(e) {
|
|
|
4484
4484
|
);
|
|
4485
4485
|
return {
|
|
4486
4486
|
c() {
|
|
4487
|
-
t = S("div"), r = S("h4"), i = N(n), o =
|
|
4488
|
-
e[5] ? "username email" : "off"),
|
|
4489
|
-
(e[13] ? "InvalidField" : "")
|
|
4490
|
-
e[5] ? "current-password" : "off"), h(C, "aria-describedby", "password-constraints"), C.required = !0, h(
|
|
4491
|
-
(e[14] ? "InvalidField" : "")
|
|
4492
|
-
e[19], h(ee, "id", "signin-button"), h(ce, "class", "ForgotPasswordButton
|
|
4487
|
+
t = S("div"), r = S("h4"), i = N(n), o = z(), s = S("p"), u = N(a), l = z(), c = 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"), ne = z(), U && U.c(), de = z(), A = S("div"), W = S("label"), Ue = N(ve), Fe = N(":"), se = S("span"), se.textContent = "*", Je = z(), C = S("input"), De = z(), Q.c(), _e = z(), F && F.c(), Ee = z(), D && D.c(), ke = z(), k && k.c(), pe = z(), ee = S("button"), $e = N(ge), Qe = z(), ce = S("button"), Ge = N(we), h(r, "class", "FormHeaderTitle"), h(c, "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", oe = /*savecredentials*/
|
|
4488
|
+
e[5] ? "username email" : "off"), B.required = !0, h(x, "class", ie = "UserContainer " + /*invalidName*/
|
|
4489
|
+
(e[13] ? "InvalidField" : "")), h(se, "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", ye = /*savecredentials*/
|
|
4490
|
+
e[5] ? "current-password" : "off"), h(C, "aria-describedby", "password-constraints"), C.required = !0, h(A, "class", me = "PasswordContainer " + /*invalidPassword*/
|
|
4491
|
+
(e[14] ? "InvalidField" : "")), h(ee, "class", "SignInButton"), ee.disabled = /*isFormDataInvalid*/
|
|
4492
|
+
e[19], h(ee, "id", "signin-button"), h(ce, "class", "ForgotPasswordButton"), h(g, "id", "signin"), h(y, "class", "FormContent");
|
|
4493
4493
|
},
|
|
4494
4494
|
m(v, P) {
|
|
4495
|
-
|
|
4496
|
-
|
|
4495
|
+
L(v, t, P), p(t, r), p(r, i), p(t, o), p(t, s), p(s, u), p(s, l), p(s, c), p(c, d), L(v, b, P), L(v, y, P), p(y, g), p(g, x), p(x, M), p(M, H), p(M, R), p(M, G), p(x, J), p(x, B), rt(
|
|
4496
|
+
B,
|
|
4497
4497
|
/*userValue*/
|
|
4498
4498
|
e[11]
|
|
4499
|
-
), p(x, ne), U && U.m(x, null), p(
|
|
4499
|
+
), p(x, ne), U && U.m(x, null), p(g, de), p(g, A), p(A, W), p(W, Ue), p(W, Fe), p(W, se), p(A, Je), p(A, C), rt(
|
|
4500
4500
|
C,
|
|
4501
4501
|
/*userPassword*/
|
|
4502
4502
|
e[12]
|
|
4503
|
-
), e[35](C), p(A, De), Q.m(A, null), p(A, _e), F && F.m(A, null), p(A, Ee), D && D.m(A, null), p(
|
|
4503
|
+
), e[35](C), p(A, De), Q.m(A, null), p(A, _e), F && F.m(A, null), p(A, Ee), D && D.m(A, null), p(g, ke), k && k.m(g, null), p(g, pe), p(g, ee), p(ee, $e), p(g, Qe), p(g, ce), p(ce, Ge), je || (Ye = [
|
|
4504
4504
|
ae(
|
|
4505
4505
|
c,
|
|
4506
4506
|
"click",
|
|
@@ -4508,13 +4508,13 @@ function Ko(e) {
|
|
|
4508
4508
|
e[32]
|
|
4509
4509
|
),
|
|
4510
4510
|
ae(
|
|
4511
|
-
|
|
4511
|
+
B,
|
|
4512
4512
|
"input",
|
|
4513
4513
|
/*input0_input_handler*/
|
|
4514
4514
|
e[33]
|
|
4515
4515
|
),
|
|
4516
4516
|
ae(
|
|
4517
|
-
|
|
4517
|
+
B,
|
|
4518
4518
|
"input",
|
|
4519
4519
|
/*validateUserName*/
|
|
4520
4520
|
e[27]
|
|
@@ -4554,18 +4554,18 @@ function Ko(e) {
|
|
|
4554
4554
|
2097152 && f !== (f = /*$_*/
|
|
4555
4555
|
v[21]("loginSubtitleRegister") + "") && re(d, f), P[0] & /*$_*/
|
|
4556
4556
|
2097152 && q !== (q = /*$_*/
|
|
4557
|
-
v[21]("loginUsername") + "") && re(
|
|
4557
|
+
v[21]("loginUsername") + "") && re(H, q), P[0] & /*savecredentials*/
|
|
4558
4558
|
32 && oe !== (oe = /*savecredentials*/
|
|
4559
|
-
v[5] ? "username email" : "off") && h(
|
|
4560
|
-
2048 &&
|
|
4559
|
+
v[5] ? "username email" : "off") && h(B, "autocomplete", oe), P[0] & /*userValue*/
|
|
4560
|
+
2048 && B.value !== /*userValue*/
|
|
4561
4561
|
v[11] && rt(
|
|
4562
|
-
|
|
4562
|
+
B,
|
|
4563
4563
|
/*userValue*/
|
|
4564
4564
|
v[11]
|
|
4565
4565
|
), /*invalidName*/
|
|
4566
4566
|
v[13] ? U ? U.p(v, P) : (U = Tr(v), U.c(), U.m(x, null)) : U && (U.d(1), U = null), P[0] & /*invalidName*/
|
|
4567
4567
|
8192 && ie !== (ie = "UserContainer " + /*invalidName*/
|
|
4568
|
-
(v[13] ? "InvalidField" : "")
|
|
4568
|
+
(v[13] ? "InvalidField" : "")) && h(x, "class", ie), P[0] & /*$_*/
|
|
4569
4569
|
2097152 && ve !== (ve = /*$_*/
|
|
4570
4570
|
v[21]("loginPassword") + "") && re(Ue, ve), P[0] & /*savecredentials*/
|
|
4571
4571
|
32 && ye !== (ye = /*savecredentials*/
|
|
@@ -4581,17 +4581,17 @@ function Ko(e) {
|
|
|
4581
4581
|
v[14] && /*simplepasswordvalidation*/
|
|
4582
4582
|
v[2] === "true" ? D ? D.p(v, P) : (D = Br(v), D.c(), D.m(A, null)) : D && (D.d(1), D = null), P[0] & /*invalidPassword*/
|
|
4583
4583
|
16384 && me !== (me = "PasswordContainer " + /*invalidPassword*/
|
|
4584
|
-
(v[14] ? "InvalidField" : "")
|
|
4585
|
-
v[15] ? k ? k.p(v, P) : (k = Ar(v), k.c(), k.m(
|
|
4586
|
-
2097152 &&
|
|
4587
|
-
v[21]("loginButton") + "") && re($e,
|
|
4584
|
+
(v[14] ? "InvalidField" : "")) && h(A, "class", me), /*errorMessage*/
|
|
4585
|
+
v[15] ? k ? k.p(v, P) : (k = Ar(v), k.c(), k.m(g, pe)) : k && (k.d(1), k = null), P[0] & /*$_*/
|
|
4586
|
+
2097152 && ge !== (ge = /*$_*/
|
|
4587
|
+
v[21]("loginButton") + "") && re($e, ge), P[0] & /*isFormDataInvalid*/
|
|
4588
4588
|
524288 && (ee.disabled = /*isFormDataInvalid*/
|
|
4589
4589
|
v[19]), P[0] & /*$_*/
|
|
4590
4590
|
2097152 && we !== (we = /*$_*/
|
|
4591
4591
|
v[21]("loginForgotPassword") + "") && re(Ge, we);
|
|
4592
4592
|
},
|
|
4593
4593
|
d(v) {
|
|
4594
|
-
v && (I(t), I(
|
|
4594
|
+
v && (I(t), I(b), I(y)), U && U.d(), e[35](null), Q.d(), F && F.d(), D && D.d(), k && k.d(), je = !1, Le(Ye);
|
|
4595
4595
|
}
|
|
4596
4596
|
};
|
|
4597
4597
|
}
|
|
@@ -4632,7 +4632,7 @@ function es(e) {
|
|
|
4632
4632
|
);
|
|
4633
4633
|
},
|
|
4634
4634
|
m(r, n) {
|
|
4635
|
-
|
|
4635
|
+
L(r, t, n);
|
|
4636
4636
|
},
|
|
4637
4637
|
p(r, n) {
|
|
4638
4638
|
n[0] & /*endpoint*/
|
|
@@ -4685,10 +4685,10 @@ function Tr(e) {
|
|
|
4685
4685
|
), n;
|
|
4686
4686
|
return {
|
|
4687
4687
|
c() {
|
|
4688
|
-
t = S("p"), n = N(r), h(t, "class", "InvalidInput
|
|
4688
|
+
t = S("p"), n = N(r), h(t, "class", "InvalidInput");
|
|
4689
4689
|
},
|
|
4690
4690
|
m(i, o) {
|
|
4691
|
-
|
|
4691
|
+
L(i, t, o), p(t, n);
|
|
4692
4692
|
},
|
|
4693
4693
|
p(i, o) {
|
|
4694
4694
|
o[0] & /*$_*/
|
|
@@ -4704,10 +4704,10 @@ function ts(e) {
|
|
|
4704
4704
|
let t, r, n, i, o, s, a, u, l;
|
|
4705
4705
|
return {
|
|
4706
4706
|
c() {
|
|
4707
|
-
t =
|
|
4707
|
+
t = O("svg"), r = O("defs"), n = O("style"), i = N(".a{fill:var(--emfe-w-registration-typography, var(--emfe-w-color-background, #07072A));}"), o = O("g"), s = O("path"), a = O("circle"), h(s, "class", "a"), h(s, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), h(s, "transform", "translate(0)"), h(a, "class", "a"), h(a, "cx", "2.779"), h(a, "cy", "2.779"), h(a, "r", "2.779"), h(a, "transform", "translate(20.827 30.303)"), h(o, "transform", "translate(-14.185 -27.832)"), h(t, "class", "TogglePasswordVisibility"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "18.843"), h(t, "height", "10.5"), h(t, "viewBox", "0 0 18.843 10.5");
|
|
4708
4708
|
},
|
|
4709
4709
|
m(c, f) {
|
|
4710
|
-
|
|
4710
|
+
L(c, t, f), p(t, r), p(r, n), p(n, i), p(t, o), p(o, s), p(o, a), u || (l = ae(
|
|
4711
4711
|
t,
|
|
4712
4712
|
"click",
|
|
4713
4713
|
/*click_handler_2*/
|
|
@@ -4721,13 +4721,13 @@ function ts(e) {
|
|
|
4721
4721
|
};
|
|
4722
4722
|
}
|
|
4723
4723
|
function rs(e) {
|
|
4724
|
-
let t, r, n, i, o, s, a, u, l, c, f, d,
|
|
4724
|
+
let t, r, n, i, o, s, a, u, l, c, f, d, b, y, g;
|
|
4725
4725
|
return {
|
|
4726
4726
|
c() {
|
|
4727
|
-
t =
|
|
4727
|
+
t = O("svg"), r = O("defs"), n = O("style"), i = N(".a{fill:var(--emfe-w-registration-typography, var(--emfe-w-color-background, #07072A));}"), o = O("g"), s = O("circle"), a = O("g"), u = O("path"), l = O("path"), c = 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(u, "class", "a"), h(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), h(u, "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(c, "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");
|
|
4728
4728
|
},
|
|
4729
|
-
m(x,
|
|
4730
|
-
|
|
4729
|
+
m(x, M) {
|
|
4730
|
+
L(x, t, M), p(t, r), p(r, n), p(n, i), p(t, o), p(o, s), p(o, a), p(a, u), p(a, l), p(o, c), p(c, f), p(c, d), p(o, b), y || (g = ae(
|
|
4731
4731
|
t,
|
|
4732
4732
|
"click",
|
|
4733
4733
|
/*click_handler_1*/
|
|
@@ -4736,7 +4736,7 @@ function rs(e) {
|
|
|
4736
4736
|
},
|
|
4737
4737
|
p: Z,
|
|
4738
4738
|
d(x) {
|
|
4739
|
-
x && I(t), y = !1,
|
|
4739
|
+
x && I(t), y = !1, g();
|
|
4740
4740
|
}
|
|
4741
4741
|
};
|
|
4742
4742
|
}
|
|
@@ -4747,10 +4747,10 @@ function Hr(e) {
|
|
|
4747
4747
|
), n;
|
|
4748
4748
|
return {
|
|
4749
4749
|
c() {
|
|
4750
|
-
t = S("p"), n = N(r), h(t, "class", "InvalidInput
|
|
4750
|
+
t = S("p"), n = N(r), h(t, "class", "InvalidInput");
|
|
4751
4751
|
},
|
|
4752
4752
|
m(i, o) {
|
|
4753
|
-
|
|
4753
|
+
L(i, t, o), p(t, n);
|
|
4754
4754
|
},
|
|
4755
4755
|
p(i, o) {
|
|
4756
4756
|
o[0] & /*$_*/
|
|
@@ -4769,10 +4769,10 @@ function Br(e) {
|
|
|
4769
4769
|
), n;
|
|
4770
4770
|
return {
|
|
4771
4771
|
c() {
|
|
4772
|
-
t = S("p"), n = N(r), h(t, "class", "InvalidInput
|
|
4772
|
+
t = S("p"), n = N(r), h(t, "class", "InvalidInput");
|
|
4773
4773
|
},
|
|
4774
4774
|
m(i, o) {
|
|
4775
|
-
|
|
4775
|
+
L(i, t, o), p(t, n);
|
|
4776
4776
|
},
|
|
4777
4777
|
p(i, o) {
|
|
4778
4778
|
o[0] & /*$_*/
|
|
@@ -4791,10 +4791,10 @@ function Ar(e) {
|
|
|
4791
4791
|
t = S("p"), r = N(
|
|
4792
4792
|
/*errorMessage*/
|
|
4793
4793
|
e[15]
|
|
4794
|
-
), h(t, "class", "ErrorMessage
|
|
4794
|
+
), h(t, "class", "ErrorMessage");
|
|
4795
4795
|
},
|
|
4796
4796
|
m(n, i) {
|
|
4797
|
-
|
|
4797
|
+
L(n, t, i), p(t, r);
|
|
4798
4798
|
},
|
|
4799
4799
|
p(n, i) {
|
|
4800
4800
|
i[0] & /*errorMessage*/
|
|
@@ -4823,15 +4823,15 @@ function ns(e) {
|
|
|
4823
4823
|
let u = a(e), l = u(e);
|
|
4824
4824
|
return {
|
|
4825
4825
|
c() {
|
|
4826
|
-
s && s.c(), t = Bn(), r =
|
|
4826
|
+
s && s.c(), t = Bn(), r = z(), n = S("div"), i = z(), o = S("div"), l.c(), h(n, "class", "g-recaptcha"), h(
|
|
4827
4827
|
n,
|
|
4828
4828
|
"data-sitekey",
|
|
4829
4829
|
/*captchakey*/
|
|
4830
4830
|
e[1]
|
|
4831
|
-
), h(o, "class", "PlayerLoginFormWrapper
|
|
4831
|
+
), h(o, "class", "PlayerLoginFormWrapper");
|
|
4832
4832
|
},
|
|
4833
4833
|
m(c, f) {
|
|
4834
|
-
s && s.m(Sr.head, null), p(Sr.head, t),
|
|
4834
|
+
s && s.m(Sr.head, null), p(Sr.head, t), L(c, r, f), L(c, n, f), L(c, i, f), L(c, o, f), l.m(o, null), e[40](o);
|
|
4835
4835
|
},
|
|
4836
4836
|
p(c, f) {
|
|
4837
4837
|
/*captchakey*/
|
|
@@ -4854,7 +4854,7 @@ let is = "Please use this code {0} to activate your account";
|
|
|
4854
4854
|
function os(e, t, r) {
|
|
4855
4855
|
let n;
|
|
4856
4856
|
xn(e, Xo, (m) => r(21, n = m));
|
|
4857
|
-
let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: u = "false" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: f = "" } = t, { savecredentials: d = "" } = t,
|
|
4857
|
+
let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: u = "false" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = 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, oe = "", ne = !1, ie, de = !1, A = !0, W, ve = +localStorage.getItem("smsTimer") || 0, Ue = Date.now() / 1e3 - ve, Fe = localStorage.getItem("smsValidation") == "true" && Ue < 60, se = {
|
|
4858
4858
|
user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
|
|
4859
4859
|
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,
|
|
4860
4860
|
password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
|
|
@@ -4862,8 +4862,8 @@ function os(e, t, r) {
|
|
|
4862
4862
|
Zo({ withLocale: "en", translations: {} });
|
|
4863
4863
|
const Je = () => {
|
|
4864
4864
|
fetch(f).then(($) => $.json()).then(($) => {
|
|
4865
|
-
Object.keys($).forEach((
|
|
4866
|
-
wr(
|
|
4865
|
+
Object.keys($).forEach((j) => {
|
|
4866
|
+
wr(j, $[j]);
|
|
4867
4867
|
});
|
|
4868
4868
|
}).catch(($) => {
|
|
4869
4869
|
console.log($);
|
|
@@ -4874,8 +4874,8 @@ function os(e, t, r) {
|
|
|
4874
4874
|
});
|
|
4875
4875
|
const C = () => new Promise((m, $) => {
|
|
4876
4876
|
grecaptcha.ready(() => {
|
|
4877
|
-
grecaptcha.execute(o, { action: "submit" }).then((
|
|
4878
|
-
m(
|
|
4877
|
+
grecaptcha.execute(o, { action: "submit" }).then((j) => {
|
|
4878
|
+
m(j);
|
|
4879
4879
|
});
|
|
4880
4880
|
});
|
|
4881
4881
|
}), ye = () => {
|
|
@@ -4892,16 +4892,16 @@ function os(e, t, r) {
|
|
|
4892
4892
|
m.preventDefault(), window.postMessage({ type: "NavForgotPassword" }, window.location.href);
|
|
4893
4893
|
}, pe = (m) => {
|
|
4894
4894
|
m == null || m.preventDefault(), C().then(($) => {
|
|
4895
|
-
ee(
|
|
4896
|
-
username:
|
|
4895
|
+
ee(H) && ge(R) && (G = {
|
|
4896
|
+
username: H,
|
|
4897
4897
|
password: R,
|
|
4898
4898
|
token: $
|
|
4899
4899
|
}, r(16, ne = !0), Ge(G));
|
|
4900
4900
|
});
|
|
4901
|
-
}, ee = (m) => !!((se.user.test(m) || se.email.test(m)) && m.length <= 100),
|
|
4902
|
-
r(13, J = !ee(
|
|
4901
|
+
}, ee = (m) => !!((se.user.test(m) || se.email.test(m)) && m.length <= 100), ge = (m) => !!se.password.test(m), $e = () => {
|
|
4902
|
+
r(13, J = !ee(H)), r(19, A = !(!J && !B && R));
|
|
4903
4903
|
}, Qe = () => {
|
|
4904
|
-
r(14,
|
|
4904
|
+
r(14, B = !ge(R)), r(19, A = !(!J && !B && H));
|
|
4905
4905
|
}, ce = (m) => {
|
|
4906
4906
|
if (m.data)
|
|
4907
4907
|
switch (m.data.type) {
|
|
@@ -4919,16 +4919,16 @@ function os(e, t, r) {
|
|
|
4919
4919
|
typeof gtag == "function" && gtag("event", "Login", {
|
|
4920
4920
|
context: "GeneralPlayerLoginRegisterPage"
|
|
4921
4921
|
});
|
|
4922
|
-
}, Ge = (Wt) => et(this, [Wt], function* ({ username: m, password: $, token:
|
|
4922
|
+
}, Ge = (Wt) => et(this, [Wt], function* ({ username: m, password: $, token: j }) {
|
|
4923
4923
|
let Zt = {
|
|
4924
4924
|
"Content-Type": "application/json",
|
|
4925
|
-
"g-recaptcha-response":
|
|
4926
|
-
},
|
|
4925
|
+
"g-recaptcha-response": j
|
|
4926
|
+
}, bt = { username: m, password: $ }, gn = {
|
|
4927
4927
|
method: "POST",
|
|
4928
4928
|
headers: Zt,
|
|
4929
|
-
body: JSON.stringify(
|
|
4929
|
+
body: JSON.stringify(bt)
|
|
4930
4930
|
};
|
|
4931
|
-
fetch(`${i}/v1/player/login/player`,
|
|
4931
|
+
fetch(`${i}/v1/player/login/player`, gn).then((V) => (V.status >= 500 && (r(15, oe = "Server might not be responsing"), r(16, ne = !1), window.postMessage(
|
|
4932
4932
|
{
|
|
4933
4933
|
type: "WidgetNotification",
|
|
4934
4934
|
data: {
|
|
@@ -4937,13 +4937,13 @@ function os(e, t, r) {
|
|
|
4937
4937
|
}
|
|
4938
4938
|
},
|
|
4939
4939
|
window.location.href
|
|
4940
|
-
)),
|
|
4941
|
-
if (
|
|
4940
|
+
)), V.json())).then((V) => {
|
|
4941
|
+
if (V.actions !== void 0 && window.postMessage({ type: "PlayerActions" }, window.location.href), a === "true" && V.code === 4 && (r(7, b = V.detail.userId), r(9, x = V.detail.phonePrefix + V.detail.phone), r(20, Fe = !0), je(x, b), localStorage.setItem("smsValidation", "true"), localStorage.setItem("playerData", JSON.stringify({ playerid: b, number: x }))), V.sessionID) {
|
|
4942
4942
|
if (window.postMessage(
|
|
4943
4943
|
{
|
|
4944
4944
|
type: "UserSessionID",
|
|
4945
|
-
session:
|
|
4946
|
-
userid:
|
|
4945
|
+
session: V.sessionID,
|
|
4946
|
+
userid: V.universalID
|
|
4947
4947
|
},
|
|
4948
4948
|
window.location.href
|
|
4949
4949
|
), window.postMessage(
|
|
@@ -4957,15 +4957,15 @@ function os(e, t, r) {
|
|
|
4957
4957
|
window.location.href
|
|
4958
4958
|
), window.PasswordCredential && d == "true") {
|
|
4959
4959
|
const Ve = new PasswordCredential({
|
|
4960
|
-
password:
|
|
4961
|
-
id:
|
|
4960
|
+
password: bt.password,
|
|
4961
|
+
id: bt.username
|
|
4962
4962
|
});
|
|
4963
4963
|
navigator.credentials.store(Ve);
|
|
4964
4964
|
}
|
|
4965
4965
|
we();
|
|
4966
4966
|
} else
|
|
4967
4967
|
try {
|
|
4968
|
-
let Ve =
|
|
4968
|
+
let Ve = V.error;
|
|
4969
4969
|
r(15, oe = Ve), r(16, ne = !1), window.postMessage(
|
|
4970
4970
|
{
|
|
4971
4971
|
type: "WidgetNotification",
|
|
@@ -4974,7 +4974,7 @@ function os(e, t, r) {
|
|
|
4974
4974
|
window.location.href
|
|
4975
4975
|
);
|
|
4976
4976
|
} catch (Ve) {
|
|
4977
|
-
let qt =
|
|
4977
|
+
let qt = V.error.substring(V.error.indexOf("errorMessage") + 13, V.error.length);
|
|
4978
4978
|
r(15, oe = qt), r(16, ne = !1), window.postMessage(
|
|
4979
4979
|
{
|
|
4980
4980
|
type: "WidgetNotification",
|
|
@@ -4987,7 +4987,7 @@ function os(e, t, r) {
|
|
|
4987
4987
|
}), je = (m, $) => et(this, null, function* () {
|
|
4988
4988
|
localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3)));
|
|
4989
4989
|
try {
|
|
4990
|
-
const
|
|
4990
|
+
const j = yield fetch(`${i}/v1/player/sms/token`, {
|
|
4991
4991
|
method: "POST",
|
|
4992
4992
|
headers: {
|
|
4993
4993
|
"Content-Type": "application/json",
|
|
@@ -4998,27 +4998,27 @@ function os(e, t, r) {
|
|
|
4998
4998
|
messageTemplate: is,
|
|
4999
4999
|
destination: m
|
|
5000
5000
|
})
|
|
5001
|
-
}), Wt = yield
|
|
5002
|
-
if (
|
|
5001
|
+
}), Wt = yield j.json();
|
|
5002
|
+
if (j.ok) {
|
|
5003
5003
|
r(8, y = Wt.id);
|
|
5004
5004
|
let Zt = Wt.maxValidationAttempts;
|
|
5005
|
-
|
|
5005
|
+
g = !1;
|
|
5006
5006
|
} else
|
|
5007
|
-
throw
|
|
5008
|
-
} catch (
|
|
5009
|
-
|
|
5007
|
+
throw g = !0, new Error("Failed to fetch");
|
|
5008
|
+
} catch (j) {
|
|
5009
|
+
g = !0, console.error(j);
|
|
5010
5010
|
}
|
|
5011
5011
|
}), Ye = () => {
|
|
5012
5012
|
qo(s);
|
|
5013
5013
|
}, U = () => {
|
|
5014
5014
|
let m = document.createElement("style");
|
|
5015
|
-
m.innerHTML = l,
|
|
5015
|
+
m.innerHTML = l, W.appendChild(m);
|
|
5016
5016
|
}, Ke = () => {
|
|
5017
5017
|
let m = new URL(c), $ = document.createElement("style");
|
|
5018
|
-
fetch(m.href).then((
|
|
5019
|
-
$.innerHTML =
|
|
5018
|
+
fetch(m.href).then((j) => j.text()).then((j) => {
|
|
5019
|
+
$.innerHTML = j, setTimeout(
|
|
5020
5020
|
() => {
|
|
5021
|
-
|
|
5021
|
+
W.appendChild($);
|
|
5022
5022
|
},
|
|
5023
5023
|
1
|
|
5024
5024
|
), setTimeout(
|
|
@@ -5028,12 +5028,12 @@ function os(e, t, r) {
|
|
|
5028
5028
|
);
|
|
5029
5029
|
});
|
|
5030
5030
|
};
|
|
5031
|
-
On(() => (window.addEventListener("message", ce, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(10,
|
|
5031
|
+
On(() => (window.addEventListener("message", ce, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(10, M = Wo(q)), () => {
|
|
5032
5032
|
window.removeEventListener("message", ce);
|
|
5033
5033
|
}));
|
|
5034
5034
|
const xe = () => me();
|
|
5035
5035
|
function Q() {
|
|
5036
|
-
|
|
5036
|
+
H = this.value, r(11, H);
|
|
5037
5037
|
}
|
|
5038
5038
|
function F() {
|
|
5039
5039
|
R = this.value, r(12, R);
|
|
@@ -5046,7 +5046,7 @@ function os(e, t, r) {
|
|
|
5046
5046
|
const k = () => _e(), v = () => De(), P = (m) => pe(m), mn = (m) => ke(m);
|
|
5047
5047
|
function pn(m) {
|
|
5048
5048
|
ut[m ? "unshift" : "push"](() => {
|
|
5049
|
-
|
|
5049
|
+
W = m, r(6, W);
|
|
5050
5050
|
});
|
|
5051
5051
|
}
|
|
5052
5052
|
return e.$$set = (m) => {
|
|
@@ -5055,8 +5055,8 @@ function os(e, t, r) {
|
|
|
5055
5055
|
e.$$.dirty[0] & /*endpoint, lang*/
|
|
5056
5056
|
536870913 && i && s && Ye(), e.$$.dirty[0] & /*simplepasswordvalidation*/
|
|
5057
5057
|
4 && u && ye(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5058
|
-
72 && l &&
|
|
5059
|
-
80 && c &&
|
|
5058
|
+
72 && l && W && U(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5059
|
+
80 && c && W && Ke(), e.$$.dirty[1] & /*translationurl*/
|
|
5060
5060
|
1 && f && Je();
|
|
5061
5061
|
}, [
|
|
5062
5062
|
i,
|
|
@@ -5065,15 +5065,15 @@ function os(e, t, r) {
|
|
|
5065
5065
|
l,
|
|
5066
5066
|
c,
|
|
5067
5067
|
d,
|
|
5068
|
-
|
|
5069
|
-
|
|
5068
|
+
W,
|
|
5069
|
+
b,
|
|
5070
5070
|
y,
|
|
5071
5071
|
x,
|
|
5072
|
-
|
|
5073
|
-
|
|
5072
|
+
M,
|
|
5073
|
+
H,
|
|
5074
5074
|
R,
|
|
5075
5075
|
J,
|
|
5076
|
-
|
|
5076
|
+
B,
|
|
5077
5077
|
oe,
|
|
5078
5078
|
ne,
|
|
5079
5079
|
ie,
|
|
@@ -5195,10 +5195,10 @@ export {
|
|
|
5195
5195
|
Pn as d,
|
|
5196
5196
|
S as e,
|
|
5197
5197
|
te as f,
|
|
5198
|
-
|
|
5198
|
+
z as g,
|
|
5199
5199
|
h,
|
|
5200
5200
|
Gn as i,
|
|
5201
|
-
|
|
5201
|
+
L as j,
|
|
5202
5202
|
p as k,
|
|
5203
5203
|
rt as l,
|
|
5204
5204
|
ae as m,
|