@everymatrix/player-account-controller 1.87.26 → 1.87.27

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 (198) hide show
  1. package/components/GeneralLogout-B5j_vW4P.js +300 -0
  2. package/components/GeneralLogout-CjFz6GhW.cjs +1 -0
  3. package/components/GeneralLogout-fKTKcCGJ.js +300 -0
  4. package/components/PlayerAccountBettingHistory-CIzi9adW.js +311 -0
  5. package/components/PlayerAccountBettingHistory-CPnTOt06.cjs +1 -0
  6. package/components/PlayerAccountBettingHistory-QM3zfoYn.js +310 -0
  7. package/components/{PlayerAccountBiometrics-Cu1scn1a.js → PlayerAccountBiometrics-CsgBvnb7.js} +94 -94
  8. package/components/{PlayerAccountBiometrics-kmv4HqQ_.js → PlayerAccountBiometrics-DG4UZ7gJ.js} +94 -94
  9. package/components/PlayerAccountBiometrics-DemarL8b.cjs +1 -0
  10. package/components/PlayerAccountBiometricsAction-BsW0OHhf.cjs +1 -0
  11. package/components/{PlayerAccountBiometricsAction-BcR2gS30.js → PlayerAccountBiometricsAction-D0v5Q9lm.js} +48 -48
  12. package/components/{PlayerAccountBiometricsAction-BJrkhDoI.js → PlayerAccountBiometricsAction-SyauJZ2U.js} +53 -53
  13. package/components/{PlayerAccountClosure-B7lWhxS5.js → PlayerAccountClosure-B-dMr1Jn.js} +90 -90
  14. package/components/PlayerAccountClosure-BWvJR3TO.cjs +1 -0
  15. package/components/{PlayerAccountClosure-DWX0cAW_.js → PlayerAccountClosure-CVfc0dYJ.js} +92 -92
  16. package/components/PlayerAccountController-BAQQQd6f.js +13466 -0
  17. package/components/PlayerAccountController-BLw_7Wxf.js +13423 -0
  18. package/components/PlayerAccountController-En_hyyNC.cjs +21 -0
  19. package/components/{PlayerAccountGamingLimits-DuDCpH1C.js → PlayerAccountGamingLimits-Cow9pdbW.js} +101 -101
  20. package/components/{PlayerAccountGamingLimits-DNqahHsA.js → PlayerAccountGamingLimits-CyI_jaC4.js} +97 -97
  21. package/components/PlayerAccountGamingLimits-OyM5Opvb.cjs +1 -0
  22. package/components/{PlayerAccountGamingLimitsConfirmationModal-De_w7-UU.js → PlayerAccountGamingLimitsConfirmationModal-BaHYtGpR.js} +88 -88
  23. package/components/PlayerAccountGamingLimitsConfirmationModal-BrOtl3Gh.cjs +1 -0
  24. package/components/{PlayerAccountGamingLimitsConfirmationModal-DfJgQjRr.js → PlayerAccountGamingLimitsConfirmationModal-Dyp4qeUR.js} +77 -77
  25. package/components/PlayerAccountGamingLimitsGroupEdit-B-jxQbpZ.js +1555 -0
  26. package/components/PlayerAccountGamingLimitsGroupEdit-CtjRT5jg.js +1555 -0
  27. package/components/PlayerAccountGamingLimitsGroupEdit-Dq7oKBvT.cjs +1 -0
  28. package/components/{PlayerAccountGamingLimitsHistory2-D1N2rg25.js → PlayerAccountGamingLimitsHistory2-B39ZuccZ.js} +111 -111
  29. package/components/{PlayerAccountGamingLimitsHistory2-BN0w14Hg.js → PlayerAccountGamingLimitsHistory2-Bjh88L-r.js} +100 -100
  30. package/components/PlayerAccountGamingLimitsHistory2-D2Pv9fHy.cjs +1 -0
  31. package/components/PlayerAccountGamingLimitsInfoCard-C2iKiolC.cjs +1 -0
  32. package/components/{PlayerAccountGamingLimitsInfoCard-D_ro79gB.js → PlayerAccountGamingLimitsInfoCard-DX-5uUnY.js} +415 -399
  33. package/components/{PlayerAccountGamingLimitsInfoCard-B6oHRJP6.js → PlayerAccountGamingLimitsInfoCard-D_Hn3lLp.js} +415 -399
  34. package/components/{PlayerAccountGamingLimitsPage2Gm16-EA4I02NQ.js → PlayerAccountGamingLimitsPage2Gm16-BXIgZHBA.js} +702 -702
  35. package/components/{PlayerAccountGamingLimitsPage2Gm16-o_0DfyBW.js → PlayerAccountGamingLimitsPage2Gm16-Crtu_pde.js} +699 -699
  36. package/components/{PlayerAccountGamingLimitsPage2Gm16-CMxzI07w.cjs → PlayerAccountGamingLimitsPage2Gm16-De419B1o.cjs} +6 -6
  37. package/components/{PlayerAccountGamingLimitsPopup-DhlQaawG.js → PlayerAccountGamingLimitsPopup-BLbMRSf_.js} +38 -38
  38. package/components/{PlayerAccountGamingLimitsPopup-9casCGHJ.js → PlayerAccountGamingLimitsPopup-Be_S9ZcF.js} +34 -34
  39. package/components/PlayerAccountGamingLimitsPopup-CNvTB9c2.cjs +1 -0
  40. package/components/PlayerAccountGamingLimitsWrapper2-D1UYcvKH.cjs +4 -0
  41. package/components/{PlayerAccountGamingLimitsWrapper2-B_pUqlM0.js → PlayerAccountGamingLimitsWrapper2-De2EL3tm.js} +75 -75
  42. package/components/{PlayerAccountGamingLimitsWrapper2-DG5pRuF1.js → PlayerAccountGamingLimitsWrapper2-Dzf9XPuV.js} +81 -81
  43. package/components/{PlayerAccountGeneralConfirmationModal-BIStQzTL.js → PlayerAccountGeneralConfirmationModal-C-pUW7UE.js} +103 -103
  44. package/components/{PlayerAccountGeneralConfirmationModal-DAUZlQfJ.js → PlayerAccountGeneralConfirmationModal-D0gnNBxN.js} +106 -106
  45. package/components/PlayerAccountGeneralConfirmationModal-sBWJGJ3j.cjs +1 -0
  46. package/components/PlayerAccountMenu-5RiJxzF8.cjs +1 -0
  47. package/components/{PlayerAccountMenu-OqVmttiI.js → PlayerAccountMenu-88qusOe1.js} +129 -129
  48. package/components/{PlayerAccountMenu-khqZEoBc.js → PlayerAccountMenu-DNy_Hk32.js} +129 -129
  49. package/components/{PlayerAccountModal-NUSkSmow.js → PlayerAccountModal-B6JKobGH.js} +58 -58
  50. package/components/PlayerAccountModal-BdVMgMM0.cjs +1 -0
  51. package/components/{PlayerAccountModal-BXez3U77.js → PlayerAccountModal-DacnysL5.js} +54 -54
  52. package/components/PlayerAccountNotifications-B8QW73lK.cjs +1 -0
  53. package/components/{PlayerAccountNotifications-XjCLekPR.js → PlayerAccountNotifications-C30B-b67.js} +126 -126
  54. package/components/{PlayerAccountNotifications-0v1ghF-m.js → PlayerAccountNotifications-Ca-yj1FW.js} +87 -87
  55. package/components/PlayerAccountProductRestriction-DMMlQ5x4.js +1493 -0
  56. package/components/PlayerAccountProductRestriction-DQaf3YS6.js +1458 -0
  57. package/components/PlayerAccountProductRestriction-TK3PdIUq.cjs +4 -0
  58. package/components/{PlayerAccountReviewFrequency-yLwAfHZd.js → PlayerAccountReviewFrequency-BX3lMYXn.js} +235 -235
  59. package/components/PlayerAccountReviewFrequency-DVU5nmS6.cjs +4 -0
  60. package/components/{PlayerAccountReviewFrequency-ByPlOg40.js → PlayerAccountReviewFrequency-nChzMifu.js} +245 -245
  61. package/components/PlayerAccountSelfExclusion-Bcr8vJib.js +1523 -0
  62. package/components/PlayerAccountSelfExclusion-CsZr8Rp-.js +1551 -0
  63. package/components/PlayerAccountSelfExclusion-D1g-5SMn.cjs +1 -0
  64. package/components/{PlayerAccountSelfExclusion-CP3lzn6g.cjs → PlayerAccountTimeout-DUK2ndeT.cjs} +161 -161
  65. package/components/{PlayerAccountSelfExclusion-0IraJUCF.js → PlayerAccountTimeout-Dm6G5s24.js} +2363 -2581
  66. package/components/{PlayerAccountSelfExclusion-B9QFixvG.js → PlayerAccountTimeout-Hzpth7m_.js} +2327 -2545
  67. package/components/{PlayerAccountTransactionsHistory-CAFUIFUl.js → PlayerAccountTransactionsHistory-DbcrevKR.js} +304 -303
  68. package/components/{PlayerAccountTransactionsHistory-C4dSIP6l.js → PlayerAccountTransactionsHistory-TpzDg4nW.js} +293 -292
  69. package/components/PlayerAccountTransactionsHistory-aY0Baw7m.cjs +4 -0
  70. package/components/PlayerActiveBonuses-8Opx6dzV.cjs +4 -0
  71. package/components/{PlayerActiveBonuses-BQSKxH9G.js → PlayerActiveBonuses-BDw7e79b.js} +222 -221
  72. package/components/{PlayerActiveBonuses-DSpez0EN.js → PlayerActiveBonuses-HVGiWNOd.js} +192 -193
  73. package/components/PlayerBonusCard-DC_pKqNw.cjs +1 -0
  74. package/components/{PlayerBonusCard-D4jw0D02.js → PlayerBonusCard-thh4vUMx.js} +53 -53
  75. package/components/{PlayerBonusCard--2t2lX4X.js → PlayerBonusCard-zjN36qJb.js} +53 -53
  76. package/components/PlayerBonusHistory-BcN0Ya_g.js +20037 -0
  77. package/components/{PlayerAccountProductRestriction-Drc1Iu2o.cjs → PlayerBonusHistory-Dkrv14z8.cjs} +295 -294
  78. package/components/PlayerBonusHistory-vs9jxJhQ.js +20048 -0
  79. package/components/PlayerChangePassword-BuJNikhz.cjs +3 -0
  80. package/components/{PlayerChangePassword-CK9EmNEl.js → PlayerChangePassword-C6mFUw5u.js} +257 -257
  81. package/components/{PlayerChangePassword-DDqLNG5r.js → PlayerChangePassword-C8qYkJCx.js} +257 -257
  82. package/components/{PlayerDeposit-B0xGf2EY.js → PlayerDeposit-BJrNyzPW.js} +51 -51
  83. package/components/{PlayerDeposit-BiOuprGV.js → PlayerDeposit-DadV3-2W.js} +53 -53
  84. package/components/PlayerDeposit-DemYa-nv.cjs +1 -0
  85. package/components/{PlayerGamingHistory-CJn-wybc.js → PlayerGamingHistory-BMEQFFwn.js} +404 -405
  86. package/components/PlayerGamingHistory-D2s0Otth.cjs +1 -0
  87. package/components/{PlayerGamingHistory-CDPSEyVI.js → PlayerGamingHistory-D3WjUHop.js} +372 -373
  88. package/components/{PlayerPendingWithdrawals-DKIV0VFt.js → PlayerPendingWithdrawals-B7PgOP7F.js} +54 -54
  89. package/components/PlayerPendingWithdrawals-CY3g0w83.cjs +1 -0
  90. package/components/{PlayerPendingWithdrawals-Cw2CONsa.js → PlayerPendingWithdrawals-CiS2VIJm.js} +54 -54
  91. package/components/PlayerProfileInfo-B6L0INWX.cjs +4 -0
  92. package/components/{PlayerProfileInfo-B2PmsKAI.js → PlayerProfileInfo-COpic9Sl.js} +781 -781
  93. package/components/{PlayerProfileInfo-YrTsyEfP.js → PlayerProfileInfo-DGwH1Xbb.js} +645 -645
  94. package/components/{PlayerRealityCheck-BdFZDJFk.js → PlayerRealityCheck-CRqlzifK.js} +217 -217
  95. package/components/PlayerRealityCheck-CXPnhtbt.cjs +1 -0
  96. package/components/{PlayerRealityCheck-CEToSHcC.js → PlayerRealityCheck-DPhiL4g2.js} +202 -202
  97. package/components/{PlayerTransactionHistory-C8uedDZz.js → PlayerTransactionHistory-CJVcCHMB.js} +68 -68
  98. package/components/{PlayerTransactionHistory-BWwWT8z7.js → PlayerTransactionHistory-CblCTe3C.js} +64 -64
  99. package/components/PlayerTransactionHistory-k-3KbRna.cjs +1 -0
  100. package/components/{PlayerWithdrawal-BXYWP9OV.js → PlayerWithdrawal-DDhF1YFQ.js} +65 -65
  101. package/components/{PlayerWithdrawal-DuhBS0tB.js → PlayerWithdrawal-gngFCPKe.js} +65 -65
  102. package/components/PlayerWithdrawal-pcXdzQpS.cjs +1 -0
  103. package/es2015/player-account-controller.cjs +1 -1
  104. package/es2015/player-account-controller.js +7 -7
  105. package/esnext/player-account-controller.js +1 -1
  106. package/package.json +1 -1
  107. package/stencil/app-globals-0f993ce5-BjWsvLzr.cjs +1 -0
  108. package/stencil/{app-globals-0f993ce5-DzSE6TtH.js → app-globals-0f993ce5-XUXOuUQl.js} +4 -4
  109. package/stencil/{checkbox-group-input_16-CFtp0f8h.js → checkbox-group-input_16-Bn7_E98r.js} +2 -2
  110. package/stencil/{checkbox-group-input_16-DuSVlPzJ.cjs → checkbox-group-input_16-C6_jN3p0.cjs} +1 -1
  111. package/stencil/{checkbox-group-input_16-ywIYg4ns.js → checkbox-group-input_16-D9ML4j06.js} +2 -2
  112. package/stencil/{index-1ef3a64c-CEngIsyB.js → index-1ef3a64c-BvSXLnmQ.js} +1 -1
  113. package/stencil/{index-1ef3a64c-BzR_jMKw.cjs → index-1ef3a64c-DK-TGomt.cjs} +1 -1
  114. package/stencil/{index-1ef3a64c-D5p-wZAC.js → index-1ef3a64c-Dwdxxwjy.js} +1 -1
  115. package/stencil/{index-6e523641-D2onrjgE.cjs → index-6e523641-DOnePbtQ.cjs} +1 -1
  116. package/stencil/{index-6e523641-B9tbNrXZ.js → index-6e523641-DpGJosc3.js} +1 -1
  117. package/stencil/{index-6e523641-DH0Ezdpy.js → index-6e523641-pWMNWAtQ.js} +1 -1
  118. package/stencil/{index-9c0f6c58-DjED2nNw.js → index-9c0f6c58-BN39eMNX.js} +1 -1
  119. package/stencil/{index-9c0f6c58-XIZolvs1.cjs → index-9c0f6c58-DK260bKj.cjs} +1 -1
  120. package/stencil/{index-9c0f6c58-DEQL19Io.js → index-9c0f6c58-_RRbHDNl.js} +1 -1
  121. package/stencil/{index-b2193545-0zWC7J3V.js → index-b2193545-CubpYFkO.js} +1 -1
  122. package/stencil/{index-b2193545-BDUg7na_.js → index-b2193545-D3SG_Z28.js} +1 -1
  123. package/stencil/{index-b2193545-C-iFa_cO.cjs → index-b2193545-DM_LjYJq.cjs} +1 -1
  124. package/stencil/{index-c666b6e6-GVnzND9A.cjs → index-c666b6e6-2zPWxCxt.cjs} +1 -1
  125. package/stencil/{index-c666b6e6-C3HFUtzN.js → index-c666b6e6-C0YjtgbT.js} +1 -1
  126. package/stencil/{index-c666b6e6-C5SvvcXp.js → index-c666b6e6-DO3NG0d_.js} +1 -1
  127. package/stencil/{pam-change-password-6b535bd5-BM0i-nkQ.js → pam-change-password-25b46f90--RvqyvAS.js} +122 -93
  128. package/stencil/{pam-change-password-6b535bd5-CwazAyPT.cjs → pam-change-password-25b46f90-CILEgZdb.cjs} +2 -2
  129. package/stencil/{pam-change-password-6b535bd5-BMlVfXop.js → pam-change-password-25b46f90-DBsCYhoF.js} +121 -93
  130. package/stencil/pam-change-password-BaP9RQnm.cjs +1 -0
  131. package/stencil/{pam-change-password-vIDF9oZ0.js → pam-change-password-CfJwcRNG.js} +2 -2
  132. package/stencil/{pam-change-password-YY_WAq3p.js → pam-change-password-a_MEmefG.js} +2 -2
  133. package/stencil/{player-kyc-verification-Cg0fVyvL.cjs → player-kyc-verification-CR-8JjQM.cjs} +2 -2
  134. package/stencil/{player-kyc-verification-vQ6gNPBe.js → player-kyc-verification-DQBYB3LU.js} +90 -62
  135. package/stencil/{player-kyc-verification-BUKoBt3P.js → player-kyc-verification-TCKpEp1x.js} +120 -93
  136. package/stencil/{ui-skeleton-CTFP1U_H.js → ui-skeleton-BKpwkQ2A.js} +3 -3
  137. package/stencil/{ui-skeleton-C2ZVNvDq.cjs → ui-skeleton-CS05SPLQ.cjs} +1 -1
  138. package/stencil/{ui-skeleton-BQnxp85t.js → ui-skeleton-DNuG5l9W.js} +3 -3
  139. package/stencil/{ui-skeleton-ed169f8f-BXqYzfTU.js → ui-skeleton-ed169f8f-BI8lGn4f.js} +1 -1
  140. package/stencil/{ui-skeleton-ed169f8f-DCJKKb_M.cjs → ui-skeleton-ed169f8f-CKUfafNC.cjs} +1 -1
  141. package/stencil/{ui-skeleton-ed169f8f-OyzwWyyv.js → ui-skeleton-ed169f8f-CLfa7nfh.js} +1 -1
  142. package/stencil/{user-deposit-withdrawal-C5lc1C0l.js → user-deposit-withdrawal-BXuiRURM.js} +366 -338
  143. package/stencil/{user-deposit-withdrawal-DmXcotOq.js → user-deposit-withdrawal-CL7rhukA.js} +321 -294
  144. package/stencil/user-deposit-withdrawal-gb0EFmeV.cjs +72 -0
  145. package/stencil/{user-transaction-history-BdbQJzhb.js → user-transaction-history-DCZDdxLh.js} +2 -2
  146. package/stencil/{user-transaction-history-CcfxBfFN.js → user-transaction-history-E1bvLWYx.js} +2 -2
  147. package/stencil/{user-transaction-history-CucZiFYD.cjs → user-transaction-history-_0g5E0XE.cjs} +1 -1
  148. package/stencil/{user-transaction-history_2-B2XvgToy.cjs → user-transaction-history_2-BsrwI7Ib.cjs} +275 -275
  149. package/stencil/{user-transaction-history_2-Ds0pNCu8.js → user-transaction-history_2-C5uqpRMQ.js} +1701 -1651
  150. package/stencil/{user-transaction-history_2-B9fxyLUj.js → user-transaction-history_2-DXX9cR5-.js} +916 -911
  151. package/components/GeneralLogout-0J1RtGyR.js +0 -5018
  152. package/components/GeneralLogout-CmR1r8PX.cjs +0 -21
  153. package/components/GeneralLogout-CwcvAxfM.js +0 -4981
  154. package/components/PlayerAccountBettingHistory-Bf-VPJhk.cjs +0 -1
  155. package/components/PlayerAccountBettingHistory-CiMelnLz.js +0 -311
  156. package/components/PlayerAccountBettingHistory-Cr9hPDou.js +0 -310
  157. package/components/PlayerAccountBiometrics-j15j-n3y.cjs +0 -1
  158. package/components/PlayerAccountBiometricsAction-z16q0M2J.cjs +0 -1
  159. package/components/PlayerAccountClosure-CxxMCXDa.cjs +0 -1
  160. package/components/PlayerAccountController-0zwzJJ4s.js +0 -8738
  161. package/components/PlayerAccountController-Cg3bzQs5.js +0 -8721
  162. package/components/PlayerAccountController-J-78lsk8.cjs +0 -1
  163. package/components/PlayerAccountGamingLimits-DdwsiJT8.cjs +0 -1
  164. package/components/PlayerAccountGamingLimitsConfirmationModal-BiEiNlIc.cjs +0 -1
  165. package/components/PlayerAccountGamingLimitsGroupEdit-2iDWNhRl.js +0 -4781
  166. package/components/PlayerAccountGamingLimitsGroupEdit-CsTpmmhw.js +0 -4781
  167. package/components/PlayerAccountGamingLimitsGroupEdit-gLF0R4uM.cjs +0 -2
  168. package/components/PlayerAccountGamingLimitsHistory2-D3h2vvVL.cjs +0 -1
  169. package/components/PlayerAccountGamingLimitsInfoCard-CUhqA1Ww.cjs +0 -1
  170. package/components/PlayerAccountGamingLimitsPopup-DJbPWFdb.cjs +0 -1
  171. package/components/PlayerAccountGamingLimitsWrapper2-1lOfUhUT.cjs +0 -4
  172. package/components/PlayerAccountGeneralConfirmationModal-BCMD8hM8.cjs +0 -1
  173. package/components/PlayerAccountMenu-DXhrPxvF.cjs +0 -1
  174. package/components/PlayerAccountModal-BpTtaUfX.cjs +0 -1
  175. package/components/PlayerAccountNotifications-CMZltoyc.cjs +0 -1
  176. package/components/PlayerAccountProductRestriction-Dl552qim.js +0 -17524
  177. package/components/PlayerAccountProductRestriction-THYKSRMa.js +0 -17559
  178. package/components/PlayerAccountReviewFrequency-BeI7-JB-.cjs +0 -4
  179. package/components/PlayerAccountTimeout-BRlyos9t.cjs +0 -1
  180. package/components/PlayerAccountTimeout-BVyjYoqw.js +0 -975
  181. package/components/PlayerAccountTimeout-CkMUko7-.js +0 -975
  182. package/components/PlayerAccountTransactionsHistory-DlCJ6V4t.cjs +0 -4
  183. package/components/PlayerActiveBonuses-CQXEEx6M.cjs +0 -4
  184. package/components/PlayerBonusCard-DqB-YOwa.cjs +0 -1
  185. package/components/PlayerBonusHistory-BbO5bAQY.js +0 -1106
  186. package/components/PlayerBonusHistory-C6ZPMR2L.js +0 -1095
  187. package/components/PlayerBonusHistory-DtiQesaY.cjs +0 -4
  188. package/components/PlayerChangePassword-IADHpyQs.cjs +0 -3
  189. package/components/PlayerDeposit-CN2QU967.cjs +0 -1
  190. package/components/PlayerGamingHistory-2XEKCfky.cjs +0 -1
  191. package/components/PlayerPendingWithdrawals-HXAehYWA.cjs +0 -1
  192. package/components/PlayerProfileInfo-wZEXXCWQ.cjs +0 -4
  193. package/components/PlayerRealityCheck-DWoQCHkQ.cjs +0 -1
  194. package/components/PlayerTransactionHistory-CHKGqwam.cjs +0 -1
  195. package/components/PlayerWithdrawal-DhfwYn8c.cjs +0 -1
  196. package/stencil/app-globals-0f993ce5-DgYhdguE.cjs +0 -1
  197. package/stencil/pam-change-password-zaJZcylb.cjs +0 -1
  198. package/stencil/user-deposit-withdrawal-DfWpITDc.cjs +0 -72
