@everymatrix/player-account-controller 1.54.4 → 1.54.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/components/{GeneralLogout-Ddt-oH9k.js → GeneralLogout-ChXyfO7j.js} +504 -512
  2. package/components/GeneralLogout-CoXr5Hra.js +4819 -0
  3. package/components/GeneralLogout-JiIri-az.cjs +8 -0
  4. package/components/PlayerAccountBettingHistory-C4SfQEr4.js +333 -0
  5. package/components/{PlayerAccountBettingHistory-C7xwYi03.js → PlayerAccountBettingHistory-CElNilNd.js} +24 -24
  6. package/components/PlayerAccountBettingHistory-CSI5k3hd.cjs +1 -0
  7. package/components/PlayerAccountBiometrics-BS3jkUXn.cjs +1 -0
  8. package/components/{PlayerAccountBiometrics-D7WS5cnI.js → PlayerAccountBiometrics-D9kYcZXR.js} +26 -26
  9. package/components/PlayerAccountBiometrics-orQ-qG9h.js +307 -0
  10. package/components/{PlayerAccountClosure-yRlo8hXR.js → PlayerAccountClosure-CHUq23nB.js} +13 -13
  11. package/components/PlayerAccountClosure-CWd3utu_.js +347 -0
  12. package/components/PlayerAccountClosure-DdfqiT7d.cjs +1 -0
  13. package/components/{PlayerAccountController-BZYAo3oo.js → PlayerAccountController-BclvS237.js} +126 -126
  14. package/components/PlayerAccountController-DEXL47fX.js +6671 -0
  15. package/components/PlayerAccountController-DX3vsM6e.cjs +1 -0
  16. package/components/PlayerAccountGamingLimits-CKnItii4.cjs +1 -0
  17. package/components/{PlayerAccountGamingLimits-CTBhVGgC.js → PlayerAccountGamingLimits-DXQNmZKD.js} +19 -19
  18. package/components/PlayerAccountGamingLimits-Db6qUAS-.js +766 -0
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-CuQvNzww.js → PlayerAccountGamingLimitsConfirmationModal-i09zMH6w.js} +59 -59
  20. package/components/PlayerAccountGamingLimitsConfirmationModal-jZS53-sU.cjs +1 -0
  21. package/components/PlayerAccountGamingLimitsConfirmationModal-l4fu3WOl.js +310 -0
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-Du2YQlDU.js → PlayerAccountGamingLimitsGroupEdit-BIt0U7Ia.js} +51 -51
  23. package/components/PlayerAccountGamingLimitsGroupEdit-CsnzS7iF.js +4170 -0
  24. package/components/PlayerAccountGamingLimitsGroupEdit-DZlV6G_9.cjs +10 -0
  25. package/components/PlayerAccountGamingLimitsHistory2-CrW3EIzV.cjs +1 -0
  26. package/components/{PlayerAccountGamingLimitsHistory2-CXKA0L0d.js → PlayerAccountGamingLimitsHistory2-D04L-msb.js} +44 -44
  27. package/components/PlayerAccountGamingLimitsHistory2-DA5YY1gv.js +767 -0
  28. package/components/{PlayerAccountGamingLimitsInfoCard-CWTybgoQ.js → PlayerAccountGamingLimitsInfoCard-B2YB4bdP.js} +95 -95
  29. package/components/PlayerAccountGamingLimitsInfoCard-B4t7J9Ea.js +1513 -0
  30. package/components/PlayerAccountGamingLimitsInfoCard-CaJYYEdy.cjs +1 -0
  31. package/components/PlayerAccountGamingLimitsPage2Gm16-B1GlGvDK.cjs +21 -0
  32. package/components/PlayerAccountGamingLimitsPage2Gm16-CbtwzTC5.js +3283 -0
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16-CXjNcIFP.js → PlayerAccountGamingLimitsPage2Gm16-D8OKZxQt.js} +90 -90
  34. package/components/{PlayerAccountGamingLimitsPopup-CJu5RRl6.js → PlayerAccountGamingLimitsPopup-B7ZXSiK5.js} +17 -17
  35. package/components/PlayerAccountGamingLimitsPopup-C9KoZcRj.cjs +1 -0
  36. package/components/PlayerAccountGamingLimitsPopup-DxXAP_Yw.js +344 -0
  37. package/components/{PlayerAccountGamingLimitsWrapper2-BdpxEDlV.js → PlayerAccountGamingLimitsWrapper2-BoFnZpPK.js} +8 -8
  38. package/components/PlayerAccountGamingLimitsWrapper2-Dll6Amu9.cjs +1 -0
  39. package/components/PlayerAccountGamingLimitsWrapper2-eSNYZCaw.js +866 -0
  40. package/components/PlayerAccountGeneralConfirmationModal-B-p3sJZ3.cjs +1 -0
  41. package/components/{PlayerAccountGeneralConfirmationModal-DG0N686t.js → PlayerAccountGeneralConfirmationModal-DLBQH_sl.js} +66 -66
  42. package/components/PlayerAccountGeneralConfirmationModal-DhTWcbuE.js +365 -0
  43. package/components/PlayerAccountMenu-BGRoL3Yz.js +579 -0
  44. package/components/{PlayerAccountMenu-CZBa8_5G.js → PlayerAccountMenu-BxjdHhZ_.js} +17 -17
  45. package/components/PlayerAccountMenu-Csb1tUf_.cjs +1 -0
  46. package/components/{PlayerAccountModal-BmKjtXKT.js → PlayerAccountModal-C4nIa5u0.js} +28 -28
  47. package/components/PlayerAccountModal-D29fr970.js +213 -0
  48. package/components/PlayerAccountModal-DabmJiP4.cjs +1 -0
  49. package/components/{PlayerAccountNotifications-B4Ht-hHj.js → PlayerAccountNotifications-4sGKSJWy.js} +16 -16
  50. package/components/PlayerAccountNotifications-C3rPIsKp.js +261 -0
  51. package/components/PlayerAccountNotifications-O92_s-dm.cjs +1 -0
  52. package/components/PlayerAccountSelfExclusion-BkBWGAy2.cjs +3557 -0
  53. package/components/PlayerAccountSelfExclusion-CpKuxBrZ.js +16678 -0
  54. package/components/{PlayerAccountSelfExclusion-DxGHXTb8.js → PlayerAccountSelfExclusion-U9dfheYH.js} +11029 -12570
  55. package/components/PlayerAccountTimeout-CucYpS_w.cjs +1 -0
  56. package/components/{PlayerAccountTimeout-DOSjICsY.js → PlayerAccountTimeout-DIRXKowJ.js} +25 -25
  57. package/components/PlayerAccountTimeout-c2osWNku.js +819 -0
  58. package/components/{PlayerActiveBonuses-DMAG7NUP.js → PlayerActiveBonuses-B2QAPJxC.js} +49 -49
  59. package/components/PlayerActiveBonuses-DDcAwy_n.js +1089 -0
  60. package/components/PlayerActiveBonuses-cecVnp46.cjs +1 -0
  61. package/components/{PlayerBonusCard-Dss1REmn.js → PlayerBonusCard-BQU7JBPr.js} +50 -50
  62. package/components/PlayerBonusCard-C9Xdv-lu.cjs +1 -0
  63. package/components/PlayerBonusCard-TYI-WkBy.js +701 -0
  64. package/components/PlayerBonusHistory-Boz8c3tb.js +919 -0
  65. package/components/PlayerBonusHistory-CMPf8GQz.cjs +1 -0
  66. package/components/PlayerBonusHistory-cNqY_wfD.js +920 -0
  67. package/components/{PlayerChangePassword-DnCj-wcc.js → PlayerChangePassword-BGxYGFs-.js} +103 -103
  68. package/components/PlayerChangePassword-Dl3Pgpul.js +1177 -0
  69. package/components/PlayerChangePassword-X_GfgxAV.cjs +3 -0
  70. package/components/{PlayerDeposit-CHIQ8EaC.js → PlayerDeposit-BzSW3HMj.js} +25 -25
  71. package/components/PlayerDeposit-CqpNLpaq.cjs +1 -0
  72. package/components/PlayerDeposit-kjy658sM.js +395 -0
  73. package/components/PlayerGamingHistory-B6KJDVn0.cjs +1 -0
  74. package/components/PlayerGamingHistory-BW5rigFC.js +986 -0
  75. package/components/PlayerGamingHistory-DIgLxCfL.js +973 -0
  76. package/components/PlayerPendingWithdrawals--W6Dfn3K.cjs +1 -0
  77. package/components/{PlayerPendingWithdrawals-BbTa7_8U.js → PlayerPendingWithdrawals-BzOmRYiC.js} +33 -33
  78. package/components/PlayerPendingWithdrawals-pV1C12y5.js +311 -0
  79. package/components/PlayerProfileInfo-BTgis7wR.cjs +1 -0
  80. package/components/{PlayerProfileInfo-CvAqD3Dk.js → PlayerProfileInfo-CTgSfW-l.js} +45 -45
  81. package/components/PlayerProfileInfo-DkVAYiPX.js +1753 -0
  82. package/components/PlayerRealityCheck-BcsDhvm0.cjs +1 -0
  83. package/components/{PlayerRealityCheck-3d-B64ie.js → PlayerRealityCheck-BdZDs3Tl.js} +26 -26
  84. package/components/PlayerRealityCheck-DT3kOky2.js +598 -0
  85. package/components/PlayerTransactionHistory-BL92RRLF.cjs +1 -0
  86. package/components/{PlayerTransactionHistory-BYJNabMB.js → PlayerTransactionHistory-BQIA4QRw.js} +23 -23
  87. package/components/PlayerTransactionHistory-Yhwt7kUa.js +315 -0
  88. package/components/{PlayerWithdrawal-DDWroufG.js → PlayerWithdrawal-Cgv9nZE8.js} +20 -20
  89. package/components/PlayerWithdrawal-KgqM9wo-.cjs +1 -0
  90. package/components/PlayerWithdrawal-uB46JhmK.js +369 -0
  91. package/es2015/player-account-controller.cjs +1 -0
  92. package/es2015/player-account-controller.js +16 -0
  93. package/esnext/player-account-controller.js +1 -1
  94. package/package.json +1 -1
  95. package/stencil/app-globals-0f993ce5-8artnnwr.cjs +1 -0
  96. package/stencil/checkbox-group-input_9-AKw0biZc.cjs +2045 -0
  97. package/stencil/checkbox-group-input_9-BewIfW-f.js +13203 -0
  98. package/stencil/checkbox-group-input_9-CbFpcwPG.js +13237 -0
  99. package/stencil/{general-input-DnFPstQP.js → general-input-BEcUF0Mm.js} +1 -1
  100. package/stencil/general-input-DI0pw0ot.cjs +1 -0
  101. package/stencil/general-input-DKyA-W8i.js +48 -0
  102. package/stencil/index-581287aa-CC7128Vz.js +654 -0
  103. package/stencil/index-581287aa-D5QW29QV.cjs +1 -0
  104. package/stencil/index-581287aa-D8NTWa_9.js +638 -0
  105. package/stencil/index-8b4525de-BFiXEsaX.cjs +1 -0
  106. package/stencil/index-8b4525de-C2xAv-3x.js +708 -0
  107. package/stencil/index-8b4525de-DeHXGvRF.js +692 -0
  108. package/stencil/index-a76d30c7-CFX9mSqu.cjs +1 -0
  109. package/stencil/index-a76d30c7-CQrAWNu0.js +658 -0
  110. package/stencil/index-a76d30c7-PfqrSVyu.js +631 -0
  111. package/stencil/index-c0196f50-3kAjMpUS.cjs +1 -0
  112. package/stencil/index-c0196f50-BjscP7kj.js +697 -0
  113. package/stencil/index-c0196f50-aE1zPmtS.js +724 -0
  114. package/stencil/locale-B5abSHU_.cjs +1 -0
  115. package/stencil/password-input_2-D97O8QAr.cjs +105 -0
  116. package/stencil/password-input_2-eDchPH-o.js +569 -0
  117. package/stencil/password-input_2-vTvSUJey.js +569 -0
  118. package/stencil/{player-change-password-gm2-DR3e2gh5.js → player-change-password-gm2-D4jpQFwb.js} +1 -1
  119. package/stencil/player-change-password-gm2-DSTqyOhE.js +25 -0
  120. package/stencil/player-change-password-gm2-Dw3D3ckz.cjs +1 -0
  121. package/stencil/{player-change-password-gm2-98dcb7bc-gLcZhl3S.js → player-change-password-gm2-e732ee8e-BjoYj-89.js} +1 -1
  122. package/stencil/player-change-password-gm2-e732ee8e-BqRUxIre.cjs +1 -0
  123. package/stencil/player-change-password-gm2-e732ee8e-Df6ljnLL.js +253 -0
  124. package/stencil/player-kyc-verification-B2FHAsrR.cjs +180 -0
  125. package/stencil/player-kyc-verification-CVqP43FY.js +865 -0
  126. package/stencil/{player-kyc-verification-BQZdJFEJ.js → player-kyc-verification-D6Au6XVN.js} +1 -1
  127. package/stencil/{toggle-checkbox-input-CCLW6-uK.js → toggle-checkbox-input-BckTBwKu.js} +1 -1
  128. package/stencil/toggle-checkbox-input-D8fVk4wA.js +46 -0
  129. package/stencil/toggle-checkbox-input-kw5Y1n3x.cjs +1 -0
  130. package/stencil/tooltipIcon-ee9760a8-Bd9l1O5C.cjs +1 -0
  131. package/stencil/user-deposit-withdrawal-BpAi0dc-.js +668 -0
  132. package/stencil/{user-deposit-withdrawal-CmF0LoNb.js → user-deposit-withdrawal-CrMPR6xn.js} +1 -1
  133. package/stencil/user-deposit-withdrawal-DrKFN7wp.cjs +59 -0
  134. package/stencil/{user-transaction-history-BgV-k2Cl.js → user-transaction-history-BgYG3IxS.js} +1 -1
  135. package/stencil/user-transaction-history-CBxwJE34.cjs +1 -0
  136. package/stencil/user-transaction-history-D8ebS-DZ.js +355 -0
  137. package/stencil/{active-mixin-59dfae2a-BphP4pp5.js → vaadin-button-mixin-d131076c-C559kyH3.js} +3523 -3021
  138. package/stencil/vaadin-button-mixin-d131076c-brSraXp5.js +10277 -0
  139. package/stencil/vaadin-button-mixin-d131076c-zI_s2YZ5.cjs +2385 -0
  140. package/components/PlayerBonusHistory-BxBiQwQf.js +0 -847
  141. package/components/PlayerGamingHistory-BtQ73TId.js +0 -922
  142. package/stencil/checkbox-group-input_9-CMFoK7_E.js +0 -15610
  143. package/stencil/index-062e829b-DAFsZs6D.js +0 -686
  144. package/stencil/index-33f005e1-fFxPaeNy.js +0 -632
  145. package/stencil/index-9b3245b3-rzHgwqlB.js +0 -625
  146. package/stencil/index-fc58390d-BSwfXuUs.js +0 -691
  147. package/stencil/password-input_2-Bb9Q6Fe0.js +0 -2359
