@everymatrix/player-account-controller 1.54.4 → 1.54.8

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 (147) hide show
  1. package/components/{GeneralLogout-Ddt-oH9k.js → GeneralLogout-ChXyfO7j.js} +504 -512
  2. package/components/GeneralLogout-CoXr5Hra.js +4819 -0
  3. package/components/GeneralLogout-JiIri-az.cjs +8 -0
  4. package/components/PlayerAccountBettingHistory-C4SfQEr4.js +333 -0
  5. package/components/{PlayerAccountBettingHistory-C7xwYi03.js → PlayerAccountBettingHistory-CElNilNd.js} +24 -24
  6. package/components/PlayerAccountBettingHistory-CSI5k3hd.cjs +1 -0
  7. package/components/PlayerAccountBiometrics-BS3jkUXn.cjs +1 -0
  8. package/components/{PlayerAccountBiometrics-D7WS5cnI.js → PlayerAccountBiometrics-D9kYcZXR.js} +26 -26
  9. package/components/PlayerAccountBiometrics-orQ-qG9h.js +307 -0
  10. package/components/{PlayerAccountClosure-yRlo8hXR.js → PlayerAccountClosure-CHUq23nB.js} +13 -13
  11. package/components/PlayerAccountClosure-CWd3utu_.js +347 -0
  12. package/components/PlayerAccountClosure-DdfqiT7d.cjs +1 -0
  13. package/components/{PlayerAccountController-BZYAo3oo.js → PlayerAccountController-BclvS237.js} +126 -126
  14. package/components/PlayerAccountController-DEXL47fX.js +6671 -0
  15. package/components/PlayerAccountController-DX3vsM6e.cjs +1 -0
  16. package/components/PlayerAccountGamingLimits-CKnItii4.cjs +1 -0
  17. package/components/{PlayerAccountGamingLimits-CTBhVGgC.js → PlayerAccountGamingLimits-DXQNmZKD.js} +19 -19
  18. package/components/PlayerAccountGamingLimits-Db6qUAS-.js +766 -0
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-CuQvNzww.js → PlayerAccountGamingLimitsConfirmationModal-i09zMH6w.js} +59 -59
  20. package/components/PlayerAccountGamingLimitsConfirmationModal-jZS53-sU.cjs +1 -0
  21. package/components/PlayerAccountGamingLimitsConfirmationModal-l4fu3WOl.js +310 -0
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-Du2YQlDU.js → PlayerAccountGamingLimitsGroupEdit-BIt0U7Ia.js} +51 -51
  23. package/components/PlayerAccountGamingLimitsGroupEdit-CsnzS7iF.js +4170 -0
  24. package/components/PlayerAccountGamingLimitsGroupEdit-DZlV6G_9.cjs +10 -0
  25. package/components/PlayerAccountGamingLimitsHistory2-CrW3EIzV.cjs +1 -0
  26. package/components/{PlayerAccountGamingLimitsHistory2-CXKA0L0d.js → PlayerAccountGamingLimitsHistory2-D04L-msb.js} +44 -44
  27. package/components/PlayerAccountGamingLimitsHistory2-DA5YY1gv.js +767 -0
  28. package/components/{PlayerAccountGamingLimitsInfoCard-CWTybgoQ.js → PlayerAccountGamingLimitsInfoCard-B2YB4bdP.js} +95 -95
  29. package/components/PlayerAccountGamingLimitsInfoCard-B4t7J9Ea.js +1513 -0
  30. package/components/PlayerAccountGamingLimitsInfoCard-CaJYYEdy.cjs +1 -0
  31. package/components/PlayerAccountGamingLimitsPage2Gm16-B1GlGvDK.cjs +21 -0
  32. package/components/PlayerAccountGamingLimitsPage2Gm16-CbtwzTC5.js +3283 -0
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16-CXjNcIFP.js → PlayerAccountGamingLimitsPage2Gm16-D8OKZxQt.js} +90 -90
  34. package/components/{PlayerAccountGamingLimitsPopup-CJu5RRl6.js → PlayerAccountGamingLimitsPopup-B7ZXSiK5.js} +17 -17
  35. package/components/PlayerAccountGamingLimitsPopup-C9KoZcRj.cjs +1 -0
  36. package/components/PlayerAccountGamingLimitsPopup-DxXAP_Yw.js +344 -0
  37. package/components/{PlayerAccountGamingLimitsWrapper2-BdpxEDlV.js → PlayerAccountGamingLimitsWrapper2-BoFnZpPK.js} +8 -8
  38. package/components/PlayerAccountGamingLimitsWrapper2-Dll6Amu9.cjs +1 -0
  39. package/components/PlayerAccountGamingLimitsWrapper2-eSNYZCaw.js +866 -0
  40. package/components/PlayerAccountGeneralConfirmationModal-B-p3sJZ3.cjs +1 -0
  41. package/components/{PlayerAccountGeneralConfirmationModal-DG0N686t.js → PlayerAccountGeneralConfirmationModal-DLBQH_sl.js} +66 -66
  42. package/components/PlayerAccountGeneralConfirmationModal-DhTWcbuE.js +365 -0
  43. package/components/PlayerAccountMenu-BGRoL3Yz.js +579 -0
  44. package/components/{PlayerAccountMenu-CZBa8_5G.js → PlayerAccountMenu-BxjdHhZ_.js} +17 -17
  45. package/components/PlayerAccountMenu-Csb1tUf_.cjs +1 -0
  46. package/components/{PlayerAccountModal-BmKjtXKT.js → PlayerAccountModal-C4nIa5u0.js} +28 -28
  47. package/components/PlayerAccountModal-D29fr970.js +213 -0
  48. package/components/PlayerAccountModal-DabmJiP4.cjs +1 -0
  49. package/components/{PlayerAccountNotifications-B4Ht-hHj.js → PlayerAccountNotifications-4sGKSJWy.js} +16 -16
  50. package/components/PlayerAccountNotifications-C3rPIsKp.js +261 -0
  51. package/components/PlayerAccountNotifications-O92_s-dm.cjs +1 -0
  52. package/components/PlayerAccountSelfExclusion-BkBWGAy2.cjs +3557 -0
  53. package/components/PlayerAccountSelfExclusion-CpKuxBrZ.js +16678 -0
  54. package/components/{PlayerAccountSelfExclusion-DxGHXTb8.js → PlayerAccountSelfExclusion-U9dfheYH.js} +11029 -12570
  55. package/components/PlayerAccountTimeout-CucYpS_w.cjs +1 -0
  56. package/components/{PlayerAccountTimeout-DOSjICsY.js → PlayerAccountTimeout-DIRXKowJ.js} +25 -25
  57. package/components/PlayerAccountTimeout-c2osWNku.js +819 -0
  58. package/components/{PlayerActiveBonuses-DMAG7NUP.js → PlayerActiveBonuses-B2QAPJxC.js} +49 -49
  59. package/components/PlayerActiveBonuses-DDcAwy_n.js +1089 -0
  60. package/components/PlayerActiveBonuses-cecVnp46.cjs +1 -0
  61. package/components/{PlayerBonusCard-Dss1REmn.js → PlayerBonusCard-BQU7JBPr.js} +50 -50
  62. package/components/PlayerBonusCard-C9Xdv-lu.cjs +1 -0
  63. package/components/PlayerBonusCard-TYI-WkBy.js +701 -0
  64. package/components/PlayerBonusHistory-Boz8c3tb.js +919 -0
  65. package/components/PlayerBonusHistory-CMPf8GQz.cjs +1 -0
  66. package/components/PlayerBonusHistory-cNqY_wfD.js +920 -0
  67. package/components/{PlayerChangePassword-DnCj-wcc.js → PlayerChangePassword-BGxYGFs-.js} +103 -103
  68. package/components/PlayerChangePassword-Dl3Pgpul.js +1177 -0
  69. package/components/PlayerChangePassword-X_GfgxAV.cjs +3 -0
  70. package/components/{PlayerDeposit-CHIQ8EaC.js → PlayerDeposit-BzSW3HMj.js} +25 -25
  71. package/components/PlayerDeposit-CqpNLpaq.cjs +1 -0
  72. package/components/PlayerDeposit-kjy658sM.js +395 -0
  73. package/components/PlayerGamingHistory-B6KJDVn0.cjs +1 -0
  74. package/components/PlayerGamingHistory-BW5rigFC.js +986 -0
  75. package/components/PlayerGamingHistory-DIgLxCfL.js +973 -0
  76. package/components/PlayerPendingWithdrawals--W6Dfn3K.cjs +1 -0
  77. package/components/{PlayerPendingWithdrawals-BbTa7_8U.js → PlayerPendingWithdrawals-BzOmRYiC.js} +33 -33
  78. package/components/PlayerPendingWithdrawals-pV1C12y5.js +311 -0
  79. package/components/PlayerProfileInfo-BTgis7wR.cjs +1 -0
  80. package/components/{PlayerProfileInfo-CvAqD3Dk.js → PlayerProfileInfo-CTgSfW-l.js} +45 -45
  81. package/components/PlayerProfileInfo-DkVAYiPX.js +1753 -0
  82. package/components/PlayerRealityCheck-BcsDhvm0.cjs +1 -0
  83. package/components/{PlayerRealityCheck-3d-B64ie.js → PlayerRealityCheck-BdZDs3Tl.js} +26 -26
  84. package/components/PlayerRealityCheck-DT3kOky2.js +598 -0
  85. package/components/PlayerTransactionHistory-BL92RRLF.cjs +1 -0
  86. package/components/{PlayerTransactionHistory-BYJNabMB.js → PlayerTransactionHistory-BQIA4QRw.js} +23 -23
  87. package/components/PlayerTransactionHistory-Yhwt7kUa.js +315 -0
  88. package/components/{PlayerWithdrawal-DDWroufG.js → PlayerWithdrawal-Cgv9nZE8.js} +20 -20
  89. package/components/PlayerWithdrawal-KgqM9wo-.cjs +1 -0
  90. package/components/PlayerWithdrawal-uB46JhmK.js +369 -0
  91. package/es2015/player-account-controller.cjs +1 -0
  92. package/es2015/player-account-controller.js +16 -0
  93. package/esnext/player-account-controller.js +1 -1
  94. package/package.json +1 -1
  95. package/stencil/app-globals-0f993ce5-8artnnwr.cjs +1 -0
  96. package/stencil/checkbox-group-input_9-AKw0biZc.cjs +2045 -0
  97. package/stencil/checkbox-group-input_9-BewIfW-f.js +13203 -0
  98. package/stencil/checkbox-group-input_9-CbFpcwPG.js +13237 -0
  99. package/stencil/{general-input-DnFPstQP.js → general-input-BEcUF0Mm.js} +1 -1
  100. package/stencil/general-input-DI0pw0ot.cjs +1 -0
  101. package/stencil/general-input-DKyA-W8i.js +48 -0
  102. package/stencil/index-581287aa-CC7128Vz.js +654 -0
  103. package/stencil/index-581287aa-D5QW29QV.cjs +1 -0
  104. package/stencil/index-581287aa-D8NTWa_9.js +638 -0
  105. package/stencil/index-8b4525de-BFiXEsaX.cjs +1 -0
  106. package/stencil/index-8b4525de-C2xAv-3x.js +708 -0
  107. package/stencil/index-8b4525de-DeHXGvRF.js +692 -0
  108. package/stencil/index-a76d30c7-CFX9mSqu.cjs +1 -0
  109. package/stencil/index-a76d30c7-CQrAWNu0.js +658 -0
  110. package/stencil/index-a76d30c7-PfqrSVyu.js +631 -0
  111. package/stencil/index-c0196f50-3kAjMpUS.cjs +1 -0
  112. package/stencil/index-c0196f50-BjscP7kj.js +697 -0
  113. package/stencil/index-c0196f50-aE1zPmtS.js +724 -0
  114. package/stencil/locale-B5abSHU_.cjs +1 -0
  115. package/stencil/password-input_2-D97O8QAr.cjs +105 -0
  116. package/stencil/password-input_2-eDchPH-o.js +569 -0
  117. package/stencil/password-input_2-vTvSUJey.js +569 -0
  118. package/stencil/{player-change-password-gm2-DR3e2gh5.js → player-change-password-gm2-D4jpQFwb.js} +1 -1
  119. package/stencil/player-change-password-gm2-DSTqyOhE.js +25 -0
  120. package/stencil/player-change-password-gm2-Dw3D3ckz.cjs +1 -0
  121. package/stencil/{player-change-password-gm2-98dcb7bc-gLcZhl3S.js → player-change-password-gm2-e732ee8e-BjoYj-89.js} +1 -1
  122. package/stencil/player-change-password-gm2-e732ee8e-BqRUxIre.cjs +1 -0
  123. package/stencil/player-change-password-gm2-e732ee8e-Df6ljnLL.js +253 -0
  124. package/stencil/player-kyc-verification-B2FHAsrR.cjs +180 -0
  125. package/stencil/player-kyc-verification-CVqP43FY.js +865 -0
  126. package/stencil/{player-kyc-verification-BQZdJFEJ.js → player-kyc-verification-D6Au6XVN.js} +1 -1
  127. package/stencil/{toggle-checkbox-input-CCLW6-uK.js → toggle-checkbox-input-BckTBwKu.js} +1 -1
  128. package/stencil/toggle-checkbox-input-D8fVk4wA.js +46 -0
  129. package/stencil/toggle-checkbox-input-kw5Y1n3x.cjs +1 -0
  130. package/stencil/tooltipIcon-ee9760a8-Bd9l1O5C.cjs +1 -0
  131. package/stencil/user-deposit-withdrawal-BpAi0dc-.js +668 -0
  132. package/stencil/{user-deposit-withdrawal-CmF0LoNb.js → user-deposit-withdrawal-CrMPR6xn.js} +1 -1
  133. package/stencil/user-deposit-withdrawal-DrKFN7wp.cjs +59 -0
  134. package/stencil/{user-transaction-history-BgV-k2Cl.js → user-transaction-history-BgYG3IxS.js} +1 -1
  135. package/stencil/user-transaction-history-CBxwJE34.cjs +1 -0
  136. package/stencil/user-transaction-history-D8ebS-DZ.js +355 -0
  137. package/stencil/{active-mixin-59dfae2a-BphP4pp5.js → vaadin-button-mixin-d131076c-C559kyH3.js} +3523 -3021
  138. package/stencil/vaadin-button-mixin-d131076c-brSraXp5.js +10277 -0
  139. package/stencil/vaadin-button-mixin-d131076c-zI_s2YZ5.cjs +2385 -0
  140. package/components/PlayerBonusHistory-BxBiQwQf.js +0 -847
  141. package/components/PlayerGamingHistory-BtQ73TId.js +0 -922
  142. package/stencil/checkbox-group-input_9-CMFoK7_E.js +0 -15610
  143. package/stencil/index-062e829b-DAFsZs6D.js +0 -686
  144. package/stencil/index-33f005e1-fFxPaeNy.js +0 -632
  145. package/stencil/index-9b3245b3-rzHgwqlB.js +0 -625
  146. package/stencil/index-fc58390d-BSwfXuUs.js +0 -691
  147. package/stencil/password-input_2-Bb9Q6Fe0.js +0 -2359
