@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.
@@ -1,15 +1,21 @@
1
- import { a as be, $ as _e, S as Fe, i as Ce, s as ke, f as A, b as Me, n as ee, d as E, h as q, k as c, p as we, q as Oe, u as Se, a8 as xe, R as De, x as $, j as a, m as S, g as l, Y as ie, e as p, C as ae, D as ze, r as je, c as N, U as re, l as Q, t as G, W as Pe, w as K, V as ne, y as He, z as Ae, A as Ee, B as qe } from "./GeneralLogout-BpYAti4c.js";
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 le } from "./PlayerAccountProductRestriction-CYwbKK4y.js";
6
- function se(o, e) {
7
- be(o, e);
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 We(o) {
10
- _e.set(o);
15
+ function Be(o) {
16
+ ee.set(o);
11
17
  }
12
- const ue = {
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 Ue(o) {
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 me(o, e, t) {
227
- const r = o.slice();
228
- return r[43] = e[t].value, r;
232
+ function ce(o, e, t) {
233
+ const n = o.slice();
234
+ return n[43] = e[t].value, n;
229
235
  }
230
- function Be(o) {
231
- let e, t, r, s = (
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, M, x = (
276
+ ), h, d, f, D, I, P, w, x = (
271
277
  /*$_*/
272
278
  o[18]("save") + ""
273
- ), j, Y, z, F, W, J, H, V, U = (
279
+ ), j, Y, z, F, W, J, E, V, U = (
274
280
  /*isMobile*/
275
- o[19] && Le(o)
276
- ), B = ae(
281
+ o[19] && Ye(o)
282
+ ), B = ne(
277
283
  /*timeoutOptions*/
278
284
  o[10]
279
- ), w = [];
280
- for (let n = 0; n < B.length; n += 1)
281
- w[n] = ce(me(o, B, n));
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] && fe(o)
290
+ o[12] && de(o)
285
291
  );
286
292
  return {
287
293
  c() {
288
- e = c("form"), U && U.c(), t = S(), r = 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");
289
- for (let n = 0; n < w.length; n += 1)
290
- w[n].c();
291
- D = S(), O && O.c(), I = S(), P = c("div"), M = c("button"), j = G(x), Y = S(), z = c("player-account-modal"), F = c("player-account-general-confirmation-modal"), p(r, "class", "TimeoutTitle " + /*isMobile*/
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 && Pe(() => (
301
+ o[11] === void 0 && Ee(() => (
296
302
  /*select_change_handler*/
297
303
  o[27].call(f)
298
- )), p(d, "class", "TimeoutSelectWrapper"), p(M, "class", "TimeoutSave"), p(P, "class", "TimeoutActionButtons " + /*isMobile*/
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(n, v) {
343
- q(n, e, v), U && U.m(e, null), a(e, t), a(e, r), a(r, 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);
344
- for (let C = 0; C < w.length; C += 1)
345
- w[C] && w[C].m(f, null);
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, M), a(M, j), q(n, Y, v), q(n, z, v), a(z, F), o[30](F), H || (V = [
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
- M,
371
+ w,
366
372
  "click",
367
373
  /*click_handler_1*/
368
374
  o[29]
369
375
  )
370
- ], H = !0);
376
+ ], E = !0);
371
377
  },
372
- p(n, v) {
378
+ p(r, v) {
373
379
  if (
374
380
  /*isMobile*/
375
- n[19] && U.p(n, v), v[0] & /*$_*/
381
+ r[19] && U.p(r, v), v[0] & /*$_*/
376
382
  262144 && s !== (s = /*$_*/
377
- n[18]("titleTimeout") + "") && N(u, s), v[0] & /*$_, operator, baseurl, lang*/
383
+ r[18]("titleTimeout") + "") && N(u, s), v[0] & /*$_, operator, baseurl, lang*/
378
384
  262211 && k !== (k = /*$_*/
379
- n[18]("timeoutTextFirst", {
385
+ r[18]("timeoutTextFirst", {
380
386
  values: {
381
387
  operatorname: (
382
388
  /*operator*/
383
- n[0]
389
+ r[0]
384
390
  ),
385
391
  baseurl: (
386
392
  /*baseurl*/
387
- n[6]
393
+ r[6]
388
394
  ),
389
395
  lang: (
390
396
  /*lang*/
391
- n[1]
397
+ r[1]
392
398
  )
393
399
  }
394
400
  }) + "") && (g.innerHTML = k), v[0] & /*$_, supportemail, baseurl, lang*/
395
401
  262242 && T !== (T = /*$_*/
396
- n[18]("timeoutTextSecondary", {
402
+ r[18]("timeoutTextSecondary", {
397
403
  values: {
398
404
  supportemail: (
399
405
  /*supportemail*/
400
- n[5]
406
+ r[5]
401
407
  ),
402
408
  baseurl: (
403
409
  /*baseurl*/
404
- n[6]
410
+ r[6]
405
411
  ),
406
412
  lang: (
407
413
  /*lang*/
408
- n[1]
414
+ r[1]
409
415
  )
410
416
  }
411
417
  }) + "") && (_.innerHTML = T), v[0] & /*timeoutOptions, $_*/
412
418
  263168
413
419
  ) {
414
- B = ae(
420
+ B = ne(
415
421
  /*timeoutOptions*/
416
- n[10]
422
+ r[10]
417
423
  );
418
424
  let C;
419
425
  for (C = 0; C < B.length; C += 1) {
420
- const Z = me(n, B, C);
421
- w[C] ? w[C].p(Z, v) : (w[C] = ce(Z), w[C].c(), w[C].m(f, null));
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 < w.length; C += 1)
424
- w[C].d(1);
425
- w.length = B.length;
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
- n[11]
437
+ r[11]
432
438
  ), /*isUntilDate*/
433
- n[12] ? O ? O.p(n, v) : (O = fe(n), O.c(), O.m(e, I)) : O && (O.d(1), O = null), v[0] & /*$_*/
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
- n[18]("save") + "") && N(j, x), v[0] & /*$_*/
441
+ r[18]("save") + "") && N(j, x), v[0] & /*$_*/
436
442
  262144 && W !== (W = /*$_*/
437
- n[18]("confirmationModalTitle")) && l(F, "modalTitle", W), v[0] & /*confirmationModalText*/
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
- n[16]
448
+ r[16]
443
449
  ), v[0] & /*timeoutSelected, timeoutExpiryDate, timeoutOptions*/
444
450
  11264 && J !== (J = {
445
451
  timeoutSelected: (
446
452
  /*timeoutSelected*/
447
- n[11]
453
+ r[11]
448
454
  ),
449
455
  timeoutExpiryDate: (
450
456
  /*timeoutExpiryDate*/
451
- n[13]
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
- n[4]
464
+ r[4]
459
465
  ), v[0] & /*lang*/
460
466
  2 && l(
461
467
  F,
462
468
  "lang",
463
469
  /*lang*/
464
- n[1]
470
+ r[1]
465
471
  ), v[0] & /*clientstyling*/
466
472
  4 && l(
467
473
  z,
468
474
  "clientstyling",
469
475
  /*clientstyling*/
470
- n[2]
476
+ r[2]
471
477
  ), v[0] & /*clientstylingurl*/
472
478
  8 && l(
473
479
  z,
474
480
  "clientstylingurl",
475
481
  /*clientstylingurl*/
476
- n[3]
482
+ r[3]
477
483
  ), v[0] & /*mbsource*/
478
484
  16 && l(
479
485
  z,
480
486
  "mbsource",
481
487
  /*mbsource*/
482
- n[4]
488
+ r[4]
483
489
  );
484
490
  },
485
- d(n) {
486
- n && (E(e), E(Y), E(z)), U && U.d(), ze(w, n), O && O.d(), o[30](null), H = !1, je(V);
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 Ie(o) {
491
- let e, t, r, s, u, m, y, g, k, b, _, T, h, d, f, D;
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] ? Ye : Re
501
+ x[19] ? Ge : Je
496
502
  );
497
503
  }
498
- let M = I(o)(o);
504
+ let w = I(o)(o);
499
505
  return {
500
506
  c() {
501
- e = c("div"), M.c(), t = S(), r = 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(
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%"), ie(
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%"), ie(
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(r, "class", "TimeoutDescription"), l(h, "structure", "rectangle"), l(
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), M.m(e, null), a(e, t), a(e, r), a(r, s), a(r, u), a(r, m), a(r, y), a(r, g), a(r, k), a(r, b), a(e, _), a(e, T), a(T, h), a(e, d), a(e, f), a(f, D);
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: ee,
549
+ p: oe,
544
550
  d(x) {
545
- x && E(e), M.d();
551
+ x && A(e), w.d();
546
552
  }
547
553
  };
548
554
  }
549
- function Le(o) {
550
- let e, t, r, s, u, m, y, g, k, b, _ = (
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"), r = 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");
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, r), a(r, 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(
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 && E(e), h = !1, d();
578
+ f && A(e), h = !1, d();
573
579
  }
574
580
  };
575
581
  }
576
- function ce(o) {
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
- ), r, s;
589
+ ), n, s;
584
590
  return {
585
591
  c() {
586
- e = c("option"), r = G(t), e.__value = s = /*value*/
587
- o[43], ne(e, e.__value);
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, r);
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(r, t), m[0] & /*timeoutOptions*/
604
+ ) + "") && N(n, t), m[0] & /*timeoutOptions*/
599
605
  1024 && s !== (s = /*value*/
600
- u[43]) && (e.__value = s, ne(e, e.__value));
606
+ u[43]) && (e.__value = s, le(e, e.__value));
601
607
  },
602
608
  d(u) {
603
- u && E(e);
609
+ u && A(e);
604
610
  }
605
611
  };
606
612
  }
607
- function fe(o) {
608
- let e, t, r = (
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(r), 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(
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 && r !== (r = /*$_*/
641
- h[18]("duration") + "") && N(s, r), d[0] & /*$_*/
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 && E(e), o[28](null);
670
+ h && A(e), o[28](null);
665
671
  }
666
672
  };
667
673
  }
668
- function Re(o) {
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, r) {
675
- q(t, e, r);
680
+ m(t, n) {
681
+ q(t, e, n);
676
682
  },
677
683
  d(t) {
678
- t && E(e);
684
+ t && A(e);
679
685
  }
680
686
  };
681
687
  }
682
- function Ye(o) {
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, r) {
689
- q(t, e, r);
694
+ m(t, n) {
695
+ q(t, e, n);
690
696
  },
691
697
  d(t) {
692
- t && E(e);
698
+ t && A(e);
693
699
  }
694
700
  };
695
701
  }
696
- function Je(o) {
702
+ function Ke(o) {
697
703
  let e;
698
704
  function t(u, m) {
699
705
  return (
700
706
  /*skeletonLoading*/
701
- u[17] ? Ie : Be
707
+ u[17] ? Re : Le
702
708
  );
703
709
  }
704
- let r = t(o), s = r(o);
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
- r === (r = t(u)) && s ? s.p(u, m) : (s.d(1), s = r(u), s && (s.c(), s.m(e, null)));
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: ee,
716
- o: ee,
721
+ i: oe,
722
+ o: oe,
717
723
  d(u) {
718
- u && E(e), s.d(), o[31](null);
724
+ u && A(e), s.d(), o[31](null);
719
725
  }
720
726
  };
721
727
  }
722
- function Ge(o, e, t) {
723
- let r;
724
- we(o, Oe, (i) => t(18, r = i));
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, d, f, D = window.navigator.userAgent, I = Se(D) !== "PC", P = [
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
- ], M = P[0].value, x = !1, j = "", Y, z, F = "", W = h === "true", J = !0, H;
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
- se(L, i[L]);
754
+ ue(L, i[L]);
747
755
  });
748
756
  }).catch((i) => {
749
757
  console.log(i);
750
758
  });
