@everymatrix/player-account-controller 1.94.19 → 1.94.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/components/{GeneralLogout-BQJRUNwp.cjs → GeneralLogout-C4zscfCx.cjs} +1 -1
  2. package/components/{GeneralLogout-CwC7hmDR.js → GeneralLogout-CXb7OdeA.js} +69 -69
  3. package/components/{GeneralLogout-BzreXekz.js → GeneralLogout-CpE101GN.js} +53 -53
  4. package/components/{PlayerAccountBettingHistory-iBgxnZ1z.cjs → PlayerAccountBettingHistory-BEC5Dbk4.cjs} +1 -1
  5. package/components/{PlayerAccountBettingHistory-CpObxK27.js → PlayerAccountBettingHistory-D2UOjGmQ.js} +27 -27
  6. package/components/{PlayerAccountBettingHistory-t0Tk_p0g.js → PlayerAccountBettingHistory-DdxkAioI.js} +24 -24
  7. package/components/{PlayerAccountBiometrics-C5OncfaU.js → PlayerAccountBiometrics-BoITt8OK.js} +29 -29
  8. package/components/{PlayerAccountBiometrics-WqGiexBI.cjs → PlayerAccountBiometrics-CkHgmfP_.cjs} +1 -1
  9. package/components/{PlayerAccountBiometrics-D7yEbrsq.js → PlayerAccountBiometrics-DufGqDU4.js} +29 -29
  10. package/components/{PlayerAccountBiometricsAction-uCYyRh_C.js → PlayerAccountBiometricsAction-B5FkZd-r.js} +29 -29
  11. package/components/{PlayerAccountBiometricsAction-DGkhc1cZ.cjs → PlayerAccountBiometricsAction-CrfbCZc0.cjs} +1 -1
  12. package/components/{PlayerAccountBiometricsAction-BCPPui38.js → PlayerAccountBiometricsAction-Dpgb3qw8.js} +20 -20
  13. package/components/{PlayerAccountClosure-Ct4tBOGU.js → PlayerAccountClosure-BkZo4ds8.js} +8 -8
  14. package/components/{PlayerAccountClosure-CNXw7Sjx.cjs → PlayerAccountClosure-CTVdrvUs.cjs} +1 -1
  15. package/components/{PlayerAccountClosure-DLFNaf_2.js → PlayerAccountClosure-Rn4rUpUm.js} +24 -24
  16. package/components/{PlayerAccountController-KqshAWe2.cjs → PlayerAccountController-BBk-9TOg.cjs} +1 -1
  17. package/components/{PlayerAccountController-BHq1U_O6.js → PlayerAccountController-CO8cZYgr.js} +86 -86
  18. package/components/{PlayerAccountController-CKZCKQpN.js → PlayerAccountController-DgE57QwT.js} +86 -86
  19. package/components/{PlayerAccountGamingLimits-BdlTSpsU.cjs → PlayerAccountGamingLimits-B-5nWzRS.cjs} +1 -1
  20. package/components/{PlayerAccountGamingLimits-C3wWWcGH.js → PlayerAccountGamingLimits-CxpBIVY6.js} +32 -32
  21. package/components/{PlayerAccountGamingLimits-Z6Ce0MoG.js → PlayerAccountGamingLimits-V927kAz2.js} +30 -30
  22. package/components/{PlayerAccountGamingLimitsConfirmationModal-Cfk6gWz8.js → PlayerAccountGamingLimitsConfirmationModal-BveODcSU.js} +34 -34
  23. package/components/{PlayerAccountGamingLimitsConfirmationModal-B7CUyyZF.js → PlayerAccountGamingLimitsConfirmationModal-CG7r6PIK.js} +25 -25
  24. package/components/{PlayerAccountGamingLimitsConfirmationModal-DI6j94DD.cjs → PlayerAccountGamingLimitsConfirmationModal-CJgeqRLo.cjs} +1 -1
  25. package/components/{PlayerAccountGamingLimitsGroupEdit-qUGWNtii.cjs → PlayerAccountGamingLimitsGroupEdit-Cyu-XItn.cjs} +1 -1
  26. package/components/{PlayerAccountGamingLimitsGroupEdit-aCJcxI7C.js → PlayerAccountGamingLimitsGroupEdit-DXbMOl6-.js} +47 -47
  27. package/components/{PlayerAccountGamingLimitsGroupEdit-CoF5dXFM.js → PlayerAccountGamingLimitsGroupEdit-vujLn0t-.js} +47 -47
  28. package/components/{PlayerAccountGamingLimitsHistory2-D4p6d8iD.js → PlayerAccountGamingLimitsHistory2-C1J6OpLl.js} +35 -35
  29. package/components/{PlayerAccountGamingLimitsHistory2-5ux43rb0.cjs → PlayerAccountGamingLimitsHistory2-C6HksI_l.cjs} +1 -1
  30. package/components/{PlayerAccountGamingLimitsHistory2-D6yYPKgO.js → PlayerAccountGamingLimitsHistory2-ch2erx5S.js} +45 -45
  31. package/components/{PlayerAccountGamingLimitsInfoCard-DBbFlq2N.cjs → PlayerAccountGamingLimitsInfoCard-C-DFY5Ok.cjs} +1 -1
  32. package/components/{PlayerAccountGamingLimitsInfoCard-DD4VF0x7.js → PlayerAccountGamingLimitsInfoCard-C17cmXa_.js} +4 -4
  33. package/components/{PlayerAccountGamingLimitsInfoCard-DimpOAgW.js → PlayerAccountGamingLimitsInfoCard-g7I5qkLj.js} +4 -4
  34. package/components/{PlayerAccountGamingLimitsPage2Gm16-ByAD5XkL.js → PlayerAccountGamingLimitsPage2Gm16-5DbisV99.js} +105 -105
  35. package/components/{PlayerAccountGamingLimitsPage2Gm16-Cd6aLvED.cjs → PlayerAccountGamingLimitsPage2Gm16-BD2PAPr7.cjs} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPage2Gm16-39Ko_0bM.js → PlayerAccountGamingLimitsPage2Gm16-vkWd1ihI.js} +1 -1
  37. package/components/{PlayerAccountGamingLimitsPopup-DpKQITZC.js → PlayerAccountGamingLimitsPopup-7JDTXTtQ.js} +19 -19
  38. package/components/{PlayerAccountGamingLimitsPopup-BLjM3dul.js → PlayerAccountGamingLimitsPopup-CBrl659u.js} +15 -15
  39. package/components/{PlayerAccountGamingLimitsPopup-BIRVIt7t.cjs → PlayerAccountGamingLimitsPopup-CvgPjhi-.cjs} +1 -1
  40. package/components/{PlayerAccountGamingLimitsWrapper2-o3uvZC1a.cjs → PlayerAccountGamingLimitsWrapper2-Bm2vuvTx.cjs} +1 -1
  41. package/components/{PlayerAccountGamingLimitsWrapper2-Bxh1v-ks.js → PlayerAccountGamingLimitsWrapper2-DWD-0F-D.js} +58 -58
  42. package/components/{PlayerAccountGamingLimitsWrapper2-D0oOCM5A.js → PlayerAccountGamingLimitsWrapper2-jQr15q3J.js} +54 -54
  43. package/components/{PlayerAccountGeneralConfirmationModal-Dbpjs0ok.cjs → PlayerAccountGeneralConfirmationModal-B_cFWoG1.cjs} +1 -1
  44. package/components/{PlayerAccountGeneralConfirmationModal-v1VPRGeY.js → PlayerAccountGeneralConfirmationModal-Bnwi7Hps.js} +38 -38
  45. package/components/{PlayerAccountGeneralConfirmationModal-XrxuJU94.js → PlayerAccountGeneralConfirmationModal-D7km7Zog.js} +35 -35
  46. package/components/{PlayerAccountMenu-D3ydI3e0.js → PlayerAccountMenu-7UYVqYH-.js} +23 -23
  47. package/components/{PlayerAccountMenu-p1bTKU9o.cjs → PlayerAccountMenu-CBhFGN5v.cjs} +1 -1
  48. package/components/{PlayerAccountMenu-DOwnMfBp.js → PlayerAccountMenu-D-jM_PCb.js} +23 -23
  49. package/components/{PlayerAccountModal-nLc5W2X1.cjs → PlayerAccountModal-BQZExMfG.cjs} +1 -1
  50. package/components/{PlayerAccountModal-DM8MYI4c.js → PlayerAccountModal-BxFPmZIg.js} +51 -51
  51. package/components/{PlayerAccountModal-CPowwN-K.js → PlayerAccountModal-InDwj5CZ.js} +55 -55
  52. package/components/{PlayerAccountNotifications-D2o0B9mY.js → PlayerAccountNotifications-BKQa6iL8.js} +29 -29
  53. package/components/{PlayerAccountNotifications-Bclx6LlP.cjs → PlayerAccountNotifications-C7bklpfG.cjs} +1 -1
  54. package/components/{PlayerAccountNotifications-BLDWrrxI.js → PlayerAccountNotifications-kDZBI187.js} +88 -88
  55. package/components/{PlayerAccountProductRestriction-DcrSkVJ-.cjs → PlayerAccountProductRestriction-B2pinL7l.cjs} +1 -1
  56. package/components/{PlayerAccountProductRestriction-CArQTQHH.js → PlayerAccountProductRestriction-CFIjlnOX.js} +3 -3
  57. package/components/{PlayerAccountProductRestriction-DHxrM48h.js → PlayerAccountProductRestriction-DbEkMKO3.js} +3 -3
  58. package/components/{PlayerAccountReviewFrequency-210Gkzzk.js → PlayerAccountReviewFrequency-BYWEOhzw.js} +30 -30
  59. package/components/{PlayerAccountReviewFrequency-maIKojuS.cjs → PlayerAccountReviewFrequency-DMwFO_R2.cjs} +1 -1
  60. package/components/{PlayerAccountReviewFrequency-BmQDh8wI.js → PlayerAccountReviewFrequency-DjERKwb7.js} +31 -31
  61. package/components/{PlayerAccountSelfExclusion-CPbHgqgm.js → PlayerAccountSelfExclusion-BM_tkQy1.js} +99 -99
  62. package/components/{PlayerAccountSelfExclusion-QhkNBndX.js → PlayerAccountSelfExclusion-Byk2bLi5.js} +86 -86
  63. package/components/{PlayerAccountSelfExclusion-BbGponGq.cjs → PlayerAccountSelfExclusion-CMk-HM8u.cjs} +1 -1
  64. package/components/{PlayerAccountTimeout-CQadGV2a.js → PlayerAccountTimeout-B52QzMyN.js} +3 -3
  65. package/components/{PlayerAccountTimeout-CbSDcsVh.cjs → PlayerAccountTimeout-BKqM9z9S.cjs} +2 -2
  66. package/components/{PlayerAccountTimeout-BEQ_XL2r.js → PlayerAccountTimeout-CvNSJCuP.js} +3 -3
  67. package/components/{PlayerAccountTransactionsHistory-BcG6cSUz.js → PlayerAccountTransactionsHistory-Ct9bbtaS.js} +36 -36
  68. package/components/{PlayerAccountTransactionsHistory-BgeA2OaG.js → PlayerAccountTransactionsHistory-DfYoqbPR.js} +35 -35
  69. package/components/{PlayerAccountTransactionsHistory-DLYk17GI.cjs → PlayerAccountTransactionsHistory-vlF8HWQr.cjs} +1 -1
  70. package/components/{PlayerActiveBonuses-Dg7d3EXi.js → PlayerActiveBonuses-C5pOksPm.js} +539 -509
  71. package/components/{PlayerActiveBonuses-DVytvabF.js → PlayerActiveBonuses-DYEcrFhQ.js} +544 -514
  72. package/components/PlayerActiveBonuses-iTkyXHsD.cjs +5 -0
  73. package/components/{PlayerBonusCard-C-E_7PSB.js → PlayerBonusCard-Bggf2jM-.js} +252 -238
  74. package/components/{PlayerBonusCard-CSj1XzDi.js → PlayerBonusCard-CVByVySk.js} +249 -235
  75. package/components/PlayerBonusCard-DgHQKXJE.cjs +1 -0
  76. package/components/{PlayerBonusHistory-BSDft0iY.js → PlayerBonusHistory-A1LztGVe.js} +1941 -1910
  77. package/components/{PlayerBonusHistory-BNlbASad.cjs → PlayerBonusHistory-Cvq_m9mr.cjs} +252 -252
  78. package/components/{PlayerBonusHistory-CMGvjo7T.js → PlayerBonusHistory-vvCROk6P.js} +1924 -1893
  79. package/components/{PlayerChangePassword-CDPtd1y2.js → PlayerChangePassword-BpW3ZGPE.js} +71 -71
  80. package/components/{PlayerChangePassword-CN2nSbTu.cjs → PlayerChangePassword-Ck2ADweJ.cjs} +1 -1
  81. package/components/{PlayerChangePassword-CjdAhIqW.js → PlayerChangePassword-DfLb_jZA.js} +71 -71
  82. package/components/{PlayerDeposit-BtS34PMd.cjs → PlayerDeposit-CCzkiEdB.cjs} +1 -1
  83. package/components/{PlayerDeposit-C9DlPi5i.js → PlayerDeposit-CpU80gtj.js} +28 -28
  84. package/components/{PlayerDeposit-BOHnESfn.js → PlayerDeposit-HbzBoc73.js} +24 -24
  85. package/components/{PlayerGamingHistory-BDVH_6B8.cjs → PlayerGamingHistory-C-1-WJwY.cjs} +1 -1
  86. package/components/{PlayerGamingHistory-C6WWw2cc.js → PlayerGamingHistory-D7i_K4mx.js} +94 -94
  87. package/components/{PlayerGamingHistory-Da-Wan4y.js → PlayerGamingHistory-DpSeY1cI.js} +114 -114
  88. package/components/{PlayerPendingWithdrawals-CgdF4Q07.cjs → PlayerPendingWithdrawals-BubG3Pn4.cjs} +1 -1
  89. package/components/{PlayerPendingWithdrawals-BH2fv9D2.js → PlayerPendingWithdrawals-BwdyTHVG.js} +30 -30
  90. package/components/{PlayerPendingWithdrawals-Bbokp3YM.js → PlayerPendingWithdrawals-C9gR_Y0d.js} +34 -34
  91. package/components/{PlayerProfileInfo-CtQg5U2I.js → PlayerProfileInfo-C5By7H5W.js} +364 -364
  92. package/components/{PlayerProfileInfo-BrN8d1L_.cjs → PlayerProfileInfo-DNlp4qra.cjs} +1 -1
  93. package/components/{PlayerProfileInfo-Cl33NXNc.js → PlayerProfileInfo-DerxJF3S.js} +342 -342
  94. package/components/{PlayerRealityCheck-maFkRSmz.js → PlayerRealityCheck-1wRbKOda.js} +55 -55
  95. package/components/{PlayerRealityCheck-CH6yW7w0.js → PlayerRealityCheck-CQS6Dta8.js} +54 -54
  96. package/components/{PlayerRealityCheck-DFyTdthH.cjs → PlayerRealityCheck-DrzWTJ0l.cjs} +1 -1
  97. package/components/{PlayerTransactionHistory-jPhM6ytU.js → PlayerTransactionHistory-BIxhXd3Y.js} +44 -44
  98. package/components/{PlayerTransactionHistory-BxyX6ai9.js → PlayerTransactionHistory-DSCZ7OVe.js} +31 -31
  99. package/components/{PlayerTransactionHistory-B8UFaIzM.cjs → PlayerTransactionHistory-DlRKQ_LH.cjs} +1 -1
  100. package/components/{PlayerWithdrawal-Crv6enga.cjs → PlayerWithdrawal-B5lYxcpO.cjs} +1 -1
  101. package/components/{PlayerWithdrawal-CKHK7F5l.js → PlayerWithdrawal-B8PG-Cig.js} +25 -25
  102. package/components/{PlayerWithdrawal-D2BakJra.js → PlayerWithdrawal-zFpUyw_q.js} +25 -25
  103. package/components/{QrSessionGenerator-DHB2Qsq3.cjs → QrSessionGenerator-BeNaNuyX.cjs} +1 -1
  104. package/components/{QrSessionGenerator-CYedw5yt.js → QrSessionGenerator-ChEh7Qwb.js} +37 -37
  105. package/components/{QrSessionGenerator-DiPVWwLx.js → QrSessionGenerator-DuxpFDzg.js} +48 -48
  106. package/es2015/player-account-controller.cjs +1 -1
  107. package/es2015/player-account-controller.js +1 -1
  108. package/esnext/player-account-controller.js +1 -1
  109. package/package.json +1 -1
  110. package/stencil/{checkbox-group-input_16-BMVEaVtV.js → checkbox-group-input_16-BzEg4TpU.js} +3 -3
  111. package/stencil/{checkbox-group-input_16-C6fU4lxi.js → checkbox-group-input_16-nRSc7WyI.js} +3 -3
  112. package/stencil/{index-7469517b-BFmBiraV.js → index-7469517b-B-IR-z1N.js} +1 -1
  113. package/stencil/{index-7469517b-CCwm-ipO.js → index-7469517b-C42JdpYE.js} +1 -1
  114. package/stencil/{pam-change-password-259289fa-DJ_lsyvr.js → pam-change-password-259289fa-CkW8tAwL.js} +3 -3
  115. package/stencil/{pam-change-password-259289fa-B_ApylOR.js → pam-change-password-259289fa-DS0Y7TKw.js} +3 -3
  116. package/stencil/{pam-change-password-DH0owsL8.js → pam-change-password-Cd7FdKp2.js} +1 -1
  117. package/stencil/{pam-change-password-BOIp7Ttz.js → pam-change-password-Fz6dpHWP.js} +1 -1
  118. package/components/PlayerActiveBonuses-B0BbnzpT.cjs +0 -5
  119. package/components/PlayerBonusCard-CI-sAhBx.cjs +0 -1
