@everymatrix/player-account-controller 1.94.45 → 1.94.46
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-j-jyHqe4.cjs → GeneralLogout-CRSyMdjj.cjs} +1 -1
- package/components/{GeneralLogout-D3lpGQsU.js → GeneralLogout-Cku_GntN.js} +1 -1
- package/components/{GeneralLogout-Bk5Ckyzw.js → GeneralLogout-m_5K_rNh.js} +1 -1
- package/components/{PlayerAccountBettingHistory-BzsQ4Va3.cjs → PlayerAccountBettingHistory-BYq0QBv4.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-BEDPCa1I.js → PlayerAccountBettingHistory-CwheThf3.js} +1 -1
- package/components/{PlayerAccountBettingHistory-CR3oPqO0.js → PlayerAccountBettingHistory-QAZvXyms.js} +1 -1
- package/components/{PlayerAccountBiometrics-D7D-egSH.cjs → PlayerAccountBiometrics-COmlNwwu.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-DB0KEt5i.js → PlayerAccountBiometrics-C_BNuYNj.js} +2 -2
- package/components/{PlayerAccountBiometrics-BfW5cY__.js → PlayerAccountBiometrics-DBb3OxME.js} +2 -2
- package/components/{PlayerAccountBiometricsAction-GpjXBBc6.js → PlayerAccountBiometricsAction-BSXoyO4p.js} +1 -1
- package/components/{PlayerAccountBiometricsAction-CCYz_8c_.js → PlayerAccountBiometricsAction-BsuEjcW0.js} +1 -1
- package/components/{PlayerAccountBiometricsAction-DSVJE-oz.cjs → PlayerAccountBiometricsAction-CvgmzT8R.cjs} +1 -1
- package/components/{PlayerAccountClosure-DlyMeMIO.js → PlayerAccountClosure-DteyRZAK.js} +1 -1
- package/components/{PlayerAccountClosure-Cw24ZwXs.js → PlayerAccountClosure-J05iQQyM.js} +1 -1
- package/components/{PlayerAccountClosure-B_ZKAVb2.cjs → PlayerAccountClosure-fK_tLJrD.cjs} +1 -1
- package/components/{PlayerAccountController-EZT-SaJ_.cjs → PlayerAccountController-Kml2wDWr.cjs} +1 -1
- package/components/{PlayerAccountController-DHnUTGgU.js → PlayerAccountController-gyRDEH81.js} +22 -22
- package/components/{PlayerAccountController-zFl-TfQc.js → PlayerAccountController-i0ANsufA.js} +22 -22
- package/components/{PlayerAccountGamingLimits-eEOBviBU.js → PlayerAccountGamingLimits-BXG-bp9V.js} +2 -2
- package/components/{PlayerAccountGamingLimits-DnkkfPfc.cjs → PlayerAccountGamingLimits-DS7SGE2j.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-BTEVOQMk.js → PlayerAccountGamingLimits-DyeVcpp4.js} +2 -2
- package/components/{PlayerAccountGamingLimitsConfirmationModal-004Nrt7f.cjs → PlayerAccountGamingLimitsConfirmationModal-CNJgn4kT.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BcwGNLoa.js → PlayerAccountGamingLimitsConfirmationModal-Cstd-Hmf.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-B83sV-F6.js → PlayerAccountGamingLimitsConfirmationModal-Du_2IY1f.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-DgHs8ww3.cjs → PlayerAccountGamingLimitsGroupEdit-0yeygFUK.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-CIApS3KW.js → PlayerAccountGamingLimitsGroupEdit-CdGMih3j.js} +5 -5
- package/components/{PlayerAccountGamingLimitsGroupEdit-DRiRqwjS.js → PlayerAccountGamingLimitsGroupEdit-DLdb2vk0.js} +5 -5
- package/components/{PlayerAccountGamingLimitsHistory2-Dow-aOZD.js → PlayerAccountGamingLimitsHistory2-B_Ap_4Dw.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-BiK56s8W.js → PlayerAccountGamingLimitsHistory2-CW1t-qlK.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-BZV0-L-y.cjs → PlayerAccountGamingLimitsHistory2-CqjgjFW2.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-kmDJDlCG.cjs → PlayerAccountGamingLimitsInfoCard-BOm3UZSf.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-Bv_a4155.js → PlayerAccountGamingLimitsInfoCard-BuYd0PLm.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-Btfba-74.js → PlayerAccountGamingLimitsInfoCard-DSHyIYvO.js} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CccKpPsu.js → PlayerAccountGamingLimitsPage2Gm16-Bffm3Vba.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BEMbtBfr.cjs → PlayerAccountGamingLimitsPage2Gm16-Bv65BgsZ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BGTPIRqn.js → PlayerAccountGamingLimitsPage2Gm16-DMM0yHZ9.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-3H9nMe-K.js → PlayerAccountGamingLimitsPopup-BWgGwGg6.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DZVoqqj2.cjs → PlayerAccountGamingLimitsPopup-BvhzF0v2.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-CjRiHD-O.js → PlayerAccountGamingLimitsPopup-DooLgzfm.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-B0vsa2G-.cjs → PlayerAccountGamingLimitsWrapper2-C0k91fIB.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-_DNGsxPF.js → PlayerAccountGamingLimitsWrapper2-CBoPo-8s.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-7vHXArsw.js → PlayerAccountGamingLimitsWrapper2-j4I8aKgq.js} +3 -3
- package/components/{PlayerAccountGeneralConfirmationModal-D40yCX6E.js → PlayerAccountGeneralConfirmationModal-B-FynYji.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-CwrVkllT.js → PlayerAccountGeneralConfirmationModal-DQ7hI17y.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-iKvQ9D2B.cjs → PlayerAccountGeneralConfirmationModal-DhNbrFhT.cjs} +1 -1
- package/components/{PlayerAccountMenu-C1w_l-dM.js → PlayerAccountMenu-C2s74JFj.js} +2 -2
- package/components/{PlayerAccountMenu-CvJWemc_.js → PlayerAccountMenu-CQ_fTuPM.js} +2 -2
- package/components/{PlayerAccountMenu-Dsz4LJVU.cjs → PlayerAccountMenu-CbD1esD1.cjs} +1 -1
- package/components/{PlayerAccountModal-yeQc7Fmj.cjs → PlayerAccountModal-BctrhjCg.cjs} +1 -1
- package/components/{PlayerAccountModal-7vMWlukW.js → PlayerAccountModal-DBf3h3LV.js} +1 -1
- package/components/{PlayerAccountModal-DuVsZP5p.js → PlayerAccountModal-DseRftRC.js} +1 -1
- package/components/{PlayerAccountNotifications-CQlpxLe5.cjs → PlayerAccountNotifications-C_T5DxVH.cjs} +1 -1
- package/components/{PlayerAccountNotifications-8_agDYTF.js → PlayerAccountNotifications-DEcBy1uK.js} +1 -1
- package/components/{PlayerAccountNotifications-BpIeuroA.js → PlayerAccountNotifications-Dt9agL_X.js} +1 -1
- package/components/{PlayerAccountProductRestriction-DdVyUksx.js → PlayerAccountProductRestriction-CCoj0pnQ.js} +3 -3
- package/components/{PlayerAccountProductRestriction-DWVzliMc.cjs → PlayerAccountProductRestriction-CtvuJp4q.cjs} +1 -1
- package/components/{PlayerAccountProductRestriction-TI0jfkgU.js → PlayerAccountProductRestriction-DjQPJmBh.js} +3 -3
- package/components/{PlayerAccountReviewFrequency-BJhefh_L.js → PlayerAccountReviewFrequency-BH_SQ1TL.js} +1 -1
- package/components/{PlayerAccountReviewFrequency-Ca7tMXBk.js → PlayerAccountReviewFrequency-Cl7bxJww.js} +1 -1
- package/components/{PlayerAccountReviewFrequency-DARDsfY1.cjs → PlayerAccountReviewFrequency-D7DxUqEY.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-DpKF23V0.cjs → PlayerAccountSelfExclusion-BI4_OiS2.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-DuToA-OC.js → PlayerAccountSelfExclusion-CnluF51M.js} +2 -2
- package/components/{PlayerAccountSelfExclusion-bFMq7T05.js → PlayerAccountSelfExclusion-QosltdGz.js} +2 -2
- package/components/{PlayerAccountTimeout-BBbZJZR-.js → PlayerAccountTimeout-BnIwhVxS.js} +3 -3
- package/components/{PlayerAccountTimeout-Cctjlf3Q.cjs → PlayerAccountTimeout-DMys-_1f.cjs} +2 -2
- package/components/{PlayerAccountTimeout-BHcu5kpY.js → PlayerAccountTimeout-DtXH_RZp.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-CMjDSoRq.cjs → PlayerAccountTransactionsHistory-BzvHKNwq.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-Dui-qYx9.js → PlayerAccountTransactionsHistory-CBWvjuTD.js} +4 -4
- package/components/{PlayerAccountTransactionsHistory-CLxFRkZn.js → PlayerAccountTransactionsHistory-CFUpb_Ag.js} +4 -4
- package/components/{PlayerActiveBonuses-DSkOYnDW.js → PlayerActiveBonuses-BVbdD8q8.js} +609 -601
- package/components/PlayerActiveBonuses-CFliVUQ5.cjs +5 -0
- package/components/{PlayerActiveBonuses-BZdyPc_f.js → PlayerActiveBonuses-DlqO6vBd.js} +513 -505
- package/components/{PlayerBonusCard-CpmYNg1C.js → PlayerBonusCard-Bsy3E6mZ.js} +216 -206
- package/components/{PlayerBonusCard-B0hTz_YP.js → PlayerBonusCard-Bv3xwp1b.js} +211 -201
- package/components/PlayerBonusCard-DPQs1n4g.cjs +1 -0
- package/components/{PlayerBonusHistory-DmYWo5wu.js → PlayerBonusHistory-BvRLqhtl.js} +2 -2
- package/components/{PlayerBonusHistory-BF5dIXAM.js → PlayerBonusHistory-CPvMW8x-.js} +2 -2
- package/components/{PlayerBonusHistory-Caulw63c.cjs → PlayerBonusHistory-CSmFIiBP.cjs} +1 -1
- package/components/{PlayerChangePassword-89PC50Rx.js → PlayerChangePassword-BoQHlBgQ.js} +1 -1
- package/components/{PlayerChangePassword-Che0n-uf.cjs → PlayerChangePassword-BqmKwXIW.cjs} +1 -1
- package/components/{PlayerChangePassword-DvRvb55H.js → PlayerChangePassword-CRqTrEKz.js} +1 -1
- package/components/{PlayerDeposit-_F8_1qIJ.cjs → PlayerDeposit-B7knW9LC.cjs} +1 -1
- package/components/{PlayerDeposit-ctwYxyCs.js → PlayerDeposit-C3lt39SI.js} +1 -1
- package/components/{PlayerDeposit-Btszt0Mk.js → PlayerDeposit-DyYZtjIA.js} +1 -1
- package/components/{PlayerGamingHistory-svH88zgs.js → PlayerGamingHistory-D_D5nY-S.js} +3 -3
- package/components/{PlayerGamingHistory-CqrdfWVU.cjs → PlayerGamingHistory-DtXrgVkz.cjs} +1 -1
- package/components/{PlayerGamingHistory-chchdnXk.js → PlayerGamingHistory-nqFLazfX.js} +3 -3
- package/components/{PlayerPendingWithdrawals-DwiT0axk.js → PlayerPendingWithdrawals-BieENcCJ.js} +1 -1
- package/components/{PlayerPendingWithdrawals-xObnIK-n.cjs → PlayerPendingWithdrawals-COawfsER.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-BA7NIqTB.js → PlayerPendingWithdrawals-KfwKN8F0.js} +1 -1
- package/components/{PlayerProfileInfo-uO-7cx-t.js → PlayerProfileInfo-BMeKEHqg.js} +3 -3
- package/components/{PlayerProfileInfo-BHeyEtxq.cjs → PlayerProfileInfo-CP2lb_8T.cjs} +1 -1
- package/components/{PlayerProfileInfo-BQVI9QQ8.js → PlayerProfileInfo-DjsI-1-m.js} +3 -3
- package/components/{PlayerRealityCheck-CmYA9yeL.cjs → PlayerRealityCheck-Bn5V5ELg.cjs} +1 -1
- package/components/{PlayerRealityCheck-Cxh7l1wJ.js → PlayerRealityCheck-Cbt3PyCg.js} +1 -1
- package/components/{PlayerRealityCheck-gxQDsztM.js → PlayerRealityCheck-DUuYC1pP.js} +1 -1
- package/components/{PlayerTransactionHistory-CYSrPQEE.js → PlayerTransactionHistory-B2dLqV-u.js} +1 -1
- package/components/{PlayerTransactionHistory-CYv6ek94.js → PlayerTransactionHistory-BX14EKjm.js} +1 -1
- package/components/{PlayerTransactionHistory-DbRGPhnT.cjs → PlayerTransactionHistory-Dwb6zQI6.cjs} +1 -1
- package/components/{PlayerWithdrawal-BKnDZy4K.js → PlayerWithdrawal-CLxuCqKd.js} +1 -1
- package/components/{PlayerWithdrawal-8aaPt1l0.js → PlayerWithdrawal-CoaSrizc.js} +1 -1
- package/components/{PlayerWithdrawal-DoSDCZJ9.cjs → PlayerWithdrawal-g898delo.cjs} +1 -1
- package/components/{QrSessionGenerator-C_IkYWc-.js → QrSessionGenerator-C9KqEFVH.js} +1 -1
- package/components/{QrSessionGenerator-CdF0ClVk.cjs → QrSessionGenerator-Cj28UYPy.cjs} +1 -1
- package/components/{QrSessionGenerator-DVCTHA6a.js → QrSessionGenerator-DZ85GJwG.js} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/components/PlayerActiveBonuses-DzJ9p7wp.cjs +0 -5
- package/components/PlayerBonusCard-CpCdGX0x.cjs +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { a as Xe, $ as Je, S as Ke, i as Qe, s as Ze, f as N, b as xe, n as le, d as D, w as ue, u as J, K as _e, e as j, p, x as G, g as W, q as z, v as O, t as _, h as $e, j as en, o as nn, y as Q, k as on, L as de, l as se, m as Se, r as t, B as sn, C as tn, D as an, c as rn, A as ln } from "./PlayerAccountController-i0ANsufA.js";
|
|
2
|
+
function ve(n, e) {
|
|
3
|
+
Xe(n, e);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
6
|
-
|
|
5
|
+
function un(n) {
|
|
6
|
+
Je.set(n);
|
|
7
7
|
}
|
|
8
8
|
const ye = {
|
|
9
9
|
en: {
|
|
@@ -146,27 +146,29 @@ const ye = {
|
|
|
146
146
|
TYPES: "standard,freeBet,freeRound,cashBack,stakeBack,oddsBoost,wagering",
|
|
147
147
|
STATUS_ACTIVE: "active",
|
|
148
148
|
STATUS_COMPLETED: "completed,released,forfeited,expired,closed"
|
|
149
|
+
}, dn = {
|
|
150
|
+
ODDS_BOOST: "oddsBoost"
|
|
149
151
|
};
|
|
150
152
|
async function pe(n, e = {}) {
|
|
151
|
-
const o = typeof n == "string" ? n : n.toString(),
|
|
153
|
+
const o = typeof n == "string" ? n : n.toString(), i = await fetch(o, e);
|
|
152
154
|
let s = null;
|
|
153
155
|
try {
|
|
154
|
-
s = await
|
|
156
|
+
s = await i.json();
|
|
155
157
|
} catch {
|
|
156
158
|
s = null;
|
|
157
159
|
}
|
|
158
|
-
if (
|
|
160
|
+
if (i.ok && s)
|
|
159
161
|
return s;
|
|
160
|
-
const
|
|
162
|
+
const a = s && typeof s == "object" ? s : {}, l = {
|
|
161
163
|
success: !1,
|
|
162
|
-
errorMessage: typeof
|
|
163
|
-
errorCode: typeof
|
|
164
|
+
errorMessage: typeof a.errorMessage == "string" && a.errorMessage || i.statusText || String(i.status),
|
|
165
|
+
errorCode: typeof a.errorCode == "number" ? a.errorCode : void 0
|
|
164
166
|
};
|
|
165
|
-
return { ...
|
|
167
|
+
return { ...a, ...l };
|
|
166
168
|
}
|
|
167
|
-
async function
|
|
168
|
-
const
|
|
169
|
-
return pe(
|
|
169
|
+
async function cn(n, e, o) {
|
|
170
|
+
const i = `${n}${ce.CLAIM}`;
|
|
171
|
+
return pe(i, {
|
|
170
172
|
method: "PUT",
|
|
171
173
|
headers: {
|
|
172
174
|
"x-SessionId": e,
|
|
@@ -176,9 +178,9 @@ async function un(n, e, o) {
|
|
|
176
178
|
body: JSON.stringify(o)
|
|
177
179
|
});
|
|
178
180
|
}
|
|
179
|
-
async function
|
|
180
|
-
const
|
|
181
|
-
return
|
|
181
|
+
async function pn(n, e, o) {
|
|
182
|
+
const i = new URL(`${n}${ce.FORFEIT}`);
|
|
183
|
+
return i.searchParams.append("bonusWalletID", o.bonusWalletID), pe(i, {
|
|
182
184
|
method: "DELETE",
|
|
183
185
|
headers: {
|
|
184
186
|
"x-SessionId": e,
|
|
@@ -186,13 +188,13 @@ async function dn(n, e, o) {
|
|
|
186
188
|
}
|
|
187
189
|
});
|
|
188
190
|
}
|
|
189
|
-
async function
|
|
190
|
-
const
|
|
191
|
-
Object.entries(o).forEach(([
|
|
192
|
-
|
|
191
|
+
async function fn(n, e, o) {
|
|
192
|
+
const i = new URL(`${n}${ce.GRANTED}`);
|
|
193
|
+
Object.entries(o).forEach(([a, l]) => {
|
|
194
|
+
l != null && i.searchParams.append(a, String(l));
|
|
193
195
|
});
|
|
194
196
|
const s = {};
|
|
195
|
-
return e && (s["x-SessionId"] = e), pe(
|
|
197
|
+
return e && (s["x-SessionId"] = e), pe(i, {
|
|
196
198
|
headers: s
|
|
197
199
|
});
|
|
198
200
|
}
|
|
@@ -201,55 +203,55 @@ if (typeof window < "u") {
|
|
|
201
203
|
return function(...o) {
|
|
202
204
|
try {
|
|
203
205
|
return e.apply(this, o);
|
|
204
|
-
} catch (
|
|
205
|
-
if (
|
|
206
|
+
} catch (i) {
|
|
207
|
+
if (i instanceof DOMException && i.message.includes("has already been used with this registry") || i.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
206
208
|
return !1;
|
|
207
|
-
throw
|
|
209
|
+
throw i;
|
|
208
210
|
}
|
|
209
211
|
};
|
|
210
212
|
};
|
|
211
|
-
customElements.define = n(customElements.define), import("./PlayerBonusCard-
|
|
213
|
+
customElements.define = n(customElements.define), import("./PlayerBonusCard-Bv3xwp1b.js").then(({ default: e }) => {
|
|
212
214
|
!customElements.get("player-bonus-card") && customElements.define("player-bonus-card", e.element);
|
|
213
215
|
});
|
|
214
216
|
}
|
|
215
|
-
function
|
|
216
|
-
|
|
217
|
+
function mn(n) {
|
|
218
|
+
xe(n, "svelte-2jgm79", '.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,.BonusesPaginationWrapper .BonusesPage{all:unset;box-sizing:border-box;cursor:pointer}.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;cursor:default}.ModalLoader{width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
217
219
|
}
|
|
218
220
|
function Ce(n, e, o) {
|
|
219
|
-
const
|
|
220
|
-
return
|
|
221
|
+
const i = n.slice();
|
|
222
|
+
return i[57] = e[o], i[59] = o, i;
|
|
221
223
|
}
|
|
222
224
|
function we(n, e, o) {
|
|
223
|
-
const
|
|
224
|
-
return
|
|
225
|
+
const i = n.slice();
|
|
226
|
+
return i[60] = e[o], i;
|
|
225
227
|
}
|
|
226
|
-
function
|
|
227
|
-
let e, o,
|
|
228
|
+
function bn(n) {
|
|
229
|
+
let e, o, i, s, a, l, d, u, g, y, M = (
|
|
228
230
|
/*$_*/
|
|
229
231
|
n[21]("titleBonuses") + ""
|
|
230
|
-
), A,
|
|
232
|
+
), A, v, h;
|
|
231
233
|
return {
|
|
232
234
|
c() {
|
|
233
|
-
e =
|
|
235
|
+
e = W("div"), o = Q("svg"), i = Q("defs"), s = Q("style"), a = O(`.aaa {
|
|
234
236
|
fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
|
|
235
237
|
}
|
|
236
|
-
`),
|
|
238
|
+
`), l = Q("g"), d = Q("g"), u = Q("path"), g = z(), y = W("h2"), A = O(M), _(u, "class", "aaa"), _(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), _(u, "transform", "translate(15 15) rotate(180)"), _(d, "transform", "translate(20 158)"), _(l, "transform", "translate(-20 -158)"), _(o, "xmlns", "http://www.w3.org/2000/svg"), _(o, "width", "15"), _(o, "height", "15"), _(o, "viewBox", "0 0 15 15"), _(y, "class", "ActiveBonusesTitleMobile"), _(e, "class", "MenuReturnButton");
|
|
237
239
|
},
|
|
238
|
-
m(
|
|
239
|
-
|
|
240
|
+
m(w, C) {
|
|
241
|
+
j(w, e, C), p(e, o), p(o, i), p(i, s), p(s, a), p(o, l), p(l, d), p(d, u), p(e, g), p(e, y), p(y, A), v || (h = G(
|
|
240
242
|
e,
|
|
241
243
|
"click",
|
|
242
244
|
/*click_handler*/
|
|
243
245
|
n[36]
|
|
244
|
-
),
|
|
246
|
+
), v = !0);
|
|
245
247
|
},
|
|
246
|
-
p(
|
|
247
|
-
|
|
248
|
-
2097152 &&
|
|
249
|
-
|
|
248
|
+
p(w, C) {
|
|
249
|
+
C[0] & /*$_*/
|
|
250
|
+
2097152 && M !== (M = /*$_*/
|
|
251
|
+
w[21]("titleBonuses") + "") && J(A, M);
|
|
250
252
|
},
|
|
251
|
-
d(
|
|
252
|
-
|
|
253
|
+
d(w) {
|
|
254
|
+
w && D(e), v = !1, h();
|
|
253
255
|
}
|
|
254
256
|
};
|
|
255
257
|
}
|
|
@@ -257,510 +259,516 @@ function Me(n) {
|
|
|
257
259
|
let e, o = (
|
|
258
260
|
/*$_*/
|
|
259
261
|
n[21]("invalidBonusCode") + ""
|
|
260
|
-
),
|
|
262
|
+
), i;
|
|
261
263
|
return {
|
|
262
264
|
c() {
|
|
263
|
-
e =
|
|
265
|
+
e = W("p"), i = O(o), _(e, "class", "InvalidBonusCodeMessage");
|
|
264
266
|
},
|
|
265
|
-
m(s,
|
|
266
|
-
|
|
267
|
+
m(s, a) {
|
|
268
|
+
j(s, e, a), p(e, i);
|
|
267
269
|
},
|
|
268
|
-
p(s,
|
|
269
|
-
|
|
270
|
+
p(s, a) {
|
|
271
|
+
a[0] & /*$_*/
|
|
270
272
|
2097152 && o !== (o = /*$_*/
|
|
271
|
-
s[21]("invalidBonusCode") + "") && J(
|
|
273
|
+
s[21]("invalidBonusCode") + "") && J(i, o);
|
|
272
274
|
},
|
|
273
275
|
d(s) {
|
|
274
|
-
s &&
|
|
276
|
+
s && D(e);
|
|
275
277
|
}
|
|
276
278
|
};
|
|
277
279
|
}
|
|
278
|
-
function
|
|
279
|
-
let e, o,
|
|
280
|
+
function gn(n) {
|
|
281
|
+
let e, o, i;
|
|
280
282
|
function s(u, g) {
|
|
281
283
|
return (
|
|
282
284
|
/*activeBonusesList*/
|
|
283
|
-
u[19].length === 0 ?
|
|
285
|
+
u[19].length === 0 ? vn : _n
|
|
284
286
|
);
|
|
285
287
|
}
|
|
286
|
-
let
|
|
288
|
+
let a = s(n), l = a(n), d = (
|
|
287
289
|
/*activeBonusesList*/
|
|
288
|
-
n[19].length !== 0 &&
|
|
290
|
+
n[19].length !== 0 && Ae(n)
|
|
289
291
|
);
|
|
290
292
|
return {
|
|
291
293
|
c() {
|
|
292
|
-
e =
|
|
294
|
+
e = W("div"), l.c(), o = z(), d && d.c(), i = de(), _(e, "class", "ActiveBonusesGrid " + /*isMobile*/
|
|
293
295
|
(n[22] ? "ActiveBonusesGridMobile" : ""));
|
|
294
296
|
},
|
|
295
297
|
m(u, g) {
|
|
296
|
-
|
|
298
|
+
j(u, e, g), l.m(e, null), j(u, o, g), d && d.m(u, g), j(u, i, g);
|
|
297
299
|
},
|
|
298
300
|
p(u, g) {
|
|
299
|
-
|
|
300
|
-
u[19].length !== 0 ?
|
|
301
|
+
a === (a = s(u)) && l ? l.p(u, g) : (l.d(1), l = a(u), l && (l.c(), l.m(e, null))), /*activeBonusesList*/
|
|
302
|
+
u[19].length !== 0 ? d ? d.p(u, g) : (d = Ae(u), d.c(), d.m(i.parentNode, i)) : d && (d.d(1), d = null);
|
|
301
303
|
},
|
|
302
304
|
d(u) {
|
|
303
|
-
u && (
|
|
305
|
+
u && (D(e), D(o), D(i)), l.d(), d && d.d(u);
|
|
304
306
|
}
|
|
305
307
|
};
|
|
306
308
|
}
|
|
307
|
-
function
|
|
309
|
+
function Bn(n) {
|
|
308
310
|
let e;
|
|
309
311
|
return {
|
|
310
312
|
c() {
|
|
311
|
-
e =
|
|
313
|
+
e = W("div"), _(e, "class", "ModalLoader"), _(e, "part", "ModalLoader");
|
|
312
314
|
},
|
|
313
|
-
m(o,
|
|
314
|
-
|
|
315
|
+
m(o, i) {
|
|
316
|
+
j(o, e, i);
|
|
315
317
|
},
|
|
316
318
|
p: le,
|
|
317
319
|
d(o) {
|
|
318
|
-
o &&
|
|
320
|
+
o && D(e);
|
|
319
321
|
}
|
|
320
322
|
};
|
|
321
323
|
}
|
|
322
|
-
function
|
|
324
|
+
function _n(n) {
|
|
323
325
|
let e, o = se(
|
|
324
326
|
/*activeBonusesList*/
|
|
325
327
|
n[19]
|
|
326
|
-
),
|
|
328
|
+
), i = [];
|
|
327
329
|
for (let s = 0; s < o.length; s += 1)
|
|
328
|
-
|
|
330
|
+
i[s] = We(we(n, o, s));
|
|
329
331
|
return {
|
|
330
332
|
c() {
|
|
331
|
-
for (let s = 0; s <
|
|
332
|
-
|
|
333
|
+
for (let s = 0; s < i.length; s += 1)
|
|
334
|
+
i[s].c();
|
|
333
335
|
e = de();
|
|
334
336
|
},
|
|
335
|
-
m(s,
|
|
336
|
-
for (let
|
|
337
|
-
|
|
338
|
-
|
|
337
|
+
m(s, a) {
|
|
338
|
+
for (let l = 0; l < i.length; l += 1)
|
|
339
|
+
i[l] && i[l].m(s, a);
|
|
340
|
+
j(s, e, a);
|
|
339
341
|
},
|
|
340
|
-
p(s,
|
|
341
|
-
if (
|
|
342
|
+
p(s, a) {
|
|
343
|
+
if (a[0] & /*activeBonusesList, lang, dateformat, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale, ishiddenwageringbonus, filterbonusbalance*/
|
|
342
344
|
524799) {
|
|
343
345
|
o = se(
|
|
344
346
|
/*activeBonusesList*/
|
|
345
347
|
s[19]
|
|
346
348
|
);
|
|
347
|
-
let
|
|
348
|
-
for (
|
|
349
|
-
const
|
|
350
|
-
|
|
349
|
+
let l;
|
|
350
|
+
for (l = 0; l < o.length; l += 1) {
|
|
351
|
+
const d = we(s, o, l);
|
|
352
|
+
i[l] ? i[l].p(d, a) : (i[l] = We(d), i[l].c(), i[l].m(e.parentNode, e));
|
|
351
353
|
}
|
|
352
|
-
for (;
|
|
353
|
-
|
|
354
|
-
|
|
354
|
+
for (; l < i.length; l += 1)
|
|
355
|
+
i[l].d(1);
|
|
356
|
+
i.length = o.length;
|
|
355
357
|
}
|
|
356
358
|
},
|
|
357
359
|
d(s) {
|
|
358
|
-
s &&
|
|
360
|
+
s && D(e), Se(i, s);
|
|
359
361
|
}
|
|
360
362
|
};
|
|
361
363
|
}
|
|
362
|
-
function
|
|
364
|
+
function vn(n) {
|
|
363
365
|
let e, o = (
|
|
364
366
|
/*$_*/
|
|
365
367
|
n[21]("noActiveBonuses") + ""
|
|
366
|
-
),
|
|
368
|
+
), i;
|
|
367
369
|
return {
|
|
368
370
|
c() {
|
|
369
|
-
e =
|
|
371
|
+
e = W("p"), i = O(o);
|
|
370
372
|
},
|
|
371
|
-
m(s,
|
|
372
|
-
|
|
373
|
+
m(s, a) {
|
|
374
|
+
j(s, e, a), p(e, i);
|
|
373
375
|
},
|
|
374
|
-
p(s,
|
|
375
|
-
|
|
376
|
+
p(s, a) {
|
|
377
|
+
a[0] & /*$_*/
|
|
376
378
|
2097152 && o !== (o = /*$_*/
|
|
377
|
-
s[21]("noActiveBonuses") + "") && J(
|
|
379
|
+
s[21]("noActiveBonuses") + "") && J(i, o);
|
|
378
380
|
},
|
|
379
381
|
d(s) {
|
|
380
|
-
s &&
|
|
382
|
+
s && D(e);
|
|
381
383
|
}
|
|
382
384
|
};
|
|
383
385
|
}
|
|
384
|
-
function
|
|
385
|
-
let e, o,
|
|
386
|
+
function yn(n) {
|
|
387
|
+
let e, o, i, s, a, l, d, u, g, y, M, A, v, h, w, C, f, c;
|
|
386
388
|
return {
|
|
387
389
|
c() {
|
|
388
|
-
e =
|
|
389
|
-
n[
|
|
390
|
-
n[
|
|
391
|
-
n[
|
|
392
|
-
n[
|
|
393
|
-
n[
|
|
394
|
-
n[
|
|
395
|
-
n[
|
|
396
|
-
n[
|
|
397
|
-
n[
|
|
398
|
-
n[
|
|
399
|
-
n[
|
|
400
|
-
n[
|
|
401
|
-
n[
|
|
402
|
-
n[
|
|
403
|
-
n[
|
|
404
|
-
n[
|
|
405
|
-
n[
|
|
390
|
+
e = W("player-bonus-card"), t(e, "termsandconditionsdescription", o = /*activeBonus*/
|
|
391
|
+
n[60].termsandconditionsdescription), t(e, "termsandconditionsurl", i = /*activeBonus*/
|
|
392
|
+
n[60].termsandconditionsurl), t(e, "termsandconditionsasset", s = /*activeBonus*/
|
|
393
|
+
n[60].termsandconditionsasset), t(e, "endpoint", a = /*activeBonus*/
|
|
394
|
+
n[60].endpoint), t(e, "playerid", l = /*activeBonus*/
|
|
395
|
+
n[60].playerid), t(e, "session", d = /*activeBonus*/
|
|
396
|
+
n[60].session), t(e, "bonuswalletid", u = /*activeBonus*/
|
|
397
|
+
n[60].walletId), t(e, "bonusdate", g = /*activeBonus*/
|
|
398
|
+
n[60].granted), t(e, "bonusexpirationdate", y = /*activeBonus*/
|
|
399
|
+
n[60].expiryTime), t(e, "bonusstatus", M = /*activeBonus*/
|
|
400
|
+
n[60].status), t(e, "bonusname", A = /*activeBonus*/
|
|
401
|
+
n[60].name), t(e, "bonustype", v = /*activeBonus*/
|
|
402
|
+
n[60].type), t(e, "bonusamount", h = /*activeBonus*/
|
|
403
|
+
n[60].extension.grantedPlayerCurrencyAmount), t(e, "bonuswageringamount", w = `${/*activeBonus*/
|
|
404
|
+
n[60].fulfilledWR} / ${/*activeBonus*/
|
|
405
|
+
n[60].originalWageringRequirement}`), t(e, "bonusremainingamount", C = /*activeBonus*/
|
|
406
|
+
n[60].currentAmount), t(e, "bonuscurrency", f = /*activeBonus*/
|
|
407
|
+
n[60].currency), t(e, "isWinBonus", c = /*activeBonus*/
|
|
408
|
+
n[60].isWinBonus), t(
|
|
406
409
|
e,
|
|
407
410
|
"lang",
|
|
408
411
|
/*lang*/
|
|
409
412
|
n[0]
|
|
410
|
-
),
|
|
413
|
+
), t(
|
|
411
414
|
e,
|
|
412
415
|
"dateformat",
|
|
413
416
|
/*dateformat*/
|
|
414
417
|
n[6]
|
|
415
|
-
),
|
|
418
|
+
), t(
|
|
416
419
|
e,
|
|
417
420
|
"clientstyling",
|
|
418
421
|
/*clientstyling*/
|
|
419
422
|
n[1]
|
|
420
|
-
),
|
|
423
|
+
), t(
|
|
421
424
|
e,
|
|
422
425
|
"clientstylingurl",
|
|
423
426
|
/*clientstylingurl*/
|
|
424
427
|
n[2]
|
|
425
|
-
),
|
|
428
|
+
), t(
|
|
426
429
|
e,
|
|
427
430
|
"mbsource",
|
|
428
431
|
/*mbsource*/
|
|
429
432
|
n[3]
|
|
430
|
-
),
|
|
433
|
+
), t(
|
|
431
434
|
e,
|
|
432
435
|
"translationurl",
|
|
433
436
|
/*translationurl*/
|
|
434
437
|
n[4]
|
|
435
|
-
),
|
|
438
|
+
), t(
|
|
436
439
|
e,
|
|
437
440
|
"currencylocale",
|
|
438
441
|
/*currencylocale*/
|
|
439
442
|
n[5]
|
|
440
|
-
),
|
|
443
|
+
), t(
|
|
441
444
|
e,
|
|
442
445
|
"ishiddenwageringbonus",
|
|
443
446
|
/*ishiddenwageringbonus*/
|
|
444
447
|
n[7]
|
|
445
|
-
),
|
|
448
|
+
), t(
|
|
446
449
|
e,
|
|
447
450
|
"filterbonusbalance",
|
|
448
451
|
/*filterbonusbalance*/
|
|
449
452
|
n[8]
|
|
450
453
|
);
|
|
451
454
|
},
|
|
452
|
-
m(
|
|
453
|
-
|
|
455
|
+
m(b, B) {
|
|
456
|
+
j(b, e, B);
|
|
454
457
|
},
|
|
455
|
-
p(
|
|
458
|
+
p(b, B) {
|
|
456
459
|
B[0] & /*activeBonusesList*/
|
|
457
460
|
524288 && o !== (o = /*activeBonus*/
|
|
458
|
-
|
|
459
|
-
524288 && t !== (t = /*activeBonus*/
|
|
460
|
-
p[59].termsandconditionsurl) && a(e, "termsandconditionsurl", t), B[0] & /*activeBonusesList*/
|
|
461
|
-
524288 && s !== (s = /*activeBonus*/
|
|
462
|
-
p[59].termsandconditionsasset) && a(e, "termsandconditionsasset", s), B[0] & /*activeBonusesList*/
|
|
461
|
+
b[60].termsandconditionsdescription) && t(e, "termsandconditionsdescription", o), B[0] & /*activeBonusesList*/
|
|
463
462
|
524288 && i !== (i = /*activeBonus*/
|
|
464
|
-
|
|
465
|
-
524288 &&
|
|
466
|
-
|
|
467
|
-
524288 &&
|
|
468
|
-
|
|
463
|
+
b[60].termsandconditionsurl) && t(e, "termsandconditionsurl", i), B[0] & /*activeBonusesList*/
|
|
464
|
+
524288 && s !== (s = /*activeBonus*/
|
|
465
|
+
b[60].termsandconditionsasset) && t(e, "termsandconditionsasset", s), B[0] & /*activeBonusesList*/
|
|
466
|
+
524288 && a !== (a = /*activeBonus*/
|
|
467
|
+
b[60].endpoint) && t(e, "endpoint", a), B[0] & /*activeBonusesList*/
|
|
468
|
+
524288 && l !== (l = /*activeBonus*/
|
|
469
|
+
b[60].playerid) && t(e, "playerid", l), B[0] & /*activeBonusesList*/
|
|
470
|
+
524288 && d !== (d = /*activeBonus*/
|
|
471
|
+
b[60].session) && t(e, "session", d), B[0] & /*activeBonusesList*/
|
|
469
472
|
524288 && u !== (u = /*activeBonus*/
|
|
470
|
-
|
|
473
|
+
b[60].walletId) && t(e, "bonuswalletid", u), B[0] & /*activeBonusesList*/
|
|
471
474
|
524288 && g !== (g = /*activeBonus*/
|
|
472
|
-
|
|
475
|
+
b[60].granted) && t(e, "bonusdate", g), B[0] & /*activeBonusesList*/
|
|
473
476
|
524288 && y !== (y = /*activeBonus*/
|
|
474
|
-
|
|
475
|
-
524288 &&
|
|
476
|
-
|
|
477
|
+
b[60].expiryTime) && t(e, "bonusexpirationdate", y), B[0] & /*activeBonusesList*/
|
|
478
|
+
524288 && M !== (M = /*activeBonus*/
|
|
479
|
+
b[60].status) && t(e, "bonusstatus", M), B[0] & /*activeBonusesList*/
|
|
477
480
|
524288 && A !== (A = /*activeBonus*/
|
|
478
|
-
|
|
479
|
-
524288 &&
|
|
480
|
-
|
|
481
|
+
b[60].name) && t(e, "bonusname", A), B[0] & /*activeBonusesList*/
|
|
482
|
+
524288 && v !== (v = /*activeBonus*/
|
|
483
|
+
b[60].type) && t(e, "bonustype", v), B[0] & /*activeBonusesList*/
|
|
481
484
|
524288 && h !== (h = /*activeBonus*/
|
|
482
|
-
|
|
483
|
-
524288 &&
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
524288 &&
|
|
487
|
-
|
|
488
|
-
524288 &&
|
|
489
|
-
|
|
490
|
-
|
|
485
|
+
b[60].extension.grantedPlayerCurrencyAmount) && t(e, "bonusamount", h), B[0] & /*activeBonusesList*/
|
|
486
|
+
524288 && w !== (w = `${/*activeBonus*/
|
|
487
|
+
b[60].fulfilledWR} / ${/*activeBonus*/
|
|
488
|
+
b[60].originalWageringRequirement}`) && t(e, "bonuswageringamount", w), B[0] & /*activeBonusesList*/
|
|
489
|
+
524288 && C !== (C = /*activeBonus*/
|
|
490
|
+
b[60].currentAmount) && t(e, "bonusremainingamount", C), B[0] & /*activeBonusesList*/
|
|
491
|
+
524288 && f !== (f = /*activeBonus*/
|
|
492
|
+
b[60].currency) && t(e, "bonuscurrency", f), B[0] & /*activeBonusesList*/
|
|
493
|
+
524288 && c !== (c = /*activeBonus*/
|
|
494
|
+
b[60].isWinBonus) && t(e, "isWinBonus", c), B[0] & /*lang*/
|
|
495
|
+
1 && t(
|
|
491
496
|
e,
|
|
492
497
|
"lang",
|
|
493
498
|
/*lang*/
|
|
494
|
-
|
|
499
|
+
b[0]
|
|
495
500
|
), B[0] & /*dateformat*/
|
|
496
|
-
64 &&
|
|
501
|
+
64 && t(
|
|
497
502
|
e,
|
|
498
503
|
"dateformat",
|
|
499
504
|
/*dateformat*/
|
|
500
|
-
|
|
505
|
+
b[6]
|
|
501
506
|
), B[0] & /*clientstyling*/
|
|
502
|
-
2 &&
|
|
507
|
+
2 && t(
|
|
503
508
|
e,
|
|
504
509
|
"clientstyling",
|
|
505
510
|
/*clientstyling*/
|
|
506
|
-
|
|
511
|
+
b[1]
|
|
507
512
|
), B[0] & /*clientstylingurl*/
|
|
508
|
-
4 &&
|
|
513
|
+
4 && t(
|
|
509
514
|
e,
|
|
510
515
|
"clientstylingurl",
|
|
511
516
|
/*clientstylingurl*/
|
|
512
|
-
|
|
517
|
+
b[2]
|
|
513
518
|
), B[0] & /*mbsource*/
|
|
514
|
-
8 &&
|
|
519
|
+
8 && t(
|
|
515
520
|
e,
|
|
516
521
|
"mbsource",
|
|
517
522
|
/*mbsource*/
|
|
518
|
-
|
|
523
|
+
b[3]
|
|
519
524
|
), B[0] & /*translationurl*/
|
|
520
|
-
16 &&
|
|
525
|
+
16 && t(
|
|
521
526
|
e,
|
|
522
527
|
"translationurl",
|
|
523
528
|
/*translationurl*/
|
|
524
|
-
|
|
529
|
+
b[4]
|
|
525
530
|
), B[0] & /*currencylocale*/
|
|
526
|
-
32 &&
|
|
531
|
+
32 && t(
|
|
527
532
|
e,
|
|
528
533
|
"currencylocale",
|
|
529
534
|
/*currencylocale*/
|
|
530
|
-
|
|
535
|
+
b[5]
|
|
531
536
|
), B[0] & /*ishiddenwageringbonus*/
|
|
532
|
-
128 &&
|
|
537
|
+
128 && t(
|
|
533
538
|
e,
|
|
534
539
|
"ishiddenwageringbonus",
|
|
535
540
|
/*ishiddenwageringbonus*/
|
|
536
|
-
|
|
541
|
+
b[7]
|
|
537
542
|
), B[0] & /*filterbonusbalance*/
|
|
538
|
-
256 &&
|
|
543
|
+
256 && t(
|
|
539
544
|
e,
|
|
540
545
|
"filterbonusbalance",
|
|
541
546
|
/*filterbonusbalance*/
|
|
542
|
-
|
|
547
|
+
b[8]
|
|
543
548
|
);
|
|
544
549
|
},
|
|
545
|
-
d(
|
|
546
|
-
|
|
550
|
+
d(b) {
|
|
551
|
+
b && D(e);
|
|
547
552
|
}
|
|
548
553
|
};
|
|
549
554
|
}
|
|
550
|
-
function
|
|
551
|
-
let e, o,
|
|
555
|
+
function hn(n) {
|
|
556
|
+
let e, o, i, s, a, l, d, u, g, y, M, A, v, h, w, C;
|
|
552
557
|
return {
|
|
553
558
|
c() {
|
|
554
|
-
e =
|
|
555
|
-
n[
|
|
556
|
-
n[
|
|
557
|
-
n[
|
|
558
|
-
n[
|
|
559
|
-
n[
|
|
560
|
-
n[
|
|
561
|
-
n[
|
|
562
|
-
n[
|
|
563
|
-
n[
|
|
564
|
-
n[
|
|
565
|
-
n[
|
|
566
|
-
n[
|
|
567
|
-
n[
|
|
568
|
-
n[
|
|
559
|
+
e = W("player-bonus-card"), t(e, "termsandconditionsdescription", o = /*activeBonus*/
|
|
560
|
+
n[60].termsandconditionsdescription), t(e, "termsandconditionsurl", i = /*activeBonus*/
|
|
561
|
+
n[60].termsandconditionsurl), t(e, "termsandconditionsasset", s = /*activeBonus*/
|
|
562
|
+
n[60].termsandconditionsasset), t(e, "endpoint", a = /*activeBonus*/
|
|
563
|
+
n[60].endpoint), t(e, "playerid", l = /*activeBonus*/
|
|
564
|
+
n[60].playerid), t(e, "session", d = /*activeBonus*/
|
|
565
|
+
n[60].session), t(e, "bonuswalletid", u = /*activeBonus*/
|
|
566
|
+
n[60].walletId), t(e, "bonusdate", g = /*activeBonus*/
|
|
567
|
+
n[60].granted), t(e, "bonusexpirationdate", y = /*activeBonus*/
|
|
568
|
+
n[60].expiryTime), t(e, "bonusstatus", M = /*activeBonus*/
|
|
569
|
+
n[60].status), t(e, "bonusname", A = /*activeBonus*/
|
|
570
|
+
n[60].name), t(e, "bonustype", v = /*activeBonus*/
|
|
571
|
+
n[60].type), t(e, "bonuscurrency", h = /*activeBonus*/
|
|
572
|
+
n[60].currency), t(e, "bonusfreespins", w = /*activeBonus*/
|
|
573
|
+
n[60].freeRoundNumber), t(e, "isWinBonus", C = /*activeBonus*/
|
|
574
|
+
n[60].isWinBonus), t(
|
|
569
575
|
e,
|
|
570
576
|
"lang",
|
|
571
577
|
/*lang*/
|
|
572
578
|
n[0]
|
|
573
|
-
),
|
|
579
|
+
), t(
|
|
574
580
|
e,
|
|
575
581
|
"dateformat",
|
|
576
582
|
/*dateformat*/
|
|
577
583
|
n[6]
|
|
578
|
-
),
|
|
584
|
+
), t(
|
|
579
585
|
e,
|
|
580
586
|
"clientstyling",
|
|
581
587
|
/*clientstyling*/
|
|
582
588
|
n[1]
|
|
583
|
-
),
|
|
589
|
+
), t(
|
|
584
590
|
e,
|
|
585
591
|
"clientstylingurl",
|
|
586
592
|
/*clientstylingurl*/
|
|
587
593
|
n[2]
|
|
588
|
-
),
|
|
594
|
+
), t(
|
|
589
595
|
e,
|
|
590
596
|
"mbsource",
|
|
591
597
|
/*mbsource*/
|
|
592
598
|
n[3]
|
|
593
|
-
),
|
|
599
|
+
), t(
|
|
594
600
|
e,
|
|
595
601
|
"translationurl",
|
|
596
602
|
/*translationurl*/
|
|
597
603
|
n[4]
|
|
598
|
-
),
|
|
604
|
+
), t(
|
|
599
605
|
e,
|
|
600
606
|
"currencylocale",
|
|
601
607
|
/*currencylocale*/
|
|
602
608
|
n[5]
|
|
603
|
-
),
|
|
609
|
+
), t(
|
|
604
610
|
e,
|
|
605
611
|
"ishiddenwageringbonus",
|
|
606
612
|
/*ishiddenwageringbonus*/
|
|
607
613
|
n[7]
|
|
608
|
-
),
|
|
614
|
+
), t(
|
|
609
615
|
e,
|
|
610
616
|
"filterbonusbalance",
|
|
611
617
|
/*filterbonusbalance*/
|
|
612
618
|
n[8]
|
|
613
619
|
);
|
|
614
620
|
},
|
|
615
|
-
m(
|
|
616
|
-
|
|
621
|
+
m(f, c) {
|
|
622
|
+
j(f, e, c);
|
|
617
623
|
},
|
|
618
|
-
p(
|
|
619
|
-
|
|
624
|
+
p(f, c) {
|
|
625
|
+
c[0] & /*activeBonusesList*/
|
|
620
626
|
524288 && o !== (o = /*activeBonus*/
|
|
621
|
-
|
|
622
|
-
524288 && t !== (t = /*activeBonus*/
|
|
623
|
-
d[59].termsandconditionsurl) && a(e, "termsandconditionsurl", t), b[0] & /*activeBonusesList*/
|
|
624
|
-
524288 && s !== (s = /*activeBonus*/
|
|
625
|
-
d[59].termsandconditionsasset) && a(e, "termsandconditionsasset", s), b[0] & /*activeBonusesList*/
|
|
627
|
+
f[60].termsandconditionsdescription) && t(e, "termsandconditionsdescription", o), c[0] & /*activeBonusesList*/
|
|
626
628
|
524288 && i !== (i = /*activeBonus*/
|
|
627
|
-
|
|
628
|
-
524288 &&
|
|
629
|
-
|
|
630
|
-
524288 &&
|
|
631
|
-
|
|
629
|
+
f[60].termsandconditionsurl) && t(e, "termsandconditionsurl", i), c[0] & /*activeBonusesList*/
|
|
630
|
+
524288 && s !== (s = /*activeBonus*/
|
|
631
|
+
f[60].termsandconditionsasset) && t(e, "termsandconditionsasset", s), c[0] & /*activeBonusesList*/
|
|
632
|
+
524288 && a !== (a = /*activeBonus*/
|
|
633
|
+
f[60].endpoint) && t(e, "endpoint", a), c[0] & /*activeBonusesList*/
|
|
634
|
+
524288 && l !== (l = /*activeBonus*/
|
|
635
|
+
f[60].playerid) && t(e, "playerid", l), c[0] & /*activeBonusesList*/
|
|
636
|
+
524288 && d !== (d = /*activeBonus*/
|
|
637
|
+
f[60].session) && t(e, "session", d), c[0] & /*activeBonusesList*/
|
|
632
638
|
524288 && u !== (u = /*activeBonus*/
|
|
633
|
-
|
|
639
|
+
f[60].walletId) && t(e, "bonuswalletid", u), c[0] & /*activeBonusesList*/
|
|
634
640
|
524288 && g !== (g = /*activeBonus*/
|
|
635
|
-
|
|
641
|
+
f[60].granted) && t(e, "bonusdate", g), c[0] & /*activeBonusesList*/
|
|
636
642
|
524288 && y !== (y = /*activeBonus*/
|
|
637
|
-
|
|
638
|
-
524288 &&
|
|
639
|
-
|
|
643
|
+
f[60].expiryTime) && t(e, "bonusexpirationdate", y), c[0] & /*activeBonusesList*/
|
|
644
|
+
524288 && M !== (M = /*activeBonus*/
|
|
645
|
+
f[60].status) && t(e, "bonusstatus", M), c[0] & /*activeBonusesList*/
|
|
640
646
|
524288 && A !== (A = /*activeBonus*/
|
|
641
|
-
|
|
642
|
-
524288 &&
|
|
643
|
-
|
|
647
|
+
f[60].name) && t(e, "bonusname", A), c[0] & /*activeBonusesList*/
|
|
648
|
+
524288 && v !== (v = /*activeBonus*/
|
|
649
|
+
f[60].type) && t(e, "bonustype", v), c[0] & /*activeBonusesList*/
|
|
644
650
|
524288 && h !== (h = /*activeBonus*/
|
|
645
|
-
|
|
651
|
+
f[60].currency) && t(e, "bonuscurrency", h), c[0] & /*activeBonusesList*/
|
|
652
|
+
524288 && w !== (w = /*activeBonus*/
|
|
653
|
+
f[60].freeRoundNumber) && t(e, "bonusfreespins", w), c[0] & /*activeBonusesList*/
|
|
646
654
|
524288 && C !== (C = /*activeBonus*/
|
|
647
|
-
|
|
648
|
-
1 &&
|
|
655
|
+
f[60].isWinBonus) && t(e, "isWinBonus", C), c[0] & /*lang*/
|
|
656
|
+
1 && t(
|
|
649
657
|
e,
|
|
650
658
|
"lang",
|
|
651
659
|
/*lang*/
|
|
652
|
-
|
|
653
|
-
),
|
|
654
|
-
64 &&
|
|
660
|
+
f[0]
|
|
661
|
+
), c[0] & /*dateformat*/
|
|
662
|
+
64 && t(
|
|
655
663
|
e,
|
|
656
664
|
"dateformat",
|
|
657
665
|
/*dateformat*/
|
|
658
|
-
|
|
659
|
-
),
|
|
660
|
-
2 &&
|
|
666
|
+
f[6]
|
|
667
|
+
), c[0] & /*clientstyling*/
|
|
668
|
+
2 && t(
|
|
661
669
|
e,
|
|
662
670
|
"clientstyling",
|
|
663
671
|
/*clientstyling*/
|
|
664
|
-
|
|
665
|
-
),
|
|
666
|
-
4 &&
|
|
672
|
+
f[1]
|
|
673
|
+
), c[0] & /*clientstylingurl*/
|
|
674
|
+
4 && t(
|
|
667
675
|
e,
|
|
668
676
|
"clientstylingurl",
|
|
669
677
|
/*clientstylingurl*/
|
|
670
|
-
|
|
671
|
-
),
|
|
672
|
-
8 &&
|
|
678
|
+
f[2]
|
|
679
|
+
), c[0] & /*mbsource*/
|
|
680
|
+
8 && t(
|
|
673
681
|
e,
|
|
674
682
|
"mbsource",
|
|
675
683
|
/*mbsource*/
|
|
676
|
-
|
|
677
|
-
),
|
|
678
|
-
16 &&
|
|
684
|
+
f[3]
|
|
685
|
+
), c[0] & /*translationurl*/
|
|
686
|
+
16 && t(
|
|
679
687
|
e,
|
|
680
688
|
"translationurl",
|
|
681
689
|
/*translationurl*/
|
|
682
|
-
|
|
683
|
-
),
|
|
684
|
-
32 &&
|
|
690
|
+
f[4]
|
|
691
|
+
), c[0] & /*currencylocale*/
|
|
692
|
+
32 && t(
|
|
685
693
|
e,
|
|
686
694
|
"currencylocale",
|
|
687
695
|
/*currencylocale*/
|
|
688
|
-
|
|
689
|
-
),
|
|
690
|
-
128 &&
|
|
696
|
+
f[5]
|
|
697
|
+
), c[0] & /*ishiddenwageringbonus*/
|
|
698
|
+
128 && t(
|
|
691
699
|
e,
|
|
692
700
|
"ishiddenwageringbonus",
|
|
693
701
|
/*ishiddenwageringbonus*/
|
|
694
|
-
|
|
695
|
-
),
|
|
696
|
-
256 &&
|
|
702
|
+
f[7]
|
|
703
|
+
), c[0] & /*filterbonusbalance*/
|
|
704
|
+
256 && t(
|
|
697
705
|
e,
|
|
698
706
|
"filterbonusbalance",
|
|
699
707
|
/*filterbonusbalance*/
|
|
700
|
-
|
|
708
|
+
f[8]
|
|
701
709
|
);
|
|
702
710
|
},
|
|
703
|
-
d(
|
|
704
|
-
|
|
711
|
+
d(f) {
|
|
712
|
+
f && D(e);
|
|
705
713
|
}
|
|
706
714
|
};
|
|
707
715
|
}
|
|
708
|
-
function
|
|
716
|
+
function We(n) {
|
|
709
717
|
let e;
|
|
710
|
-
function o(
|
|
718
|
+
function o(a, l) {
|
|
711
719
|
return (
|
|
712
720
|
/*activeBonus*/
|
|
713
|
-
|
|
721
|
+
a[60].type === "freeRound" ? hn : yn
|
|
714
722
|
);
|
|
715
723
|
}
|
|
716
|
-
let
|
|
724
|
+
let i = o(n), s = i(n);
|
|
717
725
|
return {
|
|
718
726
|
c() {
|
|
719
727
|
s.c(), e = de();
|
|
720
728
|
},
|
|
721
|
-
m(
|
|
722
|
-
s.m(
|
|
729
|
+
m(a, l) {
|
|
730
|
+
s.m(a, l), j(a, e, l);
|
|
723
731
|
},
|
|
724
|
-
p(
|
|
725
|
-
|
|
732
|
+
p(a, l) {
|
|
733
|
+
i === (i = o(a)) && s ? s.p(a, l) : (s.d(1), s = i(a), s && (s.c(), s.m(e.parentNode, e)));
|
|
726
734
|
},
|
|
727
|
-
d(
|
|
728
|
-
|
|
735
|
+
d(a) {
|
|
736
|
+
a && D(e), s.d(a);
|
|
729
737
|
}
|
|
730
738
|
};
|
|
731
739
|
}
|
|
732
|
-
function
|
|
733
|
-
let e, o,
|
|
740
|
+
function Ae(n) {
|
|
741
|
+
let e, o, i, s, a, l, d, u, g, y, M, A, v, h, w, C, f, c, b, B, Y, K, X, U = se(Array(
|
|
734
742
|
/*numberOfPages*/
|
|
735
743
|
n[17]
|
|
736
744
|
)), k = [];
|
|
737
745
|
for (let m = 0; m < U.length; m += 1)
|
|
738
|
-
k[m] =
|
|
746
|
+
k[m] = ke(Ce(n, U, m));
|
|
739
747
|
return {
|
|
740
748
|
c() {
|
|
741
|
-
e =
|
|
749
|
+
e = W("div"), o = W("button"), i = O("|<"), l = z(), d = W("button"), u = O("<"), M = z();
|
|
742
750
|
for (let m = 0; m < k.length; m += 1)
|
|
743
751
|
k[m].c();
|
|
744
|
-
A =
|
|
745
|
-
n[18] === 0,
|
|
746
|
-
(n[18] === 0 ? "Inactive" : "")),
|
|
747
|
-
n[18] === 0,
|
|
748
|
-
(n[18] === 0 ? "Inactive" : "")),
|
|
752
|
+
A = z(), v = W("button"), h = O(">"), f = z(), c = W("button"), b = O(">|"), o.disabled = s = /*currentPage*/
|
|
753
|
+
n[18] === 0, _(o, "class", a = "BonusesFirst " + /*currentPage*/
|
|
754
|
+
(n[18] === 0 ? "Inactive" : "")), d.disabled = g = /*currentPage*/
|
|
755
|
+
n[18] === 0, _(d, "class", y = "BonusesPrev " + /*currentPage*/
|
|
756
|
+
(n[18] === 0 ? "Inactive" : "")), v.disabled = w = /*currentPage*/
|
|
749
757
|
n[18] === /*numberOfPages*/
|
|
750
|
-
n[17] - 1, v
|
|
758
|
+
n[17] - 1, _(v, "class", C = "BonusesNext " + /*currentPage*/
|
|
751
759
|
(n[18] === /*numberOfPages*/
|
|
752
|
-
n[17] - 1 ? "Inactive" : "")),
|
|
760
|
+
n[17] - 1 ? "Inactive" : "")), c.disabled = B = /*currentPage*/
|
|
753
761
|
n[18] === /*numberOfPages*/
|
|
754
|
-
n[17] - 1,
|
|
762
|
+
n[17] - 1, _(c, "class", Y = "BonusesLast " + /*currentPage*/
|
|
755
763
|
(n[18] === /*numberOfPages*/
|
|
756
|
-
n[17] - 1 ? "Inactive" : "")),
|
|
764
|
+
n[17] - 1 ? "Inactive" : "")), _(e, "class", "BonusesPaginationWrapper " + /*isMobile*/
|
|
757
765
|
(n[22] ? "BonusesPaginationWrapperMobile" : ""));
|
|
758
766
|
},
|
|
759
|
-
m(m,
|
|
760
|
-
|
|
761
|
-
for (let
|
|
762
|
-
k[
|
|
763
|
-
|
|
767
|
+
m(m, T) {
|
|
768
|
+
j(m, e, T), p(e, o), p(o, i), p(e, l), p(e, d), p(d, u), p(e, M);
|
|
769
|
+
for (let S = 0; S < k.length; S += 1)
|
|
770
|
+
k[S] && k[S].m(e, null);
|
|
771
|
+
p(e, A), p(e, v), p(v, h), p(e, f), p(e, c), p(c, b), K || (X = [
|
|
764
772
|
G(
|
|
765
773
|
o,
|
|
766
774
|
"click",
|
|
@@ -768,125 +776,125 @@ function ke(n) {
|
|
|
768
776
|
n[38]
|
|
769
777
|
),
|
|
770
778
|
G(
|
|
771
|
-
|
|
779
|
+
d,
|
|
772
780
|
"click",
|
|
773
781
|
/*click_handler_2*/
|
|
774
782
|
n[39]
|
|
775
783
|
),
|
|
776
784
|
G(
|
|
777
|
-
|
|
785
|
+
v,
|
|
778
786
|
"click",
|
|
779
787
|
/*click_handler_4*/
|
|
780
788
|
n[41]
|
|
781
789
|
),
|
|
782
790
|
G(
|
|
783
|
-
|
|
791
|
+
c,
|
|
784
792
|
"click",
|
|
785
793
|
/*click_handler_5*/
|
|
786
794
|
n[42]
|
|
787
795
|
)
|
|
788
796
|
], K = !0);
|
|
789
797
|
},
|
|
790
|
-
p(m,
|
|
791
|
-
if (
|
|
798
|
+
p(m, T) {
|
|
799
|
+
if (T[0] & /*currentPage*/
|
|
792
800
|
262144 && s !== (s = /*currentPage*/
|
|
793
|
-
m[18] === 0) && (o.disabled = s),
|
|
794
|
-
262144 &&
|
|
795
|
-
(m[18] === 0 ? "Inactive" : "")) &&
|
|
801
|
+
m[18] === 0) && (o.disabled = s), T[0] & /*currentPage*/
|
|
802
|
+
262144 && a !== (a = "BonusesFirst " + /*currentPage*/
|
|
803
|
+
(m[18] === 0 ? "Inactive" : "")) && _(o, "class", a), T[0] & /*currentPage*/
|
|
796
804
|
262144 && g !== (g = /*currentPage*/
|
|
797
|
-
m[18] === 0) && (
|
|
805
|
+
m[18] === 0) && (d.disabled = g), T[0] & /*currentPage*/
|
|
798
806
|
262144 && y !== (y = "BonusesPrev " + /*currentPage*/
|
|
799
|
-
(m[18] === 0 ? "Inactive" : "")) &&
|
|
807
|
+
(m[18] === 0 ? "Inactive" : "")) && _(d, "class", y), T[0] & /*currentPage, getActiveBonuses, numberOfPages*/
|
|
800
808
|
33947648) {
|
|
801
809
|
U = se(Array(
|
|
802
810
|
/*numberOfPages*/
|
|
803
811
|
m[17]
|
|
804
812
|
));
|
|
805
|
-
let
|
|
806
|
-
for (
|
|
807
|
-
const F = Ce(m, U,
|
|
808
|
-
k[
|
|
813
|
+
let S;
|
|
814
|
+
for (S = 0; S < U.length; S += 1) {
|
|
815
|
+
const F = Ce(m, U, S);
|
|
816
|
+
k[S] ? k[S].p(F, T) : (k[S] = ke(F), k[S].c(), k[S].m(e, A));
|
|
809
817
|
}
|
|
810
|
-
for (;
|
|
811
|
-
k[
|
|
818
|
+
for (; S < k.length; S += 1)
|
|
819
|
+
k[S].d(1);
|
|
812
820
|
k.length = U.length;
|
|
813
821
|
}
|
|
814
|
-
|
|
815
|
-
393216 &&
|
|
822
|
+
T[0] & /*currentPage, numberOfPages*/
|
|
823
|
+
393216 && w !== (w = /*currentPage*/
|
|
816
824
|
m[18] === /*numberOfPages*/
|
|
817
|
-
m[17] - 1) && (
|
|
818
|
-
393216 &&
|
|
825
|
+
m[17] - 1) && (v.disabled = w), T[0] & /*currentPage, numberOfPages*/
|
|
826
|
+
393216 && C !== (C = "BonusesNext " + /*currentPage*/
|
|
819
827
|
(m[18] === /*numberOfPages*/
|
|
820
|
-
m[17] - 1 ? "Inactive" : "")) && v
|
|
821
|
-
393216 &&
|
|
828
|
+
m[17] - 1 ? "Inactive" : "")) && _(v, "class", C), T[0] & /*currentPage, numberOfPages*/
|
|
829
|
+
393216 && B !== (B = /*currentPage*/
|
|
822
830
|
m[18] === /*numberOfPages*/
|
|
823
|
-
m[17] - 1) && (
|
|
831
|
+
m[17] - 1) && (c.disabled = B), T[0] & /*currentPage, numberOfPages*/
|
|
824
832
|
393216 && Y !== (Y = "BonusesLast " + /*currentPage*/
|
|
825
833
|
(m[18] === /*numberOfPages*/
|
|
826
|
-
m[17] - 1 ? "Inactive" : "")) &&
|
|
834
|
+
m[17] - 1 ? "Inactive" : "")) && _(c, "class", Y);
|
|
827
835
|
},
|
|
828
836
|
d(m) {
|
|
829
|
-
m &&
|
|
837
|
+
m && D(e), Se(k, m), K = !1, ue(X);
|
|
830
838
|
}
|
|
831
839
|
};
|
|
832
840
|
}
|
|
833
|
-
function
|
|
841
|
+
function ke(n) {
|
|
834
842
|
let e, o = (
|
|
835
843
|
/*i*/
|
|
836
|
-
n[
|
|
837
|
-
),
|
|
844
|
+
n[59] + 1 + ""
|
|
845
|
+
), i, s, a, l, d;
|
|
838
846
|
function u() {
|
|
839
847
|
return (
|
|
840
848
|
/*click_handler_3*/
|
|
841
849
|
n[40](
|
|
842
850
|
/*i*/
|
|
843
|
-
n[
|
|
851
|
+
n[59]
|
|
844
852
|
)
|
|
845
853
|
);
|
|
846
854
|
}
|
|
847
855
|
return {
|
|
848
856
|
c() {
|
|
849
|
-
e =
|
|
850
|
-
n[
|
|
851
|
-
n[18],
|
|
852
|
-
(n[
|
|
857
|
+
e = W("button"), i = O(o), e.disabled = s = /*i*/
|
|
858
|
+
n[59] === /*currentPage*/
|
|
859
|
+
n[18], _(e, "class", a = "BonusesPage " + /*i*/
|
|
860
|
+
(n[59] === /*currentPage*/
|
|
853
861
|
n[18] ? "BonusPageActive" : ""));
|
|
854
862
|
},
|
|
855
863
|
m(g, y) {
|
|
856
|
-
|
|
864
|
+
j(g, e, y), p(e, i), l || (d = G(e, "click", u), l = !0);
|
|
857
865
|
},
|
|
858
866
|
p(g, y) {
|
|
859
867
|
n = g, y[0] & /*currentPage*/
|
|
860
868
|
262144 && s !== (s = /*i*/
|
|
861
|
-
n[
|
|
869
|
+
n[59] === /*currentPage*/
|
|
862
870
|
n[18]) && (e.disabled = s), y[0] & /*currentPage*/
|
|
863
|
-
262144 &&
|
|
864
|
-
(n[
|
|
865
|
-
n[18] ? "BonusPageActive" : "")) &&
|
|
871
|
+
262144 && a !== (a = "BonusesPage " + /*i*/
|
|
872
|
+
(n[59] === /*currentPage*/
|
|
873
|
+
n[18] ? "BonusPageActive" : "")) && _(e, "class", a);
|
|
866
874
|
},
|
|
867
875
|
d(g) {
|
|
868
|
-
g &&
|
|
876
|
+
g && D(e), l = !1, d();
|
|
869
877
|
}
|
|
870
878
|
};
|
|
871
879
|
}
|
|
872
880
|
function Ee(n) {
|
|
873
|
-
let e, o,
|
|
881
|
+
let e, o, i, s, a = (
|
|
874
882
|
/*$_*/
|
|
875
883
|
n[21]("forfeitBonus") + ""
|
|
876
|
-
),
|
|
884
|
+
), l, d, u, g, y = (
|
|
877
885
|
/*$_*/
|
|
878
886
|
n[21]("forfeitBonusCancel") + ""
|
|
879
|
-
),
|
|
887
|
+
), M, A, v, h = (
|
|
880
888
|
/*$_*/
|
|
881
889
|
n[21]("forfeitBonusConfirm") + ""
|
|
882
|
-
),
|
|
890
|
+
), w, C, f;
|
|
883
891
|
return {
|
|
884
892
|
c() {
|
|
885
|
-
e =
|
|
893
|
+
e = W("div"), o = W("div"), i = W("div"), s = W("p"), l = O(a), d = z(), u = W("div"), g = W("button"), M = O(y), A = z(), v = W("button"), w = O(h), _(s, "class", "ModalText"), _(g, "class", "ModalCancel"), _(v, "class", "ModalConfirm"), _(u, "class", "ModalButtons"), _(i, "class", "ModalBody"), _(o, "class", "ModalContent"), _(e, "class", "ModalWrapper " + /*isMobile*/
|
|
886
894
|
(n[22] ? "ModalWrapperMobile" : ""));
|
|
887
895
|
},
|
|
888
|
-
m(
|
|
889
|
-
|
|
896
|
+
m(c, b) {
|
|
897
|
+
j(c, e, b), p(e, o), p(o, i), p(i, s), p(s, l), p(i, d), p(i, u), p(u, g), p(g, M), p(u, A), p(u, v), p(v, w), C || (f = [
|
|
890
898
|
G(
|
|
891
899
|
g,
|
|
892
900
|
"click",
|
|
@@ -894,7 +902,7 @@ function Ee(n) {
|
|
|
894
902
|
n[27]
|
|
895
903
|
),
|
|
896
904
|
G(
|
|
897
|
-
|
|
905
|
+
v,
|
|
898
906
|
"click",
|
|
899
907
|
/*debouncedFunction*/
|
|
900
908
|
n[29](
|
|
@@ -902,67 +910,67 @@ function Ee(n) {
|
|
|
902
910
|
n[28]
|
|
903
911
|
)
|
|
904
912
|
)
|
|
905
|
-
],
|
|
913
|
+
], C = !0);
|
|
906
914
|
},
|
|
907
|
-
p(
|
|
908
|
-
|
|
909
|
-
2097152 &&
|
|
910
|
-
|
|
915
|
+
p(c, b) {
|
|
916
|
+
b[0] & /*$_*/
|
|
917
|
+
2097152 && a !== (a = /*$_*/
|
|
918
|
+
c[21]("forfeitBonus") + "") && J(l, a), b[0] & /*$_*/
|
|
911
919
|
2097152 && y !== (y = /*$_*/
|
|
912
|
-
|
|
920
|
+
c[21]("forfeitBonusCancel") + "") && J(M, y), b[0] & /*$_*/
|
|
913
921
|
2097152 && h !== (h = /*$_*/
|
|
914
|
-
|
|
922
|
+
c[21]("forfeitBonusConfirm") + "") && J(w, h);
|
|
915
923
|
},
|
|
916
|
-
d(
|
|
917
|
-
|
|
924
|
+
d(c) {
|
|
925
|
+
c && D(e), C = !1, ue(f);
|
|
918
926
|
}
|
|
919
927
|
};
|
|
920
928
|
}
|
|
921
|
-
function
|
|
922
|
-
let e, o,
|
|
929
|
+
function Cn(n) {
|
|
930
|
+
let e, o, i, s, a = (
|
|
923
931
|
/*$_*/
|
|
924
932
|
n[21]("titleBonuses") + ""
|
|
925
|
-
),
|
|
933
|
+
), l, d, u, g, y = (
|
|
926
934
|
/*$_*/
|
|
927
935
|
n[21]("bonusCode") + ""
|
|
928
|
-
),
|
|
936
|
+
), M, A, v, h, w, C, f = (
|
|
929
937
|
/*$_*/
|
|
930
938
|
n[21]("getBonus") + ""
|
|
931
|
-
),
|
|
939
|
+
), c, b, B, Y, K, X, U, k = (
|
|
932
940
|
/*isMobile*/
|
|
933
|
-
n[22] &&
|
|
941
|
+
n[22] && bn(n)
|
|
934
942
|
), m = (
|
|
935
943
|
/*invalidBonusCode*/
|
|
936
944
|
n[12] && Me(n)
|
|
937
945
|
);
|
|
938
|
-
function
|
|
946
|
+
function T(E, R) {
|
|
939
947
|
return (
|
|
940
948
|
/*isLoading*/
|
|
941
|
-
|
|
949
|
+
E[10] ? Bn : gn
|
|
942
950
|
);
|
|
943
951
|
}
|
|
944
|
-
let
|
|
952
|
+
let S = T(n), F = S(n), I = (
|
|
945
953
|
/*bonusModal*/
|
|
946
954
|
n[20] && Ee(n)
|
|
947
955
|
);
|
|
948
956
|
return {
|
|
949
957
|
c() {
|
|
950
|
-
e =
|
|
951
|
-
(n[22] ? "ActiveBonusesTitleNone" : "")),
|
|
952
|
-
(n[22] ? "BonusCodeInputMobile" : "")),
|
|
953
|
-
(n[22] ? "SubmitBonusCodeMobile" : "")),
|
|
958
|
+
e = W("div"), o = W("div"), k && k.c(), i = z(), s = W("h2"), l = O(a), d = z(), u = W("div"), g = W("label"), M = O(y), A = z(), v = W("div"), h = W("input"), w = z(), C = W("button"), c = O(f), B = z(), m && m.c(), Y = z(), F.c(), K = z(), I && I.c(), _(s, "class", "ActiveBonusesTitle " + /*isMobile*/
|
|
959
|
+
(n[22] ? "ActiveBonusesTitleNone" : "")), _(g, "for", "BonusCode"), _(h, "class", "BonusCodeInput " + /*isMobile*/
|
|
960
|
+
(n[22] ? "BonusCodeInputMobile" : "")), _(h, "type", "text"), _(h, "id", "BonusCode"), _(C, "class", "SubmitBonusCode " + /*isMobile*/
|
|
961
|
+
(n[22] ? "SubmitBonusCodeMobile" : "")), C.disabled = b = /*invalidBonusField*/
|
|
954
962
|
n[11] || /*isLoading*/
|
|
955
|
-
n[10], v
|
|
956
|
-
(n[22] ? "BonusCodeWrapperMobile" : "")),
|
|
957
|
-
(n[22] ? "BonusCodeContainerMobile" : "")),
|
|
963
|
+
n[10], _(v, "class", "BonusCodeWrapper " + /*isMobile*/
|
|
964
|
+
(n[22] ? "BonusCodeWrapperMobile" : "")), _(u, "class", "BonusCodeContainer " + /*isMobile*/
|
|
965
|
+
(n[22] ? "BonusCodeContainerMobile" : "")), _(o, "class", "ActiveBonusesWrapper " + /*isMobile*/
|
|
958
966
|
(n[22] ? "ActiveBonusesWrapperMobile" : ""));
|
|
959
967
|
},
|
|
960
|
-
m(
|
|
961
|
-
|
|
968
|
+
m(E, R) {
|
|
969
|
+
j(E, e, R), p(e, o), k && k.m(o, null), p(o, i), p(o, s), p(s, l), p(o, d), p(o, u), p(u, g), p(g, M), p(u, A), p(u, v), p(v, h), _e(
|
|
962
970
|
h,
|
|
963
971
|
/*bonusCode*/
|
|
964
972
|
n[13]
|
|
965
|
-
),
|
|
973
|
+
), p(v, w), p(v, C), p(C, c), p(u, B), m && m.m(u, null), p(o, Y), F.m(o, null), p(e, K), I && I.m(e, null), n[43](e), X || (U = [
|
|
966
974
|
G(
|
|
967
975
|
h,
|
|
968
976
|
"input",
|
|
@@ -976,90 +984,71 @@ function yn(n) {
|
|
|
976
984
|
n[24]
|
|
977
985
|
),
|
|
978
986
|
G(
|
|
979
|
-
|
|
987
|
+
C,
|
|
980
988
|
"click",
|
|
981
989
|
/*claimBonus*/
|
|
982
990
|
n[26]
|
|
983
991
|
)
|
|
984
992
|
], X = !0);
|
|
985
993
|
},
|
|
986
|
-
p(
|
|
994
|
+
p(E, R) {
|
|
987
995
|
/*isMobile*/
|
|
988
|
-
|
|
989
|
-
2097152 &&
|
|
990
|
-
|
|
996
|
+
E[22] && k.p(E, R), R[0] & /*$_*/
|
|
997
|
+
2097152 && a !== (a = /*$_*/
|
|
998
|
+
E[21]("titleBonuses") + "") && J(l, a), R[0] & /*$_*/
|
|
991
999
|
2097152 && y !== (y = /*$_*/
|
|
992
|
-
|
|
1000
|
+
E[21]("bonusCode") + "") && J(M, y), R[0] & /*bonusCode*/
|
|
993
1001
|
8192 && h.value !== /*bonusCode*/
|
|
994
|
-
|
|
1002
|
+
E[13] && _e(
|
|
995
1003
|
h,
|
|
996
1004
|
/*bonusCode*/
|
|
997
|
-
|
|
1005
|
+
E[13]
|
|
998
1006
|
), R[0] & /*$_*/
|
|
999
|
-
2097152 &&
|
|
1000
|
-
|
|
1001
|
-
3072 &&
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1007
|
+
2097152 && f !== (f = /*$_*/
|
|
1008
|
+
E[21]("getBonus") + "") && J(c, f), R[0] & /*invalidBonusField, isLoading*/
|
|
1009
|
+
3072 && b !== (b = /*invalidBonusField*/
|
|
1010
|
+
E[11] || /*isLoading*/
|
|
1011
|
+
E[10]) && (C.disabled = b), /*invalidBonusCode*/
|
|
1012
|
+
E[12] ? m ? m.p(E, R) : (m = Me(E), m.c(), m.m(u, null)) : m && (m.d(1), m = null), S === (S = T(E)) && F ? F.p(E, R) : (F.d(1), F = S(E), F && (F.c(), F.m(o, null))), /*bonusModal*/
|
|
1013
|
+
E[20] ? I ? I.p(E, R) : (I = Ee(E), I.c(), I.m(e, null)) : I && (I.d(1), I = null);
|
|
1006
1014
|
},
|
|
1007
1015
|
i: le,
|
|
1008
1016
|
o: le,
|
|
1009
|
-
d(
|
|
1010
|
-
|
|
1017
|
+
d(E) {
|
|
1018
|
+
E && D(e), k && k.d(), m && m.d(), F.d(), I && I.d(), n[43](null), X = !1, ue(U);
|
|
1011
1019
|
}
|
|
1012
1020
|
};
|
|
1013
1021
|
}
|
|
1014
|
-
let
|
|
1015
|
-
function
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
walletId: n.bonusWalletID ?? void 0,
|
|
1021
|
-
granted: n.grantedDate ?? void 0,
|
|
1022
|
-
expiryTime: n.expiryDate ?? void 0,
|
|
1023
|
-
currentAmount: n.remainingAmount ?? void 0,
|
|
1024
|
-
originalWageringRequirement: n.initialWagerRequirementAmount ?? void 0,
|
|
1025
|
-
fulfilledWR: e - o,
|
|
1026
|
-
extension: {
|
|
1027
|
-
grantedPlayerCurrencyAmount: n.amount ?? void 0
|
|
1028
|
-
},
|
|
1029
|
-
termsandconditionsurl: n.url ?? void 0,
|
|
1030
|
-
termsandconditionsdescription: n.description ?? void 0,
|
|
1031
|
-
termsandconditionsasset: n.assets ?? void 0
|
|
1032
|
-
};
|
|
1033
|
-
}
|
|
1034
|
-
function wn(n, e, o) {
|
|
1035
|
-
let t;
|
|
1036
|
-
xe(n, rn, (l) => o(21, t = l));
|
|
1037
|
-
let { endpoint: s = "" } = e, { session: i = "" } = e, { playerid: r = "" } = e, { lang: c = "en" } = e, { currency: u = "" } = e, { clientstyling: g = "" } = e, { clientstylingurl: y = "" } = e, { mbsource: w } = e, { translationurl: A = "" } = e, { currencylocale: _ = "" } = e, { dateformat: h = "" } = e, { bonuscoderegex: C = "" } = e, { ishiddenwageringbonus: d = "false" } = e, { gmversion: b = "" } = e, { filterbonusbalance: p = "false" } = e, B = !1, T, Y, K = window.navigator.userAgent, X = $e(K) !== "PC", U = !0, k = !1, m = "", S = 0, E = 0, F = 0, I = 0, W = 0, R = [], fe, te = "", ae = !1;
|
|
1038
|
-
const Se = () => {
|
|
1022
|
+
let wn = "status=active", H = 6;
|
|
1023
|
+
function Mn(n, e, o) {
|
|
1024
|
+
let i;
|
|
1025
|
+
$e(n, ln, (r) => o(21, i = r));
|
|
1026
|
+
let { endpoint: s = "" } = e, { session: a = "" } = e, { playerid: l = "" } = e, { lang: d = "en" } = e, { currency: u = "" } = e, { clientstyling: g = "" } = e, { clientstylingurl: y = "" } = e, { mbsource: M } = e, { translationurl: A = "" } = e, { currencylocale: v = "" } = e, { dateformat: h = "" } = e, { bonuscoderegex: w = "" } = e, { ishiddenwageringbonus: C = "false" } = e, { gmversion: f = "" } = e, { filterbonusbalance: c = "false" } = e, b = !1, B, Y, K = window.navigator.userAgent, X = en(K) !== "PC", U = !0, k = !1, m = "", T = 0, S = 0, F = 0, I = 0, E = 0, R = [], fe, te = "", ie = !1;
|
|
1027
|
+
const Pe = () => {
|
|
1039
1028
|
fetch(A).then((P) => P.json()).then((P) => {
|
|
1040
1029
|
Object.keys(P).forEach((q) => {
|
|
1041
|
-
|
|
1030
|
+
ve(q, P[q]);
|
|
1042
1031
|
});
|
|
1043
1032
|
}).catch((P) => {
|
|
1044
1033
|
console.log(P);
|
|
1045
1034
|
});
|
|
1046
1035
|
};
|
|
1047
|
-
Object.keys(ye).forEach((
|
|
1048
|
-
|
|
1036
|
+
Object.keys(ye).forEach((r) => {
|
|
1037
|
+
ve(r, ye[r]);
|
|
1049
1038
|
});
|
|
1050
|
-
const me = (
|
|
1051
|
-
if (
|
|
1052
|
-
switch (
|
|
1039
|
+
const me = (r) => {
|
|
1040
|
+
if (r.data)
|
|
1041
|
+
switch (r.data.type) {
|
|
1053
1042
|
case "DeleteActiveBonus":
|
|
1054
|
-
te =
|
|
1043
|
+
te = r.data.bonuswalletid, o(20, ie = !0);
|
|
1055
1044
|
break;
|
|
1056
1045
|
}
|
|
1057
1046
|
};
|
|
1058
|
-
function
|
|
1047
|
+
function Te(r, P) {
|
|
1059
1048
|
return (...q) => {
|
|
1060
1049
|
clearTimeout(fe), fe = setTimeout(
|
|
1061
1050
|
() => {
|
|
1062
|
-
|
|
1051
|
+
r.apply(this, q);
|
|
1063
1052
|
},
|
|
1064
1053
|
P
|
|
1065
1054
|
);
|
|
@@ -1073,34 +1062,53 @@ function wn(n, e, o) {
|
|
|
1073
1062
|
},
|
|
1074
1063
|
window.location.href
|
|
1075
1064
|
);
|
|
1076
|
-
},
|
|
1077
|
-
o(11, U = !
|
|
1078
|
-
}
|
|
1079
|
-
|
|
1065
|
+
}, Ie = () => m ? w ? new RegExp(w).test(m) : !0 : !1, Fe = () => {
|
|
1066
|
+
o(11, U = !Ie()), w && o(12, k = U);
|
|
1067
|
+
};
|
|
1068
|
+
function Re(r) {
|
|
1069
|
+
const P = r.initialWagerRequirementAmount ?? 0, q = r.remainingWagerRequirementAmount ?? 0;
|
|
1070
|
+
return {
|
|
1071
|
+
...r,
|
|
1072
|
+
freeRoundNumber: r.numberOfFreeSpin ?? void 0,
|
|
1073
|
+
walletId: r.bonusWalletID ?? void 0,
|
|
1074
|
+
granted: r.grantedDate ?? void 0,
|
|
1075
|
+
expiryTime: r.expiryDate ?? void 0,
|
|
1076
|
+
currentAmount: r.remainingAmount ?? void 0,
|
|
1077
|
+
originalWageringRequirement: r.initialWagerRequirementAmount ?? void 0,
|
|
1078
|
+
fulfilledWR: P - q,
|
|
1079
|
+
extension: {
|
|
1080
|
+
grantedPlayerCurrencyAmount: r.amount ?? void 0
|
|
1081
|
+
},
|
|
1082
|
+
termsandconditionsurl: r.url ?? void 0,
|
|
1083
|
+
termsandconditionsdescription: r.description ?? void 0,
|
|
1084
|
+
termsandconditionsasset: r.assets ?? void 0,
|
|
1085
|
+
isWinBonus: r?.tags?.includes("auto_apply") === !0 && r.type === dn.ODDS_BOOST
|
|
1086
|
+
};
|
|
1087
|
+
}
|
|
1088
|
+
const V = async (r) => {
|
|
1089
|
+
o(10, b = !0);
|
|
1080
1090
|
try {
|
|
1081
1091
|
let P = [], q = 0;
|
|
1082
|
-
if (
|
|
1083
|
-
console.log("getActiveBonuses - gm2",
|
|
1092
|
+
if (f === "gm2") {
|
|
1093
|
+
console.log("getActiveBonuses - gm2", f);
|
|
1084
1094
|
const L = {
|
|
1085
|
-
pagination: `limit=${H},offset=${
|
|
1086
|
-
language:
|
|
1095
|
+
pagination: `limit=${H},offset=${r}`,
|
|
1096
|
+
language: d || "en",
|
|
1087
1097
|
sortOrder: "desc",
|
|
1088
1098
|
status: he.STATUS_ACTIVE,
|
|
1089
1099
|
type: he.TYPES,
|
|
1090
1100
|
expand: "freeSpin"
|
|
1091
1101
|
};
|
|
1092
|
-
|
|
1093
|
-
const Z = await
|
|
1094
|
-
console.
|
|
1095
|
-
const x = Z.items;
|
|
1096
|
-
Array.isArray(x) ? P = x.map(Cn) : console.error("Unexpected granted bonuses payload", Z), q = Z.total ?? 0;
|
|
1102
|
+
C === "true" && (L.includeHiddenWallet = !0);
|
|
1103
|
+
const Z = await fn(s, a, L), x = Z.items;
|
|
1104
|
+
Array.isArray(x) ? P = x.map(Re) : console.error("Unexpected granted bonuses payload", Z), q = Z.total ?? 0;
|
|
1097
1105
|
} else {
|
|
1098
|
-
console.log("getActiveBonuses - /bonusWallet",
|
|
1106
|
+
console.log("getActiveBonuses - /bonusWallet", f);
|
|
1099
1107
|
const L = {
|
|
1100
1108
|
method: "GET",
|
|
1101
|
-
headers: { "X-SessionId":
|
|
1102
|
-
}, Z = `/v1/player/${
|
|
1103
|
-
re.set("filter",
|
|
1109
|
+
headers: { "X-SessionId": a }
|
|
1110
|
+
}, Z = `/v1/player/${l}/bonusWallet`, x = new URL(`${s}${Z}`), re = new URLSearchParams();
|
|
1111
|
+
re.set("filter", wn), re.set("pagination", `offset=${r},limit=${H}`), x.search = re.toString();
|
|
1104
1112
|
const $ = await (await fetch(x, L)).json();
|
|
1105
1113
|
if (Array.isArray($.items)) {
|
|
1106
1114
|
for (const ne of $.items) {
|
|
@@ -1112,27 +1120,27 @@ function wn(n, e, o) {
|
|
|
1112
1120
|
console.error("Unexpected legacy bonus list payload", $);
|
|
1113
1121
|
q = $.total ?? 0;
|
|
1114
1122
|
}
|
|
1115
|
-
o(17, I = Math.ceil(q / H)),
|
|
1123
|
+
o(17, I = Math.ceil(q / H)), r - H >= 0 && o(14, T = r - H), r + H < q && o(15, S = r + H), o(16, F = (I - 1) * H), o(18, E = r / H), o(19, R = P), v && R.forEach((L) => {
|
|
1116
1124
|
L.fulfilledWR = ee(L.fulfilledWR), L.originalWageringRequirement = ee(L.originalWageringRequirement), L.currentAmount = ee(L.currentAmount), L.extension && (L.extension.grantedPlayerCurrencyAmount = ee(L.extension.grantedPlayerCurrencyAmount));
|
|
1117
1125
|
}), window.scrollTo({ top: 0, behavior: "smooth" });
|
|
1118
1126
|
} catch (P) {
|
|
1119
1127
|
console.error(P);
|
|
1120
1128
|
} finally {
|
|
1121
|
-
o(10,
|
|
1129
|
+
o(10, b = !1);
|
|
1122
1130
|
}
|
|
1123
|
-
}, ee = (
|
|
1131
|
+
}, ee = (r) => new Intl.NumberFormat(v, { style: "currency", currency: u }).format(r).replace(/\s/g, ""), ge = () => {
|
|
1124
1132
|
console.log("post claim success, status 200"), o(12, k = !1), V(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), window.postMessage(
|
|
1125
1133
|
{
|
|
1126
1134
|
type: "WidgetNotification",
|
|
1127
1135
|
data: {
|
|
1128
1136
|
type: "success",
|
|
1129
|
-
message:
|
|
1137
|
+
message: i("bonusClaimSuccessMessage")
|
|
1130
1138
|
}
|
|
1131
1139
|
},
|
|
1132
1140
|
window.location.href
|
|
1133
1141
|
), typeof gtag == "function" && gtag("event", "ClaimBonus", {
|
|
1134
1142
|
context: "PlayerActiveBonuses",
|
|
1135
|
-
userId: `${
|
|
1143
|
+
userId: `${l || "Not logged in"}`,
|
|
1136
1144
|
bonusCode: `${m}`
|
|
1137
1145
|
});
|
|
1138
1146
|
}, Be = () => {
|
|
@@ -1141,16 +1149,16 @@ function wn(n, e, o) {
|
|
|
1141
1149
|
type: "WidgetNotification",
|
|
1142
1150
|
data: {
|
|
1143
1151
|
type: "error",
|
|
1144
|
-
message:
|
|
1152
|
+
message: i("bonusClaimErrorMessage")
|
|
1145
1153
|
}
|
|
1146
1154
|
},
|
|
1147
1155
|
window.location.href
|
|
1148
1156
|
);
|
|
1149
|
-
},
|
|
1150
|
-
o(10,
|
|
1157
|
+
}, Le = async () => {
|
|
1158
|
+
o(10, b = !0);
|
|
1151
1159
|
try {
|
|
1152
|
-
if (
|
|
1153
|
-
if (!(await
|
|
1160
|
+
if (f === "gm2") {
|
|
1161
|
+
if (!(await cn(s, a, { bonusCode: m, currency: u })).success) {
|
|
1154
1162
|
Be();
|
|
1155
1163
|
//!
|
|
1156
1164
|
return;
|
|
@@ -1158,121 +1166,121 @@ function wn(n, e, o) {
|
|
|
1158
1166
|
ge();
|
|
1159
1167
|
return;
|
|
1160
1168
|
}
|
|
1161
|
-
const
|
|
1162
|
-
|
|
1169
|
+
const r = new URL(`${s}/v1/player/${l}/claimbonus`);
|
|
1170
|
+
r.searchParams.append("currency", u), r.searchParams.append("bonusCode", m);
|
|
1163
1171
|
const P = {
|
|
1164
1172
|
method: "POST",
|
|
1165
1173
|
headers: {
|
|
1166
|
-
"X-SessionId":
|
|
1174
|
+
"X-SessionId": a,
|
|
1167
1175
|
accept: "application/json"
|
|
1168
1176
|
}
|
|
1169
1177
|
};
|
|
1170
|
-
(await fetch(
|
|
1178
|
+
(await fetch(r.href, P)).status == 200 ? ge() : Be();
|
|
1171
1179
|
} finally {
|
|
1172
|
-
o(10,
|
|
1180
|
+
o(10, b = !1);
|
|
1173
1181
|
}
|
|
1174
|
-
},
|
|
1175
|
-
window.postMessage({ type: "EnableScroll" }, window.location.href), o(20,
|
|
1176
|
-
},
|
|
1177
|
-
if (
|
|
1178
|
-
if (!(await
|
|
1182
|
+
}, ae = () => {
|
|
1183
|
+
window.postMessage({ type: "EnableScroll" }, window.location.href), o(20, ie = !1);
|
|
1184
|
+
}, Ne = async () => {
|
|
1185
|
+
if (f === "gm2") {
|
|
1186
|
+
if (!(await pn(s, a, { bonusWalletID: te })).success)
|
|
1179
1187
|
return;
|
|
1180
|
-
V(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href),
|
|
1188
|
+
V(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), ae();
|
|
1181
1189
|
return;
|
|
1182
1190
|
}
|
|
1183
|
-
const
|
|
1191
|
+
const r = {
|
|
1184
1192
|
method: "DELETE",
|
|
1185
1193
|
headers: {
|
|
1186
|
-
"X-SessionId":
|
|
1194
|
+
"X-SessionId": a,
|
|
1187
1195
|
"Content-Type": "application/json",
|
|
1188
1196
|
Accept: "application/json"
|
|
1189
1197
|
}
|
|
1190
|
-
}, P = new URL(`${s}/v1/player/${
|
|
1191
|
-
P.searchParams.append("bonusWalletID", te), (await fetch(P,
|
|
1198
|
+
}, P = new URL(`${s}/v1/player/${l}/bonusWallet`);
|
|
1199
|
+
P.searchParams.append("bonusWalletID", te), (await fetch(P, r)).status == 200 && (V(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), ae());
|
|
1192
1200
|
}, ze = () => {
|
|
1193
|
-
|
|
1201
|
+
un(d);
|
|
1194
1202
|
};
|
|
1195
|
-
function
|
|
1196
|
-
return
|
|
1203
|
+
function Oe(r) {
|
|
1204
|
+
return Te(r, 1e3);
|
|
1197
1205
|
}
|
|
1198
|
-
|
|
1206
|
+
nn(() => (window.addEventListener("message", me, !1), () => {
|
|
1199
1207
|
window.removeEventListener("message", me);
|
|
1200
1208
|
}));
|
|
1201
1209
|
const De = () => be();
|
|
1202
1210
|
function je() {
|
|
1203
1211
|
m = this.value, o(13, m);
|
|
1204
1212
|
}
|
|
1205
|
-
const
|
|
1206
|
-
function
|
|
1207
|
-
|
|
1208
|
-
|
|
1213
|
+
const Ue = () => V(0), qe = () => V(T), Ge = (r) => V(r * H), Ve = () => V(S), He = () => V(F);
|
|
1214
|
+
function Ye(r) {
|
|
1215
|
+
on[r ? "unshift" : "push"](() => {
|
|
1216
|
+
B = r, o(9, B);
|
|
1209
1217
|
});
|
|
1210
1218
|
}
|
|
1211
|
-
return n.$$set = (
|
|
1212
|
-
"endpoint" in
|
|
1219
|
+
return n.$$set = (r) => {
|
|
1220
|
+
"endpoint" in r && o(30, s = r.endpoint), "session" in r && o(31, a = r.session), "playerid" in r && o(32, l = r.playerid), "lang" in r && o(0, d = r.lang), "currency" in r && o(33, u = r.currency), "clientstyling" in r && o(1, g = r.clientstyling), "clientstylingurl" in r && o(2, y = r.clientstylingurl), "mbsource" in r && o(3, M = r.mbsource), "translationurl" in r && o(4, A = r.translationurl), "currencylocale" in r && o(5, v = r.currencylocale), "dateformat" in r && o(6, h = r.dateformat), "bonuscoderegex" in r && o(34, w = r.bonuscoderegex), "ishiddenwageringbonus" in r && o(7, C = r.ishiddenwageringbonus), "gmversion" in r && o(35, f = r.gmversion), "filterbonusbalance" in r && o(8, c = r.filterbonusbalance);
|
|
1213
1221
|
}, n.$$.update = () => {
|
|
1214
1222
|
n.$$.dirty[0] & /*lang*/
|
|
1215
|
-
1 &&
|
|
1223
|
+
1 && d && ze(), n.$$.dirty[0] & /*endpoint*/
|
|
1216
1224
|
1073741824 | n.$$.dirty[1] & /*session, playerid*/
|
|
1217
|
-
3 &&
|
|
1218
|
-
514 && g &&
|
|
1219
|
-
516 && y &&
|
|
1220
|
-
520 &&
|
|
1221
|
-
16 && A &&
|
|
1225
|
+
3 && a && l && s && V(0), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1226
|
+
514 && g && B && sn(B, g), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1227
|
+
516 && y && B && tn(B, y), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1228
|
+
520 && M && B && an(B, `${M}.Style`, Y), n.$$.dirty[0] & /*translationurl*/
|
|
1229
|
+
16 && A && Pe();
|
|
1222
1230
|
}, [
|
|
1223
|
-
|
|
1231
|
+
d,
|
|
1224
1232
|
g,
|
|
1225
1233
|
y,
|
|
1226
|
-
|
|
1234
|
+
M,
|
|
1227
1235
|
A,
|
|
1228
|
-
|
|
1236
|
+
v,
|
|
1229
1237
|
h,
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
T,
|
|
1238
|
+
C,
|
|
1239
|
+
c,
|
|
1233
1240
|
B,
|
|
1241
|
+
b,
|
|
1234
1242
|
U,
|
|
1235
1243
|
k,
|
|
1236
1244
|
m,
|
|
1245
|
+
T,
|
|
1237
1246
|
S,
|
|
1238
|
-
E,
|
|
1239
1247
|
F,
|
|
1240
1248
|
I,
|
|
1241
|
-
|
|
1249
|
+
E,
|
|
1242
1250
|
R,
|
|
1243
|
-
|
|
1244
|
-
|
|
1251
|
+
ie,
|
|
1252
|
+
i,
|
|
1245
1253
|
X,
|
|
1246
1254
|
be,
|
|
1247
1255
|
Fe,
|
|
1248
1256
|
V,
|
|
1249
|
-
Re,
|
|
1250
|
-
ie,
|
|
1251
1257
|
Le,
|
|
1258
|
+
ae,
|
|
1252
1259
|
Ne,
|
|
1260
|
+
Oe,
|
|
1253
1261
|
s,
|
|
1254
|
-
|
|
1255
|
-
|
|
1262
|
+
a,
|
|
1263
|
+
l,
|
|
1256
1264
|
u,
|
|
1257
|
-
|
|
1258
|
-
|
|
1265
|
+
w,
|
|
1266
|
+
f,
|
|
1259
1267
|
De,
|
|
1260
1268
|
je,
|
|
1261
|
-
Oe,
|
|
1262
1269
|
Ue,
|
|
1263
1270
|
qe,
|
|
1264
1271
|
Ge,
|
|
1265
1272
|
Ve,
|
|
1266
|
-
He
|
|
1273
|
+
He,
|
|
1274
|
+
Ye
|
|
1267
1275
|
];
|
|
1268
1276
|
}
|
|
1269
|
-
class
|
|
1277
|
+
class Wn extends Ke {
|
|
1270
1278
|
constructor(e) {
|
|
1271
|
-
super(),
|
|
1279
|
+
super(), Qe(
|
|
1272
1280
|
this,
|
|
1273
1281
|
e,
|
|
1274
|
-
|
|
1275
|
-
|
|
1282
|
+
Mn,
|
|
1283
|
+
Cn,
|
|
1276
1284
|
Ze,
|
|
1277
1285
|
{
|
|
1278
1286
|
endpoint: 30,
|
|
@@ -1291,102 +1299,102 @@ class Mn extends Je {
|
|
|
1291
1299
|
gmversion: 35,
|
|
1292
1300
|
filterbonusbalance: 8
|
|
1293
1301
|
},
|
|
1294
|
-
|
|
1295
|
-
[-1, -1]
|
|
1302
|
+
mn,
|
|
1303
|
+
[-1, -1, -1]
|
|
1296
1304
|
);
|
|
1297
1305
|
}
|
|
1298
1306
|
get endpoint() {
|
|
1299
1307
|
return this.$$.ctx[30];
|
|
1300
1308
|
}
|
|
1301
1309
|
set endpoint(e) {
|
|
1302
|
-
this.$$set({ endpoint: e }),
|
|
1310
|
+
this.$$set({ endpoint: e }), N();
|
|
1303
1311
|
}
|
|
1304
1312
|
get session() {
|
|
1305
1313
|
return this.$$.ctx[31];
|
|
1306
1314
|
}
|
|
1307
1315
|
set session(e) {
|
|
1308
|
-
this.$$set({ session: e }),
|
|
1316
|
+
this.$$set({ session: e }), N();
|
|
1309
1317
|
}
|
|
1310
1318
|
get playerid() {
|
|
1311
1319
|
return this.$$.ctx[32];
|
|
1312
1320
|
}
|
|
1313
1321
|
set playerid(e) {
|
|
1314
|
-
this.$$set({ playerid: e }),
|
|
1322
|
+
this.$$set({ playerid: e }), N();
|
|
1315
1323
|
}
|
|
1316
1324
|
get lang() {
|
|
1317
1325
|
return this.$$.ctx[0];
|
|
1318
1326
|
}
|
|
1319
1327
|
set lang(e) {
|
|
1320
|
-
this.$$set({ lang: e }),
|
|
1328
|
+
this.$$set({ lang: e }), N();
|
|
1321
1329
|
}
|
|
1322
1330
|
get currency() {
|
|
1323
1331
|
return this.$$.ctx[33];
|
|
1324
1332
|
}
|
|
1325
1333
|
set currency(e) {
|
|
1326
|
-
this.$$set({ currency: e }),
|
|
1334
|
+
this.$$set({ currency: e }), N();
|
|
1327
1335
|
}
|
|
1328
1336
|
get clientstyling() {
|
|
1329
1337
|
return this.$$.ctx[1];
|
|
1330
1338
|
}
|
|
1331
1339
|
set clientstyling(e) {
|
|
1332
|
-
this.$$set({ clientstyling: e }),
|
|
1340
|
+
this.$$set({ clientstyling: e }), N();
|
|
1333
1341
|
}
|
|
1334
1342
|
get clientstylingurl() {
|
|
1335
1343
|
return this.$$.ctx[2];
|
|
1336
1344
|
}
|
|
1337
1345
|
set clientstylingurl(e) {
|
|
1338
|
-
this.$$set({ clientstylingurl: e }),
|
|
1346
|
+
this.$$set({ clientstylingurl: e }), N();
|
|
1339
1347
|
}
|
|
1340
1348
|
get mbsource() {
|
|
1341
1349
|
return this.$$.ctx[3];
|
|
1342
1350
|
}
|
|
1343
1351
|
set mbsource(e) {
|
|
1344
|
-
this.$$set({ mbsource: e }),
|
|
1352
|
+
this.$$set({ mbsource: e }), N();
|
|
1345
1353
|
}
|
|
1346
1354
|
get translationurl() {
|
|
1347
1355
|
return this.$$.ctx[4];
|
|
1348
1356
|
}
|
|
1349
1357
|
set translationurl(e) {
|
|
1350
|
-
this.$$set({ translationurl: e }),
|
|
1358
|
+
this.$$set({ translationurl: e }), N();
|
|
1351
1359
|
}
|
|
1352
1360
|
get currencylocale() {
|
|
1353
1361
|
return this.$$.ctx[5];
|
|
1354
1362
|
}
|
|
1355
1363
|
set currencylocale(e) {
|
|
1356
|
-
this.$$set({ currencylocale: e }),
|
|
1364
|
+
this.$$set({ currencylocale: e }), N();
|
|
1357
1365
|
}
|
|
1358
1366
|
get dateformat() {
|
|
1359
1367
|
return this.$$.ctx[6];
|
|
1360
1368
|
}
|
|
1361
1369
|
set dateformat(e) {
|
|
1362
|
-
this.$$set({ dateformat: e }),
|
|
1370
|
+
this.$$set({ dateformat: e }), N();
|
|
1363
1371
|
}
|
|
1364
1372
|
get bonuscoderegex() {
|
|
1365
1373
|
return this.$$.ctx[34];
|
|
1366
1374
|
}
|
|
1367
1375
|
set bonuscoderegex(e) {
|
|
1368
|
-
this.$$set({ bonuscoderegex: e }),
|
|
1376
|
+
this.$$set({ bonuscoderegex: e }), N();
|
|
1369
1377
|
}
|
|
1370
1378
|
get ishiddenwageringbonus() {
|
|
1371
1379
|
return this.$$.ctx[7];
|
|
1372
1380
|
}
|
|
1373
1381
|
set ishiddenwageringbonus(e) {
|
|
1374
|
-
this.$$set({ ishiddenwageringbonus: e }),
|
|
1382
|
+
this.$$set({ ishiddenwageringbonus: e }), N();
|
|
1375
1383
|
}
|
|
1376
1384
|
get gmversion() {
|
|
1377
1385
|
return this.$$.ctx[35];
|
|
1378
1386
|
}
|
|
1379
1387
|
set gmversion(e) {
|
|
1380
|
-
this.$$set({ gmversion: e }),
|
|
1388
|
+
this.$$set({ gmversion: e }), N();
|
|
1381
1389
|
}
|
|
1382
1390
|
get filterbonusbalance() {
|
|
1383
1391
|
return this.$$.ctx[8];
|
|
1384
1392
|
}
|
|
1385
1393
|
set filterbonusbalance(e) {
|
|
1386
|
-
this.$$set({ filterbonusbalance: e }),
|
|
1394
|
+
this.$$set({ filterbonusbalance: e }), N();
|
|
1387
1395
|
}
|
|
1388
1396
|
}
|
|
1389
|
-
|
|
1397
|
+
rn(Wn, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {}, bonuscoderegex: {}, ishiddenwageringbonus: {}, gmversion: {}, filterbonusbalance: {} }, [], [], !0);
|
|
1390
1398
|
export {
|
|
1391
|
-
|
|
1399
|
+
Wn as default
|
|
1392
1400
|
};
|