@@ -1,4 +1,4 @@
1
- import { a as ae, $ as ie, S as ce, i as se, f as F, c as ue, s as me, b as ye, e as v, k as T, o as D, p as E, q as ge, u as O, v as pe, x as de, y as fe, K as R, d as k, t as H, g as s, l as a, n as z, L as he, w as L, m as W, r as Ae, j as M, X as q } from "./GeneralLogout-Ddt-oH9k.js";
1
+ import { a as ae, $ as ie, S as ce, i as se, f as F, s as ue, x as me, b as ye, n as D, d as T, g as E, j as v, p as ge, q as O, u as pe, w as de, K as R, L as fe, c as z, h as a, k, m as H, o as s, r as he, l as W, v as L, e as M, X as q, y as Ae } from "./GeneralLogout-ChXyfO7j.js";
2
2
  function N(n, e) {
3
3
  ae(n, e);
4
4
  }
@@ -52,7 +52,7 @@ if (typeof window < "u") {
52
52
  }
53
53
  };
54
54
  };
55
- customElements.define = n(customElements.define), import("./GeneralLogout-Ddt-oH9k.js").then((e) => e.a4).then(({ default: e }) => {
55
+ customElements.define = n(customElements.define), import("./GeneralLogout-ChXyfO7j.js").then((e) => e.a4).then(({ default: e }) => {
56
56
  !customElements.get("general-logout") && customElements.define("general-logout", e.element);
57
57
  });
58
58
  }
@@ -96,7 +96,7 @@ function be(n) {
96
96
  n[10] ? "PlayerAccountTabletContainer" : ""));
