@everymatrix/player-account-controller 1.94.20 → 1.94.21

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 (119) hide show
  1. package/components/{GeneralLogout-BQJRUNwp.cjs → GeneralLogout-C4zscfCx.cjs} +1 -1
  2. package/components/{GeneralLogout-CwC7hmDR.js → GeneralLogout-CXb7OdeA.js} +69 -69
  3. package/components/{GeneralLogout-BzreXekz.js → GeneralLogout-CpE101GN.js} +53 -53
  4. package/components/{PlayerAccountBettingHistory-iBgxnZ1z.cjs → PlayerAccountBettingHistory-BEC5Dbk4.cjs} +1 -1
  5. package/components/{PlayerAccountBettingHistory-CpObxK27.js → PlayerAccountBettingHistory-D2UOjGmQ.js} +27 -27
  6. package/components/{PlayerAccountBettingHistory-t0Tk_p0g.js → PlayerAccountBettingHistory-DdxkAioI.js} +24 -24
  7. package/components/{PlayerAccountBiometrics-C5OncfaU.js → PlayerAccountBiometrics-BoITt8OK.js} +29 -29
  8. package/components/{PlayerAccountBiometrics-WqGiexBI.cjs → PlayerAccountBiometrics-CkHgmfP_.cjs} +1 -1
  9. package/components/{PlayerAccountBiometrics-D7yEbrsq.js → PlayerAccountBiometrics-DufGqDU4.js} +29 -29
  10. package/components/{PlayerAccountBiometricsAction-uCYyRh_C.js → PlayerAccountBiometricsAction-B5FkZd-r.js} +29 -29
  11. package/components/{PlayerAccountBiometricsAction-DGkhc1cZ.cjs → PlayerAccountBiometricsAction-CrfbCZc0.cjs} +1 -1
  12. package/components/{PlayerAccountBiometricsAction-BCPPui38.js → PlayerAccountBiometricsAction-Dpgb3qw8.js} +20 -20
  13. package/components/{PlayerAccountClosure-Ct4tBOGU.js → PlayerAccountClosure-BkZo4ds8.js} +8 -8
  14. package/components/{PlayerAccountClosure-CNXw7Sjx.cjs → PlayerAccountClosure-CTVdrvUs.cjs} +1 -1
  15. package/components/{PlayerAccountClosure-DLFNaf_2.js → PlayerAccountClosure-Rn4rUpUm.js} +24 -24
  16. package/components/{PlayerAccountController-KqshAWe2.cjs → PlayerAccountController-BBk-9TOg.cjs} +1 -1
  17. package/components/{PlayerAccountController-BHq1U_O6.js → PlayerAccountController-CO8cZYgr.js} +86 -86
  18. package/components/{PlayerAccountController-CKZCKQpN.js → PlayerAccountController-DgE57QwT.js} +86 -86
  19. package/components/{PlayerAccountGamingLimits-BdlTSpsU.cjs → PlayerAccountGamingLimits-B-5nWzRS.cjs} +1 -1
  20. package/components/{PlayerAccountGamingLimits-C3wWWcGH.js → PlayerAccountGamingLimits-CxpBIVY6.js} +32 -32
  21. package/components/{PlayerAccountGamingLimits-Z6Ce0MoG.js → PlayerAccountGamingLimits-V927kAz2.js} +30 -30
  22. package/components/{PlayerAccountGamingLimitsConfirmationModal-Cfk6gWz8.js → PlayerAccountGamingLimitsConfirmationModal-BveODcSU.js} +34 -34
  23. package/components/{PlayerAccountGamingLimitsConfirmationModal-B7CUyyZF.js → PlayerAccountGamingLimitsConfirmationModal-CG7r6PIK.js} +25 -25
  24. package/components/{PlayerAccountGamingLimitsConfirmationModal-DI6j94DD.cjs → PlayerAccountGamingLimitsConfirmationModal-CJgeqRLo.cjs} +1 -1
  25. package/components/{PlayerAccountGamingLimitsGroupEdit-qUGWNtii.cjs → PlayerAccountGamingLimitsGroupEdit-Cyu-XItn.cjs} +1 -1
  26. package/components/{PlayerAccountGamingLimitsGroupEdit-aCJcxI7C.js → PlayerAccountGamingLimitsGroupEdit-DXbMOl6-.js} +47 -47
  27. package/components/{PlayerAccountGamingLimitsGroupEdit-CoF5dXFM.js → PlayerAccountGamingLimitsGroupEdit-vujLn0t-.js} +47 -47
  28. package/components/{PlayerAccountGamingLimitsHistory2-D4p6d8iD.js → PlayerAccountGamingLimitsHistory2-C1J6OpLl.js} +35 -35
  29. package/components/{PlayerAccountGamingLimitsHistory2-5ux43rb0.cjs → PlayerAccountGamingLimitsHistory2-C6HksI_l.cjs} +1 -1
  30. package/components/{PlayerAccountGamingLimitsHistory2-D6yYPKgO.js → PlayerAccountGamingLimitsHistory2-ch2erx5S.js} +45 -45
  31. package/components/{PlayerAccountGamingLimitsInfoCard-DBbFlq2N.cjs → PlayerAccountGamingLimitsInfoCard-C-DFY5Ok.cjs} +1 -1
  32. package/components/{PlayerAccountGamingLimitsInfoCard-DD4VF0x7.js → PlayerAccountGamingLimitsInfoCard-C17cmXa_.js} +4 -4
  33. package/components/{PlayerAccountGamingLimitsInfoCard-DimpOAgW.js → PlayerAccountGamingLimitsInfoCard-g7I5qkLj.js} +4 -4
  34. package/components/{PlayerAccountGamingLimitsPage2Gm16-ByAD5XkL.js → PlayerAccountGamingLimitsPage2Gm16-5DbisV99.js} +105 -105
  35. package/components/{PlayerAccountGamingLimitsPage2Gm16-Cd6aLvED.cjs → PlayerAccountGamingLimitsPage2Gm16-BD2PAPr7.cjs} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPage2Gm16-39Ko_0bM.js → PlayerAccountGamingLimitsPage2Gm16-vkWd1ihI.js} +1 -1
  37. package/components/{PlayerAccountGamingLimitsPopup-DpKQITZC.js → PlayerAccountGamingLimitsPopup-7JDTXTtQ.js} +19 -19
  38. package/components/{PlayerAccountGamingLimitsPopup-BLjM3dul.js → PlayerAccountGamingLimitsPopup-CBrl659u.js} +15 -15
  39. package/components/{PlayerAccountGamingLimitsPopup-BIRVIt7t.cjs → PlayerAccountGamingLimitsPopup-CvgPjhi-.cjs} +1 -1
  40. package/components/{PlayerAccountGamingLimitsWrapper2-o3uvZC1a.cjs → PlayerAccountGamingLimitsWrapper2-Bm2vuvTx.cjs} +1 -1
  41. package/components/{PlayerAccountGamingLimitsWrapper2-Bxh1v-ks.js → PlayerAccountGamingLimitsWrapper2-DWD-0F-D.js} +58 -58
  42. package/components/{PlayerAccountGamingLimitsWrapper2-D0oOCM5A.js → PlayerAccountGamingLimitsWrapper2-jQr15q3J.js} +54 -54
  43. package/components/{PlayerAccountGeneralConfirmationModal-Dbpjs0ok.cjs → PlayerAccountGeneralConfirmationModal-B_cFWoG1.cjs} +1 -1
  44. package/components/{PlayerAccountGeneralConfirmationModal-v1VPRGeY.js → PlayerAccountGeneralConfirmationModal-Bnwi7Hps.js} +38 -38
  45. package/components/{PlayerAccountGeneralConfirmationModal-XrxuJU94.js → PlayerAccountGeneralConfirmationModal-D7km7Zog.js} +35 -35
  46. package/components/{PlayerAccountMenu-D3ydI3e0.js → PlayerAccountMenu-7UYVqYH-.js} +23 -23
  47. package/components/{PlayerAccountMenu-p1bTKU9o.cjs → PlayerAccountMenu-CBhFGN5v.cjs} +1 -1
  48. package/components/{PlayerAccountMenu-DOwnMfBp.js → PlayerAccountMenu-D-jM_PCb.js} +23 -23
  49. package/components/{PlayerAccountModal-nLc5W2X1.cjs → PlayerAccountModal-BQZExMfG.cjs} +1 -1
  50. package/components/{PlayerAccountModal-DM8MYI4c.js → PlayerAccountModal-BxFPmZIg.js} +51 -51
  51. package/components/{PlayerAccountModal-CPowwN-K.js → PlayerAccountModal-InDwj5CZ.js} +55 -55
  52. package/components/{PlayerAccountNotifications-D2o0B9mY.js → PlayerAccountNotifications-BKQa6iL8.js} +29 -29
  53. package/components/{PlayerAccountNotifications-Bclx6LlP.cjs → PlayerAccountNotifications-C7bklpfG.cjs} +1 -1
  54. package/components/{PlayerAccountNotifications-BLDWrrxI.js → PlayerAccountNotifications-kDZBI187.js} +88 -88
  55. package/components/{PlayerAccountProductRestriction-DcrSkVJ-.cjs → PlayerAccountProductRestriction-B2pinL7l.cjs} +1 -1
  56. package/components/{PlayerAccountProductRestriction-CArQTQHH.js → PlayerAccountProductRestriction-CFIjlnOX.js} +3 -3
  57. package/components/{PlayerAccountProductRestriction-DHxrM48h.js → PlayerAccountProductRestriction-DbEkMKO3.js} +3 -3
  58. package/components/{PlayerAccountReviewFrequency-210Gkzzk.js → PlayerAccountReviewFrequency-BYWEOhzw.js} +30 -30
  59. package/components/{PlayerAccountReviewFrequency-maIKojuS.cjs → PlayerAccountReviewFrequency-DMwFO_R2.cjs} +1 -1
  60. package/components/{PlayerAccountReviewFrequency-BmQDh8wI.js → PlayerAccountReviewFrequency-DjERKwb7.js} +31 -31
  61. package/components/{PlayerAccountSelfExclusion-CPbHgqgm.js → PlayerAccountSelfExclusion-BM_tkQy1.js} +99 -99
  62. package/components/{PlayerAccountSelfExclusion-QhkNBndX.js → PlayerAccountSelfExclusion-Byk2bLi5.js} +86 -86
  63. package/components/{PlayerAccountSelfExclusion-BbGponGq.cjs → PlayerAccountSelfExclusion-CMk-HM8u.cjs} +1 -1
  64. package/components/{PlayerAccountTimeout-CQadGV2a.js → PlayerAccountTimeout-B52QzMyN.js} +3 -3
  65. package/components/{PlayerAccountTimeout-CbSDcsVh.cjs → PlayerAccountTimeout-BKqM9z9S.cjs} +2 -2
  66. package/components/{PlayerAccountTimeout-BEQ_XL2r.js → PlayerAccountTimeout-CvNSJCuP.js} +3 -3
  67. package/components/{PlayerAccountTransactionsHistory-BcG6cSUz.js → PlayerAccountTransactionsHistory-Ct9bbtaS.js} +36 -36
  68. package/components/{PlayerAccountTransactionsHistory-BgeA2OaG.js → PlayerAccountTransactionsHistory-DfYoqbPR.js} +35 -35
  69. package/components/{PlayerAccountTransactionsHistory-DLYk17GI.cjs → PlayerAccountTransactionsHistory-vlF8HWQr.cjs} +1 -1
  70. package/components/{PlayerActiveBonuses-Dg7d3EXi.js → PlayerActiveBonuses-C5pOksPm.js} +539 -509
  71. package/components/{PlayerActiveBonuses-DVytvabF.js → PlayerActiveBonuses-DYEcrFhQ.js} +544 -514
  72. package/components/PlayerActiveBonuses-iTkyXHsD.cjs +5 -0
  73. package/components/{PlayerBonusCard-C-E_7PSB.js → PlayerBonusCard-Bggf2jM-.js} +252 -238
  74. package/components/{PlayerBonusCard-CSj1XzDi.js → PlayerBonusCard-CVByVySk.js} +249 -235
  75. package/components/PlayerBonusCard-DgHQKXJE.cjs +1 -0
  76. package/components/{PlayerBonusHistory-BSDft0iY.js → PlayerBonusHistory-A1LztGVe.js} +1941 -1910
  77. package/components/{PlayerBonusHistory-BNlbASad.cjs → PlayerBonusHistory-Cvq_m9mr.cjs} +252 -252
  78. package/components/{PlayerBonusHistory-CMGvjo7T.js → PlayerBonusHistory-vvCROk6P.js} +1924 -1893
  79. package/components/{PlayerChangePassword-CDPtd1y2.js → PlayerChangePassword-BpW3ZGPE.js} +71 -71
  80. package/components/{PlayerChangePassword-CN2nSbTu.cjs → PlayerChangePassword-Ck2ADweJ.cjs} +1 -1
  81. package/components/{PlayerChangePassword-CjdAhIqW.js → PlayerChangePassword-DfLb_jZA.js} +71 -71
  82. package/components/{PlayerDeposit-BtS34PMd.cjs → PlayerDeposit-CCzkiEdB.cjs} +1 -1
  83. package/components/{PlayerDeposit-C9DlPi5i.js → PlayerDeposit-CpU80gtj.js} +28 -28
  84. package/components/{PlayerDeposit-BOHnESfn.js → PlayerDeposit-HbzBoc73.js} +24 -24
  85. package/components/{PlayerGamingHistory-BDVH_6B8.cjs → PlayerGamingHistory-C-1-WJwY.cjs} +1 -1
  86. package/components/{PlayerGamingHistory-C6WWw2cc.js → PlayerGamingHistory-D7i_K4mx.js} +94 -94
  87. package/components/{PlayerGamingHistory-Da-Wan4y.js → PlayerGamingHistory-DpSeY1cI.js} +114 -114
  88. package/components/{PlayerPendingWithdrawals-CgdF4Q07.cjs → PlayerPendingWithdrawals-BubG3Pn4.cjs} +1 -1
  89. package/components/{PlayerPendingWithdrawals-BH2fv9D2.js → PlayerPendingWithdrawals-BwdyTHVG.js} +30 -30
  90. package/components/{PlayerPendingWithdrawals-Bbokp3YM.js → PlayerPendingWithdrawals-C9gR_Y0d.js} +34 -34
  91. package/components/{PlayerProfileInfo-CtQg5U2I.js → PlayerProfileInfo-C5By7H5W.js} +364 -364
  92. package/components/{PlayerProfileInfo-BrN8d1L_.cjs → PlayerProfileInfo-DNlp4qra.cjs} +1 -1
  93. package/components/{PlayerProfileInfo-Cl33NXNc.js → PlayerProfileInfo-DerxJF3S.js} +342 -342
  94. package/components/{PlayerRealityCheck-maFkRSmz.js → PlayerRealityCheck-1wRbKOda.js} +55 -55
  95. package/components/{PlayerRealityCheck-CH6yW7w0.js → PlayerRealityCheck-CQS6Dta8.js} +54 -54
  96. package/components/{PlayerRealityCheck-DFyTdthH.cjs → PlayerRealityCheck-DrzWTJ0l.cjs} +1 -1
  97. package/components/{PlayerTransactionHistory-jPhM6ytU.js → PlayerTransactionHistory-BIxhXd3Y.js} +44 -44
  98. package/components/{PlayerTransactionHistory-BxyX6ai9.js → PlayerTransactionHistory-DSCZ7OVe.js} +31 -31
  99. package/components/{PlayerTransactionHistory-B8UFaIzM.cjs → PlayerTransactionHistory-DlRKQ_LH.cjs} +1 -1
  100. package/components/{PlayerWithdrawal-Crv6enga.cjs → PlayerWithdrawal-B5lYxcpO.cjs} +1 -1
  101. package/components/{PlayerWithdrawal-CKHK7F5l.js → PlayerWithdrawal-B8PG-Cig.js} +25 -25
  102. package/components/{PlayerWithdrawal-D2BakJra.js → PlayerWithdrawal-zFpUyw_q.js} +25 -25
  103. package/components/{QrSessionGenerator-DHB2Qsq3.cjs → QrSessionGenerator-BeNaNuyX.cjs} +1 -1
  104. package/components/{QrSessionGenerator-CYedw5yt.js → QrSessionGenerator-ChEh7Qwb.js} +37 -37
  105. package/components/{QrSessionGenerator-DiPVWwLx.js → QrSessionGenerator-DuxpFDzg.js} +48 -48
  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-BMVEaVtV.js → checkbox-group-input_16-BzEg4TpU.js} +3 -3
  111. package/stencil/{checkbox-group-input_16-C6fU4lxi.js → checkbox-group-input_16-nRSc7WyI.js} +3 -3
  112. package/stencil/{index-7469517b-BFmBiraV.js → index-7469517b-B-IR-z1N.js} +1 -1
  113. package/stencil/{index-7469517b-CCwm-ipO.js → index-7469517b-C42JdpYE.js} +1 -1
  114. package/stencil/{pam-change-password-259289fa-DJ_lsyvr.js → pam-change-password-259289fa-CkW8tAwL.js} +3 -3
  115. package/stencil/{pam-change-password-259289fa-B_ApylOR.js → pam-change-password-259289fa-DS0Y7TKw.js} +3 -3
  116. package/stencil/{pam-change-password-DH0owsL8.js → pam-change-password-Cd7FdKp2.js} +1 -1
  117. package/stencil/{pam-change-password-BOIp7Ttz.js → pam-change-password-Fz6dpHWP.js} +1 -1
  118. package/components/PlayerActiveBonuses-B0BbnzpT.cjs +0 -5
  119. package/components/PlayerBonusCard-CI-sAhBx.cjs +0 -1