@@ -1,11 +1,11 @@
1
- import { c as q, b as F, S as O, B as D, Q as V, t as H, f as G, J as E, p as M, Y as L, D as S, e as g, q as w, a0 as C, a3 as x, g as d, k as J, w as Q, M as X, I as Y, a2 as b, h as Z, a1 as I, U as K, V as $, W as tt, m as et, a as it } from "./PlayerAccountController-BHq1U_O6.js";
2
- function W(i, t) {
1
+ import { a as q, $ as F, S as O, i as D, s as G, f as H, b as V, n as z, d as M, u as L, e as S, p as g, g as v, q as C, v as x, t as d, h as X, j as Z, o as J, x as K, y as b, k as Q, z as A, B as Y, C as $, D as tt, c as et, A as it } from "./PlayerAccountController-DgE57QwT.js";
2
+ function E(i, t) {
3
3
  q(i, t);
4
4
  }
5
5
  function rt(i) {
6
6
  F.set(i);
7
7
  }
8
- const z = {
8
+ const I = {
9
9
  en: {
10
10
  titleTransactionHistory: "Transaction History",
11
11
  loading: "Loading, please wait ..."
@@ -48,27 +48,27 @@ const z = {
48
48
  }
49
49
  };
50
50
  function nt(i) {
51
- G(i, "svelte-1v10tii", ".TransactionHistoryWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);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
+ V(i, "svelte-1v10tii", ".TransactionHistoryWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);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 at(i) {
54
- let t, e, s, n, c, m, u, y, f, o, a = (
54
+ let t, e, s, n, c, f, u, y, m, o, a = (
55
55
  /*$_*/
56
56
  i[3]("titleTransactionHistory") + ""
57
57
  ), l, _, k;
58
58
  return {
59
59
  c() {
60
- t = w("div"), e = b("svg"), s = b("defs"), n = b("style"), c = x(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), m = b("g"), u = b("g"), y = b("path"), f = C(), o = w("h2"), l = x(a), d(y, "class", "aaa"), d(y, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(y, "transform", "translate(15 15) rotate(180)"), d(u, "transform", "translate(20 158)"), d(m, "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(o, "class", "TransactionHistoryTitleMobile"), d(t, "class", "MenuReturnButton");
60
+ t = v("div"), e = b("svg"), s = b("defs"), n = b("style"), c = x(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), f = b("g"), u = b("g"), y = b("path"), m = C(), o = v("h2"), l = x(a), d(y, "class", "aaa"), d(y, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(y, "transform", "translate(15 15) rotate(180)"), d(u, "transform", "translate(20 158)"), d(f, "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(o, "class", "TransactionHistoryTitleMobile"), d(t, "class", "MenuReturnButton");
61
61
  },
62
- m(p, v) {
63
- S(p, t, v), g(t, e), g(e, s), g(s, n), g(n, c), g(e, m), g(m, u), g(u, y), g(t, f), g(t, o), g(o, l), _ || (k = Y(
62
+ m(p, w) {
63
+ S(p, t, w), g(t, e), g(e, s), g(s, n), g(n, c), g(e, f), g(f, u), g(u, y), g(t, m), g(t, o), g(o, l), _ || (k = K(
64
64
  t,
65
65
  "click",
66
66
  /*click_handler*/
67
67
  i[14]
68
68
  ), _ = !0);
69
69
  },
70
- p(p, v) {
71
- v & /*$_*/
70
+ p(p, w) {
71
+ w & /*$_*/
72
72
  8 && a !== (a = /*$_*/
73
73
  p[3]("titleTransactionHistory") + "") && L(l, a);
74
74
  },
@@ -81,7 +81,7 @@ function st(i) {
81
81
  let t, e, s;
82
82
  return {
83
83
  c() {
84
- t = w("div"), e = w("iframe"), I(e.src, s = /*iframeUrl*/
84
+ t = v("div"), e = v("iframe"), A(e.src, s = /*iframeUrl*/
85
85
  i[2]) || d(e, "src", s), d(e, "title", "Transaction History Iframe"), d(t, "class", "TransactionHistoryIframeWrapper");
86
86
  },
87
87
  m(n, c) {
@@ -89,7 +89,7 @@ function st(i) {
89
89
  },
90
90
  p(n, c) {
91
91
  c & /*iframeUrl*/
92
- 4 && !I(e.src, s = /*iframeUrl*/
92
+ 4 && !A(e.src, s = /*iframeUrl*/
93
93
  n[2]) && d(e, "src", s);
94
94
  },
95
95
  d(n) {
@@ -104,7 +104,7 @@ function ot(i) {
104
104
  ), s;
105
105
  return {
106
106
  c() {
107
- t = w("p"), s = x(e);
107
+ t = v("p"), s = x(e);
108
108
  },
109
109
  m(n, c) {
110
110
  S(n, t, c), g(t, s);
@@ -123,7 +123,7 @@ function lt(i) {
123
123
  let t, e, s, n = (
124
124
  /*$_*/
125
125
  i[3]("titleTransactionHistory") + ""
126
- ), c, m, u = (
126
+ ), c, f, u = (
127
127
  /*isMobile*/
128
128
  i[4] && at(i)
129
129
  );
@@ -133,24 +133,24 @@ function lt(i) {
133
133
  a[1] ? ot : st
134
134
  );
135
135
  }
136
- let f = y(i), o = f(i);
136
+ let m = y(i), o = m(i);
137
137
  return {
138
138
  c() {
139
- t = w("div"), u && u.c(), e = C(), s = w("h2"), c = x(n), m = C(), o.c(), d(s, "class", "TransactionHistoryTitle " + /*isMobile*/
139
+ t = v("div"), u && u.c(), e = C(), s = v("h2"), c = x(n), f = C(), o.c(), d(s, "class", "TransactionHistoryTitle " + /*isMobile*/
140
140
  (i[4] ? "TransactionHistoryTitleNone" : "")), d(t, "class", "TransactionHistoryWrapper " + /*isMobile*/
141
141
  (i[4] ? "TransactionHistoryWrapperMobile" : ""));
142
142
  },
143
143
  m(a, l) {
144
- S(a, t, l), u && u.m(t, null), g(t, e), g(t, s), g(s, c), g(t, m), o.m(t, null), i[15](t);
144
+ S(a, t, l), u && u.m(t, null), g(t, e), g(t, s), g(s, c), g(t, f), o.m(t, null), i[15](t);
145
145
  },
146
146
  p(a, [l]) {
147
147
  /*isMobile*/
148
148
  a[4] && u.p(a, l), l & /*$_*/
149
149
  8 && n !== (n = /*$_*/
150
- a[3]("titleTransactionHistory") + "") && L(c, n), f === (f = y(a)) && o ? o.p(a, l) : (o.d(1), o = f(a), o && (o.c(), o.m(t, null)));
150
+ a[3]("titleTransactionHistory") + "") && L(c, n), m === (m = y(a)) && o ? o.p(a, l) : (o.d(1), o = m(a), o && (o.c(), o.m(t, null)));
151
151
  },
152
- i: E,
153
- o: E,
152
+ i: z,
153
+ o: z,
154
154
  d(a) {
155
155
  a && M(t), u && u.d(), o.d(), i[15](null);
156
156
  }
@@ -158,19 +158,19 @@ function lt(i) {
158
158
  }
159
159
  function ct(i, t, e) {
160
160
  let s;
161
- J(i, it, (r) => e(3, s = r));
162
- let { endpoint: n = "" } = t, { session: c = "" } = t, { playerid: m = "" } = t, { lang: u = "en" } = t, { clientstyling: y = "" } = t, { clientstylingurl: f = "" } = t, { mbsource: o } = t, { translationurl: a = "" } = t, l, _, k = window.navigator.userAgent, p = Q(k) !== "PC", v = !0, B = "";
163
- const A = () => {
161
+ X(i, it, (r) => e(3, s = r));
162
+ let { endpoint: n = "" } = t, { session: c = "" } = t, { playerid: f = "" } = t, { lang: u = "en" } = t, { clientstyling: y = "" } = t, { clientstylingurl: m = "" } = t, { mbsource: o } = t, { translationurl: a = "" } = t, l, _, k = window.navigator.userAgent, p = Z(k) !== "PC", w = !0, B = "";
163
+ const W = () => {
164
164
  fetch(a).then((h) => h.json()).then((h) => {
165
165
  Object.keys(h).forEach((T) => {
166
- W(T, h[T]);
166
+ E(T, h[T]);
167
167
  });
168
168
  }).catch((h) => {
169
169
  console.log(h);
170
170
  });
171
171
  };
172
- Object.keys(z).forEach((r) => {
173
- W(r, z[r]);
172
+ Object.keys(I).forEach((r) => {
173
+ E(r, I[r]);
174
174
  });
175
175
  const j = () => {
176
176
  window.postMessage(
@@ -180,8 +180,8 @@ function ct(i, t, e) {
180
180
  },
181
181
  window.location.href
182
182
  );
183
- }, U = () => {
184
- let r = new URL(`${n}/v1/player/${m}/hostedcashier/customertransactionhistoryurl`);
183
+ }, P = () => {
184
+ let r = new URL(`${n}/v1/player/${f}/hostedcashier/customertransactionhistoryurl`);
185
185
  r.searchParams.append("language", u);
186
186
  let h = {
187
187
  method: "GET",
@@ -192,49 +192,49 @@ function ct(i, t, e) {
192
192
  };
193
193
  fetch(r.href, h).then((T) => T.json()).then(
194
194
  (T) => {
195
- e(1, v = !1), e(2, B = T.CashierUrl);
195
+ e(1, w = !1), e(2, B = T.CashierUrl);
196
196
  },
197
197
  (T) => {
198
198
  console.error(T);
199
199
  }
200
200
  );
201
- }, P = () => {
201
+ }, R = () => {
202
202
  rt(u);
203
203
  };
204
- X(() => () => {
204
+ J(() => () => {
205
205
  });
206
- const R = () => j();
206
+ const U = () => j();
207
207
  function N(r) {
208
- Z[r ? "unshift" : "push"](() => {
208
+ Q[r ? "unshift" : "push"](() => {
209
209
  l = r, e(0, l);
210
210
  });
211
211
  }
212
212
  return i.$$set = (r) => {
213
- "endpoint" in r && e(6, n = r.endpoint), "session" in r && e(7, c = r.session), "playerid" in r && e(8, m = r.playerid), "lang" in r && e(9, u = r.lang), "clientstyling" in r && e(10, y = r.clientstyling), "clientstylingurl" in r && e(11, f = r.clientstylingurl), "mbsource" in r && e(12, o = r.mbsource), "translationurl" in r && e(13, a = r.translationurl);
213
+ "endpoint" in r && e(6, n = r.endpoint), "session" in r && e(7, c = r.session), "playerid" in r && e(8, f = r.playerid), "lang" in r && e(9, u = r.lang), "clientstyling" in r && e(10, y = r.clientstyling), "clientstylingurl" in r && e(11, m = r.clientstylingurl), "mbsource" in r && e(12, o = r.mbsource), "translationurl" in r && e(13, a = r.translationurl);
214
214
  }, i.$$.update = () => {
215
215
  i.$$.dirty & /*lang*/
216
- 512 && u && P(), i.$$.dirty & /*session, playerid, endpoint, lang*/
217
- 960 && c && m && n && u && U(), i.$$.dirty & /*clientstyling, customStylingContainer*/
218
- 1025 && y && l && K(l, y), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
219
- 2049 && f && l && $(l, f), i.$$.dirty & /*mbsource, customStylingContainer*/
216
+ 512 && u && R(), i.$$.dirty & /*session, playerid, endpoint, lang*/
217
+ 960 && c && f && n && u && P(), i.$$.dirty & /*clientstyling, customStylingContainer*/
218
+ 1025 && y && l && Y(l, y), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
219
+ 2049 && m && l && $(l, m), i.$$.dirty & /*mbsource, customStylingContainer*/
220
220
  4097 && o && l && tt(l, `${o}.Style`, _), i.$$.dirty & /*translationurl*/
221
- 8192 && a && A();
221
+ 8192 && a && W();
222
222
  }, [
223
223
  l,
224
- v,
224
+ w,
225
225
  B,
226
226
  s,
227
227
  p,
228
228
  j,
229
229
  n,
230
230
  c,
231
- m,
231
+ f,
232
232
  u,
233
233
  y,
234
- f,
234
+ m,
235
235
  o,
236
236
  a,
237
- R,
237
+ U,
238
238
  N
239
239
  ];
240
240
  }
@@ -245,7 +245,7 @@ class ut extends O {
245
245
  t,
246
246
  ct,
247
247
  lt,
248
- V,
248
+ G,
249
249
  {
250
250
  endpoint: 6,
251
251
  session: 7,
@@ -1,11 +1,11 @@
1
- import { c as q, b as F, S as O, B as D, Q as V, t as H, f as G, J as E, p as M, Y as L, D as S, e as g, q as w, a0 as C, a3 as x, g as d, k as J, w as Q, M as X, I as Y, a2 as b, h as Z, a1 as I, U as K, V as $, W as tt, m as et, a as it } from "./PlayerAccountController-CKZCKQpN.js";
2
- function W(i, t) {
1
+ import { a as q, $ as F, S as O, i as D, s as G, f as H, b as V, n as z, d as M, t as L, c as S, m as g, e as w, p as C, u as k, r as d, g as X, h as Z, o as J, w as K, x as b, j as Q, y as A, z as Y, A as $, B as tt, C as et, D as it } from "./PlayerAccountController-CO8cZYgr.js";
2
+ function E(i, t) {
3
3
  q(i, t);
4
4
  }
5
5
  function rt(i) {
6
6
  F.set(i);
7
7
  }
8
- const z = {
8
+ const I = {
9
9
  en: {
10
10
  titleTransactionHistory: "Transaction History",
11
11
  loading: "Loading, please wait ..."
@@ -48,19 +48,19 @@ const z = {
48
48
  }
49
49
  };
50
50
  function nt(i) {
51
- G(i, "svelte-1v10tii", ".TransactionHistoryWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);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
+ V(i, "svelte-1v10tii", ".TransactionHistoryWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);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 at(i) {
54
54
  let t, e, s, n, c, m, u, y, f, o, a = (
55
55
  /*$_*/
56
56
  i[3]("titleTransactionHistory") + ""
57
- ), l, _, k;
57
+ ), l, _, x;
58
58
  return {
59
59
  c() {
60
- t = w("div"), e = b("svg"), s = b("defs"), n = b("style"), c = x(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), m = b("g"), u = b("g"), y = b("path"), f = C(), o = w("h2"), l = x(a), d(y, "class", "aaa"), d(y, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(y, "transform", "translate(15 15) rotate(180)"), d(u, "transform", "translate(20 158)"), d(m, "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(o, "class", "TransactionHistoryTitleMobile"), d(t, "class", "MenuReturnButton");
60
+ t = w("div"), e = b("svg"), s = b("defs"), n = b("style"), c = k(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), m = b("g"), u = b("g"), y = b("path"), f = C(), o = w("h2"), l = k(a), d(y, "class", "aaa"), d(y, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(y, "transform", "translate(15 15) rotate(180)"), d(u, "transform", "translate(20 158)"), d(m, "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(o, "class", "TransactionHistoryTitleMobile"), d(t, "class", "MenuReturnButton");
61
61
  },
62
62
  m(p, v) {
63
- S(p, t, v), g(t, e), g(e, s), g(s, n), g(n, c), g(e, m), g(m, u), g(u, y), g(t, f), g(t, o), g(o, l), _ || (k = Y(
63
+ S(p, t, v), g(t, e), g(e, s), g(s, n), g(n, c), g(e, m), g(m, u), g(u, y), g(t, f), g(t, o), g(o, l), _ || (x = K(
64
64
  t,
65
65
  "click",
66
66
  /*click_handler*/
@@ -73,7 +73,7 @@ function at(i) {
73
73
  p[3]("titleTransactionHistory") + "") && L(l, a);
74
74
  },
75
75
  d(p) {
76
- p && M(t), _ = !1, k();
76
+ p && M(t), _ = !1, x();
77
77
  }
78
78
  };
79
79
  }
@@ -81,7 +81,7 @@ function st(i) {
81
81
  let t, e, s;
82
82
  return {
83
83
  c() {
84
- t = w("div"), e = w("iframe"), I(e.src, s = /*iframeUrl*/
84
+ t = w("div"), e = w("iframe"), A(e.src, s = /*iframeUrl*/
85
85
  i[2]) || d(e, "src", s), d(e, "title", "Transaction History Iframe"), d(t, "class", "TransactionHistoryIframeWrapper");
86
86
  },
87
87
  m(n, c) {
@@ -89,7 +89,7 @@ function st(i) {
89
89
  },
90
90
  p(n, c) {
91
91
  c & /*iframeUrl*/
92
- 4 && !I(e.src, s = /*iframeUrl*/
92
+ 4 && !A(e.src, s = /*iframeUrl*/
93
93
  n[2]) && d(e, "src", s);
94
94
  },
95
95
  d(n) {
@@ -104,7 +104,7 @@ function ot(i) {
104
104
  ), s;
105
105
  return {
106
106
  c() {
107
- t = w("p"), s = x(e);
107
+ t = w("p"), s = k(e);
108
108
  },
109
109
  m(n, c) {
110
110
  S(n, t, c), g(t, s);
@@ -136,7 +136,7 @@ function lt(i) {
136
136
  let f = y(i), o = f(i);
137
137
  return {
138
138
  c() {
139
- t = w("div"), u && u.c(), e = C(), s = w("h2"), c = x(n), m = C(), o.c(), d(s, "class", "TransactionHistoryTitle " + /*isMobile*/
139
+ t = w("div"), u && u.c(), e = C(), s = w("h2"), c = k(n), m = C(), o.c(), d(s, "class", "TransactionHistoryTitle " + /*isMobile*/
140
140
  (i[4] ? "TransactionHistoryTitleNone" : "")), d(t, "class", "TransactionHistoryWrapper " + /*isMobile*/
141
141
  (i[4] ? "TransactionHistoryWrapperMobile" : ""));
142
142
  },
@@ -149,8 +149,8 @@ function lt(i) {
149
149
  8 && n !== (n = /*$_*/
150
150
  a[3]("titleTransactionHistory") + "") && L(c, n), f === (f = y(a)) && o ? o.p(a, l) : (o.d(1), o = f(a), o && (o.c(), o.m(t, null)));
151
151
  },
152
- i: E,
153
- o: E,
152
+ i: z,
153
+ o: z,
154
154
  d(a) {
155
155
  a && M(t), u && u.d(), o.d(), i[15](null);
156
156
  }
@@ -158,19 +158,19 @@ function lt(i) {
158
158
  }
159
159
  function ct(i, t, e) {
160
160
  let s;
161
- J(i, it, (r) => e(3, s = r));
162
- let { endpoint: n = "" } = t, { session: c = "" } = t, { playerid: m = "" } = t, { lang: u = "en" } = t, { clientstyling: y = "" } = t, { clientstylingurl: f = "" } = t, { mbsource: o } = t, { translationurl: a = "" } = t, l, _, k = window.navigator.userAgent, p = Q(k) !== "PC", v = !0, B = "";
163
- const A = () => {
161
+ X(i, it, (r) => e(3, s = r));
162
+ let { endpoint: n = "" } = t, { session: c = "" } = t, { playerid: m = "" } = t, { lang: u = "en" } = t, { clientstyling: y = "" } = t, { clientstylingurl: f = "" } = t, { mbsource: o } = t, { translationurl: a = "" } = t, l, _, x = window.navigator.userAgent, p = Z(x) !== "PC", v = !0, B = "";
163
+ const W = () => {
164
164
  fetch(a).then((h) => h.json()).then((h) => {
165
165
  Object.keys(h).forEach((T) => {
166
- W(T, h[T]);
166
+ E(T, h[T]);
167
167
  });
168
168
  }).catch((h) => {
169
169
  console.log(h);
170
170
  });
171
171
  };
172
- Object.keys(z).forEach((r) => {
173
- W(r, z[r]);
172
+ Object.keys(I).forEach((r) => {
173
+ E(r, I[r]);
174
174
  });
175
175
  const j = () => {
176
176
  window.postMessage(
@@ -180,7 +180,7 @@ function ct(i, t, e) {
180
180
  },
181
181
  window.location.href
182
182
  );
183
- }, U = () => {
183
+ }, P = () => {
184
184
  let r = new URL(`${n}/v1/player/${m}/hostedcashier/customertransactionhistoryurl`);
185
185
  r.searchParams.append("language", u);
186
186
  let h = {
@@ -198,14 +198,14 @@ function ct(i, t, e) {
198
198
  console.error(T);
199
199
  }
200
200
  );
201
- }, P = () => {
201
+ }, R = () => {
202
202
  rt(u);
203
203
  };
204
- X(() => () => {
204
+ J(() => () => {
205
205
  });
206
- const R = () => j();
206
+ const U = () => j();
207
207
  function N(r) {
208
- Z[r ? "unshift" : "push"](() => {
208
+ Q[r ? "unshift" : "push"](() => {
209
209
  l = r, e(0, l);
210
210
  });
211
211
  }
@@ -213,12 +213,12 @@ function ct(i, t, e) {
213
213
  "endpoint" in r && e(6, n = r.endpoint), "session" in r && e(7, c = r.session), "playerid" in r && e(8, m = r.playerid), "lang" in r && e(9, u = r.lang), "clientstyling" in r && e(10, y = r.clientstyling), "clientstylingurl" in r && e(11, f = r.clientstylingurl), "mbsource" in r && e(12, o = r.mbsource), "translationurl" in r && e(13, a = r.translationurl);
214
214
  }, i.$$.update = () => {
215
215
  i.$$.dirty & /*lang*/
216
- 512 && u && P(), i.$$.dirty & /*session, playerid, endpoint, lang*/
217
- 960 && c && m && n && u && U(), i.$$.dirty & /*clientstyling, customStylingContainer*/
218
- 1025 && y && l && K(l, y), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
216
+ 512 && u && R(), i.$$.dirty & /*session, playerid, endpoint, lang*/
217
+ 960 && c && m && n && u && P(), i.$$.dirty & /*clientstyling, customStylingContainer*/
218
+ 1025 && y && l && Y(l, y), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
219
219
  2049 && f && l && $(l, f), i.$$.dirty & /*mbsource, customStylingContainer*/
220
220
  4097 && o && l && tt(l, `${o}.Style`, _), i.$$.dirty & /*translationurl*/
221
- 8192 && a && A();
221
+ 8192 && a && W();
222
222
  }, [
223
223
  l,
224
224
  v,
@@ -234,7 +234,7 @@ function ct(i, t, e) {
234
234
  f,
235
235
  o,
236
236
  a,
237
- R,
237
+ U,
238
238
  N
239
239
  ];
240
240
  }
@@ -245,7 +245,7 @@ class ut extends O {
245
245
  t,
246
246
  ct,
247
247
  lt,
248
- V,
248
+ G,
249
249
  {
250
250
  endpoint: 6,
251
251
  session: 7,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountController-KqshAWe2.cjs");function b(r,e){t.addMessages(r,e)}function B(r){t.$locale.set(r)}const x={en:{titleTransactionHistory:"Transaction History",loading:"Loading, please wait ..."},"zh-hk":{titleTransactionHistory:"交易記錄",loading:"加載請稍候…"},fr:{titleTransactionHistory:"Historique des transactions",loading:"Chargement, veuillez patienter ..."},ro:{titleTransactionHistory:"Istoric tranzacții",loading:"Se încarcă..."},es:{titleTransactionHistory:"Historial de transacciones",loading:"Cargando ... Por favor espere ..."},pt:{titleTransactionHistory:"Histórico de transações",loading:"Carregando, por favor espere ..."},hr:{titleTransactionHistory:"Povijest transakcija",loading:"Učitavanje"},"pt-br":{titleTransactionHistory:"Histórico de transações",Loading:"Carregando, por favor espere..."},"es-mx":{titleTransactionHistory:"Historial de transacciones",Loading:"Cargando, por favor espere..."},"en-us":{titleTransactionHistory:"Transaction History",loading:"Loading, please wait ..."}};function A(r){t.append_styles(r,"svelte-1v10tii",".TransactionHistoryWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);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}")}function E(r){let e,n,l,a,u,p,d,g,m,o,s=r[3]("titleTransactionHistory")+"",c,v,T;return{c(){e=t.element("div"),n=t.svg_element("svg"),l=t.svg_element("defs"),a=t.svg_element("style"),u=t.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),p=t.svg_element("g"),d=t.svg_element("g"),g=t.svg_element("path"),m=t.space(),o=t.element("h2"),c=t.text(s),t.attr(g,"class","aaa"),t.attr(g,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),t.attr(g,"transform","translate(15 15) rotate(180)"),t.attr(d,"transform","translate(20 158)"),t.attr(p,"transform","translate(-20 -158)"),t.attr(n,"xmlns","http://www.w3.org/2000/svg"),t.attr(n,"width","15"),t.attr(n,"height","15"),t.attr(n,"viewBox","0 0 15 15"),t.attr(o,"class","TransactionHistoryTitleMobile"),t.attr(e,"class","MenuReturnButton")},m(y,_){t.insert(y,e,_),t.append(e,n),t.append(n,l),t.append(l,a),t.append(a,u),t.append(n,p),t.append(p,d),t.append(d,g),t.append(e,m),t.append(e,o),t.append(o,c),v||(T=t.listen(e,"click",r[14]),v=!0)},p(y,_){_&8&&s!==(s=y[3]("titleTransactionHistory")+"")&&t.set_data(c,s)},d(y){y&&t.detach(e),v=!1,T()}}}function P(r){let e,n,l;return{c(){e=t.element("div"),n=t.element("iframe"),t.src_url_equal(n.src,l=r[2])||t.attr(n,"src",l),t.attr(n,"title","Transaction History Iframe"),t.attr(e,"class","TransactionHistoryIframeWrapper")},m(a,u){t.insert(a,e,u),t.append(e,n)},p(a,u){u&4&&!t.src_url_equal(n.src,l=a[2])&&t.attr(n,"src",l)},d(a){a&&t.detach(e)}}}function z(r){let e,n=r[3]("loading")+"",l;return{c(){e=t.element("p"),l=t.text(n)},m(a,u){t.insert(a,e,u),t.append(e,l)},p(a,u){u&8&&n!==(n=a[3]("loading")+"")&&t.set_data(l,n)},d(a){a&&t.detach(e)}}}function I(r){let e,n,l,a=r[3]("titleTransactionHistory")+"",u,p,d=r[4]&&E(r);function g(s,c){return s[1]?z:P}let m=g(r),o=m(r);return{c(){e=t.element("div"),d&&d.c(),n=t.space(),l=t.element("h2"),u=t.text(a),p=t.space(),o.c(),t.attr(l,"class","TransactionHistoryTitle "+(r[4]?"TransactionHistoryTitleNone":"")),t.attr(e,"class","TransactionHistoryWrapper "+(r[4]?"TransactionHistoryWrapperMobile":""))},m(s,c){t.insert(s,e,c),d&&d.m(e,null),t.append(e,n),t.append(e,l),t.append(l,u),t.append(e,p),o.m(e,null),r[15](e)},p(s,[c]){s[4]&&d.p(s,c),c&8&&a!==(a=s[3]("titleTransactionHistory")+"")&&t.set_data(u,a),m===(m=g(s))&&o?o.p(s,c):(o.d(1),o=m(s),o&&(o.c(),o.m(e,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(e),d&&d.d(),o.d(),r[15](null)}}}function W(r,e,n){let l;t.component_subscribe(r,t.$format,i=>n(3,l=i));let{endpoint:a=""}=e,{session:u=""}=e,{playerid:p=""}=e,{lang:d="en"}=e,{clientstyling:g=""}=e,{clientstylingurl:m=""}=e,{mbsource:o}=e,{translationurl:s=""}=e,c,v,T=window.navigator.userAgent,y=t.getDevice(T)!=="PC",_=!0,H="";const M=()=>{fetch(s).then(f=>f.json()).then(f=>{Object.keys(f).forEach(h=>{b(h,f[h])})}).catch(f=>{console.log(f)})};Object.keys(x).forEach(i=>{b(i,x[i])});const w=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:y},window.location.href)},S=()=>{let i=new URL(`${a}/v1/player/${p}/hostedcashier/customertransactionhistoryurl`);i.searchParams.append("language",d);let f={method:"GET",headers:{"X-SessionId":u,accept:"application/json"}};fetch(i.href,f).then(h=>h.json()).then(h=>{n(1,_=!1),n(2,H=h.CashierUrl)},h=>{console.error(h)})},C=()=>{B(d)};t.onMount(()=>()=>{});const L=()=>w();function j(i){t.binding_callbacks[i?"unshift":"push"](()=>{c=i,n(0,c)})}return r.$$set=i=>{"endpoint"in i&&n(6,a=i.endpoint),"session"in i&&n(7,u=i.session),"playerid"in i&&n(8,p=i.playerid),"lang"in i&&n(9,d=i.lang),"clientstyling"in i&&n(10,g=i.clientstyling),"clientstylingurl"in i&&n(11,m=i.clientstylingurl),"mbsource"in i&&n(12,o=i.mbsource),"translationurl"in i&&n(13,s=i.translationurl)},r.$$.update=()=>{r.$$.dirty&512&&d&&C(),r.$$.dirty&960&&u&&p&&a&&d&&S(),r.$$.dirty&1025&&g&&c&&t.setClientStyling(c,g),r.$$.dirty&2049&&m&&c&&t.setClientStylingURL(c,m),r.$$.dirty&4097&&o&&c&&t.setStreamStyling(c,`${o}.Style`,v),r.$$.dirty&8192&&s&&M()},[c,_,H,l,y,w,a,u,p,d,g,m,o,s,L,j]}class k extends t.SvelteComponent{constructor(e){super(),t.init(this,e,W,I,t.safe_not_equal,{endpoint:6,session:7,playerid:8,lang:9,clientstyling:10,clientstylingurl:11,mbsource:12,translationurl:13},A)}get endpoint(){return this.$$.ctx[6]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get session(){return this.$$.ctx[7]}set session(e){this.$$set({session:e}),t.flush()}get playerid(){return this.$$.ctx[8]}set playerid(e){this.$$set({playerid:e}),t.flush()}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(k,{endpoint:{},session:{},playerid:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=k;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountController-BBk-9TOg.cjs");function b(r,e){t.addMessages(r,e)}function B(r){t.$locale.set(r)}const x={en:{titleTransactionHistory:"Transaction History",loading:"Loading, please wait ..."},"zh-hk":{titleTransactionHistory:"交易記錄",loading:"加載請稍候…"},fr:{titleTransactionHistory:"Historique des transactions",loading:"Chargement, veuillez patienter ..."},ro:{titleTransactionHistory:"Istoric tranzacții",loading:"Se încarcă..."},es:{titleTransactionHistory:"Historial de transacciones",loading:"Cargando ... Por favor espere ..."},pt:{titleTransactionHistory:"Histórico de transações",loading:"Carregando, por favor espere ..."},hr:{titleTransactionHistory:"Povijest transakcija",loading:"Učitavanje"},"pt-br":{titleTransactionHistory:"Histórico de transações",Loading:"Carregando, por favor espere..."},"es-mx":{titleTransactionHistory:"Historial de transacciones",Loading:"Cargando, por favor espere..."},"en-us":{titleTransactionHistory:"Transaction History",loading:"Loading, please wait ..."}};function A(r){t.append_styles(r,"svelte-1v10tii",".TransactionHistoryWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);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}")}function E(r){let e,n,l,a,u,p,d,g,m,o,s=r[3]("titleTransactionHistory")+"",c,v,T;return{c(){e=t.element("div"),n=t.svg_element("svg"),l=t.svg_element("defs"),a=t.svg_element("style"),u=t.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),p=t.svg_element("g"),d=t.svg_element("g"),g=t.svg_element("path"),m=t.space(),o=t.element("h2"),c=t.text(s),t.attr(g,"class","aaa"),t.attr(g,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),t.attr(g,"transform","translate(15 15) rotate(180)"),t.attr(d,"transform","translate(20 158)"),t.attr(p,"transform","translate(-20 -158)"),t.attr(n,"xmlns","http://www.w3.org/2000/svg"),t.attr(n,"width","15"),t.attr(n,"height","15"),t.attr(n,"viewBox","0 0 15 15"),t.attr(o,"class","TransactionHistoryTitleMobile"),t.attr(e,"class","MenuReturnButton")},m(y,_){t.insert(y,e,_),t.append(e,n),t.append(n,l),t.append(l,a),t.append(a,u),t.append(n,p),t.append(p,d),t.append(d,g),t.append(e,m),t.append(e,o),t.append(o,c),v||(T=t.listen(e,"click",r[14]),v=!0)},p(y,_){_&8&&s!==(s=y[3]("titleTransactionHistory")+"")&&t.set_data(c,s)},d(y){y&&t.detach(e),v=!1,T()}}}function P(r){let e,n,l;return{c(){e=t.element("div"),n=t.element("iframe"),t.src_url_equal(n.src,l=r[2])||t.attr(n,"src",l),t.attr(n,"title","Transaction History Iframe"),t.attr(e,"class","TransactionHistoryIframeWrapper")},m(a,u){t.insert(a,e,u),t.append(e,n)},p(a,u){u&4&&!t.src_url_equal(n.src,l=a[2])&&t.attr(n,"src",l)},d(a){a&&t.detach(e)}}}function z(r){let e,n=r[3]("loading")+"",l;return{c(){e=t.element("p"),l=t.text(n)},m(a,u){t.insert(a,e,u),t.append(e,l)},p(a,u){u&8&&n!==(n=a[3]("loading")+"")&&t.set_data(l,n)},d(a){a&&t.detach(e)}}}function I(r){let e,n,l,a=r[3]("titleTransactionHistory")+"",u,p,d=r[4]&&E(r);function g(s,c){return s[1]?z:P}let m=g(r),o=m(r);return{c(){e=t.element("div"),d&&d.c(),n=t.space(),l=t.element("h2"),u=t.text(a),p=t.space(),o.c(),t.attr(l,"class","TransactionHistoryTitle "+(r[4]?"TransactionHistoryTitleNone":"")),t.attr(e,"class","TransactionHistoryWrapper "+(r[4]?"TransactionHistoryWrapperMobile":""))},m(s,c){t.insert(s,e,c),d&&d.m(e,null),t.append(e,n),t.append(e,l),t.append(l,u),t.append(e,p),o.m(e,null),r[15](e)},p(s,[c]){s[4]&&d.p(s,c),c&8&&a!==(a=s[3]("titleTransactionHistory")+"")&&t.set_data(u,a),m===(m=g(s))&&o?o.p(s,c):(o.d(1),o=m(s),o&&(o.c(),o.m(e,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(e),d&&d.d(),o.d(),r[15](null)}}}function W(r,e,n){let l;t.component_subscribe(r,t.$format,i=>n(3,l=i));let{endpoint:a=""}=e,{session:u=""}=e,{playerid:p=""}=e,{lang:d="en"}=e,{clientstyling:g=""}=e,{clientstylingurl:m=""}=e,{mbsource:o}=e,{translationurl:s=""}=e,c,v,T=window.navigator.userAgent,y=t.getDevice(T)!=="PC",_=!0,H="";const M=()=>{fetch(s).then(f=>f.json()).then(f=>{Object.keys(f).forEach(h=>{b(h,f[h])})}).catch(f=>{console.log(f)})};Object.keys(x).forEach(i=>{b(i,x[i])});const w=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:y},window.location.href)},S=()=>{let i=new URL(`${a}/v1/player/${p}/hostedcashier/customertransactionhistoryurl`);i.searchParams.append("language",d);let f={method:"GET",headers:{"X-SessionId":u,accept:"application/json"}};fetch(i.href,f).then(h=>h.json()).then(h=>{n(1,_=!1),n(2,H=h.CashierUrl)},h=>{console.error(h)})},C=()=>{B(d)};t.onMount(()=>()=>{});const L=()=>w();function j(i){t.binding_callbacks[i?"unshift":"push"](()=>{c=i,n(0,c)})}return r.$$set=i=>{"endpoint"in i&&n(6,a=i.endpoint),"session"in i&&n(7,u=i.session),"playerid"in i&&n(8,p=i.playerid),"lang"in i&&n(9,d=i.lang),"clientstyling"in i&&n(10,g=i.clientstyling),"clientstylingurl"in i&&n(11,m=i.clientstylingurl),"mbsource"in i&&n(12,o=i.mbsource),"translationurl"in i&&n(13,s=i.translationurl)},r.$$.update=()=>{r.$$.dirty&512&&d&&C(),r.$$.dirty&960&&u&&p&&a&&d&&S(),r.$$.dirty&1025&&g&&c&&t.setClientStyling(c,g),r.$$.dirty&2049&&m&&c&&t.setClientStylingURL(c,m),r.$$.dirty&4097&&o&&c&&t.setStreamStyling(c,`${o}.Style`,v),r.$$.dirty&8192&&s&&M()},[c,_,H,l,y,w,a,u,p,d,g,m,o,s,L,j]}class k extends t.SvelteComponent{constructor(e){super(),t.init(this,e,W,I,t.safe_not_equal,{endpoint:6,session:7,playerid:8,lang:9,clientstyling:10,clientstylingurl:11,mbsource:12,translationurl:13},A)}get endpoint(){return this.$$.ctx[6]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get session(){return this.$$.ctx[7]}set session(e){this.$$set({session:e}),t.flush()}get playerid(){return this.$$.ctx[8]}set playerid(e){this.$$set({playerid:e}),t.flush()}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(k,{endpoint:{},session:{},playerid:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=k;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-KqshAWe2.cjs");function x(l,t){e.addMessages(l,t)}function D(l){e.$locale.set(l)}const C={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 I(l){e.append_styles(l,"svelte-19p9ovb","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, 10px);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, 10px)}")}function U(l){let t,a,s,n,c,h,d,m,f,o,i=l[3]("titlePlayerWithdrawal")+"",u,p,g;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"),f=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,f),e.append(t,o),e.append(o,u),p||(g=e.listen(t,"click",l[16]),p=!0)},p(b,_){_&8&&i!==(i=b[3]("titlePlayerWithdrawal")+"")&&e.set_data(u,i)},d(b){b&&e.detach(t),p=!1,g()}}}function j(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 z(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 N(l){let t,a,s,n=l[3]("titlePlayerWithdrawal")+"",c,h,d=l[4]&&U(l);function m(i,u){return i[1]?z:j}let f=m(l),o=f(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),f===(f=m(i))&&o?o.p(i,u):(o.d(1),o=f(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 O(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:f=""}=t,{clientstylingurl:o=""}=t,{mbsource:i}=t,{translationurl:u=""}=t,{currency:p=""}=t,g,b,_=window.navigator.userAgent,W=e.getDevice(_)!=="PC",k=!0,v=0,M="";const R=()=>{fetch(u).then(w=>w.json()).then(w=>{Object.keys(w).forEach(y=>{x(y,w[y])})}).catch(w=>{console.log(w)})};Object.keys(C).forEach(r=>{x(r,C[r])});const P=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:W},window.location.href)},S=r=>{if(r.data){switch(r.data.type){case"ProfileDetailsData":a(6,p=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}}},L=()=>{let r=new URL(`${n}/v1/player/${h}/hostedcashier/initializewithdraw`);if(r.searchParams.append("language",d),m)switch(p){case"USD":v=.4;break;case"CDF":v=1e3;break}let w={method:"POST",headers:{"X-SessionId":c,currency:p||"EUR",amount:v,cashierMode:"Default",IsShortCashier:!1,accept:"application/json"}};fetch(r.href,w).then(y=>y.json()).then(y=>{a(1,k=!1),a(2,M=y.CashierUrl)},y=>{console.error(y)})},B=()=>{D(d)};e.onMount(()=>(window.addEventListener("message",S,!1),()=>{window.removeEventListener("message",S)}));const E=()=>P();function A(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,a(0,g)})}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,f=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),"currency"in r&&a(6,p=r.currency)},l.$$.update=()=>{l.$$.dirty&1024&&d&&B(),l.$$.dirty&4097&&f&&g&&e.setClientStyling(g,f),l.$$.dirty&8193&&o&&g&&e.setClientStylingURL(g,o),l.$$.dirty&16385&&i&&g&&e.setStreamStyling(g,`${i}.Style`,b),l.$$.dirty&32768&&u&&R(),l.$$.dirty&1984&&c&&h&&n&&p&&d&&L()},[g,k,M,s,W,P,p,n,c,h,d,m,f,o,i,u,E,A]}class T extends e.SvelteComponent{constructor(t){super(),e.init(this,t,O,N,e.safe_not_equal,{endpoint:7,session:8,playerid:9,lang:10,hasdefaultamount:11,clientstyling:12,clientstylingurl:13,mbsource:14,translationurl:15,currency:6},I)}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 currency(){return this.$$.ctx[6]}set currency(t){this.$$set({currency:t}),e.flush()}}e.create_custom_element(T,{endpoint:{},session:{},playerid:{},lang:{},hasdefaultamount:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},currency:{}},[],[],!0);exports.default=T;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-BBk-9TOg.cjs");function x(l,t){e.addMessages(l,t)}function D(l){e.$locale.set(l)}const C={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 I(l){e.append_styles(l,"svelte-19p9ovb","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, 10px);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, 10px)}")}function U(l){let t,a,s,n,c,h,d,m,f,o,i=l[3]("titlePlayerWithdrawal")+"",u,p,g;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"),f=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,f),e.append(t,o),e.append(o,u),p||(g=e.listen(t,"click",l[16]),p=!0)},p(b,_){_&8&&i!==(i=b[3]("titlePlayerWithdrawal")+"")&&e.set_data(u,i)},d(b){b&&e.detach(t),p=!1,g()}}}function j(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 z(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 N(l){let t,a,s,n=l[3]("titlePlayerWithdrawal")+"",c,h,d=l[4]&&U(l);function m(i,u){return i[1]?z:j}let f=m(l),o=f(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),f===(f=m(i))&&o?o.p(i,u):(o.d(1),o=f(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 O(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:f=""}=t,{clientstylingurl:o=""}=t,{mbsource:i}=t,{translationurl:u=""}=t,{currency:p=""}=t,g,b,_=window.navigator.userAgent,W=e.getDevice(_)!=="PC",k=!0,v=0,M="";const R=()=>{fetch(u).then(w=>w.json()).then(w=>{Object.keys(w).forEach(y=>{x(y,w[y])})}).catch(w=>{console.log(w)})};Object.keys(C).forEach(r=>{x(r,C[r])});const P=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:W},window.location.href)},S=r=>{if(r.data){switch(r.data.type){case"ProfileDetailsData":a(6,p=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}}},L=()=>{let r=new URL(`${n}/v1/player/${h}/hostedcashier/initializewithdraw`);if(r.searchParams.append("language",d),m)switch(p){case"USD":v=.4;break;case"CDF":v=1e3;break}let w={method:"POST",headers:{"X-SessionId":c,currency:p||"EUR",amount:v,cashierMode:"Default",IsShortCashier:!1,accept:"application/json"}};fetch(r.href,w).then(y=>y.json()).then(y=>{a(1,k=!1),a(2,M=y.CashierUrl)},y=>{console.error(y)})},B=()=>{D(d)};e.onMount(()=>(window.addEventListener("message",S,!1),()=>{window.removeEventListener("message",S)}));const E=()=>P();function A(r){e.binding_callbacks[r?"unshift":"push"](()=>{g=r,a(0,g)})}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,f=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),"currency"in r&&a(6,p=r.currency)},l.$$.update=()=>{l.$$.dirty&1024&&d&&B(),l.$$.dirty&4097&&f&&g&&e.setClientStyling(g,f),l.$$.dirty&8193&&o&&g&&e.setClientStylingURL(g,o),l.$$.dirty&16385&&i&&g&&e.setStreamStyling(g,`${i}.Style`,b),l.$$.dirty&32768&&u&&R(),l.$$.dirty&1984&&c&&h&&n&&p&&d&&L()},[g,k,M,s,W,P,p,n,c,h,d,m,f,o,i,u,E,A]}class T extends e.SvelteComponent{constructor(t){super(),e.init(this,t,O,N,e.safe_not_equal,{endpoint:7,session:8,playerid:9,lang:10,hasdefaultamount:11,clientstyling:12,clientstylingurl:13,mbsource:14,translationurl:15,currency:6},I)}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 currency(){return this.$$.ctx[6]}set currency(t){this.$$set({currency:t}),e.flush()}}e.create_custom_element(T,{endpoint:{},session:{},playerid:{},lang:{},hasdefaultamount:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},currency:{}},[],[],!0);exports.default=T;