97
97
  },
98
98
  m(i, I) {
99
- T(i, e, I), a(e, t), A && A.m(t, null), a(t, o), a(t, r), a(r, y), a(t, m), a(t, p), a(p, h), a(t, w), g && g.m(t, null), a(e, P), a(e, f);
99
+ E(i, e, I), a(e, t), A && A.m(t, null), a(t, o), a(t, r), a(r, y), a(t, m), a(t, p), a(p, h), a(t, w), g && g.m(t, null), a(e, P), a(e, f);
100
100
  for (let d = 0; d < u.length; d += 1)
101
101
  u[d] && u[d].m(f, null);
102
102
  a(e, _), C && C.m(e, null);
@@ -135,7 +135,7 @@ function be(n) {
135
135
  i[10] || C.p(i, I);
136
136
  },
137
137
  d(i) {
138
- i && E(e), A && A.d(), g && g.d(), he(u, i), C && C.d();
138
+ i && T(e), A && A.d(), g && g.d(), fe(u, i), C && C.d();
139
139
  }
140
140
  };
141
141
  }
@@ -149,7 +149,7 @@ function we(n) {
149
149
  e = v("div"), t = L("svg"), o = L("defs"), r = L("style"), y = H(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), m = L("g"), p = L("g"), h = L("path"), w = k(), P = v("h3"), _ = H(f), s(h, "class", "aaa"), s(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), s(h, "transform", "translate(15 15) rotate(180)"), s(p, "transform", "translate(20 158)"), s(m, "transform", "translate(-20 -158)"), s(t, "xmlns", "http://www.w3.org/2000/svg"), s(t, "width", "15"), s(t, "height", "15"), s(t, "viewBox", "0 0 15 15"), s(P, "class", "PlayerAccountMenuCategoryTitle"), s(e, "class", "PlayerAccountMenuCategoryWrapper");
150
150
  },
151
151
  m(c, u) {
152
- T(c, e, u), a(e, t), a(t, o), a(o, r), a(r, y), a(t, m), a(m, p), a(p, h), a(e, w), a(e, P), a(P, _), A || (g = [
152
+ E(c, e, u), a(e, t), a(t, o), a(o, r), a(r, y), a(t, m), a(m, p), a(p, h), a(e, w), a(e, P), a(P, _), A || (g = [
153
153
  W(
154
154
  t,
155
155
  "click",
@@ -170,7 +170,7 @@ function we(n) {
170
170
  c[9]("title") + "") && z(_, f);
171
171
  },
172
172
  d(c) {
173
- c && E(e), A = !1, Ae(g);
173
+ c && T(e), A = !1, he(g);
174
174
  }
175
175
  };
176
176
  }
@@ -201,7 +201,7 @@ function ve(n) {
201
201
  ), s(e, "class", "PlayerAccountLogOutArea");
202
202
  },
203
203
  m(o, r) {
204
- T(o, e, r), a(e, t);
204
+ E(o, e, r), a(e, t);
205
205
  },
206
206
  p(o, r) {
207
207
  r[0] & /*endpoint*/
@@ -231,7 +231,7 @@ function ve(n) {
231
231
  );
232
232
  },
233
233
  d(o) {
234
- o && E(e);
234
+ o && T(e);
235
235
  }
236
236
  };
237
237
  }
