@everymatrix/player-account-controller-nd 1.55.0 → 1.56.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (208) hide show
  1. package/components/GeneralLogout-B0tDLggX.cjs +21 -0
  2. package/components/{GeneralLogout-Ve_dOAMA.js → GeneralLogout-Bey9GDpf.js} +987 -935
  3. package/components/{GeneralLogout-BZhvD1EQ.js → GeneralLogout-YiF0hTAh.js} +991 -939
  4. package/components/PlayerAccountBettingHistory-Db9Bi7uC.js +328 -0
  5. package/components/PlayerAccountBettingHistory-QrFClf-q.cjs +1 -0
  6. package/components/PlayerAccountBettingHistory-e7BZnvlA.js +329 -0
  7. package/components/{PlayerAccountBiometrics-fQlNKCoA.js → PlayerAccountBiometrics-9yKUwb5y.js} +125 -126
  8. package/components/{PlayerAccountBiometrics-BrlNlZ5N.cjs → PlayerAccountBiometrics-Bs6NMHc0.cjs} +1 -1
  9. package/components/{PlayerAccountBiometrics-BupiQCMJ.js → PlayerAccountBiometrics-fgA6msXe.js} +125 -126
  10. package/components/{PlayerAccountClosureNd-DcMOj468.cjs → PlayerAccountClosureNd-BUJ9_TaL.cjs} +1 -1
  11. package/components/{PlayerAccountClosureNd-CEad1veU.js → PlayerAccountClosureNd-LZ83f2yz.js} +127 -128
  12. package/components/{PlayerAccountClosureNd-DAFiYifr.js → PlayerAccountClosureNd-UXSMJQcx.js} +127 -128
  13. package/components/{PlayerAccountControllerNd-5BH6GjlH.js → PlayerAccountControllerNd-9wsIJ-js.js} +1714 -1141
  14. package/components/PlayerAccountControllerNd-D0INricU.cjs +1 -0
  15. package/components/{PlayerAccountControllerNd-BmAwgSdK.js → PlayerAccountControllerNd-DWv_sKx6.js} +1640 -1067
  16. package/components/{PlayerAccountGamingLimits-9Stjo0gs.js → PlayerAccountGamingLimits-B9-kZCVp.js} +291 -240
  17. package/components/PlayerAccountGamingLimits-D46zagPJ.cjs +1 -0
  18. package/components/{PlayerAccountGamingLimits-DI0RPgPB.js → PlayerAccountGamingLimits-qwcdGv5k.js} +291 -240
  19. package/components/PlayerAccountGamingLimitsConfirmationModal-BVtO8XYY.cjs +1 -0
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-BzAWyxny.js → PlayerAccountGamingLimitsConfirmationModal-DsbEiYMl.js} +127 -131
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-DKpr25Aj.js → PlayerAccountGamingLimitsConfirmationModal-knZnUTFD.js} +127 -131
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-Dj2jUWb2.js → PlayerAccountGamingLimitsGroupEdit-5NUu_zZc.js} +1467 -1524
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-CBViR9JR.js → PlayerAccountGamingLimitsGroupEdit-B8GXBPFa.js} +1467 -1524
  24. package/components/PlayerAccountGamingLimitsGroupEdit-DNh-dSyB.cjs +10 -0
  25. package/components/{PlayerAccountGamingLimitsHistory2Nd-BQy_79YQ.js → PlayerAccountGamingLimitsHistory2Nd-CK8Ge8bB.js} +224 -231
  26. package/components/{PlayerAccountGamingLimitsHistory2Nd-2hdjxCBn.cjs → PlayerAccountGamingLimitsHistory2Nd-CTdhbVen.cjs} +1 -1
  27. package/components/{PlayerAccountGamingLimitsHistory2Nd-BQRXsnS9.js → PlayerAccountGamingLimitsHistory2Nd-DAeqMwXC.js} +220 -227
  28. package/components/PlayerAccountGamingLimitsInfoCard-BP3ieYB-.cjs +1 -0
  29. package/components/{PlayerAccountGamingLimitsInfoCard-CDFRfVT4.js → PlayerAccountGamingLimitsInfoCard-CVwEtiRl.js} +649 -594
  30. package/components/{PlayerAccountGamingLimitsInfoCard-StfGgmLs.js → PlayerAccountGamingLimitsInfoCard-U0DesVX6.js} +649 -594
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Dz-xK27Q.js → PlayerAccountGamingLimitsPage2Gm16Nd-Bw4LELoM.js} +880 -843
  32. package/components/PlayerAccountGamingLimitsPage2Gm16Nd-D5MICFh6.cjs +21 -0
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-B672X-1A.js → PlayerAccountGamingLimitsPage2Gm16Nd-DgQc2QVS.js} +1064 -1027
  34. package/components/{PlayerAccountGamingLimitsPopup-DoLZB2lj.js → PlayerAccountGamingLimitsPopup-CoF07jnu.js} +114 -118
  35. package/components/{PlayerAccountGamingLimitsPopup-ChBLdQR7.cjs → PlayerAccountGamingLimitsPopup-DyBIvm50.cjs} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPopup-f9QP34fL.js → PlayerAccountGamingLimitsPopup-K79LGbuJ.js} +114 -118
  37. package/components/PlayerAccountGamingLimitsWrapper2Nd-BW4iVYMB.cjs +1 -0
  38. package/components/PlayerAccountGamingLimitsWrapper2Nd-BdjEhTA4.js +1016 -0
  39. package/components/PlayerAccountGamingLimitsWrapper2Nd-ufU6zWS8.js +1022 -0
  40. package/components/PlayerAccountGeneralConfirmationModal-B4jIx1BX.cjs +1 -0
  41. package/components/{PlayerAccountGeneralConfirmationModal-BlglDNwU.js → PlayerAccountGeneralConfirmationModal-C2tJxm9K.js} +144 -145
  42. package/components/{PlayerAccountGeneralConfirmationModal-rpOFir4P.js → PlayerAccountGeneralConfirmationModal-G69m_xaE.js} +144 -145
  43. package/components/PlayerAccountMenuNd-BL9F1XLJ.cjs +1 -0
  44. package/components/PlayerAccountMenuNd-Bhoxd17Y.js +716 -0
  45. package/components/PlayerAccountMenuNd-BolTLeYK.js +717 -0
  46. package/components/PlayerAccountModal-COJeLuDu.cjs +1 -0
  47. package/components/PlayerAccountModal-D7KHd2U7.js +209 -0
  48. package/components/PlayerAccountModal-Xa2YQAW6.js +209 -0
  49. package/components/PlayerAccountNotifications-CN9pIy3r.js +370 -0
  50. package/components/PlayerAccountNotifications-D64RWyxv.js +371 -0
  51. package/components/PlayerAccountNotifications-DAWwzmCU.cjs +1 -0
  52. package/components/PlayerAccountSelfExclusionNd-BE6FLnkt.cjs +3555 -0
  53. package/components/{PlayerAccountSelfExclusionNd-CM37K9pN.js → PlayerAccountSelfExclusionNd-Djz06Ekm.js} +10631 -10864
  54. package/components/{PlayerAccountSelfExclusionNd-D2JmyzgE.js → PlayerAccountSelfExclusionNd-ig2ia3IY.js} +10743 -10931
  55. package/components/PlayerAccountTimeout-BeIP73DT.cjs +1 -0
  56. package/components/{PlayerAccountTimeout-B0zaqo1v.js → PlayerAccountTimeout-DdAujgR0.js} +499 -368
  57. package/components/{PlayerAccountTimeout-BO3G2t3W.js → PlayerAccountTimeout-y8LG_lWP.js} +499 -368
  58. package/components/PlayerActiveBonuses-DFEww75_.js +1077 -0
  59. package/components/PlayerActiveBonuses-DZpjmd5_.cjs +1 -0
  60. package/components/PlayerActiveBonuses-dJSywFxG.js +1078 -0
  61. package/components/{PlayerBonusCard-BC8FfHZz.cjs → PlayerBonusCard-BLy1uhLi.cjs} +1 -1
  62. package/components/{PlayerBonusCard-9LZmOSI1.js → PlayerBonusCard-CFDVa6DC.js} +129 -131
  63. package/components/{PlayerBonusCard-BvrlU7Ao.js → PlayerBonusCard-soky_TFz.js} +129 -131
  64. package/components/PlayerBonusHistory--BlJA1se.js +937 -0
  65. package/components/PlayerBonusHistory-22zrtSy8.js +938 -0
  66. package/components/PlayerBonusHistory-DZPMcFck.cjs +1 -0
  67. package/components/{PlayerChangePassword-CzR4Xz0H.cjs → PlayerChangePassword-UepIdqvw.cjs} +2 -2
  68. package/components/{PlayerChangePassword-BcoctDrY.js → PlayerChangePassword-djQtDeHb.js} +387 -389
  69. package/components/{PlayerChangePassword-BsQyz4Qc.js → PlayerChangePassword-hrfxOW0b.js} +387 -389
  70. package/components/{PlayerDeposit-B_7saxic.js → PlayerDeposit-BaC6d2og.js} +129 -152
  71. package/components/{PlayerDeposit-BIBRCGiC.js → PlayerDeposit-CpzXx-Jg.js} +129 -152
  72. package/components/PlayerDeposit-Dcjjga2V.cjs +1 -0
  73. package/components/PlayerGamingHistory-Ccw_gZ0A.cjs +1 -0
  74. package/components/{PlayerGamingHistory-B1Q3Qiuk.js → PlayerGamingHistory-Vqvs5YTt.js} +339 -343
  75. package/components/{PlayerGamingHistory-DUCP4vWS.js → PlayerGamingHistory-tfAS2Z8a.js} +362 -366
  76. package/components/{PlayerPendingWithdrawals-C8jyjgZ0.js → PlayerPendingWithdrawals-C10oNkk6.js} +119 -120
  77. package/components/PlayerPendingWithdrawals-CvxjxkOD.cjs +1 -0
  78. package/components/{PlayerPendingWithdrawals-wMhZTLpq.js → PlayerPendingWithdrawals-D5M1bMLH.js} +119 -120
  79. package/components/PlayerProfileInfo-AlvN_pUL.cjs +1 -0
  80. package/components/PlayerProfileInfo-B8-CMN4r.js +1823 -0
  81. package/components/PlayerProfileInfo-BvJQ2_J5.js +1806 -0
  82. package/components/PlayerRealityCheck-BRhT1UhN.js +652 -0
  83. package/components/PlayerRealityCheck-DPvdP9-_.js +668 -0
  84. package/components/PlayerRealityCheck-DSYoUIrf.cjs +1 -0
  85. package/components/PlayerTransactionHistory-BldqkQc5.js +314 -0
  86. package/components/PlayerTransactionHistory-Cvm1EwgV.cjs +1 -0
  87. package/components/PlayerTransactionHistory-JT3TZ8Mb.js +314 -0
  88. package/components/{PlayerWithdrawal-jGmMHcUX.js → PlayerWithdrawal-CHHAj5SG.js} +137 -141
  89. package/components/PlayerWithdrawal-D9w69Llz.cjs +1 -0
  90. package/components/{PlayerWithdrawal-wi9yuRxw.js → PlayerWithdrawal-DI-38Q1t.js} +137 -141
  91. package/es2015/player-account-controller-nd.cjs +1 -1
  92. package/es2015/player-account-controller-nd.js +1 -1
  93. package/esnext/player-account-controller-nd.js +1 -1
  94. package/package.json +1 -1
  95. package/stencil/app-globals-0f993ce5-DgYhdguE.cjs +1 -0
  96. package/stencil/app-globals-0f993ce5-DzSE6TtH.js +13 -0
  97. package/stencil/checkbox-group-input_9-DMrH9pTx.cjs +2045 -0
  98. package/stencil/{checkbox-group-input_9-DZvX2H_r.js → checkbox-group-input_9-DtZ9kvK4.js} +3129 -2212
  99. package/stencil/{checkbox-group-input_9-Cny9rOs9.js → checkbox-group-input_9-DvXvp-ML.js} +3231 -2300
  100. package/stencil/{general-input-igTYIJ6W.cjs → general-input-CFqrfrup.cjs} +1 -1
  101. package/stencil/{general-input-Yj_LRx0v.js → general-input-eCxMClmW.js} +1 -1
  102. package/stencil/{general-input-d5RULL12.js → general-input-rL_ftR3H.js} +1 -1
  103. package/stencil/index-1ef3a64c-BnB-ATuA.js +556 -0
  104. package/stencil/index-1ef3a64c-BvKbNMH8.cjs +1 -0
  105. package/stencil/index-1ef3a64c-Nsr9PDe6.js +572 -0
  106. package/stencil/index-7c5e707a-CTC8RpEi.js +643 -0
  107. package/stencil/index-7c5e707a-CWE0q0mP.js +616 -0
  108. package/stencil/index-7c5e707a-D1Fv8nel.cjs +1 -0
  109. package/stencil/index-9c0f6c58-C1yzTenw.js +576 -0
  110. package/stencil/index-9c0f6c58-CqoLeK5G.js +549 -0
  111. package/stencil/index-9c0f6c58-DEsDY2nb.cjs +1 -0
  112. package/stencil/index-9cd44522-BqLgI-Ho.js +626 -0
  113. package/stencil/index-9cd44522-Cygpa4pV.js +610 -0
  114. package/stencil/index-9cd44522-DwMekoGN.cjs +1 -0
  115. package/stencil/index-ae04a8b1-D4wvtXTw.cjs +1 -0
  116. package/stencil/index-ae04a8b1-fpBaOn88.js +516 -0
  117. package/stencil/index-ae04a8b1-ixlRj3zC.js +532 -0
  118. package/stencil/password-input_2-9_yxZI2g.js +589 -0
  119. package/stencil/password-input_2-BabcxKun.cjs +105 -0
  120. package/stencil/password-input_2-D-YA_Jkx.js +589 -0
  121. package/stencil/{player-change-password-gm2-780eb445-Cg8Z75Vz.js → player-change-password-gm2-039e300e-CcWiaT26.js} +85 -66
  122. package/stencil/player-change-password-gm2-039e300e-DiYWgS70.cjs +1 -0
  123. package/stencil/{player-change-password-gm2-780eb445-DEjz9Jjk.js → player-change-password-gm2-039e300e-Zp9TDX77.js} +85 -66
  124. package/stencil/player-change-password-gm2-BWjI2Hs0.js +25 -0
  125. package/stencil/player-change-password-gm2-BaYafift.js +7 -0
  126. package/stencil/player-change-password-gm2-DsT1aXcX.cjs +1 -0
  127. package/stencil/player-kyc-verification-B8arDCja.js +863 -0
  128. package/stencil/player-kyc-verification-Di40xn9z.js +885 -0
  129. package/stencil/player-kyc-verification-GFBDUbhm.cjs +180 -0
  130. package/stencil/{toggle-checkbox-input-Co64_7cm.js → toggle-checkbox-input-BxUGWw2X.js} +12 -4
  131. package/stencil/toggle-checkbox-input-D-Cv1QSS.cjs +1 -0
  132. package/stencil/{toggle-checkbox-input-ErX2Ngat.js → toggle-checkbox-input-PSoH9KF2.js} +12 -4
  133. package/stencil/ui-skeleton-BC4mw1ae.cjs +1 -0
  134. package/stencil/ui-skeleton-DT0OMDC6.js +11 -0
  135. package/stencil/ui-skeleton-T4HYbNcC.js +29 -0
  136. package/stencil/ui-skeleton-a642cced-B8H73O_q.cjs +1 -0
  137. package/stencil/ui-skeleton-a642cced-Ba-weZ4g.js +122 -0
  138. package/stencil/ui-skeleton-a642cced-DhjmNsN7.js +122 -0
  139. package/stencil/user-deposit-withdrawal-BQKFgZ31.cjs +59 -0
  140. package/stencil/user-deposit-withdrawal-DRe5oBqv.js +684 -0
  141. package/stencil/user-deposit-withdrawal-Dj3Po03r.js +706 -0
  142. package/stencil/user-transaction-history-6-z3byrF.js +374 -0
  143. package/stencil/user-transaction-history-Dca7qx08.js +350 -0
  144. package/stencil/user-transaction-history-DrhquxkJ.cjs +1 -0
  145. package/stencil/vaadin-button-mixin-e8c3f355-BdntioNA.cjs +2391 -0
  146. package/stencil/{vaadin-button-6001b2a6-CZwj1qjO.js → vaadin-button-mixin-e8c3f355-DON-rAuy.js} +5108 -5747
  147. package/stencil/{vaadin-button-6001b2a6-Dqz5Vp8D.js → vaadin-button-mixin-e8c3f355-DQ5UgwNf.js} +8267 -8803
  148. package/components/GeneralLogout-BW6b3iuS.cjs +0 -8
  149. package/components/PlayerAccountBettingHistory-BsFzBNDY.cjs +0 -1
  150. package/components/PlayerAccountBettingHistory-C9n4Lfo3.js +0 -332
  151. package/components/PlayerAccountBettingHistory-QT3-2u7E.js +0 -333
  152. package/components/PlayerAccountControllerNd-CO0ce0zs.cjs +0 -1
  153. package/components/PlayerAccountGamingLimits-BPQrptbd.cjs +0 -1
  154. package/components/PlayerAccountGamingLimitsConfirmationModal-IgBYV9F2.cjs +0 -1
  155. package/components/PlayerAccountGamingLimitsGroupEdit-DrkoLne8.cjs +0 -10
  156. package/components/PlayerAccountGamingLimitsInfoCard-BOls7ahz.cjs +0 -1
  157. package/components/PlayerAccountGamingLimitsPage2Gm16Nd-DSThp4HX.cjs +0 -21
  158. package/components/PlayerAccountGamingLimitsWrapper2Nd-Bz6Zp5tp.js +0 -865
  159. package/components/PlayerAccountGamingLimitsWrapper2Nd-Cq5vxtjw.js +0 -871
  160. package/components/PlayerAccountGamingLimitsWrapper2Nd-KUpEDIP8.cjs +0 -1
  161. package/components/PlayerAccountGeneralConfirmationModal-BpTCzpiW.cjs +0 -1
  162. package/components/PlayerAccountMenuNd-BWUhUlIY.js +0 -590
  163. package/components/PlayerAccountMenuNd-BmPerb2f.cjs +0 -1
  164. package/components/PlayerAccountMenuNd-CxMlvYwa.js +0 -589
  165. package/components/PlayerAccountModal-BK81ZotM.js +0 -213
  166. package/components/PlayerAccountModal-C7aZZlBw.cjs +0 -1
  167. package/components/PlayerAccountModal-CzVRNZzB.js +0 -213
  168. package/components/PlayerAccountNotifications-BBwUcB1T.js +0 -261
  169. package/components/PlayerAccountNotifications-CB47Zxq9.js +0 -261
  170. package/components/PlayerAccountNotifications-DkgHtUGj.cjs +0 -1
  171. package/components/PlayerAccountSelfExclusionNd-DCsOgBZR.cjs +0 -4171
  172. package/components/PlayerAccountTimeout-Dg5Mlz5K.cjs +0 -1
  173. package/components/PlayerActiveBonuses-B9jz3QD8.cjs +0 -1
  174. package/components/PlayerActiveBonuses-CfZ8tegY.js +0 -1037
  175. package/components/PlayerActiveBonuses-DkKDWhBN.js +0 -1038
  176. package/components/PlayerBonusHistory-Bsy2Grk6.js +0 -919
  177. package/components/PlayerBonusHistory-CuSbmVev.cjs +0 -1
  178. package/components/PlayerBonusHistory-nN8l2tOZ.js +0 -920
  179. package/components/PlayerDeposit-D_78W5GC.cjs +0 -1
  180. package/components/PlayerGamingHistory-CNPhCSFS.cjs +0 -1
  181. package/components/PlayerPendingWithdrawals-BG3I8ifu.cjs +0 -1
  182. package/components/PlayerProfileInfo-CGsJydqv.cjs +0 -1
  183. package/components/PlayerProfileInfo-EkbwdTEh.js +0 -1757
  184. package/components/PlayerProfileInfo-SeOQq0CG.js +0 -1740
  185. package/components/PlayerRealityCheck--iYjw4rP.js +0 -598
  186. package/components/PlayerRealityCheck-BGGIPihT.js +0 -582
  187. package/components/PlayerRealityCheck-C26ZBWae.cjs +0 -1
  188. package/components/PlayerTransactionHistory-CJqhYnbs.cjs +0 -1
  189. package/components/PlayerTransactionHistory-CvBbrQn6.js +0 -315
  190. package/components/PlayerTransactionHistory-DIfTIxF3.js +0 -315
  191. package/components/PlayerWithdrawal-GDc_7hZX.cjs +0 -1
  192. package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
  193. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
  194. package/stencil/checkbox-group-input_9-FLO2Qa5Y.cjs +0 -2104
  195. package/stencil/index-72d2f0c7--qtpsDOz.js +0 -642
  196. package/stencil/index-72d2f0c7-DldCMjBJ.cjs +0 -1
  197. package/stencil/index-72d2f0c7-DyMEJXra.js +0 -626
  198. package/stencil/index-Dyvby5gX.cjs +0 -1
  199. package/stencil/index-l0sNRNKZ.js +0 -1
  200. package/stencil/password-input_2-CHOu4hgw.js +0 -1420
  201. package/stencil/password-input_2-DQAgV1SZ.cjs +0 -896
  202. package/stencil/password-input_2-DaiHlKbQ.js +0 -1420
  203. package/stencil/player-change-password-gm2-780eb445-CdItmoKI.cjs +0 -1
  204. package/stencil/player-change-password-gm2-ClBiis4q.js +0 -25
  205. package/stencil/player-change-password-gm2-Dt0gP_G_.cjs +0 -1
  206. package/stencil/player-change-password-gm2-cKh7RACV.js +0 -7
  207. package/stencil/toggle-checkbox-input-a_0w-Y0n.cjs +0 -1
  208. package/stencil/vaadin-button-6001b2a6-C6xw53k5.cjs +0 -3018
