@everymatrix/player-account-controller 1.91.0 → 1.91.2

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.
Files changed (137) hide show
  1. package/components/{GeneralLogout-CZx06fEj.cjs → GeneralLogout-DwUKWQEM.cjs} +1 -1
  2. package/components/{GeneralLogout-CfTLK2Bc.js → GeneralLogout-RtZ56Nn3.js} +1 -1
  3. package/components/{GeneralLogout-hD19E-Zw.js → GeneralLogout-WQPZo1XA.js} +1 -1
  4. package/components/{PlayerAccountBettingHistory-CktRMlqd.cjs → PlayerAccountBettingHistory-B73xqRDd.cjs} +1 -1
  5. package/components/{PlayerAccountBettingHistory-CA7auAML.js → PlayerAccountBettingHistory-CmbPT188.js} +1 -1
  6. package/components/{PlayerAccountBettingHistory-DqxCb3Vd.js → PlayerAccountBettingHistory-CvFZhJr5.js} +1 -1
  7. package/components/{PlayerAccountBiometrics-_e_GPij0.cjs → PlayerAccountBiometrics-8QlKdliQ.cjs} +1 -1
  8. package/components/{PlayerAccountBiometrics-BkD_4qfK.js → PlayerAccountBiometrics-DPDH3rze.js} +2 -2
  9. package/components/{PlayerAccountBiometrics-SFhwP7hC.js → PlayerAccountBiometrics-NfD7xlui.js} +2 -2
  10. package/components/{PlayerAccountBiometricsAction-BNbtq7KV.js → PlayerAccountBiometricsAction-Cerl0hxM.js} +1 -1
  11. package/components/{PlayerAccountBiometricsAction-1lBtdXlm.js → PlayerAccountBiometricsAction-DfVIWqGO.js} +1 -1
  12. package/components/{PlayerAccountBiometricsAction-y4GZTxcT.cjs → PlayerAccountBiometricsAction-oyPYqpGN.cjs} +1 -1
  13. package/components/{PlayerAccountClosure-BicB6rYD.js → PlayerAccountClosure-CaVbfY7o.js} +1 -1
  14. package/components/{PlayerAccountClosure-BVmcfM4z.js → PlayerAccountClosure-DNkokDK1.js} +1 -1
  15. package/components/{PlayerAccountClosure-D7HxqU1N.cjs → PlayerAccountClosure-wcTZTC1v.cjs} +1 -1
  16. package/components/PlayerAccountController-DErgObNK.cjs +21 -0
  17. package/components/{PlayerAccountController-B1uYSIz3.js → PlayerAccountController-DG3KbTWa.js} +115 -111
  18. package/components/{PlayerAccountController-RTgAeQIt.js → PlayerAccountController-DyqNYFxa.js} +49 -45
  19. package/components/{PlayerAccountGamingLimits-9nxBFWJ_.js → PlayerAccountGamingLimits-C92dYqb3.js} +2 -2
  20. package/components/{PlayerAccountGamingLimits-8cX20yx0.js → PlayerAccountGamingLimits-Dr2DFwJy.js} +2 -2
  21. package/components/{PlayerAccountGamingLimits-Dx5_vi1Q.cjs → PlayerAccountGamingLimits-Ur_9kp2o.cjs} +1 -1
  22. package/components/{PlayerAccountGamingLimitsConfirmationModal-BF_ch2qb.cjs → PlayerAccountGamingLimitsConfirmationModal-BdKrgcP9.cjs} +1 -1
  23. package/components/{PlayerAccountGamingLimitsConfirmationModal-Y-C4A1I2.js → PlayerAccountGamingLimitsConfirmationModal-DzSs9Wlh.js} +15 -15
  24. package/components/{PlayerAccountGamingLimitsConfirmationModal-CJgc8OTg.js → PlayerAccountGamingLimitsConfirmationModal-JoLpq5Qd.js} +12 -12
  25. package/components/{PlayerAccountGamingLimitsGroupEdit-CEM4at0P.js → PlayerAccountGamingLimitsGroupEdit-C61nqLfa.js} +5 -5
  26. package/components/{PlayerAccountGamingLimitsGroupEdit-DejiPaBu.js → PlayerAccountGamingLimitsGroupEdit-CGPf2GzC.js} +5 -5
  27. package/components/{PlayerAccountGamingLimitsGroupEdit-D-yNkbWZ.cjs → PlayerAccountGamingLimitsGroupEdit-CQylV_LW.cjs} +1 -1
  28. package/components/{PlayerAccountGamingLimitsHistory2-BiTbzLOf.js → PlayerAccountGamingLimitsHistory2-BntJofdm.js} +1 -1
  29. package/components/{PlayerAccountGamingLimitsHistory2-320drqSz.js → PlayerAccountGamingLimitsHistory2-CEqiSFnd.js} +1 -1
  30. package/components/{PlayerAccountGamingLimitsHistory2-CJzOaUU_.cjs → PlayerAccountGamingLimitsHistory2-DJ-Cjyp1.cjs} +1 -1
  31. package/components/{PlayerAccountGamingLimitsInfoCard-DFDthU1l.js → PlayerAccountGamingLimitsInfoCard-Bzww1-RJ.js} +4 -4
  32. package/components/{PlayerAccountGamingLimitsInfoCard-oZ_FtdRr.cjs → PlayerAccountGamingLimitsInfoCard-CZcelMtY.cjs} +1 -1
  33. package/components/{PlayerAccountGamingLimitsInfoCard-DDu6HRZw.js → PlayerAccountGamingLimitsInfoCard-DnWRF2MA.js} +4 -4
  34. package/components/{PlayerAccountGamingLimitsPage2Gm16-DROry-l8.js → PlayerAccountGamingLimitsPage2Gm16-B-RLJAxy.js} +2 -2
  35. package/components/{PlayerAccountGamingLimitsPage2Gm16-CPTiY5Gi.js → PlayerAccountGamingLimitsPage2Gm16-BIphnM6Y.js} +2 -2
  36. package/components/{PlayerAccountGamingLimitsPage2Gm16-Cax6QJLC.cjs → PlayerAccountGamingLimitsPage2Gm16-CNA7QruD.cjs} +2 -2
  37. package/components/{PlayerAccountGamingLimitsPopup-Bkweu2PX.js → PlayerAccountGamingLimitsPopup-BdBRIFfU.js} +1 -1
  38. package/components/{PlayerAccountGamingLimitsPopup-D89lxHJp.js → PlayerAccountGamingLimitsPopup-CSLlyssM.js} +1 -1
  39. package/components/{PlayerAccountGamingLimitsPopup-D8YDDkab.cjs → PlayerAccountGamingLimitsPopup-o3iv0A6x.cjs} +1 -1
  40. package/components/{PlayerAccountGamingLimitsWrapper2-BT8njqvW.js → PlayerAccountGamingLimitsWrapper2-05u-l372.js} +3 -3
  41. package/components/{PlayerAccountGamingLimitsWrapper2-BGsrIa9G.cjs → PlayerAccountGamingLimitsWrapper2-DcQHUkFT.cjs} +1 -1
  42. package/components/{PlayerAccountGamingLimitsWrapper2-kXLXzvuq.js → PlayerAccountGamingLimitsWrapper2-DwZwd-hy.js} +3 -3
  43. package/components/{PlayerAccountGeneralConfirmationModal-DD6-ZM6O.cjs → PlayerAccountGeneralConfirmationModal-BbGVvtLY.cjs} +1 -1
  44. package/components/{PlayerAccountGeneralConfirmationModal-D_pYKyRi.js → PlayerAccountGeneralConfirmationModal-CjKLQaHH.js} +22 -22
  45. package/components/{PlayerAccountGeneralConfirmationModal-CUnk1KbD.js → PlayerAccountGeneralConfirmationModal-Cst4rd-S.js} +20 -20
  46. package/components/{PlayerAccountMenu-B3wxhtKr.cjs → PlayerAccountMenu-C3slbiux.cjs} +1 -1
  47. package/components/{PlayerAccountMenu-DK810GKe.js → PlayerAccountMenu-CdjH1gEW.js} +2 -2
  48. package/components/{PlayerAccountMenu-C2qI1Gjj.js → PlayerAccountMenu-Cr_HRHLF.js} +2 -2
  49. package/components/{PlayerAccountModal-CgbTqk4Z.js → PlayerAccountModal-BRWjYAGu.js} +36 -36
  50. package/components/{PlayerAccountModal-LSGvdqwB.js → PlayerAccountModal-C6p2KI7k.js} +39 -39
  51. package/components/{PlayerAccountModal-BqZx6Q1_.cjs → PlayerAccountModal-u6LegtfR.cjs} +1 -1
  52. package/components/{PlayerAccountNotifications-BQ9xn1VL.js → PlayerAccountNotifications-C2A1_LCL.js} +1 -1
  53. package/components/{PlayerAccountNotifications-CNdLGJFQ.cjs → PlayerAccountNotifications-QFoWBKny.cjs} +1 -1
  54. package/components/{PlayerAccountNotifications-u-d--KIi.js → PlayerAccountNotifications-tWE-aFjO.js} +1 -1
  55. package/components/{PlayerAccountProductRestriction-DzSoX2xT.js → PlayerAccountProductRestriction-B0Ri7MHw.js} +3 -3
  56. package/components/{PlayerAccountProductRestriction-hNSYwwQJ.js → PlayerAccountProductRestriction-DkDbBfka.js} +3 -3
  57. package/components/{PlayerAccountProductRestriction-DBZ66u9m.cjs → PlayerAccountProductRestriction-HHHbDtlq.cjs} +1 -1
  58. package/components/{PlayerAccountReviewFrequency-B1ken94Z.js → PlayerAccountReviewFrequency-CV609scj.js} +1 -1
  59. package/components/{PlayerAccountReviewFrequency-BhTI5ygr.cjs → PlayerAccountReviewFrequency-D9TTXGcO.cjs} +1 -1
  60. package/components/{PlayerAccountReviewFrequency-BwxBa9uB.js → PlayerAccountReviewFrequency-DpI_eJta.js} +1 -1
  61. package/components/{PlayerAccountSelfExclusion-BcTJOKLt.js → PlayerAccountSelfExclusion-B0jQ5C6c.js} +2 -2
  62. package/components/{PlayerAccountSelfExclusion-BEiUYvo8.cjs → PlayerAccountSelfExclusion-B9-rTgYV.cjs} +1 -1
  63. package/components/{PlayerAccountSelfExclusion-BgretRDx.js → PlayerAccountSelfExclusion-DoGu-Fe9.js} +2 -2
  64. package/components/{PlayerAccountTimeout-BQNMtPRB.cjs → PlayerAccountTimeout-Bi1R5_Rb.cjs} +9 -9
  65. package/components/{PlayerAccountTimeout-Dc8BBO2V.js → PlayerAccountTimeout-CJccgvCT.js} +137 -137
  66. package/components/{PlayerAccountTimeout-vy__wvIh.js → PlayerAccountTimeout-ojIglJPR.js} +137 -137
  67. package/components/{PlayerAccountTransactionsHistory-dOFdBYm7.js → PlayerAccountTransactionsHistory-Coa29LAd.js} +925 -877
  68. package/components/PlayerAccountTransactionsHistory-DUwj5lNk.cjs +4 -0
  69. package/components/{PlayerAccountTransactionsHistory-Co83Xe7f.js → PlayerAccountTransactionsHistory-DjwLYkfj.js} +1003 -955
  70. package/components/PlayerActiveBonuses-B65W7Wz0.js +1253 -0
  71. package/components/PlayerActiveBonuses-BBeMkdSY.cjs +4 -0
  72. package/components/PlayerActiveBonuses-Bx0uoqz4.js +1254 -0
  73. package/components/{PlayerBonusCard-CC3I7Uun.js → PlayerBonusCard-CbkfDKjT.js} +2 -2
  74. package/components/{PlayerBonusCard-BPNrGywL.js → PlayerBonusCard-CqeLHQ0G.js} +2 -2
  75. package/components/{PlayerBonusCard-ju9yDt9H.cjs → PlayerBonusCard-TMDOHvnL.cjs} +1 -1
  76. package/components/{PlayerBonusHistory-B6tJiRPL.js → PlayerBonusHistory-7zvs9Ym9.js} +852 -831
  77. package/components/{PlayerBonusHistory-BEcvSevy.js → PlayerBonusHistory-DwI1OKTw.js} +853 -832
  78. package/components/{PlayerBonusHistory-DBQ6rFhB.cjs → PlayerBonusHistory-Mjrhaj6a.cjs} +130 -130
  79. package/components/{PlayerChangePassword-TqYGnJRR.cjs → PlayerChangePassword-BmC4EyoL.cjs} +1 -1
  80. package/components/{PlayerChangePassword-oyX7WtIB.js → PlayerChangePassword-BqjLItv0.js} +1 -1
  81. package/components/{PlayerChangePassword-1DgloKUI.js → PlayerChangePassword-CfFZhaXQ.js} +1 -1
  82. package/components/{PlayerDeposit-Ae3zKmKx.js → PlayerDeposit-Ba0qJRp2.js} +1 -1
  83. package/components/{PlayerDeposit-B6wgBKOs.js → PlayerDeposit-DP8bCOdN.js} +1 -1
  84. package/components/{PlayerDeposit-C5Q6t3-y.cjs → PlayerDeposit-o49phTHz.cjs} +1 -1
  85. package/components/{PlayerGamingHistory-C_lmfCru.js → PlayerGamingHistory-BgapmKYI.js} +41 -41
  86. package/components/{PlayerGamingHistory-B0n_kQiV.js → PlayerGamingHistory-DV6Slzt_.js} +42 -42
  87. package/components/{PlayerGamingHistory-DuE6DQ-m.cjs → PlayerGamingHistory-DvW-LsKl.cjs} +1 -1
  88. package/components/{PlayerPendingWithdrawals-BYWg7-_P.js → PlayerPendingWithdrawals-BZ62DYZ9.js} +1 -1
  89. package/components/{PlayerPendingWithdrawals-BqXkv2-Y.js → PlayerPendingWithdrawals-CedsWvDL.js} +1 -1
  90. package/components/{PlayerPendingWithdrawals-D0CqKeVG.cjs → PlayerPendingWithdrawals-HEjFhSrJ.cjs} +1 -1
  91. package/components/{PlayerProfileInfo-iRKwx8zy.js → PlayerProfileInfo-BDF3Bqtt.js} +1647 -1338
  92. package/components/{PlayerProfileInfo-DTNpqqu6.js → PlayerProfileInfo-DPDI61Mv.js} +1647 -1329
  93. package/components/PlayerProfileInfo-DXVRL3lh.cjs +4 -0
  94. package/components/{PlayerRealityCheck-DpLxecMn.js → PlayerRealityCheck-CLVunEKT.js} +22 -22
  95. package/components/{PlayerRealityCheck-q7yC_T2b.cjs → PlayerRealityCheck-CMZtzPkR.cjs} +1 -1
  96. package/components/{PlayerRealityCheck-BVugi2xm.js → PlayerRealityCheck-DgPTeJe_.js} +21 -21
  97. package/components/{PlayerTransactionHistory-DnU7U9r2.cjs → PlayerTransactionHistory-BEqLK737.cjs} +1 -1
  98. package/components/{PlayerTransactionHistory-DNgb0l0d.js → PlayerTransactionHistory-CHhOIZhh.js} +1 -1
  99. package/components/{PlayerTransactionHistory-BFLvQwa2.js → PlayerTransactionHistory-S0lzcu95.js} +1 -1
  100. package/components/{PlayerWithdrawal-DNO0w4Mf.js → PlayerWithdrawal-BqAC-Oq4.js} +1 -1
  101. package/components/{PlayerWithdrawal-BYEfF5HL.js → PlayerWithdrawal-C46pCXyV.js} +1 -1
  102. package/components/{PlayerWithdrawal-q2z7ub8O.cjs → PlayerWithdrawal-DKCRQ9pT.cjs} +1 -1
  103. package/components/QrSessionGenerator--jEOQTub.cjs +8 -0
  104. package/components/QrSessionGenerator-BkFSg0GV.js +1773 -0
  105. package/components/QrSessionGenerator-DgIh_dAl.js +1790 -0
  106. package/es2015/player-account-controller.cjs +1 -1
  107. package/es2015/player-account-controller.js +1 -1
  108. package/esnext/player-account-controller.js +1 -1
  109. package/package.json +1 -1
  110. package/stencil/{checkbox-group-input_16-DFnfVjZQ.js → checkbox-group-input_16-BClc1QAF.js} +2376 -2306
  111. package/stencil/{checkbox-group-input_16-BOlBVPuK.cjs → checkbox-group-input_16-BzGXxdU9.cjs} +249 -249
  112. package/stencil/{checkbox-group-input_16-CqrjL3Bm.js → checkbox-group-input_16-_13Kv9Zi.js} +2374 -2304
  113. package/stencil/{index-c666b6e6-CUrOCQZ4.cjs → index-7469517b-8Vfz7n3C.cjs} +1 -1
  114. package/stencil/{index-c666b6e6-D2XV3pxn.js → index-7469517b-Bmgiy_n-.js} +31 -31
  115. package/stencil/{index-c666b6e6-CKyPRY9v.js → index-7469517b-ulg1Qmdy.js} +32 -32
  116. package/stencil/{index-9c0f6c58-DEdG7mVW.js → index-9c0f6c58-CK57ve5P.js} +1 -1
  117. package/stencil/{index-9c0f6c58-Bd8abek0.cjs → index-9c0f6c58-DnbhPPTI.cjs} +1 -1
  118. package/stencil/{index-9c0f6c58-LdtWdXWH.js → index-9c0f6c58-P8h0R10S.js} +1 -1
  119. package/stencil/{pam-change-password-20667ec7-DxeS48v8.js → pam-change-password-259289fa-7sJvUi0P.js} +119 -76
  120. package/stencil/{pam-change-password-20667ec7-gdoPQSVy.cjs → pam-change-password-259289fa-CR3dv02q.cjs} +36 -2
  121. package/stencil/{pam-change-password-20667ec7-CdjcMbLl.js → pam-change-password-259289fa-DvjX931m.js} +119 -76
  122. package/stencil/pam-change-password-BiAsiO8l.js +25 -0
  123. package/stencil/pam-change-password-Dil_uhA4.js +7 -0
  124. package/stencil/pam-change-password-DnCN0UHR.cjs +1 -0
  125. package/stencil/{player-kyc-verification-BVyIvjQs.js → player-kyc-verification-C2xE1hLK.js} +126 -96
  126. package/stencil/player-kyc-verification-Cb647IzH.cjs +181 -0
  127. package/stencil/{player-kyc-verification-DaKmgzNJ.js → player-kyc-verification-mnYQMtSn.js} +135 -105
  128. package/components/PlayerAccountController-Cfjy33Ek.cjs +0 -21
  129. package/components/PlayerAccountTransactionsHistory-DmXGYQDM.cjs +0 -4
  130. package/components/PlayerActiveBonuses-CWQdnuVo.js +0 -1215
  131. package/components/PlayerActiveBonuses-Dp5ZJgik.cjs +0 -4
  132. package/components/PlayerActiveBonuses-v2Qt6nA5.js +0 -1214
  133. package/components/PlayerProfileInfo-C-J7FN_C.cjs +0 -4
  134. package/stencil/pam-change-password-B3-5i5W3.js +0 -25
  135. package/stencil/pam-change-password-Btjglzia.js +0 -7
  136. package/stencil/pam-change-password-DlEAZlEY.cjs +0 -1
  137. package/stencil/player-kyc-verification-Bq0WwkeW.cjs +0 -181
