@everymatrix/player-account-controller 1.45.0 → 1.45.3

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 (104) hide show
  1. package/components/{GeneralLogout-PMsAgsr8.js → GeneralLogout-DR-XxT8N.js} +245 -245
  2. package/components/{GeneralLogout-WbaN9lE3.cjs → GeneralLogout-bc8vhI_H.cjs} +5 -5
  3. package/components/PlayerAccountBettingHistory-BK6xPWSw.cjs +1 -0
  4. package/components/PlayerAccountBettingHistory-fca6lsNS.js +328 -0
  5. package/components/PlayerAccountBiometrics-C-3zrtyy.cjs +1 -0
  6. package/components/PlayerAccountBiometrics-CjiFJhw-.js +300 -0
  7. package/components/PlayerAccountClosure-C8BNtCld.cjs +1 -0
  8. package/components/PlayerAccountClosure-jv1Rveed.js +339 -0
  9. package/components/PlayerAccountController-B5GxyiMU.cjs +1 -0
  10. package/components/{PlayerAccountController-DRQpN2gW.js → PlayerAccountController-BJBxx9xW.js} +1973 -1973
  11. package/components/{PlayerAccountGamingLimits-BnH1h5ZI.js → PlayerAccountGamingLimits-D3HbxASA.js} +183 -183
  12. package/components/PlayerAccountGamingLimits-a_ERECbs.cjs +1 -0
  13. package/components/PlayerAccountGamingLimitsConfirmationModal-D0i0fMnV.js +306 -0
  14. package/components/PlayerAccountGamingLimitsConfirmationModal-l6qA-tGo.cjs +1 -0
  15. package/components/PlayerAccountGamingLimitsGroupEdit-C0TmN9tW.cjs +10 -0
  16. package/components/{PlayerAccountGamingLimitsGroupEdit-QO4BtCS2.js → PlayerAccountGamingLimitsGroupEdit-Ds0hHVHM.js} +966 -966
  17. package/components/{PlayerAccountGamingLimitsHistory2-_p2IXses.cjs → PlayerAccountGamingLimitsHistory2-BQABSfo3.cjs} +1 -1
  18. package/components/{PlayerAccountGamingLimitsHistory2-CJxOlPZu.js → PlayerAccountGamingLimitsHistory2-CMLSdTnW.js} +1 -1
  19. package/components/PlayerAccountGamingLimitsInfoCard-0xDp-CBL.cjs +1 -0
  20. package/components/{PlayerAccountGamingLimitsInfoCard-GwIjd7fB.js → PlayerAccountGamingLimitsInfoCard-BBL_jJC8.js} +359 -359
  21. package/components/{PlayerAccountGamingLimitsPage2Gm16-DcGsK_Nq.js → PlayerAccountGamingLimitsPage2Gm16-B7_BHyXu.js} +851 -851
  22. package/components/PlayerAccountGamingLimitsPage2Gm16-DSOYjGfv.cjs +21 -0
  23. package/components/{PlayerAccountGamingLimitsPopup-DO2f_4IF.js → PlayerAccountGamingLimitsPopup-B_VQVAW1.js} +75 -73
  24. package/components/PlayerAccountGamingLimitsPopup-CRCoJtQR.cjs +1 -0
  25. package/components/PlayerAccountGamingLimitsWrapper2-oY7Nyl9P.cjs +1 -0
  26. package/components/{PlayerAccountGamingLimitsWrapper2-CQClFTjE.js → PlayerAccountGamingLimitsWrapper2-qU20DTdn.js} +185 -185
  27. package/components/PlayerAccountMenu-Cguxd1Gn.js +576 -0
  28. package/components/PlayerAccountMenu-_QF6LQHb.cjs +1 -0
  29. package/components/{PlayerAccountModal-BPuDqVwe.js → PlayerAccountModal-BpuFEHxz.js} +49 -49
  30. package/components/PlayerAccountModal-CIR41mpM.cjs +1 -0
  31. package/components/PlayerAccountNotifications-DNWMsUnC.cjs +1 -0
  32. package/components/PlayerAccountNotifications-SC-So9Ge.js +261 -0
  33. package/components/{PlayerAccountSelfExclusion-CA2oAuhb.cjs → PlayerAccountSelfExclusion-DVLlbxoJ.cjs} +125 -125
  34. package/components/{PlayerAccountSelfExclusion-BR4bl6bz.js → PlayerAccountSelfExclusion-zuKOJE1A.js} +1794 -1794
  35. package/components/PlayerAccountTimeout-C0nlqzAC.cjs +1 -0
  36. package/components/{PlayerAccountTimeout-Df9mSPXx.js → PlayerAccountTimeout-CMxX7J1C.js} +106 -106
  37. package/components/PlayerActiveBonuses-CinsfLQL.js +986 -0
  38. package/components/PlayerActiveBonuses-bY0Y51Al.cjs +1 -0
  39. package/components/PlayerBonusCard-CQTRKi8G.js +565 -0
  40. package/components/PlayerBonusCard-DdxYH7lf.cjs +1 -0
  41. package/components/PlayerBonusHistory-CnA7jYi8.cjs +1 -0
  42. package/components/PlayerBonusHistory-Dz9N_GGZ.js +840 -0
  43. package/components/PlayerChangePassword-B9qM0mFd.js +1161 -0
  44. package/components/PlayerChangePassword-BDyXZ2_q.cjs +3 -0
  45. package/components/PlayerDeposit-CYpXuZIT.cjs +1 -0
  46. package/components/PlayerDeposit-Dvm1Z2l9.js +395 -0
  47. package/components/PlayerGamingHistory-1wUzXwQ1.js +920 -0
  48. package/components/PlayerGamingHistory-TcfH2pYz.cjs +1 -0
  49. package/components/PlayerPendingWithdrawals-DgF86kij.js +307 -0
  50. package/components/PlayerPendingWithdrawals-Dn63yKxo.cjs +1 -0
  51. package/components/PlayerProfileInfo-CsWD1vK0.cjs +1 -0
  52. package/components/PlayerProfileInfo-D-A2kQVn.js +1707 -0
  53. package/components/PlayerRealityCheck-BaBE_tNE.cjs +1 -0
  54. package/components/PlayerRealityCheck-gh3vV1ow.js +587 -0
  55. package/components/PlayerTransactionHistory-DJICk5qY.cjs +1 -0
  56. package/components/PlayerTransactionHistory-DpPF3FQq.js +311 -0
  57. package/components/PlayerWithdrawal-BHyCdUgc.js +365 -0
  58. package/components/PlayerWithdrawal-DuxGAxKs.cjs +1 -0
  59. package/es2015/player-account-controller.cjs +1 -1
  60. package/es2015/player-account-controller.js +1 -1
  61. package/package.json +2 -2
  62. package/components/PlayerAccountBettingHistory-C5O_N5I6.js +0 -328
  63. package/components/PlayerAccountBettingHistory-CvFzGDm4.cjs +0 -1
  64. package/components/PlayerAccountBiometrics--Rc4hXU1.cjs +0 -1
  65. package/components/PlayerAccountBiometrics-BIZ77T9P.js +0 -300
  66. package/components/PlayerAccountClosure-DIRkc6kA.cjs +0 -1
  67. package/components/PlayerAccountClosure-O9rY7FHF.js +0 -339
  68. package/components/PlayerAccountController-1M1FKlrd.cjs +0 -1
  69. package/components/PlayerAccountGamingLimits-Dtw0RzGI.cjs +0 -1
  70. package/components/PlayerAccountGamingLimitsConfirmationModal-CHBpCAi7.js +0 -306
  71. package/components/PlayerAccountGamingLimitsConfirmationModal-Cvsvauqa.cjs +0 -1
  72. package/components/PlayerAccountGamingLimitsGroupEdit-tfKhIo7R.cjs +0 -10
  73. package/components/PlayerAccountGamingLimitsInfoCard--AbjEx7s.cjs +0 -1
  74. package/components/PlayerAccountGamingLimitsPage2Gm16-Dymt7LmL.cjs +0 -21
  75. package/components/PlayerAccountGamingLimitsPopup-DVEuryoE.cjs +0 -1
  76. package/components/PlayerAccountGamingLimitsWrapper2-BZ-Ax67a.cjs +0 -1
  77. package/components/PlayerAccountMenu-1kpYtr6Q.cjs +0 -1
  78. package/components/PlayerAccountMenu-C9YFW_X4.js +0 -576
  79. package/components/PlayerAccountModal-DpMfe1gv.cjs +0 -1
  80. package/components/PlayerAccountNotifications-DfLcLCTk.js +0 -261
  81. package/components/PlayerAccountNotifications-Dwb_RDr0.cjs +0 -1
  82. package/components/PlayerAccountTimeout-dxzuaoP9.cjs +0 -1
  83. package/components/PlayerActiveBonuses-BJtk2_80.js +0 -986
  84. package/components/PlayerActiveBonuses-D0-qI8iz.cjs +0 -1
  85. package/components/PlayerBonusCard-BoENnXsd.cjs +0 -1
  86. package/components/PlayerBonusCard-D4MZsrSK.js +0 -565
  87. package/components/PlayerBonusHistory-3B1tPB8g.cjs +0 -1
  88. package/components/PlayerBonusHistory-CDA_Ahs-.js +0 -840
  89. package/components/PlayerChangePassword-C69CRrvS.js +0 -1161
  90. package/components/PlayerChangePassword-RpQIhFff.cjs +0 -3
  91. package/components/PlayerDeposit-BK_UhkqG.js +0 -395
  92. package/components/PlayerDeposit-COhpfcRx.cjs +0 -1
  93. package/components/PlayerGamingHistory-C8Kvaq7b.cjs +0 -1
  94. package/components/PlayerGamingHistory-CCSGdevP.js +0 -920
  95. package/components/PlayerPendingWithdrawals-CVBvRj42.cjs +0 -1
  96. package/components/PlayerPendingWithdrawals-DIp1o6Bq.js +0 -307
  97. package/components/PlayerProfileInfo-BeD6hzPW.cjs +0 -1
  98. package/components/PlayerProfileInfo-CkcYNGGP.js +0 -1707
  99. package/components/PlayerRealityCheck-B37H9_Rn.cjs +0 -1
  100. package/components/PlayerRealityCheck-UaRdeADU.js +0 -587
  101. package/components/PlayerTransactionHistory-CxYO3lnm.cjs +0 -1
  102. package/components/PlayerTransactionHistory-Da2H2goa.js +0 -311
  103. package/components/PlayerWithdrawal-DK_JxD9z.js +0 -365
  104. package/components/PlayerWithdrawal-DYkzBPcQ.cjs +0 -1