@@ -1,4 +1,4 @@
1
- import { a as N, $ as F, S as O, i as X, f as H, c as D, s as G, b as V, e as w, d as C, t as k, g as d, k as M, l as u, n as E, o as j, p as L, q as Z, u as J, w as _, m as K, x as Q, X as B, y as Y } from "./GeneralLogout-Ddt-oH9k.js";
1
+ import { a as N, $ as F, S as O, i as X, s as D, f as H, b as G, n as S, d as M, c as j, g as L, h as u, j as w, k as C, m as k, o as d, p as V, q as Z, l as J, v as _, w as K, X as B, x as Q, y as Y } from "./GeneralLogout-CoXr5Hra.js";
2
2
  function z(n, t) {
3
3
  N(n, t);
4
4
  }
@@ -48,7 +48,7 @@ const A = {
48
48
  }
49
49
  };
50
50
  function tt(n) {
51
- V(n, "svelte-1oqxq1j", ".TransactionHistoryWrapper{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%}.TransactionHistoryWrapper.TransactionHistoryWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.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))}.TransactionHistoryTitle{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)}.TransactionHistoryTitleMobile{font-size:var(--emw--size-standard, 16px)}.TransactionHistoryTitleNone{display:none}.TransactionHistoryIframeWrapper iframe{border:none;width:100%;height:85vh}");
51
+ G(n, "svelte-1oqxq1j", ".TransactionHistoryWrapper{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%}.TransactionHistoryWrapper.TransactionHistoryWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.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))}.TransactionHistoryTitle{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)}.TransactionHistoryTitleMobile{font-size:var(--emw--size-standard, 16px)}.TransactionHistoryTitleNone{display:none}.TransactionHistoryIframeWrapper iframe{border:none;width:100%;height:85vh}");
52
52
  }