@@ -0,0 +1,1253 @@
1
+ import { a as Re, $ as Ne, S as je, i as qe, s as De, f as D, b as Oe, n as oe, d as N, w as se, u as Z, K as ue, e as j, p as m, x as G, g as W, q as L, v as R, t as v, h as Ge, j as Ue, o as Ve, y as Q, k as Xe, L as te, l as ee, m as _e, r as s, B as He, C as Je, D as Ye, c as Ke, A as Ze } from "./PlayerAccountController-DG3KbTWa.js";
2
+ function de(n, e) {
3
+ Re(n, e);
4
+ }
5
+ function Qe(n) {
6
+ Ne.set(n);
7
+ }
8
+ const ce = {
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
+ bonusClaimSuccessMessage: "Bonus claimed!",
19
+ bonusClaimErrorMessage: "Invalid bonus"
20
+ },
21
+ "zh-hk": {
22
+ titleBonuses: "活躍獎金",
23
+ bonusCode: "你有獎金代碼嗎?",
24
+ getBonus: "獲得獎金",
25
+ invalidBonusCode: "提供的紅利代碼無效。",
26
+ noActiveBonuses: "您目前沒有有效的獎金。",
27
+ forfeitBonus: "您確定要放棄獎金及其獎金嗎?",
28
+ forfeitBonusConfirm: "確認",
29
+ forfeitBonusCancel: "取消",
30
+ bonusClaimSuccessMessage: "獎金要求!",
31
+ bonusClaimErrorMessage: "無效獎金"
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
+ bonusClaimSuccessMessage: "Bonus réclamé!",
43
+ bonusClaimErrorMessage: "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
+ bonusClaimSuccessMessage: "Bonus revendicat!",
55
+ bonusClaimErrorMessage: "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
+ bonusClaimSuccessMessage: "Bono adjudicado!",
67
+ bonusClaimErrorMessage: "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
+ bonusClaimSuccessMessage: "Bônus reivindicado!",
79
+ bonusClaimErrorMessage: "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
+ bonusClaimSuccessMessage: "Preuzet bonus!",
91
+ bonusClaimErrorMessage: "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
+ bonusClaimSuccessMessage: "Bônus ativado",
103
+ bonusClaimErrorMessage: "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
+ bonusClaimSuccessMessage: "Bono activado",
115
+ bonusClaimErrorMessage: "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
+ bonusClaimSuccessMessage: "Bonus talep edildi!",
127
+ bonusClaimErrorMessage: "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
+ bonusClaimSuccessMessage: "Bonus claimed!",
139
+ bonusClaimErrorMessage: "Invalid bonus"
140
+ }
141
+ };
142
+ if (typeof window < "u") {
143
+ let n = function(e) {
144
+ return function(...o) {
145
+ try {
146
+ return e.apply(this, o);
147
+ } catch (i) {
148
+ if (i instanceof DOMException && i.message.includes("has already been used with this registry") || i.message.includes("Cannot define multiple custom elements with the same tag name"))
149
+ return !1;
150
+ throw i;
151
+ }
152
+ };
153
+ };
154
+ customElements.define = n(customElements.define), import("./PlayerBonusCard-CbkfDKjT.js").then(({ default: e }) => {
155
+ !customElements.get("player-bonus-card") && customElements.define("player-bonus-card", e.element);
156
+ });
157
+ }
158
+ function xe(n) {
159
+ Oe(n, "svelte-154bfm9", '.ActiveBonusesWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:850px}.ActiveBonusesWrapper.ActiveBonusesWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.ActiveBonusesTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.ActiveBonusesTitleMobile{font-size:16px}.ActiveBonusesTitleNone{display:none}.BonusCodeContainer{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative;width:70%}.BonusCodeContainer label{font-size:16px;font-weight:300;padding-bottom:5px}.BonusCodeContainer.BonusCodeContainerMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper{display:flex;gap:10px}.BonusCodeContainer .BonusCodeWrapper.BonusCodeWrapperMobile{flex-direction:column}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput{width:70%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput:focus{outline-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput.BonusCodeInputMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode[disabled]{opacity:0.3;cursor:not-allowed}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:hover{filter:brightness(0.9)}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode.SubmitBonusCodeMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer.InvalidField input{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background:var(--emw--color-primary-50, var(--emw--color-pink-50, #F1BED9));color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer .InvalidBonusCodeMessage{color:var(--emw--color-error, var(--emw--color-red, #FD2839))}.BonusCodeWrapper{display:flex;gap:20px}.SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.SubmitBonusCode[disabled]{opacity:0.3}.SubmitBonusCode:hover{filter:brightness(0.9)}.SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.ActiveBonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.ActiveBonusesGrid.ActiveBonusesGridMobile{grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300}.ModalWrapper .ModalContent{background-color:var(--emw--color-white, #FFFFFF);position:relative;padding:30px;border-top:5px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px}.ModalWrapper .ModalBody{background-color:var(--emw--color-gray-50, #F9F8F8);padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:22px;margin-bottom:40px}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-300, #58586B);cursor:pointer;border-radius:5px;width:200px;height:50px;font-size:16px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:16px}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:14px}.BonusesPaginationWrapper{margin:40px 0;display:block;line-break:anywhere;line-height:2em}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast,.BonusesPaginationWrapper .BonusesPage{all:unset;box-sizing:border-box;cursor:pointer}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:16px;cursor:pointer;padding:5px 10px;font-weight:700}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:var(--emw--color-gray-100, #E6E6E6);cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:var(--emw--color-gray-300, #58586B);font-size:16px;cursor:pointer;padding:5px 10px;white-space:nowrap}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emw--color-white, #FFFFFF);font-weight:700;cursor:default}.ModalLoader{width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
160
+ }
161
+ function pe(n, e, o) {
162
+ const i = n.slice();
163
+ return i[53] = e[o], i[55] = o, i;
164
+ }
165
+ function me(n, e, o) {
166
+ const i = n.slice();
167
+ return i[56] = e[o], i;
168
+ }
169
+ function $e(n) {
170
+ let e, o, i, t, r, a, c, u, g, y, M = (
171
+ /*$_*/
172
+ n[20]("titleBonuses") + ""
173
+ ), A, _, h;
174
+ return {
175
+ c() {
176
+ e = W("div"), o = Q("svg"), i = Q("defs"), t = Q("style"), r = R(`.aaa {
177
+ fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
178
+ }
179
+ `), a = Q("g"), c = Q("g"), u = Q("path"), g = L(), y = W("h2"), A = R(M), v(u, "class", "aaa"), v(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), v(u, "transform", "translate(15 15) rotate(180)"), v(c, "transform", "translate(20 158)"), v(a, "transform", "translate(-20 -158)"), v(o, "xmlns", "http://www.w3.org/2000/svg"), v(o, "width", "15"), v(o, "height", "15"), v(o, "viewBox", "0 0 15 15"), v(y, "class", "ActiveBonusesTitleMobile"), v(e, "class", "MenuReturnButton");
180
+ },
181
+ m(C, p) {
182
+ j(C, e, p), m(e, o), m(o, i), m(i, t), m(t, r), m(o, a), m(a, c), m(c, u), m(e, g), m(e, y), m(y, A), _ || (h = G(
183
+ e,
184
+ "click",
185
+ /*click_handler*/
186
+ n[35]
187
+ ), _ = !0);
188
+ },
189
+ p(C, p) {
190
+ p[0] & /*$_*/
191
+ 1048576 && M !== (M = /*$_*/
192
+ C[20]("titleBonuses") + "") && Z(A, M);
193
+ },
194
+ d(C) {
195
+ C && N(e), _ = !1, h();
196
+ }
197
+ };
198
+ }
199
+ function fe(n) {
200
+ let e, o = (
201
+ /*$_*/
202
+ n[20]("invalidBonusCode") + ""
203
+ ), i;
204
+ return {
205
+ c() {
206
+ e = W("p"), i = R(o), v(e, "class", "InvalidBonusCodeMessage");
207
+ },
208
+ m(t, r) {
209
+ j(t, e, r), m(e, i);
210
+ },
211
+ p(t, r) {
212
+ r[0] & /*$_*/
213
+ 1048576 && o !== (o = /*$_*/
214
+ t[20]("invalidBonusCode") + "") && Z(i, o);
215
+ },
216
+ d(t) {
217
+ t && N(e);
218
+ }
219
+ };
220
+ }
221
+ function en(n) {
222
+ let e, o, i;
223
+ function t(u, g) {
224
+ return (
225
+ /*activeBonusesList*/
226
+ u[18].length === 0 ? sn : on
227
+ );
228
+ }
229
+ let r = t(n), a = r(n), c = (
230
+ /*activeBonusesList*/
231
+ n[18].length !== 0 && ge(n)
232
+ );
233
+ return {
234
+ c() {
235
+ e = W("div"), a.c(), o = L(), c && c.c(), i = te(), v(e, "class", "ActiveBonusesGrid " + /*isMobile*/
236
+ (n[21] ? "ActiveBonusesGridMobile" : ""));
237
+ },
238
+ m(u, g) {
239
+ j(u, e, g), a.m(e, null), j(u, o, g), c && c.m(u, g), j(u, i, g);
240
+ },
241
+ p(u, g) {
242
+ r === (r = t(u)) && a ? a.p(u, g) : (a.d(1), a = r(u), a && (a.c(), a.m(e, null))), /*activeBonusesList*/
243
+ u[18].length !== 0 ? c ? c.p(u, g) : (c = ge(u), c.c(), c.m(i.parentNode, i)) : c && (c.d(1), c = null);
244
+ },
245
+ d(u) {
246
+ u && (N(e), N(o), N(i)), a.d(), c && c.d(u);
247
+ }
248
+ };
249
+ }
250
+ function nn(n) {
251
+ let e;
252
+ return {
253
+ c() {
254
+ e = W("div"), v(e, "class", "ModalLoader"), v(e, "part", "ModalLoader");
255
+ },
256
+ m(o, i) {
257
+ j(o, e, i);
258
+ },
259
+ p: oe,
260
+ d(o) {
261
+ o && N(e);
262
+ }
263
+ };
264
+ }
265
+ function on(n) {
266
+ let e, o = ee(
267
+ /*activeBonusesList*/
268
+ n[18]
269
+ ), i = [];
270
+ for (let t = 0; t < o.length; t += 1)
271
+ i[t] = be(me(n, o, t));
272
+ return {
273
+ c() {
274
+ for (let t = 0; t < i.length; t += 1)
275
+ i[t].c();
276
+ e = te();
277
+ },
278
+ m(t, r) {
279
+ for (let a = 0; a < i.length; a += 1)
280
+ i[a] && i[a].m(t, r);
281
+ j(t, e, r);
282
+ },
283
+ p(t, r) {
284
+ if (r[0] & /*activeBonusesList, lang, dateformat, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale, ishiddenwageringbonus*/
285
+ 262399) {
286
+ o = ee(
287
+ /*activeBonusesList*/
288
+ t[18]
289
+ );
290
+ let a;
291
+ for (a = 0; a < o.length; a += 1) {
292
+ const c = me(t, o, a);
293
+ i[a] ? i[a].p(c, r) : (i[a] = be(c), i[a].c(), i[a].m(e.parentNode, e));
294
+ }
295
+ for (; a < i.length; a += 1)
296
+ i[a].d(1);
297
+ i.length = o.length;
298
+ }
299
+ },
300
+ d(t) {
301
+ t && N(e), _e(i, t);
302
+ }
303
+ };
304
+ }
305
+ function sn(n) {
306
+ let e, o = (
307
+ /*$_*/
308
+ n[20]("noActiveBonuses") + ""
309
+ ), i;
310
+ return {
311
+ c() {
312
+ e = W("p"), i = R(o);
313
+ },
314
+ m(t, r) {
315
+ j(t, e, r), m(e, i);
316
+ },
317
+ p(t, r) {
318
+ r[0] & /*$_*/
319
+ 1048576 && o !== (o = /*$_*/
320
+ t[20]("noActiveBonuses") + "") && Z(i, o);
321
+ },
322
+ d(t) {
323
+ t && N(e);
324
+ }
325
+ };
326
+ }
327
+ function tn(n) {
328
+ let e, o, i, t, r, a, c, u, g, y, M, A, _, h, C, p, b;
329
+ return {
330
+ c() {
331
+ e = W("player-bonus-card"), s(e, "termsandconditionsdescription", o = /*activeBonus*/
332
+ n[56].termsandconditionsdescription), s(e, "termsandconditionsurl", i = /*activeBonus*/
333
+ n[56].termsandconditionsurl), s(e, "termsandconditionsasset", t = /*activeBonus*/
334
+ n[56].termsandconditionsasset), s(e, "endpoint", r = /*activeBonus*/
335
+ n[56].endpoint), s(e, "playerid", a = /*activeBonus*/
336
+ n[56].playerid), s(e, "session", c = /*activeBonus*/
337
+ n[56].session), s(e, "bonuswalletid", u = /*activeBonus*/
338
+ n[56].walletId), s(e, "bonusdate", g = /*activeBonus*/
339
+ n[56].granted), s(e, "bonusexpirationdate", y = /*activeBonus*/
340
+ n[56].expiryTime), s(e, "bonusstatus", M = /*activeBonus*/
341
+ n[56].status), s(e, "bonusname", A = /*activeBonus*/
342
+ n[56].name), s(e, "bonustype", _ = /*activeBonus*/
343
+ n[56].type), s(e, "bonusamount", h = /*activeBonus*/
344
+ n[56].extension.grantedPlayerCurrencyAmount), s(e, "bonuswageringamount", C = `${/*activeBonus*/
345
+ n[56].fulfilledWR} / ${/*activeBonus*/
346
+ n[56].originalWageringRequirement}`), s(e, "bonusremainingamount", p = /*activeBonus*/
347
+ n[56].currentAmount), s(e, "bonuscurrency", b = /*activeBonus*/
348
+ n[56].currency), s(
349
+ e,
350
+ "lang",
351
+ /*lang*/
352
+ n[0]
353
+ ), s(
354
+ e,
355
+ "dateformat",
356
+ /*dateformat*/
357
+ n[6]
358
+ ), s(
359
+ e,
360
+ "clientstyling",
361
+ /*clientstyling*/
362
+ n[1]
363
+ ), s(
364
+ e,
365
+ "clientstylingurl",
366
+ /*clientstylingurl*/
367
+ n[2]
368
+ ), s(
369
+ e,
370
+ "mbsource",
371
+ /*mbsource*/
372
+ n[3]
373
+ ), s(
374
+ e,
375
+ "translationurl",
376
+ /*translationurl*/
377
+ n[4]
378
+ ), s(
379
+ e,
380
+ "currencylocale",
381
+ /*currencylocale*/
382
+ n[5]
383
+ ), s(
384
+ e,
385
+ "ishiddenwageringbonus",
386
+ /*ishiddenwageringbonus*/
387
+ n[7]
388
+ );
389
+ },
390
+ m(d, f) {
391
+ j(d, e, f);
392
+ },
393
+ p(d, f) {
394
+ f[0] & /*activeBonusesList*/
395
+ 262144 && o !== (o = /*activeBonus*/
396
+ d[56].termsandconditionsdescription) && s(e, "termsandconditionsdescription", o), f[0] & /*activeBonusesList*/
397
+ 262144 && i !== (i = /*activeBonus*/
398
+ d[56].termsandconditionsurl) && s(e, "termsandconditionsurl", i), f[0] & /*activeBonusesList*/
399
+ 262144 && t !== (t = /*activeBonus*/
400
+ d[56].termsandconditionsasset) && s(e, "termsandconditionsasset", t), f[0] & /*activeBonusesList*/
401
+ 262144 && r !== (r = /*activeBonus*/
402
+ d[56].endpoint) && s(e, "endpoint", r), f[0] & /*activeBonusesList*/
403
+ 262144 && a !== (a = /*activeBonus*/
404
+ d[56].playerid) && s(e, "playerid", a), f[0] & /*activeBonusesList*/
405
+ 262144 && c !== (c = /*activeBonus*/
406
+ d[56].session) && s(e, "session", c), f[0] & /*activeBonusesList*/
407
+ 262144 && u !== (u = /*activeBonus*/
408
+ d[56].walletId) && s(e, "bonuswalletid", u), f[0] & /*activeBonusesList*/
409
+ 262144 && g !== (g = /*activeBonus*/
410
+ d[56].granted) && s(e, "bonusdate", g), f[0] & /*activeBonusesList*/
411
+ 262144 && y !== (y = /*activeBonus*/
412
+ d[56].expiryTime) && s(e, "bonusexpirationdate", y), f[0] & /*activeBonusesList*/
413
+ 262144 && M !== (M = /*activeBonus*/
414
+ d[56].status) && s(e, "bonusstatus", M), f[0] & /*activeBonusesList*/
415
+ 262144 && A !== (A = /*activeBonus*/
416
+ d[56].name) && s(e, "bonusname", A), f[0] & /*activeBonusesList*/
417
+ 262144 && _ !== (_ = /*activeBonus*/
418
+ d[56].type) && s(e, "bonustype", _), f[0] & /*activeBonusesList*/
419
+ 262144 && h !== (h = /*activeBonus*/
420
+ d[56].extension.grantedPlayerCurrencyAmount) && s(e, "bonusamount", h), f[0] & /*activeBonusesList*/
421
+ 262144 && C !== (C = `${/*activeBonus*/
422
+ d[56].fulfilledWR} / ${/*activeBonus*/
423
+ d[56].originalWageringRequirement}`) && s(e, "bonuswageringamount", C), f[0] & /*activeBonusesList*/
424
+ 262144 && p !== (p = /*activeBonus*/
425
+ d[56].currentAmount) && s(e, "bonusremainingamount", p), f[0] & /*activeBonusesList*/
426
+ 262144 && b !== (b = /*activeBonus*/
427
+ d[56].currency) && s(e, "bonuscurrency", b), f[0] & /*lang*/
428
+ 1 && s(
429
+ e,
430
+ "lang",
431
+ /*lang*/
432
+ d[0]
433
+ ), f[0] & /*dateformat*/
434
+ 64 && s(
435
+ e,
436
+ "dateformat",
437
+ /*dateformat*/
438
+ d[6]
439
+ ), f[0] & /*clientstyling*/
440
+ 2 && s(
441
+ e,
442
+ "clientstyling",
443
+ /*clientstyling*/
444
+ d[1]
445
+ ), f[0] & /*clientstylingurl*/
446
+ 4 && s(
447
+ e,
448
+ "clientstylingurl",
449
+ /*clientstylingurl*/
450
+ d[2]
451
+ ), f[0] & /*mbsource*/
452
+ 8 && s(
453
+ e,
454
+ "mbsource",
455
+ /*mbsource*/
456
+ d[3]
457
+ ), f[0] & /*translationurl*/
458
+ 16 && s(
459
+ e,
460
+ "translationurl",
461
+ /*translationurl*/
462
+ d[4]
463
+ ), f[0] & /*currencylocale*/
464
+ 32 && s(
465
+ e,
466
+ "currencylocale",
467
+ /*currencylocale*/
468
+ d[5]
469
+ ), f[0] & /*ishiddenwageringbonus*/
470
+ 128 && s(
471
+ e,
472
+ "ishiddenwageringbonus",
473
+ /*ishiddenwageringbonus*/
474
+ d[7]
475
+ );
476
+ },
477
+ d(d) {
478
+ d && N(e);
479
+ }
480
+ };
481
+ }
482
+ function an(n) {
483
+ let e, o, i, t, r, a, c, u, g, y, M, A, _, h, C;
484
+ return {
485
+ c() {
486
+ e = W("player-bonus-card"), s(e, "termsandconditionsdescription", o = /*activeBonus*/
487
+ n[56].termsandconditionsdescription), s(e, "termsandconditionsurl", i = /*activeBonus*/
488
+ n[56].termsandconditionsurl), s(e, "termsandconditionsasset", t = /*activeBonus*/
489
+ n[56].termsandconditionsasset), s(e, "endpoint", r = /*activeBonus*/
490
+ n[56].endpoint), s(e, "playerid", a = /*activeBonus*/
491
+ n[56].playerid), s(e, "session", c = /*activeBonus*/
492
+ n[56].session), s(e, "bonuswalletid", u = /*activeBonus*/
493
+ n[56].walletId), s(e, "bonusdate", g = /*activeBonus*/
494
+ n[56].granted), s(e, "bonusexpirationdate", y = /*activeBonus*/
495
+ n[56].expiryTime), s(e, "bonusstatus", M = /*activeBonus*/
496
+ n[56].status), s(e, "bonusname", A = /*activeBonus*/
497
+ n[56].name), s(e, "bonustype", _ = /*activeBonus*/
498
+ n[56].type), s(e, "bonuscurrency", h = /*activeBonus*/
499
+ n[56].currency), s(e, "bonusfreespins", C = /*activeBonus*/
500
+ n[56].freeRoundNumber), s(
501
+ e,
502
+ "lang",
503
+ /*lang*/
504
+ n[0]
505
+ ), s(
506
+ e,
507
+ "dateformat",
508
+ /*dateformat*/
509
+ n[6]
510
+ ), s(
511
+ e,
512
+ "clientstyling",
513
+ /*clientstyling*/
514
+ n[1]
515
+ ), s(
516
+ e,
517
+ "clientstylingurl",
518
+ /*clientstylingurl*/
519
+ n[2]
520
+ ), s(
521
+ e,
522
+ "mbsource",
523
+ /*mbsource*/
524
+ n[3]
525
+ ), s(
526
+ e,
527
+ "translationurl",
528
+ /*translationurl*/
529
+ n[4]
530
+ ), s(
531
+ e,
532
+ "currencylocale",
533
+ /*currencylocale*/
534
+ n[5]
535
+ ), s(
536
+ e,
537
+ "ishiddenwageringbonus",
538
+ /*ishiddenwageringbonus*/
539
+ n[7]
540
+ );
541
+ },
542
+ m(p, b) {
543
+ j(p, e, b);
544
+ },
545
+ p(p, b) {
546
+ b[0] & /*activeBonusesList*/
547
+ 262144 && o !== (o = /*activeBonus*/
548
+ p[56].termsandconditionsdescription) && s(e, "termsandconditionsdescription", o), b[0] & /*activeBonusesList*/
549
+ 262144 && i !== (i = /*activeBonus*/
550
+ p[56].termsandconditionsurl) && s(e, "termsandconditionsurl", i), b[0] & /*activeBonusesList*/
551
+ 262144 && t !== (t = /*activeBonus*/
552
+ p[56].termsandconditionsasset) && s(e, "termsandconditionsasset", t), b[0] & /*activeBonusesList*/
553
+ 262144 && r !== (r = /*activeBonus*/
554
+ p[56].endpoint) && s(e, "endpoint", r), b[0] & /*activeBonusesList*/
555
+ 262144 && a !== (a = /*activeBonus*/
556
+ p[56].playerid) && s(e, "playerid", a), b[0] & /*activeBonusesList*/
557
+ 262144 && c !== (c = /*activeBonus*/
558
+ p[56].session) && s(e, "session", c), b[0] & /*activeBonusesList*/
559
+ 262144 && u !== (u = /*activeBonus*/
560
+ p[56].walletId) && s(e, "bonuswalletid", u), b[0] & /*activeBonusesList*/
561
+ 262144 && g !== (g = /*activeBonus*/
562
+ p[56].granted) && s(e, "bonusdate", g), b[0] & /*activeBonusesList*/
563
+ 262144 && y !== (y = /*activeBonus*/
564
+ p[56].expiryTime) && s(e, "bonusexpirationdate", y), b[0] & /*activeBonusesList*/
565
+ 262144 && M !== (M = /*activeBonus*/
566
+ p[56].status) && s(e, "bonusstatus", M), b[0] & /*activeBonusesList*/
567
+ 262144 && A !== (A = /*activeBonus*/
568
+ p[56].name) && s(e, "bonusname", A), b[0] & /*activeBonusesList*/
569
+ 262144 && _ !== (_ = /*activeBonus*/
570
+ p[56].type) && s(e, "bonustype", _), b[0] & /*activeBonusesList*/
571
+ 262144 && h !== (h = /*activeBonus*/
572
+ p[56].currency) && s(e, "bonuscurrency", h), b[0] & /*activeBonusesList*/
573
+ 262144 && C !== (C = /*activeBonus*/
574
+ p[56].freeRoundNumber) && s(e, "bonusfreespins", C), b[0] & /*lang*/
575
+ 1 && s(
576
+ e,
577
+ "lang",
578
+ /*lang*/
579
+ p[0]
580
+ ), b[0] & /*dateformat*/
581
+ 64 && s(
582
+ e,
583
+ "dateformat",
584
+ /*dateformat*/
585
+ p[6]
586
+ ), b[0] & /*clientstyling*/
587
+ 2 && s(
588
+ e,
589
+ "clientstyling",
590
+ /*clientstyling*/
591
+ p[1]
592
+ ), b[0] & /*clientstylingurl*/
593
+ 4 && s(
594
+ e,
595
+ "clientstylingurl",
596
+ /*clientstylingurl*/
597
+ p[2]
598
+ ), b[0] & /*mbsource*/
599
+ 8 && s(
600
+ e,
601
+ "mbsource",
602
+ /*mbsource*/
603
+ p[3]
604
+ ), b[0] & /*translationurl*/
605
+ 16 && s(
606
+ e,
607
+ "translationurl",
608
+ /*translationurl*/
609
+ p[4]
610
+ ), b[0] & /*currencylocale*/
611
+ 32 && s(
612
+ e,
613
+ "currencylocale",
614
+ /*currencylocale*/
615
+ p[5]
616
+ ), b[0] & /*ishiddenwageringbonus*/
617
+ 128 && s(
618
+ e,
619
+ "ishiddenwageringbonus",
620
+ /*ishiddenwageringbonus*/
621
+ p[7]
622
+ );
623
+ },
624
+ d(p) {
625
+ p && N(e);
626
+ }
627
+ };
628
+ }
629
+ function be(n) {
630
+ let e;
631
+ function o(r, a) {
632
+ return (
633
+ /*activeBonus*/
634
+ r[56].type === "freeRound" ? an : tn
635
+ );
636
+ }
637
+ let i = o(n), t = i(n);
638
+ return {
639
+ c() {
640
+ t.c(), e = te();
641
+ },
642
+ m(r, a) {
643
+ t.m(r, a), j(r, e, a);
644
+ },
645
+ p(r, a) {
646
+ i === (i = o(r)) && t ? t.p(r, a) : (t.d(1), t = i(r), t && (t.c(), t.m(e.parentNode, e)));
647
+ },
648
+ d(r) {
649
+ r && N(e), t.d(r);
650
+ }
651
+ };
652
+ }
653
+ function ge(n) {
654
+ let e, o, i, t, r, a, c, u, g, y, M, A, _, h, C, p, b, d, f, X, H, J, U, q = ee(Array(
655
+ /*numberOfPages*/
656
+ n[16]
657
+ )), w = [];
658
+ for (let B = 0; B < q.length; B += 1)
659
+ w[B] = Be(pe(n, q, B));
660
+ return {
661
+ c() {
662
+ e = W("div"), o = W("button"), i = R("|<"), a = L(), c = W("button"), u = R("<"), M = L();
663
+ for (let B = 0; B < w.length; B += 1)
664
+ w[B].c();
665
+ A = L(), _ = W("button"), h = R(">"), b = L(), d = W("button"), f = R(">|"), o.disabled = t = /*currentPage*/
666
+ n[17] === 0, v(o, "class", r = "BonusesFirst " + /*currentPage*/
667
+ (n[17] === 0 ? "Inactive" : "")), c.disabled = g = /*currentPage*/
668
+ n[17] === 0, v(c, "class", y = "BonusesPrev " + /*currentPage*/
669
+ (n[17] === 0 ? "Inactive" : "")), _.disabled = C = /*currentPage*/
670
+ n[17] === /*numberOfPages*/
671
+ n[16] - 1, v(_, "class", p = "BonusesNext " + /*currentPage*/
672
+ (n[17] === /*numberOfPages*/
673
+ n[16] - 1 ? "Inactive" : "")), d.disabled = X = /*currentPage*/
674
+ n[17] === /*numberOfPages*/
675
+ n[16] - 1, v(d, "class", H = "BonusesLast " + /*currentPage*/
676
+ (n[17] === /*numberOfPages*/
677
+ n[16] - 1 ? "Inactive" : "")), v(e, "class", "BonusesPaginationWrapper " + /*isMobile*/
678
+ (n[21] ? "BonusesPaginationWrapperMobile" : ""));
679
+ },
680
+ m(B, F) {
681
+ j(B, e, F), m(e, o), m(o, i), m(e, a), m(e, c), m(c, u), m(e, M);
682
+ for (let P = 0; P < w.length; P += 1)
683
+ w[P] && w[P].m(e, null);
684
+ m(e, A), m(e, _), m(_, h), m(e, b), m(e, d), m(d, f), J || (U = [
685
+ G(
686
+ o,
687
+ "click",
688
+ /*click_handler_1*/
689
+ n[37]
690
+ ),
691
+ G(
692
+ c,
693
+ "click",
694
+ /*click_handler_2*/
695
+ n[38]
696
+ ),
697
+ G(
698
+ _,
699
+ "click",
700
+ /*click_handler_4*/
701
+ n[40]
702
+ ),
703
+ G(
704
+ d,
705
+ "click",
706
+ /*click_handler_5*/
707
+ n[41]
708
+ )
709
+ ], J = !0);
710
+ },
711
+ p(B, F) {
712
+ if (F[0] & /*currentPage*/
713
+ 131072 && t !== (t = /*currentPage*/
714
+ B[17] === 0) && (o.disabled = t), F[0] & /*currentPage*/
715
+ 131072 && r !== (r = "BonusesFirst " + /*currentPage*/
716
+ (B[17] === 0 ? "Inactive" : "")) && v(o, "class", r), F[0] & /*currentPage*/
717
+ 131072 && g !== (g = /*currentPage*/
718
+ B[17] === 0) && (c.disabled = g), F[0] & /*currentPage*/
719
+ 131072 && y !== (y = "BonusesPrev " + /*currentPage*/
720
+ (B[17] === 0 ? "Inactive" : "")) && v(c, "class", y), F[0] & /*currentPage, getActiveBonuses, numberOfPages*/
721
+ 16973824) {
722
+ q = ee(Array(
723
+ /*numberOfPages*/
724
+ B[16]
725
+ ));
726
+ let P;
727
+ for (P = 0; P < q.length; P += 1) {
728
+ const I = pe(B, q, P);
729
+ w[P] ? w[P].p(I, F) : (w[P] = Be(I), w[P].c(), w[P].m(e, A));
730
+ }
731
+ for (; P < w.length; P += 1)
732
+ w[P].d(1);
733
+ w.length = q.length;
734
+ }
735
+ F[0] & /*currentPage, numberOfPages*/
736
+ 196608 && C !== (C = /*currentPage*/
737
+ B[17] === /*numberOfPages*/
738
+ B[16] - 1) && (_.disabled = C), F[0] & /*currentPage, numberOfPages*/
739
+ 196608 && p !== (p = "BonusesNext " + /*currentPage*/
740
+ (B[17] === /*numberOfPages*/
741
+ B[16] - 1 ? "Inactive" : "")) && v(_, "class", p), F[0] & /*currentPage, numberOfPages*/
742
+ 196608 && X !== (X = /*currentPage*/
743
+ B[17] === /*numberOfPages*/
744
+ B[16] - 1) && (d.disabled = X), F[0] & /*currentPage, numberOfPages*/
745
+ 196608 && H !== (H = "BonusesLast " + /*currentPage*/
746
+ (B[17] === /*numberOfPages*/
747
+ B[16] - 1 ? "Inactive" : "")) && v(d, "class", H);
748
+ },
749
+ d(B) {
750
+ B && N(e), _e(w, B), J = !1, se(U);
751
+ }
752
+ };
753
+ }
754
+ function Be(n) {
755
+ let e, o = (
756
+ /*i*/
757
+ n[55] + 1 + ""
758
+ ), i, t, r, a, c;
759
+ function u() {
760
+ return (
761
+ /*click_handler_3*/
762
+ n[39](
763
+ /*i*/
764
+ n[55]
765
+ )
766
+ );
767
+ }
768
+ return {
769
+ c() {
770
+ e = W("button"), i = R(o), e.disabled = t = /*i*/
771
+ n[55] === /*currentPage*/
772
+ n[17], v(e, "class", r = "BonusesPage " + /*i*/
773
+ (n[55] === /*currentPage*/
774
+ n[17] ? "BonusPageActive" : ""));
775
+ },
776
+ m(g, y) {
777
+ j(g, e, y), m(e, i), a || (c = G(e, "click", u), a = !0);
778
+ },
779
+ p(g, y) {
780
+ n = g, y[0] & /*currentPage*/
781
+ 131072 && t !== (t = /*i*/
782
+ n[55] === /*currentPage*/
783
+ n[17]) && (e.disabled = t), y[0] & /*currentPage*/
784
+ 131072 && r !== (r = "BonusesPage " + /*i*/
785
+ (n[55] === /*currentPage*/
786
+ n[17] ? "BonusPageActive" : "")) && v(e, "class", r);
787
+ },
788
+ d(g) {
789
+ g && N(e), a = !1, c();
790
+ }
791
+ };
792
+ }
793
+ function ve(n) {
794
+ let e, o, i, t, r = (
795
+ /*$_*/
796
+ n[20]("forfeitBonus") + ""
797
+ ), a, c, u, g, y = (
798
+ /*$_*/
799
+ n[20]("forfeitBonusCancel") + ""
800
+ ), M, A, _, h = (
801
+ /*$_*/
802
+ n[20]("forfeitBonusConfirm") + ""
803
+ ), C, p, b;
804
+ return {
805
+ c() {
806
+ e = W("div"), o = W("div"), i = W("div"), t = W("p"), a = R(r), c = L(), u = W("div"), g = W("button"), M = R(y), A = L(), _ = W("button"), C = R(h), v(t, "class", "ModalText"), v(g, "class", "ModalCancel"), v(_, "class", "ModalConfirm"), v(u, "class", "ModalButtons"), v(i, "class", "ModalBody"), v(o, "class", "ModalContent"), v(e, "class", "ModalWrapper " + /*isMobile*/
807
+ (n[21] ? "ModalWrapperMobile" : ""));
808
+ },
809
+ m(d, f) {
810
+ j(d, e, f), m(e, o), m(o, i), m(i, t), m(t, a), m(i, c), m(i, u), m(u, g), m(g, M), m(u, A), m(u, _), m(_, C), p || (b = [
811
+ G(
812
+ g,
813
+ "click",
814
+ /*closeBonusModal*/
815
+ n[26]
816
+ ),
817
+ G(
818
+ _,
819
+ "click",
820
+ /*debouncedFunction*/
821
+ n[28](
822
+ /*deleteBonus*/
823
+ n[27]
824
+ )
825
+ )
826
+ ], p = !0);
827
+ },
828
+ p(d, f) {
829
+ f[0] & /*$_*/
830
+ 1048576 && r !== (r = /*$_*/
831
+ d[20]("forfeitBonus") + "") && Z(a, r), f[0] & /*$_*/
832
+ 1048576 && y !== (y = /*$_*/
833
+ d[20]("forfeitBonusCancel") + "") && Z(M, y), f[0] & /*$_*/
834
+ 1048576 && h !== (h = /*$_*/
835
+ d[20]("forfeitBonusConfirm") + "") && Z(C, h);
836
+ },
837
+ d(d) {
838
+ d && N(e), p = !1, se(b);
839
+ }
840
+ };
841
+ }
842
+ function rn(n) {
843
+ let e, o, i, t, r = (
844
+ /*$_*/
845
+ n[20]("titleBonuses") + ""
846
+ ), a, c, u, g, y = (
847
+ /*$_*/
848
+ n[20]("bonusCode") + ""
849
+ ), M, A, _, h, C, p, b = (
850
+ /*$_*/
851
+ n[20]("getBonus") + ""
852
+ ), d, f, X, H, J, U, q, w = (
853
+ /*isMobile*/
854
+ n[21] && $e(n)
855
+ ), B = (
856
+ /*invalidBonusCode*/
857
+ n[11] && fe(n)
858
+ );
859
+ function F(E, T) {
860
+ return (
861
+ /*isLoading*/
862
+ E[9] ? nn : en
863
+ );
864
+ }
865
+ let P = F(n), I = P(n), z = (
866
+ /*bonusModal*/
867
+ n[19] && ve(n)
868
+ );
869
+ return {
870
+ c() {
871
+ e = W("div"), o = W("div"), w && w.c(), i = L(), t = W("h2"), a = R(r), c = L(), u = W("div"), g = W("label"), M = R(y), A = L(), _ = W("div"), h = W("input"), C = L(), p = W("button"), d = R(b), X = L(), B && B.c(), H = L(), I.c(), J = L(), z && z.c(), v(t, "class", "ActiveBonusesTitle " + /*isMobile*/
872
+ (n[21] ? "ActiveBonusesTitleNone" : "")), v(g, "for", "BonusCode"), v(h, "class", "BonusCodeInput " + /*isMobile*/
873
+ (n[21] ? "BonusCodeInputMobile" : "")), v(h, "type", "text"), v(h, "id", "BonusCode"), v(p, "class", "SubmitBonusCode " + /*isMobile*/
874
+ (n[21] ? "SubmitBonusCodeMobile" : "")), p.disabled = f = /*invalidBonusField*/
875
+ n[10] || /*isLoading*/
876
+ n[9], v(_, "class", "BonusCodeWrapper " + /*isMobile*/
877
+ (n[21] ? "BonusCodeWrapperMobile" : "")), v(u, "class", "BonusCodeContainer " + /*isMobile*/
878
+ (n[21] ? "BonusCodeContainerMobile" : "")), v(o, "class", "ActiveBonusesWrapper " + /*isMobile*/
879
+ (n[21] ? "ActiveBonusesWrapperMobile" : ""));
880
+ },
881
+ m(E, T) {
882
+ j(E, e, T), m(e, o), w && w.m(o, null), m(o, i), m(o, t), m(t, a), m(o, c), m(o, u), m(u, g), m(g, M), m(u, A), m(u, _), m(_, h), ue(
883
+ h,
884
+ /*bonusCode*/
885
+ n[12]
886
+ ), m(_, C), m(_, p), m(p, d), m(u, X), B && B.m(u, null), m(o, H), I.m(o, null), m(e, J), z && z.m(e, null), n[42](e), U || (q = [
887
+ G(
888
+ h,
889
+ "input",
890
+ /*input_input_handler*/
891
+ n[36]
892
+ ),
893
+ G(
894
+ h,
895
+ "keyup",
896
+ /*validateBonusCode*/
897
+ n[23]
898
+ ),
899
+ G(
900
+ p,
901
+ "click",
902
+ /*claimBonus*/
903
+ n[25]
904
+ )
905
+ ], U = !0);
906
+ },
907
+ p(E, T) {
908
+ /*isMobile*/
909
+ E[21] && w.p(E, T), T[0] & /*$_*/
910
+ 1048576 && r !== (r = /*$_*/
911
+ E[20]("titleBonuses") + "") && Z(a, r), T[0] & /*$_*/
912
+ 1048576 && y !== (y = /*$_*/
913
+ E[20]("bonusCode") + "") && Z(M, y), T[0] & /*bonusCode*/
914
+ 4096 && h.value !== /*bonusCode*/
915
+ E[12] && ue(
916
+ h,
917
+ /*bonusCode*/
918
+ E[12]
919
+ ), T[0] & /*$_*/
920
+ 1048576 && b !== (b = /*$_*/
921
+ E[20]("getBonus") + "") && Z(d, b), T[0] & /*invalidBonusField, isLoading*/
922
+ 1536 && f !== (f = /*invalidBonusField*/
923
+ E[10] || /*isLoading*/
924
+ E[9]) && (p.disabled = f), /*invalidBonusCode*/
925
+ E[11] ? B ? B.p(E, T) : (B = fe(E), B.c(), B.m(u, null)) : B && (B.d(1), B = null), P === (P = F(E)) && I ? I.p(E, T) : (I.d(1), I = P(E), I && (I.c(), I.m(o, null))), /*bonusModal*/
926
+ E[19] ? z ? z.p(E, T) : (z = ve(E), z.c(), z.m(e, null)) : z && (z.d(1), z = null);
927
+ },
928
+ i: oe,
929
+ o: oe,
930
+ d(E) {
931
+ E && N(e), w && w.d(), B && B.d(), I.d(), z && z.d(), n[42](null), U = !1, se(q);
932
+ }
933
+ };
934
+ }
935
+ let ln = "status=active", K = 6;
936
+ function un(n, e, o) {
937
+ let i;
938
+ Ge(n, Ze, (l) => o(20, i = l));
939
+ let { endpoint: t = "" } = e, { session: r = "" } = e, { playerid: a = "" } = e, { lang: c = "en" } = e, { currency: u = "" } = e, { clientstyling: g = "" } = e, { clientstylingurl: y = "" } = e, { mbsource: M } = e, { translationurl: A = "" } = e, { currencylocale: _ = "" } = e, { dateformat: h = "" } = e, { bonuscoderegex: C = "" } = e, { ishiddenwageringbonus: p = "false" } = e, { gmversion: b = "" } = e, d = !1, f, X, H = window.navigator.userAgent, J = Ue(H) !== "PC", U = !0, q = !1, w = "", B = 0, F = 0, P = 0, I = 0, z = 0, E = [], T, ie = "", ne = !1;
940
+ const ye = () => {
941
+ fetch(A).then((S) => S.json()).then((S) => {
942
+ Object.keys(S).forEach((O) => {
943
+ de(O, S[O]);
944
+ });
945
+ }).catch((S) => {
946
+ console.log(S);
947
+ });
948
+ };
949
+ Object.keys(ce).forEach((l) => {
950
+ de(l, ce[l]);
951
+ });
952
+ const ae = (l) => {
953
+ if (l.data)
954
+ switch (l.data.type) {
955
+ case "DeleteActiveBonus":
956
+ ie = l.data.bonuswalletid, o(19, ne = !0);
957
+ break;
958
+ }
959
+ };
960
+ function he(l, S) {
961
+ return (...O) => {
962
+ clearTimeout(T), T = setTimeout(
963
+ () => {
964
+ l.apply(this, O);
965
+ },
966
+ S
967
+ );
968
+ };
969
+ }
970
+ const re = () => {
971
+ window.postMessage(
972
+ {
973
+ type: "PlayerAccountMenuActive",
974
+ isMobile: J
975
+ },
976
+ window.location.href
977
+ );
978
+ }, Ce = () => w ? C ? new RegExp(C).test(w) : !0 : !1, we = () => {
979
+ o(10, U = !Ce()), C && o(11, q = U);
980
+ }, Y = (l) => {
981
+ o(9, d = !0);
982
+ let S = {
983
+ method: "GET",
984
+ headers: { "X-SessionId": r }
985
+ }, O = new URL(`${t}${b === "gm2" ? "/v1/bonus/granted" : `/v1/player/${a}/bonusWallet`}`);
986
+ b === "gm2" ? O.searchParams.append("status", "active") : O.searchParams.append("filter", ln), O.searchParams.append("pagination", `offset=${l},limit=${K}`), fetch(O, S).then((V) => V.json()).then(
987
+ (V) => {
988
+ Array.isArray(V.items) && (b === "gm2" ? V.items.forEach((k) => {
989
+ k.walletId = k.bonusWalletID, k.granted = k.grantedDate, k.expiryTime = k.expiryDate, k.currentAmount = k.remainingAmount, k.originalWageringRequirement = k.initialWagerRequirementAmount, k.fulfilledWR = k.initialWagerRequirementAmount - k.remainingWagerRequirementAmount, k.extension = { grantedPlayerCurrencyAmount: k.amount };
990
+ }) : V.items.forEach((k) => {
991
+ const $ = k?.extension?.bonus?.presentation;
992
+ $ && (k.termsandconditionsurl = $.url, k.termsandconditionsdescription = $.description, k.termsandconditionsasset = $.assets);
993
+ })), o(16, I = Math.ceil(V.total / K)), l - K >= 0 && o(13, B = l - K), l + K < V.total && o(14, F = l + K), o(15, P = (I - 1) * K), o(17, z = l / K), o(18, E = V?.items || []), _ && E.forEach((k) => {
994
+ k.fulfilledWR = x(k.fulfilledWR), k.originalWageringRequirement = x(k.originalWageringRequirement), k.currentAmount = x(k.currentAmount), k.extension.grantedPlayerCurrencyAmount = x(k.extension.grantedPlayerCurrencyAmount);
995
+ }), window.scrollTo({ top: 0, behavior: "smooth" });
996
+ },
997
+ (V) => {
998
+ console.error(V);
999
+ }
1000
+ ).finally(() => {
1001
+ o(9, d = !1);
1002
+ });
1003
+ }, x = (l) => new Intl.NumberFormat(_, { style: "currency", currency: u }).format(l).replace(/\s/g, ""), Me = () => {
1004
+ o(9, d = !0);
1005
+ let l = new URL(`${t}${b === "gm2" ? "/v1/bonus/claim" : `/v1/player/${a}/claimbonus`}`), S;
1006
+ b === "gm2" ? S = {
1007
+ method: "PUT",
1008
+ headers: {
1009
+ "X-SessionId": r,
1010
+ accept: "application/json",
1011
+ "Content-Type": "application/json"
1012
+ },
1013
+ body: JSON.stringify({ bonusCode: w, currency: u })
1014
+ } : (S = {
1015
+ method: "POST",
1016
+ headers: {
1017
+ "X-SessionId": r,
1018
+ accept: "application/json"
1019
+ }
1020
+ }, l.searchParams.append("currency", u), l.searchParams.append("bonusCode", w)), fetch(l.href, S).then((O) => {
1021
+ O.status == 200 ? (o(11, q = !1), Y(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), window.postMessage(
1022
+ {
1023
+ type: "WidgetNotification",
1024
+ data: {
1025
+ type: "success",
1026
+ message: i("bonusClaimSuccessMessage")
1027
+ }
1028
+ },
1029
+ window.location.href
1030
+ ), typeof gtag == "function" && gtag("event", "ClaimBonus", {
1031
+ context: "PlayerActiveBonuses",
1032
+ userId: `${a || "Not logged in"}`,
1033
+ bonusCode: `${w}`
1034
+ })) : (o(11, q = !0), window.postMessage(
1035
+ {
1036
+ type: "WidgetNotification",
1037
+ data: {
1038
+ type: "error",
1039
+ message: i("bonusClaimErrorMessage")
1040
+ }
1041
+ },
1042
+ window.location.href
1043
+ ));
1044
+ }).finally(() => {
1045
+ o(9, d = !1);
1046
+ });
1047
+ }, le = () => {
1048
+ window.postMessage({ type: "EnableScroll" }, window.location.href), o(19, ne = !1);
1049
+ }, ke = () => {
1050
+ let l = {
1051
+ method: "DELETE",
1052
+ headers: {
1053
+ "X-SessionId": r,
1054
+ "Content-Type": "application/json",
1055
+ Accept: "application/json"
1056
+ }
1057
+ }, S = new URL(`${t}${b === "gm2" ? "/v1/bonus/forfeit" : `/v1/player/${a}/bonusWallet`}`);
1058
+ S.searchParams.append("bonusWalletID", ie), fetch(S, l).then((O) => {
1059
+ O.status == 200 && (Y(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), le());
1060
+ });
1061
+ }, We = () => {
1062
+ Qe(c);
1063
+ };
1064
+ function Ae(l) {
1065
+ return he(l, 1e3);
1066
+ }
1067
+ Ve(() => (window.addEventListener("message", ae, !1), () => {
1068
+ window.removeEventListener("message", ae);
1069
+ }));
1070
+ const Ee = () => re();
1071
+ function Pe() {
1072
+ w = this.value, o(12, w);
1073
+ }
1074
+ const Fe = () => Y(0), Se = () => Y(B), Ie = (l) => Y(l * K), ze = () => Y(F), Te = () => Y(P);
1075
+ function Le(l) {
1076
+ Xe[l ? "unshift" : "push"](() => {
1077
+ f = l, o(8, f);
1078
+ });
1079
+ }
1080
+ return n.$$set = (l) => {
1081
+ "endpoint" in l && o(29, t = l.endpoint), "session" in l && o(30, r = l.session), "playerid" in l && o(31, a = l.playerid), "lang" in l && o(0, c = l.lang), "currency" in l && o(32, u = l.currency), "clientstyling" in l && o(1, g = l.clientstyling), "clientstylingurl" in l && o(2, y = l.clientstylingurl), "mbsource" in l && o(3, M = l.mbsource), "translationurl" in l && o(4, A = l.translationurl), "currencylocale" in l && o(5, _ = l.currencylocale), "dateformat" in l && o(6, h = l.dateformat), "bonuscoderegex" in l && o(33, C = l.bonuscoderegex), "ishiddenwageringbonus" in l && o(7, p = l.ishiddenwageringbonus), "gmversion" in l && o(34, b = l.gmversion);
1082
+ }, n.$$.update = () => {
1083
+ n.$$.dirty[0] & /*lang*/
1084
+ 1 && c && We(), n.$$.dirty[0] & /*session, endpoint*/
1085
+ 1610612736 | n.$$.dirty[1] & /*playerid*/
1086
+ 1 && r && a && t && Y(0), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1087
+ 258 && g && f && He(f, g), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1088
+ 260 && y && f && Je(f, y), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
1089
+ 264 && M && f && Ye(f, `${M}.Style`, X), n.$$.dirty[0] & /*translationurl*/
1090
+ 16 && A && ye();
1091
+ }, [
1092
+ c,
1093
+ g,
1094
+ y,
1095
+ M,
1096
+ A,
1097
+ _,
1098
+ h,
1099
+ p,
1100
+ f,
1101
+ d,
1102
+ U,
1103
+ q,
1104
+ w,
1105
+ B,
1106
+ F,
1107
+ P,
1108
+ I,
1109
+ z,
1110
+ E,
1111
+ ne,
1112
+ i,
1113
+ J,
1114
+ re,
1115
+ we,
1116
+ Y,
1117
+ Me,
1118
+ le,
1119
+ ke,
1120
+ Ae,
1121
+ t,
1122
+ r,
1123
+ a,
1124
+ u,
1125
+ C,
1126
+ b,
1127
+ Ee,
1128
+ Pe,
1129
+ Fe,
1130
+ Se,
1131
+ Ie,
1132
+ ze,
1133
+ Te,
1134
+ Le
1135
+ ];
1136
+ }
1137
+ class dn extends je {
1138
+ constructor(e) {
1139
+ super(), qe(
1140
+ this,
1141
+ e,
1142
+ un,
1143
+ rn,
1144
+ De,
1145
+ {
1146
+ endpoint: 29,
1147
+ session: 30,
1148
+ playerid: 31,
1149
+ lang: 0,
1150
+ currency: 32,
1151
+ clientstyling: 1,
1152
+ clientstylingurl: 2,
1153
+ mbsource: 3,
1154
+ translationurl: 4,
1155
+ currencylocale: 5,
1156
+ dateformat: 6,
1157
+ bonuscoderegex: 33,
1158
+ ishiddenwageringbonus: 7,
1159
+ gmversion: 34
1160
+ },
1161
+ xe,
1162
+ [-1, -1]
1163
+ );
1164
+ }
1165
+ get endpoint() {
1166
+ return this.$$.ctx[29];
1167
+ }
1168
+ set endpoint(e) {
1169
+ this.$$set({ endpoint: e }), D();
1170
+ }
1171
+ get session() {
1172
+ return this.$$.ctx[30];
1173
+ }
1174
+ set session(e) {
1175
+ this.$$set({ session: e }), D();
1176
+ }
1177
+ get playerid() {
1178
+ return this.$$.ctx[31];
1179
+ }
1180
+ set playerid(e) {
1181
+ this.$$set({ playerid: e }), D();
1182
+ }
1183
+ get lang() {
1184
+ return this.$$.ctx[0];
1185
+ }
1186
+ set lang(e) {
1187
+ this.$$set({ lang: e }), D();
1188
+ }
1189
+ get currency() {
1190
+ return this.$$.ctx[32];
1191
+ }
1192
+ set currency(e) {
1193
+ this.$$set({ currency: e }), D();
1194
+ }
1195
+ get clientstyling() {
1196
+ return this.$$.ctx[1];
1197
+ }
1198
+ set clientstyling(e) {
1199
+ this.$$set({ clientstyling: e }), D();
1200
+ }
1201
+ get clientstylingurl() {
1202
+ return this.$$.ctx[2];
1203
+ }
1204
+ set clientstylingurl(e) {
1205
+ this.$$set({ clientstylingurl: e }), D();
1206
+ }
1207
+ get mbsource() {
1208
+ return this.$$.ctx[3];
1209
+ }
1210
+ set mbsource(e) {
1211
+ this.$$set({ mbsource: e }), D();
1212
+ }
1213
+ get translationurl() {
1214
+ return this.$$.ctx[4];
1215
+ }
1216
+ set translationurl(e) {
1217
+ this.$$set({ translationurl: e }), D();
1218
+ }
1219
+ get currencylocale() {
1220
+ return this.$$.ctx[5];
1221
+ }
1222
+ set currencylocale(e) {
1223
+ this.$$set({ currencylocale: e }), D();
1224
+ }
1225
+ get dateformat() {
1226
+ return this.$$.ctx[6];
1227
+ }
1228
+ set dateformat(e) {
1229
+ this.$$set({ dateformat: e }), D();
1230
+ }
1231
+ get bonuscoderegex() {
1232
+ return this.$$.ctx[33];
1233
+ }
1234
+ set bonuscoderegex(e) {
1235
+ this.$$set({ bonuscoderegex: e }), D();
1236
+ }
1237
+ get ishiddenwageringbonus() {
1238
+ return this.$$.ctx[7];
1239
+ }
1240
+ set ishiddenwageringbonus(e) {
1241
+ this.$$set({ ishiddenwageringbonus: e }), D();
1242
+ }
1243
+ get gmversion() {
1244
+ return this.$$.ctx[34];
1245
+ }
1246
+ set gmversion(e) {
1247
+ this.$$set({ gmversion: e }), D();
1248
+ }
1249
+ }
1250
+ Ke(dn, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {}, bonuscoderegex: {}, ishiddenwageringbonus: {}, gmversion: {} }, [], [], !0);
1251
+ export {
1252
+ dn as default
1253
+ };