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