@everymatrix/player-account-controller 1.54.6 → 1.54.8
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-Ddt-oH9k.js → GeneralLogout-ChXyfO7j.js} +504 -512
- package/components/GeneralLogout-CoXr5Hra.js +4819 -0
- package/components/GeneralLogout-JiIri-az.cjs +8 -0
- package/components/PlayerAccountBettingHistory-C4SfQEr4.js +333 -0
- package/components/{PlayerAccountBettingHistory-C7xwYi03.js → PlayerAccountBettingHistory-CElNilNd.js} +24 -24
- package/components/PlayerAccountBettingHistory-CSI5k3hd.cjs +1 -0
- package/components/PlayerAccountBiometrics-BS3jkUXn.cjs +1 -0
- package/components/{PlayerAccountBiometrics-D7WS5cnI.js → PlayerAccountBiometrics-D9kYcZXR.js} +26 -26
- package/components/PlayerAccountBiometrics-orQ-qG9h.js +307 -0
- package/components/{PlayerAccountClosure-yRlo8hXR.js → PlayerAccountClosure-CHUq23nB.js} +13 -13
- package/components/PlayerAccountClosure-CWd3utu_.js +347 -0
- package/components/PlayerAccountClosure-DdfqiT7d.cjs +1 -0
- package/components/{PlayerAccountController-BEYNBwE6.js → PlayerAccountController-BclvS237.js} +126 -126
- package/components/PlayerAccountController-DEXL47fX.js +6671 -0
- package/components/PlayerAccountController-DX3vsM6e.cjs +1 -0
- package/components/PlayerAccountGamingLimits-CKnItii4.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-CTBhVGgC.js → PlayerAccountGamingLimits-DXQNmZKD.js} +19 -19
- package/components/PlayerAccountGamingLimits-Db6qUAS-.js +766 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CuQvNzww.js → PlayerAccountGamingLimitsConfirmationModal-i09zMH6w.js} +59 -59
- package/components/PlayerAccountGamingLimitsConfirmationModal-jZS53-sU.cjs +1 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-l4fu3WOl.js +310 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-Du2YQlDU.js → PlayerAccountGamingLimitsGroupEdit-BIt0U7Ia.js} +51 -51
- package/components/PlayerAccountGamingLimitsGroupEdit-CsnzS7iF.js +4170 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-DZlV6G_9.cjs +10 -0
- package/components/PlayerAccountGamingLimitsHistory2-CrW3EIzV.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsHistory2-CXKA0L0d.js → PlayerAccountGamingLimitsHistory2-D04L-msb.js} +44 -44
- package/components/PlayerAccountGamingLimitsHistory2-DA5YY1gv.js +767 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-CWTybgoQ.js → PlayerAccountGamingLimitsInfoCard-B2YB4bdP.js} +95 -95
- package/components/PlayerAccountGamingLimitsInfoCard-B4t7J9Ea.js +1513 -0
- package/components/PlayerAccountGamingLimitsInfoCard-CaJYYEdy.cjs +1 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16-B1GlGvDK.cjs +21 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16-CbtwzTC5.js +3283 -0
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CXjNcIFP.js → PlayerAccountGamingLimitsPage2Gm16-D8OKZxQt.js} +90 -90
- package/components/{PlayerAccountGamingLimitsPopup-CJu5RRl6.js → PlayerAccountGamingLimitsPopup-B7ZXSiK5.js} +17 -17
- package/components/PlayerAccountGamingLimitsPopup-C9KoZcRj.cjs +1 -0
- package/components/PlayerAccountGamingLimitsPopup-DxXAP_Yw.js +344 -0
- package/components/{PlayerAccountGamingLimitsWrapper2-BdpxEDlV.js → PlayerAccountGamingLimitsWrapper2-BoFnZpPK.js} +8 -8
- package/components/PlayerAccountGamingLimitsWrapper2-Dll6Amu9.cjs +1 -0
- package/components/PlayerAccountGamingLimitsWrapper2-eSNYZCaw.js +866 -0
- package/components/PlayerAccountGeneralConfirmationModal-B-p3sJZ3.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-DG0N686t.js → PlayerAccountGeneralConfirmationModal-DLBQH_sl.js} +66 -66
- package/components/PlayerAccountGeneralConfirmationModal-DhTWcbuE.js +365 -0
- package/components/PlayerAccountMenu-BGRoL3Yz.js +579 -0
- package/components/{PlayerAccountMenu-CZBa8_5G.js → PlayerAccountMenu-BxjdHhZ_.js} +17 -17
- package/components/PlayerAccountMenu-Csb1tUf_.cjs +1 -0
- package/components/{PlayerAccountModal-BmKjtXKT.js → PlayerAccountModal-C4nIa5u0.js} +28 -28
- package/components/PlayerAccountModal-D29fr970.js +213 -0
- package/components/PlayerAccountModal-DabmJiP4.cjs +1 -0
- package/components/{PlayerAccountNotifications-B4Ht-hHj.js → PlayerAccountNotifications-4sGKSJWy.js} +16 -16
- package/components/PlayerAccountNotifications-C3rPIsKp.js +261 -0
- package/components/PlayerAccountNotifications-O92_s-dm.cjs +1 -0
- package/components/PlayerAccountSelfExclusion-BkBWGAy2.cjs +3557 -0
- package/components/PlayerAccountSelfExclusion-CpKuxBrZ.js +16678 -0
- package/components/{PlayerAccountSelfExclusion-DxGHXTb8.js → PlayerAccountSelfExclusion-U9dfheYH.js} +11029 -12570
- package/components/PlayerAccountTimeout-CucYpS_w.cjs +1 -0
- package/components/{PlayerAccountTimeout-DOSjICsY.js → PlayerAccountTimeout-DIRXKowJ.js} +25 -25
- package/components/PlayerAccountTimeout-c2osWNku.js +819 -0
- package/components/{PlayerActiveBonuses-DMAG7NUP.js → PlayerActiveBonuses-B2QAPJxC.js} +49 -49
- package/components/PlayerActiveBonuses-DDcAwy_n.js +1089 -0
- package/components/PlayerActiveBonuses-cecVnp46.cjs +1 -0
- package/components/{PlayerBonusCard-Dss1REmn.js → PlayerBonusCard-BQU7JBPr.js} +50 -50
- package/components/PlayerBonusCard-C9Xdv-lu.cjs +1 -0
- package/components/PlayerBonusCard-TYI-WkBy.js +701 -0
- package/components/{PlayerBonusHistory-bS_5m4-D.js → PlayerBonusHistory-Boz8c3tb.js} +30 -30
- package/components/PlayerBonusHistory-CMPf8GQz.cjs +1 -0
- package/components/PlayerBonusHistory-cNqY_wfD.js +920 -0
- package/components/{PlayerChangePassword-DnCj-wcc.js → PlayerChangePassword-BGxYGFs-.js} +103 -103
- package/components/PlayerChangePassword-Dl3Pgpul.js +1177 -0
- package/components/PlayerChangePassword-X_GfgxAV.cjs +3 -0
- package/components/{PlayerDeposit-CHIQ8EaC.js → PlayerDeposit-BzSW3HMj.js} +25 -25
- package/components/PlayerDeposit-CqpNLpaq.cjs +1 -0
- package/components/PlayerDeposit-kjy658sM.js +395 -0
- package/components/PlayerGamingHistory-B6KJDVn0.cjs +1 -0
- package/components/PlayerGamingHistory-BW5rigFC.js +986 -0
- package/components/{PlayerGamingHistory-ByyLQwtw.js → PlayerGamingHistory-DIgLxCfL.js} +31 -31
- package/components/PlayerPendingWithdrawals--W6Dfn3K.cjs +1 -0
- package/components/{PlayerPendingWithdrawals-BbTa7_8U.js → PlayerPendingWithdrawals-BzOmRYiC.js} +33 -33
- package/components/PlayerPendingWithdrawals-pV1C12y5.js +311 -0
- package/components/PlayerProfileInfo-BTgis7wR.cjs +1 -0
- package/components/{PlayerProfileInfo-CvAqD3Dk.js → PlayerProfileInfo-CTgSfW-l.js} +45 -45
- package/components/PlayerProfileInfo-DkVAYiPX.js +1753 -0
- package/components/PlayerRealityCheck-BcsDhvm0.cjs +1 -0
- package/components/{PlayerRealityCheck-3d-B64ie.js → PlayerRealityCheck-BdZDs3Tl.js} +26 -26
- package/components/PlayerRealityCheck-DT3kOky2.js +598 -0
- package/components/PlayerTransactionHistory-BL92RRLF.cjs +1 -0
- package/components/{PlayerTransactionHistory-BYJNabMB.js → PlayerTransactionHistory-BQIA4QRw.js} +23 -23
- package/components/PlayerTransactionHistory-Yhwt7kUa.js +315 -0
- package/components/{PlayerWithdrawal-DDWroufG.js → PlayerWithdrawal-Cgv9nZE8.js} +20 -20
- package/components/PlayerWithdrawal-KgqM9wo-.cjs +1 -0
- package/components/PlayerWithdrawal-uB46JhmK.js +369 -0
- package/es2015/player-account-controller.cjs +1 -0
- package/es2015/player-account-controller.js +16 -0
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-8artnnwr.cjs +1 -0
- package/stencil/checkbox-group-input_9-AKw0biZc.cjs +2045 -0
- package/stencil/checkbox-group-input_9-BewIfW-f.js +13203 -0
- package/stencil/checkbox-group-input_9-CbFpcwPG.js +13237 -0
- package/stencil/{general-input-CQlnWzpy.js → general-input-BEcUF0Mm.js} +1 -1
- package/stencil/general-input-DI0pw0ot.cjs +1 -0
- package/stencil/general-input-DKyA-W8i.js +48 -0
- package/stencil/index-581287aa-CC7128Vz.js +654 -0
- package/stencil/index-581287aa-D5QW29QV.cjs +1 -0
- package/stencil/index-581287aa-D8NTWa_9.js +638 -0
- package/stencil/index-8b4525de-BFiXEsaX.cjs +1 -0
- package/stencil/index-8b4525de-C2xAv-3x.js +708 -0
- package/stencil/index-8b4525de-DeHXGvRF.js +692 -0
- package/stencil/index-a76d30c7-CFX9mSqu.cjs +1 -0
- package/stencil/index-a76d30c7-CQrAWNu0.js +658 -0
- package/stencil/index-a76d30c7-PfqrSVyu.js +631 -0
- package/stencil/index-c0196f50-3kAjMpUS.cjs +1 -0
- package/stencil/index-c0196f50-BjscP7kj.js +697 -0
- package/stencil/index-c0196f50-aE1zPmtS.js +724 -0
- package/stencil/locale-B5abSHU_.cjs +1 -0
- package/stencil/password-input_2-D97O8QAr.cjs +105 -0
- package/stencil/password-input_2-eDchPH-o.js +569 -0
- package/stencil/password-input_2-vTvSUJey.js +569 -0
- package/stencil/{player-change-password-gm2-BaQUJaH1.js → player-change-password-gm2-D4jpQFwb.js} +1 -1
- package/stencil/player-change-password-gm2-DSTqyOhE.js +25 -0
- package/stencil/player-change-password-gm2-Dw3D3ckz.cjs +1 -0
- package/stencil/{player-change-password-gm2-98dcb7bc-pj_6Z40p.js → player-change-password-gm2-e732ee8e-BjoYj-89.js} +1 -1
- package/stencil/player-change-password-gm2-e732ee8e-BqRUxIre.cjs +1 -0
- package/stencil/player-change-password-gm2-e732ee8e-Df6ljnLL.js +253 -0
- package/stencil/player-kyc-verification-B2FHAsrR.cjs +180 -0
- package/stencil/player-kyc-verification-CVqP43FY.js +865 -0
- package/stencil/{player-kyc-verification-BQZdJFEJ.js → player-kyc-verification-D6Au6XVN.js} +1 -1
- package/stencil/{toggle-checkbox-input-Sy9vd4Jp.js → toggle-checkbox-input-BckTBwKu.js} +1 -1
- package/stencil/toggle-checkbox-input-D8fVk4wA.js +46 -0
- package/stencil/toggle-checkbox-input-kw5Y1n3x.cjs +1 -0
- package/stencil/tooltipIcon-ee9760a8-Bd9l1O5C.cjs +1 -0
- package/stencil/user-deposit-withdrawal-BpAi0dc-.js +668 -0
- package/stencil/{user-deposit-withdrawal-CmF0LoNb.js → user-deposit-withdrawal-CrMPR6xn.js} +1 -1
- package/stencil/user-deposit-withdrawal-DrKFN7wp.cjs +59 -0
- package/stencil/{user-transaction-history-BgV-k2Cl.js → user-transaction-history-BgYG3IxS.js} +1 -1
- package/stencil/user-transaction-history-CBxwJE34.cjs +1 -0
- package/stencil/user-transaction-history-D8ebS-DZ.js +355 -0
- package/stencil/{active-mixin-59dfae2a-BphP4pp5.js → vaadin-button-mixin-d131076c-C559kyH3.js} +3523 -3021
- package/stencil/vaadin-button-mixin-d131076c-brSraXp5.js +10277 -0
- package/stencil/vaadin-button-mixin-d131076c-zI_s2YZ5.cjs +2385 -0
- package/stencil/checkbox-group-input_9-i8KmOWKn.js +0 -15610
- package/stencil/index-062e829b-CboMDKTu.js +0 -686
- package/stencil/index-33f005e1-fFxPaeNy.js +0 -632
- package/stencil/index-9b3245b3-rzHgwqlB.js +0 -625
- package/stencil/index-fc58390d-BSwfXuUs.js +0 -691
- package/stencil/password-input_2-sxSehMYk.js +0 -2359
|
@@ -0,0 +1,1089 @@
|
|
|
1
|
+
import { a as De, $ as Se, S as Le, i as Ne, s as Re, f as Q, b as je, n as re, d as j, g as O, j as h, p as Oe, q as qe, u as Ge, w as Ue, r as ne, c as Y, Q as le, h as u, l as U, k as N, m as R, B as se, o as g, v as Z, K as ee, L as ve, e as r, x as Ve, y as He } from "./GeneralLogout-CoXr5Hra.js";
|
|
2
|
+
function ue(o, e) {
|
|
3
|
+
De(o, e);
|
|
4
|
+
}
|
|
5
|
+
function Xe(o) {
|
|
6
|
+
Se.set(o);
|
|
7
|
+
}
|
|
8
|
+
const de = {
|
|
9
|
+
en: {
|
|
10
|
+
titleBonuses: "Active Bonuses",
|
|
11
|
+
bonusCode: "Do you have a bonus code?",
|
|
12
|
+
getBonus: "Get Bonus",
|
|
13
|
+
invalidBonusCode: "The bonus code provided is invalid.",
|
|
14
|
+
noActiveBonuses: "You have no active bonuses at the moment.",
|
|
15
|
+
forfeitBonus: "Are you sure want to forfeit bonus?",
|
|
16
|
+
forfeitBonusConfirm: "Confirm",
|
|
17
|
+
forfeitBonusCancel: "Cancel",
|
|
18
|
+
successMessage: "Bonus claimed!",
|
|
19
|
+
errorMessage: "Invalid bonus"
|
|
20
|
+
},
|
|
21
|
+
"zh-hk": {
|
|
22
|
+
titleBonuses: "活躍獎金",
|
|
23
|
+
bonusCode: "你有獎金代碼嗎?",
|
|
24
|
+
getBonus: "獲得獎金",
|
|
25
|
+
invalidBonusCode: "提供的紅利代碼無效。",
|
|
26
|
+
noActiveBonuses: "您目前沒有有效的獎金。",
|
|
27
|
+
forfeitBonus: "您確定要放棄獎金及其獎金嗎?",
|
|
28
|
+
forfeitBonusConfirm: "確認",
|
|
29
|
+
forfeitBonusCancel: "取消",
|
|
30
|
+
successMessage: "獎金要求!",
|
|
31
|
+
errorMessage: "無效獎金"
|
|
32
|
+
},
|
|
33
|
+
fr: {
|
|
34
|
+
titleBonuses: "Bonus actifs",
|
|
35
|
+
bonusCode: "Avez-vous un code bonus?",
|
|
36
|
+
getBonus: "Obtenir un bonus",
|
|
37
|
+
invalidBonusCode: "Le code bonus fourni n'est pas valide.",
|
|
38
|
+
noActiveBonuses: "Vous n'avez pas de bonus actifs pour le moment.",
|
|
39
|
+
forfeitBonus: "Etes-vous sûr de vouloir supprimer le bonus et ses gains?",
|
|
40
|
+
forfeitBonusConfirm: "Confirmer",
|
|
41
|
+
forfeitBonusCancel: "Annuler",
|
|
42
|
+
successMessage: "Bonus réclamé!",
|
|
43
|
+
errorMessage: "Bonus invalide"
|
|
44
|
+
},
|
|
45
|
+
ro: {
|
|
46
|
+
titleBonuses: "Bonusuri active",
|
|
47
|
+
bonusCode: "Ai un cod de bonus?",
|
|
48
|
+
getBonus: "Revendică",
|
|
49
|
+
invalidBonusCode: "Codul de bonus introdus este invalid.",
|
|
50
|
+
noActiveBonuses: "Nu ai niciun bonus activ în acest moment.",
|
|
51
|
+
forfeitBonus: "Ești sigur că vrei să anulezi acest bonus și câștigurile provenite din acest bonus?",
|
|
52
|
+
forfeitBonusConfirm: "Confirmă",
|
|
53
|
+
forfeitBonusCancel: "Anulează",
|
|
54
|
+
successMessage: "Bonus revendicat!",
|
|
55
|
+
errorMessage: "Bonus invalid"
|
|
56
|
+
},
|
|
57
|
+
es: {
|
|
58
|
+
titleBonuses: "Bonos Activos",
|
|
59
|
+
bonusCode: "Tienes un código de Bono?",
|
|
60
|
+
getBonus: "Obtener Bono",
|
|
61
|
+
invalidBonusCode: "El código del Bono no es válido.",
|
|
62
|
+
noActiveBonuses: "Usted no tiene Bonos activos en este momento.",
|
|
63
|
+
forfeitBonus: "Estas seguro que quieres perder el bono?",
|
|
64
|
+
forfeitBonusConfirm: "Confirmar",
|
|
65
|
+
forfeitBonusCancel: "Cancelar",
|
|
66
|
+
successMessage: "Bono adjudicado!",
|
|
67
|
+
errorMessage: "Bono invalido"
|
|
68
|
+
},
|
|
69
|
+
pt: {
|
|
70
|
+
titleBonuses: "Bônus Ativos",
|
|
71
|
+
bonusCode: "Você tem um código de bônus?",
|
|
72
|
+
getBonus: "Obter bônus",
|
|
73
|
+
invalidBonusCode: "O código de bônus fornecido é inválido.",
|
|
74
|
+
noActiveBonuses: "Você não tem bônus ativos no momento.",
|
|
75
|
+
forfeitBonus: "Tem certeza de que deseja perder o bônus e seus ganhos?",
|
|
76
|
+
forfeitBonusConfirm: "Confirmar",
|
|
77
|
+
forfeitBonusCancel: "Cancelar",
|
|
78
|
+
successMessage: "Bônus reivindicado!",
|
|
79
|
+
errorMessage: "Bônus inválido"
|
|
80
|
+
},
|
|
81
|
+
hr: {
|
|
82
|
+
titleBonuses: "Aktivni bonusi",
|
|
83
|
+
bonusCode: "Imate li bonus kod?",
|
|
84
|
+
getBonus: "Preuzmi bonus",
|
|
85
|
+
invalidBonusCode: "Navedeni bonus kod je nevažeći.",
|
|
86
|
+
noActiveBonuses: "Trenutno nemate aktivnih bonusa.",
|
|
87
|
+
forfeitBonus: "Jeste li sigurni da želite otkazati bonus?",
|
|
88
|
+
forfeitBonusConfirm: "Potvrdi",
|
|
89
|
+
forfeitBonusCancel: "Otkaži",
|
|
90
|
+
successMessage: "Preuzet bonus!",
|
|
91
|
+
errorMessage: "Nevažeći bonus"
|
|
92
|
+
},
|
|
93
|
+
"pt-br": {
|
|
94
|
+
titleBonuses: "Títulos ativos",
|
|
95
|
+
bonusCode: "Você tem um código de bônus?",
|
|
96
|
+
getBonus: "Reivindicar bônus",
|
|
97
|
+
invalidBonusCode: "O código de bônus emitido é inválido",
|
|
98
|
+
noActiveBonuses: "Não possui títulos ativos no momento",
|
|
99
|
+
forfeitBonus: "Tem certeza de que deseja recusar o bônus?",
|
|
100
|
+
forfeitBonusConfirm: "confirme",
|
|
101
|
+
forfeitBonusCancel: "Cancelar",
|
|
102
|
+
successMessage: "Bônus ativado",
|
|
103
|
+
errorMessage: "Voucher inválido"
|
|
104
|
+
},
|
|
105
|
+
"es-mx": {
|
|
106
|
+
titleBonuses: "Bonos activos",
|
|
107
|
+
bonusCode: "¿Tiene código de bonos?",
|
|
108
|
+
getBonus: "Reclamar bono",
|
|
109
|
+
invalidBonusCode: "El código de bono emitido es inválido",
|
|
110
|
+
noActiveBonuses: "No tiene bonos activos al momento",
|
|
111
|
+
forfeitBonus: "¿ Está seguro que quiere declinar el bono?",
|
|
112
|
+
forfeitBonusConfirm: "Confirmar",
|
|
113
|
+
forfeitBonusCancel: "Cancelar",
|
|
114
|
+
successMessage: "Bono activado",
|
|
115
|
+
errorMessage: "Bono inválido"
|
|
116
|
+
},
|
|
117
|
+
tr: {
|
|
118
|
+
titleBonuses: "Aktif Bonuslar",
|
|
119
|
+
bonusCode: "Bonus kodunuz var mı?",
|
|
120
|
+
getBonus: "Bonusu Al",
|
|
121
|
+
invalidBonusCode: "Sağlanan bonus kodu geçersiz.",
|
|
122
|
+
noActiveBonuses: "Şu anda aktif bonusunuz yok.",
|
|
123
|
+
forfeitBonus: "Bonusu kaybetmek istediğinizden emin misiniz?",
|
|
124
|
+
forfeitBonusConfirm: "Onaylamak",
|
|
125
|
+
forfeitBonusCancel: "İptal etmek",
|
|
126
|
+
successMessage: "Bonus talep edildi!",
|
|
127
|
+
errorMessage: "Geçersiz bonus"
|
|
128
|
+
},
|
|
129
|
+
"en-us": {
|
|
130
|
+
titleBonuses: "Active Bonuses",
|
|
131
|
+
bonusCode: "Do you have a bonus code?",
|
|
132
|
+
getBonus: "Get Bonus",
|
|
133
|
+
invalidBonusCode: "The bonus code provided is invalid.",
|
|
134
|
+
noActiveBonuses: "You have no active bonuses at the moment.",
|
|
135
|
+
forfeitBonus: "Are you sure want to forfeit bonus?",
|
|
136
|
+
forfeitBonusConfirm: "Confirm",
|
|
137
|
+
forfeitBonusCancel: "Cancel",
|
|
138
|
+
successMessage: "Bonus claimed!",
|
|
139
|
+
errorMessage: "Invalid bonus"
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
if (typeof window != "undefined") {
|
|
143
|
+
let o = function(e) {
|
|
144
|
+
return function(...n) {
|
|
145
|
+
try {
|
|
146
|
+
return e.apply(this, n);
|
|
147
|
+
} catch (t) {
|
|
148
|
+
if (t instanceof DOMException && t.message.includes("has already been used with this registry") || t.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
149
|
+
return !1;
|
|
150
|
+
throw t;
|
|
151
|
+
}
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
customElements.define = o(customElements.define), import("./PlayerBonusCard-BQU7JBPr.js").then(({ default: e }) => {
|
|
155
|
+
!customElements.get("player-bonus-card") && customElements.define("player-bonus-card", e.element);
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
function Ye(o) {
|
|
159
|
+
je(o, "svelte-1uw0g7j", ".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, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.ActiveBonusesTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));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:14px;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, #D0046C))}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput.BonusCodeInputMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));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.SubmitBonusCodeMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BonusCodeContainer.InvalidField input{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-primary-50, var(--emw--color-pink-50, #F1BED9));color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.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, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));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:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.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, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:16px}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:14px}.BonusesPaginationWrapper{margin:40px 0;display:block;line-break:anywhere;line-height:2em}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-size:16px;cursor:pointer;padding:5px 10px;font-weight:700}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:var(--emw--color-gray-100, #E6E6E6);cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:var(--emw--color-gray-300, #58586B);font-size:16px;cursor:pointer;padding:5px 10px;white-space:nowrap}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emw--color-white, #FFFFFF);font-weight:700}");
|
|
160
|
+
}
|
|
161
|
+
function ce(o, e, n) {
|
|
162
|
+
const t = o.slice();
|
|
163
|
+
return t[49] = e[n], t[51] = n, t;
|
|
164
|
+
}
|
|
165
|
+
function pe(o, e, n) {
|
|
166
|
+
const t = o.slice();
|
|
167
|
+
return t[52] = e[n], t;
|
|
168
|
+
}
|
|
169
|
+
function Je(o) {
|
|
170
|
+
let e, n, t, s = (
|
|
171
|
+
/*$_*/
|
|
172
|
+
o[17]("titleBonuses") + ""
|
|
173
|
+
), a, i, m, f, B = (
|
|
174
|
+
/*$_*/
|
|
175
|
+
o[17]("bonusCode") + ""
|
|
176
|
+
), _, d, p, y, b, c, k = (
|
|
177
|
+
/*$_*/
|
|
178
|
+
o[17]("getBonus") + ""
|
|
179
|
+
), A, W, L, T, M, C, I, w, J, V = (
|
|
180
|
+
/*isMobile*/
|
|
181
|
+
o[18] && Ke(o)
|
|
182
|
+
), z = (
|
|
183
|
+
/*invalidBonusCode*/
|
|
184
|
+
o[5] && fe(o)
|
|
185
|
+
);
|
|
186
|
+
function x(v, P) {
|
|
187
|
+
return (
|
|
188
|
+
/*activeBonusesList*/
|
|
189
|
+
v[12].length === 0 ? Ze : Qe
|
|
190
|
+
);
|
|
191
|
+
}
|
|
192
|
+
let K = x(o), q = K(o), E = (
|
|
193
|
+
/*activeBonusesList*/
|
|
194
|
+
o[12].length !== 0 && be(o)
|
|
195
|
+
), D = (
|
|
196
|
+
/*bonusModal*/
|
|
197
|
+
o[16] && Be(o)
|
|
198
|
+
);
|
|
199
|
+
return {
|
|
200
|
+
c() {
|
|
201
|
+
e = h("div"), V && V.c(), n = N(), t = h("h2"), a = R(s), i = N(), m = h("div"), f = h("label"), _ = R(B), d = N(), p = h("div"), y = h("input"), b = N(), c = h("button"), A = R(k), W = N(), z && z.c(), L = N(), T = h("div"), q.c(), M = N(), E && E.c(), C = N(), D && D.c(), I = se(), g(t, "class", "ActiveBonusesTitle " + /*isMobile*/
|
|
202
|
+
(o[18] ? "ActiveBonusesTitleNone" : "")), g(f, "for", "BonusCode"), g(y, "class", "BonusCodeInput " + /*isMobile*/
|
|
203
|
+
(o[18] ? "BonusCodeInputMobile" : "")), g(y, "type", "text"), g(y, "id", "BonusCode"), g(c, "class", "SubmitBonusCode " + /*isMobile*/
|
|
204
|
+
(o[18] ? "SubmitBonusCodeMobile" : "")), c.disabled = /*invalidBonusField*/
|
|
205
|
+
o[4], g(p, "class", "BonusCodeWrapper " + /*isMobile*/
|
|
206
|
+
(o[18] ? "BonusCodeWrapperMobile" : "")), g(m, "class", "BonusCodeContainer " + /*isMobile*/
|
|
207
|
+
(o[18] ? "BonusCodeContainerMobile" : "")), g(T, "class", "ActiveBonusesGrid " + /*isMobile*/
|
|
208
|
+
(o[18] ? "ActiveBonusesGridMobile" : "")), g(e, "class", "ActiveBonusesWrapper " + /*isMobile*/
|
|
209
|
+
(o[18] ? "ActiveBonusesWrapperMobile" : ""));
|
|
210
|
+
},
|
|
211
|
+
m(v, P) {
|
|
212
|
+
O(v, e, P), V && V.m(e, null), u(e, n), u(e, t), u(t, a), u(e, i), u(e, m), u(m, f), u(f, _), u(m, d), u(m, p), u(p, y), le(
|
|
213
|
+
y,
|
|
214
|
+
/*bonusCode*/
|
|
215
|
+
o[6]
|
|
216
|
+
), u(p, b), u(p, c), u(c, A), u(m, W), z && z.m(m, null), u(e, L), u(e, T), q.m(T, null), u(e, M), E && E.m(e, null), O(v, C, P), D && D.m(v, P), O(v, I, P), w || (J = [
|
|
217
|
+
U(
|
|
218
|
+
y,
|
|
219
|
+
"input",
|
|
220
|
+
/*input_input_handler*/
|
|
221
|
+
o[32]
|
|
222
|
+
),
|
|
223
|
+
U(
|
|
224
|
+
y,
|
|
225
|
+
"keyup",
|
|
226
|
+
/*validateBonusCode*/
|
|
227
|
+
o[20]
|
|
228
|
+
),
|
|
229
|
+
U(
|
|
230
|
+
c,
|
|
231
|
+
"click",
|
|
232
|
+
/*debouncedFunction*/
|
|
233
|
+
o[25](
|
|
234
|
+
/*claimBonus*/
|
|
235
|
+
o[22]
|
|
236
|
+
)
|
|
237
|
+
)
|
|
238
|
+
], w = !0);
|
|
239
|
+
},
|
|
240
|
+
p(v, P) {
|
|
241
|
+
/*isMobile*/
|
|
242
|
+
v[18] && V.p(v, P), P[0] & /*$_*/
|
|
243
|
+
131072 && s !== (s = /*$_*/
|
|
244
|
+
v[17]("titleBonuses") + "") && Y(a, s), P[0] & /*$_*/
|
|
245
|
+
131072 && B !== (B = /*$_*/
|
|
246
|
+
v[17]("bonusCode") + "") && Y(_, B), P[0] & /*bonusCode*/
|
|
247
|
+
64 && y.value !== /*bonusCode*/
|
|
248
|
+
v[6] && le(
|
|
249
|
+
y,
|
|
250
|
+
/*bonusCode*/
|
|
251
|
+
v[6]
|
|
252
|
+
), P[0] & /*$_*/
|
|
253
|
+
131072 && k !== (k = /*$_*/
|
|
254
|
+
v[17]("getBonus") + "") && Y(A, k), P[0] & /*invalidBonusField*/
|
|
255
|
+
16 && (c.disabled = /*invalidBonusField*/
|
|
256
|
+
v[4]), /*invalidBonusCode*/
|
|
257
|
+
v[5] ? z ? z.p(v, P) : (z = fe(v), z.c(), z.m(m, null)) : z && (z.d(1), z = null), K === (K = x(v)) && q ? q.p(v, P) : (q.d(1), q = K(v), q && (q.c(), q.m(T, null))), /*activeBonusesList*/
|
|
258
|
+
v[12].length !== 0 ? E ? E.p(v, P) : (E = be(v), E.c(), E.m(e, null)) : E && (E.d(1), E = null), /*bonusModal*/
|
|
259
|
+
v[16] ? D ? D.p(v, P) : (D = Be(v), D.c(), D.m(I.parentNode, I)) : D && (D.d(1), D = null);
|
|
260
|
+
},
|
|
261
|
+
d(v) {
|
|
262
|
+
v && (j(e), j(C), j(I)), V && V.d(), z && z.d(), q.d(), E && E.d(), D && D.d(v), w = !1, ne(J);
|
|
263
|
+
}
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
function Ke(o) {
|
|
267
|
+
let e, n, t, s, a, i, m, f, B, _, d = (
|
|
268
|
+
/*$_*/
|
|
269
|
+
o[17]("titleBonuses") + ""
|
|
270
|
+
), p, y, b;
|
|
271
|
+
return {
|
|
272
|
+
c() {
|
|
273
|
+
e = h("div"), n = Z("svg"), t = Z("defs"), s = Z("style"), a = R(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), i = Z("g"), m = Z("g"), f = Z("path"), B = N(), _ = h("h2"), p = R(d), g(f, "class", "aaa"), g(f, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), g(f, "transform", "translate(15 15) rotate(180)"), g(m, "transform", "translate(20 158)"), g(i, "transform", "translate(-20 -158)"), g(n, "xmlns", "http://www.w3.org/2000/svg"), g(n, "width", "15"), g(n, "height", "15"), g(n, "viewBox", "0 0 15 15"), g(_, "class", "ActiveBonusesTitleMobile"), g(e, "class", "MenuReturnButton");
|
|
274
|
+
},
|
|
275
|
+
m(c, k) {
|
|
276
|
+
O(c, e, k), u(e, n), u(n, t), u(t, s), u(s, a), u(n, i), u(i, m), u(m, f), u(e, B), u(e, _), u(_, p), y || (b = U(
|
|
277
|
+
e,
|
|
278
|
+
"click",
|
|
279
|
+
/*click_handler*/
|
|
280
|
+
o[31]
|
|
281
|
+
), y = !0);
|
|
282
|
+
},
|
|
283
|
+
p(c, k) {
|
|
284
|
+
k[0] & /*$_*/
|
|
285
|
+
131072 && d !== (d = /*$_*/
|
|
286
|
+
c[17]("titleBonuses") + "") && Y(p, d);
|
|
287
|
+
},
|
|
288
|
+
d(c) {
|
|
289
|
+
c && j(e), y = !1, b();
|
|
290
|
+
}
|
|
291
|
+
};
|
|
292
|
+
}
|
|
293
|
+
function fe(o) {
|
|
294
|
+
let e, n = (
|
|
295
|
+
/*$_*/
|
|
296
|
+
o[17]("invalidBonusCode") + ""
|
|
297
|
+
), t;
|
|
298
|
+
return {
|
|
299
|
+
c() {
|
|
300
|
+
e = h("p"), t = R(n), g(e, "class", "InvalidBonusCodeMessage");
|
|
301
|
+
},
|
|
302
|
+
m(s, a) {
|
|
303
|
+
O(s, e, a), u(e, t);
|
|
304
|
+
},
|
|
305
|
+
p(s, a) {
|
|
306
|
+
a[0] & /*$_*/
|
|
307
|
+
131072 && n !== (n = /*$_*/
|
|
308
|
+
s[17]("invalidBonusCode") + "") && Y(t, n);
|
|
309
|
+
},
|
|
310
|
+
d(s) {
|
|
311
|
+
s && j(e);
|
|
312
|
+
}
|
|
313
|
+
};
|
|
314
|
+
}
|
|
315
|
+
function Qe(o) {
|
|
316
|
+
let e, n = ee(
|
|
317
|
+
/*activeBonusesList*/
|
|
318
|
+
o[12]
|
|
319
|
+
), t = [];
|
|
320
|
+
for (let s = 0; s < n.length; s += 1)
|
|
321
|
+
t[s] = me(pe(o, n, s));
|
|
322
|
+
return {
|
|
323
|
+
c() {
|
|
324
|
+
for (let s = 0; s < t.length; s += 1)
|
|
325
|
+
t[s].c();
|
|
326
|
+
e = se();
|
|
327
|
+
},
|
|
328
|
+
m(s, a) {
|
|
329
|
+
for (let i = 0; i < t.length; i += 1)
|
|
330
|
+
t[i] && t[i].m(s, a);
|
|
331
|
+
O(s, e, a);
|
|
332
|
+
},
|
|
333
|
+
p(s, a) {
|
|
334
|
+
if (a[0] & /*termsandconditionsdescription, termsandconditionsurl, termsandconditionsasset, activeBonusesList, lang, clientstyling, clientstylingurl*/
|
|
335
|
+
61447) {
|
|
336
|
+
n = ee(
|
|
337
|
+
/*activeBonusesList*/
|
|
338
|
+
s[12]
|
|
339
|
+
);
|
|
340
|
+
let i;
|
|
341
|
+
for (i = 0; i < n.length; i += 1) {
|
|
342
|
+
const m = pe(s, n, i);
|
|
343
|
+
t[i] ? t[i].p(m, a) : (t[i] = me(m), t[i].c(), t[i].m(e.parentNode, e));
|
|
344
|
+
}
|
|
345
|
+
for (; i < t.length; i += 1)
|
|
346
|
+
t[i].d(1);
|
|
347
|
+
t.length = n.length;
|
|
348
|
+
}
|
|
349
|
+
},
|
|
350
|
+
d(s) {
|
|
351
|
+
s && j(e), ve(t, s);
|
|
352
|
+
}
|
|
353
|
+
};
|
|
354
|
+
}
|
|
355
|
+
function Ze(o) {
|
|
356
|
+
let e, n = (
|
|
357
|
+
/*$_*/
|
|
358
|
+
o[17]("noActiveBonuses") + ""
|
|
359
|
+
), t;
|
|
360
|
+
return {
|
|
361
|
+
c() {
|
|
362
|
+
e = h("p"), t = R(n);
|
|
363
|
+
},
|
|
364
|
+
m(s, a) {
|
|
365
|
+
O(s, e, a), u(e, t);
|
|
366
|
+
},
|
|
367
|
+
p(s, a) {
|
|
368
|
+
a[0] & /*$_*/
|
|
369
|
+
131072 && n !== (n = /*$_*/
|
|
370
|
+
s[17]("noActiveBonuses") + "") && Y(t, n);
|
|
371
|
+
},
|
|
372
|
+
d(s) {
|
|
373
|
+
s && j(e);
|
|
374
|
+
}
|
|
375
|
+
};
|
|
376
|
+
}
|
|
377
|
+
function xe(o) {
|
|
378
|
+
let e, n, t, s, a, i, m, f, B, _, d, p, y;
|
|
379
|
+
return {
|
|
380
|
+
c() {
|
|
381
|
+
e = h("player-bonus-card"), r(
|
|
382
|
+
e,
|
|
383
|
+
"termsandconditionsdescription",
|
|
384
|
+
/*termsandconditionsdescription*/
|
|
385
|
+
o[15]
|
|
386
|
+
), r(
|
|
387
|
+
e,
|
|
388
|
+
"termsandconditionsurl",
|
|
389
|
+
/*termsandconditionsurl*/
|
|
390
|
+
o[13]
|
|
391
|
+
), r(
|
|
392
|
+
e,
|
|
393
|
+
"termsandconditionsasset",
|
|
394
|
+
/*termsandconditionsasset*/
|
|
395
|
+
o[14]
|
|
396
|
+
), r(e, "endpoint", n = /*activeBonus*/
|
|
397
|
+
o[52].endpoint), r(e, "playerid", t = /*activeBonus*/
|
|
398
|
+
o[52].playerid), r(e, "session", s = /*activeBonus*/
|
|
399
|
+
o[52].session), r(e, "bonuswalletid", a = /*activeBonus*/
|
|
400
|
+
o[52].walletId), r(e, "bonusdate", i = /*activeBonus*/
|
|
401
|
+
o[52].granted), r(e, "bonusstatus", m = /*activeBonus*/
|
|
402
|
+
o[52].status), r(e, "bonusname", f = /*activeBonus*/
|
|
403
|
+
o[52].name), r(e, "bonustype", B = /*activeBonus*/
|
|
404
|
+
o[52].type), r(e, "bonusamount", _ = /*activeBonus*/
|
|
405
|
+
o[52].extension.grantedPlayerCurrencyAmount), r(e, "bonuswageringamount", d = `${/*activeBonus*/
|
|
406
|
+
o[52].fulfilledWR} / ${/*activeBonus*/
|
|
407
|
+
o[52].originalWageringRequirement}`), r(e, "bonusremainingamount", p = /*activeBonus*/
|
|
408
|
+
o[52].currentAmount), r(e, "bonuscurrency", y = /*activeBonus*/
|
|
409
|
+
o[52].currency), r(
|
|
410
|
+
e,
|
|
411
|
+
"lang",
|
|
412
|
+
/*lang*/
|
|
413
|
+
o[0]
|
|
414
|
+
), r(
|
|
415
|
+
e,
|
|
416
|
+
"clientstyling",
|
|
417
|
+
/*clientstyling*/
|
|
418
|
+
o[1]
|
|
419
|
+
), r(
|
|
420
|
+
e,
|
|
421
|
+
"clientstylingurl",
|
|
422
|
+
/*clientstylingurl*/
|
|
423
|
+
o[2]
|
|
424
|
+
);
|
|
425
|
+
},
|
|
426
|
+
m(b, c) {
|
|
427
|
+
O(b, e, c);
|
|
428
|
+
},
|
|
429
|
+
p(b, c) {
|
|
430
|
+
c[0] & /*termsandconditionsdescription*/
|
|
431
|
+
32768 && r(
|
|
432
|
+
e,
|
|
433
|
+
"termsandconditionsdescription",
|
|
434
|
+
/*termsandconditionsdescription*/
|
|
435
|
+
b[15]
|
|
436
|
+
), c[0] & /*termsandconditionsurl*/
|
|
437
|
+
8192 && r(
|
|
438
|
+
e,
|
|
439
|
+
"termsandconditionsurl",
|
|
440
|
+
/*termsandconditionsurl*/
|
|
441
|
+
b[13]
|
|
442
|
+
), c[0] & /*termsandconditionsasset*/
|
|
443
|
+
16384 && r(
|
|
444
|
+
e,
|
|
445
|
+
"termsandconditionsasset",
|
|
446
|
+
/*termsandconditionsasset*/
|
|
447
|
+
b[14]
|
|
448
|
+
), c[0] & /*activeBonusesList*/
|
|
449
|
+
4096 && n !== (n = /*activeBonus*/
|
|
450
|
+
b[52].endpoint) && r(e, "endpoint", n), c[0] & /*activeBonusesList*/
|
|
451
|
+
4096 && t !== (t = /*activeBonus*/
|
|
452
|
+
b[52].playerid) && r(e, "playerid", t), c[0] & /*activeBonusesList*/
|
|
453
|
+
4096 && s !== (s = /*activeBonus*/
|
|
454
|
+
b[52].session) && r(e, "session", s), c[0] & /*activeBonusesList*/
|
|
455
|
+
4096 && a !== (a = /*activeBonus*/
|
|
456
|
+
b[52].walletId) && r(e, "bonuswalletid", a), c[0] & /*activeBonusesList*/
|
|
457
|
+
4096 && i !== (i = /*activeBonus*/
|
|
458
|
+
b[52].granted) && r(e, "bonusdate", i), c[0] & /*activeBonusesList*/
|
|
459
|
+
4096 && m !== (m = /*activeBonus*/
|
|
460
|
+
b[52].status) && r(e, "bonusstatus", m), c[0] & /*activeBonusesList*/
|
|
461
|
+
4096 && f !== (f = /*activeBonus*/
|
|
462
|
+
b[52].name) && r(e, "bonusname", f), c[0] & /*activeBonusesList*/
|
|
463
|
+
4096 && B !== (B = /*activeBonus*/
|
|
464
|
+
b[52].type) && r(e, "bonustype", B), c[0] & /*activeBonusesList*/
|
|
465
|
+
4096 && _ !== (_ = /*activeBonus*/
|
|
466
|
+
b[52].extension.grantedPlayerCurrencyAmount) && r(e, "bonusamount", _), c[0] & /*activeBonusesList*/
|
|
467
|
+
4096 && d !== (d = `${/*activeBonus*/
|
|
468
|
+
b[52].fulfilledWR} / ${/*activeBonus*/
|
|
469
|
+
b[52].originalWageringRequirement}`) && r(e, "bonuswageringamount", d), c[0] & /*activeBonusesList*/
|
|
470
|
+
4096 && p !== (p = /*activeBonus*/
|
|
471
|
+
b[52].currentAmount) && r(e, "bonusremainingamount", p), c[0] & /*activeBonusesList*/
|
|
472
|
+
4096 && y !== (y = /*activeBonus*/
|
|
473
|
+
b[52].currency) && r(e, "bonuscurrency", y), c[0] & /*lang*/
|
|
474
|
+
1 && r(
|
|
475
|
+
e,
|
|
476
|
+
"lang",
|
|
477
|
+
/*lang*/
|
|
478
|
+
b[0]
|
|
479
|
+
), c[0] & /*clientstyling*/
|
|
480
|
+
2 && r(
|
|
481
|
+
e,
|
|
482
|
+
"clientstyling",
|
|
483
|
+
/*clientstyling*/
|
|
484
|
+
b[1]
|
|
485
|
+
), c[0] & /*clientstylingurl*/
|
|
486
|
+
4 && r(
|
|
487
|
+
e,
|
|
488
|
+
"clientstylingurl",
|
|
489
|
+
/*clientstylingurl*/
|
|
490
|
+
b[2]
|
|
491
|
+
);
|
|
492
|
+
},
|
|
493
|
+
d(b) {
|
|
494
|
+
b && j(e);
|
|
495
|
+
}
|
|
496
|
+
};
|
|
497
|
+
}
|
|
498
|
+
function $e(o) {
|
|
499
|
+
let e, n, t, s, a, i, m, f, B, _;
|
|
500
|
+
return {
|
|
501
|
+
c() {
|
|
502
|
+
e = h("player-bonus-card"), r(
|
|
503
|
+
e,
|
|
504
|
+
"termsandconditionsdescription",
|
|
505
|
+
/*termsandconditionsdescription*/
|
|
506
|
+
o[15]
|
|
507
|
+
), r(
|
|
508
|
+
e,
|
|
509
|
+
"termsandconditionsurl",
|
|
510
|
+
/*termsandconditionsurl*/
|
|
511
|
+
o[13]
|
|
512
|
+
), r(
|
|
513
|
+
e,
|
|
514
|
+
"termsandconditionsasset",
|
|
515
|
+
/*termsandconditionsasset*/
|
|
516
|
+
o[14]
|
|
517
|
+
), r(e, "endpoint", n = /*activeBonus*/
|
|
518
|
+
o[52].endpoint), r(e, "playerid", t = /*activeBonus*/
|
|
519
|
+
o[52].playerid), r(e, "session", s = /*activeBonus*/
|
|
520
|
+
o[52].session), r(e, "bonuswalletid", a = /*activeBonus*/
|
|
521
|
+
o[52].walletId), r(e, "bonusdate", i = /*activeBonus*/
|
|
522
|
+
o[52].granted), r(e, "bonusstatus", m = /*activeBonus*/
|
|
523
|
+
o[52].status), r(e, "bonusname", f = /*activeBonus*/
|
|
524
|
+
o[52].name), r(e, "bonustype", B = /*activeBonus*/
|
|
525
|
+
o[52].type), r(e, "bonuscurrency", _ = /*activeBonus*/
|
|
526
|
+
o[52].currency), r(
|
|
527
|
+
e,
|
|
528
|
+
"lang",
|
|
529
|
+
/*lang*/
|
|
530
|
+
o[0]
|
|
531
|
+
), r(
|
|
532
|
+
e,
|
|
533
|
+
"clientstyling",
|
|
534
|
+
/*clientstyling*/
|
|
535
|
+
o[1]
|
|
536
|
+
), r(
|
|
537
|
+
e,
|
|
538
|
+
"clientstylingurl",
|
|
539
|
+
/*clientstylingurl*/
|
|
540
|
+
o[2]
|
|
541
|
+
);
|
|
542
|
+
},
|
|
543
|
+
m(d, p) {
|
|
544
|
+
O(d, e, p);
|
|
545
|
+
},
|
|
546
|
+
p(d, p) {
|
|
547
|
+
p[0] & /*termsandconditionsdescription*/
|
|
548
|
+
32768 && r(
|
|
549
|
+
e,
|
|
550
|
+
"termsandconditionsdescription",
|
|
551
|
+
/*termsandconditionsdescription*/
|
|
552
|
+
d[15]
|
|
553
|
+
), p[0] & /*termsandconditionsurl*/
|
|
554
|
+
8192 && r(
|
|
555
|
+
e,
|
|
556
|
+
"termsandconditionsurl",
|
|
557
|
+
/*termsandconditionsurl*/
|
|
558
|
+
d[13]
|
|
559
|
+
), p[0] & /*termsandconditionsasset*/
|
|
560
|
+
16384 && r(
|
|
561
|
+
e,
|
|
562
|
+
"termsandconditionsasset",
|
|
563
|
+
/*termsandconditionsasset*/
|
|
564
|
+
d[14]
|
|
565
|
+
), p[0] & /*activeBonusesList*/
|
|
566
|
+
4096 && n !== (n = /*activeBonus*/
|
|
567
|
+
d[52].endpoint) && r(e, "endpoint", n), p[0] & /*activeBonusesList*/
|
|
568
|
+
4096 && t !== (t = /*activeBonus*/
|
|
569
|
+
d[52].playerid) && r(e, "playerid", t), p[0] & /*activeBonusesList*/
|
|
570
|
+
4096 && s !== (s = /*activeBonus*/
|
|
571
|
+
d[52].session) && r(e, "session", s), p[0] & /*activeBonusesList*/
|
|
572
|
+
4096 && a !== (a = /*activeBonus*/
|
|
573
|
+
d[52].walletId) && r(e, "bonuswalletid", a), p[0] & /*activeBonusesList*/
|
|
574
|
+
4096 && i !== (i = /*activeBonus*/
|
|
575
|
+
d[52].granted) && r(e, "bonusdate", i), p[0] & /*activeBonusesList*/
|
|
576
|
+
4096 && m !== (m = /*activeBonus*/
|
|
577
|
+
d[52].status) && r(e, "bonusstatus", m), p[0] & /*activeBonusesList*/
|
|
578
|
+
4096 && f !== (f = /*activeBonus*/
|
|
579
|
+
d[52].name) && r(e, "bonusname", f), p[0] & /*activeBonusesList*/
|
|
580
|
+
4096 && B !== (B = /*activeBonus*/
|
|
581
|
+
d[52].type) && r(e, "bonustype", B), p[0] & /*activeBonusesList*/
|
|
582
|
+
4096 && _ !== (_ = /*activeBonus*/
|
|
583
|
+
d[52].currency) && r(e, "bonuscurrency", _), p[0] & /*lang*/
|
|
584
|
+
1 && r(
|
|
585
|
+
e,
|
|
586
|
+
"lang",
|
|
587
|
+
/*lang*/
|
|
588
|
+
d[0]
|
|
589
|
+
), p[0] & /*clientstyling*/
|
|
590
|
+
2 && r(
|
|
591
|
+
e,
|
|
592
|
+
"clientstyling",
|
|
593
|
+
/*clientstyling*/
|
|
594
|
+
d[1]
|
|
595
|
+
), p[0] & /*clientstylingurl*/
|
|
596
|
+
4 && r(
|
|
597
|
+
e,
|
|
598
|
+
"clientstylingurl",
|
|
599
|
+
/*clientstylingurl*/
|
|
600
|
+
d[2]
|
|
601
|
+
);
|
|
602
|
+
},
|
|
603
|
+
d(d) {
|
|
604
|
+
d && j(e);
|
|
605
|
+
}
|
|
606
|
+
};
|
|
607
|
+
}
|
|
608
|
+
function me(o) {
|
|
609
|
+
let e;
|
|
610
|
+
function n(a, i) {
|
|
611
|
+
return (
|
|
612
|
+
/*activeBonus*/
|
|
613
|
+
a[52].type === "freeRound" ? $e : xe
|
|
614
|
+
);
|
|
615
|
+
}
|
|
616
|
+
let t = n(o), s = t(o);
|
|
617
|
+
return {
|
|
618
|
+
c() {
|
|
619
|
+
s.c(), e = se();
|
|
620
|
+
},
|
|
621
|
+
m(a, i) {
|
|
622
|
+
s.m(a, i), O(a, e, i);
|
|
623
|
+
},
|
|
624
|
+
p(a, i) {
|
|
625
|
+
t === (t = n(a)) && s ? s.p(a, i) : (s.d(1), s = t(a), s && (s.c(), s.m(e.parentNode, e)));
|
|
626
|
+
},
|
|
627
|
+
d(a) {
|
|
628
|
+
a && j(e), s.d(a);
|
|
629
|
+
}
|
|
630
|
+
};
|
|
631
|
+
}
|
|
632
|
+
function be(o) {
|
|
633
|
+
let e, n, t, s, a, i, m, f, B, _, d, p, y, b, c, k, A, W, L, T = ee(Array(
|
|
634
|
+
/*numberOfPages*/
|
|
635
|
+
o[10]
|
|
636
|
+
)), M = [];
|
|
637
|
+
for (let C = 0; C < T.length; C += 1)
|
|
638
|
+
M[C] = ge(ce(o, T, C));
|
|
639
|
+
return {
|
|
640
|
+
c() {
|
|
641
|
+
e = h("div"), n = h("span"), t = R("|<"), a = N(), i = h("span"), m = R("<"), B = N();
|
|
642
|
+
for (let C = 0; C < M.length; C += 1)
|
|
643
|
+
M[C].c();
|
|
644
|
+
_ = N(), d = h("span"), p = R(">"), b = N(), c = h("span"), k = R(">|"), g(n, "class", s = "BonusesFirst " + /*currentPage*/
|
|
645
|
+
(o[11] === 0 ? "Inactive" : "")), g(i, "class", f = "BonusesPrev " + /*currentPage*/
|
|
646
|
+
(o[11] === 0 ? "Inactive" : "")), g(d, "class", y = "BonusesNext " + /*currentPage*/
|
|
647
|
+
(o[11] === /*numberOfPages*/
|
|
648
|
+
o[10] - 1 ? "Inactive" : "")), g(c, "class", A = "BonusesLast " + /*currentPage*/
|
|
649
|
+
(o[11] === /*numberOfPages*/
|
|
650
|
+
o[10] - 1 ? "Inactive" : "")), g(e, "class", "BonusesPaginationWrapper " + /*isMobile*/
|
|
651
|
+
(o[18] ? "BonusesPaginationWrapperMobile" : ""));
|
|
652
|
+
},
|
|
653
|
+
m(C, I) {
|
|
654
|
+
O(C, e, I), u(e, n), u(n, t), u(e, a), u(e, i), u(i, m), u(e, B);
|
|
655
|
+
for (let w = 0; w < M.length; w += 1)
|
|
656
|
+
M[w] && M[w].m(e, null);
|
|
657
|
+
u(e, _), u(e, d), u(d, p), u(e, b), u(e, c), u(c, k), W || (L = [
|
|
658
|
+
U(
|
|
659
|
+
n,
|
|
660
|
+
"click",
|
|
661
|
+
/*click_handler_1*/
|
|
662
|
+
o[33]
|
|
663
|
+
),
|
|
664
|
+
U(
|
|
665
|
+
i,
|
|
666
|
+
"click",
|
|
667
|
+
/*click_handler_2*/
|
|
668
|
+
o[34]
|
|
669
|
+
),
|
|
670
|
+
U(
|
|
671
|
+
d,
|
|
672
|
+
"click",
|
|
673
|
+
/*click_handler_4*/
|
|
674
|
+
o[36]
|
|
675
|
+
),
|
|
676
|
+
U(
|
|
677
|
+
c,
|
|
678
|
+
"click",
|
|
679
|
+
/*click_handler_5*/
|
|
680
|
+
o[37]
|
|
681
|
+
)
|
|
682
|
+
], W = !0);
|
|
683
|
+
},
|
|
684
|
+
p(C, I) {
|
|
685
|
+
if (I[0] & /*currentPage*/
|
|
686
|
+
2048 && s !== (s = "BonusesFirst " + /*currentPage*/
|
|
687
|
+
(C[11] === 0 ? "Inactive" : "")) && g(n, "class", s), I[0] & /*currentPage*/
|
|
688
|
+
2048 && f !== (f = "BonusesPrev " + /*currentPage*/
|
|
689
|
+
(C[11] === 0 ? "Inactive" : "")) && g(i, "class", f), I[0] & /*currentPage, getActiveBonuses, numberOfPages*/
|
|
690
|
+
2100224) {
|
|
691
|
+
T = ee(Array(
|
|
692
|
+
/*numberOfPages*/
|
|
693
|
+
C[10]
|
|
694
|
+
));
|
|
695
|
+
let w;
|
|
696
|
+
for (w = 0; w < T.length; w += 1) {
|
|
697
|
+
const J = ce(C, T, w);
|
|
698
|
+
M[w] ? M[w].p(J, I) : (M[w] = ge(J), M[w].c(), M[w].m(e, _));
|
|
699
|
+
}
|
|
700
|
+
for (; w < M.length; w += 1)
|
|
701
|
+
M[w].d(1);
|
|
702
|
+
M.length = T.length;
|
|
703
|
+
}
|
|
704
|
+
I[0] & /*currentPage, numberOfPages*/
|
|
705
|
+
3072 && y !== (y = "BonusesNext " + /*currentPage*/
|
|
706
|
+
(C[11] === /*numberOfPages*/
|
|
707
|
+
C[10] - 1 ? "Inactive" : "")) && g(d, "class", y), I[0] & /*currentPage, numberOfPages*/
|
|
708
|
+
3072 && A !== (A = "BonusesLast " + /*currentPage*/
|
|
709
|
+
(C[11] === /*numberOfPages*/
|
|
710
|
+
C[10] - 1 ? "Inactive" : "")) && g(c, "class", A);
|
|
711
|
+
},
|
|
712
|
+
d(C) {
|
|
713
|
+
C && j(e), ve(M, C), W = !1, ne(L);
|
|
714
|
+
}
|
|
715
|
+
};
|
|
716
|
+
}
|
|
717
|
+
function ge(o) {
|
|
718
|
+
let e, n = (
|
|
719
|
+
/*i*/
|
|
720
|
+
o[51] + 1 + ""
|
|
721
|
+
), t, s, a, i;
|
|
722
|
+
function m() {
|
|
723
|
+
return (
|
|
724
|
+
/*click_handler_3*/
|
|
725
|
+
o[35](
|
|
726
|
+
/*i*/
|
|
727
|
+
o[51]
|
|
728
|
+
)
|
|
729
|
+
);
|
|
730
|
+
}
|
|
731
|
+
return {
|
|
732
|
+
c() {
|
|
733
|
+
e = h("span"), t = R(n), g(e, "class", s = "BonusesPage " + /*i*/
|
|
734
|
+
(o[51] === /*currentPage*/
|
|
735
|
+
o[11] ? "BonusPageActive" : ""));
|
|
736
|
+
},
|
|
737
|
+
m(f, B) {
|
|
738
|
+
O(f, e, B), u(e, t), a || (i = U(e, "click", m), a = !0);
|
|
739
|
+
},
|
|
740
|
+
p(f, B) {
|
|
741
|
+
o = f, B[0] & /*currentPage*/
|
|
742
|
+
2048 && s !== (s = "BonusesPage " + /*i*/
|
|
743
|
+
(o[51] === /*currentPage*/
|
|
744
|
+
o[11] ? "BonusPageActive" : "")) && g(e, "class", s);
|
|
745
|
+
},
|
|
746
|
+
d(f) {
|
|
747
|
+
f && j(e), a = !1, i();
|
|
748
|
+
}
|
|
749
|
+
};
|
|
750
|
+
}
|
|
751
|
+
function Be(o) {
|
|
752
|
+
let e, n, t, s, a = (
|
|
753
|
+
/*$_*/
|
|
754
|
+
o[17]("forfeitBonus") + ""
|
|
755
|
+
), i, m, f, B, _ = (
|
|
756
|
+
/*$_*/
|
|
757
|
+
o[17]("forfeitBonusCancel") + ""
|
|
758
|
+
), d, p, y, b = (
|
|
759
|
+
/*$_*/
|
|
760
|
+
o[17]("forfeitBonusConfirm") + ""
|
|
761
|
+
), c, k, A;
|
|
762
|
+
return {
|
|
763
|
+
c() {
|
|
764
|
+
e = h("div"), n = h("div"), t = h("div"), s = h("p"), i = R(a), m = N(), f = h("div"), B = h("button"), d = R(_), p = N(), y = h("button"), c = R(b), g(s, "class", "ModalText"), g(B, "class", "ModalCancel"), g(y, "class", "ModalConfirm"), g(f, "class", "ModalButtons"), g(t, "class", "ModalBody"), g(n, "class", "ModalContent"), g(e, "class", "ModalWrapper " + /*isMobile*/
|
|
765
|
+
(o[18] ? "ModalWrapperMobile" : ""));
|
|
766
|
+
},
|
|
767
|
+
m(W, L) {
|
|
768
|
+
O(W, e, L), u(e, n), u(n, t), u(t, s), u(s, i), u(t, m), u(t, f), u(f, B), u(B, d), u(f, p), u(f, y), u(y, c), k || (A = [
|
|
769
|
+
U(
|
|
770
|
+
B,
|
|
771
|
+
"click",
|
|
772
|
+
/*closeBonusModal*/
|
|
773
|
+
o[23]
|
|
774
|
+
),
|
|
775
|
+
U(
|
|
776
|
+
y,
|
|
777
|
+
"click",
|
|
778
|
+
/*debouncedFunction*/
|
|
779
|
+
o[25](
|
|
780
|
+
/*deleteBonus*/
|
|
781
|
+
o[24]
|
|
782
|
+
)
|
|
783
|
+
)
|
|
784
|
+
], k = !0);
|
|
785
|
+
},
|
|
786
|
+
p(W, L) {
|
|
787
|
+
L[0] & /*$_*/
|
|
788
|
+
131072 && a !== (a = /*$_*/
|
|
789
|
+
W[17]("forfeitBonus") + "") && Y(i, a), L[0] & /*$_*/
|
|
790
|
+
131072 && _ !== (_ = /*$_*/
|
|
791
|
+
W[17]("forfeitBonusCancel") + "") && Y(d, _), L[0] & /*$_*/
|
|
792
|
+
131072 && b !== (b = /*$_*/
|
|
793
|
+
W[17]("forfeitBonusConfirm") + "") && Y(c, b);
|
|
794
|
+
},
|
|
795
|
+
d(W) {
|
|
796
|
+
W && j(e), k = !1, ne(A);
|
|
797
|
+
}
|
|
798
|
+
};
|
|
799
|
+
}
|
|
800
|
+
function eo(o) {
|
|
801
|
+
let e;
|
|
802
|
+
function n(a, i) {
|
|
803
|
+
return Je;
|
|
804
|
+
}
|
|
805
|
+
let s = n()(o);
|
|
806
|
+
return {
|
|
807
|
+
c() {
|
|
808
|
+
e = h("div"), s.c();
|
|
809
|
+
},
|
|
810
|
+
m(a, i) {
|
|
811
|
+
O(a, e, i), s.m(e, null), o[38](e);
|
|
812
|
+
},
|
|
813
|
+
p(a, i) {
|
|
814
|
+
s.p(a, i);
|
|
815
|
+
},
|
|
816
|
+
i: re,
|
|
817
|
+
o: re,
|
|
818
|
+
d(a) {
|
|
819
|
+
a && j(e), s.d(), o[38](null);
|
|
820
|
+
}
|
|
821
|
+
};
|
|
822
|
+
}
|
|
823
|
+
let oo = "status=active", X = 6;
|
|
824
|
+
function no(o, e, n) {
|
|
825
|
+
let t;
|
|
826
|
+
Oe(o, He, (l) => n(17, t = l));
|
|
827
|
+
let { endpoint: s = "" } = e, { session: a = "" } = e, { playerid: i = "" } = e, { lang: m = "en" } = e, { playercurrency: f = "" } = e, { clientstyling: B = "" } = e, { clientstylingurl: _ = "" } = e, { translationurl: d = "" } = e, p, y = window.navigator.userAgent, b = qe(y) !== "PC", c = !0, k = !1, A = "", W = 0, L = 0, T = 0, M = 0, C = 0, I = [], w, J = "", V = "", z = "", x = "", K = !1;
|
|
828
|
+
const q = () => {
|
|
829
|
+
fetch(d).then((F) => F.json()).then((F) => {
|
|
830
|
+
Object.keys(F).forEach((S) => {
|
|
831
|
+
ue(S, F[S]);
|
|
832
|
+
});
|
|
833
|
+
}).catch((F) => {
|
|
834
|
+
console.log(F);
|
|
835
|
+
});
|
|
836
|
+
};
|
|
837
|
+
Object.keys(de).forEach((l) => {
|
|
838
|
+
ue(l, de[l]);
|
|
839
|
+
});
|
|
840
|
+
const E = (l) => {
|
|
841
|
+
if (l.data)
|
|
842
|
+
switch (l.data.type) {
|
|
843
|
+
case "DeleteActiveBonus":
|
|
844
|
+
x = l.data.bonuswalletid, n(16, K = !0);
|
|
845
|
+
break;
|
|
846
|
+
}
|
|
847
|
+
};
|
|
848
|
+
function D(l, F) {
|
|
849
|
+
return (...S) => {
|
|
850
|
+
clearTimeout(w), w = setTimeout(
|
|
851
|
+
() => {
|
|
852
|
+
l.apply(this, S);
|
|
853
|
+
},
|
|
854
|
+
F
|
|
855
|
+
);
|
|
856
|
+
};
|
|
857
|
+
}
|
|
858
|
+
const v = () => {
|
|
859
|
+
window.postMessage(
|
|
860
|
+
{
|
|
861
|
+
type: "PlayerAccountMenuActive",
|
|
862
|
+
isMobile: b
|
|
863
|
+
},
|
|
864
|
+
window.location.href
|
|
865
|
+
);
|
|
866
|
+
}, P = () => !!A, _e = () => {
|
|
867
|
+
n(4, c = !P());
|
|
868
|
+
}, H = (l) => {
|
|
869
|
+
let F = {
|
|
870
|
+
method: "GET",
|
|
871
|
+
headers: { "X-SessionId": a }
|
|
872
|
+
}, S = new URL(`${s}/v1/player/${i}/bonusWallet`);
|
|
873
|
+
S.searchParams.append("filter", oo), S.searchParams.append("pagination", `offset=${l},limit=${X}`), fetch(S, F).then((G) => G.json()).then(
|
|
874
|
+
(G) => {
|
|
875
|
+
Array.isArray(G.items) && G.items.forEach((oe) => {
|
|
876
|
+
var ie, ae;
|
|
877
|
+
const $ = (ae = (ie = oe == null ? void 0 : oe.extension) == null ? void 0 : ie.bonus) == null ? void 0 : ae.presentation;
|
|
878
|
+
$ && (n(13, J = $.url), n(15, z = $.description), n(14, V = $.assets));
|
|
879
|
+
}), n(10, M = Math.ceil(G.total / X)), l - X >= 0 && n(7, W = l - X), l + X < G.total && n(8, L = l + X), n(9, T = (M - 1) * X), n(11, C = l / X), n(12, I = (G == null ? void 0 : G.items) || []), window.scrollTo({ top: 0, behavior: "smooth" });
|
|
880
|
+
},
|
|
881
|
+
(G) => {
|
|
882
|
+
console.error(G);
|
|
883
|
+
}
|
|
884
|
+
);
|
|
885
|
+
}, ye = () => {
|
|
886
|
+
let l = new URL(`${s}/v1/player/${i}/claimbonus`), F = {
|
|
887
|
+
method: "POST",
|
|
888
|
+
headers: {
|
|
889
|
+
"X-SessionId": a,
|
|
890
|
+
accept: "application/json"
|
|
891
|
+
}
|
|
892
|
+
};
|
|
893
|
+
l.searchParams.append("currency", f), l.searchParams.append("bonusCode", A), fetch(l.href, F).then((S) => {
|
|
894
|
+
S.status == 200 ? (n(5, k = !1), H(0), window.postMessage(
|
|
895
|
+
{
|
|
896
|
+
type: "WidgetNotification",
|
|
897
|
+
data: {
|
|
898
|
+
type: "success",
|
|
899
|
+
message: t("successMessage")
|
|
900
|
+
}
|
|
901
|
+
},
|
|
902
|
+
window.location.href
|
|
903
|
+
), typeof gtag == "function" && gtag("event", "ClaimBonus", {
|
|
904
|
+
context: "PlayerActiveBonuses",
|
|
905
|
+
userId: `${i || "Not logged in"}`,
|
|
906
|
+
bonusCode: `${A}`
|
|
907
|
+
})) : (n(5, k = !0), window.postMessage(
|
|
908
|
+
{
|
|
909
|
+
type: "WidgetNotification",
|
|
910
|
+
data: {
|
|
911
|
+
type: "error",
|
|
912
|
+
message: t("errorMessage")
|
|
913
|
+
}
|
|
914
|
+
},
|
|
915
|
+
window.location.href
|
|
916
|
+
));
|
|
917
|
+
});
|
|
918
|
+
}, te = () => {
|
|
919
|
+
window.postMessage({ type: "EnableScroll" }, window.location.href), n(16, K = !1);
|
|
920
|
+
}, Ce = () => {
|
|
921
|
+
let l = {
|
|
922
|
+
method: "DELETE",
|
|
923
|
+
headers: {
|
|
924
|
+
"X-SessionId": a,
|
|
925
|
+
"Content-Type": "application/json",
|
|
926
|
+
Accept: "application/json"
|
|
927
|
+
}
|
|
928
|
+
}, F = new URL(`${s}/v1/player/${i}/bonusWallet`);
|
|
929
|
+
F.searchParams.append("bonusWalletID", x), fetch(F, l).then((S) => {
|
|
930
|
+
S.status == 200 && (H(0), te());
|
|
931
|
+
});
|
|
932
|
+
}, he = () => {
|
|
933
|
+
Xe(m);
|
|
934
|
+
}, we = () => {
|
|
935
|
+
let l = document.createElement("style");
|
|
936
|
+
l.innerHTML = B, p.appendChild(l);
|
|
937
|
+
}, Me = () => {
|
|
938
|
+
let l = new URL(_), F = document.createElement("style");
|
|
939
|
+
fetch(l.href).then((S) => S.text()).then((S) => {
|
|
940
|
+
F.innerHTML = S, setTimeout(
|
|
941
|
+
() => {
|
|
942
|
+
p.appendChild(F);
|
|
943
|
+
},
|
|
944
|
+
1
|
|
945
|
+
);
|
|
946
|
+
});
|
|
947
|
+
};
|
|
948
|
+
function ke(l) {
|
|
949
|
+
return D(l, 1e3);
|
|
950
|
+
}
|
|
951
|
+
Ge(() => (window.addEventListener("message", E, !1), () => {
|
|
952
|
+
window.removeEventListener("message", E);
|
|
953
|
+
}));
|
|
954
|
+
const Ae = () => v();
|
|
955
|
+
function We() {
|
|
956
|
+
A = this.value, n(6, A);
|
|
957
|
+
}
|
|
958
|
+
const Pe = () => H(0), Fe = () => H(W), Ie = (l) => H(l * X), ze = () => H(L), Ee = () => H(T);
|
|
959
|
+
function Te(l) {
|
|
960
|
+
Ue[l ? "unshift" : "push"](() => {
|
|
961
|
+
p = l, n(3, p);
|
|
962
|
+
});
|
|
963
|
+
}
|
|
964
|
+
return o.$$set = (l) => {
|
|
965
|
+
"endpoint" in l && n(26, s = l.endpoint), "session" in l && n(27, a = l.session), "playerid" in l && n(28, i = l.playerid), "lang" in l && n(0, m = l.lang), "playercurrency" in l && n(29, f = l.playercurrency), "clientstyling" in l && n(1, B = l.clientstyling), "clientstylingurl" in l && n(2, _ = l.clientstylingurl), "translationurl" in l && n(30, d = l.translationurl);
|
|
966
|
+
}, o.$$.update = () => {
|
|
967
|
+
o.$$.dirty[0] & /*lang*/
|
|
968
|
+
1 && m && he(), o.$$.dirty[0] & /*session, playerid, endpoint*/
|
|
969
|
+
469762048 && a && i && s && H(0), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
970
|
+
12 && _ && p && Me(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
971
|
+
10 && B && p && we(), o.$$.dirty[0] & /*translationurl*/
|
|
972
|
+
1073741824 && d && q();
|
|
973
|
+
}, [
|
|
974
|
+
m,
|
|
975
|
+
B,
|
|
976
|
+
_,
|
|
977
|
+
p,
|
|
978
|
+
c,
|
|
979
|
+
k,
|
|
980
|
+
A,
|
|
981
|
+
W,
|
|
982
|
+
L,
|
|
983
|
+
T,
|
|
984
|
+
M,
|
|
985
|
+
C,
|
|
986
|
+
I,
|
|
987
|
+
J,
|
|
988
|
+
V,
|
|
989
|
+
z,
|
|
990
|
+
K,
|
|
991
|
+
t,
|
|
992
|
+
b,
|
|
993
|
+
v,
|
|
994
|
+
_e,
|
|
995
|
+
H,
|
|
996
|
+
ye,
|
|
997
|
+
te,
|
|
998
|
+
Ce,
|
|
999
|
+
ke,
|
|
1000
|
+
s,
|
|
1001
|
+
a,
|
|
1002
|
+
i,
|
|
1003
|
+
f,
|
|
1004
|
+
d,
|
|
1005
|
+
Ae,
|
|
1006
|
+
We,
|
|
1007
|
+
Pe,
|
|
1008
|
+
Fe,
|
|
1009
|
+
Ie,
|
|
1010
|
+
ze,
|
|
1011
|
+
Ee,
|
|
1012
|
+
Te
|
|
1013
|
+
];
|
|
1014
|
+
}
|
|
1015
|
+
class so extends Le {
|
|
1016
|
+
constructor(e) {
|
|
1017
|
+
super(), Ne(
|
|
1018
|
+
this,
|
|
1019
|
+
e,
|
|
1020
|
+
no,
|
|
1021
|
+
eo,
|
|
1022
|
+
Re,
|
|
1023
|
+
{
|
|
1024
|
+
endpoint: 26,
|
|
1025
|
+
session: 27,
|
|
1026
|
+
playerid: 28,
|
|
1027
|
+
lang: 0,
|
|
1028
|
+
playercurrency: 29,
|
|
1029
|
+
clientstyling: 1,
|
|
1030
|
+
clientstylingurl: 2,
|
|
1031
|
+
translationurl: 30
|
|
1032
|
+
},
|
|
1033
|
+
Ye,
|
|
1034
|
+
[-1, -1]
|
|
1035
|
+
);
|
|
1036
|
+
}
|
|
1037
|
+
get endpoint() {
|
|
1038
|
+
return this.$$.ctx[26];
|
|
1039
|
+
}
|
|
1040
|
+
set endpoint(e) {
|
|
1041
|
+
this.$$set({ endpoint: e }), Q();
|
|
1042
|
+
}
|
|
1043
|
+
get session() {
|
|
1044
|
+
return this.$$.ctx[27];
|
|
1045
|
+
}
|
|
1046
|
+
set session(e) {
|
|
1047
|
+
this.$$set({ session: e }), Q();
|
|
1048
|
+
}
|
|
1049
|
+
get playerid() {
|
|
1050
|
+
return this.$$.ctx[28];
|
|
1051
|
+
}
|
|
1052
|
+
set playerid(e) {
|
|
1053
|
+
this.$$set({ playerid: e }), Q();
|
|
1054
|
+
}
|
|
1055
|
+
get lang() {
|
|
1056
|
+
return this.$$.ctx[0];
|
|
1057
|
+
}
|
|
1058
|
+
set lang(e) {
|
|
1059
|
+
this.$$set({ lang: e }), Q();
|
|
1060
|
+
}
|
|
1061
|
+
get playercurrency() {
|
|
1062
|
+
return this.$$.ctx[29];
|
|
1063
|
+
}
|
|
1064
|
+
set playercurrency(e) {
|
|
1065
|
+
this.$$set({ playercurrency: e }), Q();
|
|
1066
|
+
}
|
|
1067
|
+
get clientstyling() {
|
|
1068
|
+
return this.$$.ctx[1];
|
|
1069
|
+
}
|
|
1070
|
+
set clientstyling(e) {
|
|
1071
|
+
this.$$set({ clientstyling: e }), Q();
|
|
1072
|
+
}
|
|
1073
|
+
get clientstylingurl() {
|
|
1074
|
+
return this.$$.ctx[2];
|
|
1075
|
+
}
|
|
1076
|
+
set clientstylingurl(e) {
|
|
1077
|
+
this.$$set({ clientstylingurl: e }), Q();
|
|
1078
|
+
}
|
|
1079
|
+
get translationurl() {
|
|
1080
|
+
return this.$$.ctx[30];
|
|
1081
|
+
}
|
|
1082
|
+
set translationurl(e) {
|
|
1083
|
+
this.$$set({ translationurl: e }), Q();
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1086
|
+
Ve(so, { endpoint: {}, session: {}, playerid: {}, lang: {}, playercurrency: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
1087
|
+
export {
|
|
1088
|
+
so as default
|
|
1089
|
+
};
|