@everymatrix/general-player-register-form 1.63.3 → 1.64.1
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/{GeneralPlayerRegisterForm-CwbCaB9T.cjs → GeneralPlayerRegisterForm-DsNh6Be0.cjs} +1 -1
- package/components/{GeneralPlayerRegisterForm-GSnT3cWh.js → GeneralPlayerRegisterForm-VNsNOggD.js} +46 -46
- package/components/{GeneralPlayerRegisterForm-BSql8y2e.js → GeneralPlayerRegisterForm-iR8TAIDo.js} +52 -52
- package/components/{GeneralPlayerRegisterFormStep1-C1rKHuAT.js → GeneralPlayerRegisterFormStep1-BKf3xyhy.js} +81 -81
- package/components/{GeneralPlayerRegisterFormStep1-DJLHI4q-.js → GeneralPlayerRegisterFormStep1-DJmln0eL.js} +74 -74
- package/components/GeneralPlayerRegisterFormStep1-S9uu6fXP.cjs +1 -0
- package/components/{GeneralPlayerRegisterFormStep2-BvZR0EZq.js → GeneralPlayerRegisterFormStep2-ChrULO9z.js} +223 -223
- package/components/{GeneralPlayerRegisterFormStep2-evD5K93s.js → GeneralPlayerRegisterFormStep2-DeVvewUO.js} +191 -191
- package/components/{GeneralPlayerRegisterFormStep2-BVKY9SzR.cjs → GeneralPlayerRegisterFormStep2-DugKV0ur.cjs} +2 -2
- package/components/{GeneralPlayerRegisterFormStep3-CUkd3jeZ.js → GeneralPlayerRegisterFormStep3-BhHPqyZu.js} +174 -174
- package/components/{GeneralPlayerRegisterFormStep3-Det-nq5v.js → GeneralPlayerRegisterFormStep3-D888_eAx.js} +184 -184
- package/components/{GeneralPlayerRegisterFormStep3-CXtMbMa_.cjs → GeneralPlayerRegisterFormStep3-DA6HVSPY.cjs} +1 -1
- package/components/{GeneralPlayerSmsVerificationForm-CppU_Knr.cjs → GeneralPlayerSmsVerificationForm-A5WieYXi.cjs} +1 -1
- package/components/{GeneralPlayerSmsVerificationForm-CCLzxnhs.js → GeneralPlayerSmsVerificationForm-BUWfKH0q.js} +49 -49
- package/components/{GeneralPlayerSmsVerificationForm-DhpFrNAr.js → GeneralPlayerSmsVerificationForm-Bmuohr4j.js} +50 -50
- package/es2015/general-player-register-form.cjs +1 -1
- package/es2015/general-player-register-form.js +1 -1
- package/esnext/general-player-register-form.js +1 -1
- package/package.json +1 -1
- package/components/GeneralPlayerRegisterFormStep1-CkKgJCnB.cjs +0 -1
|
@@ -9,14 +9,14 @@ var Sr = (t, r, e) => r in t ? et(t, r, { enumerable: !0, configurable: !0, writ
|
|
|
9
9
|
for (var e of Or(r))
|
|
10
10
|
it.call(r, e) && Sr(t, e, r[e]);
|
|
11
11
|
return t;
|
|
12
|
-
},
|
|
13
|
-
import { $ as wr, G as ot, a as nt, S as at, i as lt, s as ct, f as oe, b as dt, C as Je, n as
|
|
12
|
+
}, Br = (t, r) => rt(t, tt(r));
|
|
13
|
+
import { $ as wr, G as ot, a as nt, S as at, i as lt, s as ct, f as oe, b as dt, C as Je, n as Fr, d as O, D as yr, r as ut, g as l, c as j, e as re, A as Ze, j as s, h as B, l as P, F as Mr, m as h, k as u, u as kr, t as M, B as vr, o as ft, p as mt, H as Nr, E as Er, q as gt, v as pt, w as Ct, x as ht, y as bt, z as kt } from "./GeneralPlayerRegisterForm-iR8TAIDo.js";
|
|
14
14
|
function _t({ withLocale: t, translations: r }) {
|
|
15
15
|
wr.subscribe((e) => {
|
|
16
16
|
e == null && (ot.set(r), wr.set(t));
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function zr(t, r) {
|
|
20
20
|
nt(t, r);
|
|
21
21
|
}
|
|
22
22
|
function yt(t) {
|
|
@@ -215,7 +215,7 @@ const jr = {
|
|
|
215
215
|
}
|
|
216
216
|
};
|
|
217
217
|
function vt(t) {
|
|
218
|
-
dt(t, "svelte-
|
|
218
|
+
dt(t, "svelte-ftqinq", `.BackButton{display:inline-flex;color:var(--emw--registration-typography, var(--emw--color-contrast, #07072A));height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer;margin-bottom:30px}.BackButton svg{width:20px;height:20px;margin-right:20px;fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.AddressPostalCodeContainer{display:flex;gap:16px}.CountryContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.CountryContainer select{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.CountryContainer select:focus,.CountryContainer select :focus-within,.CountryContainer select :focus-visible,.CountryContainer select :visited{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.AddressContainer,.PostalCodeContainer,.CityContainer,.CountryContainer,.NationalityContainer,.MobileContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:30px;position:relative}.AddressContainer label,.PostalCodeContainer label,.CityContainer label,.CountryContainer label,.NationalityContainer label,.MobileContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.AddressContainer input,.AddressContainer select,.PostalCodeContainer input,.PostalCodeContainer select,.CityContainer input,.CityContainer select,.CountryContainer input,.CountryContainer select,.NationalityContainer input,.NationalityContainer select,.MobileContainer input,.MobileContainer select{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.AddressContainer.InvalidField input,.PostalCodeContainer.InvalidField input,.CityContainer.InvalidField input,.CountryContainer.InvalidField input,.NationalityContainer.InvalidField input,.MobileContainer.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.AddressContainer.Hidden,.PostalCodeContainer.Hidden,.CityContainer.Hidden,.CountryContainer.Hidden,.NationalityContainer.Hidden,.MobileContainer.Hidden{display:none}.AddressContainer{width:65%}.PostalCodeContainer{width:35%}.MobileWrapper{display:flex;gap:16px}.MobileWrapper .MobilePrefixSelected{width:30%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.MobileWrapper .MobilePrefixSelected:focus,.MobileWrapper .MobilePrefixSelected :focus-within,.MobileWrapper .MobilePrefixSelected :focus-visible,.MobileWrapper .MobilePrefixSelected :visited{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.MobileWrapper .MobileInput{width:70%}.grecaptcha-badge{opacity:0}.FormRequired{color:var(--emw--color-secondary, #FD2839)}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.OffersMethodsWrapper{padding-left:32px}.Offers,.OffersMethod,.AgeConsent{display:block;position:relative;padding:5px 0 0 35px;margin-bottom:16px;font-size:16px;user-select:none;line-height:18px}.Offers label,.OffersMethod label,.AgeConsent label{font-size:16px;cursor:pointer}.Offers input,.OffersMethod input,.AgeConsent input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.Offers .Checkmark,.OffersMethod .Checkmark,.AgeConsent .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.Offers input:checked~.Checkmark,.OffersMethod input:checked~.Checkmark,.AgeConsent input:checked~.Checkmark{background-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.Offers .Checkmark:after,.OffersMethod .Checkmark:after,.AgeConsent .Checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 3px 3px 0;transform:rotate(45deg)}.Offers input:checked~.Checkmark:after,.OffersMethod input:checked~.Checkmark:after,.AgeConsent input:checked~.Checkmark:after{display:block}.NotificationContainer{margin-top:32px}.NotificationContainer p{color:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));font-size:14px}.RegisterError{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:16px;line-height:18px}.RegisterStepNext{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);cursor:not-allowed}`);
|
|
219
219
|
}
|
|
220
220
|
function Ur(t, r, e) {
|
|
221
221
|
const o = t.slice();
|
|
@@ -225,23 +225,23 @@ function Ir(t, r, e) {
|
|
|
225
225
|
const o = t.slice();
|
|
226
226
|
return o[90] = r[e], o;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function xr(t, r, e) {
|
|
229
229
|
const o = t.slice();
|
|
230
230
|
return o[93] = r[e], o;
|
|
231
231
|
}
|
|
232
|
-
function
|
|
232
|
+
function Hr(t) {
|
|
233
233
|
let r, e;
|
|
234
234
|
return {
|
|
235
235
|
c() {
|
|
236
|
-
r = u("script"),
|
|
236
|
+
r = u("script"), Nr(r.src, e = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
|
|
237
237
|
t[4]) || l(r, "src", e), r.async = !0, r.defer = !0;
|
|
238
238
|
},
|
|
239
239
|
m(o, a) {
|
|
240
|
-
|
|
240
|
+
B(o, r, a);
|
|
241
241
|
},
|
|
242
242
|
p(o, a) {
|
|
243
243
|
a[0] & /*captchakey*/
|
|
244
|
-
16 && !
|
|
244
|
+
16 && !Nr(r.src, e = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
|
|
245
245
|
o[4]) && l(r, "src", e);
|
|
246
246
|
},
|
|
247
247
|
d(o) {
|
|
@@ -249,7 +249,7 @@ function xr(t) {
|
|
|
249
249
|
}
|
|
250
250
|
};
|
|
251
251
|
}
|
|
252
|
-
function
|
|
252
|
+
function qr(t) {
|
|
253
253
|
let r, e = (
|
|
254
254
|
/*$_*/
|
|
255
255
|
t[31]("registerAddressError") + ""
|
|
@@ -259,7 +259,7 @@ function Hr(t) {
|
|
|
259
259
|
r = u("p"), o = M(e), l(r, "class", "InvalidInput");
|
|
260
260
|
},
|
|
261
261
|
m(a, i) {
|
|
262
|
-
|
|
262
|
+
B(a, r, i), s(r, o);
|
|
263
263
|
},
|
|
264
264
|
p(a, i) {
|
|
265
265
|
i[1] & /*$_*/
|
|
@@ -271,7 +271,7 @@ function Hr(t) {
|
|
|
271
271
|
}
|
|
272
272
|
};
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function Rr(t) {
|
|
275
275
|
let r, e = (
|
|
276
276
|
/*$_*/
|
|
277
277
|
t[31]("registerPostalCodeError") + ""
|
|
@@ -281,7 +281,7 @@ function qr(t) {
|
|
|
281
281
|
r = u("p"), o = M(e), l(r, "class", "InvalidInput");
|
|
282
282
|
},
|
|
283
283
|
m(a, i) {
|
|
284
|
-
|
|
284
|
+
B(a, r, i), s(r, o);
|
|
285
285
|
},
|
|
286
286
|
p(a, i) {
|
|
287
287
|
i[1] & /*$_*/
|
|
@@ -293,7 +293,7 @@ function qr(t) {
|
|
|
293
293
|
}
|
|
294
294
|
};
|
|
295
295
|
}
|
|
296
|
-
function
|
|
296
|
+
function Lr(t) {
|
|
297
297
|
let r, e = (
|
|
298
298
|
/*$_*/
|
|
299
299
|
t[31]("registerCityError") + ""
|
|
@@ -303,7 +303,7 @@ function Rr(t) {
|
|
|
303
303
|
r = u("p"), o = M(e), l(r, "class", "InvalidInput");
|
|
304
304
|
},
|
|
305
305
|
m(a, i) {
|
|
306
|
-
|
|
306
|
+
B(a, r, i), s(r, o);
|
|
307
307
|
},
|
|
308
308
|
p(a, i) {
|
|
309
309
|
i[1] & /*$_*/
|
|
@@ -315,7 +315,7 @@ function Rr(t) {
|
|
|
315
315
|
}
|
|
316
316
|
};
|
|
317
317
|
}
|
|
318
|
-
function
|
|
318
|
+
function Dr(t) {
|
|
319
319
|
let r, e = (
|
|
320
320
|
/*country*/
|
|
321
321
|
t[93].Name + ""
|
|
@@ -326,7 +326,7 @@ function Lr(t) {
|
|
|
326
326
|
t[93].Alpha2Code, re(r, r.__value);
|
|
327
327
|
},
|
|
328
328
|
m(i, f) {
|
|
329
|
-
|
|
329
|
+
B(i, r, f), s(r, o);
|
|
330
330
|
},
|
|
331
331
|
p(i, f) {
|
|
332
332
|
f[0] & /*countries*/
|
|
@@ -351,7 +351,7 @@ function Wr(t) {
|
|
|
351
351
|
t[90].Alpha2Code, re(r, r.__value);
|
|
352
352
|
},
|
|
353
353
|
m(i, f) {
|
|
354
|
-
|
|
354
|
+
B(i, r, f), s(r, o);
|
|
355
355
|
},
|
|
356
356
|
p(i, f) {
|
|
357
357
|
f[0] & /*nationalities*/
|
|
@@ -376,7 +376,7 @@ function Gr(t) {
|
|
|
376
376
|
t[87].Prefix, re(r, r.__value);
|
|
377
377
|
},
|
|
378
378
|
m(i, f) {
|
|
379
|
-
|
|
379
|
+
B(i, r, f), s(r, o);
|
|
380
380
|
},
|
|
381
381
|
p(i, f) {
|
|
382
382
|
f[0] & /*mobilePrefixes*/
|
|
@@ -400,7 +400,7 @@ function Vr(t) {
|
|
|
400
400
|
r = u("p"), o = M(e), l(r, "class", "InvalidInput");
|
|
401
401
|
},
|
|
402
402
|
m(a, i) {
|
|
403
|
-
|
|
403
|
+
B(a, r, i), s(r, o);
|
|
404
404
|
},
|
|
405
405
|
p(a, i) {
|
|
406
406
|
i[1] & /*$_*/
|
|
@@ -426,7 +426,7 @@ function Kr(t) {
|
|
|
426
426
|
o && o.c(), r = h(), a && a.c(), e = Mr();
|
|
427
427
|
},
|
|
428
428
|
m(i, f) {
|
|
429
|
-
o && o.m(i, f),
|
|
429
|
+
o && o.m(i, f), B(i, r, f), a && a.m(i, f), B(i, e, f);
|
|
430
430
|
},
|
|
431
431
|
p(i, f) {
|
|
432
432
|
/*smsoffers*/
|
|
@@ -455,25 +455,25 @@ function Qr(t) {
|
|
|
455
455
|
r = u("div"), e = u("label"), a = M(o), i = h(), f = u("input"), S = h(), y = u("span"), T = h(), v = u("div"), C && C.c(), k = h(), _ && _.c(), l(f, "type", "Checkbox"), f.checked = /*consentOffers*/
|
|
456
456
|
t[27], l(y, "class", "Checkmark"), l(e, "class", "Offers"), l(v, "class", "OffersMethodsWrapper"), l(r, "class", "OffersContainer");
|
|
457
457
|
},
|
|
458
|
-
m(
|
|
459
|
-
F
|
|
458
|
+
m(F, E) {
|
|
459
|
+
B(F, r, E), s(r, e), s(e, a), s(e, i), s(e, f), s(e, S), s(e, y), s(r, T), s(r, v), C && C.m(v, null), s(v, k), _ && _.m(v, null), w || (A = P(
|
|
460
460
|
f,
|
|
461
461
|
"click",
|
|
462
462
|
/*click_handler*/
|
|
463
463
|
t[64]
|
|
464
464
|
), w = !0);
|
|
465
465
|
},
|
|
466
|
-
p(
|
|
466
|
+
p(F, E) {
|
|
467
467
|
E[1] & /*$_*/
|
|
468
468
|
1 && o !== (o = /*$_*/
|
|
469
|
-
|
|
469
|
+
F[31]("registerUserConsents") + "") && j(a, o), E[0] & /*consentOffers*/
|
|
470
470
|
134217728 && (f.checked = /*consentOffers*/
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
471
|
+
F[27]), /*smsoffers*/
|
|
472
|
+
F[2] === "true" ? C ? C.p(F, E) : (C = Jr(F), C.c(), C.m(v, k)) : C && (C.d(1), C = null), /*emailmarketing*/
|
|
473
|
+
F[3] === "true" ? _ ? _.p(F, E) : (_ = Zr(F), _.c(), _.m(v, null)) : _ && (_.d(1), _ = null);
|
|
474
474
|
},
|
|
475
|
-
d(
|
|
476
|
-
|
|
475
|
+
d(F) {
|
|
476
|
+
F && O(r), C && C.d(), _ && _.d(), w = !1, A();
|
|
477
477
|
}
|
|
478
478
|
};
|
|
479
479
|
}
|
|
@@ -488,7 +488,7 @@ function Jr(t) {
|
|
|
488
488
|
t[29].userConsents.sms, l(y, "class", "Checkmark"), l(r, "class", "OffersMethod");
|
|
489
489
|
},
|
|
490
490
|
m(k, w) {
|
|
491
|
-
|
|
491
|
+
B(k, r, w), s(r, o), s(r, a), s(r, i), s(r, S), s(r, y), T || (v = P(
|
|
492
492
|
i,
|
|
493
493
|
"click",
|
|
494
494
|
/*click_handler_1*/
|
|
@@ -518,7 +518,7 @@ function Zr(t) {
|
|
|
518
518
|
t[29].userConsents.emailmarketing, l(y, "class", "Checkmark"), l(r, "class", "OffersMethod");
|
|
519
519
|
},
|
|
520
520
|
m(k, w) {
|
|
521
|
-
|
|
521
|
+
B(k, r, w), s(r, o), s(r, a), s(r, i), s(r, S), s(r, y), T || (v = P(
|
|
522
522
|
i,
|
|
523
523
|
"click",
|
|
524
524
|
/*click_handler_2*/
|
|
@@ -546,8 +546,8 @@ function Xr(t) {
|
|
|
546
546
|
t[29].userConsents.termsandconditions, l(y, "class", "Checkmark"), l(e, "class", "AgeConsent"), l(r, "class", "AgeContainer");
|
|
547
547
|
},
|
|
548
548
|
m(C, _) {
|
|
549
|
-
|
|
550
|
-
t[32], s(e, a), s(e, i), s(e, S), s(e, y),
|
|
549
|
+
B(C, r, _), s(r, e), s(e, o), o.innerHTML = /*textTC*/
|
|
550
|
+
t[32], s(e, a), s(e, i), s(e, S), s(e, y), B(C, T, _), A && A.m(C, _), B(C, v, _), k || (w = P(
|
|
551
551
|
i,
|
|
552
552
|
"click",
|
|
553
553
|
/*click_handler_3*/
|
|
@@ -575,7 +575,7 @@ function Yr(t) {
|
|
|
575
575
|
r = u("div"), e = u("p"), a = M(o), l(r, "class", "NotificationContainer");
|
|
576
576
|
},
|
|
577
577
|
m(i, f) {
|
|
578
|
-
|
|
578
|
+
B(i, r, f), s(r, e), s(e, a);
|
|
579
579
|
},
|
|
580
580
|
p(i, f) {
|
|
581
581
|
f[1] & /*$_*/
|
|
@@ -597,7 +597,7 @@ function $r(t) {
|
|
|
597
597
|
), l(e, "class", "RegisterError");
|
|
598
598
|
},
|
|
599
599
|
m(a, i) {
|
|
600
|
-
|
|
600
|
+
B(a, r, i), s(r, e), s(e, o);
|
|
601
601
|
},
|
|
602
602
|
p(a, i) {
|
|
603
603
|
i[0] & /*error*/
|
|
@@ -616,51 +616,51 @@ function Et(t) {
|
|
|
616
616
|
let r, e, o, a, i, f, S, y, T, v, k, w, A, C = (
|
|
617
617
|
/*$_*/
|
|
618
618
|
t[31]("registerBackButton") + ""
|
|
619
|
-
), _,
|
|
619
|
+
), _, F, E, fe, G, me, ye = (
|
|
620
620
|
/*$_*/
|
|
621
621
|
t[31]("registerAddress") + ""
|
|
622
|
-
), Pe,
|
|
622
|
+
), Pe, ze, ve, Xe, x, Ye, Oe, ge, I, V, Ce = (
|
|
623
623
|
/*$_*/
|
|
624
624
|
t[31]("registerPostalCode") + ""
|
|
625
|
-
), ne, Se, te, le,
|
|
625
|
+
), ne, Se, te, le, H, se, q, je, N, d, b = (
|
|
626
626
|
/*$_*/
|
|
627
627
|
t[31]("registerCity") + ""
|
|
628
|
-
), $e, ar, Ue, lr, ie, he, Ie, er, be, ke,
|
|
628
|
+
), $e, ar, Ue, lr, ie, he, Ie, er, be, ke, xe = (
|
|
629
629
|
/*$_*/
|
|
630
630
|
t[31]("registerCountry") + ""
|
|
631
|
-
),
|
|
631
|
+
), He, cr, Te, Be, ce, Fe, dr, pe, Ee, Ne = (
|
|
632
632
|
/*$_*/
|
|
633
633
|
t[31]("registerNationality") + ""
|
|
634
|
-
), rr, ur,
|
|
634
|
+
), rr, ur, qe, fr, de, Re, mr, ae, we, Le = (
|
|
635
635
|
/*$_*/
|
|
636
636
|
t[31]("registerMobile") + ""
|
|
637
|
-
), tr, gr,
|
|
637
|
+
), tr, gr, De, pr, Me, ue, Cr, R, hr, We, br, sr, _e, Ge = (
|
|
638
638
|
/*$_*/
|
|
639
639
|
t[31]("registerOpenAccount") + ""
|
|
640
640
|
), c, g, U, _r, Ar, K = (
|
|
641
641
|
/*captchakey*/
|
|
642
|
-
t[4] &&
|
|
642
|
+
t[4] && Hr(t)
|
|
643
643
|
), Q = (
|
|
644
644
|
/*invalidAddress*/
|
|
645
|
-
t[6] &&
|
|
645
|
+
t[6] && qr(t)
|
|
646
646
|
), J = (
|
|
647
647
|
/*invalidPostalCode*/
|
|
648
|
-
t[7] &&
|
|
648
|
+
t[7] && Rr(t)
|
|
649
649
|
), Z = (
|
|
650
650
|
/*invalidCity*/
|
|
651
|
-
t[9] &&
|
|
651
|
+
t[9] && Lr(t)
|
|
652
652
|
), Ve = Je(
|
|
653
653
|
/*countries*/
|
|
654
654
|
t[20]
|
|
655
|
-
),
|
|
655
|
+
), L = [];
|
|
656
656
|
for (let n = 0; n < Ve.length; n += 1)
|
|
657
|
-
|
|
657
|
+
L[n] = Dr(xr(t, Ve, n));
|
|
658
658
|
let Ke = Je(
|
|
659
659
|
/*nationalities*/
|
|
660
660
|
t[22]
|
|
661
|
-
),
|
|
661
|
+
), D = [];
|
|
662
662
|
for (let n = 0; n < Ke.length; n += 1)
|
|
663
|
-
|
|
663
|
+
D[n] = Wr(Ir(t, Ke, n));
|
|
664
664
|
let Qe = Je(
|
|
665
665
|
/*mobilePrefixes*/
|
|
666
666
|
t[25]
|
|
@@ -679,89 +679,89 @@ function Et(t) {
|
|
|
679
679
|
);
|
|
680
680
|
return {
|
|
681
681
|
c() {
|
|
682
|
-
var n, m,
|
|
683
|
-
K && K.c(), r = Mr(), e = h(), o = u("div"), a = h(), i = u("div"), f = u("div"), S = u("button"), y = kr("svg"), T = kr("defs"), v = kr("style"), k = M(".a{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #
|
|
684
|
-
for (let ee = 0; ee < R.length; ee += 1)
|
|
685
|
-
R[ee].c();
|
|
686
|
-
dr = h(), pe = u("div"), Ee = u("label"), rr = M(ze), ur = M(":"), He = u("span"), He.textContent = "*", fr = h(), de = u("select");
|
|
682
|
+
var n, m, z, ir, or, nr;
|
|
683
|
+
K && K.c(), r = Mr(), e = h(), o = u("div"), a = h(), i = u("div"), f = u("div"), S = u("button"), y = kr("svg"), T = kr("defs"), v = kr("style"), k = M(".a{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));}"), w = kr("path"), A = h(), _ = M(C), F = h(), E = u("form"), fe = u("div"), G = u("div"), me = u("label"), Pe = M(ye), ze = M(":"), ve = u("span"), ve.textContent = "*", Xe = h(), x = u("input"), Ye = h(), Q && Q.c(), ge = h(), I = u("div"), V = u("label"), ne = M(Ce), Se = M(":"), te = u("span"), te.textContent = "*", le = h(), H = u("input"), se = h(), J && J.c(), je = h(), N = u("div"), d = u("label"), $e = M(b), ar = M(":"), Ue = u("span"), Ue.textContent = "*", lr = h(), ie = u("input"), he = h(), Z && Z.c(), er = h(), be = u("div"), ke = u("label"), He = M(xe), cr = M(":"), Te = u("span"), Te.textContent = "*", Be = h(), ce = u("select");
|
|
687
684
|
for (let ee = 0; ee < L.length; ee += 1)
|
|
688
685
|
L[ee].c();
|
|
689
|
-
|
|
686
|
+
dr = h(), pe = u("div"), Ee = u("label"), rr = M(Ne), ur = M(":"), qe = u("span"), qe.textContent = "*", fr = h(), de = u("select");
|
|
687
|
+
for (let ee = 0; ee < D.length; ee += 1)
|
|
688
|
+
D[ee].c();
|
|
689
|
+
mr = h(), ae = u("div"), we = u("label"), tr = M(Le), gr = M(":"), De = u("span"), De.textContent = "*", pr = h(), Me = u("div"), ue = u("select");
|
|
690
690
|
for (let ee = 0; ee < W.length; ee += 1)
|
|
691
691
|
W[ee].c();
|
|
692
|
-
Cr = h(),
|
|
692
|
+
Cr = h(), R = u("input"), hr = h(), X && X.c(), br = h(), Y && Y.c(), sr = h(), _e = u("button"), c = M(Ge), U = h(), $ && $.c(), l(o, "class", "g-recaptcha"), l(
|
|
693
693
|
o,
|
|
694
694
|
"data-sitekey",
|
|
695
695
|
/*captchakey*/
|
|
696
696
|
t[4]
|
|
697
|
-
), l(w, "class", "a"), l(w, "d", "M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"), l(w, "transform", "translate(24 24) rotate(180)"), l(y, "xmlns", "http://www.w3.org/2000/svg"), l(y, "viewBox", "0 0 24 24"), l(S, "class", "BackButton"), l(f, "class", "RegisterFormHeader"), l(ve, "class", "FormRequired"), l(me, "for", "Address"), l(
|
|
697
|
+
), l(w, "class", "a"), l(w, "d", "M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"), l(w, "transform", "translate(24 24) rotate(180)"), l(y, "xmlns", "http://www.w3.org/2000/svg"), l(y, "viewBox", "0 0 24 24"), l(S, "class", "BackButton"), l(f, "class", "RegisterFormHeader"), l(ve, "class", "FormRequired"), l(me, "for", "Address"), l(x, "type", "text"), l(x, "id", "Address"), l(G, "class", Oe = "AddressContainer " + /*invalidAddress*/
|
|
698
698
|
(t[6] && !/*addressFocus*/
|
|
699
699
|
t[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
700
|
-
(((n = t[14]) == null ? void 0 : n.indexOf("address")) >= 0 ? "Hidden" : "")), l(te, "class", "FormRequired"), l(V, "for", "PostalCode"), l(
|
|
700
|
+
(((n = t[14]) == null ? void 0 : n.indexOf("address")) >= 0 ? "Hidden" : "")), l(te, "class", "FormRequired"), l(V, "for", "PostalCode"), l(H, "type", "text"), l(H, "id", "PostalCode"), l(I, "class", q = "PostalCodeContainer " + /*invalidPostalCode*/
|
|
701
701
|
(t[7] && !/*postalCodeFocus*/
|
|
702
702
|
t[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
703
|
-
(((m = t[14]) == null ? void 0 : m.indexOf("postalCode")) >= 0 ? "Hidden" : "")), l(fe, "class", "AddressPostalCodeContainer"), l(Ue, "class", "FormRequired"), l(d, "for", "City"), l(ie, "type", "text"), l(ie, "id", "City"), l(
|
|
703
|
+
(((m = t[14]) == null ? void 0 : m.indexOf("postalCode")) >= 0 ? "Hidden" : "")), l(fe, "class", "AddressPostalCodeContainer"), l(Ue, "class", "FormRequired"), l(d, "for", "City"), l(ie, "type", "text"), l(ie, "id", "City"), l(N, "class", Ie = "CityContainer " + /*invalidCity*/
|
|
704
704
|
(t[9] && /*cityFocus*/
|
|
705
705
|
t[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
706
|
-
(((
|
|
706
|
+
(((z = t[14]) == null ? void 0 : z.indexOf("city")) >= 0 ? "Hidden" : "")), l(Te, "class", "FormRequired"), l(ke, "for", "Country"), l(ce, "id", "Country"), /*countrySelected*/
|
|
707
707
|
t[21] === void 0 && vr(() => (
|
|
708
708
|
/*select0_change_handler*/
|
|
709
709
|
t[58].call(ce)
|
|
710
|
-
)), l(be, "class",
|
|
711
|
-
(((ir = t[14]) == null ? void 0 : ir.indexOf("country")) >= 0 ? "Hidden" : "")), l(
|
|
710
|
+
)), l(be, "class", Fe = "CountryContainer " + /*disabledFieldsList*/
|
|
711
|
+
(((ir = t[14]) == null ? void 0 : ir.indexOf("country")) >= 0 ? "Hidden" : "")), l(qe, "class", "FormRequired"), l(Ee, "for", "Nationality"), l(de, "id", "Nationality"), /*nationalitySelected*/
|
|
712
712
|
t[23] === void 0 && vr(() => (
|
|
713
713
|
/*select1_change_handler*/
|
|
714
714
|
t[59].call(de)
|
|
715
|
-
)), l(pe, "class",
|
|
716
|
-
(((or = t[14]) == null ? void 0 : or.indexOf("nationality")) >= 0 ? "Hidden" : "")), l(
|
|
715
|
+
)), l(pe, "class", Re = "NationalityContainer " + /*disabledFieldsList*/
|
|
716
|
+
(((or = t[14]) == null ? void 0 : or.indexOf("nationality")) >= 0 ? "Hidden" : "")), l(De, "class", "FormRequired"), l(we, "for", "Mobile"), l(ue, "class", "MobilePrefixSelected"), /*mobilePrefixSelected*/
|
|
717
717
|
t[26] === void 0 && vr(() => (
|
|
718
718
|
/*select2_change_handler*/
|
|
719
719
|
t[60].call(ue)
|
|
720
|
-
)), l(
|
|
720
|
+
)), l(R, "type", "text"), l(R, "oninput", "this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');"), l(R, "id", "Mobile"), l(R, "class", "MobileInput"), l(Me, "class", "MobileWrapper"), l(ae, "class", We = "MobileContainer " + /*invalidMobile*/
|
|
721
721
|
(t[8] && !/*mobileFocus*/
|
|
722
722
|
t[12] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
723
723
|
(((nr = t[14]) == null ? void 0 : nr.indexOf("mobile")) >= 0 ? "Hidden" : "")), l(_e, "class", "RegisterStepNext"), _e.disabled = g = !/*isValid*/
|
|
724
724
|
t[28], l(E, "class", "RegisterFormContent");
|
|
725
725
|
},
|
|
726
726
|
m(n, m) {
|
|
727
|
-
K && K.m(document.head, null), s(document.head, r),
|
|
728
|
-
|
|
727
|
+
K && K.m(document.head, null), s(document.head, r), B(n, e, m), B(n, o, m), B(n, a, m), B(n, i, m), s(i, f), s(f, S), s(S, y), s(y, T), s(T, v), s(v, k), s(y, w), s(S, A), s(S, _), s(i, F), s(i, E), s(E, fe), s(fe, G), s(G, me), s(me, Pe), s(me, ze), s(me, ve), s(G, Xe), s(G, x), re(
|
|
728
|
+
x,
|
|
729
729
|
/*address*/
|
|
730
730
|
t[17]
|
|
731
|
-
), s(G, Ye), Q && Q.m(G, null), s(fe, ge), s(fe, I), s(I, V), s(V, ne), s(V, Se), s(V, te), s(I, le), s(I,
|
|
732
|
-
|
|
731
|
+
), s(G, Ye), Q && Q.m(G, null), s(fe, ge), s(fe, I), s(I, V), s(V, ne), s(V, Se), s(V, te), s(I, le), s(I, H), re(
|
|
732
|
+
H,
|
|
733
733
|
/*postalCode*/
|
|
734
734
|
t[18]
|
|
735
|
-
), s(I, se), J && J.m(I, null), s(E, je), s(E,
|
|
735
|
+
), s(I, se), J && J.m(I, null), s(E, je), s(E, N), s(N, d), s(d, $e), s(d, ar), s(d, Ue), s(N, lr), s(N, ie), re(
|
|
736
736
|
ie,
|
|
737
737
|
/*city*/
|
|
738
738
|
t[19]
|
|
739
|
-
), s(
|
|
740
|
-
for (let
|
|
741
|
-
|
|
739
|
+
), s(N, he), Z && Z.m(N, null), s(E, er), s(E, be), s(be, ke), s(ke, He), s(ke, cr), s(ke, Te), s(be, Be), s(be, ce);
|
|
740
|
+
for (let z = 0; z < L.length; z += 1)
|
|
741
|
+
L[z] && L[z].m(ce, null);
|
|
742
742
|
Ze(
|
|
743
743
|
ce,
|
|
744
744
|
/*countrySelected*/
|
|
745
745
|
t[21],
|
|
746
746
|
!0
|
|
747
|
-
), s(E, dr), s(E, pe), s(pe, Ee), s(Ee, rr), s(Ee, ur), s(Ee,
|
|
748
|
-
for (let
|
|
749
|
-
|
|
747
|
+
), s(E, dr), s(E, pe), s(pe, Ee), s(Ee, rr), s(Ee, ur), s(Ee, qe), s(pe, fr), s(pe, de);
|
|
748
|
+
for (let z = 0; z < D.length; z += 1)
|
|
749
|
+
D[z] && D[z].m(de, null);
|
|
750
750
|
Ze(
|
|
751
751
|
de,
|
|
752
752
|
/*nationalitySelected*/
|
|
753
753
|
t[23],
|
|
754
754
|
!0
|
|
755
|
-
), s(E, mr), s(E, ae), s(ae, we), s(we, tr), s(we, gr), s(we,
|
|
756
|
-
for (let
|
|
757
|
-
W[
|
|
755
|
+
), s(E, mr), s(E, ae), s(ae, we), s(we, tr), s(we, gr), s(we, De), s(ae, pr), s(ae, Me), s(Me, ue);
|
|
756
|
+
for (let z = 0; z < W.length; z += 1)
|
|
757
|
+
W[z] && W[z].m(ue, null);
|
|
758
758
|
Ze(
|
|
759
759
|
ue,
|
|
760
760
|
/*mobilePrefixSelected*/
|
|
761
761
|
t[26],
|
|
762
762
|
!0
|
|
763
|
-
), s(Me, Cr), s(Me,
|
|
764
|
-
|
|
763
|
+
), s(Me, Cr), s(Me, R), re(
|
|
764
|
+
R,
|
|
765
765
|
/*mobile*/
|
|
766
766
|
t[24]
|
|
767
767
|
), s(ae, hr), X && X.m(ae, null), s(E, br), Y && Y.m(E, null), s(E, sr), s(E, _e), s(_e, c), s(i, U), $ && $.m(i, null), t[69](i), _r || (Ar = [
|
|
@@ -772,49 +772,49 @@ function Et(t) {
|
|
|
772
772
|
t[40]
|
|
773
773
|
),
|
|
774
774
|
P(
|
|
775
|
-
|
|
775
|
+
x,
|
|
776
776
|
"input",
|
|
777
777
|
/*input0_input_handler*/
|
|
778
778
|
t[49]
|
|
779
779
|
),
|
|
780
780
|
P(
|
|
781
|
-
|
|
781
|
+
x,
|
|
782
782
|
"keyup",
|
|
783
783
|
/*validateAddress*/
|
|
784
784
|
t[33]
|
|
785
785
|
),
|
|
786
786
|
P(
|
|
787
|
-
|
|
787
|
+
x,
|
|
788
788
|
"focus",
|
|
789
789
|
/*focus_handler*/
|
|
790
790
|
t[50]
|
|
791
791
|
),
|
|
792
792
|
P(
|
|
793
|
-
|
|
793
|
+
x,
|
|
794
794
|
"blur",
|
|
795
795
|
/*blur_handler*/
|
|
796
796
|
t[51]
|
|
797
797
|
),
|
|
798
798
|
P(
|
|
799
|
-
|
|
799
|
+
H,
|
|
800
800
|
"input",
|
|
801
801
|
/*input1_input_handler*/
|
|
802
802
|
t[52]
|
|
803
803
|
),
|
|
804
804
|
P(
|
|
805
|
-
|
|
805
|
+
H,
|
|
806
806
|
"keyup",
|
|
807
807
|
/*validatePostalCode*/
|
|
808
808
|
t[34]
|
|
809
809
|
),
|
|
810
810
|
P(
|
|
811
|
-
|
|
811
|
+
H,
|
|
812
812
|
"focus",
|
|
813
813
|
/*focus_handler_1*/
|
|
814
814
|
t[53]
|
|
815
815
|
),
|
|
816
816
|
P(
|
|
817
|
-
|
|
817
|
+
H,
|
|
818
818
|
"blur",
|
|
819
819
|
/*blur_handler_1*/
|
|
820
820
|
t[54]
|
|
@@ -862,25 +862,25 @@ function Et(t) {
|
|
|
862
862
|
t[60]
|
|
863
863
|
),
|
|
864
864
|
P(
|
|
865
|
-
|
|
865
|
+
R,
|
|
866
866
|
"input",
|
|
867
867
|
/*input3_input_handler*/
|
|
868
868
|
t[61]
|
|
869
869
|
),
|
|
870
870
|
P(
|
|
871
|
-
|
|
871
|
+
R,
|
|
872
872
|
"keyup",
|
|
873
873
|
/*validateMobile*/
|
|
874
874
|
t[36]
|
|
875
875
|
),
|
|
876
876
|
P(
|
|
877
|
-
|
|
877
|
+
R,
|
|
878
878
|
"focus",
|
|
879
879
|
/*focus_handler_3*/
|
|
880
880
|
t[62]
|
|
881
881
|
),
|
|
882
882
|
P(
|
|
883
|
-
|
|
883
|
+
R,
|
|
884
884
|
"blur",
|
|
885
885
|
/*blur_handler_3*/
|
|
886
886
|
t[63]
|
|
@@ -894,9 +894,9 @@ function Et(t) {
|
|
|
894
894
|
], _r = !0);
|
|
895
895
|
},
|
|
896
896
|
p(n, m) {
|
|
897
|
-
var
|
|
897
|
+
var z, ir, or, nr, ee, Pr;
|
|
898
898
|
if (/*captchakey*/
|
|
899
|
-
n[4] ? K ? K.p(n, m) : (K =
|
|
899
|
+
n[4] ? K ? K.p(n, m) : (K = Hr(n), K.c(), K.m(r.parentNode, r)) : K && (K.d(1), K = null), m[0] & /*captchakey*/
|
|
900
900
|
16 && l(
|
|
901
901
|
o,
|
|
902
902
|
"data-sitekey",
|
|
@@ -907,30 +907,30 @@ function Et(t) {
|
|
|
907
907
|
n[31]("registerBackButton") + "") && j(_, C), m[1] & /*$_*/
|
|
908
908
|
1 && ye !== (ye = /*$_*/
|
|
909
909
|
n[31]("registerAddress") + "") && j(Pe, ye), m[0] & /*address*/
|
|
910
|
-
131072 &&
|
|
910
|
+
131072 && x.value !== /*address*/
|
|
911
911
|
n[17] && re(
|
|
912
|
-
|
|
912
|
+
x,
|
|
913
913
|
/*address*/
|
|
914
914
|
n[17]
|
|
915
915
|
), /*invalidAddress*/
|
|
916
|
-
n[6] ? Q ? Q.p(n, m) : (Q =
|
|
916
|
+
n[6] ? Q ? Q.p(n, m) : (Q = qr(n), Q.c(), Q.m(G, null)) : Q && (Q.d(1), Q = null), m[0] & /*invalidAddress, addressFocus, disabledFieldsList*/
|
|
917
917
|
17472 && Oe !== (Oe = "AddressContainer " + /*invalidAddress*/
|
|
918
918
|
(n[6] && !/*addressFocus*/
|
|
919
919
|
n[10] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
920
|
-
(((
|
|
920
|
+
(((z = n[14]) == null ? void 0 : z.indexOf("address")) >= 0 ? "Hidden" : "")) && l(G, "class", Oe), m[1] & /*$_*/
|
|
921
921
|
1 && Ce !== (Ce = /*$_*/
|
|
922
922
|
n[31]("registerPostalCode") + "") && j(ne, Ce), m[0] & /*postalCode*/
|
|
923
|
-
262144 &&
|
|
923
|
+
262144 && H.value !== /*postalCode*/
|
|
924
924
|
n[18] && re(
|
|
925
|
-
|
|
925
|
+
H,
|
|
926
926
|
/*postalCode*/
|
|
927
927
|
n[18]
|
|
928
928
|
), /*invalidPostalCode*/
|
|
929
|
-
n[7] ? J ? J.p(n, m) : (J =
|
|
930
|
-
18560 &&
|
|
929
|
+
n[7] ? J ? J.p(n, m) : (J = Rr(n), J.c(), J.m(I, null)) : J && (J.d(1), J = null), m[0] & /*invalidPostalCode, postalCodeFocus, disabledFieldsList*/
|
|
930
|
+
18560 && q !== (q = "PostalCodeContainer " + /*invalidPostalCode*/
|
|
931
931
|
(n[7] && !/*postalCodeFocus*/
|
|
932
932
|
n[11] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
933
|
-
(((ir = n[14]) == null ? void 0 : ir.indexOf("postalCode")) >= 0 ? "Hidden" : "")) && l(I, "class",
|
|
933
|
+
(((ir = n[14]) == null ? void 0 : ir.indexOf("postalCode")) >= 0 ? "Hidden" : "")) && l(I, "class", q), m[1] & /*$_*/
|
|
934
934
|
1 && b !== (b = /*$_*/
|
|
935
935
|
n[31]("registerCity") + "") && j($e, b), m[0] & /*city*/
|
|
936
936
|
524288 && ie.value !== /*city*/
|
|
@@ -939,13 +939,13 @@ function Et(t) {
|
|
|
939
939
|
/*city*/
|
|
940
940
|
n[19]
|
|
941
941
|
), /*invalidCity*/
|
|
942
|
-
n[9] ? Z ? Z.p(n, m) : (Z =
|
|
942
|
+
n[9] ? Z ? Z.p(n, m) : (Z = Lr(n), Z.c(), Z.m(N, null)) : Z && (Z.d(1), Z = null), m[0] & /*invalidCity, cityFocus, disabledFieldsList*/
|
|
943
943
|
25088 && Ie !== (Ie = "CityContainer " + /*invalidCity*/
|
|
944
944
|
(n[9] && /*cityFocus*/
|
|
945
945
|
n[13] ? "InvalidField" : "") + /*disabledFieldsList*/
|
|
946
|
-
(((or = n[14]) == null ? void 0 : or.indexOf("city")) >= 0 ? "Hidden" : "")) && l(
|
|
947
|
-
1 &&
|
|
948
|
-
n[31]("registerCountry") + "") && j(
|
|
946
|
+
(((or = n[14]) == null ? void 0 : or.indexOf("city")) >= 0 ? "Hidden" : "")) && l(N, "class", Ie), m[1] & /*$_*/
|
|
947
|
+
1 && xe !== (xe = /*$_*/
|
|
948
|
+
n[31]("registerCountry") + "") && j(He, xe), m[0] & /*countries*/
|
|
949
949
|
1048576) {
|
|
950
950
|
Ve = Je(
|
|
951
951
|
/*countries*/
|
|
@@ -953,12 +953,12 @@ function Et(t) {
|
|
|
953
953
|
);
|
|
954
954
|
let p;
|
|
955
955
|
for (p = 0; p < Ve.length; p += 1) {
|
|
956
|
-
const Ae =
|
|
957
|
-
|
|
956
|
+
const Ae = xr(n, Ve, p);
|
|
957
|
+
L[p] ? L[p].p(Ae, m) : (L[p] = Dr(Ae), L[p].c(), L[p].m(ce, null));
|
|
958
958
|
}
|
|
959
|
-
for (; p <
|
|
960
|
-
|
|
961
|
-
|
|
959
|
+
for (; p < L.length; p += 1)
|
|
960
|
+
L[p].d(1);
|
|
961
|
+
L.length = Ve.length;
|
|
962
962
|
}
|
|
963
963
|
if (m[0] & /*countrySelected, countries*/
|
|
964
964
|
3145728 && Ze(
|
|
@@ -966,10 +966,10 @@ function Et(t) {
|
|
|
966
966
|
/*countrySelected*/
|
|
967
967
|
n[21]
|
|
968
968
|
), m[0] & /*disabledFieldsList*/
|
|
969
|
-
16384 &&
|
|
970
|
-
(((nr = n[14]) == null ? void 0 : nr.indexOf("country")) >= 0 ? "Hidden" : "")) && l(be, "class",
|
|
971
|
-
1 &&
|
|
972
|
-
n[31]("registerNationality") + "") && j(rr,
|
|
969
|
+
16384 && Fe !== (Fe = "CountryContainer " + /*disabledFieldsList*/
|
|
970
|
+
(((nr = n[14]) == null ? void 0 : nr.indexOf("country")) >= 0 ? "Hidden" : "")) && l(be, "class", Fe), m[1] & /*$_*/
|
|
971
|
+
1 && Ne !== (Ne = /*$_*/
|
|
972
|
+
n[31]("registerNationality") + "") && j(rr, Ne), m[0] & /*nationalities*/
|
|
973
973
|
4194304) {
|
|
974
974
|
Ke = Je(
|
|
975
975
|
/*nationalities*/
|
|
@@ -978,11 +978,11 @@ function Et(t) {
|
|
|
978
978
|
let p;
|
|
979
979
|
for (p = 0; p < Ke.length; p += 1) {
|
|
980
980
|
const Ae = Ir(n, Ke, p);
|
|
981
|
-
|
|
981
|
+
D[p] ? D[p].p(Ae, m) : (D[p] = Wr(Ae), D[p].c(), D[p].m(de, null));
|
|
982
982
|
}
|
|
983
|
-
for (; p <
|
|
984
|
-
|
|
985
|
-
|
|
983
|
+
for (; p < D.length; p += 1)
|
|
984
|
+
D[p].d(1);
|
|
985
|
+
D.length = Ke.length;
|
|
986
986
|
}
|
|
987
987
|
if (m[0] & /*nationalitySelected, nationalities*/
|
|
988
988
|
12582912 && Ze(
|
|
@@ -990,10 +990,10 @@ function Et(t) {
|
|
|
990
990
|
/*nationalitySelected*/
|
|
991
991
|
n[23]
|
|
992
992
|
), m[0] & /*disabledFieldsList*/
|
|
993
|
-
16384 &&
|
|
994
|
-
(((ee = n[14]) == null ? void 0 : ee.indexOf("nationality")) >= 0 ? "Hidden" : "")) && l(pe, "class",
|
|
995
|
-
1 &&
|
|
996
|
-
n[31]("registerMobile") + "") && j(tr,
|
|
993
|
+
16384 && Re !== (Re = "NationalityContainer " + /*disabledFieldsList*/
|
|
994
|
+
(((ee = n[14]) == null ? void 0 : ee.indexOf("nationality")) >= 0 ? "Hidden" : "")) && l(pe, "class", Re), m[1] & /*$_*/
|
|
995
|
+
1 && Le !== (Le = /*$_*/
|
|
996
|
+
n[31]("registerMobile") + "") && j(tr, Le), m[0] & /*mobilePrefixes*/
|
|
997
997
|
33554432) {
|
|
998
998
|
Qe = Je(
|
|
999
999
|
/*mobilePrefixes*/
|
|
@@ -1014,9 +1014,9 @@ function Et(t) {
|
|
|
1014
1014
|
/*mobilePrefixSelected*/
|
|
1015
1015
|
n[26]
|
|
1016
1016
|
), m[0] & /*mobile*/
|
|
1017
|
-
16777216 &&
|
|
1017
|
+
16777216 && R.value !== /*mobile*/
|
|
1018
1018
|
n[24] && re(
|
|
1019
|
-
|
|
1019
|
+
R,
|
|
1020
1020
|
/*mobile*/
|
|
1021
1021
|
n[24]
|
|
1022
1022
|
), /*invalidMobile*/
|
|
@@ -1032,17 +1032,17 @@ function Et(t) {
|
|
|
1032
1032
|
n[28]) && (_e.disabled = g), /*showError*/
|
|
1033
1033
|
n[15] ? $ ? $.p(n, m) : ($ = $r(n), $.c(), $.m(i, null)) : $ && ($.d(1), $ = null);
|
|
1034
1034
|
},
|
|
1035
|
-
i:
|
|
1036
|
-
o:
|
|
1035
|
+
i: Fr,
|
|
1036
|
+
o: Fr,
|
|
1037
1037
|
d(n) {
|
|
1038
|
-
n && (O(e), O(o), O(a), O(i)), K && K.d(n), O(r), Q && Q.d(), J && J.d(), Z && Z.d(), yr(
|
|
1038
|
+
n && (O(e), O(o), O(a), O(i)), K && K.d(n), O(r), Q && Q.d(), J && J.d(), Z && Z.d(), yr(L, n), yr(D, n), yr(W, n), X && X.d(), Y && Y.d(), $ && $.d(), t[69](null), _r = !1, ut(Ar);
|
|
1039
1039
|
}
|
|
1040
1040
|
};
|
|
1041
1041
|
}
|
|
1042
1042
|
function wt(t, r, e) {
|
|
1043
1043
|
let o;
|
|
1044
1044
|
ft(t, kt, (c) => e(31, o = c));
|
|
1045
|
-
let { userconsentsexist: a = "false" } = r, { termsconditions: i = "false" } = r, { smsoffers: f = "false" } = r, { emailmarketing: S = "false" } = r, { endpoint: y = "" } = r, { captchakey: T = "" } = r, { lang: v = "" } = r, { disabledfields: k = "" } = r, { defaultoptions: w = "" } = r, { mbsource: A } = r, { clientstyling: C = "" } = r, { clientstylingurl: _ = "" } = r, { translationurl:
|
|
1045
|
+
let { userconsentsexist: a = "false" } = r, { termsconditions: i = "false" } = r, { smsoffers: f = "false" } = r, { emailmarketing: S = "false" } = r, { endpoint: y = "" } = r, { captchakey: T = "" } = r, { lang: v = "" } = r, { disabledfields: k = "" } = r, { defaultoptions: w = "" } = r, { mbsource: A } = r, { clientstyling: C = "" } = r, { clientstylingurl: _ = "" } = r, { translationurl: F = "" } = r, E, fe, G, me, ye = !1, Pe = !1, ze = !1, ve = !1, Xe, x, Ye = !1, Oe = "", ge = "", I = "", V = "", Ce = [], ne = "", Se = [], te = "", le = "", H = [], se = "", q = !1, je = !1, N, d = { mobile: {}, userConsents: {} }, b = {
|
|
1046
1046
|
address1: !1,
|
|
1047
1047
|
postalCode: !1,
|
|
1048
1048
|
city: !1,
|
|
@@ -1053,16 +1053,16 @@ function wt(t, r, e) {
|
|
|
1053
1053
|
};
|
|
1054
1054
|
_t({ withLocale: "en", translations: {} });
|
|
1055
1055
|
const $e = () => {
|
|
1056
|
-
fetch(
|
|
1056
|
+
fetch(F).then((g) => g.json()).then((g) => {
|
|
1057
1057
|
Object.keys(g).forEach((U) => {
|
|
1058
|
-
|
|
1058
|
+
zr(U, g[U]);
|
|
1059
1059
|
});
|
|
1060
1060
|
}).catch((g) => {
|
|
1061
1061
|
console.log(g);
|
|
1062
1062
|
});
|
|
1063
1063
|
};
|
|
1064
1064
|
Object.keys(jr).forEach((c) => {
|
|
1065
|
-
|
|
1065
|
+
zr(c, jr[c]);
|
|
1066
1066
|
});
|
|
1067
1067
|
let ar = o("registerTermsConditions");
|
|
1068
1068
|
const Ue = () => {
|
|
@@ -1073,7 +1073,7 @@ function wt(t, r, e) {
|
|
|
1073
1073
|
});
|
|
1074
1074
|
}, lr = () => {
|
|
1075
1075
|
fetch(`${y}/v1/player/phonecodes`).then((c) => c.json()).then((c) => {
|
|
1076
|
-
e(25,
|
|
1076
|
+
e(25, H = c.phoneCodes), se || e(26, se = H[0].Prefix);
|
|
1077
1077
|
});
|
|
1078
1078
|
}, ie = (c, g) => {
|
|
1079
1079
|
if (!(k.indexOf(c) >= 0))
|
|
@@ -1085,7 +1085,7 @@ function wt(t, r, e) {
|
|
|
1085
1085
|
e(18, I = g), ke();
|
|
1086
1086
|
break;
|
|
1087
1087
|
case "city":
|
|
1088
|
-
e(19, V = g),
|
|
1088
|
+
e(19, V = g), He();
|
|
1089
1089
|
break;
|
|
1090
1090
|
case "country":
|
|
1091
1091
|
e(21, ne = g), e(30, b.country = !0, b);
|
|
@@ -1097,7 +1097,7 @@ function wt(t, r, e) {
|
|
|
1097
1097
|
e(26, se = g.prefix), e(24, le = g.number), Te();
|
|
1098
1098
|
break;
|
|
1099
1099
|
case "userConsents":
|
|
1100
|
-
Object.keys(g).length !== 0 && (g.termsandconditions && g.sms && e(27,
|
|
1100
|
+
Object.keys(g).length !== 0 && (g.termsandconditions && g.sms && e(27, q = !0), e(30, b.termsandconditions = g.termsandconditions, b), e(29, d.userConsents.termsandconditions = g.termsandconditions, d), e(29, d.userConsents.sms = g.sms, d), e(29, d.userConsents.emailmarketing = g.emailmarketing, d)), he();
|
|
1101
1101
|
break;
|
|
1102
1102
|
}
|
|
1103
1103
|
}, he = () => {
|
|
@@ -1106,15 +1106,15 @@ function wt(t, r, e) {
|
|
|
1106
1106
|
e(29, d.address1 = ge, d), e(6, E = !Ie()), e(30, b.address1 = !E, b), he();
|
|
1107
1107
|
}, be = () => !!(I && I.length <= 20), ke = () => {
|
|
1108
1108
|
e(29, d.postalCode = I, d), e(7, fe = !be()), e(30, b.postalCode = !fe, b), he();
|
|
1109
|
-
},
|
|
1110
|
-
e(29, d.city = V, d), e(9, me = !
|
|
1109
|
+
}, xe = () => !!(V && V.length <= 50), He = () => {
|
|
1110
|
+
e(29, d.city = V, d), e(9, me = !xe()), e(30, b.city = !me, b), he();
|
|
1111
1111
|
}, cr = () => !!(le && le.length >= 5 && le.length <= 12), Te = () => {
|
|
1112
1112
|
e(29, d.mobile.number = le, d), e(8, G = !cr()), e(30, b.mobile = !G, b), he();
|
|
1113
|
-
},
|
|
1114
|
-
c === "GeneralOffers" ? (e(27,
|
|
1113
|
+
}, Be = (c) => {
|
|
1114
|
+
c === "GeneralOffers" ? (e(27, q = !q), e(29, d.userConsents.sms = q, d), e(29, d.userConsents.emailmarketing = q, d)) : c === "SmsOffers" ? (e(29, d.userConsents.sms = !d.userConsents.sms, d), d.userConsents.sms && e(27, q = !0)) : c === "EmailOffers" && (e(29, d.userConsents.emailmarketing = !d.userConsents.emailmarketing, d), d.userConsents.emailmarketing && e(27, q = !0)), ce();
|
|
1115
1115
|
}, ce = () => {
|
|
1116
|
-
!d.userConsents.sms && !d.userConsents.emailmarketing && e(27,
|
|
1117
|
-
},
|
|
1116
|
+
!d.userConsents.sms && !d.userConsents.emailmarketing && e(27, q = !1);
|
|
1117
|
+
}, Fe = () => {
|
|
1118
1118
|
e(29, d.userConsents.termsandconditions = !d.userConsents.termsandconditions, d), e(30, b.termsandconditions = !b.termsandconditions, b), he();
|
|
1119
1119
|
}, dr = () => new Promise((c, g) => {
|
|
1120
1120
|
grecaptcha.ready(() => {
|
|
@@ -1126,7 +1126,7 @@ function wt(t, r, e) {
|
|
|
1126
1126
|
c.preventDefault(), e(29, d.nationality = te, d), e(29, d.country = ne, d), e(29, d.mobile.prefix = se, d);
|
|
1127
1127
|
let g = {};
|
|
1128
1128
|
dr().then((U) => {
|
|
1129
|
-
g =
|
|
1129
|
+
g = Br(Tr({}, d), { token: U }), window.postMessage(
|
|
1130
1130
|
{
|
|
1131
1131
|
type: "RegisterStepThree",
|
|
1132
1132
|
registerStepThreeData: g
|
|
@@ -1142,7 +1142,7 @@ function wt(t, r, e) {
|
|
|
1142
1142
|
},
|
|
1143
1143
|
window.location.href
|
|
1144
1144
|
);
|
|
1145
|
-
},
|
|
1145
|
+
}, Ne = (c) => {
|
|
1146
1146
|
if (c.data)
|
|
1147
1147
|
switch (c.data.type) {
|
|
1148
1148
|
case "StepThreeDataBackup":
|
|
@@ -1157,61 +1157,61 @@ function wt(t, r, e) {
|
|
|
1157
1157
|
}, rr = () => {
|
|
1158
1158
|
e(14, Xe = k.split(","));
|
|
1159
1159
|
}, ur = () => {
|
|
1160
|
-
|
|
1160
|
+
x = w.split(","), x.indexOf("consentsTerms") >= 0 && e(29, d.userConsents.termsandconditions = !0, d), x.indexOf("consentsOffers") >= 0 && (e(27, q = !0), e(29, d.userConsents.sms = !0, d), e(29, d.userConsents.emailmarketing = !0, d)), x.forEach((c) => {
|
|
1161
1161
|
c.includes("phonePrefix") && (e(26, se = c.split(":")[1].toString()), e(29, d.mobile.prefix = se, d));
|
|
1162
1162
|
});
|
|
1163
|
-
},
|
|
1163
|
+
}, qe = () => {
|
|
1164
1164
|
yt(v);
|
|
1165
1165
|
};
|
|
1166
|
-
mt(() => (window.addEventListener("message",
|
|
1167
|
-
window.removeEventListener("message",
|
|
1166
|
+
mt(() => (window.addEventListener("message", Ne, !1), () => {
|
|
1167
|
+
window.removeEventListener("message", Ne);
|
|
1168
1168
|
}));
|
|
1169
1169
|
function fr() {
|
|
1170
1170
|
ge = this.value, e(17, ge);
|
|
1171
1171
|
}
|
|
1172
|
-
const de = () => e(10, ye = !0),
|
|
1172
|
+
const de = () => e(10, ye = !0), Re = () => e(10, ye = !1);
|
|
1173
1173
|
function mr() {
|
|
1174
1174
|
I = this.value, e(18, I);
|
|
1175
1175
|
}
|
|
1176
1176
|
const ae = () => e(11, Pe = !0), we = () => e(11, Pe = !1);
|
|
1177
|
-
function
|
|
1177
|
+
function Le() {
|
|
1178
1178
|
V = this.value, e(19, V);
|
|
1179
1179
|
}
|
|
1180
1180
|
const tr = () => e(13, ve = !0), gr = () => e(13, ve = !1);
|
|
1181
|
-
function
|
|
1181
|
+
function De() {
|
|
1182
1182
|
ne = Er(this), e(21, ne), e(20, Ce);
|
|
1183
1183
|
}
|
|
1184
1184
|
function pr() {
|
|
1185
1185
|
te = Er(this), e(23, te), e(22, Se);
|
|
1186
1186
|
}
|
|
1187
1187
|
function Me() {
|
|
1188
|
-
se = Er(this), e(26, se), e(25,
|
|
1188
|
+
se = Er(this), e(26, se), e(25, H);
|
|
1189
1189
|
}
|
|
1190
1190
|
function ue() {
|
|
1191
1191
|
le = this.value, e(24, le);
|
|
1192
1192
|
}
|
|
1193
|
-
const Cr = () => e(12,
|
|
1193
|
+
const Cr = () => e(12, ze = !0), R = () => e(12, ze = !1), hr = () => Be("GeneralOffers"), We = () => Be("SmsOffers"), br = () => Be("EmailOffers"), sr = () => Fe(), _e = (c) => pe(c);
|
|
1194
1194
|
function Ge(c) {
|
|
1195
1195
|
gt[c ? "unshift" : "push"](() => {
|
|
1196
|
-
|
|
1196
|
+
N = c, e(5, N);
|
|
1197
1197
|
});
|
|
1198
1198
|
}
|
|
1199
1199
|
return t.$$set = (c) => {
|
|
1200
|
-
"userconsentsexist" in c && e(0, a = c.userconsentsexist), "termsconditions" in c && e(1, i = c.termsconditions), "smsoffers" in c && e(2, f = c.smsoffers), "emailmarketing" in c && e(3, S = c.emailmarketing), "endpoint" in c && e(41, y = c.endpoint), "captchakey" in c && e(4, T = c.captchakey), "lang" in c && e(42, v = c.lang), "disabledfields" in c && e(43, k = c.disabledfields), "defaultoptions" in c && e(44, w = c.defaultoptions), "mbsource" in c && e(45, A = c.mbsource), "clientstyling" in c && e(46, C = c.clientstyling), "clientstylingurl" in c && e(47, _ = c.clientstylingurl), "translationurl" in c && e(48,
|
|
1200
|
+
"userconsentsexist" in c && e(0, a = c.userconsentsexist), "termsconditions" in c && e(1, i = c.termsconditions), "smsoffers" in c && e(2, f = c.smsoffers), "emailmarketing" in c && e(3, S = c.emailmarketing), "endpoint" in c && e(41, y = c.endpoint), "captchakey" in c && e(4, T = c.captchakey), "lang" in c && e(42, v = c.lang), "disabledfields" in c && e(43, k = c.disabledfields), "defaultoptions" in c && e(44, w = c.defaultoptions), "mbsource" in c && e(45, A = c.mbsource), "clientstyling" in c && e(46, C = c.clientstyling), "clientstylingurl" in c && e(47, _ = c.clientstylingurl), "translationurl" in c && e(48, F = c.translationurl);
|
|
1201
1201
|
}, t.$$.update = () => {
|
|
1202
1202
|
t.$$.dirty[1] & /*endpoint*/
|
|
1203
1203
|
1024 && y && Ue(), t.$$.dirty[1] & /*endpoint*/
|
|
1204
1204
|
1024 && y && lr(), t.$$.dirty[1] & /*lang*/
|
|
1205
|
-
2048 && v &&
|
|
1205
|
+
2048 && v && qe(), t.$$.dirty[1] & /*disabledfields*/
|
|
1206
1206
|
4096 && k && rr(), t.$$.dirty[1] & /*defaultoptions*/
|
|
1207
1207
|
8192 && w && ur(), t.$$.dirty[0] & /*customStylingContainer*/
|
|
1208
1208
|
32 | t.$$.dirty[1] & /*clientstyling*/
|
|
1209
|
-
32768 && C &&
|
|
1209
|
+
32768 && C && N && pt(N, C), t.$$.dirty[0] & /*customStylingContainer*/
|
|
1210
1210
|
32 | t.$$.dirty[1] & /*clientstylingurl*/
|
|
1211
|
-
65536 && _ &&
|
|
1211
|
+
65536 && _ && N && Ct(N, _), t.$$.dirty[0] & /*customStylingContainer*/
|
|
1212
1212
|
32 | t.$$.dirty[1] & /*mbsource*/
|
|
1213
|
-
16384 && A &&
|
|
1214
|
-
131072 &&
|
|
1213
|
+
16384 && A && N && ht(N, `${A}.Style`), t.$$.dirty[1] & /*translationurl*/
|
|
1214
|
+
131072 && F && $e(), t.$$.dirty[0] & /*userconsentsexist, termsconditions*/
|
|
1215
1215
|
3 && a && e(30, b.termsandconditions = i === "false", b);
|
|
1216
1216
|
}, [
|
|
1217
1217
|
a,
|
|
@@ -1219,14 +1219,14 @@ function wt(t, r, e) {
|
|
|
1219
1219
|
f,
|
|
1220
1220
|
S,
|
|
1221
1221
|
T,
|
|
1222
|
-
|
|
1222
|
+
N,
|
|
1223
1223
|
E,
|
|
1224
1224
|
fe,
|
|
1225
1225
|
G,
|
|
1226
1226
|
me,
|
|
1227
1227
|
ye,
|
|
1228
1228
|
Pe,
|
|
1229
|
-
|
|
1229
|
+
ze,
|
|
1230
1230
|
ve,
|
|
1231
1231
|
Xe,
|
|
1232
1232
|
Ye,
|
|
@@ -1239,9 +1239,9 @@ function wt(t, r, e) {
|
|
|
1239
1239
|
Se,
|
|
1240
1240
|
te,
|
|
1241
1241
|
le,
|
|
1242
|
-
x,
|
|
1243
|
-
se,
|
|
1244
1242
|
H,
|
|
1243
|
+
se,
|
|
1244
|
+
q,
|
|
1245
1245
|
je,
|
|
1246
1246
|
d,
|
|
1247
1247
|
b,
|
|
@@ -1249,10 +1249,10 @@ function wt(t, r, e) {
|
|
|
1249
1249
|
ar,
|
|
1250
1250
|
er,
|
|
1251
1251
|
ke,
|
|
1252
|
-
|
|
1252
|
+
He,
|
|
1253
1253
|
Te,
|
|
1254
|
+
Be,
|
|
1254
1255
|
Fe,
|
|
1255
|
-
Ne,
|
|
1256
1256
|
pe,
|
|
1257
1257
|
Ee,
|
|
1258
1258
|
y,
|
|
@@ -1262,22 +1262,22 @@ function wt(t, r, e) {
|
|
|
1262
1262
|
A,
|
|
1263
1263
|
C,
|
|
1264
1264
|
_,
|
|
1265
|
-
|
|
1265
|
+
F,
|
|
1266
1266
|
fr,
|
|
1267
1267
|
de,
|
|
1268
|
-
|
|
1268
|
+
Re,
|
|
1269
1269
|
mr,
|
|
1270
1270
|
ae,
|
|
1271
1271
|
we,
|
|
1272
|
-
|
|
1272
|
+
Le,
|
|
1273
1273
|
tr,
|
|
1274
1274
|
gr,
|
|
1275
|
-
|
|
1275
|
+
De,
|
|
1276
1276
|
pr,
|
|
1277
1277
|
Me,
|
|
1278
1278
|
ue,
|
|
1279
1279
|
Cr,
|
|
1280
|
-
|
|
1280
|
+
R,
|
|
1281
1281
|
hr,
|
|
1282
1282
|
We,
|
|
1283
1283
|
br,
|