@everymatrix/player-account-controller 1.54.6 → 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 (145) 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-BEYNBwE6.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-bS_5m4-D.js → PlayerBonusHistory-Boz8c3tb.js} +30 -30
  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-ByyLQwtw.js → PlayerGamingHistory-DIgLxCfL.js} +31 -31
  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-CQlnWzpy.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-BaQUJaH1.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-pj_6Z40p.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-Sy9vd4Jp.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/stencil/checkbox-group-input_9-i8KmOWKn.js +0 -15610
  141. package/stencil/index-062e829b-CboMDKTu.js +0 -686
  142. package/stencil/index-33f005e1-fFxPaeNy.js +0 -632
  143. package/stencil/index-9b3245b3-rzHgwqlB.js +0 -625
  144. package/stencil/index-fc58390d-BSwfXuUs.js +0 -691
  145. package/stencil/password-input_2-sxSehMYk.js +0 -2359
@@ -1,6 +1,6 @@
1
- import { S as U, i as W, f as x, c as j, s as q, b as K, e as A, k as C, o as k, p as v, u as T, x as Q, K as F, g as u, L as V, d as _, t as X, X as M, W as B, l as p, n as G } from "./GeneralLogout-Ddt-oH9k.js";
1
+ import { S as q, i as E, s as U, f as x, b as W, n as k, d as C, g as v, j as A, q as T, w as K, K as F, L as Q, o as u, X as M, c as V, W as B, h as p, k as _, m as X, x as G } from "./GeneralLogout-ChXyfO7j.js";
2
2
  function J(n) {
3
- K(n, "svelte-8rjudp", '.PlayerAccountNotificationsContainer{padding:0 5px}.PlayerAccountNotificationBox{display:block;padding:20px;margin:20px auto 10px auto;border-radius:5px;width:100%;background:var(--emw--color-gray-300, #58586B);color:var(--emw--color-white, #FFFFFF);box-sizing:border-box;text-decoration:none;word-break:break-all}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}');
3
+ W(n, "svelte-8rjudp", '.PlayerAccountNotificationsContainer{padding:0 5px}.PlayerAccountNotificationBox{display:block;padding:20px;margin:20px auto 10px auto;border-radius:5px;width:100%;background:var(--emw--color-gray-300, #58586B);color:var(--emw--color-white, #FFFFFF);box-sizing:border-box;text-decoration:none;word-break:break-all}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}');
4
4
  }
5
5
  function H(n, t, a) {
6
6
  const i = n.slice();
@@ -31,7 +31,7 @@ function O(n) {
31
31
  )));
32
32
  },
33
33
  m(e, l) {
34
- C(e, t, l);
34
+ v(e, t, l);
35
35
  for (let c = 0; c < i.length; c += 1)
36
36
  i[c] && i[c].m(t, null);
37
37
  },
@@ -53,7 +53,7 @@ function O(n) {
53
53
  }
54
54
  },
55
55
  d(e) {
56
- e && v(t), V(i, e);
56
+ e && C(t), Q(i, e);
57
57
  }
58
58
  };
59
59
  }
@@ -77,7 +77,7 @@ function L(n) {
77
77
  );
78
78
  },
79
79
  m(r, g) {
80
- C(r, t, g), p(t, a), p(a, i), p(a, c), p(a, s), p(s, y), p(t, f), p(t, h), h.innerHTML = b, p(t, P);
80
+ v(r, t, g), p(t, a), p(a, i), p(a, c), p(a, s), p(s, y), p(t, f), p(t, h), h.innerHTML = b, p(t, P);
81
81
  },
82
82
  p(r, g) {
83
83
  g & /*notificationsData*/
@@ -86,7 +86,7 @@ function L(n) {
86
86
  2 && l !== (l = /*notification*/
87
87
  r[20].title) && u(i, "alt", l), g & /*notificationsData*/
88
88
  2 && d !== (d = /*notification*/
89
- r[20].title + "") && G(y, d), g & /*notificationsData*/
89
+ r[20].title + "") && V(y, d), g & /*notificationsData*/
90
90
  2 && b !== (b = /*notification*/
91
91
  r[20].description + "") && (h.innerHTML = b), g & /*notificationsData*/
92
92
  2 && B(
@@ -97,7 +97,7 @@ function L(n) {
97
97
  );
98
98
  },
99
99
  d(r) {
100
- r && v(t);
100
+ r && C(t);
101
101
  }
102
102
  };