53
53
  function et(n) {
54
54
  let t, e, s, r, o, y, c, g, f, l, a = (
@@ -60,7 +60,7 @@ function et(n) {
60
60
  t = w("div"), e = _("svg"), s = _("defs"), r = _("style"), o = k(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), y = _("g"), c = _("g"), g = _("path"), f = C(), l = w("h2"), m = k(a), 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(y, "transform", "translate(-20 -158)"), d(e, "xmlns", "http://www.w3.org/2000/svg"), d(e, "width", "15"), d(e, "height", "15"), d(e, "viewBox", "0 0 15 15"), d(l, "class", "TransactionHistoryTitleMobile"), d(t, "class", "MenuReturnButton");
61
61
  },
62
62
  m(T, x) {
63
- M(T, t, x), u(t, e), u(e, s), u(s, r), u(r, o), u(e, y), u(y, c), u(c, g), u(t, f), u(t, l), u(l, m), v || (b = K(
63
+ L(T, t, x), u(t, e), u(e, s), u(s, r), u(r, o), u(e, y), u(y, c), u(c, g), u(t, f), u(t, l), u(l, m), v || (b = J(
64
64
  t,
65
65
  "click",
66
66
  /*click_handler*/
@@ -70,10 +70,10 @@ function et(n) {
70
70
  p(T, x) {
71
71
  x & /*$_*/
72
72
  8 && a !== (a = /*$_*/
73
- T[3]("titleTransactionHistory") + "") && E(m, a);
73
+ T[3]("titleTransactionHistory") + "") && j(m, a);
74
74
  },
75
75
  d(T) {
76
- T && L(t), v = !1, b();
76
+ T && M(t), v = !1, b();
77
77
  }
78
78
  };
79
79
  }
@@ -85,7 +85,7 @@ function nt(n) {
85
85
  n[2]) || d(e, "src", s), d(e, "title", "Transaction History Iframe"), d(t, "class", "TransactionHistoryIframeWrapper");
86
86
  },
87
87
  m(r, o) {
88
- M(r, t, o), u(t, e);
88
+ L(r, t, o), u(t, e);
89
89
  },
90
90
  p(r, o) {
91
91
  o & /*iframeUrl*/
@@ -93,7 +93,7 @@ function nt(n) {
93
93
  r[2]) && d(e, "src", s);
94
94
  },
95
95
  d(r) {
96
- r && L(t);
96
+ r && M(t);
97
97
  }
98
98
  };
99
99
  }
@@ -107,15 +107,15 @@ function it(n) {
107
107
  t = w("p"), s = k(e);
108
108
  },
109
109
  m(r, o) {
110
- M(r, t, o), u(t, s);
110
+ L(r, t, o), u(t, s);
111
111
  },
112
112
  p(r, o) {
113
113
  o & /*$_*/
114
114
  8 && e !== (e = /*$_*/
115
- r[3]("loading") + "") && E(s, e);
115
+ r[3]("loading") + "") && j(s, e);
116
116
  },
117
117
  d(r) {
118
- r && L(t);
118
+ r && M(t);
119
119
  }
120
120
  };
