@everymatrix/player-account-controller 1.68.0 → 1.69.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/{PlayerAccountController-BGIYoCkD.js → PlayerAccountController-Bj-XgQJE.js} +9 -9
- package/components/{PlayerAccountController-BckipwcO.js → PlayerAccountController-CvlVSeuD.js} +9 -9
- package/components/{PlayerAccountController-DCe0-Np2.cjs → PlayerAccountController-DOYR_ETm.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-BF1Dd_Yw.js → PlayerAccountGamingLimits-B0QALjVi.js} +1 -1
- package/components/{PlayerAccountGamingLimits-DZBzKFyv.cjs → PlayerAccountGamingLimits-BIXEO8qU.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-BKHRQo_P.js → PlayerAccountGamingLimits-C11On8aq.js} +1 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-C40tSY9Z.js +4792 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-CoayAtf0.js +4792 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-Crtmu06d.cjs +2 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-DWbZBNtU.cjs → PlayerAccountGamingLimitsInfoCard-COS0sgRr.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-BlMfsPqJ.js → PlayerAccountGamingLimitsInfoCard-D5Vpi7Gd.js} +2 -2
- package/components/{PlayerAccountGamingLimitsInfoCard-BqsEfU1b.js → PlayerAccountGamingLimitsInfoCard-blI001Nx.js} +2 -2
- package/components/PlayerAccountGeneralConfirmationModal-DHEkFez0.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-lHX_vmhB.js → PlayerAccountGeneralConfirmationModal-DbBEBukz.js} +114 -119
- package/components/{PlayerAccountGeneralConfirmationModal-DQ7Oklqf.js → PlayerAccountGeneralConfirmationModal-DzZ3ym_J.js} +114 -119
- package/components/{PlayerAccountProductRestriction-BDO7zmmM.js → PlayerAccountProductRestriction-BXXflOCi.js} +268 -283
- package/components/{PlayerAccountProductRestriction-D-EBC7dz.js → PlayerAccountProductRestriction-f6Ihr4uI.js} +268 -283
- package/components/{PlayerAccountProductRestriction-BK1qKxhK.cjs → PlayerAccountProductRestriction-uj_BwdJ0.cjs} +37 -37
- package/components/{PlayerAccountSelfExclusion-DNhGD82-.js → PlayerAccountSelfExclusion-B3xDcZXs.js} +2 -2
- package/components/{PlayerAccountSelfExclusion-CBfJvzsw.cjs → PlayerAccountSelfExclusion-NoFOWnwy.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-B1UJulje.js → PlayerAccountSelfExclusion-tzK5a7dq.js} +2 -2
- package/components/{PlayerAccountTimeout-C7TRf46n.js → PlayerAccountTimeout-DFM9IiTT.js} +2 -2
- package/components/{PlayerAccountTimeout-Cs6kPeQE.cjs → PlayerAccountTimeout-HZrAxL_1.cjs} +1 -1
- package/components/{PlayerAccountTimeout-CajByu4y.js → PlayerAccountTimeout-b0Nl9gfs.js} +2 -2
- package/components/{PlayerAccountTransactionsHistory-BaakM7i6.js → PlayerAccountTransactionsHistory-B_kH0Hjt.js} +2 -2
- package/components/{PlayerAccountTransactionsHistory-DlxuOGYF.js → PlayerAccountTransactionsHistory-DoyCBIgA.js} +2 -2
- package/components/{PlayerAccountTransactionsHistory-CXUQytDG.cjs → PlayerAccountTransactionsHistory-PIw_RR0i.cjs} +1 -1
- package/components/{PlayerActiveBonuses-DRc-ZvO7.js → PlayerActiveBonuses-CSDz-kWg.js} +489 -459
- package/components/{PlayerActiveBonuses-BbX2ugwN.js → PlayerActiveBonuses-CrOQdlJB.js} +492 -462
- package/components/PlayerActiveBonuses-wlP0A00N.cjs +1 -0
- package/components/PlayerBonusCard-BBQEU4zs.cjs +1 -0
- package/components/{PlayerBonusCard-CXbETnCF.js → PlayerBonusCard-Ca4GQeMu.js} +207 -191
- package/components/{PlayerBonusCard-6xOKi384.js → PlayerBonusCard-qHJ-z21x.js} +207 -191
- package/components/PlayerBonusHistory-2blkOHr3.js +1051 -0
- package/components/PlayerBonusHistory-ChzkBbAH.js +1040 -0
- package/components/PlayerBonusHistory-D2uJLN_3.cjs +1 -0
- package/components/PlayerGamingHistory-8wco0drZ.js +1016 -0
- package/components/{PlayerGamingHistory-BmwyIBJN.js → PlayerGamingHistory-CRFPc2yB.js} +472 -456
- package/components/PlayerGamingHistory-D5C8zTFo.cjs +1 -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/stencil/{index-7c5e707a-C9R6jYpt.js → index-7c5e707a-2AC9SnQ7.js} +1 -1
- package/stencil/{index-7c5e707a-DvxqcEpc.js → index-7c5e707a-BM4sfR0h.js} +1 -1
- package/stencil/{index-7c5e707a-ESX_oqGB.cjs → index-7c5e707a-Cw-c3Bke.cjs} +1 -1
- package/stencil/user-transaction-history-7_yFZr3w.js +1645 -0
- package/stencil/user-transaction-history-DZZT2rYX.cjs +1 -0
- package/stencil/user-transaction-history-Dpd_aKdj.js +1621 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-B7O4IGQB.js +0 -2891
- package/components/PlayerAccountGamingLimitsGroupEdit-BvnqlbPp.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-DlaRG8Hg.js +0 -2891
- package/components/PlayerAccountGeneralConfirmationModal-BiNxgQbD.cjs +0 -1
- package/components/PlayerActiveBonuses-Bc5S3wl_.cjs +0 -1
- package/components/PlayerBonusCard-BNNcjGWn.cjs +0 -1
- package/components/PlayerBonusHistory-DrdkliDU.cjs +0 -1
- package/components/PlayerBonusHistory-MuL66Q-z.js +0 -985
- package/components/PlayerBonusHistory-bApDQYer.js +0 -986
- package/components/PlayerGamingHistory-AV5mZQlk.js +0 -975
- package/components/PlayerGamingHistory-BDzbgOBi.cjs +0 -1
- package/stencil/user-transaction-history-BAK7MHHa.js +0 -374
- package/stencil/user-transaction-history-DhQ6RqNc.js +0 -350
- package/stencil/user-transaction-history-DiRXpfbN.cjs +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as Se, $ as Ie, S as ze, i as Te, s as Ne, f as U, b as Re, n as ie, d as O, g as j, j as M, p as Le, q as Oe, u as je, w as qe, r as se, c as Z, V as re, h as d, l as H, k as R, m as L, F as te, o as B, v as x, O as ne, P as Be, e as t, x as De, y as Ge, z as Ve, A as Ue, B as He } from "./GeneralLogout-CgxHUYZx.js";
|
|
2
2
|
function le(o, e) {
|
|
3
|
-
|
|
3
|
+
Se(o, e);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
6
|
-
|
|
5
|
+
function Xe(o) {
|
|
6
|
+
Ie.set(o);
|
|
7
7
|
}
|
|
8
8
|
const ue = {
|
|
9
9
|
en: {
|
|
@@ -144,474 +144,496 @@ if (typeof window < "u") {
|
|
|
144
144
|
return function(...n) {
|
|
145
145
|
try {
|
|
146
146
|
return e.apply(this, n);
|
|
147
|
-
} catch (
|
|
148
|
-
if (
|
|
147
|
+
} catch (a) {
|
|
148
|
+
if (a instanceof DOMException && a.message.includes("has already been used with this registry") || a.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
149
149
|
return !1;
|
|
150
|
-
throw
|
|
150
|
+
throw a;
|
|
151
151
|
}
|
|
152
152
|
};
|
|
153
153
|
};
|
|
154
|
-
customElements.define = o(customElements.define), import("./PlayerBonusCard-
|
|
154
|
+
customElements.define = o(customElements.define), import("./PlayerBonusCard-Ca4GQeMu.js").then(({ default: e }) => {
|
|
155
155
|
!customElements.get("player-bonus-card") && customElements.define("player-bonus-card", e.element);
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
|
-
function
|
|
159
|
-
|
|
158
|
+
function Ye(o) {
|
|
159
|
+
Re(o, "svelte-1nt8h6r", ".ActiveBonusesWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:850px}.ActiveBonusesWrapper.ActiveBonusesWrapperMobile{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:30px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.ActiveBonusesTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.ActiveBonusesTitleMobile{font-size:16px}.ActiveBonusesTitleNone{display:none}.BonusCodeContainer{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative;width:70%}.BonusCodeContainer label{font-size:16px;font-weight:300;padding-bottom:5px}.BonusCodeContainer.BonusCodeContainerMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper{display:flex;gap:10px}.BonusCodeContainer .BonusCodeWrapper.BonusCodeWrapperMobile{flex-direction:column}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput{width:70%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput:focus{outline-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput.BonusCodeInputMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode[disabled]{opacity:0.3;cursor:not-allowed}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:hover{filter:brightness(0.9)}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode.SubmitBonusCodeMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer.InvalidField input{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background:var(--emw--color-primary-50, var(--emw--color-pink-50, #F1BED9));color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer .InvalidBonusCodeMessage{color:var(--emw--color-error, var(--emw--color-red, #FD2839))}.BonusCodeWrapper{display:flex;gap:20px}.SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.SubmitBonusCode[disabled]{opacity:0.3}.SubmitBonusCode:hover{filter:brightness(0.9)}.SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.ActiveBonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.ActiveBonusesGrid.ActiveBonusesGridMobile{grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300}.ModalWrapper .ModalContent{background-color:var(--emw--color-white, #FFFFFF);position:relative;padding:30px;border-top:5px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px}.ModalWrapper .ModalBody{background-color:var(--emw--color-gray-50, #F9F8F8);padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:22px;margin-bottom:40px}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-300, #58586B);cursor:pointer;border-radius:5px;width:200px;height:50px;font-size:16px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:16px}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:14px}.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:16px;cursor:pointer;padding:5px 10px;font-weight: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-gray-300, #58586B);font-size:16px;cursor:pointer;padding:5px 10px;white-space:nowrap}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emw--color-white, #FFFFFF);font-weight:700}");
|
|
160
160
|
}
|
|
161
161
|
function de(o, e, n) {
|
|
162
|
-
const
|
|
163
|
-
return
|
|
162
|
+
const a = o.slice();
|
|
163
|
+
return a[49] = e[n], a[51] = n, a;
|
|
164
164
|
}
|
|
165
165
|
function ce(o, e, n) {
|
|
166
|
-
const
|
|
167
|
-
return
|
|
166
|
+
const a = o.slice();
|
|
167
|
+
return a[52] = e[n], a;
|
|
168
168
|
}
|
|
169
|
-
function
|
|
170
|
-
let e, n,
|
|
169
|
+
function Je(o) {
|
|
170
|
+
let e, n, a, s = (
|
|
171
171
|
/*$_*/
|
|
172
|
-
o[
|
|
173
|
-
), r,
|
|
172
|
+
o[18]("titleBonuses") + ""
|
|
173
|
+
), r, i, b, p, v = (
|
|
174
174
|
/*$_*/
|
|
175
|
-
o[
|
|
176
|
-
),
|
|
175
|
+
o[18]("bonusCode") + ""
|
|
176
|
+
), C, _, h, g, c, l, A = (
|
|
177
177
|
/*$_*/
|
|
178
|
-
o[
|
|
179
|
-
), f,
|
|
178
|
+
o[18]("getBonus") + ""
|
|
179
|
+
), m, f, N, E, W, w, P, k, K, V = (
|
|
180
180
|
/*isMobile*/
|
|
181
|
-
o[
|
|
181
|
+
o[19] && Ze(o)
|
|
182
182
|
), S = (
|
|
183
183
|
/*invalidBonusCode*/
|
|
184
|
-
o[
|
|
184
|
+
o[9] && pe(o)
|
|
185
185
|
);
|
|
186
|
-
function
|
|
186
|
+
function $(y, F) {
|
|
187
187
|
return (
|
|
188
188
|
/*activeBonusesList*/
|
|
189
|
-
|
|
189
|
+
y[16].length === 0 ? Qe : Ke
|
|
190
190
|
);
|
|
191
191
|
}
|
|
192
|
-
let
|
|
192
|
+
let Q = $(o), D = Q(o), I = (
|
|
193
193
|
/*activeBonusesList*/
|
|
194
|
-
o[
|
|
195
|
-
),
|
|
194
|
+
o[16].length !== 0 && fe(o)
|
|
195
|
+
), z = (
|
|
196
196
|
/*bonusModal*/
|
|
197
|
-
o[
|
|
197
|
+
o[17] && ge(o)
|
|
198
198
|
);
|
|
199
199
|
return {
|
|
200
200
|
c() {
|
|
201
|
-
e = M("div"),
|
|
202
|
-
(o[
|
|
203
|
-
(o[
|
|
204
|
-
(o[
|
|
205
|
-
o[
|
|
206
|
-
(o[
|
|
207
|
-
(o[
|
|
208
|
-
(o[
|
|
209
|
-
(o[
|
|
201
|
+
e = M("div"), V && V.c(), n = R(), a = M("h2"), r = L(s), i = R(), b = M("div"), p = M("label"), C = L(v), _ = R(), h = M("div"), g = M("input"), c = R(), l = M("button"), m = L(A), f = R(), S && S.c(), N = R(), E = M("div"), D.c(), W = R(), I && I.c(), w = R(), z && z.c(), P = te(), B(a, "class", "ActiveBonusesTitle " + /*isMobile*/
|
|
202
|
+
(o[19] ? "ActiveBonusesTitleNone" : "")), B(p, "for", "BonusCode"), B(g, "class", "BonusCodeInput " + /*isMobile*/
|
|
203
|
+
(o[19] ? "BonusCodeInputMobile" : "")), B(g, "type", "text"), B(g, "id", "BonusCode"), B(l, "class", "SubmitBonusCode " + /*isMobile*/
|
|
204
|
+
(o[19] ? "SubmitBonusCodeMobile" : "")), l.disabled = /*invalidBonusField*/
|
|
205
|
+
o[8], B(h, "class", "BonusCodeWrapper " + /*isMobile*/
|
|
206
|
+
(o[19] ? "BonusCodeWrapperMobile" : "")), B(b, "class", "BonusCodeContainer " + /*isMobile*/
|
|
207
|
+
(o[19] ? "BonusCodeContainerMobile" : "")), B(E, "class", "ActiveBonusesGrid " + /*isMobile*/
|
|
208
|
+
(o[19] ? "ActiveBonusesGridMobile" : "")), B(e, "class", "ActiveBonusesWrapper " + /*isMobile*/
|
|
209
|
+
(o[19] ? "ActiveBonusesWrapperMobile" : ""));
|
|
210
210
|
},
|
|
211
|
-
m(
|
|
212
|
-
j(
|
|
211
|
+
m(y, F) {
|
|
212
|
+
j(y, e, F), V && V.m(e, null), d(e, n), d(e, a), d(a, r), d(e, i), d(e, b), d(b, p), d(p, C), d(b, _), d(b, h), d(h, g), re(
|
|
213
213
|
g,
|
|
214
214
|
/*bonusCode*/
|
|
215
|
-
o[
|
|
216
|
-
),
|
|
217
|
-
|
|
215
|
+
o[10]
|
|
216
|
+
), d(h, c), d(h, l), d(l, m), d(b, f), S && S.m(b, null), d(e, N), d(e, E), D.m(E, null), d(e, W), I && I.m(e, null), j(y, w, F), z && z.m(y, F), j(y, P, F), k || (K = [
|
|
217
|
+
H(
|
|
218
218
|
g,
|
|
219
219
|
"input",
|
|
220
220
|
/*input_input_handler*/
|
|
221
|
-
o[
|
|
221
|
+
o[32]
|
|
222
222
|
),
|
|
223
|
-
|
|
223
|
+
H(
|
|
224
224
|
g,
|
|
225
225
|
"keyup",
|
|
226
226
|
/*validateBonusCode*/
|
|
227
|
-
o[
|
|
227
|
+
o[21]
|
|
228
228
|
),
|
|
229
|
-
|
|
230
|
-
|
|
229
|
+
H(
|
|
230
|
+
l,
|
|
231
231
|
"click",
|
|
232
232
|
/*debouncedFunction*/
|
|
233
|
-
o[
|
|
233
|
+
o[26](
|
|
234
234
|
/*claimBonus*/
|
|
235
|
-
o[
|
|
235
|
+
o[23]
|
|
236
236
|
)
|
|
237
237
|
)
|
|
238
238
|
], k = !0);
|
|
239
239
|
},
|
|
240
|
-
p(
|
|
240
|
+
p(y, F) {
|
|
241
241
|
/*isMobile*/
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
242
|
+
y[19] && V.p(y, F), F[0] & /*$_*/
|
|
243
|
+
262144 && s !== (s = /*$_*/
|
|
244
|
+
y[18]("titleBonuses") + "") && Z(r, s), F[0] & /*$_*/
|
|
245
|
+
262144 && v !== (v = /*$_*/
|
|
246
|
+
y[18]("bonusCode") + "") && Z(C, v), F[0] & /*bonusCode*/
|
|
247
|
+
1024 && g.value !== /*bonusCode*/
|
|
248
|
+
y[10] && re(
|
|
249
249
|
g,
|
|
250
250
|
/*bonusCode*/
|
|
251
|
-
|
|
251
|
+
y[10]
|
|
252
252
|
), F[0] & /*$_*/
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
253
|
+
262144 && A !== (A = /*$_*/
|
|
254
|
+
y[18]("getBonus") + "") && Z(m, A), F[0] & /*invalidBonusField*/
|
|
255
|
+
256 && (l.disabled = /*invalidBonusField*/
|
|
256
|
+
y[8]), /*invalidBonusCode*/
|
|
257
|
+
y[9] ? S ? S.p(y, F) : (S = pe(y), S.c(), S.m(b, null)) : S && (S.d(1), S = null), Q === (Q = $(y)) && D ? D.p(y, F) : (D.d(1), D = Q(y), D && (D.c(), D.m(E, null))), /*activeBonusesList*/
|
|
258
|
+
y[16].length !== 0 ? I ? I.p(y, F) : (I = fe(y), I.c(), I.m(e, null)) : I && (I.d(1), I = null), /*bonusModal*/
|
|
259
|
+
y[17] ? z ? z.p(y, F) : (z = ge(y), z.c(), z.m(P.parentNode, P)) : z && (z.d(1), z = null);
|
|
260
260
|
},
|
|
261
|
-
d(
|
|
262
|
-
|
|
261
|
+
d(y) {
|
|
262
|
+
y && (O(e), O(w), O(P)), V && V.d(), S && S.d(), D.d(), I && I.d(), z && z.d(y), k = !1, se(K);
|
|
263
263
|
}
|
|
264
264
|
};
|
|
265
265
|
}
|
|
266
|
-
function
|
|
267
|
-
let e, n,
|
|
266
|
+
function Ze(o) {
|
|
267
|
+
let e, n, a, s, r, i, b, p, v, C, _ = (
|
|
268
268
|
/*$_*/
|
|
269
|
-
o[
|
|
269
|
+
o[18]("titleBonuses") + ""
|
|
270
270
|
), h, g, c;
|
|
271
271
|
return {
|
|
272
272
|
c() {
|
|
273
|
-
e = M("div"), n =
|
|
273
|
+
e = M("div"), n = x("svg"), a = x("defs"), s = x("style"), r = L(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), i = x("g"), b = x("g"), p = x("path"), v = R(), C = M("h2"), h = L(_), B(p, "class", "aaa"), B(p, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), B(p, "transform", "translate(15 15) rotate(180)"), B(b, "transform", "translate(20 158)"), B(i, "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(C, "class", "ActiveBonusesTitleMobile"), B(e, "class", "MenuReturnButton");
|
|
274
274
|
},
|
|
275
|
-
m(
|
|
276
|
-
j(
|
|
275
|
+
m(l, A) {
|
|
276
|
+
j(l, e, A), d(e, n), d(n, a), d(a, s), d(s, r), d(n, i), d(i, b), d(b, p), d(e, v), d(e, C), d(C, h), g || (c = H(
|
|
277
277
|
e,
|
|
278
278
|
"click",
|
|
279
279
|
/*click_handler*/
|
|
280
|
-
o[
|
|
280
|
+
o[31]
|
|
281
281
|
), g = !0);
|
|
282
282
|
},
|
|
283
|
-
p(
|
|
283
|
+
p(l, A) {
|
|
284
284
|
A[0] & /*$_*/
|
|
285
|
-
|
|
286
|
-
|
|
285
|
+
262144 && _ !== (_ = /*$_*/
|
|
286
|
+
l[18]("titleBonuses") + "") && Z(h, _);
|
|
287
287
|
},
|
|
288
|
-
d(
|
|
289
|
-
|
|
288
|
+
d(l) {
|
|
289
|
+
l && O(e), g = !1, c();
|
|
290
290
|
}
|
|
291
291
|
};
|
|
292
292
|
}
|
|
293
293
|
function pe(o) {
|
|
294
294
|
let e, n = (
|
|
295
295
|
/*$_*/
|
|
296
|
-
o[
|
|
297
|
-
),
|
|
296
|
+
o[18]("invalidBonusCode") + ""
|
|
297
|
+
), a;
|
|
298
298
|
return {
|
|
299
299
|
c() {
|
|
300
|
-
e = M("p"),
|
|
300
|
+
e = M("p"), a = L(n), B(e, "class", "InvalidBonusCodeMessage");
|
|
301
301
|
},
|
|
302
302
|
m(s, r) {
|
|
303
|
-
j(s, e, r),
|
|
303
|
+
j(s, e, r), d(e, a);
|
|
304
304
|
},
|
|
305
305
|
p(s, r) {
|
|
306
306
|
r[0] & /*$_*/
|
|
307
|
-
|
|
308
|
-
s[
|
|
307
|
+
262144 && n !== (n = /*$_*/
|
|
308
|
+
s[18]("invalidBonusCode") + "") && Z(a, n);
|
|
309
309
|
},
|
|
310
310
|
d(s) {
|
|
311
311
|
s && O(e);
|
|
312
312
|
}
|
|
313
313
|
};
|
|
314
314
|
}
|
|
315
|
-
function
|
|
315
|
+
function Ke(o) {
|
|
316
316
|
let e, n = ne(
|
|
317
317
|
/*activeBonusesList*/
|
|
318
|
-
o[
|
|
319
|
-
),
|
|
318
|
+
o[16]
|
|
319
|
+
), a = [];
|
|
320
320
|
for (let s = 0; s < n.length; s += 1)
|
|
321
|
-
|
|
321
|
+
a[s] = me(ce(o, n, s));
|
|
322
322
|
return {
|
|
323
323
|
c() {
|
|
324
|
-
for (let s = 0; s <
|
|
325
|
-
|
|
324
|
+
for (let s = 0; s < a.length; s += 1)
|
|
325
|
+
a[s].c();
|
|
326
326
|
e = te();
|
|
327
327
|
},
|
|
328
328
|
m(s, r) {
|
|
329
|
-
for (let
|
|
330
|
-
|
|
329
|
+
for (let i = 0; i < a.length; i += 1)
|
|
330
|
+
a[i] && a[i].m(s, r);
|
|
331
331
|
j(s, e, r);
|
|
332
332
|
},
|
|
333
333
|
p(s, r) {
|
|
334
|
-
if (r[0] & /*activeBonusesList, lang, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale*/
|
|
335
|
-
|
|
334
|
+
if (r[0] & /*activeBonusesList, lang, dateformat, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale*/
|
|
335
|
+
65663) {
|
|
336
336
|
n = ne(
|
|
337
337
|
/*activeBonusesList*/
|
|
338
|
-
s[
|
|
338
|
+
s[16]
|
|
339
339
|
);
|
|
340
|
-
let
|
|
341
|
-
for (
|
|
342
|
-
const b = ce(s, n,
|
|
343
|
-
|
|
340
|
+
let i;
|
|
341
|
+
for (i = 0; i < n.length; i += 1) {
|
|
342
|
+
const b = ce(s, n, i);
|
|
343
|
+
a[i] ? a[i].p(b, r) : (a[i] = me(b), a[i].c(), a[i].m(e.parentNode, e));
|
|
344
344
|
}
|
|
345
|
-
for (;
|
|
346
|
-
|
|
347
|
-
|
|
345
|
+
for (; i < a.length; i += 1)
|
|
346
|
+
a[i].d(1);
|
|
347
|
+
a.length = n.length;
|
|
348
348
|
}
|
|
349
349
|
},
|
|
350
350
|
d(s) {
|
|
351
|
-
s && O(e), Be(
|
|
351
|
+
s && O(e), Be(a, s);
|
|
352
352
|
}
|
|
353
353
|
};
|
|
354
354
|
}
|
|
355
|
-
function
|
|
355
|
+
function Qe(o) {
|
|
356
356
|
let e, n = (
|
|
357
357
|
/*$_*/
|
|
358
|
-
o[
|
|
359
|
-
),
|
|
358
|
+
o[18]("noActiveBonuses") + ""
|
|
359
|
+
), a;
|
|
360
360
|
return {
|
|
361
361
|
c() {
|
|
362
|
-
e = M("p"),
|
|
362
|
+
e = M("p"), a = L(n);
|
|
363
363
|
},
|
|
364
364
|
m(s, r) {
|
|
365
|
-
j(s, e, r),
|
|
365
|
+
j(s, e, r), d(e, a);
|
|
366
366
|
},
|
|
367
367
|
p(s, r) {
|
|
368
368
|
r[0] & /*$_*/
|
|
369
|
-
|
|
370
|
-
s[
|
|
369
|
+
262144 && n !== (n = /*$_*/
|
|
370
|
+
s[18]("noActiveBonuses") + "") && Z(a, n);
|
|
371
371
|
},
|
|
372
372
|
d(s) {
|
|
373
373
|
s && O(e);
|
|
374
374
|
}
|
|
375
375
|
};
|
|
376
376
|
}
|
|
377
|
-
function
|
|
378
|
-
let e, n,
|
|
377
|
+
function xe(o) {
|
|
378
|
+
let e, n, a, s, r, i, b, p, v, C, _, h, g, c, l, A;
|
|
379
379
|
return {
|
|
380
380
|
c() {
|
|
381
|
-
e = M("player-bonus-card"),
|
|
382
|
-
o[
|
|
383
|
-
o[
|
|
384
|
-
o[
|
|
385
|
-
o[
|
|
386
|
-
o[
|
|
387
|
-
o[
|
|
388
|
-
o[
|
|
389
|
-
o[
|
|
390
|
-
o[
|
|
391
|
-
o[
|
|
392
|
-
o[
|
|
393
|
-
o[
|
|
394
|
-
o[
|
|
395
|
-
o[
|
|
396
|
-
o[
|
|
397
|
-
o[
|
|
381
|
+
e = M("player-bonus-card"), t(e, "termsandconditionsdescription", n = /*activeBonus*/
|
|
382
|
+
o[52].termsandconditionsdescription), t(e, "termsandconditionsurl", a = /*activeBonus*/
|
|
383
|
+
o[52].termsandconditionsurl), t(e, "termsandconditionsasset", s = /*activeBonus*/
|
|
384
|
+
o[52].termsandconditionsasset), t(e, "endpoint", r = /*activeBonus*/
|
|
385
|
+
o[52].endpoint), t(e, "playerid", i = /*activeBonus*/
|
|
386
|
+
o[52].playerid), t(e, "session", b = /*activeBonus*/
|
|
387
|
+
o[52].session), t(e, "bonuswalletid", p = /*activeBonus*/
|
|
388
|
+
o[52].walletId), t(e, "bonusdate", v = /*activeBonus*/
|
|
389
|
+
o[52].granted), t(e, "bonusstatus", C = /*activeBonus*/
|
|
390
|
+
o[52].status), t(e, "bonusname", _ = /*activeBonus*/
|
|
391
|
+
o[52].name), t(e, "bonustype", h = /*activeBonus*/
|
|
392
|
+
o[52].type), t(e, "bonusamount", g = /*activeBonus*/
|
|
393
|
+
o[52].extension.grantedPlayerCurrencyAmount), t(e, "bonuswageringamount", c = `${/*activeBonus*/
|
|
394
|
+
o[52].fulfilledWR} / ${/*activeBonus*/
|
|
395
|
+
o[52].originalWageringRequirement}`), t(e, "bonusremainingamount", l = /*activeBonus*/
|
|
396
|
+
o[52].currentAmount), t(e, "bonuscurrency", A = /*activeBonus*/
|
|
397
|
+
o[52].currency), t(
|
|
398
398
|
e,
|
|
399
399
|
"lang",
|
|
400
400
|
/*lang*/
|
|
401
401
|
o[0]
|
|
402
|
-
),
|
|
402
|
+
), t(
|
|
403
|
+
e,
|
|
404
|
+
"dateformat",
|
|
405
|
+
/*dateformat*/
|
|
406
|
+
o[6]
|
|
407
|
+
), t(
|
|
403
408
|
e,
|
|
404
409
|
"clientstyling",
|
|
405
410
|
/*clientstyling*/
|
|
406
411
|
o[1]
|
|
407
|
-
),
|
|
412
|
+
), t(
|
|
408
413
|
e,
|
|
409
414
|
"clientstylingurl",
|
|
410
415
|
/*clientstylingurl*/
|
|
411
416
|
o[2]
|
|
412
|
-
),
|
|
417
|
+
), t(
|
|
413
418
|
e,
|
|
414
419
|
"mbsource",
|
|
415
420
|
/*mbsource*/
|
|
416
421
|
o[3]
|
|
417
|
-
),
|
|
422
|
+
), t(
|
|
418
423
|
e,
|
|
419
424
|
"translationurl",
|
|
420
425
|
/*translationurl*/
|
|
421
426
|
o[4]
|
|
422
|
-
),
|
|
427
|
+
), t(
|
|
423
428
|
e,
|
|
424
429
|
"currencylocale",
|
|
425
430
|
/*currencylocale*/
|
|
426
431
|
o[5]
|
|
427
432
|
);
|
|
428
433
|
},
|
|
429
|
-
m(
|
|
430
|
-
j(
|
|
434
|
+
m(m, f) {
|
|
435
|
+
j(m, e, f);
|
|
431
436
|
},
|
|
432
|
-
p(
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
1 &&
|
|
437
|
+
p(m, f) {
|
|
438
|
+
f[0] & /*activeBonusesList*/
|
|
439
|
+
65536 && n !== (n = /*activeBonus*/
|
|
440
|
+
m[52].termsandconditionsdescription) && t(e, "termsandconditionsdescription", n), f[0] & /*activeBonusesList*/
|
|
441
|
+
65536 && a !== (a = /*activeBonus*/
|
|
442
|
+
m[52].termsandconditionsurl) && t(e, "termsandconditionsurl", a), f[0] & /*activeBonusesList*/
|
|
443
|
+
65536 && s !== (s = /*activeBonus*/
|
|
444
|
+
m[52].termsandconditionsasset) && t(e, "termsandconditionsasset", s), f[0] & /*activeBonusesList*/
|
|
445
|
+
65536 && r !== (r = /*activeBonus*/
|
|
446
|
+
m[52].endpoint) && t(e, "endpoint", r), f[0] & /*activeBonusesList*/
|
|
447
|
+
65536 && i !== (i = /*activeBonus*/
|
|
448
|
+
m[52].playerid) && t(e, "playerid", i), f[0] & /*activeBonusesList*/
|
|
449
|
+
65536 && b !== (b = /*activeBonus*/
|
|
450
|
+
m[52].session) && t(e, "session", b), f[0] & /*activeBonusesList*/
|
|
451
|
+
65536 && p !== (p = /*activeBonus*/
|
|
452
|
+
m[52].walletId) && t(e, "bonuswalletid", p), f[0] & /*activeBonusesList*/
|
|
453
|
+
65536 && v !== (v = /*activeBonus*/
|
|
454
|
+
m[52].granted) && t(e, "bonusdate", v), f[0] & /*activeBonusesList*/
|
|
455
|
+
65536 && C !== (C = /*activeBonus*/
|
|
456
|
+
m[52].status) && t(e, "bonusstatus", C), f[0] & /*activeBonusesList*/
|
|
457
|
+
65536 && _ !== (_ = /*activeBonus*/
|
|
458
|
+
m[52].name) && t(e, "bonusname", _), f[0] & /*activeBonusesList*/
|
|
459
|
+
65536 && h !== (h = /*activeBonus*/
|
|
460
|
+
m[52].type) && t(e, "bonustype", h), f[0] & /*activeBonusesList*/
|
|
461
|
+
65536 && g !== (g = /*activeBonus*/
|
|
462
|
+
m[52].extension.grantedPlayerCurrencyAmount) && t(e, "bonusamount", g), f[0] & /*activeBonusesList*/
|
|
463
|
+
65536 && c !== (c = `${/*activeBonus*/
|
|
464
|
+
m[52].fulfilledWR} / ${/*activeBonus*/
|
|
465
|
+
m[52].originalWageringRequirement}`) && t(e, "bonuswageringamount", c), f[0] & /*activeBonusesList*/
|
|
466
|
+
65536 && l !== (l = /*activeBonus*/
|
|
467
|
+
m[52].currentAmount) && t(e, "bonusremainingamount", l), f[0] & /*activeBonusesList*/
|
|
468
|
+
65536 && A !== (A = /*activeBonus*/
|
|
469
|
+
m[52].currency) && t(e, "bonuscurrency", A), f[0] & /*lang*/
|
|
470
|
+
1 && t(
|
|
466
471
|
e,
|
|
467
472
|
"lang",
|
|
468
473
|
/*lang*/
|
|
469
|
-
|
|
470
|
-
),
|
|
471
|
-
|
|
474
|
+
m[0]
|
|
475
|
+
), f[0] & /*dateformat*/
|
|
476
|
+
64 && t(
|
|
477
|
+
e,
|
|
478
|
+
"dateformat",
|
|
479
|
+
/*dateformat*/
|
|
480
|
+
m[6]
|
|
481
|
+
), f[0] & /*clientstyling*/
|
|
482
|
+
2 && t(
|
|
472
483
|
e,
|
|
473
484
|
"clientstyling",
|
|
474
485
|
/*clientstyling*/
|
|
475
|
-
|
|
476
|
-
),
|
|
477
|
-
4 &&
|
|
486
|
+
m[1]
|
|
487
|
+
), f[0] & /*clientstylingurl*/
|
|
488
|
+
4 && t(
|
|
478
489
|
e,
|
|
479
490
|
"clientstylingurl",
|
|
480
491
|
/*clientstylingurl*/
|
|
481
|
-
|
|
482
|
-
),
|
|
483
|
-
8 &&
|
|
492
|
+
m[2]
|
|
493
|
+
), f[0] & /*mbsource*/
|
|
494
|
+
8 && t(
|
|
484
495
|
e,
|
|
485
496
|
"mbsource",
|
|
486
497
|
/*mbsource*/
|
|
487
|
-
|
|
488
|
-
),
|
|
489
|
-
16 &&
|
|
498
|
+
m[3]
|
|
499
|
+
), f[0] & /*translationurl*/
|
|
500
|
+
16 && t(
|
|
490
501
|
e,
|
|
491
502
|
"translationurl",
|
|
492
503
|
/*translationurl*/
|
|
493
|
-
|
|
494
|
-
),
|
|
495
|
-
32 &&
|
|
504
|
+
m[4]
|
|
505
|
+
), f[0] & /*currencylocale*/
|
|
506
|
+
32 && t(
|
|
496
507
|
e,
|
|
497
508
|
"currencylocale",
|
|
498
509
|
/*currencylocale*/
|
|
499
|
-
|
|
510
|
+
m[5]
|
|
500
511
|
);
|
|
501
512
|
},
|
|
502
|
-
d(
|
|
503
|
-
|
|
513
|
+
d(m) {
|
|
514
|
+
m && O(e);
|
|
504
515
|
}
|
|
505
516
|
};
|
|
506
517
|
}
|
|
507
|
-
function
|
|
508
|
-
let e, n,
|
|
518
|
+
function $e(o) {
|
|
519
|
+
let e, n, a, s, r, i, b, p, v, C, _, h, g;
|
|
509
520
|
return {
|
|
510
521
|
c() {
|
|
511
|
-
e = M("player-bonus-card"),
|
|
512
|
-
o[
|
|
513
|
-
o[
|
|
514
|
-
o[
|
|
515
|
-
o[
|
|
516
|
-
o[
|
|
517
|
-
o[
|
|
518
|
-
o[
|
|
519
|
-
o[
|
|
520
|
-
o[
|
|
521
|
-
o[
|
|
522
|
-
o[
|
|
523
|
-
o[
|
|
522
|
+
e = M("player-bonus-card"), t(e, "termsandconditionsdescription", n = /*activeBonus*/
|
|
523
|
+
o[52].termsandconditionsdescription), t(e, "termsandconditionsurl", a = /*activeBonus*/
|
|
524
|
+
o[52].termsandconditionsurl), t(e, "termsandconditionsasset", s = /*activeBonus*/
|
|
525
|
+
o[52].termsandconditionsasset), t(e, "endpoint", r = /*activeBonus*/
|
|
526
|
+
o[52].endpoint), t(e, "playerid", i = /*activeBonus*/
|
|
527
|
+
o[52].playerid), t(e, "session", b = /*activeBonus*/
|
|
528
|
+
o[52].session), t(e, "bonuswalletid", p = /*activeBonus*/
|
|
529
|
+
o[52].walletId), t(e, "bonusdate", v = /*activeBonus*/
|
|
530
|
+
o[52].granted), t(e, "bonusstatus", C = /*activeBonus*/
|
|
531
|
+
o[52].status), t(e, "bonusname", _ = /*activeBonus*/
|
|
532
|
+
o[52].name), t(e, "bonustype", h = /*activeBonus*/
|
|
533
|
+
o[52].type), t(e, "bonuscurrency", g = /*activeBonus*/
|
|
534
|
+
o[52].currency), t(
|
|
524
535
|
e,
|
|
525
536
|
"lang",
|
|
526
537
|
/*lang*/
|
|
527
538
|
o[0]
|
|
528
|
-
),
|
|
539
|
+
), t(
|
|
540
|
+
e,
|
|
541
|
+
"dateformat",
|
|
542
|
+
/*dateformat*/
|
|
543
|
+
o[6]
|
|
544
|
+
), t(
|
|
529
545
|
e,
|
|
530
546
|
"clientstyling",
|
|
531
547
|
/*clientstyling*/
|
|
532
548
|
o[1]
|
|
533
|
-
),
|
|
549
|
+
), t(
|
|
534
550
|
e,
|
|
535
551
|
"clientstylingurl",
|
|
536
552
|
/*clientstylingurl*/
|
|
537
553
|
o[2]
|
|
538
|
-
),
|
|
554
|
+
), t(
|
|
539
555
|
e,
|
|
540
556
|
"mbsource",
|
|
541
557
|
/*mbsource*/
|
|
542
558
|
o[3]
|
|
543
|
-
),
|
|
559
|
+
), t(
|
|
544
560
|
e,
|
|
545
561
|
"translationurl",
|
|
546
562
|
/*translationurl*/
|
|
547
563
|
o[4]
|
|
548
|
-
),
|
|
564
|
+
), t(
|
|
549
565
|
e,
|
|
550
566
|
"currencylocale",
|
|
551
567
|
/*currencylocale*/
|
|
552
568
|
o[5]
|
|
553
569
|
);
|
|
554
570
|
},
|
|
555
|
-
m(c,
|
|
556
|
-
j(c, e,
|
|
571
|
+
m(c, l) {
|
|
572
|
+
j(c, e, l);
|
|
557
573
|
},
|
|
558
|
-
p(c,
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
c[
|
|
562
|
-
|
|
563
|
-
c[
|
|
564
|
-
|
|
565
|
-
c[
|
|
566
|
-
|
|
567
|
-
c[
|
|
568
|
-
|
|
569
|
-
c[
|
|
570
|
-
|
|
571
|
-
c[
|
|
572
|
-
|
|
573
|
-
c[
|
|
574
|
-
|
|
575
|
-
c[
|
|
576
|
-
|
|
577
|
-
c[
|
|
578
|
-
|
|
579
|
-
c[
|
|
580
|
-
|
|
581
|
-
c[
|
|
582
|
-
|
|
583
|
-
c[
|
|
584
|
-
1 &&
|
|
574
|
+
p(c, l) {
|
|
575
|
+
l[0] & /*activeBonusesList*/
|
|
576
|
+
65536 && n !== (n = /*activeBonus*/
|
|
577
|
+
c[52].termsandconditionsdescription) && t(e, "termsandconditionsdescription", n), l[0] & /*activeBonusesList*/
|
|
578
|
+
65536 && a !== (a = /*activeBonus*/
|
|
579
|
+
c[52].termsandconditionsurl) && t(e, "termsandconditionsurl", a), l[0] & /*activeBonusesList*/
|
|
580
|
+
65536 && s !== (s = /*activeBonus*/
|
|
581
|
+
c[52].termsandconditionsasset) && t(e, "termsandconditionsasset", s), l[0] & /*activeBonusesList*/
|
|
582
|
+
65536 && r !== (r = /*activeBonus*/
|
|
583
|
+
c[52].endpoint) && t(e, "endpoint", r), l[0] & /*activeBonusesList*/
|
|
584
|
+
65536 && i !== (i = /*activeBonus*/
|
|
585
|
+
c[52].playerid) && t(e, "playerid", i), l[0] & /*activeBonusesList*/
|
|
586
|
+
65536 && b !== (b = /*activeBonus*/
|
|
587
|
+
c[52].session) && t(e, "session", b), l[0] & /*activeBonusesList*/
|
|
588
|
+
65536 && p !== (p = /*activeBonus*/
|
|
589
|
+
c[52].walletId) && t(e, "bonuswalletid", p), l[0] & /*activeBonusesList*/
|
|
590
|
+
65536 && v !== (v = /*activeBonus*/
|
|
591
|
+
c[52].granted) && t(e, "bonusdate", v), l[0] & /*activeBonusesList*/
|
|
592
|
+
65536 && C !== (C = /*activeBonus*/
|
|
593
|
+
c[52].status) && t(e, "bonusstatus", C), l[0] & /*activeBonusesList*/
|
|
594
|
+
65536 && _ !== (_ = /*activeBonus*/
|
|
595
|
+
c[52].name) && t(e, "bonusname", _), l[0] & /*activeBonusesList*/
|
|
596
|
+
65536 && h !== (h = /*activeBonus*/
|
|
597
|
+
c[52].type) && t(e, "bonustype", h), l[0] & /*activeBonusesList*/
|
|
598
|
+
65536 && g !== (g = /*activeBonus*/
|
|
599
|
+
c[52].currency) && t(e, "bonuscurrency", g), l[0] & /*lang*/
|
|
600
|
+
1 && t(
|
|
585
601
|
e,
|
|
586
602
|
"lang",
|
|
587
603
|
/*lang*/
|
|
588
604
|
c[0]
|
|
589
|
-
),
|
|
590
|
-
|
|
605
|
+
), l[0] & /*dateformat*/
|
|
606
|
+
64 && t(
|
|
607
|
+
e,
|
|
608
|
+
"dateformat",
|
|
609
|
+
/*dateformat*/
|
|
610
|
+
c[6]
|
|
611
|
+
), l[0] & /*clientstyling*/
|
|
612
|
+
2 && t(
|
|
591
613
|
e,
|
|
592
614
|
"clientstyling",
|
|
593
615
|
/*clientstyling*/
|
|
594
616
|
c[1]
|
|
595
|
-
),
|
|
596
|
-
4 &&
|
|
617
|
+
), l[0] & /*clientstylingurl*/
|
|
618
|
+
4 && t(
|
|
597
619
|
e,
|
|
598
620
|
"clientstylingurl",
|
|
599
621
|
/*clientstylingurl*/
|
|
600
622
|
c[2]
|
|
601
|
-
),
|
|
602
|
-
8 &&
|
|
623
|
+
), l[0] & /*mbsource*/
|
|
624
|
+
8 && t(
|
|
603
625
|
e,
|
|
604
626
|
"mbsource",
|
|
605
627
|
/*mbsource*/
|
|
606
628
|
c[3]
|
|
607
|
-
),
|
|
608
|
-
16 &&
|
|
629
|
+
), l[0] & /*translationurl*/
|
|
630
|
+
16 && t(
|
|
609
631
|
e,
|
|
610
632
|
"translationurl",
|
|
611
633
|
/*translationurl*/
|
|
612
634
|
c[4]
|
|
613
|
-
),
|
|
614
|
-
32 &&
|
|
635
|
+
), l[0] & /*currencylocale*/
|
|
636
|
+
32 && t(
|
|
615
637
|
e,
|
|
616
638
|
"currencylocale",
|
|
617
639
|
/*currencylocale*/
|
|
@@ -625,22 +647,22 @@ function xe(o) {
|
|
|
625
647
|
}
|
|
626
648
|
function me(o) {
|
|
627
649
|
let e;
|
|
628
|
-
function n(r,
|
|
650
|
+
function n(r, i) {
|
|
629
651
|
return (
|
|
630
652
|
/*activeBonus*/
|
|
631
|
-
r[
|
|
653
|
+
r[52].type === "freeRound" ? $e : xe
|
|
632
654
|
);
|
|
633
655
|
}
|
|
634
|
-
let
|
|
656
|
+
let a = n(o), s = a(o);
|
|
635
657
|
return {
|
|
636
658
|
c() {
|
|
637
659
|
s.c(), e = te();
|
|
638
660
|
},
|
|
639
|
-
m(r,
|
|
640
|
-
s.m(r,
|
|
661
|
+
m(r, i) {
|
|
662
|
+
s.m(r, i), j(r, e, i);
|
|
641
663
|
},
|
|
642
|
-
p(r,
|
|
643
|
-
|
|
664
|
+
p(r, i) {
|
|
665
|
+
a === (a = n(r)) && s ? s.p(r, i) : (s.d(1), s = a(r), s && (s.c(), s.m(e.parentNode, e)));
|
|
644
666
|
},
|
|
645
667
|
d(r) {
|
|
646
668
|
r && O(e), s.d(r);
|
|
@@ -648,462 +670,470 @@ function me(o) {
|
|
|
648
670
|
};
|
|
649
671
|
}
|
|
650
672
|
function fe(o) {
|
|
651
|
-
let e, n,
|
|
673
|
+
let e, n, a, s, r, i, b, p, v, C, _, h, g, c, l, A, m, f, N, E = ne(Array(
|
|
652
674
|
/*numberOfPages*/
|
|
653
|
-
o[
|
|
675
|
+
o[14]
|
|
654
676
|
)), W = [];
|
|
655
|
-
for (let w = 0; w <
|
|
656
|
-
W[w] = be(de(o,
|
|
677
|
+
for (let w = 0; w < E.length; w += 1)
|
|
678
|
+
W[w] = be(de(o, E, w));
|
|
657
679
|
return {
|
|
658
680
|
c() {
|
|
659
|
-
e = M("div"), n = M("span"),
|
|
681
|
+
e = M("div"), n = M("span"), a = L("|<"), r = R(), i = M("span"), b = L("<"), v = R();
|
|
660
682
|
for (let w = 0; w < W.length; w += 1)
|
|
661
683
|
W[w].c();
|
|
662
|
-
|
|
663
|
-
(o[
|
|
664
|
-
(o[
|
|
665
|
-
(o[
|
|
666
|
-
o[
|
|
667
|
-
(o[
|
|
668
|
-
o[
|
|
669
|
-
(o[
|
|
684
|
+
C = R(), _ = M("span"), h = L(">"), c = R(), l = M("span"), A = L(">|"), B(n, "class", s = "BonusesFirst " + /*currentPage*/
|
|
685
|
+
(o[15] === 0 ? "Inactive" : "")), B(i, "class", p = "BonusesPrev " + /*currentPage*/
|
|
686
|
+
(o[15] === 0 ? "Inactive" : "")), B(_, "class", g = "BonusesNext " + /*currentPage*/
|
|
687
|
+
(o[15] === /*numberOfPages*/
|
|
688
|
+
o[14] - 1 ? "Inactive" : "")), B(l, "class", m = "BonusesLast " + /*currentPage*/
|
|
689
|
+
(o[15] === /*numberOfPages*/
|
|
690
|
+
o[14] - 1 ? "Inactive" : "")), B(e, "class", "BonusesPaginationWrapper " + /*isMobile*/
|
|
691
|
+
(o[19] ? "BonusesPaginationWrapperMobile" : ""));
|
|
670
692
|
},
|
|
671
693
|
m(w, P) {
|
|
672
|
-
j(w, e, P),
|
|
694
|
+
j(w, e, P), d(e, n), d(n, a), d(e, r), d(e, i), d(i, b), d(e, v);
|
|
673
695
|
for (let k = 0; k < W.length; k += 1)
|
|
674
696
|
W[k] && W[k].m(e, null);
|
|
675
|
-
|
|
676
|
-
|
|
697
|
+
d(e, C), d(e, _), d(_, h), d(e, c), d(e, l), d(l, A), f || (N = [
|
|
698
|
+
H(
|
|
677
699
|
n,
|
|
678
700
|
"click",
|
|
679
701
|
/*click_handler_1*/
|
|
680
|
-
o[
|
|
702
|
+
o[33]
|
|
681
703
|
),
|
|
682
|
-
|
|
683
|
-
|
|
704
|
+
H(
|
|
705
|
+
i,
|
|
684
706
|
"click",
|
|
685
707
|
/*click_handler_2*/
|
|
686
|
-
o[
|
|
708
|
+
o[34]
|
|
687
709
|
),
|
|
688
|
-
|
|
710
|
+
H(
|
|
689
711
|
_,
|
|
690
712
|
"click",
|
|
691
713
|
/*click_handler_4*/
|
|
692
|
-
o[
|
|
714
|
+
o[36]
|
|
693
715
|
),
|
|
694
|
-
|
|
695
|
-
|
|
716
|
+
H(
|
|
717
|
+
l,
|
|
696
718
|
"click",
|
|
697
719
|
/*click_handler_5*/
|
|
698
|
-
o[
|
|
720
|
+
o[37]
|
|
699
721
|
)
|
|
700
|
-
],
|
|
722
|
+
], f = !0);
|
|
701
723
|
},
|
|
702
724
|
p(w, P) {
|
|
703
725
|
if (P[0] & /*currentPage*/
|
|
704
|
-
|
|
705
|
-
(w[
|
|
706
|
-
|
|
707
|
-
(w[
|
|
708
|
-
|
|
709
|
-
|
|
726
|
+
32768 && s !== (s = "BonusesFirst " + /*currentPage*/
|
|
727
|
+
(w[15] === 0 ? "Inactive" : "")) && B(n, "class", s), P[0] & /*currentPage*/
|
|
728
|
+
32768 && p !== (p = "BonusesPrev " + /*currentPage*/
|
|
729
|
+
(w[15] === 0 ? "Inactive" : "")) && B(i, "class", p), P[0] & /*currentPage, getActiveBonuses, numberOfPages*/
|
|
730
|
+
4243456) {
|
|
731
|
+
E = ne(Array(
|
|
710
732
|
/*numberOfPages*/
|
|
711
|
-
w[
|
|
733
|
+
w[14]
|
|
712
734
|
));
|
|
713
735
|
let k;
|
|
714
|
-
for (k = 0; k <
|
|
715
|
-
const
|
|
716
|
-
W[k] ? W[k].p(
|
|
736
|
+
for (k = 0; k < E.length; k += 1) {
|
|
737
|
+
const K = de(w, E, k);
|
|
738
|
+
W[k] ? W[k].p(K, P) : (W[k] = be(K), W[k].c(), W[k].m(e, C));
|
|
717
739
|
}
|
|
718
740
|
for (; k < W.length; k += 1)
|
|
719
741
|
W[k].d(1);
|
|
720
|
-
W.length =
|
|
742
|
+
W.length = E.length;
|
|
721
743
|
}
|
|
722
744
|
P[0] & /*currentPage, numberOfPages*/
|
|
723
|
-
|
|
724
|
-
(w[
|
|
725
|
-
w[
|
|
726
|
-
|
|
727
|
-
(w[
|
|
728
|
-
w[
|
|
745
|
+
49152 && g !== (g = "BonusesNext " + /*currentPage*/
|
|
746
|
+
(w[15] === /*numberOfPages*/
|
|
747
|
+
w[14] - 1 ? "Inactive" : "")) && B(_, "class", g), P[0] & /*currentPage, numberOfPages*/
|
|
748
|
+
49152 && m !== (m = "BonusesLast " + /*currentPage*/
|
|
749
|
+
(w[15] === /*numberOfPages*/
|
|
750
|
+
w[14] - 1 ? "Inactive" : "")) && B(l, "class", m);
|
|
729
751
|
},
|
|
730
752
|
d(w) {
|
|
731
|
-
w && O(e), Be(W, w),
|
|
753
|
+
w && O(e), Be(W, w), f = !1, se(N);
|
|
732
754
|
}
|
|
733
755
|
};
|
|
734
756
|
}
|
|
735
757
|
function be(o) {
|
|
736
758
|
let e, n = (
|
|
737
759
|
/*i*/
|
|
738
|
-
o[
|
|
739
|
-
),
|
|
760
|
+
o[51] + 1 + ""
|
|
761
|
+
), a, s, r, i;
|
|
740
762
|
function b() {
|
|
741
763
|
return (
|
|
742
764
|
/*click_handler_3*/
|
|
743
|
-
o[
|
|
765
|
+
o[35](
|
|
744
766
|
/*i*/
|
|
745
|
-
o[
|
|
767
|
+
o[51]
|
|
746
768
|
)
|
|
747
769
|
);
|
|
748
770
|
}
|
|
749
771
|
return {
|
|
750
772
|
c() {
|
|
751
|
-
e = M("span"),
|
|
752
|
-
(o[
|
|
753
|
-
o[
|
|
773
|
+
e = M("span"), a = L(n), B(e, "class", s = "BonusesPage " + /*i*/
|
|
774
|
+
(o[51] === /*currentPage*/
|
|
775
|
+
o[15] ? "BonusPageActive" : ""));
|
|
754
776
|
},
|
|
755
777
|
m(p, v) {
|
|
756
|
-
j(p, e, v),
|
|
778
|
+
j(p, e, v), d(e, a), r || (i = H(e, "click", b), r = !0);
|
|
757
779
|
},
|
|
758
780
|
p(p, v) {
|
|
759
781
|
o = p, v[0] & /*currentPage*/
|
|
760
|
-
|
|
761
|
-
(o[
|
|
762
|
-
o[
|
|
782
|
+
32768 && s !== (s = "BonusesPage " + /*i*/
|
|
783
|
+
(o[51] === /*currentPage*/
|
|
784
|
+
o[15] ? "BonusPageActive" : "")) && B(e, "class", s);
|
|
763
785
|
},
|
|
764
786
|
d(p) {
|
|
765
|
-
p && O(e), r = !1,
|
|
787
|
+
p && O(e), r = !1, i();
|
|
766
788
|
}
|
|
767
789
|
};
|
|
768
790
|
}
|
|
769
791
|
function ge(o) {
|
|
770
|
-
let e, n,
|
|
792
|
+
let e, n, a, s, r = (
|
|
771
793
|
/*$_*/
|
|
772
|
-
o[
|
|
773
|
-
),
|
|
794
|
+
o[18]("forfeitBonus") + ""
|
|
795
|
+
), i, b, p, v, C = (
|
|
774
796
|
/*$_*/
|
|
775
|
-
o[
|
|
797
|
+
o[18]("forfeitBonusCancel") + ""
|
|
776
798
|
), _, h, g, c = (
|
|
777
799
|
/*$_*/
|
|
778
|
-
o[
|
|
779
|
-
),
|
|
800
|
+
o[18]("forfeitBonusConfirm") + ""
|
|
801
|
+
), l, A, m;
|
|
780
802
|
return {
|
|
781
803
|
c() {
|
|
782
|
-
e = M("div"), n = M("div"),
|
|
783
|
-
(o[
|
|
804
|
+
e = M("div"), n = M("div"), a = M("div"), s = M("p"), i = L(r), b = R(), p = M("div"), v = M("button"), _ = L(C), h = R(), g = M("button"), l = L(c), B(s, "class", "ModalText"), B(v, "class", "ModalCancel"), B(g, "class", "ModalConfirm"), B(p, "class", "ModalButtons"), B(a, "class", "ModalBody"), B(n, "class", "ModalContent"), B(e, "class", "ModalWrapper " + /*isMobile*/
|
|
805
|
+
(o[19] ? "ModalWrapperMobile" : ""));
|
|
784
806
|
},
|
|
785
|
-
m(
|
|
786
|
-
j(
|
|
787
|
-
|
|
807
|
+
m(f, N) {
|
|
808
|
+
j(f, e, N), d(e, n), d(n, a), d(a, s), d(s, i), d(a, b), d(a, p), d(p, v), d(v, _), d(p, h), d(p, g), d(g, l), A || (m = [
|
|
809
|
+
H(
|
|
788
810
|
v,
|
|
789
811
|
"click",
|
|
790
812
|
/*closeBonusModal*/
|
|
791
|
-
o[
|
|
813
|
+
o[24]
|
|
792
814
|
),
|
|
793
|
-
|
|
815
|
+
H(
|
|
794
816
|
g,
|
|
795
817
|
"click",
|
|
796
818
|
/*debouncedFunction*/
|
|
797
|
-
o[
|
|
819
|
+
o[26](
|
|
798
820
|
/*deleteBonus*/
|
|
799
|
-
o[
|
|
821
|
+
o[25]
|
|
800
822
|
)
|
|
801
823
|
)
|
|
802
824
|
], A = !0);
|
|
803
825
|
},
|
|
804
|
-
p(
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
826
|
+
p(f, N) {
|
|
827
|
+
N[0] & /*$_*/
|
|
828
|
+
262144 && r !== (r = /*$_*/
|
|
829
|
+
f[18]("forfeitBonus") + "") && Z(i, r), N[0] & /*$_*/
|
|
830
|
+
262144 && C !== (C = /*$_*/
|
|
831
|
+
f[18]("forfeitBonusCancel") + "") && Z(_, C), N[0] & /*$_*/
|
|
832
|
+
262144 && c !== (c = /*$_*/
|
|
833
|
+
f[18]("forfeitBonusConfirm") + "") && Z(l, c);
|
|
812
834
|
},
|
|
813
|
-
d(
|
|
814
|
-
|
|
835
|
+
d(f) {
|
|
836
|
+
f && O(e), A = !1, se(m);
|
|
815
837
|
}
|
|
816
838
|
};
|
|
817
839
|
}
|
|
818
|
-
function
|
|
840
|
+
function eo(o) {
|
|
819
841
|
let e;
|
|
820
|
-
function n(r,
|
|
821
|
-
return
|
|
842
|
+
function n(r, i) {
|
|
843
|
+
return Je;
|
|
822
844
|
}
|
|
823
845
|
let s = n()(o);
|
|
824
846
|
return {
|
|
825
847
|
c() {
|
|
826
848
|
e = M("div"), s.c();
|
|
827
849
|
},
|
|
828
|
-
m(r,
|
|
829
|
-
j(r, e,
|
|
850
|
+
m(r, i) {
|
|
851
|
+
j(r, e, i), s.m(e, null), o[38](e);
|
|
830
852
|
},
|
|
831
|
-
p(r,
|
|
832
|
-
s.p(r,
|
|
853
|
+
p(r, i) {
|
|
854
|
+
s.p(r, i);
|
|
833
855
|
},
|
|
834
|
-
i:
|
|
835
|
-
o:
|
|
856
|
+
i: ie,
|
|
857
|
+
o: ie,
|
|
836
858
|
d(r) {
|
|
837
|
-
r && O(e), s.d(), o[
|
|
859
|
+
r && O(e), s.d(), o[38](null);
|
|
838
860
|
}
|
|
839
861
|
};
|
|
840
862
|
}
|
|
841
|
-
let
|
|
842
|
-
function
|
|
843
|
-
let
|
|
844
|
-
|
|
845
|
-
let { endpoint: s = "" } = e, { session: r = "" } = e, { playerid:
|
|
846
|
-
const
|
|
847
|
-
fetch(h).then((
|
|
848
|
-
Object.keys(
|
|
849
|
-
le(G,
|
|
863
|
+
let oo = "status=active", J = 6;
|
|
864
|
+
function no(o, e, n) {
|
|
865
|
+
let a;
|
|
866
|
+
Le(o, He, (u) => n(18, a = u));
|
|
867
|
+
let { endpoint: s = "" } = e, { session: r = "" } = e, { playerid: i = "" } = e, { lang: b = "en" } = e, { currency: p = "" } = e, { clientstyling: v = "" } = e, { clientstylingurl: C = "" } = e, { mbsource: _ } = e, { translationurl: h = "" } = e, { currencylocale: g = "" } = e, { dateformat: c = "" } = e, l, A = window.navigator.userAgent, m = Oe(A) !== "PC", f = !0, N = !1, E = "", W = 0, w = 0, P = 0, k = 0, K = 0, V = [], S, $ = "", Q = !1;
|
|
868
|
+
const D = () => {
|
|
869
|
+
fetch(h).then((T) => T.json()).then((T) => {
|
|
870
|
+
Object.keys(T).forEach((G) => {
|
|
871
|
+
le(G, T[G]);
|
|
850
872
|
});
|
|
851
|
-
}).catch((
|
|
852
|
-
console.log(
|
|
873
|
+
}).catch((T) => {
|
|
874
|
+
console.log(T);
|
|
853
875
|
});
|
|
854
876
|
};
|
|
855
|
-
Object.keys(ue).forEach((
|
|
856
|
-
le(
|
|
877
|
+
Object.keys(ue).forEach((u) => {
|
|
878
|
+
le(u, ue[u]);
|
|
857
879
|
});
|
|
858
|
-
const
|
|
859
|
-
if (
|
|
860
|
-
switch (
|
|
880
|
+
const I = (u) => {
|
|
881
|
+
if (u.data)
|
|
882
|
+
switch (u.data.type) {
|
|
861
883
|
case "DeleteActiveBonus":
|
|
862
|
-
|
|
884
|
+
$ = u.data.bonuswalletid, n(17, Q = !0);
|
|
863
885
|
break;
|
|
864
886
|
}
|
|
865
887
|
};
|
|
866
|
-
function
|
|
888
|
+
function z(u, T) {
|
|
867
889
|
return (...G) => {
|
|
868
|
-
clearTimeout(
|
|
890
|
+
clearTimeout(S), S = setTimeout(
|
|
869
891
|
() => {
|
|
870
|
-
|
|
892
|
+
u.apply(this, G);
|
|
871
893
|
},
|
|
872
|
-
|
|
894
|
+
T
|
|
873
895
|
);
|
|
874
896
|
};
|
|
875
897
|
}
|
|
876
|
-
const
|
|
898
|
+
const y = () => {
|
|
877
899
|
window.postMessage(
|
|
878
900
|
{
|
|
879
901
|
type: "PlayerAccountMenuActive",
|
|
880
|
-
isMobile:
|
|
902
|
+
isMobile: m
|
|
881
903
|
},
|
|
882
904
|
window.location.href
|
|
883
905
|
);
|
|
884
|
-
},
|
|
885
|
-
n(
|
|
886
|
-
},
|
|
887
|
-
let
|
|
906
|
+
}, F = () => !!E, ve = () => {
|
|
907
|
+
n(8, f = !F());
|
|
908
|
+
}, X = (u) => {
|
|
909
|
+
let T = {
|
|
888
910
|
method: "GET",
|
|
889
911
|
headers: { "X-SessionId": r }
|
|
890
|
-
}, G = new URL(`${s}/v1/player/${
|
|
891
|
-
G.searchParams.append("filter",
|
|
892
|
-
(
|
|
893
|
-
Array.isArray(
|
|
894
|
-
const oe =
|
|
895
|
-
oe && (
|
|
896
|
-
}), n(
|
|
897
|
-
|
|
912
|
+
}, G = new URL(`${s}/v1/player/${i}/bonusWallet`);
|
|
913
|
+
G.searchParams.append("filter", oo), G.searchParams.append("pagination", `offset=${u},limit=${J}`), fetch(G, T).then((Y) => Y.json()).then(
|
|
914
|
+
(Y) => {
|
|
915
|
+
Array.isArray(Y.items) && Y.items.forEach((q) => {
|
|
916
|
+
const oe = q?.extension?.bonus?.presentation;
|
|
917
|
+
oe && (q.termsandconditionsurl = oe.url, q.termsandconditionsdescription = oe.description, q.termsandconditionsasset = oe.assets);
|
|
918
|
+
}), n(14, k = Math.ceil(Y.total / J)), u - J >= 0 && n(11, W = u - J), u + J < Y.total && n(12, w = u + J), n(13, P = (k - 1) * J), n(15, K = u / J), n(16, V = Y?.items || []), g && V.forEach((q) => {
|
|
919
|
+
q.fulfilledWR = ee(q.fulfilledWR), q.originalWageringRequirement = ee(q.originalWageringRequirement), q.currentAmount = ee(q.currentAmount), q.extension.grantedPlayerCurrencyAmount = ee(q.extension.grantedPlayerCurrencyAmount);
|
|
898
920
|
}), window.scrollTo({ top: 0, behavior: "smooth" });
|
|
899
921
|
},
|
|
900
|
-
(
|
|
901
|
-
console.error(
|
|
922
|
+
(Y) => {
|
|
923
|
+
console.error(Y);
|
|
902
924
|
}
|
|
903
925
|
);
|
|
904
|
-
}, ee = (
|
|
905
|
-
let
|
|
926
|
+
}, ee = (u) => new Intl.NumberFormat(g, { style: "currency", currency: p }).format(u).replace(/\s/g, ""), _e = () => {
|
|
927
|
+
let u = new URL(`${s}/v1/player/${i}/claimbonus`), T = {
|
|
906
928
|
method: "POST",
|
|
907
929
|
headers: {
|
|
908
930
|
"X-SessionId": r,
|
|
909
931
|
accept: "application/json"
|
|
910
932
|
}
|
|
911
933
|
};
|
|
912
|
-
|
|
913
|
-
G.status == 200 ? (n(
|
|
934
|
+
u.searchParams.append("currency", p), u.searchParams.append("bonusCode", E), fetch(u.href, T).then((G) => {
|
|
935
|
+
G.status == 200 ? (n(9, N = !1), X(0), window.postMessage(
|
|
914
936
|
{
|
|
915
937
|
type: "WidgetNotification",
|
|
916
938
|
data: {
|
|
917
939
|
type: "success",
|
|
918
|
-
message:
|
|
940
|
+
message: a("bonusClaimSuccessMessage")
|
|
919
941
|
}
|
|
920
942
|
},
|
|
921
943
|
window.location.href
|
|
922
944
|
), typeof gtag == "function" && gtag("event", "ClaimBonus", {
|
|
923
945
|
context: "PlayerActiveBonuses",
|
|
924
|
-
userId: `${
|
|
946
|
+
userId: `${i || "Not logged in"}`,
|
|
925
947
|
bonusCode: `${E}`
|
|
926
|
-
})) : (n(
|
|
948
|
+
})) : (n(9, N = !0), window.postMessage(
|
|
927
949
|
{
|
|
928
950
|
type: "WidgetNotification",
|
|
929
951
|
data: {
|
|
930
952
|
type: "error",
|
|
931
|
-
message:
|
|
953
|
+
message: a("bonusClaimErrorMessage")
|
|
932
954
|
}
|
|
933
955
|
},
|
|
934
956
|
window.location.href
|
|
935
957
|
));
|
|
936
958
|
});
|
|
937
|
-
},
|
|
938
|
-
window.postMessage({ type: "EnableScroll" }, window.location.href), n(
|
|
939
|
-
},
|
|
940
|
-
let
|
|
959
|
+
}, ae = () => {
|
|
960
|
+
window.postMessage({ type: "EnableScroll" }, window.location.href), n(17, Q = !1);
|
|
961
|
+
}, ye = () => {
|
|
962
|
+
let u = {
|
|
941
963
|
method: "DELETE",
|
|
942
964
|
headers: {
|
|
943
965
|
"X-SessionId": r,
|
|
944
966
|
"Content-Type": "application/json",
|
|
945
967
|
Accept: "application/json"
|
|
946
968
|
}
|
|
947
|
-
},
|
|
948
|
-
|
|
949
|
-
G.status == 200 && (
|
|
969
|
+
}, T = new URL(`${s}/v1/player/${i}/bonusWallet`);
|
|
970
|
+
T.searchParams.append("bonusWalletID", $), fetch(T, u).then((G) => {
|
|
971
|
+
G.status == 200 && (X(0), ae());
|
|
950
972
|
});
|
|
951
|
-
},
|
|
952
|
-
|
|
973
|
+
}, Ce = () => {
|
|
974
|
+
Xe(b);
|
|
953
975
|
};
|
|
954
|
-
function
|
|
955
|
-
return
|
|
976
|
+
function he(u) {
|
|
977
|
+
return z(u, 1e3);
|
|
956
978
|
}
|
|
957
|
-
|
|
958
|
-
window.removeEventListener("message",
|
|
979
|
+
je(() => (window.addEventListener("message", I, !1), () => {
|
|
980
|
+
window.removeEventListener("message", I);
|
|
959
981
|
}));
|
|
960
|
-
const
|
|
961
|
-
function
|
|
962
|
-
E = this.value, n(
|
|
982
|
+
const we = () => y();
|
|
983
|
+
function Me() {
|
|
984
|
+
E = this.value, n(10, E);
|
|
963
985
|
}
|
|
964
|
-
const
|
|
965
|
-
function
|
|
966
|
-
|
|
967
|
-
|
|
986
|
+
const ke = () => X(0), Ae = () => X(W), We = (u) => X(u * J), Ee = () => X(w), Pe = () => X(P);
|
|
987
|
+
function Fe(u) {
|
|
988
|
+
qe[u ? "unshift" : "push"](() => {
|
|
989
|
+
l = u, n(7, l);
|
|
968
990
|
});
|
|
969
991
|
}
|
|
970
|
-
return o.$$set = (
|
|
971
|
-
"endpoint" in
|
|
992
|
+
return o.$$set = (u) => {
|
|
993
|
+
"endpoint" in u && n(27, s = u.endpoint), "session" in u && n(28, r = u.session), "playerid" in u && n(29, i = u.playerid), "lang" in u && n(0, b = u.lang), "currency" in u && n(30, p = u.currency), "clientstyling" in u && n(1, v = u.clientstyling), "clientstylingurl" in u && n(2, C = u.clientstylingurl), "mbsource" in u && n(3, _ = u.mbsource), "translationurl" in u && n(4, h = u.translationurl), "currencylocale" in u && n(5, g = u.currencylocale), "dateformat" in u && n(6, c = u.dateformat);
|
|
972
994
|
}, o.$$.update = () => {
|
|
973
995
|
o.$$.dirty[0] & /*lang*/
|
|
974
|
-
1 && b &&
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
16 && h &&
|
|
996
|
+
1 && b && Ce(), o.$$.dirty[0] & /*session, playerid, endpoint*/
|
|
997
|
+
939524096 && r && i && s && X(0), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
998
|
+
130 && v && l && De(l, v), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
999
|
+
132 && C && l && Ge(l, C), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1000
|
+
136 && _ && l && Ve(l, `${_}.Style`), o.$$.dirty[0] & /*translationurl*/
|
|
1001
|
+
16 && h && D();
|
|
980
1002
|
}, [
|
|
981
1003
|
b,
|
|
982
1004
|
v,
|
|
983
|
-
|
|
1005
|
+
C,
|
|
984
1006
|
_,
|
|
985
1007
|
h,
|
|
986
1008
|
g,
|
|
987
1009
|
c,
|
|
1010
|
+
l,
|
|
988
1011
|
f,
|
|
989
|
-
|
|
1012
|
+
N,
|
|
990
1013
|
E,
|
|
991
|
-
z,
|
|
992
1014
|
W,
|
|
993
1015
|
w,
|
|
994
1016
|
P,
|
|
995
1017
|
k,
|
|
996
|
-
|
|
1018
|
+
K,
|
|
1019
|
+
V,
|
|
997
1020
|
Q,
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
F,
|
|
1002
|
-
Y,
|
|
1021
|
+
a,
|
|
1022
|
+
m,
|
|
1023
|
+
y,
|
|
1003
1024
|
ve,
|
|
1004
|
-
|
|
1025
|
+
X,
|
|
1005
1026
|
_e,
|
|
1006
|
-
|
|
1027
|
+
ae,
|
|
1028
|
+
ye,
|
|
1029
|
+
he,
|
|
1007
1030
|
s,
|
|
1008
1031
|
r,
|
|
1009
|
-
|
|
1032
|
+
i,
|
|
1010
1033
|
p,
|
|
1011
|
-
he,
|
|
1012
1034
|
we,
|
|
1013
1035
|
Me,
|
|
1014
1036
|
ke,
|
|
1015
1037
|
Ae,
|
|
1016
1038
|
We,
|
|
1017
1039
|
Ee,
|
|
1018
|
-
Pe
|
|
1040
|
+
Pe,
|
|
1041
|
+
Fe
|
|
1019
1042
|
];
|
|
1020
1043
|
}
|
|
1021
|
-
class
|
|
1044
|
+
class so extends ze {
|
|
1022
1045
|
constructor(e) {
|
|
1023
|
-
super(),
|
|
1046
|
+
super(), Te(
|
|
1024
1047
|
this,
|
|
1025
1048
|
e,
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1049
|
+
no,
|
|
1050
|
+
eo,
|
|
1051
|
+
Ne,
|
|
1029
1052
|
{
|
|
1030
|
-
endpoint:
|
|
1031
|
-
session:
|
|
1032
|
-
playerid:
|
|
1053
|
+
endpoint: 27,
|
|
1054
|
+
session: 28,
|
|
1055
|
+
playerid: 29,
|
|
1033
1056
|
lang: 0,
|
|
1034
|
-
currency:
|
|
1057
|
+
currency: 30,
|
|
1035
1058
|
clientstyling: 1,
|
|
1036
1059
|
clientstylingurl: 2,
|
|
1037
1060
|
mbsource: 3,
|
|
1038
1061
|
translationurl: 4,
|
|
1039
|
-
currencylocale: 5
|
|
1062
|
+
currencylocale: 5,
|
|
1063
|
+
dateformat: 6
|
|
1040
1064
|
},
|
|
1041
|
-
|
|
1065
|
+
Ye,
|
|
1042
1066
|
[-1, -1]
|
|
1043
1067
|
);
|
|
1044
1068
|
}
|
|
1045
1069
|
get endpoint() {
|
|
1046
|
-
return this.$$.ctx[
|
|
1070
|
+
return this.$$.ctx[27];
|
|
1047
1071
|
}
|
|
1048
1072
|
set endpoint(e) {
|
|
1049
|
-
this.$$set({ endpoint: e }),
|
|
1073
|
+
this.$$set({ endpoint: e }), U();
|
|
1050
1074
|
}
|
|
1051
1075
|
get session() {
|
|
1052
|
-
return this.$$.ctx[
|
|
1076
|
+
return this.$$.ctx[28];
|
|
1053
1077
|
}
|
|
1054
1078
|
set session(e) {
|
|
1055
|
-
this.$$set({ session: e }),
|
|
1079
|
+
this.$$set({ session: e }), U();
|
|
1056
1080
|
}
|
|
1057
1081
|
get playerid() {
|
|
1058
|
-
return this.$$.ctx[
|
|
1082
|
+
return this.$$.ctx[29];
|
|
1059
1083
|
}
|
|
1060
1084
|
set playerid(e) {
|
|
1061
|
-
this.$$set({ playerid: e }),
|
|
1085
|
+
this.$$set({ playerid: e }), U();
|
|
1062
1086
|
}
|
|
1063
1087
|
get lang() {
|
|
1064
1088
|
return this.$$.ctx[0];
|
|
1065
1089
|
}
|
|
1066
1090
|
set lang(e) {
|
|
1067
|
-
this.$$set({ lang: e }),
|
|
1091
|
+
this.$$set({ lang: e }), U();
|
|
1068
1092
|
}
|
|
1069
1093
|
get currency() {
|
|
1070
|
-
return this.$$.ctx[
|
|
1094
|
+
return this.$$.ctx[30];
|
|
1071
1095
|
}
|
|
1072
1096
|
set currency(e) {
|
|
1073
|
-
this.$$set({ currency: e }),
|
|
1097
|
+
this.$$set({ currency: e }), U();
|
|
1074
1098
|
}
|
|
1075
1099
|
get clientstyling() {
|
|
1076
1100
|
return this.$$.ctx[1];
|
|
1077
1101
|
}
|
|
1078
1102
|
set clientstyling(e) {
|
|
1079
|
-
this.$$set({ clientstyling: e }),
|
|
1103
|
+
this.$$set({ clientstyling: e }), U();
|
|
1080
1104
|
}
|
|
1081
1105
|
get clientstylingurl() {
|
|
1082
1106
|
return this.$$.ctx[2];
|
|
1083
1107
|
}
|
|
1084
1108
|
set clientstylingurl(e) {
|
|
1085
|
-
this.$$set({ clientstylingurl: e }),
|
|
1109
|
+
this.$$set({ clientstylingurl: e }), U();
|
|
1086
1110
|
}
|
|
1087
1111
|
get mbsource() {
|
|
1088
1112
|
return this.$$.ctx[3];
|
|
1089
1113
|
}
|
|
1090
1114
|
set mbsource(e) {
|
|
1091
|
-
this.$$set({ mbsource: e }),
|
|
1115
|
+
this.$$set({ mbsource: e }), U();
|
|
1092
1116
|
}
|
|
1093
1117
|
get translationurl() {
|
|
1094
1118
|
return this.$$.ctx[4];
|
|
1095
1119
|
}
|
|
1096
1120
|
set translationurl(e) {
|
|
1097
|
-
this.$$set({ translationurl: e }),
|
|
1121
|
+
this.$$set({ translationurl: e }), U();
|
|
1098
1122
|
}
|
|
1099
1123
|
get currencylocale() {
|
|
1100
1124
|
return this.$$.ctx[5];
|
|
1101
1125
|
}
|
|
1102
1126
|
set currencylocale(e) {
|
|
1103
|
-
this.$$set({ currencylocale: e }),
|
|
1127
|
+
this.$$set({ currencylocale: e }), U();
|
|
1128
|
+
}
|
|
1129
|
+
get dateformat() {
|
|
1130
|
+
return this.$$.ctx[6];
|
|
1131
|
+
}
|
|
1132
|
+
set dateformat(e) {
|
|
1133
|
+
this.$$set({ dateformat: e }), U();
|
|
1104
1134
|
}
|
|
1105
1135
|
}
|
|
1106
|
-
|
|
1136
|
+
Ue(so, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {} }, [], [], !0);
|
|
1107
1137
|
export {
|
|
1108
|
-
|
|
1138
|
+
so as default
|
|
1109
1139
|
};
|