@@ -1,986 +0,0 @@
1
- import { a as ke, $ as We, S as Ae, i as Pe, f as J, c as Fe, s as ze, b as Ie, e as B, k as L, o as se, p as R, q as Te, u as Ee, v as De, x as Se, y as Ne, d as S, t as N, D as $, g as p, l as r, Q as ne, m as U, n as H, r as ee, w as Z, M as x, N as fe, j as d } from "./GeneralLogout-PMsAgsr8.js";
2
- function te(o, e) {
3
- ke(o, e);
4
- }
5
- function Le(o) {
6
- We.set(o);
7
- }
8
- const le = {
9
- en: {
10
- titleBonuses: "Active Bonuses",
11
- bonusCode: "Do you have a bonus code?",
12
- getBonus: "Get Bonus",
13
- invalidBonusCode: "The bonus code provided is invalid.",
14
- noActiveBonuses: "You have no active bonuses at the moment.",
15
- forfeitBonus: "Are you sure want to forfeit bonus?",
16
- forfeitBonusConfirm: "Confirm",
17
- forfeitBonusCancel: "Cancel",
18
- successMessage: "Bonus claimed!",
19
- errorMessage: "Invalid bonus"
20
- },
21
- "zh-hk": {
22
- titleBonuses: "活躍獎金",
23
- bonusCode: "你有獎金代碼嗎?",
24
- getBonus: "獲得獎金",
25
- invalidBonusCode: "提供的紅利代碼無效。",
26
- noActiveBonuses: "您目前沒有有效的獎金。",
27
- forfeitBonus: "您確定要放棄獎金及其獎金嗎?",
28
- forfeitBonusConfirm: "確認",
29
- forfeitBonusCancel: "取消",
30
- successMessage: "獎金要求!",
31
- errorMessage: "無效獎金"
32
- },
33
- fr: {
34
- titleBonuses: "Bonus actifs",
35
- bonusCode: "Avez-vous un code bonus?",
36
- getBonus: "Obtenir un bonus",
37
- invalidBonusCode: "Le code bonus fourni n'est pas valide.",
38
- noActiveBonuses: "Vous n'avez pas de bonus actifs pour le moment.",
39
- forfeitBonus: "Etes-vous sûr de vouloir supprimer le bonus et ses gains?",
40
- forfeitBonusConfirm: "Confirmer",
41
- forfeitBonusCancel: "Annuler",
42
- successMessage: "Bonus réclamé!",
43
- errorMessage: "Bonus invalide"
44
- },
45
- ro: {
46
- titleBonuses: "Bonusuri active",
47
- bonusCode: "Ai un cod de bonus?",
48
- getBonus: "Revendică",
49
- invalidBonusCode: "Codul de bonus introdus este invalid.",
50
- noActiveBonuses: "Nu ai niciun bonus activ în acest moment.",
51
- forfeitBonus: "Ești sigur că vrei să anulezi acest bonus și câștigurile provenite din acest bonus?",
52
- forfeitBonusConfirm: "Confirmă",
53
- forfeitBonusCancel: "Anulează",
54
- successMessage: "Bonus revendicat!",
55
- errorMessage: "Bonus invalid"
56
- },
57
- es: {
58
- titleBonuses: "Bonos Activos",
59
- bonusCode: "Tienes un código de Bono?",
60
- getBonus: "Obtener Bono",
61
- invalidBonusCode: "El código del Bono no es válido.",
62
- noActiveBonuses: "Usted no tiene Bonos activos en este momento.",
63
- forfeitBonus: "Estas seguro que quieres perder el bono?",
64
- forfeitBonusConfirm: "Confirmar",
65
- forfeitBonusCancel: "Cancelar",
66
- successMessage: "Bono adjudicado!",
67
- errorMessage: "Bono invalido"
68
- },
69
- pt: {
70
- titleBonuses: "Bônus Ativos",
71
- bonusCode: "Você tem um código de bônus?",
72
- getBonus: "Obter bônus",
73
- invalidBonusCode: "O código de bônus fornecido é inválido.",
74
- noActiveBonuses: "Você não tem bônus ativos no momento.",
75
- forfeitBonus: "Tem certeza de que deseja perder o bônus e seus ganhos?",
76
- forfeitBonusConfirm: "Confirmar",
77
- forfeitBonusCancel: "Cancelar",
78
- successMessage: "Bônus reivindicado!",
79
- errorMessage: "Bônus inválido"
80
- },
81
- hr: {
82
- titleBonuses: "Aktivni bonusi",
83
- bonusCode: "Imate li bonus kod?",
84
- getBonus: "Preuzmi bonus",
85
- invalidBonusCode: "Navedeni bonus kod je nevažeći.",
86
- noActiveBonuses: "Trenutno nemate aktivnih bonusa.",
87
- forfeitBonus: "Jeste li sigurni da želite otkazati bonus?",
88
- forfeitBonusConfirm: "Potvrdi",
89
- forfeitBonusCancel: "Otkaži",
90
- successMessage: "Preuzet bonus!",
91
- errorMessage: "Nevažeći bonus"
92
- },
93
- "pt-br": {
94
- titleBonuses: "Títulos ativos",
95
- bonusCode: "Você tem um código de bônus?",
96
- getBonus: "Reivindicar bônus",
97
- invalidBonusCode: "O código de bônus emitido é inválido",
98
- noActiveBonuses: "Não possui títulos ativos no momento",
99
- forfeitBonus: "Tem certeza de que deseja recusar o bônus?",
100
- forfeitBonusConfirm: "confirme",
101
- forfeitBonusCancel: "Cancelar",
102
- successMessage: "Bônus ativado",
103
- errorMessage: "Voucher inválido"
104
- },
105
- "es-mx": {
106
- titleBonuses: "Bonos activos",
107
- bonusCode: "¿Tiene código de bonos?",
108
- getBonus: "Reclamar bono",
109
- invalidBonusCode: "El código de bono emitido es inválido",
110
- noActiveBonuses: "No tiene bonos activos al momento",
111
- forfeitBonus: "¿ Está seguro que quiere declinar el bono?",
112
- forfeitBonusConfirm: "Confirmar",
113
- forfeitBonusCancel: "Cancelar",
114
- successMessage: "Bono activado",
115
- errorMessage: "Bono inválido"
116
- },
117
- tr: {
118
- titleBonuses: "Aktif Bonuslar",
119
- bonusCode: "Bonus kodunuz var mı?",
120
- getBonus: "Bonusu Al",
121
- invalidBonusCode: "Sağlanan bonus kodu geçersiz.",
122
- noActiveBonuses: "Şu anda aktif bonusunuz yok.",
123
- forfeitBonus: "Bonusu kaybetmek istediğinizden emin misiniz?",
124
- forfeitBonusConfirm: "Onaylamak",
125
- forfeitBonusCancel: "İptal etmek",
126
- successMessage: "Bonus talep edildi!",
127
- errorMessage: "Geçersiz bonus"
128
- }
129
- };
130
- if (typeof window != "undefined") {
131
- let o = function(e) {
132
- return function(...s) {
133
- try {
134
- return e.apply(this, s);
135
- } catch (t) {
136
- if (t instanceof DOMException && t.message.includes("has already been used with this registry") || t.message.includes("Cannot define multiple custom elements with the same tag name"))
137
- return !1;
138
- throw t;
139
- }
140
- };
141
- };
142
- customElements.define = o(customElements.define), import("./PlayerBonusCard-D4MZsrSK.js").then(({ default: e }) => {
143
- !customElements.get("player-bonus-card") && customElements.define("player-bonus-card", e.element);
144
- });
145
- }
146
- function Re(o) {
147
- Ie(o, "svelte-10jiq1l", ".ActiveBonusesWrapper.svelte-10jiq1l.svelte-10jiq1l{color:var(--emfe-w-pam-typography, var(--emfe-w-color-contrast, #07072A));padding:50px;max-width:850px}.ActiveBonusesWrapper.ActiveBonusesWrapperMobile.svelte-10jiq1l.svelte-10jiq1l{padding:20px 15px;max-width:unset}.MenuReturnButton.svelte-10jiq1l.svelte-10jiq1l{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.MenuReturnButton.svelte-10jiq1l svg.svelte-10jiq1l{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.ActiveBonusesTitle.svelte-10jiq1l.svelte-10jiq1l{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));font-weight:400}.ActiveBonusesTitleMobile.svelte-10jiq1l.svelte-10jiq1l{font-size:16px}.ActiveBonusesTitleNone.svelte-10jiq1l.svelte-10jiq1l{display:none}.BonusCodeContainer.svelte-10jiq1l.svelte-10jiq1l{color:var(--emfe-w-color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative;width:70%}.BonusCodeContainer.svelte-10jiq1l label.svelte-10jiq1l{font-size:14px;font-weight:300;padding-bottom:5px}.BonusCodeContainer.BonusCodeContainerMobile.svelte-10jiq1l.svelte-10jiq1l{width:100%}.BonusCodeContainer.svelte-10jiq1l .BonusCodeWrapper.svelte-10jiq1l{display:flex;gap:10px}.BonusCodeContainer.svelte-10jiq1l .BonusCodeWrapper.BonusCodeWrapperMobile.svelte-10jiq1l{flex-direction:column}.BonusCodeContainer.svelte-10jiq1l .BonusCodeWrapper .BonusCodeInput.svelte-10jiq1l{width:70%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);color:var(--emfe-w-pam-contrast, var(--emfe-w-color-contrast, #07072A));border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.BonusCodeContainer.svelte-10jiq1l .BonusCodeWrapper .BonusCodeInput.svelte-10jiq1l:focus{outline-color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.BonusCodeContainer.svelte-10jiq1l .BonusCodeWrapper .BonusCodeInput.BonusCodeInputMobile.svelte-10jiq1l{width:100%}.BonusCodeContainer.svelte-10jiq1l .BonusCodeWrapper .SubmitBonusCode.svelte-10jiq1l{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-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.svelte-10jiq1l .BonusCodeWrapper .SubmitBonusCode[disabled].svelte-10jiq1l{opacity:0.3;cursor:not-allowed}.BonusCodeContainer.svelte-10jiq1l .BonusCodeWrapper .SubmitBonusCode.SubmitBonusCodeMobile.svelte-10jiq1l{width:100%}.BonusCodeContainer.svelte-10jiq1l .BonusCodeWrapper .SubmitBonusCode.svelte-10jiq1l:active{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.BonusCodeContainer.svelte-10jiq1l .InvalidBonusCodeMessage.svelte-10jiq1l{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #FD2839))}.BonusCodeWrapper.svelte-10jiq1l.svelte-10jiq1l{display:flex;gap:20px}.SubmitBonusCode.svelte-10jiq1l.svelte-10jiq1l{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-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].svelte-10jiq1l.svelte-10jiq1l{opacity:0.3}.SubmitBonusCode.svelte-10jiq1l.svelte-10jiq1l:active{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.ActiveBonusesGrid.svelte-10jiq1l.svelte-10jiq1l{display:grid;grid-template-columns:1fr 1fr;gap:50px}.ActiveBonusesGrid.ActiveBonusesGridMobile.svelte-10jiq1l.svelte-10jiq1l{grid-template-columns:1fr}.ModalWrapper.svelte-10jiq1l.svelte-10jiq1l{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.svelte-10jiq1l .ModalContent.svelte-10jiq1l{background-color:var(--emfe-w-color-white, #FFFFFF);position:relative;padding:30px;border-top:5px solid var(--emfe-w-color-secondary, var(--emfe-w-color-secondary, #FD2839));border-radius:5px}.ModalWrapper.svelte-10jiq1l .ModalBody.svelte-10jiq1l{background-color:var(--emfe-w-color-gray-50, #F9F8F8);padding:30px;text-align:center}.ModalWrapper.svelte-10jiq1l .ModalBody .ModalText.svelte-10jiq1l{font-size:22px;margin-bottom:40px}.ModalWrapper.svelte-10jiq1l .ModalBody .ModalButtons.svelte-10jiq1l{display:flex;gap:36px}.ModalWrapper.svelte-10jiq1l .ModalBody .ModalCancel.svelte-10jiq1l,.ModalWrapper.svelte-10jiq1l .ModalBody .ModalConfirm.svelte-10jiq1l{background:transparent;border:1px solid var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-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.svelte-10jiq1l .ModalBody .ModalConfirm.svelte-10jiq1l{background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF))}.ModalWrapper.ModalWrapperMobile.svelte-10jiq1l .ModalContent.svelte-10jiq1l{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile.svelte-10jiq1l .ModalBody.svelte-10jiq1l{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile.svelte-10jiq1l .ModalText.svelte-10jiq1l{font-size:16px}.ModalWrapper.ModalWrapperMobile.svelte-10jiq1l .ModalButtons.svelte-10jiq1l{gap:10px}.ModalWrapper.ModalWrapperMobile.svelte-10jiq1l .ModalCancel.svelte-10jiq1l,.ModalWrapper.ModalWrapperMobile.svelte-10jiq1l .ModalConfirm.svelte-10jiq1l{height:40px;width:50%;font-size:14px}.BonusesPaginationWrapper.svelte-10jiq1l.svelte-10jiq1l{margin:40px 0;display:flex;justify-content:center}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile.svelte-10jiq1l.svelte-10jiq1l{text-align:center}.BonusesPaginationWrapper.svelte-10jiq1l .BonusesFirst.svelte-10jiq1l,.BonusesPaginationWrapper.svelte-10jiq1l .BonusesPrev.svelte-10jiq1l,.BonusesPaginationWrapper.svelte-10jiq1l .BonusesNext.svelte-10jiq1l,.BonusesPaginationWrapper.svelte-10jiq1l .BonusesLast.svelte-10jiq1l{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:16px;cursor:pointer;padding:5px 10px;font-weight:700}.BonusesPaginationWrapper.svelte-10jiq1l .BonusesFirst.Inactive.svelte-10jiq1l,.BonusesPaginationWrapper.svelte-10jiq1l .BonusesPrev.Inactive.svelte-10jiq1l,.BonusesPaginationWrapper.svelte-10jiq1l .BonusesNext.Inactive.svelte-10jiq1l,.BonusesPaginationWrapper.svelte-10jiq1l .BonusesLast.Inactive.svelte-10jiq1l{color:var(--emfe-w-color-gray-100, #E6E6E6);cursor:default}.BonusesPaginationWrapper.svelte-10jiq1l .BonusesPage.svelte-10jiq1l{margin:0 5px;color:var(--emfe-w-color-gray-300, #58586B);font-size:16px;cursor:pointer;padding:5px 10px}.BonusesPaginationWrapper.svelte-10jiq1l .BonusesPage.BonusPageActive.svelte-10jiq1l{background-color:var(--emfe-w-color-white, #FFFFFF);font-weight:700}");
148
- }
149
- function ie(o, e, s) {
150
- const t = o.slice();
151
- return t[46] = e[s], t[48] = s, t;
152
- }
153
- function ae(o, e, s) {
154
- const t = o.slice();
155
- return t[49] = e[s], t;
156
- }
157
- function Oe(o) {
158
- let e, s, t, n = (
159
- /*$_*/
160
- o[14]("titleBonuses") + ""
161
- ), i, l, v, u, c = (
162
- /*$_*/
163
- o[14]("bonusCode") + ""
164
- ), _, f, g, y, P, C, q = (
165
- /*$_*/
166
- o[14]("getBonus") + ""
167
- ), w, M, D, F, j, b, A, h, X, G = (
168
- /*isMobile*/
169
- o[15] && Ge(o)
170
- ), z = (
171
- /*invalidBonusCode*/
172
- o[5] && re(o)
173
- );
174
- function K(m, k) {
175
- return (
176
- /*activeBonusesList*/
177
- m[12].length === 0 ? Ve : Ue
178
- );
179
- }
180
- let Y = K(o), O = Y(o), I = (
181
- /*activeBonusesList*/
182
- o[12].length !== 0 && ce(o)
183
- ), T = (
184
- /*bonusModal*/
185
- o[13] && pe(o)
186
- );
187
- return {
188
- c() {
189
- e = B("div"), G && G.c(), s = S(), t = B("h2"), i = N(n), l = S(), v = B("div"), u = B("label"), _ = N(c), f = S(), g = B("div"), y = B("input"), P = S(), C = B("button"), w = N(q), M = S(), z && z.c(), D = S(), F = B("div"), O.c(), j = S(), I && I.c(), b = S(), T && T.c(), A = $(), p(t, "class", "ActiveBonusesTitle " + /*isMobile*/
190
- (o[15] ? "ActiveBonusesTitleNone" : "") + " svelte-10jiq1l"), p(u, "for", "BonusCode"), p(u, "class", "svelte-10jiq1l"), p(y, "class", "BonusCodeInput " + /*isMobile*/
191
- (o[15] ? "BonusCodeInputMobile" : "") + " svelte-10jiq1l"), p(y, "type", "text"), p(y, "id", "BonusCode"), p(C, "class", "SubmitBonusCode " + /*isMobile*/
192
- (o[15] ? "SubmitBonusCodeMobile" : "") + " svelte-10jiq1l"), C.disabled = /*invalidBonusField*/
193
- o[4], p(g, "class", "BonusCodeWrapper " + /*isMobile*/
194
- (o[15] ? "BonusCodeWrapperMobile" : "") + " svelte-10jiq1l"), p(v, "class", "BonusCodeContainer " + /*isMobile*/
195
- (o[15] ? "BonusCodeContainerMobile" : "") + " svelte-10jiq1l"), p(F, "class", "ActiveBonusesGrid " + /*isMobile*/
196
- (o[15] ? "ActiveBonusesGridMobile" : "") + " svelte-10jiq1l"), p(e, "class", "ActiveBonusesWrapper " + /*isMobile*/
197
- (o[15] ? "ActiveBonusesWrapperMobile" : "") + " svelte-10jiq1l");
198
- },
199
- m(m, k) {
200
- L(m, e, k), G && G.m(e, null), r(e, s), r(e, t), r(t, i), r(e, l), r(e, v), r(v, u), r(u, _), r(v, f), r(v, g), r(g, y), ne(
201
- y,
202
- /*bonusCode*/
203
- o[6]
204
- ), r(g, P), r(g, C), r(C, w), r(v, M), z && z.m(v, null), r(e, D), r(e, F), O.m(F, null), r(e, j), I && I.m(e, null), L(m, b, k), T && T.m(m, k), L(m, A, k), h || (X = [
205
- U(
206
- y,
207
- "input",
208
- /*input_input_handler*/
209
- o[29]
210
- ),
211
- U(
212
- y,
213
- "keyup",
214
- /*validateBonusCode*/
215
- o[17]
216
- ),
217
- U(
218
- C,
219
- "click",
220
- /*debouncedFunction*/
221
- o[22](
222
- /*claimBonus*/
223
- o[19]
224
- )
225
- )
226
- ], h = !0);
227
- },
228
- p(m, k) {
229
- /*isMobile*/
230
- m[15] && G.p(m, k), k[0] & /*$_*/
231
- 16384 && n !== (n = /*$_*/
232
- m[14]("titleBonuses") + "") && H(i, n), k[0] & /*$_*/
233
- 16384 && c !== (c = /*$_*/
234
- m[14]("bonusCode") + "") && H(_, c), k[0] & /*bonusCode*/
235
- 64 && y.value !== /*bonusCode*/
236
- m[6] && ne(
237
- y,
238
- /*bonusCode*/
239
- m[6]
240
- ), k[0] & /*$_*/
241
- 16384 && q !== (q = /*$_*/
242
- m[14]("getBonus") + "") && H(w, q), k[0] & /*invalidBonusField*/
243
- 16 && (C.disabled = /*invalidBonusField*/
244
- m[4]), /*invalidBonusCode*/
245
- m[5] ? z ? z.p(m, k) : (z = re(m), z.c(), z.m(v, null)) : z && (z.d(1), z = null), Y === (Y = K(m)) && O ? O.p(m, k) : (O.d(1), O = Y(m), O && (O.c(), O.m(F, null))), /*activeBonusesList*/
246
- m[12].length !== 0 ? I ? I.p(m, k) : (I = ce(m), I.c(), I.m(e, null)) : I && (I.d(1), I = null), /*bonusModal*/
247
- m[13] ? T ? T.p(m, k) : (T = pe(m), T.c(), T.m(A.parentNode, A)) : T && (T.d(1), T = null);
248
- },
249
- d(m) {
250
- m && (R(e), R(b), R(A)), G && G.d(), z && z.d(), O.d(), I && I.d(), T && T.d(m), h = !1, ee(X);
251
- }
252
- };
253
- }
254
- function Ge(o) {
255
- let e, s, t, n, i, l, v, u, c, _, f = (
256
- /*$_*/
257
- o[14]("titleBonuses") + ""
258
- ), g, y, P;
259
- return {
260
- c() {
261
- e = B("div"), s = Z("svg"), t = Z("defs"), n = Z("style"), i = N(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));}"), l = Z("g"), v = Z("g"), u = Z("path"), c = S(), _ = B("h2"), g = N(f), p(u, "class", "aaa"), p(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), p(u, "transform", "translate(15 15) rotate(180)"), p(v, "transform", "translate(20 158)"), p(l, "transform", "translate(-20 -158)"), p(s, "xmlns", "http://www.w3.org/2000/svg"), p(s, "width", "15"), p(s, "height", "15"), p(s, "viewBox", "0 0 15 15"), p(s, "class", "svelte-10jiq1l"), p(_, "class", "ActiveBonusesTitleMobile svelte-10jiq1l"), p(e, "class", "MenuReturnButton svelte-10jiq1l");
262
- },
263
- m(C, q) {
264
- L(C, e, q), r(e, s), r(s, t), r(t, n), r(n, i), r(s, l), r(l, v), r(v, u), r(e, c), r(e, _), r(_, g), y || (P = U(
265
- e,
266
- "click",
267
- /*click_handler*/
268
- o[28]
269
- ), y = !0);
270
- },
271
- p(C, q) {
272
- q[0] & /*$_*/
273
- 16384 && f !== (f = /*$_*/
274
- C[14]("titleBonuses") + "") && H(g, f);
275
- },
276
- d(C) {
277
- C && R(e), y = !1, P();
278
- }
279
- };
280
- }
281
- function re(o) {
282
- let e, s = (
283
- /*$_*/
284
- o[14]("invalidBonusCode") + ""
285
- ), t;
286
- return {
287
- c() {
288
- e = B("p"), t = N(s), p(e, "class", "InvalidBonusCodeMessage svelte-10jiq1l");
289
- },
290
- m(n, i) {
291
- L(n, e, i), r(e, t);
292
- },
293
- p(n, i) {
294
- i[0] & /*$_*/
295
- 16384 && s !== (s = /*$_*/
296
- n[14]("invalidBonusCode") + "") && H(t, s);
297
- },
298
- d(n) {
299
- n && R(e);
300
- }
301
- };
302
- }
303
- function Ue(o) {
304
- let e, s = x(
305
- /*activeBonusesList*/
306
- o[12]
307
- ), t = [];
308
- for (let n = 0; n < s.length; n += 1)
309
- t[n] = ue(ae(o, s, n));
310
- return {
311
- c() {
312
- for (let n = 0; n < t.length; n += 1)
313
- t[n].c();
314
- e = $();
315
- },
316
- m(n, i) {
317
- for (let l = 0; l < t.length; l += 1)
318
- t[l] && t[l].m(n, i);
319
- L(n, e, i);
320
- },
321
- p(n, i) {
322
- if (i[0] & /*activeBonusesList, lang, clientstyling, clientstylingurl*/
323
- 4103) {
324
- s = x(
325
- /*activeBonusesList*/
326
- n[12]
327
- );
328
- let l;
329
- for (l = 0; l < s.length; l += 1) {
330
- const v = ae(n, s, l);
331
- t[l] ? t[l].p(v, i) : (t[l] = ue(v), t[l].c(), t[l].m(e.parentNode, e));
332
- }
333
- for (; l < t.length; l += 1)
334
- t[l].d(1);
335
- t.length = s.length;
336
- }
337
- },
338
- d(n) {
339
- n && R(e), fe(t, n);
340
- }
341
- };
342
- }
343
- function Ve(o) {
344
- let e, s = (
345
- /*$_*/
346
- o[14]("noActiveBonuses") + ""
347
- ), t;
348
- return {
349
- c() {
350
- e = B("p"), t = N(s);
351
- },
352
- m(n, i) {
353
- L(n, e, i), r(e, t);
354
- },
355
- p(n, i) {
356
- i[0] & /*$_*/
357
- 16384 && s !== (s = /*$_*/
358
- n[14]("noActiveBonuses") + "") && H(t, s);
359
- },
360
- d(n) {
361
- n && R(e);
362
- }
363
- };
364
- }
365
- function He(o) {
366
- let e, s, t, n, i, l, v, u, c, _;
367
- return {
368
- c() {
369
- e = B("player-bonus-card"), d(e, "bonuswalletid", s = /*activeBonus*/
370
- o[49].walletId), d(e, "bonusdate", t = /*activeBonus*/
371
- o[49].granted), d(e, "bonusstatus", n = /*activeBonus*/
372
- o[49].status), d(e, "bonusname", i = /*activeBonus*/
373
- o[49].name), d(e, "bonustype", l = /*activeBonus*/
374
- o[49].type), d(e, "bonusamount", v = /*activeBonus*/
375
- o[49].extension.grantedPlayerCurrencyAmount), d(e, "bonuswageringamount", u = `${/*activeBonus*/
376
- o[49].fulfilledWR} / ${/*activeBonus*/
377
- o[49].originalWageringRequirement}`), d(e, "bonusremainingamount", c = /*activeBonus*/
378
- o[49].currentAmount), d(e, "bonuscurrency", _ = /*activeBonus*/
379
- o[49].currency), d(
380
- e,
381
- "lang",
382
- /*lang*/
383
- o[0]
384
- ), d(
385
- e,
386
- "clientstyling",
387
- /*clientstyling*/
388
- o[1]
389
- ), d(
390
- e,
391
- "clientstylingurl",
392
- /*clientstylingurl*/
393
- o[2]
394
- );
395
- },
396
- m(f, g) {
397
- L(f, e, g);
398
- },
399
- p(f, g) {
400
- g[0] & /*activeBonusesList*/
401
- 4096 && s !== (s = /*activeBonus*/
402
- f[49].walletId) && d(e, "bonuswalletid", s), g[0] & /*activeBonusesList*/
403
- 4096 && t !== (t = /*activeBonus*/
404
- f[49].granted) && d(e, "bonusdate", t), g[0] & /*activeBonusesList*/
405
- 4096 && n !== (n = /*activeBonus*/
406
- f[49].status) && d(e, "bonusstatus", n), g[0] & /*activeBonusesList*/
407
- 4096 && i !== (i = /*activeBonus*/
408
- f[49].name) && d(e, "bonusname", i), g[0] & /*activeBonusesList*/
409
- 4096 && l !== (l = /*activeBonus*/
410
- f[49].type) && d(e, "bonustype", l), g[0] & /*activeBonusesList*/
411
- 4096 && v !== (v = /*activeBonus*/
412
- f[49].extension.grantedPlayerCurrencyAmount) && d(e, "bonusamount", v), g[0] & /*activeBonusesList*/
413
- 4096 && u !== (u = `${/*activeBonus*/
414
- f[49].fulfilledWR} / ${/*activeBonus*/
415
- f[49].originalWageringRequirement}`) && d(e, "bonuswageringamount", u), g[0] & /*activeBonusesList*/
416
- 4096 && c !== (c = /*activeBonus*/
417
- f[49].currentAmount) && d(e, "bonusremainingamount", c), g[0] & /*activeBonusesList*/
418
- 4096 && _ !== (_ = /*activeBonus*/
419
- f[49].currency) && d(e, "bonuscurrency", _), g[0] & /*lang*/
420
- 1 && d(
421
- e,
422
- "lang",
423
- /*lang*/
424
- f[0]
425
- ), g[0] & /*clientstyling*/
426
- 2 && d(
427
- e,
428
- "clientstyling",
429
- /*clientstyling*/
430
- f[1]
431
- ), g[0] & /*clientstylingurl*/
432
- 4 && d(
433
- e,
434
- "clientstylingurl",
435
- /*clientstylingurl*/
436
- f[2]
437
- );
438
- },
439
- d(f) {
440
- f && R(e);
441
- }
442
- };
443
- }
444
- function Xe(o) {
445
- let e, s, t, n, i, l, v;
446
- return {
447
- c() {
448
- e = B("player-bonus-card"), d(e, "bonuswalletid", s = /*activeBonus*/
449
- o[49].walletId), d(e, "bonusdate", t = /*activeBonus*/
450
- o[49].granted), d(e, "bonusstatus", n = /*activeBonus*/
451
- o[49].status), d(e, "bonusname", i = /*activeBonus*/
452
- o[49].name), d(e, "bonustype", l = /*activeBonus*/
453
- o[49].type), d(e, "bonuscurrency", v = /*activeBonus*/
454
- o[49].currency), d(
455
- e,
456
- "lang",
457
- /*lang*/
458
- o[0]
459
- ), d(
460
- e,
461
- "clientstyling",
462
- /*clientstyling*/
463
- o[1]
464
- ), d(
465
- e,
466
- "clientstylingurl",
467
- /*clientstylingurl*/
468
- o[2]
469
- );
470
- },
471
- m(u, c) {
472
- L(u, e, c);
473
- },
474
- p(u, c) {
475
- c[0] & /*activeBonusesList*/
476
- 4096 && s !== (s = /*activeBonus*/
477
- u[49].walletId) && d(e, "bonuswalletid", s), c[0] & /*activeBonusesList*/
478
- 4096 && t !== (t = /*activeBonus*/
479
- u[49].granted) && d(e, "bonusdate", t), c[0] & /*activeBonusesList*/
480
- 4096 && n !== (n = /*activeBonus*/
481
- u[49].status) && d(e, "bonusstatus", n), c[0] & /*activeBonusesList*/
482
- 4096 && i !== (i = /*activeBonus*/
483
- u[49].name) && d(e, "bonusname", i), c[0] & /*activeBonusesList*/
484
- 4096 && l !== (l = /*activeBonus*/
485
- u[49].type) && d(e, "bonustype", l), c[0] & /*activeBonusesList*/
486
- 4096 && v !== (v = /*activeBonus*/
487
- u[49].currency) && d(e, "bonuscurrency", v), c[0] & /*lang*/
488
- 1 && d(
489
- e,
490
- "lang",
491
- /*lang*/
492
- u[0]
493
- ), c[0] & /*clientstyling*/
494
- 2 && d(
495
- e,
496
- "clientstyling",
497
- /*clientstyling*/
498
- u[1]
499
- ), c[0] & /*clientstylingurl*/
500
- 4 && d(
501
- e,
502
- "clientstylingurl",
503
- /*clientstylingurl*/
504
- u[2]
505
- );
506
- },
507
- d(u) {
508
- u && R(e);
509
- }
510
- };
511
- }
512
- function ue(o) {
513
- let e;
514
- function s(i, l) {
515
- return (
516
- /*activeBonus*/
517
- i[49].type === "freeRound" ? Xe : He
518
- );
519
- }
520
- let t = s(o), n = t(o);
521
- return {
522
- c() {
523
- n.c(), e = $();
524
- },
525
- m(i, l) {
526
- n.m(i, l), L(i, e, l);
527
- },
528
- p(i, l) {
529
- t === (t = s(i)) && n ? n.p(i, l) : (n.d(1), n = t(i), n && (n.c(), n.m(e.parentNode, e)));
530
- },
531
- d(i) {
532
- i && R(e), n.d(i);
533
- }
534
- };
535
- }
536
- function ce(o) {
537
- let e, s, t, n, i, l, v, u, c, _, f, g, y, P, C, q, w, M, D, F = x(Array(
538
- /*numberOfPages*/
539
- o[10]
540
- )), j = [];
541
- for (let b = 0; b < F.length; b += 1)
542
- j[b] = de(ie(o, F, b));
543
- return {
544
- c() {
545
- e = B("div"), s = B("span"), t = N("|<"), i = S(), l = B("span"), v = N("<"), c = S();
546
- for (let b = 0; b < j.length; b += 1)
547
- j[b].c();
548
- _ = S(), f = B("span"), g = N(">"), P = S(), C = B("span"), q = N(">|"), p(s, "class", n = "BonusesFirst " + /*currentPage*/
549
- (o[11] === 0 ? "Inactive" : "") + " svelte-10jiq1l"), p(l, "class", u = "BonusesPrev " + /*currentPage*/
550
- (o[11] === 0 ? "Inactive" : "") + " svelte-10jiq1l"), p(f, "class", y = "BonusesNext " + /*currentPage*/
551
- (o[11] === /*numberOfPages*/
552
- o[10] - 1 ? "Inactive" : "") + " svelte-10jiq1l"), p(C, "class", w = "BonusesLast " + /*currentPage*/
553
- (o[11] === /*numberOfPages*/
554
- o[10] - 1 ? "Inactive" : "") + " svelte-10jiq1l"), p(e, "class", "BonusesPaginationWrapper " + /*isMobile*/
555
- (o[15] ? "BonusesPaginationWrapperMobile" : "") + " svelte-10jiq1l");
556
- },
557
- m(b, A) {
558
- L(b, e, A), r(e, s), r(s, t), r(e, i), r(e, l), r(l, v), r(e, c);
559
- for (let h = 0; h < j.length; h += 1)
560
- j[h] && j[h].m(e, null);
561
- r(e, _), r(e, f), r(f, g), r(e, P), r(e, C), r(C, q), M || (D = [
562
- U(
563
- s,
564
- "click",
565
- /*click_handler_1*/
566
- o[30]
567
- ),
568
- U(
569
- l,
570
- "click",
571
- /*click_handler_2*/
572
- o[31]
573
- ),
574
- U(
575
- f,
576
- "click",
577
- /*click_handler_4*/
578
- o[33]
579
- ),
580
- U(
581
- C,
582
- "click",
583
- /*click_handler_5*/
584
- o[34]
585
- )
586
- ], M = !0);
587
- },
588
- p(b, A) {
589
- if (A[0] & /*currentPage*/
590
- 2048 && n !== (n = "BonusesFirst " + /*currentPage*/
591
- (b[11] === 0 ? "Inactive" : "") + " svelte-10jiq1l") && p(s, "class", n), A[0] & /*currentPage*/
592
- 2048 && u !== (u = "BonusesPrev " + /*currentPage*/
593
- (b[11] === 0 ? "Inactive" : "") + " svelte-10jiq1l") && p(l, "class", u), A[0] & /*currentPage, getActiveBonuses, numberOfPages*/
594
- 265216) {
595
- F = x(Array(
596
- /*numberOfPages*/
597
- b[10]
598
- ));
599
- let h;
600
- for (h = 0; h < F.length; h += 1) {
601
- const X = ie(b, F, h);
602
- j[h] ? j[h].p(X, A) : (j[h] = de(X), j[h].c(), j[h].m(e, _));
603
- }
604
- for (; h < j.length; h += 1)
605
- j[h].d(1);
606
- j.length = F.length;
607
- }
608
- A[0] & /*currentPage, numberOfPages*/
609
- 3072 && y !== (y = "BonusesNext " + /*currentPage*/
610
- (b[11] === /*numberOfPages*/
611
- b[10] - 1 ? "Inactive" : "") + " svelte-10jiq1l") && p(f, "class", y), A[0] & /*currentPage, numberOfPages*/
612
- 3072 && w !== (w = "BonusesLast " + /*currentPage*/
613
- (b[11] === /*numberOfPages*/
614
- b[10] - 1 ? "Inactive" : "") + " svelte-10jiq1l") && p(C, "class", w);
615
- },
616
- d(b) {
617
- b && R(e), fe(j, b), M = !1, ee(D);
618
- }
619
- };
620
- }
621
- function de(o) {
622
- let e, s = (
623
- /*i*/
624
- o[48] + 1 + ""
625
- ), t, n, i, l;
626
- function v() {
627
- return (
628
- /*click_handler_3*/
629
- o[32](
630
- /*i*/
631
- o[48]
632
- )
633
- );
634
- }
635
- return {
636
- c() {
637
- e = B("span"), t = N(s), p(e, "class", n = "BonusesPage " + /*i*/
638
- (o[48] === /*currentPage*/
639
- o[11] ? "BonusPageActive" : "") + " svelte-10jiq1l");
640
- },
641
- m(u, c) {
642
- L(u, e, c), r(e, t), i || (l = U(e, "click", v), i = !0);
643
- },
644
- p(u, c) {
645
- o = u, c[0] & /*currentPage*/
646
- 2048 && n !== (n = "BonusesPage " + /*i*/
647
- (o[48] === /*currentPage*/
648
- o[11] ? "BonusPageActive" : "") + " svelte-10jiq1l") && p(e, "class", n);
649
- },
650
- d(u) {
651
- u && R(e), i = !1, l();
652
- }
653
- };
654
- }
655
- function pe(o) {
656
- let e, s, t, n, i = (
657
- /*$_*/
658
- o[14]("forfeitBonus") + ""
659
- ), l, v, u, c, _ = (
660
- /*$_*/
661
- o[14]("forfeitBonusCancel") + ""
662
- ), f, g, y, P = (
663
- /*$_*/
664
- o[14]("forfeitBonusConfirm") + ""
665
- ), C, q, w;
666
- return {
667
- c() {
668
- e = B("div"), s = B("div"), t = B("div"), n = B("p"), l = N(i), v = S(), u = B("div"), c = B("button"), f = N(_), g = S(), y = B("button"), C = N(P), p(n, "class", "ModalText svelte-10jiq1l"), p(c, "class", "ModalCancel svelte-10jiq1l"), p(y, "class", "ModalConfirm svelte-10jiq1l"), p(u, "class", "ModalButtons svelte-10jiq1l"), p(t, "class", "ModalBody svelte-10jiq1l"), p(s, "class", "ModalContent svelte-10jiq1l"), p(e, "class", "ModalWrapper " + /*isMobile*/
669
- (o[15] ? "ModalWrapperMobile" : "") + " svelte-10jiq1l");
670
- },
671
- m(M, D) {
672
- L(M, e, D), r(e, s), r(s, t), r(t, n), r(n, l), r(t, v), r(t, u), r(u, c), r(c, f), r(u, g), r(u, y), r(y, C), q || (w = [
673
- U(
674
- c,
675
- "click",
676
- /*closeBonusModal*/
677
- o[20]
678
- ),
679
- U(
680
- y,
681
- "click",
682
- /*debouncedFunction*/
683
- o[22](
684
- /*deleteBonus*/
685
- o[21]
686
- )
687
- )
688
- ], q = !0);
689
- },
690
- p(M, D) {
691
- D[0] & /*$_*/
692
- 16384 && i !== (i = /*$_*/
693
- M[14]("forfeitBonus") + "") && H(l, i), D[0] & /*$_*/
694
- 16384 && _ !== (_ = /*$_*/
695
- M[14]("forfeitBonusCancel") + "") && H(f, _), D[0] & /*$_*/
696
- 16384 && P !== (P = /*$_*/
697
- M[14]("forfeitBonusConfirm") + "") && H(C, P);
698
- },
699
- d(M) {
700
- M && R(e), q = !1, ee(w);
701
- }
702
- };
703
- }
704
- function Je(o) {
705
- let e;
706
- function s(i, l) {
707
- return Oe;
708
- }
709
- let n = s()(o);
710
- return {
711
- c() {
712
- e = B("div"), n.c();
713
- },
714
- m(i, l) {
715
- L(i, e, l), n.m(e, null), o[35](e);
716
- },
717
- p(i, l) {
718
- n.p(i, l);
719
- },
720
- i: se,
721
- o: se,
722
- d(i) {
723
- i && R(e), n.d(), o[35](null);
724
- }
725
- };
726
- }
727
- let Qe = "status=active", V = 6;
728
- function Ye(o, e, s) {
729
- let t;
730
- Te(o, Ne, (a) => s(14, t = a));
731
- let { endpoint: n = "" } = e, { session: i = "" } = e, { playerid: l = "" } = e, { lang: v = "en" } = e, { playercurrency: u = "" } = e, { clientstyling: c = "" } = e, { clientstylingurl: _ = "" } = e, { translationurl: f = "" } = e, g, y = window.navigator.userAgent, P = Ee(y) !== "PC", C = !0, q = !1, w = "", M = 0, D = 0, F = 0, j = 0, b = 0, A = [], h, X = "", G = !1;
732
- const z = () => {
733
- fetch(f).then((W) => W.json()).then((W) => {
734
- Object.keys(W).forEach((E) => {
735
- te(E, W[E]);
736
- });
737
- }).catch((W) => {
738
- console.log(W);
739
- });
740
- };
741
- Object.keys(le).forEach((a) => {
742
- te(a, le[a]);
743
- });
744
- const K = (a) => {
745
- if (a.data)
746
- switch (a.data.type) {
747
- case "DeleteActiveBonus":
748
- X = a.data.bonuswalletid, s(13, G = !0);
749
- break;
750
- }
751
- };
752
- function Y(a, W) {
753
- return (...E) => {
754
- clearTimeout(h), h = setTimeout(
755
- () => {
756
- a.apply(this, E);
757
- },
758
- W
759
- );
760
- };
761
- }
762
- const O = () => {
763
- window.postMessage(
764
- {
765
- type: "PlayerAccountMenuActive",
766
- isMobile: P
767
- },
768
- window.location.href
769
- );
770
- }, I = () => !!w, T = () => {
771
- s(4, C = !I());
772
- }, m = (a) => {
773
- let W = {
774
- method: "GET",
775
- headers: { "X-SessionId": i }
776
- }, E = new URL(`${n}/v1/player/${l}/bonusWallet`);
777
- E.searchParams.append("filter", Qe), E.searchParams.append("pagination", `offset=${a},limit=${V}`), fetch(E, W).then((Q) => Q.json()).then(
778
- (Q) => {
779
- s(10, j = Math.ceil(Q.total / V)), a - V >= 0 && s(7, M = a - V), a + V < Q.total && s(8, D = a + V), s(9, F = (j - 1) * V), s(11, b = a / V), s(12, A = Q.items), window.scrollTo({ top: 0, behavior: "smooth" });
780
- },
781
- (Q) => {
782
- console.error(Q);
783
- }
784
- );
785
- }, k = () => {
786
- let a = new URL(`${n}/v1/player/${l}/claimbonus`), W = {
787
- method: "POST",
788
- headers: {
789
- "X-SessionId": i,
790
- accept: "application/json"
791
- }
792
- };
793
- a.searchParams.append("currency", u), a.searchParams.append("bonusCode", w), fetch(a.href, W).then((E) => {
794
- E.status == 200 ? (s(5, q = !1), m(0), window.postMessage(
795
- {
796
- type: "WidgetNotification",
797
- data: {
798
- type: "success",
799
- message: t("successMessage")
800
- }
801
- },
802
- window.location.href
803
- ), typeof gtag == "function" && gtag("event", "ClaimBonus", {
804
- context: "PlayerActiveBonuses",
805
- userId: `${l || "Not logged in"}`,
806
- bonusCode: `${w}`
807
- })) : (s(5, q = !0), window.postMessage(
808
- {
809
- type: "WidgetNotification",
810
- data: {
811
- type: "error",
812
- message: t("errorMessage")
813
- }
814
- },
815
- window.location.href
816
- ));
817
- });
818
- }, oe = () => {
819
- window.postMessage({ type: "EnableScroll" }, window.location.href), s(13, G = !1);
820
- }, ve = () => {
821
- let a = {
822
- method: "DELETE",
823
- headers: {
824
- "X-SessionId": i,
825
- "Content-Type": "application/json",
826
- Accept: "application/json"
827
- }
828
- }, W = new URL(`${n}/v1/player/${l}/bonusWallet`);
829
- W.searchParams.append("bonusWalletID", X), fetch(W, a).then((E) => {
830
- E.status == 200 && (m(0), oe());
831
- });
832
- }, me = () => {
833
- Le(v);
834
- }, ge = () => {
835
- let a = document.createElement("style");
836
- a.innerHTML = c, g.appendChild(a);
837
- }, be = () => {
838
- let a = new URL(_), W = document.createElement("style");
839
- fetch(a.href).then((E) => E.text()).then((E) => {
840
- W.innerHTML = E, setTimeout(
841
- () => {
842
- g.appendChild(W);
843
- },
844
- 1
845
- );
846
- });
847
- };
848
- function Be(a) {
849
- return Y(a, 1e3);
850
- }
851
- De(() => (window.addEventListener("message", K, !1), () => {
852
- window.removeEventListener("message", K);
853
- }));
854
- const _e = () => O();
855
- function ye() {
856
- w = this.value, s(6, w);
857
- }
858
- const Ce = () => m(0), he = () => m(M), je = (a) => m(a * V), qe = () => m(D), we = () => m(F);
859
- function Me(a) {
860
- Se[a ? "unshift" : "push"](() => {
861
- g = a, s(3, g);
862
- });
863
- }
864
- return o.$$set = (a) => {
865
- "endpoint" in a && s(23, n = a.endpoint), "session" in a && s(24, i = a.session), "playerid" in a && s(25, l = a.playerid), "lang" in a && s(0, v = a.lang), "playercurrency" in a && s(26, u = a.playercurrency), "clientstyling" in a && s(1, c = a.clientstyling), "clientstylingurl" in a && s(2, _ = a.clientstylingurl), "translationurl" in a && s(27, f = a.translationurl);
866
- }, o.$$.update = () => {
867
- o.$$.dirty[0] & /*lang*/
868
- 1 && v && me(), o.$$.dirty[0] & /*session, playerid, endpoint*/
869
- 58720256 && i && l && n && m(0), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
870
- 12 && _ && g && be(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
871
- 10 && c && g && ge(), o.$$.dirty[0] & /*translationurl*/
872
- 134217728 && f && z();
873
- }, [
874
- v,
875
- c,
876
- _,
877
- g,
878
- C,
879
- q,
880
- w,
881
- M,
882
- D,
883
- F,
884
- j,
885
- b,
886
- A,
887
- G,
888
- t,
889
- P,
890
- O,
891
- T,
892
- m,
893
- k,
894
- oe,
895
- ve,
896
- Be,
897
- n,
898
- i,
899
- l,
900
- u,
901
- f,
902
- _e,
903
- ye,
904
- Ce,
905
- he,
906
- je,
907
- qe,
908
- we,
909
- Me
910
- ];
911
- }
912
- class Ze extends Ae {
913
- constructor(e) {
914
- super(), Pe(
915
- this,
916
- e,
917
- Ye,
918
- Je,
919
- ze,
920
- {
921
- endpoint: 23,
922
- session: 24,
923
- playerid: 25,
924
- lang: 0,
925
- playercurrency: 26,
926
- clientstyling: 1,
927
- clientstylingurl: 2,
928
- translationurl: 27
929
- },
930
- Re,
931
- [-1, -1]
932
- );
933
- }
934
- get endpoint() {
935
- return this.$$.ctx[23];
936
- }
937
- set endpoint(e) {
938
- this.$$set({ endpoint: e }), J();
939
- }
940
- get session() {
941
- return this.$$.ctx[24];
942
- }
943
- set session(e) {
944
- this.$$set({ session: e }), J();
945
- }
946
- get playerid() {
947
- return this.$$.ctx[25];
948
- }
949
- set playerid(e) {
950
- this.$$set({ playerid: e }), J();
951
- }
952
- get lang() {
953
- return this.$$.ctx[0];
954
- }
955
- set lang(e) {
956
- this.$$set({ lang: e }), J();
957
- }
958
- get playercurrency() {
959
- return this.$$.ctx[26];
960
- }
961
- set playercurrency(e) {
962
- this.$$set({ playercurrency: e }), J();
963
- }
964
- get clientstyling() {
965
- return this.$$.ctx[1];
966
- }
967
- set clientstyling(e) {
968
- this.$$set({ clientstyling: e }), J();
969
- }
970
- get clientstylingurl() {
971
- return this.$$.ctx[2];
972
- }
973
- set clientstylingurl(e) {
974
- this.$$set({ clientstylingurl: e }), J();
975
- }
976
- get translationurl() {
977
- return this.$$.ctx[27];
978
- }
979
- set translationurl(e) {
980
- this.$$set({ translationurl: e }), J();
981
- }
982
- }
983
- Fe(Ze, { endpoint: {}, session: {}, playerid: {}, lang: {}, playercurrency: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
984
- export {
985
- Ze as default
986
- };