@everymatrix/player-account-controller 1.55.0 → 1.56.1

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 (237) hide show
  1. package/components/GeneralLogout-BJr23vYk.cjs +8 -0
  2. package/components/GeneralLogout-BVJrgB3o.js +4819 -0
  3. package/components/GeneralLogout-BsU4ASHU.js +4856 -0
  4. package/components/GeneralLogout-CBaU48IH.js +4858 -0
  5. package/components/GeneralLogout-CtNZ2rvU.js +4821 -0
  6. package/components/GeneralLogout-DMKG3DPv.cjs +8 -0
  7. package/components/PlayerAccountBettingHistory-B5BniV4g.cjs +1 -0
  8. package/components/PlayerAccountBettingHistory-Bb3AMzX8.js +329 -0
  9. package/components/PlayerAccountBettingHistory-Bmd5vUtv.js +329 -0
  10. package/components/PlayerAccountBettingHistory-Bq4NWDqV.js +328 -0
  11. package/components/PlayerAccountBettingHistory-DNqJtC6N.js +328 -0
  12. package/components/PlayerAccountBettingHistory-o_QsnHUF.cjs +1 -0
  13. package/components/PlayerAccountBiometrics-9jkq0tvf.js +306 -0
  14. package/components/PlayerAccountBiometrics-AVQKN7o3.cjs +1 -0
  15. package/components/PlayerAccountBiometrics-CsN8vgVA.js +306 -0
  16. package/components/PlayerAccountBiometrics-Dg73RCT9.cjs +1 -0
  17. package/components/PlayerAccountBiometrics-DlroL56t.js +306 -0
  18. package/components/PlayerAccountBiometrics-Gd9NVjdX.js +306 -0
  19. package/components/PlayerAccountClosure-BJqYBJtn.js +346 -0
  20. package/components/PlayerAccountClosure-Bq8aSkiW.js +346 -0
  21. package/components/PlayerAccountClosure-DKliqI6n.js +346 -0
  22. package/components/PlayerAccountClosure-DMjXua4S.js +346 -0
  23. package/components/PlayerAccountClosure-DnkzjHvI.cjs +1 -0
  24. package/components/PlayerAccountClosure-MKEqjDLD.cjs +1 -0
  25. package/components/PlayerAccountController-4gBny5Rp.js +7209 -0
  26. package/components/PlayerAccountController-BJB0Tl_L.cjs +1 -0
  27. package/components/PlayerAccountController-BpyAtpJE.cjs +1 -0
  28. package/components/PlayerAccountController-C_emVJuv.js +7209 -0
  29. package/components/PlayerAccountController-CnAQbK4J.cjs +1 -0
  30. package/components/PlayerAccountController-DEbBohhW.js +7192 -0
  31. package/components/PlayerAccountController-DjbCb6IF.js +7209 -0
  32. package/components/PlayerAccountController-Mp8kU2tC.js +7192 -0
  33. package/components/PlayerAccountController-uMgaSyVI.js +7192 -0
  34. package/components/PlayerAccountGamingLimits-B5ZobNN6.js +817 -0
  35. package/components/PlayerAccountGamingLimits-BJcdfjxs.cjs +1 -0
  36. package/components/PlayerAccountGamingLimits-BqZOV7ER.js +817 -0
  37. package/components/PlayerAccountGamingLimits-BqtQWVJY.js +817 -0
  38. package/components/PlayerAccountGamingLimits-CEJOtmtT.js +817 -0
  39. package/components/PlayerAccountGamingLimits-CSy-XeyP.cjs +1 -0
  40. package/components/PlayerAccountGamingLimitsConfirmationModal-BGzrS313.js +306 -0
  41. package/components/PlayerAccountGamingLimitsConfirmationModal-BkfdzG8y.cjs +1 -0
  42. package/components/PlayerAccountGamingLimitsConfirmationModal-D4OvRvHS.js +306 -0
  43. package/components/PlayerAccountGamingLimitsConfirmationModal-DYzB3j6L.js +306 -0
  44. package/components/PlayerAccountGamingLimitsConfirmationModal-DhhlnYgg.cjs +1 -0
  45. package/components/PlayerAccountGamingLimitsConfirmationModal-ffEfhpF7.js +306 -0
  46. package/components/PlayerAccountGamingLimitsGroupEdit-CdEnus68.js +4166 -0
  47. package/components/PlayerAccountGamingLimitsGroupEdit-Cer2-m_x.js +4166 -0
  48. package/components/PlayerAccountGamingLimitsGroupEdit-DMt5E3K-.js +4166 -0
  49. package/components/PlayerAccountGamingLimitsGroupEdit-DUdaJ7Kq.js +4166 -0
  50. package/components/PlayerAccountGamingLimitsGroupEdit-DZ70sSBt.cjs +10 -0
  51. package/components/PlayerAccountGamingLimitsGroupEdit-Yjf_2udY.cjs +10 -0
  52. package/components/PlayerAccountGamingLimitsHistory2-BFqWdMn-.js +748 -0
  53. package/components/PlayerAccountGamingLimitsHistory2-CCJMGIcX.cjs +1 -0
  54. package/components/PlayerAccountGamingLimitsHistory2-CGy6w5_0.js +748 -0
  55. package/components/PlayerAccountGamingLimitsHistory2-ClU7aHVz.cjs +1 -0
  56. package/components/PlayerAccountGamingLimitsHistory2-PeeGekce.js +759 -0
  57. package/components/PlayerAccountGamingLimitsHistory2-j00bAoG0.js +759 -0
  58. package/components/PlayerAccountGamingLimitsInfoCard-C0h1smBV.cjs +1 -0
  59. package/components/PlayerAccountGamingLimitsInfoCard-C5Uyy4hS.js +1564 -0
  60. package/components/PlayerAccountGamingLimitsInfoCard-CV9ZhYiF.js +1564 -0
  61. package/components/PlayerAccountGamingLimitsInfoCard-CoMJRMLA.js +1564 -0
  62. package/components/PlayerAccountGamingLimitsInfoCard-lJRgmwtb.cjs +1 -0
  63. package/components/PlayerAccountGamingLimitsInfoCard-yxF974vj.js +1564 -0
  64. package/components/PlayerAccountGamingLimitsPage2Gm16-BTjt40ut.cjs +21 -0
  65. package/components/PlayerAccountGamingLimitsPage2Gm16-CxPXwme_.js +3276 -0
  66. package/components/PlayerAccountGamingLimitsPage2Gm16-Di6v3kmW.js +3307 -0
  67. package/components/PlayerAccountGamingLimitsPage2Gm16-L1Jp_iKB.js +3276 -0
  68. package/components/PlayerAccountGamingLimitsPage2Gm16-T2cmSKjm.js +3307 -0
  69. package/components/PlayerAccountGamingLimitsPage2Gm16-p3GcsFI7.cjs +21 -0
  70. package/components/PlayerAccountGamingLimitsPopup-B4-V_QNS.js +340 -0
  71. package/components/PlayerAccountGamingLimitsPopup-BzDVzkzb.js +340 -0
  72. package/components/PlayerAccountGamingLimitsPopup-C1u8s5Rb.js +340 -0
  73. package/components/PlayerAccountGamingLimitsPopup-Dcz_452O.js +340 -0
  74. package/components/PlayerAccountGamingLimitsPopup-DdcT7vPa.cjs +1 -0
  75. package/components/PlayerAccountGamingLimitsPopup-LRDbiAly.cjs +1 -0
  76. package/components/PlayerAccountGamingLimitsWrapper2-BiXnSxca.cjs +1 -0
  77. package/components/PlayerAccountGamingLimitsWrapper2-BqtUjbbu.js +1011 -0
  78. package/components/PlayerAccountGamingLimitsWrapper2-CcyRURaw.js +1017 -0
  79. package/components/PlayerAccountGamingLimitsWrapper2-_YHpEotj.js +1011 -0
  80. package/components/PlayerAccountGamingLimitsWrapper2-s5SZNIjP.cjs +1 -0
  81. package/components/PlayerAccountGamingLimitsWrapper2-x4L94fha.js +1017 -0
  82. package/components/PlayerAccountGeneralConfirmationModal-B0kXXOye.js +364 -0
  83. package/components/PlayerAccountGeneralConfirmationModal-BIT_T-29.js +364 -0
  84. package/components/PlayerAccountGeneralConfirmationModal-BRCvYq3w.js +364 -0
  85. package/components/PlayerAccountGeneralConfirmationModal-CBYinFim.js +364 -0
  86. package/components/PlayerAccountGeneralConfirmationModal-CGsrVc5R.cjs +1 -0
  87. package/components/PlayerAccountGeneralConfirmationModal-DdoBD-jg.cjs +1 -0
  88. package/components/PlayerAccountMenu-8KOKoKVb.cjs +1 -0
  89. package/components/PlayerAccountMenu-Bfre06Le.cjs +1 -0
  90. package/components/PlayerAccountMenu-C_YGuNPM.js +684 -0
  91. package/components/PlayerAccountMenu-DN2PIyCS.js +705 -0
  92. package/components/PlayerAccountMenu-DqJbyUfh.js +706 -0
  93. package/components/PlayerAccountMenu-FryvTe0M.js +683 -0
  94. package/components/PlayerAccountModal-Bc_9P-LN.cjs +1 -0
  95. package/components/PlayerAccountModal-C3LgI3bI.js +209 -0
  96. package/components/PlayerAccountModal-C6u0YlOB.js +209 -0
  97. package/components/PlayerAccountModal-Cb9Cx84R.js +209 -0
  98. package/components/PlayerAccountModal-DfP5i5EL.cjs +1 -0
  99. package/components/PlayerAccountModal-DxF0TUrk.js +209 -0
  100. package/components/PlayerAccountNotifications-C8jpcaHS.js +368 -0
  101. package/components/PlayerAccountNotifications-CGAudNFs.js +369 -0
  102. package/components/PlayerAccountNotifications-Ck05XEl9.cjs +1 -0
  103. package/components/PlayerAccountNotifications-CmREqnee.cjs +1 -0
  104. package/components/PlayerAccountNotifications-xD7DJqe7.js +368 -0
  105. package/components/PlayerAccountNotifications-zizauj3S.js +369 -0
  106. package/components/PlayerAccountSelfExclusion-BIGBywgv.cjs +4171 -0
  107. package/components/PlayerAccountSelfExclusion-BOP9Y_Cl.js +17171 -0
  108. package/components/PlayerAccountSelfExclusion-CDVz-lP6.js +17138 -0
  109. package/components/PlayerAccountSelfExclusion-CJ4jfPui.js +17138 -0
  110. package/components/PlayerAccountSelfExclusion-Cfcq-ilJ.js +17171 -0
  111. package/components/PlayerAccountSelfExclusion-Cy05j-IP.cjs +4171 -0
  112. package/components/PlayerAccountTimeout-2YkNAJ9f.cjs +1 -0
  113. package/components/PlayerAccountTimeout-BW3T413k.js +950 -0
  114. package/components/PlayerAccountTimeout-BcsZ2sb4.js +950 -0
  115. package/components/PlayerAccountTimeout-CBKTomqH.cjs +1 -0
  116. package/components/PlayerAccountTimeout-Cx77nKle.js +950 -0
  117. package/components/PlayerAccountTimeout-DiMSoYxX.js +950 -0
  118. package/components/PlayerActiveBonuses-3N_s8OrY.js +1055 -0
  119. package/components/PlayerActiveBonuses-Bk-LUaGe.cjs +1 -0
  120. package/components/PlayerActiveBonuses-CacJcfPT.js +1056 -0
  121. package/components/PlayerActiveBonuses-Dyedxyle.js +1055 -0
  122. package/components/PlayerActiveBonuses-DzsnlkKd.cjs +1 -0
  123. package/components/PlayerActiveBonuses-hMskUSPf.js +1056 -0
  124. package/components/PlayerBonusCard-2TI6CPMg.js +699 -0
  125. package/components/PlayerBonusCard-BLQee3Yl.js +699 -0
  126. package/components/PlayerBonusCard-BtmQf1aE.js +699 -0
  127. package/components/PlayerBonusCard-CzDI2441.js +699 -0
  128. package/components/PlayerBonusCard-fmiQL149.cjs +1 -0
  129. package/components/PlayerBonusCard-seJw_ipN.cjs +1 -0
  130. package/components/PlayerBonusHistory-1zb5ypXm.js +937 -0
  131. package/components/PlayerBonusHistory-B_fcWrpb.cjs +1 -0
  132. package/components/PlayerBonusHistory-Cc7KuYdG.js +938 -0
  133. package/components/PlayerBonusHistory-Cl6yHmyn.cjs +1 -0
  134. package/components/PlayerBonusHistory-DTWoOB2F.js +937 -0
  135. package/components/PlayerBonusHistory-WRG91zGG.js +938 -0
  136. package/components/PlayerChangePassword-C25k7g0R.js +1173 -0
  137. package/components/PlayerChangePassword-C8JMSlO2.cjs +3 -0
  138. package/components/PlayerChangePassword-CRAV5XBF.js +1173 -0
  139. package/components/PlayerChangePassword-ChN8vXoe.js +1173 -0
  140. package/components/PlayerChangePassword-D2hz3KZY.js +1173 -0
  141. package/components/PlayerChangePassword-Dm7ojx3B.cjs +3 -0
  142. package/components/PlayerDeposit-C3LBDk7P.js +391 -0
  143. package/components/PlayerDeposit-D-vkpaj8.js +391 -0
  144. package/components/PlayerDeposit-D9vHJT5z.cjs +1 -0
  145. package/components/PlayerDeposit-Drn_qTXy.js +391 -0
  146. package/components/PlayerDeposit-H96LYwvc.cjs +1 -0
  147. package/components/PlayerDeposit-lFMe4Ubk.js +391 -0
  148. package/components/PlayerGamingHistory-A8ezawol.cjs +1 -0
  149. package/components/PlayerGamingHistory-CBybmkzJ.js +982 -0
  150. package/components/PlayerGamingHistory-D-g7DsZY.js +969 -0
  151. package/components/PlayerGamingHistory-D4BBX_NO.js +982 -0
  152. package/components/PlayerGamingHistory-kQXWPOVX.js +969 -0
  153. package/components/PlayerGamingHistory-nXcnrY9t.cjs +1 -0
  154. package/components/PlayerPendingWithdrawals-335u7VHy.cjs +1 -0
  155. package/components/PlayerPendingWithdrawals-Bkq_LzUX.js +310 -0
  156. package/components/PlayerPendingWithdrawals-Cc5b8V0M.cjs +1 -0
  157. package/components/PlayerPendingWithdrawals-CiE7UXZE.js +310 -0
  158. package/components/PlayerPendingWithdrawals-Cv8ar9i7.js +310 -0
  159. package/components/PlayerPendingWithdrawals-D0PnJ2Ry.js +310 -0
  160. package/components/PlayerProfileInfo-BZjVrvCn.cjs +1 -0
  161. package/components/PlayerProfileInfo-BtajfoNY.cjs +1 -0
  162. package/components/PlayerProfileInfo-C3sb-ekE.js +1804 -0
  163. package/components/PlayerProfileInfo-C6wcnHjE.js +1821 -0
  164. package/components/PlayerProfileInfo-ChVQdofV.js +1821 -0
  165. package/components/PlayerProfileInfo-DGa8IkvB.js +1804 -0
  166. package/components/PlayerRealityCheck-4dDx5fG9.js +668 -0
  167. package/components/PlayerRealityCheck-Bp0kcyji.js +652 -0
  168. package/components/PlayerRealityCheck-CLNviBS2.cjs +1 -0
  169. package/components/PlayerRealityCheck-DnV8RaMw.cjs +1 -0
  170. package/components/PlayerRealityCheck-FpmFAP1-.js +668 -0
  171. package/components/PlayerRealityCheck-zj5BHTDl.js +652 -0
  172. package/components/PlayerTransactionHistory-CCdvsW9A.cjs +1 -0
  173. package/components/PlayerTransactionHistory-CM91yXea.js +314 -0
  174. package/components/PlayerTransactionHistory-CYYFJ6EG.js +314 -0
  175. package/components/PlayerTransactionHistory-DbNzhWfM.js +314 -0
  176. package/components/PlayerTransactionHistory-Gz5Ae9tP.cjs +1 -0
  177. package/components/PlayerTransactionHistory-RmKm-89S.js +314 -0
  178. package/components/PlayerWithdrawal-BrBDWDhT.cjs +1 -0
  179. package/components/PlayerWithdrawal-CUYps7WV.js +365 -0
  180. package/components/PlayerWithdrawal-CcdByNbq.js +365 -0
  181. package/components/PlayerWithdrawal-CohuE2wz.js +365 -0
  182. package/components/PlayerWithdrawal-DMhVwQlF.cjs +1 -0
  183. package/components/PlayerWithdrawal-_cBpaGNe.js +365 -0
  184. package/es2015/player-account-controller.cjs +1 -1
  185. package/es2015/player-account-controller.js +1 -1
  186. package/esnext/player-account-controller.js +1 -1
  187. package/package.json +1 -1
  188. package/stencil/app-globals-0f993ce5-DgYhdguE.cjs +1 -0
  189. package/stencil/app-globals-0f993ce5-DzSE6TtH.js +13 -0
  190. package/stencil/checkbox-group-input_9-C0sxArC8.cjs +2104 -0
  191. package/stencil/checkbox-group-input_9-CgJXKrax.js +12351 -0
  192. package/stencil/checkbox-group-input_9-cgJtsdKg.js +12331 -0
  193. package/stencil/general-input-Bd9atiWx.js +48 -0
  194. package/stencil/general-input-CsKjNbmZ.js +48 -0
  195. package/stencil/general-input-DdanLnhp.cjs +1 -0
  196. package/stencil/index-1c9f7b34-Bc7D_MDc.js +566 -0
  197. package/stencil/index-1c9f7b34-CQG22CHt.cjs +1 -0
  198. package/stencil/index-1c9f7b34-DjxFQLNm.js +593 -0
  199. package/stencil/index-42a69622-Bf3iffRU.js +659 -0
  200. package/stencil/index-42a69622-D_Ld41zA.cjs +1 -0
  201. package/stencil/index-42a69622-sw0JKBUm.js +632 -0
  202. package/stencil/index-72d2f0c7-B6npgOpT.cjs +1 -0
  203. package/stencil/index-72d2f0c7-C1SVQLk_.js +642 -0
  204. package/stencil/index-72d2f0c7-DbRKphKh.js +626 -0
  205. package/stencil/index-7c2d76a2-Ac3uLCab.js +548 -0
  206. package/stencil/index-7c2d76a2-BhtzgVqi.js +532 -0
  207. package/stencil/index-7c2d76a2-BrBQDQDN.cjs +1 -0
  208. package/stencil/index-c68bbded-Ca8oRZ5p.js +572 -0
  209. package/stencil/index-c68bbded-lJvOfh6w.js +588 -0
  210. package/stencil/index-c68bbded-lic9DimW.cjs +1 -0
  211. package/stencil/password-input_2-BcA_GQhg.js +1420 -0
  212. package/stencil/password-input_2-CWC2OUx-.js +1420 -0
  213. package/stencil/password-input_2-D_l1ccPG.cjs +896 -0
  214. package/stencil/player-change-password-gm2-7b05cf53-BGg_is8g.cjs +1 -0
  215. package/stencil/player-change-password-gm2-7b05cf53-ChOp29_5.js +272 -0
  216. package/stencil/player-change-password-gm2-7b05cf53-CnV9s-Ih.js +272 -0
  217. package/stencil/player-change-password-gm2-B_kRjFUL.js +7 -0
  218. package/stencil/player-change-password-gm2-DEeeAs8O.js +25 -0
  219. package/stencil/player-change-password-gm2-DGfPRqEK.cjs +1 -0
  220. package/stencil/player-kyc-verification-2B5tE4Ms.js +885 -0
  221. package/stencil/player-kyc-verification-BV7JAA9D.js +863 -0
  222. package/stencil/player-kyc-verification-Bc4oE7cr.cjs +180 -0
  223. package/stencil/toggle-checkbox-input-CdUMWsZk.js +46 -0
  224. package/stencil/toggle-checkbox-input-CtT_ZCWu.cjs +1 -0
  225. package/stencil/toggle-checkbox-input-DXS0qpdk.js +46 -0
  226. package/stencil/ui-skeleton-82ccc79b-3ievvoeK.js +122 -0
  227. package/stencil/ui-skeleton-82ccc79b-BPwVGHA5.js +122 -0
  228. package/stencil/ui-skeleton-82ccc79b-BrQV4Gq-.cjs +1 -0
  229. package/stencil/ui-skeleton-BIkTgHQw.js +29 -0
  230. package/stencil/ui-skeleton-CYW2WO8b.js +11 -0
  231. package/stencil/ui-skeleton-DFziT7_7.cjs +1 -0
  232. package/stencil/user-deposit-withdrawal-CDH0Oqm0.cjs +59 -0
  233. package/stencil/user-deposit-withdrawal-CieORRUN.js +663 -0
  234. package/stencil/user-deposit-withdrawal-D7WNAnCv.js +685 -0
  235. package/stencil/user-transaction-history-BPKIXepd.cjs +1 -0
  236. package/stencil/user-transaction-history-C4pLTnxb.js +374 -0
  237. package/stencil/user-transaction-history-CegXbhhd.js +350 -0
