@everymatrix/player-account-menu-nd 1.54.0 → 1.54.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.
- package/components/{GeneralLogout-dOghBBYK.js → GeneralLogout-BYNkUOix.js} +893 -930
- package/components/{PlayerAccountMenuNd-BPYcZtnV.js → PlayerAccountMenuNd-D5LdiSBw.js} +72 -73
- package/esnext/player-account-menu-nd.js +14 -0
- package/package.json +10 -11
- package/components/GeneralLogout-DFYYNgUn.cjs +0 -5
- package/components/PlayerAccountMenuNd-CFqNqPW-.cjs +0 -1
- package/es2015/player-account-menu-nd.cjs +0 -1
- package/es2015/player-account-menu-nd.js +0 -16
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ie, $ as ce,
|
|
1
|
+
import { a as ie, $ as ce, c as se, S as ue, i as me, s as de, f as I, 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 M, A as q } from "./GeneralLogout-BYNkUOix.js";
|
|
2
2
|
function G(n, e) {
|
|
3
3
|
ie(n, e);
|
|
4
4
|
}
|
|
@@ -40,7 +40,7 @@ const V = {
|
|
|
40
40
|
title: "My Account"
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
|
-
if (typeof window
|
|
43
|
+
if (typeof window < "u") {
|
|
44
44
|
let n = function(e) {
|
|
45
45
|
return function(...t) {
|
|
46
46
|
try {
|
|
@@ -52,7 +52,7 @@ if (typeof window != "undefined") {
|
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
|
-
customElements.define = n(customElements.define), import("./GeneralLogout-
|
|
55
|
+
customElements.define = n(customElements.define), import("./GeneralLogout-BYNkUOix.js").then((e) => e.G).then(({ default: e }) => {
|
|
56
56
|
!customElements.get("general-logout") && customElements.define("general-logout", e.element);
|
|
57
57
|
});
|
|
58
58
|
}
|
|
@@ -64,7 +64,7 @@ function X(n, e, t) {
|
|
|
64
64
|
return l[37] = e[t], l;
|
|
65
65
|
}
|
|
66
66
|
function we(n) {
|
|
67
|
-
let e, t, l, a, d, m, y,
|
|
67
|
+
let e, t, l, a, d, m, y, f, P, w, h, x, A = (
|
|
68
68
|
/*isMobile*/
|
|
69
69
|
n[10] && ve(n)
|
|
70
70
|
), g = (
|
|
@@ -80,38 +80,38 @@ function we(n) {
|
|
|
80
80
|
n[10] && _e(n);
|
|
81
81
|
return {
|
|
82
82
|
c() {
|
|
83
|
-
e = v("div"), t = v("div"),
|
|
83
|
+
e = v("div"), t = v("div"), A && A.c(), l = k(), a = v("p"), d = z(
|
|
84
84
|
/*profileUsername*/
|
|
85
85
|
n[7]
|
|
86
|
-
), m = k(), y = v("p"),
|
|
86
|
+
), m = k(), y = v("p"), f = z(
|
|
87
87
|
/*profileEmail*/
|
|
88
88
|
n[8]
|
|
89
|
-
), P = k(), g && g.c(), w = k(),
|
|
89
|
+
), P = k(), g && g.c(), w = k(), h = v("div");
|
|
90
90
|
for (let i = 0; i < c.length; i += 1)
|
|
91
91
|
c[i].c();
|
|
92
92
|
x = k(), F && F.c(), s(a, "class", "PlayerAccountMenuUser"), s(y, "class", "PlayerAccountMenuEmail"), s(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
|
|
93
|
-
(n[10] ? "PlayerAccountMenuHeaderMobile" : "")), s(
|
|
93
|
+
(n[10] ? "PlayerAccountMenuHeaderMobile" : "")), s(h, "class", "PlayerAccountMenuList"), s(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
|
|
94
94
|
(n[10] ? "PlayerAccountMobileContainer" : "") + " " + /*mediaQuery*/
|
|
95
95
|
(n[11].matches && /*isMobile*/
|
|
96
96
|
n[10] ? "PlayerAccountTabletContainer" : ""));
|
|
97
97
|
},
|
|
98
98
|
m(i, C) {
|
|
99
|
-
L(i, e, C), o(e, t),
|
|
99
|
+
L(i, e, C), o(e, t), A && A.m(t, null), o(t, l), o(t, a), o(a, d), o(t, m), o(t, y), o(y, f), o(t, P), g && g.m(t, null), o(e, w), o(e, h);
|
|
100
100
|
for (let p = 0; p < c.length; p += 1)
|
|
101
|
-
c[p] && c[p].m(
|
|
101
|
+
c[p] && c[p].m(h, null);
|
|
102
102
|
o(e, x), F && F.m(e, null);
|
|
103
103
|
},
|
|
104
104
|
p(i, C) {
|
|
105
105
|
if (
|
|
106
106
|
/*isMobile*/
|
|
107
|
-
i[10] &&
|
|
107
|
+
i[10] && A.p(i, C), C[0] & /*profileUsername*/
|
|
108
108
|
128 && H(
|
|
109
109
|
d,
|
|
110
110
|
/*profileUsername*/
|
|
111
111
|
i[7]
|
|
112
112
|
), C[0] & /*profileEmail*/
|
|
113
113
|
256 && H(
|
|
114
|
-
|
|
114
|
+
f,
|
|
115
115
|
/*profileEmail*/
|
|
116
116
|
i[8]
|
|
117
117
|
), /*isMobile*/
|
|
@@ -125,7 +125,7 @@ function we(n) {
|
|
|
125
125
|
let p;
|
|
126
126
|
for (p = 0; p < u.length; p += 1) {
|
|
127
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(
|
|
128
|
+
c[p] ? c[p].p(T, C) : (c[p] = Z(T), c[p].c(), c[p].m(h, null));
|
|
129
129
|
}
|
|
130
130
|
for (; p < c.length; p += 1)
|
|
131
131
|
c[p].d(1);
|
|
@@ -135,21 +135,21 @@ function we(n) {
|
|
|
135
135
|
i[10] || F.p(i, C);
|
|
136
136
|
},
|
|
137
137
|
d(i) {
|
|
138
|
-
i && B(e),
|
|
138
|
+
i && B(e), A && A.d(), g && g.d(), Ae(c, i), F && F.d();
|
|
139
139
|
}
|
|
140
140
|
};
|
|
141
141
|
}
|
|
142
142
|
function ve(n) {
|
|
143
|
-
let e, t, l, a, d, m, y,
|
|
143
|
+
let e, t, l, a, d, m, y, f, P, w, h = (
|
|
144
144
|
/*$_*/
|
|
145
145
|
n[9]("title") + ""
|
|
146
|
-
), x,
|
|
146
|
+
), x, A, g;
|
|
147
147
|
return {
|
|
148
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"),
|
|
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"), f = E("path"), P = k(), w = v("h3"), x = z(h), s(f, "class", "aaa"), s(f, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), s(f, "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
150
|
},
|
|
151
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,
|
|
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, f), o(e, P), o(e, w), o(w, x), A || (g = [
|
|
153
153
|
W(
|
|
154
154
|
t,
|
|
155
155
|
"click",
|
|
@@ -162,15 +162,15 @@ function ve(n) {
|
|
|
162
162
|
/*goToHome*/
|
|
163
163
|
n[13]
|
|
164
164
|
)
|
|
165
|
-
],
|
|
165
|
+
], A = !0);
|
|
166
166
|
},
|
|
167
167
|
p(u, c) {
|
|
168
168
|
c[0] & /*$_*/
|
|
169
|
-
512 &&
|
|
170
|
-
u[9]("title") + "") && H(x,
|
|
169
|
+
512 && h !== (h = /*$_*/
|
|
170
|
+
u[9]("title") + "") && H(x, h);
|
|
171
171
|
},
|
|
172
172
|
d(u) {
|
|
173
|
-
u && B(e),
|
|
173
|
+
u && B(e), A = !1, Me(g);
|
|
174
174
|
}
|
|
175
175
|
};
|
|
176
176
|
}
|
|
@@ -178,22 +178,22 @@ function xe(n) {
|
|
|
178
178
|
let e, t;
|
|
179
179
|
return {
|
|
180
180
|
c() {
|
|
181
|
-
e = v("div"), t = v("general-logout"),
|
|
181
|
+
e = v("div"), t = v("general-logout"), M(
|
|
182
182
|
t,
|
|
183
183
|
"endpoint",
|
|
184
184
|
/*endpoint*/
|
|
185
185
|
n[1]
|
|
186
|
-
),
|
|
186
|
+
), M(
|
|
187
187
|
t,
|
|
188
188
|
"session",
|
|
189
189
|
/*session*/
|
|
190
190
|
n[0]
|
|
191
|
-
),
|
|
191
|
+
), M(t, "buttonlocation", "PlayerAccountMenu"), M(
|
|
192
192
|
t,
|
|
193
193
|
"clientstyling",
|
|
194
194
|
/*clientstyling*/
|
|
195
195
|
n[2]
|
|
196
|
-
),
|
|
196
|
+
), M(
|
|
197
197
|
t,
|
|
198
198
|
"clientstylingurl",
|
|
199
199
|
/*clientstylingurl*/
|
|
@@ -205,25 +205,25 @@ function xe(n) {
|
|
|
205
205
|
},
|
|
206
206
|
p(l, a) {
|
|
207
207
|
a[0] & /*endpoint*/
|
|
208
|
-
2 &&
|
|
208
|
+
2 && M(
|
|
209
209
|
t,
|
|
210
210
|
"endpoint",
|
|
211
211
|
/*endpoint*/
|
|
212
212
|
l[1]
|
|
213
213
|
), a[0] & /*session*/
|
|
214
|
-
1 &&
|
|
214
|
+
1 && M(
|
|
215
215
|
t,
|
|
216
216
|
"session",
|
|
217
217
|
/*session*/
|
|
218
218
|
l[0]
|
|
219
219
|
), a[0] & /*clientstyling*/
|
|
220
|
-
4 &&
|
|
220
|
+
4 && M(
|
|
221
221
|
t,
|
|
222
222
|
"clientstyling",
|
|
223
223
|
/*clientstyling*/
|
|
224
224
|
l[2]
|
|
225
225
|
), a[0] & /*clientstylingurl*/
|
|
226
|
-
8 &&
|
|
226
|
+
8 && M(
|
|
227
227
|
t,
|
|
228
228
|
"clientstylingurl",
|
|
229
229
|
/*clientstylingurl*/
|
|
@@ -239,8 +239,8 @@ function Z(n) {
|
|
|
239
239
|
let e, t, l, a, d, m, y = (
|
|
240
240
|
/*menuItem*/
|
|
241
241
|
n[37].label + ""
|
|
242
|
-
),
|
|
243
|
-
function
|
|
242
|
+
), f, P, w, h, x;
|
|
243
|
+
function A() {
|
|
244
244
|
return (
|
|
245
245
|
/*click_handler*/
|
|
246
246
|
n[22](
|
|
@@ -251,7 +251,7 @@ function Z(n) {
|
|
|
251
251
|
}
|
|
252
252
|
return {
|
|
253
253
|
c() {
|
|
254
|
-
e = v("div"), t = v("p"), l = v("img"), d = k(), m = v("span"),
|
|
254
|
+
e = v("div"), t = v("p"), l = v("img"), d = k(), m = v("span"), f = z(y), P = k(), s(l, "class", "PlayerAccountMenuItemIcon " + /*isMobile*/
|
|
255
255
|
(n[10] ? "PlayerAccountMenuItemIconMobile" : "")), q(l.src, a = /*menuItem*/
|
|
256
256
|
n[37].img) || s(l, "src", a), s(m, "class", "PlayerAccountMenuItemTitle"), s(t, "class", "PlayerAccountMenuItemWrapper"), s(e, "class", w = "PlayerAccountMenuItemBox " + /*selectedItem*/
|
|
257
257
|
(n[6] === /*menuItem*/
|
|
@@ -259,21 +259,21 @@ function Z(n) {
|
|
|
259
259
|
n[10] ? "PlayerAccountMenuActiveItemBox" : ""));
|
|
260
260
|
},
|
|
261
261
|
m(g, u) {
|
|
262
|
-
L(g, e, u), o(e, t), o(t, l), o(t, d), o(t, m), o(m,
|
|
262
|
+
L(g, e, u), o(e, t), o(t, l), o(t, d), o(t, m), o(m, f), o(e, P), h || (x = W(e, "click", A), h = !0);
|
|
263
263
|
},
|
|
264
264
|
p(g, u) {
|
|
265
265
|
n = g, u[0] & /*menuItems*/
|
|
266
266
|
32 && !q(l.src, a = /*menuItem*/
|
|
267
267
|
n[37].img) && s(l, "src", a), u[0] & /*menuItems*/
|
|
268
268
|
32 && y !== (y = /*menuItem*/
|
|
269
|
-
n[37].label + "") && H(
|
|
269
|
+
n[37].label + "") && H(f, y), u[0] & /*selectedItem, menuItems*/
|
|
270
270
|
96 && w !== (w = "PlayerAccountMenuItemBox " + /*selectedItem*/
|
|
271
271
|
(n[6] === /*menuItem*/
|
|
272
272
|
n[37].id && !/*isMobile*/
|
|
273
273
|
n[10] ? "PlayerAccountMenuActiveItemBox" : "")) && s(e, "class", w);
|
|
274
274
|
},
|
|
275
275
|
d(g) {
|
|
276
|
-
g && B(e),
|
|
276
|
+
g && B(e), h = !1, x();
|
|
277
277
|
}
|
|
278
278
|
};
|
|
279
279
|
}
|
|
@@ -281,22 +281,22 @@ function _e(n) {
|
|
|
281
281
|
let e, t;
|
|
282
282
|
return {
|
|
283
283
|
c() {
|
|
284
|
-
e = v("div"), t = v("general-logout"),
|
|
284
|
+
e = v("div"), t = v("general-logout"), M(
|
|
285
285
|
t,
|
|
286
286
|
"endpoint",
|
|
287
287
|
/*endpoint*/
|
|
288
288
|
n[1]
|
|
289
|
-
),
|
|
289
|
+
), M(
|
|
290
290
|
t,
|
|
291
291
|
"session",
|
|
292
292
|
/*session*/
|
|
293
293
|
n[0]
|
|
294
|
-
),
|
|
294
|
+
), M(t, "buttonlocation", "PlayerAccountMenu"), M(
|
|
295
295
|
t,
|
|
296
296
|
"clientstyling",
|
|
297
297
|
/*clientstyling*/
|
|
298
298
|
n[2]
|
|
299
|
-
),
|
|
299
|
+
), M(
|
|
300
300
|
t,
|
|
301
301
|
"clientstylingurl",
|
|
302
302
|
/*clientstylingurl*/
|
|
@@ -308,25 +308,25 @@ function _e(n) {
|
|
|
308
308
|
},
|
|
309
309
|
p(l, a) {
|
|
310
310
|
a[0] & /*endpoint*/
|
|
311
|
-
2 &&
|
|
311
|
+
2 && M(
|
|
312
312
|
t,
|
|
313
313
|
"endpoint",
|
|
314
314
|
/*endpoint*/
|
|
315
315
|
l[1]
|
|
316
316
|
), a[0] & /*session*/
|
|
317
|
-
1 &&
|
|
317
|
+
1 && M(
|
|
318
318
|
t,
|
|
319
319
|
"session",
|
|
320
320
|
/*session*/
|
|
321
321
|
l[0]
|
|
322
322
|
), a[0] & /*clientstyling*/
|
|
323
|
-
4 &&
|
|
323
|
+
4 && M(
|
|
324
324
|
t,
|
|
325
325
|
"clientstyling",
|
|
326
326
|
/*clientstyling*/
|
|
327
327
|
l[2]
|
|
328
328
|
), a[0] & /*clientstylingurl*/
|
|
329
|
-
8 &&
|
|
329
|
+
8 && M(
|
|
330
330
|
t,
|
|
331
331
|
"clientstylingurl",
|
|
332
332
|
/*clientstylingurl*/
|
|
@@ -364,14 +364,14 @@ function Ce(n) {
|
|
|
364
364
|
function Ie(n, e, t) {
|
|
365
365
|
let l;
|
|
366
366
|
ye(n, he, (r) => t(9, l = r));
|
|
367
|
-
let { endpoint: a = "" } = e, { cmsendpoint: d = "" } = e, { env: m = "" } = e, { session: y = "" } = e, { playerid:
|
|
367
|
+
let { endpoint: a = "" } = e, { cmsendpoint: d = "" } = e, { env: m = "" } = e, { session: y = "" } = e, { playerid: f = "" } = e, { lang: P = "en" } = e, { selecteditem: w = "" } = e, { userroles: h = "" } = e, { clientstyling: x = "" } = e, { clientstylingurl: A = "" } = e, { translationurl: g = "" } = e, { activemenuitem: u = "" } = e, c, F = [], i, C = window.navigator.userAgent, p = R(C) !== "PC", T = "", S = "";
|
|
368
368
|
const Q = window.matchMedia("(min-width: 768px)"), J = () => {
|
|
369
|
-
fetch(g).then((
|
|
370
|
-
Object.keys(
|
|
371
|
-
G(_,
|
|
369
|
+
fetch(g).then((b) => b.json()).then((b) => {
|
|
370
|
+
Object.keys(b).forEach((_) => {
|
|
371
|
+
G(_, b[_]);
|
|
372
372
|
});
|
|
373
|
-
}).catch((
|
|
374
|
-
console.error(
|
|
373
|
+
}).catch((b) => {
|
|
374
|
+
console.error(b);
|
|
375
375
|
});
|
|
376
376
|
};
|
|
377
377
|
Object.keys(V).forEach((r) => {
|
|
@@ -393,19 +393,19 @@ function Ie(n, e, t) {
|
|
|
393
393
|
return r === "PC" ? "dk" : "mtWeb";
|
|
394
394
|
}, Y = () => {
|
|
395
395
|
const r = new URL(`${d}/${P}/profile-menu?env=${m}`);
|
|
396
|
-
r.searchParams.append("device", K()), fetch(r.href).then((
|
|
397
|
-
t(5, F =
|
|
398
|
-
}).catch((
|
|
399
|
-
console.error("Error getting menu items",
|
|
396
|
+
r.searchParams.append("device", K()), fetch(r.href).then((b) => b.json()).then((b) => {
|
|
397
|
+
t(5, F = b), D();
|
|
398
|
+
}).catch((b) => {
|
|
399
|
+
console.error("Error getting menu items", b);
|
|
400
400
|
});
|
|
401
401
|
}, $ = () => {
|
|
402
|
-
let r = new URL(`${a}/v1/player/${
|
|
403
|
-
r.searchParams.append("userRoles",
|
|
404
|
-
let
|
|
402
|
+
let r = new URL(`${a}/v1/player/${f}/profile`);
|
|
403
|
+
r.searchParams.append("userRoles", h);
|
|
404
|
+
let b = {
|
|
405
405
|
method: "GET",
|
|
406
406
|
headers: { "X-SessionID": y }
|
|
407
407
|
};
|
|
408
|
-
fetch(r.href,
|
|
408
|
+
fetch(r.href, b).then((_) => _.json()).then(
|
|
409
409
|
(_) => {
|
|
410
410
|
t(7, T = _.username), t(8, S = _.email);
|
|
411
411
|
},
|
|
@@ -416,8 +416,7 @@ function Ie(n, e, t) {
|
|
|
416
416
|
}, j = (r) => {
|
|
417
417
|
window.postMessage({ type: "ChangeAccountPage", page: r }, window.location.href), t(6, i = r.id);
|
|
418
418
|
}, D = () => {
|
|
419
|
-
|
|
420
|
-
t(6, i = (r = F.find((f) => f.path.includes(u))) == null ? void 0 : r.id);
|
|
419
|
+
t(6, i = F.find((r) => r.path.includes(u))?.id);
|
|
421
420
|
}, ee = () => {
|
|
422
421
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
423
422
|
}, te = () => {
|
|
@@ -428,11 +427,11 @@ function Ie(n, e, t) {
|
|
|
428
427
|
let r = document.createElement("style");
|
|
429
428
|
r.innerHTML = x, c.appendChild(r);
|
|
430
429
|
}, le = () => {
|
|
431
|
-
let r = new URL(
|
|
430
|
+
let r = new URL(A), b = document.createElement("style");
|
|
432
431
|
fetch(r.href).then((_) => _.text()).then((_) => {
|
|
433
|
-
|
|
432
|
+
b.innerHTML = _, setTimeout(
|
|
434
433
|
() => {
|
|
435
|
-
c.appendChild(
|
|
434
|
+
c.appendChild(b);
|
|
436
435
|
},
|
|
437
436
|
1
|
|
438
437
|
);
|
|
@@ -448,21 +447,21 @@ function Ie(n, e, t) {
|
|
|
448
447
|
});
|
|
449
448
|
}
|
|
450
449
|
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,
|
|
450
|
+
"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, f = r.playerid), "lang" in r && t(17, P = r.lang), "selecteditem" in r && t(18, w = r.selecteditem), "userroles" in r && t(19, h = r.userroles), "clientstyling" in r && t(2, x = r.clientstyling), "clientstylingurl" in r && t(3, A = r.clientstylingurl), "translationurl" in r && t(20, g = r.translationurl), "activemenuitem" in r && t(21, u = r.activemenuitem);
|
|
452
451
|
}, n.$$.update = () => {
|
|
453
452
|
n.$$.dirty[0] & /*lang*/
|
|
454
453
|
131072 && P && te(), n.$$.dirty[0] & /*endpoint, session, playerid, lang*/
|
|
455
|
-
196611 && a && y &&
|
|
454
|
+
196611 && a && y && f && P && ne(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
|
|
456
455
|
180224 && d && P && m && Y(), n.$$.dirty[0] & /*activemenuitem*/
|
|
457
456
|
2097152 && u && D(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
458
|
-
24 &&
|
|
457
|
+
24 && A && c && le(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
459
458
|
20 && x && c && re(), n.$$.dirty[0] & /*translationurl*/
|
|
460
459
|
1048576 && g && J();
|
|
461
460
|
}, [
|
|
462
461
|
y,
|
|
463
462
|
a,
|
|
464
463
|
x,
|
|
465
|
-
|
|
464
|
+
A,
|
|
466
465
|
c,
|
|
467
466
|
F,
|
|
468
467
|
i,
|
|
@@ -475,19 +474,19 @@ function Ie(n, e, t) {
|
|
|
475
474
|
ee,
|
|
476
475
|
d,
|
|
477
476
|
m,
|
|
478
|
-
|
|
477
|
+
f,
|
|
479
478
|
P,
|
|
480
479
|
w,
|
|
481
|
-
|
|
480
|
+
h,
|
|
482
481
|
g,
|
|
483
482
|
u,
|
|
484
483
|
ae,
|
|
485
484
|
oe
|
|
486
485
|
];
|
|
487
486
|
}
|
|
488
|
-
class Fe extends
|
|
487
|
+
class Fe extends ue {
|
|
489
488
|
constructor(e) {
|
|
490
|
-
super(),
|
|
489
|
+
super(), me(
|
|
491
490
|
this,
|
|
492
491
|
e,
|
|
493
492
|
Ie,
|
|
@@ -584,7 +583,7 @@ class Fe extends se {
|
|
|
584
583
|
this.$$set({ activemenuitem: e }), I();
|
|
585
584
|
}
|
|
586
585
|
}
|
|
587
|
-
|
|
586
|
+
se(Fe, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, selecteditem: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activemenuitem: {} }, [], [], !0);
|
|
588
587
|
export {
|
|
589
|
-
Fe as
|
|
588
|
+
Fe as P
|
|
590
589
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { P as s } from "../components/PlayerAccountMenuNd-D5LdiSBw.js";
|
|
2
|
+
function a(t) {
|
|
3
|
+
return function(...n) {
|
|
4
|
+
try {
|
|
5
|
+
return t.apply(this, n);
|
|
6
|
+
} catch (e) {
|
|
7
|
+
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"))
|
|
8
|
+
return !1;
|
|
9
|
+
throw e;
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
customElements.define = a(customElements.define);
|
|
14
|
+
!customElements.get("player-account-menu-nd") && customElements.define("player-account-menu-nd", s.element);
|
package/package.json
CHANGED
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/player-account-menu-nd",
|
|
3
|
-
"version": "1.54.
|
|
3
|
+
"version": "1.54.4",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"main": "
|
|
6
|
-
"module": "
|
|
5
|
+
"main": "esnext/player-account-menu-nd.js",
|
|
6
|
+
"module": "esnext/player-account-menu-nd.js",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": {
|
|
9
|
-
"import": "./
|
|
10
|
-
"require": "./es2015/player-account-menu-nd.cjs"
|
|
9
|
+
"import": "./esnext/player-account-menu-nd.js"
|
|
11
10
|
},
|
|
12
|
-
"./es2015/player-account-menu-nd.cjs": "./es2015/player-account-menu-nd.cjs"
|
|
11
|
+
"./es2015/player-account-menu-nd.cjs": "./es2015/player-account-menu-nd.cjs",
|
|
12
|
+
"./es2015/player-account-menu-nd.js": "./es2015/player-account-menu-nd.js"
|
|
13
13
|
},
|
|
14
14
|
"files": [
|
|
15
|
+
"components/",
|
|
15
16
|
"es2015/",
|
|
16
|
-
"
|
|
17
|
-
"
|
|
17
|
+
"stencil",
|
|
18
|
+
"angular",
|
|
19
|
+
"esnext/"
|
|
18
20
|
],
|
|
19
21
|
"publishConfig": {
|
|
20
22
|
"access": "public"
|
|
21
|
-
},
|
|
22
|
-
"dependencies": {
|
|
23
|
-
"@everymatrix/general-logout": "1.45.7"
|
|
24
23
|
}
|
|
25
24
|
}
|