@everymatrix/player-account-controller 1.62.2 → 1.62.4

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 (29) hide show
  1. package/components/{PlayerAccountClosure-CoudEK96.cjs → PlayerAccountClosure-BDPYRqve.cjs} +1 -1
  2. package/components/{PlayerAccountClosure-OZey9sGY.js → PlayerAccountClosure-BHRdQ6ku.js} +91 -91
  3. package/components/{PlayerAccountClosure-BKiVR8lN.js → PlayerAccountClosure-BhxTa3sA.js} +91 -91
  4. package/components/{PlayerAccountController-CiWBnnkt.cjs → PlayerAccountController-CG8fgLLM.cjs} +1 -1
  5. package/components/{PlayerAccountController-B738sw2d.js → PlayerAccountController-CmoCYSjc.js} +4 -4
  6. package/components/{PlayerAccountController-DMn6yjxB.js → PlayerAccountController-D-z3BhRg.js} +4 -4
  7. package/components/{PlayerAccountGamingLimitsPage2Gm16-AWVFiO4-.cjs → PlayerAccountGamingLimitsPage2Gm16-3cBoSFId.cjs} +1 -1
  8. package/components/{PlayerAccountGamingLimitsPage2Gm16-gTIR4g1p.js → PlayerAccountGamingLimitsPage2Gm16-CQQdpQX7.js} +59 -59
  9. package/components/{PlayerAccountGamingLimitsPage2Gm16-ONM_FRN3.js → PlayerAccountGamingLimitsPage2Gm16-eNfLqGlB.js} +149 -149
  10. package/components/PlayerAccountGamingLimitsWrapper2-CXvt0xT1.cjs +1 -0
  11. package/components/PlayerAccountGamingLimitsWrapper2-CiEh5iuU.js +1137 -0
  12. package/components/PlayerAccountGamingLimitsWrapper2-D9XQMqqT.js +1140 -0
  13. package/components/PlayerAccountMenu-DAgWU0GU.cjs +1 -0
  14. package/components/{PlayerAccountMenu-faH_tMrr.js → PlayerAccountMenu-De4Qa803.js} +108 -108
  15. package/components/{PlayerAccountMenu-muxxYK_y.js → PlayerAccountMenu-KlkTClRg.js} +130 -130
  16. package/es2015/player-account-controller.cjs +1 -1
  17. package/es2015/player-account-controller.js +1 -1
  18. package/esnext/player-account-controller.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/{index-1ef3a64c-CzlpRJE7.cjs → index-1ef3a64c-BXZ-SGgO.cjs} +1 -1
  21. package/stencil/{index-1ef3a64c-Cb8qLHe4.js → index-1ef3a64c-CFORB4wR.js} +1 -1
  22. package/stencil/{index-1ef3a64c-C4-h3nXC.js → index-1ef3a64c-DdAfq3Rf.js} +1 -1
  23. package/stencil/{user-deposit-withdrawal-Dnqg2IvK.js → user-deposit-withdrawal-DDiaA6g4.js} +120 -110
  24. package/stencil/{user-deposit-withdrawal-CE9oDw4W.js → user-deposit-withdrawal-DKYb9yA4.js} +109 -99
  25. package/stencil/{user-deposit-withdrawal-CBWlU3d2.cjs → user-deposit-withdrawal-Di_btQhd.cjs} +19 -9
  26. package/components/PlayerAccountGamingLimitsWrapper2-B-HI-JBh.js +0 -1022
  27. package/components/PlayerAccountGamingLimitsWrapper2-Ci9NymX1.cjs +0 -1
  28. package/components/PlayerAccountGamingLimitsWrapper2-Cz0NDH_o.js +0 -1028
  29. package/components/PlayerAccountMenu-BnFxWsrj.cjs +0 -1
@@ -1,4 +1,4 @@
1
- import { a as me, $ as ye, S as ge, i as pe, s as de, f as C, b as fe, n as S, d as F, g as L, j as h, p as he, q as G, u as Ae, w as be, O as H, P as $, h as a, k as I, e as m, o as g, c as z, m as W, r as Pe, l as O, v as B, a1 as Q, x as Me, y as we, z as ve, A as _e, B as xe } from "./GeneralLogout-B5B3mUfv.js";
1
+ import { a as me, $ as ye, S as ge, i as pe, s as de, f as C, b as fe, n as S, d as F, g as L, j as A, p as he, q as G, u as Ae, w as be, O as H, P as $, h as a, k as I, e as m, o as y, c as z, m as W, r as Pe, l as O, v as B, a1 as Q, x as Me, y as we, z as ve, A as _e, B as xe } from "./GeneralLogout-B5B3mUfv.js";
2
2
  import "../stencil/ui-skeleton-DoX-UmRU.js";
