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