121
121
  }
@@ -141,25 +141,25 @@ function rt(n) {
141
141
  (n[4] ? "TransactionHistoryWrapperMobile" : ""));
142
142
  },
143
143
  m(a, m) {
144
- M(a, t, m), c && c.m(t, null), u(t, e), u(t, s), u(s, o), u(t, y), l.m(t, null), n[14](t);
144
+ L(a, t, m), c && c.m(t, null), u(t, e), u(t, s), u(s, o), u(t, y), l.m(t, null), n[14](t);
145
145
  },
146
146
  p(a, [m]) {
147
147
  /*isMobile*/
148
148
  a[4] && c.p(a, m), m & /*$_*/
149
149
  8 && r !== (r = /*$_*/
150
- a[3]("titleTransactionHistory") + "") && E(o, r), f === (f = g(a)) && l ? l.p(a, m) : (l.d(1), l = f(a), l && (l.c(), l.m(t, null)));
150
+ a[3]("titleTransactionHistory") + "") && j(o, r), f === (f = g(a)) && l ? l.p(a, m) : (l.d(1), l = f(a), l && (l.c(), l.m(t, null)));
151
151
  },
152
- i: j,
153
- o: j,
152
+ i: S,
153
+ o: S,
154
154
  d(a) {
155
- a && L(t), c && c.d(), l.d(), n[14](null);
155
+ a && M(t), c && c.d(), l.d(), n[14](null);
156
156
  }
157
157
  };
158
158
  }
