@everymatrix/player-account-menu-nd 1.55.0 → 1.56.2

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.
@@ -1,590 +0,0 @@
1
- import { a as ie, $ as ce, S as se, i as ue, f as I, c as me, s as de, b as ge, e as v, d as L, n as O, g as B, h as ye, j as R, o as pe, k as fe, l as he, m as N, p as k, t as z, q as s, r as o, u as H, v as Ae, w as E, x as W, y as Me, z as b, A as q } from "./GeneralLogout-DVIGabm4.js";
2
- function G(n, e) {
3
- ie(n, e);
4
- }
5
- function be(n) {
6
- ce.set(n);
7
- }
8
- const V = {
9
- en: {
10
- title: "My Account"
11
- },
12
- "zh-hk": {
13
- title: "我的帳戶"
14
- },
15
- fr: {
16
- title: "Mon compte"
17
- },
18
- tr: {
19
- title: "Hesabım"
20
- },
21
- ro: {
22
- title: "Contul meu"
23
- },
24
- es: {
25
- title: "Mi Cuenta"
26
- },
27
- pt: {
28
- title: "Minha Conta"
29
- },
30
- hr: {
31
- title: "Moj račun"
32
- },
33
- "pt-br": {
34
- title: "Minha conta"
35
- },
36
- "es-mx": {
37
- title: "Mi cuenta"
38
- },
39
- "en-us": {
40
- title: "My Account"
41
- }
42
- };
43
- if (typeof window != "undefined") {
44
- let n = function(e) {
45
- return function(...t) {
46
- try {
47
- return e.apply(this, t);
48
- } catch (l) {
49
- if (l instanceof DOMException && l.message.includes("has already been used with this registry") || l.message.includes("Cannot define multiple custom elements with the same tag name"))
50
- return !1;
51
- throw l;
52
- }
53
- };
54
- };
55
- customElements.define = n(customElements.define), import("./GeneralLogout-DVIGabm4.js").then((e) => e.G).then(({ default: e }) => {
56
- !customElements.get("general-logout") && customElements.define("general-logout", e.element);
57
- });
58
- }
59
- function Pe(n) {
60
- ge(n, "svelte-br9jas", '.PlayerAccountMenuContainer{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;padding:0 15px}.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:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:var(--emw--font-size-small, 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:var(--emw--font-size-medium, 16px);line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;border-radius:var(--emw--border-radius-medium, 20px);border:2px solid transparent;cursor:pointer;transition:all 0.3s linear}.PlayerAccountMenuItemBox:hover{transition:all 0.3s linear;background:rgba(35, 176, 78, 0.3);border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;padding-top:15px}.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-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 20px);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);transition:all 0.3s linear}.PlayerAccountMobileContainer{height:unset;padding:0}.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:flex;flex-direction:column;align-items:flex-start;margin:0px 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);height:60px;margin:5px 0;align-items:flex-start;position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding:0 10px 0 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox::after{content:"";display:inline-block;width:15px;height:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2215%22 height=%2215%22 viewBox=%220 0 15 15%22%3E%3Cdefs%3E%3Cstyle%3E.aaa%7Bfill:var(--emw--color-white,%20%23FFFFFF);%7D%3C/style%3E%3C/defs%3E%3Cg transform=%22translate(-20%20-158)%22%3E%3Cg transform=%22translate(20%20158)%22%3E%3Cpath class=%22aaa%22 d=%22M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z%22 transform=%22translate(15%2015)%20rotate(180)%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:contain;transform:scaleX(-1);background-repeat:no-repeat;position:absolute;right:15px;top:22px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;justify-items:center;align-items:center;flex-flow:row;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-medium, 16px);line-height:16px;font-weight:400;word-break:break-word;text-align:left;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;color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:18px}.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,.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:12px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-large, 20px)}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}');
61
- }
62
- function X(n, e, t) {
63
- const l = n.slice();
64
- return l[37] = e[t], l;
65
- }
66
- function we(n) {
67
- let e, t, l, a, d, m, y, h, P, w, A, x, M = (
68
- /*isMobile*/
69
- n[10] && ve(n)
70
- ), g = (
71
- /*isMobile*/
72
- n[10] && xe(n)
73
- ), u = N(
74
- /*menuItems*/
75
- n[5]
76
- ), c = [];
77
- for (let i = 0; i < u.length; i += 1)
78
- c[i] = Z(X(n, u, i));
79
- let F = !/*isMobile*/
80
- n[10] && _e(n);
81
- return {
82
- c() {
83
- e = v("div"), t = v("div"), M && M.c(), l = k(), a = v("p"), d = z(
84
- /*profileUsername*/
85
- n[7]
86
- ), m = k(), y = v("p"), h = z(
87
- /*profileEmail*/
88
- n[8]
89
- ), P = k(), g && g.c(), w = k(), A = v("div");
90
- for (let i = 0; i < c.length; i += 1)
91
- c[i].c();
92
- x = k(), F && F.c(), s(a, "class", "PlayerAccountMenuUser"), s(y, "class", "PlayerAccountMenuEmail"), s(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
93
- (n[10] ? "PlayerAccountMenuHeaderMobile" : "")), s(A, "class", "PlayerAccountMenuList"), s(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
94
- (n[10] ? "PlayerAccountMobileContainer" : "") + " " + /*mediaQuery*/
95
- (n[11].matches && /*isMobile*/
96
- n[10] ? "PlayerAccountTabletContainer" : ""));
97
- },
98
- m(i, C) {
99
- L(i, e, C), o(e, t), M && M.m(t, null), o(t, l), o(t, a), o(a, d), o(t, m), o(t, y), o(y, h), o(t, P), g && g.m(t, null), o(e, w), o(e, A);
100
- for (let p = 0; p < c.length; p += 1)
101
- c[p] && c[p].m(A, null);
102
- o(e, x), F && F.m(e, null);
103
- },
104
- p(i, C) {
105
- if (
106
- /*isMobile*/
107
- i[10] && M.p(i, C), C[0] & /*profileUsername*/
108
- 128 && H(
109
- d,
110
- /*profileUsername*/
111
- i[7]
112
- ), C[0] & /*profileEmail*/
113
- 256 && H(
114
- h,
115
- /*profileEmail*/
116
- i[8]
117
- ), /*isMobile*/
118
- i[10] && g.p(i, C), C[0] & /*selectedItem, menuItems, isMobile, openAccountSection*/
119
- 5216
120
- ) {
121
- u = N(
122
- /*menuItems*/
123
- i[5]
124
- );
125
- let p;
126
- for (p = 0; p < u.length; p += 1) {
127
- const T = X(i, u, p);
128
- c[p] ? c[p].p(T, C) : (c[p] = Z(T), c[p].c(), c[p].m(A, null));
129
- }
130
- for (; p < c.length; p += 1)
131
- c[p].d(1);
132
- c.length = u.length;
133
- }
134
- /*isMobile*/
135
- i[10] || F.p(i, C);
136
- },
137
- d(i) {
138
- i && B(e), M && M.d(), g && g.d(), Ae(c, i), F && F.d();
139
- }
140
- };
141
- }
142
- function ve(n) {
143
- let e, t, l, a, d, m, y, h, P, w, A = (
144
- /*$_*/
145
- n[9]("title") + ""
146
- ), x, M, g;
147
- return {
148
- c() {
149
- e = v("div"), t = E("svg"), l = E("defs"), a = E("style"), d = z(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), m = E("g"), y = E("g"), h = E("path"), P = k(), w = v("h3"), x = z(A), 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(y, "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(w, "class", "PlayerAccountMenuCategoryTitle"), s(e, "class", "PlayerAccountMenuCategoryWrapper");
150
- },
151
- m(u, c) {
152
- L(u, e, c), o(e, t), o(t, l), o(l, a), o(a, d), o(t, m), o(m, y), o(y, h), o(e, P), o(e, w), o(w, x), M || (g = [
153
- W(
154
- t,
155
- "click",
156
- /*goToHome*/
157
- n[13]
158
- ),
159
- W(
160
- w,
161
- "click",
162
- /*goToHome*/
163
- n[13]
164
- )
165
- ], M = !0);
166
- },
167
- p(u, c) {
168
- c[0] & /*$_*/
169
- 512 && A !== (A = /*$_*/
170
- u[9]("title") + "") && H(x, A);
171
- },
172
- d(u) {
173
- u && B(e), M = !1, Me(g);
174
- }
175
- };
176
- }
177
- function xe(n) {
178
- let e, t;
179
- return {
180
- c() {
181
- e = v("div"), t = v("general-logout"), b(
182
- t,
183
- "endpoint",
184
- /*endpoint*/
185
- n[1]
186
- ), b(
187
- t,
188
- "session",
189
- /*session*/
190
- n[0]
191
- ), b(t, "buttonlocation", "PlayerAccountMenu"), b(
192
- t,
193
- "clientstyling",
194
- /*clientstyling*/
195
- n[2]
196
- ), b(
197
- t,
198
- "clientstylingurl",
199
- /*clientstylingurl*/
200
- n[3]
201
- ), s(e, "class", "PlayerAccountLogOutArea");
202
- },
203
- m(l, a) {
204
- L(l, e, a), o(e, t);
205
- },
206
- p(l, a) {
207
- a[0] & /*endpoint*/
208
- 2 && b(
209
- t,
210
- "endpoint",
211
- /*endpoint*/
212
- l[1]
213
- ), a[0] & /*session*/
214
- 1 && b(
215
- t,
216
- "session",
217
- /*session*/
218
- l[0]
219
- ), a[0] & /*clientstyling*/
220
- 4 && b(
221
- t,
222
- "clientstyling",
223
- /*clientstyling*/
224
- l[2]
225
- ), a[0] & /*clientstylingurl*/
226
- 8 && b(
227
- t,
228
- "clientstylingurl",
229
- /*clientstylingurl*/
230
- l[3]
231
- );
232
- },
233
- d(l) {
234
- l && B(e);
235
- }
236
- };
237
- }
238
- function Z(n) {
239
- let e, t, l, a, d, m, y = (
240
- /*menuItem*/
241
- n[37].label + ""
242
- ), h, P, w, A, x;
243
- function M() {
244
- return (
245
- /*click_handler*/
246
- n[22](
247
- /*menuItem*/
248
- n[37]
249
- )
250
- );
251
- }
252
- return {
253
- c() {
254
- e = v("div"), t = v("p"), l = v("img"), d = k(), m = v("span"), h = z(y), P = k(), s(l, "class", "PlayerAccountMenuItemIcon " + /*isMobile*/
255
- (n[10] ? "PlayerAccountMenuItemIconMobile" : "")), q(l.src, a = /*menuItem*/
256
- n[37].img) || s(l, "src", a), s(m, "class", "PlayerAccountMenuItemTitle"), s(t, "class", "PlayerAccountMenuItemWrapper"), s(e, "class", w = "PlayerAccountMenuItemBox " + /*selectedItem*/
257
- (n[6] === /*menuItem*/
258
- n[37].id && !/*isMobile*/
259
- n[10] ? "PlayerAccountMenuActiveItemBox" : ""));
260
- },
261
- m(g, u) {
262
- L(g, e, u), o(e, t), o(t, l), o(t, d), o(t, m), o(m, h), o(e, P), A || (x = W(e, "click", M), A = !0);
263
- },
264
- p(g, u) {
265
- n = g, u[0] & /*menuItems*/
266
- 32 && !q(l.src, a = /*menuItem*/
267
- n[37].img) && s(l, "src", a), u[0] & /*menuItems*/
268
- 32 && y !== (y = /*menuItem*/
269
- n[37].label + "") && H(h, y), u[0] & /*selectedItem, menuItems*/
270
- 96 && w !== (w = "PlayerAccountMenuItemBox " + /*selectedItem*/
271
- (n[6] === /*menuItem*/
272
- n[37].id && !/*isMobile*/
273
- n[10] ? "PlayerAccountMenuActiveItemBox" : "")) && s(e, "class", w);
274
- },
275
- d(g) {
276
- g && B(e), A = !1, x();
277
- }
278
- };
279
- }
280
- function _e(n) {
281
- let e, t;
282
- return {
283
- c() {
284
- e = v("div"), t = v("general-logout"), b(
285
- t,
286
- "endpoint",
287
- /*endpoint*/
288
- n[1]
289
- ), b(
290
- t,
291
- "session",
292
- /*session*/
293
- n[0]
294
- ), b(t, "buttonlocation", "PlayerAccountMenu"), b(
295
- t,
296
- "clientstyling",
297
- /*clientstyling*/
298
- n[2]
299
- ), b(
300
- t,
301
- "clientstylingurl",
302
- /*clientstylingurl*/
303
- n[3]
304
- ), s(e, "class", "PlayerAccountLogOutArea");
305
- },
306
- m(l, a) {
307
- L(l, e, a), o(e, t);
308
- },
309
- p(l, a) {
310
- a[0] & /*endpoint*/
311
- 2 && b(
312
- t,
313
- "endpoint",
314
- /*endpoint*/
315
- l[1]
316
- ), a[0] & /*session*/
317
- 1 && b(
318
- t,
319
- "session",
320
- /*session*/
321
- l[0]
322
- ), a[0] & /*clientstyling*/
323
- 4 && b(
324
- t,
325
- "clientstyling",
326
- /*clientstyling*/
327
- l[2]
328
- ), a[0] & /*clientstylingurl*/
329
- 8 && b(
330
- t,
331
- "clientstylingurl",
332
- /*clientstylingurl*/
333
- l[3]
334
- );
335
- },
336
- d(l) {
337
- l && B(e);
338
- }
339
- };
340
- }
341
- function Ce(n) {
342
- let e;
343
- function t(d, m) {
344
- return we;
345
- }
346
- let a = t()(n);
347
- return {
348
- c() {
349
- e = v("div"), a.c();
350
- },
351
- m(d, m) {
352
- L(d, e, m), a.m(e, null), n[23](e);
353
- },
354
- p(d, m) {
355
- a.p(d, m);
356
- },
357
- i: O,
358
- o: O,
359
- d(d) {
360
- d && B(e), a.d(), n[23](null);
361
- }
362
- };
363
- }
364
- function Ie(n, e, t) {
365
- let l;
366
- ye(n, he, (r) => t(9, l = r));
367
- let { endpoint: a = "" } = e, { cmsendpoint: d = "" } = e, { env: m = "" } = e, { session: y = "" } = e, { playerid: h = "" } = e, { lang: P = "en" } = e, { selecteditem: w = "" } = e, { userroles: A = "" } = e, { clientstyling: x = "" } = e, { clientstylingurl: M = "" } = e, { translationurl: g = "" } = e, { activemenuitem: u = "" } = e, c, F = [], i, C = window.navigator.userAgent, p = R(C) !== "PC", T = "", S = "";
368
- const Q = window.matchMedia("(min-width: 768px)"), J = () => {
369
- fetch(g).then((f) => f.json()).then((f) => {
370
- Object.keys(f).forEach((_) => {
371
- G(_, f[_]);
372
- });
373
- }).catch((f) => {
374
- console.error(f);
375
- });
376
- };
377
- Object.keys(V).forEach((r) => {
378
- G(r, V[r]);
379
- });
380
- const U = (r) => {
381
- if (r.data)
382
- switch (r.data.type) {
383
- case "AccountMenuDetails":
384
- availableMenuItemsArray = r.data.accountMenuInfo;
385
- break;
386
- case "UserSessionID":
387
- t(0, y = r.data.session);
388
- break;
389
- }
390
- }, K = () => {
391
- let r = R(C);
392
- if (r)
393
- return r === "PC" ? "dk" : "mtWeb";
394
- }, Y = () => {
395
- const r = new URL(`${d}/${P}/profile-menu?env=${m}`);
396
- r.searchParams.append("device", K()), fetch(r.href).then((f) => f.json()).then((f) => {
397
- t(5, F = f), D();
398
- }).catch((f) => {
399
- console.error("Error getting menu items", f);
400
- });
401
- }, $ = () => {
402
- let r = new URL(`${a}/v1/player/${h}/profile`);
403
- r.searchParams.append("userRoles", A);
404
- let f = {
405
- method: "GET",
406
- headers: { "X-SessionID": y }
407
- };
408
- fetch(r.href, f).then((_) => _.json()).then(
409
- (_) => {
410
- t(7, T = _.username), t(8, S = _.email);
411
- },
412
- (_) => {
413
- console.error(_);
414
- }
415
- );
416
- }, j = (r) => {
417
- window.postMessage({ type: "ChangeAccountPage", page: r }, window.location.href), t(6, i = r.id);
418
- }, D = () => {
419
- var r;
420
- t(6, i = (r = F.find((f) => f.path.includes(u))) == null ? void 0 : r.id);
421
- }, ee = () => {
422
- window.postMessage({ type: "GoToHomepage" }, window.location.href);
423
- }, te = () => {
424
- be(P);
425
- }, ne = () => {
426
- $();
427
- }, re = () => {
428
- let r = document.createElement("style");
429
- r.innerHTML = x, c.appendChild(r);
430
- }, le = () => {
431
- let r = new URL(M), f = document.createElement("style");
432
- fetch(r.href).then((_) => _.text()).then((_) => {
433
- f.innerHTML = _, setTimeout(
434
- () => {
435
- c.appendChild(f);
436
- },
437
- 1
438
- );
439
- });
440
- };
441
- pe(() => (window.addEventListener("message", U, !1), () => {
442
- window.removeEventListener("message", U);
443
- }));
444
- const ae = (r) => j(r);
445
- function oe(r) {
446
- fe[r ? "unshift" : "push"](() => {
447
- c = r, t(4, c);
448
- });
449
- }
450
- return n.$$set = (r) => {
451
- "endpoint" in r && t(1, a = r.endpoint), "cmsendpoint" in r && t(14, d = r.cmsendpoint), "env" in r && t(15, m = r.env), "session" in r && t(0, y = r.session), "playerid" in r && t(16, h = r.playerid), "lang" in r && t(17, P = r.lang), "selecteditem" in r && t(18, w = r.selecteditem), "userroles" in r && t(19, A = r.userroles), "clientstyling" in r && t(2, x = r.clientstyling), "clientstylingurl" in r && t(3, M = r.clientstylingurl), "translationurl" in r && t(20, g = r.translationurl), "activemenuitem" in r && t(21, u = r.activemenuitem);
452
- }, n.$$.update = () => {
453
- n.$$.dirty[0] & /*lang*/
454
- 131072 && P && te(), n.$$.dirty[0] & /*endpoint, session, playerid, lang*/
455
- 196611 && a && y && h && P && ne(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
456
- 180224 && d && P && m && Y(), n.$$.dirty[0] & /*activemenuitem*/
457
- 2097152 && u && D(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
458
- 24 && M && c && le(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
459
- 20 && x && c && re(), n.$$.dirty[0] & /*translationurl*/
460
- 1048576 && g && J();
461
- }, [
462
- y,
463
- a,
464
- x,
465
- M,
466
- c,
467
- F,
468
- i,
469
- T,
470
- S,
471
- l,
472
- p,
473
- Q,
474
- j,
475
- ee,
476
- d,
477
- m,
478
- h,
479
- P,
480
- w,
481
- A,
482
- g,
483
- u,
484
- ae,
485
- oe
486
- ];
487
- }
488
- class Fe extends se {
489
- constructor(e) {
490
- super(), ue(
491
- this,
492
- e,
493
- Ie,
494
- Ce,
495
- de,
496
- {
497
- endpoint: 1,
498
- cmsendpoint: 14,
499
- env: 15,
500
- session: 0,
501
- playerid: 16,
502
- lang: 17,
503
- selecteditem: 18,
504
- userroles: 19,
505
- clientstyling: 2,
506
- clientstylingurl: 3,
507
- translationurl: 20,
508
- activemenuitem: 21
509
- },
510
- Pe,
511
- [-1, -1]
512
- );
513
- }
514
- get endpoint() {
515
- return this.$$.ctx[1];
516
- }
517
- set endpoint(e) {
518
- this.$$set({ endpoint: e }), I();
519
- }
520
- get cmsendpoint() {
521
- return this.$$.ctx[14];
522
- }
523
- set cmsendpoint(e) {
524
- this.$$set({ cmsendpoint: e }), I();
525
- }
526
- get env() {
527
- return this.$$.ctx[15];
528
- }
529
- set env(e) {
530
- this.$$set({ env: e }), I();
531
- }
532
- get session() {
533
- return this.$$.ctx[0];
534
- }
535
- set session(e) {
536
- this.$$set({ session: e }), I();
537
- }
538
- get playerid() {
539
- return this.$$.ctx[16];
540
- }
541
- set playerid(e) {
542
- this.$$set({ playerid: e }), I();
543
- }
544
- get lang() {
545
- return this.$$.ctx[17];
546
- }
547
- set lang(e) {
548
- this.$$set({ lang: e }), I();
549
- }
550
- get selecteditem() {
551
- return this.$$.ctx[18];
552
- }
553
- set selecteditem(e) {
554
- this.$$set({ selecteditem: e }), I();
555
- }
556
- get userroles() {
557
- return this.$$.ctx[19];
558
- }
559
- set userroles(e) {
560
- this.$$set({ userroles: e }), I();
561
- }
562
- get clientstyling() {
563
- return this.$$.ctx[2];
564
- }
565
- set clientstyling(e) {
566
- this.$$set({ clientstyling: e }), I();
567
- }
568
- get clientstylingurl() {
569
- return this.$$.ctx[3];
570
- }
571
- set clientstylingurl(e) {
572
- this.$$set({ clientstylingurl: e }), I();
573
- }
574
- get translationurl() {
575
- return this.$$.ctx[20];
576
- }
577
- set translationurl(e) {
578
- this.$$set({ translationurl: e }), I();
579
- }
580
- get activemenuitem() {
581
- return this.$$.ctx[21];
582
- }
583
- set activemenuitem(e) {
584
- this.$$set({ activemenuitem: e }), I();
585
- }
586
- }
587
- me(Fe, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, selecteditem: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activemenuitem: {} }, [], [], !0);
588
- export {
589
- Fe as default
590
- };