751
759
  };
752
- Object.keys(ue).forEach((i) => {
753
- se(i, ue[i]);
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: te } = R;
763
- te && t(10, P = te.map((X) => ({
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, M = P[0].value);
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 ? r("confirmationModalTextUntilTimeout", { values: { date: j } }) : r("confirmationModalTextPeriodTimeout", { values: { period: r(M) } }));
779
- }, w = (i) => {
780
- i.preventDefault(), W ? window.postMessage({ type: "ShowTimeoutConfirmationModal" }, window.location.href) : n();
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, M = L), t(13, j = R), n();
784
- }, n = () => {
791
+ t(11, w = L), t(13, j = R), r();
792
+ }, r = () => {
785
793
  window.postMessage(
786
794
  {
787
795
  type: "SetPlayerAccountTimeout",
788
- timeoutSelected: M,
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
- We(u), U();
810
+ Be(u), U();
803
811
  }, Z = () => {
804
- const i = P.find((L) => L.value === M);
805
- t(12, x = !1), i.dateSelector && (t(12, x = !0), t(14, Y = le().format("YYYY-MM-DD")), t(15, z = le().add(6, "months").format("YYYY-MM-DD")), t(13, j = Y)), W && B();
806
- }, oe = (i) => {
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
- }, de = () => {
809
- f.addEventListener("change", oe, !1);
816
+ }, pe = () => {
817
+ f.addEventListener("change", te, !1);
810
818
  };
811
- xe(() => {
812
- H && H.removeEventListener("SetPlayerAccountTimeout", O), f && f.removeEventListener("change", oe);
819
+ De(() => {
820
+ E && E.removeEventListener("SetPlayerAccountTimeout", O), f && f.removeEventListener("change", te);
813
821
  });
814
- const pe = () => v();
815
- function he() {
816
- M = De(this), t(11, M), t(10, P);
822
+ const he = () => v();
823
+ function ge() {
824
+ w = ze(this), t(11, w), t(10, P);
817
825
  }
818
- function ge(i) {
826
+ function Te(i) {
819
827
  $[i ? "unshift" : "push"](() => {
820
828
  f = i, t(8, f);
821
829
  });
822
830
  }
823
- const Te = (i) => w(i);
824
- function ye(i) {
831
+ const ye = (i) => M(i);
832
+ function ve(i) {
825
833
  $[i ? "unshift" : "push"](() => {
826
- H = i, t(9, H);
834
+ E = i, t(9, E);
827
835
  });
828
836
  }
829
- function ve(i) {
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 && de(), o.$$.dirty[0] & /*lang*/
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 && Ee(d, `${g}.Style`), o.$$.dirty[0] & /*translationurl*/
850
+ 144 && g && d && qe(d, `${g}.Style`), o.$$.dirty[0] & /*translationurl*/
843
851
  8388608 && k && V(), o.$$.dirty[0] & /*modalEl*/
844
- 512 && H && H.addEventListener("SetPlayerAccountTimeout", O);
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
- H,
863
+ E,
856
864
  P,
857
- M,
865
+ w,
858
866
  x,
859
867
  j,
860
868
  Y,
861
869
  z,
862
870
  F,
863
871
  J,
864
- r,
872
+ n,
865
873
  I,
866
- w,
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 Ke extends Fe {
888
+ class Ve extends Ce {
881
889
  constructor(e) {
882
- super(), Ce(
890
+ super(), ke(
883
891
  this,
884
892
  e,
885
- Ge,
886
- Je,
887
- ke,
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
- Ue,
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 }), A();
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 }), A();
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 }), A();
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 }), A();
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 }), A();
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 }), A();
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 }), A();
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 }), A();
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 }), A();
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 }), A();
970
+ this.$$set({ hasconfirmationmodal: e }), H();
963
971
  }
964
972
  }
965
- qe(Ke, { operator: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, supportemail: {}, endpoint: {}, baseurl: {}, hasconfirmationmodal: {} }, [], [], !0);
973
+ We(Ve, { operator: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, supportemail: {}, endpoint: {}, baseurl: {}, hasconfirmationmodal: {} }, [], [], !0);
966
974
  export {
967
- Ke as default
975
+ Ve as default
968
976
  };