3
3
  function V(n, e) {
4
4
  me(n, e);
@@ -69,7 +69,7 @@ function J(n, e, t) {
69
69
  return l[37] = e[t], l;
70
70
  }
71
71
  function Ce(n) {
72
- let e, t, l, i, s, y, A, b, v, P, f, M, u = (
72
+ let e, t, l, o, s, g, f, b, v, P, h, M, u = (
73
73
  /*isMobile*/
74
74
  n[12] && Le(n)
75
75
  ), c = (
@@ -78,32 +78,32 @@ function Ce(n) {
78
78
  ), p = H(
79
79
  /*menuItems*/
80
80
  n[7]
81
- ), r = [];
81
+ ), i = [];
82
82
  for (let d = 0; d < p.length; d += 1)
83
- r[d] = K(Z(n, p, d));
83
+ i[d] = K(Z(n, p, d));
84
84
  let k = !/*isMobile*/
85
85
  n[12] && Ee(n);
86
86
  return {
87
87
  c() {
88
- e = h("div"), t = h("div"), u && u.c(), l = I(), i = h("p"), s = W(
88
+ e = A("div"), t = A("div"), u && u.c(), l = I(), o = A("p"), s = W(
89
89
  /*profileUsername*/
90
90
  n[9]
91
- ), y = I(), A = h("p"), b = W(
91
+ ), g = I(), f = A("p"), b = W(
92
92
  /*profileEmail*/
93
93
  n[10]
94
- ), v = I(), c && c.c(), P = I(), f = h("div");
95
- for (let d = 0; d < r.length; d += 1)
96
- r[d].c();
97
- M = I(), k && k.c(), g(i, "class", "PlayerAccountMenuUser"), g(A, "class", "PlayerAccountMenuEmail"), g(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
98
- (n[12] ? "PlayerAccountMenuHeaderMobile" : "")), g(f, "class", "PlayerAccountMenuList"), g(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
94
+ ), v = I(), c && c.c(), P = I(), h = A("div");
95
+ for (let d = 0; d < i.length; d += 1)
96
+ i[d].c();
97
+ M = I(), k && k.c(), y(o, "class", "PlayerAccountMenuUser"), y(o, "translate", "no"), y(f, "class", "PlayerAccountMenuEmail"), y(f, "translate", "no"), y(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
98
+ (n[12] ? "PlayerAccountMenuHeaderMobile" : "")), y(h, "class", "PlayerAccountMenuList"), y(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
99
99
  (n[12] ? "PlayerAccountMobileContainer" : "") + " " + /*mediaQuery*/
100
100
  (n[13].matches && /*isMobile*/
101
101
  n[12] ? "PlayerAccountTabletContainer" : ""));
102
102
  },
103
103
  m(d, _) {
104
- L(d, e, _), a(e, t), u && u.m(t, null), a(t, l), a(t, i), a(i, s), a(t, y), a(t, A), a(A, b), a(t, v), c && c.m(t, null), a(e, P), a(e, f);
105
- for (let w = 0; w < r.length; w += 1)
106
- r[w] && r[w].m(f, null);
104
+ L(d, e, _), a(e, t), u && u.m(t, null), a(t, l), a(t, o), a(o, s), a(t, g), a(t, f), a(f, b), a(t, v), c && c.m(t, null), a(e, P), a(e, h);
105
+ for (let w = 0; w < i.length; w += 1)
106
+ i[w] && i[w].m(h, null);
107
107
  a(e, M), k && k.m(e, null);
108
108
  },
109
109
  p(d, _) {
@@ -130,22 +130,22 @@ function Ce(n) {
130
130
  let w;
131
131
  for (w = 0; w < p.length; w += 1) {
132
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));
133
+ i[w] ? i[w].p(E, _) : (i[w] = K(E), i[w].c(), i[w].m(h, null));
134
134
  }
135
- for (; w < r.length; w += 1)
136
- r[w].d(1);
137
- r.length = p.length;
135
+ for (; w < i.length; w += 1)
136
+ i[w].d(1);
137
+ i.length = p.length;
138
138
  }
139
139
  /*isMobile*/
140
140
  d[12] || k.p(d, _);
141
141
  },
142
142
  d(d) {
143
- d && F(e), u && u.d(), c && c.d(), $(r, d), k && k.d();
143
+ d && F(e), u && u.d(), c && c.d(), $(i, d), k && k.d();
144
144
  }
145
145
  };
146
146
  }
147
147
  function Fe(n) {
148
- let e, t, l, i, s, y, A, b, v, P, f = (
148
+ let e, t, l, o, s, g, f, b, v, P, h = (
149
149
  /*isMobile*/
150
150
  n[12] && Be()
151
151
  ), M = H(Array(18)), u = [];
@@ -153,51 +153,51 @@ function Fe(n) {
153
153
  u[c] = Y(J(n, M, c));
154
154
  return {
155
155
  c() {
156
- e = h("div"), t = h("div"), f && f.c(), l = I(), i = h("ui-skeleton"), s = I(), y = h("ui-skeleton"), A = I(), b = h("div");
156
+ e = A("div"), t = A("div"), h && h.c(), l = I(), o = A("ui-skeleton"), s = I(), g = A("ui-skeleton"), f = I(), b = A("div");
157
157
  for (let c = 0; c < u.length; c += 1)
158
158
  u[c].c();
159
- v = I(), P = h("div"), P.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>', m(i, "structure", "title"), m(i, "width", "100px"), m(i, "height", "20px"), m(i, "margin-top", "10px"), m(y, "structure", "text"), m(y, "width", "200px"), m(y, "height", "20px"), g(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
160
- (n[12] ? "PlayerAccountMenuHeaderMobile" : "")), g(b, "class", "PlayerAccountMenuList"), g(P, "class", "skeletonLogOut"), g(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
159
+ v = I(), P = A("div"), P.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>', m(o, "structure", "title"), m(o, "width", "100px"), m(o, "height", "20px"), m(o, "margin-top", "10px"), m(g, "structure", "text"), m(g, "width", "200px"), m(g, "height", "20px"), y(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
160
+ (n[12] ? "PlayerAccountMenuHeaderMobile" : "")), y(b, "class", "PlayerAccountMenuList"), y(P, "class", "skeletonLogOut"), y(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
161
161
  (n[12] ? "PlayerAccountMobileContainer" : "") + " " + /*mediaQuery*/
162
162
  (n[13].matches && /*isMobile*/
163
163
  n[12] ? "PlayerAccountTabletContainer" : ""));
164
164
  },
165
165
  m(c, p) {
166
- L(c, e, p), a(e, t), f && f.m(t, null), a(t, l), a(t, i), a(t, s), a(t, y), a(e, A), a(e, b);
167
- for (let r = 0; r < u.length; r += 1)
168
- u[r] && u[r].m(b, null);
166
+ L(c, e, p), a(e, t), h && h.m(t, null), a(t, l), a(t, o), a(t, s), a(t, g), a(e, f), a(e, b);
167
+ for (let i = 0; i < u.length; i += 1)
168
+ u[i] && u[i].m(b, null);
169
169
  a(e, v), a(e, P);
170
170
  },
171
171
  p(c, p) {
172
172
  if (p[0] & /*isMobile*/
173
173
  4096) {
174
174
  M = H(Array(18));
175
- let r;
176
- for (r = 0; r < M.length; r += 1) {
177
- const k = J(c, M, r);
178
- u[r] ? u[r].p(k, p) : (u[r] = Y(k), u[r].c(), u[r].m(b, null));
175
+ let i;
176
+ for (i = 0; i < M.length; i += 1) {
177
+ const k = J(c, M, i);
178
+ u[i] ? u[i].p(k, p) : (u[i] = Y(k), u[i].c(), u[i].m(b, null));
179
179
  }
180
- for (; r < u.length; r += 1)
181
- u[r].d(1);
180
+ for (; i < u.length; i += 1)
181
+ u[i].d(1);
182
182
  u.length = M.length;
183
183
  }
184
184
  },
185
185
  d(c) {
186
- c && F(e), f && f.d(), $(u, c);
186
+ c && F(e), h && h.d(), $(u, c);
187
187
  }
188
188
  };
189
189
  }
190
190
  function Le(n) {
191
- let e, t, l, i, s, y, A, b, v, P, f = (
191
+ let e, t, l, o, s, g, f, b, v, P, h = (
192
192
  /*$_*/
193
193
  n[11]("title") + ""
194
194
  ), M, u, c;
195
195
  return {
196
196
  c() {
197
- e = h("div"), t = B("svg"), l = B("defs"), i = B("style"), s = W(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), y = B("g"), A = B("g"), b = B("path"), v = I(), P = h("h3"), M = W(f), g(b, "class", "aaa"), g(b, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), g(b, "transform", "translate(15 15) rotate(180)"), g(A, "transform", "translate(20 158)"), g(y, "transform", "translate(-20 -158)"), g(t, "xmlns", "http://www.w3.org/2000/svg"), g(t, "width", "15"), g(t, "height", "15"), g(t, "viewBox", "0 0 15 15"), g(P, "class", "PlayerAccountMenuCategoryTitle"), g(e, "class", "PlayerAccountMenuCategoryWrapper");
197
+ e = A("div"), t = B("svg"), l = B("defs"), o = B("style"), s = W(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), g = B("g"), f = B("g"), b = B("path"), v = I(), P = A("h3"), M = W(h), y(b, "class", "aaa"), y(b, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), y(b, "transform", "translate(15 15) rotate(180)"), y(f, "transform", "translate(20 158)"), y(g, "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(P, "class", "PlayerAccountMenuCategoryTitle"), y(e, "class", "PlayerAccountMenuCategoryWrapper");
198
198
  },
199
- m(p, r) {
200
- L(p, e, r), a(e, t), a(t, l), a(l, i), a(i, s), a(t, y), a(y, A), a(A, b), a(e, v), a(e, P), a(P, M), u || (c = [
199
+ m(p, i) {
200
+ L(p, e, i), a(e, t), a(t, l), a(l, o), a(o, s), a(t, g), a(g, f), a(f, b), a(e, v), a(e, P), a(P, M), u || (c = [
201
201
  O(
202
202
  t,
203
203
  "click",
@@ -212,10 +212,10 @@ function Le(n) {
212
212
  )
213
213
  ], u = !0);
214
214
  },
215
- p(p, r) {
216
- r[0] & /*$_*/
217
- 2048 && f !== (f = /*$_*/
218
- p[11]("title") + "") && z(M, f);
215
+ p(p, i) {
216
+ i[0] & /*$_*/
217
+ 2048 && h !== (h = /*$_*/
218
+ p[11]("title") + "") && z(M, h);
219
219
  },
220
220
  d(p) {
221
221
  p && F(e), u = !1, Pe(c);
@@ -226,7 +226,7 @@ function Te(n) {
226
226
  let e, t;
227
227
  return {
228
228
  c() {
229
- e = h("div"), t = h("general-logout"), m(
229
+ e = A("div"), t = A("general-logout"), m(
230
230
  t,
231
231
  "endpoint",
232
232
  /*endpoint*/
@@ -251,37 +251,37 @@ function Te(n) {
251
251
  "mbsource",
252
252
  /*mbsource*/
253
253
  n[4]
254
- ), g(e, "class", "PlayerAccountLogOutArea");
254
+ ), y(e, "class", "PlayerAccountLogOutArea");
255
255
  },
256
- m(l, i) {
257
- L(l, e, i), a(e, t);
256
+ m(l, o) {
257
+ L(l, e, o), a(e, t);
258
258
  },
259
- p(l, i) {
260
- i[0] & /*endpoint*/
259
+ p(l, o) {
260
+ o[0] & /*endpoint*/
261
261
  2 && m(
262
262
  t,
263
263
  "endpoint",
264
264
  /*endpoint*/
265
265
  l[1]
266
- ), i[0] & /*session*/
266
+ ), o[0] & /*session*/
267
267
  1 && m(
268
268
  t,
269
269
  "session",
270
270
  /*session*/
271
271
  l[0]
272
- ), i[0] & /*clientstyling*/
272
+ ), o[0] & /*clientstyling*/
273
273
  4 && m(
274
274
  t,
275
275
  "clientstyling",
276
276
  /*clientstyling*/
277
277
  l[2]
278
- ), i[0] & /*clientstylingurl*/
278
+ ), o[0] & /*clientstylingurl*/
279
279
  8 && m(
280
280
  t,
281
281
  "clientstylingurl",
282
282
  /*clientstylingurl*/
283
283
  l[3]
284
- ), i[0] & /*mbsource*/
284
+ ), o[0] & /*mbsource*/
285
285
  16 && m(
286
286
  t,
287
287
  "mbsource",
@@ -295,10 +295,10 @@ function Te(n) {
295
295
  };
296
296
  }
297
297
  function K(n) {
298
- let e, t, l, i, s, y, A = (
298
+ let e, t, l, o, s, g, f = (
299
299
  /*menuItem*/
300
300
  n[40].label + ""
301
- ), b, v, P, f, M;
301
+ ), b, v, P, h, M;
302
302
  function u() {
303
303
  return (
304
304
  /*click_handler*/
@@ -310,29 +310,29 @@ function K(n) {
310
310
  }
311
311
  return {
312
312
  c() {
313
- e = h("div"), t = h("p"), l = h("img"), s = I(), y = h("span"), b = W(A), v = I(), g(l, "class", "PlayerAccountMenuItemIcon " + /*isMobile*/
314
- (n[12] ? "PlayerAccountMenuItemIconMobile" : "")), Q(l.src, i = /*menuItem*/
315
- n[40].img) || g(l, "src", i), g(y, "class", "PlayerAccountMenuItemTitle"), g(t, "class", "PlayerAccountMenuItemWrapper"), g(e, "class", P = "PlayerAccountMenuItemBox " + /*selectedItem*/
313
+ e = A("div"), t = A("p"), l = A("img"), s = I(), g = A("span"), b = W(f), v = I(), y(l, "class", "PlayerAccountMenuItemIcon " + /*isMobile*/
314
+ (n[12] ? "PlayerAccountMenuItemIconMobile" : "")), Q(l.src, o = /*menuItem*/
315
+ n[40].img) || y(l, "src", o), y(g, "class", "PlayerAccountMenuItemTitle"), y(t, "class", "PlayerAccountMenuItemWrapper"), y(e, "class", P = "PlayerAccountMenuItemBox " + /*selectedItem*/
316
316
  (n[8] === /*menuItem*/
317
317
  n[40].id && !/*isMobile*/
318
318
  n[12] ? "PlayerAccountMenuActiveItemBox" : ""));
319
319
  },
320
320
  m(c, p) {
321
- L(c, e, p), a(e, t), a(t, l), a(t, s), a(t, y), a(y, b), a(e, v), f || (M = O(e, "click", u), f = !0);
321
+ L(c, e, p), a(e, t), a(t, l), a(t, s), a(t, g), a(g, b), a(e, v), h || (M = O(e, "click", u), h = !0);
322
322
  },
323
323
  p(c, p) {
324
324
  n = c, p[0] & /*menuItems*/
325
- 128 && !Q(l.src, i = /*menuItem*/
326
- n[40].img) && g(l, "src", i), p[0] & /*menuItems*/
327
- 128 && A !== (A = /*menuItem*/
328
- n[40].label + "") && z(b, A), p[0] & /*selectedItem, menuItems*/
325
+ 128 && !Q(l.src, o = /*menuItem*/
326
+ n[40].img) && y(l, "src", o), p[0] & /*menuItems*/
327
+ 128 && f !== (f = /*menuItem*/
328
+ n[40].label + "") && z(b, f), p[0] & /*selectedItem, menuItems*/
329
329
  384 && P !== (P = "PlayerAccountMenuItemBox " + /*selectedItem*/
330
330
  (n[8] === /*menuItem*/
331
331
  n[40].id && !/*isMobile*/
332
- n[12] ? "PlayerAccountMenuActiveItemBox" : "")) && g(e, "class", P);
332
+ n[12] ? "PlayerAccountMenuActiveItemBox" : "")) && y(e, "class", P);
333
333
  },
334
334
  d(c) {
335
- c && F(e), f = !1, M();
335
+ c && F(e), h = !1, M();
336
336
  }
337
337
  };
338
338
  }
@@ -340,7 +340,7 @@ function Ee(n) {
340
340
  let e, t;
341
341
  return {
342
342
  c() {
343
- e = h("div"), t = h("general-logout"), m(
343
+ e = A("div"), t = A("general-logout"), m(
344
344
  t,
345
345
  "endpoint",
346
346
  /*endpoint*/
@@ -365,37 +365,37 @@ function Ee(n) {
365
365
  "mbsource",
366
366
  /*mbsource*/
367
367
  n[4]
368
- ), g(e, "class", "PlayerAccountLogOutArea");
368
+ ), y(e, "class", "PlayerAccountLogOutArea");
369
369
  },
370
- m(l, i) {
371
- L(l, e, i), a(e, t);
370
+ m(l, o) {
371
+ L(l, e, o), a(e, t);
372
372
  },
373
- p(l, i) {
374
- i[0] & /*endpoint*/
373
+ p(l, o) {
374
+ o[0] & /*endpoint*/
375
375
  2 && m(
376
376
  t,
377
377
  "endpoint",
378
378
  /*endpoint*/
379
379
  l[1]
380
- ), i[0] & /*session*/
380
+ ), o[0] & /*session*/
381
381
  1 && m(
382
382
  t,
383
383
  "session",
384
384
  /*session*/
385
385
  l[0]
386
- ), i[0] & /*clientstyling*/
386
+ ), o[0] & /*clientstyling*/
387
387
  4 && m(
388
388
  t,
389
389
  "clientstyling",
390
390
  /*clientstyling*/
391
391
  l[2]
392
- ), i[0] & /*clientstylingurl*/
392
+ ), o[0] & /*clientstylingurl*/
393
393
  8 && m(
394
394
  t,
395
395
  "clientstylingurl",
396
396
  /*clientstylingurl*/
397
397
  l[3]
398
- ), i[0] & /*mbsource*/
398
+ ), o[0] & /*mbsource*/
399
399
  16 && m(
400
400
  t,
401
401
  "mbsource",
@@ -412,7 +412,7 @@ function Be(n) {
412
412
  let e;
413
413
  return {
414
414
  c() {
415
- 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>', g(e, "class", "PlayerAccountMenuCategoryWrapper");
415
+ e = A("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");
416
416
  },
417
417
  m(t, l) {
418
418
  L(t, e, l);
@@ -426,7 +426,7 @@ function We(n) {
426
426
  let e;
427
427
  return {
428
428
  c() {
429
- e = h("ui-skeleton"), m(e, "structure", "circle"), m(e, "size", "20px");
429
+ e = A("ui-skeleton"), m(e, "structure", "circle"), m(e, "size", "20px");
430
430
  },
431
431
  m(t, l) {
432
432
  L(t, e, l);
@@ -437,57 +437,57 @@ function We(n) {
437
437
  };
438
438
  }
439
439
  function Y(n) {
440
- let e, t, l, i, s = !/*isMobile*/
440
+ let e, t, l, o, s = !/*isMobile*/
441
441
  n[12] && We();
442
442
  return {
443
443
  c() {
444
- e = h("div"), s && s.c(), t = I(), l = h("ui-skeleton"), i = I(), m(l, "structure", "rectangle"), m(l, "width", "100%"), m(
444
+ e = A("div"), s && s.c(), t = I(), l = A("ui-skeleton"), o = I(), m(l, "structure", "rectangle"), m(l, "width", "100%"), m(
445
445
  l,
446
446
  "height",
447
447
  /*isMobile*/
448
448
  n[12] ? "120px" : "20px"
449
- ), g(e, "class", "PlayerAccountItemWrap " + /*isMobile*/
449
+ ), y(e, "class", "PlayerAccountItemWrap " + /*isMobile*/
450
450
  (n[12] ? "PlayerAccountItemWrapMobile" : ""));
451
451
  },
452
- m(y, A) {
453
- L(y, e, A), s && s.m(e, null), a(e, t), a(e, l), a(e, i);
452
+ m(g, f) {
453
+ L(g, e, f), s && s.m(e, null), a(e, t), a(e, l), a(e, o);
454
454
  },
455
455
  p: S,
456
- d(y) {
457
- y && F(e), s && s.d();
456
+ d(g) {
457
+ g && F(e), s && s.d();
458
458
  }
459
459
  };
460
460
  }
461
461
  function He(n) {
462
462
  let e;
463
- function t(s, y) {
463
+ function t(s, g) {
464
464
  return (
465
465
  /*skeletonLoading*/
466
466
  s[6] ? Fe : Ce
467
467
  );
468
468
  }
469
- let l = t(n), i = l(n);
469
+ let l = t(n), o = l(n);
470
470
  return {
471
471
  c() {
472
- e = h("div"), i.c();
472
+ e = A("div"), o.c();
473
473
  },
474
- m(s, y) {
475
- L(s, e, y), i.m(e, null), n[26](e);
474
+ m(s, g) {
475
+ L(s, e, g), o.m(e, null), n[26](e);
476
476
  },
477
- p(s, y) {
478
- l === (l = t(s)) && i ? i.p(s, y) : (i.d(1), i = l(s), i && (i.c(), i.m(e, null)));
477
+ p(s, g) {
478
+ l === (l = t(s)) && o ? o.p(s, g) : (o.d(1), o = l(s), o && (o.c(), o.m(e, null)));
479
479
  },
480
480
  i: S,
481
481
  o: S,
482
482
  d(s) {
483
- s && F(e), i.d(), n[26](null);
483
+ s && F(e), o.d(), n[26](null);
484
484
  }
485
485
  };
486
486
  }
487
487
  function ze(n, e, t) {
488
488
  let l;
489
- he(n, xe, (o) => t(11, l = o));
490
- let { endpoint: i = "" } = e, { cmsendpoint: s = "" } = e, { env: y = "" } = e, { session: A = "" } = e, { playerid: b = "" } = e, { lang: v = "en" } = e, { userroles: P = "" } = e, { clientstyling: f = "" } = e, { clientstylingurl: M = "" } = e, { translationurl: u = "" } = e, { activemenuitem: c = "" } = e, { mbsource: p } = e, r = !1, k = !1, d = !0, _, w = [], E, j = window.navigator.userAgent, ee = G(j) !== "PC", D = "", U = "";
489
+ he(n, xe, (r) => t(11, l = r));
490
+ let { endpoint: o = "" } = e, { cmsendpoint: s = "" } = e, { env: g = "" } = e, { session: f = "" } = e, { playerid: b = "" } = e, { lang: v = "en" } = e, { userroles: P = "" } = e, { clientstyling: h = "" } = e, { clientstylingurl: M = "" } = e, { translationurl: u = "" } = e, { activemenuitem: c = "" } = e, { mbsource: p } = e, i = !1, k = !1, d = !0, _, w = [], E, j = window.navigator.userAgent, ee = G(j) !== "PC", D = "", U = "";
491
491
  const te = window.matchMedia("(min-width: 768px)"), ne = () => {
492
492
  fetch(u).then((x) => x.json()).then((x) => {
493
493
  Object.keys(x).forEach((T) => {
@@ -497,37 +497,37 @@ function ze(n, e, t) {
497
497
  console.error(x);
498
498
  });
499
499
  };
500
- Object.keys(X).forEach((o) => {
501
- V(o, X[o]);
500
+ Object.keys(X).forEach((r) => {
501
+ V(r, X[r]);
502
502
  });
503
- const R = (o) => {
504
- if (o.data)
505
- switch (o.data.type) {
503
+ const R = (r) => {
504
+ if (r.data)
505
+ switch (r.data.type) {
506
506
  case "UserSessionID":
507
- t(0, A = o.data.session);
507
+ t(0, f = r.data.session);
508
508
  break;
509
509
  }
510
510
  }, le = () => {
511
- let o = G(j);
512
- if (o)
513
- return o === "PC" ? "dk" : "mtWeb";
511
+ let r = G(j);
512
+ if (r)
513
+ return r === "PC" ? "dk" : "mtWeb";
514
514
  }, oe = () => {
515
- const o = new URL(`${s}/${v}/profile-menu?env=${y}`);
516
- o.searchParams.append("device", le()), fetch(o.href).then((x) => x.json()).then((x) => {
515
+ const r = new URL(`${s}/${v}/profile-menu?env=${g}`);
516
+ r.searchParams.append("device", le()), fetch(r.href).then((x) => x.json()).then((x) => {
517
517
  t(7, w = x), N();
518
518
  }).catch((x) => {
519
519
  console.error("Error getting menu items", x);
520
520
  }).finally(() => {
521
- t(23, r = !0);
521
+ t(23, i = !0);
522
522
  });
523
- }, ie = () => {
524
- let o = new URL(`${i}/v1/player/${b}/profile`);
525
- o.searchParams.append("userRoles", P);
523
+ }, re = () => {
524
+ let r = new URL(`${o}/v1/player/${b}/profile`);
525
+ r.searchParams.append("userRoles", P);
526
526
  let x = {
527
527
  method: "GET",
528
- headers: { "X-SessionID": A }
528
+ headers: { "X-SessionID": f }
529
529
  };
530
- fetch(o.href, x).then((T) => T.json()).then(
530
+ fetch(r.href, x).then((T) => T.json()).then(
531
531
  (T) => {
532
532
  t(9, D = T.username), t(10, U = T.email);
533
533
  },
@@ -537,44 +537,44 @@ function ze(n, e, t) {
537
537
  ).finally(() => {
538
538
  t(24, k = !0);
539
539
  });
540
- }, q = (o) => {
541
- window.postMessage({ type: "ChangeAccountPage", page: o }, window.location.href), t(8, E = o.id);
540
+ }, q = (r) => {
541
+ window.postMessage({ type: "ChangeAccountPage", page: r }, window.location.href), t(8, E = r.id);
542
542
  }, N = () => {
543
- var o;
544
- t(8, E = (o = w.find((x) => x.path.includes(c))) == null ? void 0 : o.id);
545
- }, re = () => {
543
+ var r;
544
+ t(8, E = (r = w.find((x) => x.path.includes(c))) == null ? void 0 : r.id);
545
+ }, ie = () => {
546
546
  ke(v);
547
547
  }, ae = () => {
548
- ie();
548
+ re();
549
549
  }, ce = () => {
550
550
  window.postMessage({ type: "GoToHomepage" }, window.location.href);
551
551
  };
552
552
  Ae(() => (window.addEventListener("message", R, !1), () => {
553
553
  window.removeEventListener("message", R);
554
554
  }));
555
- const se = (o) => q(o);
556
- function ue(o) {
557
- be[o ? "unshift" : "push"](() => {
558
- _ = o, t(5, _);
555
+ const se = (r) => q(r);
556
+ function ue(r) {
557
+ be[r ? "unshift" : "push"](() => {
558
+ _ = r, t(5, _);
559
559
  });
560
560
  }
561
- return n.$$set = (o) => {
562
- "endpoint" in o && t(1, i = o.endpoint), "cmsendpoint" in o && t(16, s = o.cmsendpoint), "env" in o && t(17, y = o.env), "session" in o && t(0, A = o.session), "playerid" in o && t(18, b = o.playerid), "lang" in o && t(19, v = o.lang), "userroles" in o && t(20, P = o.userroles), "clientstyling" in o && t(2, f = o.clientstyling), "clientstylingurl" in o && t(3, M = o.clientstylingurl), "translationurl" in o && t(21, u = o.translationurl), "activemenuitem" in o && t(22, c = o.activemenuitem), "mbsource" in o && t(4, p = o.mbsource);
561
+ return n.$$set = (r) => {
562
+ "endpoint" in r && t(1, o = r.endpoint), "cmsendpoint" in r && t(16, s = r.cmsendpoint), "env" in r && t(17, g = r.env), "session" in r && t(0, f = r.session), "playerid" in r && t(18, b = r.playerid), "lang" in r && t(19, v = r.lang), "userroles" in r && t(20, P = r.userroles), "clientstyling" in r && t(2, h = r.clientstyling), "clientstylingurl" in r && t(3, M = r.clientstylingurl), "translationurl" in r && t(21, u = r.translationurl), "activemenuitem" in r && t(22, c = r.activemenuitem), "mbsource" in r && t(4, p = r.mbsource);
563
563
  }, n.$$.update = () => {
564
564
  n.$$.dirty[0] & /*menuLoaded, playerInfoLoaded*/
565
- 25165824 && t(6, d = !r || !k), n.$$.dirty[0] & /*lang*/
566
- 524288 && v && re(), n.$$.dirty[0] & /*endpoint, session, playerid, lang*/
567
- 786435 && i && A && b && v && ae(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
568
- 720896 && s && v && y && oe(), n.$$.dirty[0] & /*activemenuitem*/
565
+ 25165824 && t(6, d = !i || !k), n.$$.dirty[0] & /*lang*/
566
+ 524288 && v && ie(), n.$$.dirty[0] & /*endpoint, session, playerid, lang*/
567
+ 786435 && o && f && b && v && ae(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
568
+ 720896 && s && v && g && oe(), n.$$.dirty[0] & /*activemenuitem*/
569
569
  4194304 && c && N(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
570
- 36 && f && _ && Me(_, f), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
570
+ 36 && h && _ && Me(_, h), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
571
571
  40 && M && _ && we(_, M), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
572
572
  48 && p && _ && ve(_, `${p}.Style`), n.$$.dirty[0] & /*translationurl*/
573
573
  2097152 && u && ne();
574
574
  }, [
575
- A,
576
- i,
577
575
  f,
576
+ o,
577
+ h,
578
578
  M,
579
579
  p,
580
580
  _,
@@ -589,13 +589,13 @@ function ze(n, e, t) {
589
589
  q,
590
590
  ce,
591
591
  s,
592
- y,
592
+ g,
593
593
  b,
594
594
  v,
595
595
  P,
596
596
  u,
597
597
  c,
598
- r,
598
+ i,
599
599
  k,
600
600
  se,
601
601
  ue
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountController-CiWBnnkt.cjs")).then(({default:t})=>{!customElements.get("player-account-controller")&&customElements.define("player-account-controller",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountController-CG8fgLLM.cjs")).then(({default:t})=>{!customElements.get("player-account-controller")&&customElements.define("player-account-controller",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/PlayerAccountController-B738sw2d.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/PlayerAccountController-CmoCYSjc.js").then(({ default: t }) => {
14
14
  !customElements.get("player-account-controller") && customElements.define("player-account-controller", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { P as r } from "../components/PlayerAccountController-DMn6yjxB.js";
1
+ import { P as r } from "../components/PlayerAccountController-D-z3BhRg.js";
2
2
  function s(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/player-account-controller",
3
- "version": "1.62.2",
3
+ "version": "1.62.4",
4
4
  "type": "module",
5
5
  "main": "es2015/player-account-controller.cjs",
6
6
  "module": "esnext/player-account-controller.js",