import { a as me, $ as ge, S as de, i as fe, f as F, s as ye, c as pe, b as he, n as j, d as C, e as L, g as b, h as be, j as V, o as Ae, k as Me, l as S, m as ee, p as a, q as I, r as m, t as g, u as T, v as H, w as Pe, x as z, y as W, z as X, A as we, B as ve, C as _e, D as ke } from "./PlayerAccountController-OnOGVd86.js";
import "../stencil/ui-skeleton-DNuG5l9W.js";
function Z(n, e) {
  me(n, e);
}
function xe(n) {
  ge.set(n);
}
const J = {
  en: {
    title: "My Account"
  },
  "zh-hk": {
    title: "我的帳戶"
  },
  fr: {
    title: "Mon compte"
  },
  tr: {
    title: "Hesabım"
  },
  ro: {
    title: "Contul meu"
  },
  es: {
    title: "Mi Cuenta"
  },
  pt: {
    title: "Minha Conta"
  },
  hr: {
    title: "Moj račun"
  },
  "pt-br": {
    title: "Minha conta"
  },
  "es-mx": {
    title: "Mi cuenta"
  },
  "en-us": {
    title: "My Account"
  }
};
if (typeof window < "u") {
  let n = function(e) {
    return function(...t) {
      try {
        return e.apply(this, t);
      } catch (l) {
        if (l instanceof DOMException && l.message.includes("has already been used with this registry") || l.message.includes("Cannot define multiple custom elements with the same tag name"))
          return !1;
        throw l;
      }
    };
  };
  customElements.define = n(customElements.define), import("./GeneralLogout-Bv7_Hjpi.js").then(({ default: e }) => {
    !customElements.get("general-logout") && customElements.define("general-logout", e.element);
  });
}
function Ie(n) {
  he(n, "svelte-5g0xrl", ".PlayerAccountMenuContainer{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;border-right:2px solid #58586b;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%}.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:18px}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px;text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox:not(:last-child){border-bottom:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;height:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;height:30px;padding-top:15px}.PlayerAccountMenuList{overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-300, #58586B);min-height:900px}.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{flex-wrap:wrap;flex:0 0 33.3333%;padding:0;gap:10px}.PlayerAccountItemWrap.PlayerAccountItemWrapMobile ui-skeleton{width:100%}.PlayerAccountItemWrap ui-skeleton:last-child{flex:1}.PlayerAccountLogOutArea{background:var(--emw--color-gray-300, #58586B);color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));width:100%;flex-grow:0;border-top:1px solid var(--emw--color-gray-150, #828282)}.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer{height:unset}.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:grid;grid-template-columns:calc(33% - 6.66px) calc(33% - 6.66px) calc(33% - 6.66px);column-gap:10px;row-gap:10px;padding:0 20px 20px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{border:1px solid var(--emw--color-gray-300, #58586B);border-radius:5px;height:auto;justify-content:center;padding-bottom:calc(100% - 22px);position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-bottom:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:30px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;align-items:center;justify-content:space-between;flex-flow:column;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:11px;padding:0 5px 15px 5px;font-weight:400;word-break:break-word;text-align:center;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}}");
}
function K(n, e, t) {
  const l = n.slice();
  return l[40] = e[t], l;
}
function Q(n, e, t) {
  const l = n.slice();
  return l[37] = e[t], l;
}
function Fe(n) {
  let e, t, l, i, s, d, p, A, w, M, h, P, u = (
    /*isMobile*/
    n[12] && Le(n)
  ), c = (
    /*isMobile*/
    n[12] && Ee(n)
  ), f = S(
    /*menuItems*/
    n[7]
  ), r = [];
  for (let y = 0; y < f.length; y += 1)
    r[y] = Y(K(n, f, y));
  let k = !/*isMobile*/
  n[12] && Be(n);
  return {
    c() {
      e = b("div"), t = b("div"), u && u.c(), l = I(), i = b("p"), s = H(
        /*profileUsername*/
        n[9]
      ), d = I(), p = b("p"), A = H(
        /*profileEmail*/
        n[10]
      ), w = I(), c && c.c(), M = I(), h = b("div");
      for (let y = 0; y < r.length; y += 1)
        r[y].c();
      P = I(), k && k.c(), g(i, "class", "PlayerAccountMenuUser"), g(i, "translate", "no"), g(p, "class", "PlayerAccountMenuEmail"), g(p, "translate", "no"), g(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
      (n[12] ? "PlayerAccountMenuHeaderMobile" : "")), g(h, "class", "PlayerAccountMenuList"), g(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
      (n[12] ? "PlayerAccountMobileContainer" : ""));
    },
    m(y, v) {
      L(y, e, v), a(e, t), u && u.m(t, null), a(t, l), a(t, i), a(i, s), a(t, d), a(t, p), a(p, A), a(t, w), c && c.m(t, null), a(e, M), a(e, h);
      for (let _ = 0; _ < r.length; _ += 1)
        r[_] && r[_].m(h, null);
      a(e, P), k && k.m(e, null);
    },
    p(y, v) {
      if (
        /*isMobile*/
        y[12] && u.p(y, v), v[0] & /*profileUsername*/
        512 && T(
          s,
          /*profileUsername*/
          y[9]
        ), v[0] & /*profileEmail*/
        1024 && T(
          A,
          /*profileEmail*/
          y[10]
        ), /*isMobile*/
        y[12] && c.p(y, v), v[0] & /*selectedItem, menuItems, isMobile, openAccountSection*/
        12672
      ) {
        f = S(
          /*menuItems*/
          y[7]
        );
        let _;
        for (_ = 0; _ < f.length; _ += 1) {
          const B = K(y, f, _);
          r[_] ? r[_].p(B, v) : (r[_] = Y(B), r[_].c(), r[_].m(h, null));
        }
        for (; _ < r.length; _ += 1)
          r[_].d(1);
        r.length = f.length;
      }
      /*isMobile*/
      y[12] || k.p(y, v);
    },
    d(y) {
      y && C(e), u && u.d(), c && c.d(), ee(r, y), k && k.d();
    }
  };
}
function Ce(n) {
  let e, t, l, i, s, d, p, A, w, M, h = (
    /*isMobile*/
    n[12] && We()
  ), P = S(Array(18)), u = [];
  for (let c = 0; c < P.length; c += 1)
    u[c] = $(Q(n, P, c));
  return {
    c() {
      e = b("div"), t = b("div"), h && h.c(), l = I(), i = b("ui-skeleton"), s = I(), d = b("ui-skeleton"), p = I(), A = b("div");
      for (let c = 0; c < u.length; c += 1)
        u[c].c();
      w = I(), M = b("div"), M.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>', m(i, "structure", "title"), m(i, "width", "100px"), m(i, "height", "20px"), m(i, "margin-top", "10px"), m(d, "structure", "text"), m(d, "width", "200px"), m(d, "height", "20px"), g(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
      (n[12] ? "PlayerAccountMenuHeaderMobile" : "")), g(A, "class", "PlayerAccountMenuList"), g(M, "class", "skeletonLogOut"), g(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
      (n[12] ? "PlayerAccountMobileContainer" : ""));
    },
    m(c, f) {
      L(c, e, f), a(e, t), h && h.m(t, null), a(t, l), a(t, i), a(t, s), a(t, d), a(e, p), a(e, A);
      for (let r = 0; r < u.length; r += 1)
        u[r] && u[r].m(A, null);
      a(e, w), a(e, M);
    },
    p(c, f) {
      if (f[0] & /*isMobile*/
      4096) {
        P = S(Array(18));
        let r;
        for (r = 0; r < P.length; r += 1) {
          const k = Q(c, P, r);
          u[r] ? u[r].p(k, f) : (u[r] = $(k), u[r].c(), u[r].m(A, null));
        }
        for (; r < u.length; r += 1)
          u[r].d(1);
        u.length = P.length;
      }
    },
    d(c) {
      c && C(e), h && h.d(), ee(u, c);
    }
  };
}
function Le(n) {
  let e, t, l, i, s, d, p, A, w, M, h = (
    /*$_*/
    n[11]("title") + ""
  ), P, u, c;
  return {
    c() {
      e = b("div"), t = W("svg"), l = W("defs"), i = W("style"), s = H(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), d = W("g"), p = W("g"), A = W("path"), w = I(), M = b("h3"), P = H(h), g(A, "class", "aaa"), g(A, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), g(A, "transform", "translate(15 15) rotate(180)"), g(p, "transform", "translate(20 158)"), g(d, "transform", "translate(-20 -158)"), g(t, "xmlns", "http://www.w3.org/2000/svg"), g(t, "width", "15"), g(t, "height", "15"), g(t, "viewBox", "0 0 15 15"), g(M, "class", "PlayerAccountMenuCategoryTitle"), g(e, "class", "PlayerAccountMenuCategoryWrapper");
    },
    m(f, r) {
      L(f, e, r), a(e, t), a(t, l), a(l, i), a(i, s), a(t, d), a(d, p), a(p, A), a(e, w), a(e, M), a(M, P), u || (c = [
        z(
          t,
          "click",
          /*goToHome*/
          n[14]
        ),
        z(
          M,
          "click",
          /*goToHome*/
          n[14]
        )
      ], u = !0);
    },
    p(f, r) {
      r[0] & /*$_*/
      2048 && h !== (h = /*$_*/
      f[11]("title") + "") && T(P, h);
    },
    d(f) {
      f && C(e), u = !1, Pe(c);
    }
  };
}
function Ee(n) {
  let e, t;
  return {
    c() {
      e = b("div"), t = b("general-logout"), m(
        t,
        "endpoint",
        /*endpoint*/
        n[1]
      ), m(
        t,
        "session",
        /*session*/
        n[0]
      ), m(t, "buttonlocation", "PlayerAccountMenu"), m(
        t,
        "clientstyling",
        /*clientstyling*/
        n[2]
      ), m(
        t,
        "clientstylingurl",
        /*clientstylingurl*/
        n[3]
      ), m(
        t,
        "mbsource",
        /*mbsource*/
        n[4]
      ), g(e, "class", "PlayerAccountLogOutArea");
    },
    m(l, i) {
      L(l, e, i), a(e, t);
    },
    p(l, i) {
      i[0] & /*endpoint*/
      2 && m(
        t,
        "endpoint",
        /*endpoint*/
        l[1]
      ), i[0] & /*session*/
      1 && m(
        t,
        "session",
        /*session*/
        l[0]
      ), i[0] & /*clientstyling*/
      4 && m(
        t,
        "clientstyling",
        /*clientstyling*/
        l[2]
      ), i[0] & /*clientstylingurl*/
      8 && m(
        t,
        "clientstylingurl",
        /*clientstylingurl*/
        l[3]
      ), i[0] & /*mbsource*/
      16 && m(
        t,
        "mbsource",
        /*mbsource*/
        l[4]
      );
    },
    d(l) {
      l && C(e);
    }
  };
}
function Y(n) {
  let e, t, l, i, s, d, p = (
    /*menuItem*/
    n[40].label + ""
  ), A, w, M, h, P;
  function u() {
    return (
      /*click_handler*/
      n[24](
        /*menuItem*/
        n[40]
      )
    );
  }
  return {
    c() {
      e = b("div"), t = b("p"), l = b("img"), s = I(), d = b("span"), A = H(p), w = I(), g(l, "class", "PlayerAccountMenuItemIcon " + /*isMobile*/
      (n[12] ? "PlayerAccountMenuItemIconMobile" : "")), X(l.src, i = /*menuItem*/
      n[40].img) || g(l, "src", i), g(d, "class", "PlayerAccountMenuItemTitle"), g(t, "class", "PlayerAccountMenuItemWrapper"), g(e, "class", M = "PlayerAccountMenuItemBox " + /*selectedItem*/
      (n[8] === /*menuItem*/
      n[40].id && !/*isMobile*/
      n[12] ? "PlayerAccountMenuActiveItemBox" : ""));
    },
    m(c, f) {
      L(c, e, f), a(e, t), a(t, l), a(t, s), a(t, d), a(d, A), a(e, w), h || (P = z(e, "click", u), h = !0);
    },
    p(c, f) {
      n = c, f[0] & /*menuItems*/
      128 && !X(l.src, i = /*menuItem*/
      n[40].img) && g(l, "src", i), f[0] & /*menuItems*/
      128 && p !== (p = /*menuItem*/
      n[40].label + "") && T(A, p), f[0] & /*selectedItem, menuItems*/
      384 && M !== (M = "PlayerAccountMenuItemBox " + /*selectedItem*/
      (n[8] === /*menuItem*/
      n[40].id && !/*isMobile*/
      n[12] ? "PlayerAccountMenuActiveItemBox" : "")) && g(e, "class", M);
    },
    d(c) {
      c && C(e), h = !1, P();
    }
  };
}
function Be(n) {
  let e, t;
  return {
    c() {
      e = b("div"), t = b("general-logout"), m(
        t,
        "endpoint",
        /*endpoint*/
        n[1]
      ), m(
        t,
        "session",
        /*session*/
        n[0]
      ), m(t, "buttonlocation", "PlayerAccountMenu"), m(
        t,
        "clientstyling",
        /*clientstyling*/
        n[2]
      ), m(
        t,
        "clientstylingurl",
        /*clientstylingurl*/
        n[3]
      ), m(
        t,
        "mbsource",
        /*mbsource*/
        n[4]
      ), g(e, "class", "PlayerAccountLogOutArea");
    },
    m(l, i) {
      L(l, e, i), a(e, t);
    },
    p(l, i) {
      i[0] & /*endpoint*/
      2 && m(
        t,
        "endpoint",
        /*endpoint*/
        l[1]
      ), i[0] & /*session*/
      1 && m(
        t,
        "session",
        /*session*/
        l[0]
      ), i[0] & /*clientstyling*/
      4 && m(
        t,
        "clientstyling",
        /*clientstyling*/
        l[2]
      ), i[0] & /*clientstylingurl*/
      8 && m(
        t,
        "clientstylingurl",
        /*clientstylingurl*/
        l[3]
      ), i[0] & /*mbsource*/
      16 && m(
        t,
        "mbsource",
        /*mbsource*/
        l[4]
      );
    },
    d(l) {
      l && C(e);
    }
  };
}
function We(n) {
  let e;
  return {
    c() {
      e = b("div"), e.innerHTML = '<ui-skeleton structure="title" width="30px" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="30px"></ui-skeleton>', g(e, "class", "PlayerAccountMenuCategoryWrapper");
    },
    m(t, l) {
      L(t, e, l);
    },
    d(t) {
      t && C(e);
    }
  };
}
function He(n) {
  let e;
  return {
    c() {
      e = b("ui-skeleton"), m(e, "structure", "circle"), m(e, "size", "20px");
    },
    m(t, l) {
      L(t, e, l);
    },
    d(t) {
      t && C(e);
    }
  };
}
function $(n) {
  let e, t, l, i, s = !/*isMobile*/
  n[12] && He();
  return {
    c() {
      e = b("div"), s && s.c(), t = I(), l = b("ui-skeleton"), i = I(), m(l, "structure", "rectangle"), m(l, "width", "100%"), m(
        l,
        "height",
        /*isMobile*/
        n[12] ? "120px" : "20px"
      ), g(e, "class", "PlayerAccountItemWrap " + /*isMobile*/
      (n[12] ? "PlayerAccountItemWrapMobile" : ""));
    },
    m(d, p) {
      L(d, e, p), s && s.m(e, null), a(e, t), a(e, l), a(e, i);
    },
    p: j,
    d(d) {
      d && C(e), s && s.d();
    }
  };
}
function Se(n) {
  let e;
  function t(s, d) {
    return (
      /*skeletonLoading*/
      s[6] ? Ce : Fe
    );
  }
  let l = t(n), i = l(n);
  return {
    c() {
      e = b("div"), i.c();
    },
    m(s, d) {
      L(s, e, d), i.m(e, null), n[25](e);
    },
    p(s, d) {
      l === (l = t(s)) && i ? i.p(s, d) : (i.d(1), i = l(s), i && (i.c(), i.m(e, null)));
    },
    i: j,
    o: j,
    d(s) {
      s && C(e), i.d(), n[25](null);
    }
  };
}
function Te(n, e, t) {
  let l;
  be(n, we, (o) => t(11, l = o));
  let { endpoint: i = "" } = e, { cmsendpoint: s = "" } = e, { env: d = "" } = e, { session: p = "" } = e, { playerid: A = "" } = e, { lang: w = "en" } = e, { userroles: M = "" } = e, { clientstyling: h = "" } = e, { clientstylingurl: P = "" } = e, { translationurl: u = "" } = e, { activemenuitem: c = "" } = e, { mbsource: f } = e, r = !1, k = !1, y = !0, v, _, B = [], O, U = window.navigator.userAgent, te = V(U) !== "PC", D = "", R = "";
  window.matchMedia("(min-width: 768px)");
  const ne = () => {
    fetch(u).then((x) => x.json()).then((x) => {
      Object.keys(x).forEach((E) => {
        Z(E, x[E]);
      });
    }).catch((x) => {
      console.error(x);
    });
  };
  Object.keys(J).forEach((o) => {
    Z(o, J[o]);
  });
  const q = (o) => {
    if (o.data)
      switch (o.data.type) {
        case "UserSessionID":
          t(0, p = o.data.session);
          break;
      }
  }, le = () => {
    let o = V(U);
    if (o)
      return o === "PC" ? "dk" : "mtWeb";
  }, ie = () => {
    const o = new URL(`${s}/${w}/profile-menu?env=${d}`);
    o.searchParams.append("device", le()), fetch(o.href).then((x) => x.json()).then((x) => {
      t(7, B = x), G();
    }).catch((x) => {
      console.error("Error getting menu items", x);
    }).finally(() => {
      t(22, r = !0);
    });
  }, oe = () => {
    let o = new URL(`${i}/v1/player/${A}/profile`);
    o.searchParams.append("userRoles", M);
    let x = {
      method: "GET",
      headers: { "X-SessionID": p }
    };
    fetch(o.href, x).then((E) => E.json()).then(
      (E) => {
        t(9, D = E.username), t(10, R = E.email);
      },
      (E) => {
        console.error(E);
      }
    ).finally(() => {
      t(23, k = !0);
    });
  }, N = (o) => {
    window.postMessage({ type: "ChangeAccountPage", page: o }, window.location.href), t(8, O = o.id);
  }, G = () => {
    t(8, O = B.find((o) => o.path.includes(c))?.id);
  }, re = () => {
    xe(w);
  }, ae = () => {
    oe();
  }, ce = () => {
    window.postMessage({ type: "GoToHomepage" }, window.location.href);
  };
  Ae(() => (window.addEventListener("message", q, !1), () => {
    window.removeEventListener("message", q);
  }));
  const se = (o) => N(o);
  function ue(o) {
    Me[o ? "unshift" : "push"](() => {
      v = o, t(5, v);
    });
  }
  return n.$$set = (o) => {
    "endpoint" in o && t(1, i = o.endpoint), "cmsendpoint" in o && t(15, s = o.cmsendpoint), "env" in o && t(16, d = o.env), "session" in o && t(0, p = o.session), "playerid" in o && t(17, A = o.playerid), "lang" in o && t(18, w = o.lang), "userroles" in o && t(19, M = o.userroles), "clientstyling" in o && t(2, h = o.clientstyling), "clientstylingurl" in o && t(3, P = o.clientstylingurl), "translationurl" in o && t(20, u = o.translationurl), "activemenuitem" in o && t(21, c = o.activemenuitem), "mbsource" in o && t(4, f = o.mbsource);
  }, n.$$.update = () => {
    n.$$.dirty[0] & /*menuLoaded, playerInfoLoaded*/
    12582912 && t(6, y = !r || !k), n.$$.dirty[0] & /*lang*/
    262144 && w && re(), n.$$.dirty[0] & /*endpoint, session, playerid, lang*/
    393219 && i && p && A && w && ae(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
    360448 && s && w && d && ie(), n.$$.dirty[0] & /*activemenuitem*/
    2097152 && c && G(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
    36 && h && v && ve(v, h), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
    40 && P && v && _e(v, P), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
    48 && f && v && ke(v, `${f}.Style`, _), n.$$.dirty[0] & /*translationurl*/
    1048576 && u && ne();
  }, [
    p,
    i,
    h,
    P,
    f,
    v,
    y,
    B,
    O,
    D,
    R,
    l,
    te,
    N,
    ce,
    s,
    d,
    A,
    w,
    M,
    u,
    c,
    r,
    k,
    se,
    ue
  ];
}
class Oe extends de {
  constructor(e) {
    super(), fe(
      this,
      e,
      Te,
      Se,
      ye,
      {
        endpoint: 1,
        cmsendpoint: 15,
        env: 16,
        session: 0,
        playerid: 17,
        lang: 18,
        userroles: 19,
        clientstyling: 2,
        clientstylingurl: 3,
        translationurl: 20,
        activemenuitem: 21,
        mbsource: 4
      },
      Ie,
      [-1, -1]
    );
  }
  get endpoint() {
    return this.$$.ctx[1];
  }
  set endpoint(e) {
    this.$$set({ endpoint: e }), F();
  }
  get cmsendpoint() {
    return this.$$.ctx[15];
  }
  set cmsendpoint(e) {
    this.$$set({ cmsendpoint: e }), F();
  }
  get env() {
    return this.$$.ctx[16];
  }
  set env(e) {
    this.$$set({ env: e }), F();
  }
  get session() {
    return this.$$.ctx[0];
  }
  set session(e) {
    this.$$set({ session: e }), F();
  }
  get playerid() {
    return this.$$.ctx[17];
  }
  set playerid(e) {
    this.$$set({ playerid: e }), F();
  }
  get lang() {
    return this.$$.ctx[18];
  }
  set lang(e) {
    this.$$set({ lang: e }), F();
  }
  get userroles() {
    return this.$$.ctx[19];
  }
  set userroles(e) {
    this.$$set({ userroles: e }), F();
  }
  get clientstyling() {
    return this.$$.ctx[2];
  }
  set clientstyling(e) {
    this.$$set({ clientstyling: e }), F();
  }
  get clientstylingurl() {
    return this.$$.ctx[3];
  }
  set clientstylingurl(e) {
    this.$$set({ clientstylingurl: e }), F();
  }
  get translationurl() {
    return this.$$.ctx[20];
  }
  set translationurl(e) {
    this.$$set({ translationurl: e }), F();
  }
  get activemenuitem() {
    return this.$$.ctx[21];
  }
  set activemenuitem(e) {
    this.$$set({ activemenuitem: e }), F();
  }
  get mbsource() {
    return this.$$.ctx[4];
  }
  set mbsource(e) {
    this.$$set({ mbsource: e }), F();
  }
}
pe(Oe, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activemenuitem: {}, mbsource: {} }, [], [], !0);
export {
  Oe as default
};
