@everymatrix/player-account-controller 1.62.1 → 1.62.3

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,1022 +0,0 @@
1
- import { $ as le, C as Ce, a as Te, S as Me, i as Ee, s as Ae, f as b, b as Se, d as v, I as W, J as D, c as X, _ as Y, h as p, g as T, j as C, k as j, m as U, o as d, p as Ge, q as De, u as We, l as fe, v as P, n as G, O as q, P as ge, F as he, w as Q, a0 as x, e as o, H as ze, K as Be, L as Ne, M as Pe, x as je, y as Fe, z as Re, A as Ie, B as Oe } from "./GeneralLogout-r9dFykD6.js";
2
- function He({ withLocale: i, translations: e }) {
3
- le.subscribe((t) => {
4
- t == null && (Ce.set(e), le.set(i));
5
- });
6
- }
7
- function Ue(i, e) {
8
- Te(i, e);
9
- }
10
- const se = {
11
- en: {
12
- title: "Limits"
13
- },
14
- "zh-hk": {
15
- title: "Limits"
16
- },
17
- fr: {
18
- title: "Limits"
19
- },
20
- ro: {
21
- title: "Limits"
22
- },
23
- es: {
24
- title: "Limits"
25
- },
26
- pt: {
27
- title: "Limits"
28
- },
29
- hr: {
30
- title: "Ograničenja"
31
- },
32
- "pt-br": {
33
- title: "Limites"
34
- },
35
- "es-mx": {
36
- title: "Límites"
37
- },
38
- tr: {
39
- title: "Sınırlar"
40
- },
41
- "en-us": {
42
- title: "Limits"
43
- }
44
- };
45
- if (typeof window < "u") {
46
- let i = function(e) {
47
- return function(...t) {
48
- try {
49
- return e.apply(this, t);
50
- } catch (n) {
51
- if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
52
- return !1;
53
- throw n;
54
- }
55
- };
56
- };
57
- customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsPage2Gm16-ONM_FRN3.js").then(({ default: e }) => {
58
- !customElements.get("player-account-gaming-limits-page-2-gm16") && customElements.define(
59
- "player-account-gaming-limits-page-2-gm16",
60
- e.element
61
- );
62
- });
63
- }
64
- if (typeof window < "u") {
65
- let i = function(e) {
66
- return function(...t) {
67
- try {
68
- return e.apply(this, t);
69
- } catch (n) {
70
- if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
71
- return !1;
72
- throw n;
73
- }
74
- };
75
- };
76
- customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsHistory2-CJGqCDFL.js").then(({ default: e }) => {
77
- !customElements.get("player-account-gaming-limits-history-2") && customElements.define(
78
- "player-account-gaming-limits-history-2",
79
- e.element
80
- );
81
- });
82
- }
83
- function qe(i) {
84
- Se(i, "svelte-r6lh3z", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.GamingLimitsWrapper{padding:50px 50px 30px 50px}.GamingLimitsWrapper.GamingLimitsWrapperMobile{padding:20px 15px}.LimitsWrapper{display:flex;flex-direction:column}.TabsContainer{height:50px;display:flex;margin-bottom:12px;cursor:pointer;border-bottom:1px solid var(--emw--color-gray-300, #58586B);justify-content:center;background:var(--emw--color-white, #FFFFFF);box-shadow:0 0.15rem 0.2rem 0 rgba(0, 0, 0, 0.12)}.LimitsTab{font-size:1.3rem;line-height:1.4rem;margin-bottom:3px;display:flex;justify-content:center;align-items:center;padding:0 1rem;box-sizing:content-box}.hidden{display:none}h2{margin:20px 0px}.PlayerAccountGamingLmitsWrapper2{margin-bottom:20px}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C))}.GamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));font-weight:400}.GamingLimitsTitleMobile{font-size:16px}.GamingLimitsTitleNone{display:none}.selected{border-bottom:0.2rem solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));margin:0}');
85
- }
86
- function oe(i, e, t) {
87
- const n = i.slice();
88
- return n[46] = e[t], n[48] = t, n;
89
- }
90
- const Je = (i) => ({}), re = (i) => ({});
91
- function ae(i, e, t) {
92
- const n = i.slice();
93
- return n[49] = e[t], n[48] = t, n;
94
- }
95
- function Ke(i) {
96
- let e, t, n, l, c, m, f, r, _, h, a = (
97
- /*$_*/
98
- i[24]("title") + ""
99
- ), u, g, k;
100
- return {
101
- c() {
102
- e = C("div"), t = P("svg"), n = P("defs"), l = P("style"), c = U(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));}"), m = P("g"), f = P("g"), r = P("path"), _ = j(), h = C("h2"), u = U(a), d(r, "class", "aaa"), d(r, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(r, "transform", "translate(15 15) rotate(180)"), d(f, "transform", "translate(20 158)"), d(m, "transform", "translate(-20 -158)"), d(t, "xmlns", "http://www.w3.org/2000/svg"), d(t, "width", "15"), d(t, "height", "15"), d(t, "viewBox", "0 0 15 15"), d(h, "class", "GamingLimitsTitleMobile"), d(e, "class", "MenuReturnButton"), d(e, "part", "MenuReturnButton");
103
- },
104
- m(M, w) {
105
- T(M, e, w), p(e, t), p(t, n), p(n, l), p(l, c), p(t, m), p(m, f), p(f, r), p(e, _), p(e, h), p(h, u), g || (k = fe(
106
- e,
107
- "click",
108
- /*click_handler*/
109
- i[35]
110
- ), g = !0);
111
- },
112
- p(M, w) {
113
- w[0] & /*$_*/
114
- 16777216 && a !== (a = /*$_*/
115
- M[24]("title") + "") && X(u, a);
116
- },
117
- d(M) {
118
- M && v(e), g = !1, k();
119
- }
120
- };
121
- }
122
- function Ve(i) {
123
- let e, t, n, l, c, m = (
124
- /*limitTabs*/
125
- i[25].length > 1 && Qe(i)
126
- ), f = q(
127
- /*limitTabs*/
128
- i[25]
129
- ), r = [];
130
- for (let a = 0; a < f.length; a += 1)
131
- r[a] = me(oe(i, f, a));
132
- const _ = (a) => W(r[a], 1, 1, () => {
133
- r[a] = null;
134
- });
135
- let h = (
136
- /*historyenabled*/
137
- i[6] === "true" && ue(i)
138
- );
139
- return {
140
- c() {
141
- m && m.c(), e = j(), t = C("div");
142
- for (let a = 0; a < r.length; a += 1)
143
- r[a].c();
144
- n = j(), h && h.c(), l = he(), d(t, "class", "PlayerAccountGamingLmitsWrapper2");
145
- },
146
- m(a, u) {
147
- m && m.m(a, u), T(a, e, u), T(a, t, u);
148
- for (let g = 0; g < r.length; g += 1)
149
- r[g] && r[g].m(t, null);
150
- i[38](t), T(a, n, u), h && h.m(a, u), T(a, l, u), c = !0;
151
- },
152
- p(a, u) {
153
- if (
154
- /*limitTabs*/
155
- a[25].length > 1 && m.p(a, u), u[0] & /*customContentTabIndex, lang, currency, amountsArray, periodsArray, userid, deletelimit, enablecompliancetext, session, endpoint, apiversion, clientstyling, clientstylingurl, mbsource, translationurl, customcurrencysymbols, limitformat*/
156
- 14745023 | u[1] & /*$$scope*/
157
- 4
158
- ) {
159
- f = q(
160
- /*limitTabs*/
161
- a[25]
162
- );
163
- let g;
164
- for (g = 0; g < f.length; g += 1) {
165
- const k = oe(a, f, g);
166
- r[g] ? (r[g].p(k, u), D(r[g], 1)) : (r[g] = me(k), r[g].c(), D(r[g], 1), r[g].m(t, null));
167
- }
168
- for (x(), g = f.length; g < r.length; g += 1)
169
- _(g);
170
- Y();
171
- }
172
- /*historyenabled*/
173
- a[6] === "true" ? h ? h.p(a, u) : (h = ue(a), h.c(), h.m(l.parentNode, l)) : h && (h.d(1), h = null);
174
- },
175
- i(a) {
176
- if (!c) {
177
- for (let u = 0; u < f.length; u += 1)
178
- D(r[u]);
179
- c = !0;
180
- }
181
- },
182
- o(a) {
183
- r = r.filter(Boolean);
184
- for (let u = 0; u < r.length; u += 1)
185
- W(r[u]);
186
- c = !1;
187
- },
188
- d(a) {
189
- a && (v(e), v(t), v(n), v(l)), m && m.d(a), ge(r, a), i[38](null), h && h.d(a);
190
- }
191
- };
192
- }
193
- function Ze(i) {
194
- return {
195
- c: G,
196
- m: G,
197
- p: G,
198
- i: G,
199
- o: G,
200
- d: G
201
- };
202
- }
203
- function Qe(i) {
204
- let e, t = q(
205
- /*limitTabs*/
206
- i[25]
207
- ), n = [];
208
- for (let l = 0; l < t.length; l += 1)
209
- n[l] = ce(ae(i, t, l));
210
- return {
211
- c() {
212
- e = C("div");
213
- for (let l = 0; l < n.length; l += 1)
214
- n[l].c();
215
- d(e, "class", "TabsContainer");
216
- },
217
- m(l, c) {
218
- T(l, e, c);
219
- for (let m = 0; m < n.length; m += 1)
220
- n[m] && n[m].m(e, null);
221
- i[37](e);
222
- },
223
- p(l, c) {
224
- if (c[0] & /*selectTab, tabLabelArray, limitTabs*/
225
- 168296448) {
226
- t = q(
227
- /*limitTabs*/
228
- l[25]
229
- );
230
- let m;
231
- for (m = 0; m < t.length; m += 1) {
232
- const f = ae(l, t, m);
233
- n[m] ? n[m].p(f, c) : (n[m] = ce(f), n[m].c(), n[m].m(e, null));
234
- }
235
- for (; m < n.length; m += 1)
236
- n[m].d(1);
237
- n.length = t.length;
238
- }
239
- },
240
- d(l) {
241
- l && v(e), ge(n, l), i[37](null);
242
- }
243
- };
244
- }
245
- function ce(i) {
246
- let e, t = (
247
- /*tabLabelArray*/
248
- (i[19][
249
- /*i*/
250
- i[48]
251
- ] ?? /*limit*/
252
- i[49]) + ""
253
- ), n, l, c;
254
- function m() {
255
- return (
256
- /*click_handler_1*/
257
- i[36](
258
- /*i*/
259
- i[48]
260
- )
261
- );
262
- }
263
- return {
264
- c() {
265
- e = C("div"), n = U(t), d(e, "class", "LimitsTab");
266
- },
267
- m(f, r) {
268
- T(f, e, r), p(e, n), l || (c = fe(e, "click", m), l = !0);
269
- },
270
- p(f, r) {
271
- i = f, r[0] & /*tabLabelArray*/
272
- 524288 && t !== (t = /*tabLabelArray*/
273
- (i[19][
274
- /*i*/
275
- i[48]
276
- ] ?? /*limit*/
277
- i[49]) + "") && X(n, t);
278
- },
279
- d(f) {
280
- f && v(e), l = !1, c();
281
- }
282
- };
283
- }
284
- function Xe(i) {
285
- let e, t, n;
286
- return {
287
- c() {
288
- e = C("player-account-gaming-limits-page-2-gm16"), o(e, "class", "hidden selected"), o(
289
- e,
290
- "lang",
291
- /*lang*/
292
- i[0]
293
- ), o(
294
- e,
295
- "currency",
296
- /*currency*/
297
- i[4]
298
- ), o(e, "amountsconfig", t = /*amountsArray*/
299
- i[21][
300
- /*i*/
301
- i[48]
302
- ]), o(e, "periodsconfig", n = /*periodsArray*/
303
- i[22][
304
- /*i*/
305
- i[48]
306
- ]), o(
307
- e,
308
- "limittabindex",
309
- /*i*/
310
- i[48] + 1
311
- ), o(
312
- e,
313
- "userid",
314
- /*userid*/
315
- i[1]
316
- ), o(
317
- e,
318
- "deletelimit",
319
- /*deletelimit*/
320
- i[8]
321
- ), o(
322
- e,
323
- "enablecompliancetext",
324
- /*enablecompliancetext*/
325
- i[7]
326
- ), o(
327
- e,
328
- "session",
329
- /*session*/
330
- i[2]
331
- ), o(
332
- e,
333
- "endpoint",
334
- /*endpoint*/
335
- i[3]
336
- ), o(
337
- e,
338
- "apiversion",
339
- /*apiversion*/
340
- i[5]
341
- ), o(
342
- e,
343
- "clientstyling",
344
- /*clientstyling*/
345
- i[12]
346
- ), o(
347
- e,
348
- "clientstylingurl",
349
- /*clientstylingurl*/
350
- i[13]
351
- ), o(
352
- e,
353
- "mbsource",
354
- /*mbsource*/
355
- i[15]
356
- ), o(
357
- e,
358
- "translationurl",
359
- /*translationurl*/
360
- i[14]
361
- ), o(
362
- e,
363
- "customcurrencysymbols",
364
- /*customcurrencysymbols*/
365
- i[10]
366
- ), o(
367
- e,
368
- "limitformat",
369
- /*limitformat*/
370
- i[11]
371
- );
372
- },
373
- m(l, c) {
374
- T(l, e, c);
375
- },
376
- p(l, c) {
377
- c[0] & /*lang*/
378
- 1 && o(
379
- e,
380
- "lang",
381
- /*lang*/
382
- l[0]
383
- ), c[0] & /*currency*/
384
- 16 && o(
385
- e,
386
- "currency",
387
- /*currency*/
388
- l[4]
389
- ), c[0] & /*amountsArray*/
390
- 2097152 && t !== (t = /*amountsArray*/
391
- l[21][
392
- /*i*/
393
- l[48]
394
- ]) && o(e, "amountsconfig", t), c[0] & /*periodsArray*/
395
- 4194304 && n !== (n = /*periodsArray*/
396
- l[22][
397
- /*i*/
398
- l[48]
399
- ]) && o(e, "periodsconfig", n), c[0] & /*userid*/
400
- 2 && o(
401
- e,
402
- "userid",
403
- /*userid*/
404
- l[1]
405
- ), c[0] & /*deletelimit*/
406
- 256 && o(
407
- e,
408
- "deletelimit",
409
- /*deletelimit*/
410
- l[8]
411
- ), c[0] & /*enablecompliancetext*/
412
- 128 && o(
413
- e,
414
- "enablecompliancetext",
415
- /*enablecompliancetext*/
416
- l[7]
417
- ), c[0] & /*session*/
418
- 4 && o(
419
- e,
420
- "session",
421
- /*session*/
422
- l[2]
423
- ), c[0] & /*endpoint*/
424
- 8 && o(
425
- e,
426
- "endpoint",
427
- /*endpoint*/
428
- l[3]
429
- ), c[0] & /*apiversion*/
430
- 32 && o(
431
- e,
432
- "apiversion",
433
- /*apiversion*/
434
- l[5]
435
- ), c[0] & /*clientstyling*/
436
- 4096 && o(
437
- e,
438
- "clientstyling",
439
- /*clientstyling*/
440
- l[12]
441
- ), c[0] & /*clientstylingurl*/
442
- 8192 && o(
443
- e,
444
- "clientstylingurl",
445
- /*clientstylingurl*/
446
- l[13]
447
- ), c[0] & /*mbsource*/
448
- 32768 && o(
449
- e,
450
- "mbsource",
451
- /*mbsource*/
452
- l[15]
453
- ), c[0] & /*translationurl*/
454
- 16384 && o(
455
- e,
456
- "translationurl",
457
- /*translationurl*/
458
- l[14]
459
- ), c[0] & /*customcurrencysymbols*/
460
- 1024 && o(
461
- e,
462
- "customcurrencysymbols",
463
- /*customcurrencysymbols*/
464
- l[10]
465
- ), c[0] & /*limitformat*/
466
- 2048 && o(
467
- e,
468
- "limitformat",
469
- /*limitformat*/
470
- l[11]
471
- );
472
- },
473
- i: G,
474
- o: G,
475
- d(l) {
476
- l && v(e);
477
- }
478
- };
479
- }
480
- function Ye(i) {
481
- let e;
482
- const t = (
483
- /*#slots*/
484
- i[34].customTabContent
485
- ), n = ze(
486
- t,
487
- i,
488
- /*$$scope*/
489
- i[33],
490
- re
491
- );
492
- return {
493
- c() {
494
- n && n.c();
495
- },
496
- m(l, c) {
497
- n && n.m(l, c), e = !0;
498
- },
499
- p(l, c) {
500
- n && n.p && (!e || c[1] & /*$$scope*/
501
- 4) && Be(
502
- n,
503
- t,
504
- l,
505
- /*$$scope*/
506
- l[33],
507
- e ? Pe(
508
- t,
509
- /*$$scope*/
510
- l[33],
511
- c,
512
- Je
513
- ) : Ne(
514
- /*$$scope*/
515
- l[33]
516
- ),
517
- re
518
- );
519
- },
520
- i(l) {
521
- e || (D(n, l), e = !0);
522
- },
523
- o(l) {
524
- W(n, l), e = !1;
525
- },
526
- d(l) {
527
- n && n.d(l);
528
- }
529
- };
530
- }
531
- function me(i) {
532
- let e, t, n, l;
533
- const c = [Ye, Xe], m = [];
534
- function f(r, _) {
535
- return (
536
- /*customContentTabIndex*/
537
- r[23] === /*i*/
538
- r[48] ? 0 : 1
539
- );
540
- }
541
- return e = f(i), t = m[e] = c[e](i), {
542
- c() {
543
- t.c(), n = he();
544
- },
545
- m(r, _) {
546
- m[e].m(r, _), T(r, n, _), l = !0;
547
- },
548
- p(r, _) {
549
- let h = e;
550
- e = f(r), e === h ? m[e].p(r, _) : (x(), W(m[h], 1, 1, () => {
551
- m[h] = null;
552
- }), Y(), t = m[e], t ? t.p(r, _) : (t = m[e] = c[e](r), t.c()), D(t, 1), t.m(n.parentNode, n));
553
- },
554
- i(r) {
555
- l || (D(t), l = !0);
556
- },
557
- o(r) {
558
- W(t), l = !1;
559
- },
560
- d(r) {
561
- r && v(n), m[e].d(r);
562
- }
563
- };
564
- }
565
- function ue(i) {
566
- let e;
567
- return {
568
- c() {
569
- e = C("player-account-gaming-limits-history-2"), o(
570
- e,
571
- "lang",
572
- /*lang*/
573
- i[0]
574
- ), o(
575
- e,
576
- "userid",
577
- /*userid*/
578
- i[1]
579
- ), o(
580
- e,
581
- "session",
582
- /*session*/
583
- i[2]
584
- ), o(
585
- e,
586
- "endpoint",
587
- /*endpoint*/
588
- i[3]
589
- ), o(
590
- e,
591
- "apiversion",
592
- /*apiversion*/
593
- i[5]
594
- ), o(
595
- e,
596
- "numberofentries",
597
- /*numberofentries*/
598
- i[9]
599
- ), o(
600
- e,
601
- "clientstyling",
602
- /*clientstyling*/
603
- i[12]
604
- ), o(
605
- e,
606
- "clientstylingurl",
607
- /*clientstylingurl*/
608
- i[13]
609
- ), o(
610
- e,
611
- "mbsource",
612
- /*mbsource*/
613
- i[15]
614
- ), o(
615
- e,
616
- "translationurl",
617
- /*translationurl*/
618
- i[14]
619
- ), o(
620
- e,
621
- "customcurrencysymbols",
622
- /*customcurrencysymbols*/
623
- i[10]
624
- ), o(
625
- e,
626
- "limitformat",
627
- /*limitformat*/
628
- i[11]
629
- );
630
- },
631
- m(t, n) {
632
- T(t, e, n);
633
- },
634
- p(t, n) {
635
- n[0] & /*lang*/
636
- 1 && o(
637
- e,
638
- "lang",
639
- /*lang*/
640
- t[0]
641
- ), n[0] & /*userid*/
642
- 2 && o(
643
- e,
644
- "userid",
645
- /*userid*/
646
- t[1]
647
- ), n[0] & /*session*/
648
- 4 && o(
649
- e,
650
- "session",
651
- /*session*/
652
- t[2]
653
- ), n[0] & /*endpoint*/
654
- 8 && o(
655
- e,
656
- "endpoint",
657
- /*endpoint*/
658
- t[3]
659
- ), n[0] & /*apiversion*/
660
- 32 && o(
661
- e,
662
- "apiversion",
663
- /*apiversion*/
664
- t[5]
665
- ), n[0] & /*numberofentries*/
666
- 512 && o(
667
- e,
668
- "numberofentries",
669
- /*numberofentries*/
670
- t[9]
671
- ), n[0] & /*clientstyling*/
672
- 4096 && o(
673
- e,
674
- "clientstyling",
675
- /*clientstyling*/
676
- t[12]
677
- ), n[0] & /*clientstylingurl*/
678
- 8192 && o(
679
- e,
680
- "clientstylingurl",
681
- /*clientstylingurl*/
682
- t[13]
683
- ), n[0] & /*mbsource*/
684
- 32768 && o(
685
- e,
686
- "mbsource",
687
- /*mbsource*/
688
- t[15]
689
- ), n[0] & /*translationurl*/
690
- 16384 && o(
691
- e,
692
- "translationurl",
693
- /*translationurl*/
694
- t[14]
695
- ), n[0] & /*customcurrencysymbols*/
696
- 1024 && o(
697
- e,
698
- "customcurrencysymbols",
699
- /*customcurrencysymbols*/
700
- t[10]
701
- ), n[0] & /*limitformat*/
702
- 2048 && o(
703
- e,
704
- "limitformat",
705
- /*limitformat*/
706
- t[11]
707
- );
708
- },
709
- d(t) {
710
- t && v(e);
711
- }
712
- };
713
- }
714
- function xe(i) {
715
- let e, t, n, l, c, m, f, r = (
716
- /*$_*/
717
- i[24]("title") + ""
718
- ), _, h, a, u, g, k = (
719
- /*isMobile*/
720
- i[26] && Ke(i)
721
- );
722
- const M = [Ze, Ve], w = [];
723
- function z(y, E) {
724
- return (
725
- /*isLoading*/
726
- y[16] ? 0 : 1
727
- );
728
- }
729
- return a = z(i), u = w[a] = M[a](i), {
730
- c() {
731
- e = C("meta"), t = j(), n = C("div"), l = C("div"), c = C("div"), k && k.c(), m = j(), f = C("h2"), _ = U(r), h = j(), u.c(), d(e, "name", "viewport"), d(e, "content", "width=device-width, initial-scale=1"), d(f, "class", "GamingLimitsTitle " + /*isMobile*/
732
- (i[26] ? "GamingLimitsTitleNone" : "")), d(c, "class", "TitleSection"), d(l, "class", "GamingLimitsWrapper " + /*isMobile*/
733
- (i[26] ? "GamingLimitsWrapperMobile" : ""));
734
- },
735
- m(y, E) {
736
- p(document.head, e), T(y, t, E), T(y, n, E), p(n, l), p(l, c), k && k.m(c, null), p(c, m), p(c, f), p(f, _), p(l, h), w[a].m(l, null), i[39](n), g = !0;
737
- },
738
- p(y, E) {
739
- /*isMobile*/
740
- y[26] && k.p(y, E), (!g || E[0] & /*$_*/
741
- 16777216) && r !== (r = /*$_*/
742
- y[24]("title") + "") && X(_, r);
743
- let B = a;
744
- a = z(y), a === B ? w[a].p(y, E) : (x(), W(w[B], 1, 1, () => {
745
- w[B] = null;
746
- }), Y(), u = w[a], u ? u.p(y, E) : (u = w[a] = M[a](y), u.c()), D(u, 1), u.m(l, null));
747
- },
748
- i(y) {
749
- g || (D(u), g = !0);
750
- },
751
- o(y) {
752
- W(u), g = !1;
753
- },
754
- d(y) {
755
- y && (v(t), v(n)), v(e), k && k.d(), w[a].d(), i[39](null);
756
- }
757
- };
758
- }
759
- function $e(i, e, t) {
760
- let n;
761
- Ge(i, Oe, (s) => t(24, n = s));
762
- let { $$slots: l = {}, $$scope: c } = e, { lang: m = "" } = e, { userid: f = "" } = e, { session: r = "" } = e, { endpoint: _ = "" } = e, { currency: h = "" } = e, { apiversion: a = "" } = e, { tablabels: u = "" } = e, { historyenabled: g = "true" } = e, { enablecompliancetext: k = "false" } = e, { deletelimit: M = "" } = e, { limitsamount: w = "" } = e, { limitsperiods: z = "" } = e, { numberofentries: y = "" } = e, { customcurrencysymbols: E = "" } = e, { limitformat: B = "" } = e, { clientstyling: R = "" } = e, { clientstylingurl: I = "" } = e, { translationurl: $ = "" } = e, { mbsource: O } = e, { customcontentontab: F = "" } = e;
763
- He({ withLocale: "en", translations: {} });
764
- let J = !0, A, K = [], ee, S, N, H, V, be = window.navigator.userAgent, te = De(be) !== "PC", ie;
765
- Object.keys(se).forEach((s) => {
766
- Ue(s, se[s]);
767
- });
768
- const de = (s, L) => {
769
- if (t(21, H = s.replace(/\s/g, "").split("|")), t(22, V = L.replace(/\s/g, "").split("|")), H.length === 0)
770
- throw new Error("Please provide a full limits configuration.");
771
- if (H.length !== V.length)
772
- throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.");
773
- }, _e = () => {
774
- de(w, z), w.split("|").forEach((L) => {
775
- K.includes(L) || K.push(L);
776
- }), t(19, ee = u.split(",").map((L) => L.trim())), t(16, J = !1);
777
- }, ye = () => {
778
- t(23, ie = F ? Number(F) : -1);
779
- }, Z = (s) => {
780
- if (S.children.length > 0)
781
- for (let L = 0; L < S.children.length; L++)
782
- s === L ? (S.children[L].classList.remove("hidden"), N?.children[L].classList.add("selected")) : (S.children[L].classList.add("hidden"), N?.children[L].classList.remove("selected"));
783
- }, ne = () => {
784
- window.postMessage(
785
- {
786
- type: "PlayerAccountMenuActive",
787
- isMobile: te
788
- },
789
- window.location.href
790
- );
791
- };
792
- We(() => () => {
793
- t(18, S = null), t(20, N = null);
794
- });
795
- const pe = () => ne(), we = (s) => Z(s);
796
- function ke(s) {
797
- Q[s ? "unshift" : "push"](() => {
798
- N = s, t(20, N);
799
- });
800
- }
801
- function Le(s) {
802
- Q[s ? "unshift" : "push"](() => {
803
- S = s, t(18, S);
804
- });
805
- }
806
- function ve(s) {
807
- Q[s ? "unshift" : "push"](() => {
808
- A = s, t(17, A);
809
- });
810
- }
811
- return i.$$set = (s) => {
812
- "lang" in s && t(0, m = s.lang), "userid" in s && t(1, f = s.userid), "session" in s && t(2, r = s.session), "endpoint" in s && t(3, _ = s.endpoint), "currency" in s && t(4, h = s.currency), "apiversion" in s && t(5, a = s.apiversion), "tablabels" in s && t(29, u = s.tablabels), "historyenabled" in s && t(6, g = s.historyenabled), "enablecompliancetext" in s && t(7, k = s.enablecompliancetext), "deletelimit" in s && t(8, M = s.deletelimit), "limitsamount" in s && t(30, w = s.limitsamount), "limitsperiods" in s && t(31, z = s.limitsperiods), "numberofentries" in s && t(9, y = s.numberofentries), "customcurrencysymbols" in s && t(10, E = s.customcurrencysymbols), "limitformat" in s && t(11, B = s.limitformat), "clientstyling" in s && t(12, R = s.clientstyling), "clientstylingurl" in s && t(13, I = s.clientstylingurl), "translationurl" in s && t(14, $ = s.translationurl), "mbsource" in s && t(15, O = s.mbsource), "customcontentontab" in s && t(32, F = s.customcontentontab), "$$scope" in s && t(33, c = s.$$scope);
813
- }, i.$$.update = () => {
814
- i.$$.dirty[0] & /*userid, session, endpoint, tablabels, lang, apiversion*/
815
- 536870959 && f && r && _ && u && m && a && _e(), i.$$.dirty[1] & /*customcontentontab*/
816
- 2 && F && ye(), i.$$.dirty[0] & /*mainContainer, isLoading*/
817
- 327680 && S && !J && Z(0), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
818
- 135168 && R && A && je(A, R), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
819
- 139264 && I && A && Fe(A, I), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
820
- 163840 && O && A && Re(A, `${O}.Style`);
821
- }, [
822
- m,
823
- f,
824
- r,
825
- _,
826
- h,
827
- a,
828
- g,
829
- k,
830
- M,
831
- y,
832
- E,
833
- B,
834
- R,
835
- I,
836
- $,
837
- O,
838
- J,
839
- A,
840
- S,
841
- ee,
842
- N,
843
- H,
844
- V,
845
- ie,
846
- n,
847
- K,
848
- te,
849
- Z,
850
- ne,
851
- u,
852
- w,
853
- z,
854
- F,
855
- c,
856
- l,
857
- pe,
858
- we,
859
- ke,
860
- Le,
861
- ve
862
- ];
863
- }
864
- class et extends Me {
865
- constructor(e) {
866
- super(), Ee(
867
- this,
868
- e,
869
- $e,
870
- xe,
871
- Ae,
872
- {
873
- lang: 0,
874
- userid: 1,
875
- session: 2,
876
- endpoint: 3,
877
- currency: 4,
878
- apiversion: 5,
879
- tablabels: 29,
880
- historyenabled: 6,
881
- enablecompliancetext: 7,
882
- deletelimit: 8,
883
- limitsamount: 30,
884
- limitsperiods: 31,
885
- numberofentries: 9,
886
- customcurrencysymbols: 10,
887
- limitformat: 11,
888
- clientstyling: 12,
889
- clientstylingurl: 13,
890
- translationurl: 14,
891
- mbsource: 15,
892
- customcontentontab: 32
893
- },
894
- qe,
895
- [-1, -1]
896
- );
897
- }
898
- get lang() {
899
- return this.$$.ctx[0];
900
- }
901
- set lang(e) {
902
- this.$$set({ lang: e }), b();
903
- }
904
- get userid() {
905
- return this.$$.ctx[1];
906
- }
907
- set userid(e) {
908
- this.$$set({ userid: e }), b();
909
- }
910
- get session() {
911
- return this.$$.ctx[2];
912
- }
913
- set session(e) {
914
- this.$$set({ session: e }), b();
915
- }
916
- get endpoint() {
917
- return this.$$.ctx[3];
918
- }
919
- set endpoint(e) {
920
- this.$$set({ endpoint: e }), b();
921
- }
922
- get currency() {
923
- return this.$$.ctx[4];
924
- }
925
- set currency(e) {
926
- this.$$set({ currency: e }), b();
927
- }
928
- get apiversion() {
929
- return this.$$.ctx[5];
930
- }
931
- set apiversion(e) {
932
- this.$$set({ apiversion: e }), b();
933
- }
934
- get tablabels() {
935
- return this.$$.ctx[29];
936
- }
937
- set tablabels(e) {
938
- this.$$set({ tablabels: e }), b();
939
- }
940
- get historyenabled() {
941
- return this.$$.ctx[6];
942
- }
943
- set historyenabled(e) {
944
- this.$$set({ historyenabled: e }), b();
945
- }
946
- get enablecompliancetext() {
947
- return this.$$.ctx[7];
948
- }
949
- set enablecompliancetext(e) {
950
- this.$$set({ enablecompliancetext: e }), b();
951
- }
952
- get deletelimit() {
953
- return this.$$.ctx[8];
954
- }
955
- set deletelimit(e) {
956
- this.$$set({ deletelimit: e }), b();
957
- }
958
- get limitsamount() {
959
- return this.$$.ctx[30];
960
- }
961
- set limitsamount(e) {
962
- this.$$set({ limitsamount: e }), b();
963
- }
964
- get limitsperiods() {
965
- return this.$$.ctx[31];
966
- }
967
- set limitsperiods(e) {
968
- this.$$set({ limitsperiods: e }), b();
969
- }
970
- get numberofentries() {
971
- return this.$$.ctx[9];
972
- }
973
- set numberofentries(e) {
974
- this.$$set({ numberofentries: e }), b();
975
- }
976
- get customcurrencysymbols() {
977
- return this.$$.ctx[10];
978
- }
979
- set customcurrencysymbols(e) {
980
- this.$$set({ customcurrencysymbols: e }), b();
981
- }
982
- get limitformat() {
983
- return this.$$.ctx[11];
984
- }
985
- set limitformat(e) {
986
- this.$$set({ limitformat: e }), b();
987
- }
988
- get clientstyling() {
989
- return this.$$.ctx[12];
990
- }
991
- set clientstyling(e) {
992
- this.$$set({ clientstyling: e }), b();
993
- }
994
- get clientstylingurl() {
995
- return this.$$.ctx[13];
996
- }
997
- set clientstylingurl(e) {
998
- this.$$set({ clientstylingurl: e }), b();
999
- }
1000
- get translationurl() {
1001
- return this.$$.ctx[14];
1002
- }
1003
- set translationurl(e) {
1004
- this.$$set({ translationurl: e }), b();
1005
- }
1006
- get mbsource() {
1007
- return this.$$.ctx[15];
1008
- }
1009
- set mbsource(e) {
1010
- this.$$set({ mbsource: e }), b();
1011
- }
1012
- get customcontentontab() {
1013
- return this.$$.ctx[32];
1014
- }
1015
- set customcontentontab(e) {
1016
- this.$$set({ customcontentontab: e }), b();
1017
- }
1018
- }
1019
- Ie(et, { lang: {}, userid: {}, session: {}, endpoint: {}, currency: {}, apiversion: {}, tablabels: {}, historyenabled: {}, enablecompliancetext: {}, deletelimit: {}, limitsamount: {}, limitsperiods: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, customcontentontab: {} }, ["customTabContent"], [], !0);
1020
- export {
1021
- et as default
1022
- };