@everymatrix/player-account-controller 1.77.3 → 1.77.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountController-CKu3wcId.js → PlayerAccountController-CeAjCK-4.js} +1 -1
- package/components/{PlayerAccountController-BipA5dT6.js → PlayerAccountController-CeK42iNT.js} +1 -1
- package/components/{PlayerAccountController-DHJKvnkw.cjs → PlayerAccountController-CupG-4QY.cjs} +1 -1
- package/components/{PlayerBonusHistory-lpeT2J9D.js → PlayerBonusHistory-573Mtg32.js} +265 -259
- package/components/{PlayerBonusHistory-BFgaaZQO.js → PlayerBonusHistory-CSS5DGAr.js} +256 -250
- package/components/PlayerBonusHistory-DDbZnKib.cjs +4 -0
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/components/PlayerBonusHistory-BeQ79kna.cjs +0 -4
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { f as K, s as
|
|
1
|
+
import { a as Ue, $ as Ye, S as Ze, i as Xe, s as Je, f as A, b as Ke, n as de, d as L, c as se, g as a, h as I, j as m, l as ee, k as w, m as S, t as R, e as b, p as Qe, q as xe, u as $e, v as ae, w as ue, H as ce, C as ie, D as Pe, r as et, x as tt, y as nt, z as at, A as st, B as rt } from "./GeneralLogout-CvdWFdpo.js";
|
|
2
|
+
import { f as K, s as ot, p as Be, e as lt, a as it } from "./PlayerAccountGamingLimitsGroupEdit-w-LPEUKA.js";
|
|
3
3
|
import "./PlayerActiveBonuses-Dom1cSd6.js";
|
|
4
4
|
import "./PlayerAccountProductRestriction-DP9gaWug.js";
|
|
5
|
-
function
|
|
6
|
-
|
|
5
|
+
function ve(t, e) {
|
|
6
|
+
Ue(t, e);
|
|
7
7
|
}
|
|
8
8
|
function ut(t) {
|
|
9
|
-
|
|
9
|
+
Ye.set(t);
|
|
10
10
|
}
|
|
11
|
-
const
|
|
11
|
+
const we = {
|
|
12
12
|
en: {
|
|
13
13
|
titleBonusesHistory: "Bonus History",
|
|
14
14
|
dateFrom: "From:",
|
|
@@ -88,43 +88,43 @@ const ke = {
|
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
90
|
function dt(t) {
|
|
91
|
-
|
|
91
|
+
Ke(t, "svelte-18j72sv", '.BonusesWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--color-typography-cotrast, #444444);padding:50px;max-width:850px}.BonusesWrapper.BonusesWrapperMobile{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:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusesTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.BonusesTitleMobile{font-size:var(--emw--size-standard, 16px)}.BonusesTitleNone{display:none}.BonusCalendarWrapper{display:flex;gap:15px;padding-bottom:30px;align-items:center}.BonusCalendarWrapper.BonusCalendarWrapperMobile{flex-direction:column;gap:10px;padding-bottom:15px}.BonusesCalendarContainer{display:flex;gap:20px}.BonusesCalendarContainer.BonusesCalendarContainerMobile{flex-direction:row;gap:0;justify-content:space-between;padding-bottom:0;width:100%}.BonusesCalendarStartDate,.BonusesCalendarEndDate{color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;align-items:center;gap:10px}.BonusesCalendarStartDate.BonusesCalendarMobile,.BonusesCalendarEndDate.BonusesCalendarMobile{flex-direction:column;align-items:flex-start;gap:5px;width:48%}.BonusesCalendarStartDate.BonusesCalendarMobile .VaadinDatePicker,.BonusesCalendarEndDate.BonusesCalendarMobile .VaadinDatePicker{width:100%;border-radius:var(--emw--border-radius-large, 10px)}.BonusesCalendarStartDate label,.BonusesCalendarEndDate label{font-size:var(--emw--font-size-small, 14px);font-weight:300}.BonusesCalendarStartDate input,.BonusesCalendarEndDate input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:var(--emw--border-radius-small, 5px);box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px;outline-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusesCalendarFilter{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);color:var(--emw--button-text-color, #FFFFFF);border-radius:var(--emw--button-border-radius, 10px);cursor:pointer;width:120px;height:40px;font-size:var(--emw--font-size-medium, 15px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;outline:none}.BonusesCalendarFilter.BonusesCalendarFilterMobile{width:100%;height:44px}.BonusesCalendarFilter:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusesCalendarFilter:disabled{background-image:none;background-color:var(--emw--button-disabled-text-color, #cccccc);color:var(--emw--button-disabled-text-color, #666);cursor:not-allowed;opacity:0.7;pointer-events:none;border:2px solid var(--emw--button-disabled-border-color, #aaaaaa)}.BonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px;border-radius:var(--emw--border-radius-large, 10px)}.BonusesGrid.BonusesGridMobile{grid-template-columns:1fr;gap:20px}.BonusesPaginationWrapper{margin:40px 0;display:block;line-break:anywhere;line-height:2em}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--size-standard, 16px);cursor:pointer;padding:5px 10px;font-weight:var(--emw--font-weight-bold, 700)}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:var(--emw--color-gray-100, #E6E6E6);cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:var(--emw--color-typography-cotrast, #444444);font-size:var(--emw--size-standard, 16px);cursor:pointer;padding:5px 10px;white-space:nowrap}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emw--color-white, #FFFFFF);font-weight:var(--emw--font-weight-bold, 700)}.ModalLoader{width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function ke(t, e, n) {
|
|
94
94
|
const l = t.slice();
|
|
95
95
|
return l[57] = e[n], l[59] = n, l;
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function Fe(t, e, n) {
|
|
98
98
|
const l = t.slice();
|
|
99
99
|
return l[60] = e[n], l;
|
|
100
100
|
}
|
|
101
101
|
function ct(t) {
|
|
102
102
|
let e, n, l, s, u, o, p, r, d, B, c = (
|
|
103
103
|
/*$_*/
|
|
104
|
-
t[
|
|
105
|
-
),
|
|
104
|
+
t[26]("titleBonusesHistory") + ""
|
|
105
|
+
), y, F, P;
|
|
106
106
|
return {
|
|
107
107
|
c() {
|
|
108
|
-
e =
|
|
108
|
+
e = w("div"), n = ae("svg"), l = ae("defs"), s = ae("style"), u = R(`.aaa {
|
|
109
109
|
fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
|
|
110
110
|
}
|
|
111
|
-
`), o = ae("g"), p = ae("g"), r = ae("path"), d = S(), B =
|
|
111
|
+
`), o = ae("g"), p = ae("g"), r = ae("path"), d = S(), B = w("h2"), y = R(c), b(r, "class", "aaa"), b(r, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), b(r, "transform", "translate(15 15) rotate(180)"), b(p, "transform", "translate(20 158)"), b(o, "transform", "translate(-20 -158)"), b(n, "xmlns", "http://www.w3.org/2000/svg"), b(n, "width", "15"), b(n, "height", "15"), b(n, "viewBox", "0 0 15 15"), b(B, "class", "BonusesTitleMobile"), b(e, "class", "MenuReturnButton");
|
|
112
112
|
},
|
|
113
|
-
m(h,
|
|
114
|
-
I(h, e,
|
|
113
|
+
m(h, k) {
|
|
114
|
+
I(h, e, k), m(e, n), m(n, l), m(l, s), m(s, u), m(n, o), m(o, p), m(p, r), m(e, d), m(e, B), m(B, y), F || (P = ee(
|
|
115
115
|
e,
|
|
116
116
|
"click",
|
|
117
117
|
/*click_handler*/
|
|
118
118
|
t[35]
|
|
119
119
|
), F = !0);
|
|
120
120
|
},
|
|
121
|
-
p(h,
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
h[
|
|
121
|
+
p(h, k) {
|
|
122
|
+
k[0] & /*$_*/
|
|
123
|
+
67108864 && c !== (c = /*$_*/
|
|
124
|
+
h[26]("titleBonusesHistory") + "") && se(y, c);
|
|
125
125
|
},
|
|
126
126
|
d(h) {
|
|
127
|
-
h && L(e), F = !1,
|
|
127
|
+
h && L(e), F = !1, P();
|
|
128
128
|
}
|
|
129
129
|
};
|
|
130
130
|
}
|
|
@@ -133,24 +133,24 @@ function mt(t) {
|
|
|
133
133
|
function s(r, d) {
|
|
134
134
|
return (
|
|
135
135
|
/*bonusesList*/
|
|
136
|
-
r[
|
|
136
|
+
r[22].length === 0 ? yt : ft
|
|
137
137
|
);
|
|
138
138
|
}
|
|
139
139
|
let u = s(t), o = u(t), p = (
|
|
140
140
|
/*bonusesList*/
|
|
141
|
-
t[
|
|
141
|
+
t[22].length !== 0 && Me(t)
|
|
142
142
|
);
|
|
143
143
|
return {
|
|
144
144
|
c() {
|
|
145
|
-
e =
|
|
146
|
-
(t[
|
|
145
|
+
e = w("div"), o.c(), n = S(), p && p.c(), l = ce(), b(e, "class", "BonusesGrid " + /*isMobile*/
|
|
146
|
+
(t[27] ? "BonusesGridMobile" : ""));
|
|
147
147
|
},
|
|
148
148
|
m(r, d) {
|
|
149
149
|
I(r, e, d), o.m(e, null), I(r, n, d), p && p.m(r, d), I(r, l, d);
|
|
150
150
|
},
|
|
151
151
|
p(r, d) {
|
|
152
152
|
u === (u = s(r)) && o ? o.p(r, d) : (o.d(1), o = u(r), o && (o.c(), o.m(e, null))), /*bonusesList*/
|
|
153
|
-
r[
|
|
153
|
+
r[22].length !== 0 ? p ? p.p(r, d) : (p = Me(r), p.c(), p.m(l.parentNode, l)) : p && (p.d(1), p = null);
|
|
154
154
|
},
|
|
155
155
|
d(r) {
|
|
156
156
|
r && (L(e), L(n), L(l)), o.d(), p && p.d(r);
|
|
@@ -161,7 +161,7 @@ function pt(t) {
|
|
|
161
161
|
let e;
|
|
162
162
|
return {
|
|
163
163
|
c() {
|
|
164
|
-
e =
|
|
164
|
+
e = w("div"), b(e, "class", "ModalLoader");
|
|
165
165
|
},
|
|
166
166
|
m(n, l) {
|
|
167
167
|
I(n, e, l);
|
|
@@ -175,10 +175,10 @@ function pt(t) {
|
|
|
175
175
|
function ft(t) {
|
|
176
176
|
let e, n = ie(
|
|
177
177
|
/*bonusesList*/
|
|
178
|
-
t[
|
|
178
|
+
t[22]
|
|
179
179
|
), l = [];
|
|
180
180
|
for (let s = 0; s < n.length; s += 1)
|
|
181
|
-
l[s] =
|
|
181
|
+
l[s] = Ce(Fe(t, n, s));
|
|
182
182
|
return {
|
|
183
183
|
c() {
|
|
184
184
|
for (let s = 0; s < l.length; s += 1)
|
|
@@ -192,15 +192,15 @@ function ft(t) {
|
|
|
192
192
|
},
|
|
193
193
|
p(s, u) {
|
|
194
194
|
if (u[0] & /*termsandconditionsdescription, termsandconditionsurl, termsandconditionsasset, bonusesList, lang, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale, dateformat*/
|
|
195
|
-
|
|
195
|
+
62914975) {
|
|
196
196
|
n = ie(
|
|
197
197
|
/*bonusesList*/
|
|
198
|
-
s[
|
|
198
|
+
s[22]
|
|
199
199
|
);
|
|
200
200
|
let o;
|
|
201
201
|
for (o = 0; o < n.length; o += 1) {
|
|
202
|
-
const p =
|
|
203
|
-
l[o] ? l[o].p(p, u) : (l[o] =
|
|
202
|
+
const p = Fe(s, n, o);
|
|
203
|
+
l[o] ? l[o].p(p, u) : (l[o] = Ce(p), l[o].c(), l[o].m(e.parentNode, e));
|
|
204
204
|
}
|
|
205
205
|
for (; o < l.length; o += 1)
|
|
206
206
|
l[o].d(1);
|
|
@@ -208,26 +208,26 @@ function ft(t) {
|
|
|
208
208
|
}
|
|
209
209
|
},
|
|
210
210
|
d(s) {
|
|
211
|
-
s && L(e),
|
|
211
|
+
s && L(e), Pe(l, s);
|
|
212
212
|
}
|
|
213
213
|
};
|
|
214
214
|
}
|
|
215
215
|
function yt(t) {
|
|
216
216
|
let e, n = (
|
|
217
217
|
/*$_*/
|
|
218
|
-
t[
|
|
218
|
+
t[26]("noBonusHistory") + ""
|
|
219
219
|
), l;
|
|
220
220
|
return {
|
|
221
221
|
c() {
|
|
222
|
-
e =
|
|
222
|
+
e = w("p"), l = R(n);
|
|
223
223
|
},
|
|
224
224
|
m(s, u) {
|
|
225
225
|
I(s, e, u), m(e, l);
|
|
226
226
|
},
|
|
227
227
|
p(s, u) {
|
|
228
228
|
u[0] & /*$_*/
|
|
229
|
-
|
|
230
|
-
s[
|
|
229
|
+
67108864 && n !== (n = /*$_*/
|
|
230
|
+
s[26]("noBonusHistory") + "") && se(l, n);
|
|
231
231
|
},
|
|
232
232
|
d(s) {
|
|
233
233
|
s && L(e);
|
|
@@ -238,21 +238,21 @@ function bt(t) {
|
|
|
238
238
|
let e, n, l, s, u, o, p, r, d, B;
|
|
239
239
|
return {
|
|
240
240
|
c() {
|
|
241
|
-
e =
|
|
241
|
+
e = w("player-bonus-card"), a(
|
|
242
242
|
e,
|
|
243
243
|
"termsandconditionsdescription",
|
|
244
244
|
/*termsandconditionsdescription*/
|
|
245
|
-
t[
|
|
245
|
+
t[25]
|
|
246
246
|
), a(
|
|
247
247
|
e,
|
|
248
248
|
"termsandconditionsurl",
|
|
249
249
|
/*termsandconditionsurl*/
|
|
250
|
-
t[
|
|
250
|
+
t[23]
|
|
251
251
|
), a(
|
|
252
252
|
e,
|
|
253
253
|
"termsandconditionsasset",
|
|
254
254
|
/*termsandconditionsasset*/
|
|
255
|
-
t[
|
|
255
|
+
t[24]
|
|
256
256
|
), a(e, "bonuswalletid", n = /*bonus*/
|
|
257
257
|
t[60].walletId), a(e, "bonusdate", l = /*bonus*/
|
|
258
258
|
t[60].granted), a(e, "bonusstatus", s = /*bonus*/
|
|
@@ -300,84 +300,84 @@ function bt(t) {
|
|
|
300
300
|
t[8]
|
|
301
301
|
);
|
|
302
302
|
},
|
|
303
|
-
m(c,
|
|
304
|
-
I(c, e,
|
|
303
|
+
m(c, y) {
|
|
304
|
+
I(c, e, y);
|
|
305
305
|
},
|
|
306
|
-
p(c,
|
|
307
|
-
|
|
308
|
-
|
|
306
|
+
p(c, y) {
|
|
307
|
+
y[0] & /*termsandconditionsdescription*/
|
|
308
|
+
33554432 && a(
|
|
309
309
|
e,
|
|
310
310
|
"termsandconditionsdescription",
|
|
311
311
|
/*termsandconditionsdescription*/
|
|
312
|
-
c[
|
|
313
|
-
),
|
|
314
|
-
|
|
312
|
+
c[25]
|
|
313
|
+
), y[0] & /*termsandconditionsurl*/
|
|
314
|
+
8388608 && a(
|
|
315
315
|
e,
|
|
316
316
|
"termsandconditionsurl",
|
|
317
317
|
/*termsandconditionsurl*/
|
|
318
|
-
c[
|
|
319
|
-
),
|
|
320
|
-
|
|
318
|
+
c[23]
|
|
319
|
+
), y[0] & /*termsandconditionsasset*/
|
|
320
|
+
16777216 && a(
|
|
321
321
|
e,
|
|
322
322
|
"termsandconditionsasset",
|
|
323
323
|
/*termsandconditionsasset*/
|
|
324
|
-
c[
|
|
325
|
-
),
|
|
326
|
-
|
|
327
|
-
c[60].walletId) && a(e, "bonuswalletid", n),
|
|
328
|
-
|
|
329
|
-
c[60].granted) && a(e, "bonusdate", l),
|
|
330
|
-
|
|
331
|
-
c[60].status) && a(e, "bonusstatus", s),
|
|
332
|
-
|
|
333
|
-
c[60].name) && a(e, "bonusname", u),
|
|
334
|
-
|
|
335
|
-
c[60].type) && a(e, "bonustype", o),
|
|
336
|
-
|
|
337
|
-
c[60].extension.grantedPlayerCurrencyAmount) && a(e, "bonusamount", p),
|
|
338
|
-
|
|
324
|
+
c[24]
|
|
325
|
+
), y[0] & /*bonusesList*/
|
|
326
|
+
4194304 && n !== (n = /*bonus*/
|
|
327
|
+
c[60].walletId) && a(e, "bonuswalletid", n), y[0] & /*bonusesList*/
|
|
328
|
+
4194304 && l !== (l = /*bonus*/
|
|
329
|
+
c[60].granted) && a(e, "bonusdate", l), y[0] & /*bonusesList*/
|
|
330
|
+
4194304 && s !== (s = /*bonus*/
|
|
331
|
+
c[60].status) && a(e, "bonusstatus", s), y[0] & /*bonusesList*/
|
|
332
|
+
4194304 && u !== (u = /*bonus*/
|
|
333
|
+
c[60].name) && a(e, "bonusname", u), y[0] & /*bonusesList*/
|
|
334
|
+
4194304 && o !== (o = /*bonus*/
|
|
335
|
+
c[60].type) && a(e, "bonustype", o), y[0] & /*bonusesList*/
|
|
336
|
+
4194304 && p !== (p = /*bonus*/
|
|
337
|
+
c[60].extension.grantedPlayerCurrencyAmount) && a(e, "bonusamount", p), y[0] & /*bonusesList*/
|
|
338
|
+
4194304 && r !== (r = `${/*bonus*/
|
|
339
339
|
c[60].fulfilledWR} / ${/*bonus*/
|
|
340
|
-
c[60].originalWageringRequirement}`) && a(e, "bonuswageringamount", r),
|
|
341
|
-
|
|
342
|
-
c[60].currentAmount) && a(e, "bonusremainingamount", d),
|
|
343
|
-
|
|
344
|
-
c[60].currency) && a(e, "bonuscurrency", B),
|
|
340
|
+
c[60].originalWageringRequirement}`) && a(e, "bonuswageringamount", r), y[0] & /*bonusesList*/
|
|
341
|
+
4194304 && d !== (d = /*bonus*/
|
|
342
|
+
c[60].currentAmount) && a(e, "bonusremainingamount", d), y[0] & /*bonusesList*/
|
|
343
|
+
4194304 && B !== (B = /*bonus*/
|
|
344
|
+
c[60].currency) && a(e, "bonuscurrency", B), y[0] & /*lang*/
|
|
345
345
|
1 && a(
|
|
346
346
|
e,
|
|
347
347
|
"lang",
|
|
348
348
|
/*lang*/
|
|
349
349
|
c[0]
|
|
350
|
-
),
|
|
350
|
+
), y[0] & /*clientstyling*/
|
|
351
351
|
2 && a(
|
|
352
352
|
e,
|
|
353
353
|
"clientstyling",
|
|
354
354
|
/*clientstyling*/
|
|
355
355
|
c[1]
|
|
356
|
-
),
|
|
356
|
+
), y[0] & /*clientstylingurl*/
|
|
357
357
|
4 && a(
|
|
358
358
|
e,
|
|
359
359
|
"clientstylingurl",
|
|
360
360
|
/*clientstylingurl*/
|
|
361
361
|
c[2]
|
|
362
|
-
),
|
|
362
|
+
), y[0] & /*mbsource*/
|
|
363
363
|
8 && a(
|
|
364
364
|
e,
|
|
365
365
|
"mbsource",
|
|
366
366
|
/*mbsource*/
|
|
367
367
|
c[3]
|
|
368
|
-
),
|
|
368
|
+
), y[0] & /*translationurl*/
|
|
369
369
|
16 && a(
|
|
370
370
|
e,
|
|
371
371
|
"translationurl",
|
|
372
372
|
/*translationurl*/
|
|
373
373
|
c[4]
|
|
374
|
-
),
|
|
374
|
+
), y[0] & /*currencylocale*/
|
|
375
375
|
128 && a(
|
|
376
376
|
e,
|
|
377
377
|
"currencylocale",
|
|
378
378
|
/*currencylocale*/
|
|
379
379
|
c[7]
|
|
380
|
-
),
|
|
380
|
+
), y[0] & /*dateformat*/
|
|
381
381
|
256 && a(
|
|
382
382
|
e,
|
|
383
383
|
"dateformat",
|
|
@@ -394,21 +394,21 @@ function gt(t) {
|
|
|
394
394
|
let e, n, l, s, u, o, p;
|
|
395
395
|
return {
|
|
396
396
|
c() {
|
|
397
|
-
e =
|
|
397
|
+
e = w("player-bonus-card"), a(
|
|
398
398
|
e,
|
|
399
399
|
"termsandconditionsdescription",
|
|
400
400
|
/*termsandconditionsdescription*/
|
|
401
|
-
t[
|
|
401
|
+
t[25]
|
|
402
402
|
), a(
|
|
403
403
|
e,
|
|
404
404
|
"termsandconditionsurl",
|
|
405
405
|
/*termsandconditionsurl*/
|
|
406
|
-
t[
|
|
406
|
+
t[23]
|
|
407
407
|
), a(
|
|
408
408
|
e,
|
|
409
409
|
"termsandconditionsasset",
|
|
410
410
|
/*termsandconditionsasset*/
|
|
411
|
-
t[
|
|
411
|
+
t[24]
|
|
412
412
|
), a(e, "bonuswalletid", n = /*bonus*/
|
|
413
413
|
t[60].walletId), a(e, "bonusdate", l = /*bonus*/
|
|
414
414
|
t[60].granted), a(e, "bonusstatus", s = /*bonus*/
|
|
@@ -457,35 +457,35 @@ function gt(t) {
|
|
|
457
457
|
},
|
|
458
458
|
p(r, d) {
|
|
459
459
|
d[0] & /*termsandconditionsdescription*/
|
|
460
|
-
|
|
460
|
+
33554432 && a(
|
|
461
461
|
e,
|
|
462
462
|
"termsandconditionsdescription",
|
|
463
463
|
/*termsandconditionsdescription*/
|
|
464
|
-
r[
|
|
464
|
+
r[25]
|
|
465
465
|
), d[0] & /*termsandconditionsurl*/
|
|
466
|
-
|
|
466
|
+
8388608 && a(
|
|
467
467
|
e,
|
|
468
468
|
"termsandconditionsurl",
|
|
469
469
|
/*termsandconditionsurl*/
|
|
470
|
-
r[
|
|
470
|
+
r[23]
|
|
471
471
|
), d[0] & /*termsandconditionsasset*/
|
|
472
|
-
|
|
472
|
+
16777216 && a(
|
|
473
473
|
e,
|
|
474
474
|
"termsandconditionsasset",
|
|
475
475
|
/*termsandconditionsasset*/
|
|
476
|
-
r[
|
|
476
|
+
r[24]
|
|
477
477
|
), d[0] & /*bonusesList*/
|
|
478
|
-
|
|
478
|
+
4194304 && n !== (n = /*bonus*/
|
|
479
479
|
r[60].walletId) && a(e, "bonuswalletid", n), d[0] & /*bonusesList*/
|
|
480
|
-
|
|
480
|
+
4194304 && l !== (l = /*bonus*/
|
|
481
481
|
r[60].granted) && a(e, "bonusdate", l), d[0] & /*bonusesList*/
|
|
482
|
-
|
|
482
|
+
4194304 && s !== (s = /*bonus*/
|
|
483
483
|
r[60].status) && a(e, "bonusstatus", s), d[0] & /*bonusesList*/
|
|
484
|
-
|
|
484
|
+
4194304 && u !== (u = /*bonus*/
|
|
485
485
|
r[60].name) && a(e, "bonusname", u), d[0] & /*bonusesList*/
|
|
486
|
-
|
|
486
|
+
4194304 && o !== (o = /*bonus*/
|
|
487
487
|
r[60].type) && a(e, "bonustype", o), d[0] & /*bonusesList*/
|
|
488
|
-
|
|
488
|
+
4194304 && p !== (p = /*bonus*/
|
|
489
489
|
r[60].currency) && a(e, "bonuscurrency", p), d[0] & /*lang*/
|
|
490
490
|
1 && a(
|
|
491
491
|
e,
|
|
@@ -535,7 +535,7 @@ function gt(t) {
|
|
|
535
535
|
}
|
|
536
536
|
};
|
|
537
537
|
}
|
|
538
|
-
function
|
|
538
|
+
function Ce(t) {
|
|
539
539
|
let e;
|
|
540
540
|
function n(u, o) {
|
|
541
541
|
return (
|
|
@@ -559,32 +559,32 @@ function Me(t) {
|
|
|
559
559
|
}
|
|
560
560
|
};
|
|
561
561
|
}
|
|
562
|
-
function
|
|
563
|
-
let e, n, l, s, u, o, p, r, d, B, c,
|
|
562
|
+
function Me(t) {
|
|
563
|
+
let e, n, l, s, u, o, p, r, d, B, c, y, F, P, h, k, C, z, O, H = ie(Array(
|
|
564
564
|
/*numberOfPages*/
|
|
565
|
-
t[
|
|
565
|
+
t[20]
|
|
566
566
|
)), g = [];
|
|
567
|
-
for (let
|
|
568
|
-
g[
|
|
567
|
+
for (let f = 0; f < H.length; f += 1)
|
|
568
|
+
g[f] = De(ke(t, H, f));
|
|
569
569
|
return {
|
|
570
570
|
c() {
|
|
571
|
-
e =
|
|
572
|
-
for (let
|
|
573
|
-
g[
|
|
574
|
-
B = S(), c =
|
|
575
|
-
(t[
|
|
576
|
-
(t[
|
|
577
|
-
(t[
|
|
578
|
-
t[
|
|
579
|
-
(t[
|
|
580
|
-
t[
|
|
581
|
-
(t[
|
|
571
|
+
e = w("div"), n = w("span"), l = R("|<"), u = S(), o = w("span"), p = R("<"), d = S();
|
|
572
|
+
for (let f = 0; f < g.length; f += 1)
|
|
573
|
+
g[f].c();
|
|
574
|
+
B = S(), c = w("span"), y = R(">"), P = S(), h = w("span"), k = R(">|"), b(n, "class", s = "BonusesFirst " + /*currentPage*/
|
|
575
|
+
(t[21] === 0 ? "Inactive" : "")), b(o, "class", r = "BonusesPrev " + /*currentPage*/
|
|
576
|
+
(t[21] === 0 ? "Inactive" : "")), b(c, "class", F = "BonusesNext " + /*currentPage*/
|
|
577
|
+
(t[21] === /*numberOfPages*/
|
|
578
|
+
t[20] - 1 ? "Inactive" : "")), b(h, "class", C = "BonusesLast " + /*currentPage*/
|
|
579
|
+
(t[21] === /*numberOfPages*/
|
|
580
|
+
t[20] - 1 ? "Inactive" : "")), b(e, "class", "BonusesPaginationWrapper " + /*isMobile*/
|
|
581
|
+
(t[27] ? "BonusesPaginationWrapperMobile" : ""));
|
|
582
582
|
},
|
|
583
|
-
m(
|
|
584
|
-
I(
|
|
583
|
+
m(f, E) {
|
|
584
|
+
I(f, e, E), m(e, n), m(n, l), m(e, u), m(e, o), m(o, p), m(e, d);
|
|
585
585
|
for (let _ = 0; _ < g.length; _ += 1)
|
|
586
586
|
g[_] && g[_].m(e, null);
|
|
587
|
-
m(e, B), m(e, c), m(c,
|
|
587
|
+
m(e, B), m(e, c), m(c, y), m(e, P), m(e, h), m(h, k), z || (O = [
|
|
588
588
|
ee(
|
|
589
589
|
n,
|
|
590
590
|
"click",
|
|
@@ -611,20 +611,20 @@ function Pe(t) {
|
|
|
611
611
|
)
|
|
612
612
|
], z = !0);
|
|
613
613
|
},
|
|
614
|
-
p(
|
|
614
|
+
p(f, E) {
|
|
615
615
|
if (E[0] & /*currentPage*/
|
|
616
|
-
|
|
617
|
-
(
|
|
618
|
-
|
|
619
|
-
(
|
|
620
|
-
|
|
616
|
+
2097152 && s !== (s = "BonusesFirst " + /*currentPage*/
|
|
617
|
+
(f[21] === 0 ? "Inactive" : "")) && b(n, "class", s), E[0] & /*currentPage*/
|
|
618
|
+
2097152 && r !== (r = "BonusesPrev " + /*currentPage*/
|
|
619
|
+
(f[21] === 0 ? "Inactive" : "")) && b(o, "class", r), E[0] & /*currentPage, getBonuses, bonushistorystatus, bonushistorytype, numberOfPages*/
|
|
620
|
+
1076887648) {
|
|
621
621
|
H = ie(Array(
|
|
622
622
|
/*numberOfPages*/
|
|
623
|
-
|
|
623
|
+
f[20]
|
|
624
624
|
));
|
|
625
625
|
let _;
|
|
626
626
|
for (_ = 0; _ < H.length; _ += 1) {
|
|
627
|
-
const T =
|
|
627
|
+
const T = ke(f, H, _);
|
|
628
628
|
g[_] ? g[_].p(T, E) : (g[_] = De(T), g[_].c(), g[_].m(e, B));
|
|
629
629
|
}
|
|
630
630
|
for (; _ < g.length; _ += 1)
|
|
@@ -632,15 +632,15 @@ function Pe(t) {
|
|
|
632
632
|
g.length = H.length;
|
|
633
633
|
}
|
|
634
634
|
E[0] & /*currentPage, numberOfPages*/
|
|
635
|
-
|
|
636
|
-
(
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
(
|
|
640
|
-
|
|
635
|
+
3145728 && F !== (F = "BonusesNext " + /*currentPage*/
|
|
636
|
+
(f[21] === /*numberOfPages*/
|
|
637
|
+
f[20] - 1 ? "Inactive" : "")) && b(c, "class", F), E[0] & /*currentPage, numberOfPages*/
|
|
638
|
+
3145728 && C !== (C = "BonusesLast " + /*currentPage*/
|
|
639
|
+
(f[21] === /*numberOfPages*/
|
|
640
|
+
f[20] - 1 ? "Inactive" : "")) && b(h, "class", C);
|
|
641
641
|
},
|
|
642
|
-
d(
|
|
643
|
-
|
|
642
|
+
d(f) {
|
|
643
|
+
f && L(e), Pe(g, f), z = !1, et(O);
|
|
644
644
|
}
|
|
645
645
|
};
|
|
646
646
|
}
|
|
@@ -660,18 +660,18 @@ function De(t) {
|
|
|
660
660
|
}
|
|
661
661
|
return {
|
|
662
662
|
c() {
|
|
663
|
-
e =
|
|
663
|
+
e = w("span"), l = R(n), b(e, "class", s = "BonusesPage " + /*i*/
|
|
664
664
|
(t[59] === /*currentPage*/
|
|
665
|
-
t[
|
|
665
|
+
t[21] ? "BonusPageActive" : ""));
|
|
666
666
|
},
|
|
667
667
|
m(r, d) {
|
|
668
668
|
I(r, e, d), m(e, l), u || (o = ee(e, "click", p), u = !0);
|
|
669
669
|
},
|
|
670
670
|
p(r, d) {
|
|
671
671
|
t = r, d[0] & /*currentPage*/
|
|
672
|
-
|
|
672
|
+
2097152 && s !== (s = "BonusesPage " + /*i*/
|
|
673
673
|
(t[59] === /*currentPage*/
|
|
674
|
-
t[
|
|
674
|
+
t[21] ? "BonusPageActive" : "")) && b(e, "class", s);
|
|
675
675
|
},
|
|
676
676
|
d(r) {
|
|
677
677
|
r && L(e), u = !1, o();
|
|
@@ -681,36 +681,36 @@ function De(t) {
|
|
|
681
681
|
function _t(t) {
|
|
682
682
|
let e, n, l, s, u = (
|
|
683
683
|
/*$_*/
|
|
684
|
-
t[
|
|
685
|
-
), o, p, r, d, B, c,
|
|
684
|
+
t[26]("titleBonusesHistory") + ""
|
|
685
|
+
), o, p, r, d, B, c, y = (
|
|
686
686
|
/*$_*/
|
|
687
|
-
t[
|
|
688
|
-
), F,
|
|
687
|
+
t[26]("dateFrom") + ""
|
|
688
|
+
), F, P, h, k, C, z, O = (
|
|
689
689
|
/*$_*/
|
|
690
|
-
t[
|
|
691
|
-
), H, g,
|
|
690
|
+
t[26]("dateTo") + ""
|
|
691
|
+
), H, g, f, E, _, T = (
|
|
692
692
|
/*$_*/
|
|
693
|
-
t[
|
|
693
|
+
t[26]("dateFilter") + ""
|
|
694
694
|
), V, Y, te, Q, ne, j = (
|
|
695
695
|
/*isMobile*/
|
|
696
|
-
t[
|
|
696
|
+
t[27] && ct(t)
|
|
697
697
|
);
|
|
698
|
-
function re(
|
|
698
|
+
function re(v, D) {
|
|
699
699
|
return (
|
|
700
700
|
/*isLoading*/
|
|
701
|
-
|
|
701
|
+
v[14] ? pt : mt
|
|
702
702
|
);
|
|
703
703
|
}
|
|
704
704
|
let Z = re(t), W = Z(t);
|
|
705
705
|
return {
|
|
706
706
|
c() {
|
|
707
|
-
e =
|
|
708
|
-
(t[
|
|
709
|
-
(t[
|
|
707
|
+
e = w("div"), n = w("div"), j && j.c(), l = S(), s = w("h2"), o = R(u), p = S(), r = w("div"), d = w("div"), B = w("div"), c = w("label"), F = R(y), P = S(), h = w("vaadin-date-picker"), k = S(), C = w("div"), z = w("label"), H = R(O), g = S(), f = w("vaadin-date-picker"), E = S(), _ = w("button"), V = R(T), te = S(), W.c(), b(s, "class", "BonusesTitle " + /*isMobile*/
|
|
708
|
+
(t[27] ? "BonusesTitleNone" : "")), b(s, "part", "BonusesTitle " + /*isMobile*/
|
|
709
|
+
(t[27] ? "BonusesTitleNone" : "")), b(c, "for", "BonusCalendarStartDate"), a(
|
|
710
710
|
h,
|
|
711
711
|
"max",
|
|
712
|
-
/*
|
|
713
|
-
t[
|
|
712
|
+
/*bonusCalendarDateMax*/
|
|
713
|
+
t[28]
|
|
714
714
|
), a(
|
|
715
715
|
h,
|
|
716
716
|
"value",
|
|
@@ -722,107 +722,113 @@ function _t(t) {
|
|
|
722
722
|
/*bonusCalendarStartDate*/
|
|
723
723
|
t[12]
|
|
724
724
|
), a(h, "class", "VaadinDatePicker"), b(B, "class", "BonusesCalendarStartDate " + /*isMobile*/
|
|
725
|
-
(t[
|
|
726
|
-
|
|
725
|
+
(t[27] ? "BonusesCalendarMobile" : "")), b(z, "for", "BonusesCalendarEndDate"), a(
|
|
726
|
+
f,
|
|
727
727
|
"max",
|
|
728
|
-
/*
|
|
729
|
-
t[
|
|
728
|
+
/*bonusCalendarDateMax*/
|
|
729
|
+
t[28]
|
|
730
730
|
), a(
|
|
731
|
-
|
|
731
|
+
f,
|
|
732
732
|
"min",
|
|
733
|
-
/*
|
|
734
|
-
t[
|
|
733
|
+
/*bonusCalendarEndDateMin*/
|
|
734
|
+
t[15]
|
|
735
735
|
), a(
|
|
736
|
-
|
|
736
|
+
f,
|
|
737
737
|
"value",
|
|
738
738
|
/*bonusCalendarEndDate*/
|
|
739
739
|
t[13]
|
|
740
740
|
), a(
|
|
741
|
-
|
|
741
|
+
f,
|
|
742
742
|
"placeholder",
|
|
743
743
|
/*bonusCalendarEndDate*/
|
|
744
744
|
t[13]
|
|
745
|
-
), a(
|
|
746
|
-
(t[
|
|
747
|
-
(t[
|
|
748
|
-
(t[
|
|
749
|
-
t[
|
|
745
|
+
), a(f, "class", "VaadinDatePicker"), b(C, "class", "BonusesCalendarEndDate " + /*isMobile*/
|
|
746
|
+
(t[27] ? "BonusesCalendarMobile" : "")), b(d, "class", "BonusesCalendarContainer " + /*isMobile*/
|
|
747
|
+
(t[27] ? "BonusesCalendarContainerMobile" : "")), b(_, "class", "BonusesCalendarFilter " + /*isMobile*/
|
|
748
|
+
(t[27] ? "BonusesCalendarFilterMobile" : "")), _.disabled = Y = !/*submitEnable*/
|
|
749
|
+
t[16] || /*isLoading*/
|
|
750
750
|
t[14], b(r, "class", "BonusCalendarWrapper " + /*isMobile*/
|
|
751
|
-
(t[
|
|
752
|
-
(t[
|
|
751
|
+
(t[27] ? "BonusCalendarWrapperMobile" : "")), b(n, "class", "BonusesWrapper " + /*isMobile*/
|
|
752
|
+
(t[27] ? "BonusesWrapperMobile" : ""));
|
|
753
753
|
},
|
|
754
|
-
m(
|
|
755
|
-
I(
|
|
754
|
+
m(v, D) {
|
|
755
|
+
I(v, e, D), m(e, n), j && j.m(n, null), m(n, l), m(n, s), m(s, o), m(n, p), m(n, r), m(r, d), m(d, B), m(B, c), m(c, F), m(B, P), m(B, h), t[36](h), m(d, k), m(d, C), m(C, z), m(z, H), m(C, g), m(C, f), t[37](f), m(r, E), m(r, _), m(_, V), m(n, te), W.m(n, null), t[44](e), Q || (ne = ee(
|
|
756
756
|
_,
|
|
757
757
|
"click",
|
|
758
758
|
/*click_handler_1*/
|
|
759
759
|
t[38]
|
|
760
760
|
), Q = !0);
|
|
761
761
|
},
|
|
762
|
-
p(
|
|
762
|
+
p(v, D) {
|
|
763
763
|
/*isMobile*/
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
764
|
+
v[27] && j.p(v, D), D[0] & /*$_*/
|
|
765
|
+
67108864 && u !== (u = /*$_*/
|
|
766
|
+
v[26]("titleBonusesHistory") + "") && se(o, u), D[0] & /*$_*/
|
|
767
|
+
67108864 && y !== (y = /*$_*/
|
|
768
|
+
v[26]("dateFrom") + "") && se(F, y), D[0] & /*bonusCalendarStartDate*/
|
|
769
769
|
4096 && a(
|
|
770
770
|
h,
|
|
771
771
|
"value",
|
|
772
772
|
/*bonusCalendarStartDate*/
|
|
773
|
-
|
|
774
|
-
),
|
|
773
|
+
v[12]
|
|
774
|
+
), D[0] & /*bonusCalendarStartDate*/
|
|
775
775
|
4096 && a(
|
|
776
776
|
h,
|
|
777
777
|
"placeholder",
|
|
778
778
|
/*bonusCalendarStartDate*/
|
|
779
|
-
|
|
780
|
-
),
|
|
781
|
-
|
|
782
|
-
|
|
779
|
+
v[12]
|
|
780
|
+
), D[0] & /*$_*/
|
|
781
|
+
67108864 && O !== (O = /*$_*/
|
|
782
|
+
v[26]("dateTo") + "") && se(H, O), D[0] & /*bonusCalendarEndDateMin*/
|
|
783
|
+
32768 && a(
|
|
784
|
+
f,
|
|
785
|
+
"min",
|
|
786
|
+
/*bonusCalendarEndDateMin*/
|
|
787
|
+
v[15]
|
|
788
|
+
), D[0] & /*bonusCalendarEndDate*/
|
|
783
789
|
8192 && a(
|
|
784
|
-
|
|
790
|
+
f,
|
|
785
791
|
"value",
|
|
786
792
|
/*bonusCalendarEndDate*/
|
|
787
|
-
|
|
788
|
-
),
|
|
793
|
+
v[13]
|
|
794
|
+
), D[0] & /*bonusCalendarEndDate*/
|
|
789
795
|
8192 && a(
|
|
790
|
-
|
|
796
|
+
f,
|
|
791
797
|
"placeholder",
|
|
792
798
|
/*bonusCalendarEndDate*/
|
|
793
|
-
|
|
794
|
-
),
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
799
|
+
v[13]
|
|
800
|
+
), D[0] & /*$_*/
|
|
801
|
+
67108864 && T !== (T = /*$_*/
|
|
802
|
+
v[26]("dateFilter") + "") && se(V, T), D[0] & /*submitEnable, isLoading*/
|
|
803
|
+
81920 && Y !== (Y = !/*submitEnable*/
|
|
804
|
+
v[16] || /*isLoading*/
|
|
805
|
+
v[14]) && (_.disabled = Y), Z === (Z = re(v)) && W ? W.p(v, D) : (W.d(1), W = Z(v), W && (W.c(), W.m(n, null)));
|
|
800
806
|
},
|
|
801
807
|
i: de,
|
|
802
808
|
o: de,
|
|
803
|
-
d(
|
|
804
|
-
|
|
809
|
+
d(v) {
|
|
810
|
+
v && L(e), j && j.d(), t[36](null), t[37](null), W.d(), t[44](null), Q = !1, ne();
|
|
805
811
|
}
|
|
806
812
|
};
|
|
807
813
|
}
|
|
808
814
|
let U = 6;
|
|
809
815
|
function ht(t, e, n) {
|
|
810
816
|
let l;
|
|
811
|
-
|
|
812
|
-
let { endpoint: s = "" } = e, { session: u = "" } = e, { playerid: o = "" } = e, { lang: p = "en" } = e, { clientstyling: r = "" } = e, { clientstylingurl: d = "" } = e, { mbsource: B } = e, { translationurl: c = "" } = e, { bonushistorystatus:
|
|
813
|
-
const E = K(/* @__PURE__ */ new Date(), "yyyy-MM-dd")
|
|
814
|
-
let T = K(
|
|
815
|
-
const
|
|
817
|
+
Qe(t, rt, (i) => n(26, l = i));
|
|
818
|
+
let { endpoint: s = "" } = e, { session: u = "" } = e, { playerid: o = "" } = e, { lang: p = "en" } = e, { clientstyling: r = "" } = e, { clientstylingurl: d = "" } = e, { mbsource: B } = e, { translationurl: c = "" } = e, { bonushistorystatus: y = "" } = e, { bonushistorytype: F = "" } = e, { currencylocale: P = "" } = e, { currency: h = "" } = e, { dateformat: k = "dd-MM-yyyy" } = e, C, z = !1, O = window.navigator.userAgent, H = xe(O) !== "PC", g, f;
|
|
819
|
+
const E = K(/* @__PURE__ */ new Date(), "yyyy-MM-dd");
|
|
820
|
+
let _ = "", T = K(ot(/* @__PURE__ */ new Date(), 3), `${k || "yyyy-MM-dd"}`), V = K(/* @__PURE__ */ new Date(), `${k || "yyyy-MM-dd"}`), Y = !0, te = 0, Q = 0, ne = 0, j = 0, re = 0, Z = [], W = "", v = "", D = "";
|
|
821
|
+
const He = () => {
|
|
816
822
|
fetch(c).then((M) => M.json()).then((M) => {
|
|
817
823
|
Object.keys(M).forEach((G) => {
|
|
818
|
-
|
|
824
|
+
ve(G, M[G]);
|
|
819
825
|
});
|
|
820
826
|
}).catch((M) => {
|
|
821
827
|
console.log(M);
|
|
822
828
|
});
|
|
823
829
|
};
|
|
824
|
-
Object.keys(
|
|
825
|
-
|
|
830
|
+
Object.keys(we).forEach((i) => {
|
|
831
|
+
ve(i, we[i]);
|
|
826
832
|
});
|
|
827
833
|
const me = () => {
|
|
828
834
|
window.postMessage(
|
|
@@ -833,22 +839,22 @@ function ht(t, e, n) {
|
|
|
833
839
|
window.location.href
|
|
834
840
|
);
|
|
835
841
|
}, pe = (i, M) => {
|
|
836
|
-
const G =
|
|
842
|
+
const G = Be(i, `${k || "yyyy-MM-dd"}`, /* @__PURE__ */ new Date()), x = M ? lt(G) : it(G);
|
|
837
843
|
return K(x, "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
|
|
838
844
|
}, X = (i, M, G) => {
|
|
839
845
|
n(14, z = !0);
|
|
840
|
-
let x = new URL(`${s}/v1/player/${o}/bonusWallet`), le = pe(T, !1),
|
|
841
|
-
M && (_e = M.split(",").map((J) => `status=${J}`).join(","), $ = $ + _e + ","), G && (he = G.split(",").map((J) => `type=${J}`).join(","), $ = $ + he + ","), $ = $ + `granted=[${le}~${
|
|
842
|
-
let
|
|
846
|
+
let x = new URL(`${s}/v1/player/${o}/bonusWallet`), le = pe(T, !1), Oe = pe(V, !0), $ = "", _e = "", he = "";
|
|
847
|
+
M && (_e = M.split(",").map((J) => `status=${J}`).join(","), $ = $ + _e + ","), G && (he = G.split(",").map((J) => `type=${J}`).join(","), $ = $ + he + ","), $ = $ + `granted=[${le}~${Oe}]`, x.searchParams.append("filter", $), x.searchParams.append("pagination", `offset=${i},limit=${U}`);
|
|
848
|
+
let Ve = {
|
|
843
849
|
method: "GET",
|
|
844
850
|
headers: { "X-SessionId": u }
|
|
845
851
|
};
|
|
846
|
-
fetch(x.href,
|
|
852
|
+
fetch(x.href, Ve).then((q) => q.json()).then(
|
|
847
853
|
(q) => {
|
|
848
854
|
Array.isArray(q.items) && q.items.forEach((N) => {
|
|
849
855
|
const J = N?.extension?.bonus?.presentation;
|
|
850
|
-
J && (n(
|
|
851
|
-
}), n(
|
|
856
|
+
J && (n(23, W = J.url), n(25, D = J.description), n(24, v = J.assets));
|
|
857
|
+
}), n(20, j = Math.ceil(q.total / U)), i - U >= 0 && n(17, te = i - U), i + U < q.total && n(18, Q = i + U), n(19, ne = (j - 1) * U), n(21, re = i / U), n(22, Z = q?.items || []), P && Z.forEach((N) => {
|
|
852
858
|
N.fulfilledWR = oe(N.fulfilledWR), N.originalWageringRequirement = oe(N.originalWageringRequirement), N.currentAmount = oe(N.currentAmount), N.extension.grantedPlayerCurrencyAmount = oe(N.extension.grantedPlayerCurrencyAmount);
|
|
853
859
|
});
|
|
854
860
|
},
|
|
@@ -858,27 +864,27 @@ function ht(t, e, n) {
|
|
|
858
864
|
).finally(() => {
|
|
859
865
|
n(14, z = !1);
|
|
860
866
|
}), window.postMessage({ type: "ScrollToTop" }, window.location.href);
|
|
861
|
-
}, oe = (i) => new Intl.NumberFormat(
|
|
862
|
-
n(12, T = K(new Date(i.target.value), `${
|
|
867
|
+
}, oe = (i) => new Intl.NumberFormat(P, { style: "currency", currency: h }).format(i).replace(/\s/g, ""), fe = (i) => {
|
|
868
|
+
n(12, T = K(new Date(i.target.value), `${k || "yyyy-MM-dd"}`)), n(15, _ = K(new Date(i.target.value), "yyyy-MM-dd"));
|
|
863
869
|
}, ye = (i) => {
|
|
864
|
-
n(13, V = K(new Date(i.target.value), `${
|
|
865
|
-
},
|
|
870
|
+
n(13, V = K(new Date(i.target.value), `${k || "yyyy-MM-dd"}`));
|
|
871
|
+
}, Ee = () => {
|
|
866
872
|
const i = new Date(T), M = new Date(V);
|
|
867
|
-
i.getTime() > M.getTime() ? n(
|
|
868
|
-
},
|
|
869
|
-
g.addEventListener("change", fe, !1),
|
|
873
|
+
i.getTime() > M.getTime() ? n(16, Y = !1) : n(16, Y = !0);
|
|
874
|
+
}, Te = () => {
|
|
875
|
+
g.addEventListener("change", fe, !1), f.addEventListener("change", ye, !1);
|
|
870
876
|
}, be = (i) => {
|
|
871
877
|
const { year: M, month: G, day: x } = i, le = new Date(M, G, x);
|
|
872
|
-
return K(le,
|
|
878
|
+
return K(le, k || "yyyy-MM-dd");
|
|
873
879
|
}, ge = (i) => {
|
|
874
|
-
const M =
|
|
880
|
+
const M = Be(i, k || "yyyy-MM-dd", /* @__PURE__ */ new Date());
|
|
875
881
|
return {
|
|
876
882
|
year: M.getFullYear(),
|
|
877
883
|
month: M.getMonth(),
|
|
878
884
|
day: M.getDate()
|
|
879
885
|
};
|
|
880
886
|
};
|
|
881
|
-
|
|
887
|
+
$e(() => (n(
|
|
882
888
|
10,
|
|
883
889
|
g.i18n = {
|
|
884
890
|
...g.i18n,
|
|
@@ -888,63 +894,64 @@ function ht(t, e, n) {
|
|
|
888
894
|
g
|
|
889
895
|
), n(
|
|
890
896
|
11,
|
|
891
|
-
|
|
892
|
-
...
|
|
897
|
+
f.i18n = {
|
|
898
|
+
...f.i18n,
|
|
893
899
|
formatDate: be,
|
|
894
900
|
parseDate: ge
|
|
895
901
|
},
|
|
896
|
-
|
|
902
|
+
f
|
|
897
903
|
), () => {
|
|
898
|
-
g.removeEventListener("change", fe),
|
|
904
|
+
g.removeEventListener("change", fe), f.removeEventListener("change", ye);
|
|
899
905
|
}));
|
|
900
|
-
const
|
|
906
|
+
const We = () => {
|
|
901
907
|
ut(p);
|
|
902
|
-
},
|
|
903
|
-
function
|
|
908
|
+
}, Ae = () => me();
|
|
909
|
+
function Se(i) {
|
|
904
910
|
ue[i ? "unshift" : "push"](() => {
|
|
905
911
|
g = i, n(10, g);
|
|
906
912
|
});
|
|
907
913
|
}
|
|
908
|
-
function
|
|
914
|
+
function Le(i) {
|
|
909
915
|
ue[i ? "unshift" : "push"](() => {
|
|
910
|
-
|
|
916
|
+
f = i, n(11, f);
|
|
911
917
|
});
|
|
912
918
|
}
|
|
913
|
-
const
|
|
914
|
-
function
|
|
919
|
+
const Ie = () => X(0, y, F), ze = () => X(0, y, F), Ne = () => X(te, y, F), Re = (i) => X(i * U, y, F), je = () => X(Q, y, F), qe = () => X(ne, y, F);
|
|
920
|
+
function Ge(i) {
|
|
915
921
|
ue[i ? "unshift" : "push"](() => {
|
|
916
922
|
C = i, n(9, C);
|
|
917
923
|
});
|
|
918
924
|
}
|
|
919
925
|
return t.$$set = (i) => {
|
|
920
|
-
"endpoint" in i && n(31, s = i.endpoint), "session" in i && n(32, u = i.session), "playerid" in i && n(33, o = i.playerid), "lang" in i && n(0, p = i.lang), "clientstyling" in i && n(1, r = i.clientstyling), "clientstylingurl" in i && n(2, d = i.clientstylingurl), "mbsource" in i && n(3, B = i.mbsource), "translationurl" in i && n(4, c = i.translationurl), "bonushistorystatus" in i && n(5,
|
|
926
|
+
"endpoint" in i && n(31, s = i.endpoint), "session" in i && n(32, u = i.session), "playerid" in i && n(33, o = i.playerid), "lang" in i && n(0, p = i.lang), "clientstyling" in i && n(1, r = i.clientstyling), "clientstylingurl" in i && n(2, d = i.clientstylingurl), "mbsource" in i && n(3, B = i.mbsource), "translationurl" in i && n(4, c = i.translationurl), "bonushistorystatus" in i && n(5, y = i.bonushistorystatus), "bonushistorytype" in i && n(6, F = i.bonushistorytype), "currencylocale" in i && n(7, P = i.currencylocale), "currency" in i && n(34, h = i.currency), "dateformat" in i && n(8, k = i.dateformat);
|
|
921
927
|
}, t.$$.update = () => {
|
|
922
928
|
t.$$.dirty[0] & /*lang*/
|
|
923
|
-
1 && p &&
|
|
924
|
-
3072 && g &&
|
|
925
|
-
12288 && T && V &&
|
|
929
|
+
1 && p && We(), t.$$.dirty[0] & /*startCalendar, endCalendar*/
|
|
930
|
+
3072 && g && f && Te(), t.$$.dirty[0] & /*bonusCalendarStartDate, bonusCalendarEndDate*/
|
|
931
|
+
12288 && T && V && Ee(), t.$$.dirty[0] & /*bonushistorystatus, bonushistorytype*/
|
|
926
932
|
96 | t.$$.dirty[1] & /*session, playerid, endpoint*/
|
|
927
|
-
7 && u && o && s && X(0,
|
|
928
|
-
514 && r && C &&
|
|
929
|
-
516 && d && C &&
|
|
930
|
-
520 && B && C &&
|
|
931
|
-
16 && c &&
|
|
933
|
+
7 && u && o && s && X(0, y, F), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
934
|
+
514 && r && C && tt(C, r), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
935
|
+
516 && d && C && nt(C, d), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
936
|
+
520 && B && C && at(C, `${B}.Style`), t.$$.dirty[0] & /*translationurl*/
|
|
937
|
+
16 && c && He();
|
|
932
938
|
}, [
|
|
933
939
|
p,
|
|
934
940
|
r,
|
|
935
941
|
d,
|
|
936
942
|
B,
|
|
937
943
|
c,
|
|
938
|
-
|
|
944
|
+
y,
|
|
939
945
|
F,
|
|
940
|
-
|
|
941
|
-
|
|
946
|
+
P,
|
|
947
|
+
k,
|
|
942
948
|
C,
|
|
943
949
|
g,
|
|
944
|
-
|
|
950
|
+
f,
|
|
945
951
|
T,
|
|
946
952
|
V,
|
|
947
953
|
z,
|
|
954
|
+
_,
|
|
948
955
|
Y,
|
|
949
956
|
te,
|
|
950
957
|
Q,
|
|
@@ -953,18 +960,18 @@ function ht(t, e, n) {
|
|
|
953
960
|
re,
|
|
954
961
|
Z,
|
|
955
962
|
W,
|
|
956
|
-
|
|
957
|
-
|
|
963
|
+
v,
|
|
964
|
+
D,
|
|
958
965
|
l,
|
|
959
966
|
H,
|
|
960
967
|
E,
|
|
961
|
-
_,
|
|
962
968
|
me,
|
|
963
969
|
X,
|
|
964
970
|
s,
|
|
965
971
|
u,
|
|
966
972
|
o,
|
|
967
973
|
h,
|
|
974
|
+
Ae,
|
|
968
975
|
Se,
|
|
969
976
|
Le,
|
|
970
977
|
Ie,
|
|
@@ -973,18 +980,17 @@ function ht(t, e, n) {
|
|
|
973
980
|
Re,
|
|
974
981
|
je,
|
|
975
982
|
qe,
|
|
976
|
-
Ge
|
|
977
|
-
Oe
|
|
983
|
+
Ge
|
|
978
984
|
];
|
|
979
985
|
}
|
|
980
|
-
class Bt extends
|
|
986
|
+
class Bt extends Ze {
|
|
981
987
|
constructor(e) {
|
|
982
|
-
super(),
|
|
988
|
+
super(), Xe(
|
|
983
989
|
this,
|
|
984
990
|
e,
|
|
985
991
|
ht,
|
|
986
992
|
_t,
|
|
987
|
-
|
|
993
|
+
Je,
|
|
988
994
|
{
|
|
989
995
|
endpoint: 31,
|
|
990
996
|
session: 32,
|
|
@@ -1083,7 +1089,7 @@ class Bt extends Xe {
|
|
|
1083
1089
|
this.$$set({ dateformat: e }), A();
|
|
1084
1090
|
}
|
|
1085
1091
|
}
|
|
1086
|
-
|
|
1092
|
+
st(Bt, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, bonushistorystatus: {}, bonushistorytype: {}, currencylocale: {}, currency: {}, dateformat: {} }, [], [], !0);
|
|
1087
1093
|
export {
|
|
1088
1094
|
Bt as default
|
|
1089
1095
|
};
|