@everymatrix/player-account-controller 1.44.0 → 1.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/GeneralLogout-PMsAgsr8.js +4832 -0
- package/components/GeneralLogout-WbaN9lE3.cjs +8 -0
- package/components/PlayerAccountBettingHistory-C5O_N5I6.js +328 -0
- package/components/PlayerAccountBettingHistory-CvFzGDm4.cjs +1 -0
- package/components/PlayerAccountBiometrics--Rc4hXU1.cjs +1 -0
- package/components/PlayerAccountBiometrics-BIZ77T9P.js +300 -0
- package/components/PlayerAccountClosure-DIRkc6kA.cjs +1 -0
- package/components/PlayerAccountClosure-O9rY7FHF.js +339 -0
- package/components/PlayerAccountController-1M1FKlrd.cjs +1 -0
- package/components/PlayerAccountController-DRQpN2gW.js +6176 -0
- package/components/PlayerAccountGamingLimits-BnH1h5ZI.js +758 -0
- package/components/PlayerAccountGamingLimits-Dtw0RzGI.cjs +1 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-CHBpCAi7.js +306 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-Cvsvauqa.cjs +1 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-QO4BtCS2.js +4148 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-tfKhIo7R.cjs +10 -0
- package/components/PlayerAccountGamingLimitsHistory2-CJxOlPZu.js +734 -0
- package/components/PlayerAccountGamingLimitsHistory2-_p2IXses.cjs +1 -0
- package/components/PlayerAccountGamingLimitsInfoCard--AbjEx7s.cjs +1 -0
- package/components/PlayerAccountGamingLimitsInfoCard-GwIjd7fB.js +1488 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16-DcGsK_Nq.js +2794 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16-Dymt7LmL.cjs +21 -0
- package/components/PlayerAccountGamingLimitsPopup-DO2f_4IF.js +337 -0
- package/components/PlayerAccountGamingLimitsPopup-DVEuryoE.cjs +1 -0
- package/components/PlayerAccountGamingLimitsWrapper2-BZ-Ax67a.cjs +1 -0
- package/components/PlayerAccountGamingLimitsWrapper2-CQClFTjE.js +844 -0
- package/components/PlayerAccountMenu-1kpYtr6Q.cjs +1 -0
- package/components/PlayerAccountMenu-C9YFW_X4.js +576 -0
- package/components/PlayerAccountModal-BPuDqVwe.js +198 -0
- package/components/PlayerAccountModal-DpMfe1gv.cjs +1 -0
- package/components/PlayerAccountNotifications-DfLcLCTk.js +261 -0
- package/components/PlayerAccountNotifications-Dwb_RDr0.cjs +1 -0
- package/components/PlayerAccountSelfExclusion-BR4bl6bz.js +16404 -0
- package/components/PlayerAccountSelfExclusion-CA2oAuhb.cjs +3693 -0
- package/components/PlayerAccountTimeout-Df9mSPXx.js +448 -0
- package/components/PlayerAccountTimeout-dxzuaoP9.cjs +1 -0
- package/components/PlayerActiveBonuses-BJtk2_80.js +986 -0
- package/components/PlayerActiveBonuses-D0-qI8iz.cjs +1 -0
- package/components/PlayerBonusCard-BoENnXsd.cjs +1 -0
- package/components/PlayerBonusCard-D4MZsrSK.js +565 -0
- package/components/PlayerBonusHistory-3B1tPB8g.cjs +1 -0
- package/components/PlayerBonusHistory-CDA_Ahs-.js +840 -0
- package/components/PlayerChangePassword-C69CRrvS.js +1161 -0
- package/components/PlayerChangePassword-RpQIhFff.cjs +3 -0
- package/components/PlayerDeposit-BK_UhkqG.js +395 -0
- package/components/PlayerDeposit-COhpfcRx.cjs +1 -0
- package/components/PlayerGamingHistory-C8Kvaq7b.cjs +1 -0
- package/components/PlayerGamingHistory-CCSGdevP.js +920 -0
- package/components/PlayerPendingWithdrawals-CVBvRj42.cjs +1 -0
- package/components/PlayerPendingWithdrawals-DIp1o6Bq.js +307 -0
- package/components/PlayerProfileInfo-BeD6hzPW.cjs +1 -0
- package/components/PlayerProfileInfo-CkcYNGGP.js +1707 -0
- package/components/PlayerRealityCheck-B37H9_Rn.cjs +1 -0
- package/components/PlayerRealityCheck-UaRdeADU.js +587 -0
- package/components/PlayerTransactionHistory-CxYO3lnm.cjs +1 -0
- package/components/PlayerTransactionHistory-Da2H2goa.js +311 -0
- package/components/PlayerWithdrawal-DK_JxD9z.js +365 -0
- package/components/PlayerWithdrawal-DYkzBPcQ.cjs +1 -0
- package/es2015/player-account-controller.cjs +1 -0
- package/es2015/player-account-controller.js +16 -0
- package/package.json +38 -32
- package/CHANGELOG.md +0 -19
- package/README.md +0 -0
- package/assets/arrow-down.svg +0 -3
- package/dist/player-account-controller.js +0 -2221
- package/dist/player-account-controller.js.map +0 -1
- package/documentation.md +0 -166
- package/index.html +0 -46
- package/index.js +0 -1
- package/public/favicon.png +0 -0
- package/public/reset.css +0 -48
- package/rollup.config.js +0 -67
- package/src/PlayerAccountController.svelte +0 -732
- package/src/PlayerAccountController.types.ts +0 -5
- package/src/i18n.js +0 -27
- package/src/index.ts +0 -4
- package/src/translations.js +0 -102
- package/stories/PlayerAccountPage.stories.js +0 -13
- package/tsconfig.json +0 -6
|
@@ -0,0 +1,840 @@
|
|
|
1
|
+
import { a as Ee, $ as We, S as Se, i as Ae, f as O, c as Le, s as Ie, b as Ne, e as h, k as z, o as ue, p as R, q as Ye, u as ze, v as Re, x as oe, y as je, d as D, t as A, g as v, j as o, l as d, m as X, n as x, w as Q, M as ne, N as qe, r as Ge, D as ge } from "./GeneralLogout-PMsAgsr8.js";
|
|
2
|
+
import { h as se } from "./PlayerAccountGamingLimitsGroupEdit-QO4BtCS2.js";
|
|
3
|
+
import "./PlayerActiveBonuses-BJtk2_80.js";
|
|
4
|
+
import "./PlayerAccountSelfExclusion-BR4bl6bz.js";
|
|
5
|
+
function de(t, e) {
|
|
6
|
+
Ee(t, e);
|
|
7
|
+
}
|
|
8
|
+
function Oe(t) {
|
|
9
|
+
We.set(t);
|
|
10
|
+
}
|
|
11
|
+
const ce = {
|
|
12
|
+
en: {
|
|
13
|
+
titleBonusesHistory: "Bonus History",
|
|
14
|
+
dateFrom: "From:",
|
|
15
|
+
dateTo: "To:",
|
|
16
|
+
dateFilter: "Filter",
|
|
17
|
+
noBonusHistory: "You have no bonuses for the selected period."
|
|
18
|
+
},
|
|
19
|
+
"zh-hk": {
|
|
20
|
+
titleBonusesHistory: "獎金歷史",
|
|
21
|
+
dateFrom: "從:",
|
|
22
|
+
dateTo: "至:",
|
|
23
|
+
dateFilter: "篩選",
|
|
24
|
+
noBonusHistory: "您目前沒有獎金歷史。"
|
|
25
|
+
},
|
|
26
|
+
fr: {
|
|
27
|
+
titleBonusesHistory: "Historique du bonus",
|
|
28
|
+
dateFrom: "De:",
|
|
29
|
+
dateTo: "A:",
|
|
30
|
+
dateFilter: "Filtre",
|
|
31
|
+
noBonusHistory: "Vous n'avez pas d'historique de bonus pour le moment."
|
|
32
|
+
},
|
|
33
|
+
ro: {
|
|
34
|
+
titleBonusesHistory: "Istoric bonusuri",
|
|
35
|
+
dateFrom: "De la",
|
|
36
|
+
dateTo: "La",
|
|
37
|
+
dateFilter: "Filtru",
|
|
38
|
+
noBonusHistory: "Nu ai bonusuri pentru perioada selectata."
|
|
39
|
+
},
|
|
40
|
+
es: {
|
|
41
|
+
titleBonusesHistory: "Historial de Bonos",
|
|
42
|
+
dateFrom: "Desde:",
|
|
43
|
+
dateTo: "A:",
|
|
44
|
+
dateFilter: "Filtro",
|
|
45
|
+
noBonusHistory: "No tiene Bonos para el periodo seleccionado."
|
|
46
|
+
},
|
|
47
|
+
pt: {
|
|
48
|
+
titleBonusesHistory: "Histórico de bônus",
|
|
49
|
+
dateFrom: "A partir de:",
|
|
50
|
+
dateTo: "Para:",
|
|
51
|
+
dateFilter: "Filtro:",
|
|
52
|
+
noBonusHistory: "Você não tem histórico de bônus no momento."
|
|
53
|
+
},
|
|
54
|
+
hr: {
|
|
55
|
+
titleBonusesHistory: "Povijest bonusa",
|
|
56
|
+
dateFrom: "Od:",
|
|
57
|
+
dateTo: "Do:",
|
|
58
|
+
dateFilter: "Filter",
|
|
59
|
+
noBonusHistory: "Nemate bonusa u povijesti."
|
|
60
|
+
},
|
|
61
|
+
"pt-br": {
|
|
62
|
+
titleBonusesHistory: "Histórico de bônus",
|
|
63
|
+
dateFrom: "De:",
|
|
64
|
+
dateTo: "PARA:",
|
|
65
|
+
dateFilter: "Filtro",
|
|
66
|
+
noBonusHistory: "Não há bônus para o período selecionado"
|
|
67
|
+
},
|
|
68
|
+
"es-mx": {
|
|
69
|
+
titleBonusesHistory: "Historial de bonos",
|
|
70
|
+
dateFrom: "De:",
|
|
71
|
+
dateTo: "A:",
|
|
72
|
+
dateFilter: "Filtro",
|
|
73
|
+
noBonusHistory: "No tiene bonus para el periodo seleccionado"
|
|
74
|
+
},
|
|
75
|
+
tr: {
|
|
76
|
+
titleBonusesHistory: "Bonus Geçmişi",
|
|
77
|
+
dateFrom: "İtibaren:",
|
|
78
|
+
dateTo: "İle:",
|
|
79
|
+
dateFilter: "Filtre",
|
|
80
|
+
noBonusHistory: "Seçilen dönem için bonusunuz yok."
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
function Ve(t) {
|
|
84
|
+
Ne(t, "svelte-14bqq8d", ".BonusesWrapper.svelte-14bqq8d.svelte-14bqq8d{background-color:var(--emw-color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--color-typography-cotrast, #444444);padding:50px;max-width:850px}.BonusesWrapper.BonusesWrapperMobile.svelte-14bqq8d.svelte-14bqq8d{padding:20px 15px;max-width:unset}.MenuReturnButton.svelte-14bqq8d.svelte-14bqq8d{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton.svelte-14bqq8d svg.svelte-14bqq8d{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusesTitle.svelte-14bqq8d.svelte-14bqq8d{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.svelte-14bqq8d.svelte-14bqq8d{font-size:var(--emw--size-standard, 16px)}.BonusesTitleNone.svelte-14bqq8d.svelte-14bqq8d{display:none}.BonusCalendarWrapper.svelte-14bqq8d.svelte-14bqq8d{display:flex;gap:15px;padding-bottom:30px;align-items:center}.BonusCalendarWrapper.BonusCalendarWrapperMobile.svelte-14bqq8d.svelte-14bqq8d{flex-direction:column;gap:10px;padding-bottom:15px}.BonusesCalendarContainer.svelte-14bqq8d.svelte-14bqq8d{display:flex;gap:20px}.BonusesCalendarContainer.BonusesCalendarContainerMobile.svelte-14bqq8d.svelte-14bqq8d{flex-direction:row;gap:0;justify-content:space-between;padding-bottom:0;width:100%}.BonusesCalendarStartDate.svelte-14bqq8d.svelte-14bqq8d,.BonusesCalendarEndDate.svelte-14bqq8d.svelte-14bqq8d{color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;align-items:center;gap:10px}.BonusesCalendarStartDate.BonusesCalendarMobile.svelte-14bqq8d.svelte-14bqq8d,.BonusesCalendarEndDate.BonusesCalendarMobile.svelte-14bqq8d.svelte-14bqq8d{flex-direction:column;align-items:flex-start;gap:5px;width:48%}.BonusesCalendarStartDate.BonusesCalendarMobile.svelte-14bqq8d .VaadinDatePicker.svelte-14bqq8d,.BonusesCalendarEndDate.BonusesCalendarMobile.svelte-14bqq8d .VaadinDatePicker.svelte-14bqq8d{width:100%;border-radius:var(--emw--border-radius-large, 20px)}.BonusesCalendarStartDate.svelte-14bqq8d label.svelte-14bqq8d,.BonusesCalendarEndDate.svelte-14bqq8d label.svelte-14bqq8d{font-size:var(--emw--font-size-small, 14px);font-weight:300}.BonusesCalendarFilter.svelte-14bqq8d.svelte-14bqq8d{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, 50px);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.svelte-14bqq8d.svelte-14bqq8d{width:100%;height:44px}.BonusesCalendarFilter.svelte-14bqq8d.svelte-14bqq8d:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusesGrid.svelte-14bqq8d.svelte-14bqq8d{display:grid;grid-template-columns:1fr 1fr;gap:50px;border-radius:var(--emw--border-radius-large, 20px)}.BonusesGrid.BonusesGridMobile.svelte-14bqq8d.svelte-14bqq8d{grid-template-columns:1fr;gap:20px}.BonusesPaginationWrapper.svelte-14bqq8d.svelte-14bqq8d{margin:40px 0;display:flex;justify-content:center}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile.svelte-14bqq8d.svelte-14bqq8d{text-align:center}.BonusesPaginationWrapper.svelte-14bqq8d .BonusesFirst.svelte-14bqq8d,.BonusesPaginationWrapper.svelte-14bqq8d .BonusesPrev.svelte-14bqq8d,.BonusesPaginationWrapper.svelte-14bqq8d .BonusesNext.svelte-14bqq8d,.BonusesPaginationWrapper.svelte-14bqq8d .BonusesLast.svelte-14bqq8d{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.svelte-14bqq8d .BonusesFirst.Inactive.svelte-14bqq8d,.BonusesPaginationWrapper.svelte-14bqq8d .BonusesPrev.Inactive.svelte-14bqq8d,.BonusesPaginationWrapper.svelte-14bqq8d .BonusesNext.Inactive.svelte-14bqq8d,.BonusesPaginationWrapper.svelte-14bqq8d .BonusesLast.Inactive.svelte-14bqq8d{color:var(--emw--color-gray-100, #E6E6E6);cursor:default}.BonusesPaginationWrapper.svelte-14bqq8d .BonusesPage.svelte-14bqq8d{margin:0 5px;color:var(--emw--color-typography-cotrast, #444444);font-size:var(--emw--size-standard, 16px);cursor:pointer;padding:5px 10px}.BonusesPaginationWrapper.svelte-14bqq8d .BonusesPage.BonusPageActive.svelte-14bqq8d{background-color:var(--emw--color-white, #FFFFFF);font-weight:var(--emw--font-weight-bold, 700)}");
|
|
85
|
+
}
|
|
86
|
+
function be(t, e, s) {
|
|
87
|
+
const l = t.slice();
|
|
88
|
+
return l[44] = e[s], l[46] = s, l;
|
|
89
|
+
}
|
|
90
|
+
function pe(t, e, s) {
|
|
91
|
+
const l = t.slice();
|
|
92
|
+
return l[47] = e[s], l;
|
|
93
|
+
}
|
|
94
|
+
function Ue(t) {
|
|
95
|
+
let e, s, l, n = (
|
|
96
|
+
/*$_*/
|
|
97
|
+
t[17]("titleBonusesHistory") + ""
|
|
98
|
+
), r, a, m, u, b, _, c = (
|
|
99
|
+
/*$_*/
|
|
100
|
+
t[17]("dateFrom") + ""
|
|
101
|
+
), p, w, C, k, B, P, T = (
|
|
102
|
+
/*$_*/
|
|
103
|
+
t[17]("dateTo") + ""
|
|
104
|
+
), I, E, q, f, F, g = (
|
|
105
|
+
/*$_*/
|
|
106
|
+
t[17]("dateFilter") + ""
|
|
107
|
+
), N, $, U, te, J, L, Y = (
|
|
108
|
+
/*isMobile*/
|
|
109
|
+
t[18] && Ze(t)
|
|
110
|
+
);
|
|
111
|
+
function ee(y, H) {
|
|
112
|
+
return (
|
|
113
|
+
/*bonusesList*/
|
|
114
|
+
y[16].length === 0 ? Je : Xe
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
let K = ee(t), W = K(t), M = (
|
|
118
|
+
/*bonusesList*/
|
|
119
|
+
t[16].length !== 0 && me(t)
|
|
120
|
+
);
|
|
121
|
+
return {
|
|
122
|
+
c() {
|
|
123
|
+
e = h("div"), Y && Y.c(), s = D(), l = h("h2"), r = A(n), a = D(), m = h("div"), u = h("div"), b = h("div"), _ = h("label"), p = A(c), w = D(), C = h("vaadin-date-picker"), k = D(), B = h("div"), P = h("label"), I = A(T), E = D(), q = h("vaadin-date-picker"), f = D(), F = h("button"), N = A(g), $ = D(), U = h("div"), W.c(), te = D(), M && M.c(), v(l, "class", "BonusesTitle " + /*isMobile*/
|
|
124
|
+
(t[18] ? "BonusesTitleNone" : "") + " svelte-14bqq8d"), v(l, "part", "BonusesTitle " + /*isMobile*/
|
|
125
|
+
(t[18] ? "BonusesTitleNone" : "")), v(_, "for", "BonusCalendarStartDate"), v(_, "class", "svelte-14bqq8d"), o(
|
|
126
|
+
C,
|
|
127
|
+
"max",
|
|
128
|
+
/*maxDate*/
|
|
129
|
+
t[9]
|
|
130
|
+
), o(
|
|
131
|
+
C,
|
|
132
|
+
"value",
|
|
133
|
+
/*lastMonth*/
|
|
134
|
+
t[10]
|
|
135
|
+
), o(C, "placeholder", "From"), o(C, "class", "VaadinDatePicker svelte-14bqq8d"), v(b, "class", "BonusesCalendarStartDate " + /*isMobile*/
|
|
136
|
+
(t[18] ? "BonusesCalendarMobile" : "") + " svelte-14bqq8d"), v(P, "for", "BonusesCalendarEndDate"), v(P, "class", "svelte-14bqq8d"), o(
|
|
137
|
+
q,
|
|
138
|
+
"max",
|
|
139
|
+
/*maxDate*/
|
|
140
|
+
t[9]
|
|
141
|
+
), o(
|
|
142
|
+
q,
|
|
143
|
+
"value",
|
|
144
|
+
/*maxDate*/
|
|
145
|
+
t[9]
|
|
146
|
+
), o(q, "placeholder", "To"), o(q, "class", "VaadinDatePicker svelte-14bqq8d"), v(B, "class", "BonusesCalendarEndDate " + /*isMobile*/
|
|
147
|
+
(t[18] ? "BonusesCalendarMobile" : "") + " svelte-14bqq8d"), v(u, "class", "BonusesCalendarContainer " + /*isMobile*/
|
|
148
|
+
(t[18] ? "BonusesCalendarContainerMobile" : "") + " svelte-14bqq8d"), v(F, "class", "BonusesCalendarFilter " + /*isMobile*/
|
|
149
|
+
(t[18] ? "BonusesCalendarFilterMobile" : "") + " svelte-14bqq8d"), v(m, "class", "BonusCalendarWrapper " + /*isMobile*/
|
|
150
|
+
(t[18] ? "BonusCalendarWrapperMobile" : "") + " svelte-14bqq8d"), v(U, "class", "BonusesGrid " + /*isMobile*/
|
|
151
|
+
(t[18] ? "BonusesGridMobile" : "") + " svelte-14bqq8d"), v(e, "class", "BonusesWrapper " + /*isMobile*/
|
|
152
|
+
(t[18] ? "BonusesWrapperMobile" : "") + " svelte-14bqq8d");
|
|
153
|
+
},
|
|
154
|
+
m(y, H) {
|
|
155
|
+
z(y, e, H), Y && Y.m(e, null), d(e, s), d(e, l), d(l, r), d(e, a), d(e, m), d(m, u), d(u, b), d(b, _), d(_, p), d(b, w), d(b, C), t[25](C), d(u, k), d(u, B), d(B, P), d(P, I), d(B, E), d(B, q), t[26](q), d(m, f), d(m, F), d(F, N), d(e, $), d(e, U), W.m(U, null), d(e, te), M && M.m(e, null), J || (L = X(
|
|
156
|
+
F,
|
|
157
|
+
"click",
|
|
158
|
+
/*click_handler_1*/
|
|
159
|
+
t[27]
|
|
160
|
+
), J = !0);
|
|
161
|
+
},
|
|
162
|
+
p(y, H) {
|
|
163
|
+
/*isMobile*/
|
|
164
|
+
y[18] && Y.p(y, H), H[0] & /*$_*/
|
|
165
|
+
131072 && n !== (n = /*$_*/
|
|
166
|
+
y[17]("titleBonusesHistory") + "") && x(r, n), H[0] & /*$_*/
|
|
167
|
+
131072 && c !== (c = /*$_*/
|
|
168
|
+
y[17]("dateFrom") + "") && x(p, c), H[0] & /*maxDate*/
|
|
169
|
+
512 && o(
|
|
170
|
+
C,
|
|
171
|
+
"max",
|
|
172
|
+
/*maxDate*/
|
|
173
|
+
y[9]
|
|
174
|
+
), H[0] & /*lastMonth*/
|
|
175
|
+
1024 && o(
|
|
176
|
+
C,
|
|
177
|
+
"value",
|
|
178
|
+
/*lastMonth*/
|
|
179
|
+
y[10]
|
|
180
|
+
), H[0] & /*$_*/
|
|
181
|
+
131072 && T !== (T = /*$_*/
|
|
182
|
+
y[17]("dateTo") + "") && x(I, T), H[0] & /*maxDate*/
|
|
183
|
+
512 && o(
|
|
184
|
+
q,
|
|
185
|
+
"max",
|
|
186
|
+
/*maxDate*/
|
|
187
|
+
y[9]
|
|
188
|
+
), H[0] & /*maxDate*/
|
|
189
|
+
512 && o(
|
|
190
|
+
q,
|
|
191
|
+
"value",
|
|
192
|
+
/*maxDate*/
|
|
193
|
+
y[9]
|
|
194
|
+
), H[0] & /*$_*/
|
|
195
|
+
131072 && g !== (g = /*$_*/
|
|
196
|
+
y[17]("dateFilter") + "") && x(N, g), K === (K = ee(y)) && W ? W.p(y, H) : (W.d(1), W = K(y), W && (W.c(), W.m(U, null))), /*bonusesList*/
|
|
197
|
+
y[16].length !== 0 ? M ? M.p(y, H) : (M = me(y), M.c(), M.m(e, null)) : M && (M.d(1), M = null);
|
|
198
|
+
},
|
|
199
|
+
d(y) {
|
|
200
|
+
y && R(e), Y && Y.d(), t[25](null), t[26](null), W.d(), M && M.d(), J = !1, L();
|
|
201
|
+
}
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
function Ze(t) {
|
|
205
|
+
let e, s, l, n, r, a, m, u, b, _, c = (
|
|
206
|
+
/*$_*/
|
|
207
|
+
t[17]("titleBonusesHistory") + ""
|
|
208
|
+
), p, w, C;
|
|
209
|
+
return {
|
|
210
|
+
c() {
|
|
211
|
+
e = h("div"), s = Q("svg"), l = Q("defs"), n = Q("style"), r = A(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), a = Q("g"), m = Q("g"), u = Q("path"), b = D(), _ = h("h2"), p = A(c), v(u, "class", "aaa"), v(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), v(u, "transform", "translate(15 15) rotate(180)"), v(m, "transform", "translate(20 158)"), v(a, "transform", "translate(-20 -158)"), v(s, "xmlns", "http://www.w3.org/2000/svg"), v(s, "width", "15"), v(s, "height", "15"), v(s, "viewBox", "0 0 15 15"), v(s, "class", "svelte-14bqq8d"), v(_, "class", "BonusesTitleMobile svelte-14bqq8d"), v(e, "class", "MenuReturnButton svelte-14bqq8d");
|
|
212
|
+
},
|
|
213
|
+
m(k, B) {
|
|
214
|
+
z(k, e, B), d(e, s), d(s, l), d(l, n), d(n, r), d(s, a), d(a, m), d(m, u), d(e, b), d(e, _), d(_, p), w || (C = X(
|
|
215
|
+
e,
|
|
216
|
+
"click",
|
|
217
|
+
/*click_handler*/
|
|
218
|
+
t[24]
|
|
219
|
+
), w = !0);
|
|
220
|
+
},
|
|
221
|
+
p(k, B) {
|
|
222
|
+
B[0] & /*$_*/
|
|
223
|
+
131072 && c !== (c = /*$_*/
|
|
224
|
+
k[17]("titleBonusesHistory") + "") && x(p, c);
|
|
225
|
+
},
|
|
226
|
+
d(k) {
|
|
227
|
+
k && R(e), w = !1, C();
|
|
228
|
+
}
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
function Xe(t) {
|
|
232
|
+
let e, s = ne(
|
|
233
|
+
/*bonusesList*/
|
|
234
|
+
t[16]
|
|
235
|
+
), l = [];
|
|
236
|
+
for (let n = 0; n < s.length; n += 1)
|
|
237
|
+
l[n] = ve(pe(t, s, n));
|
|
238
|
+
return {
|
|
239
|
+
c() {
|
|
240
|
+
for (let n = 0; n < l.length; n += 1)
|
|
241
|
+
l[n].c();
|
|
242
|
+
e = ge();
|
|
243
|
+
},
|
|
244
|
+
m(n, r) {
|
|
245
|
+
for (let a = 0; a < l.length; a += 1)
|
|
246
|
+
l[a] && l[a].m(n, r);
|
|
247
|
+
z(n, e, r);
|
|
248
|
+
},
|
|
249
|
+
p(n, r) {
|
|
250
|
+
if (r[0] & /*bonusesList, lang, clientstyling, clientstylingurl, translationurl*/
|
|
251
|
+
65551) {
|
|
252
|
+
s = ne(
|
|
253
|
+
/*bonusesList*/
|
|
254
|
+
n[16]
|
|
255
|
+
);
|
|
256
|
+
let a;
|
|
257
|
+
for (a = 0; a < s.length; a += 1) {
|
|
258
|
+
const m = pe(n, s, a);
|
|
259
|
+
l[a] ? l[a].p(m, r) : (l[a] = ve(m), l[a].c(), l[a].m(e.parentNode, e));
|
|
260
|
+
}
|
|
261
|
+
for (; a < l.length; a += 1)
|
|
262
|
+
l[a].d(1);
|
|
263
|
+
l.length = s.length;
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
d(n) {
|
|
267
|
+
n && R(e), qe(l, n);
|
|
268
|
+
}
|
|
269
|
+
};
|
|
270
|
+
}
|
|
271
|
+
function Je(t) {
|
|
272
|
+
let e, s = (
|
|
273
|
+
/*$_*/
|
|
274
|
+
t[17]("noBonusHistory") + ""
|
|
275
|
+
), l;
|
|
276
|
+
return {
|
|
277
|
+
c() {
|
|
278
|
+
e = h("p"), l = A(s);
|
|
279
|
+
},
|
|
280
|
+
m(n, r) {
|
|
281
|
+
z(n, e, r), d(e, l);
|
|
282
|
+
},
|
|
283
|
+
p(n, r) {
|
|
284
|
+
r[0] & /*$_*/
|
|
285
|
+
131072 && s !== (s = /*$_*/
|
|
286
|
+
n[17]("noBonusHistory") + "") && x(l, s);
|
|
287
|
+
},
|
|
288
|
+
d(n) {
|
|
289
|
+
n && R(e);
|
|
290
|
+
}
|
|
291
|
+
};
|
|
292
|
+
}
|
|
293
|
+
function Ke(t) {
|
|
294
|
+
let e, s, l, n, r, a, m, u, b, _;
|
|
295
|
+
return {
|
|
296
|
+
c() {
|
|
297
|
+
e = h("player-bonus-card"), o(e, "bonuswalletid", s = /*bonus*/
|
|
298
|
+
t[47].walletId), o(e, "bonusdate", l = /*bonus*/
|
|
299
|
+
t[47].granted), o(e, "bonusstatus", n = /*bonus*/
|
|
300
|
+
t[47].status), o(e, "bonusname", r = /*bonus*/
|
|
301
|
+
t[47].name), o(e, "bonustype", a = /*bonus*/
|
|
302
|
+
t[47].type), o(e, "bonusamount", m = /*bonus*/
|
|
303
|
+
t[47].extension.grantedPlayerCurrencyAmount), o(e, "bonuswageringamount", u = `${/*bonus*/
|
|
304
|
+
t[47].fulfilledWR} / ${/*bonus*/
|
|
305
|
+
t[47].originalWageringRequirement}`), o(e, "bonusremainingamount", b = /*bonus*/
|
|
306
|
+
t[47].currentAmount), o(e, "bonuscurrency", _ = /*bonus*/
|
|
307
|
+
t[47].currency), o(
|
|
308
|
+
e,
|
|
309
|
+
"lang",
|
|
310
|
+
/*lang*/
|
|
311
|
+
t[0]
|
|
312
|
+
), o(
|
|
313
|
+
e,
|
|
314
|
+
"clientstyling",
|
|
315
|
+
/*clientstyling*/
|
|
316
|
+
t[1]
|
|
317
|
+
), o(
|
|
318
|
+
e,
|
|
319
|
+
"clientstylingurl",
|
|
320
|
+
/*clientstylingurl*/
|
|
321
|
+
t[2]
|
|
322
|
+
), o(
|
|
323
|
+
e,
|
|
324
|
+
"translationurl",
|
|
325
|
+
/*translationurl*/
|
|
326
|
+
t[3]
|
|
327
|
+
);
|
|
328
|
+
},
|
|
329
|
+
m(c, p) {
|
|
330
|
+
z(c, e, p);
|
|
331
|
+
},
|
|
332
|
+
p(c, p) {
|
|
333
|
+
p[0] & /*bonusesList*/
|
|
334
|
+
65536 && s !== (s = /*bonus*/
|
|
335
|
+
c[47].walletId) && o(e, "bonuswalletid", s), p[0] & /*bonusesList*/
|
|
336
|
+
65536 && l !== (l = /*bonus*/
|
|
337
|
+
c[47].granted) && o(e, "bonusdate", l), p[0] & /*bonusesList*/
|
|
338
|
+
65536 && n !== (n = /*bonus*/
|
|
339
|
+
c[47].status) && o(e, "bonusstatus", n), p[0] & /*bonusesList*/
|
|
340
|
+
65536 && r !== (r = /*bonus*/
|
|
341
|
+
c[47].name) && o(e, "bonusname", r), p[0] & /*bonusesList*/
|
|
342
|
+
65536 && a !== (a = /*bonus*/
|
|
343
|
+
c[47].type) && o(e, "bonustype", a), p[0] & /*bonusesList*/
|
|
344
|
+
65536 && m !== (m = /*bonus*/
|
|
345
|
+
c[47].extension.grantedPlayerCurrencyAmount) && o(e, "bonusamount", m), p[0] & /*bonusesList*/
|
|
346
|
+
65536 && u !== (u = `${/*bonus*/
|
|
347
|
+
c[47].fulfilledWR} / ${/*bonus*/
|
|
348
|
+
c[47].originalWageringRequirement}`) && o(e, "bonuswageringamount", u), p[0] & /*bonusesList*/
|
|
349
|
+
65536 && b !== (b = /*bonus*/
|
|
350
|
+
c[47].currentAmount) && o(e, "bonusremainingamount", b), p[0] & /*bonusesList*/
|
|
351
|
+
65536 && _ !== (_ = /*bonus*/
|
|
352
|
+
c[47].currency) && o(e, "bonuscurrency", _), p[0] & /*lang*/
|
|
353
|
+
1 && o(
|
|
354
|
+
e,
|
|
355
|
+
"lang",
|
|
356
|
+
/*lang*/
|
|
357
|
+
c[0]
|
|
358
|
+
), p[0] & /*clientstyling*/
|
|
359
|
+
2 && o(
|
|
360
|
+
e,
|
|
361
|
+
"clientstyling",
|
|
362
|
+
/*clientstyling*/
|
|
363
|
+
c[1]
|
|
364
|
+
), p[0] & /*clientstylingurl*/
|
|
365
|
+
4 && o(
|
|
366
|
+
e,
|
|
367
|
+
"clientstylingurl",
|
|
368
|
+
/*clientstylingurl*/
|
|
369
|
+
c[2]
|
|
370
|
+
), p[0] & /*translationurl*/
|
|
371
|
+
8 && o(
|
|
372
|
+
e,
|
|
373
|
+
"translationurl",
|
|
374
|
+
/*translationurl*/
|
|
375
|
+
c[3]
|
|
376
|
+
);
|
|
377
|
+
},
|
|
378
|
+
d(c) {
|
|
379
|
+
c && R(e);
|
|
380
|
+
}
|
|
381
|
+
};
|
|
382
|
+
}
|
|
383
|
+
function Qe(t) {
|
|
384
|
+
let e, s, l, n, r, a, m;
|
|
385
|
+
return {
|
|
386
|
+
c() {
|
|
387
|
+
e = h("player-bonus-card"), o(e, "bonuswalletid", s = /*bonus*/
|
|
388
|
+
t[47].walletId), o(e, "bonusdate", l = /*bonus*/
|
|
389
|
+
t[47].granted), o(e, "bonusstatus", n = /*bonus*/
|
|
390
|
+
t[47].status), o(e, "bonusname", r = /*bonus*/
|
|
391
|
+
t[47].name), o(e, "bonustype", a = /*bonus*/
|
|
392
|
+
t[47].type), o(e, "bonuscurrency", m = /*bonus*/
|
|
393
|
+
t[47].currency), o(
|
|
394
|
+
e,
|
|
395
|
+
"lang",
|
|
396
|
+
/*lang*/
|
|
397
|
+
t[0]
|
|
398
|
+
), o(
|
|
399
|
+
e,
|
|
400
|
+
"clientstyling",
|
|
401
|
+
/*clientstyling*/
|
|
402
|
+
t[1]
|
|
403
|
+
), o(
|
|
404
|
+
e,
|
|
405
|
+
"clientstylingurl",
|
|
406
|
+
/*clientstylingurl*/
|
|
407
|
+
t[2]
|
|
408
|
+
), o(
|
|
409
|
+
e,
|
|
410
|
+
"translationurl",
|
|
411
|
+
/*translationurl*/
|
|
412
|
+
t[3]
|
|
413
|
+
);
|
|
414
|
+
},
|
|
415
|
+
m(u, b) {
|
|
416
|
+
z(u, e, b);
|
|
417
|
+
},
|
|
418
|
+
p(u, b) {
|
|
419
|
+
b[0] & /*bonusesList*/
|
|
420
|
+
65536 && s !== (s = /*bonus*/
|
|
421
|
+
u[47].walletId) && o(e, "bonuswalletid", s), b[0] & /*bonusesList*/
|
|
422
|
+
65536 && l !== (l = /*bonus*/
|
|
423
|
+
u[47].granted) && o(e, "bonusdate", l), b[0] & /*bonusesList*/
|
|
424
|
+
65536 && n !== (n = /*bonus*/
|
|
425
|
+
u[47].status) && o(e, "bonusstatus", n), b[0] & /*bonusesList*/
|
|
426
|
+
65536 && r !== (r = /*bonus*/
|
|
427
|
+
u[47].name) && o(e, "bonusname", r), b[0] & /*bonusesList*/
|
|
428
|
+
65536 && a !== (a = /*bonus*/
|
|
429
|
+
u[47].type) && o(e, "bonustype", a), b[0] & /*bonusesList*/
|
|
430
|
+
65536 && m !== (m = /*bonus*/
|
|
431
|
+
u[47].currency) && o(e, "bonuscurrency", m), b[0] & /*lang*/
|
|
432
|
+
1 && o(
|
|
433
|
+
e,
|
|
434
|
+
"lang",
|
|
435
|
+
/*lang*/
|
|
436
|
+
u[0]
|
|
437
|
+
), b[0] & /*clientstyling*/
|
|
438
|
+
2 && o(
|
|
439
|
+
e,
|
|
440
|
+
"clientstyling",
|
|
441
|
+
/*clientstyling*/
|
|
442
|
+
u[1]
|
|
443
|
+
), b[0] & /*clientstylingurl*/
|
|
444
|
+
4 && o(
|
|
445
|
+
e,
|
|
446
|
+
"clientstylingurl",
|
|
447
|
+
/*clientstylingurl*/
|
|
448
|
+
u[2]
|
|
449
|
+
), b[0] & /*translationurl*/
|
|
450
|
+
8 && o(
|
|
451
|
+
e,
|
|
452
|
+
"translationurl",
|
|
453
|
+
/*translationurl*/
|
|
454
|
+
u[3]
|
|
455
|
+
);
|
|
456
|
+
},
|
|
457
|
+
d(u) {
|
|
458
|
+
u && R(e);
|
|
459
|
+
}
|
|
460
|
+
};
|
|
461
|
+
}
|
|
462
|
+
function ve(t) {
|
|
463
|
+
let e;
|
|
464
|
+
function s(r, a) {
|
|
465
|
+
return (
|
|
466
|
+
/*bonus*/
|
|
467
|
+
r[47].type === "freeRound" ? Qe : Ke
|
|
468
|
+
);
|
|
469
|
+
}
|
|
470
|
+
let l = s(t), n = l(t);
|
|
471
|
+
return {
|
|
472
|
+
c() {
|
|
473
|
+
n.c(), e = ge();
|
|
474
|
+
},
|
|
475
|
+
m(r, a) {
|
|
476
|
+
n.m(r, a), z(r, e, a);
|
|
477
|
+
},
|
|
478
|
+
p(r, a) {
|
|
479
|
+
l === (l = s(r)) && n ? n.p(r, a) : (n.d(1), n = l(r), n && (n.c(), n.m(e.parentNode, e)));
|
|
480
|
+
},
|
|
481
|
+
d(r) {
|
|
482
|
+
r && R(e), n.d(r);
|
|
483
|
+
}
|
|
484
|
+
};
|
|
485
|
+
}
|
|
486
|
+
function me(t) {
|
|
487
|
+
let e, s, l, n, r, a, m, u, b, _, c, p, w, C, k, B, P, T, I, E = ne(Array(
|
|
488
|
+
/*numberOfPages*/
|
|
489
|
+
t[14]
|
|
490
|
+
)), q = [];
|
|
491
|
+
for (let f = 0; f < E.length; f += 1)
|
|
492
|
+
q[f] = fe(be(t, E, f));
|
|
493
|
+
return {
|
|
494
|
+
c() {
|
|
495
|
+
e = h("div"), s = h("span"), l = A("|<"), r = D(), a = h("span"), m = A("<"), b = D();
|
|
496
|
+
for (let f = 0; f < q.length; f += 1)
|
|
497
|
+
q[f].c();
|
|
498
|
+
_ = D(), c = h("span"), p = A(">"), C = D(), k = h("span"), B = A(">|"), v(s, "class", n = "BonusesFirst " + /*currentPage*/
|
|
499
|
+
(t[15] === 0 ? "Inactive" : "") + " svelte-14bqq8d"), v(a, "class", u = "BonusesPrev " + /*currentPage*/
|
|
500
|
+
(t[15] === 0 ? "Inactive" : "") + " svelte-14bqq8d"), v(c, "class", w = "BonusesNext " + /*currentPage*/
|
|
501
|
+
(t[15] === /*numberOfPages*/
|
|
502
|
+
t[14] - 1 ? "Inactive" : "") + " svelte-14bqq8d"), v(k, "class", P = "BonusesLast " + /*currentPage*/
|
|
503
|
+
(t[15] === /*numberOfPages*/
|
|
504
|
+
t[14] - 1 ? "Inactive" : "") + " svelte-14bqq8d"), v(e, "class", "BonusesPaginationWrapper " + /*isMobile*/
|
|
505
|
+
(t[18] ? "BonusesPaginationWrapperMobile" : "") + " svelte-14bqq8d");
|
|
506
|
+
},
|
|
507
|
+
m(f, F) {
|
|
508
|
+
z(f, e, F), d(e, s), d(s, l), d(e, r), d(e, a), d(a, m), d(e, b);
|
|
509
|
+
for (let g = 0; g < q.length; g += 1)
|
|
510
|
+
q[g] && q[g].m(e, null);
|
|
511
|
+
d(e, _), d(e, c), d(c, p), d(e, C), d(e, k), d(k, B), T || (I = [
|
|
512
|
+
X(
|
|
513
|
+
s,
|
|
514
|
+
"click",
|
|
515
|
+
/*click_handler_2*/
|
|
516
|
+
t[28]
|
|
517
|
+
),
|
|
518
|
+
X(
|
|
519
|
+
a,
|
|
520
|
+
"click",
|
|
521
|
+
/*click_handler_3*/
|
|
522
|
+
t[29]
|
|
523
|
+
),
|
|
524
|
+
X(
|
|
525
|
+
c,
|
|
526
|
+
"click",
|
|
527
|
+
/*click_handler_5*/
|
|
528
|
+
t[31]
|
|
529
|
+
),
|
|
530
|
+
X(
|
|
531
|
+
k,
|
|
532
|
+
"click",
|
|
533
|
+
/*click_handler_6*/
|
|
534
|
+
t[32]
|
|
535
|
+
)
|
|
536
|
+
], T = !0);
|
|
537
|
+
},
|
|
538
|
+
p(f, F) {
|
|
539
|
+
if (F[0] & /*currentPage*/
|
|
540
|
+
32768 && n !== (n = "BonusesFirst " + /*currentPage*/
|
|
541
|
+
(f[15] === 0 ? "Inactive" : "") + " svelte-14bqq8d") && v(s, "class", n), F[0] & /*currentPage*/
|
|
542
|
+
32768 && u !== (u = "BonusesPrev " + /*currentPage*/
|
|
543
|
+
(f[15] === 0 ? "Inactive" : "") + " svelte-14bqq8d") && v(a, "class", u), F[0] & /*currentPage, getBonuses, bonushistorystatus, bonushistorytype, numberOfPages*/
|
|
544
|
+
1097776) {
|
|
545
|
+
E = ne(Array(
|
|
546
|
+
/*numberOfPages*/
|
|
547
|
+
f[14]
|
|
548
|
+
));
|
|
549
|
+
let g;
|
|
550
|
+
for (g = 0; g < E.length; g += 1) {
|
|
551
|
+
const N = be(f, E, g);
|
|
552
|
+
q[g] ? q[g].p(N, F) : (q[g] = fe(N), q[g].c(), q[g].m(e, _));
|
|
553
|
+
}
|
|
554
|
+
for (; g < q.length; g += 1)
|
|
555
|
+
q[g].d(1);
|
|
556
|
+
q.length = E.length;
|
|
557
|
+
}
|
|
558
|
+
F[0] & /*currentPage, numberOfPages*/
|
|
559
|
+
49152 && w !== (w = "BonusesNext " + /*currentPage*/
|
|
560
|
+
(f[15] === /*numberOfPages*/
|
|
561
|
+
f[14] - 1 ? "Inactive" : "") + " svelte-14bqq8d") && v(c, "class", w), F[0] & /*currentPage, numberOfPages*/
|
|
562
|
+
49152 && P !== (P = "BonusesLast " + /*currentPage*/
|
|
563
|
+
(f[15] === /*numberOfPages*/
|
|
564
|
+
f[14] - 1 ? "Inactive" : "") + " svelte-14bqq8d") && v(k, "class", P);
|
|
565
|
+
},
|
|
566
|
+
d(f) {
|
|
567
|
+
f && R(e), qe(q, f), T = !1, Ge(I);
|
|
568
|
+
}
|
|
569
|
+
};
|
|
570
|
+
}
|
|
571
|
+
function fe(t) {
|
|
572
|
+
let e, s = (
|
|
573
|
+
/*i*/
|
|
574
|
+
t[46] + 1 + ""
|
|
575
|
+
), l, n, r, a;
|
|
576
|
+
function m() {
|
|
577
|
+
return (
|
|
578
|
+
/*click_handler_4*/
|
|
579
|
+
t[30](
|
|
580
|
+
/*i*/
|
|
581
|
+
t[46]
|
|
582
|
+
)
|
|
583
|
+
);
|
|
584
|
+
}
|
|
585
|
+
return {
|
|
586
|
+
c() {
|
|
587
|
+
e = h("span"), l = A(s), v(e, "class", n = "BonusesPage " + /*i*/
|
|
588
|
+
(t[46] === /*currentPage*/
|
|
589
|
+
t[15] ? "BonusPageActive" : "") + " svelte-14bqq8d");
|
|
590
|
+
},
|
|
591
|
+
m(u, b) {
|
|
592
|
+
z(u, e, b), d(e, l), r || (a = X(e, "click", m), r = !0);
|
|
593
|
+
},
|
|
594
|
+
p(u, b) {
|
|
595
|
+
t = u, b[0] & /*currentPage*/
|
|
596
|
+
32768 && n !== (n = "BonusesPage " + /*i*/
|
|
597
|
+
(t[46] === /*currentPage*/
|
|
598
|
+
t[15] ? "BonusPageActive" : "") + " svelte-14bqq8d") && v(e, "class", n);
|
|
599
|
+
},
|
|
600
|
+
d(u) {
|
|
601
|
+
u && R(e), r = !1, a();
|
|
602
|
+
}
|
|
603
|
+
};
|
|
604
|
+
}
|
|
605
|
+
function xe(t) {
|
|
606
|
+
let e;
|
|
607
|
+
function s(r, a) {
|
|
608
|
+
return Ue;
|
|
609
|
+
}
|
|
610
|
+
let n = s()(t);
|
|
611
|
+
return {
|
|
612
|
+
c() {
|
|
613
|
+
e = h("div"), n.c();
|
|
614
|
+
},
|
|
615
|
+
m(r, a) {
|
|
616
|
+
z(r, e, a), n.m(e, null), t[33](e);
|
|
617
|
+
},
|
|
618
|
+
p(r, a) {
|
|
619
|
+
n.p(r, a);
|
|
620
|
+
},
|
|
621
|
+
i: ue,
|
|
622
|
+
o: ue,
|
|
623
|
+
d(r) {
|
|
624
|
+
r && R(e), n.d(), t[33](null);
|
|
625
|
+
}
|
|
626
|
+
};
|
|
627
|
+
}
|
|
628
|
+
let V = 6;
|
|
629
|
+
function $e(t, e, s) {
|
|
630
|
+
let l;
|
|
631
|
+
Ye(t, je, (i) => s(17, l = i));
|
|
632
|
+
let { endpoint: n = "" } = e, { session: r = "" } = e, { playerid: a = "" } = e, { lang: m = "en" } = e, { clientstyling: u = "" } = e, { clientstylingurl: b = "" } = e, { translationurl: _ = "" } = e, { bonushistorystatus: c = "" } = e, { bonushistorytype: p = "" } = e, w, C = window.navigator.userAgent, k = ze(C) !== "PC", B, P, T, I;
|
|
633
|
+
T = se(/* @__PURE__ */ new Date()).format("YYYY-MM-DD"), I = se(/* @__PURE__ */ new Date()).subtract(3, "months").format("YYYY-MM-DD");
|
|
634
|
+
let E = I, q = T, f = 0, F = 0, g = 0, N = 0, $ = 0, U = [];
|
|
635
|
+
const te = () => {
|
|
636
|
+
fetch(_).then((S) => S.json()).then((S) => {
|
|
637
|
+
Object.keys(S).forEach((j) => {
|
|
638
|
+
de(j, S[j]);
|
|
639
|
+
});
|
|
640
|
+
}).catch((S) => {
|
|
641
|
+
console.log(S);
|
|
642
|
+
});
|
|
643
|
+
};
|
|
644
|
+
Object.keys(ce).forEach((i) => {
|
|
645
|
+
de(i, ce[i]);
|
|
646
|
+
});
|
|
647
|
+
const J = () => {
|
|
648
|
+
window.postMessage(
|
|
649
|
+
{
|
|
650
|
+
type: "PlayerAccountMenuActive",
|
|
651
|
+
isMobile: k
|
|
652
|
+
},
|
|
653
|
+
window.location.href
|
|
654
|
+
);
|
|
655
|
+
}, L = (i, S, j) => {
|
|
656
|
+
let le = new URL(`${n}/v1/player/${a}/bonusWallet`), Me = se(E).startOf("day").utc().format("YYYY-MM-DDTHH:mm:ss.SSS[Z]"), He = se(q).endOf("day").utc().format("YYYY-MM-DDTHH:mm:ss.SSS[Z]"), Z = "", re = "", ie = "";
|
|
657
|
+
S && (re = S.split(",").map((ae) => `status=${ae}`).join(","), Z = Z + re + ","), j && (ie = j.split(",").map((ae) => `type=${ae}`).join(","), Z = Z + ie + ","), Z = Z + `granted=[${Me}~${He}]`, le.searchParams.append("filter", Z), le.searchParams.append("pagination", `offset=${i},limit=${V}`);
|
|
658
|
+
let De = {
|
|
659
|
+
method: "GET",
|
|
660
|
+
headers: { "X-SessionId": r }
|
|
661
|
+
};
|
|
662
|
+
fetch(le.href, De).then((G) => G.json()).then(
|
|
663
|
+
(G) => {
|
|
664
|
+
s(14, N = Math.ceil(G.total / V)), i - V >= 0 && s(11, f = i - V), i + V < G.total && s(12, F = i + V), s(13, g = (N - 1) * V), s(15, $ = i / V), s(16, U = G.items);
|
|
665
|
+
},
|
|
666
|
+
(G) => {
|
|
667
|
+
console.error(G);
|
|
668
|
+
}
|
|
669
|
+
), window.postMessage({ type: "ScrollToTop" }, window.location.href);
|
|
670
|
+
}, Y = (i) => {
|
|
671
|
+
E = i.target.value;
|
|
672
|
+
}, ee = (i) => {
|
|
673
|
+
q = i.target.value;
|
|
674
|
+
}, K = () => {
|
|
675
|
+
B.addEventListener("change", Y, !1), P.addEventListener("change", ee, !1);
|
|
676
|
+
};
|
|
677
|
+
Re(() => () => {
|
|
678
|
+
B.removeEventListener("change", Y), P.removeEventListener("change", ee);
|
|
679
|
+
});
|
|
680
|
+
const W = () => {
|
|
681
|
+
Oe(m);
|
|
682
|
+
}, M = () => {
|
|
683
|
+
let i = document.createElement("style");
|
|
684
|
+
i.innerHTML = u, w.appendChild(i);
|
|
685
|
+
}, y = () => {
|
|
686
|
+
let i = new URL(b), S = document.createElement("style");
|
|
687
|
+
fetch(i.href).then((j) => j.text()).then((j) => {
|
|
688
|
+
S.innerHTML = j, setTimeout(
|
|
689
|
+
() => {
|
|
690
|
+
w.appendChild(S);
|
|
691
|
+
},
|
|
692
|
+
1
|
|
693
|
+
);
|
|
694
|
+
});
|
|
695
|
+
}, H = () => J();
|
|
696
|
+
function _e(i) {
|
|
697
|
+
oe[i ? "unshift" : "push"](() => {
|
|
698
|
+
B = i, s(7, B);
|
|
699
|
+
});
|
|
700
|
+
}
|
|
701
|
+
function ye(i) {
|
|
702
|
+
oe[i ? "unshift" : "push"](() => {
|
|
703
|
+
P = i, s(8, P);
|
|
704
|
+
});
|
|
705
|
+
}
|
|
706
|
+
const he = () => L(0, c, p), Be = () => L(0, c, p), we = () => L(f, c, p), ke = (i) => L(i * V, c, p), Fe = () => L(F, c, p), Ce = () => L(g, c, p);
|
|
707
|
+
function Pe(i) {
|
|
708
|
+
oe[i ? "unshift" : "push"](() => {
|
|
709
|
+
w = i, s(6, w);
|
|
710
|
+
});
|
|
711
|
+
}
|
|
712
|
+
return t.$$set = (i) => {
|
|
713
|
+
"endpoint" in i && s(21, n = i.endpoint), "session" in i && s(22, r = i.session), "playerid" in i && s(23, a = i.playerid), "lang" in i && s(0, m = i.lang), "clientstyling" in i && s(1, u = i.clientstyling), "clientstylingurl" in i && s(2, b = i.clientstylingurl), "translationurl" in i && s(3, _ = i.translationurl), "bonushistorystatus" in i && s(4, c = i.bonushistorystatus), "bonushistorytype" in i && s(5, p = i.bonushistorytype);
|
|
714
|
+
}, t.$$.update = () => {
|
|
715
|
+
t.$$.dirty[0] & /*lang*/
|
|
716
|
+
1 && m && W(), t.$$.dirty[0] & /*startCalendar, endCalendar*/
|
|
717
|
+
384 && B && P && K(), t.$$.dirty[0] & /*session, playerid, endpoint, bonushistorystatus, bonushistorytype*/
|
|
718
|
+
14680112 && r && a && n && L(0, c, p), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
719
|
+
68 && b && w && y(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
720
|
+
66 && u && w && M(), t.$$.dirty[0] & /*translationurl*/
|
|
721
|
+
8 && _ && te();
|
|
722
|
+
}, [
|
|
723
|
+
m,
|
|
724
|
+
u,
|
|
725
|
+
b,
|
|
726
|
+
_,
|
|
727
|
+
c,
|
|
728
|
+
p,
|
|
729
|
+
w,
|
|
730
|
+
B,
|
|
731
|
+
P,
|
|
732
|
+
T,
|
|
733
|
+
I,
|
|
734
|
+
f,
|
|
735
|
+
F,
|
|
736
|
+
g,
|
|
737
|
+
N,
|
|
738
|
+
$,
|
|
739
|
+
U,
|
|
740
|
+
l,
|
|
741
|
+
k,
|
|
742
|
+
J,
|
|
743
|
+
L,
|
|
744
|
+
n,
|
|
745
|
+
r,
|
|
746
|
+
a,
|
|
747
|
+
H,
|
|
748
|
+
_e,
|
|
749
|
+
ye,
|
|
750
|
+
he,
|
|
751
|
+
Be,
|
|
752
|
+
we,
|
|
753
|
+
ke,
|
|
754
|
+
Fe,
|
|
755
|
+
Ce,
|
|
756
|
+
Pe
|
|
757
|
+
];
|
|
758
|
+
}
|
|
759
|
+
class et extends Se {
|
|
760
|
+
constructor(e) {
|
|
761
|
+
super(), Ae(
|
|
762
|
+
this,
|
|
763
|
+
e,
|
|
764
|
+
$e,
|
|
765
|
+
xe,
|
|
766
|
+
Ie,
|
|
767
|
+
{
|
|
768
|
+
endpoint: 21,
|
|
769
|
+
session: 22,
|
|
770
|
+
playerid: 23,
|
|
771
|
+
lang: 0,
|
|
772
|
+
clientstyling: 1,
|
|
773
|
+
clientstylingurl: 2,
|
|
774
|
+
translationurl: 3,
|
|
775
|
+
bonushistorystatus: 4,
|
|
776
|
+
bonushistorytype: 5
|
|
777
|
+
},
|
|
778
|
+
Ve,
|
|
779
|
+
[-1, -1]
|
|
780
|
+
);
|
|
781
|
+
}
|
|
782
|
+
get endpoint() {
|
|
783
|
+
return this.$$.ctx[21];
|
|
784
|
+
}
|
|
785
|
+
set endpoint(e) {
|
|
786
|
+
this.$$set({ endpoint: e }), O();
|
|
787
|
+
}
|
|
788
|
+
get session() {
|
|
789
|
+
return this.$$.ctx[22];
|
|
790
|
+
}
|
|
791
|
+
set session(e) {
|
|
792
|
+
this.$$set({ session: e }), O();
|
|
793
|
+
}
|
|
794
|
+
get playerid() {
|
|
795
|
+
return this.$$.ctx[23];
|
|
796
|
+
}
|
|
797
|
+
set playerid(e) {
|
|
798
|
+
this.$$set({ playerid: e }), O();
|
|
799
|
+
}
|
|
800
|
+
get lang() {
|
|
801
|
+
return this.$$.ctx[0];
|
|
802
|
+
}
|
|
803
|
+
set lang(e) {
|
|
804
|
+
this.$$set({ lang: e }), O();
|
|
805
|
+
}
|
|
806
|
+
get clientstyling() {
|
|
807
|
+
return this.$$.ctx[1];
|
|
808
|
+
}
|
|
809
|
+
set clientstyling(e) {
|
|
810
|
+
this.$$set({ clientstyling: e }), O();
|
|
811
|
+
}
|
|
812
|
+
get clientstylingurl() {
|
|
813
|
+
return this.$$.ctx[2];
|
|
814
|
+
}
|
|
815
|
+
set clientstylingurl(e) {
|
|
816
|
+
this.$$set({ clientstylingurl: e }), O();
|
|
817
|
+
}
|
|
818
|
+
get translationurl() {
|
|
819
|
+
return this.$$.ctx[3];
|
|
820
|
+
}
|
|
821
|
+
set translationurl(e) {
|
|
822
|
+
this.$$set({ translationurl: e }), O();
|
|
823
|
+
}
|
|
824
|
+
get bonushistorystatus() {
|
|
825
|
+
return this.$$.ctx[4];
|
|
826
|
+
}
|
|
827
|
+
set bonushistorystatus(e) {
|
|
828
|
+
this.$$set({ bonushistorystatus: e }), O();
|
|
829
|
+
}
|
|
830
|
+
get bonushistorytype() {
|
|
831
|
+
return this.$$.ctx[5];
|
|
832
|
+
}
|
|
833
|
+
set bonushistorytype(e) {
|
|
834
|
+
this.$$set({ bonushistorytype: e }), O();
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
Le(et, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, bonushistorystatus: {}, bonushistorytype: {} }, [], [], !0);
|
|
838
|
+
export {
|
|
839
|
+
et as default
|
|
840
|
+
};
|