103
103
  }
@@ -115,7 +115,7 @@ function Y(n) {
115
115
  t = A("div"), e && e.c();
116
116
  },
117
117
  m(l, c) {
118
- C(l, t, c), e && e.m(t, null), n[11](t);
118
+ v(l, t, c), e && e.m(t, null), n[11](t);
119
119
  },
120
120
  p(l, [c]) {
121
121
  i === (i = a(l)) && e ? e.p(l, c) : (e && e.d(1), e = i && i(l), e && (e.c(), e.m(t, null)));
@@ -123,7 +123,7 @@ function Y(n) {
123
123
  i: k,
124
124
  o: k,
125
125
  d(l) {
126
- l && v(t), e && e.d(), n[11](null);
126
+ l && C(t), e && e.d(), n[11](null);
127
127
  }
128
128
  };
129
129
  }
@@ -163,8 +163,8 @@ function Z(n, t, a) {
163
163
  );
164
164
  });
165
165
  };
166
- function E(o) {
167
- Q[o ? "unshift" : "push"](() => {
166
+ function j(o) {
167
+ K[o ? "unshift" : "push"](() => {
168
168
  f = o, a(0, f);
169
169
  });
170
170
  }
@@ -189,17 +189,17 @@ function Z(n, t, a) {
189
189
  s,
190
190
  d,
191
191
  y,
192
- E
192
+ j
193
193
  ];
194
194
  }
195
- class $ extends U {
195
+ class $ extends q {
196
196
  constructor(t) {
197
- super(), W(
197
+ super(), E(
198
198
  this,
199
199
  t,
200
200
  Z,
201
201
  Y,
202
- q,
202
+ U,
203
203
  {
204
204
  lang: 4,
205
205
  cmsendpoint: 5,
@@ -255,7 +255,7 @@ class $ extends U {
255
255
  this.$$set({ clientstylingurl: t }), x();
256
256
  }
257
257
  }
258
- j($, { lang: {}, cmsendpoint: {}, env: {}, userroles: {}, customnotif: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
258
+ G($, { lang: {}, cmsendpoint: {}, env: {}, userroles: {}, customnotif: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
259
259
  export {
260
260
  $ as default
261
261
  };
@@ -0,0 +1,261 @@
1
+ import { S as q, i as E, s as U, f as x, b as W, n as k, d as C, g as v, j as A, q as T, w as K, K as F, L as Q, o as u, X as M, c as V, W as B, h as p, k as _, m as X, x as G } from "./GeneralLogout-CoXr5Hra.js";
2
+ function J(n) {
3
+ W(n, "svelte-8rjudp", '.PlayerAccountNotificationsContainer{padding:0 5px}.PlayerAccountNotificationBox{display:block;padding:20px;margin:20px auto 10px auto;border-radius:5px;width:100%;background:var(--emw--color-gray-300, #58586B);color:var(--emw--color-white, #FFFFFF);box-sizing:border-box;text-decoration:none;word-break:break-all}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}');
4
+ }
5
+ function H(n, t, a) {
6
+ const i = n.slice();
7
+ return i[20] = t[a], i;
8
+ }
9
+ function O(n) {
10
+ let t, a = F(
11
+ /*notificationsData*/
12
+ n[1]
13
+ ), i = [];
14
+ for (let e = 0; e < a.length; e += 1)
15
+ i[e] = L(H(n, a, e));
16
+ return {
17
+ c() {
18
+ t = A("div");
19
+ for (let e = 0; e < i.length; e += 1)
20
+ i[e].c();
21
+ u(t, "class", "PlayerAccountNotificationsContainer " + /*isMobile*/
22
+ (n[2] && /*mediaQuery*/
23
+ n[3].matches ? "PlayerAccountNotificationsTabletContainer" : (
24
+ /*isMobile*/
25
+ n[2] ? "PlayerAccountNotificationsMobileContainer" : ""
26
+ ))), u(t, "part", "PlayerAccountNotificationsContainer " + /*isMobile*/
27
+ (n[2] && /*mediaQuery*/
28
+ n[3].matches ? "PlayerAccountNotificationsTabletContainer" : (
29
+ /*isMobile*/
30
+ n[2] ? "PlayerAccountNotificationsMobileContainer" : ""
31
+ )));
32
+ },
33
+ m(e, l) {
34
+ v(e, t, l);
35
+ for (let c = 0; c < i.length; c += 1)
36
+ i[c] && i[c].m(t, null);
37
+ },
38
+ p(e, l) {
39
+ if (l & /*notificationsData*/
40
+ 2) {
41
+ a = F(
42
+ /*notificationsData*/
43
+ e[1]
44
+ );
45
+ let c;
46
+ for (c = 0; c < a.length; c += 1) {
47
+ const s = H(e, a, c);
48
+ i[c] ? i[c].p(s, l) : (i[c] = L(s), i[c].c(), i[c].m(t, null));
49
+ }
50
+ for (; c < i.length; c += 1)
51
+ i[c].d(1);
52
+ i.length = a.length;
53
+ }
54
+ },
55
+ d(e) {
56
+ e && C(t), Q(i, e);
57
+ }
58
+ };
59
+ }
60
+ function L(n) {
61
+ let t, a, i, e, l, c, s, d = (
62
+ /*notification*/
63
+ n[20].title + ""
64
+ ), y, f, h, b = (
65
+ /*notification*/
66
+ n[20].description + ""
67
+ ), P;
68
+ return {
69
+ c() {
70
+ t = A("div"), a = A("div"), i = A("img"), c = _(), s = A("p"), y = X(d), f = _(), h = A("p"), P = _(), u(i, "class", "PlayerAccountNotificationIcon"), M(i.src, e = /*notification*/
71
+ n[20].icon) || u(i, "src", e), u(i, "alt", l = /*notification*/
72
+ n[20].title), u(s, "class", "PlayerAccountNotificationTitle"), u(a, "class", "PlayerAccountNotificationBoxHeader"), u(h, "class", "PlayerAccountNotificationText"), u(t, "class", "PlayerAccountNotificationBox"), B(
73
+ t,
74
+ "background",
75
+ /*notification*/
76
+ n[20].backgroundColor
77
+ );
78
+ },
79
+ m(r, g) {
80
+ v(r, t, g), p(t, a), p(a, i), p(a, c), p(a, s), p(s, y), p(t, f), p(t, h), h.innerHTML = b, p(t, P);
81
+ },
82
+ p(r, g) {
83
+ g & /*notificationsData*/
84
+ 2 && !M(i.src, e = /*notification*/
85
+ r[20].icon) && u(i, "src", e), g & /*notificationsData*/
86
+ 2 && l !== (l = /*notification*/
87
+ r[20].title) && u(i, "alt", l), g & /*notificationsData*/
88
+ 2 && d !== (d = /*notification*/
89
+ r[20].title + "") && V(y, d), g & /*notificationsData*/
90
+ 2 && b !== (b = /*notification*/
91
+ r[20].description + "") && (h.innerHTML = b), g & /*notificationsData*/
92
+ 2 && B(
93
+ t,
94
+ "background",
95
+ /*notification*/
96
+ r[20].backgroundColor
97
+ );
98
+ },
99
+ d(r) {
100
+ r && C(t);
101
+ }
102
+ };
103
+ }
104
+ function Y(n) {
105
+ let t;
106
+ function a(l, c) {
107
+ if (
108
+ /*notificationsData*/
109
+ l[1].length
110
+ ) return O;
111
+ }
112
+ let i = a(n), e = i && i(n);
113
+ return {
114
+ c() {
115
+ t = A("div"), e && e.c();
116
+ },
117
+ m(l, c) {
118
+ v(l, t, c), e && e.m(t, null), n[11](t);
119
+ },
120
+ p(l, [c]) {
121
+ i === (i = a(l)) && e ? e.p(l, c) : (e && e.d(1), e = i && i(l), e && (e.c(), e.m(t, null)));
122
+ },
123
+ i: k,
124
+ o: k,
125
+ d(l) {
126
+ l && C(t), e && e.d(), n[11](null);
127
+ }
128
+ };
129
+ }
130
+ function Z(n, t, a) {
131
+ let { lang: i = "" } = t, { cmsendpoint: e = "" } = t, { env: l = "" } = t, { userroles: c = "" } = t, { customnotif: s = "" } = t, { clientstyling: d = "" } = t, { clientstylingurl: y = "" } = t, f, h = window.navigator.userAgent, b = T(h) !== "PC", P = [], r = [], g = S();
132
+ const z = window.matchMedia("(min-width: 768px)");
133
+ function S() {
134
+ const o = T(h);
135
+ if (o)
136
+ return o === "PC" ? "dk" : "mtWeb";
137
+ }
138
+ const D = () => {
139
+ const o = new URL(`${e}/${i}/support-information`);
140
+ o.searchParams.append("env", l), o.searchParams.append("userRoles", c), o.searchParams.append("device", g), fetch(o.href).then((m) => m.json()).then(
141
+ (m) => {
142
+ m.length && (a(1, P = m[0].children), P.forEach((N) => {
143
+ r.length && (N.backgroundColor = r[0], r.shift());
144
+ }));
145
+ },
146
+ (m) => {
147
+ console.error(m);
148
+ }
149
+ );
150
+ }, w = () => {
151
+ s.replace(" ", ""), r = s.split(",");
152
+ }, I = () => {
153
+ let o = document.createElement("style");
154
+ o.innerHTML = d, f.appendChild(o);
155
+ }, R = () => {
156
+ let o = new URL(y), m = document.createElement("style");
157
+ fetch(o.href).then((N) => N.text()).then((N) => {
158
+ m.innerHTML = N, setTimeout(
159
+ () => {
160
+ f.appendChild(m);
161
+ },
162
+ 1
163
+ );
164
+ });
165
+ };
166
+ function j(o) {
167
+ K[o ? "unshift" : "push"](() => {
168
+ f = o, a(0, f);
169
+ });
170
+ }
171
+ return n.$$set = (o) => {
172
+ "lang" in o && a(4, i = o.lang), "cmsendpoint" in o && a(5, e = o.cmsendpoint), "env" in o && a(6, l = o.env), "userroles" in o && a(7, c = o.userroles), "customnotif" in o && a(8, s = o.customnotif), "clientstyling" in o && a(9, d = o.clientstyling), "clientstylingurl" in o && a(10, y = o.clientstylingurl);
173
+ }, n.$$.update = () => {
174
+ n.$$.dirty & /*customnotif*/
175
+ 256 && s && w(), n.$$.dirty & /*notificationsData*/
176
+ 2 && P && w(), n.$$.dirty & /*userroles, cmsendpoint, env, lang*/
177
+ 240 && c && e && l && i && D(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
178
+ 1025 && y && f && R(), n.$$.dirty & /*clientstyling, customStylingContainer*/
179
+ 513 && d && f && I();
180
+ }, [
181
+ f,
182
+ P,
183
+ b,
184
+ z,
185
+ i,
186
+ e,
187
+ l,
188
+ c,
189
+ s,
190
+ d,
191
+ y,
192
+ j
193
+ ];
194
+ }
195
+ class $ extends q {
196
+ constructor(t) {
197
+ super(), E(
198
+ this,
199
+ t,
200
+ Z,
201
+ Y,
202
+ U,
203
+ {
204
+ lang: 4,
205
+ cmsendpoint: 5,
206
+ env: 6,
207
+ userroles: 7,
208
+ customnotif: 8,
209
+ clientstyling: 9,
210
+ clientstylingurl: 10
211
+ },
212
+ J
213
+ );
214
+ }
215
+ get lang() {
216
+ return this.$$.ctx[4];
217
+ }
218
+ set lang(t) {
219
+ this.$$set({ lang: t }), x();
220
+ }
221
+ get cmsendpoint() {
222
+ return this.$$.ctx[5];
223
+ }
224
+ set cmsendpoint(t) {
225
+ this.$$set({ cmsendpoint: t }), x();
226
+ }
227
+ get env() {
228
+ return this.$$.ctx[6];
229
+ }
230
+ set env(t) {
231
+ this.$$set({ env: t }), x();
232
+ }
233
+ get userroles() {
234
+ return this.$$.ctx[7];
235
+ }
236
+ set userroles(t) {
237
+ this.$$set({ userroles: t }), x();
238
+ }
239
+ get customnotif() {
240
+ return this.$$.ctx[8];
241
+ }
242
+ set customnotif(t) {
243
+ this.$$set({ customnotif: t }), x();
244
+ }
245
+ get clientstyling() {
246
+ return this.$$.ctx[9];
247
+ }
248
+ set clientstyling(t) {
249
+ this.$$set({ clientstyling: t }), x();
250
+ }
251
+ get clientstylingurl() {
252
+ return this.$$.ctx[10];
253
+ }
254
+ set clientstylingurl(t) {
255
+ this.$$set({ clientstylingurl: t }), x();
256
+ }
257
+ }
258
+ G($, { lang: {}, cmsendpoint: {}, env: {}, userroles: {}, customnotif: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
259
+ export {
260
+ $ as default
261
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-JiIri-az.cjs");function M(o){t.append_styles(o,"svelte-8rjudp",'.PlayerAccountNotificationsContainer{padding:0 5px}.PlayerAccountNotificationBox{display:block;padding:20px;margin:20px auto 10px auto;border-radius:5px;width:100%;background:var(--emw--color-gray-300, #58586B);color:var(--emw--color-white, #FFFFFF);box-sizing:border-box;text-decoration:none;word-break:break-all}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}')}function x(o,e,a){const n=o.slice();return n[20]=e[a],n}function B(o){let e,a=t.ensure_array_like(o[1]),n=[];for(let i=0;i<a.length;i+=1)n[i]=A(x(o,a,i));return{c(){e=t.element("div");for(let i=0;i<n.length;i+=1)n[i].c();t.attr(e,"class","PlayerAccountNotificationsContainer "+(o[2]&&o[3].matches?"PlayerAccountNotificationsTabletContainer":o[2]?"PlayerAccountNotificationsMobileContainer":"")),t.attr(e,"part","PlayerAccountNotificationsContainer "+(o[2]&&o[3].matches?"PlayerAccountNotificationsTabletContainer":o[2]?"PlayerAccountNotificationsMobileContainer":""))},m(i,r){t.insert(i,e,r);for(let c=0;c<n.length;c+=1)n[c]&&n[c].m(e,null)},p(i,r){if(r&2){a=t.ensure_array_like(i[1]);let c;for(c=0;c<a.length;c+=1){const u=x(i,a,c);n[c]?n[c].p(u,r):(n[c]=A(u),n[c].c(),n[c].m(e,null))}for(;c<n.length;c+=1)n[c].d(1);n.length=a.length}},d(i){i&&t.detach(e),t.destroy_each(n,i)}}}function A(o){let e,a,n,i,r,c,u,d=o[20].title+"",h,f,p,P=o[20].description+"",y;return{c(){e=t.element("div"),a=t.element("div"),n=t.element("img"),c=t.space(),u=t.element("p"),h=t.text(d),f=t.space(),p=t.element("p"),y=t.space(),t.attr(n,"class","PlayerAccountNotificationIcon"),t.src_url_equal(n.src,i=o[20].icon)||t.attr(n,"src",i),t.attr(n,"alt",r=o[20].title),t.attr(u,"class","PlayerAccountNotificationTitle"),t.attr(a,"class","PlayerAccountNotificationBoxHeader"),t.attr(p,"class","PlayerAccountNotificationText"),t.attr(e,"class","PlayerAccountNotificationBox"),t.set_style(e,"background",o[20].backgroundColor)},m(s,g){t.insert(s,e,g),t.append(e,a),t.append(a,n),t.append(a,c),t.append(a,u),t.append(u,h),t.append(e,f),t.append(e,p),p.innerHTML=P,t.append(e,y)},p(s,g){g&2&&!t.src_url_equal(n.src,i=s[20].icon)&&t.attr(n,"src",i),g&2&&r!==(r=s[20].title)&&t.attr(n,"alt",r),g&2&&d!==(d=s[20].title+"")&&t.set_data(h,d),g&2&&P!==(P=s[20].description+"")&&(p.innerHTML=P),g&2&&t.set_style(e,"background",s[20].backgroundColor)},d(s){s&&t.detach(e)}}}function H(o){let e;function a(r,c){if(r[1].length)return B}let n=a(o),i=n&&n(o);return{c(){e=t.element("div"),i&&i.c()},m(r,c){t.insert(r,e,c),i&&i.m(e,null),o[11](e)},p(r,[c]){n===(n=a(r))&&i?i.p(r,c):(i&&i.d(1),i=n&&n(r),i&&(i.c(),i.m(e,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),i&&i.d(),o[11](null)}}}function L(o,e,a){let{lang:n=""}=e,{cmsendpoint:i=""}=e,{env:r=""}=e,{userroles:c=""}=e,{customnotif:u=""}=e,{clientstyling:d=""}=e,{clientstylingurl:h=""}=e,f,p=window.navigator.userAgent,P=t.getDevice(p)!=="PC",y=[],s=[],g=C();const v=window.matchMedia("(min-width: 768px)");function C(){const l=t.getDevice(p);if(l)return l==="PC"?"dk":"mtWeb"}const w=()=>{const l=new URL(`${i}/${n}/support-information`);l.searchParams.append("env",r),l.searchParams.append("userRoles",c),l.searchParams.append("device",g),fetch(l.href).then(m=>m.json()).then(m=>{m.length&&(a(1,y=m[0].children),y.forEach(_=>{s.length&&(_.backgroundColor=s[0],s.shift())}))},m=>{console.error(m)})},b=()=>{u.replace(" ",""),s=u.split(",")},T=()=>{let l=document.createElement("style");l.innerHTML=d,f.appendChild(l)},k=()=>{let l=new URL(h),m=document.createElement("style");fetch(l.href).then(_=>_.text()).then(_=>{m.innerHTML=_,setTimeout(()=>{f.appendChild(m)},1)})};function F(l){t.binding_callbacks[l?"unshift":"push"](()=>{f=l,a(0,f)})}return o.$$set=l=>{"lang"in l&&a(4,n=l.lang),"cmsendpoint"in l&&a(5,i=l.cmsendpoint),"env"in l&&a(6,r=l.env),"userroles"in l&&a(7,c=l.userroles),"customnotif"in l&&a(8,u=l.customnotif),"clientstyling"in l&&a(9,d=l.clientstyling),"clientstylingurl"in l&&a(10,h=l.clientstylingurl)},o.$$.update=()=>{o.$$.dirty&256&&u&&b(),o.$$.dirty&2&&y&&b(),o.$$.dirty&240&&c&&i&&r&&n&&w(),o.$$.dirty&1025&&h&&f&&k(),o.$$.dirty&513&&d&&f&&T()},[f,y,P,v,n,i,r,c,u,d,h,F]}class N extends t.SvelteComponent{constructor(e){super(),t.init(this,e,L,H,t.safe_not_equal,{lang:4,cmsendpoint:5,env:6,userroles:7,customnotif:8,clientstyling:9,clientstylingurl:10},M)}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),t.flush()}get cmsendpoint(){return this.$$.ctx[5]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),t.flush()}get env(){return this.$$.ctx[6]}set env(e){this.$$set({env:e}),t.flush()}get userroles(){return this.$$.ctx[7]}set userroles(e){this.$$set({userroles:e}),t.flush()}get customnotif(){return this.$$.ctx[8]}set customnotif(e){this.$$set({customnotif:e}),t.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(N,{lang:{},cmsendpoint:{},env:{},userroles:{},customnotif:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=N;