@@ -1,11 +1,11 @@
1
- import { a as q, $ as X, S as V, i as Z, f as b, c as J, s as K, b as Q, e as v, d as S, t as x, g as d, k as P, l as h, n as L, o as U, p as T, q as Y, u as $, v as ee, w as k, m as te, x as ae, X as z, y as re } from "./GeneralLogout-BZhvD1EQ.js";
2
- function D(r, e) {
3
- q(r, e);
1
+ import { a as O, $ as q, S as V, i as X, f as p, c as Z, s as J, b as K, e as _, d as T, t as x, g as d, k as P, l as u, n as R, o as A, p as S, q as Q, u as Y, v as $, w as ee, x as te, y as M, m as ae, z as re, A as ie, a0 as D, B as le } from "./GeneralLogout-Bey9GDpf.js";
2
+ function I(r, e) {
3
+ O(r, e);
4
4
  }
5
- function le(r) {
6
- X.set(r);
5
+ function ne(r) {
6
+ q.set(r);
7
7
  }
8
- const I = {
8
+ const U = {
9
9
  en: {
10
10
  titlePlayerWithdrawal: "Withdrawal",
11
11
  loading: "Loading, please wait ..."
@@ -39,147 +39,147 @@ const I = {
39
39
  loading: "Loading, please wait ..."
40
40
  }
41
41
  };
42
- function ie(r) {
43
- Q(r, "svelte-zw6451", "button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.WithdrawalWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.WithdrawalWrapper.WithdrawalWrapperMobile{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:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.WithdrawalTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.WithdrawalTitleMobile{font-size:var(--emw--size-standard, 16px)}.WithdrawalTitleNone{display:none}.WithdrawalIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 20px)}");
42
+ function se(r) {
43
+ K(r, "svelte-zw6451", "button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.WithdrawalWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.WithdrawalWrapper.WithdrawalWrapperMobile{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:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.WithdrawalTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.WithdrawalTitleMobile{font-size:var(--emw--size-standard, 16px)}.WithdrawalTitleNone{display:none}.WithdrawalIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 20px)}");
44
44
  }
45
- function ne(r) {
46
- let e, a, n, l, o, m, c, f, g, s, i = (
45
+ function oe(r) {
46
+ let e, t, n, i, o, m, c, g, f, s, l = (
47
47
  /*$_*/
48
48
  r[3]("titlePlayerWithdrawal") + ""
49
- ), u, y, M;
49
+ ), h, y, w;
50
50
  return {
51
51
  c() {
52
- e = v("div"), a = k("svg"), n = k("defs"), l = k("style"), o = x(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), m = k("g"), c = k("g"), f = k("path"), g = S(), s = v("h2"), u = x(i), d(f, "class", "aaa"), d(f, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(f, "transform", "translate(15 15) rotate(180)"), d(c, "transform", "translate(20 158)"), d(m, "transform", "translate(-20 -158)"), d(a, "xmlns", "http://www.w3.org/2000/svg"), d(a, "width", "15"), d(a, "height", "15"), d(a, "viewBox", "0 0 15 15"), d(s, "class", "WithdrawalTitleMobile"), d(e, "class", "MenuReturnButton"), d(e, "part", "MenuReturnButton");
52
+ e = _("div"), t = M("svg"), n = M("defs"), i = M("style"), o = x(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), m = M("g"), c = M("g"), g = M("path"), f = T(), s = _("h2"), h = x(l), d(g, "class", "aaa"), d(g, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(g, "transform", "translate(15 15) rotate(180)"), d(c, "transform", "translate(20 158)"), d(m, "transform", "translate(-20 -158)"), d(t, "xmlns", "http://www.w3.org/2000/svg"), d(t, "width", "15"), d(t, "height", "15"), d(t, "viewBox", "0 0 15 15"), d(s, "class", "WithdrawalTitleMobile"), d(e, "class", "MenuReturnButton"), d(e, "part", "MenuReturnButton");
53
53
  },
54
- m(W, _) {
55
- P(W, e, _), h(e, a), h(a, n), h(n, l), h(l, o), h(a, m), h(m, c), h(c, f), h(e, g), h(e, s), h(s, u), y || (M = te(
54
+ m(v, k) {
55
+ P(v, e, k), u(e, t), u(t, n), u(n, i), u(i, o), u(t, m), u(m, c), u(c, g), u(e, f), u(e, s), u(s, h), y || (w = ae(
56
56
  e,
57
57
  "click",
58
58
  /*click_handler*/
59
- r[15]
59
+ r[16]
60
60
  ), y = !0);
61
61
  },
62
- p(W, _) {
63
- _ & /*$_*/
64
- 8 && i !== (i = /*$_*/
65
- W[3]("titlePlayerWithdrawal") + "") && L(u, i);
62
+ p(v, k) {
63
+ k & /*$_*/
64
+ 8 && l !== (l = /*$_*/
65
+ v[3]("titlePlayerWithdrawal") + "") && R(h, l);
66
66
  },
67
- d(W) {
68
- W && T(e), y = !1, M();
67
+ d(v) {
68
+ v && S(e), y = !1, w();
69
69
  }
70
70
  };
71
71
  }
72
- function se(r) {
73
- let e, a, n;
72
+ function ce(r) {
73
+ let e, t, n;
74
74
  return {
75
75
  c() {
76
- e = v("div"), a = v("iframe"), z(a.src, n = /*iframeUrl*/
77
- r[2]) || d(a, "src", n), d(a, "title", "Withdrawal Iframe"), d(e, "class", "WithdrawalIframeWrapper");
76
+ e = _("div"), t = _("iframe"), D(t.src, n = /*iframeUrl*/
77
+ r[2]) || d(t, "src", n), d(t, "title", "Withdrawal Iframe"), d(e, "class", "WithdrawalIframeWrapper");
78
78
  },
79
- m(l, o) {
80
- P(l, e, o), h(e, a);
79
+ m(i, o) {
80
+ P(i, e, o), u(e, t);
81
81
  },
82
- p(l, o) {
82
+ p(i, o) {
83
83
  o & /*iframeUrl*/
84
- 4 && !z(a.src, n = /*iframeUrl*/
85
- l[2]) && d(a, "src", n);
84
+ 4 && !D(t.src, n = /*iframeUrl*/
85
+ i[2]) && d(t, "src", n);
86
86
  },
87
- d(l) {
88
- l && T(e);
87
+ d(i) {
88
+ i && S(e);
89
89
  }
90
90
  };
91
91
  }
92
- function oe(r) {
93
- let e, a = (
92
+ function de(r) {
93
+ let e, t = (
94
94
  /*$_*/
95
95
  r[3]("loading") + ""
96
96
  ), n;
97
97
  return {
98
98
  c() {
99
- e = v("p"), n = x(a);
99
+ e = _("p"), n = x(t);
100
100
  },
101
- m(l, o) {
102
- P(l, e, o), h(e, n);
101
+ m(i, o) {
102
+ P(i, e, o), u(e, n);
103
103
  },
104
- p(l, o) {
104
+ p(i, o) {
105
105
  o & /*$_*/
106
- 8 && a !== (a = /*$_*/
107
- l[3]("loading") + "") && L(n, a);
106
+ 8 && t !== (t = /*$_*/
107
+ i[3]("loading") + "") && R(n, t);
108
108
  },
109
- d(l) {
110
- l && T(e);
109
+ d(i) {
110
+ i && S(e);
111
111
  }
112
112
  };
113
113
  }
114
- function ce(r) {
115
- let e, a, n, l = (
114
+ function ue(r) {
115
+ let e, t, n, i = (
116
116
  /*$_*/
117
117
  r[3]("titlePlayerWithdrawal") + ""
118
118
  ), o, m, c = (
119
119
  /*isMobile*/
120
- r[4] && ne(r)
120
+ r[4] && oe(r)
121
121
  );
122
- function f(i, u) {
122
+ function g(l, h) {
123
123
  return (
124
124
  /*isLoading*/
125
- i[1] ? oe : se
125
+ l[1] ? de : ce
126
126
  );
127
127
  }
128
- let g = f(r), s = g(r);
128
+ let f = g(r), s = f(r);
129
129
  return {
130
130
  c() {
131
- e = v("div"), c && c.c(), a = S(), n = v("h2"), o = x(l), m = S(), s.c(), d(n, "class", "WithdrawalTitle " + /*isMobile*/
131
+ e = _("div"), c && c.c(), t = T(), n = _("h2"), o = x(i), m = T(), s.c(), d(n, "class", "WithdrawalTitle " + /*isMobile*/
132
132
  (r[4] ? "WithdrawalTitleNone" : "")), d(e, "class", "WithdrawalWrapper " + /*isMobile*/
133
133
  (r[4] ? "WithdrawalWrapperMobile" : ""));
134
134
  },
135
- m(i, u) {
136
- P(i, e, u), c && c.m(e, null), h(e, a), h(e, n), h(n, o), h(e, m), s.m(e, null), r[16](e);
135
+ m(l, h) {
136
+ P(l, e, h), c && c.m(e, null), u(e, t), u(e, n), u(n, o), u(e, m), s.m(e, null), r[17](e);
137
137
  },
138
- p(i, [u]) {
138
+ p(l, [h]) {
139
139
  /*isMobile*/
140
- i[4] && c.p(i, u), u & /*$_*/
141
- 8 && l !== (l = /*$_*/
142
- i[3]("titlePlayerWithdrawal") + "") && L(o, l), g === (g = f(i)) && s ? s.p(i, u) : (s.d(1), s = g(i), s && (s.c(), s.m(e, null)));
140
+ l[4] && c.p(l, h), h & /*$_*/
141
+ 8 && i !== (i = /*$_*/
142
+ l[3]("titlePlayerWithdrawal") + "") && R(o, i), f === (f = g(l)) && s ? s.p(l, h) : (s.d(1), s = f(l), s && (s.c(), s.m(e, null)));
143
143
  },
144
- i: U,
145
- o: U,
146
- d(i) {
147
- i && T(e), c && c.d(), s.d(), r[16](null);
144
+ i: A,
145
+ o: A,
146
+ d(l) {
147
+ l && S(e), c && c.d(), s.d(), r[17](null);
148
148
  }
149
149
  };
150
150
  }
151
- function de(r, e, a) {
151
+ function he(r, e, t) {
152
152
  let n;
153
- Y(r, re, (t) => a(3, n = t));
154
- let { endpoint: l = "" } = e, { session: o = "" } = e, { playerid: m = "" } = e, { lang: c = "en" } = e, { hasdefaultamount: f = "" } = e, { clientstyling: g = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: i = "" } = e, { playercurrency: u = "" } = e, y, M = window.navigator.userAgent, W = $(M) !== "PC", _ = !0, C = 0, R = "";
155
- const A = () => {
156
- fetch(i).then((p) => p.json()).then((p) => {
157
- Object.keys(p).forEach((w) => {
158
- D(w, p[w]);
153
+ Q(r, le, (a) => t(3, n = a));
154
+ let { endpoint: i = "" } = e, { session: o = "" } = e, { playerid: m = "" } = e, { lang: c = "en" } = e, { hasdefaultamount: g = "" } = e, { clientstyling: f = "" } = e, { clientstylingurl: s = "" } = e, { mbsource: l } = e, { translationurl: h = "" } = e, { playercurrency: y = "" } = e, w, v = window.navigator.userAgent, k = Y(v) !== "PC", B = !0, C = 0, L = "";
155
+ const j = () => {
156
+ fetch(h).then((b) => b.json()).then((b) => {
157
+ Object.keys(b).forEach((W) => {
158
+ I(W, b[W]);
159
159
  });
160
- }).catch((p) => {
161
- console.log(p);
160
+ }).catch((b) => {
161
+ console.log(b);
162
162
  });
163
163
  };
164
- Object.keys(I).forEach((t) => {
165
- D(t, I[t]);
164
+ Object.keys(U).forEach((a) => {
165
+ I(a, U[a]);
166
166
  });
167
167
  const E = () => {
168
168
  window.postMessage(
169
169
  {
170
170
  type: "PlayerAccountMenuActive",
171
- isMobile: W
171
+ isMobile: k
172
172
  },
173
173
  window.location.href
174
174
  );
175
- }, B = (t) => {
176
- if (t.data) {
177
- switch (t.data.type) {
175
+ }, z = (a) => {
176
+ if (a.data) {
177
+ switch (a.data.type) {
178
178
  case "ProfileDetailsData":
179
- a(6, u = t.data.profileDetails.currency);
179
+ t(6, y = a.data.profileDetails.currency);
180
180
  break;
181
181
  }
182
- switch (t.data.redirect) {
182
+ switch (a.data.redirect) {
183
183
  case "mm-hc-casino":
184
184
  window.postMessage({ type: "GoToCasino" }, window.location.href);
185
185
  break;
@@ -202,10 +202,10 @@ function de(r, e, a) {
202
202
  break;
203
203
  }
204
204
  }
205
- }, j = () => {
206
- let t = new URL(`${l}/v1/player/${m}/hostedcashier/initializewithdraw`);
207
- if (t.searchParams.append("language", c), f)
208
- switch (u) {
205
+ }, N = () => {
206
+ let a = new URL(`${i}/v1/player/${m}/hostedcashier/initializewithdraw`);
207
+ if (a.searchParams.append("language", c), g)
208
+ switch (y) {
209
209
  case "USD":
210
210
  C = 0.4;
211
211
  break;
@@ -213,87 +213,76 @@ function de(r, e, a) {
213
213
  C = 1e3;
214
214
  break;
215
215
  }
216
- let p = {
216
+ let b = {
217
217
  method: "POST",
218
218
  headers: {
219
219
  "X-SessionId": o,
220
- currency: u || "EUR",
220
+ currency: y || "EUR",
221
221
  amount: C,
222
222
  cashierMode: "Default",
223
223
  IsShortCashier: !1,
224
224
  accept: "application/json"
225
225
  }
226
226
  };
227
- fetch(t.href, p).then((w) => w.json()).then(
228
- (w) => {
229
- a(1, _ = !1), a(2, R = w.CashierUrl);
227
+ fetch(a.href, b).then((W) => W.json()).then(
228
+ (W) => {
229
+ t(1, B = !1), t(2, L = W.CashierUrl);
230
230
  },
231
- (w) => {
232
- console.error(w);
231
+ (W) => {
232
+ console.error(W);
233
233
  }
234
234
  );
235
- }, H = () => {
236
- le(c);
237
235
  }, F = () => {
238
- let t = document.createElement("style");
239
- t.innerHTML = g, y.appendChild(t);
240
- }, N = () => {
241
- let t = new URL(s), p = document.createElement("style");
242
- fetch(t.href).then((w) => w.text()).then((w) => {
243
- p.innerHTML = w, setTimeout(
244
- () => {
245
- y.appendChild(p);
246
- },
247
- 1
248
- );
249
- });
236
+ ne(c);
250
237
  };
251
- ee(() => (window.addEventListener("message", B, !1), () => {
252
- window.removeEventListener("message", B);
238
+ $(() => (window.addEventListener("message", z, !1), () => {
239
+ window.removeEventListener("message", z);
253
240
  }));
254
241
  const G = () => E();
255
- function O(t) {
256
- ae[t ? "unshift" : "push"](() => {
257
- y = t, a(0, y);
242
+ function H(a) {
243
+ re[a ? "unshift" : "push"](() => {
244
+ w = a, t(0, w);
258
245
  });
259
246
  }
260
- return r.$$set = (t) => {
261
- "endpoint" in t && a(7, l = t.endpoint), "session" in t && a(8, o = t.session), "playerid" in t && a(9, m = t.playerid), "lang" in t && a(10, c = t.lang), "hasdefaultamount" in t && a(11, f = t.hasdefaultamount), "clientstyling" in t && a(12, g = t.clientstyling), "clientstylingurl" in t && a(13, s = t.clientstylingurl), "translationurl" in t && a(14, i = t.translationurl), "playercurrency" in t && a(6, u = t.playercurrency);
247
+ return r.$$set = (a) => {
248
+ "endpoint" in a && t(7, i = a.endpoint), "session" in a && t(8, o = a.session), "playerid" in a && t(9, m = a.playerid), "lang" in a && t(10, c = a.lang), "hasdefaultamount" in a && t(11, g = a.hasdefaultamount), "clientstyling" in a && t(12, f = a.clientstyling), "clientstylingurl" in a && t(13, s = a.clientstylingurl), "mbsource" in a && t(14, l = a.mbsource), "translationurl" in a && t(15, h = a.translationurl), "playercurrency" in a && t(6, y = a.playercurrency);
262
249
  }, r.$$.update = () => {
263
250
  r.$$.dirty & /*lang*/
264
- 1024 && c && H(), r.$$.dirty & /*clientstylingurl, customStylingContainer*/
265
- 8193 && s && y && N(), r.$$.dirty & /*clientstyling, customStylingContainer*/
266
- 4097 && g && y && F(), r.$$.dirty & /*translationurl*/
267
- 16384 && i && A(), r.$$.dirty & /*session, playerid, endpoint, playercurrency, lang*/
268
- 1984 && o && m && l && u && c && j();
251
+ 1024 && c && F(), r.$$.dirty & /*clientstyling, customStylingContainer*/
252
+ 4097 && f && w && ie(w, f), r.$$.dirty & /*clientstylingurl, customStylingContainer*/
253
+ 8193 && s && w && ee(w, s), r.$$.dirty & /*mbsource, customStylingContainer*/
254
+ 16385 && l && w && te(w, `${l}.Style`), r.$$.dirty & /*translationurl*/
255
+ 32768 && h && j(), r.$$.dirty & /*session, playerid, endpoint, playercurrency, lang*/
256
+ 1984 && o && m && i && y && c && N();
269
257
  }, [
270
- y,
271
- _,
272
- R,
258
+ w,
259
+ B,
260
+ L,
273
261
  n,
274
- W,
262
+ k,
275
263
  E,
276
- u,
277
- l,
264
+ y,
265
+ i,
278
266
  o,
279
267
  m,
280
268
  c,
281
- f,
282
269
  g,
270
+ f,
283
271
  s,
284
- i,
272
+ l,
273
+ h,
285
274
  G,
286
- O
275
+ H
287
276
  ];
288
277
  }
289
- class ue extends V {
278
+ class me extends V {
290
279
  constructor(e) {
291
- super(), Z(
280
+ super(), X(
292
281
  this,
293
282
  e,
294
- de,
295
- ce,
296
- K,
283
+ he,
284
+ ue,
285
+ J,
297
286
  {
298
287
  endpoint: 7,
299
288
  session: 8,
@@ -302,68 +291,75 @@ class ue extends V {
302
291
  hasdefaultamount: 11,
303
292
  clientstyling: 12,
304
293
  clientstylingurl: 13,
305
- translationurl: 14,
294
+ mbsource: 14,
295
+ translationurl: 15,
306
296
  playercurrency: 6
307
297
  },
308
- ie
298
+ se
309
299
  );
310
300
  }
311
301
  get endpoint() {
312
302
  return this.$$.ctx[7];
313
303
  }
314
304
  set endpoint(e) {
315
- this.$$set({ endpoint: e }), b();
305
+ this.$$set({ endpoint: e }), p();
316
306
  }
317
307
  get session() {
318
308
  return this.$$.ctx[8];
319
309
  }
320
310
  set session(e) {
321
- this.$$set({ session: e }), b();
311
+ this.$$set({ session: e }), p();
322
312
  }
323
313
  get playerid() {
324
314
  return this.$$.ctx[9];
325
315
  }
326
316
  set playerid(e) {
327
- this.$$set({ playerid: e }), b();
317
+ this.$$set({ playerid: e }), p();
328
318
  }
329
319
  get lang() {
330
320
  return this.$$.ctx[10];
331
321
  }
332
322
  set lang(e) {
333
- this.$$set({ lang: e }), b();
323
+ this.$$set({ lang: e }), p();
334
324
  }
335
325
  get hasdefaultamount() {
336
326
  return this.$$.ctx[11];
337
327
  }
338
328
  set hasdefaultamount(e) {
339
- this.$$set({ hasdefaultamount: e }), b();
329
+ this.$$set({ hasdefaultamount: e }), p();
340
330
  }
341
331
  get clientstyling() {
342
332
  return this.$$.ctx[12];
343
333
  }
344
334
  set clientstyling(e) {
345
- this.$$set({ clientstyling: e }), b();
335
+ this.$$set({ clientstyling: e }), p();
346
336
  }
347
337
  get clientstylingurl() {
348
338
  return this.$$.ctx[13];
349
339
  }
350
340
  set clientstylingurl(e) {
351
- this.$$set({ clientstylingurl: e }), b();
341
+ this.$$set({ clientstylingurl: e }), p();
352
342
  }
353
- get translationurl() {
343
+ get mbsource() {
354
344
  return this.$$.ctx[14];
355
345
  }
346
+ set mbsource(e) {
347
+ this.$$set({ mbsource: e }), p();
348
+ }
349
+ get translationurl() {
350
+ return this.$$.ctx[15];
351
+ }
356
352
  set translationurl(e) {
357
- this.$$set({ translationurl: e }), b();
353
+ this.$$set({ translationurl: e }), p();
358
354
  }
359
355
  get playercurrency() {
360
356
  return this.$$.ctx[6];
361
357
  }
362
358
  set playercurrency(e) {
363
- this.$$set({ playercurrency: e }), b();
359
+ this.$$set({ playercurrency: e }), p();
364
360
  }
365
361
  }
366
- J(ue, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {} }, [], [], !0);
362
+ Z(me, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, playercurrency: {} }, [], [], !0);
367
363
  export {
368
- ue as default
364
+ me as default
369
365
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-B0tDLggX.cjs");function P(l,t){e.addMessages(l,t)}function z(l){e.$locale.set(l)}const S={en:{titlePlayerWithdrawal:"Withdrawal",loading:"Loading, please wait ..."},"zh-hk":{titlePlayerWithdrawal:"退出",loading:"加載請稍候…"},fr:{titlePlayerWithdrawal:"Retrait",loading:"Chargement, veuillez patienter ..."},ro:{titlePlayerWithdrawal:"Retragere",loading:"Se încarcă..."},es:{titlePlayerWithdrawal:"Retirar",loading:"Cargando..."},pt:{titlePlayerWithdrawal:"Retirada",loading:"Carregando, por favor espere ..."},hr:{titlePlayerWithdrawal:"Isplata",loading:"Učitavanje"},"en-us":{titlePlayerWithdrawal:"Withdrawal",loading:"Loading, please wait ..."}};function D(l){e.append_styles(l,"svelte-zw6451","button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.WithdrawalWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%}.WithdrawalWrapper.WithdrawalWrapperMobile{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:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.WithdrawalTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.WithdrawalTitleMobile{font-size:var(--emw--size-standard, 16px)}.WithdrawalTitleNone{display:none}.WithdrawalIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 20px)}")}function I(l){let t,a,s,n,c,h,d,m,g,o,i=l[3]("titlePlayerWithdrawal")+"",u,f,p;return{c(){t=e.element("div"),a=e.svg_element("svg"),s=e.svg_element("defs"),n=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),h=e.svg_element("g"),d=e.svg_element("g"),m=e.svg_element("path"),g=e.space(),o=e.element("h2"),u=e.text(i),e.attr(m,"class","aaa"),e.attr(m,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(m,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(h,"transform","translate(-20 -158)"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(o,"class","WithdrawalTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(b,_){e.insert(b,t,_),e.append(t,a),e.append(a,s),e.append(s,n),e.append(n,c),e.append(a,h),e.append(h,d),e.append(d,m),e.append(t,g),e.append(t,o),e.append(o,u),f||(p=e.listen(t,"click",l[16]),f=!0)},p(b,_){_&8&&i!==(i=b[3]("titlePlayerWithdrawal")+"")&&e.set_data(u,i)},d(b){b&&e.detach(t),f=!1,p()}}}function U(l){let t,a,s;return{c(){t=e.element("div"),a=e.element("iframe"),e.src_url_equal(a.src,s=l[2])||e.attr(a,"src",s),e.attr(a,"title","Withdrawal Iframe"),e.attr(t,"class","WithdrawalIframeWrapper")},m(n,c){e.insert(n,t,c),e.append(t,a)},p(n,c){c&4&&!e.src_url_equal(a.src,s=n[2])&&e.attr(a,"src",s)},d(n){n&&e.detach(t)}}}function j(l){let t,a=l[3]("loading")+"",s;return{c(){t=e.element("p"),s=e.text(a)},m(n,c){e.insert(n,t,c),e.append(t,s)},p(n,c){c&8&&a!==(a=n[3]("loading")+"")&&e.set_data(s,a)},d(n){n&&e.detach(t)}}}function A(l){let t,a,s,n=l[3]("titlePlayerWithdrawal")+"",c,h,d=l[4]&&I(l);function m(i,u){return i[1]?j:U}let g=m(l),o=g(l);return{c(){t=e.element("div"),d&&d.c(),a=e.space(),s=e.element("h2"),c=e.text(n),h=e.space(),o.c(),e.attr(s,"class","WithdrawalTitle "+(l[4]?"WithdrawalTitleNone":"")),e.attr(t,"class","WithdrawalWrapper "+(l[4]?"WithdrawalWrapperMobile":""))},m(i,u){e.insert(i,t,u),d&&d.m(t,null),e.append(t,a),e.append(t,s),e.append(s,c),e.append(t,h),o.m(t,null),l[17](t)},p(i,[u]){i[4]&&d.p(i,u),u&8&&n!==(n=i[3]("titlePlayerWithdrawal")+"")&&e.set_data(c,n),g===(g=m(i))&&o?o.p(i,u):(o.d(1),o=g(i),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(i){i&&e.detach(t),d&&d.d(),o.d(),l[17](null)}}}function G(l,t,a){let s;e.component_subscribe(l,e.$format,r=>a(3,s=r));let{endpoint:n=""}=t,{session:c=""}=t,{playerid:h=""}=t,{lang:d="en"}=t,{hasdefaultamount:m=""}=t,{clientstyling:g=""}=t,{clientstylingurl:o=""}=t,{mbsource:i}=t,{translationurl:u=""}=t,{playercurrency:f=""}=t,p,b=window.navigator.userAgent,_=e.getDevice(b)!=="PC",W=!0,v=0,k="";const C=()=>{fetch(u).then(w=>w.json()).then(w=>{Object.keys(w).forEach(y=>{P(y,w[y])})}).catch(w=>{console.log(w)})};Object.keys(S).forEach(r=>{P(r,S[r])});const M=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:_},window.location.href)},x=r=>{if(r.data){switch(r.data.type){case"ProfileDetailsData":a(6,f=r.data.profileDetails.currency);break}switch(r.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"RedirectWithdrawDepositCloseModal"},window.location.href);break}}},R=()=>{let r=new URL(`${n}/v1/player/${h}/hostedcashier/initializewithdraw`);if(r.searchParams.append("language",d),m)switch(f){case"USD":v=.4;break;case"CDF":v=1e3;break}let w={method:"POST",headers:{"X-SessionId":c,currency:f||"EUR",amount:v,cashierMode:"Default",IsShortCashier:!1,accept:"application/json"}};fetch(r.href,w).then(y=>y.json()).then(y=>{a(1,W=!1),a(2,k=y.CashierUrl)},y=>{console.error(y)})},L=()=>{z(d)};e.onMount(()=>(window.addEventListener("message",x,!1),()=>{window.removeEventListener("message",x)}));const B=()=>M();function E(r){e.binding_callbacks[r?"unshift":"push"](()=>{p=r,a(0,p)})}return l.$$set=r=>{"endpoint"in r&&a(7,n=r.endpoint),"session"in r&&a(8,c=r.session),"playerid"in r&&a(9,h=r.playerid),"lang"in r&&a(10,d=r.lang),"hasdefaultamount"in r&&a(11,m=r.hasdefaultamount),"clientstyling"in r&&a(12,g=r.clientstyling),"clientstylingurl"in r&&a(13,o=r.clientstylingurl),"mbsource"in r&&a(14,i=r.mbsource),"translationurl"in r&&a(15,u=r.translationurl),"playercurrency"in r&&a(6,f=r.playercurrency)},l.$$.update=()=>{l.$$.dirty&1024&&d&&L(),l.$$.dirty&4097&&g&&p&&e.setClientStyling(p,g),l.$$.dirty&8193&&o&&p&&e.setClientStylingURL(p,o),l.$$.dirty&16385&&i&&p&&e.setStreamStyling(p,`${i}.Style`),l.$$.dirty&32768&&u&&C(),l.$$.dirty&1984&&c&&h&&n&&f&&d&&R()},[p,W,k,s,_,M,f,n,c,h,d,m,g,o,i,u,B,E]}class T extends e.SvelteComponent{constructor(t){super(),e.init(this,t,G,A,e.safe_not_equal,{endpoint:7,session:8,playerid:9,lang:10,hasdefaultamount:11,clientstyling:12,clientstylingurl:13,mbsource:14,translationurl:15,playercurrency:6},D)}get endpoint(){return this.$$.ctx[7]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[8]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[9]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[10]}set lang(t){this.$$set({lang:t}),e.flush()}get hasdefaultamount(){return this.$$.ctx[11]}set hasdefaultamount(t){this.$$set({hasdefaultamount:t}),e.flush()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get playercurrency(){return this.$$.ctx[6]}set playercurrency(t){this.$$set({playercurrency:t}),e.flush()}}e.create_custom_element(T,{endpoint:{},session:{},playerid:{},lang:{},hasdefaultamount:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},playercurrency:{}},[],[],!0);exports.default=T;