@everymatrix/player-account-controller-nd 1.86.29 → 1.87.0
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/{PlayerAccountControllerNd-CUdIReJq.js → PlayerAccountControllerNd-B9t5VzSw.js} +1 -1
- package/components/{PlayerAccountControllerNd-aBrI_j9T.cjs → PlayerAccountControllerNd-DVXH82o8.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-DV6ketO_.js → PlayerAccountControllerNd-DjmjitFd.js} +1 -1
- package/components/PlayerAccountTimeout-BFuhuOpT.cjs +1 -0
- package/components/{PlayerAccountTimeout-rTSiHrDL.js → PlayerAccountTimeout-BpAoOcd5.js} +179 -171
- package/components/{PlayerAccountTimeout-Bc3iW2us.js → PlayerAccountTimeout-tX0XkLu3.js} +179 -171
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/lazy/{player-account-timeout-BfxwuJcz.cjs → player-account-timeout-BMr_crpG.cjs} +1 -1
- package/lazy/{player-account-timeout-BEy3myY8.js → player-account-timeout-C47taEVi.js} +1 -1
- package/lazy/{player-account-timeout-DGK3c6Ia.js → player-account-timeout-iFUNdzbl.js} +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountTimeout-BrTN6SIK.cjs +0 -1
|
@@ -1,15 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $ as ee, E as _e, a as Fe, S as Ce, i as ke, s as we, f as H, b as Me, n as oe, d as A, h as q, k as c, p as Oe, q as Se, u as xe, a8 as De, R as ze, x as $, j as a, m as S, g as l, Y as ae, e as p, C as ne, D as je, r as Pe, c as N, U as re, l as Q, t as G, W as Ee, w as K, V as le, y as He, z as Ae, A as qe, B as We } from "./GeneralLogout-BpYAti4c.js";
|
|
2
2
|
import "./PlayerAccountSelfExclusionNd-jzGUcmmG.js";
|
|
3
|
+
import "../lazy/player-account-modal-BqeaiWC2.js";
|
|
3
4
|
import "../lazy/player-account-general-confirmation-modal-DIPQMnVq.js";
|
|
4
5
|
import "../stencil/ui-skeleton--3Oejuq9.js";
|
|
5
|
-
import { d as
|
|
6
|
-
function
|
|
7
|
-
|
|
6
|
+
import { d as se } from "./PlayerAccountProductRestriction-CYwbKK4y.js";
|
|
7
|
+
function Ue({ withLocale: o, translations: e }) {
|
|
8
|
+
ee.subscribe((t) => {
|
|
9
|
+
t == null && (_e.set(e), ee.set(o));
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
function ue(o, e) {
|
|
13
|
+
Fe(o, e);
|
|
8
14
|
}
|
|
9
|
-
function
|
|
10
|
-
|
|
15
|
+
function Be(o) {
|
|
16
|
+
ee.set(o);
|
|
11
17
|
}
|
|
12
|
-
const
|
|
18
|
+
const me = {
|
|
13
19
|
en: {
|
|
14
20
|
titleTimeout: "Timeout",
|
|
15
21
|
timeoutTextFirst: "{operatorname} provides you an easy way to take a break from the games. You can request automatic blocking of your account for 24 hours. During the temporary restraint, you will not be able to access your Account.",
|
|
@@ -220,15 +226,15 @@ const ue = {
|
|
|
220
226
|
confirmationModalTextUntilTimeout: "{date} tarihine kadar kendinizi soğutmak istediğinizden emin misiniz?"
|
|
221
227
|
}
|
|
222
228
|
};
|
|
223
|
-
function
|
|
229
|
+
function Ie(o) {
|
|
224
230
|
Me(o, "svelte-u6jylo", `.TimeoutWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.TimeoutWrapper.TimeoutWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.TimeoutTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.TimeoutTitleMobile{font-size:16px}.TimeoutTitleNone{display:none}.TimeoutDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.TimeoutDescription.TimeoutDescriptionMobile{font-size:12px;line-height:18px}.TimeoutSelectWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;position:relative}.TimeoutSelectWrapper .TimeoutSelect{width:50%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);border-radius:5px;box-sizing:border-box;padding:5px 10px;font-size:16px;line-height:18px;margin-bottom:16px;-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}.TimeoutSelectWrapper .TimeoutSelect:focus,.TimeoutSelectWrapper .TimeoutSelect :focus-within,.TimeoutSelectWrapper .TimeoutSelect :focus-visible,.TimeoutSelectWrapper .TimeoutSelect :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.TimeoutSelectWrapper .TimeoutSelect.TimeoutSelectMobile{width:100%;height:36px;font-size:12px}.TimeoutDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.TimeoutDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.TimeoutDateWrapper .TimeoutDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.TimeoutActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.TimeoutActionButtons .TimeoutSave{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.TimeoutActionButtons.TimeoutActionButtonsMobile{width:100%;grid-template-columns:1fr}.TimeoutActionButtons.TimeoutActionButtonsMobile .TimeoutSave{height:40px;font-size:12px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}`);
|
|
225
231
|
}
|
|
226
|
-
function
|
|
227
|
-
const
|
|
228
|
-
return
|
|
232
|
+
function ce(o, e, t) {
|
|
233
|
+
const n = o.slice();
|
|
234
|
+
return n[43] = e[t].value, n;
|
|
229
235
|
}
|
|
230
|
-
function
|
|
231
|
-
let e, t,
|
|
236
|
+
function Le(o) {
|
|
237
|
+
let e, t, n, s = (
|
|
232
238
|
/*$_*/
|
|
233
239
|
o[18]("titleTimeout") + ""
|
|
234
240
|
), u, m, y, g, k = (
|
|
@@ -267,35 +273,35 @@ function Be(o) {
|
|
|
267
273
|
)
|
|
268
274
|
}
|
|
269
275
|
}) + ""
|
|
270
|
-
), h, d, f, D, I, P,
|
|
276
|
+
), h, d, f, D, I, P, w, x = (
|
|
271
277
|
/*$_*/
|
|
272
278
|
o[18]("save") + ""
|
|
273
|
-
), j, Y, z, F, W, J,
|
|
279
|
+
), j, Y, z, F, W, J, E, V, U = (
|
|
274
280
|
/*isMobile*/
|
|
275
|
-
o[19] &&
|
|
276
|
-
), B =
|
|
281
|
+
o[19] && Ye(o)
|
|
282
|
+
), B = ne(
|
|
277
283
|
/*timeoutOptions*/
|
|
278
284
|
o[10]
|
|
279
|
-
),
|
|
280
|
-
for (let
|
|
281
|
-
|
|
285
|
+
), M = [];
|
|
286
|
+
for (let r = 0; r < B.length; r += 1)
|
|
287
|
+
M[r] = fe(ce(o, B, r));
|
|
282
288
|
let O = (
|
|
283
289
|
/*isUntilDate*/
|
|
284
|
-
o[12] &&
|
|
290
|
+
o[12] && de(o)
|
|
285
291
|
);
|
|
286
292
|
return {
|
|
287
293
|
c() {
|
|
288
|
-
e = c("form"), U && U.c(), t = S(),
|
|
289
|
-
for (let
|
|
290
|
-
|
|
291
|
-
D = S(), O && O.c(), I = S(), P = c("div"),
|
|
294
|
+
e = c("form"), U && U.c(), t = S(), n = c("h2"), u = G(s), m = S(), y = c("div"), g = c("p"), b = S(), _ = c("p"), h = S(), d = c("div"), f = c("select");
|
|
295
|
+
for (let r = 0; r < M.length; r += 1)
|
|
296
|
+
M[r].c();
|
|
297
|
+
D = S(), O && O.c(), I = S(), P = c("div"), w = c("button"), j = G(x), Y = S(), z = c("player-account-modal"), F = c("player-account-general-confirmation-modal"), p(n, "class", "TimeoutTitle " + /*isMobile*/
|
|
292
298
|
(o[19] ? "TimeoutTitleNone" : "")), p(y, "class", "TimeoutDescription " + /*isMobile*/
|
|
293
299
|
(o[19] ? "TimeoutDescriptionMobile" : "")), p(f, "class", "TimeoutSelect " + /*isMobile*/
|
|
294
300
|
(o[19] ? "TimeoutSelectMobile" : "")), /*timeoutSelected*/
|
|
295
|
-
o[11] === void 0 &&
|
|
301
|
+
o[11] === void 0 && Ee(() => (
|
|
296
302
|
/*select_change_handler*/
|
|
297
303
|
o[27].call(f)
|
|
298
|
-
)), p(d, "class", "TimeoutSelectWrapper"), p(
|
|
304
|
+
)), p(d, "class", "TimeoutSelectWrapper"), p(w, "class", "TimeoutSave"), p(P, "class", "TimeoutActionButtons " + /*isMobile*/
|
|
299
305
|
(o[19] ? "TimeoutActionButtonsMobile" : "")), p(e, "class", "TimeoutWrapper " + /*isMobile*/
|
|
300
306
|
(o[19] ? "TimeoutWrapperMobile" : "")), l(F, "modalTitle", W = /*$_*/
|
|
301
307
|
o[18]("confirmationModalTitle")), l(
|
|
@@ -339,16 +345,16 @@ function Be(o) {
|
|
|
339
345
|
o[4]
|
|
340
346
|
), l(z, "showmodaleventname", "ShowTimeoutConfirmationModal");
|
|
341
347
|
},
|
|
342
|
-
m(
|
|
343
|
-
q(
|
|
344
|
-
for (let C = 0; C <
|
|
345
|
-
|
|
348
|
+
m(r, v) {
|
|
349
|
+
q(r, e, v), U && U.m(e, null), a(e, t), a(e, n), a(n, u), a(e, m), a(e, y), a(y, g), g.innerHTML = k, a(y, b), a(y, _), _.innerHTML = T, a(e, h), a(e, d), a(d, f);
|
|
350
|
+
for (let C = 0; C < M.length; C += 1)
|
|
351
|
+
M[C] && M[C].m(f, null);
|
|
346
352
|
re(
|
|
347
353
|
f,
|
|
348
354
|
/*timeoutSelected*/
|
|
349
355
|
o[11],
|
|
350
356
|
!0
|
|
351
|
-
), a(e, D), O && O.m(e, null), a(e, I), a(e, P), a(P,
|
|
357
|
+
), a(e, D), O && O.m(e, null), a(e, I), a(e, P), a(P, w), a(w, j), q(r, Y, v), q(r, z, v), a(z, F), o[30](F), E || (V = [
|
|
352
358
|
Q(
|
|
353
359
|
f,
|
|
354
360
|
"change",
|
|
@@ -362,148 +368,148 @@ function Be(o) {
|
|
|
362
368
|
o[22]
|
|
363
369
|
),
|
|
364
370
|
Q(
|
|
365
|
-
|
|
371
|
+
w,
|
|
366
372
|
"click",
|
|
367
373
|
/*click_handler_1*/
|
|
368
374
|
o[29]
|
|
369
375
|
)
|
|
370
|
-
],
|
|
376
|
+
], E = !0);
|
|
371
377
|
},
|
|
372
|
-
p(
|
|
378
|
+
p(r, v) {
|
|
373
379
|
if (
|
|
374
380
|
/*isMobile*/
|
|
375
|
-
|
|
381
|
+
r[19] && U.p(r, v), v[0] & /*$_*/
|
|
376
382
|
262144 && s !== (s = /*$_*/
|
|
377
|
-
|
|
383
|
+
r[18]("titleTimeout") + "") && N(u, s), v[0] & /*$_, operator, baseurl, lang*/
|
|
378
384
|
262211 && k !== (k = /*$_*/
|
|
379
|
-
|
|
385
|
+
r[18]("timeoutTextFirst", {
|
|
380
386
|
values: {
|
|
381
387
|
operatorname: (
|
|
382
388
|
/*operator*/
|
|
383
|
-
|
|
389
|
+
r[0]
|
|
384
390
|
),
|
|
385
391
|
baseurl: (
|
|
386
392
|
/*baseurl*/
|
|
387
|
-
|
|
393
|
+
r[6]
|
|
388
394
|
),
|
|
389
395
|
lang: (
|
|
390
396
|
/*lang*/
|
|
391
|
-
|
|
397
|
+
r[1]
|
|
392
398
|
)
|
|
393
399
|
}
|
|
394
400
|
}) + "") && (g.innerHTML = k), v[0] & /*$_, supportemail, baseurl, lang*/
|
|
395
401
|
262242 && T !== (T = /*$_*/
|
|
396
|
-
|
|
402
|
+
r[18]("timeoutTextSecondary", {
|
|
397
403
|
values: {
|
|
398
404
|
supportemail: (
|
|
399
405
|
/*supportemail*/
|
|
400
|
-
|
|
406
|
+
r[5]
|
|
401
407
|
),
|
|
402
408
|
baseurl: (
|
|
403
409
|
/*baseurl*/
|
|
404
|
-
|
|
410
|
+
r[6]
|
|
405
411
|
),
|
|
406
412
|
lang: (
|
|
407
413
|
/*lang*/
|
|
408
|
-
|
|
414
|
+
r[1]
|
|
409
415
|
)
|
|
410
416
|
}
|
|
411
417
|
}) + "") && (_.innerHTML = T), v[0] & /*timeoutOptions, $_*/
|
|
412
418
|
263168
|
|
413
419
|
) {
|
|
414
|
-
B =
|
|
420
|
+
B = ne(
|
|
415
421
|
/*timeoutOptions*/
|
|
416
|
-
|
|
422
|
+
r[10]
|
|
417
423
|
);
|
|
418
424
|
let C;
|
|
419
425
|
for (C = 0; C < B.length; C += 1) {
|
|
420
|
-
const Z =
|
|
421
|
-
|
|
426
|
+
const Z = ce(r, B, C);
|
|
427
|
+
M[C] ? M[C].p(Z, v) : (M[C] = fe(Z), M[C].c(), M[C].m(f, null));
|
|
422
428
|
}
|
|
423
|
-
for (; C <
|
|
424
|
-
|
|
425
|
-
|
|
429
|
+
for (; C < M.length; C += 1)
|
|
430
|
+
M[C].d(1);
|
|
431
|
+
M.length = B.length;
|
|
426
432
|
}
|
|
427
433
|
v[0] & /*timeoutSelected, timeoutOptions*/
|
|
428
434
|
3072 && re(
|
|
429
435
|
f,
|
|
430
436
|
/*timeoutSelected*/
|
|
431
|
-
|
|
437
|
+
r[11]
|
|
432
438
|
), /*isUntilDate*/
|
|
433
|
-
|
|
439
|
+
r[12] ? O ? O.p(r, v) : (O = de(r), O.c(), O.m(e, I)) : O && (O.d(1), O = null), v[0] & /*$_*/
|
|
434
440
|
262144 && x !== (x = /*$_*/
|
|
435
|
-
|
|
441
|
+
r[18]("save") + "") && N(j, x), v[0] & /*$_*/
|
|
436
442
|
262144 && W !== (W = /*$_*/
|
|
437
|
-
|
|
443
|
+
r[18]("confirmationModalTitle")) && l(F, "modalTitle", W), v[0] & /*confirmationModalText*/
|
|
438
444
|
65536 && l(
|
|
439
445
|
F,
|
|
440
446
|
"modalText",
|
|
441
447
|
/*confirmationModalText*/
|
|
442
|
-
|
|
448
|
+
r[16]
|
|
443
449
|
), v[0] & /*timeoutSelected, timeoutExpiryDate, timeoutOptions*/
|
|
444
450
|
11264 && J !== (J = {
|
|
445
451
|
timeoutSelected: (
|
|
446
452
|
/*timeoutSelected*/
|
|
447
|
-
|
|
453
|
+
r[11]
|
|
448
454
|
),
|
|
449
455
|
timeoutExpiryDate: (
|
|
450
456
|
/*timeoutExpiryDate*/
|
|
451
|
-
|
|
457
|
+
r[13]
|
|
452
458
|
)
|
|
453
459
|
}) && l(F, "modalconfirmdata", J), v[0] & /*mbsource*/
|
|
454
460
|
16 && l(
|
|
455
461
|
F,
|
|
456
462
|
"mbsource",
|
|
457
463
|
/*mbsource*/
|
|
458
|
-
|
|
464
|
+
r[4]
|
|
459
465
|
), v[0] & /*lang*/
|
|
460
466
|
2 && l(
|
|
461
467
|
F,
|
|
462
468
|
"lang",
|
|
463
469
|
/*lang*/
|
|
464
|
-
|
|
470
|
+
r[1]
|
|
465
471
|
), v[0] & /*clientstyling*/
|
|
466
472
|
4 && l(
|
|
467
473
|
z,
|
|
468
474
|
"clientstyling",
|
|
469
475
|
/*clientstyling*/
|
|
470
|
-
|
|
476
|
+
r[2]
|
|
471
477
|
), v[0] & /*clientstylingurl*/
|
|
472
478
|
8 && l(
|
|
473
479
|
z,
|
|
474
480
|
"clientstylingurl",
|
|
475
481
|
/*clientstylingurl*/
|
|
476
|
-
|
|
482
|
+
r[3]
|
|
477
483
|
), v[0] & /*mbsource*/
|
|
478
484
|
16 && l(
|
|
479
485
|
z,
|
|
480
486
|
"mbsource",
|
|
481
487
|
/*mbsource*/
|
|
482
|
-
|
|
488
|
+
r[4]
|
|
483
489
|
);
|
|
484
490
|
},
|
|
485
|
-
d(
|
|
486
|
-
|
|
491
|
+
d(r) {
|
|
492
|
+
r && (A(e), A(Y), A(z)), U && U.d(), je(M, r), O && O.d(), o[30](null), E = !1, Pe(V);
|
|
487
493
|
}
|
|
488
494
|
};
|
|
489
495
|
}
|
|
490
|
-
function
|
|
491
|
-
let e, t,
|
|
496
|
+
function Re(o) {
|
|
497
|
+
let e, t, n, s, u, m, y, g, k, b, _, T, h, d, f, D;
|
|
492
498
|
function I(x, j) {
|
|
493
499
|
return (
|
|
494
500
|
/*isMobile*/
|
|
495
|
-
x[19] ?
|
|
501
|
+
x[19] ? Ge : Je
|
|
496
502
|
);
|
|
497
503
|
}
|
|
498
|
-
let
|
|
504
|
+
let w = I(o)(o);
|
|
499
505
|
return {
|
|
500
506
|
c() {
|
|
501
|
-
e = c("div"),
|
|
507
|
+
e = c("div"), w.c(), t = S(), n = c("div"), s = c("ui-skeleton"), u = S(), m = c("div"), y = S(), g = c("ui-skeleton"), k = S(), b = c("div"), _ = S(), T = c("div"), h = c("ui-skeleton"), d = S(), f = c("div"), D = c("ui-skeleton"), l(s, "structure", "text"), l(
|
|
502
508
|
s,
|
|
503
509
|
"height",
|
|
504
510
|
/*isMobile*/
|
|
505
511
|
o[19] ? "15px" : "20px"
|
|
506
|
-
), l(s, "rows", "3"), l(s, "width", "100%"),
|
|
512
|
+
), l(s, "rows", "3"), l(s, "width", "100%"), ae(
|
|
507
513
|
m,
|
|
508
514
|
"height",
|
|
509
515
|
/*isMobile*/
|
|
@@ -513,12 +519,12 @@ function Ie(o) {
|
|
|
513
519
|
"height",
|
|
514
520
|
/*isMobile*/
|
|
515
521
|
o[19] ? "15px" : "20px"
|
|
516
|
-
), l(g, "rows", "3"), l(g, "width", "100%"),
|
|
522
|
+
), l(g, "rows", "3"), l(g, "width", "100%"), ae(
|
|
517
523
|
b,
|
|
518
524
|
"height",
|
|
519
525
|
/*isMobile*/
|
|
520
526
|
o[19] ? "10px" : "30px"
|
|
521
|
-
), p(
|
|
527
|
+
), p(n, "class", "TimeoutDescription"), l(h, "structure", "rectangle"), l(
|
|
522
528
|
h,
|
|
523
529
|
"width",
|
|
524
530
|
/*isMobile*/
|
|
@@ -538,25 +544,25 @@ function Ie(o) {
|
|
|
538
544
|
(o[19] ? "TimeoutWrapperMobile" : ""));
|
|
539
545
|
},
|
|
540
546
|
m(x, j) {
|
|
541
|
-
q(x, e, j),
|
|
547
|
+
q(x, e, j), w.m(e, null), a(e, t), a(e, n), a(n, s), a(n, u), a(n, m), a(n, y), a(n, g), a(n, k), a(n, b), a(e, _), a(e, T), a(T, h), a(e, d), a(e, f), a(f, D);
|
|
542
548
|
},
|
|
543
|
-
p:
|
|
549
|
+
p: oe,
|
|
544
550
|
d(x) {
|
|
545
|
-
x &&
|
|
551
|
+
x && A(e), w.d();
|
|
546
552
|
}
|
|
547
553
|
};
|
|
548
554
|
}
|
|
549
|
-
function
|
|
550
|
-
let e, t,
|
|
555
|
+
function Ye(o) {
|
|
556
|
+
let e, t, n, s, u, m, y, g, k, b, _ = (
|
|
551
557
|
/*$_*/
|
|
552
558
|
o[18]("titleTimeout") + ""
|
|
553
559
|
), T, h, d;
|
|
554
560
|
return {
|
|
555
561
|
c() {
|
|
556
|
-
e = c("div"), t = K("svg"),
|
|
562
|
+
e = c("div"), t = K("svg"), n = K("defs"), s = K("style"), u = G(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), m = K("g"), y = K("g"), g = K("path"), k = S(), b = c("h2"), T = G(_), p(g, "class", "aaa"), p(g, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), p(g, "transform", "translate(15 15) rotate(180)"), p(y, "transform", "translate(20 158)"), p(m, "transform", "translate(-20 -158)"), p(t, "xmlns", "http://www.w3.org/2000/svg"), p(t, "width", "15"), p(t, "height", "15"), p(t, "viewBox", "0 0 15 15"), p(b, "class", "TimeoutTitleMobile"), p(b, "part", "TimeoutTitleMobile"), p(e, "class", "MenuReturnButton"), p(e, "part", "MenuReturnButton");
|
|
557
563
|
},
|
|
558
564
|
m(f, D) {
|
|
559
|
-
q(f, e, D), a(e, t), a(t,
|
|
565
|
+
q(f, e, D), a(e, t), a(t, n), a(n, s), a(s, u), a(t, m), a(m, y), a(y, g), a(e, k), a(e, b), a(b, T), h || (d = Q(
|
|
560
566
|
e,
|
|
561
567
|
"click",
|
|
562
568
|
/*click_handler*/
|
|
@@ -569,25 +575,25 @@ function Le(o) {
|
|
|
569
575
|
f[18]("titleTimeout") + "") && N(T, _);
|
|
570
576
|
},
|
|
571
577
|
d(f) {
|
|
572
|
-
f &&
|
|
578
|
+
f && A(e), h = !1, d();
|
|
573
579
|
}
|
|
574
580
|
};
|
|
575
581
|
}
|
|
576
|
-
function
|
|
582
|
+
function fe(o) {
|
|
577
583
|
let e, t = (
|
|
578
584
|
/*$_*/
|
|
579
585
|
o[18](
|
|
580
586
|
/*value*/
|
|
581
587
|
o[43]
|
|
582
588
|
) + ""
|
|
583
|
-
),
|
|
589
|
+
), n, s;
|
|
584
590
|
return {
|
|
585
591
|
c() {
|
|
586
|
-
e = c("option"),
|
|
587
|
-
o[43],
|
|
592
|
+
e = c("option"), n = G(t), e.__value = s = /*value*/
|
|
593
|
+
o[43], le(e, e.__value);
|
|
588
594
|
},
|
|
589
595
|
m(u, m) {
|
|
590
|
-
q(u, e, m), a(e,
|
|
596
|
+
q(u, e, m), a(e, n);
|
|
591
597
|
},
|
|
592
598
|
p(u, m) {
|
|
593
599
|
m[0] & /*$_, timeoutOptions*/
|
|
@@ -595,17 +601,17 @@ function ce(o) {
|
|
|
595
601
|
u[18](
|
|
596
602
|
/*value*/
|
|
597
603
|
u[43]
|
|
598
|
-
) + "") && N(
|
|
604
|
+
) + "") && N(n, t), m[0] & /*timeoutOptions*/
|
|
599
605
|
1024 && s !== (s = /*value*/
|
|
600
|
-
u[43]) && (e.__value = s,
|
|
606
|
+
u[43]) && (e.__value = s, le(e, e.__value));
|
|
601
607
|
},
|
|
602
608
|
d(u) {
|
|
603
|
-
u &&
|
|
609
|
+
u && A(e);
|
|
604
610
|
}
|
|
605
611
|
};
|
|
606
612
|
}
|
|
607
|
-
function
|
|
608
|
-
let e, t,
|
|
613
|
+
function de(o) {
|
|
614
|
+
let e, t, n = (
|
|
609
615
|
/*$_*/
|
|
610
616
|
o[18]("duration") + ""
|
|
611
617
|
), s, u, m, y = (
|
|
@@ -614,7 +620,7 @@ function fe(o) {
|
|
|
614
620
|
), g, k, b, _, T;
|
|
615
621
|
return {
|
|
616
622
|
c() {
|
|
617
|
-
e = c("div"), t = c("label"), s = G(
|
|
623
|
+
e = c("div"), t = c("label"), s = G(n), u = S(), m = c("span"), g = G(y), k = S(), b = c("strong"), b.innerHTML = "MM/DD/YYYY<strong></strong>", _ = S(), T = c("vaadin-date-picker"), p(t, "for", "TimeoutDate"), p(m, "class", "TimeoutDateInstructions"), l(
|
|
618
624
|
T,
|
|
619
625
|
"min",
|
|
620
626
|
/*minDate*/
|
|
@@ -637,8 +643,8 @@ function fe(o) {
|
|
|
637
643
|
},
|
|
638
644
|
p(h, d) {
|
|
639
645
|
d[0] & /*$_*/
|
|
640
|
-
262144 &&
|
|
641
|
-
h[18]("duration") + "") && N(s,
|
|
646
|
+
262144 && n !== (n = /*$_*/
|
|
647
|
+
h[18]("duration") + "") && N(s, n), d[0] & /*$_*/
|
|
642
648
|
262144 && y !== (y = /*$_*/
|
|
643
649
|
h[18]("dateInstructions") + "") && N(g, y), d[0] & /*minDate*/
|
|
644
650
|
16384 && l(
|
|
@@ -661,47 +667,47 @@ function fe(o) {
|
|
|
661
667
|
);
|
|
662
668
|
},
|
|
663
669
|
d(h) {
|
|
664
|
-
h &&
|
|
670
|
+
h && A(e), o[28](null);
|
|
665
671
|
}
|
|
666
672
|
};
|
|
667
673
|
}
|
|
668
|
-
function
|
|
674
|
+
function Je(o) {
|
|
669
675
|
let e;
|
|
670
676
|
return {
|
|
671
677
|
c() {
|
|
672
678
|
e = c("ui-skeleton"), l(e, "structure", "title"), l(e, "width", "100px"), l(e, "margin-top", "20px"), l(e, "margin-bottom", "20px");
|
|
673
679
|
},
|
|
674
|
-
m(t,
|
|
675
|
-
q(t, e,
|
|
680
|
+
m(t, n) {
|
|
681
|
+
q(t, e, n);
|
|
676
682
|
},
|
|
677
683
|
d(t) {
|
|
678
|
-
t &&
|
|
684
|
+
t && A(e);
|
|
679
685
|
}
|
|
680
686
|
};
|
|
681
687
|
}
|
|
682
|
-
function
|
|
688
|
+
function Ge(o) {
|
|
683
689
|
let e;
|
|
684
690
|
return {
|
|
685
691
|
c() {
|
|
686
692
|
e = c("div"), e.innerHTML = '<ui-skeleton structure="title" width="20px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton>', p(e, "class", "MenuReturnButton");
|
|
687
693
|
},
|
|
688
|
-
m(t,
|
|
689
|
-
q(t, e,
|
|
694
|
+
m(t, n) {
|
|
695
|
+
q(t, e, n);
|
|
690
696
|
},
|
|
691
697
|
d(t) {
|
|
692
|
-
t &&
|
|
698
|
+
t && A(e);
|
|
693
699
|
}
|
|
694
700
|
};
|
|
695
701
|
}
|
|
696
|
-
function
|
|
702
|
+
function Ke(o) {
|
|
697
703
|
let e;
|
|
698
704
|
function t(u, m) {
|
|
699
705
|
return (
|
|
700
706
|
/*skeletonLoading*/
|
|
701
|
-
u[17] ?
|
|
707
|
+
u[17] ? Re : Le
|
|
702
708
|
);
|
|
703
709
|
}
|
|
704
|
-
let
|
|
710
|
+
let n = t(o), s = n(o);
|
|
705
711
|
return {
|
|
706
712
|
c() {
|
|
707
713
|
e = c("div"), s.c();
|
|
@@ -710,19 +716,21 @@ function Je(o) {
|
|
|
710
716
|
q(u, e, m), s.m(e, null), o[31](e);
|
|
711
717
|
},
|
|
712
718
|
p(u, m) {
|
|
713
|
-
|
|
719
|
+
n === (n = t(u)) && s ? s.p(u, m) : (s.d(1), s = n(u), s && (s.c(), s.m(e, null)));
|
|
714
720
|
},
|
|
715
|
-
i:
|
|
716
|
-
o:
|
|
721
|
+
i: oe,
|
|
722
|
+
o: oe,
|
|
717
723
|
d(u) {
|
|
718
|
-
u &&
|
|
724
|
+
u && A(e), s.d(), o[31](null);
|
|
719
725
|
}
|
|
720
726
|
};
|
|
721
727
|
}
|
|
722
|
-
function
|
|
723
|
-
let
|
|
724
|
-
|
|
725
|
-
let { operator: s = "Everymatrix" } = e, { lang: u = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: y = "" } = e, { mbsource: g } = e, { translationurl: k = "" } = e, { supportemail: b = "" } = e, { endpoint: _ = "" } = e, { baseurl: T = "" } = e, { hasconfirmationmodal: h = "false" } = e
|
|
728
|
+
function Ne(o, e, t) {
|
|
729
|
+
let n;
|
|
730
|
+
Oe(o, Se, (i) => t(18, n = i));
|
|
731
|
+
let { operator: s = "Everymatrix" } = e, { lang: u = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: y = "" } = e, { mbsource: g } = e, { translationurl: k = "" } = e, { supportemail: b = "" } = e, { endpoint: _ = "" } = e, { baseurl: T = "" } = e, { hasconfirmationmodal: h = "false" } = e;
|
|
732
|
+
Ue({ withLocale: "en", translations: {} });
|
|
733
|
+
let d, f, D = window.navigator.userAgent, I = xe(D) !== "PC", P = [
|
|
726
734
|
{
|
|
727
735
|
value: "CoolOffFor24Hours",
|
|
728
736
|
dateSelector: !1
|
|
@@ -739,18 +747,18 @@ function Ge(o, e, t) {
|
|
|
739
747
|
value: "CoolOffFor3Months",
|
|
740
748
|
dateSelector: !1
|
|
741
749
|
}
|
|
742
|
-
],
|
|
750
|
+
], w = P[0].value, x = !1, j = "", Y, z, F = "", W = h === "true", J = !0, E;
|
|
743
751
|
const V = () => {
|
|
744
752
|
fetch(k).then((i) => i.json()).then((i) => {
|
|
745
753
|
Object.keys(i).forEach((L) => {
|
|
746
|
-
|
|
754
|
+
ue(L, i[L]);
|
|
747
755
|
});
|
|
748
756
|
}).catch((i) => {
|
|
749
757
|
console.log(i);
|
|
750
758
|
});
|
|
751
759
|
};
|
|
752
|
-
Object.keys(
|
|
753
|
-
|
|
760
|
+
Object.keys(me).forEach((i) => {
|
|
761
|
+
ue(i, me[i]);
|
|
754
762
|
});
|
|
755
763
|
const U = () => {
|
|
756
764
|
const i = new URL("/v1/player/coolOffSettings", _), L = { method: "GET" };
|
|
@@ -759,8 +767,8 @@ function Ge(o, e, t) {
|
|
|
759
767
|
throw new Error("There was an error while fetching the configuration");
|
|
760
768
|
return R.json();
|
|
761
769
|
}).then((R) => {
|
|
762
|
-
const { periods:
|
|
763
|
-
|
|
770
|
+
const { periods: ie } = R;
|
|
771
|
+
ie && t(10, P = ie.map((X) => ({
|
|
764
772
|
value: X.key,
|
|
765
773
|
text: X.text,
|
|
766
774
|
dateSelector: X.dateSelector
|
|
@@ -768,24 +776,24 @@ function Ge(o, e, t) {
|
|
|
768
776
|
}).catch((R) => {
|
|
769
777
|
console.log(R);
|
|
770
778
|
}).finally(() => {
|
|
771
|
-
t(17, J = !1), t(11,
|
|
779
|
+
t(17, J = !1), t(11, w = P[0].value);
|
|
772
780
|
});
|
|
773
781
|
}, B = () => {
|
|
774
782
|
if (!W) {
|
|
775
783
|
t(16, F = "");
|
|
776
784
|
return;
|
|
777
785
|
}
|
|
778
|
-
t(16, F = x ?
|
|
779
|
-
},
|
|
780
|
-
i.preventDefault(), W ? window.postMessage({ type: "ShowTimeoutConfirmationModal" }, window.location.href) :
|
|
786
|
+
t(16, F = x ? n("confirmationModalTextUntilTimeout", { values: { date: j } }) : n("confirmationModalTextPeriodTimeout", { values: { period: n(w) } }));
|
|
787
|
+
}, M = (i) => {
|
|
788
|
+
i.preventDefault(), W ? window.postMessage({ type: "ShowTimeoutConfirmationModal" }, window.location.href) : r();
|
|
781
789
|
}, O = (i) => {
|
|
782
790
|
const { timeoutSelected: L, timeoutExpiryDate: R } = i.detail;
|
|
783
|
-
t(11,
|
|
784
|
-
},
|
|
791
|
+
t(11, w = L), t(13, j = R), r();
|
|
792
|
+
}, r = () => {
|
|
785
793
|
window.postMessage(
|
|
786
794
|
{
|
|
787
795
|
type: "SetPlayerAccountTimeout",
|
|
788
|
-
timeoutSelected:
|
|
796
|
+
timeoutSelected: w,
|
|
789
797
|
timeoutExpiryDate: j
|
|
790
798
|
},
|
|
791
799
|
window.location.href
|
|
@@ -799,34 +807,34 @@ function Ge(o, e, t) {
|
|
|
799
807
|
window.location.href
|
|
800
808
|
);
|
|
801
809
|
}, C = () => {
|
|
802
|
-
|
|
810
|
+
Be(u), U();
|
|
803
811
|
}, Z = () => {
|
|
804
|
-
const i = P.find((L) => L.value ===
|
|
805
|
-
t(12, x = !1), i.dateSelector && (t(12, x = !0), t(14, Y =
|
|
806
|
-
},
|
|
812
|
+
const i = P.find((L) => L.value === w);
|
|
813
|
+
t(12, x = !1), i.dateSelector && (t(12, x = !0), t(14, Y = se().format("YYYY-MM-DD")), t(15, z = se().add(6, "months").format("YYYY-MM-DD")), t(13, j = Y)), W && B();
|
|
814
|
+
}, te = (i) => {
|
|
807
815
|
t(13, j = i.target.value);
|
|
808
|
-
},
|
|
809
|
-
f.addEventListener("change",
|
|
816
|
+
}, pe = () => {
|
|
817
|
+
f.addEventListener("change", te, !1);
|
|
810
818
|
};
|
|
811
|
-
|
|
812
|
-
|
|
819
|
+
De(() => {
|
|
820
|
+
E && E.removeEventListener("SetPlayerAccountTimeout", O), f && f.removeEventListener("change", te);
|
|
813
821
|
});
|
|
814
|
-
const
|
|
815
|
-
function
|
|
816
|
-
|
|
822
|
+
const he = () => v();
|
|
823
|
+
function ge() {
|
|
824
|
+
w = ze(this), t(11, w), t(10, P);
|
|
817
825
|
}
|
|
818
|
-
function
|
|
826
|
+
function Te(i) {
|
|
819
827
|
$[i ? "unshift" : "push"](() => {
|
|
820
828
|
f = i, t(8, f);
|
|
821
829
|
});
|
|
822
830
|
}
|
|
823
|
-
const
|
|
824
|
-
function
|
|
831
|
+
const ye = (i) => M(i);
|
|
832
|
+
function ve(i) {
|
|
825
833
|
$[i ? "unshift" : "push"](() => {
|
|
826
|
-
|
|
834
|
+
E = i, t(9, E);
|
|
827
835
|
});
|
|
828
836
|
}
|
|
829
|
-
function
|
|
837
|
+
function be(i) {
|
|
830
838
|
$[i ? "unshift" : "push"](() => {
|
|
831
839
|
d = i, t(7, d);
|
|
832
840
|
});
|
|
@@ -835,13 +843,13 @@ function Ge(o, e, t) {
|
|
|
835
843
|
"operator" in i && t(0, s = i.operator), "lang" in i && t(1, u = i.lang), "clientstyling" in i && t(2, m = i.clientstyling), "clientstylingurl" in i && t(3, y = i.clientstylingurl), "mbsource" in i && t(4, g = i.mbsource), "translationurl" in i && t(23, k = i.translationurl), "supportemail" in i && t(5, b = i.supportemail), "endpoint" in i && t(24, _ = i.endpoint), "baseurl" in i && t(6, T = i.baseurl), "hasconfirmationmodal" in i && t(25, h = i.hasconfirmationmodal);
|
|
836
844
|
}, o.$$.update = () => {
|
|
837
845
|
o.$$.dirty[0] & /*calendar*/
|
|
838
|
-
256 && f &&
|
|
846
|
+
256 && f && pe(), o.$$.dirty[0] & /*lang*/
|
|
839
847
|
2 && u && C(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
840
848
|
132 && m && d && He(d, m), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
841
849
|
136 && y && d && Ae(d, y), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
842
|
-
144 && g && d &&
|
|
850
|
+
144 && g && d && qe(d, `${g}.Style`), o.$$.dirty[0] & /*translationurl*/
|
|
843
851
|
8388608 && k && V(), o.$$.dirty[0] & /*modalEl*/
|
|
844
|
-
512 &&
|
|
852
|
+
512 && E && E.addEventListener("SetPlayerAccountTimeout", O);
|
|
845
853
|
}, W && B(), [
|
|
846
854
|
s,
|
|
847
855
|
u,
|
|
@@ -852,39 +860,39 @@ function Ge(o, e, t) {
|
|
|
852
860
|
T,
|
|
853
861
|
d,
|
|
854
862
|
f,
|
|
855
|
-
|
|
863
|
+
E,
|
|
856
864
|
P,
|
|
857
|
-
|
|
865
|
+
w,
|
|
858
866
|
x,
|
|
859
867
|
j,
|
|
860
868
|
Y,
|
|
861
869
|
z,
|
|
862
870
|
F,
|
|
863
871
|
J,
|
|
864
|
-
|
|
872
|
+
n,
|
|
865
873
|
I,
|
|
866
|
-
|
|
874
|
+
M,
|
|
867
875
|
v,
|
|
868
876
|
Z,
|
|
869
877
|
k,
|
|
870
878
|
_,
|
|
871
879
|
h,
|
|
872
|
-
pe,
|
|
873
880
|
he,
|
|
874
881
|
ge,
|
|
875
882
|
Te,
|
|
876
883
|
ye,
|
|
877
|
-
ve
|
|
884
|
+
ve,
|
|
885
|
+
be
|
|
878
886
|
];
|
|
879
887
|
}
|
|
880
|
-
class
|
|
888
|
+
class Ve extends Ce {
|
|
881
889
|
constructor(e) {
|
|
882
|
-
super(),
|
|
890
|
+
super(), ke(
|
|
883
891
|
this,
|
|
884
892
|
e,
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
893
|
+
Ne,
|
|
894
|
+
Ke,
|
|
895
|
+
we,
|
|
888
896
|
{
|
|
889
897
|
operator: 0,
|
|
890
898
|
lang: 1,
|
|
@@ -897,7 +905,7 @@ class Ke extends Fe {
|
|
|
897
905
|
baseurl: 6,
|
|
898
906
|
hasconfirmationmodal: 25
|
|
899
907
|
},
|
|
900
|
-
|
|
908
|
+
Ie,
|
|
901
909
|
[-1, -1]
|
|
902
910
|
);
|
|
903
911
|
}
|
|
@@ -905,64 +913,64 @@ class Ke extends Fe {
|
|
|
905
913
|
return this.$$.ctx[0];
|
|
906
914
|
}
|
|
907
915
|
set operator(e) {
|
|
908
|
-
this.$$set({ operator: e }),
|
|
916
|
+
this.$$set({ operator: e }), H();
|
|
909
917
|
}
|
|
910
918
|
get lang() {
|
|
911
919
|
return this.$$.ctx[1];
|
|
912
920
|
}
|
|
913
921
|
set lang(e) {
|
|
914
|
-
this.$$set({ lang: e }),
|
|
922
|
+
this.$$set({ lang: e }), H();
|
|
915
923
|
}
|
|
916
924
|
get clientstyling() {
|
|
917
925
|
return this.$$.ctx[2];
|
|
918
926
|
}
|
|
919
927
|
set clientstyling(e) {
|
|
920
|
-
this.$$set({ clientstyling: e }),
|
|
928
|
+
this.$$set({ clientstyling: e }), H();
|
|
921
929
|
}
|
|
922
930
|
get clientstylingurl() {
|
|
923
931
|
return this.$$.ctx[3];
|
|
924
932
|
}
|
|
925
933
|
set clientstylingurl(e) {
|
|
926
|
-
this.$$set({ clientstylingurl: e }),
|
|
934
|
+
this.$$set({ clientstylingurl: e }), H();
|
|
927
935
|
}
|
|
928
936
|
get mbsource() {
|
|
929
937
|
return this.$$.ctx[4];
|
|
930
938
|
}
|
|
931
939
|
set mbsource(e) {
|
|
932
|
-
this.$$set({ mbsource: e }),
|
|
940
|
+
this.$$set({ mbsource: e }), H();
|
|
933
941
|
}
|
|
934
942
|
get translationurl() {
|
|
935
943
|
return this.$$.ctx[23];
|
|
936
944
|
}
|
|
937
945
|
set translationurl(e) {
|
|
938
|
-
this.$$set({ translationurl: e }),
|
|
946
|
+
this.$$set({ translationurl: e }), H();
|
|
939
947
|
}
|
|
940
948
|
get supportemail() {
|
|
941
949
|
return this.$$.ctx[5];
|
|
942
950
|
}
|
|
943
951
|
set supportemail(e) {
|
|
944
|
-
this.$$set({ supportemail: e }),
|
|
952
|
+
this.$$set({ supportemail: e }), H();
|
|
945
953
|
}
|
|
946
954
|
get endpoint() {
|
|
947
955
|
return this.$$.ctx[24];
|
|
948
956
|
}
|
|
949
957
|
set endpoint(e) {
|
|
950
|
-
this.$$set({ endpoint: e }),
|
|
958
|
+
this.$$set({ endpoint: e }), H();
|
|
951
959
|
}
|
|
952
960
|
get baseurl() {
|
|
953
961
|
return this.$$.ctx[6];
|
|
954
962
|
}
|
|
955
963
|
set baseurl(e) {
|
|
956
|
-
this.$$set({ baseurl: e }),
|
|
964
|
+
this.$$set({ baseurl: e }), H();
|
|
957
965
|
}
|
|
958
966
|
get hasconfirmationmodal() {
|
|
959
967
|
return this.$$.ctx[25];
|
|
960
968
|
}
|
|
961
969
|
set hasconfirmationmodal(e) {
|
|
962
|
-
this.$$set({ hasconfirmationmodal: e }),
|
|
970
|
+
this.$$set({ hasconfirmationmodal: e }), H();
|
|
963
971
|
}
|
|
964
972
|
}
|
|
965
|
-
|
|
973
|
+
We(Ve, { operator: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, supportemail: {}, endpoint: {}, baseurl: {}, hasconfirmationmodal: {} }, [], [], !0);
|
|
966
974
|
export {
|
|
967
|
-
|
|
975
|
+
Ve as default
|
|
968
976
|
};
|