@@ -0,0 +1,683 @@
1
+ import { a as me, $ as ye, S as ge, i as pe, f as C, c as de, s as fe, b as he, e as h, k as F, o as S, p as L, q as Ae, u as G, v as Pe, w as be, x as Me, z as we, A as ve, N as H, d as I, t as W, g as y, l as a, n as z, O as $, j as g, y as B, m as O, r as _e, a0 as Q, B as xe } from "./GeneralLogout-BVJrgB3o.js";
2
+ import "../stencil/ui-skeleton-CYW2WO8b.js";
3
+ function V(n, e) {
4
+ me(n, e);
5
+ }
6
+ function ke(n) {
7
+ ye.set(n);
8
+ }
9
+ const X = {
10
+ en: {
11
+ title: "My Account"
12
+ },
13
+ "zh-hk": {
14
+ title: "我的帳戶"
15
+ },
16
+ fr: {
17
+ title: "Mon compte"
18
+ },
19
+ tr: {
20
+ title: "Hesabım"
21
+ },
22
+ ro: {
23
+ title: "Contul meu"
24
+ },
25
+ es: {
26
+ title: "Mi Cuenta"
27
+ },
28
+ pt: {
29
+ title: "Minha Conta"
30
+ },
31
+ hr: {
32
+ title: "Moj račun"
33
+ },
34
+ "pt-br": {
35
+ title: "Minha conta"
36
+ },
37
+ "es-mx": {
38
+ title: "Mi cuenta"
39
+ },
40
+ "en-us": {
41
+ title: "My Account"
42
+ }
43
+ };
44
+ if (typeof window < "u") {
45
+ let n = function(e) {
46
+ return function(...t) {
47
+ try {
48
+ return e.apply(this, t);
49
+ } catch (l) {
50
+ if (l instanceof DOMException && l.message.includes("has already been used with this registry") || l.message.includes("Cannot define multiple custom elements with the same tag name"))
51
+ return !1;
52
+ throw l;
53
+ }
54
+ };
55
+ };
56
+ customElements.define = n(customElements.define), import("./GeneralLogout-BVJrgB3o.js").then((e) => e.a6).then(({ default: e }) => {
57
+ !customElements.get("general-logout") && customElements.define("general-logout", e.element);
58
+ });
59
+ }
60
+ function Ie(n) {
61
+ he(n, "svelte-io9slc", ".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, #D0046C));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, #D0046C));border-bottom:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.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}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}");
62
+ }
63
+ function Z(n, e, t) {
64
+ const l = n.slice();
65
+ return l[40] = e[t], l;
66
+ }
67
+ function J(n, e, t) {
68
+ const l = n.slice();
69
+ return l[37] = e[t], l;
70
+ }
71
+ function Ce(n) {
72
+ let e, t, l, i, s, m, A, P, v, b, f, M, u = (
73
+ /*isMobile*/
74
+ n[11] && Le(n)
75
+ ), c = (
76
+ /*isMobile*/
77
+ n[11] && Te(n)
78
+ ), p = H(
79
+ /*menuItems*/
80
+ n[6]
81
+ ), r = [];
82
+ for (let d = 0; d < p.length; d += 1)
83
+ r[d] = K(Z(n, p, d));
84
+ let x = !/*isMobile*/
85
+ n[11] && Ee(n);
86
+ return {
87
+ c() {
88
+ e = h("div"), t = h("div"), u && u.c(), l = I(), i = h("p"), s = W(
89
+ /*profileUsername*/
90
+ n[8]
91
+ ), m = I(), A = h("p"), P = W(
92
+ /*profileEmail*/
93
+ n[9]
94
+ ), v = I(), c && c.c(), b = I(), f = h("div");
95
+ for (let d = 0; d < r.length; d += 1)
96
+ r[d].c();
97
+ M = I(), x && x.c(), y(i, "class", "PlayerAccountMenuUser"), y(A, "class", "PlayerAccountMenuEmail"), y(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
98
+ (n[11] ? "PlayerAccountMenuHeaderMobile" : "")), y(f, "class", "PlayerAccountMenuList"), y(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
99
+ (n[11] ? "PlayerAccountMobileContainer" : "") + " " + /*mediaQuery*/
100
+ (n[12].matches && /*isMobile*/
101
+ n[11] ? "PlayerAccountTabletContainer" : ""));
102
+ },
103
+ m(d, _) {
104
+ F(d, e, _), a(e, t), u && u.m(t, null), a(t, l), a(t, i), a(i, s), a(t, m), a(t, A), a(A, P), a(t, v), c && c.m(t, null), a(e, b), a(e, f);
105
+ for (let w = 0; w < r.length; w += 1)
106
+ r[w] && r[w].m(f, null);
107
+ a(e, M), x && x.m(e, null);
108
+ },
109
+ p(d, _) {
110
+ if (
111
+ /*isMobile*/
112
+ d[11] && u.p(d, _), _[0] & /*profileUsername*/
113
+ 256 && z(
114
+ s,
115
+ /*profileUsername*/
116
+ d[8]
117
+ ), _[0] & /*profileEmail*/
118
+ 512 && z(
119
+ P,
120
+ /*profileEmail*/
121
+ d[9]
122
+ ), /*isMobile*/
123
+ d[11] && c.p(d, _), _[0] & /*selectedItem, menuItems, isMobile, openAccountSection*/
124
+ 10432
125
+ ) {
126
+ p = H(
127
+ /*menuItems*/
128
+ d[6]
129
+ );
130
+ let w;
131
+ for (w = 0; w < p.length; w += 1) {
132
+ const E = Z(d, p, w);
133
+ r[w] ? r[w].p(E, _) : (r[w] = K(E), r[w].c(), r[w].m(f, null));
134
+ }
135
+ for (; w < r.length; w += 1)
136
+ r[w].d(1);
137
+ r.length = p.length;
138
+ }
139
+ /*isMobile*/
140
+ d[11] || x.p(d, _);
141
+ },
142
+ d(d) {
143
+ d && L(e), u && u.d(), c && c.d(), $(r, d), x && x.d();
144
+ }
145
+ };
146
+ }
147
+ function Fe(n) {
148
+ let e, t, l, i, s, m, A, P, v, b, f = (
149
+ /*isMobile*/
150
+ n[11] && Be()
151
+ ), M = H(Array(18)), u = [];
152
+ for (let c = 0; c < M.length; c += 1)
153
+ u[c] = Y(J(n, M, c));
154
+ return {
155
+ c() {
156
+ e = h("div"), t = h("div"), f && f.c(), l = I(), i = h("ui-skeleton"), s = I(), m = h("ui-skeleton"), A = I(), P = h("div");
157
+ for (let c = 0; c < u.length; c += 1)
158
+ u[c].c();
159
+ v = I(), b = h("div"), b.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>', g(i, "structure", "title"), g(i, "width", "100px"), g(i, "height", "20px"), g(i, "margin-top", "10px"), g(m, "structure", "text"), g(m, "width", "200px"), g(m, "height", "20px"), y(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
160
+ (n[11] ? "PlayerAccountMenuHeaderMobile" : "")), y(P, "class", "PlayerAccountMenuList"), y(b, "class", "skeletonLogOut"), y(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
161
+ (n[11] ? "PlayerAccountMobileContainer" : "") + " " + /*mediaQuery*/
162
+ (n[12].matches && /*isMobile*/
163
+ n[11] ? "PlayerAccountTabletContainer" : ""));
164
+ },
165
+ m(c, p) {
166
+ F(c, e, p), a(e, t), f && f.m(t, null), a(t, l), a(t, i), a(t, s), a(t, m), a(e, A), a(e, P);
167
+ for (let r = 0; r < u.length; r += 1)
168
+ u[r] && u[r].m(P, null);
169
+ a(e, v), a(e, b);
170
+ },
171
+ p(c, p) {
172
+ if (p[0] & /*isMobile*/
173
+ 2048) {
174
+ M = H(Array(18));
175
+ let r;
176
+ for (r = 0; r < M.length; r += 1) {
177
+ const x = J(c, M, r);
178
+ u[r] ? u[r].p(x, p) : (u[r] = Y(x), u[r].c(), u[r].m(P, null));
179
+ }
180
+ for (; r < u.length; r += 1)
181
+ u[r].d(1);
182
+ u.length = M.length;
183
+ }
184
+ },
185
+ d(c) {
186
+ c && L(e), f && f.d(), $(u, c);
187
+ }
188
+ };
189
+ }
190
+ function Le(n) {
191
+ let e, t, l, i, s, m, A, P, v, b, f = (
192
+ /*$_*/
193
+ n[10]("title") + ""
194
+ ), M, u, c;
195
+ return {
196
+ c() {
197
+ e = h("div"), t = B("svg"), l = B("defs"), i = B("style"), s = W(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), m = B("g"), A = B("g"), P = B("path"), v = I(), b = h("h3"), M = W(f), y(P, "class", "aaa"), y(P, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), y(P, "transform", "translate(15 15) rotate(180)"), y(A, "transform", "translate(20 158)"), y(m, "transform", "translate(-20 -158)"), y(t, "xmlns", "http://www.w3.org/2000/svg"), y(t, "width", "15"), y(t, "height", "15"), y(t, "viewBox", "0 0 15 15"), y(b, "class", "PlayerAccountMenuCategoryTitle"), y(e, "class", "PlayerAccountMenuCategoryWrapper");
198
+ },
199
+ m(p, r) {
200
+ F(p, e, r), a(e, t), a(t, l), a(l, i), a(i, s), a(t, m), a(m, A), a(A, P), a(e, v), a(e, b), a(b, M), u || (c = [
201
+ O(
202
+ t,
203
+ "click",
204
+ /*goToHome*/
205
+ n[14]
206
+ ),
207
+ O(
208
+ b,
209
+ "click",
210
+ /*goToHome*/
211
+ n[14]
212
+ )
213
+ ], u = !0);
214
+ },
215
+ p(p, r) {
216
+ r[0] & /*$_*/
217
+ 1024 && f !== (f = /*$_*/
218
+ p[10]("title") + "") && z(M, f);
219
+ },
220
+ d(p) {
221
+ p && L(e), u = !1, _e(c);
222
+ }
223
+ };
224
+ }
225
+ function Te(n) {
226
+ let e, t;
227
+ return {
228
+ c() {
229
+ e = h("div"), t = h("general-logout"), g(
230
+ t,
231
+ "endpoint",
232
+ /*endpoint*/
233
+ n[1]
234
+ ), g(
235
+ t,
236
+ "session",
237
+ /*session*/
238
+ n[0]
239
+ ), g(t, "buttonlocation", "PlayerAccountMenu"), g(
240
+ t,
241
+ "clientstyling",
242
+ /*clientstyling*/
243
+ n[2]
244
+ ), g(
245
+ t,
246
+ "clientstylingurl",
247
+ /*clientstylingurl*/
248
+ n[3]
249
+ ), y(e, "class", "PlayerAccountLogOutArea");
250
+ },
251
+ m(l, i) {
252
+ F(l, e, i), a(e, t);
253
+ },
254
+ p(l, i) {
255
+ i[0] & /*endpoint*/
256
+ 2 && g(
257
+ t,
258
+ "endpoint",
259
+ /*endpoint*/
260
+ l[1]
261
+ ), i[0] & /*session*/
262
+ 1 && g(
263
+ t,
264
+ "session",
265
+ /*session*/
266
+ l[0]
267
+ ), i[0] & /*clientstyling*/
268
+ 4 && g(
269
+ t,
270
+ "clientstyling",
271
+ /*clientstyling*/
272
+ l[2]
273
+ ), i[0] & /*clientstylingurl*/
274
+ 8 && g(
275
+ t,
276
+ "clientstylingurl",
277
+ /*clientstylingurl*/
278
+ l[3]
279
+ );
280
+ },
281
+ d(l) {
282
+ l && L(e);
283
+ }
284
+ };
285
+ }
286
+ function K(n) {
287
+ let e, t, l, i, s, m, A = (
288
+ /*menuItem*/
289
+ n[40].label + ""
290
+ ), P, v, b, f, M;
291
+ function u() {
292
+ return (
293
+ /*click_handler*/
294
+ n[25](
295
+ /*menuItem*/
296
+ n[40]
297
+ )
298
+ );
299
+ }
300
+ return {
301
+ c() {
302
+ e = h("div"), t = h("p"), l = h("img"), s = I(), m = h("span"), P = W(A), v = I(), y(l, "class", "PlayerAccountMenuItemIcon " + /*isMobile*/
303
+ (n[11] ? "PlayerAccountMenuItemIconMobile" : "")), Q(l.src, i = /*menuItem*/
304
+ n[40].img) || y(l, "src", i), y(m, "class", "PlayerAccountMenuItemTitle"), y(t, "class", "PlayerAccountMenuItemWrapper"), y(e, "class", b = "PlayerAccountMenuItemBox " + /*selectedItem*/
305
+ (n[7] === /*menuItem*/
306
+ n[40].id && !/*isMobile*/
307
+ n[11] ? "PlayerAccountMenuActiveItemBox" : ""));
308
+ },
309
+ m(c, p) {
310
+ F(c, e, p), a(e, t), a(t, l), a(t, s), a(t, m), a(m, P), a(e, v), f || (M = O(e, "click", u), f = !0);
311
+ },
312
+ p(c, p) {
313
+ n = c, p[0] & /*menuItems*/
314
+ 64 && !Q(l.src, i = /*menuItem*/
315
+ n[40].img) && y(l, "src", i), p[0] & /*menuItems*/
316
+ 64 && A !== (A = /*menuItem*/
317
+ n[40].label + "") && z(P, A), p[0] & /*selectedItem, menuItems*/
318
+ 192 && b !== (b = "PlayerAccountMenuItemBox " + /*selectedItem*/
319
+ (n[7] === /*menuItem*/
320
+ n[40].id && !/*isMobile*/
321
+ n[11] ? "PlayerAccountMenuActiveItemBox" : "")) && y(e, "class", b);
322
+ },
323
+ d(c) {
324
+ c && L(e), f = !1, M();
325
+ }
326
+ };
327
+ }
328
+ function Ee(n) {
329
+ let e, t;
330
+ return {
331
+ c() {
332
+ e = h("div"), t = h("general-logout"), g(
333
+ t,
334
+ "endpoint",
335
+ /*endpoint*/
336
+ n[1]
337
+ ), g(
338
+ t,
339
+ "session",
340
+ /*session*/
341
+ n[0]
342
+ ), g(t, "buttonlocation", "PlayerAccountMenu"), g(
343
+ t,
344
+ "clientstyling",
345
+ /*clientstyling*/
346
+ n[2]
347
+ ), g(
348
+ t,
349
+ "clientstylingurl",
350
+ /*clientstylingurl*/
351
+ n[3]
352
+ ), y(e, "class", "PlayerAccountLogOutArea");
353
+ },
354
+ m(l, i) {
355
+ F(l, e, i), a(e, t);
356
+ },
357
+ p(l, i) {
358
+ i[0] & /*endpoint*/
359
+ 2 && g(
360
+ t,
361
+ "endpoint",
362
+ /*endpoint*/
363
+ l[1]
364
+ ), i[0] & /*session*/
365
+ 1 && g(
366
+ t,
367
+ "session",
368
+ /*session*/
369
+ l[0]
370
+ ), i[0] & /*clientstyling*/
371
+ 4 && g(
372
+ t,
373
+ "clientstyling",
374
+ /*clientstyling*/
375
+ l[2]
376
+ ), i[0] & /*clientstylingurl*/
377
+ 8 && g(
378
+ t,
379
+ "clientstylingurl",
380
+ /*clientstylingurl*/
381
+ l[3]
382
+ );
383
+ },
384
+ d(l) {
385
+ l && L(e);
386
+ }
387
+ };
388
+ }
389
+ function Be(n) {
390
+ let e;
391
+ return {
392
+ c() {
393
+ e = h("div"), e.innerHTML = '<ui-skeleton structure="title" width="30px" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="30px"></ui-skeleton>', y(e, "class", "PlayerAccountMenuCategoryWrapper");
394
+ },
395
+ m(t, l) {
396
+ F(t, e, l);
397
+ },
398
+ d(t) {
399
+ t && L(e);
400
+ }
401
+ };
402
+ }
403
+ function We(n) {
404
+ let e;
405
+ return {
406
+ c() {
407
+ e = h("ui-skeleton"), g(e, "structure", "circle"), g(e, "size", "20px");
408
+ },
409
+ m(t, l) {
410
+ F(t, e, l);
411
+ },
412
+ d(t) {
413
+ t && L(e);
414
+ }
415
+ };
416
+ }
417
+ function Y(n) {
418
+ let e, t, l, i, s = !/*isMobile*/
419
+ n[11] && We();
420
+ return {
421
+ c() {
422
+ e = h("div"), s && s.c(), t = I(), l = h("ui-skeleton"), i = I(), g(l, "structure", "rectangle"), g(l, "width", "100%"), g(
423
+ l,
424
+ "height",
425
+ /*isMobile*/
426
+ n[11] ? "120px" : "20px"
427
+ ), y(e, "class", "PlayerAccountItemWrap " + /*isMobile*/
428
+ (n[11] ? "PlayerAccountItemWrapMobile" : ""));
429
+ },
430
+ m(m, A) {
431
+ F(m, e, A), s && s.m(e, null), a(e, t), a(e, l), a(e, i);
432
+ },
433
+ p: S,
434
+ d(m) {
435
+ m && L(e), s && s.d();
436
+ }
437
+ };
438
+ }
439
+ function He(n) {
440
+ let e;
441
+ function t(s, m) {
442
+ return (
443
+ /*skeletonLoading*/
444
+ s[5] ? Fe : Ce
445
+ );
446
+ }
447
+ let l = t(n), i = l(n);
448
+ return {
449
+ c() {
450
+ e = h("div"), i.c();
451
+ },
452
+ m(s, m) {
453
+ F(s, e, m), i.m(e, null), n[26](e);
454
+ },
455
+ p(s, m) {
456
+ l === (l = t(s)) && i ? i.p(s, m) : (i.d(1), i = l(s), i && (i.c(), i.m(e, null)));
457
+ },
458
+ i: S,
459
+ o: S,
460
+ d(s) {
461
+ s && L(e), i.d(), n[26](null);
462
+ }
463
+ };
464
+ }
465
+ function ze(n, e, t) {
466
+ let l;
467
+ Ae(n, xe, (o) => t(10, l = o));
468
+ let { endpoint: i = "" } = e, { cmsendpoint: s = "" } = e, { env: m = "" } = e, { session: A = "" } = e, { playerid: P = "" } = e, { lang: v = "en" } = e, { userroles: b = "" } = e, { clientstyling: f = "" } = e, { clientstylingurl: M = "" } = e, { translationurl: u = "" } = e, { activemenuitem: c = "" } = e, { mbsource: p } = e, r = !1, x = !1, d = !0, _, w = [], E, j = window.navigator.userAgent, ee = G(j) !== "PC", D = "", U = "";
469
+ const te = window.matchMedia("(min-width: 768px)"), ne = () => {
470
+ fetch(u).then((k) => k.json()).then((k) => {
471
+ Object.keys(k).forEach((T) => {
472
+ V(T, k[T]);
473
+ });
474
+ }).catch((k) => {
475
+ console.error(k);
476
+ });
477
+ };
478
+ Object.keys(X).forEach((o) => {
479
+ V(o, X[o]);
480
+ });
481
+ const R = (o) => {
482
+ if (o.data)
483
+ switch (o.data.type) {
484
+ case "UserSessionID":
485
+ t(0, A = o.data.session);
486
+ break;
487
+ }
488
+ }, le = () => {
489
+ let o = G(j);
490
+ if (o)
491
+ return o === "PC" ? "dk" : "mtWeb";
492
+ }, oe = () => {
493
+ const o = new URL(`${s}/${v}/profile-menu?env=${m}`);
494
+ o.searchParams.append("device", le()), fetch(o.href).then((k) => k.json()).then((k) => {
495
+ t(6, w = k), q();
496
+ }).catch((k) => {
497
+ console.error("Error getting menu items", k);
498
+ }).finally(() => {
499
+ t(23, r = !0);
500
+ });
501
+ }, ie = () => {
502
+ let o = new URL(`${i}/v1/player/${P}/profile`);
503
+ o.searchParams.append("userRoles", b);
504
+ let k = {
505
+ method: "GET",
506
+ headers: { "X-SessionID": A }
507
+ };
508
+ fetch(o.href, k).then((T) => T.json()).then(
509
+ (T) => {
510
+ t(8, D = T.username), t(9, U = T.email);
511
+ },
512
+ (T) => {
513
+ console.error(T);
514
+ }
515
+ ).finally(() => {
516
+ t(24, x = !0);
517
+ });
518
+ }, N = (o) => {
519
+ window.postMessage({ type: "ChangeAccountPage", page: o }, window.location.href), t(7, E = o.id);
520
+ }, q = () => {
521
+ t(7, E = w.find((o) => o.path.includes(c))?.id);
522
+ }, re = () => {
523
+ ke(v);
524
+ }, ae = () => {
525
+ ie();
526
+ }, ce = () => {
527
+ window.postMessage({ type: "GoToHomepage" }, window.location.href);
528
+ };
529
+ Pe(() => (window.addEventListener("message", R, !1), () => {
530
+ window.removeEventListener("message", R);
531
+ }));
532
+ const se = (o) => N(o);
533
+ function ue(o) {
534
+ we[o ? "unshift" : "push"](() => {
535
+ _ = o, t(4, _);
536
+ });
537
+ }
538
+ return n.$$set = (o) => {
539
+ "endpoint" in o && t(1, i = o.endpoint), "cmsendpoint" in o && t(15, s = o.cmsendpoint), "env" in o && t(16, m = o.env), "session" in o && t(0, A = o.session), "playerid" in o && t(17, P = o.playerid), "lang" in o && t(18, v = o.lang), "userroles" in o && t(19, b = o.userroles), "clientstyling" in o && t(2, f = o.clientstyling), "clientstylingurl" in o && t(3, M = o.clientstylingurl), "translationurl" in o && t(20, u = o.translationurl), "activemenuitem" in o && t(21, c = o.activemenuitem), "mbsource" in o && t(22, p = o.mbsource);
540
+ }, n.$$.update = () => {
541
+ n.$$.dirty[0] & /*menuLoaded, playerInfoLoaded*/
542
+ 25165824 && t(5, d = !r || !x), n.$$.dirty[0] & /*lang*/
543
+ 262144 && v && re(), n.$$.dirty[0] & /*endpoint, session, playerid, lang*/
544
+ 393219 && i && A && P && v && ae(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
545
+ 360448 && s && v && m && oe(), n.$$.dirty[0] & /*activemenuitem*/
546
+ 2097152 && c && q(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
547
+ 20 && f && _ && ve(_, f), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
548
+ 24 && M && _ && be(_, M), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
549
+ 4194320 && p && _ && Me(_, `${p}.Style`), n.$$.dirty[0] & /*translationurl*/
550
+ 1048576 && u && ne();
551
+ }, [
552
+ A,
553
+ i,
554
+ f,
555
+ M,
556
+ _,
557
+ d,
558
+ w,
559
+ E,
560
+ D,
561
+ U,
562
+ l,
563
+ ee,
564
+ te,
565
+ N,
566
+ ce,
567
+ s,
568
+ m,
569
+ P,
570
+ v,
571
+ b,
572
+ u,
573
+ c,
574
+ p,
575
+ r,
576
+ x,
577
+ se,
578
+ ue
579
+ ];
580
+ }
581
+ class Se extends ge {
582
+ constructor(e) {
583
+ super(), pe(
584
+ this,
585
+ e,
586
+ ze,
587
+ He,
588
+ fe,
589
+ {
590
+ endpoint: 1,
591
+ cmsendpoint: 15,
592
+ env: 16,
593
+ session: 0,
594
+ playerid: 17,
595
+ lang: 18,
596
+ userroles: 19,
597
+ clientstyling: 2,
598
+ clientstylingurl: 3,
599
+ translationurl: 20,
600
+ activemenuitem: 21,
601
+ mbsource: 22
602
+ },
603
+ Ie,
604
+ [-1, -1]
605
+ );
606
+ }
607
+ get endpoint() {
608
+ return this.$$.ctx[1];
609
+ }
610
+ set endpoint(e) {
611
+ this.$$set({ endpoint: e }), C();
612
+ }
613
+ get cmsendpoint() {
614
+ return this.$$.ctx[15];
615
+ }
616
+ set cmsendpoint(e) {
617
+ this.$$set({ cmsendpoint: e }), C();
618
+ }
619
+ get env() {
620
+ return this.$$.ctx[16];
621
+ }
622
+ set env(e) {
623
+ this.$$set({ env: e }), C();
624
+ }
625
+ get session() {
626
+ return this.$$.ctx[0];
627
+ }
628
+ set session(e) {
629
+ this.$$set({ session: e }), C();
630
+ }
631
+ get playerid() {
632
+ return this.$$.ctx[17];
633
+ }
634
+ set playerid(e) {
635
+ this.$$set({ playerid: e }), C();
636
+ }
637
+ get lang() {
638
+ return this.$$.ctx[18];
639
+ }
640
+ set lang(e) {
641
+ this.$$set({ lang: e }), C();
642
+ }
643
+ get userroles() {
644
+ return this.$$.ctx[19];
645
+ }
646
+ set userroles(e) {
647
+ this.$$set({ userroles: e }), C();
648
+ }
649
+ get clientstyling() {
650
+ return this.$$.ctx[2];
651
+ }
652
+ set clientstyling(e) {
653
+ this.$$set({ clientstyling: e }), C();
654
+ }
655
+ get clientstylingurl() {
656
+ return this.$$.ctx[3];
657
+ }
658
+ set clientstylingurl(e) {
659
+ this.$$set({ clientstylingurl: e }), C();
660
+ }
661
+ get translationurl() {
662
+ return this.$$.ctx[20];
663
+ }
664
+ set translationurl(e) {
665
+ this.$$set({ translationurl: e }), C();
666
+ }
667
+ get activemenuitem() {
668
+ return this.$$.ctx[21];
669
+ }
670
+ set activemenuitem(e) {
671
+ this.$$set({ activemenuitem: e }), C();
672
+ }
673
+ get mbsource() {
674
+ return this.$$.ctx[22];
675
+ }
676
+ set mbsource(e) {
677
+ this.$$set({ mbsource: e }), C();
678
+ }
679
+ }
680
+ de(Se, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activemenuitem: {}, mbsource: {} }, [], [], !0);
681
+ export {
682
+ Se as default
683
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-DMKG3DPv.cjs");function g(n,{delay:e=0,duration:i=400,easing:l=t.identity}={}){const s=+getComputedStyle(n).opacity;return{delay:e,duration:i,easing:l,css:r=>`opacity: ${r*s}`}}function v(n){t.append_styles(n,"svelte-126fglp","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}")}function y(n){let e,i,l,s,r;const f=n[9].default,u=t.create_slot(f,n,n[8],null);return{c(){e=t.element("div"),i=t.element("div"),l=t.element("div"),u&&u.c(),t.attr(l,"class","ModalContainer"),t.attr(i,"class","ModalWindow"),t.attr(i,"id","Modal")},m(a,c){t.insert(a,e,c),t.append(e,i),t.append(i,l),u&&u.m(l,null),n[10](i),n[11](e),r=!0},p(a,c){n=a,u&&u.p&&(!r||c&256)&&t.update_slot_base(u,f,n,n[8],r?t.get_slot_changes(f,n[8],c,null):t.get_all_dirty_from_scope(n[8]),null)},i(a){r||(t.transition_in(u,a),a&&t.add_render_callback(()=>{r&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!0)),s.run(1))}),r=!0)},o(a){t.transition_out(u,a),a&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!1)),s.run(0)),r=!1},d(a){a&&t.detach(e),u&&u.d(a),n[10](null),a&&s&&s.end(),n[11](null)}}}function M(n){let e,i,l=n[0]&&y(n);return{c(){l&&l.c(),e=t.empty()},m(s,r){l&&l.m(s,r),t.insert(s,e,r),i=!0},p(s,[r]){s[0]?l?(l.p(s,r),r&1&&t.transition_in(l,1)):(l=y(s),l.c(),t.transition_in(l,1),l.m(e.parentNode,e)):l&&(t.group_outros(),t.transition_out(l,1,1,()=>{l=null}),t.check_outros())},i(s){i||(t.transition_in(l),i=!0)},o(s){t.transition_out(l),i=!1},d(s){s&&t.detach(e),l&&l.d(s)}}}function k(n,e,i){let{$$slots:l={},$$scope:s}=e,{show:r=!1}=e,{duration:f=350}=e,{clientstyling:u=""}=e,{clientstylingurl:a=""}=e,{mbsource:c}=e,{showmodaleventname:m="ShowLimitsConfirmationModal"}=e,d,_;const h=o=>{switch(o.data.type){case"ModalClosed":i(0,r=!1);break;case m:i(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href);break}};t.onMount(()=>(window.addEventListener("message",h,!1),()=>{window.removeEventListener("message",h)}));function w(o){t.binding_callbacks[o?"unshift":"push"](()=>{_=o,i(3,_)})}function S(o){t.binding_callbacks[o?"unshift":"push"](()=>{d=o,i(2,d)})}return n.$$set=o=>{"show"in o&&i(0,r=o.show),"duration"in o&&i(1,f=o.duration),"clientstyling"in o&&i(4,u=o.clientstyling),"clientstylingurl"in o&&i(5,a=o.clientstylingurl),"mbsource"in o&&i(6,c=o.mbsource),"showmodaleventname"in o&&i(7,m=o.showmodaleventname),"$$scope"in o&&i(8,s=o.$$scope)},n.$$.update=()=>{n.$$.dirty&20&&u&&d&&t.setClientStyling(d,u),n.$$.dirty&36&&a&&d&&t.setClientStylingURL(d,a),n.$$.dirty&68&&c&&d&&t.setStreamStyling(d,`${c}.Style`)},[r,f,d,_,u,a,c,m,s,l,w,S]}class b extends t.SvelteComponent{constructor(e){super(),t.init(this,e,k,M,t.safe_not_equal,{show:0,duration:1,clientstyling:4,clientstylingurl:5,mbsource:6,showmodaleventname:7},v)}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),t.flush()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get showmodaleventname(){return this.$$.ctx[7]}set showmodaleventname(e){this.$$set({showmodaleventname:e}),t.flush()}}t.create_custom_element(b,{show:{type:"Boolean"},duration:{},clientstyling:{},clientstylingurl:{},mbsource:{},showmodaleventname:{}},["default"],[],!0);exports.default=b;