@@ -259,7 +259,7 @@ function K(n) {
259
259
  n[10] ? "PlayerAccountMenuActiveItemBox" : ""));
260
260
  },
261
261
  m(g, c) {
262
- T(g, e, c), a(e, t), a(t, o), a(t, y), a(t, m), a(m, h), a(e, w), f || (_ = W(e, "click", A), f = !0);
262
+ E(g, e, c), a(e, t), a(t, o), a(t, y), a(t, m), a(m, h), a(e, w), f || (_ = W(e, "click", A), f = !0);
263
263
  },
264
264
  p(g, c) {
265
265
  n = g, c[0] & /*menuItems*/
@@ -273,7 +273,7 @@ function K(n) {
273
273
  n[10] ? "PlayerAccountMenuActiveItemBox" : "")) && s(e, "class", P);
274
274
  },
275
275
  d(g) {
276
- g && E(e), f = !1, _();
276
+ g && T(e), f = !1, _();
277
277
  }
278
278
  };
279
279
  }
@@ -304,7 +304,7 @@ function _e(n) {
304
304
  ), s(e, "class", "PlayerAccountLogOutArea");
305
305
  },
306
306
  m(o, r) {
307
- T(o, e, r), a(e, t);
307
+ E(o, e, r), a(e, t);
308
308
  },
309
309
  p(o, r) {
310
310
  r[0] & /*endpoint*/
@@ -334,7 +334,7 @@ function _e(n) {
334
334
  );
335
335
  },
336
336
  d(o) {
337
- o && E(e);
337
+ o && T(e);
338
338
  }
339
339
  };
340
340
  }
@@ -349,7 +349,7 @@ function xe(n) {
349
349
  e = v("div"), r.c();
350
350
  },
351
351
  m(y, m) {
352
- T(y, e, m), r.m(e, null), n[22](e);
352
+ E(y, e, m), r.m(e, null), n[22](e);
353
353
  },
354
354
  p(y, m) {
355
355
  r.p(y, m);
@@ -357,13 +357,13 @@ function xe(n) {
357
357
  i: D,
358
358
  o: D,
359
359
  d(y) {
360
- y && E(e), r.d(), n[22](null);
360
+ y && T(e), r.d(), n[22](null);
361
361
  }
362
362
  };
363
363
  }