@@ -1,9 +1,9 @@
1
- import { a as K, $ as F, S as Q, i as V, s as X, f as g, b as Y, J as Z, d as S, r as $, K as ee, L as te, M as ne, N as oe, O as ae, c as E, h as L, j as d, l as j, k as _, m as B, t as O, e as i, p as re, q as ie, u as le, n as se, v as N, w as ce, x as me, y as fe, z as de, A as ue, B as be } from "./GeneralLogout-0J1RtGyR.js";
2
- function W(n, e) {
3
- K(n, e);
1
+ import { a as F, $ as J, S as K, i as Q, s as X, f as h, b as Y, Z as $, d as S, w as ee, U as te, V as ne, _ as oe, a0 as ae, a1 as re, u as E, e as j, p as d, x as L, g as _, q as z, v as T, t as i, h as ie, j as le, o as se, n as ce, y as W, k as me, B as fe, C as de, D as ue, c as be, A as ge } from "./PlayerAccountController-BLw_7Wxf.js";
2
+ function N(n, e) {
3
+ F(n, e);
4
4
  }
5
- function ge(n) {
6
- F.set(n);
5
+ function he(n) {
6
+ J.set(n);
7
7
  }
8
8
  const P = {
9
9
  en: {
@@ -51,66 +51,66 @@ const P = {
51
51
  confirm: "Confirm"
52
52
  }
53
53
  };
54
- function he(n) {
54
+ function Ce(n) {
55
55
  Y(n, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
56
56
  }
57
- const Ce = (n) => ({}), q = (n) => ({});
57
+ const pe = (n) => ({}), U = (n) => ({});
58
58
  function xe(n) {
59
59
  let e, t;
60
60
  return {
61
61
  c() {
62
- e = N("svg"), t = N("path"), i(t, "stroke-linecap", "round"), i(t, "stroke-linejoin", "round"), i(t, "stroke-width", "2"), i(t, "d", "M6 18L18 6M6 6l12 12"), i(e, "class", "w-6 h-6"), i(e, "fill", "none"), i(e, "stroke", "currentColor"), i(e, "viewBox", "0 0 24 24"), i(e, "xmlns", "http://www.w3.org/2000/svg");
62
+ e = W("svg"), t = W("path"), i(t, "stroke-linecap", "round"), i(t, "stroke-linejoin", "round"), i(t, "stroke-width", "2"), i(t, "d", "M6 18L18 6M6 6l12 12"), i(e, "class", "w-6 h-6"), i(e, "fill", "none"), i(e, "stroke", "currentColor"), i(e, "viewBox", "0 0 24 24"), i(e, "xmlns", "http://www.w3.org/2000/svg");
63
63
  },
64
- m(r, s) {
65
- L(r, e, s), d(e, t);
64
+ m(r, l) {
65
+ j(r, e, l), d(e, t);
66
66
  },
67
- p: se,
67
+ p: ce,
68
68
  d(r) {
69
69
  r && S(e);
70
70
  }
71
71
  };
72
72
  }
73
- function H(n) {
73
+ function q(n) {
74
74
  let e, t, r;
75
75
  return {
76
76
  c() {
77
- e = _("div"), t = _("h2"), r = O(
77
+ e = _("div"), t = _("h2"), r = T(
78
78
  /*modaltitle*/
79
79
  n[1]
80
80
  ), i(e, "class", "GeneralConfirmationTitle");
81
81
  },
82
- m(s, u) {
83
- L(s, e, u), d(e, t), d(t, r);
82
+ m(l, u) {
83
+ j(l, e, u), d(e, t), d(t, r);
84
84
  },
85
- p(s, u) {
85
+ p(l, u) {
86
86
  u & /*modaltitle*/
87
87
  2 && E(
88
88
  r,
89
89
  /*modaltitle*/
90
- s[1]
90
+ l[1]
91
91
  );
92
92
  },
93
- d(s) {
94
- s && S(e);
93
+ d(l) {
94
+ l && S(e);
95
95
  }
96
96
  };
97
97
  }
98
- function R(n) {
98
+ function D(n) {
99
99
  let e, t = (
100
100
  /*$_*/
101
101
  n[4]("cancel") + ""
102
- ), r, s, u;
102
+ ), r, l, u;
103
103
  return {
104
104
  c() {
105
- e = _("button"), r = O(t), i(e, "class", "GeneralCancelButton");
105
+ e = _("button"), r = T(t), i(e, "class", "GeneralCancelButton");
106
106
  },
107
107
  m(f, v) {
108
- L(f, e, v), d(e, r), s || (u = j(
108
+ j(f, e, v), d(e, r), l || (u = L(
109
109
  e,
110
110
  "click",
111
111
  /*click_handler*/
112
112
  n[18]
113
- ), s = !0);
113
+ ), l = !0);
114
114
  },
115
115
  p(f, v) {
116
116
  v & /*$_*/
@@ -118,102 +118,102 @@ function R(n) {
118
118
  f[4]("cancel") + "") && E(r, t);
119
119
  },
120
120
  d(f) {
121
- f && S(e), s = !1, u();
121
+ f && S(e), l = !1, u();
122
122
  }
123
123
  };
124
124
  }
125
- function pe(n) {
126
- let e, t, r, s, u, f, v, h, y, C, w = (
125
+ function ve(n) {
126
+ let e, t, r, l, u, f, v, C, y, p, w = (
127
127
  /*$_*/
128
128
  n[4]("confirm") + ""
129
129
  ), k, b, G, A;
130
130
  const M = (
131
131
  /*#slots*/
132
132
  n[17].close
133
- ), c = Z(
133
+ ), s = $(
134
134
  M,
135
135
  n,
136
136
  /*$$scope*/
137
137
  n[16],
138
- q
139
- ), x = c || xe();
140
- let m = (
138
+ U
139
+ ), x = s || xe();
140
+ let c = (
141
141
  /*modaltitle*/
142
- n[1] && H(n)
143
- ), l = (
142
+ n[1] && q(n)
143
+ ), m = (
144
144
  /*hascancelbutton*/
145
- n[2] && R(n)
145
+ n[2] && D(n)
146
146
  );
147
147
  return {
148
148
  c() {
149
- e = _("div"), t = _("div"), r = _("span"), x && x.c(), s = B(), m && m.c(), u = B(), f = _("div"), v = B(), h = _("div"), l && l.c(), y = B(), C = _("button"), k = O(w), i(r, "class", "ModalCloseBtn"), i(r, "role", "button"), i(f, "class", "GeneralConfirmationContent"), i(C, "class", "GeneralConfirmButton"), i(h, "class", "GeneralConfirmationControlArea " + /*isMobile*/
149
+ e = _("div"), t = _("div"), r = _("span"), x && x.c(), l = z(), c && c.c(), u = z(), f = _("div"), v = z(), C = _("div"), m && m.c(), y = z(), p = _("button"), k = T(w), i(r, "class", "ModalCloseBtn"), i(r, "role", "button"), i(f, "class", "GeneralConfirmationContent"), i(p, "class", "GeneralConfirmButton"), i(C, "class", "GeneralConfirmationControlArea " + /*isMobile*/
150
150
  (n[5] ? "GeneralConfirmationControlAreaMobile" : "")), i(t, "class", "GeneralConfirmationContainer " + /*isMobile*/
151
151
  (n[5] ? "GeneralConfirmationContainerMobile" : "")), i(e, "class", "GeneralConfirmationWrapper " + /*isMobile*/
152
152
  (n[5] ? "GeneralConfirmationMobileWrapper" : ""));
153
153
  },
154
- m(a, p) {
155
- L(a, e, p), d(e, t), d(t, r), x && x.m(r, null), d(t, s), m && m.m(t, null), d(t, u), d(t, f), f.innerHTML = /*modaltext*/
156
- n[0], d(t, v), d(t, h), l && l.m(h, null), d(h, y), d(h, C), d(C, k), n[20](e), b = !0, G || (A = [
157
- j(
154
+ m(a, g) {
155
+ j(a, e, g), d(e, t), d(t, r), x && x.m(r, null), d(t, l), c && c.m(t, null), d(t, u), d(t, f), f.innerHTML = /*modaltext*/
156
+ n[0], d(t, v), d(t, C), m && m.m(C, null), d(C, y), d(C, p), d(p, k), n[20](e), b = !0, G || (A = [
157
+ L(
158
158
  r,
159
159
  "click",
160
160
  /*close*/
161
161
  n[6]
162
162
  ),
163
- j(
164
- C,
163
+ L(
164
+ p,
165
165
  "click",
166
166
  /*click_handler_1*/
167
167
  n[19]
168
168
  )
169
169
  ], G = !0);
170
170
  },
171
- p(a, [p]) {
172
- c && c.p && (!b || p & /*$$scope*/
173
- 65536) && ne(
174
- c,
171
+ p(a, [g]) {
172
+ s && s.p && (!b || g & /*$$scope*/
173
+ 65536) && oe(
174
+ s,
175
175
  M,
176
176
  a,
177
177
  /*$$scope*/
178
178
  a[16],
179
- b ? ae(
179
+ b ? re(
180
180
  M,
181
181
  /*$$scope*/
182
182
  a[16],
183
- p,
184
- Ce
185
- ) : oe(
183
+ g,
184
+ pe
185
+ ) : ae(
186
186
  /*$$scope*/
187
187
  a[16]
188
188
  ),
189
- q
189
+ U
190
190
  ), /*modaltitle*/
191
- a[1] ? m ? m.p(a, p) : (m = H(a), m.c(), m.m(t, u)) : m && (m.d(1), m = null), (!b || p & /*modaltext*/
191
+ a[1] ? c ? c.p(a, g) : (c = q(a), c.c(), c.m(t, u)) : c && (c.d(1), c = null), (!b || g & /*modaltext*/
192
192
  1) && (f.innerHTML = /*modaltext*/
193
193
  a[0]), /*hascancelbutton*/
194
- a[2] ? l ? l.p(a, p) : (l = R(a), l.c(), l.m(h, y)) : l && (l.d(1), l = null), (!b || p & /*$_*/
194
+ a[2] ? m ? m.p(a, g) : (m = D(a), m.c(), m.m(C, y)) : m && (m.d(1), m = null), (!b || g & /*$_*/
195
195
  16) && w !== (w = /*$_*/
196
196
  a[4]("confirm") + "") && E(k, w);
197
197
  },
198
198
  i(a) {
199
- b || (te(x, a), b = !0);
199
+ b || (ne(x, a), b = !0);
200
200
  },
201
201
  o(a) {
202
- ee(x, a), b = !1;
202
+ te(x, a), b = !1;
203
203
  },
204
204
  d(a) {
205
- a && S(e), x && x.d(a), m && m.d(), l && l.d(), n[20](null), G = !1, $(A);
205
+ a && S(e), x && x.d(a), c && c.d(), m && m.d(), n[20](null), G = !1, ee(A);
206
206
  }
207
207
  };
208
208
  }
209
- function ve(n, e, t) {
209
+ function _e(n, e, t) {
210
210
  let r;
211
- re(n, be, (o) => t(4, r = o));
212
- let { $$slots: s = {}, $$scope: u } = e, { modaltext: f = "Are you sure that you want to perform this action?" } = e, { modaltitle: v = "" } = e, { hascancelbutton: h = !1 } = e, { modalconfirmevent: y = "" } = e, { modalcancelevent: C = "" } = e, { modalconfirmdata: w = {} } = e, { lang: k = "en" } = e, { clientstyling: b = "" } = e, { clientstylingurl: G = "" } = e, { translationurl: A = "" } = e, { mbsource: M } = e, c, x = window.navigator.userAgent, m = ie(x) !== "PC";
213
- const l = () => {
211
+ ie(n, ge, (o) => t(4, r = o));
212
+ let { $$slots: l = {}, $$scope: u } = e, { modaltext: f = "Are you sure that you want to perform this action?" } = e, { modaltitle: v = "" } = e, { hascancelbutton: C = !1 } = e, { modalconfirmevent: y = "" } = e, { modalcancelevent: p = "" } = e, { modalconfirmdata: w = {} } = e, { lang: k = "en" } = e, { clientstyling: b = "" } = e, { clientstylingurl: G = "" } = e, { translationurl: A = "" } = e, { mbsource: M } = e, s, x, c = window.navigator.userAgent, m = le(c) !== "PC";
213
+ const a = () => {
214
214
  window.postMessage({ type: "ModalClosed" }, window.location.href);
215
- }, a = (o) => {
216
- o === "confirm" && y && c.dispatchEvent(new CustomEvent(
215
+ }, g = (o) => {
216
+ o === "confirm" && y && s.dispatchEvent(new CustomEvent(
217
217
  y,
218
218
  {
219
219
  detail: w,
@@ -221,50 +221,50 @@ function ve(n, e, t) {
221
221
  bubbles: !0,
222
222
  composed: !0
223
223
  }
224
- )), o === "cancel" && C && c.dispatchEvent(new CustomEvent(C, { bubbles: !0, composed: !0 })), l();
225
- }, p = () => {
226
- fetch(A).then((z) => z.json()).then((z) => {
227
- Object.keys(z).forEach((T) => {
228
- W(T, z[T]);
224
+ )), o === "cancel" && p && s.dispatchEvent(new CustomEvent(p, { bubbles: !0, composed: !0 })), a();
225
+ }, H = () => {
226
+ fetch(A).then((B) => B.json()).then((B) => {
227
+ Object.keys(B).forEach((O) => {
228
+ N(O, B[O]);
229
229
  });
230
- }).catch((z) => {
231
- console.log(z);
230
+ }).catch((B) => {
231
+ console.log(B);
232
232
  });
233
233
  };
234
234
  Object.keys(P).forEach((o) => {
235
- W(o, P[o]);
235
+ N(o, P[o]);
236
236
  });
237
- const U = () => {
238
- ge(k);
237
+ const R = () => {
238
+ he(k);
239
239
  };
240
- le(() => () => {
240
+ se(() => () => {
241
241
  });
242
- const D = () => a("cancel"), I = () => a("confirm");
243
- function J(o) {
244
- ce[o ? "unshift" : "push"](() => {
245
- c = o, t(3, c);
242
+ const I = () => g("cancel"), V = () => g("confirm");
243
+ function Z(o) {
244
+ me[o ? "unshift" : "push"](() => {
245
+ s = o, t(3, s);
246
246
  });
247
247
  }
248
248
  return n.$$set = (o) => {
249
- "modaltext" in o && t(0, f = o.modaltext), "modaltitle" in o && t(1, v = o.modaltitle), "hascancelbutton" in o && t(2, h = o.hascancelbutton), "modalconfirmevent" in o && t(8, y = o.modalconfirmevent), "modalcancelevent" in o && t(9, C = o.modalcancelevent), "modalconfirmdata" in o && t(10, w = o.modalconfirmdata), "lang" in o && t(11, k = o.lang), "clientstyling" in o && t(12, b = o.clientstyling), "clientstylingurl" in o && t(13, G = o.clientstylingurl), "translationurl" in o && t(14, A = o.translationurl), "mbsource" in o && t(15, M = o.mbsource), "$$scope" in o && t(16, u = o.$$scope);
249
+ "modaltext" in o && t(0, f = o.modaltext), "modaltitle" in o && t(1, v = o.modaltitle), "hascancelbutton" in o && t(2, C = o.hascancelbutton), "modalconfirmevent" in o && t(8, y = o.modalconfirmevent), "modalcancelevent" in o && t(9, p = o.modalcancelevent), "modalconfirmdata" in o && t(10, w = o.modalconfirmdata), "lang" in o && t(11, k = o.lang), "clientstyling" in o && t(12, b = o.clientstyling), "clientstylingurl" in o && t(13, G = o.clientstylingurl), "translationurl" in o && t(14, A = o.translationurl), "mbsource" in o && t(15, M = o.mbsource), "$$scope" in o && t(16, u = o.$$scope);
250
250
  }, n.$$.update = () => {
251
251
  n.$$.dirty & /*modaltext, lang*/
252
- 2049 && f && k && U(), n.$$.dirty & /*clientstyling, customStylingContainer*/
253
- 4104 && b && c && me(c, b), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
254
- 8200 && G && c && fe(c, G), n.$$.dirty & /*mbsource, customStylingContainer*/
255
- 32776 && M && c && de(c, `${M}.Style`), n.$$.dirty & /*translationurl*/
256
- 16384 && A && p();
252
+ 2049 && f && k && R(), n.$$.dirty & /*clientstyling, customStylingContainer*/
253
+ 4104 && b && s && fe(s, b), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
254
+ 8200 && G && s && de(s, G), n.$$.dirty & /*mbsource, customStylingContainer*/
255
+ 32776 && M && s && ue(s, `${M}.Style`, x), n.$$.dirty & /*translationurl*/
256
+ 16384 && A && H();
257
257
  }, [
258
258
  f,
259
259
  v,
260
- h,
261
- c,
260
+ C,
261
+ s,
262
262
  r,
263
263
  m,
264
- l,
265
264
  a,
265
+ g,
266
266
  y,
267
- C,
267
+ p,
268
268
  w,
269
269
  k,
270
270
  b,
@@ -272,19 +272,19 @@ function ve(n, e, t) {
272
272
  A,
273
273
  M,
274
274
  u,
275
- s,
276
- D,
275
+ l,
277
276
  I,
278
- J
277
+ V,
278
+ Z
279
279
  ];
280
280
  }
281
- class _e extends Q {
281
+ class ye extends K {
282
282
  constructor(e) {
283
- super(), V(
283
+ super(), Q(
284
284
  this,
285
285
  e,
286
+ _e,
286
287
  ve,
287
- pe,
288
288
  X,
289
289
  {
290
290
  modaltext: 0,
@@ -299,77 +299,77 @@ class _e extends Q {
299
299
  translationurl: 14,
300
300
  mbsource: 15
301
301
  },
302
- he
302
+ Ce
303
303
  );
304
304
  }
305
305
  get modaltext() {
306
306
  return this.$$.ctx[0];
307
307
  }
308
308
  set modaltext(e) {
309
- this.$$set({ modaltext: e }), g();
309
+ this.$$set({ modaltext: e }), h();
310
310
  }
311
311
  get modaltitle() {
312
312
  return this.$$.ctx[1];
313
313
  }
314
314
  set modaltitle(e) {
315
- this.$$set({ modaltitle: e }), g();
315
+ this.$$set({ modaltitle: e }), h();
316
316
  }
317
317
  get hascancelbutton() {
318
318
  return this.$$.ctx[2];
319
319
  }
320
320
  set hascancelbutton(e) {
321
- this.$$set({ hascancelbutton: e }), g();
321
+ this.$$set({ hascancelbutton: e }), h();
322
322
  }
323
323
  get modalconfirmevent() {
324
324
  return this.$$.ctx[8];
325
325
  }
326
326
  set modalconfirmevent(e) {
327
- this.$$set({ modalconfirmevent: e }), g();
327
+ this.$$set({ modalconfirmevent: e }), h();
328
328
  }
329
329
  get modalcancelevent() {
330
330
  return this.$$.ctx[9];
331
331
  }
332
332
  set modalcancelevent(e) {
333
- this.$$set({ modalcancelevent: e }), g();
333
+ this.$$set({ modalcancelevent: e }), h();
334
334
  }
335
335
  get modalconfirmdata() {
336
336
  return this.$$.ctx[10];
337
337
  }
338
338
  set modalconfirmdata(e) {
339
- this.$$set({ modalconfirmdata: e }), g();
339
+ this.$$set({ modalconfirmdata: e }), h();
340
340
  }
341
341
  get lang() {
342
342
  return this.$$.ctx[11];
343
343
  }
344
344
  set lang(e) {
345
- this.$$set({ lang: e }), g();
345
+ this.$$set({ lang: e }), h();
346
346
  }
347
347
  get clientstyling() {
348
348
  return this.$$.ctx[12];
349
349
  }
350
350
  set clientstyling(e) {
351
- this.$$set({ clientstyling: e }), g();
351
+ this.$$set({ clientstyling: e }), h();
352
352
  }
353
353
  get clientstylingurl() {
354
354
  return this.$$.ctx[13];
355
355
  }
356
356
  set clientstylingurl(e) {
357
- this.$$set({ clientstylingurl: e }), g();
357
+ this.$$set({ clientstylingurl: e }), h();
358
358
  }
359
359
  get translationurl() {
360
360
  return this.$$.ctx[14];
361
361
  }
362
362
  set translationurl(e) {
363
- this.$$set({ translationurl: e }), g();
363
+ this.$$set({ translationurl: e }), h();
364
364
  }
365
365
  get mbsource() {
366
366
  return this.$$.ctx[15];
367
367
  }
368
368
  set mbsource(e) {
369
- this.$$set({ mbsource: e }), g();
369
+ this.$$set({ mbsource: e }), h();
370
370
  }
371
371
  }
372
- ue(_e, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, modalconfirmdata: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
372
+ be(ye, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, modalconfirmdata: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
373
373
  export {
374
- _e as default
374
+ ye as default
375
375
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-En_hyyNC.cjs");function A(o,t){e.addMessages(o,t)}function N(o){e.$locale.set(o)}const z={en:{cancel:"Cancel",confirm:"Confirm"},fr:{cancel:"Annuler",confirm:"Confirmer"},ro:{cancel:"Anulează",confirm:"Confirmă"},es:{cancel:"Cancelar",confirm:"Confirmar"},pt:{cancel:"Cancelar",confirm:"Confirmar"},"zh-hk":{cancel:"取消",confirm:"確認"},hr:{cancel:"Otkaži",confirm:"Potvrdi"},"pt-br":{cancel:"Cancelar",confirm:"confirme"},"es-mx":{cancel:"Cancelar",confirm:"Confirmar"},tr:{cancel:"İptal etmek",confirm:"Onaylamak"},"en-us":{cancel:"Cancel",confirm:"Confirm"}};function q(o){e.append_styles(o,"svelte-8g0wf4",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}')}const H=o=>({}),B=o=>({});function R(o){let t,n;return{c(){t=e.svg_element("svg"),n=e.svg_element("path"),e.attr(n,"stroke-linecap","round"),e.attr(n,"stroke-linejoin","round"),e.attr(n,"stroke-width","2"),e.attr(n,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(a,i){e.insert(a,t,i),e.append(t,n)},p:e.noop,d(a){a&&e.detach(t)}}}function S(o){let t,n,a;return{c(){t=e.element("div"),n=e.element("h2"),a=e.text(o[1]),e.attr(t,"class","GeneralConfirmationTitle")},m(i,f){e.insert(i,t,f),e.append(t,n),e.append(n,a)},p(i,f){f&2&&e.set_data(a,i[1])},d(i){i&&e.detach(t)}}}function j(o){let t,n=o[4]("cancel")+"",a,i,f;return{c(){t=e.element("button"),a=e.text(n),e.attr(t,"class","GeneralCancelButton")},m(d,C){e.insert(d,t,C),e.append(t,a),i||(f=e.listen(t,"click",o[18]),i=!0)},p(d,C){C&16&&n!==(n=d[4]("cancel")+"")&&e.set_data(a,n)},d(d){d&&e.detach(t),i=!1,f()}}}function U(o){let t,n,a,i,f,d,C,g,v,h,x=o[4]("confirm")+"",_,u,y,k;const w=o[17].close,c=e.create_slot(w,o,o[16],B),p=c||R();let s=o[1]&&S(o),m=o[2]&&j(o);return{c(){t=e.element("div"),n=e.element("div"),a=e.element("span"),p&&p.c(),i=e.space(),s&&s.c(),f=e.space(),d=e.element("div"),C=e.space(),g=e.element("div"),m&&m.c(),v=e.space(),h=e.element("button"),_=e.text(x),e.attr(a,"class","ModalCloseBtn"),e.attr(a,"role","button"),e.attr(d,"class","GeneralConfirmationContent"),e.attr(h,"class","GeneralConfirmButton"),e.attr(g,"class","GeneralConfirmationControlArea "+(o[5]?"GeneralConfirmationControlAreaMobile":"")),e.attr(n,"class","GeneralConfirmationContainer "+(o[5]?"GeneralConfirmationContainerMobile":"")),e.attr(t,"class","GeneralConfirmationWrapper "+(o[5]?"GeneralConfirmationMobileWrapper":""))},m(l,b){e.insert(l,t,b),e.append(t,n),e.append(n,a),p&&p.m(a,null),e.append(n,i),s&&s.m(n,null),e.append(n,f),e.append(n,d),d.innerHTML=o[0],e.append(n,C),e.append(n,g),m&&m.m(g,null),e.append(g,v),e.append(g,h),e.append(h,_),o[20](t),u=!0,y||(k=[e.listen(a,"click",o[6]),e.listen(h,"click",o[19])],y=!0)},p(l,[b]){c&&c.p&&(!u||b&65536)&&e.update_slot_base(c,w,l,l[16],u?e.get_slot_changes(w,l[16],b,H):e.get_all_dirty_from_scope(l[16]),B),l[1]?s?s.p(l,b):(s=S(l),s.c(),s.m(n,f)):s&&(s.d(1),s=null),(!u||b&1)&&(d.innerHTML=l[0]),l[2]?m?m.p(l,b):(m=j(l),m.c(),m.m(g,v)):m&&(m.d(1),m=null),(!u||b&16)&&x!==(x=l[4]("confirm")+"")&&e.set_data(_,x)},i(l){u||(e.transition_in(p,l),u=!0)},o(l){e.transition_out(p,l),u=!1},d(l){l&&e.detach(t),p&&p.d(l),s&&s.d(),m&&m.d(),o[20](null),y=!1,e.run_all(k)}}}function D(o,t,n){let a;e.component_subscribe(o,e.$format,r=>n(4,a=r));let{$$slots:i={},$$scope:f}=t,{modaltext:d="Are you sure that you want to perform this action?"}=t,{modaltitle:C=""}=t,{hascancelbutton:g=!1}=t,{modalconfirmevent:v=""}=t,{modalcancelevent:h=""}=t,{modalconfirmdata:x={}}=t,{lang:_="en"}=t,{clientstyling:u=""}=t,{clientstylingurl:y=""}=t,{translationurl:k=""}=t,{mbsource:w}=t,c,p,s=window.navigator.userAgent,m=e.getDevice(s)!=="PC";const l=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},b=r=>{r==="confirm"&&v&&c.dispatchEvent(new CustomEvent(v,{detail:x,bubbles:!0,composed:!0})),r==="cancel"&&h&&c.dispatchEvent(new CustomEvent(h,{bubbles:!0,composed:!0})),l()},T=()=>{fetch(k).then(G=>G.json()).then(G=>{Object.keys(G).forEach(M=>{A(M,G[M])})}).catch(G=>{console.log(G)})};Object.keys(z).forEach(r=>{A(r,z[r])});const E=()=>{N(_)};e.onMount(()=>()=>{});const O=()=>b("cancel"),P=()=>b("confirm");function W(r){e.binding_callbacks[r?"unshift":"push"](()=>{c=r,n(3,c)})}return o.$$set=r=>{"modaltext"in r&&n(0,d=r.modaltext),"modaltitle"in r&&n(1,C=r.modaltitle),"hascancelbutton"in r&&n(2,g=r.hascancelbutton),"modalconfirmevent"in r&&n(8,v=r.modalconfirmevent),"modalcancelevent"in r&&n(9,h=r.modalcancelevent),"modalconfirmdata"in r&&n(10,x=r.modalconfirmdata),"lang"in r&&n(11,_=r.lang),"clientstyling"in r&&n(12,u=r.clientstyling),"clientstylingurl"in r&&n(13,y=r.clientstylingurl),"translationurl"in r&&n(14,k=r.translationurl),"mbsource"in r&&n(15,w=r.mbsource),"$$scope"in r&&n(16,f=r.$$scope)},o.$$.update=()=>{o.$$.dirty&2049&&d&&_&&E(),o.$$.dirty&4104&&u&&c&&e.setClientStyling(c,u),o.$$.dirty&8200&&y&&c&&e.setClientStylingURL(c,y),o.$$.dirty&32776&&w&&c&&e.setStreamStyling(c,`${w}.Style`,p),o.$$.dirty&16384&&k&&T()},[d,C,g,c,a,m,l,b,v,h,x,_,u,y,k,w,f,i,O,P,W]}class L extends e.SvelteComponent{constructor(t){super(),e.init(this,t,D,U,e.safe_not_equal,{modaltext:0,modaltitle:1,hascancelbutton:2,modalconfirmevent:8,modalcancelevent:9,modalconfirmdata:10,lang:11,clientstyling:12,clientstylingurl:13,translationurl:14,mbsource:15},q)}get modaltext(){return this.$$.ctx[0]}set modaltext(t){this.$$set({modaltext:t}),e.flush()}get modaltitle(){return this.$$.ctx[1]}set modaltitle(t){this.$$set({modaltitle:t}),e.flush()}get hascancelbutton(){return this.$$.ctx[2]}set hascancelbutton(t){this.$$set({hascancelbutton:t}),e.flush()}get modalconfirmevent(){return this.$$.ctx[8]}set modalconfirmevent(t){this.$$set({modalconfirmevent:t}),e.flush()}get modalcancelevent(){return this.$$.ctx[9]}set modalcancelevent(t){this.$$set({modalcancelevent:t}),e.flush()}get modalconfirmdata(){return this.$$.ctx[10]}set modalconfirmdata(t){this.$$set({modalconfirmdata:t}),e.flush()}get lang(){return this.$$.ctx[11]}set lang(t){this.$$set({lang: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 mbsource(){return this.$$.ctx[15]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(L,{modaltext:{},modaltitle:{},hascancelbutton:{type:"Boolean"},modalconfirmevent:{},modalcancelevent:{},modalconfirmdata:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},["close"],[],!0);exports.default=L;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountController-En_hyyNC.cjs");require("../stencil/ui-skeleton-CS05SPLQ.cjs");function W(l,t){e.addMessages(l,t)}function K(l){e.$locale.set(l)}const H={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"},"pt-br":{title:"Minha conta"},"es-mx":{title:"Mi cuenta"},"en-us":{title:"My Account"}};if(typeof window!="undefined"){let l=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=l(customElements.define),Promise.resolve().then(()=>require("./GeneralLogout-CjFz6GhW.cjs")).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function Q(l){e.append_styles(l,"svelte-5g0xrl",".PlayerAccountMenuContainer{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;border-right:2px solid #58586b;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px;text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-300, #58586B);min-height:900px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{flex-wrap:wrap;flex:0 0 33.3333%;padding:0;gap:10px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile ui-skeleton{width:100%}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background:var(--emw--color-gray-300, #58586B);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));width:100%;flex-grow:0;border-top:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer{height:unset}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid var(--emw--color-gray-300, #58586B);border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-bottom:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:30px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:11px;padding:0 5px 15px 5px;font-weight:400;word-break:break-word;text-align:center;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}")}function S(l,t,n){const a=l.slice();return a[40]=t[n],a}function T(l,t,n){const a=l.slice();return a[37]=t[n],a}function Y(l){let t,n,a,r,s,m,g,y,b,_,f,h,u=l[12]&&ee(l),c=l[12]&&te(l),d=e.ensure_array_like(l[7]),i=[];for(let p=0;p<d.length;p+=1)i[p]=O(S(l,d,p));let v=!l[12]&&ne(l);return{c(){t=e.element("div"),n=e.element("div"),u&&u.c(),a=e.space(),r=e.element("p"),s=e.text(l[9]),m=e.space(),g=e.element("p"),y=e.text(l[10]),b=e.space(),c&&c.c(),_=e.space(),f=e.element("div");for(let p=0;p<i.length;p+=1)i[p].c();h=e.space(),v&&v.c(),e.attr(r,"class","PlayerAccountMenuUser"),e.attr(r,"translate","no"),e.attr(g,"class","PlayerAccountMenuEmail"),e.attr(g,"translate","no"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(f,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(p,A){e.insert(p,t,A),e.append(t,n),u&&u.m(n,null),e.append(n,a),e.append(n,r),e.append(r,s),e.append(n,m),e.append(n,g),e.append(g,y),e.append(n,b),c&&c.m(n,null),e.append(t,_),e.append(t,f);for(let M=0;M<i.length;M+=1)i[M]&&i[M].m(f,null);e.append(t,h),v&&v.m(t,null)},p(p,A){if(p[12]&&u.p(p,A),A[0]&512&&e.set_data(s,p[9]),A[0]&1024&&e.set_data(y,p[10]),p[12]&&c.p(p,A),A[0]&12672){d=e.ensure_array_like(p[7]);let M;for(M=0;M<d.length;M+=1){const k=S(p,d,M);i[M]?i[M].p(k,A):(i[M]=O(k),i[M].c(),i[M].m(f,null))}for(;M<i.length;M+=1)i[M].d(1);i.length=d.length}p[12]||v.p(p,A)},d(p){p&&e.detach(t),u&&u.d(),c&&c.d(),e.destroy_each(i,p),v&&v.d()}}}function $(l){let t,n,a,r,s,m,g,y,b,_,f=l[12]&&le(),h=e.ensure_array_like(Array(18)),u=[];for(let c=0;c<h.length;c+=1)u[c]=j(T(l,h,c));return{c(){t=e.element("div"),n=e.element("div"),f&&f.c(),a=e.space(),r=e.element("ui-skeleton"),s=e.space(),m=e.element("ui-skeleton"),g=e.space(),y=e.element("div");for(let c=0;c<u.length;c+=1)u[c].c();b=e.space(),_=e.element("div"),_.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>',e.set_custom_element_data(r,"structure","title"),e.set_custom_element_data(r,"width","100px"),e.set_custom_element_data(r,"height","20px"),e.set_custom_element_data(r,"margin-top","10px"),e.set_custom_element_data(m,"structure","text"),e.set_custom_element_data(m,"width","200px"),e.set_custom_element_data(m,"height","20px"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[12]?"PlayerAccountMenuHeaderMobile":"")),e.attr(y,"class","PlayerAccountMenuList"),e.attr(_,"class","skeletonLogOut"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[12]?"PlayerAccountMobileContainer":""))},m(c,d){e.insert(c,t,d),e.append(t,n),f&&f.m(n,null),e.append(n,a),e.append(n,r),e.append(n,s),e.append(n,m),e.append(t,g),e.append(t,y);for(let i=0;i<u.length;i+=1)u[i]&&u[i].m(y,null);e.append(t,b),e.append(t,_)},p(c,d){if(d[0]&4096){h=e.ensure_array_like(Array(18));let i;for(i=0;i<h.length;i+=1){const v=T(c,h,i);u[i]?u[i].p(v,d):(u[i]=j(v),u[i].c(),u[i].m(y,null))}for(;i<u.length;i+=1)u[i].d(1);u.length=h.length}},d(c){c&&e.detach(t),f&&f.d(),e.destroy_each(u,c)}}}function ee(l){let t,n,a,r,s,m,g,y,b,_,f=l[11]("title")+"",h,u,c;return{c(){t=e.element("div"),n=e.svg_element("svg"),a=e.svg_element("defs"),r=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),m=e.svg_element("g"),g=e.svg_element("g"),y=e.svg_element("path"),b=e.space(),_=e.element("h3"),h=e.text(f),e.attr(y,"class","aaa"),e.attr(y,"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(y,"transform","translate(15 15) rotate(180)"),e.attr(g,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(_,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(d,i){e.insert(d,t,i),e.append(t,n),e.append(n,a),e.append(a,r),e.append(r,s),e.append(n,m),e.append(m,g),e.append(g,y),e.append(t,b),e.append(t,_),e.append(_,h),u||(c=[e.listen(n,"click",l[14]),e.listen(_,"click",l[14])],u=!0)},p(d,i){i[0]&2048&&f!==(f=d[11]("title")+"")&&e.set_data(h,f)},d(d){d&&e.detach(t),u=!1,e.run_all(c)}}}function te(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,r){e.insert(a,t,r),e.append(t,n)},p(a,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),r[0]&1&&e.set_custom_element_data(n,"session",a[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),r[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function O(l){let t,n,a,r,s,m,g=l[40].label+"",y,b,_,f,h;function u(){return l[24](l[40])}return{c(){t=e.element("div"),n=e.element("p"),a=e.element("img"),s=e.space(),m=e.element("span"),y=e.text(g),b=e.space(),e.attr(a,"class","PlayerAccountMenuItemIcon "+(l[12]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(a.src,r=l[40].img)||e.attr(a,"src",r),e.attr(m,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",_="PlayerAccountMenuItemBox "+(l[8]===l[40].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))},m(c,d){e.insert(c,t,d),e.append(t,n),e.append(n,a),e.append(n,s),e.append(n,m),e.append(m,y),e.append(t,b),f||(h=e.listen(t,"click",u),f=!0)},p(c,d){l=c,d[0]&128&&!e.src_url_equal(a.src,r=l[40].img)&&e.attr(a,"src",r),d[0]&128&&g!==(g=l[40].label+"")&&e.set_data(y,g),d[0]&384&&_!==(_="PlayerAccountMenuItemBox "+(l[8]===l[40].id&&!l[12]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",_)},d(c){c&&e.detach(t),f=!1,h()}}}function ne(l){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",l[1]),e.set_custom_element_data(n,"session",l[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",l[2]),e.set_custom_element_data(n,"clientstylingurl",l[3]),e.set_custom_element_data(n,"mbsource",l[4]),e.attr(t,"class","PlayerAccountLogOutArea")},m(a,r){e.insert(a,t,r),e.append(t,n)},p(a,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",a[1]),r[0]&1&&e.set_custom_element_data(n,"session",a[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",a[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",a[3]),r[0]&16&&e.set_custom_element_data(n,"mbsource",a[4])},d(a){a&&e.detach(t)}}}function le(l){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="30px" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="30px"></ui-skeleton>',e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function ae(l){let t;return{c(){t=e.element("ui-skeleton"),e.set_custom_element_data(t,"structure","circle"),e.set_custom_element_data(t,"size","20px")},m(n,a){e.insert(n,t,a)},d(n){n&&e.detach(t)}}}function j(l){let t,n,a,r,s=!l[12]&&ae();return{c(){t=e.element("div"),s&&s.c(),n=e.space(),a=e.element("ui-skeleton"),r=e.space(),e.set_custom_element_data(a,"structure","rectangle"),e.set_custom_element_data(a,"width","100%"),e.set_custom_element_data(a,"height",l[12]?"120px":"20px"),e.attr(t,"class","PlayerAccountItemWrap "+(l[12]?"PlayerAccountItemWrapMobile":""))},m(m,g){e.insert(m,t,g),s&&s.m(t,null),e.append(t,n),e.append(t,a),e.append(t,r)},p:e.noop,d(m){m&&e.detach(t),s&&s.d()}}}function re(l){let t;function n(s,m){return s[6]?$:Y}let a=n(l),r=a(l);return{c(){t=e.element("div"),r.c()},m(s,m){e.insert(s,t,m),r.m(t,null),l[25](t)},p(s,m){a===(a=n(s))&&r?r.p(s,m):(r.d(1),r=a(s),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),r.d(),l[25](null)}}}function oe(l,t,n){let a;e.component_subscribe(l,e.$format,o=>n(11,a=o));let{endpoint:r=""}=t,{cmsendpoint:s=""}=t,{env:m=""}=t,{session:g=""}=t,{playerid:y=""}=t,{lang:b="en"}=t,{userroles:_=""}=t,{clientstyling:f=""}=t,{clientstylingurl:h=""}=t,{translationurl:u=""}=t,{activemenuitem:c=""}=t,{mbsource:d}=t,i=!1,v=!1,p=!0,A,M,k=[],x,I=window.navigator.userAgent,U=e.getDevice(I)!=="PC",F="",C="";window.matchMedia("(min-width: 768px)");const D=()=>{fetch(u).then(P=>P.json()).then(P=>{Object.keys(P).forEach(w=>{W(w,P[w])})}).catch(P=>{console.error(P)})};Object.keys(H).forEach(o=>{W(o,H[o])});const L=o=>{if(o.data)switch(o.data.type){case"UserSessionID":n(0,g=o.data.session);break}},q=()=>{let o=e.getDevice(I);if(o)return o==="PC"?"dk":"mtWeb"},R=()=>{const o=new URL(`${s}/${b}/profile-menu?env=${m}`);o.searchParams.append("device",q()),fetch(o.href).then(P=>P.json()).then(P=>{n(7,k=P),B()}).catch(P=>{console.error("Error getting menu items",P)}).finally(()=>{n(22,i=!0)})},N=()=>{let o=new URL(`${r}/v1/player/${y}/profile`);o.searchParams.append("userRoles",_);let P={method:"GET",headers:{"X-SessionID":g}};fetch(o.href,P).then(w=>w.json()).then(w=>{n(9,F=w.username),n(10,C=w.email)},w=>{console.error(w)}).finally(()=>{n(23,v=!0)})},E=o=>{window.postMessage({type:"ChangeAccountPage",page:o},window.location.href),n(8,x=o.id)},B=()=>{var o;n(8,x=(o=k.find(P=>P.path.includes(c)))==null?void 0:o.id)},G=()=>{K(b)},V=()=>{N()},X=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)};e.onMount(()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)}));const Z=o=>E(o);function J(o){e.binding_callbacks[o?"unshift":"push"](()=>{A=o,n(5,A)})}return l.$$set=o=>{"endpoint"in o&&n(1,r=o.endpoint),"cmsendpoint"in o&&n(15,s=o.cmsendpoint),"env"in o&&n(16,m=o.env),"session"in o&&n(0,g=o.session),"playerid"in o&&n(17,y=o.playerid),"lang"in o&&n(18,b=o.lang),"userroles"in o&&n(19,_=o.userroles),"clientstyling"in o&&n(2,f=o.clientstyling),"clientstylingurl"in o&&n(3,h=o.clientstylingurl),"translationurl"in o&&n(20,u=o.translationurl),"activemenuitem"in o&&n(21,c=o.activemenuitem),"mbsource"in o&&n(4,d=o.mbsource)},l.$$.update=()=>{l.$$.dirty[0]&12582912&&n(6,p=!i||!v),l.$$.dirty[0]&262144&&b&&G(),l.$$.dirty[0]&393219&&r&&g&&y&&b&&V(),l.$$.dirty[0]&360448&&s&&b&&m&&R(),l.$$.dirty[0]&2097152&&c&&B(),l.$$.dirty[0]&36&&f&&A&&e.setClientStyling(A,f),l.$$.dirty[0]&40&&h&&A&&e.setClientStylingURL(A,h),l.$$.dirty[0]&48&&d&&A&&e.setStreamStyling(A,`${d}.Style`,M),l.$$.dirty[0]&1048576&&u&&D()},[g,r,f,h,d,A,p,k,x,F,C,a,U,E,X,s,m,y,b,_,u,c,i,v,Z,J]}class z extends e.SvelteComponent{constructor(t){super(),e.init(this,t,oe,re,e.safe_not_equal,{endpoint:1,cmsendpoint:15,env:16,session:0,playerid:17,lang:18,userroles:19,clientstyling:2,clientstylingurl:3,translationurl:20,activemenuitem:21,mbsource:4},Q,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[15]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[16]}set env(t){this.$$set({env:t}),e.flush()}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[17]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),e.flush()}get userroles(){return this.$$.ctx[19]}set userroles(t){this.$$set({userroles:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[21]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(z,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},userroles:{},clientstyling:{},clientstylingurl:{},translationurl:{},activemenuitem:{},mbsource:{}},[],[],!0);exports.default=z;