@@ -1,11 +1,11 @@
1
- import { c as He, b as Ye, S as Xe, B as Je, Q as Ze, t as j, f as Qe, J as le, p as N, O as ue, Y as Z, Z as Be, D, e as f, I as q, q as A, a0 as L, a3 as z, g as v, k as Ke, w as xe, M as $e, a2 as K, h as en, r as de, s as se, o as Ee, X as a, U as nn, V as on, W as sn, m as tn, a as an } from "./PlayerAccountController-CKZCKQpN.js";
2
- function ve(n, e) {
3
- He(n, e);
1
+ import { a as Ye, $ as Xe, S as Je, i as Ke, s as Ze, f as z, b as Qe, n as le, d as j, w as ue, u as J, K as ve, e as O, p as f, x as G, g as M, q as N, v as D, t as v, h as xe, j as $e, o as en, y as Q, k as nn, L as de, l as se, m as Pe, r as a, B as on, C as sn, D as tn, c as an, A as rn } from "./PlayerAccountController-DgE57QwT.js";
2
+ function _e(n, e) {
3
+ Ye(n, e);
4
4
  }
5
- function rn(n) {
6
- Ye.set(n);
5
+ function ln(n) {
6
+ Xe.set(n);
7
7
  }
8
- const _e = {
8
+ const ye = {
9
9
  en: {
10
10
  titleBonuses: "Active Bonuses",
11
11
  bonusCode: "Do you have a bonus code?",
@@ -142,7 +142,7 @@ const _e = {
142
142
  CLAIM: "/v1/bonus/claim",
143
143
  FORFEIT: "/v1/bonus/forfeit",
144
144
  GRANTED: "/v1/bonus/granted"
145
- }, ye = {
145
+ }, he = {
146
146
  TYPES: "standard,freeBet,freeRound,cashBack,stakeBack,oddsBoost,wagering",
147
147
  STATUS_ACTIVE: "active",
148
148
  STATUS_COMPLETED: "completed,released,forfeited,expired,closed"
@@ -164,7 +164,7 @@ async function pe(n, e = {}) {
164
164
  };
165
165
  return { ...i, ...r };
166
166
  }
167
- async function ln(n, e, o) {
167
+ async function un(n, e, o) {
168
168
  const t = `${n}${ce.CLAIM}`;
169
169
  return pe(t, {
170
170
  method: "PUT",
@@ -176,7 +176,7 @@ async function ln(n, e, o) {
176
176
  body: JSON.stringify(o)
177
177
  });
178
178
  }
179
- async function un(n, e, o) {
179
+ async function dn(n, e, o) {
180
180
  const t = new URL(`${n}${ce.FORFEIT}`);
181
181
  return t.searchParams.append("bonusWalletID", o.bonusWalletID), pe(t, {
182
182
  method: "DELETE",
@@ -186,7 +186,7 @@ async function un(n, e, o) {
186
186
  }
187
187
  });
188
188
  }
189
- async function dn(n, e, o) {
189
+ async function cn(n, e, o) {
190
190
  const t = new URL(`${n}${ce.GRANTED}`);
191
191
  Object.entries(o).forEach(([i, r]) => {
192
192
  r != null && t.searchParams.append(i, String(r));
@@ -208,124 +208,124 @@ if (typeof window < "u") {
208
208
  }
209
209
  };
210
210
  };
211
- customElements.define = n(customElements.define), import("./PlayerBonusCard-C-E_7PSB.js").then(({ default: e }) => {
211
+ customElements.define = n(customElements.define), import("./PlayerBonusCard-CVByVySk.js").then(({ default: e }) => {
212
212
  !customElements.get("player-bonus-card") && customElements.define("player-bonus-card", e.element);
213
213
  });
214
214
  }
215
- function cn(n) {
215
+ function pn(n) {
216
216
  Qe(n, "svelte-2jgm79", '.ActiveBonusesWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:850px}.ActiveBonusesWrapper.ActiveBonusesWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.ActiveBonusesTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.ActiveBonusesTitleMobile{font-size:16px}.ActiveBonusesTitleNone{display:none}.BonusCodeContainer{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative;width:70%}.BonusCodeContainer label{font-size:16px;font-weight:300;padding-bottom:5px}.BonusCodeContainer.BonusCodeContainerMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper{display:flex;gap:10px}.BonusCodeContainer .BonusCodeWrapper.BonusCodeWrapperMobile{flex-direction:column}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput{width:70%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput:focus{outline-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput.BonusCodeInputMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode[disabled]{opacity:0.3;cursor:not-allowed}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:hover{filter:brightness(0.9)}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode.SubmitBonusCodeMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer.InvalidField input{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background:var(--emw--color-primary-50, var(--emw--color-pink-50, #F1BED9));color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer .InvalidBonusCodeMessage{color:var(--emw--color-error, var(--emw--color-red, #FD2839))}.BonusCodeWrapper{display:flex;gap:20px}.SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.SubmitBonusCode[disabled]{opacity:0.3}.SubmitBonusCode:hover{filter:brightness(0.9)}.SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.ActiveBonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.ActiveBonusesGrid.ActiveBonusesGridMobile{grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300}.ModalWrapper .ModalContent{background-color:var(--emw--color-white, #FFFFFF);position:relative;padding:30px;border-top:5px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px}.ModalWrapper .ModalBody{background-color:var(--emw--color-gray-50, #F9F8F8);padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:22px;margin-bottom:40px}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-300, #58586B);cursor:pointer;border-radius:5px;width:200px;height:50px;font-size:16px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:16px}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:14px}.BonusesPaginationWrapper{margin:40px 0;display:block;line-break:anywhere;line-height:2em}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast,.BonusesPaginationWrapper .BonusesPage{all:unset;box-sizing:border-box;cursor:pointer}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:16px;cursor:pointer;padding:5px 10px;font-weight:700}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:var(--emw--color-gray-100, #E6E6E6);cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:var(--emw--color-gray-300, #58586B);font-size:16px;cursor:pointer;padding:5px 10px;white-space:nowrap}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emw--color-white, #FFFFFF);font-weight:700;cursor:default}.ModalLoader{width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
217
217
  }
218
- function he(n, e, o) {
218
+ function Ce(n, e, o) {
219
219
  const t = n.slice();
220
- return t[55] = e[o], t[57] = o, t;
220
+ return t[56] = e[o], t[58] = o, t;
221
221
  }
222
- function Ce(n, e, o) {
222
+ function we(n, e, o) {
223
223
  const t = n.slice();
224
- return t[58] = e[o], t;
224
+ return t[59] = e[o], t;
225
225
  }
226
- function pn(n) {
227
- let e, o, t, s, i, r, d, u, b, y, M = (
226
+ function fn(n) {
227
+ let e, o, t, s, i, r, c, u, g, y, w = (
228
228
  /*$_*/
229
- n[20]("titleBonuses") + ""
230
- ), k, _, h;
229
+ n[21]("titleBonuses") + ""
230
+ ), A, _, h;
231
231
  return {
232
232
  c() {
233
- e = A("div"), o = K("svg"), t = K("defs"), s = K("style"), i = z(`.aaa {
233
+ e = M("div"), o = Q("svg"), t = Q("defs"), s = Q("style"), i = D(`.aaa {
234
234
  fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
235
235
  }
236
- `), r = K("g"), d = K("g"), u = K("path"), b = L(), y = A("h2"), k = z(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(d, "transform", "translate(20 158)"), v(r, "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");
236
+ `), r = Q("g"), c = Q("g"), u = Q("path"), g = N(), y = M("h2"), A = D(w), 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(r, "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");
237
237
  },
238
- m(C, c) {
239
- D(C, e, c), f(e, o), f(o, t), f(t, s), f(s, i), f(o, r), f(r, d), f(d, u), f(e, b), f(e, y), f(y, k), _ || (h = q(
238
+ m(C, d) {
239
+ O(C, e, d), f(e, o), f(o, t), f(t, s), f(s, i), f(o, r), f(r, c), f(c, u), f(e, g), f(e, y), f(y, A), _ || (h = G(
240
240
  e,
241
241
  "click",
242
242
  /*click_handler*/
243
- n[35]
243
+ n[36]
244
244
  ), _ = !0);
245
245
  },
246
- p(C, c) {
247
- c[0] & /*$_*/
248
- 1048576 && M !== (M = /*$_*/
249
- C[20]("titleBonuses") + "") && Z(k, M);
246
+ p(C, d) {
247
+ d[0] & /*$_*/
248
+ 2097152 && w !== (w = /*$_*/
249
+ C[21]("titleBonuses") + "") && J(A, w);
250
250
  },
251
251
  d(C) {
252
- C && N(e), _ = !1, h();
252
+ C && j(e), _ = !1, h();
253
253
  }
254
254
  };
255
255
  }
256
- function we(n) {
256
+ function Me(n) {
257
257
  let e, o = (
258
258
  /*$_*/
259
- n[20]("invalidBonusCode") + ""
259
+ n[21]("invalidBonusCode") + ""
260
260
  ), t;
261
261
  return {
262
262
  c() {
263
- e = A("p"), t = z(o), v(e, "class", "InvalidBonusCodeMessage");
263
+ e = M("p"), t = D(o), v(e, "class", "InvalidBonusCodeMessage");
264
264
  },
265
265
  m(s, i) {
266
- D(s, e, i), f(e, t);
266
+ O(s, e, i), f(e, t);
267
267
  },
268
268
  p(s, i) {
269
269
  i[0] & /*$_*/
270
- 1048576 && o !== (o = /*$_*/
271
- s[20]("invalidBonusCode") + "") && Z(t, o);
270
+ 2097152 && o !== (o = /*$_*/
271
+ s[21]("invalidBonusCode") + "") && J(t, o);
272
272
  },
273
273
  d(s) {
274
- s && N(e);
274
+ s && j(e);
275
275
  }
276
276
  };
277
277
  }
278
- function fn(n) {
278
+ function mn(n) {
279
279
  let e, o, t;
280
- function s(u, b) {
280
+ function s(u, g) {
281
281
  return (
282
282
  /*activeBonusesList*/
283
- u[18].length === 0 ? gn : bn
283
+ u[19].length === 0 ? Bn : gn
284
284
  );
285
285
  }
286
- let i = s(n), r = i(n), d = (
286
+ let i = s(n), r = i(n), c = (
287
287
  /*activeBonusesList*/
288
- n[18].length !== 0 && Ae(n)
288
+ n[19].length !== 0 && ke(n)
289
289
  );
290
290
  return {
291
291
  c() {
292
- e = A("div"), r.c(), o = L(), d && d.c(), t = de(), v(e, "class", "ActiveBonusesGrid " + /*isMobile*/
293
- (n[21] ? "ActiveBonusesGridMobile" : ""));
292
+ e = M("div"), r.c(), o = N(), c && c.c(), t = de(), v(e, "class", "ActiveBonusesGrid " + /*isMobile*/
293
+ (n[22] ? "ActiveBonusesGridMobile" : ""));
294
294
  },
295
- m(u, b) {
296
- D(u, e, b), r.m(e, null), D(u, o, b), d && d.m(u, b), D(u, t, b);
295
+ m(u, g) {
296
+ O(u, e, g), r.m(e, null), O(u, o, g), c && c.m(u, g), O(u, t, g);
297
297
  },
298
- p(u, b) {
299
- i === (i = s(u)) && r ? r.p(u, b) : (r.d(1), r = i(u), r && (r.c(), r.m(e, null))), /*activeBonusesList*/
300
- u[18].length !== 0 ? d ? d.p(u, b) : (d = Ae(u), d.c(), d.m(t.parentNode, t)) : d && (d.d(1), d = null);
298
+ p(u, g) {
299
+ i === (i = s(u)) && r ? r.p(u, g) : (r.d(1), r = i(u), r && (r.c(), r.m(e, null))), /*activeBonusesList*/
300
+ u[19].length !== 0 ? c ? c.p(u, g) : (c = ke(u), c.c(), c.m(t.parentNode, t)) : c && (c.d(1), c = null);
301
301
  },
302
302
  d(u) {
303
- u && (N(e), N(o), N(t)), r.d(), d && d.d(u);
303
+ u && (j(e), j(o), j(t)), r.d(), c && c.d(u);
304
304
  }
305
305
  };
306
306
  }
307
- function mn(n) {
307
+ function bn(n) {
308
308
  let e;
309
309
  return {
310
310
  c() {
311
- e = A("div"), v(e, "class", "ModalLoader"), v(e, "part", "ModalLoader");
311
+ e = M("div"), v(e, "class", "ModalLoader"), v(e, "part", "ModalLoader");
312
312
  },
313
313
  m(o, t) {
314
- D(o, e, t);
314
+ O(o, e, t);
315
315
  },
316
316
  p: le,
317
317
  d(o) {
318
- o && N(e);
318
+ o && j(e);
319
319
  }
320
320
  };
321
321
  }
322
- function bn(n) {
322
+ function gn(n) {
323
323
  let e, o = se(
324
324
  /*activeBonusesList*/
325
- n[18]
325
+ n[19]
326
326
  ), t = [];
327
327
  for (let s = 0; s < o.length; s += 1)
328
- t[s] = Me(Ce(n, o, s));
328
+ t[s] = Ae(we(n, o, s));
329
329
  return {
330
330
  c() {
331
331
  for (let s = 0; s < t.length; s += 1)
@@ -335,19 +335,19 @@ function bn(n) {
335
335
  m(s, i) {
336
336
  for (let r = 0; r < t.length; r += 1)
337
337
  t[r] && t[r].m(s, i);
338
- D(s, e, i);
338
+ O(s, e, i);
339
339
  },
340
340
  p(s, i) {
341
- if (i[0] & /*activeBonusesList, lang, dateformat, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale, ishiddenwageringbonus*/
342
- 262399) {
341
+ if (i[0] & /*activeBonusesList, lang, dateformat, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale, ishiddenwageringbonus, filterbonusbalance*/
342
+ 524799) {
343
343
  o = se(
344
344
  /*activeBonusesList*/
345
- s[18]
345
+ s[19]
346
346
  );
347
347
  let r;
348
348
  for (r = 0; r < o.length; r += 1) {
349
- const d = Ce(s, o, r);
350
- t[r] ? t[r].p(d, i) : (t[r] = Me(d), t[r].c(), t[r].m(e.parentNode, e));
349
+ const c = we(s, o, r);
350
+ t[r] ? t[r].p(c, i) : (t[r] = Ae(c), t[r].c(), t[r].m(e.parentNode, e));
351
351
  }
352
352
  for (; r < t.length; r += 1)
353
353
  t[r].d(1);
@@ -355,54 +355,54 @@ function bn(n) {
355
355
  }
356
356
  },
357
357
  d(s) {
358
- s && N(e), Ee(t, s);
358
+ s && j(e), Pe(t, s);
359
359
  }
360
360
  };
361
361
  }
362
- function gn(n) {
362
+ function Bn(n) {
363
363
  let e, o = (
364
364
  /*$_*/
365
- n[20]("noActiveBonuses") + ""
365
+ n[21]("noActiveBonuses") + ""
366
366
  ), t;
367
367
  return {
368
368
  c() {
369
- e = A("p"), t = z(o);
369
+ e = M("p"), t = D(o);
370
370
  },
371
371
  m(s, i) {
372
- D(s, e, i), f(e, t);
372
+ O(s, e, i), f(e, t);
373
373
  },
374
374
  p(s, i) {
375
375
  i[0] & /*$_*/
376
- 1048576 && o !== (o = /*$_*/
377
- s[20]("noActiveBonuses") + "") && Z(t, o);
376
+ 2097152 && o !== (o = /*$_*/
377
+ s[21]("noActiveBonuses") + "") && J(t, o);
378
378
  },
379
379
  d(s) {
380
- s && N(e);
380
+ s && j(e);
381
381
  }
382
382
  };
383
383
  }
384
- function Bn(n) {
385
- let e, o, t, s, i, r, d, u, b, y, M, k, _, h, C, c, g;
384
+ function vn(n) {
385
+ let e, o, t, s, i, r, c, u, g, y, w, A, _, h, C, d, b;
386
386
  return {
387
387
  c() {
388
- e = A("player-bonus-card"), a(e, "termsandconditionsdescription", o = /*activeBonus*/
389
- n[58].termsandconditionsdescription), a(e, "termsandconditionsurl", t = /*activeBonus*/
390
- n[58].termsandconditionsurl), a(e, "termsandconditionsasset", s = /*activeBonus*/
391
- n[58].termsandconditionsasset), a(e, "endpoint", i = /*activeBonus*/
392
- n[58].endpoint), a(e, "playerid", r = /*activeBonus*/
393
- n[58].playerid), a(e, "session", d = /*activeBonus*/
394
- n[58].session), a(e, "bonuswalletid", u = /*activeBonus*/
395
- n[58].walletId), a(e, "bonusdate", b = /*activeBonus*/
396
- n[58].granted), a(e, "bonusexpirationdate", y = /*activeBonus*/
397
- n[58].expiryTime), a(e, "bonusstatus", M = /*activeBonus*/
398
- n[58].status), a(e, "bonusname", k = /*activeBonus*/
399
- n[58].name), a(e, "bonustype", _ = /*activeBonus*/
400
- n[58].type), a(e, "bonusamount", h = /*activeBonus*/
401
- n[58].extension.grantedPlayerCurrencyAmount), a(e, "bonuswageringamount", C = `${/*activeBonus*/
402
- n[58].fulfilledWR} / ${/*activeBonus*/
403
- n[58].originalWageringRequirement}`), a(e, "bonusremainingamount", c = /*activeBonus*/
404
- n[58].currentAmount), a(e, "bonuscurrency", g = /*activeBonus*/
405
- n[58].currency), a(
388
+ e = M("player-bonus-card"), a(e, "termsandconditionsdescription", o = /*activeBonus*/
389
+ n[59].termsandconditionsdescription), a(e, "termsandconditionsurl", t = /*activeBonus*/
390
+ n[59].termsandconditionsurl), a(e, "termsandconditionsasset", s = /*activeBonus*/
391
+ n[59].termsandconditionsasset), a(e, "endpoint", i = /*activeBonus*/
392
+ n[59].endpoint), a(e, "playerid", r = /*activeBonus*/
393
+ n[59].playerid), a(e, "session", c = /*activeBonus*/
394
+ n[59].session), a(e, "bonuswalletid", u = /*activeBonus*/
395
+ n[59].walletId), a(e, "bonusdate", g = /*activeBonus*/
396
+ n[59].granted), a(e, "bonusexpirationdate", y = /*activeBonus*/
397
+ n[59].expiryTime), a(e, "bonusstatus", w = /*activeBonus*/
398
+ n[59].status), a(e, "bonusname", A = /*activeBonus*/
399
+ n[59].name), a(e, "bonustype", _ = /*activeBonus*/
400
+ n[59].type), a(e, "bonusamount", h = /*activeBonus*/
401
+ n[59].extension.grantedPlayerCurrencyAmount), a(e, "bonuswageringamount", C = `${/*activeBonus*/
402
+ n[59].fulfilledWR} / ${/*activeBonus*/
403
+ n[59].originalWageringRequirement}`), a(e, "bonusremainingamount", d = /*activeBonus*/
404
+ n[59].currentAmount), a(e, "bonuscurrency", b = /*activeBonus*/
405
+ n[59].currency), a(
406
406
  e,
407
407
  "lang",
408
408
  /*lang*/
@@ -442,119 +442,130 @@ function Bn(n) {
442
442
  "ishiddenwageringbonus",
443
443
  /*ishiddenwageringbonus*/
444
444
  n[7]
445
+ ), a(
446
+ e,
447
+ "filterbonusbalance",
448
+ /*filterbonusbalance*/
449
+ n[8]
445
450
  );
446
451
  },
447
- m(p, m) {
448
- D(p, e, m);
452
+ m(p, B) {
453
+ O(p, e, B);
449
454
  },
450
- p(p, m) {
451
- m[0] & /*activeBonusesList*/
452
- 262144 && o !== (o = /*activeBonus*/
453
- p[58].termsandconditionsdescription) && a(e, "termsandconditionsdescription", o), m[0] & /*activeBonusesList*/
454
- 262144 && t !== (t = /*activeBonus*/
455
- p[58].termsandconditionsurl) && a(e, "termsandconditionsurl", t), m[0] & /*activeBonusesList*/
456
- 262144 && s !== (s = /*activeBonus*/
457
- p[58].termsandconditionsasset) && a(e, "termsandconditionsasset", s), m[0] & /*activeBonusesList*/
458
- 262144 && i !== (i = /*activeBonus*/
459
- p[58].endpoint) && a(e, "endpoint", i), m[0] & /*activeBonusesList*/
460
- 262144 && r !== (r = /*activeBonus*/
461
- p[58].playerid) && a(e, "playerid", r), m[0] & /*activeBonusesList*/
462
- 262144 && d !== (d = /*activeBonus*/
463
- p[58].session) && a(e, "session", d), m[0] & /*activeBonusesList*/
464
- 262144 && u !== (u = /*activeBonus*/
465
- p[58].walletId) && a(e, "bonuswalletid", u), m[0] & /*activeBonusesList*/
466
- 262144 && b !== (b = /*activeBonus*/
467
- p[58].granted) && a(e, "bonusdate", b), m[0] & /*activeBonusesList*/
468
- 262144 && y !== (y = /*activeBonus*/
469
- p[58].expiryTime) && a(e, "bonusexpirationdate", y), m[0] & /*activeBonusesList*/
470
- 262144 && M !== (M = /*activeBonus*/
471
- p[58].status) && a(e, "bonusstatus", M), m[0] & /*activeBonusesList*/
472
- 262144 && k !== (k = /*activeBonus*/
473
- p[58].name) && a(e, "bonusname", k), m[0] & /*activeBonusesList*/
474
- 262144 && _ !== (_ = /*activeBonus*/
475
- p[58].type) && a(e, "bonustype", _), m[0] & /*activeBonusesList*/
476
- 262144 && h !== (h = /*activeBonus*/
477
- p[58].extension.grantedPlayerCurrencyAmount) && a(e, "bonusamount", h), m[0] & /*activeBonusesList*/
478
- 262144 && C !== (C = `${/*activeBonus*/
479
- p[58].fulfilledWR} / ${/*activeBonus*/
480
- p[58].originalWageringRequirement}`) && a(e, "bonuswageringamount", C), m[0] & /*activeBonusesList*/
481
- 262144 && c !== (c = /*activeBonus*/
482
- p[58].currentAmount) && a(e, "bonusremainingamount", c), m[0] & /*activeBonusesList*/
483
- 262144 && g !== (g = /*activeBonus*/
484
- p[58].currency) && a(e, "bonuscurrency", g), m[0] & /*lang*/
455
+ p(p, B) {
456
+ B[0] & /*activeBonusesList*/
457
+ 524288 && o !== (o = /*activeBonus*/
458
+ p[59].termsandconditionsdescription) && a(e, "termsandconditionsdescription", o), B[0] & /*activeBonusesList*/
459
+ 524288 && t !== (t = /*activeBonus*/
460
+ p[59].termsandconditionsurl) && a(e, "termsandconditionsurl", t), B[0] & /*activeBonusesList*/
461
+ 524288 && s !== (s = /*activeBonus*/
462
+ p[59].termsandconditionsasset) && a(e, "termsandconditionsasset", s), B[0] & /*activeBonusesList*/
463
+ 524288 && i !== (i = /*activeBonus*/
464
+ p[59].endpoint) && a(e, "endpoint", i), B[0] & /*activeBonusesList*/
465
+ 524288 && r !== (r = /*activeBonus*/
466
+ p[59].playerid) && a(e, "playerid", r), B[0] & /*activeBonusesList*/
467
+ 524288 && c !== (c = /*activeBonus*/
468
+ p[59].session) && a(e, "session", c), B[0] & /*activeBonusesList*/
469
+ 524288 && u !== (u = /*activeBonus*/
470
+ p[59].walletId) && a(e, "bonuswalletid", u), B[0] & /*activeBonusesList*/
471
+ 524288 && g !== (g = /*activeBonus*/
472
+ p[59].granted) && a(e, "bonusdate", g), B[0] & /*activeBonusesList*/
473
+ 524288 && y !== (y = /*activeBonus*/
474
+ p[59].expiryTime) && a(e, "bonusexpirationdate", y), B[0] & /*activeBonusesList*/
475
+ 524288 && w !== (w = /*activeBonus*/
476
+ p[59].status) && a(e, "bonusstatus", w), B[0] & /*activeBonusesList*/
477
+ 524288 && A !== (A = /*activeBonus*/
478
+ p[59].name) && a(e, "bonusname", A), B[0] & /*activeBonusesList*/
479
+ 524288 && _ !== (_ = /*activeBonus*/
480
+ p[59].type) && a(e, "bonustype", _), B[0] & /*activeBonusesList*/
481
+ 524288 && h !== (h = /*activeBonus*/
482
+ p[59].extension.grantedPlayerCurrencyAmount) && a(e, "bonusamount", h), B[0] & /*activeBonusesList*/
483
+ 524288 && C !== (C = `${/*activeBonus*/
484
+ p[59].fulfilledWR} / ${/*activeBonus*/
485
+ p[59].originalWageringRequirement}`) && a(e, "bonuswageringamount", C), B[0] & /*activeBonusesList*/
486
+ 524288 && d !== (d = /*activeBonus*/
487
+ p[59].currentAmount) && a(e, "bonusremainingamount", d), B[0] & /*activeBonusesList*/
488
+ 524288 && b !== (b = /*activeBonus*/
489
+ p[59].currency) && a(e, "bonuscurrency", b), B[0] & /*lang*/
485
490
  1 && a(
486
491
  e,
487
492
  "lang",
488
493
  /*lang*/
489
494
  p[0]
490
- ), m[0] & /*dateformat*/
495
+ ), B[0] & /*dateformat*/
491
496
  64 && a(
492
497
  e,
493
498
  "dateformat",
494
499
  /*dateformat*/
495
500
  p[6]
496
- ), m[0] & /*clientstyling*/
501
+ ), B[0] & /*clientstyling*/
497
502
  2 && a(
498
503
  e,
499
504
  "clientstyling",
500
505
  /*clientstyling*/
501
506
  p[1]
502
- ), m[0] & /*clientstylingurl*/
507
+ ), B[0] & /*clientstylingurl*/
503
508
  4 && a(
504
509
  e,
505
510
  "clientstylingurl",
506
511
  /*clientstylingurl*/
507
512
  p[2]
508
- ), m[0] & /*mbsource*/
513
+ ), B[0] & /*mbsource*/
509
514
  8 && a(
510
515
  e,
511
516
  "mbsource",
512
517
  /*mbsource*/
513
518
  p[3]
514
- ), m[0] & /*translationurl*/
519
+ ), B[0] & /*translationurl*/
515
520
  16 && a(
516
521
  e,
517
522
  "translationurl",
518
523
  /*translationurl*/
519
524
  p[4]
520
- ), m[0] & /*currencylocale*/
525
+ ), B[0] & /*currencylocale*/
521
526
  32 && a(
522
527
  e,
523
528
  "currencylocale",
524
529
  /*currencylocale*/
525
530
  p[5]
526
- ), m[0] & /*ishiddenwageringbonus*/
531
+ ), B[0] & /*ishiddenwageringbonus*/
527
532
  128 && a(
528
533
  e,
529
534
  "ishiddenwageringbonus",
530
535
  /*ishiddenwageringbonus*/
531
536
  p[7]
537
+ ), B[0] & /*filterbonusbalance*/
538
+ 256 && a(
539
+ e,
540
+ "filterbonusbalance",
541
+ /*filterbonusbalance*/
542
+ p[8]
532
543
  );
533
544
  },
534
545
  d(p) {
535
- p && N(e);
546
+ p && j(e);
536
547
  }
537
548
  };
538
549
  }
539
- function vn(n) {
540
- let e, o, t, s, i, r, d, u, b, y, M, k, _, h, C;
550
+ function _n(n) {
551
+ let e, o, t, s, i, r, c, u, g, y, w, A, _, h, C;
541
552
  return {
542
553
  c() {
543
- e = A("player-bonus-card"), a(e, "termsandconditionsdescription", o = /*activeBonus*/
544
- n[58].termsandconditionsdescription), a(e, "termsandconditionsurl", t = /*activeBonus*/
545
- n[58].termsandconditionsurl), a(e, "termsandconditionsasset", s = /*activeBonus*/
546
- n[58].termsandconditionsasset), a(e, "endpoint", i = /*activeBonus*/
547
- n[58].endpoint), a(e, "playerid", r = /*activeBonus*/
548
- n[58].playerid), a(e, "session", d = /*activeBonus*/
549
- n[58].session), a(e, "bonuswalletid", u = /*activeBonus*/
550
- n[58].walletId), a(e, "bonusdate", b = /*activeBonus*/
551
- n[58].granted), a(e, "bonusexpirationdate", y = /*activeBonus*/
552
- n[58].expiryTime), a(e, "bonusstatus", M = /*activeBonus*/
553
- n[58].status), a(e, "bonusname", k = /*activeBonus*/
554
- n[58].name), a(e, "bonustype", _ = /*activeBonus*/
555
- n[58].type), a(e, "bonuscurrency", h = /*activeBonus*/
556
- n[58].currency), a(e, "bonusfreespins", C = /*activeBonus*/
557
- n[58].freeRoundNumber), a(
554
+ e = M("player-bonus-card"), a(e, "termsandconditionsdescription", o = /*activeBonus*/
555
+ n[59].termsandconditionsdescription), a(e, "termsandconditionsurl", t = /*activeBonus*/
556
+ n[59].termsandconditionsurl), a(e, "termsandconditionsasset", s = /*activeBonus*/
557
+ n[59].termsandconditionsasset), a(e, "endpoint", i = /*activeBonus*/
558
+ n[59].endpoint), a(e, "playerid", r = /*activeBonus*/
559
+ n[59].playerid), a(e, "session", c = /*activeBonus*/
560
+ n[59].session), a(e, "bonuswalletid", u = /*activeBonus*/
561
+ n[59].walletId), a(e, "bonusdate", g = /*activeBonus*/
562
+ n[59].granted), a(e, "bonusexpirationdate", y = /*activeBonus*/
563
+ n[59].expiryTime), a(e, "bonusstatus", w = /*activeBonus*/
564
+ n[59].status), a(e, "bonusname", A = /*activeBonus*/
565
+ n[59].name), a(e, "bonustype", _ = /*activeBonus*/
566
+ n[59].type), a(e, "bonuscurrency", h = /*activeBonus*/
567
+ n[59].currency), a(e, "bonusfreespins", C = /*activeBonus*/
568
+ n[59].freeRoundNumber), a(
558
569
  e,
559
570
  "lang",
560
571
  /*lang*/
@@ -594,101 +605,112 @@ function vn(n) {
594
605
  "ishiddenwageringbonus",
595
606
  /*ishiddenwageringbonus*/
596
607
  n[7]
608
+ ), a(
609
+ e,
610
+ "filterbonusbalance",
611
+ /*filterbonusbalance*/
612
+ n[8]
597
613
  );
598
614
  },
599
- m(c, g) {
600
- D(c, e, g);
615
+ m(d, b) {
616
+ O(d, e, b);
601
617
  },
602
- p(c, g) {
603
- g[0] & /*activeBonusesList*/
604
- 262144 && o !== (o = /*activeBonus*/
605
- c[58].termsandconditionsdescription) && a(e, "termsandconditionsdescription", o), g[0] & /*activeBonusesList*/
606
- 262144 && t !== (t = /*activeBonus*/
607
- c[58].termsandconditionsurl) && a(e, "termsandconditionsurl", t), g[0] & /*activeBonusesList*/
608
- 262144 && s !== (s = /*activeBonus*/
609
- c[58].termsandconditionsasset) && a(e, "termsandconditionsasset", s), g[0] & /*activeBonusesList*/
610
- 262144 && i !== (i = /*activeBonus*/
611
- c[58].endpoint) && a(e, "endpoint", i), g[0] & /*activeBonusesList*/
612
- 262144 && r !== (r = /*activeBonus*/
613
- c[58].playerid) && a(e, "playerid", r), g[0] & /*activeBonusesList*/
614
- 262144 && d !== (d = /*activeBonus*/
615
- c[58].session) && a(e, "session", d), g[0] & /*activeBonusesList*/
616
- 262144 && u !== (u = /*activeBonus*/
617
- c[58].walletId) && a(e, "bonuswalletid", u), g[0] & /*activeBonusesList*/
618
- 262144 && b !== (b = /*activeBonus*/
619
- c[58].granted) && a(e, "bonusdate", b), g[0] & /*activeBonusesList*/
620
- 262144 && y !== (y = /*activeBonus*/
621
- c[58].expiryTime) && a(e, "bonusexpirationdate", y), g[0] & /*activeBonusesList*/
622
- 262144 && M !== (M = /*activeBonus*/
623
- c[58].status) && a(e, "bonusstatus", M), g[0] & /*activeBonusesList*/
624
- 262144 && k !== (k = /*activeBonus*/
625
- c[58].name) && a(e, "bonusname", k), g[0] & /*activeBonusesList*/
626
- 262144 && _ !== (_ = /*activeBonus*/
627
- c[58].type) && a(e, "bonustype", _), g[0] & /*activeBonusesList*/
628
- 262144 && h !== (h = /*activeBonus*/
629
- c[58].currency) && a(e, "bonuscurrency", h), g[0] & /*activeBonusesList*/
630
- 262144 && C !== (C = /*activeBonus*/
631
- c[58].freeRoundNumber) && a(e, "bonusfreespins", C), g[0] & /*lang*/
618
+ p(d, b) {
619
+ b[0] & /*activeBonusesList*/
620
+ 524288 && o !== (o = /*activeBonus*/
621
+ d[59].termsandconditionsdescription) && a(e, "termsandconditionsdescription", o), b[0] & /*activeBonusesList*/
622
+ 524288 && t !== (t = /*activeBonus*/
623
+ d[59].termsandconditionsurl) && a(e, "termsandconditionsurl", t), b[0] & /*activeBonusesList*/
624
+ 524288 && s !== (s = /*activeBonus*/
625
+ d[59].termsandconditionsasset) && a(e, "termsandconditionsasset", s), b[0] & /*activeBonusesList*/
626
+ 524288 && i !== (i = /*activeBonus*/
627
+ d[59].endpoint) && a(e, "endpoint", i), b[0] & /*activeBonusesList*/
628
+ 524288 && r !== (r = /*activeBonus*/
629
+ d[59].playerid) && a(e, "playerid", r), b[0] & /*activeBonusesList*/
630
+ 524288 && c !== (c = /*activeBonus*/
631
+ d[59].session) && a(e, "session", c), b[0] & /*activeBonusesList*/
632
+ 524288 && u !== (u = /*activeBonus*/
633
+ d[59].walletId) && a(e, "bonuswalletid", u), b[0] & /*activeBonusesList*/
634
+ 524288 && g !== (g = /*activeBonus*/
635
+ d[59].granted) && a(e, "bonusdate", g), b[0] & /*activeBonusesList*/
636
+ 524288 && y !== (y = /*activeBonus*/
637
+ d[59].expiryTime) && a(e, "bonusexpirationdate", y), b[0] & /*activeBonusesList*/
638
+ 524288 && w !== (w = /*activeBonus*/
639
+ d[59].status) && a(e, "bonusstatus", w), b[0] & /*activeBonusesList*/
640
+ 524288 && A !== (A = /*activeBonus*/
641
+ d[59].name) && a(e, "bonusname", A), b[0] & /*activeBonusesList*/
642
+ 524288 && _ !== (_ = /*activeBonus*/
643
+ d[59].type) && a(e, "bonustype", _), b[0] & /*activeBonusesList*/
644
+ 524288 && h !== (h = /*activeBonus*/
645
+ d[59].currency) && a(e, "bonuscurrency", h), b[0] & /*activeBonusesList*/
646
+ 524288 && C !== (C = /*activeBonus*/
647
+ d[59].freeRoundNumber) && a(e, "bonusfreespins", C), b[0] & /*lang*/
632
648
  1 && a(
633
649
  e,
634
650
  "lang",
635
651
  /*lang*/
636
- c[0]
637
- ), g[0] & /*dateformat*/
652
+ d[0]
653
+ ), b[0] & /*dateformat*/
638
654
  64 && a(
639
655
  e,
640
656
  "dateformat",
641
657
  /*dateformat*/
642
- c[6]
643
- ), g[0] & /*clientstyling*/
658
+ d[6]
659
+ ), b[0] & /*clientstyling*/
644
660
  2 && a(
645
661
  e,
646
662
  "clientstyling",
647
663
  /*clientstyling*/
648
- c[1]
649
- ), g[0] & /*clientstylingurl*/
664
+ d[1]
665
+ ), b[0] & /*clientstylingurl*/
650
666
  4 && a(
651
667
  e,
652
668
  "clientstylingurl",
653
669
  /*clientstylingurl*/
654
- c[2]
655
- ), g[0] & /*mbsource*/
670
+ d[2]
671
+ ), b[0] & /*mbsource*/
656
672
  8 && a(
657
673
  e,
658
674
  "mbsource",
659
675
  /*mbsource*/
660
- c[3]
661
- ), g[0] & /*translationurl*/
676
+ d[3]
677
+ ), b[0] & /*translationurl*/
662
678
  16 && a(
663
679
  e,
664
680
  "translationurl",
665
681
  /*translationurl*/
666
- c[4]
667
- ), g[0] & /*currencylocale*/
682
+ d[4]
683
+ ), b[0] & /*currencylocale*/
668
684
  32 && a(
669
685
  e,
670
686
  "currencylocale",
671
687
  /*currencylocale*/
672
- c[5]
673
- ), g[0] & /*ishiddenwageringbonus*/
688
+ d[5]
689
+ ), b[0] & /*ishiddenwageringbonus*/
674
690
  128 && a(
675
691
  e,
676
692
  "ishiddenwageringbonus",
677
693
  /*ishiddenwageringbonus*/
678
- c[7]
694
+ d[7]
695
+ ), b[0] & /*filterbonusbalance*/
696
+ 256 && a(
697
+ e,
698
+ "filterbonusbalance",
699
+ /*filterbonusbalance*/
700
+ d[8]
679
701
  );
680
702
  },
681
- d(c) {
682
- c && N(e);
703
+ d(d) {
704
+ d && j(e);
683
705
  }
684
706
  };
685
707
  }
686
- function Me(n) {
708
+ function Ae(n) {
687
709
  let e;
688
710
  function o(i, r) {
689
711
  return (
690
712
  /*activeBonus*/
691
- i[58].type === "freeRound" ? vn : Bn
713
+ i[59].type === "freeRound" ? _n : vn
692
714
  );
693
715
  }
694
716
  let t = o(n), s = t(n);
@@ -697,300 +719,300 @@ function Me(n) {
697
719
  s.c(), e = de();
698
720
  },
699
721
  m(i, r) {
700
- s.m(i, r), D(i, e, r);
722
+ s.m(i, r), O(i, e, r);
701
723
  },
702
724
  p(i, r) {
703
725
  t === (t = o(i)) && s ? s.p(i, r) : (s.d(1), s = t(i), s && (s.c(), s.m(e.parentNode, e)));
704
726
  },
705
727
  d(i) {
706
- i && N(e), s.d(i);
728
+ i && j(e), s.d(i);
707
729
  }
708
730
  };
709
731
  }
710
- function Ae(n) {
711
- let e, o, t, s, i, r, d, u, b, y, M, k, _, h, C, c, g, p, m, Y, X, J, G, O = se(Array(
732
+ function ke(n) {
733
+ let e, o, t, s, i, r, c, u, g, y, w, A, _, h, C, d, b, p, B, T, Y, K, X, U = se(Array(
712
734
  /*numberOfPages*/
713
- n[16]
714
- )), w = [];
715
- for (let B = 0; B < O.length; B += 1)
716
- w[B] = ke(he(n, O, B));
735
+ n[17]
736
+ )), k = [];
737
+ for (let m = 0; m < U.length; m += 1)
738
+ k[m] = We(Ce(n, U, m));
717
739
  return {
718
740
  c() {
719
- e = A("div"), o = A("button"), t = z("|<"), r = L(), d = A("button"), u = z("<"), M = L();
720
- for (let B = 0; B < w.length; B += 1)
721
- w[B].c();
722
- k = L(), _ = A("button"), h = z(">"), g = L(), p = A("button"), m = z(">|"), o.disabled = s = /*currentPage*/
723
- n[17] === 0, v(o, "class", i = "BonusesFirst " + /*currentPage*/
724
- (n[17] === 0 ? "Inactive" : "")), d.disabled = b = /*currentPage*/
725
- n[17] === 0, v(d, "class", y = "BonusesPrev " + /*currentPage*/
726
- (n[17] === 0 ? "Inactive" : "")), _.disabled = C = /*currentPage*/
727
- n[17] === /*numberOfPages*/
728
- n[16] - 1, v(_, "class", c = "BonusesNext " + /*currentPage*/
729
- (n[17] === /*numberOfPages*/
730
- n[16] - 1 ? "Inactive" : "")), p.disabled = Y = /*currentPage*/
731
- n[17] === /*numberOfPages*/
732
- n[16] - 1, v(p, "class", X = "BonusesLast " + /*currentPage*/
733
- (n[17] === /*numberOfPages*/
734
- n[16] - 1 ? "Inactive" : "")), v(e, "class", "BonusesPaginationWrapper " + /*isMobile*/
735
- (n[21] ? "BonusesPaginationWrapperMobile" : ""));
741
+ e = M("div"), o = M("button"), t = D("|<"), r = N(), c = M("button"), u = D("<"), w = N();
742
+ for (let m = 0; m < k.length; m += 1)
743
+ k[m].c();
744
+ A = N(), _ = M("button"), h = D(">"), b = N(), p = M("button"), B = D(">|"), o.disabled = s = /*currentPage*/
745
+ n[18] === 0, v(o, "class", i = "BonusesFirst " + /*currentPage*/
746
+ (n[18] === 0 ? "Inactive" : "")), c.disabled = g = /*currentPage*/
747
+ n[18] === 0, v(c, "class", y = "BonusesPrev " + /*currentPage*/
748
+ (n[18] === 0 ? "Inactive" : "")), _.disabled = C = /*currentPage*/
749
+ n[18] === /*numberOfPages*/
750
+ n[17] - 1, v(_, "class", d = "BonusesNext " + /*currentPage*/
751
+ (n[18] === /*numberOfPages*/
752
+ n[17] - 1 ? "Inactive" : "")), p.disabled = T = /*currentPage*/
753
+ n[18] === /*numberOfPages*/
754
+ n[17] - 1, v(p, "class", Y = "BonusesLast " + /*currentPage*/
755
+ (n[18] === /*numberOfPages*/
756
+ n[17] - 1 ? "Inactive" : "")), v(e, "class", "BonusesPaginationWrapper " + /*isMobile*/
757
+ (n[22] ? "BonusesPaginationWrapperMobile" : ""));
736
758
  },
737
- m(B, S) {
738
- D(B, e, S), f(e, o), f(o, t), f(e, r), f(e, d), f(d, u), f(e, M);
739
- for (let E = 0; E < w.length; E += 1)
740
- w[E] && w[E].m(e, null);
741
- f(e, k), f(e, _), f(_, h), f(e, g), f(e, p), f(p, m), J || (G = [
742
- q(
759
+ m(m, S) {
760
+ O(m, e, S), f(e, o), f(o, t), f(e, r), f(e, c), f(c, u), f(e, w);
761
+ for (let E = 0; E < k.length; E += 1)
762
+ k[E] && k[E].m(e, null);
763
+ f(e, A), f(e, _), f(_, h), f(e, b), f(e, p), f(p, B), K || (X = [
764
+ G(
743
765
  o,
744
766
  "click",
745
767
  /*click_handler_1*/
746
- n[37]
768
+ n[38]
747
769
  ),
748
- q(
749
- d,
770
+ G(
771
+ c,
750
772
  "click",
751
773
  /*click_handler_2*/
752
- n[38]
774
+ n[39]
753
775
  ),
754
- q(
776
+ G(
755
777
  _,
756
778
  "click",
757
779
  /*click_handler_4*/
758
- n[40]
780
+ n[41]
759
781
  ),
760
- q(
782
+ G(
761
783
  p,
762
784
  "click",
763
785
  /*click_handler_5*/
764
- n[41]
786
+ n[42]
765
787
  )
766
- ], J = !0);
788
+ ], K = !0);
767
789
  },
768
- p(B, S) {
790
+ p(m, S) {
769
791
  if (S[0] & /*currentPage*/
770
- 131072 && s !== (s = /*currentPage*/
771
- B[17] === 0) && (o.disabled = s), S[0] & /*currentPage*/
772
- 131072 && i !== (i = "BonusesFirst " + /*currentPage*/
773
- (B[17] === 0 ? "Inactive" : "")) && v(o, "class", i), S[0] & /*currentPage*/
774
- 131072 && b !== (b = /*currentPage*/
775
- B[17] === 0) && (d.disabled = b), S[0] & /*currentPage*/
776
- 131072 && y !== (y = "BonusesPrev " + /*currentPage*/
777
- (B[17] === 0 ? "Inactive" : "")) && v(d, "class", y), S[0] & /*currentPage, getActiveBonuses, numberOfPages*/
778
- 16973824) {
779
- O = se(Array(
792
+ 262144 && s !== (s = /*currentPage*/
793
+ m[18] === 0) && (o.disabled = s), S[0] & /*currentPage*/
794
+ 262144 && i !== (i = "BonusesFirst " + /*currentPage*/
795
+ (m[18] === 0 ? "Inactive" : "")) && v(o, "class", i), S[0] & /*currentPage*/
796
+ 262144 && g !== (g = /*currentPage*/
797
+ m[18] === 0) && (c.disabled = g), S[0] & /*currentPage*/
798
+ 262144 && y !== (y = "BonusesPrev " + /*currentPage*/
799
+ (m[18] === 0 ? "Inactive" : "")) && v(c, "class", y), S[0] & /*currentPage, getActiveBonuses, numberOfPages*/
800
+ 33947648) {
801
+ U = se(Array(
780
802
  /*numberOfPages*/
781
- B[16]
803
+ m[17]
782
804
  ));
783
805
  let E;
784
- for (E = 0; E < O.length; E += 1) {
785
- const I = he(B, O, E);
786
- w[E] ? w[E].p(I, S) : (w[E] = ke(I), w[E].c(), w[E].m(e, k));
806
+ for (E = 0; E < U.length; E += 1) {
807
+ const F = Ce(m, U, E);
808
+ k[E] ? k[E].p(F, S) : (k[E] = We(F), k[E].c(), k[E].m(e, A));
787
809
  }
788
- for (; E < w.length; E += 1)
789
- w[E].d(1);
790
- w.length = O.length;
810
+ for (; E < k.length; E += 1)
811
+ k[E].d(1);
812
+ k.length = U.length;
791
813
  }
792
814
  S[0] & /*currentPage, numberOfPages*/
793
- 196608 && C !== (C = /*currentPage*/
794
- B[17] === /*numberOfPages*/
795
- B[16] - 1) && (_.disabled = C), S[0] & /*currentPage, numberOfPages*/
796
- 196608 && c !== (c = "BonusesNext " + /*currentPage*/
797
- (B[17] === /*numberOfPages*/
798
- B[16] - 1 ? "Inactive" : "")) && v(_, "class", c), S[0] & /*currentPage, numberOfPages*/
799
- 196608 && Y !== (Y = /*currentPage*/
800
- B[17] === /*numberOfPages*/
801
- B[16] - 1) && (p.disabled = Y), S[0] & /*currentPage, numberOfPages*/
802
- 196608 && X !== (X = "BonusesLast " + /*currentPage*/
803
- (B[17] === /*numberOfPages*/
804
- B[16] - 1 ? "Inactive" : "")) && v(p, "class", X);
815
+ 393216 && C !== (C = /*currentPage*/
816
+ m[18] === /*numberOfPages*/
817
+ m[17] - 1) && (_.disabled = C), S[0] & /*currentPage, numberOfPages*/
818
+ 393216 && d !== (d = "BonusesNext " + /*currentPage*/
819
+ (m[18] === /*numberOfPages*/
820
+ m[17] - 1 ? "Inactive" : "")) && v(_, "class", d), S[0] & /*currentPage, numberOfPages*/
821
+ 393216 && T !== (T = /*currentPage*/
822
+ m[18] === /*numberOfPages*/
823
+ m[17] - 1) && (p.disabled = T), S[0] & /*currentPage, numberOfPages*/
824
+ 393216 && Y !== (Y = "BonusesLast " + /*currentPage*/
825
+ (m[18] === /*numberOfPages*/
826
+ m[17] - 1 ? "Inactive" : "")) && v(p, "class", Y);
805
827
  },
806
- d(B) {
807
- B && N(e), Ee(w, B), J = !1, ue(G);
828
+ d(m) {
829
+ m && j(e), Pe(k, m), K = !1, ue(X);
808
830
  }
809
831
  };
810
832
  }
811
- function ke(n) {
833
+ function We(n) {
812
834
  let e, o = (
813
835
  /*i*/
814
- n[57] + 1 + ""
815
- ), t, s, i, r, d;
836
+ n[58] + 1 + ""
837
+ ), t, s, i, r, c;
816
838
  function u() {
817
839
  return (
818
840
  /*click_handler_3*/
819
- n[39](
841
+ n[40](
820
842
  /*i*/
821
- n[57]
843
+ n[58]
822
844
  )
823
845
  );
824
846
  }
825
847
  return {
826
848
  c() {
827
- e = A("button"), t = z(o), e.disabled = s = /*i*/
828
- n[57] === /*currentPage*/
829
- n[17], v(e, "class", i = "BonusesPage " + /*i*/
830
- (n[57] === /*currentPage*/
831
- n[17] ? "BonusPageActive" : ""));
849
+ e = M("button"), t = D(o), e.disabled = s = /*i*/
850
+ n[58] === /*currentPage*/
851
+ n[18], v(e, "class", i = "BonusesPage " + /*i*/
852
+ (n[58] === /*currentPage*/
853
+ n[18] ? "BonusPageActive" : ""));
832
854
  },
833
- m(b, y) {
834
- D(b, e, y), f(e, t), r || (d = q(e, "click", u), r = !0);
855
+ m(g, y) {
856
+ O(g, e, y), f(e, t), r || (c = G(e, "click", u), r = !0);
835
857
  },
836
- p(b, y) {
837
- n = b, y[0] & /*currentPage*/
838
- 131072 && s !== (s = /*i*/
839
- n[57] === /*currentPage*/
840
- n[17]) && (e.disabled = s), y[0] & /*currentPage*/
841
- 131072 && i !== (i = "BonusesPage " + /*i*/
842
- (n[57] === /*currentPage*/
843
- n[17] ? "BonusPageActive" : "")) && v(e, "class", i);
858
+ p(g, y) {
859
+ n = g, y[0] & /*currentPage*/
860
+ 262144 && s !== (s = /*i*/
861
+ n[58] === /*currentPage*/
862
+ n[18]) && (e.disabled = s), y[0] & /*currentPage*/
863
+ 262144 && i !== (i = "BonusesPage " + /*i*/
864
+ (n[58] === /*currentPage*/
865
+ n[18] ? "BonusPageActive" : "")) && v(e, "class", i);
844
866
  },
845
- d(b) {
846
- b && N(e), r = !1, d();
867
+ d(g) {
868
+ g && j(e), r = !1, c();
847
869
  }
848
870
  };
849
871
  }
850
- function We(n) {
872
+ function Ee(n) {
851
873
  let e, o, t, s, i = (
852
874
  /*$_*/
853
- n[20]("forfeitBonus") + ""
854
- ), r, d, u, b, y = (
875
+ n[21]("forfeitBonus") + ""
876
+ ), r, c, u, g, y = (
855
877
  /*$_*/
856
- n[20]("forfeitBonusCancel") + ""
857
- ), M, k, _, h = (
878
+ n[21]("forfeitBonusCancel") + ""
879
+ ), w, A, _, h = (
858
880
  /*$_*/
859
- n[20]("forfeitBonusConfirm") + ""
860
- ), C, c, g;
881
+ n[21]("forfeitBonusConfirm") + ""
882
+ ), C, d, b;
861
883
  return {
862
884
  c() {
863
- e = A("div"), o = A("div"), t = A("div"), s = A("p"), r = z(i), d = L(), u = A("div"), b = A("button"), M = z(y), k = L(), _ = A("button"), C = z(h), v(s, "class", "ModalText"), v(b, "class", "ModalCancel"), v(_, "class", "ModalConfirm"), v(u, "class", "ModalButtons"), v(t, "class", "ModalBody"), v(o, "class", "ModalContent"), v(e, "class", "ModalWrapper " + /*isMobile*/
864
- (n[21] ? "ModalWrapperMobile" : ""));
885
+ e = M("div"), o = M("div"), t = M("div"), s = M("p"), r = D(i), c = N(), u = M("div"), g = M("button"), w = D(y), A = N(), _ = M("button"), C = D(h), v(s, "class", "ModalText"), v(g, "class", "ModalCancel"), v(_, "class", "ModalConfirm"), v(u, "class", "ModalButtons"), v(t, "class", "ModalBody"), v(o, "class", "ModalContent"), v(e, "class", "ModalWrapper " + /*isMobile*/
886
+ (n[22] ? "ModalWrapperMobile" : ""));
865
887
  },
866
- m(p, m) {
867
- D(p, e, m), f(e, o), f(o, t), f(t, s), f(s, r), f(t, d), f(t, u), f(u, b), f(b, M), f(u, k), f(u, _), f(_, C), c || (g = [
868
- q(
869
- b,
888
+ m(p, B) {
889
+ O(p, e, B), f(e, o), f(o, t), f(t, s), f(s, r), f(t, c), f(t, u), f(u, g), f(g, w), f(u, A), f(u, _), f(_, C), d || (b = [
890
+ G(
891
+ g,
870
892
  "click",
871
893
  /*closeBonusModal*/
872
- n[26]
894
+ n[27]
873
895
  ),
874
- q(
896
+ G(
875
897
  _,
876
898
  "click",
877
899
  /*debouncedFunction*/
878
- n[28](
900
+ n[29](
879
901
  /*deleteBonus*/
880
- n[27]
902
+ n[28]
881
903
  )
882
904
  )
883
- ], c = !0);
905
+ ], d = !0);
884
906
  },
885
- p(p, m) {
886
- m[0] & /*$_*/
887
- 1048576 && i !== (i = /*$_*/
888
- p[20]("forfeitBonus") + "") && Z(r, i), m[0] & /*$_*/
889
- 1048576 && y !== (y = /*$_*/
890
- p[20]("forfeitBonusCancel") + "") && Z(M, y), m[0] & /*$_*/
891
- 1048576 && h !== (h = /*$_*/
892
- p[20]("forfeitBonusConfirm") + "") && Z(C, h);
907
+ p(p, B) {
908
+ B[0] & /*$_*/
909
+ 2097152 && i !== (i = /*$_*/
910
+ p[21]("forfeitBonus") + "") && J(r, i), B[0] & /*$_*/
911
+ 2097152 && y !== (y = /*$_*/
912
+ p[21]("forfeitBonusCancel") + "") && J(w, y), B[0] & /*$_*/
913
+ 2097152 && h !== (h = /*$_*/
914
+ p[21]("forfeitBonusConfirm") + "") && J(C, h);
893
915
  },
894
916
  d(p) {
895
- p && N(e), c = !1, ue(g);
917
+ p && j(e), d = !1, ue(b);
896
918
  }
897
919
  };
898
920
  }
899
- function _n(n) {
921
+ function yn(n) {
900
922
  let e, o, t, s, i = (
901
923
  /*$_*/
902
- n[20]("titleBonuses") + ""
903
- ), r, d, u, b, y = (
924
+ n[21]("titleBonuses") + ""
925
+ ), r, c, u, g, y = (
904
926
  /*$_*/
905
- n[20]("bonusCode") + ""
906
- ), M, k, _, h, C, c, g = (
927
+ n[21]("bonusCode") + ""
928
+ ), w, A, _, h, C, d, b = (
907
929
  /*$_*/
908
- n[20]("getBonus") + ""
909
- ), p, m, Y, X, J, G, O, w = (
930
+ n[21]("getBonus") + ""
931
+ ), p, B, T, Y, K, X, U, k = (
910
932
  /*isMobile*/
911
- n[21] && pn(n)
912
- ), B = (
933
+ n[22] && fn(n)
934
+ ), m = (
913
935
  /*invalidBonusCode*/
914
- n[11] && we(n)
936
+ n[12] && Me(n)
915
937
  );
916
938
  function S(W, R) {
917
939
  return (
918
940
  /*isLoading*/
919
- W[9] ? mn : fn
941
+ W[10] ? bn : mn
920
942
  );
921
943
  }
922
- let E = S(n), I = E(n), T = (
944
+ let E = S(n), F = E(n), I = (
923
945
  /*bonusModal*/
924
- n[19] && We(n)
946
+ n[20] && Ee(n)
925
947
  );
926
948
  return {
927
949
  c() {
928
- e = A("div"), o = A("div"), w && w.c(), t = L(), s = A("h2"), r = z(i), d = L(), u = A("div"), b = A("label"), M = z(y), k = L(), _ = A("div"), h = A("input"), C = L(), c = A("button"), p = z(g), Y = L(), B && B.c(), X = L(), I.c(), J = L(), T && T.c(), v(s, "class", "ActiveBonusesTitle " + /*isMobile*/
929
- (n[21] ? "ActiveBonusesTitleNone" : "")), v(b, "for", "BonusCode"), v(h, "class", "BonusCodeInput " + /*isMobile*/
930
- (n[21] ? "BonusCodeInputMobile" : "")), v(h, "type", "text"), v(h, "id", "BonusCode"), v(c, "class", "SubmitBonusCode " + /*isMobile*/
931
- (n[21] ? "SubmitBonusCodeMobile" : "")), c.disabled = m = /*invalidBonusField*/
932
- n[10] || /*isLoading*/
933
- n[9], v(_, "class", "BonusCodeWrapper " + /*isMobile*/
934
- (n[21] ? "BonusCodeWrapperMobile" : "")), v(u, "class", "BonusCodeContainer " + /*isMobile*/
935
- (n[21] ? "BonusCodeContainerMobile" : "")), v(o, "class", "ActiveBonusesWrapper " + /*isMobile*/
936
- (n[21] ? "ActiveBonusesWrapperMobile" : ""));
950
+ e = M("div"), o = M("div"), k && k.c(), t = N(), s = M("h2"), r = D(i), c = N(), u = M("div"), g = M("label"), w = D(y), A = N(), _ = M("div"), h = M("input"), C = N(), d = M("button"), p = D(b), T = N(), m && m.c(), Y = N(), F.c(), K = N(), I && I.c(), v(s, "class", "ActiveBonusesTitle " + /*isMobile*/
951
+ (n[22] ? "ActiveBonusesTitleNone" : "")), v(g, "for", "BonusCode"), v(h, "class", "BonusCodeInput " + /*isMobile*/
952
+ (n[22] ? "BonusCodeInputMobile" : "")), v(h, "type", "text"), v(h, "id", "BonusCode"), v(d, "class", "SubmitBonusCode " + /*isMobile*/
953
+ (n[22] ? "SubmitBonusCodeMobile" : "")), d.disabled = B = /*invalidBonusField*/
954
+ n[11] || /*isLoading*/
955
+ n[10], v(_, "class", "BonusCodeWrapper " + /*isMobile*/
956
+ (n[22] ? "BonusCodeWrapperMobile" : "")), v(u, "class", "BonusCodeContainer " + /*isMobile*/
957
+ (n[22] ? "BonusCodeContainerMobile" : "")), v(o, "class", "ActiveBonusesWrapper " + /*isMobile*/
958
+ (n[22] ? "ActiveBonusesWrapperMobile" : ""));
937
959
  },
938
960
  m(W, R) {
939
- D(W, e, R), f(e, o), w && w.m(o, null), f(o, t), f(o, s), f(s, r), f(o, d), f(o, u), f(u, b), f(b, M), f(u, k), f(u, _), f(_, h), Be(
961
+ O(W, e, R), f(e, o), k && k.m(o, null), f(o, t), f(o, s), f(s, r), f(o, c), f(o, u), f(u, g), f(g, w), f(u, A), f(u, _), f(_, h), ve(
940
962
  h,
941
963
  /*bonusCode*/
942
- n[12]
943
- ), f(_, C), f(_, c), f(c, p), f(u, Y), B && B.m(u, null), f(o, X), I.m(o, null), f(e, J), T && T.m(e, null), n[42](e), G || (O = [
944
- q(
964
+ n[13]
965
+ ), f(_, C), f(_, d), f(d, p), f(u, T), m && m.m(u, null), f(o, Y), F.m(o, null), f(e, K), I && I.m(e, null), n[43](e), X || (U = [
966
+ G(
945
967
  h,
946
968
  "input",
947
969
  /*input_input_handler*/
948
- n[36]
970
+ n[37]
949
971
  ),
950
- q(
972
+ G(
951
973
  h,
952
974
  "keyup",
953
975
  /*validateBonusCode*/
954
- n[23]
976
+ n[24]
955
977
  ),
956
- q(
957
- c,
978
+ G(
979
+ d,
958
980
  "click",
959
981
  /*claimBonus*/
960
- n[25]
982
+ n[26]
961
983
  )
962
- ], G = !0);
984
+ ], X = !0);
963
985
  },
964
986
  p(W, R) {
965
987
  /*isMobile*/
966
- W[21] && w.p(W, R), R[0] & /*$_*/
967
- 1048576 && i !== (i = /*$_*/
968
- W[20]("titleBonuses") + "") && Z(r, i), R[0] & /*$_*/
969
- 1048576 && y !== (y = /*$_*/
970
- W[20]("bonusCode") + "") && Z(M, y), R[0] & /*bonusCode*/
971
- 4096 && h.value !== /*bonusCode*/
972
- W[12] && Be(
988
+ W[22] && k.p(W, R), R[0] & /*$_*/
989
+ 2097152 && i !== (i = /*$_*/
990
+ W[21]("titleBonuses") + "") && J(r, i), R[0] & /*$_*/
991
+ 2097152 && y !== (y = /*$_*/
992
+ W[21]("bonusCode") + "") && J(w, y), R[0] & /*bonusCode*/
993
+ 8192 && h.value !== /*bonusCode*/
994
+ W[13] && ve(
973
995
  h,
974
996
  /*bonusCode*/
975
- W[12]
997
+ W[13]
976
998
  ), R[0] & /*$_*/
977
- 1048576 && g !== (g = /*$_*/
978
- W[20]("getBonus") + "") && Z(p, g), R[0] & /*invalidBonusField, isLoading*/
979
- 1536 && m !== (m = /*invalidBonusField*/
980
- W[10] || /*isLoading*/
981
- W[9]) && (c.disabled = m), /*invalidBonusCode*/
982
- W[11] ? B ? B.p(W, R) : (B = we(W), B.c(), B.m(u, null)) : B && (B.d(1), B = null), E === (E = S(W)) && I ? I.p(W, R) : (I.d(1), I = E(W), I && (I.c(), I.m(o, null))), /*bonusModal*/
983
- W[19] ? T ? T.p(W, R) : (T = We(W), T.c(), T.m(e, null)) : T && (T.d(1), T = null);
999
+ 2097152 && b !== (b = /*$_*/
1000
+ W[21]("getBonus") + "") && J(p, b), R[0] & /*invalidBonusField, isLoading*/
1001
+ 3072 && B !== (B = /*invalidBonusField*/
1002
+ W[11] || /*isLoading*/
1003
+ W[10]) && (d.disabled = B), /*invalidBonusCode*/
1004
+ W[12] ? m ? m.p(W, R) : (m = Me(W), m.c(), m.m(u, null)) : m && (m.d(1), m = null), E === (E = S(W)) && F ? F.p(W, R) : (F.d(1), F = E(W), F && (F.c(), F.m(o, null))), /*bonusModal*/
1005
+ W[20] ? I ? I.p(W, R) : (I = Ee(W), I.c(), I.m(e, null)) : I && (I.d(1), I = null);
984
1006
  },
985
1007
  i: le,
986
1008
  o: le,
987
1009
  d(W) {
988
- W && N(e), w && w.d(), B && B.d(), I.d(), T && T.d(), n[42](null), G = !1, ue(O);
1010
+ W && j(e), k && k.d(), m && m.d(), F.d(), I && I.d(), n[43](null), X = !1, ue(U);
989
1011
  }
990
1012
  };
991
1013
  }
992
- let yn = "status=active", H = 6;
993
- function hn(n) {
1014
+ let hn = "status=active", H = 6;
1015
+ function Cn(n) {
994
1016
  const e = n.initialWagerRequirementAmount ?? 0, o = n.remainingWagerRequirementAmount ?? 0;
995
1017
  return {
996
1018
  ...n,
@@ -1009,77 +1031,77 @@ function hn(n) {
1009
1031
  termsandconditionsasset: n.assets ?? void 0
1010
1032
  };
1011
1033
  }
1012
- function Cn(n, e, o) {
1034
+ function wn(n, e, o) {
1013
1035
  let t;
1014
- Ke(n, an, (l) => o(20, t = l));
1015
- let { endpoint: s = "" } = e, { session: i = "" } = e, { playerid: r = "" } = e, { lang: d = "en" } = e, { currency: u = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: y = "" } = e, { mbsource: M } = e, { translationurl: k = "" } = e, { currencylocale: _ = "" } = e, { dateformat: h = "" } = e, { bonuscoderegex: C = "" } = e, { ishiddenwageringbonus: c = "false" } = e, { gmversion: g = "" } = e, p = !1, m, Y, X = window.navigator.userAgent, J = xe(X) !== "PC", G = !0, O = !1, w = "", B = 0, S = 0, E = 0, I = 0, T = 0, W = [], R, te = "", ae = !1;
1016
- const Pe = () => {
1017
- fetch(k).then((P) => P.json()).then((P) => {
1018
- Object.keys(P).forEach((U) => {
1019
- ve(U, P[U]);
1036
+ xe(n, rn, (l) => o(21, t = l));
1037
+ let { endpoint: s = "" } = e, { session: i = "" } = e, { playerid: r = "" } = e, { lang: c = "en" } = e, { currency: u = "" } = e, { clientstyling: g = "" } = e, { clientstylingurl: y = "" } = e, { mbsource: w } = e, { translationurl: A = "" } = e, { currencylocale: _ = "" } = e, { dateformat: h = "" } = e, { bonuscoderegex: C = "" } = e, { ishiddenwageringbonus: d = "false" } = e, { gmversion: b = "" } = e, { filterbonusbalance: p = "false" } = e, B = !1, T, Y, K = window.navigator.userAgent, X = $e(K) !== "PC", U = !0, k = !1, m = "", S = 0, E = 0, F = 0, I = 0, W = 0, R = [], fe, te = "", ae = !1;
1038
+ const Se = () => {
1039
+ fetch(A).then((P) => P.json()).then((P) => {
1040
+ Object.keys(P).forEach((q) => {
1041
+ _e(q, P[q]);
1020
1042
  });
1021
1043
  }).catch((P) => {
1022
1044
  console.log(P);
1023
1045
  });
1024
1046
  };
1025
- Object.keys(_e).forEach((l) => {
1026
- ve(l, _e[l]);
1047
+ Object.keys(ye).forEach((l) => {
1048
+ _e(l, ye[l]);
1027
1049
  });
1028
- const fe = (l) => {
1050
+ const me = (l) => {
1029
1051
  if (l.data)
1030
1052
  switch (l.data.type) {
1031
1053
  case "DeleteActiveBonus":
1032
- te = l.data.bonuswalletid, o(19, ae = !0);
1054
+ te = l.data.bonuswalletid, o(20, ae = !0);
1033
1055
  break;
1034
1056
  }
1035
1057
  };
1036
- function Se(l, P) {
1037
- return (...U) => {
1038
- clearTimeout(R), R = setTimeout(
1058
+ function Ie(l, P) {
1059
+ return (...q) => {
1060
+ clearTimeout(fe), fe = setTimeout(
1039
1061
  () => {
1040
- l.apply(this, U);
1062
+ l.apply(this, q);
1041
1063
  },
1042
1064
  P
1043
1065
  );
1044
1066
  };
1045
1067
  }
1046
- const me = () => {
1068
+ const be = () => {
1047
1069
  window.postMessage(
1048
1070
  {
1049
1071
  type: "PlayerAccountMenuActive",
1050
- isMobile: J
1072
+ isMobile: X
1051
1073
  },
1052
1074
  window.location.href
1053
1075
  );
1054
- }, Ie = () => w ? C ? new RegExp(C).test(w) : !0 : !1, Te = () => {
1055
- o(10, G = !Ie()), C && o(11, O = G);
1076
+ }, Te = () => m ? C ? new RegExp(C).test(m) : !0 : !1, Fe = () => {
1077
+ o(11, U = !Te()), C && o(12, k = U);
1056
1078
  }, V = async (l) => {
1057
- o(9, p = !0);
1079
+ o(10, B = !0);
1058
1080
  try {
1059
- let P = [], U = 0;
1060
- if (g === "gm2") {
1061
- console.log("getActiveBonuses - gm2", g);
1062
- const F = {
1081
+ let P = [], q = 0;
1082
+ if (b === "gm2") {
1083
+ console.log("getActiveBonuses - gm2", b);
1084
+ const L = {
1063
1085
  pagination: `limit=${H},offset=${l}`,
1064
- language: d || "en",
1086
+ language: c || "en",
1065
1087
  sortOrder: "desc",
1066
- status: ye.STATUS_ACTIVE,
1067
- type: ye.TYPES,
1088
+ status: he.STATUS_ACTIVE,
1089
+ type: he.TYPES,
1068
1090
  expand: "freeSpin"
1069
1091
  };
1070
- c === "true" && (F.includeHiddenWallet = !0);
1071
- const Q = await dn(s, i, F);
1072
- console.log("data from getActiveBonuses", Q);
1073
- const x = Q.items;
1074
- Array.isArray(x) ? P = x.map(hn) : console.error("Unexpected granted bonuses payload", Q), U = Q.total ?? 0;
1092
+ d === "true" && (L.includeHiddenWallet = !0);
1093
+ const Z = await cn(s, i, L);
1094
+ console.log("data from getActiveBonuses", Z);
1095
+ const x = Z.items;
1096
+ Array.isArray(x) ? P = x.map(Cn) : console.error("Unexpected granted bonuses payload", Z), q = Z.total ?? 0;
1075
1097
  } else {
1076
- console.log("getActiveBonuses - /bonusWallet", g);
1077
- const F = {
1098
+ console.log("getActiveBonuses - /bonusWallet", b);
1099
+ const L = {
1078
1100
  method: "GET",
1079
1101
  headers: { "X-SessionId": i }
1080
- }, Q = `/v1/player/${r}/bonusWallet`, x = new URL(`${s}${Q}`), re = new URLSearchParams();
1081
- re.set("filter", yn), re.set("pagination", `offset=${l},limit=${H}`), x.search = re.toString();
1082
- const $ = await (await fetch(x, F)).json();
1102
+ }, Z = `/v1/player/${r}/bonusWallet`, x = new URL(`${s}${Z}`), re = new URLSearchParams();
1103
+ re.set("filter", hn), re.set("pagination", `offset=${l},limit=${H}`), x.search = re.toString();
1104
+ const $ = await (await fetch(x, L)).json();
1083
1105
  if (Array.isArray($.items)) {
1084
1106
  for (const ne of $.items) {
1085
1107
  const oe = ne?.extension?.bonus?.presentation;
@@ -1088,18 +1110,18 @@ function Cn(n, e, o) {
1088
1110
  P = $.items;
1089
1111
  } else
1090
1112
  console.error("Unexpected legacy bonus list payload", $);
1091
- U = $.total ?? 0;
1113
+ q = $.total ?? 0;
1092
1114
  }
1093
- o(16, I = Math.ceil(U / H)), l - H >= 0 && o(13, B = l - H), l + H < U && o(14, S = l + H), o(15, E = (I - 1) * H), o(17, T = l / H), o(18, W = P), _ && W.forEach((F) => {
1094
- F.fulfilledWR = ee(F.fulfilledWR), F.originalWageringRequirement = ee(F.originalWageringRequirement), F.currentAmount = ee(F.currentAmount), F.extension && (F.extension.grantedPlayerCurrencyAmount = ee(F.extension.grantedPlayerCurrencyAmount));
1115
+ o(17, I = Math.ceil(q / H)), l - H >= 0 && o(14, S = l - H), l + H < q && o(15, E = l + H), o(16, F = (I - 1) * H), o(18, W = l / H), o(19, R = P), _ && R.forEach((L) => {
1116
+ L.fulfilledWR = ee(L.fulfilledWR), L.originalWageringRequirement = ee(L.originalWageringRequirement), L.currentAmount = ee(L.currentAmount), L.extension && (L.extension.grantedPlayerCurrencyAmount = ee(L.extension.grantedPlayerCurrencyAmount));
1095
1117
  }), window.scrollTo({ top: 0, behavior: "smooth" });
1096
1118
  } catch (P) {
1097
1119
  console.error(P);
1098
1120
  } finally {
1099
- o(9, p = !1);
1121
+ o(10, B = !1);
1100
1122
  }
1101
- }, ee = (l) => new Intl.NumberFormat(_, { style: "currency", currency: u }).format(l).replace(/\s/g, ""), be = () => {
1102
- console.log("post claim success, status 200"), o(11, O = !1), V(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), window.postMessage(
1123
+ }, ee = (l) => new Intl.NumberFormat(_, { style: "currency", currency: u }).format(l).replace(/\s/g, ""), ge = () => {
1124
+ console.log("post claim success, status 200"), o(12, k = !1), V(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), window.postMessage(
1103
1125
  {
1104
1126
  type: "WidgetNotification",
1105
1127
  data: {
@@ -1111,10 +1133,10 @@ function Cn(n, e, o) {
1111
1133
  ), typeof gtag == "function" && gtag("event", "ClaimBonus", {
1112
1134
  context: "PlayerActiveBonuses",
1113
1135
  userId: `${r || "Not logged in"}`,
1114
- bonusCode: `${w}`
1136
+ bonusCode: `${m}`
1115
1137
  });
1116
- }, ge = () => {
1117
- o(11, O = !0), console.log("post claim error - status not 200"), window.postMessage(
1138
+ }, Be = () => {
1139
+ o(12, k = !0), console.log("post claim error - status not 200"), window.postMessage(
1118
1140
  {
1119
1141
  type: "WidgetNotification",
1120
1142
  data: {
@@ -1124,20 +1146,20 @@ function Cn(n, e, o) {
1124
1146
  },
1125
1147
  window.location.href
1126
1148
  );
1127
- }, Fe = async () => {
1128
- o(9, p = !0);
1149
+ }, Re = async () => {
1150
+ o(10, B = !0);
1129
1151
  try {
1130
- if (g === "gm2") {
1131
- if (!(await ln(s, i, { bonusCode: w, currency: u })).success) {
1132
- ge();
1152
+ if (b === "gm2") {
1153
+ if (!(await un(s, i, { bonusCode: m, currency: u })).success) {
1154
+ Be();
1133
1155
  //!
1134
1156
  return;
1135
1157
  }
1136
- be();
1158
+ ge();
1137
1159
  return;
1138
1160
  }
1139
1161
  const l = new URL(`${s}/v1/player/${r}/claimbonus`);
1140
- l.searchParams.append("currency", u), l.searchParams.append("bonusCode", w);
1162
+ l.searchParams.append("currency", u), l.searchParams.append("bonusCode", m);
1141
1163
  const P = {
1142
1164
  method: "POST",
1143
1165
  headers: {
@@ -1145,15 +1167,15 @@ function Cn(n, e, o) {
1145
1167
  accept: "application/json"
1146
1168
  }
1147
1169
  };
1148
- (await fetch(l.href, P)).status == 200 ? be() : ge();
1170
+ (await fetch(l.href, P)).status == 200 ? ge() : Be();
1149
1171
  } finally {
1150
- o(9, p = !1);
1172
+ o(10, B = !1);
1151
1173
  }
1152
1174
  }, ie = () => {
1153
- window.postMessage({ type: "EnableScroll" }, window.location.href), o(19, ae = !1);
1154
- }, Re = async () => {
1155
- if (g === "gm2") {
1156
- if (!(await un(s, i, { bonusWalletID: te })).success)
1175
+ window.postMessage({ type: "EnableScroll" }, window.location.href), o(20, ae = !1);
1176
+ }, Le = async () => {
1177
+ if (b === "gm2") {
1178
+ if (!(await dn(s, i, { bonusWalletID: te })).success)
1157
1179
  return;
1158
1180
  V(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), ie();
1159
1181
  return;
@@ -1167,196 +1189,204 @@ function Cn(n, e, o) {
1167
1189
  }
1168
1190
  }, P = new URL(`${s}/v1/player/${r}/bonusWallet`);
1169
1191
  P.searchParams.append("bonusWalletID", te), (await fetch(P, l)).status == 200 && (V(0), window.postMessage({ type: "ActiveBonusesUpdated" }, window.location.href), ie());
1170
- }, Le = () => {
1171
- rn(d);
1192
+ }, ze = () => {
1193
+ ln(c);
1172
1194
  };
1173
- function ze(l) {
1174
- return Se(l, 1e3);
1195
+ function Ne(l) {
1196
+ return Ie(l, 1e3);
1175
1197
  }
1176
- $e(() => (window.addEventListener("message", fe, !1), () => {
1177
- window.removeEventListener("message", fe);
1198
+ en(() => (window.addEventListener("message", me, !1), () => {
1199
+ window.removeEventListener("message", me);
1178
1200
  }));
1179
- const Ne = () => me();
1180
- function De() {
1181
- w = this.value, o(12, w);
1201
+ const De = () => be();
1202
+ function je() {
1203
+ m = this.value, o(13, m);
1182
1204
  }
1183
- const Oe = () => V(0), je = () => V(B), Ue = (l) => V(l * H), qe = () => V(S), Ge = () => V(E);
1184
- function Ve(l) {
1185
- en[l ? "unshift" : "push"](() => {
1186
- m = l, o(8, m);
1205
+ const Oe = () => V(0), Ue = () => V(S), qe = (l) => V(l * H), Ge = () => V(E), Ve = () => V(F);
1206
+ function He(l) {
1207
+ nn[l ? "unshift" : "push"](() => {
1208
+ T = l, o(9, T);
1187
1209
  });
1188
1210
  }
1189
1211
  return n.$$set = (l) => {
1190
- "endpoint" in l && o(29, s = l.endpoint), "session" in l && o(30, i = l.session), "playerid" in l && o(31, r = l.playerid), "lang" in l && o(0, d = l.lang), "currency" in l && o(32, u = l.currency), "clientstyling" in l && o(1, b = l.clientstyling), "clientstylingurl" in l && o(2, y = l.clientstylingurl), "mbsource" in l && o(3, M = l.mbsource), "translationurl" in l && o(4, k = 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, c = l.ishiddenwageringbonus), "gmversion" in l && o(34, g = l.gmversion);
1212
+ "endpoint" in l && o(30, s = l.endpoint), "session" in l && o(31, i = l.session), "playerid" in l && o(32, r = l.playerid), "lang" in l && o(0, c = l.lang), "currency" in l && o(33, u = l.currency), "clientstyling" in l && o(1, g = l.clientstyling), "clientstylingurl" in l && o(2, y = l.clientstylingurl), "mbsource" in l && o(3, w = 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(34, C = l.bonuscoderegex), "ishiddenwageringbonus" in l && o(7, d = l.ishiddenwageringbonus), "gmversion" in l && o(35, b = l.gmversion), "filterbonusbalance" in l && o(8, p = l.filterbonusbalance);
1191
1213
  }, n.$$.update = () => {
1192
1214
  n.$$.dirty[0] & /*lang*/
1193
- 1 && d && Le(), n.$$.dirty[0] & /*session, endpoint*/
1194
- 1610612736 | n.$$.dirty[1] & /*playerid*/
1195
- 1 && i && r && s && V(0), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1196
- 258 && b && m && nn(m, b), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1197
- 260 && y && m && on(m, y), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
1198
- 264 && M && m && sn(m, `${M}.Style`, Y), n.$$.dirty[0] & /*translationurl*/
1199
- 16 && k && Pe();
1215
+ 1 && c && ze(), n.$$.dirty[0] & /*endpoint*/
1216
+ 1073741824 | n.$$.dirty[1] & /*session, playerid*/
1217
+ 3 && i && r && s && V(0), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1218
+ 514 && g && T && on(T, g), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1219
+ 516 && y && T && sn(T, y), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
1220
+ 520 && w && T && tn(T, `${w}.Style`, Y), n.$$.dirty[0] & /*translationurl*/
1221
+ 16 && A && Se();
1200
1222
  }, [
1201
- d,
1202
- b,
1223
+ c,
1224
+ g,
1203
1225
  y,
1204
- M,
1205
- k,
1226
+ w,
1227
+ A,
1206
1228
  _,
1207
1229
  h,
1208
- c,
1209
- m,
1230
+ d,
1210
1231
  p,
1211
- G,
1212
- O,
1213
- w,
1232
+ T,
1214
1233
  B,
1234
+ U,
1235
+ k,
1236
+ m,
1215
1237
  S,
1216
1238
  E,
1239
+ F,
1217
1240
  I,
1218
- T,
1219
1241
  W,
1242
+ R,
1220
1243
  ae,
1221
1244
  t,
1222
- J,
1223
- me,
1224
- Te,
1225
- V,
1245
+ X,
1246
+ be,
1226
1247
  Fe,
1227
- ie,
1248
+ V,
1228
1249
  Re,
1229
- ze,
1250
+ ie,
1251
+ Le,
1252
+ Ne,
1230
1253
  s,
1231
1254
  i,
1232
1255
  r,
1233
1256
  u,
1234
1257
  C,
1235
- g,
1236
- Ne,
1258
+ b,
1237
1259
  De,
1238
- Oe,
1239
1260
  je,
1261
+ Oe,
1240
1262
  Ue,
1241
1263
  qe,
1242
1264
  Ge,
1243
- Ve
1265
+ Ve,
1266
+ He
1244
1267
  ];
1245
1268
  }
1246
- class wn extends Xe {
1269
+ class Mn extends Je {
1247
1270
  constructor(e) {
1248
- super(), Je(
1271
+ super(), Ke(
1249
1272
  this,
1250
1273
  e,
1251
- Cn,
1252
- _n,
1274
+ wn,
1275
+ yn,
1253
1276
  Ze,
1254
1277
  {
1255
- endpoint: 29,
1256
- session: 30,
1257
- playerid: 31,
1278
+ endpoint: 30,
1279
+ session: 31,
1280
+ playerid: 32,
1258
1281
  lang: 0,
1259
- currency: 32,
1282
+ currency: 33,
1260
1283
  clientstyling: 1,
1261
1284
  clientstylingurl: 2,
1262
1285
  mbsource: 3,
1263
1286
  translationurl: 4,
1264
1287
  currencylocale: 5,
1265
1288
  dateformat: 6,
1266
- bonuscoderegex: 33,
1289
+ bonuscoderegex: 34,
1267
1290
  ishiddenwageringbonus: 7,
1268
- gmversion: 34
1291
+ gmversion: 35,
1292
+ filterbonusbalance: 8
1269
1293
  },
1270
- cn,
1294
+ pn,
1271
1295
  [-1, -1]
1272
1296
  );
1273
1297
  }
1274
1298
  get endpoint() {
1275
- return this.$$.ctx[29];
1299
+ return this.$$.ctx[30];
1276
1300
  }
1277
1301
  set endpoint(e) {
1278
- this.$$set({ endpoint: e }), j();
1302
+ this.$$set({ endpoint: e }), z();
1279
1303
  }
1280
1304
  get session() {
1281
- return this.$$.ctx[30];
1305
+ return this.$$.ctx[31];
1282
1306
  }
1283
1307
  set session(e) {
1284
- this.$$set({ session: e }), j();
1308
+ this.$$set({ session: e }), z();
1285
1309
  }
1286
1310
  get playerid() {
1287
- return this.$$.ctx[31];
1311
+ return this.$$.ctx[32];
1288
1312
  }
1289
1313
  set playerid(e) {
1290
- this.$$set({ playerid: e }), j();
1314
+ this.$$set({ playerid: e }), z();
1291
1315
  }
1292
1316
  get lang() {
1293
1317
  return this.$$.ctx[0];
1294
1318
  }
1295
1319
  set lang(e) {
1296
- this.$$set({ lang: e }), j();
1320
+ this.$$set({ lang: e }), z();
1297
1321
  }
1298
1322
  get currency() {
1299
- return this.$$.ctx[32];
1323
+ return this.$$.ctx[33];
1300
1324
  }
1301
1325
  set currency(e) {
1302
- this.$$set({ currency: e }), j();
1326
+ this.$$set({ currency: e }), z();
1303
1327
  }
1304
1328
  get clientstyling() {
1305
1329
  return this.$$.ctx[1];
1306
1330
  }
1307
1331
  set clientstyling(e) {
1308
- this.$$set({ clientstyling: e }), j();
1332
+ this.$$set({ clientstyling: e }), z();
1309
1333
  }
1310
1334
  get clientstylingurl() {
1311
1335
  return this.$$.ctx[2];
1312
1336
  }
1313
1337
  set clientstylingurl(e) {
1314
- this.$$set({ clientstylingurl: e }), j();
1338
+ this.$$set({ clientstylingurl: e }), z();
1315
1339
  }
1316
1340
  get mbsource() {
1317
1341
  return this.$$.ctx[3];
1318
1342
  }
1319
1343
  set mbsource(e) {
1320
- this.$$set({ mbsource: e }), j();
1344
+ this.$$set({ mbsource: e }), z();
1321
1345
  }
1322
1346
  get translationurl() {
1323
1347
  return this.$$.ctx[4];
1324
1348
  }
1325
1349
  set translationurl(e) {
1326
- this.$$set({ translationurl: e }), j();
1350
+ this.$$set({ translationurl: e }), z();
1327
1351
  }
1328
1352
  get currencylocale() {
1329
1353
  return this.$$.ctx[5];
1330
1354
  }
1331
1355
  set currencylocale(e) {
1332
- this.$$set({ currencylocale: e }), j();
1356
+ this.$$set({ currencylocale: e }), z();
1333
1357
  }
1334
1358
  get dateformat() {
1335
1359
  return this.$$.ctx[6];
1336
1360
  }
1337
1361
  set dateformat(e) {
1338
- this.$$set({ dateformat: e }), j();
1362
+ this.$$set({ dateformat: e }), z();
1339
1363
  }
1340
1364
  get bonuscoderegex() {
1341
- return this.$$.ctx[33];
1365
+ return this.$$.ctx[34];
1342
1366
  }
1343
1367
  set bonuscoderegex(e) {
1344
- this.$$set({ bonuscoderegex: e }), j();
1368
+ this.$$set({ bonuscoderegex: e }), z();
1345
1369
  }
1346
1370
  get ishiddenwageringbonus() {
1347
1371
  return this.$$.ctx[7];
1348
1372
  }
1349
1373
  set ishiddenwageringbonus(e) {
1350
- this.$$set({ ishiddenwageringbonus: e }), j();
1374
+ this.$$set({ ishiddenwageringbonus: e }), z();
1351
1375
  }
1352
1376
  get gmversion() {
1353
- return this.$$.ctx[34];
1377
+ return this.$$.ctx[35];
1354
1378
  }
1355
1379
  set gmversion(e) {
1356
- this.$$set({ gmversion: e }), j();
1380
+ this.$$set({ gmversion: e }), z();
1381
+ }
1382
+ get filterbonusbalance() {
1383
+ return this.$$.ctx[8];
1384
+ }
1385
+ set filterbonusbalance(e) {
1386
+ this.$$set({ filterbonusbalance: e }), z();
1357
1387
  }
1358
1388
  }
1359
- tn(wn, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {}, bonuscoderegex: {}, ishiddenwageringbonus: {}, gmversion: {} }, [], [], !0);
1389
+ an(Mn, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {}, bonuscoderegex: {}, ishiddenwageringbonus: {}, gmversion: {}, filterbonusbalance: {} }, [], [], !0);
1360
1390
  export {
1361
- wn as default
1391
+ Mn as default
1362
1392
  };