@everymatrix/casino-header-controller 1.99.49 → 1.99.51

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.
Files changed (52) hide show
  1. package/components/{CasinoHamburgerMenu-CIskFOQa.cjs → CasinoHamburgerMenu-Cwvgq2rv.cjs} +1 -1
  2. package/components/{CasinoHamburgerMenu-z8Wckclx.js → CasinoHamburgerMenu-DVisv7WE.js} +1 -1
  3. package/components/{CasinoHamburgerMenu-DGX6UBM6.js → CasinoHamburgerMenu-boBtVv9W.js} +1 -1
  4. package/components/{CasinoHeaderController-C4AKLxls.js → CasinoHeaderController-BlUwYoZ4.js} +5 -5
  5. package/components/{CasinoHeaderController-DHj2MOij.js → CasinoHeaderController-CksmZcjS.js} +5 -5
  6. package/components/{CasinoHeaderController-DW5ITlRB.cjs → CasinoHeaderController-DjrorDut.cjs} +2 -2
  7. package/components/{CasinoSlider-CTjP5iju.js → CasinoSlider-CM3R-pQH.js} +1 -1
  8. package/components/{CasinoSlider-BYAAkIE4.cjs → CasinoSlider-Cn2zJagY.cjs} +1 -1
  9. package/components/{CasinoSlider-D1JN31YL.js → CasinoSlider-dLIrhzIU.js} +1 -1
  10. package/components/{PlayerAccountBalanceModal-BVRVIaGi.cjs → PlayerAccountBalanceModal-BY3IgTyv.cjs} +1 -1
  11. package/components/{PlayerAccountBalanceModal-C_1ozayG.js → PlayerAccountBalanceModal-BnhsKhV5.js} +1 -1
  12. package/components/{PlayerAccountBalanceModal-CvQga8xI.js → PlayerAccountBalanceModal-COoTk7Qg.js} +1 -1
  13. package/components/{PlayerDeposit-D_GcGldR.js → PlayerDeposit-DLrbgbsp.js} +1 -1
  14. package/components/{PlayerDeposit-jpTEnGbq.cjs → PlayerDeposit-DsULhOpH.cjs} +1 -1
  15. package/components/{PlayerDeposit-BM-oAJ5K.js → PlayerDeposit-KtjAYvdc.js} +1 -1
  16. package/es2015/casino-header-controller.cjs +1 -1
  17. package/es2015/casino-header-controller.js +1 -1
  18. package/esnext/casino-header-controller.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/{gamification-dropdown-h-6ixpoT.cjs → gamification-dropdown-4b4MQ0h5.cjs} +1 -1
  21. package/stencil/{gamification-dropdown-BcCInWU8.js → gamification-dropdown-CfrL8dpc.js} +2 -2
  22. package/stencil/{gamification-dropdown-f420baf5-DRZaRdU6.cjs → gamification-dropdown-f420baf5-B_Wg31Ts.cjs} +1 -1
  23. package/stencil/{gamification-dropdown-f420baf5-BY4EAO2_.js → gamification-dropdown-f420baf5-Cfso0IFB.js} +1 -1
  24. package/stencil/{gamification-dropdown-f420baf5-ibb2yWZV.js → gamification-dropdown-f420baf5-KsqW4eyb.js} +1 -1
  25. package/stencil/{gamification-dropdown-D2BaPNGd.js → gamification-dropdown-pk-ETHMK.js} +2 -2
  26. package/stencil/gamification-dropdown_4-0EivGjnB.cjs +192 -0
  27. package/stencil/{gamification-dropdown_4-DGTfuGf-.js → gamification-dropdown_4-BVsmzrUj.js} +68 -68
  28. package/stencil/{gamification-dropdown_4-CMJumGd7.js → gamification-dropdown_4-vIru8TjM.js} +58 -58
  29. package/stencil/{index-71b1bdfa-NHn_SpPh.js → index-71b1bdfa-CbM2-7VW.js} +9 -4
  30. package/stencil/index-71b1bdfa-Ch3br4lq.cjs +1 -0
  31. package/stencil/{index-71b1bdfa-DkDMN81l.js → index-71b1bdfa-lfA4DdUV.js} +117 -112
  32. package/stencil/{locale-DbysznUQ.js → locale-DMO1446C.js} +119 -28
  33. package/stencil/{locale-BrU0BSZM.js → locale-QHF8xQnE.js} +119 -28
  34. package/stencil/locale-cLmrLRh5.cjs +1 -0
  35. package/stencil/{player-elevate-card-DUkNd67W.js → player-elevate-card-BZFD7wEU.js} +3 -3
  36. package/stencil/{player-elevate-card-pjnnyHvG.js → player-elevate-card-Bb7IgTvA.js} +3 -3
  37. package/stencil/{player-elevate-card-BFjROJe3.cjs → player-elevate-card-CfZIvLdQ.cjs} +1 -1
  38. package/stencil/{player-elevate-card-items-9579265d-IXvzDAUB.js → player-elevate-card-items-978bd6b1-CctMkHtk.js} +2 -2
  39. package/stencil/{player-elevate-card-items-9579265d-B5FcBuHS.cjs → player-elevate-card-items-978bd6b1-Cs3BXiAz.cjs} +1 -1
  40. package/stencil/{player-elevate-card-items-9579265d-BZyCHkak.js → player-elevate-card-items-978bd6b1-D5Rn-OAz.js} +2 -2
  41. package/stencil/player-elevate-optcard-CZnVFydH.js +58 -0
  42. package/stencil/player-elevate-optcard-Cw5myRMN.js +76 -0
  43. package/stencil/player-elevate-optcard-fgg1ljrS.cjs +1 -0
  44. package/stencil/{player-elevate-pointcard-DSS_dapU.js → player-elevate-pointcard-BZvvZDip.js} +5 -5
  45. package/stencil/{player-elevate-pointcard-ChSegmzB.js → player-elevate-pointcard-CW9fnsfp.js} +5 -5
  46. package/stencil/{player-elevate-pointcard-CBvKl_u6.cjs → player-elevate-pointcard-omwhSM4C.cjs} +1 -1
  47. package/stencil/{player-rakeback-card-c8BtiMtu.js → player-rakeback-card-C9EDzJyc.js} +2 -2
  48. package/stencil/{player-rakeback-card-By1JA-NO.cjs → player-rakeback-card-CbMzbdJC.cjs} +1 -1
  49. package/stencil/{player-rakeback-card-BJ4relDO.js → player-rakeback-card-DLOWBKDm.js} +2 -2
  50. package/stencil/gamification-dropdown_4-Dy43G6mS.cjs +0 -192
  51. package/stencil/index-71b1bdfa-DTWuKCIh.cjs +0 -1
  52. package/stencil/locale-Bby4w57M.cjs +0 -1