364
364
  function Ce(n, e, t) {
365
365
  let o;
366
- ge(n, fe, (l) => t(9, o = l));
366
+ ge(n, Ae, (l) => t(9, o = l));
367
367
  let { endpoint: r = "" } = e, { cmsendpoint: y = "" } = e, { env: m = "" } = e, { session: p = "" } = e, { playerid: h = "" } = e, { lang: w = "en" } = e, { userroles: P = "" } = e, { clientstyling: f = "" } = e, { clientstylingurl: _ = "" } = e, { translationurl: A = "" } = e, { activemenuitem: g = "" } = e, c, u = [], C, i = window.navigator.userAgent, I = O(i) !== "PC", d = "", B = "";
368
368
  const Q = window.matchMedia("(min-width: 768px)"), V = () => {
369
369
  fetch(A).then((b) => b.json()).then((b) => {
@@ -487,7 +487,7 @@ class Ie extends ce {
487
487
  e,
488
488
  Ce,
489
489
  xe,
490
- me,
490
+ ue,
491
491
  {
492
492
  endpoint: 1,
493
493
  cmsendpoint: 14,
@@ -572,7 +572,7 @@ class Ie extends ce {
572
572
  this.$$set({ activemenuitem: e }), F();
573
573
  }
574
574
  }
575
- ue(Ie, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activemenuitem: {} }, [], [], !0);
575
+ me(Ie, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activemenuitem: {} }, [], [], !0);
576
576
  export {
577
577
  Ie as default
578
578
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-JiIri-az.cjs");function k(l,t){e.addMessages(l,t)}function Q(l){e.$locale.set(l)}const L={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(o){if(o instanceof DOMException&&o.message.includes("has already been used with this registry")||o.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw o}}};customElements.define=l(customElements.define),Promise.resolve().then(()=>require("./GeneralLogout-JiIri-az.cjs")).then(t=>t.GeneralLogout_ce).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function V(l){e.append_styles(l,"svelte-g6nv6v",".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}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.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;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width: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)}.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)}.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}")}function T(l,t,n){const o=l.slice();return o[35]=t[n],o}function X(l){let t,n,o,r,m,u,d,h,M,A,y,P,_=l[10]&&Z(l),p=l[10]&&J(l),i=e.ensure_array_like(l[5]),s=[];for(let c=0;c<i.length;c+=1)s[c]=E(T(l,i,c));let v=!l[10]&&K(l);return{c(){t=e.element("div"),n=e.element("div"),_&&_.c(),o=e.space(),r=e.element("p"),m=e.text(l[7]),u=e.space(),d=e.element("p"),h=e.text(l[8]),M=e.space(),p&&p.c(),A=e.space(),y=e.element("div");for(let c=0;c<s.length;c+=1)s[c].c();P=e.space(),v&&v.c(),e.attr(r,"class","PlayerAccountMenuUser"),e.attr(d,"class","PlayerAccountMenuEmail"),e.attr(n,"class","PlayerAccountMenuHeader "+(l[10]?"PlayerAccountMenuHeaderMobile":"")),e.attr(y,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(l[10]?"PlayerAccountMobileContainer":"")+" "+(l[11].matches&&l[10]?"PlayerAccountTabletContainer":""))},m(c,w){e.insert(c,t,w),e.append(t,n),_&&_.m(n,null),e.append(n,o),e.append(n,r),e.append(r,m),e.append(n,u),e.append(n,d),e.append(d,h),e.append(n,M),p&&p.m(n,null),e.append(t,A),e.append(t,y);for(let g=0;g<s.length;g+=1)s[g]&&s[g].m(y,null);e.append(t,P),v&&v.m(t,null)},p(c,w){if(c[10]&&_.p(c,w),w[0]&128&&e.set_data(m,c[7]),w[0]&256&&e.set_data(h,c[8]),c[10]&&p.p(c,w),w[0]&5216){i=e.ensure_array_like(c[5]);let g;for(g=0;g<i.length;g+=1){const x=T(c,i,g);s[g]?s[g].p(x,w):(s[g]=E(x),s[g].c(),s[g].m(y,null))}for(;g<s.length;g+=1)s[g].d(1);s.length=i.length}c[10]||v.p(c,w)},d(c){c&&e.detach(t),_&&_.d(),p&&p.d(),e.destroy_each(s,c),v&&v.d()}}}function Z(l){let t,n,o,r,m,u,d,h,M,A,y=l[9]("title")+"",P,_,p;return{c(){t=e.element("div"),n=e.svg_element("svg"),o=e.svg_element("defs"),r=e.svg_element("style"),m=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),u=e.svg_element("g"),d=e.svg_element("g"),h=e.svg_element("path"),M=e.space(),A=e.element("h3"),P=e.text(y),e.attr(h,"class","aaa"),e.attr(h,"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(h,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(u,"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(A,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(i,s){e.insert(i,t,s),e.append(t,n),e.append(n,o),e.append(o,r),e.append(r,m),e.append(n,u),e.append(u,d),e.append(d,h),e.append(t,M),e.append(t,A),e.append(A,P),_||(p=[e.listen(n,"click",l[13]),e.listen(A,"click",l[13])],_=!0)},p(i,s){s[0]&512&&y!==(y=i[9]("title")+"")&&e.set_data(P,y)},d(i){i&&e.detach(t),_=!1,e.run_all(p)}}}function J(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.attr(t,"class","PlayerAccountLogOutArea")},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",o[1]),r[0]&1&&e.set_custom_element_data(n,"session",o[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",o[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",o[3])},d(o){o&&e.detach(t)}}}function E(l){let t,n,o,r,m,u,d=l[35].label+"",h,M,A,y,P;function _(){return l[21](l[35])}return{c(){t=e.element("div"),n=e.element("p"),o=e.element("img"),m=e.space(),u=e.element("span"),h=e.text(d),M=e.space(),e.attr(o,"class","PlayerAccountMenuItemIcon "+(l[10]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(o.src,r=l[35].img)||e.attr(o,"src",r),e.attr(u,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",A="PlayerAccountMenuItemBox "+(l[6]===l[35].id&&!l[10]?"PlayerAccountMenuActiveItemBox":""))},m(p,i){e.insert(p,t,i),e.append(t,n),e.append(n,o),e.append(n,m),e.append(n,u),e.append(u,h),e.append(t,M),y||(P=e.listen(t,"click",_),y=!0)},p(p,i){l=p,i[0]&32&&!e.src_url_equal(o.src,r=l[35].img)&&e.attr(o,"src",r),i[0]&32&&d!==(d=l[35].label+"")&&e.set_data(h,d),i[0]&96&&A!==(A="PlayerAccountMenuItemBox "+(l[6]===l[35].id&&!l[10]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",A)},d(p){p&&e.detach(t),y=!1,P()}}}function K(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.attr(t,"class","PlayerAccountLogOutArea")},m(o,r){e.insert(o,t,r),e.append(t,n)},p(o,r){r[0]&2&&e.set_custom_element_data(n,"endpoint",o[1]),r[0]&1&&e.set_custom_element_data(n,"session",o[0]),r[0]&4&&e.set_custom_element_data(n,"clientstyling",o[2]),r[0]&8&&e.set_custom_element_data(n,"clientstylingurl",o[3])},d(o){o&&e.detach(t)}}}function Y(l){let t;function n(m,u){return X}let r=n()(l);return{c(){t=e.element("div"),r.c()},m(m,u){e.insert(m,t,u),r.m(t,null),l[22](t)},p(m,u){r.p(m,u)},i:e.noop,o:e.noop,d(m){m&&e.detach(t),r.d(),l[22](null)}}}function $(l,t,n){let o;e.component_subscribe(l,e.$format,a=>n(9,o=a));let{endpoint:r=""}=t,{cmsendpoint:m=""}=t,{env:u=""}=t,{session:d=""}=t,{playerid:h=""}=t,{lang:M="en"}=t,{userroles:A=""}=t,{clientstyling:y=""}=t,{clientstylingurl:P=""}=t,{translationurl:_=""}=t,{activemenuitem:p=""}=t,i,s=[],v,c=window.navigator.userAgent,w=e.getDevice(c)!=="PC",g="",x="";const H=window.matchMedia("(min-width: 768px)"),z=()=>{fetch(_).then(f=>f.json()).then(f=>{Object.keys(f).forEach(b=>{k(b,f[b])})}).catch(f=>{console.error(f)})};Object.keys(L).forEach(a=>{k(a,L[a])});const C=a=>{if(a.data)switch(a.data.type){case"UserSessionID":n(0,d=a.data.session);break}},S=()=>{let a=e.getDevice(c);if(a)return a==="PC"?"dk":"mtWeb"},W=()=>{const a=new URL(`${m}/${M}/profile-menu?env=${u}`);a.searchParams.append("device",S()),fetch(a.href).then(f=>f.json()).then(f=>{n(5,s=f),F()}).catch(f=>{console.error("Error getting menu items",f)})},D=()=>{let a=new URL(`${r}/v1/player/${h}/profile`);a.searchParams.append("userRoles",A);let f={method:"GET",headers:{"X-SessionID":d}};fetch(a.href,f).then(b=>b.json()).then(b=>{n(7,g=b.username),n(8,x=b.email)},b=>{console.error(b)})},I=a=>{window.postMessage({type:"ChangeAccountPage",page:a},window.location.href),n(6,v=a.id)},F=()=>{var a;n(6,v=(a=s.find(f=>f.path.includes(p)))==null?void 0:a.id)},O=()=>{Q(M)},U=()=>{D()},j=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},R=()=>{let a=document.createElement("style");a.innerHTML=y,i.appendChild(a)},q=()=>{let a=new URL(P),f=document.createElement("style");fetch(a.href).then(b=>b.text()).then(b=>{f.innerHTML=b,setTimeout(()=>{i.appendChild(f)},1)})};e.onMount(()=>(window.addEventListener("message",C,!1),()=>{window.removeEventListener("message",C)}));const G=a=>I(a);function N(a){e.binding_callbacks[a?"unshift":"push"](()=>{i=a,n(4,i)})}return l.$$set=a=>{"endpoint"in a&&n(1,r=a.endpoint),"cmsendpoint"in a&&n(14,m=a.cmsendpoint),"env"in a&&n(15,u=a.env),"session"in a&&n(0,d=a.session),"playerid"in a&&n(16,h=a.playerid),"lang"in a&&n(17,M=a.lang),"userroles"in a&&n(18,A=a.userroles),"clientstyling"in a&&n(2,y=a.clientstyling),"clientstylingurl"in a&&n(3,P=a.clientstylingurl),"translationurl"in a&&n(19,_=a.translationurl),"activemenuitem"in a&&n(20,p=a.activemenuitem)},l.$$.update=()=>{l.$$.dirty[0]&131072&&M&&O(),l.$$.dirty[0]&196611&&r&&d&&h&&M&&U(),l.$$.dirty[0]&180224&&m&&M&&u&&W(),l.$$.dirty[0]&1048576&&p&&F(),l.$$.dirty[0]&24&&P&&i&&q(),l.$$.dirty[0]&20&&y&&i&&R(),l.$$.dirty[0]&524288&&_&&z()},[d,r,y,P,i,s,v,g,x,o,w,H,I,j,m,u,h,M,A,_,p,G,N]}class B extends e.SvelteComponent{constructor(t){super(),e.init(this,t,$,Y,e.safe_not_equal,{endpoint:1,cmsendpoint:14,env:15,session:0,playerid:16,lang:17,userroles:18,clientstyling:2,clientstylingurl:3,translationurl:19,activemenuitem:20},V,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[14]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[15]}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[16]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get userroles(){return this.$$.ctx[18]}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[19]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[20]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}}e.create_custom_element(B,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},userroles:{},clientstyling:{},clientstylingurl:{},translationurl:{},activemenuitem:{}},[],[],!0);exports.default=B;
@@ -1,5 +1,5 @@
1
- import { Y as B, S as F, i as P, f, c as R, s as U, b as W, B as j, k as L, H as m, I as w, Z as q, p as E, v as A, D as G, e as _, g as y, l as M, E as I, F as N, G as Y, P as Z, _ as C, a0 as J, x as k } from "./GeneralLogout-Ddt-oH9k.js";
2
- function p(t, { delay: e = 0, duration: i = 400, easing: n = B } = {}) {
1
+ import { Y as j, S as z, i as B, s as F, f, b as U, d as L, E as w, F as m, Z as W, _ as q, g as E, B as A, u as G, D as I, a0 as v, R as N, G as P, H as Y, I as Z, h as C, j as _, o as y, w as k, x as J } from "./GeneralLogout-ChXyfO7j.js";
2
+ function p(t, { delay: e = 0, duration: i = 400, easing: n = j } = {}) {
3
3
  const s = +getComputedStyle(t).opacity;
4
4
  return {
5
5
  delay: e,
@@ -9,14 +9,14 @@ function p(t, { delay: e = 0, duration: i = 400, easing: n = B } = {}) {
9
9
  };
10
10
  }
11
11
  function K(t) {
12
- W(t, "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}");
12
+ U(t, "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}");
13
13
  }
14
14
  function S(t) {
15
15
  let e, i, n, s, o;
16
16
  const c = (
17
17
  /*#slots*/
18
18
  t[8].default
19
- ), r = G(
19
+ ), r = I(
20
20
  c,
21
21
  t,
22
22
  /*$$scope*/
@@ -28,23 +28,23 @@ function S(t) {
28
28
  e = _("div"), i = _("div"), n = _("div"), r && r.c(), y(n, "class", "ModalContainer"), y(i, "class", "ModalWindow"), y(i, "id", "Modal");
29
29
  },
30
30
  m(a, u) {
31
- L(a, e, u), M(e, i), M(i, n), r && r.m(n, null), t[9](i), t[10](e), o = !0;
31
+ E(a, e, u), C(e, i), C(i, n), r && r.m(n, null), t[9](i), t[10](e), o = !0;
32
32
  },
33
33
  p(a, u) {
34
34
  t = a, r && r.p && (!o || u & /*$$scope*/
35
- 128) && I(
35
+ 128) && P(
36
36
  r,
37
37
  c,
38
38
  t,
39
39
  /*$$scope*/
40
40
  t[7],
41
- o ? Y(
41
+ o ? Z(
42
42
  c,
43
43
  /*$$scope*/
44
44
  t[7],
45
45
  u,
46
46
  null
47
- ) : N(
47
+ ) : Y(
48
48
  /*$$scope*/
49
49
  t[7]
50
50
  ),
@@ -52,21 +52,21 @@ function S(t) {
52
52
  );
53
53
  },
54
54
  i(a) {
55
- o || (m(r, a), a && Z(() => {
56
- o && (s || (s = C(i, p, { transitionDuration: (
55
+ o || (m(r, a), a && N(() => {
56
+ o && (s || (s = v(i, p, { transitionDuration: (
57
57
  /*duration*/
58
58
  t[1]
59
59
  ) }, !0)), s.run(1));
60
60
  }), o = !0);
61
61
  },
62
62
  o(a) {
63
- w(r, a), a && (s || (s = C(i, p, { transitionDuration: (
63
+ w(r, a), a && (s || (s = v(i, p, { transitionDuration: (
64
64
  /*duration*/
65
65
  t[1]
66
66
  ) }, !1)), s.run(0)), o = !1;
67
67
  },
68
68
  d(a) {
69
- a && E(e), r && r.d(a), t[9](null), a && s && s.end(), t[10](null);
69
+ a && L(e), r && r.d(a), t[9](null), a && s && s.end(), t[10](null);
70
70
  }
71
71
  };
72
72
  }
@@ -77,15 +77,15 @@ function O(t) {
77
77
  );
78
78
  return {
79
79
  c() {
80
- n && n.c(), e = j();
80
+ n && n.c(), e = A();
81
81
  },
82
82
  m(s, o) {
83
- n && n.m(s, o), L(s, e, o), i = !0;
83
+ n && n.m(s, o), E(s, e, o), i = !0;
84
84
  },
85
85
  p(s, [o]) {
86
86
  /*show*/
87
87
  s[0] ? n ? (n.p(s, o), o & /*show*/
88
- 1 && m(n, 1)) : (n = S(s), n.c(), m(n, 1), n.m(e.parentNode, e)) : n && (J(), w(n, 1, 1, () => {
88
+ 1 && m(n, 1)) : (n = S(s), n.c(), m(n, 1), n.m(e.parentNode, e)) : n && (W(), w(n, 1, 1, () => {
89
89
  n = null;
90
90
  }), q());
91
91
  },
@@ -96,7 +96,7 @@ function O(t) {
96
96
  w(n), i = !1;
97
97
  },
98
98
  d(s) {
99
- s && E(e), n && n.d(s);
99
+ s && L(e), n && n.d(s);
100
100
  }
101
101
  };
102
102
  }
@@ -115,25 +115,25 @@ function Q(t, e, i) {
115
115
  let l = document.createElement("style");
116
116
  l.innerHTML = r, d.appendChild(l);
117
117
  }, H = () => {
118
- let l = new URL(a), v = document.createElement("style");
118
+ let l = new URL(a), M = document.createElement("style");
119
119
  fetch(l.href).then((g) => g.text()).then((g) => {
120
- v.innerHTML = g, setTimeout(
120
+ M.innerHTML = g, setTimeout(
121
121
  () => {
122
- d.appendChild(v);
122
+ d.appendChild(M);
123
123
  },
124
124
  1
125
125
  );
126
126
  });
127
127
  };
128
- A(() => (window.addEventListener("message", b, !1), () => {
128
+ G(() => (window.addEventListener("message", b, !1), () => {
129
129
  window.removeEventListener("message", b);
130
130
  }));
131
- function T(l) {
131
+ function R(l) {
132
132
  k[l ? "unshift" : "push"](() => {
133
133
  h = l, i(3, h);
134
134
  });
135
135
  }
136
- function z(l) {
136
+ function T(l) {
137
137
  k[l ? "unshift" : "push"](() => {
138
138
  d = l, i(2, d);
139
139
  });
@@ -154,18 +154,18 @@ function Q(t, e, i) {
154
154
  u,
155
155
  s,
156
156
  n,
157
- T,
158
- z
157
+ R,
158
+ T
159
159
  ];
160
160
  }
161
- class V extends F {
161
+ class V extends z {
162
162
  constructor(e) {
163
- super(), P(
163
+ super(), B(
164
164
  this,
165
165
  e,
166
166
  Q,
167
167
  O,
168
- U,
168
+ F,
169
169
  {
170
170
  show: 0,
171
171
  duration: 1,
@@ -207,7 +207,7 @@ class V extends F {
207
207
  this.$$set({ showmodaleventname: e }), f();
208
208
  }
209
209
  }
210
- R(V, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {}, showmodaleventname: {} }, ["default"], [], !0);
210
+ J(V, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {}, showmodaleventname: {} }, ["default"], [], !0);
211
211
  export {
212
212
  V as default
213
213
  };
@@ -0,0 +1,213 @@
1
+ import { Y as j, S as z, i as B, s as F, f, b as U, d as L, E as w, F as m, Z as W, _ as q, g as E, B as A, u as G, D as I, a0 as v, R as N, G as P, H as Y, I as Z, h as C, j as _, o as y, w as k, x as J } from "./GeneralLogout-CoXr5Hra.js";
2
+ function p(t, { delay: e = 0, duration: i = 400, easing: n = j } = {}) {
3
+ const s = +getComputedStyle(t).opacity;
4
+ return {
5
+ delay: e,
6
+ duration: i,
7
+ easing: n,
8
+ css: (o) => `opacity: ${o * s}`
9
+ };
10
+ }
11
+ function K(t) {
12
+ U(t, "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}");
13
+ }
14
+ function S(t) {
15
+ let e, i, n, s, o;
16
+ const c = (
17
+ /*#slots*/
18
+ t[8].default
19
+ ), r = I(
20
+ c,
21
+ t,
22
+ /*$$scope*/
23
+ t[7],
24
+ null
25
+ );
26
+ return {
27
+ c() {
28
+ e = _("div"), i = _("div"), n = _("div"), r && r.c(), y(n, "class", "ModalContainer"), y(i, "class", "ModalWindow"), y(i, "id", "Modal");
29
+ },
30
+ m(a, u) {
31
+ E(a, e, u), C(e, i), C(i, n), r && r.m(n, null), t[9](i), t[10](e), o = !0;
32
+ },
33
+ p(a, u) {
34
+ t = a, r && r.p && (!o || u & /*$$scope*/
35
+ 128) && P(
36
+ r,
37
+ c,
38
+ t,
39
+ /*$$scope*/
40
+ t[7],
41
+ o ? Z(
42
+ c,
43
+ /*$$scope*/
44
+ t[7],
45
+ u,
46
+ null
47
+ ) : Y(
48
+ /*$$scope*/
49
+ t[7]
50
+ ),
51
+ null
52
+ );
53
+ },
54
+ i(a) {
55
+ o || (m(r, a), a && N(() => {
56
+ o && (s || (s = v(i, p, { transitionDuration: (
57
+ /*duration*/
58
+ t[1]
59
+ ) }, !0)), s.run(1));
60
+ }), o = !0);
61
+ },
62
+ o(a) {
63
+ w(r, a), a && (s || (s = v(i, p, { transitionDuration: (
64
+ /*duration*/
65
+ t[1]
66
+ ) }, !1)), s.run(0)), o = !1;
67
+ },
68
+ d(a) {
69
+ a && L(e), r && r.d(a), t[9](null), a && s && s.end(), t[10](null);
70
+ }
71
+ };
72
+ }
73
+ function O(t) {
74
+ let e, i, n = (
75
+ /*show*/
76
+ t[0] && S(t)
77
+ );
78
+ return {
79
+ c() {
80
+ n && n.c(), e = A();
81
+ },
82
+ m(s, o) {
83
+ n && n.m(s, o), E(s, e, o), i = !0;
84
+ },
85
+ p(s, [o]) {
86
+ /*show*/
87
+ s[0] ? n ? (n.p(s, o), o & /*show*/
88
+ 1 && m(n, 1)) : (n = S(s), n.c(), m(n, 1), n.m(e.parentNode, e)) : n && (W(), w(n, 1, 1, () => {
89
+ n = null;
90
+ }), q());
91
+ },
92
+ i(s) {
93
+ i || (m(n), i = !0);
94
+ },
95
+ o(s) {
96
+ w(n), i = !1;
97
+ },
98
+ d(s) {
99
+ s && L(e), n && n.d(s);
100
+ }
101
+ };
102
+ }
103
+ function Q(t, e, i) {
104
+ let { $$slots: n = {}, $$scope: s } = e, { show: o = !1 } = e, { duration: c = 350 } = e, { clientstyling: r = "" } = e, { clientstylingurl: a = "" } = e, { showmodaleventname: u = "ShowLimitsConfirmationModal" } = e, d, h;
105
+ const b = (l) => {
106
+ switch (l.data.type) {
107
+ case "ModalClosed":
108
+ i(0, o = !1);
109
+ break;
110
+ case u:
111
+ i(0, o = !0), window.postMessage({ type: "DisableScroll" }, window.location.href);
112
+ break;
113
+ }
114
+ }, D = () => {
115
+ let l = document.createElement("style");
116
+ l.innerHTML = r, d.appendChild(l);
117
+ }, H = () => {
118
+ let l = new URL(a), M = document.createElement("style");
119
+ fetch(l.href).then((g) => g.text()).then((g) => {
120
+ M.innerHTML = g, setTimeout(
121
+ () => {
122
+ d.appendChild(M);
123
+ },
124
+ 1
125
+ );
126
+ });
127
+ };
128
+ G(() => (window.addEventListener("message", b, !1), () => {
129
+ window.removeEventListener("message", b);
130
+ }));
131
+ function R(l) {
132
+ k[l ? "unshift" : "push"](() => {
133
+ h = l, i(3, h);
134
+ });
135
+ }
136
+ function T(l) {
137
+ k[l ? "unshift" : "push"](() => {
138
+ d = l, i(2, d);
139
+ });
140
+ }
141
+ return t.$$set = (l) => {
142
+ "show" in l && i(0, o = l.show), "duration" in l && i(1, c = l.duration), "clientstyling" in l && i(4, r = l.clientstyling), "clientstylingurl" in l && i(5, a = l.clientstylingurl), "showmodaleventname" in l && i(6, u = l.showmodaleventname), "$$scope" in l && i(7, s = l.$$scope);
143
+ }, t.$$.update = () => {
144
+ t.$$.dirty & /*clientstylingurl, customStylingContainer*/
145
+ 36 && a && d && H(), t.$$.dirty & /*clientstyling, customStylingContainer*/
146
+ 20 && r && d && D();
147
+ }, [
148
+ o,
149
+ c,
150
+ d,
151
+ h,
152
+ r,
153
+ a,
154
+ u,
155
+ s,
156
+ n,
157
+ R,
158
+ T
159
+ ];
160
+ }
161
+ class V extends z {
162
+ constructor(e) {
163
+ super(), B(
164
+ this,
165
+ e,
166
+ Q,
167
+ O,
168
+ F,
169
+ {
170
+ show: 0,
171
+ duration: 1,
172
+ clientstyling: 4,
173
+ clientstylingurl: 5,
174
+ showmodaleventname: 6
175
+ },
176
+ K
177
+ );
178
+ }
179
+ get show() {
180
+ return this.$$.ctx[0];
181
+ }
182
+ set show(e) {
183
+ this.$$set({ show: e }), f();
184
+ }
185
+ get duration() {
186
+ return this.$$.ctx[1];
187
+ }
188
+ set duration(e) {
189
+ this.$$set({ duration: e }), f();
190
+ }
191
+ get clientstyling() {
192
+ return this.$$.ctx[4];
193
+ }
194
+ set clientstyling(e) {
195
+ this.$$set({ clientstyling: e }), f();
196
+ }
197
+ get clientstylingurl() {
198
+ return this.$$.ctx[5];
199
+ }
200
+ set clientstylingurl(e) {
201
+ this.$$set({ clientstylingurl: e }), f();
202
+ }
203
+ get showmodaleventname() {
204
+ return this.$$.ctx[6];
205
+ }
206
+ set showmodaleventname(e) {
207
+ this.$$set({ showmodaleventname: e }), f();
208
+ }
209
+ }
210
+ J(V, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {}, showmodaleventname: {} }, ["default"], [], !0);
211
+ export {
212
+ V as default
213
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-JiIri-az.cjs");function y(n,{delay:e=0,duration:l=400,easing:i=t.identity}={}){const s=+getComputedStyle(n).opacity;return{delay:e,duration:l,easing:i,css:r=>`opacity: ${r*s}`}}function k(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 w(n){let e,l,i,s,r;const f=n[8].default,u=t.create_slot(f,n,n[7],null);return{c(){e=t.element("div"),l=t.element("div"),i=t.element("div"),u&&u.c(),t.attr(i,"class","ModalContainer"),t.attr(l,"class","ModalWindow"),t.attr(l,"id","Modal")},m(a,d){t.insert(a,e,d),t.append(e,l),t.append(l,i),u&&u.m(i,null),n[9](l),n[10](e),r=!0},p(a,d){n=a,u&&u.p&&(!r||d&128)&&t.update_slot_base(u,f,n,n[7],r?t.get_slot_changes(f,n[7],d,null):t.get_all_dirty_from_scope(n[7]),null)},i(a){r||(t.transition_in(u,a),a&&t.add_render_callback(()=>{r&&(s||(s=t.create_bidirectional_transition(l,y,{transitionDuration:n[1]},!0)),s.run(1))}),r=!0)},o(a){t.transition_out(u,a),a&&(s||(s=t.create_bidirectional_transition(l,y,{transitionDuration:n[1]},!1)),s.run(0)),r=!1},d(a){a&&t.detach(e),u&&u.d(a),n[9](null),a&&s&&s.end(),n[10](null)}}}function S(n){let e,l,i=n[0]&&w(n);return{c(){i&&i.c(),e=t.empty()},m(s,r){i&&i.m(s,r),t.insert(s,e,r),l=!0},p(s,[r]){s[0]?i?(i.p(s,r),r&1&&t.transition_in(i,1)):(i=w(s),i.c(),t.transition_in(i,1),i.m(e.parentNode,e)):i&&(t.group_outros(),t.transition_out(i,1,1,()=>{i=null}),t.check_outros())},i(s){l||(t.transition_in(i),l=!0)},o(s){t.transition_out(i),l=!1},d(s){s&&t.detach(e),i&&i.d(s)}}}function L(n,e,l){let{$$slots:i={},$$scope:s}=e,{show:r=!1}=e,{duration:f=350}=e,{clientstyling:u=""}=e,{clientstylingurl:a=""}=e,{showmodaleventname:d="ShowLimitsConfirmationModal"}=e,c,h;const _=o=>{switch(o.data.type){case"ModalClosed":l(0,r=!1);break;case d:l(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href);break}},M=()=>{let o=document.createElement("style");o.innerHTML=u,c.appendChild(o)},v=()=>{let o=new URL(a),g=document.createElement("style");fetch(o.href).then(m=>m.text()).then(m=>{g.innerHTML=m,setTimeout(()=>{c.appendChild(g)},1)})};t.onMount(()=>(window.addEventListener("message",_,!1),()=>{window.removeEventListener("message",_)}));function p(o){t.binding_callbacks[o?"unshift":"push"](()=>{h=o,l(3,h)})}function C(o){t.binding_callbacks[o?"unshift":"push"](()=>{c=o,l(2,c)})}return n.$$set=o=>{"show"in o&&l(0,r=o.show),"duration"in o&&l(1,f=o.duration),"clientstyling"in o&&l(4,u=o.clientstyling),"clientstylingurl"in o&&l(5,a=o.clientstylingurl),"showmodaleventname"in o&&l(6,d=o.showmodaleventname),"$$scope"in o&&l(7,s=o.$$scope)},n.$$.update=()=>{n.$$.dirty&36&&a&&c&&v(),n.$$.dirty&20&&u&&c&&M()},[r,f,c,h,u,a,d,s,i,p,C]}class b extends t.SvelteComponent{constructor(e){super(),t.init(this,e,L,S,t.safe_not_equal,{show:0,duration:1,clientstyling:4,clientstylingurl:5,showmodaleventname:6},k)}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 showmodaleventname(){return this.$$.ctx[6]}set showmodaleventname(e){this.$$set({showmodaleventname:e}),t.flush()}}t.create_custom_element(b,{show:{type:"Boolean"},duration:{},clientstyling:{},clientstylingurl:{},showmodaleventname:{}},["default"],[],!0);exports.default=b;