@everymatrix/player-account-menu-nd 1.64.5 → 1.64.7

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,12 +1,12 @@
1
- import { a as de, $ as ge, S as ye, i as pe, f as C, s as fe, c as he, b as Ae, n as O, d as F, e as L, g as A, h as be, j as V, o as Me, k as Pe, l as H, m as ee, p as a, q as k, r as m, t as d, u as W, v as z, w as we, x as D, y as T, z as X, A as ve, B as xe, C as _e, D as ke } from "./GeneralLogout-Dft2a1Gy.js";
2
- import "../stencil/ui-skeleton-Bk5dn5mu.js";
1
+ import { a as me, $ as de, c as ge, S as fe, i as ye, s as pe, f as I, b as he, n as O, d as F, e as E, g as b, h as be, j as V, o as Ae, k as Me, l as z, m as ee, p as a, q as k, r as m, t as d, u as T, v as W, w as we, x as j, y as H, z as X, A as ve, B as Pe, C as _e, D as xe } from "./GeneralLogout-DAKbZeD9.js";
2
+ import "../stencil/ui-skeleton-4ifa-7wH.js";
3
3
  function Z(n, e) {
4
- de(n, e);
4
+ me(n, e);
5
5
  }
6
- function Ce(n) {
7
- ge.set(n);
6
+ function ke(n) {
7
+ de.set(n);
8
8
  }
9
- const Q = {
9
+ const J = {
10
10
  en: {
11
11
  title: "My Account"
12
12
  },
@@ -41,7 +41,7 @@ const Q = {
41
41
  title: "My Account"
42
42
  }
43
43
  };
44
- if (typeof window != "undefined") {
44
+ if (typeof window < "u") {
45
45
  let n = function(e) {
46
46
  return function(...t) {
47
47
  try {
@@ -53,180 +53,176 @@ if (typeof window != "undefined") {
53
53
  }
54
54
  };
55
55
  };
56
- customElements.define = n(customElements.define), import("./GeneralLogout-Dft2a1Gy.js").then((e) => e.G).then(({ default: e }) => {
56
+ customElements.define = n(customElements.define), import("./GeneralLogout-DAKbZeD9.js").then((e) => e.G).then(({ default: e }) => {
57
57
  !customElements.get("general-logout") && customElements.define("general-logout", e.element);
58
58
  });
59
59
  }
60
60
  function Ie(n) {
61
- Ae(n, "svelte-86ne6x", '.PlayerAccountMenuContainer{background:var(--emw--color-primary, #184026);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;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%;border-radius:10px;overflow:hidden}.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:14px 20px;margin:2px 0;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, 10px);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, 10px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height: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)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{padding:5px;width:100%;box-sizing:border-box}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px);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, 10px);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;min-height:900px}.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, 10px);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, #22B04E))}.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}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
61
+ he(n, "svelte-j26xf8", '.PlayerAccountMenuContainer{background:var(--emw--color-primary, #184026);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;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuContainer .skeletonLogOut{width:100%;border-radius:10px;overflow:hidden}.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:14px 20px;margin:2px 0;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, 10px);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, 10px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height: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)}.PlayerAccountItemWrap{display:flex;gap:20px;padding:16px 20px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile{padding:5px;width:100%;box-sizing:border-box}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px);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, 10px);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;min-height:900px}.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, 10px);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, #22B04E))}.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}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
62
62
  }
63
- function J(n, e, t) {
63
+ function K(n, e, t) {
64
64
  const l = n.slice();
65
65
  return l[41] = e[t], l;
66
66
  }
67
- function K(n, e, t) {
67
+ function Q(n, e, t) {
68
68
  const l = n.slice();
69
69
  return l[38] = e[t], l;
70
70
  }
71
- function Fe(n) {
72
- let e, t, l, i, s, g, h, M, v, P, b, w, u = (
71
+ function Ce(n) {
72
+ let e, t, l, r, s, g, h, M, P, w, A, v, u = (
73
73
  /*isMobile*/
74
74
  n[12] && Ee(n)
75
75
  ), c = (
76
76
  /*isMobile*/
77
- n[12] && Be(n)
78
- ), y = H(
77
+ n[12] && Le(n)
78
+ ), f = z(
79
79
  /*menuItems*/
80
80
  n[7]
81
81
  ), o = [];
82
- for (let p = 0; p < y.length; p += 1)
83
- o[p] = Y(J(n, y, p));
82
+ for (let y = 0; y < f.length; y += 1)
83
+ o[y] = Y(K(n, f, y));
84
84
  let _ = !/*isMobile*/
85
- n[12] && Te(n);
85
+ n[12] && Be(n);
86
86
  return {
87
87
  c() {
88
- e = A("div"), t = A("div"), u && u.c(), l = k(), i = A("p"), s = z(
88
+ e = b("div"), t = b("div"), u && u.c(), l = k(), r = b("p"), s = W(
89
89
  /*profileUsername*/
90
90
  n[9]
91
- ), g = k(), h = A("p"), M = z(
91
+ ), g = k(), h = b("p"), M = W(
92
92
  /*profileEmail*/
93
93
  n[10]
94
- ), v = k(), c && c.c(), P = k(), b = A("div");
95
- for (let p = 0; p < o.length; p += 1)
96
- o[p].c();
97
- w = k(), _ && _.c(), d(i, "class", "PlayerAccountMenuUser"), d(i, "translate", "no"), d(h, "class", "PlayerAccountMenuEmail"), d(h, "translate", "no"), d(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
98
- (n[12] ? "PlayerAccountMenuHeaderMobile" : "")), d(b, "class", "PlayerAccountMenuList"), d(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
99
- (n[12] ? "PlayerAccountMobileContainer" : "") + " " + /*mediaQuery*/
100
- (n[13].matches && /*isMobile*/
101
- n[12] ? "PlayerAccountTabletContainer" : ""));
94
+ ), P = k(), c && c.c(), w = k(), A = b("div");
95
+ for (let y = 0; y < o.length; y += 1)
96
+ o[y].c();
97
+ v = k(), _ && _.c(), d(r, "class", "PlayerAccountMenuUser"), d(r, "translate", "no"), d(h, "class", "PlayerAccountMenuEmail"), d(h, "translate", "no"), d(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
98
+ (n[12] ? "PlayerAccountMenuHeaderMobile" : "")), d(A, "class", "PlayerAccountMenuList"), d(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
99
+ (n[12] ? "PlayerAccountMobileContainer" : ""));
102
100
  },
103
- m(p, I) {
104
- L(p, e, I), a(e, t), u && u.m(t, null), a(t, l), a(t, i), a(i, s), a(t, g), a(t, h), a(h, M), a(t, v), c && c.m(t, null), a(e, P), a(e, b);
105
- for (let f = 0; f < o.length; f += 1)
106
- o[f] && o[f].m(b, null);
107
- a(e, w), _ && _.m(e, null);
101
+ m(y, C) {
102
+ E(y, e, C), a(e, t), u && u.m(t, null), a(t, l), a(t, r), a(r, s), a(t, g), a(t, h), a(h, M), a(t, P), c && c.m(t, null), a(e, w), a(e, A);
103
+ for (let p = 0; p < o.length; p += 1)
104
+ o[p] && o[p].m(A, null);
105
+ a(e, v), _ && _.m(e, null);
108
106
  },
109
- p(p, I) {
107
+ p(y, C) {
110
108
  if (
111
109
  /*isMobile*/
112
- p[12] && u.p(p, I), I[0] & /*profileUsername*/
113
- 512 && W(
110
+ y[12] && u.p(y, C), C[0] & /*profileUsername*/
111
+ 512 && T(
114
112
  s,
115
113
  /*profileUsername*/
116
- p[9]
117
- ), I[0] & /*profileEmail*/
118
- 1024 && W(
114
+ y[9]
115
+ ), C[0] & /*profileEmail*/
116
+ 1024 && T(
119
117
  M,
120
118
  /*profileEmail*/
121
- p[10]
119
+ y[10]
122
120
  ), /*isMobile*/
123
- p[12] && c.p(p, I), I[0] & /*selectedItem, menuItems, isMobile, openAccountSection*/
124
- 20864
121
+ y[12] && c.p(y, C), C[0] & /*selectedItem, menuItems, isMobile, openAccountSection*/
122
+ 12672
125
123
  ) {
126
- y = H(
124
+ f = z(
127
125
  /*menuItems*/
128
- p[7]
126
+ y[7]
129
127
  );
130
- let f;
131
- for (f = 0; f < y.length; f += 1) {
132
- const B = J(p, y, f);
133
- o[f] ? o[f].p(B, I) : (o[f] = Y(B), o[f].c(), o[f].m(b, null));
128
+ let p;
129
+ for (p = 0; p < f.length; p += 1) {
130
+ const B = K(y, f, p);
131
+ o[p] ? o[p].p(B, C) : (o[p] = Y(B), o[p].c(), o[p].m(A, null));
134
132
  }
135
- for (; f < o.length; f += 1)
136
- o[f].d(1);
137
- o.length = y.length;
133
+ for (; p < o.length; p += 1)
134
+ o[p].d(1);
135
+ o.length = f.length;
138
136
  }
139
137
  /*isMobile*/
140
- p[12] || _.p(p, I);
138
+ y[12] || _.p(y, C);
141
139
  },
142
- d(p) {
143
- p && F(e), u && u.d(), c && c.d(), ee(o, p), _ && _.d();
140
+ d(y) {
141
+ y && F(e), u && u.d(), c && c.d(), ee(o, y), _ && _.d();
144
142
  }
145
143
  };
146
144
  }
147
- function Le(n) {
148
- let e, t, l, i, s, g, h, M, v, P, b = (
145
+ function Fe(n) {
146
+ let e, t, l, r, s, g, h, M, P, w, A = (
149
147
  /*isMobile*/
150
- n[12] && ze()
151
- ), w = H(Array(18)), u = [];
152
- for (let c = 0; c < w.length; c += 1)
153
- u[c] = $(K(n, w, c));
148
+ n[12] && He()
149
+ ), v = z(Array(18)), u = [];
150
+ for (let c = 0; c < v.length; c += 1)
151
+ u[c] = $(Q(n, v, c));
154
152
  return {
155
153
  c() {
156
- e = A("div"), t = A("div"), b && b.c(), l = k(), i = A("ui-skeleton"), s = k(), g = A("ui-skeleton"), h = k(), M = A("div");
154
+ e = b("div"), t = b("div"), A && A.c(), l = k(), r = b("ui-skeleton"), s = k(), g = b("ui-skeleton"), h = k(), M = b("div");
157
155
  for (let c = 0; c < u.length; c += 1)
158
156
  u[c].c();
159
- v = k(), P = A("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", "20px"), m(g, "structure", "text"), m(g, "width", "200px"), m(g, "height", "20px"), d(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
160
- (n[12] ? "PlayerAccountMenuHeaderMobile" : "")), d(M, "class", "PlayerAccountMenuList"), d(P, "class", "skeletonLogOut"), d(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
161
- (n[12] ? "PlayerAccountMobileContainer" : "") + " " + /*mediaQuery*/
162
- (n[13].matches && /*isMobile*/
163
- n[12] ? "PlayerAccountTabletContainer" : ""));
157
+ P = k(), w = b("div"), w.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>', m(r, "structure", "title"), m(r, "width", "100px"), m(r, "height", "20px"), m(r, "margin-top", "20px"), m(g, "structure", "text"), m(g, "width", "200px"), m(g, "height", "20px"), d(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
158
+ (n[12] ? "PlayerAccountMenuHeaderMobile" : "")), d(M, "class", "PlayerAccountMenuList"), d(w, "class", "skeletonLogOut"), d(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
159
+ (n[12] ? "PlayerAccountMobileContainer" : ""));
164
160
  },
165
- m(c, y) {
166
- L(c, e, y), a(e, t), b && b.m(t, null), a(t, l), a(t, i), a(t, s), a(t, g), a(e, h), a(e, M);
161
+ m(c, f) {
162
+ E(c, e, f), a(e, t), A && A.m(t, null), a(t, l), a(t, r), a(t, s), a(t, g), a(e, h), a(e, M);
167
163
  for (let o = 0; o < u.length; o += 1)
168
164
  u[o] && u[o].m(M, null);
169
- a(e, v), a(e, P);
165
+ a(e, P), a(e, w);
170
166
  },
171
- p(c, y) {
172
- if (y[0] & /*isMobile*/
167
+ p(c, f) {
168
+ if (f[0] & /*isMobile*/
173
169
  4096) {
174
- w = H(Array(18));
170
+ v = z(Array(18));
175
171
  let o;
176
- for (o = 0; o < w.length; o += 1) {
177
- const _ = K(c, w, o);
178
- u[o] ? u[o].p(_, y) : (u[o] = $(_), u[o].c(), u[o].m(M, null));
172
+ for (o = 0; o < v.length; o += 1) {
173
+ const _ = Q(c, v, o);
174
+ u[o] ? u[o].p(_, f) : (u[o] = $(_), u[o].c(), u[o].m(M, null));
179
175
  }
180
176
  for (; o < u.length; o += 1)
181
177
  u[o].d(1);
182
- u.length = w.length;
178
+ u.length = v.length;
183
179
  }
184
180
  },
185
181
  d(c) {
186
- c && F(e), b && b.d(), ee(u, c);
182
+ c && F(e), A && A.d(), ee(u, c);
187
183
  }
188
184
  };
189
185
  }
190
186
  function Ee(n) {
191
- let e, t, l, i, s, g, h, M, v, P, b = (
187
+ let e, t, l, r, s, g, h, M, P, w, A = (
192
188
  /*$_*/
193
189
  n[11]("title") + ""
194
- ), w, u, c;
190
+ ), v, u, c;
195
191
  return {
196
192
  c() {
197
- e = A("div"), t = T("svg"), l = T("defs"), i = T("style"), s = z(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), g = T("g"), h = T("g"), M = T("path"), v = k(), P = A("h3"), w = z(b), d(M, "class", "aaa"), d(M, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(M, "transform", "translate(15 15) rotate(180)"), d(h, "transform", "translate(20 158)"), d(g, "transform", "translate(-20 -158)"), d(t, "xmlns", "http://www.w3.org/2000/svg"), d(t, "width", "15"), d(t, "height", "15"), d(t, "viewBox", "0 0 15 15"), d(P, "class", "PlayerAccountMenuCategoryTitle"), d(e, "class", "PlayerAccountMenuCategoryWrapper");
193
+ e = b("div"), t = H("svg"), l = H("defs"), r = H("style"), s = W(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), g = H("g"), h = H("g"), M = H("path"), P = k(), w = b("h3"), v = W(A), d(M, "class", "aaa"), d(M, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(M, "transform", "translate(15 15) rotate(180)"), d(h, "transform", "translate(20 158)"), d(g, "transform", "translate(-20 -158)"), d(t, "xmlns", "http://www.w3.org/2000/svg"), d(t, "width", "15"), d(t, "height", "15"), d(t, "viewBox", "0 0 15 15"), d(w, "class", "PlayerAccountMenuCategoryTitle"), d(e, "class", "PlayerAccountMenuCategoryWrapper");
198
194
  },
199
- m(y, o) {
200
- L(y, e, o), a(e, t), a(t, l), a(l, i), a(i, s), a(t, g), a(g, h), a(h, M), a(e, v), a(e, P), a(P, w), u || (c = [
201
- D(
195
+ m(f, o) {
196
+ E(f, e, o), a(e, t), a(t, l), a(l, r), a(r, s), a(t, g), a(g, h), a(h, M), a(e, P), a(e, w), a(w, v), u || (c = [
197
+ j(
202
198
  t,
203
199
  "click",
204
200
  /*goToHome*/
205
- n[15]
201
+ n[14]
206
202
  ),
207
- D(
208
- P,
203
+ j(
204
+ w,
209
205
  "click",
210
206
  /*goToHome*/
211
- n[15]
207
+ n[14]
212
208
  )
213
209
  ], u = !0);
214
210
  },
215
- p(y, o) {
211
+ p(f, o) {
216
212
  o[0] & /*$_*/
217
- 2048 && b !== (b = /*$_*/
218
- y[11]("title") + "") && W(w, b);
213
+ 2048 && A !== (A = /*$_*/
214
+ f[11]("title") + "") && T(v, A);
219
215
  },
220
- d(y) {
221
- y && F(e), u = !1, we(c);
216
+ d(f) {
217
+ f && F(e), u = !1, we(c);
222
218
  }
223
219
  };
224
220
  }
225
- function Be(n) {
221
+ function Le(n) {
226
222
  let e, t;
227
223
  return {
228
224
  c() {
229
- e = A("div"), t = A("general-logout"), m(
225
+ e = b("div"), t = b("general-logout"), m(
230
226
  t,
231
227
  "endpoint",
232
228
  /*endpoint*/
@@ -253,35 +249,35 @@ function Be(n) {
253
249
  n[4]
254
250
  ), d(e, "class", "PlayerAccountLogOutArea");
255
251
  },
256
- m(l, i) {
257
- L(l, e, i), a(e, t);
252
+ m(l, r) {
253
+ E(l, e, r), a(e, t);
258
254
  },
259
- p(l, i) {
260
- i[0] & /*endpoint*/
255
+ p(l, r) {
256
+ r[0] & /*endpoint*/
261
257
  2 && m(
262
258
  t,
263
259
  "endpoint",
264
260
  /*endpoint*/
265
261
  l[1]
266
- ), i[0] & /*session*/
262
+ ), r[0] & /*session*/
267
263
  1 && m(
268
264
  t,
269
265
  "session",
270
266
  /*session*/
271
267
  l[0]
272
- ), i[0] & /*clientstyling*/
268
+ ), r[0] & /*clientstyling*/
273
269
  4 && m(
274
270
  t,
275
271
  "clientstyling",
276
272
  /*clientstyling*/
277
273
  l[2]
278
- ), i[0] & /*clientstylingurl*/
274
+ ), r[0] & /*clientstylingurl*/
279
275
  8 && m(
280
276
  t,
281
277
  "clientstylingurl",
282
278
  /*clientstylingurl*/
283
279
  l[3]
284
- ), i[0] & /*mbsource*/
280
+ ), r[0] & /*mbsource*/
285
281
  16 && m(
286
282
  t,
287
283
  "mbsource",
@@ -295,14 +291,14 @@ function Be(n) {
295
291
  };
296
292
  }
297
293
  function Y(n) {
298
- let e, t, l, i, s, g, h = (
294
+ let e, t, l, r, s, g, h = (
299
295
  /*menuItem*/
300
296
  n[41].label + ""
301
- ), M, v, P, b, w;
297
+ ), M, P, w, A, v;
302
298
  function u() {
303
299
  return (
304
300
  /*click_handler*/
305
- n[26](
301
+ n[25](
306
302
  /*menuItem*/
307
303
  n[41]
308
304
  )
@@ -310,37 +306,37 @@ function Y(n) {
310
306
  }
311
307
  return {
312
308
  c() {
313
- e = A("div"), t = A("p"), l = A("img"), s = k(), g = A("span"), M = z(h), v = k(), d(l, "class", "PlayerAccountMenuItemIcon " + /*isMobile*/
314
- (n[12] ? "PlayerAccountMenuItemIconMobile" : "")), X(l.src, i = /*menuItem*/
315
- n[41].img) || d(l, "src", i), d(g, "class", "PlayerAccountMenuItemTitle"), d(t, "class", "PlayerAccountMenuItemWrapper"), d(e, "class", P = "PlayerAccountMenuItemBox " + /*selectedItem*/
309
+ e = b("div"), t = b("p"), l = b("img"), s = k(), g = b("span"), M = W(h), P = k(), d(l, "class", "PlayerAccountMenuItemIcon " + /*isMobile*/
310
+ (n[12] ? "PlayerAccountMenuItemIconMobile" : "")), X(l.src, r = /*menuItem*/
311
+ n[41].img) || d(l, "src", r), d(g, "class", "PlayerAccountMenuItemTitle"), d(t, "class", "PlayerAccountMenuItemWrapper"), d(e, "class", w = "PlayerAccountMenuItemBox " + /*selectedItem*/
316
312
  (n[8] === /*menuItem*/
317
313
  n[41].id && !/*isMobile*/
318
314
  n[12] ? "PlayerAccountMenuActiveItemBox" : ""));
319
315
  },
320
- m(c, y) {
321
- L(c, e, y), a(e, t), a(t, l), a(t, s), a(t, g), a(g, M), a(e, v), b || (w = D(e, "click", u), b = !0);
316
+ m(c, f) {
317
+ E(c, e, f), a(e, t), a(t, l), a(t, s), a(t, g), a(g, M), a(e, P), A || (v = j(e, "click", u), A = !0);
322
318
  },
323
- p(c, y) {
324
- n = c, y[0] & /*menuItems*/
325
- 128 && !X(l.src, i = /*menuItem*/
326
- n[41].img) && d(l, "src", i), y[0] & /*menuItems*/
319
+ p(c, f) {
320
+ n = c, f[0] & /*menuItems*/
321
+ 128 && !X(l.src, r = /*menuItem*/
322
+ n[41].img) && d(l, "src", r), f[0] & /*menuItems*/
327
323
  128 && h !== (h = /*menuItem*/
328
- n[41].label + "") && W(M, h), y[0] & /*selectedItem, menuItems*/
329
- 384 && P !== (P = "PlayerAccountMenuItemBox " + /*selectedItem*/
324
+ n[41].label + "") && T(M, h), f[0] & /*selectedItem, menuItems*/
325
+ 384 && w !== (w = "PlayerAccountMenuItemBox " + /*selectedItem*/
330
326
  (n[8] === /*menuItem*/
331
327
  n[41].id && !/*isMobile*/
332
- n[12] ? "PlayerAccountMenuActiveItemBox" : "")) && d(e, "class", P);
328
+ n[12] ? "PlayerAccountMenuActiveItemBox" : "")) && d(e, "class", w);
333
329
  },
334
330
  d(c) {
335
- c && F(e), b = !1, w();
331
+ c && F(e), A = !1, v();
336
332
  }
337
333
  };
338
334
  }
339
- function Te(n) {
335
+ function Be(n) {
340
336
  let e, t;
341
337
  return {
342
338
  c() {
343
- e = A("div"), t = A("general-logout"), m(
339
+ e = b("div"), t = b("general-logout"), m(
344
340
  t,
345
341
  "endpoint",
346
342
  /*endpoint*/
@@ -367,35 +363,35 @@ function Te(n) {
367
363
  n[4]
368
364
  ), d(e, "class", "PlayerAccountLogOutArea");
369
365
  },
370
- m(l, i) {
371
- L(l, e, i), a(e, t);
366
+ m(l, r) {
367
+ E(l, e, r), a(e, t);
372
368
  },
373
- p(l, i) {
374
- i[0] & /*endpoint*/
369
+ p(l, r) {
370
+ r[0] & /*endpoint*/
375
371
  2 && m(
376
372
  t,
377
373
  "endpoint",
378
374
  /*endpoint*/
379
375
  l[1]
380
- ), i[0] & /*session*/
376
+ ), r[0] & /*session*/
381
377
  1 && m(
382
378
  t,
383
379
  "session",
384
380
  /*session*/
385
381
  l[0]
386
- ), i[0] & /*clientstyling*/
382
+ ), r[0] & /*clientstyling*/
387
383
  4 && m(
388
384
  t,
389
385
  "clientstyling",
390
386
  /*clientstyling*/
391
387
  l[2]
392
- ), i[0] & /*clientstylingurl*/
388
+ ), r[0] & /*clientstylingurl*/
393
389
  8 && m(
394
390
  t,
395
391
  "clientstylingurl",
396
392
  /*clientstylingurl*/
397
393
  l[3]
398
- ), i[0] & /*mbsource*/
394
+ ), r[0] & /*mbsource*/
399
395
  16 && m(
400
396
  t,
401
397
  "mbsource",
@@ -408,28 +404,28 @@ function Te(n) {
408
404
  }
409
405
  };
410
406
  }
411
- function ze(n) {
407
+ function He(n) {
412
408
  let e;
413
409
  return {
414
410
  c() {
415
- e = A("div"), e.innerHTML = '<ui-skeleton structure="title" width="30px" height="40px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="40px"></ui-skeleton>', d(e, "class", "PlayerAccountMenuCategoryWrapper");
411
+ e = b("div"), e.innerHTML = '<ui-skeleton structure="title" width="30px" height="40px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="40px"></ui-skeleton>', d(e, "class", "PlayerAccountMenuCategoryWrapper");
416
412
  },
417
413
  m(t, l) {
418
- L(t, e, l);
414
+ E(t, e, l);
419
415
  },
420
416
  d(t) {
421
417
  t && F(e);
422
418
  }
423
419
  };
424
420
  }
425
- function He(n) {
421
+ function We(n) {
426
422
  let e;
427
423
  return {
428
424
  c() {
429
- e = A("ui-skeleton"), m(e, "structure", "circle"), m(e, "size", "20px");
425
+ e = b("ui-skeleton"), m(e, "structure", "circle"), m(e, "size", "20px");
430
426
  },
431
427
  m(t, l) {
432
- L(t, e, l);
428
+ E(t, e, l);
433
429
  },
434
430
  d(t) {
435
431
  t && F(e);
@@ -437,11 +433,11 @@ function He(n) {
437
433
  };
438
434
  }
439
435
  function $(n) {
440
- let e, t, l, i, s = !/*isMobile*/
441
- n[12] && He();
436
+ let e, t, l, r, s = !/*isMobile*/
437
+ n[12] && We();
442
438
  return {
443
439
  c() {
444
- e = A("div"), s && s.c(), t = k(), l = A("ui-skeleton"), i = k(), m(l, "structure", "rectangle"), m(l, "width", "100%"), m(
440
+ e = b("div"), s && s.c(), t = k(), l = b("ui-skeleton"), r = k(), m(l, "structure", "rectangle"), m(l, "width", "100%"), m(
445
441
  l,
446
442
  "height",
447
443
  /*isMobile*/
@@ -450,7 +446,7 @@ function $(n) {
450
446
  (n[12] ? "PlayerAccountItemWrapMobile" : ""));
451
447
  },
452
448
  m(g, h) {
453
- L(g, e, h), s && s.m(e, null), a(e, t), a(e, l), a(e, i);
449
+ E(g, e, h), s && s.m(e, null), a(e, t), a(e, l), a(e, r);
454
450
  },
455
451
  p: O,
456
452
  d(g) {
@@ -458,175 +454,174 @@ function $(n) {
458
454
  }
459
455
  };
460
456
  }
461
- function We(n) {
457
+ function ze(n) {
462
458
  let e;
463
459
  function t(s, g) {
464
460
  return (
465
461
  /*skeletonLoading*/
466
- s[6] ? Le : Fe
462
+ s[6] ? Fe : Ce
467
463
  );
468
464
  }
469
- let l = t(n), i = l(n);
465
+ let l = t(n), r = l(n);
470
466
  return {
471
467
  c() {
472
- e = A("div"), i.c();
468
+ e = b("div"), r.c();
473
469
  },
474
470
  m(s, g) {
475
- L(s, e, g), i.m(e, null), n[27](e);
471
+ E(s, e, g), r.m(e, null), n[26](e);
476
472
  },
477
473
  p(s, g) {
478
- l === (l = t(s)) && i ? i.p(s, g) : (i.d(1), i = l(s), i && (i.c(), i.m(e, null)));
474
+ l === (l = t(s)) && r ? r.p(s, g) : (r.d(1), r = l(s), r && (r.c(), r.m(e, null)));
479
475
  },
480
476
  i: O,
481
477
  o: O,
482
478
  d(s) {
483
- s && F(e), i.d(), n[27](null);
479
+ s && F(e), r.d(), n[26](null);
484
480
  }
485
481
  };
486
482
  }
487
- function Se(n, e, t) {
483
+ function Te(n, e, t) {
488
484
  let l;
489
- be(n, ve, (r) => t(11, l = r));
490
- let { endpoint: i = "" } = e, { cmsendpoint: s = "" } = e, { env: g = "" } = e, { session: h = "" } = e, { playerid: M = "" } = e, { lang: v = "en" } = e, { selecteditem: P = "" } = e, { userroles: b = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: u = "" } = e, { mbsource: c } = e, { translationurl: y = "" } = e, { activemenuitem: o = "" } = e, _ = !1, p = !1, I = !0, f, B = [], S, U = window.navigator.userAgent, te = V(U) !== "PC", j = "", R = "";
491
- const ne = window.matchMedia("(min-width: 768px)"), le = () => {
492
- fetch(y).then((x) => x.json()).then((x) => {
493
- Object.keys(x).forEach((E) => {
494
- Z(E, x[E]);
485
+ be(n, ve, (i) => t(11, l = i));
486
+ let { endpoint: r = "" } = e, { cmsendpoint: s = "" } = e, { env: g = "" } = e, { session: h = "" } = e, { playerid: M = "" } = e, { lang: P = "en" } = e, { selecteditem: w = "" } = e, { userroles: A = "" } = e, { clientstyling: v = "" } = e, { clientstylingurl: u = "" } = e, { mbsource: c } = e, { translationurl: f = "" } = e, { activemenuitem: o = "" } = e, _ = !1, y = !1, C = !0, p, B = [], S, D = window.navigator.userAgent, te = V(D) !== "PC", U = "", R = "";
487
+ window.matchMedia("(min-width: 768px)");
488
+ const ne = () => {
489
+ fetch(f).then((x) => x.json()).then((x) => {
490
+ Object.keys(x).forEach((L) => {
491
+ Z(L, x[L]);
495
492
  });
496
493
  }).catch((x) => {
497
494
  console.error(x);
498
495
  });
499
496
  };
500
- Object.keys(Q).forEach((r) => {
501
- Z(r, Q[r]);
497
+ Object.keys(J).forEach((i) => {
498
+ Z(i, J[i]);
502
499
  });
503
- const N = (r) => {
504
- if (r.data)
505
- switch (r.data.type) {
500
+ const N = (i) => {
501
+ if (i.data)
502
+ switch (i.data.type) {
506
503
  case "AccountMenuDetails":
507
- availableMenuItemsArray = r.data.accountMenuInfo;
504
+ availableMenuItemsArray = i.data.accountMenuInfo;
508
505
  break;
509
506
  case "UserSessionID":
510
- t(0, h = r.data.session);
507
+ t(0, h = i.data.session);
511
508
  break;
512
509
  }
513
- }, re = () => {
514
- let r = V(U);
515
- if (r)
516
- return r === "PC" ? "dk" : "mtWeb";
510
+ }, le = () => {
511
+ let i = V(D);
512
+ if (i)
513
+ return i === "PC" ? "dk" : "mtWeb";
517
514
  }, ie = () => {
518
- const r = new URL(`${s}/${v}/profile-menu?env=${g}`);
519
- r.searchParams.append("device", re()), fetch(r.href).then((x) => x.json()).then((x) => {
515
+ const i = new URL(`${s}/${P}/profile-menu?env=${g}`);
516
+ i.searchParams.append("device", le()), fetch(i.href).then((x) => x.json()).then((x) => {
520
517
  t(7, B = x), G();
521
518
  }).catch((x) => {
522
519
  console.error("Error getting menu items", x);
523
520
  }).finally(() => {
524
- t(24, _ = !0);
521
+ t(23, _ = !0);
525
522
  });
526
- }, oe = () => {
527
- let r = new URL(`${i}/v1/player/${M}/profile`);
528
- r.searchParams.append("userRoles", b);
523
+ }, re = () => {
524
+ let i = new URL(`${r}/v1/player/${M}/profile`);
525
+ i.searchParams.append("userRoles", A);
529
526
  let x = {
530
527
  method: "GET",
531
528
  headers: { "X-SessionID": h }
532
529
  };
533
- fetch(r.href, x).then((E) => E.json()).then(
534
- (E) => {
535
- t(9, j = E.username), t(10, R = E.email);
530
+ fetch(i.href, x).then((L) => L.json()).then(
531
+ (L) => {
532
+ t(9, U = L.username), t(10, R = L.email);
536
533
  },
537
- (E) => {
538
- console.error(E);
534
+ (L) => {
535
+ console.error(L);
539
536
  }
540
537
  ).finally(() => {
541
- t(25, p = !0);
538
+ t(24, y = !0);
542
539
  });
543
- }, q = (r) => {
544
- window.postMessage({ type: "ChangeAccountPage", page: r }, window.location.href), t(8, S = r.id);
540
+ }, q = (i) => {
541
+ window.postMessage({ type: "ChangeAccountPage", page: i }, window.location.href), t(8, S = i.id);
545
542
  }, G = () => {
546
- var r;
547
- t(8, S = (r = B.find((x) => x.path.includes(o))) == null ? void 0 : r.id);
548
- }, ae = () => {
543
+ t(8, S = B.find((i) => i.path.includes(o))?.id);
544
+ }, oe = () => {
549
545
  window.postMessage({ type: "GoToHomepage" }, window.location.href);
546
+ }, ae = () => {
547
+ ke(P);
550
548
  }, ce = () => {
551
- Ce(v);
552
- }, se = () => {
553
- oe();
549
+ re();
554
550
  };
555
- Me(() => (window.addEventListener("message", N, !1), () => {
551
+ Ae(() => (window.addEventListener("message", N, !1), () => {
556
552
  window.removeEventListener("message", N);
557
553
  }));
558
- const ue = (r) => q(r);
559
- function me(r) {
560
- Pe[r ? "unshift" : "push"](() => {
561
- f = r, t(5, f);
554
+ const se = (i) => q(i);
555
+ function ue(i) {
556
+ Me[i ? "unshift" : "push"](() => {
557
+ p = i, t(5, p);
562
558
  });
563
559
  }
564
- return n.$$set = (r) => {
565
- "endpoint" in r && t(1, i = r.endpoint), "cmsendpoint" in r && t(16, s = r.cmsendpoint), "env" in r && t(17, g = r.env), "session" in r && t(0, h = r.session), "playerid" in r && t(18, M = r.playerid), "lang" in r && t(19, v = r.lang), "selecteditem" in r && t(20, P = r.selecteditem), "userroles" in r && t(21, b = r.userroles), "clientstyling" in r && t(2, w = r.clientstyling), "clientstylingurl" in r && t(3, u = r.clientstylingurl), "mbsource" in r && t(4, c = r.mbsource), "translationurl" in r && t(22, y = r.translationurl), "activemenuitem" in r && t(23, o = r.activemenuitem);
560
+ return n.$$set = (i) => {
561
+ "endpoint" in i && t(1, r = i.endpoint), "cmsendpoint" in i && t(15, s = i.cmsendpoint), "env" in i && t(16, g = i.env), "session" in i && t(0, h = i.session), "playerid" in i && t(17, M = i.playerid), "lang" in i && t(18, P = i.lang), "selecteditem" in i && t(19, w = i.selecteditem), "userroles" in i && t(20, A = i.userroles), "clientstyling" in i && t(2, v = i.clientstyling), "clientstylingurl" in i && t(3, u = i.clientstylingurl), "mbsource" in i && t(4, c = i.mbsource), "translationurl" in i && t(21, f = i.translationurl), "activemenuitem" in i && t(22, o = i.activemenuitem);
566
562
  }, n.$$.update = () => {
567
563
  n.$$.dirty[0] & /*menuLoaded, playerInfoLoaded*/
568
- 50331648 && t(6, I = !_ || !p), n.$$.dirty[0] & /*lang*/
569
- 524288 && v && ce(), n.$$.dirty[0] & /*endpoint, session, playerid, lang*/
570
- 786435 && i && h && M && v && se(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
571
- 720896 && s && v && g && ie(), n.$$.dirty[0] & /*activemenuitem*/
572
- 8388608 && o && G(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
573
- 36 && w && f && xe(f, w), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
574
- 40 && u && f && _e(f, u), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
575
- 48 && c && f && ke(f, `${c}.Style`), n.$$.dirty[0] & /*translationurl*/
576
- 4194304 && y && le();
564
+ 25165824 && t(6, C = !_ || !y), n.$$.dirty[0] & /*lang*/
565
+ 262144 && P && ae(), n.$$.dirty[0] & /*endpoint, session, playerid, lang*/
566
+ 393219 && r && h && M && P && ce(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
567
+ 360448 && s && P && g && ie(), n.$$.dirty[0] & /*activemenuitem*/
568
+ 4194304 && o && G(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
569
+ 36 && v && p && Pe(p, v), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
570
+ 40 && u && p && _e(p, u), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
571
+ 48 && c && p && xe(p, `${c}.Style`), n.$$.dirty[0] & /*translationurl*/
572
+ 2097152 && f && ne();
577
573
  }, [
578
574
  h,
579
- i,
580
- w,
575
+ r,
576
+ v,
581
577
  u,
582
578
  c,
583
- f,
584
- I,
579
+ p,
580
+ C,
585
581
  B,
586
582
  S,
587
- j,
583
+ U,
588
584
  R,
589
585
  l,
590
586
  te,
591
- ne,
592
587
  q,
593
- ae,
588
+ oe,
594
589
  s,
595
590
  g,
596
591
  M,
597
- v,
598
592
  P,
599
- b,
600
- y,
593
+ w,
594
+ A,
595
+ f,
601
596
  o,
602
597
  _,
603
- p,
604
- ue,
605
- me
598
+ y,
599
+ se,
600
+ ue
606
601
  ];
607
602
  }
608
- class Oe extends ye {
603
+ class Se extends fe {
609
604
  constructor(e) {
610
- super(), pe(
605
+ super(), ye(
611
606
  this,
612
607
  e,
613
- Se,
614
- We,
615
- fe,
608
+ Te,
609
+ ze,
610
+ pe,
616
611
  {
617
612
  endpoint: 1,
618
- cmsendpoint: 16,
619
- env: 17,
613
+ cmsendpoint: 15,
614
+ env: 16,
620
615
  session: 0,
621
- playerid: 18,
622
- lang: 19,
623
- selecteditem: 20,
624
- userroles: 21,
616
+ playerid: 17,
617
+ lang: 18,
618
+ selecteditem: 19,
619
+ userroles: 20,
625
620
  clientstyling: 2,
626
621
  clientstylingurl: 3,
627
622
  mbsource: 4,
628
- translationurl: 22,
629
- activemenuitem: 23
623
+ translationurl: 21,
624
+ activemenuitem: 22
630
625
  },
631
626
  Ie,
632
627
  [-1, -1]
@@ -636,82 +631,82 @@ class Oe extends ye {
636
631
  return this.$$.ctx[1];
637
632
  }
638
633
  set endpoint(e) {
639
- this.$$set({ endpoint: e }), C();
634
+ this.$$set({ endpoint: e }), I();
640
635
  }
641
636
  get cmsendpoint() {
642
- return this.$$.ctx[16];
637
+ return this.$$.ctx[15];
643
638
  }
644
639
  set cmsendpoint(e) {
645
- this.$$set({ cmsendpoint: e }), C();
640
+ this.$$set({ cmsendpoint: e }), I();
646
641
  }
647
642
  get env() {
648
- return this.$$.ctx[17];
643
+ return this.$$.ctx[16];
649
644
  }
650
645
  set env(e) {
651
- this.$$set({ env: e }), C();
646
+ this.$$set({ env: e }), I();
652
647
  }
653
648
  get session() {
654
649
  return this.$$.ctx[0];
655
650
  }
656
651
  set session(e) {
657
- this.$$set({ session: e }), C();
652
+ this.$$set({ session: e }), I();
658
653
  }
659
654
  get playerid() {
660
- return this.$$.ctx[18];
655
+ return this.$$.ctx[17];
661
656
  }
662
657
  set playerid(e) {
663
- this.$$set({ playerid: e }), C();
658
+ this.$$set({ playerid: e }), I();
664
659
  }
665
660
  get lang() {
666
- return this.$$.ctx[19];
661
+ return this.$$.ctx[18];
667
662
  }
668
663
  set lang(e) {
669
- this.$$set({ lang: e }), C();
664
+ this.$$set({ lang: e }), I();
670
665
  }
671
666
  get selecteditem() {
672
- return this.$$.ctx[20];
667
+ return this.$$.ctx[19];
673
668
  }
674
669
  set selecteditem(e) {
675
- this.$$set({ selecteditem: e }), C();
670
+ this.$$set({ selecteditem: e }), I();
676
671
  }
677
672
  get userroles() {
678
- return this.$$.ctx[21];
673
+ return this.$$.ctx[20];
679
674
  }
680
675
  set userroles(e) {
681
- this.$$set({ userroles: e }), C();
676
+ this.$$set({ userroles: e }), I();
682
677
  }
683
678
  get clientstyling() {
684
679
  return this.$$.ctx[2];
685
680
  }
686
681
  set clientstyling(e) {
687
- this.$$set({ clientstyling: e }), C();
682
+ this.$$set({ clientstyling: e }), I();
688
683
  }
689
684
  get clientstylingurl() {
690
685
  return this.$$.ctx[3];
691
686
  }
692
687
  set clientstylingurl(e) {
693
- this.$$set({ clientstylingurl: e }), C();
688
+ this.$$set({ clientstylingurl: e }), I();
694
689
  }
695
690
  get mbsource() {
696
691
  return this.$$.ctx[4];
697
692
  }
698
693
  set mbsource(e) {
699
- this.$$set({ mbsource: e }), C();
694
+ this.$$set({ mbsource: e }), I();
700
695
  }
701
696
  get translationurl() {
702
- return this.$$.ctx[22];
697
+ return this.$$.ctx[21];
703
698
  }
704
699
  set translationurl(e) {
705
- this.$$set({ translationurl: e }), C();
700
+ this.$$set({ translationurl: e }), I();
706
701
  }
707
702
  get activemenuitem() {
708
- return this.$$.ctx[23];
703
+ return this.$$.ctx[22];
709
704
  }
710
705
  set activemenuitem(e) {
711
- this.$$set({ activemenuitem: e }), C();
706
+ this.$$set({ activemenuitem: e }), I();
712
707
  }
713
708
  }
714
- he(Oe, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, selecteditem: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, activemenuitem: {} }, [], [], !0);
709
+ ge(Se, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, selecteditem: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, activemenuitem: {} }, [], [], !0);
715
710
  export {
716
- Oe as default
711
+ Se as P
717
712
  };