@@ -1,18 +1,18 @@
1
- import { s as w, a as x, b } from "./gamification-dropdown-f420baf5-ibb2yWZV.js";
2
- import { G as ye } from "./gamification-dropdown-f420baf5-ibb2yWZV.js";
3
- import { r as m, h as i, g as T, c as N, a as I, F as U } from "./index-71b1bdfa-NHn_SpPh.js";
4
- import { a as A, T as W } from "./locale-BrU0BSZM.js";
5
- import { P as z, a as S, b as q, L as F, r as p, t as h, g as P } from "./player-elevate-card-items-9579265d-IXvzDAUB.js";
1
+ import { s as I, a as b, b as m } from "./gamification-dropdown-f420baf5-KsqW4eyb.js";
2
+ import { G as ye } from "./gamification-dropdown-f420baf5-KsqW4eyb.js";
3
+ import { r as L, h as r, g as A, c as N, a as S, F as U } from "./index-71b1bdfa-CbM2-7VW.js";
4
+ import { a as _, T as W } from "./locale-DMO1446C.js";
5
+ import { P as z, a as P, b as q, L as F, r as p, t as h, g as C } from "./player-elevate-card-items-978bd6b1-CctMkHtk.js";
6
6
  const j = (e, t) => new Promise((a) => {
7
7
  fetch(e).then((n) => n.json()).then((n) => {
8
- Object.keys(n).forEach((r) => {
9
- t[r] = t[r] || {}, Object.keys(n[r]).forEach((l) => {
8
+ Object.keys(n).forEach((i) => {
9
+ t[i] = t[i] || {}, Object.keys(n[i]).forEach((l) => {
10
10
  if (!t.en[l])
11
11
  return;
12
12
  const s = t.en[l];
13
- typeof n[r][l] == "object" ? (t[r][l] = t[r][l] || Object.assign({}, s), Object.keys(n[r][l]).forEach((o) => {
14
- t[r][l][o] = n[r][l][o];
15
- })) : t[r][l] = n[r][l] || Object.assign({}, s);
13
+ typeof n[i][l] == "object" ? (t[i][l] = t[i][l] || Object.assign({}, s), Object.keys(n[i][l]).forEach((o) => {
14
+ t[i][l][o] = n[i][l][o];
15
+ })) : t[i][l] = n[i][l] || Object.assign({}, s);
16
16
  });
17
17
  }), a(!0);
18
18
  }).catch((n) => {
@@ -20,25 +20,25 @@ const j = (e, t) => new Promise((a) => {
20
20
  });
21
21
  }), G = ":host{display:block}", H = G, X = class {
22
22
  constructor(e) {
23
- m(this, e), this.stylingAppends = !1, this.clientStyling = "", this.clientStylingUrl = "", this.mbSource = void 0, this.translationUrl = "", this.targetTranslations = void 0;
23
+ L(this, e), this.stylingAppends = !1, this.clientStyling = "", this.clientStylingUrl = "", this.mbSource = void 0, this.translationUrl = "", this.targetTranslations = void 0;
24
24
  }
25
25
  componentDidLoad() {
26
- this.el && (this.mbSource && w(this.el, `${this.mbSource}.Style`, this.stylingSubscription), this.clientStyling && x(this.el, this.clientStyling), this.clientStylingUrl && b(this.el, this.clientStylingUrl), this.stylingAppends = !0);
26
+ this.el && (this.mbSource && I(this.el, `${this.mbSource}.Style`, this.stylingSubscription), this.clientStyling && b(this.el, this.clientStyling), this.clientStylingUrl && m(this.el, this.clientStylingUrl), this.stylingAppends = !0);
27
27
  }
28
28
  disconnectedCallback() {
29
29
  this.stylingSubscription && this.stylingSubscription.unsubscribe();
30
30
  }
31
31
  handleMbSourceChange(e, t) {
32
- e != t && w(this.el, `${this.mbSource}.Style`, this.stylingSubscription);
32
+ e != t && I(this.el, `${this.mbSource}.Style`, this.stylingSubscription);
33
33
  }
34
34
  handleClientStylingChange(e, t) {
35
- e != t && x(this.el, this.clientStyling);
35
+ e != t && b(this.el, this.clientStyling);
36
36
  }
37
37
  handleClientStylingUrlChange(e, t) {
38
- e != t && this.clientStylingUrl && b(this.el, this.clientStylingUrl);
38
+ e != t && this.clientStylingUrl && m(this.el, this.clientStylingUrl);
39
39
  }
40
40
  componentDidRender() {
41
- this.stylingAppends || (this.clientStyling && x(this.el, this.clientStyling), this.clientStylingUrl && b(this.el, this.clientStylingUrl), this.stylingAppends = !0);
41
+ this.stylingAppends || (this.clientStyling && b(this.el, this.clientStyling), this.clientStylingUrl && m(this.el, this.clientStylingUrl), this.stylingAppends = !0);
42
42
  }
43
43
  async componentWillLoad() {
44
44
  const e = [];
@@ -49,10 +49,10 @@ const j = (e, t) => new Promise((a) => {
49
49
  return await Promise.all(e);
50
50
  }
51
51
  render() {
52
- return i("div", { key: "e660ceb69f5e848c788c3924fc814c0fa7a777a2", class: "StyleShell" }, i("slot", { key: "35014b6c0c32532af11e6a629ba9b13942504d21", name: "mainContent" }));
52
+ return r("div", { key: "e660ceb69f5e848c788c3924fc814c0fa7a777a2", class: "StyleShell" }, r("slot", { key: "35014b6c0c32532af11e6a629ba9b13942504d21", name: "mainContent" }));
53
53
  }
54
54
  get el() {
55
- return T(this);
55
+ return A(this);
56
56
  }
57
57
  static get watchers() {
58
58
  return {
@@ -63,7 +63,7 @@ const j = (e, t) => new Promise((a) => {
63
63
  }
64
64
  };
65
65
  X.style = H;
66
- function C(e) {
66
+ function k(e) {
67
67
  p(1, arguments);
68
68
  var t = h(e);
69
69
  return t.setHours(0, 0, 0, 0), t;
@@ -71,14 +71,14 @@ function C(e) {
71
71
  var Y = 864e5;
72
72
  function J(e, t) {
73
73
  p(2, arguments);
74
- var a = C(e), n = C(t), r = a.getTime() - P(a), l = n.getTime() - P(n);
75
- return Math.round((r - l) / Y);
74
+ var a = k(e), n = k(t), i = a.getTime() - C(a), l = n.getTime() - C(n);
75
+ return Math.round((i - l) / Y);
76
76
  }
77
77
  var K = 6e4, Q = 36e5;
78
78
  function D(e, t) {
79
79
  return p(2, arguments), h(e).getTime() - h(t).getTime();
80
80
  }
81
- var k = {
81
+ var T = {
82
82
  ceil: Math.ceil,
83
83
  round: Math.round,
84
84
  floor: Math.floor,
@@ -87,18 +87,18 @@ var k = {
87
87
  }
88
88
  // Math.trunc is not supported by IE
89
89
  }, V = "trunc";
90
- function _(e) {
91
- return e ? k[e] : k[V];
90
+ function B(e) {
91
+ return e ? T[e] : T[V];
92
92
  }
93
93
  function Z(e, t, a) {
94
94
  p(2, arguments);
95
95
  var n = D(e, t) / Q;
96
- return _(a?.roundingMethod)(n);
96
+ return B(a?.roundingMethod)(n);
97
97
  }
98
98
  function ee(e, t, a) {
99
99
  p(2, arguments);
100
100
  var n = D(e, t) / K;
101
- return _(a?.roundingMethod)(n);
101
+ return B(a?.roundingMethod)(n);
102
102
  }
103
103
  function te(e, t) {
104
104
  p(2, arguments);
@@ -106,10 +106,10 @@ function te(e, t) {
106
106
  return a.getTime() < n.getTime();
107
107
  }
108
108
  function ne(e, t) {
109
- const a = e.querySelector("#total_level"), n = 17, r = 6.5, l = a.getBBox().width, s = t > 1 ? 1 : t, o = s * l - n < 0 ? 0 : s * l - n, c = e.querySelector("#current_level"), v = e.querySelector("#filter_current_level"), g = e.querySelector("#circle_current_level");
110
- a.setAttribute("viewbox", `0 0 ${o} 28`), c.setAttribute("width", `${o}`), g.setAttribute("cx", `${o < r ? r : o}`), v.setAttribute("x", `${o - 8}`);
111
- const y = e.querySelector("#lock"), u = e.querySelector("#filter_heart_ball"), f = e.querySelector("#filter_ball"), B = e.querySelector("#filter_heart"), $ = e.querySelector("#filter_lock"), L = e.querySelector("#paint0_linear_ball"), E = e.querySelector("#paint1_linear_lock"), M = e.querySelector("#lock_box"), O = e.querySelector("#heart_box"), R = 10, d = l - R;
112
- y.setAttribute("cx", `${d}`), E.setAttribute("x1", `${d}`), E.setAttribute("x2", `${d}`), L.setAttribute("x1", `${d - 6}`), L.setAttribute("x2", `${d - 6 + 11.2}`), $.setAttribute("x", `${d - 6}`), B.setAttribute("x", `${d - 6 - 2}`), f.setAttribute("x", `${d - 6 - 2 - 2}`), u.setAttribute("x", `${d - 6 - 2 - 2 - 4}`), M.setAttribute("x", `${d - 6}`), O.setAttribute("x", `${d - 6}`), a.parentElement.style.opacity = "1";
109
+ const a = e.querySelector("#total_level"), n = 17, i = 6.5, l = a.getBBox().width, s = t > 1 ? 1 : t, o = s * l - n < 0 ? 0 : s * l - n, c = e.querySelector("#current_level"), v = e.querySelector("#filter_current_level"), g = e.querySelector("#circle_current_level");
110
+ a.setAttribute("viewbox", `0 0 ${o} 28`), c.setAttribute("width", `${o}`), g.setAttribute("cx", `${o < i ? i : o}`), v.setAttribute("x", `${o - 8}`);
111
+ const y = e.querySelector("#lock"), u = e.querySelector("#filter_heart_ball"), f = e.querySelector("#filter_ball"), x = e.querySelector("#filter_heart"), $ = e.querySelector("#filter_lock"), E = e.querySelector("#paint0_linear_ball"), w = e.querySelector("#paint1_linear_lock"), M = e.querySelector("#lock_box"), O = e.querySelector("#heart_box"), R = 10, d = l - R;
112
+ y.setAttribute("cx", `${d}`), w.setAttribute("x1", `${d}`), w.setAttribute("x2", `${d}`), E.setAttribute("x1", `${d - 6}`), E.setAttribute("x2", `${d - 6 + 11.2}`), $.setAttribute("x", `${d - 6}`), x.setAttribute("x", `${d - 6 - 2}`), f.setAttribute("x", `${d - 6 - 2 - 2}`), u.setAttribute("x", `${d - 6 - 2 - 2 - 4}`), M.setAttribute("x", `${d - 6}`), O.setAttribute("x", `${d - 6}`), a.parentElement.style.opacity = "1";
113
113
  }
114
114
  const ae = `:host {
115
115
  display: block;
@@ -302,9 +302,9 @@ const ae = `:host {
302
302
  text-align: right;
303
303
  font-weight: bold;
304
304
  color: var(--emw--color-red, #9e595f);
305
- }`, le = ae, re = class {
305
+ }`, le = ae, ie = class {
306
306
  constructor(e) {
307
- m(this, e), this.playerElevateLeveLoaded = N(this, "playerElevateLeveLoaded"), this.params = void 0, this.playerElevateLevel = void 0, this.pointExpireString = void 0;
307
+ L(this, e), this.playerElevateLeveLoaded = N(this, "playerElevateLeveLoaded"), this.params = void 0, this.playerElevateLevel = void 0, this.pointExpireString = void 0;
308
308
  }
309
309
  handleWindowResizs() {
310
310
  this.initLevelProgressbar();
@@ -333,11 +333,11 @@ const ae = `:host {
333
333
  if (!e || !e.aboutToExpire || e.aboutToExpire.length == 0 || e.aboutToExpire[0].points <= 0)
334
334
  return a;
335
335
  e.aboutToExpire.sort((c, v) => te(new Date(c.expireTime), new Date(v.expireTime)) ? -1 : 1);
336
- const n = e.aboutToExpire[0], r = J(new Date(n.expireTime), /* @__PURE__ */ new Date());
337
- let l = 0, s = 0, o = r === 0 ? `${t}Day` : t;
338
- return r <= 0 && (l = Z(new Date(n.expireTime), /* @__PURE__ */ new Date(), { roundingMethod: "floor" }), o = l > 1 ? `${t}Hours` : `${t}Hour`, l <= 0 && (s = ee(new Date(n.expireTime), /* @__PURE__ */ new Date(), { roundingMethod: "floor" }), o = s > 1 ? `${t}Minutes` : `${t}Minute`)), a = A(o, {
336
+ const n = e.aboutToExpire[0], i = J(new Date(n.expireTime), /* @__PURE__ */ new Date());
337
+ let l = 0, s = 0, o = i === 0 ? `${t}Day` : t;
338
+ return i <= 0 && (l = Z(new Date(n.expireTime), /* @__PURE__ */ new Date(), { roundingMethod: "floor" }), o = l > 1 ? `${t}Hours` : `${t}Hour`, l <= 0 && (s = ee(new Date(n.expireTime), /* @__PURE__ */ new Date(), { roundingMethod: "floor" }), o = s > 1 ? `${t}Minutes` : `${t}Minute`)), a = _(o, {
339
339
  expirationPoints: n.points,
340
- expireDay: Math.max(r, l, s),
340
+ expireDay: Math.max(i, l, s),
341
341
  lang: this.params.language
342
342
  }), a;
343
343
  }
@@ -350,23 +350,23 @@ const ae = `:host {
350
350
  "Content-Type": "application/json"
351
351
  }
352
352
  }).then((n) => n.json()).then((n) => {
353
- var r, l, s, o, c;
353
+ var i, l, s, o, c, v;
354
354
  if (!n.success) {
355
355
  console.error("Exception when fetch user elevateinfo, ", n.errorCode, n.errorMessage), a(!0);
356
356
  return;
357
357
  }
358
- window.postMessage({ type: "UpdateGamificationXp", points: (l = (r = n.data) === null || r === void 0 ? void 0 : r.level) === null || l === void 0 ? void 0 : l.loyaltyPoints }, window.location.href);
359
- let v = n.data;
360
- this.playerElevateLevel = v.level, this.playerElevateLevel.name = this.playerElevateLevel.presentation.displayName || this.playerElevateLevel.name, this.playerElevateLevel.spendablePoints = ((s = v.spendableWallet) === null || s === void 0 ? void 0 : s.total.points) || 0, this.playerElevateLeveLoaded.emit({ elevateLevel: this.playerElevateLevel });
361
- const g = (o = n.data.spendableWallet) === null || o === void 0 ? void 0 : o.total, y = (c = n.data.loyaltyWallet) === null || c === void 0 ? void 0 : c.total;
358
+ window.postMessage({ type: "UpdateGamificationXp", points: (l = (i = n.data) === null || i === void 0 ? void 0 : i.level) === null || l === void 0 ? void 0 : l.loyaltyPoints }, window.location.href);
359
+ let g = n.data;
360
+ this.playerElevateLevel = g.level, this.playerElevateLevel.name = this.playerElevateLevel.presentation.displayName || this.playerElevateLevel.name, this.playerElevateLevel.spendablePoints = ((s = g.spendableWallet) === null || s === void 0 ? void 0 : s.total.points) || 0, this.playerElevateLeveLoaded.emit({ elevateLevel: this.playerElevateLevel, optIn: (o = n.data) === null || o === void 0 ? void 0 : o.optIn });
361
+ const y = (c = n.data.spendableWallet) === null || c === void 0 ? void 0 : c.total, u = (v = n.data.loyaltyWallet) === null || v === void 0 ? void 0 : v.total;
362
362
  this.playerElevateLeveLoaded.emit({
363
- elevateLevelWalletTotal: g,
364
- loyaltyWalletTotal: y
363
+ elevateLevelWalletTotal: y,
364
+ loyaltyWalletTotal: u
365
365
  });
366
- let u = this.calcuatePointsToBeExpired(g, "coinsToBeExpired"), f = this.calcuatePointsToBeExpired(y, "pointsToBeExpired");
367
- (u || f) && this.playerElevateLeveLoaded.emit({
368
- pointExpireString: u,
369
- xpExpireString: f
366
+ let f = this.calcuatePointsToBeExpired(y, "coinsToBeExpired"), x = this.calcuatePointsToBeExpired(u, "pointsToBeExpired");
367
+ (f || x) && this.playerElevateLeveLoaded.emit({
368
+ pointExpireString: f,
369
+ xpExpireString: x
370
370
  }), t(this.playerElevateLevel);
371
371
  }).catch((n) => {
372
372
  console.log("error ", n), a(!0);
@@ -390,11 +390,11 @@ const ae = `:host {
390
390
  e.push(this.loadPlayerLevelInfo()), this.params.calculateLevelFlag && e.push(this.loadLevels()), Promise.all(e).then((t) => {
391
391
  if (console.log("elevate-init", t), this.initLevelProgressbar(), !this.levels)
392
392
  return;
393
- this.levels.sort((r, l) => r.firstEntryPoints > l.firstEntryPoints ? 1 : -1);
393
+ this.levels.sort((i, l) => i.firstEntryPoints > l.firstEntryPoints ? 1 : -1);
394
394
  const a = this.playerElevateLevel.loyaltyPoints;
395
395
  let n = 0;
396
- this.levels.forEach((r, l) => {
397
- a > r.firstEntryPoints && (n = l);
396
+ this.levels.forEach((i, l) => {
397
+ a > i.firstEntryPoints && (n = l);
398
398
  }), this.playerElevateLeveLoaded.emit({
399
399
  calculatedLevelFlag: n
400
400
  });
@@ -404,7 +404,7 @@ const ae = `:host {
404
404
  this.loadElevateInfo();
405
405
  }
406
406
  get elevateCardRef() {
407
- return T(this);
407
+ return A(this);
408
408
  }
409
409
  static get watchers() {
410
410
  return {
@@ -412,10 +412,10 @@ const ae = `:host {
412
412
  };
413
413
  }
414
414
  };
415
- re.style = le;
416
- const ie = ":host{display:block}@media screen and (min-width: 501px){.LoyaltyCard .Inner .LevelInfo .ElevateLevel{flex-wrap:nowrap}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate{padding-top:6px;margin-left:0px}}@media screen and (max-width: 500px){.LoyaltyCard .Inner .LevelInfo .ElevateLevel{flex-wrap:wrap}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate{padding-top:0px;margin-left:0px}}.LoyaltyCard .Inner .LevelProgress{margin-left:0px}.LoyaltyCard .Inner .Row .PointsInfo.ExpirationPoints{text-align:left;color:var(--emw--color-red-50, red)}.LoyaltyCard .Inner .PlayerAvatar .Avatar{display:none}.LoyaltyCard .Inner .PlayerAvatar .Badge{border-radius:50%;background-size:contain;width:100%;height:100%}.LoyaltyCard .Inner .LevelInfo .ElevateLevel{display:flex;flex:1;align-items:center}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate{position:relative;padding-left:0px}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate .ExpireTime{margin-left:5px}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .LevelName{padding-left:0;font-size:var(--emw--elevate-fontsize-2xlarge, 21px);position:relative;width:auto;color:var(--emw--elevate-color-levelname, #FFBD2B);font-weight:bold}.LoyaltyCard .PointsRange{display:flex;justify-content:space-between}.LoyaltyCard .PointsRange .PointsInfo{width:auto}.LoyaltyCard .NextLevelTip{text-align:right;font-size:11px;color:var(--emw--color-black, #000);opacity:0.8;font-weight:bold}", oe = ie, se = class {
415
+ ie.style = le;
416
+ const re = ":host{display:block}@media screen and (min-width: 501px){.LoyaltyCard .Inner .LevelInfo .ElevateLevel{flex-wrap:nowrap}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate{padding-top:6px;margin-left:0px}}@media screen and (max-width: 500px){.LoyaltyCard .Inner .LevelInfo .ElevateLevel{flex-wrap:wrap}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate{padding-top:0px;margin-left:0px}}.LoyaltyCard .Inner .LevelProgress{margin-left:0px}.LoyaltyCard .Inner .Row .PointsInfo.ExpirationPoints{text-align:left;color:var(--emw--color-red-50, red)}.LoyaltyCard .Inner .PlayerAvatar .Avatar{display:none}.LoyaltyCard .Inner .PlayerAvatar .Badge{border-radius:50%;background-size:contain;width:100%;height:100%}.LoyaltyCard .Inner .LevelInfo .ElevateLevel{display:flex;flex:1;align-items:center}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate{position:relative;padding-left:0px}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate .ExpireTime{margin-left:5px}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .LevelName{padding-left:0;font-size:var(--emw--elevate-fontsize-2xlarge, 21px);position:relative;width:auto;color:var(--emw--elevate-color-levelname, #FFBD2B);font-weight:bold}.LoyaltyCard .PointsRange{display:flex;justify-content:space-between}.LoyaltyCard .PointsRange .PointsInfo{width:auto}.LoyaltyCard .NextLevelTip{text-align:right;font-size:11px;color:var(--emw--color-black, #000);opacity:0.8;font-weight:bold}", oe = re, se = class {
417
417
  constructor(e) {
418
- m(this, e), this.endpoint = void 0, this.theme = "Dark", this.session = void 0, this.playerAvatarUrl = void 0, this.language = "en", this.playerName = void 0, this.dateFormat = "yyyy-MM-dd", this.mbSource = void 0, this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.pointExpireString = void 0, this.playerElevateLevel = void 0, this.elevateWalletTotal = void 0;
418
+ L(this, e), this.endpoint = void 0, this.theme = "Dark", this.session = void 0, this.playerAvatarUrl = void 0, this.language = "en", this.playerName = void 0, this.dateFormat = "yyyy-MM-dd", this.mbSource = void 0, this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.pointExpireString = void 0, this.playerElevateLevel = void 0, this.elevateWalletTotal = void 0;
419
419
  }
420
420
  onSessionOrEndpointChange() {
421
421
  this.paramProxy = Object.assign(Object.assign({}, this.paramProxy), { session: this.session, endpoint: this.endpoint, language: this.language });
@@ -442,7 +442,7 @@ const ie = ":host{display:block}@media screen and (min-width: 501px){.LoyaltyCar
442
442
  let t = (e = this.playerElevateLevel) === null || e === void 0 ? void 0 : e.nextLevel;
443
443
  if (this.playerElevateLevel && t) {
444
444
  const a = (t.entryPoints - this.playerElevateLevel.loyaltyPoints).toFixed(2);
445
- return A("tipsForNextLevel", {
445
+ return _("tipsForNextLevel", {
446
446
  pointsToReach: a,
447
447
  levelName: t.name,
448
448
  lang: this.language
@@ -451,8 +451,8 @@ const ie = ":host{display:block}@media screen and (min-width: 501px){.LoyaltyCar
451
451
  return "";
452
452
  }
453
453
  render() {
454
- const e = I("../static/card-ground.svg"), t = I("../static/card-ground-over.svg");
455
- return i("div", { key: "9f673b8dccc848d11f0836c15f1f5da5e242e3b3", class: `ElevateCardWrapper ${this.theme}` }, i("div", { key: "419c71a612c3cdfebaece1e90345c6324c68348e", class: "LoyaltyCard Outer", style: { backgroundImage: `url(${e}` } }, i("general-styling-wrapper", { key: "04c1098bf16e683f30d211dfb9ebc0b319076258", clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, targetTranslations: W, translationUrl: this.translationUrl, mbSource: this.mbSource }), i("player-elevate-card-data", { key: "a9c57ef6c5c3381c7e9bf2f041a190f3de3a0423", params: this.paramProxy }), i("div", { key: "402ceddce75abb2ee6b59db730418efc006e5c60", class: "OuterCover Inner", style: { backgroundImage: `url(${t}` } }, i("div", { key: "844cba8ae40b9dd55129f7b0d52a208ea72e72cf", class: "Content Row" }, this.playerElevateLevel && i(U, { key: "d365971e66cbdc81d4b1758c045a76ad50a68729" }, i("div", { key: "2e017a95d80098565d17807c6f8dae51a6b89090", class: "PlayerImg" }, i(z, { key: "5aaf4b8e2b8ea67fa0fed1a07dde9caf2551a3bd", onlyBadge: !0, loyaltyIconUrl: this.playerElevateLevel.presentation.asset })), i("div", { key: "6e332314f4c4a233dd353130266a4d0368b0de45", class: `LevelInfo ${this.playerElevateLevel.name}` }, i("div", { key: "06311b5920ac4126536760049bf3664d92cc247f", class: "CardCell ElevateLevel" }, i("span", { key: "4538afdef55cd520e2d213e6a97d209234deabe5", class: "LevelName", title: this.playerElevateLevel.name }, this.playerElevateLevel.name)), i("div", { key: "cb2764c587a2fe1719b2ff6e045866ee032d5a66", class: "PointsRange" }, i(S, { key: "c794dc4acd33555811187df5b2748b012af77cbf", loyaltyPoints: this.playerElevateLevel.loyaltyPoints <= 0 ? 0 : this.playerElevateLevel.loyaltyPoints, language: this.language }), i(S, { key: "b88eb09ad61ea38214df4877976c6481626ae005", loyaltyPoints: this.getNextLevelPoints(), language: this.language })), i(q, { key: "91fba9132a54ea109bd17a9844390947cf65b902" }), i("div", { key: "950323f3966e6db2c41e06fe6d7be123d09cc496", class: "NextLevelTip" }, this.getNextLevelTips()), this.pointExpireString && i("div", { key: "2ee3c2b317274fdef1cf1a9b2905d023b7485c22", class: "PointsInfo ExpirationPoints" }, this.pointExpireString, " "), this.playerElevateLevel.expireTime && i(F, { key: "db5824c90848a51566ff2a158ff6dc6a292009b2", expireTime: this.playerElevateLevel.expireTime, dateFormat: this.dateFormat, language: this.language })))))));
454
+ const e = S("../static/card-ground.svg"), t = S("../static/card-ground-over.svg");
455
+ return r("div", { key: "9f673b8dccc848d11f0836c15f1f5da5e242e3b3", class: `ElevateCardWrapper ${this.theme}` }, r("div", { key: "419c71a612c3cdfebaece1e90345c6324c68348e", class: "LoyaltyCard Outer", style: { backgroundImage: `url(${e}` } }, r("general-styling-wrapper", { key: "04c1098bf16e683f30d211dfb9ebc0b319076258", clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, targetTranslations: W, translationUrl: this.translationUrl, mbSource: this.mbSource }), r("player-elevate-card-data", { key: "a9c57ef6c5c3381c7e9bf2f041a190f3de3a0423", params: this.paramProxy }), r("div", { key: "402ceddce75abb2ee6b59db730418efc006e5c60", class: "OuterCover Inner", style: { backgroundImage: `url(${t}` } }, r("div", { key: "844cba8ae40b9dd55129f7b0d52a208ea72e72cf", class: "Content Row" }, this.playerElevateLevel && r(U, { key: "d365971e66cbdc81d4b1758c045a76ad50a68729" }, r("div", { key: "2e017a95d80098565d17807c6f8dae51a6b89090", class: "PlayerImg" }, r(z, { key: "5aaf4b8e2b8ea67fa0fed1a07dde9caf2551a3bd", onlyBadge: !0, loyaltyIconUrl: this.playerElevateLevel.presentation.asset })), r("div", { key: "6e332314f4c4a233dd353130266a4d0368b0de45", class: `LevelInfo ${this.playerElevateLevel.name}` }, r("div", { key: "06311b5920ac4126536760049bf3664d92cc247f", class: "CardCell ElevateLevel" }, r("span", { key: "4538afdef55cd520e2d213e6a97d209234deabe5", class: "LevelName", title: this.playerElevateLevel.name }, this.playerElevateLevel.name)), r("div", { key: "cb2764c587a2fe1719b2ff6e045866ee032d5a66", class: "PointsRange" }, r(P, { key: "c794dc4acd33555811187df5b2748b012af77cbf", loyaltyPoints: this.playerElevateLevel.loyaltyPoints <= 0 ? 0 : this.playerElevateLevel.loyaltyPoints, language: this.language }), r(P, { key: "b88eb09ad61ea38214df4877976c6481626ae005", loyaltyPoints: this.getNextLevelPoints(), language: this.language })), r(q, { key: "91fba9132a54ea109bd17a9844390947cf65b902" }), r("div", { key: "950323f3966e6db2c41e06fe6d7be123d09cc496", class: "NextLevelTip" }, this.getNextLevelTips()), this.pointExpireString && r("div", { key: "2ee3c2b317274fdef1cf1a9b2905d023b7485c22", class: "PointsInfo ExpirationPoints" }, this.pointExpireString, " "), this.playerElevateLevel.expireTime && r(F, { key: "db5824c90848a51566ff2a158ff6dc6a292009b2", expireTime: this.playerElevateLevel.expireTime, dateFormat: this.dateFormat, language: this.language })))))));
456
456
  }
457
457
  static get watchers() {
458
458
  return {
@@ -466,6 +466,6 @@ se.style = oe;
466
466
  export {
467
467
  ye as gamification_dropdown,
468
468
  X as general_styling_wrapper,
469
- re as player_elevate_card_data,
469
+ ie as player_elevate_card_data,
470
470
  se as player_elevate_loyaltycard
471
471
  };
@@ -26,22 +26,27 @@ var Oe = Object.defineProperty, je = (e, t) => {
26
26
  case "gamification-dropdown_4":
27
27
  return import(
28
28
  /* webpackMode: "lazy" */
29
- "./gamification-dropdown_4-CMJumGd7.js"
29
+ "./gamification-dropdown_4-vIru8TjM.js"
30
30
  ).then(a, b);
31
31
  case "player-elevate-card":
32
32
  return import(
33
33
  /* webpackMode: "lazy" */
34
- "./player-elevate-card-pjnnyHvG.js"
34
+ "./player-elevate-card-BZFD7wEU.js"
35
+ ).then(a, b);
36
+ case "player-elevate-optcard":
37
+ return import(
38
+ /* webpackMode: "lazy" */
39
+ "./player-elevate-optcard-CZnVFydH.js"
35
40
  ).then(a, b);
36
41
  case "player-elevate-pointcard":
37
42
  return import(
38
43
  /* webpackMode: "lazy" */
39
- "./player-elevate-pointcard-ChSegmzB.js"
44
+ "./player-elevate-pointcard-CW9fnsfp.js"
40
45
  ).then(a, b);
41
46
  case "player-rakeback-card":
42
47
  return import(
43
48
  /* webpackMode: "lazy" */
44
- "./player-rakeback-card-BJ4relDO.js"
49
+ "./player-rakeback-card-DLOWBKDm.js"
45
50
  ).then(a, b);
46
51
  }
47
52
  }
@@ -0,0 +1 @@
1
+ "use strict";var Ue=Object.defineProperty;var ee=Object.getOwnPropertySymbols;var Ce=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable;var te=(e,t,s)=>t in e?Ue(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,se=(e,t)=>{for(var s in t||(t={}))Ce.call(t,s)&&te(e,s,t[s]);if(ee)for(var s of ee(t))qe.call(t,s)&&te(e,s,t[s]);return e};var R=(e,t,s)=>new Promise((r,n)=>{var l=i=>{try{o(s.next(i))}catch(c){n(c)}},a=i=>{try{o(s.throw(i))}catch(c){n(c)}},o=i=>i.done?r(i.value):Promise.resolve(i.value).then(l,a);o((s=s.apply(e,t)).next())});const He="gamification-dropdown",G={experimentalSlotFixes:!1,hydratedSelectorName:"hydrated",slotRelocation:!0};var ze=Object.defineProperty,Be=(e,t)=>{for(var s in t)ze(e,s,{get:t[s],enumerable:!0})},X=new WeakMap,w=e=>X.get(e),Fe=(e,t)=>X.set(t.$lazyInstance$=e,t),De=(e,t)=>{const s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onReadyPromise$=new Promise(r=>s.$onReadyResolve$=r),e["s-p"]=[],e["s-rc"]=[],X.set(e,s)},re=(e,t)=>t in e,b=(e,t)=>(0,console.error)(e,t),B=new Map,Me=(e,t,s)=>{const r=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const l=B.get(n);if(l)return l[r];{const a=o=>(B.set(n,o),o[r]);switch(n){case"gamification-dropdown_4":return Promise.resolve().then(()=>require("./gamification-dropdown_4-0EivGjnB.cjs")).then(a,b);case"player-elevate-card":return Promise.resolve().then(()=>require("./player-elevate-card-CfZIvLdQ.cjs")).then(a,b);case"player-elevate-optcard":return Promise.resolve().then(()=>require("./player-elevate-optcard-fgg1ljrS.cjs")).then(a,b);case"player-elevate-pointcard":return Promise.resolve().then(()=>require("./player-elevate-pointcard-omwhSM4C.cjs")).then(a,b);case"player-rakeback-card":return Promise.resolve().then(()=>require("./player-rakeback-card-CbMzbdJC.cjs")).then(a,b)}}return import(`./${n}.entry.js`).then(a=>(B.set(n,a),a[r]),b)},I=new Map,We="{visibility:hidden}.hydrated{visibility:inherit}",ve="slot-fb{display:contents}slot-fb[hidden]{display:none}",_=typeof window!="undefined"?window:{},m=_.document||{head:{}},p={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,r)=>e.addEventListener(t,s,r),rel:(e,t,s,r)=>e.removeEventListener(t,s,r),ce:(e,t)=>new CustomEvent(e,t)},Ge=(()=>{let e=!1;try{m.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(t){}return e})(),he=e=>Promise.resolve(e),Xe=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),F=!1,ne=[],ge=[],Ye=(e,t)=>s=>{e.push(s),F||(F=!0,p.$flags$&4?Y(D):p.raf(D))},le=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){b(s)}e.length=0},D=()=>{le(ne),le(ge),(F=ne.length>0)&&p.raf(D)},Y=e=>he().then(e),Je=Ye(ge),Ke=e=>{const t=new URL(e,p.$resourcesUrl$);return t.origin!==_.location.origin?t.href:t.pathname},ae={},Qe="http://www.w3.org/2000/svg",Ze="http://www.w3.org/1999/xhtml",Ve=e=>e!=null,J=e=>(e=typeof e,e==="object"||e==="function");function pe(e){var t,s,r;return(r=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?r:void 0}var et={};Be(et,{err:()=>ye,map:()=>tt,ok:()=>M,unwrap:()=>st,unwrapErr:()=>rt});var M=e=>({isOk:!0,isErr:!1,value:e}),ye=e=>({isOk:!1,isErr:!0,value:e});function tt(e,t){if(e.isOk){const s=t(e.value);return s instanceof Promise?s.then(r=>M(r)):M(s)}if(e.isErr){const s=e.value;return ye(s)}throw"should never get here"}var st=e=>{if(e.isOk)return e.value;throw e.value},rt=e=>{if(e.isErr)return e.value;throw e.value},T=(e,t="")=>()=>{},nt=(e,t)=>()=>{},K=(e,t,...s)=>{let r=null,n=null,l=null,a=!1,o=!1;const i=[],c=d=>{for(let f=0;f<d.length;f++)r=d[f],Array.isArray(r)?c(r):r!=null&&typeof r!="boolean"&&((a=typeof e!="function"&&!J(r))&&(r=String(r)),a&&o?i[i.length-1].$text$+=r:i.push(a?U(null,r):r),o=a)};if(c(s),t){t.key&&(n=t.key),t.name&&(l=t.name);{const d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter(f=>d[f]).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,i,it);const $=U(e,null);return $.$attrs$=t,i.length>0&&($.$children$=i),$.$key$=n,$.$name$=l,$},U=(e,t)=>{const s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s.$name$=null,s},lt={},at=e=>e&&e.$tag$===lt,it={forEach:(e,t)=>e.map(ie).forEach(t),map:(e,t)=>e.map(ie).map(t).map(ot)},ie=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),ot=e=>{if(typeof e.vtag=="function"){const s=se({},e.vattrs);return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),K(e.vtag,s,...e.vchildren||[])}const t=U(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},$t=(e,t)=>e!=null&&!J(e)?t&4?e==="false"?!1:e===""||!!e:t&1?String(e):e:e,me=e=>w(e).$hostElement$,ct=(e,t,s)=>{const r=me(e);return{emit:n=>Se(r,t,{bubbles:!0,composed:!0,cancelable:!0,detail:n})}},Se=(e,t,s)=>{const r=p.ce(t,s);return e.dispatchEvent(r),r},oe=new WeakMap,ft=(e,t,s)=>{let r=I.get(e);Xe&&s?(r=r||new CSSStyleSheet,typeof r=="string"?r=t:r.replaceSync(t)):r=t,I.set(e,r)},dt=(e,t,s)=>{var r;const n=be(t),l=I.get(n);if(e=e.nodeType===11?e:m,l)if(typeof l=="string"){e=e.head||e;let a=oe.get(e),o;if(a||oe.set(e,a=new Set),!a.has(n)){{o=m.createElement("style"),o.innerHTML=l;const i=(r=p.$nonce$)!=null?r:pe(m);i!=null&&o.setAttribute("nonce",i),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=ve),a&&a.add(n)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n},ut=e=>{const t=e.$cmpMeta$,s=e.$hostElement$,r=t.$flags$,n=T("attachStyles",t.$tagName$),l=dt(s.shadowRoot?s.shadowRoot:s.getRootNode(),t);r&10&&(s["s-sc"]=l,s.classList.add(l+"-h")),n()},be=(e,t)=>"sc-"+e.$tagName$,$e=(e,t,s,r,n,l)=>{if(s!==r){let a=re(e,t),o=t.toLowerCase();if(t==="class"){const i=e.classList,c=ce(s),$=ce(r);i.remove(...c.filter(d=>d&&!$.includes(d))),i.add(...$.filter(d=>d&&!c.includes(d)))}else if(t==="style"){for(const i in s)(!r||r[i]==null)&&(i.includes("-")?e.style.removeProperty(i):e.style[i]="");for(const i in r)(!s||r[i]!==s[i])&&(i.includes("-")?e.style.setProperty(i,r[i]):e.style[i]=r[i])}else if(t!=="key")if(t==="ref")r&&r(e);else if(!a&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):re(_,o)?t=o.slice(2):t=o[2]+t.slice(3),s||r){const i=t.endsWith(ke);t=t.replace(ht,""),s&&p.rel(e,t,s,i),r&&p.ael(e,t,r,i)}}else{const i=J(r);if((a||i&&r!==null)&&!n)try{if(e.tagName.includes("-"))e[t]=r;else{const c=r==null?"":r;t==="list"?a=!1:(s==null||e[t]!=c)&&(e[t]=c)}}catch(c){}r==null||r===!1?(r!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!a||l&4||n)&&!i&&(r=r===!0?"":r,e.setAttribute(t,r))}}},vt=/\s/,ce=e=>e?e.split(vt):[],ke="Capture",ht=new RegExp(ke+"$"),Ee=(e,t,s)=>{const r=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||ae,l=t.$attrs$||ae;for(const a of fe(Object.keys(n)))a in l||$e(r,a,n[a],void 0,s,t.$flags$);for(const a of fe(Object.keys(l)))$e(r,a,n[a],l[a],s,t.$flags$)};function fe(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var x,W,z,C=!1,q=!1,Q=!1,S=!1,H=(e,t,s,r)=>{var n;const l=t.$children$[s];let a=0,o,i,c;if(C||(Q=!0,l.$tag$==="slot"&&(x&&r.classList.add(x+"-s"),l.$flags$|=l.$children$?2:1)),l.$text$!==null)o=l.$elm$=m.createTextNode(l.$text$);else if(l.$flags$&1)o=l.$elm$=m.createTextNode("");else{if(S||(S=l.$tag$==="svg"),o=l.$elm$=m.createElementNS(S?Qe:Ze,!C&&G.slotRelocation&&l.$flags$&2?"slot-fb":l.$tag$),S&&l.$tag$==="foreignObject"&&(S=!1),Ee(null,l,S),Ve(x)&&o["s-si"]!==x&&o.classList.add(o["s-si"]=x),l.$children$)for(a=0;a<l.$children$.length;++a)i=H(e,l,a,o),i&&o.appendChild(i);l.$tag$==="svg"?S=!1:o.tagName==="foreignObject"&&(S=!0)}return o["s-hn"]=z,l.$flags$&3&&(o["s-sr"]=!0,o["s-cr"]=W,o["s-sn"]=l.$name$||"",o["s-rf"]=(n=l.$attrs$)==null?void 0:n.ref,c=e&&e.$children$&&e.$children$[s],c&&c.$tag$===l.$tag$&&e.$elm$&&A(e.$elm$,!1)),o},A=(e,t)=>{p.$flags$|=1;const s=Array.from(e.childNodes);e["s-sr"]&&G.experimentalSlotFixes;for(let r=s.length-1;r>=0;r--){const n=s[r];n["s-hn"]!==z&&n["s-ol"]&&(L(we(n),n,Z(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,Q=!0),t&&A(n,t)}p.$flags$&=-2},Te=(e,t,s,r,n,l)=>{let a=e["s-cr"]&&e["s-cr"].parentNode||e,o;for(a.shadowRoot&&a.tagName===z&&(a=a.shadowRoot);n<=l;++n)r[n]&&(o=H(null,s,n,e),o&&(r[n].$elm$=o,L(a,o,Z(t))))},Le=(e,t,s)=>{for(let r=t;r<=s;++r){const n=e[r];if(n){const l=n.$elm$;_e(n),l&&(q=!0,l["s-ol"]?l["s-ol"].remove():A(l,!0),l.remove())}}},gt=(e,t,s,r,n=!1)=>{let l=0,a=0,o=0,i=0,c=t.length-1,$=t[0],d=t[c],f=r.length-1,u=r[0],h=r[f],g,y;for(;l<=c&&a<=f;)if($==null)$=t[++l];else if(d==null)d=t[--c];else if(u==null)u=r[++a];else if(h==null)h=r[--f];else if(N($,u,n))P($,u,n),$=t[++l],u=r[++a];else if(N(d,h,n))P(d,h,n),d=t[--c],h=r[--f];else if(N($,h,n))($.$tag$==="slot"||h.$tag$==="slot")&&A($.$elm$.parentNode,!1),P($,h,n),L(e,$.$elm$,d.$elm$.nextSibling),$=t[++l],h=r[--f];else if(N(d,u,n))($.$tag$==="slot"||h.$tag$==="slot")&&A(d.$elm$.parentNode,!1),P(d,u,n),L(e,d.$elm$,$.$elm$),d=t[--c],u=r[++a];else{for(o=-1,i=l;i<=c;++i)if(t[i]&&t[i].$key$!==null&&t[i].$key$===u.$key$){o=i;break}o>=0?(y=t[o],y.$tag$!==u.$tag$?g=H(t&&t[a],s,o,e):(P(y,u,n),t[o]=void 0,g=y.$elm$),u=r[++a]):(g=H(t&&t[a],s,a,e),u=r[++a]),g&&L(we($.$elm$),g,Z($.$elm$))}l>c?Te(e,r[f+1]==null?null:r[f+1].$elm$,s,r,a,f):a>f&&Le(t,l,c)},N=(e,t,s=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?e.$name$===t.$name$:s?!0:e.$key$===t.$key$:!1,Z=e=>e&&e["s-ol"]||e,we=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,P=(e,t,s=!1)=>{const r=t.$elm$=e.$elm$,n=e.$children$,l=t.$children$,a=t.$tag$,o=t.$text$;let i;o===null?(S=a==="svg"?!0:a==="foreignObject"?!1:S,a==="slot"&&!C||Ee(e,t,S),n!==null&&l!==null?gt(r,n,t,l,s):l!==null?(e.$text$!==null&&(r.textContent=""),Te(r,null,t,l,0,l.length-1)):n!==null&&Le(n,0,n.length-1),S&&a==="svg"&&(S=!1)):(i=r["s-cr"])?i.parentNode.textContent=o:e.$text$!==o&&(r.data=o)},xe=e=>{const t=e.childNodes;for(const s of t)if(s.nodeType===1){if(s["s-sr"]){const r=s["s-sn"];s.hidden=!1;for(const n of t)if(n!==s){if(n["s-hn"]!==s["s-hn"]||r!==""){if(n.nodeType===1&&(r===n.getAttribute("slot")||r===n["s-sn"])||n.nodeType===3&&r===n["s-sn"]){s.hidden=!0;break}}else if(n.nodeType===1||n.nodeType===3&&n.textContent.trim()!==""){s.hidden=!0;break}}}xe(s)}},E=[],Pe=e=>{let t,s,r;for(const n of e.childNodes){if(n["s-sr"]&&(t=n["s-cr"])&&t.parentNode){s=t.parentNode.childNodes;const l=n["s-sn"];for(r=s.length-1;r>=0;r--)if(t=s[r],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==n["s-hn"])if(de(t,l)){let a=E.find(o=>o.$nodeToRelocate$===t);q=!0,t["s-sn"]=t["s-sn"]||l,a?(a.$nodeToRelocate$["s-sh"]=n["s-hn"],a.$slotRefNode$=n):(t["s-sh"]=n["s-hn"],E.push({$slotRefNode$:n,$nodeToRelocate$:t})),t["s-sr"]&&E.map(o=>{de(o.$nodeToRelocate$,t["s-sn"])&&(a=E.find(i=>i.$nodeToRelocate$===t),a&&!o.$slotRefNode$&&(o.$slotRefNode$=a.$slotRefNode$))})}else E.some(a=>a.$nodeToRelocate$===t)||E.push({$nodeToRelocate$:t})}n.nodeType===1&&Pe(n)}},de=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",_e=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(_e)},L=(e,t,s)=>e==null?void 0:e.insertBefore(t,s),pt=(e,t,s=!1)=>{var r,n,l,a;const o=e.$hostElement$,i=e.$cmpMeta$,c=e.$vnode$||U(null,null),$=at(t)?t:K(null,null,t);if(z=o.tagName,i.$attrsToReflect$&&($.$attrs$=$.$attrs$||{},i.$attrsToReflect$.map(([d,f])=>$.$attrs$[f]=o[d])),s&&$.$attrs$)for(const d of Object.keys($.$attrs$))o.hasAttribute(d)&&!["key","ref","style","class"].includes(d)&&($.$attrs$[d]=o[d]);$.$tag$=null,$.$flags$|=4,e.$vnode$=$,$.$elm$=c.$elm$=o.shadowRoot||o,x=o["s-sc"],C=(i.$flags$&1)!==0,W=o["s-cr"],q=!1,P(c,$,s);{if(p.$flags$|=1,Q){Pe($.$elm$);for(const d of E){const f=d.$nodeToRelocate$;if(!f["s-ol"]){const u=m.createTextNode("");u["s-nr"]=f,L(f.parentNode,f["s-ol"]=u,f)}}for(const d of E){const f=d.$nodeToRelocate$,u=d.$slotRefNode$;if(u){const h=u.parentNode;let g=u.nextSibling;{let y=(r=f["s-ol"])==null?void 0:r.previousSibling;for(;y;){let v=(n=y["s-nr"])!=null?n:null;if(v&&v["s-sn"]===f["s-sn"]&&h===v.parentNode){for(v=v.nextSibling;v===f||v!=null&&v["s-sr"];)v=v==null?void 0:v.nextSibling;if(!v||!v["s-nr"]){g=v;break}}y=y.previousSibling}}(!g&&h!==f.parentNode||f.nextSibling!==g)&&f!==g&&(!f["s-hn"]&&f["s-ol"]&&(f["s-hn"]=f["s-ol"].parentNode.nodeName),L(h,f,g),f.nodeType===1&&(f.hidden=(l=f["s-ih"])!=null?l:!1)),f&&typeof u["s-rf"]=="function"&&u["s-rf"](f)}else f.nodeType===1&&(s&&(f["s-ih"]=(a=f.hidden)!=null?a:!1),f.hidden=!0)}}q&&xe($.$elm$),p.$flags$&=-2,E.length=0}W=void 0},Ae=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},V=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return Ae(e,e.$ancestorComponent$),Je(()=>yt(e,t))},yt=(e,t)=>{const s=e.$hostElement$,r=T("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([a,o])=>O(n,a,o)),e.$queuedListeners$=void 0),l=O(n,"componentWillLoad")),r(),mt(l,()=>bt(e,n,t))},mt=(e,t)=>St(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),St=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",bt=(e,t,s)=>R(exports,null,function*(){var r;const n=e.$hostElement$,l=T("update",e.$cmpMeta$.$tagName$),a=n["s-rc"];s&&ut(e);const o=T("render",e.$cmpMeta$.$tagName$);kt(e,t,n,s),a&&(a.map(i=>i()),n["s-rc"]=void 0),o(),l();{const i=(r=n["s-p"])!=null?r:[],c=()=>Et(e);i.length===0?c():(Promise.all(i).then(c),e.$flags$|=4,i.length=0)}}),kt=(e,t,s,r)=>{try{t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,pt(e,t,r)}catch(n){b(n,e.$hostElement$)}return null},Et=e=>{const t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,r=T("postUpdate",t),n=e.$lazyInstance$,l=e.$ancestorComponent$;O(n,"componentDidRender"),e.$flags$&64?r():(e.$flags$|=64,je(s),O(n,"componentDidLoad"),r(),e.$onReadyResolve$(s),l||Oe()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&Y(()=>V(e,!1)),e.$flags$&=-517},Oe=e=>{je(m.documentElement),Y(()=>Se(_,"appload",{detail:{namespace:He}}))},O=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(r){b(r)}},je=e=>{var t;return e.classList.add((t=G.hydratedSelectorName)!=null?t:"hydrated")},Tt=(e,t)=>w(e).$instanceValues$.get(t),Lt=(e,t,s,r)=>{const n=w(e);if(!n)throw new Error(`Couldn't find host element for "${r.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const l=n.$hostElement$,a=n.$instanceValues$.get(t),o=n.$flags$,i=n.$lazyInstance$;s=$t(s,r.$members$[t][0]);const c=Number.isNaN(a)&&Number.isNaN(s),$=s!==a&&!c;if((!(o&8)||a===void 0)&&$&&(n.$instanceValues$.set(t,s),i)){if(r.$watchers$&&o&128){const d=r.$watchers$[t];d&&d.map(f=>{try{i[f](s,a,t)}catch(u){b(u,l)}})}(o&18)===2&&V(n,!1)}},Re=(e,t,s)=>{var r,n;const l=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const a=Object.entries((r=t.$members$)!=null?r:{});if(a.map(([o,[i]])=>{(i&31||s&2&&i&32)&&Object.defineProperty(l,o,{get(){return Tt(this,o)},set(c){Lt(this,o,c,t)},configurable:!0,enumerable:!0})}),s&1){const o=new Map;l.attributeChangedCallback=function(i,c,$){p.jmp(()=>{var d;const f=o.get(i);if(this.hasOwnProperty(f))$=this[f],delete this[f];else{if(l.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==$)return;if(f==null){const u=w(this),h=u==null?void 0:u.$flags$;if(h&&!(h&8)&&h&128&&$!==c){const g=u.$lazyInstance$,y=(d=t.$watchers$)==null?void 0:d[i];y==null||y.forEach(v=>{g[v]!=null&&g[v].call(g,$,c,i)})}return}}this[f]=$===null&&typeof this[f]=="boolean"?!1:$})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...a.filter(([i,c])=>c[0]&15).map(([i,c])=>{var $;const d=c[1]||i;return o.set(d,i),c[0]&512&&(($=t.$attrsToReflect$)==null||$.push([i,d])),d})]))}}return e},wt=(e,t,s,r)=>R(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,s.$lazyBundleId$){const i=Me(s);if(i&&"then"in i){const $=nt();n=yield i,$()}else n=i;if(!n)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(s.$watchers$=n.watchers,Re(n,s,2),n.isProxied=!0);const c=T("createInstance",s.$tagName$);t.$flags$|=8;try{new n(t)}catch($){b($)}t.$flags$&=-9,t.$flags$|=128,c()}else{n=e.constructor;const i=e.localName;customElements.whenDefined(i).then(()=>t.$flags$|=128)}if(n&&n.style){let i;typeof n.style=="string"&&(i=n.style);const c=be(s);if(!I.has(c)){const $=T("registerStyles",s.$tagName$);ft(c,i,!!(s.$flags$&1)),$()}}}const l=t.$ancestorComponent$,a=()=>V(t,!0);l&&l["s-rc"]?l["s-rc"].push(a):a()}),xt=e=>{},Pt=e=>{if(!(p.$flags$&1)){const t=w(e),s=t.$cmpMeta$,r=T("connectedCallback",s.$tagName$);if(t.$flags$&1)Ne(e,t,s.$listeners$),t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>xt());else{t.$flags$|=1,s.$flags$&12&&_t(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){Ae(t,t.$ancestorComponent$=n);break}}s.$members$&&Object.entries(s.$members$).map(([n,[l]])=>{if(l&31&&e.hasOwnProperty(n)){const a=e[n];delete e[n],e[n]=a}}),wt(e,t,s)}r()}},_t=e=>{const t=e["s-cr"]=m.createComment("");t["s-cn"]=!0,L(e,t,e.firstChild)},ue=e=>{O(e,"disconnectedCallback")},At=e=>R(exports,null,function*(){if(!(p.$flags$&1)){const t=w(e);t.$rmListeners$&&(t.$rmListeners$.map(s=>s()),t.$rmListeners$=void 0),t!=null&&t.$lazyInstance$?ue(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>ue(t.$lazyInstance$))}}),Ot=(e,t={})=>{var s;const r=T(),n=[],l=t.exclude||[],a=_.customElements,o=m.head,i=o.querySelector("meta[charset]"),c=m.createElement("style"),$=[];let d,f=!0;Object.assign(p,t),p.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let u=!1;if(e.map(h=>{h[1].map(g=>{var y;const v={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};v.$flags$&4&&(u=!0),v.$members$=g[2],v.$listeners$=g[3],v.$attrsToReflect$=[],v.$watchers$=(y=g[4])!=null?y:{};const j=v.$tagName$,Ie=class extends HTMLElement{constructor(k){if(super(k),this.hasRegisteredEventListeners=!1,k=this,De(k,v),v.$flags$&1){if(!k.shadowRoot)k.attachShadow({mode:"open"});else if(k.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${v.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){const k=w(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Ne(this,k,v.$listeners$)),d&&(clearTimeout(d),d=null),f?$.push(this):p.jmp(()=>Pt(this))}disconnectedCallback(){p.jmp(()=>At(this))}componentOnReady(){return w(this).$onReadyPromise$}};v.$lazyBundleId$=h[0],!l.includes(j)&&!a.get(j)&&(n.push(j),a.define(j,Re(Ie,v,1)))})}),n.length>0&&(u&&(c.textContent+=ve),c.textContent+=n.sort()+We,c.innerHTML.length)){c.setAttribute("data-styles","");const h=(s=p.$nonce$)!=null?s:pe(m);h!=null&&c.setAttribute("nonce",h),o.insertBefore(c,i?i.nextSibling:o.firstChild)}f=!1,$.length?$.map(h=>h.connectedCallback()):p.jmp(()=>d=setTimeout(Oe,30)),r()},jt=(e,t)=>t,Ne=(e,t,s,r)=>{s&&s.map(([n,l,a])=>{const o=Nt(e,n),i=Rt(t,a),c=It(n);p.ael(o,l,i,c),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>p.rel(o,l,i,c))})},Rt=(e,t)=>s=>{var r;try{e.$flags$&256?(r=e.$lazyInstance$)==null||r[t](s):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,s])}catch(n){b(n)}},Nt=(e,t)=>t&8?_:e,It=e=>Ge?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;exports.Fragment=jt;exports.bootstrapLazy=Ot;exports.createEvent=ct;exports.getAssetPath=Ke;exports.getElement=me;exports.h=K;exports.promiseResolve=he;exports.registerInstance=Fe;