@everymatrix/player-account-menu-nd 1.64.4 → 1.64.6

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, c as ye, S as pe, i as fe, s as he, f as C, 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-AfFowssF.js";
2
- import "../stencil/ui-skeleton-4ifa-7wH.js";
1
+ import { a as me, $ as de, S as ge, i as fe, f as I, s as ye, c as pe, 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-D307q6JD.js";
2
+ import "../stencil/ui-skeleton-Bk5dn5mu.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 < "u") {
44
+ if (typeof window != "undefined") {
45
45
  let n = function(e) {
46
46
  return function(...t) {
47
47
  try {
@@ -53,180 +53,176 @@ if (typeof window < "u") {
53
53
  }
54
54
  };
55
55
  };
56
- customElements.define = n(customElements.define), import("./GeneralLogout-AfFowssF.js").then((e) => e.G).then(({ default: e }) => {
56
+ customElements.define = n(customElements.define), import("./GeneralLogout-D307q6JD.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 x = !/*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(), x && x.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(), x && x.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), x && x.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), x && x.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] || x.p(p, I);
138
+ y[12] || x.p(y, C);
141
139
  },
142
- d(p) {
143
- p && F(e), u && u.d(), c && c.d(), ee(o, p), x && x.d();
140
+ d(y) {
141
+ y && F(e), u && u.d(), c && c.d(), ee(o, y), x && x.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 x = K(c, w, o);
178
- u[o] ? u[o].p(x, y) : (u[o] = $(x), u[o].c(), u[o].m(M, null));
172
+ for (o = 0; o < v.length; o += 1) {
173
+ const x = Q(c, v, o);
174
+ u[o] ? u[o].p(x, f) : (u[o] = $(x), 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,174 +454,175 @@ 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, x = !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((_) => _.json()).then((_) => {
493
- Object.keys(_).forEach((E) => {
494
- Z(E, _[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, x = !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((_) => _.json()).then((_) => {
490
+ Object.keys(_).forEach((L) => {
491
+ Z(L, _[L]);
495
492
  });
496
493
  }).catch((_) => {
497
494
  console.error(_);
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((_) => _.json()).then((_) => {
515
+ const i = new URL(`${s}/${P}/profile-menu?env=${g}`);
516
+ i.searchParams.append("device", le()), fetch(i.href).then((_) => _.json()).then((_) => {
520
517
  t(7, B = _), G();
521
518
  }).catch((_) => {
522
519
  console.error("Error getting menu items", _);
523
520
  }).finally(() => {
524
- t(24, x = !0);
521
+ t(23, x = !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 _ = {
530
527
  method: "GET",
531
528
  headers: { "X-SessionID": h }
532
529
  };
533
- fetch(r.href, _).then((E) => E.json()).then(
534
- (E) => {
535
- t(9, j = E.username), t(10, R = E.email);
530
+ fetch(i.href, _).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
- t(8, S = B.find((r) => r.path.includes(o))?.id);
547
- }, ae = () => {
543
+ var i;
544
+ t(8, S = (i = B.find((_) => _.path.includes(o))) == null ? void 0 : i.id);
545
+ }, oe = () => {
548
546
  window.postMessage({ type: "GoToHomepage" }, window.location.href);
547
+ }, ae = () => {
548
+ ke(P);
549
549
  }, ce = () => {
550
- Ce(v);
551
- }, se = () => {
552
- oe();
550
+ re();
553
551
  };
554
- Me(() => (window.addEventListener("message", N, !1), () => {
552
+ Ae(() => (window.addEventListener("message", N, !1), () => {
555
553
  window.removeEventListener("message", N);
556
554
  }));
557
- const ue = (r) => q(r);
558
- function me(r) {
559
- Pe[r ? "unshift" : "push"](() => {
560
- f = r, t(5, f);
555
+ const se = (i) => q(i);
556
+ function ue(i) {
557
+ Me[i ? "unshift" : "push"](() => {
558
+ p = i, t(5, p);
561
559
  });
562
560
  }
563
- return n.$$set = (r) => {
564
- "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);
561
+ return n.$$set = (i) => {
562
+ "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);
565
563
  }, n.$$.update = () => {
566
564
  n.$$.dirty[0] & /*menuLoaded, playerInfoLoaded*/
567
- 50331648 && t(6, I = !x || !p), n.$$.dirty[0] & /*lang*/
568
- 524288 && v && ce(), n.$$.dirty[0] & /*endpoint, session, playerid, lang*/
569
- 786435 && i && h && M && v && se(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
570
- 720896 && s && v && g && ie(), n.$$.dirty[0] & /*activemenuitem*/
571
- 8388608 && o && G(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
572
- 36 && w && f && xe(f, w), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
573
- 40 && u && f && _e(f, u), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
574
- 48 && c && f && ke(f, `${c}.Style`), n.$$.dirty[0] & /*translationurl*/
575
- 4194304 && y && le();
565
+ 25165824 && t(6, C = !x || !y), n.$$.dirty[0] & /*lang*/
566
+ 262144 && P && ae(), n.$$.dirty[0] & /*endpoint, session, playerid, lang*/
567
+ 393219 && r && h && M && P && ce(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
568
+ 360448 && s && P && g && ie(), n.$$.dirty[0] & /*activemenuitem*/
569
+ 4194304 && o && G(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
570
+ 36 && v && p && Pe(p, v), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
571
+ 40 && u && p && _e(p, u), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
572
+ 48 && c && p && xe(p, `${c}.Style`), n.$$.dirty[0] & /*translationurl*/
573
+ 2097152 && f && ne();
576
574
  }, [
577
575
  h,
578
- i,
579
- w,
576
+ r,
577
+ v,
580
578
  u,
581
579
  c,
582
- f,
583
- I,
580
+ p,
581
+ C,
584
582
  B,
585
583
  S,
586
- j,
584
+ U,
587
585
  R,
588
586
  l,
589
587
  te,
590
- ne,
591
588
  q,
592
- ae,
589
+ oe,
593
590
  s,
594
591
  g,
595
592
  M,
596
- v,
597
593
  P,
598
- b,
599
- y,
594
+ w,
595
+ A,
596
+ f,
600
597
  o,
601
598
  x,
602
- p,
603
- ue,
604
- me
599
+ y,
600
+ se,
601
+ ue
605
602
  ];
606
603
  }
607
- class Oe extends pe {
604
+ class Se extends ge {
608
605
  constructor(e) {
609
606
  super(), fe(
610
607
  this,
611
608
  e,
612
- Se,
613
- We,
614
- he,
609
+ Te,
610
+ ze,
611
+ ye,
615
612
  {
616
613
  endpoint: 1,
617
- cmsendpoint: 16,
618
- env: 17,
614
+ cmsendpoint: 15,
615
+ env: 16,
619
616
  session: 0,
620
- playerid: 18,
621
- lang: 19,
622
- selecteditem: 20,
623
- userroles: 21,
617
+ playerid: 17,
618
+ lang: 18,
619
+ selecteditem: 19,
620
+ userroles: 20,
624
621
  clientstyling: 2,
625
622
  clientstylingurl: 3,
626
623
  mbsource: 4,
627
- translationurl: 22,
628
- activemenuitem: 23
624
+ translationurl: 21,
625
+ activemenuitem: 22
629
626
  },
630
627
  Ie,
631
628
  [-1, -1]
@@ -635,82 +632,82 @@ class Oe extends pe {
635
632
  return this.$$.ctx[1];
636
633
  }
637
634
  set endpoint(e) {
638
- this.$$set({ endpoint: e }), C();
635
+ this.$$set({ endpoint: e }), I();
639
636
  }
640
637
  get cmsendpoint() {
641
- return this.$$.ctx[16];
638
+ return this.$$.ctx[15];
642
639
  }
643
640
  set cmsendpoint(e) {
644
- this.$$set({ cmsendpoint: e }), C();
641
+ this.$$set({ cmsendpoint: e }), I();
645
642
  }
646
643
  get env() {
647
- return this.$$.ctx[17];
644
+ return this.$$.ctx[16];
648
645
  }
649
646
  set env(e) {
650
- this.$$set({ env: e }), C();
647
+ this.$$set({ env: e }), I();
651
648
  }
652
649
  get session() {
653
650
  return this.$$.ctx[0];
654
651
  }
655
652
  set session(e) {
656
- this.$$set({ session: e }), C();
653
+ this.$$set({ session: e }), I();
657
654
  }
658
655
  get playerid() {
659
- return this.$$.ctx[18];
656
+ return this.$$.ctx[17];
660
657
  }
661
658
  set playerid(e) {
662
- this.$$set({ playerid: e }), C();
659
+ this.$$set({ playerid: e }), I();
663
660
  }
664
661
  get lang() {
665
- return this.$$.ctx[19];
662
+ return this.$$.ctx[18];
666
663
  }
667
664
  set lang(e) {
668
- this.$$set({ lang: e }), C();
665
+ this.$$set({ lang: e }), I();
669
666
  }
670
667
  get selecteditem() {
671
- return this.$$.ctx[20];
668
+ return this.$$.ctx[19];
672
669
  }
673
670
  set selecteditem(e) {
674
- this.$$set({ selecteditem: e }), C();
671
+ this.$$set({ selecteditem: e }), I();
675
672
  }
676
673
  get userroles() {
677
- return this.$$.ctx[21];
674
+ return this.$$.ctx[20];
678
675
  }
679
676
  set userroles(e) {
680
- this.$$set({ userroles: e }), C();
677
+ this.$$set({ userroles: e }), I();
681
678
  }
682
679
  get clientstyling() {
683
680
  return this.$$.ctx[2];
684
681
  }
685
682
  set clientstyling(e) {
686
- this.$$set({ clientstyling: e }), C();
683
+ this.$$set({ clientstyling: e }), I();
687
684
  }
688
685
  get clientstylingurl() {
689
686
  return this.$$.ctx[3];
690
687
  }
691
688
  set clientstylingurl(e) {
692
- this.$$set({ clientstylingurl: e }), C();
689
+ this.$$set({ clientstylingurl: e }), I();
693
690
  }
694
691
  get mbsource() {
695
692
  return this.$$.ctx[4];
696
693
  }
697
694
  set mbsource(e) {
698
- this.$$set({ mbsource: e }), C();
695
+ this.$$set({ mbsource: e }), I();
699
696
  }
700
697
  get translationurl() {
701
- return this.$$.ctx[22];
698
+ return this.$$.ctx[21];
702
699
  }
703
700
  set translationurl(e) {
704
- this.$$set({ translationurl: e }), C();
701
+ this.$$set({ translationurl: e }), I();
705
702
  }
706
703
  get activemenuitem() {
707
- return this.$$.ctx[23];
704
+ return this.$$.ctx[22];
708
705
  }
709
706
  set activemenuitem(e) {
710
- this.$$set({ activemenuitem: e }), C();
707
+ this.$$set({ activemenuitem: e }), I();
711
708
  }
712
709
  }
713
- ye(Oe, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, selecteditem: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, activemenuitem: {} }, [], [], !0);
710
+ pe(Se, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, selecteditem: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, activemenuitem: {} }, [], [], !0);
714
711
  export {
715
- Oe as P
712
+ Se as default
716
713
  };