@everymatrix/player-account-controller-nd 1.55.0 → 1.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/GeneralLogout-9pZTJKCj.cjs +8 -0
- package/components/{GeneralLogout-Ve_dOAMA.js → GeneralLogout-CqNn1bEG.js} +1081 -1088
- package/components/{GeneralLogout-BZhvD1EQ.js → GeneralLogout-qtT2UsMu.js} +1076 -1083
- package/components/PlayerAccountBettingHistory-BgdXC00n.cjs +1 -0
- package/components/PlayerAccountBettingHistory-CgKp1Tsa.js +329 -0
- package/components/{PlayerAccountBettingHistory-C9n4Lfo3.js → PlayerAccountBettingHistory-DGdU5x1X.js} +130 -134
- package/components/{PlayerAccountBiometrics-BrlNlZ5N.cjs → PlayerAccountBiometrics-8CaZALdD.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-BupiQCMJ.js → PlayerAccountBiometrics-BynUcDER.js} +125 -126
- package/components/{PlayerAccountBiometrics-fQlNKCoA.js → PlayerAccountBiometrics-hfEg8HK3.js} +125 -126
- package/components/{PlayerAccountClosureNd-CEad1veU.js → PlayerAccountClosureNd-BNAxe4kI.js} +127 -128
- package/components/{PlayerAccountClosureNd-DcMOj468.cjs → PlayerAccountClosureNd-BzygnnRL.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-DAFiYifr.js → PlayerAccountClosureNd-C56v4kQH.js} +127 -128
- package/components/{PlayerAccountControllerNd-5BH6GjlH.js → PlayerAccountControllerNd-0Azz2muh.js} +1575 -1049
- package/components/{PlayerAccountControllerNd-BmAwgSdK.js → PlayerAccountControllerNd-CU0CZtN2.js} +1509 -983
- package/components/PlayerAccountControllerNd-DiMI0zck.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-9Stjo0gs.js → PlayerAccountGamingLimits-BUBbpeFt.js} +301 -250
- package/components/PlayerAccountGamingLimits-DoYSa5g4.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-DI0RPgPB.js → PlayerAccountGamingLimits-cGyCwFe3.js} +301 -250
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BzAWyxny.js → PlayerAccountGamingLimitsConfirmationModal-BzxaZ7Sb.js} +127 -131
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DKpr25Aj.js → PlayerAccountGamingLimitsConfirmationModal-CPRvI7h-.js} +127 -131
- package/components/PlayerAccountGamingLimitsConfirmationModal-CUg2My3V.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-Dj2jUWb2.js → PlayerAccountGamingLimitsGroupEdit-BJQil0oW.js} +1073 -1077
- package/components/{PlayerAccountGamingLimitsGroupEdit-DrkoLne8.cjs → PlayerAccountGamingLimitsGroupEdit-ByRLb87-.cjs} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-CBViR9JR.js → PlayerAccountGamingLimitsGroupEdit-uRCXqfhe.js} +1073 -1077
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BQRXsnS9.js → PlayerAccountGamingLimitsHistory2Nd-B9FC3C6m.js} +208 -216
- package/components/{PlayerAccountGamingLimitsHistory2Nd-2hdjxCBn.cjs → PlayerAccountGamingLimitsHistory2Nd-Daq9D9so.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BQy_79YQ.js → PlayerAccountGamingLimitsHistory2Nd-wYR_HP23.js} +213 -221
- package/components/{PlayerAccountGamingLimitsInfoCard-StfGgmLs.js → PlayerAccountGamingLimitsInfoCard-DgmJAMo8.js} +639 -588
- package/components/{PlayerAccountGamingLimitsInfoCard-CDFRfVT4.js → PlayerAccountGamingLimitsInfoCard-DvaVcUFe.js} +639 -588
- package/components/PlayerAccountGamingLimitsInfoCard-c0kYK6Z1.cjs +1 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-BDBtHDGH.cjs +21 -0
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-B672X-1A.js → PlayerAccountGamingLimitsPage2Gm16Nd-BQeFK7FJ.js} +1043 -1019
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Dz-xK27Q.js → PlayerAccountGamingLimitsPage2Gm16Nd-DJhG-lLb.js} +845 -821
- package/components/{PlayerAccountGamingLimitsPopup-DoLZB2lj.js → PlayerAccountGamingLimitsPopup-BgdXe6lp.js} +116 -120
- package/components/{PlayerAccountGamingLimitsPopup-f9QP34fL.js → PlayerAccountGamingLimitsPopup-BhqEVpIP.js} +116 -120
- package/components/{PlayerAccountGamingLimitsPopup-ChBLdQR7.cjs → PlayerAccountGamingLimitsPopup-CfBYEYKc.cjs} +1 -1
- package/components/PlayerAccountGamingLimitsWrapper2Nd-DnBhGv4Z.cjs +1 -0
- package/components/PlayerAccountGamingLimitsWrapper2Nd-HNcfKvd3.js +1016 -0
- package/components/PlayerAccountGamingLimitsWrapper2Nd-bkcZAm71.js +1022 -0
- package/components/{PlayerAccountGeneralConfirmationModal-BlglDNwU.js → PlayerAccountGeneralConfirmationModal-BUSAMIdf.js} +141 -142
- package/components/{PlayerAccountGeneralConfirmationModal-rpOFir4P.js → PlayerAccountGeneralConfirmationModal-BXQQtxIE.js} +141 -142
- package/components/PlayerAccountGeneralConfirmationModal-Dr-ZkTHH.cjs +1 -0
- package/components/PlayerAccountMenuNd-BGd35WSX.js +695 -0
- package/components/PlayerAccountMenuNd-BWzYxwjF.cjs +1 -0
- package/components/PlayerAccountMenuNd-Dw-owOIv.js +694 -0
- package/components/PlayerAccountModal-C7aE-f75.js +209 -0
- package/components/PlayerAccountModal-CLW-XTid.cjs +1 -0
- package/components/PlayerAccountModal-DcQTZlVT.js +209 -0
- package/components/PlayerAccountNotifications-0ecn9JH_.js +369 -0
- package/components/PlayerAccountNotifications-CmSue8JR.cjs +1 -0
- package/components/PlayerAccountNotifications-lv1He1RO.js +368 -0
- package/components/{PlayerAccountSelfExclusionNd-D2JmyzgE.js → PlayerAccountSelfExclusionNd-CsBAGhjI.js} +10893 -11100
- package/components/{PlayerAccountSelfExclusionNd-CM37K9pN.js → PlayerAccountSelfExclusionNd-DRQwA-0O.js} +10812 -11065
- package/components/PlayerAccountSelfExclusionNd-TZyj4_3a.cjs +3557 -0
- package/components/PlayerAccountTimeout-BDvJp_Zk.cjs +1 -0
- package/components/{PlayerAccountTimeout-B0zaqo1v.js → PlayerAccountTimeout-C0WAFaPW.js} +498 -367
- package/components/{PlayerAccountTimeout-BO3G2t3W.js → PlayerAccountTimeout-CixN4uD5.js} +498 -367
- package/components/PlayerActiveBonuses-BAx9d0pm.js +1055 -0
- package/components/PlayerActiveBonuses-CbJliQvN.js +1056 -0
- package/components/PlayerActiveBonuses-DTgD47j8.cjs +1 -0
- package/components/{PlayerBonusCard-BC8FfHZz.cjs → PlayerBonusCard-5gtng8cd.cjs} +1 -1
- package/components/{PlayerBonusCard-9LZmOSI1.js → PlayerBonusCard-BiVG3k7R.js} +166 -168
- package/components/{PlayerBonusCard-BvrlU7Ao.js → PlayerBonusCard-DnyVL-Cb.js} +166 -168
- package/components/PlayerBonusHistory-CaiqLQk_.js +938 -0
- package/components/PlayerBonusHistory-DA8a2ZnE.js +937 -0
- package/components/PlayerBonusHistory-rLGeO078.cjs +1 -0
- package/components/{PlayerChangePassword-CzR4Xz0H.cjs → PlayerChangePassword-BsM1lBfW.cjs} +2 -2
- package/components/{PlayerChangePassword-BsQyz4Qc.js → PlayerChangePassword-DsR4BO-Y.js} +383 -387
- package/components/{PlayerChangePassword-BcoctDrY.js → PlayerChangePassword-dEL-0H2u.js} +383 -387
- package/components/PlayerDeposit-0eaqfWH1.cjs +1 -0
- package/components/PlayerDeposit-D_Ujmr4j.js +391 -0
- package/components/PlayerDeposit-IS6_f845.js +391 -0
- package/components/PlayerGamingHistory-BRstQCWo.cjs +1 -0
- package/components/{PlayerGamingHistory-B1Q3Qiuk.js → PlayerGamingHistory-BYRzcRjb.js} +348 -352
- package/components/{PlayerGamingHistory-DUCP4vWS.js → PlayerGamingHistory-GGgBAhXX.js} +373 -377
- package/components/PlayerPendingWithdrawals-CaoLTPFk.js +310 -0
- package/components/PlayerPendingWithdrawals-M9Wq9w2M.js +310 -0
- package/components/PlayerPendingWithdrawals-qMs8We3P.cjs +1 -0
- package/components/PlayerProfileInfo-B4pkapUi.js +1821 -0
- package/components/PlayerProfileInfo-Cr6m7e2V.js +1804 -0
- package/components/PlayerProfileInfo-Mqg0xIQD.cjs +1 -0
- package/components/PlayerRealityCheck-B9LHSWRj.js +652 -0
- package/components/PlayerRealityCheck-CMKhVVBJ.js +668 -0
- package/components/PlayerRealityCheck-DoXLoM9G.cjs +1 -0
- package/components/PlayerTransactionHistory-BaALuJRH.js +314 -0
- package/components/PlayerTransactionHistory-BqEXyDt-.cjs +1 -0
- package/components/PlayerTransactionHistory-CYob92HC.js +314 -0
- package/components/PlayerWithdrawal-1i-tYxaO.cjs +1 -0
- package/components/{PlayerWithdrawal-jGmMHcUX.js → PlayerWithdrawal-CNDRfeXy.js} +137 -141
- package/components/{PlayerWithdrawal-wi9yuRxw.js → PlayerWithdrawal-U9E0FEDt.js} +137 -141
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
- package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
- package/stencil/{checkbox-group-input_9-DZvX2H_r.js → checkbox-group-input_9-B_RfUM6E.js} +3279 -2404
- package/stencil/checkbox-group-input_9-C2IUNSpC.cjs +2045 -0
- package/stencil/{checkbox-group-input_9-Cny9rOs9.js → checkbox-group-input_9-C98yT4vw.js} +3348 -2459
- package/stencil/{general-input-Yj_LRx0v.js → general-input-CqTf7ErJ.js} +6 -6
- package/stencil/{general-input-d5RULL12.js → general-input-DTHw5Z1Q.js} +6 -6
- package/stencil/general-input-wM2i7b57.cjs +1 -0
- package/stencil/index-92b64862-BRYoLHww.cjs +1 -0
- package/stencil/index-92b64862-C_69cKxK.js +708 -0
- package/stencil/index-92b64862-w9a1l35N.js +692 -0
- package/stencil/index-db5752f9-DlyF6uv8.js +594 -0
- package/stencil/index-db5752f9-DrdunCay.js +610 -0
- package/stencil/index-db5752f9-dFKrDpwt.cjs +1 -0
- package/stencil/password-input_2-B2qvf6ku.cjs +105 -0
- package/stencil/password-input_2-CdHS5fmR.js +569 -0
- package/stencil/password-input_2-DdQvCp3o.js +569 -0
- package/stencil/{player-change-password-gm2-780eb445-Cg8Z75Vz.js → player-change-password-gm2-38dff08c-BNhjxr22.js} +85 -66
- package/stencil/{player-change-password-gm2-780eb445-DEjz9Jjk.js → player-change-password-gm2-38dff08c-CPRdwVFF.js} +85 -66
- package/stencil/player-change-password-gm2-38dff08c-DnYXSeKg.cjs +1 -0
- package/stencil/player-change-password-gm2-Cxdum0Hh.js +25 -0
- package/stencil/player-change-password-gm2-DJqZO25d.cjs +1 -0
- package/stencil/player-change-password-gm2-DWoAaJ2f.js +7 -0
- package/stencil/{toggle-checkbox-input-ErX2Ngat.js → toggle-checkbox-input-B4OOk9wz.js} +7 -7
- package/stencil/{toggle-checkbox-input-Co64_7cm.js → toggle-checkbox-input-Cwo_Ny77.js} +7 -7
- package/stencil/toggle-checkbox-input-tQDhlcag.cjs +1 -0
- package/stencil/ui-skeleton-982450d2-BKnKTh4c.js +122 -0
- package/stencil/ui-skeleton-982450d2-DDIv0--Q.cjs +1 -0
- package/stencil/ui-skeleton-982450d2-DQzKNKe8.js +122 -0
- package/stencil/ui-skeleton-BL5JJXyn.js +11 -0
- package/stencil/ui-skeleton-CGldUjn2.js +29 -0
- package/stencil/ui-skeleton-ITys8nIA.cjs +1 -0
- package/stencil/{vaadin-button-6001b2a6-Dqz5Vp8D.js → vaadin-button-mixin-ef61174c-B_vhSFKU.js} +8177 -8813
- package/stencil/vaadin-button-mixin-ef61174c-DuDVejN4.cjs +2385 -0
- package/stencil/{vaadin-button-6001b2a6-CZwj1qjO.js → vaadin-button-mixin-ef61174c-EQiVsI4x.js} +6270 -6860
- package/components/GeneralLogout-BW6b3iuS.cjs +0 -8
- package/components/PlayerAccountBettingHistory-BsFzBNDY.cjs +0 -1
- package/components/PlayerAccountBettingHistory-QT3-2u7E.js +0 -333
- package/components/PlayerAccountControllerNd-CO0ce0zs.cjs +0 -1
- package/components/PlayerAccountGamingLimits-BPQrptbd.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-IgBYV9F2.cjs +0 -1
- package/components/PlayerAccountGamingLimitsInfoCard-BOls7ahz.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPage2Gm16Nd-DSThp4HX.cjs +0 -21
- package/components/PlayerAccountGamingLimitsWrapper2Nd-Bz6Zp5tp.js +0 -865
- package/components/PlayerAccountGamingLimitsWrapper2Nd-Cq5vxtjw.js +0 -871
- package/components/PlayerAccountGamingLimitsWrapper2Nd-KUpEDIP8.cjs +0 -1
- package/components/PlayerAccountGeneralConfirmationModal-BpTCzpiW.cjs +0 -1
- package/components/PlayerAccountMenuNd-BWUhUlIY.js +0 -590
- package/components/PlayerAccountMenuNd-BmPerb2f.cjs +0 -1
- package/components/PlayerAccountMenuNd-CxMlvYwa.js +0 -589
- package/components/PlayerAccountModal-BK81ZotM.js +0 -213
- package/components/PlayerAccountModal-C7aZZlBw.cjs +0 -1
- package/components/PlayerAccountModal-CzVRNZzB.js +0 -213
- package/components/PlayerAccountNotifications-BBwUcB1T.js +0 -261
- package/components/PlayerAccountNotifications-CB47Zxq9.js +0 -261
- package/components/PlayerAccountNotifications-DkgHtUGj.cjs +0 -1
- package/components/PlayerAccountSelfExclusionNd-DCsOgBZR.cjs +0 -4171
- package/components/PlayerAccountTimeout-Dg5Mlz5K.cjs +0 -1
- package/components/PlayerActiveBonuses-B9jz3QD8.cjs +0 -1
- package/components/PlayerActiveBonuses-CfZ8tegY.js +0 -1037
- package/components/PlayerActiveBonuses-DkKDWhBN.js +0 -1038
- package/components/PlayerBonusHistory-Bsy2Grk6.js +0 -919
- package/components/PlayerBonusHistory-CuSbmVev.cjs +0 -1
- package/components/PlayerBonusHistory-nN8l2tOZ.js +0 -920
- package/components/PlayerDeposit-BIBRCGiC.js +0 -414
- package/components/PlayerDeposit-B_7saxic.js +0 -414
- package/components/PlayerDeposit-D_78W5GC.cjs +0 -1
- package/components/PlayerGamingHistory-CNPhCSFS.cjs +0 -1
- package/components/PlayerPendingWithdrawals-BG3I8ifu.cjs +0 -1
- package/components/PlayerPendingWithdrawals-C8jyjgZ0.js +0 -311
- package/components/PlayerPendingWithdrawals-wMhZTLpq.js +0 -311
- package/components/PlayerProfileInfo-CGsJydqv.cjs +0 -1
- package/components/PlayerProfileInfo-EkbwdTEh.js +0 -1757
- package/components/PlayerProfileInfo-SeOQq0CG.js +0 -1740
- package/components/PlayerRealityCheck--iYjw4rP.js +0 -598
- package/components/PlayerRealityCheck-BGGIPihT.js +0 -582
- package/components/PlayerRealityCheck-C26ZBWae.cjs +0 -1
- package/components/PlayerTransactionHistory-CJqhYnbs.cjs +0 -1
- package/components/PlayerTransactionHistory-CvBbrQn6.js +0 -315
- package/components/PlayerTransactionHistory-DIfTIxF3.js +0 -315
- package/components/PlayerWithdrawal-GDc_7hZX.cjs +0 -1
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
- package/stencil/checkbox-group-input_9-FLO2Qa5Y.cjs +0 -2104
- package/stencil/general-input-igTYIJ6W.cjs +0 -1
- package/stencil/index-72d2f0c7--qtpsDOz.js +0 -642
- package/stencil/index-72d2f0c7-DldCMjBJ.cjs +0 -1
- package/stencil/index-72d2f0c7-DyMEJXra.js +0 -626
- package/stencil/password-input_2-CHOu4hgw.js +0 -1420
- package/stencil/password-input_2-DQAgV1SZ.cjs +0 -896
- package/stencil/password-input_2-DaiHlKbQ.js +0 -1420
- package/stencil/player-change-password-gm2-780eb445-CdItmoKI.cjs +0 -1
- package/stencil/player-change-password-gm2-ClBiis4q.js +0 -25
- package/stencil/player-change-password-gm2-Dt0gP_G_.cjs +0 -1
- package/stencil/player-change-password-gm2-cKh7RACV.js +0 -7
- package/stencil/toggle-checkbox-input-a_0w-Y0n.cjs +0 -1
- package/stencil/vaadin-button-6001b2a6-C6xw53k5.cjs +0 -3018
|
@@ -0,0 +1,1055 @@
|
|
|
1
|
+
import { a as Pe, $ as Fe, S as Ie, i as ze, s as Ee, f as H, b as De, n as te, d as R, g as j, j as M, p as Se, q as Te, u as Ne, w as Le, r as oe, c as Y, U as ie, h as l, l as G, k as N, m as L, E as ne, o as B, v as K, N as ee, O as be, e as i, x as Re, y as je, z as Oe, A as qe, B as Ge } from "./GeneralLogout-CqNn1bEG.js";
|
|
2
|
+
function ae(o, e) {
|
|
3
|
+
Pe(o, e);
|
|
4
|
+
}
|
|
5
|
+
function Ue(o) {
|
|
6
|
+
Fe.set(o);
|
|
7
|
+
}
|
|
8
|
+
const re = {
|
|
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 < "u") {
|
|
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-BiVG3k7R.js").then(({ default: e }) => {
|
|
155
|
+
!customElements.get("player-bonus-card") && customElements.define("player-bonus-card", e.element);
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
function Ve(o) {
|
|
159
|
+
De(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 le(o, e, n) {
|
|
162
|
+
const t = o.slice();
|
|
163
|
+
return t[46] = e[n], t[48] = n, t;
|
|
164
|
+
}
|
|
165
|
+
function ue(o, e, n) {
|
|
166
|
+
const t = o.slice();
|
|
167
|
+
return t[49] = e[n], t;
|
|
168
|
+
}
|
|
169
|
+
function He(o) {
|
|
170
|
+
let e, n, t, s = (
|
|
171
|
+
/*$_*/
|
|
172
|
+
o[15]("titleBonuses") + ""
|
|
173
|
+
), r, a, b, f, v = (
|
|
174
|
+
/*$_*/
|
|
175
|
+
o[15]("bonusCode") + ""
|
|
176
|
+
), y, _, h, c, m, u, W = (
|
|
177
|
+
/*$_*/
|
|
178
|
+
o[15]("getBonus") + ""
|
|
179
|
+
), g, p, S, E, P, w, I, A, J, U = (
|
|
180
|
+
/*isMobile*/
|
|
181
|
+
o[16] && Xe(o)
|
|
182
|
+
), F = (
|
|
183
|
+
/*invalidBonusCode*/
|
|
184
|
+
o[6] && de(o)
|
|
185
|
+
);
|
|
186
|
+
function Q(C, k) {
|
|
187
|
+
return (
|
|
188
|
+
/*activeBonusesList*/
|
|
189
|
+
C[13].length === 0 ? Je : Ye
|
|
190
|
+
);
|
|
191
|
+
}
|
|
192
|
+
let Z = Q(o), O = Z(o), z = (
|
|
193
|
+
/*activeBonusesList*/
|
|
194
|
+
o[13].length !== 0 && pe(o)
|
|
195
|
+
), D = (
|
|
196
|
+
/*bonusModal*/
|
|
197
|
+
o[14] && me(o)
|
|
198
|
+
);
|
|
199
|
+
return {
|
|
200
|
+
c() {
|
|
201
|
+
e = M("div"), U && U.c(), n = N(), t = M("h2"), r = L(s), a = N(), b = M("div"), f = M("label"), y = L(v), _ = N(), h = M("div"), c = M("input"), m = N(), u = M("button"), g = L(W), p = N(), F && F.c(), S = N(), E = M("div"), O.c(), P = N(), z && z.c(), w = N(), D && D.c(), I = ne(), B(t, "class", "ActiveBonusesTitle " + /*isMobile*/
|
|
202
|
+
(o[16] ? "ActiveBonusesTitleNone" : "")), B(f, "for", "BonusCode"), B(c, "class", "BonusCodeInput " + /*isMobile*/
|
|
203
|
+
(o[16] ? "BonusCodeInputMobile" : "")), B(c, "type", "text"), B(c, "id", "BonusCode"), B(u, "class", "SubmitBonusCode " + /*isMobile*/
|
|
204
|
+
(o[16] ? "SubmitBonusCodeMobile" : "")), u.disabled = /*invalidBonusField*/
|
|
205
|
+
o[5], B(h, "class", "BonusCodeWrapper " + /*isMobile*/
|
|
206
|
+
(o[16] ? "BonusCodeWrapperMobile" : "")), B(b, "class", "BonusCodeContainer " + /*isMobile*/
|
|
207
|
+
(o[16] ? "BonusCodeContainerMobile" : "")), B(E, "class", "ActiveBonusesGrid " + /*isMobile*/
|
|
208
|
+
(o[16] ? "ActiveBonusesGridMobile" : "")), B(e, "class", "ActiveBonusesWrapper " + /*isMobile*/
|
|
209
|
+
(o[16] ? "ActiveBonusesWrapperMobile" : ""));
|
|
210
|
+
},
|
|
211
|
+
m(C, k) {
|
|
212
|
+
j(C, e, k), U && U.m(e, null), l(e, n), l(e, t), l(t, r), l(e, a), l(e, b), l(b, f), l(f, y), l(b, _), l(b, h), l(h, c), ie(
|
|
213
|
+
c,
|
|
214
|
+
/*bonusCode*/
|
|
215
|
+
o[7]
|
|
216
|
+
), l(h, m), l(h, u), l(u, g), l(b, p), F && F.m(b, null), l(e, S), l(e, E), O.m(E, null), l(e, P), z && z.m(e, null), j(C, w, k), D && D.m(C, k), j(C, I, k), A || (J = [
|
|
217
|
+
G(
|
|
218
|
+
c,
|
|
219
|
+
"input",
|
|
220
|
+
/*input_input_handler*/
|
|
221
|
+
o[30]
|
|
222
|
+
),
|
|
223
|
+
G(
|
|
224
|
+
c,
|
|
225
|
+
"keyup",
|
|
226
|
+
/*validateBonusCode*/
|
|
227
|
+
o[18]
|
|
228
|
+
),
|
|
229
|
+
G(
|
|
230
|
+
u,
|
|
231
|
+
"click",
|
|
232
|
+
/*debouncedFunction*/
|
|
233
|
+
o[23](
|
|
234
|
+
/*claimBonus*/
|
|
235
|
+
o[20]
|
|
236
|
+
)
|
|
237
|
+
)
|
|
238
|
+
], A = !0);
|
|
239
|
+
},
|
|
240
|
+
p(C, k) {
|
|
241
|
+
/*isMobile*/
|
|
242
|
+
C[16] && U.p(C, k), k[0] & /*$_*/
|
|
243
|
+
32768 && s !== (s = /*$_*/
|
|
244
|
+
C[15]("titleBonuses") + "") && Y(r, s), k[0] & /*$_*/
|
|
245
|
+
32768 && v !== (v = /*$_*/
|
|
246
|
+
C[15]("bonusCode") + "") && Y(y, v), k[0] & /*bonusCode*/
|
|
247
|
+
128 && c.value !== /*bonusCode*/
|
|
248
|
+
C[7] && ie(
|
|
249
|
+
c,
|
|
250
|
+
/*bonusCode*/
|
|
251
|
+
C[7]
|
|
252
|
+
), k[0] & /*$_*/
|
|
253
|
+
32768 && W !== (W = /*$_*/
|
|
254
|
+
C[15]("getBonus") + "") && Y(g, W), k[0] & /*invalidBonusField*/
|
|
255
|
+
32 && (u.disabled = /*invalidBonusField*/
|
|
256
|
+
C[5]), /*invalidBonusCode*/
|
|
257
|
+
C[6] ? F ? F.p(C, k) : (F = de(C), F.c(), F.m(b, null)) : F && (F.d(1), F = null), Z === (Z = Q(C)) && O ? O.p(C, k) : (O.d(1), O = Z(C), O && (O.c(), O.m(E, null))), /*activeBonusesList*/
|
|
258
|
+
C[13].length !== 0 ? z ? z.p(C, k) : (z = pe(C), z.c(), z.m(e, null)) : z && (z.d(1), z = null), /*bonusModal*/
|
|
259
|
+
C[14] ? D ? D.p(C, k) : (D = me(C), D.c(), D.m(I.parentNode, I)) : D && (D.d(1), D = null);
|
|
260
|
+
},
|
|
261
|
+
d(C) {
|
|
262
|
+
C && (R(e), R(w), R(I)), U && U.d(), F && F.d(), O.d(), z && z.d(), D && D.d(C), A = !1, oe(J);
|
|
263
|
+
}
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
function Xe(o) {
|
|
267
|
+
let e, n, t, s, r, a, b, f, v, y, _ = (
|
|
268
|
+
/*$_*/
|
|
269
|
+
o[15]("titleBonuses") + ""
|
|
270
|
+
), h, c, m;
|
|
271
|
+
return {
|
|
272
|
+
c() {
|
|
273
|
+
e = M("div"), n = K("svg"), t = K("defs"), s = K("style"), r = L(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), a = K("g"), b = K("g"), f = K("path"), v = N(), y = M("h2"), h = L(_), B(f, "class", "aaa"), B(f, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), B(f, "transform", "translate(15 15) rotate(180)"), B(b, "transform", "translate(20 158)"), B(a, "transform", "translate(-20 -158)"), B(n, "xmlns", "http://www.w3.org/2000/svg"), B(n, "width", "15"), B(n, "height", "15"), B(n, "viewBox", "0 0 15 15"), B(y, "class", "ActiveBonusesTitleMobile"), B(e, "class", "MenuReturnButton");
|
|
274
|
+
},
|
|
275
|
+
m(u, W) {
|
|
276
|
+
j(u, e, W), l(e, n), l(n, t), l(t, s), l(s, r), l(n, a), l(a, b), l(b, f), l(e, v), l(e, y), l(y, h), c || (m = G(
|
|
277
|
+
e,
|
|
278
|
+
"click",
|
|
279
|
+
/*click_handler*/
|
|
280
|
+
o[29]
|
|
281
|
+
), c = !0);
|
|
282
|
+
},
|
|
283
|
+
p(u, W) {
|
|
284
|
+
W[0] & /*$_*/
|
|
285
|
+
32768 && _ !== (_ = /*$_*/
|
|
286
|
+
u[15]("titleBonuses") + "") && Y(h, _);
|
|
287
|
+
},
|
|
288
|
+
d(u) {
|
|
289
|
+
u && R(e), c = !1, m();
|
|
290
|
+
}
|
|
291
|
+
};
|
|
292
|
+
}
|
|
293
|
+
function de(o) {
|
|
294
|
+
let e, n = (
|
|
295
|
+
/*$_*/
|
|
296
|
+
o[15]("invalidBonusCode") + ""
|
|
297
|
+
), t;
|
|
298
|
+
return {
|
|
299
|
+
c() {
|
|
300
|
+
e = M("p"), t = L(n), B(e, "class", "InvalidBonusCodeMessage");
|
|
301
|
+
},
|
|
302
|
+
m(s, r) {
|
|
303
|
+
j(s, e, r), l(e, t);
|
|
304
|
+
},
|
|
305
|
+
p(s, r) {
|
|
306
|
+
r[0] & /*$_*/
|
|
307
|
+
32768 && n !== (n = /*$_*/
|
|
308
|
+
s[15]("invalidBonusCode") + "") && Y(t, n);
|
|
309
|
+
},
|
|
310
|
+
d(s) {
|
|
311
|
+
s && R(e);
|
|
312
|
+
}
|
|
313
|
+
};
|
|
314
|
+
}
|
|
315
|
+
function Ye(o) {
|
|
316
|
+
let e, n = ee(
|
|
317
|
+
/*activeBonusesList*/
|
|
318
|
+
o[13]
|
|
319
|
+
), t = [];
|
|
320
|
+
for (let s = 0; s < n.length; s += 1)
|
|
321
|
+
t[s] = ce(ue(o, n, s));
|
|
322
|
+
return {
|
|
323
|
+
c() {
|
|
324
|
+
for (let s = 0; s < t.length; s += 1)
|
|
325
|
+
t[s].c();
|
|
326
|
+
e = ne();
|
|
327
|
+
},
|
|
328
|
+
m(s, r) {
|
|
329
|
+
for (let a = 0; a < t.length; a += 1)
|
|
330
|
+
t[a] && t[a].m(s, r);
|
|
331
|
+
j(s, e, r);
|
|
332
|
+
},
|
|
333
|
+
p(s, r) {
|
|
334
|
+
if (r[0] & /*activeBonusesList, lang, clientstyling, clientstylingurl, mbsource*/
|
|
335
|
+
8207) {
|
|
336
|
+
n = ee(
|
|
337
|
+
/*activeBonusesList*/
|
|
338
|
+
s[13]
|
|
339
|
+
);
|
|
340
|
+
let a;
|
|
341
|
+
for (a = 0; a < n.length; a += 1) {
|
|
342
|
+
const b = ue(s, n, a);
|
|
343
|
+
t[a] ? t[a].p(b, r) : (t[a] = ce(b), t[a].c(), t[a].m(e.parentNode, e));
|
|
344
|
+
}
|
|
345
|
+
for (; a < t.length; a += 1)
|
|
346
|
+
t[a].d(1);
|
|
347
|
+
t.length = n.length;
|
|
348
|
+
}
|
|
349
|
+
},
|
|
350
|
+
d(s) {
|
|
351
|
+
s && R(e), be(t, s);
|
|
352
|
+
}
|
|
353
|
+
};
|
|
354
|
+
}
|
|
355
|
+
function Je(o) {
|
|
356
|
+
let e, n = (
|
|
357
|
+
/*$_*/
|
|
358
|
+
o[15]("noActiveBonuses") + ""
|
|
359
|
+
), t;
|
|
360
|
+
return {
|
|
361
|
+
c() {
|
|
362
|
+
e = M("p"), t = L(n);
|
|
363
|
+
},
|
|
364
|
+
m(s, r) {
|
|
365
|
+
j(s, e, r), l(e, t);
|
|
366
|
+
},
|
|
367
|
+
p(s, r) {
|
|
368
|
+
r[0] & /*$_*/
|
|
369
|
+
32768 && n !== (n = /*$_*/
|
|
370
|
+
s[15]("noActiveBonuses") + "") && Y(t, n);
|
|
371
|
+
},
|
|
372
|
+
d(s) {
|
|
373
|
+
s && R(e);
|
|
374
|
+
}
|
|
375
|
+
};
|
|
376
|
+
}
|
|
377
|
+
function Ze(o) {
|
|
378
|
+
let e, n, t, s, r, a, b, f, v, y, _, h, c, m, u, W;
|
|
379
|
+
return {
|
|
380
|
+
c() {
|
|
381
|
+
e = M("player-bonus-card"), i(e, "termsandconditionsdescription", n = /*activeBonus*/
|
|
382
|
+
o[49].termsandconditionsdescription), i(e, "termsandconditionsurl", t = /*activeBonus*/
|
|
383
|
+
o[49].termsandconditionsurl), i(e, "termsandconditionsasset", s = /*activeBonus*/
|
|
384
|
+
o[49].termsandconditionsasset), i(e, "endpoint", r = /*activeBonus*/
|
|
385
|
+
o[49].endpoint), i(e, "playerid", a = /*activeBonus*/
|
|
386
|
+
o[49].playerid), i(e, "session", b = /*activeBonus*/
|
|
387
|
+
o[49].session), i(e, "bonuswalletid", f = /*activeBonus*/
|
|
388
|
+
o[49].walletId), i(e, "bonusdate", v = /*activeBonus*/
|
|
389
|
+
o[49].granted), i(e, "bonusstatus", y = /*activeBonus*/
|
|
390
|
+
o[49].status), i(e, "bonusname", _ = /*activeBonus*/
|
|
391
|
+
o[49].name), i(e, "bonustype", h = /*activeBonus*/
|
|
392
|
+
o[49].type), i(e, "bonusamount", c = /*activeBonus*/
|
|
393
|
+
o[49].extension.grantedPlayerCurrencyAmount), i(e, "bonuswageringamount", m = `${/*activeBonus*/
|
|
394
|
+
o[49].fulfilledWR} / ${/*activeBonus*/
|
|
395
|
+
o[49].originalWageringRequirement}`), i(e, "bonusremainingamount", u = /*activeBonus*/
|
|
396
|
+
o[49].currentAmount), i(e, "bonuscurrency", W = /*activeBonus*/
|
|
397
|
+
o[49].currency), i(
|
|
398
|
+
e,
|
|
399
|
+
"lang",
|
|
400
|
+
/*lang*/
|
|
401
|
+
o[0]
|
|
402
|
+
), i(
|
|
403
|
+
e,
|
|
404
|
+
"clientstyling",
|
|
405
|
+
/*clientstyling*/
|
|
406
|
+
o[1]
|
|
407
|
+
), i(
|
|
408
|
+
e,
|
|
409
|
+
"clientstylingurl",
|
|
410
|
+
/*clientstylingurl*/
|
|
411
|
+
o[2]
|
|
412
|
+
), i(
|
|
413
|
+
e,
|
|
414
|
+
"mbsource",
|
|
415
|
+
/*mbsource*/
|
|
416
|
+
o[3]
|
|
417
|
+
);
|
|
418
|
+
},
|
|
419
|
+
m(g, p) {
|
|
420
|
+
j(g, e, p);
|
|
421
|
+
},
|
|
422
|
+
p(g, p) {
|
|
423
|
+
p[0] & /*activeBonusesList*/
|
|
424
|
+
8192 && n !== (n = /*activeBonus*/
|
|
425
|
+
g[49].termsandconditionsdescription) && i(e, "termsandconditionsdescription", n), p[0] & /*activeBonusesList*/
|
|
426
|
+
8192 && t !== (t = /*activeBonus*/
|
|
427
|
+
g[49].termsandconditionsurl) && i(e, "termsandconditionsurl", t), p[0] & /*activeBonusesList*/
|
|
428
|
+
8192 && s !== (s = /*activeBonus*/
|
|
429
|
+
g[49].termsandconditionsasset) && i(e, "termsandconditionsasset", s), p[0] & /*activeBonusesList*/
|
|
430
|
+
8192 && r !== (r = /*activeBonus*/
|
|
431
|
+
g[49].endpoint) && i(e, "endpoint", r), p[0] & /*activeBonusesList*/
|
|
432
|
+
8192 && a !== (a = /*activeBonus*/
|
|
433
|
+
g[49].playerid) && i(e, "playerid", a), p[0] & /*activeBonusesList*/
|
|
434
|
+
8192 && b !== (b = /*activeBonus*/
|
|
435
|
+
g[49].session) && i(e, "session", b), p[0] & /*activeBonusesList*/
|
|
436
|
+
8192 && f !== (f = /*activeBonus*/
|
|
437
|
+
g[49].walletId) && i(e, "bonuswalletid", f), p[0] & /*activeBonusesList*/
|
|
438
|
+
8192 && v !== (v = /*activeBonus*/
|
|
439
|
+
g[49].granted) && i(e, "bonusdate", v), p[0] & /*activeBonusesList*/
|
|
440
|
+
8192 && y !== (y = /*activeBonus*/
|
|
441
|
+
g[49].status) && i(e, "bonusstatus", y), p[0] & /*activeBonusesList*/
|
|
442
|
+
8192 && _ !== (_ = /*activeBonus*/
|
|
443
|
+
g[49].name) && i(e, "bonusname", _), p[0] & /*activeBonusesList*/
|
|
444
|
+
8192 && h !== (h = /*activeBonus*/
|
|
445
|
+
g[49].type) && i(e, "bonustype", h), p[0] & /*activeBonusesList*/
|
|
446
|
+
8192 && c !== (c = /*activeBonus*/
|
|
447
|
+
g[49].extension.grantedPlayerCurrencyAmount) && i(e, "bonusamount", c), p[0] & /*activeBonusesList*/
|
|
448
|
+
8192 && m !== (m = `${/*activeBonus*/
|
|
449
|
+
g[49].fulfilledWR} / ${/*activeBonus*/
|
|
450
|
+
g[49].originalWageringRequirement}`) && i(e, "bonuswageringamount", m), p[0] & /*activeBonusesList*/
|
|
451
|
+
8192 && u !== (u = /*activeBonus*/
|
|
452
|
+
g[49].currentAmount) && i(e, "bonusremainingamount", u), p[0] & /*activeBonusesList*/
|
|
453
|
+
8192 && W !== (W = /*activeBonus*/
|
|
454
|
+
g[49].currency) && i(e, "bonuscurrency", W), p[0] & /*lang*/
|
|
455
|
+
1 && i(
|
|
456
|
+
e,
|
|
457
|
+
"lang",
|
|
458
|
+
/*lang*/
|
|
459
|
+
g[0]
|
|
460
|
+
), p[0] & /*clientstyling*/
|
|
461
|
+
2 && i(
|
|
462
|
+
e,
|
|
463
|
+
"clientstyling",
|
|
464
|
+
/*clientstyling*/
|
|
465
|
+
g[1]
|
|
466
|
+
), p[0] & /*clientstylingurl*/
|
|
467
|
+
4 && i(
|
|
468
|
+
e,
|
|
469
|
+
"clientstylingurl",
|
|
470
|
+
/*clientstylingurl*/
|
|
471
|
+
g[2]
|
|
472
|
+
), p[0] & /*mbsource*/
|
|
473
|
+
8 && i(
|
|
474
|
+
e,
|
|
475
|
+
"mbsource",
|
|
476
|
+
/*mbsource*/
|
|
477
|
+
g[3]
|
|
478
|
+
);
|
|
479
|
+
},
|
|
480
|
+
d(g) {
|
|
481
|
+
g && R(e);
|
|
482
|
+
}
|
|
483
|
+
};
|
|
484
|
+
}
|
|
485
|
+
function Ke(o) {
|
|
486
|
+
let e, n, t, s, r, a, b, f, v, y, _, h, c;
|
|
487
|
+
return {
|
|
488
|
+
c() {
|
|
489
|
+
e = M("player-bonus-card"), i(e, "termsandconditionsdescription", n = /*activeBonus*/
|
|
490
|
+
o[49].termsandconditionsdescription), i(e, "termsandconditionsurl", t = /*activeBonus*/
|
|
491
|
+
o[49].termsandconditionsurl), i(e, "termsandconditionsasset", s = /*activeBonus*/
|
|
492
|
+
o[49].termsandconditionsasset), i(e, "endpoint", r = /*activeBonus*/
|
|
493
|
+
o[49].endpoint), i(e, "playerid", a = /*activeBonus*/
|
|
494
|
+
o[49].playerid), i(e, "session", b = /*activeBonus*/
|
|
495
|
+
o[49].session), i(e, "bonuswalletid", f = /*activeBonus*/
|
|
496
|
+
o[49].walletId), i(e, "bonusdate", v = /*activeBonus*/
|
|
497
|
+
o[49].granted), i(e, "bonusstatus", y = /*activeBonus*/
|
|
498
|
+
o[49].status), i(e, "bonusname", _ = /*activeBonus*/
|
|
499
|
+
o[49].name), i(e, "bonustype", h = /*activeBonus*/
|
|
500
|
+
o[49].type), i(e, "bonuscurrency", c = /*activeBonus*/
|
|
501
|
+
o[49].currency), i(
|
|
502
|
+
e,
|
|
503
|
+
"lang",
|
|
504
|
+
/*lang*/
|
|
505
|
+
o[0]
|
|
506
|
+
), i(
|
|
507
|
+
e,
|
|
508
|
+
"clientstyling",
|
|
509
|
+
/*clientstyling*/
|
|
510
|
+
o[1]
|
|
511
|
+
), i(
|
|
512
|
+
e,
|
|
513
|
+
"clientstylingurl",
|
|
514
|
+
/*clientstylingurl*/
|
|
515
|
+
o[2]
|
|
516
|
+
), i(
|
|
517
|
+
e,
|
|
518
|
+
"mbsource",
|
|
519
|
+
/*mbsource*/
|
|
520
|
+
o[3]
|
|
521
|
+
);
|
|
522
|
+
},
|
|
523
|
+
m(m, u) {
|
|
524
|
+
j(m, e, u);
|
|
525
|
+
},
|
|
526
|
+
p(m, u) {
|
|
527
|
+
u[0] & /*activeBonusesList*/
|
|
528
|
+
8192 && n !== (n = /*activeBonus*/
|
|
529
|
+
m[49].termsandconditionsdescription) && i(e, "termsandconditionsdescription", n), u[0] & /*activeBonusesList*/
|
|
530
|
+
8192 && t !== (t = /*activeBonus*/
|
|
531
|
+
m[49].termsandconditionsurl) && i(e, "termsandconditionsurl", t), u[0] & /*activeBonusesList*/
|
|
532
|
+
8192 && s !== (s = /*activeBonus*/
|
|
533
|
+
m[49].termsandconditionsasset) && i(e, "termsandconditionsasset", s), u[0] & /*activeBonusesList*/
|
|
534
|
+
8192 && r !== (r = /*activeBonus*/
|
|
535
|
+
m[49].endpoint) && i(e, "endpoint", r), u[0] & /*activeBonusesList*/
|
|
536
|
+
8192 && a !== (a = /*activeBonus*/
|
|
537
|
+
m[49].playerid) && i(e, "playerid", a), u[0] & /*activeBonusesList*/
|
|
538
|
+
8192 && b !== (b = /*activeBonus*/
|
|
539
|
+
m[49].session) && i(e, "session", b), u[0] & /*activeBonusesList*/
|
|
540
|
+
8192 && f !== (f = /*activeBonus*/
|
|
541
|
+
m[49].walletId) && i(e, "bonuswalletid", f), u[0] & /*activeBonusesList*/
|
|
542
|
+
8192 && v !== (v = /*activeBonus*/
|
|
543
|
+
m[49].granted) && i(e, "bonusdate", v), u[0] & /*activeBonusesList*/
|
|
544
|
+
8192 && y !== (y = /*activeBonus*/
|
|
545
|
+
m[49].status) && i(e, "bonusstatus", y), u[0] & /*activeBonusesList*/
|
|
546
|
+
8192 && _ !== (_ = /*activeBonus*/
|
|
547
|
+
m[49].name) && i(e, "bonusname", _), u[0] & /*activeBonusesList*/
|
|
548
|
+
8192 && h !== (h = /*activeBonus*/
|
|
549
|
+
m[49].type) && i(e, "bonustype", h), u[0] & /*activeBonusesList*/
|
|
550
|
+
8192 && c !== (c = /*activeBonus*/
|
|
551
|
+
m[49].currency) && i(e, "bonuscurrency", c), u[0] & /*lang*/
|
|
552
|
+
1 && i(
|
|
553
|
+
e,
|
|
554
|
+
"lang",
|
|
555
|
+
/*lang*/
|
|
556
|
+
m[0]
|
|
557
|
+
), u[0] & /*clientstyling*/
|
|
558
|
+
2 && i(
|
|
559
|
+
e,
|
|
560
|
+
"clientstyling",
|
|
561
|
+
/*clientstyling*/
|
|
562
|
+
m[1]
|
|
563
|
+
), u[0] & /*clientstylingurl*/
|
|
564
|
+
4 && i(
|
|
565
|
+
e,
|
|
566
|
+
"clientstylingurl",
|
|
567
|
+
/*clientstylingurl*/
|
|
568
|
+
m[2]
|
|
569
|
+
), u[0] & /*mbsource*/
|
|
570
|
+
8 && i(
|
|
571
|
+
e,
|
|
572
|
+
"mbsource",
|
|
573
|
+
/*mbsource*/
|
|
574
|
+
m[3]
|
|
575
|
+
);
|
|
576
|
+
},
|
|
577
|
+
d(m) {
|
|
578
|
+
m && R(e);
|
|
579
|
+
}
|
|
580
|
+
};
|
|
581
|
+
}
|
|
582
|
+
function ce(o) {
|
|
583
|
+
let e;
|
|
584
|
+
function n(r, a) {
|
|
585
|
+
return (
|
|
586
|
+
/*activeBonus*/
|
|
587
|
+
r[49].type === "freeRound" ? Ke : Ze
|
|
588
|
+
);
|
|
589
|
+
}
|
|
590
|
+
let t = n(o), s = t(o);
|
|
591
|
+
return {
|
|
592
|
+
c() {
|
|
593
|
+
s.c(), e = ne();
|
|
594
|
+
},
|
|
595
|
+
m(r, a) {
|
|
596
|
+
s.m(r, a), j(r, e, a);
|
|
597
|
+
},
|
|
598
|
+
p(r, a) {
|
|
599
|
+
t === (t = n(r)) && s ? s.p(r, a) : (s.d(1), s = t(r), s && (s.c(), s.m(e.parentNode, e)));
|
|
600
|
+
},
|
|
601
|
+
d(r) {
|
|
602
|
+
r && R(e), s.d(r);
|
|
603
|
+
}
|
|
604
|
+
};
|
|
605
|
+
}
|
|
606
|
+
function pe(o) {
|
|
607
|
+
let e, n, t, s, r, a, b, f, v, y, _, h, c, m, u, W, g, p, S, E = ee(Array(
|
|
608
|
+
/*numberOfPages*/
|
|
609
|
+
o[11]
|
|
610
|
+
)), P = [];
|
|
611
|
+
for (let w = 0; w < E.length; w += 1)
|
|
612
|
+
P[w] = fe(le(o, E, w));
|
|
613
|
+
return {
|
|
614
|
+
c() {
|
|
615
|
+
e = M("div"), n = M("span"), t = L("|<"), r = N(), a = M("span"), b = L("<"), v = N();
|
|
616
|
+
for (let w = 0; w < P.length; w += 1)
|
|
617
|
+
P[w].c();
|
|
618
|
+
y = N(), _ = M("span"), h = L(">"), m = N(), u = M("span"), W = L(">|"), B(n, "class", s = "BonusesFirst " + /*currentPage*/
|
|
619
|
+
(o[12] === 0 ? "Inactive" : "")), B(a, "class", f = "BonusesPrev " + /*currentPage*/
|
|
620
|
+
(o[12] === 0 ? "Inactive" : "")), B(_, "class", c = "BonusesNext " + /*currentPage*/
|
|
621
|
+
(o[12] === /*numberOfPages*/
|
|
622
|
+
o[11] - 1 ? "Inactive" : "")), B(u, "class", g = "BonusesLast " + /*currentPage*/
|
|
623
|
+
(o[12] === /*numberOfPages*/
|
|
624
|
+
o[11] - 1 ? "Inactive" : "")), B(e, "class", "BonusesPaginationWrapper " + /*isMobile*/
|
|
625
|
+
(o[16] ? "BonusesPaginationWrapperMobile" : ""));
|
|
626
|
+
},
|
|
627
|
+
m(w, I) {
|
|
628
|
+
j(w, e, I), l(e, n), l(n, t), l(e, r), l(e, a), l(a, b), l(e, v);
|
|
629
|
+
for (let A = 0; A < P.length; A += 1)
|
|
630
|
+
P[A] && P[A].m(e, null);
|
|
631
|
+
l(e, y), l(e, _), l(_, h), l(e, m), l(e, u), l(u, W), p || (S = [
|
|
632
|
+
G(
|
|
633
|
+
n,
|
|
634
|
+
"click",
|
|
635
|
+
/*click_handler_1*/
|
|
636
|
+
o[31]
|
|
637
|
+
),
|
|
638
|
+
G(
|
|
639
|
+
a,
|
|
640
|
+
"click",
|
|
641
|
+
/*click_handler_2*/
|
|
642
|
+
o[32]
|
|
643
|
+
),
|
|
644
|
+
G(
|
|
645
|
+
_,
|
|
646
|
+
"click",
|
|
647
|
+
/*click_handler_4*/
|
|
648
|
+
o[34]
|
|
649
|
+
),
|
|
650
|
+
G(
|
|
651
|
+
u,
|
|
652
|
+
"click",
|
|
653
|
+
/*click_handler_5*/
|
|
654
|
+
o[35]
|
|
655
|
+
)
|
|
656
|
+
], p = !0);
|
|
657
|
+
},
|
|
658
|
+
p(w, I) {
|
|
659
|
+
if (I[0] & /*currentPage*/
|
|
660
|
+
4096 && s !== (s = "BonusesFirst " + /*currentPage*/
|
|
661
|
+
(w[12] === 0 ? "Inactive" : "")) && B(n, "class", s), I[0] & /*currentPage*/
|
|
662
|
+
4096 && f !== (f = "BonusesPrev " + /*currentPage*/
|
|
663
|
+
(w[12] === 0 ? "Inactive" : "")) && B(a, "class", f), I[0] & /*currentPage, getActiveBonuses, numberOfPages*/
|
|
664
|
+
530432) {
|
|
665
|
+
E = ee(Array(
|
|
666
|
+
/*numberOfPages*/
|
|
667
|
+
w[11]
|
|
668
|
+
));
|
|
669
|
+
let A;
|
|
670
|
+
for (A = 0; A < E.length; A += 1) {
|
|
671
|
+
const J = le(w, E, A);
|
|
672
|
+
P[A] ? P[A].p(J, I) : (P[A] = fe(J), P[A].c(), P[A].m(e, y));
|
|
673
|
+
}
|
|
674
|
+
for (; A < P.length; A += 1)
|
|
675
|
+
P[A].d(1);
|
|
676
|
+
P.length = E.length;
|
|
677
|
+
}
|
|
678
|
+
I[0] & /*currentPage, numberOfPages*/
|
|
679
|
+
6144 && c !== (c = "BonusesNext " + /*currentPage*/
|
|
680
|
+
(w[12] === /*numberOfPages*/
|
|
681
|
+
w[11] - 1 ? "Inactive" : "")) && B(_, "class", c), I[0] & /*currentPage, numberOfPages*/
|
|
682
|
+
6144 && g !== (g = "BonusesLast " + /*currentPage*/
|
|
683
|
+
(w[12] === /*numberOfPages*/
|
|
684
|
+
w[11] - 1 ? "Inactive" : "")) && B(u, "class", g);
|
|
685
|
+
},
|
|
686
|
+
d(w) {
|
|
687
|
+
w && R(e), be(P, w), p = !1, oe(S);
|
|
688
|
+
}
|
|
689
|
+
};
|
|
690
|
+
}
|
|
691
|
+
function fe(o) {
|
|
692
|
+
let e, n = (
|
|
693
|
+
/*i*/
|
|
694
|
+
o[48] + 1 + ""
|
|
695
|
+
), t, s, r, a;
|
|
696
|
+
function b() {
|
|
697
|
+
return (
|
|
698
|
+
/*click_handler_3*/
|
|
699
|
+
o[33](
|
|
700
|
+
/*i*/
|
|
701
|
+
o[48]
|
|
702
|
+
)
|
|
703
|
+
);
|
|
704
|
+
}
|
|
705
|
+
return {
|
|
706
|
+
c() {
|
|
707
|
+
e = M("span"), t = L(n), B(e, "class", s = "BonusesPage " + /*i*/
|
|
708
|
+
(o[48] === /*currentPage*/
|
|
709
|
+
o[12] ? "BonusPageActive" : ""));
|
|
710
|
+
},
|
|
711
|
+
m(f, v) {
|
|
712
|
+
j(f, e, v), l(e, t), r || (a = G(e, "click", b), r = !0);
|
|
713
|
+
},
|
|
714
|
+
p(f, v) {
|
|
715
|
+
o = f, v[0] & /*currentPage*/
|
|
716
|
+
4096 && s !== (s = "BonusesPage " + /*i*/
|
|
717
|
+
(o[48] === /*currentPage*/
|
|
718
|
+
o[12] ? "BonusPageActive" : "")) && B(e, "class", s);
|
|
719
|
+
},
|
|
720
|
+
d(f) {
|
|
721
|
+
f && R(e), r = !1, a();
|
|
722
|
+
}
|
|
723
|
+
};
|
|
724
|
+
}
|
|
725
|
+
function me(o) {
|
|
726
|
+
let e, n, t, s, r = (
|
|
727
|
+
/*$_*/
|
|
728
|
+
o[15]("forfeitBonus") + ""
|
|
729
|
+
), a, b, f, v, y = (
|
|
730
|
+
/*$_*/
|
|
731
|
+
o[15]("forfeitBonusCancel") + ""
|
|
732
|
+
), _, h, c, m = (
|
|
733
|
+
/*$_*/
|
|
734
|
+
o[15]("forfeitBonusConfirm") + ""
|
|
735
|
+
), u, W, g;
|
|
736
|
+
return {
|
|
737
|
+
c() {
|
|
738
|
+
e = M("div"), n = M("div"), t = M("div"), s = M("p"), a = L(r), b = N(), f = M("div"), v = M("button"), _ = L(y), h = N(), c = M("button"), u = L(m), B(s, "class", "ModalText"), B(v, "class", "ModalCancel"), B(c, "class", "ModalConfirm"), B(f, "class", "ModalButtons"), B(t, "class", "ModalBody"), B(n, "class", "ModalContent"), B(e, "class", "ModalWrapper " + /*isMobile*/
|
|
739
|
+
(o[16] ? "ModalWrapperMobile" : ""));
|
|
740
|
+
},
|
|
741
|
+
m(p, S) {
|
|
742
|
+
j(p, e, S), l(e, n), l(n, t), l(t, s), l(s, a), l(t, b), l(t, f), l(f, v), l(v, _), l(f, h), l(f, c), l(c, u), W || (g = [
|
|
743
|
+
G(
|
|
744
|
+
v,
|
|
745
|
+
"click",
|
|
746
|
+
/*closeBonusModal*/
|
|
747
|
+
o[21]
|
|
748
|
+
),
|
|
749
|
+
G(
|
|
750
|
+
c,
|
|
751
|
+
"click",
|
|
752
|
+
/*debouncedFunction*/
|
|
753
|
+
o[23](
|
|
754
|
+
/*deleteBonus*/
|
|
755
|
+
o[22]
|
|
756
|
+
)
|
|
757
|
+
)
|
|
758
|
+
], W = !0);
|
|
759
|
+
},
|
|
760
|
+
p(p, S) {
|
|
761
|
+
S[0] & /*$_*/
|
|
762
|
+
32768 && r !== (r = /*$_*/
|
|
763
|
+
p[15]("forfeitBonus") + "") && Y(a, r), S[0] & /*$_*/
|
|
764
|
+
32768 && y !== (y = /*$_*/
|
|
765
|
+
p[15]("forfeitBonusCancel") + "") && Y(_, y), S[0] & /*$_*/
|
|
766
|
+
32768 && m !== (m = /*$_*/
|
|
767
|
+
p[15]("forfeitBonusConfirm") + "") && Y(u, m);
|
|
768
|
+
},
|
|
769
|
+
d(p) {
|
|
770
|
+
p && R(e), W = !1, oe(g);
|
|
771
|
+
}
|
|
772
|
+
};
|
|
773
|
+
}
|
|
774
|
+
function Qe(o) {
|
|
775
|
+
let e;
|
|
776
|
+
function n(r, a) {
|
|
777
|
+
return He;
|
|
778
|
+
}
|
|
779
|
+
let s = n()(o);
|
|
780
|
+
return {
|
|
781
|
+
c() {
|
|
782
|
+
e = M("div"), s.c();
|
|
783
|
+
},
|
|
784
|
+
m(r, a) {
|
|
785
|
+
j(r, e, a), s.m(e, null), o[36](e);
|
|
786
|
+
},
|
|
787
|
+
p(r, a) {
|
|
788
|
+
s.p(r, a);
|
|
789
|
+
},
|
|
790
|
+
i: te,
|
|
791
|
+
o: te,
|
|
792
|
+
d(r) {
|
|
793
|
+
r && R(e), s.d(), o[36](null);
|
|
794
|
+
}
|
|
795
|
+
};
|
|
796
|
+
}
|
|
797
|
+
let xe = "status=active", X = 6;
|
|
798
|
+
function $e(o, e, n) {
|
|
799
|
+
let t;
|
|
800
|
+
Se(o, Ge, (d) => n(15, t = d));
|
|
801
|
+
let { endpoint: s = "" } = e, { session: r = "" } = e, { playerid: a = "" } = e, { lang: b = "en" } = e, { playercurrency: f = "" } = e, { clientstyling: v = "" } = e, { clientstylingurl: y = "" } = e, { mbsource: _ } = e, { translationurl: h = "" } = e, c, m = window.navigator.userAgent, u = Te(m) !== "PC", W = !0, g = !1, p = "", S = 0, E = 0, P = 0, w = 0, I = 0, A = [], J, U = "", F = !1;
|
|
802
|
+
const Q = () => {
|
|
803
|
+
fetch(h).then((T) => T.json()).then((T) => {
|
|
804
|
+
Object.keys(T).forEach((q) => {
|
|
805
|
+
ae(q, T[q]);
|
|
806
|
+
});
|
|
807
|
+
}).catch((T) => {
|
|
808
|
+
console.log(T);
|
|
809
|
+
});
|
|
810
|
+
};
|
|
811
|
+
Object.keys(re).forEach((d) => {
|
|
812
|
+
ae(d, re[d]);
|
|
813
|
+
});
|
|
814
|
+
const Z = (d) => {
|
|
815
|
+
if (d.data)
|
|
816
|
+
switch (d.data.type) {
|
|
817
|
+
case "DeleteActiveBonus":
|
|
818
|
+
U = d.data.bonuswalletid, n(14, F = !0);
|
|
819
|
+
break;
|
|
820
|
+
}
|
|
821
|
+
};
|
|
822
|
+
function O(d, T) {
|
|
823
|
+
return (...q) => {
|
|
824
|
+
clearTimeout(J), J = setTimeout(
|
|
825
|
+
() => {
|
|
826
|
+
d.apply(this, q);
|
|
827
|
+
},
|
|
828
|
+
T
|
|
829
|
+
);
|
|
830
|
+
};
|
|
831
|
+
}
|
|
832
|
+
const z = () => {
|
|
833
|
+
window.postMessage(
|
|
834
|
+
{
|
|
835
|
+
type: "PlayerAccountMenuActive",
|
|
836
|
+
isMobile: u
|
|
837
|
+
},
|
|
838
|
+
window.location.href
|
|
839
|
+
);
|
|
840
|
+
}, D = () => !!p, C = () => {
|
|
841
|
+
n(5, W = !D());
|
|
842
|
+
}, k = (d) => {
|
|
843
|
+
let T = {
|
|
844
|
+
method: "GET",
|
|
845
|
+
headers: { "X-SessionId": r }
|
|
846
|
+
}, q = new URL(`${s}/v1/player/${a}/bonusWallet`);
|
|
847
|
+
q.searchParams.append("filter", xe), q.searchParams.append("pagination", `offset=${d},limit=${X}`), fetch(q, T).then((V) => V.json()).then(
|
|
848
|
+
(V) => {
|
|
849
|
+
Array.isArray(V.items) && V.items.forEach((x) => {
|
|
850
|
+
const $ = x?.extension?.bonus?.presentation;
|
|
851
|
+
$ && (x.termsandconditionsurl = $.url, x.termsandconditionsdescription = $.description, x.termsandconditionsasset = $.assets);
|
|
852
|
+
}), n(11, w = Math.ceil(V.total / X)), d - X >= 0 && n(8, S = d - X), d + X < V.total && n(9, E = d + X), n(10, P = (w - 1) * X), n(12, I = d / X), n(13, A = V?.items || []), window.scrollTo({ top: 0, behavior: "smooth" });
|
|
853
|
+
},
|
|
854
|
+
(V) => {
|
|
855
|
+
console.error(V);
|
|
856
|
+
}
|
|
857
|
+
);
|
|
858
|
+
}, ge = () => {
|
|
859
|
+
let d = new URL(`${s}/v1/player/${a}/claimbonus`), T = {
|
|
860
|
+
method: "POST",
|
|
861
|
+
headers: {
|
|
862
|
+
"X-SessionId": r,
|
|
863
|
+
accept: "application/json"
|
|
864
|
+
}
|
|
865
|
+
};
|
|
866
|
+
d.searchParams.append("currency", f), d.searchParams.append("bonusCode", p), fetch(d.href, T).then((q) => {
|
|
867
|
+
q.status == 200 ? (n(6, g = !1), k(0), window.postMessage(
|
|
868
|
+
{
|
|
869
|
+
type: "WidgetNotification",
|
|
870
|
+
data: {
|
|
871
|
+
type: "success",
|
|
872
|
+
message: t("successMessage")
|
|
873
|
+
}
|
|
874
|
+
},
|
|
875
|
+
window.location.href
|
|
876
|
+
), typeof gtag == "function" && gtag("event", "ClaimBonus", {
|
|
877
|
+
context: "PlayerActiveBonuses",
|
|
878
|
+
userId: `${a || "Not logged in"}`,
|
|
879
|
+
bonusCode: `${p}`
|
|
880
|
+
})) : (n(6, g = !0), window.postMessage(
|
|
881
|
+
{
|
|
882
|
+
type: "WidgetNotification",
|
|
883
|
+
data: {
|
|
884
|
+
type: "error",
|
|
885
|
+
message: t("errorMessage")
|
|
886
|
+
}
|
|
887
|
+
},
|
|
888
|
+
window.location.href
|
|
889
|
+
));
|
|
890
|
+
});
|
|
891
|
+
}, se = () => {
|
|
892
|
+
window.postMessage({ type: "EnableScroll" }, window.location.href), n(14, F = !1);
|
|
893
|
+
}, Be = () => {
|
|
894
|
+
let d = {
|
|
895
|
+
method: "DELETE",
|
|
896
|
+
headers: {
|
|
897
|
+
"X-SessionId": r,
|
|
898
|
+
"Content-Type": "application/json",
|
|
899
|
+
Accept: "application/json"
|
|
900
|
+
}
|
|
901
|
+
}, T = new URL(`${s}/v1/player/${a}/bonusWallet`);
|
|
902
|
+
T.searchParams.append("bonusWalletID", U), fetch(T, d).then((q) => {
|
|
903
|
+
q.status == 200 && (k(0), se());
|
|
904
|
+
});
|
|
905
|
+
}, ve = () => {
|
|
906
|
+
Ue(b);
|
|
907
|
+
};
|
|
908
|
+
function _e(d) {
|
|
909
|
+
return O(d, 1e3);
|
|
910
|
+
}
|
|
911
|
+
Ne(() => (window.addEventListener("message", Z, !1), () => {
|
|
912
|
+
window.removeEventListener("message", Z);
|
|
913
|
+
}));
|
|
914
|
+
const ye = () => z();
|
|
915
|
+
function Ce() {
|
|
916
|
+
p = this.value, n(7, p);
|
|
917
|
+
}
|
|
918
|
+
const he = () => k(0), we = () => k(S), Me = (d) => k(d * X), ke = () => k(E), Ae = () => k(P);
|
|
919
|
+
function We(d) {
|
|
920
|
+
Le[d ? "unshift" : "push"](() => {
|
|
921
|
+
c = d, n(4, c);
|
|
922
|
+
});
|
|
923
|
+
}
|
|
924
|
+
return o.$$set = (d) => {
|
|
925
|
+
"endpoint" in d && n(24, s = d.endpoint), "session" in d && n(25, r = d.session), "playerid" in d && n(26, a = d.playerid), "lang" in d && n(0, b = d.lang), "playercurrency" in d && n(27, f = d.playercurrency), "clientstyling" in d && n(1, v = d.clientstyling), "clientstylingurl" in d && n(2, y = d.clientstylingurl), "mbsource" in d && n(3, _ = d.mbsource), "translationurl" in d && n(28, h = d.translationurl);
|
|
926
|
+
}, o.$$.update = () => {
|
|
927
|
+
o.$$.dirty[0] & /*lang*/
|
|
928
|
+
1 && b && ve(), o.$$.dirty[0] & /*session, playerid, endpoint*/
|
|
929
|
+
117440512 && r && a && s && k(0), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
930
|
+
18 && v && c && Re(c, v), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
931
|
+
20 && y && c && je(c, y), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
932
|
+
24 && _ && c && Oe(c, `${_}.Style`), o.$$.dirty[0] & /*translationurl*/
|
|
933
|
+
268435456 && h && Q();
|
|
934
|
+
}, [
|
|
935
|
+
b,
|
|
936
|
+
v,
|
|
937
|
+
y,
|
|
938
|
+
_,
|
|
939
|
+
c,
|
|
940
|
+
W,
|
|
941
|
+
g,
|
|
942
|
+
p,
|
|
943
|
+
S,
|
|
944
|
+
E,
|
|
945
|
+
P,
|
|
946
|
+
w,
|
|
947
|
+
I,
|
|
948
|
+
A,
|
|
949
|
+
F,
|
|
950
|
+
t,
|
|
951
|
+
u,
|
|
952
|
+
z,
|
|
953
|
+
C,
|
|
954
|
+
k,
|
|
955
|
+
ge,
|
|
956
|
+
se,
|
|
957
|
+
Be,
|
|
958
|
+
_e,
|
|
959
|
+
s,
|
|
960
|
+
r,
|
|
961
|
+
a,
|
|
962
|
+
f,
|
|
963
|
+
h,
|
|
964
|
+
ye,
|
|
965
|
+
Ce,
|
|
966
|
+
he,
|
|
967
|
+
we,
|
|
968
|
+
Me,
|
|
969
|
+
ke,
|
|
970
|
+
Ae,
|
|
971
|
+
We
|
|
972
|
+
];
|
|
973
|
+
}
|
|
974
|
+
class eo extends Ie {
|
|
975
|
+
constructor(e) {
|
|
976
|
+
super(), ze(
|
|
977
|
+
this,
|
|
978
|
+
e,
|
|
979
|
+
$e,
|
|
980
|
+
Qe,
|
|
981
|
+
Ee,
|
|
982
|
+
{
|
|
983
|
+
endpoint: 24,
|
|
984
|
+
session: 25,
|
|
985
|
+
playerid: 26,
|
|
986
|
+
lang: 0,
|
|
987
|
+
playercurrency: 27,
|
|
988
|
+
clientstyling: 1,
|
|
989
|
+
clientstylingurl: 2,
|
|
990
|
+
mbsource: 3,
|
|
991
|
+
translationurl: 28
|
|
992
|
+
},
|
|
993
|
+
Ve,
|
|
994
|
+
[-1, -1]
|
|
995
|
+
);
|
|
996
|
+
}
|
|
997
|
+
get endpoint() {
|
|
998
|
+
return this.$$.ctx[24];
|
|
999
|
+
}
|
|
1000
|
+
set endpoint(e) {
|
|
1001
|
+
this.$$set({ endpoint: e }), H();
|
|
1002
|
+
}
|
|
1003
|
+
get session() {
|
|
1004
|
+
return this.$$.ctx[25];
|
|
1005
|
+
}
|
|
1006
|
+
set session(e) {
|
|
1007
|
+
this.$$set({ session: e }), H();
|
|
1008
|
+
}
|
|
1009
|
+
get playerid() {
|
|
1010
|
+
return this.$$.ctx[26];
|
|
1011
|
+
}
|
|
1012
|
+
set playerid(e) {
|
|
1013
|
+
this.$$set({ playerid: e }), H();
|
|
1014
|
+
}
|
|
1015
|
+
get lang() {
|
|
1016
|
+
return this.$$.ctx[0];
|
|
1017
|
+
}
|
|
1018
|
+
set lang(e) {
|
|
1019
|
+
this.$$set({ lang: e }), H();
|
|
1020
|
+
}
|
|
1021
|
+
get playercurrency() {
|
|
1022
|
+
return this.$$.ctx[27];
|
|
1023
|
+
}
|
|
1024
|
+
set playercurrency(e) {
|
|
1025
|
+
this.$$set({ playercurrency: e }), H();
|
|
1026
|
+
}
|
|
1027
|
+
get clientstyling() {
|
|
1028
|
+
return this.$$.ctx[1];
|
|
1029
|
+
}
|
|
1030
|
+
set clientstyling(e) {
|
|
1031
|
+
this.$$set({ clientstyling: e }), H();
|
|
1032
|
+
}
|
|
1033
|
+
get clientstylingurl() {
|
|
1034
|
+
return this.$$.ctx[2];
|
|
1035
|
+
}
|
|
1036
|
+
set clientstylingurl(e) {
|
|
1037
|
+
this.$$set({ clientstylingurl: e }), H();
|
|
1038
|
+
}
|
|
1039
|
+
get mbsource() {
|
|
1040
|
+
return this.$$.ctx[3];
|
|
1041
|
+
}
|
|
1042
|
+
set mbsource(e) {
|
|
1043
|
+
this.$$set({ mbsource: e }), H();
|
|
1044
|
+
}
|
|
1045
|
+
get translationurl() {
|
|
1046
|
+
return this.$$.ctx[28];
|
|
1047
|
+
}
|
|
1048
|
+
set translationurl(e) {
|
|
1049
|
+
this.$$set({ translationurl: e }), H();
|
|
1050
|
+
}
|
|
1051
|
+
}
|
|
1052
|
+
qe(eo, { endpoint: {}, session: {}, playerid: {}, lang: {}, playercurrency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
1053
|
+
export {
|
|
1054
|
+
eo as default
|
|
1055
|
+
};
|