@everymatrix/general-player-register-form-nd 1.94.4 → 1.94.6
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/{GeneralPlayerRegisterFormNd-DptTxBzO.js → GeneralPlayerRegisterFormNd-CuyeIBrC.js} +39 -39
- package/components/{GeneralPlayerRegisterFormNd-ByBdXbSl.js → GeneralPlayerRegisterFormNd-j7To8dVU.js} +39 -39
- package/components/{GeneralPlayerRegisterFormStep1-Bgg7T7Lv.js → GeneralPlayerRegisterFormStep1-Ba-9pF62.js} +38 -38
- package/components/{GeneralPlayerRegisterFormStep1-7ywB3IuB.js → GeneralPlayerRegisterFormStep1-D5gOjdkF.js} +38 -38
- package/components/{GeneralPlayerRegisterFormStep2-C4I4NaZN.js → GeneralPlayerRegisterFormStep2-B3n9uQOv.js} +1 -1
- package/components/{GeneralPlayerRegisterFormStep2-B5Ev1nCT.js → GeneralPlayerRegisterFormStep2-BD0zNjPW.js} +1 -1
- package/components/{GeneralPlayerRegisterFormStep3-C6wOkitS.js → GeneralPlayerRegisterFormStep3-DY3-D4fI.js} +36 -36
- package/components/{GeneralPlayerRegisterFormStep3-DhROcW7M.js → GeneralPlayerRegisterFormStep3-VO_FBZTh.js} +38 -38
- package/components/{GeneralPlayerSmsVerificationForm-B6mtVL9C.js → GeneralPlayerSmsVerificationForm-B_yzELZY.js} +25 -25
- package/components/{GeneralPlayerSmsVerificationForm-CPdl7bAB.js → GeneralPlayerSmsVerificationForm-DJX5-AXe.js} +25 -25
- package/es2015/general-player-register-form-nd.js +1 -1
- package/esnext/general-player-register-form-nd.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as Nr, b as Lr, S as Or, q as Vr, p as we, w as jr, j as Rr, f as Hr, t as Ge, l as ie, v as Dr, C as z, D as Y, g as r, r as ae, e as s, s as p, m as d, I as b, E, i as Zr, u as Br, h as Er, H as g, a as Mr, z as qr, A as Gr, B as Kr } from "./GeneralPlayerRegisterFormNd-j7To8dVU.js";
|
|
2
2
|
function _r(e, t) {
|
|
3
3
|
Nr(e, t);
|
|
4
4
|
}
|
|
@@ -347,7 +347,7 @@ function Xr(e) {
|
|
|
347
347
|
}
|
|
348
348
|
};
|
|
349
349
|
}
|
|
350
|
-
function
|
|
350
|
+
function Ir(e) {
|
|
351
351
|
let t, i = (
|
|
352
352
|
/*$_*/
|
|
353
353
|
e[30]("registerPasswordError") + ""
|
|
@@ -369,7 +369,7 @@ function Fr(e) {
|
|
|
369
369
|
}
|
|
370
370
|
};
|
|
371
371
|
}
|
|
372
|
-
function
|
|
372
|
+
function Fr(e) {
|
|
373
373
|
let t, i = (
|
|
374
374
|
/*$_*/
|
|
375
375
|
e[30]("registerSimplePasswordError") + ""
|
|
@@ -534,10 +534,10 @@ function et(e) {
|
|
|
534
534
|
), v, N, h, _, Q, $ = (
|
|
535
535
|
/*$_*/
|
|
536
536
|
e[30]("registerEmail") + ""
|
|
537
|
-
), Pe,
|
|
537
|
+
), Pe, Ie, ye, Fe, L, Te, be, ze, I, R, ee = (
|
|
538
538
|
/*$_*/
|
|
539
539
|
e[30]("registerUsername") + ""
|
|
540
|
-
), oe, J, O, he,
|
|
540
|
+
), oe, J, O, he, F, ge, Se, le, ne, w, ue, H = (
|
|
541
541
|
/*$_*/
|
|
542
542
|
e[30]("registerPassword") + ""
|
|
543
543
|
), Ke, fe, Ue, Ye, T, V, Je, Ne, We, ve, _e, Xe, U, pe, ke = (
|
|
@@ -583,11 +583,11 @@ function et(e) {
|
|
|
583
583
|
let br = Pr(e), de = br(e), B = (
|
|
584
584
|
/*invalidPassword*/
|
|
585
585
|
e[6] && /*simplepasswordvalidation*/
|
|
586
|
-
e[0] !== "true" &&
|
|
586
|
+
e[0] !== "true" && Ir(e)
|
|
587
587
|
), M = (
|
|
588
588
|
/*invalidPassword*/
|
|
589
589
|
e[6] && /*simplepasswordvalidation*/
|
|
590
|
-
e[0] === "true" &&
|
|
590
|
+
e[0] === "true" && Fr(e)
|
|
591
591
|
);
|
|
592
592
|
function vr(a, c) {
|
|
593
593
|
return (
|
|
@@ -607,11 +607,11 @@ function et(e) {
|
|
|
607
607
|
);
|
|
608
608
|
return {
|
|
609
609
|
c() {
|
|
610
|
-
t = d("div"), i = d("div"), u = d("h2"), n = b(o), f = E(), m = d("p"), C = b(y), S = E(), P = d("span"), v = b(A), N = E(), h = d("form"), _ = d("div"), Q = d("label"), Pe = b($),
|
|
610
|
+
t = d("div"), i = d("div"), u = d("h2"), n = b(o), f = E(), m = d("p"), C = b(y), S = E(), P = d("span"), v = b(A), N = E(), h = d("form"), _ = d("div"), Q = d("label"), Pe = b($), Ie = b(":"), ye = d("span"), ye.textContent = "*", Fe = E(), L = d("input"), Te = E(), D && D.c(), ze = E(), I = d("div"), R = d("label"), oe = b(ee), J = b(":"), O = d("span"), O.textContent = "*", he = E(), F = d("input"), Se = E(), Z && Z.c(), ne = E(), w = d("div"), ue = d("label"), Ke = b(H), fe = b(":"), Ue = d("span"), Ue.textContent = "*", Ye = E(), T = d("input"), Je = E(), de.c(), Ne = E(), B && B.c(), We = E(), M && M.c(), Xe = E(), U = d("div"), pe = d("label"), xe = b(ke), $e = b(":"), Le = d("span"), Le.textContent = "*", Oe = E(), j = d("input"), er = E(), me.c(), Ve = E(), q && q.c(), rr = E(), ce = d("div"), Qe = d("label"), tr = b(je), ar = b(":"), or = E(), W = d("input"), nr = E(), lr = E(), re = d("div"), Ee = d("label"), sr = b(He), ur = b(":"), De = d("span"), De.textContent = "*", cr = E(), X = d("input"), dr = E(), G && G.c(), mr = E(), te = d("div"), Ce = d("label"), ir = b(Be), gr = b(":"), Me = d("span"), Me.textContent = "*", fr = E(), x = d("input"), pr = E(), K && K.c(), wr = E(), l = d("button"), se = b(k), r(u, "class", "RegisterFormTitle"), r(P, "class", "FormLoginCallToAction"), r(m, "class", "RegisterFormSubtitle"), r(i, "class", "RegisterFormHeader"), r(ye, "class", "FormRequired"), r(Q, "for", "Email"), r(L, "type", "text"), r(L, "id", "Email"), r(_, "class", be = "EmailContainer " + /*invalidEmail*/
|
|
611
611
|
(e[4] && !/*emailFocus*/
|
|
612
612
|
e[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
613
|
-
(e[17]?.indexOf("email") >= 0 ? "Hidden" : "")), r(O, "class", "FormRequired"), r(R, "for", "UserName"), r(
|
|
614
|
-
e[1] ? "username" : "off"), r(
|
|
613
|
+
(e[17]?.indexOf("email") >= 0 ? "Hidden" : "")), r(O, "class", "FormRequired"), r(R, "for", "UserName"), r(F, "type", "text"), r(F, "id", "UserName"), r(F, "autocomplete", ge = /*savecredentials*/
|
|
614
|
+
e[1] ? "username" : "off"), r(I, "class", le = "UserContainer " + /*invalidName*/
|
|
615
615
|
(e[5] && !/*usernameFocus*/
|
|
616
616
|
e[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
617
617
|
(e[17]?.indexOf("username") >= 0 ? "Hidden" : "")), r(Ue, "class", "FormRequired"), r(ue, "for", "Password"), r(T, "name", "new-password"), r(T, "type", "password"), r(T, "id", "new-password"), r(T, "autocomplete", V = /*savecredentials*/
|
|
@@ -633,15 +633,15 @@ function et(e) {
|
|
|
633
633
|
e[29], r(h, "class", "RegisterFormContent");
|
|
634
634
|
},
|
|
635
635
|
m(a, c) {
|
|
636
|
-
ae(a, t, c), s(t, i), s(i, u), s(u, n), s(i, f), s(i, m), s(m, C), s(m, S), s(m, P), s(P, v), s(t, N), s(t, h), s(h, _), s(_, Q), s(Q, Pe), s(Q,
|
|
636
|
+
ae(a, t, c), s(t, i), s(i, u), s(u, n), s(i, f), s(i, m), s(m, C), s(m, S), s(m, P), s(P, v), s(t, N), s(t, h), s(h, _), s(_, Q), s(Q, Pe), s(Q, Ie), s(Q, ye), s(_, Fe), s(_, L), Y(
|
|
637
637
|
L,
|
|
638
638
|
/*userEmail*/
|
|
639
639
|
e[19]
|
|
640
|
-
), s(_, Te), D && D.m(_, null), s(h, ze), s(h,
|
|
641
|
-
|
|
640
|
+
), s(_, Te), D && D.m(_, null), s(h, ze), s(h, I), s(I, R), s(R, oe), s(R, J), s(R, O), s(I, he), s(I, F), Y(
|
|
641
|
+
F,
|
|
642
642
|
/*userValue*/
|
|
643
643
|
e[18]
|
|
644
|
-
), s(
|
|
644
|
+
), s(I, Se), Z && Z.m(I, null), s(h, ne), s(h, w), s(w, ue), s(ue, Ke), s(ue, fe), s(ue, Ue), s(w, Ye), s(w, T), Y(
|
|
645
645
|
T,
|
|
646
646
|
/*userPassword*/
|
|
647
647
|
e[20]
|
|
@@ -693,25 +693,25 @@ function et(e) {
|
|
|
693
693
|
e[53]
|
|
694
694
|
),
|
|
695
695
|
p(
|
|
696
|
-
|
|
696
|
+
F,
|
|
697
697
|
"input",
|
|
698
698
|
/*input1_input_handler*/
|
|
699
699
|
e[54]
|
|
700
700
|
),
|
|
701
701
|
p(
|
|
702
|
-
|
|
702
|
+
F,
|
|
703
703
|
"keyup",
|
|
704
704
|
/*checkUserIdentifier*/
|
|
705
705
|
e[33]
|
|
706
706
|
),
|
|
707
707
|
p(
|
|
708
|
-
|
|
708
|
+
F,
|
|
709
709
|
"focus",
|
|
710
710
|
/*focus_handler_1*/
|
|
711
711
|
e[55]
|
|
712
712
|
),
|
|
713
713
|
p(
|
|
714
|
-
|
|
714
|
+
F,
|
|
715
715
|
"blur",
|
|
716
716
|
/*blur_handler_1*/
|
|
717
717
|
e[56]
|
|
@@ -868,18 +868,18 @@ function et(e) {
|
|
|
868
868
|
1073741824 && ee !== (ee = /*$_*/
|
|
869
869
|
a[30]("registerUsername") + "") && z(oe, ee), c[0] & /*savecredentials*/
|
|
870
870
|
2 && ge !== (ge = /*savecredentials*/
|
|
871
|
-
a[1] ? "username" : "off") && r(
|
|
872
|
-
262144 &&
|
|
871
|
+
a[1] ? "username" : "off") && r(F, "autocomplete", ge), c[0] & /*userValue*/
|
|
872
|
+
262144 && F.value !== /*userValue*/
|
|
873
873
|
a[18] && Y(
|
|
874
|
-
|
|
874
|
+
F,
|
|
875
875
|
/*userValue*/
|
|
876
876
|
a[18]
|
|
877
877
|
), /*invalidName*/
|
|
878
|
-
a[5] ? Z ? Z.p(a, c) : (Z = Qr(a), Z.c(), Z.m(
|
|
878
|
+
a[5] ? Z ? Z.p(a, c) : (Z = Qr(a), Z.c(), Z.m(I, null)) : Z && (Z.d(1), Z = null), c[0] & /*invalidName, usernameFocus, disabledFieldsList*/
|
|
879
879
|
133152 && le !== (le = "UserContainer " + /*invalidName*/
|
|
880
880
|
(a[5] && !/*usernameFocus*/
|
|
881
881
|
a[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
882
|
-
(a[17]?.indexOf("username") >= 0 ? "Hidden" : "")) && r(
|
|
882
|
+
(a[17]?.indexOf("username") >= 0 ? "Hidden" : "")) && r(I, "class", le), c[0] & /*$_*/
|
|
883
883
|
1073741824 && H !== (H = /*$_*/
|
|
884
884
|
a[30]("registerPassword") + "") && z(Ke, H), c[0] & /*savecredentials*/
|
|
885
885
|
2 && V !== (V = /*savecredentials*/
|
|
@@ -891,9 +891,9 @@ function et(e) {
|
|
|
891
891
|
a[20]
|
|
892
892
|
), br === (br = Pr(a)) && de ? de.p(a, c) : (de.d(1), de = br(a), de && (de.c(), de.m(w, Ne))), /*invalidPassword*/
|
|
893
893
|
a[6] && /*simplepasswordvalidation*/
|
|
894
|
-
a[0] !== "true" ? B ? B.p(a, c) : (B =
|
|
894
|
+
a[0] !== "true" ? B ? B.p(a, c) : (B = Ir(a), B.c(), B.m(w, We)) : B && (B.d(1), B = null), /*invalidPassword*/
|
|
895
895
|
a[6] && /*simplepasswordvalidation*/
|
|
896
|
-
a[0] === "true" ? M ? M.p(a, c) : (M =
|
|
896
|
+
a[0] === "true" ? M ? M.p(a, c) : (M = Fr(a), M.c(), M.m(w, null)) : M && (M.d(1), M = null), c[0] & /*invalidPassword, passwordFocus, disabledFieldsList*/
|
|
897
897
|
135232 && ve !== (ve = "PasswordContainer " + /*invalidPassword*/
|
|
898
898
|
(a[6] && !/*passwordFocus*/
|
|
899
899
|
a[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
@@ -976,7 +976,7 @@ function et(e) {
|
|
|
976
976
|
function rt(e, t, i) {
|
|
977
977
|
let u;
|
|
978
978
|
Zr(e, Mr, (l) => i(30, u = l));
|
|
979
|
-
let { lang: o = "" } = t, { disabledfields: n = "" } = t, { simplepasswordvalidation: f = "false" } = t, { mbsource: m } = t, { clientstyling: y = "" } = t, { clientstylingurl: C = "" } = t, { translationurl: S = "" } = t, { savecredentials: P = "" } = t, { custominputtextswitch: A = "false" } = t, v = !1, N = !1, h = !1, _ = !1, Q = !1, $ = !1, Pe = !1,
|
|
979
|
+
let { lang: o = "" } = t, { disabledfields: n = "" } = t, { simplepasswordvalidation: f = "false" } = t, { mbsource: m } = t, { clientstyling: y = "" } = t, { clientstylingurl: C = "" } = t, { translationurl: S = "" } = t, { savecredentials: P = "" } = t, { custominputtextswitch: A = "false" } = t, v = !1, N = !1, h = !1, _ = !1, Q = !1, $ = !1, Pe = !1, Ie = !1, ye = !1, Fe = !1, L = !1, Te = !1, be = !1, ze, I = "", R = "", ee = "", oe = "", J = "", O = "", he = "", F = !1, ge = !1, Se, le, ne = {}, w = {
|
|
980
980
|
username: !1,
|
|
981
981
|
email: !1,
|
|
982
982
|
password: !1,
|
|
@@ -1008,7 +1008,7 @@ function rt(e, t, i) {
|
|
|
1008
1008
|
if (!(ze.indexOf(l) >= 0))
|
|
1009
1009
|
switch (l) {
|
|
1010
1010
|
case "username":
|
|
1011
|
-
i(18,
|
|
1011
|
+
i(18, I = k), Ne();
|
|
1012
1012
|
break;
|
|
1013
1013
|
case "email":
|
|
1014
1014
|
i(19, R = k), Je();
|
|
@@ -1034,19 +1034,19 @@ function rt(e, t, i) {
|
|
|
1034
1034
|
}, Je = () => {
|
|
1035
1035
|
ne.email = R, fe.email.test(R) && R.length <= 100 ? i(4, v = !1) : i(4, v = !0), w.email = !v, V();
|
|
1036
1036
|
}, Ne = () => {
|
|
1037
|
-
ne.username =
|
|
1037
|
+
ne.username = I, fe.user.test(I) && I.length <= 20 ? i(5, N = !1) : i(5, N = !0), w.username = !N, V();
|
|
1038
1038
|
}, We = () => {
|
|
1039
1039
|
f == "true" && (fe.password = /^(?!.* ).{8,20}$/);
|
|
1040
1040
|
}, ve = () => {
|
|
1041
|
-
i(25,
|
|
1041
|
+
i(25, F = !0), pe();
|
|
1042
1042
|
}, _e = () => {
|
|
1043
1043
|
i(26, ge = !0), ke();
|
|
1044
1044
|
}, Xe = () => {
|
|
1045
|
-
i(25,
|
|
1045
|
+
i(25, F = !1), pe();
|
|
1046
1046
|
}, U = () => {
|
|
1047
1047
|
i(26, ge = !1), ke();
|
|
1048
1048
|
}, pe = () => {
|
|
1049
|
-
i(27, Se.type =
|
|
1049
|
+
i(27, Se.type = F ? "text" : "password", Se);
|
|
1050
1050
|
}, ke = () => {
|
|
1051
1051
|
i(28, le.type = ge ? "text" : "password", le);
|
|
1052
1052
|
}, xe = () => !!fe.password.test(ee), $e = () => {
|
|
@@ -1121,9 +1121,9 @@ function rt(e, t, i) {
|
|
|
1121
1121
|
}
|
|
1122
1122
|
const ar = () => i(10, Pe = !0), or = () => i(10, Pe = !1);
|
|
1123
1123
|
function W() {
|
|
1124
|
-
|
|
1124
|
+
I = this.value, i(18, I);
|
|
1125
1125
|
}
|
|
1126
|
-
const nr = () => i(11,
|
|
1126
|
+
const nr = () => i(11, Ie = !0), Re = () => i(11, Ie = !1);
|
|
1127
1127
|
function lr() {
|
|
1128
1128
|
ee = this.value, i(20, ee);
|
|
1129
1129
|
}
|
|
@@ -1137,7 +1137,7 @@ function rt(e, t, i) {
|
|
|
1137
1137
|
function De() {
|
|
1138
1138
|
oe = this.value, i(21, oe);
|
|
1139
1139
|
}
|
|
1140
|
-
const cr = () => i(13,
|
|
1140
|
+
const cr = () => i(13, Fe = !0), X = () => i(13, Fe = !1);
|
|
1141
1141
|
function dr(l) {
|
|
1142
1142
|
Er[l ? "unshift" : "push"](() => {
|
|
1143
1143
|
le = l, i(28, le);
|
|
@@ -1187,21 +1187,21 @@ function rt(e, t, i) {
|
|
|
1187
1187
|
Q,
|
|
1188
1188
|
$,
|
|
1189
1189
|
Pe,
|
|
1190
|
-
Fe,
|
|
1191
|
-
ye,
|
|
1192
1190
|
Ie,
|
|
1191
|
+
ye,
|
|
1192
|
+
Fe,
|
|
1193
1193
|
L,
|
|
1194
1194
|
Te,
|
|
1195
1195
|
be,
|
|
1196
1196
|
ze,
|
|
1197
|
-
|
|
1197
|
+
I,
|
|
1198
1198
|
R,
|
|
1199
1199
|
ee,
|
|
1200
1200
|
oe,
|
|
1201
1201
|
J,
|
|
1202
1202
|
O,
|
|
1203
1203
|
he,
|
|
1204
|
-
|
|
1204
|
+
F,
|
|
1205
1205
|
ge,
|
|
1206
1206
|
Se,
|
|
1207
1207
|
le,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as Mt, b as Bt, S as Ot, q as Ut, w as Nt, p as be, f as Et, t as We, l as de, v as Be, C as ee, r as fe, e as f, s as G, m as P, H as He, I, E as $, g as C, i as It, u as xt, x as pe, D as ce, d as Ye, o as De, k as qe, y as Fe, h as Ft, n as Wr, z as Lt, A as St, B as Yt, j as Wt, a as At } from "./GeneralPlayerRegisterFormNd-j7To8dVU.js";
|
|
2
2
|
function Te(i) {
|
|
3
3
|
"@babel/helpers - typeof";
|
|
4
4
|
return Te = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as Mt, b as Bt, S as Ot, q as Ut, w as Nt, p as Pe, f as Et, t as ze, l as he, v as xe, C as re, r as me, e as f, s as X, m as C, H as Ve, I as x, E as ee, g as _, i as It, u as xt, x as be, D as fe, d as je, o as Ue, k as Ke, y as qe, h as Ft, n as qr, z as Lt, A as St, B as Yt, j as Wt, a as At } from "./GeneralPlayerRegisterFormNd-CuyeIBrC.js";
|
|
2
2
|
function De(i) {
|
|
3
3
|
"@babel/helpers - typeof";
|
|
4
4
|
return De = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as kr, $ as Wr, c as Vr, S as Gr, q as Kr, w as Qr, p as ie, f as Jr, o as Ge, t as vr, l as S, k as Cr, v as Zr, g as c, C as j, D as ee, x as Ke, e as s, r as B, s as P, n as _r, E as h, m as d, H as pr, I as M, d as hr, i as Xr, u as Yr, F as Er, y as br, h as $r, z as et, A as rt, B as tt, j as st, a as it } from "./GeneralPlayerRegisterFormNd-j7To8dVU.js";
|
|
2
2
|
function ot({ withLocale: t, translations: r }) {
|
|
3
3
|
kr.subscribe((e) => {
|
|
4
4
|
e == null && (Wr.set(r), kr.set(t));
|
|
5
5
|
});
|
|
6
6
|
}
|
|
7
7
|
function wr(t, r) {
|
|
8
|
-
|
|
8
|
+
Vr(t, r);
|
|
9
9
|
}
|
|
10
10
|
function nt(t) {
|
|
11
11
|
kr.set(t);
|
|
@@ -607,7 +607,7 @@ function lt(t) {
|
|
|
607
607
|
), _, F, E, ue, W, fe, ke = (
|
|
608
608
|
/*$_*/
|
|
609
609
|
t[31]("registerAddress") + ""
|
|
610
|
-
), Ae, Te, _e, Qe, I, Je, Pe, me, U,
|
|
610
|
+
), Ae, Te, _e, Qe, I, Je, Pe, me, U, V, pe = (
|
|
611
611
|
/*$_*/
|
|
612
612
|
t[31]("registerPostalCode") + ""
|
|
613
613
|
), oe, Se, re, ae, x, te, H, Be, N, ye, u = (
|
|
@@ -616,7 +616,7 @@ function lt(t) {
|
|
|
616
616
|
), k, sr, Fe, ir, se, or, le, nr, ge, ve, Oe = (
|
|
617
617
|
/*$_*/
|
|
618
618
|
t[31]("registerCountry") + ""
|
|
619
|
-
), Ze, Xe, Ne, Ye,
|
|
619
|
+
), Ze, Xe, Ne, Ye, G, ze, $e, Ce, he, je = (
|
|
620
620
|
/*$_*/
|
|
621
621
|
t[31]("registerNationality") + ""
|
|
622
622
|
), Ue, ar, Ie, lr, ce, xe, cr, ne, Ee, He = (
|
|
@@ -637,24 +637,24 @@ function lt(t) {
|
|
|
637
637
|
), Z = (
|
|
638
638
|
/*invalidCity*/
|
|
639
639
|
t[9] && Fr(t)
|
|
640
|
-
), De =
|
|
640
|
+
), De = Ge(
|
|
641
641
|
/*countries*/
|
|
642
642
|
t[20]
|
|
643
643
|
), R = [];
|
|
644
644
|
for (let o = 0; o < De.length; o += 1)
|
|
645
645
|
R[o] = Nr(Sr(t, De, o));
|
|
646
|
-
let We =
|
|
646
|
+
let We = Ge(
|
|
647
647
|
/*nationalities*/
|
|
648
648
|
t[22]
|
|
649
649
|
), L = [];
|
|
650
650
|
for (let o = 0; o < We.length; o += 1)
|
|
651
651
|
L[o] = zr(Pr(t, We, o));
|
|
652
|
-
let
|
|
652
|
+
let Ve = Ge(
|
|
653
653
|
/*mobilePrefixes*/
|
|
654
654
|
t[25]
|
|
655
655
|
), D = [];
|
|
656
|
-
for (let o = 0; o <
|
|
657
|
-
D[o] = jr(Ar(t,
|
|
656
|
+
for (let o = 0; o < Ve.length; o += 1)
|
|
657
|
+
D[o] = jr(Ar(t, Ve, o));
|
|
658
658
|
let X = (
|
|
659
659
|
/*invalidMobile*/
|
|
660
660
|
t[8] && Ur(t)
|
|
@@ -667,7 +667,7 @@ function lt(t) {
|
|
|
667
667
|
);
|
|
668
668
|
return {
|
|
669
669
|
c() {
|
|
670
|
-
K && K.c(), r = _r(), e = h(), n = d("div"), a = h(), i = d("div"), f = d("div"), O = d("button"), y = pr("svg"), T = pr("defs"), v = pr("style"), b = M(".a{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));}"), w = pr("path"), A = h(), _ = M(p), F = h(), E = d("form"), ue = d("div"), W = d("div"), fe = d("label"), Ae = M(ke), Te = M(":"), _e = d("span"), _e.textContent = "*", Qe = h(), I = d("input"), Je = h(), Q && Q.c(), me = h(), U = d("div"),
|
|
670
|
+
K && K.c(), r = _r(), e = h(), n = d("div"), a = h(), i = d("div"), f = d("div"), O = d("button"), y = pr("svg"), T = pr("defs"), v = pr("style"), b = M(".a{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));}"), w = pr("path"), A = h(), _ = M(p), F = h(), E = d("form"), ue = d("div"), W = d("div"), fe = d("label"), Ae = M(ke), Te = M(":"), _e = d("span"), _e.textContent = "*", Qe = h(), I = d("input"), Je = h(), Q && Q.c(), me = h(), U = d("div"), V = d("label"), oe = M(pe), Se = M(":"), re = d("span"), re.textContent = "*", ae = h(), x = d("input"), te = h(), J && J.c(), Be = h(), N = d("div"), ye = d("label"), k = M(u), sr = M(":"), Fe = d("span"), Fe.textContent = "*", ir = h(), se = d("input"), or = h(), Z && Z.c(), nr = h(), ge = d("div"), ve = d("label"), Ze = M(Oe), Xe = M(":"), Ne = d("span"), Ne.textContent = "*", Ye = h(), G = d("select");
|
|
671
671
|
for (let o = 0; o < R.length; o += 1)
|
|
672
672
|
R[o].c();
|
|
673
673
|
$e = h(), Ce = d("div"), he = d("label"), Ue = M(je), ar = M(":"), Ie = d("span"), Ie.textContent = "*", lr = h(), ce = d("select");
|
|
@@ -684,16 +684,16 @@ function lt(t) {
|
|
|
684
684
|
), c(w, "class", "a"), c(w, "d", "M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"), c(w, "transform", "translate(24 24) rotate(180)"), c(y, "xmlns", "http://www.w3.org/2000/svg"), c(y, "viewBox", "0 0 24 24"), c(O, "class", "BackButton"), c(f, "class", "RegisterFormHeader"), c(_e, "class", "FormRequired"), c(fe, "for", "Address"), c(I, "type", "text"), c(I, "id", "Address"), c(W, "class", Pe = "AddressContainer " + /*invalidAddress*/
|
|
685
685
|
(t[6] && !/*addressFocus*/
|
|
686
686
|
t[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
687
|
-
(t[14]?.indexOf("address") >= 0 ? "Hidden" : "")), c(re, "class", "FormRequired"), c(
|
|
687
|
+
(t[14]?.indexOf("address") >= 0 ? "Hidden" : "")), c(re, "class", "FormRequired"), c(V, "for", "PostalCode"), c(x, "type", "text"), c(x, "id", "PostalCode"), c(U, "class", H = "PostalCodeContainer " + /*invalidPostalCode*/
|
|
688
688
|
(t[7] && !/*postalCodeFocus*/
|
|
689
689
|
t[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
690
690
|
(t[14]?.indexOf("postalCode") >= 0 ? "Hidden" : "")), c(ue, "class", "AddressPostalCodeContainer"), c(Fe, "class", "FormRequired"), c(ye, "for", "City"), c(se, "type", "text"), c(se, "id", "City"), c(N, "class", le = "CityContainer " + /*invalidCity*/
|
|
691
691
|
(t[9] && /*cityFocus*/
|
|
692
692
|
t[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
693
|
-
(t[14]?.indexOf("city") >= 0 ? "Hidden" : "")), c(Ne, "class", "FormRequired"), c(ve, "for", "Country"), c(
|
|
693
|
+
(t[14]?.indexOf("city") >= 0 ? "Hidden" : "")), c(Ne, "class", "FormRequired"), c(ve, "for", "Country"), c(G, "id", "Country"), /*countrySelected*/
|
|
694
694
|
t[21] === void 0 && hr(() => (
|
|
695
695
|
/*select0_change_handler*/
|
|
696
|
-
t[58].call(
|
|
696
|
+
t[58].call(G)
|
|
697
697
|
)), c(ge, "class", ze = "CountryContainer " + /*disabledFieldsList*/
|
|
698
698
|
(t[14]?.indexOf("country") >= 0 ? "Hidden" : "")), c(Ie, "class", "FormRequired"), c(he, "for", "Nationality"), c(ce, "id", "Nationality"), /*nationalitySelected*/
|
|
699
699
|
t[23] === void 0 && hr(() => (
|
|
@@ -715,7 +715,7 @@ function lt(t) {
|
|
|
715
715
|
I,
|
|
716
716
|
/*address*/
|
|
717
717
|
t[17]
|
|
718
|
-
), s(W, Je), Q && Q.m(W, null), s(ue, me), s(ue, U), s(U,
|
|
718
|
+
), s(W, Je), Q && Q.m(W, null), s(ue, me), s(ue, U), s(U, V), s(V, oe), s(V, Se), s(V, re), s(U, ae), s(U, x), ee(
|
|
719
719
|
x,
|
|
720
720
|
/*postalCode*/
|
|
721
721
|
t[18]
|
|
@@ -723,11 +723,11 @@ function lt(t) {
|
|
|
723
723
|
se,
|
|
724
724
|
/*city*/
|
|
725
725
|
t[19]
|
|
726
|
-
), s(N, or), Z && Z.m(N, null), s(E, nr), s(E, ge), s(ge, ve), s(ve, Ze), s(ve, Xe), s(ve, Ne), s(ge, Ye), s(ge,
|
|
726
|
+
), s(N, or), Z && Z.m(N, null), s(E, nr), s(E, ge), s(ge, ve), s(ve, Ze), s(ve, Xe), s(ve, Ne), s(ge, Ye), s(ge, G);
|
|
727
727
|
for (let m = 0; m < R.length; m += 1)
|
|
728
|
-
R[m] && R[m].m(
|
|
728
|
+
R[m] && R[m].m(G, null);
|
|
729
729
|
Ke(
|
|
730
|
-
|
|
730
|
+
G,
|
|
731
731
|
/*countrySelected*/
|
|
732
732
|
t[21],
|
|
733
733
|
!0
|
|
@@ -831,7 +831,7 @@ function lt(t) {
|
|
|
831
831
|
t[57]
|
|
832
832
|
),
|
|
833
833
|
P(
|
|
834
|
-
|
|
834
|
+
G,
|
|
835
835
|
"change",
|
|
836
836
|
/*select0_change_handler*/
|
|
837
837
|
t[58]
|
|
@@ -933,14 +933,14 @@ function lt(t) {
|
|
|
933
933
|
1 && Oe !== (Oe = /*$_*/
|
|
934
934
|
o[31]("registerCountry") + "") && j(Ze, Oe), g[0] & /*countries*/
|
|
935
935
|
1048576) {
|
|
936
|
-
De =
|
|
936
|
+
De = Ge(
|
|
937
937
|
/*countries*/
|
|
938
938
|
o[20]
|
|
939
939
|
);
|
|
940
940
|
let m;
|
|
941
941
|
for (m = 0; m < De.length; m += 1) {
|
|
942
942
|
const Me = Sr(o, De, m);
|
|
943
|
-
R[m] ? R[m].p(Me, g) : (R[m] = Nr(Me), R[m].c(), R[m].m(
|
|
943
|
+
R[m] ? R[m].p(Me, g) : (R[m] = Nr(Me), R[m].c(), R[m].m(G, null));
|
|
944
944
|
}
|
|
945
945
|
for (; m < R.length; m += 1)
|
|
946
946
|
R[m].d(1);
|
|
@@ -948,7 +948,7 @@ function lt(t) {
|
|
|
948
948
|
}
|
|
949
949
|
if (g[0] & /*countrySelected, countries*/
|
|
950
950
|
3145728 && Ke(
|
|
951
|
-
|
|
951
|
+
G,
|
|
952
952
|
/*countrySelected*/
|
|
953
953
|
o[21]
|
|
954
954
|
), g[0] & /*disabledFieldsList*/
|
|
@@ -957,7 +957,7 @@ function lt(t) {
|
|
|
957
957
|
1 && je !== (je = /*$_*/
|
|
958
958
|
o[31]("registerNationality") + "") && j(Ue, je), g[0] & /*nationalities*/
|
|
959
959
|
4194304) {
|
|
960
|
-
We =
|
|
960
|
+
We = Ge(
|
|
961
961
|
/*nationalities*/
|
|
962
962
|
o[22]
|
|
963
963
|
);
|
|
@@ -981,18 +981,18 @@ function lt(t) {
|
|
|
981
981
|
1 && He !== (He = /*$_*/
|
|
982
982
|
o[31]("registerMobile") + "") && j(er, He), g[0] & /*mobilePrefixes*/
|
|
983
983
|
33554432) {
|
|
984
|
-
|
|
984
|
+
Ve = Ge(
|
|
985
985
|
/*mobilePrefixes*/
|
|
986
986
|
o[25]
|
|
987
987
|
);
|
|
988
988
|
let m;
|
|
989
|
-
for (m = 0; m <
|
|
990
|
-
const Me = Ar(o,
|
|
989
|
+
for (m = 0; m < Ve.length; m += 1) {
|
|
990
|
+
const Me = Ar(o, Ve, m);
|
|
991
991
|
D[m] ? D[m].p(Me, g) : (D[m] = jr(Me), D[m].c(), D[m].m(de, null));
|
|
992
992
|
}
|
|
993
993
|
for (; m < D.length; m += 1)
|
|
994
994
|
D[m].d(1);
|
|
995
|
-
D.length =
|
|
995
|
+
D.length = Ve.length;
|
|
996
996
|
}
|
|
997
997
|
g[0] & /*mobilePrefixSelected, mobilePrefixes*/
|
|
998
998
|
100663296 && Ke(
|
|
@@ -1028,7 +1028,7 @@ function lt(t) {
|
|
|
1028
1028
|
function ct(t, r, e) {
|
|
1029
1029
|
let n;
|
|
1030
1030
|
Xr(t, it, (l) => e(31, n = l));
|
|
1031
|
-
let { userconsentsexist: a = "false" } = r, { termsconditions: i = "false" } = r, { smsoffers: f = "false" } = r, { emailmarketing: O = "false" } = r, { endpoint: y = "" } = r, { captchakey: T = "" } = r, { lang: v = "" } = r, { disabledfields: b = "" } = r, { defaultoptions: w = "" } = r, { mbsource: A } = r, { clientstyling: p = "" } = r, { clientstylingurl: _ = "" } = r, { translationurl: F = "" } = r, E, ue, W, fe, ke = !1, Ae = !1, Te = !1, _e = !1, Qe, I, Je = !1, Pe = "", me = "", U = "",
|
|
1031
|
+
let { userconsentsexist: a = "false" } = r, { termsconditions: i = "false" } = r, { smsoffers: f = "false" } = r, { emailmarketing: O = "false" } = r, { endpoint: y = "" } = r, { captchakey: T = "" } = r, { lang: v = "" } = r, { disabledfields: b = "" } = r, { defaultoptions: w = "" } = r, { mbsource: A } = r, { clientstyling: p = "" } = r, { clientstylingurl: _ = "" } = r, { translationurl: F = "" } = r, E, ue, W, fe, ke = !1, Ae = !1, Te = !1, _e = !1, Qe, I, Je = !1, Pe = "", me = "", U = "", V = "", pe = [], oe = "", Se = [], re = "", ae = "", x = [], te = "", H = !1, Be = !1, N, ye, u = { mobile: {}, userConsents: {} }, k = {
|
|
1032
1032
|
address1: !1,
|
|
1033
1033
|
postalCode: !1,
|
|
1034
1034
|
city: !1,
|
|
@@ -1071,7 +1071,7 @@ function ct(t, r, e) {
|
|
|
1071
1071
|
e(18, U = C), Oe();
|
|
1072
1072
|
break;
|
|
1073
1073
|
case "city":
|
|
1074
|
-
e(19,
|
|
1074
|
+
e(19, V = C), Xe();
|
|
1075
1075
|
break;
|
|
1076
1076
|
case "country":
|
|
1077
1077
|
e(21, oe = C), e(30, k.country = !0, k);
|
|
@@ -1092,11 +1092,11 @@ function ct(t, r, e) {
|
|
|
1092
1092
|
e(29, u.address1 = me, u), e(6, E = !nr()), e(30, k.address1 = !E, k), le();
|
|
1093
1093
|
}, ve = () => !!(U && U.length <= 20), Oe = () => {
|
|
1094
1094
|
e(29, u.postalCode = U, u), e(7, ue = !ve()), e(30, k.postalCode = !ue, k), le();
|
|
1095
|
-
}, Ze = () => !!(
|
|
1096
|
-
e(29, u.city =
|
|
1095
|
+
}, Ze = () => !!(V && V.length <= 50), Xe = () => {
|
|
1096
|
+
e(29, u.city = V, u), e(9, fe = !Ze()), e(30, k.city = !fe, k), le();
|
|
1097
1097
|
}, Ne = () => !!(ae && ae.length >= 5 && ae.length <= 12), Ye = () => {
|
|
1098
1098
|
e(29, u.mobile.number = ae, u), e(8, W = !Ne()), e(30, k.mobile = !W, k), le();
|
|
1099
|
-
},
|
|
1099
|
+
}, G = (l) => {
|
|
1100
1100
|
l === "GeneralOffers" ? (e(27, H = !H), e(29, u.userConsents.sms = H, u), e(29, u.userConsents.emailmarketing = H, u)) : l === "SmsOffers" ? (e(29, u.userConsents.sms = !u.userConsents.sms, u), u.userConsents.sms && e(27, H = !0)) : l === "EmailOffers" && (e(29, u.userConsents.emailmarketing = !u.userConsents.emailmarketing, u), u.userConsents.emailmarketing && e(27, H = !0)), ze();
|
|
1101
1101
|
}, ze = () => {
|
|
1102
1102
|
!u.userConsents.sms && !u.userConsents.emailmarketing && e(27, H = !1);
|
|
@@ -1161,7 +1161,7 @@ function ct(t, r, e) {
|
|
|
1161
1161
|
}
|
|
1162
1162
|
const Ee = () => e(11, Ae = !0), He = () => e(11, Ae = !1);
|
|
1163
1163
|
function er() {
|
|
1164
|
-
|
|
1164
|
+
V = this.value, e(19, V);
|
|
1165
1165
|
}
|
|
1166
1166
|
const dr = () => e(13, _e = !0), qe = () => e(13, _e = !1);
|
|
1167
1167
|
function ur() {
|
|
@@ -1176,7 +1176,7 @@ function ct(t, r, e) {
|
|
|
1176
1176
|
function fr() {
|
|
1177
1177
|
ae = this.value, e(24, ae);
|
|
1178
1178
|
}
|
|
1179
|
-
const q = () => e(12, Te = !0), mr = () => e(12, Te = !1), Re = () =>
|
|
1179
|
+
const q = () => e(12, Te = !0), mr = () => e(12, Te = !1), Re = () => G("GeneralOffers"), gr = () => G("SmsOffers"), rr = () => G("EmailOffers"), be = () => $e(), Le = (l) => he(l);
|
|
1180
1180
|
function tr(l) {
|
|
1181
1181
|
$r[l ? "unshift" : "push"](() => {
|
|
1182
1182
|
N = l, e(5, N);
|
|
@@ -1219,7 +1219,7 @@ function ct(t, r, e) {
|
|
|
1219
1219
|
Pe,
|
|
1220
1220
|
me,
|
|
1221
1221
|
U,
|
|
1222
|
-
|
|
1222
|
+
V,
|
|
1223
1223
|
pe,
|
|
1224
1224
|
oe,
|
|
1225
1225
|
Se,
|
|
@@ -1237,7 +1237,7 @@ function ct(t, r, e) {
|
|
|
1237
1237
|
Oe,
|
|
1238
1238
|
Xe,
|
|
1239
1239
|
Ye,
|
|
1240
|
-
|
|
1240
|
+
G,
|
|
1241
1241
|
$e,
|
|
1242
1242
|
he,
|
|
1243
1243
|
je,
|
|
@@ -1272,7 +1272,7 @@ function ct(t, r, e) {
|
|
|
1272
1272
|
tr
|
|
1273
1273
|
];
|
|
1274
1274
|
}
|
|
1275
|
-
class dt extends
|
|
1275
|
+
class dt extends Gr {
|
|
1276
1276
|
constructor(r) {
|
|
1277
1277
|
super(), Kr(
|
|
1278
1278
|
this,
|