@everymatrix/general-player-login-form-nd 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/{GeneralPlayerLoginFormNd-CG_o6BQp.cjs → GeneralPlayerLoginFormNd-DFIoh_lD.cjs} +3 -3
- package/components/{GeneralPlayerLoginFormNd-DNLSZ6cJ.js → GeneralPlayerLoginFormNd-kWaXN8ir.js} +351 -351
- package/components/GeneralPlayerSmsVerificationForm-DkKHGfqq.cjs +1 -0
- package/components/{GeneralPlayerSmsVerificationForm-X00jZj-d.js → GeneralPlayerSmsVerificationForm-DphIEHR4.js} +139 -139
- package/es2015/general-player-login-form-nd.cjs +1 -1
- package/es2015/general-player-login-form-nd.js +1 -1
- package/package.json +2 -2
- package/components/GeneralPlayerSmsVerificationForm-BOoEr57k.cjs +0 -1
package/components/{GeneralPlayerLoginFormNd-DNLSZ6cJ.js → GeneralPlayerLoginFormNd-kWaXN8ir.js}
RENAMED
|
@@ -38,10 +38,10 @@ function Kt() {
|
|
|
38
38
|
function Le(e) {
|
|
39
39
|
e.forEach(Ir);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Gt(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Cr(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
47
|
let tt;
|
|
@@ -51,7 +51,7 @@ function er(e, t) {
|
|
|
51
51
|
function wn(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Or(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const n of t)
|
|
57
57
|
n(void 0);
|
|
@@ -61,7 +61,7 @@ function Cr(e, ...t) {
|
|
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
62
|
}
|
|
63
63
|
function xn(e, t, r) {
|
|
64
|
-
e.$$.on_destroy.push(
|
|
64
|
+
e.$$.on_destroy.push(Or(t, r));
|
|
65
65
|
}
|
|
66
66
|
const Sn = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
|
|
67
67
|
// @ts-ignore Node typings have this
|
|
@@ -93,7 +93,7 @@ function Hn(e, t) {
|
|
|
93
93
|
t
|
|
94
94
|
), t.sheet;
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function O(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 C(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() {
|
|
@@ -147,12 +147,12 @@ let We;
|
|
|
147
147
|
function Xe(e) {
|
|
148
148
|
We = e;
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function Cn() {
|
|
151
151
|
if (!We) throw new Error("Function called outside component initialization");
|
|
152
152
|
return We;
|
|
153
153
|
}
|
|
154
|
-
function
|
|
155
|
-
|
|
154
|
+
function On(e) {
|
|
155
|
+
Cn().$$.on_mount.push(e);
|
|
156
156
|
}
|
|
157
157
|
const Te = [], ut = [];
|
|
158
158
|
let He = [];
|
|
@@ -202,24 +202,24 @@ function Rn(e) {
|
|
|
202
202
|
He.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), He = t;
|
|
203
203
|
}
|
|
204
204
|
const Un = /* @__PURE__ */ new Set();
|
|
205
|
-
function
|
|
205
|
+
function Fn(e, t) {
|
|
206
206
|
e && e.i && (Un.delete(e), e.i(t));
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function Dn(e, t, r) {
|
|
209
209
|
const { fragment: n, after_update: i } = e.$$;
|
|
210
210
|
n && n.m(t, r), Bt(() => {
|
|
211
|
-
const o = e.$$.on_mount.map(Ir).filter(
|
|
211
|
+
const o = e.$$.on_mount.map(Ir).filter(Gt);
|
|
212
212
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Le(o), e.$$.on_mount = [];
|
|
213
213
|
}), i.forEach(Bt);
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function kn(e, t) {
|
|
216
216
|
const r = e.$$;
|
|
217
217
|
r.fragment !== null && (Rn(r.after_update), Le(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function $n(e, t) {
|
|
220
220
|
e.$$.dirty[0] === -1 && (Te.push(e), Mn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function Gn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
223
223
|
const u = We;
|
|
224
224
|
Xe(e);
|
|
225
225
|
const l = e.$$ = {
|
|
@@ -245,16 +245,16 @@ function $n(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,
|
|
249
|
-
const y = b.length ? b[0] :
|
|
250
|
-
return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), c &&
|
|
248
|
+
if (l.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
|
|
249
|
+
const y = b.length ? b[0] : d;
|
|
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) {
|
|
253
253
|
const f = An(t.target);
|
|
254
254
|
l.fragment && l.fragment.l(f), f.forEach(I);
|
|
255
255
|
} else
|
|
256
256
|
l.fragment && l.fragment.c();
|
|
257
|
-
t.intro &&
|
|
257
|
+
t.intro && Fn(e.$$.fragment), Dn(e, t.target, t.anchor), te();
|
|
258
258
|
}
|
|
259
259
|
Xe(u);
|
|
260
260
|
}
|
|
@@ -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
|
+
O(l, s, c);
|
|
314
314
|
},
|
|
315
315
|
d: function(l) {
|
|
316
316
|
l && I(s);
|
|
@@ -409,7 +409,7 @@ function ot(e, t, r, n) {
|
|
|
409
409
|
return t;
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
|
-
function
|
|
412
|
+
function jn(e, t, r, n, i, o) {
|
|
413
413
|
let s = class extends Lr {
|
|
414
414
|
constructor() {
|
|
415
415
|
super(e, r, i), this.$$p_d = t;
|
|
@@ -440,7 +440,7 @@ function Gn(e, t, r, n, i, o) {
|
|
|
440
440
|
}), e.element = /** @type {any} */
|
|
441
441
|
s, s;
|
|
442
442
|
}
|
|
443
|
-
class
|
|
443
|
+
class Vn {
|
|
444
444
|
constructor() {
|
|
445
445
|
/**
|
|
446
446
|
* ### PRIVATE API
|
|
@@ -461,7 +461,7 @@ class jn {
|
|
|
461
461
|
}
|
|
462
462
|
/** @returns {void} */
|
|
463
463
|
$destroy() {
|
|
464
|
-
|
|
464
|
+
kn(this, 1), this.$destroy = Z;
|
|
465
465
|
}
|
|
466
466
|
/**
|
|
467
467
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -470,7 +470,7 @@ class jn {
|
|
|
470
470
|
* @returns {() => void}
|
|
471
471
|
*/
|
|
472
472
|
$on(t, r) {
|
|
473
|
-
if (
|
|
473
|
+
if (!Gt(r))
|
|
474
474
|
return Z;
|
|
475
475
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
476
476
|
return n.push(r), () => {
|
|
@@ -486,8 +486,8 @@ class jn {
|
|
|
486
486
|
this.$$set && !wn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
|
-
const
|
|
490
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
489
|
+
const zn = "4";
|
|
490
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(zn);
|
|
491
491
|
var At = function(e, t) {
|
|
492
492
|
return At = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
493
493
|
r.__proto__ = n;
|
|
@@ -531,7 +531,7 @@ function It(e) {
|
|
|
531
531
|
};
|
|
532
532
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
533
533
|
}
|
|
534
|
-
function
|
|
534
|
+
function Ct(e, t) {
|
|
535
535
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
536
536
|
if (!r) return e;
|
|
537
537
|
var n = r.call(e), i, o = [], s;
|
|
@@ -571,7 +571,7 @@ var _t = Mr(function(e) {
|
|
|
571
571
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
572
572
|
};
|
|
573
573
|
});
|
|
574
|
-
function
|
|
574
|
+
function Ot(e, t) {
|
|
575
575
|
if (e) {
|
|
576
576
|
var r = e.indexOf(t);
|
|
577
577
|
0 <= r && e.splice(r, 1);
|
|
@@ -615,19 +615,19 @@ var ft = function() {
|
|
|
615
615
|
if (f) {
|
|
616
616
|
this._finalizers = null;
|
|
617
617
|
try {
|
|
618
|
-
for (var
|
|
618
|
+
for (var d = It(f), b = d.next(); !b.done; b = d.next()) {
|
|
619
619
|
var y = b.value;
|
|
620
620
|
try {
|
|
621
621
|
rr(y);
|
|
622
622
|
} catch (g) {
|
|
623
|
-
o = o != null ? o : [], g instanceof _t ? o = Be(Be([],
|
|
623
|
+
o = o != null ? o : [], g instanceof _t ? o = Be(Be([], Ct(o)), Ct(g.errors)) : o.push(g);
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
626
|
} catch (g) {
|
|
627
627
|
n = { error: g };
|
|
628
628
|
} finally {
|
|
629
629
|
try {
|
|
630
|
-
b && !b.done && (i =
|
|
630
|
+
b && !b.done && (i = d.return) && i.call(d);
|
|
631
631
|
} finally {
|
|
632
632
|
if (n) throw n.error;
|
|
633
633
|
}
|
|
@@ -657,10 +657,10 @@ var ft = function() {
|
|
|
657
657
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
658
658
|
}, e.prototype._removeParent = function(t) {
|
|
659
659
|
var r = this._parentage;
|
|
660
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
660
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ot(r, t);
|
|
661
661
|
}, e.prototype.remove = function(t) {
|
|
662
662
|
var r = this._finalizers;
|
|
663
|
-
r &&
|
|
663
|
+
r && Ot(r, t), t instanceof e && t._removeParent(this);
|
|
664
664
|
}, e.EMPTY = function() {
|
|
665
665
|
var t = new e();
|
|
666
666
|
return t.closed = !0, t;
|
|
@@ -678,20 +678,20 @@ var Ur = {
|
|
|
678
678
|
Promise: void 0,
|
|
679
679
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
680
680
|
useDeprecatedNextContext: !1
|
|
681
|
-
},
|
|
681
|
+
}, Fr = {
|
|
682
682
|
setTimeout: function(e, t) {
|
|
683
683
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
684
684
|
r[n - 2] = arguments[n];
|
|
685
|
-
return setTimeout.apply(void 0, Be([e, t],
|
|
685
|
+
return setTimeout.apply(void 0, Be([e, t], Ct(r)));
|
|
686
686
|
},
|
|
687
687
|
clearTimeout: function(e) {
|
|
688
|
-
var t =
|
|
688
|
+
var t = Fr.delegate;
|
|
689
689
|
return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(e);
|
|
690
690
|
},
|
|
691
691
|
delegate: void 0
|
|
692
692
|
};
|
|
693
693
|
function Wn(e) {
|
|
694
|
-
|
|
694
|
+
Fr.setTimeout(function() {
|
|
695
695
|
throw e;
|
|
696
696
|
});
|
|
697
697
|
}
|
|
@@ -700,7 +700,7 @@ function nr() {
|
|
|
700
700
|
function st(e) {
|
|
701
701
|
e();
|
|
702
702
|
}
|
|
703
|
-
var
|
|
703
|
+
var Dr = function(e) {
|
|
704
704
|
ue(t, e);
|
|
705
705
|
function t(r) {
|
|
706
706
|
var n = e.call(this) || this;
|
|
@@ -789,7 +789,7 @@ var qn = function() {
|
|
|
789
789
|
return o.destination = new qn(s), o;
|
|
790
790
|
}
|
|
791
791
|
return t;
|
|
792
|
-
}(
|
|
792
|
+
}(Dr);
|
|
793
793
|
function nt(e) {
|
|
794
794
|
Wn(e);
|
|
795
795
|
}
|
|
@@ -882,13 +882,13 @@ function ti(e) {
|
|
|
882
882
|
return e && le(e.next) && le(e.error) && le(e.complete);
|
|
883
883
|
}
|
|
884
884
|
function ri(e) {
|
|
885
|
-
return e && e instanceof
|
|
885
|
+
return e && e instanceof Dr || ti(e) && Rr(e);
|
|
886
886
|
}
|
|
887
887
|
var ni = Mr(function(e) {
|
|
888
888
|
return function() {
|
|
889
889
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
890
890
|
};
|
|
891
|
-
}),
|
|
891
|
+
}), kr = function(e) {
|
|
892
892
|
ue(t, e);
|
|
893
893
|
function t() {
|
|
894
894
|
var r = e.call(this) || this;
|
|
@@ -956,7 +956,7 @@ var ni = Mr(function(e) {
|
|
|
956
956
|
}, t.prototype._innerSubscribe = function(r) {
|
|
957
957
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
958
958
|
return o || s ? Nr : (this.currentObservers = null, a.push(r), new ft(function() {
|
|
959
|
-
n.currentObservers = null,
|
|
959
|
+
n.currentObservers = null, Ot(a, r);
|
|
960
960
|
}));
|
|
961
961
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
962
962
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
@@ -986,15 +986,15 @@ var ni = Mr(function(e) {
|
|
|
986
986
|
var n, i;
|
|
987
987
|
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Nr;
|
|
988
988
|
}, t;
|
|
989
|
-
}(
|
|
989
|
+
}(kr), $r = {
|
|
990
990
|
now: function() {
|
|
991
|
-
return (
|
|
991
|
+
return ($r.delegate || Date).now();
|
|
992
992
|
},
|
|
993
993
|
delegate: void 0
|
|
994
994
|
}, ii = function(e) {
|
|
995
995
|
ue(t, e);
|
|
996
996
|
function t(r, n, i) {
|
|
997
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
997
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = $r);
|
|
998
998
|
var o = e.call(this) || this;
|
|
999
999
|
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;
|
|
1000
1000
|
}
|
|
@@ -1014,7 +1014,7 @@ var ni = Mr(function(e) {
|
|
|
1014
1014
|
l && o.splice(0, l + 1);
|
|
1015
1015
|
}
|
|
1016
1016
|
}, t;
|
|
1017
|
-
}(
|
|
1017
|
+
}(kr);
|
|
1018
1018
|
const ar = [], lr = {}, oi = (e, t = 0) => {
|
|
1019
1019
|
if (ar.indexOf(e) == -1) {
|
|
1020
1020
|
const r = new ii(t);
|
|
@@ -1024,14 +1024,14 @@ const ar = [], lr = {}, oi = (e, t = 0) => {
|
|
|
1024
1024
|
}, Pe = [];
|
|
1025
1025
|
function si(e, t) {
|
|
1026
1026
|
return {
|
|
1027
|
-
subscribe:
|
|
1027
|
+
subscribe: dt(e, t).subscribe
|
|
1028
1028
|
};
|
|
1029
1029
|
}
|
|
1030
|
-
function
|
|
1030
|
+
function dt(e, t = Z) {
|
|
1031
1031
|
let r;
|
|
1032
1032
|
const n = /* @__PURE__ */ new Set();
|
|
1033
1033
|
function i(a) {
|
|
1034
|
-
if (
|
|
1034
|
+
if (Cr(e, a) && (e = a, r)) {
|
|
1035
1035
|
const u = !Pe.length;
|
|
1036
1036
|
for (const l of n)
|
|
1037
1037
|
l[1](), Pe.push(l, e);
|
|
@@ -1062,24 +1062,24 @@ function Me(e, t, r) {
|
|
|
1062
1062
|
let u = !1;
|
|
1063
1063
|
const l = [];
|
|
1064
1064
|
let c = 0, f = Z;
|
|
1065
|
-
const
|
|
1065
|
+
const d = () => {
|
|
1066
1066
|
if (c)
|
|
1067
1067
|
return;
|
|
1068
1068
|
f();
|
|
1069
1069
|
const y = t(n ? l[0] : l, s, a);
|
|
1070
|
-
o ? s(y) : f =
|
|
1070
|
+
o ? s(y) : f = Gt(y) ? y : Z;
|
|
1071
1071
|
}, b = i.map(
|
|
1072
|
-
(y, g) =>
|
|
1072
|
+
(y, g) => Or(
|
|
1073
1073
|
y,
|
|
1074
1074
|
(x) => {
|
|
1075
|
-
l[g] = x, c &= ~(1 << g), u &&
|
|
1075
|
+
l[g] = x, c &= ~(1 << g), u && d();
|
|
1076
1076
|
},
|
|
1077
1077
|
() => {
|
|
1078
1078
|
c |= 1 << g;
|
|
1079
1079
|
}
|
|
1080
1080
|
)
|
|
1081
1081
|
);
|
|
1082
|
-
return u = !0,
|
|
1082
|
+
return u = !0, d(), function() {
|
|
1083
1083
|
Le(b), f(), u = !1;
|
|
1084
1084
|
};
|
|
1085
1085
|
});
|
|
@@ -1095,17 +1095,17 @@ function ui(e) {
|
|
|
1095
1095
|
}
|
|
1096
1096
|
function ci(e) {
|
|
1097
1097
|
var t = Object.prototype.toString.call(e);
|
|
1098
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1098
|
+
return t === "[object RegExp]" || t === "[object Date]" || di(e);
|
|
1099
1099
|
}
|
|
1100
1100
|
var hi = typeof Symbol == "function" && Symbol.for, fi = hi ? Symbol.for("react.element") : 60103;
|
|
1101
|
-
function
|
|
1101
|
+
function di(e) {
|
|
1102
1102
|
return e.$$typeof === fi;
|
|
1103
1103
|
}
|
|
1104
|
-
function
|
|
1104
|
+
function mi(e) {
|
|
1105
1105
|
return Array.isArray(e) ? [] : {};
|
|
1106
1106
|
}
|
|
1107
1107
|
function Ze(e, t) {
|
|
1108
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Ae(
|
|
1108
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Ae(mi(e), e, t) : e;
|
|
1109
1109
|
}
|
|
1110
1110
|
function pi(e, t, r) {
|
|
1111
1111
|
return e.concat(t).map(function(n) {
|
|
@@ -1126,7 +1126,7 @@ function bi(e) {
|
|
|
1126
1126
|
function ur(e) {
|
|
1127
1127
|
return Object.keys(e).concat(bi(e));
|
|
1128
1128
|
}
|
|
1129
|
-
function
|
|
1129
|
+
function Gr(e, t) {
|
|
1130
1130
|
try {
|
|
1131
1131
|
return t in e;
|
|
1132
1132
|
} catch (r) {
|
|
@@ -1134,14 +1134,14 @@ function $r(e, t) {
|
|
|
1134
1134
|
}
|
|
1135
1135
|
}
|
|
1136
1136
|
function vi(e, t) {
|
|
1137
|
-
return
|
|
1137
|
+
return Gr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1138
1138
|
}
|
|
1139
1139
|
function yi(e, t, r) {
|
|
1140
1140
|
var n = {};
|
|
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) || (
|
|
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) {
|
|
@@ -1176,13 +1176,13 @@ function cr(e) {
|
|
|
1176
1176
|
function xi(e) {
|
|
1177
1177
|
return e.type === T.argument;
|
|
1178
1178
|
}
|
|
1179
|
-
function
|
|
1179
|
+
function jr(e) {
|
|
1180
1180
|
return e.type === T.number;
|
|
1181
1181
|
}
|
|
1182
|
-
function
|
|
1182
|
+
function Vr(e) {
|
|
1183
1183
|
return e.type === T.date;
|
|
1184
1184
|
}
|
|
1185
|
-
function
|
|
1185
|
+
function zr(e) {
|
|
1186
1186
|
return e.type === T.time;
|
|
1187
1187
|
}
|
|
1188
1188
|
function Xr(e) {
|
|
@@ -1299,8 +1299,8 @@ var Hi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
|
1299
1299
|
function Bi(e) {
|
|
1300
1300
|
if (e.length === 0)
|
|
1301
1301
|
throw new Error("Number skeleton cannot be empty");
|
|
1302
|
-
for (var t = e.split(Hi).filter(function(
|
|
1303
|
-
return
|
|
1302
|
+
for (var t = e.split(Hi).filter(function(d) {
|
|
1303
|
+
return d.length > 0;
|
|
1304
1304
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1305
1305
|
var o = i[n], s = o.split("/");
|
|
1306
1306
|
if (s.length === 0)
|
|
@@ -1364,7 +1364,7 @@ function Kr(e) {
|
|
|
1364
1364
|
};
|
|
1365
1365
|
}
|
|
1366
1366
|
}
|
|
1367
|
-
function
|
|
1367
|
+
function Ci(e) {
|
|
1368
1368
|
var t;
|
|
1369
1369
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1370
1370
|
notation: "engineering"
|
|
@@ -1378,11 +1378,11 @@ function Oi(e) {
|
|
|
1378
1378
|
}
|
|
1379
1379
|
return t;
|
|
1380
1380
|
}
|
|
1381
|
-
function
|
|
1381
|
+
function dr(e) {
|
|
1382
1382
|
var t = {}, r = Kr(e);
|
|
1383
1383
|
return r || t;
|
|
1384
1384
|
}
|
|
1385
|
-
function
|
|
1385
|
+
function Oi(e) {
|
|
1386
1386
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1387
1387
|
var i = n[r];
|
|
1388
1388
|
switch (i.stem) {
|
|
@@ -1418,12 +1418,12 @@ function Ci(e) {
|
|
|
1418
1418
|
continue;
|
|
1419
1419
|
case "scientific":
|
|
1420
1420
|
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
|
1421
|
-
return w(w({}, u),
|
|
1421
|
+
return w(w({}, u), dr(l));
|
|
1422
1422
|
}, {}));
|
|
1423
1423
|
continue;
|
|
1424
1424
|
case "engineering":
|
|
1425
1425
|
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
|
1426
|
-
return w(w({}, u),
|
|
1426
|
+
return w(w({}, u), dr(l));
|
|
1427
1427
|
}, {}));
|
|
1428
1428
|
continue;
|
|
1429
1429
|
case "notation-simple":
|
|
@@ -1468,11 +1468,11 @@ function Ci(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,
|
|
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
|
-
if (f &&
|
|
1475
|
+
if (f && d)
|
|
1476
1476
|
throw new Error("We currently do not support maximum integer digits");
|
|
1477
1477
|
if (b)
|
|
1478
1478
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1488,8 +1488,8 @@ function Ci(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,
|
|
1492
|
-
return c === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length :
|
|
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)));
|
|
@@ -1501,7 +1501,7 @@ function Ci(e) {
|
|
|
1501
1501
|
}
|
|
1502
1502
|
var s = Kr(i.stem);
|
|
1503
1503
|
s && (t = w(w({}, t), s));
|
|
1504
|
-
var a =
|
|
1504
|
+
var a = Ci(i.stem);
|
|
1505
1505
|
a && (t = w(w({}, t), a));
|
|
1506
1506
|
}
|
|
1507
1507
|
return t;
|
|
@@ -2956,16 +2956,16 @@ var wt, Ni = new RegExp("^".concat(Jr.source, "*")), Ri = new RegExp("".concat(J
|
|
|
2956
2956
|
function E(e, t) {
|
|
2957
2957
|
return { start: e, end: t };
|
|
2958
2958
|
}
|
|
2959
|
-
var Ui = !!String.prototype.startsWith && "_a".startsWith("a", 1),
|
|
2959
|
+
var Ui = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fi = !!String.fromCodePoint, Di = !!Object.fromEntries, ki = !!String.prototype.codePointAt, $i = !!String.prototype.trimStart, Gi = !!String.prototype.trimEnd, ji = !!Number.isSafeInteger, Vi = ji ? Number.isSafeInteger : function(e) {
|
|
2960
2960
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2961
2961
|
}, Nt = !0;
|
|
2962
2962
|
try {
|
|
2963
|
-
var
|
|
2964
|
-
Nt = ((wt =
|
|
2963
|
+
var zi = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2964
|
+
Nt = ((wt = zi.exec("a")) === null || wt === void 0 ? void 0 : wt[0]) === "a";
|
|
2965
2965
|
} catch (e) {
|
|
2966
2966
|
Nt = !1;
|
|
2967
2967
|
}
|
|
2968
|
-
var
|
|
2968
|
+
var mr = Ui ? (
|
|
2969
2969
|
// Native
|
|
2970
2970
|
function(t, r, n) {
|
|
2971
2971
|
return t.startsWith(r, n);
|
|
@@ -2975,7 +2975,7 @@ var dr = Ui ? (
|
|
|
2975
2975
|
function(t, r, n) {
|
|
2976
2976
|
return t.slice(n, n + r.length) === r;
|
|
2977
2977
|
}
|
|
2978
|
-
), Rt =
|
|
2978
|
+
), Rt = Fi ? String.fromCodePoint : (
|
|
2979
2979
|
// IE11
|
|
2980
2980
|
function() {
|
|
2981
2981
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2989,7 +2989,7 @@ var dr = Ui ? (
|
|
|
2989
2989
|
}
|
|
2990
2990
|
), pr = (
|
|
2991
2991
|
// native
|
|
2992
|
-
|
|
2992
|
+
Di ? Object.fromEntries : (
|
|
2993
2993
|
// Ponyfill
|
|
2994
2994
|
function(t) {
|
|
2995
2995
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2999,7 +2999,7 @@ var dr = Ui ? (
|
|
|
2999
2999
|
return r;
|
|
3000
3000
|
}
|
|
3001
3001
|
)
|
|
3002
|
-
), en =
|
|
3002
|
+
), en = ki ? (
|
|
3003
3003
|
// Native
|
|
3004
3004
|
function(t, r) {
|
|
3005
3005
|
return t.codePointAt(r);
|
|
@@ -3013,7 +3013,7 @@ var dr = Ui ? (
|
|
|
3013
3013
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3014
3014
|
}
|
|
3015
3015
|
}
|
|
3016
|
-
), Xi =
|
|
3016
|
+
), Xi = $i ? (
|
|
3017
3017
|
// Native
|
|
3018
3018
|
function(t) {
|
|
3019
3019
|
return t.trimStart();
|
|
@@ -3023,7 +3023,7 @@ var dr = Ui ? (
|
|
|
3023
3023
|
function(t) {
|
|
3024
3024
|
return t.replace(Ni, "");
|
|
3025
3025
|
}
|
|
3026
|
-
), Wi =
|
|
3026
|
+
), Wi = Gi ? (
|
|
3027
3027
|
// Native
|
|
3028
3028
|
function(t) {
|
|
3029
3029
|
return t.trimEnd();
|
|
@@ -3087,7 +3087,7 @@ var Zi = (
|
|
|
3087
3087
|
if (n)
|
|
3088
3088
|
break;
|
|
3089
3089
|
return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
|
|
3090
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3090
|
+
} else if (o === 60 && !this.ignoreTag && Ft(this.peek() || 0)) {
|
|
3091
3091
|
var s = this.parseTag(t, r);
|
|
3092
3092
|
if (s.err)
|
|
3093
3093
|
return s;
|
|
@@ -3120,7 +3120,7 @@ var Zi = (
|
|
|
3120
3120
|
return o;
|
|
3121
3121
|
var s = o.val, a = this.clonePosition();
|
|
3122
3122
|
if (this.bumpIf("</")) {
|
|
3123
|
-
if (this.isEOF() || !
|
|
3123
|
+
if (this.isEOF() || !Ft(this.char()))
|
|
3124
3124
|
return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
|
|
3125
3125
|
var u = this.clonePosition(), l = this.parseTagName();
|
|
3126
3126
|
return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3254,17 +3254,17 @@ var Zi = (
|
|
|
3254
3254
|
var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3255
3255
|
if (f.err)
|
|
3256
3256
|
return f;
|
|
3257
|
-
var
|
|
3258
|
-
if (
|
|
3257
|
+
var d = Wi(f.val);
|
|
3258
|
+
if (d.length === 0)
|
|
3259
3259
|
return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
|
|
3260
3260
|
var b = E(c, this.clonePosition());
|
|
3261
|
-
l = { style:
|
|
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
3266
|
var g = E(i, this.clonePosition());
|
|
3267
|
-
if (l &&
|
|
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);
|
|
@@ -3275,16 +3275,16 @@ var Zi = (
|
|
|
3275
3275
|
} else {
|
|
3276
3276
|
if (x.length === 0)
|
|
3277
3277
|
return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
|
|
3278
|
-
var
|
|
3279
|
-
this.locale && (
|
|
3280
|
-
var
|
|
3278
|
+
var L = x;
|
|
3279
|
+
this.locale && (L = Li(x, this.locale));
|
|
3280
|
+
var d = {
|
|
3281
3281
|
type: Ie.dateTime,
|
|
3282
|
-
pattern:
|
|
3282
|
+
pattern: L,
|
|
3283
3283
|
location: l.styleLocation,
|
|
3284
|
-
parsedOptions: this.shouldParseSkeletons ? Ti(
|
|
3284
|
+
parsedOptions: this.shouldParseSkeletons ? Ti(L) : {}
|
|
3285
3285
|
}, q = a === "date" ? T.date : T.time;
|
|
3286
3286
|
return {
|
|
3287
|
-
val: { type: q, value: n, location: g, style:
|
|
3287
|
+
val: { type: q, value: n, location: g, style: d },
|
|
3288
3288
|
err: null
|
|
3289
3289
|
};
|
|
3290
3290
|
}
|
|
@@ -3306,7 +3306,7 @@ var Zi = (
|
|
|
3306
3306
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3307
3307
|
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(H, w({}, H)));
|
|
3308
3308
|
this.bumpSpace();
|
|
3309
|
-
var R = this.parseIdentifierIfPossible(),
|
|
3309
|
+
var R = this.parseIdentifierIfPossible(), G = 0;
|
|
3310
3310
|
if (a !== "select" && R.value === "offset") {
|
|
3311
3311
|
if (!this.bumpIf(":"))
|
|
3312
3312
|
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
|
|
@@ -3314,7 +3314,7 @@ var Zi = (
|
|
|
3314
3314
|
var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3315
3315
|
if (f.err)
|
|
3316
3316
|
return f;
|
|
3317
|
-
this.bumpSpace(), R = this.parseIdentifierIfPossible(),
|
|
3317
|
+
this.bumpSpace(), R = this.parseIdentifierIfPossible(), G = f.val;
|
|
3318
3318
|
}
|
|
3319
3319
|
var J = this.tryParsePluralOrSelectOptions(t, a, r, R);
|
|
3320
3320
|
if (J.err)
|
|
@@ -3336,7 +3336,7 @@ var Zi = (
|
|
|
3336
3336
|
type: T.plural,
|
|
3337
3337
|
value: n,
|
|
3338
3338
|
options: pr(J.val),
|
|
3339
|
-
offset:
|
|
3339
|
+
offset: G,
|
|
3340
3340
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3341
3341
|
location: B
|
|
3342
3342
|
},
|
|
@@ -3395,7 +3395,7 @@ var Zi = (
|
|
|
3395
3395
|
type: Ie.number,
|
|
3396
3396
|
tokens: n,
|
|
3397
3397
|
location: r,
|
|
3398
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3398
|
+
parsedOptions: this.shouldParseSkeletons ? Oi(n) : {}
|
|
3399
3399
|
},
|
|
3400
3400
|
err: null
|
|
3401
3401
|
};
|
|
@@ -3404,9 +3404,9 @@ var Zi = (
|
|
|
3404
3404
|
if (l.length === 0) {
|
|
3405
3405
|
var f = this.clonePosition();
|
|
3406
3406
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3407
|
-
var
|
|
3408
|
-
if (
|
|
3409
|
-
return
|
|
3407
|
+
var d = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3408
|
+
if (d.err)
|
|
3409
|
+
return d;
|
|
3410
3410
|
c = E(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
|
|
3411
3411
|
} else
|
|
3412
3412
|
break;
|
|
@@ -3443,7 +3443,7 @@ var Zi = (
|
|
|
3443
3443
|
break;
|
|
3444
3444
|
}
|
|
3445
3445
|
var u = E(i, this.clonePosition());
|
|
3446
|
-
return o ? (s *= n,
|
|
3446
|
+
return o ? (s *= n, Vi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3447
3447
|
}, e.prototype.offset = function() {
|
|
3448
3448
|
return this.position.offset;
|
|
3449
3449
|
}, e.prototype.isEOF = function() {
|
|
@@ -3477,7 +3477,7 @@ var Zi = (
|
|
|
3477
3477
|
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);
|
|
3478
3478
|
}
|
|
3479
3479
|
}, e.prototype.bumpIf = function(t) {
|
|
3480
|
-
if (
|
|
3480
|
+
if (mr(this.message, t, this.offset())) {
|
|
3481
3481
|
for (var r = 0; r < t.length; r++)
|
|
3482
3482
|
this.bump();
|
|
3483
3483
|
return !0;
|
|
@@ -3509,11 +3509,11 @@ var Zi = (
|
|
|
3509
3509
|
}, e;
|
|
3510
3510
|
}()
|
|
3511
3511
|
);
|
|
3512
|
-
function
|
|
3512
|
+
function Ft(e) {
|
|
3513
3513
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3514
3514
|
}
|
|
3515
3515
|
function qi(e) {
|
|
3516
|
-
return
|
|
3516
|
+
return Ft(e) || e === 47;
|
|
3517
3517
|
}
|
|
3518
3518
|
function Ji(e) {
|
|
3519
3519
|
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,12 +3524,12 @@ function rn(e) {
|
|
|
3524
3524
|
function Qi(e) {
|
|
3525
3525
|
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;
|
|
3526
3526
|
}
|
|
3527
|
-
function
|
|
3527
|
+
function Dt(e) {
|
|
3528
3528
|
e.forEach(function(t) {
|
|
3529
3529
|
if (delete t.location, Xr(t) || Wr(t))
|
|
3530
3530
|
for (var r in t.options)
|
|
3531
|
-
delete t.options[r].location,
|
|
3532
|
-
else
|
|
3531
|
+
delete t.options[r].location, Dt(t.options[r].value);
|
|
3532
|
+
else jr(t) && qr(t.style) || (Vr(t) || zr(t)) && Mt(t.style) ? delete t.style.location : Zr(t) && Dt(t.children);
|
|
3533
3533
|
});
|
|
3534
3534
|
}
|
|
3535
3535
|
function Yi(e, t) {
|
|
@@ -3539,7 +3539,7 @@ function Yi(e, t) {
|
|
|
3539
3539
|
var n = SyntaxError(_[r.err.kind]);
|
|
3540
3540
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3541
3541
|
}
|
|
3542
|
-
return t != null && t.captureLocation ||
|
|
3542
|
+
return t != null && t.captureLocation || Dt(r.val), r.val;
|
|
3543
3543
|
}
|
|
3544
3544
|
function xt(e, t) {
|
|
3545
3545
|
var r = t && t.cache ? t.cache : io, n = t && t.serializer ? t.serializer : no, i = t && t.strategy ? t.strategy : eo;
|
|
@@ -3559,43 +3559,43 @@ function on(e, t, r) {
|
|
|
3559
3559
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
3560
3560
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
3561
3561
|
}
|
|
3562
|
-
function
|
|
3562
|
+
function jt(e, t, r, n, i) {
|
|
3563
3563
|
return r.bind(t, e, n, i);
|
|
3564
3564
|
}
|
|
3565
3565
|
function eo(e, t) {
|
|
3566
3566
|
var r = e.length === 1 ? nn : on;
|
|
3567
|
-
return
|
|
3567
|
+
return jt(e, this, r, t.cache.create(), t.serializer);
|
|
3568
3568
|
}
|
|
3569
3569
|
function to(e, t) {
|
|
3570
|
-
return
|
|
3570
|
+
return jt(e, this, on, t.cache.create(), t.serializer);
|
|
3571
3571
|
}
|
|
3572
3572
|
function ro(e, t) {
|
|
3573
|
-
return
|
|
3573
|
+
return jt(e, this, nn, t.cache.create(), t.serializer);
|
|
3574
3574
|
}
|
|
3575
3575
|
var no = function() {
|
|
3576
3576
|
return JSON.stringify(arguments);
|
|
3577
3577
|
};
|
|
3578
|
-
function
|
|
3578
|
+
function Vt() {
|
|
3579
3579
|
this.cache = /* @__PURE__ */ Object.create(null);
|
|
3580
3580
|
}
|
|
3581
|
-
|
|
3581
|
+
Vt.prototype.get = function(e) {
|
|
3582
3582
|
return this.cache[e];
|
|
3583
3583
|
};
|
|
3584
|
-
|
|
3584
|
+
Vt.prototype.set = function(e, t) {
|
|
3585
3585
|
this.cache[e] = t;
|
|
3586
3586
|
};
|
|
3587
3587
|
var io = {
|
|
3588
3588
|
create: function() {
|
|
3589
|
-
return new
|
|
3589
|
+
return new Vt();
|
|
3590
3590
|
}
|
|
3591
3591
|
}, St = {
|
|
3592
3592
|
variadic: to,
|
|
3593
3593
|
monadic: ro
|
|
3594
|
-
},
|
|
3594
|
+
}, Ce;
|
|
3595
3595
|
(function(e) {
|
|
3596
3596
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3597
|
-
})(
|
|
3598
|
-
var
|
|
3597
|
+
})(Ce || (Ce = {}));
|
|
3598
|
+
var mt = (
|
|
3599
3599
|
/** @class */
|
|
3600
3600
|
function(e) {
|
|
3601
3601
|
ue(t, e);
|
|
@@ -3612,36 +3612,36 @@ var dt = (
|
|
|
3612
3612
|
function(e) {
|
|
3613
3613
|
ue(t, e);
|
|
3614
3614
|
function t(r, n, i, o) {
|
|
3615
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3615
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ce.INVALID_VALUE, o) || this;
|
|
3616
3616
|
}
|
|
3617
3617
|
return t;
|
|
3618
|
-
}(
|
|
3618
|
+
}(mt)
|
|
3619
3619
|
), oo = (
|
|
3620
3620
|
/** @class */
|
|
3621
3621
|
function(e) {
|
|
3622
3622
|
ue(t, e);
|
|
3623
3623
|
function t(r, n, i) {
|
|
3624
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3624
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Ce.INVALID_VALUE, i) || this;
|
|
3625
3625
|
}
|
|
3626
3626
|
return t;
|
|
3627
|
-
}(
|
|
3627
|
+
}(mt)
|
|
3628
3628
|
), so = (
|
|
3629
3629
|
/** @class */
|
|
3630
3630
|
function(e) {
|
|
3631
3631
|
ue(t, e);
|
|
3632
3632
|
function t(r, n) {
|
|
3633
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3633
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Ce.MISSING_VALUE, n) || this;
|
|
3634
3634
|
}
|
|
3635
3635
|
return t;
|
|
3636
|
-
}(
|
|
3637
|
-
),
|
|
3636
|
+
}(mt)
|
|
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;
|
|
@@ -3674,35 +3674,35 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3674
3674
|
var f = c.value;
|
|
3675
3675
|
if (!(i && f in i))
|
|
3676
3676
|
throw new so(f, s);
|
|
3677
|
-
var
|
|
3677
|
+
var d = i[f];
|
|
3678
3678
|
if (xi(c)) {
|
|
3679
|
-
(!
|
|
3680
|
-
type: typeof
|
|
3681
|
-
value:
|
|
3679
|
+
(!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
|
|
3680
|
+
type: typeof d == "string" ? X.literal : X.object,
|
|
3681
|
+
value: d
|
|
3682
3682
|
});
|
|
3683
3683
|
continue;
|
|
3684
3684
|
}
|
|
3685
|
-
if (
|
|
3685
|
+
if (Vr(c)) {
|
|
3686
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, b).format(
|
|
3688
|
+
type: X.literal,
|
|
3689
|
+
value: r.getDateTimeFormat(t, b).format(d)
|
|
3690
3690
|
});
|
|
3691
3691
|
continue;
|
|
3692
3692
|
}
|
|
3693
|
-
if (
|
|
3693
|
+
if (zr(c)) {
|
|
3694
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, b).format(
|
|
3696
|
+
type: X.literal,
|
|
3697
|
+
value: r.getDateTimeFormat(t, b).format(d)
|
|
3698
3698
|
});
|
|
3699
3699
|
continue;
|
|
3700
3700
|
}
|
|
3701
|
-
if (
|
|
3701
|
+
if (jr(c)) {
|
|
3702
3702
|
var b = typeof c.style == "string" ? n.number[c.style] : qr(c.style) ? c.style.parsedOptions : void 0;
|
|
3703
|
-
b && b.scale && (
|
|
3704
|
-
type:
|
|
3705
|
-
value: r.getNumberFormat(t, b).format(
|
|
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
|
}
|
|
@@ -3710,36 +3710,36 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3710
3710
|
var y = c.children, g = c.value, x = i[g];
|
|
3711
3711
|
if (!lo(x))
|
|
3712
3712
|
throw new oo(g, "function", s);
|
|
3713
|
-
var
|
|
3714
|
-
return
|
|
3713
|
+
var L = at(y, t, r, n, i, o), q = x(L.map(function(G) {
|
|
3714
|
+
return G.value;
|
|
3715
3715
|
}));
|
|
3716
|
-
Array.isArray(q) || (q = [q]), a.push.apply(a, q.map(function(
|
|
3716
|
+
Array.isArray(q) || (q = [q]), a.push.apply(a, q.map(function(G) {
|
|
3717
3717
|
return {
|
|
3718
|
-
type: typeof
|
|
3719
|
-
value:
|
|
3718
|
+
type: typeof G == "string" ? X.literal : X.object,
|
|
3719
|
+
value: G
|
|
3720
3720
|
};
|
|
3721
3721
|
}));
|
|
3722
3722
|
}
|
|
3723
3723
|
if (Xr(c)) {
|
|
3724
|
-
var H = c.options[
|
|
3724
|
+
var H = c.options[d] || c.options.other;
|
|
3725
3725
|
if (!H)
|
|
3726
|
-
throw new br(c.value,
|
|
3726
|
+
throw new br(c.value, d, Object.keys(c.options), s);
|
|
3727
3727
|
a.push.apply(a, at(H.value, t, r, n, i));
|
|
3728
3728
|
continue;
|
|
3729
3729
|
}
|
|
3730
3730
|
if (Wr(c)) {
|
|
3731
|
-
var H = c.options["=".concat(
|
|
3731
|
+
var H = c.options["=".concat(d)];
|
|
3732
3732
|
if (!H) {
|
|
3733
3733
|
if (!Intl.PluralRules)
|
|
3734
|
-
throw new
|
|
3734
|
+
throw new mt(`Intl.PluralRules is not available in this environment.
|
|
3735
3735
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3736
|
-
`,
|
|
3737
|
-
var R = r.getPluralRules(t, { type: c.pluralType }).select(
|
|
3736
|
+
`, Ce.MISSING_INTL_API, s);
|
|
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
3740
|
if (!H)
|
|
3741
|
-
throw new br(c.value,
|
|
3742
|
-
a.push.apply(a, at(H.value, t, r, n, i,
|
|
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
|
}
|
|
@@ -3814,8 +3814,8 @@ var fo = (
|
|
|
3814
3814
|
var l = o.formatToParts(u);
|
|
3815
3815
|
if (l.length === 1)
|
|
3816
3816
|
return l[0].value;
|
|
3817
|
-
var c = l.reduce(function(f,
|
|
3818
|
-
return !f.length ||
|
|
3817
|
+
var c = l.reduce(function(f, d) {
|
|
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) {
|
|
@@ -3945,13 +3945,13 @@ const he = {}, po = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (h
|
|
|
3945
3945
|
return po(e, t, o);
|
|
3946
3946
|
}
|
|
3947
3947
|
};
|
|
3948
|
-
let
|
|
3949
|
-
const Ne =
|
|
3948
|
+
let zt;
|
|
3949
|
+
const Ne = dt({});
|
|
3950
3950
|
function go(e) {
|
|
3951
|
-
return
|
|
3951
|
+
return zt[e] || null;
|
|
3952
3952
|
}
|
|
3953
3953
|
function an(e) {
|
|
3954
|
-
return e in
|
|
3954
|
+
return e in zt;
|
|
3955
3955
|
}
|
|
3956
3956
|
function bo(e, t) {
|
|
3957
3957
|
if (!an(e))
|
|
@@ -3976,7 +3976,7 @@ Me(
|
|
|
3976
3976
|
[Ne],
|
|
3977
3977
|
([e]) => Object.keys(e)
|
|
3978
3978
|
);
|
|
3979
|
-
Ne.subscribe((e) =>
|
|
3979
|
+
Ne.subscribe((e) => zt = e);
|
|
3980
3980
|
const lt = {};
|
|
3981
3981
|
function yo(e, t) {
|
|
3982
3982
|
lt[e].delete(t), lt[e].size === 0 && delete lt[e];
|
|
@@ -3990,7 +3990,7 @@ function _o(e) {
|
|
|
3990
3990
|
return [t, r ? [...r] : []];
|
|
3991
3991
|
}).filter(([, t]) => t.length > 0);
|
|
3992
3992
|
}
|
|
3993
|
-
function
|
|
3993
|
+
function kt(e) {
|
|
3994
3994
|
return e == null ? !1 : pt(e).some(
|
|
3995
3995
|
(t) => {
|
|
3996
3996
|
var r;
|
|
@@ -4003,20 +4003,20 @@ function Eo(e, t) {
|
|
|
4003
4003
|
t.map((n) => (yo(e, n), n().then((i) => i.default || i)))
|
|
4004
4004
|
).then((n) => ln(e, ...n));
|
|
4005
4005
|
}
|
|
4006
|
-
const
|
|
4006
|
+
const ze = {};
|
|
4007
4007
|
function cn(e) {
|
|
4008
|
-
if (!
|
|
4009
|
-
return e in
|
|
4008
|
+
if (!kt(e))
|
|
4009
|
+
return e in ze ? ze[e] : Promise.resolve();
|
|
4010
4010
|
const t = _o(e);
|
|
4011
|
-
return
|
|
4011
|
+
return ze[e] = Promise.all(
|
|
4012
4012
|
t.map(
|
|
4013
4013
|
([r, n]) => Eo(r, n)
|
|
4014
4014
|
)
|
|
4015
4015
|
).then(() => {
|
|
4016
|
-
if (
|
|
4016
|
+
if (kt(e))
|
|
4017
4017
|
return cn(e);
|
|
4018
|
-
delete
|
|
4019
|
-
}),
|
|
4018
|
+
delete ze[e];
|
|
4019
|
+
}), ze[e];
|
|
4020
4020
|
}
|
|
4021
4021
|
const wo = {
|
|
4022
4022
|
number: {
|
|
@@ -4055,10 +4055,10 @@ const wo = {
|
|
|
4055
4055
|
handleMissingMessage: void 0,
|
|
4056
4056
|
ignoreTag: !0
|
|
4057
4057
|
}, So = xo;
|
|
4058
|
-
function
|
|
4058
|
+
function Oe() {
|
|
4059
4059
|
return So;
|
|
4060
4060
|
}
|
|
4061
|
-
const Tt =
|
|
4061
|
+
const Tt = dt(!1);
|
|
4062
4062
|
var Po = Object.defineProperty, To = Object.defineProperties, Ho = Object.getOwnPropertyDescriptors, vr = Object.getOwnPropertySymbols, Bo = Object.prototype.hasOwnProperty, Ao = Object.prototype.propertyIsEnumerable, yr = (e, t, r) => t in e ? Po(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Io = (e, t) => {
|
|
4063
4063
|
for (var r in t || (t = {}))
|
|
4064
4064
|
Bo.call(t, r) && yr(e, r, t[r]);
|
|
@@ -4066,25 +4066,25 @@ var Po = Object.defineProperty, To = Object.defineProperties, Ho = Object.getOwn
|
|
|
4066
4066
|
for (var r of vr(t))
|
|
4067
4067
|
Ao.call(t, r) && yr(e, r, t[r]);
|
|
4068
4068
|
return e;
|
|
4069
|
-
},
|
|
4070
|
-
let
|
|
4071
|
-
const ct =
|
|
4069
|
+
}, Co = (e, t) => To(e, Ho(t));
|
|
4070
|
+
let $t;
|
|
4071
|
+
const ct = dt(null);
|
|
4072
4072
|
function _r(e) {
|
|
4073
4073
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4074
4074
|
}
|
|
4075
|
-
function pt(e, t =
|
|
4075
|
+
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
4079
|
function be() {
|
|
4080
|
-
return
|
|
4080
|
+
return $t != null ? $t : void 0;
|
|
4081
4081
|
}
|
|
4082
4082
|
ct.subscribe((e) => {
|
|
4083
|
-
|
|
4083
|
+
$t = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4084
4084
|
});
|
|
4085
|
-
const
|
|
4086
|
-
if (e && vo(e) &&
|
|
4087
|
-
const { loadingDelay: t } =
|
|
4085
|
+
const Oo = (e) => {
|
|
4086
|
+
if (e && vo(e) && kt(e)) {
|
|
4087
|
+
const { loadingDelay: t } = Oe();
|
|
4088
4088
|
let r;
|
|
4089
4089
|
return typeof window != "undefined" && be() != null && t ? r = window.setTimeout(
|
|
4090
4090
|
() => Tt.set(!0),
|
|
@@ -4096,8 +4096,8 @@ const Co = (e) => {
|
|
|
4096
4096
|
});
|
|
4097
4097
|
}
|
|
4098
4098
|
return ct.set(e);
|
|
4099
|
-
}, fe =
|
|
4100
|
-
set:
|
|
4099
|
+
}, fe = Co(Io({}, ct), {
|
|
4100
|
+
set: Oo
|
|
4101
4101
|
}), gt = (e) => {
|
|
4102
4102
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4103
4103
|
return (n) => {
|
|
@@ -4122,7 +4122,7 @@ var Lo = Object.defineProperty, ht = Object.getOwnPropertySymbols, hn = Object.p
|
|
|
4122
4122
|
return r;
|
|
4123
4123
|
};
|
|
4124
4124
|
const qe = (e, t) => {
|
|
4125
|
-
const { formats: r } =
|
|
4125
|
+
const { formats: r } = Oe();
|
|
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.`);
|
|
@@ -4156,26 +4156,26 @@ const qe = (e, t) => {
|
|
|
4156
4156
|
"locale"
|
|
4157
4157
|
]);
|
|
4158
4158
|
return Mo(Xt({ locale: r }, n));
|
|
4159
|
-
},
|
|
4159
|
+
}, Fo = (e = {}) => {
|
|
4160
4160
|
var t = e, {
|
|
4161
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
4168
|
locale: r = be()
|
|
4169
4169
|
} = t, n = Re(t, [
|
|
4170
4170
|
"locale"
|
|
4171
4171
|
]);
|
|
4172
4172
|
return Ro(Xt({ locale: r }, n));
|
|
4173
|
-
},
|
|
4173
|
+
}, ko = gt(
|
|
4174
4174
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4175
|
-
(e, t = be()) => new fo(e, t,
|
|
4176
|
-
ignoreTag:
|
|
4175
|
+
(e, t = be()) => new fo(e, t, Oe().formats, {
|
|
4176
|
+
ignoreTag: Oe().ignoreTag
|
|
4177
4177
|
})
|
|
4178
|
-
),
|
|
4178
|
+
), $o = (e, t = {}) => {
|
|
4179
4179
|
var r, n, i, o;
|
|
4180
4180
|
let s = t;
|
|
4181
4181
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4190,7 +4190,7 @@ const qe = (e, t) => {
|
|
|
4190
4190
|
);
|
|
4191
4191
|
let c = sn(e, u);
|
|
4192
4192
|
if (!c)
|
|
4193
|
-
c = (o = (i = (n = (r =
|
|
4193
|
+
c = (o = (i = (n = (r = Oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
4194
4194
|
else if (typeof c != "string")
|
|
4195
4195
|
return console.warn(
|
|
4196
4196
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4199,19 +4199,19 @@ const qe = (e, t) => {
|
|
|
4199
4199
|
return c;
|
|
4200
4200
|
let f = c;
|
|
4201
4201
|
try {
|
|
4202
|
-
f =
|
|
4203
|
-
} catch (
|
|
4204
|
-
|
|
4202
|
+
f = ko(c, u).format(a);
|
|
4203
|
+
} catch (d) {
|
|
4204
|
+
d instanceof Error && console.warn(
|
|
4205
4205
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4206
|
-
|
|
4206
|
+
d.message
|
|
4207
4207
|
);
|
|
4208
4208
|
}
|
|
4209
4209
|
return f;
|
|
4210
|
-
},
|
|
4211
|
-
Me([fe], () => $o);
|
|
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);
|
|
4212
4211
|
Me([fe], () => Go);
|
|
4213
4212
|
Me([fe], () => jo);
|
|
4214
|
-
Me([fe
|
|
4213
|
+
Me([fe], () => Vo);
|
|
4214
|
+
Me([fe, Ne], () => zo);
|
|
4215
4215
|
window.emWidgets = { topic: oi };
|
|
4216
4216
|
const Wo = (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));
|
|
4217
4217
|
if (typeof window != "undefined") {
|
|
@@ -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-DphIEHR4.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-hnczwb", '.grecaptcha-badge{opacity:0}input,select{font-family:inherit}.PlayerLoginFormWrapper{height:100%;border-radius:var(--emw--border-radius-medium, 15px)}.FormContainer{width:100%}.FormLogin{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));padding:50px}.FormHeaderTitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-light, 300);padding:0;text-transform:uppercase;margin:0}.PasswordContainer{position:relative}.FormRequired{color:var(--emw--color-error, var(--emw--color-error, #ed0909))}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);margin:5px 0 0 0}.FormRegisterCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400);text-decoration:none;cursor:pointer}.FormContent{padding-top:20px}.UserContainer,.PasswordContainer,.CaptchaContainer{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));display:flex;flex-direction:column;position:relative}.UserContainer label,.PasswordContainer label,.CaptchaContainer label{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding-bottom:5px}.UserContainer input,.PasswordContainer input,.CaptchaContainer input{width:100%;height:44px;border-radius:15px;border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));box-sizing:border-box;padding:5px 15px;font-size:var(--emw--font-size-medium, 16px);line-height:18px}.UserContainer input:focus,.PasswordContainer input:focus,.CaptchaContainer input:focus{border:2px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));outline:none}.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.CaptchaContainer.InvalidField input{border:1px solid var(--emw--color-error, var(--emw--color-error, #ed0909));background:var(--emw--color-pale, #FBECF4);outline:none;color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.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--color-error, var(--emw--color-error, #ed0909))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.SignInButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));font-family:var(--emw--button-typography);width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);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:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));margin-top:15px;cursor:pointer}.PasswordContainer,.UserContainer{padding-bottom:40px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-error, #ed0909));font-size:10px;position:absolute;top:55px;padding-top:5px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:var(--emw--font-size-x-small, 12px);color:var(--emw--color-error, var(--emw--color-error, #ed0909))}.FormMobileContainer{height:100%}.FormMobileContainer .FormLogin{padding:40px 20px}.FormMobileContainer .SignInButton,.FormMobileContainer .UserContainer input,.FormMobileContainer .PasswordContainer input,.FormMobileContainer .CaptchaContainer{max-width:unset;border-radius:var(--emw--border-radius-medium, 15px)}.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, #22B04E));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) 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
|
+
O(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
|
+
O(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
|
+
O(r, t, n);
|
|
4434
4434
|
},
|
|
4435
4435
|
p: Z,
|
|
4436
4436
|
d(r) {
|
|
@@ -4448,19 +4448,19 @@ function Ko(e) {
|
|
|
4448
4448
|
), u, l, c, f = (
|
|
4449
4449
|
/*$_*/
|
|
4450
4450
|
e[21]("loginSubtitleRegister") + ""
|
|
4451
|
-
),
|
|
4451
|
+
), d, b, y, g, x, L, q = (
|
|
4452
4452
|
/*$_*/
|
|
4453
4453
|
e[21]("loginUsername") + ""
|
|
4454
|
-
), H, R,
|
|
4454
|
+
), H, R, G, J, B, oe, ne, ie, de, A, W, ve = (
|
|
4455
4455
|
/*$_*/
|
|
4456
4456
|
e[21]("loginPassword") + ""
|
|
4457
|
-
), Ue,
|
|
4457
|
+
), Ue, Fe, se, Je, M, ye, De, _e, Ee, me, ke, pe, ee, ge = (
|
|
4458
4458
|
/*$_*/
|
|
4459
4459
|
e[21]("loginButton") + ""
|
|
4460
|
-
),
|
|
4460
|
+
), $e, Qe, ce, we = (
|
|
4461
4461
|
/*$_*/
|
|
4462
4462
|
e[21]("loginForgotPassword") + ""
|
|
4463
|
-
),
|
|
4463
|
+
), Ge, je, Ye, U = (
|
|
4464
4464
|
/*invalidName*/
|
|
4465
4465
|
e[13] && Tr(e)
|
|
4466
4466
|
);
|
|
@@ -4470,37 +4470,37 @@ function Ko(e) {
|
|
|
4470
4470
|
v[18] ? rs : ts
|
|
4471
4471
|
);
|
|
4472
4472
|
}
|
|
4473
|
-
let xe = Ke(e), Q = xe(e),
|
|
4473
|
+
let xe = Ke(e), Q = xe(e), F = (
|
|
4474
4474
|
/*invalidPassword*/
|
|
4475
4475
|
e[14] && /*simplepasswordvalidation*/
|
|
4476
4476
|
e[2] !== "true" && Hr(e)
|
|
4477
|
-
),
|
|
4477
|
+
), D = (
|
|
4478
4478
|
/*invalidPassword*/
|
|
4479
4479
|
e[14] && /*simplepasswordvalidation*/
|
|
4480
4480
|
e[2] === "true" && Br(e)
|
|
4481
|
-
),
|
|
4481
|
+
), k = (
|
|
4482
4482
|
/*errorMessage*/
|
|
4483
4483
|
e[15] && Ar(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"), B.required = !0, h(
|
|
4489
|
-
(e[13] ? "InvalidField" : "")
|
|
4490
|
-
e[5] ? "current-password" : "off"), 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"), L = 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(), M = 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(L, "for", "username"), h(B, "type", "text"), h(B, "id", "email"), h(B, "name", "email"), 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(M, "type", "password"), h(M, "name", "current-password"), h(M, "id", "current-password"), h(M, "autocomplete", ye = /*savecredentials*/
|
|
4490
|
+
e[5] ? "current-password" : "off"), h(M, "aria-describedby", "password-constraints"), M.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
|
-
|
|
4495
|
+
O(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), O(v, b, P), O(v, y, P), p(y, g), p(g, x), p(x, L), p(L, H), p(L, R), p(L, G), p(x, J), p(x, B), rt(
|
|
4496
4496
|
B,
|
|
4497
4497
|
/*userValue*/
|
|
4498
4498
|
e[11]
|
|
4499
|
-
), p(x, ne), U && U.m(x, null), p(g,
|
|
4500
|
-
|
|
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, M), rt(
|
|
4500
|
+
M,
|
|
4501
4501
|
/*userPassword*/
|
|
4502
4502
|
e[12]
|
|
4503
|
-
), e[35](
|
|
4503
|
+
), e[35](M), 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",
|
|
@@ -4520,13 +4520,13 @@ function Ko(e) {
|
|
|
4520
4520
|
e[27]
|
|
4521
4521
|
),
|
|
4522
4522
|
ae(
|
|
4523
|
-
|
|
4523
|
+
M,
|
|
4524
4524
|
"input",
|
|
4525
4525
|
/*input1_input_handler*/
|
|
4526
4526
|
e[34]
|
|
4527
4527
|
),
|
|
4528
4528
|
ae(
|
|
4529
|
-
|
|
4529
|
+
M,
|
|
4530
4530
|
"input",
|
|
4531
4531
|
/*validatePassword*/
|
|
4532
4532
|
e[28]
|
|
@@ -4543,7 +4543,7 @@ function Ko(e) {
|
|
|
4543
4543
|
/*click_handler_4*/
|
|
4544
4544
|
e[39]
|
|
4545
4545
|
)
|
|
4546
|
-
],
|
|
4546
|
+
], je = !0);
|
|
4547
4547
|
},
|
|
4548
4548
|
p(v, P) {
|
|
4549
4549
|
P[0] & /*$_*/
|
|
@@ -4552,7 +4552,7 @@ function Ko(e) {
|
|
|
4552
4552
|
2097152 && a !== (a = /*$_*/
|
|
4553
4553
|
v[21]("loginSubtitle") + "") && re(u, a), P[0] & /*$_*/
|
|
4554
4554
|
2097152 && f !== (f = /*$_*/
|
|
4555
|
-
v[21]("loginSubtitleRegister") + "") && re(
|
|
4555
|
+
v[21]("loginSubtitleRegister") + "") && re(d, f), P[0] & /*$_*/
|
|
4556
4556
|
2097152 && q !== (q = /*$_*/
|
|
4557
4557
|
v[21]("loginUsername") + "") && re(H, q), P[0] & /*savecredentials*/
|
|
4558
4558
|
32 && oe !== (oe = /*savecredentials*/
|
|
@@ -4565,33 +4565,33 @@ function Ko(e) {
|
|
|
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*/
|
|
4572
|
-
v[5] ? "current-password" : "off") && h(
|
|
4573
|
-
4096 &&
|
|
4572
|
+
v[5] ? "current-password" : "off") && h(M, "autocomplete", ye), P[0] & /*userPassword*/
|
|
4573
|
+
4096 && M.value !== /*userPassword*/
|
|
4574
4574
|
v[12] && rt(
|
|
4575
|
-
|
|
4575
|
+
M,
|
|
4576
4576
|
/*userPassword*/
|
|
4577
4577
|
v[12]
|
|
4578
4578
|
), xe === (xe = Ke(v)) && Q ? Q.p(v, P) : (Q.d(1), Q = xe(v), Q && (Q.c(), Q.m(A, _e))), /*invalidPassword*/
|
|
4579
4579
|
v[14] && /*simplepasswordvalidation*/
|
|
4580
|
-
v[2] !== "true" ?
|
|
4580
|
+
v[2] !== "true" ? F ? F.p(v, P) : (F = Hr(v), F.c(), F.m(A, Ee)) : F && (F.d(1), F = null), /*invalidPassword*/
|
|
4581
4581
|
v[14] && /*simplepasswordvalidation*/
|
|
4582
|
-
v[2] === "true" ?
|
|
4583
|
-
16384 &&
|
|
4584
|
-
(v[14] ? "InvalidField" : "")
|
|
4585
|
-
v[15] ?
|
|
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
|
+
16384 && me !== (me = "PasswordContainer " + /*invalidPassword*/
|
|
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
4586
|
2097152 && ge !== (ge = /*$_*/
|
|
4587
|
-
v[21]("loginButton") + "") && re(
|
|
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
|
-
v[21]("loginForgotPassword") + "") && re(
|
|
4591
|
+
v[21]("loginForgotPassword") + "") && re(Ge, we);
|
|
4592
4592
|
},
|
|
4593
4593
|
d(v) {
|
|
4594
|
-
v && (I(t), I(b), I(y)), U && U.d(), e[35](null), Q.d(),
|
|
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
|
+
O(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
|
+
O(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 = C("svg"), r = C("defs"), n = C("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = C("g"), s = C("path"), a = C("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
|
+
O(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,
|
|
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 = C("svg"), r = C("defs"), n = C("style"), i = N(".a{fill:var(--emw--registration-typography, var(--emw--color-background, #07072A));}"), o = C("g"), s = C("circle"), a = C("g"), u = C("path"), l = C("path"), c = C("g"), f = C("path"), d = C("path"), b = C("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, L) {
|
|
4730
|
+
O(x, t, L), 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*/
|
|
@@ -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
|
+
O(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
|
+
O(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
|
+
O(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), O(c, r, f), O(c, n, f), O(c, i, f), O(c, o, f), l.m(o, null), e[40](o);
|
|
4835
4835
|
},
|
|
4836
4836
|
p(c, f) {
|
|
4837
4837
|
/*captchakey*/
|
|
@@ -4853,58 +4853,58 @@ function ns(e) {
|
|
|
4853
4853
|
let is = "Please use this code {0} to activate your account";
|
|
4854
4854
|
function os(e, t, r) {
|
|
4855
4855
|
let n;
|
|
4856
|
-
xn(e, Xo, (
|
|
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:
|
|
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, b, y, g = !1, x, L = !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}$/
|
|
4861
4861
|
};
|
|
4862
4862
|
Zo({ withLocale: "en", translations: {} });
|
|
4863
4863
|
const Je = () => {
|
|
4864
|
-
fetch(f).then((
|
|
4865
|
-
Object.keys(
|
|
4866
|
-
wr(j,
|
|
4864
|
+
fetch(f).then(($) => $.json()).then(($) => {
|
|
4865
|
+
Object.keys($).forEach((j) => {
|
|
4866
|
+
wr(j, $[j]);
|
|
4867
4867
|
});
|
|
4868
|
-
}).catch((
|
|
4869
|
-
console.log(
|
|
4868
|
+
}).catch(($) => {
|
|
4869
|
+
console.log($);
|
|
4870
4870
|
});
|
|
4871
4871
|
};
|
|
4872
|
-
Object.keys(xr).forEach((
|
|
4873
|
-
wr(
|
|
4872
|
+
Object.keys(xr).forEach((m) => {
|
|
4873
|
+
wr(m, xr[m]);
|
|
4874
4874
|
});
|
|
4875
|
-
const
|
|
4875
|
+
const M = () => new Promise((m, $) => {
|
|
4876
4876
|
grecaptcha.ready(() => {
|
|
4877
4877
|
grecaptcha.execute(o, { action: "submit" }).then((j) => {
|
|
4878
|
-
|
|
4878
|
+
m(j);
|
|
4879
4879
|
});
|
|
4880
4880
|
});
|
|
4881
4881
|
}), ye = () => {
|
|
4882
4882
|
u == "true" && (se.password = /^(?!.* ).{8,20}$/);
|
|
4883
|
-
},
|
|
4884
|
-
r(18,
|
|
4883
|
+
}, De = () => {
|
|
4884
|
+
r(18, de = !0), Ee();
|
|
4885
4885
|
}, _e = () => {
|
|
4886
|
-
r(18,
|
|
4886
|
+
r(18, de = !1), Ee();
|
|
4887
4887
|
}, Ee = () => {
|
|
4888
|
-
r(17, ie.type =
|
|
4889
|
-
},
|
|
4888
|
+
r(17, ie.type = de ? "text" : "password", ie);
|
|
4889
|
+
}, me = () => {
|
|
4890
4890
|
window.postMessage({ type: "ToRegister" }, window.location.href);
|
|
4891
|
-
},
|
|
4892
|
-
|
|
4893
|
-
}, pe = (
|
|
4894
|
-
|
|
4895
|
-
ee(H) && ge(R) && (
|
|
4891
|
+
}, ke = (m) => {
|
|
4892
|
+
m.preventDefault(), window.postMessage({ type: "NavForgotPassword" }, window.location.href);
|
|
4893
|
+
}, pe = (m) => {
|
|
4894
|
+
m == null || m.preventDefault(), M().then(($) => {
|
|
4895
|
+
ee(H) && ge(R) && (G = {
|
|
4896
4896
|
username: H,
|
|
4897
4897
|
password: R,
|
|
4898
|
-
token:
|
|
4899
|
-
}, r(16, ne = !0),
|
|
4898
|
+
token: $
|
|
4899
|
+
}, r(16, ne = !0), Ge(G));
|
|
4900
4900
|
});
|
|
4901
|
-
}, ee = (
|
|
4901
|
+
}, ee = (m) => !!((se.user.test(m) || se.email.test(m)) && m.length <= 100), ge = (m) => !!se.password.test(m), $e = () => {
|
|
4902
4902
|
r(13, J = !ee(H)), r(19, A = !(!J && !B && R));
|
|
4903
4903
|
}, Qe = () => {
|
|
4904
4904
|
r(14, B = !ge(R)), r(19, A = !(!J && !B && H));
|
|
4905
|
-
}, ce = (
|
|
4906
|
-
if (
|
|
4907
|
-
switch (
|
|
4905
|
+
}, ce = (m) => {
|
|
4906
|
+
if (m.data)
|
|
4907
|
+
switch (m.data.type) {
|
|
4908
4908
|
case "ModalLoader":
|
|
4909
4909
|
r(16, ne = !1);
|
|
4910
4910
|
break;
|
|
@@ -4915,15 +4915,15 @@ function os(e, t, r) {
|
|
|
4915
4915
|
pe();
|
|
4916
4916
|
break;
|
|
4917
4917
|
}
|
|
4918
|
-
}, we = (
|
|
4918
|
+
}, we = (m) => {
|
|
4919
4919
|
typeof gtag == "function" && gtag("event", "Login", {
|
|
4920
4920
|
context: "GeneralPlayerLoginRegisterPage"
|
|
4921
4921
|
});
|
|
4922
|
-
},
|
|
4922
|
+
}, Ge = (Wt) => et(this, [Wt], function* ({ username: m, password: $, token: j }) {
|
|
4923
4923
|
let Zt = {
|
|
4924
4924
|
"Content-Type": "application/json",
|
|
4925
4925
|
"g-recaptcha-response": j
|
|
4926
|
-
}, bt = { username:
|
|
4926
|
+
}, bt = { username: m, password: $ }, gn = {
|
|
4927
4927
|
method: "POST",
|
|
4928
4928
|
headers: Zt,
|
|
4929
4929
|
body: JSON.stringify(bt)
|
|
@@ -4938,7 +4938,7 @@ function os(e, t, r) {
|
|
|
4938
4938
|
},
|
|
4939
4939
|
window.location.href
|
|
4940
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,
|
|
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",
|
|
@@ -4955,25 +4955,25 @@ function os(e, t, r) {
|
|
|
4955
4955
|
}
|
|
4956
4956
|
},
|
|
4957
4957
|
window.location.href
|
|
4958
|
-
), window.PasswordCredential &&
|
|
4959
|
-
const
|
|
4958
|
+
), window.PasswordCredential && d == "true") {
|
|
4959
|
+
const Ve = new PasswordCredential({
|
|
4960
4960
|
password: bt.password,
|
|
4961
4961
|
id: bt.username
|
|
4962
4962
|
});
|
|
4963
|
-
navigator.credentials.store(
|
|
4963
|
+
navigator.credentials.store(Ve);
|
|
4964
4964
|
}
|
|
4965
4965
|
we();
|
|
4966
4966
|
} else
|
|
4967
4967
|
try {
|
|
4968
|
-
let
|
|
4969
|
-
r(15, oe =
|
|
4968
|
+
let Ve = V.error;
|
|
4969
|
+
r(15, oe = Ve), r(16, ne = !1), window.postMessage(
|
|
4970
4970
|
{
|
|
4971
4971
|
type: "WidgetNotification",
|
|
4972
|
-
data: { type: "error", message:
|
|
4972
|
+
data: { type: "error", message: Ve }
|
|
4973
4973
|
},
|
|
4974
4974
|
window.location.href
|
|
4975
4975
|
);
|
|
4976
|
-
} catch (
|
|
4976
|
+
} catch (Ve) {
|
|
4977
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
|
{
|
|
@@ -4984,7 +4984,7 @@ function os(e, t, r) {
|
|
|
4984
4984
|
);
|
|
4985
4985
|
}
|
|
4986
4986
|
});
|
|
4987
|
-
}),
|
|
4987
|
+
}), je = (m, $) => et(this, null, function* () {
|
|
4988
4988
|
localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3)));
|
|
4989
4989
|
try {
|
|
4990
4990
|
const j = yield fetch(`${i}/v1/player/sms/token`, {
|
|
@@ -4994,9 +4994,9 @@ function os(e, t, r) {
|
|
|
4994
4994
|
accept: "application/json"
|
|
4995
4995
|
},
|
|
4996
4996
|
body: JSON.stringify({
|
|
4997
|
-
userId:
|
|
4997
|
+
userId: $,
|
|
4998
4998
|
messageTemplate: is,
|
|
4999
|
-
destination:
|
|
4999
|
+
destination: m
|
|
5000
5000
|
})
|
|
5001
5001
|
}), Wt = yield j.json();
|
|
5002
5002
|
if (j.ok) {
|
|
@@ -5011,14 +5011,14 @@ function os(e, t, r) {
|
|
|
5011
5011
|
}), Ye = () => {
|
|
5012
5012
|
qo(s);
|
|
5013
5013
|
}, U = () => {
|
|
5014
|
-
let
|
|
5015
|
-
|
|
5014
|
+
let m = document.createElement("style");
|
|
5015
|
+
m.innerHTML = l, W.appendChild(m);
|
|
5016
5016
|
}, Ke = () => {
|
|
5017
|
-
let
|
|
5018
|
-
fetch(
|
|
5019
|
-
|
|
5017
|
+
let m = new URL(c), $ = document.createElement("style");
|
|
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,35 +5028,35 @@ function os(e, t, r) {
|
|
|
5028
5028
|
);
|
|
5029
5029
|
});
|
|
5030
5030
|
};
|
|
5031
|
-
|
|
5031
|
+
On(() => (window.addEventListener("message", ce, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(10, L = Wo(q)), () => {
|
|
5032
5032
|
window.removeEventListener("message", ce);
|
|
5033
5033
|
}));
|
|
5034
|
-
const xe = () =>
|
|
5034
|
+
const xe = () => me();
|
|
5035
5035
|
function Q() {
|
|
5036
5036
|
H = this.value, r(11, H);
|
|
5037
5037
|
}
|
|
5038
|
-
function
|
|
5038
|
+
function F() {
|
|
5039
5039
|
R = this.value, r(12, R);
|
|
5040
5040
|
}
|
|
5041
|
-
function
|
|
5042
|
-
ut[
|
|
5043
|
-
ie =
|
|
5041
|
+
function D(m) {
|
|
5042
|
+
ut[m ? "unshift" : "push"](() => {
|
|
5043
|
+
ie = m, r(17, ie);
|
|
5044
5044
|
});
|
|
5045
5045
|
}
|
|
5046
|
-
const
|
|
5047
|
-
function pn(
|
|
5048
|
-
ut[
|
|
5049
|
-
|
|
5046
|
+
const k = () => _e(), v = () => De(), P = (m) => pe(m), mn = (m) => ke(m);
|
|
5047
|
+
function pn(m) {
|
|
5048
|
+
ut[m ? "unshift" : "push"](() => {
|
|
5049
|
+
W = m, r(6, W);
|
|
5050
5050
|
});
|
|
5051
5051
|
}
|
|
5052
|
-
return e.$$set = (
|
|
5053
|
-
"endpoint" in
|
|
5052
|
+
return e.$$set = (m) => {
|
|
5053
|
+
"endpoint" in m && r(0, i = m.endpoint), "captchakey" in m && r(1, o = m.captchakey), "lang" in m && r(29, s = m.lang), "smsverification" in m && r(30, a = m.smsverification), "simplepasswordvalidation" in m && r(2, u = m.simplepasswordvalidation), "clientstyling" in m && r(3, l = m.clientstyling), "clientstylingurl" in m && r(4, c = m.clientstylingurl), "translationurl" in m && r(31, f = m.translationurl), "savecredentials" in m && r(5, d = m.savecredentials);
|
|
5054
5054
|
}, e.$$.update = () => {
|
|
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,
|
|
@@ -5064,12 +5064,12 @@ function os(e, t, r) {
|
|
|
5064
5064
|
u,
|
|
5065
5065
|
l,
|
|
5066
5066
|
c,
|
|
5067
|
-
|
|
5068
|
-
|
|
5067
|
+
d,
|
|
5068
|
+
W,
|
|
5069
5069
|
b,
|
|
5070
5070
|
y,
|
|
5071
5071
|
x,
|
|
5072
|
-
|
|
5072
|
+
L,
|
|
5073
5073
|
H,
|
|
5074
5074
|
R,
|
|
5075
5075
|
J,
|
|
@@ -5077,39 +5077,39 @@ function os(e, t, r) {
|
|
|
5077
5077
|
oe,
|
|
5078
5078
|
ne,
|
|
5079
5079
|
ie,
|
|
5080
|
-
|
|
5080
|
+
de,
|
|
5081
5081
|
A,
|
|
5082
|
-
ze,
|
|
5083
|
-
n,
|
|
5084
5082
|
Fe,
|
|
5085
|
-
|
|
5086
|
-
de,
|
|
5083
|
+
n,
|
|
5087
5084
|
De,
|
|
5088
|
-
|
|
5085
|
+
_e,
|
|
5086
|
+
me,
|
|
5089
5087
|
ke,
|
|
5088
|
+
pe,
|
|
5089
|
+
$e,
|
|
5090
5090
|
Qe,
|
|
5091
5091
|
s,
|
|
5092
5092
|
a,
|
|
5093
5093
|
f,
|
|
5094
5094
|
xe,
|
|
5095
5095
|
Q,
|
|
5096
|
-
z,
|
|
5097
5096
|
F,
|
|
5098
5097
|
D,
|
|
5098
|
+
k,
|
|
5099
5099
|
v,
|
|
5100
5100
|
P,
|
|
5101
|
-
|
|
5101
|
+
mn,
|
|
5102
5102
|
pn
|
|
5103
5103
|
];
|
|
5104
5104
|
}
|
|
5105
|
-
class
|
|
5105
|
+
class dn extends Vn {
|
|
5106
5106
|
constructor(t) {
|
|
5107
|
-
super(),
|
|
5107
|
+
super(), Gn(
|
|
5108
5108
|
this,
|
|
5109
5109
|
t,
|
|
5110
5110
|
os,
|
|
5111
5111
|
ns,
|
|
5112
|
-
|
|
5112
|
+
Cr,
|
|
5113
5113
|
{
|
|
5114
5114
|
endpoint: 0,
|
|
5115
5115
|
captchakey: 1,
|
|
@@ -5180,25 +5180,25 @@ class mn extends jn {
|
|
|
5180
5180
|
this.$$set({ savecredentials: t }), te();
|
|
5181
5181
|
}
|
|
5182
5182
|
}
|
|
5183
|
-
|
|
5183
|
+
jn(dn, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
|
|
5184
5184
|
const as = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5185
5185
|
__proto__: null,
|
|
5186
|
-
default:
|
|
5186
|
+
default: dn
|
|
5187
5187
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5188
5188
|
export {
|
|
5189
5189
|
fe as $,
|
|
5190
5190
|
as as G,
|
|
5191
|
-
|
|
5191
|
+
Vn as S,
|
|
5192
5192
|
Ne as a,
|
|
5193
5193
|
ln as b,
|
|
5194
|
-
|
|
5194
|
+
jn as c,
|
|
5195
5195
|
Pn as d,
|
|
5196
5196
|
S as e,
|
|
5197
5197
|
te as f,
|
|
5198
|
-
|
|
5198
|
+
z as g,
|
|
5199
5199
|
h,
|
|
5200
|
-
|
|
5201
|
-
|
|
5200
|
+
Gn as i,
|
|
5201
|
+
O as j,
|
|
5202
5202
|
p as k,
|
|
5203
5203
|
rt as l,
|
|
5204
5204
|
ae as m,
|
|
@@ -5207,9 +5207,9 @@ export {
|
|
|
5207
5207
|
I as p,
|
|
5208
5208
|
xn as q,
|
|
5209
5209
|
Le as r,
|
|
5210
|
-
|
|
5210
|
+
Cr as s,
|
|
5211
5211
|
N as t,
|
|
5212
|
-
|
|
5212
|
+
On as u,
|
|
5213
5213
|
ut as v,
|
|
5214
5214
|
Xo as w
|
|
5215
5215
|
};
|