@everymatrix/player-account-controller 1.99.10 → 1.99.12
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-DlJVI8dc.cjs → GeneralLogout-C8uha0fv.cjs} +1 -1
- package/components/{GeneralLogout-CAxi_42F.js → GeneralLogout-C_gI_R1H.js} +1 -1
- package/components/{GeneralLogout-C1Vto97u.js → GeneralLogout-DNBmrn_I.js} +1 -1
- package/components/{PlayerAccountBettingHistory-Zu_DsF8p.js → PlayerAccountBettingHistory-BIsdpuot.js} +1 -1
- package/components/{PlayerAccountBettingHistory-C55GeAA-.js → PlayerAccountBettingHistory-C6cfVAPR.js} +1 -1
- package/components/{PlayerAccountBettingHistory-DI8bG432.cjs → PlayerAccountBettingHistory-CqyE--f0.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-R1xE0aJZ.js → PlayerAccountBiometrics-BykPq5Pg.js} +2 -2
- package/components/{PlayerAccountBiometrics-CnUB2Bdq.cjs → PlayerAccountBiometrics-Df-aEq50.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-CyhNZSqg.js → PlayerAccountBiometrics-dWjf0aht.js} +2 -2
- package/components/{PlayerAccountBiometricsAction-7RtCXIlH.js → PlayerAccountBiometricsAction-BRzfQqv3.js} +1 -1
- package/components/{PlayerAccountBiometricsAction-BLDSd33T.cjs → PlayerAccountBiometricsAction-BUY5UdZq.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-DRtiwGVr.js → PlayerAccountBiometricsAction-N57o_Z9s.js} +1 -1
- package/components/{PlayerAccountClosure-Dq3gxUTf.cjs → PlayerAccountClosure-C1B_ZBEU.cjs} +1 -1
- package/components/{PlayerAccountClosure-q4zIM182.js → PlayerAccountClosure-CaHcbZx4.js} +1 -1
- package/components/{PlayerAccountClosure-AUFCB-X4.js → PlayerAccountClosure-DWW8qJzp.js} +1 -1
- package/components/{PlayerAccountController-BCe5geB2.cjs → PlayerAccountController-CEK_HK71.cjs} +1 -1
- package/components/{PlayerAccountController-BNmwzi6s.js → PlayerAccountController-DEnPJQBh.js} +22 -22
- package/components/{PlayerAccountController-BHIBP88d.js → PlayerAccountController-Es9irSft.js} +22 -22
- package/components/{PlayerAccountGamingLimits-BIkJRwL4.js → PlayerAccountGamingLimits-BO1DJPy8.js} +2 -2
- package/components/{PlayerAccountGamingLimits-DRsWGTeI.js → PlayerAccountGamingLimits-DAznfZPX.js} +2 -2
- package/components/{PlayerAccountGamingLimits-OP_tU6t0.cjs → PlayerAccountGamingLimits-DOQwx_eh.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-vBQrIv-M.js → PlayerAccountGamingLimitsConfirmationModal-BBu1e-Ak.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BsVcO0O4.js → PlayerAccountGamingLimitsConfirmationModal-Bfn1pmET.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BZ35DPL0.cjs → PlayerAccountGamingLimitsConfirmationModal-CHRU7DSJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-C_4lwmZE.cjs → PlayerAccountGamingLimitsGroupEdit-BycCIQj4.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-Bk9pNxjw.js → PlayerAccountGamingLimitsGroupEdit-CQXsRkef.js} +5 -5
- package/components/{PlayerAccountGamingLimitsGroupEdit-BP0TGNAy.js → PlayerAccountGamingLimitsGroupEdit-u49fPMYW.js} +5 -5
- package/components/{PlayerAccountGamingLimitsHistory2-BtycyFzI.js → PlayerAccountGamingLimitsHistory2-C4nUS0Is.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-CmsWffAK.cjs → PlayerAccountGamingLimitsHistory2-DH024n9N.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-BAywc0rr.js → PlayerAccountGamingLimitsHistory2-YwMa-qtz.js} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-gX7hz8QB.js → PlayerAccountGamingLimitsInfoCard-CKRqT6Lj.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-CfKgcmdn.cjs → PlayerAccountGamingLimitsInfoCard-CTXnun9j.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-DJ9a-aTD.js → PlayerAccountGamingLimitsInfoCard-iZOLXmWX.js} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16-V_0PWABg.js → PlayerAccountGamingLimitsPage2Gm16-BMymC0LS.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-B0hxidZ4.js → PlayerAccountGamingLimitsPage2Gm16-BdCe3DbI.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Mab_6-aW.cjs → PlayerAccountGamingLimitsPage2Gm16-DXvpHMMe.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-BlV1judf.js → PlayerAccountGamingLimitsPopup-BsShxE2f.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-rzGHAOYQ.cjs → PlayerAccountGamingLimitsPopup-CGlqQamZ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-4DtDZr9k.js → PlayerAccountGamingLimitsPopup-PUmnkn8S.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-DcyVTafk.js → PlayerAccountGamingLimitsWrapper2-BHAtXifb.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-BW5K0z2h.cjs → PlayerAccountGamingLimitsWrapper2-DYjdtwuu.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-DlPWWFB4.js → PlayerAccountGamingLimitsWrapper2-tV34lN0c.js} +3 -3
- package/components/{PlayerAccountGeneralConfirmationModal-Co-N6mNl.js → PlayerAccountGeneralConfirmationModal-BX71hwol.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-YPjayPmo.js → PlayerAccountGeneralConfirmationModal-Bcv6MvSn.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-BcXwIXlU.cjs → PlayerAccountGeneralConfirmationModal-cohVk64N.cjs} +1 -1
- package/components/{PlayerAccountMenu-C9hPGdPY.cjs → PlayerAccountMenu-BfpPhrV2.cjs} +1 -1
- package/components/{PlayerAccountMenu-DGxL-ien.js → PlayerAccountMenu-DFE8RlKY.js} +2 -2
- package/components/{PlayerAccountMenu-KiK4kw-O.js → PlayerAccountMenu-DxNM9Mva.js} +2 -2
- package/components/{PlayerAccountModal-CskmJ-Od.cjs → PlayerAccountModal-BNg5U5dp.cjs} +1 -1
- package/components/{PlayerAccountModal-BbvPkSD5.js → PlayerAccountModal-BuUXaLZ-.js} +1 -1
- package/components/{PlayerAccountModal-6BmxrSLX.js → PlayerAccountModal-C3EW1FN1.js} +1 -1
- package/components/{PlayerAccountNotifications-q_zixKQ4.js → PlayerAccountNotifications-BgwzfbUz.js} +1 -1
- package/components/{PlayerAccountNotifications-DioURLlf.js → PlayerAccountNotifications-BmJ6oFWs.js} +1 -1
- package/components/{PlayerAccountNotifications-BwUmaQ2l.cjs → PlayerAccountNotifications-CSYI-JPC.cjs} +1 -1
- package/components/{PlayerAccountProductRestriction-Hlkp5Yg5.js → PlayerAccountProductRestriction-BnZZge6I.js} +3 -3
- package/components/{PlayerAccountProductRestriction-Bqix6Ewn.cjs → PlayerAccountProductRestriction-DXvYpDTY.cjs} +1 -1
- package/components/{PlayerAccountProductRestriction-B5NwLoE_.js → PlayerAccountProductRestriction-jZlY4tH5.js} +3 -3
- package/components/{PlayerAccountReviewFrequency-B2_Pg0V5.js → PlayerAccountReviewFrequency-CWKXkUBA.js} +1 -1
- package/components/{PlayerAccountReviewFrequency-ZaPKTboK.cjs → PlayerAccountReviewFrequency-C_YKhul2.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-Cv_6LDBV.js → PlayerAccountReviewFrequency-DFoBgDn7.js} +1 -1
- package/components/{PlayerAccountSelfExclusion-DhM13xPn.js → PlayerAccountSelfExclusion-B8ZNDNjt.js} +2 -2
- package/components/{PlayerAccountSelfExclusion-eoJ6H7E7.cjs → PlayerAccountSelfExclusion-Bhgm7vdZ.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-BW3NLgsu.js → PlayerAccountSelfExclusion-Dr_E2IGx.js} +2 -2
- package/components/{PlayerAccountTimeout-CboU6LCu.js → PlayerAccountTimeout-Bd7jp4DL.js} +3 -3
- package/components/{PlayerAccountTimeout-BpoIChGI.cjs → PlayerAccountTimeout-BfJY3hup.cjs} +2 -2
- package/components/{PlayerAccountTimeout-BoPSA_ja.js → PlayerAccountTimeout-lbK0LfOW.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-DTGJayyt.js → PlayerAccountTransactionsHistory-DGwKDMbT.js} +4 -4
- package/components/{PlayerAccountTransactionsHistory-DnZfZ7nD.cjs → PlayerAccountTransactionsHistory-DWxH7aKx.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-C0J8r8e_.js → PlayerAccountTransactionsHistory-NfpUToDp.js} +4 -4
- package/components/PlayerActiveBonuses-14y3VfS6.js +1495 -0
- package/components/PlayerActiveBonuses-DD510fSz.cjs +5 -0
- package/components/PlayerActiveBonuses-DY1LXEcN.js +1455 -0
- package/components/{PlayerBonusCard-BSTIw1XO.cjs → PlayerBonusCard-CoILEVxs.cjs} +1 -1
- package/components/{PlayerBonusCard-D9ZLSuFm.js → PlayerBonusCard-DDu5ZQOP.js} +2 -2
- package/components/{PlayerBonusCard-P5QsmyeH.js → PlayerBonusCard-DmeXLAGA.js} +2 -2
- package/components/{PlayerBonusHistory-wq4sBdAs.js → PlayerBonusHistory-BSLthdCP.js} +2 -2
- package/components/{PlayerBonusHistory-DzxxTqnD.js → PlayerBonusHistory-CWPlVw8J.js} +2 -2
- package/components/{PlayerBonusHistory-4tGFG-YL.cjs → PlayerBonusHistory-DrXSLip7.cjs} +1 -1
- package/components/{PlayerChangePassword-DiTBZj1-.js → PlayerChangePassword-DHbA0sqL.js} +1 -1
- package/components/{PlayerChangePassword-DJgDE7y_.cjs → PlayerChangePassword-DZX74hgw.cjs} +1 -1
- package/components/{PlayerChangePassword-BWw2zQS3.js → PlayerChangePassword-hfTKFvsL.js} +1 -1
- package/components/{PlayerDeposit-BByovVqH.cjs → PlayerDeposit-1KF-pd_5.cjs} +1 -1
- package/components/{PlayerDeposit-D2pMbGMJ.js → PlayerDeposit-CVtk6B-U.js} +1 -1
- package/components/{PlayerDeposit-CroRm9Jm.js → PlayerDeposit-CxPuA1iT.js} +1 -1
- package/components/{PlayerGamingHistory-CLYRonz0.js → PlayerGamingHistory-BCNAnTTC.js} +3 -3
- package/components/{PlayerGamingHistory-BrbpYVOA.js → PlayerGamingHistory-CRlL3g9J.js} +3 -3
- package/components/{PlayerGamingHistory-DSAr_Apn.cjs → PlayerGamingHistory-DvGFTlp5.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-Dh6nHTW9.cjs → PlayerPendingWithdrawals-BEWlhMez.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-B8POfH8q.js → PlayerPendingWithdrawals-BNwejUO0.js} +1 -1
- package/components/{PlayerPendingWithdrawals-DbM2f2lk.js → PlayerPendingWithdrawals-gsIhvQXi.js} +1 -1
- package/components/{PlayerProfileInfo-BM8YK9-L.js → PlayerProfileInfo-3cnaz0Hf.js} +3 -3
- package/components/{PlayerProfileInfo-BI_vZsMf.cjs → PlayerProfileInfo-CCQqpyP3.cjs} +1 -1
- package/components/{PlayerProfileInfo-fs_vHjJQ.js → PlayerProfileInfo-ZVwlBvbh.js} +3 -3
- package/components/{PlayerRealityCheck-BHwzjDym.js → PlayerRealityCheck-Bi6lpL0v.js} +1 -1
- package/components/{PlayerRealityCheck-BT_hFdAZ.js → PlayerRealityCheck-C9W8GtJR.js} +1 -1
- package/components/{PlayerRealityCheck-C8exHE2R.cjs → PlayerRealityCheck-myBgKAFp.cjs} +1 -1
- package/components/{PlayerTransactionHistory-Dklg4VR4.js → PlayerTransactionHistory-8mNREoYL.js} +1 -1
- package/components/{PlayerTransactionHistory-dVPPIukO.cjs → PlayerTransactionHistory-j6l71uHK.cjs} +1 -1
- package/components/{PlayerTransactionHistory-DE8lGM1M.js → PlayerTransactionHistory-yz96f1bh.js} +1 -1
- package/components/{PlayerWithdrawal-CZ3GuLk3.js → PlayerWithdrawal-BsIMkmuq.js} +1 -1
- package/components/{PlayerWithdrawal-DeOK4pTB.js → PlayerWithdrawal-CbqAhvEu.js} +1 -1
- package/components/{PlayerWithdrawal-B5lDJGeE.cjs → PlayerWithdrawal-toa_4z_p.cjs} +1 -1
- package/components/{QrSessionGenerator-BYJr5tI3.cjs → QrSessionGenerator-C3uhzidE.cjs} +1 -1
- package/components/{QrSessionGenerator-t8Nc50K4.js → QrSessionGenerator-ChH_9ISD.js} +1 -1
- package/components/{QrSessionGenerator-4yiu-xqT.js → QrSessionGenerator-Czqk9RyS.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-D2rR0ezn.cjs +0 -5
- package/components/PlayerActiveBonuses-DJOTlACt.js +0 -1409
- package/components/PlayerActiveBonuses-DYldNwO_.js +0 -1449
|
@@ -1,1449 +0,0 @@
|
|
|
1
|
-
var an = Object.defineProperty, rn = Object.defineProperties;
|
|
2
|
-
var ln = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var Ee = Object.getOwnPropertySymbols;
|
|
4
|
-
var un = Object.prototype.hasOwnProperty, dn = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var Se = (n, e, o) => e in n ? an(n, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : n[e] = o, de = (n, e) => {
|
|
6
|
-
for (var o in e || (e = {}))
|
|
7
|
-
un.call(e, o) && Se(n, o, e[o]);
|
|
8
|
-
if (Ee)
|
|
9
|
-
for (var o of Ee(e))
|
|
10
|
-
dn.call(e, o) && Se(n, o, e[o]);
|
|
11
|
-
return n;
|
|
12
|
-
}, Pe = (n, e) => rn(n, ln(e));
|
|
13
|
-
var oe = (n, e, o) => new Promise((i, s) => {
|
|
14
|
-
var a = (u) => {
|
|
15
|
-
try {
|
|
16
|
-
d(o.next(u));
|
|
17
|
-
} catch (f) {
|
|
18
|
-
s(f);
|
|
19
|
-
}
|
|
20
|
-
}, r = (u) => {
|
|
21
|
-
try {
|
|
22
|
-
d(o.throw(u));
|
|
23
|
-
} catch (f) {
|
|
24
|
-
s(f);
|
|
25
|
-
}
|
|
26
|
-
}, d = (u) => u.done ? i(u.value) : Promise.resolve(u.value).then(a, r);
|
|
27
|
-
d((o = o.apply(n, e)).next());
|
|
28
|
-
});
|
|
29
|
-
import { a as cn, $ as pn, S as fn, i as mn, s as bn, f as z, b as gn, n as ge, d as j, v as Be, t as Z, K as Te, c as U, m as p, w as V, e as W, p as O, u as D, r as _, g as Bn, h as _n, o as vn, x as re, j as yn, L as _e, k as ce, l as qe, q as t, z as hn, A as Cn, B as wn, C as Mn, D as Wn } from "./PlayerAccountController-BHIBP88d.js";
|
|
30
|
-
function Ie(n, e) {
|
|
31
|
-
cn(n, e);
|
|
32
|
-
}
|
|
33
|
-
function An(n) {
|
|
34
|
-
pn.set(n);
|
|
35
|
-
}
|
|
36
|
-
const Fe = {
|
|
37
|
-
en: {
|
|
38
|
-
titleBonuses: "Active Bonuses",
|
|
39
|
-
bonusCode: "Do you have a bonus code?",
|
|
40
|
-
getBonus: "Get Bonus",
|
|
41
|
-
invalidBonusCode: "The bonus code provided is invalid.",
|
|
42
|
-
noActiveBonuses: "You have no active bonuses at the moment.",
|
|
43
|
-
forfeitBonus: "Are you sure want to forfeit bonus?",
|
|
44
|
-
forfeitBonusConfirm: "Confirm",
|
|
45
|
-
forfeitBonusCancel: "Cancel",
|
|
46
|
-
bonusClaimSuccessMessage: "Bonus claimed!",
|
|
47
|
-
bonusClaimErrorMessage: "Invalid bonus"
|
|
48
|
-
},
|
|
49
|
-
"zh-hk": {
|
|
50
|
-
titleBonuses: "活躍獎金",
|
|
51
|
-
bonusCode: "你有獎金代碼嗎?",
|
|
52
|
-
getBonus: "獲得獎金",
|
|
53
|
-
invalidBonusCode: "提供的紅利代碼無效。",
|
|
54
|
-
noActiveBonuses: "您目前沒有有效的獎金。",
|
|
55
|
-
forfeitBonus: "您確定要放棄獎金及其獎金嗎?",
|
|
56
|
-
forfeitBonusConfirm: "確認",
|
|
57
|
-
forfeitBonusCancel: "取消",
|
|
58
|
-
bonusClaimSuccessMessage: "獎金要求!",
|
|
59
|
-
bonusClaimErrorMessage: "無效獎金"
|
|
60
|
-
},
|
|
61
|
-
fr: {
|
|
62
|
-
titleBonuses: "Bonus actifs",
|
|
63
|
-
bonusCode: "Avez-vous un code bonus?",
|
|
64
|
-
getBonus: "Obtenir un bonus",
|
|
65
|
-
invalidBonusCode: "Le code bonus fourni n'est pas valide.",
|
|
66
|
-
noActiveBonuses: "Vous n'avez pas de bonus actifs pour le moment.",
|
|
67
|
-
forfeitBonus: "Etes-vous sûr de vouloir supprimer le bonus et ses gains?",
|
|
68
|
-
forfeitBonusConfirm: "Confirmer",
|
|
69
|
-
forfeitBonusCancel: "Annuler",
|
|
70
|
-
bonusClaimSuccessMessage: "Bonus réclamé!",
|
|
71
|
-
bonusClaimErrorMessage: "Bonus invalide"
|
|
72
|
-
},
|
|
73
|
-
ro: {
|
|
74
|
-
titleBonuses: "Bonusuri active",
|
|
75
|
-
bonusCode: "Ai un cod de bonus?",
|
|
76
|
-
getBonus: "Revendică",
|
|
77
|
-
invalidBonusCode: "Codul de bonus introdus este invalid.",
|
|
78
|
-
noActiveBonuses: "Nu ai niciun bonus activ în acest moment.",
|
|
79
|
-
forfeitBonus: "Ești sigur că vrei să anulezi acest bonus și câștigurile provenite din acest bonus?",
|
|
80
|
-
forfeitBonusConfirm: "Confirmă",
|
|
81
|
-
forfeitBonusCancel: "Anulează",
|
|
82
|
-
bonusClaimSuccessMessage: "Bonus revendicat!",
|
|
83
|
-
bonusClaimErrorMessage: "Bonus invalid"
|
|
84
|
-
},
|
|
85
|
-
es: {
|
|
86
|
-
titleBonuses: "Bonos Activos",
|
|
87
|
-
bonusCode: "Tienes un código de Bono?",
|
|
88
|
-
getBonus: "Obtener Bono",
|
|
89
|
-
invalidBonusCode: "El código del Bono no es válido.",
|
|
90
|
-
noActiveBonuses: "Usted no tiene Bonos activos en este momento.",
|
|
91
|
-
forfeitBonus: "Estas seguro que quieres perder el bono?",
|
|
92
|
-
forfeitBonusConfirm: "Confirmar",
|
|
93
|
-
forfeitBonusCancel: "Cancelar",
|
|
94
|
-
bonusClaimSuccessMessage: "Bono adjudicado!",
|
|
95
|
-
bonusClaimErrorMessage: "Bono invalido"
|
|
96
|
-
},
|
|
97
|
-
pt: {
|
|
98
|
-
titleBonuses: "Bônus Ativos",
|
|
99
|
-
bonusCode: "Você tem um código de bônus?",
|
|
100
|
-
getBonus: "Obter bônus",
|
|
101
|
-
invalidBonusCode: "O código de bônus fornecido é inválido.",
|
|
102
|
-
noActiveBonuses: "Você não tem bônus ativos no momento.",
|
|
103
|
-
forfeitBonus: "Tem certeza de que deseja perder o bônus e seus ganhos?",
|
|
104
|
-
forfeitBonusConfirm: "Confirmar",
|
|
105
|
-
forfeitBonusCancel: "Cancelar",
|
|
106
|
-
bonusClaimSuccessMessage: "Bônus reivindicado!",
|
|
107
|
-
bonusClaimErrorMessage: "Bônus inválido"
|
|
108
|
-
},
|
|
109
|
-
hr: {
|
|
110
|
-
titleBonuses: "Aktivni bonusi",
|
|
111
|
-
bonusCode: "Imate li bonus kod?",
|
|
112
|
-
getBonus: "Preuzmi bonus",
|
|
113
|
-
invalidBonusCode: "Navedeni bonus kod je nevažeći.",
|
|
114
|
-
noActiveBonuses: "Trenutno nemate aktivnih bonusa.",
|
|
115
|
-
forfeitBonus: "Jeste li sigurni da želite otkazati bonus?",
|
|
116
|
-
forfeitBonusConfirm: "Potvrdi",
|
|
117
|
-
forfeitBonusCancel: "Otkaži",
|
|
118
|
-
bonusClaimSuccessMessage: "Preuzet bonus!",
|
|
119
|
-
bonusClaimErrorMessage: "Nevažeći bonus"
|
|
120
|
-
},
|
|
121
|
-
"pt-br": {
|
|
122
|
-
titleBonuses: "Títulos ativos",
|
|
123
|
-
bonusCode: "Você tem um código de bônus?",
|
|
124
|
-
getBonus: "Reivindicar bônus",
|
|
125
|
-
invalidBonusCode: "O código de bônus emitido é inválido",
|
|
126
|
-
noActiveBonuses: "Não possui títulos ativos no momento",
|
|
127
|
-
forfeitBonus: "Tem certeza de que deseja recusar o bônus?",
|
|
128
|
-
forfeitBonusConfirm: "confirme",
|
|
129
|
-
forfeitBonusCancel: "Cancelar",
|
|
130
|
-
bonusClaimSuccessMessage: "Bônus ativado",
|
|
131
|
-
bonusClaimErrorMessage: "Voucher inválido"
|
|
132
|
-
},
|
|
133
|
-
"es-mx": {
|
|
134
|
-
titleBonuses: "Bonos activos",
|
|
135
|
-
bonusCode: "¿Tiene código de bonos?",
|
|
136
|
-
getBonus: "Reclamar bono",
|
|
137
|
-
invalidBonusCode: "El código de bono emitido es inválido",
|
|
138
|
-
noActiveBonuses: "No tiene bonos activos al momento",
|
|
139
|
-
forfeitBonus: "¿ Está seguro que quiere declinar el bono?",
|
|
140
|
-
forfeitBonusConfirm: "Confirmar",
|
|
141
|
-
forfeitBonusCancel: "Cancelar",
|
|
142
|
-
bonusClaimSuccessMessage: "Bono activado",
|
|
143
|
-
bonusClaimErrorMessage: "Bono inválido"
|
|
144
|
-
},
|
|
145
|
-
tr: {
|
|
146
|
-
titleBonuses: "Aktif Bonuslar",
|
|
147
|
-
bonusCode: "Bonus kodunuz var mı?",
|
|
148
|
-
getBonus: "Bonusu Al",
|
|
149
|
-
invalidBonusCode: "Sağlanan bonus kodu geçersiz.",
|
|
150
|
-
noActiveBonuses: "Şu anda aktif bonusunuz yok.",
|
|
151
|
-
forfeitBonus: "Bonusu kaybetmek istediğinizden emin misiniz?",
|
|
152
|
-
forfeitBonusConfirm: "Onaylamak",
|
|
153
|
-
forfeitBonusCancel: "İptal etmek",
|
|
154
|
-
bonusClaimSuccessMessage: "Bonus talep edildi!",
|
|
155
|
-
bonusClaimErrorMessage: "Geçersiz bonus"
|
|
156
|
-
},
|
|
157
|
-
"en-us": {
|
|
158
|
-
titleBonuses: "Active Bonuses",
|
|
159
|
-
bonusCode: "Do you have a bonus code?",
|
|
160
|
-
getBonus: "Get Bonus",
|
|
161
|
-
invalidBonusCode: "The bonus code provided is invalid.",
|
|
162
|
-
noActiveBonuses: "You have no active bonuses at the moment.",
|
|
163
|
-
forfeitBonus: "Are you sure want to forfeit bonus?",
|
|
164
|
-
forfeitBonusConfirm: "Confirm",
|
|
165
|
-
forfeitBonusCancel: "Cancel",
|
|
166
|
-
bonusClaimSuccessMessage: "Bonus claimed!",
|
|
167
|
-
bonusClaimErrorMessage: "Invalid bonus"
|
|
168
|
-
}
|
|
169
|
-
}, ve = {
|
|
170
|
-
CLAIM: "/v1/bonus/claim",
|
|
171
|
-
FORFEIT: "/v1/bonus/forfeit",
|
|
172
|
-
GRANTED: "/v1/bonus/granted"
|
|
173
|
-
}, Re = {
|
|
174
|
-
TYPES: "standard,freeBet,freeRound,cashBack,stakeBack,oddsBoost,wagering",
|
|
175
|
-
STATUS_ACTIVE: "active",
|
|
176
|
-
STATUS_COMPLETED: "completed,released,forfeited,expired,closed"
|
|
177
|
-
}, kn = {
|
|
178
|
-
ODDS_BOOST: "oddsBoost"
|
|
179
|
-
};
|
|
180
|
-
function ye(o) {
|
|
181
|
-
return oe(this, arguments, function* (n, e = {}) {
|
|
182
|
-
const i = typeof n == "string" ? n : n.toString(), s = yield fetch(i, e);
|
|
183
|
-
let a = null;
|
|
184
|
-
try {
|
|
185
|
-
a = yield s.json();
|
|
186
|
-
} catch (u) {
|
|
187
|
-
a = null;
|
|
188
|
-
}
|
|
189
|
-
if (s.ok && a)
|
|
190
|
-
return a;
|
|
191
|
-
const r = a && typeof a == "object" ? a : {}, d = {
|
|
192
|
-
success: !1,
|
|
193
|
-
errorMessage: typeof r.errorMessage == "string" && r.errorMessage || s.statusText || String(s.status),
|
|
194
|
-
errorCode: typeof r.errorCode == "number" ? r.errorCode : void 0
|
|
195
|
-
};
|
|
196
|
-
return de(de({}, r), d);
|
|
197
|
-
});
|
|
198
|
-
}
|
|
199
|
-
function En(n, e, o) {
|
|
200
|
-
return oe(this, null, function* () {
|
|
201
|
-
const i = `${n}${ve.CLAIM}`;
|
|
202
|
-
return ye(i, {
|
|
203
|
-
method: "PUT",
|
|
204
|
-
headers: {
|
|
205
|
-
"x-SessionId": e,
|
|
206
|
-
accept: "application/json",
|
|
207
|
-
"Content-Type": "application/json-patch+json"
|
|
208
|
-
},
|
|
209
|
-
body: JSON.stringify(o)
|
|
210
|
-
});
|
|
211
|
-
});
|
|
212
|
-
}
|
|
213
|
-
function Sn(n, e, o) {
|
|
214
|
-
return oe(this, null, function* () {
|
|
215
|
-
const i = new URL(`${n}${ve.FORFEIT}`);
|
|
216
|
-
return i.searchParams.append("bonusWalletID", o.bonusWalletID), ye(i, {
|
|
217
|
-
method: "DELETE",
|
|
218
|
-
headers: {
|
|
219
|
-
"x-SessionId": e,
|
|
220
|
-
accept: "application/json"
|
|
221
|
-
}
|
|
222
|
-
});
|
|
223
|
-
});
|
|
224
|
-
}
|
|
225
|
-
function Pn(n, e, o) {
|
|
226
|
-
return oe(this, null, function* () {
|
|
227
|
-
const i = new URL(`${n}${ve.GRANTED}`);
|
|
228
|
-
Object.entries(o).forEach(([a, r]) => {
|
|
229
|
-
r != null && i.searchParams.append(a, String(r));
|
|
230
|
-
});
|
|
231
|
-
const s = {};
|
|
232
|
-
return e && (s["x-SessionId"] = e), ye(i, {
|
|
233
|
-
headers: s
|
|
234
|
-
});
|
|
235
|
-
});
|
|
236
|
-
}
|
|
237
|
-
if (typeof window != "undefined") {
|
|
238
|
-
let n = function(e) {
|
|
239
|
-
return function(...o) {
|
|
240
|
-
try {
|
|
241
|
-
return e.apply(this, o);
|
|
242
|
-
} catch (i) {
|
|
243
|
-
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"))
|
|
244
|
-
return !1;
|
|
245
|
-
throw i;
|
|
246
|
-
}
|
|
247
|
-
};
|
|
248
|
-
};
|
|
249
|
-
customElements.define = n(customElements.define), import("./PlayerBonusCard-D9ZLSuFm.js").then(({ default: e }) => {
|
|
250
|
-
!customElements.get("player-bonus-card") && customElements.define("player-bonus-card", e.element);
|
|
251
|
-
});
|
|
252
|
-
}
|
|
253
|
-
function Tn(n) {
|
|
254
|
-
gn(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)}}');
|
|
255
|
-
}
|
|
256
|
-
function Le(n, e, o) {
|
|
257
|
-
const i = n.slice();
|
|
258
|
-
return i[58] = e[o], i[60] = o, i;
|
|
259
|
-
}
|
|
260
|
-
function ze(n, e, o) {
|
|
261
|
-
const i = n.slice();
|
|
262
|
-
return i[61] = e[o], i;
|
|
263
|
-
}
|
|
264
|
-
function In(n) {
|
|
265
|
-
let e, o, i, s, a, r, d, u, f, y, M = (
|
|
266
|
-
/*$_*/
|
|
267
|
-
n[21]("titleBonuses") + ""
|
|
268
|
-
), A, v, h;
|
|
269
|
-
return {
|
|
270
|
-
c() {
|
|
271
|
-
e = W("div"), o = re("svg"), i = re("defs"), s = re("style"), a = D(`.aaa {
|
|
272
|
-
fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
|
|
273
|
-
}
|
|
274
|
-
`), r = re("g"), d = re("g"), u = re("path"), f = O(), y = W("h2"), A = D(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)"), _(r, "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");
|
|
275
|
-
},
|
|
276
|
-
m(w, C) {
|
|
277
|
-
U(w, e, C), p(e, o), p(o, i), p(i, s), p(s, a), p(o, r), p(r, d), p(d, u), p(e, f), p(e, y), p(y, A), v || (h = V(
|
|
278
|
-
e,
|
|
279
|
-
"click",
|
|
280
|
-
/*click_handler*/
|
|
281
|
-
n[37]
|
|
282
|
-
), v = !0);
|
|
283
|
-
},
|
|
284
|
-
p(w, C) {
|
|
285
|
-
C[0] & /*$_*/
|
|
286
|
-
2097152 && M !== (M = /*$_*/
|
|
287
|
-
w[21]("titleBonuses") + "") && Z(A, M);
|
|
288
|
-
},
|
|
289
|
-
d(w) {
|
|
290
|
-
w && j(e), v = !1, h();
|
|
291
|
-
}
|
|
292
|
-
};
|
|
293
|
-
}
|
|
294
|
-
function Ne(n) {
|
|
295
|
-
let e, o = (
|
|
296
|
-
/*$_*/
|
|
297
|
-
n[21]("invalidBonusCode") + ""
|
|
298
|
-
), i;
|
|
299
|
-
return {
|
|
300
|
-
c() {
|
|
301
|
-
e = W("p"), i = D(o), _(e, "class", "InvalidBonusCodeMessage");
|
|
302
|
-
},
|
|
303
|
-
m(s, a) {
|
|
304
|
-
U(s, e, a), p(e, i);
|
|
305
|
-
},
|
|
306
|
-
p(s, a) {
|
|
307
|
-
a[0] & /*$_*/
|
|
308
|
-
2097152 && o !== (o = /*$_*/
|
|
309
|
-
s[21]("invalidBonusCode") + "") && Z(i, o);
|
|
310
|
-
},
|
|
311
|
-
d(s) {
|
|
312
|
-
s && j(e);
|
|
313
|
-
}
|
|
314
|
-
};
|
|
315
|
-
}
|
|
316
|
-
function Fn(n) {
|
|
317
|
-
let e, o, i;
|
|
318
|
-
function s(u, f) {
|
|
319
|
-
return (
|
|
320
|
-
/*activeBonusesList*/
|
|
321
|
-
u[19].length === 0 ? zn : Ln
|
|
322
|
-
);
|
|
323
|
-
}
|
|
324
|
-
let a = s(n), r = a(n), d = (
|
|
325
|
-
/*activeBonusesList*/
|
|
326
|
-
n[19].length !== 0 && De(n)
|
|
327
|
-
);
|
|
328
|
-
return {
|
|
329
|
-
c() {
|
|
330
|
-
e = W("div"), r.c(), o = O(), d && d.c(), i = _e(), _(e, "class", "ActiveBonusesGrid " + /*isMobile*/
|
|
331
|
-
(n[22] ? "ActiveBonusesGridMobile" : ""));
|
|
332
|
-
},
|
|
333
|
-
m(u, f) {
|
|
334
|
-
U(u, e, f), r.m(e, null), U(u, o, f), d && d.m(u, f), U(u, i, f);
|
|
335
|
-
},
|
|
336
|
-
p(u, f) {
|
|
337
|
-
a === (a = s(u)) && r ? r.p(u, f) : (r.d(1), r = a(u), r && (r.c(), r.m(e, null))), /*activeBonusesList*/
|
|
338
|
-
u[19].length !== 0 ? d ? d.p(u, f) : (d = De(u), d.c(), d.m(i.parentNode, i)) : d && (d.d(1), d = null);
|
|
339
|
-
},
|
|
340
|
-
d(u) {
|
|
341
|
-
u && (j(e), j(o), j(i)), r.d(), d && d.d(u);
|
|
342
|
-
}
|
|
343
|
-
};
|
|
344
|
-
}
|
|
345
|
-
function Rn(n) {
|
|
346
|
-
let e;
|
|
347
|
-
return {
|
|
348
|
-
c() {
|
|
349
|
-
e = W("div"), _(e, "class", "ModalLoader"), _(e, "part", "ModalLoader");
|
|
350
|
-
},
|
|
351
|
-
m(o, i) {
|
|
352
|
-
U(o, e, i);
|
|
353
|
-
},
|
|
354
|
-
p: ge,
|
|
355
|
-
d(o) {
|
|
356
|
-
o && j(e);
|
|
357
|
-
}
|
|
358
|
-
};
|
|
359
|
-
}
|
|
360
|
-
function Ln(n) {
|
|
361
|
-
let e, o = ce(
|
|
362
|
-
/*activeBonusesList*/
|
|
363
|
-
n[19]
|
|
364
|
-
), i = [];
|
|
365
|
-
for (let s = 0; s < o.length; s += 1)
|
|
366
|
-
i[s] = Oe(ze(n, o, s));
|
|
367
|
-
return {
|
|
368
|
-
c() {
|
|
369
|
-
for (let s = 0; s < i.length; s += 1)
|
|
370
|
-
i[s].c();
|
|
371
|
-
e = _e();
|
|
372
|
-
},
|
|
373
|
-
m(s, a) {
|
|
374
|
-
for (let r = 0; r < i.length; r += 1)
|
|
375
|
-
i[r] && i[r].m(s, a);
|
|
376
|
-
U(s, e, a);
|
|
377
|
-
},
|
|
378
|
-
p(s, a) {
|
|
379
|
-
if (a[0] & /*activeBonusesList, lang, dateformat, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale, ishiddenwageringbonus, filterbonusbalance*/
|
|
380
|
-
524799) {
|
|
381
|
-
o = ce(
|
|
382
|
-
/*activeBonusesList*/
|
|
383
|
-
s[19]
|
|
384
|
-
);
|
|
385
|
-
let r;
|
|
386
|
-
for (r = 0; r < o.length; r += 1) {
|
|
387
|
-
const d = ze(s, o, r);
|
|
388
|
-
i[r] ? i[r].p(d, a) : (i[r] = Oe(d), i[r].c(), i[r].m(e.parentNode, e));
|
|
389
|
-
}
|
|
390
|
-
for (; r < i.length; r += 1)
|
|
391
|
-
i[r].d(1);
|
|
392
|
-
i.length = o.length;
|
|
393
|
-
}
|
|
394
|
-
},
|
|
395
|
-
d(s) {
|
|
396
|
-
s && j(e), qe(i, s);
|
|
397
|
-
}
|
|
398
|
-
};
|
|
399
|
-
}
|
|
400
|
-
function zn(n) {
|
|
401
|
-
let e, o = (
|
|
402
|
-
/*$_*/
|
|
403
|
-
n[21]("noActiveBonuses") + ""
|
|
404
|
-
), i;
|
|
405
|
-
return {
|
|
406
|
-
c() {
|
|
407
|
-
e = W("p"), i = D(o);
|
|
408
|
-
},
|
|
409
|
-
m(s, a) {
|
|
410
|
-
U(s, e, a), p(e, i);
|
|
411
|
-
},
|
|
412
|
-
p(s, a) {
|
|
413
|
-
a[0] & /*$_*/
|
|
414
|
-
2097152 && o !== (o = /*$_*/
|
|
415
|
-
s[21]("noActiveBonuses") + "") && Z(i, o);
|
|
416
|
-
},
|
|
417
|
-
d(s) {
|
|
418
|
-
s && j(e);
|
|
419
|
-
}
|
|
420
|
-
};
|
|
421
|
-
}
|
|
422
|
-
function Nn(n) {
|
|
423
|
-
let e, o, i, s, a, r, d, u, f, y, M, A, v, h, w, C, m, c;
|
|
424
|
-
return {
|
|
425
|
-
c() {
|
|
426
|
-
e = W("player-bonus-card"), t(e, "termsandconditionsdescription", o = /*activeBonus*/
|
|
427
|
-
n[61].termsandconditionsdescription), t(e, "termsandconditionsurl", i = /*activeBonus*/
|
|
428
|
-
n[61].termsandconditionsurl), t(e, "termsandconditionsasset", s = /*activeBonus*/
|
|
429
|
-
n[61].termsandconditionsasset), t(e, "endpoint", a = /*activeBonus*/
|
|
430
|
-
n[61].endpoint), t(e, "playerid", r = /*activeBonus*/
|
|
431
|
-
n[61].playerid), t(e, "session", d = /*activeBonus*/
|
|
432
|
-
n[61].session), t(e, "bonuswalletid", u = /*activeBonus*/
|
|
433
|
-
n[61].walletId), t(e, "bonusdate", f = /*activeBonus*/
|
|
434
|
-
n[61].granted), t(e, "bonusexpirationdate", y = /*activeBonus*/
|
|
435
|
-
n[61].expiryTime), t(e, "bonusstatus", M = /*activeBonus*/
|
|
436
|
-
n[61].status), t(e, "bonusname", A = /*activeBonus*/
|
|
437
|
-
n[61].name), t(e, "bonustype", v = /*activeBonus*/
|
|
438
|
-
n[61].type), t(e, "bonusamount", h = /*activeBonus*/
|
|
439
|
-
n[61].extension.grantedPlayerCurrencyAmount), t(e, "bonuswageringamount", w = `${/*activeBonus*/
|
|
440
|
-
n[61].fulfilledWR} / ${/*activeBonus*/
|
|
441
|
-
n[61].originalWageringRequirement}`), t(e, "bonusremainingamount", C = /*activeBonus*/
|
|
442
|
-
n[61].currentAmount), t(e, "bonuscurrency", m = /*activeBonus*/
|
|
443
|
-
n[61].currency), t(e, "isWinBonus", c = /*activeBonus*/
|
|
444
|
-
n[61].isWinBonus), t(
|
|
445
|
-
e,
|
|
446
|
-
"lang",
|
|
447
|
-
/*lang*/
|
|
448
|
-
n[0]
|
|
449
|
-
), t(
|
|
450
|
-
e,
|
|
451
|
-
"dateformat",
|
|
452
|
-
/*dateformat*/
|
|
453
|
-
n[6]
|
|
454
|
-
), t(
|
|
455
|
-
e,
|
|
456
|
-
"clientstyling",
|
|
457
|
-
/*clientstyling*/
|
|
458
|
-
n[1]
|
|
459
|
-
), t(
|
|
460
|
-
e,
|
|
461
|
-
"clientstylingurl",
|
|
462
|
-
/*clientstylingurl*/
|
|
463
|
-
n[2]
|
|
464
|
-
), t(
|
|
465
|
-
e,
|
|
466
|
-
"mbsource",
|
|
467
|
-
/*mbsource*/
|
|
468
|
-
n[3]
|
|
469
|
-
), t(
|
|
470
|
-
e,
|
|
471
|
-
"translationurl",
|
|
472
|
-
/*translationurl*/
|
|
473
|
-
n[4]
|
|
474
|
-
), t(
|
|
475
|
-
e,
|
|
476
|
-
"currencylocale",
|
|
477
|
-
/*currencylocale*/
|
|
478
|
-
n[5]
|
|
479
|
-
), t(
|
|
480
|
-
e,
|
|
481
|
-
"ishiddenwageringbonus",
|
|
482
|
-
/*ishiddenwageringbonus*/
|
|
483
|
-
n[7]
|
|
484
|
-
), t(
|
|
485
|
-
e,
|
|
486
|
-
"filterbonusbalance",
|
|
487
|
-
/*filterbonusbalance*/
|
|
488
|
-
n[8]
|
|
489
|
-
);
|
|
490
|
-
},
|
|
491
|
-
m(b, B) {
|
|
492
|
-
U(b, e, B);
|
|
493
|
-
},
|
|
494
|
-
p(b, B) {
|
|
495
|
-
B[0] & /*activeBonusesList*/
|
|
496
|
-
524288 && o !== (o = /*activeBonus*/
|
|
497
|
-
b[61].termsandconditionsdescription) && t(e, "termsandconditionsdescription", o), B[0] & /*activeBonusesList*/
|
|
498
|
-
524288 && i !== (i = /*activeBonus*/
|
|
499
|
-
b[61].termsandconditionsurl) && t(e, "termsandconditionsurl", i), B[0] & /*activeBonusesList*/
|
|
500
|
-
524288 && s !== (s = /*activeBonus*/
|
|
501
|
-
b[61].termsandconditionsasset) && t(e, "termsandconditionsasset", s), B[0] & /*activeBonusesList*/
|
|
502
|
-
524288 && a !== (a = /*activeBonus*/
|
|
503
|
-
b[61].endpoint) && t(e, "endpoint", a), B[0] & /*activeBonusesList*/
|
|
504
|
-
524288 && r !== (r = /*activeBonus*/
|
|
505
|
-
b[61].playerid) && t(e, "playerid", r), B[0] & /*activeBonusesList*/
|
|
506
|
-
524288 && d !== (d = /*activeBonus*/
|
|
507
|
-
b[61].session) && t(e, "session", d), B[0] & /*activeBonusesList*/
|
|
508
|
-
524288 && u !== (u = /*activeBonus*/
|
|
509
|
-
b[61].walletId) && t(e, "bonuswalletid", u), B[0] & /*activeBonusesList*/
|
|
510
|
-
524288 && f !== (f = /*activeBonus*/
|
|
511
|
-
b[61].granted) && t(e, "bonusdate", f), B[0] & /*activeBonusesList*/
|
|
512
|
-
524288 && y !== (y = /*activeBonus*/
|
|
513
|
-
b[61].expiryTime) && t(e, "bonusexpirationdate", y), B[0] & /*activeBonusesList*/
|
|
514
|
-
524288 && M !== (M = /*activeBonus*/
|
|
515
|
-
b[61].status) && t(e, "bonusstatus", M), B[0] & /*activeBonusesList*/
|
|
516
|
-
524288 && A !== (A = /*activeBonus*/
|
|
517
|
-
b[61].name) && t(e, "bonusname", A), B[0] & /*activeBonusesList*/
|
|
518
|
-
524288 && v !== (v = /*activeBonus*/
|
|
519
|
-
b[61].type) && t(e, "bonustype", v), B[0] & /*activeBonusesList*/
|
|
520
|
-
524288 && h !== (h = /*activeBonus*/
|
|
521
|
-
b[61].extension.grantedPlayerCurrencyAmount) && t(e, "bonusamount", h), B[0] & /*activeBonusesList*/
|
|
522
|
-
524288 && w !== (w = `${/*activeBonus*/
|
|
523
|
-
b[61].fulfilledWR} / ${/*activeBonus*/
|
|
524
|
-
b[61].originalWageringRequirement}`) && t(e, "bonuswageringamount", w), B[0] & /*activeBonusesList*/
|
|
525
|
-
524288 && C !== (C = /*activeBonus*/
|
|
526
|
-
b[61].currentAmount) && t(e, "bonusremainingamount", C), B[0] & /*activeBonusesList*/
|
|
527
|
-
524288 && m !== (m = /*activeBonus*/
|
|
528
|
-
b[61].currency) && t(e, "bonuscurrency", m), B[0] & /*activeBonusesList*/
|
|
529
|
-
524288 && c !== (c = /*activeBonus*/
|
|
530
|
-
b[61].isWinBonus) && t(e, "isWinBonus", c), B[0] & /*lang*/
|
|
531
|
-
1 && t(
|
|
532
|
-
e,
|
|
533
|
-
"lang",
|
|
534
|
-
/*lang*/
|
|
535
|
-
b[0]
|
|
536
|
-
), B[0] & /*dateformat*/
|
|
537
|
-
64 && t(
|
|
538
|
-
e,
|
|
539
|
-
"dateformat",
|
|
540
|
-
/*dateformat*/
|
|
541
|
-
b[6]
|
|
542
|
-
), B[0] & /*clientstyling*/
|
|
543
|
-
2 && t(
|
|
544
|
-
e,
|
|
545
|
-
"clientstyling",
|
|
546
|
-
/*clientstyling*/
|
|
547
|
-
b[1]
|
|
548
|
-
), B[0] & /*clientstylingurl*/
|
|
549
|
-
4 && t(
|
|
550
|
-
e,
|
|
551
|
-
"clientstylingurl",
|
|
552
|
-
/*clientstylingurl*/
|
|
553
|
-
b[2]
|
|
554
|
-
), B[0] & /*mbsource*/
|
|
555
|
-
8 && t(
|
|
556
|
-
e,
|
|
557
|
-
"mbsource",
|
|
558
|
-
/*mbsource*/
|
|
559
|
-
b[3]
|
|
560
|
-
), B[0] & /*translationurl*/
|
|
561
|
-
16 && t(
|
|
562
|
-
e,
|
|
563
|
-
"translationurl",
|
|
564
|
-
/*translationurl*/
|
|
565
|
-
b[4]
|
|
566
|
-
), B[0] & /*currencylocale*/
|
|
567
|
-
32 && t(
|
|
568
|
-
e,
|
|
569
|
-
"currencylocale",
|
|
570
|
-
/*currencylocale*/
|
|
571
|
-
b[5]
|
|
572
|
-
), B[0] & /*ishiddenwageringbonus*/
|
|
573
|
-
128 && t(
|
|
574
|
-
e,
|
|
575
|
-
"ishiddenwageringbonus",
|
|
576
|
-
/*ishiddenwageringbonus*/
|
|
577
|
-
b[7]
|
|
578
|
-
), B[0] & /*filterbonusbalance*/
|
|
579
|
-
256 && t(
|
|
580
|
-
e,
|
|
581
|
-
"filterbonusbalance",
|
|
582
|
-
/*filterbonusbalance*/
|
|
583
|
-
b[8]
|
|
584
|
-
);
|
|
585
|
-
},
|
|
586
|
-
d(b) {
|
|
587
|
-
b && j(e);
|
|
588
|
-
}
|
|
589
|
-
};
|
|
590
|
-
}
|
|
591
|
-
function On(n) {
|
|
592
|
-
let e, o, i, s, a, r, d, u, f, y, M, A, v, h, w, C;
|
|
593
|
-
return {
|
|
594
|
-
c() {
|
|
595
|
-
e = W("player-bonus-card"), t(e, "termsandconditionsdescription", o = /*activeBonus*/
|
|
596
|
-
n[61].termsandconditionsdescription), t(e, "termsandconditionsurl", i = /*activeBonus*/
|
|
597
|
-
n[61].termsandconditionsurl), t(e, "termsandconditionsasset", s = /*activeBonus*/
|
|
598
|
-
n[61].termsandconditionsasset), t(e, "endpoint", a = /*activeBonus*/
|
|
599
|
-
n[61].endpoint), t(e, "playerid", r = /*activeBonus*/
|
|
600
|
-
n[61].playerid), t(e, "session", d = /*activeBonus*/
|
|
601
|
-
n[61].session), t(e, "bonuswalletid", u = /*activeBonus*/
|
|
602
|
-
n[61].walletId), t(e, "bonusdate", f = /*activeBonus*/
|
|
603
|
-
n[61].granted), t(e, "bonusexpirationdate", y = /*activeBonus*/
|
|
604
|
-
n[61].expiryTime), t(e, "bonusstatus", M = /*activeBonus*/
|
|
605
|
-
n[61].status), t(e, "bonusname", A = /*activeBonus*/
|
|
606
|
-
n[61].name), t(e, "bonustype", v = /*activeBonus*/
|
|
607
|
-
n[61].type), t(e, "bonuscurrency", h = /*activeBonus*/
|
|
608
|
-
n[61].currency), t(e, "bonusfreespins", w = /*activeBonus*/
|
|
609
|
-
n[61].freeRoundNumber), t(e, "isWinBonus", C = /*activeBonus*/
|
|
610
|
-
n[61].isWinBonus), t(
|
|
611
|
-
e,
|
|
612
|
-
"lang",
|
|
613
|
-
/*lang*/
|
|
614
|
-
n[0]
|
|
615
|
-
), t(
|
|
616
|
-
e,
|
|
617
|
-
"dateformat",
|
|
618
|
-
/*dateformat*/
|
|
619
|
-
n[6]
|
|
620
|
-
), t(
|
|
621
|
-
e,
|
|
622
|
-
"clientstyling",
|
|
623
|
-
/*clientstyling*/
|
|
624
|
-
n[1]
|
|
625
|
-
), t(
|
|
626
|
-
e,
|
|
627
|
-
"clientstylingurl",
|
|
628
|
-
/*clientstylingurl*/
|
|
629
|
-
n[2]
|
|
630
|
-
), t(
|
|
631
|
-
e,
|
|
632
|
-
"mbsource",
|
|
633
|
-
/*mbsource*/
|
|
634
|
-
n[3]
|
|
635
|
-
), t(
|
|
636
|
-
e,
|
|
637
|
-
"translationurl",
|
|
638
|
-
/*translationurl*/
|
|
639
|
-
n[4]
|
|
640
|
-
), t(
|
|
641
|
-
e,
|
|
642
|
-
"currencylocale",
|
|
643
|
-
/*currencylocale*/
|
|
644
|
-
n[5]
|
|
645
|
-
), t(
|
|
646
|
-
e,
|
|
647
|
-
"ishiddenwageringbonus",
|
|
648
|
-
/*ishiddenwageringbonus*/
|
|
649
|
-
n[7]
|
|
650
|
-
), t(
|
|
651
|
-
e,
|
|
652
|
-
"filterbonusbalance",
|
|
653
|
-
/*filterbonusbalance*/
|
|
654
|
-
n[8]
|
|
655
|
-
);
|
|
656
|
-
},
|
|
657
|
-
m(m, c) {
|
|
658
|
-
U(m, e, c);
|
|
659
|
-
},
|
|
660
|
-
p(m, c) {
|
|
661
|
-
c[0] & /*activeBonusesList*/
|
|
662
|
-
524288 && o !== (o = /*activeBonus*/
|
|
663
|
-
m[61].termsandconditionsdescription) && t(e, "termsandconditionsdescription", o), c[0] & /*activeBonusesList*/
|
|
664
|
-
524288 && i !== (i = /*activeBonus*/
|
|
665
|
-
m[61].termsandconditionsurl) && t(e, "termsandconditionsurl", i), c[0] & /*activeBonusesList*/
|
|
666
|
-
524288 && s !== (s = /*activeBonus*/
|
|
667
|
-
m[61].termsandconditionsasset) && t(e, "termsandconditionsasset", s), c[0] & /*activeBonusesList*/
|
|
668
|
-
524288 && a !== (a = /*activeBonus*/
|
|
669
|
-
m[61].endpoint) && t(e, "endpoint", a), c[0] & /*activeBonusesList*/
|
|
670
|
-
524288 && r !== (r = /*activeBonus*/
|
|
671
|
-
m[61].playerid) && t(e, "playerid", r), c[0] & /*activeBonusesList*/
|
|
672
|
-
524288 && d !== (d = /*activeBonus*/
|
|
673
|
-
m[61].session) && t(e, "session", d), c[0] & /*activeBonusesList*/
|
|
674
|
-
524288 && u !== (u = /*activeBonus*/
|
|
675
|
-
m[61].walletId) && t(e, "bonuswalletid", u), c[0] & /*activeBonusesList*/
|
|
676
|
-
524288 && f !== (f = /*activeBonus*/
|
|
677
|
-
m[61].granted) && t(e, "bonusdate", f), c[0] & /*activeBonusesList*/
|
|
678
|
-
524288 && y !== (y = /*activeBonus*/
|
|
679
|
-
m[61].expiryTime) && t(e, "bonusexpirationdate", y), c[0] & /*activeBonusesList*/
|
|
680
|
-
524288 && M !== (M = /*activeBonus*/
|
|
681
|
-
m[61].status) && t(e, "bonusstatus", M), c[0] & /*activeBonusesList*/
|
|
682
|
-
524288 && A !== (A = /*activeBonus*/
|
|
683
|
-
m[61].name) && t(e, "bonusname", A), c[0] & /*activeBonusesList*/
|
|
684
|
-
524288 && v !== (v = /*activeBonus*/
|
|
685
|
-
m[61].type) && t(e, "bonustype", v), c[0] & /*activeBonusesList*/
|
|
686
|
-
524288 && h !== (h = /*activeBonus*/
|
|
687
|
-
m[61].currency) && t(e, "bonuscurrency", h), c[0] & /*activeBonusesList*/
|
|
688
|
-
524288 && w !== (w = /*activeBonus*/
|
|
689
|
-
m[61].freeRoundNumber) && t(e, "bonusfreespins", w), c[0] & /*activeBonusesList*/
|
|
690
|
-
524288 && C !== (C = /*activeBonus*/
|
|
691
|
-
m[61].isWinBonus) && t(e, "isWinBonus", C), c[0] & /*lang*/
|
|
692
|
-
1 && t(
|
|
693
|
-
e,
|
|
694
|
-
"lang",
|
|
695
|
-
/*lang*/
|
|
696
|
-
m[0]
|
|
697
|
-
), c[0] & /*dateformat*/
|
|
698
|
-
64 && t(
|
|
699
|
-
e,
|
|
700
|
-
"dateformat",
|
|
701
|
-
/*dateformat*/
|
|
702
|
-
m[6]
|
|
703
|
-
), c[0] & /*clientstyling*/
|
|
704
|
-
2 && t(
|
|
705
|
-
e,
|
|
706
|
-
"clientstyling",
|
|
707
|
-
/*clientstyling*/
|
|
708
|
-
m[1]
|
|
709
|
-
), c[0] & /*clientstylingurl*/
|
|
710
|
-
4 && t(
|
|
711
|
-
e,
|
|
712
|
-
"clientstylingurl",
|
|
713
|
-
/*clientstylingurl*/
|
|
714
|
-
m[2]
|
|
715
|
-
), c[0] & /*mbsource*/
|
|
716
|
-
8 && t(
|
|
717
|
-
e,
|
|
718
|
-
"mbsource",
|
|
719
|
-
/*mbsource*/
|
|
720
|
-
m[3]
|
|
721
|
-
), c[0] & /*translationurl*/
|
|
722
|
-
16 && t(
|
|
723
|
-
e,
|
|
724
|
-
"translationurl",
|
|
725
|
-
/*translationurl*/
|
|
726
|
-
m[4]
|
|
727
|
-
), c[0] & /*currencylocale*/
|
|
728
|
-
32 && t(
|
|
729
|
-
e,
|
|
730
|
-
"currencylocale",
|
|
731
|
-
/*currencylocale*/
|
|
732
|
-
m[5]
|
|
733
|
-
), c[0] & /*ishiddenwageringbonus*/
|
|
734
|
-
128 && t(
|
|
735
|
-
e,
|
|
736
|
-
"ishiddenwageringbonus",
|
|
737
|
-
/*ishiddenwageringbonus*/
|
|
738
|
-
m[7]
|
|
739
|
-
), c[0] & /*filterbonusbalance*/
|
|
740
|
-
256 && t(
|
|
741
|
-
e,
|
|
742
|
-
"filterbonusbalance",
|
|
743
|
-
/*filterbonusbalance*/
|
|
744
|
-
m[8]
|
|
745
|
-
);
|
|
746
|
-
},
|
|
747
|
-
d(m) {
|
|
748
|
-
m && j(e);
|
|
749
|
-
}
|
|
750
|
-
};
|
|
751
|
-
}
|
|
752
|
-
function Oe(n) {
|
|
753
|
-
let e;
|
|
754
|
-
function o(a, r) {
|
|
755
|
-
return (
|
|
756
|
-
/*activeBonus*/
|
|
757
|
-
a[61].type === "freeRound" ? On : Nn
|
|
758
|
-
);
|
|
759
|
-
}
|
|
760
|
-
let i = o(n), s = i(n);
|
|
761
|
-
return {
|
|
762
|
-
c() {
|
|
763
|
-
s.c(), e = _e();
|
|
764
|
-
},
|
|
765
|
-
m(a, r) {
|
|
766
|
-
s.m(a, r), U(a, e, r);
|
|
767
|
-
},
|
|
768
|
-
p(a, r) {
|
|
769
|
-
i === (i = o(a)) && s ? s.p(a, r) : (s.d(1), s = i(a), s && (s.c(), s.m(e.parentNode, e)));
|
|
770
|
-
},
|
|
771
|
-
d(a) {
|
|
772
|
-
a && j(e), s.d(a);
|
|
773
|
-
}
|
|
774
|
-
};
|
|
775
|
-
}
|
|
776
|
-
function De(n) {
|
|
777
|
-
let e, o, i, s, a, r, d, u, f, y, M, A, v, h, w, C, m, c, b, B, F, x, $, q = ce(Array(
|
|
778
|
-
/*numberOfPages*/
|
|
779
|
-
n[17]
|
|
780
|
-
)), E = [];
|
|
781
|
-
for (let g = 0; g < q.length; g += 1)
|
|
782
|
-
E[g] = je(Le(n, q, g));
|
|
783
|
-
return {
|
|
784
|
-
c() {
|
|
785
|
-
e = W("div"), o = W("button"), i = D("|<"), r = O(), d = W("button"), u = D("<"), M = O();
|
|
786
|
-
for (let g = 0; g < E.length; g += 1)
|
|
787
|
-
E[g].c();
|
|
788
|
-
A = O(), v = W("button"), h = D(">"), m = O(), c = W("button"), b = D(">|"), o.disabled = s = /*currentPage*/
|
|
789
|
-
n[18] === 0, _(o, "class", a = "BonusesFirst " + /*currentPage*/
|
|
790
|
-
(n[18] === 0 ? "Inactive" : "")), d.disabled = f = /*currentPage*/
|
|
791
|
-
n[18] === 0, _(d, "class", y = "BonusesPrev " + /*currentPage*/
|
|
792
|
-
(n[18] === 0 ? "Inactive" : "")), v.disabled = w = /*currentPage*/
|
|
793
|
-
n[18] === /*numberOfPages*/
|
|
794
|
-
n[17] - 1, _(v, "class", C = "BonusesNext " + /*currentPage*/
|
|
795
|
-
(n[18] === /*numberOfPages*/
|
|
796
|
-
n[17] - 1 ? "Inactive" : "")), c.disabled = B = /*currentPage*/
|
|
797
|
-
n[18] === /*numberOfPages*/
|
|
798
|
-
n[17] - 1, _(c, "class", F = "BonusesLast " + /*currentPage*/
|
|
799
|
-
(n[18] === /*numberOfPages*/
|
|
800
|
-
n[17] - 1 ? "Inactive" : "")), _(e, "class", "BonusesPaginationWrapper " + /*isMobile*/
|
|
801
|
-
(n[22] ? "BonusesPaginationWrapperMobile" : ""));
|
|
802
|
-
},
|
|
803
|
-
m(g, P) {
|
|
804
|
-
U(g, e, P), p(e, o), p(o, i), p(e, r), p(e, d), p(d, u), p(e, M);
|
|
805
|
-
for (let S = 0; S < E.length; S += 1)
|
|
806
|
-
E[S] && E[S].m(e, null);
|
|
807
|
-
p(e, A), p(e, v), p(v, h), p(e, m), p(e, c), p(c, b), x || ($ = [
|
|
808
|
-
V(
|
|
809
|
-
o,
|
|
810
|
-
"click",
|
|
811
|
-
/*click_handler_1*/
|
|
812
|
-
n[39]
|
|
813
|
-
),
|
|
814
|
-
V(
|
|
815
|
-
d,
|
|
816
|
-
"click",
|
|
817
|
-
/*click_handler_2*/
|
|
818
|
-
n[40]
|
|
819
|
-
),
|
|
820
|
-
V(
|
|
821
|
-
v,
|
|
822
|
-
"click",
|
|
823
|
-
/*click_handler_4*/
|
|
824
|
-
n[42]
|
|
825
|
-
),
|
|
826
|
-
V(
|
|
827
|
-
c,
|
|
828
|
-
"click",
|
|
829
|
-
/*click_handler_5*/
|
|
830
|
-
n[43]
|
|
831
|
-
)
|
|
832
|
-
], x = !0);
|
|
833
|
-
},
|
|
834
|
-
p(g, P) {
|
|
835
|
-
if (P[0] & /*currentPage*/
|
|
836
|
-
262144 && s !== (s = /*currentPage*/
|
|
837
|
-
g[18] === 0) && (o.disabled = s), P[0] & /*currentPage*/
|
|
838
|
-
262144 && a !== (a = "BonusesFirst " + /*currentPage*/
|
|
839
|
-
(g[18] === 0 ? "Inactive" : "")) && _(o, "class", a), P[0] & /*currentPage*/
|
|
840
|
-
262144 && f !== (f = /*currentPage*/
|
|
841
|
-
g[18] === 0) && (d.disabled = f), P[0] & /*currentPage*/
|
|
842
|
-
262144 && y !== (y = "BonusesPrev " + /*currentPage*/
|
|
843
|
-
(g[18] === 0 ? "Inactive" : "")) && _(d, "class", y), P[0] & /*currentPage, getActiveBonuses, numberOfPages*/
|
|
844
|
-
33947648) {
|
|
845
|
-
q = ce(Array(
|
|
846
|
-
/*numberOfPages*/
|
|
847
|
-
g[17]
|
|
848
|
-
));
|
|
849
|
-
let S;
|
|
850
|
-
for (S = 0; S < q.length; S += 1) {
|
|
851
|
-
const R = Le(g, q, S);
|
|
852
|
-
E[S] ? E[S].p(R, P) : (E[S] = je(R), E[S].c(), E[S].m(e, A));
|
|
853
|
-
}
|
|
854
|
-
for (; S < E.length; S += 1)
|
|
855
|
-
E[S].d(1);
|
|
856
|
-
E.length = q.length;
|
|
857
|
-
}
|
|
858
|
-
P[0] & /*currentPage, numberOfPages*/
|
|
859
|
-
393216 && w !== (w = /*currentPage*/
|
|
860
|
-
g[18] === /*numberOfPages*/
|
|
861
|
-
g[17] - 1) && (v.disabled = w), P[0] & /*currentPage, numberOfPages*/
|
|
862
|
-
393216 && C !== (C = "BonusesNext " + /*currentPage*/
|
|
863
|
-
(g[18] === /*numberOfPages*/
|
|
864
|
-
g[17] - 1 ? "Inactive" : "")) && _(v, "class", C), P[0] & /*currentPage, numberOfPages*/
|
|
865
|
-
393216 && B !== (B = /*currentPage*/
|
|
866
|
-
g[18] === /*numberOfPages*/
|
|
867
|
-
g[17] - 1) && (c.disabled = B), P[0] & /*currentPage, numberOfPages*/
|
|
868
|
-
393216 && F !== (F = "BonusesLast " + /*currentPage*/
|
|
869
|
-
(g[18] === /*numberOfPages*/
|
|
870
|
-
g[17] - 1 ? "Inactive" : "")) && _(c, "class", F);
|
|
871
|
-
},
|
|
872
|
-
d(g) {
|
|
873
|
-
g && j(e), qe(E, g), x = !1, Be($);
|
|
874
|
-
}
|
|
875
|
-
};
|
|
876
|
-
}
|
|
877
|
-
function je(n) {
|
|
878
|
-
let e, o = (
|
|
879
|
-
/*i*/
|
|
880
|
-
n[60] + 1 + ""
|
|
881
|
-
), i, s, a, r, d;
|
|
882
|
-
function u() {
|
|
883
|
-
return (
|
|
884
|
-
/*click_handler_3*/
|
|
885
|
-
n[41](
|
|
886
|
-
/*i*/
|
|
887
|
-
n[60]
|
|
888
|
-
)
|
|
889
|
-
);
|
|
890
|
-
}
|
|
891
|
-
return {
|
|
892
|
-
c() {
|
|
893
|
-
e = W("button"), i = D(o), e.disabled = s = /*i*/
|
|
894
|
-
n[60] === /*currentPage*/
|
|
895
|
-
n[18], _(e, "class", a = "BonusesPage " + /*i*/
|
|
896
|
-
(n[60] === /*currentPage*/
|
|
897
|
-
n[18] ? "BonusPageActive" : ""));
|
|
898
|
-
},
|
|
899
|
-
m(f, y) {
|
|
900
|
-
U(f, e, y), p(e, i), r || (d = V(e, "click", u), r = !0);
|
|
901
|
-
},
|
|
902
|
-
p(f, y) {
|
|
903
|
-
n = f, y[0] & /*currentPage*/
|
|
904
|
-
262144 && s !== (s = /*i*/
|
|
905
|
-
n[60] === /*currentPage*/
|
|
906
|
-
n[18]) && (e.disabled = s), y[0] & /*currentPage*/
|
|
907
|
-
262144 && a !== (a = "BonusesPage " + /*i*/
|
|
908
|
-
(n[60] === /*currentPage*/
|
|
909
|
-
n[18] ? "BonusPageActive" : "")) && _(e, "class", a);
|
|
910
|
-
},
|
|
911
|
-
d(f) {
|
|
912
|
-
f && j(e), r = !1, d();
|
|
913
|
-
}
|
|
914
|
-
};
|
|
915
|
-
}
|
|
916
|
-
function Ue(n) {
|
|
917
|
-
let e, o, i, s, a = (
|
|
918
|
-
/*$_*/
|
|
919
|
-
n[21]("forfeitBonus") + ""
|
|
920
|
-
), r, d, u, f, y = (
|
|
921
|
-
/*$_*/
|
|
922
|
-
n[21]("forfeitBonusCancel") + ""
|
|
923
|
-
), M, A, v, h = (
|
|
924
|
-
/*$_*/
|
|
925
|
-
n[21]("forfeitBonusConfirm") + ""
|
|
926
|
-
), w, C, m;
|
|
927
|
-
return {
|
|
928
|
-
c() {
|
|
929
|
-
e = W("div"), o = W("div"), i = W("div"), s = W("p"), r = D(a), d = O(), u = W("div"), f = W("button"), M = D(y), A = O(), v = W("button"), w = D(h), _(s, "class", "ModalText"), _(f, "class", "ModalCancel"), _(v, "class", "ModalConfirm"), _(u, "class", "ModalButtons"), _(i, "class", "ModalBody"), _(o, "class", "ModalContent"), _(e, "class", "ModalWrapper " + /*isMobile*/
|
|
930
|
-
(n[22] ? "ModalWrapperMobile" : ""));
|
|
931
|
-
},
|
|
932
|
-
m(c, b) {
|
|
933
|
-
U(c, e, b), p(e, o), p(o, i), p(i, s), p(s, r), p(i, d), p(i, u), p(u, f), p(f, M), p(u, A), p(u, v), p(v, w), C || (m = [
|
|
934
|
-
V(
|
|
935
|
-
f,
|
|
936
|
-
"click",
|
|
937
|
-
/*closeBonusModal*/
|
|
938
|
-
n[27]
|
|
939
|
-
),
|
|
940
|
-
V(
|
|
941
|
-
v,
|
|
942
|
-
"click",
|
|
943
|
-
/*debouncedFunction*/
|
|
944
|
-
n[29](
|
|
945
|
-
/*deleteBonus*/
|
|
946
|
-
n[28]
|
|
947
|
-
)
|
|
948
|
-
)
|
|
949
|
-
], C = !0);
|
|
950
|
-
},
|
|
951
|
-
p(c, b) {
|
|
952
|
-
b[0] & /*$_*/
|
|
953
|
-
2097152 && a !== (a = /*$_*/
|
|
954
|
-
c[21]("forfeitBonus") + "") && Z(r, a), b[0] & /*$_*/
|
|
955
|
-
2097152 && y !== (y = /*$_*/
|
|
956
|
-
c[21]("forfeitBonusCancel") + "") && Z(M, y), b[0] & /*$_*/
|
|
957
|
-
2097152 && h !== (h = /*$_*/
|
|
958
|
-
c[21]("forfeitBonusConfirm") + "") && Z(w, h);
|
|
959
|
-
},
|
|
960
|
-
d(c) {
|
|
961
|
-
c && j(e), C = !1, Be(m);
|
|
962
|
-
}
|
|
963
|
-
};
|
|
964
|
-
}
|
|
965
|
-
function Dn(n) {
|
|
966
|
-
let e, o, i, s, a = (
|
|
967
|
-
/*$_*/
|
|
968
|
-
n[21]("titleBonuses") + ""
|
|
969
|
-
), r, d, u, f, y = (
|
|
970
|
-
/*$_*/
|
|
971
|
-
n[21]("bonusCode") + ""
|
|
972
|
-
), M, A, v, h, w, C, m = (
|
|
973
|
-
/*$_*/
|
|
974
|
-
n[21]("getBonus") + ""
|
|
975
|
-
), c, b, B, F, x, $, q, E = (
|
|
976
|
-
/*isMobile*/
|
|
977
|
-
n[22] && In(n)
|
|
978
|
-
), g = (
|
|
979
|
-
/*invalidBonusCode*/
|
|
980
|
-
n[12] && Ne(n)
|
|
981
|
-
);
|
|
982
|
-
function P(k, N) {
|
|
983
|
-
return (
|
|
984
|
-
/*isLoading*/
|
|
985
|
-
k[10] ? Rn : Fn
|
|
986
|
-
);
|
|
987
|
-
}
|
|
988
|
-
let S = P(n), R = S(n), I = (
|
|
989
|
-
/*bonusModal*/
|
|
990
|
-
n[20] && Ue(n)
|
|
991
|
-
);
|
|
992
|
-
return {
|
|
993
|
-
c() {
|
|
994
|
-
e = W("div"), o = W("div"), E && E.c(), i = O(), s = W("h2"), r = D(a), d = O(), u = W("div"), f = W("label"), M = D(y), A = O(), v = W("div"), h = W("input"), w = O(), C = W("button"), c = D(m), B = O(), g && g.c(), F = O(), R.c(), x = O(), I && I.c(), _(s, "class", "ActiveBonusesTitle " + /*isMobile*/
|
|
995
|
-
(n[22] ? "ActiveBonusesTitleNone" : "")), _(f, "for", "BonusCode"), _(h, "class", "BonusCodeInput " + /*isMobile*/
|
|
996
|
-
(n[22] ? "BonusCodeInputMobile" : "")), _(h, "type", "text"), _(h, "id", "BonusCode"), _(C, "class", "SubmitBonusCode " + /*isMobile*/
|
|
997
|
-
(n[22] ? "SubmitBonusCodeMobile" : "")), C.disabled = b = /*invalidBonusField*/
|
|
998
|
-
n[11] || /*isLoading*/
|
|
999
|
-
n[10], _(v, "class", "BonusCodeWrapper " + /*isMobile*/
|
|
1000
|
-
(n[22] ? "BonusCodeWrapperMobile" : "")), _(u, "class", "BonusCodeContainer " + /*isMobile*/
|
|
1001
|
-
(n[22] ? "BonusCodeContainerMobile" : "")), _(o, "class", "ActiveBonusesWrapper " + /*isMobile*/
|
|
1002
|
-
(n[22] ? "ActiveBonusesWrapperMobile" : ""));
|
|
1003
|
-
},
|
|
1004
|
-
m(k, N) {
|
|
1005
|
-
U(k, e, N), p(e, o), E && E.m(o, null), p(o, i), p(o, s), p(s, r), p(o, d), p(o, u), p(u, f), p(f, M), p(u, A), p(u, v), p(v, h), Te(
|
|
1006
|
-
h,
|
|
1007
|
-
/*bonusCode*/
|
|
1008
|
-
n[13]
|
|
1009
|
-
), p(v, w), p(v, C), p(C, c), p(u, B), g && g.m(u, null), p(o, F), R.m(o, null), p(e, x), I && I.m(e, null), n[44](e), $ || (q = [
|
|
1010
|
-
V(
|
|
1011
|
-
h,
|
|
1012
|
-
"input",
|
|
1013
|
-
/*input_input_handler*/
|
|
1014
|
-
n[38]
|
|
1015
|
-
),
|
|
1016
|
-
V(
|
|
1017
|
-
h,
|
|
1018
|
-
"keyup",
|
|
1019
|
-
/*validateBonusCode*/
|
|
1020
|
-
n[24]
|
|
1021
|
-
),
|
|
1022
|
-
V(
|
|
1023
|
-
C,
|
|
1024
|
-
"click",
|
|
1025
|
-
/*claimBonus*/
|
|
1026
|
-
n[26]
|
|
1027
|
-
)
|
|
1028
|
-
], $ = !0);
|
|
1029
|
-
},
|
|
1030
|
-
p(k, N) {
|
|
1031
|
-
/*isMobile*/
|
|
1032
|
-
k[22] && E.p(k, N), N[0] & /*$_*/
|
|
1033
|
-
2097152 && a !== (a = /*$_*/
|
|
1034
|
-
k[21]("titleBonuses") + "") && Z(r, a), N[0] & /*$_*/
|
|
1035
|
-
2097152 && y !== (y = /*$_*/
|
|
1036
|
-
k[21]("bonusCode") + "") && Z(M, y), N[0] & /*bonusCode*/
|
|
1037
|
-
8192 && h.value !== /*bonusCode*/
|
|
1038
|
-
k[13] && Te(
|
|
1039
|
-
h,
|
|
1040
|
-
/*bonusCode*/
|
|
1041
|
-
k[13]
|
|
1042
|
-
), N[0] & /*$_*/
|
|
1043
|
-
2097152 && m !== (m = /*$_*/
|
|
1044
|
-
k[21]("getBonus") + "") && Z(c, m), N[0] & /*invalidBonusField, isLoading*/
|
|
1045
|
-
3072 && b !== (b = /*invalidBonusField*/
|
|
1046
|
-
k[11] || /*isLoading*/
|
|
1047
|
-
k[10]) && (C.disabled = b), /*invalidBonusCode*/
|
|
1048
|
-
k[12] ? g ? g.p(k, N) : (g = Ne(k), g.c(), g.m(u, null)) : g && (g.d(1), g = null), S === (S = P(k)) && R ? R.p(k, N) : (R.d(1), R = S(k), R && (R.c(), R.m(o, null))), /*bonusModal*/
|
|
1049
|
-
k[20] ? I ? I.p(k, N) : (I = Ue(k), I.c(), I.m(e, null)) : I && (I.d(1), I = null);
|
|
1050
|
-
},
|
|
1051
|
-
i: ge,
|
|
1052
|
-
o: ge,
|
|
1053
|
-
d(k) {
|
|
1054
|
-
k && j(e), E && E.d(), g && g.d(), R.d(), I && I.d(), n[44](null), $ = !1, Be(q);
|
|
1055
|
-
}
|
|
1056
|
-
};
|
|
1057
|
-
}
|
|
1058
|
-
let jn = "status=active", X = 6;
|
|
1059
|
-
function Un(n, e, o) {
|
|
1060
|
-
let i;
|
|
1061
|
-
Bn(n, Wn, (l) => o(21, i = l));
|
|
1062
|
-
let { endpoint: s = "" } = e, { session: a = "" } = e, { playerid: r = "" } = e, { lang: d = "en" } = e, { currency: u = "" } = e, { clientstyling: f = "" } = e, { clientstylingurl: y = "" } = e, { mbsource: M } = e, { translationurl: A = "" } = e, { currencylocale: v = "" } = e, { dateformat: h = "" } = e, { bonuscoderegex: w = "" } = e, { ishiddenwageringbonus: C = "false" } = e, { gmversion: m = "" } = e, { filterbonusbalance: c = "false" } = e, { filtertags: b = "" } = e, B = !1, F, x, $ = window.navigator.userAgent, q = _n($) !== "PC", E = !0, g = !1, P = "", S = 0, R = 0, I = 0, k = 0, N = 0, pe = [], he, fe = "", me = !1;
|
|
1063
|
-
const Ge = () => {
|
|
1064
|
-
fetch(A).then((T) => T.json()).then((T) => {
|
|
1065
|
-
Object.keys(T).forEach((G) => {
|
|
1066
|
-
Ie(G, T[G]);
|
|
1067
|
-
});
|
|
1068
|
-
}).catch((T) => {
|
|
1069
|
-
console.log(T);
|
|
1070
|
-
});
|
|
1071
|
-
};
|
|
1072
|
-
Object.keys(Fe).forEach((l) => {
|
|
1073
|
-
Ie(l, Fe[l]);
|
|
1074
|
-
});
|
|
1075
|
-
const Ce = (l) => {
|
|
1076
|
-
if (l.data)
|
|
1077
|
-
switch (l.data.type) {
|
|
1078
|
-
case "DeleteActiveBonus":
|
|
1079
|
-
fe = l.data.bonuswalletid, o(20, me = !0);
|
|
1080
|
-
break;
|
|
1081
|
-
}
|
|
1082
|
-
};
|
|
1083
|
-
function Ve(l, T) {
|
|
1084
|
-
return (...G) => {
|
|
1085
|
-
clearTimeout(he), he = setTimeout(
|
|
1086
|
-
() => {
|
|
1087
|
-
l.apply(this, G);
|
|
1088
|
-
},
|
|
1089
|
-
T
|
|
1090
|
-
);
|
|
1091
|
-
};
|
|
1092
|
-
}
|
|
1093
|
-
const we = () => {
|
|
1094
|
-
window.postMessage(
|
|
1095
|
-
{
|
|
1096
|
-
type: "PlayerAccountMenuActive",
|
|
1097
|
-
isMobile: q
|
|
1098
|
-
},
|
|
1099
|
-
window.location.href
|
|
1100
|
-
);
|
|
1101
|
-
}, He = () => P ? w ? new RegExp(w).test(P) : !0 : !1, Ye = () => {
|
|
1102
|
-
o(11, E = !He()), w && o(12, g = E);
|
|
1103
|
-
};
|
|
1104
|
-
function Me(l) {
|
|
1105
|
-
var se, le, J, te, L, ee, K, Y, ae, ne, Q, ie, ke;
|
|
1106
|
-
const T = (se = l.initialWagerRequirementAmount) != null ? se : 0, G = (le = l.remainingWagerRequirementAmount) != null ? le : 0;
|
|
1107
|
-
return Pe(de({}, l), {
|
|
1108
|
-
freeRoundNumber: (J = l.numberOfFreeSpin) != null ? J : void 0,
|
|
1109
|
-
walletId: (te = l.bonusWalletID) != null ? te : void 0,
|
|
1110
|
-
granted: (L = l.grantedDate) != null ? L : void 0,
|
|
1111
|
-
expiryTime: (ee = l.expiryDate) != null ? ee : void 0,
|
|
1112
|
-
currentAmount: (K = l.remainingAmount) != null ? K : void 0,
|
|
1113
|
-
originalWageringRequirement: (Y = l.initialWagerRequirementAmount) != null ? Y : void 0,
|
|
1114
|
-
fulfilledWR: T - G,
|
|
1115
|
-
extension: {
|
|
1116
|
-
grantedPlayerCurrencyAmount: (ae = l.amount) != null ? ae : void 0
|
|
1117
|
-
},
|
|
1118
|
-
termsandconditionsurl: (ne = l.url) != null ? ne : void 0,
|
|
1119
|
-
termsandconditionsdescription: (Q = l.description) != null ? Q : void 0,
|
|
1120
|
-
termsandconditionsasset: (ie = l.assets) != null ? ie : void 0,
|
|
1121
|
-
isWinBonus: ((ke = l == null ? void 0 : l.tags) == null ? void 0 : ke.includes("auto_apply")) === !0 && l.type === kn.ODDS_BOOST
|
|
1122
|
-
});
|
|
1123
|
-
}
|
|
1124
|
-
const H = (l) => oe(this, null, function* () {
|
|
1125
|
-
var T, G, se, le;
|
|
1126
|
-
o(10, B = !0);
|
|
1127
|
-
try {
|
|
1128
|
-
let J = [], te = 0;
|
|
1129
|
-
if (m === "gm2") {
|
|
1130
|
-
console.log("getActiveBonuses - gm2", m);
|
|
1131
|
-
const L = {
|
|
1132
|
-
pagination: `limit=${X},offset=${l}`,
|
|
1133
|
-
language: d || "en",
|
|
1134
|
-
sortOrder: "desc",
|
|
1135
|
-
status: Re.STATUS_ACTIVE,
|
|
1136
|
-
type: Re.TYPES,
|
|
1137
|
-
expand: "freeSpin",
|
|
1138
|
-
filterTags: b
|
|
1139
|
-
};
|
|
1140
|
-
C === "true" && (L.includeHiddenWallet = !0);
|
|
1141
|
-
const ee = yield Pn(s, a, L), K = ee.items;
|
|
1142
|
-
Array.isArray(K) ? b ? J = K.filter((Y) => {
|
|
1143
|
-
var ae;
|
|
1144
|
-
return ((ae = Y == null ? void 0 : Y.tags) == null ? void 0 : ae.includes("auto_apply")) !== !0;
|
|
1145
|
-
}).map(Me) : J = K.map(Me) : console.error("Unexpected granted bonuses payload", ee), te = (T = ee.total) != null ? T : 0;
|
|
1146
|
-
} else {
|
|
1147
|
-
console.log("getActiveBonuses - /bonusWallet", m);
|
|
1148
|
-
const L = {
|
|
1149
|
-
method: "GET",
|
|
1150
|
-
headers: { "X-SessionId": a }
|
|
1151
|
-
}, ee = `/v1/player/${r}/bonusWallet`, K = new URL(`${s}${ee}`), Y = new URLSearchParams();
|
|
1152
|
-
Y.set("filter", jn), Y.set("pagination", `offset=${l},limit=${X}`), K.search = Y.toString();
|
|
1153
|
-
const ne = yield (yield fetch(K, L)).json();
|
|
1154
|
-
if (Array.isArray(ne.items)) {
|
|
1155
|
-
for (const Q of ne.items) {
|
|
1156
|
-
const ie = (se = (G = Q == null ? void 0 : Q.extension) == null ? void 0 : G.bonus) == null ? void 0 : se.presentation;
|
|
1157
|
-
ie && (Q.termsandconditionsurl = ie.url, Q.termsandconditionsdescription = ie.description, Q.termsandconditionsasset = ie.assets);
|
|
1158
|
-
}
|
|
1159
|
-
J = ne.items;
|
|
1160
|
-
} else
|
|
1161
|
-
console.error("Unexpected legacy bonus list payload", ne);
|
|
1162
|
-
te = (le = ne.total) != null ? le : 0;
|
|
1163
|
-
}
|
|
1164
|
-
o(17, k = Math.ceil(te / X)), l - X >= 0 && o(14, S = l - X), l + X < te && o(15, R = l + X), o(16, I = (k - 1) * X), o(18, N = l / X), o(19, pe = J), v && pe.forEach((L) => {
|
|
1165
|
-
L.fulfilledWR = ue(L.fulfilledWR), L.originalWageringRequirement = ue(L.originalWageringRequirement), L.currentAmount = ue(L.currentAmount), L.extension && (L.extension.grantedPlayerCurrencyAmount = ue(L.extension.grantedPlayerCurrencyAmount));
|
|
1166
|
-
}), window.scrollTo({ top: 0, behavior: "smooth" });
|
|
1167
|
-
} catch (J) {
|
|
1168
|
-
console.error(J);
|
|
1169
|
-
} finally {
|
|
1170
|
-
o(10, B = !1);
|
|
1171
|
-
}
|
|
1172
|
-
}), ue = (l) => new Intl.NumberFormat(v, { style: "currency", currency: u }).format(l).replace(/\s/g, ""), We = () => {
|
|
1173
|
-
console.log("post claim success, status 200"), o(12, g = !1), H(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), window.postMessage(
|
|
1174
|
-
{
|
|
1175
|
-
type: "WidgetNotification",
|
|
1176
|
-
data: {
|
|
1177
|
-
type: "success",
|
|
1178
|
-
message: i("bonusClaimSuccessMessage")
|
|
1179
|
-
}
|
|
1180
|
-
},
|
|
1181
|
-
window.location.href
|
|
1182
|
-
), typeof gtag == "function" && gtag("event", "ClaimBonus", {
|
|
1183
|
-
context: "PlayerActiveBonuses",
|
|
1184
|
-
userId: `${r || "Not logged in"}`,
|
|
1185
|
-
bonusCode: `${P}`
|
|
1186
|
-
});
|
|
1187
|
-
}, Ae = () => {
|
|
1188
|
-
o(12, g = !0), console.log("post claim error - status not 200"), window.postMessage(
|
|
1189
|
-
{
|
|
1190
|
-
type: "WidgetNotification",
|
|
1191
|
-
data: {
|
|
1192
|
-
type: "error",
|
|
1193
|
-
message: i("bonusClaimErrorMessage")
|
|
1194
|
-
}
|
|
1195
|
-
},
|
|
1196
|
-
window.location.href
|
|
1197
|
-
);
|
|
1198
|
-
}, Xe = () => oe(this, null, function* () {
|
|
1199
|
-
o(10, B = !0);
|
|
1200
|
-
try {
|
|
1201
|
-
if (m === "gm2") {
|
|
1202
|
-
if (!(yield En(s, a, { bonusCode: P, currency: u })).success) {
|
|
1203
|
-
Ae();
|
|
1204
|
-
//!
|
|
1205
|
-
return;
|
|
1206
|
-
}
|
|
1207
|
-
We();
|
|
1208
|
-
return;
|
|
1209
|
-
}
|
|
1210
|
-
const l = new URL(`${s}/v1/player/${r}/claimbonus`);
|
|
1211
|
-
l.searchParams.append("currency", u), l.searchParams.append("bonusCode", P);
|
|
1212
|
-
const T = {
|
|
1213
|
-
method: "POST",
|
|
1214
|
-
headers: {
|
|
1215
|
-
"X-SessionId": a,
|
|
1216
|
-
accept: "application/json"
|
|
1217
|
-
}
|
|
1218
|
-
};
|
|
1219
|
-
(yield fetch(l.href, T)).status == 200 ? We() : Ae();
|
|
1220
|
-
} finally {
|
|
1221
|
-
o(10, B = !1);
|
|
1222
|
-
}
|
|
1223
|
-
}), be = () => {
|
|
1224
|
-
window.postMessage({ type: "EnableScroll" }, window.location.href), o(20, me = !1);
|
|
1225
|
-
}, Je = () => oe(this, null, function* () {
|
|
1226
|
-
if (m === "gm2") {
|
|
1227
|
-
if (!(yield Sn(s, a, { bonusWalletID: fe })).success)
|
|
1228
|
-
return;
|
|
1229
|
-
H(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), be();
|
|
1230
|
-
return;
|
|
1231
|
-
}
|
|
1232
|
-
const l = {
|
|
1233
|
-
method: "DELETE",
|
|
1234
|
-
headers: {
|
|
1235
|
-
"X-SessionId": a,
|
|
1236
|
-
"Content-Type": "application/json",
|
|
1237
|
-
Accept: "application/json"
|
|
1238
|
-
}
|
|
1239
|
-
}, T = new URL(`${s}/v1/player/${r}/bonusWallet`);
|
|
1240
|
-
T.searchParams.append("bonusWalletID", fe), (yield fetch(T, l)).status == 200 && (H(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), be());
|
|
1241
|
-
}), Ke = () => {
|
|
1242
|
-
An(d);
|
|
1243
|
-
};
|
|
1244
|
-
function Qe(l) {
|
|
1245
|
-
return Ve(l, 1e3);
|
|
1246
|
-
}
|
|
1247
|
-
vn(() => (window.addEventListener("message", Ce, !1), () => {
|
|
1248
|
-
window.removeEventListener("message", Ce);
|
|
1249
|
-
}));
|
|
1250
|
-
const Ze = () => we();
|
|
1251
|
-
function xe() {
|
|
1252
|
-
P = this.value, o(13, P);
|
|
1253
|
-
}
|
|
1254
|
-
const $e = () => H(0), en = () => H(S), nn = (l) => H(l * X), on = () => H(R), sn = () => H(I);
|
|
1255
|
-
function tn(l) {
|
|
1256
|
-
yn[l ? "unshift" : "push"](() => {
|
|
1257
|
-
F = l, o(9, F);
|
|
1258
|
-
});
|
|
1259
|
-
}
|
|
1260
|
-
return n.$$set = (l) => {
|
|
1261
|
-
"endpoint" in l && o(30, s = l.endpoint), "session" in l && o(31, a = l.session), "playerid" in l && o(32, r = l.playerid), "lang" in l && o(0, d = l.lang), "currency" in l && o(33, u = l.currency), "clientstyling" in l && o(1, f = l.clientstyling), "clientstylingurl" in l && o(2, y = l.clientstylingurl), "mbsource" in l && o(3, M = l.mbsource), "translationurl" in l && o(4, A = l.translationurl), "currencylocale" in l && o(5, v = l.currencylocale), "dateformat" in l && o(6, h = l.dateformat), "bonuscoderegex" in l && o(34, w = l.bonuscoderegex), "ishiddenwageringbonus" in l && o(7, C = l.ishiddenwageringbonus), "gmversion" in l && o(35, m = l.gmversion), "filterbonusbalance" in l && o(8, c = l.filterbonusbalance), "filtertags" in l && o(36, b = l.filtertags);
|
|
1262
|
-
}, n.$$.update = () => {
|
|
1263
|
-
n.$$.dirty[0] & /*lang*/
|
|
1264
|
-
1 && d && Ke(), n.$$.dirty[0] & /*endpoint*/
|
|
1265
|
-
1073741824 | n.$$.dirty[1] & /*session, playerid*/
|
|
1266
|
-
3 && a && r && s && H(0), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1267
|
-
514 && f && F && hn(F, f), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1268
|
-
516 && y && F && Cn(F, y), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1269
|
-
520 && M && F && wn(F, `${M}.Style`, x), n.$$.dirty[0] & /*translationurl*/
|
|
1270
|
-
16 && A && Ge();
|
|
1271
|
-
}, [
|
|
1272
|
-
d,
|
|
1273
|
-
f,
|
|
1274
|
-
y,
|
|
1275
|
-
M,
|
|
1276
|
-
A,
|
|
1277
|
-
v,
|
|
1278
|
-
h,
|
|
1279
|
-
C,
|
|
1280
|
-
c,
|
|
1281
|
-
F,
|
|
1282
|
-
B,
|
|
1283
|
-
E,
|
|
1284
|
-
g,
|
|
1285
|
-
P,
|
|
1286
|
-
S,
|
|
1287
|
-
R,
|
|
1288
|
-
I,
|
|
1289
|
-
k,
|
|
1290
|
-
N,
|
|
1291
|
-
pe,
|
|
1292
|
-
me,
|
|
1293
|
-
i,
|
|
1294
|
-
q,
|
|
1295
|
-
we,
|
|
1296
|
-
Ye,
|
|
1297
|
-
H,
|
|
1298
|
-
Xe,
|
|
1299
|
-
be,
|
|
1300
|
-
Je,
|
|
1301
|
-
Qe,
|
|
1302
|
-
s,
|
|
1303
|
-
a,
|
|
1304
|
-
r,
|
|
1305
|
-
u,
|
|
1306
|
-
w,
|
|
1307
|
-
m,
|
|
1308
|
-
b,
|
|
1309
|
-
Ze,
|
|
1310
|
-
xe,
|
|
1311
|
-
$e,
|
|
1312
|
-
en,
|
|
1313
|
-
nn,
|
|
1314
|
-
on,
|
|
1315
|
-
sn,
|
|
1316
|
-
tn
|
|
1317
|
-
];
|
|
1318
|
-
}
|
|
1319
|
-
class qn extends fn {
|
|
1320
|
-
constructor(e) {
|
|
1321
|
-
super(), mn(
|
|
1322
|
-
this,
|
|
1323
|
-
e,
|
|
1324
|
-
Un,
|
|
1325
|
-
Dn,
|
|
1326
|
-
bn,
|
|
1327
|
-
{
|
|
1328
|
-
endpoint: 30,
|
|
1329
|
-
session: 31,
|
|
1330
|
-
playerid: 32,
|
|
1331
|
-
lang: 0,
|
|
1332
|
-
currency: 33,
|
|
1333
|
-
clientstyling: 1,
|
|
1334
|
-
clientstylingurl: 2,
|
|
1335
|
-
mbsource: 3,
|
|
1336
|
-
translationurl: 4,
|
|
1337
|
-
currencylocale: 5,
|
|
1338
|
-
dateformat: 6,
|
|
1339
|
-
bonuscoderegex: 34,
|
|
1340
|
-
ishiddenwageringbonus: 7,
|
|
1341
|
-
gmversion: 35,
|
|
1342
|
-
filterbonusbalance: 8,
|
|
1343
|
-
filtertags: 36
|
|
1344
|
-
},
|
|
1345
|
-
Tn,
|
|
1346
|
-
[-1, -1, -1]
|
|
1347
|
-
);
|
|
1348
|
-
}
|
|
1349
|
-
get endpoint() {
|
|
1350
|
-
return this.$$.ctx[30];
|
|
1351
|
-
}
|
|
1352
|
-
set endpoint(e) {
|
|
1353
|
-
this.$$set({ endpoint: e }), z();
|
|
1354
|
-
}
|
|
1355
|
-
get session() {
|
|
1356
|
-
return this.$$.ctx[31];
|
|
1357
|
-
}
|
|
1358
|
-
set session(e) {
|
|
1359
|
-
this.$$set({ session: e }), z();
|
|
1360
|
-
}
|
|
1361
|
-
get playerid() {
|
|
1362
|
-
return this.$$.ctx[32];
|
|
1363
|
-
}
|
|
1364
|
-
set playerid(e) {
|
|
1365
|
-
this.$$set({ playerid: e }), z();
|
|
1366
|
-
}
|
|
1367
|
-
get lang() {
|
|
1368
|
-
return this.$$.ctx[0];
|
|
1369
|
-
}
|
|
1370
|
-
set lang(e) {
|
|
1371
|
-
this.$$set({ lang: e }), z();
|
|
1372
|
-
}
|
|
1373
|
-
get currency() {
|
|
1374
|
-
return this.$$.ctx[33];
|
|
1375
|
-
}
|
|
1376
|
-
set currency(e) {
|
|
1377
|
-
this.$$set({ currency: e }), z();
|
|
1378
|
-
}
|
|
1379
|
-
get clientstyling() {
|
|
1380
|
-
return this.$$.ctx[1];
|
|
1381
|
-
}
|
|
1382
|
-
set clientstyling(e) {
|
|
1383
|
-
this.$$set({ clientstyling: e }), z();
|
|
1384
|
-
}
|
|
1385
|
-
get clientstylingurl() {
|
|
1386
|
-
return this.$$.ctx[2];
|
|
1387
|
-
}
|
|
1388
|
-
set clientstylingurl(e) {
|
|
1389
|
-
this.$$set({ clientstylingurl: e }), z();
|
|
1390
|
-
}
|
|
1391
|
-
get mbsource() {
|
|
1392
|
-
return this.$$.ctx[3];
|
|
1393
|
-
}
|
|
1394
|
-
set mbsource(e) {
|
|
1395
|
-
this.$$set({ mbsource: e }), z();
|
|
1396
|
-
}
|
|
1397
|
-
get translationurl() {
|
|
1398
|
-
return this.$$.ctx[4];
|
|
1399
|
-
}
|
|
1400
|
-
set translationurl(e) {
|
|
1401
|
-
this.$$set({ translationurl: e }), z();
|
|
1402
|
-
}
|
|
1403
|
-
get currencylocale() {
|
|
1404
|
-
return this.$$.ctx[5];
|
|
1405
|
-
}
|
|
1406
|
-
set currencylocale(e) {
|
|
1407
|
-
this.$$set({ currencylocale: e }), z();
|
|
1408
|
-
}
|
|
1409
|
-
get dateformat() {
|
|
1410
|
-
return this.$$.ctx[6];
|
|
1411
|
-
}
|
|
1412
|
-
set dateformat(e) {
|
|
1413
|
-
this.$$set({ dateformat: e }), z();
|
|
1414
|
-
}
|
|
1415
|
-
get bonuscoderegex() {
|
|
1416
|
-
return this.$$.ctx[34];
|
|
1417
|
-
}
|
|
1418
|
-
set bonuscoderegex(e) {
|
|
1419
|
-
this.$$set({ bonuscoderegex: e }), z();
|
|
1420
|
-
}
|
|
1421
|
-
get ishiddenwageringbonus() {
|
|
1422
|
-
return this.$$.ctx[7];
|
|
1423
|
-
}
|
|
1424
|
-
set ishiddenwageringbonus(e) {
|
|
1425
|
-
this.$$set({ ishiddenwageringbonus: e }), z();
|
|
1426
|
-
}
|
|
1427
|
-
get gmversion() {
|
|
1428
|
-
return this.$$.ctx[35];
|
|
1429
|
-
}
|
|
1430
|
-
set gmversion(e) {
|
|
1431
|
-
this.$$set({ gmversion: e }), z();
|
|
1432
|
-
}
|
|
1433
|
-
get filterbonusbalance() {
|
|
1434
|
-
return this.$$.ctx[8];
|
|
1435
|
-
}
|
|
1436
|
-
set filterbonusbalance(e) {
|
|
1437
|
-
this.$$set({ filterbonusbalance: e }), z();
|
|
1438
|
-
}
|
|
1439
|
-
get filtertags() {
|
|
1440
|
-
return this.$$.ctx[36];
|
|
1441
|
-
}
|
|
1442
|
-
set filtertags(e) {
|
|
1443
|
-
this.$$set({ filtertags: e }), z();
|
|
1444
|
-
}
|
|
1445
|
-
}
|
|
1446
|
-
Mn(qn, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {}, bonuscoderegex: {}, ishiddenwageringbonus: {}, gmversion: {}, filterbonusbalance: {}, filtertags: {} }, [], [], !0);
|
|
1447
|
-
export {
|
|
1448
|
-
qn as default
|
|
1449
|
-
};
|