@everymatrix/player-account-gaming-limits-wrapper-2 1.44.0 → 1.45.2

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.
@@ -0,0 +1,844 @@
1
+ import { $ as Q, G as de, a as he, S as be, i as ye, f as _, c as pe, s as _e, b as we, e as v, d as S, r as j, g as h, h as y, j as M, w as U, n as D, k, l as Le, H as ve, I as ke, o as Ee, E as A, v as ie, q as O, x as z, u as Me, z as ne, J as r, D as Te } from "./PlayerAccountGamingLimitsHistory2-D27aKXo9.js";
2
+ function Ce({ withLocale: i, translations: e }) {
3
+ Q.subscribe((t) => {
4
+ t == null && (de.set(e), Q.set(i));
5
+ });
6
+ }
7
+ function Ge(i, e) {
8
+ he(i, e);
9
+ }
10
+ const X = {
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
+ };
42
+ if (typeof window != "undefined") {
43
+ let i = function(e) {
44
+ return function(...t) {
45
+ try {
46
+ return e.apply(this, t);
47
+ } catch (n) {
48
+ 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"))
49
+ return !1;
50
+ throw n;
51
+ }
52
+ };
53
+ };
54
+ customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsPage2Gm16-DFu-l6yV.js").then(({ default: e }) => {
55
+ !customElements.get("player-account-gaming-limits-page-2-gm16") && customElements.define(
56
+ "player-account-gaming-limits-page-2-gm16",
57
+ e.element
58
+ );
59
+ });
60
+ }
61
+ if (typeof window != "undefined") {
62
+ let i = function(e) {
63
+ return function(...t) {
64
+ try {
65
+ return e.apply(this, t);
66
+ } catch (n) {
67
+ 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"))
68
+ return !1;
69
+ throw n;
70
+ }
71
+ };
72
+ };
73
+ customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsHistory2-D27aKXo9.js").then((e) => e.P).then(({ default: e }) => {
74
+ !customElements.get("player-account-gaming-limits-history-2") && customElements.define(
75
+ "player-account-gaming-limits-history-2",
76
+ e.element
77
+ );
78
+ });
79
+ }
80
+ const { document: Ae } = Ee;
81
+ function De(i) {
82
+ we(i, "svelte-1l04dxf", ':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(--emfe-w-color-gray-300, #58586B);justify-content:center;background:var(--emfe-w-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(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C))}.GamingLimitsTitle{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));font-weight:400}.GamingLimitsTitleMobile{font-size:16px}.GamingLimitsTitleNone{display:none}.selected{border-bottom:0.2rem solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));margin:0}');
83
+ }
84
+ function Y(i, e, t) {
85
+ const n = i.slice();
86
+ return n[40] = e[t], n[42] = t, n;
87
+ }
88
+ function x(i, e, t) {
89
+ const n = i.slice();
90
+ return n[43] = e[t], n[42] = t, n;
91
+ }
92
+ function Se(i) {
93
+ let e, t, n, l, a, m, c, u, o, g, f = (
94
+ /*$_*/
95
+ i[21]("title") + ""
96
+ ), L, E, b;
97
+ return {
98
+ c() {
99
+ e = v("div"), t = A("svg"), n = A("defs"), l = A("style"), a = j(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-pink-500, #D0046C));}"), m = A("g"), c = A("g"), u = A("path"), o = S(), g = v("h2"), L = j(f), h(u, "class", "aaa"), h(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), h(u, "transform", "translate(15 15) rotate(180)"), h(c, "transform", "translate(20 158)"), h(m, "transform", "translate(-20 -158)"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "15"), h(t, "height", "15"), h(t, "viewBox", "0 0 15 15"), h(g, "class", "GamingLimitsTitleMobile"), h(e, "class", "MenuReturnButton"), h(e, "part", "MenuReturnButton");
100
+ },
101
+ m(d, w) {
102
+ M(d, e, w), y(e, t), y(t, n), y(n, l), y(l, a), y(t, m), y(m, c), y(c, u), y(e, o), y(e, g), y(g, L), E || (b = ie(
103
+ e,
104
+ "click",
105
+ /*click_handler*/
106
+ i[29]
107
+ ), E = !0);
108
+ },
109
+ p(d, w) {
110
+ w[0] & /*$_*/
111
+ 2097152 && f !== (f = /*$_*/
112
+ d[21]("title") + "") && U(L, f);
113
+ },
114
+ d(d) {
115
+ d && k(e), E = !1, b();
116
+ }
117
+ };
118
+ }
119
+ function We(i) {
120
+ let e, t, n, l, a = (
121
+ /*limitTabs*/
122
+ i[22].length > 1 && Re(i)
123
+ ), m = z(
124
+ /*limitTabs*/
125
+ i[22]
126
+ ), c = [];
127
+ for (let o = 0; o < m.length; o += 1)
128
+ c[o] = ee(Y(i, m, o));
129
+ let u = (
130
+ /*historyenabled*/
131
+ i[6] === "true" && te(i)
132
+ );
133
+ return {
134
+ c() {
135
+ a && a.c(), e = S(), t = v("div");
136
+ for (let o = 0; o < c.length; o += 1)
137
+ c[o].c();
138
+ n = S(), u && u.c(), l = Me(), h(t, "class", "PlayerAccountGamingLmitsWrapper2");
139
+ },
140
+ m(o, g) {
141
+ a && a.m(o, g), M(o, e, g), M(o, t, g);
142
+ for (let f = 0; f < c.length; f += 1)
143
+ c[f] && c[f].m(t, null);
144
+ i[32](t), M(o, n, g), u && u.m(o, g), M(o, l, g);
145
+ },
146
+ p(o, g) {
147
+ if (
148
+ /*limitTabs*/
149
+ o[22].length > 1 && a.p(o, g), g[0] & /*lang, currency, amountsArray, periodsArray, userid, deletelimit, enablecompliancetext, session, endpoint, apiversion, clientstyling, clientstylingurl, translationurl, customcurrencysymbols*/
150
+ 1588671
151
+ ) {
152
+ m = z(
153
+ /*limitTabs*/
154
+ o[22]
155
+ );
156
+ let f;
157
+ for (f = 0; f < m.length; f += 1) {
158
+ const L = Y(o, m, f);
159
+ c[f] ? c[f].p(L, g) : (c[f] = ee(L), c[f].c(), c[f].m(t, null));
160
+ }
161
+ for (; f < c.length; f += 1)
162
+ c[f].d(1);
163
+ c.length = m.length;
164
+ }
165
+ /*historyenabled*/
166
+ o[6] === "true" ? u ? u.p(o, g) : (u = te(o), u.c(), u.m(l.parentNode, l)) : u && (u.d(1), u = null);
167
+ },
168
+ d(o) {
169
+ o && (k(e), k(t), k(n), k(l)), a && a.d(o), ne(c, o), i[32](null), u && u.d(o);
170
+ }
171
+ };
172
+ }
173
+ function Pe(i) {
174
+ return { c: D, m: D, p: D, d: D };
175
+ }
176
+ function Re(i) {
177
+ let e, t = z(
178
+ /*limitTabs*/
179
+ i[22]
180
+ ), n = [];
181
+ for (let l = 0; l < t.length; l += 1)
182
+ n[l] = $(x(i, t, l));
183
+ return {
184
+ c() {
185
+ e = v("div");
186
+ for (let l = 0; l < n.length; l += 1)
187
+ n[l].c();
188
+ h(e, "class", "TabsContainer");
189
+ },
190
+ m(l, a) {
191
+ M(l, e, a);
192
+ for (let m = 0; m < n.length; m += 1)
193
+ n[m] && n[m].m(e, null);
194
+ i[31](e);
195
+ },
196
+ p(l, a) {
197
+ if (a[0] & /*selectTab, tabLabelArray, limitTabs*/
198
+ 21102592) {
199
+ t = z(
200
+ /*limitTabs*/
201
+ l[22]
202
+ );
203
+ let m;
204
+ for (m = 0; m < t.length; m += 1) {
205
+ const c = x(l, t, m);
206
+ n[m] ? n[m].p(c, a) : (n[m] = $(c), n[m].c(), n[m].m(e, null));
207
+ }
208
+ for (; m < n.length; m += 1)
209
+ n[m].d(1);
210
+ n.length = t.length;
211
+ }
212
+ },
213
+ d(l) {
214
+ l && k(e), ne(n, l), i[31](null);
215
+ }
216
+ };
217
+ }
218
+ function $(i) {
219
+ var c;
220
+ let e, t = (
221
+ /*tabLabelArray*/
222
+ ((c = i[17][
223
+ /*i*/
224
+ i[42]
225
+ ]) != null ? c : (
226
+ /*limit*/
227
+ i[43]
228
+ )) + ""
229
+ ), n, l, a;
230
+ function m() {
231
+ return (
232
+ /*click_handler_1*/
233
+ i[30](
234
+ /*i*/
235
+ i[42]
236
+ )
237
+ );
238
+ }
239
+ return {
240
+ c() {
241
+ e = v("div"), n = j(t), h(e, "class", "LimitsTab");
242
+ },
243
+ m(u, o) {
244
+ M(u, e, o), y(e, n), l || (a = ie(e, "click", m), l = !0);
245
+ },
246
+ p(u, o) {
247
+ var g;
248
+ i = u, o[0] & /*tabLabelArray*/
249
+ 131072 && t !== (t = /*tabLabelArray*/
250
+ ((g = i[17][
251
+ /*i*/
252
+ i[42]
253
+ ]) != null ? g : (
254
+ /*limit*/
255
+ i[43]
256
+ )) + "") && U(n, t);
257
+ },
258
+ d(u) {
259
+ u && k(e), l = !1, a();
260
+ }
261
+ };
262
+ }
263
+ function ee(i) {
264
+ let e, t, n;
265
+ return {
266
+ c() {
267
+ e = v("player-account-gaming-limits-page-2-gm16"), r(e, "class", "hidden selected"), r(
268
+ e,
269
+ "lang",
270
+ /*lang*/
271
+ i[0]
272
+ ), r(
273
+ e,
274
+ "currency",
275
+ /*currency*/
276
+ i[4]
277
+ ), r(e, "amountsconfig", t = /*amountsArray*/
278
+ i[19][
279
+ /*i*/
280
+ i[42]
281
+ ]), r(e, "periodsconfig", n = /*periodsArray*/
282
+ i[20][
283
+ /*i*/
284
+ i[42]
285
+ ]), r(
286
+ e,
287
+ "limittabindex",
288
+ /*i*/
289
+ i[42] + 1
290
+ ), r(
291
+ e,
292
+ "userid",
293
+ /*userid*/
294
+ i[1]
295
+ ), r(
296
+ e,
297
+ "deletelimit",
298
+ /*deletelimit*/
299
+ i[8]
300
+ ), r(
301
+ e,
302
+ "enablecompliancetext",
303
+ /*enablecompliancetext*/
304
+ i[7]
305
+ ), r(
306
+ e,
307
+ "session",
308
+ /*session*/
309
+ i[2]
310
+ ), r(
311
+ e,
312
+ "endpoint",
313
+ /*endpoint*/
314
+ i[3]
315
+ ), r(
316
+ e,
317
+ "apiversion",
318
+ /*apiversion*/
319
+ i[5]
320
+ ), r(
321
+ e,
322
+ "clientstyling",
323
+ /*clientstyling*/
324
+ i[11]
325
+ ), r(
326
+ e,
327
+ "clientstylingurl",
328
+ /*clientstylingurl*/
329
+ i[12]
330
+ ), r(
331
+ e,
332
+ "translationurl",
333
+ /*translationurl*/
334
+ i[13]
335
+ ), r(
336
+ e,
337
+ "customcurrencysymbols",
338
+ /*customcurrencysymbols*/
339
+ i[10]
340
+ );
341
+ },
342
+ m(l, a) {
343
+ M(l, e, a);
344
+ },
345
+ p(l, a) {
346
+ a[0] & /*lang*/
347
+ 1 && r(
348
+ e,
349
+ "lang",
350
+ /*lang*/
351
+ l[0]
352
+ ), a[0] & /*currency*/
353
+ 16 && r(
354
+ e,
355
+ "currency",
356
+ /*currency*/
357
+ l[4]
358
+ ), a[0] & /*amountsArray*/
359
+ 524288 && t !== (t = /*amountsArray*/
360
+ l[19][
361
+ /*i*/
362
+ l[42]
363
+ ]) && r(e, "amountsconfig", t), a[0] & /*periodsArray*/
364
+ 1048576 && n !== (n = /*periodsArray*/
365
+ l[20][
366
+ /*i*/
367
+ l[42]
368
+ ]) && r(e, "periodsconfig", n), a[0] & /*userid*/
369
+ 2 && r(
370
+ e,
371
+ "userid",
372
+ /*userid*/
373
+ l[1]
374
+ ), a[0] & /*deletelimit*/
375
+ 256 && r(
376
+ e,
377
+ "deletelimit",
378
+ /*deletelimit*/
379
+ l[8]
380
+ ), a[0] & /*enablecompliancetext*/
381
+ 128 && r(
382
+ e,
383
+ "enablecompliancetext",
384
+ /*enablecompliancetext*/
385
+ l[7]
386
+ ), a[0] & /*session*/
387
+ 4 && r(
388
+ e,
389
+ "session",
390
+ /*session*/
391
+ l[2]
392
+ ), a[0] & /*endpoint*/
393
+ 8 && r(
394
+ e,
395
+ "endpoint",
396
+ /*endpoint*/
397
+ l[3]
398
+ ), a[0] & /*apiversion*/
399
+ 32 && r(
400
+ e,
401
+ "apiversion",
402
+ /*apiversion*/
403
+ l[5]
404
+ ), a[0] & /*clientstyling*/
405
+ 2048 && r(
406
+ e,
407
+ "clientstyling",
408
+ /*clientstyling*/
409
+ l[11]
410
+ ), a[0] & /*clientstylingurl*/
411
+ 4096 && r(
412
+ e,
413
+ "clientstylingurl",
414
+ /*clientstylingurl*/
415
+ l[12]
416
+ ), a[0] & /*translationurl*/
417
+ 8192 && r(
418
+ e,
419
+ "translationurl",
420
+ /*translationurl*/
421
+ l[13]
422
+ ), a[0] & /*customcurrencysymbols*/
423
+ 1024 && r(
424
+ e,
425
+ "customcurrencysymbols",
426
+ /*customcurrencysymbols*/
427
+ l[10]
428
+ );
429
+ },
430
+ d(l) {
431
+ l && k(e);
432
+ }
433
+ };
434
+ }
435
+ function te(i) {
436
+ let e;
437
+ return {
438
+ c() {
439
+ e = v("player-account-gaming-limits-history-2"), r(
440
+ e,
441
+ "lang",
442
+ /*lang*/
443
+ i[0]
444
+ ), r(
445
+ e,
446
+ "userid",
447
+ /*userid*/
448
+ i[1]
449
+ ), r(
450
+ e,
451
+ "session",
452
+ /*session*/
453
+ i[2]
454
+ ), r(
455
+ e,
456
+ "endpoint",
457
+ /*endpoint*/
458
+ i[3]
459
+ ), r(
460
+ e,
461
+ "apiversion",
462
+ /*apiversion*/
463
+ i[5]
464
+ ), r(
465
+ e,
466
+ "numberofentries",
467
+ /*numberofentries*/
468
+ i[9]
469
+ ), r(
470
+ e,
471
+ "clientstyling",
472
+ /*clientstyling*/
473
+ i[11]
474
+ ), r(
475
+ e,
476
+ "clientstylingurl",
477
+ /*clientstylingurl*/
478
+ i[12]
479
+ ), r(
480
+ e,
481
+ "translationurl",
482
+ /*translationurl*/
483
+ i[13]
484
+ ), r(
485
+ e,
486
+ "customcurrencysymbols",
487
+ /*customcurrencysymbols*/
488
+ i[10]
489
+ );
490
+ },
491
+ m(t, n) {
492
+ M(t, e, n);
493
+ },
494
+ p(t, n) {
495
+ n[0] & /*lang*/
496
+ 1 && r(
497
+ e,
498
+ "lang",
499
+ /*lang*/
500
+ t[0]
501
+ ), n[0] & /*userid*/
502
+ 2 && r(
503
+ e,
504
+ "userid",
505
+ /*userid*/
506
+ t[1]
507
+ ), n[0] & /*session*/
508
+ 4 && r(
509
+ e,
510
+ "session",
511
+ /*session*/
512
+ t[2]
513
+ ), n[0] & /*endpoint*/
514
+ 8 && r(
515
+ e,
516
+ "endpoint",
517
+ /*endpoint*/
518
+ t[3]
519
+ ), n[0] & /*apiversion*/
520
+ 32 && r(
521
+ e,
522
+ "apiversion",
523
+ /*apiversion*/
524
+ t[5]
525
+ ), n[0] & /*numberofentries*/
526
+ 512 && r(
527
+ e,
528
+ "numberofentries",
529
+ /*numberofentries*/
530
+ t[9]
531
+ ), n[0] & /*clientstyling*/
532
+ 2048 && r(
533
+ e,
534
+ "clientstyling",
535
+ /*clientstyling*/
536
+ t[11]
537
+ ), n[0] & /*clientstylingurl*/
538
+ 4096 && r(
539
+ e,
540
+ "clientstylingurl",
541
+ /*clientstylingurl*/
542
+ t[12]
543
+ ), n[0] & /*translationurl*/
544
+ 8192 && r(
545
+ e,
546
+ "translationurl",
547
+ /*translationurl*/
548
+ t[13]
549
+ ), n[0] & /*customcurrencysymbols*/
550
+ 1024 && r(
551
+ e,
552
+ "customcurrencysymbols",
553
+ /*customcurrencysymbols*/
554
+ t[10]
555
+ );
556
+ },
557
+ d(t) {
558
+ t && k(e);
559
+ }
560
+ };
561
+ }
562
+ function je(i) {
563
+ let e, t, n, l, a, m, c, u = (
564
+ /*$_*/
565
+ i[21]("title") + ""
566
+ ), o, g, f = (
567
+ /*isMobile*/
568
+ i[23] && Se(i)
569
+ );
570
+ function L(d, w) {
571
+ return (
572
+ /*isLoading*/
573
+ d[14] ? Pe : We
574
+ );
575
+ }
576
+ let E = L(i), b = E(i);
577
+ return {
578
+ c() {
579
+ e = v("meta"), t = S(), n = v("div"), l = v("div"), a = v("div"), f && f.c(), m = S(), c = v("h2"), o = j(u), g = S(), b.c(), h(e, "name", "viewport"), h(e, "content", "width=device-width, initial-scale=1"), h(c, "class", "GamingLimitsTitle " + /*isMobile*/
580
+ (i[23] ? "GamingLimitsTitleNone" : "")), h(a, "class", "TitleSection"), h(l, "class", "GamingLimitsWrapper " + /*isMobile*/
581
+ (i[23] ? "GamingLimitsWrapperMobile" : ""));
582
+ },
583
+ m(d, w) {
584
+ y(Ae.head, e), M(d, t, w), M(d, n, w), y(n, l), y(l, a), f && f.m(a, null), y(a, m), y(a, c), y(c, o), y(l, g), b.m(l, null), i[33](n);
585
+ },
586
+ p(d, w) {
587
+ /*isMobile*/
588
+ d[23] && f.p(d, w), w[0] & /*$_*/
589
+ 2097152 && u !== (u = /*$_*/
590
+ d[21]("title") + "") && U(o, u), E === (E = L(d)) && b ? b.p(d, w) : (b.d(1), b = E(d), b && (b.c(), b.m(l, null)));
591
+ },
592
+ i: D,
593
+ o: D,
594
+ d(d) {
595
+ d && (k(t), k(n)), k(e), f && f.d(), b.d(), i[33](null);
596
+ }
597
+ };
598
+ }
599
+ function ze(i, e, t) {
600
+ let n;
601
+ Le(i, Te, (s) => t(21, n = s));
602
+ let { lang: l = "" } = e, { userid: a = "" } = e, { session: m = "" } = e, { endpoint: c = "" } = e, { currency: u = "" } = e, { apiversion: o = "" } = e, { tablabels: g = "" } = e, { historyenabled: f = "true" } = e, { enablecompliancetext: L = "false" } = e, { deletelimit: E = "" } = e, { limitsamount: b = "" } = e, { limitsperiods: d = "" } = e, { numberofentries: w = "" } = e, { customcurrencysymbols: q = "" } = e, { clientstyling: W = "" } = e, { clientstylingurl: P = "" } = e, { translationurl: J = "" } = e;
603
+ Ce({ withLocale: "en", translations: {} });
604
+ let F = !0, G, B = [], V, C, T, R, H, le = window.navigator.userAgent, Z = ve(le) !== "PC";
605
+ Object.keys(X).forEach((s) => {
606
+ Ge(s, X[s]);
607
+ });
608
+ const se = (s, p) => {
609
+ if (t(19, R = s.replace(/\s/g, "").split("|")), t(20, H = p.replace(/\s/g, "").split("|")), R.length === 0)
610
+ throw new Error("Please provide a full limits configuration.");
611
+ if (R.length !== H.length)
612
+ throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.");
613
+ }, re = () => {
614
+ se(b, d), b.split("|").forEach((p) => {
615
+ B.includes(p) || B.push(p);
616
+ }), t(17, V = g.split(",").map((p) => p.trim())), t(14, F = !1);
617
+ }, N = (s) => {
618
+ if (C.children.length > 0)
619
+ for (let p = 0; p < C.children.length; p++)
620
+ s === p ? (C.children[p].classList.remove("hidden"), T == null || T.children[p].classList.add("selected")) : (C.children[p].classList.add("hidden"), T == null || T.children[p].classList.remove("selected"));
621
+ }, K = () => {
622
+ window.postMessage(
623
+ {
624
+ type: "PlayerAccountMenuActive",
625
+ isMobile: Z
626
+ },
627
+ window.location.href
628
+ );
629
+ }, ae = () => {
630
+ let s = document.createElement("style");
631
+ s.innerHTML = W, G.appendChild(s);
632
+ }, oe = () => {
633
+ let s = new URL(P), p = document.createElement("style");
634
+ fetch(s.href).then((I) => I.text()).then((I) => {
635
+ p.innerHTML = I, setTimeout(
636
+ () => {
637
+ G.appendChild(p);
638
+ },
639
+ 1
640
+ );
641
+ });
642
+ };
643
+ ke(() => () => {
644
+ t(16, C = null), t(18, T = null);
645
+ });
646
+ const me = () => K(), ce = (s) => N(s);
647
+ function ue(s) {
648
+ O[s ? "unshift" : "push"](() => {
649
+ T = s, t(18, T);
650
+ });
651
+ }
652
+ function fe(s) {
653
+ O[s ? "unshift" : "push"](() => {
654
+ C = s, t(16, C);
655
+ });
656
+ }
657
+ function ge(s) {
658
+ O[s ? "unshift" : "push"](() => {
659
+ G = s, t(15, G);
660
+ });
661
+ }
662
+ return i.$$set = (s) => {
663
+ "lang" in s && t(0, l = s.lang), "userid" in s && t(1, a = s.userid), "session" in s && t(2, m = s.session), "endpoint" in s && t(3, c = s.endpoint), "currency" in s && t(4, u = s.currency), "apiversion" in s && t(5, o = s.apiversion), "tablabels" in s && t(26, g = s.tablabels), "historyenabled" in s && t(6, f = s.historyenabled), "enablecompliancetext" in s && t(7, L = s.enablecompliancetext), "deletelimit" in s && t(8, E = s.deletelimit), "limitsamount" in s && t(27, b = s.limitsamount), "limitsperiods" in s && t(28, d = s.limitsperiods), "numberofentries" in s && t(9, w = s.numberofentries), "customcurrencysymbols" in s && t(10, q = s.customcurrencysymbols), "clientstyling" in s && t(11, W = s.clientstyling), "clientstylingurl" in s && t(12, P = s.clientstylingurl), "translationurl" in s && t(13, J = s.translationurl);
664
+ }, i.$$.update = () => {
665
+ i.$$.dirty[0] & /*userid, session, endpoint, tablabels, lang, apiversion*/
666
+ 67108911 && a && m && c && g && l && o && re(), i.$$.dirty[0] & /*mainContainer, isLoading*/
667
+ 81920 && C && !F && N(0), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
668
+ 36864 && P && G && oe(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
669
+ 34816 && W && G && ae();
670
+ }, [
671
+ l,
672
+ a,
673
+ m,
674
+ c,
675
+ u,
676
+ o,
677
+ f,
678
+ L,
679
+ E,
680
+ w,
681
+ q,
682
+ W,
683
+ P,
684
+ J,
685
+ F,
686
+ G,
687
+ C,
688
+ V,
689
+ T,
690
+ R,
691
+ H,
692
+ n,
693
+ B,
694
+ Z,
695
+ N,
696
+ K,
697
+ g,
698
+ b,
699
+ d,
700
+ me,
701
+ ce,
702
+ ue,
703
+ fe,
704
+ ge
705
+ ];
706
+ }
707
+ class Fe extends be {
708
+ constructor(e) {
709
+ super(), ye(
710
+ this,
711
+ e,
712
+ ze,
713
+ je,
714
+ _e,
715
+ {
716
+ lang: 0,
717
+ userid: 1,
718
+ session: 2,
719
+ endpoint: 3,
720
+ currency: 4,
721
+ apiversion: 5,
722
+ tablabels: 26,
723
+ historyenabled: 6,
724
+ enablecompliancetext: 7,
725
+ deletelimit: 8,
726
+ limitsamount: 27,
727
+ limitsperiods: 28,
728
+ numberofentries: 9,
729
+ customcurrencysymbols: 10,
730
+ clientstyling: 11,
731
+ clientstylingurl: 12,
732
+ translationurl: 13
733
+ },
734
+ De,
735
+ [-1, -1]
736
+ );
737
+ }
738
+ get lang() {
739
+ return this.$$.ctx[0];
740
+ }
741
+ set lang(e) {
742
+ this.$$set({ lang: e }), _();
743
+ }
744
+ get userid() {
745
+ return this.$$.ctx[1];
746
+ }
747
+ set userid(e) {
748
+ this.$$set({ userid: e }), _();
749
+ }
750
+ get session() {
751
+ return this.$$.ctx[2];
752
+ }
753
+ set session(e) {
754
+ this.$$set({ session: e }), _();
755
+ }
756
+ get endpoint() {
757
+ return this.$$.ctx[3];
758
+ }
759
+ set endpoint(e) {
760
+ this.$$set({ endpoint: e }), _();
761
+ }
762
+ get currency() {
763
+ return this.$$.ctx[4];
764
+ }
765
+ set currency(e) {
766
+ this.$$set({ currency: e }), _();
767
+ }
768
+ get apiversion() {
769
+ return this.$$.ctx[5];
770
+ }
771
+ set apiversion(e) {
772
+ this.$$set({ apiversion: e }), _();
773
+ }
774
+ get tablabels() {
775
+ return this.$$.ctx[26];
776
+ }
777
+ set tablabels(e) {
778
+ this.$$set({ tablabels: e }), _();
779
+ }
780
+ get historyenabled() {
781
+ return this.$$.ctx[6];
782
+ }
783
+ set historyenabled(e) {
784
+ this.$$set({ historyenabled: e }), _();
785
+ }
786
+ get enablecompliancetext() {
787
+ return this.$$.ctx[7];
788
+ }
789
+ set enablecompliancetext(e) {
790
+ this.$$set({ enablecompliancetext: e }), _();
791
+ }
792
+ get deletelimit() {
793
+ return this.$$.ctx[8];
794
+ }
795
+ set deletelimit(e) {
796
+ this.$$set({ deletelimit: e }), _();
797
+ }
798
+ get limitsamount() {
799
+ return this.$$.ctx[27];
800
+ }
801
+ set limitsamount(e) {
802
+ this.$$set({ limitsamount: e }), _();
803
+ }
804
+ get limitsperiods() {
805
+ return this.$$.ctx[28];
806
+ }
807
+ set limitsperiods(e) {
808
+ this.$$set({ limitsperiods: e }), _();
809
+ }
810
+ get numberofentries() {
811
+ return this.$$.ctx[9];
812
+ }
813
+ set numberofentries(e) {
814
+ this.$$set({ numberofentries: e }), _();
815
+ }
816
+ get customcurrencysymbols() {
817
+ return this.$$.ctx[10];
818
+ }
819
+ set customcurrencysymbols(e) {
820
+ this.$$set({ customcurrencysymbols: e }), _();
821
+ }
822
+ get clientstyling() {
823
+ return this.$$.ctx[11];
824
+ }
825
+ set clientstyling(e) {
826
+ this.$$set({ clientstyling: e }), _();
827
+ }
828
+ get clientstylingurl() {
829
+ return this.$$.ctx[12];
830
+ }
831
+ set clientstylingurl(e) {
832
+ this.$$set({ clientstylingurl: e }), _();
833
+ }
834
+ get translationurl() {
835
+ return this.$$.ctx[13];
836
+ }
837
+ set translationurl(e) {
838
+ this.$$set({ translationurl: e }), _();
839
+ }
840
+ }
841
+ pe(Fe, { lang: {}, userid: {}, session: {}, endpoint: {}, currency: {}, apiversion: {}, tablabels: {}, historyenabled: {}, enablecompliancetext: {}, deletelimit: {}, limitsamount: {}, limitsperiods: {}, numberofentries: {}, customcurrencysymbols: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
842
+ export {
843
+ Fe as default
844
+ };