159
159
  function at(n, t, e) {
160
160
  let s;
161
- Z(n, Y, (i) => e(3, s = i));
162
- let { endpoint: r = "" } = t, { session: o = "" } = t, { playerid: y = "" } = t, { lang: c = "en" } = t, { clientstyling: g = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: l = "" } = t, a, m = window.navigator.userAgent, v = J(m) !== "PC", b = !0, T = "";
161
+ V(n, Y, (i) => e(3, s = i));
162
+ let { endpoint: r = "" } = t, { session: o = "" } = t, { playerid: y = "" } = t, { lang: c = "en" } = t, { clientstyling: g = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: l = "" } = t, a, m = window.navigator.userAgent, v = Z(m) !== "PC", b = !0, T = "";
163
163
  const x = () => {
164
164
  fetch(l).then((h) => h.json()).then((h) => {
165
165
  Object.keys(h).forEach((p) => {
@@ -172,7 +172,7 @@ function at(n, t, e) {
172
172
  Object.keys(A).forEach((i) => {
173
173
  z(i, A[i]);
174
174
  });
175
- const S = () => {
175
+ const E = () => {
176
176
  window.postMessage(
177
177
  {
178
178
  type: "PlayerAccountMenuActive",
@@ -213,9 +213,9 @@ function at(n, t, e) {
213
213
  1
214
214
  );
215
215
  });
216
- }, q = () => S();
216
+ }, q = () => E();
217
217
  function P(i) {
218
- Q[i ? "unshift" : "push"](() => {
218
+ K[i ? "unshift" : "push"](() => {
219
219
  a = i, e(0, a);
220
220
  });
221
221
  }
@@ -234,7 +234,7 @@ function at(n, t, e) {
234
234
  T,
235
235
  s,
236
236
  v,
237
- S,
237
+ E,
238
238
  r,
239
239
  o,
240
240
  y,
@@ -253,7 +253,7 @@ class st extends O {
253
253
  t,
254
254
  at,
255
255
  rt,
256
- G,
256
+ D,
257
257
  {
258
258
  endpoint: 6,
259
259
  session: 7,
@@ -309,7 +309,7 @@ class st extends O {
309
309
  this.$$set({ translationurl: t }), H();
310
310
  }
311
311
  }
312
- D(st, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
312
+ Q(st, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
313
313
  export {
314
314
  st as default
315
315
  };
@@ -0,0 +1,315 @@
1
+ import { a as N, $ as F, S as O, i as X, s as D, f as H, b as G, n as S, d as M, c as j, g as L, h as u, j as w, k as C, m as k, o as d, p as V, q as Z, l as J, v as _, w as K, X as B, x as Q, y as Y } from "./GeneralLogout-ChXyfO7j.js";
2
+ function z(n, t) {
3
+ N(n, t);
4
+ }
5
+ function $(n) {
6
+ F.set(n);
7
+ }
8
+ const A = {
9
+ en: {
10
+ titleTransactionHistory: "Transaction History",
11
+ loading: "Loading, please wait ..."
12
+ },
13
+ "zh-hk": {
14
+ titleTransactionHistory: "交易記錄",
15
+ loading: "加載請稍候…"
16
+ },
17
+ fr: {
18
+ titleTransactionHistory: "Historique des transactions",
19
+ loading: "Chargement, veuillez patienter ..."
20
+ },
21
+ ro: {
22
+ titleTransactionHistory: "Istoric tranzacții",
23
+ loading: "Se încarcă..."
24
+ },
25
+ es: {
26
+ titleTransactionHistory: "Historial de transacciones",
27
+ loading: "Cargando ... Por favor espere ..."
28
+ },
29
+ pt: {
30
+ titleTransactionHistory: "Histórico de transações",
31
+ loading: "Carregando, por favor espere ..."
32
+ },
33
+ hr: {
34
+ titleTransactionHistory: "Povijest transakcija",
35
+ loading: "Učitavanje"
36
+ },
37
+ "pt-br": {
38
+ titleTransactionHistory: "Histórico de transações",
39
+ Loading: "Carregando, por favor espere..."
40
+ },
41
+ "es-mx": {
42
+ titleTransactionHistory: "Historial de transacciones",
43
+ Loading: "Cargando, por favor espere..."
44
+ },
45
+ "en-us": {
46
+ titleTransactionHistory: "Transaction History",
47
+ loading: "Loading, please wait ..."
48
+ }
49
+ };
50
+ function tt(n) {
51
+ G(n, "svelte-1oqxq1j", ".TransactionHistoryWrapper{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%}.TransactionHistoryWrapper.TransactionHistoryWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.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))}.TransactionHistoryTitle{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)}.TransactionHistoryTitleMobile{font-size:var(--emw--size-standard, 16px)}.TransactionHistoryTitleNone{display:none}.TransactionHistoryIframeWrapper iframe{border:none;width:100%;height:85vh}");
52
+ }
53
+ function et(n) {
54
+ let t, e, s, r, o, y, c, g, f, l, a = (
55
+ /*$_*/
56
+ n[3]("titleTransactionHistory") + ""
57
+ ), m, v, b;
58
+ return {
59
+ c() {
60
+ t = w("div"), e = _("svg"), s = _("defs"), r = _("style"), o = k(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), y = _("g"), c = _("g"), g = _("path"), f = C(), l = w("h2"), m = k(a), 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(y, "transform", "translate(-20 -158)"), d(e, "xmlns", "http://www.w3.org/2000/svg"), d(e, "width", "15"), d(e, "height", "15"), d(e, "viewBox", "0 0 15 15"), d(l, "class", "TransactionHistoryTitleMobile"), d(t, "class", "MenuReturnButton");
61
+ },
62
+ m(T, x) {
63
+ L(T, t, x), u(t, e), u(e, s), u(s, r), u(r, o), u(e, y), u(y, c), u(c, g), u(t, f), u(t, l), u(l, m), v || (b = J(
64
+ t,
65
+ "click",
66
+ /*click_handler*/
67
+ n[13]
68
+ ), v = !0);
69
+ },
70
+ p(T, x) {
71
+ x & /*$_*/
72
+ 8 && a !== (a = /*$_*/
73
+ T[3]("titleTransactionHistory") + "") && j(m, a);
74
+ },
75
+ d(T) {
76
+ T && M(t), v = !1, b();
77
+ }
78
+ };
79
+ }
80
+ function nt(n) {
81
+ let t, e, s;
82
+ return {
83
+ c() {
84
+ t = w("div"), e = w("iframe"), B(e.src, s = /*iframeUrl*/
85
+ n[2]) || d(e, "src", s), d(e, "title", "Transaction History Iframe"), d(t, "class", "TransactionHistoryIframeWrapper");
86
+ },
87
+ m(r, o) {
88
+ L(r, t, o), u(t, e);
89
+ },
90
+ p(r, o) {
91
+ o & /*iframeUrl*/
92
+ 4 && !B(e.src, s = /*iframeUrl*/
93
+ r[2]) && d(e, "src", s);
94
+ },
95
+ d(r) {
96
+ r && M(t);
97
+ }
98
+ };
99
+ }
100
+ function it(n) {
101
+ let t, e = (
102
+ /*$_*/
103
+ n[3]("loading") + ""
104
+ ), s;
105
+ return {
106
+ c() {
107
+ t = w("p"), s = k(e);
108
+ },
109
+ m(r, o) {
110
+ L(r, t, o), u(t, s);
111
+ },
112
+ p(r, o) {
113
+ o & /*$_*/
114
+ 8 && e !== (e = /*$_*/
115
+ r[3]("loading") + "") && j(s, e);
116
+ },
117
+ d(r) {
118
+ r && M(t);
119
+ }
120
+ };
121
+ }
122
+ function rt(n) {
123
+ let t, e, s, r = (
124
+ /*$_*/
125
+ n[3]("titleTransactionHistory") + ""
126
+ ), o, y, c = (
127
+ /*isMobile*/
128
+ n[4] && et(n)
129
+ );
130
+ function g(a, m) {
131
+ return (
132
+ /*isLoading*/
133
+ a[1] ? it : nt
134
+ );
135
+ }
136
+ let f = g(n), l = f(n);
137
+ return {
138
+ c() {
139
+ t = w("div"), c && c.c(), e = C(), s = w("h2"), o = k(r), y = C(), l.c(), d(s, "class", "TransactionHistoryTitle " + /*isMobile*/
140
+ (n[4] ? "TransactionHistoryTitleNone" : "")), d(t, "class", "TransactionHistoryWrapper " + /*isMobile*/
141
+ (n[4] ? "TransactionHistoryWrapperMobile" : ""));
142
+ },
143
+ m(a, m) {
144
+ L(a, t, m), c && c.m(t, null), u(t, e), u(t, s), u(s, o), u(t, y), l.m(t, null), n[14](t);
145
+ },
146
+ p(a, [m]) {
147
+ /*isMobile*/
148
+ a[4] && c.p(a, m), m & /*$_*/
149
+ 8 && r !== (r = /*$_*/
150
+ a[3]("titleTransactionHistory") + "") && j(o, r), f === (f = g(a)) && l ? l.p(a, m) : (l.d(1), l = f(a), l && (l.c(), l.m(t, null)));
151
+ },
152
+ i: S,
153
+ o: S,
154
+ d(a) {
155
+ a && M(t), c && c.d(), l.d(), n[14](null);
156
+ }
157
+ };
158
+ }
159
+ function at(n, t, e) {
160
+ let s;
161
+ V(n, Y, (i) => e(3, s = i));
162
+ let { endpoint: r = "" } = t, { session: o = "" } = t, { playerid: y = "" } = t, { lang: c = "en" } = t, { clientstyling: g = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: l = "" } = t, a, m = window.navigator.userAgent, v = Z(m) !== "PC", b = !0, T = "";
163
+ const x = () => {
164
+ fetch(l).then((h) => h.json()).then((h) => {
165
+ Object.keys(h).forEach((p) => {
166
+ z(p, h[p]);
167
+ });
168
+ }).catch((h) => {
169
+ console.log(h);
170
+ });
171
+ };
172
+ Object.keys(A).forEach((i) => {
173
+ z(i, A[i]);
174
+ });
175
+ const E = () => {
176
+ window.postMessage(
177
+ {
178
+ type: "PlayerAccountMenuActive",
179
+ isMobile: v
180
+ },
181
+ window.location.href
182
+ );
183
+ }, I = () => {
184
+ let i = new URL(`${r}/v1/player/${y}/hostedcashier/customertransactionhistoryurl`);
185
+ i.searchParams.append("language", c);
186
+ let h = {
187
+ method: "GET",
188
+ headers: {
189
+ "X-SessionId": o,
190
+ accept: "application/json"
191
+ }
192
+ };
193
+ fetch(i.href, h).then((p) => p.json()).then(
194
+ (p) => {
195
+ e(1, b = !1), e(2, T = p.CashierUrl);
196
+ },
197
+ (p) => {
198
+ console.error(p);
199
+ }
200
+ );
201
+ }, R = () => {
202
+ $(c);
203
+ }, U = () => {
204
+ let i = document.createElement("style");
205
+ i.innerHTML = g, a.appendChild(i);
206
+ }, W = () => {
207
+ let i = new URL(f), h = document.createElement("style");
208
+ fetch(i.href).then((p) => p.text()).then((p) => {
209
+ h.innerHTML = p, setTimeout(
210
+ () => {
211
+ a.appendChild(h);
212
+ },
213
+ 1
214
+ );
215
+ });
216
+ }, q = () => E();
217
+ function P(i) {
218
+ K[i ? "unshift" : "push"](() => {
219
+ a = i, e(0, a);
220
+ });
221
+ }
222
+ return n.$$set = (i) => {
223
+ "endpoint" in i && e(6, r = i.endpoint), "session" in i && e(7, o = i.session), "playerid" in i && e(8, y = i.playerid), "lang" in i && e(9, c = i.lang), "clientstyling" in i && e(10, g = i.clientstyling), "clientstylingurl" in i && e(11, f = i.clientstylingurl), "translationurl" in i && e(12, l = i.translationurl);
224
+ }, n.$$.update = () => {
225
+ n.$$.dirty & /*lang*/
226
+ 512 && c && R(), n.$$.dirty & /*session, playerid, endpoint, lang*/
227
+ 960 && o && y && r && c && I(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
228
+ 2049 && f && a && W(), n.$$.dirty & /*clientstyling, customStylingContainer*/
229
+ 1025 && g && a && U(), n.$$.dirty & /*translationurl*/
230
+ 4096 && l && x();
231
+ }, [
232
+ a,
233
+ b,
234
+ T,
235
+ s,
236
+ v,
237
+ E,
238
+ r,
239
+ o,
240
+ y,
241
+ c,
242
+ g,
243
+ f,
244
+ l,
245
+ q,
246
+ P
247
+ ];
248
+ }
249
+ class st extends O {
250
+ constructor(t) {
251
+ super(), X(
252
+ this,
253
+ t,
254
+ at,
255
+ rt,
256
+ D,
257
+ {
258
+ endpoint: 6,
259
+ session: 7,
260
+ playerid: 8,
261
+ lang: 9,
262
+ clientstyling: 10,
263
+ clientstylingurl: 11,
264
+ translationurl: 12
265
+ },
266
+ tt
267
+ );
268
+ }
269
+ get endpoint() {
270
+ return this.$$.ctx[6];
271
+ }
272
+ set endpoint(t) {
273
+ this.$$set({ endpoint: t }), H();
274
+ }
275
+ get session() {
276
+ return this.$$.ctx[7];
277
+ }
278
+ set session(t) {
279
+ this.$$set({ session: t }), H();
280
+ }
281
+ get playerid() {
282
+ return this.$$.ctx[8];
283
+ }
284
+ set playerid(t) {
285
+ this.$$set({ playerid: t }), H();
286
+ }
287
+ get lang() {
288
+ return this.$$.ctx[9];
289
+ }
290
+ set lang(t) {
291
+ this.$$set({ lang: t }), H();
292
+ }
293
+ get clientstyling() {
294
+ return this.$$.ctx[10];
295
+ }
296
+ set clientstyling(t) {
297
+ this.$$set({ clientstyling: t }), H();
298
+ }
299
+ get clientstylingurl() {
300
+ return this.$$.ctx[11];
301
+ }
302
+ set clientstylingurl(t) {
303
+ this.$$set({ clientstylingurl: t }), H();
304
+ }
305
+ get translationurl() {
306
+ return this.$$.ctx[12];
307
+ }
308
+ set translationurl(t) {
309
+ this.$$set({ translationurl: t }), H();
310
+ }
311
+ }
312
+ Q(st, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
313
+ export {
314
+ st as default
315
+ };
@@ -1,4 +1,4 @@
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-Ddt-oH9k.js";
1
+ import { a as q, $ as X, S as V, i as Z, s as J, f as b, b as K, n as U, d as P, c as L, g as T, h, j as v, k as S, m as x, o as d, p as Q, q as Y, u as $, l as ee, v as k, w as te, X as z, x as ae, y as re } from "./GeneralLogout-ChXyfO7j.js";
2
2
  function D(r, e) {
3
3
  q(r, e);
4
4
  }
@@ -40,7 +40,7 @@ const I = {
40
40
  }
41
41
  };
42
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)}");
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
45
  function ne(r) {
46
46
  let e, a, n, l, o, m, c, f, g, s, i = (
@@ -52,7 +52,7 @@ function ne(r) {
52
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");
53
53
  },
54
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(
55
+ T(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 = ee(
56
56
  e,
57
57
  "click",
58
58
  /*click_handler*/
@@ -65,7 +65,7 @@ function ne(r) {
65
65
  W[3]("titlePlayerWithdrawal") + "") && L(u, i);
66
66
  },
67
67
  d(W) {
68
- W && T(e), y = !1, M();
68
+ W && P(e), y = !1, M();
69
69
  }
70
70
  };
71
71
  }
@@ -77,7 +77,7 @@ function se(r) {
77
77
  r[2]) || d(a, "src", n), d(a, "title", "Withdrawal Iframe"), d(e, "class", "WithdrawalIframeWrapper");
78
78
  },
79
79
  m(l, o) {
80
- P(l, e, o), h(e, a);
80
+ T(l, e, o), h(e, a);
81
81
  },
82
82
  p(l, o) {
83
83
  o & /*iframeUrl*/
@@ -85,7 +85,7 @@ function se(r) {
85
85
  l[2]) && d(a, "src", n);
86
86
  },
87
87
  d(l) {
88
- l && T(e);
88
+ l && P(e);
89
89
  }
90
90
  };
91
91
  }
@@ -99,7 +99,7 @@ function oe(r) {
99
99
  e = v("p"), n = x(a);
100
100
  },
101
101
  m(l, o) {
102
- P(l, e, o), h(e, n);
102
+ T(l, e, o), h(e, n);
103
103
  },
104
104
  p(l, o) {
105
105
  o & /*$_*/
@@ -107,7 +107,7 @@ function oe(r) {
107
107
  l[3]("loading") + "") && L(n, a);
108
108
  },
109
109
  d(l) {
110
- l && T(e);
110
+ l && P(e);
111
111
  }
112
112
  };
113
113
  }
@@ -133,7 +133,7 @@ function ce(r) {
133
133
  (r[4] ? "WithdrawalWrapperMobile" : ""));
134
134
  },
135
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);
136
+ T(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);
137
137
  },
138
138
  p(i, [u]) {
139
139
  /*isMobile*/
@@ -144,15 +144,15 @@ function ce(r) {
144
144
  i: U,
145
145
  o: U,
146
146
  d(i) {
147
- i && T(e), c && c.d(), s.d(), r[16](null);
147
+ i && P(e), c && c.d(), s.d(), r[16](null);
148
148
  }
149
149
  };
150
150
  }
151
151
  function de(r, e, a) {
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 = () => {
153
+ Q(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 = Y(M) !== "PC", _ = !0, C = 0, R = "";
155
+ const j = () => {
156
156
  fetch(i).then((p) => p.json()).then((p) => {
157
157
  Object.keys(p).forEach((w) => {
158
158
  D(w, p[w]);
@@ -202,7 +202,7 @@ function de(r, e, a) {
202
202
  break;
203
203
  }
204
204
  }
205
- }, j = () => {
205
+ }, A = () => {
206
206
  let t = new URL(`${l}/v1/player/${m}/hostedcashier/initializewithdraw`);
207
207
  if (t.searchParams.append("language", c), f)
208
208
  switch (u) {
@@ -248,12 +248,12 @@ function de(r, e, a) {
248
248
  );
249
249
  });
250
250
  };
251
- ee(() => (window.addEventListener("message", B, !1), () => {
251
+ $(() => (window.addEventListener("message", B, !1), () => {
252
252
  window.removeEventListener("message", B);
253
253
  }));
254
254
  const G = () => E();
255
255
  function O(t) {
256
- ae[t ? "unshift" : "push"](() => {
256
+ te[t ? "unshift" : "push"](() => {
257
257
  y = t, a(0, y);
258
258
  });
259
259
  }
@@ -264,8 +264,8 @@ function de(r, e, a) {
264
264
  1024 && c && H(), r.$$.dirty & /*clientstylingurl, customStylingContainer*/
265
265
  8193 && s && y && N(), r.$$.dirty & /*clientstyling, customStylingContainer*/
266
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();
267
+ 16384 && i && j(), r.$$.dirty & /*session, playerid, endpoint, playercurrency, lang*/
268
+ 1984 && o && m && l && u && c && A();
269
269
  }, [
270
270
  y,
271
271
  _,
@@ -293,7 +293,7 @@ class ue extends V {
293
293
  e,
294
294
  de,
295
295
  ce,
296
- K,
296
+ J,
297
297
  {
298
298
  endpoint: 7,
299
299
  session: 8,
@@ -363,7 +363,7 @@ class ue extends V {
363
363
  this.$$set({ playercurrency: e }), b();
364
364
  }
365
365
  }
366
- J(ue, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {} }, [], [], !0);
366
+ ae(ue, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {} }, [], [], !0);
367
367
  export {
368
368
  ue as default
369
369
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-JiIri-az.cjs");function x(l,t){e.addMessages(l,t)}function z(l){e.$locale.set(l)}const P={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,r,s,n,c,h,d,p,m,o,i=l[3]("titlePlayerWithdrawal")+"",u,g,v;return{c(){t=e.element("div"),r=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"),p=e.svg_element("path"),m=e.space(),o=e.element("h2"),u=e.text(i),e.attr(p,"class","aaa"),e.attr(p,"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(p,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(h,"transform","translate(-20 -158)"),e.attr(r,"xmlns","http://www.w3.org/2000/svg"),e.attr(r,"width","15"),e.attr(r,"height","15"),e.attr(r,"viewBox","0 0 15 15"),e.attr(o,"class","WithdrawalTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(y,_){e.insert(y,t,_),e.append(t,r),e.append(r,s),e.append(s,n),e.append(n,c),e.append(r,h),e.append(h,d),e.append(d,p),e.append(t,m),e.append(t,o),e.append(o,u),g||(v=e.listen(t,"click",l[15]),g=!0)},p(y,_){_&8&&i!==(i=y[3]("titlePlayerWithdrawal")+"")&&e.set_data(u,i)},d(y){y&&e.detach(t),g=!1,v()}}}function j(l){let t,r,s;return{c(){t=e.element("div"),r=e.element("iframe"),e.src_url_equal(r.src,s=l[2])||e.attr(r,"src",s),e.attr(r,"title","Withdrawal Iframe"),e.attr(t,"class","WithdrawalIframeWrapper")},m(n,c){e.insert(n,t,c),e.append(t,r)},p(n,c){c&4&&!e.src_url_equal(r.src,s=n[2])&&e.attr(r,"src",s)},d(n){n&&e.detach(t)}}}function A(l){let t,r=l[3]("loading")+"",s;return{c(){t=e.element("p"),s=e.text(r)},m(n,c){e.insert(n,t,c),e.append(t,s)},p(n,c){c&8&&r!==(r=n[3]("loading")+"")&&e.set_data(s,r)},d(n){n&&e.detach(t)}}}function H(l){let t,r,s,n=l[3]("titlePlayerWithdrawal")+"",c,h,d=l[4]&&I(l);function p(i,u){return i[1]?A:j}let m=p(l),o=m(l);return{c(){t=e.element("div"),d&&d.c(),r=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,r),e.append(t,s),e.append(s,c),e.append(t,h),o.m(t,null),l[16](t)},p(i,[u]){i[4]&&d.p(i,u),u&8&&n!==(n=i[3]("titlePlayerWithdrawal")+"")&&e.set_data(c,n),m===(m=p(i))&&o?o.p(i,u):(o.d(1),o=m(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[16](null)}}}function F(l,t,r){let s;e.component_subscribe(l,e.$format,a=>r(3,s=a));let{endpoint:n=""}=t,{session:c=""}=t,{playerid:h=""}=t,{lang:d="en"}=t,{hasdefaultamount:p=""}=t,{clientstyling:m=""}=t,{clientstylingurl:o=""}=t,{translationurl:i=""}=t,{playercurrency:u=""}=t,g,v=window.navigator.userAgent,y=e.getDevice(v)!=="PC",_=!0,b=0,W="";const C=()=>{fetch(i).then(w=>w.json()).then(w=>{Object.keys(w).forEach(f=>{x(f,w[f])})}).catch(w=>{console.log(w)})};Object.keys(P).forEach(a=>{x(a,P[a])});const M=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:y},window.location.href)},k=a=>{if(a.data){switch(a.data.type){case"ProfileDetailsData":r(6,u=a.data.profileDetails.currency);break}switch(a.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}}},S=()=>{let a=new URL(`${n}/v1/player/${h}/hostedcashier/initializewithdraw`);if(a.searchParams.append("language",d),p)switch(u){case"USD":b=.4;break;case"CDF":b=1e3;break}let w={method:"POST",headers:{"X-SessionId":c,currency:u||"EUR",amount:b,cashierMode:"Default",IsShortCashier:!1,accept:"application/json"}};fetch(a.href,w).then(f=>f.json()).then(f=>{r(1,_=!1),r(2,W=f.CashierUrl)},f=>{console.error(f)})},L=()=>{z(d)},R=()=>{let a=document.createElement("style");a.innerHTML=m,g.appendChild(a)},E=()=>{let a=new URL(o),w=document.createElement("style");fetch(a.href).then(f=>f.text()).then(f=>{w.innerHTML=f,setTimeout(()=>{g.appendChild(w)},1)})};e.onMount(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)}));const B=()=>M();function U(a){e.binding_callbacks[a?"unshift":"push"](()=>{g=a,r(0,g)})}return l.$$set=a=>{"endpoint"in a&&r(7,n=a.endpoint),"session"in a&&r(8,c=a.session),"playerid"in a&&r(9,h=a.playerid),"lang"in a&&r(10,d=a.lang),"hasdefaultamount"in a&&r(11,p=a.hasdefaultamount),"clientstyling"in a&&r(12,m=a.clientstyling),"clientstylingurl"in a&&r(13,o=a.clientstylingurl),"translationurl"in a&&r(14,i=a.translationurl),"playercurrency"in a&&r(6,u=a.playercurrency)},l.$$.update=()=>{l.$$.dirty&1024&&d&&L(),l.$$.dirty&8193&&o&&g&&E(),l.$$.dirty&4097&&m&&g&&R(),l.$$.dirty&16384&&i&&C(),l.$$.dirty&1984&&c&&h&&n&&u&&d&&S()},[g,_,W,s,y,M,u,n,c,h,d,p,m,o,i,B,U]}class T extends e.SvelteComponent{constructor(t){super(),e.init(this,t,F,H,e.safe_not_equal,{endpoint:7,session:8,playerid:9,lang:10,hasdefaultamount:11,clientstyling:12,clientstylingurl:13,translationurl:14,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 translationurl(){return this.$$.ctx[14]}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:{},translationurl:{},playercurrency:{}},[],[],!0);exports.default=T;